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.d06117e9.async.js

824 lines
1.5 MiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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

!(function(){var Gl=Object.defineProperty,Kl=Object.defineProperties;var _l=Object.getOwnPropertyDescriptors;var sl=Object.getOwnPropertySymbols;var Xl=Object.prototype.hasOwnProperty,Yl=Object.prototype.propertyIsEnumerable;var ll=(Qr,_t,n)=>_t in Qr?Gl(Qr,_t,{enumerable:!0,configurable:!0,writable:!0,value:n}):Qr[_t]=n,P0=(Qr,_t)=>{for(var n in _t||(_t={}))Xl.call(_t,n)&&ll(Qr,n,_t[n]);if(sl)for(var n of sl(_t))Yl.call(_t,n)&&ll(Qr,n,_t[n]);return Qr},j0=(Qr,_t)=>Kl(Qr,_l(_t));(self.webpackChunk=self.webpackChunk||[]).push([[8891],{70557:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},27812:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},89489:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},59477:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},40001:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},81953:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},26227:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},49198:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},84105:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},41464:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},18785:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},87169:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},73331:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},15277:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},52671:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},8657:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},56082:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},61481:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},33853:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},12893:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},15075:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},32134:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},62772:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},43531:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},61485:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},47472:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},87395:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},32050:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(54476),Xe=n(59301),B={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"},De=B,q=n(7657),ee=function(c,L){return Xe.createElement(q.Z,(0,o.Z)({},c,{ref:L,icon:De}))},Y=Xe.forwardRef(ee),x=Y},48850:function(){"use strict"},29509:function(Qr,_t,n){"use strict";n.d(_t,{o2:function(){return q},yT:function(){return ee}});var o=n(94480),Xe=n(34998);const B=Xe.i.map(Y=>`${Y}-inverse`),De=["success","processing","error","default","warning"];function q(Y){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,o.Z)(B),(0,o.Z)(Xe.i)).includes(Y):Xe.i.includes(Y)}function ee(Y){return De.includes(Y)}},9981:function(Qr,_t){"use strict";const n=function(){const o=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Xe=1;Xe<arguments.length;Xe++){const B=Xe<0||arguments.length<=Xe?void 0:arguments[Xe];B&&Object.keys(B).forEach(De=>{const q=B[De];q!==void 0&&(o[De]=q)})}return o};_t.Z=n},99402:function(Qr,_t,n){"use strict";n.d(_t,{T:function(){return Xe},n:function(){return o}});function o(B){return["small","middle","large"].includes(B)}function Xe(B){return B?typeof B=="number"&&!Number.isNaN(B):!1}},86013:function(Qr,_t,n){"use strict";var o=n(59301),Xe=n(19248);const B=De=>{let q;return typeof De=="object"&&(De!=null&&De.clearIcon)?q=De:De&&(q={clearIcon:o.createElement(Xe.Z,null)}),q};_t.Z=B},54500:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return o}});const o=Xe=>Xe?typeof Xe=="function"?Xe():Xe:null},97224:function(Qr,_t,n){"use strict";n.d(_t,{F:function(){return o}});function o(B){return B!=null&&B===B.window}const Xe=B=>{var De,q;if(typeof window=="undefined")return 0;let ee=0;return o(B)?ee=B.pageYOffset:B instanceof Document?ee=B.documentElement.scrollTop:(B instanceof HTMLElement||B)&&(ee=B.scrollTop),B&&!o(B)&&typeof ee!="number"&&(ee=(q=((De=B.ownerDocument)!==null&&De!==void 0?De:B).documentElement)===null||q===void 0?void 0:q.scrollTop),ee};_t.Z=Xe},52838:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return ee}});var o=n(37645);function Xe(Y,x,Z,c){if(c===!1)return{adjustX:!1,adjustY:!1};const L=c&&typeof c=="object"?c:{},D={};switch(Y){case"top":case"bottom":D.shiftX=x.arrowOffsetHorizontal*2+Z,D.shiftY=!0,D.adjustY=!0;break;case"left":case"right":D.shiftY=x.arrowOffsetVertical*2+Z,D.shiftX=!0,D.adjustX=!0;break}const U=Object.assign(Object.assign({},D),L);return U.shiftX||(U.adjustX=!0),U.shiftY||(U.adjustY=!0),U}const B={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"]}},De={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"]}},q=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function ee(Y){const{arrowWidth:x,autoAdjustOverflow:Z,arrowPointAtCenter:c,offset:L,borderRadius:D,visibleFirst:U}=Y,F=x/2,_={};return Object.keys(B).forEach(I=>{const z=c&&De[I]||B[I],O=Object.assign(Object.assign({},z),{offset:[0,0],dynamicInset:!0});switch(_[I]=O,q.has(I)&&(O.autoArrow=!1),I){case"top":case"topLeft":case"topRight":O.offset[1]=-F-L;break;case"bottom":case"bottomLeft":case"bottomRight":O.offset[1]=F+L;break;case"left":case"leftTop":case"leftBottom":O.offset[0]=-F-L;break;case"right":case"rightTop":case"rightBottom":O.offset[0]=F+L;break}const A=(0,o.wZ)({contentRadius:D,limitVerticalRadius:!0});if(c)switch(I){case"topLeft":case"bottomLeft":O.offset[0]=-A.arrowOffsetHorizontal-F;break;case"topRight":case"bottomRight":O.offset[0]=A.arrowOffsetHorizontal+F;break;case"leftTop":case"rightTop":O.offset[1]=-A.arrowOffsetHorizontal*2+F;break;case"leftBottom":case"rightBottom":O.offset[1]=A.arrowOffsetHorizontal*2-F;break}O.overflow=Xe(I,A,x,Z),U&&(O.htmlRegion="visibleFirst")}),_}},83010:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return De}});var o=n(16089);function Xe(q,ee,Y,x){const Z=Y-ee;return q/=x/2,q<1?Z/2*q*q*q+ee:Z/2*((q-=2)*q*q+2)+ee}var B=n(97224);function De(q){let ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Y=()=>window,callback:x,duration:Z=450}=ee,c=Y(),L=(0,B.Z)(c),D=Date.now(),U=()=>{const _=Date.now()-D,I=Xe(_>Z?Z:_,L,q,Z);(0,B.F)(c)?c.scrollTo(window.pageXOffset,I):c instanceof Document||c.constructor.name==="HTMLDocument"?c.documentElement.scrollTop=I:c.scrollTop=I,_<Z?(0,o.Z)(U):typeof x=="function"&&x()};(0,o.Z)(U)}},82855:function(Qr,_t,n){"use strict";n.d(_t,{F:function(){return q},Z:function(){return De}});var o=n(92310),Xe=n.n(o);const B=null;function De(ee,Y,x){return Xe()({[`${ee}-status-success`]:Y==="success",[`${ee}-status-warning`]:Y==="warning",[`${ee}-status-error`]:Y==="error",[`${ee}-status-validating`]:Y==="validating",[`${ee}-has-feedback`]:x})}const q=(ee,Y)=>Y||ee},41780:function(Qr,_t,n){"use strict";var o=n(94480),Xe=n(16089);function B(De){let q;const ee=x=>()=>{q=null,De.apply(void 0,(0,o.Z)(x))},Y=function(){if(q==null){for(var x=arguments.length,Z=new Array(x),c=0;c<x;c++)Z[c]=arguments[c];q=(0,Xe.Z)(ee(Z))}};return Y.cancel=()=>{Xe.Z.cancel(q),q=null},Y}_t.Z=B},48608:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return oe}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(29301),q=n(41780),ee=n(48755),Y=n(16931);const x=J=>{const{componentCls:te}=J;return{[te]:{position:"fixed",zIndex:J.zIndexPopup}}},Z=J=>({zIndexPopup:J.zIndexBase+10});var c=(0,Y.I$)("Affix",x,Z);function L(J){return J!==window?J.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function D(J,te,Ee){if(Ee!==void 0&&Math.round(te.top)>Math.round(J.top)-Ee)return Ee+te.top}function U(J,te,Ee){if(Ee!==void 0&&Math.round(te.bottom)<Math.round(J.bottom)+Ee){const Pe=window.innerHeight-te.bottom;return Ee+Pe}}var F=function(J,te){var Ee={};for(var Pe in J)Object.prototype.hasOwnProperty.call(J,Pe)&&te.indexOf(Pe)<0&&(Ee[Pe]=J[Pe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Pe=Object.getOwnPropertySymbols(J);et<Pe.length;et++)te.indexOf(Pe[et])<0&&Object.prototype.propertyIsEnumerable.call(J,Pe[et])&&(Ee[Pe[et]]=J[Pe[et]]);return Ee};const _=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function I(){return typeof window!="undefined"?window:null}const z=0,O=1;var oe=o.forwardRef((J,te)=>{var Ee;const{style:Pe,offsetTop:et,offsetBottom:ke,prefixCls:xe,className:Ce,rootClassName:se,children:Se,target:T,onChange:P,onTestUpdatePosition:nt}=J,de=F(J,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:ce,getTargetContainer:y}=o.useContext(ee.E_),K=ce("affix",xe),[R,S]=o.useState(!1),[X,He]=o.useState(),[pe,Ze]=o.useState(),ot=o.useRef(z),ht=o.useRef(null),he=o.useRef(null),Le=o.useRef(null),St=o.useRef(null),We=o.useRef(null),Re=(Ee=T!=null?T:y)!==null&&Ee!==void 0?Ee:I,M=ke===void 0&&et===void 0?0:et,_e=()=>{if(ot.current!==O||!St.current||!Le.current||!Re)return;const Xt=Re();if(Xt){const Ut={status:z},jt=L(Le.current);if(jt.top===0&&jt.left===0&&jt.width===0&&jt.height===0)return;const at=L(Xt),yt=D(jt,at,M),pt=U(jt,at,ke);yt!==void 0?(Ut.affixStyle={position:"fixed",top:yt,width:jt.width,height:jt.height},Ut.placeholderStyle={width:jt.width,height:jt.height}):pt!==void 0&&(Ut.affixStyle={position:"fixed",bottom:pt,width:jt.width,height:jt.height},Ut.placeholderStyle={width:jt.width,height:jt.height}),Ut.lastAffix=!!Ut.affixStyle,R!==Ut.lastAffix&&(P==null||P(Ut.lastAffix)),ot.current=Ut.status,He(Ut.affixStyle),Ze(Ut.placeholderStyle),S(Ut.lastAffix)}},ge=()=>{ot.current=O,_e()},ue=(0,q.Z)(()=>{ge()}),fe=(0,q.Z)(()=>{if(Re&&X){const Xt=Re();if(Xt&&Le.current){const Ut=L(Xt),jt=L(Le.current),at=D(jt,Ut,M),yt=U(jt,Ut,ke);if(at!==void 0&&X.top===at||yt!==void 0&&X.bottom===yt)return}}ge()}),me=()=>{const Xt=Re==null?void 0:Re();Xt&&(_.forEach(Ut=>{var jt;he.current&&((jt=ht.current)===null||jt===void 0||jt.removeEventListener(Ut,he.current)),Xt==null||Xt.addEventListener(Ut,fe)}),ht.current=Xt,he.current=fe)},Ie=()=>{We.current&&(clearTimeout(We.current),We.current=null);const Xt=Re==null?void 0:Re();_.forEach(Ut=>{var jt;Xt==null||Xt.removeEventListener(Ut,fe),he.current&&((jt=ht.current)===null||jt===void 0||jt.removeEventListener(Ut,he.current))}),ue.cancel(),fe.cancel()};o.useImperativeHandle(te,()=>({updatePosition:ue})),o.useEffect(()=>(We.current=setTimeout(me),()=>Ie()),[]),o.useEffect(()=>{me()},[T,X,R]),o.useEffect(()=>{ue()},[T,et,ke]);const[ye,Be,Ye]=c(K),xt=B()(se,Be,K,Ye),$t=B()({[xt]:X});return ye(o.createElement(De.Z,{onResize:ue},o.createElement("div",Object.assign({style:Pe,className:Ce,ref:Le},de),X&&o.createElement("div",{style:pe,"aria-hidden":"true"}),o.createElement("div",{className:$t,ref:St,style:X},o.createElement(De.Z,{onResize:ue},Se)))))})},1560:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return O}});var o=n(2738),Xe=n(45915),B=n(82326),De=n(59301),q=n(92310),ee=n.n(q),Y=n(11592),x=n(75030),Z=n(48755);const{Option:c}=B.default;function L(A){return(A==null?void 0:A.type)&&(A.type.isSelectOption||A.type.isSelectOptGroup)}const D=(A,oe)=>{var J;const{prefixCls:te,className:Ee,popupClassName:Pe,dropdownClassName:et,children:ke,dataSource:xe}=A,Ce=(0,Y.Z)(ke);let se;Ce.length===1&&De.isValidElement(Ce[0])&&!L(Ce[0])&&([se]=Ce);const Se=se?()=>se:void 0;let T;Ce.length&&L(Ce[0])?T=ke:T=xe?xe.map(ce=>{if(De.isValidElement(ce))return ce;switch(typeof ce){case"string":return De.createElement(c,{key:ce,value:ce},ce);case"object":{const{value:y}=ce;return De.createElement(c,{key:y,value:y},ce.text)}default:return}}):[];const{getPrefixCls:P}=De.useContext(Z.E_),nt=P("select",te),[de]=(0,x.Cn)("SelectLike",(J=A.dropdownStyle)===null||J===void 0?void 0:J.zIndex);return De.createElement(B.default,Object.assign({ref:oe,suffixIcon:null},(0,o.Z)(A,["dataSource","dropdownClassName"]),{prefixCls:nt,popupClassName:Pe||et,dropdownStyle:Object.assign(Object.assign({},A.dropdownStyle),{zIndex:de}),className:ee()(`${nt}-auto-complete`,Ee),mode:B.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:Se}),T)};var F=De.forwardRef(D);const{Option:_}=B.default,I=(0,Xe.Z)(F,"dropdownAlign",A=>(0,o.Z)(A,["visible"])),z=F;z.Option=_,z._InternalPanelDoNotUseOrYouWillBeFired=I;var O=z},91882:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return de}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(11592),q=n(26112),ee=n(22703),Y=n(48755),x=n(84105),Z=n(19563);const c=ce=>{let{children:y}=ce;const{getPrefixCls:K}=o.useContext(Y.E_),R=K("breadcrumb");return o.createElement("li",{className:`${R}-separator`,"aria-hidden":"true"},y===""?y:y||"/")};c.__ANT_BREADCRUMB_SEPARATOR=!0;var L=c,D=function(ce,y){var K={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&y.indexOf(R)<0&&(K[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)y.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(K[R[S]]=ce[R[S]]);return K};function U(ce,y){if(ce.title===void 0||ce.title===null)return null;const K=Object.keys(y).join("|");return typeof ce.title=="object"?ce.title:String(ce.title).replace(new RegExp(`:(${K})`,"g"),(R,S)=>y[S]||R)}function F(ce,y,K,R){if(K==null)return null;const{className:S,onClick:X}=y,He=D(y,["className","onClick"]),pe=Object.assign(Object.assign({},(0,q.Z)(He,{data:!0,aria:!0})),{onClick:X});return R!==void 0?o.createElement("a",Object.assign({},pe,{className:B()(`${ce}-link`,S),href:R}),K):o.createElement("span",Object.assign({},pe,{className:B()(`${ce}-link`,S)}),K)}function _(ce,y){return(R,S,X,He,pe)=>{if(y)return y(R,S,X,He);const Ze=U(R,S);return F(ce,R,Ze,pe)}}var I=function(ce,y){var K={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&y.indexOf(R)<0&&(K[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)y.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(K[R[S]]=ce[R[S]]);return K};const z=ce=>{const{prefixCls:y,separator:K="/",children:R,menu:S,overlay:X,dropdownProps:He,href:pe}=ce,ot=(ht=>{if(S||X){const he=Object.assign({},He);if(S){const Le=S||{},{items:St}=Le,We=I(Le,["items"]);he.menu=Object.assign(Object.assign({},We),{items:St==null?void 0:St.map((Re,M)=>{var{key:_e,title:ge,label:ue,path:fe}=Re,me=I(Re,["key","title","label","path"]);let Ie=ue!=null?ue:ge;return fe&&(Ie=o.createElement("a",{href:`${pe}${fe}`},Ie)),Object.assign(Object.assign({},me),{key:_e!=null?_e:M,label:Ie})})})}else X&&(he.overlay=X);return o.createElement(Z.Z,Object.assign({placement:"bottom"},he),o.createElement("span",{className:`${y}-overlay-link`},ht,o.createElement(x.Z,null)))}return ht})(R);return ot!=null?o.createElement(o.Fragment,null,o.createElement("li",null,ot),K&&o.createElement(L,null,K)):null},O=ce=>{const{prefixCls:y,children:K,href:R}=ce,S=I(ce,["prefixCls","children","href"]),{getPrefixCls:X}=o.useContext(Y.E_),He=X("breadcrumb",y);return o.createElement(z,Object.assign({},S,{prefixCls:He}),F(He,S,K,R))};O.__ANT_BREADCRUMB_ITEM=!0;var A=O,oe=n(36237),J=n(63356),te=n(16931),Ee=n(51636);const Pe=ce=>{const{componentCls:y,iconCls:K,calc:R}=ce;return{[y]:Object.assign(Object.assign({},(0,J.Wf)(ce)),{color:ce.itemColor,fontSize:ce.fontSize,[K]:{fontSize:ce.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ce.linkColor,transition:`color ${ce.motionDurationMid}`,padding:`0 ${(0,oe.unit)(ce.paddingXXS)}`,borderRadius:ce.borderRadiusSM,height:ce.fontHeight,display:"inline-block",marginInline:R(ce.marginXXS).mul(-1).equal(),"&:hover":{color:ce.linkHoverColor,backgroundColor:ce.colorBgTextHover}},(0,J.Qy)(ce)),"li:last-child":{color:ce.lastItemColor},[`${y}-separator`]:{marginInline:ce.separatorMargin,color:ce.separatorColor},[`${y}-link`]:{[`
> ${K} + span,
> ${K} + a
`]:{marginInlineStart:ce.marginXXS}},[`${y}-overlay-link`]:{borderRadius:ce.borderRadiusSM,height:ce.fontHeight,display:"inline-block",padding:`0 ${(0,oe.unit)(ce.paddingXXS)}`,marginInline:R(ce.marginXXS).mul(-1).equal(),[`> ${K}`]:{marginInlineStart:ce.marginXXS,fontSize:ce.fontSizeIcon},"&:hover":{color:ce.linkHoverColor,backgroundColor:ce.colorBgTextHover,a:{color:ce.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ce.componentCls}-rtl`]:{direction:"rtl"}})}},et=ce=>({itemColor:ce.colorTextDescription,lastItemColor:ce.colorText,iconFontSize:ce.fontSize,linkColor:ce.colorTextDescription,linkHoverColor:ce.colorText,separatorColor:ce.colorTextDescription,separatorMargin:ce.marginXS});var ke=(0,te.I$)("Breadcrumb",ce=>{const y=(0,Ee.mergeToken)(ce,{});return Pe(y)},et),xe=function(ce,y){var K={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&y.indexOf(R)<0&&(K[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)y.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(K[R[S]]=ce[R[S]]);return K};function Ce(ce){const{breadcrumbName:y,children:K}=ce,R=xe(ce,["breadcrumbName","children"]),S=Object.assign({title:y},R);return K&&(S.menu={items:K.map(X=>{var{breadcrumbName:He}=X,pe=xe(X,["breadcrumbName"]);return Object.assign(Object.assign({},pe),{title:He})})}),S}function se(ce,y){return(0,o.useMemo)(()=>ce||(y?y.map(Ce):null),[ce,y])}var Se=function(ce,y){var K={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&y.indexOf(R)<0&&(K[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)y.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(K[R[S]]=ce[R[S]]);return K};const T=(ce,y)=>{if(y===void 0)return y;let K=(y||"").replace(/^\//,"");return Object.keys(ce).forEach(R=>{K=K.replace(`:${R}`,ce[R])}),K},P=ce=>{const{prefixCls:y,separator:K="/",style:R,className:S,rootClassName:X,routes:He,items:pe,children:Ze,itemRender:ot,params:ht={}}=ce,he=Se(ce,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Le,direction:St,breadcrumb:We}=o.useContext(Y.E_);let Re;const M=Le("breadcrumb",y),[_e,ge,ue]=ke(M),fe=se(pe,He),me=_(M,ot);if(fe&&fe.length>0){const Be=[],Ye=pe||He;Re=fe.map((xt,$t)=>{const{path:Xt,key:Ut,type:jt,menu:at,overlay:yt,onClick:pt,className:dt,separator:er,dropdownProps:or}=xt,hr=T(ht,Xt);hr!==void 0&&Be.push(hr);const Er=Ut!=null?Ut:$t;if(jt==="separator")return o.createElement(L,{key:Er},er);const qr={},Pr=$t===fe.length-1;at?qr.menu=at:yt&&(qr.overlay=yt);let{href:w}=xt;return Be.length&&hr!==void 0&&(w=`#/${Be.join("/")}`),o.createElement(z,Object.assign({key:Er},qr,(0,q.Z)(xt,{data:!0,aria:!0}),{className:dt,dropdownProps:or,href:w,separator:Pr?"":K,onClick:pt,prefixCls:M}),me(xt,ht,Ye,Be,w))})}else if(Ze){const Be=(0,De.Z)(Ze).length;Re=(0,De.Z)(Ze).map((Ye,xt)=>{if(!Ye)return Ye;const $t=xt===Be-1;return(0,ee.Tm)(Ye,{separator:$t?"":K,key:xt})})}const Ie=B()(M,We==null?void 0:We.className,{[`${M}-rtl`]:St==="rtl"},S,X,ge,ue),ye=Object.assign(Object.assign({},We==null?void 0:We.style),R);return _e(o.createElement("nav",Object.assign({className:Ie,style:ye},he),o.createElement("ol",null,Re)))};P.Item=A,P.Separator=L;var nt=P,de=nt},15037:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return ce}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(2738),q=n(48755),ee=n(31756),Y=n(458),x=n(20554),Z=function(y,K){var R={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&K.indexOf(S)<0&&(R[S]=y[S]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(y);X<S.length;X++)K.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(y,S[X])&&(R[S[X]]=y[S[X]]);return R},L=y=>{var{prefixCls:K,className:R,hoverable:S=!0}=y,X=Z(y,["prefixCls","className","hoverable"]);const{getPrefixCls:He}=o.useContext(q.E_),pe=He("card",K),Ze=B()(`${pe}-grid`,R,{[`${pe}-grid-hoverable`]:S});return o.createElement("div",Object.assign({},X,{className:Ze}))},D=n(36237),U=n(63356),F=n(16931),_=n(51636);const I=y=>{const{antCls:K,componentCls:R,headerHeight:S,headerPadding:X,tabsMarginBottom:He}=y;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:S,marginBottom:-1,padding:`0 ${(0,D.unit)(X)}`,color:y.colorTextHeading,fontWeight:y.fontWeightStrong,fontSize:y.headerFontSize,background:y.headerBg,borderBottom:`${(0,D.unit)(y.lineWidth)} ${y.lineType} ${y.colorBorderSecondary}`,borderRadius:`${(0,D.unit)(y.borderRadiusLG)} ${(0,D.unit)(y.borderRadiusLG)} 0 0`},(0,U.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},U.vS),{[`
> ${R}-typography,
> ${R}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${K}-tabs-top`]:{clear:"both",marginBottom:He,color:y.colorText,fontWeight:"normal",fontSize:y.fontSize,"&-bar":{borderBottom:`${(0,D.unit)(y.lineWidth)} ${y.lineType} ${y.colorBorderSecondary}`}}})},z=y=>{const{cardPaddingBase:K,colorBorderSecondary:R,cardShadow:S,lineWidth:X}=y;return{width:"33.33%",padding:K,border:0,borderRadius:0,boxShadow:`
${(0,D.unit)(X)} 0 0 0 ${R},
0 ${(0,D.unit)(X)} 0 0 ${R},
${(0,D.unit)(X)} ${(0,D.unit)(X)} 0 0 ${R},
${(0,D.unit)(X)} 0 0 0 ${R} inset,
0 ${(0,D.unit)(X)} 0 0 ${R} inset;
`,transition:`all ${y.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:S}}},O=y=>{const{componentCls:K,iconCls:R,actionsLiMargin:S,cardActionsIconSize:X,colorBorderSecondary:He,actionsBg:pe}=y;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:pe,borderTop:`${(0,D.unit)(y.lineWidth)} ${y.lineType} ${He}`,display:"flex",borderRadius:`0 0 ${(0,D.unit)(y.borderRadiusLG)} ${(0,D.unit)(y.borderRadiusLG)}`},(0,U.dF)()),{"& > li":{margin:S,color:y.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:y.calc(y.cardActionsIconSize).mul(2).equal(),fontSize:y.fontSize,lineHeight:y.lineHeight,cursor:"pointer","&:hover":{color:y.colorPrimary,transition:`color ${y.motionDurationMid}`},[`a:not(${K}-btn), > ${R}`]:{display:"inline-block",width:"100%",color:y.colorTextDescription,lineHeight:(0,D.unit)(y.fontHeight),transition:`color ${y.motionDurationMid}`,"&:hover":{color:y.colorPrimary}},[`> ${R}`]:{fontSize:X,lineHeight:(0,D.unit)(y.calc(X).mul(y.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,D.unit)(y.lineWidth)} ${y.lineType} ${He}`}}})},A=y=>Object.assign(Object.assign({margin:`${(0,D.unit)(y.calc(y.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,U.dF)()),{"&-avatar":{paddingInlineEnd:y.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:y.marginXS}},"&-title":Object.assign({color:y.colorTextHeading,fontWeight:y.fontWeightStrong,fontSize:y.fontSizeLG},U.vS),"&-description":{color:y.colorTextDescription}}),oe=y=>{const{componentCls:K,colorFillAlter:R,headerPadding:S,bodyPadding:X}=y;return{[`${K}-head`]:{padding:`0 ${(0,D.unit)(S)}`,background:R,"&-title":{fontSize:y.fontSize}},[`${K}-body`]:{padding:`${(0,D.unit)(y.padding)} ${(0,D.unit)(X)}`}}},J=y=>{const{componentCls:K}=y;return{overflow:"hidden",[`${K}-body`]:{userSelect:"none"}}},te=y=>{const{componentCls:K,cardShadow:R,cardHeadPadding:S,colorBorderSecondary:X,boxShadowTertiary:He,bodyPadding:pe,extraColor:Ze}=y;return{[K]:Object.assign(Object.assign({},(0,U.Wf)(y)),{position:"relative",background:y.colorBgContainer,borderRadius:y.borderRadiusLG,[`&:not(${K}-bordered)`]:{boxShadow:He},[`${K}-head`]:I(y),[`${K}-extra`]:{marginInlineStart:"auto",color:Ze,fontWeight:"normal",fontSize:y.fontSize},[`${K}-body`]:Object.assign({padding:pe,borderRadius:`0 0 ${(0,D.unit)(y.borderRadiusLG)} ${(0,D.unit)(y.borderRadiusLG)}`},(0,U.dF)()),[`${K}-grid`]:z(y),[`${K}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,D.unit)(y.borderRadiusLG)} ${(0,D.unit)(y.borderRadiusLG)} 0 0`}},[`${K}-actions`]:O(y),[`${K}-meta`]:A(y)}),[`${K}-bordered`]:{border:`${(0,D.unit)(y.lineWidth)} ${y.lineType} ${X}`,[`${K}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${K}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${y.motionDurationMid}, border-color ${y.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:R}},[`${K}-contain-grid`]:{borderRadius:`${(0,D.unit)(y.borderRadiusLG)} ${(0,D.unit)(y.borderRadiusLG)} 0 0 `,[`${K}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${K}-loading) ${K}-body`]:{marginBlockStart:y.calc(y.lineWidth).mul(-1).equal(),marginInlineStart:y.calc(y.lineWidth).mul(-1).equal(),padding:0}},[`${K}-contain-tabs`]:{[`> div${K}-head`]:{minHeight:0,[`${K}-head-title, ${K}-extra`]:{paddingTop:S}}},[`${K}-type-inner`]:oe(y),[`${K}-loading`]:J(y),[`${K}-rtl`]:{direction:"rtl"}}},Ee=y=>{const{componentCls:K,bodyPaddingSM:R,headerPaddingSM:S,headerHeightSM:X,headerFontSizeSM:He}=y;return{[`${K}-small`]:{[`> ${K}-head`]:{minHeight:X,padding:`0 ${(0,D.unit)(S)}`,fontSize:He,[`> ${K}-head-wrapper`]:{[`> ${K}-extra`]:{fontSize:y.fontSize}}},[`> ${K}-body`]:{padding:R}},[`${K}-small${K}-contain-tabs`]:{[`> ${K}-head`]:{[`${K}-head-title, ${K}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Pe=y=>{var K,R;return{headerBg:"transparent",headerFontSize:y.fontSizeLG,headerFontSizeSM:y.fontSize,headerHeight:y.fontSizeLG*y.lineHeightLG+y.padding*2,headerHeightSM:y.fontSize*y.lineHeight+y.paddingXS*2,actionsBg:y.colorBgContainer,actionsLiMargin:`${y.paddingSM}px 0`,tabsMarginBottom:-y.padding-y.lineWidth,extraColor:y.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:(K=y.bodyPadding)!==null&&K!==void 0?K:y.paddingLG,headerPadding:(R=y.headerPadding)!==null&&R!==void 0?R:y.paddingLG}};var et=(0,F.I$)("Card",y=>{const K=(0,_.mergeToken)(y,{cardShadow:y.boxShadowCard,cardHeadPadding:y.padding,cardPaddingBase:y.paddingLG,cardActionsIconSize:y.fontSize});return[te(K),Ee(K)]},Pe),ke=n(24971),xe=function(y,K){var R={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&K.indexOf(S)<0&&(R[S]=y[S]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(y);X<S.length;X++)K.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(y,S[X])&&(R[S[X]]=y[S[X]]);return R};const Ce=y=>{const{actionClasses:K,actions:R=[],actionStyle:S}=y;return o.createElement("ul",{className:K,style:S},R.map((X,He)=>{const pe=`action-${He}`;return o.createElement("li",{style:{width:`${100/R.length}%`},key:pe},o.createElement("span",null,X))}))};var Se=o.forwardRef((y,K)=>{const{prefixCls:R,className:S,rootClassName:X,style:He,extra:pe,headStyle:Ze={},bodyStyle:ot={},title:ht,loading:he,bordered:Le,variant:St,size:We,type:Re,cover:M,actions:_e,tabList:ge,children:ue,activeTabKey:fe,defaultActiveTabKey:me,tabBarExtraContent:Ie,hoverable:ye,tabProps:Be={},classNames:Ye,styles:xt}=y,$t=xe(y,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:Xt,direction:Ut,card:jt}=o.useContext(q.E_),[at]=(0,ke.Z)("card",St,Le),yt=Oe=>{var ln;(ln=y.onTabChange)===null||ln===void 0||ln.call(y,Oe)},pt=Oe=>{var ln;return B()((ln=jt==null?void 0:jt.classNames)===null||ln===void 0?void 0:ln[Oe],Ye==null?void 0:Ye[Oe])},dt=Oe=>{var ln;return Object.assign(Object.assign({},(ln=jt==null?void 0:jt.styles)===null||ln===void 0?void 0:ln[Oe]),xt==null?void 0:xt[Oe])},er=o.useMemo(()=>{let Oe=!1;return o.Children.forEach(ue,ln=>{(ln==null?void 0:ln.type)===L&&(Oe=!0)}),Oe},[ue]),or=Xt("card",R),[hr,Er,qr]=et(or),Pr=o.createElement(Y.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},ue),w=fe!==void 0,H=Object.assign(Object.assign({},Be),{[w?"activeKey":"defaultActiveKey"]:w?fe:me,tabBarExtraContent:Ie});let wt;const ae=(0,ee.Z)(We),Te=!ae||ae==="default"?"large":ae,Fr=ge?o.createElement(x.default,Object.assign({size:Te},H,{className:`${or}-head-tabs`,onChange:yt,items:ge.map(Oe=>{var{tab:ln}=Oe,Wr=xe(Oe,["tab"]);return Object.assign({label:ln},Wr)})})):null;if(ht||pe||Fr){const Oe=B()(`${or}-head`,pt("header")),ln=B()(`${or}-head-title`,pt("title")),Wr=B()(`${or}-extra`,pt("extra")),Ht=Object.assign(Object.assign({},Ze),dt("header"));wt=o.createElement("div",{className:Oe,style:Ht},o.createElement("div",{className:`${or}-head-wrapper`},ht&&o.createElement("div",{className:ln,style:dt("title")},ht),pe&&o.createElement("div",{className:Wr,style:dt("extra")},pe)),Fr)}const Mr=B()(`${or}-cover`,pt("cover")),bn=M?o.createElement("div",{className:Mr,style:dt("cover")},M):null,Dn=B()(`${or}-body`,pt("body")),Rt=Object.assign(Object.assign({},ot),dt("body")),xr=o.createElement("div",{className:Dn,style:Rt},he?Pr:ue),sr=B()(`${or}-actions`,pt("actions")),C=_e!=null&&_e.length?o.createElement(Ce,{actionClasses:sr,actionStyle:dt("actions"),actions:_e}):null,v=(0,De.Z)($t,["onTabChange"]),Vt=B()(or,jt==null?void 0:jt.className,{[`${or}-loading`]:he,[`${or}-bordered`]:at!=="borderless",[`${or}-hoverable`]:ye,[`${or}-contain-grid`]:er,[`${or}-contain-tabs`]:ge==null?void 0:ge.length,[`${or}-${ae}`]:ae,[`${or}-type-${Re}`]:!!Re,[`${or}-rtl`]:Ut==="rtl"},S,X,Er,qr),$=Object.assign(Object.assign({},jt==null?void 0:jt.style),He);return hr(o.createElement("div",Object.assign({ref:K},v,{className:Vt,style:$}),wt,bn,xr,C))}),T=function(y,K){var R={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&K.indexOf(S)<0&&(R[S]=y[S]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(y);X<S.length;X++)K.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(y,S[X])&&(R[S[X]]=y[S[X]]);return R},nt=y=>{const{prefixCls:K,className:R,avatar:S,title:X,description:He}=y,pe=T(y,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Ze}=o.useContext(q.E_),ot=Ze("card",K),ht=B()(`${ot}-meta`,R),he=S?o.createElement("div",{className:`${ot}-meta-avatar`},S):null,Le=X?o.createElement("div",{className:`${ot}-meta-title`},X):null,St=He?o.createElement("div",{className:`${ot}-meta-description`},He):null,We=Le||St?o.createElement("div",{className:`${ot}-meta-detail`},Le,St):null;return o.createElement("div",Object.assign({},pe,{className:ht}),he,We)};const de=Se;de.Grid=L,de.Meta=nt;var ce=de},17149:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return _e}});var o=n(94480),Xe=n(59301),B=n(92310),De=n.n(B),q=n(63727),ee=n(2738),Y=n(75030),x=n(86641),Z=n(45915),c=n(82855),L=n(48755),D=n(38406),U=n(2171),F=n(83397),_=n(31756),I=n(56553),z=n(24971),O=n(1722),A=n(90376),oe=n(68525),J=n(90005),te=n(70045);function Ee(ge,ue){const{getPrefixCls:fe,direction:me,renderEmpty:Ie}=Xe.useContext(L.E_),ye=ue||me,Be=fe("select",ge),Ye=fe("cascader",ge);return[Be,Ye,ye,Ie]}var Pe=Ee;function et(ge,ue){return Xe.useMemo(()=>ue?Xe.createElement("span",{className:`${ge}-checkbox-inner`}):!1,[ue])}var ke=n(33853),xe=n(58617),Ce=n(38819),Se=(ge,ue,fe)=>{let me=fe;fe||(me=ue?Xe.createElement(ke.Z,null):Xe.createElement(Ce.Z,null));const Ie=Xe.createElement("span",{className:`${ge}-menu-item-loading-icon`},Xe.createElement(xe.Z,{spin:!0}));return Xe.useMemo(()=>[me,Ie],[me])},T=n(56119),P=n(16931),nt=n(36237),de=n(36170),ce=n(63356),K=ge=>{const{prefixCls:ue,componentCls:fe}=ge,me=`${fe}-menu-item`,Ie=`
&${me}-expand ${me}-expand-icon,
${me}-loading-icon
`;return[(0,de.C2)(`${ue}-checkbox`,ge),{[fe]:{"&-checkbox":{top:0,marginInlineEnd:ge.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${fe}-menu-empty`]:{[`${fe}-menu`]:{width:"100%",height:"auto",[me]:{color:ge.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:ge.controlItemWidth,height:ge.dropdownHeight,margin:0,padding:ge.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,nt.unit)(ge.lineWidth)} ${ge.lineType} ${ge.colorSplit}`},"&-item":Object.assign(Object.assign({},ce.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ge.optionPadding,lineHeight:ge.lineHeight,cursor:"pointer",transition:`all ${ge.motionDurationMid}`,borderRadius:ge.borderRadiusSM,"&:hover":{background:ge.controlItemBgHover},"&-disabled":{color:ge.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Ie]:{color:ge.colorTextDisabled}},[`&-active:not(${me}-disabled)`]:{"&, &:hover":{color:ge.optionSelectedColor,fontWeight:ge.optionSelectedFontWeight,backgroundColor:ge.optionSelectedBg}},"&-content":{flex:"auto"},[Ie]:{marginInlineStart:ge.paddingXXS,color:ge.colorTextDescription,fontSize:ge.fontSizeIcon},"&-keyword":{color:ge.colorHighlight}})}}}]};const R=ge=>{const{componentCls:ue,antCls:fe}=ge;return[{[ue]:{width:ge.controlWidth}},{[`${ue}-dropdown`]:[{[`&${fe}-select-dropdown`]:{padding:0}},K(ge)]},{[`${ue}-dropdown-rtl`]:{direction:"rtl"}},(0,T.c)(ge)]},S=ge=>{const ue=Math.round((ge.controlHeight-ge.fontSize*ge.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ge.controlItemBgActive,optionSelectedFontWeight:ge.fontWeightStrong,optionPadding:`${ue}px ${ge.paddingSM}px`,menuPadding:ge.paddingXXS,optionSelectedColor:ge.colorText}};var X=(0,P.I$)("Cascader",ge=>[R(ge)],S);const He=ge=>{const{componentCls:ue}=ge;return{[`${ue}-panel`]:[K(ge),{display:"inline-flex",border:`${(0,nt.unit)(ge.lineWidth)} ${ge.lineType} ${ge.colorSplit}`,borderRadius:ge.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${ue}-menus`]:{alignItems:"stretch"},[`${ue}-menu`]:{height:"auto"},"&-empty":{padding:ge.paddingXXS}}]}};var pe=(0,P.A1)(["Cascader","Panel"],ge=>He(ge),S);function Ze(ge){const{prefixCls:ue,className:fe,multiple:me,rootClassName:Ie,notFoundContent:ye,direction:Be,expandIcon:Ye,disabled:xt}=ge,$t=Xe.useContext(U.Z),Xt=xt!=null?xt:$t,[Ut,jt,at,yt]=Pe(ue,Be),pt=(0,F.Z)(jt),[dt,er,or]=X(jt,pt);pe(jt);const hr=at==="rtl",[Er,qr]=Se(Ut,hr,Ye),Pr=ye||(yt==null?void 0:yt("Cascader"))||Xe.createElement(D.Z,{componentName:"Cascader"}),w=et(jt,me);return dt(Xe.createElement(q.s,Object.assign({},ge,{checkable:w,prefixCls:jt,className:De()(fe,er,Ie,or,pt),notFoundContent:Pr,direction:at,expandIcon:Er,loadingIcon:qr,disabled:Xt})))}var ot=Ze,ht=function(ge,ue){var fe={};for(var me in ge)Object.prototype.hasOwnProperty.call(ge,me)&&ue.indexOf(me)<0&&(fe[me]=ge[me]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,me=Object.getOwnPropertySymbols(ge);Ie<me.length;Ie++)ue.indexOf(me[Ie])<0&&Object.prototype.propertyIsEnumerable.call(ge,me[Ie])&&(fe[me[Ie]]=ge[me[Ie]]);return fe};const{SHOW_CHILD:he,SHOW_PARENT:Le}=q.default;function St(ge,ue,fe){const me=ge.toLowerCase().split(ue).reduce((Be,Ye,xt)=>xt===0?[Ye]:[].concat((0,o.Z)(Be),[ue,Ye]),[]),Ie=[];let ye=0;return me.forEach((Be,Ye)=>{const xt=ye+Be.length;let $t=ge.slice(ye,xt);ye=xt,Ye%2===1&&($t=Xe.createElement("span",{className:`${fe}-menu-item-keyword`,key:`separator-${Ye}`},$t)),Ie.push($t)}),Ie}const We=(ge,ue,fe,me)=>{const Ie=[],ye=ge.toLowerCase();return ue.forEach((Be,Ye)=>{Ye!==0&&Ie.push(" / ");let xt=Be[me.label];const $t=typeof xt;($t==="string"||$t==="number")&&(xt=St(String(xt),ye,fe)),Ie.push(xt)}),Ie},Re=Xe.forwardRef((ge,ue)=>{var fe;const{prefixCls:me,size:Ie,disabled:ye,className:Be,rootClassName:Ye,multiple:xt,bordered:$t=!0,transitionName:Xt,choiceTransitionName:Ut="",popupClassName:jt,dropdownClassName:at,expandIcon:yt,placement:pt,showSearch:dt,allowClear:er=!0,notFoundContent:or,direction:hr,getPopupContainer:Er,status:qr,showArrow:Pr,builtinPlacements:w,style:H,variant:wt}=ge,ae=ht(ge,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Te=(0,ee.Z)(ae,["suffixIcon"]),{getPrefixCls:Fr,getPopupContainer:Mr,className:bn,style:Dn}=(0,L.dj)("cascader"),{popupOverflow:Rt}=Xe.useContext(L.E_),{status:xr,hasFeedback:sr,isFormItemInput:C,feedbackIcon:v}=Xe.useContext(I.aM),Vt=(0,c.F)(xr,qr),[$,Oe,ln,Wr]=Pe(me,hr),Ht=ln==="rtl",Gt=Fr(),br=(0,F.Z)($),[Kr,an,An]=(0,A.Z)($,br),Ct=(0,F.Z)(Oe),[Lt]=X(Oe,Ct),{compactSize:Ue,compactItemClassnames:jr}=(0,te.ri)($,hr),[$r,Gr]=(0,z.Z)("cascader",wt,$t),Cn=or||(Wr==null?void 0:Wr("Cascader"))||Xe.createElement(D.Z,{componentName:"Cascader"}),na=De()(jt||at,`${Oe}-dropdown`,{[`${Oe}-dropdown-rtl`]:ln==="rtl"},Ye,br,Ct,an,An),mt=Xe.useMemo(()=>{if(!dt)return dt;let nn={render:We};return typeof dt=="object"&&(nn=Object.assign(Object.assign({},nn),dt)),nn},[dt]),rr=(0,_.Z)(nn=>{var $n;return($n=Ie!=null?Ie:Ue)!==null&&$n!==void 0?$n:nn}),cr=Xe.useContext(U.Z),ir=ye!=null?ye:cr,[Nr,Dr]=Se($,Ht,yt),sn=et(Oe,xt),Br=(0,J.Z)(ge.suffixIcon,Pr),{suffixIcon:pn,removeIcon:on,clearIcon:Mn}=(0,oe.Z)(Object.assign(Object.assign({},ge),{hasFeedback:sr,feedbackIcon:v,showSuffixIcon:Br,multiple:xt,prefixCls:$,componentName:"Cascader"})),jn=Xe.useMemo(()=>pt!==void 0?pt:Ht?"bottomRight":"bottomLeft",[pt,Ht]),xn=er===!0?{clearIcon:Mn}:er,[zn]=(0,Y.Cn)("SelectLike",(fe=Te.dropdownStyle)===null||fe===void 0?void 0:fe.zIndex),ua=Xe.createElement(q.default,Object.assign({prefixCls:$,className:De()(!me&&Oe,{[`${$}-lg`]:rr==="large",[`${$}-sm`]:rr==="small",[`${$}-rtl`]:Ht,[`${$}-${$r}`]:Gr,[`${$}-in-form-item`]:C},(0,c.Z)($,Vt,sr),jr,bn,Be,Ye,br,Ct,an,An),disabled:ir,style:Object.assign(Object.assign({},Dn),H)},Te,{builtinPlacements:(0,O.Z)(w,Rt),direction:ln,placement:jn,notFoundContent:Cn,allowClear:xn,showSearch:mt,expandIcon:Nr,suffixIcon:pn,removeIcon:on,loadingIcon:Dr,checkable:sn,dropdownClassName:na,dropdownPrefixCls:me||Oe,dropdownStyle:Object.assign(Object.assign({},Te.dropdownStyle),{zIndex:zn}),choiceTransitionName:(0,x.m)(Gt,"",Ut),transitionName:(0,x.m)(Gt,"slide-up",Xt),getPopupContainer:Er||Mr,ref:ue}));return Lt(Kr(ua))}),M=(0,Z.Z)(Re,"dropdownAlign",ge=>(0,ee.Z)(ge,["visible"]));Re.SHOW_PARENT=Le,Re.SHOW_CHILD=he,Re.Panel=ot,Re._InternalPanelDoNotUseOrYouWillBeFired=M;var _e=Re},62673:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return ke}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(16632),q=n(8654),ee=n(12919),Y=n(63872),x=n(48755),Z=n(2171),c=n(83397),L=n(56553),U=o.createContext(null),F=n(36170),_=n(74632),I=function(xe,Ce){var se={};for(var Se in xe)Object.prototype.hasOwnProperty.call(xe,Se)&&Ce.indexOf(Se)<0&&(se[Se]=xe[Se]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,Se=Object.getOwnPropertySymbols(xe);T<Se.length;T++)Ce.indexOf(Se[T])<0&&Object.prototype.propertyIsEnumerable.call(xe,Se[T])&&(se[Se[T]]=xe[Se[T]]);return se};const z=(xe,Ce)=>{var se;const{prefixCls:Se,className:T,rootClassName:P,children:nt,indeterminate:de=!1,style:ce,onMouseEnter:y,onMouseLeave:K,skipGroup:R=!1,disabled:S}=xe,X=I(xe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:He,direction:pe,checkbox:Ze}=o.useContext(x.E_),ot=o.useContext(U),{isFormItemInput:ht}=o.useContext(L.aM),he=o.useContext(Z.Z),Le=(se=(ot==null?void 0:ot.disabled)||S)!==null&&se!==void 0?se:he,St=o.useRef(X.value),We=o.useRef(null),Re=(0,q.sQ)(Ce,We);o.useEffect(()=>{ot==null||ot.registerValue(X.value)},[]),o.useEffect(()=>{if(!R)return X.value!==St.current&&(ot==null||ot.cancelValue(St.current),ot==null||ot.registerValue(X.value),St.current=X.value),()=>ot==null?void 0:ot.cancelValue(X.value)},[X.value]),o.useEffect(()=>{var xt;!((xt=We.current)===null||xt===void 0)&&xt.input&&(We.current.input.indeterminate=de)},[de]);const M=He("checkbox",Se),_e=(0,c.Z)(M),[ge,ue,fe]=(0,F.ZP)(M,_e),me=Object.assign({},X);ot&&!R&&(me.onChange=function(){X.onChange&&X.onChange.apply(X,arguments),ot.toggleOption&&ot.toggleOption({label:nt,value:X.value})},me.name=ot.name,me.checked=ot.value.includes(X.value));const Ie=B()(`${M}-wrapper`,{[`${M}-rtl`]:pe==="rtl",[`${M}-wrapper-checked`]:me.checked,[`${M}-wrapper-disabled`]:Le,[`${M}-wrapper-in-form-item`]:ht},Ze==null?void 0:Ze.className,T,P,fe,_e,ue),ye=B()({[`${M}-indeterminate`]:de},Y.A,ue),[Be,Ye]=(0,_.Z)(me.onClick);return ge(o.createElement(ee.Z,{component:"Checkbox",disabled:Le},o.createElement("label",{className:Ie,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),ce),onMouseEnter:y,onMouseLeave:K,onClick:Be},o.createElement(De.Z,Object.assign({},me,{onClick:Ye,prefixCls:M,className:ye,disabled:Le,ref:Re})),nt!==void 0&&o.createElement("span",{className:`${M}-label`},nt))))};var A=o.forwardRef(z),oe=n(94480),J=n(2738),te=function(xe,Ce){var se={};for(var Se in xe)Object.prototype.hasOwnProperty.call(xe,Se)&&Ce.indexOf(Se)<0&&(se[Se]=xe[Se]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,Se=Object.getOwnPropertySymbols(xe);T<Se.length;T++)Ce.indexOf(Se[T])<0&&Object.prototype.propertyIsEnumerable.call(xe,Se[T])&&(se[Se[T]]=xe[Se[T]]);return se},Pe=o.forwardRef((xe,Ce)=>{const{defaultValue:se,children:Se,options:T=[],prefixCls:P,className:nt,rootClassName:de,style:ce,onChange:y}=xe,K=te(xe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:R,direction:S}=o.useContext(x.E_),[X,He]=o.useState(K.value||se||[]),[pe,Ze]=o.useState([]);o.useEffect(()=>{"value"in K&&He(K.value||[])},[K.value]);const ot=o.useMemo(()=>T.map(ye=>typeof ye=="string"||typeof ye=="number"?{label:ye,value:ye}:ye),[T]),ht=ye=>{Ze(Be=>Be.filter(Ye=>Ye!==ye))},he=ye=>{Ze(Be=>[].concat((0,oe.Z)(Be),[ye]))},Le=ye=>{const Be=X.indexOf(ye.value),Ye=(0,oe.Z)(X);Be===-1?Ye.push(ye.value):Ye.splice(Be,1),"value"in K||He(Ye),y==null||y(Ye.filter(xt=>pe.includes(xt)).sort((xt,$t)=>{const Xt=ot.findIndex(jt=>jt.value===xt),Ut=ot.findIndex(jt=>jt.value===$t);return Xt-Ut}))},St=R("checkbox",P),We=`${St}-group`,Re=(0,c.Z)(St),[M,_e,ge]=(0,F.ZP)(St,Re),ue=(0,J.Z)(K,["value","disabled"]),fe=T.length?ot.map(ye=>o.createElement(A,{prefixCls:St,key:ye.value.toString(),disabled:"disabled"in ye?ye.disabled:K.disabled,value:ye.value,checked:X.includes(ye.value),onChange:ye.onChange,className:`${We}-item`,style:ye.style,title:ye.title,id:ye.id,required:ye.required},ye.label)):Se,me={toggleOption:Le,value:X,disabled:K.disabled,name:K.name,registerValue:he,cancelValue:ht},Ie=B()(We,{[`${We}-rtl`]:S==="rtl"},nt,de,ge,Re,_e);return M(o.createElement("div",Object.assign({className:Ie,style:ce},ue,{ref:Ce}),o.createElement(U.Provider,{value:me},fe)))});const et=A;et.Group=Pe,et.__ANT_CHECKBOX=!0;var ke=et},36170:function(Qr,_t,n){"use strict";n.d(_t,{C2:function(){return ee}});var o=n(36237),Xe=n(63356),B=n(51636),De=n(16931);const q=Y=>{const{checkboxCls:x}=Y,Z=`${x}-wrapper`;return[{[`${x}-group`]:Object.assign(Object.assign({},(0,Xe.Wf)(Y)),{display:"inline-flex",flexWrap:"wrap",columnGap:Y.marginXS,[`> ${Y.antCls}-row`]:{flex:1}}),[Z]:Object.assign(Object.assign({},(0,Xe.Wf)(Y)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Z}`]:{marginInlineStart:0},[`&${Z}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[x]:Object.assign(Object.assign({},(0,Xe.Wf)(Y)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Y.borderRadiusSM,alignSelf:"center",[`${x}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${x}-inner`]:Object.assign({},(0,Xe.oN)(Y))},[`${x}-inner`]:{boxSizing:"border-box",display:"block",width:Y.checkboxSize,height:Y.checkboxSize,direction:"ltr",backgroundColor:Y.colorBgContainer,border:`${(0,o.unit)(Y.lineWidth)} ${Y.lineType} ${Y.colorBorder}`,borderRadius:Y.borderRadiusSM,borderCollapse:"separate",transition:`all ${Y.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Y.calc(Y.checkboxSize).div(14).mul(5).equal(),height:Y.calc(Y.checkboxSize).div(14).mul(8).equal(),border:`${(0,o.unit)(Y.lineWidthBold)} solid ${Y.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Y.motionDurationFast} ${Y.motionEaseInBack}, opacity ${Y.motionDurationFast}`}},"& + span":{paddingInlineStart:Y.paddingXS,paddingInlineEnd:Y.paddingXS}})},{[`
${Z}:not(${Z}-disabled),
${x}:not(${x}-disabled)
`]:{[`&:hover ${x}-inner`]:{borderColor:Y.colorPrimary}},[`${Z}:not(${Z}-disabled)`]:{[`&:hover ${x}-checked:not(${x}-disabled) ${x}-inner`]:{backgroundColor:Y.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${x}-checked:not(${x}-disabled):after`]:{borderColor:Y.colorPrimaryHover}}},{[`${x}-checked`]:{[`${x}-inner`]:{backgroundColor:Y.colorPrimary,borderColor:Y.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Y.motionDurationMid} ${Y.motionEaseOutBack} ${Y.motionDurationFast}`}}},[`
${Z}-checked:not(${Z}-disabled),
${x}-checked:not(${x}-disabled)
`]:{[`&:hover ${x}-inner`]:{backgroundColor:Y.colorPrimaryHover,borderColor:"transparent"}}},{[x]:{"&-indeterminate":{[`${x}-inner`]:{backgroundColor:`${Y.colorBgContainer} !important`,borderColor:`${Y.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Y.calc(Y.fontSizeLG).div(2).equal(),height:Y.calc(Y.fontSizeLG).div(2).equal(),backgroundColor:Y.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${x}-inner`]:{backgroundColor:`${Y.colorBgContainer} !important`,borderColor:`${Y.colorPrimary} !important`}}}},{[`${Z}-disabled`]:{cursor:"not-allowed"},[`${x}-disabled`]:{[`&, ${x}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${x}-inner`]:{background:Y.colorBgContainerDisabled,borderColor:Y.colorBorder,"&:after":{borderColor:Y.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Y.colorTextDisabled},[`&${x}-indeterminate ${x}-inner::after`]:{background:Y.colorTextDisabled}}}]};function ee(Y,x){const Z=(0,B.mergeToken)(x,{checkboxCls:`.${Y}`,checkboxSize:x.controlInteractiveSize});return[q(Z)]}_t.ZP=(0,De.I$)("Checkbox",(Y,x)=>{let{prefixCls:Z}=x;return[ee(Z,Y)]})},74632:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return B}});var o=n(59301),Xe=n(16089);function B(De){const q=o.useRef(null),ee=()=>{Xe.Z.cancel(q.current),q.current=null};return[()=>{ee(),q.current=(0,Xe.Z)(()=>{q.current=null})},Z=>{q.current&&(Z.stopPropagation(),ee()),De==null||De(Z)}]}},38406:function(Qr,_t,n){"use strict";var o=n(59301),Xe=n(48755),B=n(584);const De=q=>{const{componentName:ee}=q,{getPrefixCls:Y}=(0,o.useContext)(Xe.E_),x=Y("empty");switch(ee){case"Table":case"List":return o.createElement(B.Z,{image:B.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(B.Z,{image:B.Z.PRESENTED_IMAGE_SIMPLE,className:`${x}-small`});case"Table.filter":return null;default:return o.createElement(B.Z,null)}};_t.Z=De},16326:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return Wr}});var o=n(48365),Xe=n(45915),B=n(59301),De=n(54476),q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},ee=q,Y=n(7657),x=function(Gt,br){return B.createElement(Y.Z,(0,De.Z)({},Gt,{ref:br,icon:ee}))},Z=B.forwardRef(x),c=Z,L={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"},D=L,U=function(Gt,br){return B.createElement(Y.Z,(0,De.Z)({},Gt,{ref:br,icon:D}))},F=B.forwardRef(U),_=F,I={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"},z=I,O=function(Gt,br){return B.createElement(Y.Z,(0,De.Z)({},Gt,{ref:br,icon:z}))},A=B.forwardRef(O),oe=A,J=n(92310),te=n.n(J),Ee=n(8571),Pe=n(62487),et=n(75030),ke=n(82855),xe=n(48755),Ce=n(2171),se=n(83397),Se=n(31756),T=n(56553),P=n(24971),nt=n(9017),de=n(70045),ce=n(57428),y=n(36237),K=n(53075),R=n(64910),S=n(63356),X=n(56119),He=n(46e3),pe=n(93873),Ze=n(36305),ot=n(16931),ht=n(51636),he=n(26743);const Le=(Ht,Gt)=>{const{componentCls:br,controlHeight:Kr}=Ht,an=Gt?`${br}-${Gt}`:"",An=(0,he.gp)(Ht);return[{[`${br}-multiple${an}`]:{paddingBlock:An.containerPadding,paddingInlineStart:An.basePadding,minHeight:Kr,[`${br}-selection-item`]:{height:An.itemHeight,lineHeight:(0,y.unit)(An.itemLineHeight)}}}]};var We=Ht=>{const{componentCls:Gt,calc:br,lineWidth:Kr}=Ht,an=(0,ht.mergeToken)(Ht,{fontHeight:Ht.fontSize,selectHeight:Ht.controlHeightSM,multipleSelectItemHeight:Ht.multipleItemHeightSM,borderRadius:Ht.borderRadiusSM,borderRadiusSM:Ht.borderRadiusXS,controlHeight:Ht.controlHeightSM}),An=(0,ht.mergeToken)(Ht,{fontHeight:br(Ht.multipleItemHeightLG).sub(br(Kr).mul(2).equal()).equal(),fontSize:Ht.fontSizeLG,selectHeight:Ht.controlHeightLG,multipleSelectItemHeight:Ht.multipleItemHeightLG,borderRadius:Ht.borderRadiusLG,borderRadiusSM:Ht.borderRadius,controlHeight:Ht.controlHeightLG});return[Le(an,"small"),Le(Ht),Le(An,"large"),{[`${Gt}${Gt}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Gt}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Gt}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:Ht.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${Ht.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:Ht.colorTextPlaceholder,pointerEvents:"none"}}},(0,he._z)(Ht)),{[`${Gt}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Re=n(17835);const M=Ht=>{const{pickerCellCls:Gt,pickerCellInnerCls:br,cellHeight:Kr,borderRadiusSM:an,motionDurationMid:An,cellHoverBg:Ct,lineWidth:Lt,lineType:Ue,colorPrimary:jr,cellActiveWithRangeBg:$r,colorTextLightSolid:Gr,colorTextDisabled:Cn,cellBgDisabled:na,colorFillSecondary:mt}=Ht;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Kr,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[br]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Kr,height:Kr,lineHeight:(0,y.unit)(Kr),borderRadius:an,transition:`background ${An}`},[`&:hover:not(${Gt}-in-view):not(${Gt}-disabled),
&:hover:not(${Gt}-selected):not(${Gt}-range-start):not(${Gt}-range-end):not(${Gt}-disabled)`]:{[br]:{background:Ct}},[`&-in-view${Gt}-today ${br}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,y.unit)(Lt)} ${Ue} ${jr}`,borderRadius:an,content:'""'}},[`&-in-view${Gt}-in-range,
&-in-view${Gt}-range-start,
&-in-view${Gt}-range-end`]:{position:"relative",[`&:not(${Gt}-disabled):before`]:{background:$r}},[`&-in-view${Gt}-selected,
&-in-view${Gt}-range-start,
&-in-view${Gt}-range-end`]:{[`&:not(${Gt}-disabled) ${br}`]:{color:Gr,background:jr},[`&${Gt}-disabled ${br}`]:{background:mt}},[`&-in-view${Gt}-range-start:not(${Gt}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Gt}-range-end:not(${Gt}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Gt}-range-start:not(${Gt}-range-end) ${br}`]:{borderStartStartRadius:an,borderEndStartRadius:an,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Gt}-range-end:not(${Gt}-range-start) ${br}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:an,borderEndEndRadius:an},"&-disabled":{color:Cn,cursor:"not-allowed",[br]:{background:"transparent"},"&::before":{background:na}},[`&-disabled${Gt}-today ${br}::before`]:{borderColor:Cn}}},_e=Ht=>{const{componentCls:Gt,pickerCellCls:br,pickerCellInnerCls:Kr,pickerYearMonthCellWidth:an,pickerControlIconSize:An,cellWidth:Ct,paddingSM:Lt,paddingXS:Ue,paddingXXS:jr,colorBgContainer:$r,lineWidth:Gr,lineType:Cn,borderRadiusLG:na,colorPrimary:mt,colorTextHeading:rr,colorSplit:cr,pickerControlIconBorderWidth:ir,colorIcon:Nr,textHeight:Dr,motionDurationMid:sn,colorIconHover:Br,fontWeightStrong:pn,cellHeight:on,pickerCellPaddingVertical:Mn,colorTextDisabled:jn,colorText:xn,fontSize:zn,motionDurationSlow:ua,withoutTimeCellHeight:nn,pickerQuarterPanelContentHeight:$n,borderRadiusSM:kn,colorTextLightSolid:Ea,cellHoverBg:Rn,timeColumnHeight:aa,timeColumnWidth:Kn,timeCellHeight:Zn,controlItemBgActive:Jn,marginXXS:On,pickerDatePanelPaddingHorizontal:Bn,pickerControlIconMargin:Yn}=Ht,Ca=Ht.calc(Ct).mul(7).add(Ht.calc(Bn).mul(2)).equal();return{[Gt]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:$r,borderRadius:na,outline:"none","&-focused":{borderColor:mt},"&-rtl":{[`${Gt}-prev-icon,
${Gt}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Gt}-next-icon,
${Gt}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Gt}-time-panel`]:{[`${Gt}-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:Ca},"&-header":{display:"flex",padding:`0 ${(0,y.unit)(Ue)}`,color:rr,borderBottom:`${(0,y.unit)(Gr)} ${Cn} ${cr}`,"> *":{flex:"none"},button:{padding:0,color:Nr,lineHeight:(0,y.unit)(Dr),background:"transparent",border:0,cursor:"pointer",transition:`color ${sn}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:zn,"&:hover":{color:Br},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:pn,lineHeight:(0,y.unit)(Dr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Ue},"&:hover":{color:mt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:An,height:An,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:An,height:An,border:"0 solid currentcolor",borderBlockStartWidth:ir,borderInlineStartWidth:ir,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Yn,insetInlineStart:Yn,display:"inline-block",width:An,height:An,border:"0 solid currentcolor",borderBlockStartWidth:ir,borderInlineStartWidth:ir,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:on,fontWeight:"normal"},th:{height:Ht.calc(on).add(Ht.calc(Mn).mul(2)).equal(),color:xn,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,y.unit)(Mn)} 0`,color:jn,cursor:"pointer","&-in-view":{color:xn}},M(Ht)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Gt}-content`]:{height:Ht.calc(nn).mul(4).equal()},[Kr]:{padding:`0 ${(0,y.unit)(Ue)}`}},"&-quarter-panel":{[`${Gt}-content`]:{height:$n}},"&-decade-panel":{[Kr]:{padding:`0 ${(0,y.unit)(Ht.calc(Ue).div(2).equal())}`},[`${Gt}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Gt}-body`]:{padding:`0 ${(0,y.unit)(Ue)}`},[Kr]:{width:an}},"&-date-panel":{[`${Gt}-body`]:{padding:`${(0,y.unit)(Ue)} ${(0,y.unit)(Bn)}`},[`${Gt}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Gt}-cell`]:{[`&:hover ${Kr},
&-selected ${Kr},
${Kr}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${sn}`},"&:first-child:before":{borderStartStartRadius:kn,borderEndStartRadius:kn},"&:last-child:before":{borderStartEndRadius:kn,borderEndEndRadius:kn}},"&:hover td:before":{background:Rn},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${br}`]:{"&:before":{background:mt},[`&${Gt}-cell-week`]:{color:new Re.FastColor(Ea).setA(.5).toHexString()},[Kr]:{color:Ea}}},"&-range-hover td:before":{background:Jn}}},"&-week-panel, &-date-panel-show-week":{[`${Gt}-body`]:{padding:`${(0,y.unit)(Ue)} ${(0,y.unit)(Lt)}`},[`${Gt}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Gt}-time-panel`]:{borderInlineStart:`${(0,y.unit)(Gr)} ${Cn} ${cr}`},[`${Gt}-date-panel,
${Gt}-time-panel`]:{transition:`opacity ${ua}`},"&-active":{[`${Gt}-date-panel,
${Gt}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Gt}-content`]:{display:"flex",flex:"auto",height:aa},"&-column":{flex:"1 0 auto",width:Kn,margin:`${(0,y.unit)(jr)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${sn}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:Ht.colorTextTertiary,borderRadius:Ht.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${Ht.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,y.unit)(Zn)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,y.unit)(Gr)} ${Cn} ${cr}`},"&-active":{background:new Re.FastColor(Jn).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Gt}-time-panel-cell`]:{marginInline:On,[`${Gt}-time-panel-cell-inner`]:{display:"block",width:Ht.calc(Kn).sub(Ht.calc(On).mul(2)).equal(),height:Zn,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:Ht.calc(Kn).sub(Zn).div(2).equal(),color:xn,lineHeight:(0,y.unit)(Zn),borderRadius:kn,cursor:"pointer",transition:`background ${sn}`,"&:hover":{background:Rn}},"&-selected":{[`${Gt}-time-panel-cell-inner`]:{background:Jn}},"&-disabled":{[`${Gt}-time-panel-cell-inner`]:{color:jn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var ue=Ht=>{const{componentCls:Gt,textHeight:br,lineWidth:Kr,paddingSM:an,antCls:An,colorPrimary:Ct,cellActiveWithRangeBg:Lt,colorPrimaryBorder:Ue,lineType:jr,colorSplit:$r}=Ht;return{[`${Gt}-dropdown`]:{[`${Gt}-footer`]:{borderTop:`${(0,y.unit)(Kr)} ${jr} ${$r}`,"&-extra":{padding:`0 ${(0,y.unit)(an)}`,lineHeight:(0,y.unit)(Ht.calc(br).sub(Ht.calc(Kr).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,y.unit)(Kr)} ${jr} ${$r}`}}},[`${Gt}-panels + ${Gt}-footer ${Gt}-ranges`]:{justifyContent:"space-between"},[`${Gt}-ranges`]:{marginBlock:0,paddingInline:(0,y.unit)(an),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,y.unit)(Ht.calc(br).sub(Ht.calc(Kr).mul(2)).equal()),display:"inline-block"},[`${Gt}-now-btn-disabled`]:{pointerEvents:"none",color:Ht.colorTextDisabled},[`${Gt}-preset > ${An}-tag-blue`]:{color:Ct,background:Lt,borderColor:Ue,cursor:"pointer"},[`${Gt}-ok`]:{paddingBlock:Ht.calc(Kr).mul(2).equal(),marginInlineStart:"auto"}}}}};const fe=Ht=>{const{componentCls:Gt,controlHeightLG:br,paddingXXS:Kr,padding:an}=Ht;return{pickerCellCls:`${Gt}-cell`,pickerCellInnerCls:`${Gt}-cell-inner`,pickerYearMonthCellWidth:Ht.calc(br).mul(1.5).equal(),pickerQuarterPanelContentHeight:Ht.calc(br).mul(1.4).equal(),pickerCellPaddingVertical:Ht.calc(Kr).add(Ht.calc(Kr).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:Ht.calc(an).add(Ht.calc(Kr).div(2)).equal()}},me=Ht=>{const{colorBgContainerDisabled:Gt,controlHeight:br,controlHeightSM:Kr,controlHeightLG:an,paddingXXS:An,lineWidth:Ct}=Ht,Lt=An*2,Ue=Ct*2,jr=Math.min(br-Lt,br-Ue),$r=Math.min(Kr-Lt,Kr-Ue),Gr=Math.min(an-Lt,an-Ue);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(An/2),cellHoverBg:Ht.controlItemBgHover,cellActiveWithRangeBg:Ht.controlItemBgActive,cellHoverWithRangeBg:new Re.FastColor(Ht.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Re.FastColor(Ht.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Gt,timeColumnWidth:an*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Kr*1.5,cellHeight:Kr,textHeight:an,withoutTimeCellHeight:an*1.65,multipleItemBg:Ht.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:jr,multipleItemHeightSM:$r,multipleItemHeightLG:Gr,multipleSelectorBgDisabled:Gt,multipleItemColorDisabled:Ht.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Ie=Ht=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,R.T)(Ht)),me(Ht)),(0,Ze.w)(Ht)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:Ht.zIndexPopupBase+50});var ye=n(39082),Ye=Ht=>{const{componentCls:Gt}=Ht;return{[Gt]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.qG)(Ht)),(0,ye.vc)(Ht)),(0,ye.H8)(Ht)),(0,ye.Mu)(Ht)),{"&-outlined":{[`&${Gt}-multiple ${Gt}-selection-item`]:{background:Ht.multipleItemBg,border:`${(0,y.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.multipleItemBorderColor}`}},"&-filled":{[`&${Gt}-multiple ${Gt}-selection-item`]:{background:Ht.colorBgContainer,border:`${(0,y.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.colorSplit}`}},"&-borderless":{[`&${Gt}-multiple ${Gt}-selection-item`]:{background:Ht.multipleItemBg,border:`${(0,y.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.multipleItemBorderColor}`}},"&-underlined":{[`&${Gt}-multiple ${Gt}-selection-item`]:{background:Ht.multipleItemBg,border:`${(0,y.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.multipleItemBorderColor}`}}}]}};const xt=(Ht,Gt,br,Kr)=>{const an=Ht.calc(br).add(2).equal(),An=Ht.max(Ht.calc(Gt).sub(an).div(2).equal(),0),Ct=Ht.max(Ht.calc(Gt).sub(an).sub(An).equal(),0);return{padding:`${(0,y.unit)(An)} ${(0,y.unit)(Kr)} ${(0,y.unit)(Ct)}`}},$t=Ht=>{const{componentCls:Gt,colorError:br,colorWarning:Kr}=Ht;return{[`${Gt}:not(${Gt}-disabled):not([disabled])`]:{[`&${Gt}-status-error`]:{[`${Gt}-active-bar`]:{background:br}},[`&${Gt}-status-warning`]:{[`${Gt}-active-bar`]:{background:Kr}}}}},Xt=Ht=>{const{componentCls:Gt,antCls:br,controlHeight:Kr,paddingInline:an,lineWidth:An,lineType:Ct,colorBorder:Lt,borderRadius:Ue,motionDurationMid:jr,colorTextDisabled:$r,colorTextPlaceholder:Gr,controlHeightLG:Cn,fontSizeLG:na,controlHeightSM:mt,paddingInlineSM:rr,paddingXS:cr,marginXS:ir,colorTextDescription:Nr,lineWidthBold:Dr,colorPrimary:sn,motionDurationSlow:Br,zIndexPopup:pn,paddingXXS:on,sizePopupArrow:Mn,colorBgElevated:jn,borderRadiusLG:xn,boxShadowSecondary:zn,borderRadiusSM:ua,colorSplit:nn,cellHoverBg:$n,presetsWidth:kn,presetsMaxWidth:Ea,boxShadowPopoverArrow:Rn,fontHeight:aa,fontHeightLG:Kn,lineHeightLG:Zn}=Ht;return[{[Gt]:Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Ht)),xt(Ht,Kr,aa,an)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:Ue,transition:`border ${jr}, box-shadow ${jr}, background ${jr}`,[`${Gt}-prefix`]:{flex:"0 0 auto",marginInlineEnd:Ht.inputAffixPadding},[`${Gt}-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:Ht.fontSize,lineHeight:Ht.lineHeight,transition:`all ${jr}`},(0,K.nz)(Gr)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:$r,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Gr}}},"&-large":Object.assign(Object.assign({},xt(Ht,Cn,Kn,an)),{[`${Gt}-input > input`]:{fontSize:na,lineHeight:Zn}}),"&-small":Object.assign({},xt(Ht,mt,aa,rr)),[`${Gt}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ht.calc(cr).div(2).equal(),color:$r,lineHeight:1,pointerEvents:"none",transition:`opacity ${jr}, color ${jr}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:ir}}},[`${Gt}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:$r,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${jr}, color ${jr}`,"> *":{verticalAlign:"top"},"&:hover":{color:Nr}},"&:hover":{[`${Gt}-clear`]:{opacity:1},[`${Gt}-suffix:not(:last-child)`]:{opacity:0}},[`${Gt}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:na,color:$r,fontSize:na,verticalAlign:"top",cursor:"default",[`${Gt}-focused &`]:{color:Nr},[`${Gt}-range-separator &`]:{[`${Gt}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Gt}-active-bar`]:{bottom:Ht.calc(An).mul(-1).equal(),height:Dr,background:sn,opacity:0,transition:`all ${Br} ease-out`,pointerEvents:"none"},[`&${Gt}-focused`]:{[`${Gt}-active-bar`]:{opacity:1}},[`${Gt}-range-separator`]:{alignItems:"center",padding:`0 ${(0,y.unit)(cr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Gt}-clear`]:{insetInlineEnd:an},[`&${Gt}-small`]:{[`${Gt}-clear`]:{insetInlineEnd:rr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,S.Wf)(Ht)),_e(Ht)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:pn,[`&${Gt}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Gt}-dropdown-placement-bottomLeft,
&${Gt}-dropdown-placement-bottomRight`]:{[`${Gt}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Gt}-dropdown-placement-topLeft,
&${Gt}-dropdown-placement-topRight`]:{[`${Gt}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${br}-slide-up-appear, &${br}-slide-up-enter`]:{[`${Gt}-range-arrow${Gt}-range-arrow`]:{transition:"none"}},[`&${br}-slide-up-enter${br}-slide-up-enter-active${Gt}-dropdown-placement-topLeft,
&${br}-slide-up-enter${br}-slide-up-enter-active${Gt}-dropdown-placement-topRight,
&${br}-slide-up-appear${br}-slide-up-appear-active${Gt}-dropdown-placement-topLeft,
&${br}-slide-up-appear${br}-slide-up-appear-active${Gt}-dropdown-placement-topRight`]:{animationName:He.Qt},[`&${br}-slide-up-enter${br}-slide-up-enter-active${Gt}-dropdown-placement-bottomLeft,
&${br}-slide-up-enter${br}-slide-up-enter-active${Gt}-dropdown-placement-bottomRight,
&${br}-slide-up-appear${br}-slide-up-appear-active${Gt}-dropdown-placement-bottomLeft,
&${br}-slide-up-appear${br}-slide-up-appear-active${Gt}-dropdown-placement-bottomRight`]:{animationName:He.fJ},[`&${br}-slide-up-leave ${Gt}-panel-container`]:{pointerEvents:"none"},[`&${br}-slide-up-leave${br}-slide-up-leave-active${Gt}-dropdown-placement-topLeft,
&${br}-slide-up-leave${br}-slide-up-leave-active${Gt}-dropdown-placement-topRight`]:{animationName:He.ly},[`&${br}-slide-up-leave${br}-slide-up-leave-active${Gt}-dropdown-placement-bottomLeft,
&${br}-slide-up-leave${br}-slide-up-leave-active${Gt}-dropdown-placement-bottomRight`]:{animationName:He.Uw},[`${Gt}-panel > ${Gt}-time-panel`]:{paddingTop:on},[`${Gt}-range-wrapper`]:{display:"flex",position:"relative"},[`${Gt}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:Ht.calc(an).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Br} ease-out`},(0,Ze.W)(Ht,jn,Rn)),{"&:before":{insetInlineStart:Ht.calc(an).mul(1.5).equal()}}),[`${Gt}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:jn,borderRadius:xn,boxShadow:zn,transition:`margin ${Br}`,display:"inline-block",pointerEvents:"auto",[`${Gt}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Gt}-presets`]:{display:"flex",flexDirection:"column",minWidth:kn,maxWidth:Ea,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:cr,borderInlineEnd:`${(0,y.unit)(An)} ${Ct} ${nn}`,li:Object.assign(Object.assign({},S.vS),{borderRadius:ua,paddingInline:cr,paddingBlock:Ht.calc(mt).sub(aa).div(2).equal(),cursor:"pointer",transition:`all ${Br}`,"+ li":{marginTop:ir},"&:hover":{background:$n}})}},[`${Gt}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Gt}-panel`]:{borderWidth:0}}},[`${Gt}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Gt}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Lt}}}}),"&-dropdown-range":{padding:`${(0,y.unit)(Ht.calc(Mn).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Gt}-separator`]:{transform:"scale(-1, 1)"},[`${Gt}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,He.oN)(Ht,"slide-up"),(0,He.oN)(Ht,"slide-down"),(0,pe.Fm)(Ht,"move-up"),(0,pe.Fm)(Ht,"move-down")]};var Ut=(0,ot.I$)("DatePicker",Ht=>{const Gt=(0,ht.mergeToken)((0,R.e)(Ht),fe(Ht),{inputPaddingHorizontalBase:Ht.calc(Ht.paddingSM).sub(1).equal(),multipleSelectItemHeight:Ht.multipleItemHeight,selectHeight:Ht.controlHeight});return[ue(Gt),Xt(Gt),Ye(Gt),$t(Gt),We(Gt),(0,X.c)(Ht,{focusElCls:`${Ht.componentCls}-focused`})]},Ie),jt=n(68525);function at(Ht,Gt,br){return br!==void 0?br:Gt==="year"&&Ht.lang.yearPlaceholder?Ht.lang.yearPlaceholder:Gt==="quarter"&&Ht.lang.quarterPlaceholder?Ht.lang.quarterPlaceholder:Gt==="month"&&Ht.lang.monthPlaceholder?Ht.lang.monthPlaceholder:Gt==="week"&&Ht.lang.weekPlaceholder?Ht.lang.weekPlaceholder:Gt==="time"&&Ht.timePickerLocale.placeholder?Ht.timePickerLocale.placeholder:Ht.lang.placeholder}function yt(Ht,Gt,br){return br!==void 0?br:Gt==="year"&&Ht.lang.yearPlaceholder?Ht.lang.rangeYearPlaceholder:Gt==="quarter"&&Ht.lang.quarterPlaceholder?Ht.lang.rangeQuarterPlaceholder:Gt==="month"&&Ht.lang.monthPlaceholder?Ht.lang.rangeMonthPlaceholder:Gt==="week"&&Ht.lang.weekPlaceholder?Ht.lang.rangeWeekPlaceholder:Gt==="time"&&Ht.timePickerLocale.placeholder?Ht.timePickerLocale.rangePlaceholder:Ht.lang.rangePlaceholder}function pt(Ht,Gt){const{allowClear:br=!0}=Ht,{clearIcon:Kr,removeIcon:an}=(0,jt.Z)(Object.assign(Object.assign({},Ht),{prefixCls:Gt,componentName:"DatePicker"}));return[B.useMemo(()=>br===!1?!1:Object.assign({clearIcon:Kr},br===!0?{}:br),[br,Kr]),an]}const[dt,er]=["week","WeekPicker"],[or,hr]=["month","MonthPicker"],[Er,qr]=["year","YearPicker"],[Pr,w]=["quarter","QuarterPicker"],[H,wt]=["time","TimePicker"];var ae=n(7939),Fr=Ht=>B.createElement(ae.ZP,Object.assign({size:"small",type:"primary"},Ht));function Mr(Ht){return(0,B.useMemo)(()=>Object.assign({button:Fr},Ht),[Ht])}var bn=function(Ht,Gt){var br={};for(var Kr in Ht)Object.prototype.hasOwnProperty.call(Ht,Kr)&&Gt.indexOf(Kr)<0&&(br[Kr]=Ht[Kr]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Kr=Object.getOwnPropertySymbols(Ht);an<Kr.length;an++)Gt.indexOf(Kr[an])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Kr[an])&&(br[Kr[an]]=Ht[Kr[an]]);return br},Rt=Ht=>(0,B.forwardRef)((br,Kr)=>{var an;const{prefixCls:An,getPopupContainer:Ct,components:Lt,className:Ue,style:jr,placement:$r,size:Gr,disabled:Cn,bordered:na=!0,placeholder:mt,popupClassName:rr,dropdownClassName:cr,status:ir,rootClassName:Nr,variant:Dr,picker:sn}=br,Br=bn(br,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),pn=B.useRef(null),{getPrefixCls:on,direction:Mn,getPopupContainer:jn,rangePicker:xn}=(0,B.useContext)(xe.E_),zn=on("picker",An),{compactSize:ua,compactItemClassnames:nn}=(0,de.ri)(zn,Mn),$n=on(),[kn,Ea]=(0,P.Z)("rangePicker",Dr,na),Rn=(0,se.Z)(zn),[aa,Kn,Zn]=Ut(zn,Rn),[Jn]=pt(br,zn),On=Mr(Lt),Bn=(0,Se.Z)(j=>{var d;return(d=Gr!=null?Gr:ua)!==null&&d!==void 0?d:j}),Yn=B.useContext(Ce.Z),Ca=Cn!=null?Cn:Yn,Ma=(0,B.useContext)(T.aM),{hasFeedback:ao,status:ro,feedbackIcon:oo}=Ma,f=B.createElement(B.Fragment,null,sn===H?B.createElement(_,null):B.createElement(c,null),ao&&oo);(0,B.useImperativeHandle)(Kr,()=>pn.current);const[s]=(0,nt.Z)("Calendar",ce.Z),p=Object.assign(Object.assign({},s),br.locale),[b]=(0,et.Cn)("DatePicker",(an=br.popupStyle)===null||an===void 0?void 0:an.zIndex);return aa(B.createElement(Pe.Z,{space:!0},B.createElement(Ee.Sq,Object.assign({separator:B.createElement("span",{"aria-label":"to",className:`${zn}-separator`},B.createElement(oe,null)),disabled:Ca,ref:pn,placement:$r,placeholder:yt(p,sn,mt),suffixIcon:f,prevIcon:B.createElement("span",{className:`${zn}-prev-icon`}),nextIcon:B.createElement("span",{className:`${zn}-next-icon`}),superPrevIcon:B.createElement("span",{className:`${zn}-super-prev-icon`}),superNextIcon:B.createElement("span",{className:`${zn}-super-next-icon`}),transitionName:`${$n}-slide-up`,picker:sn},Br,{className:te()({[`${zn}-${Bn}`]:Bn,[`${zn}-${kn}`]:Ea},(0,ke.Z)(zn,(0,ke.F)(ro,ir),ao),Kn,nn,Ue,xn==null?void 0:xn.className,Zn,Rn,Nr),style:Object.assign(Object.assign({},xn==null?void 0:xn.style),jr),locale:p.lang,prefixCls:zn,getPopupContainer:Ct||jn,generateConfig:Ht,components:On,direction:Mn,classNames:{popup:te()(Kn,rr||cr,Zn,Rn,Nr)},styles:{popup:Object.assign(Object.assign({},br.popupStyle),{zIndex:b})},allowClear:Jn}))))}),xr=function(Ht,Gt){var br={};for(var Kr in Ht)Object.prototype.hasOwnProperty.call(Ht,Kr)&&Gt.indexOf(Kr)<0&&(br[Kr]=Ht[Kr]);if(Ht!=null&&typeof Object.getOwnPropertySymbols=="function")for(var an=0,Kr=Object.getOwnPropertySymbols(Ht);an<Kr.length;an++)Gt.indexOf(Kr[an])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Kr[an])&&(br[Kr[an]]=Ht[Kr[an]]);return br},C=Ht=>{const Gt=(Ue,jr)=>{const $r=jr===wt?"timePicker":"datePicker";return(0,B.forwardRef)((Cn,na)=>{var mt;const{prefixCls:rr,getPopupContainer:cr,components:ir,style:Nr,className:Dr,rootClassName:sn,size:Br,bordered:pn,placement:on,placeholder:Mn,popupClassName:jn,dropdownClassName:xn,disabled:zn,status:ua,variant:nn,onCalendarChange:$n}=Cn,kn=xr(Cn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:Ea,direction:Rn,getPopupContainer:aa,[$r]:Kn}=(0,B.useContext)(xe.E_),Zn=Ea("picker",rr),{compactSize:Jn,compactItemClassnames:On}=(0,de.ri)(Zn,Rn),Bn=B.useRef(null),[Yn,Ca]=(0,P.Z)("datePicker",nn,pn),Ma=(0,se.Z)(Zn),[ao,ro,oo]=Ut(Zn,Ma);(0,B.useImperativeHandle)(na,()=>Bn.current);const f={showToday:!0},s=Ue||Cn.picker,p=Ea(),{onSelect:b,multiple:j}=kn,d=b&&Ue==="time"&&!j,ne=(tt,we,kt)=>{$n==null||$n(tt,we,kt),d&&b(tt)},[V,Q]=pt(Cn,Zn),Ae=Mr(ir),it=(0,Se.Z)(tt=>{var we;return(we=Br!=null?Br:Jn)!==null&&we!==void 0?we:tt}),Pt=B.useContext(Ce.Z),It=zn!=null?zn:Pt,ve=(0,B.useContext)(T.aM),{hasFeedback:rt,status:gt,feedbackIcon:Kt}=ve,ct=B.createElement(B.Fragment,null,s==="time"?B.createElement(_,null):B.createElement(c,null),rt&&Kt),[ur]=(0,nt.Z)("DatePicker",ce.Z),Cr=Object.assign(Object.assign({},ur),Cn.locale),[Qt]=(0,et.Cn)("DatePicker",(mt=Cn.popupStyle)===null||mt===void 0?void 0:mt.zIndex);return ao(B.createElement(Pe.Z,{space:!0},B.createElement(Ee.ZP,Object.assign({ref:Bn,placeholder:at(Cr,s,Mn),suffixIcon:ct,placement:on,prevIcon:B.createElement("span",{className:`${Zn}-prev-icon`}),nextIcon:B.createElement("span",{className:`${Zn}-next-icon`}),superPrevIcon:B.createElement("span",{className:`${Zn}-super-prev-icon`}),superNextIcon:B.createElement("span",{className:`${Zn}-super-next-icon`}),transitionName:`${p}-slide-up`,picker:Ue,onCalendarChange:ne},f,kn,{locale:Cr.lang,className:te()({[`${Zn}-${it}`]:it,[`${Zn}-${Yn}`]:Ca},(0,ke.Z)(Zn,(0,ke.F)(gt,ua),rt),ro,On,Kn==null?void 0:Kn.className,Dr,oo,Ma,sn),style:Object.assign(Object.assign({},Kn==null?void 0:Kn.style),Nr),prefixCls:Zn,getPopupContainer:cr||aa,generateConfig:Ht,components:Ae,direction:Rn,disabled:It,classNames:{popup:te()(ro,oo,Ma,sn,jn||xn)},styles:{popup:Object.assign(Object.assign({},Cn.popupStyle),{zIndex:Qt})},allowClear:V,removeIcon:Q}))))})},br=Gt(),Kr=Gt(dt,er),an=Gt(or,hr),An=Gt(Er,qr),Ct=Gt(Pr,w),Lt=Gt(H,wt);return{DatePicker:br,WeekPicker:Kr,MonthPicker:an,YearPicker:An,TimePicker:Lt,QuarterPicker:Ct}},Vt=Ht=>{const{DatePicker:Gt,WeekPicker:br,MonthPicker:Kr,YearPicker:an,TimePicker:An,QuarterPicker:Ct}=C(Ht),Lt=Rt(Ht),Ue=Gt;return Ue.WeekPicker=br,Ue.MonthPicker=Kr,Ue.YearPicker=an,Ue.RangePicker=Lt,Ue.TimePicker=An,Ue.QuarterPicker=Ct,Ue};const $=Vt(o.Z),Oe=(0,Xe.Z)($,"popupAlign",void 0,"picker");$._InternalPanelDoNotUseOrYouWillBeFired=Oe;const ln=(0,Xe.Z)($.RangePicker,"popupAlign",void 0,"picker");$._InternalRangePanelDoNotUseOrYouWillBeFired=ln,$.generatePicker=Vt;var Wr=$},37285:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return F}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(48755),q=n(36237),ee=n(63356),Y=n(16931),x=n(51636);const Z=_=>{const{componentCls:I,sizePaddingEdgeHorizontal:z,colorSplit:O,lineWidth:A,textPaddingInline:oe,orientationMargin:J,verticalMarginInline:te}=_;return{[I]:Object.assign(Object.assign({},(0,ee.Wf)(_)),{borderBlockStart:`${(0,q.unit)(A)} solid ${O}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,q.unit)(A)} solid ${O}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,q.unit)(_.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${I}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,q.unit)(_.dividerHorizontalWithTextGutterMargin)} 0`,color:_.colorTextHeading,fontWeight:500,fontSize:_.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${O}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,q.unit)(A)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${I}-with-text-start`]:{"&::before":{width:`calc(${J} * 100%)`},"&::after":{width:`calc(100% - ${J} * 100%)`}},[`&-horizontal${I}-with-text-end`]:{"&::before":{width:`calc(100% - ${J} * 100%)`},"&::after":{width:`calc(${J} * 100%)`}},[`${I}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:oe},"&-dashed":{background:"none",borderColor:O,borderStyle:"dashed",borderWidth:`${(0,q.unit)(A)} 0 0`},[`&-horizontal${I}-with-text${I}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${I}-dashed`]:{borderInlineStartWidth:A,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:O,borderStyle:"dotted",borderWidth:`${(0,q.unit)(A)} 0 0`},[`&-horizontal${I}-with-text${I}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${I}-dotted`]:{borderInlineStartWidth:A,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${I}-with-text`]:{color:_.colorText,fontWeight:"normal",fontSize:_.fontSize},[`&-horizontal${I}-with-text-start${I}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${I}-inner-text`]:{paddingInlineStart:z}},[`&-horizontal${I}-with-text-end${I}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${I}-inner-text`]:{paddingInlineEnd:z}}})}},c=_=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_.marginXS});var L=(0,Y.I$)("Divider",_=>{const I=(0,x.mergeToken)(_,{dividerHorizontalWithTextGutterMargin:_.margin,dividerHorizontalGutterMargin:_.marginLG,sizePaddingEdgeHorizontal:0});return[Z(I)]},c,{unitless:{orientationMargin:!0}}),D=function(_,I){var z={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&I.indexOf(O)<0&&(z[O]=_[O]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,O=Object.getOwnPropertySymbols(_);A<O.length;A++)I.indexOf(O[A])<0&&Object.prototype.propertyIsEnumerable.call(_,O[A])&&(z[O[A]]=_[O[A]]);return z},F=_=>{const{getPrefixCls:I,direction:z,className:O,style:A}=(0,De.dj)("divider"),{prefixCls:oe,type:J="horizontal",orientation:te="center",orientationMargin:Ee,className:Pe,rootClassName:et,children:ke,dashed:xe,variant:Ce="solid",plain:se,style:Se}=_,T=D(_,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),P=I("divider",oe),[nt,de,ce]=L(P),y=!!ke,K=o.useMemo(()=>te==="left"?z==="rtl"?"end":"start":te==="right"?z==="rtl"?"start":"end":te,[z,te]),R=K==="start"&&Ee!=null,S=K==="end"&&Ee!=null,X=B()(P,O,de,ce,`${P}-${J}`,{[`${P}-with-text`]:y,[`${P}-with-text-${K}`]:y,[`${P}-dashed`]:!!xe,[`${P}-${Ce}`]:Ce!=="solid",[`${P}-plain`]:!!se,[`${P}-rtl`]:z==="rtl",[`${P}-no-default-orientation-margin-start`]:R,[`${P}-no-default-orientation-margin-end`]:S},Pe,et),He=o.useMemo(()=>typeof Ee=="number"?Ee:/^\d+$/.test(Ee)?Number(Ee):Ee,[Ee]),pe={marginInlineStart:R?He:void 0,marginInlineEnd:S?He:void 0};return nt(o.createElement("div",Object.assign({className:X,style:Object.assign(Object.assign({},A),Se)},T,{role:"separator"}),ke&&J!=="vertical"&&o.createElement("span",{className:`${P}-inner-text`,style:pe},ke)))}},30641:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return nt}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(66042),q=n(62487),ee=n(75030),Y=n(86641),x=n(55743),Z=n(48755),c=n(91190),L=n(78776),D=n(458),F=de=>{var ce,y;const{prefixCls:K,title:R,footer:S,extra:X,loading:He,onClose:pe,headerStyle:Ze,bodyStyle:ot,footerStyle:ht,children:he,classNames:Le,styles:St}=de,We=(0,Z.dj)("drawer"),Re=o.useCallback(fe=>o.createElement("button",{type:"button",onClick:pe,"aria-label":"Close",className:`${K}-close`},fe),[pe]),[M,_e]=(0,L.Z)((0,L.w)(de),(0,L.w)(We),{closable:!0,closeIconRender:Re}),ge=o.useMemo(()=>{var fe,me;return!R&&!M?null:o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(fe=We.styles)===null||fe===void 0?void 0:fe.header),Ze),St==null?void 0:St.header),className:B()(`${K}-header`,{[`${K}-header-close-only`]:M&&!R&&!X},(me=We.classNames)===null||me===void 0?void 0:me.header,Le==null?void 0:Le.header)},o.createElement("div",{className:`${K}-header-title`},_e,R&&o.createElement("div",{className:`${K}-title`},R)),X&&o.createElement("div",{className:`${K}-extra`},X))},[M,_e,X,Ze,K,R]),ue=o.useMemo(()=>{var fe,me;if(!S)return null;const Ie=`${K}-footer`;return o.createElement("div",{className:B()(Ie,(fe=We.classNames)===null||fe===void 0?void 0:fe.footer,Le==null?void 0:Le.footer),style:Object.assign(Object.assign(Object.assign({},(me=We.styles)===null||me===void 0?void 0:me.footer),ht),St==null?void 0:St.footer)},S)},[S,ht,K]);return o.createElement(o.Fragment,null,ge,o.createElement("div",{className:B()(`${K}-body`,Le==null?void 0:Le.body,(ce=We.classNames)===null||ce===void 0?void 0:ce.body),style:Object.assign(Object.assign(Object.assign({},(y=We.styles)===null||y===void 0?void 0:y.body),ot),St==null?void 0:St.body)},He?o.createElement(D.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${K}-body-skeleton`}):he),ue)},_=n(36237),I=n(63356),z=n(16931),O=n(51636);const A=de=>{const ce="100%";return{left:`translateX(-${ce})`,right:`translateX(${ce})`,top:`translateY(-${ce})`,bottom:`translateY(${ce})`}[de]},oe=(de,ce)=>({"&-enter, &-appear":Object.assign(Object.assign({},de),{"&-active":ce}),"&-leave":Object.assign(Object.assign({},ce),{"&-active":de})}),J=(de,ce)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${ce}`}}},oe({opacity:de},{opacity:1})),te=(de,ce)=>[J(.7,ce),oe({transform:A(de)},{transform:"none"})];var Pe=de=>{const{componentCls:ce,motionDurationSlow:y}=de;return{[ce]:{[`${ce}-mask-motion`]:J(0,y),[`${ce}-panel-motion`]:["left","right","top","bottom"].reduce((K,R)=>Object.assign(Object.assign({},K),{[`&-${R}`]:te(R,y)}),{})}}};const et=de=>{const{borderRadiusSM:ce,componentCls:y,zIndexPopup:K,colorBgMask:R,colorBgElevated:S,motionDurationSlow:X,motionDurationMid:He,paddingXS:pe,padding:Ze,paddingLG:ot,fontSizeLG:ht,lineHeightLG:he,lineWidth:Le,lineType:St,colorSplit:We,marginXS:Re,colorIcon:M,colorIconHover:_e,colorBgTextHover:ge,colorBgTextActive:ue,colorText:fe,fontWeightStrong:me,footerPaddingBlock:Ie,footerPaddingInline:ye,calc:Be}=de,Ye=`${y}-content-wrapper`;return{[y]:{position:"fixed",inset:0,zIndex:K,pointerEvents:"none",color:fe,"&-pure":{position:"relative",background:S,display:"flex",flexDirection:"column",[`&${y}-left`]:{boxShadow:de.boxShadowDrawerLeft},[`&${y}-right`]:{boxShadow:de.boxShadowDrawerRight},[`&${y}-top`]:{boxShadow:de.boxShadowDrawerUp},[`&${y}-bottom`]:{boxShadow:de.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${y}-mask`]:{position:"absolute",inset:0,zIndex:K,background:R,pointerEvents:"auto"},[Ye]:{position:"absolute",zIndex:K,maxWidth:"100vw",transition:`all ${X}`,"&-hidden":{display:"none"}},[`&-left > ${Ye}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:de.boxShadowDrawerLeft},[`&-right > ${Ye}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:de.boxShadowDrawerRight},[`&-top > ${Ye}`]:{top:0,insetInline:0,boxShadow:de.boxShadowDrawerUp},[`&-bottom > ${Ye}`]:{bottom:0,insetInline:0,boxShadow:de.boxShadowDrawerDown},[`${y}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:S,pointerEvents:"auto"},[`${y}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,_.unit)(Ze)} ${(0,_.unit)(ot)}`,fontSize:ht,lineHeight:he,borderBottom:`${(0,_.unit)(Le)} ${St} ${We}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${y}-extra`]:{flex:"none"},[`${y}-close`]:Object.assign({display:"inline-flex",width:Be(ht).add(pe).equal(),height:Be(ht).add(pe).equal(),borderRadius:ce,justifyContent:"center",alignItems:"center",marginInlineEnd:Re,color:M,fontWeight:me,fontSize:ht,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${He}`,textRendering:"auto","&:hover":{color:_e,backgroundColor:ge,textDecoration:"none"},"&:active":{backgroundColor:ue}},(0,I.Qy)(de)),[`${y}-title`]:{flex:1,margin:0,fontWeight:de.fontWeightStrong,fontSize:ht,lineHeight:he},[`${y}-body`]:{flex:1,minWidth:0,minHeight:0,padding:ot,overflow:"auto",[`${y}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${y}-footer`]:{flexShrink:0,padding:`${(0,_.unit)(Ie)} ${(0,_.unit)(ye)}`,borderTop:`${(0,_.unit)(Le)} ${St} ${We}`},"&-rtl":{direction:"rtl"}}}},ke=de=>({zIndexPopup:de.zIndexPopupBase,footerPaddingBlock:de.paddingXS,footerPaddingInline:de.padding});var xe=(0,z.I$)("Drawer",de=>{const ce=(0,O.mergeToken)(de,{});return[et(ce),Pe(ce)]},ke),Ce=function(de,ce){var y={};for(var K in de)Object.prototype.hasOwnProperty.call(de,K)&&ce.indexOf(K)<0&&(y[K]=de[K]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,K=Object.getOwnPropertySymbols(de);R<K.length;R++)ce.indexOf(K[R])<0&&Object.prototype.propertyIsEnumerable.call(de,K[R])&&(y[K[R]]=de[K[R]]);return y};const se=null,Se={distance:180},T=de=>{var ce;const{rootClassName:y,width:K,height:R,size:S="default",mask:X=!0,push:He=Se,open:pe,afterOpenChange:Ze,onClose:ot,prefixCls:ht,getContainer:he,style:Le,className:St,visible:We,afterVisibleChange:Re,maskStyle:M,drawerStyle:_e,contentWrapperStyle:ge}=de,ue=Ce(de,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:fe,getPrefixCls:me,direction:Ie,className:ye,style:Be,classNames:Ye,styles:xt}=(0,Z.dj)("drawer"),$t=me("drawer",ht),[Xt,Ut,jt]=xe($t),at=he===void 0&&fe?()=>fe(document.body):he,yt=B()({"no-mask":!X,[`${$t}-rtl`]:Ie==="rtl"},y,Ut,jt),pt=o.useMemo(()=>K!=null?K:S==="large"?736:378,[K,S]),dt=o.useMemo(()=>R!=null?R:S==="large"?736:378,[R,S]),er={motionName:(0,Y.m)($t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},or=H=>({motionName:(0,Y.m)($t,`panel-motion-${H}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),hr=(0,c.H)(),[Er,qr]=(0,ee.Cn)("Drawer",ue.zIndex),{classNames:Pr={},styles:w={}}=ue;return Xt(o.createElement(q.Z,{form:!0,space:!0},o.createElement(x.Z.Provider,{value:qr},o.createElement(De.Z,Object.assign({prefixCls:$t,onClose:ot,maskMotion:er,motion:or},ue,{classNames:{mask:B()(Pr.mask,Ye.mask),content:B()(Pr.content,Ye.content),wrapper:B()(Pr.wrapper,Ye.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},w.mask),M),xt.mask),content:Object.assign(Object.assign(Object.assign({},w.content),_e),xt.content),wrapper:Object.assign(Object.assign(Object.assign({},w.wrapper),ge),xt.wrapper)},open:pe!=null?pe:We,mask:X,push:He,width:pt,height:dt,style:Object.assign(Object.assign({},Be),Le),className:B()(ye,St),rootClassName:yt,getContainer:at,afterOpenChange:Ze!=null?Ze:Re,panelRef:hr,zIndex:Er}),o.createElement(F,Object.assign({prefixCls:$t},ue,{onClose:ot}))))))},P=de=>{const{prefixCls:ce,style:y,className:K,placement:R="right"}=de,S=Ce(de,["prefixCls","style","className","placement"]),{getPrefixCls:X}=o.useContext(Z.E_),He=X("drawer",ce),[pe,Ze,ot]=xe(He),ht=B()(He,`${He}-pure`,`${He}-${R}`,Ze,ot,K);return pe(o.createElement("div",{className:ht,style:y},o.createElement(F,Object.assign({prefixCls:He},S))))};T._InternalPanelDoNotUseOrYouWillBeFired=P;var nt=T},19563:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return He}});var o=n(59301),Xe=n(33853),B=n(38819),De=n(92310),q=n.n(De),ee=n(96478),Y=n(6089),x=n(18929),Z=n(2738),c=n(75030),D=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,U=n(52838),F=n(45915),_=n(22703),I=n(32383),z=n(55743),O=n(48755),A=n(83397),oe=n(93041),J=n(78857),te=n(57700),Ee=n(36237),Pe=n(63356),et=n(46e3),ke=n(93873),xe=n(34925),Ce=n(37645),se=n(36305),Se=n(16931),T=n(51636),nt=pe=>{const{componentCls:Ze,menuCls:ot,colorError:ht,colorTextLightSolid:he}=pe,Le=`${ot}-item`;return{[`${Ze}, ${Ze}-menu-submenu`]:{[`${ot} ${Le}`]:{[`&${Le}-danger:not(${Le}-disabled)`]:{color:ht,"&:hover":{color:he,backgroundColor:ht}}}}}};const de=pe=>{const{componentCls:Ze,menuCls:ot,zIndexPopup:ht,dropdownArrowDistance:he,sizePopupArrow:Le,antCls:St,iconCls:We,motionDurationMid:Re,paddingBlock:M,fontSize:_e,dropdownEdgeChildPadding:ge,colorTextDisabled:ue,fontSizeIcon:fe,controlPaddingHorizontal:me,colorBgElevated:Ie}=pe;return[{[Ze]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:ht,display:"block","&::before":{position:"absolute",insetBlock:pe.calc(Le).div(2).sub(he).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${St}-btn`]:{[`& > ${We}-down, & > ${St}-btn-icon > ${We}-down`]:{fontSize:fe}},[`${Ze}-wrap`]:{position:"relative",[`${St}-btn > ${We}-down`]:{fontSize:fe},[`${We}-down::before`]:{transition:`transform ${Re}`}},[`${Ze}-wrap-open`]:{[`${We}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${St}-slide-down-enter${St}-slide-down-enter-active${Ze}-placement-bottomLeft,
&${St}-slide-down-appear${St}-slide-down-appear-active${Ze}-placement-bottomLeft,
&${St}-slide-down-enter${St}-slide-down-enter-active${Ze}-placement-bottom,
&${St}-slide-down-appear${St}-slide-down-appear-active${Ze}-placement-bottom,
&${St}-slide-down-enter${St}-slide-down-enter-active${Ze}-placement-bottomRight,
&${St}-slide-down-appear${St}-slide-down-appear-active${Ze}-placement-bottomRight`]:{animationName:et.fJ},[`&${St}-slide-up-enter${St}-slide-up-enter-active${Ze}-placement-topLeft,
&${St}-slide-up-appear${St}-slide-up-appear-active${Ze}-placement-topLeft,
&${St}-slide-up-enter${St}-slide-up-enter-active${Ze}-placement-top,
&${St}-slide-up-appear${St}-slide-up-appear-active${Ze}-placement-top,
&${St}-slide-up-enter${St}-slide-up-enter-active${Ze}-placement-topRight,
&${St}-slide-up-appear${St}-slide-up-appear-active${Ze}-placement-topRight`]:{animationName:et.Qt},[`&${St}-slide-down-leave${St}-slide-down-leave-active${Ze}-placement-bottomLeft,
&${St}-slide-down-leave${St}-slide-down-leave-active${Ze}-placement-bottom,
&${St}-slide-down-leave${St}-slide-down-leave-active${Ze}-placement-bottomRight`]:{animationName:et.Uw},[`&${St}-slide-up-leave${St}-slide-up-leave-active${Ze}-placement-topLeft,
&${St}-slide-up-leave${St}-slide-up-leave-active${Ze}-placement-top,
&${St}-slide-up-leave${St}-slide-up-leave-active${Ze}-placement-topRight`]:{animationName:et.ly}}},(0,Ce.ZP)(pe,Ie,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ze} ${ot}`]:{position:"relative",margin:0},[`${ot}-submenu-popup`]:{position:"absolute",zIndex:ht,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ze}, ${Ze}-menu-submenu`]:Object.assign(Object.assign({},(0,Pe.Wf)(pe)),{[ot]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:Ie,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,Pe.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${ot}-item-group-title`]:{padding:`${(0,Ee.unit)(M)} ${(0,Ee.unit)(me)}`,color:pe.colorTextDescription,transition:`all ${Re}`},[`${ot}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ot}-item-icon`]:{minWidth:_e,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${ot}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Re}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${ot}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${ot}-item, ${ot}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Ee.unit)(M)} ${(0,Ee.unit)(me)}`,color:pe.colorText,fontWeight:"normal",fontSize:_e,lineHeight:pe.lineHeight,cursor:"pointer",transition:`all ${Re}`,borderRadius:pe.borderRadiusSM,"&:hover, &-active":{backgroundColor:pe.controlItemBgHover}},(0,Pe.Qy)(pe)),{"&-selected":{color:pe.colorPrimary,backgroundColor:pe.controlItemBgActive,"&:hover, &-active":{backgroundColor:pe.controlItemBgActiveHover}},"&-disabled":{color:ue,cursor:"not-allowed","&:hover":{color:ue,backgroundColor:Ie,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Ee.unit)(pe.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:pe.colorSplit},[`${Ze}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:pe.paddingXS,[`${Ze}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:pe.colorTextDescription,fontSize:fe,fontStyle:"normal"}}}),[`${ot}-item-group-list`]:{margin:`0 ${(0,Ee.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${ot}-submenu-title`]:{paddingInlineEnd:pe.calc(me).add(pe.fontSizeSM).equal()},[`${ot}-submenu-vertical`]:{position:"relative"},[`${ot}-submenu${ot}-submenu-disabled ${Ze}-menu-submenu-title`]:{[`&, ${Ze}-menu-submenu-arrow-icon`]:{color:ue,backgroundColor:Ie,cursor:"not-allowed"}},[`${ot}-submenu-selected ${Ze}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,et.oN)(pe,"slide-up"),(0,et.oN)(pe,"slide-down"),(0,ke.Fm)(pe,"move-up"),(0,ke.Fm)(pe,"move-down"),(0,xe._y)(pe,"zoom-big")]]},ce=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,Ce.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,se.w)(pe));var y=(0,Se.I$)("Dropdown",pe=>{const{marginXXS:Ze,sizePopupArrow:ot,paddingXXS:ht,componentCls:he}=pe,Le=(0,T.mergeToken)(pe,{menuCls:`${he}-menu`,dropdownArrowDistance:pe.calc(ot).div(2).add(Ze).equal(),dropdownEdgeChildPadding:ht});return[de(Le),nt(Le)]},ce,{resetStyle:!1});const K=null,R=pe=>{var Ze;const{menu:ot,arrow:ht,prefixCls:he,children:Le,trigger:St,disabled:We,dropdownRender:Re,getPopupContainer:M,overlayClassName:_e,rootClassName:ge,overlayStyle:ue,open:fe,onOpenChange:me,visible:Ie,onVisibleChange:ye,mouseEnterDelay:Be=.15,mouseLeaveDelay:Ye=.1,autoAdjustOverflow:xt=!0,placement:$t="",overlay:Xt,transitionName:Ut}=pe,{getPopupContainer:jt,getPrefixCls:at,direction:yt,dropdown:pt}=o.useContext(O.E_),dt=(0,I.ln)("Dropdown"),er=o.useMemo(()=>{const Oe=at();return Ut!==void 0?Ut:$t.includes("top")?`${Oe}-slide-down`:`${Oe}-slide-up`},[at,$t,Ut]),or=o.useMemo(()=>$t?$t.includes("Center")?$t.slice(0,$t.indexOf("Center")):$t:yt==="rtl"?"bottomRight":"bottomLeft",[$t,yt]),hr=at("dropdown",he),Er=(0,A.Z)(hr),[qr,Pr,w]=y(hr,Er),[,H]=(0,te.ZP)(),wt=o.Children.only(D(Le)?o.createElement("span",null,Le):Le),ae=(0,_.Tm)(wt,{className:q()(`${hr}-trigger`,{[`${hr}-rtl`]:yt==="rtl"},wt.props.className),disabled:(Ze=wt.props.disabled)!==null&&Ze!==void 0?Ze:We}),Te=We?[]:St,Fr=!!(Te!=null&&Te.includes("contextMenu")),[Mr,bn]=(0,x.Z)(!1,{value:fe!=null?fe:Ie}),Dn=(0,Y.Z)(Oe=>{me==null||me(Oe,{source:"trigger"}),ye==null||ye(Oe),bn(Oe)}),Rt=q()(_e,ge,Pr,w,Er,pt==null?void 0:pt.className,{[`${hr}-rtl`]:yt==="rtl"}),xr=(0,U.Z)({arrowPointAtCenter:typeof ht=="object"&&ht.pointAtCenter,autoAdjustOverflow:xt,offset:H.marginXXS,arrowWidth:ht?H.sizePopupArrow:0,borderRadius:H.borderRadius}),sr=o.useCallback(()=>{ot!=null&&ot.selectable&&(ot!=null&&ot.multiple)||(me==null||me(!1,{source:"menu"}),bn(!1))},[ot==null?void 0:ot.selectable,ot==null?void 0:ot.multiple]),C=()=>{let Oe;return ot!=null&&ot.items?Oe=o.createElement(oe.default,Object.assign({},ot)):typeof Xt=="function"?Oe=Xt():Oe=Xt,Re&&(Oe=Re(Oe)),Oe=o.Children.only(typeof Oe=="string"?o.createElement("span",null,Oe):Oe),o.createElement(J.J,{prefixCls:`${hr}-menu`,rootClassName:q()(w,Er),expandIcon:o.createElement("span",{className:`${hr}-menu-submenu-arrow`},yt==="rtl"?o.createElement(Xe.Z,{className:`${hr}-menu-submenu-arrow-icon`}):o.createElement(B.Z,{className:`${hr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:sr,validator:ln=>{let{mode:Wr}=ln}},Oe)},[v,Vt]=(0,c.Cn)("Dropdown",ue==null?void 0:ue.zIndex);let $=o.createElement(ee.Z,Object.assign({alignPoint:Fr},(0,Z.Z)(pe,["rootClassName"]),{mouseEnterDelay:Be,mouseLeaveDelay:Ye,visible:Mr,builtinPlacements:xr,arrow:!!ht,overlayClassName:Rt,prefixCls:hr,getPopupContainer:M||jt,transitionName:er,trigger:Te,overlay:C,placement:or,onVisibleChange:Dn,overlayStyle:Object.assign(Object.assign(Object.assign({},pt==null?void 0:pt.style),ue),{zIndex:v})}),ae);return v&&($=o.createElement(z.Z.Provider,{value:Vt},$)),qr($)},S=(0,F.Z)(R,"align",void 0,"dropdown",pe=>pe),X=pe=>o.createElement(S,Object.assign({},pe),o.createElement("span",null));R._InternalPanelDoNotUseOrYouWillBeFired=X;var He=R},75727:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return F}});var o=n(19563),Xe=n(59301),B=n(18785),De=n(92310),q=n.n(De),ee=n(7939),Y=n(48755),x=n(44104),Z=n(70045),c=function(_,I){var z={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&I.indexOf(O)<0&&(z[O]=_[O]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,O=Object.getOwnPropertySymbols(_);A<O.length;A++)I.indexOf(O[A])<0&&Object.prototype.propertyIsEnumerable.call(_,O[A])&&(z[O[A]]=_[O[A]]);return z};const L=_=>{const{getPopupContainer:I,getPrefixCls:z,direction:O}=Xe.useContext(Y.E_),{prefixCls:A,type:oe="default",danger:J,disabled:te,loading:Ee,onClick:Pe,htmlType:et,children:ke,className:xe,menu:Ce,arrow:se,autoFocus:Se,overlay:T,trigger:P,align:nt,open:de,onOpenChange:ce,placement:y,getPopupContainer:K,href:R,icon:S=Xe.createElement(B.Z,null),title:X,buttonsRender:He=Be=>Be,mouseEnterDelay:pe,mouseLeaveDelay:Ze,overlayClassName:ot,overlayStyle:ht,destroyPopupOnHide:he,dropdownRender:Le}=_,St=c(_,["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"]),We=z("dropdown",A),Re=`${We}-button`,M={menu:Ce,arrow:se,autoFocus:Se,align:nt,disabled:te,trigger:te?[]:P,onOpenChange:ce,getPopupContainer:K||I,mouseEnterDelay:pe,mouseLeaveDelay:Ze,overlayClassName:ot,overlayStyle:ht,destroyPopupOnHide:he,dropdownRender:Le},{compactSize:_e,compactItemClassnames:ge}=(0,Z.ri)(We,O),ue=q()(Re,ge,xe);"overlay"in _&&(M.overlay=T),"open"in _&&(M.open=de),"placement"in _?M.placement=y:M.placement=O==="rtl"?"bottomLeft":"bottomRight";const fe=Xe.createElement(ee.ZP,{type:oe,danger:J,disabled:te,loading:Ee,onClick:Pe,htmlType:et,href:R,title:X},ke),me=Xe.createElement(ee.ZP,{type:oe,danger:J,icon:S}),[Ie,ye]=He([fe,me]);return Xe.createElement(x.Z.Compact,Object.assign({className:ue,size:_e,block:!0},St),Ie,Xe.createElement(o.Z,Object.assign({},M),ye))};L.__ANT_BUTTON=!0;var D=L;const U=o.Z;U.Button=D;var F=U},584:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return oe}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(9017),q=n(17835),ee=n(57700),x=()=>{const[,J]=(0,ee.ZP)(),[te]=(0,De.Z)("Empty"),Pe=new q.FastColor(J.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:Pe,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(te==null?void 0:te.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.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"}),o.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)"}),o.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"}),o.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"})),o.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"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},c=()=>{const[,J]=(0,ee.ZP)(),[te]=(0,De.Z)("Empty"),{colorFill:Ee,colorFillTertiary:Pe,colorFillQuaternary:et,colorBgContainer:ke}=J,{borderColor:xe,shadowColor:Ce,contentColor:se}=(0,o.useMemo)(()=>({borderColor:new q.FastColor(Ee).onBackground(ke).toHexString(),shadowColor:new q.FastColor(Pe).onBackground(ke).toHexString(),contentColor:new q.FastColor(et).onBackground(ke).toHexString()}),[Ee,Pe,et,ke]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(te==null?void 0:te.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:Ce,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:xe},o.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"}),o.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:se}))))},L=n(16931),D=n(51636);const U=J=>{const{componentCls:te,margin:Ee,marginXS:Pe,marginXL:et,fontSize:ke,lineHeight:xe}=J;return{[te]:{marginInline:Pe,fontSize:ke,lineHeight:xe,textAlign:"center",[`${te}-image`]:{height:J.emptyImgHeight,marginBottom:Pe,opacity:J.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${te}-description`]:{color:J.colorTextDescription},[`${te}-footer`]:{marginTop:Ee},"&-normal":{marginBlock:et,color:J.colorTextDescription,[`${te}-description`]:{color:J.colorTextDescription},[`${te}-image`]:{height:J.emptyImgHeightMD}},"&-small":{marginBlock:Pe,color:J.colorTextDescription,[`${te}-image`]:{height:J.emptyImgHeightSM}}}}};var F=(0,L.I$)("Empty",J=>{const{componentCls:te,controlHeightLG:Ee,calc:Pe}=J,et=(0,D.mergeToken)(J,{emptyImgCls:`${te}-img`,emptyImgHeight:Pe(Ee).mul(2.5).equal(),emptyImgHeightMD:Ee,emptyImgHeightSM:Pe(Ee).mul(.875).equal()});return[U(et)]}),_=n(48755),I=function(J,te){var Ee={};for(var Pe in J)Object.prototype.hasOwnProperty.call(J,Pe)&&te.indexOf(Pe)<0&&(Ee[Pe]=J[Pe]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Pe=Object.getOwnPropertySymbols(J);et<Pe.length;et++)te.indexOf(Pe[et])<0&&Object.prototype.propertyIsEnumerable.call(J,Pe[et])&&(Ee[Pe[et]]=J[Pe[et]]);return Ee};const z=o.createElement(x,null),O=o.createElement(c,null),A=J=>{const{className:te,rootClassName:Ee,prefixCls:Pe,image:et=z,description:ke,children:xe,imageStyle:Ce,style:se,classNames:Se,styles:T}=J,P=I(J,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:nt,direction:de,className:ce,style:y,classNames:K,styles:R}=(0,_.dj)("empty"),S=nt("empty",Pe),[X,He,pe]=F(S),[Ze]=(0,De.Z)("Empty"),ot=typeof ke!="undefined"?ke:Ze==null?void 0:Ze.description,ht=typeof ot=="string"?ot:"empty";let he=null;return typeof et=="string"?he=o.createElement("img",{alt:ht,src:et}):he=et,X(o.createElement("div",Object.assign({className:B()(He,pe,S,ce,{[`${S}-normal`]:et===O,[`${S}-rtl`]:de==="rtl"},te,Ee,K.root,Se==null?void 0:Se.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},R.root),y),T==null?void 0:T.root),se)},P),o.createElement("div",{className:B()(`${S}-image`,K.image,Se==null?void 0:Se.image),style:Object.assign(Object.assign(Object.assign({},Ce),R.image),T==null?void 0:T.image)},he),ot&&o.createElement("div",{className:B()(`${S}-description`,K.description,Se==null?void 0:Se.description),style:Object.assign(Object.assign({},R.description),T==null?void 0:T.description)},ot),xe&&o.createElement("div",{className:B()(`${S}-footer`,K.footer,Se==null?void 0:Se.footer),style:Object.assign(Object.assign({},R.footer),T==null?void 0:T.footer)},xe)))};A.PRESENTED_IMAGE_DEFAULT=z,A.PRESENTED_IMAGE_SIMPLE=O;var oe=A},24971:function(Qr,_t,n){"use strict";var o=n(59301),Xe=n(56553),B=n(48755);const De=function(q,ee){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var x,Z;const{variant:c,[q]:L}=o.useContext(B.E_),D=o.useContext(Xe.pg),U=L==null?void 0:L.variant;let F;typeof ee!="undefined"?F=ee:Y===!1?F="borderless":F=(Z=(x=D!=null?D:U)!==null&&x!==void 0?x:c)!==null&&Z!==void 0?Z:"outlined";const _=B.tr.includes(F);return[F,_]};_t.Z=De},28284:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return na}});var o=n(56553),Xe=n(94480),B=n(59301),De=n(92310),q=n.n(De),ee=n(77900),Y=n(86641),x=n(83397);function Z(mt){const[rr,cr]=B.useState(mt);return B.useEffect(()=>{const ir=setTimeout(()=>{cr(mt)},mt.length?0:10);return()=>{clearTimeout(ir)}},[mt]),rr}var c=n(36237),L=n(63356),D=n(34925),U=n(34961),F=n(51636),_=n(16931),z=mt=>{const{componentCls:rr}=mt,cr=`${rr}-show-help`,ir=`${rr}-show-help-item`;return{[cr]:{transition:`opacity ${mt.motionDurationFast} ${mt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[ir]:{overflow:"hidden",transition:`height ${mt.motionDurationFast} ${mt.motionEaseInOut},
opacity ${mt.motionDurationFast} ${mt.motionEaseInOut},
transform ${mt.motionDurationFast} ${mt.motionEaseInOut} !important`,[`&${ir}-appear, &${ir}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${ir}-leave-active`]:{transform:"translateY(-5px)"}}}}};const O=mt=>({legend:{display:"block",width:"100%",marginBottom:mt.marginLG,padding:0,color:mt.colorTextDescription,fontSize:mt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,c.unit)(mt.lineWidth)} ${mt.lineType} ${mt.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,c.unit)(mt.controlOutlineWidth)} ${mt.controlOutline}`},output:{display:"block",paddingTop:15,color:mt.colorText,fontSize:mt.fontSize,lineHeight:mt.lineHeight}}),A=(mt,rr)=>{const{formItemCls:cr}=mt;return{[cr]:{[`${cr}-label > label`]:{height:rr},[`${cr}-control-input`]:{minHeight:rr}}}},oe=mt=>{const{componentCls:rr}=mt;return{[mt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,L.Wf)(mt)),O(mt)),{[`${rr}-text`]:{display:"inline-block",paddingInlineEnd:mt.paddingSM},"&-small":Object.assign({},A(mt,mt.controlHeightSM)),"&-large":Object.assign({},A(mt,mt.controlHeightLG))})}},J=mt=>{const{formItemCls:rr,iconCls:cr,rootPrefixCls:ir,antCls:Nr,labelRequiredMarkColor:Dr,labelColor:sn,labelFontSize:Br,labelHeight:pn,labelColonMarginInlineStart:on,labelColonMarginInlineEnd:Mn,itemMarginBottom:jn}=mt;return{[rr]:Object.assign(Object.assign({},(0,L.Wf)(mt)),{marginBottom:jn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
&-hidden${Nr}-row`]:{display:"none"},"&-has-warning":{[`${rr}-split`]:{color:mt.colorError}},"&-has-error":{[`${rr}-split`]:{color:mt.colorWarning}},[`${rr}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:mt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:pn,color:sn,fontSize:Br,[`> ${cr}`]:{fontSize:mt.fontSize,verticalAlign:"top"},[`&${rr}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:mt.marginXXS,color:Dr,fontSize:mt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${rr}-required-mark-hidden, &${rr}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${rr}-optional`]:{display:"inline-block",marginInlineStart:mt.marginXXS,color:mt.colorTextDescription,[`&${rr}-required-mark-hidden`]:{display:"none"}},[`${rr}-tooltip`]:{color:mt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:mt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:on,marginInlineEnd:Mn},[`&${rr}-no-colon::after`]:{content:'"\\a0"'}}},[`${rr}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ir}-col-'"]):not([class*="' ${ir}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:mt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[rr]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:mt.colorTextDescription,fontSize:mt.fontSize,lineHeight:mt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:mt.controlHeightSM,transition:`color ${mt.motionDurationMid} ${mt.motionEaseOut}`},"&-explain":{"&-error":{color:mt.colorError},"&-warning":{color:mt.colorWarning}}},[`&-with-help ${rr}-explain`]:{height:"auto",opacity:1},[`${rr}-feedback-icon`]:{fontSize:mt.fontSize,textAlign:"center",visibility:"visible",animationName:D.kr,animationDuration:mt.motionDurationMid,animationTimingFunction:mt.motionEaseOutBack,pointerEvents:"none","&-success":{color:mt.colorSuccess},"&-error":{color:mt.colorError},"&-warning":{color:mt.colorWarning},"&-validating":{color:mt.colorPrimary}}})}},te=(mt,rr)=>{const{formItemCls:cr}=mt;return{[`${rr}-horizontal`]:{[`${cr}-label`]:{flexGrow:0},[`${cr}-control`]:{flex:"1 1 0",minWidth:0},[`${cr}-label[class$='-24'], ${cr}-label[class*='-24 ']`]:{[`& + ${cr}-control`]:{minWidth:"unset"}}}}},Ee=mt=>{const{componentCls:rr,formItemCls:cr,inlineItemMarginBottom:ir}=mt;return{[`${rr}-inline`]:{display:"flex",flexWrap:"wrap",[cr]:{flex:"none",marginInlineEnd:mt.margin,marginBottom:ir,"&-row":{flexWrap:"nowrap"},[`> ${cr}-label,
> ${cr}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${cr}-label`]:{flex:"none"},[`${rr}-text`]:{display:"inline-block"},[`${cr}-has-feedback`]:{display:"inline-block"}}}}},Pe=mt=>({padding:mt.verticalLabelPadding,margin:mt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),et=mt=>{const{componentCls:rr,formItemCls:cr,rootPrefixCls:ir}=mt;return{[`${cr} ${cr}-label`]:Pe(mt),[`${rr}:not(${rr}-inline)`]:{[cr]:{flexWrap:"wrap",[`${cr}-label, ${cr}-control`]:{[`&:not([class*=" ${ir}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ke=mt=>{const{componentCls:rr,formItemCls:cr,antCls:ir}=mt;return{[`${rr}-vertical`]:{[`${cr}:not(${cr}-horizontal)`]:{[`${cr}-row`]:{flexDirection:"column"},[`${cr}-label > label`]:{height:"auto"},[`${cr}-control`]:{width:"100%"},[`${cr}-label,
${ir}-col-24${cr}-label,
${ir}-col-xl-24${cr}-label`]:Pe(mt)}},[`@media (max-width: ${(0,c.unit)(mt.screenXSMax)})`]:[et(mt),{[rr]:{[`${cr}:not(${cr}-horizontal)`]:{[`${ir}-col-xs-24${cr}-label`]:Pe(mt)}}}],[`@media (max-width: ${(0,c.unit)(mt.screenSMMax)})`]:{[rr]:{[`${cr}:not(${cr}-horizontal)`]:{[`${ir}-col-sm-24${cr}-label`]:Pe(mt)}}},[`@media (max-width: ${(0,c.unit)(mt.screenMDMax)})`]:{[rr]:{[`${cr}:not(${cr}-horizontal)`]:{[`${ir}-col-md-24${cr}-label`]:Pe(mt)}}},[`@media (max-width: ${(0,c.unit)(mt.screenLGMax)})`]:{[rr]:{[`${cr}:not(${cr}-horizontal)`]:{[`${ir}-col-lg-24${cr}-label`]:Pe(mt)}}}}},xe=mt=>{const{formItemCls:rr,antCls:cr}=mt;return{[`${rr}-vertical`]:{[`${rr}-row`]:{flexDirection:"column"},[`${rr}-label > label`]:{height:"auto"},[`${rr}-control`]:{width:"100%"}},[`${rr}-vertical ${rr}-label,
${cr}-col-24${rr}-label,
${cr}-col-xl-24${rr}-label`]:Pe(mt),[`@media (max-width: ${(0,c.unit)(mt.screenXSMax)})`]:[et(mt),{[rr]:{[`${cr}-col-xs-24${rr}-label`]:Pe(mt)}}],[`@media (max-width: ${(0,c.unit)(mt.screenSMMax)})`]:{[rr]:{[`${cr}-col-sm-24${rr}-label`]:Pe(mt)}},[`@media (max-width: ${(0,c.unit)(mt.screenMDMax)})`]:{[rr]:{[`${cr}-col-md-24${rr}-label`]:Pe(mt)}},[`@media (max-width: ${(0,c.unit)(mt.screenLGMax)})`]:{[rr]:{[`${cr}-col-lg-24${rr}-label`]:Pe(mt)}}}},Ce=mt=>({labelRequiredMarkColor:mt.colorError,labelColor:mt.colorTextHeading,labelFontSize:mt.fontSize,labelHeight:mt.controlHeight,labelColonMarginInlineStart:mt.marginXXS/2,labelColonMarginInlineEnd:mt.marginXS,itemMarginBottom:mt.marginLG,verticalLabelPadding:`0 0 ${mt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),se=(mt,rr)=>(0,F.mergeToken)(mt,{formItemCls:`${mt.componentCls}-item`,rootPrefixCls:rr});var Se=(0,_.I$)("Form",(mt,rr)=>{let{rootPrefixCls:cr}=rr;const ir=se(mt,cr);return[oe(ir),J(ir),z(ir),te(ir,ir.componentCls),te(ir,ir.formItemCls),Ee(ir),ke(ir),xe(ir),(0,U.Z)(ir),D.kr]},Ce,{order:-1e3});const T=[];function P(mt,rr,cr){let ir=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof mt=="string"?mt:`${rr}-${ir}`,error:mt,errorStatus:cr}}var de=mt=>{let{help:rr,helpStatus:cr,errors:ir=T,warnings:Nr=T,className:Dr,fieldId:sn,onVisibleChanged:Br}=mt;const{prefixCls:pn}=B.useContext(o.Rk),on=`${pn}-item-explain`,Mn=(0,x.Z)(pn),[jn,xn,zn]=Se(pn,Mn),ua=B.useMemo(()=>(0,Y.Z)(pn),[pn]),nn=Z(ir),$n=Z(Nr),kn=B.useMemo(()=>rr!=null?[P(rr,"help",cr)]:[].concat((0,Xe.Z)(nn.map((aa,Kn)=>P(aa,"error","error",Kn))),(0,Xe.Z)($n.map((aa,Kn)=>P(aa,"warning","warning",Kn)))),[rr,cr,nn,$n]),Ea=B.useMemo(()=>{const aa={};return kn.forEach(Kn=>{let{key:Zn}=Kn;aa[Zn]=(aa[Zn]||0)+1}),kn.map((Kn,Zn)=>Object.assign(Object.assign({},Kn),{key:aa[Kn.key]>1?`${Kn.key}-fallback-${Zn}`:Kn.key}))},[kn]),Rn={};return sn&&(Rn.id=`${sn}_help`),jn(B.createElement(ee.default,{motionDeadline:ua.motionDeadline,motionName:`${pn}-show-help`,visible:!!Ea.length,onVisibleChanged:Br},aa=>{const{className:Kn,style:Zn}=aa;return B.createElement("div",Object.assign({},Rn,{className:q()(on,Kn,zn,Mn,Dr,xn),style:Zn}),B.createElement(ee.CSSMotionList,Object.assign({keys:Ea},(0,Y.Z)(pn),{motionName:`${pn}-show-help-item`,component:!1}),Jn=>{const{key:On,error:Bn,errorStatus:Yn,className:Ca,style:Ma}=Jn;return B.createElement("div",{key:On,className:q()(Ca,{[`${on}-${Yn}`]:Yn}),style:Ma},Bn)}))}))},ce=n(30810),y=n(48755),K=n(2171),R=n(31756),S=n(23069),X=n(76846),He=n(16722);const pe=["parentNode"],Ze="form_item";function ot(mt){return mt===void 0||mt===!1?[]:Array.isArray(mt)?mt:[mt]}function ht(mt,rr){if(!mt.length)return;const cr=mt.join("_");return rr?`${rr}_${cr}`:pe.includes(cr)?`${Ze}_${cr}`:cr}function he(mt,rr,cr,ir,Nr,Dr){let sn=ir;return Dr!==void 0?sn=Dr:cr.validating?sn="validating":mt.length?sn="error":rr.length?sn="warning":(cr.touched||Nr&&cr.validated)&&(sn="success"),sn}var Le=function(mt,rr){var cr={};for(var ir in mt)Object.prototype.hasOwnProperty.call(mt,ir)&&rr.indexOf(ir)<0&&(cr[ir]=mt[ir]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,ir=Object.getOwnPropertySymbols(mt);Nr<ir.length;Nr++)rr.indexOf(ir[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,ir[Nr])&&(cr[ir[Nr]]=mt[ir[Nr]]);return cr};function St(mt){return ot(mt).join("_")}function We(mt,rr){const cr=rr.getFieldInstance(mt),ir=(0,X.bn)(cr);if(ir)return ir;const Nr=ht(ot(mt),rr.__INTERNAL__.name);if(Nr)return document.getElementById(Nr)}function Re(mt){const[rr]=(0,ce.useForm)(),cr=B.useRef({}),ir=B.useMemo(()=>mt!=null?mt:Object.assign(Object.assign({},rr),{__INTERNAL__:{itemRef:Nr=>Dr=>{const sn=St(Nr);Dr?cr.current[sn]=Dr:delete cr.current[sn]}},scrollToField:function(Nr){let Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:sn}=Dr,Br=Le(Dr,["focus"]),pn=We(Nr,ir);pn&&((0,He.Z)(pn,Object.assign({scrollMode:"if-needed",block:"nearest"},Br)),sn&&ir.focusField(Nr))},focusField:Nr=>{var Dr,sn;const Br=ir.getFieldInstance(Nr);typeof(Br==null?void 0:Br.focus)=="function"?Br.focus():(sn=(Dr=We(Nr,ir))===null||Dr===void 0?void 0:Dr.focus)===null||sn===void 0||sn.call(Dr)},getFieldInstance:Nr=>{const Dr=St(Nr);return cr.current[Dr]}}),[mt,rr]);return[ir]}var M=n(98350),_e=function(mt,rr){var cr={};for(var ir in mt)Object.prototype.hasOwnProperty.call(mt,ir)&&rr.indexOf(ir)<0&&(cr[ir]=mt[ir]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,ir=Object.getOwnPropertySymbols(mt);Nr<ir.length;Nr++)rr.indexOf(ir[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,ir[Nr])&&(cr[ir[Nr]]=mt[ir[Nr]]);return cr};const ge=(mt,rr)=>{const cr=B.useContext(K.Z),{getPrefixCls:ir,direction:Nr,requiredMark:Dr,colon:sn,scrollToFirstError:Br,className:pn,style:on}=(0,y.dj)("form"),{prefixCls:Mn,className:jn,rootClassName:xn,size:zn,disabled:ua=cr,form:nn,colon:$n,labelAlign:kn,labelWrap:Ea,labelCol:Rn,wrapperCol:aa,hideRequiredMark:Kn,layout:Zn="horizontal",scrollToFirstError:Jn,requiredMark:On,onFinishFailed:Bn,name:Yn,style:Ca,feedbackIcons:Ma,variant:ao}=mt,ro=_e(mt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),oo=(0,R.Z)(zn),f=B.useContext(M.Z),s=B.useMemo(()=>On!==void 0?On:Kn?!1:Dr!==void 0?Dr:!0,[Kn,On,Dr]),p=$n!=null?$n:sn,b=ir("form",Mn),j=(0,x.Z)(b),[d,ne,V]=Se(b,j),Q=q()(b,`${b}-${Zn}`,{[`${b}-hide-required-mark`]:s===!1,[`${b}-rtl`]:Nr==="rtl",[`${b}-${oo}`]:oo},V,j,ne,pn,jn,xn),[Ae]=Re(nn),{__INTERNAL__:it}=Ae;it.name=Yn;const Pt=B.useMemo(()=>({name:Yn,labelAlign:kn,labelCol:Rn,labelWrap:Ea,wrapperCol:aa,vertical:Zn==="vertical",colon:p,requiredMark:s,itemRef:it.itemRef,form:Ae,feedbackIcons:Ma}),[Yn,kn,Rn,aa,Zn,p,s,Ae,Ma]),It=B.useRef(null);B.useImperativeHandle(rr,()=>{var gt;return Object.assign(Object.assign({},Ae),{nativeElement:(gt=It.current)===null||gt===void 0?void 0:gt.nativeElement})});const ve=(gt,Kt)=>{if(gt){let ct={block:"nearest"};typeof gt=="object"&&(ct=Object.assign(Object.assign({},ct),gt)),Ae.scrollToField(Kt,ct)}},rt=gt=>{if(Bn==null||Bn(gt),gt.errorFields.length){const Kt=gt.errorFields[0].name;if(Jn!==void 0){ve(Jn,Kt);return}Br!==void 0&&ve(Br,Kt)}};return d(B.createElement(o.pg.Provider,{value:ao},B.createElement(K.n,{disabled:ua},B.createElement(S.Z.Provider,{value:oo},B.createElement(o.RV,{validateMessages:f},B.createElement(o.q3.Provider,{value:Pt},B.createElement(ce.default,Object.assign({id:Yn},ro,{name:Yn,onFinishFailed:rt,form:Ae,ref:It,style:Object.assign(Object.assign({},on),Ca),className:Q}))))))))};var fe=B.forwardRef(ge),me=n(41799),Ie=n(8654),ye=n(22703),Be=n(32383),Ye=n(11592);function xt(mt){if(typeof mt=="function")return mt;const rr=(0,Ye.Z)(mt);return rr.length<=1?rr[0]:rr}const $t=()=>{const{status:mt,errors:rr=[],warnings:cr=[]}=B.useContext(o.aM);return{status:mt,errors:rr,warnings:cr}};$t.Context=o.aM;var Xt=$t,Ut=n(16089);function jt(mt){const[rr,cr]=B.useState(mt),ir=B.useRef(null),Nr=B.useRef([]),Dr=B.useRef(!1);B.useEffect(()=>(Dr.current=!1,()=>{Dr.current=!0,Ut.Z.cancel(ir.current),ir.current=null}),[]);function sn(Br){Dr.current||(ir.current===null&&(Nr.current=[],ir.current=(0,Ut.Z)(()=>{ir.current=null,cr(pn=>{let on=pn;return Nr.current.forEach(Mn=>{on=Mn(on)}),on})})),Nr.current.push(Br))}return[rr,sn]}function at(){const{itemRef:mt}=B.useContext(o.q3),rr=B.useRef({});function cr(ir,Nr){const Dr=Nr&&typeof Nr=="object"&&(0,Ie.C4)(Nr),sn=ir.join("_");return(rr.current.name!==sn||rr.current.originRef!==Dr)&&(rr.current.name=sn,rr.current.originRef=Dr,rr.current.ref=(0,Ie.sQ)(mt(ir),Dr)),rr.current.ref}return cr}var yt=n(29194),pt=n(34280),dt=n(2738),er=n(65970),or=n(70425),hr=n(5472);const Er=mt=>{const{formItemCls:rr}=mt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${rr}-control`]:{display:"flex"}}}};var qr=(0,_.bk)(["Form","item-item"],(mt,rr)=>{let{rootPrefixCls:cr}=rr;const ir=se(mt,cr);return[Er(ir)]}),Pr=function(mt,rr){var cr={};for(var ir in mt)Object.prototype.hasOwnProperty.call(mt,ir)&&rr.indexOf(ir)<0&&(cr[ir]=mt[ir]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,ir=Object.getOwnPropertySymbols(mt);Nr<ir.length;Nr++)rr.indexOf(ir[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,ir[Nr])&&(cr[ir[Nr]]=mt[ir[Nr]]);return cr};const w=24;var wt=mt=>{const{prefixCls:rr,status:cr,labelCol:ir,wrapperCol:Nr,children:Dr,errors:sn,warnings:Br,_internalItemRender:pn,extra:on,help:Mn,fieldId:jn,marginBottom:xn,onErrorVisibleChanged:zn,label:ua}=mt,nn=`${rr}-item`,$n=B.useContext(o.q3),kn=B.useMemo(()=>{let ro=Object.assign({},Nr||$n.wrapperCol||{});return ua===null&&!ir&&!Nr&&$n.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(f=>{const s=f?[f]:[],p=(0,or.U2)($n.labelCol,s),b=typeof p=="object"?p:{},j=(0,or.U2)(ro,s),d=typeof j=="object"?j:{};"span"in b&&!("offset"in d)&&b.span<w&&(ro=(0,or.t8)(ro,[].concat(s,["offset"]),b.span))}),ro},[Nr,$n]),Ea=q()(`${nn}-control`,kn.className),Rn=B.useMemo(()=>{const{labelCol:ro,wrapperCol:oo}=$n;return Pr($n,["labelCol","wrapperCol"])},[$n]),aa=B.useRef(null),[Kn,Zn]=B.useState(0);(0,pt.Z)(()=>{on&&aa.current?Zn(aa.current.clientHeight):Zn(0)},[on]);const Jn=B.createElement("div",{className:`${nn}-control-input`},B.createElement("div",{className:`${nn}-control-input-content`},Dr)),On=B.useMemo(()=>({prefixCls:rr,status:cr}),[rr,cr]),Bn=xn!==null||sn.length||Br.length?B.createElement(o.Rk.Provider,{value:On},B.createElement(de,{fieldId:jn,errors:sn,warnings:Br,help:Mn,helpStatus:cr,className:`${nn}-explain-connected`,onVisibleChanged:zn})):null,Yn={};jn&&(Yn.id=`${jn}_extra`);const Ca=on?B.createElement("div",Object.assign({},Yn,{className:`${nn}-extra`,ref:aa}),on):null,Ma=Bn||Ca?B.createElement("div",{className:`${nn}-additional`,style:xn?{minHeight:xn+Kn}:{}},Bn,Ca):null,ao=pn&&pn.mark==="pro_table_render"&&pn.render?pn.render(mt,{input:Jn,errorList:Bn,extra:Ca}):B.createElement(B.Fragment,null,Jn,Ma);return B.createElement(o.q3.Provider,{value:Rn},B.createElement(hr.Z,Object.assign({},kn,{className:Ea}),ao),B.createElement(qr,{prefixCls:rr}))},ae=n(61485),Te=n(9017),Fr=n(85981),Mr=n(25399),bn=function(mt,rr){var cr={};for(var ir in mt)Object.prototype.hasOwnProperty.call(mt,ir)&&rr.indexOf(ir)<0&&(cr[ir]=mt[ir]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,ir=Object.getOwnPropertySymbols(mt);Nr<ir.length;Nr++)rr.indexOf(ir[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,ir[Nr])&&(cr[ir[Nr]]=mt[ir[Nr]]);return cr};function Dn(mt){return mt?typeof mt=="object"&&!B.isValidElement(mt)?mt:{title:mt}:null}var xr=mt=>{let{prefixCls:rr,label:cr,htmlFor:ir,labelCol:Nr,labelAlign:Dr,colon:sn,required:Br,requiredMark:pn,tooltip:on,vertical:Mn}=mt;var jn;const[xn]=(0,Te.Z)("Form"),{labelAlign:zn,labelCol:ua,labelWrap:nn,colon:$n}=B.useContext(o.q3);if(!cr)return null;const kn=Nr||ua||{},Ea=Dr||zn,Rn=`${rr}-item-label`,aa=q()(Rn,Ea==="left"&&`${Rn}-left`,kn.className,{[`${Rn}-wrap`]:!!nn});let Kn=cr;const Zn=sn===!0||$n!==!1&&sn!==!1;Zn&&!Mn&&typeof cr=="string"&&cr.trim()&&(Kn=cr.replace(/[:|]\s*$/,""));const On=Dn(on);if(On){const{icon:ro=B.createElement(ae.Z,null)}=On,oo=bn(On,["icon"]),f=B.createElement(Mr.Z,Object.assign({},oo),B.cloneElement(ro,{className:`${rr}-item-tooltip`,title:"",onClick:s=>{s.preventDefault()},tabIndex:null}));Kn=B.createElement(B.Fragment,null,Kn,f)}const Bn=pn==="optional",Yn=typeof pn=="function",Ca=pn===!1;Yn?Kn=pn(Kn,{required:!!Br}):Bn&&!Br&&(Kn=B.createElement(B.Fragment,null,Kn,B.createElement("span",{className:`${rr}-item-optional`,title:""},(xn==null?void 0:xn.optional)||((jn=Fr.Z.Form)===null||jn===void 0?void 0:jn.optional))));let Ma;Ca?Ma="hidden":(Bn||Yn)&&(Ma="optional");const ao=q()({[`${rr}-item-required`]:Br,[`${rr}-item-required-mark-${Ma}`]:Ma,[`${rr}-item-no-colon`]:!Zn});return B.createElement(hr.Z,Object.assign({},kn,{className:aa}),B.createElement("label",{htmlFor:ir,className:ao,title:typeof cr=="string"?cr:""},Kn))},sr=n(29679),C=n(19248),v=n(96512),Vt=n(58617);const $={success:sr.Z,warning:v.Z,error:C.Z,validating:Vt.Z};function Oe(mt){let{children:rr,errors:cr,warnings:ir,hasFeedback:Nr,validateStatus:Dr,prefixCls:sn,meta:Br,noStyle:pn}=mt;const on=`${sn}-item`,{feedbackIcons:Mn}=B.useContext(o.q3),jn=he(cr,ir,Br,null,!!Nr,Dr),{isFormItemInput:xn,status:zn,hasFeedback:ua,feedbackIcon:nn}=B.useContext(o.aM),$n=B.useMemo(()=>{var kn;let Ea;if(Nr){const aa=Nr!==!0&&Nr.icons||Mn,Kn=jn&&((kn=aa==null?void 0:aa({status:jn,errors:cr,warnings:ir}))===null||kn===void 0?void 0:kn[jn]),Zn=jn&&$[jn];Ea=Kn!==!1&&Zn?B.createElement("span",{className:q()(`${on}-feedback-icon`,`${on}-feedback-icon-${jn}`)},Kn||B.createElement(Zn,null)):null}const Rn={status:jn||"",errors:cr,warnings:ir,hasFeedback:!!Nr,feedbackIcon:Ea,isFormItemInput:!0};return pn&&(Rn.status=(jn!=null?jn:zn)||"",Rn.isFormItemInput=xn,Rn.hasFeedback=!!(Nr!=null?Nr:ua),Rn.feedbackIcon=Nr!==void 0?Rn.feedbackIcon:nn),Rn},[jn,Nr,pn,xn,zn]);return B.createElement(o.aM.Provider,{value:$n},rr)}var ln=function(mt,rr){var cr={};for(var ir in mt)Object.prototype.hasOwnProperty.call(mt,ir)&&rr.indexOf(ir)<0&&(cr[ir]=mt[ir]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,ir=Object.getOwnPropertySymbols(mt);Nr<ir.length;Nr++)rr.indexOf(ir[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,ir[Nr])&&(cr[ir[Nr]]=mt[ir[Nr]]);return cr};function Wr(mt){const{prefixCls:rr,className:cr,rootClassName:ir,style:Nr,help:Dr,errors:sn,warnings:Br,validateStatus:pn,meta:on,hasFeedback:Mn,hidden:jn,children:xn,fieldId:zn,required:ua,isRequired:nn,onSubItemMetaChange:$n,layout:kn}=mt,Ea=ln(mt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Rn=`${rr}-item`,{requiredMark:aa,vertical:Kn}=B.useContext(o.q3),Zn=Kn||kn==="vertical",Jn=B.useRef(null),On=Z(sn),Bn=Z(Br),Yn=Dr!=null,Ca=!!(Yn||sn.length||Br.length),Ma=!!Jn.current&&(0,yt.Z)(Jn.current),[ao,ro]=B.useState(null);(0,pt.Z)(()=>{if(Ca&&Jn.current){const b=getComputedStyle(Jn.current);ro(parseInt(b.marginBottom,10))}},[Ca,Ma]);const oo=b=>{b||ro(null)},s=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const j=b?On:on.errors,d=b?Bn:on.warnings;return he(j,d,on,"",!!Mn,pn)}(),p=q()(Rn,cr,ir,{[`${Rn}-with-help`]:Yn||On.length||Bn.length,[`${Rn}-has-feedback`]:s&&Mn,[`${Rn}-has-success`]:s==="success",[`${Rn}-has-warning`]:s==="warning",[`${Rn}-has-error`]:s==="error",[`${Rn}-is-validating`]:s==="validating",[`${Rn}-hidden`]:jn,[`${Rn}-${kn}`]:kn});return B.createElement("div",{className:p,style:Nr,ref:Jn},B.createElement(er.Z,Object.assign({className:`${Rn}-row`},(0,dt.Z)(Ea,["_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"])),B.createElement(xr,Object.assign({htmlFor:zn},mt,{requiredMark:aa,required:ua!=null?ua:nn,prefixCls:rr,vertical:Zn})),B.createElement(wt,Object.assign({},mt,on,{errors:On,warnings:Bn,prefixCls:rr,status:s,help:Dr,marginBottom:ao,onErrorVisibleChanged:oo}),B.createElement(o.qI.Provider,{value:$n},B.createElement(Oe,{prefixCls:rr,meta:on,errors:on.errors,warnings:on.warnings,hasFeedback:Mn,validateStatus:s},xn)))),!!ao&&B.createElement("div",{className:`${Rn}-margin-offset`,style:{marginBottom:-ao}}))}const Ht="__SPLIT__",Gt=null;function br(mt,rr){const cr=Object.keys(mt),ir=Object.keys(rr);return cr.length===ir.length&&cr.every(Nr=>{const Dr=mt[Nr],sn=rr[Nr];return Dr===sn||typeof Dr=="function"||typeof sn=="function"})}const Kr=B.memo(mt=>{let{children:rr}=mt;return rr},(mt,rr)=>br(mt.control,rr.control)&&mt.update===rr.update&&mt.childProps.length===rr.childProps.length&&mt.childProps.every((cr,ir)=>cr===rr.childProps[ir]));function an(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function An(mt){const{name:rr,noStyle:cr,className:ir,dependencies:Nr,prefixCls:Dr,shouldUpdate:sn,rules:Br,children:pn,required:on,label:Mn,messageVariables:jn,trigger:xn="onChange",validateTrigger:zn,hidden:ua,help:nn,layout:$n}=mt,{getPrefixCls:kn}=B.useContext(y.E_),{name:Ea}=B.useContext(o.q3),Rn=xt(pn),aa=typeof Rn=="function",Kn=B.useContext(o.qI),{validateTrigger:Zn}=B.useContext(ce.FieldContext),Jn=zn!==void 0?zn:Zn,On=rr!=null,Bn=kn("form",Dr),Yn=(0,x.Z)(Bn),[Ca,Ma,ao]=Se(Bn,Yn),ro=(0,Be.ln)("Form.Item"),oo=B.useContext(ce.ListContext),f=B.useRef(null),[s,p]=jt({}),[b,j]=(0,me.Z)(()=>an()),d=It=>{const ve=oo==null?void 0:oo.getKey(It.name);if(j(It.destroy?an():It,!0),cr&&nn!==!1&&Kn){let rt=It.name;if(It.destroy)rt=f.current||rt;else if(ve!==void 0){const[gt,Kt]=ve;rt=[gt].concat((0,Xe.Z)(Kt)),f.current=rt}Kn(It,rt)}},ne=(It,ve)=>{p(rt=>{const gt=Object.assign({},rt),ct=[].concat((0,Xe.Z)(It.name.slice(0,-1)),(0,Xe.Z)(ve)).join(Ht);return It.destroy?delete gt[ct]:gt[ct]=It,gt})},[V,Q]=B.useMemo(()=>{const It=(0,Xe.Z)(b.errors),ve=(0,Xe.Z)(b.warnings);return Object.values(s).forEach(rt=>{It.push.apply(It,(0,Xe.Z)(rt.errors||[])),ve.push.apply(ve,(0,Xe.Z)(rt.warnings||[]))}),[It,ve]},[s,b.errors,b.warnings]),Ae=at();function it(It,ve,rt){return cr&&!ua?B.createElement(Oe,{prefixCls:Bn,hasFeedback:mt.hasFeedback,validateStatus:mt.validateStatus,meta:b,errors:V,warnings:Q,noStyle:!0},It):B.createElement(Wr,Object.assign({key:"row"},mt,{className:q()(ir,ao,Yn,Ma),prefixCls:Bn,fieldId:ve,isRequired:rt,errors:V,warnings:Q,meta:b,onSubItemMetaChange:ne,layout:$n}),It)}if(!On&&!aa&&!Nr)return Ca(it(Rn));let Pt={};return typeof Mn=="string"?Pt.label=Mn:rr&&(Pt.label=String(rr)),jn&&(Pt=Object.assign(Object.assign({},Pt),jn)),Ca(B.createElement(ce.Field,Object.assign({},mt,{messageVariables:Pt,trigger:xn,validateTrigger:Jn,onMetaChange:d}),(It,ve,rt)=>{const gt=ot(rr).length&&ve?ve.name:[],Kt=ht(gt,Ea),ct=on!==void 0?on:!!(Br!=null&&Br.some(Qt=>{if(Qt&&typeof Qt=="object"&&Qt.required&&!Qt.warningOnly)return!0;if(typeof Qt=="function"){const tt=Qt(rt);return(tt==null?void 0:tt.required)&&!(tt!=null&&tt.warningOnly)}return!1})),ur=Object.assign({},It);let Cr=null;if(Array.isArray(Rn)&&On)Cr=Rn;else if(!(aa&&(!(sn||Nr)||On))){if(!(Nr&&!aa&&!On))if(B.isValidElement(Rn)){const Qt=Object.assign(Object.assign({},Rn.props),ur);if(Qt.id||(Qt.id=Kt),nn||V.length>0||Q.length>0||mt.extra){const kt=[];(nn||V.length>0)&&kt.push(`${Kt}_help`),mt.extra&&kt.push(`${Kt}_extra`),Qt["aria-describedby"]=kt.join(" ")}V.length>0&&(Qt["aria-invalid"]="true"),ct&&(Qt["aria-required"]="true"),(0,Ie.Yr)(Rn)&&(Qt.ref=Ae(gt,Rn)),new Set([].concat((0,Xe.Z)(ot(xn)),(0,Xe.Z)(ot(Jn)))).forEach(kt=>{Qt[kt]=function(){for(var Ft,Ot,Jt,Fe,Me,lt=arguments.length,Et=new Array(lt),fr=0;fr<lt;fr++)Et[fr]=arguments[fr];(Jt=ur[kt])===null||Jt===void 0||(Ft=Jt).call.apply(Ft,[ur].concat(Et)),(Me=(Fe=Rn.props)[kt])===null||Me===void 0||(Ot=Me).call.apply(Ot,[Fe].concat(Et))}});const we=[Qt["aria-required"],Qt["aria-invalid"],Qt["aria-describedby"]];Cr=B.createElement(Kr,{control:ur,update:Rn,childProps:we},(0,ye.Tm)(Rn,Qt))}else aa&&(sn||Nr)&&!On?Cr=Rn(rt):Cr=Rn}return it(Cr,Kt,ct)}))}const Ct=An;Ct.useStatus=Xt;var Lt=Ct,Ue=function(mt,rr){var cr={};for(var ir in mt)Object.prototype.hasOwnProperty.call(mt,ir)&&rr.indexOf(ir)<0&&(cr[ir]=mt[ir]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,ir=Object.getOwnPropertySymbols(mt);Nr<ir.length;Nr++)rr.indexOf(ir[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,ir[Nr])&&(cr[ir[Nr]]=mt[ir[Nr]]);return cr},$r=mt=>{var{prefixCls:rr,children:cr}=mt,ir=Ue(mt,["prefixCls","children"]);const{getPrefixCls:Nr}=B.useContext(y.E_),Dr=Nr("form",rr),sn=B.useMemo(()=>({prefixCls:Dr,status:"error"}),[Dr]);return B.createElement(ce.List,Object.assign({},ir),(Br,pn,on)=>B.createElement(o.Rk.Provider,{value:sn},cr(Br.map(Mn=>Object.assign(Object.assign({},Mn),{fieldKey:Mn.key})),pn,{errors:on.errors,warnings:on.warnings})))};function Gr(){const{form:mt}=B.useContext(o.q3);return mt}const Cn=fe;Cn.Item=Lt,Cn.List=$r,Cn.ErrorList=de,Cn.useForm=Re,Cn.useFormInstance=Gr,Cn.useWatch=ce.useWatch,Cn.Provider=o.RV,Cn.create=()=>{};var na=Cn},90083:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ut}});var o=n(59301),Xe=n(15277),B=n(92310),De=n.n(B),q=n(91574),ee=n(75030),Y=n(86641),x=n(48755),Z=n(83397),c=n(9017),L=n(99267),D=n(33853),U=n(38819),F=n(54476),_={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"},I=_,z=n(7657),O=function(at,yt){return o.createElement(z.Z,(0,F.Z)({},at,{ref:yt,icon:I}))},A=o.forwardRef(O),oe=A,J={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"},te=J,Ee=function(at,yt){return o.createElement(z.Z,(0,F.Z)({},at,{ref:yt,icon:te}))},Pe=o.forwardRef(Ee),et=Pe,ke={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"},xe=ke,Ce=function(at,yt){return o.createElement(z.Z,(0,F.Z)({},at,{ref:yt,icon:xe}))},se=o.forwardRef(Ce),Se=se,T={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"},P=T,nt=function(at,yt){return o.createElement(z.Z,(0,F.Z)({},at,{ref:yt,icon:P}))},de=o.forwardRef(nt),ce=de,y={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"},K=y,R=function(at,yt){return o.createElement(z.Z,(0,F.Z)({},at,{ref:yt,icon:K}))},S=o.forwardRef(R),X=S,He=n(36237),pe=n(17835),Ze=n(64427),ot=n(63356),ht=n(34925),he=n(99495),Le=n(16931),St=n(51636);const We=jt=>({position:jt||"absolute",inset:0}),Re=jt=>{const{iconCls:at,motionDurationSlow:yt,paddingXXS:pt,marginXXS:dt,prefixCls:er,colorTextLightSolid:or}=jt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:or,background:new pe.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${yt}`,[`.${er}-mask-info`]:Object.assign(Object.assign({},ot.vS),{padding:`0 ${(0,He.unit)(pt)}`,[at]:{marginInlineEnd:dt,svg:{verticalAlign:"baseline"}}})}},M=jt=>{const{previewCls:at,modalMaskBg:yt,paddingSM:pt,marginXL:dt,margin:er,paddingLG:or,previewOperationColorDisabled:hr,previewOperationHoverColor:Er,motionDurationSlow:qr,iconCls:Pr,colorTextLightSolid:w}=jt,H=new pe.FastColor(yt).setA(.1),wt=H.clone().setA(.2);return{[`${at}-footer`]:{position:"fixed",bottom:dt,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:jt.previewOperationColor,transform:"translateX(-50%)"},[`${at}-progress`]:{marginBottom:er},[`${at}-close`]:{position:"fixed",top:dt,right:{_skip_check_:!0,value:dt},display:"flex",color:w,backgroundColor:H.toRgbString(),borderRadius:"50%",padding:pt,outline:0,border:0,cursor:"pointer",transition:`all ${qr}`,"&:hover":{backgroundColor:wt.toRgbString()},[`& > ${Pr}`]:{fontSize:jt.previewOperationSize}},[`${at}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,He.unit)(or)}`,backgroundColor:H.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:pt,padding:pt,cursor:"pointer",transition:`all ${qr}`,userSelect:"none",[`&:not(${at}-operations-operation-disabled):hover > ${Pr}`]:{color:Er},"&-disabled":{color:hr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Pr}`]:{fontSize:jt.previewOperationSize}}}}},_e=jt=>{const{modalMaskBg:at,iconCls:yt,previewOperationColorDisabled:pt,previewCls:dt,zIndexPopup:er,motionDurationSlow:or}=jt,hr=new pe.FastColor(at).setA(.1),Er=hr.clone().setA(.2);return{[`${dt}-switch-left, ${dt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:jt.calc(er).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:jt.imagePreviewSwitchSize,height:jt.imagePreviewSwitchSize,marginTop:jt.calc(jt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:jt.previewOperationColor,background:hr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${or}`,userSelect:"none","&:hover":{background:Er.toRgbString()},"&-disabled":{"&, &:hover":{color:pt,background:"transparent",cursor:"not-allowed",[`> ${yt}`]:{cursor:"not-allowed"}}},[`> ${yt}`]:{fontSize:jt.previewOperationSize}},[`${dt}-switch-left`]:{insetInlineStart:jt.marginSM},[`${dt}-switch-right`]:{insetInlineEnd:jt.marginSM}}},ge=jt=>{const{motionEaseOut:at,previewCls:yt,motionDurationSlow:pt,componentCls:dt}=jt;return[{[`${dt}-preview-root`]:{[yt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${yt}-body`]:Object.assign(Object.assign({},We()),{overflow:"hidden"}),[`${yt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${pt} ${at} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},We()),{transition:`transform ${pt} ${at} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${yt}-moving`]:{[`${yt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${dt}-preview-root`]:{[`${yt}-wrap`]:{zIndex:jt.zIndexPopup}}},{[`${dt}-preview-operations-wrapper`]:{position:"fixed",zIndex:jt.calc(jt.zIndexPopup).add(1).equal()},"&":[M(jt),_e(jt)]}]},ue=jt=>{const{componentCls:at}=jt;return{[at]:{position:"relative",display:"inline-block",[`${at}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${at}-img-placeholder`]:{backgroundColor:jt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${at}-mask`]:Object.assign({},Re(jt)),[`${at}-mask:hover`]:{opacity:1},[`${at}-placeholder`]:Object.assign({},We())}}},fe=jt=>{const{previewCls:at}=jt;return{[`${at}-root`]:(0,ht._y)(jt,"zoom"),"&":(0,he.J$)(jt,!0)}},me=jt=>({zIndexPopup:jt.zIndexPopupBase+80,previewOperationColor:new pe.FastColor(jt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new pe.FastColor(jt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new pe.FastColor(jt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:jt.fontSizeIcon*1.5});var Ie=(0,Le.I$)("Image",jt=>{const at=`${jt.componentCls}-preview`,yt=(0,St.mergeToken)(jt,{previewCls:at,modalMaskBg:new pe.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:jt.controlHeightLG});return[ue(yt),ge(yt),(0,Ze.QA)((0,St.mergeToken)(yt,{componentCls:at})),fe(yt)]},me),ye=function(jt,at){var yt={};for(var pt in jt)Object.prototype.hasOwnProperty.call(jt,pt)&&at.indexOf(pt)<0&&(yt[pt]=jt[pt]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,pt=Object.getOwnPropertySymbols(jt);dt<pt.length;dt++)at.indexOf(pt[dt])<0&&Object.prototype.propertyIsEnumerable.call(jt,pt[dt])&&(yt[pt[dt]]=jt[pt[dt]]);return yt};const Be={rotateLeft:o.createElement(oe,null),rotateRight:o.createElement(et,null),zoomIn:o.createElement(ce,null),zoomOut:o.createElement(X,null),close:o.createElement(L.Z,null),left:o.createElement(D.Z,null),right:o.createElement(U.Z,null),flipX:o.createElement(Se,null),flipY:o.createElement(Se,{rotate:90})};var xt=jt=>{var{previewPrefixCls:at,preview:yt}=jt,pt=ye(jt,["previewPrefixCls","preview"]);const{getPrefixCls:dt}=o.useContext(x.E_),er=dt("image",at),or=`${er}-preview`,hr=dt(),Er=(0,Z.Z)(er),[qr,Pr,w]=Ie(er,Er),[H]=(0,ee.Cn)("ImagePreview",typeof yt=="object"?yt.zIndex:void 0),wt=o.useMemo(()=>{var ae;if(yt===!1)return yt;const Te=typeof yt=="object"?yt:{},Fr=De()(Pr,w,Er,(ae=Te.rootClassName)!==null&&ae!==void 0?ae:"");return Object.assign(Object.assign({},Te),{transitionName:(0,Y.m)(hr,"zoom",Te.transitionName),maskTransitionName:(0,Y.m)(hr,"fade",Te.maskTransitionName),rootClassName:Fr,zIndex:H})},[yt]);return qr(o.createElement(q.Z.PreviewGroup,Object.assign({preview:wt,previewPrefixCls:or,icons:Be},pt)))},$t=function(jt,at){var yt={};for(var pt in jt)Object.prototype.hasOwnProperty.call(jt,pt)&&at.indexOf(pt)<0&&(yt[pt]=jt[pt]);if(jt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var dt=0,pt=Object.getOwnPropertySymbols(jt);dt<pt.length;dt++)at.indexOf(pt[dt])<0&&Object.prototype.propertyIsEnumerable.call(jt,pt[dt])&&(yt[pt[dt]]=jt[pt[dt]]);return yt};const Xt=jt=>{const{prefixCls:at,preview:yt,className:pt,rootClassName:dt,style:er}=jt,or=$t(jt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:hr,getPopupContainer:Er,className:qr,style:Pr,preview:w}=(0,x.dj)("image"),[H]=(0,c.Z)("Image"),wt=hr("image",at),ae=hr(),Te=(0,Z.Z)(wt),[Fr,Mr,bn]=Ie(wt,Te),Dn=De()(dt,Mr,bn,Te),Rt=De()(pt,Mr,qr),[xr]=(0,ee.Cn)("ImagePreview",typeof yt=="object"?yt.zIndex:void 0),sr=o.useMemo(()=>{if(yt===!1)return yt;const v=typeof yt=="object"?yt:{},{getContainer:Vt,closeIcon:$,rootClassName:Oe}=v,ln=$t(v,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${wt}-mask-info`},o.createElement(Xe.Z,null),H==null?void 0:H.preview),icons:Be},ln),{rootClassName:De()(Dn,Oe),getContainer:Vt!=null?Vt:Er,transitionName:(0,Y.m)(ae,"zoom",v.transitionName),maskTransitionName:(0,Y.m)(ae,"fade",v.maskTransitionName),zIndex:xr,closeIcon:$!=null?$:w==null?void 0:w.closeIcon})},[yt,H,w==null?void 0:w.closeIcon]),C=Object.assign(Object.assign({},Pr),er);return Fr(o.createElement(q.Z,Object.assign({prefixCls:wt,preview:sr,rootClassName:Dn,className:Rt,style:C},or)))};Xt.PreviewGroup=xt;var Ut=Xt},71051:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return ce}});var o=n(59301),Xe=n(84105),B=n(87395),De=n(92310),q=n.n(De),ee=n(20922),Y=n(62487),x=n(82855),Z=n(48755),c=n(60840),L=n(2171),D=n(83397),U=n(31756),F=n(56553),_=n(24971),I=n(70045),z=n(36237),O=n(53075),A=n(64910),oe=n(39082),J=n(63356),te=n(56119),Ee=n(16931),Pe=n(51636),et=n(17835);const ke=y=>{var K;const R=(K=y.handleVisible)!==null&&K!==void 0?K:"auto",S=y.controlHeightSM-y.lineWidth*2;return Object.assign(Object.assign({},(0,A.T)(y)),{controlWidth:90,handleWidth:S,handleFontSize:y.fontSize/2,handleVisible:R,handleActiveBg:y.colorFillAlter,handleBg:y.colorBgContainer,filledHandleBg:new et.FastColor(y.colorFillSecondary).onBackground(y.colorBgContainer).toHexString(),handleHoverColor:y.colorPrimary,handleBorderColor:y.colorBorder,handleOpacity:R===!0?1:0,handleVisibleWidth:R===!0?S:0})},xe=(y,K)=>{let{componentCls:R,borderRadiusSM:S,borderRadiusLG:X}=y;const He=K==="lg"?X:S;return{[`&-${K}`]:{[`${R}-handler-wrap`]:{borderStartEndRadius:He,borderEndEndRadius:He},[`${R}-handler-up`]:{borderStartEndRadius:He},[`${R}-handler-down`]:{borderEndEndRadius:He}}}},Ce=y=>{const{componentCls:K,lineWidth:R,lineType:S,borderRadius:X,inputFontSizeSM:He,inputFontSizeLG:pe,controlHeightLG:Ze,controlHeightSM:ot,colorError:ht,paddingInlineSM:he,paddingBlockSM:Le,paddingBlockLG:St,paddingInlineLG:We,colorTextDescription:Re,motionDurationMid:M,handleHoverColor:_e,handleOpacity:ge,paddingInline:ue,paddingBlock:fe,handleBg:me,handleActiveBg:Ie,colorTextDisabled:ye,borderRadiusSM:Be,borderRadiusLG:Ye,controlWidth:xt,handleBorderColor:$t,filledHandleBg:Xt,lineHeightLG:Ut,calc:jt}=y;return[{[K]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(y)),(0,O.ik)(y)),{display:"inline-block",width:xt,margin:0,padding:0,borderRadius:X}),(0,oe.qG)(y,{[`${K}-handler-wrap`]:{background:me,[`${K}-handler-down`]:{borderBlockStart:`${(0,z.unit)(R)} ${S} ${$t}`}}})),(0,oe.H8)(y,{[`${K}-handler-wrap`]:{background:Xt,[`${K}-handler-down`]:{borderBlockStart:`${(0,z.unit)(R)} ${S} ${$t}`}},"&:focus-within":{[`${K}-handler-wrap`]:{background:me}}})),(0,oe.vc)(y,{[`${K}-handler-wrap`]:{background:me,[`${K}-handler-down`]:{borderBlockStart:`${(0,z.unit)(R)} ${S} ${$t}`}}})),(0,oe.Mu)(y)),{"&-rtl":{direction:"rtl",[`${K}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:pe,lineHeight:Ut,borderRadius:Ye,[`input${K}-input`]:{height:jt(Ze).sub(jt(R).mul(2)).equal(),padding:`${(0,z.unit)(St)} ${(0,z.unit)(We)}`}},"&-sm":{padding:0,fontSize:He,borderRadius:Be,[`input${K}-input`]:{height:jt(ot).sub(jt(R).mul(2)).equal(),padding:`${(0,z.unit)(Le)} ${(0,z.unit)(he)}`}},"&-out-of-range":{[`${K}-input-wrap`]:{input:{color:ht}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,J.Wf)(y)),(0,O.s7)(y)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${K}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${K}-group-addon`]:{borderRadius:Ye,fontSize:y.fontSizeLG}},"&-sm":{[`${K}-group-addon`]:{borderRadius:Be}}},(0,oe.ir)(y)),(0,oe.S5)(y)),{[`&:not(${K}-compact-first-item):not(${K}-compact-last-item)${K}-compact-item`]:{[`${K}, ${K}-group-addon`]:{borderRadius:0}},[`&:not(${K}-compact-last-item)${K}-compact-first-item`]:{[`${K}, ${K}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${K}-compact-first-item)${K}-compact-last-item`]:{[`${K}, ${K}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${K}-input`]:{cursor:"not-allowed"},[K]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,J.Wf)(y)),{width:"100%",padding:`${(0,z.unit)(fe)} ${(0,z.unit)(ue)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:X,outline:0,transition:`all ${M} linear`,appearance:"textfield",fontSize:"inherit"}),(0,O.nz)(y.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${K}-handler-wrap, &-focused ${K}-handler-wrap`]:{width:y.handleWidth,opacity:1}})},{[K]:Object.assign(Object.assign(Object.assign({[`${K}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:y.handleVisibleWidth,opacity:ge,height:"100%",borderStartStartRadius:0,borderStartEndRadius:X,borderEndEndRadius:X,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${M}`,overflow:"hidden",[`${K}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
${K}-handler-up-inner,
${K}-handler-down-inner
`]:{marginInlineEnd:0,fontSize:y.handleFontSize}}},[`${K}-handler`]:{height:"50%",overflow:"hidden",color:Re,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,z.unit)(R)} ${S} ${$t}`,transition:`all ${M} linear`,"&:active":{background:Ie},"&:hover":{height:"60%",[`
${K}-handler-up-inner,
${K}-handler-down-inner
`]:{color:_e}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,J.Ro)()),{color:Re,transition:`all ${M} linear`,userSelect:"none"})},[`${K}-handler-up`]:{borderStartEndRadius:X},[`${K}-handler-down`]:{borderEndEndRadius:X}},xe(y,"lg")),xe(y,"sm")),{"&-disabled, &-readonly":{[`${K}-handler-wrap`]:{display:"none"},[`${K}-input`]:{color:"inherit"}},[`
${K}-handler-up-disabled,
${K}-handler-down-disabled
`]:{cursor:"not-allowed"},[`
${K}-handler-up-disabled:hover &-handler-up-inner,
${K}-handler-down-disabled:hover &-handler-down-inner
`]:{color:ye}})}]},se=y=>{const{componentCls:K,paddingBlock:R,paddingInline:S,inputAffixPadding:X,controlWidth:He,borderRadiusLG:pe,borderRadiusSM:Ze,paddingInlineLG:ot,paddingInlineSM:ht,paddingBlockLG:he,paddingBlockSM:Le,motionDurationMid:St}=y;return{[`${K}-affix-wrapper`]:Object.assign(Object.assign({[`input${K}-input`]:{padding:`${(0,z.unit)(R)} 0`}},(0,O.ik)(y)),{position:"relative",display:"inline-flex",alignItems:"center",width:He,padding:0,paddingInlineStart:S,"&-lg":{borderRadius:pe,paddingInlineStart:ot,[`input${K}-input`]:{padding:`${(0,z.unit)(he)} 0`}},"&-sm":{borderRadius:Ze,paddingInlineStart:ht,[`input${K}-input`]:{padding:`${(0,z.unit)(Le)} 0`}},[`&:not(${K}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${K}-disabled`]:{background:"transparent"},[`> div${K}`]:{width:"100%",border:"none",outline:"none",[`&${K}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${K}-handler-wrap`]:{zIndex:2},[K]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:X},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:S,marginInlineStart:X,transition:`margin ${St}`}},[`&:hover ${K}-handler-wrap, &-focused ${K}-handler-wrap`]:{width:y.handleWidth,opacity:1},[`&:not(${K}-affix-wrapper-without-controls):hover ${K}-suffix`]:{marginInlineEnd:y.calc(y.handleWidth).add(S).equal()}})}};var Se=(0,Ee.I$)("InputNumber",y=>{const K=(0,Pe.mergeToken)(y,(0,A.e)(y));return[Ce(K),se(K),(0,te.c)(K)]},ke,{unitless:{handleOpacity:!0}}),T=function(y,K){var R={};for(var S in y)Object.prototype.hasOwnProperty.call(y,S)&&K.indexOf(S)<0&&(R[S]=y[S]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(y);X<S.length;X++)K.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(y,S[X])&&(R[S[X]]=y[S[X]]);return R};const P=o.forwardRef((y,K)=>{const{getPrefixCls:R,direction:S}=o.useContext(Z.E_),X=o.useRef(null);o.useImperativeHandle(K,()=>X.current);const{className:He,rootClassName:pe,size:Ze,disabled:ot,prefixCls:ht,addonBefore:he,addonAfter:Le,prefix:St,suffix:We,bordered:Re,readOnly:M,status:_e,controls:ge,variant:ue}=y,fe=T(y,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),me=R("input-number",ht),Ie=(0,D.Z)(me),[ye,Be,Ye]=Se(me,Ie),{compactSize:xt,compactItemClassnames:$t}=(0,I.ri)(me,S);let Xt=o.createElement(B.Z,{className:`${me}-handler-up-inner`}),Ut=o.createElement(Xe.Z,{className:`${me}-handler-down-inner`});const jt=typeof ge=="boolean"?ge:void 0;typeof ge=="object"&&(Xt=typeof ge.upIcon=="undefined"?Xt:o.createElement("span",{className:`${me}-handler-up-inner`},ge.upIcon),Ut=typeof ge.downIcon=="undefined"?Ut:o.createElement("span",{className:`${me}-handler-down-inner`},ge.downIcon));const{hasFeedback:at,status:yt,isFormItemInput:pt,feedbackIcon:dt}=o.useContext(F.aM),er=(0,x.F)(yt,_e),or=(0,U.Z)(Te=>{var Fr;return(Fr=Ze!=null?Ze:xt)!==null&&Fr!==void 0?Fr:Te}),hr=o.useContext(L.Z),Er=ot!=null?ot:hr,[qr,Pr]=(0,_.Z)("inputNumber",ue,Re),w=at&&o.createElement(o.Fragment,null,dt),H=q()({[`${me}-lg`]:or==="large",[`${me}-sm`]:or==="small",[`${me}-rtl`]:S==="rtl",[`${me}-in-form-item`]:pt},Be),wt=`${me}-group`,ae=o.createElement(ee.Z,Object.assign({ref:X,disabled:Er,className:q()(Ye,Ie,He,pe,$t),upHandler:Xt,downHandler:Ut,prefixCls:me,readOnly:M,controls:jt,prefix:St,suffix:w||We,addonBefore:he&&o.createElement(Y.Z,{form:!0,space:!0},he),addonAfter:Le&&o.createElement(Y.Z,{form:!0,space:!0},Le),classNames:{input:H,variant:q()({[`${me}-${qr}`]:Pr},(0,x.Z)(me,er,at)),affixWrapper:q()({[`${me}-affix-wrapper-sm`]:or==="small",[`${me}-affix-wrapper-lg`]:or==="large",[`${me}-affix-wrapper-rtl`]:S==="rtl",[`${me}-affix-wrapper-without-controls`]:ge===!1||Er},Be),wrapper:q()({[`${wt}-rtl`]:S==="rtl"},Be),groupWrapper:q()({[`${me}-group-wrapper-sm`]:or==="small",[`${me}-group-wrapper-lg`]:or==="large",[`${me}-group-wrapper-rtl`]:S==="rtl",[`${me}-group-wrapper-${qr}`]:Pr},(0,x.Z)(`${me}-group-wrapper`,er,at),Be)}},fe));return ye(ae)}),nt=P,de=y=>o.createElement(c.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},o.createElement(P,Object.assign({},y)));nt._InternalPanelDoNotUseOrYouWillBeFired=de;var ce=nt},49397:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return J}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(36901),q=n(8654),ee=n(62487),Y=n(86013),x=n(82855),Z=n(48755),c=n(2171),L=n(83397),D=n(31756),U=n(56553),F=n(24971),_=n(70045),I=n(23826),z=n(53075);function O(te){return!!(te.prefix||te.suffix||te.allowClear||te.showCount)}var A=function(te,Ee){var Pe={};for(var et in te)Object.prototype.hasOwnProperty.call(te,et)&&Ee.indexOf(et)<0&&(Pe[et]=te[et]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ke=0,et=Object.getOwnPropertySymbols(te);ke<et.length;ke++)Ee.indexOf(et[ke])<0&&Object.prototype.propertyIsEnumerable.call(te,et[ke])&&(Pe[et[ke]]=te[et[ke]]);return Pe},J=(0,o.forwardRef)((te,Ee)=>{const{prefixCls:Pe,bordered:et=!0,status:ke,size:xe,disabled:Ce,onBlur:se,onFocus:Se,suffix:T,allowClear:P,addonAfter:nt,addonBefore:de,className:ce,style:y,styles:K,rootClassName:R,onChange:S,classNames:X,variant:He}=te,pe=A(te,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ze,direction:ot,allowClear:ht,autoComplete:he,className:Le,style:St,classNames:We,styles:Re}=(0,Z.dj)("input"),M=Ze("input",Pe),_e=(0,o.useRef)(null),ge=(0,L.Z)(M),[ue,fe,me]=(0,z.TI)(M,R),[Ie]=(0,z.ZP)(M,ge),{compactSize:ye,compactItemClassnames:Be}=(0,_.ri)(M,ot),Ye=(0,D.Z)(H=>{var wt;return(wt=xe!=null?xe:ye)!==null&&wt!==void 0?wt:H}),xt=o.useContext(c.Z),$t=Ce!=null?Ce:xt,{status:Xt,hasFeedback:Ut,feedbackIcon:jt}=(0,o.useContext)(U.aM),at=(0,x.F)(Xt,ke),yt=O(te)||!!Ut,pt=(0,o.useRef)(yt),dt=(0,I.Z)(_e,!0),er=H=>{dt(),se==null||se(H)},or=H=>{dt(),Se==null||Se(H)},hr=H=>{dt(),S==null||S(H)},Er=(Ut||T)&&o.createElement(o.Fragment,null,T,Ut&&jt),qr=(0,Y.Z)(P!=null?P:ht),[Pr,w]=(0,F.Z)("input",He,et);return ue(Ie(o.createElement(De.default,Object.assign({ref:(0,q.sQ)(Ee,_e),prefixCls:M,autoComplete:he},pe,{disabled:$t,onBlur:er,onFocus:or,style:Object.assign(Object.assign({},St),y),styles:Object.assign(Object.assign({},Re),K),suffix:Er,allowClear:qr,className:B()(ce,R,me,ge,Be,Le),onChange:hr,addonBefore:de&&o.createElement(ee.Z,{form:!0,space:!0},de),addonAfter:nt&&o.createElement(ee.Z,{form:!0,space:!0},nt),classNames:Object.assign(Object.assign(Object.assign({},X),We),{input:B()({[`${M}-sm`]:Ye==="small",[`${M}-lg`]:Ye==="large",[`${M}-rtl`]:ot==="rtl"},X==null?void 0:X.input,We.input,fe),variant:B()({[`${M}-${Pr}`]:w},(0,x.Z)(M,at)),affixWrapper:B()({[`${M}-affix-wrapper-sm`]:Ye==="small",[`${M}-affix-wrapper-lg`]:Ye==="large",[`${M}-affix-wrapper-rtl`]:ot==="rtl"},fe),wrapper:B()({[`${M}-group-rtl`]:ot==="rtl"},fe),groupWrapper:B()({[`${M}-group-wrapper-sm`]:Ye==="small",[`${M}-group-wrapper-lg`]:Ye==="large",[`${M}-group-wrapper-rtl`]:ot==="rtl",[`${M}-group-wrapper-${Pr}`]:w},(0,x.Z)(`${M}-group-wrapper`,at,Ut),fe)})}))))})},79809:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ee}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(22711),q=n(86013),ee=n(82855),Y=n(48755),x=n(2171),Z=n(83397),c=n(31756),L=n(56553),D=n(24971),U=n(70045),F=n(30292),_=n(53075),I=n(16931),z=n(51636),O=n(64910);const A=Pe=>{const{componentCls:et,paddingLG:ke}=Pe,xe=`${et}-textarea`;return{[`textarea${et}`]:{maxWidth:"100%",height:"auto",minHeight:Pe.controlHeight,lineHeight:Pe.lineHeight,verticalAlign:"bottom",transition:`all ${Pe.motionDurationSlow}`,resize:"vertical",[`&${et}-mouse-active`]:{transition:`all ${Pe.motionDurationSlow}, height 0s, width 0s`}},[`${et}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[xe]:{position:"relative","&-show-count":{[`> ${et}`]:{height:"100%"},[`${et}-data-count`]:{position:"absolute",bottom:Pe.calc(Pe.fontSize).mul(Pe.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Pe.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${et},
&-affix-wrapper${xe}-has-feedback ${et}
`]:{paddingInlineEnd:ke},[`&-affix-wrapper${et}-affix-wrapper`]:{padding:0,[`> textarea${et}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Pe.calc(Pe.controlHeight).sub(Pe.calc(Pe.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${et}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${et}-clear-icon`]:{position:"absolute",insetInlineEnd:Pe.paddingInline,insetBlockStart:Pe.paddingXS},[`${xe}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Pe.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${et}-affix-wrapper-sm`]:{[`${et}-suffix`]:{[`${et}-clear-icon`]:{insetInlineEnd:Pe.paddingInlineSM}}}}}};var oe=(0,I.I$)(["Input","TextArea"],Pe=>{const et=(0,z.mergeToken)(Pe,(0,O.e)(Pe));return[A(et)]},O.T,{resetFont:!1}),J=function(Pe,et){var ke={};for(var xe in Pe)Object.prototype.hasOwnProperty.call(Pe,xe)&&et.indexOf(xe)<0&&(ke[xe]=Pe[xe]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,xe=Object.getOwnPropertySymbols(Pe);Ce<xe.length;Ce++)et.indexOf(xe[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Pe,xe[Ce])&&(ke[xe[Ce]]=Pe[xe[Ce]]);return ke},Ee=(0,o.forwardRef)((Pe,et)=>{var ke;const{prefixCls:xe,bordered:Ce=!0,size:se,disabled:Se,status:T,allowClear:P,classNames:nt,rootClassName:de,className:ce,style:y,styles:K,variant:R,showCount:S,onMouseDown:X,onResize:He}=Pe,pe=J(Pe,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ze,direction:ot,allowClear:ht,autoComplete:he,className:Le,style:St,classNames:We,styles:Re}=(0,Y.dj)("textArea"),M=o.useContext(x.Z),_e=Se!=null?Se:M,{status:ge,hasFeedback:ue,feedbackIcon:fe}=o.useContext(L.aM),me=(0,ee.F)(ge,T),Ie=o.useRef(null);o.useImperativeHandle(et,()=>{var w;return{resizableTextArea:(w=Ie.current)===null||w===void 0?void 0:w.resizableTextArea,focus:H=>{var wt,ae;(0,F.nH)((ae=(wt=Ie.current)===null||wt===void 0?void 0:wt.resizableTextArea)===null||ae===void 0?void 0:ae.textArea,H)},blur:()=>{var H;return(H=Ie.current)===null||H===void 0?void 0:H.blur()}}});const ye=Ze("input",xe),Be=(0,Z.Z)(ye),[Ye,xt,$t]=(0,_.TI)(ye,de),[Xt]=oe(ye,Be),{compactSize:Ut,compactItemClassnames:jt}=(0,U.ri)(ye,ot),at=(0,c.Z)(w=>{var H;return(H=se!=null?se:Ut)!==null&&H!==void 0?H:w}),[yt,pt]=(0,D.Z)("textArea",R,Ce),dt=(0,q.Z)(P!=null?P:ht),[er,or]=o.useState(!1),[hr,Er]=o.useState(!1),qr=w=>{or(!0),X==null||X(w);const H=()=>{or(!1),document.removeEventListener("mouseup",H)};document.addEventListener("mouseup",H)},Pr=w=>{var H,wt;if(He==null||He(w),er&&typeof getComputedStyle=="function"){const ae=(wt=(H=Ie.current)===null||H===void 0?void 0:H.nativeElement)===null||wt===void 0?void 0:wt.querySelector("textarea");ae&&getComputedStyle(ae).resize==="both"&&Er(!0)}};return Ye(Xt(o.createElement(De.default,Object.assign({autoComplete:he},pe,{style:Object.assign(Object.assign({},St),y),styles:Object.assign(Object.assign({},Re),K),disabled:_e,allowClear:dt,className:B()($t,Be,ce,de,jt,Le,hr&&`${ye}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},nt),We),{textarea:B()({[`${ye}-sm`]:at==="small",[`${ye}-lg`]:at==="large"},xt,nt==null?void 0:nt.textarea,We.textarea,er&&`${ye}-mouse-active`),variant:B()({[`${ye}-${yt}`]:pt},(0,ee.Z)(ye,me)),affixWrapper:B()(`${ye}-textarea-affix-wrapper`,{[`${ye}-affix-wrapper-rtl`]:ot==="rtl",[`${ye}-affix-wrapper-sm`]:at==="small",[`${ye}-affix-wrapper-lg`]:at==="large",[`${ye}-textarea-show-count`]:S||((ke=Pe.count)===null||ke===void 0?void 0:ke.show)},xt)}),prefixCls:ye,suffix:ue&&o.createElement("span",{className:`${ye}-textarea-suffix`},fe),showCount:S,ref:Ie,onResize:Pr,onMouseDown:qr}))))})},23826:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return Xe}});var o=n(59301);function Xe(B,De){const q=(0,o.useRef)([]),ee=()=>{q.current.push(setTimeout(()=>{var Y,x,Z,c;!((Y=B.current)===null||Y===void 0)&&Y.input&&((x=B.current)===null||x===void 0?void 0:x.input.getAttribute("type"))==="password"&&(!((Z=B.current)===null||Z===void 0)&&Z.input.hasAttribute("value"))&&((c=B.current)===null||c===void 0||c.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(De&&ee(),()=>q.current.forEach(Y=>{Y&&clearTimeout(Y)})),[]),ee}},37568:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return We}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(48755),q=n(56553),ee=n(53075),x=Re=>{const{getPrefixCls:M,direction:_e}=(0,o.useContext)(De.E_),{prefixCls:ge,className:ue}=Re,fe=M("input-group",ge),me=M("input"),[Ie,ye,Be]=(0,ee.ZP)(me),Ye=B()(fe,Be,{[`${fe}-lg`]:Re.size==="large",[`${fe}-sm`]:Re.size==="small",[`${fe}-compact`]:Re.compact,[`${fe}-rtl`]:_e==="rtl"},ye,ue),xt=(0,o.useContext)(q.aM),$t=(0,o.useMemo)(()=>Object.assign(Object.assign({},xt),{isFormItemInput:!1}),[xt]);return Ie(o.createElement("span",{className:Ye,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},o.createElement(q.aM.Provider,{value:$t},Re.children)))},Z=n(49397),c=n(94480),L=n(6089),D=n(26112),U=n(82855),F=n(31756),_=n(16931),I=n(51636),z=n(64910);const O=Re=>{const{componentCls:M,paddingXS:_e}=Re;return{[M]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:_e,"&-rtl":{direction:"rtl"},[`${M}-input`]:{textAlign:"center",paddingInline:Re.paddingXXS},[`&${M}-sm ${M}-input`]:{paddingInline:Re.calc(Re.paddingXXS).div(2).equal()},[`&${M}-lg ${M}-input`]:{paddingInline:Re.paddingXS}}}};var A=(0,_.I$)(["Input","OTP"],Re=>{const M=(0,I.mergeToken)(Re,(0,z.e)(Re));return[O(M)]},z.T),oe=n(16089),J=function(Re,M){var _e={};for(var ge in Re)Object.prototype.hasOwnProperty.call(Re,ge)&&M.indexOf(ge)<0&&(_e[ge]=Re[ge]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ge=Object.getOwnPropertySymbols(Re);ue<ge.length;ue++)M.indexOf(ge[ue])<0&&Object.prototype.propertyIsEnumerable.call(Re,ge[ue])&&(_e[ge[ue]]=Re[ge[ue]]);return _e},Ee=o.forwardRef((Re,M)=>{const{value:_e,onChange:ge,onActiveChange:ue,index:fe,mask:me}=Re,Ie=J(Re,["value","onChange","onActiveChange","index","mask"]),ye=_e&&typeof me=="string"?me:_e,Be=Ut=>{ge(fe,Ut.target.value)},Ye=o.useRef(null);o.useImperativeHandle(M,()=>Ye.current);const xt=()=>{(0,oe.Z)(()=>{var Ut;const jt=(Ut=Ye.current)===null||Ut===void 0?void 0:Ut.input;document.activeElement===jt&&jt&&jt.select()})},$t=Ut=>{const{key:jt,ctrlKey:at,metaKey:yt}=Ut;jt==="ArrowLeft"?ue(fe-1):jt==="ArrowRight"?ue(fe+1):jt==="z"&&(at||yt)&&Ut.preventDefault(),xt()},Xt=Ut=>{Ut.key==="Backspace"&&!_e&&ue(fe-1),xt()};return o.createElement(Z.Z,Object.assign({type:me===!0?"password":"text"},Ie,{ref:Ye,value:ye,onInput:Be,onFocus:xt,onKeyDown:$t,onKeyUp:Xt,onMouseDown:xt,onMouseUp:xt}))}),Pe=function(Re,M){var _e={};for(var ge in Re)Object.prototype.hasOwnProperty.call(Re,ge)&&M.indexOf(ge)<0&&(_e[ge]=Re[ge]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ge=Object.getOwnPropertySymbols(Re);ue<ge.length;ue++)M.indexOf(ge[ue])<0&&Object.prototype.propertyIsEnumerable.call(Re,ge[ue])&&(_e[ge[ue]]=Re[ge[ue]]);return _e};function et(Re){return(Re||"").split("")}const ke=Re=>{const{index:M,prefixCls:_e,separator:ge}=Re,ue=typeof ge=="function"?ge(M):ge;return ue?o.createElement("span",{className:`${_e}-separator`},ue):null};var Ce=o.forwardRef((Re,M)=>{const{prefixCls:_e,length:ge=6,size:ue,defaultValue:fe,value:me,onChange:Ie,formatter:ye,separator:Be,variant:Ye,disabled:xt,status:$t,autoFocus:Xt,mask:Ut,type:jt,onInput:at,inputMode:yt}=Re,pt=Pe(Re,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:dt,direction:er}=o.useContext(De.E_),or=dt("otp",_e),hr=(0,D.Z)(pt,{aria:!0,data:!0,attr:!0}),[Er,qr,Pr]=A(or),w=(0,F.Z)(Vt=>ue!=null?ue:Vt),H=o.useContext(q.aM),wt=(0,U.F)(H.status,$t),ae=o.useMemo(()=>Object.assign(Object.assign({},H),{status:wt,hasFeedback:!1,feedbackIcon:null}),[H,wt]),Te=o.useRef(null),Fr=o.useRef({});o.useImperativeHandle(M,()=>({focus:()=>{var Vt;(Vt=Fr.current[0])===null||Vt===void 0||Vt.focus()},blur:()=>{var Vt;for(let $=0;$<ge;$+=1)(Vt=Fr.current[$])===null||Vt===void 0||Vt.blur()},nativeElement:Te.current}));const Mr=Vt=>ye?ye(Vt):Vt,[bn,Dn]=o.useState(()=>et(Mr(fe||"")));o.useEffect(()=>{me!==void 0&&Dn(et(me))},[me]);const Rt=(0,L.Z)(Vt=>{Dn(Vt),at&&at(Vt),Ie&&Vt.length===ge&&Vt.every($=>$)&&Vt.some(($,Oe)=>bn[Oe]!==$)&&Ie(Vt.join(""))}),xr=(0,L.Z)((Vt,$)=>{let Oe=(0,c.Z)(bn);for(let Wr=0;Wr<Vt;Wr+=1)Oe[Wr]||(Oe[Wr]="");$.length<=1?Oe[Vt]=$:Oe=Oe.slice(0,Vt).concat(et($)),Oe=Oe.slice(0,ge);for(let Wr=Oe.length-1;Wr>=0&&!Oe[Wr];Wr-=1)Oe.pop();const ln=Mr(Oe.map(Wr=>Wr||" ").join(""));return Oe=et(ln).map((Wr,Ht)=>Wr===" "&&!Oe[Ht]?Oe[Ht]:Wr),Oe}),sr=(Vt,$)=>{var Oe;const ln=xr(Vt,$),Wr=Math.min(Vt+$.length,ge-1);Wr!==Vt&&ln[Vt]!==void 0&&((Oe=Fr.current[Wr])===null||Oe===void 0||Oe.focus()),Rt(ln)},C=Vt=>{var $;($=Fr.current[Vt])===null||$===void 0||$.focus()},v={variant:Ye,disabled:xt,status:wt,mask:Ut,type:jt,inputMode:yt};return Er(o.createElement("div",Object.assign({},hr,{ref:Te,className:B()(or,{[`${or}-sm`]:w==="small",[`${or}-lg`]:w==="large",[`${or}-rtl`]:er==="rtl"},Pr,qr)}),o.createElement(q.aM.Provider,{value:ae},Array.from({length:ge}).map((Vt,$)=>{const Oe=`otp-${$}`,ln=bn[$]||"";return o.createElement(o.Fragment,{key:Oe},o.createElement(Ee,Object.assign({ref:Wr=>{Fr.current[$]=Wr},index:$,size:w,htmlSize:1,className:`${or}-input`,onChange:sr,value:ln,onActiveChange:C,autoFocus:$===0&&Xt},v)),$<ge-1&&o.createElement(ke,{separator:Be,index:$,prefixCls:or}))}))))}),se=n(73331),Se=n(15277),T=n(2738),P=n(8654),nt=n(2171),de=n(23826),ce=function(Re,M){var _e={};for(var ge in Re)Object.prototype.hasOwnProperty.call(Re,ge)&&M.indexOf(ge)<0&&(_e[ge]=Re[ge]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ge=Object.getOwnPropertySymbols(Re);ue<ge.length;ue++)M.indexOf(ge[ue])<0&&Object.prototype.propertyIsEnumerable.call(Re,ge[ue])&&(_e[ge[ue]]=Re[ge[ue]]);return _e};const y=Re=>Re?o.createElement(Se.Z,null):o.createElement(se.Z,null),K={click:"onClick",hover:"onMouseOver"};var S=o.forwardRef((Re,M)=>{const{disabled:_e,action:ge="click",visibilityToggle:ue=!0,iconRender:fe=y}=Re,me=o.useContext(nt.Z),Ie=_e!=null?_e:me,ye=typeof ue=="object"&&ue.visible!==void 0,[Be,Ye]=(0,o.useState)(()=>ye?ue.visible:!1),xt=(0,o.useRef)(null);o.useEffect(()=>{ye&&Ye(ue.visible)},[ye,ue]);const $t=(0,de.Z)(xt),Xt=()=>{var w;if(Ie)return;Be&&$t();const H=!Be;Ye(H),typeof ue=="object"&&((w=ue.onVisibleChange)===null||w===void 0||w.call(ue,H))},Ut=w=>{const H=K[ge]||"",wt=fe(Be),ae={[H]:Xt,className:`${w}-icon`,key:"passwordIcon",onMouseDown:Te=>{Te.preventDefault()},onMouseUp:Te=>{Te.preventDefault()}};return o.cloneElement(o.isValidElement(wt)?wt:o.createElement("span",null,wt),ae)},{className:jt,prefixCls:at,inputPrefixCls:yt,size:pt}=Re,dt=ce(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:er}=o.useContext(De.E_),or=er("input",yt),hr=er("input-password",at),Er=ue&&Ut(hr),qr=B()(hr,jt,{[`${hr}-${pt}`]:!!pt}),Pr=Object.assign(Object.assign({},(0,T.Z)(dt,["suffix","iconRender","visibilityToggle"])),{type:Be?"text":"password",className:qr,prefixCls:or,suffix:Er});return pt&&(Pr.size=pt),o.createElement(Z.Z,Object.assign({ref:(0,P.sQ)(M,xt)},Pr))}),X=n(47472),He=n(22703),pe=n(7939),Ze=n(70045),ot=function(Re,M){var _e={};for(var ge in Re)Object.prototype.hasOwnProperty.call(Re,ge)&&M.indexOf(ge)<0&&(_e[ge]=Re[ge]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ge=Object.getOwnPropertySymbols(Re);ue<ge.length;ue++)M.indexOf(ge[ue])<0&&Object.prototype.propertyIsEnumerable.call(Re,ge[ue])&&(_e[ge[ue]]=Re[ge[ue]]);return _e},he=o.forwardRef((Re,M)=>{const{prefixCls:_e,inputPrefixCls:ge,className:ue,size:fe,suffix:me,enterButton:Ie=!1,addonAfter:ye,loading:Be,disabled:Ye,onSearch:xt,onChange:$t,onCompositionStart:Xt,onCompositionEnd:Ut}=Re,jt=ot(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:at,direction:yt}=o.useContext(De.E_),pt=o.useRef(!1),dt=at("input-search",_e),er=at("input",ge),{compactSize:or}=(0,Ze.ri)(dt,yt),hr=(0,F.Z)(sr=>{var C;return(C=fe!=null?fe:or)!==null&&C!==void 0?C:sr}),Er=o.useRef(null),qr=sr=>{sr!=null&&sr.target&&sr.type==="click"&&xt&&xt(sr.target.value,sr,{source:"clear"}),$t==null||$t(sr)},Pr=sr=>{var C;document.activeElement===((C=Er.current)===null||C===void 0?void 0:C.input)&&sr.preventDefault()},w=sr=>{var C,v;xt&&xt((v=(C=Er.current)===null||C===void 0?void 0:C.input)===null||v===void 0?void 0:v.value,sr,{source:"input"})},H=sr=>{pt.current||Be||w(sr)},wt=typeof Ie=="boolean"?o.createElement(X.Z,null):null,ae=`${dt}-button`;let Te;const Fr=Ie||{},Mr=Fr.type&&Fr.type.__ANT_BUTTON===!0;Mr||Fr.type==="button"?Te=(0,He.Tm)(Fr,Object.assign({onMouseDown:Pr,onClick:sr=>{var C,v;(v=(C=Fr==null?void 0:Fr.props)===null||C===void 0?void 0:C.onClick)===null||v===void 0||v.call(C,sr),w(sr)},key:"enterButton"},Mr?{className:ae,size:hr}:{})):Te=o.createElement(pe.ZP,{className:ae,type:Ie?"primary":void 0,size:hr,disabled:Ye,key:"enterButton",onMouseDown:Pr,onClick:w,loading:Be,icon:wt},Ie),ye&&(Te=[Te,(0,He.Tm)(ye,{key:"addonAfter"})]);const bn=B()(dt,{[`${dt}-rtl`]:yt==="rtl",[`${dt}-${hr}`]:!!hr,[`${dt}-with-button`]:!!Ie},ue),Dn=Object.assign(Object.assign({},jt),{className:bn,prefixCls:er,type:"search"}),Rt=sr=>{pt.current=!0,Xt==null||Xt(sr)},xr=sr=>{pt.current=!1,Ut==null||Ut(sr)};return o.createElement(Z.Z,Object.assign({ref:(0,P.sQ)(Er,M),onPressEnter:H},Dn,{size:hr,onCompositionStart:Rt,onCompositionEnd:xr,addonAfter:Te,suffix:me,onChange:qr,disabled:Ye}))}),Le=n(79809);const St=Z.Z;St.Group=x,St.Search=he,St.TextArea=Le.Z,St.Password=S,St.OTP=Ce;var We=St},53075:function(Qr,_t,n){"use strict";n.d(_t,{TI:function(){return oe},ik:function(){return D},nz:function(){return x},s7:function(){return U},x0:function(){return L}});var o=n(36237),Xe=n(63356),B=n(56119),De=n(16931),q=n(51636),ee=n(64910),Y=n(39082);const x=J=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:J,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),Z=J=>({borderColor:J.activeBorderColor,boxShadow:J.activeShadow,outline:0,backgroundColor:J.activeBg}),c=J=>{const{paddingBlockLG:te,lineHeightLG:Ee,borderRadiusLG:Pe,paddingInlineLG:et}=J;return{padding:`${(0,o.unit)(te)} ${(0,o.unit)(et)}`,fontSize:J.inputFontSizeLG,lineHeight:Ee,borderRadius:Pe}},L=J=>({padding:`${(0,o.unit)(J.paddingBlockSM)} ${(0,o.unit)(J.paddingInlineSM)}`,fontSize:J.inputFontSizeSM,borderRadius:J.borderRadiusSM}),D=J=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,o.unit)(J.paddingBlock)} ${(0,o.unit)(J.paddingInline)}`,color:J.colorText,fontSize:J.inputFontSize,lineHeight:J.lineHeight,borderRadius:J.borderRadius,transition:`all ${J.motionDurationMid}`},x(J.colorTextPlaceholder)),{"&-lg":Object.assign({},c(J)),"&-sm":Object.assign({},L(J)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),U=J=>{const{componentCls:te,antCls:Ee}=J;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:J.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${te}, &-lg > ${te}-group-addon`]:Object.assign({},c(J)),[`&-sm ${te}, &-sm > ${te}-group-addon`]:Object.assign({},L(J)),[`&-lg ${Ee}-select-single ${Ee}-select-selector`]:{height:J.controlHeightLG},[`&-sm ${Ee}-select-single ${Ee}-select-selector`]:{height:J.controlHeightSM},[`> ${te}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${te}-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,o.unit)(J.paddingInline)}`,color:J.colorText,fontWeight:"normal",fontSize:J.inputFontSize,textAlign:"center",borderRadius:J.borderRadius,transition:`all ${J.motionDurationSlow}`,lineHeight:1,[`${Ee}-select`]:{margin:`${(0,o.unit)(J.calc(J.paddingBlock).add(1).mul(-1).equal())} ${(0,o.unit)(J.calc(J.paddingInline).mul(-1).equal())}`,[`&${Ee}-select-single:not(${Ee}-select-customize-input):not(${Ee}-pagination-size-changer)`]:{[`${Ee}-select-selector`]:{backgroundColor:"inherit",border:`${(0,o.unit)(J.lineWidth)} ${J.lineType} transparent`,boxShadow:"none"}}},[`${Ee}-cascader-picker`]:{margin:`-9px ${(0,o.unit)(J.calc(J.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${Ee}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[te]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${te}-search-with-button &`]:{zIndex:0}}},[`> ${te}:first-child, ${te}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ee}-select ${Ee}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}-affix-wrapper`]:{[`&:not(:first-child) ${te}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${te}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}:last-child, ${te}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Ee}-select ${Ee}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${te}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${te}-search &`]:{borderStartStartRadius:J.borderRadius,borderEndStartRadius:J.borderRadius}},[`&:not(:first-child), ${te}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${te}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Xe.dF)()),{[`${te}-group-addon, ${te}-group-wrap, > ${te}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:J.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${te}-affix-wrapper,
& > ${te}-number-affix-wrapper,
& > ${Ee}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:J.calc(J.lineWidth).mul(-1).equal(),borderInlineEndWidth:J.lineWidth},[te]:{float:"none"},[`& > ${Ee}-select > ${Ee}-select-selector,
& > ${Ee}-select-auto-complete ${te},
& > ${Ee}-cascader-picker ${te},
& > ${te}-group-wrapper ${te}`]:{borderInlineEndWidth:J.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${Ee}-select-focused`]:{zIndex:1},[`& > ${Ee}-select > ${Ee}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${Ee}-select:first-child > ${Ee}-select-selector,
& > ${Ee}-select-auto-complete:first-child ${te},
& > ${Ee}-cascader-picker:first-child ${te}`]:{borderStartStartRadius:J.borderRadius,borderEndStartRadius:J.borderRadius},[`& > *:last-child,
& > ${Ee}-select:last-child > ${Ee}-select-selector,
& > ${Ee}-cascader-picker:last-child ${te},
& > ${Ee}-cascader-picker-focused:last-child ${te}`]:{borderInlineEndWidth:J.lineWidth,borderStartEndRadius:J.borderRadius,borderEndEndRadius:J.borderRadius},[`& > ${Ee}-select-auto-complete ${te}`]:{verticalAlign:"top"},[`${te}-group-wrapper + ${te}-group-wrapper`]:{marginInlineStart:J.calc(J.lineWidth).mul(-1).equal(),[`${te}-affix-wrapper`]:{borderRadius:0}},[`${te}-group-wrapper:not(:last-child)`]:{[`&${te}-search > ${te}-group`]:{[`& > ${te}-group-addon > ${te}-search-button`]:{borderRadius:0},[`& > ${te}`]:{borderStartStartRadius:J.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:J.borderRadius}}}})}},F=J=>{const{componentCls:te,controlHeightSM:Ee,lineWidth:Pe,calc:et}=J,xe=et(Ee).sub(et(Pe).mul(2)).sub(16).div(2).equal();return{[te]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(J)),D(J)),(0,Y.qG)(J)),(0,Y.H8)(J)),(0,Y.Mu)(J)),(0,Y.vc)(J)),{'&[type="color"]':{height:J.controlHeight,[`&${te}-lg`]:{height:J.controlHeightLG},[`&${te}-sm`]:{height:Ee,paddingTop:xe,paddingBottom:xe}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},_=J=>{const{componentCls:te}=J;return{[`${te}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:J.colorTextQuaternary,fontSize:J.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${J.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:J.colorTextTertiary},"&:active":{color:J.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,o.unit)(J.inputAffixPadding)}`}}}},I=J=>{const{componentCls:te,inputAffixPadding:Ee,colorTextDescription:Pe,motionDurationSlow:et,colorIcon:ke,colorIconHover:xe,iconCls:Ce}=J,se=`${te}-affix-wrapper`,Se=`${te}-affix-wrapper-disabled`;return{[se]:Object.assign(Object.assign(Object.assign(Object.assign({},D(J)),{display:"inline-flex",[`&:not(${te}-disabled):hover`]:{zIndex:1,[`${te}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${te}`]:{padding:0},[`> input${te}, > textarea${te}`]:{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"'},[te]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:J.paddingXS}},"&-show-count-suffix":{color:Pe},"&-show-count-has-suffix":{marginInlineEnd:J.paddingXXS},"&-prefix":{marginInlineEnd:Ee},"&-suffix":{marginInlineStart:Ee}}}),_(J)),{[`${Ce}${te}-password-icon`]:{color:ke,cursor:"pointer",transition:`all ${et}`,"&:hover":{color:xe}}}),[`${te}-underlined`]:{borderRadius:0},[Se]:{[`${Ce}${te}-password-icon`]:{color:ke,cursor:"not-allowed","&:hover":{color:ke}}}}},z=J=>{const{componentCls:te,borderRadiusLG:Ee,borderRadiusSM:Pe}=J;return{[`${te}-group`]:Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(J)),U(J)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${te}-group-addon`]:{borderRadius:Ee,fontSize:J.inputFontSizeLG}},"&-sm":{[`${te}-group-addon`]:{borderRadius:Pe}}},(0,Y.ir)(J)),(0,Y.S5)(J)),{[`&:not(${te}-compact-first-item):not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}, ${te}-group-addon`]:{borderRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-first-item`]:{[`${te}, ${te}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-last-item`]:{[`${te}, ${te}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},O=J=>{const{componentCls:te,antCls:Ee}=J,Pe=`${te}-search`;return{[Pe]:{[te]:{"&:hover, &:focus":{[`+ ${te}-group-addon ${Pe}-button:not(${Ee}-btn-primary)`]:{borderInlineStartColor:J.colorPrimaryHover}}},[`${te}-affix-wrapper`]:{height:J.controlHeight,borderRadius:0},[`${te}-lg`]:{lineHeight:J.calc(J.lineHeightLG).sub(2e-4).equal()},[`> ${te}-group`]:{[`> ${te}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Pe}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Pe}-button:not(${Ee}-btn-primary)`]:{color:J.colorTextDescription,"&:hover":{color:J.colorPrimaryHover},"&:active":{color:J.colorPrimaryActive},[`&${Ee}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Pe}-button`]:{height:J.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${te}-affix-wrapper, ${Pe}-button`]:{height:J.controlHeightLG}},"&-small":{[`${te}-affix-wrapper, ${Pe}-button`]:{height:J.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${te}-compact-item`]:{[`&:not(${te}-compact-last-item)`]:{[`${te}-group-addon`]:{[`${te}-search-button`]:{marginInlineEnd:J.calc(J.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${te}-compact-first-item)`]:{[`${te},${te}-affix-wrapper`]:{borderRadius:0}},[`> ${te}-group-addon ${te}-search-button,
> ${te},
${te}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${te}-affix-wrapper-focused`]:{zIndex:2}}}}},A=J=>{const{componentCls:te}=J;return{[`${te}-out-of-range`]:{[`&, & input, & textarea, ${te}-show-count-suffix, ${te}-data-count`]:{color:J.colorError}}}},oe=(0,De.I$)(["Input","Shared"],J=>{const te=(0,q.mergeToken)(J,(0,ee.e)(J));return[F(te),I(te)]},ee.T,{resetFont:!1});_t.ZP=(0,De.I$)(["Input","Component"],J=>{const te=(0,q.mergeToken)(J,(0,ee.e)(J));return[z(te),O(te),A(te),(0,B.c)(te)]},ee.T,{resetFont:!1})},64910:function(Qr,_t,n){"use strict";n.d(_t,{T:function(){return B},e:function(){return Xe}});var o=n(51636);function Xe(De){return(0,o.mergeToken)(De,{inputAffixPadding:De.paddingXXS})}const B=De=>{const{controlHeight:q,fontSize:ee,lineHeight:Y,lineWidth:x,controlHeightSM:Z,controlHeightLG:c,fontSizeLG:L,lineHeightLG:D,paddingSM:U,controlPaddingHorizontalSM:F,controlPaddingHorizontal:_,colorFillAlter:I,colorPrimaryHover:z,colorPrimary:O,controlOutlineWidth:A,controlOutline:oe,colorErrorOutline:J,colorWarningOutline:te,colorBgContainer:Ee,inputFontSize:Pe,inputFontSizeLG:et,inputFontSizeSM:ke}=De,xe=Pe||ee,Ce=ke||xe,se=et||L,Se=Math.round((q-xe*Y)/2*10)/10-x,T=Math.round((Z-Ce*Y)/2*10)/10-x,P=Math.ceil((c-se*D)/2*10)/10-x;return{paddingBlock:Math.max(Se,0),paddingBlockSM:Math.max(T,0),paddingBlockLG:Math.max(P,0),paddingInline:U-x,paddingInlineSM:F-x,paddingInlineLG:_-x,addonBg:I,activeBorderColor:O,hoverBorderColor:z,activeShadow:`0 0 0 ${A}px ${oe}`,errorActiveShadow:`0 0 0 ${A}px ${J}`,warningActiveShadow:`0 0 0 ${A}px ${te}`,hoverBg:Ee,activeBg:Ee,inputFontSize:xe,inputFontSizeLG:se,inputFontSizeSM:Ce}}},39082:function(Qr,_t,n){"use strict";n.d(_t,{$U:function(){return q},H8:function(){return U},Mu:function(){return c},S5:function(){return _},Xy:function(){return De},ir:function(){return Z},qG:function(){return Y},vc:function(){return O}});var o=n(36237),Xe=n(51636);const B=A=>({borderColor:A.hoverBorderColor,backgroundColor:A.hoverBg}),De=A=>({color:A.colorTextDisabled,backgroundColor:A.colorBgContainerDisabled,borderColor:A.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},B((0,Xe.mergeToken)(A,{hoverBorderColor:A.colorBorder,hoverBg:A.colorBgContainerDisabled})))}),q=(A,oe)=>({background:A.colorBgContainer,borderWidth:A.lineWidth,borderStyle:A.lineType,borderColor:oe.borderColor,"&:hover":{borderColor:oe.hoverBorderColor,backgroundColor:A.hoverBg},"&:focus, &:focus-within":{borderColor:oe.activeBorderColor,boxShadow:oe.activeShadow,outline:0,backgroundColor:A.activeBg}}),ee=(A,oe)=>({[`&${A.componentCls}-status-${oe.status}:not(${A.componentCls}-disabled)`]:Object.assign(Object.assign({},q(A,oe)),{[`${A.componentCls}-prefix, ${A.componentCls}-suffix`]:{color:oe.affixColor}}),[`&${A.componentCls}-status-${oe.status}${A.componentCls}-disabled`]:{borderColor:oe.borderColor}}),Y=(A,oe)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},q(A,{borderColor:A.colorBorder,hoverBorderColor:A.hoverBorderColor,activeBorderColor:A.activeBorderColor,activeShadow:A.activeShadow})),{[`&${A.componentCls}-disabled, &[disabled]`]:Object.assign({},De(A))}),ee(A,{status:"error",borderColor:A.colorError,hoverBorderColor:A.colorErrorBorderHover,activeBorderColor:A.colorError,activeShadow:A.errorActiveShadow,affixColor:A.colorError})),ee(A,{status:"warning",borderColor:A.colorWarning,hoverBorderColor:A.colorWarningBorderHover,activeBorderColor:A.colorWarning,activeShadow:A.warningActiveShadow,affixColor:A.colorWarning})),oe)}),x=(A,oe)=>({[`&${A.componentCls}-group-wrapper-status-${oe.status}`]:{[`${A.componentCls}-group-addon`]:{borderColor:oe.addonBorderColor,color:oe.addonColor}}}),Z=A=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${A.componentCls}-group`]:{"&-addon":{background:A.addonBg,border:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},x(A,{status:"error",addonBorderColor:A.colorError,addonColor:A.colorErrorText})),x(A,{status:"warning",addonBorderColor:A.colorWarning,addonColor:A.colorWarningText})),{[`&${A.componentCls}-group-wrapper-disabled`]:{[`${A.componentCls}-group-addon`]:Object.assign({},De(A))}})}),c=(A,oe)=>{const{componentCls:J}=A;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${J}-disabled, &[disabled]`]:{color:A.colorTextDisabled,cursor:"not-allowed"},[`&${J}-status-error`]:{"&, & input, & textarea":{color:A.colorError}},[`&${J}-status-warning`]:{"&, & input, & textarea":{color:A.colorWarning}}},oe)}},L=(A,oe)=>{var J;return{background:oe.bg,borderWidth:A.lineWidth,borderStyle:A.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(J=oe==null?void 0:oe.inputColor)!==null&&J!==void 0?J:"unset"},"&:hover":{background:oe.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:oe.activeBorderColor,backgroundColor:A.activeBg}}},D=(A,oe)=>({[`&${A.componentCls}-status-${oe.status}:not(${A.componentCls}-disabled)`]:Object.assign(Object.assign({},L(A,oe)),{[`${A.componentCls}-prefix, ${A.componentCls}-suffix`]:{color:oe.affixColor}})}),U=(A,oe)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L(A,{bg:A.colorFillTertiary,hoverBg:A.colorFillSecondary,activeBorderColor:A.activeBorderColor})),{[`&${A.componentCls}-disabled, &[disabled]`]:Object.assign({},De(A))}),D(A,{status:"error",bg:A.colorErrorBg,hoverBg:A.colorErrorBgHover,activeBorderColor:A.colorError,inputColor:A.colorErrorText,affixColor:A.colorError})),D(A,{status:"warning",bg:A.colorWarningBg,hoverBg:A.colorWarningBgHover,activeBorderColor:A.colorWarning,inputColor:A.colorWarningText,affixColor:A.colorWarning})),oe)}),F=(A,oe)=>({[`&${A.componentCls}-group-wrapper-status-${oe.status}`]:{[`${A.componentCls}-group-addon`]:{background:oe.addonBg,color:oe.addonColor}}}),_=A=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${A.componentCls}-group`]:{"&-addon":{background:A.colorFillTertiary},[`${A.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorSplit}`}}}},F(A,{status:"error",addonBg:A.colorErrorBg,addonColor:A.colorErrorText})),F(A,{status:"warning",addonBg:A.colorWarningBg,addonColor:A.colorWarningText})),{[`&${A.componentCls}-group-wrapper-disabled`]:{[`${A.componentCls}-group`]:{"&-addon":{background:A.colorFillTertiary,color:A.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`,borderTop:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`,borderBottom:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`,borderTop:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`,borderBottom:`${(0,o.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`}}}})}),I=(A,oe)=>({background:A.colorBgContainer,borderWidth:`${(0,o.unit)(A.lineWidth)} 0`,borderStyle:`${A.lineType} none`,borderColor:`transparent transparent ${oe.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${oe.borderColor} transparent`,backgroundColor:A.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${oe.borderColor} transparent`,outline:0,backgroundColor:A.activeBg}}),z=(A,oe)=>({[`&${A.componentCls}-status-${oe.status}:not(${A.componentCls}-disabled)`]:Object.assign(Object.assign({},I(A,oe)),{[`${A.componentCls}-prefix, ${A.componentCls}-suffix`]:{color:oe.affixColor}}),[`&${A.componentCls}-status-${oe.status}${A.componentCls}-disabled`]:{borderColor:`transparent transparent ${oe.borderColor} transparent`}}),O=(A,oe)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},I(A,{borderColor:A.colorBorder,hoverBorderColor:A.hoverBorderColor,activeBorderColor:A.activeBorderColor,activeShadow:A.activeShadow})),{[`&${A.componentCls}-disabled, &[disabled]`]:{color:A.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${A.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),z(A,{status:"error",borderColor:A.colorError,hoverBorderColor:A.colorErrorBorderHover,activeBorderColor:A.colorError,activeShadow:A.errorActiveShadow,affixColor:A.colorError})),z(A,{status:"warning",borderColor:A.colorWarning,hoverBorderColor:A.colorWarningBorderHover,activeBorderColor:A.colorWarning,activeShadow:A.warningActiveShadow,affixColor:A.colorWarning})),oe)})},24303:function(Qr,_t,n){"use strict";n.d(_t,{D:function(){return Pe},Z:function(){return xe}});var o=n(59301),Xe=n(54476),B={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"},De=B,q=n(7657),ee=function(se,Se){return o.createElement(q.Z,(0,Xe.Z)({},se,{ref:Se,icon:De}))},Y=o.forwardRef(ee),x=Y,Z=n(33853),c=n(38819),L=n(92310),D=n.n(L),U=n(2738),F=n(48755),_=n(6989),I=n(36237),z=n(48923),O=n(16931);const A=Ce=>{const{componentCls:se,siderBg:Se,motionDurationMid:T,motionDurationSlow:P,antCls:nt,triggerHeight:de,triggerColor:ce,triggerBg:y,headerHeight:K,zeroTriggerWidth:R,zeroTriggerHeight:S,borderRadiusLG:X,lightSiderBg:He,lightTriggerColor:pe,lightTriggerBg:Ze,bodyBg:ot}=Ce;return{[se]:{position:"relative",minWidth:0,background:Se,transition:`all ${T}, background 0s`,"&-has-trigger":{paddingBottom:de},"&-right":{order:1},[`${se}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${nt}-menu${nt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${se}-children`]:{overflow:"hidden"},[`${se}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:de,color:ce,lineHeight:(0,I.unit)(de),textAlign:"center",background:y,cursor:"pointer",transition:`all ${T}`},[`${se}-zero-width-trigger`]:{position:"absolute",top:K,insetInlineEnd:Ce.calc(R).mul(-1).equal(),zIndex:1,width:R,height:S,color:ce,fontSize:Ce.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Se,borderRadius:`0 ${(0,I.unit)(X)} ${(0,I.unit)(X)} 0`,cursor:"pointer",transition:`background ${P} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${P}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ce.calc(R).mul(-1).equal(),borderRadius:`${(0,I.unit)(X)} 0 0 ${(0,I.unit)(X)}`}},"&-light":{background:He,[`${se}-trigger`]:{color:pe,background:Ze},[`${se}-zero-width-trigger`]:{color:pe,background:Ze,border:`1px solid ${ot}`,borderInlineStart:0}}}}};var oe=(0,O.I$)(["Layout","Sider"],Ce=>[A(Ce)],z.eh,{deprecatedTokens:z.jn}),J=function(Ce,se){var Se={};for(var T in Ce)Object.prototype.hasOwnProperty.call(Ce,T)&&se.indexOf(T)<0&&(Se[T]=Ce[T]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,T=Object.getOwnPropertySymbols(Ce);P<T.length;P++)se.indexOf(T[P])<0&&Object.prototype.propertyIsEnumerable.call(Ce,T[P])&&(Se[T[P]]=Ce[T[P]]);return Se};const te={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ee=Ce=>!Number.isNaN(Number.parseFloat(Ce))&&isFinite(Ce),Pe=o.createContext({}),et=(()=>{let Ce=0;return function(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ce+=1,`${se}${Ce}`}})();var xe=o.forwardRef((Ce,se)=>{const{prefixCls:Se,className:T,trigger:P,children:nt,defaultCollapsed:de=!1,theme:ce="dark",style:y={},collapsible:K=!1,reverseArrow:R=!1,width:S=200,collapsedWidth:X=80,zeroWidthTriggerStyle:He,breakpoint:pe,onCollapse:Ze,onBreakpoint:ot}=Ce,ht=J(Ce,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:he}=(0,o.useContext)(_.V),[Le,St]=(0,o.useState)("collapsed"in Ce?Ce.collapsed:de),[We,Re]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in Ce&&St(Ce.collapsed)},[Ce.collapsed]);const M=(hr,Er)=>{"collapsed"in Ce||St(hr),Ze==null||Ze(hr,Er)},{getPrefixCls:_e,direction:ge}=(0,o.useContext)(F.E_),ue=_e("layout-sider",Se),[fe,me,Ie]=oe(ue),ye=(0,o.useRef)(null);ye.current=hr=>{Re(hr.matches),ot==null||ot(hr.matches),Le!==hr.matches&&M(hr.matches,"responsive")},(0,o.useEffect)(()=>{function hr(qr){return ye.current(qr)}let Er;if(typeof window!="undefined"){const{matchMedia:qr}=window;if(qr&&pe&&pe in te){Er=qr(`screen and (max-width: ${te[pe]})`);try{Er.addEventListener("change",hr)}catch(Pr){Er.addListener(hr)}hr(Er)}}return()=>{try{Er==null||Er.removeEventListener("change",hr)}catch(qr){Er==null||Er.removeListener(hr)}}},[pe]),(0,o.useEffect)(()=>{const hr=et("ant-sider-");return he.addSider(hr),()=>he.removeSider(hr)},[]);const Be=()=>{M(!Le,"clickTrigger")},Ye=(0,U.Z)(ht,["collapsed"]),xt=Le?X:S,$t=Ee(xt)?`${xt}px`:String(xt),Xt=parseFloat(String(X||0))===0?o.createElement("span",{onClick:Be,className:D()(`${ue}-zero-width-trigger`,`${ue}-zero-width-trigger-${R?"right":"left"}`),style:He},P||o.createElement(x,null)):null,Ut=ge==="rtl"==!R,yt={expanded:Ut?o.createElement(c.Z,null):o.createElement(Z.Z,null),collapsed:Ut?o.createElement(Z.Z,null):o.createElement(c.Z,null)}[Le?"collapsed":"expanded"],pt=P!==null?Xt||o.createElement("div",{className:`${ue}-trigger`,onClick:Be,style:{width:$t}},P||yt):null,dt=Object.assign(Object.assign({},y),{flex:`0 0 ${$t}`,maxWidth:$t,minWidth:$t,width:$t}),er=D()(ue,`${ue}-${ce}`,{[`${ue}-collapsed`]:!!Le,[`${ue}-has-trigger`]:K&&P!==null&&!Xt,[`${ue}-below`]:!!We,[`${ue}-zero-width`]:parseFloat($t)===0},T,me,Ie),or=o.useMemo(()=>({siderCollapsed:Le}),[Le]);return fe(o.createElement(Pe.Provider,{value:or},o.createElement("aside",Object.assign({className:er},Ye,{style:dt,ref:se}),o.createElement("div",{className:`${ue}-children`},nt),K||We&&Xt?pt:null)))})},6989:function(Qr,_t,n){"use strict";n.d(_t,{V:function(){return Xe}});var o=n(59301);const Xe=o.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24404:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return te}});var o=n(94480),Xe=n(59301),B=n(92310),De=n.n(B),q=n(2738),ee=n(48755),Y=n(6989),x=n(11592),Z=n(24303);function c(Ee,Pe,et){return typeof et=="boolean"?et:Ee.length?!0:(0,x.Z)(Pe).some(xe=>xe.type===Z.Z)}var L=n(48923),D=function(Ee,Pe){var et={};for(var ke in Ee)Object.prototype.hasOwnProperty.call(Ee,ke)&&Pe.indexOf(ke)<0&&(et[ke]=Ee[ke]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var xe=0,ke=Object.getOwnPropertySymbols(Ee);xe<ke.length;xe++)Pe.indexOf(ke[xe])<0&&Object.prototype.propertyIsEnumerable.call(Ee,ke[xe])&&(et[ke[xe]]=Ee[ke[xe]]);return et};function U(Ee){let{suffixCls:Pe,tagName:et,displayName:ke}=Ee;return xe=>Xe.forwardRef((se,Se)=>Xe.createElement(xe,Object.assign({ref:Se,suffixCls:Pe,tagName:et},se)))}const F=Xe.forwardRef((Ee,Pe)=>{const{prefixCls:et,suffixCls:ke,className:xe,tagName:Ce}=Ee,se=D(Ee,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Xe.useContext(ee.E_),T=Se("layout",et),[P,nt,de]=(0,L.ZP)(T),ce=ke?`${T}-${ke}`:T;return P(Xe.createElement(Ce,Object.assign({className:De()(et||ce,xe,nt,de),ref:Pe},se)))}),_=Xe.forwardRef((Ee,Pe)=>{const{direction:et}=Xe.useContext(ee.E_),[ke,xe]=Xe.useState([]),{prefixCls:Ce,className:se,rootClassName:Se,children:T,hasSider:P,tagName:nt,style:de}=Ee,ce=D(Ee,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),y=(0,q.Z)(ce,["suffixCls"]),{getPrefixCls:K,className:R,style:S}=(0,ee.dj)("layout"),X=K("layout",Ce),He=c(ke,T,P),[pe,Ze,ot]=(0,L.ZP)(X),ht=De()(X,{[`${X}-has-sider`]:He,[`${X}-rtl`]:et==="rtl"},R,se,Se,Ze,ot),he=Xe.useMemo(()=>({siderHook:{addSider:Le=>{xe(St=>[].concat((0,o.Z)(St),[Le]))},removeSider:Le=>{xe(St=>St.filter(We=>We!==Le))}}}),[]);return pe(Xe.createElement(Y.V.Provider,{value:he},Xe.createElement(nt,Object.assign({ref:Pe,className:ht,style:Object.assign(Object.assign({},S),de)},y),T)))}),I=U({tagName:"div",displayName:"Layout"})(_),z=U({suffixCls:"header",tagName:"header",displayName:"Header"})(F),O=U({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(F),A=U({suffixCls:"content",tagName:"main",displayName:"Content"})(F);var oe=I;const J=oe;J.Header=z,J.Footer=O,J.Content=A,J.Sider=Z.Z,J._InternalSiderContext=Z.D;var te=J},48923:function(Qr,_t,n){"use strict";n.d(_t,{eh:function(){return De},jn:function(){return q}});var o=n(36237),Xe=n(16931);const B=ee=>{const{antCls:Y,componentCls:x,colorText:Z,footerBg:c,headerHeight:L,headerPadding:D,headerColor:U,footerPadding:F,fontSize:_,bodyBg:I,headerBg:z}=ee;return{[x]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:I,"&, *":{boxSizing:"border-box"},[`&${x}-has-sider`]:{flexDirection:"row",[`> ${x}, > ${x}-content`]:{width:0}},[`${x}-header, &${x}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${x}-header`]:{height:L,padding:D,color:U,lineHeight:(0,o.unit)(L),background:z,[`${Y}-menu`]:{lineHeight:"inherit"}},[`${x}-footer`]:{padding:F,color:Z,fontSize:_,background:c},[`${x}-content`]:{flex:"auto",color:Z,minHeight:0}}},De=ee=>{const{colorBgLayout:Y,controlHeight:x,controlHeightLG:Z,colorText:c,controlHeightSM:L,marginXXS:D,colorTextLightSolid:U,colorBgContainer:F}=ee,_=Z*1.25;return{colorBgHeader:"#001529",colorBgBody:Y,colorBgTrigger:"#002140",bodyBg:Y,headerBg:"#001529",headerHeight:x*2,headerPadding:`0 ${_}px`,headerColor:c,footerPadding:`${L}px ${_}px`,footerBg:Y,siderBg:"#001529",triggerHeight:Z+D*2,triggerBg:"#002140",triggerColor:U,zeroTriggerWidth:Z,zeroTriggerHeight:Z,lightSiderBg:F,lightTriggerBg:F,lightTriggerColor:c}},q=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];_t.ZP=(0,Xe.I$)("Layout",ee=>[B(ee)],De,{deprecatedTokens:q})},78857:function(Qr,_t,n){"use strict";n.d(_t,{J:function(){return ee}});var o=n(59301),Xe=n(8654),B=n(62487),De=function(Y,x){var Z={};for(var c in Y)Object.prototype.hasOwnProperty.call(Y,c)&&x.indexOf(c)<0&&(Z[c]=Y[c]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,c=Object.getOwnPropertySymbols(Y);L<c.length;L++)x.indexOf(c[L])<0&&Object.prototype.propertyIsEnumerable.call(Y,c[L])&&(Z[c[L]]=Y[c[L]]);return Z};const q=o.createContext(null),ee=o.forwardRef((Y,x)=>{const{children:Z}=Y,c=De(Y,["children"]),L=o.useContext(q),D=o.useMemo(()=>Object.assign(Object.assign({},L),c),[L,c.prefixCls,c.mode,c.selectable,c.rootClassName]),U=(0,Xe.t4)(Z),F=(0,Xe.x1)(x,U?(0,Xe.C4)(Z):null);return o.createElement(q.Provider,{value:D},o.createElement(B.Z,{space:!0},U?o.cloneElement(Z,{ref:F}):Z))});_t.Z=q},93041:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return fe}});var o=n(59301),Xe=n(28321),B=n(24303),De=n(18785),q=n(92310),ee=n.n(q),Y=n(6089),x=n(2738),Z=n(86641),c=n(22703),L=n(48755),D=n(83397),F=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),_=function(me,Ie){var ye={};for(var Be in me)Object.prototype.hasOwnProperty.call(me,Be)&&Ie.indexOf(Be)<0&&(ye[Be]=me[Be]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Be=Object.getOwnPropertySymbols(me);Ye<Be.length;Ye++)Ie.indexOf(Be[Ye])<0&&Object.prototype.propertyIsEnumerable.call(me,Be[Ye])&&(ye[Be[Ye]]=me[Be[Ye]]);return ye},z=me=>{const{prefixCls:Ie,className:ye,dashed:Be}=me,Ye=_(me,["prefixCls","className","dashed"]),{getPrefixCls:xt}=o.useContext(L.E_),$t=xt("menu",Ie),Xt=ee()({[`${$t}-item-divider-dashed`]:!!Be},ye);return o.createElement(Xe.iz,Object.assign({className:Xt},Ye))},O=n(11592),A=n(25399),J=me=>{var Ie;const{className:ye,children:Be,icon:Ye,title:xt,danger:$t,extra:Xt}=me,{prefixCls:Ut,firstLevel:jt,direction:at,disableMenuItemTitleTooltip:yt,inlineCollapsed:pt}=o.useContext(F),dt=Pr=>{const w=Be==null?void 0:Be[0],H=o.createElement("span",{className:ee()(`${Ut}-title-content`,{[`${Ut}-title-content-with-extra`]:!!Xt||Xt===0})},Be);return(!Ye||o.isValidElement(Be)&&Be.type==="span")&&Be&&Pr&&jt&&typeof w=="string"?o.createElement("div",{className:`${Ut}-inline-collapsed-noicon`},w.charAt(0)):H},{siderCollapsed:er}=o.useContext(B.D);let or=xt;typeof xt=="undefined"?or=jt?Be:"":xt===!1&&(or="");const hr={title:or};!er&&!pt&&(hr.title=null,hr.open=!1);const Er=(0,O.Z)(Be).length;let qr=o.createElement(Xe.ck,Object.assign({},(0,x.Z)(me,["title","icon","danger"]),{className:ee()({[`${Ut}-item-danger`]:$t,[`${Ut}-item-only-child`]:(Ye?Er+1:Er)===1},ye),title:typeof xt=="string"?xt:void 0}),(0,c.Tm)(Ye,{className:ee()(o.isValidElement(Ye)?(Ie=Ye.props)===null||Ie===void 0?void 0:Ie.className:"",`${Ut}-item-icon`)}),dt(pt));return yt||(qr=o.createElement(A.Z,Object.assign({},hr,{placement:at==="rtl"?"left":"right",classNames:{root:`${Ut}-inline-collapsed-tooltip`}}),qr)),qr},te=n(78857),Ee=n(36237),Pe=n(17835),et=n(63356),ke=n(34961),xe=n(46e3),Ce=n(34925),se=n(16931),Se=n(51636),P=me=>{const{componentCls:Ie,motionDurationSlow:ye,horizontalLineHeight:Be,colorSplit:Ye,lineWidth:xt,lineType:$t,itemPaddingInline:Xt}=me;return{[`${Ie}-horizontal`]:{lineHeight:Be,border:0,borderBottom:`${(0,Ee.unit)(xt)} ${$t} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ie}-item, ${Ie}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xt},[`> ${Ie}-item:hover,
> ${Ie}-item-active,
> ${Ie}-submenu ${Ie}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ie}-item, ${Ie}-submenu-title`]:{transition:[`border-color ${ye}`,`background ${ye}`].join(",")},[`${Ie}-submenu-arrow`]:{display:"none"}}}},de=me=>{let{componentCls:Ie,menuArrowOffset:ye,calc:Be}=me;return{[`${Ie}-rtl`]:{direction:"rtl"},[`${Ie}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ie}-rtl${Ie}-vertical,
${Ie}-submenu-rtl ${Ie}-vertical`]:{[`${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Ee.unit)(Be(ye).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Ee.unit)(ye)})`}}}}};const ce=me=>Object.assign({},(0,et.oN)(me));var K=(me,Ie)=>{const{componentCls:ye,itemColor:Be,itemSelectedColor:Ye,subMenuItemSelectedColor:xt,groupTitleColor:$t,itemBg:Xt,subMenuItemBg:Ut,itemSelectedBg:jt,activeBarHeight:at,activeBarWidth:yt,activeBarBorderWidth:pt,motionDurationSlow:dt,motionEaseInOut:er,motionEaseOut:or,itemPaddingInline:hr,motionDurationMid:Er,itemHoverColor:qr,lineType:Pr,colorSplit:w,itemDisabledColor:H,dangerItemColor:wt,dangerItemHoverColor:ae,dangerItemSelectedColor:Te,dangerItemActiveBg:Fr,dangerItemSelectedBg:Mr,popupBg:bn,itemHoverBg:Dn,itemActiveBg:Rt,menuSubMenuBg:xr,horizontalItemSelectedColor:sr,horizontalItemSelectedBg:C,horizontalItemBorderRadius:v,horizontalItemHoverBg:Vt}=me;return{[`${ye}-${Ie}, ${ye}-${Ie} > ${ye}`]:{color:Be,background:Xt,[`&${ye}-root:focus-visible`]:Object.assign({},ce(me)),[`${ye}-item`]:{"&-group-title, &-extra":{color:$t}},[`${ye}-submenu-selected > ${ye}-submenu-title`]:{color:xt},[`${ye}-item, ${ye}-submenu-title`]:{color:Be,[`&:not(${ye}-item-disabled):focus-visible`]:Object.assign({},ce(me))},[`${ye}-item-disabled, ${ye}-submenu-disabled`]:{color:`${H} !important`},[`${ye}-item:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{[`&:hover, > ${ye}-submenu-title:hover`]:{color:qr}},[`&:not(${ye}-horizontal)`]:{[`${ye}-item:not(${ye}-item-selected)`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:Rt}},[`${ye}-submenu-title`]:{"&:hover":{backgroundColor:Dn},"&:active":{backgroundColor:Rt}}},[`${ye}-item-danger`]:{color:wt,[`&${ye}-item:hover`]:{[`&:not(${ye}-item-selected):not(${ye}-submenu-selected)`]:{color:ae}},[`&${ye}-item:active`]:{background:Fr}},[`${ye}-item a`]:{"&, &:hover":{color:"inherit"}},[`${ye}-item-selected`]:{color:Ye,[`&${ye}-item-danger`]:{color:Te},"a, a:hover":{color:"inherit"}},[`& ${ye}-item-selected`]:{backgroundColor:jt,[`&${ye}-item-danger`]:{backgroundColor:Mr}},[`&${ye}-submenu > ${ye}`]:{backgroundColor:xr},[`&${ye}-popup > ${ye}`]:{backgroundColor:bn},[`&${ye}-submenu-popup > ${ye}`]:{backgroundColor:bn},[`&${ye}-horizontal`]:Object.assign(Object.assign({},Ie==="dark"?{borderBottom:0}:{}),{[`> ${ye}-item, > ${ye}-submenu`]:{top:pt,marginTop:me.calc(pt).mul(-1).equal(),marginBottom:0,borderRadius:v,"&::after":{position:"absolute",insetInline:hr,bottom:0,borderBottom:`${(0,Ee.unit)(at)} solid transparent`,transition:`border-color ${dt} ${er}`,content:'""'},"&:hover, &-active, &-open":{background:Vt,"&::after":{borderBottomWidth:at,borderBottomColor:sr}},"&-selected":{color:sr,backgroundColor:C,"&:hover":{backgroundColor:C},"&::after":{borderBottomWidth:at,borderBottomColor:sr}}}}),[`&${ye}-root`]:{[`&${ye}-inline, &${ye}-vertical`]:{borderInlineEnd:`${(0,Ee.unit)(pt)} ${Pr} ${w}`}},[`&${ye}-inline`]:{[`${ye}-sub${ye}-inline`]:{background:Ut},[`${ye}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Ee.unit)(yt)} solid ${Ye}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Er} ${or}`,`opacity ${Er} ${or}`].join(","),content:'""'},[`&${ye}-item-danger`]:{"&::after":{borderInlineEndColor:Te}}},[`${ye}-selected, ${ye}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Er} ${er}`,`opacity ${Er} ${er}`].join(",")}}}}}};const R=me=>{const{componentCls:Ie,itemHeight:ye,itemMarginInline:Be,padding:Ye,menuArrowSize:xt,marginXS:$t,itemMarginBlock:Xt,itemWidth:Ut,itemPaddingInline:jt}=me,at=me.calc(xt).add(Ye).add($t).equal();return{[`${Ie}-item`]:{position:"relative",overflow:"hidden"},[`${Ie}-item, ${Ie}-submenu-title`]:{height:ye,lineHeight:(0,Ee.unit)(ye),paddingInline:jt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Be,marginBlock:Xt,width:Ut},[`> ${Ie}-item,
> ${Ie}-submenu > ${Ie}-submenu-title`]:{height:ye,lineHeight:(0,Ee.unit)(ye)},[`${Ie}-item-group-list ${Ie}-submenu-title,
${Ie}-submenu-title`]:{paddingInlineEnd:at}}};var X=me=>{const{componentCls:Ie,iconCls:ye,itemHeight:Be,colorTextLightSolid:Ye,dropdownWidth:xt,controlHeightLG:$t,motionEaseOut:Xt,paddingXL:Ut,itemMarginInline:jt,fontSizeLG:at,motionDurationFast:yt,motionDurationSlow:pt,paddingXS:dt,boxShadowSecondary:er,collapsedWidth:or,collapsedIconSize:hr}=me,Er={height:Be,lineHeight:(0,Ee.unit)(Be),listStylePosition:"inside",listStyleType:"disc"};return[{[Ie]:{"&-inline, &-vertical":Object.assign({[`&${Ie}-root`]:{boxShadow:"none"}},R(me))},[`${Ie}-submenu-popup`]:{[`${Ie}-vertical`]:Object.assign(Object.assign({},R(me)),{boxShadow:er})}},{[`${Ie}-submenu-popup ${Ie}-vertical${Ie}-sub`]:{minWidth:xt,maxHeight:`calc(100vh - ${(0,Ee.unit)(me.calc($t).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ie}-inline`]:{width:"100%",[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${pt}`,`background ${pt}`,`padding ${yt} ${Xt}`].join(","),[`> ${Ie}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ie}-sub${Ie}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ie}-submenu > ${Ie}-submenu-title`]:Er,[`& ${Ie}-item-group-title`]:{paddingInlineStart:Ut}},[`${Ie}-item`]:Er}},{[`${Ie}-inline-collapsed`]:{width:or,[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu ${Ie}-submenu-title`]:{[`> ${Ie}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${Ie}-item,
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-item,
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-submenu > ${Ie}-submenu-title,
> ${Ie}-submenu > ${Ie}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Ee.unit)(me.calc(hr).div(2).equal())} - ${(0,Ee.unit)(jt)})`,textOverflow:"clip",[`
${Ie}-submenu-arrow,
${Ie}-submenu-expand-icon
`]:{opacity:0},[`${Ie}-item-icon, ${ye}`]:{margin:0,fontSize:hr,lineHeight:(0,Ee.unit)(Be),"+ span":{display:"inline-block",opacity:0}}},[`${Ie}-item-icon, ${ye}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ie}-item-icon, ${ye}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${Ie}-item-group-title`]:Object.assign(Object.assign({},et.vS),{paddingInline:dt})}}]};const He=me=>{const{componentCls:Ie,motionDurationSlow:ye,motionDurationMid:Be,motionEaseInOut:Ye,motionEaseOut:xt,iconCls:$t,iconSize:Xt,iconMarginInlineEnd:Ut}=me;return{[`${Ie}-item, ${Ie}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${ye}`,`background ${ye}`,`padding calc(${ye} + 0.1s) ${Ye}`].join(","),[`${Ie}-item-icon, ${$t}`]:{minWidth:Xt,fontSize:Xt,transition:[`font-size ${Be} ${xt}`,`margin ${ye} ${Ye}`,`color ${ye}`].join(","),"+ span":{marginInlineStart:Ut,opacity:1,transition:[`opacity ${ye} ${Ye}`,`margin ${ye}`,`color ${ye}`].join(",")}},[`${Ie}-item-icon`]:Object.assign({},(0,et.Ro)()),[`&${Ie}-item-only-child`]:{[`> ${$t}, > ${Ie}-item-icon`]:{marginInlineEnd:0}}},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Ie}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=me=>{const{componentCls:Ie,motionDurationSlow:ye,motionEaseInOut:Be,borderRadius:Ye,menuArrowSize:xt,menuArrowOffset:$t}=me;return{[`${Ie}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:me.margin,width:xt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${ye} ${Be}, opacity ${ye}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:me.calc(xt).mul(.6).equal(),height:me.calc(xt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${ye} ${Be}`,`transform ${ye} ${Be}`,`top ${ye} ${Be}`,`color ${ye} ${Be}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Ee.unit)(me.calc($t).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Ee.unit)($t)})`}}}}},Ze=me=>{const{antCls:Ie,componentCls:ye,fontSize:Be,motionDurationSlow:Ye,motionDurationMid:xt,motionEaseInOut:$t,paddingXS:Xt,padding:Ut,colorSplit:jt,lineWidth:at,zIndexPopup:yt,borderRadiusLG:pt,subMenuItemBorderRadius:dt,menuArrowSize:er,menuArrowOffset:or,lineType:hr,groupTitleLineHeight:Er,groupTitleFontSize:qr}=me;return[{"":{[ye]:Object.assign(Object.assign({},(0,et.dF)()),{"&-hidden":{display:"none"}})},[`${ye}-submenu-hidden`]:{display:"none"}},{[ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,et.Wf)(me)),(0,et.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Be,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Ye} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${ye}-item`]:{flex:"none"}},[`${ye}-item, ${ye}-submenu, ${ye}-submenu-title`]:{borderRadius:me.itemBorderRadius},[`${ye}-item-group-title`]:{padding:`${(0,Ee.unit)(Xt)} ${(0,Ee.unit)(Ut)}`,fontSize:qr,lineHeight:Er,transition:`all ${Ye}`},[`&-horizontal ${ye}-submenu`]:{transition:[`border-color ${Ye} ${$t}`,`background ${Ye} ${$t}`].join(",")},[`${ye}-submenu, ${ye}-submenu-inline`]:{transition:[`border-color ${Ye} ${$t}`,`background ${Ye} ${$t}`,`padding ${xt} ${$t}`].join(",")},[`${ye}-submenu ${ye}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${$t}`,`padding ${Ye} ${$t}`].join(",")},[`${ye}-title-content`]:{transition:`color ${Ye}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Ie}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${ye}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:me.padding}},[`${ye}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${ye}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:jt,borderStyle:hr,borderWidth:0,borderTopWidth:at,marginBlock:at,padding:0,"&-dashed":{borderStyle:"dashed"}}}),He(me)),{[`${ye}-item-group`]:{[`${ye}-item-group-list`]:{margin:0,padding:0,[`${ye}-item, ${ye}-submenu-title`]:{paddingInline:`${(0,Ee.unit)(me.calc(Be).mul(2).equal())} ${(0,Ee.unit)(Ut)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:yt,borderRadius:pt,boxShadow:"none",transformOrigin:"0 0",[`&${ye}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${ye}`]:Object.assign(Object.assign(Object.assign({borderRadius:pt},He(me)),pe(me)),{[`${ye}-item, ${ye}-submenu > ${ye}-submenu-title`]:{borderRadius:dt},[`${ye}-submenu-title::after`]:{transition:`transform ${Ye} ${$t}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:me.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:me.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:me.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:me.paddingXS}}}),pe(me)),{[`&-inline-collapsed ${ye}-submenu-arrow,
&-inline ${ye}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Ee.unit)(or)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Ee.unit)(me.calc(or).mul(-1).equal())})`}},[`${ye}-submenu-open${ye}-submenu-inline > ${ye}-submenu-title > ${ye}-submenu-arrow`]:{transform:`translateY(${(0,Ee.unit)(me.calc(er).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Ee.unit)(me.calc(or).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Ee.unit)(or)})`}}})},{[`${Ie}-layout-header`]:{[ye]:{lineHeight:"inherit"}}}]},ot=me=>{var Ie,ye,Be;const{colorPrimary:Ye,colorError:xt,colorTextDisabled:$t,colorErrorBg:Xt,colorText:Ut,colorTextDescription:jt,colorBgContainer:at,colorFillAlter:yt,colorFillContent:pt,lineWidth:dt,lineWidthBold:er,controlItemBgActive:or,colorBgTextHover:hr,controlHeightLG:Er,lineHeight:qr,colorBgElevated:Pr,marginXXS:w,padding:H,fontSize:wt,controlHeightSM:ae,fontSizeLG:Te,colorTextLightSolid:Fr,colorErrorHover:Mr}=me,bn=(Ie=me.activeBarWidth)!==null&&Ie!==void 0?Ie:0,Dn=(ye=me.activeBarBorderWidth)!==null&&ye!==void 0?ye:dt,Rt=(Be=me.itemMarginInline)!==null&&Be!==void 0?Be:me.marginXXS,xr=new Pe.FastColor(Fr).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Ut,itemColor:Ut,colorItemTextHover:Ut,itemHoverColor:Ut,colorItemTextHoverHorizontal:Ye,horizontalItemHoverColor:Ye,colorGroupTitle:jt,groupTitleColor:jt,colorItemTextSelected:Ye,itemSelectedColor:Ye,subMenuItemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:at,itemBg:at,colorItemBgHover:hr,itemHoverBg:hr,colorItemBgActive:pt,itemActiveBg:or,colorSubItemBg:yt,subMenuItemBg:yt,colorItemBgSelected:or,itemSelectedBg:or,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:bn,colorActiveBarHeight:er,activeBarHeight:er,colorActiveBarBorderSize:dt,activeBarBorderWidth:Dn,colorItemTextDisabled:$t,itemDisabledColor:$t,colorDangerItemText:xt,dangerItemColor:xt,colorDangerItemTextHover:xt,dangerItemHoverColor:xt,colorDangerItemTextSelected:xt,dangerItemSelectedColor:xt,colorDangerItemBgActive:Xt,dangerItemActiveBg:Xt,colorDangerItemBgSelected:Xt,dangerItemSelectedBg:Xt,itemMarginInline:Rt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Er,groupTitleLineHeight:qr,collapsedWidth:Er*2,popupBg:Pr,itemMarginBlock:w,itemPaddingInline:H,horizontalLineHeight:`${Er*1.15}px`,iconSize:wt,iconMarginInlineEnd:ae-wt,collapsedIconSize:Te,groupTitleFontSize:wt,darkItemDisabledColor:new Pe.FastColor(Fr).setA(.25).toRgbString(),darkItemColor:xr,darkDangerItemColor:xt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Fr,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:xt,darkItemHoverBg:"transparent",darkGroupTitleColor:xr,darkItemHoverColor:Fr,darkDangerItemHoverColor:Mr,darkDangerItemSelectedColor:Fr,darkDangerItemActiveBg:xt,itemWidth:bn?`calc(100% + ${Dn}px)`:`calc(100% - ${Rt*2}px)`}};var ht=function(me){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,se.I$)("Menu",Ye=>{const{colorBgElevated:xt,controlHeightLG:$t,fontSize:Xt,darkItemColor:Ut,darkDangerItemColor:jt,darkItemBg:at,darkSubMenuItemBg:yt,darkItemSelectedColor:pt,darkItemSelectedBg:dt,darkDangerItemSelectedBg:er,darkItemHoverBg:or,darkGroupTitleColor:hr,darkItemHoverColor:Er,darkItemDisabledColor:qr,darkDangerItemHoverColor:Pr,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:H,popupBg:wt,darkPopupBg:ae}=Ye,Te=Ye.calc(Xt).div(7).mul(5).equal(),Fr=(0,Se.mergeToken)(Ye,{menuArrowSize:Te,menuHorizontalHeight:Ye.calc($t).mul(1.15).equal(),menuArrowOffset:Ye.calc(Te).mul(.25).equal(),menuSubMenuBg:xt,calc:Ye.calc,popupBg:wt}),Mr=(0,Se.mergeToken)(Fr,{itemColor:Ut,itemHoverColor:Er,groupTitleColor:hr,itemSelectedColor:pt,subMenuItemSelectedColor:pt,itemBg:at,popupBg:ae,subMenuItemBg:yt,itemActiveBg:"transparent",itemSelectedBg:dt,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:or,itemDisabledColor:qr,dangerItemColor:jt,dangerItemHoverColor:Pr,dangerItemSelectedColor:w,dangerItemActiveBg:H,dangerItemSelectedBg:er,menuSubMenuBg:yt,horizontalItemSelectedColor:pt,horizontalItemSelectedBg:dt});return[Ze(Fr),P(Fr),X(Fr),K(Fr,"light"),K(Mr,"dark"),de(Fr),(0,ke.Z)(Fr),(0,xe.oN)(Fr,"slide-up"),(0,xe.oN)(Fr,"slide-down"),(0,Ce._y)(Fr,"zoom-big")]},ot,{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:ye,unitless:{groupTitleLineHeight:!0}})(me,Ie)},he=n(75030),St=me=>{var Ie;const{popupClassName:ye,icon:Be,title:Ye,theme:xt}=me,$t=o.useContext(F),{prefixCls:Xt,inlineCollapsed:Ut,theme:jt}=$t,at=(0,Xe.Xl)();let yt;if(!Be)yt=Ut&&!at.length&&Ye&&typeof Ye=="string"?o.createElement("div",{className:`${Xt}-inline-collapsed-noicon`},Ye.charAt(0)):o.createElement("span",{className:`${Xt}-title-content`},Ye);else{const er=o.isValidElement(Ye)&&Ye.type==="span";yt=o.createElement(o.Fragment,null,(0,c.Tm)(Be,{className:ee()(o.isValidElement(Be)?(Ie=Be.props)===null||Ie===void 0?void 0:Ie.className:"",`${Xt}-item-icon`)}),er?Ye:o.createElement("span",{className:`${Xt}-title-content`},Ye))}const pt=o.useMemo(()=>Object.assign(Object.assign({},$t),{firstLevel:!1}),[$t]),[dt]=(0,he.Cn)("Menu");return o.createElement(F.Provider,{value:pt},o.createElement(Xe.Wd,Object.assign({},(0,x.Z)(me,["icon"]),{title:yt,popupClassName:ee()(Xt,ye,`${Xt}-${xt||jt}`),popupStyle:Object.assign({zIndex:dt},me.popupStyle)})))},We=function(me,Ie){var ye={};for(var Be in me)Object.prototype.hasOwnProperty.call(me,Be)&&Ie.indexOf(Be)<0&&(ye[Be]=me[Be]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Be=Object.getOwnPropertySymbols(me);Ye<Be.length;Ye++)Ie.indexOf(Be[Ye])<0&&Object.prototype.propertyIsEnumerable.call(me,Be[Ye])&&(ye[Be[Ye]]=me[Be[Ye]]);return ye};function Re(me){return me===null||me===!1}const M={item:J,submenu:St,divider:z};var ge=(0,o.forwardRef)((me,Ie)=>{var ye;const Be=o.useContext(te.Z),Ye=Be||{},{getPrefixCls:xt,getPopupContainer:$t,direction:Xt,menu:Ut}=o.useContext(L.E_),jt=xt(),{prefixCls:at,className:yt,style:pt,theme:dt="light",expandIcon:er,_internalDisableMenuItemTitleTooltip:or,inlineCollapsed:hr,siderCollapsed:Er,rootClassName:qr,mode:Pr,selectable:w,onClick:H,overflowedIndicatorPopupClassName:wt}=me,ae=We(me,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Te=(0,x.Z)(ae,["collapsedWidth"]);(ye=Ye.validator)===null||ye===void 0||ye.call(Ye,{mode:Pr});const Fr=(0,Y.Z)(function(){var Wr;H==null||H.apply(void 0,arguments),(Wr=Ye.onClick)===null||Wr===void 0||Wr.call(Ye)}),Mr=Ye.mode||Pr,bn=w!=null?w:Ye.selectable,Dn=hr!=null?hr:Er,Rt={horizontal:{motionName:`${jt}-slide-up`},inline:(0,Z.Z)(jt),other:{motionName:`${jt}-zoom-big`}},xr=xt("menu",at||Ye.prefixCls),sr=(0,D.Z)(xr),[C,v,Vt]=ht(xr,sr,!Be),$=ee()(`${xr}-${dt}`,Ut==null?void 0:Ut.className,yt),Oe=o.useMemo(()=>{var Wr,Ht;if(typeof er=="function"||Re(er))return er||null;if(typeof Ye.expandIcon=="function"||Re(Ye.expandIcon))return Ye.expandIcon||null;if(typeof(Ut==null?void 0:Ut.expandIcon)=="function"||Re(Ut==null?void 0:Ut.expandIcon))return(Ut==null?void 0:Ut.expandIcon)||null;const Gt=(Wr=er!=null?er:Ye==null?void 0:Ye.expandIcon)!==null&&Wr!==void 0?Wr:Ut==null?void 0:Ut.expandIcon;return(0,c.Tm)(Gt,{className:ee()(`${xr}-submenu-expand-icon`,o.isValidElement(Gt)?(Ht=Gt.props)===null||Ht===void 0?void 0:Ht.className:void 0)})},[er,Ye==null?void 0:Ye.expandIcon,Ut==null?void 0:Ut.expandIcon,xr]),ln=o.useMemo(()=>({prefixCls:xr,inlineCollapsed:Dn||!1,direction:Xt,firstLevel:!0,theme:dt,mode:Mr,disableMenuItemTitleTooltip:or}),[xr,Dn,Xt,or,dt]);return C(o.createElement(te.Z.Provider,{value:null},o.createElement(F.Provider,{value:ln},o.createElement(Xe.ZP,Object.assign({getPopupContainer:$t,overflowedIndicator:o.createElement(De.Z,null),overflowedIndicatorPopupClassName:ee()(xr,`${xr}-${dt}`,wt),mode:Mr,selectable:bn,onClick:Fr},Te,{inlineCollapsed:Dn,style:Object.assign(Object.assign({},Ut==null?void 0:Ut.style),pt),className:$,prefixCls:xr,direction:Xt,defaultMotions:Rt,expandIcon:Oe,ref:Ie,rootClassName:ee()(qr,v,Ye.rootClassName,Vt,sr),_internalComponents:M})))))});const ue=(0,o.forwardRef)((me,Ie)=>{const ye=(0,o.useRef)(null),Be=o.useContext(B.D);return(0,o.useImperativeHandle)(Ie,()=>({menu:ye.current,focus:Ye=>{var xt;(xt=ye.current)===null||xt===void 0||xt.focus(Ye)}})),o.createElement(ge,Object.assign({ref:ye},me,Be))});ue.Item=J,ue.SubMenu=St,ue.Divider=z,ue.ItemGroup=Xe.BW;var fe=ue},13747:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return ht}});var o=n(59301),Xe=n(54476),B={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"},De=B,q=n(7657),ee=function(Le,St){return o.createElement(q.Z,(0,Xe.Z)({},Le,{ref:St,icon:De}))},Y=o.forwardRef(ee),x=Y,Z=n(49198),c=n(33853),L=n(38819),D=n(92310),U=n.n(D),F=n(23425),_=n(61852),I=n(48755),z=n(31756),O=n(13783),A=n(9017),oe=n(82326),J=n(57700),te=n(36237),Ee=n(53075),Pe=n(64910),et=n(39082),ke=n(63356),xe=n(51636),Ce=n(16931);const se=he=>{const{componentCls:Le}=he;return{[`${Le}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Le}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Le}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed"}}},[`&${Le}-disabled`]:{cursor:"not-allowed",[`${Le}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:he.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:he.colorBorder,backgroundColor:he.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:he.itemActiveBgDisabled},a:{color:he.itemActiveColorDisabled}}},[`${Le}-item-link`]:{color:he.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Le}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Le}-simple-pager`]:{color:he.colorTextDisabled},[`${Le}-jump-prev, ${Le}-jump-next`]:{[`${Le}-item-link-icon`]:{opacity:0},[`${Le}-item-ellipsis`]:{opacity:1}}},[`&${Le}-simple`]:{[`${Le}-prev, ${Le}-next`]:{[`&${Le}-disabled ${Le}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Se=he=>{const{componentCls:Le}=he;return{[`&${Le}-mini ${Le}-total-text, &${Le}-mini ${Le}-simple-pager`]:{height:he.itemSizeSM,lineHeight:(0,te.unit)(he.itemSizeSM)},[`&${Le}-mini ${Le}-item`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:(0,te.unit)(he.calc(he.itemSizeSM).sub(2).equal())},[`&${Le}-mini ${Le}-prev, &${Le}-mini ${Le}-next`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:(0,te.unit)(he.itemSizeSM)},[`&${Le}-mini:not(${Le}-disabled)`]:{[`${Le}-prev, ${Le}-next`]:{[`&:hover ${Le}-item-link`]:{backgroundColor:he.colorBgTextHover},[`&:active ${Le}-item-link`]:{backgroundColor:he.colorBgTextActive},[`&${Le}-disabled:hover ${Le}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Le}-mini ${Le}-prev ${Le}-item-link,
&${Le}-mini ${Le}-next ${Le}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:he.itemSizeSM,lineHeight:(0,te.unit)(he.itemSizeSM)}},[`&${Le}-mini ${Le}-jump-prev, &${Le}-mini ${Le}-jump-next`]:{height:he.itemSizeSM,marginInlineEnd:0,lineHeight:(0,te.unit)(he.itemSizeSM)},[`&${Le}-mini ${Le}-options`]:{marginInlineStart:he.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:he.miniOptionsSizeChangerTop},"&-quick-jumper":{height:he.itemSizeSM,lineHeight:(0,te.unit)(he.itemSizeSM),input:Object.assign(Object.assign({},(0,Ee.x0)(he)),{width:he.paginationMiniQuickJumperInputWidth,height:he.controlHeightSM})}}}},T=he=>{const{componentCls:Le}=he;return{[`
&${Le}-simple ${Le}-prev,
&${Le}-simple ${Le}-next
`]:{height:he.itemSizeSM,lineHeight:(0,te.unit)(he.itemSizeSM),verticalAlign:"top",[`${Le}-item-link`]:{height:he.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive},"&::after":{height:he.itemSizeSM,lineHeight:(0,te.unit)(he.itemSizeSM)}}},[`&${Le}-simple ${Le}-simple-pager`]:{display:"inline-block",height:he.itemSizeSM,marginInlineEnd:he.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,te.unit)(he.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:he.itemInputBg,border:`${(0,te.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,borderRadius:he.borderRadius,outline:"none",transition:`border-color ${he.motionDurationMid}`,color:"inherit","&:hover":{borderColor:he.colorPrimary},"&:focus":{borderColor:he.colorPrimaryHover,boxShadow:`${(0,te.unit)(he.inputOutlineOffset)} 0 ${(0,te.unit)(he.controlOutlineWidth)} ${he.controlOutline}`},"&[disabled]":{color:he.colorTextDisabled,backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,cursor:"not-allowed"}}}}},P=he=>{const{componentCls:Le}=he;return{[`${Le}-jump-prev, ${Le}-jump-next`]:{outline:0,[`${Le}-item-container`]:{position:"relative",[`${Le}-item-link-icon`]:{color:he.colorPrimary,fontSize:he.fontSizeSM,opacity:0,transition:`all ${he.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Le}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:he.colorTextDisabled,letterSpacing:he.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:he.paginationEllipsisTextIndent,opacity:1,transition:`all ${he.motionDurationMid}`}},"&:hover":{[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}}},[`
${Le}-prev,
${Le}-jump-prev,
${Le}-jump-next
`]:{marginInlineEnd:he.marginXS},[`
${Le}-prev,
${Le}-next,
${Le}-jump-prev,
${Le}-jump-next
`]:{display:"inline-block",minWidth:he.itemSize,height:he.itemSize,color:he.colorText,fontFamily:he.fontFamily,lineHeight:(0,te.unit)(he.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:he.borderRadius,cursor:"pointer",transition:`all ${he.motionDurationMid}`},[`${Le}-prev, ${Le}-next`]:{outline:0,button:{color:he.colorText,cursor:"pointer",userSelect:"none"},[`${Le}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:he.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,te.unit)(he.lineWidth)} ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:"none",transition:`all ${he.motionDurationMid}`},[`&:hover ${Le}-item-link`]:{backgroundColor:he.colorBgTextHover},[`&:active ${Le}-item-link`]:{backgroundColor:he.colorBgTextActive},[`&${Le}-disabled:hover`]:{[`${Le}-item-link`]:{backgroundColor:"transparent"}}},[`${Le}-slash`]:{marginInlineEnd:he.paginationSlashMarginInlineEnd,marginInlineStart:he.paginationSlashMarginInlineStart},[`${Le}-options`]:{display:"inline-block",marginInlineStart:he.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:he.controlHeight,marginInlineStart:he.marginXS,lineHeight:(0,te.unit)(he.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,Ee.ik)(he)),(0,et.$U)(he,{borderColor:he.colorBorder,hoverBorderColor:he.colorPrimaryHover,activeBorderColor:he.colorPrimary,activeShadow:he.activeShadow})),{"&[disabled]":Object.assign({},(0,et.Xy)(he)),width:he.calc(he.controlHeightLG).mul(1.25).equal(),height:he.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:he.marginXS,marginInlineEnd:he.marginXS})}}}},nt=he=>{const{componentCls:Le}=he;return{[`${Le}-item`]:{display:"inline-block",minWidth:he.itemSize,height:he.itemSize,marginInlineEnd:he.marginXS,fontFamily:he.fontFamily,lineHeight:(0,te.unit)(he.calc(he.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:he.itemBg,border:`${(0,te.unit)(he.lineWidth)} ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,te.unit)(he.paginationItemPaddingInline)}`,color:he.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Le}-item-active)`]:{"&:hover":{transition:`all ${he.motionDurationMid}`,backgroundColor:he.colorBgTextHover},"&:active":{backgroundColor:he.colorBgTextActive}},"&-active":{fontWeight:he.fontWeightStrong,backgroundColor:he.itemActiveBg,borderColor:he.colorPrimary,a:{color:he.colorPrimary},"&:hover":{borderColor:he.colorPrimaryHover},"&:hover a":{color:he.colorPrimaryHover}}}}},de=he=>{const{componentCls:Le}=he;return{[Le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ke.Wf)(he)),{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:'""'},[`${Le}-total-text`]:{display:"inline-block",height:he.itemSize,marginInlineEnd:he.marginXS,lineHeight:(0,te.unit)(he.calc(he.itemSize).sub(2).equal()),verticalAlign:"middle"}}),nt(he)),P(he)),T(he)),Se(he)),se(he)),{[`@media only screen and (max-width: ${he.screenLG}px)`]:{[`${Le}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${he.screenSM}px)`]:{[`${Le}-options`]:{display:"none"}}}),[`&${he.componentCls}-rtl`]:{direction:"rtl"}}},ce=he=>{const{componentCls:Le}=he;return{[`${Le}:not(${Le}-disabled)`]:{[`${Le}-item`]:Object.assign({},(0,ke.Qy)(he)),[`${Le}-jump-prev, ${Le}-jump-next`]:{"&:focus-visible":Object.assign({[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}},(0,ke.oN)(he))},[`${Le}-prev, ${Le}-next`]:{[`&:focus-visible ${Le}-item-link`]:Object.assign({},(0,ke.oN)(he))}}}},y=he=>Object.assign({itemBg:he.colorBgContainer,itemSize:he.controlHeight,itemSizeSM:he.controlHeightSM,itemActiveBg:he.colorBgContainer,itemLinkBg:he.colorBgContainer,itemActiveColorDisabled:he.colorTextDisabled,itemActiveBgDisabled:he.controlItemBgActiveDisabled,itemInputBg:he.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Pe.T)(he)),K=he=>(0,xe.mergeToken)(he,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:he.calc(he.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:he.calc(he.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:he.calc(he.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:he.calc(he.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:he.marginSM,paginationSlashMarginInlineEnd:he.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Pe.e)(he));var R=(0,Ce.I$)("Pagination",he=>{const Le=K(he);return[de(Le),ce(Le)]},y);const S=he=>{const{componentCls:Le}=he;return{[`${Le}${Le}-bordered${Le}-disabled:not(${Le}-mini)`]:{"&, &:hover":{[`${Le}-item-link`]:{borderColor:he.colorBorder}},"&:focus-visible":{[`${Le}-item-link`]:{borderColor:he.colorBorder}},[`${Le}-item, ${Le}-item-link`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,[`&:hover:not(${Le}-item-active)`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,a:{color:he.colorTextDisabled}},[`&${Le}-item-active`]:{backgroundColor:he.itemActiveBgDisabled}},[`${Le}-prev, ${Le}-next`]:{"&:hover button":{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,color:he.colorTextDisabled},[`${Le}-item-link`]:{backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder}}},[`${Le}${Le}-bordered:not(${Le}-mini)`]:{[`${Le}-prev, ${Le}-next`]:{"&:hover button":{borderColor:he.colorPrimaryHover,backgroundColor:he.itemBg},[`${Le}-item-link`]:{backgroundColor:he.itemLinkBg,borderColor:he.colorBorder},[`&:hover ${Le}-item-link`]:{borderColor:he.colorPrimary,backgroundColor:he.itemBg,color:he.colorPrimary},[`&${Le}-disabled`]:{[`${Le}-item-link`]:{borderColor:he.colorBorder,color:he.colorTextDisabled}}},[`${Le}-item`]:{backgroundColor:he.itemBg,border:`${(0,te.unit)(he.lineWidth)} ${he.lineType} ${he.colorBorder}`,[`&:hover:not(${Le}-item-active)`]:{borderColor:he.colorPrimary,backgroundColor:he.itemBg,a:{color:he.colorPrimary}},"&-active":{borderColor:he.colorPrimary}}}}};var X=(0,Ce.bk)(["Pagination","bordered"],he=>{const Le=K(he);return[S(Le)]},y);function He(he){return(0,o.useMemo)(()=>typeof he=="boolean"?[he,{}]:he&&typeof he=="object"?[!0,he]:[void 0,void 0],[he])}var pe=function(he,Le){var St={};for(var We in he)Object.prototype.hasOwnProperty.call(he,We)&&Le.indexOf(We)<0&&(St[We]=he[We]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,We=Object.getOwnPropertySymbols(he);Re<We.length;Re++)Le.indexOf(We[Re])<0&&Object.prototype.propertyIsEnumerable.call(he,We[Re])&&(St[We[Re]]=he[We[Re]]);return St},ot=he=>{const{align:Le,prefixCls:St,selectPrefixCls:We,className:Re,rootClassName:M,style:_e,size:ge,locale:ue,responsive:fe,showSizeChanger:me,selectComponentClass:Ie,pageSizeOptions:ye}=he,Be=pe(he,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Ye}=(0,O.Z)(fe),[,xt]=(0,J.ZP)(),{getPrefixCls:$t,direction:Xt,showSizeChanger:Ut,className:jt,style:at}=(0,I.dj)("pagination"),yt=$t("pagination",St),[pt,dt,er]=R(yt),or=(0,z.Z)(ge),hr=or==="small"||!!(Ye&&!or&&fe),[Er]=(0,A.Z)("Pagination",_.Z),qr=Object.assign(Object.assign({},Er),ue),[Pr,w]=He(me),[H,wt]=He(Ut),ae=Pr!=null?Pr:H,Te=w!=null?w:wt,Fr=Ie||oe.default,Mr=o.useMemo(()=>ye?ye.map(C=>Number(C)):void 0,[ye]),bn=C=>{var v;const{disabled:Vt,size:$,onSizeChange:Oe,"aria-label":ln,className:Wr,options:Ht}=C,{className:Gt,onChange:br}=Te||{},Kr=(v=Ht.find(an=>String(an.value)===String($)))===null||v===void 0?void 0:v.value;return o.createElement(Fr,Object.assign({disabled:Vt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:an=>an.parentNode,"aria-label":ln,options:Ht},Te,{value:Kr,onChange:(an,An)=>{Oe==null||Oe(an),br==null||br(an,An)},size:hr?"small":"middle",className:U()(Wr,Gt)}))},Dn=o.useMemo(()=>{const C=o.createElement("span",{className:`${yt}-item-ellipsis`},"\u2022\u2022\u2022"),v=o.createElement("button",{className:`${yt}-item-link`,type:"button",tabIndex:-1},Xt==="rtl"?o.createElement(L.Z,null):o.createElement(c.Z,null)),Vt=o.createElement("button",{className:`${yt}-item-link`,type:"button",tabIndex:-1},Xt==="rtl"?o.createElement(c.Z,null):o.createElement(L.Z,null)),$=o.createElement("a",{className:`${yt}-item-link`},o.createElement("div",{className:`${yt}-item-container`},Xt==="rtl"?o.createElement(Z.Z,{className:`${yt}-item-link-icon`}):o.createElement(x,{className:`${yt}-item-link-icon`}),C)),Oe=o.createElement("a",{className:`${yt}-item-link`},o.createElement("div",{className:`${yt}-item-container`},Xt==="rtl"?o.createElement(x,{className:`${yt}-item-link-icon`}):o.createElement(Z.Z,{className:`${yt}-item-link-icon`}),C));return{prevIcon:v,nextIcon:Vt,jumpPrevIcon:$,jumpNextIcon:Oe}},[Xt,yt]),Rt=$t("select",We),xr=U()({[`${yt}-${Le}`]:!!Le,[`${yt}-mini`]:hr,[`${yt}-rtl`]:Xt==="rtl",[`${yt}-bordered`]:xt.wireframe},jt,Re,M,dt,er),sr=Object.assign(Object.assign({},at),_e);return pt(o.createElement(o.Fragment,null,xt.wireframe&&o.createElement(X,{prefixCls:yt}),o.createElement(F.Z,Object.assign({},Dn,Be,{style:sr,prefixCls:yt,selectPrefixCls:Rt,className:xr,locale:qr,pageSizeOptions:Mr,showSizeChanger:ae,sizeChangerRender:bn}))))},ht=ot},93725:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return xe}});var o=n(59301),Xe=n(96512),B=n(92310),De=n.n(B),q=n(18929),ee=n(2738),Y=n(48755),x=n(37639),Z=n(15565),c=n(54500),L=n(7939),D=n(61670),U=n(9017),F=n(85981),_=n(69106),I=n(16931);const z=Ce=>{const{componentCls:se,iconCls:Se,antCls:T,zIndexPopup:P,colorText:nt,colorWarning:de,marginXXS:ce,marginXS:y,fontSize:K,fontWeightStrong:R,colorTextHeading:S}=Ce;return{[se]:{zIndex:P,[`&${T}-popover`]:{fontSize:K},[`${se}-message`]:{marginBottom:y,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${se}-message-icon ${Se}`]:{color:de,fontSize:K,lineHeight:1,marginInlineEnd:y},[`${se}-title`]:{fontWeight:R,color:S,"&:only-child":{fontWeight:"normal"}},[`${se}-description`]:{marginTop:ce,color:nt}},[`${se}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:y}}}}},O=Ce=>{const{zIndexPopupBase:se}=Ce;return{zIndexPopup:se+60}};var A=(0,I.I$)("Popconfirm",Ce=>z(Ce),O,{resetStyle:!1}),oe=function(Ce,se){var Se={};for(var T in Ce)Object.prototype.hasOwnProperty.call(Ce,T)&&se.indexOf(T)<0&&(Se[T]=Ce[T]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,T=Object.getOwnPropertySymbols(Ce);P<T.length;P++)se.indexOf(T[P])<0&&Object.prototype.propertyIsEnumerable.call(Ce,T[P])&&(Se[T[P]]=Ce[T[P]]);return Se};const J=Ce=>{const{prefixCls:se,okButtonProps:Se,cancelButtonProps:T,title:P,description:nt,cancelText:de,okText:ce,okType:y="primary",icon:K=o.createElement(Xe.Z,null),showCancel:R=!0,close:S,onConfirm:X,onCancel:He,onPopupClick:pe}=Ce,{getPrefixCls:Ze}=o.useContext(Y.E_),[ot]=(0,U.Z)("Popconfirm",F.Z.Popconfirm),ht=(0,c.Z)(P),he=(0,c.Z)(nt);return o.createElement("div",{className:`${se}-inner-content`,onClick:pe},o.createElement("div",{className:`${se}-message`},K&&o.createElement("span",{className:`${se}-message-icon`},K),o.createElement("div",{className:`${se}-message-text`},ht&&o.createElement("div",{className:`${se}-title`},ht),he&&o.createElement("div",{className:`${se}-description`},he))),o.createElement("div",{className:`${se}-buttons`},R&&o.createElement(L.ZP,Object.assign({onClick:He,size:"small"},T),de||(ot==null?void 0:ot.cancelText)),o.createElement(Z.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,D.nx)(y)),Se),actionFn:X,close:S,prefixCls:Ze("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ce||(ot==null?void 0:ot.okText))))};var Ee=Ce=>{const{prefixCls:se,placement:Se,className:T,style:P}=Ce,nt=oe(Ce,["prefixCls","placement","className","style"]),{getPrefixCls:de}=o.useContext(Y.E_),ce=de("popconfirm",se),[y]=A(ce);return y(o.createElement(_.ZP,{placement:Se,className:De()(ce,T),style:P,content:o.createElement(J,Object.assign({prefixCls:ce},nt))}))},Pe=function(Ce,se){var Se={};for(var T in Ce)Object.prototype.hasOwnProperty.call(Ce,T)&&se.indexOf(T)<0&&(Se[T]=Ce[T]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,T=Object.getOwnPropertySymbols(Ce);P<T.length;P++)se.indexOf(T[P])<0&&Object.prototype.propertyIsEnumerable.call(Ce,T[P])&&(Se[T[P]]=Ce[T[P]]);return Se};const ke=o.forwardRef((Ce,se)=>{var Se,T;const{prefixCls:P,placement:nt="top",trigger:de="click",okType:ce="primary",icon:y=o.createElement(Xe.Z,null),children:K,overlayClassName:R,onOpenChange:S,onVisibleChange:X,overlayStyle:He,styles:pe,classNames:Ze}=Ce,ot=Pe(Ce,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:ht,className:he,style:Le,classNames:St,styles:We}=(0,Y.dj)("popconfirm"),[Re,M]=(0,q.Z)(!1,{value:(Se=Ce.open)!==null&&Se!==void 0?Se:Ce.visible,defaultValue:(T=Ce.defaultOpen)!==null&&T!==void 0?T:Ce.defaultVisible}),_e=(xt,$t)=>{M(xt,!0),X==null||X(xt),S==null||S(xt,$t)},ge=xt=>{_e(!1,xt)},ue=xt=>{var $t;return($t=Ce.onConfirm)===null||$t===void 0?void 0:$t.call(void 0,xt)},fe=xt=>{var $t;_e(!1,xt),($t=Ce.onCancel)===null||$t===void 0||$t.call(void 0,xt)},me=(xt,$t)=>{const{disabled:Xt=!1}=Ce;Xt||_e(xt,$t)},Ie=ht("popconfirm",P),ye=De()(Ie,he,R,St.root,Ze==null?void 0:Ze.root),Be=De()(St.body,Ze==null?void 0:Ze.body),[Ye]=A(Ie);return Ye(o.createElement(x.Z,Object.assign({},(0,ee.Z)(ot,["title"]),{trigger:de,placement:nt,onOpenChange:me,open:Re,ref:se,classNames:{root:ye,body:Be},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},We.root),Le),He),pe==null?void 0:pe.root),body:Object.assign(Object.assign({},We.body),pe==null?void 0:pe.body)},content:o.createElement(J,Object.assign({okType:ce,icon:y},Ce,{prefixCls:Ie,close:ge,onConfirm:ue,onCancel:fe})),"data-popover-inject":!0}),K))});ke._InternalPanelDoNotUseOrYouWillBeFired=Ee;var xe=ke},69106:function(Qr,_t,n){"use strict";n.d(_t,{aV:function(){return Z},t5:function(){return c}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(29125),q=n(54500),ee=n(48755),Y=n(85074),x=function(D,U){var F={};for(var _ in D)Object.prototype.hasOwnProperty.call(D,_)&&U.indexOf(_)<0&&(F[_]=D[_]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,_=Object.getOwnPropertySymbols(D);I<_.length;I++)U.indexOf(_[I])<0&&Object.prototype.propertyIsEnumerable.call(D,_[I])&&(F[_[I]]=D[_[I]]);return F};const Z=D=>{let{title:U,content:F,prefixCls:_}=D;return!U&&!F?null:o.createElement(o.Fragment,null,U&&o.createElement("div",{className:`${_}-title`},U),F&&o.createElement("div",{className:`${_}-inner-content`},F))},c=D=>{const{hashId:U,prefixCls:F,className:_,style:I,placement:z="top",title:O,content:A,children:oe}=D,J=(0,q.Z)(O),te=(0,q.Z)(A),Ee=B()(U,F,`${F}-pure`,`${F}-placement-${z}`,_);return o.createElement("div",{className:Ee,style:I},o.createElement("div",{className:`${F}-arrow`}),o.createElement(De.G,Object.assign({},D,{className:U,prefixCls:F}),oe||o.createElement(Z,{prefixCls:F,title:J,content:te})))},L=D=>{const{prefixCls:U,className:F}=D,_=x(D,["prefixCls","className"]),{getPrefixCls:I}=o.useContext(ee.E_),z=I("popover",U),[O,A,oe]=(0,Y.Z)(z);return O(o.createElement(c,Object.assign({},_,{prefixCls:z,hashId:A,className:B()(F,oe)})))};_t.ZP=L},37639:function(Qr,_t,n){"use strict";var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(18929),q=n(10228),ee=n(54500),Y=n(86641),x=n(22703),Z=n(25399),c=n(69106),L=n(48755),D=n(85074),U=function(I,z){var O={};for(var A in I)Object.prototype.hasOwnProperty.call(I,A)&&z.indexOf(A)<0&&(O[A]=I[A]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var oe=0,A=Object.getOwnPropertySymbols(I);oe<A.length;oe++)z.indexOf(A[oe])<0&&Object.prototype.propertyIsEnumerable.call(I,A[oe])&&(O[A[oe]]=I[A[oe]]);return O};const _=o.forwardRef((I,z)=>{var O,A;const{prefixCls:oe,title:J,content:te,overlayClassName:Ee,placement:Pe="top",trigger:et="hover",children:ke,mouseEnterDelay:xe=.1,mouseLeaveDelay:Ce=.1,onOpenChange:se,overlayStyle:Se={},styles:T,classNames:P}=I,nt=U(I,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:de,className:ce,style:y,classNames:K,styles:R}=(0,L.dj)("popover"),S=de("popover",oe),[X,He,pe]=(0,D.Z)(S),Ze=de(),ot=B()(Ee,He,pe,ce,K.root,P==null?void 0:P.root),ht=B()(K.body,P==null?void 0:P.body),[he,Le]=(0,De.Z)(!1,{value:(O=I.open)!==null&&O!==void 0?O:I.visible,defaultValue:(A=I.defaultOpen)!==null&&A!==void 0?A:I.defaultVisible}),St=(ge,ue)=>{Le(ge,!0),se==null||se(ge,ue)},We=ge=>{ge.keyCode===q.Z.ESC&&St(!1,ge)},Re=ge=>{St(ge)},M=(0,ee.Z)(J),_e=(0,ee.Z)(te);return X(o.createElement(Z.Z,Object.assign({placement:Pe,trigger:et,mouseEnterDelay:xe,mouseLeaveDelay:Ce},nt,{prefixCls:S,classNames:{root:ot,body:ht},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},R.root),y),Se),T==null?void 0:T.root),body:Object.assign(Object.assign({},R.body),T==null?void 0:T.body)},ref:z,open:he,onOpenChange:Re,overlay:M||_e?o.createElement(c.aV,{prefixCls:S,title:M,content:_e}):null,transitionName:(0,Y.m)(Ze,"zoom-big",nt.transitionName),"data-popover-inject":!0}),(0,x.Tm)(ke,{onKeyDown:ge=>{var ue,fe;o.isValidElement(ke)&&((fe=ke==null?void 0:(ue=ke.props).onKeyDown)===null||fe===void 0||fe.call(ue,ge)),We(ge)}})))});_._InternalPanelDoNotUseOrYouWillBeFired=c.ZP,_t.Z=_},85074:function(Qr,_t,n){"use strict";var o=n(63356),Xe=n(34925),B=n(37645),De=n(36305),q=n(34998),ee=n(16931),Y=n(51636);const x=L=>{const{componentCls:D,popoverColor:U,titleMinWidth:F,fontWeightStrong:_,innerPadding:I,boxShadowSecondary:z,colorTextHeading:O,borderRadiusLG:A,zIndexPopup:oe,titleMarginBottom:J,colorBgElevated:te,popoverBg:Ee,titleBorderBottom:Pe,innerContentPadding:et,titlePadding:ke}=L;return[{[D]:Object.assign(Object.assign({},(0,o.Wf)(L)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:oe,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":te,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${D}-content`]:{position:"relative"},[`${D}-inner`]:{backgroundColor:Ee,backgroundClip:"padding-box",borderRadius:A,boxShadow:z,padding:I},[`${D}-title`]:{minWidth:F,marginBottom:J,color:O,fontWeight:_,borderBottom:Pe,padding:ke},[`${D}-inner-content`]:{color:U,padding:et}})},(0,B.ZP)(L,"var(--antd-arrow-background-color)"),{[`${D}-pure`]:{position:"relative",maxWidth:"none",margin:L.sizePopupArrow,display:"inline-block",[`${D}-content`]:{display:"inline-block"}}}]},Z=L=>{const{componentCls:D}=L;return{[D]:q.i.map(U=>{const F=L[`${U}6`];return{[`&${D}-${U}`]:{"--antd-arrow-background-color":F,[`${D}-inner`]:{backgroundColor:F},[`${D}-arrow`]:{background:"transparent"}}}})}},c=L=>{const{lineWidth:D,controlHeight:U,fontHeight:F,padding:_,wireframe:I,zIndexPopupBase:z,borderRadiusLG:O,marginXS:A,lineType:oe,colorSplit:J,paddingSM:te}=L,Ee=U-F,Pe=Ee/2,et=Ee/2-D,ke=_;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:z+30},(0,De.w)(L)),(0,B.wZ)({contentRadius:O,limitVerticalRadius:!0})),{innerPadding:I?0:12,titleMarginBottom:I?0:A,titlePadding:I?`${Pe}px ${ke}px ${et}px`:0,titleBorderBottom:I?`${D}px ${oe} ${J}`:"none",innerContentPadding:I?`${te}px ${ke}px`:0})};_t.Z=(0,ee.I$)("Popover",L=>{const{colorBgElevated:D,colorText:U}=L,F=(0,Y.mergeToken)(L,{popoverBg:D,popoverColor:U});return[x(F),Z(F),(0,Xe._y)(F,"zoom-big")]},c,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return St}});var o=n(59301),Xe=n(17835),B=n(29679),De=n(40001),q=n(19248),ee=n(99267),Y=n(92310),x=n.n(Y),Z=n(2738),c=n(48755),L=n(25930),D=n(25399),U=n(68361);function F(We){return!We||We<0?0:We>100?100:We}function _(We){let{success:Re,successPercent:M}=We,_e=M;return Re&&"progress"in Re&&(_e=Re.progress),Re&&"percent"in Re&&(_e=Re.percent),_e}const I=We=>{let{percent:Re,success:M,successPercent:_e}=We;const ge=F(_({success:M,successPercent:_e}));return[ge,F(F(Re)-ge)]},z=We=>{let{success:Re={},strokeColor:M}=We;const{strokeColor:_e}=Re;return[_e||U.presetPrimaryColors.green,M||null]},O=(We,Re,M)=>{var _e,ge,ue,fe;let me=-1,Ie=-1;if(Re==="step"){const ye=M.steps,Be=M.strokeWidth;typeof We=="string"||typeof We=="undefined"?(me=We==="small"?2:14,Ie=Be!=null?Be:8):typeof We=="number"?[me,Ie]=[We,We]:[me=14,Ie=8]=Array.isArray(We)?We:[We.width,We.height],me*=ye}else if(Re==="line"){const ye=M==null?void 0:M.strokeWidth;typeof We=="string"||typeof We=="undefined"?Ie=ye||(We==="small"?6:8):typeof We=="number"?[me,Ie]=[We,We]:[me=-1,Ie=8]=Array.isArray(We)?We:[We.width,We.height]}else(Re==="circle"||Re==="dashboard")&&(typeof We=="string"||typeof We=="undefined"?[me,Ie]=We==="small"?[60,60]:[120,120]:typeof We=="number"?[me,Ie]=[We,We]:Array.isArray(We)&&(me=(ge=(_e=We[0])!==null&&_e!==void 0?_e:We[1])!==null&&ge!==void 0?ge:120,Ie=(fe=(ue=We[0])!==null&&ue!==void 0?ue:We[1])!==null&&fe!==void 0?fe:120));return[me,Ie]},A=3,oe=We=>A/We*100;var te=We=>{const{prefixCls:Re,trailColor:M=null,strokeLinecap:_e="round",gapPosition:ge,gapDegree:ue,width:fe=120,type:me,children:Ie,success:ye,size:Be=fe,steps:Ye}=We,[xt,$t]=O(Be,"circle");let{strokeWidth:Xt}=We;Xt===void 0&&(Xt=Math.max(oe(xt),6));const Ut={width:xt,height:$t,fontSize:xt*.15+6},jt=o.useMemo(()=>{if(ue||ue===0)return ue;if(me==="dashboard")return 75},[ue,me]),at=I(We),yt=ge||me==="dashboard"&&"bottom"||void 0,pt=Object.prototype.toString.call(We.strokeColor)==="[object Object]",dt=z({success:ye,strokeColor:We.strokeColor}),er=x()(`${Re}-inner`,{[`${Re}-circle-gradient`]:pt}),or=o.createElement(L.Cd,{steps:Ye,percent:Ye?at[1]:at,strokeWidth:Xt,trailWidth:Xt,strokeColor:Ye?dt[1]:dt,strokeLinecap:_e,trailColor:M,prefixCls:Re,gapDegree:jt,gapPosition:yt}),hr=xt<=20,Er=o.createElement("div",{className:er,style:Ut},or,!hr&&Ie);return hr?o.createElement(D.Z,{title:Ie},Er):Er},Ee=n(36237),Pe=n(63356),et=n(16931),ke=n(51636);const xe="--progress-line-stroke-color",Ce="--progress-percent",se=We=>{const Re=We?"100%":"-100%";return new Ee.Keyframes(`antProgress${We?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Re}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Re}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Se=We=>{const{componentCls:Re,iconCls:M}=We;return{[Re]:Object.assign(Object.assign({},(0,Pe.Wf)(We)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:We.fontSize},[`${Re}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Re}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:We.remainingColor,borderRadius:We.lineBorderRadius},[`${Re}-inner:not(${Re}-circle-gradient)`]:{[`${Re}-circle-path`]:{stroke:We.defaultColor}},[`${Re}-success-bg, ${Re}-bg`]:{position:"relative",background:We.defaultColor,borderRadius:We.lineBorderRadius,transition:`all ${We.motionDurationSlow} ${We.motionEaseInOutCirc}`},[`${Re}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Re}-text`]:{width:"max-content",marginInlineStart:0,marginTop:We.marginXXS}},[`${Re}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${xe})`]},height:"100%",width:`calc(1 / var(${Ce}) * 100%)`,display:"block"},[`&${Re}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Re}-text-inner`]:{color:We.colorWhite,[`&${Re}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Re}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:We.colorSuccess},[`${Re}-text`]:{display:"inline-block",marginInlineStart:We.marginXS,color:We.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[M]:{fontSize:We.fontSize},[`&${Re}-text-outer`]:{width:"max-content"},[`&${Re}-text-outer${Re}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:We.marginXS}},[`${Re}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ee.unit)(We.paddingXXS)}`,[`&${Re}-text-start`]:{justifyContent:"start"},[`&${Re}-text-end`]:{justifyContent:"end"}},[`&${Re}-status-active`]:{[`${Re}-bg::before`]:{position:"absolute",inset:0,backgroundColor:We.colorBgContainer,borderRadius:We.lineBorderRadius,opacity:0,animationName:se(),animationDuration:We.progressActiveMotionDuration,animationTimingFunction:We.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Re}-rtl${Re}-status-active`]:{[`${Re}-bg::before`]:{animationName:se(!0)}},[`&${Re}-status-exception`]:{[`${Re}-bg`]:{backgroundColor:We.colorError},[`${Re}-text`]:{color:We.colorError}},[`&${Re}-status-exception ${Re}-inner:not(${Re}-circle-gradient)`]:{[`${Re}-circle-path`]:{stroke:We.colorError}},[`&${Re}-status-success`]:{[`${Re}-bg`]:{backgroundColor:We.colorSuccess},[`${Re}-text`]:{color:We.colorSuccess}},[`&${Re}-status-success ${Re}-inner:not(${Re}-circle-gradient)`]:{[`${Re}-circle-path`]:{stroke:We.colorSuccess}}})}},T=We=>{const{componentCls:Re,iconCls:M}=We;return{[Re]:{[`${Re}-circle-trail`]:{stroke:We.remainingColor},[`&${Re}-circle ${Re}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Re}-circle ${Re}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:We.circleTextColor,fontSize:We.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[M]:{fontSize:We.circleIconFontSize}},[`${Re}-circle&-status-exception`]:{[`${Re}-text`]:{color:We.colorError}},[`${Re}-circle&-status-success`]:{[`${Re}-text`]:{color:We.colorSuccess}}},[`${Re}-inline-circle`]:{lineHeight:1,[`${Re}-inner`]:{verticalAlign:"bottom"}}}},P=We=>{const{componentCls:Re}=We;return{[Re]:{[`${Re}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:We.progressStepMinWidth,marginInlineEnd:We.progressStepMarginInlineEnd,backgroundColor:We.remainingColor,transition:`all ${We.motionDurationSlow}`,"&-active":{backgroundColor:We.defaultColor}}}}}},nt=We=>{const{componentCls:Re,iconCls:M}=We;return{[Re]:{[`${Re}-small&-line, ${Re}-small&-line ${Re}-text ${M}`]:{fontSize:We.fontSizeSM}}}},de=We=>({circleTextColor:We.colorText,defaultColor:We.colorInfo,remainingColor:We.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${We.fontSize/We.fontSizeSM}em`});var ce=(0,et.I$)("Progress",We=>{const Re=We.calc(We.marginXXS).div(2).equal(),M=(0,ke.mergeToken)(We,{progressStepMarginInlineEnd:Re,progressStepMinWidth:Re,progressActiveMotionDuration:"2.4s"});return[Se(M),T(M),P(M),nt(M)]},de),y=function(We,Re){var M={};for(var _e in We)Object.prototype.hasOwnProperty.call(We,_e)&&Re.indexOf(_e)<0&&(M[_e]=We[_e]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,_e=Object.getOwnPropertySymbols(We);ge<_e.length;ge++)Re.indexOf(_e[ge])<0&&Object.prototype.propertyIsEnumerable.call(We,_e[ge])&&(M[_e[ge]]=We[_e[ge]]);return M};const K=We=>{let Re=[];return Object.keys(We).forEach(M=>{const _e=parseFloat(M.replace(/%/g,""));Number.isNaN(_e)||Re.push({key:_e,value:We[M]})}),Re=Re.sort((M,_e)=>M.key-_e.key),Re.map(M=>{let{key:_e,value:ge}=M;return`${ge} ${_e}%`}).join(", ")},R=(We,Re)=>{const{from:M=U.presetPrimaryColors.blue,to:_e=U.presetPrimaryColors.blue,direction:ge=Re==="rtl"?"to left":"to right"}=We,ue=y(We,["from","to","direction"]);if(Object.keys(ue).length!==0){const me=K(ue),Ie=`linear-gradient(${ge}, ${me})`;return{background:Ie,[xe]:Ie}}const fe=`linear-gradient(${ge}, ${M}, ${_e})`;return{background:fe,[xe]:fe}};var X=We=>{const{prefixCls:Re,direction:M,percent:_e,size:ge,strokeWidth:ue,strokeColor:fe,strokeLinecap:me="round",children:Ie,trailColor:ye=null,percentPosition:Be,success:Ye}=We,{align:xt,type:$t}=Be,Xt=fe&&typeof fe!="string"?R(fe,M):{[xe]:fe,background:fe},Ut=me==="square"||me==="butt"?0:void 0,jt=ge!=null?ge:[-1,ue||(ge==="small"?6:8)],[at,yt]=O(jt,"line",{strokeWidth:ue}),pt={backgroundColor:ye||void 0,borderRadius:Ut},dt=Object.assign(Object.assign({width:`${F(_e)}%`,height:yt,borderRadius:Ut},Xt),{[Ce]:F(_e)/100}),er=_(We),or={width:`${F(er)}%`,height:yt,borderRadius:Ut,backgroundColor:Ye==null?void 0:Ye.strokeColor},hr={width:at<0?"100%":at},Er=o.createElement("div",{className:`${Re}-inner`,style:pt},o.createElement("div",{className:x()(`${Re}-bg`,`${Re}-bg-${$t}`),style:dt},$t==="inner"&&Ie),er!==void 0&&o.createElement("div",{className:`${Re}-success-bg`,style:or})),qr=$t==="outer"&&xt==="start",Pr=$t==="outer"&&xt==="end";return $t==="outer"&&xt==="center"?o.createElement("div",{className:`${Re}-layout-bottom`},Er,Ie):o.createElement("div",{className:`${Re}-outer`,style:hr},qr&&Ie,Er,Pr&&Ie)},pe=We=>{const{size:Re,steps:M,rounding:_e=Math.round,percent:ge=0,strokeWidth:ue=8,strokeColor:fe,trailColor:me=null,prefixCls:Ie,children:ye}=We,Be=_e(M*(ge/100)),Ye=Re==="small"?2:14,xt=Re!=null?Re:[Ye,ue],[$t,Xt]=O(xt,"step",{steps:M,strokeWidth:ue}),Ut=$t/M,jt=Array.from({length:M});for(let at=0;at<M;at++){const yt=Array.isArray(fe)?fe[at]:fe;jt[at]=o.createElement("div",{key:at,className:x()(`${Ie}-steps-item`,{[`${Ie}-steps-item-active`]:at<=Be-1}),style:{backgroundColor:at<=Be-1?yt:me,width:Ut,height:Xt}})}return o.createElement("div",{className:`${Ie}-steps-outer`},jt,ye)},Ze=function(We,Re){var M={};for(var _e in We)Object.prototype.hasOwnProperty.call(We,_e)&&Re.indexOf(_e)<0&&(M[_e]=We[_e]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,_e=Object.getOwnPropertySymbols(We);ge<_e.length;ge++)Re.indexOf(_e[ge])<0&&Object.prototype.propertyIsEnumerable.call(We,_e[ge])&&(M[_e[ge]]=We[_e[ge]]);return M};const ot=null,ht=["normal","exception","active","success"];var Le=o.forwardRef((We,Re)=>{const{prefixCls:M,className:_e,rootClassName:ge,steps:ue,strokeColor:fe,percent:me=0,size:Ie="default",showInfo:ye=!0,type:Be="line",status:Ye,format:xt,style:$t,percentPosition:Xt={}}=We,Ut=Ze(We,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:jt="end",type:at="outer"}=Xt,yt=Array.isArray(fe)?fe[0]:fe,pt=typeof fe=="string"||Array.isArray(fe)?fe:void 0,dt=o.useMemo(()=>{if(yt){const Dn=typeof yt=="string"?yt:Object.values(yt)[0];return new Xe.FastColor(Dn).isLight()}return!1},[fe]),er=o.useMemo(()=>{var Dn,Rt;const xr=_(We);return parseInt(xr!==void 0?(Dn=xr!=null?xr:0)===null||Dn===void 0?void 0:Dn.toString():(Rt=me!=null?me:0)===null||Rt===void 0?void 0:Rt.toString(),10)},[me,We.success,We.successPercent]),or=o.useMemo(()=>!ht.includes(Ye)&&er>=100?"success":Ye||"normal",[Ye,er]),{getPrefixCls:hr,direction:Er,progress:qr}=o.useContext(c.E_),Pr=hr("progress",M),[w,H,wt]=ce(Pr),ae=Be==="line",Te=ae&&!ue,Fr=o.useMemo(()=>{if(!ye)return null;const Dn=_(We);let Rt;const xr=xt||(C=>`${C}%`),sr=ae&&dt&&at==="inner";return at==="inner"||xt||or!=="exception"&&or!=="success"?Rt=xr(F(me),F(Dn)):or==="exception"?Rt=ae?o.createElement(q.Z,null):o.createElement(ee.Z,null):or==="success"&&(Rt=ae?o.createElement(B.Z,null):o.createElement(De.Z,null)),o.createElement("span",{className:x()(`${Pr}-text`,{[`${Pr}-text-bright`]:sr,[`${Pr}-text-${jt}`]:Te,[`${Pr}-text-${at}`]:Te}),title:typeof Rt=="string"?Rt:void 0},Rt)},[ye,me,er,or,Be,Pr,xt]);let Mr;Be==="line"?Mr=ue?o.createElement(pe,Object.assign({},We,{strokeColor:pt,prefixCls:Pr,steps:typeof ue=="object"?ue.count:ue}),Fr):o.createElement(X,Object.assign({},We,{strokeColor:yt,prefixCls:Pr,direction:Er,percentPosition:{align:jt,type:at}}),Fr):(Be==="circle"||Be==="dashboard")&&(Mr=o.createElement(te,Object.assign({},We,{strokeColor:yt,prefixCls:Pr,progressStatus:or}),Fr));const bn=x()(Pr,`${Pr}-status-${or}`,{[`${Pr}-${Be==="dashboard"&&"circle"||Be}`]:Be!=="line",[`${Pr}-inline-circle`]:Be==="circle"&&O(Ie,"circle")[0]<=20,[`${Pr}-line`]:Te,[`${Pr}-line-align-${jt}`]:Te,[`${Pr}-line-position-${at}`]:Te,[`${Pr}-steps`]:ue,[`${Pr}-show-info`]:ye,[`${Pr}-${Ie}`]:typeof Ie=="string",[`${Pr}-rtl`]:Er==="rtl"},qr==null?void 0:qr.className,_e,ge,H,wt);return w(o.createElement("div",Object.assign({ref:Re,style:Object.assign(Object.assign({},qr==null?void 0:qr.style),$t),className:bn,role:"progressbar","aria-valuenow":er,"aria-valuemin":0,"aria-valuemax":100},(0,Z.Z)(Ut,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Mr))}),St=Le},47889:function(Qr,_t,n){"use strict";n.d(_t,{ZP:function(){return He}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(18929),q=n(26112),ee=n(48755),Y=n(83397),x=n(31756);const Z=o.createContext(null),c=Z.Provider;var L=Z;const D=o.createContext(null),U=D.Provider;var F=n(16632),_=n(8654),I=n(12919),z=n(63872),O=n(74632),A=n(2171),oe=n(56553),J=n(36237),te=n(63356),Ee=n(16931),Pe=n(51636);const et=pe=>{const{componentCls:Ze,antCls:ot}=pe,ht=`${Ze}-group`;return{[ht]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{display:"inline-block",fontSize:0,[`&${ht}-rtl`]:{direction:"rtl"},[`&${ht}-block`]:{display:"flex"},[`${ot}-badge ${ot}-badge-count`]:{zIndex:1},[`> ${ot}-badge:not(:first-child) > ${ot}-button-wrapper`]:{borderInlineStart:"none"}})}},ke=pe=>{const{componentCls:Ze,wrapperMarginInlineEnd:ot,colorPrimary:ht,radioSize:he,motionDurationSlow:Le,motionDurationMid:St,motionEaseInOutCirc:We,colorBgContainer:Re,colorBorder:M,lineWidth:_e,colorBgContainerDisabled:ge,colorTextDisabled:ue,paddingXS:fe,dotColorDisabled:me,lineType:Ie,radioColor:ye,radioBgColor:Be,calc:Ye}=pe,xt=`${Ze}-inner`,Xt=Ye(he).sub(Ye(4).mul(2)),Ut=Ye(1).mul(he).equal({unit:!0});return{[`${Ze}-wrapper`]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:ot,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Ze}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:pe.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Ze}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,J.unit)(_e)} ${Ie} ${ht}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Ze]:Object.assign(Object.assign({},(0,te.Wf)(pe)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Ze}-wrapper:hover &,
&:hover ${xt}`]:{borderColor:ht},[`${Ze}-input:focus-visible + ${xt}`]:Object.assign({},(0,te.oN)(pe)),[`${Ze}:hover::after, ${Ze}-wrapper:hover &::after`]:{visibility:"visible"},[`${Ze}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Ut,height:Ut,marginBlockStart:Ye(1).mul(he).div(-2).equal({unit:!0}),marginInlineStart:Ye(1).mul(he).div(-2).equal({unit:!0}),backgroundColor:ye,borderBlockStart:0,borderInlineStart:0,borderRadius:Ut,transform:"scale(0)",opacity:0,transition:`all ${Le} ${We}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ut,height:Ut,backgroundColor:Re,borderColor:M,borderStyle:"solid",borderWidth:_e,borderRadius:"50%",transition:`all ${St}`},[`${Ze}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Ze}-checked`]:{[xt]:{borderColor:ht,backgroundColor:Be,"&::after":{transform:`scale(${pe.calc(pe.dotSize).div(he).equal()})`,opacity:1,transition:`all ${Le} ${We}`}}},[`${Ze}-disabled`]:{cursor:"not-allowed",[xt]:{backgroundColor:ge,borderColor:M,cursor:"not-allowed","&::after":{backgroundColor:me}},[`${Ze}-input`]:{cursor:"not-allowed"},[`${Ze}-disabled + span`]:{color:ue,cursor:"not-allowed"},[`&${Ze}-checked`]:{[xt]:{"&::after":{transform:`scale(${Ye(Xt).div(he).equal()})`}}}},[`span${Ze} + *`]:{paddingInlineStart:fe,paddingInlineEnd:fe}})}},xe=pe=>{const{buttonColor:Ze,controlHeight:ot,componentCls:ht,lineWidth:he,lineType:Le,colorBorder:St,motionDurationSlow:We,motionDurationMid:Re,buttonPaddingInline:M,fontSize:_e,buttonBg:ge,fontSizeLG:ue,controlHeightLG:fe,controlHeightSM:me,paddingXS:Ie,borderRadius:ye,borderRadiusSM:Be,borderRadiusLG:Ye,buttonCheckedBg:xt,buttonSolidCheckedColor:$t,colorTextDisabled:Xt,colorBgContainerDisabled:Ut,buttonCheckedBgDisabled:jt,buttonCheckedColorDisabled:at,colorPrimary:yt,colorPrimaryHover:pt,colorPrimaryActive:dt,buttonSolidCheckedBg:er,buttonSolidCheckedHoverBg:or,buttonSolidCheckedActiveBg:hr,calc:Er}=pe;return{[`${ht}-button-wrapper`]:{position:"relative",display:"inline-block",height:ot,margin:0,paddingInline:M,paddingBlock:0,color:Ze,fontSize:_e,lineHeight:(0,J.unit)(Er(ot).sub(Er(he).mul(2)).equal()),background:ge,border:`${(0,J.unit)(he)} ${Le} ${St}`,borderBlockStartWidth:Er(he).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:he,cursor:"pointer",transition:[`color ${Re}`,`background ${Re}`,`box-shadow ${Re}`].join(","),a:{color:Ze},[`> ${ht}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Er(he).mul(-1).equal(),insetInlineStart:Er(he).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:he,paddingInline:0,backgroundColor:St,transition:`background-color ${We}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,J.unit)(he)} ${Le} ${St}`,borderStartStartRadius:ye,borderEndStartRadius:ye},"&:last-child":{borderStartEndRadius:ye,borderEndEndRadius:ye},"&:first-child:last-child":{borderRadius:ye},[`${ht}-group-large &`]:{height:fe,fontSize:ue,lineHeight:(0,J.unit)(Er(fe).sub(Er(he).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Ye,borderEndStartRadius:Ye},"&:last-child":{borderStartEndRadius:Ye,borderEndEndRadius:Ye}},[`${ht}-group-small &`]:{height:me,paddingInline:Er(Ie).sub(he).equal(),paddingBlock:0,lineHeight:(0,J.unit)(Er(me).sub(Er(he).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Be,borderEndStartRadius:Be},"&:last-child":{borderStartEndRadius:Be,borderEndEndRadius:Be}},"&:hover":{position:"relative",color:yt},"&:has(:focus-visible)":Object.assign({},(0,te.oN)(pe)),[`${ht}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ht}-button-wrapper-disabled)`]:{zIndex:1,color:yt,background:xt,borderColor:yt,"&::before":{backgroundColor:yt},"&:first-child":{borderColor:yt},"&:hover":{color:pt,borderColor:pt,"&::before":{backgroundColor:pt}},"&:active":{color:dt,borderColor:dt,"&::before":{backgroundColor:dt}}},[`${ht}-group-solid &-checked:not(${ht}-button-wrapper-disabled)`]:{color:$t,background:er,borderColor:er,"&:hover":{color:$t,background:or,borderColor:or},"&:active":{color:$t,background:hr,borderColor:hr}},"&-disabled":{color:Xt,backgroundColor:Ut,borderColor:St,cursor:"not-allowed","&:first-child, &:hover":{color:Xt,backgroundColor:Ut,borderColor:St}},[`&-disabled${ht}-button-wrapper-checked`]:{color:at,backgroundColor:jt,borderColor:St,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Ce=pe=>{const{wireframe:Ze,padding:ot,marginXS:ht,lineWidth:he,fontSizeLG:Le,colorText:St,colorBgContainer:We,colorTextDisabled:Re,controlItemBgActiveDisabled:M,colorTextLightSolid:_e,colorPrimary:ge,colorPrimaryHover:ue,colorPrimaryActive:fe,colorWhite:me}=pe,Ie=4,ye=Le,Be=Ze?ye-Ie*2:ye-(Ie+he)*2;return{radioSize:ye,dotSize:Be,dotColorDisabled:Re,buttonSolidCheckedColor:_e,buttonSolidCheckedBg:ge,buttonSolidCheckedHoverBg:ue,buttonSolidCheckedActiveBg:fe,buttonBg:We,buttonCheckedBg:We,buttonColor:St,buttonCheckedBgDisabled:M,buttonCheckedColorDisabled:Re,buttonPaddingInline:ot-he,wrapperMarginInlineEnd:ht,radioColor:Ze?ge:me,radioBgColor:Ze?We:ge}};var se=(0,Ee.I$)("Radio",pe=>{const{controlOutline:Ze,controlOutlineWidth:ot}=pe,ht=`0 0 0 ${(0,J.unit)(ot)} ${Ze}`,he=ht,Le=(0,Pe.mergeToken)(pe,{radioFocusShadow:ht,radioButtonFocusShadow:he});return[et(Le),ke(Le),xe(Le)]},Ce,{unitless:{radioSize:!0,dotSize:!0}}),Se=function(pe,Ze){var ot={};for(var ht in pe)Object.prototype.hasOwnProperty.call(pe,ht)&&Ze.indexOf(ht)<0&&(ot[ht]=pe[ht]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ht=Object.getOwnPropertySymbols(pe);he<ht.length;he++)Ze.indexOf(ht[he])<0&&Object.prototype.propertyIsEnumerable.call(pe,ht[he])&&(ot[ht[he]]=pe[ht[he]]);return ot};const T=(pe,Ze)=>{var ot,ht;const he=o.useContext(L),Le=o.useContext(D),{getPrefixCls:St,direction:We,radio:Re}=o.useContext(ee.E_),M=o.useRef(null),_e=(0,_.sQ)(Ze,M),{isFormItemInput:ge}=o.useContext(oe.aM),ue=qr=>{var Pr,w;(Pr=pe.onChange)===null||Pr===void 0||Pr.call(pe,qr),(w=he==null?void 0:he.onChange)===null||w===void 0||w.call(he,qr)},{prefixCls:fe,className:me,rootClassName:Ie,children:ye,style:Be,title:Ye}=pe,xt=Se(pe,["prefixCls","className","rootClassName","children","style","title"]),$t=St("radio",fe),Xt=((he==null?void 0:he.optionType)||Le)==="button",Ut=Xt?`${$t}-button`:$t,jt=(0,Y.Z)($t),[at,yt,pt]=se($t,jt),dt=Object.assign({},xt),er=o.useContext(A.Z);he&&(dt.name=he.name,dt.onChange=ue,dt.checked=pe.value===he.value,dt.disabled=(ot=dt.disabled)!==null&&ot!==void 0?ot:he.disabled),dt.disabled=(ht=dt.disabled)!==null&&ht!==void 0?ht:er;const or=B()(`${Ut}-wrapper`,{[`${Ut}-wrapper-checked`]:dt.checked,[`${Ut}-wrapper-disabled`]:dt.disabled,[`${Ut}-wrapper-rtl`]:We==="rtl",[`${Ut}-wrapper-in-form-item`]:ge,[`${Ut}-wrapper-block`]:!!(he!=null&&he.block)},Re==null?void 0:Re.className,me,Ie,yt,pt,jt),[hr,Er]=(0,O.Z)(dt.onClick);return at(o.createElement(I.Z,{component:"Radio",disabled:dt.disabled},o.createElement("label",{className:or,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Be),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,title:Ye,onClick:hr},o.createElement(F.Z,Object.assign({},dt,{className:B()(dt.className,{[z.A]:!Xt}),type:"radio",prefixCls:Ut,ref:_e,onClick:Er})),ye!==void 0?o.createElement("span",{className:`${Ut}-label`},ye):null)))};var nt=o.forwardRef(T),de=n(80402);const ce=o.forwardRef((pe,Ze)=>{const{getPrefixCls:ot,direction:ht}=o.useContext(ee.E_),he=(0,de.Z)(),{prefixCls:Le,className:St,rootClassName:We,options:Re,buttonStyle:M="outline",disabled:_e,children:ge,size:ue,style:fe,id:me,optionType:Ie,name:ye=he,defaultValue:Be,value:Ye,block:xt=!1,onChange:$t,onMouseEnter:Xt,onMouseLeave:Ut,onFocus:jt,onBlur:at}=pe,[yt,pt]=(0,De.Z)(Be,{value:Ye}),dt=o.useCallback(Te=>{const Fr=yt,Mr=Te.target.value;"value"in pe||pt(Mr),Mr!==Fr&&($t==null||$t(Te))},[yt,pt,$t]),er=ot("radio",Le),or=`${er}-group`,hr=(0,Y.Z)(er),[Er,qr,Pr]=se(er,hr);let w=ge;Re&&Re.length>0&&(w=Re.map(Te=>typeof Te=="string"||typeof Te=="number"?o.createElement(nt,{key:Te.toString(),prefixCls:er,disabled:_e,value:Te,checked:yt===Te},Te):o.createElement(nt,{key:`radio-group-value-options-${Te.value}`,prefixCls:er,disabled:Te.disabled||_e,value:Te.value,checked:yt===Te.value,title:Te.title,style:Te.style,id:Te.id,required:Te.required},Te.label)));const H=(0,x.Z)(ue),wt=B()(or,`${or}-${M}`,{[`${or}-${H}`]:H,[`${or}-rtl`]:ht==="rtl",[`${or}-block`]:xt},St,We,qr,Pr,hr),ae=o.useMemo(()=>({onChange:dt,value:yt,disabled:_e,name:ye,optionType:Ie,block:xt}),[dt,yt,_e,ye,Ie,xt]);return Er(o.createElement("div",Object.assign({},(0,q.Z)(pe,{aria:!0,data:!0}),{className:wt,style:fe,onMouseEnter:Xt,onMouseLeave:Ut,onFocus:jt,onBlur:at,id:me,ref:Ze}),o.createElement(c,{value:ae},w)))});var y=o.memo(ce),K=function(pe,Ze){var ot={};for(var ht in pe)Object.prototype.hasOwnProperty.call(pe,ht)&&Ze.indexOf(ht)<0&&(ot[ht]=pe[ht]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ht=Object.getOwnPropertySymbols(pe);he<ht.length;he++)Ze.indexOf(ht[he])<0&&Object.prototype.propertyIsEnumerable.call(pe,ht[he])&&(ot[ht[he]]=pe[ht[he]]);return ot};const R=(pe,Ze)=>{const{getPrefixCls:ot}=o.useContext(ee.E_),{prefixCls:ht}=pe,he=K(pe,["prefixCls"]),Le=ot("radio",ht);return o.createElement(U,{value:"button"},o.createElement(nt,Object.assign({prefixCls:Le},he,{type:"radio",ref:Ze})))};var S=o.forwardRef(R);const X=nt;X.Button=S,X.Group=y,X.__ANT_RADIO=!0;var He=X},58018:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return ke}});var o=n(59301),Xe=n(54476),B={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"},De=B,q=n(7657),ee=function(Ce,se){return o.createElement(q.Z,(0,Xe.Z)({},Ce,{ref:se,icon:De}))},Y=o.forwardRef(ee),x=Y,Z=n(92310),c=n.n(Z),L=n(738),D=n(48755),U=n(25399),F=n(36237),_=n(63356),I=n(16931),z=n(51636);const O=xe=>{const{componentCls:Ce}=xe;return{[`${Ce}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:xe.marginXS},"> div":{transition:`all ${xe.motionDurationMid}, outline 0s`,"&:hover":{transform:xe.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,F.unit)(xe.lineWidth)} dashed ${xe.starColor}`,transform:xe.starHoverScale}},"&-first, &-second":{color:xe.starBg,transition:`all ${xe.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ce}-star-first, &-half ${Ce}-star-second`]:{opacity:1},[`&-half ${Ce}-star-first, &-full ${Ce}-star-second`]:{color:"inherit"}}}},A=xe=>({[`&-rtl${xe.componentCls}`]:{direction:"rtl"}}),oe=xe=>{const{componentCls:Ce}=xe;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.Wf)(xe)),{display:"inline-block",margin:0,padding:0,color:xe.starColor,fontSize:xe.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Ce} ${Ce}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),O(xe)),A(xe))}},J=xe=>({starColor:xe.yellow6,starSize:xe.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:xe.colorFillContent});var te=(0,I.I$)("Rate",xe=>{const Ce=(0,z.mergeToken)(xe,{});return[oe(Ce)]},J),Ee=n(2171),Pe=function(xe,Ce){var se={};for(var Se in xe)Object.prototype.hasOwnProperty.call(xe,Se)&&Ce.indexOf(Se)<0&&(se[Se]=xe[Se]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,Se=Object.getOwnPropertySymbols(xe);T<Se.length;T++)Ce.indexOf(Se[T])<0&&Object.prototype.propertyIsEnumerable.call(xe,Se[T])&&(se[Se[T]]=xe[Se[T]]);return se},ke=o.forwardRef((xe,Ce)=>{const{prefixCls:se,className:Se,rootClassName:T,style:P,tooltips:nt,character:de=o.createElement(x,null),disabled:ce}=xe,y=Pe(xe,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),K=(St,We)=>{let{index:Re}=We;return nt?o.createElement(U.Z,{title:nt[Re]},St):St},{getPrefixCls:R,direction:S,rate:X}=o.useContext(D.E_),He=R("rate",se),[pe,Ze,ot]=te(He),ht=Object.assign(Object.assign({},X==null?void 0:X.style),P),he=o.useContext(Ee.Z),Le=ce!=null?ce:he;return pe(o.createElement(L.Z,Object.assign({ref:Ce,character:de,characterRender:K,disabled:Le},y,{className:c()(Se,T,Ze,ot,X==null?void 0:X.className),style:ht,prefixCls:He,direction:S})))})},82326:function(Qr,_t,n){"use strict";var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(37463),q=n(2738),ee=n(75030),Y=n(86641),x=n(45915),Z=n(82855),c=n(48755),L=n(38406),D=n(2171),U=n(83397),F=n(31756),_=n(56553),I=n(24971),z=n(70045),O=n(57700),A=n(1722),oe=n(90376),J=n(68525),te=n(90005),Ee=function(Ce,se){var Se={};for(var T in Ce)Object.prototype.hasOwnProperty.call(Ce,T)&&se.indexOf(T)<0&&(Se[T]=Ce[T]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,T=Object.getOwnPropertySymbols(Ce);P<T.length;P++)se.indexOf(T[P])<0&&Object.prototype.propertyIsEnumerable.call(Ce,T[P])&&(Se[T[P]]=Ce[T[P]]);return Se};const Pe="SECRET_COMBOBOX_MODE_DO_NOT_USE",et=(Ce,se)=>{var Se;const{prefixCls:T,bordered:P,className:nt,rootClassName:de,getPopupContainer:ce,popupClassName:y,dropdownClassName:K,listHeight:R=256,placement:S,listItemHeight:X,size:He,disabled:pe,notFoundContent:Ze,status:ot,builtinPlacements:ht,dropdownMatchSelectWidth:he,popupMatchSelectWidth:Le,direction:St,style:We,allowClear:Re,variant:M,dropdownStyle:_e,transitionName:ge,tagRender:ue,maxCount:fe,prefix:me}=Ce,Ie=Ee(Ce,["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:ye,getPrefixCls:Be,renderEmpty:Ye,direction:xt,virtual:$t,popupMatchSelectWidth:Xt,popupOverflow:Ut}=o.useContext(c.E_),jt=(0,c.dj)("select"),[,at]=(0,O.ZP)(),yt=X!=null?X:at==null?void 0:at.controlHeight,pt=Be("select",T),dt=Be(),er=St!=null?St:xt,{compactSize:or,compactItemClassnames:hr}=(0,z.ri)(pt,er),[Er,qr]=(0,I.Z)("select",M,P),Pr=(0,U.Z)(pt),[w,H,wt]=(0,oe.Z)(pt,Pr),ae=o.useMemo(()=>{const{mode:Lt}=Ce;if(Lt!=="combobox")return Lt===Pe?"combobox":Lt},[Ce.mode]),Te=ae==="multiple"||ae==="tags",Fr=(0,te.Z)(Ce.suffixIcon,Ce.showArrow),Mr=(Se=Le!=null?Le:he)!==null&&Se!==void 0?Se:Xt,{status:bn,hasFeedback:Dn,isFormItemInput:Rt,feedbackIcon:xr}=o.useContext(_.aM),sr=(0,Z.F)(bn,ot);let C;Ze!==void 0?C=Ze:ae==="combobox"?C=null:C=(Ye==null?void 0:Ye("Select"))||o.createElement(L.Z,{componentName:"Select"});const{suffixIcon:v,itemIcon:Vt,removeIcon:$,clearIcon:Oe}=(0,J.Z)(Object.assign(Object.assign({},Ie),{multiple:Te,hasFeedback:Dn,feedbackIcon:xr,showSuffixIcon:Fr,prefixCls:pt,componentName:"Select"})),ln=Re===!0?{clearIcon:Oe}:Re,Wr=(0,q.Z)(Ie,["suffixIcon","itemIcon"]),Ht=B()(y||K,{[`${pt}-dropdown-${er}`]:er==="rtl"},de,wt,Pr,H),Gt=(0,F.Z)(Lt=>{var Ue;return(Ue=He!=null?He:or)!==null&&Ue!==void 0?Ue:Lt}),br=o.useContext(D.Z),Kr=pe!=null?pe:br,an=B()({[`${pt}-lg`]:Gt==="large",[`${pt}-sm`]:Gt==="small",[`${pt}-rtl`]:er==="rtl",[`${pt}-${Er}`]:qr,[`${pt}-in-form-item`]:Rt},(0,Z.Z)(pt,sr,Dn),hr,jt.className,nt,de,wt,Pr,H),An=o.useMemo(()=>S!==void 0?S:er==="rtl"?"bottomRight":"bottomLeft",[S,er]),[Ct]=(0,ee.Cn)("SelectLike",_e==null?void 0:_e.zIndex);return w(o.createElement(De.ZP,Object.assign({ref:se,virtual:$t,showSearch:jt.showSearch},Wr,{style:Object.assign(Object.assign({},jt.style),We),dropdownMatchSelectWidth:Mr,transitionName:(0,Y.m)(dt,"slide-up",ge),builtinPlacements:(0,A.Z)(ht,Ut),listHeight:R,listItemHeight:yt,mode:ae,prefixCls:pt,placement:An,direction:er,prefix:me,suffixIcon:v,menuItemSelectedIcon:Vt,removeIcon:$,allowClear:ln,notFoundContent:C,className:an,getPopupContainer:ce||ye,dropdownClassName:Ht,disabled:Kr,dropdownStyle:Object.assign(Object.assign({},_e),{zIndex:Ct}),maxCount:Te?fe:void 0,tagRender:Te?ue:void 0})))},ke=o.forwardRef(et),xe=(0,x.Z)(ke,"dropdownAlign");ke.SECRET_COMBOBOX_MODE_DO_NOT_USE=Pe,ke.Option=De.Wx,ke.OptGroup=De.Xo,ke._InternalPanelDoNotUseOrYouWillBeFired=xe,_t.default=ke},1722:function(Qr,_t){"use strict";const n=Xe=>{const De={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Xe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},De),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},De),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},De),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},De),{points:["br","tr"],offset:[0,-4]})}};function o(Xe,B){return Xe||n(B)}_t.Z=o},90376:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return T}});var o=n(63356),Xe=n(56119),B=n(16931),De=n(51636),q=n(46e3),ee=n(93873);const Y=P=>{const{optionHeight:nt,optionFontSize:de,optionLineHeight:ce,optionPadding:y}=P;return{position:"relative",display:"block",minHeight:nt,padding:y,color:P.colorText,fontWeight:"normal",fontSize:de,lineHeight:ce,boxSizing:"border-box"}};var Z=P=>{const{antCls:nt,componentCls:de}=P,ce=`${de}-item`,y=`&${nt}-slide-up-enter${nt}-slide-up-enter-active`,K=`&${nt}-slide-up-appear${nt}-slide-up-appear-active`,R=`&${nt}-slide-up-leave${nt}-slide-up-leave-active`,S=`${de}-dropdown-placement-`,X=`${ce}-option-selected`;return[{[`${de}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(P)),{position:"absolute",top:-9999,zIndex:P.zIndexPopup,boxSizing:"border-box",padding:P.paddingXXS,overflow:"hidden",fontSize:P.fontSize,fontVariant:"initial",backgroundColor:P.colorBgElevated,borderRadius:P.borderRadiusLG,outline:"none",boxShadow:P.boxShadowSecondary,[`
${y}${S}bottomLeft,
${K}${S}bottomLeft
`]:{animationName:q.fJ},[`
${y}${S}topLeft,
${K}${S}topLeft,
${y}${S}topRight,
${K}${S}topRight
`]:{animationName:q.Qt},[`${R}${S}bottomLeft`]:{animationName:q.Uw},[`
${R}${S}topLeft,
${R}${S}topRight
`]:{animationName:q.ly},"&-hidden":{display:"none"},[ce]:Object.assign(Object.assign({},Y(P)),{cursor:"pointer",transition:`background ${P.motionDurationSlow} ease`,borderRadius:P.borderRadiusSM,"&-group":{color:P.colorTextDescription,fontSize:P.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ce}-option-disabled)`]:{backgroundColor:P.optionActiveBg},[`&-selected:not(${ce}-option-disabled)`]:{color:P.optionSelectedColor,fontWeight:P.optionSelectedFontWeight,backgroundColor:P.optionSelectedBg,[`${ce}-option-state`]:{color:P.colorPrimary}},"&-disabled":{[`&${ce}-option-selected`]:{backgroundColor:P.colorBgContainerDisabled},color:P.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:P.calc(P.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Y(P)),{color:P.colorTextDisabled})}),[`${X}:has(+ ${X})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${X}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,q.oN)(P,"slide-up"),(0,q.oN)(P,"slide-down"),(0,ee.Fm)(P,"move-up"),(0,ee.Fm)(P,"move-down")]},c=n(26743),L=n(36237);function D(P,nt){const{componentCls:de,inputPaddingHorizontalBase:ce,borderRadius:y}=P,K=P.calc(P.controlHeight).sub(P.calc(P.lineWidth).mul(2)).equal(),R=nt?`${de}-${nt}`:"";return{[`${de}-single${R}`]:{fontSize:P.fontSize,height:P.controlHeight,[`${de}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(P,!0)),{display:"flex",borderRadius:y,flex:"1 1 auto",[`${de}-selection-wrap:after`]:{lineHeight:(0,L.unit)(K)},[`${de}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
${de}-selection-item,
${de}-selection-placeholder
`]:{display:"block",padding:0,lineHeight:(0,L.unit)(K),transition:`all ${P.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${de}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${de}-selection-item:empty:after`,`${de}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
&${de}-show-arrow ${de}-selection-item,
&${de}-show-arrow ${de}-selection-search,
&${de}-show-arrow ${de}-selection-placeholder
`]:{paddingInlineEnd:P.showArrowPaddingInlineEnd},[`&${de}-open ${de}-selection-item`]:{color:P.colorTextPlaceholder},[`&:not(${de}-customize-input)`]:{[`${de}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,L.unit)(ce)}`,[`${de}-selection-search-input`]:{height:K,fontSize:P.fontSize},"&:after":{lineHeight:(0,L.unit)(K)}}},[`&${de}-customize-input`]:{[`${de}-selector`]:{"&:after":{display:"none"},[`${de}-selection-search`]:{position:"static",width:"100%"},[`${de}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,L.unit)(ce)}`,"&:after":{display:"none"}}}}}}}function U(P){const{componentCls:nt}=P,de=P.calc(P.controlPaddingHorizontalSM).sub(P.lineWidth).equal();return[D(P),D((0,De.mergeToken)(P,{controlHeight:P.controlHeightSM,borderRadius:P.borderRadiusSM}),"sm"),{[`${nt}-single${nt}-sm`]:{[`&:not(${nt}-customize-input)`]:{[`${nt}-selector`]:{padding:`0 ${(0,L.unit)(de)}`},[`&${nt}-show-arrow ${nt}-selection-search`]:{insetInlineEnd:P.calc(de).add(P.calc(P.fontSize).mul(1.5)).equal()},[`
&${nt}-show-arrow ${nt}-selection-item,
&${nt}-show-arrow ${nt}-selection-placeholder
`]:{paddingInlineEnd:P.calc(P.fontSize).mul(1.5).equal()}}}},D((0,De.mergeToken)(P,{controlHeight:P.singleItemHeightLG,fontSize:P.fontSizeLG,borderRadius:P.borderRadiusLG}),"lg")]}const F=P=>{const{fontSize:nt,lineHeight:de,lineWidth:ce,controlHeight:y,controlHeightSM:K,controlHeightLG:R,paddingXXS:S,controlPaddingHorizontal:X,zIndexPopupBase:He,colorText:pe,fontWeightStrong:Ze,controlItemBgActive:ot,controlItemBgHover:ht,colorBgContainer:he,colorFillSecondary:Le,colorBgContainerDisabled:St,colorTextDisabled:We,colorPrimaryHover:Re,colorPrimary:M,controlOutline:_e}=P,ge=S*2,ue=ce*2,fe=Math.min(y-ge,y-ue),me=Math.min(K-ge,K-ue),Ie=Math.min(R-ge,R-ue);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(S/2),zIndexPopup:He+50,optionSelectedColor:pe,optionSelectedFontWeight:Ze,optionSelectedBg:ot,optionActiveBg:ht,optionPadding:`${(y-nt*de)/2}px ${X}px`,optionFontSize:nt,optionLineHeight:de,optionHeight:y,selectorBg:he,clearBg:he,singleItemHeightLG:R,multipleItemBg:Le,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:me,multipleItemHeightLG:Ie,multipleSelectorBgDisabled:St,multipleItemColorDisabled:We,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(P.fontSize*1.25),hoverBorderColor:Re,activeBorderColor:M,activeOutlineColor:_e,selectAffixPadding:S}},_=(P,nt)=>{const{componentCls:de,antCls:ce,controlOutlineWidth:y}=P;return{[`&:not(${de}-customize-input) ${de}-selector`]:{border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} ${nt.borderColor}`,background:P.selectorBg},[`&:not(${de}-disabled):not(${de}-customize-input):not(${ce}-pagination-size-changer)`]:{[`&:hover ${de}-selector`]:{borderColor:nt.hoverBorderHover},[`${de}-focused& ${de}-selector`]:{borderColor:nt.activeBorderColor,boxShadow:`0 0 0 ${(0,L.unit)(y)} ${nt.activeOutlineColor}`,outline:0},[`${de}-prefix`]:{color:nt.color}}}},I=(P,nt)=>({[`&${P.componentCls}-status-${nt.status}`]:Object.assign({},_(P,nt))}),z=P=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},_(P,{borderColor:P.colorBorder,hoverBorderHover:P.hoverBorderColor,activeBorderColor:P.activeBorderColor,activeOutlineColor:P.activeOutlineColor,color:P.colorText})),I(P,{status:"error",borderColor:P.colorError,hoverBorderHover:P.colorErrorHover,activeBorderColor:P.colorError,activeOutlineColor:P.colorErrorOutline,color:P.colorError})),I(P,{status:"warning",borderColor:P.colorWarning,hoverBorderHover:P.colorWarningHover,activeBorderColor:P.colorWarning,activeOutlineColor:P.colorWarningOutline,color:P.colorWarning})),{[`&${P.componentCls}-disabled`]:{[`&:not(${P.componentCls}-customize-input) ${P.componentCls}-selector`]:{background:P.colorBgContainerDisabled,color:P.colorTextDisabled}},[`&${P.componentCls}-multiple ${P.componentCls}-selection-item`]:{background:P.multipleItemBg,border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} ${P.multipleItemBorderColor}`}})}),O=(P,nt)=>{const{componentCls:de,antCls:ce}=P;return{[`&:not(${de}-customize-input) ${de}-selector`]:{background:nt.bg,border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} transparent`,color:nt.color},[`&:not(${de}-disabled):not(${de}-customize-input):not(${ce}-pagination-size-changer)`]:{[`&:hover ${de}-selector`]:{background:nt.hoverBg},[`${de}-focused& ${de}-selector`]:{background:P.selectorBg,borderColor:nt.activeBorderColor,outline:0}}}},A=(P,nt)=>({[`&${P.componentCls}-status-${nt.status}`]:Object.assign({},O(P,nt))}),oe=P=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},O(P,{bg:P.colorFillTertiary,hoverBg:P.colorFillSecondary,activeBorderColor:P.activeBorderColor,color:P.colorText})),A(P,{status:"error",bg:P.colorErrorBg,hoverBg:P.colorErrorBgHover,activeBorderColor:P.colorError,color:P.colorError})),A(P,{status:"warning",bg:P.colorWarningBg,hoverBg:P.colorWarningBgHover,activeBorderColor:P.colorWarning,color:P.colorWarning})),{[`&${P.componentCls}-disabled`]:{[`&:not(${P.componentCls}-customize-input) ${P.componentCls}-selector`]:{borderColor:P.colorBorder,background:P.colorBgContainerDisabled,color:P.colorTextDisabled}},[`&${P.componentCls}-multiple ${P.componentCls}-selection-item`]:{background:P.colorBgContainer,border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} ${P.colorSplit}`}})}),J=P=>({"&-borderless":{[`${P.componentCls}-selector`]:{background:"transparent",border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} transparent`},[`&${P.componentCls}-disabled`]:{[`&:not(${P.componentCls}-customize-input) ${P.componentCls}-selector`]:{color:P.colorTextDisabled}},[`&${P.componentCls}-multiple ${P.componentCls}-selection-item`]:{background:P.multipleItemBg,border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} ${P.multipleItemBorderColor}`},[`&${P.componentCls}-status-error`]:{[`${P.componentCls}-prefix, ${P.componentCls}-selection-item`]:{color:P.colorError}},[`&${P.componentCls}-status-warning`]:{[`${P.componentCls}-prefix, ${P.componentCls}-selection-item`]:{color:P.colorWarning}}}}),te=(P,nt)=>{const{componentCls:de,antCls:ce}=P;return{[`&:not(${de}-customize-input) ${de}-selector`]:{borderWidth:`0 0 ${(0,L.unit)(P.lineWidth)} 0`,borderStyle:`none none ${P.lineType} none`,borderColor:nt.borderColor,background:P.selectorBg,borderRadius:0},[`&:not(${de}-disabled):not(${de}-customize-input):not(${ce}-pagination-size-changer)`]:{[`&:hover ${de}-selector`]:{borderColor:nt.hoverBorderHover},[`${de}-focused& ${de}-selector`]:{borderColor:nt.activeBorderColor,outline:0},[`${de}-prefix`]:{color:nt.color}}}},Ee=(P,nt)=>({[`&${P.componentCls}-status-${nt.status}`]:Object.assign({},te(P,nt))}),Pe=P=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},te(P,{borderColor:P.colorBorder,hoverBorderHover:P.hoverBorderColor,activeBorderColor:P.activeBorderColor,activeOutlineColor:P.activeOutlineColor,color:P.colorText})),Ee(P,{status:"error",borderColor:P.colorError,hoverBorderHover:P.colorErrorHover,activeBorderColor:P.colorError,activeOutlineColor:P.colorErrorOutline,color:P.colorError})),Ee(P,{status:"warning",borderColor:P.colorWarning,hoverBorderHover:P.colorWarningHover,activeBorderColor:P.colorWarning,activeOutlineColor:P.colorWarningOutline,color:P.colorWarning})),{[`&${P.componentCls}-disabled`]:{[`&:not(${P.componentCls}-customize-input) ${P.componentCls}-selector`]:{color:P.colorTextDisabled}},[`&${P.componentCls}-multiple ${P.componentCls}-selection-item`]:{background:P.multipleItemBg,border:`${(0,L.unit)(P.lineWidth)} ${P.lineType} ${P.multipleItemBorderColor}`}})});var ke=P=>({[P.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},z(P)),oe(P)),J(P)),Pe(P))});const xe=P=>{const{componentCls:nt}=P;return{position:"relative",transition:`all ${P.motionDurationMid} ${P.motionEaseInOut}`,input:{cursor:"pointer"},[`${nt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${nt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ce=P=>{const{componentCls:nt}=P;return{[`${nt}-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"}}}},se=P=>{const{antCls:nt,componentCls:de,inputPaddingHorizontalBase:ce,iconCls:y}=P;return{[de]:Object.assign(Object.assign({},(0,o.Wf)(P)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${de}-customize-input) ${de}-selector`]:Object.assign(Object.assign({},xe(P)),Ce(P)),[`${de}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${nt}-typography`]:{display:"inline"}}),[`${de}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:P.colorTextPlaceholder,pointerEvents:"none"}),[`${de}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ce,height:P.fontSizeIcon,marginTop:P.calc(P.fontSizeIcon).mul(-1).div(2).equal(),color:P.colorTextQuaternary,fontSize:P.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${P.motionDurationSlow} ease`,[y]:{verticalAlign:"top",transition:`transform ${P.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${de}-suffix)`]:{pointerEvents:"auto"}},[`${de}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${de}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${de}-prefix`]:{flex:"none",marginInlineEnd:P.selectAffixPadding},[`${de}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ce,zIndex:1,display:"inline-block",width:P.fontSizeIcon,height:P.fontSizeIcon,marginTop:P.calc(P.fontSizeIcon).mul(-1).div(2).equal(),color:P.colorTextQuaternary,fontSize:P.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${P.motionDurationMid} ease, opacity ${P.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:P.colorTextTertiary}},[`&:hover ${de}-clear`]:{opacity:1,background:P.colorBgBase,borderRadius:"50%"}}),[`${de}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${de}-has-feedback`]:{[`${de}-clear`]:{insetInlineEnd:P.calc(ce).add(P.fontSize).add(P.paddingXS).equal()}}}}}},Se=P=>{const{componentCls:nt}=P;return[{[nt]:{[`&${nt}-in-form-item`]:{width:"100%"}}},se(P),U(P),(0,c.ZP)(P),Z(P),{[`${nt}-rtl`]:{direction:"rtl"}},(0,Xe.c)(P,{borderElCls:`${nt}-selector`,focusElCls:`${nt}-focused`})]};var T=(0,B.I$)("Select",(P,nt)=>{let{rootPrefixCls:de}=nt;const ce=(0,De.mergeToken)(P,{rootPrefixCls:de,inputPaddingHorizontalBase:P.calc(P.paddingSM).sub(1).equal(),multipleSelectItemHeight:P.multipleItemHeight,selectHeight:P.controlHeight});return[Se(ce),ke(ce)]},F,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(Qr,_t,n){"use strict";n.d(_t,{_z:function(){return ee},gp:function(){return De}});var o=n(36237),Xe=n(63356),B=n(51636);const De=c=>{const{multipleSelectItemHeight:L,paddingXXS:D,lineWidth:U,INTERNAL_FIXED_ITEM_MARGIN:F}=c,_=c.max(c.calc(D).sub(U).equal(),0),I=c.max(c.calc(_).sub(F).equal(),0);return{basePadding:_,containerPadding:I,itemHeight:(0,o.unit)(L),itemLineHeight:(0,o.unit)(c.calc(L).sub(c.calc(c.lineWidth).mul(2)).equal())}},q=c=>{const{multipleSelectItemHeight:L,selectHeight:D,lineWidth:U}=c;return c.calc(D).sub(L).div(2).sub(U).equal()},ee=c=>{const{componentCls:L,iconCls:D,borderRadiusSM:U,motionDurationSlow:F,paddingXS:_,multipleItemColorDisabled:I,multipleItemBorderColorDisabled:z,colorIcon:O,colorIconHover:A,INTERNAL_FIXED_ITEM_MARGIN:oe}=c;return{[`${L}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${L}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:oe,borderRadius:U,cursor:"default",transition:`font-size ${F}, line-height ${F}, height ${F}`,marginInlineEnd:c.calc(oe).mul(2).equal(),paddingInlineStart:_,paddingInlineEnd:c.calc(_).div(2).equal(),[`${L}-disabled&`]:{color:I,borderColor:z,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:c.calc(_).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Xe.Ro)()),{display:"inline-flex",alignItems:"center",color:O,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${D}`]:{verticalAlign:"-0.2em"},"&:hover":{color:A}})}}}},Y=(c,L)=>{const{componentCls:D,INTERNAL_FIXED_ITEM_MARGIN:U}=c,F=`${D}-selection-overflow`,_=c.multipleSelectItemHeight,I=q(c),z=L?`${D}-${L}`:"",O=De(c);return{[`${D}-multiple${z}`]:Object.assign(Object.assign({},ee(c)),{[`${D}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:O.basePadding,paddingBlock:O.containerPadding,borderRadius:c.borderRadius,[`${D}-disabled&`]:{background:c.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.unit)(U)} 0`,lineHeight:(0,o.unit)(_),visibility:"hidden",content:'"\\a0"'}},[`${D}-selection-item`]:{height:O.itemHeight,lineHeight:(0,o.unit)(O.itemLineHeight)},[`${D}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,o.unit)(_),marginBlock:U}},[`${D}-prefix`]:{marginInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(O.basePadding).equal()},[`${F}-item + ${F}-item,
${D}-prefix + ${D}-selection-wrap
`]:{[`${D}-selection-search`]:{marginInlineStart:0},[`${D}-selection-placeholder`]:{insetInlineStart:0}},[`${F}-item-suffix`]:{minHeight:O.itemHeight,marginBlock:U},[`${D}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(I).equal(),"\n &-input,\n &-mirror\n ":{height:_,fontFamily:c.fontFamily,lineHeight:(0,o.unit)(_),transition:`all ${c.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${D}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(O.basePadding).equal(),insetInlineEnd:c.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${c.motionDurationSlow}`}})}};function x(c,L){const{componentCls:D}=c,U=L?`${D}-${L}`:"",F={[`${D}-multiple${U}`]:{fontSize:c.fontSize,[`${D}-selector`]:{[`${D}-show-search&`]:{cursor:"text"}},[`
&${D}-show-arrow ${D}-selector,
&${D}-allow-clear ${D}-selector
`]:{paddingInlineEnd:c.calc(c.fontSizeIcon).add(c.controlPaddingHorizontal).equal()}}};return[Y(c,L),F]}const Z=c=>{const{componentCls:L}=c,D=(0,B.mergeToken)(c,{selectHeight:c.controlHeightSM,multipleSelectItemHeight:c.multipleItemHeightSM,borderRadius:c.borderRadiusSM,borderRadiusSM:c.borderRadiusXS}),U=(0,B.mergeToken)(c,{fontSize:c.fontSizeLG,selectHeight:c.controlHeightLG,multipleSelectItemHeight:c.multipleItemHeightLG,borderRadius:c.borderRadiusLG,borderRadiusSM:c.borderRadius});return[x(c),x(D,"sm"),{[`${L}-multiple${L}-sm`]:{[`${L}-selection-placeholder`]:{insetInline:c.calc(c.controlPaddingHorizontalSM).sub(c.lineWidth).equal()},[`${L}-selection-search`]:{marginInlineStart:2}}},x(U,"lg")]};_t.ZP=Z},68525:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return x}});var o=n(59301),Xe=n(40001),B=n(19248),De=n(99267),q=n(84105),ee=n(58617),Y=n(47472);function x(Z){let{suffixIcon:c,clearIcon:L,menuItemSelectedIcon:D,removeIcon:U,loading:F,multiple:_,hasFeedback:I,prefixCls:z,showSuffixIcon:O,feedbackIcon:A,showArrow:oe,componentName:J}=Z;const te=L!=null?L:o.createElement(B.Z,null),Ee=xe=>c===null&&!I&&!oe?null:o.createElement(o.Fragment,null,O!==!1&&xe,I&&A);let Pe=null;if(c!==void 0)Pe=Ee(c);else if(F)Pe=Ee(o.createElement(ee.Z,{spin:!0}));else{const xe=`${z}-suffix`;Pe=Ce=>{let{open:se,showSearch:Se}=Ce;return Ee(se&&Se?o.createElement(Y.Z,{className:xe}):o.createElement(q.Z,{className:xe}))}}let et=null;D!==void 0?et=D:_?et=o.createElement(Xe.Z,null):et=null;let ke=null;return U!==void 0?ke=U:ke=o.createElement(De.Z,null),{clearIcon:te,suffixIcon:Pe,itemIcon:et,removeIcon:ke}}},90005:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return o}});function o(Xe,B){return B!==void 0?B:Xe!==null}},44104:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return I}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(11592),q=n(99402),ee=n(48755),Y=n(70045);const x=o.createContext({latestIndex:0}),Z=x.Provider;var L=z=>{let{className:O,index:A,children:oe,split:J,style:te}=z;const{latestIndex:Ee}=o.useContext(x);return oe==null?null:o.createElement(o.Fragment,null,o.createElement("div",{className:O,style:te},oe),A<Ee&&J&&o.createElement("span",{className:`${O}-split`},J))},D=n(31547),U=function(z,O){var A={};for(var oe in z)Object.prototype.hasOwnProperty.call(z,oe)&&O.indexOf(oe)<0&&(A[oe]=z[oe]);if(z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,oe=Object.getOwnPropertySymbols(z);J<oe.length;J++)O.indexOf(oe[J])<0&&Object.prototype.propertyIsEnumerable.call(z,oe[J])&&(A[oe[J]]=z[oe[J]]);return A};const _=o.forwardRef((z,O)=>{var A;const{getPrefixCls:oe,direction:J,size:te,className:Ee,style:Pe,classNames:et,styles:ke}=(0,ee.dj)("space"),{size:xe=te!=null?te:"small",align:Ce,className:se,rootClassName:Se,children:T,direction:P="horizontal",prefixCls:nt,split:de,style:ce,wrap:y=!1,classNames:K,styles:R}=z,S=U(z,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[X,He]=Array.isArray(xe)?xe:[xe,xe],pe=(0,q.n)(He),Ze=(0,q.n)(X),ot=(0,q.T)(He),ht=(0,q.T)(X),he=(0,De.Z)(T,{keepEmpty:!0}),Le=Ce===void 0&&P==="horizontal"?"center":Ce,St=oe("space",nt),[We,Re,M]=(0,D.Z)(St),_e=B()(St,Ee,Re,`${St}-${P}`,{[`${St}-rtl`]:J==="rtl",[`${St}-align-${Le}`]:Le,[`${St}-gap-row-${He}`]:pe,[`${St}-gap-col-${X}`]:Ze},se,Se,M),ge=B()(`${St}-item`,(A=K==null?void 0:K.item)!==null&&A!==void 0?A:et.item);let ue=0;const fe=he.map((ye,Be)=>{var Ye;ye!=null&&(ue=Be);const xt=(ye==null?void 0:ye.key)||`${ge}-${Be}`;return o.createElement(L,{className:ge,key:xt,index:Be,split:de,style:(Ye=R==null?void 0:R.item)!==null&&Ye!==void 0?Ye:ke.item},ye)}),me=o.useMemo(()=>({latestIndex:ue}),[ue]);if(he.length===0)return null;const Ie={};return y&&(Ie.flexWrap="wrap"),!Ze&&ht&&(Ie.columnGap=X),!pe&&ot&&(Ie.rowGap=He),We(o.createElement("div",Object.assign({ref:O,className:_e,style:Object.assign(Object.assign(Object.assign({},Ie),Pe),ce)},S),o.createElement(Z,{value:me},fe)))});_.Compact=Y.ZP;var I=_},11938:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return Ce}});var o=n(59301),Xe=n(40192),B=n(22703),De=n(92310),q=n.n(De),ee=n(26112),Y=n(48755),x=n(458),c=se=>{const{value:Se,formatter:T,precision:P,decimalSeparator:nt,groupSeparator:de="",prefixCls:ce}=se;let y;if(typeof T=="function")y=T(Se);else{const K=String(Se),R=K.match(/^(-?)(\d*)(\.(\d+))?$/);if(!R||K==="-")y=K;else{const S=R[1];let X=R[2]||"0",He=R[4]||"";X=X.replace(/\B(?=(\d{3})+(?!\d))/g,de),typeof P=="number"&&(He=He.padEnd(P,"0").slice(0,P>0?P:0)),He&&(He=`${nt}${He}`),y=[o.createElement("span",{key:"int",className:`${ce}-content-value-int`},S,X),He&&o.createElement("span",{key:"decimal",className:`${ce}-content-value-decimal`},He)]}}return o.createElement("span",{className:`${ce}-content-value`},y)},L=n(63356),D=n(16931),U=n(51636);const F=se=>{const{componentCls:Se,marginXXS:T,padding:P,colorTextDescription:nt,titleFontSize:de,colorTextHeading:ce,contentFontSize:y,fontFamily:K}=se;return{[Se]:Object.assign(Object.assign({},(0,L.Wf)(se)),{[`${Se}-title`]:{marginBottom:T,color:nt,fontSize:de},[`${Se}-skeleton`]:{paddingTop:P},[`${Se}-content`]:{color:ce,fontSize:y,fontFamily:K,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:T},[`${Se}-content-suffix`]:{marginInlineStart:T}}})}},_=se=>{const{fontSizeHeading3:Se,fontSize:T}=se;return{titleFontSize:T,contentFontSize:Se}};var I=(0,D.I$)("Statistic",se=>{const Se=(0,U.mergeToken)(se,{});return[F(Se)]},_),z=function(se,Se){var T={};for(var P in se)Object.prototype.hasOwnProperty.call(se,P)&&Se.indexOf(P)<0&&(T[P]=se[P]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,P=Object.getOwnPropertySymbols(se);nt<P.length;nt++)Se.indexOf(P[nt])<0&&Object.prototype.propertyIsEnumerable.call(se,P[nt])&&(T[P[nt]]=se[P[nt]]);return T},A=se=>{const{prefixCls:Se,className:T,rootClassName:P,style:nt,valueStyle:de,value:ce=0,title:y,valueRender:K,prefix:R,suffix:S,loading:X=!1,formatter:He,precision:pe,decimalSeparator:Ze=".",groupSeparator:ot=",",onMouseEnter:ht,onMouseLeave:he}=se,Le=z(se,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:St,direction:We,className:Re,style:M}=(0,Y.dj)("statistic"),_e=St("statistic",Se),[ge,ue,fe]=I(_e),me=o.createElement(c,{decimalSeparator:Ze,groupSeparator:ot,prefixCls:_e,formatter:He,precision:pe,value:ce}),Ie=q()(_e,{[`${_e}-rtl`]:We==="rtl"},Re,T,P,ue,fe),ye=(0,ee.Z)(Le,{aria:!0,data:!0});return ge(o.createElement("div",Object.assign({},ye,{className:Ie,style:Object.assign(Object.assign({},M),nt),onMouseEnter:ht,onMouseLeave:he}),y&&o.createElement("div",{className:`${_e}-title`},y),o.createElement(x.Z,{paragraph:!1,loading:X,className:`${_e}-skeleton`},o.createElement("div",{style:de,className:`${_e}-content`},R&&o.createElement("span",{className:`${_e}-content-prefix`},R),K?K(me):me,S&&o.createElement("span",{className:`${_e}-content-suffix`},S)))))};const oe=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function J(se,Se){let T=se;const P=/\[[^\]]*]/g,nt=(Se.match(P)||[]).map(K=>K.slice(1,-1)),de=Se.replace(P,"[]"),ce=oe.reduce((K,R)=>{let[S,X]=R;if(K.includes(S)){const He=Math.floor(T/X);return T-=He*X,K.replace(new RegExp(`${S}+`,"g"),pe=>{const Ze=pe.length;return He.toString().padStart(Ze,"0")})}return K},de);let y=0;return ce.replace(P,()=>{const K=nt[y];return y+=1,K})}function te(se,Se){const{format:T=""}=Se,P=new Date(se).getTime(),nt=Date.now(),de=Math.max(P-nt,0);return J(de,T)}var Ee=function(se,Se){var T={};for(var P in se)Object.prototype.hasOwnProperty.call(se,P)&&Se.indexOf(P)<0&&(T[P]=se[P]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var nt=0,P=Object.getOwnPropertySymbols(se);nt<P.length;nt++)Se.indexOf(P[nt])<0&&Object.prototype.propertyIsEnumerable.call(se,P[nt])&&(T[P[nt]]=se[P[nt]]);return T};const Pe=1e3/30;function et(se){return new Date(se).getTime()}const ke=se=>{const{value:Se,format:T="HH:mm:ss",onChange:P,onFinish:nt}=se,de=Ee(se,["value","format","onChange","onFinish"]),ce=(0,Xe.Z)(),y=o.useRef(null),K=()=>{nt==null||nt(),y.current&&(clearInterval(y.current),y.current=null)},R=()=>{const He=et(Se);He>=Date.now()&&(y.current=setInterval(()=>{ce(),P==null||P(He-Date.now()),He<Date.now()&&K()},Pe))};o.useEffect(()=>(R(),()=>{y.current&&(clearInterval(y.current),y.current=null)}),[Se]);const S=(He,pe)=>te(He,Object.assign(Object.assign({},pe),{format:T})),X=He=>(0,B.Tm)(He,{title:void 0});return o.createElement(A,Object.assign({},de,{value:Se,valueRender:X,formatter:S}))};var xe=o.memo(ke);A.Countdown=xe;var Ce=A},93873:function(Qr,_t,n){"use strict";n.d(_t,{Fm:function(){return D}});var o=n(36237),Xe=n(48746);const B=new o.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),De=new o.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),q=new o.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ee=new o.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Y=new o.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),x=new o.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Z=new o.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new o.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),L={"move-up":{inKeyframes:Z,outKeyframes:c},"move-down":{inKeyframes:B,outKeyframes:De},"move-left":{inKeyframes:q,outKeyframes:ee},"move-right":{inKeyframes:Y,outKeyframes:x}},D=(U,F)=>{const{antCls:_}=U,I=`${_}-${F}`,{inKeyframes:z,outKeyframes:O}=L[F];return[(0,Xe.R)(I,z,O,U.motionDurationMid),{[`
${I}-enter,
${I}-appear
`]:{opacity:0,animationTimingFunction:U.motionEaseOutCirc},[`${I}-leave`]:{animationTimingFunction:U.motionEaseInOutCirc}}]}},46e3:function(Qr,_t,n){"use strict";n.d(_t,{Qt:function(){return q},Uw:function(){return De},fJ:function(){return B},ly:function(){return ee},oN:function(){return D}});var o=n(36237),Xe=n(48746);const B=new o.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),De=new o.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),q=new o.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ee=new o.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Y=new o.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),x=new o.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Z=new o.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),c=new o.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),L={"slide-up":{inKeyframes:B,outKeyframes:De},"slide-down":{inKeyframes:q,outKeyframes:ee},"slide-left":{inKeyframes:Y,outKeyframes:x},"slide-right":{inKeyframes:Z,outKeyframes:c}},D=(U,F)=>{const{antCls:_}=U,I=`${_}-${F}`,{inKeyframes:z,outKeyframes:O}=L[F];return[(0,Xe.R)(I,z,O,U.motionDurationMid),{[`
${I}-enter,
${I}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:U.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${I}-leave`]:{animationTimingFunction:U.motionEaseInQuint}}]}},37645:function(Qr,_t,n){"use strict";n.d(_t,{ZP:function(){return ee},qN:function(){return B},wZ:function(){return De}});var o=n(36237),Xe=n(36305);const B=8;function De(Y){const{contentRadius:x,limitVerticalRadius:Z}=Y,c=x>12?x+2:12;return{arrowOffsetHorizontal:c,arrowOffsetVertical:Z?B:c}}function q(Y,x){return Y?x:{}}function ee(Y,x,Z){const{componentCls:c,boxShadowPopoverArrow:L,arrowOffsetVertical:D,arrowOffsetHorizontal:U}=Y,{arrowDistance:F=0,arrowPlacement:_={left:!0,right:!0,top:!0,bottom:!0}}=Z||{};return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({[`${c}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,Xe.W)(Y,x,L)),{"&:before":{background:x}})]},q(!!_.top,{[[`&-placement-top > ${c}-arrow`,`&-placement-topLeft > ${c}-arrow`,`&-placement-topRight > ${c}-arrow`].join(",")]:{bottom:F,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":U,[`> ${c}-arrow`]:{left:{_skip_check_:!0,value:U}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(U)})`,[`> ${c}-arrow`]:{right:{_skip_check_:!0,value:U}}}})),q(!!_.bottom,{[[`&-placement-bottom > ${c}-arrow`,`&-placement-bottomLeft > ${c}-arrow`,`&-placement-bottomRight > ${c}-arrow`].join(",")]:{top:F,transform:"translateY(-100%)"},[`&-placement-bottom > ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":U,[`> ${c}-arrow`]:{left:{_skip_check_:!0,value:U}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(U)})`,[`> ${c}-arrow`]:{right:{_skip_check_:!0,value:U}}}})),q(!!_.left,{[[`&-placement-left > ${c}-arrow`,`&-placement-leftTop > ${c}-arrow`,`&-placement-leftBottom > ${c}-arrow`].join(",")]:{right:{_skip_check_:!0,value:F},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${c}-arrow`]:{top:D},[`&-placement-leftBottom > ${c}-arrow`]:{bottom:D}})),q(!!_.right,{[[`&-placement-right > ${c}-arrow`,`&-placement-rightTop > ${c}-arrow`,`&-placement-rightBottom > ${c}-arrow`].join(",")]:{left:{_skip_check_:!0,value:F},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${c}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${c}-arrow`]:{top:D},[`&-placement-rightBottom > ${c}-arrow`]:{bottom:D}}))}}},36305:function(Qr,_t,n){"use strict";n.d(_t,{W:function(){return B},w:function(){return Xe}});var o=n(36237);function Xe(De){const{sizePopupArrow:q,borderRadiusXS:ee,borderRadiusOuter:Y}=De,x=q/2,Z=0,c=x,L=Y*1/Math.sqrt(2),D=x-Y*(1-1/Math.sqrt(2)),U=x-ee*(1/Math.sqrt(2)),F=Y*(Math.sqrt(2)-1)+ee*(1/Math.sqrt(2)),_=2*x-U,I=F,z=2*x-L,O=D,A=2*x-Z,oe=c,J=x*Math.sqrt(2)+Y*(Math.sqrt(2)-2),te=Y*(Math.sqrt(2)-1),Ee=`polygon(${te}px 100%, 50% ${te}px, ${2*x-te}px 100%, ${te}px 100%)`,Pe=`path('M ${Z} ${c} A ${Y} ${Y} 0 0 0 ${L} ${D} L ${U} ${F} A ${ee} ${ee} 0 0 1 ${_} ${I} L ${z} ${O} A ${Y} ${Y} 0 0 0 ${A} ${oe} Z')`;return{arrowShadowWidth:J,arrowPath:Pe,arrowPolygon:Ee}}const B=(De,q,ee)=>{const{sizePopupArrow:Y,arrowPolygon:x,arrowPath:Z,arrowShadowWidth:c,borderRadiusXS:L,calc:D}=De;return{pointerEvents:"none",width:Y,height:Y,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:Y,height:D(Y).div(2).equal(),background:q,clipPath:{_multi_value_:!0,value:[x,Z]},content:'""'},"&::after":{content:'""',position:"absolute",width:c,height:c,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,o.unit)(L)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:ee,zIndex:0,background:"transparent"}}}},71411:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return ke}});var o=n(59301),Xe=n(58617),B=n(92310),De=n.n(B),q=n(63158),ee=n(18929),Y=n(12919),x=n(48755),Z=n(2171),c=n(31756),L=n(36237),D=n(17835),U=n(63356),F=n(16931),_=n(51636);const I=xe=>{const{componentCls:Ce,trackHeightSM:se,trackPadding:Se,trackMinWidthSM:T,innerMinMarginSM:P,innerMaxMarginSM:nt,handleSizeSM:de,calc:ce}=xe,y=`${Ce}-inner`,K=(0,L.unit)(ce(de).add(ce(Se).mul(2)).equal()),R=(0,L.unit)(ce(nt).mul(2).equal());return{[Ce]:{[`&${Ce}-small`]:{minWidth:T,height:se,lineHeight:(0,L.unit)(se),[`${Ce}-inner`]:{paddingInlineStart:nt,paddingInlineEnd:P,[`${y}-checked, ${y}-unchecked`]:{minHeight:se},[`${y}-checked`]:{marginInlineStart:`calc(-100% + ${K} - ${R})`,marginInlineEnd:`calc(100% - ${K} + ${R})`},[`${y}-unchecked`]:{marginTop:ce(se).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Ce}-handle`]:{width:de,height:de},[`${Ce}-loading-icon`]:{top:ce(ce(de).sub(xe.switchLoadingIconSize)).div(2).equal(),fontSize:xe.switchLoadingIconSize},[`&${Ce}-checked`]:{[`${Ce}-inner`]:{paddingInlineStart:P,paddingInlineEnd:nt,[`${y}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${y}-unchecked`]:{marginInlineStart:`calc(100% - ${K} + ${R})`,marginInlineEnd:`calc(-100% + ${K} - ${R})`}},[`${Ce}-handle`]:{insetInlineStart:`calc(100% - ${(0,L.unit)(ce(de).add(Se).equal())})`}},[`&:not(${Ce}-disabled):active`]:{[`&:not(${Ce}-checked) ${y}`]:{[`${y}-unchecked`]:{marginInlineStart:ce(xe.marginXXS).div(2).equal(),marginInlineEnd:ce(xe.marginXXS).mul(-1).div(2).equal()}},[`&${Ce}-checked ${y}`]:{[`${y}-checked`]:{marginInlineStart:ce(xe.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:ce(xe.marginXXS).div(2).equal()}}}}}}},z=xe=>{const{componentCls:Ce,handleSize:se,calc:Se}=xe;return{[Ce]:{[`${Ce}-loading-icon${xe.iconCls}`]:{position:"relative",top:Se(Se(se).sub(xe.fontSize)).div(2).equal(),color:xe.switchLoadingIconColor,verticalAlign:"top"},[`&${Ce}-checked ${Ce}-loading-icon`]:{color:xe.switchColor}}}},O=xe=>{const{componentCls:Ce,trackPadding:se,handleBg:Se,handleShadow:T,handleSize:P,calc:nt}=xe,de=`${Ce}-handle`;return{[Ce]:{[de]:{position:"absolute",top:se,insetInlineStart:se,width:P,height:P,transition:`all ${xe.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:Se,borderRadius:nt(P).div(2).equal(),boxShadow:T,transition:`all ${xe.switchDuration} ease-in-out`,content:'""'}},[`&${Ce}-checked ${de}`]:{insetInlineStart:`calc(100% - ${(0,L.unit)(nt(P).add(se).equal())})`},[`&:not(${Ce}-disabled):active`]:{[`${de}::before`]:{insetInlineEnd:xe.switchHandleActiveInset,insetInlineStart:0},[`&${Ce}-checked ${de}::before`]:{insetInlineEnd:0,insetInlineStart:xe.switchHandleActiveInset}}}}},A=xe=>{const{componentCls:Ce,trackHeight:se,trackPadding:Se,innerMinMargin:T,innerMaxMargin:P,handleSize:nt,calc:de}=xe,ce=`${Ce}-inner`,y=(0,L.unit)(de(nt).add(de(Se).mul(2)).equal()),K=(0,L.unit)(de(P).mul(2).equal());return{[Ce]:{[ce]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:P,paddingInlineEnd:T,transition:`padding-inline-start ${xe.switchDuration} ease-in-out, padding-inline-end ${xe.switchDuration} ease-in-out`,[`${ce}-checked, ${ce}-unchecked`]:{display:"block",color:xe.colorTextLightSolid,fontSize:xe.fontSizeSM,transition:`margin-inline-start ${xe.switchDuration} ease-in-out, margin-inline-end ${xe.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:se},[`${ce}-checked`]:{marginInlineStart:`calc(-100% + ${y} - ${K})`,marginInlineEnd:`calc(100% - ${y} + ${K})`},[`${ce}-unchecked`]:{marginTop:de(se).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Ce}-checked ${ce}`]:{paddingInlineStart:T,paddingInlineEnd:P,[`${ce}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ce}-unchecked`]:{marginInlineStart:`calc(100% - ${y} + ${K})`,marginInlineEnd:`calc(-100% + ${y} - ${K})`}},[`&:not(${Ce}-disabled):active`]:{[`&:not(${Ce}-checked) ${ce}`]:{[`${ce}-unchecked`]:{marginInlineStart:de(Se).mul(2).equal(),marginInlineEnd:de(Se).mul(-1).mul(2).equal()}},[`&${Ce}-checked ${ce}`]:{[`${ce}-checked`]:{marginInlineStart:de(Se).mul(-1).mul(2).equal(),marginInlineEnd:de(Se).mul(2).equal()}}}}}},oe=xe=>{const{componentCls:Ce,trackHeight:se,trackMinWidth:Se}=xe;return{[Ce]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,U.Wf)(xe)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:Se,height:se,lineHeight:(0,L.unit)(se),verticalAlign:"middle",background:xe.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${xe.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ce}-disabled)`]:{background:xe.colorTextTertiary}}),(0,U.Qy)(xe)),{[`&${Ce}-checked`]:{background:xe.switchColor,[`&:hover:not(${Ce}-disabled)`]:{background:xe.colorPrimaryHover}},[`&${Ce}-loading, &${Ce}-disabled`]:{cursor:"not-allowed",opacity:xe.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ce}-rtl`]:{direction:"rtl"}})}},J=xe=>{const{fontSize:Ce,lineHeight:se,controlHeight:Se,colorWhite:T}=xe,P=Ce*se,nt=Se/2,de=2,ce=P-de*2,y=nt-de*2;return{trackHeight:P,trackHeightSM:nt,trackMinWidth:ce*2+de*4,trackMinWidthSM:y*2+de*2,trackPadding:de,handleBg:T,handleSize:ce,handleSizeSM:y,handleShadow:`0 2px 4px 0 ${new D.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:ce/2,innerMaxMargin:ce+de+de*2,innerMinMarginSM:y/2,innerMaxMarginSM:y+de+de*2}};var te=(0,F.I$)("Switch",xe=>{const Ce=(0,_.mergeToken)(xe,{switchDuration:xe.motionDurationMid,switchColor:xe.colorPrimary,switchDisabledOpacity:xe.opacityLoading,switchLoadingIconSize:xe.calc(xe.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${xe.opacityLoading})`,switchHandleActiveInset:"-30%"});return[oe(Ce),A(Ce),O(Ce),z(Ce),I(Ce)]},J),Ee=function(xe,Ce){var se={};for(var Se in xe)Object.prototype.hasOwnProperty.call(xe,Se)&&Ce.indexOf(Se)<0&&(se[Se]=xe[Se]);if(xe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,Se=Object.getOwnPropertySymbols(xe);T<Se.length;T++)Ce.indexOf(Se[T])<0&&Object.prototype.propertyIsEnumerable.call(xe,Se[T])&&(se[Se[T]]=xe[Se[T]]);return se};const et=o.forwardRef((xe,Ce)=>{const{prefixCls:se,size:Se,disabled:T,loading:P,className:nt,rootClassName:de,style:ce,checked:y,value:K,defaultChecked:R,defaultValue:S,onChange:X}=xe,He=Ee(xe,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[pe,Ze]=(0,ee.Z)(!1,{value:y!=null?y:K,defaultValue:R!=null?R:S}),{getPrefixCls:ot,direction:ht,switch:he}=o.useContext(x.E_),Le=o.useContext(Z.Z),St=(T!=null?T:Le)||P,We=ot("switch",se),Re=o.createElement("div",{className:`${We}-handle`},P&&o.createElement(Xe.Z,{className:`${We}-loading-icon`})),[M,_e,ge]=te(We),ue=(0,c.Z)(Se),fe=De()(he==null?void 0:he.className,{[`${We}-small`]:ue==="small",[`${We}-loading`]:P,[`${We}-rtl`]:ht==="rtl"},nt,de,_e,ge),me=Object.assign(Object.assign({},he==null?void 0:he.style),ce),Ie=function(){Ze(arguments.length<=0?void 0:arguments[0]),X==null||X.apply(void 0,arguments)};return M(o.createElement(Y.Z,{component:"Switch"},o.createElement(q.Z,Object.assign({},He,{checked:pe,onChange:Ie,prefixCls:We,className:fe,style:me,disabled:St,ref:Ce,loadingIcon:Re}))))});et.__ANT_SWITCH=!0;var ke=et},54172:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return Qt}});var o=n(59301),Xe=n(4030),De=tt=>null,ee=tt=>null,Y=n(94480),x=n(84105),Z=n(92310),c=n.n(Z),L=n(82661),D=n(34643),U=n(34061),F=n(18929);function _(tt){const[we,kt]=(0,o.useState)(null);return[(0,o.useCallback)((Jt,Fe,Me)=>{const lt=we!=null?we:Jt,Et=Math.min(lt||0,Jt),fr=Math.max(lt||0,Jt),vr=Fe.slice(Et,fr+1).map(dr=>tt(dr)),Zt=vr.some(dr=>!Me.has(dr)),Tt=[];return vr.forEach(dr=>{Zt?(Me.has(dr)||Tt.push(dr),Me.add(dr)):(Me.delete(dr),Tt.push(dr))}),kt(Zt?fr:null),Tt},[we]),Jt=>{kt(Jt)}]}var I=n(32383),z=n(62673),O=n(75727),A=n(47889);const oe={},J="SELECT_ALL",te="SELECT_INVERT",Ee="SELECT_NONE",Pe=[],et=(tt,we)=>{let kt=[];return(we||[]).forEach(Ft=>{kt.push(Ft),Ft&&typeof Ft=="object"&&tt in Ft&&(kt=[].concat((0,Y.Z)(kt),(0,Y.Z)(et(tt,Ft[tt]))))}),kt};var xe=(tt,we)=>{const{preserveSelectedRowKeys:kt,selectedRowKeys:Ft,defaultSelectedRowKeys:Ot,getCheckboxProps:Jt,onChange:Fe,onSelect:Me,onSelectAll:lt,onSelectInvert:Et,onSelectNone:fr,onSelectMultiple:vr,columnWidth:Zt,type:Tt,selections:dr,fixed:Yt,renderCell:wr,hideSelectAll:je,checkStrictly:vt=!0}=we||{},{prefixCls:Nt,data:st,pageData:qt,getRecordByKey:nr,getRowKey:Or,expandType:Ar,childrenColumnName:Rr,locale:Hr,getPopupContainer:cn}=tt,wn=(0,I.ln)("Table"),[Lr,Mt]=_(Ln=>Ln),[ba,da]=(0,F.Z)(Ft||Ot||Pe,{value:Ft}),Wn=o.useRef(new Map),Jr=(0,o.useCallback)(Ln=>{if(kt){const Xn=new Map;Ln.forEach(rn=>{let mn=nr(rn);!mn&&Wn.current.has(rn)&&(mn=Wn.current.get(rn)),Xn.set(rn,mn)}),Wn.current=Xn}},[nr,kt]);o.useEffect(()=>{Jr(ba)},[ba]);const Vr=(0,o.useMemo)(()=>et(Rr,qt),[Rr,qt]),{keyEntities:En}=(0,o.useMemo)(()=>{if(vt)return{keyEntities:null};let Ln=st;if(kt){const Xn=new Set(Vr.map((mn,sa)=>Or(mn,sa))),rn=Array.from(Wn.current).reduce((mn,sa)=>{let[Sn,ha]=sa;return Xn.has(Sn)?mn:mn.concat(ha)},[]);Ln=[].concat((0,Y.Z)(Ln),(0,Y.Z)(rn))}return(0,U.I8)(Ln,{externalGetKey:Or,childrenPropName:Rr})},[st,Or,vt,Rr,kt,Vr]),oa=(0,o.useMemo)(()=>{const Ln=new Map;return Vr.forEach((Xn,rn)=>{const mn=Or(Xn,rn),sa=(Jt?Jt(Xn):null)||{};Ln.set(mn,sa)}),Ln},[Vr,Or,Jt]),_n=(0,o.useCallback)(Ln=>{const Xn=Or(Ln);let rn;return oa.has(Xn)?rn=oa.get(Or(Ln)):rn=Jt?Jt(Ln):void 0,!!(rn!=null&&rn.disabled)},[oa,Or]),[xa,qn]=(0,o.useMemo)(()=>{if(vt)return[ba||[],[]];const{checkedKeys:Ln,halfCheckedKeys:Xn}=(0,D.S)(ba,!0,En,_n);return[Ln||[],Xn]},[ba,vt,En,_n]),Qn=(0,o.useMemo)(()=>{const Ln=Tt==="radio"?xa.slice(0,1):xa;return new Set(Ln)},[xa,Tt]),ka=(0,o.useMemo)(()=>Tt==="radio"?new Set:new Set(qn),[qn,Tt]);o.useEffect(()=>{we||da(Pe)},[!!we]);const ra=(0,o.useCallback)((Ln,Xn)=>{let rn,mn;Jr(Ln),kt?(rn=Ln,mn=Ln.map(sa=>Wn.current.get(sa))):(rn=[],mn=[],Ln.forEach(sa=>{const Sn=nr(sa);Sn!==void 0&&(rn.push(sa),mn.push(Sn))})),da(rn),Fe==null||Fe(rn,mn,{type:Xn})},[da,nr,Fe,kt]),Hn=(0,o.useCallback)((Ln,Xn,rn,mn)=>{if(Me){const sa=rn.map(Sn=>nr(Sn));Me(nr(Ln),Xn,sa,mn)}ra(rn,"single")},[Me,nr,ra]),ea=(0,o.useMemo)(()=>!dr||je?null:(dr===!0?[J,te,Ee]:dr).map(Xn=>Xn===J?{key:"all",text:Hr.selectionAll,onSelect(){ra(st.map((rn,mn)=>Or(rn,mn)).filter(rn=>{const mn=oa.get(rn);return!(mn!=null&&mn.disabled)||Qn.has(rn)}),"all")}}:Xn===te?{key:"invert",text:Hr.selectInvert,onSelect(){const rn=new Set(Qn);qt.forEach((sa,Sn)=>{const ha=Or(sa,Sn),Vn=oa.get(ha);Vn!=null&&Vn.disabled||(rn.has(ha)?rn.delete(ha):rn.add(ha))});const mn=Array.from(rn);Et&&(wn.deprecated(!1,"onSelectInvert","onChange"),Et(mn)),ra(mn,"invert")}}:Xn===Ee?{key:"none",text:Hr.selectNone,onSelect(){fr==null||fr(),ra(Array.from(Qn).filter(rn=>{const mn=oa.get(rn);return mn==null?void 0:mn.disabled}),"none")}}:Xn).map(Xn=>Object.assign(Object.assign({},Xn),{onSelect:function(){for(var rn,mn,sa=arguments.length,Sn=new Array(sa),ha=0;ha<sa;ha++)Sn[ha]=arguments[ha];(mn=Xn.onSelect)===null||mn===void 0||(rn=mn).call.apply(rn,[Xn].concat(Sn)),Mt(null)}})),[dr,Qn,qt,Or,Et,ra]);return[(0,o.useCallback)(Ln=>{var Xn;if(!we)return Ln.filter(Aa=>Aa!==oe);let rn=(0,Y.Z)(Ln);const mn=new Set(Qn),sa=Vr.map(Or).filter(Aa=>!oa.get(Aa).disabled),Sn=sa.every(Aa=>mn.has(Aa)),ha=sa.some(Aa=>mn.has(Aa)),Vn=()=>{const Aa=[];Sn?sa.forEach(Ta=>{mn.delete(Ta),Aa.push(Ta)}):sa.forEach(Ta=>{mn.has(Ta)||(mn.add(Ta),Aa.push(Ta))});const ja=Array.from(mn);lt==null||lt(!Sn,ja.map(Ta=>nr(Ta)),Aa.map(Ta=>nr(Ta))),ra(ja,"all"),Mt(null)};let Ha,qa;if(Tt!=="radio"){let Aa;if(ea){const ma={getPopupContainer:cn,items:ea.map((Ka,La)=>{const{key:Qa,text:eo,onSelect:lo}=Ka;return{key:Qa!=null?Qa:La,onClick:()=>{lo==null||lo(sa)},label:eo}})};Aa=o.createElement("div",{className:`${Nt}-selection-extra`},o.createElement(O.Z,{menu:ma,getPopupContainer:cn},o.createElement("span",null,o.createElement(x.Z,null))))}const ja=Vr.map((ma,Ka)=>{const La=Or(ma,Ka),Qa=oa.get(La)||{};return Object.assign({checked:mn.has(La)},Qa)}).filter(ma=>{let{disabled:Ka}=ma;return Ka}),Ta=!!ja.length&&ja.length===Vr.length,Na=Ta&&ja.every(ma=>{let{checked:Ka}=ma;return Ka}),Ba=Ta&&ja.some(ma=>{let{checked:Ka}=ma;return Ka});qa=o.createElement(z.default,{checked:Ta?Na:!!Vr.length&&Sn,indeterminate:Ta?!Na&&Ba:!Sn&&ha,onChange:Vn,disabled:Vr.length===0||Ta,"aria-label":Aa?"Custom selection":"Select all",skipGroup:!0}),Ha=!je&&o.createElement("div",{className:`${Nt}-selection`},qa,Aa)}let yn;Tt==="radio"?yn=(Aa,ja,Ta)=>{const Na=Or(ja,Ta),Ba=mn.has(Na),ma=oa.get(Na);return{node:o.createElement(A.ZP,Object.assign({},ma,{checked:Ba,onClick:Ka=>{var La;Ka.stopPropagation(),(La=ma==null?void 0:ma.onClick)===null||La===void 0||La.call(ma,Ka)},onChange:Ka=>{var La;mn.has(Na)||Hn(Na,!0,[Na],Ka.nativeEvent),(La=ma==null?void 0:ma.onChange)===null||La===void 0||La.call(ma,Ka)}})),checked:Ba}}:yn=(Aa,ja,Ta)=>{var Na;const Ba=Or(ja,Ta),ma=mn.has(Ba),Ka=ka.has(Ba),La=oa.get(Ba);let Qa;return Ar==="nest"?Qa=Ka:Qa=(Na=La==null?void 0:La.indeterminate)!==null&&Na!==void 0?Na:Ka,{node:o.createElement(z.default,Object.assign({},La,{indeterminate:Qa,checked:ma,skipGroup:!0,onClick:eo=>{var lo;eo.stopPropagation(),(lo=La==null?void 0:La.onClick)===null||lo===void 0||lo.call(La,eo)},onChange:eo=>{var lo;const{nativeEvent:Ao}=eo,{shiftKey:Co}=Ao,Ra=sa.findIndex(ho=>ho===Ba),Uo=xa.some(ho=>sa.includes(ho));if(Co&&vt&&Uo){const ho=Lr(Ra,sa,mn),No=Array.from(mn);vr==null||vr(!ma,No.map(xo=>nr(xo)),ho.map(xo=>nr(xo))),ra(No,"multiple")}else{const ho=xa;if(vt){const No=ma?(0,L._5)(ho,Ba):(0,L.L0)(ho,Ba);Hn(Ba,!ma,No,Ao)}else{const No=(0,D.S)([].concat((0,Y.Z)(ho),[Ba]),!0,En,_n),{checkedKeys:xo,halfCheckedKeys:ii}=No;let Ho=xo;if(ma){const ei=new Set(xo);ei.delete(Ba),Ho=(0,D.S)(Array.from(ei),{checked:!1,halfCheckedKeys:ii},En,_n).checkedKeys}Hn(Ba,!ma,Ho,Ao)}}Mt(ma?null:Ra),(lo=La==null?void 0:La.onChange)===null||lo===void 0||lo.call(La,eo)}})),checked:ma}};const Pn=(Aa,ja,Ta)=>{const{node:Na,checked:Ba}=yn(Aa,ja,Ta);return wr?wr(Ba,ja,Ta,Na):Na};if(!rn.includes(oe))if(rn.findIndex(Aa=>{var ja;return((ja=Aa[Xe.vP])===null||ja===void 0?void 0:ja.columnType)==="EXPAND_COLUMN"})===0){const[Aa,...ja]=rn;rn=[Aa,oe].concat((0,Y.Z)(ja))}else rn=[oe].concat((0,Y.Z)(rn));const fa=rn.indexOf(oe);rn=rn.filter((Aa,ja)=>Aa!==oe||ja===fa);const Ja=rn[fa-1],Ga=rn[fa+1];let io=Yt;io===void 0&&((Ga==null?void 0:Ga.fixed)!==void 0?io=Ga.fixed:(Ja==null?void 0:Ja.fixed)!==void 0&&(io=Ja.fixed)),io&&Ja&&((Xn=Ja[Xe.vP])===null||Xn===void 0?void 0:Xn.columnType)==="EXPAND_COLUMN"&&Ja.fixed===void 0&&(Ja.fixed=io);const so=c()(`${Nt}-selection-col`,{[`${Nt}-selection-col-with-dropdown`]:dr&&Tt==="checkbox"}),la=()=>we!=null&&we.columnTitle?typeof we.columnTitle=="function"?we.columnTitle(qa):we.columnTitle:Ha,Io={fixed:io,width:Zt,className:`${Nt}-selection-column`,title:la(),render:Pn,onCell:we.onCell,[Xe.vP]:{className:so}};return rn.map(Aa=>Aa===oe?Io:Aa)},[Or,Vr,we,xa,Qn,ka,Zt,ea,Ar,oa,vr,Hn,_n]),Qn]},Ce=n(97347),se=n(2738);function Se(tt,we){return tt._antProxy=tt._antProxy||{},Object.keys(we).forEach(kt=>{if(!(kt in tt._antProxy)){const Ft=tt[kt];tt._antProxy[kt]=Ft,tt[kt]=we[kt]}}),tt}function T(tt,we){return(0,o.useImperativeHandle)(tt,()=>{const kt=we(),{nativeElement:Ft}=kt;return typeof Proxy!="undefined"?new Proxy(Ft,{get(Ot,Jt){return kt[Jt]?kt[Jt]:Reflect.get(Ot,Jt)}}):Se(Ft,kt)})}var P=n(83010),nt=n(48755),de=n(38406),ce=n(83397),y=n(31756),K=n(13783),R=n(85981),S=n(13747),X=n(29787),He=n(57700);function pe(tt){return we=>{const{prefixCls:kt,onExpand:Ft,record:Ot,expanded:Jt,expandable:Fe}=we,Me=`${kt}-row-expand-icon`;return o.createElement("button",{type:"button",onClick:lt=>{Ft(Ot,lt),lt.stopPropagation()},className:c()(Me,{[`${Me}-spaced`]:!Fe,[`${Me}-expanded`]:Fe&&Jt,[`${Me}-collapsed`]:Fe&&!Jt}),"aria-label":Jt?tt.collapse:tt.expand,"aria-expanded":Jt})}}var Ze=pe;function ot(tt){return(kt,Ft)=>{const Ot=kt.querySelector(`.${tt}-container`);let Jt=Ft;if(Ot){const Fe=getComputedStyle(Ot),Me=parseInt(Fe.borderLeftWidth,10),lt=parseInt(Fe.borderRightWidth,10);Jt=Ft-Me-lt}return Jt}}const ht=(tt,we)=>"key"in tt&&tt.key!==void 0&&tt.key!==null?tt.key:tt.dataIndex?Array.isArray(tt.dataIndex)?tt.dataIndex.join("."):tt.dataIndex:we;function he(tt,we){return we?`${we}-${tt}`:`${tt}`}const Le=(tt,we)=>typeof tt=="function"?tt(we):tt,St=(tt,we)=>{const kt=Le(tt,we);return Object.prototype.toString.call(kt)==="[object Object]"?"":kt};var We=n(54476),Re={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"},M=Re,_e=n(7657),ge=function(we,kt){return o.createElement(_e.Z,(0,We.Z)({},we,{ref:kt,icon:M}))},ue=o.forwardRef(ge),fe=ue,me=n(13697),Ie=n(9981),ye=n(40192);function Be(tt){const we=o.useRef(tt),kt=(0,ye.Z)();return[()=>we.current,Ft=>{we.current=Ft,kt()}]}var Ye=n(7939),xt=n(584),$t=n(93041),Xt=n(78857),Ut=n(18287),jt=n(47472),at=n(49397),pt=tt=>{const{value:we,filterSearch:kt,tablePrefixCls:Ft,locale:Ot,onChange:Jt}=tt;return kt?o.createElement("div",{className:`${Ft}-filter-dropdown-search`},o.createElement(at.Z,{prefix:o.createElement(jt.Z,null),placeholder:Ot.filterSearchPlaceholder,onChange:Jt,value:we,htmlSize:1,className:`${Ft}-filter-dropdown-search-input`})):null},dt=n(10228);const er=tt=>{const{keyCode:we}=tt;we===dt.Z.ENTER&&tt.stopPropagation()};var hr=o.forwardRef((tt,we)=>o.createElement("div",{className:tt.className,onClick:kt=>kt.stopPropagation(),onKeyDown:er,ref:we},tt.children));function Er(tt){let we=[];return(tt||[]).forEach(kt=>{let{value:Ft,children:Ot}=kt;we.push(Ft),Ot&&(we=[].concat((0,Y.Z)(we),(0,Y.Z)(Er(Ot))))}),we}function qr(tt){return tt.some(we=>{let{children:kt}=we;return kt})}function Pr(tt,we){return typeof we=="string"||typeof we=="number"?we==null?void 0:we.toString().toLowerCase().includes(tt.trim().toLowerCase()):!1}function w(tt){let{filters:we,prefixCls:kt,filteredKeys:Ft,filterMultiple:Ot,searchValue:Jt,filterSearch:Fe}=tt;return we.map((Me,lt)=>{const Et=String(Me.value);if(Me.children)return{key:Et||lt,label:Me.text,popupClassName:`${kt}-dropdown-submenu`,children:w({filters:Me.children,prefixCls:kt,filteredKeys:Ft,filterMultiple:Ot,searchValue:Jt,filterSearch:Fe})};const fr=Ot?z.default:A.ZP,vr={key:Me.value!==void 0?Et:lt,label:o.createElement(o.Fragment,null,o.createElement(fr,{checked:Ft.includes(Et)}),o.createElement("span",null,Me.text))};return Jt.trim()?typeof Fe=="function"?Fe(Jt,Me)?vr:null:Pr(Jt,Me.text)?vr:null:vr})}function H(tt){return tt||[]}var ae=tt=>{var we,kt,Ft,Ot;const{tablePrefixCls:Jt,prefixCls:Fe,column:Me,dropdownPrefixCls:lt,columnKey:Et,filterOnClose:fr,filterMultiple:vr,filterMode:Zt="menu",filterSearch:Tt=!1,filterState:dr,triggerFilter:Yt,locale:wr,children:je,getPopupContainer:vt,rootClassName:Nt}=tt,{filterResetToDefaultFilteredValue:st,defaultFilteredValue:qt,filterDropdownProps:nr={},filterDropdownOpen:Or,filterDropdownVisible:Ar,onFilterDropdownVisibleChange:Rr,onFilterDropdownOpenChange:Hr}=Me,[cn,wn]=o.useState(!1),Lr=!!(dr&&(!((we=dr.filteredKeys)===null||we===void 0)&&we.length||dr.forceFiltered)),Mt=yn=>{var Pn;wn(yn),(Pn=nr.onOpenChange)===null||Pn===void 0||Pn.call(nr,yn),Hr==null||Hr(yn),Rr==null||Rr(yn)},ba=(Ot=(Ft=(kt=nr.open)!==null&&kt!==void 0?kt:Or)!==null&&Ft!==void 0?Ft:Ar)!==null&&Ot!==void 0?Ot:cn,da=dr==null?void 0:dr.filteredKeys,[Wn,Jr]=Be(H(da)),Vr=yn=>{let{selectedKeys:Pn}=yn;Jr(Pn)},En=(yn,Pn)=>{let{node:fa,checked:Ja}=Pn;Vr(vr?{selectedKeys:yn}:{selectedKeys:Ja&&fa.key?[fa.key]:[]})};o.useEffect(()=>{cn&&Vr({selectedKeys:H(da)})},[da]);const[oa,_n]=o.useState([]),xa=yn=>{_n(yn)},[qn,Qn]=o.useState(""),ka=yn=>{const{value:Pn}=yn.target;Qn(Pn)};o.useEffect(()=>{cn||Qn("")},[cn]);const ra=yn=>{const Pn=yn!=null&&yn.length?yn:null;if(Pn===null&&(!dr||!dr.filteredKeys)||(0,me.Z)(Pn,dr==null?void 0:dr.filteredKeys,!0))return null;Yt({column:Me,key:Et,filteredKeys:Pn})},Hn=()=>{Mt(!1),ra(Wn())},ea=function(){let{confirm:yn,closeDropdown:Pn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};yn&&ra([]),Pn&&Mt(!1),Qn(""),Jr(st?(qt||[]).map(fa=>String(fa)):[])},Un=function(){let{closeDropdown:yn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};yn&&Mt(!1),ra(Wn())},Ln=(yn,Pn)=>{Pn.source==="trigger"&&(yn&&da!==void 0&&Jr(H(da)),Mt(yn),!yn&&!Me.filterDropdown&&fr&&Hn())},Xn=c()({[`${lt}-menu-without-submenu`]:!qr(Me.filters||[])}),rn=yn=>{if(yn.target.checked){const Pn=Er(Me==null?void 0:Me.filters).map(fa=>String(fa));Jr(Pn)}else Jr([])},mn=yn=>{let{filters:Pn}=yn;return(Pn||[]).map((fa,Ja)=>{const Ga=String(fa.value),io={title:fa.text,key:fa.value!==void 0?Ga:String(Ja)};return fa.children&&(io.children=mn({filters:fa.children})),io})},sa=yn=>{var Pn;return Object.assign(Object.assign({},yn),{text:yn.title,value:yn.key,children:((Pn=yn.children)===null||Pn===void 0?void 0:Pn.map(fa=>sa(fa)))||[]})};let Sn;const{direction:ha,renderEmpty:Vn}=o.useContext(nt.E_);if(typeof Me.filterDropdown=="function")Sn=Me.filterDropdown({prefixCls:`${lt}-custom`,setSelectedKeys:yn=>Vr({selectedKeys:yn}),selectedKeys:Wn(),confirm:Un,clearFilters:ea,filters:Me.filters,visible:ba,close:()=>{Mt(!1)}});else if(Me.filterDropdown)Sn=Me.filterDropdown;else{const yn=Wn()||[],Pn=()=>{var Ja,Ga;const io=(Ja=Vn==null?void 0:Vn("Table.filter"))!==null&&Ja!==void 0?Ja:o.createElement(xt.Z,{image:xt.Z.PRESENTED_IMAGE_SIMPLE,description:wr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Me.filters||[]).length===0)return io;if(Zt==="tree")return o.createElement(o.Fragment,null,o.createElement(pt,{filterSearch:Tt,value:qn,onChange:ka,tablePrefixCls:Jt,locale:wr}),o.createElement("div",{className:`${Jt}-filter-dropdown-tree`},vr?o.createElement(z.default,{checked:yn.length===Er(Me.filters).length,indeterminate:yn.length>0&&yn.length<Er(Me.filters).length,className:`${Jt}-filter-dropdown-checkall`,onChange:rn},(Ga=wr==null?void 0:wr.filterCheckall)!==null&&Ga!==void 0?Ga:wr==null?void 0:wr.filterCheckAll):null,o.createElement(Ut.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:vr,checkStrictly:!vr,className:`${lt}-menu`,onCheck:En,checkedKeys:yn,selectedKeys:yn,showIcon:!1,treeData:mn({filters:Me.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:qn.trim()?Io=>typeof Tt=="function"?Tt(qn,sa(Io)):Pr(qn,Io.title):void 0})));const so=w({filters:Me.filters||[],filterSearch:Tt,prefixCls:Fe,filteredKeys:Wn(),filterMultiple:vr,searchValue:qn}),la=so.every(Io=>Io===null);return o.createElement(o.Fragment,null,o.createElement(pt,{filterSearch:Tt,value:qn,onChange:ka,tablePrefixCls:Jt,locale:wr}),la?io:o.createElement($t.default,{selectable:!0,multiple:vr,prefixCls:`${lt}-menu`,className:Xn,onSelect:Vr,onDeselect:Vr,selectedKeys:yn,getPopupContainer:vt,openKeys:oa,onOpenChange:xa,items:so}))},fa=()=>st?(0,me.Z)((qt||[]).map(Ja=>String(Ja)),yn,!0):yn.length===0;Sn=o.createElement(o.Fragment,null,Pn(),o.createElement("div",{className:`${Fe}-dropdown-btns`},o.createElement(Ye.ZP,{type:"link",size:"small",disabled:fa(),onClick:()=>ea()},wr.filterReset),o.createElement(Ye.ZP,{type:"primary",size:"small",onClick:Hn},wr.filterConfirm)))}Me.filterDropdown&&(Sn=o.createElement(Xt.J,{selectable:void 0},Sn)),Sn=o.createElement(hr,{className:`${Fe}-dropdown`},Sn);const Ha=()=>{let yn;return typeof Me.filterIcon=="function"?yn=Me.filterIcon(Lr):Me.filterIcon?yn=Me.filterIcon:yn=o.createElement(fe,null),o.createElement("span",{role:"button",tabIndex:-1,className:c()(`${Fe}-trigger`,{active:Lr}),onClick:Pn=>{Pn.stopPropagation()}},yn)},qa=(0,Ie.Z)({trigger:["click"],placement:ha==="rtl"?"bottomLeft":"bottomRight",children:Ha(),getPopupContainer:vt},Object.assign(Object.assign({},nr),{rootClassName:c()(Nt,nr.rootClassName),open:ba,onOpenChange:Ln,dropdownRender:()=>typeof(nr==null?void 0:nr.dropdownRender)=="function"?nr.dropdownRender(Sn):Sn}));return o.createElement("div",{className:`${Fe}-column`},o.createElement("span",{className:`${Jt}-column-title`},je),o.createElement(O.Z,Object.assign({},qa)))};const Te=(tt,we,kt)=>{let Ft=[];return(tt||[]).forEach((Ot,Jt)=>{var Fe;const Me=he(Jt,kt);if(Ot.filters||"filterDropdown"in Ot||"onFilter"in Ot)if("filteredValue"in Ot){let lt=Ot.filteredValue;"filterDropdown"in Ot||(lt=(Fe=lt==null?void 0:lt.map(String))!==null&&Fe!==void 0?Fe:lt),Ft.push({column:Ot,key:ht(Ot,Me),filteredKeys:lt,forceFiltered:Ot.filtered})}else Ft.push({column:Ot,key:ht(Ot,Me),filteredKeys:we&&Ot.defaultFilteredValue?Ot.defaultFilteredValue:void 0,forceFiltered:Ot.filtered});"children"in Ot&&(Ft=[].concat((0,Y.Z)(Ft),(0,Y.Z)(Te(Ot.children,we,Me))))}),Ft};function Fr(tt,we,kt,Ft,Ot,Jt,Fe,Me,lt){return kt.map((Et,fr)=>{const vr=he(fr,Me),{filterOnClose:Zt=!0,filterMultiple:Tt=!0,filterMode:dr,filterSearch:Yt}=Et;let wr=Et;if(wr.filters||wr.filterDropdown){const je=ht(wr,vr),vt=Ft.find(Nt=>{let{key:st}=Nt;return je===st});wr=Object.assign(Object.assign({},wr),{title:Nt=>o.createElement(ae,{tablePrefixCls:tt,prefixCls:`${tt}-filter`,dropdownPrefixCls:we,column:wr,columnKey:je,filterState:vt,filterOnClose:Zt,filterMultiple:Tt,filterMode:dr,filterSearch:Yt,triggerFilter:Jt,locale:Ot,getPopupContainer:Fe,rootClassName:lt},Le(Et.title,Nt))})}return"children"in wr&&(wr=Object.assign(Object.assign({},wr),{children:Fr(tt,we,wr.children,Ft,Ot,Jt,Fe,vr,lt)})),wr})}const Mr=tt=>{const we={};return tt.forEach(kt=>{let{key:Ft,filteredKeys:Ot,column:Jt}=kt;const Fe=Ft,{filters:Me,filterDropdown:lt}=Jt;if(lt)we[Fe]=Ot||null;else if(Array.isArray(Ot)){const Et=Er(Me);we[Fe]=Et.filter(fr=>Ot.includes(String(fr)))}else we[Fe]=null}),we},bn=(tt,we,kt)=>we.reduce((Ot,Jt)=>{const{column:{onFilter:Fe,filters:Me},filteredKeys:lt}=Jt;return Fe&&lt&&lt.length?Ot.map(Et=>Object.assign({},Et)).filter(Et=>lt.some(fr=>{const vr=Er(Me),Zt=vr.findIndex(dr=>String(dr)===String(fr)),Tt=Zt!==-1?vr[Zt]:fr;return Et[kt]&&(Et[kt]=bn(Et[kt],we,kt)),Fe(Tt,Et)})):Ot},tt),Dn=tt=>tt.flatMap(we=>"children"in we?[we].concat((0,Y.Z)(Dn(we.children||[]))):[we]);var xr=tt=>{const{prefixCls:we,dropdownPrefixCls:kt,mergedColumns:Ft,onFilterChange:Ot,getPopupContainer:Jt,locale:Fe,rootClassName:Me}=tt,lt=(0,I.ln)("Table"),Et=o.useMemo(()=>Dn(Ft||[]),[Ft]),[fr,vr]=o.useState(()=>Te(Et,!0)),Zt=o.useMemo(()=>{const wr=Te(Et,!1);if(wr.length===0)return wr;let je=!0,vt=!0;if(wr.forEach(Nt=>{let{filteredKeys:st}=Nt;st!==void 0?je=!1:vt=!1}),je){const Nt=(Et||[]).map((st,qt)=>ht(st,he(qt)));return fr.filter(st=>{let{key:qt}=st;return Nt.includes(qt)}).map(st=>{const qt=Et[Nt.findIndex(nr=>nr===st.key)];return Object.assign(Object.assign({},st),{column:Object.assign(Object.assign({},st.column),qt),forceFiltered:qt.filtered})})}return wr},[Et,fr]),Tt=o.useMemo(()=>Mr(Zt),[Zt]),dr=wr=>{const je=Zt.filter(vt=>{let{key:Nt}=vt;return Nt!==wr.key});je.push(wr),vr(je),Ot(Mr(je),je)};return[wr=>Fr(we,kt,wr,Zt,Fe,dr,Jt,void 0,Me),Zt,Tt]},C=(tt,we,kt)=>{const Ft=o.useRef({});function Ot(Jt){var Fe;if(!Ft.current||Ft.current.data!==tt||Ft.current.childrenColumnName!==we||Ft.current.getRowKey!==kt){let lt=function(Et){Et.forEach((fr,vr)=>{const Zt=kt(fr,vr);Me.set(Zt,fr),fr&&typeof fr=="object"&&we in fr&&lt(fr[we]||[])})};const Me=new Map;lt(tt),Ft.current={data:tt,childrenColumnName:we,kvMap:Me,getRowKey:kt}}return(Fe=Ft.current.kvMap)===null||Fe===void 0?void 0:Fe.get(Jt)}return[Ot]},v=function(tt,we){var kt={};for(var Ft in tt)Object.prototype.hasOwnProperty.call(tt,Ft)&&we.indexOf(Ft)<0&&(kt[Ft]=tt[Ft]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Ft=Object.getOwnPropertySymbols(tt);Ot<Ft.length;Ot++)we.indexOf(Ft[Ot])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ft[Ot])&&(kt[Ft[Ot]]=tt[Ft[Ot]]);return kt};const Vt=10;function $(tt,we){const kt={current:tt.current,pageSize:tt.pageSize};return Object.keys(we&&typeof we=="object"?we:{}).forEach(Ot=>{const Jt=tt[Ot];typeof Jt!="function"&&(kt[Ot]=Jt)}),kt}function Oe(tt,we,kt){const Ft=kt&&typeof kt=="object"?kt:{},{total:Ot=0}=Ft,Jt=v(Ft,["total"]),[Fe,Me]=(0,o.useState)(()=>({current:"defaultCurrent"in Jt?Jt.defaultCurrent:1,pageSize:"defaultPageSize"in Jt?Jt.defaultPageSize:Vt})),lt=(0,Ie.Z)(Fe,Jt,{total:Ot>0?Ot:tt}),Et=Math.ceil((Ot||tt)/lt.pageSize);lt.current>Et&&(lt.current=Et||1);const fr=(Zt,Tt)=>{Me({current:Zt!=null?Zt:1,pageSize:Tt||lt.pageSize})},vr=(Zt,Tt)=>{var dr;kt&&((dr=kt.onChange)===null||dr===void 0||dr.call(kt,Zt,Tt)),fr(Zt,Tt),we(Zt,Tt||(lt==null?void 0:lt.pageSize))};return kt===!1?[{},()=>{}]:[Object.assign(Object.assign({},lt),{onChange:vr}),fr]}var ln=Oe,Wr=n(89489),Ht=n(59477),Gt=n(25399);const br="ascend",Kr="descend",an=tt=>typeof tt.sorter=="object"&&typeof tt.sorter.multiple=="number"?tt.sorter.multiple:!1,An=tt=>typeof tt=="function"?tt:tt&&typeof tt=="object"&&tt.compare?tt.compare:!1,Ct=(tt,we)=>we?tt[tt.indexOf(we)+1]:tt[0],Lt=(tt,we,kt)=>{let Ft=[];const Ot=(Jt,Fe)=>{Ft.push({column:Jt,key:ht(Jt,Fe),multiplePriority:an(Jt),sortOrder:Jt.sortOrder})};return(tt||[]).forEach((Jt,Fe)=>{const Me=he(Fe,kt);Jt.children?("sortOrder"in Jt&&Ot(Jt,Me),Ft=[].concat((0,Y.Z)(Ft),(0,Y.Z)(Lt(Jt.children,we,Me)))):Jt.sorter&&("sortOrder"in Jt?Ot(Jt,Me):we&&Jt.defaultSortOrder&&Ft.push({column:Jt,key:ht(Jt,Me),multiplePriority:an(Jt),sortOrder:Jt.defaultSortOrder}))}),Ft},Ue=(tt,we,kt,Ft,Ot,Jt,Fe,Me)=>(we||[]).map((Et,fr)=>{const vr=he(fr,Me);let Zt=Et;if(Zt.sorter){const Tt=Zt.sortDirections||Ot,dr=Zt.showSorterTooltip===void 0?Fe:Zt.showSorterTooltip,Yt=ht(Zt,vr),wr=kt.find(Rr=>{let{key:Hr}=Rr;return Hr===Yt}),je=wr?wr.sortOrder:null,vt=Ct(Tt,je);let Nt;if(Et.sortIcon)Nt=Et.sortIcon({sortOrder:je});else{const Rr=Tt.includes(br)&&o.createElement(Ht.Z,{className:c()(`${tt}-column-sorter-up`,{active:je===br})}),Hr=Tt.includes(Kr)&&o.createElement(Wr.Z,{className:c()(`${tt}-column-sorter-down`,{active:je===Kr})});Nt=o.createElement("span",{className:c()(`${tt}-column-sorter`,{[`${tt}-column-sorter-full`]:!!(Rr&&Hr)})},o.createElement("span",{className:`${tt}-column-sorter-inner`,"aria-hidden":"true"},Rr,Hr))}const{cancelSort:st,triggerAsc:qt,triggerDesc:nr}=Jt||{};let Or=st;vt===Kr?Or=nr:vt===br&&(Or=qt);const Ar=typeof dr=="object"?Object.assign({title:Or},dr):{title:Or};Zt=Object.assign(Object.assign({},Zt),{className:c()(Zt.className,{[`${tt}-column-sort`]:je}),title:Rr=>{const Hr=`${tt}-column-sorters`,cn=o.createElement("span",{className:`${tt}-column-title`},Le(Et.title,Rr)),wn=o.createElement("div",{className:Hr},cn,Nt);return dr?typeof dr!="boolean"&&(dr==null?void 0:dr.target)==="sorter-icon"?o.createElement("div",{className:`${Hr} ${tt}-column-sorters-tooltip-target-sorter`},cn,o.createElement(Gt.Z,Object.assign({},Ar),Nt)):o.createElement(Gt.Z,Object.assign({},Ar),wn):wn},onHeaderCell:Rr=>{var Hr;const cn=((Hr=Et.onHeaderCell)===null||Hr===void 0?void 0:Hr.call(Et,Rr))||{},wn=cn.onClick,Lr=cn.onKeyDown;cn.onClick=da=>{Ft({column:Et,key:Yt,sortOrder:vt,multiplePriority:an(Et)}),wn==null||wn(da)},cn.onKeyDown=da=>{da.keyCode===dt.Z.ENTER&&(Ft({column:Et,key:Yt,sortOrder:vt,multiplePriority:an(Et)}),Lr==null||Lr(da))};const Mt=St(Et.title,{}),ba=Mt==null?void 0:Mt.toString();return je&&(cn["aria-sort"]=je==="ascend"?"ascending":"descending"),cn["aria-label"]=ba||"",cn.className=c()(cn.className,`${tt}-column-has-sorters`),cn.tabIndex=0,Et.ellipsis&&(cn.title=(Mt!=null?Mt:"").toString()),cn}})}return"children"in Zt&&(Zt=Object.assign(Object.assign({},Zt),{children:Ue(tt,Zt.children,kt,Ft,Ot,Jt,Fe,vr)})),Zt}),jr=tt=>{const{column:we,sortOrder:kt}=tt;return{column:we,order:kt,field:we.dataIndex,columnKey:we.key}},$r=tt=>{const we=tt.filter(kt=>{let{sortOrder:Ft}=kt;return Ft}).map(jr);if(we.length===0&&tt.length){const kt=tt.length-1;return Object.assign(Object.assign({},jr(tt[kt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return we.length<=1?we[0]||{}:we},Gr=(tt,we,kt)=>{const Ft=we.slice().sort((Fe,Me)=>Me.multiplePriority-Fe.multiplePriority),Ot=tt.slice(),Jt=Ft.filter(Fe=>{let{column:{sorter:Me},sortOrder:lt}=Fe;return An(Me)&&lt});return Jt.length?Ot.sort((Fe,Me)=>{for(let lt=0;lt<Jt.length;lt+=1){const Et=Jt[lt],{column:{sorter:fr},sortOrder:vr}=Et,Zt=An(fr);if(Zt&&vr){const Tt=Zt(Fe,Me,vr);if(Tt!==0)return vr===br?Tt:-Tt}}return 0}).map(Fe=>{const Me=Fe[kt];return Me?Object.assign(Object.assign({},Fe),{[kt]:Gr(Me,we,kt)}):Fe}):Ot};var na=tt=>{const{prefixCls:we,mergedColumns:kt,sortDirections:Ft,tableLocale:Ot,showSorterTooltip:Jt,onSorterChange:Fe}=tt,[Me,lt]=o.useState(Lt(kt,!0)),Et=(Yt,wr)=>{const je=[];return Yt.forEach((vt,Nt)=>{const st=he(Nt,wr);if(je.push(ht(vt,st)),Array.isArray(vt.children)){const qt=Et(vt.children,st);je.push.apply(je,(0,Y.Z)(qt))}}),je},fr=o.useMemo(()=>{let Yt=!0;const wr=Lt(kt,!1);if(!wr.length){const st=Et(kt);return Me.filter(qt=>{let{key:nr}=qt;return st.includes(nr)})}const je=[];function vt(st){Yt?je.push(st):je.push(Object.assign(Object.assign({},st),{sortOrder:null}))}let Nt=null;return wr.forEach(st=>{Nt===null?(vt(st),st.sortOrder&&(st.multiplePriority===!1?Yt=!1:Nt=!0)):(Nt&&st.multiplePriority!==!1||(Yt=!1),vt(st))}),je},[kt,Me]),vr=o.useMemo(()=>{var Yt,wr;const je=fr.map(vt=>{let{column:Nt,sortOrder:st}=vt;return{column:Nt,order:st}});return{sortColumns:je,sortColumn:(Yt=je[0])===null||Yt===void 0?void 0:Yt.column,sortOrder:(wr=je[0])===null||wr===void 0?void 0:wr.order}},[fr]),Zt=Yt=>{let wr;Yt.multiplePriority===!1||!fr.length||fr[0].multiplePriority===!1?wr=[Yt]:wr=[].concat((0,Y.Z)(fr.filter(je=>{let{key:vt}=je;return vt!==Yt.key})),[Yt]),lt(wr),Fe($r(wr),wr)};return[Yt=>Ue(we,Yt,fr,Zt,Ft,Ot,Jt),fr,vr,()=>$r(fr)]};const mt=(tt,we)=>tt.map(Ft=>{const Ot=Object.assign({},Ft);return Ot.title=Le(Ft.title,we),"children"in Ot&&(Ot.children=mt(Ot.children,we)),Ot});var cr=tt=>[o.useCallback(kt=>mt(kt,tt),[tt])],Nr=(0,Xe.Q$)((tt,we)=>{const{_renderTimes:kt}=tt,{_renderTimes:Ft}=we;return kt!==Ft}),sn=(0,Xe.TN)((tt,we)=>{const{_renderTimes:kt}=tt,{_renderTimes:Ft}=we;return kt!==Ft}),Br=n(36237),pn=n(17835),on=n(63356),Mn=n(16931),jn=n(51636),zn=tt=>{const{componentCls:we,lineWidth:kt,lineType:Ft,tableBorderColor:Ot,tableHeaderBg:Jt,tablePaddingVertical:Fe,tablePaddingHorizontal:Me,calc:lt}=tt,Et=`${(0,Br.unit)(kt)} ${Ft} ${Ot}`,fr=(vr,Zt,Tt)=>({[`&${we}-${vr}`]:{[`> ${we}-container`]:{[`> ${we}-content, > ${we}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${we}-expanded-row-fixed`]:{margin:`${(0,Br.unit)(lt(Zt).mul(-1).equal())}
${(0,Br.unit)(lt(lt(Tt).add(kt)).mul(-1).equal())}`}}}}}});return{[`${we}-wrapper`]:{[`${we}${we}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${we}-title`]:{border:Et,borderBottom:0},[`> ${we}-container`]:{borderInlineStart:Et,borderTop:Et,[`
> ${we}-content,
> ${we}-header,
> ${we}-body,
> ${we}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:Et},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Et},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${we}-cell-fix-right-first::after`]:{borderInlineEnd:Et}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${we}-expanded-row-fixed`]:{margin:`${(0,Br.unit)(lt(Fe).mul(-1).equal())} ${(0,Br.unit)(lt(lt(Me).add(kt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:kt,bottom:0,borderInlineEnd:Et,content:'""'}}}}}},[`&${we}-scroll-horizontal`]:{[`> ${we}-container > ${we}-body`]:{"> table > tbody":{[`
> tr${we}-expanded-row,
> tr${we}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},fr("middle",tt.tablePaddingVerticalMiddle,tt.tablePaddingHorizontalMiddle)),fr("small",tt.tablePaddingVerticalSmall,tt.tablePaddingHorizontalSmall)),{[`> ${we}-footer`]:{border:Et,borderTop:0}}),[`${we}-cell`]:{[`${we}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Br.unit)(kt)} 0 ${(0,Br.unit)(kt)} ${Jt}`}},[`${we}-bordered ${we}-cell-scrollbar`]:{borderInlineEnd:Et}}}},nn=tt=>{const{componentCls:we}=tt;return{[`${we}-wrapper`]:{[`${we}-cell-ellipsis`]:Object.assign(Object.assign({},on.vS),{wordBreak:"keep-all",[`
&${we}-cell-fix-left-last,
&${we}-cell-fix-right-first
`]:{overflow:"visible",[`${we}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${we}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},kn=tt=>{const{componentCls:we}=tt;return{[`${we}-wrapper`]:{[`${we}-tbody > tr${we}-placeholder`]:{textAlign:"center",color:tt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:tt.colorBgContainer}}}}},Rn=tt=>{const{componentCls:we,antCls:kt,motionDurationSlow:Ft,lineWidth:Ot,paddingXS:Jt,lineType:Fe,tableBorderColor:Me,tableExpandIconBg:lt,tableExpandColumnWidth:Et,borderRadius:fr,tablePaddingVertical:vr,tablePaddingHorizontal:Zt,tableExpandedRowBg:Tt,paddingXXS:dr,expandIconMarginTop:Yt,expandIconSize:wr,expandIconHalfInner:je,expandIconScale:vt,calc:Nt}=tt,st=`${(0,Br.unit)(Ot)} ${Fe} ${Me}`,qt=Nt(dr).sub(Ot).equal();return{[`${we}-wrapper`]:{[`${we}-expand-icon-col`]:{width:Et},[`${we}-row-expand-icon-cell`]:{textAlign:"center",[`${we}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${we}-row-indent`]:{height:1,float:"left"},[`${we}-row-expand-icon`]:Object.assign(Object.assign({},(0,on.Nd)(tt)),{position:"relative",float:"left",width:wr,height:wr,color:"inherit",lineHeight:(0,Br.unit)(wr),background:lt,border:st,borderRadius:fr,transform:`scale(${vt})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Ft} ease-out`,content:'""'},"&::before":{top:je,insetInlineEnd:qt,insetInlineStart:qt,height:Ot},"&::after":{top:qt,bottom:qt,insetInlineStart:je,width:Ot,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${we}-row-indent + ${we}-row-expand-icon`]:{marginTop:Yt,marginInlineEnd:Jt},[`tr${we}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Tt}},[`${kt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${we}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Br.unit)(Nt(vr).mul(-1).equal())} ${(0,Br.unit)(Nt(Zt).mul(-1).equal())}`,padding:`${(0,Br.unit)(vr)} ${(0,Br.unit)(Zt)}`}}}},Kn=tt=>{const{componentCls:we,antCls:kt,iconCls:Ft,tableFilterDropdownWidth:Ot,tableFilterDropdownSearchWidth:Jt,paddingXXS:Fe,paddingXS:Me,colorText:lt,lineWidth:Et,lineType:fr,tableBorderColor:vr,headerIconColor:Zt,fontSizeSM:Tt,tablePaddingHorizontal:dr,borderRadius:Yt,motionDurationSlow:wr,colorTextDescription:je,colorPrimary:vt,tableHeaderFilterActiveBg:Nt,colorTextDisabled:st,tableFilterDropdownBg:qt,tableFilterDropdownHeight:nr,controlItemBgHover:Or,controlItemBgActive:Ar,boxShadowSecondary:Rr,filterDropdownMenuBg:Hr,calc:cn}=tt,wn=`${kt}-dropdown`,Lr=`${we}-filter-dropdown`,Mt=`${kt}-tree`,ba=`${(0,Br.unit)(Et)} ${fr} ${vr}`;return[{[`${we}-wrapper`]:{[`${we}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${we}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:cn(Fe).mul(-1).equal(),marginInline:`${(0,Br.unit)(Fe)} ${(0,Br.unit)(cn(dr).div(2).mul(-1).equal())}`,padding:`0 ${(0,Br.unit)(Fe)}`,color:Zt,fontSize:Tt,borderRadius:Yt,cursor:"pointer",transition:`all ${wr}`,"&:hover":{color:je,background:Nt},"&.active":{color:vt}}}},{[`${kt}-dropdown`]:{[Lr]:Object.assign(Object.assign({},(0,on.Wf)(tt)),{minWidth:Ot,backgroundColor:qt,borderRadius:Yt,boxShadow:Rr,overflow:"hidden",[`${wn}-menu`]:{maxHeight:nr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Hr,"&:empty::after":{display:"block",padding:`${(0,Br.unit)(Me)} 0`,color:st,fontSize:Tt,textAlign:"center",content:'"Not Found"'}},[`${Lr}-tree`]:{paddingBlock:`${(0,Br.unit)(Me)} 0`,paddingInline:Me,[Mt]:{padding:0},[`${Mt}-treenode ${Mt}-node-content-wrapper:hover`]:{backgroundColor:Or},[`${Mt}-treenode-checkbox-checked ${Mt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ar}}},[`${Lr}-search`]:{padding:Me,borderBottom:ba,"&-input":{input:{minWidth:Jt},[Ft]:{color:st}}},[`${Lr}-checkall`]:{width:"100%",marginBottom:Fe,marginInlineStart:Fe},[`${Lr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Br.unit)(cn(Me).sub(Et).equal())} ${(0,Br.unit)(Me)}`,overflow:"hidden",borderTop:ba}})}},{[`${kt}-dropdown ${Lr}, ${Lr}-submenu`]:{[`${kt}-checkbox-wrapper + span`]:{paddingInlineStart:Me,color:lt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Jn=tt=>{const{componentCls:we,lineWidth:kt,colorSplit:Ft,motionDurationSlow:Ot,zIndexTableFixed:Jt,tableBg:Fe,zIndexTableSticky:Me,calc:lt}=tt,Et=Ft;return{[`${we}-wrapper`]:{[`
${we}-cell-fix-left,
${we}-cell-fix-right
`]:{position:"sticky !important",zIndex:Jt,background:Fe},[`
${we}-cell-fix-left-first::after,
${we}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:lt(kt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},[`${we}-cell-fix-left-all::after`]:{display:"none"},[`
${we}-cell-fix-right-first::after,
${we}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:lt(kt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},[`${we}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:lt(Me).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${we}-ping-left`]:{[`&:not(${we}-has-fix-left) ${we}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`
${we}-cell-fix-left-first::after,
${we}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${Et}`},[`${we}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${we}-ping-right`]:{[`&:not(${we}-has-fix-right) ${we}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`},[`
${we}-cell-fix-right-first::after,
${we}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${Et}`}},[`${we}-fixed-column-gapped`]:{[`
${we}-cell-fix-left-first::after,
${we}-cell-fix-left-last::after,
${we}-cell-fix-right-first::after,
${we}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},Bn=tt=>{const{componentCls:we,antCls:kt,margin:Ft}=tt;return{[`${we}-wrapper`]:{[`${we}-pagination${kt}-pagination`]:{margin:`${(0,Br.unit)(Ft)} 0`},[`${we}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:tt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Ca=tt=>{const{componentCls:we,tableRadius:kt}=tt;return{[`${we}-wrapper`]:{[we]:{[`${we}-title, ${we}-header`]:{borderRadius:`${(0,Br.unit)(kt)} ${(0,Br.unit)(kt)} 0 0`},[`${we}-title + ${we}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${we}-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:kt,borderStartEndRadius:kt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:kt},"> *:last-child":{borderStartEndRadius:kt}}},"&-footer":{borderRadius:`0 0 ${(0,Br.unit)(kt)} ${(0,Br.unit)(kt)}`}}}}},ao=tt=>{const{componentCls:we}=tt;return{[`${we}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${we}-pagination-left`]:{justifyContent:"flex-end"},[`${we}-pagination-right`]:{justifyContent:"flex-start"},[`${we}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${we}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${we}-row-indent`]:{float:"right"}}}}},oo=tt=>{const{componentCls:we,antCls:kt,iconCls:Ft,fontSizeIcon:Ot,padding:Jt,paddingXS:Fe,headerIconColor:Me,headerIconHoverColor:lt,tableSelectionColumnWidth:Et,tableSelectedRowBg:fr,tableSelectedRowHoverBg:vr,tableRowHoverBg:Zt,tablePaddingHorizontal:Tt,calc:dr}=tt;return{[`${we}-wrapper`]:{[`${we}-selection-col`]:{width:Et,[`&${we}-selection-col-with-dropdown`]:{width:dr(Et).add(Ot).add(dr(Jt).div(4)).equal()}},[`${we}-bordered ${we}-selection-col`]:{width:dr(Et).add(dr(Fe).mul(2)).equal(),[`&${we}-selection-col-with-dropdown`]:{width:dr(Et).add(Ot).add(dr(Jt).div(4)).add(dr(Fe).mul(2)).equal()}},[`
table tr th${we}-selection-column,
table tr td${we}-selection-column,
${we}-selection-column
`]:{paddingInlineEnd:tt.paddingXS,paddingInlineStart:tt.paddingXS,textAlign:"center",[`${kt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${we}-selection-column${we}-cell-fix-left`]:{zIndex:dr(tt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${we}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${we}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${we}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${tt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Br.unit)(dr(Tt).div(4).equal()),[Ft]:{color:Me,fontSize:Ot,verticalAlign:"baseline","&:hover":{color:lt}}},[`${we}-tbody`]:{[`${we}-row`]:{[`&${we}-row-selected`]:{[`> ${we}-cell`]:{background:fr,"&-row-hover":{background:vr}}},[`> ${we}-cell-row-hover`]:{background:Zt}}}}}},s=tt=>{const{componentCls:we,tableExpandColumnWidth:kt,calc:Ft}=tt,Ot=(Jt,Fe,Me,lt)=>({[`${we}${we}-${Jt}`]:{fontSize:lt,[`
${we}-title,
${we}-footer,
${we}-cell,
${we}-thead > tr > th,
${we}-tbody > tr > th,
${we}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,Br.unit)(Fe)} ${(0,Br.unit)(Me)}`},[`${we}-filter-trigger`]:{marginInlineEnd:(0,Br.unit)(Ft(Me).div(2).mul(-1).equal())},[`${we}-expanded-row-fixed`]:{margin:`${(0,Br.unit)(Ft(Fe).mul(-1).equal())} ${(0,Br.unit)(Ft(Me).mul(-1).equal())}`},[`${we}-tbody`]:{[`${we}-wrapper:only-child ${we}`]:{marginBlock:(0,Br.unit)(Ft(Fe).mul(-1).equal()),marginInline:`${(0,Br.unit)(Ft(kt).sub(Me).equal())} ${(0,Br.unit)(Ft(Me).mul(-1).equal())}`}},[`${we}-selection-extra`]:{paddingInlineStart:(0,Br.unit)(Ft(Me).div(4).equal())}}});return{[`${we}-wrapper`]:Object.assign(Object.assign({},Ot("middle",tt.tablePaddingVerticalMiddle,tt.tablePaddingHorizontalMiddle,tt.tableFontSizeMiddle)),Ot("small",tt.tablePaddingVerticalSmall,tt.tablePaddingHorizontalSmall,tt.tableFontSizeSmall))}},b=tt=>{const{componentCls:we,marginXXS:kt,fontSizeIcon:Ft,headerIconColor:Ot,headerIconHoverColor:Jt}=tt;return{[`${we}-wrapper`]:{[`${we}-thead th${we}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${tt.motionDurationSlow}, left 0s`,"&:hover":{background:tt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:tt.colorPrimary},[`
&${we}-cell-fix-left:hover,
&${we}-cell-fix-right:hover
`]:{background:tt.tableFixedHeaderSortActiveBg}},[`${we}-thead th${we}-column-sort`]:{background:tt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${we}-column-sort`]:{background:tt.tableBodySortBg},[`${we}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${we}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${we}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${we}-column-sorter`]:{marginInlineStart:kt,color:Ot,fontSize:0,transition:`color ${tt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ft,"&.active":{color:tt.colorPrimary}},[`${we}-column-sorter-up + ${we}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${we}-column-sorters:hover ${we}-column-sorter`]:{color:Jt}}}},d=tt=>{const{componentCls:we,opacityLoading:kt,tableScrollThumbBg:Ft,tableScrollThumbBgHover:Ot,tableScrollThumbSize:Jt,tableScrollBg:Fe,zIndexTableSticky:Me,stickyScrollBarBorderRadius:lt,lineWidth:Et,lineType:fr,tableBorderColor:vr}=tt,Zt=`${(0,Br.unit)(Et)} ${fr} ${vr}`;return{[`${we}-wrapper`]:{[`${we}-sticky`]:{"&-holder":{position:"sticky",zIndex:Me,background:tt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Br.unit)(Jt)} !important`,zIndex:Me,display:"flex",alignItems:"center",background:Fe,borderTop:Zt,opacity:kt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Jt,backgroundColor:Ft,borderRadius:lt,transition:`all ${tt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ot}}}}}}},V=tt=>{const{componentCls:we,lineWidth:kt,tableBorderColor:Ft,calc:Ot}=tt,Jt=`${(0,Br.unit)(kt)} ${tt.lineType} ${Ft}`;return{[`${we}-wrapper`]:{[`${we}-summary`]:{position:"relative",zIndex:tt.zIndexTableFixed,background:tt.tableBg,"> tr":{"> th, > td":{borderBottom:Jt}}},[`div${we}-summary`]:{boxShadow:`0 ${(0,Br.unit)(Ot(kt).mul(-1).equal())} 0 ${Ft}`}}}},Ae=tt=>{const{componentCls:we,motionDurationMid:kt,lineWidth:Ft,lineType:Ot,tableBorderColor:Jt,calc:Fe}=tt,Me=`${(0,Br.unit)(Ft)} ${Ot} ${Jt}`,lt=`${we}-expanded-row-cell`;return{[`${we}-wrapper`]:{[`${we}-tbody-virtual`]:{[`${we}-tbody-virtual-holder-inner`]:{[`
& > ${we}-row,
& > div:not(${we}-row) > ${we}-row
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${we}-cell`]:{borderBottom:Me,transition:`background ${kt}`},[`${we}-expanded-row`]:{[`${lt}${lt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Br.unit)(Ft)})`,borderInlineEnd:"none"}}},[`${we}-bordered`]:{[`${we}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Me,position:"absolute"},[`${we}-cell`]:{borderInlineEnd:Me,[`&${we}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:Fe(Ft).mul(-1).equal(),borderInlineStart:Me}}},[`&${we}-virtual`]:{[`${we}-placeholder ${we}-cell`]:{borderInlineEnd:Me,borderBottom:Me}}}}}};const it=tt=>{const{componentCls:we,fontWeightStrong:kt,tablePaddingVertical:Ft,tablePaddingHorizontal:Ot,tableExpandColumnWidth:Jt,lineWidth:Fe,lineType:Me,tableBorderColor:lt,tableFontSize:Et,tableBg:fr,tableRadius:vr,tableHeaderTextColor:Zt,motionDurationMid:Tt,tableHeaderBg:dr,tableHeaderCellSplitColor:Yt,tableFooterTextColor:wr,tableFooterBg:je,calc:vt}=tt,Nt=`${(0,Br.unit)(Fe)} ${Me} ${lt}`;return{[`${we}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,on.dF)()),{[we]:Object.assign(Object.assign({},(0,on.Wf)(tt)),{fontSize:Et,background:fr,borderRadius:`${(0,Br.unit)(vr)} ${(0,Br.unit)(vr)} 0 0`,scrollbarColor:`${tt.tableScrollThumbBg} ${tt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Br.unit)(vr)} ${(0,Br.unit)(vr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${we}-cell,
${we}-thead > tr > th,
${we}-tbody > tr > th,
${we}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,Br.unit)(Ft)} ${(0,Br.unit)(Ot)}`,overflowWrap:"break-word"},[`${we}-title`]:{padding:`${(0,Br.unit)(Ft)} ${(0,Br.unit)(Ot)}`},[`${we}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Zt,fontWeight:kt,textAlign:"start",background:dr,borderBottom:Nt,transition:`background ${Tt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${we}-selection-column):not(${we}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Yt,transform:"translateY(-50%)",transition:`background-color ${Tt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${we}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Tt}, border-color ${Tt}`,borderBottom:Nt,[`
> ${we}-wrapper:only-child,
> ${we}-expanded-row-fixed > ${we}-wrapper:only-child
`]:{[we]:{marginBlock:(0,Br.unit)(vt(Ft).mul(-1).equal()),marginInline:`${(0,Br.unit)(vt(Jt).sub(Ot).equal())}
${(0,Br.unit)(vt(Ot).mul(-1).equal())}`,[`${we}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Zt,fontWeight:kt,textAlign:"start",background:dr,borderBottom:Nt,transition:`background ${Tt} ease`}}},[`${we}-footer`]:{padding:`${(0,Br.unit)(Ft)} ${(0,Br.unit)(Ot)}`,color:wr,background:je}})}},Pt=tt=>{const{colorFillAlter:we,colorBgContainer:kt,colorTextHeading:Ft,colorFillSecondary:Ot,colorFillContent:Jt,controlItemBgActive:Fe,controlItemBgActiveHover:Me,padding:lt,paddingSM:Et,paddingXS:fr,colorBorderSecondary:vr,borderRadiusLG:Zt,controlHeight:Tt,colorTextPlaceholder:dr,fontSize:Yt,fontSizeSM:wr,lineHeight:je,lineWidth:vt,colorIcon:Nt,colorIconHover:st,opacityLoading:qt,controlInteractiveSize:nr}=tt,Or=new pn.FastColor(Ot).onBackground(kt).toHexString(),Ar=new pn.FastColor(Jt).onBackground(kt).toHexString(),Rr=new pn.FastColor(we).onBackground(kt).toHexString(),Hr=new pn.FastColor(Nt),cn=new pn.FastColor(st),wn=nr/2-vt,Lr=wn*2+vt*3;return{headerBg:Rr,headerColor:Ft,headerSortActiveBg:Or,headerSortHoverBg:Ar,bodySortBg:Rr,rowHoverBg:Rr,rowSelectedBg:Fe,rowSelectedHoverBg:Me,rowExpandedBg:we,cellPaddingBlock:lt,cellPaddingInline:lt,cellPaddingBlockMD:Et,cellPaddingInlineMD:fr,cellPaddingBlockSM:fr,cellPaddingInlineSM:fr,borderColor:vr,headerBorderRadius:Zt,footerBg:Rr,footerColor:Ft,cellFontSize:Yt,cellFontSizeMD:Yt,cellFontSizeSM:Yt,headerSplitColor:vr,fixedHeaderSortActiveBg:Or,headerFilterHoverBg:Jt,filterDropdownMenuBg:kt,filterDropdownBg:kt,expandIconBg:kt,selectionColumnWidth:Tt,stickyScrollBarBg:dr,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Yt*je-vt*3)/2-Math.ceil((wr*1.4-vt*3)/2),headerIconColor:Hr.clone().setA(Hr.a*qt).toRgbString(),headerIconHoverColor:cn.clone().setA(cn.a*qt).toRgbString(),expandIconHalfInner:wn,expandIconSize:Lr,expandIconScale:nr/Lr}},It=2;var ve=(0,Mn.I$)("Table",tt=>{const{colorTextHeading:we,colorSplit:kt,colorBgContainer:Ft,controlInteractiveSize:Ot,headerBg:Jt,headerColor:Fe,headerSortActiveBg:Me,headerSortHoverBg:lt,bodySortBg:Et,rowHoverBg:fr,rowSelectedBg:vr,rowSelectedHoverBg:Zt,rowExpandedBg:Tt,cellPaddingBlock:dr,cellPaddingInline:Yt,cellPaddingBlockMD:wr,cellPaddingInlineMD:je,cellPaddingBlockSM:vt,cellPaddingInlineSM:Nt,borderColor:st,footerBg:qt,footerColor:nr,headerBorderRadius:Or,cellFontSize:Ar,cellFontSizeMD:Rr,cellFontSizeSM:Hr,headerSplitColor:cn,fixedHeaderSortActiveBg:wn,headerFilterHoverBg:Lr,filterDropdownBg:Mt,expandIconBg:ba,selectionColumnWidth:da,stickyScrollBarBg:Wn,calc:Jr}=tt,Vr=(0,jn.mergeToken)(tt,{tableFontSize:Ar,tableBg:Ft,tableRadius:Or,tablePaddingVertical:dr,tablePaddingHorizontal:Yt,tablePaddingVerticalMiddle:wr,tablePaddingHorizontalMiddle:je,tablePaddingVerticalSmall:vt,tablePaddingHorizontalSmall:Nt,tableBorderColor:st,tableHeaderTextColor:Fe,tableHeaderBg:Jt,tableFooterTextColor:nr,tableFooterBg:qt,tableHeaderCellSplitColor:cn,tableHeaderSortBg:Me,tableHeaderSortHoverBg:lt,tableBodySortBg:Et,tableFixedHeaderSortActiveBg:wn,tableHeaderFilterActiveBg:Lr,tableFilterDropdownBg:Mt,tableRowHoverBg:fr,tableSelectedRowBg:vr,tableSelectedRowHoverBg:Zt,zIndexTableFixed:It,zIndexTableSticky:Jr(It).add(1).equal({unit:!1}),tableFontSizeMiddle:Rr,tableFontSizeSmall:Hr,tableSelectionColumnWidth:da,tableExpandIconBg:ba,tableExpandColumnWidth:Jr(Ot).add(Jr(tt.padding).mul(2)).equal(),tableExpandedRowBg:Tt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wn,tableScrollThumbBgHover:we,tableScrollBg:kt});return[it(Vr),Bn(Vr),V(Vr),b(Vr),Kn(Vr),zn(Vr),Ca(Vr),Rn(Vr),V(Vr),kn(Vr),oo(Vr),Jn(Vr),d(Vr),nn(Vr),s(Vr),ao(Vr),Ae(Vr)]},Pt,{unitless:{expandIconScale:!0}});const rt=[],gt=(tt,we)=>{var kt,Ft;const{prefixCls:Ot,className:Jt,rootClassName:Fe,style:Me,size:lt,bordered:Et,dropdownPrefixCls:fr,dataSource:vr,pagination:Zt,rowSelection:Tt,rowKey:dr="key",rowClassName:Yt,columns:wr,children:je,childrenColumnName:vt,onChange:Nt,getPopupContainer:st,loading:qt,expandIcon:nr,expandable:Or,expandedRowRender:Ar,expandIconColumnIndex:Rr,indentSize:Hr,scroll:cn,sortDirections:wn,locale:Lr,showSorterTooltip:Mt={target:"full-header"},virtual:ba}=tt,da=(0,I.ln)("Table"),Wn=o.useMemo(()=>wr||(0,Ce.L)(je),[wr,je]),Jr=o.useMemo(()=>Wn.some(wa=>wa.responsive),[Wn]),Vr=(0,K.Z)(Jr),En=o.useMemo(()=>{const wa=new Set(Object.keys(Vr).filter(Wa=>Vr[Wa]));return Wn.filter(Wa=>!Wa.responsive||Wa.responsive.some(Ke=>wa.has(Ke)))},[Wn,Vr]),oa=(0,se.Z)(tt,["className","style","columns"]),{locale:_n=R.Z,direction:xa,table:qn,renderEmpty:Qn,getPrefixCls:ka,getPopupContainer:ra}=o.useContext(nt.E_),Hn=(0,y.Z)(lt),ea=Object.assign(Object.assign({},_n.Table),Lr),Un=vr||rt,Ln=ka("table",Ot),Xn=ka("dropdown",fr),[,rn]=(0,He.ZP)(),mn=(0,ce.Z)(Ln),[sa,Sn,ha]=ve(Ln,mn),Vn=Object.assign(Object.assign({childrenColumnName:vt,expandIconColumnIndex:Rr},Or),{expandIcon:(kt=Or==null?void 0:Or.expandIcon)!==null&&kt!==void 0?kt:(Ft=qn==null?void 0:qn.expandable)===null||Ft===void 0?void 0:Ft.expandIcon}),{childrenColumnName:Ha="children"}=Vn,qa=o.useMemo(()=>Un.some(wa=>wa==null?void 0:wa[Ha])?"nest":Ar||Or!=null&&Or.expandedRowRender?"row":null,[Un]),yn={body:o.useRef(null)},Pn=ot(Ln),fa=o.useRef(null),Ja=o.useRef(null);T(we,()=>Object.assign(Object.assign({},Ja.current),{nativeElement:fa.current}));const Ga=o.useMemo(()=>typeof dr=="function"?dr:wa=>wa==null?void 0:wa[dr],[dr]),[io]=C(Un,Ha,Ga),so={},la=function(wa,Wa){let Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var za,$o,Do,co;const go=Object.assign(Object.assign({},so),wa);Ke&&((za=so.resetPagination)===null||za===void 0||za.call(so),!(($o=go.pagination)===null||$o===void 0)&&$o.current&&(go.pagination.current=1),Zt&&((Do=Zt.onChange)===null||Do===void 0||Do.call(Zt,1,(co=go.pagination)===null||co===void 0?void 0:co.pageSize))),cn&&cn.scrollToFirstRowOnChange!==!1&&yn.body.current&&(0,P.Z)(0,{getContainer:()=>yn.body.current}),Nt==null||Nt(go.pagination,go.filters,go.sorter,{currentDataSource:bn(Gr(Un,go.sorterStates,Ha),go.filterStates,Ha),action:Wa})},Io=(wa,Wa)=>{la({sorter:wa,sorterStates:Wa},"sort",!1)},[Aa,ja,Ta,Na]=na({prefixCls:Ln,mergedColumns:En,onSorterChange:Io,sortDirections:wn||["ascend","descend"],tableLocale:ea,showSorterTooltip:Mt}),Ba=o.useMemo(()=>Gr(Un,ja,Ha),[Un,ja]);so.sorter=Na(),so.sorterStates=ja;const ma=(wa,Wa)=>{la({filters:wa,filterStates:Wa},"filter",!0)},[Ka,La,Qa]=xr({prefixCls:Ln,locale:ea,dropdownPrefixCls:Xn,mergedColumns:En,onFilterChange:ma,getPopupContainer:st||ra,rootClassName:c()(Fe,mn)}),eo=bn(Ba,La,Ha);so.filters=Qa,so.filterStates=La;const lo=o.useMemo(()=>{const wa={};return Object.keys(Qa).forEach(Wa=>{Qa[Wa]!==null&&(wa[Wa]=Qa[Wa])}),Object.assign(Object.assign({},Ta),{filters:wa})},[Ta,Qa]),[Ao]=cr(lo),Co=(wa,Wa)=>{la({pagination:Object.assign(Object.assign({},so.pagination),{current:wa,pageSize:Wa})},"paginate")},[Ra,Uo]=ln(eo.length,Co,Zt);so.pagination=Zt===!1?{}:$(Ra,Zt),so.resetPagination=Uo;const ho=o.useMemo(()=>{if(Zt===!1||!Ra.pageSize)return eo;const{current:wa=1,total:Wa,pageSize:Ke=Vt}=Ra;return eo.length<Wa?eo.length>Ke?eo.slice((wa-1)*Ke,wa*Ke):eo:eo.slice((wa-1)*Ke,wa*Ke)},[!!Zt,eo,Ra==null?void 0:Ra.current,Ra==null?void 0:Ra.pageSize,Ra==null?void 0:Ra.total]),[No,xo]=xe({prefixCls:Ln,data:eo,pageData:ho,getRowKey:Ga,getRecordByKey:io,expandType:qa,childrenColumnName:Ha,locale:ea,getPopupContainer:st||ra},Tt),ii=(wa,Wa,Ke)=>{let za;return typeof Yt=="function"?za=c()(Yt(wa,Wa,Ke)):za=c()(Yt),c()({[`${Ln}-row-selected`]:xo.has(Ga(wa,Wa))},za)};Vn.__PARENT_RENDER_ICON__=Vn.expandIcon,Vn.expandIcon=Vn.expandIcon||nr||Ze(ea),qa==="nest"&&Vn.expandIconColumnIndex===void 0?Vn.expandIconColumnIndex=Tt?1:0:Vn.expandIconColumnIndex>0&&Tt&&(Vn.expandIconColumnIndex-=1),typeof Vn.indentSize!="number"&&(Vn.indentSize=typeof Hr=="number"?Hr:15);const Ho=o.useCallback(wa=>Ao(No(Ka(Aa(wa)))),[Aa,Ka,No]);let ei,zo;if(Zt!==!1&&(Ra!=null&&Ra.total)){let wa;Ra.size?wa=Ra.size:wa=Hn==="small"||Hn==="middle"?"small":void 0;const Wa=$o=>o.createElement(S.Z,Object.assign({},Ra,{className:c()(`${Ln}-pagination ${Ln}-pagination-${$o}`,Ra.className),size:wa})),Ke=xa==="rtl"?"left":"right",{position:za}=Ra;if(za!==null&&Array.isArray(za)){const $o=za.find(go=>go.includes("top")),Do=za.find(go=>go.includes("bottom")),co=za.every(go=>`${go}`=="none");!$o&&!Do&&!co&&(zo=Wa(Ke)),$o&&(ei=Wa($o.toLowerCase().replace("top",""))),Do&&(zo=Wa(Do.toLowerCase().replace("bottom","")))}else zo=Wa(Ke)}let gi;typeof qt=="boolean"?gi={spinning:qt}:typeof qt=="object"&&(gi=Object.assign({spinning:!0},qt));const _o=c()(ha,mn,`${Ln}-wrapper`,qn==null?void 0:qn.className,{[`${Ln}-wrapper-rtl`]:xa==="rtl"},Jt,Fe,Sn),si=Object.assign(Object.assign({},qn==null?void 0:qn.style),Me),zi=typeof(Lr==null?void 0:Lr.emptyText)!="undefined"?Lr.emptyText:(Qn==null?void 0:Qn("Table"))||o.createElement(de.Z,{componentName:"Table"}),li=ba?sn:Nr,vi={},Di=o.useMemo(()=>{const{fontSize:wa,lineHeight:Wa,lineWidth:Ke,padding:za,paddingXS:$o,paddingSM:Do}=rn,co=Math.floor(wa*Wa);switch(Hn){case"middle":return Do*2+co+Ke;case"small":return $o*2+co+Ke;default:return za*2+co+Ke}},[rn,Hn]);return ba&&(vi.listItemHeight=Di),sa(o.createElement("div",{ref:fa,className:_o,style:si},o.createElement(X.Z,Object.assign({spinning:!1},gi),ei,o.createElement(li,Object.assign({},vi,oa,{ref:Ja,columns:En,direction:xa,expandable:Vn,prefixCls:Ln,className:c()({[`${Ln}-middle`]:Hn==="middle",[`${Ln}-small`]:Hn==="small",[`${Ln}-bordered`]:Et,[`${Ln}-empty`]:Un.length===0},ha,mn,Sn),data:ho,rowKey:Ga,rowClassName:ii,emptyText:zi,internalHooks:Xe.RQ,internalRefs:yn,transformColumns:Ho,getContainerWidth:Pn})),zo)))};var Kt=o.forwardRef(gt);const ct=(tt,we)=>{const kt=o.useRef(0);return kt.current+=1,o.createElement(Kt,Object.assign({},tt,{ref:we,_renderTimes:kt.current}))},ur=o.forwardRef(ct);ur.SELECTION_COLUMN=oe,ur.EXPAND_COLUMN=Xe.w2,ur.SELECTION_ALL=J,ur.SELECTION_INVERT=te,ur.SELECTION_NONE=Ee,ur.Column=De,ur.ColumnGroup=ee,ur.Summary=Xe.ER;var Cr=ur,Qt=Cr},20554:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return R}});var o=n(59301),Xe=n(99267),B=n(18785),De=n(62772),q=n(92310),ee=n.n(q),Y=n(29443),x=n(48755),Z=n(83397),c=n(31756),L=n(86641);const D={motionAppear:!1,motionEnter:!0,motionLeave:!0};function U(S){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},He;return X===!1?He={inkBar:!1,tabPane:!1}:X===!0?He={inkBar:!0,tabPane:!0}:He=Object.assign({inkBar:!0},typeof X=="object"?X:{}),He.tabPane&&(He.tabPaneMotion=Object.assign(Object.assign({},D),{motionName:(0,L.m)(S,"switch")})),He}var F=n(11592),_=function(S,X){var He={};for(var pe in S)Object.prototype.hasOwnProperty.call(S,pe)&&X.indexOf(pe)<0&&(He[pe]=S[pe]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,pe=Object.getOwnPropertySymbols(S);Ze<pe.length;Ze++)X.indexOf(pe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(S,pe[Ze])&&(He[pe[Ze]]=S[pe[Ze]]);return He};function I(S){return S.filter(X=>X)}function z(S,X){if(S)return S;const He=(0,F.Z)(X).map(pe=>{if(o.isValidElement(pe)){const{key:Ze,props:ot}=pe,ht=ot||{},{tab:he}=ht,Le=_(ht,["tab"]);return Object.assign(Object.assign({key:String(Ze)},Le),{label:he})}return null});return I(He)}var O=n(36237),A=n(63356),oe=n(16931),J=n(51636),te=n(46e3),Pe=S=>{const{componentCls:X,motionDurationSlow:He}=S;return[{[X]:{[`${X}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${He}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${He}`}}}}},[(0,te.oN)(S,"slide-up"),(0,te.oN)(S,"slide-down")]]};const et=S=>{const{componentCls:X,tabsCardPadding:He,cardBg:pe,cardGutter:Ze,colorBorderSecondary:ot,itemSelectedColor:ht}=S;return{[`${X}-card`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{margin:0,padding:He,background:pe,border:`${(0,O.unit)(S.lineWidth)} ${S.lineType} ${ot}`,transition:`all ${S.motionDurationSlow} ${S.motionEaseInOut}`},[`${X}-tab-active`]:{color:ht,background:S.colorBgContainer},[`${X}-tab-focus`]:Object.assign({},(0,A.oN)(S,-3)),[`${X}-ink-bar`]:{visibility:"hidden"},[`& ${X}-tab${X}-tab-focus ${X}-tab-btn`]:{outline:"none"}},[`&${X}-top, &${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab + ${X}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,O.unit)(Ze)}}}},[`&${X}-top`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:`${(0,O.unit)(S.borderRadiusLG)} ${(0,O.unit)(S.borderRadiusLG)} 0 0`},[`${X}-tab-active`]:{borderBottomColor:S.colorBgContainer}}},[`&${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:`0 0 ${(0,O.unit)(S.borderRadiusLG)} ${(0,O.unit)(S.borderRadiusLG)}`},[`${X}-tab-active`]:{borderTopColor:S.colorBgContainer}}},[`&${X}-left, &${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab + ${X}-tab`]:{marginTop:(0,O.unit)(Ze)}}},[`&${X}-left`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,O.unit)(S.borderRadiusLG)} 0 0 ${(0,O.unit)(S.borderRadiusLG)}`}},[`${X}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:S.colorBgContainer}}}},[`&${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,O.unit)(S.borderRadiusLG)} ${(0,O.unit)(S.borderRadiusLG)} 0`}},[`${X}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:S.colorBgContainer}}}}}}},ke=S=>{const{componentCls:X,itemHoverColor:He,dropdownEdgeChildVerticalPadding:pe}=S;return{[`${X}-dropdown`]:Object.assign(Object.assign({},(0,A.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${X}-dropdown-menu`]:{maxHeight:S.tabsDropdownHeight,margin:0,padding:`${(0,O.unit)(pe)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:S.colorBgContainer,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary,"&-item":Object.assign(Object.assign({},A.vS),{display:"flex",alignItems:"center",minWidth:S.tabsDropdownWidth,margin:0,padding:`${(0,O.unit)(S.paddingXXS)} ${(0,O.unit)(S.paddingSM)}`,color:S.colorText,fontWeight:"normal",fontSize:S.fontSize,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:S.marginSM},color:S.colorTextDescription,fontSize:S.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:He}},"&:hover":{background:S.controlItemBgHover},"&-disabled":{"&, &:hover":{color:S.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},xe=S=>{const{componentCls:X,margin:He,colorBorderSecondary:pe,horizontalMargin:Ze,verticalItemPadding:ot,verticalItemMargin:ht,calc:he}=S;return{[`${X}-top, ${X}-bottom`]:{flexDirection:"column",[`> ${X}-nav, > div > ${X}-nav`]:{margin:Ze,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,O.unit)(S.lineWidth)} ${S.lineType} ${pe}`,content:"''"},[`${X}-ink-bar`]:{height:S.lineWidthBold,"&-animated":{transition:`width ${S.motionDurationSlow}, left ${S.motionDurationSlow},
right ${S.motionDurationSlow}`}},[`${X}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:S.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:S.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:S.boxShadowTabsOverflowRight},[`&${X}-nav-wrap-ping-left::before`]:{opacity:1},[`&${X}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${X}-top`]:{[`> ${X}-nav,
> div > ${X}-nav`]:{"&::before":{bottom:0},[`${X}-ink-bar`]:{bottom:0}}},[`${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{order:1,marginTop:He,marginBottom:0,"&::before":{top:0},[`${X}-ink-bar`]:{top:0}},[`> ${X}-content-holder, > div > ${X}-content-holder`]:{order:0}},[`${X}-left, ${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{flexDirection:"column",minWidth:he(S.controlHeight).mul(1.25).equal(),[`${X}-tab`]:{padding:ot,textAlign:"center"},[`${X}-tab + ${X}-tab`]:{margin:ht},[`${X}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:S.controlHeight},"&::before":{top:0,boxShadow:S.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:S.boxShadowTabsOverflowBottom},[`&${X}-nav-wrap-ping-top::before`]:{opacity:1},[`&${X}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${X}-ink-bar`]:{width:S.lineWidthBold,"&-animated":{transition:`height ${S.motionDurationSlow}, top ${S.motionDurationSlow}`}},[`${X}-nav-list, ${X}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${X}-left`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${X}-content-holder, > div > ${X}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,O.unit)(he(S.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,O.unit)(S.lineWidth)} ${S.lineType} ${S.colorBorder}`},[`> ${X}-content > ${X}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:S.paddingLG}}}},[`${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{order:1,[`${X}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${X}-content-holder, > div > ${X}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:he(S.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,O.unit)(S.lineWidth)} ${S.lineType} ${S.colorBorder}`},[`> ${X}-content > ${X}-tabpane`]:{paddingRight:{_skip_check_:!0,value:S.paddingLG}}}}}},Ce=S=>{const{componentCls:X,cardPaddingSM:He,cardPaddingLG:pe,horizontalItemPaddingSM:Ze,horizontalItemPaddingLG:ot}=S;return{[X]:{"&-small":{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:Ze,fontSize:S.titleFontSizeSM}}},"&-large":{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:ot,fontSize:S.titleFontSizeLG}}}},[`${X}-card`]:{[`&${X}-small`]:{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:He}},[`&${X}-bottom`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:`0 0 ${(0,O.unit)(S.borderRadius)} ${(0,O.unit)(S.borderRadius)}`}},[`&${X}-top`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:`${(0,O.unit)(S.borderRadius)} ${(0,O.unit)(S.borderRadius)} 0 0`}},[`&${X}-right`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,O.unit)(S.borderRadius)} ${(0,O.unit)(S.borderRadius)} 0`}}},[`&${X}-left`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,O.unit)(S.borderRadius)} 0 0 ${(0,O.unit)(S.borderRadius)}`}}}},[`&${X}-large`]:{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:pe}}}}}},se=S=>{const{componentCls:X,itemActiveColor:He,itemHoverColor:pe,iconCls:Ze,tabsHorizontalItemMargin:ot,horizontalItemPadding:ht,itemSelectedColor:he,itemColor:Le}=S,St=`${X}-tab`;return{[St]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:ht,fontSize:S.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Le,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:He}},"&-btn":{outline:"none",transition:`all ${S.motionDurationSlow}`,[`${St}-icon:not(:last-child)`]:{marginInlineEnd:S.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:S.calc(S.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:S.marginXS},color:S.colorTextDescription,fontSize:S.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"&:hover":{color:S.colorTextHeading}},(0,A.Qy)(S)),"&:hover":{color:pe},[`&${St}-active ${St}-btn`]:{color:he,textShadow:S.tabsActiveTextShadow},[`&${St}-focus ${St}-btn`]:Object.assign({},(0,A.oN)(S)),[`&${St}-disabled`]:{color:S.colorTextDisabled,cursor:"not-allowed"},[`&${St}-disabled ${St}-btn, &${St}-disabled ${X}-remove`]:{"&:focus, &:active":{color:S.colorTextDisabled}},[`& ${St}-remove ${Ze}`]:{margin:0},[`${Ze}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:S.marginSM}}},[`${St} + ${St}`]:{margin:{_skip_check_:!0,value:ot}}}},Se=S=>{const{componentCls:X,tabsHorizontalItemMarginRTL:He,iconCls:pe,cardGutter:Ze,calc:ot}=S;return{[`${X}-rtl`]:{direction:"rtl",[`${X}-nav`]:{[`${X}-tab`]:{margin:{_skip_check_:!0,value:He},[`${X}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[pe]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,O.unit)(S.marginSM)}},[`${X}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,O.unit)(S.marginXS)},marginLeft:{_skip_check_:!0,value:(0,O.unit)(ot(S.marginXXS).mul(-1).equal())},[pe]:{margin:0}}}},[`&${X}-left`]:{[`> ${X}-nav`]:{order:1},[`> ${X}-content-holder`]:{order:0}},[`&${X}-right`]:{[`> ${X}-nav`]:{order:0},[`> ${X}-content-holder`]:{order:1}},[`&${X}-card${X}-top, &${X}-card${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab + ${X}-tab`]:{marginRight:{_skip_check_:!0,value:Ze},marginLeft:{_skip_check_:!0,value:0}}}}},[`${X}-dropdown-rtl`]:{direction:"rtl"},[`${X}-menu-item`]:{[`${X}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},T=S=>{const{componentCls:X,tabsCardPadding:He,cardHeight:pe,cardGutter:Ze,itemHoverColor:ot,itemActiveColor:ht,colorBorderSecondary:he}=S;return{[X]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,A.Wf)(S)),{display:"flex",[`> ${X}-nav, > div > ${X}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${X}-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 ${S.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${X}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${S.motionDurationSlow}`},[`${X}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${X}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${X}-nav-more`]:{position:"relative",padding:He,background:"transparent",border:0,color:S.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:S.calc(S.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${X}-nav-add`]:Object.assign({minWidth:pe,marginLeft:{_skip_check_:!0,value:Ze},padding:(0,O.unit)(S.paddingXS),background:"transparent",border:`${(0,O.unit)(S.lineWidth)} ${S.lineType} ${he}`,borderRadius:`${(0,O.unit)(S.borderRadiusLG)} ${(0,O.unit)(S.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:S.colorText,transition:`all ${S.motionDurationSlow} ${S.motionEaseInOut}`,"&:hover":{color:ot},"&:active, &:focus:not(:focus-visible)":{color:ht}},(0,A.Qy)(S,-3))},[`${X}-extra-content`]:{flex:"none"},[`${X}-ink-bar`]:{position:"absolute",background:S.inkBarColor,pointerEvents:"none"}}),se(S)),{[`${X}-content`]:{position:"relative",width:"100%"},[`${X}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${X}-tabpane`]:Object.assign(Object.assign({},(0,A.Qy)(S)),{"&-hidden":{display:"none"}})}),[`${X}-centered`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-nav-wrap`]:{[`&:not([class*='${X}-nav-wrap-ping']) > ${X}-nav-list`]:{margin:"auto"}}}}}},P=S=>{const X=S.controlHeightLG;return{zIndexPopup:S.zIndexPopupBase+50,cardBg:S.colorFillAlter,cardHeight:X,cardPadding:`${(X-Math.round(S.fontSize*S.lineHeight))/2-S.lineWidth}px ${S.padding}px`,cardPaddingSM:`${S.paddingXXS*1.5}px ${S.padding}px`,cardPaddingLG:`${S.paddingXS}px ${S.padding}px ${S.paddingXXS*1.5}px`,titleFontSize:S.fontSize,titleFontSizeLG:S.fontSizeLG,titleFontSizeSM:S.fontSize,inkBarColor:S.colorPrimary,horizontalMargin:`0 0 ${S.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${S.paddingSM}px 0`,horizontalItemPaddingSM:`${S.paddingXS}px 0`,horizontalItemPaddingLG:`${S.padding}px 0`,verticalItemPadding:`${S.paddingXS}px ${S.paddingLG}px`,verticalItemMargin:`${S.margin}px 0 0 0`,itemColor:S.colorText,itemSelectedColor:S.colorPrimary,itemHoverColor:S.colorPrimaryHover,itemActiveColor:S.colorPrimaryActive,cardGutter:S.marginXXS/2}};var nt=(0,oe.I$)("Tabs",S=>{const X=(0,J.mergeToken)(S,{tabsCardPadding:S.cardPadding,dropdownEdgeChildVerticalPadding:S.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,O.unit)(S.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,O.unit)(S.horizontalItemGutter)}`});return[Ce(X),Se(X),xe(X),ke(X),et(X),T(X),Pe(X)]},P),ce=()=>null,y=function(S,X){var He={};for(var pe in S)Object.prototype.hasOwnProperty.call(S,pe)&&X.indexOf(pe)<0&&(He[pe]=S[pe]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,pe=Object.getOwnPropertySymbols(S);Ze<pe.length;Ze++)X.indexOf(pe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(S,pe[Ze])&&(He[pe[Ze]]=S[pe[Ze]]);return He};const K=S=>{var X,He,pe,Ze,ot,ht,he,Le,St,We,Re;const{type:M,className:_e,rootClassName:ge,size:ue,onEdit:fe,hideAdd:me,centered:Ie,addIcon:ye,removeIcon:Be,moreIcon:Ye,more:xt,popupClassName:$t,children:Xt,items:Ut,animated:jt,style:at,indicatorSize:yt,indicator:pt}=S,dt=y(S,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:er}=dt,{direction:or,tabs:hr,getPrefixCls:Er,getPopupContainer:qr}=o.useContext(x.E_),Pr=Er("tabs",er),w=(0,Z.Z)(Pr),[H,wt,ae]=nt(Pr,w);let Te;M==="editable-card"&&(Te={onEdit:(sr,C)=>{let{key:v,event:Vt}=C;fe==null||fe(sr==="add"?Vt:v,sr)},removeIcon:(X=Be!=null?Be:hr==null?void 0:hr.removeIcon)!==null&&X!==void 0?X:o.createElement(Xe.Z,null),addIcon:(ye!=null?ye:hr==null?void 0:hr.addIcon)||o.createElement(De.Z,null),showAdd:me!==!0});const Fr=Er(),Mr=(0,c.Z)(ue),bn=z(Ut,Xt),Dn=U(Pr,jt),Rt=Object.assign(Object.assign({},hr==null?void 0:hr.style),at),xr={align:(He=pt==null?void 0:pt.align)!==null&&He!==void 0?He:(pe=hr==null?void 0:hr.indicator)===null||pe===void 0?void 0:pe.align,size:(he=(ot=(Ze=pt==null?void 0:pt.size)!==null&&Ze!==void 0?Ze:yt)!==null&&ot!==void 0?ot:(ht=hr==null?void 0:hr.indicator)===null||ht===void 0?void 0:ht.size)!==null&&he!==void 0?he:hr==null?void 0:hr.indicatorSize};return H(o.createElement(Y.Z,Object.assign({direction:or,getPopupContainer:qr},dt,{items:bn,className:ee()({[`${Pr}-${Mr}`]:Mr,[`${Pr}-card`]:["card","editable-card"].includes(M),[`${Pr}-editable-card`]:M==="editable-card",[`${Pr}-centered`]:Ie},hr==null?void 0:hr.className,_e,ge,wt,ae,w),popupClassName:ee()($t,wt,ae,w),style:Rt,editable:Te,more:Object.assign({icon:(Re=(We=(St=(Le=hr==null?void 0:hr.more)===null||Le===void 0?void 0:Le.icon)!==null&&St!==void 0?St:hr==null?void 0:hr.moreIcon)!==null&&We!==void 0?We:Ye)!==null&&Re!==void 0?Re:o.createElement(B.Z,null),transitionName:`${Fr}-slide-up`},xt),prefixCls:Pr,animated:Dn,indicator:xr})))};K.TabPane=ce;var R=K},96599:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return T}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(2738),q=n(29509),ee=n(78776),Y=n(22703),x=n(12919),Z=n(48755),c=n(36237),L=n(17835),D=n(63356),U=n(51636),F=n(16931);const _=P=>{const{paddingXXS:nt,lineWidth:de,tagPaddingHorizontal:ce,componentCls:y,calc:K}=P,R=K(ce).sub(de).equal(),S=K(nt).sub(de).equal();return{[y]:Object.assign(Object.assign({},(0,D.Wf)(P)),{display:"inline-block",height:"auto",marginInlineEnd:P.marginXS,paddingInline:R,fontSize:P.tagFontSize,lineHeight:P.tagLineHeight,whiteSpace:"nowrap",background:P.defaultBg,border:`${(0,c.unit)(P.lineWidth)} ${P.lineType} ${P.colorBorder}`,borderRadius:P.borderRadiusSM,opacity:1,transition:`all ${P.motionDurationMid}`,textAlign:"start",position:"relative",[`&${y}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:P.defaultColor},[`${y}-close-icon`]:{marginInlineStart:S,fontSize:P.tagIconSize,color:P.colorTextDescription,cursor:"pointer",transition:`all ${P.motionDurationMid}`,"&:hover":{color:P.colorTextHeading}},[`&${y}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${P.iconCls}-close, ${P.iconCls}-close:hover`]:{color:P.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${y}-checkable-checked):hover`]:{color:P.colorPrimary,backgroundColor:P.colorFillSecondary},"&:active, &-checked":{color:P.colorTextLightSolid},"&-checked":{backgroundColor:P.colorPrimary,"&:hover":{backgroundColor:P.colorPrimaryHover}},"&:active":{backgroundColor:P.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${P.iconCls} + span, > span + ${P.iconCls}`]:{marginInlineStart:R}}),[`${y}-borderless`]:{borderColor:"transparent",background:P.tagBorderlessBg}}},I=P=>{const{lineWidth:nt,fontSizeIcon:de,calc:ce}=P,y=P.fontSizeSM;return(0,U.mergeToken)(P,{tagFontSize:y,tagLineHeight:(0,c.unit)(ce(P.lineHeightSM).mul(y).equal()),tagIconSize:ce(de).sub(ce(nt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:P.defaultBg})},z=P=>({defaultBg:new L.FastColor(P.colorFillQuaternary).onBackground(P.colorBgContainer).toHexString(),defaultColor:P.colorText});var O=(0,F.I$)("Tag",P=>{const nt=I(P);return _(nt)},z),A=function(P,nt){var de={};for(var ce in P)Object.prototype.hasOwnProperty.call(P,ce)&&nt.indexOf(ce)<0&&(de[ce]=P[ce]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,ce=Object.getOwnPropertySymbols(P);y<ce.length;y++)nt.indexOf(ce[y])<0&&Object.prototype.propertyIsEnumerable.call(P,ce[y])&&(de[ce[y]]=P[ce[y]]);return de},J=o.forwardRef((P,nt)=>{const{prefixCls:de,style:ce,className:y,checked:K,onChange:R,onClick:S}=P,X=A(P,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:He,tag:pe}=o.useContext(Z.E_),Ze=We=>{R==null||R(!K),S==null||S(We)},ot=He("tag",de),[ht,he,Le]=O(ot),St=B()(ot,`${ot}-checkable`,{[`${ot}-checkable-checked`]:K},pe==null?void 0:pe.className,y,he,Le);return ht(o.createElement("span",Object.assign({},X,{ref:nt,style:Object.assign(Object.assign({},ce),pe==null?void 0:pe.style),className:St,onClick:Ze})))}),te=n(93427);const Ee=P=>(0,te.Z)(P,(nt,de)=>{let{textColor:ce,lightBorderColor:y,lightColor:K,darkColor:R}=de;return{[`${P.componentCls}${P.componentCls}-${nt}`]:{color:ce,background:K,borderColor:y,"&-inverse":{color:P.colorTextLightSolid,background:R,borderColor:R},[`&${P.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Pe=(0,F.bk)(["Tag","preset"],P=>{const nt=I(P);return Ee(nt)},z);function et(P){return typeof P!="string"?P:P.charAt(0).toUpperCase()+P.slice(1)}const ke=(P,nt,de)=>{const ce=et(de);return{[`${P.componentCls}${P.componentCls}-${nt}`]:{color:P[`color${de}`],background:P[`color${ce}Bg`],borderColor:P[`color${ce}Border`],[`&${P.componentCls}-borderless`]:{borderColor:"transparent"}}}};var xe=(0,F.bk)(["Tag","status"],P=>{const nt=I(P);return[ke(nt,"success","Success"),ke(nt,"processing","Info"),ke(nt,"error","Error"),ke(nt,"warning","Warning")]},z),Ce=function(P,nt){var de={};for(var ce in P)Object.prototype.hasOwnProperty.call(P,ce)&&nt.indexOf(ce)<0&&(de[ce]=P[ce]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,ce=Object.getOwnPropertySymbols(P);y<ce.length;y++)nt.indexOf(ce[y])<0&&Object.prototype.propertyIsEnumerable.call(P,ce[y])&&(de[ce[y]]=P[ce[y]]);return de};const Se=o.forwardRef((P,nt)=>{const{prefixCls:de,className:ce,rootClassName:y,style:K,children:R,icon:S,color:X,onClose:He,bordered:pe=!0,visible:Ze}=P,ot=Ce(P,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:ht,direction:he,tag:Le}=o.useContext(Z.E_),[St,We]=o.useState(!0),Re=(0,De.Z)(ot,["closeIcon","closable"]);o.useEffect(()=>{Ze!==void 0&&We(Ze)},[Ze]);const M=(0,q.o2)(X),_e=(0,q.yT)(X),ge=M||_e,ue=Object.assign(Object.assign({backgroundColor:X&&!ge?X:void 0},Le==null?void 0:Le.style),K),fe=ht("tag",de),[me,Ie,ye]=O(fe),Be=B()(fe,Le==null?void 0:Le.className,{[`${fe}-${X}`]:ge,[`${fe}-has-color`]:X&&!ge,[`${fe}-hidden`]:!St,[`${fe}-rtl`]:he==="rtl",[`${fe}-borderless`]:!pe},ce,y,Ie,ye),Ye=at=>{at.stopPropagation(),He==null||He(at),!at.defaultPrevented&&We(!1)},[,xt]=(0,ee.Z)((0,ee.w)(P),(0,ee.w)(Le),{closable:!1,closeIconRender:at=>{const yt=o.createElement("span",{className:`${fe}-close-icon`,onClick:Ye},at);return(0,Y.wm)(at,yt,pt=>({onClick:dt=>{var er;(er=pt==null?void 0:pt.onClick)===null||er===void 0||er.call(pt,dt),Ye(dt)},className:B()(pt==null?void 0:pt.className,`${fe}-close-icon`)}))}}),$t=typeof ot.onClick=="function"||R&&R.type==="a",Xt=S||null,Ut=Xt?o.createElement(o.Fragment,null,Xt,R&&o.createElement("span",null,R)):R,jt=o.createElement("span",Object.assign({},Re,{ref:nt,className:Be,style:ue}),Ut,xt,M&&o.createElement(Pe,{key:"preset",prefixCls:fe}),_e&&o.createElement(xe,{key:"status",prefixCls:fe}));return me($t?o.createElement(x.Z,{component:"Tag"},jt):jt)});Se.CheckableTag=J;var T=Se},93427:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return Xe}});var o=n(34998);function Xe(B,De){return o.i.reduce((q,ee)=>{const Y=B[`${ee}1`],x=B[`${ee}3`],Z=B[`${ee}6`],c=B[`${ee}7`];return Object.assign(Object.assign({},q),De(ee,{lightColor:Y,lightBorderColor:x,darkColor:Z,textColor:c}))},{})}},25399:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return nt}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(29125),q=n(18929),ee=n(62487),Y=n(75030),x=n(86641),Z=n(52838),c=n(22703),L=n(32383),D=n(55743),U=n(57700),F=n(48755),_=n(36237),I=n(63356),z=n(34925),O=n(37645),A=n(36305),oe=n(93427),J=n(51636),te=n(16931);const Ee=de=>{const{calc:ce,componentCls:y,tooltipMaxWidth:K,tooltipColor:R,tooltipBg:S,tooltipBorderRadius:X,zIndexPopup:He,controlHeight:pe,boxShadowSecondary:Ze,paddingSM:ot,paddingXS:ht,arrowOffsetHorizontal:he,sizePopupArrow:Le}=de,St=ce(X).add(Le).add(he).equal(),We=ce(X).mul(2).add(Le).equal();return[{[y]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,I.Wf)(de)),{position:"absolute",zIndex:He,display:"block",width:"max-content",maxWidth:K,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":S,[`${y}-inner`]:{minWidth:We,minHeight:pe,padding:`${(0,_.unit)(de.calc(ot).div(2).equal())} ${(0,_.unit)(ht)}`,color:R,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:S,borderRadius:X,boxShadow:Ze,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:St},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${y}-inner`]:{borderRadius:de.min(X,O.qN)}},[`${y}-content`]:{position:"relative"}}),(0,oe.Z)(de,(Re,M)=>{let{darkColor:_e}=M;return{[`&${y}-${Re}`]:{[`${y}-inner`]:{backgroundColor:_e},[`${y}-arrow`]:{"--antd-arrow-background-color":_e}}}})),{"&-rtl":{direction:"rtl"}})},(0,O.ZP)(de,"var(--antd-arrow-background-color)"),{[`${y}-pure`]:{position:"relative",maxWidth:"none",margin:de.sizePopupArrow}}]},Pe=de=>Object.assign(Object.assign({zIndexPopup:de.zIndexPopupBase+70},(0,O.wZ)({contentRadius:de.borderRadius,limitVerticalRadius:!0})),(0,A.w)((0,J.mergeToken)(de,{borderRadiusOuter:Math.min(de.borderRadiusOuter,4)})));var et=function(de){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,te.I$)("Tooltip",K=>{const{borderRadius:R,colorTextLightSolid:S,colorBgSpotlight:X}=K,He=(0,J.mergeToken)(K,{tooltipMaxWidth:250,tooltipColor:S,tooltipBorderRadius:R,tooltipBg:X});return[Ee(He),(0,z._y)(K,"zoom-big-fast")]},Pe,{resetStyle:!1,injectStyle:ce})(de)},ke=n(29509);function xe(de,ce){const y=(0,ke.o2)(ce),K=B()({[`${de}-${ce}`]:ce&&y}),R={},S={};return ce&&!y&&(R.background=ce,S["--antd-arrow-background-color"]=ce),{className:K,overlayStyle:R,arrowStyle:S}}var se=de=>{const{prefixCls:ce,className:y,placement:K="top",title:R,color:S,overlayInnerStyle:X}=de,{getPrefixCls:He}=o.useContext(F.E_),pe=He("tooltip",ce),[Ze,ot,ht]=et(pe),he=xe(pe,S),Le=he.arrowStyle,St=Object.assign(Object.assign({},X),he.overlayStyle),We=B()(ot,ht,pe,`${pe}-pure`,`${pe}-placement-${K}`,y,he.className);return Ze(o.createElement("div",{className:We,style:Le},o.createElement("div",{className:`${pe}-arrow`}),o.createElement(De.G,Object.assign({},de,{className:ot,prefixCls:pe,overlayInnerStyle:St}),R)))},Se=function(de,ce){var y={};for(var K in de)Object.prototype.hasOwnProperty.call(de,K)&&ce.indexOf(K)<0&&(y[K]=de[K]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,K=Object.getOwnPropertySymbols(de);R<K.length;R++)ce.indexOf(K[R])<0&&Object.prototype.propertyIsEnumerable.call(de,K[R])&&(y[K[R]]=de[K[R]]);return y};const P=o.forwardRef((de,ce)=>{var y,K;const{prefixCls:R,openClassName:S,getTooltipContainer:X,color:He,overlayInnerStyle:pe,children:Ze,afterOpenChange:ot,afterVisibleChange:ht,destroyTooltipOnHide:he,arrow:Le=!0,title:St,overlay:We,builtinPlacements:Re,arrowPointAtCenter:M=!1,autoAdjustOverflow:_e=!0,motion:ge,getPopupContainer:ue,placement:fe="top",mouseEnterDelay:me=.1,mouseLeaveDelay:Ie=.1,overlayStyle:ye,rootClassName:Be,overlayClassName:Ye,styles:xt,classNames:$t}=de,Xt=Se(de,["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"]),Ut=!!Le,[,jt]=(0,U.ZP)(),{getPopupContainer:at,getPrefixCls:yt,direction:pt,className:dt,style:er,classNames:or,styles:hr}=(0,F.dj)("tooltip"),Er=(0,L.ln)("Tooltip"),qr=o.useRef(null),Pr=()=>{var An;(An=qr.current)===null||An===void 0||An.forceAlign()};o.useImperativeHandle(ce,()=>{var An,Ct;return{forceAlign:Pr,forcePopupAlign:()=>{Er.deprecated(!1,"forcePopupAlign","forceAlign"),Pr()},nativeElement:(An=qr.current)===null||An===void 0?void 0:An.nativeElement,popupElement:(Ct=qr.current)===null||Ct===void 0?void 0:Ct.popupElement}});const[w,H]=(0,q.Z)(!1,{value:(y=de.open)!==null&&y!==void 0?y:de.visible,defaultValue:(K=de.defaultOpen)!==null&&K!==void 0?K:de.defaultVisible}),wt=!St&&!We&&St!==0,ae=An=>{var Ct,Lt;H(wt?!1:An),wt||((Ct=de.onOpenChange)===null||Ct===void 0||Ct.call(de,An),(Lt=de.onVisibleChange)===null||Lt===void 0||Lt.call(de,An))},Te=o.useMemo(()=>{var An,Ct;let Lt=M;return typeof Le=="object"&&(Lt=(Ct=(An=Le.pointAtCenter)!==null&&An!==void 0?An:Le.arrowPointAtCenter)!==null&&Ct!==void 0?Ct:M),Re||(0,Z.Z)({arrowPointAtCenter:Lt,autoAdjustOverflow:_e,arrowWidth:Ut?jt.sizePopupArrow:0,borderRadius:jt.borderRadius,offset:jt.marginXXS,visibleFirst:!0})},[M,Le,Re,jt]),Fr=o.useMemo(()=>St===0?St:We||St||"",[We,St]),Mr=o.createElement(ee.Z,{space:!0},typeof Fr=="function"?Fr():Fr),bn=yt("tooltip",R),Dn=yt(),Rt=de["data-popover-inject"];let xr=w;!("open"in de)&&!("visible"in de)&&wt&&(xr=!1);const sr=o.isValidElement(Ze)&&!(0,c.M2)(Ze)?Ze:o.createElement("span",null,Ze),C=sr.props,v=!C.className||typeof C.className=="string"?B()(C.className,S||`${bn}-open`):C.className,[Vt,$,Oe]=et(bn,!Rt),ln=xe(bn,He),Wr=ln.arrowStyle,Ht=B()(Ye,{[`${bn}-rtl`]:pt==="rtl"},ln.className,Be,$,Oe,dt,or.root,$t==null?void 0:$t.root),Gt=B()(or.body,$t==null?void 0:$t.body),[br,Kr]=(0,Y.Cn)("Tooltip",Xt.zIndex),an=o.createElement(De.Z,Object.assign({},Xt,{zIndex:br,showArrow:Ut,placement:fe,mouseEnterDelay:me,mouseLeaveDelay:Ie,prefixCls:bn,classNames:{root:Ht,body:Gt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Wr),hr.root),er),ye),xt==null?void 0:xt.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},hr.body),pe),xt==null?void 0:xt.body),ln.overlayStyle)},getTooltipContainer:ue||X||at,ref:qr,builtinPlacements:Te,overlay:Mr,visible:xr,onVisibleChange:ae,afterVisibleChange:ot!=null?ot:ht,arrowContent:o.createElement("span",{className:`${bn}-arrow-content`}),motion:{motionName:(0,x.m)(Dn,"zoom-big-fast",de.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!he}),xr?(0,c.Tm)(sr,{className:v}):sr);return Vt(o.createElement(D.Z.Provider,{value:Kr},an))});P._InternalPanelDoNotUseOrYouWillBeFired=se;var nt=P},86743:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return K}});var o=n(59301),Xe=n(38470),B=n(92310),De=n.n(B),q=n(75030),ee=n(52838),Y=n(55743),x=n(48755),Z=n(57700),c=n(94480),L=n(99267),D=n(7939),U=n(9017),F=n(85981);function _(R){return R!=null}var z=R=>{var S,X;const{stepProps:He,current:pe,type:Ze,indicatorsRender:ot}=R,{prefixCls:ht,total:he=1,title:Le,onClose:St,onPrev:We,onNext:Re,onFinish:M,cover:_e,description:ge,nextButtonProps:ue,prevButtonProps:fe,type:me,closable:Ie}=He,ye=me!=null?me:Ze,Be=o.createElement("button",{type:"button",onClick:St,className:`${ht}-close`},(Ie==null?void 0:Ie.closeIcon)||o.createElement(L.Z,{className:`${ht}-close-icon`})),Ye=pe===he-1,xt=()=>{var er;We==null||We(),(er=fe==null?void 0:fe.onClick)===null||er===void 0||er.call(fe)},$t=()=>{var er;Ye?M==null||M():Re==null||Re(),(er=ue==null?void 0:ue.onClick)===null||er===void 0||er.call(ue)},Xt=_(Le)?o.createElement("div",{className:`${ht}-header`},o.createElement("div",{className:`${ht}-title`},Le)):null,Ut=_(ge)?o.createElement("div",{className:`${ht}-description`},ge):null,jt=_(_e)?o.createElement("div",{className:`${ht}-cover`},_e):null;let at;ot?at=ot(pe,he):at=(0,c.Z)(Array.from({length:he}).keys()).map((er,or)=>o.createElement("span",{key:er,className:De()(or===pe&&`${ht}-indicator-active`,`${ht}-indicator`)}));const yt=ye==="primary"?"default":"primary",pt={type:"default",ghost:ye==="primary"},[dt]=(0,U.Z)("Tour",F.Z.Tour);return o.createElement("div",{className:`${ht}-content`},o.createElement("div",{className:`${ht}-inner`},Ie&&Be,jt,Xt,Ut,o.createElement("div",{className:`${ht}-footer`},he>1&&o.createElement("div",{className:`${ht}-indicators`},at),o.createElement("div",{className:`${ht}-buttons`},pe!==0?o.createElement(D.ZP,Object.assign({},pt,fe,{onClick:xt,size:"small",className:De()(`${ht}-prev-btn`,fe==null?void 0:fe.className)}),(S=fe==null?void 0:fe.children)!==null&&S!==void 0?S:dt==null?void 0:dt.Previous):null,o.createElement(D.ZP,Object.assign({type:yt},ue,{onClick:$t,size:"small",className:De()(`${ht}-next-btn`,ue==null?void 0:ue.className)}),(X=ue==null?void 0:ue.children)!==null&&X!==void 0?X:Ye?dt==null?void 0:dt.Finish:dt==null?void 0:dt.Next)))))},O=n(78776),A=n(45915),oe=n(22703),J=n(69106),te=n(36237),Ee=n(17835),Pe=n(63356),et=n(37645),ke=n(36305),xe=n(16931),Ce=n(51636);const se=R=>{const{componentCls:S,padding:X,paddingXS:He,borderRadius:pe,borderRadiusXS:Ze,colorPrimary:ot,colorFill:ht,indicatorHeight:he,indicatorWidth:Le,boxShadowTertiary:St,zIndexPopup:We,colorBgElevated:Re,fontWeightStrong:M,marginXS:_e,colorTextLightSolid:ge,tourBorderRadius:ue,colorWhite:fe,primaryNextBtnHoverBg:me,closeBtnSize:Ie,motionDurationSlow:ye,antCls:Be,primaryPrevBtnBg:Ye}=R;return[{[S]:Object.assign(Object.assign({},(0,Pe.Wf)(R)),{position:"absolute",zIndex:We,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":Re,"&-pure":{maxWidth:"100%",position:"relative"},[`&${S}-hidden`]:{display:"none"},[`${S}-content`]:{position:"relative"},[`${S}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:ue,boxShadow:St,position:"relative",backgroundColor:Re,border:"none",backgroundClip:"padding-box",[`${S}-close`]:Object.assign({position:"absolute",top:X,insetInlineEnd:X,color:R.colorIcon,background:"none",border:"none",width:Ie,height:Ie,borderRadius:R.borderRadiusSM,transition:`background-color ${R.motionDurationMid}, color ${R.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:R.colorIconHover,backgroundColor:R.colorBgTextHover},"&:active":{backgroundColor:R.colorBgTextActive}},(0,Pe.Qy)(R)),[`${S}-cover`]:{textAlign:"center",padding:`${(0,te.unit)(R.calc(X).add(Ie).add(He).equal())} ${(0,te.unit)(X)} 0`,img:{width:"100%"}},[`${S}-header`]:{padding:`${(0,te.unit)(X)} ${(0,te.unit)(X)} ${(0,te.unit)(He)}`,width:`calc(100% - ${(0,te.unit)(Ie)})`,wordBreak:"break-word",[`${S}-title`]:{fontWeight:M}},[`${S}-description`]:{padding:`0 ${(0,te.unit)(X)}`,wordWrap:"break-word"},[`${S}-footer`]:{padding:`${(0,te.unit)(He)} ${(0,te.unit)(X)} ${(0,te.unit)(X)}`,textAlign:"end",borderRadius:`0 0 ${(0,te.unit)(Ze)} ${(0,te.unit)(Ze)}`,display:"flex",[`${S}-indicators`]:{display:"inline-block",[`${S}-indicator`]:{width:Le,height:he,display:"inline-block",borderRadius:"50%",background:ht,"&:not(:last-child)":{marginInlineEnd:he},"&-active":{background:ot}}},[`${S}-buttons`]:{marginInlineStart:"auto",[`${Be}-btn`]:{marginInlineStart:_e}}}},[`${S}-primary, &${S}-primary`]:{"--antd-arrow-background-color":ot,[`${S}-inner`]:{color:ge,textAlign:"start",textDecoration:"none",backgroundColor:ot,borderRadius:pe,boxShadow:St,[`${S}-close`]:{color:ge},[`${S}-indicators`]:{[`${S}-indicator`]:{background:Ye,"&-active":{background:ge}}},[`${S}-prev-btn`]:{color:ge,borderColor:Ye,backgroundColor:ot,"&:hover":{backgroundColor:Ye,borderColor:"transparent"}},[`${S}-next-btn`]:{color:ot,borderColor:"transparent",background:fe,"&:hover":{background:me}}}}}),[`${S}-mask`]:{[`${S}-placeholder-animated`]:{transition:`all ${ye}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${S}-inner`]:{borderRadius:R.min(ue,et.qN)}}},(0,et.ZP)(R,"var(--antd-arrow-background-color)")]},Se=R=>Object.assign(Object.assign({zIndexPopup:R.zIndexPopupBase+70,closeBtnSize:R.fontSize*R.lineHeight,primaryPrevBtnBg:new Ee.FastColor(R.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new Ee.FastColor(R.colorBgTextHover).onBackground(R.colorWhite).toRgbString()},(0,et.wZ)({contentRadius:R.borderRadiusLG,limitVerticalRadius:!0})),(0,ke.w)(R));var T=(0,xe.I$)("Tour",R=>{const{borderRadiusLG:S}=R,X=(0,Ce.mergeToken)(R,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:S});return[se(X)]},Se),P=function(R,S){var X={};for(var He in R)Object.prototype.hasOwnProperty.call(R,He)&&S.indexOf(He)<0&&(X[He]=R[He]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,He=Object.getOwnPropertySymbols(R);pe<He.length;pe++)S.indexOf(He[pe])<0&&Object.prototype.propertyIsEnumerable.call(R,He[pe])&&(X[He[pe]]=R[He[pe]]);return X};const nt=R=>{const{prefixCls:S,current:X=0,total:He=6,className:pe,style:Ze,type:ot,closable:ht,closeIcon:he}=R,Le=P(R,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:St}=o.useContext(x.E_),We=St("tour",S),[Re,M,_e]=T(We),[ge,ue]=(0,O.Z)({closable:ht,closeIcon:he},null,{closable:!0,closeIconRender:fe=>o.isValidElement(fe)?(0,oe.Tm)(fe,{className:De()(fe.props.className,`${We}-close-icon`)}):fe});return Re(o.createElement(J.t5,{prefixCls:We,hashId:M,className:De()(pe,`${We}-pure`,ot&&`${We}-${ot}`,_e),style:Ze},o.createElement(z,{stepProps:Object.assign(Object.assign({},Le),{prefixCls:We,total:He,closable:ge?{closeIcon:ue}:void 0}),current:X,type:ot})))};var de=(0,A.i)(nt),ce=function(R,S){var X={};for(var He in R)Object.prototype.hasOwnProperty.call(R,He)&&S.indexOf(He)<0&&(X[He]=R[He]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,He=Object.getOwnPropertySymbols(R);pe<He.length;pe++)S.indexOf(He[pe])<0&&Object.prototype.propertyIsEnumerable.call(R,He[pe])&&(X[He[pe]]=R[He[pe]]);return X};const y=R=>{const{prefixCls:S,type:X,rootClassName:He,indicatorsRender:pe,steps:Ze,closeIcon:ot}=R,ht=ce(R,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:he,direction:Le,tour:St}=(0,o.useContext)(x.E_),We=he("tour",S),[Re,M,_e]=T(We),[,ge]=(0,Z.ZP)(),ue=o.useMemo(()=>Ze==null?void 0:Ze.map(Ye=>{var xt;return Object.assign(Object.assign({},Ye),{className:De()(Ye.className,{[`${We}-primary`]:((xt=Ye.type)!==null&&xt!==void 0?xt:X)==="primary"})})}),[Ze,X]),fe=Ye=>{var xt;return(0,ee.Z)({arrowPointAtCenter:(xt=Ye==null?void 0:Ye.arrowPointAtCenter)!==null&&xt!==void 0?xt:!0,autoAdjustOverflow:!0,offset:ge.marginXXS,arrowWidth:ge.sizePopupArrow,borderRadius:ge.borderRadius})},me=De()({[`${We}-rtl`]:Le==="rtl"},M,_e,He),Ie=(Ye,xt)=>o.createElement(z,{type:X,stepProps:Ye,current:xt,indicatorsRender:pe}),[ye,Be]=(0,q.Cn)("Tour",ht.zIndex);return Re(o.createElement(Y.Z.Provider,{value:Be},o.createElement(Xe.Z,Object.assign({},ht,{closeIcon:ot!=null?ot:St==null?void 0:St.closeIcon,zIndex:ye,rootClassName:me,prefixCls:We,animated:!0,renderPanel:Ie,builtinPlacements:fe,steps:ue}))))};y._InternalPanelDoNotUseOrYouWillBeFired=de;var K=y},69219:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return K}});var o=n(59301),Xe=n(92310),B=n.n(Xe),De=n(9940),q=n(2738),ee=n(75030),Y=n(86641),x=n(45915),Z=n(82855),c=n(48755),L=n(38406),D=n(2171),U=n(83397),F=n(31756),_=n(56553),I=n(24971),z=n(1722),O=n(90376),A=n(68525),oe=n(90005),J=n(70045),te=n(57700),Ee=n(85278),Pe=n(36237),et=n(36170),ke=n(51636),xe=n(16931),Ce=n(12425);const se=R=>{const{componentCls:S,treePrefixCls:X,colorBgElevated:He}=R,pe=`.${X}`;return[{[`${S}-dropdown`]:[{padding:`${(0,Pe.unit)(R.paddingXS)} ${(0,Pe.unit)(R.calc(R.paddingXS).div(2).equal())}`},(0,Ce.Yk)(X,(0,ke.mergeToken)(R,{colorBgContainer:He}),!1),{[pe]:{borderRadius:0,[`${pe}-list-holder-inner`]:{alignItems:"stretch",[`${pe}-treenode`]:{[`${pe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,et.C2)(`${X}-checkbox`,R),{"&-rtl":{direction:"rtl",[`${pe}-switcher${pe}-switcher_close`]:{[`${pe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},Se=null;function T(R,S,X){return(0,xe.I$)("TreeSelect",He=>{const pe=(0,ke.mergeToken)(He,{treePrefixCls:S});return[se(pe)]},Ce.TM)(R,X)}var P=function(R,S){var X={};for(var He in R)Object.prototype.hasOwnProperty.call(R,He)&&S.indexOf(He)<0&&(X[He]=R[He]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,He=Object.getOwnPropertySymbols(R);pe<He.length;pe++)S.indexOf(He[pe])<0&&Object.prototype.propertyIsEnumerable.call(R,He[pe])&&(X[He[pe]]=R[He[pe]]);return X};const nt=(R,S)=>{var X;const{prefixCls:He,size:pe,disabled:Ze,bordered:ot=!0,className:ht,rootClassName:he,treeCheckable:Le,multiple:St,listHeight:We=256,listItemHeight:Re,placement:M,notFoundContent:_e,switcherIcon:ge,treeLine:ue,getPopupContainer:fe,popupClassName:me,dropdownClassName:Ie,treeIcon:ye=!1,transitionName:Be,choiceTransitionName:Ye="",status:xt,treeExpandAction:$t,builtinPlacements:Xt,dropdownMatchSelectWidth:Ut,popupMatchSelectWidth:jt,allowClear:at,variant:yt,dropdownStyle:pt,tagRender:dt,maxCount:er,showCheckedStrategy:or,treeCheckStrictly:hr}=R,Er=P(R,["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:qr,getPrefixCls:Pr,renderEmpty:w,direction:H,virtual:wt,popupMatchSelectWidth:ae,popupOverflow:Te}=o.useContext(c.E_),[,Fr]=(0,te.ZP)(),Mr=Re!=null?Re:(Fr==null?void 0:Fr.controlHeightSM)+(Fr==null?void 0:Fr.paddingXXS),bn=Pr(),Dn=Pr("select",He),Rt=Pr("select-tree",He),xr=Pr("tree-select",He),{compactSize:sr,compactItemClassnames:C}=(0,J.ri)(Dn,H),v=(0,U.Z)(Dn),Vt=(0,U.Z)(xr),[$,Oe,ln]=(0,O.Z)(Dn,v),[Wr]=T(xr,Rt,Vt),[Ht,Gt]=(0,I.Z)("treeSelect",yt,ot),br=B()(me||Ie,`${xr}-dropdown`,{[`${xr}-dropdown-rtl`]:H==="rtl"},he,ln,v,Vt,Oe),Kr=!!(Le||St),an=o.useMemo(()=>{if(!(er&&(or==="SHOW_ALL"&&!hr||or==="SHOW_PARENT")))return er},[er,or,hr]),An=(0,oe.Z)(R.suffixIcon,R.showArrow),Ct=(X=jt!=null?jt:Ut)!==null&&X!==void 0?X:ae,{status:Lt,hasFeedback:Ue,isFormItemInput:jr,feedbackIcon:$r}=o.useContext(_.aM),Gr=(0,Z.F)(Lt,xt),{suffixIcon:Cn,removeIcon:na,clearIcon:mt}=(0,A.Z)(Object.assign(Object.assign({},Er),{multiple:Kr,showSuffixIcon:An,hasFeedback:Ue,feedbackIcon:$r,prefixCls:Dn,componentName:"TreeSelect"})),rr=at===!0?{clearIcon:mt}:at;let cr;_e!==void 0?cr=_e:cr=(w==null?void 0:w("Select"))||o.createElement(L.Z,{componentName:"Select"});const ir=(0,q.Z)(Er,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Nr=o.useMemo(()=>M!==void 0?M:H==="rtl"?"bottomRight":"bottomLeft",[M,H]),Dr=(0,F.Z)(xn=>{var zn;return(zn=pe!=null?pe:sr)!==null&&zn!==void 0?zn:xn}),sn=o.useContext(D.Z),Br=Ze!=null?Ze:sn,pn=B()(!He&&xr,{[`${Dn}-lg`]:Dr==="large",[`${Dn}-sm`]:Dr==="small",[`${Dn}-rtl`]:H==="rtl",[`${Dn}-${Ht}`]:Gt,[`${Dn}-in-form-item`]:jr},(0,Z.Z)(Dn,Gr,Ue),C,ht,he,ln,v,Vt,Oe),on=xn=>o.createElement(Ee.Z,{prefixCls:Rt,switcherIcon:ge,treeNodeProps:xn,showLine:ue}),[Mn]=(0,ee.Cn)("SelectLike",pt==null?void 0:pt.zIndex),jn=o.createElement(De.ZP,Object.assign({virtual:wt,disabled:Br},ir,{dropdownMatchSelectWidth:Ct,builtinPlacements:(0,z.Z)(Xt,Te),ref:S,prefixCls:Dn,className:pn,listHeight:We,listItemHeight:Mr,treeCheckable:Le&&o.createElement("span",{className:`${Dn}-tree-checkbox-inner`}),treeLine:!!ue,suffixIcon:Cn,multiple:Kr,placement:Nr,removeIcon:na,allowClear:rr,switcherIcon:on,showTreeIcon:ye,notFoundContent:cr,getPopupContainer:fe||qr,treeMotion:null,dropdownClassName:br,dropdownStyle:Object.assign(Object.assign({},pt),{zIndex:Mn}),choiceTransitionName:(0,Y.m)(bn,"",Ye),transitionName:(0,Y.m)(bn,"slide-up",Be),treeExpandAction:$t,tagRender:Kr?dt:void 0,maxCount:an,showCheckedStrategy:or,treeCheckStrictly:hr}));return $(Wr(jn))},ce=o.forwardRef(nt),y=(0,x.Z)(ce,"dropdownAlign",R=>(0,q.Z)(R,["visible"]));ce.TreeNode=De.OF,ce.SHOW_ALL=De.Qw,ce.SHOW_PARENT=De.hT,ce.SHOW_CHILD=De.FJ,ce._InternalPanelDoNotUseOrYouWillBeFired=y;var K=ce},18287:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return He}});var o=n(3741),Xe=n(94480),B=n(59301),De=n(52671),q=n(8657),ee=n(54476),Y={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"},x=Y,Z=n(7657),c=function(Ze,ot){return B.createElement(Z.Z,(0,ee.Z)({},Ze,{ref:ot,icon:x}))},L=B.forwardRef(c),D=L,U=n(92310),F=n.n(U),_=n(82661),I=n(34061),z=n(48755),O=n(56082),A=n(86641),oe=n(57700),J=n(12425);const te=4;function Ee(pe){const{dropPosition:Ze,dropLevelOffset:ot,prefixCls:ht,indent:he,direction:Le="ltr"}=pe,St=Le==="ltr"?"left":"right",We=Le==="ltr"?"right":"left",Re={[St]:-ot*he+te,[We]:0};switch(Ze){case-1:Re.top=-3;break;case 1:Re.bottom=-3;break;default:Re.bottom=-3,Re[St]=he+te;break}return B.createElement("div",{style:Re,className:`${ht}-drop-indicator`})}var Pe=Ee,et=n(85278),xe=B.forwardRef((pe,Ze)=>{var ot;const{getPrefixCls:ht,direction:he,virtual:Le,tree:St}=B.useContext(z.E_),{prefixCls:We,className:Re,showIcon:M=!1,showLine:_e,switcherIcon:ge,switcherLoadingIcon:ue,blockNode:fe=!1,children:me,checkable:Ie=!1,selectable:ye=!0,draggable:Be,motion:Ye,style:xt}=pe,$t=ht("tree",We),Xt=ht(),Ut=Ye!=null?Ye:Object.assign(Object.assign({},(0,A.Z)(Xt)),{motionAppear:!1}),jt=Object.assign(Object.assign({},pe),{checkable:Ie,selectable:ye,showIcon:M,motion:Ut,blockNode:fe,showLine:!!_e,dropIndicatorRender:Pe}),[at,yt,pt]=(0,J.ZP)($t),[,dt]=(0,oe.ZP)(),er=dt.paddingXS/2+(((ot=dt.Tree)===null||ot===void 0?void 0:ot.titleHeight)||dt.controlHeightSM),or=B.useMemo(()=>{if(!Be)return!1;let Er={};switch(typeof Be){case"function":Er.nodeDraggable=Be;break;case"object":Er=Object.assign({},Be);break;default:break}return Er.icon!==!1&&(Er.icon=Er.icon||B.createElement(O.Z,null)),Er},[Be]),hr=Er=>B.createElement(et.Z,{prefixCls:$t,switcherIcon:ge,switcherLoadingIcon:ue,treeNodeProps:Er,showLine:_e});return at(B.createElement(o.ZP,Object.assign({itemHeight:er,ref:Ze,virtual:Le},jt,{style:Object.assign(Object.assign({},St==null?void 0:St.style),xt),prefixCls:$t,className:F()({[`${$t}-icon-hide`]:!M,[`${$t}-block-node`]:fe,[`${$t}-unselectable`]:!ye,[`${$t}-rtl`]:he==="rtl"},St==null?void 0:St.className,Re,yt,pt),direction:he,checkable:Ie&&B.createElement("span",{className:`${$t}-checkbox-inner`}),selectable:ye,switcherIcon:hr,draggable:or}),me))});const Ce=0,se=1,Se=2;function T(pe,Ze,ot){const{key:ht,children:he}=ot;function Le(St){const We=St[ht],Re=St[he];Ze(We,St)!==!1&&T(Re||[],Ze,ot)}pe.forEach(Le)}function P(pe){let{treeData:Ze,expandedKeys:ot,startKey:ht,endKey:he,fieldNames:Le}=pe;const St=[];let We=Ce;if(ht&&ht===he)return[ht];if(!ht||!he)return[];function Re(M){return M===ht||M===he}return T(Ze,M=>{if(We===Se)return!1;if(Re(M)){if(St.push(M),We===Ce)We=se;else if(We===se)return We=Se,!1}else We===se&&St.push(M);return ot.includes(M)},(0,I.w$)(Le)),St}function nt(pe,Ze,ot){const ht=(0,Xe.Z)(Ze),he=[];return T(pe,(Le,St)=>{const We=ht.indexOf(Le);return We!==-1&&(he.push(St),ht.splice(We,1)),!!ht.length},(0,I.w$)(ot)),he}var de=function(pe,Ze){var ot={};for(var ht in pe)Object.prototype.hasOwnProperty.call(pe,ht)&&Ze.indexOf(ht)<0&&(ot[ht]=pe[ht]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ht=Object.getOwnPropertySymbols(pe);he<ht.length;he++)Ze.indexOf(ht[he])<0&&Object.prototype.propertyIsEnumerable.call(pe,ht[he])&&(ot[ht[he]]=pe[ht[he]]);return ot};function ce(pe){const{isLeaf:Ze,expanded:ot}=pe;return Ze?B.createElement(De.Z,null):ot?B.createElement(q.Z,null):B.createElement(D,null)}function y(pe){let{treeData:Ze,children:ot}=pe;return Ze||(0,I.zn)(ot)}const K=(pe,Ze)=>{var{defaultExpandAll:ot,defaultExpandParent:ht,defaultExpandedKeys:he}=pe,Le=de(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const St=B.useRef(null),We=B.useRef(null),Re=()=>{const{keyEntities:at}=(0,I.I8)(y(Le));let yt;return ot?yt=Object.keys(at):ht?yt=(0,_.r7)(Le.expandedKeys||he||[],at):yt=Le.expandedKeys||he||[],yt},[M,_e]=B.useState(Le.selectedKeys||Le.defaultSelectedKeys||[]),[ge,ue]=B.useState(()=>Re());B.useEffect(()=>{"selectedKeys"in Le&&_e(Le.selectedKeys)},[Le.selectedKeys]),B.useEffect(()=>{"expandedKeys"in Le&&ue(Le.expandedKeys)},[Le.expandedKeys]);const fe=(at,yt)=>{var pt;return"expandedKeys"in Le||ue(at),(pt=Le.onExpand)===null||pt===void 0?void 0:pt.call(Le,at,yt)},me=(at,yt)=>{var pt;const{multiple:dt,fieldNames:er}=Le,{node:or,nativeEvent:hr}=yt,{key:Er=""}=or,qr=y(Le),Pr=Object.assign(Object.assign({},yt),{selected:!0}),w=(hr==null?void 0:hr.ctrlKey)||(hr==null?void 0:hr.metaKey),H=hr==null?void 0:hr.shiftKey;let wt;dt&&w?(wt=at,St.current=Er,We.current=wt,Pr.selectedNodes=nt(qr,wt,er)):dt&&H?(wt=Array.from(new Set([].concat((0,Xe.Z)(We.current||[]),(0,Xe.Z)(P({treeData:qr,expandedKeys:ge,startKey:Er,endKey:St.current,fieldNames:er}))))),Pr.selectedNodes=nt(qr,wt,er)):(wt=[Er],St.current=Er,We.current=wt,Pr.selectedNodes=nt(qr,wt,er)),(pt=Le.onSelect)===null||pt===void 0||pt.call(Le,wt,Pr),"selectedKeys"in Le||_e(wt)},{getPrefixCls:Ie,direction:ye}=B.useContext(z.E_),{prefixCls:Be,className:Ye,showIcon:xt=!0,expandAction:$t="click"}=Le,Xt=de(Le,["prefixCls","className","showIcon","expandAction"]),Ut=Ie("tree",Be),jt=F()(`${Ut}-directory`,{[`${Ut}-directory-rtl`]:ye==="rtl"},Ye);return B.createElement(xe,Object.assign({icon:ce,ref:Ze,blockNode:!0},Xt,{showIcon:xt,expandAction:$t,prefixCls:Ut,className:jt,expandedKeys:ge,selectedKeys:M,onSelect:me,onExpand:fe}))};var S=B.forwardRef(K);const X=xe;X.DirectoryTree=S,X.TreeNode=o.OF;var He=X},12425:function(Qr,_t,n){"use strict";n.d(_t,{ZP:function(){return _},Yk:function(){return D},TM:function(){return U}});var o=n(36237),Xe=n(36170),B=n(63356),De=n(34961),q=n(51636),ee=n(16931);const Y=I=>{let{treeCls:z,treeNodeCls:O,directoryNodeSelectedBg:A,directoryNodeSelectedColor:oe,motionDurationMid:J,borderRadius:te,controlItemBgHover:Ee}=I;return{[`${z}${z}-directory ${O}`]:{[`${z}-node-content-wrapper`]:{position:"static",[`> *:not(${z}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${J}`,content:'""',borderRadius:te},"&:hover:before":{background:Ee}},[`${z}-switcher, ${z}-checkbox, ${z}-draggable-icon`]:{zIndex:1},"&-selected":{[`${z}-switcher, ${z}-draggable-icon`]:{color:oe},[`${z}-node-content-wrapper`]:{color:oe,background:"transparent","&:before, &:hover:before":{background:A}}}}}},x=new o.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Z=(I,z)=>({[`.${I}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${z.motionDurationSlow}`}}}),c=(I,z)=>({[`.${I}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:z.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.unit)(z.lineWidthBold)} solid ${z.colorPrimary}`,borderRadius:"50%",content:'""'}}}),L=(I,z)=>{const{treeCls:O,treeNodeCls:A,treeNodePadding:oe,titleHeight:J,indentSize:te,nodeSelectedBg:Ee,nodeHoverBg:Pe,colorTextQuaternary:et,controlItemBgActiveDisabled:ke}=z;return{[O]:Object.assign(Object.assign({},(0,B.Wf)(z)),{background:z.colorBgContainer,borderRadius:z.borderRadius,transition:`background-color ${z.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${O}-rtl ${O}-switcher_close ${O}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${O}-active-focused)`]:Object.assign({},(0,B.oN)(z)),[`${O}-list-holder-inner`]:{alignItems:"flex-start"},[`&${O}-block-node`]:{[`${O}-list-holder-inner`]:{alignItems:"stretch",[`${O}-node-content-wrapper`]:{flex:"auto"},[`${A}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${z.colorPrimary}`,opacity:0,animationName:x,animationDuration:z.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:z.borderRadius}}},[A]:{display:"flex",alignItems:"flex-start",marginBottom:oe,lineHeight:(0,o.unit)(J),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:oe},[`&-disabled ${O}-node-content-wrapper`]:{color:z.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${O}-checkbox-disabled + ${O}-node-selected,&${A}-disabled${A}-selected ${O}-node-content-wrapper`]:{backgroundColor:ke},[`${O}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${A}-disabled)`]:{[`${O}-node-content-wrapper`]:{"&:hover":{color:z.nodeHoverColor}}},[`&-active ${O}-node-content-wrapper`]:{background:z.controlItemBgHover},[`&:not(${A}-disabled).filter-node ${O}-title`]:{color:z.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${O}-draggable-icon`]:{flexShrink:0,width:J,textAlign:"center",visibility:"visible",color:et},[`&${A}-disabled ${O}-draggable-icon`]:{visibility:"hidden"}}},[`${O}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${O}-draggable-icon`]:{visibility:"hidden"},[`${O}-switcher, ${O}-checkbox`]:{marginInlineEnd:z.calc(z.calc(J).sub(z.controlInteractiveSize)).div(2).equal()},[`${O}-switcher`]:Object.assign(Object.assign({},Z(I,z)),{position:"relative",flex:"none",alignSelf:"stretch",width:J,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${z.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:J,height:J,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:z.borderRadius,transition:`all ${z.motionDurationSlow}`},[`&:not(${O}-switcher-noop):hover:before`]:{backgroundColor:z.colorBgTextHover},[`&_close ${O}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:z.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z.calc(J).div(2).equal(),bottom:z.calc(oe).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${z.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:z.calc(z.calc(J).div(2).equal()).mul(.8).equal(),height:z.calc(J).div(2).equal(),borderBottom:`1px solid ${z.colorBorder}`,content:'""'}}}),[`${O}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:J,paddingBlock:0,paddingInline:z.paddingXS,background:"transparent",borderRadius:z.borderRadius,cursor:"pointer",transition:`all ${z.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},c(I,z)),{"&:hover":{backgroundColor:Pe},[`&${O}-node-selected`]:{color:z.nodeSelectedColor,backgroundColor:Ee},[`${O}-iconEle`]:{display:"inline-block",width:J,height:J,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${O}-unselectable ${O}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${A}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${z.colorPrimary}`},"&-show-line":{[`${O}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:z.calc(J).div(2).equal(),bottom:z.calc(oe).mul(-1).equal(),borderInlineEnd:`1px solid ${z.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${O}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${A}-leaf-last ${O}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,o.unit)(z.calc(J).div(2).equal())} !important`}})}},D=function(I,z){let O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const A=`.${I}`,oe=`${A}-treenode`,J=z.calc(z.paddingXS).div(2).equal(),te=(0,q.mergeToken)(z,{treeCls:A,treeNodeCls:oe,treeNodePadding:J});return[L(I,te),O&&Y(te)].filter(Boolean)},U=I=>{const{controlHeightSM:z,controlItemBgHover:O,controlItemBgActive:A}=I,oe=z;return{titleHeight:oe,indentSize:oe,nodeHoverBg:O,nodeHoverColor:I.colorText,nodeSelectedBg:A,nodeSelectedColor:I.colorText}},F=I=>{const{colorTextLightSolid:z,colorPrimary:O}=I;return Object.assign(Object.assign({},U(I)),{directoryNodeSelectedColor:z,directoryNodeSelectedBg:O})};var _=(0,ee.I$)("Tree",(I,z)=>{let{prefixCls:O}=z;return[{[I.componentCls]:(0,Xe.C2)(`${O}-checkbox`,I)},D(O,I),(0,De.Z)(I)]},F)},85278:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return z}});var o=n(59301),Xe=n(54476),B={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"},De=B,q=n(7657),ee=function(A,oe){return o.createElement(q.Z,(0,Xe.Z)({},A,{ref:oe,icon:De}))},Y=o.forwardRef(ee),x=Y,Z=n(52671),c=n(58617),L=n(15075),D=n(43531),U=n(92310),F=n.n(U),_=n(22703),z=O=>{const{prefixCls:A,switcherIcon:oe,treeNodeProps:J,showLine:te,switcherLoadingIcon:Ee}=O,{isLeaf:Pe,expanded:et,loading:ke}=J;if(ke)return o.isValidElement(Ee)?Ee:o.createElement(c.Z,{className:`${A}-switcher-loading-icon`});let xe;if(te&&typeof te=="object"&&(xe=te.showLeafIcon),Pe){if(!te)return null;if(typeof xe!="boolean"&&xe){const Se=typeof xe=="function"?xe(J):xe,T=`${A}-switcher-line-custom-icon`;return o.isValidElement(Se)?(0,_.Tm)(Se,{className:F()(Se.props.className||"",T)}):Se}return xe?o.createElement(Z.Z,{className:`${A}-switcher-line-icon`}):o.createElement("span",{className:`${A}-switcher-leaf-line`})}const Ce=`${A}-switcher-icon`,se=typeof oe=="function"?oe(J):oe;return o.isValidElement(se)?(0,_.Tm)(se,{className:F()(se.props.className||"",Ce)}):se!==void 0?se:te?et?o.createElement(L.Z,{className:`${A}-switcher-line-icon`}):o.createElement(D.Z,{className:`${A}-switcher-line-icon`}):o.createElement(x,{className:Ce})}},530:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return Ct}});var o=n(59301),Xe=n(54476),B={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"},De=B,q=n(7657),ee=function(Ue,jr){return o.createElement(q.Z,(0,Xe.Z)({},Ue,{ref:jr,icon:De}))},Y=o.forwardRef(ee),x=Y,Z=n(92310),c=n.n(Z),L=n(29301),D=n(11592),U=n(34280),F=n(18929),_=n(2738),I=n(8654),z=n(3465),O=n(48755),A=n(9017),oe=n(25399),J={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"},te=J,Ee=function(Ue,jr){return o.createElement(q.Z,(0,Xe.Z)({},Ue,{ref:jr,icon:te}))},Pe=o.forwardRef(Ee),et=Pe,ke=n(10228),xe=n(22703),Ce=n(79809),se=n(63356),Se=n(16931),T=n(68361),P=n(36237);const nt=(Lt,Ue,jr,$r)=>{const{titleMarginBottom:Gr,fontWeightStrong:Cn}=$r;return{marginBottom:Gr,color:jr,fontWeight:Cn,fontSize:Lt,lineHeight:Ue}},de=Lt=>{const Ue=[1,2,3,4,5],jr={};return Ue.forEach($r=>{jr[`
h${$r}&,
div&-h${$r},
div&-h${$r} > textarea,
h${$r}
`]=nt(Lt[`fontSizeHeading${$r}`],Lt[`lineHeightHeading${$r}`],Lt.colorTextHeading,Lt)}),jr},ce=Lt=>{const{componentCls:Ue}=Lt;return{"a&, a":Object.assign(Object.assign({},(0,se.Nd)(Lt)),{userSelect:"text",[`&[disabled], &${Ue}-disabled`]:{color:Lt.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:Lt.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},y=Lt=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:Lt.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:Lt.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:T.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:Lt.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}}),K=Lt=>{const{componentCls:Ue,paddingSM:jr}=Lt,$r=jr;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:Lt.calc(Lt.paddingSM).mul(-1).equal(),marginTop:Lt.calc($r).mul(-1).equal(),marginBottom:`calc(1em - ${(0,P.unit)($r)})`},[`${Ue}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:Lt.calc(Lt.marginXS).add(2).equal(),insetBlockEnd:Lt.marginXS,color:Lt.colorTextDescription,fontWeight:"normal",fontSize:Lt.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},R=Lt=>({[`${Lt.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:Lt.colorSuccess}},[`${Lt.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),S=()=>({"\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"}}),X=Lt=>{const{componentCls:Ue,titleMarginTop:jr}=Lt;return{[Ue]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:Lt.colorText,wordBreak:"break-word",lineHeight:Lt.lineHeight,[`&${Ue}-secondary`]:{color:Lt.colorTextDescription},[`&${Ue}-success`]:{color:Lt.colorSuccessText},[`&${Ue}-warning`]:{color:Lt.colorWarningText},[`&${Ue}-danger`]:{color:Lt.colorErrorText,"a&:active, a&:focus":{color:Lt.colorErrorTextActive},"a&:hover":{color:Lt.colorErrorTextHover}},[`&${Ue}-disabled`]:{color:Lt.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},de(Lt)),{[`
& + h1${Ue},
& + h2${Ue},
& + h3${Ue},
& + h4${Ue},
& + h5${Ue}
`]:{marginTop:jr},"\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:jr}}}),y(Lt)),ce(Lt)),{[`
${Ue}-expand,
${Ue}-collapse,
${Ue}-edit,
${Ue}-copy
`]:Object.assign(Object.assign({},(0,se.Nd)(Lt)),{marginInlineStart:Lt.marginXXS})}),K(Lt)),R(Lt)),S()),{"&-rtl":{direction:"rtl"}})}},He=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var pe=(0,Se.I$)("Typography",Lt=>[X(Lt)],He),ot=Lt=>{const{prefixCls:Ue,"aria-label":jr,className:$r,style:Gr,direction:Cn,maxLength:na,autoSize:mt=!0,value:rr,onSave:cr,onCancel:ir,onEnd:Nr,component:Dr,enterIcon:sn=o.createElement(et,null)}=Lt,Br=o.useRef(null),pn=o.useRef(!1),on=o.useRef(null),[Mn,jn]=o.useState(rr);o.useEffect(()=>{jn(rr)},[rr]),o.useEffect(()=>{var Jn;if(!((Jn=Br.current)===null||Jn===void 0)&&Jn.resizableTextArea){const{textArea:On}=Br.current.resizableTextArea;On.focus();const{length:Bn}=On.value;On.setSelectionRange(Bn,Bn)}},[]);const xn=Jn=>{let{target:On}=Jn;jn(On.value.replace(/[\n\r]/g,""))},zn=()=>{pn.current=!0},ua=()=>{pn.current=!1},nn=Jn=>{let{keyCode:On}=Jn;pn.current||(on.current=On)},$n=()=>{cr(Mn.trim())},kn=Jn=>{let{keyCode:On,ctrlKey:Bn,altKey:Yn,metaKey:Ca,shiftKey:Ma}=Jn;on.current!==On||pn.current||Bn||Yn||Ca||Ma||(On===ke.Z.ENTER?($n(),Nr==null||Nr()):On===ke.Z.ESC&&ir())},Ea=()=>{$n()},[Rn,aa,Kn]=pe(Ue),Zn=c()(Ue,`${Ue}-edit-content`,{[`${Ue}-rtl`]:Cn==="rtl",[`${Ue}-${Dr}`]:!!Dr},$r,aa,Kn);return Rn(o.createElement("div",{className:Zn,style:Gr},o.createElement(Ce.Z,{ref:Br,maxLength:na,value:Mn,onChange:xn,onKeyDown:nn,onKeyUp:kn,onCompositionStart:zn,onCompositionEnd:ua,onBlur:Ea,"aria-label":jr,rows:1,autoSize:mt}),sn!==null?(0,xe.Tm)(sn,{className:`${Ue}-edit-content-confirm`}):null))},ht=n(25769),he=n.n(ht),Le=n(6089),We=function(Lt){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&Lt==null?[]:Array.isArray(Lt)?Lt:[Lt]},Re=function(Lt,Ue,jr,$r){function Gr(Cn){return Cn instanceof jr?Cn:new jr(function(na){na(Cn)})}return new(jr||(jr=Promise))(function(Cn,na){function mt(ir){try{cr($r.next(ir))}catch(Nr){na(Nr)}}function rr(ir){try{cr($r.throw(ir))}catch(Nr){na(Nr)}}function cr(ir){ir.done?Cn(ir.value):Gr(ir.value).then(mt,rr)}cr(($r=$r.apply(Lt,Ue||[])).next())})},_e=Lt=>{let{copyConfig:Ue,children:jr}=Lt;const[$r,Gr]=o.useState(!1),[Cn,na]=o.useState(!1),mt=o.useRef(null),rr=()=>{mt.current&&clearTimeout(mt.current)},cr={};Ue.format&&(cr.format=Ue.format),o.useEffect(()=>rr,[]);const ir=(0,Le.Z)(Nr=>Re(void 0,void 0,void 0,function*(){var Dr;Nr==null||Nr.preventDefault(),Nr==null||Nr.stopPropagation(),na(!0);try{const sn=typeof Ue.text=="function"?yield Ue.text():Ue.text;he()(sn||We(jr,!0).join("")||"",cr),na(!1),Gr(!0),rr(),mt.current=setTimeout(()=>{Gr(!1)},3e3),(Dr=Ue.onCopy)===null||Dr===void 0||Dr.call(Ue,Nr)}catch(sn){throw na(!1),sn}}));return{copied:$r,copyLoading:Cn,onClick:ir}};function ge(Lt,Ue){return o.useMemo(()=>{const jr=!!Lt;return[jr,Object.assign(Object.assign({},Ue),jr&&typeof Lt=="object"?Lt:null)]},[Lt])}var fe=Lt=>{const Ue=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{Ue.current=Lt}),Ue.current},Ie=(Lt,Ue,jr)=>(0,o.useMemo)(()=>Lt===!0?{title:Ue!=null?Ue:jr}:(0,o.isValidElement)(Lt)?{title:Lt}:typeof Lt=="object"?Object.assign({title:Ue!=null?Ue:jr},Lt):{title:Lt},[Lt,Ue,jr]),ye=function(Lt,Ue){var jr={};for(var $r in Lt)Object.prototype.hasOwnProperty.call(Lt,$r)&&Ue.indexOf($r)<0&&(jr[$r]=Lt[$r]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Lt);Gr<$r.length;Gr++)Ue.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,$r[Gr])&&(jr[$r[Gr]]=Lt[$r[Gr]]);return jr},Ye=o.forwardRef((Lt,Ue)=>{const{prefixCls:jr,component:$r="article",className:Gr,rootClassName:Cn,setContentRef:na,children:mt,direction:rr,style:cr}=Lt,ir=ye(Lt,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:Nr,direction:Dr,className:sn,style:Br}=(0,O.dj)("typography"),pn=rr!=null?rr:Dr,on=na?(0,I.sQ)(Ue,na):Ue,Mn=Nr("typography",jr),[jn,xn,zn]=pe(Mn),ua=c()(Mn,sn,{[`${Mn}-rtl`]:pn==="rtl"},Gr,Cn,xn,zn),nn=Object.assign(Object.assign({},Br),cr);return jn(o.createElement($r,Object.assign({className:ua,style:nn,ref:on},ir),mt))}),xt=n(40001),$t=n(81953),Xt=n(58617);function Ut(Lt){return Lt===!1?[!1,!1]:Array.isArray(Lt)?Lt:[Lt]}function jt(Lt,Ue,jr){return Lt===!0||Lt===void 0?Ue:Lt||jr&&Ue}function at(Lt){const Ue=document.createElement("em");Lt.appendChild(Ue);const jr=Lt.getBoundingClientRect(),$r=Ue.getBoundingClientRect();return Lt.removeChild(Ue),jr.left>$r.left||$r.right>jr.right||jr.top>$r.top||$r.bottom>jr.bottom}const yt=Lt=>["string","number"].includes(typeof Lt);var dt=Lt=>{let{prefixCls:Ue,copied:jr,locale:$r,iconOnly:Gr,tooltips:Cn,icon:na,tabIndex:mt,onCopy:rr,loading:cr}=Lt;const ir=Ut(Cn),Nr=Ut(na),{copied:Dr,copy:sn}=$r!=null?$r:{},Br=jr?Dr:sn,pn=jt(ir[jr?1:0],Br),on=typeof pn=="string"?pn:Br;return o.createElement(oe.Z,{title:pn},o.createElement("button",{type:"button",className:c()(`${Ue}-copy`,{[`${Ue}-copy-success`]:jr,[`${Ue}-copy-icon-only`]:Gr}),onClick:rr,"aria-label":on,tabIndex:mt},jr?jt(Nr[1],o.createElement(xt.Z,null),!0):jt(Nr[0],cr?o.createElement(Xt.Z,null):o.createElement($t.Z,null),!0)))},er=n(94480);const or=o.forwardRef((Lt,Ue)=>{let{style:jr,children:$r}=Lt;const Gr=o.useRef(null);return o.useImperativeHandle(Ue,()=>({isExceed:()=>{const Cn=Gr.current;return Cn.scrollHeight>Cn.clientHeight},getHeight:()=>Gr.current.clientHeight})),o.createElement("span",{"aria-hidden":!0,ref:Gr,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},jr)},$r)}),hr=Lt=>Lt.reduce((Ue,jr)=>Ue+(yt(jr)?String(jr).length:1),0);function Er(Lt,Ue){let jr=0;const $r=[];for(let Gr=0;Gr<Lt.length;Gr+=1){if(jr===Ue)return $r;const Cn=Lt[Gr],mt=yt(Cn)?String(Cn).length:1,rr=jr+mt;if(rr>Ue){const cr=Ue-jr;return $r.push(String(Cn).slice(0,cr)),$r}$r.push(Cn),jr=rr}return Lt}const qr=0,Pr=1,w=2,H=3,wt=4,ae={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Te(Lt){const{enableMeasure:Ue,width:jr,text:$r,children:Gr,rows:Cn,expanded:na,miscDeps:mt,onEllipsis:rr}=Lt,cr=o.useMemo(()=>(0,D.Z)($r),[$r]),ir=o.useMemo(()=>hr(cr),[$r]),Nr=o.useMemo(()=>Gr(cr,!1),[$r]),[Dr,sn]=o.useState(null),Br=o.useRef(null),pn=o.useRef(null),on=o.useRef(null),Mn=o.useRef(null),jn=o.useRef(null),[xn,zn]=o.useState(!1),[ua,nn]=o.useState(qr),[$n,kn]=o.useState(0),[Ea,Rn]=o.useState(null);(0,U.Z)(()=>{nn(Ue&&jr&&ir?Pr:qr)},[jr,$r,Cn,Ue,cr]),(0,U.Z)(()=>{var Jn,On,Bn,Yn;if(ua===Pr){nn(w);const Ca=pn.current&&getComputedStyle(pn.current).whiteSpace;Rn(Ca)}else if(ua===w){const Ca=!!(!((Jn=on.current)===null||Jn===void 0)&&Jn.isExceed());nn(Ca?H:wt),sn(Ca?[0,ir]:null),zn(Ca);const Ma=((On=on.current)===null||On===void 0?void 0:On.getHeight())||0,ao=Cn===1?0:((Bn=Mn.current)===null||Bn===void 0?void 0:Bn.getHeight())||0,ro=((Yn=jn.current)===null||Yn===void 0?void 0:Yn.getHeight())||0,oo=Math.max(Ma,ao+ro);kn(oo+1),rr(Ca)}},[ua]);const aa=Dr?Math.ceil((Dr[0]+Dr[1])/2):0;(0,U.Z)(()=>{var Jn;const[On,Bn]=Dr||[0,0];if(On!==Bn){const Ca=(((Jn=Br.current)===null||Jn===void 0?void 0:Jn.getHeight())||0)>$n;let Ma=aa;Bn-On===1&&(Ma=Ca?On:Bn),sn(Ca?[On,Ma]:[Ma,Bn])}},[Dr,aa]);const Kn=o.useMemo(()=>{if(!Ue)return Gr(cr,!1);if(ua!==H||!Dr||Dr[0]!==Dr[1]){const Jn=Gr(cr,!1);return[wt,qr].includes(ua)?Jn:o.createElement("span",{style:Object.assign(Object.assign({},ae),{WebkitLineClamp:Cn})},Jn)}return Gr(na?cr:Er(cr,Dr[0]),xn)},[na,ua,Dr,cr].concat((0,er.Z)(mt))),Zn={width:jr,margin:0,padding:0,whiteSpace:Ea==="nowrap"?"normal":"inherit"};return o.createElement(o.Fragment,null,Kn,ua===w&&o.createElement(o.Fragment,null,o.createElement(or,{style:Object.assign(Object.assign(Object.assign({},Zn),ae),{WebkitLineClamp:Cn}),ref:on},Nr),o.createElement(or,{style:Object.assign(Object.assign(Object.assign({},Zn),ae),{WebkitLineClamp:Cn-1}),ref:Mn},Nr),o.createElement(or,{style:Object.assign(Object.assign(Object.assign({},Zn),ae),{WebkitLineClamp:1}),ref:jn},Gr([],!0))),ua===H&&Dr&&Dr[0]!==Dr[1]&&o.createElement(or,{style:Object.assign(Object.assign({},Zn),{top:400}),ref:Br},Gr(Er(cr,aa),!0)),ua===Pr&&o.createElement("span",{style:{whiteSpace:"inherit"},ref:pn}))}var Mr=Lt=>{let{enableEllipsis:Ue,isEllipsis:jr,children:$r,tooltipProps:Gr}=Lt;return!(Gr!=null&&Gr.title)||!Ue?$r:o.createElement(oe.Z,Object.assign({open:jr?void 0:!1},Gr),$r)},bn=function(Lt,Ue){var jr={};for(var $r in Lt)Object.prototype.hasOwnProperty.call(Lt,$r)&&Ue.indexOf($r)<0&&(jr[$r]=Lt[$r]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Lt);Gr<$r.length;Gr++)Ue.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,$r[Gr])&&(jr[$r[Gr]]=Lt[$r[Gr]]);return jr};function Dn(Lt,Ue){let{mark:jr,code:$r,underline:Gr,delete:Cn,strong:na,keyboard:mt,italic:rr}=Lt,cr=Ue;function ir(Nr,Dr){Dr&&(cr=o.createElement(Nr,{},cr))}return ir("strong",na),ir("u",Gr),ir("del",Cn),ir("code",$r),ir("mark",jr),ir("kbd",mt),ir("i",rr),cr}const Rt="...";var sr=o.forwardRef((Lt,Ue)=>{var jr;const{prefixCls:$r,className:Gr,style:Cn,type:na,disabled:mt,children:rr,ellipsis:cr,editable:ir,copyable:Nr,component:Dr,title:sn}=Lt,Br=bn(Lt,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:pn,direction:on}=o.useContext(O.E_),[Mn]=(0,A.Z)("Text"),jn=o.useRef(null),xn=o.useRef(null),zn=pn("typography",$r),ua=(0,_.Z)(Br,["mark","code","delete","underline","strong","keyboard","italic"]),[nn,$n]=ge(ir),[kn,Ea]=(0,F.Z)(!1,{value:$n.editing}),{triggerType:Rn=["icon"]}=$n,aa=Zt=>{var Tt;Zt&&((Tt=$n.onStart)===null||Tt===void 0||Tt.call($n)),Ea(Zt)},Kn=fe(kn);(0,U.Z)(()=>{var Zt;!kn&&Kn&&((Zt=xn.current)===null||Zt===void 0||Zt.focus())},[kn]);const Zn=Zt=>{Zt==null||Zt.preventDefault(),aa(!0)},Jn=Zt=>{var Tt;(Tt=$n.onChange)===null||Tt===void 0||Tt.call($n,Zt),aa(!1)},On=()=>{var Zt;(Zt=$n.onCancel)===null||Zt===void 0||Zt.call($n),aa(!1)},[Bn,Yn]=ge(Nr),{copied:Ca,copyLoading:Ma,onClick:ao}=_e({copyConfig:Yn,children:rr}),[ro,oo]=o.useState(!1),[f,s]=o.useState(!1),[p,b]=o.useState(!1),[j,d]=o.useState(!1),[ne,V]=o.useState(!0),[Q,Ae]=ge(cr,{expandable:!1,symbol:Zt=>Zt?Mn==null?void 0:Mn.collapse:Mn==null?void 0:Mn.expand}),[it,Pt]=(0,F.Z)(Ae.defaultExpanded||!1,{value:Ae.expanded}),It=Q&&(!it||Ae.expandable==="collapsible"),{rows:ve=1}=Ae,rt=o.useMemo(()=>It&&(Ae.suffix!==void 0||Ae.onEllipsis||Ae.expandable||nn||Bn),[It,Ae,nn,Bn]);(0,U.Z)(()=>{Q&&!rt&&(oo((0,z.G)("webkitLineClamp")),s((0,z.G)("textOverflow")))},[rt,Q]);const[gt,Kt]=o.useState(It),ct=o.useMemo(()=>rt?!1:ve===1?f:ro,[rt,f,ro]);(0,U.Z)(()=>{Kt(ct&&It)},[ct,It]);const ur=It&&(gt?j:p),Cr=It&&ve===1&&gt,Qt=It&&ve>1&&gt,tt=(Zt,Tt)=>{var dr;Pt(Tt.expanded),(dr=Ae.onExpand)===null||dr===void 0||dr.call(Ae,Zt,Tt)},[we,kt]=o.useState(0),Ft=Zt=>{let{offsetWidth:Tt}=Zt;kt(Tt)},Ot=Zt=>{var Tt;b(Zt),p!==Zt&&((Tt=Ae.onEllipsis)===null||Tt===void 0||Tt.call(Ae,Zt))};o.useEffect(()=>{const Zt=jn.current;if(Q&&gt&&Zt){const Tt=at(Zt);j!==Tt&&d(Tt)}},[Q,gt,rr,Qt,ne,we]),o.useEffect(()=>{const Zt=jn.current;if(typeof IntersectionObserver=="undefined"||!Zt||!gt||!It)return;const Tt=new IntersectionObserver(()=>{V(!!Zt.offsetParent)});return Tt.observe(Zt),()=>{Tt.disconnect()}},[gt,It]);const Jt=Ie(Ae.tooltip,$n.text,rr),Fe=o.useMemo(()=>{if(!(!Q||gt))return[$n.text,rr,sn,Jt.title].find(yt)},[Q,gt,sn,Jt.title,ur]);if(kn)return o.createElement(ot,{value:(jr=$n.text)!==null&&jr!==void 0?jr:typeof rr=="string"?rr:"",onSave:Jn,onCancel:On,onEnd:$n.onEnd,prefixCls:zn,className:Gr,style:Cn,direction:on,component:Dr,maxLength:$n.maxLength,autoSize:$n.autoSize,enterIcon:$n.enterIcon});const Me=()=>{const{expandable:Zt,symbol:Tt}=Ae;return Zt?o.createElement("button",{type:"button",key:"expand",className:`${zn}-${it?"collapse":"expand"}`,onClick:dr=>tt(dr,{expanded:!it}),"aria-label":it?Mn.collapse:Mn==null?void 0:Mn.expand},typeof Tt=="function"?Tt(it):Tt):null},lt=()=>{if(!nn)return;const{icon:Zt,tooltip:Tt,tabIndex:dr}=$n,Yt=(0,D.Z)(Tt)[0]||(Mn==null?void 0:Mn.edit),wr=typeof Yt=="string"?Yt:"";return Rn.includes("icon")?o.createElement(oe.Z,{key:"edit",title:Tt===!1?"":Yt},o.createElement("button",{type:"button",ref:xn,className:`${zn}-edit`,onClick:Zn,"aria-label":wr,tabIndex:dr},Zt||o.createElement(x,{role:"button"}))):null},Et=()=>Bn?o.createElement(dt,Object.assign({key:"copy"},Yn,{prefixCls:zn,copied:Ca,locale:Mn,onCopy:ao,loading:Ma,iconOnly:rr==null})):null,fr=Zt=>[Zt&&Me(),lt(),Et()],vr=Zt=>[Zt&&!it&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Rt),Ae.suffix,fr(Zt)];return o.createElement(L.Z,{onResize:Ft,disabled:!It},Zt=>o.createElement(Mr,{tooltipProps:Jt,enableEllipsis:It,isEllipsis:ur},o.createElement(Ye,Object.assign({className:c()({[`${zn}-${na}`]:na,[`${zn}-disabled`]:mt,[`${zn}-ellipsis`]:Q,[`${zn}-ellipsis-single-line`]:Cr,[`${zn}-ellipsis-multiple-line`]:Qt},Gr),prefixCls:$r,style:Object.assign(Object.assign({},Cn),{WebkitLineClamp:Qt?ve:void 0}),component:Dr,ref:(0,I.sQ)(Zt,jn,Ue),direction:on,onClick:Rn.includes("text")?Zn:void 0,"aria-label":Fe==null?void 0:Fe.toString(),title:sn},ua),o.createElement(Te,{enableMeasure:It&&!gt,text:rr,rows:ve,width:we,onEllipsis:Ot,expanded:it,miscDeps:[Ca,it,Ma,nn,Bn,Mn]},(Tt,dr)=>Dn(Lt,o.createElement(o.Fragment,null,Tt.length>0&&dr&&!it&&Fe?o.createElement("span",{key:"show-content","aria-hidden":!0},Tt):Tt,vr(dr)))))))}),C=function(Lt,Ue){var jr={};for(var $r in Lt)Object.prototype.hasOwnProperty.call(Lt,$r)&&Ue.indexOf($r)<0&&(jr[$r]=Lt[$r]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Lt);Gr<$r.length;Gr++)Ue.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,$r[Gr])&&(jr[$r[Gr]]=Lt[$r[Gr]]);return jr},Vt=o.forwardRef((Lt,Ue)=>{var{ellipsis:jr,rel:$r}=Lt,Gr=C(Lt,["ellipsis","rel"]);const Cn=Object.assign(Object.assign({},Gr),{rel:$r===void 0&&Gr.target==="_blank"?"noopener noreferrer":$r});return delete Cn.navigate,o.createElement(sr,Object.assign({},Cn,{ref:Ue,ellipsis:!!jr,component:"a"}))}),Oe=o.forwardRef((Lt,Ue)=>o.createElement(sr,Object.assign({ref:Ue},Lt,{component:"div"}))),ln=function(Lt,Ue){var jr={};for(var $r in Lt)Object.prototype.hasOwnProperty.call(Lt,$r)&&Ue.indexOf($r)<0&&(jr[$r]=Lt[$r]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Lt);Gr<$r.length;Gr++)Ue.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,$r[Gr])&&(jr[$r[Gr]]=Lt[$r[Gr]]);return jr};const Wr=(Lt,Ue)=>{var{ellipsis:jr}=Lt,$r=ln(Lt,["ellipsis"]);const Gr=o.useMemo(()=>jr&&typeof jr=="object"?(0,_.Z)(jr,["expandable","rows"]):jr,[jr]);return o.createElement(sr,Object.assign({ref:Ue},$r,{ellipsis:Gr,component:"span"}))};var Ht=o.forwardRef(Wr),Gt=function(Lt,Ue){var jr={};for(var $r in Lt)Object.prototype.hasOwnProperty.call(Lt,$r)&&Ue.indexOf($r)<0&&(jr[$r]=Lt[$r]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Lt);Gr<$r.length;Gr++)Ue.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Lt,$r[Gr])&&(jr[$r[Gr]]=Lt[$r[Gr]]);return jr};const br=[1,2,3,4,5];var an=o.forwardRef((Lt,Ue)=>{const{level:jr=1}=Lt,$r=Gt(Lt,["level"]),Gr=br.includes(jr)?`h${jr}`:"h1";return o.createElement(sr,Object.assign({ref:Ue},$r,{component:Gr}))});const An=Ye;An.Text=Ht,An.Link=Vt,An.Title=an,An.Paragraph=Oe;var Ct=An},14566:function(Qr,_t,n){"use strict";n.d(_t,{default:function(){return Dn}});var o=n(59301),Xe=n(94480),B=n(4676),De=n(92310),q=n.n(De),ee=n(90472),Y=n(18929),x=n(48755),Z=n(2171),c=n(9017),L=n(85981),D=n(63356),U=n(34961),F=n(16931),_=n(51636),I=n(36237),O=Rt=>{const{componentCls:xr,iconCls:sr}=Rt;return{[`${xr}-wrapper`]:{[`${xr}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Rt.colorFillAlter,border:`${(0,I.unit)(Rt.lineWidth)} dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[xr]:{padding:Rt.padding},[`${xr}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Rt.borderRadiusLG,"&:focus-visible":{outline:`${(0,I.unit)(Rt.lineWidthFocus)} solid ${Rt.colorPrimaryBorder}`}},[`${xr}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
&:not(${xr}-disabled):hover,
&-hover:not(${xr}-disabled)
`]:{borderColor:Rt.colorPrimaryHover},[`p${xr}-drag-icon`]:{marginBottom:Rt.margin,[sr]:{color:Rt.colorPrimary,fontSize:Rt.uploadThumbnailSize}},[`p${xr}-text`]:{margin:`0 0 ${(0,I.unit)(Rt.marginXXS)}`,color:Rt.colorTextHeading,fontSize:Rt.fontSizeLG},[`p${xr}-hint`]:{color:Rt.colorTextDescription,fontSize:Rt.fontSize},[`&${xr}-disabled`]:{[`p${xr}-drag-icon ${sr},
p${xr}-text,
p${xr}-hint
`]:{color:Rt.colorTextDisabled}}}}}},oe=Rt=>{const{componentCls:xr,iconCls:sr,fontSize:C,lineHeight:v,calc:Vt}=Rt,$=`${xr}-list-item`,Oe=`${$}-actions`,ln=`${$}-action`;return{[`${xr}-wrapper`]:{[`${xr}-list`]:Object.assign(Object.assign({},(0,D.dF)()),{lineHeight:Rt.lineHeight,[$]:{position:"relative",height:Vt(Rt.lineHeight).mul(C).equal(),marginTop:Rt.marginXS,fontSize:C,display:"flex",alignItems:"center",transition:`background-color ${Rt.motionDurationSlow}`,borderRadius:Rt.borderRadiusSM,"&:hover":{backgroundColor:Rt.controlItemBgHover},[`${$}-name`]:Object.assign(Object.assign({},D.vS),{padding:`0 ${(0,I.unit)(Rt.paddingXS)}`,lineHeight:v,flex:"auto",transition:`all ${Rt.motionDurationSlow}`}),[Oe]:{whiteSpace:"nowrap",[ln]:{opacity:0},[sr]:{color:Rt.actionsColor,transition:`all ${Rt.motionDurationSlow}`},[`
${ln}:focus-visible,
&.picture ${ln}
`]:{opacity:1}},[`${xr}-icon ${sr}`]:{color:Rt.colorTextDescription,fontSize:C},[`${$}-progress`]:{position:"absolute",bottom:Rt.calc(Rt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Vt(C).add(Rt.paddingXS).equal(),fontSize:C,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${$}:hover ${ln}`]:{opacity:1},[`${$}-error`]:{color:Rt.colorError,[`${$}-name, ${xr}-icon ${sr}`]:{color:Rt.colorError},[Oe]:{[`${sr}, ${sr}:hover`]:{color:Rt.colorError},[ln]:{opacity:1}}},[`${xr}-list-item-container`]:{transition:`opacity ${Rt.motionDurationSlow}, height ${Rt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},J=n(99495),Ee=Rt=>{const{componentCls:xr}=Rt,sr=new I.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Rt.calc(Rt.marginXS).div(-2).equal()}}),C=new I.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Rt.calc(Rt.marginXS).div(-2).equal()}}),v=`${xr}-animate-inline`;return[{[`${xr}-wrapper`]:{[`${v}-appear, ${v}-enter, ${v}-leave`]:{animationDuration:Rt.motionDurationSlow,animationTimingFunction:Rt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${v}-appear, ${v}-enter`]:{animationName:sr},[`${v}-leave`]:{animationName:C}}},{[`${xr}-wrapper`]:(0,J.J$)(Rt)},sr,C]},Pe=n(68361);const et=Rt=>{const{componentCls:xr,iconCls:sr,uploadThumbnailSize:C,uploadProgressOffset:v,calc:Vt}=Rt,$=`${xr}-list`,Oe=`${$}-item`;return{[`${xr}-wrapper`]:{[`
${$}${$}-picture,
${$}${$}-picture-card,
${$}${$}-picture-circle
`]:{[Oe]:{position:"relative",height:Vt(C).add(Vt(Rt.lineWidth).mul(2)).add(Vt(Rt.paddingXS).mul(2)).equal(),padding:Rt.paddingXS,border:`${(0,I.unit)(Rt.lineWidth)} ${Rt.lineType} ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Oe}-thumbnail`]:Object.assign(Object.assign({},D.vS),{width:C,height:C,lineHeight:(0,I.unit)(Vt(C).add(Rt.paddingSM).equal()),textAlign:"center",flex:"none",[sr]:{fontSize:Rt.fontSizeHeading2,color:Rt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Oe}-progress`]:{bottom:v,width:`calc(100% - ${(0,I.unit)(Vt(Rt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Vt(C).add(Rt.paddingXS).equal()}},[`${Oe}-error`]:{borderColor:Rt.colorError,[`${Oe}-thumbnail ${sr}`]:{[`svg path[fill='${Pe.blue[0]}']`]:{fill:Rt.colorErrorBg},[`svg path[fill='${Pe.blue.primary}']`]:{fill:Rt.colorError}}},[`${Oe}-uploading`]:{borderStyle:"dashed",[`${Oe}-name`]:{marginBottom:v}}},[`${$}${$}-picture-circle ${Oe}`]:{[`&, &::before, ${Oe}-thumbnail`]:{borderRadius:"50%"}}}}},ke=Rt=>{const{componentCls:xr,iconCls:sr,fontSizeLG:C,colorTextLightSolid:v,calc:Vt}=Rt,$=`${xr}-list`,Oe=`${$}-item`,ln=Rt.uploadPicCardSize;return{[`
${xr}-wrapper${xr}-picture-card-wrapper,
${xr}-wrapper${xr}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,D.dF)()),{display:"block",[`${xr}${xr}-select`]:{width:ln,height:ln,textAlign:"center",verticalAlign:"top",backgroundColor:Rt.colorFillAlter,border:`${(0,I.unit)(Rt.lineWidth)} dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[`> ${xr}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${xr}-disabled):hover`]:{borderColor:Rt.colorPrimary}},[`${$}${$}-picture-card, ${$}${$}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Rt.marginXS,marginInlineEnd:Rt.marginXS}},"@supports (gap: 1px)":{gap:Rt.marginXS},[`${$}-item-container`]:{display:"inline-block",width:ln,height:ln,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[Oe]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,I.unit)(Vt(Rt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,I.unit)(Vt(Rt.paddingXS).mul(2).equal())})`,backgroundColor:Rt.colorBgMask,opacity:0,transition:`all ${Rt.motionDurationSlow}`,content:'" "'}},[`${Oe}:hover`]:{[`&::before, ${Oe}-actions`]:{opacity:1}},[`${Oe}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Rt.motionDurationSlow}`,[`
${sr}-eye,
${sr}-download,
${sr}-delete
`]:{zIndex:10,width:C,margin:`0 ${(0,I.unit)(Rt.marginXXS)}`,fontSize:C,cursor:"pointer",transition:`all ${Rt.motionDurationSlow}`,color:v,"&:hover":{color:v},svg:{verticalAlign:"baseline"}}},[`${Oe}-thumbnail, ${Oe}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Oe}-name`]:{display:"none",textAlign:"center"},[`${Oe}-file + ${Oe}-name`]:{position:"absolute",bottom:Rt.margin,display:"block",width:`calc(100% - ${(0,I.unit)(Vt(Rt.paddingXS).mul(2).equal())})`},[`${Oe}-uploading`]:{[`&${Oe}`]:{backgroundColor:Rt.colorFillAlter},[`&::before, ${sr}-eye, ${sr}-download, ${sr}-delete`]:{display:"none"}},[`${Oe}-progress`]:{bottom:Rt.marginXL,width:`calc(100% - ${(0,I.unit)(Vt(Rt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${xr}-wrapper${xr}-picture-circle-wrapper`]:{[`${xr}${xr}-select`]:{borderRadius:"50%"}}}};var Ce=Rt=>{const{componentCls:xr}=Rt;return{[`${xr}-rtl`]:{direction:"rtl"}}};const se=Rt=>{const{componentCls:xr,colorTextDisabled:sr}=Rt;return{[`${xr}-wrapper`]:Object.assign(Object.assign({},(0,D.Wf)(Rt)),{[xr]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${xr}-select`]:{display:"inline-block"},[`${xr}-hidden`]:{display:"none"},[`${xr}-disabled`]:{color:sr,cursor:"not-allowed"}})}},Se=Rt=>({actionsColor:Rt.colorTextDescription});var T=(0,F.I$)("Upload",Rt=>{const{fontSizeHeading3:xr,fontHeight:sr,lineWidth:C,controlHeightLG:v,calc:Vt}=Rt,$=(0,_.mergeToken)(Rt,{uploadThumbnailSize:Vt(xr).mul(2).equal(),uploadProgressOffset:Vt(Vt(sr).div(2)).add(C).equal(),uploadPicCardSize:Vt(v).mul(2.55).equal()});return[se($),O($),et($),ke($),oe($),Ee($),Ce($),(0,U.Z)($)]},Se),P=n(54476),nt={icon:function(xr,sr){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:sr}},{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:xr}}]}},name:"file",theme:"twotone"},de=nt,ce=n(7657),y=function(xr,sr){return o.createElement(ce.Z,(0,P.Z)({},xr,{ref:sr,icon:de}))},K=o.forwardRef(y),R=K,S=n(58617),X={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"},He=X,pe=function(xr,sr){return o.createElement(ce.Z,(0,P.Z)({},xr,{ref:sr,icon:He}))},Ze=o.forwardRef(pe),ot=Ze,ht={icon:function(xr,sr){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:xr}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:sr}},{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:sr}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:sr}},{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:xr}}]}},name:"picture",theme:"twotone"},he=ht,Le=function(xr,sr){return o.createElement(ce.Z,(0,P.Z)({},xr,{ref:sr,icon:he}))},St=o.forwardRef(Le),We=St,Re=n(77900),M=n(2738),_e=n(40192),ge=n(86641),ue=n(22703),fe=n(7939);function me(Rt){return Object.assign(Object.assign({},Rt),{lastModified:Rt.lastModified,lastModifiedDate:Rt.lastModifiedDate,name:Rt.name,size:Rt.size,type:Rt.type,uid:Rt.uid,percent:0,originFileObj:Rt})}function Ie(Rt,xr){const sr=(0,Xe.Z)(xr),C=sr.findIndex(v=>{let{uid:Vt}=v;return Vt===Rt.uid});return C===-1?sr.push(Rt):sr[C]=Rt,sr}function ye(Rt,xr){const sr=Rt.uid!==void 0?"uid":"name";return xr.filter(C=>C[sr]===Rt[sr])[0]}function Be(Rt,xr){const sr=Rt.uid!==void 0?"uid":"name",C=xr.filter(v=>v[sr]!==Rt[sr]);return C.length===xr.length?null:C}const Ye=function(){const xr=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),C=xr[xr.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(C)||[""])[0]},xt=Rt=>Rt.indexOf("image/")===0,$t=Rt=>{if(Rt.type&&!Rt.thumbUrl)return xt(Rt.type);const xr=Rt.thumbUrl||Rt.url||"",sr=Ye(xr);return/^data:image\//.test(xr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(sr)?!0:!(/^data:/.test(xr)||sr)},Xt=200;function Ut(Rt){return new Promise(xr=>{if(!Rt.type||!xt(Rt.type)){xr("");return}const sr=document.createElement("canvas");sr.width=Xt,sr.height=Xt,sr.style.cssText=`position: fixed; left: 0; top: 0; width: ${Xt}px; height: ${Xt}px; z-index: 9999; display: none;`,document.body.appendChild(sr);const C=sr.getContext("2d"),v=new Image;if(v.onload=()=>{const{width:Vt,height:$}=v;let Oe=Xt,ln=Xt,Wr=0,Ht=0;Vt>$?(ln=$*(Xt/Vt),Ht=-(ln-Oe)/2):(Oe=Vt*(Xt/$),Wr=-(Oe-ln)/2),C.drawImage(v,Wr,Ht,Oe,ln);const Gt=sr.toDataURL();document.body.removeChild(sr),window.URL.revokeObjectURL(v.src),xr(Gt)},v.crossOrigin="anonymous",Rt.type.startsWith("image/svg+xml")){const Vt=new FileReader;Vt.onload=()=>{Vt.result&&typeof Vt.result=="string"&&(v.src=Vt.result)},Vt.readAsDataURL(Rt)}else if(Rt.type.startsWith("image/gif")){const Vt=new FileReader;Vt.onload=()=>{Vt.result&&xr(Vt.result)},Vt.readAsDataURL(Rt)}else v.src=window.URL.createObjectURL(Rt)})}var jt=n(26227),at=n(41464),yt=n(15277),pt=n(60242),dt=n(25399),or=o.forwardRef((Rt,xr)=>{let{prefixCls:sr,className:C,style:v,locale:Vt,listType:$,file:Oe,items:ln,progress:Wr,iconRender:Ht,actionIconRender:Gt,itemRender:br,isImgUrl:Kr,showPreviewIcon:an,showRemoveIcon:An,showDownloadIcon:Ct,previewIcon:Lt,removeIcon:Ue,downloadIcon:jr,extra:$r,onPreview:Gr,onDownload:Cn,onClose:na}=Rt;var mt,rr;const{status:cr}=Oe,[ir,Nr]=o.useState(cr);o.useEffect(()=>{cr!=="removed"&&Nr(cr)},[cr]);const[Dr,sn]=o.useState(!1);o.useEffect(()=>{const Bn=setTimeout(()=>{sn(!0)},300);return()=>{clearTimeout(Bn)}},[]);const Br=Ht(Oe);let pn=o.createElement("div",{className:`${sr}-icon`},Br);if($==="picture"||$==="picture-card"||$==="picture-circle")if(ir==="uploading"||!Oe.thumbUrl&&!Oe.url){const Bn=q()(`${sr}-list-item-thumbnail`,{[`${sr}-list-item-file`]:ir!=="uploading"});pn=o.createElement("div",{className:Bn},Br)}else{const Bn=Kr!=null&&Kr(Oe)?o.createElement("img",{src:Oe.thumbUrl||Oe.url,alt:Oe.name,className:`${sr}-list-item-image`,crossOrigin:Oe.crossOrigin}):Br,Yn=q()(`${sr}-list-item-thumbnail`,{[`${sr}-list-item-file`]:Kr&&!Kr(Oe)});pn=o.createElement("a",{className:Yn,onClick:Ca=>Gr(Oe,Ca),href:Oe.url||Oe.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Bn)}const on=q()(`${sr}-list-item`,`${sr}-list-item-${ir}`),Mn=typeof Oe.linkProps=="string"?JSON.parse(Oe.linkProps):Oe.linkProps,jn=(typeof An=="function"?An(Oe):An)?Gt((typeof Ue=="function"?Ue(Oe):Ue)||o.createElement(jt.Z,null),()=>na(Oe),sr,Vt.removeFile,!0):null,xn=(typeof Ct=="function"?Ct(Oe):Ct)&&ir==="done"?Gt((typeof jr=="function"?jr(Oe):jr)||o.createElement(at.Z,null),()=>Cn(Oe),sr,Vt.downloadFile):null,zn=$!=="picture-card"&&$!=="picture-circle"&&o.createElement("span",{key:"download-delete",className:q()(`${sr}-list-item-actions`,{picture:$==="picture"})},xn,jn),ua=typeof $r=="function"?$r(Oe):$r,nn=ua&&o.createElement("span",{className:`${sr}-list-item-extra`},ua),$n=q()(`${sr}-list-item-name`),kn=Oe.url?o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:$n,title:Oe.name},Mn,{href:Oe.url,onClick:Bn=>Gr(Oe,Bn)}),Oe.name,nn):o.createElement("span",{key:"view",className:$n,onClick:Bn=>Gr(Oe,Bn),title:Oe.name},Oe.name,nn),Ea=(typeof an=="function"?an(Oe):an)&&(Oe.url||Oe.thumbUrl)?o.createElement("a",{href:Oe.url||Oe.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Bn=>Gr(Oe,Bn),title:Vt.previewFile},typeof Lt=="function"?Lt(Oe):Lt||o.createElement(yt.Z,null)):null,Rn=($==="picture-card"||$==="picture-circle")&&ir!=="uploading"&&o.createElement("span",{className:`${sr}-list-item-actions`},Ea,ir==="done"&&xn,jn),{getPrefixCls:aa}=o.useContext(x.E_),Kn=aa(),Zn=o.createElement("div",{className:on},pn,kn,zn,Rn,Dr&&o.createElement(Re.default,{motionName:`${Kn}-fade`,visible:ir==="uploading",motionDeadline:2e3},Bn=>{let{className:Yn}=Bn;const Ca="percent"in Oe?o.createElement(pt.Z,Object.assign({},Wr,{type:"line",percent:Oe.percent,"aria-label":Oe["aria-label"],"aria-labelledby":Oe["aria-labelledby"]})):null;return o.createElement("div",{className:q()(`${sr}-list-item-progress`,Yn)},Ca)})),Jn=Oe.response&&typeof Oe.response=="string"?Oe.response:((mt=Oe.error)===null||mt===void 0?void 0:mt.statusText)||((rr=Oe.error)===null||rr===void 0?void 0:rr.message)||Vt.uploadError,On=ir==="error"?o.createElement(dt.Z,{title:Jn,getPopupContainer:Bn=>Bn.parentNode},Zn):Zn;return o.createElement("div",{className:q()(`${sr}-list-item-container`,C),style:v,ref:xr},br?br(On,Oe,ln,{download:Cn.bind(null,Oe),preview:Gr.bind(null,Oe),remove:na.bind(null,Oe)}):On)});const hr=(Rt,xr)=>{const{listType:sr="text",previewFile:C=Ut,onPreview:v,onDownload:Vt,onRemove:$,locale:Oe,iconRender:ln,isImageUrl:Wr=$t,prefixCls:Ht,items:Gt=[],showPreviewIcon:br=!0,showRemoveIcon:Kr=!0,showDownloadIcon:an=!1,removeIcon:An,previewIcon:Ct,downloadIcon:Lt,extra:Ue,progress:jr={size:[-1,2],showInfo:!1},appendAction:$r,appendActionVisible:Gr=!0,itemRender:Cn,disabled:na}=Rt,mt=(0,_e.Z)(),[rr,cr]=o.useState(!1),ir=["picture-card","picture-circle"].includes(sr);o.useEffect(()=>{sr.startsWith("picture")&&(Gt||[]).forEach(nn=>{!(nn.originFileObj instanceof File||nn.originFileObj instanceof Blob)||nn.thumbUrl!==void 0||(nn.thumbUrl="",C==null||C(nn.originFileObj).then($n=>{nn.thumbUrl=$n||"",mt()}))})},[sr,Gt,C]),o.useEffect(()=>{cr(!0)},[]);const Nr=(nn,$n)=>{if(v)return $n==null||$n.preventDefault(),v(nn)},Dr=nn=>{typeof Vt=="function"?Vt(nn):nn.url&&window.open(nn.url)},sn=nn=>{$==null||$(nn)},Br=nn=>{if(ln)return ln(nn,sr);const $n=nn.status==="uploading";if(sr.startsWith("picture")){const kn=sr==="picture"?o.createElement(S.Z,null):Oe.uploading,Ea=Wr!=null&&Wr(nn)?o.createElement(We,null):o.createElement(R,null);return $n?kn:Ea}return $n?o.createElement(S.Z,null):o.createElement(ot,null)},pn=(nn,$n,kn,Ea,Rn)=>{const aa={type:"text",size:"small",title:Ea,onClick:Kn=>{var Zn,Jn;$n(),o.isValidElement(nn)&&((Jn=(Zn=nn.props).onClick)===null||Jn===void 0||Jn.call(Zn,Kn))},className:`${kn}-list-item-action`};return Rn&&(aa.disabled=na),o.isValidElement(nn)?o.createElement(fe.ZP,Object.assign({},aa,{icon:(0,ue.Tm)(nn,Object.assign(Object.assign({},nn.props),{onClick:()=>{}}))})):o.createElement(fe.ZP,Object.assign({},aa),o.createElement("span",null,nn))};o.useImperativeHandle(xr,()=>({handlePreview:Nr,handleDownload:Dr}));const{getPrefixCls:on}=o.useContext(x.E_),Mn=on("upload",Ht),jn=on(),xn=q()(`${Mn}-list`,`${Mn}-list-${sr}`),zn=o.useMemo(()=>(0,M.Z)((0,ge.Z)(jn),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[jn]),ua=Object.assign(Object.assign({},ir?{}:zn),{motionDeadline:2e3,motionName:`${Mn}-${ir?"animate-inline":"animate"}`,keys:(0,Xe.Z)(Gt.map(nn=>({key:nn.uid,file:nn}))),motionAppear:rr});return o.createElement("div",{className:xn},o.createElement(Re.CSSMotionList,Object.assign({},ua,{component:!1}),nn=>{let{key:$n,file:kn,className:Ea,style:Rn}=nn;return o.createElement(or,{key:$n,locale:Oe,prefixCls:Mn,className:Ea,style:Rn,file:kn,items:Gt,progress:jr,listType:sr,isImgUrl:Wr,showPreviewIcon:br,showRemoveIcon:Kr,showDownloadIcon:an,removeIcon:An,previewIcon:Ct,downloadIcon:Lt,extra:Ue,iconRender:Br,actionIconRender:pn,itemRender:Cn,onPreview:Nr,onDownload:Dr,onClose:sn})}),$r&&o.createElement(Re.default,Object.assign({},ua,{visible:Gr,forceRender:!0}),nn=>{let{className:$n,style:kn}=nn;return(0,ue.Tm)($r,Ea=>({className:q()(Ea.className,$n),style:Object.assign(Object.assign(Object.assign({},kn),{pointerEvents:$n?"none":void 0}),Ea.style)}))}))};var qr=o.forwardRef(hr),Pr=function(Rt,xr,sr,C){function v(Vt){return Vt instanceof sr?Vt:new sr(function($){$(Vt)})}return new(sr||(sr=Promise))(function(Vt,$){function Oe(Ht){try{Wr(C.next(Ht))}catch(Gt){$(Gt)}}function ln(Ht){try{Wr(C.throw(Ht))}catch(Gt){$(Gt)}}function Wr(Ht){Ht.done?Vt(Ht.value):v(Ht.value).then(Oe,ln)}Wr((C=C.apply(Rt,xr||[])).next())})};const w=`__LIST_IGNORE_${Date.now()}__`,H=(Rt,xr)=>{const{fileList:sr,defaultFileList:C,onRemove:v,showUploadList:Vt=!0,listType:$="text",onPreview:Oe,onDownload:ln,onChange:Wr,onDrop:Ht,previewFile:Gt,disabled:br,locale:Kr,iconRender:an,isImageUrl:An,progress:Ct,prefixCls:Lt,className:Ue,type:jr="select",children:$r,style:Gr,itemRender:Cn,maxCount:na,data:mt={},multiple:rr=!1,hasControlInside:cr=!0,action:ir="",accept:Nr="",supportServerRender:Dr=!0,rootClassName:sn}=Rt,Br=o.useContext(Z.Z),pn=br!=null?br:Br,[on,Mn]=(0,Y.Z)(C||[],{value:sr,postState:rt=>rt!=null?rt:[]}),[jn,xn]=o.useState("drop"),zn=o.useRef(null),ua=o.useRef(null);o.useMemo(()=>{const rt=Date.now();(sr||[]).forEach((gt,Kt)=>{!gt.uid&&!Object.isFrozen(gt)&&(gt.uid=`__AUTO__${rt}_${Kt}__`)})},[sr]);const nn=(rt,gt,Kt)=>{let ct=(0,Xe.Z)(gt),ur=!1;na===1?ct=ct.slice(-1):na&&(ur=ct.length>na,ct=ct.slice(0,na)),(0,B.flushSync)(()=>{Mn(ct)});const Cr={file:rt,fileList:ct};Kt&&(Cr.event=Kt),(!ur||rt.status==="removed"||ct.some(Qt=>Qt.uid===rt.uid))&&(0,B.flushSync)(()=>{Wr==null||Wr(Cr)})},$n=(rt,gt)=>Pr(void 0,void 0,void 0,function*(){const{beforeUpload:Kt,transformFile:ct}=Rt;let ur=rt;if(Kt){const Cr=yield Kt(rt,gt);if(Cr===!1)return!1;if(delete rt[w],Cr===w)return Object.defineProperty(rt,w,{value:!0,configurable:!0}),!1;typeof Cr=="object"&&Cr&&(ur=Cr)}return ct&&(ur=yield ct(ur)),ur}),kn=rt=>{const gt=rt.filter(ur=>!ur.file[w]);if(!gt.length)return;const Kt=gt.map(ur=>me(ur.file));let ct=(0,Xe.Z)(on);Kt.forEach(ur=>{ct=Ie(ur,ct)}),Kt.forEach((ur,Cr)=>{let Qt=ur;if(gt[Cr].parsedFile)ur.status="uploading";else{const{originFileObj:tt}=ur;let we;try{we=new File([tt],tt.name,{type:tt.type})}catch(kt){we=new Blob([tt],{type:tt.type}),we.name=tt.name,we.lastModifiedDate=new Date,we.lastModified=new Date().getTime()}we.uid=ur.uid,Qt=we}nn(Qt,ct)})},Ea=(rt,gt,Kt)=>{try{typeof rt=="string"&&(rt=JSON.parse(rt))}catch(Cr){}if(!ye(gt,on))return;const ct=me(gt);ct.status="done",ct.percent=100,ct.response=rt,ct.xhr=Kt;const ur=Ie(ct,on);nn(ct,ur)},Rn=(rt,gt)=>{if(!ye(gt,on))return;const Kt=me(gt);Kt.status="uploading",Kt.percent=rt.percent;const ct=Ie(Kt,on);nn(Kt,ct,rt)},aa=(rt,gt,Kt)=>{if(!ye(Kt,on))return;const ct=me(Kt);ct.error=rt,ct.response=gt,ct.status="error";const ur=Ie(ct,on);nn(ct,ur)},Kn=rt=>{let gt;Promise.resolve(typeof v=="function"?v(rt):v).then(Kt=>{var ct;if(Kt===!1)return;const ur=Be(rt,on);ur&&(gt=Object.assign(Object.assign({},rt),{status:"removed"}),on==null||on.forEach(Cr=>{const Qt=gt.uid!==void 0?"uid":"name";Cr[Qt]===gt[Qt]&&!Object.isFrozen(Cr)&&(Cr.status="removed")}),(ct=zn.current)===null||ct===void 0||ct.abort(gt),nn(gt,ur))})},Zn=rt=>{xn(rt.type),rt.type==="drop"&&(Ht==null||Ht(rt))};o.useImperativeHandle(xr,()=>({onBatchStart:kn,onSuccess:Ea,onProgress:Rn,onError:aa,fileList:on,upload:zn.current,nativeElement:ua.current}));const{getPrefixCls:Jn,direction:On,upload:Bn}=o.useContext(x.E_),Yn=Jn("upload",Lt),Ca=Object.assign(Object.assign({onBatchStart:kn,onError:aa,onProgress:Rn,onSuccess:Ea},Rt),{data:mt,multiple:rr,action:ir,accept:Nr,supportServerRender:Dr,prefixCls:Yn,disabled:pn,beforeUpload:$n,onChange:void 0,hasControlInside:cr});delete Ca.className,delete Ca.style,(!$r||pn)&&delete Ca.id;const Ma=`${Yn}-wrapper`,[ao,ro,oo]=T(Yn,Ma),[f]=(0,c.Z)("Upload",L.Z.Upload),{showRemoveIcon:s,showPreviewIcon:p,showDownloadIcon:b,removeIcon:j,previewIcon:d,downloadIcon:ne,extra:V}=typeof Vt=="boolean"?{}:Vt,Q=typeof s=="undefined"?!pn:s,Ae=(rt,gt)=>Vt?o.createElement(qr,{prefixCls:Yn,listType:$,items:on,previewFile:Gt,onPreview:Oe,onDownload:ln,onRemove:Kn,showRemoveIcon:Q,showPreviewIcon:p,showDownloadIcon:b,removeIcon:j,previewIcon:d,downloadIcon:ne,iconRender:an,extra:V,locale:Object.assign(Object.assign({},f),Kr),isImageUrl:An,progress:Ct,appendAction:rt,appendActionVisible:gt,itemRender:Cn,disabled:pn}):rt,it=q()(Ma,Ue,sn,ro,oo,Bn==null?void 0:Bn.className,{[`${Yn}-rtl`]:On==="rtl",[`${Yn}-picture-card-wrapper`]:$==="picture-card",[`${Yn}-picture-circle-wrapper`]:$==="picture-circle"}),Pt=Object.assign(Object.assign({},Bn==null?void 0:Bn.style),Gr);if(jr==="drag"){const rt=q()(ro,Yn,`${Yn}-drag`,{[`${Yn}-drag-uploading`]:on.some(gt=>gt.status==="uploading"),[`${Yn}-drag-hover`]:jn==="dragover",[`${Yn}-disabled`]:pn,[`${Yn}-rtl`]:On==="rtl"});return ao(o.createElement("span",{className:it,ref:ua},o.createElement("div",{className:rt,style:Pt,onDrop:Zn,onDragOver:Zn,onDragLeave:Zn},o.createElement(ee.Z,Object.assign({},Ca,{ref:zn,className:`${Yn}-btn`}),o.createElement("div",{className:`${Yn}-drag-container`},$r))),Ae()))}const It=q()(Yn,`${Yn}-select`,{[`${Yn}-disabled`]:pn,[`${Yn}-hidden`]:!$r}),ve=o.createElement("div",{className:It},o.createElement(ee.Z,Object.assign({},Ca,{ref:zn})));return ao($==="picture-card"||$==="picture-circle"?o.createElement("span",{className:it,ref:ua},Ae(ve,!!$r)):o.createElement("span",{className:it,ref:ua},ve,Ae()))};var ae=o.forwardRef(H),Te=function(Rt,xr){var sr={};for(var C in Rt)Object.prototype.hasOwnProperty.call(Rt,C)&&xr.indexOf(C)<0&&(sr[C]=Rt[C]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,C=Object.getOwnPropertySymbols(Rt);v<C.length;v++)xr.indexOf(C[v])<0&&Object.prototype.propertyIsEnumerable.call(Rt,C[v])&&(sr[C[v]]=Rt[C[v]]);return sr},Mr=o.forwardRef((Rt,xr)=>{var{style:sr,height:C,hasControlInside:v=!1}=Rt,Vt=Te(Rt,["style","height","hasControlInside"]);return o.createElement(ae,Object.assign({ref:xr,hasControlInside:v},Vt,{type:"drag",style:Object.assign(Object.assign({},sr),{height:C})}))});const bn=ae;bn.Dragger=Mr,bn.LIST_IGNORE=w;var Dn=bn},44164:function(Qr,_t,n){var o=n(97671);(function(B,De){Qr.exports=De(n(28685),n(64270))})(self,function(Xe,B){return function(){var De={"./src/plugin/hyperlinks.js":function(x,Z,c){"use strict";c.r(Z);var L=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),D=c.n(L),U=c("./node_modules/core-js/modules/es.string.link.js"),F=c.n(U),_=c("./src/worker.js"),I=c("./src/utils.js"),z=[],O={toContainer:_.default.prototype.toContainer,toPdf:_.default.prototype.toPdf};_.default.prototype.toContainer=function(){return O.toContainer.call(this).then(function(){if(this.opt.enableLinks){var J=this.prop.container,te=J.querySelectorAll("a"),Ee=(0,I.unitConvert)(J.getBoundingClientRect(),this.prop.pageSize.k);z=[],Array.prototype.forEach.call(te,function(Pe){for(var et=Pe.getClientRects(),ke=0;ke<et.length;ke++){var xe=(0,I.unitConvert)(et[ke],this.prop.pageSize.k);xe.left-=Ee.left,xe.top-=Ee.top;var Ce=Math.floor(xe.top/this.prop.pageSize.inner.height)+1,se=this.opt.margin[0]+xe.top%this.prop.pageSize.inner.height,Se=this.opt.margin[1]+xe.left;z.push({page:Ce,top:se,left:Se,clientRect:xe,link:Pe})}},this)}})},_.default.prototype.toPdf=function(){return O.toPdf.call(this).then(function(){if(this.opt.enableLinks){z.forEach(function(te){this.prop.pdf.setPage(te.page),this.prop.pdf.link(te.left,te.top,te.clientRect.width,te.clientRect.height,{url:te.link.href})},this);var J=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(J)}})}},"./src/plugin/jspdf-plugin.js":function(x,Z,c){"use strict";c.r(Z);var L=c("./node_modules/core-js/modules/es.symbol.js"),D=c.n(L),U=c("./node_modules/core-js/modules/es.symbol.description.js"),F=c.n(U),_=c("./node_modules/core-js/modules/es.object.to-string.js"),I=c.n(_),z=c("./node_modules/core-js/modules/es.symbol.iterator.js"),O=c.n(z),A=c("./node_modules/core-js/modules/es.array.iterator.js"),oe=c.n(A),J=c("./node_modules/core-js/modules/es.string.iterator.js"),te=c.n(J),Ee=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Pe=c.n(Ee),et=c("jspdf"),ke=c.n(et);function xe(Ce){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xe=function(Se){return typeof Se}:xe=function(Se){return Se&&typeof Symbol=="function"&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se},xe(Ce)}et.jsPDF.getPageSize=function(Ce,se,Se){if(xe(Ce)==="object"){var T=Ce;Ce=T.orientation,se=T.unit||se,Se=T.format||Se}se=se||"mm",Se=Se||"a4",Ce=(""+(Ce||"P")).toLowerCase();var P=(""+Se).toLowerCase(),nt={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(se){case"pt":var de=1;break;case"mm":var de=72/25.4;break;case"cm":var de=72/2.54;break;case"in":var de=72;break;case"px":var de=72/96;break;case"pc":var de=12;break;case"em":var de=12;break;case"ex":var de=6;break;default:throw"Invalid unit: "+se}if(nt.hasOwnProperty(P))var ce=nt[P][1]/de,y=nt[P][0]/de;else try{var ce=Se[1],y=Se[0]}catch(S){throw new Error("Invalid format: "+Se)}if(Ce==="p"||Ce==="portrait"){if(Ce="p",y>ce){var K=y;y=ce,ce=K}}else if(Ce==="l"||Ce==="landscape"){if(Ce="l",ce>y){var K=y;y=ce,ce=K}}else throw"Invalid orientation: "+Ce;var R={width:y,height:ce,unit:se,k:de};return R},Z.default=et.jsPDF},"./src/plugin/pagebreaks.js":function(x,Z,c){"use strict";c.r(Z);var L=c("./node_modules/core-js/modules/es.array.concat.js"),D=c.n(L),U=c("./node_modules/core-js/modules/es.array.slice.js"),F=c.n(U),_=c("./node_modules/core-js/modules/es.array.join.js"),I=c.n(_),z=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),O=c.n(z),A=c("./node_modules/core-js/modules/es.object.keys.js"),oe=c.n(A),J=c("./src/worker.js"),te=c("./src/utils.js"),Ee={toContainer:J.default.prototype.toContainer};J.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},J.default.prototype.toContainer=function(){return Ee.toContainer.call(this).then(function(){var ke=this.prop.container,xe=this.prop.pageSize.inner.px.height,Ce=[].concat(this.opt.pagebreak.mode),se={avoidAll:Ce.indexOf("avoid-all")!==-1,css:Ce.indexOf("css")!==-1,legacy:Ce.indexOf("legacy")!==-1},Se={},T=this;["before","after","avoid"].forEach(function(de){var ce=se.avoidAll&&de==="avoid";Se[de]=ce?[]:[].concat(T.opt.pagebreak[de]||[]),Se[de].length>0&&(Se[de]=Array.prototype.slice.call(ke.querySelectorAll(Se[de].join(", "))))});var P=ke.querySelectorAll(".html2pdf__page-break");P=Array.prototype.slice.call(P);var nt=ke.querySelectorAll("*");Array.prototype.forEach.call(nt,function(ce){var y={before:!1,after:se.legacy&&P.indexOf(ce)!==-1,avoid:se.avoidAll};if(se.css){var K=window.getComputedStyle(ce),R=["always","page","left","right"],S=["avoid","avoid-page"];y={before:y.before||R.indexOf(K.breakBefore||K.pageBreakBefore)!==-1,after:y.after||R.indexOf(K.breakAfter||K.pageBreakAfter)!==-1,avoid:y.avoid||S.indexOf(K.breakInside||K.pageBreakInside)!==-1}}Object.keys(y).forEach(function(ht){y[ht]=y[ht]||Se[ht].indexOf(ce)!==-1});var X=ce.getBoundingClientRect();if(y.avoid&&!y.before){var He=Math.floor(X.top/xe),pe=Math.floor(X.bottom/xe),Ze=Math.abs(X.bottom-X.top)/xe;pe!==He&&Ze<=1&&(y.before=!0)}if(y.before){var ot=(0,te.createElement)("div",{style:{display:"block",height:xe-X.top%xe+"px"}});ce.parentNode.insertBefore(ot,ce)}if(y.after){var ot=(0,te.createElement)("div",{style:{display:"block",height:xe-X.bottom%xe+"px"}});ce.parentNode.insertBefore(ot,ce.nextSibling)}})})}},"./src/utils.js":function(x,Z,c){"use strict";c.r(Z),c.d(Z,{objType:function(){return Ce},createElement:function(){return se},cloneNode:function(){return Se},unitConvert:function(){return T},toPx:function(){return P}});var L=c("./node_modules/core-js/modules/es.number.constructor.js"),D=c.n(L),U=c("./node_modules/core-js/modules/es.symbol.js"),F=c.n(U),_=c("./node_modules/core-js/modules/es.symbol.description.js"),I=c.n(_),z=c("./node_modules/core-js/modules/es.object.to-string.js"),O=c.n(z),A=c("./node_modules/core-js/modules/es.symbol.iterator.js"),oe=c.n(A),J=c("./node_modules/core-js/modules/es.array.iterator.js"),te=c.n(J),Ee=c("./node_modules/core-js/modules/es.string.iterator.js"),Pe=c.n(Ee),et=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),ke=c.n(et);function xe(nt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xe=function(ce){return typeof ce}:xe=function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},xe(nt)}var Ce=function(de){var ce=xe(de);return ce==="undefined"?"undefined":ce==="string"||de instanceof String?"string":ce==="number"||de instanceof Number?"number":ce==="function"||de instanceof Function?"function":de&&de.constructor===Array?"array":de&&de.nodeType===1?"element":ce==="object"?"object":"unknown"},se=function(de,ce){var y=document.createElement(de);if(ce.className&&(y.className=ce.className),ce.innerHTML){y.innerHTML=ce.innerHTML;for(var K=y.getElementsByTagName("script"),R=K.length;R-- >0;null)K[R].parentNode.removeChild(K[R])}for(var S in ce.style)y.style[S]=ce.style[S];return y},Se=function nt(de,ce){for(var y=de.nodeType===3?document.createTextNode(de.nodeValue):de.cloneNode(!1),K=de.firstChild;K;K=K.nextSibling)(ce===!0||K.nodeType!==1||K.nodeName!=="SCRIPT")&&y.appendChild(nt(K,ce));return de.nodeType===1&&(de.nodeName==="CANVAS"?(y.width=de.width,y.height=de.height,y.getContext("2d").drawImage(de,0,0)):(de.nodeName==="TEXTAREA"||de.nodeName==="SELECT")&&(y.value=de.value),y.addEventListener("load",function(){y.scrollTop=de.scrollTop,y.scrollLeft=de.scrollLeft},!0)),y},T=function(de,ce){if(Ce(de)==="number")return de*72/96/ce;var y={};for(var K in de)y[K]=de[K]*72/96/ce;return y},P=function(de,ce){return Math.floor(de*ce/72*96)}},"./src/worker.js":function(x,Z,c){"use strict";c.r(Z);var L=c("./node_modules/core-js/modules/es.object.assign.js"),D=c.n(L),U=c("./node_modules/core-js/modules/es.array.map.js"),F=c.n(U),_=c("./node_modules/core-js/modules/es.object.keys.js"),I=c.n(_),z=c("./node_modules/core-js/modules/es.array.concat.js"),O=c.n(z),A=c("./node_modules/core-js/modules/es.object.to-string.js"),oe=c.n(A),J=c("./node_modules/core-js/modules/es.regexp.to-string.js"),te=c.n(J),Ee=c("./node_modules/core-js/modules/es.function.name.js"),Pe=c.n(Ee),et=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),ke=c.n(et),xe=c("jspdf"),Ce=c.n(xe),se=c("html2canvas"),Se=c.n(se),T=c("./src/utils.js"),P=c("./node_modules/es6-promise/dist/es6-promise.js"),nt=c.n(P),de=nt().Promise,ce=function y(K){var R=Object.assign(y.convert(de.resolve()),JSON.parse(JSON.stringify(y.template))),S=y.convert(de.resolve(),R);return S=S.setProgress(1,y,1,[y]),S=S.set(K),S};ce.prototype=Object.create(de.prototype),ce.prototype.constructor=ce,ce.convert=function(K,R){return K.__proto__=R||ce.prototype,K},ce.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:{}}},ce.prototype.from=function(K,R){function S(X){switch((0,T.objType)(X)){case"string":return"string";case"element":return X.nodeName.toLowerCase&&X.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(R=R||S(K),R){case"string":return this.set({src:(0,T.createElement)("div",{innerHTML:K})});case"element":return this.set({src:K});case"canvas":return this.set({canvas:K});case"img":return this.set({img:K});default:return this.error("Unknown source type.")}})},ce.prototype.to=function(K){switch(K){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.")}},ce.prototype.toContainer=function(){var K=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(K).then(function(){var S={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},X={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};S.opacity=0;var He=(0,T.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,T.createElement)("div",{className:"html2pdf__overlay",style:S}),this.prop.container=(0,T.createElement)("div",{className:"html2pdf__container",style:X}),this.prop.container.appendChild(He),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},ce.prototype.toCanvas=function(){var K=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(K).then(function(){var S=Object.assign({},this.opt.html2canvas);return delete S.onrendered,se(this.prop.container,S)}).then(function(S){var X=this.opt.html2canvas.onrendered||function(){};X(S),this.prop.canvas=S,document.body.removeChild(this.prop.overlay)})},ce.prototype.toImg=function(){var K=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(K).then(function(){var S=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=S})},ce.prototype.toPdf=function(){var K=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(K).then(function(){var S=this.prop.canvas,X=this.opt,He=S.height,pe=Math.floor(S.width*this.prop.pageSize.inner.ratio),Ze=Math.ceil(He/pe),ot=this.prop.pageSize.inner.height,ht=document.createElement("canvas"),he=ht.getContext("2d");ht.width=S.width,ht.height=pe,this.prop.pdf=this.prop.pdf||new xe.jsPDF(X.jsPDF);for(var Le=0;Le<Ze;Le++){Le===Ze-1&&He%pe!==0&&(ht.height=He%pe,ot=ht.height*this.prop.pageSize.inner.width/ht.width);var St=ht.width,We=ht.height;he.fillStyle="white",he.fillRect(0,0,St,We),he.drawImage(S,0,Le*pe,St,We,0,0,St,We),Le&&this.prop.pdf.addPage();var Re=ht.toDataURL("image/"+X.image.type,X.image.quality);this.prop.pdf.addImage(Re,X.image.type,X.margin[1],X.margin[0],this.prop.pageSize.inner.width,ot)}})},ce.prototype.output=function(K,R,S){return S=S||"pdf",S.toLowerCase()==="img"||S.toLowerCase()==="image"?this.outputImg(K,R):this.outputPdf(K,R)},ce.prototype.outputPdf=function(K,R){var S=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(S).then(function(){return this.prop.pdf.output(K,R)})},ce.prototype.outputImg=function(K,R){var S=[function(){return this.prop.img||this.toImg()}];return this.thenList(S).then(function(){switch(K){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 "'+K+'" is not supported.'}})},ce.prototype.save=function(K){var R=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(R).set(K?{filename:K}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},ce.prototype.set=function(K){if((0,T.objType)(K)!=="object")return this;var R=Object.keys(K||{}).map(function(S){switch(S){case"margin":return this.setMargin.bind(this,K.margin);case"jsPDF":return function(){return this.opt.jsPDF=K.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,K.pageSize);default:return S in ce.template.prop?function(){this.prop[S]=K[S]}:function(){this.opt[S]=K[S]}}},this);return this.then(function(){return this.thenList(R)})},ce.prototype.get=function(K,R){return this.then(function(){var X=K in ce.template.prop?this.prop[K]:this.opt[K];return R?R(X):X})},ce.prototype.setMargin=function(K){return this.then(function(){switch((0,T.objType)(K)){case"number":K=[K,K,K,K];case"array":if(K.length===2&&(K=[K[0],K[1],K[0],K[1]]),K.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=K}).then(this.setPageSize)},ce.prototype.setPageSize=function(K){return this.then(function(){K=K||xe.jsPDF.getPageSize(this.opt.jsPDF),K.hasOwnProperty("inner")||(K.inner={width:K.width-this.opt.margin[1]-this.opt.margin[3],height:K.height-this.opt.margin[0]-this.opt.margin[2]},K.inner.px={width:(0,T.toPx)(K.inner.width,K.k),height:(0,T.toPx)(K.inner.height,K.k)},K.inner.ratio=K.inner.height/K.inner.width),this.prop.pageSize=K})},ce.prototype.setProgress=function(K,R,S,X){return K!=null&&(this.progress.val=K),R!=null&&(this.progress.state=R),S!=null&&(this.progress.n=S),X!=null&&(this.progress.stack=X),this.progress.ratio=this.progress.val/this.progress.state,this},ce.prototype.updateProgress=function(K,R,S,X){return this.setProgress(K?this.progress.val+K:null,R||null,S?this.progress.n+S:null,X?this.progress.stack.concat(X):null)},ce.prototype.then=function(K,R){var S=this;return this.thenCore(K,R,function(He,pe){return S.updateProgress(null,null,1,[He]),de.prototype.then.call(this,function(ot){return S.updateProgress(null,He),ot}).then(He,pe).then(function(ot){return S.updateProgress(1),ot})})},ce.prototype.thenCore=function(K,R,S){S=S||de.prototype.then;var X=this;K&&(K=K.bind(X)),R&&(R=R.bind(X));var He=de.toString().indexOf("[native code]")!==-1&&de.name==="Promise",pe=He?X:ce.convert(Object.assign({},X),de.prototype),Ze=S.call(pe,K,R);return ce.convert(Ze,X.__proto__)},ce.prototype.thenExternal=function(K,R){return de.prototype.then.call(this,K,R)},ce.prototype.thenList=function(K){var R=this;return K.forEach(function(X){R=R.thenCore(X)}),R},ce.prototype.catch=function(y){y&&(y=y.bind(this));var K=de.prototype.catch.call(this,y);return ce.convert(K,this)},ce.prototype.catchExternal=function(K){return de.prototype.catch.call(this,K)},ce.prototype.error=function(K){return this.then(function(){throw new Error(K)})},ce.prototype.using=ce.prototype.set,ce.prototype.saveAs=ce.prototype.save,ce.prototype.export=ce.prototype.output,ce.prototype.run=ce.prototype.then,Z.default=ce},"./node_modules/core-js/internals/a-function.js":function(x){x.exports=function(Z){if(typeof Z!="function")throw TypeError(String(Z)+" is not a function");return Z}},"./node_modules/core-js/internals/a-possible-prototype.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-object.js");x.exports=function(D){if(!L(D)&&D!==null)throw TypeError("Can't set "+String(D)+" as a prototype");return D}},"./node_modules/core-js/internals/add-to-unscopables.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/well-known-symbol.js"),D=c("./node_modules/core-js/internals/object-create.js"),U=c("./node_modules/core-js/internals/object-define-property.js"),F=L("unscopables"),_=Array.prototype;_[F]==null&&U.f(_,F,{configurable:!0,value:D(null)}),x.exports=function(I){_[F][I]=!0}},"./node_modules/core-js/internals/an-object.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-object.js");x.exports=function(D){if(!L(D))throw TypeError(String(D)+" is not an object");return D}},"./node_modules/core-js/internals/array-for-each.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/array-iteration.js").forEach,D=c("./node_modules/core-js/internals/array-method-is-strict.js"),U=D("forEach");x.exports=U?[].forEach:function(_){return L(this,_,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-indexed-object.js"),D=c("./node_modules/core-js/internals/to-length.js"),U=c("./node_modules/core-js/internals/to-absolute-index.js"),F=function(_){return function(I,z,O){var A=L(I),oe=D(A.length),J=U(O,oe),te;if(_&&z!=z){for(;oe>J;)if(te=A[J++],te!=te)return!0}else for(;oe>J;J++)if((_||J in A)&&A[J]===z)return _||J||0;return!_&&-1}};x.exports={includes:F(!0),indexOf:F(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/function-bind-context.js"),D=c("./node_modules/core-js/internals/indexed-object.js"),U=c("./node_modules/core-js/internals/to-object.js"),F=c("./node_modules/core-js/internals/to-length.js"),_=c("./node_modules/core-js/internals/array-species-create.js"),I=[].push,z=function(O){var A=O==1,oe=O==2,J=O==3,te=O==4,Ee=O==6,Pe=O==7,et=O==5||Ee;return function(ke,xe,Ce,se){for(var Se=U(ke),T=D(Se),P=L(xe,Ce,3),nt=F(T.length),de=0,ce=se||_,y=A?ce(ke,nt):oe||Pe?ce(ke,0):void 0,K,R;nt>de;de++)if((et||de in T)&&(K=T[de],R=P(K,de,Se),O))if(A)y[de]=R;else if(R)switch(O){case 3:return!0;case 5:return K;case 6:return de;case 2:I.call(y,K)}else switch(O){case 4:return!1;case 7:I.call(y,K)}return Ee?-1:J||te?te:y}};x.exports={forEach:z(0),map:z(1),filter:z(2),some:z(3),every:z(4),find:z(5),findIndex:z(6),filterReject:z(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/fails.js"),D=c("./node_modules/core-js/internals/well-known-symbol.js"),U=c("./node_modules/core-js/internals/engine-v8-version.js"),F=D("species");x.exports=function(_){return U>=51||!L(function(){var I=[],z=I.constructor={};return z[F]=function(){return{foo:1}},I[_](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/fails.js");x.exports=function(D,U){var F=[][D];return!!F&&L(function(){F.call(null,U||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-object.js"),D=c("./node_modules/core-js/internals/is-array.js"),U=c("./node_modules/core-js/internals/well-known-symbol.js"),F=U("species");x.exports=function(_){var I;return D(_)&&(I=_.constructor,typeof I=="function"&&(I===Array||D(I.prototype))?I=void 0:L(I)&&(I=I[F],I===null&&(I=void 0))),I===void 0?Array:I}},"./node_modules/core-js/internals/array-species-create.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/array-species-constructor.js");x.exports=function(D,U){return new(L(D))(U===0?0:U)}},"./node_modules/core-js/internals/classof-raw.js":function(x){var Z={}.toString;x.exports=function(c){return Z.call(c).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-string-tag-support.js"),D=c("./node_modules/core-js/internals/classof-raw.js"),U=c("./node_modules/core-js/internals/well-known-symbol.js"),F=U("toStringTag"),_=D(function(){return arguments}())=="Arguments",I=function(z,O){try{return z[O]}catch(A){}};x.exports=L?D:function(z){var O,A,oe;return z===void 0?"Undefined":z===null?"Null":typeof(A=I(O=Object(z),F))=="string"?A:_?D(O):(oe=D(O))=="Object"&&typeof O.callee=="function"?"Arguments":oe}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/has.js"),D=c("./node_modules/core-js/internals/own-keys.js"),U=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),F=c("./node_modules/core-js/internals/object-define-property.js");x.exports=function(_,I){for(var z=D(I),O=F.f,A=U.f,oe=0;oe<z.length;oe++){var J=z[oe];L(_,J)||O(_,J,A(I,J))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/fails.js");x.exports=!L(function(){function D(){}return D.prototype.constructor=null,Object.getPrototypeOf(new D)!==D.prototype})},"./node_modules/core-js/internals/create-html.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/require-object-coercible.js"),D=c("./node_modules/core-js/internals/to-string.js"),U=/"/g;x.exports=function(F,_,I,z){var O=D(L(F)),A="<"+_;return I!==""&&(A+=" "+I+'="'+D(z).replace(U,"&quot;")+'"'),A+">"+O+"</"+_+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,D=c("./node_modules/core-js/internals/object-create.js"),U=c("./node_modules/core-js/internals/create-property-descriptor.js"),F=c("./node_modules/core-js/internals/set-to-string-tag.js"),_=c("./node_modules/core-js/internals/iterators.js"),I=function(){return this};x.exports=function(z,O,A){var oe=O+" Iterator";return z.prototype=D(L,{next:U(1,A)}),F(z,oe,!1,!0),_[oe]=I,z}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/object-define-property.js"),U=c("./node_modules/core-js/internals/create-property-descriptor.js");x.exports=L?function(F,_,I){return D.f(F,_,U(1,I))}:function(F,_,I){return F[_]=I,F}},"./node_modules/core-js/internals/create-property-descriptor.js":function(x){x.exports=function(Z,c){return{enumerable:!(Z&1),configurable:!(Z&2),writable:!(Z&4),value:c}}},"./node_modules/core-js/internals/create-property.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/to-property-key.js"),D=c("./node_modules/core-js/internals/object-define-property.js"),U=c("./node_modules/core-js/internals/create-property-descriptor.js");x.exports=function(F,_,I){var z=L(_);z in F?D.f(F,z,U(0,I)):F[z]=I}},"./node_modules/core-js/internals/define-iterator.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/create-iterator-constructor.js"),U=c("./node_modules/core-js/internals/object-get-prototype-of.js"),F=c("./node_modules/core-js/internals/object-set-prototype-of.js"),_=c("./node_modules/core-js/internals/set-to-string-tag.js"),I=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),z=c("./node_modules/core-js/internals/redefine.js"),O=c("./node_modules/core-js/internals/well-known-symbol.js"),A=c("./node_modules/core-js/internals/is-pure.js"),oe=c("./node_modules/core-js/internals/iterators.js"),J=c("./node_modules/core-js/internals/iterators-core.js"),te=J.IteratorPrototype,Ee=J.BUGGY_SAFARI_ITERATORS,Pe=O("iterator"),et="keys",ke="values",xe="entries",Ce=function(){return this};x.exports=function(se,Se,T,P,nt,de,ce){D(T,Se,P);var y=function(he){if(he===nt&&He)return He;if(!Ee&&he in S)return S[he];switch(he){case et:return function(){return new T(this,he)};case ke:return function(){return new T(this,he)};case xe:return function(){return new T(this,he)}}return function(){return new T(this)}},K=Se+" Iterator",R=!1,S=se.prototype,X=S[Pe]||S["@@iterator"]||nt&&S[nt],He=!Ee&&X||y(nt),pe=Se=="Array"&&S.entries||X,Ze,ot,ht;if(pe&&(Ze=U(pe.call(new se)),te!==Object.prototype&&Ze.next&&(!A&&U(Ze)!==te&&(F?F(Ze,te):typeof Ze[Pe]!="function"&&I(Ze,Pe,Ce)),_(Ze,K,!0,!0),A&&(oe[K]=Ce))),nt==ke&&X&&X.name!==ke&&(R=!0,He=function(){return X.call(this)}),(!A||ce)&&S[Pe]!==He&&I(S,Pe,He),oe[Se]=He,nt)if(ot={values:y(ke),keys:de?He:y(et),entries:y(xe)},ce)for(ht in ot)(Ee||R||!(ht in S))&&z(S,ht,ot[ht]);else L({target:Se,proto:!0,forced:Ee||R},ot);return ot}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/path.js"),D=c("./node_modules/core-js/internals/has.js"),U=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),F=c("./node_modules/core-js/internals/object-define-property.js").f;x.exports=function(_){var I=L.Symbol||(L.Symbol={});D(I,_)||F(I,_,{value:U.f(_)})}},"./node_modules/core-js/internals/descriptors.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/fails.js");x.exports=!L(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/is-object.js"),U=L.document,F=D(U)&&D(U.createElement);x.exports=function(_){return F?U.createElement(_):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(x){x.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(x,Z,c){var L=c("./node_modules/core-js/internals/get-built-in.js");x.exports=L("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/engine-user-agent.js"),U=L.process,F=L.Deno,_=U&&U.versions||F&&F.version,I=_&&_.v8,z,O;I?(z=I.split("."),O=z[0]<4?1:z[0]+z[1]):D&&(z=D.match(/Edge\/(\d+)/),(!z||z[1]>=74)&&(z=D.match(/Chrome\/(\d+)/),z&&(O=z[1]))),x.exports=O&&+O},"./node_modules/core-js/internals/enum-bug-keys.js":function(x){x.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,U=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),F=c("./node_modules/core-js/internals/redefine.js"),_=c("./node_modules/core-js/internals/set-global.js"),I=c("./node_modules/core-js/internals/copy-constructor-properties.js"),z=c("./node_modules/core-js/internals/is-forced.js");x.exports=function(O,A){var oe=O.target,J=O.global,te=O.stat,Ee,Pe,et,ke,xe,Ce;if(J?Pe=L:te?Pe=L[oe]||_(oe,{}):Pe=(L[oe]||{}).prototype,Pe)for(et in A){if(xe=A[et],O.noTargetGet?(Ce=D(Pe,et),ke=Ce&&Ce.value):ke=Pe[et],Ee=z(J?et:oe+(te?".":"#")+et,O.forced),!Ee&&ke!==void 0){if(typeof xe==typeof ke)continue;I(xe,ke)}(O.sham||ke&&ke.sham)&&U(xe,"sham",!0),F(Pe,et,xe,O)}}},"./node_modules/core-js/internals/fails.js":function(x){x.exports=function(Z){try{return!!Z()}catch(c){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/a-function.js");x.exports=function(D,U,F){if(L(D),U===void 0)return D;switch(F){case 0:return function(){return D.call(U)};case 1:return function(_){return D.call(U,_)};case 2:return function(_,I){return D.call(U,_,I)};case 3:return function(_,I,z){return D.call(U,_,I,z)}}return function(){return D.apply(U,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=function(U){return typeof U=="function"?U:void 0};x.exports=function(U,F){return arguments.length<2?D(L[U]):L[U]&&L[U][F]}},"./node_modules/core-js/internals/global.js":function(x){var Z=function(c){return c&&c.Math==Math&&c};x.exports=Z(typeof globalThis=="object"&&globalThis)||Z(typeof window=="object"&&window)||Z(typeof self=="object"&&self)||Z(typeof n.g=="object"&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-object.js"),D={}.hasOwnProperty;x.exports=Object.hasOwn||function(F,_){return D.call(L(F),_)}},"./node_modules/core-js/internals/hidden-keys.js":function(x){x.exports={}},"./node_modules/core-js/internals/html.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/get-built-in.js");x.exports=L("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/fails.js"),U=c("./node_modules/core-js/internals/document-create-element.js");x.exports=!L&&!D(function(){return Object.defineProperty(U("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/fails.js"),D=c("./node_modules/core-js/internals/classof-raw.js"),U="".split;x.exports=L(function(){return!Object("z").propertyIsEnumerable(0)})?function(F){return D(F)=="String"?U.call(F,""):Object(F)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-object.js"),D=c("./node_modules/core-js/internals/object-set-prototype-of.js");x.exports=function(U,F,_){var I,z;return D&&typeof(I=F.constructor)=="function"&&I!==_&&L(z=I.prototype)&&z!==_.prototype&&D(U,z),U}},"./node_modules/core-js/internals/inspect-source.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/shared-store.js"),D=Function.toString;typeof L.inspectSource!="function"&&(L.inspectSource=function(U){return D.call(U)}),x.exports=L.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/native-weak-map.js"),D=c("./node_modules/core-js/internals/global.js"),U=c("./node_modules/core-js/internals/is-object.js"),F=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=c("./node_modules/core-js/internals/has.js"),I=c("./node_modules/core-js/internals/shared-store.js"),z=c("./node_modules/core-js/internals/shared-key.js"),O=c("./node_modules/core-js/internals/hidden-keys.js"),A="Object already initialized",oe=D.WeakMap,J,te,Ee,Pe=function(T){return Ee(T)?te(T):J(T,{})},et=function(T){return function(P){var nt;if(!U(P)||(nt=te(P)).type!==T)throw TypeError("Incompatible receiver, "+T+" required");return nt}};if(L||I.state){var ke=I.state||(I.state=new oe),xe=ke.get,Ce=ke.has,se=ke.set;J=function(T,P){if(Ce.call(ke,T))throw new TypeError(A);return P.facade=T,se.call(ke,T,P),P},te=function(T){return xe.call(ke,T)||{}},Ee=function(T){return Ce.call(ke,T)}}else{var Se=z("state");O[Se]=!0,J=function(T,P){if(_(T,Se))throw new TypeError(A);return P.facade=T,F(T,Se,P),P},te=function(T){return _(T,Se)?T[Se]:{}},Ee=function(T){return _(T,Se)}}x.exports={set:J,get:te,has:Ee,enforce:Pe,getterFor:et}},"./node_modules/core-js/internals/is-array.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/classof-raw.js");x.exports=Array.isArray||function(U){return L(U)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/fails.js"),D=/#|\.prototype\./,U=function(O,A){var oe=_[F(O)];return oe==z?!0:oe==I?!1:typeof A=="function"?L(A):!!A},F=U.normalize=function(O){return String(O).replace(D,".").toLowerCase()},_=U.data={},I=U.NATIVE="N",z=U.POLYFILL="P";x.exports=U},"./node_modules/core-js/internals/is-object.js":function(x){x.exports=function(Z){return typeof Z=="object"?Z!==null:typeof Z=="function"}},"./node_modules/core-js/internals/is-pure.js":function(x){x.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/get-built-in.js"),D=c("./node_modules/core-js/internals/use-symbol-as-uid.js");x.exports=D?function(U){return typeof U=="symbol"}:function(U){var F=L("Symbol");return typeof F=="function"&&Object(U)instanceof F}},"./node_modules/core-js/internals/iterators-core.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/fails.js"),D=c("./node_modules/core-js/internals/object-get-prototype-of.js"),U=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),F=c("./node_modules/core-js/internals/has.js"),_=c("./node_modules/core-js/internals/well-known-symbol.js"),I=c("./node_modules/core-js/internals/is-pure.js"),z=_("iterator"),O=!1,A=function(){return this},oe,J,te;[].keys&&(te=[].keys(),"next"in te?(J=D(D(te)),J!==Object.prototype&&(oe=J)):O=!0);var Ee=oe==null||L(function(){var Pe={};return oe[z].call(Pe)!==Pe});Ee&&(oe={}),(!I||Ee)&&!F(oe,z)&&U(oe,z,A),x.exports={IteratorPrototype:oe,BUGGY_SAFARI_ITERATORS:O}},"./node_modules/core-js/internals/iterators.js":function(x){x.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/engine-v8-version.js"),D=c("./node_modules/core-js/internals/fails.js");x.exports=!!Object.getOwnPropertySymbols&&!D(function(){var U=Symbol();return!String(U)||!(Object(U)instanceof Symbol)||!Symbol.sham&&L&&L<41})},"./node_modules/core-js/internals/native-weak-map.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/inspect-source.js"),U=L.WeakMap;x.exports=typeof U=="function"&&/native code/.test(D(U))},"./node_modules/core-js/internals/object-assign.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/fails.js"),U=c("./node_modules/core-js/internals/object-keys.js"),F=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),_=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),I=c("./node_modules/core-js/internals/to-object.js"),z=c("./node_modules/core-js/internals/indexed-object.js"),O=Object.assign,A=Object.defineProperty;x.exports=!O||D(function(){if(L&&O({b:1},O(A({},"a",{enumerable:!0,get:function(){A(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var oe={},J={},te=Symbol(),Ee="abcdefghijklmnopqrst";return oe[te]=7,Ee.split("").forEach(function(Pe){J[Pe]=Pe}),O({},oe)[te]!=7||U(O({},J)).join("")!=Ee})?function(J,te){for(var Ee=I(J),Pe=arguments.length,et=1,ke=F.f,xe=_.f;Pe>et;)for(var Ce=z(arguments[et++]),se=ke?U(Ce).concat(ke(Ce)):U(Ce),Se=se.length,T=0,P;Se>T;)P=se[T++],(!L||xe.call(Ce,P))&&(Ee[P]=Ce[P]);return Ee}:O},"./node_modules/core-js/internals/object-create.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/an-object.js"),D=c("./node_modules/core-js/internals/object-define-properties.js"),U=c("./node_modules/core-js/internals/enum-bug-keys.js"),F=c("./node_modules/core-js/internals/hidden-keys.js"),_=c("./node_modules/core-js/internals/html.js"),I=c("./node_modules/core-js/internals/document-create-element.js"),z=c("./node_modules/core-js/internals/shared-key.js"),O=">",A="<",oe="prototype",J="script",te=z("IE_PROTO"),Ee=function(){},Pe=function(se){return A+J+O+se+A+"/"+J+O},et=function(se){se.write(Pe("")),se.close();var Se=se.parentWindow.Object;return se=null,Se},ke=function(){var se=I("iframe"),Se="java"+J+":",T;if(se.style)return se.style.display="none",_.appendChild(se),se.src=String(Se),T=se.contentWindow.document,T.open(),T.write(Pe("document.F=Object")),T.close(),T.F},xe,Ce=function(){try{xe=new ActiveXObject("htmlfile")}catch(Se){}Ce=document.domain&&xe?et(xe):ke()||et(xe);for(var se=U.length;se--;)delete Ce[oe][U[se]];return Ce()};F[te]=!0,x.exports=Object.create||function(Se,T){var P;return Se!==null?(Ee[oe]=L(Se),P=new Ee,Ee[oe]=null,P[te]=Se):P=Ce(),T===void 0?P:D(P,T)}},"./node_modules/core-js/internals/object-define-properties.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/object-define-property.js"),U=c("./node_modules/core-js/internals/an-object.js"),F=c("./node_modules/core-js/internals/object-keys.js");x.exports=L?Object.defineProperties:function(I,z){U(I);for(var O=F(z),A=O.length,oe=0,J;A>oe;)D.f(I,J=O[oe++],z[J]);return I}},"./node_modules/core-js/internals/object-define-property.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/ie8-dom-define.js"),U=c("./node_modules/core-js/internals/an-object.js"),F=c("./node_modules/core-js/internals/to-property-key.js"),_=Object.defineProperty;Z.f=L?_:function(z,O,A){if(U(z),O=F(O),U(A),D)try{return _(z,O,A)}catch(oe){}if("get"in A||"set"in A)throw TypeError("Accessors not supported");return"value"in A&&(z[O]=A.value),z}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),U=c("./node_modules/core-js/internals/create-property-descriptor.js"),F=c("./node_modules/core-js/internals/to-indexed-object.js"),_=c("./node_modules/core-js/internals/to-property-key.js"),I=c("./node_modules/core-js/internals/has.js"),z=c("./node_modules/core-js/internals/ie8-dom-define.js"),O=Object.getOwnPropertyDescriptor;Z.f=L?O:function(oe,J){if(oe=F(oe),J=_(J),z)try{return O(oe,J)}catch(te){}if(I(oe,J))return U(!D.f.call(oe,J),oe[J])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-indexed-object.js"),D=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,U={}.toString,F=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_=function(I){try{return D(I)}catch(z){return F.slice()}};x.exports.f=function(z){return F&&U.call(z)=="[object Window]"?_(z):D(L(z))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/object-keys-internal.js"),D=c("./node_modules/core-js/internals/enum-bug-keys.js"),U=D.concat("length","prototype");Z.f=Object.getOwnPropertyNames||function(_){return L(_,U)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(x,Z){Z.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/has.js"),D=c("./node_modules/core-js/internals/to-object.js"),U=c("./node_modules/core-js/internals/shared-key.js"),F=c("./node_modules/core-js/internals/correct-prototype-getter.js"),_=U("IE_PROTO"),I=Object.prototype;x.exports=F?Object.getPrototypeOf:function(z){return z=D(z),L(z,_)?z[_]:typeof z.constructor=="function"&&z instanceof z.constructor?z.constructor.prototype:z instanceof Object?I:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/has.js"),D=c("./node_modules/core-js/internals/to-indexed-object.js"),U=c("./node_modules/core-js/internals/array-includes.js").indexOf,F=c("./node_modules/core-js/internals/hidden-keys.js");x.exports=function(_,I){var z=D(_),O=0,A=[],oe;for(oe in z)!L(F,oe)&&L(z,oe)&&A.push(oe);for(;I.length>O;)L(z,oe=I[O++])&&(~U(A,oe)||A.push(oe));return A}},"./node_modules/core-js/internals/object-keys.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/object-keys-internal.js"),D=c("./node_modules/core-js/internals/enum-bug-keys.js");x.exports=Object.keys||function(F){return L(F,D)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(x,Z){"use strict";var c={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,D=L&&!c.call({1:2},1);Z.f=D?function(F){var _=L(this,F);return!!_&&_.enumerable}:c},"./node_modules/core-js/internals/object-set-prototype-of.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/an-object.js"),D=c("./node_modules/core-js/internals/a-possible-prototype.js");x.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var U=!1,F={},_;try{_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,_.call(F,[]),U=F instanceof Array}catch(I){}return function(z,O){return L(z),D(O),U?_.call(z,O):z.__proto__=O,z}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/to-string-tag-support.js"),D=c("./node_modules/core-js/internals/classof.js");x.exports=L?{}.toString:function(){return"[object "+D(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-object.js");x.exports=function(D,U){var F,_;if(U==="string"&&typeof(F=D.toString)=="function"&&!L(_=F.call(D))||typeof(F=D.valueOf)=="function"&&!L(_=F.call(D))||U!=="string"&&typeof(F=D.toString)=="function"&&!L(_=F.call(D)))return _;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/get-built-in.js"),D=c("./node_modules/core-js/internals/object-get-own-property-names.js"),U=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),F=c("./node_modules/core-js/internals/an-object.js");x.exports=L("Reflect","ownKeys")||function(I){var z=D.f(F(I)),O=U.f;return O?z.concat(O(I)):z}},"./node_modules/core-js/internals/path.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js");x.exports=L},"./node_modules/core-js/internals/redefine.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),U=c("./node_modules/core-js/internals/has.js"),F=c("./node_modules/core-js/internals/set-global.js"),_=c("./node_modules/core-js/internals/inspect-source.js"),I=c("./node_modules/core-js/internals/internal-state.js"),z=I.get,O=I.enforce,A=String(String).split("String");(x.exports=function(oe,J,te,Ee){var Pe=Ee?!!Ee.unsafe:!1,et=Ee?!!Ee.enumerable:!1,ke=Ee?!!Ee.noTargetGet:!1,xe;if(typeof te=="function"&&(typeof J=="string"&&!U(te,"name")&&D(te,"name",J),xe=O(te),xe.source||(xe.source=A.join(typeof J=="string"?J:""))),oe===L){et?oe[J]=te:F(J,te);return}else Pe?!ke&&oe[J]&&(et=!0):delete oe[J];et?oe[J]=te:D(oe,J,te)})(Function.prototype,"toString",function(){return typeof this=="function"&&z(this).source||_(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/an-object.js");x.exports=function(){var D=L(this),U="";return D.global&&(U+="g"),D.ignoreCase&&(U+="i"),D.multiline&&(U+="m"),D.dotAll&&(U+="s"),D.unicode&&(U+="u"),D.sticky&&(U+="y"),U}},"./node_modules/core-js/internals/require-object-coercible.js":function(x){x.exports=function(Z){if(Z==null)throw TypeError("Can't call method on "+Z);return Z}},"./node_modules/core-js/internals/set-global.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js");x.exports=function(D,U){try{Object.defineProperty(L,D,{value:U,configurable:!0,writable:!0})}catch(F){L[D]=U}return U}},"./node_modules/core-js/internals/set-to-string-tag.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/object-define-property.js").f,D=c("./node_modules/core-js/internals/has.js"),U=c("./node_modules/core-js/internals/well-known-symbol.js"),F=U("toStringTag");x.exports=function(_,I,z){_&&!D(_=z?_:_.prototype,F)&&L(_,F,{configurable:!0,value:I})}},"./node_modules/core-js/internals/shared-key.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/shared.js"),D=c("./node_modules/core-js/internals/uid.js"),U=L("keys");x.exports=function(F){return U[F]||(U[F]=D(F))}},"./node_modules/core-js/internals/shared-store.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/set-global.js"),U="__core-js_shared__",F=L[U]||D(U,{});x.exports=F},"./node_modules/core-js/internals/shared.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-pure.js"),D=c("./node_modules/core-js/internals/shared-store.js");(x.exports=function(U,F){return D[U]||(D[U]=F!==void 0?F:{})})("versions",[]).push({version:"3.16.0",mode:L?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/fails.js");x.exports=function(D){return L(function(){var U=""[D]('"');return U!==U.toLowerCase()||U.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-integer.js"),D=c("./node_modules/core-js/internals/to-string.js"),U=c("./node_modules/core-js/internals/require-object-coercible.js"),F=function(_){return function(I,z){var O=D(U(I)),A=L(z),oe=O.length,J,te;return A<0||A>=oe?_?"":void 0:(J=O.charCodeAt(A),J<55296||J>56319||A+1===oe||(te=O.charCodeAt(A+1))<56320||te>57343?_?O.charAt(A):J:_?O.slice(A,A+2):(J-55296<<10)+(te-56320)+65536)}};x.exports={codeAt:F(!1),charAt:F(!0)}},"./node_modules/core-js/internals/string-trim.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/require-object-coercible.js"),D=c("./node_modules/core-js/internals/to-string.js"),U=c("./node_modules/core-js/internals/whitespaces.js"),F="["+U+"]",_=RegExp("^"+F+F+"*"),I=RegExp(F+F+"*$"),z=function(O){return function(A){var oe=D(L(A));return O&1&&(oe=oe.replace(_,"")),O&2&&(oe=oe.replace(I,"")),oe}};x.exports={start:z(1),end:z(2),trim:z(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-integer.js"),D=Math.max,U=Math.min;x.exports=function(F,_){var I=L(F);return I<0?D(I+_,0):U(I,_)}},"./node_modules/core-js/internals/to-indexed-object.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/indexed-object.js"),D=c("./node_modules/core-js/internals/require-object-coercible.js");x.exports=function(U){return L(D(U))}},"./node_modules/core-js/internals/to-integer.js":function(x){var Z=Math.ceil,c=Math.floor;x.exports=function(L){return isNaN(L=+L)?0:(L>0?c:Z)(L)}},"./node_modules/core-js/internals/to-length.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-integer.js"),D=Math.min;x.exports=function(U){return U>0?D(L(U),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/require-object-coercible.js");x.exports=function(D){return Object(L(D))}},"./node_modules/core-js/internals/to-primitive.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-object.js"),D=c("./node_modules/core-js/internals/is-symbol.js"),U=c("./node_modules/core-js/internals/ordinary-to-primitive.js"),F=c("./node_modules/core-js/internals/well-known-symbol.js"),_=F("toPrimitive");x.exports=function(I,z){if(!L(I)||D(I))return I;var O=I[_],A;if(O!==void 0){if(z===void 0&&(z="default"),A=O.call(I,z),!L(A)||D(A))return A;throw TypeError("Can't convert object to primitive value")}return z===void 0&&(z="number"),U(I,z)}},"./node_modules/core-js/internals/to-property-key.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-primitive.js"),D=c("./node_modules/core-js/internals/is-symbol.js");x.exports=function(U){var F=L(U,"string");return D(F)?F:String(F)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/well-known-symbol.js"),D=L("toStringTag"),U={};U[D]="z",x.exports=String(U)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/is-symbol.js");x.exports=function(D){if(L(D))throw TypeError("Cannot convert a Symbol value to a string");return String(D)}},"./node_modules/core-js/internals/uid.js":function(x){var Z=0,c=Math.random();x.exports=function(L){return"Symbol("+String(L===void 0?"":L)+")_"+(++Z+c).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/native-symbol.js");x.exports=L&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/well-known-symbol.js");Z.f=L},"./node_modules/core-js/internals/well-known-symbol.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/shared.js"),U=c("./node_modules/core-js/internals/has.js"),F=c("./node_modules/core-js/internals/uid.js"),_=c("./node_modules/core-js/internals/native-symbol.js"),I=c("./node_modules/core-js/internals/use-symbol-as-uid.js"),z=D("wks"),O=L.Symbol,A=I?O:O&&O.withoutSetter||F;x.exports=function(oe){return(!U(z,oe)||!(_||typeof z[oe]=="string"))&&(_&&U(O,oe)?z[oe]=O[oe]:z[oe]=A("Symbol."+oe)),z[oe]}},"./node_modules/core-js/internals/whitespaces.js":function(x){x.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/fails.js"),U=c("./node_modules/core-js/internals/is-array.js"),F=c("./node_modules/core-js/internals/is-object.js"),_=c("./node_modules/core-js/internals/to-object.js"),I=c("./node_modules/core-js/internals/to-length.js"),z=c("./node_modules/core-js/internals/create-property.js"),O=c("./node_modules/core-js/internals/array-species-create.js"),A=c("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=c("./node_modules/core-js/internals/well-known-symbol.js"),J=c("./node_modules/core-js/internals/engine-v8-version.js"),te=oe("isConcatSpreadable"),Ee=9007199254740991,Pe="Maximum allowed index exceeded",et=J>=51||!D(function(){var se=[];return se[te]=!1,se.concat()[0]!==se}),ke=A("concat"),xe=function(se){if(!F(se))return!1;var Se=se[te];return Se!==void 0?!!Se:U(se)},Ce=!et||!ke;L({target:"Array",proto:!0,forced:Ce},{concat:function(Se){var T=_(this),P=O(T,0),nt=0,de,ce,y,K,R;for(de=-1,y=arguments.length;de<y;de++)if(R=de===-1?T:arguments[de],xe(R)){if(K=I(R.length),nt+K>Ee)throw TypeError(Pe);for(ce=0;ce<K;ce++,nt++)ce in R&&z(P,nt,R[ce])}else{if(nt>=Ee)throw TypeError(Pe);z(P,nt++,R)}return P.length=nt,P}})},"./node_modules/core-js/modules/es.array.iterator.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/to-indexed-object.js"),D=c("./node_modules/core-js/internals/add-to-unscopables.js"),U=c("./node_modules/core-js/internals/iterators.js"),F=c("./node_modules/core-js/internals/internal-state.js"),_=c("./node_modules/core-js/internals/define-iterator.js"),I="Array Iterator",z=F.set,O=F.getterFor(I);x.exports=_(Array,"Array",function(A,oe){z(this,{type:I,target:L(A),index:0,kind:oe})},function(){var A=O(this),oe=A.target,J=A.kind,te=A.index++;return!oe||te>=oe.length?(A.target=void 0,{value:void 0,done:!0}):J=="keys"?{value:te,done:!1}:J=="values"?{value:oe[te],done:!1}:{value:[te,oe[te]],done:!1}},"values"),U.Arguments=U.Array,D("keys"),D("values"),D("entries")},"./node_modules/core-js/modules/es.array.join.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/indexed-object.js"),U=c("./node_modules/core-js/internals/to-indexed-object.js"),F=c("./node_modules/core-js/internals/array-method-is-strict.js"),_=[].join,I=D!=Object,z=F("join",",");L({target:"Array",proto:!0,forced:I||!z},{join:function(A){return _.call(U(this),A===void 0?",":A)}})},"./node_modules/core-js/modules/es.array.map.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/array-iteration.js").map,U=c("./node_modules/core-js/internals/array-method-has-species-support.js"),F=U("map");L({target:"Array",proto:!0,forced:!F},{map:function(I){return D(this,I,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/is-object.js"),U=c("./node_modules/core-js/internals/is-array.js"),F=c("./node_modules/core-js/internals/to-absolute-index.js"),_=c("./node_modules/core-js/internals/to-length.js"),I=c("./node_modules/core-js/internals/to-indexed-object.js"),z=c("./node_modules/core-js/internals/create-property.js"),O=c("./node_modules/core-js/internals/well-known-symbol.js"),A=c("./node_modules/core-js/internals/array-method-has-species-support.js"),oe=A("slice"),J=O("species"),te=[].slice,Ee=Math.max;L({target:"Array",proto:!0,forced:!oe},{slice:function(et,ke){var xe=I(this),Ce=_(xe.length),se=F(et,Ce),Se=F(ke===void 0?Ce:ke,Ce),T,P,nt;if(U(xe)&&(T=xe.constructor,typeof T=="function"&&(T===Array||U(T.prototype))?T=void 0:D(T)&&(T=T[J],T===null&&(T=void 0)),T===Array||T===void 0))return te.call(xe,se,Se);for(P=new(T===void 0?Array:T)(Ee(Se-se,0)),nt=0;se<Se;se++,nt++)se in xe&&z(P,nt,xe[se]);return P.length=nt,P}})},"./node_modules/core-js/modules/es.function.name.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/object-define-property.js").f,U=Function.prototype,F=U.toString,_=/^\s*function ([^ (]*)/,I="name";L&&!(I in U)&&D(U,I,{configurable:!0,get:function(){try{return F.call(this).match(_)[1]}catch(z){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/descriptors.js"),D=c("./node_modules/core-js/internals/global.js"),U=c("./node_modules/core-js/internals/is-forced.js"),F=c("./node_modules/core-js/internals/redefine.js"),_=c("./node_modules/core-js/internals/has.js"),I=c("./node_modules/core-js/internals/classof-raw.js"),z=c("./node_modules/core-js/internals/inherit-if-required.js"),O=c("./node_modules/core-js/internals/is-symbol.js"),A=c("./node_modules/core-js/internals/to-primitive.js"),oe=c("./node_modules/core-js/internals/fails.js"),J=c("./node_modules/core-js/internals/object-create.js"),te=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ee=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Pe=c("./node_modules/core-js/internals/object-define-property.js").f,et=c("./node_modules/core-js/internals/string-trim.js").trim,ke="Number",xe=D[ke],Ce=xe.prototype,se=I(J(Ce))==ke,Se=function(ce){if(O(ce))throw TypeError("Cannot convert a Symbol value to a number");var y=A(ce,"number"),K,R,S,X,He,pe,Ze,ot;if(typeof y=="string"&&y.length>2){if(y=et(y),K=y.charCodeAt(0),K===43||K===45){if(R=y.charCodeAt(2),R===88||R===120)return NaN}else if(K===48){switch(y.charCodeAt(1)){case 66:case 98:S=2,X=49;break;case 79:case 111:S=8,X=55;break;default:return+y}for(He=y.slice(2),pe=He.length,Ze=0;Ze<pe;Ze++)if(ot=He.charCodeAt(Ze),ot<48||ot>X)return NaN;return parseInt(He,S)}}return+y};if(U(ke,!xe(" 0o1")||!xe("0b1")||xe("+0x1"))){for(var T=function(y){var K=arguments.length<1?0:y,R=this;return R instanceof T&&(se?oe(function(){Ce.valueOf.call(R)}):I(R)!=ke)?z(new xe(Se(K)),R,T):Se(K)},P=L?te(xe):"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(","),nt=0,de;P.length>nt;nt++)_(xe,de=P[nt])&&!_(T,de)&&Pe(T,de,Ee(xe,de));T.prototype=Ce,Ce.constructor=T,F(D,ke,T)}},"./node_modules/core-js/modules/es.object.assign.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/object-assign.js");L({target:"Object",stat:!0,forced:Object.assign!==D},{assign:D})},"./node_modules/core-js/modules/es.object.keys.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/to-object.js"),U=c("./node_modules/core-js/internals/object-keys.js"),F=c("./node_modules/core-js/internals/fails.js"),_=F(function(){U(1)});L({target:"Object",stat:!0,forced:_},{keys:function(z){return U(D(z))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/to-string-tag-support.js"),D=c("./node_modules/core-js/internals/redefine.js"),U=c("./node_modules/core-js/internals/object-to-string.js");L||D(Object.prototype,"toString",U,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/redefine.js"),D=c("./node_modules/core-js/internals/an-object.js"),U=c("./node_modules/core-js/internals/to-string.js"),F=c("./node_modules/core-js/internals/fails.js"),_=c("./node_modules/core-js/internals/regexp-flags.js"),I="toString",z=RegExp.prototype,O=z[I],A=F(function(){return O.call({source:"a",flags:"b"})!="/a/b"}),oe=O.name!=I;(A||oe)&&L(RegExp.prototype,I,function(){var te=D(this),Ee=U(te.source),Pe=te.flags,et=U(Pe===void 0&&te instanceof RegExp&&!("flags"in z)?_.call(te):Pe);return"/"+Ee+"/"+et},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/string-multibyte.js").charAt,D=c("./node_modules/core-js/internals/to-string.js"),U=c("./node_modules/core-js/internals/internal-state.js"),F=c("./node_modules/core-js/internals/define-iterator.js"),_="String Iterator",I=U.set,z=U.getterFor(_);F(String,"String",function(O){I(this,{type:_,string:D(O),index:0})},function(){var A=z(this),oe=A.string,J=A.index,te;return J>=oe.length?{value:void 0,done:!0}:(te=L(oe,J),A.index+=te.length,{value:te,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/create-html.js"),U=c("./node_modules/core-js/internals/string-html-forced.js");L({target:"String",proto:!0,forced:U("link")},{link:function(_){return D(this,"a","href",_)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/descriptors.js"),U=c("./node_modules/core-js/internals/global.js"),F=c("./node_modules/core-js/internals/has.js"),_=c("./node_modules/core-js/internals/is-object.js"),I=c("./node_modules/core-js/internals/object-define-property.js").f,z=c("./node_modules/core-js/internals/copy-constructor-properties.js"),O=U.Symbol;if(D&&typeof O=="function"&&(!("description"in O.prototype)||O().description!==void 0)){var A={},oe=function(){var ke=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),xe=this instanceof oe?new O(ke):ke===void 0?O():O(ke);return ke===""&&(A[xe]=!0),xe};z(oe,O);var J=oe.prototype=O.prototype;J.constructor=oe;var te=J.toString,Ee=String(O("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;I(J,"description",{configurable:!0,get:function(){var ke=_(this)?this.valueOf():this,xe=te.call(ke);if(F(A,ke))return"";var Ce=Ee?xe.slice(7,-1):xe.replace(Pe,"$1");return Ce===""?void 0:Ce}}),L({global:!0,forced:!0},{Symbol:oe})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/define-well-known-symbol.js");L("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(x,Z,c){"use strict";var L=c("./node_modules/core-js/internals/export.js"),D=c("./node_modules/core-js/internals/global.js"),U=c("./node_modules/core-js/internals/get-built-in.js"),F=c("./node_modules/core-js/internals/is-pure.js"),_=c("./node_modules/core-js/internals/descriptors.js"),I=c("./node_modules/core-js/internals/native-symbol.js"),z=c("./node_modules/core-js/internals/fails.js"),O=c("./node_modules/core-js/internals/has.js"),A=c("./node_modules/core-js/internals/is-array.js"),oe=c("./node_modules/core-js/internals/is-object.js"),J=c("./node_modules/core-js/internals/is-symbol.js"),te=c("./node_modules/core-js/internals/an-object.js"),Ee=c("./node_modules/core-js/internals/to-object.js"),Pe=c("./node_modules/core-js/internals/to-indexed-object.js"),et=c("./node_modules/core-js/internals/to-property-key.js"),ke=c("./node_modules/core-js/internals/to-string.js"),xe=c("./node_modules/core-js/internals/create-property-descriptor.js"),Ce=c("./node_modules/core-js/internals/object-create.js"),se=c("./node_modules/core-js/internals/object-keys.js"),Se=c("./node_modules/core-js/internals/object-get-own-property-names.js"),T=c("./node_modules/core-js/internals/object-get-own-property-names-external.js"),P=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),nt=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),de=c("./node_modules/core-js/internals/object-define-property.js"),ce=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),y=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),K=c("./node_modules/core-js/internals/redefine.js"),R=c("./node_modules/core-js/internals/shared.js"),S=c("./node_modules/core-js/internals/shared-key.js"),X=c("./node_modules/core-js/internals/hidden-keys.js"),He=c("./node_modules/core-js/internals/uid.js"),pe=c("./node_modules/core-js/internals/well-known-symbol.js"),Ze=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),ot=c("./node_modules/core-js/internals/define-well-known-symbol.js"),ht=c("./node_modules/core-js/internals/set-to-string-tag.js"),he=c("./node_modules/core-js/internals/internal-state.js"),Le=c("./node_modules/core-js/internals/array-iteration.js").forEach,St=S("hidden"),We="Symbol",Re="prototype",M=pe("toPrimitive"),_e=he.set,ge=he.getterFor(We),ue=Object[Re],fe=D.Symbol,me=U("JSON","stringify"),Ie=nt.f,ye=de.f,Be=T.f,Ye=ce.f,xt=R("symbols"),$t=R("op-symbols"),Xt=R("string-to-symbol-registry"),Ut=R("symbol-to-string-registry"),jt=R("wks"),at=D.QObject,yt=!at||!at[Re]||!at[Re].findChild,pt=_&&z(function(){return Ce(ye({},"a",{get:function(){return ye(this,"a",{value:7}).a}})).a!=7})?function(wt,ae,Te){var Fr=Ie(ue,ae);Fr&&delete ue[ae],ye(wt,ae,Te),Fr&&wt!==ue&&ye(ue,ae,Fr)}:ye,dt=function(wt,ae){var Te=xt[wt]=Ce(fe[Re]);return _e(Te,{type:We,tag:wt,description:ae}),_||(Te.description=ae),Te},er=function(ae,Te,Fr){ae===ue&&er($t,Te,Fr),te(ae);var Mr=et(Te);return te(Fr),O(xt,Mr)?(Fr.enumerable?(O(ae,St)&&ae[St][Mr]&&(ae[St][Mr]=!1),Fr=Ce(Fr,{enumerable:xe(0,!1)})):(O(ae,St)||ye(ae,St,xe(1,{})),ae[St][Mr]=!0),pt(ae,Mr,Fr)):ye(ae,Mr,Fr)},or=function(ae,Te){te(ae);var Fr=Pe(Te),Mr=se(Fr).concat(w(Fr));return Le(Mr,function(bn){(!_||Er.call(Fr,bn))&&er(ae,bn,Fr[bn])}),ae},hr=function(ae,Te){return Te===void 0?Ce(ae):or(Ce(ae),Te)},Er=function(ae){var Te=et(ae),Fr=Ye.call(this,Te);return this===ue&&O(xt,Te)&&!O($t,Te)?!1:Fr||!O(this,Te)||!O(xt,Te)||O(this,St)&&this[St][Te]?Fr:!0},qr=function(ae,Te){var Fr=Pe(ae),Mr=et(Te);if(!(Fr===ue&&O(xt,Mr)&&!O($t,Mr))){var bn=Ie(Fr,Mr);return bn&&O(xt,Mr)&&!(O(Fr,St)&&Fr[St][Mr])&&(bn.enumerable=!0),bn}},Pr=function(ae){var Te=Be(Pe(ae)),Fr=[];return Le(Te,function(Mr){!O(xt,Mr)&&!O(X,Mr)&&Fr.push(Mr)}),Fr},w=function(ae){var Te=ae===ue,Fr=Be(Te?$t:Pe(ae)),Mr=[];return Le(Fr,function(bn){O(xt,bn)&&(!Te||O(ue,bn))&&Mr.push(xt[bn])}),Mr};if(I||(fe=function(){if(this instanceof fe)throw TypeError("Symbol is not a constructor");var ae=!arguments.length||arguments[0]===void 0?void 0:ke(arguments[0]),Te=He(ae),Fr=function(Mr){this===ue&&Fr.call($t,Mr),O(this,St)&&O(this[St],Te)&&(this[St][Te]=!1),pt(this,Te,xe(1,Mr))};return _&&yt&&pt(ue,Te,{configurable:!0,set:Fr}),dt(Te,ae)},K(fe[Re],"toString",function(){return ge(this).tag}),K(fe,"withoutSetter",function(wt){return dt(He(wt),wt)}),ce.f=Er,de.f=er,nt.f=qr,Se.f=T.f=Pr,P.f=w,Ze.f=function(wt){return dt(pe(wt),wt)},_&&(ye(fe[Re],"description",{configurable:!0,get:function(){return ge(this).description}}),F||K(ue,"propertyIsEnumerable",Er,{unsafe:!0}))),L({global:!0,wrap:!0,forced:!I,sham:!I},{Symbol:fe}),Le(se(jt),function(wt){ot(wt)}),L({target:We,stat:!0,forced:!I},{for:function(wt){var ae=ke(wt);if(O(Xt,ae))return Xt[ae];var Te=fe(ae);return Xt[ae]=Te,Ut[Te]=ae,Te},keyFor:function(ae){if(!J(ae))throw TypeError(ae+" is not a symbol");if(O(Ut,ae))return Ut[ae]},useSetter:function(){yt=!0},useSimple:function(){yt=!1}}),L({target:"Object",stat:!0,forced:!I,sham:!_},{create:hr,defineProperty:er,defineProperties:or,getOwnPropertyDescriptor:qr}),L({target:"Object",stat:!0,forced:!I},{getOwnPropertyNames:Pr,getOwnPropertySymbols:w}),L({target:"Object",stat:!0,forced:z(function(){P.f(1)})},{getOwnPropertySymbols:function(ae){return P.f(Ee(ae))}}),me){var H=!I||z(function(){var wt=fe();return me([wt])!="[null]"||me({a:wt})!="{}"||me(Object(wt))!="{}"});L({target:"JSON",stat:!0,forced:H},{stringify:function(ae,Te,Fr){for(var Mr=[ae],bn=1,Dn;arguments.length>bn;)Mr.push(arguments[bn++]);if(Dn=Te,!(!oe(Te)&&ae===void 0||J(ae)))return A(Te)||(Te=function(Rt,xr){if(typeof Dn=="function"&&(xr=Dn.call(this,Rt,xr)),!J(xr))return xr}),Mr[1]=Te,me.apply(null,Mr)}})}fe[Re][M]||y(fe[Re],M,fe[Re].valueOf),ht(fe,We),X[St]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/dom-iterables.js"),U=c("./node_modules/core-js/internals/array-for-each.js"),F=c("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var _ in D){var I=L[_],z=I&&I.prototype;if(z&&z.forEach!==U)try{F(z,"forEach",U)}catch(O){z.forEach=U}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(x,Z,c){var L=c("./node_modules/core-js/internals/global.js"),D=c("./node_modules/core-js/internals/dom-iterables.js"),U=c("./node_modules/core-js/modules/es.array.iterator.js"),F=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=c("./node_modules/core-js/internals/well-known-symbol.js"),I=_("iterator"),z=_("toStringTag"),O=U.values;for(var A in D){var oe=L[A],J=oe&&oe.prototype;if(J){if(J[I]!==O)try{F(J,I,O)}catch(Ee){J[I]=O}if(J[z]||F(J,z,A),D[A]){for(var te in U)if(J[te]!==U[te])try{F(J,te,U[te])}catch(Ee){J[te]=U[te]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(x){(function(Z,c){x.exports=c()})(this,function(){"use strict";function Z(at){var yt=typeof at;return at!==null&&(yt==="object"||yt==="function")}function c(at){return typeof at=="function"}var L=void 0;Array.isArray?L=Array.isArray:L=function(at){return Object.prototype.toString.call(at)==="[object Array]"};var D=L,U=0,F=void 0,_=void 0,I=function(yt,pt){se[U]=yt,se[U+1]=pt,U+=2,U===2&&(_?_(Se):P())};function z(at){_=at}function O(at){I=at}var A=typeof window!="undefined"?window:void 0,oe=A||{},J=oe.MutationObserver||oe.WebKitMutationObserver,te=typeof self=="undefined"&&typeof o!="undefined"&&{}.toString.call(o)==="[object process]",Ee=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Pe(){return function(){return o.nextTick(Se)}}function et(){return typeof F!="undefined"?function(){F(Se)}:Ce()}function ke(){var at=0,yt=new J(Se),pt=document.createTextNode("");return yt.observe(pt,{characterData:!0}),function(){pt.data=at=++at%2}}function xe(){var at=new MessageChannel;return at.port1.onmessage=Se,function(){return at.port2.postMessage(0)}}function Ce(){var at=setTimeout;return function(){return at(Se,1)}}var se=new Array(1e3);function Se(){for(var at=0;at<U;at+=2){var yt=se[at],pt=se[at+1];yt(pt),se[at]=void 0,se[at+1]=void 0}U=0}function T(){try{var at=Function("return this")().require("vertx");return F=at.runOnLoop||at.runOnContext,et()}catch(yt){return Ce()}}var P=void 0;te?P=Pe():J?P=ke():Ee?P=xe():A===void 0?P=T():P=Ce();function nt(at,yt){var pt=this,dt=new this.constructor(y);dt[ce]===void 0&&me(dt);var er=pt._state;if(er){var or=arguments[er-1];I(function(){return _e(er,dt,or,pt._result)})}else Re(pt,dt,at,yt);return dt}function de(at){var yt=this;if(at&&typeof at=="object"&&at.constructor===yt)return at;var pt=new yt(y);return he(pt,at),pt}var ce=Math.random().toString(36).substring(2);function y(){}var K=void 0,R=1,S=2;function X(){return new TypeError("You cannot resolve a promise with itself")}function He(){return new TypeError("A promises callback cannot return that same promise.")}function pe(at,yt,pt,dt){try{at.call(yt,pt,dt)}catch(er){return er}}function Ze(at,yt,pt){I(function(dt){var er=!1,or=pe(pt,yt,function(hr){er||(er=!0,yt!==hr?he(dt,hr):St(dt,hr))},function(hr){er||(er=!0,We(dt,hr))},"Settle: "+(dt._label||" unknown promise"));!er&&or&&(er=!0,We(dt,or))},at)}function ot(at,yt){yt._state===R?St(at,yt._result):yt._state===S?We(at,yt._result):Re(yt,void 0,function(pt){return he(at,pt)},function(pt){return We(at,pt)})}function ht(at,yt,pt){yt.constructor===at.constructor&&pt===nt&&yt.constructor.resolve===de?ot(at,yt):pt===void 0?St(at,yt):c(pt)?Ze(at,yt,pt):St(at,yt)}function he(at,yt){if(at===yt)We(at,X());else if(Z(yt)){var pt=void 0;try{pt=yt.then}catch(dt){We(at,dt);return}ht(at,yt,pt)}else St(at,yt)}function Le(at){at._onerror&&at._onerror(at._result),M(at)}function St(at,yt){at._state===K&&(at._result=yt,at._state=R,at._subscribers.length!==0&&I(M,at))}function We(at,yt){at._state===K&&(at._state=S,at._result=yt,I(Le,at))}function Re(at,yt,pt,dt){var er=at._subscribers,or=er.length;at._onerror=null,er[or]=yt,er[or+R]=pt,er[or+S]=dt,or===0&&at._state&&I(M,at)}function M(at){var yt=at._subscribers,pt=at._state;if(yt.length!==0){for(var dt=void 0,er=void 0,or=at._result,hr=0;hr<yt.length;hr+=3)dt=yt[hr],er=yt[hr+pt],dt?_e(pt,dt,er,or):er(or);at._subscribers.length=0}}function _e(at,yt,pt,dt){var er=c(pt),or=void 0,hr=void 0,Er=!0;if(er){try{or=pt(dt)}catch(qr){Er=!1,hr=qr}if(yt===or){We(yt,He());return}}else or=dt;yt._state!==K||(er&&Er?he(yt,or):Er===!1?We(yt,hr):at===R?St(yt,or):at===S&&We(yt,or))}function ge(at,yt){try{yt(function(dt){he(at,dt)},function(dt){We(at,dt)})}catch(pt){We(at,pt)}}var ue=0;function fe(){return ue++}function me(at){at[ce]=ue++,at._state=void 0,at._result=void 0,at._subscribers=[]}function Ie(){return new Error("Array Methods must be provided an Array")}var ye=function(){function at(yt,pt){this._instanceConstructor=yt,this.promise=new yt(y),this.promise[ce]||me(this.promise),D(pt)?(this.length=pt.length,this._remaining=pt.length,this._result=new Array(this.length),this.length===0?St(this.promise,this._result):(this.length=this.length||0,this._enumerate(pt),this._remaining===0&&St(this.promise,this._result))):We(this.promise,Ie())}return at.prototype._enumerate=function(pt){for(var dt=0;this._state===K&&dt<pt.length;dt++)this._eachEntry(pt[dt],dt)},at.prototype._eachEntry=function(pt,dt){var er=this._instanceConstructor,or=er.resolve;if(or===de){var hr=void 0,Er=void 0,qr=!1;try{hr=pt.then}catch(w){qr=!0,Er=w}if(hr===nt&&pt._state!==K)this._settledAt(pt._state,dt,pt._result);else if(typeof hr!="function")this._remaining--,this._result[dt]=pt;else if(er===Ut){var Pr=new er(y);qr?We(Pr,Er):ht(Pr,pt,hr),this._willSettleAt(Pr,dt)}else this._willSettleAt(new er(function(w){return w(pt)}),dt)}else this._willSettleAt(or(pt),dt)},at.prototype._settledAt=function(pt,dt,er){var or=this.promise;or._state===K&&(this._remaining--,pt===S?We(or,er):this._result[dt]=er),this._remaining===0&&St(or,this._result)},at.prototype._willSettleAt=function(pt,dt){var er=this;Re(pt,void 0,function(or){return er._settledAt(R,dt,or)},function(or){return er._settledAt(S,dt,or)})},at}();function Be(at){return new ye(this,at).promise}function Ye(at){var yt=this;return D(at)?new yt(function(pt,dt){for(var er=at.length,or=0;or<er;or++)yt.resolve(at[or]).then(pt,dt)}):new yt(function(pt,dt){return dt(new TypeError("You must pass an array to race."))})}function xt(at){var yt=this,pt=new yt(y);return We(pt,at),pt}function $t(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function Xt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Ut=function(){function at(yt){this[ce]=fe(),this._result=this._state=void 0,this._subscribers=[],y!==yt&&(typeof yt!="function"&&$t(),this instanceof at?ge(this,yt):Xt())}return at.prototype.catch=function(pt){return this.then(null,pt)},at.prototype.finally=function(pt){var dt=this,er=dt.constructor;return c(pt)?dt.then(function(or){return er.resolve(pt()).then(function(){return or})},function(or){return er.resolve(pt()).then(function(){throw or})}):dt.then(pt,pt)},at}();Ut.prototype.then=nt,Ut.all=Be,Ut.race=Ye,Ut.resolve=de,Ut.reject=xt,Ut._setScheduler=z,Ut._setAsap=O,Ut._asap=I;function jt(){var at=void 0;if(typeof n.g!="undefined")at=n.g;else if(typeof self!="undefined")at=self;else try{at=Function("return this")()}catch(dt){throw new Error("polyfill failed because global object is unavailable in this environment")}var yt=at.Promise;if(yt){var pt=null;try{pt=Object.prototype.toString.call(yt.resolve())}catch(dt){}if(pt==="[object Promise]"&&!yt.cast)return}at.Promise=Ut}return Ut.polyfill=jt,Ut.Promise=Ut,Ut})},html2canvas:function(x){"use strict";x.exports=B},jspdf:function(x){"use strict";x.exports=Xe}},q={};function ee(x){var Z=q[x];if(Z!==void 0)return Z.exports;var c=q[x]={exports:{}};return De[x].call(c.exports,c,c.exports,ee),c.exports}(function(){ee.n=function(x){var Z=x&&x.__esModule?function(){return x.default}:function(){return x};return ee.d(Z,{a:Z}),Z}})(),function(){ee.d=function(x,Z){for(var c in Z)ee.o(Z,c)&&!ee.o(x,c)&&Object.defineProperty(x,c,{enumerable:!0,get:Z[c]})}}(),function(){ee.o=function(x,Z){return Object.prototype.hasOwnProperty.call(x,Z)}}(),function(){ee.r=function(x){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(x,"__esModule",{value:!0})}}();var Y={};return function(){"use strict";ee.r(Y);var x=ee("./src/worker.js"),Z=ee("./src/plugin/jspdf-plugin.js"),c=ee("./src/plugin/pagebreaks.js"),L=ee("./src/plugin/hyperlinks.js"),D=function U(F,_){var I=new U.Worker(_);return F?I.from(F).save():I};D.Worker=x.default,Y.default=D}(),Y=Y.default,Y}()})},28685:function(Qr,_t,n){"use strict";n.r(_t),n.d(_t,{AcroForm:function(){return Te},AcroFormAppearance:function(){return wt},AcroFormButton:function(){return or},AcroFormCheckBox:function(){return Pr},AcroFormChoiceField:function(){return yt},AcroFormComboBox:function(){return dt},AcroFormEditBox:function(){return er},AcroFormListBox:function(){return pt},AcroFormPasswordField:function(){return H},AcroFormPushButton:function(){return hr},AcroFormRadioButton:function(){return Er},AcroFormTextField:function(){return w},GState:function(){return de},ShadingPattern:function(){return y},TilingPattern:function(){return K},default:function(){return R},jsPDF:function(){return R}});var o=n(76190),Xe=n(6330),B=n(42978),De=n(6341);var q=function(){return typeof window!="undefined"?window:typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:this}();function ee(){q.console&&typeof q.console.log=="function"&&q.console.log.apply(q.console,arguments)}var Y={log:ee,warn:function(f){q.console&&(typeof q.console.warn=="function"?q.console.warn.apply(q.console,arguments):ee.call(null,arguments))},error:function(f){q.console&&(typeof q.console.error=="function"?q.console.error.apply(q.console,arguments):ee(f))}};function x(f,s,p){var b=new XMLHttpRequest;b.open("GET",f),b.responseType="blob",b.onload=function(){L(b.response,s,p)},b.onerror=function(){Y.error("could not download file")},b.send()}function Z(f){var s=new XMLHttpRequest;s.open("HEAD",f,!1);try{s.send()}catch(p){}return s.status>=200&&s.status<=299}function c(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(p){var s=document.createEvent("MouseEvents");s.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(s)}}var L=q.saveAs||((typeof window=="undefined"?"undefined":(0,o.Z)(window))!=="object"||window!==q?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(f,s,p){var b=q.URL||q.webkitURL,j=document.createElement("a");s=s||f.name||"download",j.download=s,j.rel="noopener",typeof f=="string"?(j.href=f,j.origin!==location.origin?Z(j.href)?x(f,s,p):c(j,j.target="_blank"):c(j)):(j.href=b.createObjectURL(f),setTimeout(function(){b.revokeObjectURL(j.href)},4e4),setTimeout(function(){c(j)},0))}:"msSaveOrOpenBlob"in navigator?function(f,s,p){if(s=s||f.name||"download",typeof f=="string")if(Z(f))x(f,s,p);else{var b=document.createElement("a");b.href=f,b.target="_blank",setTimeout(function(){c(b)})}else navigator.msSaveOrOpenBlob(function(j,d){return d===void 0?d={autoBom:!1}:(0,o.Z)(d)!=="object"&&(Y.warn("Deprecated: Expected third argument to be a object"),d={autoBom:!d}),d.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(j.type)?new Blob(["\uFEFF",j],{type:j.type}):j}(f,p),s)}:function(f,s,p,b){if((b=b||open("","_blank"))&&(b.document.title=b.document.body.innerText="downloading..."),typeof f=="string")return x(f,s,p);var j=f.type==="application/octet-stream",d=/constructor/i.test(q.HTMLElement)||q.safari,ne=/CriOS\/[\d]+/.test(navigator.userAgent);if((ne||j&&d)&&(typeof FileReader=="undefined"?"undefined":(0,o.Z)(FileReader))==="object"){var V=new FileReader;V.onloadend=function(){var it=V.result;it=ne?it:it.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=it:location=it,b=null},V.readAsDataURL(f)}else{var Q=q.URL||q.webkitURL,Ae=Q.createObjectURL(f);b?b.location=Ae:location.href=Ae,b=null,setTimeout(function(){Q.revokeObjectURL(Ae)},4e4)}});function D(f){var s;f=f||"",this.ok=!1,f.charAt(0)=="#"&&(f=f.substr(1,6)),f={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"}[f=(f=f.replace(/ /g,"")).toLowerCase()]||f;for(var p=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(V){return[parseInt(V[1]),parseInt(V[2]),parseInt(V[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(V){return[parseInt(V[1],16),parseInt(V[2],16),parseInt(V[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(V){return[parseInt(V[1]+V[1],16),parseInt(V[2]+V[2],16),parseInt(V[3]+V[3],16)]}}],b=0;b<p.length;b++){var j=p[b].re,d=p[b].process,ne=j.exec(f);ne&&(s=d(ne),this.r=s[0],this.g=s[1],this.b=s[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 V=this.r.toString(16),Q=this.g.toString(16),Ae=this.b.toString(16);return V.length==1&&(V="0"+V),Q.length==1&&(Q="0"+Q),Ae.length==1&&(Ae="0"+Ae),"#"+V+Q+Ae}}var U=q.atob.bind(q),F=q.btoa.bind(q);function _(f,s){var p=f[0],b=f[1],j=f[2],d=f[3];p=z(p,b,j,d,s[0],7,-680876936),d=z(d,p,b,j,s[1],12,-389564586),j=z(j,d,p,b,s[2],17,606105819),b=z(b,j,d,p,s[3],22,-1044525330),p=z(p,b,j,d,s[4],7,-176418897),d=z(d,p,b,j,s[5],12,1200080426),j=z(j,d,p,b,s[6],17,-1473231341),b=z(b,j,d,p,s[7],22,-45705983),p=z(p,b,j,d,s[8],7,1770035416),d=z(d,p,b,j,s[9],12,-1958414417),j=z(j,d,p,b,s[10],17,-42063),b=z(b,j,d,p,s[11],22,-1990404162),p=z(p,b,j,d,s[12],7,1804603682),d=z(d,p,b,j,s[13],12,-40341101),j=z(j,d,p,b,s[14],17,-1502002290),p=O(p,b=z(b,j,d,p,s[15],22,1236535329),j,d,s[1],5,-165796510),d=O(d,p,b,j,s[6],9,-1069501632),j=O(j,d,p,b,s[11],14,643717713),b=O(b,j,d,p,s[0],20,-373897302),p=O(p,b,j,d,s[5],5,-701558691),d=O(d,p,b,j,s[10],9,38016083),j=O(j,d,p,b,s[15],14,-660478335),b=O(b,j,d,p,s[4],20,-405537848),p=O(p,b,j,d,s[9],5,568446438),d=O(d,p,b,j,s[14],9,-1019803690),j=O(j,d,p,b,s[3],14,-187363961),b=O(b,j,d,p,s[8],20,1163531501),p=O(p,b,j,d,s[13],5,-1444681467),d=O(d,p,b,j,s[2],9,-51403784),j=O(j,d,p,b,s[7],14,1735328473),p=A(p,b=O(b,j,d,p,s[12],20,-1926607734),j,d,s[5],4,-378558),d=A(d,p,b,j,s[8],11,-2022574463),j=A(j,d,p,b,s[11],16,1839030562),b=A(b,j,d,p,s[14],23,-35309556),p=A(p,b,j,d,s[1],4,-1530992060),d=A(d,p,b,j,s[4],11,1272893353),j=A(j,d,p,b,s[7],16,-155497632),b=A(b,j,d,p,s[10],23,-1094730640),p=A(p,b,j,d,s[13],4,681279174),d=A(d,p,b,j,s[0],11,-358537222),j=A(j,d,p,b,s[3],16,-722521979),b=A(b,j,d,p,s[6],23,76029189),p=A(p,b,j,d,s[9],4,-640364487),d=A(d,p,b,j,s[12],11,-421815835),j=A(j,d,p,b,s[15],16,530742520),p=oe(p,b=A(b,j,d,p,s[2],23,-995338651),j,d,s[0],6,-198630844),d=oe(d,p,b,j,s[7],10,1126891415),j=oe(j,d,p,b,s[14],15,-1416354905),b=oe(b,j,d,p,s[5],21,-57434055),p=oe(p,b,j,d,s[12],6,1700485571),d=oe(d,p,b,j,s[3],10,-1894986606),j=oe(j,d,p,b,s[10],15,-1051523),b=oe(b,j,d,p,s[1],21,-2054922799),p=oe(p,b,j,d,s[8],6,1873313359),d=oe(d,p,b,j,s[15],10,-30611744),j=oe(j,d,p,b,s[6],15,-1560198380),b=oe(b,j,d,p,s[13],21,1309151649),p=oe(p,b,j,d,s[4],6,-145523070),d=oe(d,p,b,j,s[11],10,-1120210379),j=oe(j,d,p,b,s[2],15,718787259),b=oe(b,j,d,p,s[9],21,-343485551),f[0]=Ce(p,f[0]),f[1]=Ce(b,f[1]),f[2]=Ce(j,f[2]),f[3]=Ce(d,f[3])}function I(f,s,p,b,j,d){return s=Ce(Ce(s,f),Ce(b,d)),Ce(s<<j|s>>>32-j,p)}function z(f,s,p,b,j,d,ne){return I(s&p|~s&b,f,s,j,d,ne)}function O(f,s,p,b,j,d,ne){return I(s&b|p&~b,f,s,j,d,ne)}function A(f,s,p,b,j,d,ne){return I(s^p^b,f,s,j,d,ne)}function oe(f,s,p,b,j,d,ne){return I(p^(s|~b),f,s,j,d,ne)}function J(f){var s,p=f.length,b=[1732584193,-271733879,-1732584194,271733878];for(s=64;s<=f.length;s+=64)_(b,te(f.substring(s-64,s)));f=f.substring(s-64);var j=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s<f.length;s++)j[s>>2]|=f.charCodeAt(s)<<(s%4<<3);if(j[s>>2]|=128<<(s%4<<3),s>55)for(_(b,j),s=0;s<16;s++)j[s]=0;return j[14]=8*p,_(b,j),b}function te(f){var s,p=[];for(s=0;s<64;s+=4)p[s>>2]=f.charCodeAt(s)+(f.charCodeAt(s+1)<<8)+(f.charCodeAt(s+2)<<16)+(f.charCodeAt(s+3)<<24);return p}var Ee="0123456789abcdef".split("");function Pe(f){for(var s="",p=0;p<4;p++)s+=Ee[f>>8*p+4&15]+Ee[f>>8*p&15];return s}function et(f){return String.fromCharCode(255&f,(65280&f)>>8,(16711680&f)>>16,(4278190080&f)>>24)}function ke(f){return J(f).map(et).join("")}var xe=function(f){for(var s=0;s<f.length;s++)f[s]=Pe(f[s]);return f.join("")}(J("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ce(f,s){if(xe){var p=(65535&f)+(65535&s);return(f>>16)+(s>>16)+(p>>16)<<16|65535&p}return f+s&4294967295}function se(f,s){var p,b,j,d;if(f!==p){for(var ne=(j=f,d=1+(256/f.length|0),new Array(d+1).join(j)),V=[],Q=0;Q<256;Q++)V[Q]=Q;var Ae=0;for(Q=0;Q<256;Q++){var it=V[Q];Ae=(Ae+it+ne.charCodeAt(Q))%256,V[Q]=V[Ae],V[Ae]=it}p=f,b=V}else V=b;var Pt=s.length,It=0,ve=0,rt="";for(Q=0;Q<Pt;Q++)ve=(ve+(it=V[It=(It+1)%256]))%256,V[It]=V[ve],V[ve]=it,ne=V[(V[It]+V[ve])%256],rt+=String.fromCharCode(s.charCodeAt(Q)^ne);return rt}var Se={print:4,modify:8,copy:16,"annot-forms":32};function T(f,s,p,b){this.v=1,this.r=2;var j=192;f.forEach(function(V){if(Se.perm!==void 0)throw new Error("Invalid permission: "+V);j+=Se[V]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var d=(s+this.padding).substr(0,32),ne=(p+this.padding).substr(0,32);this.O=this.processOwnerPassword(d,ne),this.P=-(1+(255^j)),this.encryptionKey=ke(d+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(b)).substr(0,5),this.U=se(this.encryptionKey,this.padding)}function P(f){if(/[^\u0000-\u00ff]/.test(f))throw new Error("Invalid PDF Name Object: "+f+", Only accept ASCII characters.");for(var s="",p=f.length,b=0;b<p;b++){var j=f.charCodeAt(b);s+=j<33||j===35||j===37||j===40||j===41||j===47||j===60||j===62||j===91||j===93||j===123||j===125||j>126?"#"+("0"+j.toString(16)).slice(-2):f[b]}return s}function nt(f){if((0,o.Z)(f)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var s={};this.subscribe=function(p,b,j){if(j=j||!1,typeof p!="string"||typeof b!="function"||typeof j!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");s.hasOwnProperty(p)||(s[p]={});var d=Math.random().toString(35);return s[p][d]=[b,!!j],d},this.unsubscribe=function(p){for(var b in s)if(s[b][p])return delete s[b][p],Object.keys(s[b]).length===0&&delete s[b],!0;return!1},this.publish=function(p){if(s.hasOwnProperty(p)){var b=Array.prototype.slice.call(arguments,1),j=[];for(var d in s[p]){var ne=s[p][d];try{ne[0].apply(f,b)}catch(V){q.console&&Y.error("jsPDF PubSub Error",V.message,V)}ne[1]&&j.push(d)}j.length&&j.forEach(this.unsubscribe)}},this.getTopics=function(){return s}}function de(f){if(!(this instanceof de))return new de(f);var s="opacity,stroke-opacity".split(",");for(var p in f)f.hasOwnProperty(p)&&s.indexOf(p)>=0&&(this[p]=f[p]);this.id="",this.objectNumber=-1}function ce(f,s){this.gState=f,this.matrix=s,this.id="",this.objectNumber=-1}function y(f,s,p,b,j){if(!(this instanceof y))return new y(f,s,p,b,j);this.type=f==="axial"?2:3,this.coords=s,this.colors=p,ce.call(this,b,j)}function K(f,s,p,b,j){if(!(this instanceof K))return new K(f,s,p,b,j);this.boundingBox=f,this.xStep=s,this.yStep=p,this.stream="",this.cloneIndex=0,ce.call(this,b,j)}function R(f){var s,p=typeof arguments[0]=="string"?arguments[0]:"p",b=arguments[1],j=arguments[2],d=arguments[3],ne=[],V=1,Q=16,Ae="S",it=null;(0,o.Z)(f=f||{})==="object"&&(p=f.orientation,b=f.unit||b,j=f.format||j,d=f.compress||f.compressPdf||d,(it=f.encryption||null)!==null&&(it.userPassword=it.userPassword||"",it.ownerPassword=it.ownerPassword||"",it.userPermissions=it.userPermissions||[]),V=typeof f.userUnit=="number"?Math.abs(f.userUnit):1,f.precision!==void 0&&(s=f.precision),f.floatPrecision!==void 0&&(Q=f.floatPrecision),Ae=f.defaultPathOperation||"S"),ne=f.filters||(d===!0?["FlateEncode"]:ne),b=b||"mm",p=(""+(p||"P")).toLowerCase();var Pt=f.putOnlyUsedFonts||!1,It={},ve={internal:{},__private__:{}};ve.__private__.PubSub=nt;var rt="1.3",gt=ve.__private__.getPdfVersion=function(){return rt};ve.__private__.setPdfVersion=function(N){rt=N};var Kt={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]};ve.__private__.getPageFormats=function(){return Kt};var ct=ve.__private__.getPageFormat=function(N){return Kt[N]};j=j||"a4";var ur="compat",Cr="advanced",Qt=ur;function tt(){this.saveGraphicsState(),Mt(new la(ea,0,0,-ea,0,ts()*ea).toString()+" cm"),this.setFontSize(this.getFontSize()/ea),Ae="n",Qt=Cr}function we(){this.restoreGraphicsState(),Ae="S",Qt=ur}var kt=ve.__private__.combineFontStyleAndFontWeight=function(N,$e){if(N=="bold"&&$e=="normal"||N=="bold"&&$e==400||N=="normal"&&$e=="italic"||N=="bold"&&$e=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return $e&&(N=$e==400||$e==="normal"?N==="italic"?"italic":"normal":$e!=700&&$e!=="bold"||N!=="normal"?($e==700?"bold":$e)+""+N:"bold"),N};ve.advancedAPI=function(N){var $e=Qt===ur;return $e&&tt.call(this),typeof N!="function"||(N(this),$e&&we.call(this)),this},ve.compatAPI=function(N){var $e=Qt===Cr;return $e&&we.call(this),typeof N!="function"||(N(this),$e&&tt.call(this)),this},ve.isAdvancedAPI=function(){return Qt===Cr};var Ft,Ot=function(N){if(Qt!==Cr)throw new Error(N+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Jt=ve.roundToPrecision=ve.__private__.roundToPrecision=function(N,$e){var Bt=s||$e;if(isNaN(N)||isNaN(Bt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return N.toFixed(Bt).replace(/0+$/,"")};Ft=ve.hpf=ve.__private__.hpf=typeof Q=="number"?function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(N,Q)}:Q==="smart"?function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(N,N>-1&&N<1?16:5)}:function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(N,16)};var Fe=ve.f2=ve.__private__.f2=function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.f2");return Jt(N,2)},Me=ve.__private__.f3=function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.f3");return Jt(N,3)},lt=ve.scale=ve.__private__.scale=function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.scale");return Qt===ur?N*ea:Qt===Cr?N:void 0},Et=function(N){return lt(function($e){return Qt===ur?ts()-$e:Qt===Cr?$e:void 0}(N))};ve.__private__.setPrecision=ve.setPrecision=function(N){typeof parseInt(N,10)=="number"&&(s=parseInt(N,10))};var fr,vr="00000000000000000000000000000000",Zt=ve.__private__.getFileId=function(){return vr},Tt=ve.__private__.setFileId=function(N){return vr=N!==void 0&&/^[a-fA-F0-9]{32}$/.test(N)?N.toUpperCase():vr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),it!==null&&(Xa=new T(it.userPermissions,it.userPassword,it.ownerPassword,vr)),vr};ve.setFileId=function(N){return Tt(N),this},ve.getFileId=function(){return Zt()};var dr=ve.__private__.convertDateToPDFDate=function(N){var $e=N.getTimezoneOffset(),Bt=$e<0?"+":"-",tr=Math.floor(Math.abs($e/60)),Sr=Math.abs($e%60),_r=[Bt,Nt(tr),"'",Nt(Sr),"'"].join("");return["D:",N.getFullYear(),Nt(N.getMonth()+1),Nt(N.getDate()),Nt(N.getHours()),Nt(N.getMinutes()),Nt(N.getSeconds()),_r].join("")},Yt=ve.__private__.convertPDFDateToDate=function(N){var $e=parseInt(N.substr(2,4),10),Bt=parseInt(N.substr(6,2),10)-1,tr=parseInt(N.substr(8,2),10),Sr=parseInt(N.substr(10,2),10),_r=parseInt(N.substr(12,2),10),un=parseInt(N.substr(14,2),10);return new Date($e,Bt,tr,Sr,_r,un,0)},wr=ve.__private__.setCreationDate=function(N){var $e;if(N===void 0&&(N=new Date),N instanceof Date)$e=dr(N);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(N))throw new Error("Invalid argument passed to jsPDF.setCreationDate");$e=N}return fr=$e},je=ve.__private__.getCreationDate=function(N){var $e=fr;return N==="jsDate"&&($e=Yt(fr)),$e};ve.setCreationDate=function(N){return wr(N),this},ve.getCreationDate=function(N){return je(N)};var vt,Nt=ve.__private__.padd2=function(N){return("0"+parseInt(N)).slice(-2)},st=ve.__private__.padd2Hex=function(N){return("00"+(N=N.toString())).substr(N.length)},qt=0,nr=[],Or=[],Ar=0,Rr=[],Hr=[],cn=!1,wn=Or;ve.__private__.setCustomOutputDestination=function(N){cn=!0,wn=N};var Lr=function(N){cn||(wn=N)};ve.__private__.resetCustomOutputDestination=function(){cn=!1,wn=Or};var Mt=ve.__private__.out=function(N){return N=N.toString(),Ar+=N.length+1,wn.push(N),wn},ba=ve.__private__.write=function(N){return Mt(arguments.length===1?N.toString():Array.prototype.join.call(arguments," "))},da=ve.__private__.getArrayBuffer=function(N){for(var $e=N.length,Bt=new ArrayBuffer($e),tr=new Uint8Array(Bt);$e--;)tr[$e]=N.charCodeAt($e);return Bt},Wn=[["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]];ve.__private__.getStandardFonts=function(){return Wn};var Jr=f.fontSize||16;ve.__private__.setFontSize=ve.setFontSize=function(N){return Jr=Qt===Cr?N/ea:N,this};var Vr,En=ve.__private__.getFontSize=ve.getFontSize=function(){return Qt===ur?Jr:Jr*ea},oa=f.R2L||!1;ve.__private__.setR2L=ve.setR2L=function(N){return oa=N,this},ve.__private__.getR2L=ve.getR2L=function(){return oa};var _n,xa=ve.__private__.setZoomMode=function(N){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(N))Vr=N;else if(isNaN(N)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(N)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+N+'" is not recognized.');Vr=N}else Vr=parseInt(N,10)};ve.__private__.getZoomMode=function(){return Vr};var qn,Qn=ve.__private__.setPageMode=function(N){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(N)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+N+'" is not recognized.');_n=N};ve.__private__.getPageMode=function(){return _n};var ka=ve.__private__.setLayoutMode=function(N){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(N)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+N+'" is not recognized.');qn=N};ve.__private__.getLayoutMode=function(){return qn},ve.__private__.setDisplayMode=ve.setDisplayMode=function(N,$e,Bt){return xa(N),ka($e),Qn(Bt),this};var ra={title:"",subject:"",author:"",keywords:"",creator:""};ve.__private__.getDocumentProperty=function(N){if(Object.keys(ra).indexOf(N)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ra[N]},ve.__private__.getDocumentProperties=function(){return ra},ve.__private__.setDocumentProperties=ve.setProperties=ve.setDocumentProperties=function(N){for(var $e in ra)ra.hasOwnProperty($e)&&N[$e]&&(ra[$e]=N[$e]);return this},ve.__private__.setDocumentProperty=function(N,$e){if(Object.keys(ra).indexOf(N)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ra[N]=$e};var Hn,ea,Un,Ln,Xn,rn={},mn={},sa=[],Sn={},ha={},Vn={},Ha={},qa=null,yn=0,Pn=[],fa=new nt(ve),Ja=f.hotfixes||[],Ga={},io={},so=[],la=function N($e,Bt,tr,Sr,_r,un){if(!(this instanceof N))return new N($e,Bt,tr,Sr,_r,un);isNaN($e)&&($e=1),isNaN(Bt)&&(Bt=0),isNaN(tr)&&(tr=0),isNaN(Sr)&&(Sr=1),isNaN(_r)&&(_r=0),isNaN(un)&&(un=0),this._matrix=[$e,Bt,tr,Sr,_r,un]};Object.defineProperty(la.prototype,"sx",{get:function(){return this._matrix[0]},set:function(N){this._matrix[0]=N}}),Object.defineProperty(la.prototype,"shy",{get:function(){return this._matrix[1]},set:function(N){this._matrix[1]=N}}),Object.defineProperty(la.prototype,"shx",{get:function(){return this._matrix[2]},set:function(N){this._matrix[2]=N}}),Object.defineProperty(la.prototype,"sy",{get:function(){return this._matrix[3]},set:function(N){this._matrix[3]=N}}),Object.defineProperty(la.prototype,"tx",{get:function(){return this._matrix[4]},set:function(N){this._matrix[4]=N}}),Object.defineProperty(la.prototype,"ty",{get:function(){return this._matrix[5]},set:function(N){this._matrix[5]=N}}),Object.defineProperty(la.prototype,"a",{get:function(){return this._matrix[0]},set:function(N){this._matrix[0]=N}}),Object.defineProperty(la.prototype,"b",{get:function(){return this._matrix[1]},set:function(N){this._matrix[1]=N}}),Object.defineProperty(la.prototype,"c",{get:function(){return this._matrix[2]},set:function(N){this._matrix[2]=N}}),Object.defineProperty(la.prototype,"d",{get:function(){return this._matrix[3]},set:function(N){this._matrix[3]=N}}),Object.defineProperty(la.prototype,"e",{get:function(){return this._matrix[4]},set:function(N){this._matrix[4]=N}}),Object.defineProperty(la.prototype,"f",{get:function(){return this._matrix[5]},set:function(N){this._matrix[5]=N}}),Object.defineProperty(la.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(la.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(la.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(la.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),la.prototype.join=function(N){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Ft).join(N)},la.prototype.multiply=function(N){var $e=N.sx*this.sx+N.shy*this.shx,Bt=N.sx*this.shy+N.shy*this.sy,tr=N.shx*this.sx+N.sy*this.shx,Sr=N.shx*this.shy+N.sy*this.sy,_r=N.tx*this.sx+N.ty*this.shx+this.tx,un=N.tx*this.shy+N.ty*this.sy+this.ty;return new la($e,Bt,tr,Sr,_r,un)},la.prototype.decompose=function(){var N=this.sx,$e=this.shy,Bt=this.shx,tr=this.sy,Sr=this.tx,_r=this.ty,un=Math.sqrt(N*N+$e*$e),ta=(N/=un)*Bt+($e/=un)*tr;Bt-=N*ta,tr-=$e*ta;var re=Math.sqrt(Bt*Bt+tr*tr);return ta/=re,N*(tr/=re)<$e*(Bt/=re)&&(N=-N,$e=-$e,ta=-ta,un=-un),{scale:new la(un,0,0,re,0,0),translate:new la(1,0,0,1,Sr,_r),rotate:new la(N,$e,-$e,N,0,0),skew:new la(1,0,ta,1,0,0)}},la.prototype.toString=function(N){return this.join(" ")},la.prototype.inversed=function(){var N=this.sx,$e=this.shy,Bt=this.shx,tr=this.sy,Sr=this.tx,_r=this.ty,un=1/(N*tr-$e*Bt),ta=tr*un,re=-$e*un,r=-Bt*un,a=N*un;return new la(ta,re,r,a,-ta*Sr-r*_r,-re*Sr-a*_r)},la.prototype.applyToPoint=function(N){var $e=N.x*this.sx+N.y*this.shx+this.tx,Bt=N.x*this.shy+N.y*this.sy+this.ty;return new Zo($e,Bt)},la.prototype.applyToRectangle=function(N){var $e=this.applyToPoint(N),Bt=this.applyToPoint(new Zo(N.x+N.w,N.y+N.h));return new Ui($e.x,$e.y,Bt.x-$e.x,Bt.y-$e.y)},la.prototype.clone=function(){var N=this.sx,$e=this.shy,Bt=this.shx,tr=this.sy,Sr=this.tx,_r=this.ty;return new la(N,$e,Bt,tr,Sr,_r)},ve.Matrix=la;var Io=ve.matrixMult=function(N,$e){return $e.multiply(N)},Aa=new la(1,0,0,1,0,0);ve.unitMatrix=ve.identityMatrix=Aa;var ja=function(N,$e){if(!ha[N]){var Bt=($e instanceof y?"Sh":"P")+(Object.keys(Sn).length+1).toString(10);$e.id=Bt,ha[N]=Bt,Sn[Bt]=$e,fa.publish("addPattern",$e)}};ve.ShadingPattern=y,ve.TilingPattern=K,ve.addShadingPattern=function(N,$e){return Ot("addShadingPattern()"),ja(N,$e),this},ve.beginTilingPattern=function(N){Ot("beginTilingPattern()"),ds(N.boundingBox[0],N.boundingBox[1],N.boundingBox[2]-N.boundingBox[0],N.boundingBox[3]-N.boundingBox[1],N.matrix)},ve.endTilingPattern=function(N,$e){Ot("endTilingPattern()"),$e.stream=Hr[vt].join(`
`),ja(N,$e),fa.publish("endTilingPattern",$e),so.pop().restore()};var Ta,Na=ve.__private__.newObject=function(){var N=Ba();return ma(N,!0),N},Ba=ve.__private__.newObjectDeferred=function(){return qt++,nr[qt]=function(){return Ar},qt},ma=function(N,$e){return $e=typeof $e=="boolean"&&$e,nr[N]=Ar,$e&&Mt(N+" 0 obj"),N},Ka=ve.__private__.newAdditionalObject=function(){var N={objId:Ba(),content:""};return Rr.push(N),N},La=Ba(),Qa=Ba(),eo=ve.__private__.decodeColorString=function(N){var $e=N.split(" ");if($e.length!==2||$e[1]!=="g"&&$e[1]!=="G")$e.length!==5||$e[4]!=="k"&&$e[4]!=="K"||($e=[(1-$e[0])*(1-$e[3]),(1-$e[1])*(1-$e[3]),(1-$e[2])*(1-$e[3]),"r"]);else{var Bt=parseFloat($e[0]);$e=[Bt,Bt,Bt,"r"]}for(var tr="#",Sr=0;Sr<3;Sr++)tr+=("0"+Math.floor(255*parseFloat($e[Sr])).toString(16)).slice(-2);return tr},lo=ve.__private__.encodeColorString=function(N){var $e;typeof N=="string"&&(N={ch1:N});var Bt=N.ch1,tr=N.ch2,Sr=N.ch3,_r=N.ch4,un=N.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Bt=="string"&&Bt.charAt(0)!=="#"){var ta=new D(Bt);if(ta.ok)Bt=ta.toHex();else if(!/^\d*\.?\d*$/.test(Bt))throw new Error('Invalid color "'+Bt+'" passed to jsPDF.encodeColorString.')}if(typeof Bt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Bt)&&(Bt="#"+Bt[1]+Bt[1]+Bt[2]+Bt[2]+Bt[3]+Bt[3]),typeof Bt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Bt)){var re=parseInt(Bt.substr(1),16);Bt=re>>16&255,tr=re>>8&255,Sr=255&re}if(tr===void 0||_r===void 0&&Bt===tr&&tr===Sr)$e=typeof Bt=="string"?Bt+" "+un[0]:N.precision===2?Fe(Bt/255)+" "+un[0]:Me(Bt/255)+" "+un[0];else if(_r===void 0||(0,o.Z)(_r)==="object"){if(_r&&!isNaN(_r.a)&&_r.a===0)return["1.","1.","1.",un[1]].join(" ");$e=typeof Bt=="string"?[Bt,tr,Sr,un[1]].join(" "):N.precision===2?[Fe(Bt/255),Fe(tr/255),Fe(Sr/255),un[1]].join(" "):[Me(Bt/255),Me(tr/255),Me(Sr/255),un[1]].join(" ")}else $e=typeof Bt=="string"?[Bt,tr,Sr,_r,un[2]].join(" "):N.precision===2?[Fe(Bt),Fe(tr),Fe(Sr),Fe(_r),un[2]].join(" "):[Me(Bt),Me(tr),Me(Sr),Me(_r),un[2]].join(" ");return $e},Ao=ve.__private__.getFilters=function(){return ne},Co=ve.__private__.putStream=function(N){var $e=(N=N||{}).data||"",Bt=N.filters||Ao(),tr=N.alreadyAppliedFilters||[],Sr=N.addLength1||!1,_r=$e.length,un=N.objectId,ta=function(ze){return ze};if(it!==null&&un===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");it!==null&&(ta=Xa.encryptor(un,0));var re={};Bt===!0&&(Bt=["FlateEncode"]);var r=N.additionalKeyValues||[],a=(re=R.API.processDataByFilters!==void 0?R.API.processDataByFilters($e,Bt):{data:$e,reverseChain:[]}).reverseChain+(Array.isArray(tr)?tr.join(" "):tr.toString());if(re.data.length!==0&&(r.push({key:"Length",value:re.data.length}),Sr===!0&&r.push({key:"Length1",value:_r})),a.length!=0)if(a.split("/").length-1==1)r.push({key:"Filter",value:a});else{r.push({key:"Filter",value:"["+a+"]"});for(var l=0;l<r.length;l+=1)if(r[l].key==="DecodeParms"){for(var g=[],k=0;k<re.reverseChain.split("/").length-1;k+=1)g.push("null");g.push(r[l].value),r[l].value="["+g.join(" ")+"]"}}Mt("<<");for(var ie=0;ie<r.length;ie++)Mt("/"+r[ie].key+" "+r[ie].value);Mt(">>"),re.data.length!==0&&(Mt("stream"),Mt(ta(re.data)),Mt("endstream"))},Ra=ve.__private__.putPage=function(N){var $e=N.number,Bt=N.data,tr=N.objId,Sr=N.contentsObjId;ma(tr,!0),Mt("<</Type /Page"),Mt("/Parent "+N.rootDictionaryObjId+" 0 R"),Mt("/Resources "+N.resourceDictionaryObjId+" 0 R"),Mt("/MediaBox ["+parseFloat(Ft(N.mediaBox.bottomLeftX))+" "+parseFloat(Ft(N.mediaBox.bottomLeftY))+" "+Ft(N.mediaBox.topRightX)+" "+Ft(N.mediaBox.topRightY)+"]"),N.cropBox!==null&&Mt("/CropBox ["+Ft(N.cropBox.bottomLeftX)+" "+Ft(N.cropBox.bottomLeftY)+" "+Ft(N.cropBox.topRightX)+" "+Ft(N.cropBox.topRightY)+"]"),N.bleedBox!==null&&Mt("/BleedBox ["+Ft(N.bleedBox.bottomLeftX)+" "+Ft(N.bleedBox.bottomLeftY)+" "+Ft(N.bleedBox.topRightX)+" "+Ft(N.bleedBox.topRightY)+"]"),N.trimBox!==null&&Mt("/TrimBox ["+Ft(N.trimBox.bottomLeftX)+" "+Ft(N.trimBox.bottomLeftY)+" "+Ft(N.trimBox.topRightX)+" "+Ft(N.trimBox.topRightY)+"]"),N.artBox!==null&&Mt("/ArtBox ["+Ft(N.artBox.bottomLeftX)+" "+Ft(N.artBox.bottomLeftY)+" "+Ft(N.artBox.topRightX)+" "+Ft(N.artBox.topRightY)+"]"),typeof N.userUnit=="number"&&N.userUnit!==1&&Mt("/UserUnit "+N.userUnit),fa.publish("putPage",{objId:tr,pageContext:Pn[$e],pageNumber:$e,page:Bt}),Mt("/Contents "+Sr+" 0 R"),Mt(">>"),Mt("endobj");var _r=Bt.join(`
`);return Qt===Cr&&(_r+=`
Q`),ma(Sr,!0),Co({data:_r,filters:Ao(),objectId:Sr}),Mt("endobj"),tr},Uo=ve.__private__.putPages=function(){var N,$e,Bt=[];for(N=1;N<=yn;N++)Pn[N].objId=Ba(),Pn[N].contentsObjId=Ba();for(N=1;N<=yn;N++)Bt.push(Ra({number:N,data:Hr[N],objId:Pn[N].objId,contentsObjId:Pn[N].contentsObjId,mediaBox:Pn[N].mediaBox,cropBox:Pn[N].cropBox,bleedBox:Pn[N].bleedBox,trimBox:Pn[N].trimBox,artBox:Pn[N].artBox,userUnit:Pn[N].userUnit,rootDictionaryObjId:La,resourceDictionaryObjId:Qa}));ma(La,!0),Mt("<</Type /Pages");var tr="/Kids [";for($e=0;$e<yn;$e++)tr+=Bt[$e]+" 0 R ";Mt(tr+"]"),Mt("/Count "+yn),Mt(">>"),Mt("endobj"),fa.publish("postPutPages")},ho=function(N){fa.publish("putFont",{font:N,out:Mt,newObject:Na,putStream:Co}),N.isAlreadyPutted!==!0&&(N.objectNumber=Na(),Mt("<<"),Mt("/Type /Font"),Mt("/BaseFont /"+P(N.postScriptName)),Mt("/Subtype /Type1"),typeof N.encoding=="string"&&Mt("/Encoding /"+N.encoding),Mt("/FirstChar 32"),Mt("/LastChar 255"),Mt(">>"),Mt("endobj"))},No=function(N){N.objectNumber=Na();var $e=[];$e.push({key:"Type",value:"/XObject"}),$e.push({key:"Subtype",value:"/Form"}),$e.push({key:"BBox",value:"["+[Ft(N.x),Ft(N.y),Ft(N.x+N.width),Ft(N.y+N.height)].join(" ")+"]"}),$e.push({key:"Matrix",value:"["+N.matrix.toString()+"]"});var Bt=N.pages[1].join(`
`);Co({data:Bt,additionalKeyValues:$e,objectId:N.objectNumber}),Mt("endobj")},xo=function(N,$e){$e||($e=21);var Bt=Na(),tr=function(un,ta){var re,r=[],a=1/(ta-1);for(re=0;re<1;re+=a)r.push(re);if(r.push(1),un[0].offset!=0){var l={offset:0,color:un[0].color};un.unshift(l)}if(un[un.length-1].offset!=1){var g={offset:1,color:un[un.length-1].color};un.push(g)}for(var k="",ie=0,ze=0;ze<r.length;ze++){for(re=r[ze];re>un[ie+1].offset;)ie++;var Je=un[ie].offset,At=(re-Je)/(un[ie+1].offset-Je),ar=un[ie].color,pr=un[ie+1].color;k+=st(Math.round((1-At)*ar[0]+At*pr[0]).toString(16))+st(Math.round((1-At)*ar[1]+At*pr[1]).toString(16))+st(Math.round((1-At)*ar[2]+At*pr[2]).toString(16))}return k.trim()}(N.colors,$e),Sr=[];Sr.push({key:"FunctionType",value:"0"}),Sr.push({key:"Domain",value:"[0.0 1.0]"}),Sr.push({key:"Size",value:"["+$e+"]"}),Sr.push({key:"BitsPerSample",value:"8"}),Sr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Sr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Co({data:tr,additionalKeyValues:Sr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Bt}),Mt("endobj"),N.objectNumber=Na(),Mt("<< /ShadingType "+N.type),Mt("/ColorSpace /DeviceRGB");var _r="/Coords ["+Ft(parseFloat(N.coords[0]))+" "+Ft(parseFloat(N.coords[1]))+" ";N.type===2?_r+=Ft(parseFloat(N.coords[2]))+" "+Ft(parseFloat(N.coords[3])):_r+=Ft(parseFloat(N.coords[2]))+" "+Ft(parseFloat(N.coords[3]))+" "+Ft(parseFloat(N.coords[4]))+" "+Ft(parseFloat(N.coords[5])),Mt(_r+="]"),N.matrix&&Mt("/Matrix ["+N.matrix.toString()+"]"),Mt("/Function "+Bt+" 0 R"),Mt("/Extend [true true]"),Mt(">>"),Mt("endobj")},ii=function(N,$e){var Bt=Ba(),tr=Na();$e.push({resourcesOid:Bt,objectOid:tr}),N.objectNumber=tr;var Sr=[];Sr.push({key:"Type",value:"/Pattern"}),Sr.push({key:"PatternType",value:"1"}),Sr.push({key:"PaintType",value:"1"}),Sr.push({key:"TilingType",value:"1"}),Sr.push({key:"BBox",value:"["+N.boundingBox.map(Ft).join(" ")+"]"}),Sr.push({key:"XStep",value:Ft(N.xStep)}),Sr.push({key:"YStep",value:Ft(N.yStep)}),Sr.push({key:"Resources",value:Bt+" 0 R"}),N.matrix&&Sr.push({key:"Matrix",value:"["+N.matrix.toString()+"]"}),Co({data:N.stream,additionalKeyValues:Sr,objectId:N.objectNumber}),Mt("endobj")},Ho=function(N){for(var $e in N.objectNumber=Na(),Mt("<<"),N)switch($e){case"opacity":Mt("/ca "+Fe(N[$e]));break;case"stroke-opacity":Mt("/CA "+Fe(N[$e]))}Mt(">>"),Mt("endobj")},ei=function(N){ma(N.resourcesOid,!0),Mt("<<"),Mt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var $e in Mt("/Font <<"),rn)rn.hasOwnProperty($e)&&(Pt===!1||Pt===!0&&It.hasOwnProperty($e))&&Mt("/"+$e+" "+rn[$e].objectNumber+" 0 R");Mt(">>")}(),function(){if(Object.keys(Sn).length>0){for(var $e in Mt("/Shading <<"),Sn)Sn.hasOwnProperty($e)&&Sn[$e]instanceof y&&Sn[$e].objectNumber>=0&&Mt("/"+$e+" "+Sn[$e].objectNumber+" 0 R");fa.publish("putShadingPatternDict"),Mt(">>")}}(),function($e){if(Object.keys(Sn).length>0){for(var Bt in Mt("/Pattern <<"),Sn)Sn.hasOwnProperty(Bt)&&Sn[Bt]instanceof ve.TilingPattern&&Sn[Bt].objectNumber>=0&&Sn[Bt].objectNumber<$e&&Mt("/"+Bt+" "+Sn[Bt].objectNumber+" 0 R");fa.publish("putTilingPatternDict"),Mt(">>")}}(N.objectOid),function(){if(Object.keys(Vn).length>0){var $e;for($e in Mt("/ExtGState <<"),Vn)Vn.hasOwnProperty($e)&&Vn[$e].objectNumber>=0&&Mt("/"+$e+" "+Vn[$e].objectNumber+" 0 R");fa.publish("putGStateDict"),Mt(">>")}}(),function(){for(var $e in Mt("/XObject <<"),Ga)Ga.hasOwnProperty($e)&&Ga[$e].objectNumber>=0&&Mt("/"+$e+" "+Ga[$e].objectNumber+" 0 R");fa.publish("putXobjectDict"),Mt(">>")}(),Mt(">>"),Mt("endobj")},zo=function(N){mn[N.fontName]=mn[N.fontName]||{},mn[N.fontName][N.fontStyle]=N.id},gi=function(N,$e,Bt,tr,Sr){var _r={id:"F"+(Object.keys(rn).length+1).toString(10),postScriptName:N,fontName:$e,fontStyle:Bt,encoding:tr,isStandardFont:Sr||!1,metadata:{}};return fa.publish("addFont",{font:_r,instance:this}),rn[_r.id]=_r,zo(_r),_r.id},_o=ve.__private__.pdfEscape=ve.pdfEscape=function(N,$e){return function(Bt,tr){var Sr,_r,un,ta,re,r,a,l,g;if(un=(tr=tr||{}).sourceEncoding||"Unicode",re=tr.outputEncoding,(tr.autoencode||re)&&rn[Hn].metadata&&rn[Hn].metadata[un]&&rn[Hn].metadata[un].encoding&&(ta=rn[Hn].metadata[un].encoding,!re&&rn[Hn].encoding&&(re=rn[Hn].encoding),!re&&ta.codePages&&(re=ta.codePages[0]),typeof re=="string"&&(re=ta[re]),re)){for(a=!1,r=[],Sr=0,_r=Bt.length;Sr<_r;Sr++)(l=re[Bt.charCodeAt(Sr)])?r.push(String.fromCharCode(l)):r.push(Bt[Sr]),r[Sr].charCodeAt(0)>>8&&(a=!0);Bt=r.join("")}for(Sr=Bt.length;a===void 0&&Sr!==0;)Bt.charCodeAt(Sr-1)>>8&&(a=!0),Sr--;if(!a)return Bt;for(r=tr.noBOM?[]:[254,255],Sr=0,_r=Bt.length;Sr<_r;Sr++){if((g=(l=Bt.charCodeAt(Sr))>>8)>>8)throw new Error("Character at position "+Sr+" of string '"+Bt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");r.push(g),r.push(l-(g<<8))}return String.fromCharCode.apply(void 0,r)}(N,$e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},si=ve.__private__.beginPage=function(N){Hr[++yn]=[],Pn[yn]={objId:0,contentsObjId:0,userUnit:Number(V),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(N[0]),topRightY:Number(N[1])}},vi(yn),Lr(Hr[vt])},zi=function(N,$e){var Bt,tr,Sr;switch(p=$e||p,typeof N=="string"&&(Bt=ct(N.toLowerCase()),Array.isArray(Bt)&&(tr=Bt[0],Sr=Bt[1])),Array.isArray(N)&&(tr=N[0]*ea,Sr=N[1]*ea),isNaN(tr)&&(tr=j[0],Sr=j[1]),(tr>14400||Sr>14400)&&(Y.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),tr=Math.min(14400,tr),Sr=Math.min(14400,Sr)),j=[tr,Sr],p.substr(0,1)){case"l":Sr>tr&&(j=[Sr,tr]);break;case"p":tr>Sr&&(j=[Sr,tr])}si(j),Os(yi),Mt(qi),cs!==0&&Mt(cs+" J"),us!==0&&Mt(us+" j"),fa.publish("addPage",{pageNumber:yn})},li=function(N){N>0&&N<=yn&&(Hr.splice(N,1),Pn.splice(N,1),yn--,vt>yn&&(vt=yn),this.setPage(vt))},vi=function(N){N>0&&N<=yn&&(vt=N)},Di=ve.__private__.getNumberOfPages=ve.getNumberOfPages=function(){return Hr.length-1},wa=function(N,$e,Bt){var tr,Sr=void 0;return Bt=Bt||{},N=N!==void 0?N:rn[Hn].fontName,$e=$e!==void 0?$e:rn[Hn].fontStyle,tr=N.toLowerCase(),mn[tr]!==void 0&&mn[tr][$e]!==void 0?Sr=mn[tr][$e]:mn[N]!==void 0&&mn[N][$e]!==void 0?Sr=mn[N][$e]:Bt.disableWarning===!1&&Y.warn("Unable to look up font label for font '"+N+"', '"+$e+"'. Refer to getFontList() for available fonts."),Sr||Bt.noFallback||(Sr=mn.times[$e])==null&&(Sr=mn.times.normal),Sr},Wa=ve.__private__.putInfo=function(){var N=Na(),$e=function(tr){return tr};for(var Bt in it!==null&&($e=Xa.encryptor(N,0)),Mt("<<"),Mt("/Producer ("+_o($e("jsPDF "+R.version))+")"),ra)ra.hasOwnProperty(Bt)&&ra[Bt]&&Mt("/"+Bt.substr(0,1).toUpperCase()+Bt.substr(1)+" ("+_o($e(ra[Bt]))+")");Mt("/CreationDate ("+_o($e(fr))+")"),Mt(">>"),Mt("endobj")},Ke=ve.__private__.putCatalog=function(N){var $e=(N=N||{}).rootDictionaryObjId||La;switch(Na(),Mt("<<"),Mt("/Type /Catalog"),Mt("/Pages "+$e+" 0 R"),Vr||(Vr="fullwidth"),Vr){case"fullwidth":Mt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Mt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Mt("/OpenAction [3 0 R /Fit]");break;case"original":Mt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Bt=""+Vr;Bt.substr(Bt.length-1)==="%"&&(Vr=parseInt(Vr)/100),typeof Vr=="number"&&Mt("/OpenAction [3 0 R /XYZ null null "+Fe(Vr)+"]")}switch(qn||(qn="continuous"),qn){case"continuous":Mt("/PageLayout /OneColumn");break;case"single":Mt("/PageLayout /SinglePage");break;case"two":case"twoleft":Mt("/PageLayout /TwoColumnLeft");break;case"tworight":Mt("/PageLayout /TwoColumnRight")}_n&&Mt("/PageMode /"+_n),fa.publish("putCatalog"),Mt(">>"),Mt("endobj")},za=ve.__private__.putTrailer=function(){Mt("trailer"),Mt("<<"),Mt("/Size "+(qt+1)),Mt("/Root "+qt+" 0 R"),Mt("/Info "+(qt-1)+" 0 R"),it!==null&&Mt("/Encrypt "+Xa.oid+" 0 R"),Mt("/ID [ <"+vr+"> <"+vr+"> ]"),Mt(">>")},$o=ve.__private__.putHeader=function(){Mt("%PDF-"+rt),Mt("%\xBA\xDF\xAC\xE0")},Do=ve.__private__.putXRef=function(){var N="0000000000";Mt("xref"),Mt("0 "+(qt+1)),Mt("0000000000 65535 f ");for(var $e=1;$e<=qt;$e++)typeof nr[$e]=="function"?Mt((N+nr[$e]()).slice(-10)+" 00000 n "):nr[$e]!==void 0?Mt((N+nr[$e]).slice(-10)+" 00000 n "):Mt("0000000000 00000 n ")},co=ve.__private__.buildDocument=function(){var N;qt=0,Ar=0,Or=[],nr=[],Rr=[],La=Ba(),Qa=Ba(),Lr(Or),fa.publish("buildDocument"),$o(),Uo(),function(){fa.publish("putAdditionalObjects");for(var Bt=0;Bt<Rr.length;Bt++){var tr=Rr[Bt];ma(tr.objId,!0),Mt(tr.content),Mt("endobj")}fa.publish("postPutAdditionalObjects")}(),N=[],function(){for(var Bt in rn)rn.hasOwnProperty(Bt)&&(Pt===!1||Pt===!0&&It.hasOwnProperty(Bt))&&ho(rn[Bt])}(),function(){var Bt;for(Bt in Vn)Vn.hasOwnProperty(Bt)&&Ho(Vn[Bt])}(),function(){for(var Bt in Ga)Ga.hasOwnProperty(Bt)&&No(Ga[Bt])}(),function(Bt){var tr;for(tr in Sn)Sn.hasOwnProperty(tr)&&(Sn[tr]instanceof y?xo(Sn[tr]):Sn[tr]instanceof K&&ii(Sn[tr],Bt))}(N),fa.publish("putResources"),N.forEach(ei),ei({resourcesOid:Qa,objectOid:Number.MAX_SAFE_INTEGER}),fa.publish("postPutResources"),it!==null&&(Xa.oid=Na(),Mt("<<"),Mt("/Filter /Standard"),Mt("/V "+Xa.v),Mt("/R "+Xa.r),Mt("/U <"+Xa.toHexString(Xa.U)+">"),Mt("/O <"+Xa.toHexString(Xa.O)+">"),Mt("/P "+Xa.P),Mt(">>"),Mt("endobj")),Wa(),Ke();var $e=Ar;return Do(),za(),Mt("startxref"),Mt(""+$e),Mt("%%EOF"),Lr(Hr[vt]),Or.join(`
`)},go=ve.__private__.getBlob=function(N){return new Blob([da(N)],{type:"application/pdf"})},wo=ve.output=ve.__private__.output=(Ta=function(N,$e){switch(typeof($e=$e||{})=="string"?$e={filename:$e}:$e.filename=$e.filename||"generated.pdf",N){case void 0:return co();case"save":ve.save($e.filename);break;case"arraybuffer":return da(co());case"blob":return go(co());case"bloburi":case"bloburl":if(q.URL!==void 0&&typeof q.URL.createObjectURL=="function")return q.URL&&q.URL.createObjectURL(go(co()))||void 0;Y.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Bt="",tr=co();try{Bt=F(tr)}catch(k){Bt=F(unescape(encodeURIComponent(tr)))}return"data:application/pdf;filename="+$e.filename+";base64,"+Bt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(q)==="[object Window]"){var Sr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",_r=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';$e.pdfObjectUrl&&(Sr=$e.pdfObjectUrl,_r="");var un='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Sr+'"'+_r+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify($e)+");<\/script></body></html>",ta=q.open();return ta!==null&&ta.document.write(un),ta}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(q)==="[object Window]"){var re='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+($e.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+$e.filename+'" width="500px" height="400px" /></body></html>',r=q.open();if(r!==null){r.document.write(re);var a=this;r.document.documentElement.querySelector("#pdfViewer").onload=function(){r.document.title=$e.filename,r.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(a.output("bloburl"))}}return r}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(q)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",$e)+'"></iframe></body></html>',g=q.open();if(g!==null&&(g.document.write(l),g.document.title=$e.filename),g||typeof safari=="undefined")return g;break;case"datauri":case"dataurl":return q.document.location.href=this.output("datauristring",$e);default:return null}},Ta.foo=function(){try{return Ta.apply(this,arguments)}catch(Bt){var N=Bt.stack||"";~N.indexOf(" at ")&&(N=N.split(" at ")[1]);var $e="Error in function "+N.split(`
`)[0].split("<")[0]+": "+Bt.message;if(!q.console)throw new Error($e);q.console.error($e,Bt),q.alert&&alert($e)}},Ta.foo.bar=Ta,Ta.foo),Ri=function(N){return Array.isArray(Ja)===!0&&Ja.indexOf(N)>-1};switch(b){case"pt":ea=1;break;case"mm":ea=72/25.4;break;case"cm":ea=72/2.54;break;case"in":ea=72;break;case"px":ea=Ri("px_scaling")==1?.75:96/72;break;case"pc":case"em":ea=12;break;case"ex":ea=6;break;default:if(typeof b!="number")throw new Error("Invalid unit: "+b);ea=b}var Xa=null;wr(),Tt();var Xi=ve.__private__.getPageInfo=ve.getPageInfo=function(N){if(isNaN(N)||N%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Pn[N].objId,pageNumber:N,pageContext:Pn[N]}},Ei=ve.__private__.getPageInfoByObjId=function(N){if(isNaN(N)||N%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var $e in Pn)if(Pn[$e].objId===N)break;return Xi($e)},Fi=ve.__private__.getCurrentPageInfo=ve.getCurrentPageInfo=function(){return{objId:Pn[vt].objId,pageNumber:vt,pageContext:Pn[vt]}};ve.addPage=function(){return zi.apply(this,arguments),this},ve.setPage=function(){return vi.apply(this,arguments),Lr.call(this,Hr[vt]),this},ve.insertPage=function(N){return this.addPage(),this.movePage(vt,N),this},ve.movePage=function(N,$e){var Bt,tr;if(N>$e){Bt=Hr[N],tr=Pn[N];for(var Sr=N;Sr>$e;Sr--)Hr[Sr]=Hr[Sr-1],Pn[Sr]=Pn[Sr-1];Hr[$e]=Bt,Pn[$e]=tr,this.setPage($e)}else if(N<$e){Bt=Hr[N],tr=Pn[N];for(var _r=N;_r<$e;_r++)Hr[_r]=Hr[_r+1],Pn[_r]=Pn[_r+1];Hr[$e]=Bt,Pn[$e]=tr,this.setPage($e)}return this},ve.deletePage=function(){return li.apply(this,arguments),this},ve.__private__.text=ve.text=function(N,$e,Bt,tr,Sr){var _r,un,ta,re,r,a,l,g,k,ie=(tr=tr||{}).scope||this;if(typeof N=="number"&&typeof $e=="number"&&(typeof Bt=="string"||Array.isArray(Bt))){var ze=Bt;Bt=$e,$e=N,N=ze}if(arguments[3]instanceof la==0?(ta=arguments[4],re=arguments[5],(0,o.Z)(l=arguments[3])==="object"&&l!==null||(typeof ta=="string"&&(re=ta,ta=null),typeof l=="string"&&(re=l,l=null),typeof l=="number"&&(ta=l,l=null),tr={flags:l,angle:ta,align:re})):(Ot("The transform parameter of text() with a Matrix value"),k=Sr),isNaN($e)||isNaN(Bt)||N==null)throw new Error("Invalid arguments passed to jsPDF.text");if(N.length===0)return ie;var Je,At="",ar=typeof tr.lineHeightFactor=="number"?tr.lineHeightFactor:Xo,pr=ie.internal.scaleFactor;function Ur(_a){return _a=_a.split(" ").join(Array(tr.TabLen||9).join(" ")),_o(_a,l)}function en(_a){for(var uo,bo=_a.concat(),To=[],ai=bo.length;ai--;)typeof(uo=bo.shift())=="string"?To.push(uo):Array.isArray(_a)&&(uo.length===1||uo[1]===void 0&&uo[2]===void 0)?To.push(uo[0]):To.push([uo[0],uo[1],uo[2]]);return To}function hn(_a,uo){var bo;if(typeof _a=="string")bo=uo(_a)[0];else if(Array.isArray(_a)){for(var To,ai,Gi=_a.concat(),ns=[],vs=Gi.length;vs--;)typeof(To=Gi.shift())=="string"?ns.push(uo(To)[0]):Array.isArray(To)&&typeof To[0]=="string"&&(ai=uo(To[0],To[1],To[2]),ns.push([ai[0],ai[1],ai[2]]));bo=ns}return bo}var In=!1,Gn=!0;if(typeof N=="string")In=!0;else if(Array.isArray(N)){var Oa=N.concat();un=[];for(var u,e=Oa.length;e--;)(typeof(u=Oa.shift())!="string"||Array.isArray(u)&&typeof u[0]!="string")&&(Gn=!1);In=Gn}if(In===!1)throw new Error('Type of text must be string or Array. "'+N+'" is not recognized.');typeof N=="string"&&(N=N.match(/[\r?\n]/)?N.split(/\r\n|\r|\n/g):[N]);var t=Jr/ie.internal.scaleFactor,h=t*(ar-1);switch(tr.baseline){case"bottom":Bt-=h;break;case"top":Bt+=t-h;break;case"hanging":Bt+=t-2*h;break;case"middle":Bt+=t/2-h}if((a=tr.maxWidth||0)>0&&(typeof N=="string"?N=ie.splitTextToSize(N,a):Object.prototype.toString.call(N)==="[object Array]"&&(N=N.reduce(function(_a,uo){return _a.concat(ie.splitTextToSize(uo,a))},[]))),_r={text:N,x:$e,y:Bt,options:tr,mutex:{pdfEscape:_o,activeFontKey:Hn,fonts:rn,activeFontSize:Jr}},fa.publish("preProcessText",_r),N=_r.text,ta=(tr=_r.options).angle,k instanceof la==0&&ta&&typeof ta=="number"){ta*=Math.PI/180,tr.rotationDirection===0&&(ta=-ta),Qt===Cr&&(ta=-ta);var E=Math.cos(ta),G=Math.sin(ta);k=new la(E,G,-G,E,0,0)}else ta&&ta instanceof la&&(k=ta);Qt!==Cr||k||(k=Aa),(r=tr.charSpace||Wi)!==void 0&&(At+=Ft(lt(r))+` Tc
`,this.setCharSpace(this.getCharSpace()||0)),(g=tr.horizontalScale)!==void 0&&(At+=Ft(100*g)+` Tz
`),tr.lang;var be=-1,Ve=tr.renderingMode!==void 0?tr.renderingMode:tr.stroke,qe=ie.internal.getCurrentPageInfo().pageContext;switch(Ve){case 0:case!1:case"fill":be=0;break;case 1:case!0:case"stroke":be=1;break;case 2:case"fillThenStroke":be=2;break;case 3:case"invisible":be=3;break;case 4:case"fillAndAddForClipping":be=4;break;case 5:case"strokeAndAddPathForClipping":be=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":be=6;break;case 7:case"addToPathForClipping":be=7}var Wt=qe.usedRenderingMode!==void 0?qe.usedRenderingMode:-1;be!==-1?At+=be+` Tr
`:Wt!==-1&&(At+=`0 Tr
`),be!==-1&&(qe.usedRenderingMode=be),re=tr.align||"left";var lr,yr=Jr*ar,Zr=ie.internal.pageSize.getWidth(),kr=rn[Hn];r=tr.charSpace||Wi,a=tr.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},tr.flags);var dn=[],gn=function(_a){return ie.getStringUnitWidth(_a,{font:kr,charSpace:r,fontSize:Jr,doKerning:!1})*Jr/pr};if(Object.prototype.toString.call(N)==="[object Array]"){var Nn;un=en(N),re!=="left"&&(lr=un.map(gn));var Tn,ca=0;if(re==="right"){$e-=lr[0],N=[],e=un.length;for(var va=0;va<e;va++)va===0?(Tn=ti($e),Nn=xi(Bt)):(Tn=lt(ca-lr[va]),Nn=-yr),N.push([un[va],Tn,Nn]),ca=lr[va]}else if(re==="center"){$e-=lr[0]/2,N=[],e=un.length;for(var Pa=0;Pa<e;Pa++)Pa===0?(Tn=ti($e),Nn=xi(Bt)):(Tn=lt((ca-lr[Pa])/2),Nn=-yr),N.push([un[Pa],Tn,Nn]),ca=lr[Pa]}else if(re==="left"){N=[],e=un.length;for(var $a=0;$a<e;$a++)N.push(un[$a])}else if(re==="justify"&&kr.encoding==="Identity-H"){N=[],e=un.length,a=a!==0?a:Zr;for(var Fa=0,Sa=0;Sa<e;Sa++)if(Nn=Sa===0?xi(Bt):-yr,Tn=Sa===0?ti($e):Fa,Sa<e-1){var fo=lt((a-lr[Sa])/(un[Sa].split(" ").length-1)),Ua=un[Sa].split(" ");N.push([Ua[0]+" ",Tn,Nn]),Fa=0;for(var Po=1;Po<Ua.length;Po++){var jo=(gn(Ua[Po-1]+" "+Ua[Po])-gn(Ua[Po]))*pr+fo;Po==Ua.length-1?N.push([Ua[Po],jo,0]):N.push([Ua[Po]+" ",jo,0]),Fa-=jo}}else N.push([un[Sa],Tn,Nn]);N.push(["",Fa,0])}else{if(re!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(N=[],e=un.length,a=a!==0?a:Zr,Sa=0;Sa<e;Sa++){Nn=Sa===0?xi(Bt):-yr,Tn=Sa===0?ti($e):0;var vo=un[Sa].split(" ").length-1,ri=vo>0?(a-lr[Sa])/vo:0;Sa<e-1?dn.push(Ft(lt(ri))):dn.push(0),N.push([un[Sa],Tn,Nn])}}}(typeof tr.R2L=="boolean"?tr.R2L:oa)===!0&&(N=hn(N,function(_a,uo,bo){return[_a.split("").reverse().join(""),uo,bo]})),_r={text:N,x:$e,y:Bt,options:tr,mutex:{pdfEscape:_o,activeFontKey:Hn,fonts:rn,activeFontSize:Jr}},fa.publish("postProcessText",_r),N=_r.text,Je=_r.mutex.isHex||!1;var Oo=rn[Hn].encoding;Oo!=="WinAnsiEncoding"&&Oo!=="StandardEncoding"||(N=hn(N,function(_a,uo,bo){return[Ur(_a),uo,bo]})),un=en(N),N=[];for(var Wo,Yo,hi,Si=Array.isArray(un[0])?1:0,Vi="",ni=function(_a,uo,bo){var To="";return bo instanceof la?(bo=typeof tr.angle=="number"?Io(bo,new la(1,0,0,1,_a,uo)):Io(new la(1,0,0,1,_a,uo),bo),Qt===Cr&&(bo=Io(new la(1,0,0,-1,0,0),bo)),To=bo.join(" ")+` Tm
`):To=Ft(_a)+" "+Ft(uo)+` Td
`,To},Ro=0;Ro<un.length;Ro++){switch(Vi="",Si){case 1:hi=(Je?"<":"(")+un[Ro][0]+(Je?">":")"),Wo=parseFloat(un[Ro][1]),Yo=parseFloat(un[Ro][2]);break;case 0:hi=(Je?"<":"(")+un[Ro]+(Je?">":")"),Wo=ti($e),Yo=xi(Bt)}dn!==void 0&&dn[Ro]!==void 0&&(Vi=dn[Ro]+` Tw
`),Ro===0?N.push(Vi+ni(Wo,Yo,k)+hi):Si===0?N.push(Vi+hi):Si===1&&N.push(Vi+ni(Wo,Yo,k)+hi)}N=Si===0?N.join(` Tj
T* `):N.join(` Tj
`),N+=` Tj
`;var Mo=`BT
/`;return Mo+=Hn+" "+Jr+` Tf
`,Mo+=Ft(Jr*ar)+` TL
`,Mo+=Ai+`
`,Mo+=At,Mo+=N,Mt(Mo+="ET"),It[Hn]=!0,ie};var Ss=ve.__private__.clip=ve.clip=function(N){return Mt(N==="evenodd"?"W*":"W"),this};ve.clipEvenOdd=function(){return Ss("evenodd")},ve.__private__.discardPath=ve.discardPath=function(){return Mt("n"),this};var ci=ve.__private__.isValidStyle=function(N){var $e=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(N)!==-1&&($e=!0),$e};ve.__private__.setDefaultPathOperation=ve.setDefaultPathOperation=function(N){return ci(N)&&(Ae=N),this};var ss=ve.__private__.getStyle=ve.getStyle=function(N){var $e=Ae;switch(N){case"D":case"S":$e="S";break;case"F":$e="f";break;case"FD":case"DF":$e="B";break;case"f":case"f*":case"B":case"B*":$e=N}return $e},ls=ve.close=function(){return Mt("h"),this};ve.stroke=function(){return Mt("S"),this},ve.fill=function(N){return ui("f",N),this},ve.fillEvenOdd=function(N){return ui("f*",N),this},ve.fillStroke=function(N){return ui("B",N),this},ve.fillStrokeEvenOdd=function(N){return ui("B*",N),this};var ui=function(N,$e){(0,o.Z)($e)==="object"?fs($e,N):Mt(N)},Yi=function(N){N===null||Qt===Cr&&N===void 0||(N=ss(N),Mt(N))};function Cs(N,$e,Bt,tr,Sr){var _r=new K($e||this.boundingBox,Bt||this.xStep,tr||this.yStep,this.gState,Sr||this.matrix);_r.stream=this.stream;var un=N+"$$"+this.cloneIndex+++"$$";return ja(un,_r),_r}var fs=function(N,$e){var Bt=ha[N.key],tr=Sn[Bt];if(tr instanceof y)Mt("q"),Mt(Ts($e)),tr.gState&&ve.setGState(tr.gState),Mt(N.matrix.toString()+" cm"),Mt("/"+Bt+" sh"),Mt("Q");else if(tr instanceof K){var Sr=new la(1,0,0,-1,0,ts());N.matrix&&(Sr=Sr.multiply(N.matrix||Aa),Bt=Cs.call(tr,N.key,N.boundingBox,N.xStep,N.yStep,Sr).id),Mt("q"),Mt("/Pattern cs"),Mt("/"+Bt+" scn"),tr.gState&&ve.setGState(tr.gState),Mt($e),Mt("Q")}},Ts=function(N){switch(N){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"}},ki=ve.moveTo=function(N,$e){return Mt(Ft(lt(N))+" "+Ft(Et($e))+" m"),this},bi=ve.lineTo=function(N,$e){return Mt(Ft(lt(N))+" "+Ft(Et($e))+" l"),this},di=ve.curveTo=function(N,$e,Bt,tr,Sr,_r){return Mt([Ft(lt(N)),Ft(Et($e)),Ft(lt(Bt)),Ft(Et(tr)),Ft(lt(Sr)),Ft(Et(_r)),"c"].join(" ")),this};ve.__private__.line=ve.line=function(N,$e,Bt,tr,Sr){if(isNaN(N)||isNaN($e)||isNaN(Bt)||isNaN(tr)||!ci(Sr))throw new Error("Invalid arguments passed to jsPDF.line");return Qt===ur?this.lines([[Bt-N,tr-$e]],N,$e,[1,1],Sr||"S"):this.lines([[Bt-N,tr-$e]],N,$e,[1,1]).stroke()},ve.__private__.lines=ve.lines=function(N,$e,Bt,tr,Sr,_r){var un,ta,re,r,a,l,g,k,ie,ze,Je,At;if(typeof N=="number"&&(At=Bt,Bt=$e,$e=N,N=At),tr=tr||[1,1],_r=_r||!1,isNaN($e)||isNaN(Bt)||!Array.isArray(N)||!Array.isArray(tr)||!ci(Sr)||typeof _r!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ki($e,Bt),un=tr[0],ta=tr[1],r=N.length,ze=$e,Je=Bt,re=0;re<r;re++)(a=N[re]).length===2?(ze=a[0]*un+ze,Je=a[1]*ta+Je,bi(ze,Je)):(l=a[0]*un+ze,g=a[1]*ta+Je,k=a[2]*un+ze,ie=a[3]*ta+Je,ze=a[4]*un+ze,Je=a[5]*ta+Je,di(l,g,k,ie,ze,Je));return _r&&ls(),Yi(Sr),this},ve.path=function(N){for(var $e=0;$e<N.length;$e++){var Bt=N[$e],tr=Bt.c;switch(Bt.op){case"m":ki(tr[0],tr[1]);break;case"l":bi(tr[0],tr[1]);break;case"c":di.apply(this,tr);break;case"h":ls()}}return this},ve.__private__.rect=ve.rect=function(N,$e,Bt,tr,Sr){if(isNaN(N)||isNaN($e)||isNaN(Bt)||isNaN(tr)||!ci(Sr))throw new Error("Invalid arguments passed to jsPDF.rect");return Qt===ur&&(tr=-tr),Mt([Ft(lt(N)),Ft(Et($e)),Ft(lt(Bt)),Ft(lt(tr)),"re"].join(" ")),Yi(Sr),this},ve.__private__.triangle=ve.triangle=function(N,$e,Bt,tr,Sr,_r,un){if(isNaN(N)||isNaN($e)||isNaN(Bt)||isNaN(tr)||isNaN(Sr)||isNaN(_r)||!ci(un))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Bt-N,tr-$e],[Sr-Bt,_r-tr],[N-Sr,$e-_r]],N,$e,[1,1],un,!0),this},ve.__private__.roundedRect=ve.roundedRect=function(N,$e,Bt,tr,Sr,_r,un){if(isNaN(N)||isNaN($e)||isNaN(Bt)||isNaN(tr)||isNaN(Sr)||isNaN(_r)||!ci(un))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ta=4/3*(Math.SQRT2-1);return Sr=Math.min(Sr,.5*Bt),_r=Math.min(_r,.5*tr),this.lines([[Bt-2*Sr,0],[Sr*ta,0,Sr,_r-_r*ta,Sr,_r],[0,tr-2*_r],[0,_r*ta,-Sr*ta,_r,-Sr,_r],[2*Sr-Bt,0],[-Sr*ta,0,-Sr,-_r*ta,-Sr,-_r],[0,2*_r-tr],[0,-_r*ta,Sr*ta,-_r,Sr,-_r]],N+Sr,$e,[1,1],un,!0),this},ve.__private__.ellipse=ve.ellipse=function(N,$e,Bt,tr,Sr){if(isNaN(N)||isNaN($e)||isNaN(Bt)||isNaN(tr)||!ci(Sr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var _r=4/3*(Math.SQRT2-1)*Bt,un=4/3*(Math.SQRT2-1)*tr;return ki(N+Bt,$e),di(N+Bt,$e-un,N+_r,$e-tr,N,$e-tr),di(N-_r,$e-tr,N-Bt,$e-un,N-Bt,$e),di(N-Bt,$e+un,N-_r,$e+tr,N,$e+tr),di(N+_r,$e+tr,N+Bt,$e+un,N+Bt,$e),Yi(Sr),this},ve.__private__.circle=ve.circle=function(N,$e,Bt,tr){if(isNaN(N)||isNaN($e)||isNaN(Bt)||!ci(tr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(N,$e,Bt,Bt,tr)},ve.setFont=function(N,$e,Bt){return Bt&&($e=kt($e,Bt)),Hn=wa(N,$e,{disableWarning:!1}),this};var ms=ve.__private__.getFont=ve.getFont=function(){return rn[wa.apply(ve,arguments)]};ve.__private__.getFontList=ve.getFontList=function(){var N,$e,Bt={};for(N in mn)if(mn.hasOwnProperty(N))for($e in Bt[N]=[],mn[N])mn[N].hasOwnProperty($e)&&Bt[N].push($e);return Bt},ve.addFont=function(N,$e,Bt,tr,Sr){var _r=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&_r.indexOf(arguments[3])!==-1?Sr=arguments[3]:arguments[3]&&_r.indexOf(arguments[3])==-1&&(Bt=kt(Bt,tr)),gi.call(this,N,$e,Bt,Sr=Sr||"Identity-H")};var Xo,yi=f.lineWidth||.200025,Ia=ve.__private__.getLineWidth=ve.getLineWidth=function(){return yi},Os=ve.__private__.setLineWidth=ve.setLineWidth=function(N){return yi=N,Mt(Ft(lt(N))+" w"),this};ve.__private__.setLineDash=R.API.setLineDash=R.API.setLineDashPattern=function(N,$e){if(N=N||[],$e=$e||0,isNaN($e)||!Array.isArray(N))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return N=N.map(function(Bt){return Ft(lt(Bt))}).join(" "),$e=Ft(lt($e)),Mt("["+N+"] "+$e+" d"),this};var ps=ve.__private__.getLineHeight=ve.getLineHeight=function(){return Jr*Xo};ve.__private__.getLineHeight=ve.getLineHeight=function(){return Jr*Xo};var Bs=ve.__private__.setLineHeightFactor=ve.setLineHeightFactor=function(N){return typeof(N=N||1.15)=="number"&&(Xo=N),this},Hi=ve.__private__.getLineHeightFactor=ve.getLineHeightFactor=function(){return Xo};Bs(f.lineHeight);var ti=ve.__private__.getHorizontalCoordinate=function(N){return lt(N)},xi=ve.__private__.getVerticalCoordinate=function(N){return Qt===Cr?N:Pn[vt].mediaBox.topRightY-Pn[vt].mediaBox.bottomLeftY-lt(N)},Es=ve.__private__.getHorizontalCoordinateString=ve.getHorizontalCoordinateString=function(N){return Ft(ti(N))},Ls=ve.__private__.getVerticalCoordinateString=ve.getVerticalCoordinateString=function(N){return Ft(xi(N))},qi=f.strokeColor||"0 G";ve.__private__.getStrokeColor=ve.getDrawColor=function(){return eo(qi)},ve.__private__.setStrokeColor=ve.setDrawColor=function(N,$e,Bt,tr){return qi=lo({ch1:N,ch2:$e,ch3:Bt,ch4:tr,pdfColorType:"draw",precision:2}),Mt(qi),this};var Ii=f.fillColor||"0 g";ve.__private__.getFillColor=ve.getFillColor=function(){return eo(Ii)},ve.__private__.setFillColor=ve.setFillColor=function(N,$e,Bt,tr){return Ii=lo({ch1:N,ch2:$e,ch3:Bt,ch4:tr,pdfColorType:"fill",precision:2}),Mt(Ii),this};var Ai=f.textColor||"0 g",Ji=ve.__private__.getTextColor=ve.getTextColor=function(){return eo(Ai)};ve.__private__.setTextColor=ve.setTextColor=function(N,$e,Bt,tr){return Ai=lo({ch1:N,ch2:$e,ch3:Bt,ch4:tr,pdfColorType:"text",precision:3}),this};var Wi=f.charSpace,Is=ve.__private__.getCharSpace=ve.getCharSpace=function(){return parseFloat(Wi||0)};ve.__private__.setCharSpace=ve.setCharSpace=function(N){if(isNaN(N))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Wi=N,this};var cs=0;ve.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},ve.__private__.setLineCap=ve.setLineCap=function(N){var $e=ve.CapJoinStyles[N];if($e===void 0)throw new Error("Line cap style of '"+N+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return cs=$e,Mt($e+" J"),this};var us=0;ve.__private__.setLineJoin=ve.setLineJoin=function(N){var $e=ve.CapJoinStyles[N];if($e===void 0)throw new Error("Line join style of '"+N+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return us=$e,Mt($e+" j"),this},ve.__private__.setLineMiterLimit=ve.__private__.setMiterLimit=ve.setLineMiterLimit=ve.setMiterLimit=function(N){if(N=N||0,isNaN(N))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Mt(Ft(lt(N))+" M"),this},ve.GState=de,ve.setGState=function(N){(N=typeof N=="string"?Vn[Ha[N]]:ft(null,N)).equals(qa)||(Mt("/"+N.id+" gs"),qa=N)};var ft=function(N,$e){if(!N||!Ha[N]){var Bt=!1;for(var tr in Vn)if(Vn.hasOwnProperty(tr)&&Vn[tr].equals($e)){Bt=!0;break}if(Bt)$e=Vn[tr];else{var Sr="GS"+(Object.keys(Vn).length+1).toString(10);Vn[Sr]=$e,$e.id=Sr}return N&&(Ha[N]=$e.id),fa.publish("addGState",$e),$e}};ve.addGState=function(N,$e){return ft(N,$e),this},ve.saveGraphicsState=function(){return Mt("q"),sa.push({key:Hn,size:Jr,color:Ai}),this},ve.restoreGraphicsState=function(){Mt("Q");var N=sa.pop();return Hn=N.key,Jr=N.size,Ai=N.color,qa=null,this},ve.setCurrentTransformationMatrix=function(N){return Mt(N.toString()+" cm"),this},ve.comment=function(N){return Mt("#"+N),this};var Zo=function(N,$e){var Bt=N||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Bt},set:function(_r){isNaN(_r)||(Bt=parseFloat(_r))}});var tr=$e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return tr},set:function(_r){isNaN(_r)||(tr=parseFloat(_r))}});var Sr="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Sr},set:function(_r){Sr=_r.toString()}}),this},Ui=function(N,$e,Bt,tr){Zo.call(this,N,$e),this.type="rect";var Sr=Bt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Sr},set:function(un){isNaN(un)||(Sr=parseFloat(un))}});var _r=tr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return _r},set:function(un){isNaN(un)||(_r=parseFloat(un))}}),this},Zi=function(){this.page=yn,this.currentPage=vt,this.pages=Hr.slice(0),this.pagesContext=Pn.slice(0),this.x=Un,this.y=Ln,this.matrix=Xn,this.width=gs(vt),this.height=Pi(vt),this.outputDestination=wn,this.id="",this.objectNumber=-1};Zi.prototype.restore=function(){yn=this.page,vt=this.currentPage,Pn=this.pagesContext,Hr=this.pages,Un=this.x,Ln=this.y,Xn=this.matrix,Qi(vt,this.width),wi(vt,this.height),wn=this.outputDestination};var ds=function(N,$e,Bt,tr,Sr){so.push(new Zi),yn=vt=0,Hr=[],Un=N,Ln=$e,Xn=Sr,si([Bt,tr])};for(var $i in ve.beginFormObject=function(N,$e,Bt,tr,Sr){return ds(N,$e,Bt,tr,Sr),this},ve.endFormObject=function(N){return function($e){if(io[$e])so.pop().restore();else{var Bt=new Zi,tr="Xo"+(Object.keys(Ga).length+1).toString(10);Bt.id=tr,io[$e]=tr,Ga[tr]=Bt,fa.publish("addFormObject",Bt),so.pop().restore()}}(N),this},ve.doFormObject=function(N,$e){var Bt=Ga[io[N]];return Mt("q"),Mt($e.toString()+" cm"),Mt("/"+Bt.id+" Do"),Mt("Q"),this},ve.getFormObject=function(N){var $e=Ga[io[N]];return{x:$e.x,y:$e.y,width:$e.width,height:$e.height,matrix:$e.matrix}},ve.save=function(N,$e){return N=N||"generated.pdf",($e=$e||{}).returnPromise=$e.returnPromise||!1,$e.returnPromise===!1?(L(go(co()),N),typeof L.unload=="function"&&q.setTimeout&&setTimeout(L.unload,911),this):new Promise(function(Bt,tr){try{var Sr=L(go(co()),N);typeof L.unload=="function"&&q.setTimeout&&setTimeout(L.unload,911),Bt(Sr)}catch(_r){tr(_r.message)}})},R.API)R.API.hasOwnProperty($i)&&($i==="events"&&R.API.events.length?function(N,$e){var Bt,tr,Sr;for(Sr=$e.length-1;Sr!==-1;Sr--)Bt=$e[Sr][0],tr=$e[Sr][1],N.subscribe.apply(N,[Bt].concat(typeof tr=="function"?[tr]:tr))}(fa,R.API.events):ve[$i]=R.API[$i]);function gs(N){return Pn[N].mediaBox.topRightX-Pn[N].mediaBox.bottomLeftX}function Qi(N,$e){Pn[N].mediaBox.topRightX=$e+Pn[N].mediaBox.bottomLeftX}function Pi(N){return Pn[N].mediaBox.topRightY-Pn[N].mediaBox.bottomLeftY}function wi(N,$e){Pn[N].mediaBox.topRightY=$e+Pn[N].mediaBox.bottomLeftY}var hs=ve.getPageWidth=function(N){return gs(N=N||vt)/ea},es=ve.setPageWidth=function(N,$e){Qi(N,$e*ea)},ts=ve.getPageHeight=function(N){return Pi(N=N||vt)/ea},rs=ve.setPageHeight=function(N,$e){wi(N,$e*ea)};return ve.internal={pdfEscape:_o,getStyle:ss,getFont:ms,getFontSize:En,getCharSpace:Is,getTextColor:Ji,getLineHeight:ps,getLineHeightFactor:Hi,getLineWidth:Ia,write:ba,getHorizontalCoordinate:ti,getVerticalCoordinate:xi,getCoordinateString:Es,getVerticalCoordinateString:Ls,collections:{},newObject:Na,newAdditionalObject:Ka,newObjectDeferred:Ba,newObjectDeferredBegin:ma,getFilters:Ao,putStream:Co,events:fa,scaleFactor:ea,pageSize:{getWidth:function(){return hs(vt)},setWidth:function(N){es(vt,N)},getHeight:function(){return ts(vt)},setHeight:function(N){rs(vt,N)}},encryptionOptions:it,encryption:Xa,getEncryptor:function(N){return it!==null?Xa.encryptor(N,0):function($e){return $e}},output:wo,getNumberOfPages:Di,pages:Hr,out:Mt,f2:Fe,f3:Me,getPageInfo:Xi,getPageInfoByObjId:Ei,getCurrentPageInfo:Fi,getPDFVersion:gt,Point:Zo,Rectangle:Ui,Matrix:la,hasHotfix:Ri},Object.defineProperty(ve.internal.pageSize,"width",{get:function(){return hs(vt)},set:function(N){es(vt,N)},enumerable:!0,configurable:!0}),Object.defineProperty(ve.internal.pageSize,"height",{get:function(){return ts(vt)},set:function(N){rs(vt,N)},enumerable:!0,configurable:!0}),function(N){for(var $e=0,Bt=Wn.length;$e<Bt;$e++){var tr=gi.call(this,N[$e][0],N[$e][1],N[$e][2],Wn[$e][3],!0);Pt===!1&&(It[tr]=!0);var Sr=N[$e][0].split("-");zo({id:tr,fontName:Sr[0],fontStyle:Sr[1]||""})}fa.publish("addFonts",{fonts:rn,dictionary:mn})}.call(ve,Wn),Hn="F1",zi(j,p),fa.publish("initialized"),ve}T.prototype.lsbFirstWord=function(f){return String.fromCharCode(255&f,f>>8&255,f>>16&255,f>>24&255)},T.prototype.toHexString=function(f){return f.split("").map(function(s){return("0"+(255&s.charCodeAt(0)).toString(16)).slice(-2)}).join("")},T.prototype.hexToBytes=function(f){for(var s=[],p=0;p<f.length;p+=2)s.push(String.fromCharCode(parseInt(f.substr(p,2),16)));return s.join("")},T.prototype.processOwnerPassword=function(f,s){return se(ke(s).substr(0,5),f)},T.prototype.encryptor=function(f,s){var p=ke(this.encryptionKey+String.fromCharCode(255&f,f>>8&255,f>>16&255,255&s,s>>8&255)).substr(0,10);return function(b){return se(p,b)}},de.prototype.equals=function(f){var s,p="id,objectNumber,equals";if(!f||(0,o.Z)(f)!==(0,o.Z)(this))return!1;var b=0;for(s in this)if(!(p.indexOf(s)>=0)){if(this.hasOwnProperty(s)&&!f.hasOwnProperty(s)||this[s]!==f[s])return!1;b++}for(s in f)f.hasOwnProperty(s)&&p.indexOf(s)<0&&b--;return b===0},R.API={events:[]},R.version="3.0.3";var S=R.API,X=1,He=function(f){return f.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},pe=function(f){return f.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ze=function(f){return f.toFixed(2)},ot=function(f){return f.toFixed(5)};S.__acroform__={};var ht=function(f,s){f.prototype=Object.create(s.prototype),f.prototype.constructor=f},he=function(f){return f*X},Le=function(f){var s=new Ut,p=wt.internal.getHeight(f)||0,b=wt.internal.getWidth(f)||0;return s.BBox=[0,0,Number(Ze(b)),Number(Ze(p))],s},St=S.__acroform__.setBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return f|1<<s},We=S.__acroform__.clearBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return f&~(1<<s)},Re=S.__acroform__.getBit=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return f&1<<s?1:0},M=S.__acroform__.getBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Re(f,s-1)},_e=S.__acroform__.setBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return St(f,s-1)},ge=S.__acroform__.clearBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return We(f,s-1)},ue=S.__acroform__.calculateCoordinates=function(f,s){var p=s.internal.getHorizontalCoordinate,b=s.internal.getVerticalCoordinate,j=f[0],d=f[1],ne=f[2],V=f[3],Q={};return Q.lowerLeft_X=p(j)||0,Q.lowerLeft_Y=b(d+V)||0,Q.upperRight_X=p(j+ne)||0,Q.upperRight_Y=b(d)||0,[Number(Ze(Q.lowerLeft_X)),Number(Ze(Q.lowerLeft_Y)),Number(Ze(Q.upperRight_X)),Number(Ze(Q.upperRight_Y))]},fe=function(f){if(f.appearanceStreamContent)return f.appearanceStreamContent;if(f.V||f.DV){var s=[],p=f._V||f.DV,b=me(f,p),j=f.scope.internal.getFont(f.fontName,f.fontStyle).id;s.push("/Tx BMC"),s.push("q"),s.push("BT"),s.push(f.scope.__private__.encodeColorString(f.color)),s.push("/"+j+" "+Ze(b.fontSize)+" Tf"),s.push("1 0 0 1 0 0 Tm"),s.push(b.text),s.push("ET"),s.push("Q"),s.push("EMC");var d=Le(f);return d.scope=f.scope,d.stream=s.join(`
`),d}},me=function(f,s){var p=f.fontSize===0?f.maxFontSize:f.fontSize,b={text:"",fontSize:""},j=(s=(s=s.substr(0,1)=="("?s.substr(1):s).substr(s.length-1)==")"?s.substr(0,s.length-1):s).split(" ");j=f.multiline?j.map(function(Fe){return Fe.split(`
`)}):j.map(function(Fe){return[Fe]});var d=p,ne=wt.internal.getHeight(f)||0;ne=ne<0?-ne:ne;var V=wt.internal.getWidth(f)||0;V=V<0?-V:V;var Q=function(Fe,Me,lt){if(Fe+1<j.length){var Et=Me+" "+j[Fe+1][0];return Ie(Et,f,lt).width<=V-4}return!1};d++;e:for(;d>0;){s="",d--;var Ae,it,Pt=Ie("3",f,d).height,It=f.multiline?ne-d:(ne-Pt)/2,ve=It+=2,rt=0,gt=0,Kt=0;if(d<=0){s=`(...) Tj
`,s+="% Width of Text: "+Ie(s,f,d=12).width+", FieldWidth:"+V+`
`;break}for(var ct="",ur=0,Cr=0;Cr<j.length;Cr++)if(j.hasOwnProperty(Cr)){var Qt=!1;if(j[Cr].length!==1&&Kt!==j[Cr].length-1){if((Pt+2)*(ur+2)+2>ne)continue e;ct+=j[Cr][Kt],Qt=!0,gt=Cr,Cr--}else{ct=(ct+=j[Cr][Kt]+" ").substr(ct.length-1)==" "?ct.substr(0,ct.length-1):ct;var tt=parseInt(Cr),we=Q(tt,ct,d),kt=Cr>=j.length-1;if(we&&!kt){ct+=" ",Kt=0;continue}if(we||kt){if(kt)gt=tt;else if(f.multiline&&(Pt+2)*(ur+2)+2>ne)continue e}else{if(!f.multiline||(Pt+2)*(ur+2)+2>ne)continue e;gt=tt}}for(var Ft="",Ot=rt;Ot<=gt;Ot++){var Jt=j[Ot];if(f.multiline){if(Ot===gt){Ft+=Jt[Kt]+" ",Kt=(Kt+1)%Jt.length;continue}if(Ot===rt){Ft+=Jt[Jt.length-1]+" ";continue}}Ft+=Jt[0]+" "}switch(Ft=Ft.substr(Ft.length-1)==" "?Ft.substr(0,Ft.length-1):Ft,it=Ie(Ft,f,d).width,f.textAlign){case"right":Ae=V-it-2;break;case"center":Ae=(V-it)/2;break;default:Ae=2}s+=Ze(Ae)+" "+Ze(ve)+` Td
`,s+="("+He(Ft)+`) Tj
`,s+=-Ze(Ae)+` 0 Td
`,ve=-(d+2),it=0,rt=Qt?gt:gt+1,ur++,ct=""}break}return b.text=s,b.fontSize=d,b},Ie=function(f,s,p){var b=s.scope.internal.getFont(s.fontName,s.fontStyle),j=s.scope.getStringUnitWidth(f,{font:b,fontSize:parseFloat(p),charSpace:0})*parseFloat(p);return{height:s.scope.getStringUnitWidth("3",{font:b,fontSize:parseFloat(p),charSpace:0})*parseFloat(p)*1.5,width:j}},ye={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Be=function(f,s){var p={type:"reference",object:f};s.internal.getPageInfo(f.page).pageContext.annotations.find(function(b){return b.type===p.type&&b.object===p.object})===void 0&&s.internal.getPageInfo(f.page).pageContext.annotations.push(p)},Ye=function(f,s){if(s.scope=f,f.internal!==void 0&&(f.internal.acroformPlugin===void 0||f.internal.acroformPlugin.isInitialized===!1)){if(at.FieldNum=0,f.internal.acroformPlugin=JSON.parse(JSON.stringify(ye)),f.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");X=f.internal.scaleFactor,f.internal.acroformPlugin.acroFormDictionaryRoot=new jt,f.internal.acroformPlugin.acroFormDictionaryRoot.scope=f,f.internal.acroformPlugin.acroFormDictionaryRoot._eventID=f.internal.events.subscribe("postPutResources",function(){(function(p){p.internal.events.unsubscribe(p.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete p.internal.acroformPlugin.acroFormDictionaryRoot._eventID,p.internal.acroformPlugin.printedOut=!0})(f)}),f.internal.events.subscribe("buildDocument",function(){(function(p){p.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var b=p.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var j in b)if(b.hasOwnProperty(j)){var d=b[j];d.objId=void 0,d.hasAnnotation&&Be(d,p)}})(f)}),f.internal.events.subscribe("putCatalog",function(){(function(p){if(p.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");p.internal.write("/AcroForm "+p.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(f)}),f.internal.events.subscribe("postPutPages",function(p){(function(b,j){var d=!b;for(var ne in b||(j.internal.newObjectDeferredBegin(j.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),j.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),b=b||j.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(b.hasOwnProperty(ne)){var V=b[ne],Q=[],Ae=V.Rect;if(V.Rect&&(V.Rect=ue(V.Rect,j)),j.internal.newObjectDeferredBegin(V.objId,!0),V.DA=wt.createDefaultAppearanceStream(V),(0,o.Z)(V)==="object"&&typeof V.getKeyValueListForStream=="function"&&(Q=V.getKeyValueListForStream()),V.Rect=Ae,V.hasAppearanceStream&&!V.appearanceStreamContent){var it=fe(V);Q.push({key:"AP",value:"<</N "+it+">>"}),j.internal.acroformPlugin.xForms.push(it)}if(V.appearanceStreamContent){var Pt="";for(var It in V.appearanceStreamContent)if(V.appearanceStreamContent.hasOwnProperty(It)){var ve=V.appearanceStreamContent[It];if(Pt+="/"+It+" ",Pt+="<<",Object.keys(ve).length>=1||Array.isArray(ve)){for(var ne in ve)if(ve.hasOwnProperty(ne)){var rt=ve[ne];typeof rt=="function"&&(rt=rt.call(j,V)),Pt+="/"+ne+" "+rt+" ",j.internal.acroformPlugin.xForms.indexOf(rt)>=0||j.internal.acroformPlugin.xForms.push(rt)}}else typeof(rt=ve)=="function"&&(rt=rt.call(j,V)),Pt+="/"+ne+" "+rt,j.internal.acroformPlugin.xForms.indexOf(rt)>=0||j.internal.acroformPlugin.xForms.push(rt);Pt+=">>"}Q.push({key:"AP",value:`<<
`+Pt+">>"})}j.internal.putStream({additionalKeyValues:Q,objectId:V.objId}),j.internal.out("endobj")}d&&function(gt,Kt){for(var ct in gt)if(gt.hasOwnProperty(ct)){var ur=ct,Cr=gt[ct];Kt.internal.newObjectDeferredBegin(Cr.objId,!0),(0,o.Z)(Cr)==="object"&&typeof Cr.putStream=="function"&&Cr.putStream(),delete gt[ur]}}(j.internal.acroformPlugin.xForms,j)})(p,f)}),f.internal.acroformPlugin.isInitialized=!0}},xt=S.__acroform__.arrayToPdfArray=function(f,s,p){var b=function(ne){return ne};if(Array.isArray(f)){for(var j="[",d=0;d<f.length;d++)switch(d!==0&&(j+=" "),(0,o.Z)(f[d])){case"boolean":case"number":case"object":j+=f[d].toString();break;case"string":f[d].substr(0,1)!=="/"?(s!==void 0&&p&&(b=p.internal.getEncryptor(s)),j+="("+He(b(f[d].toString()))+")"):j+=f[d].toString()}return j+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},$t=function(f,s,p){var b=function(j){return j};return s!==void 0&&p&&(b=p.internal.getEncryptor(s)),(f=f||"").toString(),"("+He(b(f))+")"},Xt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(f){this._objId=f}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Xt.prototype.toString=function(){return this.objId+" 0 R"},Xt.prototype.putStream=function(){var f=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:f,objectId:this.objId}),this.scope.internal.out("endobj")},Xt.prototype.getKeyValueListForStream=function(){var f=[],s=Object.getOwnPropertyNames(this).filter(function(d){return d!="content"&&d!="appearanceStreamContent"&&d!="scope"&&d!="objId"&&d.substring(0,1)!="_"});for(var p in s)if(Object.getOwnPropertyDescriptor(this,s[p]).configurable===!1){var b=s[p],j=this[b];j&&(Array.isArray(j)?f.push({key:b,value:xt(j,this.objId,this.scope)}):j instanceof Xt?(j.scope=this.scope,f.push({key:b,value:j.objId+" 0 R"})):typeof j!="function"&&f.push({key:b,value:j}))}return f};var Ut=function(){Xt.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 f,s=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return s},set:function(p){s=p}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(p){f=p.trim()},get:function(){return f||null}})};ht(Ut,Xt);var jt=function(){Xt.call(this);var f,s=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return s.length>0?s:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return s}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(f){var p=function(b){return b};return this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),"("+He(p(f))+")"}},set:function(p){f=p}})};ht(jt,Xt);var at=function f(){Xt.call(this);var s=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return s},set:function(ct){if(isNaN(ct))throw new Error('Invalid value "'+ct+'" for attribute F supplied.');s=ct}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!M(s,3)},set:function(ct){ct?this.F=_e(s,3):this.F=ge(s,3)}});var p=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return p},set:function(ct){if(isNaN(ct))throw new Error('Invalid value "'+ct+'" for attribute Ff supplied.');p=ct}});var b=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(b.length!==0)return b},set:function(ct){b=ct!==void 0?ct:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[0])?0:b[0]},set:function(ct){b[0]=ct}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[1])?0:b[1]},set:function(ct){b[1]=ct}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[2])?0:b[2]},set:function(ct){b[2]=ct}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[3])?0:b[3]},set:function(ct){b[3]=ct}});var j="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return j},set:function(ct){switch(ct){case"/Btn":case"/Tx":case"/Ch":case"/Sig":j=ct;break;default:throw new Error('Invalid value "'+ct+'" for attribute FT supplied.')}}});var d=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!d||d.length<1){if(this instanceof qr)return;d="FieldObject"+f.FieldNum++}var ct=function(ur){return ur};return this.scope&&(ct=this.scope.internal.getEncryptor(this.objId)),"("+He(ct(d))+")"},set:function(ct){d=ct.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return d},set:function(ct){d=ct}});var ne="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return ne},set:function(ct){ne=ct}});var V="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return V},set:function(ct){V=ct}});var Q=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return Q},set:function(ct){Q=ct}});var Ae=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ae===void 0?50/X:Ae},set:function(ct){Ae=ct}});var it="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return it},set:function(ct){it=ct}});var Pt="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Pt||this instanceof qr||this instanceof w))return $t(Pt,this.objId,this.scope)},set:function(ct){ct=ct.toString(),Pt=ct}});var It=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(It)return this instanceof or==0?$t(It,this.objId,this.scope):It},set:function(ct){ct=ct.toString(),It=this instanceof or==0?ct.substr(0,1)==="("?pe(ct.substr(1,ct.length-2)):pe(ct):ct}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof or==1?pe(It.substr(1,It.length-1)):It},set:function(ct){ct=ct.toString(),It=this instanceof or==1?"/"+ct:ct}});var ve=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ve)return ve},set:function(ct){this.V=ct}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ve)return this instanceof or==0?$t(ve,this.objId,this.scope):ve},set:function(ct){ct=ct.toString(),ve=this instanceof or==0?ct.substr(0,1)==="("?pe(ct.substr(1,ct.length-2)):pe(ct):ct}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof or==1?pe(ve.substr(1,ve.length-1)):ve},set:function(ct){ct=ct.toString(),ve=this instanceof or==1?"/"+ct:ct}}),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 rt,gt=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return gt},set:function(ct){ct=!!ct,gt=ct}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(rt)return rt},set:function(ct){rt=ct}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,1)},set:function(ct){ct?this.Ff=_e(this.Ff,1):this.Ff=ge(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,2)},set:function(ct){ct?this.Ff=_e(this.Ff,2):this.Ff=ge(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,3)},set:function(ct){ct?this.Ff=_e(this.Ff,3):this.Ff=ge(this.Ff,3)}});var Kt=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Kt!==null)return Kt},set:function(ct){if([0,1,2].indexOf(ct)===-1)throw new Error('Invalid value "'+ct+'" for attribute Q supplied.');Kt=ct}}),Object.defineProperty(this,"textAlign",{get:function(){var ct;switch(Kt){case 0:default:ct="left";break;case 1:ct="center";break;case 2:ct="right"}return ct},configurable:!0,enumerable:!0,set:function(ct){switch(ct){case"right":case 2:Kt=2;break;case"center":case 1:Kt=1;break;default:Kt=0}}})};ht(at,Xt);var yt=function(){at.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var f=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return f},set:function(p){f=p}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return f},set:function(p){f=p}});var s=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return xt(s,this.objId,this.scope)},set:function(p){var b,j;j=[],typeof(b=p)=="string"&&(j=function(d,ne,V){V||(V=1);for(var Q,Ae=[];Q=ne.exec(d);)Ae.push(Q[V]);return Ae}(b,/\((.*?)\)/g)),s=j}}),this.getOptions=function(){return s},this.setOptions=function(p){s=p,this.sort&&s.sort()},this.addOption=function(p){p=(p=p||"").toString(),s.push(p),this.sort&&s.sort()},this.removeOption=function(p,b){for(b=b||!1,p=(p=p||"").toString();s.indexOf(p)!==-1&&(s.splice(s.indexOf(p),1),b!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,18)},set:function(p){p?this.Ff=_e(this.Ff,18):this.Ff=ge(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,19)},set:function(p){this.combo===!0&&(p?this.Ff=_e(this.Ff,19):this.Ff=ge(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,20)},set:function(p){p?(this.Ff=_e(this.Ff,20),s.sort()):this.Ff=ge(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,22)},set:function(p){p?this.Ff=_e(this.Ff,22):this.Ff=ge(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,23)},set:function(p){p?this.Ff=_e(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,27)},set:function(p){p?this.Ff=_e(this.Ff,27):this.Ff=ge(this.Ff,27)}}),this.hasAppearanceStream=!1};ht(yt,at);var pt=function(){yt.call(this),this.fontName="helvetica",this.combo=!1};ht(pt,yt);var dt=function(){pt.call(this),this.combo=!0};ht(dt,pt);var er=function(){dt.call(this),this.edit=!0};ht(er,dt);var or=function(){at.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,15)},set:function(p){p?this.Ff=_e(this.Ff,15):this.Ff=ge(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,16)},set:function(p){p?this.Ff=_e(this.Ff,16):this.Ff=ge(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,17)},set:function(p){p?this.Ff=_e(this.Ff,17):this.Ff=ge(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,26)},set:function(p){p?this.Ff=_e(this.Ff,26):this.Ff=ge(this.Ff,26)}});var f,s={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var p=function(d){return d};if(this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),Object.keys(s).length!==0){var b,j=[];for(b in j.push("<<"),s)j.push("/"+b+" ("+He(p(s[b]))+")");return j.push(">>"),j.join(`
`)}},set:function(p){(0,o.Z)(p)==="object"&&(s=p)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return s.CA||""},set:function(p){typeof p=="string"&&(s.CA=p)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return f},set:function(p){f=p}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return f.substr(1,f.length-1)},set:function(p){f="/"+p}})};ht(or,at);var hr=function(){or.call(this),this.pushButton=!0};ht(hr,or);var Er=function(){or.call(this),this.radio=!0,this.pushButton=!1;var f=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return f},set:function(s){f=s!==void 0?s:[]}})};ht(Er,or);var qr=function(){var f,s;at.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return f},set:function(j){f=j}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(j){s=j}});var p,b={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var j=function(V){return V};this.scope&&(j=this.scope.internal.getEncryptor(this.objId));var d,ne=[];for(d in ne.push("<<"),b)ne.push("/"+d+" ("+He(j(b[d]))+")");return ne.push(">>"),ne.join(`
`)},set:function(j){(0,o.Z)(j)==="object"&&(b=j)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return b.CA||""},set:function(j){typeof j=="string"&&(b.CA=j)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return p},set:function(j){p=j}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return p.substr(1,p.length-1)},set:function(j){p="/"+j}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=wt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};ht(qr,at),Er.prototype.setAppearance=function(f){if(!("createAppearanceStream"in f)||!("getCA"in f))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var s in this.Kids)if(this.Kids.hasOwnProperty(s)){var p=this.Kids[s];p.appearanceStreamContent=f.createAppearanceStream(p.optionName),p.caption=f.getCA()}},Er.prototype.createOption=function(f){var s=new qr;return s.Parent=this,s.optionName=f,this.Kids.push(s),ae.call(this.scope,s),s};var Pr=function(){or.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=wt.CheckBox.createAppearanceStream()};ht(Pr,or);var w=function(){at.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,13)},set:function(s){s?this.Ff=_e(this.Ff,13):this.Ff=ge(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,21)},set:function(s){s?this.Ff=_e(this.Ff,21):this.Ff=ge(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,23)},set:function(s){s?this.Ff=_e(this.Ff,23):this.Ff=ge(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,24)},set:function(s){s?this.Ff=_e(this.Ff,24):this.Ff=ge(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,25)},set:function(s){s?this.Ff=_e(this.Ff,25):this.Ff=ge(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,26)},set:function(s){s?this.Ff=_e(this.Ff,26):this.Ff=ge(this.Ff,26)}});var f=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return f},set:function(s){f=s}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return f},set:function(s){Number.isInteger(s)&&(f=s)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};ht(w,at);var H=function(){w.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!M(this.Ff,14)},set:function(f){f?this.Ff=_e(this.Ff,14):this.Ff=ge(this.Ff,14)}}),this.password=!0};ht(H,w);var wt={CheckBox:{createAppearanceStream:function(){return{N:{On:wt.CheckBox.YesNormal},D:{On:wt.CheckBox.YesPushDown,Off:wt.CheckBox.OffPushDown}}},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=f.scope.internal.getFont(f.fontName,f.fontStyle).id,j=f.scope.__private__.encodeColorString(f.color),d=me(f,f.caption);return p.push("0.749023 g"),p.push("0 0 "+Ze(wt.internal.getWidth(f))+" "+Ze(wt.internal.getHeight(f))+" re"),p.push("f"),p.push("BMC"),p.push("q"),p.push("0 0 1 rg"),p.push("/"+b+" "+Ze(d.fontSize)+" Tf "+j),p.push("BT"),p.push(d.text),p.push("ET"),p.push("Q"),p.push("EMC"),s.stream=p.join(`
`),s},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=f.scope.internal.getFont(f.fontName,f.fontStyle).id,b=f.scope.__private__.encodeColorString(f.color),j=[],d=wt.internal.getHeight(f),ne=wt.internal.getWidth(f),V=me(f,f.caption);return j.push("1 g"),j.push("0 0 "+Ze(ne)+" "+Ze(d)+" re"),j.push("f"),j.push("q"),j.push("0 0 1 rg"),j.push("0 0 "+Ze(ne-1)+" "+Ze(d-1)+" re"),j.push("W"),j.push("n"),j.push("0 g"),j.push("BT"),j.push("/"+p+" "+Ze(V.fontSize)+" Tf "+b),j.push(V.text),j.push("ET"),j.push("Q"),s.stream=j.join(`
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ze(wt.internal.getWidth(f))+" "+Ze(wt.internal.getHeight(f))+" re"),p.push("f"),s.stream=p.join(`
`),s}},RadioButton:{Circle:{createAppearanceStream:function(f){var s={D:{Off:wt.RadioButton.Circle.OffPushDown},N:{}};return s.N[f]=wt.RadioButton.Circle.YesNormal,s.D[f]=wt.RadioButton.Circle.YesPushDown,s},getCA:function(){return"l"},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=wt.internal.getWidth(f)<=wt.internal.getHeight(f)?wt.internal.getWidth(f)/4:wt.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var j=wt.internal.Bezier_C,d=Number((b*j).toFixed(5));return p.push("q"),p.push("1 0 0 1 "+ot(wt.internal.getWidth(f)/2)+" "+ot(wt.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+d+" "+d+" "+b+" 0 "+b+" c"),p.push("-"+d+" "+b+" -"+b+" "+d+" -"+b+" 0 c"),p.push("-"+b+" -"+d+" -"+d+" -"+b+" 0 -"+b+" c"),p.push(d+" -"+b+" "+b+" -"+d+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
`),s},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=wt.internal.getWidth(f)<=wt.internal.getHeight(f)?wt.internal.getWidth(f)/4:wt.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var j=Number((2*b).toFixed(5)),d=Number((j*wt.internal.Bezier_C).toFixed(5)),ne=Number((b*wt.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+ot(wt.internal.getWidth(f)/2)+" "+ot(wt.internal.getHeight(f)/2)+" cm"),p.push(j+" 0 m"),p.push(j+" "+d+" "+d+" "+j+" 0 "+j+" c"),p.push("-"+d+" "+j+" -"+j+" "+d+" -"+j+" 0 c"),p.push("-"+j+" -"+d+" -"+d+" -"+j+" 0 -"+j+" c"),p.push(d+" -"+j+" "+j+" -"+d+" "+j+" 0 c"),p.push("f"),p.push("Q"),p.push("0 g"),p.push("q"),p.push("1 0 0 1 "+ot(wt.internal.getWidth(f)/2)+" "+ot(wt.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+ne+" "+ne+" "+b+" 0 "+b+" c"),p.push("-"+ne+" "+b+" -"+b+" "+ne+" -"+b+" 0 c"),p.push("-"+b+" -"+ne+" -"+ne+" -"+b+" 0 -"+b+" c"),p.push(ne+" -"+b+" "+b+" -"+ne+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=wt.internal.getWidth(f)<=wt.internal.getHeight(f)?wt.internal.getWidth(f)/4:wt.internal.getHeight(f)/4;b=Number((.9*b).toFixed(5));var j=Number((2*b).toFixed(5)),d=Number((j*wt.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+ot(wt.internal.getWidth(f)/2)+" "+ot(wt.internal.getHeight(f)/2)+" cm"),p.push(j+" 0 m"),p.push(j+" "+d+" "+d+" "+j+" 0 "+j+" c"),p.push("-"+d+" "+j+" -"+j+" "+d+" -"+j+" 0 c"),p.push("-"+j+" -"+d+" -"+d+" -"+j+" 0 -"+j+" c"),p.push(d+" -"+j+" "+j+" -"+d+" "+j+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
`),s}},Cross:{createAppearanceStream:function(f){var s={D:{Off:wt.RadioButton.Cross.OffPushDown},N:{}};return s.N[f]=wt.RadioButton.Cross.YesNormal,s.D[f]=wt.RadioButton.Cross.YesPushDown,s},getCA:function(){return"8"},YesNormal:function(f){var s=Le(f);s.scope=f.scope;var p=[],b=wt.internal.calculateCross(f);return p.push("q"),p.push("1 1 "+Ze(wt.internal.getWidth(f)-2)+" "+Ze(wt.internal.getHeight(f)-2)+" re"),p.push("W"),p.push("n"),p.push(Ze(b.x1.x)+" "+Ze(b.x1.y)+" m"),p.push(Ze(b.x2.x)+" "+Ze(b.x2.y)+" l"),p.push(Ze(b.x4.x)+" "+Ze(b.x4.y)+" m"),p.push(Ze(b.x3.x)+" "+Ze(b.x3.y)+" l"),p.push("s"),p.push("Q"),s.stream=p.join(`
`),s},YesPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=wt.internal.calculateCross(f),b=[];return b.push("0.749023 g"),b.push("0 0 "+Ze(wt.internal.getWidth(f))+" "+Ze(wt.internal.getHeight(f))+" re"),b.push("f"),b.push("q"),b.push("1 1 "+Ze(wt.internal.getWidth(f)-2)+" "+Ze(wt.internal.getHeight(f)-2)+" re"),b.push("W"),b.push("n"),b.push(Ze(p.x1.x)+" "+Ze(p.x1.y)+" m"),b.push(Ze(p.x2.x)+" "+Ze(p.x2.y)+" l"),b.push(Ze(p.x4.x)+" "+Ze(p.x4.y)+" m"),b.push(Ze(p.x3.x)+" "+Ze(p.x3.y)+" l"),b.push("s"),b.push("Q"),s.stream=b.join(`
`),s},OffPushDown:function(f){var s=Le(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ze(wt.internal.getWidth(f))+" "+Ze(wt.internal.getHeight(f))+" re"),p.push("f"),s.stream=p.join(`
`),s}}},createDefaultAppearanceStream:function(f){var s=f.scope.internal.getFont(f.fontName,f.fontStyle).id,p=f.scope.__private__.encodeColorString(f.color);return"/"+s+" "+f.fontSize+" Tf "+p}};wt.internal={Bezier_C:.551915024494,calculateCross:function(f){var s=wt.internal.getWidth(f),p=wt.internal.getHeight(f),b=Math.min(s,p);return{x1:{x:(s-b)/2,y:(p-b)/2+b},x2:{x:(s-b)/2+b,y:(p-b)/2},x3:{x:(s-b)/2,y:(p-b)/2},x4:{x:(s-b)/2+b,y:(p-b)/2+b}}}},wt.internal.getWidth=function(f){var s=0;return(0,o.Z)(f)==="object"&&(s=he(f.Rect[2])),s},wt.internal.getHeight=function(f){var s=0;return(0,o.Z)(f)==="object"&&(s=he(f.Rect[3])),s};var ae=S.addField=function(f){if(Ye(this,f),!(f instanceof at))throw new Error("Invalid argument passed to jsPDF.addField.");var s;return(s=f).scope.internal.acroformPlugin.printedOut&&(s.scope.internal.acroformPlugin.printedOut=!1,s.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),s.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(s),f.page=f.scope.internal.getCurrentPageInfo().pageNumber,this};S.AcroFormChoiceField=yt,S.AcroFormListBox=pt,S.AcroFormComboBox=dt,S.AcroFormEditBox=er,S.AcroFormButton=or,S.AcroFormPushButton=hr,S.AcroFormRadioButton=Er,S.AcroFormCheckBox=Pr,S.AcroFormTextField=w,S.AcroFormPasswordField=H,S.AcroFormAppearance=wt,S.AcroForm={ChoiceField:yt,ListBox:pt,ComboBox:dt,EditBox:er,Button:or,PushButton:hr,RadioButton:Er,CheckBox:Pr,TextField:w,PasswordField:H,Appearance:wt},R.AcroForm={ChoiceField:yt,ListBox:pt,ComboBox:dt,EditBox:er,Button:or,PushButton:hr,RadioButton:Er,CheckBox:Pr,TextField:w,PasswordField:H,Appearance:wt};var Te=R.AcroForm;function Fr(f){return f.reduce(function(s,p,b){return s[p]=b,s},{})}(function(f){var s="addImage_";f.__addimage__={};var p="UNKNOWN",b={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]]},j=f.__addimage__.getImageFileTypeByImageData=function(Fe,Me){var lt,Et,fr,vr,Zt,Tt=p;if((Me=Me||p)==="RGBA"||Fe.data!==void 0&&Fe.data instanceof Uint8ClampedArray&&"height"in Fe&&"width"in Fe)return"RGBA";if(we(Fe))for(Zt in b)for(fr=b[Zt],lt=0;lt<fr.length;lt+=1){for(vr=!0,Et=0;Et<fr[lt].length;Et+=1)if(fr[lt][Et]!==void 0&&fr[lt][Et]!==Fe[Et]){vr=!1;break}if(vr===!0){Tt=Zt;break}}else for(Zt in b)for(fr=b[Zt],lt=0;lt<fr.length;lt+=1){for(vr=!0,Et=0;Et<fr[lt].length;Et+=1)if(fr[lt][Et]!==void 0&&fr[lt][Et]!==Fe.charCodeAt(Et)){vr=!1;break}if(vr===!0){Tt=Zt;break}}return Tt===p&&Me!==p&&(Tt=Me),Tt},d=function Fe(Me){for(var lt=this.internal.write,Et=this.internal.putStream,fr=(0,this.internal.getFilters)();fr.indexOf("FlateEncode")!==-1;)fr.splice(fr.indexOf("FlateEncode"),1);Me.objectId=this.internal.newObject();var vr=[];if(vr.push({key:"Type",value:"/XObject"}),vr.push({key:"Subtype",value:"/Image"}),vr.push({key:"Width",value:Me.width}),vr.push({key:"Height",value:Me.height}),Me.colorSpace===ct.INDEXED?vr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Me.palette.length/3-1)+" "+("sMask"in Me&&Me.sMask!==void 0?Me.objectId+2:Me.objectId+1)+" 0 R]"}):(vr.push({key:"ColorSpace",value:"/"+Me.colorSpace}),Me.colorSpace===ct.DEVICE_CMYK&&vr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),vr.push({key:"BitsPerComponent",value:Me.bitsPerComponent}),"decodeParameters"in Me&&Me.decodeParameters!==void 0&&vr.push({key:"DecodeParms",value:"<<"+Me.decodeParameters+">>"}),"transparency"in Me&&Array.isArray(Me.transparency)&&Me.transparency.length>0){for(var Zt="",Tt=0,dr=Me.transparency.length;Tt<dr;Tt++)Zt+=Me.transparency[Tt]+" "+Me.transparency[Tt]+" ";vr.push({key:"Mask",value:"["+Zt+"]"})}Me.sMask!==void 0&&vr.push({key:"SMask",value:Me.objectId+1+" 0 R"});var Yt=Me.filter!==void 0?["/"+Me.filter]:void 0;if(Et({data:Me.data,additionalKeyValues:vr,alreadyAppliedFilters:Yt,objectId:Me.objectId}),lt("endobj"),"sMask"in Me&&Me.sMask!==void 0){var wr,je=(wr=Me.sMaskBitsPerComponent)!==null&&wr!==void 0?wr:Me.bitsPerComponent,vt={width:Me.width,height:Me.height,colorSpace:"DeviceGray",bitsPerComponent:je,data:Me.sMask};"filter"in Me&&(vt.decodeParameters="/Predictor ".concat(Me.predictor," /Colors 1 /BitsPerComponent ").concat(je," /Columns ").concat(Me.width),vt.filter=Me.filter),Fe.call(this,vt)}if(Me.colorSpace===ct.INDEXED){var Nt=this.internal.newObject();Et({data:Ft(new Uint8Array(Me.palette)),objectId:Nt}),lt("endobj")}},ne=function(){var Fe=this.internal.collections[s+"images"];for(var Me in Fe)d.call(this,Fe[Me])},V=function(){var Fe,Me=this.internal.collections[s+"images"],lt=this.internal.write;for(var Et in Me)lt("/I"+(Fe=Me[Et]).index,Fe.objectId,"0","R")},Q=function(){this.internal.collections[s+"images"]||(this.internal.collections[s+"images"]={},this.internal.events.subscribe("putResources",ne),this.internal.events.subscribe("putXobjectDict",V))},Ae=function(){var Fe=this.internal.collections[s+"images"];return Q.call(this),Fe},it=function(){return Object.keys(this.internal.collections[s+"images"]).length},Pt=function(Fe){return typeof f["process"+Fe.toUpperCase()]=="function"},It=function(Fe){return(0,o.Z)(Fe)==="object"&&Fe.nodeType===1},ve=function(Fe,Me){if(Fe.nodeName==="IMG"&&Fe.hasAttribute("src")){var lt=""+Fe.getAttribute("src");if(lt.indexOf("data:image/")===0)return U(unescape(lt).split("base64,").pop());var Et=f.loadFile(lt,!0);if(Et!==void 0)return Et}if(Fe.nodeName==="CANVAS"){if(Fe.width===0||Fe.height===0)throw new Error("Given canvas must have data. Canvas width: "+Fe.width+", height: "+Fe.height);var fr;switch(Me){case"PNG":fr="image/png";break;case"WEBP":fr="image/webp";break;default:fr="image/jpeg"}return U(Fe.toDataURL(fr,1).split("base64,").pop())}},rt=function(Fe){var Me=this.internal.collections[s+"images"];if(Me){for(var lt in Me)if(Fe===Me[lt].alias)return Me[lt]}},gt=function(Fe,Me,lt){return Fe||Me||(Fe=-96,Me=-96),Fe<0&&(Fe=-1*lt.width*72/Fe/this.internal.scaleFactor),Me<0&&(Me=-1*lt.height*72/Me/this.internal.scaleFactor),Fe===0&&(Fe=Me*lt.width/lt.height),Me===0&&(Me=Fe*lt.height/lt.width),[Fe,Me]},Kt=function(Fe,Me,lt,Et,fr,vr){var Zt=gt.call(this,lt,Et,fr),Tt=this.internal.getCoordinateString,dr=this.internal.getVerticalCoordinateString,Yt=Ae.call(this);if(lt=Zt[0],Et=Zt[1],Yt[fr.index]=fr,vr){vr*=Math.PI/180;var wr=Math.cos(vr),je=Math.sin(vr),vt=function(st){return st.toFixed(4)},Nt=[vt(wr),vt(je),vt(-1*je),vt(wr),0,0,"cm"]}this.internal.write("q"),vr?(this.internal.write([1,"0","0",1,Tt(Fe),dr(Me+Et),"cm"].join(" ")),this.internal.write(Nt.join(" ")),this.internal.write([Tt(lt),"0","0",Tt(Et),"0","0","cm"].join(" "))):this.internal.write([Tt(lt),"0","0",Tt(Et),Tt(Fe),dr(Me+Et),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+fr.index+" Do"),this.internal.write("Q")},ct=f.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"};f.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 ur=f.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Cr=f.__addimage__.sHashCode=function(Fe){var Me,lt,Et=0;if(typeof Fe=="string")for(lt=Fe.length,Me=0;Me<lt;Me++)Et=(Et<<5)-Et+Fe.charCodeAt(Me),Et|=0;else if(we(Fe))for(lt=Fe.byteLength/2,Me=0;Me<lt;Me++)Et=(Et<<5)-Et+Fe[Me],Et|=0;return Et},Qt=f.__addimage__.validateStringAsBase64=function(Fe){(Fe=Fe||"").toString().trim();var Me=!0;return Fe.length===0&&(Me=!1),Fe.length%4!=0&&(Me=!1),/^[A-Za-z0-9+/]+$/.test(Fe.substr(0,Fe.length-2))===!1&&(Me=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(Fe.substr(-2))===!1&&(Me=!1),Me},tt=f.__addimage__.extractImageFromDataUrl=function(Fe){if(Fe==null||!(Fe=Fe.trim()).startsWith("data:"))return null;var Me=Fe.indexOf(",");return Me<0?null:Fe.substring(0,Me).trim().endsWith("base64")?Fe.substring(Me+1):null};f.__addimage__.isArrayBuffer=function(Fe){return Fe instanceof ArrayBuffer};var we=f.__addimage__.isArrayBufferView=function(Fe){return Fe instanceof Int8Array||Fe instanceof Uint8Array||Fe instanceof Uint8ClampedArray||Fe instanceof Int16Array||Fe instanceof Uint16Array||Fe instanceof Int32Array||Fe instanceof Uint32Array||Fe instanceof Float32Array||Fe instanceof Float64Array},kt=f.__addimage__.binaryStringToUint8Array=function(Fe){for(var Me=Fe.length,lt=new Uint8Array(Me),Et=0;Et<Me;Et++)lt[Et]=Fe.charCodeAt(Et);return lt},Ft=f.__addimage__.arrayBufferToBinaryString=function(Fe){for(var Me="",lt=we(Fe)?Fe:new Uint8Array(Fe),Et=0;Et<lt.length;Et+=8192)Me+=String.fromCharCode.apply(null,lt.subarray(Et,Et+8192));return Me};f.addImage=function(){var Fe,Me,lt,Et,fr,vr,Zt,Tt,dr;if(typeof arguments[1]=="number"?(Me=p,lt=arguments[1],Et=arguments[2],fr=arguments[3],vr=arguments[4],Zt=arguments[5],Tt=arguments[6],dr=arguments[7]):(Me=arguments[1],lt=arguments[2],Et=arguments[3],fr=arguments[4],vr=arguments[5],Zt=arguments[6],Tt=arguments[7],dr=arguments[8]),(0,o.Z)(Fe=arguments[0])==="object"&&!It(Fe)&&"imageData"in Fe){var Yt=Fe;Fe=Yt.imageData,Me=Yt.format||Me||p,lt=Yt.x||lt||0,Et=Yt.y||Et||0,fr=Yt.w||Yt.width||fr,vr=Yt.h||Yt.height||vr,Zt=Yt.alias||Zt,Tt=Yt.compression||Tt,dr=Yt.rotation||Yt.angle||dr}var wr=this.internal.getFilters();if(Tt===void 0&&wr.indexOf("FlateEncode")!==-1&&(Tt="SLOW"),isNaN(lt)||isNaN(Et))throw new Error("Invalid coordinates passed to jsPDF.addImage");Q.call(this);var je=Ot.call(this,Fe,Me,Zt,Tt);return Kt.call(this,lt,Et,fr,vr,je,dr),this};var Ot=function(Fe,Me,lt,Et){var fr,vr,Zt;if(typeof Fe=="string"&&j(Fe)===p){Fe=unescape(Fe);var Tt=Jt(Fe,!1);(Tt!==""||(Tt=f.loadFile(Fe,!0))!==void 0)&&(Fe=Tt)}if(It(Fe)&&(Fe=ve(Fe,Me)),Me=j(Fe,Me),!Pt(Me))throw new Error("addImage does not support files of type '"+Me+"', please ensure that a plugin for '"+Me+"' support is added.");if(((Zt=lt)==null||Zt.length===0)&&(lt=function(dr){return typeof dr=="string"||we(dr)?Cr(dr):we(dr.data)?Cr(dr.data):null}(Fe)),(fr=rt.call(this,lt))||(Fe instanceof Uint8Array||Me==="RGBA"||(vr=Fe,Fe=kt(Fe)),fr=this["process"+Me.toUpperCase()](Fe,it.call(this),lt,function(dr){return dr&&typeof dr=="string"&&(dr=dr.toUpperCase()),dr in f.image_compression?dr:ur.NONE}(Et),vr)),!fr)throw new Error("An unknown error occurred whilst processing the image.");return fr},Jt=f.__addimage__.convertBase64ToBinaryString=function(Fe,Me){Me=typeof Me!="boolean"||Me;var lt,Et="";if(typeof Fe=="string"){var fr;lt=(fr=tt(Fe))!==null&&fr!==void 0?fr:Fe;try{Et=U(lt)}catch(vr){if(Me)throw Qt(lt)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+vr.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Et};f.getImageProperties=function(Fe){var Me,lt,Et="";if(It(Fe)&&(Fe=ve(Fe)),typeof Fe=="string"&&j(Fe)===p&&((Et=Jt(Fe,!1))===""&&(Et=f.loadFile(Fe)||""),Fe=Et),lt=j(Fe),!Pt(lt))throw new Error("addImage does not support files of type '"+lt+"', please ensure that a plugin for '"+lt+"' support is added.");if(Fe instanceof Uint8Array||(Fe=kt(Fe)),!(Me=this["process"+lt.toUpperCase()](Fe)))throw new Error("An unknown error occurred whilst processing the image");return Me.fileType=lt,Me}})(R.API),function(f){var s=function(p){if(p!==void 0&&p!="")return!0};R.API.events.push(["addPage",function(p){this.internal.getPageInfo(p.pageNumber).pageContext.annotations=[]}]),f.events.push(["putPage",function(p){for(var b,j,d,ne=this.internal.getCoordinateString,V=this.internal.getVerticalCoordinateString,Q=this.internal.getPageInfoByObjId(p.objId),Ae=p.pageContext.annotations,it=!1,Pt=0;Pt<Ae.length&&!it;Pt++)switch((b=Ae[Pt]).type){case"link":(s(b.options.url)||s(b.options.pageNumber))&&(it=!0);break;case"reference":case"text":case"freetext":it=!0}if(it!=0){this.internal.write("/Annots [");for(var It=0;It<Ae.length;It++){b=Ae[It];var ve=this.internal.pdfEscape,rt=this.internal.getEncryptor(p.objId);switch(b.type){case"reference":this.internal.write(" "+b.object.objId+" 0 R ");break;case"text":var gt=this.internal.newAdditionalObject(),Kt=this.internal.newAdditionalObject(),ct=this.internal.getEncryptor(gt.objId),ur=b.title||"Note";d="<</Type /Annot /Subtype /Text "+(j="/Rect ["+ne(b.bounds.x)+" "+V(b.bounds.y+b.bounds.h)+" "+ne(b.bounds.x+b.bounds.w)+" "+V(b.bounds.y)+"] ")+"/Contents ("+ve(ct(b.contents))+")",d+=" /Popup "+Kt.objId+" 0 R",d+=" /P "+Q.objId+" 0 R",d+=" /T ("+ve(ct(ur))+") >>",gt.content=d;var Cr=gt.objId+" 0 R";d="<</Type /Annot /Subtype /Popup "+(j="/Rect ["+ne(b.bounds.x+30)+" "+V(b.bounds.y+b.bounds.h)+" "+ne(b.bounds.x+b.bounds.w+30)+" "+V(b.bounds.y)+"] ")+" /Parent "+Cr,b.open&&(d+=" /Open true"),d+=" >>",Kt.content=d,this.internal.write(gt.objId,"0 R",Kt.objId,"0 R");break;case"freetext":j="/Rect ["+ne(b.bounds.x)+" "+V(b.bounds.y)+" "+ne(b.bounds.x+b.bounds.w)+" "+V(b.bounds.y+b.bounds.h)+"] ";var Qt=b.color||"#000000";d="<</Type /Annot /Subtype /FreeText "+j+"/Contents ("+ve(rt(b.contents))+")",d+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Qt+")",d+=" /Border [0 0 0]",d+=" >>",this.internal.write(d);break;case"link":if(b.options.name){var tt=this.annotations._nameMap[b.options.name];b.options.pageNumber=tt.page,b.options.top=tt.y}else b.options.top||(b.options.top=0);if(j="/Rect ["+b.finalBounds.x+" "+b.finalBounds.y+" "+b.finalBounds.w+" "+b.finalBounds.h+"] ",d="",b.options.url)d="<</Type /Annot /Subtype /Link "+j+"/Border [0 0 0] /A <</S /URI /URI ("+ve(rt(b.options.url))+") >>";else if(b.options.pageNumber)switch(d="<</Type /Annot /Subtype /Link "+j+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(b.options.pageNumber).objId+" 0 R",b.options.magFactor=b.options.magFactor||"XYZ",b.options.magFactor){case"Fit":d+=" /Fit]";break;case"FitH":d+=" /FitH "+b.options.top+"]";break;case"FitV":b.options.left=b.options.left||0,d+=" /FitV "+b.options.left+"]";break;default:var we=V(b.options.top);b.options.left=b.options.left||0,b.options.zoom===void 0&&(b.options.zoom=0),d+=" /XYZ "+b.options.left+" "+we+" "+b.options.zoom+"]"}d!=""&&(d+=" >>",this.internal.write(d))}}this.internal.write("]")}}]),f.createAnnotation=function(p){var b=this.internal.getCurrentPageInfo();switch(p.type){case"link":this.link(p.bounds.x,p.bounds.y,p.bounds.w,p.bounds.h,p);break;case"text":case"freetext":b.pageContext.annotations.push(p)}},f.link=function(p,b,j,d,ne){var V=this.internal.getCurrentPageInfo(),Q=this.internal.getCoordinateString,Ae=this.internal.getVerticalCoordinateString;V.pageContext.annotations.push({finalBounds:{x:Q(p),y:Ae(b),w:Q(p+j),h:Ae(b+d)},options:ne,type:"link"})},f.textWithLink=function(p,b,j,d){var ne,V,Q=this.getTextWidth(p),Ae=this.internal.getLineHeight()/this.internal.scaleFactor;if(d.maxWidth!==void 0){V=d.maxWidth;var it=this.splitTextToSize(p,V).length;ne=Math.ceil(Ae*it)}else V=Q,ne=Ae;return this.text(p,b,j,d),j+=.2*Ae,d.align==="center"&&(b-=Q/2),d.align==="right"&&(b-=Q),this.link(b,j-Ae,V,ne,d),Q},f.getTextWidth=function(p){var b=this.internal.getFontSize();return this.getStringUnitWidth(p)*b/this.internal.scaleFactor}}(R.API),function(f){var s={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]},p={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}},b={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},j=[1570,1571,1573,1575];f.__arabicParser__={};var d=f.__arabicParser__.isInArabicSubstitutionA=function(gt){return s[gt.charCodeAt(0)]!==void 0},ne=f.__arabicParser__.isArabicLetter=function(gt){return typeof gt=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(gt)},V=f.__arabicParser__.isArabicEndLetter=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length<=2},Q=f.__arabicParser__.isArabicAlfLetter=function(gt){return ne(gt)&&j.indexOf(gt.charCodeAt(0))>=0};f.__arabicParser__.arabicLetterHasIsolatedForm=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length>=1};var Ae=f.__arabicParser__.arabicLetterHasFinalForm=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length>=2};f.__arabicParser__.arabicLetterHasInitialForm=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length>=3};var it=f.__arabicParser__.arabicLetterHasMedialForm=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length==4},Pt=f.__arabicParser__.resolveLigatures=function(gt){var Kt=0,ct=p,ur="",Cr=0;for(Kt=0;Kt<gt.length;Kt+=1)ct[gt.charCodeAt(Kt)]!==void 0?(Cr++,typeof(ct=ct[gt.charCodeAt(Kt)])=="number"&&(ur+=String.fromCharCode(ct),ct=p,Cr=0),Kt===gt.length-1&&(ct=p,ur+=gt.charAt(Kt-(Cr-1)),Kt-=Cr-1,Cr=0)):(ct=p,ur+=gt.charAt(Kt-Cr),Kt-=Cr,Cr=0);return ur};f.__arabicParser__.isArabicDiacritic=function(gt){return gt!==void 0&&b[gt.charCodeAt(0)]!==void 0};var It=f.__arabicParser__.getCorrectForm=function(gt,Kt,ct){return ne(gt)?d(gt)===!1?-1:!Ae(gt)||!ne(Kt)&&!ne(ct)||!ne(ct)&&V(Kt)||V(gt)&&!ne(Kt)||V(gt)&&Q(Kt)||V(gt)&&V(Kt)?0:it(gt)&&ne(Kt)&&!V(Kt)&&ne(ct)&&Ae(ct)?3:V(gt)||!ne(ct)?1:2:-1},ve=function(gt){var Kt=0,ct=0,ur=0,Cr="",Qt="",tt="",we=(gt=gt||"").split("\\s+"),kt=[];for(Kt=0;Kt<we.length;Kt+=1){for(kt.push(""),ct=0;ct<we[Kt].length;ct+=1)Cr=we[Kt][ct],Qt=we[Kt][ct-1],tt=we[Kt][ct+1],ne(Cr)?(ur=It(Cr,Qt,tt),kt[Kt]+=ur!==-1?String.fromCharCode(s[Cr.charCodeAt(0)][ur]):Cr):kt[Kt]+=Cr;kt[Kt]=Pt(kt[Kt])}return kt.join(" ")},rt=f.__arabicParser__.processArabic=f.processArabic=function(){var gt,Kt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,ct=[];if(Array.isArray(Kt)){var ur=0;for(ct=[],ur=0;ur<Kt.length;ur+=1)Array.isArray(Kt[ur])?ct.push([ve(Kt[ur][0]),Kt[ur][1],Kt[ur][2]]):ct.push([ve(Kt[ur])]);gt=ct}else gt=ve(Kt);return typeof arguments[0]=="string"?gt:(arguments[0].text=gt,arguments[0])};f.events.push(["preProcessText",rt])}(R.API),R.API.autoPrint=function(f){var s;return(f=f||{}).variant=f.variant||"non-conform",f.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){s=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 "+s+" 0 R")})),this},function(f){var s=function(){var p=void 0;Object.defineProperty(this,"pdf",{get:function(){return p},set:function(V){p=V}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(V){b=isNaN(V)||Number.isInteger(V)===!1||V<0?150:V,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var j=300;Object.defineProperty(this,"height",{get:function(){return j},set:function(V){j=isNaN(V)||Number.isInteger(V)===!1||V<0?300:V,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=j+1)}});var d=[];Object.defineProperty(this,"childNodes",{get:function(){return d},set:function(V){d=V}});var ne={};Object.defineProperty(this,"style",{get:function(){return ne},set:function(V){ne=V}}),Object.defineProperty(this,"parentNode",{})};s.prototype.getContext=function(p,b){var j;if((p=p||"2d")!=="2d")return null;for(j in b)this.pdf.context2d.hasOwnProperty(j)&&(this.pdf.context2d[j]=b[j]);return this.pdf.context2d._canvas=this,this.pdf.context2d},s.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},f.events.push(["initialized",function(){this.canvas=new s,this.canvas.pdf=this}])}(R.API),function(f){var s={left:0,top:0,bottom:0,right:0},p=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},s),this.internal.__cell__.margins.width=this.getPageWidth(),j.call(this))},j=function(){this.internal.__cell__.lastCell=new d,this.internal.__cell__.pages=1},d=function(){var Q=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Q},set:function(gt){Q=gt}});var Ae=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ae},set:function(gt){Ae=gt}});var it=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return it},set:function(gt){it=gt}});var Pt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Pt},set:function(gt){Pt=gt}});var It=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return It},set:function(gt){It=gt}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(gt){ve=gt}});var rt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return rt},set:function(gt){rt=gt}}),this};d.prototype.clone=function(){return new d(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},d.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},f.setHeaderFunction=function(Q){return b.call(this),this.internal.__cell__.headerFunction=typeof Q=="function"?Q:void 0,this},f.getTextDimensions=function(Q,Ae){b.call(this);var it=(Ae=Ae||{}).fontSize||this.getFontSize(),Pt=Ae.font||this.getFont(),It=Ae.scaleFactor||this.internal.scaleFactor,ve=0,rt=0,gt=0,Kt=this;if(!Array.isArray(Q)&&typeof Q!="string"){if(typeof Q!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");Q=String(Q)}var ct=Ae.maxWidth;ct>0?typeof Q=="string"?Q=this.splitTextToSize(Q,ct):Object.prototype.toString.call(Q)==="[object Array]"&&(Q=Q.reduce(function(Cr,Qt){return Cr.concat(Kt.splitTextToSize(Qt,ct))},[])):Q=Array.isArray(Q)?Q:[Q];for(var ur=0;ur<Q.length;ur++)ve<(gt=this.getStringUnitWidth(Q[ur],{font:Pt})*it)&&(ve=gt);return ve!==0&&(rt=Q.length),{w:ve/=It,h:Math.max((rt*it*this.getLineHeightFactor()-it*(this.getLineHeightFactor()-1))/It,0)}},f.cellAddPage=function(){b.call(this),this.addPage();var Q=this.internal.__cell__.margins||s;return this.internal.__cell__.lastCell=new d(Q.left,Q.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var ne=f.cell=function(){var Q;Q=arguments[0]instanceof d?arguments[0]:new d(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),b.call(this);var Ae=this.internal.__cell__.lastCell,it=this.internal.__cell__.padding,Pt=this.internal.__cell__.margins||s,It=this.internal.__cell__.tableHeaderRow,ve=this.internal.__cell__.printHeaders;return Ae.lineNumber!==void 0&&(Ae.lineNumber===Q.lineNumber?(Q.x=(Ae.x||0)+(Ae.width||0),Q.y=Ae.y||0):Ae.y+Ae.height+Q.height+Pt.bottom>this.getPageHeight()?(this.cellAddPage(),Q.y=Pt.top,ve&&It&&(this.printHeaderRow(Q.lineNumber,!0),Q.y+=It[0].height)):Q.y=Ae.y+Ae.height||Q.y),Q.text[0]!==void 0&&(this.rect(Q.x,Q.y,Q.width,Q.height,p===!0?"FD":void 0),Q.align==="right"?this.text(Q.text,Q.x+Q.width-it,Q.y+it,{align:"right",baseline:"top"}):Q.align==="center"?this.text(Q.text,Q.x+Q.width/2,Q.y+it,{align:"center",baseline:"top",maxWidth:Q.width-it-it}):this.text(Q.text,Q.x+it,Q.y+it,{align:"left",baseline:"top",maxWidth:Q.width-it-it})),this.internal.__cell__.lastCell=Q,this};f.table=function(Q,Ae,it,Pt,It){if(b.call(this),!it)throw new Error("No data for PDF table.");var ve,rt,gt,Kt,ct=[],ur=[],Cr=[],Qt={},tt={},we=[],kt=[],Ft=(It=It||{}).autoSize||!1,Ot=It.printHeaders!==!1,Jt=It.css&&It.css["font-size"]!==void 0?16*It.css["font-size"]:It.fontSize||12,Fe=It.margins||Object.assign({width:this.getPageWidth()},s),Me=typeof It.padding=="number"?It.padding:3,lt=It.headerBackgroundColor||"#c8c8c8",Et=It.headerTextColor||"#000";if(j.call(this),this.internal.__cell__.printHeaders=Ot,this.internal.__cell__.margins=Fe,this.internal.__cell__.table_font_size=Jt,this.internal.__cell__.padding=Me,this.internal.__cell__.headerBackgroundColor=lt,this.internal.__cell__.headerTextColor=Et,this.setFontSize(Jt),Pt==null)ur=ct=Object.keys(it[0]),Cr=ct.map(function(){return"left"});else if(Array.isArray(Pt)&&(0,o.Z)(Pt[0])==="object")for(ct=Pt.map(function(Yt){return Yt.name}),ur=Pt.map(function(Yt){return Yt.prompt||Yt.name||""}),Cr=Pt.map(function(Yt){return Yt.align||"left"}),ve=0;ve<Pt.length;ve+=1)tt[Pt[ve].name]=.7499990551181103*Pt[ve].width;else Array.isArray(Pt)&&typeof Pt[0]=="string"&&(ur=ct=Pt,Cr=ct.map(function(){return"left"}));if(Ft||Array.isArray(Pt)&&typeof Pt[0]=="string")for(ve=0;ve<ct.length;ve+=1){for(Qt[Kt=ct[ve]]=it.map(function(Yt){return Yt[Kt]}),this.setFont(void 0,"bold"),we.push(this.getTextDimensions(ur[ve],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),rt=Qt[Kt],this.setFont(void 0,"normal"),gt=0;gt<rt.length;gt+=1)we.push(this.getTextDimensions(rt[gt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);tt[Kt]=Math.max.apply(null,we)+Me+Me,we=[]}if(Ot){var fr={};for(ve=0;ve<ct.length;ve+=1)fr[ct[ve]]={},fr[ct[ve]].text=ur[ve],fr[ct[ve]].align=Cr[ve];var vr=V.call(this,fr,tt);kt=ct.map(function(Yt){return new d(Q,Ae,tt[Yt],vr,fr[Yt].text,void 0,fr[Yt].align)}),this.setTableHeaderRow(kt),this.printHeaderRow(1,!1)}var Zt=Pt.reduce(function(Yt,wr){return Yt[wr.name]=wr.align,Yt},{});for(ve=0;ve<it.length;ve+=1){"rowStart"in It&&It.rowStart instanceof Function&&It.rowStart({row:ve,data:it[ve]},this);var Tt=V.call(this,it[ve],tt);for(gt=0;gt<ct.length;gt+=1){var dr=it[ve][ct[gt]];"cellStart"in It&&It.cellStart instanceof Function&&It.cellStart({row:ve,col:gt,data:dr},this),ne.call(this,new d(Q,Ae,tt[ct[gt]],Tt,dr,ve+2,Zt[ct[gt]]))}}return this.internal.__cell__.table_x=Q,this.internal.__cell__.table_y=Ae,this};var V=function(Q,Ae){var it=this.internal.__cell__.padding,Pt=this.internal.__cell__.table_font_size,It=this.internal.scaleFactor;return Object.keys(Q).map(function(ve){var rt=Q[ve];return this.splitTextToSize(rt.hasOwnProperty("text")?rt.text:rt,Ae[ve]-it-it)},this).map(function(ve){return this.getLineHeightFactor()*ve.length*Pt/It+it+it},this).reduce(function(ve,rt){return Math.max(ve,rt)},0)};f.setTableHeaderRow=function(Q){b.call(this),this.internal.__cell__.tableHeaderRow=Q},f.printHeaderRow=function(Q,Ae){if(b.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var it;if(p=!0,typeof this.internal.__cell__.headerFunction=="function"){var Pt=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new d(Pt[0],Pt[1],Pt[2],Pt[3],void 0,-1)}this.setFont(void 0,"bold");for(var It=[],ve=0;ve<this.internal.__cell__.tableHeaderRow.length;ve+=1){it=this.internal.__cell__.tableHeaderRow[ve].clone(),Ae&&(it.y=this.internal.__cell__.margins.top||0,It.push(it)),it.lineNumber=Q;var rt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),ne.call(this,it),this.setTextColor(rt)}It.length>0&&this.setTableHeaderRow(It),this.setFont(void 0,"normal"),p=!1}}(R.API);var Mr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Dn=Fr(bn),Rt=[100,200,300,400,500,600,700,800,900],xr=Fr(Rt);function sr(f){var s=f.family.replace(/"|'/g,"").toLowerCase(),p=function(d){return Mr[d=d||"normal"]?d:"normal"}(f.style),b=function(d){return d?typeof d=="number"?d>=100&&d<=900&&d%100==0?d:400:/^\d00$/.test(d)?parseInt(d):d==="bold"?700:400:400}(f.weight),j=function(d){return typeof Dn[d=d||"normal"]=="number"?d:"normal"}(f.stretch);return{family:s,style:p,weight:b,stretch:j,src:f.src||[],ref:f.ref||{name:s,style:[j,p,b].join(" ")}}}function C(f,s,p,b){var j;for(j=p;j>=0&&j<s.length;j+=b)if(f[s[j]])return f[s[j]];for(j=p;j>=0&&j<s.length;j-=b)if(f[s[j]])return f[s[j]]}var v={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Vt={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function $(f){return[f.stretch,f.style,f.weight,f.family].join(" ")}function Oe(f){return f.trimLeft()}function ln(f,s){for(var p=0;p<f.length;){if(f.charAt(p)===s)return[f.substring(0,p),f.substring(p+1)];p+=1}return null}function Wr(f){var s=f.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return s===null?null:[s[0],f.substring(s[0].length)]}var Ht,Gt,br,Kr,an,An,Ct,Lt,Ue=["times"];function jr(f,s,p,b,j){var d=4,ne=Cn;switch(j){case R.API.image_compression.FAST:d=1,ne=Gr;break;case R.API.image_compression.MEDIUM:d=6,ne=na;break;case R.API.image_compression.SLOW:d=9,ne=mt}f=function(Q,Ae,it,Pt){for(var It,ve=Q.length/Ae,rt=new Uint8Array(Q.length+ve),gt=[$r,Gr,Cn,na,mt],Kt=0;Kt<ve;Kt+=1){var ct=Kt*Ae,ur=Q.subarray(ct,ct+Ae);if(Pt)rt.set(Pt(ur,it,It),ct+Kt);else{for(var Cr=gt.length,Qt=[],tt=0;tt<Cr;tt+=1)Qt[tt]=gt[tt](ur,it,It);var we=cr(Qt.concat());rt.set(Qt[we],ct+Kt)}It=ur}return rt}(f,s,Math.ceil(p*b/8),ne);var V=(0,Xe.iZ)(f,{level:d});return R.API.__addimage__.arrayBufferToBinaryString(V)}function $r(f){var s=Array.apply([],f);return s.unshift(0),s}function Gr(f,s){var p=f.length,b=[];b[0]=1;for(var j=0;j<p;j+=1){var d=f[j-s]||0;b[j+1]=f[j]-d+256&255}return b}function Cn(f,s,p){var b=f.length,j=[];j[0]=2;for(var d=0;d<b;d+=1){var ne=p&&p[d]||0;j[d+1]=f[d]-ne+256&255}return j}function na(f,s,p){var b=f.length,j=[];j[0]=3;for(var d=0;d<b;d+=1){var ne=f[d-s]||0,V=p&&p[d]||0;j[d+1]=f[d]+256-(ne+V>>>1)&255}return j}function mt(f,s,p){var b=f.length,j=[];j[0]=4;for(var d=0;d<b;d+=1){var ne=rr(f[d-s]||0,p&&p[d]||0,p&&p[d-s]||0);j[d+1]=f[d]-ne+256&255}return j}function rr(f,s,p){if(f===s&&s===p)return f;var b=Math.abs(s-p),j=Math.abs(f-p),d=Math.abs(f+s-p-p);return b<=j&&b<=d?f:j<=d?s:p}function cr(f){var s=f.map(function(p){return p.reduce(function(b,j){return b+Math.abs(j)},0)});return s.indexOf(Math.min.apply(null,s))}function ir(f,s,p){var b=s*p,j=Math.floor(b/8),d=16-(b-8*j+p),ne=(1<<p)-1;return Dr(f,j)>>d&ne}function Nr(f,s,p,b){var j=p*b,d=Math.floor(j/8),ne=16-(j-8*d+b),V=(1<<b)-1,Q=(s&V)<<ne;(function(Ae,it,Pt){if(it+1<Ae.byteLength)Ae.setUint16(it,Pt,!1);else{var It=Pt>>8&255;Ae.setUint8(it,It)}})(f,d,Dr(f,d)&~(V<<ne)&65535|Q)}function Dr(f,s){return s+1<f.byteLength?f.getUint16(s,!1):f.getUint8(s)<<8}function sn(f){var s=0;if(f[s++]!==71||f[s++]!==73||f[s++]!==70||f[s++]!==56||(f[s++]+1&253)!=56||f[s++]!==97)throw new Error("Invalid GIF 87a/89a header.");var p=f[s++]|f[s++]<<8,b=f[s++]|f[s++]<<8,j=f[s++],d=j>>7,ne=1<<1+(7&j);f[s++],f[s++];var V=null,Q=null;d&&(V=s,Q=ne,s+=3*ne);var Ae=!0,it=[],Pt=0,It=null,ve=0,rt=null;for(this.width=p,this.height=b;Ae&&s<f.length;)switch(f[s++]){case 33:switch(f[s++]){case 255:if(f[s]!==11||f[s+1]==78&&f[s+2]==69&&f[s+3]==84&&f[s+4]==83&&f[s+5]==67&&f[s+6]==65&&f[s+7]==80&&f[s+8]==69&&f[s+9]==50&&f[s+10]==46&&f[s+11]==48&&f[s+12]==3&&f[s+13]==1&&f[s+16]==0)s+=14,rt=f[s++]|f[s++]<<8,s++;else for(s+=12;;){if(!((Fe=f[s++])>=0))throw Error("Invalid block size");if(Fe===0)break;s+=Fe}break;case 249:if(f[s++]!==4||f[s+4]!==0)throw new Error("Invalid graphics extension block.");var gt=f[s++];Pt=f[s++]|f[s++]<<8,It=f[s++],1&gt||(It=null),ve=gt>>2&7,s++;break;case 254:for(;;){if(!((Fe=f[s++])>=0))throw Error("Invalid block size");if(Fe===0)break;s+=Fe}break;default:throw new Error("Unknown graphic control label: 0x"+f[s-1].toString(16))}break;case 44:var Kt=f[s++]|f[s++]<<8,ct=f[s++]|f[s++]<<8,ur=f[s++]|f[s++]<<8,Cr=f[s++]|f[s++]<<8,Qt=f[s++],tt=Qt>>6&1,we=1<<1+(7&Qt),kt=V,Ft=Q,Ot=!1;Qt>>7&&(Ot=!0,kt=s,Ft=we,s+=3*we);var Jt=s;for(s++;;){var Fe;if(!((Fe=f[s++])>=0))throw Error("Invalid block size");if(Fe===0)break;s+=Fe}it.push({x:Kt,y:ct,width:ur,height:Cr,has_local_palette:Ot,palette_offset:kt,palette_size:Ft,data_offset:Jt,data_length:s-Jt,transparent_index:It,interlaced:!!tt,delay:Pt,disposal:ve});break;case 59:Ae=!1;break;default:throw new Error("Unknown gif block: 0x"+f[s-1].toString(16))}this.numFrames=function(){return it.length},this.loopCount=function(){return rt},this.frameInfo=function(Me){if(Me<0||Me>=it.length)throw new Error("Frame index out of range.");return it[Me]},this.decodeAndBlitFrameBGRA=function(Me,lt){var Et=this.frameInfo(Me),fr=Et.width*Et.height,vr=new Uint8Array(fr);Br(f,Et.data_offset,vr,fr);var Zt=Et.palette_offset,Tt=Et.transparent_index;Tt===null&&(Tt=256);var dr=Et.width,Yt=p-dr,wr=dr,je=4*(Et.y*p+Et.x),vt=4*((Et.y+Et.height)*p+Et.x),Nt=je,st=4*Yt;Et.interlaced===!0&&(st+=4*p*7);for(var qt=8,nr=0,Or=vr.length;nr<Or;++nr){var Ar=vr[nr];if(wr===0&&(wr=dr,(Nt+=st)>=vt&&(st=4*Yt+4*p*(qt-1),Nt=je+(dr+Yt)*(qt<<1),qt>>=1)),Ar===Tt)Nt+=4;else{var Rr=f[Zt+3*Ar],Hr=f[Zt+3*Ar+1],cn=f[Zt+3*Ar+2];lt[Nt++]=cn,lt[Nt++]=Hr,lt[Nt++]=Rr,lt[Nt++]=255}--wr}},this.decodeAndBlitFrameRGBA=function(Me,lt){var Et=this.frameInfo(Me),fr=Et.width*Et.height,vr=new Uint8Array(fr);Br(f,Et.data_offset,vr,fr);var Zt=Et.palette_offset,Tt=Et.transparent_index;Tt===null&&(Tt=256);var dr=Et.width,Yt=p-dr,wr=dr,je=4*(Et.y*p+Et.x),vt=4*((Et.y+Et.height)*p+Et.x),Nt=je,st=4*Yt;Et.interlaced===!0&&(st+=4*p*7);for(var qt=8,nr=0,Or=vr.length;nr<Or;++nr){var Ar=vr[nr];if(wr===0&&(wr=dr,(Nt+=st)>=vt&&(st=4*Yt+4*p*(qt-1),Nt=je+(dr+Yt)*(qt<<1),qt>>=1)),Ar===Tt)Nt+=4;else{var Rr=f[Zt+3*Ar],Hr=f[Zt+3*Ar+1],cn=f[Zt+3*Ar+2];lt[Nt++]=Rr,lt[Nt++]=Hr,lt[Nt++]=cn,lt[Nt++]=255}--wr}}}function Br(f,s,p,b){for(var j=f[s++],d=1<<j,ne=d+1,V=ne+1,Q=j+1,Ae=(1<<Q)-1,it=0,Pt=0,It=0,ve=f[s++],rt=new Int32Array(4096),gt=null;;){for(;it<16&&ve!==0;)Pt|=f[s++]<<it,it+=8,ve===1?ve=f[s++]:--ve;if(it<Q)break;var Kt=Pt&Ae;if(Pt>>=Q,it-=Q,Kt!==d){if(Kt===ne)break;for(var ct=Kt<V?Kt:gt,ur=0,Cr=ct;Cr>d;)Cr=rt[Cr]>>8,++ur;var Qt=Cr;if(It+ur+(ct!==Kt?1:0)>b)return void Y.log("Warning, gif stream longer than expected.");p[It++]=Qt;var tt=It+=ur;for(ct!==Kt&&(p[It++]=Qt),Cr=ct;ur--;)Cr=rt[Cr],p[--tt]=255&Cr,Cr>>=8;gt!==null&&V<4096&&(rt[V++]=gt<<8|Qt,V>=Ae+1&&Q<12&&(++Q,Ae=Ae<<1|1)),gt=Kt}else V=ne+1,Ae=(1<<(Q=j+1))-1,gt=null}return It!==b&&Y.log("Warning, gif stream shorter than expected."),p}function pn(f){var s,p,b,j,d,ne=Math.floor,V=new Array(64),Q=new Array(64),Ae=new Array(64),it=new Array(64),Pt=new Array(65535),It=new Array(65535),ve=new Array(64),rt=new Array(64),gt=[],Kt=0,ct=7,ur=new Array(64),Cr=new Array(64),Qt=new Array(64),tt=new Array(256),we=new Array(2048),kt=[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],Ft=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ot=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],Fe=[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],Me=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],lt=[0,1,2,3,4,5,6,7,8,9,10,11],Et=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],fr=[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 vr(je,vt){for(var Nt=0,st=0,qt=new Array,nr=1;nr<=16;nr++){for(var Or=1;Or<=je[nr];Or++)qt[vt[st]]=[],qt[vt[st]][0]=Nt,qt[vt[st]][1]=nr,st++,Nt++;Nt*=2}return qt}function Zt(je){for(var vt=je[0],Nt=je[1]-1;Nt>=0;)vt&1<<Nt&&(Kt|=1<<ct),Nt--,--ct<0&&(Kt==255?(Tt(255),Tt(0)):Tt(Kt),ct=7,Kt=0)}function Tt(je){gt.push(je)}function dr(je){Tt(je>>8&255),Tt(255&je)}function Yt(je,vt,Nt,st,qt){for(var nr,Or=qt[0],Ar=qt[240],Rr=function(Jr,Vr){var En,oa,_n,xa,qn,Qn,ka,ra,Hn,ea,Un=0;for(Hn=0;Hn<8;++Hn){En=Jr[Un],oa=Jr[Un+1],_n=Jr[Un+2],xa=Jr[Un+3],qn=Jr[Un+4],Qn=Jr[Un+5],ka=Jr[Un+6];var Ln=En+(ra=Jr[Un+7]),Xn=En-ra,rn=oa+ka,mn=oa-ka,sa=_n+Qn,Sn=_n-Qn,ha=xa+qn,Vn=xa-qn,Ha=Ln+ha,qa=Ln-ha,yn=rn+sa,Pn=rn-sa;Jr[Un]=Ha+yn,Jr[Un+4]=Ha-yn;var fa=.707106781*(Pn+qa);Jr[Un+2]=qa+fa,Jr[Un+6]=qa-fa;var Ja=.382683433*((Ha=Vn+Sn)-(Pn=mn+Xn)),Ga=.5411961*Ha+Ja,io=1.306562965*Pn+Ja,so=.707106781*(yn=Sn+mn),la=Xn+so,Io=Xn-so;Jr[Un+5]=Io+Ga,Jr[Un+3]=Io-Ga,Jr[Un+1]=la+io,Jr[Un+7]=la-io,Un+=8}for(Un=0,Hn=0;Hn<8;++Hn){En=Jr[Un],oa=Jr[Un+8],_n=Jr[Un+16],xa=Jr[Un+24],qn=Jr[Un+32],Qn=Jr[Un+40],ka=Jr[Un+48];var Aa=En+(ra=Jr[Un+56]),ja=En-ra,Ta=oa+ka,Na=oa-ka,Ba=_n+Qn,ma=_n-Qn,Ka=xa+qn,La=xa-qn,Qa=Aa+Ka,eo=Aa-Ka,lo=Ta+Ba,Ao=Ta-Ba;Jr[Un]=Qa+lo,Jr[Un+32]=Qa-lo;var Co=.707106781*(Ao+eo);Jr[Un+16]=eo+Co,Jr[Un+48]=eo-Co;var Ra=.382683433*((Qa=La+ma)-(Ao=Na+ja)),Uo=.5411961*Qa+Ra,ho=1.306562965*Ao+Ra,No=.707106781*(lo=ma+Na),xo=ja+No,ii=ja-No;Jr[Un+40]=ii+Uo,Jr[Un+24]=ii-Uo,Jr[Un+8]=xo+ho,Jr[Un+56]=xo-ho,Un++}for(Hn=0;Hn<64;++Hn)ea=Jr[Hn]*Vr[Hn],ve[Hn]=ea>0?ea+.5|0:ea-.5|0;return ve}(je,vt),Hr=0;Hr<64;++Hr)rt[kt[Hr]]=Rr[Hr];var cn=rt[0]-Nt;Nt=rt[0],cn==0?Zt(st[0]):(Zt(st[It[nr=32767+cn]]),Zt(Pt[nr]));for(var wn=63;wn>0&&rt[wn]==0;)wn--;if(wn==0)return Zt(Or),Nt;for(var Lr,Mt=1;Mt<=wn;){for(var ba=Mt;rt[Mt]==0&&Mt<=wn;)++Mt;var da=Mt-ba;if(da>=16){Lr=da>>4;for(var Wn=1;Wn<=Lr;++Wn)Zt(Ar);da&=15}nr=32767+rt[Mt],Zt(qt[(da<<4)+It[nr]]),Zt(Pt[nr]),Mt++}return wn!=63&&Zt(Or),Nt}function wr(je){je=Math.min(Math.max(je,1),100),d!=je&&(function(vt){for(var Nt=[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],st=0;st<64;st++){var qt=ne((Nt[st]*vt+50)/100);qt=Math.min(Math.max(qt,1),255),V[kt[st]]=qt}for(var nr=[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],Or=0;Or<64;Or++){var Ar=ne((nr[Or]*vt+50)/100);Ar=Math.min(Math.max(Ar,1),255),Q[kt[Or]]=Ar}for(var Rr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Hr=0,cn=0;cn<8;cn++)for(var wn=0;wn<8;wn++)Ae[Hr]=1/(V[kt[Hr]]*Rr[cn]*Rr[wn]*8),it[Hr]=1/(Q[kt[Hr]]*Rr[cn]*Rr[wn]*8),Hr++}(je<50?Math.floor(5e3/je):Math.floor(200-2*je)),d=je)}this.encode=function(je,vt){vt&&wr(vt),gt=new Array,Kt=0,ct=7,dr(65496),dr(65504),dr(16),Tt(74),Tt(70),Tt(73),Tt(70),Tt(0),Tt(1),Tt(1),Tt(0),dr(1),dr(1),Tt(0),Tt(0),function(){dr(65499),dr(132),Tt(0);for(var oa=0;oa<64;oa++)Tt(V[oa]);Tt(1);for(var _n=0;_n<64;_n++)Tt(Q[_n])}(),function(oa,_n){dr(65472),dr(17),Tt(8),dr(_n),dr(oa),Tt(3),Tt(1),Tt(17),Tt(0),Tt(2),Tt(17),Tt(1),Tt(3),Tt(17),Tt(1)}(je.width,je.height),function(){dr(65476),dr(418),Tt(0);for(var oa=0;oa<16;oa++)Tt(Ft[oa+1]);for(var _n=0;_n<=11;_n++)Tt(Ot[_n]);Tt(16);for(var xa=0;xa<16;xa++)Tt(Jt[xa+1]);for(var qn=0;qn<=161;qn++)Tt(Fe[qn]);Tt(1);for(var Qn=0;Qn<16;Qn++)Tt(Me[Qn+1]);for(var ka=0;ka<=11;ka++)Tt(lt[ka]);Tt(17);for(var ra=0;ra<16;ra++)Tt(Et[ra+1]);for(var Hn=0;Hn<=161;Hn++)Tt(fr[Hn])}(),dr(65498),dr(12),Tt(3),Tt(1),Tt(0),Tt(2),Tt(17),Tt(3),Tt(17),Tt(0),Tt(63),Tt(0);var Nt=0,st=0,qt=0;Kt=0,ct=7,this.encode.displayName="_encode_";for(var nr,Or,Ar,Rr,Hr,cn,wn,Lr,Mt,ba=je.data,da=je.width,Wn=je.height,Jr=4*da,Vr=0;Vr<Wn;){for(nr=0;nr<Jr;){for(Hr=Jr*Vr+nr,wn=-1,Lr=0,Mt=0;Mt<64;Mt++)cn=Hr+(Lr=Mt>>3)*Jr+(wn=4*(7&Mt)),Vr+Lr>=Wn&&(cn-=Jr*(Vr+1+Lr-Wn)),nr+wn>=Jr&&(cn-=nr+wn-Jr+4),Or=ba[cn++],Ar=ba[cn++],Rr=ba[cn++],ur[Mt]=(we[Or]+we[Ar+256|0]+we[Rr+512|0]>>16)-128,Cr[Mt]=(we[Or+768|0]+we[Ar+1024|0]+we[Rr+1280|0]>>16)-128,Qt[Mt]=(we[Or+1280|0]+we[Ar+1536|0]+we[Rr+1792|0]>>16)-128;Nt=Yt(ur,Ae,Nt,s,b),st=Yt(Cr,it,st,p,j),qt=Yt(Qt,it,qt,p,j),nr+=32}Vr+=8}if(ct>=0){var En=[];En[1]=ct+1,En[0]=(1<<ct+1)-1,Zt(En)}return dr(65497),new Uint8Array(gt)},f=f||50,function(){for(var je=String.fromCharCode,vt=0;vt<256;vt++)tt[vt]=je(vt)}(),s=vr(Ft,Ot),p=vr(Me,lt),b=vr(Jt,Fe),j=vr(Et,fr),function(){for(var je=1,vt=2,Nt=1;Nt<=15;Nt++){for(var st=je;st<vt;st++)It[32767+st]=Nt,Pt[32767+st]=[],Pt[32767+st][1]=Nt,Pt[32767+st][0]=st;for(var qt=-(vt-1);qt<=-je;qt++)It[32767+qt]=Nt,Pt[32767+qt]=[],Pt[32767+qt][1]=Nt,Pt[32767+qt][0]=vt-1+qt;je<<=1,vt<<=1}}(),function(){for(var je=0;je<256;je++)we[je]=19595*je,we[je+256|0]=38470*je,we[je+512|0]=7471*je+32768,we[je+768|0]=-11059*je,we[je+1024|0]=-21709*je,we[je+1280|0]=32768*je+8421375,we[je+1536|0]=-27439*je,we[je+1792|0]=-5329*je}(),wr(f)}function on(f,s){if(this.pos=0,this.buffer=f,this.datav=new DataView(f.buffer),this.is_with_alpha=!!s,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Mn(f){function s(Ot){if(!Ot)throw Error("assert :P")}function p(Ot,Jt,Fe){for(var Me=0;4>Me;Me++)if(Ot[Jt+Me]!=Fe.charCodeAt(Me))return!0;return!1}function b(Ot,Jt,Fe,Me,lt){for(var Et=0;Et<lt;Et++)Ot[Jt+Et]=Fe[Me+Et]}function j(Ot,Jt,Fe,Me){for(var lt=0;lt<Me;lt++)Ot[Jt+lt]=Fe}function d(Ot){return new Int32Array(Ot)}function ne(Ot,Jt){for(var Fe=[],Me=0;Me<Ot;Me++)Fe.push(new Jt);return Fe}function V(Ot,Jt){var Fe=[];return function Me(lt,Et,fr){for(var vr=fr[Et],Zt=0;Zt<vr&&(lt.push(fr.length>Et+1?[]:new Jt),!(fr.length<Et+1));Zt++)Me(lt[Zt],Et+1,fr)}(Fe,0,Ot),Fe}var Q=function(){var Ot=this;function Jt(i,m){for(var W=1<<m-1>>>0;i&W;)W>>>=1;return W?(i&W-1)+W:i}function Fe(i,m,W,le,Ne){s(!(le%W));do i[m+(le-=W)]=Ne;while(0<le)}function Me(i,m,W,le,Ne){if(s(2328>=Ne),512>=Ne)var Ge=d(512);else if((Ge=d(Ne))==null)return 0;return function(Qe,ut,bt,zt,mr,zr){var Dt,gr,Ir=ut,Xr=1<<bt,Tr=d(16),Yr=d(16);for(s(mr!=0),s(zt!=null),s(Qe!=null),s(0<bt),gr=0;gr<mr;++gr){if(15<zt[gr])return 0;++Tr[zt[gr]]}if(Tr[0]==mr)return 0;for(Yr[1]=0,Dt=1;15>Dt;++Dt){if(Tr[Dt]>1<<Dt)return 0;Yr[Dt+1]=Yr[Dt]+Tr[Dt]}for(gr=0;gr<mr;++gr)Dt=zt[gr],0<zt[gr]&&(zr[Yr[Dt]++]=gr);if(Yr[15]==1)return(zt=new lt).g=0,zt.value=zr[0],Fe(Qe,Ir,1,Xr,zt),Xr;var tn,vn=-1,fn=Xr-1,ya=0,ia=1,Za=1,pa=1<<bt;for(gr=0,Dt=1,mr=2;Dt<=bt;++Dt,mr<<=1){if(ia+=Za<<=1,0>(Za-=Tr[Dt]))return 0;for(;0<Tr[Dt];--Tr[Dt])(zt=new lt).g=Dt,zt.value=zr[gr++],Fe(Qe,Ir+ya,mr,pa,zt),ya=Jt(ya,Dt)}for(Dt=bt+1,mr=2;15>=Dt;++Dt,mr<<=1){if(ia+=Za<<=1,0>(Za-=Tr[Dt]))return 0;for(;0<Tr[Dt];--Tr[Dt]){if(zt=new lt,(ya&fn)!=vn){for(Ir+=pa,tn=1<<(vn=Dt)-bt;15>vn&&!(0>=(tn-=Tr[vn]));)++vn,tn<<=1;Xr+=pa=1<<(tn=vn-bt),Qe[ut+(vn=ya&fn)].g=tn+bt,Qe[ut+vn].value=Ir-ut-vn}zt.g=Dt-bt,zt.value=zr[gr++],Fe(Qe,Ir+(ya>>bt),mr,pa,zt),ya=Jt(ya,Dt)}}return ia!=2*Yr[15]-1?0:Xr}(i,m,W,le,Ne,Ge)}function lt(){this.value=this.g=0}function Et(){this.value=this.g=0}function fr(){this.G=ne(5,lt),this.H=d(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ne(gn,Et)}function vr(i,m,W,le){s(i!=null),s(m!=null),s(2147483648>le),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=m,i.pa=W,i.Jd=m,i.Yc=W+le,i.Zc=4<=le?W+le-4+1:W,Or(i)}function Zt(i,m){for(var W=0;0<m--;)W|=Rr(i,128)<<m;return W}function Tt(i,m){var W=Zt(i,m);return Ar(i)?-W:W}function dr(i,m,W,le){var Ne,Ge=0;for(s(i!=null),s(m!=null),s(4294967288>le),i.Sb=le,i.Ra=0,i.u=0,i.h=0,4<le&&(le=4),Ne=0;Ne<le;++Ne)Ge+=m[W+Ne]<<8*Ne;i.Ra=Ge,i.bb=le,i.oa=m,i.pa=W}function Yt(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<ca-8>>>0,++i.bb,i.u-=8;st(i)&&(i.h=1,i.u=0)}function wr(i,m){if(s(0<=m),!i.h&&m<=Tn){var W=Nt(i)&Nn[m];return i.u+=m,Yt(i),W}return i.h=1,i.u=0}function je(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function vt(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Nt(i){return i.Ra>>>(i.u&ca-1)>>>0}function st(i){return s(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>ca}function qt(i,m){i.u=m,i.h=st(i)}function nr(i){i.u>=va&&(s(i.u>=va),Yt(i))}function Or(i){s(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(s(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function Ar(i){return Zt(i,1)}function Rr(i,m){var W=i.Ca;0>i.b&&Or(i);var le=i.b,Ne=W*m>>>8,Ge=(i.I>>>le>Ne)+0;for(Ge?(W-=Ne,i.I-=Ne+1<<le>>>0):W=Ne+1,le=W,Ne=0;256<=le;)Ne+=8,le>>=8;return le=7^Ne+Pa[le],i.b-=le,i.Ca=(W<<le)-1,Ge}function Hr(i,m,W){i[m+0]=W>>24&255,i[m+1]=W>>16&255,i[m+2]=W>>8&255,i[m+3]=255&W}function cn(i,m){return i[m+0]|i[m+1]<<8}function wn(i,m){return cn(i,m)|i[m+2]<<16}function Lr(i,m){return cn(i,m)|cn(i,m+2)<<16}function Mt(i,m){var W=1<<m;return s(i!=null),s(0<m),i.X=d(W),i.X==null?0:(i.Mb=32-m,i.Xa=m,1)}function ba(i,m){s(i!=null),s(m!=null),s(i.Xa==m.Xa),b(m.X,0,i.X,0,1<<m.Xa)}function da(){this.X=[],this.Xa=this.Mb=0}function Wn(i,m,W,le){s(W!=null),s(le!=null);var Ne=W[0],Ge=le[0];return Ne==0&&(Ne=(i*Ge+m/2)/m),Ge==0&&(Ge=(m*Ne+i/2)/i),0>=Ne||0>=Ge?0:(W[0]=Ne,le[0]=Ge,1)}function Jr(i,m){return i+(1<<m)-1>>>m}function Vr(i,m){return((4278255360&i)+(4278255360&m)>>>0&4278255360)+((16711935&i)+(16711935&m)>>>0&16711935)>>>0}function En(i,m){Ot[m]=function(W,le,Ne,Ge,Qe,ut,bt){var zt;for(zt=0;zt<Qe;++zt){var mr=Ot[i](ut[bt+zt-1],Ne,Ge+zt);ut[bt+zt]=Vr(W[le+zt],mr)}}}function oa(){this.ud=this.hd=this.jd=0}function _n(i,m){return((4278124286&(i^m))>>>1)+(i&m)>>>0}function xa(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function qn(i,m){return xa(i+(i-m+.5>>1))}function Qn(i,m,W){return Math.abs(m-W)-Math.abs(i-W)}function ka(i,m,W,le,Ne,Ge,Qe){for(le=Ge[Qe-1],W=0;W<Ne;++W)Ge[Qe+W]=le=Vr(i[m+W],le)}function ra(i,m,W,le,Ne){var Ge;for(Ge=0;Ge<W;++Ge){var Qe=i[m+Ge],ut=Qe>>8&255,bt=16711935&(bt=(bt=16711935&Qe)+((ut<<16)+ut));le[Ne+Ge]=(4278255360&Qe)+bt>>>0}}function Hn(i,m){m.jd=255&i,m.hd=i>>8&255,m.ud=i>>16&255}function ea(i,m,W,le,Ne,Ge){var Qe;for(Qe=0;Qe<le;++Qe){var ut=m[W+Qe],bt=ut>>>8,zt=ut,mr=255&(mr=(mr=ut>>>16)+((i.jd<<24>>24)*(bt<<24>>24)>>>5));zt=255&(zt=(zt+=(i.hd<<24>>24)*(bt<<24>>24)>>>5)+((i.ud<<24>>24)*(mr<<24>>24)>>>5)),Ne[Ge+Qe]=(4278255360&ut)+(mr<<16)+zt}}function Un(i,m,W,le,Ne){Ot[m]=function(Ge,Qe,ut,bt,zt,mr,zr,Dt,gr){for(bt=zr;bt<Dt;++bt)for(zr=0;zr<gr;++zr)zt[mr++]=Ne(ut[le(Ge[Qe++])])},Ot[i]=function(Ge,Qe,ut,bt,zt,mr,zr){var Dt=8>>Ge.b,gr=Ge.Ea,Ir=Ge.K[0],Xr=Ge.w;if(8>Dt)for(Ge=(1<<Ge.b)-1,Xr=(1<<Dt)-1;Qe<ut;++Qe){var Tr,Yr=0;for(Tr=0;Tr<gr;++Tr)Tr&Ge||(Yr=le(bt[zt++])),mr[zr++]=Ne(Ir[Yr&Xr]),Yr>>=Dt}else Ot["VP8LMapColor"+W](bt,zt,Ir,Xr,mr,zr,Qe,ut,gr)}}function Ln(i,m,W,le,Ne){for(W=m+W;m<W;){var Ge=i[m++];le[Ne++]=Ge>>16&255,le[Ne++]=Ge>>8&255,le[Ne++]=255&Ge}}function Xn(i,m,W,le,Ne){for(W=m+W;m<W;){var Ge=i[m++];le[Ne++]=Ge>>16&255,le[Ne++]=Ge>>8&255,le[Ne++]=255&Ge,le[Ne++]=Ge>>24&255}}function rn(i,m,W,le,Ne){for(W=m+W;m<W;){var Ge=(Qe=i[m++])>>16&240|Qe>>12&15,Qe=240&Qe|Qe>>28&15;le[Ne++]=Ge,le[Ne++]=Qe}}function mn(i,m,W,le,Ne){for(W=m+W;m<W;){var Ge=(Qe=i[m++])>>16&248|Qe>>13&7,Qe=Qe>>5&224|Qe>>3&31;le[Ne++]=Ge,le[Ne++]=Qe}}function sa(i,m,W,le,Ne){for(W=m+W;m<W;){var Ge=i[m++];le[Ne++]=255&Ge,le[Ne++]=Ge>>8&255,le[Ne++]=Ge>>16&255}}function Sn(i,m,W,le,Ne,Ge){if(Ge==0)for(W=m+W;m<W;)Hr(le,((Ge=i[m++])[0]>>24|Ge[1]>>8&65280|Ge[2]<<8&16711680|Ge[3]<<24)>>>0),Ne+=32;else b(le,Ne,i,m,W)}function ha(i,m){Ot[m][0]=Ot[i+"0"],Ot[m][1]=Ot[i+"1"],Ot[m][2]=Ot[i+"2"],Ot[m][3]=Ot[i+"3"],Ot[m][4]=Ot[i+"4"],Ot[m][5]=Ot[i+"5"],Ot[m][6]=Ot[i+"6"],Ot[m][7]=Ot[i+"7"],Ot[m][8]=Ot[i+"8"],Ot[m][9]=Ot[i+"9"],Ot[m][10]=Ot[i+"10"],Ot[m][11]=Ot[i+"11"],Ot[m][12]=Ot[i+"12"],Ot[m][13]=Ot[i+"13"],Ot[m][14]=Ot[i+"0"],Ot[m][15]=Ot[i+"0"]}function Vn(i){return i==p0||i==g0||i==r0||i==v0}function Ha(){this.eb=[],this.size=this.A=this.fb=0}function qa(){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 yn(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ha,this.f.kb=new qa,this.sd=null}function Pn(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function fa(){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 Ja(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function Ga(i,m){var W=i.T,le=m.ba.f.RGBA,Ne=le.eb,Ge=le.fb+i.ka*le.A,Qe=_i[m.ba.S],ut=i.y,bt=i.O,zt=i.f,mr=i.N,zr=i.ea,Dt=i.W,gr=m.cc,Ir=m.dc,Xr=m.Mc,Tr=m.Nc,Yr=i.ka,tn=i.ka+i.T,vn=i.U,fn=vn+1>>1;for(Yr==0?Qe(ut,bt,null,null,zt,mr,zr,Dt,zt,mr,zr,Dt,Ne,Ge,null,null,vn):(Qe(m.ec,m.fc,ut,bt,gr,Ir,Xr,Tr,zt,mr,zr,Dt,Ne,Ge-le.A,Ne,Ge,vn),++W);Yr+2<tn;Yr+=2)gr=zt,Ir=mr,Xr=zr,Tr=Dt,mr+=i.Rc,Dt+=i.Rc,Ge+=2*le.A,Qe(ut,(bt+=2*i.fa)-i.fa,ut,bt,gr,Ir,Xr,Tr,zt,mr,zr,Dt,Ne,Ge-le.A,Ne,Ge,vn);return bt+=i.fa,i.j+tn<i.o?(b(m.ec,m.fc,ut,bt,vn),b(m.cc,m.dc,zt,mr,fn),b(m.Mc,m.Nc,zr,Dt,fn),W--):1&tn||Qe(ut,bt,null,null,zt,mr,zr,Dt,zt,mr,zr,Dt,Ne,Ge+le.A,null,null,vn),W}function io(i,m,W){var le=i.F,Ne=[i.J];if(le!=null){var Ge=i.U,Qe=m.ba.S,ut=Qe==t0||Qe==r0;m=m.ba.f.RGBA;var bt=[0],zt=i.ka;bt[0]=i.T,i.Kb&&(zt==0?--bt[0]:(--zt,Ne[0]-=i.width),i.j+i.ka+i.T==i.o&&(bt[0]=i.o-i.j-zt));var mr=m.eb;zt=m.fb+zt*m.A,i=Ds(le,Ne[0],i.width,Ge,bt,mr,zt+(ut?0:3),m.A),s(W==bt),i&&Vn(Qe)&&bs(mr,zt,ut,Ge,bt,m.A)}return 0}function so(i){var m=i.ma,W=m.ba.S,le=11>W,Ne=W==Qs||W==e0||W==t0||W==m0||W==12||Vn(W);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!Zr(m.Oa,i,Ne?11:12))return 0;if(Ne&&Vn(W)&&Ur(),i.da)alert("todo:use_scaling");else{if(le){if(m.Ib=Ja,i.Kb){if(W=i.U+1>>1,m.memory=d(i.U+2*W),m.memory==null)return 0;m.ec=m.memory,m.fc=0,m.cc=m.ec,m.dc=m.fc+i.U,m.Mc=m.cc,m.Nc=m.dc+W,m.Ib=Ga,Ur()}}else alert("todo:EmitYUV");Ne&&(m.Jb=io,le&&ar())}if(le&&!K0){for(i=0;256>i;++i)Al[i]=89858*(i-128)+a0>>n0,jl[i]=-22014*(i-128)+a0,Pl[i]=-45773*(i-128),$l[i]=113618*(i-128)+a0>>n0;for(i=Zs;i<x0;++i)m=76283*(i-16)+a0>>n0,Nl[i-Zs]=be(m,255),Ml[i-Zs]=be(m+8>>4,15);K0=1}return 1}function la(i){var m=i.ma,W=i.U,le=i.T;return s(!(1&i.ka)),0>=W||0>=le?0:(W=m.Ib(i,m),m.Jb!=null&&m.Jb(i,m,W),m.Dc+=W,1)}function Io(i){i.ma.memory=null}function Aa(i,m,W,le){return wr(i,8)!=47?0:(m[0]=wr(i,14)+1,W[0]=wr(i,14)+1,le[0]=wr(i,1),wr(i,3)!=0?0:!i.h)}function ja(i,m){if(4>i)return i+1;var W=i-2>>1;return(2+(1&i)<<W)+wr(m,W)+1}function Ta(i,m){return 120<m?m-120:1<=(W=((W=fl[m-1])>>4)*i+(8-(15&W)))?W:1;var W}function Na(i,m,W){var le=Nt(W),Ne=i[m+=255&le].g-8;return 0<Ne&&(qt(W,W.u+8),le=Nt(W),m+=i[m].value,m+=le&(1<<Ne)-1),qt(W,W.u+i[m].g),i[m].value}function Ba(i,m,W){return W.g+=i.g,W.value+=i.value<<m>>>0,s(8>=W.g),i.g}function ma(i,m,W){var le=i.xc;return s((m=le==0?0:i.vc[i.md*(W>>le)+(m>>le)])<i.Wb),i.Ya[m]}function Ka(i,m,W,le){var Ne=i.ab,Ge=i.c*m,Qe=i.C;m=Qe+m;var ut=W,bt=le;for(le=i.Ta,W=i.Ua;0<Ne--;){var zt=i.gc[Ne],mr=Qe,zr=m,Dt=ut,gr=bt,Ir=(bt=le,ut=W,zt.Ea);switch(s(mr<zr),s(zr<=zt.nc),zt.hc){case 2:Sa(Dt,gr,(zr-mr)*Ir,bt,ut);break;case 0:var Xr=mr,Tr=zr,Yr=bt,tn=ut,vn=(pa=zt).Ea;Xr==0&&($a(Dt,gr,null,null,1,Yr,tn),ka(Dt,gr+1,0,0,vn-1,Yr,tn+1),gr+=vn,tn+=vn,++Xr);for(var fn=1<<pa.b,ya=fn-1,ia=Jr(vn,pa.b),Za=pa.K,pa=pa.w+(Xr>>pa.b)*ia;Xr<Tr;){var Ya=Za,Vo=pa,Va=1;for(Fa(Dt,gr,Yr,tn-vn,1,Yr,tn);Va<vn;){var ga=(Va&~ya)+fn;ga>vn&&(ga=vn),(0,vo[Ya[Vo++]>>8&15])(Dt,gr+ +Va,Yr,tn+Va-vn,ga-Va,Yr,tn+Va),Va=ga}gr+=vn,tn+=vn,++Xr&ya||(pa+=ia)}zr!=zt.nc&&b(bt,ut-Ir,bt,ut+(zr-mr-1)*Ir,Ir);break;case 1:for(Ir=Dt,Tr=gr,vn=(Dt=zt.Ea)-(tn=Dt&~(Yr=(gr=1<<zt.b)-1)),Xr=Jr(Dt,zt.b),fn=zt.K,zt=zt.w+(mr>>zt.b)*Xr;mr<zr;){for(ya=fn,ia=zt,Za=new oa,pa=Tr+tn,Ya=Tr+Dt;Tr<pa;)Hn(ya[ia++],Za),ri(Za,Ir,Tr,gr,bt,ut),Tr+=gr,ut+=gr;Tr<Ya&&(Hn(ya[ia++],Za),ri(Za,Ir,Tr,vn,bt,ut),Tr+=vn,ut+=vn),++mr&Yr||(zt+=Xr)}break;case 3:if(Dt==bt&&gr==ut&&0<zt.b){for(Tr=bt,Dt=Ir=ut+(zr-mr)*Ir-(tn=(zr-mr)*Jr(zt.Ea,zt.b)),gr=bt,Yr=ut,Xr=[],tn=(vn=tn)-1;0<=tn;--tn)Xr[tn]=gr[Yr+tn];for(tn=vn-1;0<=tn;--tn)Tr[Dt+tn]=Xr[tn];fo(zt,mr,zr,bt,Ir,bt,ut)}else fo(zt,mr,zr,Dt,gr,bt,ut)}ut=le,bt=W}bt!=W&&b(le,W,ut,bt,Ge)}function La(i,m){var W=i.V,le=i.Ba+i.c*i.C,Ne=m-i.C;if(s(m<=i.l.o),s(16>=Ne),0<Ne){var Ge=i.l,Qe=i.Ta,ut=i.Ua,bt=Ge.width;if(Ka(i,Ne,W,le),Ne=ut=[ut],s((W=i.C)<(le=m)),s(Ge.v<Ge.va),le>Ge.o&&(le=Ge.o),W<Ge.j){var zt=Ge.j-W;W=Ge.j,Ne[0]+=zt*bt}if(W>=le?W=0:(Ne[0]+=4*Ge.v,Ge.ka=W-Ge.j,Ge.U=Ge.va-Ge.v,Ge.T=le-W,W=1),W){if(ut=ut[0],11>(W=i.ca).S){var mr=W.f.RGBA,zr=(le=W.S,Ne=Ge.U,Ge=Ge.T,zt=mr.eb,mr.A),Dt=Ge;for(mr=mr.fb+i.Ma*mr.A;0<Dt--;){var gr=Qe,Ir=ut,Xr=Ne,Tr=zt,Yr=mr;switch(le){case Js:Oo(gr,Ir,Xr,Tr,Yr);break;case Qs:Wo(gr,Ir,Xr,Tr,Yr);break;case p0:Wo(gr,Ir,Xr,Tr,Yr),bs(Tr,Yr,0,Xr,1,0);break;case D0:Si(gr,Ir,Xr,Tr,Yr);break;case e0:Sn(gr,Ir,Xr,Tr,Yr,1);break;case g0:Sn(gr,Ir,Xr,Tr,Yr,1),bs(Tr,Yr,0,Xr,1,0);break;case t0:Sn(gr,Ir,Xr,Tr,Yr,0);break;case r0:Sn(gr,Ir,Xr,Tr,Yr,0),bs(Tr,Yr,1,Xr,1,0);break;case m0:Yo(gr,Ir,Xr,Tr,Yr);break;case v0:Yo(gr,Ir,Xr,Tr,Yr),zs(Tr,Yr,Xr,1,0);break;case R0:hi(gr,Ir,Xr,Tr,Yr);break;default:s(0)}ut+=bt,mr+=zr}i.Ma+=Ge}else alert("todo:EmitRescaledRowsYUVA");s(i.Ma<=W.height)}}i.C=m,s(i.C<=i.i)}function Qa(i){var m;if(0<i.ua)return 0;for(m=0;m<i.Wb;++m){var W=i.Ya[m].G,le=i.Ya[m].H;if(0<W[1][le[1]+0].g||0<W[2][le[2]+0].g||0<W[3][le[3]+0].g)return 0}return 1}function eo(i,m,W,le,Ne,Ge){if(i.Z!=0){var Qe=i.qd,ut=i.rd;for(s($s[i.Z]!=null);m<W;++m)$s[i.Z](Qe,ut,le,Ne,le,Ne,Ge),Qe=le,ut=Ne,Ne+=Ge;i.qd=Qe,i.rd=ut}}function lo(i,m){var W=i.l.ma,le=W.Z==0||W.Z==1?i.l.j:i.C;if(le=i.C<le?le:i.C,s(m<=i.l.o),m>le){var Ne=i.l.width,Ge=W.ca,Qe=W.tb+Ne*le,ut=i.V,bt=i.Ba+i.c*le,zt=i.gc;s(i.ab==1),s(zt[0].hc==3),Po(zt[0],le,m,ut,bt,Ge,Qe),eo(W,le,m,Ge,Qe,Ne)}i.C=i.Ma=m}function Ao(i,m,W,le,Ne,Ge,Qe){var ut=i.$/le,bt=i.$%le,zt=i.m,mr=i.s,zr=W+i.$,Dt=zr;Ne=W+le*Ne;var gr=W+le*Ge,Ir=280+mr.ua,Xr=i.Pb?ut:16777216,Tr=0<mr.ua?mr.Wa:null,Yr=mr.wc,tn=zr<gr?ma(mr,bt,ut):null;s(i.C<Ge),s(gr<=Ne);var vn=!1;e:for(;;){for(;vn||zr<gr;){var fn=0;if(ut>=Xr){var ya=zr-W;s((Xr=i).Pb),Xr.wd=Xr.m,Xr.xd=ya,0<Xr.s.ua&&ba(Xr.s.Wa,Xr.s.vb),Xr=ut+pl}if(bt&Yr||(tn=ma(mr,bt,ut)),s(tn!=null),tn.Qb&&(m[zr]=tn.qb,vn=!0),!vn)if(nr(zt),tn.jc){fn=zt,ya=m;var ia=zr,Za=tn.pd[Nt(fn)&gn-1];s(tn.jc),256>Za.g?(qt(fn,fn.u+Za.g),ya[ia]=Za.value,fn=0):(qt(fn,fn.u+Za.g-256),s(256<=Za.value),fn=Za.value),fn==0&&(vn=!0)}else fn=Na(tn.G[0],tn.H[0],zt);if(zt.h)break;if(vn||256>fn){if(!vn)if(tn.nd)m[zr]=(tn.qb|fn<<8)>>>0;else{if(nr(zt),vn=Na(tn.G[1],tn.H[1],zt),nr(zt),ya=Na(tn.G[2],tn.H[2],zt),ia=Na(tn.G[3],tn.H[3],zt),zt.h)break;m[zr]=(ia<<24|vn<<16|fn<<8|ya)>>>0}if(vn=!1,++zr,++bt>=le&&(bt=0,++ut,Qe!=null&&ut<=Ge&&!(ut%16)&&Qe(i,ut),Tr!=null))for(;Dt<zr;)fn=m[Dt++],Tr.X[(506832829*fn&4294967295)>>>Tr.Mb]=fn}else if(280>fn){if(fn=ja(fn-256,zt),ya=Na(tn.G[4],tn.H[4],zt),nr(zt),ya=Ta(le,ya=ja(ya,zt)),zt.h)break;if(zr-W<ya||Ne-zr<fn)break e;for(ia=0;ia<fn;++ia)m[zr+ia]=m[zr+ia-ya];for(zr+=fn,bt+=fn;bt>=le;)bt-=le,++ut,Qe!=null&&ut<=Ge&&!(ut%16)&&Qe(i,ut);if(s(zr<=Ne),bt&Yr&&(tn=ma(mr,bt,ut)),Tr!=null)for(;Dt<zr;)fn=m[Dt++],Tr.X[(506832829*fn&4294967295)>>>Tr.Mb]=fn}else{if(!(fn<Ir))break e;for(vn=fn-280,s(Tr!=null);Dt<zr;)fn=m[Dt++],Tr.X[(506832829*fn&4294967295)>>>Tr.Mb]=fn;fn=zr,s(!(vn>>>(ya=Tr).Xa)),m[fn]=ya.X[vn],vn=!0}vn||s(zt.h==st(zt))}if(i.Pb&&zt.h&&zr<Ne)s(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&ba(i.s.vb,i.s.Wa);else{if(zt.h)break e;Qe!=null&&Qe(i,ut>Ge?Ge:ut),i.a=0,i.$=zr-W}return 1}return i.a=3,0}function Co(i){s(i!=null),i.vc=null,i.yc=null,i.Ya=null;var m=i.Wa;m!=null&&(m.X=null),i.vb=null,s(i!=null)}function Ra(){var i=new re;return i==null?null:(i.a=0,i.xb=H0,ha("Predictor","VP8LPredictors"),ha("Predictor","VP8LPredictors_C"),ha("PredictorAdd","VP8LPredictorsAdd"),ha("PredictorAdd","VP8LPredictorsAdd_C"),Sa=ra,ri=ea,Oo=Ln,Wo=Xn,Yo=rn,hi=mn,Si=sa,Ot.VP8LMapColor32b=Ua,Ot.VP8LMapColor8b=jo,i)}function Uo(i,m,W,le,Ne){var Ge=1,Qe=[i],ut=[m],bt=le.m,zt=le.s,mr=null,zr=0;e:for(;;){if(W)for(;Ge&&wr(bt,1);){var Dt=Qe,gr=ut,Ir=le,Xr=1,Tr=Ir.m,Yr=Ir.gc[Ir.ab],tn=wr(Tr,2);if(Ir.Oc&1<<tn)Ge=0;else{switch(Ir.Oc|=1<<tn,Yr.hc=tn,Yr.Ea=Dt[0],Yr.nc=gr[0],Yr.K=[null],++Ir.ab,s(4>=Ir.ab),tn){case 0:case 1:Yr.b=wr(Tr,3)+2,Xr=Uo(Jr(Yr.Ea,Yr.b),Jr(Yr.nc,Yr.b),0,Ir,Yr.K),Yr.K=Yr.K[0];break;case 3:var vn,fn=wr(Tr,8)+1,ya=16<fn?0:4<fn?1:2<fn?2:3;if(Dt[0]=Jr(Yr.Ea,ya),Yr.b=ya,vn=Xr=Uo(fn,1,0,Ir,Yr.K)){var ia,Za=fn,pa=Yr,Ya=1<<(8>>pa.b),Vo=d(Ya);if(Vo==null)vn=0;else{var Va=pa.K[0],ga=pa.w;for(Vo[0]=pa.K[0][0],ia=1;ia<1*Za;++ia)Vo[ia]=Vr(Va[ga+ia],Vo[ia-1]);for(;ia<4*Ya;++ia)Vo[ia]=0;pa.K[0]=null,pa.K[0]=Vo,vn=1}}Xr=vn;break;case 2:break;default:s(0)}Ge=Xr}}if(Qe=Qe[0],ut=ut[0],Ge&&wr(bt,1)&&!(Ge=1<=(zr=wr(bt,4))&&11>=zr)){le.a=3;break e}var Fn;if(Fn=Ge)t:{var Fo,Da,to,Eo=le,qo=Qe,fi=ut,Bo=zr,oi=W,mi=Eo.m,Go=Eo.s,no=[null],mo=1,Lo=0,po=ml[Bo];r:for(;;){if(oi&&wr(mi,1)){var Jo=wr(mi,3)+2,os=Jr(qo,Jo),ko=Jr(fi,Jo),Ci=os*ko;if(!Uo(os,ko,0,Eo,no))break r;for(no=no[0],Go.xc=Jo,Fo=0;Fo<Ci;++Fo){var yo=no[Fo]>>8&65535;no[Fo]=yo,yo>=mo&&(mo=yo+1)}}if(mi.h)break r;for(Da=0;5>Da;++Da){var Ko=F0[Da];!Da&&0<Bo&&(Ko+=1<<Bo),Lo<Ko&&(Lo=Ko)}var Ni=ne(mo*po,lt),pi=mo,Mi=ne(pi,fr);if(Mi==null)var Ti=null;else s(65536>=pi),Ti=Mi;var Oi=d(Lo);if(Ti==null||Oi==null||Ni==null){Eo.a=1;break r}var Bi=Ni;for(Fo=to=0;Fo<mo;++Fo){var So=Ti[Fo],Li=So.G,is=So.H,Rs=0,xs=1,Qo=0;for(Da=0;5>Da;++Da){Ko=F0[Da],Li[Da]=Bi,is[Da]=to,!Da&&0<Bo&&(Ko+=1<<Bo);a:{var i0,w0=Ko,s0=Eo,Vs=Oi,Ll=Bi,zl=to,S0=0,Ps=s0.m,Dl=wr(Ps,1);if(j(Vs,0,0,w0),Dl){var Rl=wr(Ps,1)+1,Fl=wr(Ps,1),Y0=wr(Ps,Fl==0?1:8);Vs[Y0]=1,Rl==2&&(Vs[Y0=wr(Ps,8)]=1);var l0=1}else{var q0=d(19),J0=wr(Ps,4)+4;if(19<J0){s0.a=3;var c0=0;break a}for(i0=0;i0<J0;++i0)q0[hl[i0]]=wr(Ps,3);var C0=void 0,Gs=void 0,Q0=s0,kl=q0,u0=w0,el=Vs,O0=0,js=Q0.m,tl=8,rl=ne(128,lt);n:for(;Me(rl,0,7,kl,19);){if(wr(js,1)){var Hl=2+2*wr(js,3);if((C0=2+wr(js,Hl))>u0)break n}else C0=u0;for(Gs=0;Gs<u0&&C0--;){nr(js);var nl=rl[0+(127&Nt(js))];qt(js,js.u+nl.g);var ks=nl.value;if(16>ks)el[Gs++]=ks,ks!=0&&(tl=ks);else{var Wl=ks==16,al=ks-16,Ul=ul[al],ol=wr(js,cl[al])+Ul;if(Gs+ol>u0)break n;for(var Zl=Wl?tl:0;0<ol--;)el[Gs++]=Zl}}O0=1;break n}O0||(Q0.a=3),l0=O0}(l0=l0&&!Ps.h)&&(S0=Me(Ll,zl,8,Vs,w0)),l0&&S0!=0?c0=S0:(s0.a=3,c0=0)}if(c0==0)break r;if(xs&&dl[Da]==1&&(xs=Bi[to].g==0),Rs+=Bi[to].g,to+=c0,3>=Da){var Ks,E0=Oi[0];for(Ks=1;Ks<Ko;++Ks)Oi[Ks]>E0&&(E0=Oi[Ks]);Qo+=E0}}if(So.nd=xs,So.Qb=0,xs&&(So.qb=(Li[3][is[3]+0].value<<24|Li[1][is[1]+0].value<<16|Li[2][is[2]+0].value)>>>0,Rs==0&&256>Li[0][is[0]+0].value&&(So.Qb=1,So.qb+=Li[0][is[0]+0].value<<8)),So.jc=!So.Qb&&6>Qo,So.jc){var d0,ws=So;for(d0=0;d0<gn;++d0){var Ns=d0,Ms=ws.pd[Ns],h0=ws.G[0][ws.H[0]+Ns];256<=h0.value?(Ms.g=h0.g+256,Ms.value=h0.value):(Ms.g=0,Ms.value=0,Ns>>=Ba(h0,8,Ms),Ns>>=Ba(ws.G[1][ws.H[1]+Ns],16,Ms),Ns>>=Ba(ws.G[2][ws.H[2]+Ns],0,Ms),Ba(ws.G[3][ws.H[3]+Ns],24,Ms))}}}Go.vc=no,Go.Wb=mo,Go.Ya=Ti,Go.yc=Ni,Fn=1;break t}Fn=0}if(!(Ge=Fn)){le.a=3;break e}if(0<zr){if(zt.ua=1<<zr,!Mt(zt.Wa,zr)){le.a=1,Ge=0;break e}}else zt.ua=0;var I0=le,il=Qe,Vl=ut,A0=I0.s,$0=A0.xc;if(I0.c=il,I0.i=Vl,A0.md=Jr(il,$0),A0.wc=$0==0?-1:(1<<$0)-1,W){le.xb=Sl;break e}if((mr=d(Qe*ut))==null){le.a=1,Ge=0;break e}Ge=(Ge=Ao(le,mr,0,Qe,ut,ut,null))&&!bt.h;break e}return Ge?(Ne!=null?Ne[0]=mr:(s(mr==null),s(W)),le.$=0,W||Co(zt)):Co(zt),Ge}function ho(i,m){var W=i.c*i.i,le=W+m+16*m;return s(i.c<=m),i.V=d(le),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+W+m,1)}function No(i,m){var W=i.C,le=m-W,Ne=i.V,Ge=i.Ba+i.c*W;for(s(m<=i.l.o);0<le;){var Qe=16<le?16:le,ut=i.l.ma,bt=i.l.width,zt=bt*Qe,mr=ut.ca,zr=ut.tb+bt*W,Dt=i.Ta,gr=i.Ua;Ka(i,Qe,Ne,Ge),N0(Dt,gr,mr,zr,zt),eo(ut,W,W+Qe,mr,zr,bt),le-=Qe,Ne+=Qe*i.c,W+=Qe}s(W==m),i.C=i.Ma=m}function xo(){this.ub=this.yd=this.td=this.Rb=0}function ii(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ho(){this.Fb=this.Bb=this.Cb=0,this.Zb=d(4),this.Lb=d(4)}function ei(){this.Yb=function(){var i=[];return function m(W,le,Ne){for(var Ge=Ne[le],Qe=0;Qe<Ge&&(W.push(Ne.length>le+1?[]:0),!(Ne.length<le+1));Qe++)m(W[Qe],le+1,Ne)}(i,0,[3,11]),i}()}function zo(){this.jb=d(3),this.Wc=V([4,8],ei),this.Xc=V([4,17],ei)}function gi(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new d(4),this.od=new d(4)}function _o(){this.ld=this.La=this.dd=this.tc=0}function si(){this.Na=this.la=0}function zi(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function li(){this.ad=d(384),this.Za=0,this.Ob=d(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function vi(){this.uc=this.M=this.Nb=0,this.wa=Array(new _o),this.Y=0,this.ya=Array(new li),this.aa=0,this.l=new Wa}function Di(){this.y=d(16),this.f=d(8),this.ea=d(8)}function wa(){this.cb=this.a=0,this.sc="",this.m=new je,this.Od=new xo,this.Kc=new ii,this.ed=new gi,this.Qa=new Ho,this.Ic=this.$c=this.Aa=0,this.D=new vi,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=ne(8,je),this.ia=0,this.pb=ne(4,zi),this.Pa=new zo,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Di),this.Hd=0,this.rb=Array(new si),this.sb=0,this.wa=Array(new _o),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 li),this.L=this.aa=0,this.gd=V([4,2],_o),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 Wa(){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 Ke(){var i=new wa;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,Us||(Us=co)),i}function za(i,m,W){return i.a==0&&(i.a=m,i.sc=W,i.cb=0),0}function $o(i,m,W){return 3<=W&&i[m+0]==157&&i[m+1]==1&&i[m+2]==42}function Do(i,m){if(i==null)return 0;if(i.a=0,i.sc="OK",m==null)return za(i,2,"null VP8Io passed to VP8GetHeaders()");var W=m.data,le=m.w,Ne=m.ha;if(4>Ne)return za(i,7,"Truncated header.");var Ge=W[le+0]|W[le+1]<<8|W[le+2]<<16,Qe=i.Od;if(Qe.Rb=!(1&Ge),Qe.td=Ge>>1&7,Qe.yd=Ge>>4&1,Qe.ub=Ge>>5,3<Qe.td)return za(i,3,"Incorrect keyframe parameters.");if(!Qe.yd)return za(i,4,"Frame not displayable.");le+=3,Ne-=3;var ut=i.Kc;if(Qe.Rb){if(7>Ne)return za(i,7,"cannot parse picture header");if(!$o(W,le,Ne))return za(i,3,"Bad code word");ut.c=16383&(W[le+4]<<8|W[le+3]),ut.Td=W[le+4]>>6,ut.i=16383&(W[le+6]<<8|W[le+5]),ut.Ud=W[le+6]>>6,le+=7,Ne-=7,i.za=ut.c+15>>4,i.Ub=ut.i+15>>4,m.width=ut.c,m.height=ut.i,m.Da=0,m.j=0,m.v=0,m.va=m.width,m.o=m.height,m.da=0,m.ib=m.width,m.hb=m.height,m.U=m.width,m.T=m.height,j((Ge=i.Pa).jb,0,255,Ge.jb.length),s((Ge=i.Qa)!=null),Ge.Cb=0,Ge.Bb=0,Ge.Fb=1,j(Ge.Zb,0,0,Ge.Zb.length),j(Ge.Lb,0,0,Ge.Lb)}if(Qe.ub>Ne)return za(i,7,"bad partition length");vr(Ge=i.m,W,le,Qe.ub),le+=Qe.ub,Ne-=Qe.ub,Qe.Rb&&(ut.Ld=Ar(Ge),ut.Kd=Ar(Ge)),ut=i.Qa;var bt,zt=i.Pa;if(s(Ge!=null),s(ut!=null),ut.Cb=Ar(Ge),ut.Cb){if(ut.Bb=Ar(Ge),Ar(Ge)){for(ut.Fb=Ar(Ge),bt=0;4>bt;++bt)ut.Zb[bt]=Ar(Ge)?Tt(Ge,7):0;for(bt=0;4>bt;++bt)ut.Lb[bt]=Ar(Ge)?Tt(Ge,6):0}if(ut.Bb)for(bt=0;3>bt;++bt)zt.jb[bt]=Ar(Ge)?Zt(Ge,8):255}else ut.Bb=0;if(Ge.Ka)return za(i,3,"cannot parse segment header");if((ut=i.ed).zd=Ar(Ge),ut.Tb=Zt(Ge,6),ut.wb=Zt(Ge,3),ut.Pc=Ar(Ge),ut.Pc&&Ar(Ge)){for(zt=0;4>zt;++zt)Ar(Ge)&&(ut.vd[zt]=Tt(Ge,6));for(zt=0;4>zt;++zt)Ar(Ge)&&(ut.od[zt]=Tt(Ge,6))}if(i.L=ut.Tb==0?0:ut.zd?1:2,Ge.Ka)return za(i,3,"cannot parse filter header");var mr=Ne;if(Ne=bt=le,le=bt+mr,ut=mr,i.Xb=(1<<Zt(i.m,2))-1,mr<3*(zt=i.Xb))W=7;else{for(bt+=3*zt,ut-=3*zt,mr=0;mr<zt;++mr){var zr=W[Ne+0]|W[Ne+1]<<8|W[Ne+2]<<16;zr>ut&&(zr=ut),vr(i.Jc[+mr],W,bt,zr),bt+=zr,ut-=zr,Ne+=3}vr(i.Jc[+zt],W,bt,ut),W=bt<le?0:5}if(W!=0)return za(i,W,"cannot parse partitions");for(W=Zt(bt=i.m,7),Ne=Ar(bt)?Tt(bt,4):0,le=Ar(bt)?Tt(bt,4):0,ut=Ar(bt)?Tt(bt,4):0,zt=Ar(bt)?Tt(bt,4):0,bt=Ar(bt)?Tt(bt,4):0,mr=i.Qa,zr=0;4>zr;++zr){if(mr.Cb){var Dt=mr.Zb[zr];mr.Fb||(Dt+=W)}else{if(0<zr){i.pb[zr]=i.pb[0];continue}Dt=W}var gr=i.pb[zr];gr.Sc[0]=b0[be(Dt+Ne,127)],gr.Sc[1]=y0[be(Dt+0,127)],gr.Eb[0]=2*b0[be(Dt+le,127)],gr.Eb[1]=101581*y0[be(Dt+ut,127)]>>16,8>gr.Eb[1]&&(gr.Eb[1]=8),gr.Qc[0]=b0[be(Dt+zt,117)],gr.Qc[1]=y0[be(Dt+bt,127)],gr.lc=Dt+bt}if(!Qe.Rb)return za(i,4,"Not a key frame.");for(Ar(Ge),Qe=i.Pa,W=0;4>W;++W){for(Ne=0;8>Ne;++Ne)for(le=0;3>le;++le)for(ut=0;11>ut;++ut)zt=Rr(Ge,xl[W][Ne][le][ut])?Zt(Ge,8):bl[W][Ne][le][ut],Qe.Wc[W][Ne].Yb[le][ut]=zt;for(Ne=0;17>Ne;++Ne)Qe.Xc[W][Ne]=Qe.Wc[W][wl[Ne]]}return i.kc=Ar(Ge),i.kc&&(i.Bd=Zt(Ge,8)),i.cb=1}function co(i,m,W,le,Ne,Ge,Qe){var ut=m[Ne].Yb[W];for(W=0;16>Ne;++Ne){if(!Rr(i,ut[W+0]))return Ne;for(;!Rr(i,ut[W+1]);)if(ut=m[++Ne].Yb[0],W=0,Ne==16)return 16;var bt=m[Ne+1].Yb;if(Rr(i,ut[W+2])){var zt=i,mr=0;if(Rr(zt,(Dt=ut)[(zr=W)+3]))if(Rr(zt,Dt[zr+6])){for(ut=0,zr=2*(mr=Rr(zt,Dt[zr+8]))+(Dt=Rr(zt,Dt[zr+9+mr])),mr=0,Dt=gl[zr];Dt[ut];++ut)mr+=mr+Rr(zt,Dt[ut]);mr+=3+(8<<zr)}else Rr(zt,Dt[zr+7])?(mr=7+2*Rr(zt,165),mr+=Rr(zt,145)):mr=5+Rr(zt,159);else mr=Rr(zt,Dt[zr+4])?3+Rr(zt,Dt[zr+5]):2;ut=bt[2]}else mr=1,ut=bt[1];bt=Qe+vl[Ne],0>(zt=i).b&&Or(zt);var zr,Dt=zt.b,gr=(zr=zt.Ca>>1)-(zt.I>>Dt)>>31;--zt.b,zt.Ca+=gr,zt.Ca|=1,zt.I-=(zr+1&gr)<<Dt,Ge[bt]=((mr^gr)-gr)*le[(0<Ne)+0]}return 16}function go(i){var m=i.rb[i.sb-1];m.la=0,m.Na=0,j(i.zc,0,0,i.zc.length),i.ja=0}function wo(i,m,W,le,Ne){Ne=i[m+W+32*le]+(Ne>>3),i[m+W+32*le]=-256&Ne?0>Ne?0:255:Ne}function Ri(i,m,W,le,Ne,Ge){wo(i,m,0,W,le+Ne),wo(i,m,1,W,le+Ge),wo(i,m,2,W,le-Ge),wo(i,m,3,W,le-Ne)}function Xa(i){return(20091*i>>16)+i}function Xi(i,m,W,le){var Ne,Ge=0,Qe=d(16);for(Ne=0;4>Ne;++Ne){var ut=i[m+0]+i[m+8],bt=i[m+0]-i[m+8],zt=(35468*i[m+4]>>16)-Xa(i[m+12]),mr=Xa(i[m+4])+(35468*i[m+12]>>16);Qe[Ge+0]=ut+mr,Qe[Ge+1]=bt+zt,Qe[Ge+2]=bt-zt,Qe[Ge+3]=ut-mr,Ge+=4,m++}for(Ne=Ge=0;4>Ne;++Ne)ut=(i=Qe[Ge+0]+4)+Qe[Ge+8],bt=i-Qe[Ge+8],zt=(35468*Qe[Ge+4]>>16)-Xa(Qe[Ge+12]),wo(W,le,0,0,ut+(mr=Xa(Qe[Ge+4])+(35468*Qe[Ge+12]>>16))),wo(W,le,1,0,bt+zt),wo(W,le,2,0,bt-zt),wo(W,le,3,0,ut-mr),Ge++,le+=32}function Ei(i,m,W,le){var Ne=i[m+0]+4,Ge=35468*i[m+4]>>16,Qe=Xa(i[m+4]),ut=35468*i[m+1]>>16;Ri(W,le,0,Ne+Qe,i=Xa(i[m+1]),ut),Ri(W,le,1,Ne+Ge,i,ut),Ri(W,le,2,Ne-Ge,i,ut),Ri(W,le,3,Ne-Qe,i,ut)}function Fi(i,m,W,le,Ne){Xi(i,m,W,le),Ne&&Xi(i,m+16,W,le+4)}function Ss(i,m,W,le){ni(i,m+0,W,le,1),ni(i,m+32,W,le+128,1)}function ci(i,m,W,le){var Ne;for(i=i[m+0]+4,Ne=0;4>Ne;++Ne)for(m=0;4>m;++m)wo(W,le,m,Ne,i)}function ss(i,m,W,le){i[m+0]&&_a(i,m+0,W,le),i[m+16]&&_a(i,m+16,W,le+4),i[m+32]&&_a(i,m+32,W,le+128),i[m+48]&&_a(i,m+48,W,le+128+4)}function ls(i,m,W,le){var Ne,Ge=d(16);for(Ne=0;4>Ne;++Ne){var Qe=i[m+0+Ne]+i[m+12+Ne],ut=i[m+4+Ne]+i[m+8+Ne],bt=i[m+4+Ne]-i[m+8+Ne],zt=i[m+0+Ne]-i[m+12+Ne];Ge[0+Ne]=Qe+ut,Ge[8+Ne]=Qe-ut,Ge[4+Ne]=zt+bt,Ge[12+Ne]=zt-bt}for(Ne=0;4>Ne;++Ne)Qe=(i=Ge[0+4*Ne]+3)+Ge[3+4*Ne],ut=Ge[1+4*Ne]+Ge[2+4*Ne],bt=Ge[1+4*Ne]-Ge[2+4*Ne],zt=i-Ge[3+4*Ne],W[le+0]=Qe+ut>>3,W[le+16]=zt+bt>>3,W[le+32]=Qe-ut>>3,W[le+48]=zt-bt>>3,le+=64}function ui(i,m,W){var le,Ne=m-32,Ge=ji,Qe=255-i[Ne-1];for(le=0;le<W;++le){var ut,bt=Ge,zt=Qe+i[m-1];for(ut=0;ut<W;++ut)i[m+ut]=bt[zt+i[Ne+ut]];m+=32}}function Yi(i,m){ui(i,m,4)}function Cs(i,m){ui(i,m,8)}function fs(i,m){ui(i,m,16)}function Ts(i,m){var W;for(W=0;16>W;++W)b(i,m+32*W,i,m-32,16)}function ki(i,m){var W;for(W=16;0<W;--W)j(i,m,i[m-1],16),m+=32}function bi(i,m,W){var le;for(le=0;16>le;++le)j(m,W+32*le,i,16)}function di(i,m){var W,le=16;for(W=0;16>W;++W)le+=i[m-1+32*W]+i[m+W-32];bi(le>>5,i,m)}function ms(i,m){var W,le=8;for(W=0;16>W;++W)le+=i[m-1+32*W];bi(le>>4,i,m)}function Xo(i,m){var W,le=8;for(W=0;16>W;++W)le+=i[m+W-32];bi(le>>4,i,m)}function yi(i,m){bi(128,i,m)}function Ia(i,m,W){return i+2*m+W+2>>2}function Os(i,m){var W,le=m-32;for(le=new Uint8Array([Ia(i[le-1],i[le+0],i[le+1]),Ia(i[le+0],i[le+1],i[le+2]),Ia(i[le+1],i[le+2],i[le+3]),Ia(i[le+2],i[le+3],i[le+4])]),W=0;4>W;++W)b(i,m+32*W,le,0,le.length)}function ps(i,m){var W=i[m-1],le=i[m-1+32],Ne=i[m-1+64],Ge=i[m-1+96];Hr(i,m+0,16843009*Ia(i[m-1-32],W,le)),Hr(i,m+32,16843009*Ia(W,le,Ne)),Hr(i,m+64,16843009*Ia(le,Ne,Ge)),Hr(i,m+96,16843009*Ia(Ne,Ge,Ge))}function Bs(i,m){var W,le=4;for(W=0;4>W;++W)le+=i[m+W-32]+i[m-1+32*W];for(le>>=3,W=0;4>W;++W)j(i,m+32*W,le,4)}function Hi(i,m){var W=i[m-1+0],le=i[m-1+32],Ne=i[m-1+64],Ge=i[m-1-32],Qe=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],zt=i[m+3-32];i[m+0+96]=Ia(le,Ne,i[m-1+96]),i[m+1+96]=i[m+0+64]=Ia(W,le,Ne),i[m+2+96]=i[m+1+64]=i[m+0+32]=Ia(Ge,W,le),i[m+3+96]=i[m+2+64]=i[m+1+32]=i[m+0+0]=Ia(Qe,Ge,W),i[m+3+64]=i[m+2+32]=i[m+1+0]=Ia(ut,Qe,Ge),i[m+3+32]=i[m+2+0]=Ia(bt,ut,Qe),i[m+3+0]=Ia(zt,bt,ut)}function ti(i,m){var W=i[m+1-32],le=i[m+2-32],Ne=i[m+3-32],Ge=i[m+4-32],Qe=i[m+5-32],ut=i[m+6-32],bt=i[m+7-32];i[m+0+0]=Ia(i[m+0-32],W,le),i[m+1+0]=i[m+0+32]=Ia(W,le,Ne),i[m+2+0]=i[m+1+32]=i[m+0+64]=Ia(le,Ne,Ge),i[m+3+0]=i[m+2+32]=i[m+1+64]=i[m+0+96]=Ia(Ne,Ge,Qe),i[m+3+32]=i[m+2+64]=i[m+1+96]=Ia(Ge,Qe,ut),i[m+3+64]=i[m+2+96]=Ia(Qe,ut,bt),i[m+3+96]=Ia(ut,bt,bt)}function xi(i,m){var W=i[m-1+0],le=i[m-1+32],Ne=i[m-1+64],Ge=i[m-1-32],Qe=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],zt=i[m+3-32];i[m+0+0]=i[m+1+64]=Ge+Qe+1>>1,i[m+1+0]=i[m+2+64]=Qe+ut+1>>1,i[m+2+0]=i[m+3+64]=ut+bt+1>>1,i[m+3+0]=bt+zt+1>>1,i[m+0+96]=Ia(Ne,le,W),i[m+0+64]=Ia(le,W,Ge),i[m+0+32]=i[m+1+96]=Ia(W,Ge,Qe),i[m+1+32]=i[m+2+96]=Ia(Ge,Qe,ut),i[m+2+32]=i[m+3+96]=Ia(Qe,ut,bt),i[m+3+32]=Ia(ut,bt,zt)}function Es(i,m){var W=i[m+0-32],le=i[m+1-32],Ne=i[m+2-32],Ge=i[m+3-32],Qe=i[m+4-32],ut=i[m+5-32],bt=i[m+6-32],zt=i[m+7-32];i[m+0+0]=W+le+1>>1,i[m+1+0]=i[m+0+64]=le+Ne+1>>1,i[m+2+0]=i[m+1+64]=Ne+Ge+1>>1,i[m+3+0]=i[m+2+64]=Ge+Qe+1>>1,i[m+0+32]=Ia(W,le,Ne),i[m+1+32]=i[m+0+96]=Ia(le,Ne,Ge),i[m+2+32]=i[m+1+96]=Ia(Ne,Ge,Qe),i[m+3+32]=i[m+2+96]=Ia(Ge,Qe,ut),i[m+3+64]=Ia(Qe,ut,bt),i[m+3+96]=Ia(ut,bt,zt)}function Ls(i,m){var W=i[m-1+0],le=i[m-1+32],Ne=i[m-1+64],Ge=i[m-1+96];i[m+0+0]=W+le+1>>1,i[m+2+0]=i[m+0+32]=le+Ne+1>>1,i[m+2+32]=i[m+0+64]=Ne+Ge+1>>1,i[m+1+0]=Ia(W,le,Ne),i[m+3+0]=i[m+1+32]=Ia(le,Ne,Ge),i[m+3+32]=i[m+1+64]=Ia(Ne,Ge,Ge),i[m+3+64]=i[m+2+64]=i[m+0+96]=i[m+1+96]=i[m+2+96]=i[m+3+96]=Ge}function qi(i,m){var W=i[m-1+0],le=i[m-1+32],Ne=i[m-1+64],Ge=i[m-1+96],Qe=i[m-1-32],ut=i[m+0-32],bt=i[m+1-32],zt=i[m+2-32];i[m+0+0]=i[m+2+32]=W+Qe+1>>1,i[m+0+32]=i[m+2+64]=le+W+1>>1,i[m+0+64]=i[m+2+96]=Ne+le+1>>1,i[m+0+96]=Ge+Ne+1>>1,i[m+3+0]=Ia(ut,bt,zt),i[m+2+0]=Ia(Qe,ut,bt),i[m+1+0]=i[m+3+32]=Ia(W,Qe,ut),i[m+1+32]=i[m+3+64]=Ia(le,W,Qe),i[m+1+64]=i[m+3+96]=Ia(Ne,le,W),i[m+1+96]=Ia(Ge,Ne,le)}function Ii(i,m){var W;for(W=0;8>W;++W)b(i,m+32*W,i,m-32,8)}function Ai(i,m){var W;for(W=0;8>W;++W)j(i,m,i[m-1],8),m+=32}function Ji(i,m,W){var le;for(le=0;8>le;++le)j(m,W+32*le,i,8)}function Wi(i,m){var W,le=8;for(W=0;8>W;++W)le+=i[m+W-32]+i[m-1+32*W];Ji(le>>4,i,m)}function Is(i,m){var W,le=4;for(W=0;8>W;++W)le+=i[m+W-32];Ji(le>>3,i,m)}function cs(i,m){var W,le=4;for(W=0;8>W;++W)le+=i[m-1+32*W];Ji(le>>3,i,m)}function us(i,m){Ji(128,i,m)}function ft(i,m,W){var le=i[m-W],Ne=i[m+0],Ge=3*(Ne-le)+f0[1020+i[m-2*W]-i[m+W]],Qe=qs[112+(Ge+4>>3)];i[m-W]=ji[255+le+qs[112+(Ge+3>>3)]],i[m+0]=ji[255+Ne-Qe]}function Zo(i,m,W,le){var Ne=i[m+0],Ge=i[m+W];return Ki[255+i[m-2*W]-i[m-W]]>le||Ki[255+Ge-Ne]>le}function Ui(i,m,W,le){return 4*Ki[255+i[m-W]-i[m+0]]+Ki[255+i[m-2*W]-i[m+W]]<=le}function Zi(i,m,W,le,Ne){var Ge=i[m-3*W],Qe=i[m-2*W],ut=i[m-W],bt=i[m+0],zt=i[m+W],mr=i[m+2*W],zr=i[m+3*W];return 4*Ki[255+ut-bt]+Ki[255+Qe-zt]>le?0:Ki[255+i[m-4*W]-Ge]<=Ne&&Ki[255+Ge-Qe]<=Ne&&Ki[255+Qe-ut]<=Ne&&Ki[255+zr-mr]<=Ne&&Ki[255+mr-zt]<=Ne&&Ki[255+zt-bt]<=Ne}function ds(i,m,W,le){var Ne=2*le+1;for(le=0;16>le;++le)Ui(i,m+le,W,Ne)&&ft(i,m+le,W)}function $i(i,m,W,le){var Ne=2*le+1;for(le=0;16>le;++le)Ui(i,m+le*W,1,Ne)&&ft(i,m+le*W,1)}function gs(i,m,W,le){var Ne;for(Ne=3;0<Ne;--Ne)ds(i,m+=4*W,W,le)}function Qi(i,m,W,le){var Ne;for(Ne=3;0<Ne;--Ne)$i(i,m+=4,W,le)}function Pi(i,m,W,le,Ne,Ge,Qe,ut){for(Ge=2*Ge+1;0<Ne--;){if(Zi(i,m,W,Ge,Qe))if(Zo(i,m,W,ut))ft(i,m,W);else{var bt=i,zt=m,mr=W,zr=bt[zt-2*mr],Dt=bt[zt-mr],gr=bt[zt+0],Ir=bt[zt+mr],Xr=bt[zt+2*mr],Tr=27*(tn=f0[1020+3*(gr-Dt)+f0[1020+zr-Ir]])+63>>7,Yr=18*tn+63>>7,tn=9*tn+63>>7;bt[zt-3*mr]=ji[255+bt[zt-3*mr]+tn],bt[zt-2*mr]=ji[255+zr+Yr],bt[zt-mr]=ji[255+Dt+Tr],bt[zt+0]=ji[255+gr-Tr],bt[zt+mr]=ji[255+Ir-Yr],bt[zt+2*mr]=ji[255+Xr-tn]}m+=le}}function wi(i,m,W,le,Ne,Ge,Qe,ut){for(Ge=2*Ge+1;0<Ne--;){if(Zi(i,m,W,Ge,Qe))if(Zo(i,m,W,ut))ft(i,m,W);else{var bt=i,zt=m,mr=W,zr=bt[zt-mr],Dt=bt[zt+0],gr=bt[zt+mr],Ir=qs[112+(4+(Xr=3*(Dt-zr))>>3)],Xr=qs[112+(Xr+3>>3)],Tr=Ir+1>>1;bt[zt-2*mr]=ji[255+bt[zt-2*mr]+Tr],bt[zt-mr]=ji[255+zr+Xr],bt[zt+0]=ji[255+Dt-Ir],bt[zt+mr]=ji[255+gr-Tr]}m+=le}}function hs(i,m,W,le,Ne,Ge){Pi(i,m,W,1,16,le,Ne,Ge)}function es(i,m,W,le,Ne,Ge){Pi(i,m,1,W,16,le,Ne,Ge)}function ts(i,m,W,le,Ne,Ge){var Qe;for(Qe=3;0<Qe;--Qe)wi(i,m+=4*W,W,1,16,le,Ne,Ge)}function rs(i,m,W,le,Ne,Ge){var Qe;for(Qe=3;0<Qe;--Qe)wi(i,m+=4,1,W,16,le,Ne,Ge)}function N(i,m,W,le,Ne,Ge,Qe,ut){Pi(i,m,Ne,1,8,Ge,Qe,ut),Pi(W,le,Ne,1,8,Ge,Qe,ut)}function $e(i,m,W,le,Ne,Ge,Qe,ut){Pi(i,m,1,Ne,8,Ge,Qe,ut),Pi(W,le,1,Ne,8,Ge,Qe,ut)}function Bt(i,m,W,le,Ne,Ge,Qe,ut){wi(i,m+4*Ne,Ne,1,8,Ge,Qe,ut),wi(W,le+4*Ne,Ne,1,8,Ge,Qe,ut)}function tr(i,m,W,le,Ne,Ge,Qe,ut){wi(i,m+4,1,Ne,8,Ge,Qe,ut),wi(W,le+4,1,Ne,8,Ge,Qe,ut)}function Sr(){this.ba=new yn,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new fa,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function _r(){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 un(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ta(){this.ua=0,this.Wa=new da,this.vb=new da,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new fr,this.yc=new lt}function re(){this.xb=this.a=0,this.l=new Wa,this.ca=new yn,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new vt,this.Pb=0,this.wd=new vt,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ta,this.ab=0,this.gc=ne(4,un),this.Oc=0}function r(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Wa,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function a(i,m,W,le,Ne,Ge,Qe){for(i=i==null?0:i[m+0],m=0;m<Qe;++m)Ne[Ge+m]=i+W[le+m]&255,i=Ne[Ge+m]}function l(i,m,W,le,Ne,Ge,Qe){var ut;if(i==null)a(null,null,W,le,Ne,Ge,Qe);else for(ut=0;ut<Qe;++ut)Ne[Ge+ut]=i[m+ut]+W[le+ut]&255}function g(i,m,W,le,Ne,Ge,Qe){if(i==null)a(null,null,W,le,Ne,Ge,Qe);else{var ut,bt=i[m+0],zt=bt,mr=bt;for(ut=0;ut<Qe;++ut)zt=mr+(bt=i[m+ut])-zt,mr=W[le+ut]+(-256&zt?0>zt?0:255:zt)&255,zt=bt,Ne[Ge+ut]=mr}}function k(i,m,W,le){var Ne=m.width,Ge=m.o;if(s(i!=null&&m!=null),0>W||0>=le||W+le>Ge)return null;if(!i.Cc){if(i.ga==null){var Qe;if(i.ga=new r,(Qe=i.ga==null)||(Qe=m.width*m.o,s(i.Gb.length==0),i.Gb=d(Qe),i.Uc=0,i.Gb==null?Qe=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,Qe=1),Qe=!Qe),!Qe){Qe=i.ga;var ut=i.Fa,bt=i.P,zt=i.qc,mr=i.mb,zr=i.nb,Dt=bt+1,gr=zt-1,Ir=Qe.l;if(s(ut!=null&&mr!=null&&m!=null),$s[0]=null,$s[1]=a,$s[2]=l,$s[3]=g,Qe.ca=mr,Qe.tb=zr,Qe.c=m.width,Qe.i=m.height,s(0<Qe.c&&0<Qe.i),1>=zt)m=0;else if(Qe.$a=3&ut[bt+0],Qe.Z=ut[bt+0]>>2&3,Qe.Lc=ut[bt+0]>>4&3,bt=ut[bt+0]>>6&3,0>Qe.$a||1<Qe.$a||4<=Qe.Z||1<Qe.Lc||bt)m=0;else if(Ir.put=la,Ir.ac=so,Ir.bc=Io,Ir.ma=Qe,Ir.width=m.width,Ir.height=m.height,Ir.Da=m.Da,Ir.v=m.v,Ir.va=m.va,Ir.j=m.j,Ir.o=m.o,Qe.$a)e:{s(Qe.$a==1),m=Ra();t:for(;;){if(m==null){m=0;break e}if(s(Qe!=null),Qe.mc=m,m.c=Qe.c,m.i=Qe.i,m.l=Qe.l,m.l.ma=Qe,m.l.width=Qe.c,m.l.height=Qe.i,m.a=0,dr(m.m,ut,Dt,gr),!Uo(Qe.c,Qe.i,1,m,null)||(m.ab==1&&m.gc[0].hc==3&&Qa(m.s)?(Qe.ic=1,ut=m.c*m.i,m.Ta=null,m.Ua=0,m.V=d(ut),m.Ba=0,m.V==null?(m.a=1,m=0):m=1):(Qe.ic=0,m=ho(m,Qe.c)),!m))break t;m=1;break e}Qe.mc=null,m=0}else m=gr>=Qe.c*Qe.i;Qe=!m}if(Qe)return null;i.ga.Lc!=1?i.Ga=0:le=Ge-W}s(i.ga!=null),s(W+le<=Ge);e:{if(m=(ut=i.ga).c,Ge=ut.l.o,ut.$a==0){if(Dt=i.rc,gr=i.Vc,Ir=i.Fa,bt=i.P+1+W*m,zt=i.mb,mr=i.nb+W*m,s(bt<=i.P+i.qc),ut.Z!=0)for(s($s[ut.Z]!=null),Qe=0;Qe<le;++Qe)$s[ut.Z](Dt,gr,Ir,bt,zt,mr,m),Dt=zt,gr=mr,mr+=m,bt+=m;else for(Qe=0;Qe<le;++Qe)b(zt,mr,Ir,bt,m),Dt=zt,gr=mr,mr+=m,bt+=m;i.rc=Dt,i.Vc=gr}else{if(s(ut.mc!=null),m=W+le,s((Qe=ut.mc)!=null),s(m<=Qe.i),Qe.C>=m)m=1;else if(ut.ic||ar(),ut.ic){ut=Qe.V,Dt=Qe.Ba,gr=Qe.c;var Xr=Qe.i,Tr=(Ir=1,bt=Qe.$/gr,zt=Qe.$%gr,mr=Qe.m,zr=Qe.s,Qe.$),Yr=gr*Xr,tn=gr*m,vn=zr.wc,fn=Tr<tn?ma(zr,zt,bt):null;s(Tr<=Yr),s(m<=Xr),s(Qa(zr));t:for(;;){for(;!mr.h&&Tr<tn;){if(zt&vn||(fn=ma(zr,zt,bt)),s(fn!=null),nr(mr),256>(Xr=Na(fn.G[0],fn.H[0],mr)))ut[Dt+Tr]=Xr,++Tr,++zt>=gr&&(zt=0,++bt<=m&&!(bt%16)&&lo(Qe,bt));else{if(!(280>Xr)){Ir=0;break t}Xr=ja(Xr-256,mr);var ya,ia=Na(fn.G[4],fn.H[4],mr);if(nr(mr),!(Tr>=(ia=Ta(gr,ia=ja(ia,mr)))&&Yr-Tr>=Xr)){Ir=0;break t}for(ya=0;ya<Xr;++ya)ut[Dt+Tr+ya]=ut[Dt+Tr+ya-ia];for(Tr+=Xr,zt+=Xr;zt>=gr;)zt-=gr,++bt<=m&&!(bt%16)&&lo(Qe,bt);Tr<tn&&zt&vn&&(fn=ma(zr,zt,bt))}s(mr.h==st(mr))}lo(Qe,bt>m?m:bt);break t}!Ir||mr.h&&Tr<Yr?(Ir=0,Qe.a=mr.h?5:3):Qe.$=Tr,m=Ir}else m=Ao(Qe,Qe.V,Qe.Ba,Qe.c,Qe.i,m,No);if(!m){le=0;break e}}W+le>=Ge&&(i.Cc=1),le=1}if(!le)return null;if(i.Cc&&((le=i.ga)!=null&&(le.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+W*Ne}function ie(i,m,W,le,Ne,Ge){for(;0<Ne--;){var Qe,ut=i,bt=m+(W?1:0),zt=i,mr=m+(W?0:3);for(Qe=0;Qe<le;++Qe){var zr=zt[mr+4*Qe];zr!=255&&(zr*=32897,ut[bt+4*Qe+0]=ut[bt+4*Qe+0]*zr>>23,ut[bt+4*Qe+1]=ut[bt+4*Qe+1]*zr>>23,ut[bt+4*Qe+2]=ut[bt+4*Qe+2]*zr>>23)}m+=Ge}}function ze(i,m,W,le,Ne){for(;0<le--;){var Ge;for(Ge=0;Ge<W;++Ge){var Qe=i[m+2*Ge+0],ut=15&(zt=i[m+2*Ge+1]),bt=4369*ut,zt=(240&zt|zt>>4)*bt>>16;i[m+2*Ge+0]=(240&Qe|Qe>>4)*bt>>16&240|(15&Qe|Qe<<4)*bt>>16>>4&15,i[m+2*Ge+1]=240&zt|ut}m+=Ne}}function Je(i,m,W,le,Ne,Ge,Qe,ut){var bt,zt,mr=255;for(zt=0;zt<Ne;++zt){for(bt=0;bt<le;++bt){var zr=i[m+bt];Ge[Qe+4*bt]=zr,mr&=zr}m+=W,Qe+=ut}return mr!=255}function At(i,m,W,le,Ne){var Ge;for(Ge=0;Ge<Ne;++Ge)W[le+Ge]=i[m+Ge]>>8}function ar(){bs=ie,zs=ze,Ds=Je,N0=At}function pr(i,m,W){Ot[i]=function(le,Ne,Ge,Qe,ut,bt,zt,mr,zr,Dt,gr,Ir,Xr,Tr,Yr,tn,vn){var fn,ya=vn-1>>1,ia=ut[bt+0]|zt[mr+0]<<16,Za=zr[Dt+0]|gr[Ir+0]<<16;s(le!=null);var pa=3*ia+Za+131074>>2;for(m(le[Ne+0],255&pa,pa>>16,Xr,Tr),Ge!=null&&(pa=3*Za+ia+131074>>2,m(Ge[Qe+0],255&pa,pa>>16,Yr,tn)),fn=1;fn<=ya;++fn){var Ya=ut[bt+fn]|zt[mr+fn]<<16,Vo=zr[Dt+fn]|gr[Ir+fn]<<16,Va=ia+Ya+Za+Vo+524296,ga=Va+2*(Ya+Za)>>3;pa=ga+ia>>1,ia=(Va=Va+2*(ia+Vo)>>3)+Ya>>1,m(le[Ne+2*fn-1],255&pa,pa>>16,Xr,Tr+(2*fn-1)*W),m(le[Ne+2*fn-0],255&ia,ia>>16,Xr,Tr+(2*fn-0)*W),Ge!=null&&(pa=Va+Za>>1,ia=ga+Vo>>1,m(Ge[Qe+2*fn-1],255&pa,pa>>16,Yr,tn+(2*fn-1)*W),m(Ge[Qe+2*fn+0],255&ia,ia>>16,Yr,tn+(2*fn+0)*W)),ia=Ya,Za=Vo}1&vn||(pa=3*ia+Za+131074>>2,m(le[Ne+vn-1],255&pa,pa>>16,Xr,Tr+(vn-1)*W),Ge!=null&&(pa=3*Za+ia+131074>>2,m(Ge[Qe+vn-1],255&pa,pa>>16,Yr,tn+(vn-1)*W)))}}function Ur(){_i[Js]=Cl,_i[Qs]=W0,_i[D0]=Ol,_i[e0]=U0,_i[t0]=Z0,_i[m0]=V0,_i[R0]=El,_i[p0]=W0,_i[g0]=U0,_i[r0]=Z0,_i[v0]=V0}function en(i){return i&~Il?0>i?0:255:i>>G0}function hn(i,m){return en((19077*i>>8)+(26149*m>>8)-14234)}function In(i,m,W){return en((19077*i>>8)-(6419*m>>8)-(13320*W>>8)+8708)}function Gn(i,m){return en((19077*i>>8)+(33050*m>>8)-17685)}function Oa(i,m,W,le,Ne){le[Ne+0]=hn(i,W),le[Ne+1]=In(i,m,W),le[Ne+2]=Gn(i,m)}function u(i,m,W,le,Ne){le[Ne+0]=Gn(i,m),le[Ne+1]=In(i,m,W),le[Ne+2]=hn(i,W)}function e(i,m,W,le,Ne){var Ge=In(i,m,W);m=Ge<<3&224|Gn(i,m)>>3,le[Ne+0]=248&hn(i,W)|Ge>>5,le[Ne+1]=m}function t(i,m,W,le,Ne){var Ge=240&Gn(i,m)|15;le[Ne+0]=240&hn(i,W)|In(i,m,W)>>4,le[Ne+1]=Ge}function h(i,m,W,le,Ne){le[Ne+0]=255,Oa(i,m,W,le,Ne+1)}function E(i,m,W,le,Ne){u(i,m,W,le,Ne),le[Ne+3]=255}function G(i,m,W,le,Ne){Oa(i,m,W,le,Ne),le[Ne+3]=255}function be(i,m){return 0>i?0:i>m?m:i}function Ve(i,m,W){Ot[i]=function(le,Ne,Ge,Qe,ut,bt,zt,mr,zr){for(var Dt=mr+(-2&zr)*W;mr!=Dt;)m(le[Ne+0],Ge[Qe+0],ut[bt+0],zt,mr),m(le[Ne+1],Ge[Qe+0],ut[bt+0],zt,mr+W),Ne+=2,++Qe,++bt,mr+=2*W;1&zr&&m(le[Ne+0],Ge[Qe+0],ut[bt+0],zt,mr)}}function qe(i,m,W){return W==0?i==0?m==0?6:5:m==0?4:0:W}function Wt(i,m,W,le,Ne){switch(i>>>30){case 3:ni(m,W,le,Ne,0);break;case 2:Ro(m,W,le,Ne);break;case 1:_a(m,W,le,Ne)}}function lr(i,m){var W,le,Ne=m.M,Ge=m.Nb,Qe=i.oc,ut=i.pc+40,bt=i.oc,zt=i.pc+584,mr=i.oc,zr=i.pc+600;for(W=0;16>W;++W)Qe[ut+32*W-1]=129;for(W=0;8>W;++W)bt[zt+32*W-1]=129,mr[zr+32*W-1]=129;for(0<Ne?Qe[ut-1-32]=bt[zt-1-32]=mr[zr-1-32]=129:(j(Qe,ut-32-1,127,21),j(bt,zt-32-1,127,9),j(mr,zr-32-1,127,9)),le=0;le<i.za;++le){var Dt=m.ya[m.aa+le];if(0<le){for(W=-1;16>W;++W)b(Qe,ut+32*W-4,Qe,ut+32*W+12,4);for(W=-1;8>W;++W)b(bt,zt+32*W-4,bt,zt+32*W+4,4),b(mr,zr+32*W-4,mr,zr+32*W+4,4)}var gr=i.Gd,Ir=i.Hd+le,Xr=Dt.ad,Tr=Dt.Hc;if(0<Ne&&(b(Qe,ut-32,gr[Ir].y,0,16),b(bt,zt-32,gr[Ir].f,0,8),b(mr,zr-32,gr[Ir].ea,0,8)),Dt.Za){var Yr=Qe,tn=ut-32+16;for(0<Ne&&(le>=i.za-1?j(Yr,tn,gr[Ir].y[15],4):b(Yr,tn,gr[Ir+1].y,0,4)),W=0;4>W;W++)Yr[tn+128+W]=Yr[tn+256+W]=Yr[tn+384+W]=Yr[tn+0+W];for(W=0;16>W;++W,Tr<<=2)Yr=Qe,tn=ut+_0[W],as[Dt.Ob[W]](Yr,tn),Wt(Tr,Xr,16*+W,Yr,tn)}else if(Yr=qe(le,Ne,Dt.Ob[0]),As[Yr](Qe,ut),Tr!=0)for(W=0;16>W;++W,Tr<<=2)Wt(Tr,Xr,16*+W,Qe,ut+_0[W]);for(W=Dt.Gc,Yr=qe(le,Ne,Dt.Dd),ys[Yr](bt,zt),ys[Yr](mr,zr),Tr=Xr,Yr=bt,tn=zt,255&(Dt=0|W)&&(170&Dt?Mo(Tr,256,Yr,tn):uo(Tr,256,Yr,tn)),Dt=mr,Tr=zr,255&(W>>=8)&&(170&W?Mo(Xr,320,Dt,Tr):uo(Xr,320,Dt,Tr)),Ne<i.Ub-1&&(b(gr[Ir].y,0,Qe,ut+480,16),b(gr[Ir].f,0,bt,zt+224,8),b(gr[Ir].ea,0,mr,zr+224,8)),W=8*Ge*i.B,gr=i.sa,Ir=i.ta+16*le+16*Ge*i.R,Xr=i.qa,Dt=i.ra+8*le+W,Tr=i.Ha,Yr=i.Ia+8*le+W,W=0;16>W;++W)b(gr,Ir+W*i.R,Qe,ut+32*W,16);for(W=0;8>W;++W)b(Xr,Dt+W*i.B,bt,zt+32*W,8),b(Tr,Yr+W*i.B,mr,zr+32*W,8)}}function yr(i,m,W,le,Ne,Ge,Qe,ut,bt){var zt=[0],mr=[0],zr=0,Dt=bt!=null?bt.kd:0,gr=bt!=null?bt:new _r;if(i==null||12>W)return 7;gr.data=i,gr.w=m,gr.ha=W,m=[m],W=[W],gr.gb=[gr.gb];e:{var Ir=m,Xr=W,Tr=gr.gb;if(s(i!=null),s(Xr!=null),s(Tr!=null),Tr[0]=0,12<=Xr[0]&&!p(i,Ir[0],"RIFF")){if(p(i,Ir[0]+8,"WEBP")){Tr=3;break e}var Yr=Lr(i,Ir[0]+4);if(12>Yr||4294967286<Yr){Tr=3;break e}if(Dt&&Yr>Xr[0]-8){Tr=7;break e}Tr[0]=Yr,Ir[0]+=12,Xr[0]-=12}Tr=0}if(Tr!=0)return Tr;for(Yr=0<gr.gb[0],W=W[0];;){e:{var tn=i;Xr=m,Tr=W;var vn=zt,fn=mr,ya=Ir=[0];if((pa=zr=[zr])[0]=0,8>Tr[0])Tr=7;else{if(!p(tn,Xr[0],"VP8X")){if(Lr(tn,Xr[0]+4)!=10){Tr=3;break e}if(18>Tr[0]){Tr=7;break e}var ia=Lr(tn,Xr[0]+8),Za=1+wn(tn,Xr[0]+12);if(2147483648<=Za*(tn=1+wn(tn,Xr[0]+15))){Tr=3;break e}ya!=null&&(ya[0]=ia),vn!=null&&(vn[0]=Za),fn!=null&&(fn[0]=tn),Xr[0]+=18,Tr[0]-=18,pa[0]=1}Tr=0}}if(zr=zr[0],Ir=Ir[0],Tr!=0)return Tr;if(Xr=!!(2&Ir),!Yr&&zr)return 3;if(Ge!=null&&(Ge[0]=!!(16&Ir)),Qe!=null&&(Qe[0]=Xr),ut!=null&&(ut[0]=0),Qe=zt[0],Ir=mr[0],zr&&Xr&&bt==null){Tr=0;break}if(4>W){Tr=7;break}if(Yr&&zr||!Yr&&!zr&&!p(i,m[0],"ALPH")){W=[W],gr.na=[gr.na],gr.P=[gr.P],gr.Sa=[gr.Sa];e:{ia=i,Tr=m,Yr=W;var pa=gr.gb;vn=gr.na,fn=gr.P,ya=gr.Sa,Za=22,s(ia!=null),s(Yr!=null),tn=Tr[0];var Ya=Yr[0];for(s(vn!=null),s(ya!=null),vn[0]=null,fn[0]=null,ya[0]=0;;){if(Tr[0]=tn,Yr[0]=Ya,8>Ya){Tr=7;break e}var Vo=Lr(ia,tn+4);if(4294967286<Vo){Tr=3;break e}var Va=8+Vo+1&-2;if(Za+=Va,0<pa&&Za>pa){Tr=3;break e}if(!p(ia,tn,"VP8 ")||!p(ia,tn,"VP8L")){Tr=0;break e}if(Ya[0]<Va){Tr=7;break e}p(ia,tn,"ALPH")||(vn[0]=ia,fn[0]=tn+8,ya[0]=Vo),tn+=Va,Ya-=Va}}if(W=W[0],gr.na=gr.na[0],gr.P=gr.P[0],gr.Sa=gr.Sa[0],Tr!=0)break}W=[W],gr.Ja=[gr.Ja],gr.xa=[gr.xa];e:if(pa=i,Tr=m,Yr=W,vn=gr.gb[0],fn=gr.Ja,ya=gr.xa,ia=Tr[0],tn=!p(pa,ia,"VP8 "),Za=!p(pa,ia,"VP8L"),s(pa!=null),s(Yr!=null),s(fn!=null),s(ya!=null),8>Yr[0])Tr=7;else{if(tn||Za){if(pa=Lr(pa,ia+4),12<=vn&&pa>vn-12){Tr=3;break e}if(Dt&&pa>Yr[0]-8){Tr=7;break e}fn[0]=pa,Tr[0]+=8,Yr[0]-=8,ya[0]=Za}else ya[0]=5<=Yr[0]&&pa[ia+0]==47&&!(pa[ia+4]>>5),fn[0]=Yr[0];Tr=0}if(W=W[0],gr.Ja=gr.Ja[0],gr.xa=gr.xa[0],m=m[0],Tr!=0)break;if(4294967286<gr.Ja)return 3;if(ut==null||Xr||(ut[0]=gr.xa?2:1),Qe=[Qe],Ir=[Ir],gr.xa){if(5>W){Tr=7;break}ut=Qe,Dt=Ir,Xr=Ge,i==null||5>W?i=0:5<=W&&i[m+0]==47&&!(i[m+4]>>5)?(Yr=[0],pa=[0],vn=[0],dr(fn=new vt,i,m,W),Aa(fn,Yr,pa,vn)?(ut!=null&&(ut[0]=Yr[0]),Dt!=null&&(Dt[0]=pa[0]),Xr!=null&&(Xr[0]=vn[0]),i=1):i=0):i=0}else{if(10>W){Tr=7;break}ut=Ir,i==null||10>W||!$o(i,m+3,W-3)?i=0:(Dt=i[m+0]|i[m+1]<<8|i[m+2]<<16,Xr=16383&(i[m+7]<<8|i[m+6]),i=16383&(i[m+9]<<8|i[m+8]),1&Dt||3<(Dt>>1&7)||!(Dt>>4&1)||Dt>>5>=gr.Ja||!Xr||!i?i=0:(Qe&&(Qe[0]=Xr),ut&&(ut[0]=i),i=1))}if(!i||(Qe=Qe[0],Ir=Ir[0],zr&&(zt[0]!=Qe||mr[0]!=Ir)))return 3;bt!=null&&(bt[0]=gr,bt.offset=m-bt.w,s(4294967286>m-bt.w),s(bt.offset==bt.ha-W));break}return Tr==0||Tr==7&&zr&&bt==null?(Ge!=null&&(Ge[0]|=gr.na!=null&&0<gr.na.length),le!=null&&(le[0]=Qe),Ne!=null&&(Ne[0]=Ir),0):Tr}function Zr(i,m,W){var le=m.width,Ne=m.height,Ge=0,Qe=0,ut=le,bt=Ne;if(m.Da=i!=null&&0<i.Da,m.Da&&(ut=i.cd,bt=i.bd,Ge=i.v,Qe=i.j,11>W||(Ge&=-2,Qe&=-2),0>Ge||0>Qe||0>=ut||0>=bt||Ge+ut>le||Qe+bt>Ne))return 0;if(m.v=Ge,m.j=Qe,m.va=Ge+ut,m.o=Qe+bt,m.U=ut,m.T=bt,m.da=i!=null&&0<i.da,m.da){if(!Wn(ut,bt,W=[i.ib],Ge=[i.hb]))return 0;m.ib=W[0],m.hb=Ge[0]}return m.ob=i!=null&&i.ob,m.Kb=i==null||!i.Sd,m.da&&(m.ob=m.ib<3*le/4&&m.hb<3*Ne/4,m.Kb=0),1}function kr(i){if(i==null)return 2;if(11>i.S){var m=i.f.RGBA;m.fb+=(i.height-1)*m.A,m.A=-m.A}else m=i.f.kb,i=i.height,m.O+=(i-1)*m.fa,m.fa=-m.fa,m.N+=(i-1>>1)*m.Ab,m.Ab=-m.Ab,m.W+=(i-1>>1)*m.Db,m.Db=-m.Db,m.F!=null&&(m.J+=(i-1)*m.lb,m.lb=-m.lb);return 0}function dn(i,m,W,le){if(le==null||0>=i||0>=m)return 2;if(W!=null){if(W.Da){var Ne=W.cd,Ge=W.bd,Qe=-2&W.v,ut=-2&W.j;if(0>Qe||0>ut||0>=Ne||0>=Ge||Qe+Ne>i||ut+Ge>m)return 2;i=Ne,m=Ge}if(W.da){if(!Wn(i,m,Ne=[W.ib],Ge=[W.hb]))return 2;i=Ne[0],m=Ge[0]}}le.width=i,le.height=m;e:{var bt=le.width,zt=le.height;if(i=le.S,0>=bt||0>=zt||!(i>=Js&&13>i))i=2;else{if(0>=le.Rd&&le.sd==null){Qe=Ge=Ne=m=0;var mr=(ut=bt*X0[i])*zt;if(11>i||(Ge=(zt+1)/2*(m=(bt+1)/2),i==12&&(Qe=(Ne=bt)*zt)),(zt=d(mr+2*Ge+Qe))==null){i=1;break e}le.sd=zt,11>i?((bt=le.f.RGBA).eb=zt,bt.fb=0,bt.A=ut,bt.size=mr):((bt=le.f.kb).y=zt,bt.O=0,bt.fa=ut,bt.Fd=mr,bt.f=zt,bt.N=0+mr,bt.Ab=m,bt.Cd=Ge,bt.ea=zt,bt.W=0+mr+Ge,bt.Db=m,bt.Ed=Ge,i==12&&(bt.F=zt,bt.J=0+mr+2*Ge),bt.Tc=Qe,bt.lb=Ne)}if(m=1,Ne=le.S,Ge=le.width,Qe=le.height,Ne>=Js&&13>Ne)if(11>Ne)i=le.f.RGBA,m&=(ut=Math.abs(i.A))*(Qe-1)+Ge<=i.size,m&=ut>=Ge*X0[Ne],m&=i.eb!=null;else{i=le.f.kb,ut=(Ge+1)/2,mr=(Qe+1)/2,bt=Math.abs(i.fa),zt=Math.abs(i.Ab);var zr=Math.abs(i.Db),Dt=Math.abs(i.lb),gr=Dt*(Qe-1)+Ge;m&=bt*(Qe-1)+Ge<=i.Fd,m&=zt*(mr-1)+ut<=i.Cd,m=(m&=zr*(mr-1)+ut<=i.Ed)&bt>=Ge&zt>=ut&zr>=ut,m&=i.y!=null,m&=i.f!=null,m&=i.ea!=null,Ne==12&&(m&=Dt>=Ge,m&=gr<=i.Tc,m&=i.F!=null)}else m=0;i=m?0:2}}return i!=0||W!=null&&W.fd&&(i=kr(le)),i}var gn=64,Nn=[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],Tn=24,ca=32,va=8,Pa=[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];En("Predictor0","PredictorAdd0"),Ot.Predictor0=function(){return 4278190080},Ot.Predictor1=function(i){return i},Ot.Predictor2=function(i,m,W){return m[W+0]},Ot.Predictor3=function(i,m,W){return m[W+1]},Ot.Predictor4=function(i,m,W){return m[W-1]},Ot.Predictor5=function(i,m,W){return _n(_n(i,m[W+1]),m[W+0])},Ot.Predictor6=function(i,m,W){return _n(i,m[W-1])},Ot.Predictor7=function(i,m,W){return _n(i,m[W+0])},Ot.Predictor8=function(i,m,W){return _n(m[W-1],m[W+0])},Ot.Predictor9=function(i,m,W){return _n(m[W+0],m[W+1])},Ot.Predictor10=function(i,m,W){return _n(_n(i,m[W-1]),_n(m[W+0],m[W+1]))},Ot.Predictor11=function(i,m,W){var le=m[W+0];return 0>=Qn(le>>24&255,i>>24&255,(m=m[W-1])>>24&255)+Qn(le>>16&255,i>>16&255,m>>16&255)+Qn(le>>8&255,i>>8&255,m>>8&255)+Qn(255&le,255&i,255&m)?le:i},Ot.Predictor12=function(i,m,W){var le=m[W+0];return(xa((i>>24&255)+(le>>24&255)-((m=m[W-1])>>24&255))<<24|xa((i>>16&255)+(le>>16&255)-(m>>16&255))<<16|xa((i>>8&255)+(le>>8&255)-(m>>8&255))<<8|xa((255&i)+(255&le)-(255&m)))>>>0},Ot.Predictor13=function(i,m,W){var le=m[W-1];return(qn((i=_n(i,m[W+0]))>>24&255,le>>24&255)<<24|qn(i>>16&255,le>>16&255)<<16|qn(i>>8&255,le>>8&255)<<8|qn(255&i,255&le))>>>0};var $a=Ot.PredictorAdd0;Ot.PredictorAdd1=ka,En("Predictor2","PredictorAdd2"),En("Predictor3","PredictorAdd3"),En("Predictor4","PredictorAdd4"),En("Predictor5","PredictorAdd5"),En("Predictor6","PredictorAdd6"),En("Predictor7","PredictorAdd7"),En("Predictor8","PredictorAdd8"),En("Predictor9","PredictorAdd9"),En("Predictor10","PredictorAdd10"),En("Predictor11","PredictorAdd11"),En("Predictor12","PredictorAdd12"),En("Predictor13","PredictorAdd13");var Fa=Ot.PredictorAdd2;Un("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),Un("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var Sa,fo=Ot.ColorIndexInverseTransform,Ua=Ot.MapARGB,Po=Ot.VP8LColorIndexInverseTransformAlpha,jo=Ot.MapAlpha,vo=Ot.VP8LPredictorsAdd=[];vo.length=16,(Ot.VP8LPredictors=[]).length=16,(Ot.VP8LPredictorsAdd_C=[]).length=16,(Ot.VP8LPredictors_C=[]).length=16;var ri,Oo,Wo,Yo,hi,Si,Vi,ni,Ro,Mo,_a,uo,bo,To,ai,Gi,ns,vs,_s,Xs,Ys,Fs,Hs,Ws,bs,zs,Ds,N0,M0=d(511),T0=d(2041),B0=d(225),L0=d(767),z0=0,f0=T0,qs=B0,ji=L0,Ki=M0,Js=0,Qs=1,D0=2,e0=3,t0=4,m0=5,R0=6,p0=7,g0=8,r0=9,v0=10,cl=[2,3,7],ul=[3,3,11],F0=[280,256,256,256,40],dl=[0,1,1,1,0],hl=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],fl=[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],ml=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],pl=8,b0=[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],y0=[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],Us=null,gl=[[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]],vl=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],k0=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],bl=[[[[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]]]],yl=[[[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]]],xl=[[[[255,255,255,255,255,255,255,255,255,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]]]],wl=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],As=[],as=[],ys=[],Sl=1,H0=2,$s=[],_i=[];pr("UpsampleRgbLinePair",Oa,3),pr("UpsampleBgrLinePair",u,3),pr("UpsampleRgbaLinePair",G,4),pr("UpsampleBgraLinePair",E,4),pr("UpsampleArgbLinePair",h,4),pr("UpsampleRgba4444LinePair",t,2),pr("UpsampleRgb565LinePair",e,2);var Cl=Ot.UpsampleRgbLinePair,Ol=Ot.UpsampleBgrLinePair,W0=Ot.UpsampleRgbaLinePair,U0=Ot.UpsampleBgraLinePair,Z0=Ot.UpsampleArgbLinePair,V0=Ot.UpsampleRgba4444LinePair,El=Ot.UpsampleRgb565LinePair,n0=16,a0=1<<n0-1,Zs=-227,x0=482,G0=6,Il=(256<<G0)-1,K0=0,Al=d(256),$l=d(256),Pl=d(256),jl=d(256),Nl=d(x0-Zs),Ml=d(x0-Zs);Ve("YuvToRgbRow",Oa,3),Ve("YuvToBgrRow",u,3),Ve("YuvToRgbaRow",G,4),Ve("YuvToBgraRow",E,4),Ve("YuvToArgbRow",h,4),Ve("YuvToRgba4444Row",t,2),Ve("YuvToRgb565Row",e,2);var _0=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],o0=[0,2,8],Tl=[8,7,6,4,4,2,2,2,1,1,1,1],Bl=1;this.WebPDecodeRGBA=function(i,m,W,le,Ne){var Ge=Qs,Qe=new Sr,ut=new yn;Qe.ba=ut,ut.S=Ge,ut.width=[ut.width],ut.height=[ut.height];var bt=ut.width,zt=ut.height,mr=new Pn;if(mr==null||i==null)var zr=2;else s(mr!=null),zr=yr(i,m,W,mr.width,mr.height,mr.Pd,mr.Qd,mr.format,null);if(zr!=0?bt=0:(bt!=null&&(bt[0]=mr.width[0]),zt!=null&&(zt[0]=mr.height[0]),bt=1),bt){ut.width=ut.width[0],ut.height=ut.height[0],le!=null&&(le[0]=ut.width),Ne!=null&&(Ne[0]=ut.height);e:{if(le=new Wa,(Ne=new _r).data=i,Ne.w=m,Ne.ha=W,Ne.kd=1,m=[0],s(Ne!=null),((i=yr(Ne.data,Ne.w,Ne.ha,null,null,null,m,null,Ne))==0||i==7)&&m[0]&&(i=4),(m=i)==0){if(s(Qe!=null),le.data=Ne.data,le.w=Ne.w+Ne.offset,le.ha=Ne.ha-Ne.offset,le.put=la,le.ac=so,le.bc=Io,le.ma=Qe,Ne.xa){if((i=Ra())==null){Qe=1;break e}if(function(Dt,gr){var Ir=[0],Xr=[0],Tr=[0];t:for(;;){if(Dt==null)return 0;if(gr==null)return Dt.a=2,0;if(Dt.l=gr,Dt.a=0,dr(Dt.m,gr.data,gr.w,gr.ha),!Aa(Dt.m,Ir,Xr,Tr)){Dt.a=3;break t}if(Dt.xb=H0,gr.width=Ir[0],gr.height=Xr[0],!Uo(Ir[0],Xr[0],1,Dt,null))break t;return 1}return s(Dt.a!=0),0}(i,le)){if(le=(m=dn(le.width,le.height,Qe.Oa,Qe.ba))==0){t:{le=i;r:for(;;){if(le==null){le=0;break t}if(s(le.s.yc!=null),s(le.s.Ya!=null),s(0<le.s.Wb),s((W=le.l)!=null),s((Ne=W.ma)!=null),le.xb!=0){if(le.ca=Ne.ba,le.tb=Ne.tb,s(le.ca!=null),!Zr(Ne.Oa,W,e0)){le.a=2;break r}if(!ho(le,W.width)||W.da)break r;if((W.da||Vn(le.ca.S))&&ar(),11>le.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),le.ca.f.kb.F!=null&&ar()),le.Pb&&0<le.s.ua&&le.s.vb.X==null&&!Mt(le.s.vb,le.s.Wa.Xa)){le.a=1;break r}le.xb=0}if(!Ao(le,le.V,le.Ba,le.c,le.i,W.o,La))break r;Ne.Dc=le.Ma,le=1;break t}s(le.a!=0),le=0}le=!le}le&&(m=i.a)}else m=i.a}else{if((i=new Ke)==null){Qe=1;break e}if(i.Fa=Ne.na,i.P=Ne.P,i.qc=Ne.Sa,Do(i,le)){if((m=dn(le.width,le.height,Qe.Oa,Qe.ba))==0){if(i.Aa=0,W=Qe.Oa,s((Ne=i)!=null),W!=null){if(0<(bt=0>(bt=W.Md)?0:100<bt?255:255*bt/100)){for(zt=mr=0;4>zt;++zt)12>(zr=Ne.pb[zt]).lc&&(zr.ia=bt*Tl[0>zr.lc?0:zr.lc]>>3),mr|=zr.ia;mr&&(alert("todo:VP8InitRandom"),Ne.ia=1)}Ne.Ga=W.Id,100<Ne.Ga?Ne.Ga=100:0>Ne.Ga&&(Ne.Ga=0)}(function(Dt,gr){if(Dt==null)return 0;if(gr==null)return za(Dt,2,"NULL VP8Io parameter in VP8Decode().");if(!Dt.cb&&!Do(Dt,gr))return 0;if(s(Dt.cb),gr.ac==null||gr.ac(gr)){gr.ob&&(Dt.L=0);var Ir=o0[Dt.L];if(Dt.L==2?(Dt.yb=0,Dt.zb=0):(Dt.yb=gr.v-Ir>>4,Dt.zb=gr.j-Ir>>4,0>Dt.yb&&(Dt.yb=0),0>Dt.zb&&(Dt.zb=0)),Dt.Va=gr.o+15+Ir>>4,Dt.Hb=gr.va+15+Ir>>4,Dt.Hb>Dt.za&&(Dt.Hb=Dt.za),Dt.Va>Dt.Ub&&(Dt.Va=Dt.Ub),0<Dt.L){var Xr=Dt.ed;for(Ir=0;4>Ir;++Ir){var Tr;if(Dt.Qa.Cb){var Yr=Dt.Qa.Lb[Ir];Dt.Qa.Fb||(Yr+=Xr.Tb)}else Yr=Xr.Tb;for(Tr=0;1>=Tr;++Tr){var tn=Dt.gd[Ir][Tr],vn=Yr;if(Xr.Pc&&(vn+=Xr.vd[0],Tr&&(vn+=Xr.od[0])),0<(vn=0>vn?0:63<vn?63:vn)){var fn=vn;0<Xr.wb&&(fn=4<Xr.wb?fn>>2:fn>>1)>9-Xr.wb&&(fn=9-Xr.wb),1>fn&&(fn=1),tn.dd=fn,tn.tc=2*vn+fn,tn.ld=40<=vn?2:15<=vn?1:0}else tn.tc=0;tn.La=Tr}}}Ir=0}else za(Dt,6,"Frame setup failed"),Ir=Dt.a;if(Ir=Ir==0){if(Ir){Dt.$c=0,0<Dt.Aa||(Dt.Ic=Bl);t:{Ir=Dt.Ic,Xr=4*(fn=Dt.za);var ya=32*fn,ia=fn+1,Za=0<Dt.L?fn*(0<Dt.Aa?2:1):0,pa=(Dt.Aa==2?2:1)*fn;if((tn=Xr+832+(Tr=3*(16*Ir+o0[Dt.L])/2*ya)+(Yr=Dt.Fa!=null&&0<Dt.Fa.length?Dt.Kc.c*Dt.Kc.i:0))!=tn)Ir=0;else{if(tn>Dt.Vb){if(Dt.Vb=0,Dt.Ec=d(tn),Dt.Fc=0,Dt.Ec==null){Ir=za(Dt,1,"no memory during frame initialization.");break t}Dt.Vb=tn}tn=Dt.Ec,vn=Dt.Fc,Dt.Ac=tn,Dt.Bc=vn,vn+=Xr,Dt.Gd=ne(ya,Di),Dt.Hd=0,Dt.rb=ne(ia+1,si),Dt.sb=1,Dt.wa=Za?ne(Za,_o):null,Dt.Y=0,Dt.D.Nb=0,Dt.D.wa=Dt.wa,Dt.D.Y=Dt.Y,0<Dt.Aa&&(Dt.D.Y+=fn),s(!0),Dt.oc=tn,Dt.pc=vn,vn+=832,Dt.ya=ne(pa,li),Dt.aa=0,Dt.D.ya=Dt.ya,Dt.D.aa=Dt.aa,Dt.Aa==2&&(Dt.D.aa+=fn),Dt.R=16*fn,Dt.B=8*fn,fn=(ya=o0[Dt.L])*Dt.R,ya=ya/2*Dt.B,Dt.sa=tn,Dt.ta=vn+fn,Dt.qa=Dt.sa,Dt.ra=Dt.ta+16*Ir*Dt.R+ya,Dt.Ha=Dt.qa,Dt.Ia=Dt.ra+8*Ir*Dt.B+ya,Dt.$c=0,vn+=Tr,Dt.mb=Yr?tn:null,Dt.nb=Yr?vn:null,s(vn+Yr<=Dt.Fc+Dt.Vb),go(Dt),j(Dt.Ac,Dt.Bc,0,Xr),Ir=1}}if(Ir){if(gr.ka=0,gr.y=Dt.sa,gr.O=Dt.ta,gr.f=Dt.qa,gr.N=Dt.ra,gr.ea=Dt.Ha,gr.Vd=Dt.Ia,gr.fa=Dt.R,gr.Rc=Dt.B,gr.F=null,gr.J=0,!z0){for(Ir=-255;255>=Ir;++Ir)M0[255+Ir]=0>Ir?-Ir:Ir;for(Ir=-1020;1020>=Ir;++Ir)T0[1020+Ir]=-128>Ir?-128:127<Ir?127:Ir;for(Ir=-112;112>=Ir;++Ir)B0[112+Ir]=-16>Ir?-16:15<Ir?15:Ir;for(Ir=-255;510>=Ir;++Ir)L0[255+Ir]=0>Ir?0:255<Ir?255:Ir;z0=1}Vi=ls,ni=Fi,Mo=Ss,_a=ci,uo=ss,Ro=Ei,bo=hs,To=es,ai=N,Gi=$e,ns=ts,vs=rs,_s=Bt,Xs=tr,Ys=ds,Fs=$i,Hs=gs,Ws=Qi,as[0]=Bs,as[1]=Yi,as[2]=Os,as[3]=ps,as[4]=Hi,as[5]=xi,as[6]=ti,as[7]=Es,as[8]=qi,as[9]=Ls,As[0]=di,As[1]=fs,As[2]=Ts,As[3]=ki,As[4]=ms,As[5]=Xo,As[6]=yi,ys[0]=Wi,ys[1]=Cs,ys[2]=Ii,ys[3]=Ai,ys[4]=cs,ys[5]=Is,ys[6]=us,Ir=1}else Ir=0}Ir&&(Ir=function(Ya,Vo){for(Ya.M=0;Ya.M<Ya.Va;++Ya.M){var Va,ga=Ya.Jc[Ya.M&Ya.Xb],Fn=Ya.m,Fo=Ya;for(Va=0;Va<Fo.za;++Va){var Da=Fn,to=Fo,Eo=to.Ac,qo=to.Bc+4*Va,fi=to.zc,Bo=to.ya[to.aa+Va];if(to.Qa.Bb?Bo.$b=Rr(Da,to.Pa.jb[0])?2+Rr(Da,to.Pa.jb[2]):Rr(Da,to.Pa.jb[1]):Bo.$b=0,to.kc&&(Bo.Ad=Rr(Da,to.Bd)),Bo.Za=!Rr(Da,145)+0,Bo.Za){var oi=Bo.Ob,mi=0;for(to=0;4>to;++to){var Go,no=fi[0+to];for(Go=0;4>Go;++Go){no=yl[Eo[qo+Go]][no];for(var mo=k0[Rr(Da,no[0])];0<mo;)mo=k0[2*mo+Rr(Da,no[mo])];no=-mo,Eo[qo+Go]=no}b(oi,mi,Eo,qo,4),mi+=4,fi[0+to]=no}}else no=Rr(Da,156)?Rr(Da,128)?1:3:Rr(Da,163)?2:0,Bo.Ob[0]=no,j(Eo,qo,no,4),j(fi,0,no,4);Bo.Dd=Rr(Da,142)?Rr(Da,114)?Rr(Da,183)?1:3:2:0}if(Fo.m.Ka)return za(Ya,7,"Premature end-of-partition0 encountered.");for(;Ya.ja<Ya.za;++Ya.ja){if(Fo=ga,Da=(Fn=Ya).rb[Fn.sb-1],Eo=Fn.rb[Fn.sb+Fn.ja],Va=Fn.ya[Fn.aa+Fn.ja],qo=Fn.kc?Va.Ad:0)Da.la=Eo.la=0,Va.Za||(Da.Na=Eo.Na=0),Va.Hc=0,Va.Gc=0,Va.ia=0;else{var Lo,po;if(Da=Eo,Eo=Fo,qo=Fn.Pa.Xc,fi=Fn.ya[Fn.aa+Fn.ja],Bo=Fn.pb[fi.$b],to=fi.ad,oi=0,mi=Fn.rb[Fn.sb-1],no=Go=0,j(to,oi,0,384),fi.Za)var Jo=0,os=qo[3];else{mo=d(16);var ko=Da.Na+mi.Na;if(ko=Us(Eo,qo[1],ko,Bo.Eb,0,mo,0),Da.Na=mi.Na=(0<ko)+0,1<ko)Vi(mo,0,to,oi);else{var Ci=mo[0]+3>>3;for(mo=0;256>mo;mo+=16)to[oi+mo]=Ci}Jo=1,os=qo[0]}var yo=15&Da.la,Ko=15&mi.la;for(mo=0;4>mo;++mo){var Ni=1&Ko;for(Ci=po=0;4>Ci;++Ci)yo=yo>>1|(Ni=(ko=Us(Eo,os,ko=Ni+(1&yo),Bo.Sc,Jo,to,oi))>Jo)<<7,po=po<<2|(3<ko?3:1<ko?2:to[oi+0]!=0),oi+=16;yo>>=4,Ko=Ko>>1|Ni<<7,Go=(Go<<8|po)>>>0}for(os=yo,Jo=Ko>>4,Lo=0;4>Lo;Lo+=2){for(po=0,yo=Da.la>>4+Lo,Ko=mi.la>>4+Lo,mo=0;2>mo;++mo){for(Ni=1&Ko,Ci=0;2>Ci;++Ci)ko=Ni+(1&yo),yo=yo>>1|(Ni=0<(ko=Us(Eo,qo[2],ko,Bo.Qc,0,to,oi)))<<3,po=po<<2|(3<ko?3:1<ko?2:to[oi+0]!=0),oi+=16;yo>>=2,Ko=Ko>>1|Ni<<5}no|=po<<4*Lo,os|=yo<<4<<Lo,Jo|=(240&Ko)<<Lo}Da.la=os,mi.la=Jo,fi.Hc=Go,fi.Gc=no,fi.ia=43690&no?0:Bo.ia,qo=!(Go|no)}if(0<Fn.L&&(Fn.wa[Fn.Y+Fn.ja]=Fn.gd[Va.$b][Va.Za],Fn.wa[Fn.Y+Fn.ja].La|=!qo),Fo.Ka)return za(Ya,7,"Premature end-of-file encountered.")}if(go(Ya),Fn=Vo,Fo=1,Va=(ga=Ya).D,Da=0<ga.L&&ga.M>=ga.zb&&ga.M<=ga.Va,ga.Aa==0)t:{if(Va.M=ga.M,Va.uc=Da,lr(ga,Va),Fo=1,Va=(po=ga.D).Nb,Da=(no=o0[ga.L])*ga.R,Eo=no/2*ga.B,mo=16*Va*ga.R,Ci=8*Va*ga.B,qo=ga.sa,fi=ga.ta-Da+mo,Bo=ga.qa,to=ga.ra-Eo+Ci,oi=ga.Ha,mi=ga.Ia-Eo+Ci,Ko=(yo=po.M)==0,Go=yo>=ga.Va-1,ga.Aa==2&&lr(ga,po),po.uc)for(Ni=(ko=ga).D.M,s(ko.D.uc),po=ko.yb;po<ko.Hb;++po){Jo=po,os=Ni;var pi=(Mi=(Qo=ko).D).Nb;Lo=Qo.R;var Mi=Mi.wa[Mi.Y+Jo],Ti=Qo.sa,Oi=Qo.ta+16*pi*Lo+16*Jo,Bi=Mi.dd,So=Mi.tc;if(So!=0)if(s(3<=So),Qo.L==1)0<Jo&&Fs(Ti,Oi,Lo,So+4),Mi.La&&Ws(Ti,Oi,Lo,So),0<os&&Ys(Ti,Oi,Lo,So+4),Mi.La&&Hs(Ti,Oi,Lo,So);else{var Li=Qo.B,is=Qo.qa,Rs=Qo.ra+8*pi*Li+8*Jo,xs=Qo.Ha,Qo=Qo.Ia+8*pi*Li+8*Jo;pi=Mi.ld,0<Jo&&(To(Ti,Oi,Lo,So+4,Bi,pi),Gi(is,Rs,xs,Qo,Li,So+4,Bi,pi)),Mi.La&&(vs(Ti,Oi,Lo,So,Bi,pi),Xs(is,Rs,xs,Qo,Li,So,Bi,pi)),0<os&&(bo(Ti,Oi,Lo,So+4,Bi,pi),ai(is,Rs,xs,Qo,Li,So+4,Bi,pi)),Mi.La&&(ns(Ti,Oi,Lo,So,Bi,pi),_s(is,Rs,xs,Qo,Li,So,Bi,pi))}}if(ga.ia&&alert("todo:DitherRow"),Fn.put!=null){if(po=16*yo,yo=16*(yo+1),Ko?(Fn.y=ga.sa,Fn.O=ga.ta+mo,Fn.f=ga.qa,Fn.N=ga.ra+Ci,Fn.ea=ga.Ha,Fn.W=ga.Ia+Ci):(po-=no,Fn.y=qo,Fn.O=fi,Fn.f=Bo,Fn.N=to,Fn.ea=oi,Fn.W=mi),Go||(yo-=no),yo>Fn.o&&(yo=Fn.o),Fn.F=null,Fn.J=null,ga.Fa!=null&&0<ga.Fa.length&&po<yo&&(Fn.J=k(ga,Fn,po,yo-po),Fn.F=ga.mb,Fn.F==null&&Fn.F.length==0)){Fo=za(ga,3,"Could not decode alpha data.");break t}po<Fn.j&&(no=Fn.j-po,po=Fn.j,s(!(1&no)),Fn.O+=ga.R*no,Fn.N+=ga.B*(no>>1),Fn.W+=ga.B*(no>>1),Fn.F!=null&&(Fn.J+=Fn.width*no)),po<yo&&(Fn.O+=Fn.v,Fn.N+=Fn.v>>1,Fn.W+=Fn.v>>1,Fn.F!=null&&(Fn.J+=Fn.v),Fn.ka=po-Fn.j,Fn.U=Fn.va-Fn.v,Fn.T=yo-po,Fo=Fn.put(Fn))}Va+1!=ga.Ic||Go||(b(ga.sa,ga.ta-Da,qo,fi+16*ga.R,Da),b(ga.qa,ga.ra-Eo,Bo,to+8*ga.B,Eo),b(ga.Ha,ga.Ia-Eo,oi,mi+8*ga.B,Eo))}if(!Fo)return za(Ya,6,"Output aborted.")}return 1}(Dt,gr)),gr.bc!=null&&gr.bc(gr),Ir&=1}return Ir?(Dt.cb=0,Ir):0})(i,le)||(m=i.a)}}else m=i.a}m==0&&Qe.Oa!=null&&Qe.Oa.fd&&(m=kr(Qe.ba))}Qe=m}Ge=Qe!=0?null:11>Ge?ut.f.RGBA.eb:ut.f.kb.y}else Ge=null;return Ge};var X0=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ae(Ot,Jt){for(var Fe="",Me=0;Me<4;Me++)Fe+=String.fromCharCode(Ot[Jt++]);return Fe}function it(Ot,Jt){return Ot[Jt+0]|Ot[Jt+1]<<8}function Pt(Ot,Jt){return(Ot[Jt+0]|Ot[Jt+1]<<8|Ot[Jt+2]<<16)>>>0}function It(Ot,Jt){return(Ot[Jt+0]|Ot[Jt+1]<<8|Ot[Jt+2]<<16|Ot[Jt+3]<<24)>>>0}new Q;var ve=[0],rt=[0],gt=[],Kt=new Q,ct=f,ur=function(Ot,Jt){var Fe={},Me=0,lt=!1,Et=0,fr=0;if(Fe.frames=[],!function(je,vt){for(var Nt=0;Nt<4;Nt++)if(je[vt+Nt]!="RIFF".charCodeAt(Nt))return!0;return!1}(Ot,Jt)){for(It(Ot,Jt+=4),Jt+=8;Jt<Ot.length;){var vr=Ae(Ot,Jt),Zt=It(Ot,Jt+=4);Jt+=4;var Tt=Zt+(1&Zt);switch(vr){case"VP8 ":case"VP8L":Fe.frames[Me]===void 0&&(Fe.frames[Me]={}),(wr=Fe.frames[Me]).src_off=lt?fr:Jt-8,wr.src_size=Et+Zt+8,Me++,lt&&(lt=!1,Et=0,fr=0);break;case"VP8X":(wr=Fe.header={}).feature_flags=Ot[Jt];var dr=Jt+4;wr.canvas_width=1+Pt(Ot,dr),dr+=3,wr.canvas_height=1+Pt(Ot,dr),dr+=3;break;case"ALPH":lt=!0,Et=Tt+8,fr=Jt-8;break;case"ANIM":(wr=Fe.header).bgcolor=It(Ot,Jt),dr=Jt+4,wr.loop_count=it(Ot,dr),dr+=2;break;case"ANMF":var Yt,wr;(wr=Fe.frames[Me]={}).offset_x=2*Pt(Ot,Jt),Jt+=3,wr.offset_y=2*Pt(Ot,Jt),Jt+=3,wr.width=1+Pt(Ot,Jt),Jt+=3,wr.height=1+Pt(Ot,Jt),Jt+=3,wr.duration=Pt(Ot,Jt),Jt+=3,Yt=Ot[Jt++],wr.dispose=1&Yt,wr.blend=Yt>>1&1}vr!="ANMF"&&(Jt+=Tt)}return Fe}}(ct,0);ur.response=ct,ur.rgbaoutput=!0,ur.dataurl=!1;var Cr=ur.header?ur.header:null,Qt=ur.frames?ur.frames:null;if(Cr){Cr.loop_counter=Cr.loop_count,ve=[Cr.canvas_height],rt=[Cr.canvas_width];for(var tt=0;tt<Qt.length&&Qt[tt].blend!=0;tt++);}var we=Qt[0],kt=Kt.WebPDecodeRGBA(ct,we.src_off,we.src_size,rt,ve);we.rgba=kt,we.imgwidth=rt[0],we.imgheight=ve[0];for(var Ft=0;Ft<rt[0]*ve[0]*4;Ft++)gt[Ft]=kt[Ft];return this.width=rt,this.height=ve,this.data=gt,this}(function(f){var s,p,b,j,d,ne,V,Q,Ae,it=function(je){return je=je||{},this.isStrokeTransparent=je.isStrokeTransparent||!1,this.strokeOpacity=je.strokeOpacity||1,this.strokeStyle=je.strokeStyle||"#000000",this.fillStyle=je.fillStyle||"#000000",this.isFillTransparent=je.isFillTransparent||!1,this.fillOpacity=je.fillOpacity||1,this.font=je.font||"10px sans-serif",this.textBaseline=je.textBaseline||"alphabetic",this.textAlign=je.textAlign||"left",this.lineWidth=je.lineWidth||1,this.lineJoin=je.lineJoin||"miter",this.lineCap=je.lineCap||"butt",this.path=je.path||[],this.transform=je.transform!==void 0?je.transform.clone():new Q,this.globalCompositeOperation=je.globalCompositeOperation||"normal",this.globalAlpha=je.globalAlpha||1,this.clip_path=je.clip_path||[],this.currentPoint=je.currentPoint||new ne,this.miterLimit=je.miterLimit||10,this.lastPoint=je.lastPoint||new ne,this.lineDashOffset=je.lineDashOffset||0,this.lineDash=je.lineDash||[],this.margin=je.margin||[0,0,0,0],this.prevPageLastElemOffset=je.prevPageLastElemOffset||0,this.ignoreClearRect=typeof je.ignoreClearRect!="boolean"||je.ignoreClearRect,this};f.events.push(["initialized",function(){this.context2d=new Pt(this),s=this.internal.f2,p=this.internal.getCoordinateString,b=this.internal.getVerticalCoordinateString,j=this.internal.getHorizontalCoordinate,d=this.internal.getVerticalCoordinate,ne=this.internal.Point,V=this.internal.Rectangle,Q=this.internal.Matrix,Ae=new it}]);var Pt=function(je){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var vt=je;Object.defineProperty(this,"pdf",{get:function(){return vt}});var Nt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Nt},set:function(Lr){Nt=!!Lr}});var st=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return st},set:function(Lr){st=!!Lr}});var qt=0;Object.defineProperty(this,"posX",{get:function(){return qt},set:function(Lr){isNaN(Lr)||(qt=Lr)}});var nr=0;Object.defineProperty(this,"posY",{get:function(){return nr},set:function(Lr){isNaN(Lr)||(nr=Lr)}}),Object.defineProperty(this,"margin",{get:function(){return Ae.margin},set:function(Lr){var Mt;typeof Lr=="number"?Mt=[Lr,Lr,Lr,Lr]:((Mt=new Array(4))[0]=Lr[0],Mt[1]=Lr.length>=2?Lr[1]:Mt[0],Mt[2]=Lr.length>=3?Lr[2]:Mt[0],Mt[3]=Lr.length>=4?Lr[3]:Mt[1]),Ae.margin=Mt}});var Or=!1;Object.defineProperty(this,"autoPaging",{get:function(){return Or},set:function(Lr){Or=Lr}});var Ar=0;Object.defineProperty(this,"lastBreak",{get:function(){return Ar},set:function(Lr){Ar=Lr}});var Rr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Rr},set:function(Lr){Rr=Lr}}),Object.defineProperty(this,"ctx",{get:function(){return Ae},set:function(Lr){Lr instanceof it&&(Ae=Lr)}}),Object.defineProperty(this,"path",{get:function(){return Ae.path},set:function(Lr){Ae.path=Lr}});var Hr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Hr},set:function(Lr){Hr=Lr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Lr){var Mt;Mt=It(Lr),this.ctx.fillStyle=Mt.style,this.ctx.isFillTransparent=Mt.a===0,this.ctx.fillOpacity=Mt.a,this.pdf.setFillColor(Mt.r,Mt.g,Mt.b,{a:Mt.a}),this.pdf.setTextColor(Mt.r,Mt.g,Mt.b,{a:Mt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lr){var Mt=It(Lr);this.ctx.strokeStyle=Mt.style,this.ctx.isStrokeTransparent=Mt.a===0,this.ctx.strokeOpacity=Mt.a,Mt.a===0?this.pdf.setDrawColor(255,255,255):(Mt.a,this.pdf.setDrawColor(Mt.r,Mt.g,Mt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Lr){["butt","round","square"].indexOf(Lr)!==-1&&(this.ctx.lineCap=Lr,this.pdf.setLineCap(Lr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Lr){isNaN(Lr)||(this.ctx.lineWidth=Lr,this.pdf.setLineWidth(Lr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Lr){["bevel","round","miter"].indexOf(Lr)!==-1&&(this.ctx.lineJoin=Lr,this.pdf.setLineJoin(Lr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Lr){isNaN(Lr)||(this.ctx.miterLimit=Lr,this.pdf.setMiterLimit(Lr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Lr){this.ctx.textBaseline=Lr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Lr){["right","end","center","left","start"].indexOf(Lr)!==-1&&(this.ctx.textAlign=Lr)}});var cn=null,wn=null;Object.defineProperty(this,"fontFaces",{get:function(){return wn},set:function(Lr){cn=null,wn=Lr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lr){var Mt;if(this.ctx.font=Lr,(Mt=/^\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(Lr))!==null){var ba=Mt[1];Mt[2];var da=Mt[3],Wn=Mt[4];Mt[5];var Jr=Mt[6],Vr=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Wn)[2];Wn=Math.floor(Vr==="px"?parseFloat(Wn)*this.pdf.internal.scaleFactor:Vr==="em"?parseFloat(Wn)*this.pdf.getFontSize():parseFloat(Wn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Wn);var En=function(ea){var Un,Ln,Xn=[],rn=ea.trim();if(rn==="")return Ue;if(rn in Vt)return[Vt[rn]];for(;rn!=="";){switch(Ln=null,Un=(rn=Oe(rn)).charAt(0)){case'"':case"'":Ln=ln(rn.substring(1),Un);break;default:Ln=Wr(rn)}if(Ln===null||(Xn.push(Ln[0]),(rn=Oe(Ln[1]))!==""&&rn.charAt(0)!==","))return Ue;rn=rn.replace(/^,/,"")}return Xn}(Jr);if(this.fontFaces){var oa=function(ea,Un){if(cn===null){var Ln=function(Xn){var rn=[];return Object.keys(Xn).forEach(function(mn){Xn[mn].forEach(function(sa){var Sn=null;switch(sa){case"bold":Sn={family:mn,weight:"bold"};break;case"italic":Sn={family:mn,style:"italic"};break;case"bolditalic":Sn={family:mn,weight:"bold",style:"italic"};break;case"":case"normal":Sn={family:mn}}Sn!==null&&(Sn.ref={name:mn,style:sa},rn.push(Sn))})}),rn}(ea.getFontList());cn=function(Xn){for(var rn={},mn=0;mn<Xn.length;++mn){var sa=sr(Xn[mn]),Sn=sa.family,ha=sa.stretch,Vn=sa.style,Ha=sa.weight;rn[Sn]=rn[Sn]||{},rn[Sn][ha]=rn[Sn][ha]||{},rn[Sn][ha][Vn]=rn[Sn][ha][Vn]||{},rn[Sn][ha][Vn][Ha]=sa}return rn}(Ln.concat(Un))}return cn}(this.pdf,this.fontFaces),_n=En.map(function(ea){return{family:ea,stretch:"normal",weight:da,style:ba}}),xa=function(ea,Un,Ln){for(var Xn=(Ln=Ln||{}).defaultFontFamily||"times",rn=Object.assign({},v,Ln.genericFontFamilies||{}),mn=null,sa=null,Sn=0;Sn<Un.length;++Sn)if(rn[(mn=sr(Un[Sn])).family]&&(mn.family=rn[mn.family]),ea.hasOwnProperty(mn.family)){sa=ea[mn.family];break}if(!(sa=sa||ea[Xn]))throw new Error("Could not find a font-family for the rule '"+$(mn)+"' and default family '"+Xn+"'.");if(sa=function(ha,Vn){if(Vn[ha])return Vn[ha];var Ha=Dn[ha],qa=Ha<=Dn.normal?-1:1,yn=C(Vn,bn,Ha,qa);if(!yn)throw new Error("Could not find a matching font-stretch value for "+ha);return yn}(mn.stretch,sa),sa=function(ha,Vn){if(Vn[ha])return Vn[ha];for(var Ha=Mr[ha],qa=0;qa<Ha.length;++qa)if(Vn[Ha[qa]])return Vn[Ha[qa]];throw new Error("Could not find a matching font-style for "+ha)}(mn.style,sa),!(sa=function(ha,Vn){if(Vn[ha])return Vn[ha];if(ha===400&&Vn[500])return Vn[500];if(ha===500&&Vn[400])return Vn[400];var Ha=xr[ha],qa=C(Vn,Rt,Ha,ha<400?-1:1);if(!qa)throw new Error("Could not find a matching font-weight for value "+ha);return qa}(mn.weight,sa)))throw new Error("Failed to resolve a font for the rule '"+$(mn)+"'.");return sa}(oa,_n);this.pdf.setFont(xa.ref.name,xa.ref.style)}else{var qn="";(da==="bold"||parseInt(da,10)>=700||ba==="bold")&&(qn="bold"),ba==="italic"&&(qn+="italic"),qn.length===0&&(qn="normal");for(var Qn="",ka={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"},ra=0;ra<En.length;ra++){if(this.pdf.internal.getFont(En[ra],qn,{noFallback:!0,disableWarning:!0})!==void 0){Qn=En[ra];break}if(qn==="bolditalic"&&this.pdf.internal.getFont(En[ra],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Qn=En[ra],qn="bold";else if(this.pdf.internal.getFont(En[ra],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Qn=En[ra],qn="normal";break}}if(Qn===""){for(var Hn=0;Hn<En.length;Hn++)if(ka[En[Hn]]){Qn=ka[En[Hn]];break}}Qn=Qn===""?"Times":Qn,this.pdf.setFont(Qn,qn)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Lr){this.ctx.globalCompositeOperation=Lr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Lr){this.ctx.globalAlpha=Lr}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Lr){this.ctx.lineDashOffset=Lr,wr.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Lr){this.ctx.lineDash=Lr,wr.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Lr){this.ctx.ignoreClearRect=!!Lr}})};Pt.prototype.setLineDash=function(je){this.lineDash=je},Pt.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Pt.prototype.fill=function(){Qt.call(this,"fill",!1)},Pt.prototype.stroke=function(){Qt.call(this,"stroke",!1)},Pt.prototype.beginPath=function(){this.path=[{type:"begin"}]},Pt.prototype.moveTo=function(je,vt){if(isNaN(je)||isNaN(vt))throw Y.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Nt=this.ctx.transform.applyToPoint(new ne(je,vt));this.path.push({type:"mt",x:Nt.x,y:Nt.y}),this.ctx.lastPoint=new ne(je,vt)},Pt.prototype.closePath=function(){var je=new ne(0,0),vt=0;for(vt=this.path.length-1;vt!==-1;vt--)if(this.path[vt].type==="begin"&&(0,o.Z)(this.path[vt+1])==="object"&&typeof this.path[vt+1].x=="number"){je=new ne(this.path[vt+1].x,this.path[vt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new ne(je.x,je.y)},Pt.prototype.lineTo=function(je,vt){if(isNaN(je)||isNaN(vt))throw Y.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Nt=this.ctx.transform.applyToPoint(new ne(je,vt));this.path.push({type:"lt",x:Nt.x,y:Nt.y}),this.ctx.lastPoint=new ne(Nt.x,Nt.y)},Pt.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Qt.call(this,null,!0)},Pt.prototype.quadraticCurveTo=function(je,vt,Nt,st){if(isNaN(Nt)||isNaN(st)||isNaN(je)||isNaN(vt))throw Y.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var qt=this.ctx.transform.applyToPoint(new ne(Nt,st)),nr=this.ctx.transform.applyToPoint(new ne(je,vt));this.path.push({type:"qct",x1:nr.x,y1:nr.y,x:qt.x,y:qt.y}),this.ctx.lastPoint=new ne(qt.x,qt.y)},Pt.prototype.bezierCurveTo=function(je,vt,Nt,st,qt,nr){if(isNaN(qt)||isNaN(nr)||isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st))throw Y.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var Or=this.ctx.transform.applyToPoint(new ne(qt,nr)),Ar=this.ctx.transform.applyToPoint(new ne(je,vt)),Rr=this.ctx.transform.applyToPoint(new ne(Nt,st));this.path.push({type:"bct",x1:Ar.x,y1:Ar.y,x2:Rr.x,y2:Rr.y,x:Or.x,y:Or.y}),this.ctx.lastPoint=new ne(Or.x,Or.y)},Pt.prototype.arc=function(je,vt,Nt,st,qt,nr){if(isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st)||isNaN(qt))throw Y.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(nr=!!nr,!this.ctx.transform.isIdentity){var Or=this.ctx.transform.applyToPoint(new ne(je,vt));je=Or.x,vt=Or.y;var Ar=this.ctx.transform.applyToPoint(new ne(0,Nt)),Rr=this.ctx.transform.applyToPoint(new ne(0,0));Nt=Math.sqrt(Math.pow(Ar.x-Rr.x,2)+Math.pow(Ar.y-Rr.y,2))}Math.abs(qt-st)>=2*Math.PI&&(st=0,qt=2*Math.PI),this.path.push({type:"arc",x:je,y:vt,radius:Nt,startAngle:st,endAngle:qt,counterclockwise:nr})},Pt.prototype.arcTo=function(je,vt,Nt,st,qt){throw new Error("arcTo not implemented.")},Pt.prototype.rect=function(je,vt,Nt,st){if(isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st))throw Y.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(je,vt),this.lineTo(je+Nt,vt),this.lineTo(je+Nt,vt+st),this.lineTo(je,vt+st),this.lineTo(je,vt),this.lineTo(je+Nt,vt),this.lineTo(je,vt)},Pt.prototype.fillRect=function(je,vt,Nt,st){if(isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st))throw Y.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var qt={};this.lineCap!=="butt"&&(qt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(qt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(je,vt,Nt,st),this.fill(),qt.hasOwnProperty("lineCap")&&(this.lineCap=qt.lineCap),qt.hasOwnProperty("lineJoin")&&(this.lineJoin=qt.lineJoin)}},Pt.prototype.strokeRect=function(je,vt,Nt,st){if(isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st))throw Y.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");rt.call(this)||(this.beginPath(),this.rect(je,vt,Nt,st),this.stroke())},Pt.prototype.clearRect=function(je,vt,Nt,st){if(isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st))throw Y.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(je,vt,Nt,st))},Pt.prototype.save=function(je){je=typeof je!="boolean"||je;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,Nt=0;Nt<this.pdf.internal.getNumberOfPages();Nt++)this.pdf.setPage(Nt+1),this.pdf.internal.out("q");if(this.pdf.setPage(vt),je){this.ctx.fontSize=this.pdf.internal.getFontSize();var st=new it(this.ctx);this.ctxStack.push(this.ctx),this.ctx=st}},Pt.prototype.restore=function(je){je=typeof je!="boolean"||je;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,Nt=0;Nt<this.pdf.internal.getNumberOfPages();Nt++)this.pdf.setPage(Nt+1),this.pdf.internal.out("Q");this.pdf.setPage(vt),je&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},Pt.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var It=function(je){var vt,Nt,st,qt;if(je.isCanvasGradient===!0&&(je=je.getColor()),!je)return{r:0,g:0,b:0,a:0,style:je};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(je))vt=0,Nt=0,st=0,qt=0;else{var nr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(je);if(nr!==null)vt=parseInt(nr[1]),Nt=parseInt(nr[2]),st=parseInt(nr[3]),qt=1;else if((nr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(je))!==null)vt=parseInt(nr[1]),Nt=parseInt(nr[2]),st=parseInt(nr[3]),qt=parseFloat(nr[4]);else{if(qt=1,typeof je=="string"&&je.charAt(0)!=="#"){var Or=new D(je);je=Or.ok?Or.toHex():"#000000"}je.length===4?(vt=je.substring(1,2),vt+=vt,Nt=je.substring(2,3),Nt+=Nt,st=je.substring(3,4),st+=st):(vt=je.substring(1,3),Nt=je.substring(3,5),st=je.substring(5,7)),vt=parseInt(vt,16),Nt=parseInt(Nt,16),st=parseInt(st,16)}}return{r:vt,g:Nt,b:st,a:qt,style:je}},ve=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},rt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Pt.prototype.fillText=function(je,vt,Nt,st){if(isNaN(vt)||isNaN(Nt)||typeof je!="string")throw Y.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(st=isNaN(st)?void 0:st,!ve.call(this)){var qt=Tt(this.ctx.transform.rotation),nr=this.ctx.transform.scaleX;Me.call(this,{text:je,x:vt,y:Nt,scale:nr,angle:qt,align:this.textAlign,maxWidth:st})}},Pt.prototype.strokeText=function(je,vt,Nt,st){if(isNaN(vt)||isNaN(Nt)||typeof je!="string")throw Y.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!rt.call(this)){st=isNaN(st)?void 0:st;var qt=Tt(this.ctx.transform.rotation),nr=this.ctx.transform.scaleX;Me.call(this,{text:je,x:vt,y:Nt,scale:nr,renderingMode:"stroke",angle:qt,align:this.textAlign,maxWidth:st})}},Pt.prototype.measureText=function(je){if(typeof je!="string")throw Y.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var vt=this.pdf,Nt=this.pdf.internal.scaleFactor,st=vt.internal.getFontSize(),qt=vt.getStringUnitWidth(je)*st/vt.internal.scaleFactor;return new function(nr){var Or=(nr=nr||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return Or}}),this}({width:qt*=Math.round(96*Nt/72*1e4)/1e4})},Pt.prototype.scale=function(je,vt){if(isNaN(je)||isNaN(vt))throw Y.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Nt=new Q(je,0,0,vt,0,0);this.ctx.transform=this.ctx.transform.multiply(Nt)},Pt.prototype.rotate=function(je){if(isNaN(je))throw Y.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var vt=new Q(Math.cos(je),Math.sin(je),-Math.sin(je),Math.cos(je),0,0);this.ctx.transform=this.ctx.transform.multiply(vt)},Pt.prototype.translate=function(je,vt){if(isNaN(je)||isNaN(vt))throw Y.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Nt=new Q(1,0,0,1,je,vt);this.ctx.transform=this.ctx.transform.multiply(Nt)},Pt.prototype.transform=function(je,vt,Nt,st,qt,nr){if(isNaN(je)||isNaN(vt)||isNaN(Nt)||isNaN(st)||isNaN(qt)||isNaN(nr))throw Y.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Or=new Q(je,vt,Nt,st,qt,nr);this.ctx.transform=this.ctx.transform.multiply(Or)},Pt.prototype.setTransform=function(je,vt,Nt,st,qt,nr){je=isNaN(je)?1:je,vt=isNaN(vt)?0:vt,Nt=isNaN(Nt)?0:Nt,st=isNaN(st)?1:st,qt=isNaN(qt)?0:qt,nr=isNaN(nr)?0:nr,this.ctx.transform=new Q(je,vt,Nt,st,qt,nr)};var gt=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Pt.prototype.drawImage=function(je,vt,Nt,st,qt,nr,Or,Ar,Rr){var Hr=this.pdf.getImageProperties(je),cn=1,wn=1,Lr=1,Mt=1;st!==void 0&&Ar!==void 0&&(Lr=Ar/st,Mt=Rr/qt,cn=Hr.width/st*Ar/st,wn=Hr.height/qt*Rr/qt),nr===void 0&&(nr=vt,Or=Nt,vt=0,Nt=0),st!==void 0&&Ar===void 0&&(Ar=st,Rr=qt),st===void 0&&Ar===void 0&&(Ar=Hr.width,Rr=Hr.height);for(var ba,da=this.ctx.transform.decompose(),Wn=Tt(da.rotate.shx),Jr=new Q,Vr=(Jr=(Jr=(Jr=Jr.multiply(da.translate)).multiply(da.skew)).multiply(da.scale)).applyToRectangle(new V(nr-vt*Lr,Or-Nt*Mt,st*cn,qt*wn)),En=Kt.call(this,Vr),oa=[],_n=0;_n<En.length;_n+=1)oa.indexOf(En[_n])===-1&&oa.push(En[_n]);if(Cr(oa),this.autoPaging)for(var xa=oa[0],qn=oa[oa.length-1],Qn=xa;Qn<qn+1;Qn++){this.pdf.setPage(Qn);var ka=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ra=Qn===1?this.posY+this.margin[0]:this.margin[0],Hn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ea=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Un=Qn===1?0:Hn+(Qn-2)*ea;if(this.ctx.clip_path.length!==0){var Ln=this.path;ba=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ur(ba,this.posX+this.margin[3],-Un+ra+this.ctx.prevPageLastElemOffset),tt.call(this,"fill",!0),this.path=Ln}var Xn=JSON.parse(JSON.stringify(Vr));Xn=ur([Xn],this.posX+this.margin[3],-Un+ra+this.ctx.prevPageLastElemOffset)[0];var rn=(Qn>xa||Qn<qn)&&gt.call(this);rn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ka,ea,null).clip().discardPath()),this.pdf.addImage(je,"JPEG",Xn.x,Xn.y,Xn.w,Xn.h,null,null,Wn),rn&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(je,"JPEG",Vr.x,Vr.y,Vr.w,Vr.h,null,null,Wn)};var Kt=function(je,vt,Nt){var st=[];vt=vt||this.pdf.internal.pageSize.width,Nt=Nt||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var qt=this.posY+this.ctx.prevPageLastElemOffset;switch(je.type){default:case"mt":case"lt":st.push(Math.floor((je.y+qt)/Nt)+1);break;case"arc":st.push(Math.floor((je.y+qt-je.radius)/Nt)+1),st.push(Math.floor((je.y+qt+je.radius)/Nt)+1);break;case"qct":var nr=dr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,je.x1,je.y1,je.x,je.y);st.push(Math.floor((nr.y+qt)/Nt)+1),st.push(Math.floor((nr.y+nr.h+qt)/Nt)+1);break;case"bct":var Or=Yt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,je.x1,je.y1,je.x2,je.y2,je.x,je.y);st.push(Math.floor((Or.y+qt)/Nt)+1),st.push(Math.floor((Or.y+Or.h+qt)/Nt)+1);break;case"rect":st.push(Math.floor((je.y+qt)/Nt)+1),st.push(Math.floor((je.y+je.h+qt)/Nt)+1)}for(var Ar=0;Ar<st.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<st[Ar];)ct.call(this);return st},ct=function(){var je=this.fillStyle,vt=this.strokeStyle,Nt=this.font,st=this.lineCap,qt=this.lineWidth,nr=this.lineJoin;this.pdf.addPage(),this.fillStyle=je,this.strokeStyle=vt,this.font=Nt,this.lineCap=st,this.lineWidth=qt,this.lineJoin=nr},ur=function(je,vt,Nt){for(var st=0;st<je.length;st++)switch(je[st].type){case"bct":je[st].x2+=vt,je[st].y2+=Nt;case"qct":je[st].x1+=vt,je[st].y1+=Nt;default:je[st].x+=vt,je[st].y+=Nt}return je},Cr=function(je){return je.sort(function(vt,Nt){return vt-Nt})},Qt=function(je,vt){for(var Nt,st,qt=this.fillStyle,nr=this.strokeStyle,Or=this.lineCap,Ar=this.lineWidth,Rr=Math.abs(Ar*this.ctx.transform.scaleX),Hr=this.lineJoin,cn=JSON.parse(JSON.stringify(this.path)),wn=JSON.parse(JSON.stringify(this.path)),Lr=[],Mt=0;Mt<wn.length;Mt++)if(wn[Mt].x!==void 0)for(var ba=Kt.call(this,wn[Mt]),da=0;da<ba.length;da+=1)Lr.indexOf(ba[da])===-1&&Lr.push(ba[da]);for(var Wn=0;Wn<Lr.length;Wn++)for(;this.pdf.internal.getNumberOfPages()<Lr[Wn];)ct.call(this);if(Cr(Lr),this.autoPaging)for(var Jr=Lr[0],Vr=Lr[Lr.length-1],En=Jr;En<Vr+1;En++){this.pdf.setPage(En),this.fillStyle=qt,this.strokeStyle=nr,this.lineCap=Or,this.lineWidth=Rr,this.lineJoin=Hr;var oa=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],_n=En===1?this.posY+this.margin[0]:this.margin[0],xa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],qn=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Qn=En===1?0:xa+(En-2)*qn;if(this.ctx.clip_path.length!==0){var ka=this.path;Nt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ur(Nt,this.posX+this.margin[3],-Qn+_n+this.ctx.prevPageLastElemOffset),tt.call(this,je,!0),this.path=ka}if(st=JSON.parse(JSON.stringify(cn)),this.path=ur(st,this.posX+this.margin[3],-Qn+_n+this.ctx.prevPageLastElemOffset),vt===!1||En===0){var ra=(En>Jr||En<Vr)&&gt.call(this);ra&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],oa,qn,null).clip().discardPath()),tt.call(this,je,vt),ra&&this.pdf.restoreGraphicsState()}this.lineWidth=Ar}else this.lineWidth=Rr,tt.call(this,je,vt),this.lineWidth=Ar;this.path=cn},tt=function(je,vt){if((je!=="stroke"||vt||!rt.call(this))&&(je==="stroke"||vt||!ve.call(this))){for(var Nt,st,qt=[],nr=this.path,Or=0;Or<nr.length;Or++){var Ar=nr[Or];switch(Ar.type){case"begin":qt.push({begin:!0});break;case"close":qt.push({close:!0});break;case"mt":qt.push({start:Ar,deltas:[],abs:[]});break;case"lt":var Rr=qt.length;if(nr[Or-1]&&!isNaN(nr[Or-1].x)&&(Nt=[Ar.x-nr[Or-1].x,Ar.y-nr[Or-1].y],Rr>0)){for(;Rr>=0;Rr--)if(qt[Rr-1].close!==!0&&qt[Rr-1].begin!==!0){qt[Rr-1].deltas.push(Nt),qt[Rr-1].abs.push(Ar);break}}break;case"bct":Nt=[Ar.x1-nr[Or-1].x,Ar.y1-nr[Or-1].y,Ar.x2-nr[Or-1].x,Ar.y2-nr[Or-1].y,Ar.x-nr[Or-1].x,Ar.y-nr[Or-1].y],qt[qt.length-1].deltas.push(Nt);break;case"qct":var Hr=nr[Or-1].x+2/3*(Ar.x1-nr[Or-1].x),cn=nr[Or-1].y+2/3*(Ar.y1-nr[Or-1].y),wn=Ar.x+2/3*(Ar.x1-Ar.x),Lr=Ar.y+2/3*(Ar.y1-Ar.y),Mt=Ar.x,ba=Ar.y;Nt=[Hr-nr[Or-1].x,cn-nr[Or-1].y,wn-nr[Or-1].x,Lr-nr[Or-1].y,Mt-nr[Or-1].x,ba-nr[Or-1].y],qt[qt.length-1].deltas.push(Nt);break;case"arc":qt.push({deltas:[],abs:[],arc:!0}),Array.isArray(qt[qt.length-1].abs)&&qt[qt.length-1].abs.push(Ar)}}st=vt?null:je==="stroke"?"stroke":"fill";for(var da=!1,Wn=0;Wn<qt.length;Wn++)if(qt[Wn].arc)for(var Jr=qt[Wn].abs,Vr=0;Vr<Jr.length;Vr++){var En=Jr[Vr];En.type==="arc"?Ft.call(this,En.x,En.y,En.radius,En.startAngle,En.endAngle,En.counterclockwise,void 0,vt,!da):lt.call(this,En.x,En.y),da=!0}else if(qt[Wn].close===!0)this.pdf.internal.out("h"),da=!1;else if(qt[Wn].begin!==!0){var oa=qt[Wn].start.x,_n=qt[Wn].start.y;Et.call(this,qt[Wn].deltas,oa,_n),da=!0}st&&Ot.call(this,st),vt&&Jt.call(this)}},we=function(je){var vt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Nt=vt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return je-Nt;case"top":return je+vt-Nt;case"hanging":return je+vt-2*Nt;case"middle":return je+vt/2-Nt;default:return je}},kt=function(je){return je+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Pt.prototype.createLinearGradient=function(){var je=function(){};return je.colorStops=[],je.addColorStop=function(vt,Nt){this.colorStops.push([vt,Nt])},je.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},je.isCanvasGradient=!0,je},Pt.prototype.createPattern=function(){return this.createLinearGradient()},Pt.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Ft=function(je,vt,Nt,st,qt,nr,Or,Ar,Rr){for(var Hr=vr.call(this,Nt,st,qt,nr),cn=0;cn<Hr.length;cn++){var wn=Hr[cn];cn===0&&(Rr?Fe.call(this,wn.x1+je,wn.y1+vt):lt.call(this,wn.x1+je,wn.y1+vt)),fr.call(this,je,vt,wn.x2,wn.y2,wn.x3,wn.y3,wn.x4,wn.y4)}Ar?Jt.call(this):Ot.call(this,Or)},Ot=function(je){switch(je){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Jt=function(){this.pdf.clip(),this.pdf.discardPath()},Fe=function(je,vt){this.pdf.internal.out(p(je)+" "+b(vt)+" m")},Me=function(je){var vt;switch(je.align){case"right":case"end":vt="right";break;case"center":vt="center";break;default:vt="left"}var Nt=this.pdf.getTextDimensions(je.text),st=we.call(this,je.y),qt=kt.call(this,st)-Nt.h,nr=this.ctx.transform.applyToPoint(new ne(je.x,st)),Or=this.ctx.transform.decompose(),Ar=new Q;Ar=(Ar=(Ar=Ar.multiply(Or.translate)).multiply(Or.skew)).multiply(Or.scale);for(var Rr,Hr,cn,wn=this.ctx.transform.applyToRectangle(new V(je.x,st,Nt.w,Nt.h)),Lr=Ar.applyToRectangle(new V(je.x,qt,Nt.w,Nt.h)),Mt=Kt.call(this,Lr),ba=[],da=0;da<Mt.length;da+=1)ba.indexOf(Mt[da])===-1&&ba.push(Mt[da]);if(Cr(ba),this.autoPaging)for(var Wn=ba[0],Jr=ba[ba.length-1],Vr=Wn;Vr<Jr+1;Vr++){this.pdf.setPage(Vr);var En=Vr===1?this.posY+this.margin[0]:this.margin[0],oa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_n=this.pdf.internal.pageSize.height-this.margin[2],xa=_n-this.margin[0],qn=this.pdf.internal.pageSize.width-this.margin[1],Qn=qn-this.margin[3],ka=Vr===1?0:oa+(Vr-2)*xa;if(this.ctx.clip_path.length!==0){var ra=this.path;Rr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ur(Rr,this.posX+this.margin[3],-1*ka+En),tt.call(this,"fill",!0),this.path=ra}var Hn=ur([JSON.parse(JSON.stringify(Lr))],this.posX+this.margin[3],-ka+En+this.ctx.prevPageLastElemOffset)[0];je.scale>=.01&&(Hr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Hr*je.scale),cn=this.lineWidth,this.lineWidth=cn*je.scale);var ea=this.autoPaging!=="text";if(ea||Hn.y+Hn.h<=_n){if(ea||Hn.y>=En&&Hn.x<=qn){var Un=ea?je.text:this.pdf.splitTextToSize(je.text,je.maxWidth||qn-Hn.x)[0],Ln=ur([JSON.parse(JSON.stringify(wn))],this.posX+this.margin[3],-ka+En+this.ctx.prevPageLastElemOffset)[0],Xn=ea&&(Vr>Wn||Vr<Jr)&&gt.call(this);Xn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Qn,xa,null).clip().discardPath()),this.pdf.text(Un,Ln.x,Ln.y,{angle:je.angle,align:vt,renderingMode:je.renderingMode}),Xn&&this.pdf.restoreGraphicsState()}}else Hn.y<_n&&(this.ctx.prevPageLastElemOffset+=_n-Hn.y);je.scale>=.01&&(this.pdf.setFontSize(Hr),this.lineWidth=cn)}else je.scale>=.01&&(Hr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Hr*je.scale),cn=this.lineWidth,this.lineWidth=cn*je.scale),this.pdf.text(je.text,nr.x+this.posX,nr.y+this.posY,{angle:je.angle,align:vt,renderingMode:je.renderingMode,maxWidth:je.maxWidth}),je.scale>=.01&&(this.pdf.setFontSize(Hr),this.lineWidth=cn)},lt=function(je,vt,Nt,st){Nt=Nt||0,st=st||0,this.pdf.internal.out(p(je+Nt)+" "+b(vt+st)+" l")},Et=function(je,vt,Nt){return this.pdf.lines(je,vt,Nt,null,null)},fr=function(je,vt,Nt,st,qt,nr,Or,Ar){this.pdf.internal.out([s(j(Nt+je)),s(d(st+vt)),s(j(qt+je)),s(d(nr+vt)),s(j(Or+je)),s(d(Ar+vt)),"c"].join(" "))},vr=function(je,vt,Nt,st){for(var qt=2*Math.PI,nr=Math.PI/2;vt>Nt;)vt-=qt;var Or=Math.abs(Nt-vt);Or<qt&&st&&(Or=qt-Or);for(var Ar=[],Rr=st?-1:1,Hr=vt;Or>1e-5;){var cn=Hr+Rr*Math.min(Or,nr);Ar.push(Zt.call(this,je,Hr,cn)),Or-=Math.abs(cn-Hr),Hr=cn}return Ar},Zt=function(je,vt,Nt){var st=(Nt-vt)/2,qt=je*Math.cos(st),nr=je*Math.sin(st),Or=qt,Ar=-nr,Rr=Or*Or+Ar*Ar,Hr=Rr+Or*qt+Ar*nr,cn=4/3*(Math.sqrt(2*Rr*Hr)-Hr)/(Or*nr-Ar*qt),wn=Or-cn*Ar,Lr=Ar+cn*Or,Mt=wn,ba=-Lr,da=st+vt,Wn=Math.cos(da),Jr=Math.sin(da);return{x1:je*Math.cos(vt),y1:je*Math.sin(vt),x2:wn*Wn-Lr*Jr,y2:wn*Jr+Lr*Wn,x3:Mt*Wn-ba*Jr,y3:Mt*Jr+ba*Wn,x4:je*Math.cos(Nt),y4:je*Math.sin(Nt)}},Tt=function(je){return 180*je/Math.PI},dr=function(je,vt,Nt,st,qt,nr){var Or=je+.5*(Nt-je),Ar=vt+.5*(st-vt),Rr=qt+.5*(Nt-qt),Hr=nr+.5*(st-nr),cn=Math.min(je,qt,Or,Rr),wn=Math.max(je,qt,Or,Rr),Lr=Math.min(vt,nr,Ar,Hr),Mt=Math.max(vt,nr,Ar,Hr);return new V(cn,Lr,wn-cn,Mt-Lr)},Yt=function(je,vt,Nt,st,qt,nr,Or,Ar){var Rr,Hr,cn,wn,Lr,Mt,ba,da,Wn,Jr,Vr,En,oa,_n,xa=Nt-je,qn=st-vt,Qn=qt-Nt,ka=nr-st,ra=Or-qt,Hn=Ar-nr;for(Hr=0;Hr<41;Hr++)Wn=(ba=(cn=je+(Rr=Hr/40)*xa)+Rr*((Lr=Nt+Rr*Qn)-cn))+Rr*(Lr+Rr*(qt+Rr*ra-Lr)-ba),Jr=(da=(wn=vt+Rr*qn)+Rr*((Mt=st+Rr*ka)-wn))+Rr*(Mt+Rr*(nr+Rr*Hn-Mt)-da),Hr==0?(Vr=Wn,En=Jr,oa=Wn,_n=Jr):(Vr=Math.min(Vr,Wn),En=Math.min(En,Jr),oa=Math.max(oa,Wn),_n=Math.max(_n,Jr));return new V(Math.round(Vr),Math.round(En),Math.round(oa-Vr),Math.round(_n-En))},wr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var je,vt,Nt=(je=this.ctx.lineDash,vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:je,lineDashOffset:vt}));this.prevLineDash!==Nt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Nt)}}})(R.API),function(f){var s=function(ne){var V,Q,Ae,it,Pt,It,ve,rt,gt,Kt;for(/[^\x00-\xFF]/.test(ne),Q=[],Ae=0,it=(ne+=V="\0\0\0\0".slice(ne.length%4||4)).length;it>Ae;Ae+=4)(Pt=(ne.charCodeAt(Ae)<<24)+(ne.charCodeAt(Ae+1)<<16)+(ne.charCodeAt(Ae+2)<<8)+ne.charCodeAt(Ae+3))!==0?(It=(Pt=((Pt=((Pt=((Pt=(Pt-(Kt=Pt%85))/85)-(gt=Pt%85))/85)-(rt=Pt%85))/85)-(ve=Pt%85))/85)%85,Q.push(It+33,ve+33,rt+33,gt+33,Kt+33)):Q.push(122);return function(ct,ur){for(var Cr=ur;Cr>0;Cr--)ct.pop()}(Q,V.length),String.fromCharCode.apply(String,Q)+"~>"},p=function(ne){var V,Q,Ae,it,Pt,It=String,ve="length",rt=255,gt="charCodeAt",Kt="slice",ct="replace";for(ne[Kt](-2),ne=ne[Kt](0,-2)[ct](/\s/g,"")[ct]("z","!!!!!"),Ae=[],it=0,Pt=(ne+=V="uuuuu"[Kt](ne[ve]%5||5))[ve];Pt>it;it+=5)Q=52200625*(ne[gt](it)-33)+614125*(ne[gt](it+1)-33)+7225*(ne[gt](it+2)-33)+85*(ne[gt](it+3)-33)+(ne[gt](it+4)-33),Ae.push(rt&Q>>24,rt&Q>>16,rt&Q>>8,rt&Q);return function(ur,Cr){for(var Qt=Cr;Qt>0;Qt--)ur.pop()}(Ae,V[ve]),It.fromCharCode.apply(It,Ae)},b=function(ne){return ne.split("").map(function(V){return("0"+V.charCodeAt().toString(16)).slice(-2)}).join("")+">"},j=function(ne){var V=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((ne=ne.replace(/\s/g,"")).indexOf(">")!==-1&&(ne=ne.substr(0,ne.indexOf(">"))),ne.length%2&&(ne+="0"),V.test(ne)===!1)return"";for(var Q="",Ae=0;Ae<ne.length;Ae+=2)Q+=String.fromCharCode("0x"+(ne[Ae]+ne[Ae+1]));return Q},d=function(ne){for(var V=new Uint8Array(ne.length),Q=ne.length;Q--;)V[Q]=ne.charCodeAt(Q);return(V=(0,Xe.iZ)(V)).reduce(function(Ae,it){return Ae+String.fromCharCode(it)},"")};f.processDataByFilters=function(ne,V){var Q=0,Ae=ne||"",it=[];for(typeof(V=V||[])=="string"&&(V=[V]),Q=0;Q<V.length;Q+=1)switch(V[Q]){case"ASCII85Decode":case"/ASCII85Decode":Ae=p(Ae),it.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ae=s(Ae),it.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ae=j(Ae),it.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ae=b(Ae),it.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ae=d(Ae),it.push("/FlateDecode");break;default:throw new Error('The filter: "'+V[Q]+'" is not implemented')}return{data:Ae,reverseChain:it.reverse().join(" ")}}}(R.API),function(f){f.loadFile=function(s,p,b){return function(j,d,ne){d=d!==!1,ne=typeof ne=="function"?ne:function(){};var V=void 0;try{V=function(Q,Ae,it){var Pt=new XMLHttpRequest,It=0,ve=function(rt){var gt=rt.length,Kt=[],ct=String.fromCharCode;for(It=0;It<gt;It+=1)Kt.push(ct(255&rt.charCodeAt(It)));return Kt.join("")};if(Pt.open("GET",Q,!Ae),Pt.overrideMimeType("text/plain; charset=x-user-defined"),Ae===!1&&(Pt.onload=function(){Pt.status===200?it(ve(this.responseText)):it(void 0)}),Pt.send(null),Ae&&Pt.status===200)return ve(Pt.responseText)}(j,d,ne)}catch(Q){}return V}(s,p,b)},f.loadImageFile=f.loadFile}(R.API),function(f){function s(){return(q.html2canvas?Promise.resolve(q.html2canvas):Promise.resolve().then(n.t.bind(n,64270,23))).catch(function(V){return Promise.reject(new Error("Could not load html2canvas: "+V))}).then(function(V){return V.default?V.default:V})}function p(){return(q.DOMPurify?Promise.resolve(q.DOMPurify):n.e(7573).then(n.bind(n,7573))).catch(function(V){return Promise.reject(new Error("Could not load dompurify: "+V))}).then(function(V){return V.default?V.default:V})}var b=function(V){var Q=(0,o.Z)(V);return Q==="undefined"?"undefined":Q==="string"||V instanceof String?"string":Q==="number"||V instanceof Number?"number":Q==="function"||V instanceof Function?"function":V&&V.constructor===Array?"array":V&&V.nodeType===1?"element":Q==="object"?"object":"unknown"},j=function(V,Q){var Ae=document.createElement(V);for(var it in Q.className&&(Ae.className=Q.className),Q.innerHTML&&Q.dompurify&&(Ae.innerHTML=Q.dompurify.sanitize(Q.innerHTML)),Q.style)Ae.style[it]=Q.style[it];return Ae},d=function V(Q,Ae){for(var it=Q.nodeType===3?document.createTextNode(Q.nodeValue):Q.cloneNode(!1),Pt=Q.firstChild;Pt;Pt=Pt.nextSibling)Ae!==!0&&Pt.nodeType===1&&Pt.nodeName==="SCRIPT"||it.appendChild(V(Pt,Ae));return Q.nodeType===1&&(Q.nodeName==="CANVAS"?(it.width=Q.width,it.height=Q.height,it.getContext("2d").drawImage(Q,0,0)):Q.nodeName!=="TEXTAREA"&&Q.nodeName!=="SELECT"||(it.value=Q.value),it.addEventListener("load",function(){it.scrollTop=Q.scrollTop,it.scrollLeft=Q.scrollLeft},!0)),it},ne=function V(Q){var Ae=Object.assign(V.convert(Promise.resolve()),JSON.parse(JSON.stringify(V.template))),it=V.convert(Promise.resolve(),Ae);return(it=it.setProgress(1,V,1,[V])).set(Q)};(ne.prototype=Object.create(Promise.prototype)).constructor=ne,ne.convert=function(V,Q){return V.__proto__=Q||ne.prototype,V},ne.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"}},ne.prototype.from=function(V,Q){return this.then(function(){switch(Q=Q||function(Ae){switch(b(Ae)){case"string":return"string";case"element":return Ae.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(V),Q){case"string":return this.then(p).then(function(Ae){return this.set({src:j("div",{innerHTML:V,dompurify:Ae})})});case"element":return this.set({src:V});case"canvas":return this.set({canvas:V});case"img":return this.set({img:V});default:return this.error("Unknown source type.")}})},ne.prototype.to=function(V){switch(V){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.")}},ne.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 V={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},Q=d(this.prop.src,this.opt.html2canvas.javascriptEnabled);Q.tagName==="BODY"&&(V.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=j("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=j("div",{className:"html2pdf__container",style:V}),this.prop.container.appendChild(Q),this.prop.container.firstChild.appendChild(j("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"})},ne.prototype.toCanvas=function(){var V=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(V).then(s).then(function(Q){var Ae=Object.assign({},this.opt.html2canvas);return delete Ae.onrendered,Q(this.prop.container,Ae)}).then(function(Q){(this.opt.html2canvas.onrendered||function(){})(Q),this.prop.canvas=Q,document.body.removeChild(this.prop.overlay)})},ne.prototype.toContext2d=function(){var V=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(V).then(s).then(function(Q){var Ae=this.opt.jsPDF,it=this.opt.fontFaces,Pt=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,It=Object.assign({async:!0,allowTaint:!0,scale:Pt,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 It.onrendered,Ae.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ae.context2d.posX=this.opt.x,Ae.context2d.posY=this.opt.y,Ae.context2d.margin=this.opt.margin,Ae.context2d.fontFaces=it,it)for(var ve=0;ve<it.length;++ve){var rt=it[ve],gt=rt.src.find(function(Kt){return Kt.format==="truetype"});gt&&Ae.addFont(gt.url,rt.ref.name,rt.ref.style)}return It.windowHeight=It.windowHeight||0,It.windowHeight=It.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):It.windowHeight,Ae.context2d.save(!0),Q(this.prop.container,It)}).then(function(Q){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(Q),this.prop.canvas=Q,document.body.removeChild(this.prop.overlay)})},ne.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var V=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=V})},ne.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},ne.prototype.output=function(V,Q,Ae){return(Ae=Ae||"pdf").toLowerCase()==="img"||Ae.toLowerCase()==="image"?this.outputImg(V,Q):this.outputPdf(V,Q)},ne.prototype.outputPdf=function(V,Q){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(V,Q)})},ne.prototype.outputImg=function(V){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(V){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 "'+V+'" is not supported.'}})},ne.prototype.save=function(V){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(V?{filename:V}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},ne.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},ne.prototype.set=function(V){if(b(V)!=="object")return this;var Q=Object.keys(V||{}).map(function(Ae){if(Ae in ne.template.prop)return function(){this.prop[Ae]=V[Ae]};switch(Ae){case"margin":return this.setMargin.bind(this,V.margin);case"jsPDF":return function(){return this.opt.jsPDF=V.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,V.pageSize);default:return function(){this.opt[Ae]=V[Ae]}}},this);return this.then(function(){return this.thenList(Q)})},ne.prototype.get=function(V,Q){return this.then(function(){var Ae=V in ne.template.prop?this.prop[V]:this.opt[V];return Q?Q(Ae):Ae})},ne.prototype.setMargin=function(V){return this.then(function(){switch(b(V)){case"number":V=[V,V,V,V];case"array":if(V.length===2&&(V=[V[0],V[1],V[0],V[1]]),V.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=V}).then(this.setPageSize)},ne.prototype.setPageSize=function(V){function Q(Ae,it){return Math.floor(Ae*it/72*96)}return this.then(function(){(V=V||R.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(V.inner={width:V.width-this.opt.margin[1]-this.opt.margin[3],height:V.height-this.opt.margin[0]-this.opt.margin[2]},V.inner.px={width:Q(V.inner.width,V.k),height:Q(V.inner.height,V.k)},V.inner.ratio=V.inner.height/V.inner.width),this.prop.pageSize=V})},ne.prototype.setProgress=function(V,Q,Ae,it){return V!=null&&(this.progress.val=V),Q!=null&&(this.progress.state=Q),Ae!=null&&(this.progress.n=Ae),it!=null&&(this.progress.stack=it),this.progress.ratio=this.progress.val/this.progress.state,this},ne.prototype.updateProgress=function(V,Q,Ae,it){return this.setProgress(V?this.progress.val+V:null,Q||null,Ae?this.progress.n+Ae:null,it?this.progress.stack.concat(it):null)},ne.prototype.then=function(V,Q){var Ae=this;return this.thenCore(V,Q,function(it,Pt){return Ae.updateProgress(null,null,1,[it]),Promise.prototype.then.call(this,function(It){return Ae.updateProgress(null,it),It}).then(it,Pt).then(function(It){return Ae.updateProgress(1),It})})},ne.prototype.thenCore=function(V,Q,Ae){Ae=Ae||Promise.prototype.then;var it=this;V&&(V=V.bind(it)),Q&&(Q=Q.bind(it));var Pt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?it:ne.convert(Object.assign({},it),Promise.prototype),It=Ae.call(Pt,V,Q);return ne.convert(It,it.__proto__)},ne.prototype.thenExternal=function(V,Q){return Promise.prototype.then.call(this,V,Q)},ne.prototype.thenList=function(V){var Q=this;return V.forEach(function(Ae){Q=Q.thenCore(Ae)}),Q},ne.prototype.catch=function(V){V&&(V=V.bind(this));var Q=Promise.prototype.catch.call(this,V);return ne.convert(Q,this)},ne.prototype.catchExternal=function(V){return Promise.prototype.catch.call(this,V)},ne.prototype.error=function(V){return this.then(function(){throw new Error(V)})},ne.prototype.using=ne.prototype.set,ne.prototype.saveAs=ne.prototype.save,ne.prototype.export=ne.prototype.output,ne.prototype.run=ne.prototype.then,R.getPageSize=function(V,Q,Ae){if((0,o.Z)(V)==="object"){var it=V;V=it.orientation,Q=it.unit||Q,Ae=it.format||Ae}Q=Q||"mm",Ae=Ae||"a4",V=(""+(V||"P")).toLowerCase();var Pt,It=(""+Ae).toLowerCase(),ve={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(Q){case"pt":Pt=1;break;case"mm":Pt=72/25.4;break;case"cm":Pt=72/2.54;break;case"in":Pt=72;break;case"px":Pt=.75;break;case"pc":case"em":Pt=12;break;case"ex":Pt=6;break;default:throw"Invalid unit: "+Q}var rt,gt=0,Kt=0;if(ve.hasOwnProperty(It))gt=ve[It][1]/Pt,Kt=ve[It][0]/Pt;else try{gt=Ae[1],Kt=Ae[0]}catch(ct){throw new Error("Invalid format: "+Ae)}if(V==="p"||V==="portrait")V="p",Kt>gt&&(rt=Kt,Kt=gt,gt=rt);else{if(V!=="l"&&V!=="landscape")throw"Invalid orientation: "+V;V="l",gt>Kt&&(rt=Kt,Kt=gt,gt=rt)}return{width:Kt,height:gt,unit:Q,k:Pt,orientation:V}},f.html=function(V,Q){(Q=Q||{}).callback=Q.callback||function(){},Q.html2canvas=Q.html2canvas||{},Q.html2canvas.canvas=Q.html2canvas.canvas||this.canvas,Q.jsPDF=Q.jsPDF||this,Q.fontFaces=Q.fontFaces?Q.fontFaces.map(sr):null;var Ae=new ne(Q);return Q.worker?Ae:Ae.from(V).doCallback()}}(R.API),R.API.addJS=function(f){return br=f,this.internal.events.subscribe("postPutResources",function(){Ht=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Ht+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Gt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+br+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Ht!==void 0&&Gt!==void 0&&this.internal.out("/Names <</JavaScript "+Ht+" 0 R>>")}),this},function(f){var s;f.events.push(["postPutResources",function(){var p=this,b=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var j=p.outline.render().split(/\r\n/),d=0;d<j.length;d++){var ne=j[d],V=b.exec(ne);if(V!=null){var Q=V[1];p.internal.newObjectDeferredBegin(Q,!1)}p.internal.write(ne)}if(this.outline.createNamedDestinations){var Ae=this.internal.pages.length,it=[];for(d=0;d<Ae;d++){var Pt=p.internal.newObject();it.push(Pt);var It=p.internal.getPageInfo(d+1);p.internal.write("<< /D["+It.objId+" 0 R /XYZ null null null]>> endobj")}var ve=p.internal.newObject();for(p.internal.write("<< /Names [ "),d=0;d<it.length;d++)p.internal.write("(page_"+(d+1)+")"+it[d]+" 0 R");p.internal.write(" ] >>","endobj"),s=p.internal.newObject(),p.internal.write("<< /Dests "+ve+" 0 R"),p.internal.write(">>","endobj")}}]),f.events.push(["putCatalog",function(){var p=this;p.outline.root.children.length>0&&(p.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&p.internal.write("/Names "+s+" 0 R"))}]),f.events.push(["initialized",function(){var p=this;p.outline={createNamedDestinations:!1,root:{children:[]}},p.outline.add=function(b,j,d){var ne={title:j,options:d,children:[]};return b==null&&(b=this.root),b.children.push(ne),ne},p.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=p,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},p.outline.genIds_r=function(b){b.id=p.internal.newObjectDeferred();for(var j=0;j<b.children.length;j++)this.genIds_r(b.children[j])},p.outline.renderRoot=function(b){this.objStart(b),this.line("/Type /Outlines"),b.children.length>0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1]))),this.line("/Count "+this.count_r({count:0},b)),this.objEnd()},p.outline.renderItems=function(b){for(var j=this.ctx.pdf.internal.getVerticalCoordinateString,d=0;d<b.children.length;d++){var ne=b.children[d];this.objStart(ne),this.line("/Title "+this.makeString(ne.title)),this.line("/Parent "+this.makeRef(b)),d>0&&this.line("/Prev "+this.makeRef(b.children[d-1])),d<b.children.length-1&&this.line("/Next "+this.makeRef(b.children[d+1])),ne.children.length>0&&(this.line("/First "+this.makeRef(ne.children[0])),this.line("/Last "+this.makeRef(ne.children[ne.children.length-1])));var V=this.count=this.count_r({count:0},ne);if(V>0&&this.line("/Count "+V),ne.options&&ne.options.pageNumber){var Q=p.internal.getPageInfo(ne.options.pageNumber);this.line("/Dest ["+Q.objId+" 0 R /XYZ 0 "+j(0)+" 0]")}this.objEnd()}for(var Ae=0;Ae<b.children.length;Ae++)this.renderItems(b.children[Ae])},p.outline.line=function(b){this.ctx.val+=b+`\r
`},p.outline.makeRef=function(b){return b.id+" 0 R"},p.outline.makeString=function(b){return"("+p.internal.pdfEscape(b)+")"},p.outline.objStart=function(b){this.ctx.val+=`\r
`+b.id+` 0 obj\r
<<\r
`},p.outline.objEnd=function(){this.ctx.val+=`>> \r
endobj\r
`},p.outline.count_r=function(b,j){for(var d=0;d<j.children.length;d++)b.count++,this.count_r(b,j.children[d]);return b.count}}])}(R.API),function(f){var s=[192,193,194,195,196,197,198,199];f.processJPEG=function(p,b,j,d,ne,V){var Q,Ae=this.decode.DCT_DECODE,it=null;if(typeof p=="string"||this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p)){switch(p=ne||p,p=this.__addimage__.isArrayBuffer(p)?new Uint8Array(p):p,Q=function(Pt){for(var It,ve=256*Pt.charCodeAt(4)+Pt.charCodeAt(5),rt=Pt.length,gt={width:0,height:0,numcomponents:1},Kt=4;Kt<rt;Kt+=2){if(Kt+=ve,s.indexOf(Pt.charCodeAt(Kt+1))!==-1){It=256*Pt.charCodeAt(Kt+5)+Pt.charCodeAt(Kt+6),gt={width:256*Pt.charCodeAt(Kt+7)+Pt.charCodeAt(Kt+8),height:It,numcomponents:Pt.charCodeAt(Kt+9)};break}ve=256*Pt.charCodeAt(Kt+2)+Pt.charCodeAt(Kt+3)}return gt}(p=this.__addimage__.isArrayBufferView(p)?this.__addimage__.arrayBufferToBinaryString(p):p),Q.numcomponents){case 1:V=this.color_spaces.DEVICE_GRAY;break;case 4:V=this.color_spaces.DEVICE_CMYK;break;case 3:V=this.color_spaces.DEVICE_RGB}it={data:p,width:Q.width,height:Q.height,colorSpace:V,bitsPerComponent:8,filter:Ae,index:b,alias:j}}return it}}(R.API),R.API.processPNG=function(f,s,p,b){if(this.__addimage__.isArrayBuffer(f)&&(f=new Uint8Array(f)),this.__addimage__.isArrayBufferView(f)){var j,d=(0,De.Jx)(f,{checkCrc:!0}),ne=d.width,V=d.height,Q=d.channels,Ae=d.palette,it=d.depth;j=Ae&&Q===1?function(Ft){for(var Ot=Ft.width,Jt=Ft.height,Fe=Ft.data,Me=Ft.palette,lt=Ft.depth,Et=!1,fr=[],vr=[],Zt=void 0,Tt=!1,dr=0,Yt=0;Yt<Me.length;Yt++){var wr=(0,B.Z)(Me[Yt],4),je=wr[0],vt=wr[1],Nt=wr[2],st=wr[3];fr.push(je,vt,Nt),st!=null&&(st===0?(dr++,vr.length<1&&vr.push(Yt)):st<255&&(Tt=!0))}if(Tt||dr>1){Et=!0,vr=void 0;var qt=Ot*Jt;Zt=new Uint8Array(qt);for(var nr=new DataView(Fe.buffer),Or=0;Or<qt;Or++){var Ar=ir(nr,Or,lt),Rr=(0,B.Z)(Me[Ar],4)[3];Zt[Or]=Rr}}else dr===0&&(vr=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:Et?8:void 0,colorBytes:Fe,alphaBytes:Zt,needSMask:Et,palette:fr,mask:vr}}(d):Q===2||Q===4?function(Ft){for(var Ot=Ft.data,Jt=Ft.width,Fe=Ft.height,Me=Ft.channels,lt=Ft.depth,Et=Me===2?"DeviceGray":"DeviceRGB",fr=Me-1,vr=Jt*Fe,Zt=fr,Tt=vr*Zt,dr=1*vr,Yt=Math.ceil(Tt*lt/8),wr=Math.ceil(dr*lt/8),je=new Uint8Array(Yt),vt=new Uint8Array(wr),Nt=new DataView(Ot.buffer),st=new DataView(je.buffer),qt=new DataView(vt.buffer),nr=!1,Or=0;Or<vr;Or++){for(var Ar=Or*Me,Rr=0;Rr<Zt;Rr++)Nr(st,ir(Nt,Ar+Rr,lt),Or*Zt+Rr,lt);var Hr=ir(Nt,Ar+Zt,lt);Hr<(1<<lt)-1&&(nr=!0),Nr(qt,Hr,1*Or,lt)}return{colorSpace:Et,colorsPerPixel:fr,sMaskBitsPerComponent:nr?lt:void 0,colorBytes:je,alphaBytes:vt,needSMask:nr}}(d):function(Ft){var Ot=Ft.data,Jt=Ft.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Jt,colorsPerPixel:Jt==="DeviceGray"?1:3,colorBytes:Ot instanceof Uint16Array?function(Fe){for(var Me=Fe.length,lt=new Uint8Array(2*Me),Et=new DataView(lt.buffer,lt.byteOffset,lt.byteLength),fr=0;fr<Me;fr++)Et.setUint16(2*fr,Fe[fr],!1);return lt}(Ot):Ot,needSMask:!1}}(d);var Pt,It,ve,rt=j,gt=rt.colorSpace,Kt=rt.colorsPerPixel,ct=rt.sMaskBitsPerComponent,ur=rt.colorBytes,Cr=rt.alphaBytes,Qt=rt.needSMask,tt=rt.palette,we=rt.mask,kt=null;return b!==R.API.image_compression.NONE&&typeof Xe.iZ=="function"?(kt=function(Ft){var Ot;switch(Ft){case R.API.image_compression.FAST:Ot=11;break;case R.API.image_compression.MEDIUM:Ot=13;break;case R.API.image_compression.SLOW:Ot=14;break;default:Ot=12}return Ot}(b),Pt=this.decode.FLATE_DECODE,It="/Predictor ".concat(kt," /Colors ").concat(Kt," /BitsPerComponent ").concat(it," /Columns ").concat(ne),f=jr(ur,Math.ceil(ne*Kt*it/8),Kt,it,b),Qt&&(ve=jr(Cr,Math.ceil(ne*ct/8),1,ct,b))):(Pt=void 0,It=void 0,f=ur,Qt&&(ve=Cr)),(this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),(ve&&this.__addimage__.isArrayBuffer(ve)||this.__addimage__.isArrayBufferView(ve))&&(ve=this.__addimage__.arrayBufferToBinaryString(ve)),{alias:p,data:f,index:s,filter:Pt,decodeParameters:It,transparency:we,palette:tt,sMask:ve,predictor:kt,width:ne,height:V,bitsPerComponent:it,sMaskBitsPerComponent:ct,colorSpace:gt}}},function(f){f.processGIF89A=function(s,p,b,j){var d=new sn(s),ne=d.width,V=d.height,Q=[];d.decodeAndBlitFrameRGBA(0,Q);var Ae={data:Q,width:ne,height:V},it=new pn(100).encode(Ae,100);return f.processJPEG.call(this,it,p,b,j)},f.processGIF87A=f.processGIF89A}(R.API),on.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var f=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(f);for(var s=0;s<f;s++){var p=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),j=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0);this.palette[s]={red:j,green:b,blue:p,quad:d}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},on.prototype.parseBGR=function(){this.pos=this.offset;try{var f="bit"+this.bitPP,s=this.width*this.height*4;this.data=new Uint8Array(s),this[f]()}catch(p){Y.log("bit decode error:"+p)}},on.prototype.bit1=function(){var f,s=Math.ceil(this.width/8),p=s%4;for(f=this.height-1;f>=0;f--){for(var b=this.bottom_up?f:this.height-1-f,j=0;j<s;j++)for(var d=this.datav.getUint8(this.pos++,!0),ne=b*this.width*4+8*j*4,V=0;V<8&&8*j+V<this.width;V++){var Q=this.palette[d>>7-V&1];this.data[ne+4*V]=Q.blue,this.data[ne+4*V+1]=Q.green,this.data[ne+4*V+2]=Q.red,this.data[ne+4*V+3]=255}p!==0&&(this.pos+=4-p)}},on.prototype.bit4=function(){for(var f=Math.ceil(this.width/2),s=f%4,p=this.height-1;p>=0;p--){for(var b=this.bottom_up?p:this.height-1-p,j=0;j<f;j++){var d=this.datav.getUint8(this.pos++,!0),ne=b*this.width*4+2*j*4,V=d>>4,Q=15&d,Ae=this.palette[V];if(this.data[ne]=Ae.blue,this.data[ne+1]=Ae.green,this.data[ne+2]=Ae.red,this.data[ne+3]=255,2*j+1>=this.width)break;Ae=this.palette[Q],this.data[ne+4]=Ae.blue,this.data[ne+4+1]=Ae.green,this.data[ne+4+2]=Ae.red,this.data[ne+4+3]=255}s!==0&&(this.pos+=4-s)}},on.prototype.bit8=function(){for(var f=this.width%4,s=this.height-1;s>=0;s--){for(var p=this.bottom_up?s:this.height-1-s,b=0;b<this.width;b++){var j=this.datav.getUint8(this.pos++,!0),d=p*this.width*4+4*b;if(j<this.palette.length){var ne=this.palette[j];this.data[d]=ne.red,this.data[d+1]=ne.green,this.data[d+2]=ne.blue,this.data[d+3]=255}else this.data[d]=255,this.data[d+1]=255,this.data[d+2]=255,this.data[d+3]=255}f!==0&&(this.pos+=4-f)}},on.prototype.bit15=function(){for(var f=this.width%3,s=parseInt("11111",2),p=this.height-1;p>=0;p--){for(var b=this.bottom_up?p:this.height-1-p,j=0;j<this.width;j++){var d=this.datav.getUint16(this.pos,!0);this.pos+=2;var ne=(d&s)/s*255|0,V=(d>>5&s)/s*255|0,Q=(d>>10&s)/s*255|0,Ae=d>>15?255:0,it=b*this.width*4+4*j;this.data[it]=Q,this.data[it+1]=V,this.data[it+2]=ne,this.data[it+3]=Ae}this.pos+=f}},on.prototype.bit16=function(){for(var f=this.width%3,s=parseInt("11111",2),p=parseInt("111111",2),b=this.height-1;b>=0;b--){for(var j=this.bottom_up?b:this.height-1-b,d=0;d<this.width;d++){var ne=this.datav.getUint16(this.pos,!0);this.pos+=2;var V=(ne&s)/s*255|0,Q=(ne>>5&p)/p*255|0,Ae=(ne>>11)/s*255|0,it=j*this.width*4+4*d;this.data[it]=Ae,this.data[it+1]=Q,this.data[it+2]=V,this.data[it+3]=255}this.pos+=f}},on.prototype.bit24=function(){for(var f=this.height-1;f>=0;f--){for(var s=this.bottom_up?f:this.height-1-f,p=0;p<this.width;p++){var b=this.datav.getUint8(this.pos++,!0),j=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0),ne=s*this.width*4+4*p;this.data[ne]=d,this.data[ne+1]=j,this.data[ne+2]=b,this.data[ne+3]=255}this.pos+=this.width%4}},on.prototype.bit32=function(){for(var f=this.height-1;f>=0;f--)for(var s=this.bottom_up?f:this.height-1-f,p=0;p<this.width;p++){var b=this.datav.getUint8(this.pos++,!0),j=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0),ne=this.datav.getUint8(this.pos++,!0),V=s*this.width*4+4*p;this.data[V]=d,this.data[V+1]=j,this.data[V+2]=b,this.data[V+3]=ne}},on.prototype.getData=function(){return this.data},function(f){f.processBMP=function(s,p,b,j){var d=new on(s,!1),ne=d.width,V=d.height,Q={data:d.getData(),width:ne,height:V},Ae=new pn(100).encode(Q,100);return f.processJPEG.call(this,Ae,p,b,j)}}(R.API),Mn.prototype.getData=function(){return this.data},function(f){f.processWEBP=function(s,p,b,j){var d=new Mn(s),ne=d.width,V=d.height,Q={data:d.getData(),width:ne,height:V},Ae=new pn(100).encode(Q,100);return f.processJPEG.call(this,Ae,p,b,j)}}(R.API),R.API.processRGBA=function(f,s,p){for(var b=f.data,j=b.length,d=new Uint8Array(j/4*3),ne=new Uint8Array(j/4),V=0,Q=0,Ae=0;Ae<j;Ae+=4){var it=b[Ae],Pt=b[Ae+1],It=b[Ae+2],ve=b[Ae+3];d[V++]=it,d[V++]=Pt,d[V++]=It,ne[Q++]=ve}var rt=this.__addimage__.arrayBufferToBinaryString(d);return{alpha:this.__addimage__.arrayBufferToBinaryString(ne),data:rt,index:s,alias:p,colorSpace:"DeviceRGB",bitsPerComponent:8,width:f.width,height:f.height}},R.API.setLanguage=function(f){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[f]!==void 0&&(this.internal.languageSettings.languageCode=f,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Kr=R.API,an=Kr.getCharWidthsArray=function(f,s){var p,b,j=(s=s||{}).font||this.internal.getFont(),d=s.fontSize||this.internal.getFontSize(),ne=s.charSpace||this.internal.getCharSpace(),V=s.widths?s.widths:j.metadata.Unicode.widths,Q=V.fof?V.fof:1,Ae=s.kerning?s.kerning:j.metadata.Unicode.kerning,it=Ae.fof?Ae.fof:1,Pt=s.doKerning!==!1,It=0,ve=f.length,rt=0,gt=V[0]||Q,Kt=[];for(p=0;p<ve;p++)b=f.charCodeAt(p),typeof j.metadata.widthOfString=="function"?Kt.push((j.metadata.widthOfGlyph(j.metadata.characterToGlyph(b))+ne*(1e3/d)||0)/1e3):(It=Pt&&(0,o.Z)(Ae[b])==="object"&&!isNaN(parseInt(Ae[b][rt],10))?Ae[b][rt]/it:0,Kt.push((V[b]||gt)/Q+It)),rt=b;return Kt},An=Kr.getStringUnitWidth=function(f,s){var p=(s=s||{}).fontSize||this.internal.getFontSize(),b=s.font||this.internal.getFont(),j=s.charSpace||this.internal.getCharSpace();return Kr.processArabic&&(f=Kr.processArabic(f)),typeof b.metadata.widthOfString=="function"?b.metadata.widthOfString(f,p,j)/p:an.apply(this,arguments).reduce(function(d,ne){return d+ne},0)},Ct=function(f,s,p,b){for(var j=[],d=0,ne=f.length,V=0;d!==ne&&V+s[d]<p;)V+=s[d],d++;j.push(f.slice(0,d));var Q=d;for(V=0;d!==ne;)V+s[d]>b&&(j.push(f.slice(Q,d)),V=0,Q=d),V+=s[d],d++;return Q!==d&&j.push(f.slice(Q,d)),j},Lt=function(f,s,p){p||(p={});var b,j,d,ne,V,Q,Ae,it=[],Pt=[it],It=p.textIndent||0,ve=0,rt=0,gt=f.split(" "),Kt=an.apply(this,[" ",p])[0];if(Q=p.lineIndent===-1?gt[0].length+2:p.lineIndent||0){var ct=Array(Q).join(" "),ur=[];gt.map(function(Qt){(Qt=Qt.split(/\s*\n/)).length>1?ur=ur.concat(Qt.map(function(tt,we){return(we&&tt.length?`
`:"")+tt})):ur.push(Qt[0])}),gt=ur,Q=An.apply(this,[ct,p])}for(d=0,ne=gt.length;d<ne;d++){var Cr=0;if(b=gt[d],Q&&b[0]==`
`&&(b=b.substr(1),Cr=1),It+ve+(rt=(j=an.apply(this,[b,p])).reduce(function(Qt,tt){return Qt+tt},0))>s||Cr){if(rt>s){for(V=Ct.apply(this,[b,j,s-(It+ve),s]),it.push(V.shift()),it=[V.pop()];V.length;)Pt.push([V.shift()]);rt=j.slice(b.length-(it[0]?it[0].length:0)).reduce(function(Qt,tt){return Qt+tt},0)}else it=[b];Pt.push(it),It=rt+Q,ve=Kt}else it.push(b),It+=ve+rt,ve=Kt}return Ae=Q?function(Qt,tt){return(tt?ct:"")+Qt.join(" ")}:function(Qt){return Qt.join(" ")},Pt.map(Ae)},Kr.splitTextToSize=function(f,s,p){var b,j=(p=p||{}).fontSize||this.internal.getFontSize(),d=function(it){if(it.widths&&it.kerning)return{widths:it.widths,kerning:it.kerning};var Pt=this.internal.getFont(it.fontName,it.fontStyle),It="Unicode";return Pt.metadata[It]?{widths:Pt.metadata[It].widths||{0:1},kerning:Pt.metadata[It].kerning||{}}:{font:Pt.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,p);b=Array.isArray(f)?f:String(f).split(/\r?\n/);var ne=1*this.internal.scaleFactor*s/j;d.textIndent=p.textIndent?1*p.textIndent*this.internal.scaleFactor/j:0,d.lineIndent=p.lineIndent;var V,Q,Ae=[];for(V=0,Q=b.length;V<Q;V++)Ae=Ae.concat(Lt.apply(this,[b[V],ne,d]));return Ae},function(f){f.__fontmetrics__=f.__fontmetrics__||{};for(var s="0123456789abcdef",p="klmnopqrstuvwxyz",b={},j={},d=0;d<16;d++)b[p[d]]=s[d],j[s[d]]=p[d];var ne=function(It){return"0x"+parseInt(It,10).toString(16)},V=f.__fontmetrics__.compress=function(It){var ve,rt,gt,Kt,ct=["{"];for(var ur in It){if(ve=It[ur],isNaN(parseInt(ur,10))?rt="'"+ur+"'":(ur=parseInt(ur,10),rt=(rt=ne(ur).slice(2)).slice(0,-1)+j[rt.slice(-1)]),typeof ve=="number")ve<0?(gt=ne(ve).slice(3),Kt="-"):(gt=ne(ve).slice(2),Kt=""),gt=Kt+gt.slice(0,-1)+j[gt.slice(-1)];else{if((0,o.Z)(ve)!=="object")throw new Error("Don't know what to do with value type "+(0,o.Z)(ve)+".");gt=V(ve)}ct.push(rt+gt)}return ct.push("}"),ct.join("")},Q=f.__fontmetrics__.uncompress=function(It){if(typeof It!="string")throw new Error("Invalid argument passed to uncompress.");for(var ve,rt,gt,Kt,ct={},ur=1,Cr=ct,Qt=[],tt="",we="",kt=It.length-1,Ft=1;Ft<kt;Ft+=1)(Kt=It[Ft])=="'"?ve?(gt=ve.join(""),ve=void 0):ve=[]:ve?ve.push(Kt):Kt=="{"?(Qt.push([Cr,gt]),Cr={},gt=void 0):Kt=="}"?((rt=Qt.pop())[0][rt[1]]=Cr,gt=void 0,Cr=rt[0]):Kt=="-"?ur=-1:gt===void 0?b.hasOwnProperty(Kt)?(tt+=b[Kt],gt=parseInt(tt,16)*ur,ur=1,tt=""):tt+=Kt:b.hasOwnProperty(Kt)?(we+=b[Kt],Cr[gt]=parseInt(we,16)*ur,ur=1,gt=void 0,we=""):we+=Kt;return ct},Ae={codePages:["WinAnsiEncoding"],WinAnsiEncoding:Q("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},it={Unicode:{Courier:Ae,"Courier-Bold":Ae,"Courier-BoldOblique":Ae,"Courier-Oblique":Ae,Helvetica:Ae,"Helvetica-Bold":Ae,"Helvetica-BoldOblique":Ae,"Helvetica-Oblique":Ae,"Times-Roman":Ae,"Times-Bold":Ae,"Times-BoldItalic":Ae,"Times-Italic":Ae}},Pt={Unicode:{"Courier-Oblique":Q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":Q("{'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":Q("{'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:Q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":Q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":Q("{'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:Q("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:Q("{'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":Q("{'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:Q("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":Q("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":Q("{'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":Q("{'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":Q("{'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}}}")}};f.events.push(["addFont",function(It){var ve=It.font,rt=Pt.Unicode[ve.postScriptName];rt&&(ve.metadata.Unicode={},ve.metadata.Unicode.widths=rt.widths,ve.metadata.Unicode.kerning=rt.kerning);var gt=it.Unicode[ve.postScriptName];gt&&(ve.metadata.Unicode.encoding=gt,ve.encoding=gt.codePages[0])}])}(R.API),function(f){var s=function(p){for(var b=p.length,j=new Uint8Array(b),d=0;d<b;d++)j[d]=p.charCodeAt(d);return j};f.API.events.push(["addFont",function(p){var b=void 0,j=p.font,d=p.instance;if(!j.isStandardFont){if(d===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+j.postScriptName+"').");if(typeof(b=d.existsFileInVFS(j.postScriptName)===!1?d.loadFile(j.postScriptName):d.getFileFromVFS(j.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+j.postScriptName+"').");(function(ne,V){V=/^\x00\x01\x00\x00/.test(V)?s(V):s(U(V)),ne.metadata=f.API.TTFFont.open(V),ne.metadata.Unicode=ne.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ne.metadata.glyIdsUsed=[0]})(j,b)}}])}(R),R.API.addSvgAsImage=function(f,s,p,b,j,d,ne,V){if(isNaN(s)||isNaN(p))throw Y.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN(j))throw Y.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var Q=document.createElement("canvas");Q.width=b,Q.height=j;var Ae=Q.getContext("2d");Ae.fillStyle="#fff",Ae.fillRect(0,0,Q.width,Q.height);var it={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Pt=this;return(q.canvg?Promise.resolve(q.canvg):n.e(3754).then(n.bind(n,63754))).catch(function(It){return Promise.reject(new Error("Could not load canvg: "+It))}).then(function(It){return It.default?It.default:It}).then(function(It){return It.fromString(Ae,f,it)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(It){return It.render(it)}).then(function(){Pt.addImage(Q.toDataURL("image/jpeg",1),s,p,b,j,ne,V)})},R.API.putTotalPages=function(f){var s,p=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(s=new RegExp(f,"g"),p=this.internal.getNumberOfPages()):(s=new RegExp(this.pdfEscape16(f,this.internal.getFont()),"g"),p=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var b=1;b<=this.internal.getNumberOfPages();b++)for(var j=0;j<this.internal.pages[b].length;j++)this.internal.pages[b][j]=this.internal.pages[b][j].replace(s,p);return this},R.API.viewerPreferences=function(f,s){var p;f=f||{},s=s||!1;var b,j,d,ne={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}},V=Object.keys(ne),Q=[],Ae=0,it=0,Pt=0;function It(rt,gt){var Kt,ct=!1;for(Kt=0;Kt<rt.length;Kt+=1)rt[Kt]===gt&&(ct=!0);return ct}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(ne)),this.internal.viewerpreferences.isSubscribed=!1),p=this.internal.viewerpreferences.configuration,f==="reset"||s===!0){var ve=V.length;for(Pt=0;Pt<ve;Pt+=1)p[V[Pt]].value=p[V[Pt]].defaultValue,p[V[Pt]].explicitSet=!1}if((0,o.Z)(f)==="object"){for(j in f)if(d=f[j],It(V,j)&&d!==void 0){if(p[j].type==="boolean"&&typeof d=="boolean")p[j].value=d;else if(p[j].type==="name"&&It(p[j].valueSet,d))p[j].value=d;else if(p[j].type==="integer"&&Number.isInteger(d))p[j].value=d;else if(p[j].type==="array"){for(Ae=0;Ae<d.length;Ae+=1)if(b=!0,d[Ae].length===1&&typeof d[Ae][0]=="number")Q.push(String(d[Ae]-1));else if(d[Ae].length>1){for(it=0;it<d[Ae].length;it+=1)typeof d[Ae][it]!="number"&&(b=!1);b===!0&&Q.push([d[Ae][0]-1,d[Ae][1]-1].join(" "))}p[j].value="["+Q.join(" ")+"]"}else p[j].value=p[j].defaultValue;p[j].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var rt,gt=[];for(rt in p)p[rt].explicitSet===!0&&(p[rt].type==="name"?gt.push("/"+rt+" /"+p[rt].value):gt.push("/"+rt+" "+p[rt].value));gt.length!==0&&this.internal.write(`/ViewerPreferences
<<
`+gt.join(`
`)+`
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=p,this},function(f){var s=function(){var b='<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>',j=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),d=unescape(encodeURIComponent(b)),ne=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),V=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),Q=unescape(encodeURIComponent("</x:xmpmeta>")),Ae=d.length+ne.length+V.length+j.length+Q.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ae+" >>"),this.internal.write("stream"),this.internal.write(j+d+ne+V+Q),this.internal.write("endstream"),this.internal.write("endobj")},p=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};f.addMetadata=function(b,j){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:b,namespaceuri:j||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",p),this.internal.events.subscribe("postPutResources",s)),this}}(R.API),function(f){var s=f.API,p=s.pdfEscape16=function(d,ne){for(var V,Q=ne.metadata.Unicode.widths,Ae=["","0","00","000","0000"],it=[""],Pt=0,It=d.length;Pt<It;++Pt){if(V=ne.metadata.characterToGlyph(d.charCodeAt(Pt)),ne.metadata.glyIdsUsed.push(V),ne.metadata.toUnicode[V]=d.charCodeAt(Pt),Q.indexOf(V)==-1&&(Q.push(V),Q.push([parseInt(ne.metadata.widthOfGlyph(V),10)])),V=="0")return it.join("");V=V.toString(16),it.push(Ae[4-V.length],V)}return it.join("")},b=function(d){var ne,V,Q,Ae,it,Pt,It;for(it=`/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (Adobe)
/Ordering (UCS)
/Supplement 0
>> def
/CMapName /Adobe-Identity-UCS def
/CMapType 2 def
1 begincodespacerange
<0000><ffff>
endcodespacerange`,Q=[],Pt=0,It=(V=Object.keys(d).sort(function(ve,rt){return ve-rt})).length;Pt<It;Pt++)ne=V[Pt],Q.length>=100&&(it+=`
`+Q.length+` beginbfchar
`+Q.join(`
`)+`
endbfchar`,Q=[]),d[ne]!==void 0&&d[ne]!==null&&typeof d[ne].toString=="function"&&(Ae=("0000"+d[ne].toString(16)).slice(-4),ne=("0000"+(+ne).toString(16)).slice(-4),Q.push("<"+ne+"><"+Ae+">"));return Q.length&&(it+=`
`+Q.length+` beginbfchar
`+Q.join(`
`)+`
endbfchar
`),it+`endcmap
CMapName currentdict /CMap defineresource pop
end
end`};s.events.push(["putFont",function(d){(function(ne){var V=ne.font,Q=ne.out,Ae=ne.newObject,it=ne.putStream;if(V.metadata instanceof f.API.TTFFont&&V.encoding==="Identity-H"){for(var Pt=V.metadata.Unicode.widths,It=V.metadata.subset.encode(V.metadata.glyIdsUsed,1),ve="",rt=0;rt<It.length;rt++)ve+=String.fromCharCode(It[rt]);var gt=Ae();it({data:ve,addLength1:!0,objectId:gt}),Q("endobj");var Kt=Ae();it({data:b(V.metadata.toUnicode),addLength1:!0,objectId:Kt}),Q("endobj");var ct=Ae();Q("<<"),Q("/Type /FontDescriptor"),Q("/FontName /"+P(V.fontName)),Q("/FontFile2 "+gt+" 0 R"),Q("/FontBBox "+f.API.PDFObject.convert(V.metadata.bbox)),Q("/Flags "+V.metadata.flags),Q("/StemV "+V.metadata.stemV),Q("/ItalicAngle "+V.metadata.italicAngle),Q("/Ascent "+V.metadata.ascender),Q("/Descent "+V.metadata.decender),Q("/CapHeight "+V.metadata.capHeight),Q(">>"),Q("endobj");var ur=Ae();Q("<<"),Q("/Type /Font"),Q("/BaseFont /"+P(V.fontName)),Q("/FontDescriptor "+ct+" 0 R"),Q("/W "+f.API.PDFObject.convert(Pt)),Q("/CIDToGIDMap /Identity"),Q("/DW 1000"),Q("/Subtype /CIDFontType2"),Q("/CIDSystemInfo"),Q("<<"),Q("/Supplement 0"),Q("/Registry (Adobe)"),Q("/Ordering ("+V.encoding+")"),Q(">>"),Q(">>"),Q("endobj"),V.objectNumber=Ae(),Q("<<"),Q("/Type /Font"),Q("/Subtype /Type0"),Q("/ToUnicode "+Kt+" 0 R"),Q("/BaseFont /"+P(V.fontName)),Q("/Encoding /"+V.encoding),Q("/DescendantFonts ["+ur+" 0 R]"),Q(">>"),Q("endobj"),V.isAlreadyPutted=!0}})(d)}]),s.events.push(["putFont",function(d){(function(ne){var V=ne.font,Q=ne.out,Ae=ne.newObject,it=ne.putStream;if(V.metadata instanceof f.API.TTFFont&&V.encoding==="WinAnsiEncoding"){for(var Pt=V.metadata.rawData,It="",ve=0;ve<Pt.length;ve++)It+=String.fromCharCode(Pt[ve]);var rt=Ae();it({data:It,addLength1:!0,objectId:rt}),Q("endobj");var gt=Ae();it({data:b(V.metadata.toUnicode),addLength1:!0,objectId:gt}),Q("endobj");var Kt=Ae();Q("<<"),Q("/Descent "+V.metadata.decender),Q("/CapHeight "+V.metadata.capHeight),Q("/StemV "+V.metadata.stemV),Q("/Type /FontDescriptor"),Q("/FontFile2 "+rt+" 0 R"),Q("/Flags 96"),Q("/FontBBox "+f.API.PDFObject.convert(V.metadata.bbox)),Q("/FontName /"+P(V.fontName)),Q("/ItalicAngle "+V.metadata.italicAngle),Q("/Ascent "+V.metadata.ascender),Q(">>"),Q("endobj"),V.objectNumber=Ae();for(var ct=0;ct<V.metadata.hmtx.widths.length;ct++)V.metadata.hmtx.widths[ct]=parseInt(V.metadata.hmtx.widths[ct]*(1e3/V.metadata.head.unitsPerEm));Q("<</Subtype/TrueType/Type/Font/ToUnicode "+gt+" 0 R/BaseFont/"+P(V.fontName)+"/FontDescriptor "+Kt+" 0 R/Encoding/"+V.encoding+" /FirstChar 29 /LastChar 255 /Widths "+f.API.PDFObject.convert(V.metadata.hmtx.widths)+">>"),Q("endobj"),V.isAlreadyPutted=!0}})(d)}]);var j=function(d){var ne,V=d.text||"",Q=d.x,Ae=d.y,it=d.options||{},Pt=d.mutex||{},It=Pt.pdfEscape,ve=Pt.activeFontKey,rt=Pt.fonts,gt=ve,Kt="",ct=0,ur="",Cr=rt[gt].encoding;if(rt[gt].encoding!=="Identity-H")return{text:V,x:Q,y:Ae,options:it,mutex:Pt};for(ur=V,gt=ve,Array.isArray(V)&&(ur=V[0]),ct=0;ct<ur.length;ct+=1)rt[gt].metadata.hasOwnProperty("cmap")&&(ne=rt[gt].metadata.cmap.unicode.codeMap[ur[ct].charCodeAt(0)]),ne||ur[ct].charCodeAt(0)<256&&rt[gt].metadata.hasOwnProperty("Unicode")?Kt+=ur[ct]:Kt+="";var Qt="";return parseInt(gt.slice(1))<14||Cr==="WinAnsiEncoding"?Qt=It(Kt,gt).split("").map(function(tt){return tt.charCodeAt(0).toString(16)}).join(""):Cr==="Identity-H"&&(Qt=p(Kt,rt[gt])),Pt.isHex=!0,{text:Qt,x:Q,y:Ae,options:it,mutex:Pt}};s.events.push(["postProcessText",function(d){var ne=d.text||"",V=[],Q={text:ne,x:d.x,y:d.y,options:d.options,mutex:d.mutex};if(Array.isArray(ne)){var Ae=0;for(Ae=0;Ae<ne.length;Ae+=1)Array.isArray(ne[Ae])&&ne[Ae].length===3?V.push([j(Object.assign({},Q,{text:ne[Ae][0]})).text,ne[Ae][1],ne[Ae][2]]):V.push(j(Object.assign({},Q,{text:ne[Ae]})).text);d.text=V}else d.text=j(Object.assign({},Q,{text:ne})).text}])}(R),function(f){var s=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};f.existsFileInVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0},f.addFileToVFS=function(p,b){return s.call(this),this.internal.vFS[p]=b,this},f.getFileFromVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0?this.internal.vFS[p]:null}}(R.API),function(f){f.__bidiEngine__=f.prototype.__bidiEngine__=function(b){var j,d,ne,V,Q,Ae,it,Pt=s,It=[[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]],ve=[[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]],rt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},gt={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Kt=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],ct=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)$/),ur=!1,Cr=0;this.__bidiEngine__={};var Qt=function(Fe){var Me=Fe.charCodeAt(),lt=Me>>8,Et=gt[lt];return Et!==void 0?Pt[256*Et+(255&Me)]:lt===252||lt===253?"AL":ct.test(lt)?"L":lt===8?"R":"N"},tt=function(Fe){for(var Me,lt=0;lt<Fe.length;lt++){if((Me=Qt(Fe.charAt(lt)))==="L")return!1;if(Me==="R")return!0}return!1},we=function(Fe,Me,lt,Et){var fr,vr,Zt,Tt,dr=Me[Et];switch(dr){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":ur=!1;break;case"N":case"AN":break;case"EN":ur&&(dr="AN");break;case"AL":ur=!0,dr="R";break;case"WS":case"BN":dr="N";break;case"CS":Et<1||Et+1>=Me.length||(fr=lt[Et-1])!=="EN"&&fr!=="AN"||(vr=Me[Et+1])!=="EN"&&vr!=="AN"?dr="N":ur&&(vr="AN"),dr=vr===fr?vr:"N";break;case"ES":dr=(fr=Et>0?lt[Et-1]:"B")==="EN"&&Et+1<Me.length&&Me[Et+1]==="EN"?"EN":"N";break;case"ET":if(Et>0&&lt[Et-1]==="EN"){dr="EN";break}if(ur){dr="N";break}for(Zt=Et+1,Tt=Me.length;Zt<Tt&&Me[Zt]==="ET";)Zt++;dr=Zt<Tt&&Me[Zt]==="EN"?"EN":"N";break;case"NSM":if(ne&&!V){for(Tt=Me.length,Zt=Et+1;Zt<Tt&&Me[Zt]==="NSM";)Zt++;if(Zt<Tt){var Yt=Fe[Et],wr=Yt>=1425&&Yt<=2303||Yt===64286;if(fr=Me[Zt],wr&&(fr==="R"||fr==="AL")){dr="R";break}}}dr=Et<1||(fr=Me[Et-1])==="B"?"N":lt[Et-1];break;case"B":ur=!1,j=!0,dr=Cr;break;case"S":d=!0,dr="N"}return dr},kt=function(Fe,Me,lt){var Et=Fe.split("");return lt&&Ft(Et,lt,{hiLevel:Cr}),Et.reverse(),Me&&Me.reverse(),Et.join("")},Ft=function(Fe,Me,lt){var Et,fr,vr,Zt,Tt,dr=-1,Yt=Fe.length,wr=0,je=[],vt=Cr?ve:It,Nt=[];for(ur=!1,j=!1,d=!1,fr=0;fr<Yt;fr++)Nt[fr]=Qt(Fe[fr]);for(vr=0;vr<Yt;vr++){if(Tt=wr,je[vr]=we(Fe,Nt,je,vr),Et=240&(wr=vt[Tt][rt[je[vr]]]),wr&=15,Me[vr]=Zt=vt[wr][5],Et>0)if(Et===16){for(fr=dr;fr<vr;fr++)Me[fr]=1;dr=-1}else dr=-1;if(vt[wr][6])dr===-1&&(dr=vr);else if(dr>-1){for(fr=dr;fr<vr;fr++)Me[fr]=Zt;dr=-1}Nt[vr]==="B"&&(Me[vr]=0),lt.hiLevel|=Zt}d&&function(st,qt,nr){for(var Or=0;Or<nr;Or++)if(st[Or]==="S"){qt[Or]=Cr;for(var Ar=Or-1;Ar>=0&&st[Ar]==="WS";Ar--)qt[Ar]=Cr}}(Nt,Me,Yt)},Ot=function(Fe,Me,lt,Et,fr){if(!(fr.hiLevel<Fe)){if(Fe===1&&Cr===1&&!j)return Me.reverse(),void(lt&&lt.reverse());for(var vr,Zt,Tt,dr,Yt=Me.length,wr=0;wr<Yt;){if(Et[wr]>=Fe){for(Tt=wr+1;Tt<Yt&&Et[Tt]>=Fe;)Tt++;for(dr=wr,Zt=Tt-1;dr<Zt;dr++,Zt--)vr=Me[dr],Me[dr]=Me[Zt],Me[Zt]=vr,lt&&(vr=lt[dr],lt[dr]=lt[Zt],lt[Zt]=vr);wr=Tt}wr++}}},Jt=function(Fe,Me,lt){var Et=Fe.split(""),fr={hiLevel:Cr};return lt||(lt=[]),Ft(Et,lt,fr),function(vr,Zt,Tt){if(Tt.hiLevel!==0&&it)for(var dr,Yt=0;Yt<vr.length;Yt++)Zt[Yt]===1&&(dr=Kt.indexOf(vr[Yt]))>=0&&(vr[Yt]=Kt[dr+1])}(Et,lt,fr),Ot(2,Et,Me,lt,fr),Ot(1,Et,Me,lt,fr),Et.join("")};return this.__bidiEngine__.doBidiReorder=function(Fe,Me,lt){if(function(fr,vr){if(vr)for(var Zt=0;Zt<fr.length;Zt++)vr[Zt]=Zt;V===void 0&&(V=tt(fr)),Ae===void 0&&(Ae=tt(fr))}(Fe,Me),ne||!Q||Ae)if(ne&&Q&&V^Ae)Cr=V?1:0,Fe=kt(Fe,Me,lt);else if(!ne&&Q&&Ae)Cr=V?1:0,Fe=Jt(Fe,Me,lt),Fe=kt(Fe,Me);else if(!ne||V||Q||Ae){if(ne&&!Q&&V^Ae)Fe=kt(Fe,Me),V?(Cr=0,Fe=Jt(Fe,Me,lt)):(Cr=1,Fe=Jt(Fe,Me,lt),Fe=kt(Fe,Me));else if(ne&&V&&!Q&&Ae)Cr=1,Fe=Jt(Fe,Me,lt),Fe=kt(Fe,Me);else if(!ne&&!Q&&V^Ae){var Et=it;V?(Cr=1,Fe=Jt(Fe,Me,lt),Cr=0,it=!1,Fe=Jt(Fe,Me,lt),it=Et):(Cr=0,Fe=Jt(Fe,Me,lt),Fe=kt(Fe,Me),Cr=1,it=!1,Fe=Jt(Fe,Me,lt),it=Et,Fe=kt(Fe,Me))}}else Cr=0,Fe=Jt(Fe,Me,lt);else Cr=V?1:0,Fe=Jt(Fe,Me,lt);return Fe},this.__bidiEngine__.setOptions=function(Fe){Fe&&(ne=Fe.isInputVisual,Q=Fe.isOutputVisual,V=Fe.isInputRtl,Ae=Fe.isOutputRtl,it=Fe.isSymmetricSwapping)},this.__bidiEngine__.setOptions(b),this.__bidiEngine__};var s=["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"],p=new f.__bidiEngine__({isInputVisual:!0});f.API.events.push(["postProcessText",function(b){var j=b.text;b.x,b.y;var d=b.options||{};b.mutex,d.lang;var ne=[];if(d.isInputVisual=typeof d.isInputVisual!="boolean"||d.isInputVisual,p.setOptions(d),Object.prototype.toString.call(j)==="[object Array]"){var V=0;for(ne=[],V=0;V<j.length;V+=1)Object.prototype.toString.call(j[V])==="[object Array]"?ne.push([p.doBidiReorder(j[V][0]),j[V][1],j[V][2]]):ne.push([p.doBidiReorder(j[V])]);b.text=ne}else b.text=p.doBidiReorder(j);p.setOptions({isInputVisual:!0})}])}(R),R.API.TTFFont=function(){function f(s){var p;if(this.rawData=s,p=this.contents=new xn(s),this.contents.pos=4,p.readString(4)==="ttcf")throw new Error("TTCF not supported.");p.pos=0,this.parse(),this.subset=new oo(this),this.registerTTF()}return f.open=function(s){return new f(s)},f.prototype.parse=function(){return this.directory=new zn(this.contents),this.head=new $n(this),this.name=new Jn(this),this.cmap=new Ea(this),this.toUnicode={},this.hhea=new Rn(this),this.maxp=new On(this),this.hmtx=new Bn(this),this.post=new Kn(this),this.os2=new aa(this),this.loca=new ro(this),this.glyf=new Ca(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]},f.prototype.registerTTF=function(){var s,p,b,j,d;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ne,V,Q,Ae;for(Ae=[],ne=0,V=(Q=this.bbox).length;ne<V;ne++)s=Q[ne],Ae.push(Math.round(s*this.scaleFactor));return Ae}.call(this),this.stemV=0,this.post.exists?(b=255&(j=this.post.italic_angle),32768&(p=j>>16)&&(p=-(1+(65535^p))),this.italicAngle=+(p+"."+b)):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=(d=this.familyClass)===1||d===2||d===3||d===4||d===5||d===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},f.prototype.characterToGlyph=function(s){var p;return((p=this.cmap.unicode)!=null?p.codeMap[s]:void 0)||0},f.prototype.widthOfGlyph=function(s){var p;return p=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(s).advance*p},f.prototype.widthOfString=function(s,p,b){var j,d,ne,V;for(ne=0,d=0,V=(s=""+s).length;0<=V?d<V:d>V;d=0<=V?++d:--d)j=s.charCodeAt(d),ne+=this.widthOfGlyph(this.characterToGlyph(j))+b*(1e3/p)||0;return ne*(p/1e3)},f.prototype.lineHeight=function(s,p){var b;return p==null&&(p=!1),b=p?this.lineGap:0,(this.ascender+b-this.decender)/1e3*s},f}();var jn,xn=function(){function f(s){this.data=s!=null?s:[],this.pos=0,this.length=this.data.length}return f.prototype.readByte=function(){return this.data[this.pos++]},f.prototype.writeByte=function(s){return this.data[this.pos++]=s},f.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},f.prototype.writeUInt32=function(s){return this.writeByte(s>>>24&255),this.writeByte(s>>16&255),this.writeByte(s>>8&255),this.writeByte(255&s)},f.prototype.readInt32=function(){var s;return(s=this.readUInt32())>=2147483648?s-4294967296:s},f.prototype.writeInt32=function(s){return s<0&&(s+=4294967296),this.writeUInt32(s)},f.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},f.prototype.writeUInt16=function(s){return this.writeByte(s>>8&255),this.writeByte(255&s)},f.prototype.readInt16=function(){var s;return(s=this.readUInt16())>=32768?s-65536:s},f.prototype.writeInt16=function(s){return s<0&&(s+=65536),this.writeUInt16(s)},f.prototype.readString=function(s){var p,b;for(b=[],p=0;0<=s?p<s:p>s;p=0<=s?++p:--p)b[p]=String.fromCharCode(this.readByte());return b.join("")},f.prototype.writeString=function(s){var p,b,j;for(j=[],p=0,b=s.length;0<=b?p<b:p>b;p=0<=b?++p:--p)j.push(this.writeByte(s.charCodeAt(p)));return j},f.prototype.readShort=function(){return this.readInt16()},f.prototype.writeShort=function(s){return this.writeInt16(s)},f.prototype.readLongLong=function(){var s,p,b,j,d,ne,V,Q;return s=this.readByte(),p=this.readByte(),b=this.readByte(),j=this.readByte(),d=this.readByte(),ne=this.readByte(),V=this.readByte(),Q=this.readByte(),128&s?-1*(72057594037927940*(255^s)+281474976710656*(255^p)+1099511627776*(255^b)+4294967296*(255^j)+16777216*(255^d)+65536*(255^ne)+256*(255^V)+(255^Q)+1):72057594037927940*s+281474976710656*p+1099511627776*b+4294967296*j+16777216*d+65536*ne+256*V+Q},f.prototype.writeLongLong=function(s){var p,b;return p=Math.floor(s/4294967296),b=4294967295&s,this.writeByte(p>>24&255),this.writeByte(p>>16&255),this.writeByte(p>>8&255),this.writeByte(255&p),this.writeByte(b>>24&255),this.writeByte(b>>16&255),this.writeByte(b>>8&255),this.writeByte(255&b)},f.prototype.readInt=function(){return this.readInt32()},f.prototype.writeInt=function(s){return this.writeInt32(s)},f.prototype.read=function(s){var p,b;for(p=[],b=0;0<=s?b<s:b>s;b=0<=s?++b:--b)p.push(this.readByte());return p},f.prototype.write=function(s){var p,b,j,d;for(d=[],b=0,j=s.length;b<j;b++)p=s[b],d.push(this.writeByte(p));return d},f}(),zn=function(){var f;function s(p){var b,j,d;for(this.scalarType=p.readInt(),this.tableCount=p.readShort(),this.searchRange=p.readShort(),this.entrySelector=p.readShort(),this.rangeShift=p.readShort(),this.tables={},j=0,d=this.tableCount;0<=d?j<d:j>d;j=0<=d?++j:--j)b={tag:p.readString(4),checksum:p.readInt(),offset:p.readInt(),length:p.readInt()},this.tables[b.tag]=b}return s.prototype.encode=function(p){var b,j,d,ne,V,Q,Ae,it,Pt,It,ve,rt,gt;for(gt in ve=Object.keys(p).length,Q=Math.log(2),Pt=16*Math.floor(Math.log(ve)/Q),ne=Math.floor(Pt/Q),it=16*ve-Pt,(j=new xn).writeInt(this.scalarType),j.writeShort(ve),j.writeShort(Pt),j.writeShort(ne),j.writeShort(it),d=16*ve,Ae=j.pos+d,V=null,rt=[],p)for(It=p[gt],j.writeString(gt),j.writeInt(f(It)),j.writeInt(Ae),j.writeInt(It.length),rt=rt.concat(It),gt==="head"&&(V=Ae),Ae+=It.length;Ae%4;)rt.push(0),Ae++;return j.write(rt),b=2981146554-f(j.data),j.pos=V+8,j.writeUInt32(b),j.data},f=function(p){var b,j,d,ne;for(p=Yn.call(p);p.length%4;)p.push(0);for(d=new xn(p),j=0,b=0,ne=p.length;b<ne;b=b+=4)j+=d.readUInt32();return 4294967295&j},s}(),ua={}.hasOwnProperty,nn=function(f,s){for(var p in s)ua.call(s,p)&&(f[p]=s[p]);function b(){this.constructor=f}return b.prototype=s.prototype,f.prototype=new b,f.__super__=s.prototype,f};jn=function(){function f(s){var p;this.file=s,p=this.file.directory.tables[this.tag],this.exists=!!p,p&&(this.offset=p.offset,this.length=p.length,this.parse(this.file.contents))}return f.prototype.parse=function(){},f.prototype.encode=function(){},f.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},f}();var $n=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="head",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.revision=s.readInt(),this.checkSumAdjustment=s.readInt(),this.magicNumber=s.readInt(),this.flags=s.readShort(),this.unitsPerEm=s.readShort(),this.created=s.readLongLong(),this.modified=s.readLongLong(),this.xMin=s.readShort(),this.yMin=s.readShort(),this.xMax=s.readShort(),this.yMax=s.readShort(),this.macStyle=s.readShort(),this.lowestRecPPEM=s.readShort(),this.fontDirectionHint=s.readShort(),this.indexToLocFormat=s.readShort(),this.glyphDataFormat=s.readShort()},f.prototype.encode=function(s){var p;return(p=new xn).writeInt(this.version),p.writeInt(this.revision),p.writeInt(this.checkSumAdjustment),p.writeInt(this.magicNumber),p.writeShort(this.flags),p.writeShort(this.unitsPerEm),p.writeLongLong(this.created),p.writeLongLong(this.modified),p.writeShort(this.xMin),p.writeShort(this.yMin),p.writeShort(this.xMax),p.writeShort(this.yMax),p.writeShort(this.macStyle),p.writeShort(this.lowestRecPPEM),p.writeShort(this.fontDirectionHint),p.writeShort(s),p.writeShort(this.glyphDataFormat),p.data},f}(),kn=function(){function f(s,p){var b,j,d,ne,V,Q,Ae,it,Pt,It,ve,rt,gt,Kt,ct,ur,Cr;switch(this.platformID=s.readUInt16(),this.encodingID=s.readShort(),this.offset=p+s.readInt(),Pt=s.pos,s.pos=this.offset,this.format=s.readUInt16(),this.length=s.readUInt16(),this.language=s.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(Q=0;Q<256;++Q)this.codeMap[Q]=s.readByte();break;case 4:for(ve=s.readUInt16(),It=ve/2,s.pos+=6,d=function(){var Qt,tt;for(tt=[],Q=Qt=0;0<=It?Qt<It:Qt>It;Q=0<=It?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),s.pos+=2,gt=function(){var Qt,tt;for(tt=[],Q=Qt=0;0<=It?Qt<It:Qt>It;Q=0<=It?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),Ae=function(){var Qt,tt;for(tt=[],Q=Qt=0;0<=It?Qt<It:Qt>It;Q=0<=It?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),it=function(){var Qt,tt;for(tt=[],Q=Qt=0;0<=It?Qt<It:Qt>It;Q=0<=It?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),j=(this.length-s.pos+this.offset)/2,V=function(){var Qt,tt;for(tt=[],Q=Qt=0;0<=j?Qt<j:Qt>j;Q=0<=j?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),Q=ct=0,Cr=d.length;ct<Cr;Q=++ct)for(Kt=d[Q],b=ur=rt=gt[Q];rt<=Kt?ur<=Kt:ur>=Kt;b=rt<=Kt?++ur:--ur)it[Q]===0?ne=b+Ae[Q]:(ne=V[it[Q]/2+(b-rt)-(It-Q)]||0)!==0&&(ne+=Ae[Q]),this.codeMap[b]=65535&ne}s.pos=Pt}return f.encode=function(s,p){var b,j,d,ne,V,Q,Ae,it,Pt,It,ve,rt,gt,Kt,ct,ur,Cr,Qt,tt,we,kt,Ft,Ot,Jt,Fe,Me,lt,Et,fr,vr,Zt,Tt,dr,Yt,wr,je,vt,Nt,st,qt,nr,Or,Ar,Rr,Hr,cn;switch(Et=new xn,ne=Object.keys(s).sort(function(wn,Lr){return wn-Lr}),p){case"macroman":for(gt=0,Kt=function(){var wn=[];for(rt=0;rt<256;++rt)wn.push(0);return wn}(),ur={0:0},d={},fr=0,dr=ne.length;fr<dr;fr++)ur[Ar=s[j=ne[fr]]]==null&&(ur[Ar]=++gt),d[j]={old:s[j],new:ur[s[j]]},Kt[j]=ur[s[j]];return Et.writeUInt16(1),Et.writeUInt16(0),Et.writeUInt32(12),Et.writeUInt16(0),Et.writeUInt16(262),Et.writeUInt16(0),Et.write(Kt),{charMap:d,subtable:Et.data,maxGlyphID:gt+1};case"unicode":for(Me=[],Pt=[],Cr=0,ur={},b={},ct=Ae=null,vr=0,Yt=ne.length;vr<Yt;vr++)ur[tt=s[j=ne[vr]]]==null&&(ur[tt]=++Cr),b[j]={old:tt,new:ur[tt]},V=ur[tt]-j,ct!=null&&V===Ae||(ct&&Pt.push(ct),Me.push(j),Ae=V),ct=j;for(ct&&Pt.push(ct),Pt.push(65535),Me.push(65535),Jt=2*(Ot=Me.length),Ft=2*Math.pow(Math.log(Ot)/Math.LN2,2),It=Math.log(Ft/2)/Math.LN2,kt=2*Ot-Ft,Q=[],we=[],ve=[],rt=Zt=0,wr=Me.length;Zt<wr;rt=++Zt){if(Fe=Me[rt],it=Pt[rt],Fe===65535){Q.push(0),we.push(0);break}if(Fe-(lt=b[Fe].new)>=32768)for(Q.push(0),we.push(2*(ve.length+Ot-rt)),j=Tt=Fe;Fe<=it?Tt<=it:Tt>=it;j=Fe<=it?++Tt:--Tt)ve.push(b[j].new);else Q.push(lt-Fe),we.push(0)}for(Et.writeUInt16(3),Et.writeUInt16(1),Et.writeUInt32(12),Et.writeUInt16(4),Et.writeUInt16(16+8*Ot+2*ve.length),Et.writeUInt16(0),Et.writeUInt16(Jt),Et.writeUInt16(Ft),Et.writeUInt16(It),Et.writeUInt16(kt),nr=0,je=Pt.length;nr<je;nr++)j=Pt[nr],Et.writeUInt16(j);for(Et.writeUInt16(0),Or=0,vt=Me.length;Or<vt;Or++)j=Me[Or],Et.writeUInt16(j);for(Rr=0,Nt=Q.length;Rr<Nt;Rr++)V=Q[Rr],Et.writeUInt16(V);for(Hr=0,st=we.length;Hr<st;Hr++)Qt=we[Hr],Et.writeUInt16(Qt);for(cn=0,qt=ve.length;cn<qt;cn++)gt=ve[cn],Et.writeUInt16(gt);return{charMap:b,subtable:Et.data,maxGlyphID:Cr+1}}},f}(),Ea=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="cmap",f.prototype.parse=function(s){var p,b,j;for(s.pos=this.offset,this.version=s.readUInt16(),j=s.readUInt16(),this.tables=[],this.unicode=null,b=0;0<=j?b<j:b>j;b=0<=j?++b:--b)p=new kn(s,this.offset),this.tables.push(p),p.isUnicode&&this.unicode==null&&(this.unicode=p);return!0},f.encode=function(s,p){var b,j;return p==null&&(p="macroman"),b=kn.encode(s,p),(j=new xn).writeUInt16(0),j.writeUInt16(1),b.table=j.data.concat(b.subtable),b},f}(),Rn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="hhea",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.ascender=s.readShort(),this.decender=s.readShort(),this.lineGap=s.readShort(),this.advanceWidthMax=s.readShort(),this.minLeftSideBearing=s.readShort(),this.minRightSideBearing=s.readShort(),this.xMaxExtent=s.readShort(),this.caretSlopeRise=s.readShort(),this.caretSlopeRun=s.readShort(),this.caretOffset=s.readShort(),s.pos+=8,this.metricDataFormat=s.readShort(),this.numberOfMetrics=s.readUInt16()},f}(),aa=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="OS/2",f.prototype.parse=function(s){if(s.pos=this.offset,this.version=s.readUInt16(),this.averageCharWidth=s.readShort(),this.weightClass=s.readUInt16(),this.widthClass=s.readUInt16(),this.type=s.readShort(),this.ySubscriptXSize=s.readShort(),this.ySubscriptYSize=s.readShort(),this.ySubscriptXOffset=s.readShort(),this.ySubscriptYOffset=s.readShort(),this.ySuperscriptXSize=s.readShort(),this.ySuperscriptYSize=s.readShort(),this.ySuperscriptXOffset=s.readShort(),this.ySuperscriptYOffset=s.readShort(),this.yStrikeoutSize=s.readShort(),this.yStrikeoutPosition=s.readShort(),this.familyClass=s.readShort(),this.panose=function(){var p,b;for(b=[],p=0;p<10;++p)b.push(s.readByte());return b}(),this.charRange=function(){var p,b;for(b=[],p=0;p<4;++p)b.push(s.readInt());return b}(),this.vendorID=s.readString(4),this.selection=s.readShort(),this.firstCharIndex=s.readShort(),this.lastCharIndex=s.readShort(),this.version>0&&(this.ascent=s.readShort(),this.descent=s.readShort(),this.lineGap=s.readShort(),this.winAscent=s.readShort(),this.winDescent=s.readShort(),this.codePageRange=function(){var p,b;for(b=[],p=0;p<2;p=++p)b.push(s.readInt());return b}(),this.version>1))return this.xHeight=s.readShort(),this.capHeight=s.readShort(),this.defaultChar=s.readShort(),this.breakChar=s.readShort(),this.maxContext=s.readShort()},f}(),Kn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="post",f.prototype.parse=function(s){var p,b,j;switch(s.pos=this.offset,this.format=s.readInt(),this.italicAngle=s.readInt(),this.underlinePosition=s.readShort(),this.underlineThickness=s.readShort(),this.isFixedPitch=s.readInt(),this.minMemType42=s.readInt(),this.maxMemType42=s.readInt(),this.minMemType1=s.readInt(),this.maxMemType1=s.readInt(),this.format){case 65536:case 196608:break;case 131072:var d;for(b=s.readUInt16(),this.glyphNameIndex=[],d=0;0<=b?d<b:d>b;d=0<=b?++d:--d)this.glyphNameIndex.push(s.readUInt16());for(this.names=[],j=[];s.pos<this.offset+this.length;)p=s.readByte(),j.push(this.names.push(s.readString(p)));return j;case 151552:return b=s.readUInt16(),this.offsets=s.read(b);case 262144:return this.map=function(){var ne,V,Q;for(Q=[],d=ne=0,V=this.file.maxp.numGlyphs;0<=V?ne<V:ne>V;d=0<=V?++ne:--ne)Q.push(s.readUInt32());return Q}.call(this)}},f}(),Zn=function(f,s){this.raw=f,this.length=f.length,this.platformID=s.platformID,this.encodingID=s.encodingID,this.languageID=s.languageID},Jn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="name",f.prototype.parse=function(s){var p,b,j,d,ne,V,Q,Ae,it,Pt,It;for(s.pos=this.offset,s.readShort(),p=s.readShort(),V=s.readShort(),b=[],d=0;0<=p?d<p:d>p;d=0<=p?++d:--d)b.push({platformID:s.readShort(),encodingID:s.readShort(),languageID:s.readShort(),nameID:s.readShort(),length:s.readShort(),offset:this.offset+V+s.readShort()});for(Q={},d=it=0,Pt=b.length;it<Pt;d=++it)j=b[d],s.pos=j.offset,Ae=s.readString(j.length),ne=new Zn(Ae,j),Q[It=j.nameID]==null&&(Q[It]=[]),Q[j.nameID].push(ne);this.strings=Q,this.copyright=Q[0],this.fontFamily=Q[1],this.fontSubfamily=Q[2],this.uniqueSubfamily=Q[3],this.fontName=Q[4],this.version=Q[5];try{this.postscriptName=Q[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ve){this.postscriptName=Q[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=Q[7],this.manufacturer=Q[8],this.designer=Q[9],this.description=Q[10],this.vendorUrl=Q[11],this.designerUrl=Q[12],this.license=Q[13],this.licenseUrl=Q[14],this.preferredFamily=Q[15],this.preferredSubfamily=Q[17],this.compatibleFull=Q[18],this.sampleText=Q[19]},f}(),On=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="maxp",f.prototype.parse=function(s){return s.pos=this.offset,this.version=s.readInt(),this.numGlyphs=s.readUInt16(),this.maxPoints=s.readUInt16(),this.maxContours=s.readUInt16(),this.maxCompositePoints=s.readUInt16(),this.maxComponentContours=s.readUInt16(),this.maxZones=s.readUInt16(),this.maxTwilightPoints=s.readUInt16(),this.maxStorage=s.readUInt16(),this.maxFunctionDefs=s.readUInt16(),this.maxInstructionDefs=s.readUInt16(),this.maxStackElements=s.readUInt16(),this.maxSizeOfInstructions=s.readUInt16(),this.maxComponentElements=s.readUInt16(),this.maxComponentDepth=s.readUInt16()},f}(),Bn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="hmtx",f.prototype.parse=function(s){var p,b,j,d,ne,V,Q;for(s.pos=this.offset,this.metrics=[],p=0,V=this.file.hhea.numberOfMetrics;0<=V?p<V:p>V;p=0<=V?++p:--p)this.metrics.push({advance:s.readUInt16(),lsb:s.readInt16()});for(j=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ae,it;for(it=[],p=Ae=0;0<=j?Ae<j:Ae>j;p=0<=j?++Ae:--Ae)it.push(s.readInt16());return it}(),this.widths=function(){var Ae,it,Pt,It;for(It=[],Ae=0,it=(Pt=this.metrics).length;Ae<it;Ae++)d=Pt[Ae],It.push(d.advance);return It}.call(this),b=this.widths[this.widths.length-1],Q=[],p=ne=0;0<=j?ne<j:ne>j;p=0<=j?++ne:--ne)Q.push(this.widths.push(b));return Q},f.prototype.forGlyph=function(s){return s in this.metrics?this.metrics[s]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[s-this.metrics.length]}},f}(),Yn=[].slice,Ca=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="glyf",f.prototype.parse=function(){return this.cache={}},f.prototype.glyphFor=function(s){var p,b,j,d,ne,V,Q,Ae,it,Pt;return s in this.cache?this.cache[s]:(d=this.file.loca,p=this.file.contents,b=d.indexOf(s),(j=d.lengthOf(s))===0?this.cache[s]=null:(p.pos=this.offset+b,ne=(V=new xn(p.read(j))).readShort(),Ae=V.readShort(),Pt=V.readShort(),Q=V.readShort(),it=V.readShort(),this.cache[s]=ne===-1?new ao(V,Ae,Pt,Q,it):new Ma(V,ne,Ae,Pt,Q,it),this.cache[s]))},f.prototype.encode=function(s,p,b){var j,d,ne,V,Q;for(ne=[],d=[],V=0,Q=p.length;V<Q;V++)j=s[p[V]],d.push(ne.length),j&&(ne=ne.concat(j.encode(b)));return d.push(ne.length),{table:ne,offsets:d}},f}(),Ma=function(){function f(s,p,b,j,d,ne){this.raw=s,this.numberOfContours=p,this.xMin=b,this.yMin=j,this.xMax=d,this.yMax=ne,this.compound=!1}return f.prototype.encode=function(){return this.raw.data},f}(),ao=function(){function f(s,p,b,j,d){var ne,V;for(this.raw=s,this.xMin=p,this.yMin=b,this.xMax=j,this.yMax=d,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ne=this.raw;V=ne.readShort(),this.glyphOffsets.push(ne.pos),this.glyphIDs.push(ne.readUInt16()),32&V;)ne.pos+=1&V?4:2,128&V?ne.pos+=8:64&V?ne.pos+=4:8&V&&(ne.pos+=2)}return f.prototype.encode=function(){var s,p,b;for(p=new xn(Yn.call(this.raw.data)),s=0,b=this.glyphIDs.length;s<b;++s)p.pos=this.glyphOffsets[s];return p.data},f}(),ro=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return nn(f,jn),f.prototype.tag="loca",f.prototype.parse=function(s){var p,b;return s.pos=this.offset,p=this.file.head.indexToLocFormat,this.offsets=p===0?function(){var j,d;for(d=[],b=0,j=this.length;b<j;b+=2)d.push(2*s.readUInt16());return d}.call(this):function(){var j,d;for(d=[],b=0,j=this.length;b<j;b+=4)d.push(s.readUInt32());return d}.call(this)},f.prototype.indexOf=function(s){return this.offsets[s]},f.prototype.lengthOf=function(s){return this.offsets[s+1]-this.offsets[s]},f.prototype.encode=function(s,p){for(var b=new Uint32Array(this.offsets.length),j=0,d=0,ne=0;ne<b.length;++ne)if(b[ne]=j,d<p.length&&p[d]==ne){++d,b[ne]=j;var V=this.offsets[ne],Q=this.offsets[ne+1]-V;Q>0&&(j+=Q)}for(var Ae=new Array(4*b.length),it=0;it<b.length;++it)Ae[4*it+3]=255&b[it],Ae[4*it+2]=(65280&b[it])>>8,Ae[4*it+1]=(16711680&b[it])>>16,Ae[4*it]=(4278190080&b[it])>>24;return Ae},f}(),oo=function(){function f(s){this.font=s,this.subset={},this.unicodes={},this.next=33}return f.prototype.generateCmap=function(){var s,p,b,j,d;for(p in j=this.font.cmap.tables[0].codeMap,s={},d=this.subset)b=d[p],s[p]=j[b];return s},f.prototype.glyphsFor=function(s){var p,b,j,d,ne,V,Q;for(j={},ne=0,V=s.length;ne<V;ne++)j[d=s[ne]]=this.font.glyf.glyphFor(d);for(d in p=[],j)(b=j[d])!=null&&b.compound&&p.push.apply(p,b.glyphIDs);if(p.length>0)for(d in Q=this.glyphsFor(p))b=Q[d],j[d]=b;return j},f.prototype.encode=function(s,p){var b,j,d,ne,V,Q,Ae,it,Pt,It,ve,rt,gt,Kt,ct;for(j in b=Ea.encode(this.generateCmap(),"unicode"),ne=this.glyphsFor(s),ve={0:0},ct=b.charMap)ve[(Q=ct[j]).old]=Q.new;for(rt in It=b.maxGlyphID,ne)rt in ve||(ve[rt]=It++);return it=function(ur){var Cr,Qt;for(Cr in Qt={},ur)Qt[ur[Cr]]=Cr;return Qt}(ve),Pt=Object.keys(it).sort(function(ur,Cr){return ur-Cr}),gt=function(){var ur,Cr,Qt;for(Qt=[],ur=0,Cr=Pt.length;ur<Cr;ur++)V=Pt[ur],Qt.push(it[V]);return Qt}(),d=this.font.glyf.encode(ne,gt,ve),Ae=this.font.loca.encode(d.offsets,gt),Kt={cmap:this.font.cmap.raw(),glyf:d.table,loca:Ae,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(p)},this.font.os2.exists&&(Kt["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Kt)},f}();R.API.PDFObject=function(){var f;function s(){}return f=function(p,b){return(Array(b+1).join("0")+p).slice(-b)},s.convert=function(p){var b,j,d,ne;if(Array.isArray(p))return"["+function(){var V,Q,Ae;for(Ae=[],V=0,Q=p.length;V<Q;V++)b=p[V],Ae.push(s.convert(b));return Ae}().join(" ")+"]";if(typeof p=="string")return"/"+p;if(p!=null&&p.isString)return"("+p+")";if(p instanceof Date)return"(D:"+f(p.getUTCFullYear(),4)+f(p.getUTCMonth(),2)+f(p.getUTCDate(),2)+f(p.getUTCHours(),2)+f(p.getUTCMinutes(),2)+f(p.getUTCSeconds(),2)+"Z)";if({}.toString.call(p)==="[object Object]"){for(j in d=["<<"],p)ne=p[j],d.push("/"+j+" "+s.convert(ne));return d.push(">>"),d.join(`
`)}return""+p},s}()},86129:function(Qr,_t,n){var o=n(19208).lW,Xe=n(97671);(function(B){Qr.exports=B()})(function(){return function B(De,q,ee){function Y(c,L){if(!q[c]){if(!De[c]){var D=void 0;if(!L&&D)return require(c,!0);if(x)return x(c,!0);var U=new Error("Cannot find module '"+c+"'");throw U.code="MODULE_NOT_FOUND",U}var F=q[c]={exports:{}};De[c][0].call(F.exports,function(_){var I=De[c][1][_];return Y(I||_)},F,F.exports,B,De,q,ee)}return q[c].exports}for(var x=void 0,Z=0;Z<ee.length;Z++)Y(ee[Z]);return Y}({1:[function(B,De,q){"use strict";var ee=B("./utils"),Y=B("./support"),x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";q.encode=function(Z){for(var c,L,D,U,F,_,I,z=[],O=0,A=Z.length,oe=A,J=ee.getTypeOf(Z)!=="string";O<Z.length;)oe=A-O,D=J?(c=Z[O++],L=O<A?Z[O++]:0,O<A?Z[O++]:0):(c=Z.charCodeAt(O++),L=O<A?Z.charCodeAt(O++):0,O<A?Z.charCodeAt(O++):0),U=c>>2,F=(3&c)<<4|L>>4,_=1<oe?(15&L)<<2|D>>6:64,I=2<oe?63&D:64,z.push(x.charAt(U)+x.charAt(F)+x.charAt(_)+x.charAt(I));return z.join("")},q.decode=function(Z){var c,L,D,U,F,_,I=0,z=0,O="data:";if(Z.substr(0,O.length)===O)throw new Error("Invalid base64 input, it looks like a data url.");var A,oe=3*(Z=Z.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(Z.charAt(Z.length-1)===x.charAt(64)&&oe--,Z.charAt(Z.length-2)===x.charAt(64)&&oe--,oe%1!=0)throw new Error("Invalid base64 input, bad content length.");for(A=Y.uint8array?new Uint8Array(0|oe):new Array(0|oe);I<Z.length;)c=x.indexOf(Z.charAt(I++))<<2|(U=x.indexOf(Z.charAt(I++)))>>4,L=(15&U)<<4|(F=x.indexOf(Z.charAt(I++)))>>2,D=(3&F)<<6|(_=x.indexOf(Z.charAt(I++))),A[z++]=c,F!==64&&(A[z++]=L),_!==64&&(A[z++]=D);return A}},{"./support":30,"./utils":32}],2:[function(B,De,q){"use strict";var ee=B("./external"),Y=B("./stream/DataWorker"),x=B("./stream/Crc32Probe"),Z=B("./stream/DataLengthProbe");function c(L,D,U,F,_){this.compressedSize=L,this.uncompressedSize=D,this.crc32=U,this.compression=F,this.compressedContent=_}c.prototype={getContentWorker:function(){var L=new Y(ee.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new Z("data_length")),D=this;return L.on("end",function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),L},getCompressedWorker:function(){return new Y(ee.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(L,D,U){return L.pipe(new x).pipe(new Z("uncompressedSize")).pipe(D.compressWorker(U)).pipe(new Z("compressedSize")).withStreamInfo("compression",D)},De.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(B,De,q){"use strict";var ee=B("./stream/GenericWorker");q.STORE={magic:"\0\0",compressWorker:function(){return new ee("STORE compression")},uncompressWorker:function(){return new ee("STORE decompression")}},q.DEFLATE=B("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(B,De,q){"use strict";var ee=B("./utils"),Y=function(){for(var x,Z=[],c=0;c<256;c++){x=c;for(var L=0;L<8;L++)x=1&x?3988292384^x>>>1:x>>>1;Z[c]=x}return Z}();De.exports=function(x,Z){return x!==void 0&&x.length?ee.getTypeOf(x)!=="string"?function(c,L,D,U){var F=Y,_=U+D;c^=-1;for(var I=U;I<_;I++)c=c>>>8^F[255&(c^L[I])];return-1^c}(0|Z,x,x.length,0):function(c,L,D,U){var F=Y,_=U+D;c^=-1;for(var I=U;I<_;I++)c=c>>>8^F[255&(c^L.charCodeAt(I))];return-1^c}(0|Z,x,x.length,0):0}},{"./utils":32}],5:[function(B,De,q){"use strict";q.base64=!1,q.binary=!1,q.dir=!1,q.createFolders=!0,q.date=null,q.compression=null,q.compressionOptions=null,q.comment=null,q.unixPermissions=null,q.dosPermissions=null},{}],6:[function(B,De,q){"use strict";var ee=null;ee=typeof Promise!="undefined"?Promise:B("lie"),De.exports={Promise:ee}},{lie:37}],7:[function(B,De,q){"use strict";var ee=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",Y=B("pako"),x=B("./utils"),Z=B("./stream/GenericWorker"),c=ee?"uint8array":"array";function L(D,U){Z.call(this,"FlateWorker/"+D),this._pako=null,this._pakoAction=D,this._pakoOptions=U,this.meta={}}q.magic="\b\0",x.inherits(L,Z),L.prototype.processChunk=function(D){this.meta=D.meta,this._pako===null&&this._createPako(),this._pako.push(x.transformTo(c,D.data),!1)},L.prototype.flush=function(){Z.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},L.prototype.cleanUp=function(){Z.prototype.cleanUp.call(this),this._pako=null},L.prototype._createPako=function(){this._pako=new Y[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(U){D.push({data:U,meta:D.meta})}},q.compressWorker=function(D){return new L("Deflate",D)},q.uncompressWorker=function(){return new L("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(B,De,q){"use strict";function ee(F,_){var I,z="";for(I=0;I<_;I++)z+=String.fromCharCode(255&F),F>>>=8;return z}function Y(F,_,I,z,O,A){var oe,J,te=F.file,Ee=F.compression,Pe=A!==c.utf8encode,et=x.transformTo("string",A(te.name)),ke=x.transformTo("string",c.utf8encode(te.name)),xe=te.comment,Ce=x.transformTo("string",A(xe)),se=x.transformTo("string",c.utf8encode(xe)),Se=ke.length!==te.name.length,T=se.length!==xe.length,P="",nt="",de="",ce=te.dir,y=te.date,K={crc32:0,compressedSize:0,uncompressedSize:0};_&&!I||(K.crc32=F.crc32,K.compressedSize=F.compressedSize,K.uncompressedSize=F.uncompressedSize);var R=0;_&&(R|=8),Pe||!Se&&!T||(R|=2048);var S=0,X=0;ce&&(S|=16),O==="UNIX"?(X=798,S|=function(pe,Ze){var ot=pe;return pe||(ot=Ze?16893:33204),(65535&ot)<<16}(te.unixPermissions,ce)):(X=20,S|=function(pe){return 63&(pe||0)}(te.dosPermissions)),oe=y.getUTCHours(),oe<<=6,oe|=y.getUTCMinutes(),oe<<=5,oe|=y.getUTCSeconds()/2,J=y.getUTCFullYear()-1980,J<<=4,J|=y.getUTCMonth()+1,J<<=5,J|=y.getUTCDate(),Se&&(nt=ee(1,1)+ee(L(et),4)+ke,P+="up"+ee(nt.length,2)+nt),T&&(de=ee(1,1)+ee(L(Ce),4)+se,P+="uc"+ee(de.length,2)+de);var He="";return He+=`
\0`,He+=ee(R,2),He+=Ee.magic,He+=ee(oe,2),He+=ee(J,2),He+=ee(K.crc32,4),He+=ee(K.compressedSize,4),He+=ee(K.uncompressedSize,4),He+=ee(et.length,2),He+=ee(P.length,2),{fileRecord:D.LOCAL_FILE_HEADER+He+et+P,dirRecord:D.CENTRAL_FILE_HEADER+ee(X,2)+He+ee(Ce.length,2)+"\0\0\0\0"+ee(S,4)+ee(z,4)+et+P+Ce}}var x=B("../utils"),Z=B("../stream/GenericWorker"),c=B("../utf8"),L=B("../crc32"),D=B("../signature");function U(F,_,I,z){Z.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=I,this.encodeFileName=z,this.streamFiles=F,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}x.inherits(U,Z),U.prototype.push=function(F){var _=F.meta.percent||0,I=this.entriesCount,z=this._sources.length;this.accumulate?this.contentBuffer.push(F):(this.bytesWritten+=F.data.length,Z.prototype.push.call(this,{data:F.data,meta:{currentFile:this.currentFile,percent:I?(_+100*(I-z-1))/I:100}}))},U.prototype.openedSource=function(F){this.currentSourceOffset=this.bytesWritten,this.currentFile=F.file.name;var _=this.streamFiles&&!F.file.dir;if(_){var I=Y(F,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:I.fileRecord,meta:{percent:0}})}else this.accumulate=!0},U.prototype.closedSource=function(F){this.accumulate=!1;var _=this.streamFiles&&!F.file.dir,I=Y(F,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(I.dirRecord),_)this.push({data:function(z){return D.DATA_DESCRIPTOR+ee(z.crc32,4)+ee(z.compressedSize,4)+ee(z.uncompressedSize,4)}(F),meta:{percent:100}});else for(this.push({data:I.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},U.prototype.flush=function(){for(var F=this.bytesWritten,_=0;_<this.dirRecords.length;_++)this.push({data:this.dirRecords[_],meta:{percent:100}});var I=this.bytesWritten-F,z=function(O,A,oe,J,te){var Ee=x.transformTo("string",te(J));return D.CENTRAL_DIRECTORY_END+"\0\0\0\0"+ee(O,2)+ee(O,2)+ee(A,4)+ee(oe,4)+ee(Ee.length,2)+Ee}(this.dirRecords.length,I,F,this.zipComment,this.encodeFileName);this.push({data:z,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(F){this._sources.push(F);var _=this;return F.on("data",function(I){_.processChunk(I)}),F.on("end",function(){_.closedSource(_.previous.streamInfo),_._sources.length?_.prepareNextSource():_.end()}),F.on("error",function(I){_.error(I)}),this},U.prototype.resume=function(){return!!Z.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(F){var _=this._sources;if(!Z.prototype.error.call(this,F))return!1;for(var I=0;I<_.length;I++)try{_[I].error(F)}catch(z){}return!0},U.prototype.lock=function(){Z.prototype.lock.call(this);for(var F=this._sources,_=0;_<F.length;_++)F[_].lock()},De.exports=U},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(B,De,q){"use strict";var ee=B("../compressions"),Y=B("./ZipFileWorker");q.generateWorker=function(x,Z,c){var L=new Y(Z.streamFiles,c,Z.platform,Z.encodeFileName),D=0;try{x.forEach(function(U,F){D++;var _=function(A,oe){var J=A||oe,te=ee[J];if(!te)throw new Error(J+" is not a valid compression method !");return te}(F.options.compression,Z.compression),I=F.options.compressionOptions||Z.compressionOptions||{},z=F.dir,O=F.date;F._compressWorker(_,I).withStreamInfo("file",{name:U,dir:z,date:O,comment:F.comment||"",unixPermissions:F.unixPermissions,dosPermissions:F.dosPermissions}).pipe(L)}),L.entriesCount=D}catch(U){L.error(U)}return L}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(B,De,q){"use strict";function ee(){if(!(this instanceof ee))return new ee;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 Y=new ee;for(var x in this)typeof this[x]!="function"&&(Y[x]=this[x]);return Y}}(ee.prototype=B("./object")).loadAsync=B("./load"),ee.support=B("./support"),ee.defaults=B("./defaults"),ee.version="3.10.1",ee.loadAsync=function(Y,x){return new ee().loadAsync(Y,x)},ee.external=B("./external"),De.exports=ee},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(B,De,q){"use strict";var ee=B("./utils"),Y=B("./external"),x=B("./utf8"),Z=B("./zipEntries"),c=B("./stream/Crc32Probe"),L=B("./nodejsUtils");function D(U){return new Y.Promise(function(F,_){var I=U.decompressed.getContentWorker().pipe(new c);I.on("error",function(z){_(z)}).on("end",function(){I.streamInfo.crc32!==U.decompressed.crc32?_(new Error("Corrupted zip : CRC32 mismatch")):F()}).resume()})}De.exports=function(U,F){var _=this;return F=ee.extend(F||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:x.utf8decode}),L.isNode&&L.isStream(U)?Y.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):ee.prepareContent("the loaded zip file",U,!0,F.optimizedBinaryString,F.base64).then(function(I){var z=new Z(F);return z.load(I),z}).then(function(I){var z=[Y.Promise.resolve(I)],O=I.files;if(F.checkCRC32)for(var A=0;A<O.length;A++)z.push(D(O[A]));return Y.Promise.all(z)}).then(function(I){for(var z=I.shift(),O=z.files,A=0;A<O.length;A++){var oe=O[A],J=oe.fileNameStr,te=ee.resolve(oe.fileNameStr);_.file(te,oe.decompressed,{binary:!0,optimizedBinaryString:!0,date:oe.date,dir:oe.dir,comment:oe.fileCommentStr.length?oe.fileCommentStr:null,unixPermissions:oe.unixPermissions,dosPermissions:oe.dosPermissions,createFolders:F.createFolders}),oe.dir||(_.file(te).unsafeOriginalName=J)}return z.zipComment.length&&(_.comment=z.zipComment),_})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(B,De,q){"use strict";var ee=B("../utils"),Y=B("../stream/GenericWorker");function x(Z,c){Y.call(this,"Nodejs stream input adapter for "+Z),this._upstreamEnded=!1,this._bindStream(c)}ee.inherits(x,Y),x.prototype._bindStream=function(Z){var c=this;(this._stream=Z).pause(),Z.on("data",function(L){c.push({data:L,meta:{percent:0}})}).on("error",function(L){c.isPaused?this.generatedError=L:c.error(L)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},x.prototype.pause=function(){return!!Y.prototype.pause.call(this)&&(this._stream.pause(),!0)},x.prototype.resume=function(){return!!Y.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},De.exports=x},{"../stream/GenericWorker":28,"../utils":32}],13:[function(B,De,q){"use strict";var ee=B("readable-stream").Readable;function Y(x,Z,c){ee.call(this,Z),this._helper=x;var L=this;x.on("data",function(D,U){L.push(D)||L._helper.pause(),c&&c(U)}).on("error",function(D){L.emit("error",D)}).on("end",function(){L.push(null)})}B("../utils").inherits(Y,ee),Y.prototype._read=function(){this._helper.resume()},De.exports=Y},{"../utils":32,"readable-stream":16}],14:[function(B,De,q){"use strict";De.exports={isNode:typeof o!="undefined",newBufferFrom:function(ee,Y){if(o.from&&o.from!==Uint8Array.from)return o.from(ee,Y);if(typeof ee=="number")throw new Error('The "data" argument must not be a number');return new o(ee,Y)},allocBuffer:function(ee){if(o.alloc)return o.alloc(ee);var Y=new o(ee);return Y.fill(0),Y},isBuffer:function(ee){return o.isBuffer(ee)},isStream:function(ee){return ee&&typeof ee.on=="function"&&typeof ee.pause=="function"&&typeof ee.resume=="function"}}},{}],15:[function(B,De,q){"use strict";function ee(te,Ee,Pe){var et,ke=x.getTypeOf(Ee),xe=x.extend(Pe||{},L);xe.date=xe.date||new Date,xe.compression!==null&&(xe.compression=xe.compression.toUpperCase()),typeof xe.unixPermissions=="string"&&(xe.unixPermissions=parseInt(xe.unixPermissions,8)),xe.unixPermissions&&16384&xe.unixPermissions&&(xe.dir=!0),xe.dosPermissions&&16&xe.dosPermissions&&(xe.dir=!0),xe.dir&&(te=O(te)),xe.createFolders&&(et=z(te))&&A.call(this,et,!0);var Ce=ke==="string"&&xe.binary===!1&&xe.base64===!1;Pe&&Pe.binary!==void 0||(xe.binary=!Ce),(Ee instanceof D&&Ee.uncompressedSize===0||xe.dir||!Ee||Ee.length===0)&&(xe.base64=!1,xe.binary=!0,Ee="",xe.compression="STORE",ke="string");var se=null;se=Ee instanceof D||Ee instanceof Z?Ee:_.isNode&&_.isStream(Ee)?new I(te,Ee):x.prepareContent(te,Ee,xe.binary,xe.optimizedBinaryString,xe.base64);var Se=new U(te,se,xe);this.files[te]=Se}var Y=B("./utf8"),x=B("./utils"),Z=B("./stream/GenericWorker"),c=B("./stream/StreamHelper"),L=B("./defaults"),D=B("./compressedObject"),U=B("./zipObject"),F=B("./generate"),_=B("./nodejsUtils"),I=B("./nodejs/NodejsStreamInputAdapter"),z=function(te){te.slice(-1)==="/"&&(te=te.substring(0,te.length-1));var Ee=te.lastIndexOf("/");return 0<Ee?te.substring(0,Ee):""},O=function(te){return te.slice(-1)!=="/"&&(te+="/"),te},A=function(te,Ee){return Ee=Ee!==void 0?Ee:L.createFolders,te=O(te),this.files[te]||ee.call(this,te,null,{dir:!0,createFolders:Ee}),this.files[te]};function oe(te){return Object.prototype.toString.call(te)==="[object RegExp]"}var J={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(te){var Ee,Pe,et;for(Ee in this.files)et=this.files[Ee],(Pe=Ee.slice(this.root.length,Ee.length))&&Ee.slice(0,this.root.length)===this.root&&te(Pe,et)},filter:function(te){var Ee=[];return this.forEach(function(Pe,et){te(Pe,et)&&Ee.push(et)}),Ee},file:function(te,Ee,Pe){if(arguments.length!==1)return te=this.root+te,ee.call(this,te,Ee,Pe),this;if(oe(te)){var et=te;return this.filter(function(xe,Ce){return!Ce.dir&&et.test(xe)})}var ke=this.files[this.root+te];return ke&&!ke.dir?ke:null},folder:function(te){if(!te)return this;if(oe(te))return this.filter(function(ke,xe){return xe.dir&&te.test(ke)});var Ee=this.root+te,Pe=A.call(this,Ee),et=this.clone();return et.root=Pe.name,et},remove:function(te){te=this.root+te;var Ee=this.files[te];if(Ee||(te.slice(-1)!=="/"&&(te+="/"),Ee=this.files[te]),Ee&&!Ee.dir)delete this.files[te];else for(var Pe=this.filter(function(ke,xe){return xe.name.slice(0,te.length)===te}),et=0;et<Pe.length;et++)delete this.files[Pe[et].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(te){var Ee,Pe={};try{if((Pe=x.extend(te||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Y.utf8encode})).type=Pe.type.toLowerCase(),Pe.compression=Pe.compression.toUpperCase(),Pe.type==="binarystring"&&(Pe.type="string"),!Pe.type)throw new Error("No output type specified.");x.checkSupport(Pe.type),Pe.platform!=="darwin"&&Pe.platform!=="freebsd"&&Pe.platform!=="linux"&&Pe.platform!=="sunos"||(Pe.platform="UNIX"),Pe.platform==="win32"&&(Pe.platform="DOS");var et=Pe.comment||this.comment||"";Ee=F.generateWorker(this,Pe,et)}catch(ke){(Ee=new Z("error")).error(ke)}return new c(Ee,Pe.type||"string",Pe.mimeType)},generateAsync:function(te,Ee){return this.generateInternalStream(te).accumulate(Ee)},generateNodeStream:function(te,Ee){return(te=te||{}).type||(te.type="nodebuffer"),this.generateInternalStream(te).toNodejsStream(Ee)}};De.exports=J},{"./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(B,De,q){"use strict";De.exports=B("stream")},{stream:void 0}],17:[function(B,De,q){"use strict";var ee=B("./DataReader");function Y(x){ee.call(this,x);for(var Z=0;Z<this.data.length;Z++)x[Z]=255&x[Z]}B("../utils").inherits(Y,ee),Y.prototype.byteAt=function(x){return this.data[this.zero+x]},Y.prototype.lastIndexOfSignature=function(x){for(var Z=x.charCodeAt(0),c=x.charCodeAt(1),L=x.charCodeAt(2),D=x.charCodeAt(3),U=this.length-4;0<=U;--U)if(this.data[U]===Z&&this.data[U+1]===c&&this.data[U+2]===L&&this.data[U+3]===D)return U-this.zero;return-1},Y.prototype.readAndCheckSignature=function(x){var Z=x.charCodeAt(0),c=x.charCodeAt(1),L=x.charCodeAt(2),D=x.charCodeAt(3),U=this.readData(4);return Z===U[0]&&c===U[1]&&L===U[2]&&D===U[3]},Y.prototype.readData=function(x){if(this.checkOffset(x),x===0)return[];var Z=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,Z},De.exports=Y},{"../utils":32,"./DataReader":18}],18:[function(B,De,q){"use strict";var ee=B("../utils");function Y(x){this.data=x,this.length=x.length,this.index=0,this.zero=0}Y.prototype={checkOffset:function(x){this.checkIndex(this.index+x)},checkIndex:function(x){if(this.length<this.zero+x||x<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+x+"). Corrupted zip ?")},setIndex:function(x){this.checkIndex(x),this.index=x},skip:function(x){this.setIndex(this.index+x)},byteAt:function(){},readInt:function(x){var Z,c=0;for(this.checkOffset(x),Z=this.index+x-1;Z>=this.index;Z--)c=(c<<8)+this.byteAt(Z);return this.index+=x,c},readString:function(x){return ee.transformTo("string",this.readData(x))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var x=this.readInt(4);return new Date(Date.UTC(1980+(x>>25&127),(x>>21&15)-1,x>>16&31,x>>11&31,x>>5&63,(31&x)<<1))}},De.exports=Y},{"../utils":32}],19:[function(B,De,q){"use strict";var ee=B("./Uint8ArrayReader");function Y(x){ee.call(this,x)}B("../utils").inherits(Y,ee),Y.prototype.readData=function(x){this.checkOffset(x);var Z=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,Z},De.exports=Y},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(B,De,q){"use strict";var ee=B("./DataReader");function Y(x){ee.call(this,x)}B("../utils").inherits(Y,ee),Y.prototype.byteAt=function(x){return this.data.charCodeAt(this.zero+x)},Y.prototype.lastIndexOfSignature=function(x){return this.data.lastIndexOf(x)-this.zero},Y.prototype.readAndCheckSignature=function(x){return x===this.readData(4)},Y.prototype.readData=function(x){this.checkOffset(x);var Z=this.data.slice(this.zero+this.index,this.zero+this.index+x);return this.index+=x,Z},De.exports=Y},{"../utils":32,"./DataReader":18}],21:[function(B,De,q){"use strict";var ee=B("./ArrayReader");function Y(x){ee.call(this,x)}B("../utils").inherits(Y,ee),Y.prototype.readData=function(x){if(this.checkOffset(x),x===0)return new Uint8Array(0);var Z=this.data.subarray(this.zero+this.index,this.zero+this.index+x);return this.index+=x,Z},De.exports=Y},{"../utils":32,"./ArrayReader":17}],22:[function(B,De,q){"use strict";var ee=B("../utils"),Y=B("../support"),x=B("./ArrayReader"),Z=B("./StringReader"),c=B("./NodeBufferReader"),L=B("./Uint8ArrayReader");De.exports=function(D){var U=ee.getTypeOf(D);return ee.checkSupport(U),U!=="string"||Y.uint8array?U==="nodebuffer"?new c(D):Y.uint8array?new L(ee.transformTo("uint8array",D)):new x(ee.transformTo("array",D)):new Z(D)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(B,De,q){"use strict";q.LOCAL_FILE_HEADER="PK",q.CENTRAL_FILE_HEADER="PK",q.CENTRAL_DIRECTORY_END="PK",q.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",q.ZIP64_CENTRAL_DIRECTORY_END="PK",q.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(B,De,q){"use strict";var ee=B("./GenericWorker"),Y=B("../utils");function x(Z){ee.call(this,"ConvertWorker to "+Z),this.destType=Z}Y.inherits(x,ee),x.prototype.processChunk=function(Z){this.push({data:Y.transformTo(this.destType,Z.data),meta:Z.meta})},De.exports=x},{"../utils":32,"./GenericWorker":28}],25:[function(B,De,q){"use strict";var ee=B("./GenericWorker"),Y=B("../crc32");function x(){ee.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}B("../utils").inherits(x,ee),x.prototype.processChunk=function(Z){this.streamInfo.crc32=Y(Z.data,this.streamInfo.crc32||0),this.push(Z)},De.exports=x},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(B,De,q){"use strict";var ee=B("../utils"),Y=B("./GenericWorker");function x(Z){Y.call(this,"DataLengthProbe for "+Z),this.propName=Z,this.withStreamInfo(Z,0)}ee.inherits(x,Y),x.prototype.processChunk=function(Z){if(Z){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+Z.data.length}Y.prototype.processChunk.call(this,Z)},De.exports=x},{"../utils":32,"./GenericWorker":28}],27:[function(B,De,q){"use strict";var ee=B("../utils"),Y=B("./GenericWorker");function x(Z){Y.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,Z.then(function(L){c.dataIsReady=!0,c.data=L,c.max=L&&L.length||0,c.type=ee.getTypeOf(L),c.isPaused||c._tickAndRepeat()},function(L){c.error(L)})}ee.inherits(x,Y),x.prototype.cleanUp=function(){Y.prototype.cleanUp.call(this),this.data=null},x.prototype.resume=function(){return!!Y.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,ee.delay(this._tickAndRepeat,[],this)),!0)},x.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(ee.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},x.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var Z=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":Z=this.data.substring(this.index,c);break;case"uint8array":Z=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":Z=this.data.slice(this.index,c)}return this.index=c,this.push({data:Z,meta:{percent:this.max?this.index/this.max*100:0}})},De.exports=x},{"../utils":32,"./GenericWorker":28}],28:[function(B,De,q){"use strict";function ee(Y){this.name=Y||"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}ee.prototype={push:function(Y){this.emit("data",Y)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(Y){this.emit("error",Y)}return!0},error:function(Y){return!this.isFinished&&(this.isPaused?this.generatedError=Y:(this.isFinished=!0,this.emit("error",Y),this.previous&&this.previous.error(Y),this.cleanUp()),!0)},on:function(Y,x){return this._listeners[Y].push(x),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(Y,x){if(this._listeners[Y])for(var Z=0;Z<this._listeners[Y].length;Z++)this._listeners[Y][Z].call(this,x)},pipe:function(Y){return Y.registerPrevious(this)},registerPrevious:function(Y){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=Y.streamInfo,this.mergeStreamInfo(),this.previous=Y;var x=this;return Y.on("data",function(Z){x.processChunk(Z)}),Y.on("end",function(){x.end()}),Y.on("error",function(Z){x.error(Z)}),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 Y=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),Y=!0),this.previous&&this.previous.resume(),!Y},flush:function(){},processChunk:function(Y){this.push(Y)},withStreamInfo:function(Y,x){return this.extraStreamInfo[Y]=x,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var Y in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,Y)&&(this.streamInfo[Y]=this.extraStreamInfo[Y])},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 Y="Worker "+this.name;return this.previous?this.previous+" -> "+Y:Y}},De.exports=ee},{}],29:[function(B,De,q){"use strict";var ee=B("../utils"),Y=B("./ConvertWorker"),x=B("./GenericWorker"),Z=B("../base64"),c=B("../support"),L=B("../external"),D=null;if(c.nodestream)try{D=B("../nodejs/NodejsStreamOutputAdapter")}catch(_){}function U(_,I){return new L.Promise(function(z,O){var A=[],oe=_._internalType,J=_._outputType,te=_._mimeType;_.on("data",function(Ee,Pe){A.push(Ee),I&&I(Pe)}).on("error",function(Ee){A=[],O(Ee)}).on("end",function(){try{var Ee=function(Pe,et,ke){switch(Pe){case"blob":return ee.newBlob(ee.transformTo("arraybuffer",et),ke);case"base64":return Z.encode(et);default:return ee.transformTo(Pe,et)}}(J,function(Pe,et){var ke,xe=0,Ce=null,se=0;for(ke=0;ke<et.length;ke++)se+=et[ke].length;switch(Pe){case"string":return et.join("");case"array":return Array.prototype.concat.apply([],et);case"uint8array":for(Ce=new Uint8Array(se),ke=0;ke<et.length;ke++)Ce.set(et[ke],xe),xe+=et[ke].length;return Ce;case"nodebuffer":return o.concat(et);default:throw new Error("concat : unsupported type '"+Pe+"'")}}(oe,A),te);z(Ee)}catch(Pe){O(Pe)}A=[]}).resume()})}function F(_,I,z){var O=I;switch(I){case"blob":case"arraybuffer":O="uint8array";break;case"base64":O="string"}try{this._internalType=O,this._outputType=I,this._mimeType=z,ee.checkSupport(O),this._worker=_.pipe(new Y(O)),_.lock()}catch(A){this._worker=new x("error"),this._worker.error(A)}}F.prototype={accumulate:function(_){return U(this,_)},on:function(_,I){var z=this;return _==="data"?this._worker.on(_,function(O){I.call(z,O.data,O.meta)}):this._worker.on(_,function(){ee.delay(I,arguments,z)}),this},resume:function(){return ee.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_){if(ee.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new D(this,{objectMode:this._outputType!=="nodebuffer"},_)}},De.exports=F},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(B,De,q){"use strict";if(q.base64=!0,q.array=!0,q.string=!0,q.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",q.nodebuffer=typeof o!="undefined",q.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")q.blob=!1;else{var ee=new ArrayBuffer(0);try{q.blob=new Blob([ee],{type:"application/zip"}).size===0}catch(x){try{var Y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Y.append(ee),q.blob=Y.getBlob("application/zip").size===0}catch(Z){q.blob=!1}}}try{q.nodestream=!!B("readable-stream").Readable}catch(x){q.nodestream=!1}},{"readable-stream":16}],31:[function(B,De,q){"use strict";for(var ee=B("./utils"),Y=B("./support"),x=B("./nodejsUtils"),Z=B("./stream/GenericWorker"),c=new Array(256),L=0;L<256;L++)c[L]=252<=L?6:248<=L?5:240<=L?4:224<=L?3:192<=L?2:1;c[254]=c[254]=1;function D(){Z.call(this,"utf-8 decode"),this.leftOver=null}function U(){Z.call(this,"utf-8 encode")}q.utf8encode=function(F){return Y.nodebuffer?x.newBufferFrom(F,"utf-8"):function(_){var I,z,O,A,oe,J=_.length,te=0;for(A=0;A<J;A++)(64512&(z=_.charCodeAt(A)))==55296&&A+1<J&&(64512&(O=_.charCodeAt(A+1)))==56320&&(z=65536+(z-55296<<10)+(O-56320),A++),te+=z<128?1:z<2048?2:z<65536?3:4;for(I=Y.uint8array?new Uint8Array(te):new Array(te),A=oe=0;oe<te;A++)(64512&(z=_.charCodeAt(A)))==55296&&A+1<J&&(64512&(O=_.charCodeAt(A+1)))==56320&&(z=65536+(z-55296<<10)+(O-56320),A++),z<128?I[oe++]=z:(z<2048?I[oe++]=192|z>>>6:(z<65536?I[oe++]=224|z>>>12:(I[oe++]=240|z>>>18,I[oe++]=128|z>>>12&63),I[oe++]=128|z>>>6&63),I[oe++]=128|63&z);return I}(F)},q.utf8decode=function(F){return Y.nodebuffer?ee.transformTo("nodebuffer",F).toString("utf-8"):function(_){var I,z,O,A,oe=_.length,J=new Array(2*oe);for(I=z=0;I<oe;)if((O=_[I++])<128)J[z++]=O;else if(4<(A=c[O]))J[z++]=65533,I+=A-1;else{for(O&=A===2?31:A===3?15:7;1<A&&I<oe;)O=O<<6|63&_[I++],A--;1<A?J[z++]=65533:O<65536?J[z++]=O:(O-=65536,J[z++]=55296|O>>10&1023,J[z++]=56320|1023&O)}return J.length!==z&&(J.subarray?J=J.subarray(0,z):J.length=z),ee.applyFromCharCode(J)}(F=ee.transformTo(Y.uint8array?"uint8array":"array",F))},ee.inherits(D,Z),D.prototype.processChunk=function(F){var _=ee.transformTo(Y.uint8array?"uint8array":"array",F.data);if(this.leftOver&&this.leftOver.length){if(Y.uint8array){var I=_;(_=new Uint8Array(I.length+this.leftOver.length)).set(this.leftOver,0),_.set(I,this.leftOver.length)}else _=this.leftOver.concat(_);this.leftOver=null}var z=function(A,oe){var J;for((oe=oe||A.length)>A.length&&(oe=A.length),J=oe-1;0<=J&&(192&A[J])==128;)J--;return J<0||J===0?oe:J+c[A[J]]>oe?J:oe}(_),O=_;z!==_.length&&(Y.uint8array?(O=_.subarray(0,z),this.leftOver=_.subarray(z,_.length)):(O=_.slice(0,z),this.leftOver=_.slice(z,_.length))),this.push({data:q.utf8decode(O),meta:F.meta})},D.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:q.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},q.Utf8DecodeWorker=D,ee.inherits(U,Z),U.prototype.processChunk=function(F){this.push({data:q.utf8encode(F.data),meta:F.meta})},q.Utf8EncodeWorker=U},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(B,De,q){"use strict";var ee=B("./support"),Y=B("./base64"),x=B("./nodejsUtils"),Z=B("./external");function c(I){return I}function L(I,z){for(var O=0;O<I.length;++O)z[O]=255&I.charCodeAt(O);return z}B("setimmediate"),q.newBlob=function(I,z){q.checkSupport("blob");try{return new Blob([I],{type:z})}catch(A){try{var O=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return O.append(I),O.getBlob(z)}catch(oe){throw new Error("Bug : can't construct the Blob.")}}};var D={stringifyByChunk:function(I,z,O){var A=[],oe=0,J=I.length;if(J<=O)return String.fromCharCode.apply(null,I);for(;oe<J;)z==="array"||z==="nodebuffer"?A.push(String.fromCharCode.apply(null,I.slice(oe,Math.min(oe+O,J)))):A.push(String.fromCharCode.apply(null,I.subarray(oe,Math.min(oe+O,J)))),oe+=O;return A.join("")},stringifyByChar:function(I){for(var z="",O=0;O<I.length;O++)z+=String.fromCharCode(I[O]);return z},applyCanBeUsed:{uint8array:function(){try{return ee.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(I){return!1}}(),nodebuffer:function(){try{return ee.nodebuffer&&String.fromCharCode.apply(null,x.allocBuffer(1)).length===1}catch(I){return!1}}()}};function U(I){var z=65536,O=q.getTypeOf(I),A=!0;if(O==="uint8array"?A=D.applyCanBeUsed.uint8array:O==="nodebuffer"&&(A=D.applyCanBeUsed.nodebuffer),A)for(;1<z;)try{return D.stringifyByChunk(I,O,z)}catch(oe){z=Math.floor(z/2)}return D.stringifyByChar(I)}function F(I,z){for(var O=0;O<I.length;O++)z[O]=I[O];return z}q.applyFromCharCode=U;var _={};_.string={string:c,array:function(I){return L(I,new Array(I.length))},arraybuffer:function(I){return _.string.uint8array(I).buffer},uint8array:function(I){return L(I,new Uint8Array(I.length))},nodebuffer:function(I){return L(I,x.allocBuffer(I.length))}},_.array={string:U,array:c,arraybuffer:function(I){return new Uint8Array(I).buffer},uint8array:function(I){return new Uint8Array(I)},nodebuffer:function(I){return x.newBufferFrom(I)}},_.arraybuffer={string:function(I){return U(new Uint8Array(I))},array:function(I){return F(new Uint8Array(I),new Array(I.byteLength))},arraybuffer:c,uint8array:function(I){return new Uint8Array(I)},nodebuffer:function(I){return x.newBufferFrom(new Uint8Array(I))}},_.uint8array={string:U,array:function(I){return F(I,new Array(I.length))},arraybuffer:function(I){return I.buffer},uint8array:c,nodebuffer:function(I){return x.newBufferFrom(I)}},_.nodebuffer={string:U,array:function(I){return F(I,new Array(I.length))},arraybuffer:function(I){return _.nodebuffer.uint8array(I).buffer},uint8array:function(I){return F(I,new Uint8Array(I.length))},nodebuffer:c},q.transformTo=function(I,z){if(z=z||"",!I)return z;q.checkSupport(I);var O=q.getTypeOf(z);return _[O][I](z)},q.resolve=function(I){for(var z=I.split("/"),O=[],A=0;A<z.length;A++){var oe=z[A];oe==="."||oe===""&&A!==0&&A!==z.length-1||(oe===".."?O.pop():O.push(oe))}return O.join("/")},q.getTypeOf=function(I){return typeof I=="string"?"string":Object.prototype.toString.call(I)==="[object Array]"?"array":ee.nodebuffer&&x.isBuffer(I)?"nodebuffer":ee.uint8array&&I instanceof Uint8Array?"uint8array":ee.arraybuffer&&I instanceof ArrayBuffer?"arraybuffer":void 0},q.checkSupport=function(I){if(!ee[I.toLowerCase()])throw new Error(I+" is not supported by this platform")},q.MAX_VALUE_16BITS=65535,q.MAX_VALUE_32BITS=-1,q.pretty=function(I){var z,O,A="";for(O=0;O<(I||"").length;O++)A+="\\x"+((z=I.charCodeAt(O))<16?"0":"")+z.toString(16).toUpperCase();return A},q.delay=function(I,z,O){setImmediate(function(){I.apply(O||null,z||[])})},q.inherits=function(I,z){function O(){}O.prototype=z.prototype,I.prototype=new O},q.extend=function(){var I,z,O={};for(I=0;I<arguments.length;I++)for(z in arguments[I])Object.prototype.hasOwnProperty.call(arguments[I],z)&&O[z]===void 0&&(O[z]=arguments[I][z]);return O},q.prepareContent=function(I,z,O,A,oe){return Z.Promise.resolve(z).then(function(J){return ee.blob&&(J instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(J))!==-1)&&typeof FileReader!="undefined"?new Z.Promise(function(te,Ee){var Pe=new FileReader;Pe.onload=function(et){te(et.target.result)},Pe.onerror=function(et){Ee(et.target.error)},Pe.readAsArrayBuffer(J)}):J}).then(function(J){var te=q.getTypeOf(J);return te?(te==="arraybuffer"?J=q.transformTo("uint8array",J):te==="string"&&(oe?J=Y.decode(J):O&&A!==!0&&(J=function(Ee){return L(Ee,ee.uint8array?new Uint8Array(Ee.length):new Array(Ee.length))}(J))),J):Z.Promise.reject(new Error("Can't read the data of '"+I+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(B,De,q){"use strict";var ee=B("./reader/readerFor"),Y=B("./utils"),x=B("./signature"),Z=B("./zipEntry"),c=B("./support");function L(D){this.files=[],this.loadOptions=D}L.prototype={checkSignature:function(D){if(!this.reader.readAndCheckSignature(D)){this.reader.index-=4;var U=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Y.pretty(U)+", expected "+Y.pretty(D)+")")}},isSignature:function(D,U){var F=this.reader.index;this.reader.setIndex(D);var _=this.reader.readString(4)===U;return this.reader.setIndex(F),_},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 D=this.reader.readData(this.zipCommentLength),U=c.uint8array?"uint8array":"array",F=Y.transformTo(U,D);this.zipComment=this.loadOptions.decodeFileName(F)},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 D,U,F,_=this.zip64EndOfCentralSize-44;0<_;)D=this.reader.readInt(2),U=this.reader.readInt(4),F=this.reader.readData(U),this.zip64ExtensibleData[D]={id:D,length:U,value:F}},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 D,U;for(D=0;D<this.files.length;D++)U=this.files[D],this.reader.setIndex(U.localHeaderOffset),this.checkSignature(x.LOCAL_FILE_HEADER),U.readLocalPart(this.reader),U.handleUTF8(),U.processAttributes()},readCentralDir:function(){var D;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(x.CENTRAL_FILE_HEADER);)(D=new Z({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(D);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var D=this.reader.lastIndexOfSignature(x.CENTRAL_DIRECTORY_END);if(D<0)throw this.isSignature(0,x.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(D);var U=D;if(this.checkSignature(x.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Y.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Y.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Y.MAX_VALUE_16BITS||this.centralDirRecords===Y.MAX_VALUE_16BITS||this.centralDirSize===Y.MAX_VALUE_32BITS||this.centralDirOffset===Y.MAX_VALUE_32BITS){if(this.zip64=!0,(D=this.reader.lastIndexOfSignature(x.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(D),this.checkSignature(x.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,x.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(x.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(x.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var F=this.centralDirOffset+this.centralDirSize;this.zip64&&(F+=20,F+=12+this.zip64EndOfCentralSize);var _=U-F;if(0<_)this.isSignature(U,x.CENTRAL_FILE_HEADER)||(this.reader.zero=_);else if(_<0)throw new Error("Corrupted zip: missing "+Math.abs(_)+" bytes.")},prepareReader:function(D){this.reader=ee(D)},load:function(D){this.prepareReader(D),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},De.exports=L},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(B,De,q){"use strict";var ee=B("./reader/readerFor"),Y=B("./utils"),x=B("./compressedObject"),Z=B("./crc32"),c=B("./utf8"),L=B("./compressions"),D=B("./support");function U(F,_){this.options=F,this.loadOptions=_}U.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(F){var _,I;if(F.skip(22),this.fileNameLength=F.readInt(2),I=F.readInt(2),this.fileName=F.readData(this.fileNameLength),F.skip(I),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((_=function(z){for(var O in L)if(Object.prototype.hasOwnProperty.call(L,O)&&L[O].magic===z)return L[O];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+Y.pretty(this.compressionMethod)+" unknown (inner file : "+Y.transformTo("string",this.fileName)+")");this.decompressed=new x(this.compressedSize,this.uncompressedSize,this.crc32,_,F.readData(this.compressedSize))},readCentralPart:function(F){this.versionMadeBy=F.readInt(2),F.skip(2),this.bitFlag=F.readInt(2),this.compressionMethod=F.readString(2),this.date=F.readDate(),this.crc32=F.readInt(4),this.compressedSize=F.readInt(4),this.uncompressedSize=F.readInt(4);var _=F.readInt(2);if(this.extraFieldsLength=F.readInt(2),this.fileCommentLength=F.readInt(2),this.diskNumberStart=F.readInt(2),this.internalFileAttributes=F.readInt(2),this.externalFileAttributes=F.readInt(4),this.localHeaderOffset=F.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");F.skip(_),this.readExtraFields(F),this.parseZIP64ExtraField(F),this.fileComment=F.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var F=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),F==0&&(this.dosPermissions=63&this.externalFileAttributes),F==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var F=ee(this.extraFields[1].value);this.uncompressedSize===Y.MAX_VALUE_32BITS&&(this.uncompressedSize=F.readInt(8)),this.compressedSize===Y.MAX_VALUE_32BITS&&(this.compressedSize=F.readInt(8)),this.localHeaderOffset===Y.MAX_VALUE_32BITS&&(this.localHeaderOffset=F.readInt(8)),this.diskNumberStart===Y.MAX_VALUE_32BITS&&(this.diskNumberStart=F.readInt(4))}},readExtraFields:function(F){var _,I,z,O=F.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});F.index+4<O;)_=F.readInt(2),I=F.readInt(2),z=F.readData(I),this.extraFields[_]={id:_,length:I,value:z};F.setIndex(O)},handleUTF8:function(){var F=D.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var _=this.findExtraFieldUnicodePath();if(_!==null)this.fileNameStr=_;else{var I=Y.transformTo(F,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(I)}var z=this.findExtraFieldUnicodeComment();if(z!==null)this.fileCommentStr=z;else{var O=Y.transformTo(F,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(O)}}},findExtraFieldUnicodePath:function(){var F=this.extraFields[28789];if(F){var _=ee(F.value);return _.readInt(1)!==1||Z(this.fileName)!==_.readInt(4)?null:c.utf8decode(_.readData(F.length-5))}return null},findExtraFieldUnicodeComment:function(){var F=this.extraFields[25461];if(F){var _=ee(F.value);return _.readInt(1)!==1||Z(this.fileComment)!==_.readInt(4)?null:c.utf8decode(_.readData(F.length-5))}return null}},De.exports=U},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(B,De,q){"use strict";function ee(_,I,z){this.name=_,this.dir=z.dir,this.date=z.date,this.comment=z.comment,this.unixPermissions=z.unixPermissions,this.dosPermissions=z.dosPermissions,this._data=I,this._dataBinary=z.binary,this.options={compression:z.compression,compressionOptions:z.compressionOptions}}var Y=B("./stream/StreamHelper"),x=B("./stream/DataWorker"),Z=B("./utf8"),c=B("./compressedObject"),L=B("./stream/GenericWorker");ee.prototype={internalStream:function(_){var I=null,z="string";try{if(!_)throw new Error("No output type specified.");var O=(z=_.toLowerCase())==="string"||z==="text";z!=="binarystring"&&z!=="text"||(z="string"),I=this._decompressWorker();var A=!this._dataBinary;A&&!O&&(I=I.pipe(new Z.Utf8EncodeWorker)),!A&&O&&(I=I.pipe(new Z.Utf8DecodeWorker))}catch(oe){(I=new L("error")).error(oe)}return new Y(I,z,"")},async:function(_,I){return this.internalStream(_).accumulate(I)},nodeStream:function(_,I){return this.internalStream(_||"nodebuffer").toNodejsStream(I)},_compressWorker:function(_,I){if(this._data instanceof c&&this._data.compression.magic===_.magic)return this._data.getCompressedWorker();var z=this._decompressWorker();return this._dataBinary||(z=z.pipe(new Z.Utf8EncodeWorker)),c.createWorkerFrom(z,_,I)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof L?this._data:new x(this._data)}};for(var D=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],U=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},F=0;F<D.length;F++)ee.prototype[D[F]]=U;De.exports=ee},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(B,De,q){(function(ee){"use strict";var Y,x,Z=ee.MutationObserver||ee.WebKitMutationObserver;if(Z){var c=0,L=new Z(_),D=ee.document.createTextNode("");L.observe(D,{characterData:!0}),Y=function(){D.data=c=++c%2}}else if(ee.setImmediate||ee.MessageChannel===void 0)Y="document"in ee&&"onreadystatechange"in ee.document.createElement("script")?function(){var I=ee.document.createElement("script");I.onreadystatechange=function(){_(),I.onreadystatechange=null,I.parentNode.removeChild(I),I=null},ee.document.documentElement.appendChild(I)}:function(){setTimeout(_,0)};else{var U=new ee.MessageChannel;U.port1.onmessage=_,Y=function(){U.port2.postMessage(0)}}var F=[];function _(){var I,z;x=!0;for(var O=F.length;O;){for(z=F,F=[],I=-1;++I<O;)z[I]();O=F.length}x=!1}De.exports=function(I){F.push(I)!==1||x||Y()}}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(B,De,q){"use strict";var ee=B("immediate");function Y(){}var x={},Z=["REJECTED"],c=["FULFILLED"],L=["PENDING"];function D(O){if(typeof O!="function")throw new TypeError("resolver must be a function");this.state=L,this.queue=[],this.outcome=void 0,O!==Y&&I(this,O)}function U(O,A,oe){this.promise=O,typeof A=="function"&&(this.onFulfilled=A,this.callFulfilled=this.otherCallFulfilled),typeof oe=="function"&&(this.onRejected=oe,this.callRejected=this.otherCallRejected)}function F(O,A,oe){ee(function(){var J;try{J=A(oe)}catch(te){return x.reject(O,te)}J===O?x.reject(O,new TypeError("Cannot resolve promise with itself")):x.resolve(O,J)})}function _(O){var A=O&&O.then;if(O&&(typeof O=="object"||typeof O=="function")&&typeof A=="function")return function(){A.apply(O,arguments)}}function I(O,A){var oe=!1;function J(Pe){oe||(oe=!0,x.reject(O,Pe))}function te(Pe){oe||(oe=!0,x.resolve(O,Pe))}var Ee=z(function(){A(te,J)});Ee.status==="error"&&J(Ee.value)}function z(O,A){var oe={};try{oe.value=O(A),oe.status="success"}catch(J){oe.status="error",oe.value=J}return oe}(De.exports=D).prototype.finally=function(O){if(typeof O!="function")return this;var A=this.constructor;return this.then(function(oe){return A.resolve(O()).then(function(){return oe})},function(oe){return A.resolve(O()).then(function(){throw oe})})},D.prototype.catch=function(O){return this.then(null,O)},D.prototype.then=function(O,A){if(typeof O!="function"&&this.state===c||typeof A!="function"&&this.state===Z)return this;var oe=new this.constructor(Y);return this.state!==L?F(oe,this.state===c?O:A,this.outcome):this.queue.push(new U(oe,O,A)),oe},U.prototype.callFulfilled=function(O){x.resolve(this.promise,O)},U.prototype.otherCallFulfilled=function(O){F(this.promise,this.onFulfilled,O)},U.prototype.callRejected=function(O){x.reject(this.promise,O)},U.prototype.otherCallRejected=function(O){F(this.promise,this.onRejected,O)},x.resolve=function(O,A){var oe=z(_,A);if(oe.status==="error")return x.reject(O,oe.value);var J=oe.value;if(J)I(O,J);else{O.state=c,O.outcome=A;for(var te=-1,Ee=O.queue.length;++te<Ee;)O.queue[te].callFulfilled(A)}return O},x.reject=function(O,A){O.state=Z,O.outcome=A;for(var oe=-1,J=O.queue.length;++oe<J;)O.queue[oe].callRejected(A);return O},D.resolve=function(O){return O instanceof this?O:x.resolve(new this(Y),O)},D.reject=function(O){var A=new this(Y);return x.reject(A,O)},D.all=function(O){var A=this;if(Object.prototype.toString.call(O)!=="[object Array]")return this.reject(new TypeError("must be an array"));var oe=O.length,J=!1;if(!oe)return this.resolve([]);for(var te=new Array(oe),Ee=0,Pe=-1,et=new this(Y);++Pe<oe;)ke(O[Pe],Pe);return et;function ke(xe,Ce){A.resolve(xe).then(function(se){te[Ce]=se,++Ee!==oe||J||(J=!0,x.resolve(et,te))},function(se){J||(J=!0,x.reject(et,se))})}},D.race=function(O){var A=this;if(Object.prototype.toString.call(O)!=="[object Array]")return this.reject(new TypeError("must be an array"));var oe=O.length,J=!1;if(!oe)return this.resolve([]);for(var te=-1,Ee=new this(Y);++te<oe;)Pe=O[te],A.resolve(Pe).then(function(et){J||(J=!0,x.resolve(Ee,et))},function(et){J||(J=!0,x.reject(Ee,et))});var Pe;return Ee}},{immediate:36}],38:[function(B,De,q){"use strict";var ee={};(0,B("./lib/utils/common").assign)(ee,B("./lib/deflate"),B("./lib/inflate"),B("./lib/zlib/constants")),De.exports=ee},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(B,De,q){"use strict";var ee=B("./zlib/deflate"),Y=B("./utils/common"),x=B("./utils/strings"),Z=B("./zlib/messages"),c=B("./zlib/zstream"),L=Object.prototype.toString,D=0,U=-1,F=0,_=8;function I(O){if(!(this instanceof I))return new I(O);this.options=Y.assign({level:U,method:_,chunkSize:16384,windowBits:15,memLevel:8,strategy:F,to:""},O||{});var A=this.options;A.raw&&0<A.windowBits?A.windowBits=-A.windowBits:A.gzip&&0<A.windowBits&&A.windowBits<16&&(A.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var oe=ee.deflateInit2(this.strm,A.level,A.method,A.windowBits,A.memLevel,A.strategy);if(oe!==D)throw new Error(Z[oe]);if(A.header&&ee.deflateSetHeader(this.strm,A.header),A.dictionary){var J;if(J=typeof A.dictionary=="string"?x.string2buf(A.dictionary):L.call(A.dictionary)==="[object ArrayBuffer]"?new Uint8Array(A.dictionary):A.dictionary,(oe=ee.deflateSetDictionary(this.strm,J))!==D)throw new Error(Z[oe]);this._dict_set=!0}}function z(O,A){var oe=new I(A);if(oe.push(O,!0),oe.err)throw oe.msg||Z[oe.err];return oe.result}I.prototype.push=function(O,A){var oe,J,te=this.strm,Ee=this.options.chunkSize;if(this.ended)return!1;J=A===~~A?A:A===!0?4:0,typeof O=="string"?te.input=x.string2buf(O):L.call(O)==="[object ArrayBuffer]"?te.input=new Uint8Array(O):te.input=O,te.next_in=0,te.avail_in=te.input.length;do{if(te.avail_out===0&&(te.output=new Y.Buf8(Ee),te.next_out=0,te.avail_out=Ee),(oe=ee.deflate(te,J))!==1&&oe!==D)return this.onEnd(oe),!(this.ended=!0);te.avail_out!==0&&(te.avail_in!==0||J!==4&&J!==2)||(this.options.to==="string"?this.onData(x.buf2binstring(Y.shrinkBuf(te.output,te.next_out))):this.onData(Y.shrinkBuf(te.output,te.next_out)))}while((0<te.avail_in||te.avail_out===0)&&oe!==1);return J===4?(oe=ee.deflateEnd(this.strm),this.onEnd(oe),this.ended=!0,oe===D):J!==2||(this.onEnd(D),!(te.avail_out=0))},I.prototype.onData=function(O){this.chunks.push(O)},I.prototype.onEnd=function(O){O===D&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Y.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg},q.Deflate=I,q.deflate=z,q.deflateRaw=function(O,A){return(A=A||{}).raw=!0,z(O,A)},q.gzip=function(O,A){return(A=A||{}).gzip=!0,z(O,A)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(B,De,q){"use strict";var ee=B("./zlib/inflate"),Y=B("./utils/common"),x=B("./utils/strings"),Z=B("./zlib/constants"),c=B("./zlib/messages"),L=B("./zlib/zstream"),D=B("./zlib/gzheader"),U=Object.prototype.toString;function F(I){if(!(this instanceof F))return new F(I);this.options=Y.assign({chunkSize:16384,windowBits:0,to:""},I||{});var z=this.options;z.raw&&0<=z.windowBits&&z.windowBits<16&&(z.windowBits=-z.windowBits,z.windowBits===0&&(z.windowBits=-15)),!(0<=z.windowBits&&z.windowBits<16)||I&&I.windowBits||(z.windowBits+=32),15<z.windowBits&&z.windowBits<48&&!(15&z.windowBits)&&(z.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new L,this.strm.avail_out=0;var O=ee.inflateInit2(this.strm,z.windowBits);if(O!==Z.Z_OK)throw new Error(c[O]);this.header=new D,ee.inflateGetHeader(this.strm,this.header)}function _(I,z){var O=new F(z);if(O.push(I,!0),O.err)throw O.msg||c[O.err];return O.result}F.prototype.push=function(I,z){var O,A,oe,J,te,Ee,Pe=this.strm,et=this.options.chunkSize,ke=this.options.dictionary,xe=!1;if(this.ended)return!1;A=z===~~z?z:z===!0?Z.Z_FINISH:Z.Z_NO_FLUSH,typeof I=="string"?Pe.input=x.binstring2buf(I):U.call(I)==="[object ArrayBuffer]"?Pe.input=new Uint8Array(I):Pe.input=I,Pe.next_in=0,Pe.avail_in=Pe.input.length;do{if(Pe.avail_out===0&&(Pe.output=new Y.Buf8(et),Pe.next_out=0,Pe.avail_out=et),(O=ee.inflate(Pe,Z.Z_NO_FLUSH))===Z.Z_NEED_DICT&&ke&&(Ee=typeof ke=="string"?x.string2buf(ke):U.call(ke)==="[object ArrayBuffer]"?new Uint8Array(ke):ke,O=ee.inflateSetDictionary(this.strm,Ee)),O===Z.Z_BUF_ERROR&&xe===!0&&(O=Z.Z_OK,xe=!1),O!==Z.Z_STREAM_END&&O!==Z.Z_OK)return this.onEnd(O),!(this.ended=!0);Pe.next_out&&(Pe.avail_out!==0&&O!==Z.Z_STREAM_END&&(Pe.avail_in!==0||A!==Z.Z_FINISH&&A!==Z.Z_SYNC_FLUSH)||(this.options.to==="string"?(oe=x.utf8border(Pe.output,Pe.next_out),J=Pe.next_out-oe,te=x.buf2string(Pe.output,oe),Pe.next_out=J,Pe.avail_out=et-J,J&&Y.arraySet(Pe.output,Pe.output,oe,J,0),this.onData(te)):this.onData(Y.shrinkBuf(Pe.output,Pe.next_out)))),Pe.avail_in===0&&Pe.avail_out===0&&(xe=!0)}while((0<Pe.avail_in||Pe.avail_out===0)&&O!==Z.Z_STREAM_END);return O===Z.Z_STREAM_END&&(A=Z.Z_FINISH),A===Z.Z_FINISH?(O=ee.inflateEnd(this.strm),this.onEnd(O),this.ended=!0,O===Z.Z_OK):A!==Z.Z_SYNC_FLUSH||(this.onEnd(Z.Z_OK),!(Pe.avail_out=0))},F.prototype.onData=function(I){this.chunks.push(I)},F.prototype.onEnd=function(I){I===Z.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Y.flattenChunks(this.chunks)),this.chunks=[],this.err=I,this.msg=this.strm.msg},q.Inflate=F,q.inflate=_,q.inflateRaw=function(I,z){return(z=z||{}).raw=!0,_(I,z)},q.ungzip=_},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(B,De,q){"use strict";var ee=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";q.assign=function(Z){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var L=c.shift();if(L){if(typeof L!="object")throw new TypeError(L+"must be non-object");for(var D in L)L.hasOwnProperty(D)&&(Z[D]=L[D])}}return Z},q.shrinkBuf=function(Z,c){return Z.length===c?Z:Z.subarray?Z.subarray(0,c):(Z.length=c,Z)};var Y={arraySet:function(Z,c,L,D,U){if(c.subarray&&Z.subarray)Z.set(c.subarray(L,L+D),U);else for(var F=0;F<D;F++)Z[U+F]=c[L+F]},flattenChunks:function(Z){var c,L,D,U,F,_;for(c=D=0,L=Z.length;c<L;c++)D+=Z[c].length;for(_=new Uint8Array(D),c=U=0,L=Z.length;c<L;c++)F=Z[c],_.set(F,U),U+=F.length;return _}},x={arraySet:function(Z,c,L,D,U){for(var F=0;F<D;F++)Z[U+F]=c[L+F]},flattenChunks:function(Z){return[].concat.apply([],Z)}};q.setTyped=function(Z){Z?(q.Buf8=Uint8Array,q.Buf16=Uint16Array,q.Buf32=Int32Array,q.assign(q,Y)):(q.Buf8=Array,q.Buf16=Array,q.Buf32=Array,q.assign(q,x))},q.setTyped(ee)},{}],42:[function(B,De,q){"use strict";var ee=B("./common"),Y=!0,x=!0;try{String.fromCharCode.apply(null,[0])}catch(D){Y=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(D){x=!1}for(var Z=new ee.Buf8(256),c=0;c<256;c++)Z[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function L(D,U){if(U<65537&&(D.subarray&&x||!D.subarray&&Y))return String.fromCharCode.apply(null,ee.shrinkBuf(D,U));for(var F="",_=0;_<U;_++)F+=String.fromCharCode(D[_]);return F}Z[254]=Z[254]=1,q.string2buf=function(D){var U,F,_,I,z,O=D.length,A=0;for(I=0;I<O;I++)(64512&(F=D.charCodeAt(I)))==55296&&I+1<O&&(64512&(_=D.charCodeAt(I+1)))==56320&&(F=65536+(F-55296<<10)+(_-56320),I++),A+=F<128?1:F<2048?2:F<65536?3:4;for(U=new ee.Buf8(A),I=z=0;z<A;I++)(64512&(F=D.charCodeAt(I)))==55296&&I+1<O&&(64512&(_=D.charCodeAt(I+1)))==56320&&(F=65536+(F-55296<<10)+(_-56320),I++),F<128?U[z++]=F:(F<2048?U[z++]=192|F>>>6:(F<65536?U[z++]=224|F>>>12:(U[z++]=240|F>>>18,U[z++]=128|F>>>12&63),U[z++]=128|F>>>6&63),U[z++]=128|63&F);return U},q.buf2binstring=function(D){return L(D,D.length)},q.binstring2buf=function(D){for(var U=new ee.Buf8(D.length),F=0,_=U.length;F<_;F++)U[F]=D.charCodeAt(F);return U},q.buf2string=function(D,U){var F,_,I,z,O=U||D.length,A=new Array(2*O);for(F=_=0;F<O;)if((I=D[F++])<128)A[_++]=I;else if(4<(z=Z[I]))A[_++]=65533,F+=z-1;else{for(I&=z===2?31:z===3?15:7;1<z&&F<O;)I=I<<6|63&D[F++],z--;1<z?A[_++]=65533:I<65536?A[_++]=I:(I-=65536,A[_++]=55296|I>>10&1023,A[_++]=56320|1023&I)}return L(A,_)},q.utf8border=function(D,U){var F;for((U=U||D.length)>D.length&&(U=D.length),F=U-1;0<=F&&(192&D[F])==128;)F--;return F<0||F===0?U:F+Z[D[F]]>U?F:U}},{"./common":41}],43:[function(B,De,q){"use strict";De.exports=function(ee,Y,x,Z){for(var c=65535&ee|0,L=ee>>>16&65535|0,D=0;x!==0;){for(x-=D=2e3<x?2e3:x;L=L+(c=c+Y[Z++]|0)|0,--D;);c%=65521,L%=65521}return c|L<<16|0}},{}],44:[function(B,De,q){"use strict";De.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(B,De,q){"use strict";var ee=function(){for(var Y,x=[],Z=0;Z<256;Z++){Y=Z;for(var c=0;c<8;c++)Y=1&Y?3988292384^Y>>>1:Y>>>1;x[Z]=Y}return x}();De.exports=function(Y,x,Z,c){var L=ee,D=c+Z;Y^=-1;for(var U=c;U<D;U++)Y=Y>>>8^L[255&(Y^x[U])];return-1^Y}},{}],46:[function(B,De,q){"use strict";var ee,Y=B("../utils/common"),x=B("./trees"),Z=B("./adler32"),c=B("./crc32"),L=B("./messages"),D=0,U=4,F=0,_=-2,I=-1,z=4,O=2,A=8,oe=9,J=286,te=30,Ee=19,Pe=2*J+1,et=15,ke=3,xe=258,Ce=xe+ke+1,se=42,Se=113,T=1,P=2,nt=3,de=4;function ce(M,_e){return M.msg=L[_e],_e}function y(M){return(M<<1)-(4<M?9:0)}function K(M){for(var _e=M.length;0<=--_e;)M[_e]=0}function R(M){var _e=M.state,ge=_e.pending;ge>M.avail_out&&(ge=M.avail_out),ge!==0&&(Y.arraySet(M.output,_e.pending_buf,_e.pending_out,ge,M.next_out),M.next_out+=ge,_e.pending_out+=ge,M.total_out+=ge,M.avail_out-=ge,_e.pending-=ge,_e.pending===0&&(_e.pending_out=0))}function S(M,_e){x._tr_flush_block(M,0<=M.block_start?M.block_start:-1,M.strstart-M.block_start,_e),M.block_start=M.strstart,R(M.strm)}function X(M,_e){M.pending_buf[M.pending++]=_e}function He(M,_e){M.pending_buf[M.pending++]=_e>>>8&255,M.pending_buf[M.pending++]=255&_e}function pe(M,_e){var ge,ue,fe=M.max_chain_length,me=M.strstart,Ie=M.prev_length,ye=M.nice_match,Be=M.strstart>M.w_size-Ce?M.strstart-(M.w_size-Ce):0,Ye=M.window,xt=M.w_mask,$t=M.prev,Xt=M.strstart+xe,Ut=Ye[me+Ie-1],jt=Ye[me+Ie];M.prev_length>=M.good_match&&(fe>>=2),ye>M.lookahead&&(ye=M.lookahead);do if(Ye[(ge=_e)+Ie]===jt&&Ye[ge+Ie-1]===Ut&&Ye[ge]===Ye[me]&&Ye[++ge]===Ye[me+1]){me+=2,ge++;do;while(Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&Ye[++me]===Ye[++ge]&&me<Xt);if(ue=xe-(Xt-me),me=Xt-xe,Ie<ue){if(M.match_start=_e,ye<=(Ie=ue))break;Ut=Ye[me+Ie-1],jt=Ye[me+Ie]}}while((_e=$t[_e&xt])>Be&&--fe!=0);return Ie<=M.lookahead?Ie:M.lookahead}function Ze(M){var _e,ge,ue,fe,me,Ie,ye,Be,Ye,xt,$t=M.w_size;do{if(fe=M.window_size-M.lookahead-M.strstart,M.strstart>=$t+($t-Ce)){for(Y.arraySet(M.window,M.window,$t,$t,0),M.match_start-=$t,M.strstart-=$t,M.block_start-=$t,_e=ge=M.hash_size;ue=M.head[--_e],M.head[_e]=$t<=ue?ue-$t:0,--ge;);for(_e=ge=$t;ue=M.prev[--_e],M.prev[_e]=$t<=ue?ue-$t:0,--ge;);fe+=$t}if(M.strm.avail_in===0)break;if(Ie=M.strm,ye=M.window,Be=M.strstart+M.lookahead,Ye=fe,xt=void 0,xt=Ie.avail_in,Ye<xt&&(xt=Ye),ge=xt===0?0:(Ie.avail_in-=xt,Y.arraySet(ye,Ie.input,Ie.next_in,xt,Be),Ie.state.wrap===1?Ie.adler=Z(Ie.adler,ye,xt,Be):Ie.state.wrap===2&&(Ie.adler=c(Ie.adler,ye,xt,Be)),Ie.next_in+=xt,Ie.total_in+=xt,xt),M.lookahead+=ge,M.lookahead+M.insert>=ke)for(me=M.strstart-M.insert,M.ins_h=M.window[me],M.ins_h=(M.ins_h<<M.hash_shift^M.window[me+1])&M.hash_mask;M.insert&&(M.ins_h=(M.ins_h<<M.hash_shift^M.window[me+ke-1])&M.hash_mask,M.prev[me&M.w_mask]=M.head[M.ins_h],M.head[M.ins_h]=me,me++,M.insert--,!(M.lookahead+M.insert<ke)););}while(M.lookahead<Ce&&M.strm.avail_in!==0)}function ot(M,_e){for(var ge,ue;;){if(M.lookahead<Ce){if(Ze(M),M.lookahead<Ce&&_e===D)return T;if(M.lookahead===0)break}if(ge=0,M.lookahead>=ke&&(M.ins_h=(M.ins_h<<M.hash_shift^M.window[M.strstart+ke-1])&M.hash_mask,ge=M.prev[M.strstart&M.w_mask]=M.head[M.ins_h],M.head[M.ins_h]=M.strstart),ge!==0&&M.strstart-ge<=M.w_size-Ce&&(M.match_length=pe(M,ge)),M.match_length>=ke)if(ue=x._tr_tally(M,M.strstart-M.match_start,M.match_length-ke),M.lookahead-=M.match_length,M.match_length<=M.max_lazy_match&&M.lookahead>=ke){for(M.match_length--;M.strstart++,M.ins_h=(M.ins_h<<M.hash_shift^M.window[M.strstart+ke-1])&M.hash_mask,ge=M.prev[M.strstart&M.w_mask]=M.head[M.ins_h],M.head[M.ins_h]=M.strstart,--M.match_length!=0;);M.strstart++}else M.strstart+=M.match_length,M.match_length=0,M.ins_h=M.window[M.strstart],M.ins_h=(M.ins_h<<M.hash_shift^M.window[M.strstart+1])&M.hash_mask;else ue=x._tr_tally(M,0,M.window[M.strstart]),M.lookahead--,M.strstart++;if(ue&&(S(M,!1),M.strm.avail_out===0))return T}return M.insert=M.strstart<ke-1?M.strstart:ke-1,_e===U?(S(M,!0),M.strm.avail_out===0?nt:de):M.last_lit&&(S(M,!1),M.strm.avail_out===0)?T:P}function ht(M,_e){for(var ge,ue,fe;;){if(M.lookahead<Ce){if(Ze(M),M.lookahead<Ce&&_e===D)return T;if(M.lookahead===0)break}if(ge=0,M.lookahead>=ke&&(M.ins_h=(M.ins_h<<M.hash_shift^M.window[M.strstart+ke-1])&M.hash_mask,ge=M.prev[M.strstart&M.w_mask]=M.head[M.ins_h],M.head[M.ins_h]=M.strstart),M.prev_length=M.match_length,M.prev_match=M.match_start,M.match_length=ke-1,ge!==0&&M.prev_length<M.max_lazy_match&&M.strstart-ge<=M.w_size-Ce&&(M.match_length=pe(M,ge),M.match_length<=5&&(M.strategy===1||M.match_length===ke&&4096<M.strstart-M.match_start)&&(M.match_length=ke-1)),M.prev_length>=ke&&M.match_length<=M.prev_length){for(fe=M.strstart+M.lookahead-ke,ue=x._tr_tally(M,M.strstart-1-M.prev_match,M.prev_length-ke),M.lookahead-=M.prev_length-1,M.prev_length-=2;++M.strstart<=fe&&(M.ins_h=(M.ins_h<<M.hash_shift^M.window[M.strstart+ke-1])&M.hash_mask,ge=M.prev[M.strstart&M.w_mask]=M.head[M.ins_h],M.head[M.ins_h]=M.strstart),--M.prev_length!=0;);if(M.match_available=0,M.match_length=ke-1,M.strstart++,ue&&(S(M,!1),M.strm.avail_out===0))return T}else if(M.match_available){if((ue=x._tr_tally(M,0,M.window[M.strstart-1]))&&S(M,!1),M.strstart++,M.lookahead--,M.strm.avail_out===0)return T}else M.match_available=1,M.strstart++,M.lookahead--}return M.match_available&&(ue=x._tr_tally(M,0,M.window[M.strstart-1]),M.match_available=0),M.insert=M.strstart<ke-1?M.strstart:ke-1,_e===U?(S(M,!0),M.strm.avail_out===0?nt:de):M.last_lit&&(S(M,!1),M.strm.avail_out===0)?T:P}function he(M,_e,ge,ue,fe){this.good_length=M,this.max_lazy=_e,this.nice_length=ge,this.max_chain=ue,this.func=fe}function Le(){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=A,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 Y.Buf16(2*Pe),this.dyn_dtree=new Y.Buf16(2*(2*te+1)),this.bl_tree=new Y.Buf16(2*(2*Ee+1)),K(this.dyn_ltree),K(this.dyn_dtree),K(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Y.Buf16(et+1),this.heap=new Y.Buf16(2*J+1),K(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Y.Buf16(2*J+1),K(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 St(M){var _e;return M&&M.state?(M.total_in=M.total_out=0,M.data_type=O,(_e=M.state).pending=0,_e.pending_out=0,_e.wrap<0&&(_e.wrap=-_e.wrap),_e.status=_e.wrap?se:Se,M.adler=_e.wrap===2?0:1,_e.last_flush=D,x._tr_init(_e),F):ce(M,_)}function We(M){var _e=St(M);return _e===F&&function(ge){ge.window_size=2*ge.w_size,K(ge.head),ge.max_lazy_match=ee[ge.level].max_lazy,ge.good_match=ee[ge.level].good_length,ge.nice_match=ee[ge.level].nice_length,ge.max_chain_length=ee[ge.level].max_chain,ge.strstart=0,ge.block_start=0,ge.lookahead=0,ge.insert=0,ge.match_length=ge.prev_length=ke-1,ge.match_available=0,ge.ins_h=0}(M.state),_e}function Re(M,_e,ge,ue,fe,me){if(!M)return _;var Ie=1;if(_e===I&&(_e=6),ue<0?(Ie=0,ue=-ue):15<ue&&(Ie=2,ue-=16),fe<1||oe<fe||ge!==A||ue<8||15<ue||_e<0||9<_e||me<0||z<me)return ce(M,_);ue===8&&(ue=9);var ye=new Le;return(M.state=ye).strm=M,ye.wrap=Ie,ye.gzhead=null,ye.w_bits=ue,ye.w_size=1<<ye.w_bits,ye.w_mask=ye.w_size-1,ye.hash_bits=fe+7,ye.hash_size=1<<ye.hash_bits,ye.hash_mask=ye.hash_size-1,ye.hash_shift=~~((ye.hash_bits+ke-1)/ke),ye.window=new Y.Buf8(2*ye.w_size),ye.head=new Y.Buf16(ye.hash_size),ye.prev=new Y.Buf16(ye.w_size),ye.lit_bufsize=1<<fe+6,ye.pending_buf_size=4*ye.lit_bufsize,ye.pending_buf=new Y.Buf8(ye.pending_buf_size),ye.d_buf=1*ye.lit_bufsize,ye.l_buf=3*ye.lit_bufsize,ye.level=_e,ye.strategy=me,ye.method=ge,We(M)}ee=[new he(0,0,0,0,function(M,_e){var ge=65535;for(ge>M.pending_buf_size-5&&(ge=M.pending_buf_size-5);;){if(M.lookahead<=1){if(Ze(M),M.lookahead===0&&_e===D)return T;if(M.lookahead===0)break}M.strstart+=M.lookahead,M.lookahead=0;var ue=M.block_start+ge;if((M.strstart===0||M.strstart>=ue)&&(M.lookahead=M.strstart-ue,M.strstart=ue,S(M,!1),M.strm.avail_out===0)||M.strstart-M.block_start>=M.w_size-Ce&&(S(M,!1),M.strm.avail_out===0))return T}return M.insert=0,_e===U?(S(M,!0),M.strm.avail_out===0?nt:de):(M.strstart>M.block_start&&(S(M,!1),M.strm.avail_out),T)}),new he(4,4,8,4,ot),new he(4,5,16,8,ot),new he(4,6,32,32,ot),new he(4,4,16,16,ht),new he(8,16,32,32,ht),new he(8,16,128,128,ht),new he(8,32,128,256,ht),new he(32,128,258,1024,ht),new he(32,258,258,4096,ht)],q.deflateInit=function(M,_e){return Re(M,_e,A,15,8,0)},q.deflateInit2=Re,q.deflateReset=We,q.deflateResetKeep=St,q.deflateSetHeader=function(M,_e){return M&&M.state?M.state.wrap!==2?_:(M.state.gzhead=_e,F):_},q.deflate=function(M,_e){var ge,ue,fe,me;if(!M||!M.state||5<_e||_e<0)return M?ce(M,_):_;if(ue=M.state,!M.output||!M.input&&M.avail_in!==0||ue.status===666&&_e!==U)return ce(M,M.avail_out===0?-5:_);if(ue.strm=M,ge=ue.last_flush,ue.last_flush=_e,ue.status===se)if(ue.wrap===2)M.adler=0,X(ue,31),X(ue,139),X(ue,8),ue.gzhead?(X(ue,(ue.gzhead.text?1:0)+(ue.gzhead.hcrc?2:0)+(ue.gzhead.extra?4:0)+(ue.gzhead.name?8:0)+(ue.gzhead.comment?16:0)),X(ue,255&ue.gzhead.time),X(ue,ue.gzhead.time>>8&255),X(ue,ue.gzhead.time>>16&255),X(ue,ue.gzhead.time>>24&255),X(ue,ue.level===9?2:2<=ue.strategy||ue.level<2?4:0),X(ue,255&ue.gzhead.os),ue.gzhead.extra&&ue.gzhead.extra.length&&(X(ue,255&ue.gzhead.extra.length),X(ue,ue.gzhead.extra.length>>8&255)),ue.gzhead.hcrc&&(M.adler=c(M.adler,ue.pending_buf,ue.pending,0)),ue.gzindex=0,ue.status=69):(X(ue,0),X(ue,0),X(ue,0),X(ue,0),X(ue,0),X(ue,ue.level===9?2:2<=ue.strategy||ue.level<2?4:0),X(ue,3),ue.status=Se);else{var Ie=A+(ue.w_bits-8<<4)<<8;Ie|=(2<=ue.strategy||ue.level<2?0:ue.level<6?1:ue.level===6?2:3)<<6,ue.strstart!==0&&(Ie|=32),Ie+=31-Ie%31,ue.status=Se,He(ue,Ie),ue.strstart!==0&&(He(ue,M.adler>>>16),He(ue,65535&M.adler)),M.adler=1}if(ue.status===69)if(ue.gzhead.extra){for(fe=ue.pending;ue.gzindex<(65535&ue.gzhead.extra.length)&&(ue.pending!==ue.pending_buf_size||(ue.gzhead.hcrc&&ue.pending>fe&&(M.adler=c(M.adler,ue.pending_buf,ue.pending-fe,fe)),R(M),fe=ue.pending,ue.pending!==ue.pending_buf_size));)X(ue,255&ue.gzhead.extra[ue.gzindex]),ue.gzindex++;ue.gzhead.hcrc&&ue.pending>fe&&(M.adler=c(M.adler,ue.pending_buf,ue.pending-fe,fe)),ue.gzindex===ue.gzhead.extra.length&&(ue.gzindex=0,ue.status=73)}else ue.status=73;if(ue.status===73)if(ue.gzhead.name){fe=ue.pending;do{if(ue.pending===ue.pending_buf_size&&(ue.gzhead.hcrc&&ue.pending>fe&&(M.adler=c(M.adler,ue.pending_buf,ue.pending-fe,fe)),R(M),fe=ue.pending,ue.pending===ue.pending_buf_size)){me=1;break}me=ue.gzindex<ue.gzhead.name.length?255&ue.gzhead.name.charCodeAt(ue.gzindex++):0,X(ue,me)}while(me!==0);ue.gzhead.hcrc&&ue.pending>fe&&(M.adler=c(M.adler,ue.pending_buf,ue.pending-fe,fe)),me===0&&(ue.gzindex=0,ue.status=91)}else ue.status=91;if(ue.status===91)if(ue.gzhead.comment){fe=ue.pending;do{if(ue.pending===ue.pending_buf_size&&(ue.gzhead.hcrc&&ue.pending>fe&&(M.adler=c(M.adler,ue.pending_buf,ue.pending-fe,fe)),R(M),fe=ue.pending,ue.pending===ue.pending_buf_size)){me=1;break}me=ue.gzindex<ue.gzhead.comment.length?255&ue.gzhead.comment.charCodeAt(ue.gzindex++):0,X(ue,me)}while(me!==0);ue.gzhead.hcrc&&ue.pending>fe&&(M.adler=c(M.adler,ue.pending_buf,ue.pending-fe,fe)),me===0&&(ue.status=103)}else ue.status=103;if(ue.status===103&&(ue.gzhead.hcrc?(ue.pending+2>ue.pending_buf_size&&R(M),ue.pending+2<=ue.pending_buf_size&&(X(ue,255&M.adler),X(ue,M.adler>>8&255),M.adler=0,ue.status=Se)):ue.status=Se),ue.pending!==0){if(R(M),M.avail_out===0)return ue.last_flush=-1,F}else if(M.avail_in===0&&y(_e)<=y(ge)&&_e!==U)return ce(M,-5);if(ue.status===666&&M.avail_in!==0)return ce(M,-5);if(M.avail_in!==0||ue.lookahead!==0||_e!==D&&ue.status!==666){var ye=ue.strategy===2?function(Be,Ye){for(var xt;;){if(Be.lookahead===0&&(Ze(Be),Be.lookahead===0)){if(Ye===D)return T;break}if(Be.match_length=0,xt=x._tr_tally(Be,0,Be.window[Be.strstart]),Be.lookahead--,Be.strstart++,xt&&(S(Be,!1),Be.strm.avail_out===0))return T}return Be.insert=0,Ye===U?(S(Be,!0),Be.strm.avail_out===0?nt:de):Be.last_lit&&(S(Be,!1),Be.strm.avail_out===0)?T:P}(ue,_e):ue.strategy===3?function(Be,Ye){for(var xt,$t,Xt,Ut,jt=Be.window;;){if(Be.lookahead<=xe){if(Ze(Be),Be.lookahead<=xe&&Ye===D)return T;if(Be.lookahead===0)break}if(Be.match_length=0,Be.lookahead>=ke&&0<Be.strstart&&($t=jt[Xt=Be.strstart-1])===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]){Ut=Be.strstart+xe;do;while($t===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]&&$t===jt[++Xt]&&Xt<Ut);Be.match_length=xe-(Ut-Xt),Be.match_length>Be.lookahead&&(Be.match_length=Be.lookahead)}if(Be.match_length>=ke?(xt=x._tr_tally(Be,1,Be.match_length-ke),Be.lookahead-=Be.match_length,Be.strstart+=Be.match_length,Be.match_length=0):(xt=x._tr_tally(Be,0,Be.window[Be.strstart]),Be.lookahead--,Be.strstart++),xt&&(S(Be,!1),Be.strm.avail_out===0))return T}return Be.insert=0,Ye===U?(S(Be,!0),Be.strm.avail_out===0?nt:de):Be.last_lit&&(S(Be,!1),Be.strm.avail_out===0)?T:P}(ue,_e):ee[ue.level].func(ue,_e);if(ye!==nt&&ye!==de||(ue.status=666),ye===T||ye===nt)return M.avail_out===0&&(ue.last_flush=-1),F;if(ye===P&&(_e===1?x._tr_align(ue):_e!==5&&(x._tr_stored_block(ue,0,0,!1),_e===3&&(K(ue.head),ue.lookahead===0&&(ue.strstart=0,ue.block_start=0,ue.insert=0))),R(M),M.avail_out===0))return ue.last_flush=-1,F}return _e!==U?F:ue.wrap<=0?1:(ue.wrap===2?(X(ue,255&M.adler),X(ue,M.adler>>8&255),X(ue,M.adler>>16&255),X(ue,M.adler>>24&255),X(ue,255&M.total_in),X(ue,M.total_in>>8&255),X(ue,M.total_in>>16&255),X(ue,M.total_in>>24&255)):(He(ue,M.adler>>>16),He(ue,65535&M.adler)),R(M),0<ue.wrap&&(ue.wrap=-ue.wrap),ue.pending!==0?F:1)},q.deflateEnd=function(M){var _e;return M&&M.state?(_e=M.state.status)!==se&&_e!==69&&_e!==73&&_e!==91&&_e!==103&&_e!==Se&&_e!==666?ce(M,_):(M.state=null,_e===Se?ce(M,-3):F):_},q.deflateSetDictionary=function(M,_e){var ge,ue,fe,me,Ie,ye,Be,Ye,xt=_e.length;if(!M||!M.state||(me=(ge=M.state).wrap)===2||me===1&&ge.status!==se||ge.lookahead)return _;for(me===1&&(M.adler=Z(M.adler,_e,xt,0)),ge.wrap=0,xt>=ge.w_size&&(me===0&&(K(ge.head),ge.strstart=0,ge.block_start=0,ge.insert=0),Ye=new Y.Buf8(ge.w_size),Y.arraySet(Ye,_e,xt-ge.w_size,ge.w_size,0),_e=Ye,xt=ge.w_size),Ie=M.avail_in,ye=M.next_in,Be=M.input,M.avail_in=xt,M.next_in=0,M.input=_e,Ze(ge);ge.lookahead>=ke;){for(ue=ge.strstart,fe=ge.lookahead-(ke-1);ge.ins_h=(ge.ins_h<<ge.hash_shift^ge.window[ue+ke-1])&ge.hash_mask,ge.prev[ue&ge.w_mask]=ge.head[ge.ins_h],ge.head[ge.ins_h]=ue,ue++,--fe;);ge.strstart=ue,ge.lookahead=ke-1,Ze(ge)}return ge.strstart+=ge.lookahead,ge.block_start=ge.strstart,ge.insert=ge.lookahead,ge.lookahead=0,ge.match_length=ge.prev_length=ke-1,ge.match_available=0,M.next_in=ye,M.input=Be,M.avail_in=Ie,ge.wrap=me,F},q.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(B,De,q){"use strict";De.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(B,De,q){"use strict";De.exports=function(ee,Y){var x,Z,c,L,D,U,F,_,I,z,O,A,oe,J,te,Ee,Pe,et,ke,xe,Ce,se,Se,T,P;x=ee.state,Z=ee.next_in,T=ee.input,c=Z+(ee.avail_in-5),L=ee.next_out,P=ee.output,D=L-(Y-ee.avail_out),U=L+(ee.avail_out-257),F=x.dmax,_=x.wsize,I=x.whave,z=x.wnext,O=x.window,A=x.hold,oe=x.bits,J=x.lencode,te=x.distcode,Ee=(1<<x.lenbits)-1,Pe=(1<<x.distbits)-1;e:do{oe<15&&(A+=T[Z++]<<oe,oe+=8,A+=T[Z++]<<oe,oe+=8),et=J[A&Ee];t:for(;;){if(A>>>=ke=et>>>24,oe-=ke,(ke=et>>>16&255)===0)P[L++]=65535&et;else{if(!(16&ke)){if(!(64&ke)){et=J[(65535&et)+(A&(1<<ke)-1)];continue t}if(32&ke){x.mode=12;break e}ee.msg="invalid literal/length code",x.mode=30;break e}xe=65535&et,(ke&=15)&&(oe<ke&&(A+=T[Z++]<<oe,oe+=8),xe+=A&(1<<ke)-1,A>>>=ke,oe-=ke),oe<15&&(A+=T[Z++]<<oe,oe+=8,A+=T[Z++]<<oe,oe+=8),et=te[A&Pe];r:for(;;){if(A>>>=ke=et>>>24,oe-=ke,!(16&(ke=et>>>16&255))){if(!(64&ke)){et=te[(65535&et)+(A&(1<<ke)-1)];continue r}ee.msg="invalid distance code",x.mode=30;break e}if(Ce=65535&et,oe<(ke&=15)&&(A+=T[Z++]<<oe,(oe+=8)<ke&&(A+=T[Z++]<<oe,oe+=8)),F<(Ce+=A&(1<<ke)-1)){ee.msg="invalid distance too far back",x.mode=30;break e}if(A>>>=ke,oe-=ke,(ke=L-D)<Ce){if(I<(ke=Ce-ke)&&x.sane){ee.msg="invalid distance too far back",x.mode=30;break e}if(Se=O,(se=0)===z){if(se+=_-ke,ke<xe){for(xe-=ke;P[L++]=O[se++],--ke;);se=L-Ce,Se=P}}else if(z<ke){if(se+=_+z-ke,(ke-=z)<xe){for(xe-=ke;P[L++]=O[se++],--ke;);if(se=0,z<xe){for(xe-=ke=z;P[L++]=O[se++],--ke;);se=L-Ce,Se=P}}}else if(se+=z-ke,ke<xe){for(xe-=ke;P[L++]=O[se++],--ke;);se=L-Ce,Se=P}for(;2<xe;)P[L++]=Se[se++],P[L++]=Se[se++],P[L++]=Se[se++],xe-=3;xe&&(P[L++]=Se[se++],1<xe&&(P[L++]=Se[se++]))}else{for(se=L-Ce;P[L++]=P[se++],P[L++]=P[se++],P[L++]=P[se++],2<(xe-=3););xe&&(P[L++]=P[se++],1<xe&&(P[L++]=P[se++]))}break}}break}}while(Z<c&&L<U);Z-=xe=oe>>3,A&=(1<<(oe-=xe<<3))-1,ee.next_in=Z,ee.next_out=L,ee.avail_in=Z<c?c-Z+5:5-(Z-c),ee.avail_out=L<U?U-L+257:257-(L-U),x.hold=A,x.bits=oe}},{}],49:[function(B,De,q){"use strict";var ee=B("../utils/common"),Y=B("./adler32"),x=B("./crc32"),Z=B("./inffast"),c=B("./inftrees"),L=1,D=2,U=0,F=-2,_=1,I=852,z=592;function O(se){return(se>>>24&255)+(se>>>8&65280)+((65280&se)<<8)+((255&se)<<24)}function A(){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 ee.Buf16(320),this.work=new ee.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function oe(se){var Se;return se&&se.state?(Se=se.state,se.total_in=se.total_out=Se.total=0,se.msg="",Se.wrap&&(se.adler=1&Se.wrap),Se.mode=_,Se.last=0,Se.havedict=0,Se.dmax=32768,Se.head=null,Se.hold=0,Se.bits=0,Se.lencode=Se.lendyn=new ee.Buf32(I),Se.distcode=Se.distdyn=new ee.Buf32(z),Se.sane=1,Se.back=-1,U):F}function J(se){var Se;return se&&se.state?((Se=se.state).wsize=0,Se.whave=0,Se.wnext=0,oe(se)):F}function te(se,Se){var T,P;return se&&se.state?(P=se.state,Se<0?(T=0,Se=-Se):(T=1+(Se>>4),Se<48&&(Se&=15)),Se&&(Se<8||15<Se)?F:(P.window!==null&&P.wbits!==Se&&(P.window=null),P.wrap=T,P.wbits=Se,J(se))):F}function Ee(se,Se){var T,P;return se?(P=new A,(se.state=P).window=null,(T=te(se,Se))!==U&&(se.state=null),T):F}var Pe,et,ke=!0;function xe(se){if(ke){var Se;for(Pe=new ee.Buf32(512),et=new ee.Buf32(32),Se=0;Se<144;)se.lens[Se++]=8;for(;Se<256;)se.lens[Se++]=9;for(;Se<280;)se.lens[Se++]=7;for(;Se<288;)se.lens[Se++]=8;for(c(L,se.lens,0,288,Pe,0,se.work,{bits:9}),Se=0;Se<32;)se.lens[Se++]=5;c(D,se.lens,0,32,et,0,se.work,{bits:5}),ke=!1}se.lencode=Pe,se.lenbits=9,se.distcode=et,se.distbits=5}function Ce(se,Se,T,P){var nt,de=se.state;return de.window===null&&(de.wsize=1<<de.wbits,de.wnext=0,de.whave=0,de.window=new ee.Buf8(de.wsize)),P>=de.wsize?(ee.arraySet(de.window,Se,T-de.wsize,de.wsize,0),de.wnext=0,de.whave=de.wsize):(P<(nt=de.wsize-de.wnext)&&(nt=P),ee.arraySet(de.window,Se,T-P,nt,de.wnext),(P-=nt)?(ee.arraySet(de.window,Se,T-P,P,0),de.wnext=P,de.whave=de.wsize):(de.wnext+=nt,de.wnext===de.wsize&&(de.wnext=0),de.whave<de.wsize&&(de.whave+=nt))),0}q.inflateReset=J,q.inflateReset2=te,q.inflateResetKeep=oe,q.inflateInit=function(se){return Ee(se,15)},q.inflateInit2=Ee,q.inflate=function(se,Se){var T,P,nt,de,ce,y,K,R,S,X,He,pe,Ze,ot,ht,he,Le,St,We,Re,M,_e,ge,ue,fe=0,me=new ee.Buf8(4),Ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!se||!se.state||!se.output||!se.input&&se.avail_in!==0)return F;(T=se.state).mode===12&&(T.mode=13),ce=se.next_out,nt=se.output,K=se.avail_out,de=se.next_in,P=se.input,y=se.avail_in,R=T.hold,S=T.bits,X=y,He=K,_e=U;e:for(;;)switch(T.mode){case _:if(T.wrap===0){T.mode=13;break}for(;S<16;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(2&T.wrap&&R===35615){me[T.check=0]=255&R,me[1]=R>>>8&255,T.check=x(T.check,me,2,0),S=R=0,T.mode=2;break}if(T.flags=0,T.head&&(T.head.done=!1),!(1&T.wrap)||(((255&R)<<8)+(R>>8))%31){se.msg="incorrect header check",T.mode=30;break}if((15&R)!=8){se.msg="unknown compression method",T.mode=30;break}if(S-=4,M=8+(15&(R>>>=4)),T.wbits===0)T.wbits=M;else if(M>T.wbits){se.msg="invalid window size",T.mode=30;break}T.dmax=1<<M,se.adler=T.check=1,T.mode=512&R?10:12,S=R=0;break;case 2:for(;S<16;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(T.flags=R,(255&T.flags)!=8){se.msg="unknown compression method",T.mode=30;break}if(57344&T.flags){se.msg="unknown header flags set",T.mode=30;break}T.head&&(T.head.text=R>>8&1),512&T.flags&&(me[0]=255&R,me[1]=R>>>8&255,T.check=x(T.check,me,2,0)),S=R=0,T.mode=3;case 3:for(;S<32;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}T.head&&(T.head.time=R),512&T.flags&&(me[0]=255&R,me[1]=R>>>8&255,me[2]=R>>>16&255,me[3]=R>>>24&255,T.check=x(T.check,me,4,0)),S=R=0,T.mode=4;case 4:for(;S<16;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}T.head&&(T.head.xflags=255&R,T.head.os=R>>8),512&T.flags&&(me[0]=255&R,me[1]=R>>>8&255,T.check=x(T.check,me,2,0)),S=R=0,T.mode=5;case 5:if(1024&T.flags){for(;S<16;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}T.length=R,T.head&&(T.head.extra_len=R),512&T.flags&&(me[0]=255&R,me[1]=R>>>8&255,T.check=x(T.check,me,2,0)),S=R=0}else T.head&&(T.head.extra=null);T.mode=6;case 6:if(1024&T.flags&&(y<(pe=T.length)&&(pe=y),pe&&(T.head&&(M=T.head.extra_len-T.length,T.head.extra||(T.head.extra=new Array(T.head.extra_len)),ee.arraySet(T.head.extra,P,de,pe,M)),512&T.flags&&(T.check=x(T.check,P,pe,de)),y-=pe,de+=pe,T.length-=pe),T.length))break e;T.length=0,T.mode=7;case 7:if(2048&T.flags){if(y===0)break e;for(pe=0;M=P[de+pe++],T.head&&M&&T.length<65536&&(T.head.name+=String.fromCharCode(M)),M&&pe<y;);if(512&T.flags&&(T.check=x(T.check,P,pe,de)),y-=pe,de+=pe,M)break e}else T.head&&(T.head.name=null);T.length=0,T.mode=8;case 8:if(4096&T.flags){if(y===0)break e;for(pe=0;M=P[de+pe++],T.head&&M&&T.length<65536&&(T.head.comment+=String.fromCharCode(M)),M&&pe<y;);if(512&T.flags&&(T.check=x(T.check,P,pe,de)),y-=pe,de+=pe,M)break e}else T.head&&(T.head.comment=null);T.mode=9;case 9:if(512&T.flags){for(;S<16;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(R!==(65535&T.check)){se.msg="header crc mismatch",T.mode=30;break}S=R=0}T.head&&(T.head.hcrc=T.flags>>9&1,T.head.done=!0),se.adler=T.check=0,T.mode=12;break;case 10:for(;S<32;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}se.adler=T.check=O(R),S=R=0,T.mode=11;case 11:if(T.havedict===0)return se.next_out=ce,se.avail_out=K,se.next_in=de,se.avail_in=y,T.hold=R,T.bits=S,2;se.adler=T.check=1,T.mode=12;case 12:if(Se===5||Se===6)break e;case 13:if(T.last){R>>>=7&S,S-=7&S,T.mode=27;break}for(;S<3;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}switch(T.last=1&R,S-=1,3&(R>>>=1)){case 0:T.mode=14;break;case 1:if(xe(T),T.mode=20,Se!==6)break;R>>>=2,S-=2;break e;case 2:T.mode=17;break;case 3:se.msg="invalid block type",T.mode=30}R>>>=2,S-=2;break;case 14:for(R>>>=7&S,S-=7&S;S<32;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if((65535&R)!=(R>>>16^65535)){se.msg="invalid stored block lengths",T.mode=30;break}if(T.length=65535&R,S=R=0,T.mode=15,Se===6)break e;case 15:T.mode=16;case 16:if(pe=T.length){if(y<pe&&(pe=y),K<pe&&(pe=K),pe===0)break e;ee.arraySet(nt,P,de,pe,ce),y-=pe,de+=pe,K-=pe,ce+=pe,T.length-=pe;break}T.mode=12;break;case 17:for(;S<14;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(T.nlen=257+(31&R),R>>>=5,S-=5,T.ndist=1+(31&R),R>>>=5,S-=5,T.ncode=4+(15&R),R>>>=4,S-=4,286<T.nlen||30<T.ndist){se.msg="too many length or distance symbols",T.mode=30;break}T.have=0,T.mode=18;case 18:for(;T.have<T.ncode;){for(;S<3;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}T.lens[Ie[T.have++]]=7&R,R>>>=3,S-=3}for(;T.have<19;)T.lens[Ie[T.have++]]=0;if(T.lencode=T.lendyn,T.lenbits=7,ge={bits:T.lenbits},_e=c(0,T.lens,0,19,T.lencode,0,T.work,ge),T.lenbits=ge.bits,_e){se.msg="invalid code lengths set",T.mode=30;break}T.have=0,T.mode=19;case 19:for(;T.have<T.nlen+T.ndist;){for(;he=(fe=T.lencode[R&(1<<T.lenbits)-1])>>>16&255,Le=65535&fe,!((ht=fe>>>24)<=S);){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(Le<16)R>>>=ht,S-=ht,T.lens[T.have++]=Le;else{if(Le===16){for(ue=ht+2;S<ue;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(R>>>=ht,S-=ht,T.have===0){se.msg="invalid bit length repeat",T.mode=30;break}M=T.lens[T.have-1],pe=3+(3&R),R>>>=2,S-=2}else if(Le===17){for(ue=ht+3;S<ue;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}S-=ht,M=0,pe=3+(7&(R>>>=ht)),R>>>=3,S-=3}else{for(ue=ht+7;S<ue;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}S-=ht,M=0,pe=11+(127&(R>>>=ht)),R>>>=7,S-=7}if(T.have+pe>T.nlen+T.ndist){se.msg="invalid bit length repeat",T.mode=30;break}for(;pe--;)T.lens[T.have++]=M}}if(T.mode===30)break;if(T.lens[256]===0){se.msg="invalid code -- missing end-of-block",T.mode=30;break}if(T.lenbits=9,ge={bits:T.lenbits},_e=c(L,T.lens,0,T.nlen,T.lencode,0,T.work,ge),T.lenbits=ge.bits,_e){se.msg="invalid literal/lengths set",T.mode=30;break}if(T.distbits=6,T.distcode=T.distdyn,ge={bits:T.distbits},_e=c(D,T.lens,T.nlen,T.ndist,T.distcode,0,T.work,ge),T.distbits=ge.bits,_e){se.msg="invalid distances set",T.mode=30;break}if(T.mode=20,Se===6)break e;case 20:T.mode=21;case 21:if(6<=y&&258<=K){se.next_out=ce,se.avail_out=K,se.next_in=de,se.avail_in=y,T.hold=R,T.bits=S,Z(se,He),ce=se.next_out,nt=se.output,K=se.avail_out,de=se.next_in,P=se.input,y=se.avail_in,R=T.hold,S=T.bits,T.mode===12&&(T.back=-1);break}for(T.back=0;he=(fe=T.lencode[R&(1<<T.lenbits)-1])>>>16&255,Le=65535&fe,!((ht=fe>>>24)<=S);){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(he&&!(240&he)){for(St=ht,We=he,Re=Le;he=(fe=T.lencode[Re+((R&(1<<St+We)-1)>>St)])>>>16&255,Le=65535&fe,!(St+(ht=fe>>>24)<=S);){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}R>>>=St,S-=St,T.back+=St}if(R>>>=ht,S-=ht,T.back+=ht,T.length=Le,he===0){T.mode=26;break}if(32&he){T.back=-1,T.mode=12;break}if(64&he){se.msg="invalid literal/length code",T.mode=30;break}T.extra=15&he,T.mode=22;case 22:if(T.extra){for(ue=T.extra;S<ue;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}T.length+=R&(1<<T.extra)-1,R>>>=T.extra,S-=T.extra,T.back+=T.extra}T.was=T.length,T.mode=23;case 23:for(;he=(fe=T.distcode[R&(1<<T.distbits)-1])>>>16&255,Le=65535&fe,!((ht=fe>>>24)<=S);){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(!(240&he)){for(St=ht,We=he,Re=Le;he=(fe=T.distcode[Re+((R&(1<<St+We)-1)>>St)])>>>16&255,Le=65535&fe,!(St+(ht=fe>>>24)<=S);){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}R>>>=St,S-=St,T.back+=St}if(R>>>=ht,S-=ht,T.back+=ht,64&he){se.msg="invalid distance code",T.mode=30;break}T.offset=Le,T.extra=15&he,T.mode=24;case 24:if(T.extra){for(ue=T.extra;S<ue;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}T.offset+=R&(1<<T.extra)-1,R>>>=T.extra,S-=T.extra,T.back+=T.extra}if(T.offset>T.dmax){se.msg="invalid distance too far back",T.mode=30;break}T.mode=25;case 25:if(K===0)break e;if(pe=He-K,T.offset>pe){if((pe=T.offset-pe)>T.whave&&T.sane){se.msg="invalid distance too far back",T.mode=30;break}Ze=pe>T.wnext?(pe-=T.wnext,T.wsize-pe):T.wnext-pe,pe>T.length&&(pe=T.length),ot=T.window}else ot=nt,Ze=ce-T.offset,pe=T.length;for(K<pe&&(pe=K),K-=pe,T.length-=pe;nt[ce++]=ot[Ze++],--pe;);T.length===0&&(T.mode=21);break;case 26:if(K===0)break e;nt[ce++]=T.length,K--,T.mode=21;break;case 27:if(T.wrap){for(;S<32;){if(y===0)break e;y--,R|=P[de++]<<S,S+=8}if(He-=K,se.total_out+=He,T.total+=He,He&&(se.adler=T.check=T.flags?x(T.check,nt,He,ce-He):Y(T.check,nt,He,ce-He)),He=K,(T.flags?R:O(R))!==T.check){se.msg="incorrect data check",T.mode=30;break}S=R=0}T.mode=28;case 28:if(T.wrap&&T.flags){for(;S<32;){if(y===0)break e;y--,R+=P[de++]<<S,S+=8}if(R!==(4294967295&T.total)){se.msg="incorrect length check",T.mode=30;break}S=R=0}T.mode=29;case 29:_e=1;break e;case 30:_e=-3;break e;case 31:return-4;case 32:default:return F}return se.next_out=ce,se.avail_out=K,se.next_in=de,se.avail_in=y,T.hold=R,T.bits=S,(T.wsize||He!==se.avail_out&&T.mode<30&&(T.mode<27||Se!==4))&&Ce(se,se.output,se.next_out,He-se.avail_out)?(T.mode=31,-4):(X-=se.avail_in,He-=se.avail_out,se.total_in+=X,se.total_out+=He,T.total+=He,T.wrap&&He&&(se.adler=T.check=T.flags?x(T.check,nt,He,se.next_out-He):Y(T.check,nt,He,se.next_out-He)),se.data_type=T.bits+(T.last?64:0)+(T.mode===12?128:0)+(T.mode===20||T.mode===15?256:0),(X==0&&He===0||Se===4)&&_e===U&&(_e=-5),_e)},q.inflateEnd=function(se){if(!se||!se.state)return F;var Se=se.state;return Se.window&&(Se.window=null),se.state=null,U},q.inflateGetHeader=function(se,Se){var T;return se&&se.state&&2&(T=se.state).wrap?((T.head=Se).done=!1,U):F},q.inflateSetDictionary=function(se,Se){var T,P=Se.length;return se&&se.state?(T=se.state).wrap!==0&&T.mode!==11?F:T.mode===11&&Y(1,Se,P,0)!==T.check?-3:Ce(se,Se,P,P)?(T.mode=31,-4):(T.havedict=1,U):F},q.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(B,De,q){"use strict";var ee=B("../utils/common"),Y=[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],x=[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],Z=[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],c=[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];De.exports=function(L,D,U,F,_,I,z,O){var A,oe,J,te,Ee,Pe,et,ke,xe,Ce=O.bits,se=0,Se=0,T=0,P=0,nt=0,de=0,ce=0,y=0,K=0,R=0,S=null,X=0,He=new ee.Buf16(16),pe=new ee.Buf16(16),Ze=null,ot=0;for(se=0;se<=15;se++)He[se]=0;for(Se=0;Se<F;Se++)He[D[U+Se]]++;for(nt=Ce,P=15;1<=P&&He[P]===0;P--);if(P<nt&&(nt=P),P===0)return _[I++]=20971520,_[I++]=20971520,O.bits=1,0;for(T=1;T<P&&He[T]===0;T++);for(nt<T&&(nt=T),se=y=1;se<=15;se++)if(y<<=1,(y-=He[se])<0)return-1;if(0<y&&(L===0||P!==1))return-1;for(pe[1]=0,se=1;se<15;se++)pe[se+1]=pe[se]+He[se];for(Se=0;Se<F;Se++)D[U+Se]!==0&&(z[pe[D[U+Se]]++]=Se);if(Pe=L===0?(S=Ze=z,19):L===1?(S=Y,X-=257,Ze=x,ot-=257,256):(S=Z,Ze=c,-1),se=T,Ee=I,ce=Se=R=0,J=-1,te=(K=1<<(de=nt))-1,L===1&&852<K||L===2&&592<K)return 1;for(;;){for(et=se-ce,xe=z[Se]<Pe?(ke=0,z[Se]):z[Se]>Pe?(ke=Ze[ot+z[Se]],S[X+z[Se]]):(ke=96,0),A=1<<se-ce,T=oe=1<<de;_[Ee+(R>>ce)+(oe-=A)]=et<<24|ke<<16|xe|0,oe!==0;);for(A=1<<se-1;R&A;)A>>=1;if(A!==0?(R&=A-1,R+=A):R=0,Se++,--He[se]==0){if(se===P)break;se=D[U+z[Se]]}if(nt<se&&(R&te)!==J){for(ce===0&&(ce=nt),Ee+=T,y=1<<(de=se-ce);de+ce<P&&!((y-=He[de+ce])<=0);)de++,y<<=1;if(K+=1<<de,L===1&&852<K||L===2&&592<K)return 1;_[J=R&te]=nt<<24|de<<16|Ee-I|0}}return R!==0&&(_[Ee+R]=se-ce<<24|64<<16|0),O.bits=nt,0}},{"../utils/common":41}],51:[function(B,De,q){"use strict";De.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(B,De,q){"use strict";var ee=B("../utils/common"),Y=0,x=1;function Z(fe){for(var me=fe.length;0<=--me;)fe[me]=0}var c=0,L=29,D=256,U=D+1+L,F=30,_=19,I=2*U+1,z=15,O=16,A=7,oe=256,J=16,te=17,Ee=18,Pe=[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],et=[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],ke=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],xe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ce=new Array(2*(U+2));Z(Ce);var se=new Array(2*F);Z(se);var Se=new Array(512);Z(Se);var T=new Array(256);Z(T);var P=new Array(L);Z(P);var nt,de,ce,y=new Array(F);function K(fe,me,Ie,ye,Be){this.static_tree=fe,this.extra_bits=me,this.extra_base=Ie,this.elems=ye,this.max_length=Be,this.has_stree=fe&&fe.length}function R(fe,me){this.dyn_tree=fe,this.max_code=0,this.stat_desc=me}function S(fe){return fe<256?Se[fe]:Se[256+(fe>>>7)]}function X(fe,me){fe.pending_buf[fe.pending++]=255&me,fe.pending_buf[fe.pending++]=me>>>8&255}function He(fe,me,Ie){fe.bi_valid>O-Ie?(fe.bi_buf|=me<<fe.bi_valid&65535,X(fe,fe.bi_buf),fe.bi_buf=me>>O-fe.bi_valid,fe.bi_valid+=Ie-O):(fe.bi_buf|=me<<fe.bi_valid&65535,fe.bi_valid+=Ie)}function pe(fe,me,Ie){He(fe,Ie[2*me],Ie[2*me+1])}function Ze(fe,me){for(var Ie=0;Ie|=1&fe,fe>>>=1,Ie<<=1,0<--me;);return Ie>>>1}function ot(fe,me,Ie){var ye,Be,Ye=new Array(z+1),xt=0;for(ye=1;ye<=z;ye++)Ye[ye]=xt=xt+Ie[ye-1]<<1;for(Be=0;Be<=me;Be++){var $t=fe[2*Be+1];$t!==0&&(fe[2*Be]=Ze(Ye[$t]++,$t))}}function ht(fe){var me;for(me=0;me<U;me++)fe.dyn_ltree[2*me]=0;for(me=0;me<F;me++)fe.dyn_dtree[2*me]=0;for(me=0;me<_;me++)fe.bl_tree[2*me]=0;fe.dyn_ltree[2*oe]=1,fe.opt_len=fe.static_len=0,fe.last_lit=fe.matches=0}function he(fe){8<fe.bi_valid?X(fe,fe.bi_buf):0<fe.bi_valid&&(fe.pending_buf[fe.pending++]=fe.bi_buf),fe.bi_buf=0,fe.bi_valid=0}function Le(fe,me,Ie,ye){var Be=2*me,Ye=2*Ie;return fe[Be]<fe[Ye]||fe[Be]===fe[Ye]&&ye[me]<=ye[Ie]}function St(fe,me,Ie){for(var ye=fe.heap[Ie],Be=Ie<<1;Be<=fe.heap_len&&(Be<fe.heap_len&&Le(me,fe.heap[Be+1],fe.heap[Be],fe.depth)&&Be++,!Le(me,ye,fe.heap[Be],fe.depth));)fe.heap[Ie]=fe.heap[Be],Ie=Be,Be<<=1;fe.heap[Ie]=ye}function We(fe,me,Ie){var ye,Be,Ye,xt,$t=0;if(fe.last_lit!==0)for(;ye=fe.pending_buf[fe.d_buf+2*$t]<<8|fe.pending_buf[fe.d_buf+2*$t+1],Be=fe.pending_buf[fe.l_buf+$t],$t++,ye===0?pe(fe,Be,me):(pe(fe,(Ye=T[Be])+D+1,me),(xt=Pe[Ye])!==0&&He(fe,Be-=P[Ye],xt),pe(fe,Ye=S(--ye),Ie),(xt=et[Ye])!==0&&He(fe,ye-=y[Ye],xt)),$t<fe.last_lit;);pe(fe,oe,me)}function Re(fe,me){var Ie,ye,Be,Ye=me.dyn_tree,xt=me.stat_desc.static_tree,$t=me.stat_desc.has_stree,Xt=me.stat_desc.elems,Ut=-1;for(fe.heap_len=0,fe.heap_max=I,Ie=0;Ie<Xt;Ie++)Ye[2*Ie]!==0?(fe.heap[++fe.heap_len]=Ut=Ie,fe.depth[Ie]=0):Ye[2*Ie+1]=0;for(;fe.heap_len<2;)Ye[2*(Be=fe.heap[++fe.heap_len]=Ut<2?++Ut:0)]=1,fe.depth[Be]=0,fe.opt_len--,$t&&(fe.static_len-=xt[2*Be+1]);for(me.max_code=Ut,Ie=fe.heap_len>>1;1<=Ie;Ie--)St(fe,Ye,Ie);for(Be=Xt;Ie=fe.heap[1],fe.heap[1]=fe.heap[fe.heap_len--],St(fe,Ye,1),ye=fe.heap[1],fe.heap[--fe.heap_max]=Ie,fe.heap[--fe.heap_max]=ye,Ye[2*Be]=Ye[2*Ie]+Ye[2*ye],fe.depth[Be]=(fe.depth[Ie]>=fe.depth[ye]?fe.depth[Ie]:fe.depth[ye])+1,Ye[2*Ie+1]=Ye[2*ye+1]=Be,fe.heap[1]=Be++,St(fe,Ye,1),2<=fe.heap_len;);fe.heap[--fe.heap_max]=fe.heap[1],function(jt,at){var yt,pt,dt,er,or,hr,Er=at.dyn_tree,qr=at.max_code,Pr=at.stat_desc.static_tree,w=at.stat_desc.has_stree,H=at.stat_desc.extra_bits,wt=at.stat_desc.extra_base,ae=at.stat_desc.max_length,Te=0;for(er=0;er<=z;er++)jt.bl_count[er]=0;for(Er[2*jt.heap[jt.heap_max]+1]=0,yt=jt.heap_max+1;yt<I;yt++)ae<(er=Er[2*Er[2*(pt=jt.heap[yt])+1]+1]+1)&&(er=ae,Te++),Er[2*pt+1]=er,qr<pt||(jt.bl_count[er]++,or=0,wt<=pt&&(or=H[pt-wt]),hr=Er[2*pt],jt.opt_len+=hr*(er+or),w&&(jt.static_len+=hr*(Pr[2*pt+1]+or)));if(Te!==0){do{for(er=ae-1;jt.bl_count[er]===0;)er--;jt.bl_count[er]--,jt.bl_count[er+1]+=2,jt.bl_count[ae]--,Te-=2}while(0<Te);for(er=ae;er!==0;er--)for(pt=jt.bl_count[er];pt!==0;)qr<(dt=jt.heap[--yt])||(Er[2*dt+1]!==er&&(jt.opt_len+=(er-Er[2*dt+1])*Er[2*dt],Er[2*dt+1]=er),pt--)}}(fe,me),ot(Ye,Ut,fe.bl_count)}function M(fe,me,Ie){var ye,Be,Ye=-1,xt=me[1],$t=0,Xt=7,Ut=4;for(xt===0&&(Xt=138,Ut=3),me[2*(Ie+1)+1]=65535,ye=0;ye<=Ie;ye++)Be=xt,xt=me[2*(ye+1)+1],++$t<Xt&&Be===xt||($t<Ut?fe.bl_tree[2*Be]+=$t:Be!==0?(Be!==Ye&&fe.bl_tree[2*Be]++,fe.bl_tree[2*J]++):$t<=10?fe.bl_tree[2*te]++:fe.bl_tree[2*Ee]++,Ye=Be,Ut=($t=0)===xt?(Xt=138,3):Be===xt?(Xt=6,3):(Xt=7,4))}function _e(fe,me,Ie){var ye,Be,Ye=-1,xt=me[1],$t=0,Xt=7,Ut=4;for(xt===0&&(Xt=138,Ut=3),ye=0;ye<=Ie;ye++)if(Be=xt,xt=me[2*(ye+1)+1],!(++$t<Xt&&Be===xt)){if($t<Ut)for(;pe(fe,Be,fe.bl_tree),--$t!=0;);else Be!==0?(Be!==Ye&&(pe(fe,Be,fe.bl_tree),$t--),pe(fe,J,fe.bl_tree),He(fe,$t-3,2)):$t<=10?(pe(fe,te,fe.bl_tree),He(fe,$t-3,3)):(pe(fe,Ee,fe.bl_tree),He(fe,$t-11,7));Ye=Be,Ut=($t=0)===xt?(Xt=138,3):Be===xt?(Xt=6,3):(Xt=7,4)}}Z(y);var ge=!1;function ue(fe,me,Ie,ye){He(fe,(c<<1)+(ye?1:0),3),function(Be,Ye,xt,$t){he(Be),$t&&(X(Be,xt),X(Be,~xt)),ee.arraySet(Be.pending_buf,Be.window,Ye,xt,Be.pending),Be.pending+=xt}(fe,me,Ie,!0)}q._tr_init=function(fe){ge||(function(){var me,Ie,ye,Be,Ye,xt=new Array(z+1);for(Be=ye=0;Be<L-1;Be++)for(P[Be]=ye,me=0;me<1<<Pe[Be];me++)T[ye++]=Be;for(T[ye-1]=Be,Be=Ye=0;Be<16;Be++)for(y[Be]=Ye,me=0;me<1<<et[Be];me++)Se[Ye++]=Be;for(Ye>>=7;Be<F;Be++)for(y[Be]=Ye<<7,me=0;me<1<<et[Be]-7;me++)Se[256+Ye++]=Be;for(Ie=0;Ie<=z;Ie++)xt[Ie]=0;for(me=0;me<=143;)Ce[2*me+1]=8,me++,xt[8]++;for(;me<=255;)Ce[2*me+1]=9,me++,xt[9]++;for(;me<=279;)Ce[2*me+1]=7,me++,xt[7]++;for(;me<=287;)Ce[2*me+1]=8,me++,xt[8]++;for(ot(Ce,U+1,xt),me=0;me<F;me++)se[2*me+1]=5,se[2*me]=Ze(me,5);nt=new K(Ce,Pe,D+1,U,z),de=new K(se,et,0,F,z),ce=new K(new Array(0),ke,0,_,A)}(),ge=!0),fe.l_desc=new R(fe.dyn_ltree,nt),fe.d_desc=new R(fe.dyn_dtree,de),fe.bl_desc=new R(fe.bl_tree,ce),fe.bi_buf=0,fe.bi_valid=0,ht(fe)},q._tr_stored_block=ue,q._tr_flush_block=function(fe,me,Ie,ye){var Be,Ye,xt=0;0<fe.level?(fe.strm.data_type===2&&(fe.strm.data_type=function($t){var Xt,Ut=4093624447;for(Xt=0;Xt<=31;Xt++,Ut>>>=1)if(1&Ut&&$t.dyn_ltree[2*Xt]!==0)return Y;if($t.dyn_ltree[18]!==0||$t.dyn_ltree[20]!==0||$t.dyn_ltree[26]!==0)return x;for(Xt=32;Xt<D;Xt++)if($t.dyn_ltree[2*Xt]!==0)return x;return Y}(fe)),Re(fe,fe.l_desc),Re(fe,fe.d_desc),xt=function($t){var Xt;for(M($t,$t.dyn_ltree,$t.l_desc.max_code),M($t,$t.dyn_dtree,$t.d_desc.max_code),Re($t,$t.bl_desc),Xt=_-1;3<=Xt&&$t.bl_tree[2*xe[Xt]+1]===0;Xt--);return $t.opt_len+=3*(Xt+1)+5+5+4,Xt}(fe),Be=fe.opt_len+3+7>>>3,(Ye=fe.static_len+3+7>>>3)<=Be&&(Be=Ye)):Be=Ye=Ie+5,Ie+4<=Be&&me!==-1?ue(fe,me,Ie,ye):fe.strategy===4||Ye===Be?(He(fe,2+(ye?1:0),3),We(fe,Ce,se)):(He(fe,4+(ye?1:0),3),function($t,Xt,Ut,jt){var at;for(He($t,Xt-257,5),He($t,Ut-1,5),He($t,jt-4,4),at=0;at<jt;at++)He($t,$t.bl_tree[2*xe[at]+1],3);_e($t,$t.dyn_ltree,Xt-1),_e($t,$t.dyn_dtree,Ut-1)}(fe,fe.l_desc.max_code+1,fe.d_desc.max_code+1,xt+1),We(fe,fe.dyn_ltree,fe.dyn_dtree)),ht(fe),ye&&he(fe)},q._tr_tally=function(fe,me,Ie){return fe.pending_buf[fe.d_buf+2*fe.last_lit]=me>>>8&255,fe.pending_buf[fe.d_buf+2*fe.last_lit+1]=255&me,fe.pending_buf[fe.l_buf+fe.last_lit]=255&Ie,fe.last_lit++,me===0?fe.dyn_ltree[2*Ie]++:(fe.matches++,me--,fe.dyn_ltree[2*(T[Ie]+D+1)]++,fe.dyn_dtree[2*S(me)]++),fe.last_lit===fe.lit_bufsize-1},q._tr_align=function(fe){He(fe,2,3),pe(fe,oe,Ce),function(me){me.bi_valid===16?(X(me,me.bi_buf),me.bi_buf=0,me.bi_valid=0):8<=me.bi_valid&&(me.pending_buf[me.pending++]=255&me.bi_buf,me.bi_buf>>=8,me.bi_valid-=8)}(fe)}},{"../utils/common":41}],53:[function(B,De,q){"use strict";De.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(B,De,q){(function(ee){(function(Y,x){"use strict";if(!Y.setImmediate){var Z,c,L,D,U=1,F={},_=!1,I=Y.document,z=Object.getPrototypeOf&&Object.getPrototypeOf(Y);z=z&&z.setTimeout?z:Y,Z={}.toString.call(Y.process)==="[object process]"?function(J){Xe.nextTick(function(){A(J)})}:function(){if(Y.postMessage&&!Y.importScripts){var J=!0,te=Y.onmessage;return Y.onmessage=function(){J=!1},Y.postMessage("","*"),Y.onmessage=te,J}}()?(D="setImmediate$"+Math.random()+"$",Y.addEventListener?Y.addEventListener("message",oe,!1):Y.attachEvent("onmessage",oe),function(J){Y.postMessage(D+J,"*")}):Y.MessageChannel?((L=new MessageChannel).port1.onmessage=function(J){A(J.data)},function(J){L.port2.postMessage(J)}):I&&"onreadystatechange"in I.createElement("script")?(c=I.documentElement,function(J){var te=I.createElement("script");te.onreadystatechange=function(){A(J),te.onreadystatechange=null,c.removeChild(te),te=null},c.appendChild(te)}):function(J){setTimeout(A,0,J)},z.setImmediate=function(J){typeof J!="function"&&(J=new Function(""+J));for(var te=new Array(arguments.length-1),Ee=0;Ee<te.length;Ee++)te[Ee]=arguments[Ee+1];var Pe={callback:J,args:te};return F[U]=Pe,Z(U),U++},z.clearImmediate=O}function O(J){delete F[J]}function A(J){if(_)setTimeout(A,0,J);else{var te=F[J];if(te){_=!0;try{(function(Ee){var Pe=Ee.callback,et=Ee.args;switch(et.length){case 0:Pe();break;case 1:Pe(et[0]);break;case 2:Pe(et[0],et[1]);break;case 3:Pe(et[0],et[1],et[2]);break;default:Pe.apply(x,et)}})(te)}finally{O(J),_=!1}}}}function oe(J){J.source===Y&&typeof J.data=="string"&&J.data.indexOf(D)===0&&A(+J.data.slice(D.length))}})(typeof self=="undefined"?ee===void 0?this:ee:self)}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},15342:function(Qr){(function(n,o){Qr.exports=o()})(typeof self!="undefined"?self:this,function(){return function(_t){var n={};function o(Xe){if(n[Xe])return n[Xe].exports;var B=n[Xe]={i:Xe,l:!1,exports:{}};return _t[Xe].call(B.exports,B,B.exports,o),B.l=!0,B.exports}return o.m=_t,o.c=n,o.d=function(Xe,B,De){o.o(Xe,B)||Object.defineProperty(Xe,B,{enumerable:!0,get:De})},o.r=function(Xe){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Xe,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Xe,"__esModule",{value:!0})},o.t=function(Xe,B){if(B&1&&(Xe=o(Xe)),B&8||B&4&&typeof Xe=="object"&&Xe&&Xe.__esModule)return Xe;var De=Object.create(null);if(o.r(De),Object.defineProperty(De,"default",{enumerable:!0,value:Xe}),B&2&&typeof Xe!="string")for(var q in Xe)o.d(De,q,function(ee){return Xe[ee]}.bind(null,q));return De},o.n=function(Xe){var B=Xe&&Xe.__esModule?function(){return Xe.default}:function(){return Xe};return o.d(B,"a",B),B},o.o=function(Xe,B){return Object.prototype.hasOwnProperty.call(Xe,B)},o.p="",o(o.s=1)}([function(_t,n,o){},function(_t,n,o){"use strict";o.r(n);var Xe=o(0),B=function(){function re(r,a,l){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=r,this.start=a,this.end=l}return re.range=function(a,l){return l?!a||!a.loc||!l.loc||a.loc.lexer!==l.loc.lexer?null:new re(a.loc.lexer,a.loc.start,l.loc.end):a&&a.loc},re}(),De=function(){function re(a,l){this.text=void 0,this.loc=void 0,this.text=a,this.loc=l}var r=re.prototype;return r.range=function(l,g){return new re(g,B.range(this,l))},re}(),q=function re(r,a){this.position=void 0;var l="KaTeX parse error: "+r,g,k=a&&a.loc;if(k&&k.start<=k.end){var ie=k.lexer.input;g=k.start;var ze=k.end;g===ie.length?l+=" at end of input: ":l+=" at position "+(g+1)+": ";var Je=ie.slice(g,ze).replace(/[^]/g,"$&\u0332"),At;g>15?At="\u2026"+ie.slice(g-15,g):At=ie.slice(0,g);var ar;ze+15<ie.length?ar=ie.slice(ze,ze+15)+"\u2026":ar=ie.slice(ze),l+=At+Je+ar}var pr=new Error(l);return pr.name="ParseError",pr.__proto__=re.prototype,pr.position=g,pr};q.prototype.__proto__=Error.prototype;var ee=q,Y=function(r,a){return r.indexOf(a)!==-1},x=function(r,a){return r===void 0?a:r},Z=/([A-Z])/g,c=function(r){return r.replace(Z,"-$1").toLowerCase()},L={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},D=/[&><"']/g;function U(re){return String(re).replace(D,function(r){return L[r]})}var F=function re(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?re(r.body[0]):r:r.type==="font"?re(r.body):r},_=function(r){var a=F(r);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},I=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},z=function(r){var a=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(r);return a!=null?a[1]:"_relative"},O={contains:Y,deflt:x,escape:U,hyphenate:c,getBaseElem:F,isCharacterBox:_,protocolFromUrl:z},A=function(){function re(a){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,a=a||{},this.displayMode=O.deflt(a.displayMode,!1),this.output=O.deflt(a.output,"htmlAndMathml"),this.leqno=O.deflt(a.leqno,!1),this.fleqn=O.deflt(a.fleqn,!1),this.throwOnError=O.deflt(a.throwOnError,!0),this.errorColor=O.deflt(a.errorColor,"#cc0000"),this.macros=a.macros||{},this.minRuleThickness=Math.max(0,O.deflt(a.minRuleThickness,0)),this.colorIsTextColor=O.deflt(a.colorIsTextColor,!1),this.strict=O.deflt(a.strict,"warn"),this.trust=O.deflt(a.trust,!1),this.maxSize=Math.max(0,O.deflt(a.maxSize,1/0)),this.maxExpand=Math.max(0,O.deflt(a.maxExpand,1e3))}var r=re.prototype;return r.reportNonstrict=function(l,g,k){var ie=this.strict;if(typeof ie=="function"&&(ie=ie(l,g,k)),!(!ie||ie==="ignore")){if(ie===!0||ie==="error")throw new ee("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+l+"]"),k);ie==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+l+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ie+"': "+g+" ["+l+"]"))}},r.useStrictBehavior=function(l,g,k){var ie=this.strict;if(typeof ie=="function")try{ie=ie(l,g,k)}catch(ze){ie="error"}return!ie||ie==="ignore"?!1:ie===!0||ie==="error"?!0:ie==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(g+" ["+l+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+ie+"': "+g+" ["+l+"]")),!1)},r.isTrusted=function(l){l.url&&!l.protocol&&(l.protocol=O.protocolFromUrl(l.url));var g=typeof this.trust=="function"?this.trust(l):this.trust;return!!g},re}(),oe=function(){function re(a,l,g){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=a,this.size=l,this.cramped=g}var r=re.prototype;return r.sup=function(){return se[Se[this.id]]},r.sub=function(){return se[T[this.id]]},r.fracNum=function(){return se[P[this.id]]},r.fracDen=function(){return se[nt[this.id]]},r.cramp=function(){return se[de[this.id]]},r.text=function(){return se[ce[this.id]]},r.isTight=function(){return this.size>=2},re}(),J=0,te=1,Ee=2,Pe=3,et=4,ke=5,xe=6,Ce=7,se=[new oe(J,0,!1),new oe(te,0,!0),new oe(Ee,1,!1),new oe(Pe,1,!0),new oe(et,2,!1),new oe(ke,2,!0),new oe(xe,3,!1),new oe(Ce,3,!0)],Se=[et,ke,et,ke,xe,Ce,xe,Ce],T=[ke,ke,ke,ke,Ce,Ce,Ce,Ce],P=[Ee,Pe,et,ke,xe,Ce,xe,Ce],nt=[Pe,Pe,ke,ke,Ce,Ce,Ce,Ce],de=[te,te,Pe,Pe,ke,ke,Ce,Ce],ce=[J,te,Ee,Pe,Ee,Pe,Ee,Pe],y={DISPLAY:se[J],TEXT:se[Ee],SCRIPT:se[et],SCRIPTSCRIPT:se[xe]},K=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function R(re){for(var r=0;r<K.length;r++)for(var a=K[r],l=0;l<a.blocks.length;l++){var g=a.blocks[l];if(re>=g[0]&&re<=g[1])return a.name}return null}var S=[];K.forEach(function(re){return re.blocks.forEach(function(r){return S.push.apply(S,r)})});function X(re){for(var r=0;r<S.length;r+=2)if(re>=S[r]&&re<=S[r+1])return!0;return!1}var He=80,pe=function(r,a){return"M95,"+(622+r+a)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+r/2.075+" -"+r+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+r)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},Ze=function(r,a){return"M263,"+(601+r+a)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+r/2.084+" -"+r+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+r)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},ot=function(r,a){return"M983 "+(10+r+a)+`
l`+r/3.13+" -"+r+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+r)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+r)+" "+a+"h400000v"+(40+r)+"h-400000z"},ht=function(r,a){return"M424,"+(2398+r+a)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+r/4.223+" -"+r+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+r)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+r)+" "+a+`
h400000v`+(40+r)+"h-400000z"},he=function(r,a){return"M473,"+(2713+r+a)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+r/5.298+" -"+r+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+r)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+r)+" "+a+"h400000v"+(40+r)+"H1017.7z"},Le=function(r,a,l){var g=l-54-a-r;return"M702 "+(r+a)+"H400000"+(40+r)+`
H742v`+g+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+a+"H400000v"+(40+r)+"H742z"},St=function(r,a,l){a=1e3*a;var g="";switch(r){case"sqrtMain":g=pe(a,He);break;case"sqrtSize1":g=Ze(a,He);break;case"sqrtSize2":g=ot(a,He);break;case"sqrtSize3":g=ht(a,He);break;case"sqrtSize4":g=he(a,He);break;case"sqrtTall":g=Le(a,He,l)}return g},We={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Re=function(){function re(a){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=a,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var r=re.prototype;return r.hasClass=function(l){return O.contains(this.classes,l)},r.toNode=function(){for(var l=document.createDocumentFragment(),g=0;g<this.children.length;g++)l.appendChild(this.children[g].toNode());return l},r.toMarkup=function(){for(var l="",g=0;g<this.children.length;g++)l+=this.children[g].toMarkup();return l},r.toText=function(){var l=function(k){return k.toText()};return this.children.map(l).join("")},re}(),M=function(r){return r.filter(function(a){return a}).join(" ")},_e=function(r,a,l){if(this.classes=r||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=l||{},a){a.style.isTight()&&this.classes.push("mtight");var g=a.getColor();g&&(this.style.color=g)}},ge=function(r){var a=document.createElement(r);a.className=M(this.classes);for(var l in this.style)this.style.hasOwnProperty(l)&&(a.style[l]=this.style[l]);for(var g in this.attributes)this.attributes.hasOwnProperty(g)&&a.setAttribute(g,this.attributes[g]);for(var k=0;k<this.children.length;k++)a.appendChild(this.children[k].toNode());return a},ue=function(r){var a="<"+r;this.classes.length&&(a+=' class="'+O.escape(M(this.classes))+'"');var l="";for(var g in this.style)this.style.hasOwnProperty(g)&&(l+=O.hyphenate(g)+":"+this.style[g]+";");l&&(a+=' style="'+O.escape(l)+'"');for(var k in this.attributes)this.attributes.hasOwnProperty(k)&&(a+=" "+k+'="'+O.escape(this.attributes[k])+'"');a+=">";for(var ie=0;ie<this.children.length;ie++)a+=this.children[ie].toMarkup();return a+="</"+r+">",a},fe=function(){function re(a,l,g,k){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,_e.call(this,a,g,k),this.children=l||[]}var r=re.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return O.contains(this.classes,l)},r.toNode=function(){return ge.call(this,"span")},r.toMarkup=function(){return ue.call(this,"span")},re}(),me=function(){function re(a,l,g,k){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,_e.call(this,l,k),this.children=g||[],this.setAttribute("href",a)}var r=re.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return O.contains(this.classes,l)},r.toNode=function(){return ge.call(this,"a")},r.toMarkup=function(){return ue.call(this,"a")},re}(),Ie=function(){function re(a,l,g){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=l,this.src=a,this.classes=["mord"],this.style=g}var r=re.prototype;return r.hasClass=function(l){return O.contains(this.classes,l)},r.toNode=function(){var l=document.createElement("img");l.src=this.src,l.alt=this.alt,l.className="mord";for(var g in this.style)this.style.hasOwnProperty(g)&&(l.style[g]=this.style[g]);return l},r.toMarkup=function(){var l="<img src='"+this.src+" 'alt='"+this.alt+"' ",g="";for(var k in this.style)this.style.hasOwnProperty(k)&&(g+=O.hyphenate(k)+":"+this.style[k]+";");return g&&(l+=' style="'+O.escape(g)+'"'),l+="'/>",l},re}(),ye={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Be=function(){function re(a,l,g,k,ie,ze,Je,At){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=a,this.height=l||0,this.depth=g||0,this.italic=k||0,this.skew=ie||0,this.width=ze||0,this.classes=Je||[],this.style=At||{},this.maxFontSize=0;var ar=R(this.text.charCodeAt(0));ar&&this.classes.push(ar+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ye[this.text])}var r=re.prototype;return r.hasClass=function(l){return O.contains(this.classes,l)},r.toNode=function(){var l=document.createTextNode(this.text),g=null;this.italic>0&&(g=document.createElement("span"),g.style.marginRight=this.italic+"em"),this.classes.length>0&&(g=g||document.createElement("span"),g.className=M(this.classes));for(var k in this.style)this.style.hasOwnProperty(k)&&(g=g||document.createElement("span"),g.style[k]=this.style[k]);return g?(g.appendChild(l),g):l},r.toMarkup=function(){var l=!1,g="<span";this.classes.length&&(l=!0,g+=' class="',g+=O.escape(M(this.classes)),g+='"');var k="";this.italic>0&&(k+="margin-right:"+this.italic+"em;");for(var ie in this.style)this.style.hasOwnProperty(ie)&&(k+=O.hyphenate(ie)+":"+this.style[ie]+";");k&&(l=!0,g+=' style="'+O.escape(k)+'"');var ze=O.escape(this.text);return l?(g+=">",g+=ze,g+="</span>",g):ze},re}(),Ye=function(){function re(a,l){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=l||{}}var r=re.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"svg");for(var k in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,k)&&g.setAttribute(k,this.attributes[k]);for(var ie=0;ie<this.children.length;ie++)g.appendChild(this.children[ie].toNode());return g},r.toMarkup=function(){var l="<svg";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+"='"+this.attributes[g]+"'");l+=">";for(var k=0;k<this.children.length;k++)l+=this.children[k].toMarkup();return l+="</svg>",l},re}(),xt=function(){function re(a,l){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=l}var r=re.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"path");return this.alternate?g.setAttribute("d",this.alternate):g.setAttribute("d",We[this.pathName]),g},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+We[this.pathName]+"'/>"},re}(),$t=function(){function re(a){this.attributes=void 0,this.attributes=a||{}}var r=re.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"line");for(var k in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,k)&&g.setAttribute(k,this.attributes[k]);return g},r.toMarkup=function(){var l="<line";for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+"='"+this.attributes[g]+"'");return l+="/>",l},re}();function Xt(re){if(re instanceof Be)return re;throw new Error("Expected symbolNode but got "+String(re)+".")}function Ut(re){if(re instanceof fe)return re;throw new Error("Expected span<HtmlDomNode> but got "+String(re)+".")}var jt={"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]}},at={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]},yt={\u00C5:"A",\u00C7:"C",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00E7:"c",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function pt(re,r){jt[re]=r}function dt(re,r,a){if(!jt[r])throw new Error("Font metrics not found for font: "+r+".");var l=re.charCodeAt(0),g=jt[r][l];if(!g&&re[0]in yt&&(l=yt[re[0]].charCodeAt(0),g=jt[r][l]),!g&&a==="text"&&X(l)&&(g=jt[r][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var er={};function or(re){var r;if(re>=5?r=0:re>=3?r=1:r=2,!er[r]){var a=er[r]={cssEmPerMu:at.quad[r]/18};for(var l in at)at.hasOwnProperty(l)&&(a[l]=at[l][r])}return er[r]}var hr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Er={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qr={math:{},text:{}},Pr=qr;function w(re,r,a,l,g,k){qr[re][g]={font:r,group:a,replace:l},k&&l&&(qr[re][l]=qr[re][g])}var H="math",wt="text",ae="main",Te="ams",Fr="accent-token",Mr="bin",bn="close",Dn="inner",Rt="mathord",xr="op-token",sr="open",C="punct",v="rel",Vt="spacing",$="textord";w(H,ae,v,"\u2261","\\equiv",!0),w(H,ae,v,"\u227A","\\prec",!0),w(H,ae,v,"\u227B","\\succ",!0),w(H,ae,v,"\u223C","\\sim",!0),w(H,ae,v,"\u22A5","\\perp"),w(H,ae,v,"\u2AAF","\\preceq",!0),w(H,ae,v,"\u2AB0","\\succeq",!0),w(H,ae,v,"\u2243","\\simeq",!0),w(H,ae,v,"\u2223","\\mid",!0),w(H,ae,v,"\u226A","\\ll",!0),w(H,ae,v,"\u226B","\\gg",!0),w(H,ae,v,"\u224D","\\asymp",!0),w(H,ae,v,"\u2225","\\parallel"),w(H,ae,v,"\u22C8","\\bowtie",!0),w(H,ae,v,"\u2323","\\smile",!0),w(H,ae,v,"\u2291","\\sqsubseteq",!0),w(H,ae,v,"\u2292","\\sqsupseteq",!0),w(H,ae,v,"\u2250","\\doteq",!0),w(H,ae,v,"\u2322","\\frown",!0),w(H,ae,v,"\u220B","\\ni",!0),w(H,ae,v,"\u221D","\\propto",!0),w(H,ae,v,"\u22A2","\\vdash",!0),w(H,ae,v,"\u22A3","\\dashv",!0),w(H,ae,v,"\u220B","\\owns"),w(H,ae,C,".","\\ldotp"),w(H,ae,C,"\u22C5","\\cdotp"),w(H,ae,$,"#","\\#"),w(wt,ae,$,"#","\\#"),w(H,ae,$,"&","\\&"),w(wt,ae,$,"&","\\&"),w(H,ae,$,"\u2135","\\aleph",!0),w(H,ae,$,"\u2200","\\forall",!0),w(H,ae,$,"\u210F","\\hbar",!0),w(H,ae,$,"\u2203","\\exists",!0),w(H,ae,$,"\u2207","\\nabla",!0),w(H,ae,$,"\u266D","\\flat",!0),w(H,ae,$,"\u2113","\\ell",!0),w(H,ae,$,"\u266E","\\natural",!0),w(H,ae,$,"\u2663","\\clubsuit",!0),w(H,ae,$,"\u2118","\\wp",!0),w(H,ae,$,"\u266F","\\sharp",!0),w(H,ae,$,"\u2662","\\diamondsuit",!0),w(H,ae,$,"\u211C","\\Re",!0),w(H,ae,$,"\u2661","\\heartsuit",!0),w(H,ae,$,"\u2111","\\Im",!0),w(H,ae,$,"\u2660","\\spadesuit",!0),w(wt,ae,$,"\xA7","\\S",!0),w(wt,ae,$,"\xB6","\\P",!0),w(H,ae,$,"\u2020","\\dag"),w(wt,ae,$,"\u2020","\\dag"),w(wt,ae,$,"\u2020","\\textdagger"),w(H,ae,$,"\u2021","\\ddag"),w(wt,ae,$,"\u2021","\\ddag"),w(wt,ae,$,"\u2021","\\textdaggerdbl"),w(H,ae,bn,"\u23B1","\\rmoustache",!0),w(H,ae,sr,"\u23B0","\\lmoustache",!0),w(H,ae,bn,"\u27EF","\\rgroup",!0),w(H,ae,sr,"\u27EE","\\lgroup",!0),w(H,ae,Mr,"\u2213","\\mp",!0),w(H,ae,Mr,"\u2296","\\ominus",!0),w(H,ae,Mr,"\u228E","\\uplus",!0),w(H,ae,Mr,"\u2293","\\sqcap",!0),w(H,ae,Mr,"\u2217","\\ast"),w(H,ae,Mr,"\u2294","\\sqcup",!0),w(H,ae,Mr,"\u25EF","\\bigcirc"),w(H,ae,Mr,"\u2219","\\bullet"),w(H,ae,Mr,"\u2021","\\ddagger"),w(H,ae,Mr,"\u2240","\\wr",!0),w(H,ae,Mr,"\u2A3F","\\amalg"),w(H,ae,Mr,"&","\\And"),w(H,ae,v,"\u27F5","\\longleftarrow",!0),w(H,ae,v,"\u21D0","\\Leftarrow",!0),w(H,ae,v,"\u27F8","\\Longleftarrow",!0),w(H,ae,v,"\u27F6","\\longrightarrow",!0),w(H,ae,v,"\u21D2","\\Rightarrow",!0),w(H,ae,v,"\u27F9","\\Longrightarrow",!0),w(H,ae,v,"\u2194","\\leftrightarrow",!0),w(H,ae,v,"\u27F7","\\longleftrightarrow",!0),w(H,ae,v,"\u21D4","\\Leftrightarrow",!0),w(H,ae,v,"\u27FA","\\Longleftrightarrow",!0),w(H,ae,v,"\u21A6","\\mapsto",!0),w(H,ae,v,"\u27FC","\\longmapsto",!0),w(H,ae,v,"\u2197","\\nearrow",!0),w(H,ae,v,"\u21A9","\\hookleftarrow",!0),w(H,ae,v,"\u21AA","\\hookrightarrow",!0),w(H,ae,v,"\u2198","\\searrow",!0),w(H,ae,v,"\u21BC","\\leftharpoonup",!0),w(H,ae,v,"\u21C0","\\rightharpoonup",!0),w(H,ae,v,"\u2199","\\swarrow",!0),w(H,ae,v,"\u21BD","\\leftharpoondown",!0),w(H,ae,v,"\u21C1","\\rightharpoondown",!0),w(H,ae,v,"\u2196","\\nwarrow",!0),w(H,ae,v,"\u21CC","\\rightleftharpoons",!0),w(H,Te,v,"\u226E","\\nless",!0),w(H,Te,v,"\uE010","\\@nleqslant"),w(H,Te,v,"\uE011","\\@nleqq"),w(H,Te,v,"\u2A87","\\lneq",!0),w(H,Te,v,"\u2268","\\lneqq",!0),w(H,Te,v,"\uE00C","\\@lvertneqq"),w(H,Te,v,"\u22E6","\\lnsim",!0),w(H,Te,v,"\u2A89","\\lnapprox",!0),w(H,Te,v,"\u2280","\\nprec",!0),w(H,Te,v,"\u22E0","\\npreceq",!0),w(H,Te,v,"\u22E8","\\precnsim",!0),w(H,Te,v,"\u2AB9","\\precnapprox",!0),w(H,Te,v,"\u2241","\\nsim",!0),w(H,Te,v,"\uE006","\\@nshortmid"),w(H,Te,v,"\u2224","\\nmid",!0),w(H,Te,v,"\u22AC","\\nvdash",!0),w(H,Te,v,"\u22AD","\\nvDash",!0),w(H,Te,v,"\u22EA","\\ntriangleleft"),w(H,Te,v,"\u22EC","\\ntrianglelefteq",!0),w(H,Te,v,"\u228A","\\subsetneq",!0),w(H,Te,v,"\uE01A","\\@varsubsetneq"),w(H,Te,v,"\u2ACB","\\subsetneqq",!0),w(H,Te,v,"\uE017","\\@varsubsetneqq"),w(H,Te,v,"\u226F","\\ngtr",!0),w(H,Te,v,"\uE00F","\\@ngeqslant"),w(H,Te,v,"\uE00E","\\@ngeqq"),w(H,Te,v,"\u2A88","\\gneq",!0),w(H,Te,v,"\u2269","\\gneqq",!0),w(H,Te,v,"\uE00D","\\@gvertneqq"),w(H,Te,v,"\u22E7","\\gnsim",!0),w(H,Te,v,"\u2A8A","\\gnapprox",!0),w(H,Te,v,"\u2281","\\nsucc",!0),w(H,Te,v,"\u22E1","\\nsucceq",!0),w(H,Te,v,"\u22E9","\\succnsim",!0),w(H,Te,v,"\u2ABA","\\succnapprox",!0),w(H,Te,v,"\u2246","\\ncong",!0),w(H,Te,v,"\uE007","\\@nshortparallel"),w(H,Te,v,"\u2226","\\nparallel",!0),w(H,Te,v,"\u22AF","\\nVDash",!0),w(H,Te,v,"\u22EB","\\ntriangleright"),w(H,Te,v,"\u22ED","\\ntrianglerighteq",!0),w(H,Te,v,"\uE018","\\@nsupseteqq"),w(H,Te,v,"\u228B","\\supsetneq",!0),w(H,Te,v,"\uE01B","\\@varsupsetneq"),w(H,Te,v,"\u2ACC","\\supsetneqq",!0),w(H,Te,v,"\uE019","\\@varsupsetneqq"),w(H,Te,v,"\u22AE","\\nVdash",!0),w(H,Te,v,"\u2AB5","\\precneqq",!0),w(H,Te,v,"\u2AB6","\\succneqq",!0),w(H,Te,v,"\uE016","\\@nsubseteqq"),w(H,Te,Mr,"\u22B4","\\unlhd"),w(H,Te,Mr,"\u22B5","\\unrhd"),w(H,Te,v,"\u219A","\\nleftarrow",!0),w(H,Te,v,"\u219B","\\nrightarrow",!0),w(H,Te,v,"\u21CD","\\nLeftarrow",!0),w(H,Te,v,"\u21CF","\\nRightarrow",!0),w(H,Te,v,"\u21AE","\\nleftrightarrow",!0),w(H,Te,v,"\u21CE","\\nLeftrightarrow",!0),w(H,Te,v,"\u25B3","\\vartriangle"),w(H,Te,$,"\u210F","\\hslash"),w(H,Te,$,"\u25BD","\\triangledown"),w(H,Te,$,"\u25CA","\\lozenge"),w(H,Te,$,"\u24C8","\\circledS"),w(H,Te,$,"\xAE","\\circledR"),w(wt,Te,$,"\xAE","\\circledR"),w(H,Te,$,"\u2221","\\measuredangle",!0),w(H,Te,$,"\u2204","\\nexists"),w(H,Te,$,"\u2127","\\mho"),w(H,Te,$,"\u2132","\\Finv",!0),w(H,Te,$,"\u2141","\\Game",!0),w(H,Te,$,"\u2035","\\backprime"),w(H,Te,$,"\u25B2","\\blacktriangle"),w(H,Te,$,"\u25BC","\\blacktriangledown"),w(H,Te,$,"\u25A0","\\blacksquare"),w(H,Te,$,"\u29EB","\\blacklozenge"),w(H,Te,$,"\u2605","\\bigstar"),w(H,Te,$,"\u2222","\\sphericalangle",!0),w(H,Te,$,"\u2201","\\complement",!0),w(H,Te,$,"\xF0","\\eth",!0),w(H,Te,$,"\u2571","\\diagup"),w(H,Te,$,"\u2572","\\diagdown"),w(H,Te,$,"\u25A1","\\square"),w(H,Te,$,"\u25A1","\\Box"),w(H,Te,$,"\u25CA","\\Diamond"),w(H,Te,$,"\xA5","\\yen",!0),w(wt,Te,$,"\xA5","\\yen",!0),w(H,Te,$,"\u2713","\\checkmark",!0),w(wt,Te,$,"\u2713","\\checkmark"),w(H,Te,$,"\u2136","\\beth",!0),w(H,Te,$,"\u2138","\\daleth",!0),w(H,Te,$,"\u2137","\\gimel",!0),w(H,Te,$,"\u03DD","\\digamma",!0),w(H,Te,$,"\u03F0","\\varkappa"),w(H,Te,sr,"\u250C","\\ulcorner",!0),w(H,Te,bn,"\u2510","\\urcorner",!0),w(H,Te,sr,"\u2514","\\llcorner",!0),w(H,Te,bn,"\u2518","\\lrcorner",!0),w(H,Te,v,"\u2266","\\leqq",!0),w(H,Te,v,"\u2A7D","\\leqslant",!0),w(H,Te,v,"\u2A95","\\eqslantless",!0),w(H,Te,v,"\u2272","\\lesssim",!0),w(H,Te,v,"\u2A85","\\lessapprox",!0),w(H,Te,v,"\u224A","\\approxeq",!0),w(H,Te,Mr,"\u22D6","\\lessdot"),w(H,Te,v,"\u22D8","\\lll",!0),w(H,Te,v,"\u2276","\\lessgtr",!0),w(H,Te,v,"\u22DA","\\lesseqgtr",!0),w(H,Te,v,"\u2A8B","\\lesseqqgtr",!0),w(H,Te,v,"\u2251","\\doteqdot"),w(H,Te,v,"\u2253","\\risingdotseq",!0),w(H,Te,v,"\u2252","\\fallingdotseq",!0),w(H,Te,v,"\u223D","\\backsim",!0),w(H,Te,v,"\u22CD","\\backsimeq",!0),w(H,Te,v,"\u2AC5","\\subseteqq",!0),w(H,Te,v,"\u22D0","\\Subset",!0),w(H,Te,v,"\u228F","\\sqsubset",!0),w(H,Te,v,"\u227C","\\preccurlyeq",!0),w(H,Te,v,"\u22DE","\\curlyeqprec",!0),w(H,Te,v,"\u227E","\\precsim",!0),w(H,Te,v,"\u2AB7","\\precapprox",!0),w(H,Te,v,"\u22B2","\\vartriangleleft"),w(H,Te,v,"\u22B4","\\trianglelefteq"),w(H,Te,v,"\u22A8","\\vDash",!0),w(H,Te,v,"\u22AA","\\Vvdash",!0),w(H,Te,v,"\u2323","\\smallsmile"),w(H,Te,v,"\u2322","\\smallfrown"),w(H,Te,v,"\u224F","\\bumpeq",!0),w(H,Te,v,"\u224E","\\Bumpeq",!0),w(H,Te,v,"\u2267","\\geqq",!0),w(H,Te,v,"\u2A7E","\\geqslant",!0),w(H,Te,v,"\u2A96","\\eqslantgtr",!0),w(H,Te,v,"\u2273","\\gtrsim",!0),w(H,Te,v,"\u2A86","\\gtrapprox",!0),w(H,Te,Mr,"\u22D7","\\gtrdot"),w(H,Te,v,"\u22D9","\\ggg",!0),w(H,Te,v,"\u2277","\\gtrless",!0),w(H,Te,v,"\u22DB","\\gtreqless",!0),w(H,Te,v,"\u2A8C","\\gtreqqless",!0),w(H,Te,v,"\u2256","\\eqcirc",!0),w(H,Te,v,"\u2257","\\circeq",!0),w(H,Te,v,"\u225C","\\triangleq",!0),w(H,Te,v,"\u223C","\\thicksim"),w(H,Te,v,"\u2248","\\thickapprox"),w(H,Te,v,"\u2AC6","\\supseteqq",!0),w(H,Te,v,"\u22D1","\\Supset",!0),w(H,Te,v,"\u2290","\\sqsupset",!0),w(H,Te,v,"\u227D","\\succcurlyeq",!0),w(H,Te,v,"\u22DF","\\curlyeqsucc",!0),w(H,Te,v,"\u227F","\\succsim",!0),w(H,Te,v,"\u2AB8","\\succapprox",!0),w(H,Te,v,"\u22B3","\\vartriangleright"),w(H,Te,v,"\u22B5","\\trianglerighteq"),w(H,Te,v,"\u22A9","\\Vdash",!0),w(H,Te,v,"\u2223","\\shortmid"),w(H,Te,v,"\u2225","\\shortparallel"),w(H,Te,v,"\u226C","\\between",!0),w(H,Te,v,"\u22D4","\\pitchfork",!0),w(H,Te,v,"\u221D","\\varpropto"),w(H,Te,v,"\u25C0","\\blacktriangleleft"),w(H,Te,v,"\u2234","\\therefore",!0),w(H,Te,v,"\u220D","\\backepsilon"),w(H,Te,v,"\u25B6","\\blacktriangleright"),w(H,Te,v,"\u2235","\\because",!0),w(H,Te,v,"\u22D8","\\llless"),w(H,Te,v,"\u22D9","\\gggtr"),w(H,Te,Mr,"\u22B2","\\lhd"),w(H,Te,Mr,"\u22B3","\\rhd"),w(H,Te,v,"\u2242","\\eqsim",!0),w(H,ae,v,"\u22C8","\\Join"),w(H,Te,v,"\u2251","\\Doteq",!0),w(H,Te,Mr,"\u2214","\\dotplus",!0),w(H,Te,Mr,"\u2216","\\smallsetminus"),w(H,Te,Mr,"\u22D2","\\Cap",!0),w(H,Te,Mr,"\u22D3","\\Cup",!0),w(H,Te,Mr,"\u2A5E","\\doublebarwedge",!0),w(H,Te,Mr,"\u229F","\\boxminus",!0),w(H,Te,Mr,"\u229E","\\boxplus",!0),w(H,Te,Mr,"\u22C7","\\divideontimes",!0),w(H,Te,Mr,"\u22C9","\\ltimes",!0),w(H,Te,Mr,"\u22CA","\\rtimes",!0),w(H,Te,Mr,"\u22CB","\\leftthreetimes",!0),w(H,Te,Mr,"\u22CC","\\rightthreetimes",!0),w(H,Te,Mr,"\u22CF","\\curlywedge",!0),w(H,Te,Mr,"\u22CE","\\curlyvee",!0),w(H,Te,Mr,"\u229D","\\circleddash",!0),w(H,Te,Mr,"\u229B","\\circledast",!0),w(H,Te,Mr,"\u22C5","\\centerdot"),w(H,Te,Mr,"\u22BA","\\intercal",!0),w(H,Te,Mr,"\u22D2","\\doublecap"),w(H,Te,Mr,"\u22D3","\\doublecup"),w(H,Te,Mr,"\u22A0","\\boxtimes",!0),w(H,Te,v,"\u21E2","\\dashrightarrow",!0),w(H,Te,v,"\u21E0","\\dashleftarrow",!0),w(H,Te,v,"\u21C7","\\leftleftarrows",!0),w(H,Te,v,"\u21C6","\\leftrightarrows",!0),w(H,Te,v,"\u21DA","\\Lleftarrow",!0),w(H,Te,v,"\u219E","\\twoheadleftarrow",!0),w(H,Te,v,"\u21A2","\\leftarrowtail",!0),w(H,Te,v,"\u21AB","\\looparrowleft",!0),w(H,Te,v,"\u21CB","\\leftrightharpoons",!0),w(H,Te,v,"\u21B6","\\curvearrowleft",!0),w(H,Te,v,"\u21BA","\\circlearrowleft",!0),w(H,Te,v,"\u21B0","\\Lsh",!0),w(H,Te,v,"\u21C8","\\upuparrows",!0),w(H,Te,v,"\u21BF","\\upharpoonleft",!0),w(H,Te,v,"\u21C3","\\downharpoonleft",!0),w(H,Te,v,"\u22B8","\\multimap",!0),w(H,Te,v,"\u21AD","\\leftrightsquigarrow",!0),w(H,Te,v,"\u21C9","\\rightrightarrows",!0),w(H,Te,v,"\u21C4","\\rightleftarrows",!0),w(H,Te,v,"\u21A0","\\twoheadrightarrow",!0),w(H,Te,v,"\u21A3","\\rightarrowtail",!0),w(H,Te,v,"\u21AC","\\looparrowright",!0),w(H,Te,v,"\u21B7","\\curvearrowright",!0),w(H,Te,v,"\u21BB","\\circlearrowright",!0),w(H,Te,v,"\u21B1","\\Rsh",!0),w(H,Te,v,"\u21CA","\\downdownarrows",!0),w(H,Te,v,"\u21BE","\\upharpoonright",!0),w(H,Te,v,"\u21C2","\\downharpoonright",!0),w(H,Te,v,"\u21DD","\\rightsquigarrow",!0),w(H,Te,v,"\u21DD","\\leadsto"),w(H,Te,v,"\u21DB","\\Rrightarrow",!0),w(H,Te,v,"\u21BE","\\restriction"),w(H,ae,$,"\u2018","`"),w(H,ae,$,"$","\\$"),w(wt,ae,$,"$","\\$"),w(wt,ae,$,"$","\\textdollar"),w(H,ae,$,"%","\\%"),w(wt,ae,$,"%","\\%"),w(H,ae,$,"_","\\_"),w(wt,ae,$,"_","\\_"),w(wt,ae,$,"_","\\textunderscore"),w(H,ae,$,"\u2220","\\angle",!0),w(H,ae,$,"\u221E","\\infty",!0),w(H,ae,$,"\u2032","\\prime"),w(H,ae,$,"\u25B3","\\triangle"),w(H,ae,$,"\u0393","\\Gamma",!0),w(H,ae,$,"\u0394","\\Delta",!0),w(H,ae,$,"\u0398","\\Theta",!0),w(H,ae,$,"\u039B","\\Lambda",!0),w(H,ae,$,"\u039E","\\Xi",!0),w(H,ae,$,"\u03A0","\\Pi",!0),w(H,ae,$,"\u03A3","\\Sigma",!0),w(H,ae,$,"\u03A5","\\Upsilon",!0),w(H,ae,$,"\u03A6","\\Phi",!0),w(H,ae,$,"\u03A8","\\Psi",!0),w(H,ae,$,"\u03A9","\\Omega",!0),w(H,ae,$,"A","\u0391"),w(H,ae,$,"B","\u0392"),w(H,ae,$,"E","\u0395"),w(H,ae,$,"Z","\u0396"),w(H,ae,$,"H","\u0397"),w(H,ae,$,"I","\u0399"),w(H,ae,$,"K","\u039A"),w(H,ae,$,"M","\u039C"),w(H,ae,$,"N","\u039D"),w(H,ae,$,"O","\u039F"),w(H,ae,$,"P","\u03A1"),w(H,ae,$,"T","\u03A4"),w(H,ae,$,"X","\u03A7"),w(H,ae,$,"\xAC","\\neg",!0),w(H,ae,$,"\xAC","\\lnot"),w(H,ae,$,"\u22A4","\\top"),w(H,ae,$,"\u22A5","\\bot"),w(H,ae,$,"\u2205","\\emptyset"),w(H,Te,$,"\u2205","\\varnothing"),w(H,ae,Rt,"\u03B1","\\alpha",!0),w(H,ae,Rt,"\u03B2","\\beta",!0),w(H,ae,Rt,"\u03B3","\\gamma",!0),w(H,ae,Rt,"\u03B4","\\delta",!0),w(H,ae,Rt,"\u03F5","\\epsilon",!0),w(H,ae,Rt,"\u03B6","\\zeta",!0),w(H,ae,Rt,"\u03B7","\\eta",!0),w(H,ae,Rt,"\u03B8","\\theta",!0),w(H,ae,Rt,"\u03B9","\\iota",!0),w(H,ae,Rt,"\u03BA","\\kappa",!0),w(H,ae,Rt,"\u03BB","\\lambda",!0),w(H,ae,Rt,"\u03BC","\\mu",!0),w(H,ae,Rt,"\u03BD","\\nu",!0),w(H,ae,Rt,"\u03BE","\\xi",!0),w(H,ae,Rt,"\u03BF","\\omicron",!0),w(H,ae,Rt,"\u03C0","\\pi",!0),w(H,ae,Rt,"\u03C1","\\rho",!0),w(H,ae,Rt,"\u03C3","\\sigma",!0),w(H,ae,Rt,"\u03C4","\\tau",!0),w(H,ae,Rt,"\u03C5","\\upsilon",!0),w(H,ae,Rt,"\u03D5","\\phi",!0),w(H,ae,Rt,"\u03C7","\\chi",!0),w(H,ae,Rt,"\u03C8","\\psi",!0),w(H,ae,Rt,"\u03C9","\\omega",!0),w(H,ae,Rt,"\u03B5","\\varepsilon",!0),w(H,ae,Rt,"\u03D1","\\vartheta",!0),w(H,ae,Rt,"\u03D6","\\varpi",!0),w(H,ae,Rt,"\u03F1","\\varrho",!0),w(H,ae,Rt,"\u03C2","\\varsigma",!0),w(H,ae,Rt,"\u03C6","\\varphi",!0),w(H,ae,Mr,"\u2217","*"),w(H,ae,Mr,"+","+"),w(H,ae,Mr,"\u2212","-"),w(H,ae,Mr,"\u22C5","\\cdot",!0),w(H,ae,Mr,"\u2218","\\circ"),w(H,ae,Mr,"\xF7","\\div",!0),w(H,ae,Mr,"\xB1","\\pm",!0),w(H,ae,Mr,"\xD7","\\times",!0),w(H,ae,Mr,"\u2229","\\cap",!0),w(H,ae,Mr,"\u222A","\\cup",!0),w(H,ae,Mr,"\u2216","\\setminus"),w(H,ae,Mr,"\u2227","\\land"),w(H,ae,Mr,"\u2228","\\lor"),w(H,ae,Mr,"\u2227","\\wedge",!0),w(H,ae,Mr,"\u2228","\\vee",!0),w(H,ae,$,"\u221A","\\surd"),w(H,ae,sr,"(","("),w(H,ae,sr,"[","["),w(H,ae,sr,"\u27E8","\\langle",!0),w(H,ae,sr,"\u2223","\\lvert"),w(H,ae,sr,"\u2225","\\lVert"),w(H,ae,bn,")",")"),w(H,ae,bn,"]","]"),w(H,ae,bn,"?","?"),w(H,ae,bn,"!","!"),w(H,ae,bn,"\u27E9","\\rangle",!0),w(H,ae,bn,"\u2223","\\rvert"),w(H,ae,bn,"\u2225","\\rVert"),w(H,ae,v,"=","="),w(H,ae,v,"<","<"),w(H,ae,v,">",">"),w(H,ae,v,":",":"),w(H,ae,v,"\u2248","\\approx",!0),w(H,ae,v,"\u2245","\\cong",!0),w(H,ae,v,"\u2265","\\ge"),w(H,ae,v,"\u2265","\\geq",!0),w(H,ae,v,"\u2190","\\gets"),w(H,ae,v,">","\\gt"),w(H,ae,v,"\u2208","\\in",!0),w(H,ae,v,"\uE020","\\@not"),w(H,ae,v,"\u2282","\\subset",!0),w(H,ae,v,"\u2283","\\supset",!0),w(H,ae,v,"\u2286","\\subseteq",!0),w(H,ae,v,"\u2287","\\supseteq",!0),w(H,Te,v,"\u2288","\\nsubseteq",!0),w(H,Te,v,"\u2289","\\nsupseteq",!0),w(H,ae,v,"\u22A8","\\models"),w(H,ae,v,"\u2190","\\leftarrow",!0),w(H,ae,v,"\u2264","\\le"),w(H,ae,v,"\u2264","\\leq",!0),w(H,ae,v,"<","\\lt"),w(H,ae,v,"\u2192","\\rightarrow",!0),w(H,ae,v,"\u2192","\\to"),w(H,Te,v,"\u2271","\\ngeq",!0),w(H,Te,v,"\u2270","\\nleq",!0),w(H,ae,Vt,"\xA0","\\ "),w(H,ae,Vt,"\xA0","~"),w(H,ae,Vt,"\xA0","\\space"),w(H,ae,Vt,"\xA0","\\nobreakspace"),w(wt,ae,Vt,"\xA0","\\ "),w(wt,ae,Vt,"\xA0","~"),w(wt,ae,Vt,"\xA0","\\space"),w(wt,ae,Vt,"\xA0","\\nobreakspace"),w(H,ae,Vt,null,"\\nobreak"),w(H,ae,Vt,null,"\\allowbreak"),w(H,ae,C,",",","),w(H,ae,C,";",";"),w(H,Te,Mr,"\u22BC","\\barwedge",!0),w(H,Te,Mr,"\u22BB","\\veebar",!0),w(H,ae,Mr,"\u2299","\\odot",!0),w(H,ae,Mr,"\u2295","\\oplus",!0),w(H,ae,Mr,"\u2297","\\otimes",!0),w(H,ae,$,"\u2202","\\partial",!0),w(H,ae,Mr,"\u2298","\\oslash",!0),w(H,Te,Mr,"\u229A","\\circledcirc",!0),w(H,Te,Mr,"\u22A1","\\boxdot",!0),w(H,ae,Mr,"\u25B3","\\bigtriangleup"),w(H,ae,Mr,"\u25BD","\\bigtriangledown"),w(H,ae,Mr,"\u2020","\\dagger"),w(H,ae,Mr,"\u22C4","\\diamond"),w(H,ae,Mr,"\u22C6","\\star"),w(H,ae,Mr,"\u25C3","\\triangleleft"),w(H,ae,Mr,"\u25B9","\\triangleright"),w(H,ae,sr,"{","\\{"),w(wt,ae,$,"{","\\{"),w(wt,ae,$,"{","\\textbraceleft"),w(H,ae,bn,"}","\\}"),w(wt,ae,$,"}","\\}"),w(wt,ae,$,"}","\\textbraceright"),w(H,ae,sr,"{","\\lbrace"),w(H,ae,bn,"}","\\rbrace"),w(H,ae,sr,"[","\\lbrack"),w(wt,ae,$,"[","\\lbrack"),w(H,ae,bn,"]","\\rbrack"),w(wt,ae,$,"]","\\rbrack"),w(H,ae,sr,"(","\\lparen"),w(H,ae,bn,")","\\rparen"),w(wt,ae,$,"<","\\textless"),w(wt,ae,$,">","\\textgreater"),w(H,ae,sr,"\u230A","\\lfloor",!0),w(H,ae,bn,"\u230B","\\rfloor",!0),w(H,ae,sr,"\u2308","\\lceil",!0),w(H,ae,bn,"\u2309","\\rceil",!0),w(H,ae,$,"\\","\\backslash"),w(H,ae,$,"\u2223","|"),w(H,ae,$,"\u2223","\\vert"),w(wt,ae,$,"|","\\textbar"),w(H,ae,$,"\u2225","\\|"),w(H,ae,$,"\u2225","\\Vert"),w(wt,ae,$,"\u2225","\\textbardbl"),w(wt,ae,$,"~","\\textasciitilde"),w(wt,ae,$,"\\","\\textbackslash"),w(wt,ae,$,"^","\\textasciicircum"),w(H,ae,v,"\u2191","\\uparrow",!0),w(H,ae,v,"\u21D1","\\Uparrow",!0),w(H,ae,v,"\u2193","\\downarrow",!0),w(H,ae,v,"\u21D3","\\Downarrow",!0),w(H,ae,v,"\u2195","\\updownarrow",!0),w(H,ae,v,"\u21D5","\\Updownarrow",!0),w(H,ae,xr,"\u2210","\\coprod"),w(H,ae,xr,"\u22C1","\\bigvee"),w(H,ae,xr,"\u22C0","\\bigwedge"),w(H,ae,xr,"\u2A04","\\biguplus"),w(H,ae,xr,"\u22C2","\\bigcap"),w(H,ae,xr,"\u22C3","\\bigcup"),w(H,ae,xr,"\u222B","\\int"),w(H,ae,xr,"\u222B","\\intop"),w(H,ae,xr,"\u222C","\\iint"),w(H,ae,xr,"\u222D","\\iiint"),w(H,ae,xr,"\u220F","\\prod"),w(H,ae,xr,"\u2211","\\sum"),w(H,ae,xr,"\u2A02","\\bigotimes"),w(H,ae,xr,"\u2A01","\\bigoplus"),w(H,ae,xr,"\u2A00","\\bigodot"),w(H,ae,xr,"\u222E","\\oint"),w(H,ae,xr,"\u222F","\\oiint"),w(H,ae,xr,"\u2230","\\oiiint"),w(H,ae,xr,"\u2A06","\\bigsqcup"),w(H,ae,xr,"\u222B","\\smallint"),w(wt,ae,Dn,"\u2026","\\textellipsis"),w(H,ae,Dn,"\u2026","\\mathellipsis"),w(wt,ae,Dn,"\u2026","\\ldots",!0),w(H,ae,Dn,"\u2026","\\ldots",!0),w(H,ae,Dn,"\u22EF","\\@cdots",!0),w(H,ae,Dn,"\u22F1","\\ddots",!0),w(H,ae,$,"\u22EE","\\varvdots"),w(H,ae,Fr,"\u02CA","\\acute"),w(H,ae,Fr,"\u02CB","\\grave"),w(H,ae,Fr,"\xA8","\\ddot"),w(H,ae,Fr,"~","\\tilde"),w(H,ae,Fr,"\u02C9","\\bar"),w(H,ae,Fr,"\u02D8","\\breve"),w(H,ae,Fr,"\u02C7","\\check"),w(H,ae,Fr,"^","\\hat"),w(H,ae,Fr,"\u20D7","\\vec"),w(H,ae,Fr,"\u02D9","\\dot"),w(H,ae,Fr,"\u02DA","\\mathring"),w(H,ae,Rt,"\u0131","\\imath",!0),w(H,ae,Rt,"\u0237","\\jmath",!0),w(wt,ae,$,"\u0131","\\i",!0),w(wt,ae,$,"\u0237","\\j",!0),w(wt,ae,$,"\xDF","\\ss",!0),w(wt,ae,$,"\xE6","\\ae",!0),w(wt,ae,$,"\xE6","\\ae",!0),w(wt,ae,$,"\u0153","\\oe",!0),w(wt,ae,$,"\xF8","\\o",!0),w(wt,ae,$,"\xC6","\\AE",!0),w(wt,ae,$,"\u0152","\\OE",!0),w(wt,ae,$,"\xD8","\\O",!0),w(wt,ae,Fr,"\u02CA","\\'"),w(wt,ae,Fr,"\u02CB","\\`"),w(wt,ae,Fr,"\u02C6","\\^"),w(wt,ae,Fr,"\u02DC","\\~"),w(wt,ae,Fr,"\u02C9","\\="),w(wt,ae,Fr,"\u02D8","\\u"),w(wt,ae,Fr,"\u02D9","\\."),w(wt,ae,Fr,"\u02DA","\\r"),w(wt,ae,Fr,"\u02C7","\\v"),w(wt,ae,Fr,"\xA8",'\\"'),w(wt,ae,Fr,"\u02DD","\\H"),w(wt,ae,Fr,"\u25EF","\\textcircled");var Oe={"--":!0,"---":!0,"``":!0,"''":!0};w(wt,ae,$,"\u2013","--"),w(wt,ae,$,"\u2013","\\textendash"),w(wt,ae,$,"\u2014","---"),w(wt,ae,$,"\u2014","\\textemdash"),w(wt,ae,$,"\u2018","`"),w(wt,ae,$,"\u2018","\\textquoteleft"),w(wt,ae,$,"\u2019","'"),w(wt,ae,$,"\u2019","\\textquoteright"),w(wt,ae,$,"\u201C","``"),w(wt,ae,$,"\u201C","\\textquotedblleft"),w(wt,ae,$,"\u201D","''"),w(wt,ae,$,"\u201D","\\textquotedblright"),w(H,ae,$,"\xB0","\\degree",!0),w(wt,ae,$,"\xB0","\\degree"),w(wt,ae,$,"\xB0","\\textdegree",!0),w(H,ae,Rt,"\xA3","\\pounds"),w(H,ae,Rt,"\xA3","\\mathsterling",!0),w(wt,ae,Rt,"\xA3","\\pounds"),w(wt,ae,Rt,"\xA3","\\textsterling",!0),w(H,Te,$,"\u2720","\\maltese"),w(wt,Te,$,"\u2720","\\maltese"),w(wt,ae,Vt,"\xA0","\\ "),w(wt,ae,Vt,"\xA0"," "),w(wt,ae,Vt,"\xA0","~");for(var ln='0123456789/@."',Wr=0;Wr<ln.length;Wr++){var Ht=ln.charAt(Wr);w(H,ae,$,Ht,Ht)}for(var Gt='0123456789!@*()-=+[]<>|";:?/.,',br=0;br<Gt.length;br++){var Kr=Gt.charAt(br);w(wt,ae,$,Kr,Kr)}for(var an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",An=0;An<an.length;An++){var Ct=an.charAt(An);w(H,ae,Rt,Ct,Ct),w(wt,ae,$,Ct,Ct)}w(H,Te,$,"C","\u2102"),w(wt,Te,$,"C","\u2102"),w(H,Te,$,"H","\u210D"),w(wt,Te,$,"H","\u210D"),w(H,Te,$,"N","\u2115"),w(wt,Te,$,"N","\u2115"),w(H,Te,$,"P","\u2119"),w(wt,Te,$,"P","\u2119"),w(H,Te,$,"Q","\u211A"),w(wt,Te,$,"Q","\u211A"),w(H,Te,$,"R","\u211D"),w(wt,Te,$,"R","\u211D"),w(H,Te,$,"Z","\u2124"),w(wt,Te,$,"Z","\u2124"),w(H,ae,Rt,"h","\u210E"),w(wt,ae,Rt,"h","\u210E");for(var Lt="",Ue=0;Ue<an.length;Ue++){var jr=an.charAt(Ue);Lt=String.fromCharCode(55349,56320+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56372+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56424+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56580+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56736+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56788+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56840+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56944+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Ue<26&&(Lt=String.fromCharCode(55349,56632+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt),Lt=String.fromCharCode(55349,56476+Ue),w(H,ae,Rt,jr,Lt),w(wt,ae,$,jr,Lt))}Lt="\u{1D55C}",w(H,ae,Rt,"k",Lt),w(wt,ae,$,"k",Lt);for(var $r=0;$r<10;$r++){var Gr=$r.toString();Lt=String.fromCharCode(55349,57294+$r),w(H,ae,Rt,Gr,Lt),w(wt,ae,$,Gr,Lt),Lt=String.fromCharCode(55349,57314+$r),w(H,ae,Rt,Gr,Lt),w(wt,ae,$,Gr,Lt),Lt=String.fromCharCode(55349,57324+$r),w(H,ae,Rt,Gr,Lt),w(wt,ae,$,Gr,Lt),Lt=String.fromCharCode(55349,57334+$r),w(H,ae,Rt,Gr,Lt),w(wt,ae,$,Gr,Lt)}for(var Cn="\xC7\xD0\xDE\xE7\xFE",na=0;na<Cn.length;na++){var mt=Cn.charAt(na);w(H,ae,Rt,mt,mt),w(wt,ae,$,mt,mt)}w(wt,ae,$,"\xF0","\xF0"),w(wt,ae,$,"\u2013","\u2013"),w(wt,ae,$,"\u2014","\u2014"),w(wt,ae,$,"\u2018","\u2018"),w(wt,ae,$,"\u2019","\u2019"),w(wt,ae,$,"\u201C","\u201C"),w(wt,ae,$,"\u201D","\u201D");var rr=[["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"]],cr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],ir=function(r,a){var l=r.charCodeAt(0),g=r.charCodeAt(1),k=(l-55296)*1024+(g-56320)+65536,ie=a==="math"?0:1;if(119808<=k&&k<120484){var ze=Math.floor((k-119808)/26);return[rr[ze][2],rr[ze][ie]]}else if(120782<=k&&k<=120831){var Je=Math.floor((k-120782)/10);return[cr[Je][2],cr[Je][ie]]}else{if(k===120485||k===120486)return[rr[0][2],rr[0][ie]];if(120486<k&&k<120782)return["",""];throw new ee("Unsupported character: "+r)}},Nr=[[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]],Dr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],sn=function(r,a){return a.size<2?r:Nr[r-1][a.size-1]},Br=function(){function re(a){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=a.style,this.color=a.color,this.size=a.size||re.BASESIZE,this.textSize=a.textSize||this.size,this.phantom=!!a.phantom,this.font=a.font||"",this.fontFamily=a.fontFamily||"",this.fontWeight=a.fontWeight||"",this.fontShape=a.fontShape||"",this.sizeMultiplier=Dr[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}var r=re.prototype;return r.extend=function(l){var g={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var k in l)l.hasOwnProperty(k)&&(g[k]=l[k]);return new re(g)},r.havingStyle=function(l){return this.style===l?this:this.extend({style:l,size:sn(this.textSize,l)})},r.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},r.havingSize=function(l){return this.size===l&&this.textSize===l?this:this.extend({style:this.style.text(),size:l,textSize:l,sizeMultiplier:Dr[l-1]})},r.havingBaseStyle=function(l){l=l||this.style.text();var g=sn(re.BASESIZE,l);return this.size===g&&this.textSize===re.BASESIZE&&this.style===l?this:this.extend({style:l,size:g})},r.havingBaseSizing=function(){var l;switch(this.style.id){case 4:case 5:l=3;break;case 6:case 7:l=1;break;default:l=6}return this.extend({style:this.style.text(),size:l})},r.withColor=function(l){return this.extend({color:l})},r.withPhantom=function(){return this.extend({phantom:!0})},r.withFont=function(l){return this.extend({font:l})},r.withTextFontFamily=function(l){return this.extend({fontFamily:l,font:""})},r.withTextFontWeight=function(l){return this.extend({fontWeight:l,font:""})},r.withTextFontShape=function(l){return this.extend({fontShape:l,font:""})},r.sizingClasses=function(l){return l.size!==this.size?["sizing","reset-size"+l.size,"size"+this.size]:[]},r.baseSizingClasses=function(){return this.size!==re.BASESIZE?["sizing","reset-size"+this.size,"size"+re.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=or(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},re}();Br.BASESIZE=6;var pn=Br,on={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Mn={ex:!0,em:!0,mu:!0},jn=function(r){return typeof r!="string"&&(r=r.unit),r in on||r in Mn||r==="ex"},xn=function(r,a){var l;if(r.unit in on)l=on[r.unit]/a.fontMetrics().ptPerEm/a.sizeMultiplier;else if(r.unit==="mu")l=a.fontMetrics().cssEmPerMu;else{var g;if(a.style.isTight()?g=a.havingStyle(a.style.text()):g=a,r.unit==="ex")l=g.fontMetrics().xHeight;else if(r.unit==="em")l=g.fontMetrics().quad;else throw new ee("Invalid unit: '"+r.unit+"'");g!==a&&(l*=g.sizeMultiplier/a.sizeMultiplier)}return Math.min(r.number*l,a.maxSize)},zn=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ua=function(r,a,l){return Pr[l][r]&&Pr[l][r].replace&&(r=Pr[l][r].replace),{value:r,metrics:dt(r,a,l)}},nn=function(r,a,l,g,k){var ie=ua(r,a,l),ze=ie.metrics;r=ie.value;var Je;if(ze){var At=ze.italic;(l==="text"||g&&g.font==="mathit")&&(At=0),Je=new Be(r,ze.height,ze.depth,At,ze.skew,ze.width,k)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+r+"' in style '"+a+"' and mode '"+l+"'")),Je=new Be(r,0,0,0,0,0,k);if(g){Je.maxFontSize=g.sizeMultiplier,g.style.isTight()&&Je.classes.push("mtight");var ar=g.getColor();ar&&(Je.style.color=ar)}return Je},$n=function(r,a,l,g){return g===void 0&&(g=[]),l.font==="boldsymbol"&&ua(r,"Main-Bold",a).metrics?nn(r,"Main-Bold",a,l,g.concat(["mathbf"])):r==="\\"||Pr[a][r].font==="main"?nn(r,"Main-Regular",a,l,g):nn(r,"AMS-Regular",a,l,g.concat(["amsrm"]))},kn=function(r,a,l,g){return/[0-9]/.test(r.charAt(0))||O.contains(zn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ea=function(r,a,l,g){return O.contains(zn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Rn=function(r,a,l,g){return ua(r,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},aa=function(r,a,l){var g=r.mode,k=r.text,ie=["mord"],ze=g==="math"||g==="text"&&a.font,Je=ze?a.font:a.fontFamily;if(k.charCodeAt(0)===55349){var At=ir(k,g),ar=At[0],pr=At[1];return nn(k,ar,g,a,ie.concat(pr))}else if(Je){var Ur,en;if(Je==="boldsymbol"||Je==="mathnormal"){var hn=Je==="boldsymbol"?Rn(k,g,a,ie):Ea(k,g,a,ie);Ur=hn.fontName,en=[hn.fontClass]}else O.contains(zn,k)?(Ur="Main-Italic",en=["mathit"]):ze?(Ur=p[Je].fontName,en=[Je]):(Ur=s(Je,a.fontWeight,a.fontShape),en=[Je,a.fontWeight,a.fontShape]);if(ua(k,Ur,g).metrics)return nn(k,Ur,g,a,ie.concat(en));if(Oe.hasOwnProperty(k)&&Ur.substr(0,10)==="Typewriter"){for(var In=[],Gn=0;Gn<k.length;Gn++)In.push(nn(k[Gn],Ur,g,a,ie.concat(en)));return Ma(In)}}if(l==="mathord"){var Oa=kn(k,g,a,ie);return nn(k,Oa.fontName,g,a,ie.concat([Oa.fontClass]))}else if(l==="textord"){var u=Pr[g][k]&&Pr[g][k].font;if(u==="ams"){var e=s("amsrm",a.fontWeight,a.fontShape);return nn(k,e,g,a,ie.concat("amsrm",a.fontWeight,a.fontShape))}else if(u==="main"||!u){var t=s("textrm",a.fontWeight,a.fontShape);return nn(k,t,g,a,ie.concat(a.fontWeight,a.fontShape))}else{var h=s(u,a.fontWeight,a.fontShape);return nn(k,h,g,a,ie.concat(h,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+l+" in makeOrd")},Kn=function(r,a){if(M(r.classes)!==M(a.classes)||r.skew!==a.skew||r.maxFontSize!==a.maxFontSize)return!1;for(var l in r.style)if(r.style.hasOwnProperty(l)&&r.style[l]!==a.style[l])return!1;for(var g in a.style)if(a.style.hasOwnProperty(g)&&r.style[g]!==a.style[g])return!1;return!0},Zn=function(r){for(var a=0;a<r.length-1;a++){var l=r[a],g=r[a+1];l instanceof Be&&g instanceof Be&&Kn(l,g)&&(l.text+=g.text,l.height=Math.max(l.height,g.height),l.depth=Math.max(l.depth,g.depth),l.italic=g.italic,r.splice(a+1,1),a--)}return r},Jn=function(r){for(var a=0,l=0,g=0,k=0;k<r.children.length;k++){var ie=r.children[k];ie.height>a&&(a=ie.height),ie.depth>l&&(l=ie.depth),ie.maxFontSize>g&&(g=ie.maxFontSize)}r.height=a,r.depth=l,r.maxFontSize=g},On=function(r,a,l,g){var k=new fe(r,a,l,g);return Jn(k),k},Bn=function(r,a,l,g){return new fe(r,a,l,g)},Yn=function(r,a,l){var g=On([r],[],a);return g.height=Math.max(l||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},Ca=function(r,a,l,g){var k=new me(r,a,l,g);return Jn(k),k},Ma=function(r){var a=new Re(r);return Jn(a),a},ao=function(r,a){return r instanceof Re?On([],[r],a):r},ro=function(r){if(r.positionType==="individualShift"){for(var a=r.children,l=[a[0]],g=-a[0].shift-a[0].elem.depth,k=g,ie=1;ie<a.length;ie++){var ze=-a[ie].shift-k-a[ie].elem.depth,Je=ze-(a[ie-1].elem.height+a[ie-1].elem.depth);k=k+ze,l.push({type:"kern",size:Je}),l.push(a[ie])}return{children:l,depth:g}}var At;if(r.positionType==="top"){for(var ar=r.positionData,pr=0;pr<r.children.length;pr++){var Ur=r.children[pr];ar-=Ur.type==="kern"?Ur.size:Ur.elem.height+Ur.elem.depth}At=ar}else if(r.positionType==="bottom")At=-r.positionData;else{var en=r.children[0];if(en.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")At=-en.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")At=-en.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:At}},oo=function(r,a){for(var l=ro(r),g=l.children,k=l.depth,ie=0,ze=0;ze<g.length;ze++){var Je=g[ze];if(Je.type==="elem"){var At=Je.elem;ie=Math.max(ie,At.maxFontSize,At.height)}}ie+=2;var ar=On(["pstrut"],[]);ar.style.height=ie+"em";for(var pr=[],Ur=k,en=k,hn=k,In=0;In<g.length;In++){var Gn=g[In];if(Gn.type==="kern")hn+=Gn.size;else{var Oa=Gn.elem,u=Gn.wrapperClasses||[],e=Gn.wrapperStyle||{},t=On(u,[ar,Oa],void 0,e);t.style.top=-ie-hn-Oa.depth+"em",Gn.marginLeft&&(t.style.marginLeft=Gn.marginLeft),Gn.marginRight&&(t.style.marginRight=Gn.marginRight),pr.push(t),hn+=Oa.height+Oa.depth}Ur=Math.min(Ur,hn),en=Math.max(en,hn)}var h=On(["vlist"],pr);h.style.height=en+"em";var E;if(Ur<0){var G=On([],[]),be=On(["vlist"],[G]);be.style.height=-Ur+"em";var Ve=On(["vlist-s"],[new Be("\u200B")]);E=[On(["vlist-r"],[h,Ve]),On(["vlist-r"],[be])]}else E=[On(["vlist-r"],[h])];var qe=On(["vlist-t"],E);return E.length===2&&qe.classes.push("vlist-t2"),qe.height=en,qe.depth=-Ur,qe},f=function(r,a){var l=On(["mspace"],[],a),g=xn(r,a);return l.style.marginRight=g+"em",l},s=function(r,a,l){var g="";switch(r){case"amsrm":g="AMS";break;case"textrm":g="Main";break;case"textsf":g="SansSerif";break;case"texttt":g="Typewriter";break;default:g=r}var k;return a==="textbf"&&l==="textit"?k="BoldItalic":a==="textbf"?k="Bold":a==="textit"?k="Italic":k="Regular",g+"-"+k},p={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"}},b={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},j=function(r,a){var l=b[r],g=l[0],k=l[1],ie=l[2],ze=new xt(g),Je=new Ye([ze],{width:k+"em",height:ie+"em",style:"width:"+k+"em",viewBox:"0 0 "+1e3*k+" "+1e3*ie,preserveAspectRatio:"xMinYMin"}),At=Bn(["overlay"],[Je],a);return At.height=ie,At.style.height=ie+"em",At.style.width=k+"em",At},d={fontMap:p,makeSymbol:nn,mathsym:$n,makeSpan:On,makeSvgSpan:Bn,makeLineSpan:Yn,makeAnchor:Ca,makeFragment:Ma,wrapFragment:ao,makeVList:oo,makeOrd:aa,makeGlue:f,staticSvg:j,svgData:b,tryCombineChars:Zn};function ne(re,r){var a=V(re,r);if(!a)throw new Error("Expected node of type "+r+", but got "+(re?"node of type "+re.type:String(re)));return a}function V(re,r){return re&&re.type===r?re:null}function Q(re,r){var a=Ae(re,r);if(!a)throw new Error('Expected node of type "atom" and family "'+r+'", but got '+(re?re.type==="atom"?"atom of family "+re.family:"node of type "+re.type:String(re)));return a}function Ae(re,r){return re&&re.type==="atom"&&re.family===r?re:null}function it(re){var r=Pt(re);if(!r)throw new Error("Expected node of symbol group type, but got "+(re?"node of type "+re.type:String(re)));return r}function Pt(re){return re&&(re.type==="atom"||Er.hasOwnProperty(re.type))?re:null}var It={number:3,unit:"mu"},ve={number:4,unit:"mu"},rt={number:5,unit:"mu"},gt={mord:{mop:It,mbin:ve,mrel:rt,minner:It},mop:{mord:It,mop:It,mrel:rt,minner:It},mbin:{mord:ve,mop:ve,mopen:ve,minner:ve},mrel:{mord:rt,mop:rt,mopen:rt,minner:rt},mopen:{},mclose:{mop:It,mbin:ve,mrel:rt,minner:It},mpunct:{mord:It,mop:It,mrel:rt,mopen:It,mclose:It,mpunct:It,minner:It},minner:{mord:It,mop:It,mbin:ve,mrel:rt,mopen:It,mpunct:It,minner:It}},Kt={mord:{mop:It},mop:{mord:It,mop:It},mbin:{},mrel:{},mopen:{},mclose:{mop:It},mpunct:{},minner:{mop:It}},ct={},ur={},Cr={};function Qt(re){for(var r=re.type,a=re.names,l=re.props,g=re.handler,k=re.htmlBuilder,ie=re.mathmlBuilder,ze={type:r,numArgs:l.numArgs,argTypes:l.argTypes,greediness:l.greediness===void 0?1:l.greediness,allowedInText:!!l.allowedInText,allowedInMath:l.allowedInMath===void 0?!0:l.allowedInMath,numOptionalArgs:l.numOptionalArgs||0,infix:!!l.infix,handler:g},Je=0;Je<a.length;++Je)ct[a[Je]]=ze;r&&(k&&(ur[r]=k),ie&&(Cr[r]=ie))}function tt(re){var r=re.type,a=re.htmlBuilder,l=re.mathmlBuilder;Qt({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:a,mathmlBuilder:l})}var we=function(r){var a=V(r,"ordgroup");return a?a.body:[r]},kt=d.makeSpan,Ft=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ot=["rightmost","mrel","mclose","mpunct"],Jt={display:y.DISPLAY,text:y.TEXT,script:y.SCRIPT,scriptscript:y.SCRIPTSCRIPT},Fe={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Me=function(r,a,l,g){g===void 0&&(g=[null,null]);for(var k=[],ie=0;ie<r.length;ie++){var ze=Tt(r[ie],a);if(ze instanceof Re){var Je=ze.children;k.push.apply(k,Je)}else k.push(ze)}if(!l)return k;var At=a;if(r.length===1){var ar=V(r[0],"sizing")||V(r[0],"styling");ar&&(ar.type==="sizing"?At=a.havingSize(ar.size):ar.type==="styling"&&(At=a.havingStyle(Jt[ar.style])))}var pr=kt([g[0]||"leftmost"],[],a),Ur=kt([g[1]||"rightmost"],[],a);return lt(k,function(en,hn){var In=hn.classes[0],Gn=en.classes[0];In==="mbin"&&O.contains(Ot,Gn)?hn.classes[0]="mord":Gn==="mbin"&&O.contains(Ft,In)&&(en.classes[0]="mord")},{node:pr},Ur),lt(k,function(en,hn){var In=vr(hn),Gn=vr(en),Oa=In&&Gn?en.hasClass("mtight")?Kt[In][Gn]:gt[In][Gn]:null;if(Oa)return d.makeGlue(Oa,At)},{node:pr},Ur),k},lt=function re(r,a,l,g){g&&r.push(g);for(var k=0;k<r.length;k++){var ie=r[k],ze=Et(ie);if(ze){re(ze.children,a,l);continue}if(ie.classes[0]!=="mspace"){var Je=a(ie,l.node);Je&&(l.insertAfter?l.insertAfter(Je):(r.unshift(Je),k++)),l.node=ie,l.insertAfter=function(At){return function(ar){r.splice(At+1,0,ar),k++}}(k)}}g&&r.pop()},Et=function(r){return r instanceof Re||r instanceof me?r:null},fr=function re(r,a){var l=Et(r);if(l){var g=l.children;if(g.length){if(a==="right")return re(g[g.length-1],"right");if(a==="left")return re(g[0],"left")}}return r},vr=function(r,a){return r?(a&&(r=fr(r,a)),Fe[r.classes[0]]||null):null},Zt=function(r,a){var l=["nulldelimiter"].concat(r.baseSizingClasses());return kt(a.concat(l))},Tt=function(r,a,l){if(!r)return kt();if(ur[r.type]){var g=ur[r.type](r,a);if(l&&a.size!==l.size){g=kt(a.sizingClasses(l),[g],a);var k=a.sizeMultiplier/l.sizeMultiplier;g.height*=k,g.depth*=k}return g}else throw new ee("Got group of unknown type: '"+r.type+"'")};function dr(re,r){var a=kt(["base"],re,r),l=kt(["strut"]);return l.style.height=a.height+a.depth+"em",l.style.verticalAlign=-a.depth+"em",a.children.unshift(l),a}function Yt(re,r){var a=null;re.length===1&&re[0].type==="tag"&&(a=re[0].tag,re=re[0].body);for(var l=Me(re,r,!0),g=[],k=[],ie=0;ie<l.length;ie++)if(k.push(l[ie]),l[ie].hasClass("mbin")||l[ie].hasClass("mrel")||l[ie].hasClass("allowbreak")){for(var ze=!1;ie<l.length-1&&l[ie+1].hasClass("mspace")&&!l[ie+1].hasClass("newline");)ie++,k.push(l[ie]),l[ie].hasClass("nobreak")&&(ze=!0);ze||(g.push(dr(k,r)),k=[])}else l[ie].hasClass("newline")&&(k.pop(),k.length>0&&(g.push(dr(k,r)),k=[]),g.push(l[ie]));k.length>0&&g.push(dr(k,r));var Je;a&&(Je=dr(Me(a,r,!0)),Je.classes=["tag"],g.push(Je));var At=kt(["katex-html"],g);if(At.setAttribute("aria-hidden","true"),Je){var ar=Je.children[0];ar.style.height=At.height+At.depth+"em",ar.style.verticalAlign=-At.depth+"em"}return At}function wr(re){return new Re(re)}var je=function(){function re(a,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=a,this.attributes={},this.children=l||[]}var r=re.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.getAttribute=function(l){return this.attributes[l]},r.toNode=function(){var l=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&l.setAttribute(g,this.attributes[g]);for(var k=0;k<this.children.length;k++)l.appendChild(this.children[k].toNode());return l},r.toMarkup=function(){var l="<"+this.type;for(var g in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,g)&&(l+=" "+g+'="',l+=O.escape(this.attributes[g]),l+='"');l+=">";for(var k=0;k<this.children.length;k++)l+=this.children[k].toMarkup();return l+="</"+this.type+">",l},r.toText=function(){return this.children.map(function(l){return l.toText()}).join("")},re}(),vt=function(){function re(a){this.text=void 0,this.text=a}var r=re.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return O.escape(this.toText())},r.toText=function(){return this.text},re}(),Nt=function(){function re(a){this.width=void 0,this.character=void 0,this.width=a,a>=.05555&&a<=.05556?this.character="\u200A":a>=.1666&&a<=.1667?this.character="\u2009":a>=.2222&&a<=.2223?this.character="\u2005":a>=.2777&&a<=.2778?this.character="\u2005\u200A":a>=-.05556&&a<=-.05555?this.character="\u200A\u2063":a>=-.1667&&a<=-.1666?this.character="\u2009\u2063":a>=-.2223&&a<=-.2222?this.character="\u205F\u2063":a>=-.2778&&a<=-.2777?this.character="\u2005\u2063":this.character=null}var r=re.prototype;return r.toNode=function(){if(this.character)return document.createTextNode(this.character);var l=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return l.setAttribute("width",this.width+"em"),l},r.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},r.toText=function(){return this.character?this.character:" "},re}(),st={MathNode:je,TextNode:vt,SpaceNode:Nt,newDocumentFragment:wr},qt=function(r,a,l){return Pr[a][r]&&Pr[a][r].replace&&r.charCodeAt(0)!==55349&&!(Oe.hasOwnProperty(r)&&l&&(l.fontFamily&&l.fontFamily.substr(4,2)==="tt"||l.font&&l.font.substr(4,2)==="tt"))&&(r=Pr[a][r].replace),new st.TextNode(r)},nr=function(r){return r.length===1?r[0]:new st.MathNode("mrow",r)},Or=function(r,a){if(a.fontFamily==="texttt")return"monospace";if(a.fontFamily==="textsf")return a.fontShape==="textit"&&a.fontWeight==="textbf"?"sans-serif-bold-italic":a.fontShape==="textit"?"sans-serif-italic":a.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(a.fontShape==="textit"&&a.fontWeight==="textbf")return"bold-italic";if(a.fontShape==="textit")return"italic";if(a.fontWeight==="textbf")return"bold";var l=a.font;if(!l||l==="mathnormal")return null;var g=r.mode;if(l==="mathit")return"italic";if(l==="boldsymbol")return"bold-italic";if(l==="mathbf")return"bold";if(l==="mathbb")return"double-struck";if(l==="mathfrak")return"fraktur";if(l==="mathscr"||l==="mathcal")return"script";if(l==="mathsf")return"sans-serif";if(l==="mathtt")return"monospace";var k=r.text;if(O.contains(["\\imath","\\jmath"],k))return null;Pr[g][k]&&Pr[g][k].replace&&(k=Pr[g][k].replace);var ie=d.fontMap[l].fontName;return dt(k,ie,g)?d.fontMap[l].variant:null},Ar=function(r,a,l){if(r.length===1){var g=Hr(r[0],a);return l&&g instanceof je&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var k=[],ie,ze=0;ze<r.length;ze++){var Je=Hr(r[ze],a);if(Je instanceof je&&ie instanceof je){if(Je.type==="mtext"&&ie.type==="mtext"&&Je.getAttribute("mathvariant")===ie.getAttribute("mathvariant")){var At;(At=ie.children).push.apply(At,Je.children);continue}else if(Je.type==="mn"&&ie.type==="mn"){var ar;(ar=ie.children).push.apply(ar,Je.children);continue}else if(Je.type==="mi"&&Je.children.length===1&&ie.type==="mn"){var pr=Je.children[0];if(pr instanceof vt&&pr.text==="."){var Ur;(Ur=ie.children).push.apply(Ur,Je.children);continue}}else if(ie.type==="mi"&&ie.children.length===1){var en=ie.children[0];if(en instanceof vt&&en.text==="\u0338"&&(Je.type==="mo"||Je.type==="mi"||Je.type==="mn")){var hn=Je.children[0];hn instanceof vt&&hn.text.length>0&&(hn.text=hn.text.slice(0,1)+"\u0338"+hn.text.slice(1),k.pop())}}}k.push(Je),ie=Je}return k},Rr=function(r,a,l){return nr(Ar(r,a,l))},Hr=function(r,a){if(!r)return new st.MathNode("mrow");if(Cr[r.type]){var l=Cr[r.type](r,a);return l}else throw new ee("Got group of unknown type: '"+r.type+"'")};function cn(re,r,a,l){var g=Ar(re,a),k;g.length===1&&g[0]instanceof je&&O.contains(["mrow","mtable"],g[0].type)?k=g[0]:k=new st.MathNode("mrow",g);var ie=new st.MathNode("annotation",[new st.TextNode(r)]);ie.setAttribute("encoding","application/x-tex");var ze=new st.MathNode("semantics",[k,ie]),Je=new st.MathNode("math",[ze]);Je.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var At=l?"katex":"katex-mathml";return d.makeSpan([At],[Je])}var wn=function(r){return new pn({style:r.displayMode?y.DISPLAY:y.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Lr=function(r,a){if(a.displayMode){var l=["katex-display"];a.leqno&&l.push("leqno"),a.fleqn&&l.push("fleqn"),r=d.makeSpan(l,[r])}return r},Mt=function(r,a,l){var g=wn(l),k;if(l.output==="mathml")return cn(r,a,g,!0);if(l.output==="html"){var ie=Yt(r,g);k=d.makeSpan(["katex"],[ie])}else{var ze=cn(r,a,g,!1),Je=Yt(r,g);k=d.makeSpan(["katex"],[ze,Je])}return Lr(k,l)},ba=function(r,a,l){var g=wn(l),k=Yt(r,g),ie=d.makeSpan(["katex"],[k]);return Lr(ie,l)},da=Mt,Wn={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB"},Jr=function(r){var a=new st.MathNode("mo",[new st.TextNode(Wn[r.substr(1)])]);return a.setAttribute("stretchy","true"),a},Vr={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]},En=function(r){return r.type==="ordgroup"?r.body.length:1},oa=function(r,a){function l(){var Je=4e5,At=r.label.substr(1);if(O.contains(["widehat","widecheck","widetilde","utilde"],At)){var ar=r,pr=En(ar.base),Ur,en,hn;if(pr>5)At==="widehat"||At==="widecheck"?(Ur=420,Je=2364,hn=.42,en=At+"4"):(Ur=312,Je=2340,hn=.34,en="tilde4");else{var In=[1,1,2,2,3,3][pr];At==="widehat"||At==="widecheck"?(Je=[0,1062,2364,2364,2364][In],Ur=[0,239,300,360,420][In],hn=[0,.24,.3,.3,.36,.42][In],en=At+In):(Je=[0,600,1033,2339,2340][In],Ur=[0,260,286,306,312][In],hn=[0,.26,.286,.3,.306,.34][In],en="tilde"+In)}var Gn=new xt(en),Oa=new Ye([Gn],{width:"100%",height:hn+"em",viewBox:"0 0 "+Je+" "+Ur,preserveAspectRatio:"none"});return{span:d.makeSvgSpan([],[Oa],a),minWidth:0,height:hn}}else{var u=[],e=Vr[At],t=e[0],h=e[1],E=e[2],G=E/1e3,be=t.length,Ve,qe;if(be===1){var Wt=e[3];Ve=["hide-tail"],qe=[Wt]}else if(be===2)Ve=["halfarrow-left","halfarrow-right"],qe=["xMinYMin","xMaxYMin"];else if(be===3)Ve=["brace-left","brace-center","brace-right"],qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+be+" children.");for(var lr=0;lr<be;lr++){var yr=new xt(t[lr]),Zr=new Ye([yr],{width:"400em",height:G+"em",viewBox:"0 0 "+Je+" "+E,preserveAspectRatio:qe[lr]+" slice"}),kr=d.makeSvgSpan([Ve[lr]],[Zr],a);if(be===1)return{span:kr,minWidth:h,height:G};kr.style.height=G+"em",u.push(kr)}return{span:d.makeSpan(["stretchy"],u,a),minWidth:h,height:G}}}var g=l(),k=g.span,ie=g.minWidth,ze=g.height;return k.height=ze,k.style.height=ze+"em",ie>0&&(k.style.minWidth=ie+"em"),k},_n=function(r,a,l,g){var k,ie=r.height+r.depth+2*l;if(/fbox|color/.test(a)){if(k=d.makeSpan(["stretchy",a],[],g),a==="fbox"){var ze=g.color&&g.getColor();ze&&(k.style.borderColor=ze)}}else{var Je=[];/^[bx]cancel$/.test(a)&&Je.push(new $t({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&Je.push(new $t({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var At=new Ye(Je,{width:"100%",height:ie+"em"});k=d.makeSvgSpan([],[At],g)}return k.height=ie,k.style.height=ie+"em",k},xa={encloseSpan:_n,mathMLnode:Jr,svgSpan:oa},qn=function(r,a){var l,g,k=V(r,"supsub"),ie;k?(g=ne(k.base,"accent"),l=g.base,k.base=l,ie=Ut(Tt(k,a)),k.base=g):(g=ne(r,"accent"),l=g.base);var ze=Tt(l,a.havingCrampedStyle()),Je=g.isShifty&&O.isCharacterBox(l),At=0;if(Je){var ar=O.getBaseElem(l),pr=Tt(ar,a.havingCrampedStyle());At=Xt(pr).skew}var Ur=Math.min(ze.height,a.fontMetrics().xHeight),en;if(g.isStretchy)en=xa.svgSpan(g,a),en=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ze},{type:"elem",elem:en,wrapperClasses:["svg-align"],wrapperStyle:At>0?{width:"calc(100% - "+2*At+"em)",marginLeft:2*At+"em"}:void 0}]},a);else{var hn,In;g.label==="\\vec"?(hn=d.staticSvg("vec",a),In=d.svgData.vec[1]):(hn=d.makeOrd({mode:g.mode,text:g.label},a,"textord"),hn=Xt(hn),hn.italic=0,In=hn.width),en=d.makeSpan(["accent-body"],[hn]);var Gn=g.label==="\\textcircled";Gn&&(en.classes.push("accent-full"),Ur=ze.height);var Oa=At;Gn||(Oa-=In/2),en.style.left=Oa+"em",g.label==="\\textcircled"&&(en.style.top=".2em"),en=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ze},{type:"kern",size:-Ur},{type:"elem",elem:en}]},a)}var u=d.makeSpan(["mord","accent"],[en],a);return ie?(ie.children[0]=u,ie.height=Math.max(u.height,ie.height),ie.classes[0]="mord",ie):u},Qn=function(r,a){var l=r.isStretchy?xa.mathMLnode(r.label):new st.MathNode("mo",[qt(r.label,r.mode)]),g=new st.MathNode("mover",[Hr(r.base,a),l]);return g.setAttribute("accent","true"),g},ka=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(re){return"\\"+re}).join("|"));Qt({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(r,a){var l=a[0],g=!ka.test(r.funcName),k=!g||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:g,isShifty:k,base:l}},htmlBuilder:qn,mathmlBuilder:Qn}),Qt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(r,a){var l=a[0];return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:!1,isShifty:!0,base:l}},htmlBuilder:qn,mathmlBuilder:Qn}),Qt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0];return{type:"accentUnder",mode:l.mode,label:g,base:k}},htmlBuilder:function(r,a){var l=Tt(r.base,a),g=xa.svgSpan(r,a),k=r.label==="\\utilde"?.12:0,ie=d.makeVList({positionType:"bottom",positionData:g.height+k,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:k},{type:"elem",elem:l}]},a);return d.makeSpan(["mord","accentunder"],[ie],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g=new st.MathNode("munder",[Hr(r.base,a),l]);return g.setAttribute("accentunder","true"),g}});var ra=function(r){var a=new st.MathNode("mpadded",r?[r]:[]);return a.setAttribute("width","+0.6em"),a.setAttribute("lspace","0.3em"),a};Qt({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(r,a,l){var g=r.parser,k=r.funcName;return{type:"xArrow",mode:g.mode,label:k,body:a[0],below:l[0]}},htmlBuilder:function(r,a){var l=a.style,g=a.havingStyle(l.sup()),k=d.wrapFragment(Tt(r.body,g,a),a);k.classes.push("x-arrow-pad");var ie;r.below&&(g=a.havingStyle(l.sub()),ie=d.wrapFragment(Tt(r.below,g,a),a),ie.classes.push("x-arrow-pad"));var ze=xa.svgSpan(r,a),Je=-a.fontMetrics().axisHeight+.5*ze.height,At=-a.fontMetrics().axisHeight-.5*ze.height-.111;(k.depth>.25||r.label==="\\xleftequilibrium")&&(At-=k.depth);var ar;if(ie){var pr=-a.fontMetrics().axisHeight+ie.height+.5*ze.height+.111;ar=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:k,shift:At},{type:"elem",elem:ze,shift:Je},{type:"elem",elem:ie,shift:pr}]},a)}else ar=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:k,shift:At},{type:"elem",elem:ze,shift:Je}]},a);return ar.children[0].children[0].children[1].classes.push("svg-align"),d.makeSpan(["mrel","x-arrow"],[ar],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g;if(r.body){var k=ra(Hr(r.body,a));if(r.below){var ie=ra(Hr(r.below,a));g=new st.MathNode("munderover",[l,ie,k])}else g=new st.MathNode("mover",[l,k])}else if(r.below){var ze=ra(Hr(r.below,a));g=new st.MathNode("munder",[l,ze])}else g=ra(),g=new st.MathNode("mover",[l,g]);return g}}),Qt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){for(var l=r.parser,g=ne(a[0],"ordgroup"),k=g.body,ie="",ze=0;ze<k.length;ze++){var Je=ne(k[ze],"textord");ie+=Je.text}var At=parseInt(ie);if(isNaN(At))throw new ee("\\@char has non-numeric argument "+ie);return{type:"textord",mode:l.mode,text:String.fromCharCode(At)}}});var Hn=function(r,a){var l=Me(r.body,a.withColor(r.color),!1);return d.makeFragment(l)},ea=function(r,a){var l=Ar(r.body,a.withColor(r.color)),g=new st.MathNode("mstyle",l);return g.setAttribute("mathcolor",r.color),g};Qt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(r,a){var l=r.parser,g=ne(a[0],"color-token").color,k=a[1];return{type:"color",mode:l.mode,color:g,body:we(k)}},htmlBuilder:Hn,mathmlBuilder:ea}),Qt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(r,a){var l=r.parser,g=r.breakOnTokenText,k=ne(a[0],"color-token").color;l.gullet.macros.set("\\current@color",k);var ie=l.parseExpression(!0,g);return{type:"color",mode:l.mode,color:k,body:ie}},htmlBuilder:Hn,mathmlBuilder:ea}),Qt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,a,l){var g=r.parser,k=r.funcName,ie=l[0],ze=k==="\\cr",Je=!1;return ze||(g.settings.displayMode&&g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?Je=!1:Je=!0),{type:"cr",mode:g.mode,newLine:Je,newRow:ze,size:ie&&ne(ie,"size").value}},htmlBuilder:function(r,a){if(r.newRow)throw new ee("\\cr valid only within a tabular/array environment");var l=d.makeSpan(["mspace"],[],a);return r.newLine&&(l.classes.push("newline"),r.size&&(l.style.marginTop=xn(r.size,a)+"em")),l},mathmlBuilder:function(r,a){var l=new st.MathNode("mspace");return r.newLine&&(l.setAttribute("linebreak","newline"),r.size&&l.setAttribute("height",xn(r.size,a)+"em")),l}});var Un=function(r,a,l){var g=Pr.math[r]&&Pr.math[r].replace,k=dt(g||r,a,l);if(!k)throw new Error("Unsupported symbol "+r+" and font size "+a+".");return k},Ln=function(r,a,l,g){var k=l.havingBaseStyle(a),ie=d.makeSpan(g.concat(k.sizingClasses(l)),[r],l),ze=k.sizeMultiplier/l.sizeMultiplier;return ie.height*=ze,ie.depth*=ze,ie.maxFontSize=k.sizeMultiplier,ie},Xn=function(r,a,l){var g=a.havingBaseStyle(l),k=(1-a.sizeMultiplier/g.sizeMultiplier)*a.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=k+"em",r.height-=k,r.depth+=k},rn=function(r,a,l,g,k,ie){var ze=d.makeSymbol(r,"Main-Regular",k,g),Je=Ln(ze,a,g,ie);return l&&Xn(Je,g,a),Je},mn=function(r,a,l,g){return d.makeSymbol(r,"Size"+a+"-Regular",l,g)},sa=function(r,a,l,g,k,ie){var ze=mn(r,a,k,g),Je=Ln(d.makeSpan(["delimsizing","size"+a],[ze],g),y.TEXT,g,ie);return l&&Xn(Je,g,y.TEXT),Je},Sn=function(r,a,l){var g;a==="Size1-Regular"?g="delim-size1":g="delim-size4";var k=d.makeSpan(["delimsizinginner",g],[d.makeSpan([],[d.makeSymbol(r,a,l)])]);return{type:"elem",elem:k}},ha={type:"kern",size:-.005},Vn=function(r,a,l,g,k,ie){var ze,Je,At,ar;ze=At=ar=r,Je=null;var pr="Size1-Regular";r==="\\uparrow"?At=ar="\u23D0":r==="\\Uparrow"?At=ar="\u2016":r==="\\downarrow"?ze=At="\u23D0":r==="\\Downarrow"?ze=At="\u2016":r==="\\updownarrow"?(ze="\\uparrow",At="\u23D0",ar="\\downarrow"):r==="\\Updownarrow"?(ze="\\Uparrow",At="\u2016",ar="\\Downarrow"):r==="["||r==="\\lbrack"?(ze="\u23A1",At="\u23A2",ar="\u23A3",pr="Size4-Regular"):r==="]"||r==="\\rbrack"?(ze="\u23A4",At="\u23A5",ar="\u23A6",pr="Size4-Regular"):r==="\\lfloor"||r==="\u230A"?(At=ze="\u23A2",ar="\u23A3",pr="Size4-Regular"):r==="\\lceil"||r==="\u2308"?(ze="\u23A1",At=ar="\u23A2",pr="Size4-Regular"):r==="\\rfloor"||r==="\u230B"?(At=ze="\u23A5",ar="\u23A6",pr="Size4-Regular"):r==="\\rceil"||r==="\u2309"?(ze="\u23A4",At=ar="\u23A5",pr="Size4-Regular"):r==="("||r==="\\lparen"?(ze="\u239B",At="\u239C",ar="\u239D",pr="Size4-Regular"):r===")"||r==="\\rparen"?(ze="\u239E",At="\u239F",ar="\u23A0",pr="Size4-Regular"):r==="\\{"||r==="\\lbrace"?(ze="\u23A7",Je="\u23A8",ar="\u23A9",At="\u23AA",pr="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(ze="\u23AB",Je="\u23AC",ar="\u23AD",At="\u23AA",pr="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(ze="\u23A7",ar="\u23A9",At="\u23AA",pr="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(ze="\u23AB",ar="\u23AD",At="\u23AA",pr="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(ze="\u23A7",ar="\u23AD",At="\u23AA",pr="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(ze="\u23AB",ar="\u23A9",At="\u23AA",pr="Size4-Regular");var Ur=Un(ze,pr,k),en=Ur.height+Ur.depth,hn=Un(At,pr,k),In=hn.height+hn.depth,Gn=Un(ar,pr,k),Oa=Gn.height+Gn.depth,u=0,e=1;if(Je!==null){var t=Un(Je,pr,k);u=t.height+t.depth,e=2}var h=en+Oa+u,E=Math.max(0,Math.ceil((a-h)/(e*In))),G=h+E*e*In,be=g.fontMetrics().axisHeight;l&&(be*=g.sizeMultiplier);var Ve=G/2-be,qe=(E+1)*.005-In,Wt=[];if(Wt.push(Sn(ar,pr,k)),Je===null)for(var lr=0;lr<E;lr++)Wt.push(ha),Wt.push(Sn(At,pr,k));else{for(var yr=0;yr<E;yr++)Wt.push(ha),Wt.push(Sn(At,pr,k));Wt.push({type:"kern",size:qe}),Wt.push(Sn(At,pr,k)),Wt.push(ha),Wt.push(Sn(Je,pr,k));for(var Zr=0;Zr<E;Zr++)Wt.push(ha),Wt.push(Sn(At,pr,k))}Wt.push({type:"kern",size:qe}),Wt.push(Sn(At,pr,k)),Wt.push(ha),Wt.push(Sn(ze,pr,k));var kr=g.havingBaseStyle(y.TEXT),dn=d.makeVList({positionType:"bottom",positionData:Ve,children:Wt},kr);return Ln(d.makeSpan(["delimsizing","mult"],[dn],kr),y.TEXT,g,ie)},Ha=80,qa=.08,yn=function(r,a,l,g,k){var ie=St(r,g,l),ze=new xt(r,ie),Je=new Ye([ze],{width:"400em",height:a+"em",viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});return d.makeSvgSpan(["hide-tail"],[Je],k)},Pn=function(r,a){var l=a.havingBaseSizing(),g=Ta("\\surd",r*l.sizeMultiplier,Aa,l),k=l.sizeMultiplier,ie=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),ze,Je=0,At=0,ar=0,pr;return g.type==="small"?(ar=1e3+1e3*ie+Ha,r<1?k=1:r<1.4&&(k=.7),Je=(1+ie+qa)/k,At=(1+ie)/k,ze=yn("sqrtMain",Je,ar,ie,a),ze.style.minWidth="0.853em",pr=.833/k):g.type==="large"?(ar=(1e3+Ha)*io[g.size],At=(io[g.size]+ie)/k,Je=(io[g.size]+ie+qa)/k,ze=yn("sqrtSize"+g.size,Je,ar,ie,a),ze.style.minWidth="1.02em",pr=1/k):(Je=r+ie+qa,At=r+ie,ar=Math.floor(1e3*r+ie)+Ha,ze=yn("sqrtTall",Je,ar,ie,a),ze.style.minWidth="0.742em",pr=1.056),ze.height=At,ze.style.height=Je+"em",{span:ze,advanceWidth:pr,ruleWidth:(a.fontMetrics().sqrtRuleThickness+ie)*k}},fa=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ja=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ga=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],io=[0,1.2,1.8,2.4,3],so=function(r,a,l,g,k){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),O.contains(fa,r)||O.contains(Ga,r))return sa(r,a,!1,l,g,k);if(O.contains(Ja,r))return Vn(r,io[a],!1,l,g,k);throw new ee("Illegal delimiter: '"+r+"'")},la=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Io=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"stack"}],Aa=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ja=function(r){if(r.type==="small")return"Main-Regular";if(r.type==="large")return"Size"+r.size+"-Regular";if(r.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+r.type+"' here.")},Ta=function(r,a,l,g){for(var k=Math.min(2,3-g.style.size),ie=k;ie<l.length&&l[ie].type!=="stack";ie++){var ze=Un(r,ja(l[ie]),"math"),Je=ze.height+ze.depth;if(l[ie].type==="small"){var At=g.havingBaseStyle(l[ie].style);Je*=At.sizeMultiplier}if(Je>a)return l[ie]}return l[l.length-1]},Na=function(r,a,l,g,k,ie){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var ze;O.contains(Ga,r)?ze=la:O.contains(fa,r)?ze=Aa:ze=Io;var Je=Ta(r,a,ze,g);return Je.type==="small"?rn(r,Je.style,l,g,k,ie):Je.type==="large"?sa(r,Je.size,l,g,k,ie):Vn(r,a,l,g,k,ie)},Ba=function(r,a,l,g,k,ie){var ze=g.fontMetrics().axisHeight*g.sizeMultiplier,Je=901,At=5/g.fontMetrics().ptPerEm,ar=Math.max(a-ze,l+ze),pr=Math.max(ar/500*Je,2*ar-At);return Na(r,pr,!0,g,k,ie)},ma={sqrtImage:Pn,sizedDelim:so,customSizedDelim:Na,leftRightDelim:Ba},Ka={"\\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}},La=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Qa(re,r){var a=Pt(re);if(a&&O.contains(La,a.text))return a;throw new ee("Invalid delimiter: '"+(a?a.text:JSON.stringify(re))+"' after '"+r.funcName+"'",re)}Qt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(r,a){var l=Qa(a[0],r);return{type:"delimsizing",mode:r.parser.mode,size:Ka[r.funcName].size,mclass:Ka[r.funcName].mclass,delim:l.text}},htmlBuilder:function(r,a){return r.delim==="."?d.makeSpan([r.mclass]):ma.sizedDelim(r.delim,r.size,a,r.mode,[r.mclass])},mathmlBuilder:function(r){var a=[];r.delim!=="."&&a.push(qt(r.delim,r.mode));var l=new st.MathNode("mo",a);return r.mclass==="mopen"||r.mclass==="mclose"?l.setAttribute("fence","true"):l.setAttribute("fence","false"),l}});function eo(re){if(!re.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(r,a){var l=r.parser.gullet.macros.get("\\current@color");if(l&&typeof l!="string")throw new ee("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:r.parser.mode,delim:Qa(a[0],r).text,color:l}}}),Qt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(r,a){var l=Qa(a[0],r),g=r.parser;++g.leftrightDepth;var k=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var ie=ne(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:k,left:l.text,right:ie.delim,rightColor:ie.color}},htmlBuilder:function(r,a){eo(r);for(var l=Me(r.body,a,!0,["mopen","mclose"]),g=0,k=0,ie=!1,ze=0;ze<l.length;ze++)l[ze].isMiddle?ie=!0:(g=Math.max(l[ze].height,g),k=Math.max(l[ze].depth,k));g*=a.sizeMultiplier,k*=a.sizeMultiplier;var Je;if(r.left==="."?Je=Zt(a,["mopen"]):Je=ma.leftRightDelim(r.left,g,k,a,r.mode,["mopen"]),l.unshift(Je),ie)for(var At=1;At<l.length;At++){var ar=l[At],pr=ar.isMiddle;pr&&(l[At]=ma.leftRightDelim(pr.delim,g,k,pr.options,r.mode,[]))}var Ur;if(r.right===".")Ur=Zt(a,["mclose"]);else{var en=r.rightColor?a.withColor(r.rightColor):a;Ur=ma.leftRightDelim(r.right,g,k,en,r.mode,["mclose"])}return l.push(Ur),d.makeSpan(["minner"],l,a)},mathmlBuilder:function(r,a){eo(r);var l=Ar(r.body,a);if(r.left!=="."){var g=new st.MathNode("mo",[qt(r.left,r.mode)]);g.setAttribute("fence","true"),l.unshift(g)}if(r.right!=="."){var k=new st.MathNode("mo",[qt(r.right,r.mode)]);k.setAttribute("fence","true"),r.rightColor&&k.setAttribute("mathcolor",r.rightColor),l.push(k)}return nr(l)}}),Qt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(r,a){var l=Qa(a[0],r);if(!r.parser.leftrightDepth)throw new ee("\\middle without preceding \\left",l);return{type:"middle",mode:r.parser.mode,delim:l.text}},htmlBuilder:function(r,a){var l;if(r.delim===".")l=Zt(a,[]);else{l=ma.sizedDelim(r.delim,1,a,r.mode,[]);var g={delim:r.delim,options:a};l.isMiddle=g}return l},mathmlBuilder:function(r,a){var l=r.delim==="\\vert"||r.delim==="|"?qt("|","text"):qt(r.delim,r.mode),g=new st.MathNode("mo",[l]);return g.setAttribute("fence","true"),g.setAttribute("lspace","0.05em"),g.setAttribute("rspace","0.05em"),g}});var lo=function(r,a){var l=d.wrapFragment(Tt(r.body,a),a),g=r.label.substr(1),k=a.sizeMultiplier,ie,ze=0,Je=O.isCharacterBox(r.body);if(g==="sout")ie=d.makeSpan(["stretchy","sout"]),ie.height=a.fontMetrics().defaultRuleThickness/k,ze=-.5*a.fontMetrics().xHeight;else{/cancel/.test(g)?Je||l.classes.push("cancel-pad"):l.classes.push("boxpad");var At=0,ar=0;/box/.test(g)?(ar=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),At=a.fontMetrics().fboxsep+(g==="colorbox"?0:ar)):At=Je?.2:0,ie=xa.encloseSpan(l,g,At,a),/fbox|boxed|fcolorbox/.test(g)&&(ie.style.borderStyle="solid",ie.style.borderWidth=ar+"em"),ze=l.depth+At,r.backgroundColor&&(ie.style.backgroundColor=r.backgroundColor,r.borderColor&&(ie.style.borderColor=r.borderColor))}var pr;return r.backgroundColor?pr=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ie,shift:ze},{type:"elem",elem:l,shift:0}]},a):pr=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:ie,shift:ze,wrapperClasses:/cancel/.test(g)?["svg-align"]:[]}]},a),/cancel/.test(g)&&(pr.height=l.height,pr.depth=l.depth),/cancel/.test(g)&&!Je?d.makeSpan(["mord","cancel-lap"],[pr],a):d.makeSpan(["mord"],[pr],a)},Ao=function(r,a){var l=0,g=new st.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Hr(r.body,a)]);switch(r.label){case"\\cancel":g.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":g.setAttribute("notation","downdiagonalstrike");break;case"\\sout":g.setAttribute("notation","horizontalstrike");break;case"\\fbox":g.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(l=a.fontMetrics().fboxsep*a.fontMetrics().ptPerEm,g.setAttribute("width","+"+2*l+"pt"),g.setAttribute("height","+"+2*l+"pt"),g.setAttribute("lspace",l+"pt"),g.setAttribute("voffset",l+"pt"),r.label==="\\fcolorbox"){var k=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);g.setAttribute("style","border: "+k+"em solid "+String(r.borderColor))}break;case"\\xcancel":g.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return r.backgroundColor&&g.setAttribute("mathbackground",r.backgroundColor),g};Qt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(r,a,l){var g=r.parser,k=r.funcName,ie=ne(a[0],"color-token").color,ze=a[1];return{type:"enclose",mode:g.mode,label:k,backgroundColor:ie,body:ze}},htmlBuilder:lo,mathmlBuilder:Ao}),Qt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(r,a,l){var g=r.parser,k=r.funcName,ie=ne(a[0],"color-token").color,ze=ne(a[1],"color-token").color,Je=a[2];return{type:"enclose",mode:g.mode,label:k,backgroundColor:ze,borderColor:ie,body:Je}},htmlBuilder:lo,mathmlBuilder:Ao}),Qt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"enclose",mode:l.mode,label:"\\fbox",body:a[0]}}}),Qt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(r,a,l){var g=r.parser,k=r.funcName,ie=a[0];return{type:"enclose",mode:g.mode,label:k,body:ie}},htmlBuilder:lo,mathmlBuilder:Ao});var Co={};function Ra(re){for(var r=re.type,a=re.names,l=re.props,g=re.handler,k=re.htmlBuilder,ie=re.mathmlBuilder,ze={type:r,numArgs:l.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},Je=0;Je<a.length;++Je)Co[a[Je]]=ze;k&&(ur[r]=k),ie&&(Cr[r]=ie)}function Uo(re){var r=[];re.consumeSpaces();for(var a=re.fetch().text;a==="\\hline"||a==="\\hdashline";)re.consume(),r.push(a==="\\hdashline"),re.consumeSpaces(),a=re.fetch().text;return r}function ho(re,r,a){var l=r.hskipBeforeAndAfter,g=r.addJot,k=r.cols,ie=r.arraystretch,ze=r.colSeparationType;if(re.gullet.beginGroup(),re.gullet.macros.set("\\\\","\\cr"),!ie){var Je=re.gullet.expandMacroAsText("\\arraystretch");if(Je==null)ie=1;else if(ie=parseFloat(Je),!ie||ie<0)throw new ee("Invalid \\arraystretch: "+Je)}re.gullet.beginGroup();var At=[],ar=[At],pr=[],Ur=[];for(Ur.push(Uo(re));;){var en=re.parseExpression(!1,"\\cr");re.gullet.endGroup(),re.gullet.beginGroup(),en={type:"ordgroup",mode:re.mode,body:en},a&&(en={type:"styling",mode:re.mode,style:a,body:[en]}),At.push(en);var hn=re.fetch().text;if(hn==="&")re.consume();else if(hn==="\\end"){At.length===1&&en.type==="styling"&&en.body[0].body.length===0&&ar.pop(),Ur.length<ar.length+1&&Ur.push([]);break}else if(hn==="\\cr"){var In=ne(re.parseFunction(),"cr");pr.push(In.size),Ur.push(Uo(re)),At=[],ar.push(At)}else throw new ee("Expected & or \\\\ or \\cr or \\end",re.nextToken)}return re.gullet.endGroup(),re.gullet.endGroup(),{type:"array",mode:re.mode,addJot:g,arraystretch:ie,body:ar,cols:k,rowGaps:pr,hskipBeforeAndAfter:l,hLinesBeforeRow:Ur,colSeparationType:ze}}function No(re){return re.substr(0,1)==="d"?"display":"text"}var xo=function(r,a){var l,g,k=r.body.length,ie=r.hLinesBeforeRow,ze=0,Je=new Array(k),At=[],ar=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),pr=1/a.fontMetrics().ptPerEm,Ur=5*pr;if(r.colSeparationType&&r.colSeparationType==="small"){var en=a.havingStyle(y.SCRIPT).sizeMultiplier;Ur=.2778*(en/a.sizeMultiplier)}var hn=12*pr,In=3*pr,Gn=r.arraystretch*hn,Oa=.7*Gn,u=.3*Gn,e=0;function t(ri){for(var Oo=0;Oo<ri.length;++Oo)Oo>0&&(e+=.25),At.push({pos:e,isDashed:ri[Oo]})}for(t(ie[0]),l=0;l<r.body.length;++l){var h=r.body[l],E=Oa,G=u;ze<h.length&&(ze=h.length);var be=new Array(h.length);for(g=0;g<h.length;++g){var Ve=Tt(h[g],a);G<Ve.depth&&(G=Ve.depth),E<Ve.height&&(E=Ve.height),be[g]=Ve}var qe=r.rowGaps[l],Wt=0;qe&&(Wt=xn(qe,a),Wt>0&&(Wt+=u,G<Wt&&(G=Wt),Wt=0)),r.addJot&&(G+=In),be.height=E,be.depth=G,e+=E,be.pos=e,e+=G+Wt,Je[l]=be,t(ie[l+1])}var lr=e/2+a.fontMetrics().axisHeight,yr=r.cols||[],Zr=[],kr,dn;for(g=0,dn=0;g<ze||dn<yr.length;++g,++dn){for(var gn=yr[dn]||{},Nn=!0;gn.type==="separator";){if(Nn||(kr=d.makeSpan(["arraycolsep"],[]),kr.style.width=a.fontMetrics().doubleRuleSep+"em",Zr.push(kr)),gn.separator==="|"||gn.separator===":"){var Tn=gn.separator==="|"?"solid":"dashed",ca=d.makeSpan(["vertical-separator"],[],a);ca.style.height=e+"em",ca.style.borderRightWidth=ar+"em",ca.style.borderRightStyle=Tn,ca.style.margin="0 -"+ar/2+"em",ca.style.verticalAlign=-(e-lr)+"em",Zr.push(ca)}else throw new ee("Invalid separator type: "+gn.separator);dn++,gn=yr[dn]||{},Nn=!1}if(!(g>=ze)){var va=void 0;(g>0||r.hskipBeforeAndAfter)&&(va=O.deflt(gn.pregap,Ur),va!==0&&(kr=d.makeSpan(["arraycolsep"],[]),kr.style.width=va+"em",Zr.push(kr)));var Pa=[];for(l=0;l<k;++l){var $a=Je[l],Fa=$a[g];if(Fa){var Sa=$a.pos-lr;Fa.depth=$a.depth,Fa.height=$a.height,Pa.push({type:"elem",elem:Fa,shift:Sa})}}Pa=d.makeVList({positionType:"individualShift",children:Pa},a),Pa=d.makeSpan(["col-align-"+(gn.align||"c")],[Pa]),Zr.push(Pa),(g<ze-1||r.hskipBeforeAndAfter)&&(va=O.deflt(gn.postgap,Ur),va!==0&&(kr=d.makeSpan(["arraycolsep"],[]),kr.style.width=va+"em",Zr.push(kr)))}}if(Je=d.makeSpan(["mtable"],Zr),At.length>0){for(var fo=d.makeLineSpan("hline",a,ar),Ua=d.makeLineSpan("hdashline",a,ar),Po=[{type:"elem",elem:Je,shift:0}];At.length>0;){var jo=At.pop(),vo=jo.pos-lr;jo.isDashed?Po.push({type:"elem",elem:Ua,shift:vo}):Po.push({type:"elem",elem:fo,shift:vo})}Je=d.makeVList({positionType:"individualShift",children:Po},a)}return d.makeSpan(["mord"],[Je],a)},ii={c:"center ",l:"left ",r:"right "},Ho=function(r,a){var l=new st.MathNode("mtable",r.body.map(function(e){return new st.MathNode("mtr",e.map(function(t){return new st.MathNode("mtd",[Hr(t,a)])}))})),g=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);l.setAttribute("rowspacing",g+"em");var k="",ie="";if(r.cols){var ze=r.cols,Je="",At=!1,ar=0,pr=ze.length;ze[0].type==="separator"&&(k+="top ",ar=1),ze[ze.length-1].type==="separator"&&(k+="bottom ",pr-=1);for(var Ur=ar;Ur<pr;Ur++)ze[Ur].type==="align"?(ie+=ii[ze[Ur].align],At&&(Je+="none "),At=!0):ze[Ur].type==="separator"&&At&&(Je+=ze[Ur].separator==="|"?"solid ":"dashed ",At=!1);l.setAttribute("columnalign",ie.trim()),/[sd]/.test(Je)&&l.setAttribute("columnlines",Je.trim())}if(r.colSeparationType==="align"){for(var en=r.cols||[],hn="",In=1;In<en.length;In++)hn+=In%2?"0em ":"1em ";l.setAttribute("columnspacing",hn.trim())}else r.colSeparationType==="alignat"?l.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?l.setAttribute("columnspacing","0.2778em"):l.setAttribute("columnspacing","1em");var Gn="",Oa=r.hLinesBeforeRow;k+=Oa[0].length>0?"left ":"",k+=Oa[Oa.length-1].length>0?"right ":"";for(var u=1;u<Oa.length-1;u++)Gn+=Oa[u].length===0?"none ":Oa[u][0]?"dashed ":"solid ";return/[sd]/.test(Gn)&&l.setAttribute("rowlines",Gn.trim()),k!==""&&(l=new st.MathNode("menclose",[l]),l.setAttribute("notation",k.trim())),r.arraystretch&&r.arraystretch<1&&(l=new st.MathNode("mstyle",[l]),l.setAttribute("scriptlevel","1")),l},ei=function(r,a){var l=[],g=ho(r.parser,{cols:l,addJot:!0},"display"),k,ie=0,ze={type:"ordgroup",mode:r.mode,body:[]},Je=V(a[0],"ordgroup");if(Je){for(var At="",ar=0;ar<Je.body.length;ar++){var pr=ne(Je.body[ar],"textord");At+=pr.text}k=Number(At),ie=k*2}var Ur=!ie;g.body.forEach(function(Gn){for(var Oa=1;Oa<Gn.length;Oa+=2){var u=ne(Gn[Oa],"styling"),e=ne(u.body[0],"ordgroup");e.body.unshift(ze)}if(Ur)ie<Gn.length&&(ie=Gn.length);else{var t=Gn.length/2;if(k<t)throw new ee("Too many math in a row: "+("expected "+k+", but got "+t),Gn[0])}});for(var en=0;en<ie;++en){var hn="r",In=0;en%2===1?hn="l":en>0&&Ur&&(In=1),l[en]={type:"align",align:hn,pregap:In,postgap:0}}return g.colSeparationType=Ur?"align":"alignat",g};Ra({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,a){var l=Pt(a[0]),g=l?[a[0]]:ne(a[0],"ordgroup").body,k=g.map(function(ze){var Je=it(ze),At=Je.text;if("lcr".indexOf(At)!==-1)return{type:"align",align:At};if(At==="|")return{type:"separator",separator:"|"};if(At===":")return{type:"separator",separator:":"};throw new ee("Unknown column alignment: "+At,ze)}),ie={cols:k,hskipBeforeAndAfter:!0};return ho(r.parser,ie,No(r.envName))},htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(r){var a={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[r.envName],l={hskipBeforeAndAfter:!1},g=ho(r.parser,l,No(r.envName));return a?{type:"leftright",mode:r.mode,body:[g],left:a[0],right:a[1],rightColor:void 0}:g},htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(r){var a={arraystretch:.5},l=ho(r.parser,a,"script");return l.colSeparationType="small",l},htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,a){var l=Pt(a[0]),g=l?[a[0]]:ne(a[0],"ordgroup").body,k=g.map(function(ze){var Je=it(ze),At=Je.text;if("lc".indexOf(At)!==-1)return{type:"align",align:At};throw new ee("Unknown column alignment: "+At,ze)});if(k.length>1)throw new ee("{subarray} can contain only one column");var ie={cols:k,hskipBeforeAndAfter:!1,arraystretch:.5};if(ie=ho(r.parser,ie,"script"),ie.body[0].length>1)throw new ee("{subarray} can contain only one column");return ie},htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(r){var a={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},l=ho(r.parser,a,No(r.envName));return{type:"leftright",mode:r.mode,body:[l],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["aligned"],props:{numArgs:0},handler:ei,htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["gathered"],props:{numArgs:0},handler:function(r){var a={cols:[{type:"align",align:"c"}],addJot:!0};return ho(r.parser,a,"display")},htmlBuilder:xo,mathmlBuilder:Ho}),Ra({type:"array",names:["alignedat"],props:{numArgs:1},handler:ei,htmlBuilder:xo,mathmlBuilder:Ho}),Qt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(r,a){throw new ee(r.funcName+" valid only within array environment")}});var zo=Co,gi=zo;Qt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0];if(k.type!=="ordgroup")throw new ee("Invalid environment name",k);for(var ie="",ze=0;ze<k.body.length;++ze)ie+=ne(k.body[ze],"textord").text;if(g==="\\begin"){if(!gi.hasOwnProperty(ie))throw new ee("No such environment: "+ie,k);var Je=gi[ie],At=l.parseArguments("\\begin{"+ie+"}",Je),ar=At.args,pr=At.optArgs,Ur={mode:l.mode,envName:ie,parser:l},en=Je.handler(Ur,ar,pr);l.expect("\\end",!1);var hn=l.nextToken,In=ne(l.parseFunction(),"environment");if(In.name!==ie)throw new ee("Mismatch: \\begin{"+ie+"} matched by \\end{"+In.name+"}",hn);return en}return{type:"environment",mode:l.mode,name:ie,nameGroup:k}}});var _o=d.makeSpan;function si(re,r){var a=Me(re.body,r,!0);return _o([re.mclass],a,r)}function zi(re,r){var a,l=Ar(re.body,r);return re.mclass==="minner"?st.newDocumentFragment(l):(re.mclass==="mord"?re.isCharacterBox?(a=l[0],a.type="mi"):a=new st.MathNode("mi",l):(re.isCharacterBox?(a=l[0],a.type="mo"):a=new st.MathNode("mo",l),re.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):re.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):(re.mclass==="mopen"||re.mclass==="mclose")&&(a.attributes.lspace="0em",a.attributes.rspace="0em")),a)}Qt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0];return{type:"mclass",mode:l.mode,mclass:"m"+g.substr(5),body:we(k),isCharacterBox:O.isCharacterBox(k)}},htmlBuilder:si,mathmlBuilder:zi});var li=function(r){var a=r.type==="ordgroup"&&r.body.length?r.body[0]:r;return a.type==="atom"&&(a.family==="bin"||a.family==="rel")?"m"+a.family:"mord"};Qt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(r,a){var l=r.parser;return{type:"mclass",mode:l.mode,mclass:li(a[0]),body:[a[1]],isCharacterBox:O.isCharacterBox(a[1])}}}),Qt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[1],ie=a[0],ze;g!=="\\stackrel"?ze=li(k):ze="mrel";var Je={type:"op",mode:k.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:we(k)},At={type:"supsub",mode:ie.mode,base:Je,sup:g==="\\underset"?null:ie,sub:g==="\\underset"?ie:null};return{type:"mclass",mode:l.mode,mclass:ze,body:[At],isCharacterBox:O.isCharacterBox(At)}},htmlBuilder:si,mathmlBuilder:zi});var vi=function(r,a){var l=r.font,g=a.withFont(l);return Tt(r.body,g)},Di=function(r,a){var l=r.font,g=a.withFont(l);return Hr(r.body,g)},wa={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0],ie=g;return ie in wa&&(ie=wa[ie]),{type:"font",mode:l.mode,font:ie.slice(1),body:k}},htmlBuilder:vi,mathmlBuilder:Di}),Qt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(r,a){var l=r.parser,g=a[0],k=O.isCharacterBox(g);return{type:"mclass",mode:l.mode,mclass:li(g),body:[{type:"font",mode:l.mode,font:"boldsymbol",body:g}],isCharacterBox:k}}}),Qt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,k=r.breakOnTokenText,ie=l.mode,ze=l.parseExpression(!0,k),Je="math"+g.slice(1);return{type:"font",mode:ie,font:Je,body:{type:"ordgroup",mode:l.mode,body:ze}}},htmlBuilder:vi,mathmlBuilder:Di});var Wa=function(r,a){var l=a;return r==="display"?l=l.id>=y.SCRIPT.id?l.text():y.DISPLAY:r==="text"&&l.size===y.DISPLAY.size?l=y.TEXT:r==="script"?l=y.SCRIPT:r==="scriptscript"&&(l=y.SCRIPTSCRIPT),l},Ke=function(r,a){var l=Wa(r.size,a.style),g=l.fracNum(),k=l.fracDen(),ie;ie=a.havingStyle(g);var ze=Tt(r.numer,ie,a);if(r.continued){var Je=8.5/a.fontMetrics().ptPerEm,At=3.5/a.fontMetrics().ptPerEm;ze.height=ze.height<Je?Je:ze.height,ze.depth=ze.depth<At?At:ze.depth}ie=a.havingStyle(k);var ar=Tt(r.denom,ie,a),pr,Ur,en;r.hasBarLine?(r.barSize?(Ur=xn(r.barSize,a),pr=d.makeLineSpan("frac-line",a,Ur)):pr=d.makeLineSpan("frac-line",a),Ur=pr.height,en=pr.height):(pr=null,Ur=0,en=a.fontMetrics().defaultRuleThickness);var hn,In,Gn;l.size===y.DISPLAY.size||r.size==="display"?(hn=a.fontMetrics().num1,Ur>0?In=3*en:In=7*en,Gn=a.fontMetrics().denom1):(Ur>0?(hn=a.fontMetrics().num2,In=en):(hn=a.fontMetrics().num3,In=3*en),Gn=a.fontMetrics().denom2);var Oa;if(pr){var e=a.fontMetrics().axisHeight;hn-ze.depth-(e+.5*Ur)<In&&(hn+=In-(hn-ze.depth-(e+.5*Ur))),e-.5*Ur-(ar.height-Gn)<In&&(Gn+=In-(e-.5*Ur-(ar.height-Gn)));var t=-(e-.5*Ur);Oa=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:Gn},{type:"elem",elem:pr,shift:t},{type:"elem",elem:ze,shift:-hn}]},a)}else{var u=hn-ze.depth-(ar.height-Gn);u<In&&(hn+=.5*(In-u),Gn+=.5*(In-u)),Oa=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:Gn},{type:"elem",elem:ze,shift:-hn}]},a)}ie=a.havingStyle(l),Oa.height*=ie.sizeMultiplier/a.sizeMultiplier,Oa.depth*=ie.sizeMultiplier/a.sizeMultiplier;var h;l.size===y.DISPLAY.size?h=a.fontMetrics().delim1:h=a.fontMetrics().delim2;var E,G;return r.leftDelim==null?E=Zt(a,["mopen"]):E=ma.customSizedDelim(r.leftDelim,h,!0,a.havingStyle(l),r.mode,["mopen"]),r.continued?G=d.makeSpan([]):r.rightDelim==null?G=Zt(a,["mclose"]):G=ma.customSizedDelim(r.rightDelim,h,!0,a.havingStyle(l),r.mode,["mclose"]),d.makeSpan(["mord"].concat(ie.sizingClasses(a)),[E,d.makeSpan(["mfrac"],[Oa]),G],a)},za=function(r,a){var l=new st.MathNode("mfrac",[Hr(r.numer,a),Hr(r.denom,a)]);if(!r.hasBarLine)l.setAttribute("linethickness","0px");else if(r.barSize){var g=xn(r.barSize,a);l.setAttribute("linethickness",g+"em")}var k=Wa(r.size,a.style);if(k.size!==a.style.size){l=new st.MathNode("mstyle",[l]);var ie=k.size===y.DISPLAY.size?"true":"false";l.setAttribute("displaystyle",ie),l.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var ze=[];if(r.leftDelim!=null){var Je=new st.MathNode("mo",[new st.TextNode(r.leftDelim.replace("\\",""))]);Je.setAttribute("fence","true"),ze.push(Je)}if(ze.push(l),r.rightDelim!=null){var At=new st.MathNode("mo",[new st.TextNode(r.rightDelim.replace("\\",""))]);At.setAttribute("fence","true"),ze.push(At)}return nr(ze)}return l};Qt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0],ie=a[1],ze,Je=null,At=null,ar="auto";switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":ze=!0;break;case"\\\\atopfrac":ze=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ze=!1,Je="(",At=")";break;case"\\\\bracefrac":ze=!1,Je="\\{",At="\\}";break;case"\\\\brackfrac":ze=!1,Je="[",At="]";break;default:throw new Error("Unrecognized genfrac command")}switch(g){case"\\cfrac":case"\\dfrac":case"\\dbinom":ar="display";break;case"\\tfrac":case"\\tbinom":ar="text";break}return{type:"genfrac",mode:l.mode,continued:g==="\\cfrac",numer:k,denom:ie,hasBarLine:ze,leftDelim:Je,rightDelim:At,size:ar,barSize:null}},htmlBuilder:Ke,mathmlBuilder:za}),Qt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(r){var a=r.parser,l=r.funcName,g=r.token,k;switch(l){case"\\over":k="\\frac";break;case"\\choose":k="\\binom";break;case"\\atop":k="\\\\atopfrac";break;case"\\brace":k="\\\\bracefrac";break;case"\\brack":k="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:k,token:g}}});var $o=["display","text","script","scriptscript"],Do=function(r){var a=null;return r.length>0&&(a=r,a=a==="."?null:a),a};Qt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(r,a){var l=r.parser,g=a[4],k=a[5],ie=V(a[0],"atom");ie&&(ie=Q(a[0],"open"));var ze=ie?Do(ie.text):null,Je=V(a[1],"atom");Je&&(Je=Q(a[1],"close"));var At=Je?Do(Je.text):null,ar=ne(a[2],"size"),pr,Ur=null;ar.isBlank?pr=!0:(Ur=ar.value,pr=Ur.number>0);var en="auto",hn=V(a[3],"ordgroup");if(hn){if(hn.body.length>0){var In=ne(hn.body[0],"textord");en=$o[Number(In.text)]}}else hn=ne(a[3],"textord"),en=$o[Number(hn.text)];return{type:"genfrac",mode:l.mode,numer:g,denom:k,continued:!1,hasBarLine:pr,barSize:Ur,leftDelim:ze,rightDelim:At,size:en}},htmlBuilder:Ke,mathmlBuilder:za}),Qt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,a){var l=r.parser,g=r.funcName,k=r.token;return{type:"infix",mode:l.mode,replaceWith:"\\\\abovefrac",size:ne(a[0],"size").value,token:k}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0],ie=I(ne(a[1],"infix").size),ze=a[2],Je=ie.number>0;return{type:"genfrac",mode:l.mode,numer:k,denom:ze,continued:!1,hasBarLine:Je,barSize:ie,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ke,mathmlBuilder:za});var co=function(r,a){var l=a.style,g,k,ie=V(r,"supsub");ie?(g=ie.sup?Tt(ie.sup,a.havingStyle(l.sup()),a):Tt(ie.sub,a.havingStyle(l.sub()),a),k=ne(ie.base,"horizBrace")):k=ne(r,"horizBrace");var ze=Tt(k.base,a.havingBaseStyle(y.DISPLAY)),Je=xa.svgSpan(k,a),At;if(k.isOver?(At=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ze},{type:"kern",size:.1},{type:"elem",elem:Je}]},a),At.children[0].children[0].children[1].classes.push("svg-align")):(At=d.makeVList({positionType:"bottom",positionData:ze.depth+.1+Je.height,children:[{type:"elem",elem:Je},{type:"kern",size:.1},{type:"elem",elem:ze}]},a),At.children[0].children[0].children[0].classes.push("svg-align")),g){var ar=d.makeSpan(["mord",k.isOver?"mover":"munder"],[At],a);k.isOver?At=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:.2},{type:"elem",elem:g}]},a):At=d.makeVList({positionType:"bottom",positionData:ar.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:ar}]},a)}return d.makeSpan(["mord",k.isOver?"mover":"munder"],[At],a)},go=function(r,a){var l=xa.mathMLnode(r.label);return new st.MathNode(r.isOver?"mover":"munder",[Hr(r.base,a),l])};Qt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName;return{type:"horizBrace",mode:l.mode,label:g,isOver:/^\\over/.test(g),base:a[0]}},htmlBuilder:co,mathmlBuilder:go}),Qt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[1],k=ne(a[0],"url").url;return l.settings.isTrusted({command:"\\href",url:k})?{type:"href",mode:l.mode,href:k,body:we(g)}:l.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,a){var l=Me(r.body,a,!1);return d.makeAnchor(r.href,[],l,a)},mathmlBuilder:function(r,a){var l=Rr(r.body,a);return l instanceof je||(l=new je("mrow",[l])),l.setAttribute("href",r.href),l}}),Qt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=ne(a[0],"url").url;if(!l.settings.isTrusted({command:"\\url",url:g}))return l.formatUnsupportedCmd("\\url");for(var k=[],ie=0;ie<g.length;ie++){var ze=g[ie];ze==="~"&&(ze="\\textasciitilde"),k.push({type:"textord",mode:"text",text:ze})}var Je={type:"text",mode:l.mode,font:"\\texttt",body:k};return{type:"href",mode:l.mode,href:g,body:we(Je)}}}),Qt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"htmlmathml",mode:l.mode,html:we(a[0]),mathml:we(a[1])}},htmlBuilder:function(r,a){var l=Me(r.html,a,!1);return d.makeFragment(l)},mathmlBuilder:function(r,a){return Rr(r.mathml,a)}});var wo=function(r){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(r))return{number:+r,unit:"bp"};var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r);if(!a)throw new ee("Invalid size: '"+r+"' in \\includegraphics");var l={number:+(a[1]+a[2]),unit:a[3]};if(!jn(l))throw new ee("Invalid unit: '"+l.unit+"' in \\includegraphics.");return l};Qt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(r,a,l){var g=r.parser,k={number:0,unit:"em"},ie={number:.9,unit:"em"},ze={number:0,unit:"em"},Je="";if(l[0])for(var At=ne(l[0],"raw").string,ar=At.split(","),pr=0;pr<ar.length;pr++){var Ur=ar[pr].split("=");if(Ur.length===2){var en=Ur[1].trim();switch(Ur[0].trim()){case"alt":Je=en;break;case"width":k=wo(en);break;case"height":ie=wo(en);break;case"totalheight":ze=wo(en);break;default:throw new ee("Invalid key: '"+Ur[0]+"' in \\includegraphics.")}}}var hn=ne(a[0],"url").url;return Je===""&&(Je=hn,Je=Je.replace(/^.*[\\/]/,""),Je=Je.substring(0,Je.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:hn})?{type:"includegraphics",mode:g.mode,alt:Je,width:k,height:ie,totalheight:ze,src:hn}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,a){var l=xn(r.height,a),g=0;r.totalheight.number>0&&(g=xn(r.totalheight,a)-l,g=Number(g.toFixed(2)));var k=0;r.width.number>0&&(k=xn(r.width,a));var ie={height:l+g+"em"};k>0&&(ie.width=k+"em"),g>0&&(ie.verticalAlign=-g+"em");var ze=new Ie(r.src,r.alt,ie);return ze.height=l,ze.depth=g,ze},mathmlBuilder:function(r,a){var l=new st.MathNode("mglyph",[]);l.setAttribute("alt",r.alt);var g=xn(r.height,a),k=0;if(r.totalheight.number>0&&(k=xn(r.totalheight,a)-g,k=k.toFixed(2),l.setAttribute("valign","-"+k+"em")),l.setAttribute("height",g+k+"em"),r.width.number>0){var ie=xn(r.width,a);l.setAttribute("width",ie+"em")}return l.setAttribute("src",r.src),l}}),Qt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,k=ne(a[0],"size");if(l.settings.strict){var ie=g[1]==="m",ze=k.value.unit==="mu";ie?(ze||l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+k.value.unit+" units")),l.mode!=="math"&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):ze&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:l.mode,dimension:k.value}},htmlBuilder:function(r,a){return d.makeGlue(r.dimension,a)},mathmlBuilder:function(r,a){var l=xn(r.dimension,a);return new st.SpaceNode(l)}}),Qt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0];return{type:"lap",mode:l.mode,alignment:g.slice(5),body:k}},htmlBuilder:function(r,a){var l;r.alignment==="clap"?(l=d.makeSpan([],[Tt(r.body,a)]),l=d.makeSpan(["inner"],[l],a)):l=d.makeSpan(["inner"],[Tt(r.body,a)]);var g=d.makeSpan(["fix"],[]),k=d.makeSpan([r.alignment],[l,g],a),ie=d.makeSpan(["strut"]);return ie.style.height=k.height+k.depth+"em",ie.style.verticalAlign=-k.depth+"em",k.children.unshift(ie),k=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:k}]},a),d.makeSpan(["mord"],[k],a)},mathmlBuilder:function(r,a){var l=new st.MathNode("mpadded",[Hr(r.body,a)]);if(r.alignment!=="rlap"){var g=r.alignment==="llap"?"-1":"-0.5";l.setAttribute("lspace",g+"width")}return l.setAttribute("width","0px"),l}}),Qt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,a){var l=r.funcName,g=r.parser,k=g.mode;g.switchMode("math");var ie=l==="\\("?"\\)":"$",ze=g.parseExpression(!1,ie);return g.expect(ie),g.switchMode(k),{type:"styling",mode:g.mode,style:"text",body:ze}}}),Qt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,a){throw new ee("Mismatched "+r.funcName)}});var Ri=function(r,a){switch(a.style.size){case y.DISPLAY.size:return r.display;case y.TEXT.size:return r.text;case y.SCRIPT.size:return r.script;case y.SCRIPTSCRIPT.size:return r.scriptscript;default:return r.text}};Qt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(r,a){var l=r.parser;return{type:"mathchoice",mode:l.mode,display:we(a[0]),text:we(a[1]),script:we(a[2]),scriptscript:we(a[3])}},htmlBuilder:function(r,a){var l=Ri(r,a),g=Me(l,a,!1);return d.makeFragment(g)},mathmlBuilder:function(r,a){var l=Ri(r,a);return Rr(l,a)}});var Xa=function(r,a,l,g,k,ie,ze){r=d.makeSpan([],[r]);var Je,At;if(a){var ar=Tt(a,g.havingStyle(k.sup()),g);At={elem:ar,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-ar.depth)}}if(l){var pr=Tt(l,g.havingStyle(k.sub()),g);Je={elem:pr,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-pr.height)}}var Ur;if(At&&Je){var en=g.fontMetrics().bigOpSpacing5+Je.elem.height+Je.elem.depth+Je.kern+r.depth+ze;Ur=d.makeVList({positionType:"bottom",positionData:en,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Je.elem,marginLeft:-ie+"em"},{type:"kern",size:Je.kern},{type:"elem",elem:r},{type:"kern",size:At.kern},{type:"elem",elem:At.elem,marginLeft:ie+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(Je){var hn=r.height-ze;Ur=d.makeVList({positionType:"top",positionData:hn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Je.elem,marginLeft:-ie+"em"},{type:"kern",size:Je.kern},{type:"elem",elem:r}]},g)}else if(At){var In=r.depth+ze;Ur=d.makeVList({positionType:"bottom",positionData:In,children:[{type:"elem",elem:r},{type:"kern",size:At.kern},{type:"elem",elem:At.elem,marginLeft:ie+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else return r;return d.makeSpan(["mop","op-limits"],[Ur],g)},Xi=["\\smallint"],Ei=function(r,a){var l,g,k=!1,ie,ze=V(r,"supsub");ze?(l=ze.sup,g=ze.sub,ie=ne(ze.base,"op"),k=!0):ie=ne(r,"op");var Je=a.style,At=!1;Je.size===y.DISPLAY.size&&ie.symbol&&!O.contains(Xi,ie.name)&&(At=!0);var ar;if(ie.symbol){var pr=At?"Size2-Regular":"Size1-Regular",Ur="";if((ie.name==="\\oiint"||ie.name==="\\oiiint")&&(Ur=ie.name.substr(1),ie.name=Ur==="oiint"?"\\iint":"\\iiint"),ar=d.makeSymbol(ie.name,pr,"math",a,["mop","op-symbol",At?"large-op":"small-op"]),Ur.length>0){var en=ar.italic,hn=d.staticSvg(Ur+"Size"+(At?"2":"1"),a);ar=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:0},{type:"elem",elem:hn,shift:At?.08:0}]},a),ie.name="\\"+Ur,ar.classes.unshift("mop"),ar.italic=en}}else if(ie.body){var In=Me(ie.body,a,!0);In.length===1&&In[0]instanceof Be?(ar=In[0],ar.classes[0]="mop"):ar=d.makeSpan(["mop"],d.tryCombineChars(In),a)}else{for(var Gn=[],Oa=1;Oa<ie.name.length;Oa++)Gn.push(d.mathsym(ie.name[Oa],ie.mode,a));ar=d.makeSpan(["mop"],Gn,a)}var u=0,e=0;return(ar instanceof Be||ie.name==="\\oiint"||ie.name==="\\oiiint")&&!ie.suppressBaseShift&&(u=(ar.height-ar.depth)/2-a.fontMetrics().axisHeight,e=ar.italic),k?Xa(ar,l,g,a,Je,e,u):(u&&(ar.style.position="relative",ar.style.top=u+"em"),ar)},Fi=function(r,a){var l;if(r.symbol)l=new je("mo",[qt(r.name,r.mode)]),O.contains(Xi,r.name)&&l.setAttribute("largeop","false");else if(r.body)l=new je("mo",Ar(r.body,a));else{l=new je("mi",[new vt(r.name.slice(1))]);var g=new je("mo",[qt("\u2061","text")]);r.parentIsSupSub?l=new je("mo",[l,g]):l=wr([l,g])}return l},Ss={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Qt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:function(r,a){var l=r.parser,g=r.funcName,k=g;return k.length===1&&(k=Ss[k]),{type:"op",mode:l.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:k}},htmlBuilder:Ei,mathmlBuilder:Fi}),Qt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=a[0];return{type:"op",mode:l.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:we(g)}},htmlBuilder:Ei,mathmlBuilder:Fi});var ci={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Qt({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(r){var a=r.parser,l=r.funcName;return{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:l}},htmlBuilder:Ei,mathmlBuilder:Fi}),Qt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(r){var a=r.parser,l=r.funcName;return{type:"op",mode:a.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:l}},htmlBuilder:Ei,mathmlBuilder:Fi}),Qt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler:function(r){var a=r.parser,l=r.funcName,g=l;return g.length===1&&(g=ci[g]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:Ei,mathmlBuilder:Fi});var ss=function(r,a){var l,g,k=!1,ie,ze=V(r,"supsub");ze?(l=ze.sup,g=ze.sub,ie=ne(ze.base,"operatorname"),k=!0):ie=ne(r,"operatorname");var Je;if(ie.body.length>0){for(var At=ie.body.map(function(en){var hn=en.text;return typeof hn=="string"?{type:"textord",mode:en.mode,text:hn}:en}),ar=Me(At,a.withFont("mathrm"),!0),pr=0;pr<ar.length;pr++){var Ur=ar[pr];Ur instanceof Be&&(Ur.text=Ur.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Je=d.makeSpan(["mop"],ar,a)}else Je=d.makeSpan(["mop"],[],a);return k?Xa(Je,l,g,a,a.style,0,0):Je},ls=function(r,a){for(var l=Ar(r.body,a.withFont("mathrm")),g=!0,k=0;k<l.length;k++){var ie=l[k];if(!(ie instanceof st.SpaceNode))if(ie instanceof st.MathNode)switch(ie.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var ze=ie.children[0];ie.children.length===1&&ze instanceof st.TextNode?ze.text=ze.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):g=!1;break}default:g=!1}else g=!1}if(g){var Je=l.map(function(pr){return pr.toText()}).join("");l=[new st.TextNode(Je)]}var At=new st.MathNode("mi",l);At.setAttribute("mathvariant","normal");var ar=new st.MathNode("mo",[qt("\u2061","text")]);return r.parentIsSupSub?new st.MathNode("mo",[At,ar]):st.newDocumentFragment([At,ar])};Qt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0];return{type:"operatorname",mode:l.mode,body:we(k),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ss,mathmlBuilder:ls}),tt({type:"ordgroup",htmlBuilder:function(r,a){return r.semisimple?d.makeFragment(Me(r.body,a,!1)):d.makeSpan(["mord"],Me(r.body,a,!0),a)},mathmlBuilder:function(r,a){return Rr(r.body,a,!0)}}),Qt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=a[0];return{type:"overline",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=Tt(r.body,a.havingCrampedStyle()),g=d.makeLineSpan("overline-line",a),k=a.fontMetrics().defaultRuleThickness,ie=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:3*k},{type:"elem",elem:g},{type:"kern",size:k}]},a);return d.makeSpan(["mord","overline"],[ie],a)},mathmlBuilder:function(r,a){var l=new st.MathNode("mo",[new st.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new st.MathNode("mover",[Hr(r.body,a),l]);return g.setAttribute("accent","true"),g}}),Qt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[0];return{type:"phantom",mode:l.mode,body:we(g)}},htmlBuilder:function(r,a){var l=Me(r.body,a.withPhantom(),!1);return d.makeFragment(l)},mathmlBuilder:function(r,a){var l=Ar(r.body,a);return new st.MathNode("mphantom",l)}}),Qt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[0];return{type:"hphantom",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=d.makeSpan([],[Tt(r.body,a.withPhantom())]);if(l.height=0,l.depth=0,l.children)for(var g=0;g<l.children.length;g++)l.children[g].height=0,l.children[g].depth=0;return l=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a),d.makeSpan(["mord"],[l],a)},mathmlBuilder:function(r,a){var l=Ar(we(r.body),a),g=new st.MathNode("mphantom",l),k=new st.MathNode("mpadded",[g]);return k.setAttribute("height","0px"),k.setAttribute("depth","0px"),k}}),Qt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[0];return{type:"vphantom",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=d.makeSpan(["inner"],[Tt(r.body,a.withPhantom())]),g=d.makeSpan(["fix"],[]);return d.makeSpan(["mord","rlap"],[l,g],a)},mathmlBuilder:function(r,a){var l=Ar(we(r.body),a),g=new st.MathNode("mphantom",l),k=new st.MathNode("mpadded",[g]);return k.setAttribute("width","0px"),k}}),Qt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=ne(a[0],"size").value,k=a[1];return{type:"raisebox",mode:l.mode,dy:g,body:k}},htmlBuilder:function(r,a){var l=Tt(r.body,a),g=xn(r.dy,a);return d.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:l}]},a)},mathmlBuilder:function(r,a){var l=new st.MathNode("mpadded",[Hr(r.body,a)]),g=r.dy.number+r.dy.unit;return l.setAttribute("voffset",g),l}}),Qt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(r,a,l){var g=r.parser,k=l[0],ie=ne(a[0],"size"),ze=ne(a[1],"size");return{type:"rule",mode:g.mode,shift:k&&ne(k,"size").value,width:ie.value,height:ze.value}},htmlBuilder:function(r,a){var l=d.makeSpan(["mord","rule"],[],a),g=xn(r.width,a),k=xn(r.height,a),ie=r.shift?xn(r.shift,a):0;return l.style.borderRightWidth=g+"em",l.style.borderTopWidth=k+"em",l.style.bottom=ie+"em",l.width=g,l.height=k+ie,l.depth=-ie,l.maxFontSize=k*1.125*a.sizeMultiplier,l},mathmlBuilder:function(r,a){var l=xn(r.width,a),g=xn(r.height,a),k=r.shift?xn(r.shift,a):0,ie=a.color&&a.getColor()||"black",ze=new st.MathNode("mspace");ze.setAttribute("mathbackground",ie),ze.setAttribute("width",l+"em"),ze.setAttribute("height",g+"em");var Je=new st.MathNode("mpadded",[ze]);return k>=0?Je.setAttribute("height","+"+k+"em"):(Je.setAttribute("height",k+"em"),Je.setAttribute("depth","+"+-k+"em")),Je.setAttribute("voffset",k+"em"),Je}});function ui(re,r,a){for(var l=Me(re,r,!1),g=r.sizeMultiplier/a.sizeMultiplier,k=0;k<l.length;k++){var ie=l[k].classes.indexOf("sizing");ie<0?Array.prototype.push.apply(l[k].classes,r.sizingClasses(a)):l[k].classes[ie+1]==="reset-size"+r.size&&(l[k].classes[ie+1]="reset-size"+a.size),l[k].height*=g,l[k].depth*=g}return d.makeFragment(l)}var Yi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Cs=function(r,a){var l=a.havingSize(r.size);return ui(r.body,l,a)};Qt({type:"sizing",names:Yi,props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.breakOnTokenText,g=r.funcName,k=r.parser,ie=k.parseExpression(!1,l);return{type:"sizing",mode:k.mode,size:Yi.indexOf(g)+1,body:ie}},htmlBuilder:Cs,mathmlBuilder:function(r,a){var l=a.havingSize(r.size),g=Ar(r.body,l),k=new st.MathNode("mstyle",g);return k.setAttribute("mathsize",l.sizeMultiplier+"em"),k}}),Qt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,a,l){var g=r.parser,k=!1,ie=!1,ze=l[0]&&ne(l[0],"ordgroup");if(ze)for(var Je="",At=0;At<ze.body.length;++At){var ar=ze.body[At];if(Je=ar.text,Je==="t")k=!0;else if(Je==="b")ie=!0;else{k=!1,ie=!1;break}}else k=!0,ie=!0;var pr=a[0];return{type:"smash",mode:g.mode,body:pr,smashHeight:k,smashDepth:ie}},htmlBuilder:function(r,a){var l=d.makeSpan([],[Tt(r.body,a)]);if(!r.smashHeight&&!r.smashDepth)return l;if(r.smashHeight&&(l.height=0,l.children))for(var g=0;g<l.children.length;g++)l.children[g].height=0;if(r.smashDepth&&(l.depth=0,l.children))for(var k=0;k<l.children.length;k++)l.children[k].depth=0;var ie=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a);return d.makeSpan(["mord"],[ie],a)},mathmlBuilder:function(r,a){var l=new st.MathNode("mpadded",[Hr(r.body,a)]);return r.smashHeight&&l.setAttribute("height","0px"),r.smashDepth&&l.setAttribute("depth","0px"),l}}),Qt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(r,a,l){var g=r.parser,k=l[0],ie=a[0];return{type:"sqrt",mode:g.mode,body:ie,index:k}},htmlBuilder:function(r,a){var l=Tt(r.body,a.havingCrampedStyle());l.height===0&&(l.height=a.fontMetrics().xHeight),l=d.wrapFragment(l,a);var g=a.fontMetrics(),k=g.defaultRuleThickness,ie=k;a.style.id<y.TEXT.id&&(ie=a.fontMetrics().xHeight);var ze=k+ie/4,Je=l.height+l.depth+ze+k,At=ma.sqrtImage(Je,a),ar=At.span,pr=At.ruleWidth,Ur=At.advanceWidth,en=ar.height-pr;en>l.height+l.depth+ze&&(ze=(ze+en-l.height-l.depth)/2);var hn=ar.height-l.height-ze-pr;l.style.paddingLeft=Ur+"em";var In=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:-(l.height+hn)},{type:"elem",elem:ar},{type:"kern",size:pr}]},a);if(r.index){var Gn=a.havingStyle(y.SCRIPTSCRIPT),Oa=Tt(r.index,Gn,a),u=.6*(In.height-In.depth),e=d.makeVList({positionType:"shift",positionData:-u,children:[{type:"elem",elem:Oa}]},a),t=d.makeSpan(["root"],[e]);return d.makeSpan(["mord","sqrt"],[t,In],a)}else return d.makeSpan(["mord","sqrt"],[In],a)},mathmlBuilder:function(r,a){var l=r.body,g=r.index;return g?new st.MathNode("mroot",[Hr(l,a),Hr(g,a)]):new st.MathNode("msqrt",[Hr(l,a)])}});var fs={display:y.DISPLAY,text:y.TEXT,script:y.SCRIPT,scriptscript:y.SCRIPTSCRIPT};Qt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.breakOnTokenText,g=r.funcName,k=r.parser,ie=k.parseExpression(!0,l),ze=g.slice(1,g.length-5);return{type:"styling",mode:k.mode,style:ze,body:ie}},htmlBuilder:function(r,a){var l=fs[r.style],g=a.havingStyle(l).withFont("");return ui(r.body,g,a)},mathmlBuilder:function(r,a){var l=fs[r.style],g=a.havingStyle(l),k=Ar(r.body,g),ie=new st.MathNode("mstyle",k),ze={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Je=ze[r.style];return ie.setAttribute("scriptlevel",Je[0]),ie.setAttribute("displaystyle",Je[1]),ie}});var Ts=function(r,a){var l=r.base;if(l)if(l.type==="op"){var g=l.limits&&(a.style.size===y.DISPLAY.size||l.alwaysHandleSupSub);return g?Ei:null}else if(l.type==="operatorname"){var k=l.alwaysHandleSupSub&&(a.style.size===y.DISPLAY.size||l.limits);return k?ss:null}else{if(l.type==="accent")return O.isCharacterBox(l.base)?qn:null;if(l.type==="horizBrace"){var ie=!r.sub;return ie===l.isOver?co:null}else return null}else return null};tt({type:"supsub",htmlBuilder:function(r,a){var l=Ts(r,a);if(l)return l(r,a);var g=r.base,k=r.sup,ie=r.sub,ze=Tt(g,a),Je,At,ar=a.fontMetrics(),pr=0,Ur=0,en=g&&O.isCharacterBox(g);if(k){var hn=a.havingStyle(a.style.sup());Je=Tt(k,hn,a),en||(pr=ze.height-hn.fontMetrics().supDrop*hn.sizeMultiplier/a.sizeMultiplier)}if(ie){var In=a.havingStyle(a.style.sub());At=Tt(ie,In,a),en||(Ur=ze.depth+In.fontMetrics().subDrop*In.sizeMultiplier/a.sizeMultiplier)}var Gn;a.style===y.DISPLAY?Gn=ar.sup1:a.style.cramped?Gn=ar.sup3:Gn=ar.sup2;var Oa=a.sizeMultiplier,u=.5/ar.ptPerEm/Oa+"em",e=null;if(At){var t=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(ze instanceof Be||t)&&(e=-ze.italic+"em")}var h;if(Je&&At){pr=Math.max(pr,Gn,Je.depth+.25*ar.xHeight),Ur=Math.max(Ur,ar.sub2);var E=ar.defaultRuleThickness,G=4*E;if(pr-Je.depth-(At.height-Ur)<G){Ur=G-(pr-Je.depth)+At.height;var be=.8*ar.xHeight-(pr-Je.depth);be>0&&(pr+=be,Ur-=be)}var Ve=[{type:"elem",elem:At,shift:Ur,marginRight:u,marginLeft:e},{type:"elem",elem:Je,shift:-pr,marginRight:u}];h=d.makeVList({positionType:"individualShift",children:Ve},a)}else if(At){Ur=Math.max(Ur,ar.sub1,At.height-.8*ar.xHeight);var qe=[{type:"elem",elem:At,marginLeft:e,marginRight:u}];h=d.makeVList({positionType:"shift",positionData:Ur,children:qe},a)}else if(Je)pr=Math.max(pr,Gn,Je.depth+.25*ar.xHeight),h=d.makeVList({positionType:"shift",positionData:-pr,children:[{type:"elem",elem:Je,marginRight:u}]},a);else throw new Error("supsub must have either sup or sub.");var Wt=vr(ze,"right")||"mord";return d.makeSpan([Wt],[ze,d.makeSpan(["msupsub"],[h])],a)},mathmlBuilder:function(r,a){var l=!1,g,k,ie=V(r.base,"horizBrace");ie&&(k=!!r.sup,k===ie.isOver&&(l=!0,g=ie.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var ze=[Hr(r.base,a)];r.sub&&ze.push(Hr(r.sub,a)),r.sup&&ze.push(Hr(r.sup,a));var Je;if(l)Je=g?"mover":"munder";else if(r.sub)if(r.sup){var pr=r.base;pr&&pr.type==="op"&&pr.limits&&a.style===y.DISPLAY||pr&&pr.type==="operatorname"&&pr.alwaysHandleSupSub&&(a.style===y.DISPLAY||pr.limits)?Je="munderover":Je="msubsup"}else{var ar=r.base;ar&&ar.type==="op"&&ar.limits&&(a.style===y.DISPLAY||ar.alwaysHandleSupSub)||ar&&ar.type==="operatorname"&&ar.alwaysHandleSupSub&&(ar.limits||a.style===y.DISPLAY)?Je="munder":Je="msub"}else{var At=r.base;At&&At.type==="op"&&At.limits&&(a.style===y.DISPLAY||At.alwaysHandleSupSub)||At&&At.type==="operatorname"&&At.alwaysHandleSupSub&&(At.limits||a.style===y.DISPLAY)?Je="mover":Je="msup"}var Ur=new st.MathNode(Je,ze);return Ur}}),tt({type:"atom",htmlBuilder:function(r,a){return d.mathsym(r.text,r.mode,a,["m"+r.family])},mathmlBuilder:function(r,a){var l=new st.MathNode("mo",[qt(r.text,r.mode)]);if(r.family==="bin"){var g=Or(r,a);g==="bold-italic"&&l.setAttribute("mathvariant",g)}else r.family==="punct"?l.setAttribute("separator","true"):(r.family==="open"||r.family==="close")&&l.setAttribute("stretchy","false");return l}});var ki={mi:"italic",mn:"normal",mtext:"normal"};tt({type:"mathord",htmlBuilder:function(r,a){return d.makeOrd(r,a,"mathord")},mathmlBuilder:function(r,a){var l=new st.MathNode("mi",[qt(r.text,r.mode,a)]),g=Or(r,a)||"italic";return g!==ki[l.type]&&l.setAttribute("mathvariant",g),l}}),tt({type:"textord",htmlBuilder:function(r,a){return d.makeOrd(r,a,"textord")},mathmlBuilder:function(r,a){var l=qt(r.text,r.mode,a),g=Or(r,a)||"normal",k;return r.mode==="text"?k=new st.MathNode("mtext",[l]):/[0-9]/.test(r.text)?k=new st.MathNode("mn",[l]):r.text==="\\prime"?k=new st.MathNode("mo",[l]):k=new st.MathNode("mi",[l]),g!==ki[k.type]&&k.setAttribute("mathvariant",g),k}});var bi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},di={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};tt({type:"spacing",htmlBuilder:function(r,a){if(di.hasOwnProperty(r.text)){var l=di[r.text].className||"";if(r.mode==="text"){var g=d.makeOrd(r,a,"textord");return g.classes.push(l),g}else return d.makeSpan(["mspace",l],[d.mathsym(r.text,r.mode,a)],a)}else{if(bi.hasOwnProperty(r.text))return d.makeSpan(["mspace",bi[r.text]],[],a);throw new ee('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,a){var l;if(di.hasOwnProperty(r.text))l=new st.MathNode("mtext",[new st.TextNode("\xA0")]);else{if(bi.hasOwnProperty(r.text))return new st.MathNode("mspace");throw new ee('Unknown type of space "'+r.text+'"')}return l}});var ms=function(){var r=new st.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};tt({type:"tag",mathmlBuilder:function(r,a){var l=new st.MathNode("mtable",[new st.MathNode("mtr",[ms(),new st.MathNode("mtd",[Rr(r.body,a)]),ms(),new st.MathNode("mtd",[Rr(r.tag,a)])])]);return l.setAttribute("width","100%"),l}});var Xo={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},yi={"\\textbf":"textbf","\\textmd":"textmd"},Ia={"\\textit":"textit","\\textup":"textup"},Os=function(r,a){var l=r.font;return l?Xo[l]?a.withTextFontFamily(Xo[l]):yi[l]?a.withTextFontWeight(yi[l]):a.withTextFontShape(Ia[l]):a};Qt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(r,a){var l=r.parser,g=r.funcName,k=a[0];return{type:"text",mode:l.mode,body:we(k),font:g}},htmlBuilder:function(r,a){var l=Os(r,a),g=Me(r.body,l,!0);return d.makeSpan(["mord","text"],d.tryCombineChars(g),l)},mathmlBuilder:function(r,a){var l=Os(r,a);return Rr(r.body,l)}}),Qt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"underline",mode:l.mode,body:a[0]}},htmlBuilder:function(r,a){var l=Tt(r.body,a),g=d.makeLineSpan("underline-line",a),k=a.fontMetrics().defaultRuleThickness,ie=d.makeVList({positionType:"top",positionData:l.height,children:[{type:"kern",size:k},{type:"elem",elem:g},{type:"kern",size:3*k},{type:"elem",elem:l}]},a);return d.makeSpan(["mord","underline"],[ie],a)},mathmlBuilder:function(r,a){var l=new st.MathNode("mo",[new st.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new st.MathNode("munder",[Hr(r.body,a),l]);return g.setAttribute("accentunder","true"),g}}),Qt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(r,a,l){throw new ee("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,a){for(var l=ps(r),g=[],k=a.havingStyle(a.style.text()),ie=0;ie<l.length;ie++){var ze=l[ie];ze==="~"&&(ze="\\textasciitilde"),g.push(d.makeSymbol(ze,"Typewriter-Regular",r.mode,k,["mord","texttt"]))}return d.makeSpan(["mord","text"].concat(k.sizingClasses(a)),d.tryCombineChars(g),k)},mathmlBuilder:function(r,a){var l=new st.TextNode(ps(r)),g=new st.MathNode("mtext",[l]);return g.setAttribute("mathvariant","monospace"),g}});var ps=function(r){return r.body.replace(/ /g,r.star?"\u2423":"\xA0")},Bs=ct,Hi=Bs,ti=`[ \r
]`,xi="\\\\[a-zA-Z@]+",Es="\\\\[^\uD800-\uDFFF]",Ls=""+xi+ti+"*",qi=new RegExp("^("+xi+")"+ti+"*$"),Ii="[\u0300-\u036F]",Ai=new RegExp(Ii+"+$"),Ji="("+ti+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ii+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ii+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Ls)+("|"+Es+")"),Wi=function(){function re(a,l){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=a,this.settings=l,this.tokenRegex=new RegExp(Ji,"g"),this.catcodes={"%":14}}var r=re.prototype;return r.setCatcode=function(l,g){this.catcodes[l]=g},r.lex=function(){var l=this.input,g=this.tokenRegex.lastIndex;if(g===l.length)return new De("EOF",new B(this,g,g));var k=this.tokenRegex.exec(l);if(k===null||k.index!==g)throw new ee("Unexpected character: '"+l[g]+"'",new De(l[g],new B(this,g,g+1)));var ie=k[2]||" ";if(this.catcodes[ie]===14){var ze=l.indexOf(`
`,this.tokenRegex.lastIndex);return ze===-1?(this.tokenRegex.lastIndex=l.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=ze+1,this.lex()}var Je=ie.match(qi);return Je&&(ie=Je[1]),new De(ie,new B(this,g,this.tokenRegex.lastIndex))},re}(),Is=function(){function re(a,l){a===void 0&&(a={}),l===void 0&&(l={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=l,this.builtins=a,this.undefStack=[]}var r=re.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new ee("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var l=this.undefStack.pop();for(var g in l)l.hasOwnProperty(g)&&(l[g]===void 0?delete this.current[g]:this.current[g]=l[g])},r.has=function(l){return this.current.hasOwnProperty(l)||this.builtins.hasOwnProperty(l)},r.get=function(l){return this.current.hasOwnProperty(l)?this.current[l]:this.builtins[l]},r.set=function(l,g,k){if(k===void 0&&(k=!1),k){for(var ie=0;ie<this.undefStack.length;ie++)delete this.undefStack[ie][l];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][l]=g)}else{var ze=this.undefStack[this.undefStack.length-1];ze&&!ze.hasOwnProperty(l)&&(ze[l]=this.current[l])}this.current[l]=g},re}(),cs={},us=cs;function ft(re,r){cs[re]=r}ft("\\@firstoftwo",function(re){var r=re.consumeArgs(2);return{tokens:r[0],numArgs:0}}),ft("\\@secondoftwo",function(re){var r=re.consumeArgs(2);return{tokens:r[1],numArgs:0}}),ft("\\@ifnextchar",function(re){var r=re.consumeArgs(3),a=re.future();return r[0].length===1&&r[0][0].text===a.text?{tokens:r[1],numArgs:0}:{tokens:r[2],numArgs:0}}),ft("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),ft("\\TextOrMath",function(re){var r=re.consumeArgs(2);return re.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var Zo={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};ft("\\char",function(re){var r=re.popToken(),a,l="";if(r.text==="'")a=8,r=re.popToken();else if(r.text==='"')a=16,r=re.popToken();else if(r.text==="`")if(r=re.popToken(),r.text[0]==="\\")l=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new ee("\\char` missing argument");l=r.text.charCodeAt(0)}else a=10;if(a){if(l=Zo[r.text],l==null||l>=a)throw new ee("Invalid base-"+a+" digit "+r.text);for(var g;(g=Zo[re.future().text])!=null&&g<a;)l*=a,l+=g,re.popToken()}return"\\@char{"+l+"}"});var Ui=function(r,a){var l=r.consumeArgs(1)[0];if(l.length!==1)throw new ee("\\gdef's first argument must be a macro name");var g=l[0].text,k=0;for(l=r.consumeArgs(1)[0];l.length===1&&l[0].text==="#";){if(l=r.consumeArgs(1)[0],l.length!==1)throw new ee('Invalid argument number length "'+l.length+'"');if(!/^[1-9]$/.test(l[0].text))throw new ee('Invalid argument number "'+l[0].text+'"');if(k++,parseInt(l[0].text)!==k)throw new ee('Argument number "'+l[0].text+'" out of order');l=r.consumeArgs(1)[0]}return r.macros.set(g,{tokens:l,numArgs:k},a),""};ft("\\gdef",function(re){return Ui(re,!0)}),ft("\\def",function(re){return Ui(re,!1)}),ft("\\global",function(re){var r=re.consumeArgs(1)[0];if(r.length!==1)throw new ee("Invalid command after \\global");var a=r[0].text;if(a==="\\def")return Ui(re,!0);throw new ee("Invalid command '"+a+"' after \\global")});var Zi=function(r,a,l){var g=r.consumeArgs(1)[0];if(g.length!==1)throw new ee("\\newcommand's first argument must be a macro name");var k=g[0].text,ie=r.isDefined(k);if(ie&&!a)throw new ee("\\newcommand{"+k+"} attempting to redefine "+(k+"; use \\renewcommand"));if(!ie&&!l)throw new ee("\\renewcommand{"+k+"} when command "+k+" does not yet exist; use \\newcommand");var ze=0;if(g=r.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var Je="",At=r.expandNextToken();At.text!=="]"&&At.text!=="EOF";)Je+=At.text,At=r.expandNextToken();if(!Je.match(/^\s*[0-9]+\s*$/))throw new ee("Invalid number of arguments: "+Je);ze=parseInt(Je),g=r.consumeArgs(1)[0]}return r.macros.set(k,{tokens:g,numArgs:ze}),""};ft("\\newcommand",function(re){return Zi(re,!1,!0)}),ft("\\renewcommand",function(re){return Zi(re,!0,!1)}),ft("\\providecommand",function(re){return Zi(re,!0,!0)}),ft("\\bgroup","{"),ft("\\egroup","}"),ft("\\lq","`"),ft("\\rq","'"),ft("\\aa","\\r a"),ft("\\AA","\\r A"),ft("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),ft("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),ft("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),ft("\u212C","\\mathscr{B}"),ft("\u2130","\\mathscr{E}"),ft("\u2131","\\mathscr{F}"),ft("\u210B","\\mathscr{H}"),ft("\u2110","\\mathscr{I}"),ft("\u2112","\\mathscr{L}"),ft("\u2133","\\mathscr{M}"),ft("\u211B","\\mathscr{R}"),ft("\u212D","\\mathfrak{C}"),ft("\u210C","\\mathfrak{H}"),ft("\u2128","\\mathfrak{Z}"),ft("\\Bbbk","\\Bbb{k}"),ft("\xB7","\\cdotp"),ft("\\llap","\\mathllap{\\textrm{#1}}"),ft("\\rlap","\\mathrlap{\\textrm{#1}}"),ft("\\clap","\\mathclap{\\textrm{#1}}"),ft("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),ft("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),ft("\\ne","\\neq"),ft("\u2260","\\neq"),ft("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),ft("\u2209","\\notin"),ft("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),ft("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),ft("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),ft("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),ft("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),ft("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),ft("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),ft("\u27C2","\\perp"),ft("\u203C","\\mathclose{!\\mkern-0.8mu!}"),ft("\u220C","\\notni"),ft("\u231C","\\ulcorner"),ft("\u231D","\\urcorner"),ft("\u231E","\\llcorner"),ft("\u231F","\\lrcorner"),ft("\xA9","\\copyright"),ft("\xAE","\\textregistered"),ft("\uFE0F","\\textregistered"),ft("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),ft("\u22EE","\\vdots"),ft("\\varGamma","\\mathit{\\Gamma}"),ft("\\varDelta","\\mathit{\\Delta}"),ft("\\varTheta","\\mathit{\\Theta}"),ft("\\varLambda","\\mathit{\\Lambda}"),ft("\\varXi","\\mathit{\\Xi}"),ft("\\varPi","\\mathit{\\Pi}"),ft("\\varSigma","\\mathit{\\Sigma}"),ft("\\varUpsilon","\\mathit{\\Upsilon}"),ft("\\varPhi","\\mathit{\\Phi}"),ft("\\varPsi","\\mathit{\\Psi}"),ft("\\varOmega","\\mathit{\\Omega}"),ft("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),ft("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),ft("\\boxed","\\fbox{$\\displaystyle{#1}$}"),ft("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),ft("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),ft("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var ds={",":"\\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"};ft("\\dots",function(re){var r="\\dotso",a=re.expandAfterFuture().text;return a in ds?r=ds[a]:(a.substr(0,4)==="\\not"||a in Pr.math&&O.contains(["bin","rel"],Pr.math[a].group))&&(r="\\dotsb"),r});var $i={")":!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};ft("\\dotso",function(re){var r=re.future().text;return r in $i?"\\ldots\\,":"\\ldots"}),ft("\\dotsc",function(re){var r=re.future().text;return r in $i&&r!==","?"\\ldots\\,":"\\ldots"}),ft("\\cdots",function(re){var r=re.future().text;return r in $i?"\\@cdots\\,":"\\@cdots"}),ft("\\dotsb","\\cdots"),ft("\\dotsm","\\cdots"),ft("\\dotsi","\\!\\cdots"),ft("\\dotsx","\\ldots\\,"),ft("\\DOTSI","\\relax"),ft("\\DOTSB","\\relax"),ft("\\DOTSX","\\relax"),ft("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),ft("\\,","\\tmspace+{3mu}{.1667em}"),ft("\\thinspace","\\,"),ft("\\>","\\mskip{4mu}"),ft("\\:","\\tmspace+{4mu}{.2222em}"),ft("\\medspace","\\:"),ft("\\;","\\tmspace+{5mu}{.2777em}"),ft("\\thickspace","\\;"),ft("\\!","\\tmspace-{3mu}{.1667em}"),ft("\\negthinspace","\\!"),ft("\\negmedspace","\\tmspace-{4mu}{.2222em}"),ft("\\negthickspace","\\tmspace-{5mu}{.277em}"),ft("\\enspace","\\kern.5em "),ft("\\enskip","\\hskip.5em\\relax"),ft("\\quad","\\hskip1em\\relax"),ft("\\qquad","\\hskip2em\\relax"),ft("\\tag","\\@ifstar\\tag@literal\\tag@paren"),ft("\\tag@paren","\\tag@literal{({#1})}"),ft("\\tag@literal",function(re){if(re.macros.get("\\df@tag"))throw new ee("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),ft("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),ft("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),ft("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),ft("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),ft("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),ft("\\\\","\\newline"),ft("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var gs=jt["Main-Regular"][84][1]-.7*jt["Main-Regular"][65][1]+"em";ft("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+gs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ft("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+gs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),ft("\\hspace","\\@ifstar\\@hspacer\\@hspace"),ft("\\@hspace","\\hskip #1\\relax"),ft("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),ft("\\ordinarycolon",":"),ft("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),ft("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),ft("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),ft("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),ft("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),ft("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),ft("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),ft("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),ft("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),ft("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),ft("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),ft("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),ft("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),ft("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),ft("\u2237","\\dblcolon"),ft("\u2239","\\eqcolon"),ft("\u2254","\\coloneqq"),ft("\u2255","\\eqqcolon"),ft("\u2A74","\\Coloneqq"),ft("\\ratio","\\vcentcolon"),ft("\\coloncolon","\\dblcolon"),ft("\\colonequals","\\coloneqq"),ft("\\coloncolonequals","\\Coloneqq"),ft("\\equalscolon","\\eqqcolon"),ft("\\equalscoloncolon","\\Eqqcolon"),ft("\\colonminus","\\coloneq"),ft("\\coloncolonminus","\\Coloneq"),ft("\\minuscolon","\\eqcolon"),ft("\\minuscoloncolon","\\Eqcolon"),ft("\\coloncolonapprox","\\Colonapprox"),ft("\\coloncolonsim","\\Colonsim"),ft("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),ft("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),ft("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),ft("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),ft("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),ft("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),ft("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),ft("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),ft("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),ft("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),ft("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),ft("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),ft("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),ft("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),ft("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),ft("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),ft("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),ft("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),ft("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),ft("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),ft("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),ft("\u27E6","\\llbracket"),ft("\u27E7","\\rrbracket"),ft("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),ft("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),ft("\u2983","\\lBrace"),ft("\u2984","\\rBrace"),ft("\\darr","\\downarrow"),ft("\\dArr","\\Downarrow"),ft("\\Darr","\\Downarrow"),ft("\\lang","\\langle"),ft("\\rang","\\rangle"),ft("\\uarr","\\uparrow"),ft("\\uArr","\\Uparrow"),ft("\\Uarr","\\Uparrow"),ft("\\N","\\mathbb{N}"),ft("\\R","\\mathbb{R}"),ft("\\Z","\\mathbb{Z}"),ft("\\alef","\\aleph"),ft("\\alefsym","\\aleph"),ft("\\Alpha","\\mathrm{A}"),ft("\\Beta","\\mathrm{B}"),ft("\\bull","\\bullet"),ft("\\Chi","\\mathrm{X}"),ft("\\clubs","\\clubsuit"),ft("\\cnums","\\mathbb{C}"),ft("\\Complex","\\mathbb{C}"),ft("\\Dagger","\\ddagger"),ft("\\diamonds","\\diamondsuit"),ft("\\empty","\\emptyset"),ft("\\Epsilon","\\mathrm{E}"),ft("\\Eta","\\mathrm{H}"),ft("\\exist","\\exists"),ft("\\harr","\\leftrightarrow"),ft("\\hArr","\\Leftrightarrow"),ft("\\Harr","\\Leftrightarrow"),ft("\\hearts","\\heartsuit"),ft("\\image","\\Im"),ft("\\infin","\\infty"),ft("\\Iota","\\mathrm{I}"),ft("\\isin","\\in"),ft("\\Kappa","\\mathrm{K}"),ft("\\larr","\\leftarrow"),ft("\\lArr","\\Leftarrow"),ft("\\Larr","\\Leftarrow"),ft("\\lrarr","\\leftrightarrow"),ft("\\lrArr","\\Leftrightarrow"),ft("\\Lrarr","\\Leftrightarrow"),ft("\\Mu","\\mathrm{M}"),ft("\\natnums","\\mathbb{N}"),ft("\\Nu","\\mathrm{N}"),ft("\\Omicron","\\mathrm{O}"),ft("\\plusmn","\\pm"),ft("\\rarr","\\rightarrow"),ft("\\rArr","\\Rightarrow"),ft("\\Rarr","\\Rightarrow"),ft("\\real","\\Re"),ft("\\reals","\\mathbb{R}"),ft("\\Reals","\\mathbb{R}"),ft("\\Rho","\\mathrm{P}"),ft("\\sdot","\\cdot"),ft("\\sect","\\S"),ft("\\spades","\\spadesuit"),ft("\\sub","\\subset"),ft("\\sube","\\subseteq"),ft("\\supe","\\supseteq"),ft("\\Tau","\\mathrm{T}"),ft("\\thetasym","\\vartheta"),ft("\\weierp","\\wp"),ft("\\Zeta","\\mathrm{Z}"),ft("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),ft("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),ft("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),ft("\\blue","\\textcolor{##6495ed}{#1}"),ft("\\orange","\\textcolor{##ffa500}{#1}"),ft("\\pink","\\textcolor{##ff00af}{#1}"),ft("\\red","\\textcolor{##df0030}{#1}"),ft("\\green","\\textcolor{##28ae7b}{#1}"),ft("\\gray","\\textcolor{gray}{#1}"),ft("\\purple","\\textcolor{##9d38bd}{#1}"),ft("\\blueA","\\textcolor{##ccfaff}{#1}"),ft("\\blueB","\\textcolor{##80f6ff}{#1}"),ft("\\blueC","\\textcolor{##63d9ea}{#1}"),ft("\\blueD","\\textcolor{##11accd}{#1}"),ft("\\blueE","\\textcolor{##0c7f99}{#1}"),ft("\\tealA","\\textcolor{##94fff5}{#1}"),ft("\\tealB","\\textcolor{##26edd5}{#1}"),ft("\\tealC","\\textcolor{##01d1c1}{#1}"),ft("\\tealD","\\textcolor{##01a995}{#1}"),ft("\\tealE","\\textcolor{##208170}{#1}"),ft("\\greenA","\\textcolor{##b6ffb0}{#1}"),ft("\\greenB","\\textcolor{##8af281}{#1}"),ft("\\greenC","\\textcolor{##74cf70}{#1}"),ft("\\greenD","\\textcolor{##1fab54}{#1}"),ft("\\greenE","\\textcolor{##0d923f}{#1}"),ft("\\goldA","\\textcolor{##ffd0a9}{#1}"),ft("\\goldB","\\textcolor{##ffbb71}{#1}"),ft("\\goldC","\\textcolor{##ff9c39}{#1}"),ft("\\goldD","\\textcolor{##e07d10}{#1}"),ft("\\goldE","\\textcolor{##a75a05}{#1}"),ft("\\redA","\\textcolor{##fca9a9}{#1}"),ft("\\redB","\\textcolor{##ff8482}{#1}"),ft("\\redC","\\textcolor{##f9685d}{#1}"),ft("\\redD","\\textcolor{##e84d39}{#1}"),ft("\\redE","\\textcolor{##bc2612}{#1}"),ft("\\maroonA","\\textcolor{##ffbde0}{#1}"),ft("\\maroonB","\\textcolor{##ff92c6}{#1}"),ft("\\maroonC","\\textcolor{##ed5fa6}{#1}"),ft("\\maroonD","\\textcolor{##ca337c}{#1}"),ft("\\maroonE","\\textcolor{##9e034e}{#1}"),ft("\\purpleA","\\textcolor{##ddd7ff}{#1}"),ft("\\purpleB","\\textcolor{##c6b9fc}{#1}"),ft("\\purpleC","\\textcolor{##aa87ff}{#1}"),ft("\\purpleD","\\textcolor{##7854ab}{#1}"),ft("\\purpleE","\\textcolor{##543b78}{#1}"),ft("\\mintA","\\textcolor{##f5f9e8}{#1}"),ft("\\mintB","\\textcolor{##edf2df}{#1}"),ft("\\mintC","\\textcolor{##e0e5cc}{#1}"),ft("\\grayA","\\textcolor{##f6f7f7}{#1}"),ft("\\grayB","\\textcolor{##f0f1f2}{#1}"),ft("\\grayC","\\textcolor{##e3e5e6}{#1}"),ft("\\grayD","\\textcolor{##d6d8da}{#1}"),ft("\\grayE","\\textcolor{##babec2}{#1}"),ft("\\grayF","\\textcolor{##888d93}{#1}"),ft("\\grayG","\\textcolor{##626569}{#1}"),ft("\\grayH","\\textcolor{##3b3e40}{#1}"),ft("\\grayI","\\textcolor{##21242c}{#1}"),ft("\\kaBlue","\\textcolor{##314453}{#1}"),ft("\\kaGreen","\\textcolor{##71B307}{#1}");var Qi={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Pi=function(){function re(a,l,g){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=l,this.expansionCount=0,this.feed(a),this.macros=new Is(us,l.macros),this.mode=g,this.stack=[]}var r=re.prototype;return r.feed=function(l){this.lexer=new Wi(l,this.settings)},r.switchMode=function(l){this.mode=l},r.beginGroup=function(){this.macros.beginGroup()},r.endGroup=function(){this.macros.endGroup()},r.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},r.popToken=function(){return this.future(),this.stack.pop()},r.pushToken=function(l){this.stack.push(l)},r.pushTokens=function(l){var g;(g=this.stack).push.apply(g,l)},r.consumeSpaces=function(){for(;;){var l=this.future();if(l.text===" ")this.stack.pop();else break}},r.consumeArgs=function(l){for(var g=[],k=0;k<l;++k){this.consumeSpaces();var ie=this.popToken();if(ie.text==="{"){for(var ze=[],Je=1;Je!==0;){var At=this.popToken();if(ze.push(At),At.text==="{")++Je;else if(At.text==="}")--Je;else if(At.text==="EOF")throw new ee("End of input in macro argument",ie)}ze.pop(),ze.reverse(),g[k]=ze}else{if(ie.text==="EOF")throw new ee("End of input expecting macro argument");g[k]=[ie]}}return g},r.expandOnce=function(){var l=this.popToken(),g=l.text,k=this._getExpansion(g);if(k==null)return this.pushToken(l),l;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new ee("Too many expansions: infinite loop or need to increase maxExpand setting");var ie=k.tokens;if(k.numArgs){var ze=this.consumeArgs(k.numArgs);ie=ie.slice();for(var Je=ie.length-1;Je>=0;--Je){var At=ie[Je];if(At.text==="#"){if(Je===0)throw new ee("Incomplete placeholder at end of macro body",At);if(At=ie[--Je],At.text==="#")ie.splice(Je+1,1);else if(/^[1-9]$/.test(At.text)){var ar;(ar=ie).splice.apply(ar,[Je,2].concat(ze[+At.text-1]))}else throw new ee("Not a valid argument number",At)}}}return this.pushTokens(ie),ie},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;){var l=this.expandOnce();if(l instanceof De)if(l.text==="\\relax")this.stack.pop();else return this.stack.pop()}throw new Error},r.expandMacro=function(l){if(this.macros.get(l)){var g=[],k=this.stack.length;for(this.pushToken(new De(l));this.stack.length>k;){var ie=this.expandOnce();ie instanceof De&&g.push(this.stack.pop())}return g}},r.expandMacroAsText=function(l){var g=this.expandMacro(l);return g&&g.map(function(k){return k.text}).join("")},r._getExpansion=function(l){var g=this.macros.get(l);if(g==null)return g;var k=typeof g=="function"?g(this):g;if(typeof k=="string"){var ie=0;if(k.indexOf("#")!==-1)for(var ze=k.replace(/##/g,"");ze.indexOf("#"+(ie+1))!==-1;)++ie;for(var Je=new Wi(k,this.settings),At=[],ar=Je.lex();ar.text!=="EOF";)At.push(ar),ar=Je.lex();At.reverse();var pr={tokens:At,numArgs:ie};return pr}return k},r.isDefined=function(l){return this.macros.has(l)||Hi.hasOwnProperty(l)||Pr.math.hasOwnProperty(l)||Pr.text.hasOwnProperty(l)||Qi.hasOwnProperty(l)},re}(),wi={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"}},hs={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u010F:"d\u030C",\u1E0B:"d\u0307",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u013A:"l\u0301",\u013E:"l\u030C",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u010E:"D\u030C",\u1E0A:"D\u0307",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0139:"L\u0301",\u013D:"L\u030C",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u0164:"T\u030C",\u1E6A:"T\u0307",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},es=function(){function re(a,l){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 Pi(a,l,this.mode),this.settings=l,this.leftrightDepth=0}var r=re.prototype;return r.expect=function(l,g){if(g===void 0&&(g=!0),this.fetch().text!==l)throw new ee("Expected '"+l+"', got '"+this.fetch().text+"'",this.fetch());g&&this.consume()},r.consume=function(){this.nextToken=null},r.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},r.switchMode=function(l){this.mode=l,this.gullet.switchMode(l)},r.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var l=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),l},r.parseExpression=function(l,g){for(var k=[];;){this.mode==="math"&&this.consumeSpaces();var ie=this.fetch();if(re.endOfExpression.indexOf(ie.text)!==-1||g&&ie.text===g||l&&Hi[ie.text]&&Hi[ie.text].infix)break;var ze=this.parseAtom(g);if(!ze)break;k.push(ze)}return this.mode==="text"&&this.formLigatures(k),this.handleInfixNodes(k)},r.handleInfixNodes=function(l){for(var g=-1,k,ie=0;ie<l.length;ie++){var ze=V(l[ie],"infix");if(ze){if(g!==-1)throw new ee("only one infix operator per group",ze.token);g=ie,k=ze.replaceWith}}if(g!==-1&&k){var Je,At,ar=l.slice(0,g),pr=l.slice(g+1);ar.length===1&&ar[0].type==="ordgroup"?Je=ar[0]:Je={type:"ordgroup",mode:this.mode,body:ar},pr.length===1&&pr[0].type==="ordgroup"?At=pr[0]:At={type:"ordgroup",mode:this.mode,body:pr};var Ur;return k==="\\\\abovefrac"?Ur=this.callFunction(k,[Je,l[g],At],[]):Ur=this.callFunction(k,[Je,At],[]),[Ur]}else return l},r.handleSupSubscript=function(l){var g=this.fetch(),k=g.text;this.consume();var ie=this.parseGroup(l,!1,re.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!ie)throw new ee("Expected group after '"+k+"'",g);return ie},r.formatUnsupportedCmd=function(l){for(var g=[],k=0;k<l.length;k++)g.push({type:"textord",mode:"text",text:l[k]});var ie={type:"text",mode:this.mode,body:g},ze={type:"color",mode:this.mode,color:this.settings.errorColor,body:[ie]};return ze},r.parseAtom=function(l){var g=this.parseGroup("atom",!1,null,l);if(this.mode==="text")return g;for(var k,ie;;){this.consumeSpaces();var ze=this.fetch();if(ze.text==="\\limits"||ze.text==="\\nolimits"){var Je=V(g,"op");if(Je){var At=ze.text==="\\limits";Je.limits=At,Je.alwaysHandleSupSub=!0}else if(Je=V(g,"operatorname"),Je&&Je.alwaysHandleSupSub){var ar=ze.text==="\\limits";Je.limits=ar}else throw new ee("Limit controls must follow a math operator",ze);this.consume()}else if(ze.text==="^"){if(k)throw new ee("Double superscript",ze);k=this.handleSupSubscript("superscript")}else if(ze.text==="_"){if(ie)throw new ee("Double subscript",ze);ie=this.handleSupSubscript("subscript")}else if(ze.text==="'"){if(k)throw new ee("Double superscript",ze);var pr={type:"textord",mode:this.mode,text:"\\prime"},Ur=[pr];for(this.consume();this.fetch().text==="'";)Ur.push(pr),this.consume();this.fetch().text==="^"&&Ur.push(this.handleSupSubscript("superscript")),k={type:"ordgroup",mode:this.mode,body:Ur}}else break}return k||ie?{type:"supsub",mode:this.mode,base:g,sup:k,sub:ie}:g},r.parseFunction=function(l,g,k){var ie=this.fetch(),ze=ie.text,Je=Hi[ze];if(!Je)return null;if(this.consume(),k!=null&&Je.greediness<=k)throw new ee("Got function '"+ze+"' with no arguments"+(g?" as "+g:""),ie);if(this.mode==="text"&&!Je.allowedInText)throw new ee("Can't use function '"+ze+"' in text mode",ie);if(this.mode==="math"&&Je.allowedInMath===!1)throw new ee("Can't use function '"+ze+"' in math mode",ie);var At=this.parseArguments(ze,Je),ar=At.args,pr=At.optArgs;return this.callFunction(ze,ar,pr,ie,l)},r.callFunction=function(l,g,k,ie,ze){var Je={funcName:l,parser:this,token:ie,breakOnTokenText:ze},At=Hi[l];if(At&&At.handler)return At.handler(Je,g,k);throw new ee("No function handler for "+l)},r.parseArguments=function(l,g){var k=g.numArgs+g.numOptionalArgs;if(k===0)return{args:[],optArgs:[]};for(var ie=g.greediness,ze=[],Je=[],At=0;At<k;At++){var ar=g.argTypes&&g.argTypes[At],pr=At<g.numOptionalArgs,Ur=At>0&&!pr||At===0&&!pr&&this.mode==="math",en=this.parseGroupOfType("argument to '"+l+"'",ar,pr,ie,Ur);if(!en){if(pr){Je.push(null);continue}throw new ee("Expected group after '"+l+"'",this.fetch())}(pr?Je:ze).push(en)}return{args:ze,optArgs:Je}},r.parseGroupOfType=function(l,g,k,ie,ze){switch(g){case"color":return ze&&this.consumeSpaces(),this.parseColorGroup(k);case"size":return ze&&this.consumeSpaces(),this.parseSizeGroup(k);case"url":return this.parseUrlGroup(k,ze);case"math":case"text":return this.parseGroup(l,k,ie,void 0,g,ze);case"hbox":{var Je=this.parseGroup(l,k,ie,void 0,"text",ze);if(!Je)return Je;var At={type:"styling",mode:Je.mode,body:[Je],style:"text"};return At}case"raw":{if(ze&&this.consumeSpaces(),k&&this.fetch().text==="{")return null;var ar=this.parseStringGroup("raw",k,!0);if(ar)return{type:"raw",mode:"text",string:ar.text};throw new ee("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(l,k,ie,void 0,void 0,ze);default:throw new ee("Unknown group type as "+l,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(l,g,k){var ie=g?"[":"{",ze=g?"]":"}",Je=this.fetch();if(Je.text!==ie){if(g)return null;if(k&&Je.text!=="EOF"&&/[^{}[\]]/.test(Je.text))return this.consume(),Je}var At=this.mode;this.mode="text",this.expect(ie);for(var ar="",pr=this.fetch(),Ur=0,en=pr,hn;(hn=this.fetch()).text!==ze||k&&Ur>0;){switch(hn.text){case"EOF":throw new ee("Unexpected end of input in "+l,pr.range(en,ar));case ie:Ur++;break;case ze:Ur--;break}en=hn,ar+=en.text,this.consume()}return this.expect(ze),this.mode=At,pr.range(en,ar)},r.parseRegexGroup=function(l,g){var k=this.mode;this.mode="text";for(var ie=this.fetch(),ze=ie,Je="",At;(At=this.fetch()).text!=="EOF"&&l.test(Je+At.text);)ze=At,Je+=ze.text,this.consume();if(Je==="")throw new ee("Invalid "+g+": '"+ie.text+"'",ie);return this.mode=k,ie.range(ze,Je)},r.parseColorGroup=function(l){var g=this.parseStringGroup("color",l);if(!g)return null;var k=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!k)throw new ee("Invalid color: '"+g.text+"'",g);var ie=k[0];return/^[0-9a-f]{6}$/i.test(ie)&&(ie="#"+ie),{type:"color-token",mode:this.mode,color:ie}},r.parseSizeGroup=function(l){var g,k=!1;if(!l&&this.fetch().text!=="{"?g=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):g=this.parseStringGroup("size",l),!g)return null;!l&&g.text.length===0&&(g.text="0pt",k=!0);var ie=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(g.text);if(!ie)throw new ee("Invalid size: '"+g.text+"'",g);var ze={number:+(ie[1]+ie[2]),unit:ie[3]};if(!jn(ze))throw new ee("Invalid unit: '"+ze.unit+"'",g);return{type:"size",mode:this.mode,value:ze,isBlank:k}},r.parseUrlGroup=function(l,g){this.gullet.lexer.setCatcode("%",13);var k=this.parseStringGroup("url",l,!0);if(this.gullet.lexer.setCatcode("%",14),!k)return null;var ie=k.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:ie}},r.parseGroup=function(l,g,k,ie,ze,Je){var At=this.mode;ze&&this.switchMode(ze),Je&&this.consumeSpaces();var ar=this.fetch(),pr=ar.text,Ur;if(g?pr==="[":pr==="{"||pr==="\\begingroup"){this.consume();var en=re.endOfGroup[pr];this.gullet.beginGroup();var hn=this.parseExpression(!1,en),In=this.fetch();this.expect(en),this.gullet.endGroup(),Ur={type:"ordgroup",mode:this.mode,loc:B.range(ar,In),body:hn,semisimple:pr==="\\begingroup"||void 0}}else if(g)Ur=null;else if(Ur=this.parseFunction(ie,l,k)||this.parseSymbol(),Ur==null&&pr[0]==="\\"&&!Qi.hasOwnProperty(pr)){if(this.settings.throwOnError)throw new ee("Undefined control sequence: "+pr,ar);Ur=this.formatUnsupportedCmd(pr),this.consume()}return ze&&this.switchMode(At),Ur},r.formLigatures=function(l){for(var g=l.length-1,k=0;k<g;++k){var ie=l[k],ze=ie.text;ze==="-"&&l[k+1].text==="-"&&(k+1<g&&l[k+2].text==="-"?(l.splice(k,3,{type:"textord",mode:"text",loc:B.range(ie,l[k+2]),text:"---"}),g-=2):(l.splice(k,2,{type:"textord",mode:"text",loc:B.range(ie,l[k+1]),text:"--"}),g-=1)),(ze==="'"||ze==="`")&&l[k+1].text===ze&&(l.splice(k,2,{type:"textord",mode:"text",loc:B.range(ie,l[k+1]),text:ze+ze}),g-=1)}},r.parseSymbol=function(){var l=this.fetch(),g=l.text;if(/^\\verb[^a-zA-Z]/.test(g)){this.consume();var k=g.slice(5),ie=k.charAt(0)==="*";if(ie&&(k=k.slice(1)),k.length<2||k.charAt(0)!==k.slice(-1))throw new ee(`\\verb assertion failed --
please report what input caused this bug`);return k=k.slice(1,-1),{type:"verb",mode:"text",body:k,star:ie}}hs.hasOwnProperty(g[0])&&!Pr[this.mode][g[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+g[0]+'" used in math mode',l),g=hs[g[0]]+g.substr(1));var ze=Ai.exec(g);ze&&(g=g.substring(0,ze.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var Je;if(Pr[this.mode][g]){this.settings.strict&&this.mode==="math"&&Cn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',l);var At=Pr[this.mode][g].group,ar=B.range(l),pr;if(hr.hasOwnProperty(At)){var Ur=At;pr={type:"atom",mode:this.mode,family:Ur,loc:ar,text:g}}else pr={type:At,mode:this.mode,loc:ar,text:g};Je=pr}else if(g.charCodeAt(0)>=128)this.settings.strict&&(X(g.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+g[0]+'" used in math mode',l):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+g[0]+'"'+(" ("+g.charCodeAt(0)+")"),l)),Je={type:"textord",mode:"text",loc:B.range(l),text:g};else return null;if(this.consume(),ze)for(var en=0;en<ze[0].length;en++){var hn=ze[0][en];if(!wi[hn])throw new ee("Unknown accent ' "+hn+"'",l);var In=wi[hn][this.mode];if(!In)throw new ee("Accent "+hn+" unsupported in "+this.mode+" mode",l);Je={type:"accent",mode:this.mode,loc:B.range(l),label:In,isStretchy:!1,isShifty:!0,base:Je}}return Je},re}();es.endOfExpression=["}","\\endgroup","\\end","\\right","&"],es.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},es.SUPSUB_GREEDINESS=1;var ts=function(r,a){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var l=new es(r,a);delete l.gullet.macros.current["\\df@tag"];var g=l.parse();if(l.gullet.macros.get("\\df@tag")){if(!a.displayMode)throw new ee("\\tag works only in display equations");l.gullet.feed("\\df@tag"),g=[{type:"tag",mode:"text",body:g,tag:l.parse()}]}return g},rs=ts,N=function(r,a,l){a.textContent="";var g=Sr(r,l).toNode();a.appendChild(g)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),N=function(){throw new ee("KaTeX doesn't work in quirks mode.")});var $e=function(r,a){var l=Sr(r,a).toMarkup();return l},Bt=function(r,a){var l=new A(a);return rs(r,l)},tr=function(r,a,l){if(l.throwOnError||!(r instanceof ee))throw r;var g=d.makeSpan(["katex-error"],[new Be(a)]);return g.setAttribute("title",r.toString()),g.setAttribute("style","color:"+l.errorColor),g},Sr=function(r,a){var l=new A(a);try{var g=rs(r,l);return Mt(g,r,l)}catch(k){return tr(k,r,l)}},_r=function(r,a){var l=new A(a);try{var g=rs(r,l);return ba(g,r,l)}catch(k){return tr(k,r,l)}},un={version:"0.11.1",render:N,renderToString:$e,ParseError:ee,__parse:Bt,__renderToDomTree:Sr,__renderToHTMLTree:_r,__setFontMetrics:pt,__defineSymbol:w,__defineMacro:ft,__domTree:{Span:fe,Anchor:me,SymbolNode:Be,SvgNode:Ye,PathNode:xt,LineNode:$t}},ta=n.default=un}]).default})},23513:function(Qr,_t,n){"use strict";n.d(_t,{Z:function(){return Oa}});var o=n(40797),Xe=n(91378);class B{constructor(e,t,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=h}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new B(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class De{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 De(t,B.range(this,e))}}class q{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var h="KaTeX parse error: "+e,E,G,be=t&&t.loc;if(be&&be.start<=be.end){var Ve=be.lexer.input;E=be.start,G=be.end,E===Ve.length?h+=" at end of input: ":h+=" at position "+(E+1)+": ";var qe=Ve.slice(E,G).replace(/[^]/g,"$&\u0332"),Wt;E>15?Wt="\u2026"+Ve.slice(E-15,E):Wt=Ve.slice(0,E);var lr;G+15<Ve.length?lr=Ve.slice(G,G+15)+"\u2026":lr=Ve.slice(G),h+=Wt+qe+lr}var yr=new Error(h);return yr.name="ParseError",yr.__proto__=q.prototype,yr.position=E,E!=null&&G!=null&&(yr.length=G-E),yr.rawMessage=e,yr}}q.prototype.__proto__=Error.prototype;var ee=function(e,t){return e===void 0?t:e},Y=/([A-Z])/g,x=function(e){return e.replace(Y,"-$1").toLowerCase()},Z={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},c=/[&><"']/g;function L(u){return String(u).replace(c,e=>Z[e])}var D=function u(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?u(e.body[0]):e:e.type==="font"?u(e.body):e},U=function(e){var t=D(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},F=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},_=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},I={deflt:ee,escape:L,hyphenate:x,getBaseElem:D,isCharacterBox:U,protocolFromUrl:_},z={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:u=>"#"+u},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:(u,e)=>(e.push(u),e)},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:u=>Math.max(0,u),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:u=>Math.max(0,u),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:u=>Math.max(0,u),cli:"-e, --max-expand <n>",cliProcessor:u=>u==="Infinity"?1/0:parseInt(u)},globalGroup:{type:"boolean",cli:!1}};function O(u){if(u.default)return u.default;var e=u.type,t=Array.isArray(e)?e[0]:e;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class A{constructor(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,this.globalGroup=void 0,e=e||{};for(var t in z)if(z.hasOwnProperty(t)){var h=z[t];this[t]=e[t]!==void 0?h.processor?h.processor(e[t]):e[t]:O(h)}}reportNonstrict(e,t,h){var E=this.strict;if(typeof E=="function"&&(E=E(e,t,h)),!(!E||E==="ignore")){if(E===!0||E==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),h);E==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+E+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,h){var E=this.strict;if(typeof E=="function")try{E=E(e,t,h)}catch(G){E="error"}return!E||E==="ignore"?!1:E===!0||E==="error"?!0:E==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+e+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+E+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var t=I.protocolFromUrl(e.url);if(t==null)return!1;e.protocol=t}var h=typeof this.trust=="function"?this.trust(e):this.trust;return!!h}}class oe{constructor(e,t,h){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=h}sup(){return se[Se[this.id]]}sub(){return se[T[this.id]]}fracNum(){return se[P[this.id]]}fracDen(){return se[nt[this.id]]}cramp(){return se[de[this.id]]}text(){return se[ce[this.id]]}isTight(){return this.size>=2}}var J=0,te=1,Ee=2,Pe=3,et=4,ke=5,xe=6,Ce=7,se=[new oe(J,0,!1),new oe(te,0,!0),new oe(Ee,1,!1),new oe(Pe,1,!0),new oe(et,2,!1),new oe(ke,2,!0),new oe(xe,3,!1),new oe(Ce,3,!0)],Se=[et,ke,et,ke,xe,Ce,xe,Ce],T=[ke,ke,ke,ke,Ce,Ce,Ce,Ce],P=[Ee,Pe,et,ke,xe,Ce,xe,Ce],nt=[Pe,Pe,ke,ke,Ce,Ce,Ce,Ce],de=[te,te,Pe,Pe,ke,ke,Ce,Ce],ce=[J,te,Ee,Pe,Ee,Pe,Ee,Pe],y={DISPLAY:se[J],TEXT:se[Ee],SCRIPT:se[et],SCRIPTSCRIPT:se[xe]},K=[{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]]}];function R(u){for(var e=0;e<K.length;e++)for(var t=K[e],h=0;h<t.blocks.length;h++){var E=t.blocks[h];if(u>=E[0]&&u<=E[1])return t.name}return null}var S=[];K.forEach(u=>u.blocks.forEach(e=>S.push(...e)));function X(u){for(var e=0;e<S.length;e+=2)if(u>=S[e]&&u<=S[e+1])return!0;return!1}var He=80,pe=function(e,t){return"M95,"+(622+e+t)+`
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
c69,-144,104.5,-217.7,106.5,-221
l`+e/2.075+" -"+e+`
c5.3,-9.3,12,-14,20,-14
H400000v`+(40+e)+`H845.2724
s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
M`+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},Ze=function(e,t){return"M263,"+(601+e+t)+`c0.7,0,18,39.7,52,119
c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
c340,-704.7,510.7,-1060.3,512,-1067
l`+e/2.084+" -"+e+`
c4.7,-7.3,11,-11,19,-11
H40000v`+(40+e)+`H1012.3
s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ot=function(e,t){return"M983 "+(10+e+t)+`
l`+e/3.13+" -"+e+`
c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+`
H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
c53.7,-170.3,84.5,-266.8,92.5,-289.5z
M`+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},ht=function(e,t){return"M424,"+(2398+e+t)+`
c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000
v`+(40+e)+`H1014.6
s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+t+`
h400000v`+(40+e)+"h-400000z"},he=function(e,t){return"M473,"+(2713+e+t)+`
c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+`
c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7
s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
606zM`+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},Le=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},St=function(e,t,h){var E=h-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
H742v`+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
h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
219 661 l218 661zM702 `+t+"H400000v"+(40+e)+"H742z"},We=function(e,t,h){t=1e3*t;var E="";switch(e){case"sqrtMain":E=pe(t,He);break;case"sqrtSize1":E=Ze(t,He);break;case"sqrtSize2":E=ot(t,He);break;case"sqrtSize3":E=ht(t,He);break;case"sqrtSize4":E=he(t,He);break;case"sqrtTall":E=St(t,He,h)}return E},Re=function(e,t){switch(e){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},M={doubleleftarrow:`M262 157
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
435 0h399565z`,leftgroupunder:`M400000 262
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},_e=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84
H403z 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
M347 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
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-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
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z
M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
c-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
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z
MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z
M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z
M347 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
c-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,
-36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
949.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
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
-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,
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+`
c-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
c-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
c0,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
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
-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.")}};class ge{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 this.classes.includes(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(){var e=t=>t.toText();return this.children.map(e).join("")}}var ue={"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]}},fe={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]},me={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function Ie(u,e){ue[u]=e}function ye(u,e,t){if(!ue[e])throw new Error("Font metrics not found for font: "+e+".");var h=u.charCodeAt(0),E=ue[e][h];if(!E&&u[0]in me&&(h=me[u[0]].charCodeAt(0),E=ue[e][h]),!E&&t==="text"&&X(h)&&(E=ue[e][77]),E)return{depth:E[0],height:E[1],italic:E[2],skew:E[3],width:E[4]}}var Be={};function Ye(u){var e;if(u>=5?e=0:u>=3?e=1:e=2,!Be[e]){var t=Be[e]={cssEmPerMu:fe.quad[e]/18};for(var h in fe)fe.hasOwnProperty(h)&&(t[h]=fe[h][e])}return Be[e]}var xt=[[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]],$t=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Xt=function(e,t){return t.size<2?e:xt[e-1][t.size-1]};class Ut{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||Ut.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=$t[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 h in e)e.hasOwnProperty(h)&&(t[h]=e[h]);return new Ut(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Xt(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:$t[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Xt(Ut.BASESIZE,e);return this.size===t&&this.textSize===Ut.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!==Ut.BASESIZE?["sizing","reset-size"+this.size,"size"+Ut.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Ye(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ut.BASESIZE=6;var jt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},at={ex:!0,em:!0,mu:!0},yt=function(e){return typeof e!="string"&&(e=e.unit),e in jt||e in at||e==="ex"},pt=function(e,t){var h;if(e.unit in jt)h=jt[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")h=t.fontMetrics().cssEmPerMu;else{var E;if(t.style.isTight()?E=t.havingStyle(t.style.text()):E=t,e.unit==="ex")h=E.fontMetrics().xHeight;else if(e.unit==="em")h=E.fontMetrics().quad;else throw new q("Invalid unit: '"+e.unit+"'");E!==t&&(h*=E.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*h,t.maxSize)},dt=function(e){return+e.toFixed(4)+"em"},er=function(e){return e.filter(t=>t).join(" ")},or=function(e,t,h){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=h||{},t){t.style.isTight()&&this.classes.push("mtight");var E=t.getColor();E&&(this.style.color=E)}},hr=function(e){var t=document.createElement(e);t.className=er(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(t.style[h]=this.style[h]);for(var E in this.attributes)this.attributes.hasOwnProperty(E)&&t.setAttribute(E,this.attributes[E]);for(var G=0;G<this.children.length;G++)t.appendChild(this.children[G].toNode());return t},Er=/[\s"'>/=\x00-\x1f]/,qr=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+I.escape(er(this.classes))+'"');var h="";for(var E in this.style)this.style.hasOwnProperty(E)&&(h+=I.hyphenate(E)+":"+this.style[E]+";");h&&(t+=' style="'+I.escape(h)+'"');for(var G in this.attributes)if(this.attributes.hasOwnProperty(G)){if(Er.test(G))throw new q("Invalid attribute name '"+G+"'");t+=" "+G+'="'+I.escape(this.attributes[G])+'"'}t+=">";for(var be=0;be<this.children.length;be++)t+=this.children[be].toMarkup();return t+="</"+e+">",t};class Pr{constructor(e,t,h,E){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,or.call(this,e,h,E),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return hr.call(this,"span")}toMarkup(){return qr.call(this,"span")}}class w{constructor(e,t,h,E){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,or.call(this,t,E),this.children=h||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return hr.call(this,"a")}toMarkup(){return qr.call(this,"a")}}class H{constructor(e,t,h){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=h}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+I.escape(this.src)+'"'+(' alt="'+I.escape(this.alt)+'"'),t="";for(var h in this.style)this.style.hasOwnProperty(h)&&(t+=I.hyphenate(h)+":"+this.style[h]+";");return t&&(e+=' style="'+I.escape(t)+'"'),e+="'/>",e}}var wt={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class ae{constructor(e,t,h,E,G,be,Ve,qe){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=h||0,this.italic=E||0,this.skew=G||0,this.width=be||0,this.classes=Ve||[],this.style=qe||{},this.maxFontSize=0;var Wt=R(this.text.charCodeAt(0));Wt&&this.classes.push(Wt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=wt[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=dt(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=er(this.classes));for(var h in this.style)this.style.hasOwnProperty(h)&&(t=t||document.createElement("span"),t.style[h]=this.style[h]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=I.escape(er(this.classes)),t+='"');var h="";this.italic>0&&(h+="margin-right:"+this.italic+"em;");for(var E in this.style)this.style.hasOwnProperty(E)&&(h+=I.hyphenate(E)+":"+this.style[E]+";");h&&(e=!0,t+=' style="'+I.escape(h)+'"');var G=I.escape(this.text);return e?(t+=">",t+=G,t+="</span>",t):G}}class Te{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&t.setAttribute(h,this.attributes[h]);for(var E=0;E<this.children.length;E++)t.appendChild(this.children[E].toNode());return t}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+'="'+I.escape(this.attributes[t])+'"');e+=">";for(var h=0;h<this.children.length;h++)e+=this.children[h].toMarkup();return e+="</svg>",e}}class Fr{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",M[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+I.escape(this.alternate)+'"/>':'<path d="'+I.escape(M[this.pathName])+'"/>'}}class Mr{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&t.setAttribute(h,this.attributes[h]);return t}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+I.escape(this.attributes[t])+'"');return e+="/>",e}}function bn(u){if(u instanceof ae)return u;throw new Error("Expected symbolNode but got "+String(u)+".")}function Dn(u){if(u instanceof Pr)return u;throw new Error("Expected span<HtmlDomNode> but got "+String(u)+".")}var Rt={bin:1,close:1,inner:1,open:1,punct:1,rel:1},xr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},sr={math:{},text:{}};function C(u,e,t,h,E,G){sr[u][E]={font:e,group:t,replace:h},G&&h&&(sr[u][h]=sr[u][E])}var v="math",Vt="text",$="main",Oe="ams",ln="accent-token",Wr="bin",Ht="close",Gt="inner",br="mathord",Kr="op-token",an="open",An="punct",Ct="rel",Lt="spacing",Ue="textord";C(v,$,Ct,"\u2261","\\equiv",!0),C(v,$,Ct,"\u227A","\\prec",!0),C(v,$,Ct,"\u227B","\\succ",!0),C(v,$,Ct,"\u223C","\\sim",!0),C(v,$,Ct,"\u22A5","\\perp"),C(v,$,Ct,"\u2AAF","\\preceq",!0),C(v,$,Ct,"\u2AB0","\\succeq",!0),C(v,$,Ct,"\u2243","\\simeq",!0),C(v,$,Ct,"\u2223","\\mid",!0),C(v,$,Ct,"\u226A","\\ll",!0),C(v,$,Ct,"\u226B","\\gg",!0),C(v,$,Ct,"\u224D","\\asymp",!0),C(v,$,Ct,"\u2225","\\parallel"),C(v,$,Ct,"\u22C8","\\bowtie",!0),C(v,$,Ct,"\u2323","\\smile",!0),C(v,$,Ct,"\u2291","\\sqsubseteq",!0),C(v,$,Ct,"\u2292","\\sqsupseteq",!0),C(v,$,Ct,"\u2250","\\doteq",!0),C(v,$,Ct,"\u2322","\\frown",!0),C(v,$,Ct,"\u220B","\\ni",!0),C(v,$,Ct,"\u221D","\\propto",!0),C(v,$,Ct,"\u22A2","\\vdash",!0),C(v,$,Ct,"\u22A3","\\dashv",!0),C(v,$,Ct,"\u220B","\\owns"),C(v,$,An,".","\\ldotp"),C(v,$,An,"\u22C5","\\cdotp"),C(v,$,Ue,"#","\\#"),C(Vt,$,Ue,"#","\\#"),C(v,$,Ue,"&","\\&"),C(Vt,$,Ue,"&","\\&"),C(v,$,Ue,"\u2135","\\aleph",!0),C(v,$,Ue,"\u2200","\\forall",!0),C(v,$,Ue,"\u210F","\\hbar",!0),C(v,$,Ue,"\u2203","\\exists",!0),C(v,$,Ue,"\u2207","\\nabla",!0),C(v,$,Ue,"\u266D","\\flat",!0),C(v,$,Ue,"\u2113","\\ell",!0),C(v,$,Ue,"\u266E","\\natural",!0),C(v,$,Ue,"\u2663","\\clubsuit",!0),C(v,$,Ue,"\u2118","\\wp",!0),C(v,$,Ue,"\u266F","\\sharp",!0),C(v,$,Ue,"\u2662","\\diamondsuit",!0),C(v,$,Ue,"\u211C","\\Re",!0),C(v,$,Ue,"\u2661","\\heartsuit",!0),C(v,$,Ue,"\u2111","\\Im",!0),C(v,$,Ue,"\u2660","\\spadesuit",!0),C(v,$,Ue,"\xA7","\\S",!0),C(Vt,$,Ue,"\xA7","\\S"),C(v,$,Ue,"\xB6","\\P",!0),C(Vt,$,Ue,"\xB6","\\P"),C(v,$,Ue,"\u2020","\\dag"),C(Vt,$,Ue,"\u2020","\\dag"),C(Vt,$,Ue,"\u2020","\\textdagger"),C(v,$,Ue,"\u2021","\\ddag"),C(Vt,$,Ue,"\u2021","\\ddag"),C(Vt,$,Ue,"\u2021","\\textdaggerdbl"),C(v,$,Ht,"\u23B1","\\rmoustache",!0),C(v,$,an,"\u23B0","\\lmoustache",!0),C(v,$,Ht,"\u27EF","\\rgroup",!0),C(v,$,an,"\u27EE","\\lgroup",!0),C(v,$,Wr,"\u2213","\\mp",!0),C(v,$,Wr,"\u2296","\\ominus",!0),C(v,$,Wr,"\u228E","\\uplus",!0),C(v,$,Wr,"\u2293","\\sqcap",!0),C(v,$,Wr,"\u2217","\\ast"),C(v,$,Wr,"\u2294","\\sqcup",!0),C(v,$,Wr,"\u25EF","\\bigcirc",!0),C(v,$,Wr,"\u2219","\\bullet",!0),C(v,$,Wr,"\u2021","\\ddagger"),C(v,$,Wr,"\u2240","\\wr",!0),C(v,$,Wr,"\u2A3F","\\amalg"),C(v,$,Wr,"&","\\And"),C(v,$,Ct,"\u27F5","\\longleftarrow",!0),C(v,$,Ct,"\u21D0","\\Leftarrow",!0),C(v,$,Ct,"\u27F8","\\Longleftarrow",!0),C(v,$,Ct,"\u27F6","\\longrightarrow",!0),C(v,$,Ct,"\u21D2","\\Rightarrow",!0),C(v,$,Ct,"\u27F9","\\Longrightarrow",!0),C(v,$,Ct,"\u2194","\\leftrightarrow",!0),C(v,$,Ct,"\u27F7","\\longleftrightarrow",!0),C(v,$,Ct,"\u21D4","\\Leftrightarrow",!0),C(v,$,Ct,"\u27FA","\\Longleftrightarrow",!0),C(v,$,Ct,"\u21A6","\\mapsto",!0),C(v,$,Ct,"\u27FC","\\longmapsto",!0),C(v,$,Ct,"\u2197","\\nearrow",!0),C(v,$,Ct,"\u21A9","\\hookleftarrow",!0),C(v,$,Ct,"\u21AA","\\hookrightarrow",!0),C(v,$,Ct,"\u2198","\\searrow",!0),C(v,$,Ct,"\u21BC","\\leftharpoonup",!0),C(v,$,Ct,"\u21C0","\\rightharpoonup",!0),C(v,$,Ct,"\u2199","\\swarrow",!0),C(v,$,Ct,"\u21BD","\\leftharpoondown",!0),C(v,$,Ct,"\u21C1","\\rightharpoondown",!0),C(v,$,Ct,"\u2196","\\nwarrow",!0),C(v,$,Ct,"\u21CC","\\rightleftharpoons",!0),C(v,Oe,Ct,"\u226E","\\nless",!0),C(v,Oe,Ct,"\uE010","\\@nleqslant"),C(v,Oe,Ct,"\uE011","\\@nleqq"),C(v,Oe,Ct,"\u2A87","\\lneq",!0),C(v,Oe,Ct,"\u2268","\\lneqq",!0),C(v,Oe,Ct,"\uE00C","\\@lvertneqq"),C(v,Oe,Ct,"\u22E6","\\lnsim",!0),C(v,Oe,Ct,"\u2A89","\\lnapprox",!0),C(v,Oe,Ct,"\u2280","\\nprec",!0),C(v,Oe,Ct,"\u22E0","\\npreceq",!0),C(v,Oe,Ct,"\u22E8","\\precnsim",!0),C(v,Oe,Ct,"\u2AB9","\\precnapprox",!0),C(v,Oe,Ct,"\u2241","\\nsim",!0),C(v,Oe,Ct,"\uE006","\\@nshortmid"),C(v,Oe,Ct,"\u2224","\\nmid",!0),C(v,Oe,Ct,"\u22AC","\\nvdash",!0),C(v,Oe,Ct,"\u22AD","\\nvDash",!0),C(v,Oe,Ct,"\u22EA","\\ntriangleleft"),C(v,Oe,Ct,"\u22EC","\\ntrianglelefteq",!0),C(v,Oe,Ct,"\u228A","\\subsetneq",!0),C(v,Oe,Ct,"\uE01A","\\@varsubsetneq"),C(v,Oe,Ct,"\u2ACB","\\subsetneqq",!0),C(v,Oe,Ct,"\uE017","\\@varsubsetneqq"),C(v,Oe,Ct,"\u226F","\\ngtr",!0),C(v,Oe,Ct,"\uE00F","\\@ngeqslant"),C(v,Oe,Ct,"\uE00E","\\@ngeqq"),C(v,Oe,Ct,"\u2A88","\\gneq",!0),C(v,Oe,Ct,"\u2269","\\gneqq",!0),C(v,Oe,Ct,"\uE00D","\\@gvertneqq"),C(v,Oe,Ct,"\u22E7","\\gnsim",!0),C(v,Oe,Ct,"\u2A8A","\\gnapprox",!0),C(v,Oe,Ct,"\u2281","\\nsucc",!0),C(v,Oe,Ct,"\u22E1","\\nsucceq",!0),C(v,Oe,Ct,"\u22E9","\\succnsim",!0),C(v,Oe,Ct,"\u2ABA","\\succnapprox",!0),C(v,Oe,Ct,"\u2246","\\ncong",!0),C(v,Oe,Ct,"\uE007","\\@nshortparallel"),C(v,Oe,Ct,"\u2226","\\nparallel",!0),C(v,Oe,Ct,"\u22AF","\\nVDash",!0),C(v,Oe,Ct,"\u22EB","\\ntriangleright"),C(v,Oe,Ct,"\u22ED","\\ntrianglerighteq",!0),C(v,Oe,Ct,"\uE018","\\@nsupseteqq"),C(v,Oe,Ct,"\u228B","\\supsetneq",!0),C(v,Oe,Ct,"\uE01B","\\@varsupsetneq"),C(v,Oe,Ct,"\u2ACC","\\supsetneqq",!0),C(v,Oe,Ct,"\uE019","\\@varsupsetneqq"),C(v,Oe,Ct,"\u22AE","\\nVdash",!0),C(v,Oe,Ct,"\u2AB5","\\precneqq",!0),C(v,Oe,Ct,"\u2AB6","\\succneqq",!0),C(v,Oe,Ct,"\uE016","\\@nsubseteqq"),C(v,Oe,Wr,"\u22B4","\\unlhd"),C(v,Oe,Wr,"\u22B5","\\unrhd"),C(v,Oe,Ct,"\u219A","\\nleftarrow",!0),C(v,Oe,Ct,"\u219B","\\nrightarrow",!0),C(v,Oe,Ct,"\u21CD","\\nLeftarrow",!0),C(v,Oe,Ct,"\u21CF","\\nRightarrow",!0),C(v,Oe,Ct,"\u21AE","\\nleftrightarrow",!0),C(v,Oe,Ct,"\u21CE","\\nLeftrightarrow",!0),C(v,Oe,Ct,"\u25B3","\\vartriangle"),C(v,Oe,Ue,"\u210F","\\hslash"),C(v,Oe,Ue,"\u25BD","\\triangledown"),C(v,Oe,Ue,"\u25CA","\\lozenge"),C(v,Oe,Ue,"\u24C8","\\circledS"),C(v,Oe,Ue,"\xAE","\\circledR"),C(Vt,Oe,Ue,"\xAE","\\circledR"),C(v,Oe,Ue,"\u2221","\\measuredangle",!0),C(v,Oe,Ue,"\u2204","\\nexists"),C(v,Oe,Ue,"\u2127","\\mho"),C(v,Oe,Ue,"\u2132","\\Finv",!0),C(v,Oe,Ue,"\u2141","\\Game",!0),C(v,Oe,Ue,"\u2035","\\backprime"),C(v,Oe,Ue,"\u25B2","\\blacktriangle"),C(v,Oe,Ue,"\u25BC","\\blacktriangledown"),C(v,Oe,Ue,"\u25A0","\\blacksquare"),C(v,Oe,Ue,"\u29EB","\\blacklozenge"),C(v,Oe,Ue,"\u2605","\\bigstar"),C(v,Oe,Ue,"\u2222","\\sphericalangle",!0),C(v,Oe,Ue,"\u2201","\\complement",!0),C(v,Oe,Ue,"\xF0","\\eth",!0),C(Vt,$,Ue,"\xF0","\xF0"),C(v,Oe,Ue,"\u2571","\\diagup"),C(v,Oe,Ue,"\u2572","\\diagdown"),C(v,Oe,Ue,"\u25A1","\\square"),C(v,Oe,Ue,"\u25A1","\\Box"),C(v,Oe,Ue,"\u25CA","\\Diamond"),C(v,Oe,Ue,"\xA5","\\yen",!0),C(Vt,Oe,Ue,"\xA5","\\yen",!0),C(v,Oe,Ue,"\u2713","\\checkmark",!0),C(Vt,Oe,Ue,"\u2713","\\checkmark"),C(v,Oe,Ue,"\u2136","\\beth",!0),C(v,Oe,Ue,"\u2138","\\daleth",!0),C(v,Oe,Ue,"\u2137","\\gimel",!0),C(v,Oe,Ue,"\u03DD","\\digamma",!0),C(v,Oe,Ue,"\u03F0","\\varkappa"),C(v,Oe,an,"\u250C","\\@ulcorner",!0),C(v,Oe,Ht,"\u2510","\\@urcorner",!0),C(v,Oe,an,"\u2514","\\@llcorner",!0),C(v,Oe,Ht,"\u2518","\\@lrcorner",!0),C(v,Oe,Ct,"\u2266","\\leqq",!0),C(v,Oe,Ct,"\u2A7D","\\leqslant",!0),C(v,Oe,Ct,"\u2A95","\\eqslantless",!0),C(v,Oe,Ct,"\u2272","\\lesssim",!0),C(v,Oe,Ct,"\u2A85","\\lessapprox",!0),C(v,Oe,Ct,"\u224A","\\approxeq",!0),C(v,Oe,Wr,"\u22D6","\\lessdot"),C(v,Oe,Ct,"\u22D8","\\lll",!0),C(v,Oe,Ct,"\u2276","\\lessgtr",!0),C(v,Oe,Ct,"\u22DA","\\lesseqgtr",!0),C(v,Oe,Ct,"\u2A8B","\\lesseqqgtr",!0),C(v,Oe,Ct,"\u2251","\\doteqdot"),C(v,Oe,Ct,"\u2253","\\risingdotseq",!0),C(v,Oe,Ct,"\u2252","\\fallingdotseq",!0),C(v,Oe,Ct,"\u223D","\\backsim",!0),C(v,Oe,Ct,"\u22CD","\\backsimeq",!0),C(v,Oe,Ct,"\u2AC5","\\subseteqq",!0),C(v,Oe,Ct,"\u22D0","\\Subset",!0),C(v,Oe,Ct,"\u228F","\\sqsubset",!0),C(v,Oe,Ct,"\u227C","\\preccurlyeq",!0),C(v,Oe,Ct,"\u22DE","\\curlyeqprec",!0),C(v,Oe,Ct,"\u227E","\\precsim",!0),C(v,Oe,Ct,"\u2AB7","\\precapprox",!0),C(v,Oe,Ct,"\u22B2","\\vartriangleleft"),C(v,Oe,Ct,"\u22B4","\\trianglelefteq"),C(v,Oe,Ct,"\u22A8","\\vDash",!0),C(v,Oe,Ct,"\u22AA","\\Vvdash",!0),C(v,Oe,Ct,"\u2323","\\smallsmile"),C(v,Oe,Ct,"\u2322","\\smallfrown"),C(v,Oe,Ct,"\u224F","\\bumpeq",!0),C(v,Oe,Ct,"\u224E","\\Bumpeq",!0),C(v,Oe,Ct,"\u2267","\\geqq",!0),C(v,Oe,Ct,"\u2A7E","\\geqslant",!0),C(v,Oe,Ct,"\u2A96","\\eqslantgtr",!0),C(v,Oe,Ct,"\u2273","\\gtrsim",!0),C(v,Oe,Ct,"\u2A86","\\gtrapprox",!0),C(v,Oe,Wr,"\u22D7","\\gtrdot"),C(v,Oe,Ct,"\u22D9","\\ggg",!0),C(v,Oe,Ct,"\u2277","\\gtrless",!0),C(v,Oe,Ct,"\u22DB","\\gtreqless",!0),C(v,Oe,Ct,"\u2A8C","\\gtreqqless",!0),C(v,Oe,Ct,"\u2256","\\eqcirc",!0),C(v,Oe,Ct,"\u2257","\\circeq",!0),C(v,Oe,Ct,"\u225C","\\triangleq",!0),C(v,Oe,Ct,"\u223C","\\thicksim"),C(v,Oe,Ct,"\u2248","\\thickapprox"),C(v,Oe,Ct,"\u2AC6","\\supseteqq",!0),C(v,Oe,Ct,"\u22D1","\\Supset",!0),C(v,Oe,Ct,"\u2290","\\sqsupset",!0),C(v,Oe,Ct,"\u227D","\\succcurlyeq",!0),C(v,Oe,Ct,"\u22DF","\\curlyeqsucc",!0),C(v,Oe,Ct,"\u227F","\\succsim",!0),C(v,Oe,Ct,"\u2AB8","\\succapprox",!0),C(v,Oe,Ct,"\u22B3","\\vartriangleright"),C(v,Oe,Ct,"\u22B5","\\trianglerighteq"),C(v,Oe,Ct,"\u22A9","\\Vdash",!0),C(v,Oe,Ct,"\u2223","\\shortmid"),C(v,Oe,Ct,"\u2225","\\shortparallel"),C(v,Oe,Ct,"\u226C","\\between",!0),C(v,Oe,Ct,"\u22D4","\\pitchfork",!0),C(v,Oe,Ct,"\u221D","\\varpropto"),C(v,Oe,Ct,"\u25C0","\\blacktriangleleft"),C(v,Oe,Ct,"\u2234","\\therefore",!0),C(v,Oe,Ct,"\u220D","\\backepsilon"),C(v,Oe,Ct,"\u25B6","\\blacktriangleright"),C(v,Oe,Ct,"\u2235","\\because",!0),C(v,Oe,Ct,"\u22D8","\\llless"),C(v,Oe,Ct,"\u22D9","\\gggtr"),C(v,Oe,Wr,"\u22B2","\\lhd"),C(v,Oe,Wr,"\u22B3","\\rhd"),C(v,Oe,Ct,"\u2242","\\eqsim",!0),C(v,$,Ct,"\u22C8","\\Join"),C(v,Oe,Ct,"\u2251","\\Doteq",!0),C(v,Oe,Wr,"\u2214","\\dotplus",!0),C(v,Oe,Wr,"\u2216","\\smallsetminus"),C(v,Oe,Wr,"\u22D2","\\Cap",!0),C(v,Oe,Wr,"\u22D3","\\Cup",!0),C(v,Oe,Wr,"\u2A5E","\\doublebarwedge",!0),C(v,Oe,Wr,"\u229F","\\boxminus",!0),C(v,Oe,Wr,"\u229E","\\boxplus",!0),C(v,Oe,Wr,"\u22C7","\\divideontimes",!0),C(v,Oe,Wr,"\u22C9","\\ltimes",!0),C(v,Oe,Wr,"\u22CA","\\rtimes",!0),C(v,Oe,Wr,"\u22CB","\\leftthreetimes",!0),C(v,Oe,Wr,"\u22CC","\\rightthreetimes",!0),C(v,Oe,Wr,"\u22CF","\\curlywedge",!0),C(v,Oe,Wr,"\u22CE","\\curlyvee",!0),C(v,Oe,Wr,"\u229D","\\circleddash",!0),C(v,Oe,Wr,"\u229B","\\circledast",!0),C(v,Oe,Wr,"\u22C5","\\centerdot"),C(v,Oe,Wr,"\u22BA","\\intercal",!0),C(v,Oe,Wr,"\u22D2","\\doublecap"),C(v,Oe,Wr,"\u22D3","\\doublecup"),C(v,Oe,Wr,"\u22A0","\\boxtimes",!0),C(v,Oe,Ct,"\u21E2","\\dashrightarrow",!0),C(v,Oe,Ct,"\u21E0","\\dashleftarrow",!0),C(v,Oe,Ct,"\u21C7","\\leftleftarrows",!0),C(v,Oe,Ct,"\u21C6","\\leftrightarrows",!0),C(v,Oe,Ct,"\u21DA","\\Lleftarrow",!0),C(v,Oe,Ct,"\u219E","\\twoheadleftarrow",!0),C(v,Oe,Ct,"\u21A2","\\leftarrowtail",!0),C(v,Oe,Ct,"\u21AB","\\looparrowleft",!0),C(v,Oe,Ct,"\u21CB","\\leftrightharpoons",!0),C(v,Oe,Ct,"\u21B6","\\curvearrowleft",!0),C(v,Oe,Ct,"\u21BA","\\circlearrowleft",!0),C(v,Oe,Ct,"\u21B0","\\Lsh",!0),C(v,Oe,Ct,"\u21C8","\\upuparrows",!0),C(v,Oe,Ct,"\u21BF","\\upharpoonleft",!0),C(v,Oe,Ct,"\u21C3","\\downharpoonleft",!0),C(v,$,Ct,"\u22B6","\\origof",!0),C(v,$,Ct,"\u22B7","\\imageof",!0),C(v,Oe,Ct,"\u22B8","\\multimap",!0),C(v,Oe,Ct,"\u21AD","\\leftrightsquigarrow",!0),C(v,Oe,Ct,"\u21C9","\\rightrightarrows",!0),C(v,Oe,Ct,"\u21C4","\\rightleftarrows",!0),C(v,Oe,Ct,"\u21A0","\\twoheadrightarrow",!0),C(v,Oe,Ct,"\u21A3","\\rightarrowtail",!0),C(v,Oe,Ct,"\u21AC","\\looparrowright",!0),C(v,Oe,Ct,"\u21B7","\\curvearrowright",!0),C(v,Oe,Ct,"\u21BB","\\circlearrowright",!0),C(v,Oe,Ct,"\u21B1","\\Rsh",!0),C(v,Oe,Ct,"\u21CA","\\downdownarrows",!0),C(v,Oe,Ct,"\u21BE","\\upharpoonright",!0),C(v,Oe,Ct,"\u21C2","\\downharpoonright",!0),C(v,Oe,Ct,"\u21DD","\\rightsquigarrow",!0),C(v,Oe,Ct,"\u21DD","\\leadsto"),C(v,Oe,Ct,"\u21DB","\\Rrightarrow",!0),C(v,Oe,Ct,"\u21BE","\\restriction"),C(v,$,Ue,"\u2018","`"),C(v,$,Ue,"$","\\$"),C(Vt,$,Ue,"$","\\$"),C(Vt,$,Ue,"$","\\textdollar"),C(v,$,Ue,"%","\\%"),C(Vt,$,Ue,"%","\\%"),C(v,$,Ue,"_","\\_"),C(Vt,$,Ue,"_","\\_"),C(Vt,$,Ue,"_","\\textunderscore"),C(v,$,Ue,"\u2220","\\angle",!0),C(v,$,Ue,"\u221E","\\infty",!0),C(v,$,Ue,"\u2032","\\prime"),C(v,$,Ue,"\u25B3","\\triangle"),C(v,$,Ue,"\u0393","\\Gamma",!0),C(v,$,Ue,"\u0394","\\Delta",!0),C(v,$,Ue,"\u0398","\\Theta",!0),C(v,$,Ue,"\u039B","\\Lambda",!0),C(v,$,Ue,"\u039E","\\Xi",!0),C(v,$,Ue,"\u03A0","\\Pi",!0),C(v,$,Ue,"\u03A3","\\Sigma",!0),C(v,$,Ue,"\u03A5","\\Upsilon",!0),C(v,$,Ue,"\u03A6","\\Phi",!0),C(v,$,Ue,"\u03A8","\\Psi",!0),C(v,$,Ue,"\u03A9","\\Omega",!0),C(v,$,Ue,"A","\u0391"),C(v,$,Ue,"B","\u0392"),C(v,$,Ue,"E","\u0395"),C(v,$,Ue,"Z","\u0396"),C(v,$,Ue,"H","\u0397"),C(v,$,Ue,"I","\u0399"),C(v,$,Ue,"K","\u039A"),C(v,$,Ue,"M","\u039C"),C(v,$,Ue,"N","\u039D"),C(v,$,Ue,"O","\u039F"),C(v,$,Ue,"P","\u03A1"),C(v,$,Ue,"T","\u03A4"),C(v,$,Ue,"X","\u03A7"),C(v,$,Ue,"\xAC","\\neg",!0),C(v,$,Ue,"\xAC","\\lnot"),C(v,$,Ue,"\u22A4","\\top"),C(v,$,Ue,"\u22A5","\\bot"),C(v,$,Ue,"\u2205","\\emptyset"),C(v,Oe,Ue,"\u2205","\\varnothing"),C(v,$,br,"\u03B1","\\alpha",!0),C(v,$,br,"\u03B2","\\beta",!0),C(v,$,br,"\u03B3","\\gamma",!0),C(v,$,br,"\u03B4","\\delta",!0),C(v,$,br,"\u03F5","\\epsilon",!0),C(v,$,br,"\u03B6","\\zeta",!0),C(v,$,br,"\u03B7","\\eta",!0),C(v,$,br,"\u03B8","\\theta",!0),C(v,$,br,"\u03B9","\\iota",!0),C(v,$,br,"\u03BA","\\kappa",!0),C(v,$,br,"\u03BB","\\lambda",!0),C(v,$,br,"\u03BC","\\mu",!0),C(v,$,br,"\u03BD","\\nu",!0),C(v,$,br,"\u03BE","\\xi",!0),C(v,$,br,"\u03BF","\\omicron",!0),C(v,$,br,"\u03C0","\\pi",!0),C(v,$,br,"\u03C1","\\rho",!0),C(v,$,br,"\u03C3","\\sigma",!0),C(v,$,br,"\u03C4","\\tau",!0),C(v,$,br,"\u03C5","\\upsilon",!0),C(v,$,br,"\u03D5","\\phi",!0),C(v,$,br,"\u03C7","\\chi",!0),C(v,$,br,"\u03C8","\\psi",!0),C(v,$,br,"\u03C9","\\omega",!0),C(v,$,br,"\u03B5","\\varepsilon",!0),C(v,$,br,"\u03D1","\\vartheta",!0),C(v,$,br,"\u03D6","\\varpi",!0),C(v,$,br,"\u03F1","\\varrho",!0),C(v,$,br,"\u03C2","\\varsigma",!0),C(v,$,br,"\u03C6","\\varphi",!0),C(v,$,Wr,"\u2217","*",!0),C(v,$,Wr,"+","+"),C(v,$,Wr,"\u2212","-",!0),C(v,$,Wr,"\u22C5","\\cdot",!0),C(v,$,Wr,"\u2218","\\circ",!0),C(v,$,Wr,"\xF7","\\div",!0),C(v,$,Wr,"\xB1","\\pm",!0),C(v,$,Wr,"\xD7","\\times",!0),C(v,$,Wr,"\u2229","\\cap",!0),C(v,$,Wr,"\u222A","\\cup",!0),C(v,$,Wr,"\u2216","\\setminus",!0),C(v,$,Wr,"\u2227","\\land"),C(v,$,Wr,"\u2228","\\lor"),C(v,$,Wr,"\u2227","\\wedge",!0),C(v,$,Wr,"\u2228","\\vee",!0),C(v,$,Ue,"\u221A","\\surd"),C(v,$,an,"\u27E8","\\langle",!0),C(v,$,an,"\u2223","\\lvert"),C(v,$,an,"\u2225","\\lVert"),C(v,$,Ht,"?","?"),C(v,$,Ht,"!","!"),C(v,$,Ht,"\u27E9","\\rangle",!0),C(v,$,Ht,"\u2223","\\rvert"),C(v,$,Ht,"\u2225","\\rVert"),C(v,$,Ct,"=","="),C(v,$,Ct,":",":"),C(v,$,Ct,"\u2248","\\approx",!0),C(v,$,Ct,"\u2245","\\cong",!0),C(v,$,Ct,"\u2265","\\ge"),C(v,$,Ct,"\u2265","\\geq",!0),C(v,$,Ct,"\u2190","\\gets"),C(v,$,Ct,">","\\gt",!0),C(v,$,Ct,"\u2208","\\in",!0),C(v,$,Ct,"\uE020","\\@not"),C(v,$,Ct,"\u2282","\\subset",!0),C(v,$,Ct,"\u2283","\\supset",!0),C(v,$,Ct,"\u2286","\\subseteq",!0),C(v,$,Ct,"\u2287","\\supseteq",!0),C(v,Oe,Ct,"\u2288","\\nsubseteq",!0),C(v,Oe,Ct,"\u2289","\\nsupseteq",!0),C(v,$,Ct,"\u22A8","\\models"),C(v,$,Ct,"\u2190","\\leftarrow",!0),C(v,$,Ct,"\u2264","\\le"),C(v,$,Ct,"\u2264","\\leq",!0),C(v,$,Ct,"<","\\lt",!0),C(v,$,Ct,"\u2192","\\rightarrow",!0),C(v,$,Ct,"\u2192","\\to"),C(v,Oe,Ct,"\u2271","\\ngeq",!0),C(v,Oe,Ct,"\u2270","\\nleq",!0),C(v,$,Lt,"\xA0","\\ "),C(v,$,Lt,"\xA0","\\space"),C(v,$,Lt,"\xA0","\\nobreakspace"),C(Vt,$,Lt,"\xA0","\\ "),C(Vt,$,Lt,"\xA0"," "),C(Vt,$,Lt,"\xA0","\\space"),C(Vt,$,Lt,"\xA0","\\nobreakspace"),C(v,$,Lt,null,"\\nobreak"),C(v,$,Lt,null,"\\allowbreak"),C(v,$,An,",",","),C(v,$,An,";",";"),C(v,Oe,Wr,"\u22BC","\\barwedge",!0),C(v,Oe,Wr,"\u22BB","\\veebar",!0),C(v,$,Wr,"\u2299","\\odot",!0),C(v,$,Wr,"\u2295","\\oplus",!0),C(v,$,Wr,"\u2297","\\otimes",!0),C(v,$,Ue,"\u2202","\\partial",!0),C(v,$,Wr,"\u2298","\\oslash",!0),C(v,Oe,Wr,"\u229A","\\circledcirc",!0),C(v,Oe,Wr,"\u22A1","\\boxdot",!0),C(v,$,Wr,"\u25B3","\\bigtriangleup"),C(v,$,Wr,"\u25BD","\\bigtriangledown"),C(v,$,Wr,"\u2020","\\dagger"),C(v,$,Wr,"\u22C4","\\diamond"),C(v,$,Wr,"\u22C6","\\star"),C(v,$,Wr,"\u25C3","\\triangleleft"),C(v,$,Wr,"\u25B9","\\triangleright"),C(v,$,an,"{","\\{"),C(Vt,$,Ue,"{","\\{"),C(Vt,$,Ue,"{","\\textbraceleft"),C(v,$,Ht,"}","\\}"),C(Vt,$,Ue,"}","\\}"),C(Vt,$,Ue,"}","\\textbraceright"),C(v,$,an,"{","\\lbrace"),C(v,$,Ht,"}","\\rbrace"),C(v,$,an,"[","\\lbrack",!0),C(Vt,$,Ue,"[","\\lbrack",!0),C(v,$,Ht,"]","\\rbrack",!0),C(Vt,$,Ue,"]","\\rbrack",!0),C(v,$,an,"(","\\lparen",!0),C(v,$,Ht,")","\\rparen",!0),C(Vt,$,Ue,"<","\\textless",!0),C(Vt,$,Ue,">","\\textgreater",!0),C(v,$,an,"\u230A","\\lfloor",!0),C(v,$,Ht,"\u230B","\\rfloor",!0),C(v,$,an,"\u2308","\\lceil",!0),C(v,$,Ht,"\u2309","\\rceil",!0),C(v,$,Ue,"\\","\\backslash"),C(v,$,Ue,"\u2223","|"),C(v,$,Ue,"\u2223","\\vert"),C(Vt,$,Ue,"|","\\textbar",!0),C(v,$,Ue,"\u2225","\\|"),C(v,$,Ue,"\u2225","\\Vert"),C(Vt,$,Ue,"\u2225","\\textbardbl"),C(Vt,$,Ue,"~","\\textasciitilde"),C(Vt,$,Ue,"\\","\\textbackslash"),C(Vt,$,Ue,"^","\\textasciicircum"),C(v,$,Ct,"\u2191","\\uparrow",!0),C(v,$,Ct,"\u21D1","\\Uparrow",!0),C(v,$,Ct,"\u2193","\\downarrow",!0),C(v,$,Ct,"\u21D3","\\Downarrow",!0),C(v,$,Ct,"\u2195","\\updownarrow",!0),C(v,$,Ct,"\u21D5","\\Updownarrow",!0),C(v,$,Kr,"\u2210","\\coprod"),C(v,$,Kr,"\u22C1","\\bigvee"),C(v,$,Kr,"\u22C0","\\bigwedge"),C(v,$,Kr,"\u2A04","\\biguplus"),C(v,$,Kr,"\u22C2","\\bigcap"),C(v,$,Kr,"\u22C3","\\bigcup"),C(v,$,Kr,"\u222B","\\int"),C(v,$,Kr,"\u222B","\\intop"),C(v,$,Kr,"\u222C","\\iint"),C(v,$,Kr,"\u222D","\\iiint"),C(v,$,Kr,"\u220F","\\prod"),C(v,$,Kr,"\u2211","\\sum"),C(v,$,Kr,"\u2A02","\\bigotimes"),C(v,$,Kr,"\u2A01","\\bigoplus"),C(v,$,Kr,"\u2A00","\\bigodot"),C(v,$,Kr,"\u222E","\\oint"),C(v,$,Kr,"\u222F","\\oiint"),C(v,$,Kr,"\u2230","\\oiiint"),C(v,$,Kr,"\u2A06","\\bigsqcup"),C(v,$,Kr,"\u222B","\\smallint"),C(Vt,$,Gt,"\u2026","\\textellipsis"),C(v,$,Gt,"\u2026","\\mathellipsis"),C(Vt,$,Gt,"\u2026","\\ldots",!0),C(v,$,Gt,"\u2026","\\ldots",!0),C(v,$,Gt,"\u22EF","\\@cdots",!0),C(v,$,Gt,"\u22F1","\\ddots",!0),C(v,$,Ue,"\u22EE","\\varvdots"),C(Vt,$,Ue,"\u22EE","\\varvdots"),C(v,$,ln,"\u02CA","\\acute"),C(v,$,ln,"\u02CB","\\grave"),C(v,$,ln,"\xA8","\\ddot"),C(v,$,ln,"~","\\tilde"),C(v,$,ln,"\u02C9","\\bar"),C(v,$,ln,"\u02D8","\\breve"),C(v,$,ln,"\u02C7","\\check"),C(v,$,ln,"^","\\hat"),C(v,$,ln,"\u20D7","\\vec"),C(v,$,ln,"\u02D9","\\dot"),C(v,$,ln,"\u02DA","\\mathring"),C(v,$,br,"\uE131","\\@imath"),C(v,$,br,"\uE237","\\@jmath"),C(v,$,Ue,"\u0131","\u0131"),C(v,$,Ue,"\u0237","\u0237"),C(Vt,$,Ue,"\u0131","\\i",!0),C(Vt,$,Ue,"\u0237","\\j",!0),C(Vt,$,Ue,"\xDF","\\ss",!0),C(Vt,$,Ue,"\xE6","\\ae",!0),C(Vt,$,Ue,"\u0153","\\oe",!0),C(Vt,$,Ue,"\xF8","\\o",!0),C(Vt,$,Ue,"\xC6","\\AE",!0),C(Vt,$,Ue,"\u0152","\\OE",!0),C(Vt,$,Ue,"\xD8","\\O",!0),C(Vt,$,ln,"\u02CA","\\'"),C(Vt,$,ln,"\u02CB","\\`"),C(Vt,$,ln,"\u02C6","\\^"),C(Vt,$,ln,"\u02DC","\\~"),C(Vt,$,ln,"\u02C9","\\="),C(Vt,$,ln,"\u02D8","\\u"),C(Vt,$,ln,"\u02D9","\\."),C(Vt,$,ln,"\xB8","\\c"),C(Vt,$,ln,"\u02DA","\\r"),C(Vt,$,ln,"\u02C7","\\v"),C(Vt,$,ln,"\xA8",'\\"'),C(Vt,$,ln,"\u02DD","\\H"),C(Vt,$,ln,"\u25EF","\\textcircled");var jr={"--":!0,"---":!0,"``":!0,"''":!0};C(Vt,$,Ue,"\u2013","--",!0),C(Vt,$,Ue,"\u2013","\\textendash"),C(Vt,$,Ue,"\u2014","---",!0),C(Vt,$,Ue,"\u2014","\\textemdash"),C(Vt,$,Ue,"\u2018","`",!0),C(Vt,$,Ue,"\u2018","\\textquoteleft"),C(Vt,$,Ue,"\u2019","'",!0),C(Vt,$,Ue,"\u2019","\\textquoteright"),C(Vt,$,Ue,"\u201C","``",!0),C(Vt,$,Ue,"\u201C","\\textquotedblleft"),C(Vt,$,Ue,"\u201D","''",!0),C(Vt,$,Ue,"\u201D","\\textquotedblright"),C(v,$,Ue,"\xB0","\\degree",!0),C(Vt,$,Ue,"\xB0","\\degree"),C(Vt,$,Ue,"\xB0","\\textdegree",!0),C(v,$,Ue,"\xA3","\\pounds"),C(v,$,Ue,"\xA3","\\mathsterling",!0),C(Vt,$,Ue,"\xA3","\\pounds"),C(Vt,$,Ue,"\xA3","\\textsterling",!0),C(v,Oe,Ue,"\u2720","\\maltese"),C(Vt,Oe,Ue,"\u2720","\\maltese");for(var $r='0123456789/@."',Gr=0;Gr<$r.length;Gr++){var Cn=$r.charAt(Gr);C(v,$,Ue,Cn,Cn)}for(var na='0123456789!@*()-=+";:?/.,',mt=0;mt<na.length;mt++){var rr=na.charAt(mt);C(Vt,$,Ue,rr,rr)}for(var cr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ir=0;ir<cr.length;ir++){var Nr=cr.charAt(ir);C(v,$,br,Nr,Nr),C(Vt,$,Ue,Nr,Nr)}C(v,Oe,Ue,"C","\u2102"),C(Vt,Oe,Ue,"C","\u2102"),C(v,Oe,Ue,"H","\u210D"),C(Vt,Oe,Ue,"H","\u210D"),C(v,Oe,Ue,"N","\u2115"),C(Vt,Oe,Ue,"N","\u2115"),C(v,Oe,Ue,"P","\u2119"),C(Vt,Oe,Ue,"P","\u2119"),C(v,Oe,Ue,"Q","\u211A"),C(Vt,Oe,Ue,"Q","\u211A"),C(v,Oe,Ue,"R","\u211D"),C(Vt,Oe,Ue,"R","\u211D"),C(v,Oe,Ue,"Z","\u2124"),C(Vt,Oe,Ue,"Z","\u2124"),C(v,$,br,"h","\u210E"),C(Vt,$,br,"h","\u210E");for(var Dr="",sn=0;sn<cr.length;sn++){var Br=cr.charAt(sn);Dr=String.fromCharCode(55349,56320+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56372+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56424+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56580+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56684+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56736+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56788+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56840+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56944+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),sn<26&&(Dr=String.fromCharCode(55349,56632+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr),Dr=String.fromCharCode(55349,56476+sn),C(v,$,br,Br,Dr),C(Vt,$,Ue,Br,Dr))}Dr="\u{1D55C}",C(v,$,br,"k",Dr),C(Vt,$,Ue,"k",Dr);for(var pn=0;pn<10;pn++){var on=pn.toString();Dr=String.fromCharCode(55349,57294+pn),C(v,$,br,on,Dr),C(Vt,$,Ue,on,Dr),Dr=String.fromCharCode(55349,57314+pn),C(v,$,br,on,Dr),C(Vt,$,Ue,on,Dr),Dr=String.fromCharCode(55349,57324+pn),C(v,$,br,on,Dr),C(Vt,$,Ue,on,Dr),Dr=String.fromCharCode(55349,57334+pn),C(v,$,br,on,Dr),C(Vt,$,Ue,on,Dr)}for(var Mn="\xD0\xDE\xFE",jn=0;jn<Mn.length;jn++){var xn=Mn.charAt(jn);C(v,$,br,xn,xn),C(Vt,$,Ue,xn,xn)}var zn=[["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"]],ua=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],nn=function(e,t){var h=e.charCodeAt(0),E=e.charCodeAt(1),G=(h-55296)*1024+(E-56320)+65536,be=t==="math"?0:1;if(119808<=G&&G<120484){var Ve=Math.floor((G-119808)/26);return[zn[Ve][2],zn[Ve][be]]}else if(120782<=G&&G<=120831){var qe=Math.floor((G-120782)/10);return[ua[qe][2],ua[qe][be]]}else{if(G===120485||G===120486)return[zn[0][2],zn[0][be]];if(120486<G&&G<120782)return["",""];throw new q("Unsupported character: "+e)}},$n=function(e,t,h){return sr[h][e]&&sr[h][e].replace&&(e=sr[h][e].replace),{value:e,metrics:ye(e,t,h)}},kn=function(e,t,h,E,G){var be=$n(e,t,h),Ve=be.metrics;e=be.value;var qe;if(Ve){var Wt=Ve.italic;(h==="text"||E&&E.font==="mathit")&&(Wt=0),qe=new ae(e,Ve.height,Ve.depth,Wt,Ve.skew,Ve.width,G)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+h+"'")),qe=new ae(e,0,0,0,0,0,G);if(E){qe.maxFontSize=E.sizeMultiplier,E.style.isTight()&&qe.classes.push("mtight");var lr=E.getColor();lr&&(qe.style.color=lr)}return qe},Ea=function(e,t,h,E){return E===void 0&&(E=[]),h.font==="boldsymbol"&&$n(e,"Main-Bold",t).metrics?kn(e,"Main-Bold",t,h,E.concat(["mathbf"])):e==="\\"||sr[t][e].font==="main"?kn(e,"Main-Regular",t,h,E):kn(e,"AMS-Regular",t,h,E.concat(["amsrm"]))},Rn=function(e,t,h,E,G){return G!=="textord"&&$n(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},aa=function(e,t,h){var E=e.mode,G=e.text,be=["mord"],Ve=E==="math"||E==="text"&&t.font,qe=Ve?t.font:t.fontFamily,Wt="",lr="";if(G.charCodeAt(0)===55349&&([Wt,lr]=nn(G,E)),Wt.length>0)return kn(G,Wt,E,t,be.concat(lr));if(qe){var yr,Zr;if(qe==="boldsymbol"){var kr=Rn(G,E,t,be,h);yr=kr.fontName,Zr=[kr.fontClass]}else Ve?(yr=p[qe].fontName,Zr=[qe]):(yr=s(qe,t.fontWeight,t.fontShape),Zr=[qe,t.fontWeight,t.fontShape]);if($n(G,yr,E).metrics)return kn(G,yr,E,t,be.concat(Zr));if(jr.hasOwnProperty(G)&&yr.slice(0,10)==="Typewriter"){for(var dn=[],gn=0;gn<G.length;gn++)dn.push(kn(G[gn],yr,E,t,be.concat(Zr)));return Ma(dn)}}if(h==="mathord")return kn(G,"Math-Italic",E,t,be.concat(["mathnormal"]));if(h==="textord"){var Nn=sr[E][G]&&sr[E][G].font;if(Nn==="ams"){var Tn=s("amsrm",t.fontWeight,t.fontShape);return kn(G,Tn,E,t,be.concat("amsrm",t.fontWeight,t.fontShape))}else if(Nn==="main"||!Nn){var ca=s("textrm",t.fontWeight,t.fontShape);return kn(G,ca,E,t,be.concat(t.fontWeight,t.fontShape))}else{var va=s(Nn,t.fontWeight,t.fontShape);return kn(G,va,E,t,be.concat(va,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},Kn=(u,e)=>{if(er(u.classes)!==er(e.classes)||u.skew!==e.skew||u.maxFontSize!==e.maxFontSize)return!1;if(u.classes.length===1){var t=u.classes[0];if(t==="mbin"||t==="mord")return!1}for(var h in u.style)if(u.style.hasOwnProperty(h)&&u.style[h]!==e.style[h])return!1;for(var E in e.style)if(e.style.hasOwnProperty(E)&&u.style[E]!==e.style[E])return!1;return!0},Zn=u=>{for(var e=0;e<u.length-1;e++){var t=u[e],h=u[e+1];t instanceof ae&&h instanceof ae&&Kn(t,h)&&(t.text+=h.text,t.height=Math.max(t.height,h.height),t.depth=Math.max(t.depth,h.depth),t.italic=h.italic,u.splice(e+1,1),e--)}return u},Jn=function(e){for(var t=0,h=0,E=0,G=0;G<e.children.length;G++){var be=e.children[G];be.height>t&&(t=be.height),be.depth>h&&(h=be.depth),be.maxFontSize>E&&(E=be.maxFontSize)}e.height=t,e.depth=h,e.maxFontSize=E},On=function(e,t,h,E){var G=new Pr(e,t,h,E);return Jn(G),G},Bn=(u,e,t,h)=>new Pr(u,e,t,h),Yn=function(e,t,h){var E=On([e],[],t);return E.height=Math.max(h||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),E.style.borderBottomWidth=dt(E.height),E.maxFontSize=1,E},Ca=function(e,t,h,E){var G=new w(e,t,h,E);return Jn(G),G},Ma=function(e){var t=new ge(e);return Jn(t),t},ao=function(e,t){return e instanceof ge?On([],[e],t):e},ro=function(e){if(e.positionType==="individualShift"){for(var t=e.children,h=[t[0]],E=-t[0].shift-t[0].elem.depth,G=E,be=1;be<t.length;be++){var Ve=-t[be].shift-G-t[be].elem.depth,qe=Ve-(t[be-1].elem.height+t[be-1].elem.depth);G=G+Ve,h.push({type:"kern",size:qe}),h.push(t[be])}return{children:h,depth:E}}var Wt;if(e.positionType==="top"){for(var lr=e.positionData,yr=0;yr<e.children.length;yr++){var Zr=e.children[yr];lr-=Zr.type==="kern"?Zr.size:Zr.elem.height+Zr.elem.depth}Wt=lr}else if(e.positionType==="bottom")Wt=-e.positionData;else{var kr=e.children[0];if(kr.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Wt=-kr.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Wt=-kr.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:Wt}},oo=function(e,t){for(var{children:h,depth:E}=ro(e),G=0,be=0;be<h.length;be++){var Ve=h[be];if(Ve.type==="elem"){var qe=Ve.elem;G=Math.max(G,qe.maxFontSize,qe.height)}}G+=2;var Wt=On(["pstrut"],[]);Wt.style.height=dt(G);for(var lr=[],yr=E,Zr=E,kr=E,dn=0;dn<h.length;dn++){var gn=h[dn];if(gn.type==="kern")kr+=gn.size;else{var Nn=gn.elem,Tn=gn.wrapperClasses||[],ca=gn.wrapperStyle||{},va=On(Tn,[Wt,Nn],void 0,ca);va.style.top=dt(-G-kr-Nn.depth),gn.marginLeft&&(va.style.marginLeft=gn.marginLeft),gn.marginRight&&(va.style.marginRight=gn.marginRight),lr.push(va),kr+=Nn.height+Nn.depth}yr=Math.min(yr,kr),Zr=Math.max(Zr,kr)}var Pa=On(["vlist"],lr);Pa.style.height=dt(Zr);var $a;if(yr<0){var Fa=On([],[]),Sa=On(["vlist"],[Fa]);Sa.style.height=dt(-yr);var fo=On(["vlist-s"],[new ae("\u200B")]);$a=[On(["vlist-r"],[Pa,fo]),On(["vlist-r"],[Sa])]}else $a=[On(["vlist-r"],[Pa])];var Ua=On(["vlist-t"],$a);return $a.length===2&&Ua.classes.push("vlist-t2"),Ua.height=Zr,Ua.depth=-yr,Ua},f=(u,e)=>{var t=On(["mspace"],[],e),h=pt(u,e);return t.style.marginRight=dt(h),t},s=function(e,t,h){var E="";switch(e){case"amsrm":E="AMS";break;case"textrm":E="Main";break;case"textsf":E="SansSerif";break;case"texttt":E="Typewriter";break;default:E=e}var G;return t==="textbf"&&h==="textit"?G="BoldItalic":t==="textbf"?G="Bold":t==="textit"?G="Italic":G="Regular",E+"-"+G},p={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"}},b={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},j=function(e,t){var[h,E,G]=b[e],be=new Fr(h),Ve=new Te([be],{width:dt(E),height:dt(G),style:"width:"+dt(E),viewBox:"0 0 "+1e3*E+" "+1e3*G,preserveAspectRatio:"xMinYMin"}),qe=Bn(["overlay"],[Ve],t);return qe.height=G,qe.style.height=dt(G),qe.style.width=dt(E),qe},d={fontMap:p,makeSymbol:kn,mathsym:Ea,makeSpan:On,makeSvgSpan:Bn,makeLineSpan:Yn,makeAnchor:Ca,makeFragment:Ma,wrapFragment:ao,makeVList:oo,makeOrd:aa,makeGlue:f,staticSvg:j,svgData:b,tryCombineChars:Zn},ne={number:3,unit:"mu"},V={number:4,unit:"mu"},Q={number:5,unit:"mu"},Ae={mord:{mop:ne,mbin:V,mrel:Q,minner:ne},mop:{mord:ne,mop:ne,mrel:Q,minner:ne},mbin:{mord:V,mop:V,mopen:V,minner:V},mrel:{mord:Q,mop:Q,mopen:Q,minner:Q},mopen:{},mclose:{mop:ne,mbin:V,mrel:Q,minner:ne},mpunct:{mord:ne,mop:ne,mrel:Q,mopen:ne,mclose:ne,mpunct:ne,minner:ne},minner:{mord:ne,mop:ne,mbin:V,mrel:Q,mopen:ne,mpunct:ne,minner:ne}},it={mord:{mop:ne},mop:{mord:ne,mop:ne},mbin:{},mrel:{},mopen:{},mclose:{mop:ne},mpunct:{},minner:{mop:ne}},Pt={},It={},ve={};function rt(u){for(var{type:e,names:t,props:h,handler:E,htmlBuilder:G,mathmlBuilder:be}=u,Ve={type:e,numArgs:h.numArgs,argTypes:h.argTypes,allowedInArgument:!!h.allowedInArgument,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,primitive:!!h.primitive,handler:E},qe=0;qe<t.length;++qe)Pt[t[qe]]=Ve;e&&(G&&(It[e]=G),be&&(ve[e]=be))}function gt(u){var{type:e,htmlBuilder:t,mathmlBuilder:h}=u;rt({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:h})}var Kt=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ct=function(e){return e.type==="ordgroup"?e.body:[e]},ur=d.makeSpan,Cr=["leftmost","mbin","mopen","mrel","mop","mpunct"],Qt=["rightmost","mrel","mclose","mpunct"],tt={display:y.DISPLAY,text:y.TEXT,script:y.SCRIPT,scriptscript:y.SCRIPTSCRIPT},we={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},kt=function(e,t,h,E){E===void 0&&(E=[null,null]);for(var G=[],be=0;be<e.length;be++){var Ve=lt(e[be],t);if(Ve instanceof ge){var qe=Ve.children;G.push(...qe)}else G.push(Ve)}if(d.tryCombineChars(G),!h)return G;var Wt=t;if(e.length===1){var lr=e[0];lr.type==="sizing"?Wt=t.havingSize(lr.size):lr.type==="styling"&&(Wt=t.havingStyle(tt[lr.style]))}var yr=ur([E[0]||"leftmost"],[],t),Zr=ur([E[1]||"rightmost"],[],t),kr=h==="root";return Ft(G,(dn,gn)=>{var Nn=gn.classes[0],Tn=dn.classes[0];Nn==="mbin"&&Qt.includes(Tn)?gn.classes[0]="mord":Tn==="mbin"&&Cr.includes(Nn)&&(dn.classes[0]="mord")},{node:yr},Zr,kr),Ft(G,(dn,gn)=>{var Nn=Fe(gn),Tn=Fe(dn),ca=Nn&&Tn?dn.hasClass("mtight")?it[Nn][Tn]:Ae[Nn][Tn]:null;if(ca)return d.makeGlue(ca,Wt)},{node:yr},Zr,kr),G},Ft=function u(e,t,h,E,G){E&&e.push(E);for(var be=0;be<e.length;be++){var Ve=e[be],qe=Ot(Ve);if(qe){u(qe.children,t,h,null,G);continue}var Wt=!Ve.hasClass("mspace");if(Wt){var lr=t(Ve,h.node);lr&&(h.insertAfter?h.insertAfter(lr):(e.unshift(lr),be++))}Wt?h.node=Ve:G&&Ve.hasClass("newline")&&(h.node=ur(["leftmost"])),h.insertAfter=(yr=>Zr=>{e.splice(yr+1,0,Zr),be++})(be)}E&&e.pop()},Ot=function(e){return e instanceof ge||e instanceof w||e instanceof Pr&&e.hasClass("enclosing")?e:null},Jt=function u(e,t){var h=Ot(e);if(h){var E=h.children;if(E.length){if(t==="right")return u(E[E.length-1],"right");if(t==="left")return u(E[0],"left")}}return e},Fe=function(e,t){return e?(t&&(e=Jt(e,t)),we[e.classes[0]]||null):null},Me=function(e,t){var h=["nulldelimiter"].concat(e.baseSizingClasses());return ur(t.concat(h))},lt=function(e,t,h){if(!e)return ur();if(It[e.type]){var E=It[e.type](e,t);if(h&&t.size!==h.size){E=ur(t.sizingClasses(h),[E],t);var G=t.sizeMultiplier/h.sizeMultiplier;E.height*=G,E.depth*=G}return E}else throw new q("Got group of unknown type: '"+e.type+"'")};function Et(u,e){var t=ur(["base"],u,e),h=ur(["strut"]);return h.style.height=dt(t.height+t.depth),t.depth&&(h.style.verticalAlign=dt(-t.depth)),t.children.unshift(h),t}function fr(u,e){var t=null;u.length===1&&u[0].type==="tag"&&(t=u[0].tag,u=u[0].body);var h=kt(u,e,"root"),E;h.length===2&&h[1].hasClass("tag")&&(E=h.pop());for(var G=[],be=[],Ve=0;Ve<h.length;Ve++)if(be.push(h[Ve]),h[Ve].hasClass("mbin")||h[Ve].hasClass("mrel")||h[Ve].hasClass("allowbreak")){for(var qe=!1;Ve<h.length-1&&h[Ve+1].hasClass("mspace")&&!h[Ve+1].hasClass("newline");)Ve++,be.push(h[Ve]),h[Ve].hasClass("nobreak")&&(qe=!0);qe||(G.push(Et(be,e)),be=[])}else h[Ve].hasClass("newline")&&(be.pop(),be.length>0&&(G.push(Et(be,e)),be=[]),G.push(h[Ve]));be.length>0&&G.push(Et(be,e));var Wt;t?(Wt=Et(kt(t,e,!0)),Wt.classes=["tag"],G.push(Wt)):E&&G.push(E);var lr=ur(["katex-html"],G);if(lr.setAttribute("aria-hidden","true"),Wt){var yr=Wt.children[0];yr.style.height=dt(lr.height+lr.depth),lr.depth&&(yr.style.verticalAlign=dt(-lr.depth))}return lr}function vr(u){return new ge(u)}class Zt{constructor(e,t,h){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=h||[]}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=er(this.classes));for(var h=0;h<this.children.length;h++)if(this.children[h]instanceof Tt&&this.children[h+1]instanceof Tt){for(var E=this.children[h].toText()+this.children[++h].toText();this.children[h+1]instanceof Tt;)E+=this.children[++h].toText();e.appendChild(new Tt(E).toNode())}else e.appendChild(this.children[h].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=I.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+I.escape(er(this.classes))+'"'),e+=">";for(var h=0;h<this.children.length;h++)e+=this.children[h].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Tt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return I.escape(this.toText())}toText(){return this.text}}class dr{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="\u200A":e>=.1666&&e<=.1667?this.character="\u2009":e>=.2222&&e<=.2223?this.character="\u2005":e>=.2777&&e<=.2778?this.character="\u2005\u200A":e>=-.05556&&e<=-.05555?this.character="\u200A\u2063":e>=-.1667&&e<=-.1666?this.character="\u2009\u2063":e>=-.2223&&e<=-.2222?this.character="\u205F\u2063":e>=-.2778&&e<=-.2777?this.character="\u2005\u2063":this.character=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",dt(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+dt(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Yt={MathNode:Zt,TextNode:Tt,SpaceNode:dr,newDocumentFragment:vr},wr=function(e,t,h){return sr[t][e]&&sr[t][e].replace&&e.charCodeAt(0)!==55349&&!(jr.hasOwnProperty(e)&&h&&(h.fontFamily&&h.fontFamily.slice(4,6)==="tt"||h.font&&h.font.slice(4,6)==="tt"))&&(e=sr[t][e].replace),new Yt.TextNode(e)},je=function(e){return e.length===1?e[0]:new Yt.MathNode("mrow",e)},vt=function(e,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var h=t.font;if(!h||h==="mathnormal")return null;var E=e.mode;if(h==="mathit")return"italic";if(h==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(h==="mathbf")return"bold";if(h==="mathbb")return"double-struck";if(h==="mathsfit")return"sans-serif-italic";if(h==="mathfrak")return"fraktur";if(h==="mathscr"||h==="mathcal")return"script";if(h==="mathsf")return"sans-serif";if(h==="mathtt")return"monospace";var G=e.text;if(["\\imath","\\jmath"].includes(G))return null;sr[E][G]&&sr[E][G].replace&&(G=sr[E][G].replace);var be=d.fontMap[h].fontName;return ye(G,be,E)?d.fontMap[h].variant:null};function Nt(u){if(!u)return!1;if(u.type==="mi"&&u.children.length===1){var e=u.children[0];return e instanceof Tt&&e.text==="."}else if(u.type==="mo"&&u.children.length===1&&u.getAttribute("separator")==="true"&&u.getAttribute("lspace")==="0em"&&u.getAttribute("rspace")==="0em"){var t=u.children[0];return t instanceof Tt&&t.text===","}else return!1}var st=function(e,t,h){if(e.length===1){var E=nr(e[0],t);return h&&E instanceof Zt&&E.type==="mo"&&(E.setAttribute("lspace","0em"),E.setAttribute("rspace","0em")),[E]}for(var G=[],be,Ve=0;Ve<e.length;Ve++){var qe=nr(e[Ve],t);if(qe instanceof Zt&&be instanceof Zt){if(qe.type==="mtext"&&be.type==="mtext"&&qe.getAttribute("mathvariant")===be.getAttribute("mathvariant")){be.children.push(...qe.children);continue}else if(qe.type==="mn"&&be.type==="mn"){be.children.push(...qe.children);continue}else if(Nt(qe)&&be.type==="mn"){be.children.push(...qe.children);continue}else if(qe.type==="mn"&&Nt(be))qe.children=[...be.children,...qe.children],G.pop();else if((qe.type==="msup"||qe.type==="msub")&&qe.children.length>=1&&(be.type==="mn"||Nt(be))){var Wt=qe.children[0];Wt instanceof Zt&&Wt.type==="mn"&&(Wt.children=[...be.children,...Wt.children],G.pop())}else if(be.type==="mi"&&be.children.length===1){var lr=be.children[0];if(lr instanceof Tt&&lr.text==="\u0338"&&(qe.type==="mo"||qe.type==="mi"||qe.type==="mn")){var yr=qe.children[0];yr instanceof Tt&&yr.text.length>0&&(yr.text=yr.text.slice(0,1)+"\u0338"+yr.text.slice(1),G.pop())}}}G.push(qe),be=qe}return G},qt=function(e,t,h){return je(st(e,t,h))},nr=function(e,t){if(!e)return new Yt.MathNode("mrow");if(ve[e.type]){var h=ve[e.type](e,t);return h}else throw new q("Got group of unknown type: '"+e.type+"'")};function Or(u,e,t,h,E){var G=st(u,t),be;G.length===1&&G[0]instanceof Zt&&["mrow","mtable"].includes(G[0].type)?be=G[0]:be=new Yt.MathNode("mrow",G);var Ve=new Yt.MathNode("annotation",[new Yt.TextNode(e)]);Ve.setAttribute("encoding","application/x-tex");var qe=new Yt.MathNode("semantics",[be,Ve]),Wt=new Yt.MathNode("math",[qe]);Wt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&Wt.setAttribute("display","block");var lr=E?"katex":"katex-mathml";return d.makeSpan([lr],[Wt])}var Ar=function(e){return new Ut({style:e.displayMode?y.DISPLAY:y.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Rr=function(e,t){if(t.displayMode){var h=["katex-display"];t.leqno&&h.push("leqno"),t.fleqn&&h.push("fleqn"),e=d.makeSpan(h,[e])}return e},Hr=function(e,t,h){var E=Ar(h),G;if(h.output==="mathml")return Or(e,t,E,h.displayMode,!0);if(h.output==="html"){var be=fr(e,E);G=d.makeSpan(["katex"],[be])}else{var Ve=Or(e,t,E,h.displayMode,!1),qe=fr(e,E);G=d.makeSpan(["katex"],[Ve,qe])}return Rr(G,h)},cn=function(e,t,h){var E=Ar(h),G=fr(e,E),be=d.makeSpan(["katex"],[G]);return Rr(be,h)},wn={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},Lr=function(e){var t=new Yt.MathNode("mo",[new Yt.TextNode(wn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Mt={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]},ba=function(e){return e.type==="ordgroup"?e.body.length:1},da=function(e,t){function h(){var Ve=4e5,qe=e.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(qe)){var Wt=e,lr=ba(Wt.base),yr,Zr,kr;if(lr>5)qe==="widehat"||qe==="widecheck"?(yr=420,Ve=2364,kr=.42,Zr=qe+"4"):(yr=312,Ve=2340,kr=.34,Zr="tilde4");else{var dn=[1,1,2,2,3,3][lr];qe==="widehat"||qe==="widecheck"?(Ve=[0,1062,2364,2364,2364][dn],yr=[0,239,300,360,420][dn],kr=[0,.24,.3,.3,.36,.42][dn],Zr=qe+dn):(Ve=[0,600,1033,2339,2340][dn],yr=[0,260,286,306,312][dn],kr=[0,.26,.286,.3,.306,.34][dn],Zr="tilde"+dn)}var gn=new Fr(Zr),Nn=new Te([gn],{width:"100%",height:dt(kr),viewBox:"0 0 "+Ve+" "+yr,preserveAspectRatio:"none"});return{span:d.makeSvgSpan([],[Nn],t),minWidth:0,height:kr}}else{var Tn=[],ca=Mt[qe],[va,Pa,$a]=ca,Fa=$a/1e3,Sa=va.length,fo,Ua;if(Sa===1){var Po=ca[3];fo=["hide-tail"],Ua=[Po]}else if(Sa===2)fo=["halfarrow-left","halfarrow-right"],Ua=["xMinYMin","xMaxYMin"];else if(Sa===3)fo=["brace-left","brace-center","brace-right"],Ua=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
`+Sa+" children.");for(var jo=0;jo<Sa;jo++){var vo=new Fr(va[jo]),ri=new Te([vo],{width:"400em",height:dt(Fa),viewBox:"0 0 "+Ve+" "+$a,preserveAspectRatio:Ua[jo]+" slice"}),Oo=d.makeSvgSpan([fo[jo]],[ri],t);if(Sa===1)return{span:Oo,minWidth:Pa,height:Fa};Oo.style.height=dt(Fa),Tn.push(Oo)}return{span:d.makeSpan(["stretchy"],Tn,t),minWidth:Pa,height:Fa}}}var{span:E,minWidth:G,height:be}=h();return E.height=be,E.style.height=dt(be),G>0&&(E.style.minWidth=dt(G)),E},Wn=function(e,t,h,E,G){var be,Ve=e.height+e.depth+h+E;if(/fbox|color|angl/.test(t)){if(be=d.makeSpan(["stretchy",t],[],G),t==="fbox"){var qe=G.color&&G.getColor();qe&&(be.style.borderColor=qe)}}else{var Wt=[];/^[bx]cancel$/.test(t)&&Wt.push(new Mr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&Wt.push(new Mr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var lr=new Te(Wt,{width:"100%",height:dt(Ve)});be=d.makeSvgSpan([],[lr],G)}return be.height=Ve,be.style.height=dt(Ve),be},Jr={encloseSpan:Wn,mathMLnode:Lr,svgSpan:da};function Vr(u,e){if(!u||u.type!==e)throw new Error("Expected node of type "+e+", but got "+(u?"node of type "+u.type:String(u)));return u}function En(u){var e=oa(u);if(!e)throw new Error("Expected node of symbol group type, but got "+(u?"node of type "+u.type:String(u)));return e}function oa(u){return u&&(u.type==="atom"||xr.hasOwnProperty(u.type))?u:null}var _n=(u,e)=>{var t,h,E;u&&u.type==="supsub"?(h=Vr(u.base,"accent"),t=h.base,u.base=t,E=Dn(lt(u,e)),u.base=h):(h=Vr(u,"accent"),t=h.base);var G=lt(t,e.havingCrampedStyle()),be=h.isShifty&&I.isCharacterBox(t),Ve=0;if(be){var qe=I.getBaseElem(t),Wt=lt(qe,e.havingCrampedStyle());Ve=bn(Wt).skew}var lr=h.label==="\\c",yr=lr?G.height+G.depth:Math.min(G.height,e.fontMetrics().xHeight),Zr;if(h.isStretchy)Zr=Jr.svgSpan(h,e),Zr=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:G},{type:"elem",elem:Zr,wrapperClasses:["svg-align"],wrapperStyle:Ve>0?{width:"calc(100% - "+dt(2*Ve)+")",marginLeft:dt(2*Ve)}:void 0}]},e);else{var kr,dn;h.label==="\\vec"?(kr=d.staticSvg("vec",e),dn=d.svgData.vec[1]):(kr=d.makeOrd({mode:h.mode,text:h.label},e,"textord"),kr=bn(kr),kr.italic=0,dn=kr.width,lr&&(yr+=kr.depth)),Zr=d.makeSpan(["accent-body"],[kr]);var gn=h.label==="\\textcircled";gn&&(Zr.classes.push("accent-full"),yr=G.height);var Nn=Ve;gn||(Nn-=dn/2),Zr.style.left=dt(Nn),h.label==="\\textcircled"&&(Zr.style.top=".2em"),Zr=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:G},{type:"kern",size:-yr},{type:"elem",elem:Zr}]},e)}var Tn=d.makeSpan(["mord","accent"],[Zr],e);return E?(E.children[0]=Tn,E.height=Math.max(Tn.height,E.height),E.classes[0]="mord",E):Tn},xa=(u,e)=>{var t=u.isStretchy?Jr.mathMLnode(u.label):new Yt.MathNode("mo",[wr(u.label,u.mode)]),h=new Yt.MathNode("mover",[nr(u.base,e),t]);return h.setAttribute("accent","true"),h},qn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(u=>"\\"+u).join("|"));rt({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:(u,e)=>{var t=Kt(e[0]),h=!qn.test(u.funcName),E=!h||u.funcName==="\\widehat"||u.funcName==="\\widetilde"||u.funcName==="\\widecheck";return{type:"accent",mode:u.parser.mode,label:u.funcName,isStretchy:h,isShifty:E,base:t}},htmlBuilder:_n,mathmlBuilder:xa}),rt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(u,e)=>{var t=e[0],h=u.parser.mode;return h==="math"&&(u.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+u.funcName+" works only in text mode"),h="text"),{type:"accent",mode:h,label:u.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:_n,mathmlBuilder:xa}),rt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=e[0];return{type:"accentUnder",mode:t.mode,label:h,base:E}},htmlBuilder:(u,e)=>{var t=lt(u.base,e),h=Jr.svgSpan(u,e),E=u.label==="\\utilde"?.12:0,G=d.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:E},{type:"elem",elem:t}]},e);return d.makeSpan(["mord","accentunder"],[G],e)},mathmlBuilder:(u,e)=>{var t=Jr.mathMLnode(u.label),h=new Yt.MathNode("munder",[nr(u.base,e),t]);return h.setAttribute("accentunder","true"),h}});var Qn=u=>{var e=new Yt.MathNode("mpadded",u?[u]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};rt({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(u,e,t){var{parser:h,funcName:E}=u;return{type:"xArrow",mode:h.mode,label:E,body:e[0],below:t[0]}},htmlBuilder(u,e){var t=e.style,h=e.havingStyle(t.sup()),E=d.wrapFragment(lt(u.body,h,e),e),G=u.label.slice(0,2)==="\\x"?"x":"cd";E.classes.push(G+"-arrow-pad");var be;u.below&&(h=e.havingStyle(t.sub()),be=d.wrapFragment(lt(u.below,h,e),e),be.classes.push(G+"-arrow-pad"));var Ve=Jr.svgSpan(u,e),qe=-e.fontMetrics().axisHeight+.5*Ve.height,Wt=-e.fontMetrics().axisHeight-.5*Ve.height-.111;(E.depth>.25||u.label==="\\xleftequilibrium")&&(Wt-=E.depth);var lr;if(be){var yr=-e.fontMetrics().axisHeight+be.height+.5*Ve.height+.111;lr=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:Wt},{type:"elem",elem:Ve,shift:qe},{type:"elem",elem:be,shift:yr}]},e)}else lr=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:Wt},{type:"elem",elem:Ve,shift:qe}]},e);return lr.children[0].children[0].children[1].classes.push("svg-align"),d.makeSpan(["mrel","x-arrow"],[lr],e)},mathmlBuilder(u,e){var t=Jr.mathMLnode(u.label);t.setAttribute("minsize",u.label.charAt(0)==="x"?"1.75em":"3.0em");var h;if(u.body){var E=Qn(nr(u.body,e));if(u.below){var G=Qn(nr(u.below,e));h=new Yt.MathNode("munderover",[t,G,E])}else h=new Yt.MathNode("mover",[t,E])}else if(u.below){var be=Qn(nr(u.below,e));h=new Yt.MathNode("munder",[t,be])}else h=Qn(),h=new Yt.MathNode("mover",[t,h]);return h}});var ka=d.makeSpan;function ra(u,e){var t=kt(u.body,e,!0);return ka([u.mclass],t,e)}function Hn(u,e){var t,h=st(u.body,e);return u.mclass==="minner"?t=new Yt.MathNode("mpadded",h):u.mclass==="mord"?u.isCharacterBox?(t=h[0],t.type="mi"):t=new Yt.MathNode("mi",h):(u.isCharacterBox?(t=h[0],t.type="mo"):t=new Yt.MathNode("mo",h),u.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):u.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):u.mclass==="mopen"||u.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):u.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}rt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(u,e){var{parser:t,funcName:h}=u,E=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+h.slice(5),body:ct(E),isCharacterBox:I.isCharacterBox(E)}},htmlBuilder:ra,mathmlBuilder:Hn});var ea=u=>{var e=u.type==="ordgroup"&&u.body.length?u.body[0]:u;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};rt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(u,e){var{parser:t}=u;return{type:"mclass",mode:t.mode,mclass:ea(e[0]),body:ct(e[1]),isCharacterBox:I.isCharacterBox(e[1])}}}),rt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(u,e){var{parser:t,funcName:h}=u,E=e[1],G=e[0],be;h!=="\\stackrel"?be=ea(E):be="mrel";var Ve={type:"op",mode:E.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:ct(E)},qe={type:"supsub",mode:G.mode,base:Ve,sup:h==="\\underset"?null:G,sub:h==="\\underset"?G:null};return{type:"mclass",mode:t.mode,mclass:be,body:[qe],isCharacterBox:I.isCharacterBox(qe)}},htmlBuilder:ra,mathmlBuilder:Hn}),rt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(u,e){var{parser:t}=u;return{type:"pmb",mode:t.mode,mclass:ea(e[0]),body:ct(e[0])}},htmlBuilder(u,e){var t=kt(u.body,e,!0),h=d.makeSpan([u.mclass],t,e);return h.style.textShadow="0.02em 0.01em 0.04px",h},mathmlBuilder(u,e){var t=st(u.body,e),h=new Yt.MathNode("mstyle",t);return h.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),h}});var Un={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ln=()=>({type:"styling",body:[],mode:"math",style:"display"}),Xn=u=>u.type==="textord"&&u.text==="@",rn=(u,e)=>(u.type==="mathord"||u.type==="atom")&&u.text===e;function mn(u,e,t){var h=Un[u];switch(h){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(h,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var E=t.callFunction("\\\\cdleft",[e[0]],[]),G={type:"atom",text:h,mode:"math",family:"rel"},be=t.callFunction("\\Big",[G],[]),Ve=t.callFunction("\\\\cdright",[e[1]],[]),qe={type:"ordgroup",mode:"math",body:[E,be,Ve]};return t.callFunction("\\\\cdparent",[qe],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Wt={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[Wt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function sa(u){var e=[];for(u.gullet.beginGroup(),u.gullet.macros.set("\\cr","\\\\\\relax"),u.gullet.beginGroup();;){e.push(u.parseExpression(!1,"\\\\")),u.gullet.endGroup(),u.gullet.beginGroup();var t=u.fetch().text;if(t==="&"||t==="\\\\")u.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",u.nextToken)}for(var h=[],E=[h],G=0;G<e.length;G++){for(var be=e[G],Ve=Ln(),qe=0;qe<be.length;qe++)if(!Xn(be[qe]))Ve.body.push(be[qe]);else{h.push(Ve),qe+=1;var Wt=En(be[qe]).text,lr=new Array(2);if(lr[0]={type:"ordgroup",mode:"math",body:[]},lr[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Wt)>-1))if("<>AV".indexOf(Wt)>-1)for(var yr=0;yr<2;yr++){for(var Zr=!0,kr=qe+1;kr<be.length;kr++){if(rn(be[kr],Wt)){Zr=!1,qe=kr;break}if(Xn(be[kr]))throw new q("Missing a "+Wt+" character to complete a CD arrow.",be[kr]);lr[yr].body.push(be[kr])}if(Zr)throw new q("Missing a "+Wt+" character to complete a CD arrow.",be[qe])}else throw new q('Expected one of "<>AV=|." after @',be[qe]);var dn=mn(Wt,lr,u),gn={type:"styling",body:[dn],mode:"math",style:"display"};h.push(gn),Ve=Ln()}G%2===0?h.push(Ve):h.shift(),h=[],E.push(h)}u.gullet.endGroup(),u.gullet.endGroup();var Nn=new Array(E[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:E,arraystretch:1,addJot:!0,rowGaps:[null],cols:Nn,colSeparationType:"CD",hLinesBeforeRow:new Array(E.length+1).fill([])}}rt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:h}=u;return{type:"cdlabel",mode:t.mode,side:h.slice(4),label:e[0]}},htmlBuilder(u,e){var t=e.havingStyle(e.style.sup()),h=d.wrapFragment(lt(u.label,t,e),e);return h.classes.push("cd-label-"+u.side),h.style.bottom=dt(.8-h.depth),h.height=0,h.depth=0,h},mathmlBuilder(u,e){var t=new Yt.MathNode("mrow",[nr(u.label,e)]);return t=new Yt.MathNode("mpadded",[t]),t.setAttribute("width","0"),u.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Yt.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}}),rt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(u,e){var{parser:t}=u;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(u,e){var t=d.wrapFragment(lt(u.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(u,e){return new Yt.MathNode("mrow",[nr(u.fragment,e)])}}),rt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(u,e){for(var{parser:t}=u,h=Vr(e[0],"ordgroup"),E=h.body,G="",be=0;be<E.length;be++){var Ve=Vr(E[be],"textord");G+=Ve.text}var qe=parseInt(G),Wt;if(isNaN(qe))throw new q("\\@char has non-numeric argument "+G);if(qe<0||qe>=1114111)throw new q("\\@char with invalid code point "+G);return qe<=65535?Wt=String.fromCharCode(qe):(qe-=65536,Wt=String.fromCharCode((qe>>10)+55296,(qe&1023)+56320)),{type:"textord",mode:t.mode,text:Wt}}});var Sn=(u,e)=>{var t=kt(u.body,e.withColor(u.color),!1);return d.makeFragment(t)},ha=(u,e)=>{var t=st(u.body,e.withColor(u.color)),h=new Yt.MathNode("mstyle",t);return h.setAttribute("mathcolor",u.color),h};rt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(u,e){var{parser:t}=u,h=Vr(e[0],"color-token").color,E=e[1];return{type:"color",mode:t.mode,color:h,body:ct(E)}},htmlBuilder:Sn,mathmlBuilder:ha}),rt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(u,e){var{parser:t,breakOnTokenText:h}=u,E=Vr(e[0],"color-token").color;t.gullet.macros.set("\\current@color",E);var G=t.parseExpression(!0,h);return{type:"color",mode:t.mode,color:E,body:G}},htmlBuilder:Sn,mathmlBuilder:ha}),rt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(u,e,t){var{parser:h}=u,E=h.gullet.future().text==="["?h.parseSizeGroup(!0):null,G=!h.settings.displayMode||!h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:h.mode,newLine:G,size:E&&Vr(E,"size").value}},htmlBuilder(u,e){var t=d.makeSpan(["mspace"],[],e);return u.newLine&&(t.classes.push("newline"),u.size&&(t.style.marginTop=dt(pt(u.size,e)))),t},mathmlBuilder(u,e){var t=new Yt.MathNode("mspace");return u.newLine&&(t.setAttribute("linebreak","newline"),u.size&&t.setAttribute("height",dt(pt(u.size,e)))),t}});var Vn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ha=u=>{var e=u.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new q("Expected a control sequence",u);return e},qa=u=>{var e=u.gullet.popToken();return e.text==="="&&(e=u.gullet.popToken(),e.text===" "&&(e=u.gullet.popToken())),e},yn=(u,e,t,h)=>{var E=u.gullet.macros.get(t.text);E==null&&(t.noexpand=!0,E={tokens:[t],numArgs:0,unexpandable:!u.gullet.isExpandable(t.text)}),u.gullet.macros.set(e,E,h)};rt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(u){var{parser:e,funcName:t}=u;e.consumeSpaces();var h=e.fetch();if(Vn[h.text])return(t==="\\global"||t==="\\\\globallong")&&(h.text=Vn[h.text]),Vr(e.parseFunction(),"internal");throw new q("Invalid token after macro prefix",h)}}),rt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:t}=u,h=e.gullet.popToken(),E=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(E))throw new q("Expected a control sequence",h);for(var G=0,be,Ve=[[]];e.gullet.future().text!=="{";)if(h=e.gullet.popToken(),h.text==="#"){if(e.gullet.future().text==="{"){be=e.gullet.future(),Ve[G].push("{");break}if(h=e.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new q('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==G+1)throw new q('Argument number "'+h.text+'" out of order');G++,Ve.push([])}else{if(h.text==="EOF")throw new q("Expected a macro definition");Ve[G].push(h.text)}var{tokens:qe}=e.gullet.consumeArg();return be&&qe.unshift(be),(t==="\\edef"||t==="\\xdef")&&(qe=e.gullet.expandTokens(qe),qe.reverse()),e.gullet.macros.set(E,{tokens:qe,numArgs:G,delimiters:Ve},t===Vn[t]),{type:"internal",mode:e.mode}}}),rt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:t}=u,h=Ha(e.gullet.popToken());e.gullet.consumeSpaces();var E=qa(e);return yn(e,h,E,t==="\\\\globallet"),{type:"internal",mode:e.mode}}}),rt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u){var{parser:e,funcName:t}=u,h=Ha(e.gullet.popToken()),E=e.gullet.popToken(),G=e.gullet.popToken();return yn(e,h,G,t==="\\\\globalfuture"),e.gullet.pushToken(G),e.gullet.pushToken(E),{type:"internal",mode:e.mode}}});var Pn=function(e,t,h){var E=sr.math[e]&&sr.math[e].replace,G=ye(E||e,t,h);if(!G)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return G},fa=function(e,t,h,E){var G=h.havingBaseStyle(t),be=d.makeSpan(E.concat(G.sizingClasses(h)),[e],h),Ve=G.sizeMultiplier/h.sizeMultiplier;return be.height*=Ve,be.depth*=Ve,be.maxFontSize=G.sizeMultiplier,be},Ja=function(e,t,h){var E=t.havingBaseStyle(h),G=(1-t.sizeMultiplier/E.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=dt(G),e.height-=G,e.depth+=G},Ga=function(e,t,h,E,G,be){var Ve=d.makeSymbol(e,"Main-Regular",G,E),qe=fa(Ve,t,E,be);return h&&Ja(qe,E,t),qe},io=function(e,t,h,E){return d.makeSymbol(e,"Size"+t+"-Regular",h,E)},so=function(e,t,h,E,G,be){var Ve=io(e,t,G,E),qe=fa(d.makeSpan(["delimsizing","size"+t],[Ve],E),y.TEXT,E,be);return h&&Ja(qe,E,y.TEXT),qe},la=function(e,t,h){var E;t==="Size1-Regular"?E="delim-size1":E="delim-size4";var G=d.makeSpan(["delimsizinginner",E],[d.makeSpan([],[d.makeSymbol(e,t,h)])]);return{type:"elem",elem:G}},Io=function(e,t,h){var E=ue["Size4-Regular"][e.charCodeAt(0)]?ue["Size4-Regular"][e.charCodeAt(0)][4]:ue["Size1-Regular"][e.charCodeAt(0)][4],G=new Fr("inner",Re(e,Math.round(1e3*t))),be=new Te([G],{width:dt(E),height:dt(t),style:"width:"+dt(E),viewBox:"0 0 "+1e3*E+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),Ve=d.makeSvgSpan([],[be],h);return Ve.height=t,Ve.style.height=dt(t),Ve.style.width=dt(E),{type:"elem",elem:Ve}},Aa=.008,ja={type:"kern",size:-1*Aa},Ta=["|","\\lvert","\\rvert","\\vert"],Na=["\\|","\\lVert","\\rVert","\\Vert"],Ba=function(e,t,h,E,G,be){var Ve,qe,Wt,lr,yr="",Zr=0;Ve=Wt=lr=e,qe=null;var kr="Size1-Regular";e==="\\uparrow"?Wt=lr="\u23D0":e==="\\Uparrow"?Wt=lr="\u2016":e==="\\downarrow"?Ve=Wt="\u23D0":e==="\\Downarrow"?Ve=Wt="\u2016":e==="\\updownarrow"?(Ve="\\uparrow",Wt="\u23D0",lr="\\downarrow"):e==="\\Updownarrow"?(Ve="\\Uparrow",Wt="\u2016",lr="\\Downarrow"):Ta.includes(e)?(Wt="\u2223",yr="vert",Zr=333):Na.includes(e)?(Wt="\u2225",yr="doublevert",Zr=556):e==="["||e==="\\lbrack"?(Ve="\u23A1",Wt="\u23A2",lr="\u23A3",kr="Size4-Regular",yr="lbrack",Zr=667):e==="]"||e==="\\rbrack"?(Ve="\u23A4",Wt="\u23A5",lr="\u23A6",kr="Size4-Regular",yr="rbrack",Zr=667):e==="\\lfloor"||e==="\u230A"?(Wt=Ve="\u23A2",lr="\u23A3",kr="Size4-Regular",yr="lfloor",Zr=667):e==="\\lceil"||e==="\u2308"?(Ve="\u23A1",Wt=lr="\u23A2",kr="Size4-Regular",yr="lceil",Zr=667):e==="\\rfloor"||e==="\u230B"?(Wt=Ve="\u23A5",lr="\u23A6",kr="Size4-Regular",yr="rfloor",Zr=667):e==="\\rceil"||e==="\u2309"?(Ve="\u23A4",Wt=lr="\u23A5",kr="Size4-Regular",yr="rceil",Zr=667):e==="("||e==="\\lparen"?(Ve="\u239B",Wt="\u239C",lr="\u239D",kr="Size4-Regular",yr="lparen",Zr=875):e===")"||e==="\\rparen"?(Ve="\u239E",Wt="\u239F",lr="\u23A0",kr="Size4-Regular",yr="rparen",Zr=875):e==="\\{"||e==="\\lbrace"?(Ve="\u23A7",qe="\u23A8",lr="\u23A9",Wt="\u23AA",kr="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ve="\u23AB",qe="\u23AC",lr="\u23AD",Wt="\u23AA",kr="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ve="\u23A7",lr="\u23A9",Wt="\u23AA",kr="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ve="\u23AB",lr="\u23AD",Wt="\u23AA",kr="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ve="\u23A7",lr="\u23AD",Wt="\u23AA",kr="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ve="\u23AB",lr="\u23A9",Wt="\u23AA",kr="Size4-Regular");var dn=Pn(Ve,kr,G),gn=dn.height+dn.depth,Nn=Pn(Wt,kr,G),Tn=Nn.height+Nn.depth,ca=Pn(lr,kr,G),va=ca.height+ca.depth,Pa=0,$a=1;if(qe!==null){var Fa=Pn(qe,kr,G);Pa=Fa.height+Fa.depth,$a=2}var Sa=gn+va+Pa,fo=Math.max(0,Math.ceil((t-Sa)/($a*Tn))),Ua=Sa+fo*$a*Tn,Po=E.fontMetrics().axisHeight;h&&(Po*=E.sizeMultiplier);var jo=Ua/2-Po,vo=[];if(yr.length>0){var ri=Ua-gn-va,Oo=Math.round(Ua*1e3),Wo=_e(yr,Math.round(ri*1e3)),Yo=new Fr(yr,Wo),hi=(Zr/1e3).toFixed(3)+"em",Si=(Oo/1e3).toFixed(3)+"em",Vi=new Te([Yo],{width:hi,height:Si,viewBox:"0 0 "+Zr+" "+Oo}),ni=d.makeSvgSpan([],[Vi],E);ni.height=Oo/1e3,ni.style.width=hi,ni.style.height=Si,vo.push({type:"elem",elem:ni})}else{if(vo.push(la(lr,kr,G)),vo.push(ja),qe===null){var Ro=Ua-gn-va+2*Aa;vo.push(Io(Wt,Ro,E))}else{var Mo=(Ua-gn-va-Pa)/2+2*Aa;vo.push(Io(Wt,Mo,E)),vo.push(ja),vo.push(la(qe,kr,G)),vo.push(ja),vo.push(Io(Wt,Mo,E))}vo.push(ja),vo.push(la(Ve,kr,G))}var _a=E.havingBaseStyle(y.TEXT),uo=d.makeVList({positionType:"bottom",positionData:jo,children:vo},_a);return fa(d.makeSpan(["delimsizing","mult"],[uo],_a),y.TEXT,E,be)},ma=80,Ka=.08,La=function(e,t,h,E,G){var be=We(e,E,h),Ve=new Fr(e,be),qe=new Te([Ve],{width:"400em",height:dt(t),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return d.makeSvgSpan(["hide-tail"],[qe],G)},Qa=function(e,t){var h=t.havingBaseSizing(),E=ii("\\surd",e*h.sizeMultiplier,No,h),G=h.sizeMultiplier,be=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),Ve,qe=0,Wt=0,lr=0,yr;return E.type==="small"?(lr=1e3+1e3*be+ma,e<1?G=1:e<1.4&&(G=.7),qe=(1+be+Ka)/G,Wt=(1+be)/G,Ve=La("sqrtMain",qe,lr,be,t),Ve.style.minWidth="0.853em",yr=.833/G):E.type==="large"?(lr=(1e3+ma)*Co[E.size],Wt=(Co[E.size]+be)/G,qe=(Co[E.size]+be+Ka)/G,Ve=La("sqrtSize"+E.size,qe,lr,be,t),Ve.style.minWidth="1.02em",yr=1/G):(qe=e+be+Ka,Wt=e+be,lr=Math.floor(1e3*e+be)+ma,Ve=La("sqrtTall",qe,lr,be,t),Ve.style.minWidth="0.742em",yr=1.056),Ve.height=Wt,Ve.style.height=dt(qe),{span:Ve,advanceWidth:yr,ruleWidth:(t.fontMetrics().sqrtRuleThickness+be)*G}},eo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],lo=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Ao=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Co=[0,1.2,1.8,2.4,3],Ra=function(e,t,h,E,G){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),eo.includes(e)||Ao.includes(e))return so(e,t,!1,h,E,G);if(lo.includes(e))return Ba(e,Co[t],!1,h,E,G);throw new q("Illegal delimiter: '"+e+"'")},Uo=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ho=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"stack"}],No=[{type:"small",style:y.SCRIPTSCRIPT},{type:"small",style:y.SCRIPT},{type:"small",style:y.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],xo=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},ii=function(e,t,h,E){for(var G=Math.min(2,3-E.style.size),be=G;be<h.length&&h[be].type!=="stack";be++){var Ve=Pn(e,xo(h[be]),"math"),qe=Ve.height+Ve.depth;if(h[be].type==="small"){var Wt=E.havingBaseStyle(h[be].style);qe*=Wt.sizeMultiplier}if(qe>t)return h[be]}return h[h.length-1]},Ho=function(e,t,h,E,G,be){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ve;Ao.includes(e)?Ve=Uo:eo.includes(e)?Ve=No:Ve=ho;var qe=ii(e,t,Ve,E);return qe.type==="small"?Ga(e,qe.style,h,E,G,be):qe.type==="large"?so(e,qe.size,h,E,G,be):Ba(e,t,h,E,G,be)},ei=function(e,t,h,E,G,be){var Ve=E.fontMetrics().axisHeight*E.sizeMultiplier,qe=901,Wt=5/E.fontMetrics().ptPerEm,lr=Math.max(t-Ve,h+Ve),yr=Math.max(lr/500*qe,2*lr-Wt);return Ho(e,yr,!0,E,G,be)},zo={sqrtImage:Qa,sizedDelim:Ra,sizeToMaxHeight:Co,customSizedDelim:Ho,leftRightDelim:ei},gi={"\\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}},_o=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function si(u,e){var t=oa(u);if(t&&_o.includes(t.text))return t;throw t?new q("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",u):new q("Invalid delimiter type '"+u.type+"'",u)}rt({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:(u,e)=>{var t=si(e[0],u);return{type:"delimsizing",mode:u.parser.mode,size:gi[u.funcName].size,mclass:gi[u.funcName].mclass,delim:t.text}},htmlBuilder:(u,e)=>u.delim==="."?d.makeSpan([u.mclass]):zo.sizedDelim(u.delim,u.size,e,u.mode,[u.mclass]),mathmlBuilder:u=>{var e=[];u.delim!=="."&&e.push(wr(u.delim,u.mode));var t=new Yt.MathNode("mo",e);u.mclass==="mopen"||u.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var h=dt(zo.sizeToMaxHeight[u.size]);return t.setAttribute("minsize",h),t.setAttribute("maxsize",h),t}});function zi(u){if(!u.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}rt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=u.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:u.parser.mode,delim:si(e[0],u).text,color:t}}}),rt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=si(e[0],u),h=u.parser;++h.leftrightDepth;var E=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);var G=Vr(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:E,left:t.text,right:G.delim,rightColor:G.color}},htmlBuilder:(u,e)=>{zi(u);for(var t=kt(u.body,e,!0,["mopen","mclose"]),h=0,E=0,G=!1,be=0;be<t.length;be++)t[be].isMiddle?G=!0:(h=Math.max(t[be].height,h),E=Math.max(t[be].depth,E));h*=e.sizeMultiplier,E*=e.sizeMultiplier;var Ve;if(u.left==="."?Ve=Me(e,["mopen"]):Ve=zo.leftRightDelim(u.left,h,E,e,u.mode,["mopen"]),t.unshift(Ve),G)for(var qe=1;qe<t.length;qe++){var Wt=t[qe],lr=Wt.isMiddle;lr&&(t[qe]=zo.leftRightDelim(lr.delim,h,E,lr.options,u.mode,[]))}var yr;if(u.right===".")yr=Me(e,["mclose"]);else{var Zr=u.rightColor?e.withColor(u.rightColor):e;yr=zo.leftRightDelim(u.right,h,E,Zr,u.mode,["mclose"])}return t.push(yr),d.makeSpan(["minner"],t,e)},mathmlBuilder:(u,e)=>{zi(u);var t=st(u.body,e);if(u.left!=="."){var h=new Yt.MathNode("mo",[wr(u.left,u.mode)]);h.setAttribute("fence","true"),t.unshift(h)}if(u.right!=="."){var E=new Yt.MathNode("mo",[wr(u.right,u.mode)]);E.setAttribute("fence","true"),u.rightColor&&E.setAttribute("mathcolor",u.rightColor),t.push(E)}return je(t)}}),rt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=si(e[0],u);if(!u.parser.leftrightDepth)throw new q("\\middle without preceding \\left",t);return{type:"middle",mode:u.parser.mode,delim:t.text}},htmlBuilder:(u,e)=>{var t;if(u.delim===".")t=Me(e,[]);else{t=zo.sizedDelim(u.delim,1,e,u.mode,[]);var h={delim:u.delim,options:e};t.isMiddle=h}return t},mathmlBuilder:(u,e)=>{var t=u.delim==="\\vert"||u.delim==="|"?wr("|","text"):wr(u.delim,u.mode),h=new Yt.MathNode("mo",[t]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});var li=(u,e)=>{var t=d.wrapFragment(lt(u.body,e),e),h=u.label.slice(1),E=e.sizeMultiplier,G,be=0,Ve=I.isCharacterBox(u.body);if(h==="sout")G=d.makeSpan(["stretchy","sout"]),G.height=e.fontMetrics().defaultRuleThickness/E,be=-.5*e.fontMetrics().xHeight;else if(h==="phase"){var qe=pt({number:.6,unit:"pt"},e),Wt=pt({number:.35,unit:"ex"},e),lr=e.havingBaseSizing();E=E/lr.sizeMultiplier;var yr=t.height+t.depth+qe+Wt;t.style.paddingLeft=dt(yr/2+qe);var Zr=Math.floor(1e3*yr*E),kr=Le(Zr),dn=new Te([new Fr("phase",kr)],{width:"400em",height:dt(Zr/1e3),viewBox:"0 0 400000 "+Zr,preserveAspectRatio:"xMinYMin slice"});G=d.makeSvgSpan(["hide-tail"],[dn],e),G.style.height=dt(yr),be=t.depth+qe+Wt}else{/cancel/.test(h)?Ve||t.classes.push("cancel-pad"):h==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var gn=0,Nn=0,Tn=0;/box/.test(h)?(Tn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),gn=e.fontMetrics().fboxsep+(h==="colorbox"?0:Tn),Nn=gn):h==="angl"?(Tn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),gn=4*Tn,Nn=Math.max(0,.25-t.depth)):(gn=Ve?.2:0,Nn=gn),G=Jr.encloseSpan(t,h,gn,Nn,e),/fbox|boxed|fcolorbox/.test(h)?(G.style.borderStyle="solid",G.style.borderWidth=dt(Tn)):h==="angl"&&Tn!==.049&&(G.style.borderTopWidth=dt(Tn),G.style.borderRightWidth=dt(Tn)),be=t.depth+Nn,u.backgroundColor&&(G.style.backgroundColor=u.backgroundColor,u.borderColor&&(G.style.borderColor=u.borderColor))}var ca;if(u.backgroundColor)ca=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:G,shift:be},{type:"elem",elem:t,shift:0}]},e);else{var va=/cancel|phase/.test(h)?["svg-align"]:[];ca=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:G,shift:be,wrapperClasses:va}]},e)}return/cancel/.test(h)&&(ca.height=t.height,ca.depth=t.depth),/cancel/.test(h)&&!Ve?d.makeSpan(["mord","cancel-lap"],[ca],e):d.makeSpan(["mord"],[ca],e)},vi=(u,e)=>{var t=0,h=new Yt.MathNode(u.label.indexOf("colorbox")>-1?"mpadded":"menclose",[nr(u.body,e)]);switch(u.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\phase":h.setAttribute("notation","phasorangle");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\angl":h.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*t+"pt"),h.setAttribute("height","+"+2*t+"pt"),h.setAttribute("lspace",t+"pt"),h.setAttribute("voffset",t+"pt"),u.label==="\\fcolorbox"){var E=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);h.setAttribute("style","border: "+E+"em solid "+String(u.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return u.backgroundColor&&h.setAttribute("mathbackground",u.backgroundColor),h};rt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(u,e,t){var{parser:h,funcName:E}=u,G=Vr(e[0],"color-token").color,be=e[1];return{type:"enclose",mode:h.mode,label:E,backgroundColor:G,body:be}},htmlBuilder:li,mathmlBuilder:vi}),rt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(u,e,t){var{parser:h,funcName:E}=u,G=Vr(e[0],"color-token").color,be=Vr(e[1],"color-token").color,Ve=e[2];return{type:"enclose",mode:h.mode,label:E,backgroundColor:be,borderColor:G,body:Ve}},htmlBuilder:li,mathmlBuilder:vi}),rt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(u,e){var{parser:t}=u;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}}),rt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:h}=u,E=e[0];return{type:"enclose",mode:t.mode,label:h,body:E}},htmlBuilder:li,mathmlBuilder:vi}),rt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(u,e){var{parser:t}=u;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var Di={};function wa(u){for(var{type:e,names:t,props:h,handler:E,htmlBuilder:G,mathmlBuilder:be}=u,Ve={type:e,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:E},qe=0;qe<t.length;++qe)Di[t[qe]]=Ve;G&&(It[e]=G),be&&(ve[e]=be)}var Wa={};function Ke(u,e){Wa[u]=e}function za(u){var e=[];u.consumeSpaces();var t=u.fetch().text;for(t==="\\relax"&&(u.consume(),u.consumeSpaces(),t=u.fetch().text);t==="\\hline"||t==="\\hdashline";)u.consume(),e.push(t==="\\hdashline"),u.consumeSpaces(),t=u.fetch().text;return e}var $o=u=>{var e=u.parser.settings;if(!e.displayMode)throw new q("{"+u.envName+"} can be used only in display mode.")};function Do(u){if(u.indexOf("ed")===-1)return u.indexOf("*")===-1}function co(u,e,t){var{hskipBeforeAndAfter:h,addJot:E,cols:G,arraystretch:be,colSeparationType:Ve,autoTag:qe,singleRow:Wt,emptySingleRow:lr,maxNumCols:yr,leqno:Zr}=e;if(u.gullet.beginGroup(),Wt||u.gullet.macros.set("\\cr","\\\\\\relax"),!be){var kr=u.gullet.expandMacroAsText("\\arraystretch");if(kr==null)be=1;else if(be=parseFloat(kr),!be||be<0)throw new q("Invalid \\arraystretch: "+kr)}u.gullet.beginGroup();var dn=[],gn=[dn],Nn=[],Tn=[],ca=qe!=null?[]:void 0;function va(){qe&&u.gullet.macros.set("\\@eqnsw","1",!0)}function Pa(){ca&&(u.gullet.macros.get("\\df@tag")?(ca.push(u.subparse([new De("\\df@tag")])),u.gullet.macros.set("\\df@tag",void 0,!0)):ca.push(!!qe&&u.gullet.macros.get("\\@eqnsw")==="1"))}for(va(),Tn.push(za(u));;){var $a=u.parseExpression(!1,Wt?"\\end":"\\\\");u.gullet.endGroup(),u.gullet.beginGroup(),$a={type:"ordgroup",mode:u.mode,body:$a},t&&($a={type:"styling",mode:u.mode,style:t,body:[$a]}),dn.push($a);var Fa=u.fetch().text;if(Fa==="&"){if(yr&&dn.length===yr){if(Wt||Ve)throw new q("Too many tab characters: &",u.nextToken);u.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}u.consume()}else if(Fa==="\\end"){Pa(),dn.length===1&&$a.type==="styling"&&$a.body[0].body.length===0&&(gn.length>1||!lr)&&gn.pop(),Tn.length<gn.length+1&&Tn.push([]);break}else if(Fa==="\\\\"){u.consume();var Sa=void 0;u.gullet.future().text!==" "&&(Sa=u.parseSizeGroup(!0)),Nn.push(Sa?Sa.value:null),Pa(),Tn.push(za(u)),dn=[],gn.push(dn),va()}else throw new q("Expected & or \\\\ or \\cr or \\end",u.nextToken)}return u.gullet.endGroup(),u.gullet.endGroup(),{type:"array",mode:u.mode,addJot:E,arraystretch:be,body:gn,cols:G,rowGaps:Nn,hskipBeforeAndAfter:h,hLinesBeforeRow:Tn,colSeparationType:Ve,tags:ca,leqno:Zr}}function go(u){return u.slice(0,1)==="d"?"display":"text"}var wo=function(e,t){var h,E,G=e.body.length,be=e.hLinesBeforeRow,Ve=0,qe=new Array(G),Wt=[],lr=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),yr=1/t.fontMetrics().ptPerEm,Zr=5*yr;if(e.colSeparationType&&e.colSeparationType==="small"){var kr=t.havingStyle(y.SCRIPT).sizeMultiplier;Zr=.2778*(kr/t.sizeMultiplier)}var dn=e.colSeparationType==="CD"?pt({number:3,unit:"ex"},t):12*yr,gn=3*yr,Nn=e.arraystretch*dn,Tn=.7*Nn,ca=.3*Nn,va=0;function Pa(zs){for(var Ds=0;Ds<zs.length;++Ds)Ds>0&&(va+=.25),Wt.push({pos:va,isDashed:zs[Ds]})}for(Pa(be[0]),h=0;h<e.body.length;++h){var $a=e.body[h],Fa=Tn,Sa=ca;Ve<$a.length&&(Ve=$a.length);var fo=new Array($a.length);for(E=0;E<$a.length;++E){var Ua=lt($a[E],t);Sa<Ua.depth&&(Sa=Ua.depth),Fa<Ua.height&&(Fa=Ua.height),fo[E]=Ua}var Po=e.rowGaps[h],jo=0;Po&&(jo=pt(Po,t),jo>0&&(jo+=ca,Sa<jo&&(Sa=jo),jo=0)),e.addJot&&(Sa+=gn),fo.height=Fa,fo.depth=Sa,va+=Fa,fo.pos=va,va+=Sa+jo,qe[h]=fo,Pa(be[h+1])}var vo=va/2+t.fontMetrics().axisHeight,ri=e.cols||[],Oo=[],Wo,Yo,hi=[];if(e.tags&&e.tags.some(zs=>zs))for(h=0;h<G;++h){var Si=qe[h],Vi=Si.pos-vo,ni=e.tags[h],Ro=void 0;ni===!0?Ro=d.makeSpan(["eqn-num"],[],t):ni===!1?Ro=d.makeSpan([],[],t):Ro=d.makeSpan([],kt(ni,t,!0),t),Ro.depth=Si.depth,Ro.height=Si.height,hi.push({type:"elem",elem:Ro,shift:Vi})}for(E=0,Yo=0;E<Ve||Yo<ri.length;++E,++Yo){for(var Mo=ri[Yo]||{},_a=!0;Mo.type==="separator";){if(_a||(Wo=d.makeSpan(["arraycolsep"],[]),Wo.style.width=dt(t.fontMetrics().doubleRuleSep),Oo.push(Wo)),Mo.separator==="|"||Mo.separator===":"){var uo=Mo.separator==="|"?"solid":"dashed",bo=d.makeSpan(["vertical-separator"],[],t);bo.style.height=dt(va),bo.style.borderRightWidth=dt(lr),bo.style.borderRightStyle=uo,bo.style.margin="0 "+dt(-lr/2);var To=va-vo;To&&(bo.style.verticalAlign=dt(-To)),Oo.push(bo)}else throw new q("Invalid separator type: "+Mo.separator);Yo++,Mo=ri[Yo]||{},_a=!1}if(!(E>=Ve)){var ai=void 0;(E>0||e.hskipBeforeAndAfter)&&(ai=I.deflt(Mo.pregap,Zr),ai!==0&&(Wo=d.makeSpan(["arraycolsep"],[]),Wo.style.width=dt(ai),Oo.push(Wo)));var Gi=[];for(h=0;h<G;++h){var ns=qe[h],vs=ns[E];if(vs){var _s=ns.pos-vo;vs.depth=ns.depth,vs.height=ns.height,Gi.push({type:"elem",elem:vs,shift:_s})}}Gi=d.makeVList({positionType:"individualShift",children:Gi},t),Gi=d.makeSpan(["col-align-"+(Mo.align||"c")],[Gi]),Oo.push(Gi),(E<Ve-1||e.hskipBeforeAndAfter)&&(ai=I.deflt(Mo.postgap,Zr),ai!==0&&(Wo=d.makeSpan(["arraycolsep"],[]),Wo.style.width=dt(ai),Oo.push(Wo)))}}if(qe=d.makeSpan(["mtable"],Oo),Wt.length>0){for(var Xs=d.makeLineSpan("hline",t,lr),Ys=d.makeLineSpan("hdashline",t,lr),Fs=[{type:"elem",elem:qe,shift:0}];Wt.length>0;){var Hs=Wt.pop(),Ws=Hs.pos-vo;Hs.isDashed?Fs.push({type:"elem",elem:Ys,shift:Ws}):Fs.push({type:"elem",elem:Xs,shift:Ws})}qe=d.makeVList({positionType:"individualShift",children:Fs},t)}if(hi.length===0)return d.makeSpan(["mord"],[qe],t);var bs=d.makeVList({positionType:"individualShift",children:hi},t);return bs=d.makeSpan(["tag"],[bs],t),d.makeFragment([qe,bs])},Ri={c:"center ",l:"left ",r:"right "},Xa=function(e,t){for(var h=[],E=new Yt.MathNode("mtd",[],["mtr-glue"]),G=new Yt.MathNode("mtd",[],["mml-eqn-num"]),be=0;be<e.body.length;be++){for(var Ve=e.body[be],qe=[],Wt=0;Wt<Ve.length;Wt++)qe.push(new Yt.MathNode("mtd",[nr(Ve[Wt],t)]));e.tags&&e.tags[be]&&(qe.unshift(E),qe.push(E),e.leqno?qe.unshift(G):qe.push(G)),h.push(new Yt.MathNode("mtr",qe))}var lr=new Yt.MathNode("mtable",h),yr=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);lr.setAttribute("rowspacing",dt(yr));var Zr="",kr="";if(e.cols&&e.cols.length>0){var dn=e.cols,gn="",Nn=!1,Tn=0,ca=dn.length;dn[0].type==="separator"&&(Zr+="top ",Tn=1),dn[dn.length-1].type==="separator"&&(Zr+="bottom ",ca-=1);for(var va=Tn;va<ca;va++)dn[va].type==="align"?(kr+=Ri[dn[va].align],Nn&&(gn+="none "),Nn=!0):dn[va].type==="separator"&&Nn&&(gn+=dn[va].separator==="|"?"solid ":"dashed ",Nn=!1);lr.setAttribute("columnalign",kr.trim()),/[sd]/.test(gn)&&lr.setAttribute("columnlines",gn.trim())}if(e.colSeparationType==="align"){for(var Pa=e.cols||[],$a="",Fa=1;Fa<Pa.length;Fa++)$a+=Fa%2?"0em ":"1em ";lr.setAttribute("columnspacing",$a.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?lr.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?lr.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?lr.setAttribute("columnspacing","0.5em"):lr.setAttribute("columnspacing","1em");var Sa="",fo=e.hLinesBeforeRow;Zr+=fo[0].length>0?"left ":"",Zr+=fo[fo.length-1].length>0?"right ":"";for(var Ua=1;Ua<fo.length-1;Ua++)Sa+=fo[Ua].length===0?"none ":fo[Ua][0]?"dashed ":"solid ";return/[sd]/.test(Sa)&&lr.setAttribute("rowlines",Sa.trim()),Zr!==""&&(lr=new Yt.MathNode("menclose",[lr]),lr.setAttribute("notation",Zr.trim())),e.arraystretch&&e.arraystretch<1&&(lr=new Yt.MathNode("mstyle",[lr]),lr.setAttribute("scriptlevel","1")),lr},Xi=function(e,t){e.envName.indexOf("ed")===-1&&$o(e);var h=[],E=e.envName.indexOf("at")>-1?"alignat":"align",G=e.envName==="split",be=co(e.parser,{cols:h,addJot:!0,autoTag:G?void 0:Do(e.envName),emptySingleRow:!0,colSeparationType:E,maxNumCols:G?2:void 0,leqno:e.parser.settings.leqno},"display"),Ve,qe=0,Wt={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var lr="",yr=0;yr<t[0].body.length;yr++){var Zr=Vr(t[0].body[yr],"textord");lr+=Zr.text}Ve=Number(lr),qe=Ve*2}var kr=!qe;be.body.forEach(function(Tn){for(var ca=1;ca<Tn.length;ca+=2){var va=Vr(Tn[ca],"styling"),Pa=Vr(va.body[0],"ordgroup");Pa.body.unshift(Wt)}if(kr)qe<Tn.length&&(qe=Tn.length);else{var $a=Tn.length/2;if(Ve<$a)throw new q("Too many math in a row: "+("expected "+Ve+", but got "+$a),Tn[0])}});for(var dn=0;dn<qe;++dn){var gn="r",Nn=0;dn%2===1?gn="l":dn>0&&kr&&(Nn=1),h[dn]={type:"align",align:gn,pregap:Nn,postgap:0}}return be.colSeparationType=kr?"align":"alignat",be};wa({type:"array",names:["array","darray"],props:{numArgs:1},handler(u,e){var t=oa(e[0]),h=t?[e[0]]:Vr(e[0],"ordgroup").body,E=h.map(function(be){var Ve=En(be),qe=Ve.text;if("lcr".indexOf(qe)!==-1)return{type:"align",align:qe};if(qe==="|")return{type:"separator",separator:"|"};if(qe===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+qe,be)}),G={cols:E,hskipBeforeAndAfter:!0,maxNumCols:E.length};return co(u.parser,G,go(u.envName))},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(u){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[u.envName.replace("*","")],t="c",h={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(u.envName.charAt(u.envName.length-1)==="*"){var E=u.parser;if(E.consumeSpaces(),E.fetch().text==="["){if(E.consume(),E.consumeSpaces(),t=E.fetch().text,"lcr".indexOf(t)===-1)throw new q("Expected l or c or r",E.nextToken);E.consume(),E.consumeSpaces(),E.expect("]"),E.consume(),h.cols=[{type:"align",align:t}]}}var G=co(u.parser,h,go(u.envName)),be=Math.max(0,...G.body.map(Ve=>Ve.length));return G.cols=new Array(be).fill({type:"align",align:t}),e?{type:"leftright",mode:u.mode,body:[G],left:e[0],right:e[1],rightColor:void 0}:G},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(u){var e={arraystretch:.5},t=co(u.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["subarray"],props:{numArgs:1},handler(u,e){var t=oa(e[0]),h=t?[e[0]]:Vr(e[0],"ordgroup").body,E=h.map(function(be){var Ve=En(be),qe=Ve.text;if("lc".indexOf(qe)!==-1)return{type:"align",align:qe};throw new q("Unknown column alignment: "+qe,be)});if(E.length>1)throw new q("{subarray} can contain only one column");var G={cols:E,hskipBeforeAndAfter:!1,arraystretch:.5};if(G=co(u.parser,G,"script"),G.body.length>0&&G.body[0].length>1)throw new q("{subarray} can contain only one column");return G},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(u){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=co(u.parser,e,go(u.envName));return{type:"leftright",mode:u.mode,body:[t],left:u.envName.indexOf("r")>-1?".":"\\{",right:u.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Xi,htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(u){["gather","gather*"].includes(u.envName)&&$o(u);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Do(u.envName),emptySingleRow:!0,leqno:u.parser.settings.leqno};return co(u.parser,e,"display")},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Xi,htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(u){$o(u);var e={autoTag:Do(u.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:u.parser.settings.leqno};return co(u.parser,e,"display")},htmlBuilder:wo,mathmlBuilder:Xa}),wa({type:"array",names:["CD"],props:{numArgs:0},handler(u){return $o(u),sa(u.parser)},htmlBuilder:wo,mathmlBuilder:Xa}),Ke("\\nonumber","\\gdef\\@eqnsw{0}"),Ke("\\notag","\\nonumber"),rt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(u,e){throw new q(u.funcName+" valid only within array environment")}});var Ei=Di;rt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(u,e){var{parser:t,funcName:h}=u,E=e[0];if(E.type!=="ordgroup")throw new q("Invalid environment name",E);for(var G="",be=0;be<E.body.length;++be)G+=Vr(E.body[be],"textord").text;if(h==="\\begin"){if(!Ei.hasOwnProperty(G))throw new q("No such environment: "+G,E);var Ve=Ei[G],{args:qe,optArgs:Wt}=t.parseArguments("\\begin{"+G+"}",Ve),lr={mode:t.mode,envName:G,parser:t},yr=Ve.handler(lr,qe,Wt);t.expect("\\end",!1);var Zr=t.nextToken,kr=Vr(t.parseFunction(),"environment");if(kr.name!==G)throw new q("Mismatch: \\begin{"+G+"} matched by \\end{"+kr.name+"}",Zr);return yr}return{type:"environment",mode:t.mode,name:G,nameGroup:E}}});var Fi=(u,e)=>{var t=u.font,h=e.withFont(t);return lt(u.body,h)},Ss=(u,e)=>{var t=u.font,h=e.withFont(t);return nr(u.body,h)},ci={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};rt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=Kt(e[0]),G=h;return G in ci&&(G=ci[G]),{type:"font",mode:t.mode,font:G.slice(1),body:E}},htmlBuilder:Fi,mathmlBuilder:Ss}),rt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(u,e)=>{var{parser:t}=u,h=e[0],E=I.isCharacterBox(h);return{type:"mclass",mode:t.mode,mclass:ea(h),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:h}],isCharacterBox:E}}}),rt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:h,breakOnTokenText:E}=u,{mode:G}=t,be=t.parseExpression(!0,E),Ve="math"+h.slice(1);return{type:"font",mode:G,font:Ve,body:{type:"ordgroup",mode:t.mode,body:be}}},htmlBuilder:Fi,mathmlBuilder:Ss});var ss=(u,e)=>{var t=e;return u==="display"?t=t.id>=y.SCRIPT.id?t.text():y.DISPLAY:u==="text"&&t.size===y.DISPLAY.size?t=y.TEXT:u==="script"?t=y.SCRIPT:u==="scriptscript"&&(t=y.SCRIPTSCRIPT),t},ls=(u,e)=>{var t=ss(u.size,e.style),h=t.fracNum(),E=t.fracDen(),G;G=e.havingStyle(h);var be=lt(u.numer,G,e);if(u.continued){var Ve=8.5/e.fontMetrics().ptPerEm,qe=3.5/e.fontMetrics().ptPerEm;be.height=be.height<Ve?Ve:be.height,be.depth=be.depth<qe?qe:be.depth}G=e.havingStyle(E);var Wt=lt(u.denom,G,e),lr,yr,Zr;u.hasBarLine?(u.barSize?(yr=pt(u.barSize,e),lr=d.makeLineSpan("frac-line",e,yr)):lr=d.makeLineSpan("frac-line",e),yr=lr.height,Zr=lr.height):(lr=null,yr=0,Zr=e.fontMetrics().defaultRuleThickness);var kr,dn,gn;t.size===y.DISPLAY.size||u.size==="display"?(kr=e.fontMetrics().num1,yr>0?dn=3*Zr:dn=7*Zr,gn=e.fontMetrics().denom1):(yr>0?(kr=e.fontMetrics().num2,dn=Zr):(kr=e.fontMetrics().num3,dn=3*Zr),gn=e.fontMetrics().denom2);var Nn;if(lr){var ca=e.fontMetrics().axisHeight;kr-be.depth-(ca+.5*yr)<dn&&(kr+=dn-(kr-be.depth-(ca+.5*yr))),ca-.5*yr-(Wt.height-gn)<dn&&(gn+=dn-(ca-.5*yr-(Wt.height-gn)));var va=-(ca-.5*yr);Nn=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Wt,shift:gn},{type:"elem",elem:lr,shift:va},{type:"elem",elem:be,shift:-kr}]},e)}else{var Tn=kr-be.depth-(Wt.height-gn);Tn<dn&&(kr+=.5*(dn-Tn),gn+=.5*(dn-Tn)),Nn=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Wt,shift:gn},{type:"elem",elem:be,shift:-kr}]},e)}G=e.havingStyle(t),Nn.height*=G.sizeMultiplier/e.sizeMultiplier,Nn.depth*=G.sizeMultiplier/e.sizeMultiplier;var Pa;t.size===y.DISPLAY.size?Pa=e.fontMetrics().delim1:t.size===y.SCRIPTSCRIPT.size?Pa=e.havingStyle(y.SCRIPT).fontMetrics().delim2:Pa=e.fontMetrics().delim2;var $a,Fa;return u.leftDelim==null?$a=Me(e,["mopen"]):$a=zo.customSizedDelim(u.leftDelim,Pa,!0,e.havingStyle(t),u.mode,["mopen"]),u.continued?Fa=d.makeSpan([]):u.rightDelim==null?Fa=Me(e,["mclose"]):Fa=zo.customSizedDelim(u.rightDelim,Pa,!0,e.havingStyle(t),u.mode,["mclose"]),d.makeSpan(["mord"].concat(G.sizingClasses(e)),[$a,d.makeSpan(["mfrac"],[Nn]),Fa],e)},ui=(u,e)=>{var t=new Yt.MathNode("mfrac",[nr(u.numer,e),nr(u.denom,e)]);if(!u.hasBarLine)t.setAttribute("linethickness","0px");else if(u.barSize){var h=pt(u.barSize,e);t.setAttribute("linethickness",dt(h))}var E=ss(u.size,e.style);if(E.size!==e.style.size){t=new Yt.MathNode("mstyle",[t]);var G=E.size===y.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",G),t.setAttribute("scriptlevel","0")}if(u.leftDelim!=null||u.rightDelim!=null){var be=[];if(u.leftDelim!=null){var Ve=new Yt.MathNode("mo",[new Yt.TextNode(u.leftDelim.replace("\\",""))]);Ve.setAttribute("fence","true"),be.push(Ve)}if(be.push(t),u.rightDelim!=null){var qe=new Yt.MathNode("mo",[new Yt.TextNode(u.rightDelim.replace("\\",""))]);qe.setAttribute("fence","true"),be.push(qe)}return je(be)}return t};rt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=e[0],G=e[1],be,Ve=null,qe=null,Wt="auto";switch(h){case"\\dfrac":case"\\frac":case"\\tfrac":be=!0;break;case"\\\\atopfrac":be=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":be=!1,Ve="(",qe=")";break;case"\\\\bracefrac":be=!1,Ve="\\{",qe="\\}";break;case"\\\\brackfrac":be=!1,Ve="[",qe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(h){case"\\dfrac":case"\\dbinom":Wt="display";break;case"\\tfrac":case"\\tbinom":Wt="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:E,denom:G,hasBarLine:be,leftDelim:Ve,rightDelim:qe,size:Wt,barSize:null}},htmlBuilder:ls,mathmlBuilder:ui}),rt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=e[0],G=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:E,denom:G,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),rt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(u){var{parser:e,funcName:t,token:h}=u,E;switch(t){case"\\over":E="\\frac";break;case"\\choose":E="\\binom";break;case"\\atop":E="\\\\atopfrac";break;case"\\brace":E="\\\\bracefrac";break;case"\\brack":E="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:E,token:h}}});var Yi=["display","text","script","scriptscript"],Cs=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};rt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(u,e){var{parser:t}=u,h=e[4],E=e[5],G=Kt(e[0]),be=G.type==="atom"&&G.family==="open"?Cs(G.text):null,Ve=Kt(e[1]),qe=Ve.type==="atom"&&Ve.family==="close"?Cs(Ve.text):null,Wt=Vr(e[2],"size"),lr,yr=null;Wt.isBlank?lr=!0:(yr=Wt.value,lr=yr.number>0);var Zr="auto",kr=e[3];if(kr.type==="ordgroup"){if(kr.body.length>0){var dn=Vr(kr.body[0],"textord");Zr=Yi[Number(dn.text)]}}else kr=Vr(kr,"textord"),Zr=Yi[Number(kr.text)];return{type:"genfrac",mode:t.mode,numer:h,denom:E,continued:!1,hasBarLine:lr,barSize:yr,leftDelim:be,rightDelim:qe,size:Zr}},htmlBuilder:ls,mathmlBuilder:ui}),rt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(u,e){var{parser:t,funcName:h,token:E}=u;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:Vr(e[0],"size").value,token:E}}}),rt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=e[0],G=F(Vr(e[1],"infix").size),be=e[2],Ve=G.number>0;return{type:"genfrac",mode:t.mode,numer:E,denom:be,continued:!1,hasBarLine:Ve,barSize:G,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ls,mathmlBuilder:ui});var fs=(u,e)=>{var t=e.style,h,E;u.type==="supsub"?(h=u.sup?lt(u.sup,e.havingStyle(t.sup()),e):lt(u.sub,e.havingStyle(t.sub()),e),E=Vr(u.base,"horizBrace")):E=Vr(u,"horizBrace");var G=lt(E.base,e.havingBaseStyle(y.DISPLAY)),be=Jr.svgSpan(E,e),Ve;if(E.isOver?(Ve=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:G},{type:"kern",size:.1},{type:"elem",elem:be}]},e),Ve.children[0].children[0].children[1].classes.push("svg-align")):(Ve=d.makeVList({positionType:"bottom",positionData:G.depth+.1+be.height,children:[{type:"elem",elem:be},{type:"kern",size:.1},{type:"elem",elem:G}]},e),Ve.children[0].children[0].children[0].classes.push("svg-align")),h){var qe=d.makeSpan(["mord",E.isOver?"mover":"munder"],[Ve],e);E.isOver?Ve=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:qe},{type:"kern",size:.2},{type:"elem",elem:h}]},e):Ve=d.makeVList({positionType:"bottom",positionData:qe.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:qe}]},e)}return d.makeSpan(["mord",E.isOver?"mover":"munder"],[Ve],e)},Ts=(u,e)=>{var t=Jr.mathMLnode(u.label);return new Yt.MathNode(u.isOver?"mover":"munder",[nr(u.base,e),t])};rt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:h}=u;return{type:"horizBrace",mode:t.mode,label:h,isOver:/^\\over/.test(h),base:e[0]}},htmlBuilder:fs,mathmlBuilder:Ts}),rt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,h=e[1],E=Vr(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:E})?{type:"href",mode:t.mode,href:E,body:ct(h)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(u,e)=>{var t=kt(u.body,e,!1);return d.makeAnchor(u.href,[],t,e)},mathmlBuilder:(u,e)=>{var t=qt(u.body,e);return t instanceof Zt||(t=new Zt("mrow",[t])),t.setAttribute("href",u.href),t}}),rt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,h=Vr(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:h}))return t.formatUnsupportedCmd("\\url");for(var E=[],G=0;G<h.length;G++){var be=h[G];be==="~"&&(be="\\textasciitilde"),E.push({type:"textord",mode:"text",text:be})}var Ve={type:"text",mode:t.mode,font:"\\texttt",body:E};return{type:"href",mode:t.mode,href:h,body:ct(Ve)}}}),rt({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(u,e){var{parser:t}=u;return{type:"hbox",mode:t.mode,body:ct(e[0])}},htmlBuilder(u,e){var t=kt(u.body,e,!1);return d.makeFragment(t)},mathmlBuilder(u,e){return new Yt.MathNode("mrow",st(u.body,e))}}),rt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:h,token:E}=u,G=Vr(e[0],"raw").string,be=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ve,qe={};switch(h){case"\\htmlClass":qe.class=G,Ve={command:"\\htmlClass",class:G};break;case"\\htmlId":qe.id=G,Ve={command:"\\htmlId",id:G};break;case"\\htmlStyle":qe.style=G,Ve={command:"\\htmlStyle",style:G};break;case"\\htmlData":{for(var Wt=G.split(","),lr=0;lr<Wt.length;lr++){var yr=Wt[lr].split("=");if(yr.length!==2)throw new q("Error parsing key-value for \\htmlData");qe["data-"+yr[0].trim()]=yr[1].trim()}Ve={command:"\\htmlData",attributes:qe};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(Ve)?{type:"html",mode:t.mode,attributes:qe,body:ct(be)}:t.formatUnsupportedCmd(h)},htmlBuilder:(u,e)=>{var t=kt(u.body,e,!1),h=["enclosing"];u.attributes.class&&h.push(...u.attributes.class.trim().split(/\s+/));var E=d.makeSpan(h,t,e);for(var G in u.attributes)G!=="class"&&u.attributes.hasOwnProperty(G)&&E.setAttribute(G,u.attributes[G]);return E},mathmlBuilder:(u,e)=>qt(u.body,e)}),rt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u;return{type:"htmlmathml",mode:t.mode,html:ct(e[0]),mathml:ct(e[1])}},htmlBuilder:(u,e)=>{var t=kt(u.html,e,!1);return d.makeFragment(t)},mathmlBuilder:(u,e)=>qt(u.mathml,e)});var ki=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 q("Invalid size: '"+e+"' in \\includegraphics");var h={number:+(t[1]+t[2]),unit:t[3]};if(!yt(h))throw new q("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};rt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(u,e,t)=>{var{parser:h}=u,E={number:0,unit:"em"},G={number:.9,unit:"em"},be={number:0,unit:"em"},Ve="";if(t[0])for(var qe=Vr(t[0],"raw").string,Wt=qe.split(","),lr=0;lr<Wt.length;lr++){var yr=Wt[lr].split("=");if(yr.length===2){var Zr=yr[1].trim();switch(yr[0].trim()){case"alt":Ve=Zr;break;case"width":E=ki(Zr);break;case"height":G=ki(Zr);break;case"totalheight":be=ki(Zr);break;default:throw new q("Invalid key: '"+yr[0]+"' in \\includegraphics.")}}}var kr=Vr(e[0],"url").url;return Ve===""&&(Ve=kr,Ve=Ve.replace(/^.*[\\/]/,""),Ve=Ve.substring(0,Ve.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:kr})?{type:"includegraphics",mode:h.mode,alt:Ve,width:E,height:G,totalheight:be,src:kr}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(u,e)=>{var t=pt(u.height,e),h=0;u.totalheight.number>0&&(h=pt(u.totalheight,e)-t);var E=0;u.width.number>0&&(E=pt(u.width,e));var G={height:dt(t+h)};E>0&&(G.width=dt(E)),h>0&&(G.verticalAlign=dt(-h));var be=new H(u.src,u.alt,G);return be.height=t,be.depth=h,be},mathmlBuilder:(u,e)=>{var t=new Yt.MathNode("mglyph",[]);t.setAttribute("alt",u.alt);var h=pt(u.height,e),E=0;if(u.totalheight.number>0&&(E=pt(u.totalheight,e)-h,t.setAttribute("valign",dt(-E))),t.setAttribute("height",dt(h+E)),u.width.number>0){var G=pt(u.width,e);t.setAttribute("width",dt(G))}return t.setAttribute("src",u.src),t}}),rt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(u,e){var{parser:t,funcName:h}=u,E=Vr(e[0],"size");if(t.settings.strict){var G=h[1]==="m",be=E.value.unit==="mu";G?(be||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+E.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):be&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:E.value}},htmlBuilder(u,e){return d.makeGlue(u.dimension,e)},mathmlBuilder(u,e){var t=pt(u.dimension,e);return new Yt.SpaceNode(t)}}),rt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=e[0];return{type:"lap",mode:t.mode,alignment:h.slice(5),body:E}},htmlBuilder:(u,e)=>{var t;u.alignment==="clap"?(t=d.makeSpan([],[lt(u.body,e)]),t=d.makeSpan(["inner"],[t],e)):t=d.makeSpan(["inner"],[lt(u.body,e)]);var h=d.makeSpan(["fix"],[]),E=d.makeSpan([u.alignment],[t,h],e),G=d.makeSpan(["strut"]);return G.style.height=dt(E.height+E.depth),E.depth&&(G.style.verticalAlign=dt(-E.depth)),E.children.unshift(G),E=d.makeSpan(["thinbox"],[E],e),d.makeSpan(["mord","vbox"],[E],e)},mathmlBuilder:(u,e)=>{var t=new Yt.MathNode("mpadded",[nr(u.body,e)]);if(u.alignment!=="rlap"){var h=u.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",h+"width")}return t.setAttribute("width","0px"),t}}),rt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){var{funcName:t,parser:h}=u,E=h.mode;h.switchMode("math");var G=t==="\\("?"\\)":"$",be=h.parseExpression(!1,G);return h.expect(G),h.switchMode(E),{type:"styling",mode:h.mode,style:"text",body:be}}}),rt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){throw new q("Mismatched "+u.funcName)}});var bi=(u,e)=>{switch(e.style.size){case y.DISPLAY.size:return u.display;case y.TEXT.size:return u.text;case y.SCRIPT.size:return u.script;case y.SCRIPTSCRIPT.size:return u.scriptscript;default:return u.text}};rt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(u,e)=>{var{parser:t}=u;return{type:"mathchoice",mode:t.mode,display:ct(e[0]),text:ct(e[1]),script:ct(e[2]),scriptscript:ct(e[3])}},htmlBuilder:(u,e)=>{var t=bi(u,e),h=kt(t,e,!1);return d.makeFragment(h)},mathmlBuilder:(u,e)=>{var t=bi(u,e);return qt(t,e)}});var di=(u,e,t,h,E,G,be)=>{u=d.makeSpan([],[u]);var Ve=t&&I.isCharacterBox(t),qe,Wt;if(e){var lr=lt(e,h.havingStyle(E.sup()),h);Wt={elem:lr,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-lr.depth)}}if(t){var yr=lt(t,h.havingStyle(E.sub()),h);qe={elem:yr,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-yr.height)}}var Zr;if(Wt&&qe){var kr=h.fontMetrics().bigOpSpacing5+qe.elem.height+qe.elem.depth+qe.kern+u.depth+be;Zr=d.makeVList({positionType:"bottom",positionData:kr,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:dt(-G)},{type:"kern",size:qe.kern},{type:"elem",elem:u},{type:"kern",size:Wt.kern},{type:"elem",elem:Wt.elem,marginLeft:dt(G)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(qe){var dn=u.height-be;Zr=d.makeVList({positionType:"top",positionData:dn,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:dt(-G)},{type:"kern",size:qe.kern},{type:"elem",elem:u}]},h)}else if(Wt){var gn=u.depth+be;Zr=d.makeVList({positionType:"bottom",positionData:gn,children:[{type:"elem",elem:u},{type:"kern",size:Wt.kern},{type:"elem",elem:Wt.elem,marginLeft:dt(G)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return u;var Nn=[Zr];if(qe&&G!==0&&!Ve){var Tn=d.makeSpan(["mspace"],[],h);Tn.style.marginRight=dt(G),Nn.unshift(Tn)}return d.makeSpan(["mop","op-limits"],Nn,h)},ms=["\\smallint"],Xo=(u,e)=>{var t,h,E=!1,G;u.type==="supsub"?(t=u.sup,h=u.sub,G=Vr(u.base,"op"),E=!0):G=Vr(u,"op");var be=e.style,Ve=!1;be.size===y.DISPLAY.size&&G.symbol&&!ms.includes(G.name)&&(Ve=!0);var qe;if(G.symbol){var Wt=Ve?"Size2-Regular":"Size1-Regular",lr="";if((G.name==="\\oiint"||G.name==="\\oiiint")&&(lr=G.name.slice(1),G.name=lr==="oiint"?"\\iint":"\\iiint"),qe=d.makeSymbol(G.name,Wt,"math",e,["mop","op-symbol",Ve?"large-op":"small-op"]),lr.length>0){var yr=qe.italic,Zr=d.staticSvg(lr+"Size"+(Ve?"2":"1"),e);qe=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qe,shift:0},{type:"elem",elem:Zr,shift:Ve?.08:0}]},e),G.name="\\"+lr,qe.classes.unshift("mop"),qe.italic=yr}}else if(G.body){var kr=kt(G.body,e,!0);kr.length===1&&kr[0]instanceof ae?(qe=kr[0],qe.classes[0]="mop"):qe=d.makeSpan(["mop"],kr,e)}else{for(var dn=[],gn=1;gn<G.name.length;gn++)dn.push(d.mathsym(G.name[gn],G.mode,e));qe=d.makeSpan(["mop"],dn,e)}var Nn=0,Tn=0;return(qe instanceof ae||G.name==="\\oiint"||G.name==="\\oiiint")&&!G.suppressBaseShift&&(Nn=(qe.height-qe.depth)/2-e.fontMetrics().axisHeight,Tn=qe.italic),E?di(qe,t,h,e,be,Tn,Nn):(Nn&&(qe.style.position="relative",qe.style.top=dt(Nn)),qe)},yi=(u,e)=>{var t;if(u.symbol)t=new Zt("mo",[wr(u.name,u.mode)]),ms.includes(u.name)&&t.setAttribute("largeop","false");else if(u.body)t=new Zt("mo",st(u.body,e));else{t=new Zt("mi",[new Tt(u.name.slice(1))]);var h=new Zt("mo",[wr("\u2061","text")]);u.parentIsSupSub?t=new Zt("mrow",[t,h]):t=vr([t,h])}return t},Ia={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};rt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=h;return E.length===1&&(E=Ia[E]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:E}},htmlBuilder:Xo,mathmlBuilder:yi}),rt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var{parser:t}=u,h=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ct(h)}},htmlBuilder:Xo,mathmlBuilder:yi});var Os={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};rt({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(u){var{parser:e,funcName:t}=u;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:Xo,mathmlBuilder:yi}),rt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(u){var{parser:e,funcName:t}=u;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:Xo,mathmlBuilder:yi}),rt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(u){var{parser:e,funcName:t}=u,h=t;return h.length===1&&(h=Os[h]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:Xo,mathmlBuilder:yi});var ps=(u,e)=>{var t,h,E=!1,G;u.type==="supsub"?(t=u.sup,h=u.sub,G=Vr(u.base,"operatorname"),E=!0):G=Vr(u,"operatorname");var be;if(G.body.length>0){for(var Ve=G.body.map(yr=>{var Zr=yr.text;return typeof Zr=="string"?{type:"textord",mode:yr.mode,text:Zr}:yr}),qe=kt(Ve,e.withFont("mathrm"),!0),Wt=0;Wt<qe.length;Wt++){var lr=qe[Wt];lr instanceof ae&&(lr.text=lr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}be=d.makeSpan(["mop"],qe,e)}else be=d.makeSpan(["mop"],[],e);return E?di(be,t,h,e,e.style,0,0):be},Bs=(u,e)=>{for(var t=st(u.body,e.withFont("mathrm")),h=!0,E=0;E<t.length;E++){var G=t[E];if(!(G instanceof Yt.SpaceNode))if(G instanceof Yt.MathNode)switch(G.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var be=G.children[0];G.children.length===1&&be instanceof Yt.TextNode?be.text=be.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){var Ve=t.map(lr=>lr.toText()).join("");t=[new Yt.TextNode(Ve)]}var qe=new Yt.MathNode("mi",t);qe.setAttribute("mathvariant","normal");var Wt=new Yt.MathNode("mo",[wr("\u2061","text")]);return u.parentIsSupSub?new Yt.MathNode("mrow",[qe,Wt]):Yt.newDocumentFragment([qe,Wt])};rt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(u,e)=>{var{parser:t,funcName:h}=u,E=e[0];return{type:"operatorname",mode:t.mode,body:ct(E),alwaysHandleSupSub:h==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ps,mathmlBuilder:Bs}),Ke("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),gt({type:"ordgroup",htmlBuilder(u,e){return u.semisimple?d.makeFragment(kt(u.body,e,!1)):d.makeSpan(["mord"],kt(u.body,e,!0),e)},mathmlBuilder(u,e){return qt(u.body,e,!0)}}),rt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(u,e){var{parser:t}=u,h=e[0];return{type:"overline",mode:t.mode,body:h}},htmlBuilder(u,e){var t=lt(u.body,e.havingCrampedStyle()),h=d.makeLineSpan("overline-line",e),E=e.fontMetrics().defaultRuleThickness,G=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*E},{type:"elem",elem:h},{type:"kern",size:E}]},e);return d.makeSpan(["mord","overline"],[G],e)},mathmlBuilder(u,e){var t=new Yt.MathNode("mo",[new Yt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var h=new Yt.MathNode("mover",[nr(u.body,e),t]);return h.setAttribute("accent","true"),h}}),rt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,h=e[0];return{type:"phantom",mode:t.mode,body:ct(h)}},htmlBuilder:(u,e)=>{var t=kt(u.body,e.withPhantom(),!1);return d.makeFragment(t)},mathmlBuilder:(u,e)=>{var t=st(u.body,e);return new Yt.MathNode("mphantom",t)}}),rt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,h=e[0];return{type:"hphantom",mode:t.mode,body:h}},htmlBuilder:(u,e)=>{var t=d.makeSpan([],[lt(u.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var h=0;h<t.children.length;h++)t.children[h].height=0,t.children[h].depth=0;return t=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e),d.makeSpan(["mord"],[t],e)},mathmlBuilder:(u,e)=>{var t=st(ct(u.body),e),h=new Yt.MathNode("mphantom",t),E=new Yt.MathNode("mpadded",[h]);return E.setAttribute("height","0px"),E.setAttribute("depth","0px"),E}}),rt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,h=e[0];return{type:"vphantom",mode:t.mode,body:h}},htmlBuilder:(u,e)=>{var t=d.makeSpan(["inner"],[lt(u.body,e.withPhantom())]),h=d.makeSpan(["fix"],[]);return d.makeSpan(["mord","rlap"],[t,h],e)},mathmlBuilder:(u,e)=>{var t=st(ct(u.body),e),h=new Yt.MathNode("mphantom",t),E=new Yt.MathNode("mpadded",[h]);return E.setAttribute("width","0px"),E}}),rt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(u,e){var{parser:t}=u,h=Vr(e[0],"size").value,E=e[1];return{type:"raisebox",mode:t.mode,dy:h,body:E}},htmlBuilder(u,e){var t=lt(u.body,e),h=pt(u.dy,e);return d.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(u,e){var t=new Yt.MathNode("mpadded",[nr(u.body,e)]),h=u.dy.number+u.dy.unit;return t.setAttribute("voffset",h),t}}),rt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(u){var{parser:e}=u;return{type:"internal",mode:e.mode}}}),rt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(u,e,t){var{parser:h}=u,E=t[0],G=Vr(e[0],"size"),be=Vr(e[1],"size");return{type:"rule",mode:h.mode,shift:E&&Vr(E,"size").value,width:G.value,height:be.value}},htmlBuilder(u,e){var t=d.makeSpan(["mord","rule"],[],e),h=pt(u.width,e),E=pt(u.height,e),G=u.shift?pt(u.shift,e):0;return t.style.borderRightWidth=dt(h),t.style.borderTopWidth=dt(E),t.style.bottom=dt(G),t.width=h,t.height=E+G,t.depth=-G,t.maxFontSize=E*1.125*e.sizeMultiplier,t},mathmlBuilder(u,e){var t=pt(u.width,e),h=pt(u.height,e),E=u.shift?pt(u.shift,e):0,G=e.color&&e.getColor()||"black",be=new Yt.MathNode("mspace");be.setAttribute("mathbackground",G),be.setAttribute("width",dt(t)),be.setAttribute("height",dt(h));var Ve=new Yt.MathNode("mpadded",[be]);return E>=0?Ve.setAttribute("height",dt(E)):(Ve.setAttribute("height",dt(E)),Ve.setAttribute("depth",dt(-E))),Ve.setAttribute("voffset",dt(E)),Ve}});function Hi(u,e,t){for(var h=kt(u,e,!1),E=e.sizeMultiplier/t.sizeMultiplier,G=0;G<h.length;G++){var be=h[G].classes.indexOf("sizing");be<0?Array.prototype.push.apply(h[G].classes,e.sizingClasses(t)):h[G].classes[be+1]==="reset-size"+e.size&&(h[G].classes[be+1]="reset-size"+t.size),h[G].height*=E,h[G].depth*=E}return d.makeFragment(h)}var ti=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],xi=(u,e)=>{var t=e.havingSize(u.size);return Hi(u.body,t,e)};rt({type:"sizing",names:ti,props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{breakOnTokenText:t,funcName:h,parser:E}=u,G=E.parseExpression(!1,t);return{type:"sizing",mode:E.mode,size:ti.indexOf(h)+1,body:G}},htmlBuilder:xi,mathmlBuilder:(u,e)=>{var t=e.havingSize(u.size),h=st(u.body,t),E=new Yt.MathNode("mstyle",h);return E.setAttribute("mathsize",dt(t.sizeMultiplier)),E}}),rt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(u,e,t)=>{var{parser:h}=u,E=!1,G=!1,be=t[0]&&Vr(t[0],"ordgroup");if(be)for(var Ve="",qe=0;qe<be.body.length;++qe){var Wt=be.body[qe];if(Ve=Wt.text,Ve==="t")E=!0;else if(Ve==="b")G=!0;else{E=!1,G=!1;break}}else E=!0,G=!0;var lr=e[0];return{type:"smash",mode:h.mode,body:lr,smashHeight:E,smashDepth:G}},htmlBuilder:(u,e)=>{var t=d.makeSpan([],[lt(u.body,e)]);if(!u.smashHeight&&!u.smashDepth)return t;if(u.smashHeight&&(t.height=0,t.children))for(var h=0;h<t.children.length;h++)t.children[h].height=0;if(u.smashDepth&&(t.depth=0,t.children))for(var E=0;E<t.children.length;E++)t.children[E].depth=0;var G=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e);return d.makeSpan(["mord"],[G],e)},mathmlBuilder:(u,e)=>{var t=new Yt.MathNode("mpadded",[nr(u.body,e)]);return u.smashHeight&&t.setAttribute("height","0px"),u.smashDepth&&t.setAttribute("depth","0px"),t}}),rt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(u,e,t){var{parser:h}=u,E=t[0],G=e[0];return{type:"sqrt",mode:h.mode,body:G,index:E}},htmlBuilder(u,e){var t=lt(u.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=d.wrapFragment(t,e);var h=e.fontMetrics(),E=h.defaultRuleThickness,G=E;e.style.id<y.TEXT.id&&(G=e.fontMetrics().xHeight);var be=E+G/4,Ve=t.height+t.depth+be+E,{span:qe,ruleWidth:Wt,advanceWidth:lr}=zo.sqrtImage(Ve,e),yr=qe.height-Wt;yr>t.height+t.depth+be&&(be=(be+yr-t.height-t.depth)/2);var Zr=qe.height-t.height-be-Wt;t.style.paddingLeft=dt(lr);var kr=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+Zr)},{type:"elem",elem:qe},{type:"kern",size:Wt}]},e);if(u.index){var dn=e.havingStyle(y.SCRIPTSCRIPT),gn=lt(u.index,dn,e),Nn=.6*(kr.height-kr.depth),Tn=d.makeVList({positionType:"shift",positionData:-Nn,children:[{type:"elem",elem:gn}]},e),ca=d.makeSpan(["root"],[Tn]);return d.makeSpan(["mord","sqrt"],[ca,kr],e)}else return d.makeSpan(["mord","sqrt"],[kr],e)},mathmlBuilder(u,e){var{body:t,index:h}=u;return h?new Yt.MathNode("mroot",[nr(t,e),nr(h,e)]):new Yt.MathNode("msqrt",[nr(t,e)])}});var Es={display:y.DISPLAY,text:y.TEXT,script:y.SCRIPT,scriptscript:y.SCRIPTSCRIPT};rt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u,e){var{breakOnTokenText:t,funcName:h,parser:E}=u,G=E.parseExpression(!0,t),be=h.slice(1,h.length-5);return{type:"styling",mode:E.mode,style:be,body:G}},htmlBuilder(u,e){var t=Es[u.style],h=e.havingStyle(t).withFont("");return Hi(u.body,h,e)},mathmlBuilder(u,e){var t=Es[u.style],h=e.havingStyle(t),E=st(u.body,h),G=new Yt.MathNode("mstyle",E),be={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ve=be[u.style];return G.setAttribute("scriptlevel",Ve[0]),G.setAttribute("displaystyle",Ve[1]),G}});var Ls=function(e,t){var h=e.base;if(h)if(h.type==="op"){var E=h.limits&&(t.style.size===y.DISPLAY.size||h.alwaysHandleSupSub);return E?Xo:null}else if(h.type==="operatorname"){var G=h.alwaysHandleSupSub&&(t.style.size===y.DISPLAY.size||h.limits);return G?ps:null}else{if(h.type==="accent")return I.isCharacterBox(h.base)?_n:null;if(h.type==="horizBrace"){var be=!e.sub;return be===h.isOver?fs:null}else return null}else return null};gt({type:"supsub",htmlBuilder(u,e){var t=Ls(u,e);if(t)return t(u,e);var{base:h,sup:E,sub:G}=u,be=lt(h,e),Ve,qe,Wt=e.fontMetrics(),lr=0,yr=0,Zr=h&&I.isCharacterBox(h);if(E){var kr=e.havingStyle(e.style.sup());Ve=lt(E,kr,e),Zr||(lr=be.height-kr.fontMetrics().supDrop*kr.sizeMultiplier/e.sizeMultiplier)}if(G){var dn=e.havingStyle(e.style.sub());qe=lt(G,dn,e),Zr||(yr=be.depth+dn.fontMetrics().subDrop*dn.sizeMultiplier/e.sizeMultiplier)}var gn;e.style===y.DISPLAY?gn=Wt.sup1:e.style.cramped?gn=Wt.sup3:gn=Wt.sup2;var Nn=e.sizeMultiplier,Tn=dt(.5/Wt.ptPerEm/Nn),ca=null;if(qe){var va=u.base&&u.base.type==="op"&&u.base.name&&(u.base.name==="\\oiint"||u.base.name==="\\oiiint");(be instanceof ae||va)&&(ca=dt(-be.italic))}var Pa;if(Ve&&qe){lr=Math.max(lr,gn,Ve.depth+.25*Wt.xHeight),yr=Math.max(yr,Wt.sub2);var $a=Wt.defaultRuleThickness,Fa=4*$a;if(lr-Ve.depth-(qe.height-yr)<Fa){yr=Fa-(lr-Ve.depth)+qe.height;var Sa=.8*Wt.xHeight-(lr-Ve.depth);Sa>0&&(lr+=Sa,yr-=Sa)}var fo=[{type:"elem",elem:qe,shift:yr,marginRight:Tn,marginLeft:ca},{type:"elem",elem:Ve,shift:-lr,marginRight:Tn}];Pa=d.makeVList({positionType:"individualShift",children:fo},e)}else if(qe){yr=Math.max(yr,Wt.sub1,qe.height-.8*Wt.xHeight);var Ua=[{type:"elem",elem:qe,marginLeft:ca,marginRight:Tn}];Pa=d.makeVList({positionType:"shift",positionData:yr,children:Ua},e)}else if(Ve)lr=Math.max(lr,gn,Ve.depth+.25*Wt.xHeight),Pa=d.makeVList({positionType:"shift",positionData:-lr,children:[{type:"elem",elem:Ve,marginRight:Tn}]},e);else throw new Error("supsub must have either sup or sub.");var Po=Fe(be,"right")||"mord";return d.makeSpan([Po],[be,d.makeSpan(["msupsub"],[Pa])],e)},mathmlBuilder(u,e){var t=!1,h,E;u.base&&u.base.type==="horizBrace"&&(E=!!u.sup,E===u.base.isOver&&(t=!0,h=u.base.isOver)),u.base&&(u.base.type==="op"||u.base.type==="operatorname")&&(u.base.parentIsSupSub=!0);var G=[nr(u.base,e)];u.sub&&G.push(nr(u.sub,e)),u.sup&&G.push(nr(u.sup,e));var be;if(t)be=h?"mover":"munder";else if(u.sub)if(u.sup){var Wt=u.base;Wt&&Wt.type==="op"&&Wt.limits&&e.style===y.DISPLAY||Wt&&Wt.type==="operatorname"&&Wt.alwaysHandleSupSub&&(e.style===y.DISPLAY||Wt.limits)?be="munderover":be="msubsup"}else{var qe=u.base;qe&&qe.type==="op"&&qe.limits&&(e.style===y.DISPLAY||qe.alwaysHandleSupSub)||qe&&qe.type==="operatorname"&&qe.alwaysHandleSupSub&&(qe.limits||e.style===y.DISPLAY)?be="munder":be="msub"}else{var Ve=u.base;Ve&&Ve.type==="op"&&Ve.limits&&(e.style===y.DISPLAY||Ve.alwaysHandleSupSub)||Ve&&Ve.type==="operatorname"&&Ve.alwaysHandleSupSub&&(Ve.limits||e.style===y.DISPLAY)?be="mover":be="msup"}return new Yt.MathNode(be,G)}}),gt({type:"atom",htmlBuilder(u,e){return d.mathsym(u.text,u.mode,e,["m"+u.family])},mathmlBuilder(u,e){var t=new Yt.MathNode("mo",[wr(u.text,u.mode)]);if(u.family==="bin"){var h=vt(u,e);h==="bold-italic"&&t.setAttribute("mathvariant",h)}else u.family==="punct"?t.setAttribute("separator","true"):(u.family==="open"||u.family==="close")&&t.setAttribute("stretchy","false");return t}});var qi={mi:"italic",mn:"normal",mtext:"normal"};gt({type:"mathord",htmlBuilder(u,e){return d.makeOrd(u,e,"mathord")},mathmlBuilder(u,e){var t=new Yt.MathNode("mi",[wr(u.text,u.mode,e)]),h=vt(u,e)||"italic";return h!==qi[t.type]&&t.setAttribute("mathvariant",h),t}}),gt({type:"textord",htmlBuilder(u,e){return d.makeOrd(u,e,"textord")},mathmlBuilder(u,e){var t=wr(u.text,u.mode,e),h=vt(u,e)||"normal",E;return u.mode==="text"?E=new Yt.MathNode("mtext",[t]):/[0-9]/.test(u.text)?E=new Yt.MathNode("mn",[t]):u.text==="\\prime"?E=new Yt.MathNode("mo",[t]):E=new Yt.MathNode("mi",[t]),h!==qi[E.type]&&E.setAttribute("mathvariant",h),E}});var Ii={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ai={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};gt({type:"spacing",htmlBuilder(u,e){if(Ai.hasOwnProperty(u.text)){var t=Ai[u.text].className||"";if(u.mode==="text"){var h=d.makeOrd(u,e,"textord");return h.classes.push(t),h}else return d.makeSpan(["mspace",t],[d.mathsym(u.text,u.mode,e)],e)}else{if(Ii.hasOwnProperty(u.text))return d.makeSpan(["mspace",Ii[u.text]],[],e);throw new q('Unknown type of space "'+u.text+'"')}},mathmlBuilder(u,e){var t;if(Ai.hasOwnProperty(u.text))t=new Yt.MathNode("mtext",[new Yt.TextNode("\xA0")]);else{if(Ii.hasOwnProperty(u.text))return new Yt.MathNode("mspace");throw new q('Unknown type of space "'+u.text+'"')}return t}});var Ji=()=>{var u=new Yt.MathNode("mtd",[]);return u.setAttribute("width","50%"),u};gt({type:"tag",mathmlBuilder(u,e){var t=new Yt.MathNode("mtable",[new Yt.MathNode("mtr",[Ji(),new Yt.MathNode("mtd",[qt(u.body,e)]),Ji(),new Yt.MathNode("mtd",[qt(u.tag,e)])])]);return t.setAttribute("width","100%"),t}});var Wi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Is={"\\textbf":"textbf","\\textmd":"textmd"},cs={"\\textit":"textit","\\textup":"textup"},us=(u,e)=>{var t=u.font;if(t){if(Wi[t])return e.withTextFontFamily(Wi[t]);if(Is[t])return e.withTextFontWeight(Is[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(cs[t])};rt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(u,e){var{parser:t,funcName:h}=u,E=e[0];return{type:"text",mode:t.mode,body:ct(E),font:h}},htmlBuilder(u,e){var t=us(u,e),h=kt(u.body,t,!0);return d.makeSpan(["mord","text"],h,t)},mathmlBuilder(u,e){var t=us(u,e);return qt(u.body,t)}}),rt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(u,e){var{parser:t}=u;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(u,e){var t=lt(u.body,e),h=d.makeLineSpan("underline-line",e),E=e.fontMetrics().defaultRuleThickness,G=d.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:E},{type:"elem",elem:h},{type:"kern",size:3*E},{type:"elem",elem:t}]},e);return d.makeSpan(["mord","underline"],[G],e)},mathmlBuilder(u,e){var t=new Yt.MathNode("mo",[new Yt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var h=new Yt.MathNode("munder",[nr(u.body,e),t]);return h.setAttribute("accentunder","true"),h}}),rt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(u,e){var{parser:t}=u;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(u,e){var t=lt(u.body,e),h=e.fontMetrics().axisHeight,E=.5*(t.height-h-(t.depth+h));return d.makeVList({positionType:"shift",positionData:E,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(u,e){return new Yt.MathNode("mpadded",[nr(u.body,e)],["vcenter"])}}),rt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(u,e,t){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(u,e){for(var t=ft(u),h=[],E=e.havingStyle(e.style.text()),G=0;G<t.length;G++){var be=t[G];be==="~"&&(be="\\textasciitilde"),h.push(d.makeSymbol(be,"Typewriter-Regular",u.mode,E,["mord","texttt"]))}return d.makeSpan(["mord","text"].concat(E.sizingClasses(e)),d.tryCombineChars(h),E)},mathmlBuilder(u,e){var t=new Yt.TextNode(ft(u)),h=new Yt.MathNode("mtext",[t]);return h.setAttribute("mathvariant","monospace"),h}});var ft=u=>u.body.replace(/ /g,u.star?"\u2423":"\xA0"),Zo=Pt,Ui=`[ \r
]`,Zi="\\\\[a-zA-Z@]+",ds="\\\\[^\uD800-\uDFFF]",$i="("+Zi+")"+Ui+"*",gs=`\\\\(
|[ \r ]+
?)[ \r ]*`,Qi="[\u0300-\u036F]",Pi=new RegExp(Qi+"+$"),wi="("+Ui+"+)|"+(gs+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Qi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Qi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+$i)+("|"+ds+")");class hs{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(wi,"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 De("EOF",new B(this,t,t));var h=this.tokenRegex.exec(e);if(h===null||h.index!==t)throw new q("Unexpected character: '"+e[t]+"'",new De(e[t],new B(this,t,t+1)));var E=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[E]===14){var G=e.indexOf(`
`,this.tokenRegex.lastIndex);return G===-1?(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=G+1,this.lex()}return new De(E,new B(this,t,this.tokenRegex.lastIndex))}}class es{constructor(e,t){e===void 0&&(e={}),t===void 0&&(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(this.undefStack.length===0)throw new q("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)&&(e[t]==null?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,h){if(h===void 0&&(h=!1),h){for(var E=0;E<this.undefStack.length;E++)delete this.undefStack[E][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var G=this.undefStack[this.undefStack.length-1];G&&!G.hasOwnProperty(e)&&(G[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}}var ts=Wa;Ke("\\noexpand",function(u){var e=u.popToken();return u.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),Ke("\\expandafter",function(u){var e=u.popToken();return u.expandOnce(!0),{tokens:[e],numArgs:0}}),Ke("\\@firstoftwo",function(u){var e=u.consumeArgs(2);return{tokens:e[0],numArgs:0}}),Ke("\\@secondoftwo",function(u){var e=u.consumeArgs(2);return{tokens:e[1],numArgs:0}}),Ke("\\@ifnextchar",function(u){var e=u.consumeArgs(3);u.consumeSpaces();var t=u.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),Ke("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ke("\\TextOrMath",function(u){var e=u.consumeArgs(2);return u.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var rs={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};Ke("\\char",function(u){var e=u.popToken(),t,h="";if(e.text==="'")t=8,e=u.popToken();else if(e.text==='"')t=16,e=u.popToken();else if(e.text==="`")if(e=u.popToken(),e.text[0]==="\\")h=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new q("\\char` missing argument");h=e.text.charCodeAt(0)}else t=10;if(t){if(h=rs[e.text],h==null||h>=t)throw new q("Invalid base-"+t+" digit "+e.text);for(var E;(E=rs[u.future().text])!=null&&E<t;)h*=t,h+=E,u.popToken()}return"\\@char{"+h+"}"});var N=(u,e,t,h)=>{var E=u.consumeArg().tokens;if(E.length!==1)throw new q("\\newcommand's first argument must be a macro name");var G=E[0].text,be=u.isDefined(G);if(be&&!e)throw new q("\\newcommand{"+G+"} attempting to redefine "+(G+"; use \\renewcommand"));if(!be&&!t)throw new q("\\renewcommand{"+G+"} when command "+G+" does not yet exist; use \\newcommand");var Ve=0;if(E=u.consumeArg().tokens,E.length===1&&E[0].text==="["){for(var qe="",Wt=u.expandNextToken();Wt.text!=="]"&&Wt.text!=="EOF";)qe+=Wt.text,Wt=u.expandNextToken();if(!qe.match(/^\s*[0-9]+\s*$/))throw new q("Invalid number of arguments: "+qe);Ve=parseInt(qe),E=u.consumeArg().tokens}return be&&h||u.macros.set(G,{tokens:E,numArgs:Ve}),""};Ke("\\newcommand",u=>N(u,!1,!0,!1)),Ke("\\renewcommand",u=>N(u,!0,!1,!1)),Ke("\\providecommand",u=>N(u,!0,!0,!0)),Ke("\\message",u=>{var e=u.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""}),Ke("\\errmessage",u=>{var e=u.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""}),Ke("\\show",u=>{var e=u.popToken(),t=e.text;return console.log(e,u.macros.get(t),Zo[t],sr.math[t],sr.text[t]),""}),Ke("\\bgroup","{"),Ke("\\egroup","}"),Ke("~","\\nobreakspace"),Ke("\\lq","`"),Ke("\\rq","'"),Ke("\\aa","\\r a"),Ke("\\AA","\\r A"),Ke("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ke("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ke("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ke("\u212C","\\mathscr{B}"),Ke("\u2130","\\mathscr{E}"),Ke("\u2131","\\mathscr{F}"),Ke("\u210B","\\mathscr{H}"),Ke("\u2110","\\mathscr{I}"),Ke("\u2112","\\mathscr{L}"),Ke("\u2133","\\mathscr{M}"),Ke("\u211B","\\mathscr{R}"),Ke("\u212D","\\mathfrak{C}"),Ke("\u210C","\\mathfrak{H}"),Ke("\u2128","\\mathfrak{Z}"),Ke("\\Bbbk","\\Bbb{k}"),Ke("\xB7","\\cdotp"),Ke("\\llap","\\mathllap{\\textrm{#1}}"),Ke("\\rlap","\\mathrlap{\\textrm{#1}}"),Ke("\\clap","\\mathclap{\\textrm{#1}}"),Ke("\\mathstrut","\\vphantom{(}"),Ke("\\underbar","\\underline{\\text{#1}}"),Ke("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ke("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ke("\\ne","\\neq"),Ke("\u2260","\\neq"),Ke("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ke("\u2209","\\notin"),Ke("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ke("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ke("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ke("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ke("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ke("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ke("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ke("\u27C2","\\perp"),Ke("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ke("\u220C","\\notni"),Ke("\u231C","\\ulcorner"),Ke("\u231D","\\urcorner"),Ke("\u231E","\\llcorner"),Ke("\u231F","\\lrcorner"),Ke("\xA9","\\copyright"),Ke("\xAE","\\textregistered"),Ke("\uFE0F","\\textregistered"),Ke("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Ke("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Ke("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Ke("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Ke("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Ke("\u22EE","\\vdots"),Ke("\\varGamma","\\mathit{\\Gamma}"),Ke("\\varDelta","\\mathit{\\Delta}"),Ke("\\varTheta","\\mathit{\\Theta}"),Ke("\\varLambda","\\mathit{\\Lambda}"),Ke("\\varXi","\\mathit{\\Xi}"),Ke("\\varPi","\\mathit{\\Pi}"),Ke("\\varSigma","\\mathit{\\Sigma}"),Ke("\\varUpsilon","\\mathit{\\Upsilon}"),Ke("\\varPhi","\\mathit{\\Phi}"),Ke("\\varPsi","\\mathit{\\Psi}"),Ke("\\varOmega","\\mathit{\\Omega}"),Ke("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ke("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Ke("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ke("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ke("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ke("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Ke("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Ke("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var $e={",":"\\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"};Ke("\\dots",function(u){var e="\\dotso",t=u.expandAfterFuture().text;return t in $e?e=$e[t]:(t.slice(0,4)==="\\not"||t in sr.math&&["bin","rel"].includes(sr.math[t].group))&&(e="\\dotsb"),e});var Bt={")":!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};Ke("\\dotso",function(u){var e=u.future().text;return e in Bt?"\\ldots\\,":"\\ldots"}),Ke("\\dotsc",function(u){var e=u.future().text;return e in Bt&&e!==","?"\\ldots\\,":"\\ldots"}),Ke("\\cdots",function(u){var e=u.future().text;return e in Bt?"\\@cdots\\,":"\\@cdots"}),Ke("\\dotsb","\\cdots"),Ke("\\dotsm","\\cdots"),Ke("\\dotsi","\\!\\cdots"),Ke("\\dotsx","\\ldots\\,"),Ke("\\DOTSI","\\relax"),Ke("\\DOTSB","\\relax"),Ke("\\DOTSX","\\relax"),Ke("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ke("\\,","\\tmspace+{3mu}{.1667em}"),Ke("\\thinspace","\\,"),Ke("\\>","\\mskip{4mu}"),Ke("\\:","\\tmspace+{4mu}{.2222em}"),Ke("\\medspace","\\:"),Ke("\\;","\\tmspace+{5mu}{.2777em}"),Ke("\\thickspace","\\;"),Ke("\\!","\\tmspace-{3mu}{.1667em}"),Ke("\\negthinspace","\\!"),Ke("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ke("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ke("\\enspace","\\kern.5em "),Ke("\\enskip","\\hskip.5em\\relax"),Ke("\\quad","\\hskip1em\\relax"),Ke("\\qquad","\\hskip2em\\relax"),Ke("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ke("\\tag@paren","\\tag@literal{({#1})}"),Ke("\\tag@literal",u=>{if(u.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ke("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ke("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ke("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ke("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ke("\\newline","\\\\\\relax"),Ke("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var tr=dt(ue["Main-Regular"][84][1]-.7*ue["Main-Regular"][65][1]);Ke("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+tr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ke("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+tr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ke("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ke("\\@hspace","\\hskip #1\\relax"),Ke("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ke("\\ordinarycolon",":"),Ke("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ke("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ke("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ke("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ke("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ke("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ke("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ke("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ke("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ke("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ke("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ke("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ke("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ke("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ke("\u2237","\\dblcolon"),Ke("\u2239","\\eqcolon"),Ke("\u2254","\\coloneqq"),Ke("\u2255","\\eqqcolon"),Ke("\u2A74","\\Coloneqq"),Ke("\\ratio","\\vcentcolon"),Ke("\\coloncolon","\\dblcolon"),Ke("\\colonequals","\\coloneqq"),Ke("\\coloncolonequals","\\Coloneqq"),Ke("\\equalscolon","\\eqqcolon"),Ke("\\equalscoloncolon","\\Eqqcolon"),Ke("\\colonminus","\\coloneq"),Ke("\\coloncolonminus","\\Coloneq"),Ke("\\minuscolon","\\eqcolon"),Ke("\\minuscoloncolon","\\Eqcolon"),Ke("\\coloncolonapprox","\\Colonapprox"),Ke("\\coloncolonsim","\\Colonsim"),Ke("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ke("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ke("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ke("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ke("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ke("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ke("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ke("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Ke("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Ke("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Ke("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Ke("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Ke("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Ke("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ke("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ke("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ke("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ke("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ke("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ke("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ke("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ke("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ke("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ke("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ke("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ke("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ke("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ke("\\imath","\\html@mathml{\\@imath}{\u0131}"),Ke("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Ke("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ke("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ke("\u27E6","\\llbracket"),Ke("\u27E7","\\rrbracket"),Ke("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ke("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ke("\u2983","\\lBrace"),Ke("\u2984","\\rBrace"),Ke("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),Ke("\u29B5","\\minuso"),Ke("\\darr","\\downarrow"),Ke("\\dArr","\\Downarrow"),Ke("\\Darr","\\Downarrow"),Ke("\\lang","\\langle"),Ke("\\rang","\\rangle"),Ke("\\uarr","\\uparrow"),Ke("\\uArr","\\Uparrow"),Ke("\\Uarr","\\Uparrow"),Ke("\\N","\\mathbb{N}"),Ke("\\R","\\mathbb{R}"),Ke("\\Z","\\mathbb{Z}"),Ke("\\alef","\\aleph"),Ke("\\alefsym","\\aleph"),Ke("\\Alpha","\\mathrm{A}"),Ke("\\Beta","\\mathrm{B}"),Ke("\\bull","\\bullet"),Ke("\\Chi","\\mathrm{X}"),Ke("\\clubs","\\clubsuit"),Ke("\\cnums","\\mathbb{C}"),Ke("\\Complex","\\mathbb{C}"),Ke("\\Dagger","\\ddagger"),Ke("\\diamonds","\\diamondsuit"),Ke("\\empty","\\emptyset"),Ke("\\Epsilon","\\mathrm{E}"),Ke("\\Eta","\\mathrm{H}"),Ke("\\exist","\\exists"),Ke("\\harr","\\leftrightarrow"),Ke("\\hArr","\\Leftrightarrow"),Ke("\\Harr","\\Leftrightarrow"),Ke("\\hearts","\\heartsuit"),Ke("\\image","\\Im"),Ke("\\infin","\\infty"),Ke("\\Iota","\\mathrm{I}"),Ke("\\isin","\\in"),Ke("\\Kappa","\\mathrm{K}"),Ke("\\larr","\\leftarrow"),Ke("\\lArr","\\Leftarrow"),Ke("\\Larr","\\Leftarrow"),Ke("\\lrarr","\\leftrightarrow"),Ke("\\lrArr","\\Leftrightarrow"),Ke("\\Lrarr","\\Leftrightarrow"),Ke("\\Mu","\\mathrm{M}"),Ke("\\natnums","\\mathbb{N}"),Ke("\\Nu","\\mathrm{N}"),Ke("\\Omicron","\\mathrm{O}"),Ke("\\plusmn","\\pm"),Ke("\\rarr","\\rightarrow"),Ke("\\rArr","\\Rightarrow"),Ke("\\Rarr","\\Rightarrow"),Ke("\\real","\\Re"),Ke("\\reals","\\mathbb{R}"),Ke("\\Reals","\\mathbb{R}"),Ke("\\Rho","\\mathrm{P}"),Ke("\\sdot","\\cdot"),Ke("\\sect","\\S"),Ke("\\spades","\\spadesuit"),Ke("\\sub","\\subset"),Ke("\\sube","\\subseteq"),Ke("\\supe","\\supseteq"),Ke("\\Tau","\\mathrm{T}"),Ke("\\thetasym","\\vartheta"),Ke("\\weierp","\\wp"),Ke("\\Zeta","\\mathrm{Z}"),Ke("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ke("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ke("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ke("\\bra","\\mathinner{\\langle{#1}|}"),Ke("\\ket","\\mathinner{|{#1}\\rangle}"),Ke("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Ke("\\Bra","\\left\\langle#1\\right|"),Ke("\\Ket","\\left|#1\\right\\rangle");var Sr=u=>e=>{var t=e.consumeArg().tokens,h=e.consumeArg().tokens,E=e.consumeArg().tokens,G=e.consumeArg().tokens,be=e.macros.get("|"),Ve=e.macros.get("\\|");e.macros.beginGroup();var qe=yr=>Zr=>{u&&(Zr.macros.set("|",be),E.length&&Zr.macros.set("\\|",Ve));var kr=yr;if(!yr&&E.length){var dn=Zr.future();dn.text==="|"&&(Zr.popToken(),kr=!0)}return{tokens:kr?E:h,numArgs:0}};e.macros.set("|",qe(!1)),E.length&&e.macros.set("\\|",qe(!0));var Wt=e.consumeArg().tokens,lr=e.expandTokens([...G,...Wt,...t]);return e.macros.endGroup(),{tokens:lr.reverse(),numArgs:0}};Ke("\\bra@ket",Sr(!1)),Ke("\\bra@set",Sr(!0)),Ke("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Ke("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Ke("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Ke("\\angln","{\\angl n}"),Ke("\\blue","\\textcolor{##6495ed}{#1}"),Ke("\\orange","\\textcolor{##ffa500}{#1}"),Ke("\\pink","\\textcolor{##ff00af}{#1}"),Ke("\\red","\\textcolor{##df0030}{#1}"),Ke("\\green","\\textcolor{##28ae7b}{#1}"),Ke("\\gray","\\textcolor{gray}{#1}"),Ke("\\purple","\\textcolor{##9d38bd}{#1}"),Ke("\\blueA","\\textcolor{##ccfaff}{#1}"),Ke("\\blueB","\\textcolor{##80f6ff}{#1}"),Ke("\\blueC","\\textcolor{##63d9ea}{#1}"),Ke("\\blueD","\\textcolor{##11accd}{#1}"),Ke("\\blueE","\\textcolor{##0c7f99}{#1}"),Ke("\\tealA","\\textcolor{##94fff5}{#1}"),Ke("\\tealB","\\textcolor{##26edd5}{#1}"),Ke("\\tealC","\\textcolor{##01d1c1}{#1}"),Ke("\\tealD","\\textcolor{##01a995}{#1}"),Ke("\\tealE","\\textcolor{##208170}{#1}"),Ke("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ke("\\greenB","\\textcolor{##8af281}{#1}"),Ke("\\greenC","\\textcolor{##74cf70}{#1}"),Ke("\\greenD","\\textcolor{##1fab54}{#1}"),Ke("\\greenE","\\textcolor{##0d923f}{#1}"),Ke("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ke("\\goldB","\\textcolor{##ffbb71}{#1}"),Ke("\\goldC","\\textcolor{##ff9c39}{#1}"),Ke("\\goldD","\\textcolor{##e07d10}{#1}"),Ke("\\goldE","\\textcolor{##a75a05}{#1}"),Ke("\\redA","\\textcolor{##fca9a9}{#1}"),Ke("\\redB","\\textcolor{##ff8482}{#1}"),Ke("\\redC","\\textcolor{##f9685d}{#1}"),Ke("\\redD","\\textcolor{##e84d39}{#1}"),Ke("\\redE","\\textcolor{##bc2612}{#1}"),Ke("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ke("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ke("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ke("\\maroonD","\\textcolor{##ca337c}{#1}"),Ke("\\maroonE","\\textcolor{##9e034e}{#1}"),Ke("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ke("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ke("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ke("\\purpleD","\\textcolor{##7854ab}{#1}"),Ke("\\purpleE","\\textcolor{##543b78}{#1}"),Ke("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ke("\\mintB","\\textcolor{##edf2df}{#1}"),Ke("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ke("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ke("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ke("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ke("\\grayD","\\textcolor{##d6d8da}{#1}"),Ke("\\grayE","\\textcolor{##babec2}{#1}"),Ke("\\grayF","\\textcolor{##888d93}{#1}"),Ke("\\grayG","\\textcolor{##626569}{#1}"),Ke("\\grayH","\\textcolor{##3b3e40}{#1}"),Ke("\\grayI","\\textcolor{##21242c}{#1}"),Ke("\\kaBlue","\\textcolor{##314453}{#1}"),Ke("\\kaGreen","\\textcolor{##71B307}{#1}");var _r={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class un{constructor(e,t,h){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 es(ts,t.macros),this.mode=h,this.stack=[]}feed(e){this.lexer=new hs(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&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,h,E;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:E,end:h}=this.consumeArg(["]"])}else({tokens:E,start:t,end:h}=this.consumeArg());return this.pushToken(new De("EOF",h.loc)),this.pushTokens(E),new De("",B.range(t,h))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],h=e&&e.length>0;h||this.consumeSpaces();var E=this.future(),G,be=0,Ve=0;do{if(G=this.popToken(),t.push(G),G.text==="{")++be;else if(G.text==="}"){if(--be,be===-1)throw new q("Extra }",G)}else if(G.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(e&&h?e[Ve]:"}")+"'",G);if(e&&h)if((be===0||be===1&&e[Ve]==="{")&&G.text===e[Ve]){if(++Ve,Ve===e.length){t.splice(-Ve,Ve);break}}else Ve=0}while(be!==0||h);return E.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:E,end:G}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new q("The length of delimiters doesn't match the number of args!");for(var h=t[0],E=0;E<h.length;E++){var G=this.popToken();if(h[E]!==G.text)throw new q("Use of the macro doesn't match its definition",G)}}for(var be=[],Ve=0;Ve<e;Ve++)be.push(this.consumeArg(t&&t[Ve+1]).tokens);return be}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),h=t.text,E=t.noexpand?null:this._getExpansion(h);if(E==null||e&&E.unexpandable){if(e&&E==null&&h[0]==="\\"&&!this.isDefined(h))throw new q("Undefined control sequence: "+h);return this.pushToken(t),!1}this.countExpansion(1);var G=E.tokens,be=this.consumeArgs(E.numArgs,E.delimiters);if(E.numArgs){G=G.slice();for(var Ve=G.length-1;Ve>=0;--Ve){var qe=G[Ve];if(qe.text==="#"){if(Ve===0)throw new q("Incomplete placeholder at end of macro body",qe);if(qe=G[--Ve],qe.text==="#")G.splice(Ve+1,1);else if(/^[1-9]$/.test(qe.text))G.splice(Ve,2,...be[+qe.text-1]);else throw new q("Not a valid argument number",qe)}}}return this.pushTokens(G),G.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){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 De(e)]):void 0}expandTokens(e){var t=[],h=this.stack.length;for(this.pushTokens(e);this.stack.length>h;)if(this.expandOnce(!0)===!1){var E=this.stack.pop();E.treatAsRelax&&(E.noexpand=!1,E.treatAsRelax=!1),t.push(E)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(h=>h.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var h=this.lexer.catcodes[e];if(h!=null&&h!==13)return}var E=typeof t=="function"?t(this):t;if(typeof E=="string"){var G=0;if(E.indexOf("#")!==-1)for(var be=E.replace(/##/g,"");be.indexOf("#"+(G+1))!==-1;)++G;for(var Ve=new hs(E,this.settings),qe=[],Wt=Ve.lex();Wt.text!=="EOF";)qe.push(Wt),Wt=Ve.lex();qe.reverse();var lr={tokens:qe,numArgs:G};return lr}return E}isDefined(e){return this.macros.has(e)||Zo.hasOwnProperty(e)||sr.math.hasOwnProperty(e)||sr.text.hasOwnProperty(e)||_r.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Zo.hasOwnProperty(e)&&!Zo[e].primitive}}var ta=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,re=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),r={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},a={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"};class l{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 un(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(t===void 0&&(t=!0),this.fetch().text!==e)throw new q("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(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 De("}")),this.gullet.pushTokens(e);var h=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,h}parseExpression(e,t){for(var h=[];;){this.mode==="math"&&this.consumeSpaces();var E=this.fetch();if(l.endOfExpression.indexOf(E.text)!==-1||t&&E.text===t||e&&Zo[E.text]&&Zo[E.text].infix)break;var G=this.parseAtom(t);if(G){if(G.type==="internal")continue}else break;h.push(G)}return this.mode==="text"&&this.formLigatures(h),this.handleInfixNodes(h)}handleInfixNodes(e){for(var t=-1,h,E=0;E<e.length;E++)if(e[E].type==="infix"){if(t!==-1)throw new q("only one infix operator per group",e[E].token);t=E,h=e[E].replaceWith}if(t!==-1&&h){var G,be,Ve=e.slice(0,t),qe=e.slice(t+1);Ve.length===1&&Ve[0].type==="ordgroup"?G=Ve[0]:G={type:"ordgroup",mode:this.mode,body:Ve},qe.length===1&&qe[0].type==="ordgroup"?be=qe[0]:be={type:"ordgroup",mode:this.mode,body:qe};var Wt;return h==="\\\\abovefrac"?Wt=this.callFunction(h,[G,e[t],be],[]):Wt=this.callFunction(h,[G,be],[]),[Wt]}else return e}handleSupSubscript(e){var t=this.fetch(),h=t.text;this.consume(),this.consumeSpaces();var E;do{var G;E=this.parseGroup(e)}while(((G=E)==null?void 0:G.type)==="internal");if(!E)throw new q("Expected group after '"+h+"'",t);return E}formatUnsupportedCmd(e){for(var t=[],h=0;h<e.length;h++)t.push({type:"textord",mode:"text",text:e[h]});var E={type:"text",mode:this.mode,body:t},G={type:"color",mode:this.mode,color:this.settings.errorColor,body:[E]};return G}parseAtom(e){var t=this.parseGroup("atom",e);if((t==null?void 0:t.type)==="internal"||this.mode==="text")return t;for(var h,E;;){this.consumeSpaces();var G=this.fetch();if(G.text==="\\limits"||G.text==="\\nolimits"){if(t&&t.type==="op"){var be=G.text==="\\limits";t.limits=be,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=G.text==="\\limits");else throw new q("Limit controls must follow a math operator",G);this.consume()}else if(G.text==="^"){if(h)throw new q("Double superscript",G);h=this.handleSupSubscript("superscript")}else if(G.text==="_"){if(E)throw new q("Double subscript",G);E=this.handleSupSubscript("subscript")}else if(G.text==="'"){if(h)throw new q("Double superscript",G);var Ve={type:"textord",mode:this.mode,text:"\\prime"},qe=[Ve];for(this.consume();this.fetch().text==="'";)qe.push(Ve),this.consume();this.fetch().text==="^"&&qe.push(this.handleSupSubscript("superscript")),h={type:"ordgroup",mode:this.mode,body:qe}}else if(re[G.text]){var Wt=ta.test(G.text),lr=[];for(lr.push(new De(re[G.text])),this.consume();;){var yr=this.fetch().text;if(!re[yr]||ta.test(yr)!==Wt)break;lr.unshift(new De(re[yr])),this.consume()}var Zr=this.subparse(lr);Wt?E={type:"ordgroup",mode:"math",body:Zr}:h={type:"ordgroup",mode:"math",body:Zr}}else break}return h||E?{type:"supsub",mode:this.mode,base:t,sup:h,sub:E}:t}parseFunction(e,t){var h=this.fetch(),E=h.text,G=Zo[E];if(!G)return null;if(this.consume(),t&&t!=="atom"&&!G.allowedInArgument)throw new q("Got function '"+E+"' with no arguments"+(t?" as "+t:""),h);if(this.mode==="text"&&!G.allowedInText)throw new q("Can't use function '"+E+"' in text mode",h);if(this.mode==="math"&&G.allowedInMath===!1)throw new q("Can't use function '"+E+"' in math mode",h);var{args:be,optArgs:Ve}=this.parseArguments(E,G);return this.callFunction(E,be,Ve,h,e)}callFunction(e,t,h,E,G){var be={funcName:e,parser:this,token:E,breakOnTokenText:G},Ve=Zo[e];if(Ve&&Ve.handler)return Ve.handler(be,t,h);throw new q("No function handler for "+e)}parseArguments(e,t){var h=t.numArgs+t.numOptionalArgs;if(h===0)return{args:[],optArgs:[]};for(var E=[],G=[],be=0;be<h;be++){var Ve=t.argTypes&&t.argTypes[be],qe=be<t.numOptionalArgs;(t.primitive&&Ve==null||t.type==="sqrt"&&be===1&&G[0]==null)&&(Ve="primitive");var Wt=this.parseGroupOfType("argument to '"+e+"'",Ve,qe);if(qe)G.push(Wt);else if(Wt!=null)E.push(Wt);else throw new q("Null argument, please report this as a bug")}return{args:E,optArgs:G}}parseGroupOfType(e,t,h){switch(t){case"color":return this.parseColorGroup(h);case"size":return this.parseSizeGroup(h);case"url":return this.parseUrlGroup(h);case"math":case"text":return this.parseArgumentGroup(h,t);case"hbox":{var E=this.parseArgumentGroup(h,"text");return E!=null?{type:"styling",mode:E.mode,body:[E],style:"text"}:null}case"raw":{var G=this.parseStringGroup("raw",h);return G!=null?{type:"raw",mode:"text",string:G.text}:null}case"primitive":{if(h)throw new q("A primitive argument cannot be optional");var be=this.parseGroup(e);if(be==null)throw new q("Expected group as "+e,this.fetch());return be}case"original":case null:case void 0:return this.parseArgumentGroup(h);default:throw new q("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,t){var h=this.gullet.scanArgument(t);if(h==null)return null;for(var E="",G;(G=this.fetch()).text!=="EOF";)E+=G.text,this.consume();return this.consume(),h.text=E,h}parseRegexGroup(e,t){for(var h=this.fetch(),E=h,G="",be;(be=this.fetch()).text!=="EOF"&&e.test(G+be.text);)E=be,G+=E.text,this.consume();if(G==="")throw new q("Invalid "+t+": '"+h.text+"'",h);return h.range(E,G)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(t==null)return null;var h=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!h)throw new q("Invalid color: '"+t.text+"'",t);var E=h[0];return/^[0-9a-f]{6}$/i.test(E)&&(E="#"+E),{type:"color-token",mode:this.mode,color:E}}parseSizeGroup(e){var t,h=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup("size",e),!t)return null;!e&&t.text.length===0&&(t.text="0pt",h=!0);var E=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!E)throw new q("Invalid size: '"+t.text+"'",t);var G={number:+(E[1]+E[2]),unit:E[3]};if(!yt(G))throw new q("Invalid unit: '"+G.unit+"'",t);return{type:"size",mode:this.mode,value:G,isBlank:h}}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),t==null)return null;var h=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:h}}parseArgumentGroup(e,t){var h=this.gullet.scanArgument(e);if(h==null)return null;var E=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var G=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var be={type:"ordgroup",mode:this.mode,loc:h.loc,body:G};return t&&this.switchMode(E),be}parseGroup(e,t){var h=this.fetch(),E=h.text,G;if(E==="{"||E==="\\begingroup"){this.consume();var be=E==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ve=this.parseExpression(!1,be),qe=this.fetch();this.expect(be),this.gullet.endGroup(),G={type:"ordgroup",mode:this.mode,loc:B.range(h,qe),body:Ve,semisimple:E==="\\begingroup"||void 0}}else if(G=this.parseFunction(t,e)||this.parseSymbol(),G==null&&E[0]==="\\"&&!_r.hasOwnProperty(E)){if(this.settings.throwOnError)throw new q("Undefined control sequence: "+E,h);G=this.formatUnsupportedCmd(E),this.consume()}return G}formLigatures(e){for(var t=e.length-1,h=0;h<t;++h){var E=e[h],G=E.text;G==="-"&&e[h+1].text==="-"&&(h+1<t&&e[h+2].text==="-"?(e.splice(h,3,{type:"textord",mode:"text",loc:B.range(E,e[h+2]),text:"---"}),t-=2):(e.splice(h,2,{type:"textord",mode:"text",loc:B.range(E,e[h+1]),text:"--"}),t-=1)),(G==="'"||G==="`")&&e[h+1].text===G&&(e.splice(h,2,{type:"textord",mode:"text",loc:B.range(E,e[h+1]),text:G+G}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var h=t.slice(5),E=h.charAt(0)==="*";if(E&&(h=h.slice(1)),h.length<2||h.charAt(0)!==h.slice(-1))throw new q(`\\verb assertion failed --
please report what input caused this bug`);return h=h.slice(1,-1),{type:"verb",mode:"text",body:h,star:E}}a.hasOwnProperty(t[0])&&!sr[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=a[t[0]]+t.slice(1));var G=Pi.exec(t);G&&(t=t.substring(0,G.index),t==="i"?t="\u0131":t==="j"&&(t="\u0237"));var be;if(sr[this.mode][t]){this.settings.strict&&this.mode==="math"&&Mn.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var Ve=sr[this.mode][t].group,qe=B.range(e),Wt;if(Rt.hasOwnProperty(Ve)){var lr=Ve;Wt={type:"atom",mode:this.mode,family:lr,loc:qe,text:t}}else Wt={type:Ve,mode:this.mode,loc:qe,text:t};be=Wt}else if(t.charCodeAt(0)>=128)this.settings.strict&&(X(t.charCodeAt(0))?this.mode==="math"&&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)),be={type:"textord",mode:"text",loc:B.range(e),text:t};else return null;if(this.consume(),G)for(var yr=0;yr<G[0].length;yr++){var Zr=G[0][yr];if(!r[Zr])throw new q("Unknown accent ' "+Zr+"'",e);var kr=r[Zr][this.mode]||r[Zr].text;if(!kr)throw new q("Accent "+Zr+" unsupported in "+this.mode+" mode",e);be={type:"accent",mode:this.mode,loc:B.range(e),label:kr,isStretchy:!1,isShifty:!0,base:be}}return be}}l.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var g=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var h=new l(e,t);delete h.gullet.macros.current["\\df@tag"];var E=h.parse();if(delete h.gullet.macros.current["\\current@color"],delete h.gullet.macros.current["\\color"],h.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new q("\\tag works only in display equations");E=[{type:"tag",mode:"text",body:E,tag:h.subparse([new De("\\df@tag")])}]}return E},k=function(e,t,h){t.textContent="";var E=At(e,h).toNode();t.appendChild(E)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),k=function(){throw new q("KaTeX doesn't work in quirks mode.")});var ie=function(e,t){var h=At(e,t).toMarkup();return h},ze=function(e,t){var h=new A(t);return g(e,h)},Je=function(e,t,h){if(h.throwOnError||!(e instanceof q))throw e;var E=d.makeSpan(["katex-error"],[new ae(t)]);return E.setAttribute("title",e.toString()),E.setAttribute("style","color:"+h.errorColor),E},At=function(e,t){var h=new A(t);try{var E=g(e,h);return Hr(E,e,h)}catch(G){return Je(G,e,h)}},ar=function(e,t){var h=new A(t);try{var E=g(e,h);return cn(E,e,h)}catch(G){return Je(G,e,h)}},pr="0.16.25",Ur={Span:Pr,Anchor:w,SymbolNode:ae,SvgNode:Te,PathNode:Fr,LineNode:Mr},en={version:pr,render:k,renderToString:ie,ParseError:q,SETTINGS_SCHEMA:z,__parse:ze,__renderToDomTree:At,__renderToHTMLTree:ar,__setFontMetrics:Ie,__defineSymbol:C,__defineFunction:rt,__defineMacro:Ke,__domTree:Ur},hn=n(19453);const In={},Gn=[];function Oa(u){const e=u||In;return function(t,h){(0,hn.S4)(t,"element",function(E,G){const be=Array.isArray(E.properties.className)?E.properties.className:Gn,Ve=be.includes("language-math"),qe=be.includes("math-display"),Wt=be.includes("math-inline");let lr=qe;if(!Ve&&!qe&&!Wt)return;let yr=G[G.length-1],Zr=E;if(E.tagName==="code"&&Ve&&yr&&yr.type==="element"&&yr.tagName==="pre"&&(Zr=yr,yr=G[G.length-2],lr=!0),!yr)return;const kr=(0,Xe.l)(Zr,{whitespace:"pre"});let dn;try{dn=en.renderToString(kr,j0(P0({},e),{displayMode:lr,throwOnError:!0}))}catch(Nn){const Tn=Nn,ca=Tn.name.toLowerCase();h.message("Could not render math with KaTeX",{ancestors:[...G,E],cause:Tn,place:E.position,ruleId:ca,source:"rehype-katex"});try{dn=en.renderToString(kr,j0(P0({},e),{displayMode:lr,strict:"ignore",throwOnError:!1}))}catch(va){dn=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(Nn)},children:[{type:"text",value:kr}]}]}}typeof dn=="string"&&(dn=(0,o.N)(dn,{fragment:!0}).children);const gn=yr.children.indexOf(Zr);return yr.children.splice(gn,1,...dn),hn.AM})}}}}]);
}());