|
|
!(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 y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},27812:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},89489:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},59477:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},40001:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},81953:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},26227:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},49198:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},84105:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},41464:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},18785:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},87169:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),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:"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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},73331:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},15277:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},52671:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},8657:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},56082:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},61481:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},33853:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},12893:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},15075:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},32134:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},62772:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},43531:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},61485:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),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:"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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},38819:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},47472:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},87395:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},32050:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Xe=n(59301),L={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"},ze=L,Y=n(7657),Q=function(c,T){return Xe.createElement(Y.Z,(0,o.Z)({},c,{ref:T,icon:ze}))},_=Xe.forwardRef(Q),y=_},48850:function(){"use strict"},29509:function(qr,_t,n){"use strict";n.d(_t,{o2:function(){return Y},yT:function(){return Q}});var o=n(94480),Xe=n(34998);const L=Xe.i.map(_=>`${_}-inverse`),ze=["success","processing","error","default","warning"];function Y(_){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,o.Z)(L),(0,o.Z)(Xe.i)).includes(_):Xe.i.includes(_)}function Q(_){return ze.includes(_)}},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 L=Xe<0||arguments.length<=Xe?void 0:arguments[Xe];L&&Object.keys(L).forEach(ze=>{const Y=L[ze];Y!==void 0&&(o[ze]=Y)})}return o};_t.Z=n},86013:function(qr,_t,n){"use strict";var o=n(59301),Xe=n(19248);const L=ze=>{let Y;return typeof ze=="object"&&(ze!=null&&ze.clearIcon)?Y=ze:ze&&(Y={clearIcon:o.createElement(Xe.Z,null)}),Y};_t.Z=L},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(L){return L!=null&&L===L.window}const Xe=L=>{var ze,Y;if(typeof window=="undefined")return 0;let Q=0;return o(L)?Q=L.pageYOffset:L instanceof Document?Q=L.documentElement.scrollTop:(L instanceof HTMLElement||L)&&(Q=L.scrollTop),L&&!o(L)&&typeof Q!="number"&&(Q=(Y=((ze=L.ownerDocument)!==null&&ze!==void 0?ze:L).documentElement)===null||Y===void 0?void 0:Y.scrollTop),Q};_t.Z=Xe},52838:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Q}});var o=n(37645);function Xe(_,y,U,c){if(c===!1)return{adjustX:!1,adjustY:!1};const T=c&&typeof c=="object"?c:{},k={};switch(_){case"top":case"bottom":k.shiftX=y.arrowOffsetHorizontal*2+U,k.shiftY=!0,k.adjustY=!0;break;case"left":case"right":k.shiftY=y.arrowOffsetVertical*2+U,k.shiftX=!0,k.adjustX=!0;break}const V=Object.assign(Object.assign({},k),T);return V.shiftX||(V.adjustX=!0),V.shiftY||(V.adjustY=!0),V}const L={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"]}},ze={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"]}},Y=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Q(_){const{arrowWidth:y,autoAdjustOverflow:U,arrowPointAtCenter:c,offset:T,borderRadius:k,visibleFirst:V}=_,z=y/2,K={};return Object.keys(L).forEach(O=>{const D=c&&ze[O]||L[O],w=Object.assign(Object.assign({},D),{offset:[0,0],dynamicInset:!0});switch(K[O]=w,Y.has(O)&&(w.autoArrow=!1),O){case"top":case"topLeft":case"topRight":w.offset[1]=-z-T;break;case"bottom":case"bottomLeft":case"bottomRight":w.offset[1]=z+T;break;case"left":case"leftTop":case"leftBottom":w.offset[0]=-z-T;break;case"right":case"rightTop":case"rightBottom":w.offset[0]=z+T;break}const E=(0,o.wZ)({contentRadius:k,limitVerticalRadius:!0});if(c)switch(O){case"topLeft":case"bottomLeft":w.offset[0]=-E.arrowOffsetHorizontal-z;break;case"topRight":case"bottomRight":w.offset[0]=E.arrowOffsetHorizontal+z;break;case"leftTop":case"rightTop":w.offset[1]=-E.arrowOffsetHorizontal*2+z;break;case"leftBottom":case"rightBottom":w.offset[1]=E.arrowOffsetHorizontal*2-z;break}w.overflow=Xe(O,E,y,U),V&&(w.htmlRegion="visibleFirst")}),K}},83010:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ze}});var o=n(16089);function Xe(Y,Q,_,y){const U=_-Q;return Y/=y/2,Y<1?U/2*Y*Y*Y+Q:U/2*((Y-=2)*Y*Y+2)+Q}var L=n(97224);function ze(Y){let Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:_=()=>window,callback:y,duration:U=450}=Q,c=_(),T=(0,L.Z)(c),k=Date.now(),V=()=>{const K=Date.now()-k,O=Xe(K>U?U:K,T,Y,U);(0,L.F)(c)?c.scrollTo(window.pageXOffset,O):c instanceof Document||c.constructor.name==="HTMLDocument"?c.documentElement.scrollTop=O:c.scrollTop=O,K<U?(0,o.Z)(V):typeof y=="function"&&y()};(0,o.Z)(V)}},82855:function(qr,_t,n){"use strict";n.d(_t,{F:function(){return Y},Z:function(){return ze}});var o=n(92310),Xe=n.n(o);const L=null;function ze(Q,_,y){return Xe()({[`${Q}-status-success`]:_==="success",[`${Q}-status-warning`]:_==="warning",[`${Q}-status-error`]:_==="error",[`${Q}-status-validating`]:_==="validating",[`${Q}-has-feedback`]:y})}const Y=(Q,_)=>_||Q},41780:function(qr,_t,n){"use strict";var o=n(94480),Xe=n(16089);function L(ze){let Y;const Q=y=>()=>{Y=null,ze.apply(void 0,(0,o.Z)(y))},_=function(){if(Y==null){for(var y=arguments.length,U=new Array(y),c=0;c<y;c++)U[c]=arguments[c];Y=(0,Xe.Z)(Q(U))}};return _.cancel=()=>{Xe.Z.cancel(Y),Y=null},_}_t.Z=L},48608:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ie}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(29301),Y=n(41780),Q=n(48755),_=n(16931);const y=X=>{const{componentCls:q}=X;return{[q]:{position:"fixed",zIndex:X.zIndexPopup}}},U=X=>({zIndexPopup:X.zIndexBase+10});var c=(0,_.I$)("Affix",y,U);function T(X){return X!==window?X.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function k(X,q,Ee){if(Ee!==void 0&&Math.round(q.top)>Math.round(X.top)-Ee)return Ee+q.top}function V(X,q,Ee){if(Ee!==void 0&&Math.round(q.bottom)<Math.round(X.bottom)+Ee){const Pe=window.innerHeight-q.bottom;return Ee+Pe}}var z=function(X,q){var Ee={};for(var Pe in X)Object.prototype.hasOwnProperty.call(X,Pe)&&q.indexOf(Pe)<0&&(Ee[Pe]=X[Pe]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Pe=Object.getOwnPropertySymbols(X);et<Pe.length;et++)q.indexOf(Pe[et])<0&&Object.prototype.propertyIsEnumerable.call(X,Pe[et])&&(Ee[Pe[et]]=X[Pe[et]]);return Ee};const K=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function O(){return typeof window!="undefined"?window:null}const D=0,w=1;var ie=o.forwardRef((X,q)=>{var Ee;const{style:Pe,offsetTop:et,offsetBottom:He,prefixCls:Ce,className:be,rootClassName:J,children:we,target:M,onChange:I,onTestUpdatePosition:rt}=X,ue=z(X,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:le,getTargetContainer:B}=o.useContext(Q.E_),ae=le("affix",Ce),[W,A]=o.useState(!1),[re,Ve]=o.useState(),[pe,Ze]=o.useState(),st=o.useRef(D),dt=o.useRef(null),he=o.useRef(null),Le=o.useRef(null),At=o.useRef(null),Fe=o.useRef(null),Re=(Ee=M!=null?M:B)!==null&&Ee!==void 0?Ee:O,N=He===void 0&&et===void 0?0:et,_e=()=>{if(st.current!==w||!At.current||!Le.current||!Re)return;const Xt=Re();if(Xt){const Ut={status:D},Dt=T(Le.current);if(Dt.top===0&&Dt.left===0&&Dt.width===0&&Dt.height===0)return;const at=T(Xt),yt=k(Dt,at,N),xt=V(Dt,at,He);yt!==void 0?(Ut.affixStyle={position:"fixed",top:yt,width:Dt.width,height:Dt.height},Ut.placeholderStyle={width:Dt.width,height:Dt.height}):xt!==void 0&&(Ut.affixStyle={position:"fixed",bottom:xt,width:Dt.width,height:Dt.height},Ut.placeholderStyle={width:Dt.width,height:Dt.height}),Ut.lastAffix=!!Ut.affixStyle,W!==Ut.lastAffix&&(I==null||I(Ut.lastAffix)),st.current=Ut.status,Ve(Ut.affixStyle),Ze(Ut.placeholderStyle),A(Ut.lastAffix)}},ve=()=>{st.current=w,_e()},de=(0,Y.Z)(()=>{ve()}),fe=(0,Y.Z)(()=>{if(Re&&re){const Xt=Re();if(Xt&&Le.current){const Ut=T(Xt),Dt=T(Le.current),at=k(Dt,Ut,N),yt=V(Dt,Ut,He);if(at!==void 0&&re.top===at||yt!==void 0&&re.bottom===yt)return}}ve()}),me=()=>{const Xt=Re==null?void 0:Re();Xt&&(K.forEach(Ut=>{var Dt;he.current&&((Dt=dt.current)===null||Dt===void 0||Dt.removeEventListener(Ut,he.current)),Xt==null||Xt.addEventListener(Ut,fe)}),dt.current=Xt,he.current=fe)},Oe=()=>{Fe.current&&(clearTimeout(Fe.current),Fe.current=null);const Xt=Re==null?void 0:Re();K.forEach(Ut=>{var Dt;Xt==null||Xt.removeEventListener(Ut,fe),he.current&&((Dt=dt.current)===null||Dt===void 0||Dt.removeEventListener(Ut,he.current))}),de.cancel(),fe.cancel()};o.useImperativeHandle(q,()=>({updatePosition:de})),o.useEffect(()=>(Fe.current=setTimeout(me),()=>Oe()),[]),o.useEffect(()=>{me()},[M,re,W]),o.useEffect(()=>{de()},[M,et,He]);const[xe,Ne,Ye]=c(ae),pt=L()(J,Ne,ae,Ye),$t=L()({[pt]:re});return xe(o.createElement(ze.Z,{onResize:de},o.createElement("div",Object.assign({style:Pe,className:be,ref:Le},ue),re&&o.createElement("div",{style:pe,"aria-hidden":"true"}),o.createElement("div",{className:$t,ref:At,style:re},o.createElement(ze.Z,{onResize:de},we)))))})},1560:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return w}});var o=n(2738),Xe=n(45915),L=n(82326),ze=n(59301),Y=n(92310),Q=n.n(Y),_=n(11592),y=n(75030),U=n(48755);const{Option:c}=L.default;function T(E){return(E==null?void 0:E.type)&&(E.type.isSelectOption||E.type.isSelectOptGroup)}const k=(E,ie)=>{var X;const{prefixCls:q,className:Ee,popupClassName:Pe,dropdownClassName:et,children:He,dataSource:Ce}=E,be=(0,_.Z)(He);let J;be.length===1&&ze.isValidElement(be[0])&&!T(be[0])&&([J]=be);const we=J?()=>J:void 0;let M;be.length&&T(be[0])?M=He:M=Ce?Ce.map(le=>{if(ze.isValidElement(le))return le;switch(typeof le){case"string":return ze.createElement(c,{key:le,value:le},le);case"object":{const{value:B}=le;return ze.createElement(c,{key:B,value:B},le.text)}default:return}}):[];const{getPrefixCls:I}=ze.useContext(U.E_),rt=I("select",q),[ue]=(0,y.Cn)("SelectLike",(X=E.dropdownStyle)===null||X===void 0?void 0:X.zIndex);return ze.createElement(L.default,Object.assign({ref:ie,suffixIcon:null},(0,o.Z)(E,["dataSource","dropdownClassName"]),{prefixCls:rt,popupClassName:Pe||et,dropdownStyle:Object.assign(Object.assign({},E.dropdownStyle),{zIndex:ue}),className:Q()(`${rt}-auto-complete`,Ee),mode:L.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:we}),M)};var z=ze.forwardRef(k);const{Option:K}=L.default,O=(0,Xe.Z)(z,"dropdownAlign",E=>(0,o.Z)(E,["visible"])),D=z;D.Option=K,D._InternalPanelDoNotUseOrYouWillBeFired=O;var w=D},91882:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ue}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(11592),Y=n(26112),Q=n(22703),_=n(48755),y=n(84105),U=n(19563);const c=le=>{let{children:B}=le;const{getPrefixCls:ae}=o.useContext(_.E_),W=ae("breadcrumb");return o.createElement("li",{className:`${W}-separator`,"aria-hidden":"true"},B===""?B:B||"/")};c.__ANT_BREADCRUMB_SEPARATOR=!0;var T=c,k=function(le,B){var ae={};for(var W in le)Object.prototype.hasOwnProperty.call(le,W)&&B.indexOf(W)<0&&(ae[W]=le[W]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,W=Object.getOwnPropertySymbols(le);A<W.length;A++)B.indexOf(W[A])<0&&Object.prototype.propertyIsEnumerable.call(le,W[A])&&(ae[W[A]]=le[W[A]]);return ae};function V(le,B){if(le.title===void 0||le.title===null)return null;const ae=Object.keys(B).join("|");return typeof le.title=="object"?le.title:String(le.title).replace(new RegExp(`:(${ae})`,"g"),(W,A)=>B[A]||W)}function z(le,B,ae,W){if(ae==null)return null;const{className:A,onClick:re}=B,Ve=k(B,["className","onClick"]),pe=Object.assign(Object.assign({},(0,Y.Z)(Ve,{data:!0,aria:!0})),{onClick:re});return W!==void 0?o.createElement("a",Object.assign({},pe,{className:L()(`${le}-link`,A),href:W}),ae):o.createElement("span",Object.assign({},pe,{className:L()(`${le}-link`,A)}),ae)}function K(le,B){return(W,A,re,Ve,pe)=>{if(B)return B(W,A,re,Ve);const Ze=V(W,A);return z(le,W,Ze,pe)}}var O=function(le,B){var ae={};for(var W in le)Object.prototype.hasOwnProperty.call(le,W)&&B.indexOf(W)<0&&(ae[W]=le[W]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,W=Object.getOwnPropertySymbols(le);A<W.length;A++)B.indexOf(W[A])<0&&Object.prototype.propertyIsEnumerable.call(le,W[A])&&(ae[W[A]]=le[W[A]]);return ae};const D=le=>{const{prefixCls:B,separator:ae="/",children:W,menu:A,overlay:re,dropdownProps:Ve,href:pe}=le,st=(dt=>{if(A||re){const he=Object.assign({},Ve);if(A){const Le=A||{},{items:At}=Le,Fe=O(Le,["items"]);he.menu=Object.assign(Object.assign({},Fe),{items:At==null?void 0:At.map((Re,N)=>{var{key:_e,title:ve,label:de,path:fe}=Re,me=O(Re,["key","title","label","path"]);let Oe=de!=null?de:ve;return fe&&(Oe=o.createElement("a",{href:`${pe}${fe}`},Oe)),Object.assign(Object.assign({},me),{key:_e!=null?_e:N,label:Oe})})})}else re&&(he.overlay=re);return o.createElement(U.Z,Object.assign({placement:"bottom"},he),o.createElement("span",{className:`${B}-overlay-link`},dt,o.createElement(y.Z,null)))}return dt})(W);return st!=null?o.createElement(o.Fragment,null,o.createElement("li",null,st),ae&&o.createElement(T,null,ae)):null},w=le=>{const{prefixCls:B,children:ae,href:W}=le,A=O(le,["prefixCls","children","href"]),{getPrefixCls:re}=o.useContext(_.E_),Ve=re("breadcrumb",B);return o.createElement(D,Object.assign({},A,{prefixCls:Ve}),z(Ve,A,ae,W))};w.__ANT_BREADCRUMB_ITEM=!0;var E=w,ie=n(36237),X=n(63356),q=n(16931),Ee=n(51636);const Pe=le=>{const{componentCls:B,iconCls:ae,calc:W}=le;return{[B]:Object.assign(Object.assign({},(0,X.Wf)(le)),{color:le.itemColor,fontSize:le.fontSize,[ae]:{fontSize:le.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:le.linkColor,transition:`color ${le.motionDurationMid}`,padding:`0 ${(0,ie.unit)(le.paddingXXS)}`,borderRadius:le.borderRadiusSM,height:le.fontHeight,display:"inline-block",marginInline:W(le.marginXXS).mul(-1).equal(),"&:hover":{color:le.linkHoverColor,backgroundColor:le.colorBgTextHover}},(0,X.Qy)(le)),"li:last-child":{color:le.lastItemColor},[`${B}-separator`]:{marginInline:le.separatorMargin,color:le.separatorColor},[`${B}-link`]:{[`
|
|
|
> ${ae} + span,
|
|
|
> ${ae} + a
|
|
|
`]:{marginInlineStart:le.marginXXS}},[`${B}-overlay-link`]:{borderRadius:le.borderRadiusSM,height:le.fontHeight,display:"inline-block",padding:`0 ${(0,ie.unit)(le.paddingXXS)}`,marginInline:W(le.marginXXS).mul(-1).equal(),[`> ${ae}`]:{marginInlineStart:le.marginXXS,fontSize:le.fontSizeIcon},"&:hover":{color:le.linkHoverColor,backgroundColor:le.colorBgTextHover,a:{color:le.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${le.componentCls}-rtl`]:{direction:"rtl"}})}},et=le=>({itemColor:le.colorTextDescription,lastItemColor:le.colorText,iconFontSize:le.fontSize,linkColor:le.colorTextDescription,linkHoverColor:le.colorText,separatorColor:le.colorTextDescription,separatorMargin:le.marginXS});var He=(0,q.I$)("Breadcrumb",le=>{const B=(0,Ee.mergeToken)(le,{});return Pe(B)},et),Ce=function(le,B){var ae={};for(var W in le)Object.prototype.hasOwnProperty.call(le,W)&&B.indexOf(W)<0&&(ae[W]=le[W]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,W=Object.getOwnPropertySymbols(le);A<W.length;A++)B.indexOf(W[A])<0&&Object.prototype.propertyIsEnumerable.call(le,W[A])&&(ae[W[A]]=le[W[A]]);return ae};function be(le){const{breadcrumbName:B,children:ae}=le,W=Ce(le,["breadcrumbName","children"]),A=Object.assign({title:B},W);return ae&&(A.menu={items:ae.map(re=>{var{breadcrumbName:Ve}=re,pe=Ce(re,["breadcrumbName"]);return Object.assign(Object.assign({},pe),{title:Ve})})}),A}function J(le,B){return(0,o.useMemo)(()=>le||(B?B.map(be):null),[le,B])}var we=function(le,B){var ae={};for(var W in le)Object.prototype.hasOwnProperty.call(le,W)&&B.indexOf(W)<0&&(ae[W]=le[W]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,W=Object.getOwnPropertySymbols(le);A<W.length;A++)B.indexOf(W[A])<0&&Object.prototype.propertyIsEnumerable.call(le,W[A])&&(ae[W[A]]=le[W[A]]);return ae};const M=(le,B)=>{if(B===void 0)return B;let ae=(B||"").replace(/^\//,"");return Object.keys(le).forEach(W=>{ae=ae.replace(`:${W}`,le[W])}),ae},I=le=>{const{prefixCls:B,separator:ae="/",style:W,className:A,rootClassName:re,routes:Ve,items:pe,children:Ze,itemRender:st,params:dt={}}=le,he=we(le,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Le,direction:At,breadcrumb:Fe}=o.useContext(_.E_);let Re;const N=Le("breadcrumb",B),[_e,ve,de]=He(N),fe=J(pe,Ve),me=K(N,st);if(fe&&fe.length>0){const Ne=[],Ye=pe||Ve;Re=fe.map((pt,$t)=>{const{path:Xt,key:Ut,type:Dt,menu:at,overlay:yt,onClick:xt,className:ht,separator:tr,dropdownProps:mr}=pt,hr=M(dt,Xt);hr!==void 0&&Ne.push(hr);const Ir=Ut!=null?Ut:$t;if(Dt==="separator")return o.createElement(T,{key:Ir},tr);const tn={},Pr=$t===fe.length-1;at?tn.menu=at:yt&&(tn.overlay=yt);let{href:x}=pt;return Ne.length&&hr!==void 0&&(x=`#/${Ne.join("/")}`),o.createElement(D,Object.assign({key:Ir},tn,(0,Y.Z)(pt,{data:!0,aria:!0}),{className:ht,dropdownProps:mr,href:x,separator:Pr?"":ae,onClick:xt,prefixCls:N}),me(pt,dt,Ye,Ne,x))})}else if(Ze){const Ne=(0,ze.Z)(Ze).length;Re=(0,ze.Z)(Ze).map((Ye,pt)=>{if(!Ye)return Ye;const $t=pt===Ne-1;return(0,Q.Tm)(Ye,{separator:$t?"":ae,key:pt})})}const Oe=L()(N,Fe==null?void 0:Fe.className,{[`${N}-rtl`]:At==="rtl"},A,re,ve,de),xe=Object.assign(Object.assign({},Fe==null?void 0:Fe.style),W);return _e(o.createElement("nav",Object.assign({className:Oe,style:xe},he),o.createElement("ol",null,Re)))};I.Item=E,I.Separator=T;var rt=I,ue=rt},17149:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return _e}});var o=n(94480),Xe=n(59301),L=n(92310),ze=n.n(L),Y=n(63727),Q=n(2738),_=n(75030),y=n(86641),U=n(45915),c=n(82855),T=n(48755),k=n(38406),V=n(2171),z=n(83397),K=n(31756),O=n(56553),D=n(24971),w=n(1722),E=n(90376),ie=n(68525),X=n(90005),q=n(70045);function Ee(ve,de){const{getPrefixCls:fe,direction:me,renderEmpty:Oe}=Xe.useContext(T.E_),xe=de||me,Ne=fe("select",ve),Ye=fe("cascader",ve);return[Ne,Ye,xe,Oe]}var Pe=Ee;function et(ve,de){return Xe.useMemo(()=>de?Xe.createElement("span",{className:`${ve}-checkbox-inner`}):!1,[de])}var He=n(33853),Ce=n(58617),be=n(38819),we=(ve,de,fe)=>{let me=fe;fe||(me=de?Xe.createElement(He.Z,null):Xe.createElement(be.Z,null));const Oe=Xe.createElement("span",{className:`${ve}-menu-item-loading-icon`},Xe.createElement(Ce.Z,{spin:!0}));return Xe.useMemo(()=>[me,Oe],[me])},M=n(56119),I=n(16931),rt=n(36237),ue=n(36170),le=n(63356),ae=ve=>{const{prefixCls:de,componentCls:fe}=ve,me=`${fe}-menu-item`,Oe=`
|
|
|
&${me}-expand ${me}-expand-icon,
|
|
|
${me}-loading-icon
|
|
|
`;return[(0,ue.C2)(`${de}-checkbox`,ve),{[fe]:{"&-checkbox":{top:0,marginInlineEnd:ve.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${fe}-menu-empty`]:{[`${fe}-menu`]:{width:"100%",height:"auto",[me]:{color:ve.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:ve.controlItemWidth,height:ve.dropdownHeight,margin:0,padding:ve.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,rt.unit)(ve.lineWidth)} ${ve.lineType} ${ve.colorSplit}`},"&-item":Object.assign(Object.assign({},le.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ve.optionPadding,lineHeight:ve.lineHeight,cursor:"pointer",transition:`all ${ve.motionDurationMid}`,borderRadius:ve.borderRadiusSM,"&:hover":{background:ve.controlItemBgHover},"&-disabled":{color:ve.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Oe]:{color:ve.colorTextDisabled}},[`&-active:not(${me}-disabled)`]:{"&, &:hover":{color:ve.optionSelectedColor,fontWeight:ve.optionSelectedFontWeight,backgroundColor:ve.optionSelectedBg}},"&-content":{flex:"auto"},[Oe]:{marginInlineStart:ve.paddingXXS,color:ve.colorTextDescription,fontSize:ve.fontSizeIcon},"&-keyword":{color:ve.colorHighlight}})}}}]};const W=ve=>{const{componentCls:de,antCls:fe}=ve;return[{[de]:{width:ve.controlWidth}},{[`${de}-dropdown`]:[{[`&${fe}-select-dropdown`]:{padding:0}},ae(ve)]},{[`${de}-dropdown-rtl`]:{direction:"rtl"}},(0,M.c)(ve)]},A=ve=>{const de=Math.round((ve.controlHeight-ve.fontSize*ve.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ve.controlItemBgActive,optionSelectedFontWeight:ve.fontWeightStrong,optionPadding:`${de}px ${ve.paddingSM}px`,menuPadding:ve.paddingXXS,optionSelectedColor:ve.colorText}};var re=(0,I.I$)("Cascader",ve=>[W(ve)],A);const Ve=ve=>{const{componentCls:de}=ve;return{[`${de}-panel`]:[ae(ve),{display:"inline-flex",border:`${(0,rt.unit)(ve.lineWidth)} ${ve.lineType} ${ve.colorSplit}`,borderRadius:ve.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${de}-menus`]:{alignItems:"stretch"},[`${de}-menu`]:{height:"auto"},"&-empty":{padding:ve.paddingXXS}}]}};var pe=(0,I.A1)(["Cascader","Panel"],ve=>Ve(ve),A);function Ze(ve){const{prefixCls:de,className:fe,multiple:me,rootClassName:Oe,notFoundContent:xe,direction:Ne,expandIcon:Ye,disabled:pt}=ve,$t=Xe.useContext(V.Z),Xt=pt!=null?pt:$t,[Ut,Dt,at,yt]=Pe(de,Ne),xt=(0,z.Z)(Dt),[ht,tr,mr]=re(Dt,xt);pe(Dt);const hr=at==="rtl",[Ir,tn]=we(Ut,hr,Ye),Pr=xe||(yt==null?void 0:yt("Cascader"))||Xe.createElement(k.Z,{componentName:"Cascader"}),x=et(Dt,me);return ht(Xe.createElement(Y.s,Object.assign({},ve,{checkable:x,prefixCls:Dt,className:ze()(fe,tr,Oe,mr,xt),notFoundContent:Pr,direction:at,expandIcon:Ir,loadingIcon:tn,disabled:Xt})))}var st=Ze,dt=function(ve,de){var fe={};for(var me in ve)Object.prototype.hasOwnProperty.call(ve,me)&&de.indexOf(me)<0&&(fe[me]=ve[me]);if(ve!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,me=Object.getOwnPropertySymbols(ve);Oe<me.length;Oe++)de.indexOf(me[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ve,me[Oe])&&(fe[me[Oe]]=ve[me[Oe]]);return fe};const{SHOW_CHILD:he,SHOW_PARENT:Le}=Y.default;function At(ve,de,fe){const me=ve.toLowerCase().split(de).reduce((Ne,Ye,pt)=>pt===0?[Ye]:[].concat((0,o.Z)(Ne),[de,Ye]),[]),Oe=[];let xe=0;return me.forEach((Ne,Ye)=>{const pt=xe+Ne.length;let $t=ve.slice(xe,pt);xe=pt,Ye%2===1&&($t=Xe.createElement("span",{className:`${fe}-menu-item-keyword`,key:`separator-${Ye}`},$t)),Oe.push($t)}),Oe}const Fe=(ve,de,fe,me)=>{const Oe=[],xe=ve.toLowerCase();return de.forEach((Ne,Ye)=>{Ye!==0&&Oe.push(" / ");let pt=Ne[me.label];const $t=typeof pt;($t==="string"||$t==="number")&&(pt=At(String(pt),xe,fe)),Oe.push(pt)}),Oe},Re=Xe.forwardRef((ve,de)=>{var fe;const{prefixCls:me,size:Oe,disabled:xe,className:Ne,rootClassName:Ye,multiple:pt,bordered:$t=!0,transitionName:Xt,choiceTransitionName:Ut="",popupClassName:Dt,dropdownClassName:at,expandIcon:yt,placement:xt,showSearch:ht,allowClear:tr=!0,notFoundContent:mr,direction:hr,getPopupContainer:Ir,status:tn,showArrow:Pr,builtinPlacements:x,style:F,variant:wt}=ve,oe=dt(ve,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Be=(0,Q.Z)(oe,["suffixIcon"]),{getPrefixCls:kr,getPopupContainer:Br,className:wn,style:Fn}=(0,T.dj)("cascader"),{popupOverflow:Rt}=Xe.useContext(T.E_),{status:Sr,hasFeedback:sr,isFormItemInput:S,feedbackIcon:v}=Xe.useContext(O.aM),Gt=(0,c.F)(Sr,tn),[$,Ae,Cn,Zr]=Pe(me,hr),Ht=Cn==="rtl",Vt=kr(),br=(0,z.Z)($),[Kr,an,An]=(0,E.Z)($,br),St=(0,z.Z)(Ae),[Bt]=re(Ae,St),{compactSize:We,compactItemClassnames:jr}=(0,q.ri)($,hr),[$r,Gr]=(0,D.Z)("cascader",wt,$t),Sn=mr||(Zr==null?void 0:Zr("Cascader"))||Xe.createElement(k.Z,{componentName:"Cascader"}),na=ze()(Dt||at,`${Ae}-dropdown`,{[`${Ae}-dropdown-rtl`]:Cn==="rtl"},Ye,br,St,an,An),mt=Xe.useMemo(()=>{if(!ht)return ht;let nn={render:Fe};return typeof ht=="object"&&(nn=Object.assign(Object.assign({},nn),ht)),nn},[ht]),rr=(0,K.Z)(nn=>{var $n;return($n=Oe!=null?Oe:We)!==null&&$n!==void 0?$n:nn}),lr=Xe.useContext(V.Z),or=xe!=null?xe:lr,[Nr,Dr]=we($,Ht,yt),sn=et(Ae,pt),Tr=(0,X.Z)(ve.suffixIcon,Pr),{suffixIcon:mn,removeIcon:on,clearIcon:Mn}=(0,ie.Z)(Object.assign(Object.assign({},ve),{hasFeedback:sr,feedbackIcon:v,showSuffixIcon:Tr,multiple:pt,prefixCls:$,componentName:"Cascader"})),jn=Xe.useMemo(()=>xt!==void 0?xt:Ht?"bottomRight":"bottomLeft",[xt,Ht]),bn=tr===!0?{clearIcon:Mn}:tr,[zn]=(0,_.Cn)("SelectLike",(fe=Be.dropdownStyle)===null||fe===void 0?void 0:fe.zIndex),ua=Xe.createElement(Y.default,Object.assign({prefixCls:$,className:ze()(!me&&Ae,{[`${$}-lg`]:rr==="large",[`${$}-sm`]:rr==="small",[`${$}-rtl`]:Ht,[`${$}-${$r}`]:Gr,[`${$}-in-form-item`]:S},(0,c.Z)($,Gt,sr),jr,wn,Ne,Ye,br,St,an,An),disabled:or,style:Object.assign(Object.assign({},Fn),F)},Be,{builtinPlacements:(0,w.Z)(x,Rt),direction:Cn,placement:jn,notFoundContent:Sn,allowClear:bn,showSearch:mt,expandIcon:Nr,suffixIcon:mn,removeIcon:on,loadingIcon:Dr,checkable:sn,dropdownClassName:na,dropdownPrefixCls:me||Ae,dropdownStyle:Object.assign(Object.assign({},Be.dropdownStyle),{zIndex:zn}),choiceTransitionName:(0,y.m)(Vt,"",Ut),transitionName:(0,y.m)(Vt,"slide-up",Xt),getPopupContainer:Ir||Br,ref:de}));return Bt(Kr(ua))}),N=(0,U.Z)(Re,"dropdownAlign",ve=>(0,Q.Z)(ve,["visible"]));Re.SHOW_PARENT=Le,Re.SHOW_CHILD=he,Re.Panel=st,Re._InternalPanelDoNotUseOrYouWillBeFired=N;var _e=Re},62673:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return He}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(16632),Y=n(8654),Q=n(12919),_=n(63872),y=n(48755),U=n(2171),c=n(83397),T=n(56553),V=o.createContext(null),z=n(36170),K=n(74632),O=function(Ce,be){var J={};for(var we in Ce)Object.prototype.hasOwnProperty.call(Ce,we)&&be.indexOf(we)<0&&(J[we]=Ce[we]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,we=Object.getOwnPropertySymbols(Ce);M<we.length;M++)be.indexOf(we[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,we[M])&&(J[we[M]]=Ce[we[M]]);return J};const D=(Ce,be)=>{var J;const{prefixCls:we,className:M,rootClassName:I,children:rt,indeterminate:ue=!1,style:le,onMouseEnter:B,onMouseLeave:ae,skipGroup:W=!1,disabled:A}=Ce,re=O(Ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:Ve,direction:pe,checkbox:Ze}=o.useContext(y.E_),st=o.useContext(V),{isFormItemInput:dt}=o.useContext(T.aM),he=o.useContext(U.Z),Le=(J=(st==null?void 0:st.disabled)||A)!==null&&J!==void 0?J:he,At=o.useRef(re.value),Fe=o.useRef(null),Re=(0,Y.sQ)(be,Fe);o.useEffect(()=>{st==null||st.registerValue(re.value)},[]),o.useEffect(()=>{if(!W)return re.value!==At.current&&(st==null||st.cancelValue(At.current),st==null||st.registerValue(re.value),At.current=re.value),()=>st==null?void 0:st.cancelValue(re.value)},[re.value]),o.useEffect(()=>{var pt;!((pt=Fe.current)===null||pt===void 0)&&pt.input&&(Fe.current.input.indeterminate=ue)},[ue]);const N=Ve("checkbox",we),_e=(0,c.Z)(N),[ve,de,fe]=(0,z.ZP)(N,_e),me=Object.assign({},re);st&&!W&&(me.onChange=function(){re.onChange&&re.onChange.apply(re,arguments),st.toggleOption&&st.toggleOption({label:rt,value:re.value})},me.name=st.name,me.checked=st.value.includes(re.value));const Oe=L()(`${N}-wrapper`,{[`${N}-rtl`]:pe==="rtl",[`${N}-wrapper-checked`]:me.checked,[`${N}-wrapper-disabled`]:Le,[`${N}-wrapper-in-form-item`]:dt},Ze==null?void 0:Ze.className,M,I,fe,_e,de),xe=L()({[`${N}-indeterminate`]:ue},_.A,de),[Ne,Ye]=(0,K.Z)(me.onClick);return ve(o.createElement(Q.Z,{component:"Checkbox",disabled:Le},o.createElement("label",{className:Oe,style:Object.assign(Object.assign({},Ze==null?void 0:Ze.style),le),onMouseEnter:B,onMouseLeave:ae,onClick:Ne},o.createElement(ze.Z,Object.assign({},me,{onClick:Ye,prefixCls:N,className:xe,disabled:Le,ref:Re})),rt!==void 0&&o.createElement("span",{className:`${N}-label`},rt))))};var E=o.forwardRef(D),ie=n(94480),X=n(2738),q=function(Ce,be){var J={};for(var we in Ce)Object.prototype.hasOwnProperty.call(Ce,we)&&be.indexOf(we)<0&&(J[we]=Ce[we]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,we=Object.getOwnPropertySymbols(Ce);M<we.length;M++)be.indexOf(we[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,we[M])&&(J[we[M]]=Ce[we[M]]);return J},Pe=o.forwardRef((Ce,be)=>{const{defaultValue:J,children:we,options:M=[],prefixCls:I,className:rt,rootClassName:ue,style:le,onChange:B}=Ce,ae=q(Ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:W,direction:A}=o.useContext(y.E_),[re,Ve]=o.useState(ae.value||J||[]),[pe,Ze]=o.useState([]);o.useEffect(()=>{"value"in ae&&Ve(ae.value||[])},[ae.value]);const st=o.useMemo(()=>M.map(xe=>typeof xe=="string"||typeof xe=="number"?{label:xe,value:xe}:xe),[M]),dt=xe=>{Ze(Ne=>Ne.filter(Ye=>Ye!==xe))},he=xe=>{Ze(Ne=>[].concat((0,ie.Z)(Ne),[xe]))},Le=xe=>{const Ne=re.indexOf(xe.value),Ye=(0,ie.Z)(re);Ne===-1?Ye.push(xe.value):Ye.splice(Ne,1),"value"in ae||Ve(Ye),B==null||B(Ye.filter(pt=>pe.includes(pt)).sort((pt,$t)=>{const Xt=st.findIndex(Dt=>Dt.value===pt),Ut=st.findIndex(Dt=>Dt.value===$t);return Xt-Ut}))},At=W("checkbox",I),Fe=`${At}-group`,Re=(0,c.Z)(At),[N,_e,ve]=(0,z.ZP)(At,Re),de=(0,X.Z)(ae,["value","disabled"]),fe=M.length?st.map(xe=>o.createElement(E,{prefixCls:At,key:xe.value.toString(),disabled:"disabled"in xe?xe.disabled:ae.disabled,value:xe.value,checked:re.includes(xe.value),onChange:xe.onChange,className:`${Fe}-item`,style:xe.style,title:xe.title,id:xe.id,required:xe.required},xe.label)):we,me={toggleOption:Le,value:re,disabled:ae.disabled,name:ae.name,registerValue:he,cancelValue:dt},Oe=L()(Fe,{[`${Fe}-rtl`]:A==="rtl"},rt,ue,ve,Re,_e);return N(o.createElement("div",Object.assign({className:Oe,style:le},de,{ref:be}),o.createElement(V.Provider,{value:me},fe)))});const et=E;et.Group=Pe,et.__ANT_CHECKBOX=!0;var He=et},36170:function(qr,_t,n){"use strict";n.d(_t,{C2:function(){return Q}});var o=n(36237),Xe=n(63356),L=n(51636),ze=n(16931);const Y=_=>{const{checkboxCls:y}=_,U=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,Xe.Wf)(_)),{display:"inline-flex",flexWrap:"wrap",columnGap:_.marginXS,[`> ${_.antCls}-row`]:{flex:1}}),[U]:Object.assign(Object.assign({},(0,Xe.Wf)(_)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${U}`]:{marginInlineStart:0},[`&${U}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,Xe.Wf)(_)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:_.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,Xe.oN)(_))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:_.checkboxSize,height:_.checkboxSize,direction:"ltr",backgroundColor:_.colorBgContainer,border:`${(0,o.unit)(_.lineWidth)} ${_.lineType} ${_.colorBorder}`,borderRadius:_.borderRadiusSM,borderCollapse:"separate",transition:`all ${_.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:_.calc(_.checkboxSize).div(14).mul(5).equal(),height:_.calc(_.checkboxSize).div(14).mul(8).equal(),border:`${(0,o.unit)(_.lineWidthBold)} solid ${_.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${_.motionDurationFast} ${_.motionEaseInBack}, opacity ${_.motionDurationFast}`}},"& + span":{paddingInlineStart:_.paddingXS,paddingInlineEnd:_.paddingXS}})},{[`
|
|
|
${U}:not(${U}-disabled),
|
|
|
${y}:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{borderColor:_.colorPrimary}},[`${U}:not(${U}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:_.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:_.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:_.colorPrimary,borderColor:_.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${_.motionDurationMid} ${_.motionEaseOutBack} ${_.motionDurationFast}`}}},[`
|
|
|
${U}-checked:not(${U}-disabled),
|
|
|
${y}-checked:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{backgroundColor:_.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${_.colorBgContainer} !important`,borderColor:`${_.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:_.calc(_.fontSizeLG).div(2).equal(),height:_.calc(_.fontSizeLG).div(2).equal(),backgroundColor:_.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${_.colorBgContainer} !important`,borderColor:`${_.colorPrimary} !important`}}}},{[`${U}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:_.colorBgContainerDisabled,borderColor:_.colorBorder,"&:after":{borderColor:_.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:_.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:_.colorTextDisabled}}}]};function Q(_,y){const U=(0,L.mergeToken)(y,{checkboxCls:`.${_}`,checkboxSize:y.controlInteractiveSize});return[Y(U)]}_t.ZP=(0,ze.I$)("Checkbox",(_,y)=>{let{prefixCls:U}=y;return[Q(U,_)]})},74632:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return L}});var o=n(59301),Xe=n(16089);function L(ze){const Y=o.useRef(null),Q=()=>{Xe.Z.cancel(Y.current),Y.current=null};return[()=>{Q(),Y.current=(0,Xe.Z)(()=>{Y.current=null})},U=>{Y.current&&(U.stopPropagation(),Q()),ze==null||ze(U)}]}},8848:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Ce}});var o=n(59301),Xe=n(38819),L=n(92310),ze=n.n(L),Y=n(98535),Q=n(11592),_=n(2738),y=n(86641),U=n(22703),c=n(48755),T=n(31756),V=o.forwardRef((be,J)=>{const{getPrefixCls:we}=o.useContext(c.E_),{prefixCls:M,className:I,showArrow:rt=!0}=be,ue=we("collapse",M),le=ze()({[`${ue}-no-arrow`]:!rt},I);return o.createElement(Y.default.Panel,Object.assign({ref:J},be,{prefixCls:ue,className:le}))}),z=n(36237),K=n(63356),O=n(34961),D=n(16931),w=n(51636);const E=be=>{const{componentCls:J,contentBg:we,padding:M,headerBg:I,headerPadding:rt,collapseHeaderPaddingSM:ue,collapseHeaderPaddingLG:le,collapsePanelBorderRadius:B,lineWidth:ae,lineType:W,colorBorder:A,colorText:re,colorTextHeading:Ve,colorTextDisabled:pe,fontSizeLG:Ze,lineHeight:st,lineHeightLG:dt,marginSM:he,paddingSM:Le,paddingLG:At,paddingXS:Fe,motionDurationSlow:Re,fontSizeIcon:N,contentPadding:_e,fontHeight:ve,fontHeightLG:de}=be,fe=`${(0,z.unit)(ae)} ${W} ${A}`;return{[J]:Object.assign(Object.assign({},(0,K.Wf)(be)),{backgroundColor:I,border:fe,borderRadius:B,"&-rtl":{direction:"rtl"},[`& > ${J}-item`]:{borderBottom:fe,"&:first-child":{[`
|
|
|
&,
|
|
|
& > ${J}-header`]:{borderRadius:`${(0,z.unit)(B)} ${(0,z.unit)(B)} 0 0`}},"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${J}-header`]:{borderRadius:`0 0 ${(0,z.unit)(B)} ${(0,z.unit)(B)}`}},[`> ${J}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:rt,color:Ve,lineHeight:st,cursor:"pointer",transition:`all ${Re}, visibility 0s`},(0,K.Qy)(be)),{[`> ${J}-header-text`]:{flex:"auto"},[`${J}-expand-icon`]:{height:ve,display:"flex",alignItems:"center",paddingInlineEnd:he},[`${J}-arrow`]:Object.assign(Object.assign({},(0,K.Ro)()),{fontSize:N,transition:`transform ${Re}`,svg:{transition:`transform ${Re}`}}),[`${J}-header-text`]:{marginInlineEnd:"auto"}}),[`${J}-collapsible-header`]:{cursor:"default",[`${J}-header-text`]:{flex:"none",cursor:"pointer"}},[`${J}-collapsible-icon`]:{cursor:"unset",[`${J}-expand-icon`]:{cursor:"pointer"}}},[`${J}-content`]:{color:re,backgroundColor:we,borderTop:fe,[`& > ${J}-content-box`]:{padding:_e},"&-hidden":{display:"none"}},"&-small":{[`> ${J}-item`]:{[`> ${J}-header`]:{padding:ue,paddingInlineStart:Fe,[`> ${J}-expand-icon`]:{marginInlineStart:be.calc(Le).sub(Fe).equal()}},[`> ${J}-content > ${J}-content-box`]:{padding:Le}}},"&-large":{[`> ${J}-item`]:{fontSize:Ze,lineHeight:dt,[`> ${J}-header`]:{padding:le,paddingInlineStart:M,[`> ${J}-expand-icon`]:{height:de,marginInlineStart:be.calc(At).sub(M).equal()}},[`> ${J}-content > ${J}-content-box`]:{padding:At}}},[`${J}-item:last-child`]:{borderBottom:0,[`> ${J}-content`]:{borderRadius:`0 0 ${(0,z.unit)(B)} ${(0,z.unit)(B)}`}},[`& ${J}-item-disabled > ${J}-header`]:{"\n &,\n & > .arrow\n ":{color:pe,cursor:"not-allowed"}},[`&${J}-icon-position-end`]:{[`& > ${J}-item`]:{[`> ${J}-header`]:{[`${J}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:he}}}}})}},ie=be=>{const{componentCls:J}=be,we=`> ${J}-item > ${J}-header ${J}-arrow`;return{[`${J}-rtl`]:{[we]:{transform:"rotate(180deg)"}}}},X=be=>{const{componentCls:J,headerBg:we,paddingXXS:M,colorBorder:I}=be;return{[`${J}-borderless`]:{backgroundColor:we,border:0,[`> ${J}-item`]:{borderBottom:`1px solid ${I}`},[`
|
|
|
> ${J}-item:last-child,
|
|
|
> ${J}-item:last-child ${J}-header
|
|
|
`]:{borderRadius:0},[`> ${J}-item:last-child`]:{borderBottom:0},[`> ${J}-item > ${J}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${J}-item > ${J}-content > ${J}-content-box`]:{paddingTop:M}}}},q=be=>{const{componentCls:J,paddingSM:we}=be;return{[`${J}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${J}-item`]:{borderBottom:0,[`> ${J}-content`]:{backgroundColor:"transparent",border:0,[`> ${J}-content-box`]:{paddingBlock:we}}}}}},Ee=be=>({headerPadding:`${be.paddingSM}px ${be.padding}px`,headerBg:be.colorFillAlter,contentPadding:`${be.padding}px 16px`,contentBg:be.colorBgContainer});var Pe=(0,D.I$)("Collapse",be=>{const J=(0,w.mergeToken)(be,{collapseHeaderPaddingSM:`${(0,z.unit)(be.paddingXS)} ${(0,z.unit)(be.paddingSM)}`,collapseHeaderPaddingLG:`${(0,z.unit)(be.padding)} ${(0,z.unit)(be.paddingLG)}`,collapsePanelBorderRadius:be.borderRadiusLG});return[E(J),X(J),q(J),ie(J),(0,O.Z)(J)]},Ee),He=Object.assign(o.forwardRef((be,J)=>{const{getPrefixCls:we,direction:M,expandIcon:I,className:rt,style:ue}=(0,c.dj)("collapse"),{prefixCls:le,className:B,rootClassName:ae,style:W,bordered:A=!0,ghost:re,size:Ve,expandIconPosition:pe="start",children:Ze,expandIcon:st}=be,dt=(0,T.Z)(Oe=>{var xe;return(xe=Ve!=null?Ve:Oe)!==null&&xe!==void 0?xe:"middle"}),he=we("collapse",le),Le=we(),[At,Fe,Re]=Pe(he),N=o.useMemo(()=>pe==="left"?"start":pe==="right"?"end":pe,[pe]),_e=st!=null?st:I,ve=o.useCallback(function(){let Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const xe=typeof _e=="function"?_e(Oe):o.createElement(Xe.Z,{rotate:Oe.isActive?M==="rtl"?-90:90:void 0,"aria-label":Oe.isActive?"expanded":"collapsed"});return(0,U.Tm)(xe,()=>{var Ne;return{className:ze()((Ne=xe==null?void 0:xe.props)===null||Ne===void 0?void 0:Ne.className,`${he}-arrow`)}})},[_e,he]),de=ze()(`${he}-icon-position-${N}`,{[`${he}-borderless`]:!A,[`${he}-rtl`]:M==="rtl",[`${he}-ghost`]:!!re,[`${he}-${dt}`]:dt!=="middle"},rt,B,ae,Fe,Re),fe=Object.assign(Object.assign({},(0,y.Z)(Le)),{motionAppear:!1,leavedClassName:`${he}-content-hidden`}),me=o.useMemo(()=>Ze?(0,Q.Z)(Ze).map((Oe,xe)=>{var Ne,Ye;const pt=Oe.props;if(pt!=null&&pt.disabled){const $t=(Ne=Oe.key)!==null&&Ne!==void 0?Ne:String(xe),Xt=Object.assign(Object.assign({},(0,_.Z)(Oe.props,["disabled"])),{key:$t,collapsible:(Ye=pt.collapsible)!==null&&Ye!==void 0?Ye:"disabled"});return(0,U.Tm)(Oe,Xt)}return Oe}):null,[Ze]);return At(o.createElement(Y.default,Object.assign({ref:J,openMotion:fe},(0,_.Z)(be,["rootClassName"]),{expandIcon:ve,prefixCls:he,className:de,style:Object.assign(Object.assign({},ue),W)}),me))}),{Panel:V}),Ce=He},38406:function(qr,_t,n){"use strict";var o=n(59301),Xe=n(48755),L=n(584);const ze=Y=>{const{componentName:Q}=Y,{getPrefixCls:_}=(0,o.useContext)(Xe.E_),y=_("empty");switch(Q){case"Table":case"List":return o.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(L.Z,{image:L.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return o.createElement(L.Z,null)}};_t.Z=ze},16326:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Zr}});var o=n(48365),Xe=n(45915),L=n(59301),ze=n(54476),Y={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"},Q=Y,_=n(7657),y=function(Vt,br){return L.createElement(_.Z,(0,ze.Z)({},Vt,{ref:br,icon:Q}))},U=L.forwardRef(y),c=U,T={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"},k=T,V=function(Vt,br){return L.createElement(_.Z,(0,ze.Z)({},Vt,{ref:br,icon:k}))},z=L.forwardRef(V),K=z,O={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"},D=O,w=function(Vt,br){return L.createElement(_.Z,(0,ze.Z)({},Vt,{ref:br,icon:D}))},E=L.forwardRef(w),ie=E,X=n(92310),q=n.n(X),Ee=n(8571),Pe=n(62487),et=n(75030),He=n(82855),Ce=n(48755),be=n(2171),J=n(83397),we=n(31756),M=n(56553),I=n(24971),rt=n(9017),ue=n(70045),le=n(57428),B=n(36237),ae=n(53075),W=n(64910),A=n(63356),re=n(56119),Ve=n(46e3),pe=n(93873),Ze=n(36305),st=n(16931),dt=n(51636),he=n(26743);const Le=(Ht,Vt)=>{const{componentCls:br,controlHeight:Kr}=Ht,an=Vt?`${br}-${Vt}`:"",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,B.unit)(An.itemLineHeight)}}}]};var Fe=Ht=>{const{componentCls:Vt,calc:br,lineWidth:Kr}=Ht,an=(0,dt.mergeToken)(Ht,{fontHeight:Ht.fontSize,selectHeight:Ht.controlHeightSM,multipleSelectItemHeight:Ht.multipleItemHeightSM,borderRadius:Ht.borderRadiusSM,borderRadiusSM:Ht.borderRadiusXS,controlHeight:Ht.controlHeightSM}),An=(0,dt.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"),{[`${Vt}${Vt}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Vt}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Vt}-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)),{[`${Vt}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Re=n(17835);const N=Ht=>{const{pickerCellCls:Vt,pickerCellInnerCls:br,cellHeight:Kr,borderRadiusSM:an,motionDurationMid:An,cellHoverBg:St,lineWidth:Bt,lineType:We,colorPrimary:jr,cellActiveWithRangeBg:$r,colorTextLightSolid:Gr,colorTextDisabled:Sn,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,B.unit)(Kr),borderRadius:an,transition:`background ${An}`},[`&:hover:not(${Vt}-in-view):not(${Vt}-disabled),
|
|
|
&:hover:not(${Vt}-selected):not(${Vt}-range-start):not(${Vt}-range-end):not(${Vt}-disabled)`]:{[br]:{background:St}},[`&-in-view${Vt}-today ${br}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,B.unit)(Bt)} ${We} ${jr}`,borderRadius:an,content:'""'}},[`&-in-view${Vt}-in-range,
|
|
|
&-in-view${Vt}-range-start,
|
|
|
&-in-view${Vt}-range-end`]:{position:"relative",[`&:not(${Vt}-disabled):before`]:{background:$r}},[`&-in-view${Vt}-selected,
|
|
|
&-in-view${Vt}-range-start,
|
|
|
&-in-view${Vt}-range-end`]:{[`&:not(${Vt}-disabled) ${br}`]:{color:Gr,background:jr},[`&${Vt}-disabled ${br}`]:{background:mt}},[`&-in-view${Vt}-range-start:not(${Vt}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Vt}-range-end:not(${Vt}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Vt}-range-start:not(${Vt}-range-end) ${br}`]:{borderStartStartRadius:an,borderEndStartRadius:an,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Vt}-range-end:not(${Vt}-range-start) ${br}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:an,borderEndEndRadius:an},"&-disabled":{color:Sn,cursor:"not-allowed",[br]:{background:"transparent"},"&::before":{background:na}},[`&-disabled${Vt}-today ${br}::before`]:{borderColor:Sn}}},_e=Ht=>{const{componentCls:Vt,pickerCellCls:br,pickerCellInnerCls:Kr,pickerYearMonthCellWidth:an,pickerControlIconSize:An,cellWidth:St,paddingSM:Bt,paddingXS:We,paddingXXS:jr,colorBgContainer:$r,lineWidth:Gr,lineType:Sn,borderRadiusLG:na,colorPrimary:mt,colorTextHeading:rr,colorSplit:lr,pickerControlIconBorderWidth:or,colorIcon:Nr,textHeight:Dr,motionDurationMid:sn,colorIconHover:Tr,fontWeightStrong:mn,cellHeight:on,pickerCellPaddingVertical:Mn,colorTextDisabled:jn,colorText:bn,fontSize:zn,motionDurationSlow:ua,withoutTimeCellHeight:nn,pickerQuarterPanelContentHeight:$n,borderRadiusSM:kn,colorTextLightSolid:Ea,cellHoverBg:Dn,timeColumnHeight:aa,timeColumnWidth:Kn,timeCellHeight:Zn,controlItemBgActive:Jn,marginXXS:On,pickerDatePanelPaddingHorizontal:Bn,pickerControlIconMargin:Yn}=Ht,Ca=Ht.calc(St).mul(7).add(Ht.calc(Bn).mul(2)).equal();return{[Vt]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:$r,borderRadius:na,outline:"none","&-focused":{borderColor:mt},"&-rtl":{[`${Vt}-prev-icon,
|
|
|
${Vt}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Vt}-next-icon,
|
|
|
${Vt}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Vt}-time-panel`]:{[`${Vt}-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,B.unit)(We)}`,color:rr,borderBottom:`${(0,B.unit)(Gr)} ${Sn} ${lr}`,"> *":{flex:"none"},button:{padding:0,color:Nr,lineHeight:(0,B.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:Tr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:mn,lineHeight:(0,B.unit)(Dr),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:We},"&: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:or,borderInlineStartWidth:or,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:or,borderInlineStartWidth:or,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:bn,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,B.unit)(Mn)} 0`,color:jn,cursor:"pointer","&-in-view":{color:bn}},N(Ht)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Vt}-content`]:{height:Ht.calc(nn).mul(4).equal()},[Kr]:{padding:`0 ${(0,B.unit)(We)}`}},"&-quarter-panel":{[`${Vt}-content`]:{height:$n}},"&-decade-panel":{[Kr]:{padding:`0 ${(0,B.unit)(Ht.calc(We).div(2).equal())}`},[`${Vt}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Vt}-body`]:{padding:`0 ${(0,B.unit)(We)}`},[Kr]:{width:an}},"&-date-panel":{[`${Vt}-body`]:{padding:`${(0,B.unit)(We)} ${(0,B.unit)(Bn)}`},[`${Vt}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Vt}-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:Dn},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${br}`]:{"&:before":{background:mt},[`&${Vt}-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":{[`${Vt}-body`]:{padding:`${(0,B.unit)(We)} ${(0,B.unit)(Bt)}`},[`${Vt}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Vt}-time-panel`]:{borderInlineStart:`${(0,B.unit)(Gr)} ${Sn} ${lr}`},[`${Vt}-date-panel,
|
|
|
${Vt}-time-panel`]:{transition:`opacity ${ua}`},"&-active":{[`${Vt}-date-panel,
|
|
|
${Vt}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Vt}-content`]:{display:"flex",flex:"auto",height:aa},"&-column":{flex:"1 0 auto",width:Kn,margin:`${(0,B.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,B.unit)(Zn)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,B.unit)(Gr)} ${Sn} ${lr}`},"&-active":{background:new Re.FastColor(Jn).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Vt}-time-panel-cell`]:{marginInline:On,[`${Vt}-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:bn,lineHeight:(0,B.unit)(Zn),borderRadius:kn,cursor:"pointer",transition:`background ${sn}`,"&:hover":{background:Dn}},"&-selected":{[`${Vt}-time-panel-cell-inner`]:{background:Jn}},"&-disabled":{[`${Vt}-time-panel-cell-inner`]:{color:jn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var de=Ht=>{const{componentCls:Vt,textHeight:br,lineWidth:Kr,paddingSM:an,antCls:An,colorPrimary:St,cellActiveWithRangeBg:Bt,colorPrimaryBorder:We,lineType:jr,colorSplit:$r}=Ht;return{[`${Vt}-dropdown`]:{[`${Vt}-footer`]:{borderTop:`${(0,B.unit)(Kr)} ${jr} ${$r}`,"&-extra":{padding:`0 ${(0,B.unit)(an)}`,lineHeight:(0,B.unit)(Ht.calc(br).sub(Ht.calc(Kr).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,B.unit)(Kr)} ${jr} ${$r}`}}},[`${Vt}-panels + ${Vt}-footer ${Vt}-ranges`]:{justifyContent:"space-between"},[`${Vt}-ranges`]:{marginBlock:0,paddingInline:(0,B.unit)(an),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,B.unit)(Ht.calc(br).sub(Ht.calc(Kr).mul(2)).equal()),display:"inline-block"},[`${Vt}-now-btn-disabled`]:{pointerEvents:"none",color:Ht.colorTextDisabled},[`${Vt}-preset > ${An}-tag-blue`]:{color:St,background:Bt,borderColor:We,cursor:"pointer"},[`${Vt}-ok`]:{paddingBlock:Ht.calc(Kr).mul(2).equal(),marginInlineStart:"auto"}}}}};const fe=Ht=>{const{componentCls:Vt,controlHeightLG:br,paddingXXS:Kr,padding:an}=Ht;return{pickerCellCls:`${Vt}-cell`,pickerCellInnerCls:`${Vt}-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:Vt,controlHeight:br,controlHeightSM:Kr,controlHeightLG:an,paddingXXS:An,lineWidth:St}=Ht,Bt=An*2,We=St*2,jr=Math.min(br-Bt,br-We),$r=Math.min(Kr-Bt,Kr-We),Gr=Math.min(an-Bt,an-We);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:Vt,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:Vt,multipleItemColorDisabled:Ht.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Oe=Ht=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,W.T)(Ht)),me(Ht)),(0,Ze.w)(Ht)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:Ht.zIndexPopupBase+50});var xe=n(39082),Ye=Ht=>{const{componentCls:Vt}=Ht;return{[Vt]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.qG)(Ht)),(0,xe.vc)(Ht)),(0,xe.H8)(Ht)),(0,xe.Mu)(Ht)),{"&-outlined":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:Ht.multipleItemBg,border:`${(0,B.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.multipleItemBorderColor}`}},"&-filled":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:Ht.colorBgContainer,border:`${(0,B.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.colorSplit}`}},"&-borderless":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:Ht.multipleItemBg,border:`${(0,B.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.multipleItemBorderColor}`}},"&-underlined":{[`&${Vt}-multiple ${Vt}-selection-item`]:{background:Ht.multipleItemBg,border:`${(0,B.unit)(Ht.lineWidth)} ${Ht.lineType} ${Ht.multipleItemBorderColor}`}}}]}};const pt=(Ht,Vt,br,Kr)=>{const an=Ht.calc(br).add(2).equal(),An=Ht.max(Ht.calc(Vt).sub(an).div(2).equal(),0),St=Ht.max(Ht.calc(Vt).sub(an).sub(An).equal(),0);return{padding:`${(0,B.unit)(An)} ${(0,B.unit)(Kr)} ${(0,B.unit)(St)}`}},$t=Ht=>{const{componentCls:Vt,colorError:br,colorWarning:Kr}=Ht;return{[`${Vt}:not(${Vt}-disabled):not([disabled])`]:{[`&${Vt}-status-error`]:{[`${Vt}-active-bar`]:{background:br}},[`&${Vt}-status-warning`]:{[`${Vt}-active-bar`]:{background:Kr}}}}},Xt=Ht=>{const{componentCls:Vt,antCls:br,controlHeight:Kr,paddingInline:an,lineWidth:An,lineType:St,colorBorder:Bt,borderRadius:We,motionDurationMid:jr,colorTextDisabled:$r,colorTextPlaceholder:Gr,controlHeightLG:Sn,fontSizeLG:na,controlHeightSM:mt,paddingInlineSM:rr,paddingXS:lr,marginXS:or,colorTextDescription:Nr,lineWidthBold:Dr,colorPrimary:sn,motionDurationSlow:Tr,zIndexPopup:mn,paddingXXS:on,sizePopupArrow:Mn,colorBgElevated:jn,borderRadiusLG:bn,boxShadowSecondary:zn,borderRadiusSM:ua,colorSplit:nn,cellHoverBg:$n,presetsWidth:kn,presetsMaxWidth:Ea,boxShadowPopoverArrow:Dn,fontHeight:aa,fontHeightLG:Kn,lineHeightLG:Zn}=Ht;return[{[Vt]:Object.assign(Object.assign(Object.assign({},(0,A.Wf)(Ht)),pt(Ht,Kr,aa,an)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:We,transition:`border ${jr}, box-shadow ${jr}, background ${jr}`,[`${Vt}-prefix`]:{flex:"0 0 auto",marginInlineEnd:Ht.inputAffixPadding},[`${Vt}-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,ae.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({},pt(Ht,Sn,Kn,an)),{[`${Vt}-input > input`]:{fontSize:na,lineHeight:Zn}}),"&-small":Object.assign({},pt(Ht,mt,aa,rr)),[`${Vt}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:Ht.calc(lr).div(2).equal(),color:$r,lineHeight:1,pointerEvents:"none",transition:`opacity ${jr}, color ${jr}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:or}}},[`${Vt}-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":{[`${Vt}-clear`]:{opacity:1},[`${Vt}-suffix:not(:last-child)`]:{opacity:0}},[`${Vt}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:na,color:$r,fontSize:na,verticalAlign:"top",cursor:"default",[`${Vt}-focused &`]:{color:Nr},[`${Vt}-range-separator &`]:{[`${Vt}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Vt}-active-bar`]:{bottom:Ht.calc(An).mul(-1).equal(),height:Dr,background:sn,opacity:0,transition:`all ${Tr} ease-out`,pointerEvents:"none"},[`&${Vt}-focused`]:{[`${Vt}-active-bar`]:{opacity:1}},[`${Vt}-range-separator`]:{alignItems:"center",padding:`0 ${(0,B.unit)(lr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Vt}-clear`]:{insetInlineEnd:an},[`&${Vt}-small`]:{[`${Vt}-clear`]:{insetInlineEnd:rr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,A.Wf)(Ht)),_e(Ht)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:mn,[`&${Vt}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Vt}-dropdown-placement-bottomLeft,
|
|
|
&${Vt}-dropdown-placement-bottomRight`]:{[`${Vt}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Vt}-dropdown-placement-topLeft,
|
|
|
&${Vt}-dropdown-placement-topRight`]:{[`${Vt}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${br}-slide-up-appear, &${br}-slide-up-enter`]:{[`${Vt}-range-arrow${Vt}-range-arrow`]:{transition:"none"}},[`&${br}-slide-up-enter${br}-slide-up-enter-active${Vt}-dropdown-placement-topLeft,
|
|
|
&${br}-slide-up-enter${br}-slide-up-enter-active${Vt}-dropdown-placement-topRight,
|
|
|
&${br}-slide-up-appear${br}-slide-up-appear-active${Vt}-dropdown-placement-topLeft,
|
|
|
&${br}-slide-up-appear${br}-slide-up-appear-active${Vt}-dropdown-placement-topRight`]:{animationName:Ve.Qt},[`&${br}-slide-up-enter${br}-slide-up-enter-active${Vt}-dropdown-placement-bottomLeft,
|
|
|
&${br}-slide-up-enter${br}-slide-up-enter-active${Vt}-dropdown-placement-bottomRight,
|
|
|
&${br}-slide-up-appear${br}-slide-up-appear-active${Vt}-dropdown-placement-bottomLeft,
|
|
|
&${br}-slide-up-appear${br}-slide-up-appear-active${Vt}-dropdown-placement-bottomRight`]:{animationName:Ve.fJ},[`&${br}-slide-up-leave ${Vt}-panel-container`]:{pointerEvents:"none"},[`&${br}-slide-up-leave${br}-slide-up-leave-active${Vt}-dropdown-placement-topLeft,
|
|
|
&${br}-slide-up-leave${br}-slide-up-leave-active${Vt}-dropdown-placement-topRight`]:{animationName:Ve.ly},[`&${br}-slide-up-leave${br}-slide-up-leave-active${Vt}-dropdown-placement-bottomLeft,
|
|
|
&${br}-slide-up-leave${br}-slide-up-leave-active${Vt}-dropdown-placement-bottomRight`]:{animationName:Ve.Uw},[`${Vt}-panel > ${Vt}-time-panel`]:{paddingTop:on},[`${Vt}-range-wrapper`]:{display:"flex",position:"relative"},[`${Vt}-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 ${Tr} ease-out`},(0,Ze.W)(Ht,jn,Dn)),{"&:before":{insetInlineStart:Ht.calc(an).mul(1.5).equal()}}),[`${Vt}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:jn,borderRadius:bn,boxShadow:zn,transition:`margin ${Tr}`,display:"inline-block",pointerEvents:"auto",[`${Vt}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Vt}-presets`]:{display:"flex",flexDirection:"column",minWidth:kn,maxWidth:Ea,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:lr,borderInlineEnd:`${(0,B.unit)(An)} ${St} ${nn}`,li:Object.assign(Object.assign({},A.vS),{borderRadius:ua,paddingInline:lr,paddingBlock:Ht.calc(mt).sub(aa).div(2).equal(),cursor:"pointer",transition:`all ${Tr}`,"+ li":{marginTop:or},"&:hover":{background:$n}})}},[`${Vt}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Vt}-panel`]:{borderWidth:0}}},[`${Vt}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Vt}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:Bt}}}}),"&-dropdown-range":{padding:`${(0,B.unit)(Ht.calc(Mn).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Vt}-separator`]:{transform:"scale(-1, 1)"},[`${Vt}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,Ve.oN)(Ht,"slide-up"),(0,Ve.oN)(Ht,"slide-down"),(0,pe.Fm)(Ht,"move-up"),(0,pe.Fm)(Ht,"move-down")]};var Ut=(0,st.I$)("DatePicker",Ht=>{const Vt=(0,dt.mergeToken)((0,W.e)(Ht),fe(Ht),{inputPaddingHorizontalBase:Ht.calc(Ht.paddingSM).sub(1).equal(),multipleSelectItemHeight:Ht.multipleItemHeight,selectHeight:Ht.controlHeight});return[de(Vt),Xt(Vt),Ye(Vt),$t(Vt),Fe(Vt),(0,re.c)(Ht,{focusElCls:`${Ht.componentCls}-focused`})]},Oe),Dt=n(68525);function at(Ht,Vt,br){return br!==void 0?br:Vt==="year"&&Ht.lang.yearPlaceholder?Ht.lang.yearPlaceholder:Vt==="quarter"&&Ht.lang.quarterPlaceholder?Ht.lang.quarterPlaceholder:Vt==="month"&&Ht.lang.monthPlaceholder?Ht.lang.monthPlaceholder:Vt==="week"&&Ht.lang.weekPlaceholder?Ht.lang.weekPlaceholder:Vt==="time"&&Ht.timePickerLocale.placeholder?Ht.timePickerLocale.placeholder:Ht.lang.placeholder}function yt(Ht,Vt,br){return br!==void 0?br:Vt==="year"&&Ht.lang.yearPlaceholder?Ht.lang.rangeYearPlaceholder:Vt==="quarter"&&Ht.lang.quarterPlaceholder?Ht.lang.rangeQuarterPlaceholder:Vt==="month"&&Ht.lang.monthPlaceholder?Ht.lang.rangeMonthPlaceholder:Vt==="week"&&Ht.lang.weekPlaceholder?Ht.lang.rangeWeekPlaceholder:Vt==="time"&&Ht.timePickerLocale.placeholder?Ht.timePickerLocale.rangePlaceholder:Ht.lang.rangePlaceholder}function xt(Ht,Vt){const{allowClear:br=!0}=Ht,{clearIcon:Kr,removeIcon:an}=(0,Dt.Z)(Object.assign(Object.assign({},Ht),{prefixCls:Vt,componentName:"DatePicker"}));return[L.useMemo(()=>br===!1?!1:Object.assign({clearIcon:Kr},br===!0?{}:br),[br,Kr]),an]}const[ht,tr]=["week","WeekPicker"],[mr,hr]=["month","MonthPicker"],[Ir,tn]=["year","YearPicker"],[Pr,x]=["quarter","QuarterPicker"],[F,wt]=["time","TimePicker"];var oe=n(99571),kr=Ht=>L.createElement(oe.ZP,Object.assign({size:"small",type:"primary"},Ht));function Br(Ht){return(0,L.useMemo)(()=>Object.assign({button:kr},Ht),[Ht])}var wn=function(Ht,Vt){var br={};for(var Kr in Ht)Object.prototype.hasOwnProperty.call(Ht,Kr)&&Vt.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++)Vt.indexOf(Kr[an])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Kr[an])&&(br[Kr[an]]=Ht[Kr[an]]);return br},Rt=Ht=>(0,L.forwardRef)((br,Kr)=>{var an;const{prefixCls:An,getPopupContainer:St,components:Bt,className:We,style:jr,placement:$r,size:Gr,disabled:Sn,bordered:na=!0,placeholder:mt,popupClassName:rr,dropdownClassName:lr,status:or,rootClassName:Nr,variant:Dr,picker:sn}=br,Tr=wn(br,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),mn=L.useRef(null),{getPrefixCls:on,direction:Mn,getPopupContainer:jn,rangePicker:bn}=(0,L.useContext)(Ce.E_),zn=on("picker",An),{compactSize:ua,compactItemClassnames:nn}=(0,ue.ri)(zn,Mn),$n=on(),[kn,Ea]=(0,I.Z)("rangePicker",Dr,na),Dn=(0,J.Z)(zn),[aa,Kn,Zn]=Ut(zn,Dn),[Jn]=xt(br,zn),On=Br(Bt),Bn=(0,we.Z)(P=>{var d;return(d=Gr!=null?Gr:ua)!==null&&d!==void 0?d:P}),Yn=L.useContext(be.Z),Ca=Sn!=null?Sn:Yn,Ma=(0,L.useContext)(M.aM),{hasFeedback:ao,status:ro,feedbackIcon:oo}=Ma,f=L.createElement(L.Fragment,null,sn===F?L.createElement(K,null):L.createElement(c,null),ao&&oo);(0,L.useImperativeHandle)(Kr,()=>mn.current);const[s]=(0,rt.Z)("Calendar",le.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(L.createElement(Pe.Z,{space:!0},L.createElement(Ee.Sq,Object.assign({separator:L.createElement("span",{"aria-label":"to",className:`${zn}-separator`},L.createElement(ie,null)),disabled:Ca,ref:mn,placement:$r,placeholder:yt(p,sn,mt),suffixIcon:f,prevIcon:L.createElement("span",{className:`${zn}-prev-icon`}),nextIcon:L.createElement("span",{className:`${zn}-next-icon`}),superPrevIcon:L.createElement("span",{className:`${zn}-super-prev-icon`}),superNextIcon:L.createElement("span",{className:`${zn}-super-next-icon`}),transitionName:`${$n}-slide-up`,picker:sn},Tr,{className:q()({[`${zn}-${Bn}`]:Bn,[`${zn}-${kn}`]:Ea},(0,He.Z)(zn,(0,He.F)(ro,or),ao),Kn,nn,We,bn==null?void 0:bn.className,Zn,Dn,Nr),style:Object.assign(Object.assign({},bn==null?void 0:bn.style),jr),locale:p.lang,prefixCls:zn,getPopupContainer:St||jn,generateConfig:Ht,components:On,direction:Mn,classNames:{popup:q()(Kn,rr||lr,Zn,Dn,Nr)},styles:{popup:Object.assign(Object.assign({},br.popupStyle),{zIndex:b})},allowClear:Jn}))))}),Sr=function(Ht,Vt){var br={};for(var Kr in Ht)Object.prototype.hasOwnProperty.call(Ht,Kr)&&Vt.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++)Vt.indexOf(Kr[an])<0&&Object.prototype.propertyIsEnumerable.call(Ht,Kr[an])&&(br[Kr[an]]=Ht[Kr[an]]);return br},S=Ht=>{const Vt=(We,jr)=>{const $r=jr===wt?"timePicker":"datePicker";return(0,L.forwardRef)((Sn,na)=>{var mt;const{prefixCls:rr,getPopupContainer:lr,components:or,style:Nr,className:Dr,rootClassName:sn,size:Tr,bordered:mn,placement:on,placeholder:Mn,popupClassName:jn,dropdownClassName:bn,disabled:zn,status:ua,variant:nn,onCalendarChange:$n}=Sn,kn=Sr(Sn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:Ea,direction:Dn,getPopupContainer:aa,[$r]:Kn}=(0,L.useContext)(Ce.E_),Zn=Ea("picker",rr),{compactSize:Jn,compactItemClassnames:On}=(0,ue.ri)(Zn,Dn),Bn=L.useRef(null),[Yn,Ca]=(0,I.Z)("datePicker",nn,mn),Ma=(0,J.Z)(Zn),[ao,ro,oo]=Ut(Zn,Ma);(0,L.useImperativeHandle)(na,()=>Bn.current);const f={showToday:!0},s=We||Sn.picker,p=Ea(),{onSelect:b,multiple:P}=kn,d=b&&We==="time"&&!P,ne=(tt,Se,kt)=>{$n==null||$n(tt,Se,kt),d&&b(tt)},[Z,ee]=xt(Sn,Zn),Ie=Br(or),ot=(0,we.Z)(tt=>{var Se;return(Se=Tr!=null?Tr:Jn)!==null&&Se!==void 0?Se:tt}),Pt=L.useContext(be.Z),Et=zn!=null?zn:Pt,ge=(0,L.useContext)(M.aM),{hasFeedback:nt,status:gt,feedbackIcon:Kt}=ge,ct=L.createElement(L.Fragment,null,s==="time"?L.createElement(K,null):L.createElement(c,null),nt&&Kt),[cr]=(0,rt.Z)("DatePicker",le.Z),Cr=Object.assign(Object.assign({},cr),Sn.locale),[Qt]=(0,et.Cn)("DatePicker",(mt=Sn.popupStyle)===null||mt===void 0?void 0:mt.zIndex);return ao(L.createElement(Pe.Z,{space:!0},L.createElement(Ee.ZP,Object.assign({ref:Bn,placeholder:at(Cr,s,Mn),suffixIcon:ct,placement:on,prevIcon:L.createElement("span",{className:`${Zn}-prev-icon`}),nextIcon:L.createElement("span",{className:`${Zn}-next-icon`}),superPrevIcon:L.createElement("span",{className:`${Zn}-super-prev-icon`}),superNextIcon:L.createElement("span",{className:`${Zn}-super-next-icon`}),transitionName:`${p}-slide-up`,picker:We,onCalendarChange:ne},f,kn,{locale:Cr.lang,className:q()({[`${Zn}-${ot}`]:ot,[`${Zn}-${Yn}`]:Ca},(0,He.Z)(Zn,(0,He.F)(gt,ua),nt),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:lr||aa,generateConfig:Ht,components:Ie,direction:Dn,disabled:Et,classNames:{popup:q()(ro,oo,Ma,sn,jn||bn)},styles:{popup:Object.assign(Object.assign({},Sn.popupStyle),{zIndex:Qt})},allowClear:Z,removeIcon:ee}))))})},br=Vt(),Kr=Vt(ht,tr),an=Vt(mr,hr),An=Vt(Ir,tn),St=Vt(Pr,x),Bt=Vt(F,wt);return{DatePicker:br,WeekPicker:Kr,MonthPicker:an,YearPicker:An,TimePicker:Bt,QuarterPicker:St}},Gt=Ht=>{const{DatePicker:Vt,WeekPicker:br,MonthPicker:Kr,YearPicker:an,TimePicker:An,QuarterPicker:St}=S(Ht),Bt=Rt(Ht),We=Vt;return We.WeekPicker=br,We.MonthPicker=Kr,We.YearPicker=an,We.RangePicker=Bt,We.TimePicker=An,We.QuarterPicker=St,We};const $=Gt(o.Z),Ae=(0,Xe.Z)($,"popupAlign",void 0,"picker");$._InternalPanelDoNotUseOrYouWillBeFired=Ae;const Cn=(0,Xe.Z)($.RangePicker,"popupAlign",void 0,"picker");$._InternalRangePanelDoNotUseOrYouWillBeFired=Cn,$.generatePicker=Gt;var Zr=$},37285:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return z}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(48755),Y=n(36237),Q=n(63356),_=n(16931),y=n(51636);const U=K=>{const{componentCls:O,sizePaddingEdgeHorizontal:D,colorSplit:w,lineWidth:E,textPaddingInline:ie,orientationMargin:X,verticalMarginInline:q}=K;return{[O]:Object.assign(Object.assign({},(0,Q.Wf)(K)),{borderBlockStart:`${(0,Y.unit)(E)} solid ${w}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:q,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,Y.unit)(E)} solid ${w}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,Y.unit)(K.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${O}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,Y.unit)(K.dividerHorizontalWithTextGutterMargin)} 0`,color:K.colorTextHeading,fontWeight:500,fontSize:K.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${w}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,Y.unit)(E)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${O}-with-text-start`]:{"&::before":{width:`calc(${X} * 100%)`},"&::after":{width:`calc(100% - ${X} * 100%)`}},[`&-horizontal${O}-with-text-end`]:{"&::before":{width:`calc(100% - ${X} * 100%)`},"&::after":{width:`calc(${X} * 100%)`}},[`${O}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ie},"&-dashed":{background:"none",borderColor:w,borderStyle:"dashed",borderWidth:`${(0,Y.unit)(E)} 0 0`},[`&-horizontal${O}-with-text${O}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${O}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:w,borderStyle:"dotted",borderWidth:`${(0,Y.unit)(E)} 0 0`},[`&-horizontal${O}-with-text${O}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${O}-dotted`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${O}-with-text`]:{color:K.colorText,fontWeight:"normal",fontSize:K.fontSize},[`&-horizontal${O}-with-text-start${O}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${O}-inner-text`]:{paddingInlineStart:D}},[`&-horizontal${O}-with-text-end${O}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${O}-inner-text`]:{paddingInlineEnd:D}}})}},c=K=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:K.marginXS});var T=(0,_.I$)("Divider",K=>{const O=(0,y.mergeToken)(K,{dividerHorizontalWithTextGutterMargin:K.margin,dividerHorizontalGutterMargin:K.marginLG,sizePaddingEdgeHorizontal:0});return[U(O)]},c,{unitless:{orientationMargin:!0}}),k=function(K,O){var D={};for(var w in K)Object.prototype.hasOwnProperty.call(K,w)&&O.indexOf(w)<0&&(D[w]=K[w]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,w=Object.getOwnPropertySymbols(K);E<w.length;E++)O.indexOf(w[E])<0&&Object.prototype.propertyIsEnumerable.call(K,w[E])&&(D[w[E]]=K[w[E]]);return D},z=K=>{const{getPrefixCls:O,direction:D,className:w,style:E}=(0,ze.dj)("divider"),{prefixCls:ie,type:X="horizontal",orientation:q="center",orientationMargin:Ee,className:Pe,rootClassName:et,children:He,dashed:Ce,variant:be="solid",plain:J,style:we}=K,M=k(K,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),I=O("divider",ie),[rt,ue,le]=T(I),B=!!He,ae=o.useMemo(()=>q==="left"?D==="rtl"?"end":"start":q==="right"?D==="rtl"?"start":"end":q,[D,q]),W=ae==="start"&&Ee!=null,A=ae==="end"&&Ee!=null,re=L()(I,w,ue,le,`${I}-${X}`,{[`${I}-with-text`]:B,[`${I}-with-text-${ae}`]:B,[`${I}-dashed`]:!!Ce,[`${I}-${be}`]:be!=="solid",[`${I}-plain`]:!!J,[`${I}-rtl`]:D==="rtl",[`${I}-no-default-orientation-margin-start`]:W,[`${I}-no-default-orientation-margin-end`]:A},Pe,et),Ve=o.useMemo(()=>typeof Ee=="number"?Ee:/^\d+$/.test(Ee)?Number(Ee):Ee,[Ee]),pe={marginInlineStart:W?Ve:void 0,marginInlineEnd:A?Ve:void 0};return rt(o.createElement("div",Object.assign({className:re,style:Object.assign(Object.assign({},E),we)},M,{role:"separator"}),He&&X!=="vertical"&&o.createElement("span",{className:`${I}-inner-text`,style:pe},He)))}},30641:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return rt}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(66042),Y=n(62487),Q=n(75030),_=n(86641),y=n(55743),U=n(48755),c=n(91190),T=n(78776),k=n(458),z=ue=>{var le,B;const{prefixCls:ae,title:W,footer:A,extra:re,loading:Ve,onClose:pe,headerStyle:Ze,bodyStyle:st,footerStyle:dt,children:he,classNames:Le,styles:At}=ue,Fe=(0,U.dj)("drawer"),Re=o.useCallback(fe=>o.createElement("button",{type:"button",onClick:pe,"aria-label":"Close",className:`${ae}-close`},fe),[pe]),[N,_e]=(0,T.Z)((0,T.w)(ue),(0,T.w)(Fe),{closable:!0,closeIconRender:Re}),ve=o.useMemo(()=>{var fe,me;return!W&&!N?null:o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(fe=Fe.styles)===null||fe===void 0?void 0:fe.header),Ze),At==null?void 0:At.header),className:L()(`${ae}-header`,{[`${ae}-header-close-only`]:N&&!W&&!re},(me=Fe.classNames)===null||me===void 0?void 0:me.header,Le==null?void 0:Le.header)},o.createElement("div",{className:`${ae}-header-title`},_e,W&&o.createElement("div",{className:`${ae}-title`},W)),re&&o.createElement("div",{className:`${ae}-extra`},re))},[N,_e,re,Ze,ae,W]),de=o.useMemo(()=>{var fe,me;if(!A)return null;const Oe=`${ae}-footer`;return o.createElement("div",{className:L()(Oe,(fe=Fe.classNames)===null||fe===void 0?void 0:fe.footer,Le==null?void 0:Le.footer),style:Object.assign(Object.assign(Object.assign({},(me=Fe.styles)===null||me===void 0?void 0:me.footer),dt),At==null?void 0:At.footer)},A)},[A,dt,ae]);return o.createElement(o.Fragment,null,ve,o.createElement("div",{className:L()(`${ae}-body`,Le==null?void 0:Le.body,(le=Fe.classNames)===null||le===void 0?void 0:le.body),style:Object.assign(Object.assign(Object.assign({},(B=Fe.styles)===null||B===void 0?void 0:B.body),st),At==null?void 0:At.body)},Ve?o.createElement(k.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${ae}-body-skeleton`}):he),de)},K=n(36237),O=n(63356),D=n(16931),w=n(51636);const E=ue=>{const le="100%";return{left:`translateX(-${le})`,right:`translateX(${le})`,top:`translateY(-${le})`,bottom:`translateY(${le})`}[ue]},ie=(ue,le)=>({"&-enter, &-appear":Object.assign(Object.assign({},ue),{"&-active":le}),"&-leave":Object.assign(Object.assign({},le),{"&-active":ue})}),X=(ue,le)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${le}`}}},ie({opacity:ue},{opacity:1})),q=(ue,le)=>[X(.7,le),ie({transform:E(ue)},{transform:"none"})];var Pe=ue=>{const{componentCls:le,motionDurationSlow:B}=ue;return{[le]:{[`${le}-mask-motion`]:X(0,B),[`${le}-panel-motion`]:["left","right","top","bottom"].reduce((ae,W)=>Object.assign(Object.assign({},ae),{[`&-${W}`]:q(W,B)}),{})}}};const et=ue=>{const{borderRadiusSM:le,componentCls:B,zIndexPopup:ae,colorBgMask:W,colorBgElevated:A,motionDurationSlow:re,motionDurationMid:Ve,paddingXS:pe,padding:Ze,paddingLG:st,fontSizeLG:dt,lineHeightLG:he,lineWidth:Le,lineType:At,colorSplit:Fe,marginXS:Re,colorIcon:N,colorIconHover:_e,colorBgTextHover:ve,colorBgTextActive:de,colorText:fe,fontWeightStrong:me,footerPaddingBlock:Oe,footerPaddingInline:xe,calc:Ne}=ue,Ye=`${B}-content-wrapper`;return{[B]:{position:"fixed",inset:0,zIndex:ae,pointerEvents:"none",color:fe,"&-pure":{position:"relative",background:A,display:"flex",flexDirection:"column",[`&${B}-left`]:{boxShadow:ue.boxShadowDrawerLeft},[`&${B}-right`]:{boxShadow:ue.boxShadowDrawerRight},[`&${B}-top`]:{boxShadow:ue.boxShadowDrawerUp},[`&${B}-bottom`]:{boxShadow:ue.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${B}-mask`]:{position:"absolute",inset:0,zIndex:ae,background:W,pointerEvents:"auto"},[Ye]:{position:"absolute",zIndex:ae,maxWidth:"100vw",transition:`all ${re}`,"&-hidden":{display:"none"}},[`&-left > ${Ye}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ue.boxShadowDrawerLeft},[`&-right > ${Ye}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ue.boxShadowDrawerRight},[`&-top > ${Ye}`]:{top:0,insetInline:0,boxShadow:ue.boxShadowDrawerUp},[`&-bottom > ${Ye}`]:{bottom:0,insetInline:0,boxShadow:ue.boxShadowDrawerDown},[`${B}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:A,pointerEvents:"auto"},[`${B}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,K.unit)(Ze)} ${(0,K.unit)(st)}`,fontSize:dt,lineHeight:he,borderBottom:`${(0,K.unit)(Le)} ${At} ${Fe}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${B}-extra`]:{flex:"none"},[`${B}-close`]:Object.assign({display:"inline-flex",width:Ne(dt).add(pe).equal(),height:Ne(dt).add(pe).equal(),borderRadius:le,justifyContent:"center",alignItems:"center",marginInlineEnd:Re,color:N,fontWeight:me,fontSize:dt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${Ve}`,textRendering:"auto","&:hover":{color:_e,backgroundColor:ve,textDecoration:"none"},"&:active":{backgroundColor:de}},(0,O.Qy)(ue)),[`${B}-title`]:{flex:1,margin:0,fontWeight:ue.fontWeightStrong,fontSize:dt,lineHeight:he},[`${B}-body`]:{flex:1,minWidth:0,minHeight:0,padding:st,overflow:"auto",[`${B}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${B}-footer`]:{flexShrink:0,padding:`${(0,K.unit)(Oe)} ${(0,K.unit)(xe)}`,borderTop:`${(0,K.unit)(Le)} ${At} ${Fe}`},"&-rtl":{direction:"rtl"}}}},He=ue=>({zIndexPopup:ue.zIndexPopupBase,footerPaddingBlock:ue.paddingXS,footerPaddingInline:ue.padding});var Ce=(0,D.I$)("Drawer",ue=>{const le=(0,w.mergeToken)(ue,{});return[et(le),Pe(le)]},He),be=function(ue,le){var B={};for(var ae in ue)Object.prototype.hasOwnProperty.call(ue,ae)&&le.indexOf(ae)<0&&(B[ae]=ue[ae]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,ae=Object.getOwnPropertySymbols(ue);W<ae.length;W++)le.indexOf(ae[W])<0&&Object.prototype.propertyIsEnumerable.call(ue,ae[W])&&(B[ae[W]]=ue[ae[W]]);return B};const J=null,we={distance:180},M=ue=>{var le;const{rootClassName:B,width:ae,height:W,size:A="default",mask:re=!0,push:Ve=we,open:pe,afterOpenChange:Ze,onClose:st,prefixCls:dt,getContainer:he,style:Le,className:At,visible:Fe,afterVisibleChange:Re,maskStyle:N,drawerStyle:_e,contentWrapperStyle:ve}=ue,de=be(ue,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:fe,getPrefixCls:me,direction:Oe,className:xe,style:Ne,classNames:Ye,styles:pt}=(0,U.dj)("drawer"),$t=me("drawer",dt),[Xt,Ut,Dt]=Ce($t),at=he===void 0&&fe?()=>fe(document.body):he,yt=L()({"no-mask":!re,[`${$t}-rtl`]:Oe==="rtl"},B,Ut,Dt),xt=o.useMemo(()=>ae!=null?ae:A==="large"?736:378,[ae,A]),ht=o.useMemo(()=>W!=null?W:A==="large"?736:378,[W,A]),tr={motionName:(0,_.m)($t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},mr=F=>({motionName:(0,_.m)($t,`panel-motion-${F}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),hr=(0,c.H)(),[Ir,tn]=(0,Q.Cn)("Drawer",de.zIndex),{classNames:Pr={},styles:x={}}=de;return Xt(o.createElement(Y.Z,{form:!0,space:!0},o.createElement(y.Z.Provider,{value:tn},o.createElement(ze.Z,Object.assign({prefixCls:$t,onClose:st,maskMotion:tr,motion:mr},de,{classNames:{mask:L()(Pr.mask,Ye.mask),content:L()(Pr.content,Ye.content),wrapper:L()(Pr.wrapper,Ye.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},x.mask),N),pt.mask),content:Object.assign(Object.assign(Object.assign({},x.content),_e),pt.content),wrapper:Object.assign(Object.assign(Object.assign({},x.wrapper),ve),pt.wrapper)},open:pe!=null?pe:Fe,mask:re,push:Ve,width:xt,height:ht,style:Object.assign(Object.assign({},Ne),Le),className:L()(xe,At),rootClassName:yt,getContainer:at,afterOpenChange:Ze!=null?Ze:Re,panelRef:hr,zIndex:Ir}),o.createElement(z,Object.assign({prefixCls:$t},de,{onClose:st}))))))},I=ue=>{const{prefixCls:le,style:B,className:ae,placement:W="right"}=ue,A=be(ue,["prefixCls","style","className","placement"]),{getPrefixCls:re}=o.useContext(U.E_),Ve=re("drawer",le),[pe,Ze,st]=Ce(Ve),dt=L()(Ve,`${Ve}-pure`,`${Ve}-${W}`,Ze,st,ae);return pe(o.createElement("div",{className:dt,style:B},o.createElement(z,Object.assign({prefixCls:Ve},A))))};M._InternalPanelDoNotUseOrYouWillBeFired=I;var rt=M},19563:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ve}});var o=n(59301),Xe=n(33853),L=n(38819),ze=n(92310),Y=n.n(ze),Q=n(96478),_=n(6089),y=n(18929),U=n(2738),c=n(75030),k=pe=>typeof pe!="object"&&typeof pe!="function"||pe===null,V=n(52838),z=n(45915),K=n(22703),O=n(32383),D=n(55743),w=n(48755),E=n(83397),ie=n(93041),X=n(78857),q=n(57700),Ee=n(36237),Pe=n(63356),et=n(46e3),He=n(93873),Ce=n(34925),be=n(37645),J=n(36305),we=n(16931),M=n(51636),rt=pe=>{const{componentCls:Ze,menuCls:st,colorError:dt,colorTextLightSolid:he}=pe,Le=`${st}-item`;return{[`${Ze}, ${Ze}-menu-submenu`]:{[`${st} ${Le}`]:{[`&${Le}-danger:not(${Le}-disabled)`]:{color:dt,"&:hover":{color:he,backgroundColor:dt}}}}}};const ue=pe=>{const{componentCls:Ze,menuCls:st,zIndexPopup:dt,dropdownArrowDistance:he,sizePopupArrow:Le,antCls:At,iconCls:Fe,motionDurationMid:Re,paddingBlock:N,fontSize:_e,dropdownEdgeChildPadding:ve,colorTextDisabled:de,fontSizeIcon:fe,controlPaddingHorizontal:me,colorBgElevated:Oe}=pe;return[{[Ze]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:dt,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${At}-btn`]:{[`& > ${Fe}-down, & > ${At}-btn-icon > ${Fe}-down`]:{fontSize:fe}},[`${Ze}-wrap`]:{position:"relative",[`${At}-btn > ${Fe}-down`]:{fontSize:fe},[`${Fe}-down::before`]:{transition:`transform ${Re}`}},[`${Ze}-wrap-open`]:{[`${Fe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${At}-slide-down-enter${At}-slide-down-enter-active${Ze}-placement-bottomLeft,
|
|
|
&${At}-slide-down-appear${At}-slide-down-appear-active${Ze}-placement-bottomLeft,
|
|
|
&${At}-slide-down-enter${At}-slide-down-enter-active${Ze}-placement-bottom,
|
|
|
&${At}-slide-down-appear${At}-slide-down-appear-active${Ze}-placement-bottom,
|
|
|
&${At}-slide-down-enter${At}-slide-down-enter-active${Ze}-placement-bottomRight,
|
|
|
&${At}-slide-down-appear${At}-slide-down-appear-active${Ze}-placement-bottomRight`]:{animationName:et.fJ},[`&${At}-slide-up-enter${At}-slide-up-enter-active${Ze}-placement-topLeft,
|
|
|
&${At}-slide-up-appear${At}-slide-up-appear-active${Ze}-placement-topLeft,
|
|
|
&${At}-slide-up-enter${At}-slide-up-enter-active${Ze}-placement-top,
|
|
|
&${At}-slide-up-appear${At}-slide-up-appear-active${Ze}-placement-top,
|
|
|
&${At}-slide-up-enter${At}-slide-up-enter-active${Ze}-placement-topRight,
|
|
|
&${At}-slide-up-appear${At}-slide-up-appear-active${Ze}-placement-topRight`]:{animationName:et.Qt},[`&${At}-slide-down-leave${At}-slide-down-leave-active${Ze}-placement-bottomLeft,
|
|
|
&${At}-slide-down-leave${At}-slide-down-leave-active${Ze}-placement-bottom,
|
|
|
&${At}-slide-down-leave${At}-slide-down-leave-active${Ze}-placement-bottomRight`]:{animationName:et.Uw},[`&${At}-slide-up-leave${At}-slide-up-leave-active${Ze}-placement-topLeft,
|
|
|
&${At}-slide-up-leave${At}-slide-up-leave-active${Ze}-placement-top,
|
|
|
&${At}-slide-up-leave${At}-slide-up-leave-active${Ze}-placement-topRight`]:{animationName:et.ly}}},(0,be.ZP)(pe,Oe,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ze} ${st}`]:{position:"relative",margin:0},[`${st}-submenu-popup`]:{position:"absolute",zIndex:dt,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)),{[st]:Object.assign(Object.assign({padding:ve,listStyleType:"none",backgroundColor:Oe,backgroundClip:"padding-box",borderRadius:pe.borderRadiusLG,outline:"none",boxShadow:pe.boxShadowSecondary},(0,Pe.Qy)(pe)),{"&:empty":{padding:0,boxShadow:"none"},[`${st}-item-group-title`]:{padding:`${(0,Ee.unit)(N)} ${(0,Ee.unit)(me)}`,color:pe.colorTextDescription,transition:`all ${Re}`},[`${st}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${st}-item-icon`]:{minWidth:_e,marginInlineEnd:pe.marginXS,fontSize:pe.fontSizeSM},[`${st}-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:'""'}},[`${st}-item-extra`]:{paddingInlineStart:pe.padding,marginInlineStart:"auto",fontSize:pe.fontSizeSM,color:pe.colorTextDescription}},[`${st}-item, ${st}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,Ee.unit)(N)} ${(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:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:Oe,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"}}}),[`${st}-item-group-list`]:{margin:`0 ${(0,Ee.unit)(pe.marginXS)}`,padding:0,listStyle:"none"},[`${st}-submenu-title`]:{paddingInlineEnd:pe.calc(me).add(pe.fontSizeSM).equal()},[`${st}-submenu-vertical`]:{position:"relative"},[`${st}-submenu${st}-submenu-disabled ${Ze}-menu-submenu-title`]:{[`&, ${Ze}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:Oe,cursor:"not-allowed"}},[`${st}-submenu-selected ${Ze}-menu-submenu-title`]:{color:pe.colorPrimary}})})},[(0,et.oN)(pe,"slide-up"),(0,et.oN)(pe,"slide-down"),(0,He.Fm)(pe,"move-up"),(0,He.Fm)(pe,"move-down"),(0,Ce._y)(pe,"zoom-big")]]},le=pe=>Object.assign(Object.assign({zIndexPopup:pe.zIndexPopupBase+50,paddingBlock:(pe.controlHeight-pe.fontSize*pe.lineHeight)/2},(0,be.wZ)({contentRadius:pe.borderRadiusLG,limitVerticalRadius:!0})),(0,J.w)(pe));var B=(0,we.I$)("Dropdown",pe=>{const{marginXXS:Ze,sizePopupArrow:st,paddingXXS:dt,componentCls:he}=pe,Le=(0,M.mergeToken)(pe,{menuCls:`${he}-menu`,dropdownArrowDistance:pe.calc(st).div(2).add(Ze).equal(),dropdownEdgeChildPadding:dt});return[ue(Le),rt(Le)]},le,{resetStyle:!1});const ae=null,W=pe=>{var Ze;const{menu:st,arrow:dt,prefixCls:he,children:Le,trigger:At,disabled:Fe,dropdownRender:Re,getPopupContainer:N,overlayClassName:_e,rootClassName:ve,overlayStyle:de,open:fe,onOpenChange:me,visible:Oe,onVisibleChange:xe,mouseEnterDelay:Ne=.15,mouseLeaveDelay:Ye=.1,autoAdjustOverflow:pt=!0,placement:$t="",overlay:Xt,transitionName:Ut}=pe,{getPopupContainer:Dt,getPrefixCls:at,direction:yt,dropdown:xt}=o.useContext(w.E_),ht=(0,O.ln)("Dropdown"),tr=o.useMemo(()=>{const Ae=at();return Ut!==void 0?Ut:$t.includes("top")?`${Ae}-slide-down`:`${Ae}-slide-up`},[at,$t,Ut]),mr=o.useMemo(()=>$t?$t.includes("Center")?$t.slice(0,$t.indexOf("Center")):$t:yt==="rtl"?"bottomRight":"bottomLeft",[$t,yt]),hr=at("dropdown",he),Ir=(0,E.Z)(hr),[tn,Pr,x]=B(hr,Ir),[,F]=(0,q.ZP)(),wt=o.Children.only(k(Le)?o.createElement("span",null,Le):Le),oe=(0,K.Tm)(wt,{className:Y()(`${hr}-trigger`,{[`${hr}-rtl`]:yt==="rtl"},wt.props.className),disabled:(Ze=wt.props.disabled)!==null&&Ze!==void 0?Ze:Fe}),Be=Fe?[]:At,kr=!!(Be!=null&&Be.includes("contextMenu")),[Br,wn]=(0,y.Z)(!1,{value:fe!=null?fe:Oe}),Fn=(0,_.Z)(Ae=>{me==null||me(Ae,{source:"trigger"}),xe==null||xe(Ae),wn(Ae)}),Rt=Y()(_e,ve,Pr,x,Ir,xt==null?void 0:xt.className,{[`${hr}-rtl`]:yt==="rtl"}),Sr=(0,V.Z)({arrowPointAtCenter:typeof dt=="object"&&dt.pointAtCenter,autoAdjustOverflow:pt,offset:F.marginXXS,arrowWidth:dt?F.sizePopupArrow:0,borderRadius:F.borderRadius}),sr=o.useCallback(()=>{st!=null&&st.selectable&&(st!=null&&st.multiple)||(me==null||me(!1,{source:"menu"}),wn(!1))},[st==null?void 0:st.selectable,st==null?void 0:st.multiple]),S=()=>{let Ae;return st!=null&&st.items?Ae=o.createElement(ie.default,Object.assign({},st)):typeof Xt=="function"?Ae=Xt():Ae=Xt,Re&&(Ae=Re(Ae)),Ae=o.Children.only(typeof Ae=="string"?o.createElement("span",null,Ae):Ae),o.createElement(X.J,{prefixCls:`${hr}-menu`,rootClassName:Y()(x,Ir),expandIcon:o.createElement("span",{className:`${hr}-menu-submenu-arrow`},yt==="rtl"?o.createElement(Xe.Z,{className:`${hr}-menu-submenu-arrow-icon`}):o.createElement(L.Z,{className:`${hr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:sr,validator:Cn=>{let{mode:Zr}=Cn}},Ae)},[v,Gt]=(0,c.Cn)("Dropdown",de==null?void 0:de.zIndex);let $=o.createElement(Q.Z,Object.assign({alignPoint:kr},(0,U.Z)(pe,["rootClassName"]),{mouseEnterDelay:Ne,mouseLeaveDelay:Ye,visible:Br,builtinPlacements:Sr,arrow:!!dt,overlayClassName:Rt,prefixCls:hr,getPopupContainer:N||Dt,transitionName:tr,trigger:Be,overlay:S,placement:mr,onVisibleChange:Fn,overlayStyle:Object.assign(Object.assign(Object.assign({},xt==null?void 0:xt.style),de),{zIndex:v})}),oe);return v&&($=o.createElement(D.Z.Provider,{value:Gt},$)),tn($)},A=(0,z.Z)(W,"align",void 0,"dropdown",pe=>pe),re=pe=>o.createElement(A,Object.assign({},pe),o.createElement("span",null));W._InternalPanelDoNotUseOrYouWillBeFired=re;var Ve=W},75727:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return z}});var o=n(19563),Xe=n(59301),L=n(18785),ze=n(92310),Y=n.n(ze),Q=n(99571),_=n(48755),y=n(77736),U=n(70045),c=function(K,O){var D={};for(var w in K)Object.prototype.hasOwnProperty.call(K,w)&&O.indexOf(w)<0&&(D[w]=K[w]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,w=Object.getOwnPropertySymbols(K);E<w.length;E++)O.indexOf(w[E])<0&&Object.prototype.propertyIsEnumerable.call(K,w[E])&&(D[w[E]]=K[w[E]]);return D};const T=K=>{const{getPopupContainer:O,getPrefixCls:D,direction:w}=Xe.useContext(_.E_),{prefixCls:E,type:ie="default",danger:X,disabled:q,loading:Ee,onClick:Pe,htmlType:et,children:He,className:Ce,menu:be,arrow:J,autoFocus:we,overlay:M,trigger:I,align:rt,open:ue,onOpenChange:le,placement:B,getPopupContainer:ae,href:W,icon:A=Xe.createElement(L.Z,null),title:re,buttonsRender:Ve=Ne=>Ne,mouseEnterDelay:pe,mouseLeaveDelay:Ze,overlayClassName:st,overlayStyle:dt,destroyPopupOnHide:he,dropdownRender:Le}=K,At=c(K,["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"]),Fe=D("dropdown",E),Re=`${Fe}-button`,N={menu:be,arrow:J,autoFocus:we,align:rt,disabled:q,trigger:q?[]:I,onOpenChange:le,getPopupContainer:ae||O,mouseEnterDelay:pe,mouseLeaveDelay:Ze,overlayClassName:st,overlayStyle:dt,destroyPopupOnHide:he,dropdownRender:Le},{compactSize:_e,compactItemClassnames:ve}=(0,U.ri)(Fe,w),de=Y()(Re,ve,Ce);"overlay"in K&&(N.overlay=M),"open"in K&&(N.open=ue),"placement"in K?N.placement=B:N.placement=w==="rtl"?"bottomLeft":"bottomRight";const fe=Xe.createElement(Q.ZP,{type:ie,danger:X,disabled:q,loading:Ee,onClick:Pe,htmlType:et,href:W,title:re},He),me=Xe.createElement(Q.ZP,{type:ie,danger:X,icon:A}),[Oe,xe]=Ve([fe,me]);return Xe.createElement(y.Z.Compact,Object.assign({className:de,size:_e,block:!0},At),Oe,Xe.createElement(o.Z,Object.assign({},N),xe))};T.__ANT_BUTTON=!0;var k=T;const V=o.Z;V.Button=k;var z=V},584:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ie}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(9017),Y=n(17835),Q=n(57700),y=()=>{const[,X]=(0,Q.ZP)(),[q]=(0,ze.Z)("Empty"),Pe=new Y.FastColor(X.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,(q==null?void 0:q.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[,X]=(0,Q.ZP)(),[q]=(0,ze.Z)("Empty"),{colorFill:Ee,colorFillTertiary:Pe,colorFillQuaternary:et,colorBgContainer:He}=X,{borderColor:Ce,shadowColor:be,contentColor:J}=(0,o.useMemo)(()=>({borderColor:new Y.FastColor(Ee).onBackground(He).toHexString(),shadowColor:new Y.FastColor(Pe).onBackground(He).toHexString(),contentColor:new Y.FastColor(et).onBackground(He).toHexString()}),[Ee,Pe,et,He]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(q==null?void 0:q.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:be,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:Ce},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:J}))))},T=n(16931),k=n(51636);const V=X=>{const{componentCls:q,margin:Ee,marginXS:Pe,marginXL:et,fontSize:He,lineHeight:Ce}=X;return{[q]:{marginInline:Pe,fontSize:He,lineHeight:Ce,textAlign:"center",[`${q}-image`]:{height:X.emptyImgHeight,marginBottom:Pe,opacity:X.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${q}-description`]:{color:X.colorTextDescription},[`${q}-footer`]:{marginTop:Ee},"&-normal":{marginBlock:et,color:X.colorTextDescription,[`${q}-description`]:{color:X.colorTextDescription},[`${q}-image`]:{height:X.emptyImgHeightMD}},"&-small":{marginBlock:Pe,color:X.colorTextDescription,[`${q}-image`]:{height:X.emptyImgHeightSM}}}}};var z=(0,T.I$)("Empty",X=>{const{componentCls:q,controlHeightLG:Ee,calc:Pe}=X,et=(0,k.mergeToken)(X,{emptyImgCls:`${q}-img`,emptyImgHeight:Pe(Ee).mul(2.5).equal(),emptyImgHeightMD:Ee,emptyImgHeightSM:Pe(Ee).mul(.875).equal()});return[V(et)]}),K=n(48755),O=function(X,q){var Ee={};for(var Pe in X)Object.prototype.hasOwnProperty.call(X,Pe)&&q.indexOf(Pe)<0&&(Ee[Pe]=X[Pe]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,Pe=Object.getOwnPropertySymbols(X);et<Pe.length;et++)q.indexOf(Pe[et])<0&&Object.prototype.propertyIsEnumerable.call(X,Pe[et])&&(Ee[Pe[et]]=X[Pe[et]]);return Ee};const D=o.createElement(y,null),w=o.createElement(c,null),E=X=>{const{className:q,rootClassName:Ee,prefixCls:Pe,image:et=D,description:He,children:Ce,imageStyle:be,style:J,classNames:we,styles:M}=X,I=O(X,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:rt,direction:ue,className:le,style:B,classNames:ae,styles:W}=(0,K.dj)("empty"),A=rt("empty",Pe),[re,Ve,pe]=z(A),[Ze]=(0,ze.Z)("Empty"),st=typeof He!="undefined"?He:Ze==null?void 0:Ze.description,dt=typeof st=="string"?st:"empty";let he=null;return typeof et=="string"?he=o.createElement("img",{alt:dt,src:et}):he=et,re(o.createElement("div",Object.assign({className:L()(Ve,pe,A,le,{[`${A}-normal`]:et===w,[`${A}-rtl`]:ue==="rtl"},q,Ee,ae.root,we==null?void 0:we.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},W.root),B),M==null?void 0:M.root),J)},I),o.createElement("div",{className:L()(`${A}-image`,ae.image,we==null?void 0:we.image),style:Object.assign(Object.assign(Object.assign({},be),W.image),M==null?void 0:M.image)},he),st&&o.createElement("div",{className:L()(`${A}-description`,ae.description,we==null?void 0:we.description),style:Object.assign(Object.assign({},W.description),M==null?void 0:M.description)},st),Ce&&o.createElement("div",{className:L()(`${A}-footer`,ae.footer,we==null?void 0:we.footer),style:Object.assign(Object.assign({},W.footer),M==null?void 0:M.footer)},Ce)))};E.PRESENTED_IMAGE_DEFAULT=D,E.PRESENTED_IMAGE_SIMPLE=w;var ie=E},24971:function(qr,_t,n){"use strict";var o=n(59301),Xe=n(56553),L=n(48755);const ze=function(Y,Q){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,U;const{variant:c,[Y]:T}=o.useContext(L.E_),k=o.useContext(Xe.pg),V=T==null?void 0:T.variant;let z;typeof Q!="undefined"?z=Q:_===!1?z="borderless":z=(U=(y=k!=null?k:V)!==null&&y!==void 0?y:c)!==null&&U!==void 0?U:"outlined";const K=L.tr.includes(z);return[z,K]};_t.Z=ze},28284:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return na}});var o=n(56553),Xe=n(94480),L=n(59301),ze=n(92310),Y=n.n(ze),Q=n(77900),_=n(86641),y=n(83397);function U(mt){const[rr,lr]=L.useState(mt);return L.useEffect(()=>{const or=setTimeout(()=>{lr(mt)},mt.length?0:10);return()=>{clearTimeout(or)}},[mt]),rr}var c=n(36237),T=n(63356),k=n(34925),V=n(34961),z=n(51636),K=n(16931),D=mt=>{const{componentCls:rr}=mt,lr=`${rr}-show-help`,or=`${rr}-show-help-item`;return{[lr]:{transition:`opacity ${mt.motionDurationFast} ${mt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[or]:{overflow:"hidden",transition:`height ${mt.motionDurationFast} ${mt.motionEaseInOut},
|
|
|
opacity ${mt.motionDurationFast} ${mt.motionEaseInOut},
|
|
|
transform ${mt.motionDurationFast} ${mt.motionEaseInOut} !important`,[`&${or}-appear, &${or}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${or}-leave-active`]:{transform:"translateY(-5px)"}}}}};const w=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}}),E=(mt,rr)=>{const{formItemCls:lr}=mt;return{[lr]:{[`${lr}-label > label`]:{height:rr},[`${lr}-control-input`]:{minHeight:rr}}}},ie=mt=>{const{componentCls:rr}=mt;return{[mt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,T.Wf)(mt)),w(mt)),{[`${rr}-text`]:{display:"inline-block",paddingInlineEnd:mt.paddingSM},"&-small":Object.assign({},E(mt,mt.controlHeightSM)),"&-large":Object.assign({},E(mt,mt.controlHeightLG))})}},X=mt=>{const{formItemCls:rr,iconCls:lr,rootPrefixCls:or,antCls:Nr,labelRequiredMarkColor:Dr,labelColor:sn,labelFontSize:Tr,labelHeight:mn,labelColonMarginInlineStart:on,labelColonMarginInlineEnd:Mn,itemMarginBottom:jn}=mt;return{[rr]:Object.assign(Object.assign({},(0,T.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:mn,color:sn,fontSize:Tr,[`> ${lr}`]:{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^="'${or}-col-'"]):not([class*="' ${or}-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:k.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}}})}},q=(mt,rr)=>{const{formItemCls:lr}=mt;return{[`${rr}-horizontal`]:{[`${lr}-label`]:{flexGrow:0},[`${lr}-control`]:{flex:"1 1 0",minWidth:0},[`${lr}-label[class$='-24'], ${lr}-label[class*='-24 ']`]:{[`& + ${lr}-control`]:{minWidth:"unset"}}}}},Ee=mt=>{const{componentCls:rr,formItemCls:lr,inlineItemMarginBottom:or}=mt;return{[`${rr}-inline`]:{display:"flex",flexWrap:"wrap",[lr]:{flex:"none",marginInlineEnd:mt.margin,marginBottom:or,"&-row":{flexWrap:"nowrap"},[`> ${lr}-label,
|
|
|
> ${lr}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${lr}-label`]:{flex:"none"},[`${rr}-text`]:{display:"inline-block"},[`${lr}-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:lr,rootPrefixCls:or}=mt;return{[`${lr} ${lr}-label`]:Pe(mt),[`${rr}:not(${rr}-inline)`]:{[lr]:{flexWrap:"wrap",[`${lr}-label, ${lr}-control`]:{[`&:not([class*=" ${or}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},He=mt=>{const{componentCls:rr,formItemCls:lr,antCls:or}=mt;return{[`${rr}-vertical`]:{[`${lr}:not(${lr}-horizontal)`]:{[`${lr}-row`]:{flexDirection:"column"},[`${lr}-label > label`]:{height:"auto"},[`${lr}-control`]:{width:"100%"},[`${lr}-label,
|
|
|
${or}-col-24${lr}-label,
|
|
|
${or}-col-xl-24${lr}-label`]:Pe(mt)}},[`@media (max-width: ${(0,c.unit)(mt.screenXSMax)})`]:[et(mt),{[rr]:{[`${lr}:not(${lr}-horizontal)`]:{[`${or}-col-xs-24${lr}-label`]:Pe(mt)}}}],[`@media (max-width: ${(0,c.unit)(mt.screenSMMax)})`]:{[rr]:{[`${lr}:not(${lr}-horizontal)`]:{[`${or}-col-sm-24${lr}-label`]:Pe(mt)}}},[`@media (max-width: ${(0,c.unit)(mt.screenMDMax)})`]:{[rr]:{[`${lr}:not(${lr}-horizontal)`]:{[`${or}-col-md-24${lr}-label`]:Pe(mt)}}},[`@media (max-width: ${(0,c.unit)(mt.screenLGMax)})`]:{[rr]:{[`${lr}:not(${lr}-horizontal)`]:{[`${or}-col-lg-24${lr}-label`]:Pe(mt)}}}}},Ce=mt=>{const{formItemCls:rr,antCls:lr}=mt;return{[`${rr}-vertical`]:{[`${rr}-row`]:{flexDirection:"column"},[`${rr}-label > label`]:{height:"auto"},[`${rr}-control`]:{width:"100%"}},[`${rr}-vertical ${rr}-label,
|
|
|
${lr}-col-24${rr}-label,
|
|
|
${lr}-col-xl-24${rr}-label`]:Pe(mt),[`@media (max-width: ${(0,c.unit)(mt.screenXSMax)})`]:[et(mt),{[rr]:{[`${lr}-col-xs-24${rr}-label`]:Pe(mt)}}],[`@media (max-width: ${(0,c.unit)(mt.screenSMMax)})`]:{[rr]:{[`${lr}-col-sm-24${rr}-label`]:Pe(mt)}},[`@media (max-width: ${(0,c.unit)(mt.screenMDMax)})`]:{[rr]:{[`${lr}-col-md-24${rr}-label`]:Pe(mt)}},[`@media (max-width: ${(0,c.unit)(mt.screenLGMax)})`]:{[rr]:{[`${lr}-col-lg-24${rr}-label`]:Pe(mt)}}}},be=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}),J=(mt,rr)=>(0,z.mergeToken)(mt,{formItemCls:`${mt.componentCls}-item`,rootPrefixCls:rr});var we=(0,K.I$)("Form",(mt,rr)=>{let{rootPrefixCls:lr}=rr;const or=J(mt,lr);return[ie(or),X(or),D(or),q(or,or.componentCls),q(or,or.formItemCls),Ee(or),He(or),Ce(or),(0,V.Z)(or),k.kr]},be,{order:-1e3});const M=[];function I(mt,rr,lr){let or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof mt=="string"?mt:`${rr}-${or}`,error:mt,errorStatus:lr}}var ue=mt=>{let{help:rr,helpStatus:lr,errors:or=M,warnings:Nr=M,className:Dr,fieldId:sn,onVisibleChanged:Tr}=mt;const{prefixCls:mn}=L.useContext(o.Rk),on=`${mn}-item-explain`,Mn=(0,y.Z)(mn),[jn,bn,zn]=we(mn,Mn),ua=L.useMemo(()=>(0,_.Z)(mn),[mn]),nn=U(or),$n=U(Nr),kn=L.useMemo(()=>rr!=null?[I(rr,"help",lr)]:[].concat((0,Xe.Z)(nn.map((aa,Kn)=>I(aa,"error","error",Kn))),(0,Xe.Z)($n.map((aa,Kn)=>I(aa,"warning","warning",Kn)))),[rr,lr,nn,$n]),Ea=L.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]),Dn={};return sn&&(Dn.id=`${sn}_help`),jn(L.createElement(Q.default,{motionDeadline:ua.motionDeadline,motionName:`${mn}-show-help`,visible:!!Ea.length,onVisibleChanged:Tr},aa=>{const{className:Kn,style:Zn}=aa;return L.createElement("div",Object.assign({},Dn,{className:Y()(on,Kn,zn,Mn,Dr,bn),style:Zn}),L.createElement(Q.CSSMotionList,Object.assign({keys:Ea},(0,_.Z)(mn),{motionName:`${mn}-show-help-item`,component:!1}),Jn=>{const{key:On,error:Bn,errorStatus:Yn,className:Ca,style:Ma}=Jn;return L.createElement("div",{key:On,className:Y()(Ca,{[`${on}-${Yn}`]:Yn}),style:Ma},Bn)}))}))},le=n(30810),B=n(48755),ae=n(2171),W=n(31756),A=n(23069),re=n(76846),Ve=n(16722);const pe=["parentNode"],Ze="form_item";function st(mt){return mt===void 0||mt===!1?[]:Array.isArray(mt)?mt:[mt]}function dt(mt,rr){if(!mt.length)return;const lr=mt.join("_");return rr?`${rr}_${lr}`:pe.includes(lr)?`${Ze}_${lr}`:lr}function he(mt,rr,lr,or,Nr,Dr){let sn=or;return Dr!==void 0?sn=Dr:lr.validating?sn="validating":mt.length?sn="error":rr.length?sn="warning":(lr.touched||Nr&&lr.validated)&&(sn="success"),sn}var Le=function(mt,rr){var lr={};for(var or in mt)Object.prototype.hasOwnProperty.call(mt,or)&&rr.indexOf(or)<0&&(lr[or]=mt[or]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,or=Object.getOwnPropertySymbols(mt);Nr<or.length;Nr++)rr.indexOf(or[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,or[Nr])&&(lr[or[Nr]]=mt[or[Nr]]);return lr};function At(mt){return st(mt).join("_")}function Fe(mt,rr){const lr=rr.getFieldInstance(mt),or=(0,re.bn)(lr);if(or)return or;const Nr=dt(st(mt),rr.__INTERNAL__.name);if(Nr)return document.getElementById(Nr)}function Re(mt){const[rr]=(0,le.useForm)(),lr=L.useRef({}),or=L.useMemo(()=>mt!=null?mt:Object.assign(Object.assign({},rr),{__INTERNAL__:{itemRef:Nr=>Dr=>{const sn=At(Nr);Dr?lr.current[sn]=Dr:delete lr.current[sn]}},scrollToField:function(Nr){let Dr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:sn}=Dr,Tr=Le(Dr,["focus"]),mn=Fe(Nr,or);mn&&((0,Ve.Z)(mn,Object.assign({scrollMode:"if-needed",block:"nearest"},Tr)),sn&&or.focusField(Nr))},focusField:Nr=>{var Dr,sn;const Tr=or.getFieldInstance(Nr);typeof(Tr==null?void 0:Tr.focus)=="function"?Tr.focus():(sn=(Dr=Fe(Nr,or))===null||Dr===void 0?void 0:Dr.focus)===null||sn===void 0||sn.call(Dr)},getFieldInstance:Nr=>{const Dr=At(Nr);return lr.current[Dr]}}),[mt,rr]);return[or]}var N=n(98350),_e=function(mt,rr){var lr={};for(var or in mt)Object.prototype.hasOwnProperty.call(mt,or)&&rr.indexOf(or)<0&&(lr[or]=mt[or]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,or=Object.getOwnPropertySymbols(mt);Nr<or.length;Nr++)rr.indexOf(or[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,or[Nr])&&(lr[or[Nr]]=mt[or[Nr]]);return lr};const ve=(mt,rr)=>{const lr=L.useContext(ae.Z),{getPrefixCls:or,direction:Nr,requiredMark:Dr,colon:sn,scrollToFirstError:Tr,className:mn,style:on}=(0,B.dj)("form"),{prefixCls:Mn,className:jn,rootClassName:bn,size:zn,disabled:ua=lr,form:nn,colon:$n,labelAlign:kn,labelWrap:Ea,labelCol:Dn,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,W.Z)(zn),f=L.useContext(N.Z),s=L.useMemo(()=>On!==void 0?On:Kn?!1:Dr!==void 0?Dr:!0,[Kn,On,Dr]),p=$n!=null?$n:sn,b=or("form",Mn),P=(0,y.Z)(b),[d,ne,Z]=we(b,P),ee=Y()(b,`${b}-${Zn}`,{[`${b}-hide-required-mark`]:s===!1,[`${b}-rtl`]:Nr==="rtl",[`${b}-${oo}`]:oo},Z,P,ne,mn,jn,bn),[Ie]=Re(nn),{__INTERNAL__:ot}=Ie;ot.name=Yn;const Pt=L.useMemo(()=>({name:Yn,labelAlign:kn,labelCol:Dn,labelWrap:Ea,wrapperCol:aa,vertical:Zn==="vertical",colon:p,requiredMark:s,itemRef:ot.itemRef,form:Ie,feedbackIcons:Ma}),[Yn,kn,Dn,aa,Zn,p,s,Ie,Ma]),Et=L.useRef(null);L.useImperativeHandle(rr,()=>{var gt;return Object.assign(Object.assign({},Ie),{nativeElement:(gt=Et.current)===null||gt===void 0?void 0:gt.nativeElement})});const ge=(gt,Kt)=>{if(gt){let ct={block:"nearest"};typeof gt=="object"&&(ct=Object.assign(Object.assign({},ct),gt)),Ie.scrollToField(Kt,ct)}},nt=gt=>{if(Bn==null||Bn(gt),gt.errorFields.length){const Kt=gt.errorFields[0].name;if(Jn!==void 0){ge(Jn,Kt);return}Tr!==void 0&&ge(Tr,Kt)}};return d(L.createElement(o.pg.Provider,{value:ao},L.createElement(ae.n,{disabled:ua},L.createElement(A.Z.Provider,{value:oo},L.createElement(o.RV,{validateMessages:f},L.createElement(o.q3.Provider,{value:Pt},L.createElement(le.default,Object.assign({id:Yn},ro,{name:Yn,onFinishFailed:nt,form:Ie,ref:Et,style:Object.assign(Object.assign({},on),Ca),className:ee}))))))))};var fe=L.forwardRef(ve),me=n(41799),Oe=n(8654),xe=n(22703),Ne=n(32383),Ye=n(11592);function pt(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:lr=[]}=L.useContext(o.aM);return{status:mt,errors:rr,warnings:lr}};$t.Context=o.aM;var Xt=$t,Ut=n(16089);function Dt(mt){const[rr,lr]=L.useState(mt),or=L.useRef(null),Nr=L.useRef([]),Dr=L.useRef(!1);L.useEffect(()=>(Dr.current=!1,()=>{Dr.current=!0,Ut.Z.cancel(or.current),or.current=null}),[]);function sn(Tr){Dr.current||(or.current===null&&(Nr.current=[],or.current=(0,Ut.Z)(()=>{or.current=null,lr(mn=>{let on=mn;return Nr.current.forEach(Mn=>{on=Mn(on)}),on})})),Nr.current.push(Tr))}return[rr,sn]}function at(){const{itemRef:mt}=L.useContext(o.q3),rr=L.useRef({});function lr(or,Nr){const Dr=Nr&&typeof Nr=="object"&&(0,Oe.C4)(Nr),sn=or.join("_");return(rr.current.name!==sn||rr.current.originRef!==Dr)&&(rr.current.name=sn,rr.current.originRef=Dr,rr.current.ref=(0,Oe.sQ)(mt(or),Dr)),rr.current.ref}return lr}var yt=n(29194),xt=n(34280),ht=n(2738),tr=n(65970),mr=n(70425),hr=n(5472);const Ir=mt=>{const{formItemCls:rr}=mt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${rr}-control`]:{display:"flex"}}}};var tn=(0,K.bk)(["Form","item-item"],(mt,rr)=>{let{rootPrefixCls:lr}=rr;const or=J(mt,lr);return[Ir(or)]}),Pr=function(mt,rr){var lr={};for(var or in mt)Object.prototype.hasOwnProperty.call(mt,or)&&rr.indexOf(or)<0&&(lr[or]=mt[or]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,or=Object.getOwnPropertySymbols(mt);Nr<or.length;Nr++)rr.indexOf(or[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,or[Nr])&&(lr[or[Nr]]=mt[or[Nr]]);return lr};const x=24;var wt=mt=>{const{prefixCls:rr,status:lr,labelCol:or,wrapperCol:Nr,children:Dr,errors:sn,warnings:Tr,_internalItemRender:mn,extra:on,help:Mn,fieldId:jn,marginBottom:bn,onErrorVisibleChanged:zn,label:ua}=mt,nn=`${rr}-item`,$n=L.useContext(o.q3),kn=L.useMemo(()=>{let ro=Object.assign({},Nr||$n.wrapperCol||{});return ua===null&&!or&&!Nr&&$n.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(f=>{const s=f?[f]:[],p=(0,mr.U2)($n.labelCol,s),b=typeof p=="object"?p:{},P=(0,mr.U2)(ro,s),d=typeof P=="object"?P:{};"span"in b&&!("offset"in d)&&b.span<x&&(ro=(0,mr.t8)(ro,[].concat(s,["offset"]),b.span))}),ro},[Nr,$n]),Ea=Y()(`${nn}-control`,kn.className),Dn=L.useMemo(()=>{const{labelCol:ro,wrapperCol:oo}=$n;return Pr($n,["labelCol","wrapperCol"])},[$n]),aa=L.useRef(null),[Kn,Zn]=L.useState(0);(0,xt.Z)(()=>{on&&aa.current?Zn(aa.current.clientHeight):Zn(0)},[on]);const Jn=L.createElement("div",{className:`${nn}-control-input`},L.createElement("div",{className:`${nn}-control-input-content`},Dr)),On=L.useMemo(()=>({prefixCls:rr,status:lr}),[rr,lr]),Bn=bn!==null||sn.length||Tr.length?L.createElement(o.Rk.Provider,{value:On},L.createElement(ue,{fieldId:jn,errors:sn,warnings:Tr,help:Mn,helpStatus:lr,className:`${nn}-explain-connected`,onVisibleChanged:zn})):null,Yn={};jn&&(Yn.id=`${jn}_extra`);const Ca=on?L.createElement("div",Object.assign({},Yn,{className:`${nn}-extra`,ref:aa}),on):null,Ma=Bn||Ca?L.createElement("div",{className:`${nn}-additional`,style:bn?{minHeight:bn+Kn}:{}},Bn,Ca):null,ao=mn&&mn.mark==="pro_table_render"&&mn.render?mn.render(mt,{input:Jn,errorList:Bn,extra:Ca}):L.createElement(L.Fragment,null,Jn,Ma);return L.createElement(o.q3.Provider,{value:Dn},L.createElement(hr.Z,Object.assign({},kn,{className:Ea}),ao),L.createElement(tn,{prefixCls:rr}))},oe=n(61485),Be=n(9017),kr=n(85981),Br=n(25399),wn=function(mt,rr){var lr={};for(var or in mt)Object.prototype.hasOwnProperty.call(mt,or)&&rr.indexOf(or)<0&&(lr[or]=mt[or]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,or=Object.getOwnPropertySymbols(mt);Nr<or.length;Nr++)rr.indexOf(or[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,or[Nr])&&(lr[or[Nr]]=mt[or[Nr]]);return lr};function Fn(mt){return mt?typeof mt=="object"&&!L.isValidElement(mt)?mt:{title:mt}:null}var Sr=mt=>{let{prefixCls:rr,label:lr,htmlFor:or,labelCol:Nr,labelAlign:Dr,colon:sn,required:Tr,requiredMark:mn,tooltip:on,vertical:Mn}=mt;var jn;const[bn]=(0,Be.Z)("Form"),{labelAlign:zn,labelCol:ua,labelWrap:nn,colon:$n}=L.useContext(o.q3);if(!lr)return null;const kn=Nr||ua||{},Ea=Dr||zn,Dn=`${rr}-item-label`,aa=Y()(Dn,Ea==="left"&&`${Dn}-left`,kn.className,{[`${Dn}-wrap`]:!!nn});let Kn=lr;const Zn=sn===!0||$n!==!1&&sn!==!1;Zn&&!Mn&&typeof lr=="string"&&lr.trim()&&(Kn=lr.replace(/[:|:]\s*$/,""));const On=Fn(on);if(On){const{icon:ro=L.createElement(oe.Z,null)}=On,oo=wn(On,["icon"]),f=L.createElement(Br.Z,Object.assign({},oo),L.cloneElement(ro,{className:`${rr}-item-tooltip`,title:"",onClick:s=>{s.preventDefault()},tabIndex:null}));Kn=L.createElement(L.Fragment,null,Kn,f)}const Bn=mn==="optional",Yn=typeof mn=="function",Ca=mn===!1;Yn?Kn=mn(Kn,{required:!!Tr}):Bn&&!Tr&&(Kn=L.createElement(L.Fragment,null,Kn,L.createElement("span",{className:`${rr}-item-optional`,title:""},(bn==null?void 0:bn.optional)||((jn=kr.Z.Form)===null||jn===void 0?void 0:jn.optional))));let Ma;Ca?Ma="hidden":(Bn||Yn)&&(Ma="optional");const ao=Y()({[`${rr}-item-required`]:Tr,[`${rr}-item-required-mark-${Ma}`]:Ma,[`${rr}-item-no-colon`]:!Zn});return L.createElement(hr.Z,Object.assign({},kn,{className:aa}),L.createElement("label",{htmlFor:or,className:ao,title:typeof lr=="string"?lr:""},Kn))},sr=n(29679),S=n(19248),v=n(96512),Gt=n(58617);const $={success:sr.Z,warning:v.Z,error:S.Z,validating:Gt.Z};function Ae(mt){let{children:rr,errors:lr,warnings:or,hasFeedback:Nr,validateStatus:Dr,prefixCls:sn,meta:Tr,noStyle:mn}=mt;const on=`${sn}-item`,{feedbackIcons:Mn}=L.useContext(o.q3),jn=he(lr,or,Tr,null,!!Nr,Dr),{isFormItemInput:bn,status:zn,hasFeedback:ua,feedbackIcon:nn}=L.useContext(o.aM),$n=L.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:lr,warnings:or}))===null||kn===void 0?void 0:kn[jn]),Zn=jn&&$[jn];Ea=Kn!==!1&&Zn?L.createElement("span",{className:Y()(`${on}-feedback-icon`,`${on}-feedback-icon-${jn}`)},Kn||L.createElement(Zn,null)):null}const Dn={status:jn||"",errors:lr,warnings:or,hasFeedback:!!Nr,feedbackIcon:Ea,isFormItemInput:!0};return mn&&(Dn.status=(jn!=null?jn:zn)||"",Dn.isFormItemInput=bn,Dn.hasFeedback=!!(Nr!=null?Nr:ua),Dn.feedbackIcon=Nr!==void 0?Dn.feedbackIcon:nn),Dn},[jn,Nr,mn,bn,zn]);return L.createElement(o.aM.Provider,{value:$n},rr)}var Cn=function(mt,rr){var lr={};for(var or in mt)Object.prototype.hasOwnProperty.call(mt,or)&&rr.indexOf(or)<0&&(lr[or]=mt[or]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,or=Object.getOwnPropertySymbols(mt);Nr<or.length;Nr++)rr.indexOf(or[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,or[Nr])&&(lr[or[Nr]]=mt[or[Nr]]);return lr};function Zr(mt){const{prefixCls:rr,className:lr,rootClassName:or,style:Nr,help:Dr,errors:sn,warnings:Tr,validateStatus:mn,meta:on,hasFeedback:Mn,hidden:jn,children:bn,fieldId:zn,required:ua,isRequired:nn,onSubItemMetaChange:$n,layout:kn}=mt,Ea=Cn(mt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),Dn=`${rr}-item`,{requiredMark:aa,vertical:Kn}=L.useContext(o.q3),Zn=Kn||kn==="vertical",Jn=L.useRef(null),On=U(sn),Bn=U(Tr),Yn=Dr!=null,Ca=!!(Yn||sn.length||Tr.length),Ma=!!Jn.current&&(0,yt.Z)(Jn.current),[ao,ro]=L.useState(null);(0,xt.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 P=b?On:on.errors,d=b?Bn:on.warnings;return he(P,d,on,"",!!Mn,mn)}(),p=Y()(Dn,lr,or,{[`${Dn}-with-help`]:Yn||On.length||Bn.length,[`${Dn}-has-feedback`]:s&&Mn,[`${Dn}-has-success`]:s==="success",[`${Dn}-has-warning`]:s==="warning",[`${Dn}-has-error`]:s==="error",[`${Dn}-is-validating`]:s==="validating",[`${Dn}-hidden`]:jn,[`${Dn}-${kn}`]:kn});return L.createElement("div",{className:p,style:Nr,ref:Jn},L.createElement(tr.Z,Object.assign({className:`${Dn}-row`},(0,ht.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"])),L.createElement(Sr,Object.assign({htmlFor:zn},mt,{requiredMark:aa,required:ua!=null?ua:nn,prefixCls:rr,vertical:Zn})),L.createElement(wt,Object.assign({},mt,on,{errors:On,warnings:Bn,prefixCls:rr,status:s,help:Dr,marginBottom:ao,onErrorVisibleChanged:oo}),L.createElement(o.qI.Provider,{value:$n},L.createElement(Ae,{prefixCls:rr,meta:on,errors:on.errors,warnings:on.warnings,hasFeedback:Mn,validateStatus:s},bn)))),!!ao&&L.createElement("div",{className:`${Dn}-margin-offset`,style:{marginBottom:-ao}}))}const Ht="__SPLIT__",Vt=null;function br(mt,rr){const lr=Object.keys(mt),or=Object.keys(rr);return lr.length===or.length&&lr.every(Nr=>{const Dr=mt[Nr],sn=rr[Nr];return Dr===sn||typeof Dr=="function"||typeof sn=="function"})}const Kr=L.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((lr,or)=>lr===rr.childProps[or]));function an(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function An(mt){const{name:rr,noStyle:lr,className:or,dependencies:Nr,prefixCls:Dr,shouldUpdate:sn,rules:Tr,children:mn,required:on,label:Mn,messageVariables:jn,trigger:bn="onChange",validateTrigger:zn,hidden:ua,help:nn,layout:$n}=mt,{getPrefixCls:kn}=L.useContext(B.E_),{name:Ea}=L.useContext(o.q3),Dn=pt(mn),aa=typeof Dn=="function",Kn=L.useContext(o.qI),{validateTrigger:Zn}=L.useContext(le.FieldContext),Jn=zn!==void 0?zn:Zn,On=rr!=null,Bn=kn("form",Dr),Yn=(0,y.Z)(Bn),[Ca,Ma,ao]=we(Bn,Yn),ro=(0,Ne.ln)("Form.Item"),oo=L.useContext(le.ListContext),f=L.useRef(null),[s,p]=Dt({}),[b,P]=(0,me.Z)(()=>an()),d=Et=>{const ge=oo==null?void 0:oo.getKey(Et.name);if(P(Et.destroy?an():Et,!0),lr&&nn!==!1&&Kn){let nt=Et.name;if(Et.destroy)nt=f.current||nt;else if(ge!==void 0){const[gt,Kt]=ge;nt=[gt].concat((0,Xe.Z)(Kt)),f.current=nt}Kn(Et,nt)}},ne=(Et,ge)=>{p(nt=>{const gt=Object.assign({},nt),ct=[].concat((0,Xe.Z)(Et.name.slice(0,-1)),(0,Xe.Z)(ge)).join(Ht);return Et.destroy?delete gt[ct]:gt[ct]=Et,gt})},[Z,ee]=L.useMemo(()=>{const Et=(0,Xe.Z)(b.errors),ge=(0,Xe.Z)(b.warnings);return Object.values(s).forEach(nt=>{Et.push.apply(Et,(0,Xe.Z)(nt.errors||[])),ge.push.apply(ge,(0,Xe.Z)(nt.warnings||[]))}),[Et,ge]},[s,b.errors,b.warnings]),Ie=at();function ot(Et,ge,nt){return lr&&!ua?L.createElement(Ae,{prefixCls:Bn,hasFeedback:mt.hasFeedback,validateStatus:mt.validateStatus,meta:b,errors:Z,warnings:ee,noStyle:!0},Et):L.createElement(Zr,Object.assign({key:"row"},mt,{className:Y()(or,ao,Yn,Ma),prefixCls:Bn,fieldId:ge,isRequired:nt,errors:Z,warnings:ee,meta:b,onSubItemMetaChange:ne,layout:$n}),Et)}if(!On&&!aa&&!Nr)return Ca(ot(Dn));let Pt={};return typeof Mn=="string"?Pt.label=Mn:rr&&(Pt.label=String(rr)),jn&&(Pt=Object.assign(Object.assign({},Pt),jn)),Ca(L.createElement(le.Field,Object.assign({},mt,{messageVariables:Pt,trigger:bn,validateTrigger:Jn,onMetaChange:d}),(Et,ge,nt)=>{const gt=st(rr).length&&ge?ge.name:[],Kt=dt(gt,Ea),ct=on!==void 0?on:!!(Tr!=null&&Tr.some(Qt=>{if(Qt&&typeof Qt=="object"&&Qt.required&&!Qt.warningOnly)return!0;if(typeof Qt=="function"){const tt=Qt(nt);return(tt==null?void 0:tt.required)&&!(tt!=null&&tt.warningOnly)}return!1})),cr=Object.assign({},Et);let Cr=null;if(Array.isArray(Dn)&&On)Cr=Dn;else if(!(aa&&(!(sn||Nr)||On))){if(!(Nr&&!aa&&!On))if(L.isValidElement(Dn)){const Qt=Object.assign(Object.assign({},Dn.props),cr);if(Qt.id||(Qt.id=Kt),nn||Z.length>0||ee.length>0||mt.extra){const kt=[];(nn||Z.length>0)&&kt.push(`${Kt}_help`),mt.extra&&kt.push(`${Kt}_extra`),Qt["aria-describedby"]=kt.join(" ")}Z.length>0&&(Qt["aria-invalid"]="true"),ct&&(Qt["aria-required"]="true"),(0,Oe.Yr)(Dn)&&(Qt.ref=Ie(gt,Dn)),new Set([].concat((0,Xe.Z)(st(bn)),(0,Xe.Z)(st(Jn)))).forEach(kt=>{Qt[kt]=function(){for(var Ft,Ct,Jt,ke,Te,lt=arguments.length,Ot=new Array(lt),dr=0;dr<lt;dr++)Ot[dr]=arguments[dr];(Jt=cr[kt])===null||Jt===void 0||(Ft=Jt).call.apply(Ft,[cr].concat(Ot)),(Te=(ke=Dn.props)[kt])===null||Te===void 0||(Ct=Te).call.apply(Ct,[ke].concat(Ot))}});const Se=[Qt["aria-required"],Qt["aria-invalid"],Qt["aria-describedby"]];Cr=L.createElement(Kr,{control:cr,update:Dn,childProps:Se},(0,xe.Tm)(Dn,Qt))}else aa&&(sn||Nr)&&!On?Cr=Dn(nt):Cr=Dn}return ot(Cr,Kt,ct)}))}const St=An;St.useStatus=Xt;var Bt=St,We=function(mt,rr){var lr={};for(var or in mt)Object.prototype.hasOwnProperty.call(mt,or)&&rr.indexOf(or)<0&&(lr[or]=mt[or]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Nr=0,or=Object.getOwnPropertySymbols(mt);Nr<or.length;Nr++)rr.indexOf(or[Nr])<0&&Object.prototype.propertyIsEnumerable.call(mt,or[Nr])&&(lr[or[Nr]]=mt[or[Nr]]);return lr},$r=mt=>{var{prefixCls:rr,children:lr}=mt,or=We(mt,["prefixCls","children"]);const{getPrefixCls:Nr}=L.useContext(B.E_),Dr=Nr("form",rr),sn=L.useMemo(()=>({prefixCls:Dr,status:"error"}),[Dr]);return L.createElement(le.List,Object.assign({},or),(Tr,mn,on)=>L.createElement(o.Rk.Provider,{value:sn},lr(Tr.map(Mn=>Object.assign(Object.assign({},Mn),{fieldKey:Mn.key})),mn,{errors:on.errors,warnings:on.warnings})))};function Gr(){const{form:mt}=L.useContext(o.q3);return mt}const Sn=fe;Sn.Item=Bt,Sn.List=$r,Sn.ErrorList=ue,Sn.useForm=Re,Sn.useFormInstance=Gr,Sn.useWatch=le.useWatch,Sn.Provider=o.RV,Sn.create=()=>{};var na=Sn},90083:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ut}});var o=n(59301),Xe=n(15277),L=n(92310),ze=n.n(L),Y=n(91574),Q=n(75030),_=n(86641),y=n(48755),U=n(83397),c=n(9017),T=n(99267),k=n(33853),V=n(38819),z=n(54476),K={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"},O=K,D=n(7657),w=function(at,yt){return o.createElement(D.Z,(0,z.Z)({},at,{ref:yt,icon:O}))},E=o.forwardRef(w),ie=E,X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},q=X,Ee=function(at,yt){return o.createElement(D.Z,(0,z.Z)({},at,{ref:yt,icon:q}))},Pe=o.forwardRef(Ee),et=Pe,He={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"},Ce=He,be=function(at,yt){return o.createElement(D.Z,(0,z.Z)({},at,{ref:yt,icon:Ce}))},J=o.forwardRef(be),we=J,M={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"},I=M,rt=function(at,yt){return o.createElement(D.Z,(0,z.Z)({},at,{ref:yt,icon:I}))},ue=o.forwardRef(rt),le=ue,B={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"},ae=B,W=function(at,yt){return o.createElement(D.Z,(0,z.Z)({},at,{ref:yt,icon:ae}))},A=o.forwardRef(W),re=A,Ve=n(36237),pe=n(17835),Ze=n(64427),st=n(63356),dt=n(34925),he=n(99495),Le=n(16931),At=n(51636);const Fe=Dt=>({position:Dt||"absolute",inset:0}),Re=Dt=>{const{iconCls:at,motionDurationSlow:yt,paddingXXS:xt,marginXXS:ht,prefixCls:tr,colorTextLightSolid:mr}=Dt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:mr,background:new pe.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${yt}`,[`.${tr}-mask-info`]:Object.assign(Object.assign({},st.vS),{padding:`0 ${(0,Ve.unit)(xt)}`,[at]:{marginInlineEnd:ht,svg:{verticalAlign:"baseline"}}})}},N=Dt=>{const{previewCls:at,modalMaskBg:yt,paddingSM:xt,marginXL:ht,margin:tr,paddingLG:mr,previewOperationColorDisabled:hr,previewOperationHoverColor:Ir,motionDurationSlow:tn,iconCls:Pr,colorTextLightSolid:x}=Dt,F=new pe.FastColor(yt).setA(.1),wt=F.clone().setA(.2);return{[`${at}-footer`]:{position:"fixed",bottom:ht,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Dt.previewOperationColor,transform:"translateX(-50%)"},[`${at}-progress`]:{marginBottom:tr},[`${at}-close`]:{position:"fixed",top:ht,right:{_skip_check_:!0,value:ht},display:"flex",color:x,backgroundColor:F.toRgbString(),borderRadius:"50%",padding:xt,outline:0,border:0,cursor:"pointer",transition:`all ${tn}`,"&:hover":{backgroundColor:wt.toRgbString()},[`& > ${Pr}`]:{fontSize:Dt.previewOperationSize}},[`${at}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Ve.unit)(mr)}`,backgroundColor:F.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:xt,padding:xt,cursor:"pointer",transition:`all ${tn}`,userSelect:"none",[`&:not(${at}-operations-operation-disabled):hover > ${Pr}`]:{color:Ir},"&-disabled":{color:hr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Pr}`]:{fontSize:Dt.previewOperationSize}}}}},_e=Dt=>{const{modalMaskBg:at,iconCls:yt,previewOperationColorDisabled:xt,previewCls:ht,zIndexPopup:tr,motionDurationSlow:mr}=Dt,hr=new pe.FastColor(at).setA(.1),Ir=hr.clone().setA(.2);return{[`${ht}-switch-left, ${ht}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Dt.calc(tr).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Dt.imagePreviewSwitchSize,height:Dt.imagePreviewSwitchSize,marginTop:Dt.calc(Dt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Dt.previewOperationColor,background:hr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${mr}`,userSelect:"none","&:hover":{background:Ir.toRgbString()},"&-disabled":{"&, &:hover":{color:xt,background:"transparent",cursor:"not-allowed",[`> ${yt}`]:{cursor:"not-allowed"}}},[`> ${yt}`]:{fontSize:Dt.previewOperationSize}},[`${ht}-switch-left`]:{insetInlineStart:Dt.marginSM},[`${ht}-switch-right`]:{insetInlineEnd:Dt.marginSM}}},ve=Dt=>{const{motionEaseOut:at,previewCls:yt,motionDurationSlow:xt,componentCls:ht}=Dt;return[{[`${ht}-preview-root`]:{[yt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${yt}-body`]:Object.assign(Object.assign({},Fe()),{overflow:"hidden"}),[`${yt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${xt} ${at} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Fe()),{transition:`transform ${xt} ${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"}}}}},{[`${ht}-preview-root`]:{[`${yt}-wrap`]:{zIndex:Dt.zIndexPopup}}},{[`${ht}-preview-operations-wrapper`]:{position:"fixed",zIndex:Dt.calc(Dt.zIndexPopup).add(1).equal()},"&":[N(Dt),_e(Dt)]}]},de=Dt=>{const{componentCls:at}=Dt;return{[at]:{position:"relative",display:"inline-block",[`${at}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${at}-img-placeholder`]:{backgroundColor:Dt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${at}-mask`]:Object.assign({},Re(Dt)),[`${at}-mask:hover`]:{opacity:1},[`${at}-placeholder`]:Object.assign({},Fe())}}},fe=Dt=>{const{previewCls:at}=Dt;return{[`${at}-root`]:(0,dt._y)(Dt,"zoom"),"&":(0,he.J$)(Dt,!0)}},me=Dt=>({zIndexPopup:Dt.zIndexPopupBase+80,previewOperationColor:new pe.FastColor(Dt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new pe.FastColor(Dt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new pe.FastColor(Dt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Dt.fontSizeIcon*1.5});var Oe=(0,Le.I$)("Image",Dt=>{const at=`${Dt.componentCls}-preview`,yt=(0,At.mergeToken)(Dt,{previewCls:at,modalMaskBg:new pe.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Dt.controlHeightLG});return[de(yt),ve(yt),(0,Ze.QA)((0,At.mergeToken)(yt,{componentCls:at})),fe(yt)]},me),xe=function(Dt,at){var yt={};for(var xt in Dt)Object.prototype.hasOwnProperty.call(Dt,xt)&&at.indexOf(xt)<0&&(yt[xt]=Dt[xt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,xt=Object.getOwnPropertySymbols(Dt);ht<xt.length;ht++)at.indexOf(xt[ht])<0&&Object.prototype.propertyIsEnumerable.call(Dt,xt[ht])&&(yt[xt[ht]]=Dt[xt[ht]]);return yt};const Ne={rotateLeft:o.createElement(ie,null),rotateRight:o.createElement(et,null),zoomIn:o.createElement(le,null),zoomOut:o.createElement(re,null),close:o.createElement(T.Z,null),left:o.createElement(k.Z,null),right:o.createElement(V.Z,null),flipX:o.createElement(we,null),flipY:o.createElement(we,{rotate:90})};var pt=Dt=>{var{previewPrefixCls:at,preview:yt}=Dt,xt=xe(Dt,["previewPrefixCls","preview"]);const{getPrefixCls:ht}=o.useContext(y.E_),tr=ht("image",at),mr=`${tr}-preview`,hr=ht(),Ir=(0,U.Z)(tr),[tn,Pr,x]=Oe(tr,Ir),[F]=(0,Q.Cn)("ImagePreview",typeof yt=="object"?yt.zIndex:void 0),wt=o.useMemo(()=>{var oe;if(yt===!1)return yt;const Be=typeof yt=="object"?yt:{},kr=ze()(Pr,x,Ir,(oe=Be.rootClassName)!==null&&oe!==void 0?oe:"");return Object.assign(Object.assign({},Be),{transitionName:(0,_.m)(hr,"zoom",Be.transitionName),maskTransitionName:(0,_.m)(hr,"fade",Be.maskTransitionName),rootClassName:kr,zIndex:F})},[yt]);return tn(o.createElement(Y.Z.PreviewGroup,Object.assign({preview:wt,previewPrefixCls:mr,icons:Ne},xt)))},$t=function(Dt,at){var yt={};for(var xt in Dt)Object.prototype.hasOwnProperty.call(Dt,xt)&&at.indexOf(xt)<0&&(yt[xt]=Dt[xt]);if(Dt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,xt=Object.getOwnPropertySymbols(Dt);ht<xt.length;ht++)at.indexOf(xt[ht])<0&&Object.prototype.propertyIsEnumerable.call(Dt,xt[ht])&&(yt[xt[ht]]=Dt[xt[ht]]);return yt};const Xt=Dt=>{const{prefixCls:at,preview:yt,className:xt,rootClassName:ht,style:tr}=Dt,mr=$t(Dt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:hr,getPopupContainer:Ir,className:tn,style:Pr,preview:x}=(0,y.dj)("image"),[F]=(0,c.Z)("Image"),wt=hr("image",at),oe=hr(),Be=(0,U.Z)(wt),[kr,Br,wn]=Oe(wt,Be),Fn=ze()(ht,Br,wn,Be),Rt=ze()(xt,Br,tn),[Sr]=(0,Q.Cn)("ImagePreview",typeof yt=="object"?yt.zIndex:void 0),sr=o.useMemo(()=>{if(yt===!1)return yt;const v=typeof yt=="object"?yt:{},{getContainer:Gt,closeIcon:$,rootClassName:Ae}=v,Cn=$t(v,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${wt}-mask-info`},o.createElement(Xe.Z,null),F==null?void 0:F.preview),icons:Ne},Cn),{rootClassName:ze()(Fn,Ae),getContainer:Gt!=null?Gt:Ir,transitionName:(0,_.m)(oe,"zoom",v.transitionName),maskTransitionName:(0,_.m)(oe,"fade",v.maskTransitionName),zIndex:Sr,closeIcon:$!=null?$:x==null?void 0:x.closeIcon})},[yt,F,x==null?void 0:x.closeIcon]),S=Object.assign(Object.assign({},Pr),tr);return kr(o.createElement(Y.Z,Object.assign({prefixCls:wt,preview:sr,rootClassName:Fn,className:Rt,style:S},mr)))};Xt.PreviewGroup=pt;var Ut=Xt},71051:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return le}});var o=n(59301),Xe=n(84105),L=n(87395),ze=n(92310),Y=n.n(ze),Q=n(20922),_=n(62487),y=n(82855),U=n(48755),c=n(60840),T=n(2171),k=n(83397),V=n(31756),z=n(56553),K=n(24971),O=n(70045),D=n(36237),w=n(53075),E=n(64910),ie=n(39082),X=n(63356),q=n(56119),Ee=n(16931),Pe=n(51636),et=n(17835);const He=B=>{var ae;const W=(ae=B.handleVisible)!==null&&ae!==void 0?ae:"auto",A=B.controlHeightSM-B.lineWidth*2;return Object.assign(Object.assign({},(0,E.T)(B)),{controlWidth:90,handleWidth:A,handleFontSize:B.fontSize/2,handleVisible:W,handleActiveBg:B.colorFillAlter,handleBg:B.colorBgContainer,filledHandleBg:new et.FastColor(B.colorFillSecondary).onBackground(B.colorBgContainer).toHexString(),handleHoverColor:B.colorPrimary,handleBorderColor:B.colorBorder,handleOpacity:W===!0?1:0,handleVisibleWidth:W===!0?A:0})},Ce=(B,ae)=>{let{componentCls:W,borderRadiusSM:A,borderRadiusLG:re}=B;const Ve=ae==="lg"?re:A;return{[`&-${ae}`]:{[`${W}-handler-wrap`]:{borderStartEndRadius:Ve,borderEndEndRadius:Ve},[`${W}-handler-up`]:{borderStartEndRadius:Ve},[`${W}-handler-down`]:{borderEndEndRadius:Ve}}}},be=B=>{const{componentCls:ae,lineWidth:W,lineType:A,borderRadius:re,inputFontSizeSM:Ve,inputFontSizeLG:pe,controlHeightLG:Ze,controlHeightSM:st,colorError:dt,paddingInlineSM:he,paddingBlockSM:Le,paddingBlockLG:At,paddingInlineLG:Fe,colorTextDescription:Re,motionDurationMid:N,handleHoverColor:_e,handleOpacity:ve,paddingInline:de,paddingBlock:fe,handleBg:me,handleActiveBg:Oe,colorTextDisabled:xe,borderRadiusSM:Ne,borderRadiusLG:Ye,controlWidth:pt,handleBorderColor:$t,filledHandleBg:Xt,lineHeightLG:Ut,calc:Dt}=B;return[{[ae]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(B)),(0,w.ik)(B)),{display:"inline-block",width:pt,margin:0,padding:0,borderRadius:re}),(0,ie.qG)(B,{[`${ae}-handler-wrap`]:{background:me,[`${ae}-handler-down`]:{borderBlockStart:`${(0,D.unit)(W)} ${A} ${$t}`}}})),(0,ie.H8)(B,{[`${ae}-handler-wrap`]:{background:Xt,[`${ae}-handler-down`]:{borderBlockStart:`${(0,D.unit)(W)} ${A} ${$t}`}},"&:focus-within":{[`${ae}-handler-wrap`]:{background:me}}})),(0,ie.vc)(B,{[`${ae}-handler-wrap`]:{background:me,[`${ae}-handler-down`]:{borderBlockStart:`${(0,D.unit)(W)} ${A} ${$t}`}}})),(0,ie.Mu)(B)),{"&-rtl":{direction:"rtl",[`${ae}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:pe,lineHeight:Ut,borderRadius:Ye,[`input${ae}-input`]:{height:Dt(Ze).sub(Dt(W).mul(2)).equal(),padding:`${(0,D.unit)(At)} ${(0,D.unit)(Fe)}`}},"&-sm":{padding:0,fontSize:Ve,borderRadius:Ne,[`input${ae}-input`]:{height:Dt(st).sub(Dt(W).mul(2)).equal(),padding:`${(0,D.unit)(Le)} ${(0,D.unit)(he)}`}},"&-out-of-range":{[`${ae}-input-wrap`]:{input:{color:dt}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,X.Wf)(B)),(0,w.s7)(B)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${ae}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${ae}-group-addon`]:{borderRadius:Ye,fontSize:B.fontSizeLG}},"&-sm":{[`${ae}-group-addon`]:{borderRadius:Ne}}},(0,ie.ir)(B)),(0,ie.S5)(B)),{[`&:not(${ae}-compact-first-item):not(${ae}-compact-last-item)${ae}-compact-item`]:{[`${ae}, ${ae}-group-addon`]:{borderRadius:0}},[`&:not(${ae}-compact-last-item)${ae}-compact-first-item`]:{[`${ae}, ${ae}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${ae}-compact-first-item)${ae}-compact-last-item`]:{[`${ae}, ${ae}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${ae}-input`]:{cursor:"not-allowed"},[ae]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,X.Wf)(B)),{width:"100%",padding:`${(0,D.unit)(fe)} ${(0,D.unit)(de)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:re,outline:0,transition:`all ${N} linear`,appearance:"textfield",fontSize:"inherit"}),(0,w.nz)(B.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${ae}-handler-wrap, &-focused ${ae}-handler-wrap`]:{width:B.handleWidth,opacity:1}})},{[ae]:Object.assign(Object.assign(Object.assign({[`${ae}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:B.handleVisibleWidth,opacity:ve,height:"100%",borderStartStartRadius:0,borderStartEndRadius:re,borderEndEndRadius:re,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${N}`,overflow:"hidden",[`${ae}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${ae}-handler-up-inner,
|
|
|
${ae}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:B.handleFontSize}}},[`${ae}-handler`]:{height:"50%",overflow:"hidden",color:Re,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,D.unit)(W)} ${A} ${$t}`,transition:`all ${N} linear`,"&:active":{background:Oe},"&:hover":{height:"60%",[`
|
|
|
${ae}-handler-up-inner,
|
|
|
${ae}-handler-down-inner
|
|
|
`]:{color:_e}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,X.Ro)()),{color:Re,transition:`all ${N} linear`,userSelect:"none"})},[`${ae}-handler-up`]:{borderStartEndRadius:re},[`${ae}-handler-down`]:{borderEndEndRadius:re}},Ce(B,"lg")),Ce(B,"sm")),{"&-disabled, &-readonly":{[`${ae}-handler-wrap`]:{display:"none"},[`${ae}-input`]:{color:"inherit"}},[`
|
|
|
${ae}-handler-up-disabled,
|
|
|
${ae}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${ae}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${ae}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:xe}})}]},J=B=>{const{componentCls:ae,paddingBlock:W,paddingInline:A,inputAffixPadding:re,controlWidth:Ve,borderRadiusLG:pe,borderRadiusSM:Ze,paddingInlineLG:st,paddingInlineSM:dt,paddingBlockLG:he,paddingBlockSM:Le,motionDurationMid:At}=B;return{[`${ae}-affix-wrapper`]:Object.assign(Object.assign({[`input${ae}-input`]:{padding:`${(0,D.unit)(W)} 0`}},(0,w.ik)(B)),{position:"relative",display:"inline-flex",alignItems:"center",width:Ve,padding:0,paddingInlineStart:A,"&-lg":{borderRadius:pe,paddingInlineStart:st,[`input${ae}-input`]:{padding:`${(0,D.unit)(he)} 0`}},"&-sm":{borderRadius:Ze,paddingInlineStart:dt,[`input${ae}-input`]:{padding:`${(0,D.unit)(Le)} 0`}},[`&:not(${ae}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${ae}-disabled`]:{background:"transparent"},[`> div${ae}`]:{width:"100%",border:"none",outline:"none",[`&${ae}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ae}-handler-wrap`]:{zIndex:2},[ae]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:re},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:A,marginInlineStart:re,transition:`margin ${At}`}},[`&:hover ${ae}-handler-wrap, &-focused ${ae}-handler-wrap`]:{width:B.handleWidth,opacity:1},[`&:not(${ae}-affix-wrapper-without-controls):hover ${ae}-suffix`]:{marginInlineEnd:B.calc(B.handleWidth).add(A).equal()}})}};var we=(0,Ee.I$)("InputNumber",B=>{const ae=(0,Pe.mergeToken)(B,(0,E.e)(B));return[be(ae),J(ae),(0,q.c)(ae)]},He,{unitless:{handleOpacity:!0}}),M=function(B,ae){var W={};for(var A in B)Object.prototype.hasOwnProperty.call(B,A)&&ae.indexOf(A)<0&&(W[A]=B[A]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var re=0,A=Object.getOwnPropertySymbols(B);re<A.length;re++)ae.indexOf(A[re])<0&&Object.prototype.propertyIsEnumerable.call(B,A[re])&&(W[A[re]]=B[A[re]]);return W};const I=o.forwardRef((B,ae)=>{const{getPrefixCls:W,direction:A}=o.useContext(U.E_),re=o.useRef(null);o.useImperativeHandle(ae,()=>re.current);const{className:Ve,rootClassName:pe,size:Ze,disabled:st,prefixCls:dt,addonBefore:he,addonAfter:Le,prefix:At,suffix:Fe,bordered:Re,readOnly:N,status:_e,controls:ve,variant:de}=B,fe=M(B,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),me=W("input-number",dt),Oe=(0,k.Z)(me),[xe,Ne,Ye]=we(me,Oe),{compactSize:pt,compactItemClassnames:$t}=(0,O.ri)(me,A);let Xt=o.createElement(L.Z,{className:`${me}-handler-up-inner`}),Ut=o.createElement(Xe.Z,{className:`${me}-handler-down-inner`});const Dt=typeof ve=="boolean"?ve:void 0;typeof ve=="object"&&(Xt=typeof ve.upIcon=="undefined"?Xt:o.createElement("span",{className:`${me}-handler-up-inner`},ve.upIcon),Ut=typeof ve.downIcon=="undefined"?Ut:o.createElement("span",{className:`${me}-handler-down-inner`},ve.downIcon));const{hasFeedback:at,status:yt,isFormItemInput:xt,feedbackIcon:ht}=o.useContext(z.aM),tr=(0,y.F)(yt,_e),mr=(0,V.Z)(Be=>{var kr;return(kr=Ze!=null?Ze:pt)!==null&&kr!==void 0?kr:Be}),hr=o.useContext(T.Z),Ir=st!=null?st:hr,[tn,Pr]=(0,K.Z)("inputNumber",de,Re),x=at&&o.createElement(o.Fragment,null,ht),F=Y()({[`${me}-lg`]:mr==="large",[`${me}-sm`]:mr==="small",[`${me}-rtl`]:A==="rtl",[`${me}-in-form-item`]:xt},Ne),wt=`${me}-group`,oe=o.createElement(Q.Z,Object.assign({ref:re,disabled:Ir,className:Y()(Ye,Oe,Ve,pe,$t),upHandler:Xt,downHandler:Ut,prefixCls:me,readOnly:N,controls:Dt,prefix:At,suffix:x||Fe,addonBefore:he&&o.createElement(_.Z,{form:!0,space:!0},he),addonAfter:Le&&o.createElement(_.Z,{form:!0,space:!0},Le),classNames:{input:F,variant:Y()({[`${me}-${tn}`]:Pr},(0,y.Z)(me,tr,at)),affixWrapper:Y()({[`${me}-affix-wrapper-sm`]:mr==="small",[`${me}-affix-wrapper-lg`]:mr==="large",[`${me}-affix-wrapper-rtl`]:A==="rtl",[`${me}-affix-wrapper-without-controls`]:ve===!1||Ir},Ne),wrapper:Y()({[`${wt}-rtl`]:A==="rtl"},Ne),groupWrapper:Y()({[`${me}-group-wrapper-sm`]:mr==="small",[`${me}-group-wrapper-lg`]:mr==="large",[`${me}-group-wrapper-rtl`]:A==="rtl",[`${me}-group-wrapper-${tn}`]:Pr},(0,y.Z)(`${me}-group-wrapper`,tr,at),Ne)}},fe));return xe(oe)}),rt=I,ue=B=>o.createElement(c.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},o.createElement(I,Object.assign({},B)));rt._InternalPanelDoNotUseOrYouWillBeFired=ue;var le=rt},49397:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return X}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(36901),Y=n(8654),Q=n(62487),_=n(86013),y=n(82855),U=n(48755),c=n(2171),T=n(83397),k=n(31756),V=n(56553),z=n(24971),K=n(70045),O=n(23826),D=n(53075);function w(q){return!!(q.prefix||q.suffix||q.allowClear||q.showCount)}var E=function(q,Ee){var Pe={};for(var et in q)Object.prototype.hasOwnProperty.call(q,et)&&Ee.indexOf(et)<0&&(Pe[et]=q[et]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,et=Object.getOwnPropertySymbols(q);He<et.length;He++)Ee.indexOf(et[He])<0&&Object.prototype.propertyIsEnumerable.call(q,et[He])&&(Pe[et[He]]=q[et[He]]);return Pe},X=(0,o.forwardRef)((q,Ee)=>{const{prefixCls:Pe,bordered:et=!0,status:He,size:Ce,disabled:be,onBlur:J,onFocus:we,suffix:M,allowClear:I,addonAfter:rt,addonBefore:ue,className:le,style:B,styles:ae,rootClassName:W,onChange:A,classNames:re,variant:Ve}=q,pe=E(q,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ze,direction:st,allowClear:dt,autoComplete:he,className:Le,style:At,classNames:Fe,styles:Re}=(0,U.dj)("input"),N=Ze("input",Pe),_e=(0,o.useRef)(null),ve=(0,T.Z)(N),[de,fe,me]=(0,D.TI)(N,W),[Oe]=(0,D.ZP)(N,ve),{compactSize:xe,compactItemClassnames:Ne}=(0,K.ri)(N,st),Ye=(0,k.Z)(F=>{var wt;return(wt=Ce!=null?Ce:xe)!==null&&wt!==void 0?wt:F}),pt=o.useContext(c.Z),$t=be!=null?be:pt,{status:Xt,hasFeedback:Ut,feedbackIcon:Dt}=(0,o.useContext)(V.aM),at=(0,y.F)(Xt,He),yt=w(q)||!!Ut,xt=(0,o.useRef)(yt),ht=(0,O.Z)(_e,!0),tr=F=>{ht(),J==null||J(F)},mr=F=>{ht(),we==null||we(F)},hr=F=>{ht(),A==null||A(F)},Ir=(Ut||M)&&o.createElement(o.Fragment,null,M,Ut&&Dt),tn=(0,_.Z)(I!=null?I:dt),[Pr,x]=(0,z.Z)("input",Ve,et);return de(Oe(o.createElement(ze.default,Object.assign({ref:(0,Y.sQ)(Ee,_e),prefixCls:N,autoComplete:he},pe,{disabled:$t,onBlur:tr,onFocus:mr,style:Object.assign(Object.assign({},At),B),styles:Object.assign(Object.assign({},Re),ae),suffix:Ir,allowClear:tn,className:L()(le,W,me,ve,Ne,Le),onChange:hr,addonBefore:ue&&o.createElement(Q.Z,{form:!0,space:!0},ue),addonAfter:rt&&o.createElement(Q.Z,{form:!0,space:!0},rt),classNames:Object.assign(Object.assign(Object.assign({},re),Fe),{input:L()({[`${N}-sm`]:Ye==="small",[`${N}-lg`]:Ye==="large",[`${N}-rtl`]:st==="rtl"},re==null?void 0:re.input,Fe.input,fe),variant:L()({[`${N}-${Pr}`]:x},(0,y.Z)(N,at)),affixWrapper:L()({[`${N}-affix-wrapper-sm`]:Ye==="small",[`${N}-affix-wrapper-lg`]:Ye==="large",[`${N}-affix-wrapper-rtl`]:st==="rtl"},fe),wrapper:L()({[`${N}-group-rtl`]:st==="rtl"},fe),groupWrapper:L()({[`${N}-group-wrapper-sm`]:Ye==="small",[`${N}-group-wrapper-lg`]:Ye==="large",[`${N}-group-wrapper-rtl`]:st==="rtl",[`${N}-group-wrapper-${Pr}`]:x},(0,y.Z)(`${N}-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),L=n.n(Xe),ze=n(22711),Y=n(86013),Q=n(82855),_=n(48755),y=n(2171),U=n(83397),c=n(31756),T=n(56553),k=n(24971),V=n(70045),z=n(30292),K=n(53075),O=n(16931),D=n(51636),w=n(64910);const E=Pe=>{const{componentCls:et,paddingLG:He}=Pe,Ce=`${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"},[Ce]:{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${Ce}-has-feedback ${et}
|
|
|
`]:{paddingInlineEnd:He},[`&-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},[`${Ce}-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 ie=(0,O.I$)(["Input","TextArea"],Pe=>{const et=(0,D.mergeToken)(Pe,(0,w.e)(Pe));return[E(et)]},w.T,{resetFont:!1}),X=function(Pe,et){var He={};for(var Ce in Pe)Object.prototype.hasOwnProperty.call(Pe,Ce)&&et.indexOf(Ce)<0&&(He[Ce]=Pe[Ce]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ce=Object.getOwnPropertySymbols(Pe);be<Ce.length;be++)et.indexOf(Ce[be])<0&&Object.prototype.propertyIsEnumerable.call(Pe,Ce[be])&&(He[Ce[be]]=Pe[Ce[be]]);return He},Ee=(0,o.forwardRef)((Pe,et)=>{var He;const{prefixCls:Ce,bordered:be=!0,size:J,disabled:we,status:M,allowClear:I,classNames:rt,rootClassName:ue,className:le,style:B,styles:ae,variant:W,showCount:A,onMouseDown:re,onResize:Ve}=Pe,pe=X(Pe,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ze,direction:st,allowClear:dt,autoComplete:he,className:Le,style:At,classNames:Fe,styles:Re}=(0,_.dj)("textArea"),N=o.useContext(y.Z),_e=we!=null?we:N,{status:ve,hasFeedback:de,feedbackIcon:fe}=o.useContext(T.aM),me=(0,Q.F)(ve,M),Oe=o.useRef(null);o.useImperativeHandle(et,()=>{var x;return{resizableTextArea:(x=Oe.current)===null||x===void 0?void 0:x.resizableTextArea,focus:F=>{var wt,oe;(0,z.nH)((oe=(wt=Oe.current)===null||wt===void 0?void 0:wt.resizableTextArea)===null||oe===void 0?void 0:oe.textArea,F)},blur:()=>{var F;return(F=Oe.current)===null||F===void 0?void 0:F.blur()}}});const xe=Ze("input",Ce),Ne=(0,U.Z)(xe),[Ye,pt,$t]=(0,K.TI)(xe,ue),[Xt]=ie(xe,Ne),{compactSize:Ut,compactItemClassnames:Dt}=(0,V.ri)(xe,st),at=(0,c.Z)(x=>{var F;return(F=J!=null?J:Ut)!==null&&F!==void 0?F:x}),[yt,xt]=(0,k.Z)("textArea",W,be),ht=(0,Y.Z)(I!=null?I:dt),[tr,mr]=o.useState(!1),[hr,Ir]=o.useState(!1),tn=x=>{mr(!0),re==null||re(x);const F=()=>{mr(!1),document.removeEventListener("mouseup",F)};document.addEventListener("mouseup",F)},Pr=x=>{var F,wt;if(Ve==null||Ve(x),tr&&typeof getComputedStyle=="function"){const oe=(wt=(F=Oe.current)===null||F===void 0?void 0:F.nativeElement)===null||wt===void 0?void 0:wt.querySelector("textarea");oe&&getComputedStyle(oe).resize==="both"&&Ir(!0)}};return Ye(Xt(o.createElement(ze.default,Object.assign({autoComplete:he},pe,{style:Object.assign(Object.assign({},At),B),styles:Object.assign(Object.assign({},Re),ae),disabled:_e,allowClear:ht,className:L()($t,Ne,le,ue,Dt,Le,hr&&`${xe}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},rt),Fe),{textarea:L()({[`${xe}-sm`]:at==="small",[`${xe}-lg`]:at==="large"},pt,rt==null?void 0:rt.textarea,Fe.textarea,tr&&`${xe}-mouse-active`),variant:L()({[`${xe}-${yt}`]:xt},(0,Q.Z)(xe,me)),affixWrapper:L()(`${xe}-textarea-affix-wrapper`,{[`${xe}-affix-wrapper-rtl`]:st==="rtl",[`${xe}-affix-wrapper-sm`]:at==="small",[`${xe}-affix-wrapper-lg`]:at==="large",[`${xe}-textarea-show-count`]:A||((He=Pe.count)===null||He===void 0?void 0:He.show)},pt)}),prefixCls:xe,suffix:de&&o.createElement("span",{className:`${xe}-textarea-suffix`},fe),showCount:A,ref:Oe,onResize:Pr,onMouseDown:tn}))))})},23826:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Xe}});var o=n(59301);function Xe(L,ze){const Y=(0,o.useRef)([]),Q=()=>{Y.current.push(setTimeout(()=>{var _,y,U,c;!((_=L.current)===null||_===void 0)&&_.input&&((y=L.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((U=L.current)===null||U===void 0)&&U.input.hasAttribute("value"))&&((c=L.current)===null||c===void 0||c.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(ze&&Q(),()=>Y.current.forEach(_=>{_&&clearTimeout(_)})),[]),Q}},37568:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Fe}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(48755),Y=n(56553),Q=n(53075),y=Re=>{const{getPrefixCls:N,direction:_e}=(0,o.useContext)(ze.E_),{prefixCls:ve,className:de}=Re,fe=N("input-group",ve),me=N("input"),[Oe,xe,Ne]=(0,Q.ZP)(me),Ye=L()(fe,Ne,{[`${fe}-lg`]:Re.size==="large",[`${fe}-sm`]:Re.size==="small",[`${fe}-compact`]:Re.compact,[`${fe}-rtl`]:_e==="rtl"},xe,de),pt=(0,o.useContext)(Y.aM),$t=(0,o.useMemo)(()=>Object.assign(Object.assign({},pt),{isFormItemInput:!1}),[pt]);return Oe(o.createElement("span",{className:Ye,style:Re.style,onMouseEnter:Re.onMouseEnter,onMouseLeave:Re.onMouseLeave,onFocus:Re.onFocus,onBlur:Re.onBlur},o.createElement(Y.aM.Provider,{value:$t},Re.children)))},U=n(49397),c=n(94480),T=n(6089),k=n(26112),V=n(82855),z=n(31756),K=n(16931),O=n(51636),D=n(64910);const w=Re=>{const{componentCls:N,paddingXS:_e}=Re;return{[N]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:_e,"&-rtl":{direction:"rtl"},[`${N}-input`]:{textAlign:"center",paddingInline:Re.paddingXXS},[`&${N}-sm ${N}-input`]:{paddingInline:Re.calc(Re.paddingXXS).div(2).equal()},[`&${N}-lg ${N}-input`]:{paddingInline:Re.paddingXS}}}};var E=(0,K.I$)(["Input","OTP"],Re=>{const N=(0,O.mergeToken)(Re,(0,D.e)(Re));return[w(N)]},D.T),ie=n(16089),X=function(Re,N){var _e={};for(var ve in Re)Object.prototype.hasOwnProperty.call(Re,ve)&&N.indexOf(ve)<0&&(_e[ve]=Re[ve]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ve=Object.getOwnPropertySymbols(Re);de<ve.length;de++)N.indexOf(ve[de])<0&&Object.prototype.propertyIsEnumerable.call(Re,ve[de])&&(_e[ve[de]]=Re[ve[de]]);return _e},Ee=o.forwardRef((Re,N)=>{const{value:_e,onChange:ve,onActiveChange:de,index:fe,mask:me}=Re,Oe=X(Re,["value","onChange","onActiveChange","index","mask"]),xe=_e&&typeof me=="string"?me:_e,Ne=Ut=>{ve(fe,Ut.target.value)},Ye=o.useRef(null);o.useImperativeHandle(N,()=>Ye.current);const pt=()=>{(0,ie.Z)(()=>{var Ut;const Dt=(Ut=Ye.current)===null||Ut===void 0?void 0:Ut.input;document.activeElement===Dt&&Dt&&Dt.select()})},$t=Ut=>{const{key:Dt,ctrlKey:at,metaKey:yt}=Ut;Dt==="ArrowLeft"?de(fe-1):Dt==="ArrowRight"?de(fe+1):Dt==="z"&&(at||yt)&&Ut.preventDefault(),pt()},Xt=Ut=>{Ut.key==="Backspace"&&!_e&&de(fe-1),pt()};return o.createElement(U.Z,Object.assign({type:me===!0?"password":"text"},Oe,{ref:Ye,value:xe,onInput:Ne,onFocus:pt,onKeyDown:$t,onKeyUp:Xt,onMouseDown:pt,onMouseUp:pt}))}),Pe=function(Re,N){var _e={};for(var ve in Re)Object.prototype.hasOwnProperty.call(Re,ve)&&N.indexOf(ve)<0&&(_e[ve]=Re[ve]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ve=Object.getOwnPropertySymbols(Re);de<ve.length;de++)N.indexOf(ve[de])<0&&Object.prototype.propertyIsEnumerable.call(Re,ve[de])&&(_e[ve[de]]=Re[ve[de]]);return _e};function et(Re){return(Re||"").split("")}const He=Re=>{const{index:N,prefixCls:_e,separator:ve}=Re,de=typeof ve=="function"?ve(N):ve;return de?o.createElement("span",{className:`${_e}-separator`},de):null};var be=o.forwardRef((Re,N)=>{const{prefixCls:_e,length:ve=6,size:de,defaultValue:fe,value:me,onChange:Oe,formatter:xe,separator:Ne,variant:Ye,disabled:pt,status:$t,autoFocus:Xt,mask:Ut,type:Dt,onInput:at,inputMode:yt}=Re,xt=Pe(Re,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:ht,direction:tr}=o.useContext(ze.E_),mr=ht("otp",_e),hr=(0,k.Z)(xt,{aria:!0,data:!0,attr:!0}),[Ir,tn,Pr]=E(mr),x=(0,z.Z)(Gt=>de!=null?de:Gt),F=o.useContext(Y.aM),wt=(0,V.F)(F.status,$t),oe=o.useMemo(()=>Object.assign(Object.assign({},F),{status:wt,hasFeedback:!1,feedbackIcon:null}),[F,wt]),Be=o.useRef(null),kr=o.useRef({});o.useImperativeHandle(N,()=>({focus:()=>{var Gt;(Gt=kr.current[0])===null||Gt===void 0||Gt.focus()},blur:()=>{var Gt;for(let $=0;$<ve;$+=1)(Gt=kr.current[$])===null||Gt===void 0||Gt.blur()},nativeElement:Be.current}));const Br=Gt=>xe?xe(Gt):Gt,[wn,Fn]=o.useState(()=>et(Br(fe||"")));o.useEffect(()=>{me!==void 0&&Fn(et(me))},[me]);const Rt=(0,T.Z)(Gt=>{Fn(Gt),at&&at(Gt),Oe&&Gt.length===ve&&Gt.every($=>$)&&Gt.some(($,Ae)=>wn[Ae]!==$)&&Oe(Gt.join(""))}),Sr=(0,T.Z)((Gt,$)=>{let Ae=(0,c.Z)(wn);for(let Zr=0;Zr<Gt;Zr+=1)Ae[Zr]||(Ae[Zr]="");$.length<=1?Ae[Gt]=$:Ae=Ae.slice(0,Gt).concat(et($)),Ae=Ae.slice(0,ve);for(let Zr=Ae.length-1;Zr>=0&&!Ae[Zr];Zr-=1)Ae.pop();const Cn=Br(Ae.map(Zr=>Zr||" ").join(""));return Ae=et(Cn).map((Zr,Ht)=>Zr===" "&&!Ae[Ht]?Ae[Ht]:Zr),Ae}),sr=(Gt,$)=>{var Ae;const Cn=Sr(Gt,$),Zr=Math.min(Gt+$.length,ve-1);Zr!==Gt&&Cn[Gt]!==void 0&&((Ae=kr.current[Zr])===null||Ae===void 0||Ae.focus()),Rt(Cn)},S=Gt=>{var $;($=kr.current[Gt])===null||$===void 0||$.focus()},v={variant:Ye,disabled:pt,status:wt,mask:Ut,type:Dt,inputMode:yt};return Ir(o.createElement("div",Object.assign({},hr,{ref:Be,className:L()(mr,{[`${mr}-sm`]:x==="small",[`${mr}-lg`]:x==="large",[`${mr}-rtl`]:tr==="rtl"},Pr,tn)}),o.createElement(Y.aM.Provider,{value:oe},Array.from({length:ve}).map((Gt,$)=>{const Ae=`otp-${$}`,Cn=wn[$]||"";return o.createElement(o.Fragment,{key:Ae},o.createElement(Ee,Object.assign({ref:Zr=>{kr.current[$]=Zr},index:$,size:x,htmlSize:1,className:`${mr}-input`,onChange:sr,value:Cn,onActiveChange:S,autoFocus:$===0&&Xt},v)),$<ve-1&&o.createElement(He,{separator:Ne,index:$,prefixCls:mr}))}))))}),J=n(73331),we=n(15277),M=n(2738),I=n(8654),rt=n(2171),ue=n(23826),le=function(Re,N){var _e={};for(var ve in Re)Object.prototype.hasOwnProperty.call(Re,ve)&&N.indexOf(ve)<0&&(_e[ve]=Re[ve]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ve=Object.getOwnPropertySymbols(Re);de<ve.length;de++)N.indexOf(ve[de])<0&&Object.prototype.propertyIsEnumerable.call(Re,ve[de])&&(_e[ve[de]]=Re[ve[de]]);return _e};const B=Re=>Re?o.createElement(we.Z,null):o.createElement(J.Z,null),ae={click:"onClick",hover:"onMouseOver"};var A=o.forwardRef((Re,N)=>{const{disabled:_e,action:ve="click",visibilityToggle:de=!0,iconRender:fe=B}=Re,me=o.useContext(rt.Z),Oe=_e!=null?_e:me,xe=typeof de=="object"&&de.visible!==void 0,[Ne,Ye]=(0,o.useState)(()=>xe?de.visible:!1),pt=(0,o.useRef)(null);o.useEffect(()=>{xe&&Ye(de.visible)},[xe,de]);const $t=(0,ue.Z)(pt),Xt=()=>{var x;if(Oe)return;Ne&&$t();const F=!Ne;Ye(F),typeof de=="object"&&((x=de.onVisibleChange)===null||x===void 0||x.call(de,F))},Ut=x=>{const F=ae[ve]||"",wt=fe(Ne),oe={[F]:Xt,className:`${x}-icon`,key:"passwordIcon",onMouseDown:Be=>{Be.preventDefault()},onMouseUp:Be=>{Be.preventDefault()}};return o.cloneElement(o.isValidElement(wt)?wt:o.createElement("span",null,wt),oe)},{className:Dt,prefixCls:at,inputPrefixCls:yt,size:xt}=Re,ht=le(Re,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:tr}=o.useContext(ze.E_),mr=tr("input",yt),hr=tr("input-password",at),Ir=de&&Ut(hr),tn=L()(hr,Dt,{[`${hr}-${xt}`]:!!xt}),Pr=Object.assign(Object.assign({},(0,M.Z)(ht,["suffix","iconRender","visibilityToggle"])),{type:Ne?"text":"password",className:tn,prefixCls:mr,suffix:Ir});return xt&&(Pr.size=xt),o.createElement(U.Z,Object.assign({ref:(0,I.sQ)(N,pt)},Pr))}),re=n(47472),Ve=n(22703),pe=n(99571),Ze=n(70045),st=function(Re,N){var _e={};for(var ve in Re)Object.prototype.hasOwnProperty.call(Re,ve)&&N.indexOf(ve)<0&&(_e[ve]=Re[ve]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,ve=Object.getOwnPropertySymbols(Re);de<ve.length;de++)N.indexOf(ve[de])<0&&Object.prototype.propertyIsEnumerable.call(Re,ve[de])&&(_e[ve[de]]=Re[ve[de]]);return _e},he=o.forwardRef((Re,N)=>{const{prefixCls:_e,inputPrefixCls:ve,className:de,size:fe,suffix:me,enterButton:Oe=!1,addonAfter:xe,loading:Ne,disabled:Ye,onSearch:pt,onChange:$t,onCompositionStart:Xt,onCompositionEnd:Ut}=Re,Dt=st(Re,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:at,direction:yt}=o.useContext(ze.E_),xt=o.useRef(!1),ht=at("input-search",_e),tr=at("input",ve),{compactSize:mr}=(0,Ze.ri)(ht,yt),hr=(0,z.Z)(sr=>{var S;return(S=fe!=null?fe:mr)!==null&&S!==void 0?S:sr}),Ir=o.useRef(null),tn=sr=>{sr!=null&&sr.target&&sr.type==="click"&&pt&&pt(sr.target.value,sr,{source:"clear"}),$t==null||$t(sr)},Pr=sr=>{var S;document.activeElement===((S=Ir.current)===null||S===void 0?void 0:S.input)&&sr.preventDefault()},x=sr=>{var S,v;pt&&pt((v=(S=Ir.current)===null||S===void 0?void 0:S.input)===null||v===void 0?void 0:v.value,sr,{source:"input"})},F=sr=>{xt.current||Ne||x(sr)},wt=typeof Oe=="boolean"?o.createElement(re.Z,null):null,oe=`${ht}-button`;let Be;const kr=Oe||{},Br=kr.type&&kr.type.__ANT_BUTTON===!0;Br||kr.type==="button"?Be=(0,Ve.Tm)(kr,Object.assign({onMouseDown:Pr,onClick:sr=>{var S,v;(v=(S=kr==null?void 0:kr.props)===null||S===void 0?void 0:S.onClick)===null||v===void 0||v.call(S,sr),x(sr)},key:"enterButton"},Br?{className:oe,size:hr}:{})):Be=o.createElement(pe.ZP,{className:oe,type:Oe?"primary":void 0,size:hr,disabled:Ye,key:"enterButton",onMouseDown:Pr,onClick:x,loading:Ne,icon:wt},Oe),xe&&(Be=[Be,(0,Ve.Tm)(xe,{key:"addonAfter"})]);const wn=L()(ht,{[`${ht}-rtl`]:yt==="rtl",[`${ht}-${hr}`]:!!hr,[`${ht}-with-button`]:!!Oe},de),Fn=Object.assign(Object.assign({},Dt),{className:wn,prefixCls:tr,type:"search"}),Rt=sr=>{xt.current=!0,Xt==null||Xt(sr)},Sr=sr=>{xt.current=!1,Ut==null||Ut(sr)};return o.createElement(U.Z,Object.assign({ref:(0,I.sQ)(Ir,N),onPressEnter:F},Fn,{size:hr,onCompositionStart:Rt,onCompositionEnd:Sr,addonAfter:Be,suffix:me,onChange:tn,disabled:Ye}))}),Le=n(79809);const At=U.Z;At.Group=y,At.Search=he,At.TextArea=Le.Z,At.Password=A,At.OTP=be;var Fe=At},53075:function(qr,_t,n){"use strict";n.d(_t,{TI:function(){return ie},ik:function(){return k},nz:function(){return y},s7:function(){return V},x0:function(){return T}});var o=n(36237),Xe=n(63356),L=n(56119),ze=n(16931),Y=n(51636),Q=n(64910),_=n(39082);const y=X=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:X,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),U=X=>({borderColor:X.activeBorderColor,boxShadow:X.activeShadow,outline:0,backgroundColor:X.activeBg}),c=X=>{const{paddingBlockLG:q,lineHeightLG:Ee,borderRadiusLG:Pe,paddingInlineLG:et}=X;return{padding:`${(0,o.unit)(q)} ${(0,o.unit)(et)}`,fontSize:X.inputFontSizeLG,lineHeight:Ee,borderRadius:Pe}},T=X=>({padding:`${(0,o.unit)(X.paddingBlockSM)} ${(0,o.unit)(X.paddingInlineSM)}`,fontSize:X.inputFontSizeSM,borderRadius:X.borderRadiusSM}),k=X=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,o.unit)(X.paddingBlock)} ${(0,o.unit)(X.paddingInline)}`,color:X.colorText,fontSize:X.inputFontSize,lineHeight:X.lineHeight,borderRadius:X.borderRadius,transition:`all ${X.motionDurationMid}`},y(X.colorTextPlaceholder)),{"&-lg":Object.assign({},c(X)),"&-sm":Object.assign({},T(X)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),V=X=>{const{componentCls:q,antCls:Ee}=X;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:X.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${q}, &-lg > ${q}-group-addon`]:Object.assign({},c(X)),[`&-sm ${q}, &-sm > ${q}-group-addon`]:Object.assign({},T(X)),[`&-lg ${Ee}-select-single ${Ee}-select-selector`]:{height:X.controlHeightLG},[`&-sm ${Ee}-select-single ${Ee}-select-selector`]:{height:X.controlHeightSM},[`> ${q}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${q}-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)(X.paddingInline)}`,color:X.colorText,fontWeight:"normal",fontSize:X.inputFontSize,textAlign:"center",borderRadius:X.borderRadius,transition:`all ${X.motionDurationSlow}`,lineHeight:1,[`${Ee}-select`]:{margin:`${(0,o.unit)(X.calc(X.paddingBlock).add(1).mul(-1).equal())} ${(0,o.unit)(X.calc(X.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)(X.lineWidth)} ${X.lineType} transparent`,boxShadow:"none"}}},[`${Ee}-cascader-picker`]:{margin:`-9px ${(0,o.unit)(X.calc(X.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${Ee}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[q]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${q}-search-with-button &`]:{zIndex:0}}},[`> ${q}:first-child, ${q}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${Ee}-select ${Ee}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${q}-affix-wrapper`]:{[`&:not(:first-child) ${q}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${q}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${q}:last-child, ${q}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${Ee}-select ${Ee}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${q}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${q}-search &`]:{borderStartStartRadius:X.borderRadius,borderEndStartRadius:X.borderRadius}},[`&:not(:first-child), ${q}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${q}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Xe.dF)()),{[`${q}-group-addon, ${q}-group-wrap, > ${q}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:X.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${q}-affix-wrapper,
|
|
|
& > ${q}-number-affix-wrapper,
|
|
|
& > ${Ee}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:X.calc(X.lineWidth).mul(-1).equal(),borderInlineEndWidth:X.lineWidth},[q]:{float:"none"},[`& > ${Ee}-select > ${Ee}-select-selector,
|
|
|
& > ${Ee}-select-auto-complete ${q},
|
|
|
& > ${Ee}-cascader-picker ${q},
|
|
|
& > ${q}-group-wrapper ${q}`]:{borderInlineEndWidth:X.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 ${q},
|
|
|
& > ${Ee}-cascader-picker:first-child ${q}`]:{borderStartStartRadius:X.borderRadius,borderEndStartRadius:X.borderRadius},[`& > *:last-child,
|
|
|
& > ${Ee}-select:last-child > ${Ee}-select-selector,
|
|
|
& > ${Ee}-cascader-picker:last-child ${q},
|
|
|
& > ${Ee}-cascader-picker-focused:last-child ${q}`]:{borderInlineEndWidth:X.lineWidth,borderStartEndRadius:X.borderRadius,borderEndEndRadius:X.borderRadius},[`& > ${Ee}-select-auto-complete ${q}`]:{verticalAlign:"top"},[`${q}-group-wrapper + ${q}-group-wrapper`]:{marginInlineStart:X.calc(X.lineWidth).mul(-1).equal(),[`${q}-affix-wrapper`]:{borderRadius:0}},[`${q}-group-wrapper:not(:last-child)`]:{[`&${q}-search > ${q}-group`]:{[`& > ${q}-group-addon > ${q}-search-button`]:{borderRadius:0},[`& > ${q}`]:{borderStartStartRadius:X.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:X.borderRadius}}}})}},z=X=>{const{componentCls:q,controlHeightSM:Ee,lineWidth:Pe,calc:et}=X,Ce=et(Ee).sub(et(Pe).mul(2)).sub(16).div(2).equal();return{[q]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(X)),k(X)),(0,_.qG)(X)),(0,_.H8)(X)),(0,_.Mu)(X)),(0,_.vc)(X)),{'&[type="color"]':{height:X.controlHeight,[`&${q}-lg`]:{height:X.controlHeightLG},[`&${q}-sm`]:{height:Ee,paddingTop:Ce,paddingBottom:Ce}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},K=X=>{const{componentCls:q}=X;return{[`${q}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:X.colorTextQuaternary,fontSize:X.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${X.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:X.colorTextTertiary},"&:active":{color:X.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,o.unit)(X.inputAffixPadding)}`}}}},O=X=>{const{componentCls:q,inputAffixPadding:Ee,colorTextDescription:Pe,motionDurationSlow:et,colorIcon:He,colorIconHover:Ce,iconCls:be}=X,J=`${q}-affix-wrapper`,we=`${q}-affix-wrapper-disabled`;return{[J]:Object.assign(Object.assign(Object.assign(Object.assign({},k(X)),{display:"inline-flex",[`&:not(${q}-disabled):hover`]:{zIndex:1,[`${q}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${q}`]:{padding:0},[`> input${q}, > textarea${q}`]:{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"'},[q]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:X.paddingXS}},"&-show-count-suffix":{color:Pe},"&-show-count-has-suffix":{marginInlineEnd:X.paddingXXS},"&-prefix":{marginInlineEnd:Ee},"&-suffix":{marginInlineStart:Ee}}}),K(X)),{[`${be}${q}-password-icon`]:{color:He,cursor:"pointer",transition:`all ${et}`,"&:hover":{color:Ce}}}),[`${q}-underlined`]:{borderRadius:0},[we]:{[`${be}${q}-password-icon`]:{color:He,cursor:"not-allowed","&:hover":{color:He}}}}},D=X=>{const{componentCls:q,borderRadiusLG:Ee,borderRadiusSM:Pe}=X;return{[`${q}-group`]:Object.assign(Object.assign(Object.assign({},(0,Xe.Wf)(X)),V(X)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${q}-group-addon`]:{borderRadius:Ee,fontSize:X.inputFontSizeLG}},"&-sm":{[`${q}-group-addon`]:{borderRadius:Pe}}},(0,_.ir)(X)),(0,_.S5)(X)),{[`&:not(${q}-compact-first-item):not(${q}-compact-last-item)${q}-compact-item`]:{[`${q}, ${q}-group-addon`]:{borderRadius:0}},[`&:not(${q}-compact-last-item)${q}-compact-first-item`]:{[`${q}, ${q}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${q}-compact-first-item)${q}-compact-last-item`]:{[`${q}, ${q}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${q}-compact-last-item)${q}-compact-item`]:{[`${q}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${q}-compact-first-item)${q}-compact-item`]:{[`${q}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},w=X=>{const{componentCls:q,antCls:Ee}=X,Pe=`${q}-search`;return{[Pe]:{[q]:{"&:hover, &:focus":{[`+ ${q}-group-addon ${Pe}-button:not(${Ee}-btn-primary)`]:{borderInlineStartColor:X.colorPrimaryHover}}},[`${q}-affix-wrapper`]:{height:X.controlHeight,borderRadius:0},[`${q}-lg`]:{lineHeight:X.calc(X.lineHeightLG).sub(2e-4).equal()},[`> ${q}-group`]:{[`> ${q}-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:X.colorTextDescription,"&:hover":{color:X.colorPrimaryHover},"&:active":{color:X.colorPrimaryActive},[`&${Ee}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Pe}-button`]:{height:X.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${q}-affix-wrapper, ${Pe}-button`]:{height:X.controlHeightLG}},"&-small":{[`${q}-affix-wrapper, ${Pe}-button`]:{height:X.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${q}-compact-item`]:{[`&:not(${q}-compact-last-item)`]:{[`${q}-group-addon`]:{[`${q}-search-button`]:{marginInlineEnd:X.calc(X.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${q}-compact-first-item)`]:{[`${q},${q}-affix-wrapper`]:{borderRadius:0}},[`> ${q}-group-addon ${q}-search-button,
|
|
|
> ${q},
|
|
|
${q}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${q}-affix-wrapper-focused`]:{zIndex:2}}}}},E=X=>{const{componentCls:q}=X;return{[`${q}-out-of-range`]:{[`&, & input, & textarea, ${q}-show-count-suffix, ${q}-data-count`]:{color:X.colorError}}}},ie=(0,ze.I$)(["Input","Shared"],X=>{const q=(0,Y.mergeToken)(X,(0,Q.e)(X));return[z(q),O(q)]},Q.T,{resetFont:!1});_t.ZP=(0,ze.I$)(["Input","Component"],X=>{const q=(0,Y.mergeToken)(X,(0,Q.e)(X));return[D(q),w(q),E(q),(0,L.c)(q)]},Q.T,{resetFont:!1})},64910:function(qr,_t,n){"use strict";n.d(_t,{T:function(){return L},e:function(){return Xe}});var o=n(51636);function Xe(ze){return(0,o.mergeToken)(ze,{inputAffixPadding:ze.paddingXXS})}const L=ze=>{const{controlHeight:Y,fontSize:Q,lineHeight:_,lineWidth:y,controlHeightSM:U,controlHeightLG:c,fontSizeLG:T,lineHeightLG:k,paddingSM:V,controlPaddingHorizontalSM:z,controlPaddingHorizontal:K,colorFillAlter:O,colorPrimaryHover:D,colorPrimary:w,controlOutlineWidth:E,controlOutline:ie,colorErrorOutline:X,colorWarningOutline:q,colorBgContainer:Ee,inputFontSize:Pe,inputFontSizeLG:et,inputFontSizeSM:He}=ze,Ce=Pe||Q,be=He||Ce,J=et||T,we=Math.round((Y-Ce*_)/2*10)/10-y,M=Math.round((U-be*_)/2*10)/10-y,I=Math.ceil((c-J*k)/2*10)/10-y;return{paddingBlock:Math.max(we,0),paddingBlockSM:Math.max(M,0),paddingBlockLG:Math.max(I,0),paddingInline:V-y,paddingInlineSM:z-y,paddingInlineLG:K-y,addonBg:O,activeBorderColor:w,hoverBorderColor:D,activeShadow:`0 0 0 ${E}px ${ie}`,errorActiveShadow:`0 0 0 ${E}px ${X}`,warningActiveShadow:`0 0 0 ${E}px ${q}`,hoverBg:Ee,activeBg:Ee,inputFontSize:Ce,inputFontSizeLG:J,inputFontSizeSM:be}}},39082:function(qr,_t,n){"use strict";n.d(_t,{$U:function(){return Y},H8:function(){return V},Mu:function(){return c},S5:function(){return K},Xy:function(){return ze},ir:function(){return U},qG:function(){return _},vc:function(){return w}});var o=n(36237),Xe=n(51636);const L=E=>({borderColor:E.hoverBorderColor,backgroundColor:E.hoverBg}),ze=E=>({color:E.colorTextDisabled,backgroundColor:E.colorBgContainerDisabled,borderColor:E.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},L((0,Xe.mergeToken)(E,{hoverBorderColor:E.colorBorder,hoverBg:E.colorBgContainerDisabled})))}),Y=(E,ie)=>({background:E.colorBgContainer,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:ie.borderColor,"&:hover":{borderColor:ie.hoverBorderColor,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:ie.activeBorderColor,boxShadow:ie.activeShadow,outline:0,backgroundColor:E.activeBg}}),Q=(E,ie)=>({[`&${E.componentCls}-status-${ie.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},Y(E,ie)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ie.affixColor}}),[`&${E.componentCls}-status-${ie.status}${E.componentCls}-disabled`]:{borderColor:ie.borderColor}}),_=(E,ie)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Y(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},ze(E))}),Q(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),Q(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),ie)}),y=(E,ie)=>({[`&${E.componentCls}-group-wrapper-status-${ie.status}`]:{[`${E.componentCls}-group-addon`]:{borderColor:ie.addonBorderColor,color:ie.addonColor}}}),U=E=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${E.componentCls}-group`]:{"&-addon":{background:E.addonBg,border:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},y(E,{status:"error",addonBorderColor:E.colorError,addonColor:E.colorErrorText})),y(E,{status:"warning",addonBorderColor:E.colorWarning,addonColor:E.colorWarningText})),{[`&${E.componentCls}-group-wrapper-disabled`]:{[`${E.componentCls}-group-addon`]:Object.assign({},ze(E))}})}),c=(E,ie)=>{const{componentCls:X}=E;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${X}-disabled, &[disabled]`]:{color:E.colorTextDisabled,cursor:"not-allowed"},[`&${X}-status-error`]:{"&, & input, & textarea":{color:E.colorError}},[`&${X}-status-warning`]:{"&, & input, & textarea":{color:E.colorWarning}}},ie)}},T=(E,ie)=>{var X;return{background:ie.bg,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(X=ie==null?void 0:ie.inputColor)!==null&&X!==void 0?X:"unset"},"&:hover":{background:ie.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:ie.activeBorderColor,backgroundColor:E.activeBg}}},k=(E,ie)=>({[`&${E.componentCls}-status-${ie.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},T(E,ie)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ie.affixColor}})}),V=(E,ie)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},T(E,{bg:E.colorFillTertiary,hoverBg:E.colorFillSecondary,activeBorderColor:E.activeBorderColor})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},ze(E))}),k(E,{status:"error",bg:E.colorErrorBg,hoverBg:E.colorErrorBgHover,activeBorderColor:E.colorError,inputColor:E.colorErrorText,affixColor:E.colorError})),k(E,{status:"warning",bg:E.colorWarningBg,hoverBg:E.colorWarningBgHover,activeBorderColor:E.colorWarning,inputColor:E.colorWarningText,affixColor:E.colorWarning})),ie)}),z=(E,ie)=>({[`&${E.componentCls}-group-wrapper-status-${ie.status}`]:{[`${E.componentCls}-group-addon`]:{background:ie.addonBg,color:ie.addonColor}}}),K=E=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${E.componentCls}-group`]:{"&-addon":{background:E.colorFillTertiary},[`${E.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorSplit}`}}}},z(E,{status:"error",addonBg:E.colorErrorBg,addonColor:E.colorErrorText})),z(E,{status:"warning",addonBg:E.colorWarningBg,addonColor:E.colorWarningText})),{[`&${E.componentCls}-group-wrapper-disabled`]:{[`${E.componentCls}-group`]:{"&-addon":{background:E.colorFillTertiary,color:E.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderTop:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderBottom:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderTop:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`,borderBottom:`${(0,o.unit)(E.lineWidth)} ${E.lineType} ${E.colorBorder}`}}}})}),O=(E,ie)=>({background:E.colorBgContainer,borderWidth:`${(0,o.unit)(E.lineWidth)} 0`,borderStyle:`${E.lineType} none`,borderColor:`transparent transparent ${ie.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${ie.borderColor} transparent`,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${ie.borderColor} transparent`,outline:0,backgroundColor:E.activeBg}}),D=(E,ie)=>({[`&${E.componentCls}-status-${ie.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},O(E,ie)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ie.affixColor}}),[`&${E.componentCls}-status-${ie.status}${E.componentCls}-disabled`]:{borderColor:`transparent transparent ${ie.borderColor} transparent`}}),w=(E,ie)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},O(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:{color:E.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${E.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),D(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),D(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),ie)})},24303:function(qr,_t,n){"use strict";n.d(_t,{D:function(){return Pe},Z:function(){return Ce}});var o=n(59301),Xe=n(54476),L={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"},ze=L,Y=n(7657),Q=function(J,we){return o.createElement(Y.Z,(0,Xe.Z)({},J,{ref:we,icon:ze}))},_=o.forwardRef(Q),y=_,U=n(33853),c=n(38819),T=n(92310),k=n.n(T),V=n(2738),z=n(48755),K=n(6989),O=n(36237),D=n(48923),w=n(16931);const E=be=>{const{componentCls:J,siderBg:we,motionDurationMid:M,motionDurationSlow:I,antCls:rt,triggerHeight:ue,triggerColor:le,triggerBg:B,headerHeight:ae,zeroTriggerWidth:W,zeroTriggerHeight:A,borderRadiusLG:re,lightSiderBg:Ve,lightTriggerColor:pe,lightTriggerBg:Ze,bodyBg:st}=be;return{[J]:{position:"relative",minWidth:0,background:we,transition:`all ${M}, background 0s`,"&-has-trigger":{paddingBottom:ue},"&-right":{order:1},[`${J}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${rt}-menu${rt}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${J}-children`]:{overflow:"hidden"},[`${J}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ue,color:le,lineHeight:(0,O.unit)(ue),textAlign:"center",background:B,cursor:"pointer",transition:`all ${M}`},[`${J}-zero-width-trigger`]:{position:"absolute",top:ae,insetInlineEnd:be.calc(W).mul(-1).equal(),zIndex:1,width:W,height:A,color:le,fontSize:be.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:we,borderRadius:`0 ${(0,O.unit)(re)} ${(0,O.unit)(re)} 0`,cursor:"pointer",transition:`background ${I} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${I}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:be.calc(W).mul(-1).equal(),borderRadius:`${(0,O.unit)(re)} 0 0 ${(0,O.unit)(re)}`}},"&-light":{background:Ve,[`${J}-trigger`]:{color:pe,background:Ze},[`${J}-zero-width-trigger`]:{color:pe,background:Ze,border:`1px solid ${st}`,borderInlineStart:0}}}}};var ie=(0,w.I$)(["Layout","Sider"],be=>[E(be)],D.eh,{deprecatedTokens:D.jn}),X=function(be,J){var we={};for(var M in be)Object.prototype.hasOwnProperty.call(be,M)&&J.indexOf(M)<0&&(we[M]=be[M]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,M=Object.getOwnPropertySymbols(be);I<M.length;I++)J.indexOf(M[I])<0&&Object.prototype.propertyIsEnumerable.call(be,M[I])&&(we[M[I]]=be[M[I]]);return we};const q={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ee=be=>!Number.isNaN(Number.parseFloat(be))&&isFinite(be),Pe=o.createContext({}),et=(()=>{let be=0;return function(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return be+=1,`${J}${be}`}})();var Ce=o.forwardRef((be,J)=>{const{prefixCls:we,className:M,trigger:I,children:rt,defaultCollapsed:ue=!1,theme:le="dark",style:B={},collapsible:ae=!1,reverseArrow:W=!1,width:A=200,collapsedWidth:re=80,zeroWidthTriggerStyle:Ve,breakpoint:pe,onCollapse:Ze,onBreakpoint:st}=be,dt=X(be,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:he}=(0,o.useContext)(K.V),[Le,At]=(0,o.useState)("collapsed"in be?be.collapsed:ue),[Fe,Re]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in be&&At(be.collapsed)},[be.collapsed]);const N=(hr,Ir)=>{"collapsed"in be||At(hr),Ze==null||Ze(hr,Ir)},{getPrefixCls:_e,direction:ve}=(0,o.useContext)(z.E_),de=_e("layout-sider",we),[fe,me,Oe]=ie(de),xe=(0,o.useRef)(null);xe.current=hr=>{Re(hr.matches),st==null||st(hr.matches),Le!==hr.matches&&N(hr.matches,"responsive")},(0,o.useEffect)(()=>{function hr(tn){return xe.current(tn)}let Ir;if(typeof window!="undefined"){const{matchMedia:tn}=window;if(tn&&pe&&pe in q){Ir=tn(`screen and (max-width: ${q[pe]})`);try{Ir.addEventListener("change",hr)}catch(Pr){Ir.addListener(hr)}hr(Ir)}}return()=>{try{Ir==null||Ir.removeEventListener("change",hr)}catch(tn){Ir==null||Ir.removeListener(hr)}}},[pe]),(0,o.useEffect)(()=>{const hr=et("ant-sider-");return he.addSider(hr),()=>he.removeSider(hr)},[]);const Ne=()=>{N(!Le,"clickTrigger")},Ye=(0,V.Z)(dt,["collapsed"]),pt=Le?re:A,$t=Ee(pt)?`${pt}px`:String(pt),Xt=parseFloat(String(re||0))===0?o.createElement("span",{onClick:Ne,className:k()(`${de}-zero-width-trigger`,`${de}-zero-width-trigger-${W?"right":"left"}`),style:Ve},I||o.createElement(y,null)):null,Ut=ve==="rtl"==!W,yt={expanded:Ut?o.createElement(c.Z,null):o.createElement(U.Z,null),collapsed:Ut?o.createElement(U.Z,null):o.createElement(c.Z,null)}[Le?"collapsed":"expanded"],xt=I!==null?Xt||o.createElement("div",{className:`${de}-trigger`,onClick:Ne,style:{width:$t}},I||yt):null,ht=Object.assign(Object.assign({},B),{flex:`0 0 ${$t}`,maxWidth:$t,minWidth:$t,width:$t}),tr=k()(de,`${de}-${le}`,{[`${de}-collapsed`]:!!Le,[`${de}-has-trigger`]:ae&&I!==null&&!Xt,[`${de}-below`]:!!Fe,[`${de}-zero-width`]:parseFloat($t)===0},M,me,Oe),mr=o.useMemo(()=>({siderCollapsed:Le}),[Le]);return fe(o.createElement(Pe.Provider,{value:mr},o.createElement("aside",Object.assign({className:tr},Ye,{style:ht,ref:J}),o.createElement("div",{className:`${de}-children`},rt),ae||Fe&&Xt?xt: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 q}});var o=n(94480),Xe=n(59301),L=n(92310),ze=n.n(L),Y=n(2738),Q=n(48755),_=n(6989),y=n(11592),U=n(24303);function c(Ee,Pe,et){return typeof et=="boolean"?et:Ee.length?!0:(0,y.Z)(Pe).some(Ce=>Ce.type===U.Z)}var T=n(48923),k=function(Ee,Pe){var et={};for(var He in Ee)Object.prototype.hasOwnProperty.call(Ee,He)&&Pe.indexOf(He)<0&&(et[He]=Ee[He]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,He=Object.getOwnPropertySymbols(Ee);Ce<He.length;Ce++)Pe.indexOf(He[Ce])<0&&Object.prototype.propertyIsEnumerable.call(Ee,He[Ce])&&(et[He[Ce]]=Ee[He[Ce]]);return et};function V(Ee){let{suffixCls:Pe,tagName:et,displayName:He}=Ee;return Ce=>Xe.forwardRef((J,we)=>Xe.createElement(Ce,Object.assign({ref:we,suffixCls:Pe,tagName:et},J)))}const z=Xe.forwardRef((Ee,Pe)=>{const{prefixCls:et,suffixCls:He,className:Ce,tagName:be}=Ee,J=k(Ee,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:we}=Xe.useContext(Q.E_),M=we("layout",et),[I,rt,ue]=(0,T.ZP)(M),le=He?`${M}-${He}`:M;return I(Xe.createElement(be,Object.assign({className:ze()(et||le,Ce,rt,ue),ref:Pe},J)))}),K=Xe.forwardRef((Ee,Pe)=>{const{direction:et}=Xe.useContext(Q.E_),[He,Ce]=Xe.useState([]),{prefixCls:be,className:J,rootClassName:we,children:M,hasSider:I,tagName:rt,style:ue}=Ee,le=k(Ee,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),B=(0,Y.Z)(le,["suffixCls"]),{getPrefixCls:ae,className:W,style:A}=(0,Q.dj)("layout"),re=ae("layout",be),Ve=c(He,M,I),[pe,Ze,st]=(0,T.ZP)(re),dt=ze()(re,{[`${re}-has-sider`]:Ve,[`${re}-rtl`]:et==="rtl"},W,J,we,Ze,st),he=Xe.useMemo(()=>({siderHook:{addSider:Le=>{Ce(At=>[].concat((0,o.Z)(At),[Le]))},removeSider:Le=>{Ce(At=>At.filter(Fe=>Fe!==Le))}}}),[]);return pe(Xe.createElement(_.V.Provider,{value:he},Xe.createElement(rt,Object.assign({ref:Pe,className:dt,style:Object.assign(Object.assign({},A),ue)},B),M)))}),O=V({tagName:"div",displayName:"Layout"})(K),D=V({suffixCls:"header",tagName:"header",displayName:"Header"})(z),w=V({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(z),E=V({suffixCls:"content",tagName:"main",displayName:"Content"})(z);var ie=O;const X=ie;X.Header=D,X.Footer=w,X.Content=E,X.Sider=U.Z,X._InternalSiderContext=U.D;var q=X},48923:function(qr,_t,n){"use strict";n.d(_t,{eh:function(){return ze},jn:function(){return Y}});var o=n(36237),Xe=n(16931);const L=Q=>{const{antCls:_,componentCls:y,colorText:U,footerBg:c,headerHeight:T,headerPadding:k,headerColor:V,footerPadding:z,fontSize:K,bodyBg:O,headerBg:D}=Q;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:O,"&, *":{boxSizing:"border-box"},[`&${y}-has-sider`]:{flexDirection:"row",[`> ${y}, > ${y}-content`]:{width:0}},[`${y}-header, &${y}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${y}-header`]:{height:T,padding:k,color:V,lineHeight:(0,o.unit)(T),background:D,[`${_}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:z,color:U,fontSize:K,background:c},[`${y}-content`]:{flex:"auto",color:U,minHeight:0}}},ze=Q=>{const{colorBgLayout:_,controlHeight:y,controlHeightLG:U,colorText:c,controlHeightSM:T,marginXXS:k,colorTextLightSolid:V,colorBgContainer:z}=Q,K=U*1.25;return{colorBgHeader:"#001529",colorBgBody:_,colorBgTrigger:"#002140",bodyBg:_,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${K}px`,headerColor:c,footerPadding:`${T}px ${K}px`,footerBg:_,siderBg:"#001529",triggerHeight:U+k*2,triggerBg:"#002140",triggerColor:V,zeroTriggerWidth:U,zeroTriggerHeight:U,lightSiderBg:z,lightTriggerBg:z,lightTriggerColor:c}},Y=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];_t.ZP=(0,Xe.I$)("Layout",Q=>[L(Q)],ze,{deprecatedTokens:Y})},78857:function(qr,_t,n){"use strict";n.d(_t,{J:function(){return Q}});var o=n(59301),Xe=n(8654),L=n(62487),ze=function(_,y){var U={};for(var c in _)Object.prototype.hasOwnProperty.call(_,c)&&y.indexOf(c)<0&&(U[c]=_[c]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,c=Object.getOwnPropertySymbols(_);T<c.length;T++)y.indexOf(c[T])<0&&Object.prototype.propertyIsEnumerable.call(_,c[T])&&(U[c[T]]=_[c[T]]);return U};const Y=o.createContext(null),Q=o.forwardRef((_,y)=>{const{children:U}=_,c=ze(_,["children"]),T=o.useContext(Y),k=o.useMemo(()=>Object.assign(Object.assign({},T),c),[T,c.prefixCls,c.mode,c.selectable,c.rootClassName]),V=(0,Xe.t4)(U),z=(0,Xe.x1)(y,V?(0,Xe.C4)(U):null);return o.createElement(Y.Provider,{value:k},o.createElement(L.Z,{space:!0},V?o.cloneElement(U,{ref:z}):U))});_t.Z=Y},93041:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return fe}});var o=n(59301),Xe=n(28321),L=n(24303),ze=n(18785),Y=n(92310),Q=n.n(Y),_=n(6089),y=n(2738),U=n(86641),c=n(22703),T=n(48755),k=n(83397),z=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),K=function(me,Oe){var xe={};for(var Ne in me)Object.prototype.hasOwnProperty.call(me,Ne)&&Oe.indexOf(Ne)<0&&(xe[Ne]=me[Ne]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ne=Object.getOwnPropertySymbols(me);Ye<Ne.length;Ye++)Oe.indexOf(Ne[Ye])<0&&Object.prototype.propertyIsEnumerable.call(me,Ne[Ye])&&(xe[Ne[Ye]]=me[Ne[Ye]]);return xe},D=me=>{const{prefixCls:Oe,className:xe,dashed:Ne}=me,Ye=K(me,["prefixCls","className","dashed"]),{getPrefixCls:pt}=o.useContext(T.E_),$t=pt("menu",Oe),Xt=Q()({[`${$t}-item-divider-dashed`]:!!Ne},xe);return o.createElement(Xe.iz,Object.assign({className:Xt},Ye))},w=n(11592),E=n(25399),X=me=>{var Oe;const{className:xe,children:Ne,icon:Ye,title:pt,danger:$t,extra:Xt}=me,{prefixCls:Ut,firstLevel:Dt,direction:at,disableMenuItemTitleTooltip:yt,inlineCollapsed:xt}=o.useContext(z),ht=Pr=>{const x=Ne==null?void 0:Ne[0],F=o.createElement("span",{className:Q()(`${Ut}-title-content`,{[`${Ut}-title-content-with-extra`]:!!Xt||Xt===0})},Ne);return(!Ye||o.isValidElement(Ne)&&Ne.type==="span")&&Ne&&Pr&&Dt&&typeof x=="string"?o.createElement("div",{className:`${Ut}-inline-collapsed-noicon`},x.charAt(0)):F},{siderCollapsed:tr}=o.useContext(L.D);let mr=pt;typeof pt=="undefined"?mr=Dt?Ne:"":pt===!1&&(mr="");const hr={title:mr};!tr&&!xt&&(hr.title=null,hr.open=!1);const Ir=(0,w.Z)(Ne).length;let tn=o.createElement(Xe.ck,Object.assign({},(0,y.Z)(me,["title","icon","danger"]),{className:Q()({[`${Ut}-item-danger`]:$t,[`${Ut}-item-only-child`]:(Ye?Ir+1:Ir)===1},xe),title:typeof pt=="string"?pt:void 0}),(0,c.Tm)(Ye,{className:Q()(o.isValidElement(Ye)?(Oe=Ye.props)===null||Oe===void 0?void 0:Oe.className:"",`${Ut}-item-icon`)}),ht(xt));return yt||(tn=o.createElement(E.Z,Object.assign({},hr,{placement:at==="rtl"?"left":"right",classNames:{root:`${Ut}-inline-collapsed-tooltip`}}),tn)),tn},q=n(78857),Ee=n(36237),Pe=n(17835),et=n(63356),He=n(34961),Ce=n(46e3),be=n(34925),J=n(16931),we=n(51636),I=me=>{const{componentCls:Oe,motionDurationSlow:xe,horizontalLineHeight:Ne,colorSplit:Ye,lineWidth:pt,lineType:$t,itemPaddingInline:Xt}=me;return{[`${Oe}-horizontal`]:{lineHeight:Ne,border:0,borderBottom:`${(0,Ee.unit)(pt)} ${$t} ${Ye}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Oe}-item, ${Oe}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Xt},[`> ${Oe}-item:hover,
|
|
|
> ${Oe}-item-active,
|
|
|
> ${Oe}-submenu ${Oe}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Oe}-item, ${Oe}-submenu-title`]:{transition:[`border-color ${xe}`,`background ${xe}`].join(",")},[`${Oe}-submenu-arrow`]:{display:"none"}}}},ue=me=>{let{componentCls:Oe,menuArrowOffset:xe,calc:Ne}=me;return{[`${Oe}-rtl`]:{direction:"rtl"},[`${Oe}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Oe}-rtl${Oe}-vertical,
|
|
|
${Oe}-submenu-rtl ${Oe}-vertical`]:{[`${Oe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Ee.unit)(Ne(xe).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Ee.unit)(xe)})`}}}}};const le=me=>Object.assign({},(0,et.oN)(me));var ae=(me,Oe)=>{const{componentCls:xe,itemColor:Ne,itemSelectedColor:Ye,subMenuItemSelectedColor:pt,groupTitleColor:$t,itemBg:Xt,subMenuItemBg:Ut,itemSelectedBg:Dt,activeBarHeight:at,activeBarWidth:yt,activeBarBorderWidth:xt,motionDurationSlow:ht,motionEaseInOut:tr,motionEaseOut:mr,itemPaddingInline:hr,motionDurationMid:Ir,itemHoverColor:tn,lineType:Pr,colorSplit:x,itemDisabledColor:F,dangerItemColor:wt,dangerItemHoverColor:oe,dangerItemSelectedColor:Be,dangerItemActiveBg:kr,dangerItemSelectedBg:Br,popupBg:wn,itemHoverBg:Fn,itemActiveBg:Rt,menuSubMenuBg:Sr,horizontalItemSelectedColor:sr,horizontalItemSelectedBg:S,horizontalItemBorderRadius:v,horizontalItemHoverBg:Gt}=me;return{[`${xe}-${Oe}, ${xe}-${Oe} > ${xe}`]:{color:Ne,background:Xt,[`&${xe}-root:focus-visible`]:Object.assign({},le(me)),[`${xe}-item`]:{"&-group-title, &-extra":{color:$t}},[`${xe}-submenu-selected > ${xe}-submenu-title`]:{color:pt},[`${xe}-item, ${xe}-submenu-title`]:{color:Ne,[`&:not(${xe}-item-disabled):focus-visible`]:Object.assign({},le(me))},[`${xe}-item-disabled, ${xe}-submenu-disabled`]:{color:`${F} !important`},[`${xe}-item:not(${xe}-item-selected):not(${xe}-submenu-selected)`]:{[`&:hover, > ${xe}-submenu-title:hover`]:{color:tn}},[`&:not(${xe}-horizontal)`]:{[`${xe}-item:not(${xe}-item-selected)`]:{"&:hover":{backgroundColor:Fn},"&:active":{backgroundColor:Rt}},[`${xe}-submenu-title`]:{"&:hover":{backgroundColor:Fn},"&:active":{backgroundColor:Rt}}},[`${xe}-item-danger`]:{color:wt,[`&${xe}-item:hover`]:{[`&:not(${xe}-item-selected):not(${xe}-submenu-selected)`]:{color:oe}},[`&${xe}-item:active`]:{background:kr}},[`${xe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${xe}-item-selected`]:{color:Ye,[`&${xe}-item-danger`]:{color:Be},"a, a:hover":{color:"inherit"}},[`& ${xe}-item-selected`]:{backgroundColor:Dt,[`&${xe}-item-danger`]:{backgroundColor:Br}},[`&${xe}-submenu > ${xe}`]:{backgroundColor:Sr},[`&${xe}-popup > ${xe}`]:{backgroundColor:wn},[`&${xe}-submenu-popup > ${xe}`]:{backgroundColor:wn},[`&${xe}-horizontal`]:Object.assign(Object.assign({},Oe==="dark"?{borderBottom:0}:{}),{[`> ${xe}-item, > ${xe}-submenu`]:{top:xt,marginTop:me.calc(xt).mul(-1).equal(),marginBottom:0,borderRadius:v,"&::after":{position:"absolute",insetInline:hr,bottom:0,borderBottom:`${(0,Ee.unit)(at)} solid transparent`,transition:`border-color ${ht} ${tr}`,content:'""'},"&:hover, &-active, &-open":{background:Gt,"&::after":{borderBottomWidth:at,borderBottomColor:sr}},"&-selected":{color:sr,backgroundColor:S,"&:hover":{backgroundColor:S},"&::after":{borderBottomWidth:at,borderBottomColor:sr}}}}),[`&${xe}-root`]:{[`&${xe}-inline, &${xe}-vertical`]:{borderInlineEnd:`${(0,Ee.unit)(xt)} ${Pr} ${x}`}},[`&${xe}-inline`]:{[`${xe}-sub${xe}-inline`]:{background:Ut},[`${xe}-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 ${Ir} ${mr}`,`opacity ${Ir} ${mr}`].join(","),content:'""'},[`&${xe}-item-danger`]:{"&::after":{borderInlineEndColor:Be}}},[`${xe}-selected, ${xe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ir} ${tr}`,`opacity ${Ir} ${tr}`].join(",")}}}}}};const W=me=>{const{componentCls:Oe,itemHeight:xe,itemMarginInline:Ne,padding:Ye,menuArrowSize:pt,marginXS:$t,itemMarginBlock:Xt,itemWidth:Ut,itemPaddingInline:Dt}=me,at=me.calc(pt).add(Ye).add($t).equal();return{[`${Oe}-item`]:{position:"relative",overflow:"hidden"},[`${Oe}-item, ${Oe}-submenu-title`]:{height:xe,lineHeight:(0,Ee.unit)(xe),paddingInline:Dt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Ne,marginBlock:Xt,width:Ut},[`> ${Oe}-item,
|
|
|
> ${Oe}-submenu > ${Oe}-submenu-title`]:{height:xe,lineHeight:(0,Ee.unit)(xe)},[`${Oe}-item-group-list ${Oe}-submenu-title,
|
|
|
${Oe}-submenu-title`]:{paddingInlineEnd:at}}};var re=me=>{const{componentCls:Oe,iconCls:xe,itemHeight:Ne,colorTextLightSolid:Ye,dropdownWidth:pt,controlHeightLG:$t,motionEaseOut:Xt,paddingXL:Ut,itemMarginInline:Dt,fontSizeLG:at,motionDurationFast:yt,motionDurationSlow:xt,paddingXS:ht,boxShadowSecondary:tr,collapsedWidth:mr,collapsedIconSize:hr}=me,Ir={height:Ne,lineHeight:(0,Ee.unit)(Ne),listStylePosition:"inside",listStyleType:"disc"};return[{[Oe]:{"&-inline, &-vertical":Object.assign({[`&${Oe}-root`]:{boxShadow:"none"}},W(me))},[`${Oe}-submenu-popup`]:{[`${Oe}-vertical`]:Object.assign(Object.assign({},W(me)),{boxShadow:tr})}},{[`${Oe}-submenu-popup ${Oe}-vertical${Oe}-sub`]:{minWidth:pt,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"}}},{[`${Oe}-inline`]:{width:"100%",[`&${Oe}-root`]:{[`${Oe}-item, ${Oe}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${xt}`,`background ${xt}`,`padding ${yt} ${Xt}`].join(","),[`> ${Oe}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Oe}-sub${Oe}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Oe}-submenu > ${Oe}-submenu-title`]:Ir,[`& ${Oe}-item-group-title`]:{paddingInlineStart:Ut}},[`${Oe}-item`]:Ir}},{[`${Oe}-inline-collapsed`]:{width:mr,[`&${Oe}-root`]:{[`${Oe}-item, ${Oe}-submenu ${Oe}-submenu-title`]:{[`> ${Oe}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${Oe}-item,
|
|
|
> ${Oe}-item-group > ${Oe}-item-group-list > ${Oe}-item,
|
|
|
> ${Oe}-item-group > ${Oe}-item-group-list > ${Oe}-submenu > ${Oe}-submenu-title,
|
|
|
> ${Oe}-submenu > ${Oe}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Ee.unit)(me.calc(hr).div(2).equal())} - ${(0,Ee.unit)(Dt)})`,textOverflow:"clip",[`
|
|
|
${Oe}-submenu-arrow,
|
|
|
${Oe}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${Oe}-item-icon, ${xe}`]:{margin:0,fontSize:hr,lineHeight:(0,Ee.unit)(Ne),"+ span":{display:"inline-block",opacity:0}}},[`${Oe}-item-icon, ${xe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Oe}-item-icon, ${xe}`]:{display:"none"},"a, a:hover":{color:Ye}},[`${Oe}-item-group-title`]:Object.assign(Object.assign({},et.vS),{paddingInline:ht})}}]};const Ve=me=>{const{componentCls:Oe,motionDurationSlow:xe,motionDurationMid:Ne,motionEaseInOut:Ye,motionEaseOut:pt,iconCls:$t,iconSize:Xt,iconMarginInlineEnd:Ut}=me;return{[`${Oe}-item, ${Oe}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${xe}`,`background ${xe}`,`padding calc(${xe} + 0.1s) ${Ye}`].join(","),[`${Oe}-item-icon, ${$t}`]:{minWidth:Xt,fontSize:Xt,transition:[`font-size ${Ne} ${pt}`,`margin ${xe} ${Ye}`,`color ${xe}`].join(","),"+ span":{marginInlineStart:Ut,opacity:1,transition:[`opacity ${xe} ${Ye}`,`margin ${xe}`,`color ${xe}`].join(",")}},[`${Oe}-item-icon`]:Object.assign({},(0,et.Ro)()),[`&${Oe}-item-only-child`]:{[`> ${$t}, > ${Oe}-item-icon`]:{marginInlineEnd:0}}},[`${Oe}-item-disabled, ${Oe}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Oe}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},pe=me=>{const{componentCls:Oe,motionDurationSlow:xe,motionEaseInOut:Ne,borderRadius:Ye,menuArrowSize:pt,menuArrowOffset:$t}=me;return{[`${Oe}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:me.margin,width:pt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${xe} ${Ne}, opacity ${xe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:me.calc(pt).mul(.6).equal(),height:me.calc(pt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:Ye,transition:[`background ${xe} ${Ne}`,`transform ${xe} ${Ne}`,`top ${xe} ${Ne}`,`color ${xe} ${Ne}`].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:Oe,componentCls:xe,fontSize:Ne,motionDurationSlow:Ye,motionDurationMid:pt,motionEaseInOut:$t,paddingXS:Xt,padding:Ut,colorSplit:Dt,lineWidth:at,zIndexPopup:yt,borderRadiusLG:xt,subMenuItemBorderRadius:ht,menuArrowSize:tr,menuArrowOffset:mr,lineType:hr,groupTitleLineHeight:Ir,groupTitleFontSize:tn}=me;return[{"":{[xe]:Object.assign(Object.assign({},(0,et.dF)()),{"&-hidden":{display:"none"}})},[`${xe}-submenu-hidden`]:{display:"none"}},{[xe]: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:Ne,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",[`${xe}-item`]:{flex:"none"}},[`${xe}-item, ${xe}-submenu, ${xe}-submenu-title`]:{borderRadius:me.itemBorderRadius},[`${xe}-item-group-title`]:{padding:`${(0,Ee.unit)(Xt)} ${(0,Ee.unit)(Ut)}`,fontSize:tn,lineHeight:Ir,transition:`all ${Ye}`},[`&-horizontal ${xe}-submenu`]:{transition:[`border-color ${Ye} ${$t}`,`background ${Ye} ${$t}`].join(",")},[`${xe}-submenu, ${xe}-submenu-inline`]:{transition:[`border-color ${Ye} ${$t}`,`background ${Ye} ${$t}`,`padding ${pt} ${$t}`].join(",")},[`${xe}-submenu ${xe}-sub`]:{cursor:"initial",transition:[`background ${Ye} ${$t}`,`padding ${Ye} ${$t}`].join(",")},[`${xe}-title-content`]:{transition:`color ${Ye}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Oe}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${xe}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:me.padding}},[`${xe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${xe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Dt,borderStyle:hr,borderWidth:0,borderTopWidth:at,marginBlock:at,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ve(me)),{[`${xe}-item-group`]:{[`${xe}-item-group-list`]:{margin:0,padding:0,[`${xe}-item, ${xe}-submenu-title`]:{paddingInline:`${(0,Ee.unit)(me.calc(Ne).mul(2).equal())} ${(0,Ee.unit)(Ut)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:yt,borderRadius:xt,boxShadow:"none",transformOrigin:"0 0",[`&${xe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${xe}`]:Object.assign(Object.assign(Object.assign({borderRadius:xt},Ve(me)),pe(me)),{[`${xe}-item, ${xe}-submenu > ${xe}-submenu-title`]:{borderRadius:ht},[`${xe}-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 ${xe}-submenu-arrow,
|
|
|
&-inline ${xe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Ee.unit)(mr)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Ee.unit)(me.calc(mr).mul(-1).equal())})`}},[`${xe}-submenu-open${xe}-submenu-inline > ${xe}-submenu-title > ${xe}-submenu-arrow`]:{transform:`translateY(${(0,Ee.unit)(me.calc(tr).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Ee.unit)(me.calc(mr).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Ee.unit)(mr)})`}}})},{[`${Oe}-layout-header`]:{[xe]:{lineHeight:"inherit"}}}]},st=me=>{var Oe,xe,Ne;const{colorPrimary:Ye,colorError:pt,colorTextDisabled:$t,colorErrorBg:Xt,colorText:Ut,colorTextDescription:Dt,colorBgContainer:at,colorFillAlter:yt,colorFillContent:xt,lineWidth:ht,lineWidthBold:tr,controlItemBgActive:mr,colorBgTextHover:hr,controlHeightLG:Ir,lineHeight:tn,colorBgElevated:Pr,marginXXS:x,padding:F,fontSize:wt,controlHeightSM:oe,fontSizeLG:Be,colorTextLightSolid:kr,colorErrorHover:Br}=me,wn=(Oe=me.activeBarWidth)!==null&&Oe!==void 0?Oe:0,Fn=(xe=me.activeBarBorderWidth)!==null&&xe!==void 0?xe:ht,Rt=(Ne=me.itemMarginInline)!==null&&Ne!==void 0?Ne:me.marginXXS,Sr=new Pe.FastColor(kr).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:Dt,groupTitleColor:Dt,colorItemTextSelected:Ye,itemSelectedColor:Ye,subMenuItemSelectedColor:Ye,colorItemTextSelectedHorizontal:Ye,horizontalItemSelectedColor:Ye,colorItemBg:at,itemBg:at,colorItemBgHover:hr,itemHoverBg:hr,colorItemBgActive:xt,itemActiveBg:mr,colorSubItemBg:yt,subMenuItemBg:yt,colorItemBgSelected:mr,itemSelectedBg:mr,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:wn,colorActiveBarHeight:tr,activeBarHeight:tr,colorActiveBarBorderSize:ht,activeBarBorderWidth:Fn,colorItemTextDisabled:$t,itemDisabledColor:$t,colorDangerItemText:pt,dangerItemColor:pt,colorDangerItemTextHover:pt,dangerItemHoverColor:pt,colorDangerItemTextSelected:pt,dangerItemSelectedColor:pt,colorDangerItemBgActive:Xt,dangerItemActiveBg:Xt,colorDangerItemBgSelected:Xt,dangerItemSelectedBg:Xt,itemMarginInline:Rt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ir,groupTitleLineHeight:tn,collapsedWidth:Ir*2,popupBg:Pr,itemMarginBlock:x,itemPaddingInline:F,horizontalLineHeight:`${Ir*1.15}px`,iconSize:wt,iconMarginInlineEnd:oe-wt,collapsedIconSize:Be,groupTitleFontSize:wt,darkItemDisabledColor:new Pe.FastColor(kr).setA(.25).toRgbString(),darkItemColor:Sr,darkDangerItemColor:pt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:kr,darkItemSelectedBg:Ye,darkDangerItemSelectedBg:pt,darkItemHoverBg:"transparent",darkGroupTitleColor:Sr,darkItemHoverColor:kr,darkDangerItemHoverColor:Br,darkDangerItemSelectedColor:kr,darkDangerItemActiveBg:pt,itemWidth:wn?`calc(100% + ${Fn}px)`:`calc(100% - ${Rt*2}px)`}};var dt=function(me){let Oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,xe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,J.I$)("Menu",Ye=>{const{colorBgElevated:pt,controlHeightLG:$t,fontSize:Xt,darkItemColor:Ut,darkDangerItemColor:Dt,darkItemBg:at,darkSubMenuItemBg:yt,darkItemSelectedColor:xt,darkItemSelectedBg:ht,darkDangerItemSelectedBg:tr,darkItemHoverBg:mr,darkGroupTitleColor:hr,darkItemHoverColor:Ir,darkItemDisabledColor:tn,darkDangerItemHoverColor:Pr,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:F,popupBg:wt,darkPopupBg:oe}=Ye,Be=Ye.calc(Xt).div(7).mul(5).equal(),kr=(0,we.mergeToken)(Ye,{menuArrowSize:Be,menuHorizontalHeight:Ye.calc($t).mul(1.15).equal(),menuArrowOffset:Ye.calc(Be).mul(.25).equal(),menuSubMenuBg:pt,calc:Ye.calc,popupBg:wt}),Br=(0,we.mergeToken)(kr,{itemColor:Ut,itemHoverColor:Ir,groupTitleColor:hr,itemSelectedColor:xt,subMenuItemSelectedColor:xt,itemBg:at,popupBg:oe,subMenuItemBg:yt,itemActiveBg:"transparent",itemSelectedBg:ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:mr,itemDisabledColor:tn,dangerItemColor:Dt,dangerItemHoverColor:Pr,dangerItemSelectedColor:x,dangerItemActiveBg:F,dangerItemSelectedBg:tr,menuSubMenuBg:yt,horizontalItemSelectedColor:xt,horizontalItemSelectedBg:ht});return[Ze(kr),I(kr),re(kr),ae(kr,"light"),ae(Br,"dark"),ue(kr),(0,He.Z)(kr),(0,Ce.oN)(kr,"slide-up"),(0,Ce.oN)(kr,"slide-down"),(0,be._y)(kr,"zoom-big")]},st,{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:xe,unitless:{groupTitleLineHeight:!0}})(me,Oe)},he=n(75030),At=me=>{var Oe;const{popupClassName:xe,icon:Ne,title:Ye,theme:pt}=me,$t=o.useContext(z),{prefixCls:Xt,inlineCollapsed:Ut,theme:Dt}=$t,at=(0,Xe.Xl)();let yt;if(!Ne)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 tr=o.isValidElement(Ye)&&Ye.type==="span";yt=o.createElement(o.Fragment,null,(0,c.Tm)(Ne,{className:Q()(o.isValidElement(Ne)?(Oe=Ne.props)===null||Oe===void 0?void 0:Oe.className:"",`${Xt}-item-icon`)}),tr?Ye:o.createElement("span",{className:`${Xt}-title-content`},Ye))}const xt=o.useMemo(()=>Object.assign(Object.assign({},$t),{firstLevel:!1}),[$t]),[ht]=(0,he.Cn)("Menu");return o.createElement(z.Provider,{value:xt},o.createElement(Xe.Wd,Object.assign({},(0,y.Z)(me,["icon"]),{title:yt,popupClassName:Q()(Xt,xe,`${Xt}-${pt||Dt}`),popupStyle:Object.assign({zIndex:ht},me.popupStyle)})))},Fe=function(me,Oe){var xe={};for(var Ne in me)Object.prototype.hasOwnProperty.call(me,Ne)&&Oe.indexOf(Ne)<0&&(xe[Ne]=me[Ne]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ye=0,Ne=Object.getOwnPropertySymbols(me);Ye<Ne.length;Ye++)Oe.indexOf(Ne[Ye])<0&&Object.prototype.propertyIsEnumerable.call(me,Ne[Ye])&&(xe[Ne[Ye]]=me[Ne[Ye]]);return xe};function Re(me){return me===null||me===!1}const N={item:X,submenu:At,divider:D};var ve=(0,o.forwardRef)((me,Oe)=>{var xe;const Ne=o.useContext(q.Z),Ye=Ne||{},{getPrefixCls:pt,getPopupContainer:$t,direction:Xt,menu:Ut}=o.useContext(T.E_),Dt=pt(),{prefixCls:at,className:yt,style:xt,theme:ht="light",expandIcon:tr,_internalDisableMenuItemTitleTooltip:mr,inlineCollapsed:hr,siderCollapsed:Ir,rootClassName:tn,mode:Pr,selectable:x,onClick:F,overflowedIndicatorPopupClassName:wt}=me,oe=Fe(me,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Be=(0,y.Z)(oe,["collapsedWidth"]);(xe=Ye.validator)===null||xe===void 0||xe.call(Ye,{mode:Pr});const kr=(0,_.Z)(function(){var Zr;F==null||F.apply(void 0,arguments),(Zr=Ye.onClick)===null||Zr===void 0||Zr.call(Ye)}),Br=Ye.mode||Pr,wn=x!=null?x:Ye.selectable,Fn=hr!=null?hr:Ir,Rt={horizontal:{motionName:`${Dt}-slide-up`},inline:(0,U.Z)(Dt),other:{motionName:`${Dt}-zoom-big`}},Sr=pt("menu",at||Ye.prefixCls),sr=(0,k.Z)(Sr),[S,v,Gt]=dt(Sr,sr,!Ne),$=Q()(`${Sr}-${ht}`,Ut==null?void 0:Ut.className,yt),Ae=o.useMemo(()=>{var Zr,Ht;if(typeof tr=="function"||Re(tr))return tr||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 Vt=(Zr=tr!=null?tr:Ye==null?void 0:Ye.expandIcon)!==null&&Zr!==void 0?Zr:Ut==null?void 0:Ut.expandIcon;return(0,c.Tm)(Vt,{className:Q()(`${Sr}-submenu-expand-icon`,o.isValidElement(Vt)?(Ht=Vt.props)===null||Ht===void 0?void 0:Ht.className:void 0)})},[tr,Ye==null?void 0:Ye.expandIcon,Ut==null?void 0:Ut.expandIcon,Sr]),Cn=o.useMemo(()=>({prefixCls:Sr,inlineCollapsed:Fn||!1,direction:Xt,firstLevel:!0,theme:ht,mode:Br,disableMenuItemTitleTooltip:mr}),[Sr,Fn,Xt,mr,ht]);return S(o.createElement(q.Z.Provider,{value:null},o.createElement(z.Provider,{value:Cn},o.createElement(Xe.ZP,Object.assign({getPopupContainer:$t,overflowedIndicator:o.createElement(ze.Z,null),overflowedIndicatorPopupClassName:Q()(Sr,`${Sr}-${ht}`,wt),mode:Br,selectable:wn,onClick:kr},Be,{inlineCollapsed:Fn,style:Object.assign(Object.assign({},Ut==null?void 0:Ut.style),xt),className:$,prefixCls:Sr,direction:Xt,defaultMotions:Rt,expandIcon:Ae,ref:Oe,rootClassName:Q()(tn,v,Ye.rootClassName,Gt,sr),_internalComponents:N})))))});const de=(0,o.forwardRef)((me,Oe)=>{const xe=(0,o.useRef)(null),Ne=o.useContext(L.D);return(0,o.useImperativeHandle)(Oe,()=>({menu:xe.current,focus:Ye=>{var pt;(pt=xe.current)===null||pt===void 0||pt.focus(Ye)}})),o.createElement(ve,Object.assign({ref:xe},me,Ne))});de.Item=X,de.SubMenu=At,de.Divider=D,de.ItemGroup=Xe.BW;var fe=de},13747:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return dt}});var o=n(59301),Xe=n(54476),L={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"},ze=L,Y=n(7657),Q=function(Le,At){return o.createElement(Y.Z,(0,Xe.Z)({},Le,{ref:At,icon:ze}))},_=o.forwardRef(Q),y=_,U=n(49198),c=n(33853),T=n(38819),k=n(92310),V=n.n(k),z=n(23425),K=n(61852),O=n(48755),D=n(31756),w=n(13783),E=n(9017),ie=n(82326),X=n(57700),q=n(36237),Ee=n(53075),Pe=n(64910),et=n(39082),He=n(63356),Ce=n(51636),be=n(16931);const J=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"}}}}}},we=he=>{const{componentCls:Le}=he;return{[`&${Le}-mini ${Le}-total-text, &${Le}-mini ${Le}-simple-pager`]:{height:he.itemSizeSM,lineHeight:(0,q.unit)(he.itemSizeSM)},[`&${Le}-mini ${Le}-item`]:{minWidth:he.itemSizeSM,height:he.itemSizeSM,margin:0,lineHeight:(0,q.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,q.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,q.unit)(he.itemSizeSM)}},[`&${Le}-mini ${Le}-jump-prev, &${Le}-mini ${Le}-jump-next`]:{height:he.itemSizeSM,marginInlineEnd:0,lineHeight:(0,q.unit)(he.itemSizeSM)},[`&${Le}-mini ${Le}-options`]:{marginInlineStart:he.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:he.miniOptionsSizeChangerTop},"&-quick-jumper":{height:he.itemSizeSM,lineHeight:(0,q.unit)(he.itemSizeSM),input:Object.assign(Object.assign({},(0,Ee.x0)(he)),{width:he.paginationMiniQuickJumperInputWidth,height:he.controlHeightSM})}}}},M=he=>{const{componentCls:Le}=he;return{[`
|
|
|
&${Le}-simple ${Le}-prev,
|
|
|
&${Le}-simple ${Le}-next
|
|
|
`]:{height:he.itemSizeSM,lineHeight:(0,q.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,q.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,q.unit)(he.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:he.itemInputBg,border:`${(0,q.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,q.unit)(he.inputOutlineOffset)} 0 ${(0,q.unit)(he.controlOutlineWidth)} ${he.controlOutline}`},"&[disabled]":{color:he.colorTextDisabled,backgroundColor:he.colorBgContainerDisabled,borderColor:he.colorBorder,cursor:"not-allowed"}}}}},I=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,q.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,q.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,q.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})}}}},rt=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,q.unit)(he.calc(he.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:he.itemBg,border:`${(0,q.unit)(he.lineWidth)} ${he.lineType} transparent`,borderRadius:he.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,q.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}}}}},ue=he=>{const{componentCls:Le}=he;return{[Le]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,He.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,q.unit)(he.calc(he.itemSize).sub(2).equal()),verticalAlign:"middle"}}),rt(he)),I(he)),M(he)),we(he)),J(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"}}},le=he=>{const{componentCls:Le}=he;return{[`${Le}:not(${Le}-disabled)`]:{[`${Le}-item`]:Object.assign({},(0,He.Qy)(he)),[`${Le}-jump-prev, ${Le}-jump-next`]:{"&:focus-visible":Object.assign({[`${Le}-item-link-icon`]:{opacity:1},[`${Le}-item-ellipsis`]:{opacity:0}},(0,He.oN)(he))},[`${Le}-prev, ${Le}-next`]:{[`&:focus-visible ${Le}-item-link`]:Object.assign({},(0,He.oN)(he))}}}},B=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)),ae=he=>(0,Ce.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 W=(0,be.I$)("Pagination",he=>{const Le=ae(he);return[ue(Le),le(Le)]},B);const A=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,q.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 re=(0,be.bk)(["Pagination","bordered"],he=>{const Le=ae(he);return[A(Le)]},B);function Ve(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 At={};for(var Fe in he)Object.prototype.hasOwnProperty.call(he,Fe)&&Le.indexOf(Fe)<0&&(At[Fe]=he[Fe]);if(he!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Fe=Object.getOwnPropertySymbols(he);Re<Fe.length;Re++)Le.indexOf(Fe[Re])<0&&Object.prototype.propertyIsEnumerable.call(he,Fe[Re])&&(At[Fe[Re]]=he[Fe[Re]]);return At},st=he=>{const{align:Le,prefixCls:At,selectPrefixCls:Fe,className:Re,rootClassName:N,style:_e,size:ve,locale:de,responsive:fe,showSizeChanger:me,selectComponentClass:Oe,pageSizeOptions:xe}=he,Ne=pe(he,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:Ye}=(0,w.Z)(fe),[,pt]=(0,X.ZP)(),{getPrefixCls:$t,direction:Xt,showSizeChanger:Ut,className:Dt,style:at}=(0,O.dj)("pagination"),yt=$t("pagination",At),[xt,ht,tr]=W(yt),mr=(0,D.Z)(ve),hr=mr==="small"||!!(Ye&&!mr&&fe),[Ir]=(0,E.Z)("Pagination",K.Z),tn=Object.assign(Object.assign({},Ir),de),[Pr,x]=Ve(me),[F,wt]=Ve(Ut),oe=Pr!=null?Pr:F,Be=x!=null?x:wt,kr=Oe||ie.default,Br=o.useMemo(()=>xe?xe.map(S=>Number(S)):void 0,[xe]),wn=S=>{var v;const{disabled:Gt,size:$,onSizeChange:Ae,"aria-label":Cn,className:Zr,options:Ht}=S,{className:Vt,onChange:br}=Be||{},Kr=(v=Ht.find(an=>String(an.value)===String($)))===null||v===void 0?void 0:v.value;return o.createElement(kr,Object.assign({disabled:Gt,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:an=>an.parentNode,"aria-label":Cn,options:Ht},Be,{value:Kr,onChange:(an,An)=>{Ae==null||Ae(an),br==null||br(an,An)},size:hr?"small":"middle",className:V()(Zr,Vt)}))},Fn=o.useMemo(()=>{const S=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(T.Z,null):o.createElement(c.Z,null)),Gt=o.createElement("button",{className:`${yt}-item-link`,type:"button",tabIndex:-1},Xt==="rtl"?o.createElement(c.Z,null):o.createElement(T.Z,null)),$=o.createElement("a",{className:`${yt}-item-link`},o.createElement("div",{className:`${yt}-item-container`},Xt==="rtl"?o.createElement(U.Z,{className:`${yt}-item-link-icon`}):o.createElement(y,{className:`${yt}-item-link-icon`}),S)),Ae=o.createElement("a",{className:`${yt}-item-link`},o.createElement("div",{className:`${yt}-item-container`},Xt==="rtl"?o.createElement(y,{className:`${yt}-item-link-icon`}):o.createElement(U.Z,{className:`${yt}-item-link-icon`}),S));return{prevIcon:v,nextIcon:Gt,jumpPrevIcon:$,jumpNextIcon:Ae}},[Xt,yt]),Rt=$t("select",Fe),Sr=V()({[`${yt}-${Le}`]:!!Le,[`${yt}-mini`]:hr,[`${yt}-rtl`]:Xt==="rtl",[`${yt}-bordered`]:pt.wireframe},Dt,Re,N,ht,tr),sr=Object.assign(Object.assign({},at),_e);return xt(o.createElement(o.Fragment,null,pt.wireframe&&o.createElement(re,{prefixCls:yt}),o.createElement(z.Z,Object.assign({},Fn,Ne,{style:sr,prefixCls:yt,selectPrefixCls:Rt,className:Sr,locale:tn,pageSizeOptions:Br,showSizeChanger:oe,sizeChangerRender:wn}))))},dt=st},93725:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ce}});var o=n(59301),Xe=n(96512),L=n(92310),ze=n.n(L),Y=n(18929),Q=n(2738),_=n(48755),y=n(37639),U=n(15565),c=n(54500),T=n(99571),k=n(61670),V=n(9017),z=n(85981),K=n(69106),O=n(16931);const D=be=>{const{componentCls:J,iconCls:we,antCls:M,zIndexPopup:I,colorText:rt,colorWarning:ue,marginXXS:le,marginXS:B,fontSize:ae,fontWeightStrong:W,colorTextHeading:A}=be;return{[J]:{zIndex:I,[`&${M}-popover`]:{fontSize:ae},[`${J}-message`]:{marginBottom:B,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${J}-message-icon ${we}`]:{color:ue,fontSize:ae,lineHeight:1,marginInlineEnd:B},[`${J}-title`]:{fontWeight:W,color:A,"&:only-child":{fontWeight:"normal"}},[`${J}-description`]:{marginTop:le,color:rt}},[`${J}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:B}}}}},w=be=>{const{zIndexPopupBase:J}=be;return{zIndexPopup:J+60}};var E=(0,O.I$)("Popconfirm",be=>D(be),w,{resetStyle:!1}),ie=function(be,J){var we={};for(var M in be)Object.prototype.hasOwnProperty.call(be,M)&&J.indexOf(M)<0&&(we[M]=be[M]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,M=Object.getOwnPropertySymbols(be);I<M.length;I++)J.indexOf(M[I])<0&&Object.prototype.propertyIsEnumerable.call(be,M[I])&&(we[M[I]]=be[M[I]]);return we};const X=be=>{const{prefixCls:J,okButtonProps:we,cancelButtonProps:M,title:I,description:rt,cancelText:ue,okText:le,okType:B="primary",icon:ae=o.createElement(Xe.Z,null),showCancel:W=!0,close:A,onConfirm:re,onCancel:Ve,onPopupClick:pe}=be,{getPrefixCls:Ze}=o.useContext(_.E_),[st]=(0,V.Z)("Popconfirm",z.Z.Popconfirm),dt=(0,c.Z)(I),he=(0,c.Z)(rt);return o.createElement("div",{className:`${J}-inner-content`,onClick:pe},o.createElement("div",{className:`${J}-message`},ae&&o.createElement("span",{className:`${J}-message-icon`},ae),o.createElement("div",{className:`${J}-message-text`},dt&&o.createElement("div",{className:`${J}-title`},dt),he&&o.createElement("div",{className:`${J}-description`},he))),o.createElement("div",{className:`${J}-buttons`},W&&o.createElement(T.ZP,Object.assign({onClick:Ve,size:"small"},M),ue||(st==null?void 0:st.cancelText)),o.createElement(U.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,k.nx)(B)),we),actionFn:re,close:A,prefixCls:Ze("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},le||(st==null?void 0:st.okText))))};var Ee=be=>{const{prefixCls:J,placement:we,className:M,style:I}=be,rt=ie(be,["prefixCls","placement","className","style"]),{getPrefixCls:ue}=o.useContext(_.E_),le=ue("popconfirm",J),[B]=E(le);return B(o.createElement(K.ZP,{placement:we,className:ze()(le,M),style:I,content:o.createElement(X,Object.assign({prefixCls:le},rt))}))},Pe=function(be,J){var we={};for(var M in be)Object.prototype.hasOwnProperty.call(be,M)&&J.indexOf(M)<0&&(we[M]=be[M]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,M=Object.getOwnPropertySymbols(be);I<M.length;I++)J.indexOf(M[I])<0&&Object.prototype.propertyIsEnumerable.call(be,M[I])&&(we[M[I]]=be[M[I]]);return we};const He=o.forwardRef((be,J)=>{var we,M;const{prefixCls:I,placement:rt="top",trigger:ue="click",okType:le="primary",icon:B=o.createElement(Xe.Z,null),children:ae,overlayClassName:W,onOpenChange:A,onVisibleChange:re,overlayStyle:Ve,styles:pe,classNames:Ze}=be,st=Pe(be,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:dt,className:he,style:Le,classNames:At,styles:Fe}=(0,_.dj)("popconfirm"),[Re,N]=(0,Y.Z)(!1,{value:(we=be.open)!==null&&we!==void 0?we:be.visible,defaultValue:(M=be.defaultOpen)!==null&&M!==void 0?M:be.defaultVisible}),_e=(pt,$t)=>{N(pt,!0),re==null||re(pt),A==null||A(pt,$t)},ve=pt=>{_e(!1,pt)},de=pt=>{var $t;return($t=be.onConfirm)===null||$t===void 0?void 0:$t.call(void 0,pt)},fe=pt=>{var $t;_e(!1,pt),($t=be.onCancel)===null||$t===void 0||$t.call(void 0,pt)},me=(pt,$t)=>{const{disabled:Xt=!1}=be;Xt||_e(pt,$t)},Oe=dt("popconfirm",I),xe=ze()(Oe,he,W,At.root,Ze==null?void 0:Ze.root),Ne=ze()(At.body,Ze==null?void 0:Ze.body),[Ye]=E(Oe);return Ye(o.createElement(y.Z,Object.assign({},(0,Q.Z)(st,["title"]),{trigger:ue,placement:rt,onOpenChange:me,open:Re,ref:J,classNames:{root:xe,body:Ne},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},Fe.root),Le),Ve),pe==null?void 0:pe.root),body:Object.assign(Object.assign({},Fe.body),pe==null?void 0:pe.body)},content:o.createElement(X,Object.assign({okType:le,icon:B},be,{prefixCls:Oe,close:ve,onConfirm:de,onCancel:fe})),"data-popover-inject":!0}),ae))});He._InternalPanelDoNotUseOrYouWillBeFired=Ee;var Ce=He},69106:function(qr,_t,n){"use strict";n.d(_t,{aV:function(){return U},t5:function(){return c}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(29125),Y=n(54500),Q=n(48755),_=n(85074),y=function(k,V){var z={};for(var K in k)Object.prototype.hasOwnProperty.call(k,K)&&V.indexOf(K)<0&&(z[K]=k[K]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,K=Object.getOwnPropertySymbols(k);O<K.length;O++)V.indexOf(K[O])<0&&Object.prototype.propertyIsEnumerable.call(k,K[O])&&(z[K[O]]=k[K[O]]);return z};const U=k=>{let{title:V,content:z,prefixCls:K}=k;return!V&&!z?null:o.createElement(o.Fragment,null,V&&o.createElement("div",{className:`${K}-title`},V),z&&o.createElement("div",{className:`${K}-inner-content`},z))},c=k=>{const{hashId:V,prefixCls:z,className:K,style:O,placement:D="top",title:w,content:E,children:ie}=k,X=(0,Y.Z)(w),q=(0,Y.Z)(E),Ee=L()(V,z,`${z}-pure`,`${z}-placement-${D}`,K);return o.createElement("div",{className:Ee,style:O},o.createElement("div",{className:`${z}-arrow`}),o.createElement(ze.G,Object.assign({},k,{className:V,prefixCls:z}),ie||o.createElement(U,{prefixCls:z,title:X,content:q})))},T=k=>{const{prefixCls:V,className:z}=k,K=y(k,["prefixCls","className"]),{getPrefixCls:O}=o.useContext(Q.E_),D=O("popover",V),[w,E,ie]=(0,_.Z)(D);return w(o.createElement(c,Object.assign({},K,{prefixCls:D,hashId:E,className:L()(z,ie)})))};_t.ZP=T},37639:function(qr,_t,n){"use strict";var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(18929),Y=n(10228),Q=n(54500),_=n(86641),y=n(22703),U=n(25399),c=n(69106),T=n(48755),k=n(85074),V=function(O,D){var w={};for(var E in O)Object.prototype.hasOwnProperty.call(O,E)&&D.indexOf(E)<0&&(w[E]=O[E]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,E=Object.getOwnPropertySymbols(O);ie<E.length;ie++)D.indexOf(E[ie])<0&&Object.prototype.propertyIsEnumerable.call(O,E[ie])&&(w[E[ie]]=O[E[ie]]);return w};const K=o.forwardRef((O,D)=>{var w,E;const{prefixCls:ie,title:X,content:q,overlayClassName:Ee,placement:Pe="top",trigger:et="hover",children:He,mouseEnterDelay:Ce=.1,mouseLeaveDelay:be=.1,onOpenChange:J,overlayStyle:we={},styles:M,classNames:I}=O,rt=V(O,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:ue,className:le,style:B,classNames:ae,styles:W}=(0,T.dj)("popover"),A=ue("popover",ie),[re,Ve,pe]=(0,k.Z)(A),Ze=ue(),st=L()(Ee,Ve,pe,le,ae.root,I==null?void 0:I.root),dt=L()(ae.body,I==null?void 0:I.body),[he,Le]=(0,ze.Z)(!1,{value:(w=O.open)!==null&&w!==void 0?w:O.visible,defaultValue:(E=O.defaultOpen)!==null&&E!==void 0?E:O.defaultVisible}),At=(ve,de)=>{Le(ve,!0),J==null||J(ve,de)},Fe=ve=>{ve.keyCode===Y.Z.ESC&&At(!1,ve)},Re=ve=>{At(ve)},N=(0,Q.Z)(X),_e=(0,Q.Z)(q);return re(o.createElement(U.Z,Object.assign({placement:Pe,trigger:et,mouseEnterDelay:Ce,mouseLeaveDelay:be},rt,{prefixCls:A,classNames:{root:st,body:dt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},W.root),B),we),M==null?void 0:M.root),body:Object.assign(Object.assign({},W.body),M==null?void 0:M.body)},ref:D,open:he,onOpenChange:Re,overlay:N||_e?o.createElement(c.aV,{prefixCls:A,title:N,content:_e}):null,transitionName:(0,_.m)(Ze,"zoom-big",rt.transitionName),"data-popover-inject":!0}),(0,y.Tm)(He,{onKeyDown:ve=>{var de,fe;o.isValidElement(He)&&((fe=He==null?void 0:(de=He.props).onKeyDown)===null||fe===void 0||fe.call(de,ve)),Fe(ve)}})))});K._InternalPanelDoNotUseOrYouWillBeFired=c.ZP,_t.Z=K},85074:function(qr,_t,n){"use strict";var o=n(63356),Xe=n(34925),L=n(37645),ze=n(36305),Y=n(34998),Q=n(16931),_=n(51636);const y=T=>{const{componentCls:k,popoverColor:V,titleMinWidth:z,fontWeightStrong:K,innerPadding:O,boxShadowSecondary:D,colorTextHeading:w,borderRadiusLG:E,zIndexPopup:ie,titleMarginBottom:X,colorBgElevated:q,popoverBg:Ee,titleBorderBottom:Pe,innerContentPadding:et,titlePadding:He}=T;return[{[k]:Object.assign(Object.assign({},(0,o.Wf)(T)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ie,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":q,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${k}-content`]:{position:"relative"},[`${k}-inner`]:{backgroundColor:Ee,backgroundClip:"padding-box",borderRadius:E,boxShadow:D,padding:O},[`${k}-title`]:{minWidth:z,marginBottom:X,color:w,fontWeight:K,borderBottom:Pe,padding:He},[`${k}-inner-content`]:{color:V,padding:et}})},(0,L.ZP)(T,"var(--antd-arrow-background-color)"),{[`${k}-pure`]:{position:"relative",maxWidth:"none",margin:T.sizePopupArrow,display:"inline-block",[`${k}-content`]:{display:"inline-block"}}}]},U=T=>{const{componentCls:k}=T;return{[k]:Y.i.map(V=>{const z=T[`${V}6`];return{[`&${k}-${V}`]:{"--antd-arrow-background-color":z,[`${k}-inner`]:{backgroundColor:z},[`${k}-arrow`]:{background:"transparent"}}}})}},c=T=>{const{lineWidth:k,controlHeight:V,fontHeight:z,padding:K,wireframe:O,zIndexPopupBase:D,borderRadiusLG:w,marginXS:E,lineType:ie,colorSplit:X,paddingSM:q}=T,Ee=V-z,Pe=Ee/2,et=Ee/2-k,He=K;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:D+30},(0,ze.w)(T)),(0,L.wZ)({contentRadius:w,limitVerticalRadius:!0})),{innerPadding:O?0:12,titleMarginBottom:O?0:E,titlePadding:O?`${Pe}px ${He}px ${et}px`:0,titleBorderBottom:O?`${k}px ${ie} ${X}`:"none",innerContentPadding:O?`${q}px ${He}px`:0})};_t.Z=(0,Q.I$)("Popover",T=>{const{colorBgElevated:k,colorText:V}=T,z=(0,_.mergeToken)(T,{popoverBg:k,popoverColor:V});return[y(z),U(z),(0,Xe._y)(z,"zoom-big")]},c,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return At}});var o=n(59301),Xe=n(17835),L=n(29679),ze=n(40001),Y=n(19248),Q=n(99267),_=n(92310),y=n.n(_),U=n(2738),c=n(48755),T=n(25930),k=n(25399),V=n(68361);function z(Fe){return!Fe||Fe<0?0:Fe>100?100:Fe}function K(Fe){let{success:Re,successPercent:N}=Fe,_e=N;return Re&&"progress"in Re&&(_e=Re.progress),Re&&"percent"in Re&&(_e=Re.percent),_e}const O=Fe=>{let{percent:Re,success:N,successPercent:_e}=Fe;const ve=z(K({success:N,successPercent:_e}));return[ve,z(z(Re)-ve)]},D=Fe=>{let{success:Re={},strokeColor:N}=Fe;const{strokeColor:_e}=Re;return[_e||V.presetPrimaryColors.green,N||null]},w=(Fe,Re,N)=>{var _e,ve,de,fe;let me=-1,Oe=-1;if(Re==="step"){const xe=N.steps,Ne=N.strokeWidth;typeof Fe=="string"||typeof Fe=="undefined"?(me=Fe==="small"?2:14,Oe=Ne!=null?Ne:8):typeof Fe=="number"?[me,Oe]=[Fe,Fe]:[me=14,Oe=8]=Array.isArray(Fe)?Fe:[Fe.width,Fe.height],me*=xe}else if(Re==="line"){const xe=N==null?void 0:N.strokeWidth;typeof Fe=="string"||typeof Fe=="undefined"?Oe=xe||(Fe==="small"?6:8):typeof Fe=="number"?[me,Oe]=[Fe,Fe]:[me=-1,Oe=8]=Array.isArray(Fe)?Fe:[Fe.width,Fe.height]}else(Re==="circle"||Re==="dashboard")&&(typeof Fe=="string"||typeof Fe=="undefined"?[me,Oe]=Fe==="small"?[60,60]:[120,120]:typeof Fe=="number"?[me,Oe]=[Fe,Fe]:Array.isArray(Fe)&&(me=(ve=(_e=Fe[0])!==null&&_e!==void 0?_e:Fe[1])!==null&&ve!==void 0?ve:120,Oe=(fe=(de=Fe[0])!==null&&de!==void 0?de:Fe[1])!==null&&fe!==void 0?fe:120));return[me,Oe]},E=3,ie=Fe=>E/Fe*100;var q=Fe=>{const{prefixCls:Re,trailColor:N=null,strokeLinecap:_e="round",gapPosition:ve,gapDegree:de,width:fe=120,type:me,children:Oe,success:xe,size:Ne=fe,steps:Ye}=Fe,[pt,$t]=w(Ne,"circle");let{strokeWidth:Xt}=Fe;Xt===void 0&&(Xt=Math.max(ie(pt),6));const Ut={width:pt,height:$t,fontSize:pt*.15+6},Dt=o.useMemo(()=>{if(de||de===0)return de;if(me==="dashboard")return 75},[de,me]),at=O(Fe),yt=ve||me==="dashboard"&&"bottom"||void 0,xt=Object.prototype.toString.call(Fe.strokeColor)==="[object Object]",ht=D({success:xe,strokeColor:Fe.strokeColor}),tr=y()(`${Re}-inner`,{[`${Re}-circle-gradient`]:xt}),mr=o.createElement(T.Cd,{steps:Ye,percent:Ye?at[1]:at,strokeWidth:Xt,trailWidth:Xt,strokeColor:Ye?ht[1]:ht,strokeLinecap:_e,trailColor:N,prefixCls:Re,gapDegree:Dt,gapPosition:yt}),hr=pt<=20,Ir=o.createElement("div",{className:tr,style:Ut},mr,!hr&&Oe);return hr?o.createElement(k.Z,{title:Oe},Ir):Ir},Ee=n(36237),Pe=n(63356),et=n(16931),He=n(51636);const Ce="--progress-line-stroke-color",be="--progress-percent",J=Fe=>{const Re=Fe?"100%":"-100%";return new Ee.Keyframes(`antProgress${Fe?"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}})},we=Fe=>{const{componentCls:Re,iconCls:N}=Fe;return{[Re]:Object.assign(Object.assign({},(0,Pe.Wf)(Fe)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Fe.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:Fe.remainingColor,borderRadius:Fe.lineBorderRadius},[`${Re}-inner:not(${Re}-circle-gradient)`]:{[`${Re}-circle-path`]:{stroke:Fe.defaultColor}},[`${Re}-success-bg, ${Re}-bg`]:{position:"relative",background:Fe.defaultColor,borderRadius:Fe.lineBorderRadius,transition:`all ${Fe.motionDurationSlow} ${Fe.motionEaseInOutCirc}`},[`${Re}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Re}-text`]:{width:"max-content",marginInlineStart:0,marginTop:Fe.marginXXS}},[`${Re}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${Ce})`]},height:"100%",width:`calc(1 / var(${be}) * 100%)`,display:"block"},[`&${Re}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Re}-text-inner`]:{color:Fe.colorWhite,[`&${Re}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Re}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Fe.colorSuccess},[`${Re}-text`]:{display:"inline-block",marginInlineStart:Fe.marginXS,color:Fe.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[N]:{fontSize:Fe.fontSize},[`&${Re}-text-outer`]:{width:"max-content"},[`&${Re}-text-outer${Re}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:Fe.marginXS}},[`${Re}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,Ee.unit)(Fe.paddingXXS)}`,[`&${Re}-text-start`]:{justifyContent:"start"},[`&${Re}-text-end`]:{justifyContent:"end"}},[`&${Re}-status-active`]:{[`${Re}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Fe.colorBgContainer,borderRadius:Fe.lineBorderRadius,opacity:0,animationName:J(),animationDuration:Fe.progressActiveMotionDuration,animationTimingFunction:Fe.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Re}-rtl${Re}-status-active`]:{[`${Re}-bg::before`]:{animationName:J(!0)}},[`&${Re}-status-exception`]:{[`${Re}-bg`]:{backgroundColor:Fe.colorError},[`${Re}-text`]:{color:Fe.colorError}},[`&${Re}-status-exception ${Re}-inner:not(${Re}-circle-gradient)`]:{[`${Re}-circle-path`]:{stroke:Fe.colorError}},[`&${Re}-status-success`]:{[`${Re}-bg`]:{backgroundColor:Fe.colorSuccess},[`${Re}-text`]:{color:Fe.colorSuccess}},[`&${Re}-status-success ${Re}-inner:not(${Re}-circle-gradient)`]:{[`${Re}-circle-path`]:{stroke:Fe.colorSuccess}}})}},M=Fe=>{const{componentCls:Re,iconCls:N}=Fe;return{[Re]:{[`${Re}-circle-trail`]:{stroke:Fe.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:Fe.circleTextColor,fontSize:Fe.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[N]:{fontSize:Fe.circleIconFontSize}},[`${Re}-circle&-status-exception`]:{[`${Re}-text`]:{color:Fe.colorError}},[`${Re}-circle&-status-success`]:{[`${Re}-text`]:{color:Fe.colorSuccess}}},[`${Re}-inline-circle`]:{lineHeight:1,[`${Re}-inner`]:{verticalAlign:"bottom"}}}},I=Fe=>{const{componentCls:Re}=Fe;return{[Re]:{[`${Re}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Fe.progressStepMinWidth,marginInlineEnd:Fe.progressStepMarginInlineEnd,backgroundColor:Fe.remainingColor,transition:`all ${Fe.motionDurationSlow}`,"&-active":{backgroundColor:Fe.defaultColor}}}}}},rt=Fe=>{const{componentCls:Re,iconCls:N}=Fe;return{[Re]:{[`${Re}-small&-line, ${Re}-small&-line ${Re}-text ${N}`]:{fontSize:Fe.fontSizeSM}}}},ue=Fe=>({circleTextColor:Fe.colorText,defaultColor:Fe.colorInfo,remainingColor:Fe.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${Fe.fontSize/Fe.fontSizeSM}em`});var le=(0,et.I$)("Progress",Fe=>{const Re=Fe.calc(Fe.marginXXS).div(2).equal(),N=(0,He.mergeToken)(Fe,{progressStepMarginInlineEnd:Re,progressStepMinWidth:Re,progressActiveMotionDuration:"2.4s"});return[we(N),M(N),I(N),rt(N)]},ue),B=function(Fe,Re){var N={};for(var _e in Fe)Object.prototype.hasOwnProperty.call(Fe,_e)&&Re.indexOf(_e)<0&&(N[_e]=Fe[_e]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,_e=Object.getOwnPropertySymbols(Fe);ve<_e.length;ve++)Re.indexOf(_e[ve])<0&&Object.prototype.propertyIsEnumerable.call(Fe,_e[ve])&&(N[_e[ve]]=Fe[_e[ve]]);return N};const ae=Fe=>{let Re=[];return Object.keys(Fe).forEach(N=>{const _e=parseFloat(N.replace(/%/g,""));Number.isNaN(_e)||Re.push({key:_e,value:Fe[N]})}),Re=Re.sort((N,_e)=>N.key-_e.key),Re.map(N=>{let{key:_e,value:ve}=N;return`${ve} ${_e}%`}).join(", ")},W=(Fe,Re)=>{const{from:N=V.presetPrimaryColors.blue,to:_e=V.presetPrimaryColors.blue,direction:ve=Re==="rtl"?"to left":"to right"}=Fe,de=B(Fe,["from","to","direction"]);if(Object.keys(de).length!==0){const me=ae(de),Oe=`linear-gradient(${ve}, ${me})`;return{background:Oe,[Ce]:Oe}}const fe=`linear-gradient(${ve}, ${N}, ${_e})`;return{background:fe,[Ce]:fe}};var re=Fe=>{const{prefixCls:Re,direction:N,percent:_e,size:ve,strokeWidth:de,strokeColor:fe,strokeLinecap:me="round",children:Oe,trailColor:xe=null,percentPosition:Ne,success:Ye}=Fe,{align:pt,type:$t}=Ne,Xt=fe&&typeof fe!="string"?W(fe,N):{[Ce]:fe,background:fe},Ut=me==="square"||me==="butt"?0:void 0,Dt=ve!=null?ve:[-1,de||(ve==="small"?6:8)],[at,yt]=w(Dt,"line",{strokeWidth:de}),xt={backgroundColor:xe||void 0,borderRadius:Ut},ht=Object.assign(Object.assign({width:`${z(_e)}%`,height:yt,borderRadius:Ut},Xt),{[be]:z(_e)/100}),tr=K(Fe),mr={width:`${z(tr)}%`,height:yt,borderRadius:Ut,backgroundColor:Ye==null?void 0:Ye.strokeColor},hr={width:at<0?"100%":at},Ir=o.createElement("div",{className:`${Re}-inner`,style:xt},o.createElement("div",{className:y()(`${Re}-bg`,`${Re}-bg-${$t}`),style:ht},$t==="inner"&&Oe),tr!==void 0&&o.createElement("div",{className:`${Re}-success-bg`,style:mr})),tn=$t==="outer"&&pt==="start",Pr=$t==="outer"&&pt==="end";return $t==="outer"&&pt==="center"?o.createElement("div",{className:`${Re}-layout-bottom`},Ir,Oe):o.createElement("div",{className:`${Re}-outer`,style:hr},tn&&Oe,Ir,Pr&&Oe)},pe=Fe=>{const{size:Re,steps:N,rounding:_e=Math.round,percent:ve=0,strokeWidth:de=8,strokeColor:fe,trailColor:me=null,prefixCls:Oe,children:xe}=Fe,Ne=_e(N*(ve/100)),Ye=Re==="small"?2:14,pt=Re!=null?Re:[Ye,de],[$t,Xt]=w(pt,"step",{steps:N,strokeWidth:de}),Ut=$t/N,Dt=Array.from({length:N});for(let at=0;at<N;at++){const yt=Array.isArray(fe)?fe[at]:fe;Dt[at]=o.createElement("div",{key:at,className:y()(`${Oe}-steps-item`,{[`${Oe}-steps-item-active`]:at<=Ne-1}),style:{backgroundColor:at<=Ne-1?yt:me,width:Ut,height:Xt}})}return o.createElement("div",{className:`${Oe}-steps-outer`},Dt,xe)},Ze=function(Fe,Re){var N={};for(var _e in Fe)Object.prototype.hasOwnProperty.call(Fe,_e)&&Re.indexOf(_e)<0&&(N[_e]=Fe[_e]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,_e=Object.getOwnPropertySymbols(Fe);ve<_e.length;ve++)Re.indexOf(_e[ve])<0&&Object.prototype.propertyIsEnumerable.call(Fe,_e[ve])&&(N[_e[ve]]=Fe[_e[ve]]);return N};const st=null,dt=["normal","exception","active","success"];var Le=o.forwardRef((Fe,Re)=>{const{prefixCls:N,className:_e,rootClassName:ve,steps:de,strokeColor:fe,percent:me=0,size:Oe="default",showInfo:xe=!0,type:Ne="line",status:Ye,format:pt,style:$t,percentPosition:Xt={}}=Fe,Ut=Ze(Fe,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Dt="end",type:at="outer"}=Xt,yt=Array.isArray(fe)?fe[0]:fe,xt=typeof fe=="string"||Array.isArray(fe)?fe:void 0,ht=o.useMemo(()=>{if(yt){const Fn=typeof yt=="string"?yt:Object.values(yt)[0];return new Xe.FastColor(Fn).isLight()}return!1},[fe]),tr=o.useMemo(()=>{var Fn,Rt;const Sr=K(Fe);return parseInt(Sr!==void 0?(Fn=Sr!=null?Sr:0)===null||Fn===void 0?void 0:Fn.toString():(Rt=me!=null?me:0)===null||Rt===void 0?void 0:Rt.toString(),10)},[me,Fe.success,Fe.successPercent]),mr=o.useMemo(()=>!dt.includes(Ye)&&tr>=100?"success":Ye||"normal",[Ye,tr]),{getPrefixCls:hr,direction:Ir,progress:tn}=o.useContext(c.E_),Pr=hr("progress",N),[x,F,wt]=le(Pr),oe=Ne==="line",Be=oe&&!de,kr=o.useMemo(()=>{if(!xe)return null;const Fn=K(Fe);let Rt;const Sr=pt||(S=>`${S}%`),sr=oe&&ht&&at==="inner";return at==="inner"||pt||mr!=="exception"&&mr!=="success"?Rt=Sr(z(me),z(Fn)):mr==="exception"?Rt=oe?o.createElement(Y.Z,null):o.createElement(Q.Z,null):mr==="success"&&(Rt=oe?o.createElement(L.Z,null):o.createElement(ze.Z,null)),o.createElement("span",{className:y()(`${Pr}-text`,{[`${Pr}-text-bright`]:sr,[`${Pr}-text-${Dt}`]:Be,[`${Pr}-text-${at}`]:Be}),title:typeof Rt=="string"?Rt:void 0},Rt)},[xe,me,tr,mr,Ne,Pr,pt]);let Br;Ne==="line"?Br=de?o.createElement(pe,Object.assign({},Fe,{strokeColor:xt,prefixCls:Pr,steps:typeof de=="object"?de.count:de}),kr):o.createElement(re,Object.assign({},Fe,{strokeColor:yt,prefixCls:Pr,direction:Ir,percentPosition:{align:Dt,type:at}}),kr):(Ne==="circle"||Ne==="dashboard")&&(Br=o.createElement(q,Object.assign({},Fe,{strokeColor:yt,prefixCls:Pr,progressStatus:mr}),kr));const wn=y()(Pr,`${Pr}-status-${mr}`,{[`${Pr}-${Ne==="dashboard"&&"circle"||Ne}`]:Ne!=="line",[`${Pr}-inline-circle`]:Ne==="circle"&&w(Oe,"circle")[0]<=20,[`${Pr}-line`]:Be,[`${Pr}-line-align-${Dt}`]:Be,[`${Pr}-line-position-${at}`]:Be,[`${Pr}-steps`]:de,[`${Pr}-show-info`]:xe,[`${Pr}-${Oe}`]:typeof Oe=="string",[`${Pr}-rtl`]:Ir==="rtl"},tn==null?void 0:tn.className,_e,ve,F,wt);return x(o.createElement("div",Object.assign({ref:Re,style:Object.assign(Object.assign({},tn==null?void 0:tn.style),$t),className:wn,role:"progressbar","aria-valuenow":tr,"aria-valuemin":0,"aria-valuemax":100},(0,U.Z)(Ut,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Br))}),At=Le},47889:function(qr,_t,n){"use strict";n.d(_t,{ZP:function(){return Ve}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(18929),Y=n(26112),Q=n(48755),_=n(83397),y=n(31756);const U=o.createContext(null),c=U.Provider;var T=U;const k=o.createContext(null),V=k.Provider;var z=n(16632),K=n(8654),O=n(12919),D=n(63872),w=n(74632),E=n(2171),ie=n(56553),X=n(36237),q=n(63356),Ee=n(16931),Pe=n(51636);const et=pe=>{const{componentCls:Ze,antCls:st}=pe,dt=`${Ze}-group`;return{[dt]:Object.assign(Object.assign({},(0,q.Wf)(pe)),{display:"inline-block",fontSize:0,[`&${dt}-rtl`]:{direction:"rtl"},[`&${dt}-block`]:{display:"flex"},[`${st}-badge ${st}-badge-count`]:{zIndex:1},[`> ${st}-badge:not(:first-child) > ${st}-button-wrapper`]:{borderInlineStart:"none"}})}},He=pe=>{const{componentCls:Ze,wrapperMarginInlineEnd:st,colorPrimary:dt,radioSize:he,motionDurationSlow:Le,motionDurationMid:At,motionEaseInOutCirc:Fe,colorBgContainer:Re,colorBorder:N,lineWidth:_e,colorBgContainerDisabled:ve,colorTextDisabled:de,paddingXS:fe,dotColorDisabled:me,lineType:Oe,radioColor:xe,radioBgColor:Ne,calc:Ye}=pe,pt=`${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,q.Wf)(pe)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:st,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,X.unit)(_e)} ${Oe} ${dt}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Ze]:Object.assign(Object.assign({},(0,q.Wf)(pe)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Ze}-wrapper:hover &,
|
|
|
&:hover ${pt}`]:{borderColor:dt},[`${Ze}-input:focus-visible + ${pt}`]:Object.assign({},(0,q.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:xe,borderBlockStart:0,borderInlineStart:0,borderRadius:Ut,transform:"scale(0)",opacity:0,transition:`all ${Le} ${Fe}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Ut,height:Ut,backgroundColor:Re,borderColor:N,borderStyle:"solid",borderWidth:_e,borderRadius:"50%",transition:`all ${At}`},[`${Ze}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Ze}-checked`]:{[pt]:{borderColor:dt,backgroundColor:Ne,"&::after":{transform:`scale(${pe.calc(pe.dotSize).div(he).equal()})`,opacity:1,transition:`all ${Le} ${Fe}`}}},[`${Ze}-disabled`]:{cursor:"not-allowed",[pt]:{backgroundColor:ve,borderColor:N,cursor:"not-allowed","&::after":{backgroundColor:me}},[`${Ze}-input`]:{cursor:"not-allowed"},[`${Ze}-disabled + span`]:{color:de,cursor:"not-allowed"},[`&${Ze}-checked`]:{[pt]:{"&::after":{transform:`scale(${Ye(Xt).div(he).equal()})`}}}},[`span${Ze} + *`]:{paddingInlineStart:fe,paddingInlineEnd:fe}})}},Ce=pe=>{const{buttonColor:Ze,controlHeight:st,componentCls:dt,lineWidth:he,lineType:Le,colorBorder:At,motionDurationSlow:Fe,motionDurationMid:Re,buttonPaddingInline:N,fontSize:_e,buttonBg:ve,fontSizeLG:de,controlHeightLG:fe,controlHeightSM:me,paddingXS:Oe,borderRadius:xe,borderRadiusSM:Ne,borderRadiusLG:Ye,buttonCheckedBg:pt,buttonSolidCheckedColor:$t,colorTextDisabled:Xt,colorBgContainerDisabled:Ut,buttonCheckedBgDisabled:Dt,buttonCheckedColorDisabled:at,colorPrimary:yt,colorPrimaryHover:xt,colorPrimaryActive:ht,buttonSolidCheckedBg:tr,buttonSolidCheckedHoverBg:mr,buttonSolidCheckedActiveBg:hr,calc:Ir}=pe;return{[`${dt}-button-wrapper`]:{position:"relative",display:"inline-block",height:st,margin:0,paddingInline:N,paddingBlock:0,color:Ze,fontSize:_e,lineHeight:(0,X.unit)(Ir(st).sub(Ir(he).mul(2)).equal()),background:ve,border:`${(0,X.unit)(he)} ${Le} ${At}`,borderBlockStartWidth:Ir(he).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:he,cursor:"pointer",transition:[`color ${Re}`,`background ${Re}`,`box-shadow ${Re}`].join(","),a:{color:Ze},[`> ${dt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Ir(he).mul(-1).equal(),insetInlineStart:Ir(he).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:he,paddingInline:0,backgroundColor:At,transition:`background-color ${Fe}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,X.unit)(he)} ${Le} ${At}`,borderStartStartRadius:xe,borderEndStartRadius:xe},"&:last-child":{borderStartEndRadius:xe,borderEndEndRadius:xe},"&:first-child:last-child":{borderRadius:xe},[`${dt}-group-large &`]:{height:fe,fontSize:de,lineHeight:(0,X.unit)(Ir(fe).sub(Ir(he).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Ye,borderEndStartRadius:Ye},"&:last-child":{borderStartEndRadius:Ye,borderEndEndRadius:Ye}},[`${dt}-group-small &`]:{height:me,paddingInline:Ir(Oe).sub(he).equal(),paddingBlock:0,lineHeight:(0,X.unit)(Ir(me).sub(Ir(he).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Ne,borderEndStartRadius:Ne},"&:last-child":{borderStartEndRadius:Ne,borderEndEndRadius:Ne}},"&:hover":{position:"relative",color:yt},"&:has(:focus-visible)":Object.assign({},(0,q.oN)(pe)),[`${dt}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${dt}-button-wrapper-disabled)`]:{zIndex:1,color:yt,background:pt,borderColor:yt,"&::before":{backgroundColor:yt},"&:first-child":{borderColor:yt},"&:hover":{color:xt,borderColor:xt,"&::before":{backgroundColor:xt}},"&:active":{color:ht,borderColor:ht,"&::before":{backgroundColor:ht}}},[`${dt}-group-solid &-checked:not(${dt}-button-wrapper-disabled)`]:{color:$t,background:tr,borderColor:tr,"&:hover":{color:$t,background:mr,borderColor:mr},"&:active":{color:$t,background:hr,borderColor:hr}},"&-disabled":{color:Xt,backgroundColor:Ut,borderColor:At,cursor:"not-allowed","&:first-child, &:hover":{color:Xt,backgroundColor:Ut,borderColor:At}},[`&-disabled${dt}-button-wrapper-checked`]:{color:at,backgroundColor:Dt,borderColor:At,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},be=pe=>{const{wireframe:Ze,padding:st,marginXS:dt,lineWidth:he,fontSizeLG:Le,colorText:At,colorBgContainer:Fe,colorTextDisabled:Re,controlItemBgActiveDisabled:N,colorTextLightSolid:_e,colorPrimary:ve,colorPrimaryHover:de,colorPrimaryActive:fe,colorWhite:me}=pe,Oe=4,xe=Le,Ne=Ze?xe-Oe*2:xe-(Oe+he)*2;return{radioSize:xe,dotSize:Ne,dotColorDisabled:Re,buttonSolidCheckedColor:_e,buttonSolidCheckedBg:ve,buttonSolidCheckedHoverBg:de,buttonSolidCheckedActiveBg:fe,buttonBg:Fe,buttonCheckedBg:Fe,buttonColor:At,buttonCheckedBgDisabled:N,buttonCheckedColorDisabled:Re,buttonPaddingInline:st-he,wrapperMarginInlineEnd:dt,radioColor:Ze?ve:me,radioBgColor:Ze?Fe:ve}};var J=(0,Ee.I$)("Radio",pe=>{const{controlOutline:Ze,controlOutlineWidth:st}=pe,dt=`0 0 0 ${(0,X.unit)(st)} ${Ze}`,he=dt,Le=(0,Pe.mergeToken)(pe,{radioFocusShadow:dt,radioButtonFocusShadow:he});return[et(Le),He(Le),Ce(Le)]},be,{unitless:{radioSize:!0,dotSize:!0}}),we=function(pe,Ze){var st={};for(var dt in pe)Object.prototype.hasOwnProperty.call(pe,dt)&&Ze.indexOf(dt)<0&&(st[dt]=pe[dt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,dt=Object.getOwnPropertySymbols(pe);he<dt.length;he++)Ze.indexOf(dt[he])<0&&Object.prototype.propertyIsEnumerable.call(pe,dt[he])&&(st[dt[he]]=pe[dt[he]]);return st};const M=(pe,Ze)=>{var st,dt;const he=o.useContext(T),Le=o.useContext(k),{getPrefixCls:At,direction:Fe,radio:Re}=o.useContext(Q.E_),N=o.useRef(null),_e=(0,K.sQ)(Ze,N),{isFormItemInput:ve}=o.useContext(ie.aM),de=tn=>{var Pr,x;(Pr=pe.onChange)===null||Pr===void 0||Pr.call(pe,tn),(x=he==null?void 0:he.onChange)===null||x===void 0||x.call(he,tn)},{prefixCls:fe,className:me,rootClassName:Oe,children:xe,style:Ne,title:Ye}=pe,pt=we(pe,["prefixCls","className","rootClassName","children","style","title"]),$t=At("radio",fe),Xt=((he==null?void 0:he.optionType)||Le)==="button",Ut=Xt?`${$t}-button`:$t,Dt=(0,_.Z)($t),[at,yt,xt]=J($t,Dt),ht=Object.assign({},pt),tr=o.useContext(E.Z);he&&(ht.name=he.name,ht.onChange=de,ht.checked=pe.value===he.value,ht.disabled=(st=ht.disabled)!==null&&st!==void 0?st:he.disabled),ht.disabled=(dt=ht.disabled)!==null&&dt!==void 0?dt:tr;const mr=L()(`${Ut}-wrapper`,{[`${Ut}-wrapper-checked`]:ht.checked,[`${Ut}-wrapper-disabled`]:ht.disabled,[`${Ut}-wrapper-rtl`]:Fe==="rtl",[`${Ut}-wrapper-in-form-item`]:ve,[`${Ut}-wrapper-block`]:!!(he!=null&&he.block)},Re==null?void 0:Re.className,me,Oe,yt,xt,Dt),[hr,Ir]=(0,w.Z)(ht.onClick);return at(o.createElement(O.Z,{component:"Radio",disabled:ht.disabled},o.createElement("label",{className:mr,style:Object.assign(Object.assign({},Re==null?void 0:Re.style),Ne),onMouseEnter:pe.onMouseEnter,onMouseLeave:pe.onMouseLeave,title:Ye,onClick:hr},o.createElement(z.Z,Object.assign({},ht,{className:L()(ht.className,{[D.A]:!Xt}),type:"radio",prefixCls:Ut,ref:_e,onClick:Ir})),xe!==void 0?o.createElement("span",{className:`${Ut}-label`},xe):null)))};var rt=o.forwardRef(M),ue=n(80402);const le=o.forwardRef((pe,Ze)=>{const{getPrefixCls:st,direction:dt}=o.useContext(Q.E_),he=(0,ue.Z)(),{prefixCls:Le,className:At,rootClassName:Fe,options:Re,buttonStyle:N="outline",disabled:_e,children:ve,size:de,style:fe,id:me,optionType:Oe,name:xe=he,defaultValue:Ne,value:Ye,block:pt=!1,onChange:$t,onMouseEnter:Xt,onMouseLeave:Ut,onFocus:Dt,onBlur:at}=pe,[yt,xt]=(0,ze.Z)(Ne,{value:Ye}),ht=o.useCallback(Be=>{const kr=yt,Br=Be.target.value;"value"in pe||xt(Br),Br!==kr&&($t==null||$t(Be))},[yt,xt,$t]),tr=st("radio",Le),mr=`${tr}-group`,hr=(0,_.Z)(tr),[Ir,tn,Pr]=J(tr,hr);let x=ve;Re&&Re.length>0&&(x=Re.map(Be=>typeof Be=="string"||typeof Be=="number"?o.createElement(rt,{key:Be.toString(),prefixCls:tr,disabled:_e,value:Be,checked:yt===Be},Be):o.createElement(rt,{key:`radio-group-value-options-${Be.value}`,prefixCls:tr,disabled:Be.disabled||_e,value:Be.value,checked:yt===Be.value,title:Be.title,style:Be.style,id:Be.id,required:Be.required},Be.label)));const F=(0,y.Z)(de),wt=L()(mr,`${mr}-${N}`,{[`${mr}-${F}`]:F,[`${mr}-rtl`]:dt==="rtl",[`${mr}-block`]:pt},At,Fe,tn,Pr,hr),oe=o.useMemo(()=>({onChange:ht,value:yt,disabled:_e,name:xe,optionType:Oe,block:pt}),[ht,yt,_e,xe,Oe,pt]);return Ir(o.createElement("div",Object.assign({},(0,Y.Z)(pe,{aria:!0,data:!0}),{className:wt,style:fe,onMouseEnter:Xt,onMouseLeave:Ut,onFocus:Dt,onBlur:at,id:me,ref:Ze}),o.createElement(c,{value:oe},x)))});var B=o.memo(le),ae=function(pe,Ze){var st={};for(var dt in pe)Object.prototype.hasOwnProperty.call(pe,dt)&&Ze.indexOf(dt)<0&&(st[dt]=pe[dt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,dt=Object.getOwnPropertySymbols(pe);he<dt.length;he++)Ze.indexOf(dt[he])<0&&Object.prototype.propertyIsEnumerable.call(pe,dt[he])&&(st[dt[he]]=pe[dt[he]]);return st};const W=(pe,Ze)=>{const{getPrefixCls:st}=o.useContext(Q.E_),{prefixCls:dt}=pe,he=ae(pe,["prefixCls"]),Le=st("radio",dt);return o.createElement(V,{value:"button"},o.createElement(rt,Object.assign({prefixCls:Le},he,{type:"radio",ref:Ze})))};var A=o.forwardRef(W);const re=rt;re.Button=A,re.Group=B,re.__ANT_RADIO=!0;var Ve=re},58018:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return He}});var o=n(59301),Xe=n(54476),L={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"},ze=L,Y=n(7657),Q=function(be,J){return o.createElement(Y.Z,(0,Xe.Z)({},be,{ref:J,icon:ze}))},_=o.forwardRef(Q),y=_,U=n(92310),c=n.n(U),T=n(738),k=n(48755),V=n(25399),z=n(36237),K=n(63356),O=n(16931),D=n(51636);const w=Ce=>{const{componentCls:be}=Ce;return{[`${be}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ce.marginXS},"> div":{transition:`all ${Ce.motionDurationMid}, outline 0s`,"&:hover":{transform:Ce.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,z.unit)(Ce.lineWidth)} dashed ${Ce.starColor}`,transform:Ce.starHoverScale}},"&-first, &-second":{color:Ce.starBg,transition:`all ${Ce.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${be}-star-first, &-half ${be}-star-second`]:{opacity:1},[`&-half ${be}-star-first, &-full ${be}-star-second`]:{color:"inherit"}}}},E=Ce=>({[`&-rtl${Ce.componentCls}`]:{direction:"rtl"}}),ie=Ce=>{const{componentCls:be}=Ce;return{[be]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,K.Wf)(Ce)),{display:"inline-block",margin:0,padding:0,color:Ce.starColor,fontSize:Ce.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${be} ${be}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),w(Ce)),E(Ce))}},X=Ce=>({starColor:Ce.yellow6,starSize:Ce.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ce.colorFillContent});var q=(0,O.I$)("Rate",Ce=>{const be=(0,D.mergeToken)(Ce,{});return[ie(be)]},X),Ee=n(2171),Pe=function(Ce,be){var J={};for(var we in Ce)Object.prototype.hasOwnProperty.call(Ce,we)&&be.indexOf(we)<0&&(J[we]=Ce[we]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,we=Object.getOwnPropertySymbols(Ce);M<we.length;M++)be.indexOf(we[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,we[M])&&(J[we[M]]=Ce[we[M]]);return J},He=o.forwardRef((Ce,be)=>{const{prefixCls:J,className:we,rootClassName:M,style:I,tooltips:rt,character:ue=o.createElement(y,null),disabled:le}=Ce,B=Pe(Ce,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),ae=(At,Fe)=>{let{index:Re}=Fe;return rt?o.createElement(V.Z,{title:rt[Re]},At):At},{getPrefixCls:W,direction:A,rate:re}=o.useContext(k.E_),Ve=W("rate",J),[pe,Ze,st]=q(Ve),dt=Object.assign(Object.assign({},re==null?void 0:re.style),I),he=o.useContext(Ee.Z),Le=le!=null?le:he;return pe(o.createElement(T.Z,Object.assign({ref:be,character:ue,characterRender:ae,disabled:Le},B,{className:c()(we,M,Ze,st,re==null?void 0:re.className),style:dt,prefixCls:Ve,direction:A})))})},82326:function(qr,_t,n){"use strict";var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(37463),Y=n(2738),Q=n(75030),_=n(86641),y=n(45915),U=n(82855),c=n(48755),T=n(38406),k=n(2171),V=n(83397),z=n(31756),K=n(56553),O=n(24971),D=n(70045),w=n(57700),E=n(1722),ie=n(90376),X=n(68525),q=n(90005),Ee=function(be,J){var we={};for(var M in be)Object.prototype.hasOwnProperty.call(be,M)&&J.indexOf(M)<0&&(we[M]=be[M]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,M=Object.getOwnPropertySymbols(be);I<M.length;I++)J.indexOf(M[I])<0&&Object.prototype.propertyIsEnumerable.call(be,M[I])&&(we[M[I]]=be[M[I]]);return we};const Pe="SECRET_COMBOBOX_MODE_DO_NOT_USE",et=(be,J)=>{var we;const{prefixCls:M,bordered:I,className:rt,rootClassName:ue,getPopupContainer:le,popupClassName:B,dropdownClassName:ae,listHeight:W=256,placement:A,listItemHeight:re,size:Ve,disabled:pe,notFoundContent:Ze,status:st,builtinPlacements:dt,dropdownMatchSelectWidth:he,popupMatchSelectWidth:Le,direction:At,style:Fe,allowClear:Re,variant:N,dropdownStyle:_e,transitionName:ve,tagRender:de,maxCount:fe,prefix:me}=be,Oe=Ee(be,["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:xe,getPrefixCls:Ne,renderEmpty:Ye,direction:pt,virtual:$t,popupMatchSelectWidth:Xt,popupOverflow:Ut}=o.useContext(c.E_),Dt=(0,c.dj)("select"),[,at]=(0,w.ZP)(),yt=re!=null?re:at==null?void 0:at.controlHeight,xt=Ne("select",M),ht=Ne(),tr=At!=null?At:pt,{compactSize:mr,compactItemClassnames:hr}=(0,D.ri)(xt,tr),[Ir,tn]=(0,O.Z)("select",N,I),Pr=(0,V.Z)(xt),[x,F,wt]=(0,ie.Z)(xt,Pr),oe=o.useMemo(()=>{const{mode:Bt}=be;if(Bt!=="combobox")return Bt===Pe?"combobox":Bt},[be.mode]),Be=oe==="multiple"||oe==="tags",kr=(0,q.Z)(be.suffixIcon,be.showArrow),Br=(we=Le!=null?Le:he)!==null&&we!==void 0?we:Xt,{status:wn,hasFeedback:Fn,isFormItemInput:Rt,feedbackIcon:Sr}=o.useContext(K.aM),sr=(0,U.F)(wn,st);let S;Ze!==void 0?S=Ze:oe==="combobox"?S=null:S=(Ye==null?void 0:Ye("Select"))||o.createElement(T.Z,{componentName:"Select"});const{suffixIcon:v,itemIcon:Gt,removeIcon:$,clearIcon:Ae}=(0,X.Z)(Object.assign(Object.assign({},Oe),{multiple:Be,hasFeedback:Fn,feedbackIcon:Sr,showSuffixIcon:kr,prefixCls:xt,componentName:"Select"})),Cn=Re===!0?{clearIcon:Ae}:Re,Zr=(0,Y.Z)(Oe,["suffixIcon","itemIcon"]),Ht=L()(B||ae,{[`${xt}-dropdown-${tr}`]:tr==="rtl"},ue,wt,Pr,F),Vt=(0,z.Z)(Bt=>{var We;return(We=Ve!=null?Ve:mr)!==null&&We!==void 0?We:Bt}),br=o.useContext(k.Z),Kr=pe!=null?pe:br,an=L()({[`${xt}-lg`]:Vt==="large",[`${xt}-sm`]:Vt==="small",[`${xt}-rtl`]:tr==="rtl",[`${xt}-${Ir}`]:tn,[`${xt}-in-form-item`]:Rt},(0,U.Z)(xt,sr,Fn),hr,Dt.className,rt,ue,wt,Pr,F),An=o.useMemo(()=>A!==void 0?A:tr==="rtl"?"bottomRight":"bottomLeft",[A,tr]),[St]=(0,Q.Cn)("SelectLike",_e==null?void 0:_e.zIndex);return x(o.createElement(ze.ZP,Object.assign({ref:J,virtual:$t,showSearch:Dt.showSearch},Zr,{style:Object.assign(Object.assign({},Dt.style),Fe),dropdownMatchSelectWidth:Br,transitionName:(0,_.m)(ht,"slide-up",ve),builtinPlacements:(0,E.Z)(dt,Ut),listHeight:W,listItemHeight:yt,mode:oe,prefixCls:xt,placement:An,direction:tr,prefix:me,suffixIcon:v,menuItemSelectedIcon:Gt,removeIcon:$,allowClear:Cn,notFoundContent:S,className:an,getPopupContainer:le||xe,dropdownClassName:Ht,disabled:Kr,dropdownStyle:Object.assign(Object.assign({},_e),{zIndex:St}),maxCount:Be?fe:void 0,tagRender:Be?de:void 0})))},He=o.forwardRef(et),Ce=(0,y.Z)(He,"dropdownAlign");He.SECRET_COMBOBOX_MODE_DO_NOT_USE=Pe,He.Option=ze.Wx,He.OptGroup=ze.Xo,He._InternalPanelDoNotUseOrYouWillBeFired=Ce,_t.default=He},1722:function(qr,_t){"use strict";const n=Xe=>{const ze={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Xe==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},ze),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},ze),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},ze),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},ze),{points:["br","tr"],offset:[0,-4]})}};function o(Xe,L){return Xe||n(L)}_t.Z=o},90376:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return M}});var o=n(63356),Xe=n(56119),L=n(16931),ze=n(51636),Y=n(46e3),Q=n(93873);const _=I=>{const{optionHeight:rt,optionFontSize:ue,optionLineHeight:le,optionPadding:B}=I;return{position:"relative",display:"block",minHeight:rt,padding:B,color:I.colorText,fontWeight:"normal",fontSize:ue,lineHeight:le,boxSizing:"border-box"}};var U=I=>{const{antCls:rt,componentCls:ue}=I,le=`${ue}-item`,B=`&${rt}-slide-up-enter${rt}-slide-up-enter-active`,ae=`&${rt}-slide-up-appear${rt}-slide-up-appear-active`,W=`&${rt}-slide-up-leave${rt}-slide-up-leave-active`,A=`${ue}-dropdown-placement-`,re=`${le}-option-selected`;return[{[`${ue}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(I)),{position:"absolute",top:-9999,zIndex:I.zIndexPopup,boxSizing:"border-box",padding:I.paddingXXS,overflow:"hidden",fontSize:I.fontSize,fontVariant:"initial",backgroundColor:I.colorBgElevated,borderRadius:I.borderRadiusLG,outline:"none",boxShadow:I.boxShadowSecondary,[`
|
|
|
${B}${A}bottomLeft,
|
|
|
${ae}${A}bottomLeft
|
|
|
`]:{animationName:Y.fJ},[`
|
|
|
${B}${A}topLeft,
|
|
|
${ae}${A}topLeft,
|
|
|
${B}${A}topRight,
|
|
|
${ae}${A}topRight
|
|
|
`]:{animationName:Y.Qt},[`${W}${A}bottomLeft`]:{animationName:Y.Uw},[`
|
|
|
${W}${A}topLeft,
|
|
|
${W}${A}topRight
|
|
|
`]:{animationName:Y.ly},"&-hidden":{display:"none"},[le]:Object.assign(Object.assign({},_(I)),{cursor:"pointer",transition:`background ${I.motionDurationSlow} ease`,borderRadius:I.borderRadiusSM,"&-group":{color:I.colorTextDescription,fontSize:I.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${le}-option-disabled)`]:{backgroundColor:I.optionActiveBg},[`&-selected:not(${le}-option-disabled)`]:{color:I.optionSelectedColor,fontWeight:I.optionSelectedFontWeight,backgroundColor:I.optionSelectedBg,[`${le}-option-state`]:{color:I.colorPrimary}},"&-disabled":{[`&${le}-option-selected`]:{backgroundColor:I.colorBgContainerDisabled},color:I.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:I.calc(I.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},_(I)),{color:I.colorTextDisabled})}),[`${re}:has(+ ${re})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${re}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,Y.oN)(I,"slide-up"),(0,Y.oN)(I,"slide-down"),(0,Q.Fm)(I,"move-up"),(0,Q.Fm)(I,"move-down")]},c=n(26743),T=n(36237);function k(I,rt){const{componentCls:ue,inputPaddingHorizontalBase:le,borderRadius:B}=I,ae=I.calc(I.controlHeight).sub(I.calc(I.lineWidth).mul(2)).equal(),W=rt?`${ue}-${rt}`:"";return{[`${ue}-single${W}`]:{fontSize:I.fontSize,height:I.controlHeight,[`${ue}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(I,!0)),{display:"flex",borderRadius:B,flex:"1 1 auto",[`${ue}-selection-wrap:after`]:{lineHeight:(0,T.unit)(ae)},[`${ue}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
|
${ue}-selection-item,
|
|
|
${ue}-selection-placeholder
|
|
|
`]:{display:"block",padding:0,lineHeight:(0,T.unit)(ae),transition:`all ${I.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${ue}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${ue}-selection-item:empty:after`,`${ue}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${ue}-show-arrow ${ue}-selection-item,
|
|
|
&${ue}-show-arrow ${ue}-selection-search,
|
|
|
&${ue}-show-arrow ${ue}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:I.showArrowPaddingInlineEnd},[`&${ue}-open ${ue}-selection-item`]:{color:I.colorTextPlaceholder},[`&:not(${ue}-customize-input)`]:{[`${ue}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,T.unit)(le)}`,[`${ue}-selection-search-input`]:{height:ae,fontSize:I.fontSize},"&:after":{lineHeight:(0,T.unit)(ae)}}},[`&${ue}-customize-input`]:{[`${ue}-selector`]:{"&:after":{display:"none"},[`${ue}-selection-search`]:{position:"static",width:"100%"},[`${ue}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${(0,T.unit)(le)}`,"&:after":{display:"none"}}}}}}}function V(I){const{componentCls:rt}=I,ue=I.calc(I.controlPaddingHorizontalSM).sub(I.lineWidth).equal();return[k(I),k((0,ze.mergeToken)(I,{controlHeight:I.controlHeightSM,borderRadius:I.borderRadiusSM}),"sm"),{[`${rt}-single${rt}-sm`]:{[`&:not(${rt}-customize-input)`]:{[`${rt}-selector`]:{padding:`0 ${(0,T.unit)(ue)}`},[`&${rt}-show-arrow ${rt}-selection-search`]:{insetInlineEnd:I.calc(ue).add(I.calc(I.fontSize).mul(1.5)).equal()},[`
|
|
|
&${rt}-show-arrow ${rt}-selection-item,
|
|
|
&${rt}-show-arrow ${rt}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:I.calc(I.fontSize).mul(1.5).equal()}}}},k((0,ze.mergeToken)(I,{controlHeight:I.singleItemHeightLG,fontSize:I.fontSizeLG,borderRadius:I.borderRadiusLG}),"lg")]}const z=I=>{const{fontSize:rt,lineHeight:ue,lineWidth:le,controlHeight:B,controlHeightSM:ae,controlHeightLG:W,paddingXXS:A,controlPaddingHorizontal:re,zIndexPopupBase:Ve,colorText:pe,fontWeightStrong:Ze,controlItemBgActive:st,controlItemBgHover:dt,colorBgContainer:he,colorFillSecondary:Le,colorBgContainerDisabled:At,colorTextDisabled:Fe,colorPrimaryHover:Re,colorPrimary:N,controlOutline:_e}=I,ve=A*2,de=le*2,fe=Math.min(B-ve,B-de),me=Math.min(ae-ve,ae-de),Oe=Math.min(W-ve,W-de);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(A/2),zIndexPopup:Ve+50,optionSelectedColor:pe,optionSelectedFontWeight:Ze,optionSelectedBg:st,optionActiveBg:dt,optionPadding:`${(B-rt*ue)/2}px ${re}px`,optionFontSize:rt,optionLineHeight:ue,optionHeight:B,selectorBg:he,clearBg:he,singleItemHeightLG:W,multipleItemBg:Le,multipleItemBorderColor:"transparent",multipleItemHeight:fe,multipleItemHeightSM:me,multipleItemHeightLG:Oe,multipleSelectorBgDisabled:At,multipleItemColorDisabled:Fe,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(I.fontSize*1.25),hoverBorderColor:Re,activeBorderColor:N,activeOutlineColor:_e,selectAffixPadding:A}},K=(I,rt)=>{const{componentCls:ue,antCls:le,controlOutlineWidth:B}=I;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${rt.borderColor}`,background:I.selectorBg},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{borderColor:rt.hoverBorderHover},[`${ue}-focused& ${ue}-selector`]:{borderColor:rt.activeBorderColor,boxShadow:`0 0 0 ${(0,T.unit)(B)} ${rt.activeOutlineColor}`,outline:0},[`${ue}-prefix`]:{color:rt.color}}}},O=(I,rt)=>({[`&${I.componentCls}-status-${rt.status}`]:Object.assign({},K(I,rt))}),D=I=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},K(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),O(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),O(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})}),w=(I,rt)=>{const{componentCls:ue,antCls:le}=I;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{background:rt.bg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} transparent`,color:rt.color},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{background:rt.hoverBg},[`${ue}-focused& ${ue}-selector`]:{background:I.selectorBg,borderColor:rt.activeBorderColor,outline:0}}}},E=(I,rt)=>({[`&${I.componentCls}-status-${rt.status}`]:Object.assign({},w(I,rt))}),ie=I=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},w(I,{bg:I.colorFillTertiary,hoverBg:I.colorFillSecondary,activeBorderColor:I.activeBorderColor,color:I.colorText})),E(I,{status:"error",bg:I.colorErrorBg,hoverBg:I.colorErrorBgHover,activeBorderColor:I.colorError,color:I.colorError})),E(I,{status:"warning",bg:I.colorWarningBg,hoverBg:I.colorWarningBgHover,activeBorderColor:I.colorWarning,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{borderColor:I.colorBorder,background:I.colorBgContainerDisabled,color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.colorBgContainer,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.colorSplit}`}})}),X=I=>({"&-borderless":{[`${I.componentCls}-selector`]:{background:"transparent",border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} transparent`},[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`},[`&${I.componentCls}-status-error`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorError}},[`&${I.componentCls}-status-warning`]:{[`${I.componentCls}-prefix, ${I.componentCls}-selection-item`]:{color:I.colorWarning}}}}),q=(I,rt)=>{const{componentCls:ue,antCls:le}=I;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{borderWidth:`0 0 ${(0,T.unit)(I.lineWidth)} 0`,borderStyle:`none none ${I.lineType} none`,borderColor:rt.borderColor,background:I.selectorBg,borderRadius:0},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${le}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{borderColor:rt.hoverBorderHover},[`${ue}-focused& ${ue}-selector`]:{borderColor:rt.activeBorderColor,outline:0},[`${ue}-prefix`]:{color:rt.color}}}},Ee=(I,rt)=>({[`&${I.componentCls}-status-${rt.status}`]:Object.assign({},q(I,rt))}),Pe=I=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},q(I,{borderColor:I.colorBorder,hoverBorderHover:I.hoverBorderColor,activeBorderColor:I.activeBorderColor,activeOutlineColor:I.activeOutlineColor,color:I.colorText})),Ee(I,{status:"error",borderColor:I.colorError,hoverBorderHover:I.colorErrorHover,activeBorderColor:I.colorError,activeOutlineColor:I.colorErrorOutline,color:I.colorError})),Ee(I,{status:"warning",borderColor:I.colorWarning,hoverBorderHover:I.colorWarningHover,activeBorderColor:I.colorWarning,activeOutlineColor:I.colorWarningOutline,color:I.colorWarning})),{[`&${I.componentCls}-disabled`]:{[`&:not(${I.componentCls}-customize-input) ${I.componentCls}-selector`]:{color:I.colorTextDisabled}},[`&${I.componentCls}-multiple ${I.componentCls}-selection-item`]:{background:I.multipleItemBg,border:`${(0,T.unit)(I.lineWidth)} ${I.lineType} ${I.multipleItemBorderColor}`}})});var He=I=>({[I.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},D(I)),ie(I)),X(I)),Pe(I))});const Ce=I=>{const{componentCls:rt}=I;return{position:"relative",transition:`all ${I.motionDurationMid} ${I.motionEaseInOut}`,input:{cursor:"pointer"},[`${rt}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${rt}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},be=I=>{const{componentCls:rt}=I;return{[`${rt}-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"}}}},J=I=>{const{antCls:rt,componentCls:ue,inputPaddingHorizontalBase:le,iconCls:B}=I;return{[ue]:Object.assign(Object.assign({},(0,o.Wf)(I)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ue}-customize-input) ${ue}-selector`]:Object.assign(Object.assign({},Ce(I)),be(I)),[`${ue}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${rt}-typography`]:{display:"inline"}}),[`${ue}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:I.colorTextPlaceholder,pointerEvents:"none"}),[`${ue}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:le,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${I.motionDurationSlow} ease`,[B]:{verticalAlign:"top",transition:`transform ${I.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${ue}-suffix)`]:{pointerEvents:"auto"}},[`${ue}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${ue}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${ue}-prefix`]:{flex:"none",marginInlineEnd:I.selectAffixPadding},[`${ue}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:le,zIndex:1,display:"inline-block",width:I.fontSizeIcon,height:I.fontSizeIcon,marginTop:I.calc(I.fontSizeIcon).mul(-1).div(2).equal(),color:I.colorTextQuaternary,fontSize:I.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${I.motionDurationMid} ease, opacity ${I.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:I.colorTextTertiary}},[`&:hover ${ue}-clear`]:{opacity:1,background:I.colorBgBase,borderRadius:"50%"}}),[`${ue}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ue}-has-feedback`]:{[`${ue}-clear`]:{insetInlineEnd:I.calc(le).add(I.fontSize).add(I.paddingXS).equal()}}}}}},we=I=>{const{componentCls:rt}=I;return[{[rt]:{[`&${rt}-in-form-item`]:{width:"100%"}}},J(I),V(I),(0,c.ZP)(I),U(I),{[`${rt}-rtl`]:{direction:"rtl"}},(0,Xe.c)(I,{borderElCls:`${rt}-selector`,focusElCls:`${rt}-focused`})]};var M=(0,L.I$)("Select",(I,rt)=>{let{rootPrefixCls:ue}=rt;const le=(0,ze.mergeToken)(I,{rootPrefixCls:ue,inputPaddingHorizontalBase:I.calc(I.paddingSM).sub(1).equal(),multipleSelectItemHeight:I.multipleItemHeight,selectHeight:I.controlHeight});return[we(le),He(le)]},z,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(qr,_t,n){"use strict";n.d(_t,{_z:function(){return Q},gp:function(){return ze}});var o=n(36237),Xe=n(63356),L=n(51636);const ze=c=>{const{multipleSelectItemHeight:T,paddingXXS:k,lineWidth:V,INTERNAL_FIXED_ITEM_MARGIN:z}=c,K=c.max(c.calc(k).sub(V).equal(),0),O=c.max(c.calc(K).sub(z).equal(),0);return{basePadding:K,containerPadding:O,itemHeight:(0,o.unit)(T),itemLineHeight:(0,o.unit)(c.calc(T).sub(c.calc(c.lineWidth).mul(2)).equal())}},Y=c=>{const{multipleSelectItemHeight:T,selectHeight:k,lineWidth:V}=c;return c.calc(k).sub(T).div(2).sub(V).equal()},Q=c=>{const{componentCls:T,iconCls:k,borderRadiusSM:V,motionDurationSlow:z,paddingXS:K,multipleItemColorDisabled:O,multipleItemBorderColorDisabled:D,colorIcon:w,colorIconHover:E,INTERNAL_FIXED_ITEM_MARGIN:ie}=c;return{[`${T}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${T}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:ie,borderRadius:V,cursor:"default",transition:`font-size ${z}, line-height ${z}, height ${z}`,marginInlineEnd:c.calc(ie).mul(2).equal(),paddingInlineStart:K,paddingInlineEnd:c.calc(K).div(2).equal(),[`${T}-disabled&`]:{color:O,borderColor:D,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:c.calc(K).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Xe.Ro)()),{display:"inline-flex",alignItems:"center",color:w,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${k}`]:{verticalAlign:"-0.2em"},"&:hover":{color:E}})}}}},_=(c,T)=>{const{componentCls:k,INTERNAL_FIXED_ITEM_MARGIN:V}=c,z=`${k}-selection-overflow`,K=c.multipleSelectItemHeight,O=Y(c),D=T?`${k}-${T}`:"",w=ze(c);return{[`${k}-multiple${D}`]:Object.assign(Object.assign({},Q(c)),{[`${k}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:w.basePadding,paddingBlock:w.containerPadding,borderRadius:c.borderRadius,[`${k}-disabled&`]:{background:c.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.unit)(V)} 0`,lineHeight:(0,o.unit)(K),visibility:"hidden",content:'"\\a0"'}},[`${k}-selection-item`]:{height:w.itemHeight,lineHeight:(0,o.unit)(w.itemLineHeight)},[`${k}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,o.unit)(K),marginBlock:V}},[`${k}-prefix`]:{marginInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(w.basePadding).equal()},[`${z}-item + ${z}-item,
|
|
|
${k}-prefix + ${k}-selection-wrap
|
|
|
`]:{[`${k}-selection-search`]:{marginInlineStart:0},[`${k}-selection-placeholder`]:{insetInlineStart:0}},[`${z}-item-suffix`]:{minHeight:w.itemHeight,marginBlock:V},[`${k}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(O).equal(),"\n &-input,\n &-mirror\n ":{height:K,fontFamily:c.fontFamily,lineHeight:(0,o.unit)(K),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"}},[`${k}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:c.calc(c.inputPaddingHorizontalBase).sub(w.basePadding).equal(),insetInlineEnd:c.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${c.motionDurationSlow}`}})}};function y(c,T){const{componentCls:k}=c,V=T?`${k}-${T}`:"",z={[`${k}-multiple${V}`]:{fontSize:c.fontSize,[`${k}-selector`]:{[`${k}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${k}-show-arrow ${k}-selector,
|
|
|
&${k}-allow-clear ${k}-selector
|
|
|
`]:{paddingInlineEnd:c.calc(c.fontSizeIcon).add(c.controlPaddingHorizontal).equal()}}};return[_(c,T),z]}const U=c=>{const{componentCls:T}=c,k=(0,L.mergeToken)(c,{selectHeight:c.controlHeightSM,multipleSelectItemHeight:c.multipleItemHeightSM,borderRadius:c.borderRadiusSM,borderRadiusSM:c.borderRadiusXS}),V=(0,L.mergeToken)(c,{fontSize:c.fontSizeLG,selectHeight:c.controlHeightLG,multipleSelectItemHeight:c.multipleItemHeightLG,borderRadius:c.borderRadiusLG,borderRadiusSM:c.borderRadius});return[y(c),y(k,"sm"),{[`${T}-multiple${T}-sm`]:{[`${T}-selection-placeholder`]:{insetInline:c.calc(c.controlPaddingHorizontalSM).sub(c.lineWidth).equal()},[`${T}-selection-search`]:{marginInlineStart:2}}},y(V,"lg")]};_t.ZP=U},68525:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(59301),Xe=n(40001),L=n(19248),ze=n(99267),Y=n(84105),Q=n(58617),_=n(47472);function y(U){let{suffixIcon:c,clearIcon:T,menuItemSelectedIcon:k,removeIcon:V,loading:z,multiple:K,hasFeedback:O,prefixCls:D,showSuffixIcon:w,feedbackIcon:E,showArrow:ie,componentName:X}=U;const q=T!=null?T:o.createElement(L.Z,null),Ee=Ce=>c===null&&!O&&!ie?null:o.createElement(o.Fragment,null,w!==!1&&Ce,O&&E);let Pe=null;if(c!==void 0)Pe=Ee(c);else if(z)Pe=Ee(o.createElement(Q.Z,{spin:!0}));else{const Ce=`${D}-suffix`;Pe=be=>{let{open:J,showSearch:we}=be;return Ee(J&&we?o.createElement(_.Z,{className:Ce}):o.createElement(Y.Z,{className:Ce}))}}let et=null;k!==void 0?et=k:K?et=o.createElement(Xe.Z,null):et=null;let He=null;return V!==void 0?He=V:He=o.createElement(ze.Z,null),{clearIcon:q,suffixIcon:Pe,itemIcon:et,removeIcon:He}}},90005:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return o}});function o(Xe,L){return L!==void 0?L:Xe!==null}},77736:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return D}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(11592);function Y(w){return["small","middle","large"].includes(w)}function Q(w){return w?typeof w=="number"&&!Number.isNaN(w):!1}var _=n(48755),y=n(70045);const U=o.createContext({latestIndex:0}),c=U.Provider;var k=w=>{let{className:E,index:ie,children:X,split:q,style:Ee}=w;const{latestIndex:Pe}=o.useContext(U);return X==null?null:o.createElement(o.Fragment,null,o.createElement("div",{className:E,style:Ee},X),ie<Pe&&q&&o.createElement("span",{className:`${E}-split`},q))},V=n(31547),z=function(w,E){var ie={};for(var X in w)Object.prototype.hasOwnProperty.call(w,X)&&E.indexOf(X)<0&&(ie[X]=w[X]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,X=Object.getOwnPropertySymbols(w);q<X.length;q++)E.indexOf(X[q])<0&&Object.prototype.propertyIsEnumerable.call(w,X[q])&&(ie[X[q]]=w[X[q]]);return ie};const O=o.forwardRef((w,E)=>{var ie;const{getPrefixCls:X,direction:q,size:Ee,className:Pe,style:et,classNames:He,styles:Ce}=(0,_.dj)("space"),{size:be=Ee!=null?Ee:"small",align:J,className:we,rootClassName:M,children:I,direction:rt="horizontal",prefixCls:ue,split:le,style:B,wrap:ae=!1,classNames:W,styles:A}=w,re=z(w,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[Ve,pe]=Array.isArray(be)?be:[be,be],Ze=Y(pe),st=Y(Ve),dt=Q(pe),he=Q(Ve),Le=(0,ze.Z)(I,{keepEmpty:!0}),At=J===void 0&&rt==="horizontal"?"center":J,Fe=X("space",ue),[Re,N,_e]=(0,V.Z)(Fe),ve=L()(Fe,Pe,N,`${Fe}-${rt}`,{[`${Fe}-rtl`]:q==="rtl",[`${Fe}-align-${At}`]:At,[`${Fe}-gap-row-${pe}`]:Ze,[`${Fe}-gap-col-${Ve}`]:st},we,M,_e),de=L()(`${Fe}-item`,(ie=W==null?void 0:W.item)!==null&&ie!==void 0?ie:He.item);let fe=0;const me=Le.map((Ne,Ye)=>{var pt;Ne!=null&&(fe=Ye);const $t=(Ne==null?void 0:Ne.key)||`${de}-${Ye}`;return o.createElement(k,{className:de,key:$t,index:Ye,split:le,style:(pt=A==null?void 0:A.item)!==null&&pt!==void 0?pt:Ce.item},Ne)}),Oe=o.useMemo(()=>({latestIndex:fe}),[fe]);if(Le.length===0)return null;const xe={};return ae&&(xe.flexWrap="wrap"),!st&&he&&(xe.columnGap=Ve),!Ze&&dt&&(xe.rowGap=pe),Re(o.createElement("div",Object.assign({ref:E,className:ve,style:Object.assign(Object.assign(Object.assign({},xe),et),B)},re),o.createElement(c,{value:Oe},me)))});O.Compact=y.ZP;var D=O},11938:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return be}});var o=n(59301),Xe=n(40192),L=n(22703),ze=n(92310),Y=n.n(ze),Q=n(26112),_=n(48755),y=n(458),c=J=>{const{value:we,formatter:M,precision:I,decimalSeparator:rt,groupSeparator:ue="",prefixCls:le}=J;let B;if(typeof M=="function")B=M(we);else{const ae=String(we),W=ae.match(/^(-?)(\d*)(\.(\d+))?$/);if(!W||ae==="-")B=ae;else{const A=W[1];let re=W[2]||"0",Ve=W[4]||"";re=re.replace(/\B(?=(\d{3})+(?!\d))/g,ue),typeof I=="number"&&(Ve=Ve.padEnd(I,"0").slice(0,I>0?I:0)),Ve&&(Ve=`${rt}${Ve}`),B=[o.createElement("span",{key:"int",className:`${le}-content-value-int`},A,re),Ve&&o.createElement("span",{key:"decimal",className:`${le}-content-value-decimal`},Ve)]}}return o.createElement("span",{className:`${le}-content-value`},B)},T=n(63356),k=n(16931),V=n(51636);const z=J=>{const{componentCls:we,marginXXS:M,padding:I,colorTextDescription:rt,titleFontSize:ue,colorTextHeading:le,contentFontSize:B,fontFamily:ae}=J;return{[we]:Object.assign(Object.assign({},(0,T.Wf)(J)),{[`${we}-title`]:{marginBottom:M,color:rt,fontSize:ue},[`${we}-skeleton`]:{paddingTop:I},[`${we}-content`]:{color:le,fontSize:B,fontFamily:ae,[`${we}-content-value`]:{display:"inline-block",direction:"ltr"},[`${we}-content-prefix, ${we}-content-suffix`]:{display:"inline-block"},[`${we}-content-prefix`]:{marginInlineEnd:M},[`${we}-content-suffix`]:{marginInlineStart:M}}})}},K=J=>{const{fontSizeHeading3:we,fontSize:M}=J;return{titleFontSize:M,contentFontSize:we}};var O=(0,k.I$)("Statistic",J=>{const we=(0,V.mergeToken)(J,{});return[z(we)]},K),D=function(J,we){var M={};for(var I in J)Object.prototype.hasOwnProperty.call(J,I)&&we.indexOf(I)<0&&(M[I]=J[I]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,I=Object.getOwnPropertySymbols(J);rt<I.length;rt++)we.indexOf(I[rt])<0&&Object.prototype.propertyIsEnumerable.call(J,I[rt])&&(M[I[rt]]=J[I[rt]]);return M},E=J=>{const{prefixCls:we,className:M,rootClassName:I,style:rt,valueStyle:ue,value:le=0,title:B,valueRender:ae,prefix:W,suffix:A,loading:re=!1,formatter:Ve,precision:pe,decimalSeparator:Ze=".",groupSeparator:st=",",onMouseEnter:dt,onMouseLeave:he}=J,Le=D(J,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:At,direction:Fe,className:Re,style:N}=(0,_.dj)("statistic"),_e=At("statistic",we),[ve,de,fe]=O(_e),me=o.createElement(c,{decimalSeparator:Ze,groupSeparator:st,prefixCls:_e,formatter:Ve,precision:pe,value:le}),Oe=Y()(_e,{[`${_e}-rtl`]:Fe==="rtl"},Re,M,I,de,fe),xe=(0,Q.Z)(Le,{aria:!0,data:!0});return ve(o.createElement("div",Object.assign({},xe,{className:Oe,style:Object.assign(Object.assign({},N),rt),onMouseEnter:dt,onMouseLeave:he}),B&&o.createElement("div",{className:`${_e}-title`},B),o.createElement(y.Z,{paragraph:!1,loading:re,className:`${_e}-skeleton`},o.createElement("div",{style:ue,className:`${_e}-content`},W&&o.createElement("span",{className:`${_e}-content-prefix`},W),ae?ae(me):me,A&&o.createElement("span",{className:`${_e}-content-suffix`},A)))))};const ie=[["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 X(J,we){let M=J;const I=/\[[^\]]*]/g,rt=(we.match(I)||[]).map(ae=>ae.slice(1,-1)),ue=we.replace(I,"[]"),le=ie.reduce((ae,W)=>{let[A,re]=W;if(ae.includes(A)){const Ve=Math.floor(M/re);return M-=Ve*re,ae.replace(new RegExp(`${A}+`,"g"),pe=>{const Ze=pe.length;return Ve.toString().padStart(Ze,"0")})}return ae},ue);let B=0;return le.replace(I,()=>{const ae=rt[B];return B+=1,ae})}function q(J,we){const{format:M=""}=we,I=new Date(J).getTime(),rt=Date.now(),ue=Math.max(I-rt,0);return X(ue,M)}var Ee=function(J,we){var M={};for(var I in J)Object.prototype.hasOwnProperty.call(J,I)&&we.indexOf(I)<0&&(M[I]=J[I]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var rt=0,I=Object.getOwnPropertySymbols(J);rt<I.length;rt++)we.indexOf(I[rt])<0&&Object.prototype.propertyIsEnumerable.call(J,I[rt])&&(M[I[rt]]=J[I[rt]]);return M};const Pe=1e3/30;function et(J){return new Date(J).getTime()}const He=J=>{const{value:we,format:M="HH:mm:ss",onChange:I,onFinish:rt}=J,ue=Ee(J,["value","format","onChange","onFinish"]),le=(0,Xe.Z)(),B=o.useRef(null),ae=()=>{rt==null||rt(),B.current&&(clearInterval(B.current),B.current=null)},W=()=>{const Ve=et(we);Ve>=Date.now()&&(B.current=setInterval(()=>{le(),I==null||I(Ve-Date.now()),Ve<Date.now()&&ae()},Pe))};o.useEffect(()=>(W(),()=>{B.current&&(clearInterval(B.current),B.current=null)}),[we]);const A=(Ve,pe)=>q(Ve,Object.assign(Object.assign({},pe),{format:M})),re=Ve=>(0,L.Tm)(Ve,{title:void 0});return o.createElement(E,Object.assign({},ue,{value:we,valueRender:re,formatter:A}))};var Ce=o.memo(He);E.Countdown=Ce;var be=E},34961:function(qr,_t){"use strict";const n=o=>({[o.componentCls]:{[`${o.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${o.motionDurationMid} ${o.motionEaseInOut},
|
|
|
opacity ${o.motionDurationMid} ${o.motionEaseInOut} !important`}},[`${o.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${o.motionDurationMid} ${o.motionEaseInOut},
|
|
|
opacity ${o.motionDurationMid} ${o.motionEaseInOut} !important`}}});_t.Z=n},93873:function(qr,_t,n){"use strict";n.d(_t,{Fm:function(){return k}});var o=n(36237),Xe=n(48746);const L=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}}),ze=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}}),Y=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}}),Q=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}}),_=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}}),y=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}}),U=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}}),T={"move-up":{inKeyframes:U,outKeyframes:c},"move-down":{inKeyframes:L,outKeyframes:ze},"move-left":{inKeyframes:Y,outKeyframes:Q},"move-right":{inKeyframes:_,outKeyframes:y}},k=(V,z)=>{const{antCls:K}=V,O=`${K}-${z}`,{inKeyframes:D,outKeyframes:w}=T[z];return[(0,Xe.R)(O,D,w,V.motionDurationMid),{[`
|
|
|
${O}-enter,
|
|
|
${O}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:V.motionEaseOutCirc},[`${O}-leave`]:{animationTimingFunction:V.motionEaseInOutCirc}}]}},46e3:function(qr,_t,n){"use strict";n.d(_t,{Qt:function(){return Y},Uw:function(){return ze},fJ:function(){return L},ly:function(){return Q},oN:function(){return k}});var o=n(36237),Xe=n(48746);const L=new o.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ze=new o.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Y=new o.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),Q=new o.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),_=new o.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),y=new o.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),U=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}}),T={"slide-up":{inKeyframes:L,outKeyframes:ze},"slide-down":{inKeyframes:Y,outKeyframes:Q},"slide-left":{inKeyframes:_,outKeyframes:y},"slide-right":{inKeyframes:U,outKeyframes:c}},k=(V,z)=>{const{antCls:K}=V,O=`${K}-${z}`,{inKeyframes:D,outKeyframes:w}=T[z];return[(0,Xe.R)(O,D,w,V.motionDurationMid),{[`
|
|
|
${O}-enter,
|
|
|
${O}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:V.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${O}-leave`]:{animationTimingFunction:V.motionEaseInQuint}}]}},37645:function(qr,_t,n){"use strict";n.d(_t,{ZP:function(){return Q},qN:function(){return L},wZ:function(){return ze}});var o=n(36237),Xe=n(36305);const L=8;function ze(_){const{contentRadius:y,limitVerticalRadius:U}=_,c=y>12?y+2:12;return{arrowOffsetHorizontal:c,arrowOffsetVertical:U?L:c}}function Y(_,y){return _?y:{}}function Q(_,y,U){const{componentCls:c,boxShadowPopoverArrow:T,arrowOffsetVertical:k,arrowOffsetHorizontal:V}=_,{arrowDistance:z=0,arrowPlacement:K={left:!0,right:!0,top:!0,bottom:!0}}=U||{};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,T)),{"&:before":{background:y}})]},Y(!!K.top,{[[`&-placement-top > ${c}-arrow`,`&-placement-topLeft > ${c}-arrow`,`&-placement-topRight > ${c}-arrow`].join(",")]:{bottom:z,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":V,[`> ${c}-arrow`]:{left:{_skip_check_:!0,value:V}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(V)})`,[`> ${c}-arrow`]:{right:{_skip_check_:!0,value:V}}}})),Y(!!K.bottom,{[[`&-placement-bottom > ${c}-arrow`,`&-placement-bottomLeft > ${c}-arrow`,`&-placement-bottomRight > ${c}-arrow`].join(",")]:{top:z,transform:"translateY(-100%)"},[`&-placement-bottom > ${c}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":V,[`> ${c}-arrow`]:{left:{_skip_check_:!0,value:V}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(V)})`,[`> ${c}-arrow`]:{right:{_skip_check_:!0,value:V}}}})),Y(!!K.left,{[[`&-placement-left > ${c}-arrow`,`&-placement-leftTop > ${c}-arrow`,`&-placement-leftBottom > ${c}-arrow`].join(",")]:{right:{_skip_check_:!0,value:z},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:k},[`&-placement-leftBottom > ${c}-arrow`]:{bottom:k}})),Y(!!K.right,{[[`&-placement-right > ${c}-arrow`,`&-placement-rightTop > ${c}-arrow`,`&-placement-rightBottom > ${c}-arrow`].join(",")]:{left:{_skip_check_:!0,value:z},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:k},[`&-placement-rightBottom > ${c}-arrow`]:{bottom:k}}))}}},36305:function(qr,_t,n){"use strict";n.d(_t,{W:function(){return L},w:function(){return Xe}});var o=n(36237);function Xe(ze){const{sizePopupArrow:Y,borderRadiusXS:Q,borderRadiusOuter:_}=ze,y=Y/2,U=0,c=y,T=_*1/Math.sqrt(2),k=y-_*(1-1/Math.sqrt(2)),V=y-Q*(1/Math.sqrt(2)),z=_*(Math.sqrt(2)-1)+Q*(1/Math.sqrt(2)),K=2*y-V,O=z,D=2*y-T,w=k,E=2*y-U,ie=c,X=y*Math.sqrt(2)+_*(Math.sqrt(2)-2),q=_*(Math.sqrt(2)-1),Ee=`polygon(${q}px 100%, 50% ${q}px, ${2*y-q}px 100%, ${q}px 100%)`,Pe=`path('M ${U} ${c} A ${_} ${_} 0 0 0 ${T} ${k} L ${V} ${z} A ${Q} ${Q} 0 0 1 ${K} ${O} L ${D} ${w} A ${_} ${_} 0 0 0 ${E} ${ie} Z')`;return{arrowShadowWidth:X,arrowPath:Pe,arrowPolygon:Ee}}const L=(ze,Y,Q)=>{const{sizePopupArrow:_,arrowPolygon:y,arrowPath:U,arrowShadowWidth:c,borderRadiusXS:T,calc:k}=ze;return{pointerEvents:"none",width:_,height:_,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:_,height:k(_).div(2).equal(),background:Y,clipPath:{_multi_value_:!0,value:[y,U]},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)(T)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:Q,zIndex:0,background:"transparent"}}}},71411:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return He}});var o=n(59301),Xe=n(58617),L=n(92310),ze=n.n(L),Y=n(63158),Q=n(18929),_=n(12919),y=n(48755),U=n(2171),c=n(31756),T=n(36237),k=n(17835),V=n(63356),z=n(16931),K=n(51636);const O=Ce=>{const{componentCls:be,trackHeightSM:J,trackPadding:we,trackMinWidthSM:M,innerMinMarginSM:I,innerMaxMarginSM:rt,handleSizeSM:ue,calc:le}=Ce,B=`${be}-inner`,ae=(0,T.unit)(le(ue).add(le(we).mul(2)).equal()),W=(0,T.unit)(le(rt).mul(2).equal());return{[be]:{[`&${be}-small`]:{minWidth:M,height:J,lineHeight:(0,T.unit)(J),[`${be}-inner`]:{paddingInlineStart:rt,paddingInlineEnd:I,[`${B}-checked, ${B}-unchecked`]:{minHeight:J},[`${B}-checked`]:{marginInlineStart:`calc(-100% + ${ae} - ${W})`,marginInlineEnd:`calc(100% - ${ae} + ${W})`},[`${B}-unchecked`]:{marginTop:le(J).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${be}-handle`]:{width:ue,height:ue},[`${be}-loading-icon`]:{top:le(le(ue).sub(Ce.switchLoadingIconSize)).div(2).equal(),fontSize:Ce.switchLoadingIconSize},[`&${be}-checked`]:{[`${be}-inner`]:{paddingInlineStart:I,paddingInlineEnd:rt,[`${B}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${B}-unchecked`]:{marginInlineStart:`calc(100% - ${ae} + ${W})`,marginInlineEnd:`calc(-100% + ${ae} - ${W})`}},[`${be}-handle`]:{insetInlineStart:`calc(100% - ${(0,T.unit)(le(ue).add(we).equal())})`}},[`&:not(${be}-disabled):active`]:{[`&:not(${be}-checked) ${B}`]:{[`${B}-unchecked`]:{marginInlineStart:le(Ce.marginXXS).div(2).equal(),marginInlineEnd:le(Ce.marginXXS).mul(-1).div(2).equal()}},[`&${be}-checked ${B}`]:{[`${B}-checked`]:{marginInlineStart:le(Ce.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:le(Ce.marginXXS).div(2).equal()}}}}}}},D=Ce=>{const{componentCls:be,handleSize:J,calc:we}=Ce;return{[be]:{[`${be}-loading-icon${Ce.iconCls}`]:{position:"relative",top:we(we(J).sub(Ce.fontSize)).div(2).equal(),color:Ce.switchLoadingIconColor,verticalAlign:"top"},[`&${be}-checked ${be}-loading-icon`]:{color:Ce.switchColor}}}},w=Ce=>{const{componentCls:be,trackPadding:J,handleBg:we,handleShadow:M,handleSize:I,calc:rt}=Ce,ue=`${be}-handle`;return{[be]:{[ue]:{position:"absolute",top:J,insetInlineStart:J,width:I,height:I,transition:`all ${Ce.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:we,borderRadius:rt(I).div(2).equal(),boxShadow:M,transition:`all ${Ce.switchDuration} ease-in-out`,content:'""'}},[`&${be}-checked ${ue}`]:{insetInlineStart:`calc(100% - ${(0,T.unit)(rt(I).add(J).equal())})`},[`&:not(${be}-disabled):active`]:{[`${ue}::before`]:{insetInlineEnd:Ce.switchHandleActiveInset,insetInlineStart:0},[`&${be}-checked ${ue}::before`]:{insetInlineEnd:0,insetInlineStart:Ce.switchHandleActiveInset}}}}},E=Ce=>{const{componentCls:be,trackHeight:J,trackPadding:we,innerMinMargin:M,innerMaxMargin:I,handleSize:rt,calc:ue}=Ce,le=`${be}-inner`,B=(0,T.unit)(ue(rt).add(ue(we).mul(2)).equal()),ae=(0,T.unit)(ue(I).mul(2).equal());return{[be]:{[le]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:I,paddingInlineEnd:M,transition:`padding-inline-start ${Ce.switchDuration} ease-in-out, padding-inline-end ${Ce.switchDuration} ease-in-out`,[`${le}-checked, ${le}-unchecked`]:{display:"block",color:Ce.colorTextLightSolid,fontSize:Ce.fontSizeSM,transition:`margin-inline-start ${Ce.switchDuration} ease-in-out, margin-inline-end ${Ce.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:J},[`${le}-checked`]:{marginInlineStart:`calc(-100% + ${B} - ${ae})`,marginInlineEnd:`calc(100% - ${B} + ${ae})`},[`${le}-unchecked`]:{marginTop:ue(J).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${be}-checked ${le}`]:{paddingInlineStart:M,paddingInlineEnd:I,[`${le}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${le}-unchecked`]:{marginInlineStart:`calc(100% - ${B} + ${ae})`,marginInlineEnd:`calc(-100% + ${B} - ${ae})`}},[`&:not(${be}-disabled):active`]:{[`&:not(${be}-checked) ${le}`]:{[`${le}-unchecked`]:{marginInlineStart:ue(we).mul(2).equal(),marginInlineEnd:ue(we).mul(-1).mul(2).equal()}},[`&${be}-checked ${le}`]:{[`${le}-checked`]:{marginInlineStart:ue(we).mul(-1).mul(2).equal(),marginInlineEnd:ue(we).mul(2).equal()}}}}}},ie=Ce=>{const{componentCls:be,trackHeight:J,trackMinWidth:we}=Ce;return{[be]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,V.Wf)(Ce)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:we,height:J,lineHeight:(0,T.unit)(J),verticalAlign:"middle",background:Ce.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${Ce.motionDurationMid}`,userSelect:"none",[`&:hover:not(${be}-disabled)`]:{background:Ce.colorTextTertiary}}),(0,V.Qy)(Ce)),{[`&${be}-checked`]:{background:Ce.switchColor,[`&:hover:not(${be}-disabled)`]:{background:Ce.colorPrimaryHover}},[`&${be}-loading, &${be}-disabled`]:{cursor:"not-allowed",opacity:Ce.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${be}-rtl`]:{direction:"rtl"}})}},X=Ce=>{const{fontSize:be,lineHeight:J,controlHeight:we,colorWhite:M}=Ce,I=be*J,rt=we/2,ue=2,le=I-ue*2,B=rt-ue*2;return{trackHeight:I,trackHeightSM:rt,trackMinWidth:le*2+ue*4,trackMinWidthSM:B*2+ue*2,trackPadding:ue,handleBg:M,handleSize:le,handleSizeSM:B,handleShadow:`0 2px 4px 0 ${new k.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:le/2,innerMaxMargin:le+ue+ue*2,innerMinMarginSM:B/2,innerMaxMarginSM:B+ue+ue*2}};var q=(0,z.I$)("Switch",Ce=>{const be=(0,K.mergeToken)(Ce,{switchDuration:Ce.motionDurationMid,switchColor:Ce.colorPrimary,switchDisabledOpacity:Ce.opacityLoading,switchLoadingIconSize:Ce.calc(Ce.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${Ce.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ie(be),E(be),w(be),D(be),O(be)]},X),Ee=function(Ce,be){var J={};for(var we in Ce)Object.prototype.hasOwnProperty.call(Ce,we)&&be.indexOf(we)<0&&(J[we]=Ce[we]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,we=Object.getOwnPropertySymbols(Ce);M<we.length;M++)be.indexOf(we[M])<0&&Object.prototype.propertyIsEnumerable.call(Ce,we[M])&&(J[we[M]]=Ce[we[M]]);return J};const et=o.forwardRef((Ce,be)=>{const{prefixCls:J,size:we,disabled:M,loading:I,className:rt,rootClassName:ue,style:le,checked:B,value:ae,defaultChecked:W,defaultValue:A,onChange:re}=Ce,Ve=Ee(Ce,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[pe,Ze]=(0,Q.Z)(!1,{value:B!=null?B:ae,defaultValue:W!=null?W:A}),{getPrefixCls:st,direction:dt,switch:he}=o.useContext(y.E_),Le=o.useContext(U.Z),At=(M!=null?M:Le)||I,Fe=st("switch",J),Re=o.createElement("div",{className:`${Fe}-handle`},I&&o.createElement(Xe.Z,{className:`${Fe}-loading-icon`})),[N,_e,ve]=q(Fe),de=(0,c.Z)(we),fe=ze()(he==null?void 0:he.className,{[`${Fe}-small`]:de==="small",[`${Fe}-loading`]:I,[`${Fe}-rtl`]:dt==="rtl"},rt,ue,_e,ve),me=Object.assign(Object.assign({},he==null?void 0:he.style),le),Oe=function(){Ze(arguments.length<=0?void 0:arguments[0]),re==null||re.apply(void 0,arguments)};return N(o.createElement(_.Z,{component:"Switch"},o.createElement(Y.Z,Object.assign({},Ve,{checked:pe,onChange:Oe,prefixCls:Fe,className:fe,style:me,disabled:At,ref:be,loadingIcon:Re}))))});et.__ANT_SWITCH=!0;var He=et},54172:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Qt}});var o=n(59301),Xe=n(4030),ze=tt=>null,Q=tt=>null,_=n(94480),y=n(84105),U=n(92310),c=n.n(U),T=n(82661),k=n(34643),V=n(34061),z=n(18929);function K(tt){const[Se,kt]=(0,o.useState)(null);return[(0,o.useCallback)((Jt,ke,Te)=>{const lt=Se!=null?Se:Jt,Ot=Math.min(lt||0,Jt),dr=Math.max(lt||0,Jt),vr=ke.slice(Ot,dr+1).map(ur=>tt(ur)),Zt=vr.some(ur=>!Te.has(ur)),Mt=[];return vr.forEach(ur=>{Zt?(Te.has(ur)||Mt.push(ur),Te.add(ur)):(Te.delete(ur),Mt.push(ur))}),kt(Zt?dr:null),Mt},[Se]),Jt=>{kt(Jt)}]}var O=n(32383),D=n(62673),w=n(75727),E=n(47889);const ie={},X="SELECT_ALL",q="SELECT_INVERT",Ee="SELECT_NONE",Pe=[],et=(tt,Se)=>{let kt=[];return(Se||[]).forEach(Ft=>{kt.push(Ft),Ft&&typeof Ft=="object"&&tt in Ft&&(kt=[].concat((0,_.Z)(kt),(0,_.Z)(et(tt,Ft[tt]))))}),kt};var Ce=(tt,Se)=>{const{preserveSelectedRowKeys:kt,selectedRowKeys:Ft,defaultSelectedRowKeys:Ct,getCheckboxProps:Jt,onChange:ke,onSelect:Te,onSelectAll:lt,onSelectInvert:Ot,onSelectNone:dr,onSelectMultiple:vr,columnWidth:Zt,type:Mt,selections:ur,fixed:Yt,renderCell:xr,hideSelectAll:je,checkStrictly:vt=!0}=Se||{},{prefixCls:jt,data:it,pageData:qt,getRecordByKey:nr,getRowKey:Or,expandType:Ar,childrenColumnName:Rr,locale:Hr,getPopupContainer:ln}=tt,yn=(0,O.ln)("Table"),[Lr,Nt]=K(Ln=>Ln),[ba,da]=(0,z.Z)(Ft||Ct||Pe,{value:Ft}),Wn=o.useRef(new Map),Jr=(0,o.useCallback)(Ln=>{if(kt){const Xn=new Map;Ln.forEach(rn=>{let fn=nr(rn);!fn&&Wn.current.has(rn)&&(fn=Wn.current.get(rn)),Xn.set(rn,fn)}),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=it;if(kt){const Xn=new Set(Vr.map((fn,sa)=>Or(fn,sa))),rn=Array.from(Wn.current).reduce((fn,sa)=>{let[xn,ha]=sa;return Xn.has(xn)?fn:fn.concat(ha)},[]);Ln=[].concat((0,_.Z)(Ln),(0,_.Z)(rn))}return(0,V.I8)(Ln,{externalGetKey:Or,childrenPropName:Rr})},[it,Or,vt,Rr,kt,Vr]),oa=(0,o.useMemo)(()=>{const Ln=new Map;return Vr.forEach((Xn,rn)=>{const fn=Or(Xn,rn),sa=(Jt?Jt(Xn):null)||{};Ln.set(fn,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,k.S)(ba,!0,En,_n);return[Ln||[],Xn]},[ba,vt,En,_n]),Qn=(0,o.useMemo)(()=>{const Ln=Mt==="radio"?xa.slice(0,1):xa;return new Set(Ln)},[xa,Mt]),ka=(0,o.useMemo)(()=>Mt==="radio"?new Set:new Set(qn),[qn,Mt]);o.useEffect(()=>{Se||da(Pe)},[!!Se]);const ra=(0,o.useCallback)((Ln,Xn)=>{let rn,fn;Jr(Ln),kt?(rn=Ln,fn=Ln.map(sa=>Wn.current.get(sa))):(rn=[],fn=[],Ln.forEach(sa=>{const xn=nr(sa);xn!==void 0&&(rn.push(sa),fn.push(xn))})),da(rn),ke==null||ke(rn,fn,{type:Xn})},[da,nr,ke,kt]),Hn=(0,o.useCallback)((Ln,Xn,rn,fn)=>{if(Te){const sa=rn.map(xn=>nr(xn));Te(nr(Ln),Xn,sa,fn)}ra(rn,"single")},[Te,nr,ra]),ea=(0,o.useMemo)(()=>!ur||je?null:(ur===!0?[X,q,Ee]:ur).map(Xn=>Xn===X?{key:"all",text:Hr.selectionAll,onSelect(){ra(it.map((rn,fn)=>Or(rn,fn)).filter(rn=>{const fn=oa.get(rn);return!(fn!=null&&fn.disabled)||Qn.has(rn)}),"all")}}:Xn===q?{key:"invert",text:Hr.selectInvert,onSelect(){const rn=new Set(Qn);qt.forEach((sa,xn)=>{const ha=Or(sa,xn),Vn=oa.get(ha);Vn!=null&&Vn.disabled||(rn.has(ha)?rn.delete(ha):rn.add(ha))});const fn=Array.from(rn);Ot&&(yn.deprecated(!1,"onSelectInvert","onChange"),Ot(fn)),ra(fn,"invert")}}:Xn===Ee?{key:"none",text:Hr.selectNone,onSelect(){dr==null||dr(),ra(Array.from(Qn).filter(rn=>{const fn=oa.get(rn);return fn==null?void 0:fn.disabled}),"none")}}:Xn).map(Xn=>Object.assign(Object.assign({},Xn),{onSelect:function(){for(var rn,fn,sa=arguments.length,xn=new Array(sa),ha=0;ha<sa;ha++)xn[ha]=arguments[ha];(fn=Xn.onSelect)===null||fn===void 0||(rn=fn).call.apply(rn,[Xn].concat(xn)),Nt(null)}})),[ur,Qn,qt,Or,Ot,ra]);return[(0,o.useCallback)(Ln=>{var Xn;if(!Se)return Ln.filter(Aa=>Aa!==ie);let rn=(0,_.Z)(Ln);const fn=new Set(Qn),sa=Vr.map(Or).filter(Aa=>!oa.get(Aa).disabled),xn=sa.every(Aa=>fn.has(Aa)),ha=sa.some(Aa=>fn.has(Aa)),Vn=()=>{const Aa=[];xn?sa.forEach(Ta=>{fn.delete(Ta),Aa.push(Ta)}):sa.forEach(Ta=>{fn.has(Ta)||(fn.add(Ta),Aa.push(Ta))});const ja=Array.from(fn);lt==null||lt(!xn,ja.map(Ta=>nr(Ta)),Aa.map(Ta=>nr(Ta))),ra(ja,"all"),Nt(null)};let Ha,qa;if(Mt!=="radio"){let Aa;if(ea){const ma={getPopupContainer:ln,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:`${jt}-selection-extra`},o.createElement(w.Z,{menu:ma,getPopupContainer:ln},o.createElement("span",null,o.createElement(y.Z,null))))}const ja=Vr.map((ma,Ka)=>{const La=Or(ma,Ka),Qa=oa.get(La)||{};return Object.assign({checked:fn.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(D.default,{checked:Ta?Na:!!Vr.length&&xn,indeterminate:Ta?!Na&&Ba:!xn&&ha,onChange:Vn,disabled:Vr.length===0||Ta,"aria-label":Aa?"Custom selection":"Select all",skipGroup:!0}),Ha=!je&&o.createElement("div",{className:`${jt}-selection`},qa,Aa)}let vn;Mt==="radio"?vn=(Aa,ja,Ta)=>{const Na=Or(ja,Ta),Ba=fn.has(Na),ma=oa.get(Na);return{node:o.createElement(E.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;fn.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}}:vn=(Aa,ja,Ta)=>{var Na;const Ba=Or(ja,Ta),ma=fn.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(D.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,fn),No=Array.from(fn);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,T._5)(ho,Ba):(0,T.L0)(ho,Ba);Hn(Ba,!ma,No,Ao)}else{const No=(0,k.S)([].concat((0,_.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,k.S)(Array.from(ei),{checked:!1,halfCheckedKeys:ii},En,_n).checkedKeys}Hn(Ba,!ma,Ho,Ao)}}Nt(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}=vn(Aa,ja,Ta);return xr?xr(Ba,ja,Ta,Na):Na};if(!rn.includes(ie))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,ie].concat((0,_.Z)(ja))}else rn=[ie].concat((0,_.Z)(rn));const fa=rn.indexOf(ie);rn=rn.filter((Aa,ja)=>Aa!==ie||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()(`${jt}-selection-col`,{[`${jt}-selection-col-with-dropdown`]:ur&&Mt==="checkbox"}),la=()=>Se!=null&&Se.columnTitle?typeof Se.columnTitle=="function"?Se.columnTitle(qa):Se.columnTitle:Ha,Io={fixed:io,width:Zt,className:`${jt}-selection-column`,title:la(),render:Pn,onCell:Se.onCell,[Xe.vP]:{className:so}};return rn.map(Aa=>Aa===ie?Io:Aa)},[Or,Vr,Se,xa,Qn,ka,Zt,ea,Ar,oa,vr,Hn,_n]),Qn]},be=n(97347),J=n(2738);function we(tt,Se){return tt._antProxy=tt._antProxy||{},Object.keys(Se).forEach(kt=>{if(!(kt in tt._antProxy)){const Ft=tt[kt];tt._antProxy[kt]=Ft,tt[kt]=Se[kt]}}),tt}function M(tt,Se){return(0,o.useImperativeHandle)(tt,()=>{const kt=Se(),{nativeElement:Ft}=kt;return typeof Proxy!="undefined"?new Proxy(Ft,{get(Ct,Jt){return kt[Jt]?kt[Jt]:Reflect.get(Ct,Jt)}}):we(Ft,kt)})}var I=n(83010),rt=n(48755),ue=n(38406),le=n(83397),B=n(31756),ae=n(13783),W=n(85981),A=n(13747),re=n(29787),Ve=n(57700);function pe(tt){return Se=>{const{prefixCls:kt,onExpand:Ft,record:Ct,expanded:Jt,expandable:ke}=Se,Te=`${kt}-row-expand-icon`;return o.createElement("button",{type:"button",onClick:lt=>{Ft(Ct,lt),lt.stopPropagation()},className:c()(Te,{[`${Te}-spaced`]:!ke,[`${Te}-expanded`]:ke&&Jt,[`${Te}-collapsed`]:ke&&!Jt}),"aria-label":Jt?tt.collapse:tt.expand,"aria-expanded":Jt})}}var Ze=pe;function st(tt){return(kt,Ft)=>{const Ct=kt.querySelector(`.${tt}-container`);let Jt=Ft;if(Ct){const ke=getComputedStyle(Ct),Te=parseInt(ke.borderLeftWidth,10),lt=parseInt(ke.borderRightWidth,10);Jt=Ft-Te-lt}return Jt}}const dt=(tt,Se)=>"key"in tt&&tt.key!==void 0&&tt.key!==null?tt.key:tt.dataIndex?Array.isArray(tt.dataIndex)?tt.dataIndex.join("."):tt.dataIndex:Se;function he(tt,Se){return Se?`${Se}-${tt}`:`${tt}`}const Le=(tt,Se)=>typeof tt=="function"?tt(Se):tt,At=(tt,Se)=>{const kt=Le(tt,Se);return Object.prototype.toString.call(kt)==="[object Object]"?"":kt};var Fe=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"},N=Re,_e=n(7657),ve=function(Se,kt){return o.createElement(_e.Z,(0,Fe.Z)({},Se,{ref:kt,icon:N}))},de=o.forwardRef(ve),fe=de,me=n(13697),Oe=n(9981),xe=n(40192);function Ne(tt){const Se=o.useRef(tt),kt=(0,xe.Z)();return[()=>Se.current,Ft=>{Se.current=Ft,kt()}]}var Ye=n(99571),pt=n(584),$t=n(93041),Xt=n(78857),Ut=n(18287),Dt=n(47472),at=n(49397),xt=tt=>{const{value:Se,filterSearch:kt,tablePrefixCls:Ft,locale:Ct,onChange:Jt}=tt;return kt?o.createElement("div",{className:`${Ft}-filter-dropdown-search`},o.createElement(at.Z,{prefix:o.createElement(Dt.Z,null),placeholder:Ct.filterSearchPlaceholder,onChange:Jt,value:Se,htmlSize:1,className:`${Ft}-filter-dropdown-search-input`})):null},ht=n(10228);const tr=tt=>{const{keyCode:Se}=tt;Se===ht.Z.ENTER&&tt.stopPropagation()};var hr=o.forwardRef((tt,Se)=>o.createElement("div",{className:tt.className,onClick:kt=>kt.stopPropagation(),onKeyDown:tr,ref:Se},tt.children));function Ir(tt){let Se=[];return(tt||[]).forEach(kt=>{let{value:Ft,children:Ct}=kt;Se.push(Ft),Ct&&(Se=[].concat((0,_.Z)(Se),(0,_.Z)(Ir(Ct))))}),Se}function tn(tt){return tt.some(Se=>{let{children:kt}=Se;return kt})}function Pr(tt,Se){return typeof Se=="string"||typeof Se=="number"?Se==null?void 0:Se.toString().toLowerCase().includes(tt.trim().toLowerCase()):!1}function x(tt){let{filters:Se,prefixCls:kt,filteredKeys:Ft,filterMultiple:Ct,searchValue:Jt,filterSearch:ke}=tt;return Se.map((Te,lt)=>{const Ot=String(Te.value);if(Te.children)return{key:Ot||lt,label:Te.text,popupClassName:`${kt}-dropdown-submenu`,children:x({filters:Te.children,prefixCls:kt,filteredKeys:Ft,filterMultiple:Ct,searchValue:Jt,filterSearch:ke})};const dr=Ct?D.default:E.ZP,vr={key:Te.value!==void 0?Ot:lt,label:o.createElement(o.Fragment,null,o.createElement(dr,{checked:Ft.includes(Ot)}),o.createElement("span",null,Te.text))};return Jt.trim()?typeof ke=="function"?ke(Jt,Te)?vr:null:Pr(Jt,Te.text)?vr:null:vr})}function F(tt){return tt||[]}var oe=tt=>{var Se,kt,Ft,Ct;const{tablePrefixCls:Jt,prefixCls:ke,column:Te,dropdownPrefixCls:lt,columnKey:Ot,filterOnClose:dr,filterMultiple:vr,filterMode:Zt="menu",filterSearch:Mt=!1,filterState:ur,triggerFilter:Yt,locale:xr,children:je,getPopupContainer:vt,rootClassName:jt}=tt,{filterResetToDefaultFilteredValue:it,defaultFilteredValue:qt,filterDropdownProps:nr={},filterDropdownOpen:Or,filterDropdownVisible:Ar,onFilterDropdownVisibleChange:Rr,onFilterDropdownOpenChange:Hr}=Te,[ln,yn]=o.useState(!1),Lr=!!(ur&&(!((Se=ur.filteredKeys)===null||Se===void 0)&&Se.length||ur.forceFiltered)),Nt=vn=>{var Pn;yn(vn),(Pn=nr.onOpenChange)===null||Pn===void 0||Pn.call(nr,vn),Hr==null||Hr(vn),Rr==null||Rr(vn)},ba=(Ct=(Ft=(kt=nr.open)!==null&&kt!==void 0?kt:Or)!==null&&Ft!==void 0?Ft:Ar)!==null&&Ct!==void 0?Ct:ln,da=ur==null?void 0:ur.filteredKeys,[Wn,Jr]=Ne(F(da)),Vr=vn=>{let{selectedKeys:Pn}=vn;Jr(Pn)},En=(vn,Pn)=>{let{node:fa,checked:Ja}=Pn;Vr(vr?{selectedKeys:vn}:{selectedKeys:Ja&&fa.key?[fa.key]:[]})};o.useEffect(()=>{ln&&Vr({selectedKeys:F(da)})},[da]);const[oa,_n]=o.useState([]),xa=vn=>{_n(vn)},[qn,Qn]=o.useState(""),ka=vn=>{const{value:Pn}=vn.target;Qn(Pn)};o.useEffect(()=>{ln||Qn("")},[ln]);const ra=vn=>{const Pn=vn!=null&&vn.length?vn:null;if(Pn===null&&(!ur||!ur.filteredKeys)||(0,me.Z)(Pn,ur==null?void 0:ur.filteredKeys,!0))return null;Yt({column:Te,key:Ot,filteredKeys:Pn})},Hn=()=>{Nt(!1),ra(Wn())},ea=function(){let{confirm:vn,closeDropdown:Pn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};vn&&ra([]),Pn&&Nt(!1),Qn(""),Jr(it?(qt||[]).map(fa=>String(fa)):[])},Un=function(){let{closeDropdown:vn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};vn&&Nt(!1),ra(Wn())},Ln=(vn,Pn)=>{Pn.source==="trigger"&&(vn&&da!==void 0&&Jr(F(da)),Nt(vn),!vn&&!Te.filterDropdown&&dr&&Hn())},Xn=c()({[`${lt}-menu-without-submenu`]:!tn(Te.filters||[])}),rn=vn=>{if(vn.target.checked){const Pn=Ir(Te==null?void 0:Te.filters).map(fa=>String(fa));Jr(Pn)}else Jr([])},fn=vn=>{let{filters:Pn}=vn;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=fn({filters:fa.children})),io})},sa=vn=>{var Pn;return Object.assign(Object.assign({},vn),{text:vn.title,value:vn.key,children:((Pn=vn.children)===null||Pn===void 0?void 0:Pn.map(fa=>sa(fa)))||[]})};let xn;const{direction:ha,renderEmpty:Vn}=o.useContext(rt.E_);if(typeof Te.filterDropdown=="function")xn=Te.filterDropdown({prefixCls:`${lt}-custom`,setSelectedKeys:vn=>Vr({selectedKeys:vn}),selectedKeys:Wn(),confirm:Un,clearFilters:ea,filters:Te.filters,visible:ba,close:()=>{Nt(!1)}});else if(Te.filterDropdown)xn=Te.filterDropdown;else{const vn=Wn()||[],Pn=()=>{var Ja,Ga;const io=(Ja=Vn==null?void 0:Vn("Table.filter"))!==null&&Ja!==void 0?Ja:o.createElement(pt.Z,{image:pt.Z.PRESENTED_IMAGE_SIMPLE,description:xr.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Te.filters||[]).length===0)return io;if(Zt==="tree")return o.createElement(o.Fragment,null,o.createElement(xt,{filterSearch:Mt,value:qn,onChange:ka,tablePrefixCls:Jt,locale:xr}),o.createElement("div",{className:`${Jt}-filter-dropdown-tree`},vr?o.createElement(D.default,{checked:vn.length===Ir(Te.filters).length,indeterminate:vn.length>0&&vn.length<Ir(Te.filters).length,className:`${Jt}-filter-dropdown-checkall`,onChange:rn},(Ga=xr==null?void 0:xr.filterCheckall)!==null&&Ga!==void 0?Ga:xr==null?void 0:xr.filterCheckAll):null,o.createElement(Ut.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:vr,checkStrictly:!vr,className:`${lt}-menu`,onCheck:En,checkedKeys:vn,selectedKeys:vn,showIcon:!1,treeData:fn({filters:Te.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:qn.trim()?Io=>typeof Mt=="function"?Mt(qn,sa(Io)):Pr(qn,Io.title):void 0})));const so=x({filters:Te.filters||[],filterSearch:Mt,prefixCls:ke,filteredKeys:Wn(),filterMultiple:vr,searchValue:qn}),la=so.every(Io=>Io===null);return o.createElement(o.Fragment,null,o.createElement(xt,{filterSearch:Mt,value:qn,onChange:ka,tablePrefixCls:Jt,locale:xr}),la?io:o.createElement($t.default,{selectable:!0,multiple:vr,prefixCls:`${lt}-menu`,className:Xn,onSelect:Vr,onDeselect:Vr,selectedKeys:vn,getPopupContainer:vt,openKeys:oa,onOpenChange:xa,items:so}))},fa=()=>it?(0,me.Z)((qt||[]).map(Ja=>String(Ja)),vn,!0):vn.length===0;xn=o.createElement(o.Fragment,null,Pn(),o.createElement("div",{className:`${ke}-dropdown-btns`},o.createElement(Ye.ZP,{type:"link",size:"small",disabled:fa(),onClick:()=>ea()},xr.filterReset),o.createElement(Ye.ZP,{type:"primary",size:"small",onClick:Hn},xr.filterConfirm)))}Te.filterDropdown&&(xn=o.createElement(Xt.J,{selectable:void 0},xn)),xn=o.createElement(hr,{className:`${ke}-dropdown`},xn);const Ha=()=>{let vn;return typeof Te.filterIcon=="function"?vn=Te.filterIcon(Lr):Te.filterIcon?vn=Te.filterIcon:vn=o.createElement(fe,null),o.createElement("span",{role:"button",tabIndex:-1,className:c()(`${ke}-trigger`,{active:Lr}),onClick:Pn=>{Pn.stopPropagation()}},vn)},qa=(0,Oe.Z)({trigger:["click"],placement:ha==="rtl"?"bottomLeft":"bottomRight",children:Ha(),getPopupContainer:vt},Object.assign(Object.assign({},nr),{rootClassName:c()(jt,nr.rootClassName),open:ba,onOpenChange:Ln,dropdownRender:()=>typeof(nr==null?void 0:nr.dropdownRender)=="function"?nr.dropdownRender(xn):xn}));return o.createElement("div",{className:`${ke}-column`},o.createElement("span",{className:`${Jt}-column-title`},je),o.createElement(w.Z,Object.assign({},qa)))};const Be=(tt,Se,kt)=>{let Ft=[];return(tt||[]).forEach((Ct,Jt)=>{var ke;const Te=he(Jt,kt);if(Ct.filters||"filterDropdown"in Ct||"onFilter"in Ct)if("filteredValue"in Ct){let lt=Ct.filteredValue;"filterDropdown"in Ct||(lt=(ke=lt==null?void 0:lt.map(String))!==null&&ke!==void 0?ke:lt),Ft.push({column:Ct,key:dt(Ct,Te),filteredKeys:lt,forceFiltered:Ct.filtered})}else Ft.push({column:Ct,key:dt(Ct,Te),filteredKeys:Se&&Ct.defaultFilteredValue?Ct.defaultFilteredValue:void 0,forceFiltered:Ct.filtered});"children"in Ct&&(Ft=[].concat((0,_.Z)(Ft),(0,_.Z)(Be(Ct.children,Se,Te))))}),Ft};function kr(tt,Se,kt,Ft,Ct,Jt,ke,Te,lt){return kt.map((Ot,dr)=>{const vr=he(dr,Te),{filterOnClose:Zt=!0,filterMultiple:Mt=!0,filterMode:ur,filterSearch:Yt}=Ot;let xr=Ot;if(xr.filters||xr.filterDropdown){const je=dt(xr,vr),vt=Ft.find(jt=>{let{key:it}=jt;return je===it});xr=Object.assign(Object.assign({},xr),{title:jt=>o.createElement(oe,{tablePrefixCls:tt,prefixCls:`${tt}-filter`,dropdownPrefixCls:Se,column:xr,columnKey:je,filterState:vt,filterOnClose:Zt,filterMultiple:Mt,filterMode:ur,filterSearch:Yt,triggerFilter:Jt,locale:Ct,getPopupContainer:ke,rootClassName:lt},Le(Ot.title,jt))})}return"children"in xr&&(xr=Object.assign(Object.assign({},xr),{children:kr(tt,Se,xr.children,Ft,Ct,Jt,ke,vr,lt)})),xr})}const Br=tt=>{const Se={};return tt.forEach(kt=>{let{key:Ft,filteredKeys:Ct,column:Jt}=kt;const ke=Ft,{filters:Te,filterDropdown:lt}=Jt;if(lt)Se[ke]=Ct||null;else if(Array.isArray(Ct)){const Ot=Ir(Te);Se[ke]=Ot.filter(dr=>Ct.includes(String(dr)))}else Se[ke]=null}),Se},wn=(tt,Se,kt)=>Se.reduce((Ct,Jt)=>{const{column:{onFilter:ke,filters:Te},filteredKeys:lt}=Jt;return ke&<&<.length?Ct.map(Ot=>Object.assign({},Ot)).filter(Ot=>lt.some(dr=>{const vr=Ir(Te),Zt=vr.findIndex(ur=>String(ur)===String(dr)),Mt=Zt!==-1?vr[Zt]:dr;return Ot[kt]&&(Ot[kt]=wn(Ot[kt],Se,kt)),ke(Mt,Ot)})):Ct},tt),Fn=tt=>tt.flatMap(Se=>"children"in Se?[Se].concat((0,_.Z)(Fn(Se.children||[]))):[Se]);var Sr=tt=>{const{prefixCls:Se,dropdownPrefixCls:kt,mergedColumns:Ft,onFilterChange:Ct,getPopupContainer:Jt,locale:ke,rootClassName:Te}=tt,lt=(0,O.ln)("Table"),Ot=o.useMemo(()=>Fn(Ft||[]),[Ft]),[dr,vr]=o.useState(()=>Be(Ot,!0)),Zt=o.useMemo(()=>{const xr=Be(Ot,!1);if(xr.length===0)return xr;let je=!0,vt=!0;if(xr.forEach(jt=>{let{filteredKeys:it}=jt;it!==void 0?je=!1:vt=!1}),je){const jt=(Ot||[]).map((it,qt)=>dt(it,he(qt)));return dr.filter(it=>{let{key:qt}=it;return jt.includes(qt)}).map(it=>{const qt=Ot[jt.findIndex(nr=>nr===it.key)];return Object.assign(Object.assign({},it),{column:Object.assign(Object.assign({},it.column),qt),forceFiltered:qt.filtered})})}return xr},[Ot,dr]),Mt=o.useMemo(()=>Br(Zt),[Zt]),ur=xr=>{const je=Zt.filter(vt=>{let{key:jt}=vt;return jt!==xr.key});je.push(xr),vr(je),Ct(Br(je),je)};return[xr=>kr(Se,kt,xr,Zt,ke,ur,Jt,void 0,Te),Zt,Mt]},S=(tt,Se,kt)=>{const Ft=o.useRef({});function Ct(Jt){var ke;if(!Ft.current||Ft.current.data!==tt||Ft.current.childrenColumnName!==Se||Ft.current.getRowKey!==kt){let lt=function(Ot){Ot.forEach((dr,vr)=>{const Zt=kt(dr,vr);Te.set(Zt,dr),dr&&typeof dr=="object"&&Se in dr&<(dr[Se]||[])})};const Te=new Map;lt(tt),Ft.current={data:tt,childrenColumnName:Se,kvMap:Te,getRowKey:kt}}return(ke=Ft.current.kvMap)===null||ke===void 0?void 0:ke.get(Jt)}return[Ct]},v=function(tt,Se){var kt={};for(var Ft in tt)Object.prototype.hasOwnProperty.call(tt,Ft)&&Se.indexOf(Ft)<0&&(kt[Ft]=tt[Ft]);if(tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ct=0,Ft=Object.getOwnPropertySymbols(tt);Ct<Ft.length;Ct++)Se.indexOf(Ft[Ct])<0&&Object.prototype.propertyIsEnumerable.call(tt,Ft[Ct])&&(kt[Ft[Ct]]=tt[Ft[Ct]]);return kt};const Gt=10;function $(tt,Se){const kt={current:tt.current,pageSize:tt.pageSize};return Object.keys(Se&&typeof Se=="object"?Se:{}).forEach(Ct=>{const Jt=tt[Ct];typeof Jt!="function"&&(kt[Ct]=Jt)}),kt}function Ae(tt,Se,kt){const Ft=kt&&typeof kt=="object"?kt:{},{total:Ct=0}=Ft,Jt=v(Ft,["total"]),[ke,Te]=(0,o.useState)(()=>({current:"defaultCurrent"in Jt?Jt.defaultCurrent:1,pageSize:"defaultPageSize"in Jt?Jt.defaultPageSize:Gt})),lt=(0,Oe.Z)(ke,Jt,{total:Ct>0?Ct:tt}),Ot=Math.ceil((Ct||tt)/lt.pageSize);lt.current>Ot&&(lt.current=Ot||1);const dr=(Zt,Mt)=>{Te({current:Zt!=null?Zt:1,pageSize:Mt||lt.pageSize})},vr=(Zt,Mt)=>{var ur;kt&&((ur=kt.onChange)===null||ur===void 0||ur.call(kt,Zt,Mt)),dr(Zt,Mt),Se(Zt,Mt||(lt==null?void 0:lt.pageSize))};return kt===!1?[{},()=>{}]:[Object.assign(Object.assign({},lt),{onChange:vr}),dr]}var Cn=Ae,Zr=n(89489),Ht=n(59477),Vt=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,St=(tt,Se)=>Se?tt[tt.indexOf(Se)+1]:tt[0],Bt=(tt,Se,kt)=>{let Ft=[];const Ct=(Jt,ke)=>{Ft.push({column:Jt,key:dt(Jt,ke),multiplePriority:an(Jt),sortOrder:Jt.sortOrder})};return(tt||[]).forEach((Jt,ke)=>{const Te=he(ke,kt);Jt.children?("sortOrder"in Jt&&Ct(Jt,Te),Ft=[].concat((0,_.Z)(Ft),(0,_.Z)(Bt(Jt.children,Se,Te)))):Jt.sorter&&("sortOrder"in Jt?Ct(Jt,Te):Se&&Jt.defaultSortOrder&&Ft.push({column:Jt,key:dt(Jt,Te),multiplePriority:an(Jt),sortOrder:Jt.defaultSortOrder}))}),Ft},We=(tt,Se,kt,Ft,Ct,Jt,ke,Te)=>(Se||[]).map((Ot,dr)=>{const vr=he(dr,Te);let Zt=Ot;if(Zt.sorter){const Mt=Zt.sortDirections||Ct,ur=Zt.showSorterTooltip===void 0?ke:Zt.showSorterTooltip,Yt=dt(Zt,vr),xr=kt.find(Rr=>{let{key:Hr}=Rr;return Hr===Yt}),je=xr?xr.sortOrder:null,vt=St(Mt,je);let jt;if(Ot.sortIcon)jt=Ot.sortIcon({sortOrder:je});else{const Rr=Mt.includes(br)&&o.createElement(Ht.Z,{className:c()(`${tt}-column-sorter-up`,{active:je===br})}),Hr=Mt.includes(Kr)&&o.createElement(Zr.Z,{className:c()(`${tt}-column-sorter-down`,{active:je===Kr})});jt=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:it,triggerAsc:qt,triggerDesc:nr}=Jt||{};let Or=it;vt===Kr?Or=nr:vt===br&&(Or=qt);const Ar=typeof ur=="object"?Object.assign({title:Or},ur):{title:Or};Zt=Object.assign(Object.assign({},Zt),{className:c()(Zt.className,{[`${tt}-column-sort`]:je}),title:Rr=>{const Hr=`${tt}-column-sorters`,ln=o.createElement("span",{className:`${tt}-column-title`},Le(Ot.title,Rr)),yn=o.createElement("div",{className:Hr},ln,jt);return ur?typeof ur!="boolean"&&(ur==null?void 0:ur.target)==="sorter-icon"?o.createElement("div",{className:`${Hr} ${tt}-column-sorters-tooltip-target-sorter`},ln,o.createElement(Vt.Z,Object.assign({},Ar),jt)):o.createElement(Vt.Z,Object.assign({},Ar),yn):yn},onHeaderCell:Rr=>{var Hr;const ln=((Hr=Ot.onHeaderCell)===null||Hr===void 0?void 0:Hr.call(Ot,Rr))||{},yn=ln.onClick,Lr=ln.onKeyDown;ln.onClick=da=>{Ft({column:Ot,key:Yt,sortOrder:vt,multiplePriority:an(Ot)}),yn==null||yn(da)},ln.onKeyDown=da=>{da.keyCode===ht.Z.ENTER&&(Ft({column:Ot,key:Yt,sortOrder:vt,multiplePriority:an(Ot)}),Lr==null||Lr(da))};const Nt=At(Ot.title,{}),ba=Nt==null?void 0:Nt.toString();return je&&(ln["aria-sort"]=je==="ascend"?"ascending":"descending"),ln["aria-label"]=ba||"",ln.className=c()(ln.className,`${tt}-column-has-sorters`),ln.tabIndex=0,Ot.ellipsis&&(ln.title=(Nt!=null?Nt:"").toString()),ln}})}return"children"in Zt&&(Zt=Object.assign(Object.assign({},Zt),{children:We(tt,Zt.children,kt,Ft,Ct,Jt,ke,vr)})),Zt}),jr=tt=>{const{column:Se,sortOrder:kt}=tt;return{column:Se,order:kt,field:Se.dataIndex,columnKey:Se.key}},$r=tt=>{const Se=tt.filter(kt=>{let{sortOrder:Ft}=kt;return Ft}).map(jr);if(Se.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 Se.length<=1?Se[0]||{}:Se},Gr=(tt,Se,kt)=>{const Ft=Se.slice().sort((ke,Te)=>Te.multiplePriority-ke.multiplePriority),Ct=tt.slice(),Jt=Ft.filter(ke=>{let{column:{sorter:Te},sortOrder:lt}=ke;return An(Te)&<});return Jt.length?Ct.sort((ke,Te)=>{for(let lt=0;lt<Jt.length;lt+=1){const Ot=Jt[lt],{column:{sorter:dr},sortOrder:vr}=Ot,Zt=An(dr);if(Zt&&vr){const Mt=Zt(ke,Te,vr);if(Mt!==0)return vr===br?Mt:-Mt}}return 0}).map(ke=>{const Te=ke[kt];return Te?Object.assign(Object.assign({},ke),{[kt]:Gr(Te,Se,kt)}):ke}):Ct};var na=tt=>{const{prefixCls:Se,mergedColumns:kt,sortDirections:Ft,tableLocale:Ct,showSorterTooltip:Jt,onSorterChange:ke}=tt,[Te,lt]=o.useState(Bt(kt,!0)),Ot=(Yt,xr)=>{const je=[];return Yt.forEach((vt,jt)=>{const it=he(jt,xr);if(je.push(dt(vt,it)),Array.isArray(vt.children)){const qt=Ot(vt.children,it);je.push.apply(je,(0,_.Z)(qt))}}),je},dr=o.useMemo(()=>{let Yt=!0;const xr=Bt(kt,!1);if(!xr.length){const it=Ot(kt);return Te.filter(qt=>{let{key:nr}=qt;return it.includes(nr)})}const je=[];function vt(it){Yt?je.push(it):je.push(Object.assign(Object.assign({},it),{sortOrder:null}))}let jt=null;return xr.forEach(it=>{jt===null?(vt(it),it.sortOrder&&(it.multiplePriority===!1?Yt=!1:jt=!0)):(jt&&it.multiplePriority!==!1||(Yt=!1),vt(it))}),je},[kt,Te]),vr=o.useMemo(()=>{var Yt,xr;const je=dr.map(vt=>{let{column:jt,sortOrder:it}=vt;return{column:jt,order:it}});return{sortColumns:je,sortColumn:(Yt=je[0])===null||Yt===void 0?void 0:Yt.column,sortOrder:(xr=je[0])===null||xr===void 0?void 0:xr.order}},[dr]),Zt=Yt=>{let xr;Yt.multiplePriority===!1||!dr.length||dr[0].multiplePriority===!1?xr=[Yt]:xr=[].concat((0,_.Z)(dr.filter(je=>{let{key:vt}=je;return vt!==Yt.key})),[Yt]),lt(xr),ke($r(xr),xr)};return[Yt=>We(Se,Yt,dr,Zt,Ft,Ct,Jt),dr,vr,()=>$r(dr)]};const mt=(tt,Se)=>tt.map(Ft=>{const Ct=Object.assign({},Ft);return Ct.title=Le(Ft.title,Se),"children"in Ct&&(Ct.children=mt(Ct.children,Se)),Ct});var lr=tt=>[o.useCallback(kt=>mt(kt,tt),[tt])],Nr=(0,Xe.Q$)((tt,Se)=>{const{_renderTimes:kt}=tt,{_renderTimes:Ft}=Se;return kt!==Ft}),sn=(0,Xe.TN)((tt,Se)=>{const{_renderTimes:kt}=tt,{_renderTimes:Ft}=Se;return kt!==Ft}),Tr=n(36237),mn=n(17835),on=n(63356),Mn=n(16931),jn=n(51636),zn=tt=>{const{componentCls:Se,lineWidth:kt,lineType:Ft,tableBorderColor:Ct,tableHeaderBg:Jt,tablePaddingVertical:ke,tablePaddingHorizontal:Te,calc:lt}=tt,Ot=`${(0,Tr.unit)(kt)} ${Ft} ${Ct}`,dr=(vr,Zt,Mt)=>({[`&${Se}-${vr}`]:{[`> ${Se}-container`]:{[`> ${Se}-content, > ${Se}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Se}-expanded-row-fixed`]:{margin:`${(0,Tr.unit)(lt(Zt).mul(-1).equal())}
|
|
|
${(0,Tr.unit)(lt(lt(Mt).add(kt)).mul(-1).equal())}`}}}}}});return{[`${Se}-wrapper`]:{[`${Se}${Se}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Se}-title`]:{border:Ot,borderBottom:0},[`> ${Se}-container`]:{borderInlineStart:Ot,borderTop:Ot,[`
|
|
|
> ${Se}-content,
|
|
|
> ${Se}-header,
|
|
|
> ${Se}-body,
|
|
|
> ${Se}-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:Ot},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Ot},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Se}-cell-fix-right-first::after`]:{borderInlineEnd:Ot}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Se}-expanded-row-fixed`]:{margin:`${(0,Tr.unit)(lt(ke).mul(-1).equal())} ${(0,Tr.unit)(lt(lt(Te).add(kt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:kt,bottom:0,borderInlineEnd:Ot,content:'""'}}}}}},[`&${Se}-scroll-horizontal`]:{[`> ${Se}-container > ${Se}-body`]:{"> table > tbody":{[`
|
|
|
> tr${Se}-expanded-row,
|
|
|
> tr${Se}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},dr("middle",tt.tablePaddingVerticalMiddle,tt.tablePaddingHorizontalMiddle)),dr("small",tt.tablePaddingVerticalSmall,tt.tablePaddingHorizontalSmall)),{[`> ${Se}-footer`]:{border:Ot,borderTop:0}}),[`${Se}-cell`]:{[`${Se}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Tr.unit)(kt)} 0 ${(0,Tr.unit)(kt)} ${Jt}`}},[`${Se}-bordered ${Se}-cell-scrollbar`]:{borderInlineEnd:Ot}}}},nn=tt=>{const{componentCls:Se}=tt;return{[`${Se}-wrapper`]:{[`${Se}-cell-ellipsis`]:Object.assign(Object.assign({},on.vS),{wordBreak:"keep-all",[`
|
|
|
&${Se}-cell-fix-left-last,
|
|
|
&${Se}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${Se}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${Se}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},kn=tt=>{const{componentCls:Se}=tt;return{[`${Se}-wrapper`]:{[`${Se}-tbody > tr${Se}-placeholder`]:{textAlign:"center",color:tt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:tt.colorBgContainer}}}}},Dn=tt=>{const{componentCls:Se,antCls:kt,motionDurationSlow:Ft,lineWidth:Ct,paddingXS:Jt,lineType:ke,tableBorderColor:Te,tableExpandIconBg:lt,tableExpandColumnWidth:Ot,borderRadius:dr,tablePaddingVertical:vr,tablePaddingHorizontal:Zt,tableExpandedRowBg:Mt,paddingXXS:ur,expandIconMarginTop:Yt,expandIconSize:xr,expandIconHalfInner:je,expandIconScale:vt,calc:jt}=tt,it=`${(0,Tr.unit)(Ct)} ${ke} ${Te}`,qt=jt(ur).sub(Ct).equal();return{[`${Se}-wrapper`]:{[`${Se}-expand-icon-col`]:{width:Ot},[`${Se}-row-expand-icon-cell`]:{textAlign:"center",[`${Se}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${Se}-row-indent`]:{height:1,float:"left"},[`${Se}-row-expand-icon`]:Object.assign(Object.assign({},(0,on.Nd)(tt)),{position:"relative",float:"left",width:xr,height:xr,color:"inherit",lineHeight:(0,Tr.unit)(xr),background:lt,border:it,borderRadius:dr,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:Ct},"&::after":{top:qt,bottom:qt,insetInlineStart:je,width:Ct,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"}}),[`${Se}-row-indent + ${Se}-row-expand-icon`]:{marginTop:Yt,marginInlineEnd:Jt},[`tr${Se}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Mt}},[`${kt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Se}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Tr.unit)(jt(vr).mul(-1).equal())} ${(0,Tr.unit)(jt(Zt).mul(-1).equal())}`,padding:`${(0,Tr.unit)(vr)} ${(0,Tr.unit)(Zt)}`}}}},Kn=tt=>{const{componentCls:Se,antCls:kt,iconCls:Ft,tableFilterDropdownWidth:Ct,tableFilterDropdownSearchWidth:Jt,paddingXXS:ke,paddingXS:Te,colorText:lt,lineWidth:Ot,lineType:dr,tableBorderColor:vr,headerIconColor:Zt,fontSizeSM:Mt,tablePaddingHorizontal:ur,borderRadius:Yt,motionDurationSlow:xr,colorTextDescription:je,colorPrimary:vt,tableHeaderFilterActiveBg:jt,colorTextDisabled:it,tableFilterDropdownBg:qt,tableFilterDropdownHeight:nr,controlItemBgHover:Or,controlItemBgActive:Ar,boxShadowSecondary:Rr,filterDropdownMenuBg:Hr,calc:ln}=tt,yn=`${kt}-dropdown`,Lr=`${Se}-filter-dropdown`,Nt=`${kt}-tree`,ba=`${(0,Tr.unit)(Ot)} ${dr} ${vr}`;return[{[`${Se}-wrapper`]:{[`${Se}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Se}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:ln(ke).mul(-1).equal(),marginInline:`${(0,Tr.unit)(ke)} ${(0,Tr.unit)(ln(ur).div(2).mul(-1).equal())}`,padding:`0 ${(0,Tr.unit)(ke)}`,color:Zt,fontSize:Mt,borderRadius:Yt,cursor:"pointer",transition:`all ${xr}`,"&:hover":{color:je,background:jt},"&.active":{color:vt}}}},{[`${kt}-dropdown`]:{[Lr]:Object.assign(Object.assign({},(0,on.Wf)(tt)),{minWidth:Ct,backgroundColor:qt,borderRadius:Yt,boxShadow:Rr,overflow:"hidden",[`${yn}-menu`]:{maxHeight:nr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Hr,"&:empty::after":{display:"block",padding:`${(0,Tr.unit)(Te)} 0`,color:it,fontSize:Mt,textAlign:"center",content:'"Not Found"'}},[`${Lr}-tree`]:{paddingBlock:`${(0,Tr.unit)(Te)} 0`,paddingInline:Te,[Nt]:{padding:0},[`${Nt}-treenode ${Nt}-node-content-wrapper:hover`]:{backgroundColor:Or},[`${Nt}-treenode-checkbox-checked ${Nt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Ar}}},[`${Lr}-search`]:{padding:Te,borderBottom:ba,"&-input":{input:{minWidth:Jt},[Ft]:{color:it}}},[`${Lr}-checkall`]:{width:"100%",marginBottom:ke,marginInlineStart:ke},[`${Lr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Tr.unit)(ln(Te).sub(Ot).equal())} ${(0,Tr.unit)(Te)}`,overflow:"hidden",borderTop:ba}})}},{[`${kt}-dropdown ${Lr}, ${Lr}-submenu`]:{[`${kt}-checkbox-wrapper + span`]:{paddingInlineStart:Te,color:lt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Jn=tt=>{const{componentCls:Se,lineWidth:kt,colorSplit:Ft,motionDurationSlow:Ct,zIndexTableFixed:Jt,tableBg:ke,zIndexTableSticky:Te,calc:lt}=tt,Ot=Ft;return{[`${Se}-wrapper`]:{[`
|
|
|
${Se}-cell-fix-left,
|
|
|
${Se}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:Jt,background:ke},[`
|
|
|
${Se}-cell-fix-left-first::after,
|
|
|
${Se}-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 ${Ct}`,content:'""',pointerEvents:"none"},[`${Se}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${Se}-cell-fix-right-first::after,
|
|
|
${Se}-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 ${Ct}`,content:'""',pointerEvents:"none"},[`${Se}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:lt(Te).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Ct}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${Se}-ping-left`]:{[`&:not(${Se}-has-fix-left) ${Se}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${Ot}`},[`
|
|
|
${Se}-cell-fix-left-first::after,
|
|
|
${Se}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${Ot}`},[`${Se}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${Se}-ping-right`]:{[`&:not(${Se}-has-fix-right) ${Se}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${Ot}`},[`
|
|
|
${Se}-cell-fix-right-first::after,
|
|
|
${Se}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${Ot}`}},[`${Se}-fixed-column-gapped`]:{[`
|
|
|
${Se}-cell-fix-left-first::after,
|
|
|
${Se}-cell-fix-left-last::after,
|
|
|
${Se}-cell-fix-right-first::after,
|
|
|
${Se}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:"none"}}}}},Bn=tt=>{const{componentCls:Se,antCls:kt,margin:Ft}=tt;return{[`${Se}-wrapper`]:{[`${Se}-pagination${kt}-pagination`]:{margin:`${(0,Tr.unit)(Ft)} 0`},[`${Se}-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:Se,tableRadius:kt}=tt;return{[`${Se}-wrapper`]:{[Se]:{[`${Se}-title, ${Se}-header`]:{borderRadius:`${(0,Tr.unit)(kt)} ${(0,Tr.unit)(kt)} 0 0`},[`${Se}-title + ${Se}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${Se}-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,Tr.unit)(kt)} ${(0,Tr.unit)(kt)}`}}}}},ao=tt=>{const{componentCls:Se}=tt;return{[`${Se}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${Se}-pagination-left`]:{justifyContent:"flex-end"},[`${Se}-pagination-right`]:{justifyContent:"flex-start"},[`${Se}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${Se}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${Se}-row-indent`]:{float:"right"}}}}},oo=tt=>{const{componentCls:Se,antCls:kt,iconCls:Ft,fontSizeIcon:Ct,padding:Jt,paddingXS:ke,headerIconColor:Te,headerIconHoverColor:lt,tableSelectionColumnWidth:Ot,tableSelectedRowBg:dr,tableSelectedRowHoverBg:vr,tableRowHoverBg:Zt,tablePaddingHorizontal:Mt,calc:ur}=tt;return{[`${Se}-wrapper`]:{[`${Se}-selection-col`]:{width:Ot,[`&${Se}-selection-col-with-dropdown`]:{width:ur(Ot).add(Ct).add(ur(Jt).div(4)).equal()}},[`${Se}-bordered ${Se}-selection-col`]:{width:ur(Ot).add(ur(ke).mul(2)).equal(),[`&${Se}-selection-col-with-dropdown`]:{width:ur(Ot).add(Ct).add(ur(Jt).div(4)).add(ur(ke).mul(2)).equal()}},[`
|
|
|
table tr th${Se}-selection-column,
|
|
|
table tr td${Se}-selection-column,
|
|
|
${Se}-selection-column
|
|
|
`]:{paddingInlineEnd:tt.paddingXS,paddingInlineStart:tt.paddingXS,textAlign:"center",[`${kt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Se}-selection-column${Se}-cell-fix-left`]:{zIndex:ur(tt.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${Se}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${Se}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${Se}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${tt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Tr.unit)(ur(Mt).div(4).equal()),[Ft]:{color:Te,fontSize:Ct,verticalAlign:"baseline","&:hover":{color:lt}}},[`${Se}-tbody`]:{[`${Se}-row`]:{[`&${Se}-row-selected`]:{[`> ${Se}-cell`]:{background:dr,"&-row-hover":{background:vr}}},[`> ${Se}-cell-row-hover`]:{background:Zt}}}}}},s=tt=>{const{componentCls:Se,tableExpandColumnWidth:kt,calc:Ft}=tt,Ct=(Jt,ke,Te,lt)=>({[`${Se}${Se}-${Jt}`]:{fontSize:lt,[`
|
|
|
${Se}-title,
|
|
|
${Se}-footer,
|
|
|
${Se}-cell,
|
|
|
${Se}-thead > tr > th,
|
|
|
${Se}-tbody > tr > th,
|
|
|
${Se}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${(0,Tr.unit)(ke)} ${(0,Tr.unit)(Te)}`},[`${Se}-filter-trigger`]:{marginInlineEnd:(0,Tr.unit)(Ft(Te).div(2).mul(-1).equal())},[`${Se}-expanded-row-fixed`]:{margin:`${(0,Tr.unit)(Ft(ke).mul(-1).equal())} ${(0,Tr.unit)(Ft(Te).mul(-1).equal())}`},[`${Se}-tbody`]:{[`${Se}-wrapper:only-child ${Se}`]:{marginBlock:(0,Tr.unit)(Ft(ke).mul(-1).equal()),marginInline:`${(0,Tr.unit)(Ft(kt).sub(Te).equal())} ${(0,Tr.unit)(Ft(Te).mul(-1).equal())}`}},[`${Se}-selection-extra`]:{paddingInlineStart:(0,Tr.unit)(Ft(Te).div(4).equal())}}});return{[`${Se}-wrapper`]:Object.assign(Object.assign({},Ct("middle",tt.tablePaddingVerticalMiddle,tt.tablePaddingHorizontalMiddle,tt.tableFontSizeMiddle)),Ct("small",tt.tablePaddingVerticalSmall,tt.tablePaddingHorizontalSmall,tt.tableFontSizeSmall))}},b=tt=>{const{componentCls:Se,marginXXS:kt,fontSizeIcon:Ft,headerIconColor:Ct,headerIconHoverColor:Jt}=tt;return{[`${Se}-wrapper`]:{[`${Se}-thead th${Se}-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},[`
|
|
|
&${Se}-cell-fix-left:hover,
|
|
|
&${Se}-cell-fix-right:hover
|
|
|
`]:{background:tt.tableFixedHeaderSortActiveBg}},[`${Se}-thead th${Se}-column-sort`]:{background:tt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Se}-column-sort`]:{background:tt.tableBodySortBg},[`${Se}-column-title`]:{position:"relative",zIndex:1,flex:1,minWidth:0},[`${Se}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${Se}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${Se}-column-sorter`]:{marginInlineStart:kt,color:Ct,fontSize:0,transition:`color ${tt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Ft,"&.active":{color:tt.colorPrimary}},[`${Se}-column-sorter-up + ${Se}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Se}-column-sorters:hover ${Se}-column-sorter`]:{color:Jt}}}},d=tt=>{const{componentCls:Se,opacityLoading:kt,tableScrollThumbBg:Ft,tableScrollThumbBgHover:Ct,tableScrollThumbSize:Jt,tableScrollBg:ke,zIndexTableSticky:Te,stickyScrollBarBorderRadius:lt,lineWidth:Ot,lineType:dr,tableBorderColor:vr}=tt,Zt=`${(0,Tr.unit)(Ot)} ${dr} ${vr}`;return{[`${Se}-wrapper`]:{[`${Se}-sticky`]:{"&-holder":{position:"sticky",zIndex:Te,background:tt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Tr.unit)(Jt)} !important`,zIndex:Te,display:"flex",alignItems:"center",background:ke,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:Ct}}}}}}},Z=tt=>{const{componentCls:Se,lineWidth:kt,tableBorderColor:Ft,calc:Ct}=tt,Jt=`${(0,Tr.unit)(kt)} ${tt.lineType} ${Ft}`;return{[`${Se}-wrapper`]:{[`${Se}-summary`]:{position:"relative",zIndex:tt.zIndexTableFixed,background:tt.tableBg,"> tr":{"> th, > td":{borderBottom:Jt}}},[`div${Se}-summary`]:{boxShadow:`0 ${(0,Tr.unit)(Ct(kt).mul(-1).equal())} 0 ${Ft}`}}}},Ie=tt=>{const{componentCls:Se,motionDurationMid:kt,lineWidth:Ft,lineType:Ct,tableBorderColor:Jt,calc:ke}=tt,Te=`${(0,Tr.unit)(Ft)} ${Ct} ${Jt}`,lt=`${Se}-expanded-row-cell`;return{[`${Se}-wrapper`]:{[`${Se}-tbody-virtual`]:{[`${Se}-tbody-virtual-holder-inner`]:{[`
|
|
|
& > ${Se}-row,
|
|
|
& > div:not(${Se}-row) > ${Se}-row
|
|
|
`]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${Se}-cell`]:{borderBottom:Te,transition:`background ${kt}`},[`${Se}-expanded-row`]:{[`${lt}${lt}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Tr.unit)(Ft)})`,borderInlineEnd:"none"}}},[`${Se}-bordered`]:{[`${Se}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Te,position:"absolute"},[`${Se}-cell`]:{borderInlineEnd:Te,[`&${Se}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:ke(Ft).mul(-1).equal(),borderInlineStart:Te}}},[`&${Se}-virtual`]:{[`${Se}-placeholder ${Se}-cell`]:{borderInlineEnd:Te,borderBottom:Te}}}}}};const ot=tt=>{const{componentCls:Se,fontWeightStrong:kt,tablePaddingVertical:Ft,tablePaddingHorizontal:Ct,tableExpandColumnWidth:Jt,lineWidth:ke,lineType:Te,tableBorderColor:lt,tableFontSize:Ot,tableBg:dr,tableRadius:vr,tableHeaderTextColor:Zt,motionDurationMid:Mt,tableHeaderBg:ur,tableHeaderCellSplitColor:Yt,tableFooterTextColor:xr,tableFooterBg:je,calc:vt}=tt,jt=`${(0,Tr.unit)(ke)} ${Te} ${lt}`;return{[`${Se}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,on.dF)()),{[Se]:Object.assign(Object.assign({},(0,on.Wf)(tt)),{fontSize:Ot,background:dr,borderRadius:`${(0,Tr.unit)(vr)} ${(0,Tr.unit)(vr)} 0 0`,scrollbarColor:`${tt.tableScrollThumbBg} ${tt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Tr.unit)(vr)} ${(0,Tr.unit)(vr)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${Se}-cell,
|
|
|
${Se}-thead > tr > th,
|
|
|
${Se}-tbody > tr > th,
|
|
|
${Se}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${(0,Tr.unit)(Ft)} ${(0,Tr.unit)(Ct)}`,overflowWrap:"break-word"},[`${Se}-title`]:{padding:`${(0,Tr.unit)(Ft)} ${(0,Tr.unit)(Ct)}`},[`${Se}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Zt,fontWeight:kt,textAlign:"start",background:ur,borderBottom:jt,transition:`background ${Mt} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${Se}-selection-column):not(${Se}-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 ${Mt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Se}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Mt}, border-color ${Mt}`,borderBottom:jt,[`
|
|
|
> ${Se}-wrapper:only-child,
|
|
|
> ${Se}-expanded-row-fixed > ${Se}-wrapper:only-child
|
|
|
`]:{[Se]:{marginBlock:(0,Tr.unit)(vt(Ft).mul(-1).equal()),marginInline:`${(0,Tr.unit)(vt(Jt).sub(Ct).equal())}
|
|
|
${(0,Tr.unit)(vt(Ct).mul(-1).equal())}`,[`${Se}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Zt,fontWeight:kt,textAlign:"start",background:ur,borderBottom:jt,transition:`background ${Mt} ease`}}},[`${Se}-footer`]:{padding:`${(0,Tr.unit)(Ft)} ${(0,Tr.unit)(Ct)}`,color:xr,background:je}})}},Pt=tt=>{const{colorFillAlter:Se,colorBgContainer:kt,colorTextHeading:Ft,colorFillSecondary:Ct,colorFillContent:Jt,controlItemBgActive:ke,controlItemBgActiveHover:Te,padding:lt,paddingSM:Ot,paddingXS:dr,colorBorderSecondary:vr,borderRadiusLG:Zt,controlHeight:Mt,colorTextPlaceholder:ur,fontSize:Yt,fontSizeSM:xr,lineHeight:je,lineWidth:vt,colorIcon:jt,colorIconHover:it,opacityLoading:qt,controlInteractiveSize:nr}=tt,Or=new mn.FastColor(Ct).onBackground(kt).toHexString(),Ar=new mn.FastColor(Jt).onBackground(kt).toHexString(),Rr=new mn.FastColor(Se).onBackground(kt).toHexString(),Hr=new mn.FastColor(jt),ln=new mn.FastColor(it),yn=nr/2-vt,Lr=yn*2+vt*3;return{headerBg:Rr,headerColor:Ft,headerSortActiveBg:Or,headerSortHoverBg:Ar,bodySortBg:Rr,rowHoverBg:Rr,rowSelectedBg:ke,rowSelectedHoverBg:Te,rowExpandedBg:Se,cellPaddingBlock:lt,cellPaddingInline:lt,cellPaddingBlockMD:Ot,cellPaddingInlineMD:dr,cellPaddingBlockSM:dr,cellPaddingInlineSM:dr,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:Mt,stickyScrollBarBg:ur,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Yt*je-vt*3)/2-Math.ceil((xr*1.4-vt*3)/2),headerIconColor:Hr.clone().setA(Hr.a*qt).toRgbString(),headerIconHoverColor:ln.clone().setA(ln.a*qt).toRgbString(),expandIconHalfInner:yn,expandIconSize:Lr,expandIconScale:nr/Lr}},Et=2;var ge=(0,Mn.I$)("Table",tt=>{const{colorTextHeading:Se,colorSplit:kt,colorBgContainer:Ft,controlInteractiveSize:Ct,headerBg:Jt,headerColor:ke,headerSortActiveBg:Te,headerSortHoverBg:lt,bodySortBg:Ot,rowHoverBg:dr,rowSelectedBg:vr,rowSelectedHoverBg:Zt,rowExpandedBg:Mt,cellPaddingBlock:ur,cellPaddingInline:Yt,cellPaddingBlockMD:xr,cellPaddingInlineMD:je,cellPaddingBlockSM:vt,cellPaddingInlineSM:jt,borderColor:it,footerBg:qt,footerColor:nr,headerBorderRadius:Or,cellFontSize:Ar,cellFontSizeMD:Rr,cellFontSizeSM:Hr,headerSplitColor:ln,fixedHeaderSortActiveBg:yn,headerFilterHoverBg:Lr,filterDropdownBg:Nt,expandIconBg:ba,selectionColumnWidth:da,stickyScrollBarBg:Wn,calc:Jr}=tt,Vr=(0,jn.mergeToken)(tt,{tableFontSize:Ar,tableBg:Ft,tableRadius:Or,tablePaddingVertical:ur,tablePaddingHorizontal:Yt,tablePaddingVerticalMiddle:xr,tablePaddingHorizontalMiddle:je,tablePaddingVerticalSmall:vt,tablePaddingHorizontalSmall:jt,tableBorderColor:it,tableHeaderTextColor:ke,tableHeaderBg:Jt,tableFooterTextColor:nr,tableFooterBg:qt,tableHeaderCellSplitColor:ln,tableHeaderSortBg:Te,tableHeaderSortHoverBg:lt,tableBodySortBg:Ot,tableFixedHeaderSortActiveBg:yn,tableHeaderFilterActiveBg:Lr,tableFilterDropdownBg:Nt,tableRowHoverBg:dr,tableSelectedRowBg:vr,tableSelectedRowHoverBg:Zt,zIndexTableFixed:Et,zIndexTableSticky:Jr(Et).add(1).equal({unit:!1}),tableFontSizeMiddle:Rr,tableFontSizeSmall:Hr,tableSelectionColumnWidth:da,tableExpandIconBg:ba,tableExpandColumnWidth:Jr(Ct).add(Jr(tt.padding).mul(2)).equal(),tableExpandedRowBg:Mt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Wn,tableScrollThumbBgHover:Se,tableScrollBg:kt});return[ot(Vr),Bn(Vr),Z(Vr),b(Vr),Kn(Vr),zn(Vr),Ca(Vr),Dn(Vr),Z(Vr),kn(Vr),oo(Vr),Jn(Vr),d(Vr),nn(Vr),s(Vr),ao(Vr),Ie(Vr)]},Pt,{unitless:{expandIconScale:!0}});const nt=[],gt=(tt,Se)=>{var kt,Ft;const{prefixCls:Ct,className:Jt,rootClassName:ke,style:Te,size:lt,bordered:Ot,dropdownPrefixCls:dr,dataSource:vr,pagination:Zt,rowSelection:Mt,rowKey:ur="key",rowClassName:Yt,columns:xr,children:je,childrenColumnName:vt,onChange:jt,getPopupContainer:it,loading:qt,expandIcon:nr,expandable:Or,expandedRowRender:Ar,expandIconColumnIndex:Rr,indentSize:Hr,scroll:ln,sortDirections:yn,locale:Lr,showSorterTooltip:Nt={target:"full-header"},virtual:ba}=tt,da=(0,O.ln)("Table"),Wn=o.useMemo(()=>xr||(0,be.L)(je),[xr,je]),Jr=o.useMemo(()=>Wn.some(wa=>wa.responsive),[Wn]),Vr=(0,ae.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,J.Z)(tt,["className","style","columns"]),{locale:_n=W.Z,direction:xa,table:qn,renderEmpty:Qn,getPrefixCls:ka,getPopupContainer:ra}=o.useContext(rt.E_),Hn=(0,B.Z)(lt),ea=Object.assign(Object.assign({},_n.Table),Lr),Un=vr||nt,Ln=ka("table",Ct),Xn=ka("dropdown",dr),[,rn]=(0,Ve.ZP)(),fn=(0,le.Z)(Ln),[sa,xn,ha]=ge(Ln,fn),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]),vn={body:o.useRef(null)},Pn=st(Ln),fa=o.useRef(null),Ja=o.useRef(null);M(Se,()=>Object.assign(Object.assign({},Ja.current),{nativeElement:fa.current}));const Ga=o.useMemo(()=>typeof ur=="function"?ur:wa=>wa==null?void 0:wa[ur],[ur]),[io]=S(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))),ln&&ln.scrollToFirstRowOnChange!==!1&&vn.body.current&&(0,I.Z)(0,{getContainer:()=>vn.body.current}),jt==null||jt(go.pagination,go.filters,go.sorter,{currentDataSource:wn(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:yn||["ascend","descend"],tableLocale:ea,showSorterTooltip:Nt}),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]=Sr({prefixCls:Ln,locale:ea,dropdownPrefixCls:Xn,mergedColumns:En,onFilterChange:ma,getPopupContainer:it||ra,rootClassName:c()(ke,fn)}),eo=wn(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]=lr(lo),Co=(wa,Wa)=>{la({pagination:Object.assign(Object.assign({},so.pagination),{current:wa,pageSize:Wa})},"paginate")},[Ra,Uo]=Cn(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=Gt}=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]=Ce({prefixCls:Ln,data:eo,pageData:ho,getRowKey:Ga,getRecordByKey:io,expandType:qa,childrenColumnName:Ha,locale:ea,getPopupContainer:it||ra},Mt),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=Mt?1:0:Vn.expandIconColumnIndex>0&&Mt&&(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(A.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,fn,`${Ln}-wrapper`,qn==null?void 0:qn.className,{[`${Ln}-wrapper-rtl`]:xa==="rtl"},Jt,ke,xn),si=Object.assign(Object.assign({},qn==null?void 0:qn.style),Te),zi=typeof(Lr==null?void 0:Lr.emptyText)!="undefined"?Lr.emptyText:(Qn==null?void 0:Qn("Table"))||o.createElement(ue.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(re.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`]:Ot,[`${Ln}-empty`]:Un.length===0},ha,fn,xn),data:ho,rowKey:Ga,rowClassName:ii,emptyText:zi,internalHooks:Xe.RQ,internalRefs:vn,transformColumns:Ho,getContainerWidth:Pn})),zo)))};var Kt=o.forwardRef(gt);const ct=(tt,Se)=>{const kt=o.useRef(0);return kt.current+=1,o.createElement(Kt,Object.assign({},tt,{ref:Se,_renderTimes:kt.current}))},cr=o.forwardRef(ct);cr.SELECTION_COLUMN=ie,cr.EXPAND_COLUMN=Xe.w2,cr.SELECTION_ALL=X,cr.SELECTION_INVERT=q,cr.SELECTION_NONE=Ee,cr.Column=ze,cr.ColumnGroup=Q,cr.Summary=Xe.ER;var Cr=cr,Qt=Cr},20554:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return W}});var o=n(59301),Xe=n(99267),L=n(18785),ze=n(62772),Y=n(92310),Q=n.n(Y),_=n(29443),y=n(48755),U=n(83397),c=n(31756),T=n(86641);const k={motionAppear:!1,motionEnter:!0,motionLeave:!0};function V(A){let re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},Ve;return re===!1?Ve={inkBar:!1,tabPane:!1}:re===!0?Ve={inkBar:!0,tabPane:!0}:Ve=Object.assign({inkBar:!0},typeof re=="object"?re:{}),Ve.tabPane&&(Ve.tabPaneMotion=Object.assign(Object.assign({},k),{motionName:(0,T.m)(A,"switch")})),Ve}var z=n(11592),K=function(A,re){var Ve={};for(var pe in A)Object.prototype.hasOwnProperty.call(A,pe)&&re.indexOf(pe)<0&&(Ve[pe]=A[pe]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,pe=Object.getOwnPropertySymbols(A);Ze<pe.length;Ze++)re.indexOf(pe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(A,pe[Ze])&&(Ve[pe[Ze]]=A[pe[Ze]]);return Ve};function O(A){return A.filter(re=>re)}function D(A,re){if(A)return A;const Ve=(0,z.Z)(re).map(pe=>{if(o.isValidElement(pe)){const{key:Ze,props:st}=pe,dt=st||{},{tab:he}=dt,Le=K(dt,["tab"]);return Object.assign(Object.assign({key:String(Ze)},Le),{label:he})}return null});return O(Ve)}var w=n(36237),E=n(63356),ie=n(16931),X=n(51636),q=n(46e3),Pe=A=>{const{componentCls:re,motionDurationSlow:Ve}=A;return[{[re]:{[`${re}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${Ve}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${Ve}`}}}}},[(0,q.oN)(A,"slide-up"),(0,q.oN)(A,"slide-down")]]};const et=A=>{const{componentCls:re,tabsCardPadding:Ve,cardBg:pe,cardGutter:Ze,colorBorderSecondary:st,itemSelectedColor:dt}=A;return{[`${re}-card`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab`]:{margin:0,padding:Ve,background:pe,border:`${(0,w.unit)(A.lineWidth)} ${A.lineType} ${st}`,transition:`all ${A.motionDurationSlow} ${A.motionEaseInOut}`},[`${re}-tab-active`]:{color:dt,background:A.colorBgContainer},[`${re}-tab-focus`]:Object.assign({},(0,E.oN)(A,-3)),[`${re}-ink-bar`]:{visibility:"hidden"},[`& ${re}-tab${re}-tab-focus ${re}-tab-btn`]:{outline:"none"}},[`&${re}-top, &${re}-bottom`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab + ${re}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,w.unit)(Ze)}}}},[`&${re}-top`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab`]:{borderRadius:`${(0,w.unit)(A.borderRadiusLG)} ${(0,w.unit)(A.borderRadiusLG)} 0 0`},[`${re}-tab-active`]:{borderBottomColor:A.colorBgContainer}}},[`&${re}-bottom`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab`]:{borderRadius:`0 0 ${(0,w.unit)(A.borderRadiusLG)} ${(0,w.unit)(A.borderRadiusLG)}`},[`${re}-tab-active`]:{borderTopColor:A.colorBgContainer}}},[`&${re}-left, &${re}-right`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab + ${re}-tab`]:{marginTop:(0,w.unit)(Ze)}}},[`&${re}-left`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,w.unit)(A.borderRadiusLG)} 0 0 ${(0,w.unit)(A.borderRadiusLG)}`}},[`${re}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:A.colorBgContainer}}}},[`&${re}-right`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,w.unit)(A.borderRadiusLG)} ${(0,w.unit)(A.borderRadiusLG)} 0`}},[`${re}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:A.colorBgContainer}}}}}}},He=A=>{const{componentCls:re,itemHoverColor:Ve,dropdownEdgeChildVerticalPadding:pe}=A;return{[`${re}-dropdown`]:Object.assign(Object.assign({},(0,E.Wf)(A)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:A.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${re}-dropdown-menu`]:{maxHeight:A.tabsDropdownHeight,margin:0,padding:`${(0,w.unit)(pe)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:A.colorBgContainer,backgroundClip:"padding-box",borderRadius:A.borderRadiusLG,outline:"none",boxShadow:A.boxShadowSecondary,"&-item":Object.assign(Object.assign({},E.vS),{display:"flex",alignItems:"center",minWidth:A.tabsDropdownWidth,margin:0,padding:`${(0,w.unit)(A.paddingXXS)} ${(0,w.unit)(A.paddingSM)}`,color:A.colorText,fontWeight:"normal",fontSize:A.fontSize,lineHeight:A.lineHeight,cursor:"pointer",transition:`all ${A.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:A.marginSM},color:A.colorTextDescription,fontSize:A.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:Ve}},"&:hover":{background:A.controlItemBgHover},"&-disabled":{"&, &:hover":{color:A.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ce=A=>{const{componentCls:re,margin:Ve,colorBorderSecondary:pe,horizontalMargin:Ze,verticalItemPadding:st,verticalItemMargin:dt,calc:he}=A;return{[`${re}-top, ${re}-bottom`]:{flexDirection:"column",[`> ${re}-nav, > div > ${re}-nav`]:{margin:Ze,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,w.unit)(A.lineWidth)} ${A.lineType} ${pe}`,content:"''"},[`${re}-ink-bar`]:{height:A.lineWidthBold,"&-animated":{transition:`width ${A.motionDurationSlow}, left ${A.motionDurationSlow},
|
|
|
right ${A.motionDurationSlow}`}},[`${re}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:A.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:A.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:A.boxShadowTabsOverflowRight},[`&${re}-nav-wrap-ping-left::before`]:{opacity:1},[`&${re}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${re}-top`]:{[`> ${re}-nav,
|
|
|
> div > ${re}-nav`]:{"&::before":{bottom:0},[`${re}-ink-bar`]:{bottom:0}}},[`${re}-bottom`]:{[`> ${re}-nav, > div > ${re}-nav`]:{order:1,marginTop:Ve,marginBottom:0,"&::before":{top:0},[`${re}-ink-bar`]:{top:0}},[`> ${re}-content-holder, > div > ${re}-content-holder`]:{order:0}},[`${re}-left, ${re}-right`]:{[`> ${re}-nav, > div > ${re}-nav`]:{flexDirection:"column",minWidth:he(A.controlHeight).mul(1.25).equal(),[`${re}-tab`]:{padding:st,textAlign:"center"},[`${re}-tab + ${re}-tab`]:{margin:dt},[`${re}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:A.controlHeight},"&::before":{top:0,boxShadow:A.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:A.boxShadowTabsOverflowBottom},[`&${re}-nav-wrap-ping-top::before`]:{opacity:1},[`&${re}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${re}-ink-bar`]:{width:A.lineWidthBold,"&-animated":{transition:`height ${A.motionDurationSlow}, top ${A.motionDurationSlow}`}},[`${re}-nav-list, ${re}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${re}-left`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${re}-content-holder, > div > ${re}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,w.unit)(he(A.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,w.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`},[`> ${re}-content > ${re}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:A.paddingLG}}}},[`${re}-right`]:{[`> ${re}-nav, > div > ${re}-nav`]:{order:1,[`${re}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${re}-content-holder, > div > ${re}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:he(A.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,w.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`},[`> ${re}-content > ${re}-tabpane`]:{paddingRight:{_skip_check_:!0,value:A.paddingLG}}}}}},be=A=>{const{componentCls:re,cardPaddingSM:Ve,cardPaddingLG:pe,horizontalItemPaddingSM:Ze,horizontalItemPaddingLG:st}=A;return{[re]:{"&-small":{[`> ${re}-nav`]:{[`${re}-tab`]:{padding:Ze,fontSize:A.titleFontSizeSM}}},"&-large":{[`> ${re}-nav`]:{[`${re}-tab`]:{padding:st,fontSize:A.titleFontSizeLG}}}},[`${re}-card`]:{[`&${re}-small`]:{[`> ${re}-nav`]:{[`${re}-tab`]:{padding:Ve}},[`&${re}-bottom`]:{[`> ${re}-nav ${re}-tab`]:{borderRadius:`0 0 ${(0,w.unit)(A.borderRadius)} ${(0,w.unit)(A.borderRadius)}`}},[`&${re}-top`]:{[`> ${re}-nav ${re}-tab`]:{borderRadius:`${(0,w.unit)(A.borderRadius)} ${(0,w.unit)(A.borderRadius)} 0 0`}},[`&${re}-right`]:{[`> ${re}-nav ${re}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,w.unit)(A.borderRadius)} ${(0,w.unit)(A.borderRadius)} 0`}}},[`&${re}-left`]:{[`> ${re}-nav ${re}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,w.unit)(A.borderRadius)} 0 0 ${(0,w.unit)(A.borderRadius)}`}}}},[`&${re}-large`]:{[`> ${re}-nav`]:{[`${re}-tab`]:{padding:pe}}}}}},J=A=>{const{componentCls:re,itemActiveColor:Ve,itemHoverColor:pe,iconCls:Ze,tabsHorizontalItemMargin:st,horizontalItemPadding:dt,itemSelectedColor:he,itemColor:Le}=A,At=`${re}-tab`;return{[At]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:dt,fontSize:A.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:Le,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:Ve}},"&-btn":{outline:"none",transition:`all ${A.motionDurationSlow}`,[`${At}-icon:not(:last-child)`]:{marginInlineEnd:A.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:A.calc(A.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:A.marginXS},color:A.colorTextDescription,fontSize:A.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${A.motionDurationSlow}`,"&:hover":{color:A.colorTextHeading}},(0,E.Qy)(A)),"&:hover":{color:pe},[`&${At}-active ${At}-btn`]:{color:he,textShadow:A.tabsActiveTextShadow},[`&${At}-focus ${At}-btn`]:Object.assign({},(0,E.oN)(A)),[`&${At}-disabled`]:{color:A.colorTextDisabled,cursor:"not-allowed"},[`&${At}-disabled ${At}-btn, &${At}-disabled ${re}-remove`]:{"&:focus, &:active":{color:A.colorTextDisabled}},[`& ${At}-remove ${Ze}`]:{margin:0},[`${Ze}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:A.marginSM}}},[`${At} + ${At}`]:{margin:{_skip_check_:!0,value:st}}}},we=A=>{const{componentCls:re,tabsHorizontalItemMarginRTL:Ve,iconCls:pe,cardGutter:Ze,calc:st}=A;return{[`${re}-rtl`]:{direction:"rtl",[`${re}-nav`]:{[`${re}-tab`]:{margin:{_skip_check_:!0,value:Ve},[`${re}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[pe]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,w.unit)(A.marginSM)}},[`${re}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,w.unit)(A.marginXS)},marginLeft:{_skip_check_:!0,value:(0,w.unit)(st(A.marginXXS).mul(-1).equal())},[pe]:{margin:0}}}},[`&${re}-left`]:{[`> ${re}-nav`]:{order:1},[`> ${re}-content-holder`]:{order:0}},[`&${re}-right`]:{[`> ${re}-nav`]:{order:0},[`> ${re}-content-holder`]:{order:1}},[`&${re}-card${re}-top, &${re}-card${re}-bottom`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-tab + ${re}-tab`]:{marginRight:{_skip_check_:!0,value:Ze},marginLeft:{_skip_check_:!0,value:0}}}}},[`${re}-dropdown-rtl`]:{direction:"rtl"},[`${re}-menu-item`]:{[`${re}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},M=A=>{const{componentCls:re,tabsCardPadding:Ve,cardHeight:pe,cardGutter:Ze,itemHoverColor:st,itemActiveColor:dt,colorBorderSecondary:he}=A;return{[re]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(A)),{display:"flex",[`> ${re}-nav, > div > ${re}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${re}-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 ${A.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${re}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${A.motionDurationSlow}`},[`${re}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${re}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${re}-nav-more`]:{position:"relative",padding:Ve,background:"transparent",border:0,color:A.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:A.calc(A.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${re}-nav-add`]:Object.assign({minWidth:pe,marginLeft:{_skip_check_:!0,value:Ze},padding:(0,w.unit)(A.paddingXS),background:"transparent",border:`${(0,w.unit)(A.lineWidth)} ${A.lineType} ${he}`,borderRadius:`${(0,w.unit)(A.borderRadiusLG)} ${(0,w.unit)(A.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:A.colorText,transition:`all ${A.motionDurationSlow} ${A.motionEaseInOut}`,"&:hover":{color:st},"&:active, &:focus:not(:focus-visible)":{color:dt}},(0,E.Qy)(A,-3))},[`${re}-extra-content`]:{flex:"none"},[`${re}-ink-bar`]:{position:"absolute",background:A.inkBarColor,pointerEvents:"none"}}),J(A)),{[`${re}-content`]:{position:"relative",width:"100%"},[`${re}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${re}-tabpane`]:Object.assign(Object.assign({},(0,E.Qy)(A)),{"&-hidden":{display:"none"}})}),[`${re}-centered`]:{[`> ${re}-nav, > div > ${re}-nav`]:{[`${re}-nav-wrap`]:{[`&:not([class*='${re}-nav-wrap-ping']) > ${re}-nav-list`]:{margin:"auto"}}}}}},I=A=>{const re=A.controlHeightLG;return{zIndexPopup:A.zIndexPopupBase+50,cardBg:A.colorFillAlter,cardHeight:re,cardPadding:`${(re-Math.round(A.fontSize*A.lineHeight))/2-A.lineWidth}px ${A.padding}px`,cardPaddingSM:`${A.paddingXXS*1.5}px ${A.padding}px`,cardPaddingLG:`${A.paddingXS}px ${A.padding}px ${A.paddingXXS*1.5}px`,titleFontSize:A.fontSize,titleFontSizeLG:A.fontSizeLG,titleFontSizeSM:A.fontSize,inkBarColor:A.colorPrimary,horizontalMargin:`0 0 ${A.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${A.paddingSM}px 0`,horizontalItemPaddingSM:`${A.paddingXS}px 0`,horizontalItemPaddingLG:`${A.padding}px 0`,verticalItemPadding:`${A.paddingXS}px ${A.paddingLG}px`,verticalItemMargin:`${A.margin}px 0 0 0`,itemColor:A.colorText,itemSelectedColor:A.colorPrimary,itemHoverColor:A.colorPrimaryHover,itemActiveColor:A.colorPrimaryActive,cardGutter:A.marginXXS/2}};var rt=(0,ie.I$)("Tabs",A=>{const re=(0,X.mergeToken)(A,{tabsCardPadding:A.cardPadding,dropdownEdgeChildVerticalPadding:A.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,w.unit)(A.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,w.unit)(A.horizontalItemGutter)}`});return[be(re),we(re),Ce(re),He(re),et(re),M(re),Pe(re)]},I),le=()=>null,B=function(A,re){var Ve={};for(var pe in A)Object.prototype.hasOwnProperty.call(A,pe)&&re.indexOf(pe)<0&&(Ve[pe]=A[pe]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,pe=Object.getOwnPropertySymbols(A);Ze<pe.length;Ze++)re.indexOf(pe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(A,pe[Ze])&&(Ve[pe[Ze]]=A[pe[Ze]]);return Ve};const ae=A=>{var re,Ve,pe,Ze,st,dt,he,Le,At,Fe,Re;const{type:N,className:_e,rootClassName:ve,size:de,onEdit:fe,hideAdd:me,centered:Oe,addIcon:xe,removeIcon:Ne,moreIcon:Ye,more:pt,popupClassName:$t,children:Xt,items:Ut,animated:Dt,style:at,indicatorSize:yt,indicator:xt}=A,ht=B(A,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:tr}=ht,{direction:mr,tabs:hr,getPrefixCls:Ir,getPopupContainer:tn}=o.useContext(y.E_),Pr=Ir("tabs",tr),x=(0,U.Z)(Pr),[F,wt,oe]=rt(Pr,x);let Be;N==="editable-card"&&(Be={onEdit:(sr,S)=>{let{key:v,event:Gt}=S;fe==null||fe(sr==="add"?Gt:v,sr)},removeIcon:(re=Ne!=null?Ne:hr==null?void 0:hr.removeIcon)!==null&&re!==void 0?re:o.createElement(Xe.Z,null),addIcon:(xe!=null?xe:hr==null?void 0:hr.addIcon)||o.createElement(ze.Z,null),showAdd:me!==!0});const kr=Ir(),Br=(0,c.Z)(de),wn=D(Ut,Xt),Fn=V(Pr,Dt),Rt=Object.assign(Object.assign({},hr==null?void 0:hr.style),at),Sr={align:(Ve=xt==null?void 0:xt.align)!==null&&Ve!==void 0?Ve:(pe=hr==null?void 0:hr.indicator)===null||pe===void 0?void 0:pe.align,size:(he=(st=(Ze=xt==null?void 0:xt.size)!==null&&Ze!==void 0?Ze:yt)!==null&&st!==void 0?st:(dt=hr==null?void 0:hr.indicator)===null||dt===void 0?void 0:dt.size)!==null&&he!==void 0?he:hr==null?void 0:hr.indicatorSize};return F(o.createElement(_.Z,Object.assign({direction:mr,getPopupContainer:tn},ht,{items:wn,className:Q()({[`${Pr}-${Br}`]:Br,[`${Pr}-card`]:["card","editable-card"].includes(N),[`${Pr}-editable-card`]:N==="editable-card",[`${Pr}-centered`]:Oe},hr==null?void 0:hr.className,_e,ve,wt,oe,x),popupClassName:Q()($t,wt,oe,x),style:Rt,editable:Be,more:Object.assign({icon:(Re=(Fe=(At=(Le=hr==null?void 0:hr.more)===null||Le===void 0?void 0:Le.icon)!==null&&At!==void 0?At:hr==null?void 0:hr.moreIcon)!==null&&Fe!==void 0?Fe:Ye)!==null&&Re!==void 0?Re:o.createElement(L.Z,null),transitionName:`${kr}-slide-up`},pt),prefixCls:Pr,animated:Fn,indicator:Sr})))};ae.TabPane=le;var W=ae},96599:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return M}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(2738),Y=n(29509),Q=n(78776),_=n(22703),y=n(12919),U=n(48755),c=n(36237),T=n(17835),k=n(63356),V=n(51636),z=n(16931);const K=I=>{const{paddingXXS:rt,lineWidth:ue,tagPaddingHorizontal:le,componentCls:B,calc:ae}=I,W=ae(le).sub(ue).equal(),A=ae(rt).sub(ue).equal();return{[B]:Object.assign(Object.assign({},(0,k.Wf)(I)),{display:"inline-block",height:"auto",marginInlineEnd:I.marginXS,paddingInline:W,fontSize:I.tagFontSize,lineHeight:I.tagLineHeight,whiteSpace:"nowrap",background:I.defaultBg,border:`${(0,c.unit)(I.lineWidth)} ${I.lineType} ${I.colorBorder}`,borderRadius:I.borderRadiusSM,opacity:1,transition:`all ${I.motionDurationMid}`,textAlign:"start",position:"relative",[`&${B}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:I.defaultColor},[`${B}-close-icon`]:{marginInlineStart:A,fontSize:I.tagIconSize,color:I.colorTextDescription,cursor:"pointer",transition:`all ${I.motionDurationMid}`,"&:hover":{color:I.colorTextHeading}},[`&${B}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${I.iconCls}-close, ${I.iconCls}-close:hover`]:{color:I.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${B}-checkable-checked):hover`]:{color:I.colorPrimary,backgroundColor:I.colorFillSecondary},"&:active, &-checked":{color:I.colorTextLightSolid},"&-checked":{backgroundColor:I.colorPrimary,"&:hover":{backgroundColor:I.colorPrimaryHover}},"&:active":{backgroundColor:I.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${I.iconCls} + span, > span + ${I.iconCls}`]:{marginInlineStart:W}}),[`${B}-borderless`]:{borderColor:"transparent",background:I.tagBorderlessBg}}},O=I=>{const{lineWidth:rt,fontSizeIcon:ue,calc:le}=I,B=I.fontSizeSM;return(0,V.mergeToken)(I,{tagFontSize:B,tagLineHeight:(0,c.unit)(le(I.lineHeightSM).mul(B).equal()),tagIconSize:le(ue).sub(le(rt).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:I.defaultBg})},D=I=>({defaultBg:new T.FastColor(I.colorFillQuaternary).onBackground(I.colorBgContainer).toHexString(),defaultColor:I.colorText});var w=(0,z.I$)("Tag",I=>{const rt=O(I);return K(rt)},D),E=function(I,rt){var ue={};for(var le in I)Object.prototype.hasOwnProperty.call(I,le)&&rt.indexOf(le)<0&&(ue[le]=I[le]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,le=Object.getOwnPropertySymbols(I);B<le.length;B++)rt.indexOf(le[B])<0&&Object.prototype.propertyIsEnumerable.call(I,le[B])&&(ue[le[B]]=I[le[B]]);return ue},X=o.forwardRef((I,rt)=>{const{prefixCls:ue,style:le,className:B,checked:ae,onChange:W,onClick:A}=I,re=E(I,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Ve,tag:pe}=o.useContext(U.E_),Ze=Fe=>{W==null||W(!ae),A==null||A(Fe)},st=Ve("tag",ue),[dt,he,Le]=w(st),At=L()(st,`${st}-checkable`,{[`${st}-checkable-checked`]:ae},pe==null?void 0:pe.className,B,he,Le);return dt(o.createElement("span",Object.assign({},re,{ref:rt,style:Object.assign(Object.assign({},le),pe==null?void 0:pe.style),className:At,onClick:Ze})))}),q=n(93427);const Ee=I=>(0,q.Z)(I,(rt,ue)=>{let{textColor:le,lightBorderColor:B,lightColor:ae,darkColor:W}=ue;return{[`${I.componentCls}${I.componentCls}-${rt}`]:{color:le,background:ae,borderColor:B,"&-inverse":{color:I.colorTextLightSolid,background:W,borderColor:W},[`&${I.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Pe=(0,z.bk)(["Tag","preset"],I=>{const rt=O(I);return Ee(rt)},D);function et(I){return typeof I!="string"?I:I.charAt(0).toUpperCase()+I.slice(1)}const He=(I,rt,ue)=>{const le=et(ue);return{[`${I.componentCls}${I.componentCls}-${rt}`]:{color:I[`color${ue}`],background:I[`color${le}Bg`],borderColor:I[`color${le}Border`],[`&${I.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Ce=(0,z.bk)(["Tag","status"],I=>{const rt=O(I);return[He(rt,"success","Success"),He(rt,"processing","Info"),He(rt,"error","Error"),He(rt,"warning","Warning")]},D),be=function(I,rt){var ue={};for(var le in I)Object.prototype.hasOwnProperty.call(I,le)&&rt.indexOf(le)<0&&(ue[le]=I[le]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,le=Object.getOwnPropertySymbols(I);B<le.length;B++)rt.indexOf(le[B])<0&&Object.prototype.propertyIsEnumerable.call(I,le[B])&&(ue[le[B]]=I[le[B]]);return ue};const we=o.forwardRef((I,rt)=>{const{prefixCls:ue,className:le,rootClassName:B,style:ae,children:W,icon:A,color:re,onClose:Ve,bordered:pe=!0,visible:Ze}=I,st=be(I,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:dt,direction:he,tag:Le}=o.useContext(U.E_),[At,Fe]=o.useState(!0),Re=(0,ze.Z)(st,["closeIcon","closable"]);o.useEffect(()=>{Ze!==void 0&&Fe(Ze)},[Ze]);const N=(0,Y.o2)(re),_e=(0,Y.yT)(re),ve=N||_e,de=Object.assign(Object.assign({backgroundColor:re&&!ve?re:void 0},Le==null?void 0:Le.style),ae),fe=dt("tag",ue),[me,Oe,xe]=w(fe),Ne=L()(fe,Le==null?void 0:Le.className,{[`${fe}-${re}`]:ve,[`${fe}-has-color`]:re&&!ve,[`${fe}-hidden`]:!At,[`${fe}-rtl`]:he==="rtl",[`${fe}-borderless`]:!pe},le,B,Oe,xe),Ye=at=>{at.stopPropagation(),Ve==null||Ve(at),!at.defaultPrevented&&Fe(!1)},[,pt]=(0,Q.Z)((0,Q.w)(I),(0,Q.w)(Le),{closable:!1,closeIconRender:at=>{const yt=o.createElement("span",{className:`${fe}-close-icon`,onClick:Ye},at);return(0,_.wm)(at,yt,xt=>({onClick:ht=>{var tr;(tr=xt==null?void 0:xt.onClick)===null||tr===void 0||tr.call(xt,ht),Ye(ht)},className:L()(xt==null?void 0:xt.className,`${fe}-close-icon`)}))}}),$t=typeof st.onClick=="function"||W&&W.type==="a",Xt=A||null,Ut=Xt?o.createElement(o.Fragment,null,Xt,W&&o.createElement("span",null,W)):W,Dt=o.createElement("span",Object.assign({},Re,{ref:rt,className:Ne,style:de}),Ut,pt,N&&o.createElement(Pe,{key:"preset",prefixCls:fe}),_e&&o.createElement(Ce,{key:"status",prefixCls:fe}));return me($t?o.createElement(y.Z,{component:"Tag"},Dt):Dt)});we.CheckableTag=X;var M=we},93427:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Xe}});var o=n(34998);function Xe(L,ze){return o.i.reduce((Y,Q)=>{const _=L[`${Q}1`],y=L[`${Q}3`],U=L[`${Q}6`],c=L[`${Q}7`];return Object.assign(Object.assign({},Y),ze(Q,{lightColor:_,lightBorderColor:y,darkColor:U,textColor:c}))},{})}},25399:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return rt}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(29125),Y=n(18929),Q=n(62487),_=n(75030),y=n(86641),U=n(52838),c=n(22703),T=n(32383),k=n(55743),V=n(57700),z=n(48755),K=n(36237),O=n(63356),D=n(34925),w=n(37645),E=n(36305),ie=n(93427),X=n(51636),q=n(16931);const Ee=ue=>{const{calc:le,componentCls:B,tooltipMaxWidth:ae,tooltipColor:W,tooltipBg:A,tooltipBorderRadius:re,zIndexPopup:Ve,controlHeight:pe,boxShadowSecondary:Ze,paddingSM:st,paddingXS:dt,arrowOffsetHorizontal:he,sizePopupArrow:Le}=ue,At=le(re).add(Le).add(he).equal(),Fe=le(re).mul(2).add(Le).equal();return[{[B]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,O.Wf)(ue)),{position:"absolute",zIndex:Ve,display:"block",width:"max-content",maxWidth:ae,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":A,[`${B}-inner`]:{minWidth:Fe,minHeight:pe,padding:`${(0,K.unit)(ue.calc(st).div(2).equal())} ${(0,K.unit)(dt)}`,color:W,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:A,borderRadius:re,boxShadow:Ze,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:At},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${B}-inner`]:{borderRadius:ue.min(re,w.qN)}},[`${B}-content`]:{position:"relative"}}),(0,ie.Z)(ue,(Re,N)=>{let{darkColor:_e}=N;return{[`&${B}-${Re}`]:{[`${B}-inner`]:{backgroundColor:_e},[`${B}-arrow`]:{"--antd-arrow-background-color":_e}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)(ue,"var(--antd-arrow-background-color)"),{[`${B}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow}}]},Pe=ue=>Object.assign(Object.assign({zIndexPopup:ue.zIndexPopupBase+70},(0,w.wZ)({contentRadius:ue.borderRadius,limitVerticalRadius:!0})),(0,E.w)((0,X.mergeToken)(ue,{borderRadiusOuter:Math.min(ue.borderRadiusOuter,4)})));var et=function(ue){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,q.I$)("Tooltip",ae=>{const{borderRadius:W,colorTextLightSolid:A,colorBgSpotlight:re}=ae,Ve=(0,X.mergeToken)(ae,{tooltipMaxWidth:250,tooltipColor:A,tooltipBorderRadius:W,tooltipBg:re});return[Ee(Ve),(0,D._y)(ae,"zoom-big-fast")]},Pe,{resetStyle:!1,injectStyle:le})(ue)},He=n(29509);function Ce(ue,le){const B=(0,He.o2)(le),ae=L()({[`${ue}-${le}`]:le&&B}),W={},A={};return le&&!B&&(W.background=le,A["--antd-arrow-background-color"]=le),{className:ae,overlayStyle:W,arrowStyle:A}}var J=ue=>{const{prefixCls:le,className:B,placement:ae="top",title:W,color:A,overlayInnerStyle:re}=ue,{getPrefixCls:Ve}=o.useContext(z.E_),pe=Ve("tooltip",le),[Ze,st,dt]=et(pe),he=Ce(pe,A),Le=he.arrowStyle,At=Object.assign(Object.assign({},re),he.overlayStyle),Fe=L()(st,dt,pe,`${pe}-pure`,`${pe}-placement-${ae}`,B,he.className);return Ze(o.createElement("div",{className:Fe,style:Le},o.createElement("div",{className:`${pe}-arrow`}),o.createElement(ze.G,Object.assign({},ue,{className:st,prefixCls:pe,overlayInnerStyle:At}),W)))},we=function(ue,le){var B={};for(var ae in ue)Object.prototype.hasOwnProperty.call(ue,ae)&&le.indexOf(ae)<0&&(B[ae]=ue[ae]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,ae=Object.getOwnPropertySymbols(ue);W<ae.length;W++)le.indexOf(ae[W])<0&&Object.prototype.propertyIsEnumerable.call(ue,ae[W])&&(B[ae[W]]=ue[ae[W]]);return B};const I=o.forwardRef((ue,le)=>{var B,ae;const{prefixCls:W,openClassName:A,getTooltipContainer:re,color:Ve,overlayInnerStyle:pe,children:Ze,afterOpenChange:st,afterVisibleChange:dt,destroyTooltipOnHide:he,arrow:Le=!0,title:At,overlay:Fe,builtinPlacements:Re,arrowPointAtCenter:N=!1,autoAdjustOverflow:_e=!0,motion:ve,getPopupContainer:de,placement:fe="top",mouseEnterDelay:me=.1,mouseLeaveDelay:Oe=.1,overlayStyle:xe,rootClassName:Ne,overlayClassName:Ye,styles:pt,classNames:$t}=ue,Xt=we(ue,["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,[,Dt]=(0,V.ZP)(),{getPopupContainer:at,getPrefixCls:yt,direction:xt,className:ht,style:tr,classNames:mr,styles:hr}=(0,z.dj)("tooltip"),Ir=(0,T.ln)("Tooltip"),tn=o.useRef(null),Pr=()=>{var An;(An=tn.current)===null||An===void 0||An.forceAlign()};o.useImperativeHandle(le,()=>{var An,St;return{forceAlign:Pr,forcePopupAlign:()=>{Ir.deprecated(!1,"forcePopupAlign","forceAlign"),Pr()},nativeElement:(An=tn.current)===null||An===void 0?void 0:An.nativeElement,popupElement:(St=tn.current)===null||St===void 0?void 0:St.popupElement}});const[x,F]=(0,Y.Z)(!1,{value:(B=ue.open)!==null&&B!==void 0?B:ue.visible,defaultValue:(ae=ue.defaultOpen)!==null&&ae!==void 0?ae:ue.defaultVisible}),wt=!At&&!Fe&&At!==0,oe=An=>{var St,Bt;F(wt?!1:An),wt||((St=ue.onOpenChange)===null||St===void 0||St.call(ue,An),(Bt=ue.onVisibleChange)===null||Bt===void 0||Bt.call(ue,An))},Be=o.useMemo(()=>{var An,St;let Bt=N;return typeof Le=="object"&&(Bt=(St=(An=Le.pointAtCenter)!==null&&An!==void 0?An:Le.arrowPointAtCenter)!==null&&St!==void 0?St:N),Re||(0,U.Z)({arrowPointAtCenter:Bt,autoAdjustOverflow:_e,arrowWidth:Ut?Dt.sizePopupArrow:0,borderRadius:Dt.borderRadius,offset:Dt.marginXXS,visibleFirst:!0})},[N,Le,Re,Dt]),kr=o.useMemo(()=>At===0?At:Fe||At||"",[Fe,At]),Br=o.createElement(Q.Z,{space:!0},typeof kr=="function"?kr():kr),wn=yt("tooltip",W),Fn=yt(),Rt=ue["data-popover-inject"];let Sr=x;!("open"in ue)&&!("visible"in ue)&&wt&&(Sr=!1);const sr=o.isValidElement(Ze)&&!(0,c.M2)(Ze)?Ze:o.createElement("span",null,Ze),S=sr.props,v=!S.className||typeof S.className=="string"?L()(S.className,A||`${wn}-open`):S.className,[Gt,$,Ae]=et(wn,!Rt),Cn=Ce(wn,Ve),Zr=Cn.arrowStyle,Ht=L()(Ye,{[`${wn}-rtl`]:xt==="rtl"},Cn.className,Ne,$,Ae,ht,mr.root,$t==null?void 0:$t.root),Vt=L()(mr.body,$t==null?void 0:$t.body),[br,Kr]=(0,_.Cn)("Tooltip",Xt.zIndex),an=o.createElement(ze.Z,Object.assign({},Xt,{zIndex:br,showArrow:Ut,placement:fe,mouseEnterDelay:me,mouseLeaveDelay:Oe,prefixCls:wn,classNames:{root:Ht,body:Vt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Zr),hr.root),tr),xe),pt==null?void 0:pt.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},hr.body),pe),pt==null?void 0:pt.body),Cn.overlayStyle)},getTooltipContainer:de||re||at,ref:tn,builtinPlacements:Be,overlay:Br,visible:Sr,onVisibleChange:oe,afterVisibleChange:st!=null?st:dt,arrowContent:o.createElement("span",{className:`${wn}-arrow-content`}),motion:{motionName:(0,y.m)(Fn,"zoom-big-fast",ue.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!he}),Sr?(0,c.Tm)(sr,{className:v}):sr);return Gt(o.createElement(k.Z.Provider,{value:Kr},an))});I._InternalPanelDoNotUseOrYouWillBeFired=J;var rt=I},86743:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ae}});var o=n(59301),Xe=n(38470),L=n(92310),ze=n.n(L),Y=n(75030),Q=n(52838),_=n(55743),y=n(48755),U=n(57700),c=n(94480),T=n(99267),k=n(99571),V=n(9017),z=n(85981);function K(W){return W!=null}var D=W=>{var A,re;const{stepProps:Ve,current:pe,type:Ze,indicatorsRender:st}=W,{prefixCls:dt,total:he=1,title:Le,onClose:At,onPrev:Fe,onNext:Re,onFinish:N,cover:_e,description:ve,nextButtonProps:de,prevButtonProps:fe,type:me,closable:Oe}=Ve,xe=me!=null?me:Ze,Ne=o.createElement("button",{type:"button",onClick:At,className:`${dt}-close`},(Oe==null?void 0:Oe.closeIcon)||o.createElement(T.Z,{className:`${dt}-close-icon`})),Ye=pe===he-1,pt=()=>{var tr;Fe==null||Fe(),(tr=fe==null?void 0:fe.onClick)===null||tr===void 0||tr.call(fe)},$t=()=>{var tr;Ye?N==null||N():Re==null||Re(),(tr=de==null?void 0:de.onClick)===null||tr===void 0||tr.call(de)},Xt=K(Le)?o.createElement("div",{className:`${dt}-header`},o.createElement("div",{className:`${dt}-title`},Le)):null,Ut=K(ve)?o.createElement("div",{className:`${dt}-description`},ve):null,Dt=K(_e)?o.createElement("div",{className:`${dt}-cover`},_e):null;let at;st?at=st(pe,he):at=(0,c.Z)(Array.from({length:he}).keys()).map((tr,mr)=>o.createElement("span",{key:tr,className:ze()(mr===pe&&`${dt}-indicator-active`,`${dt}-indicator`)}));const yt=xe==="primary"?"default":"primary",xt={type:"default",ghost:xe==="primary"},[ht]=(0,V.Z)("Tour",z.Z.Tour);return o.createElement("div",{className:`${dt}-content`},o.createElement("div",{className:`${dt}-inner`},Oe&&Ne,Dt,Xt,Ut,o.createElement("div",{className:`${dt}-footer`},he>1&&o.createElement("div",{className:`${dt}-indicators`},at),o.createElement("div",{className:`${dt}-buttons`},pe!==0?o.createElement(k.ZP,Object.assign({},xt,fe,{onClick:pt,size:"small",className:ze()(`${dt}-prev-btn`,fe==null?void 0:fe.className)}),(A=fe==null?void 0:fe.children)!==null&&A!==void 0?A:ht==null?void 0:ht.Previous):null,o.createElement(k.ZP,Object.assign({type:yt},de,{onClick:$t,size:"small",className:ze()(`${dt}-next-btn`,de==null?void 0:de.className)}),(re=de==null?void 0:de.children)!==null&&re!==void 0?re:Ye?ht==null?void 0:ht.Finish:ht==null?void 0:ht.Next)))))},w=n(78776),E=n(45915),ie=n(22703),X=n(69106),q=n(36237),Ee=n(17835),Pe=n(63356),et=n(37645),He=n(36305),Ce=n(16931),be=n(51636);const J=W=>{const{componentCls:A,padding:re,paddingXS:Ve,borderRadius:pe,borderRadiusXS:Ze,colorPrimary:st,colorFill:dt,indicatorHeight:he,indicatorWidth:Le,boxShadowTertiary:At,zIndexPopup:Fe,colorBgElevated:Re,fontWeightStrong:N,marginXS:_e,colorTextLightSolid:ve,tourBorderRadius:de,colorWhite:fe,primaryNextBtnHoverBg:me,closeBtnSize:Oe,motionDurationSlow:xe,antCls:Ne,primaryPrevBtnBg:Ye}=W;return[{[A]:Object.assign(Object.assign({},(0,Pe.Wf)(W)),{position:"absolute",zIndex:Fe,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":Re,"&-pure":{maxWidth:"100%",position:"relative"},[`&${A}-hidden`]:{display:"none"},[`${A}-content`]:{position:"relative"},[`${A}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:de,boxShadow:At,position:"relative",backgroundColor:Re,border:"none",backgroundClip:"padding-box",[`${A}-close`]:Object.assign({position:"absolute",top:re,insetInlineEnd:re,color:W.colorIcon,background:"none",border:"none",width:Oe,height:Oe,borderRadius:W.borderRadiusSM,transition:`background-color ${W.motionDurationMid}, color ${W.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:W.colorIconHover,backgroundColor:W.colorBgTextHover},"&:active":{backgroundColor:W.colorBgTextActive}},(0,Pe.Qy)(W)),[`${A}-cover`]:{textAlign:"center",padding:`${(0,q.unit)(W.calc(re).add(Oe).add(Ve).equal())} ${(0,q.unit)(re)} 0`,img:{width:"100%"}},[`${A}-header`]:{padding:`${(0,q.unit)(re)} ${(0,q.unit)(re)} ${(0,q.unit)(Ve)}`,width:`calc(100% - ${(0,q.unit)(Oe)})`,wordBreak:"break-word",[`${A}-title`]:{fontWeight:N}},[`${A}-description`]:{padding:`0 ${(0,q.unit)(re)}`,wordWrap:"break-word"},[`${A}-footer`]:{padding:`${(0,q.unit)(Ve)} ${(0,q.unit)(re)} ${(0,q.unit)(re)}`,textAlign:"end",borderRadius:`0 0 ${(0,q.unit)(Ze)} ${(0,q.unit)(Ze)}`,display:"flex",[`${A}-indicators`]:{display:"inline-block",[`${A}-indicator`]:{width:Le,height:he,display:"inline-block",borderRadius:"50%",background:dt,"&:not(:last-child)":{marginInlineEnd:he},"&-active":{background:st}}},[`${A}-buttons`]:{marginInlineStart:"auto",[`${Ne}-btn`]:{marginInlineStart:_e}}}},[`${A}-primary, &${A}-primary`]:{"--antd-arrow-background-color":st,[`${A}-inner`]:{color:ve,textAlign:"start",textDecoration:"none",backgroundColor:st,borderRadius:pe,boxShadow:At,[`${A}-close`]:{color:ve},[`${A}-indicators`]:{[`${A}-indicator`]:{background:Ye,"&-active":{background:ve}}},[`${A}-prev-btn`]:{color:ve,borderColor:Ye,backgroundColor:st,"&:hover":{backgroundColor:Ye,borderColor:"transparent"}},[`${A}-next-btn`]:{color:st,borderColor:"transparent",background:fe,"&:hover":{background:me}}}}}),[`${A}-mask`]:{[`${A}-placeholder-animated`]:{transition:`all ${xe}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${A}-inner`]:{borderRadius:W.min(de,et.qN)}}},(0,et.ZP)(W,"var(--antd-arrow-background-color)")]},we=W=>Object.assign(Object.assign({zIndexPopup:W.zIndexPopupBase+70,closeBtnSize:W.fontSize*W.lineHeight,primaryPrevBtnBg:new Ee.FastColor(W.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new Ee.FastColor(W.colorBgTextHover).onBackground(W.colorWhite).toRgbString()},(0,et.wZ)({contentRadius:W.borderRadiusLG,limitVerticalRadius:!0})),(0,He.w)(W));var M=(0,Ce.I$)("Tour",W=>{const{borderRadiusLG:A}=W,re=(0,be.mergeToken)(W,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:A});return[J(re)]},we),I=function(W,A){var re={};for(var Ve in W)Object.prototype.hasOwnProperty.call(W,Ve)&&A.indexOf(Ve)<0&&(re[Ve]=W[Ve]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ve=Object.getOwnPropertySymbols(W);pe<Ve.length;pe++)A.indexOf(Ve[pe])<0&&Object.prototype.propertyIsEnumerable.call(W,Ve[pe])&&(re[Ve[pe]]=W[Ve[pe]]);return re};const rt=W=>{const{prefixCls:A,current:re=0,total:Ve=6,className:pe,style:Ze,type:st,closable:dt,closeIcon:he}=W,Le=I(W,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:At}=o.useContext(y.E_),Fe=At("tour",A),[Re,N,_e]=M(Fe),[ve,de]=(0,w.Z)({closable:dt,closeIcon:he},null,{closable:!0,closeIconRender:fe=>o.isValidElement(fe)?(0,ie.Tm)(fe,{className:ze()(fe.props.className,`${Fe}-close-icon`)}):fe});return Re(o.createElement(X.t5,{prefixCls:Fe,hashId:N,className:ze()(pe,`${Fe}-pure`,st&&`${Fe}-${st}`,_e),style:Ze},o.createElement(D,{stepProps:Object.assign(Object.assign({},Le),{prefixCls:Fe,total:Ve,closable:ve?{closeIcon:de}:void 0}),current:re,type:st})))};var ue=(0,E.i)(rt),le=function(W,A){var re={};for(var Ve in W)Object.prototype.hasOwnProperty.call(W,Ve)&&A.indexOf(Ve)<0&&(re[Ve]=W[Ve]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ve=Object.getOwnPropertySymbols(W);pe<Ve.length;pe++)A.indexOf(Ve[pe])<0&&Object.prototype.propertyIsEnumerable.call(W,Ve[pe])&&(re[Ve[pe]]=W[Ve[pe]]);return re};const B=W=>{const{prefixCls:A,type:re,rootClassName:Ve,indicatorsRender:pe,steps:Ze,closeIcon:st}=W,dt=le(W,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:he,direction:Le,tour:At}=(0,o.useContext)(y.E_),Fe=he("tour",A),[Re,N,_e]=M(Fe),[,ve]=(0,U.ZP)(),de=o.useMemo(()=>Ze==null?void 0:Ze.map(Ye=>{var pt;return Object.assign(Object.assign({},Ye),{className:ze()(Ye.className,{[`${Fe}-primary`]:((pt=Ye.type)!==null&&pt!==void 0?pt:re)==="primary"})})}),[Ze,re]),fe=Ye=>{var pt;return(0,Q.Z)({arrowPointAtCenter:(pt=Ye==null?void 0:Ye.arrowPointAtCenter)!==null&&pt!==void 0?pt:!0,autoAdjustOverflow:!0,offset:ve.marginXXS,arrowWidth:ve.sizePopupArrow,borderRadius:ve.borderRadius})},me=ze()({[`${Fe}-rtl`]:Le==="rtl"},N,_e,Ve),Oe=(Ye,pt)=>o.createElement(D,{type:re,stepProps:Ye,current:pt,indicatorsRender:pe}),[xe,Ne]=(0,Y.Cn)("Tour",dt.zIndex);return Re(o.createElement(_.Z.Provider,{value:Ne},o.createElement(Xe.Z,Object.assign({},dt,{closeIcon:st!=null?st:At==null?void 0:At.closeIcon,zIndex:xe,rootClassName:me,prefixCls:Fe,animated:!0,renderPanel:Oe,builtinPlacements:fe,steps:de}))))};B._InternalPanelDoNotUseOrYouWillBeFired=ue;var ae=B},69219:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return ae}});var o=n(59301),Xe=n(92310),L=n.n(Xe),ze=n(9940),Y=n(2738),Q=n(75030),_=n(86641),y=n(45915),U=n(82855),c=n(48755),T=n(38406),k=n(2171),V=n(83397),z=n(31756),K=n(56553),O=n(24971),D=n(1722),w=n(90376),E=n(68525),ie=n(90005),X=n(70045),q=n(57700),Ee=n(85278),Pe=n(36237),et=n(36170),He=n(51636),Ce=n(16931),be=n(12425);const J=W=>{const{componentCls:A,treePrefixCls:re,colorBgElevated:Ve}=W,pe=`.${re}`;return[{[`${A}-dropdown`]:[{padding:`${(0,Pe.unit)(W.paddingXS)} ${(0,Pe.unit)(W.calc(W.paddingXS).div(2).equal())}`},(0,be.Yk)(re,(0,He.mergeToken)(W,{colorBgContainer:Ve}),!1),{[pe]:{borderRadius:0,[`${pe}-list-holder-inner`]:{alignItems:"stretch",[`${pe}-treenode`]:{[`${pe}-node-content-wrapper`]:{flex:"auto"}}}}},(0,et.C2)(`${re}-checkbox`,W),{"&-rtl":{direction:"rtl",[`${pe}-switcher${pe}-switcher_close`]:{[`${pe}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},we=null;function M(W,A,re){return(0,Ce.I$)("TreeSelect",Ve=>{const pe=(0,He.mergeToken)(Ve,{treePrefixCls:A});return[J(pe)]},be.TM)(W,re)}var I=function(W,A){var re={};for(var Ve in W)Object.prototype.hasOwnProperty.call(W,Ve)&&A.indexOf(Ve)<0&&(re[Ve]=W[Ve]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ve=Object.getOwnPropertySymbols(W);pe<Ve.length;pe++)A.indexOf(Ve[pe])<0&&Object.prototype.propertyIsEnumerable.call(W,Ve[pe])&&(re[Ve[pe]]=W[Ve[pe]]);return re};const rt=(W,A)=>{var re;const{prefixCls:Ve,size:pe,disabled:Ze,bordered:st=!0,className:dt,rootClassName:he,treeCheckable:Le,multiple:At,listHeight:Fe=256,listItemHeight:Re,placement:N,notFoundContent:_e,switcherIcon:ve,treeLine:de,getPopupContainer:fe,popupClassName:me,dropdownClassName:Oe,treeIcon:xe=!1,transitionName:Ne,choiceTransitionName:Ye="",status:pt,treeExpandAction:$t,builtinPlacements:Xt,dropdownMatchSelectWidth:Ut,popupMatchSelectWidth:Dt,allowClear:at,variant:yt,dropdownStyle:xt,tagRender:ht,maxCount:tr,showCheckedStrategy:mr,treeCheckStrictly:hr}=W,Ir=I(W,["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:tn,getPrefixCls:Pr,renderEmpty:x,direction:F,virtual:wt,popupMatchSelectWidth:oe,popupOverflow:Be}=o.useContext(c.E_),[,kr]=(0,q.ZP)(),Br=Re!=null?Re:(kr==null?void 0:kr.controlHeightSM)+(kr==null?void 0:kr.paddingXXS),wn=Pr(),Fn=Pr("select",Ve),Rt=Pr("select-tree",Ve),Sr=Pr("tree-select",Ve),{compactSize:sr,compactItemClassnames:S}=(0,X.ri)(Fn,F),v=(0,V.Z)(Fn),Gt=(0,V.Z)(Sr),[$,Ae,Cn]=(0,w.Z)(Fn,v),[Zr]=M(Sr,Rt,Gt),[Ht,Vt]=(0,O.Z)("treeSelect",yt,st),br=L()(me||Oe,`${Sr}-dropdown`,{[`${Sr}-dropdown-rtl`]:F==="rtl"},he,Cn,v,Gt,Ae),Kr=!!(Le||At),an=o.useMemo(()=>{if(!(tr&&(mr==="SHOW_ALL"&&!hr||mr==="SHOW_PARENT")))return tr},[tr,mr,hr]),An=(0,ie.Z)(W.suffixIcon,W.showArrow),St=(re=Dt!=null?Dt:Ut)!==null&&re!==void 0?re:oe,{status:Bt,hasFeedback:We,isFormItemInput:jr,feedbackIcon:$r}=o.useContext(K.aM),Gr=(0,U.F)(Bt,pt),{suffixIcon:Sn,removeIcon:na,clearIcon:mt}=(0,E.Z)(Object.assign(Object.assign({},Ir),{multiple:Kr,showSuffixIcon:An,hasFeedback:We,feedbackIcon:$r,prefixCls:Fn,componentName:"TreeSelect"})),rr=at===!0?{clearIcon:mt}:at;let lr;_e!==void 0?lr=_e:lr=(x==null?void 0:x("Select"))||o.createElement(T.Z,{componentName:"Select"});const or=(0,Y.Z)(Ir,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Nr=o.useMemo(()=>N!==void 0?N:F==="rtl"?"bottomRight":"bottomLeft",[N,F]),Dr=(0,z.Z)(bn=>{var zn;return(zn=pe!=null?pe:sr)!==null&&zn!==void 0?zn:bn}),sn=o.useContext(k.Z),Tr=Ze!=null?Ze:sn,mn=L()(!Ve&&Sr,{[`${Fn}-lg`]:Dr==="large",[`${Fn}-sm`]:Dr==="small",[`${Fn}-rtl`]:F==="rtl",[`${Fn}-${Ht}`]:Vt,[`${Fn}-in-form-item`]:jr},(0,U.Z)(Fn,Gr,We),S,dt,he,Cn,v,Gt,Ae),on=bn=>o.createElement(Ee.Z,{prefixCls:Rt,switcherIcon:ve,treeNodeProps:bn,showLine:de}),[Mn]=(0,Q.Cn)("SelectLike",xt==null?void 0:xt.zIndex),jn=o.createElement(ze.ZP,Object.assign({virtual:wt,disabled:Tr},or,{dropdownMatchSelectWidth:St,builtinPlacements:(0,D.Z)(Xt,Be),ref:A,prefixCls:Fn,className:mn,listHeight:Fe,listItemHeight:Br,treeCheckable:Le&&o.createElement("span",{className:`${Fn}-tree-checkbox-inner`}),treeLine:!!de,suffixIcon:Sn,multiple:Kr,placement:Nr,removeIcon:na,allowClear:rr,switcherIcon:on,showTreeIcon:xe,notFoundContent:lr,getPopupContainer:fe||tn,treeMotion:null,dropdownClassName:br,dropdownStyle:Object.assign(Object.assign({},xt),{zIndex:Mn}),choiceTransitionName:(0,_.m)(wn,"",Ye),transitionName:(0,_.m)(wn,"slide-up",Ne),treeExpandAction:$t,tagRender:Kr?ht:void 0,maxCount:an,showCheckedStrategy:mr,treeCheckStrictly:hr}));return $(Zr(jn))},le=o.forwardRef(rt),B=(0,y.Z)(le,"dropdownAlign",W=>(0,Y.Z)(W,["visible"]));le.TreeNode=ze.OF,le.SHOW_ALL=ze.Qw,le.SHOW_PARENT=ze.hT,le.SHOW_CHILD=ze.FJ,le._InternalPanelDoNotUseOrYouWillBeFired=B;var ae=le},18287:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Ve}});var o=n(3741),Xe=n(94480),L=n(59301),ze=n(52671),Y=n(8657),Q=n(54476),_={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"},y=_,U=n(7657),c=function(Ze,st){return L.createElement(U.Z,(0,Q.Z)({},Ze,{ref:st,icon:y}))},T=L.forwardRef(c),k=T,V=n(92310),z=n.n(V),K=n(82661),O=n(34061),D=n(48755),w=n(56082),E=n(86641),ie=n(57700),X=n(12425);const q=4;function Ee(pe){const{dropPosition:Ze,dropLevelOffset:st,prefixCls:dt,indent:he,direction:Le="ltr"}=pe,At=Le==="ltr"?"left":"right",Fe=Le==="ltr"?"right":"left",Re={[At]:-st*he+q,[Fe]:0};switch(Ze){case-1:Re.top=-3;break;case 1:Re.bottom=-3;break;default:Re.bottom=-3,Re[At]=he+q;break}return L.createElement("div",{style:Re,className:`${dt}-drop-indicator`})}var Pe=Ee,et=n(85278),Ce=L.forwardRef((pe,Ze)=>{var st;const{getPrefixCls:dt,direction:he,virtual:Le,tree:At}=L.useContext(D.E_),{prefixCls:Fe,className:Re,showIcon:N=!1,showLine:_e,switcherIcon:ve,switcherLoadingIcon:de,blockNode:fe=!1,children:me,checkable:Oe=!1,selectable:xe=!0,draggable:Ne,motion:Ye,style:pt}=pe,$t=dt("tree",Fe),Xt=dt(),Ut=Ye!=null?Ye:Object.assign(Object.assign({},(0,E.Z)(Xt)),{motionAppear:!1}),Dt=Object.assign(Object.assign({},pe),{checkable:Oe,selectable:xe,showIcon:N,motion:Ut,blockNode:fe,showLine:!!_e,dropIndicatorRender:Pe}),[at,yt,xt]=(0,X.ZP)($t),[,ht]=(0,ie.ZP)(),tr=ht.paddingXS/2+(((st=ht.Tree)===null||st===void 0?void 0:st.titleHeight)||ht.controlHeightSM),mr=L.useMemo(()=>{if(!Ne)return!1;let Ir={};switch(typeof Ne){case"function":Ir.nodeDraggable=Ne;break;case"object":Ir=Object.assign({},Ne);break;default:break}return Ir.icon!==!1&&(Ir.icon=Ir.icon||L.createElement(w.Z,null)),Ir},[Ne]),hr=Ir=>L.createElement(et.Z,{prefixCls:$t,switcherIcon:ve,switcherLoadingIcon:de,treeNodeProps:Ir,showLine:_e});return at(L.createElement(o.ZP,Object.assign({itemHeight:tr,ref:Ze,virtual:Le},Dt,{style:Object.assign(Object.assign({},At==null?void 0:At.style),pt),prefixCls:$t,className:z()({[`${$t}-icon-hide`]:!N,[`${$t}-block-node`]:fe,[`${$t}-unselectable`]:!xe,[`${$t}-rtl`]:he==="rtl"},At==null?void 0:At.className,Re,yt,xt),direction:he,checkable:Oe&&L.createElement("span",{className:`${$t}-checkbox-inner`}),selectable:xe,switcherIcon:hr,draggable:mr}),me))});const be=0,J=1,we=2;function M(pe,Ze,st){const{key:dt,children:he}=st;function Le(At){const Fe=At[dt],Re=At[he];Ze(Fe,At)!==!1&&M(Re||[],Ze,st)}pe.forEach(Le)}function I(pe){let{treeData:Ze,expandedKeys:st,startKey:dt,endKey:he,fieldNames:Le}=pe;const At=[];let Fe=be;if(dt&&dt===he)return[dt];if(!dt||!he)return[];function Re(N){return N===dt||N===he}return M(Ze,N=>{if(Fe===we)return!1;if(Re(N)){if(At.push(N),Fe===be)Fe=J;else if(Fe===J)return Fe=we,!1}else Fe===J&&At.push(N);return st.includes(N)},(0,O.w$)(Le)),At}function rt(pe,Ze,st){const dt=(0,Xe.Z)(Ze),he=[];return M(pe,(Le,At)=>{const Fe=dt.indexOf(Le);return Fe!==-1&&(he.push(At),dt.splice(Fe,1)),!!dt.length},(0,O.w$)(st)),he}var ue=function(pe,Ze){var st={};for(var dt in pe)Object.prototype.hasOwnProperty.call(pe,dt)&&Ze.indexOf(dt)<0&&(st[dt]=pe[dt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,dt=Object.getOwnPropertySymbols(pe);he<dt.length;he++)Ze.indexOf(dt[he])<0&&Object.prototype.propertyIsEnumerable.call(pe,dt[he])&&(st[dt[he]]=pe[dt[he]]);return st};function le(pe){const{isLeaf:Ze,expanded:st}=pe;return Ze?L.createElement(ze.Z,null):st?L.createElement(Y.Z,null):L.createElement(k,null)}function B(pe){let{treeData:Ze,children:st}=pe;return Ze||(0,O.zn)(st)}const ae=(pe,Ze)=>{var{defaultExpandAll:st,defaultExpandParent:dt,defaultExpandedKeys:he}=pe,Le=ue(pe,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const At=L.useRef(null),Fe=L.useRef(null),Re=()=>{const{keyEntities:at}=(0,O.I8)(B(Le));let yt;return st?yt=Object.keys(at):dt?yt=(0,K.r7)(Le.expandedKeys||he||[],at):yt=Le.expandedKeys||he||[],yt},[N,_e]=L.useState(Le.selectedKeys||Le.defaultSelectedKeys||[]),[ve,de]=L.useState(()=>Re());L.useEffect(()=>{"selectedKeys"in Le&&_e(Le.selectedKeys)},[Le.selectedKeys]),L.useEffect(()=>{"expandedKeys"in Le&&de(Le.expandedKeys)},[Le.expandedKeys]);const fe=(at,yt)=>{var xt;return"expandedKeys"in Le||de(at),(xt=Le.onExpand)===null||xt===void 0?void 0:xt.call(Le,at,yt)},me=(at,yt)=>{var xt;const{multiple:ht,fieldNames:tr}=Le,{node:mr,nativeEvent:hr}=yt,{key:Ir=""}=mr,tn=B(Le),Pr=Object.assign(Object.assign({},yt),{selected:!0}),x=(hr==null?void 0:hr.ctrlKey)||(hr==null?void 0:hr.metaKey),F=hr==null?void 0:hr.shiftKey;let wt;ht&&x?(wt=at,At.current=Ir,Fe.current=wt,Pr.selectedNodes=rt(tn,wt,tr)):ht&&F?(wt=Array.from(new Set([].concat((0,Xe.Z)(Fe.current||[]),(0,Xe.Z)(I({treeData:tn,expandedKeys:ve,startKey:Ir,endKey:At.current,fieldNames:tr}))))),Pr.selectedNodes=rt(tn,wt,tr)):(wt=[Ir],At.current=Ir,Fe.current=wt,Pr.selectedNodes=rt(tn,wt,tr)),(xt=Le.onSelect)===null||xt===void 0||xt.call(Le,wt,Pr),"selectedKeys"in Le||_e(wt)},{getPrefixCls:Oe,direction:xe}=L.useContext(D.E_),{prefixCls:Ne,className:Ye,showIcon:pt=!0,expandAction:$t="click"}=Le,Xt=ue(Le,["prefixCls","className","showIcon","expandAction"]),Ut=Oe("tree",Ne),Dt=z()(`${Ut}-directory`,{[`${Ut}-directory-rtl`]:xe==="rtl"},Ye);return L.createElement(Ce,Object.assign({icon:le,ref:Ze,blockNode:!0},Xt,{showIcon:pt,expandAction:$t,prefixCls:Ut,className:Dt,expandedKeys:ve,selectedKeys:N,onSelect:me,onExpand:fe}))};var A=L.forwardRef(ae);const re=Ce;re.DirectoryTree=A,re.TreeNode=o.OF;var Ve=re},12425:function(qr,_t,n){"use strict";n.d(_t,{ZP:function(){return K},Yk:function(){return k},TM:function(){return V}});var o=n(36237),Xe=n(36170),L=n(63356),ze=n(34961),Y=n(51636),Q=n(16931);const _=O=>{let{treeCls:D,treeNodeCls:w,directoryNodeSelectedBg:E,directoryNodeSelectedColor:ie,motionDurationMid:X,borderRadius:q,controlItemBgHover:Ee}=O;return{[`${D}${D}-directory ${w}`]:{[`${D}-node-content-wrapper`]:{position:"static",[`> *:not(${D}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${X}`,content:'""',borderRadius:q},"&:hover:before":{background:Ee}},[`${D}-switcher, ${D}-checkbox, ${D}-draggable-icon`]:{zIndex:1},"&-selected":{[`${D}-switcher, ${D}-draggable-icon`]:{color:ie},[`${D}-node-content-wrapper`]:{color:ie,background:"transparent","&:before, &:hover:before":{background:E}}}}}},y=new o.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),U=(O,D)=>({[`.${O}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${D.motionDurationSlow}`}}}),c=(O,D)=>({[`.${O}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:D.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.unit)(D.lineWidthBold)} solid ${D.colorPrimary}`,borderRadius:"50%",content:'""'}}}),T=(O,D)=>{const{treeCls:w,treeNodeCls:E,treeNodePadding:ie,titleHeight:X,indentSize:q,nodeSelectedBg:Ee,nodeHoverBg:Pe,colorTextQuaternary:et,controlItemBgActiveDisabled:He}=D;return{[w]:Object.assign(Object.assign({},(0,L.Wf)(D)),{background:D.colorBgContainer,borderRadius:D.borderRadius,transition:`background-color ${D.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${w}-rtl ${w}-switcher_close ${w}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${w}-active-focused)`]:Object.assign({},(0,L.oN)(D)),[`${w}-list-holder-inner`]:{alignItems:"flex-start"},[`&${w}-block-node`]:{[`${w}-list-holder-inner`]:{alignItems:"stretch",[`${w}-node-content-wrapper`]:{flex:"auto"},[`${E}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${D.colorPrimary}`,opacity:0,animationName:y,animationDuration:D.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:D.borderRadius}}},[E]:{display:"flex",alignItems:"flex-start",marginBottom:ie,lineHeight:(0,o.unit)(X),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:ie},[`&-disabled ${w}-node-content-wrapper`]:{color:D.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${w}-checkbox-disabled + ${w}-node-selected,&${E}-disabled${E}-selected ${w}-node-content-wrapper`]:{backgroundColor:He},[`${w}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${E}-disabled)`]:{[`${w}-node-content-wrapper`]:{"&:hover":{color:D.nodeHoverColor}}},[`&-active ${w}-node-content-wrapper`]:{background:D.controlItemBgHover},[`&:not(${E}-disabled).filter-node ${w}-title`]:{color:D.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${w}-draggable-icon`]:{flexShrink:0,width:X,textAlign:"center",visibility:"visible",color:et},[`&${E}-disabled ${w}-draggable-icon`]:{visibility:"hidden"}}},[`${w}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:q}},[`${w}-draggable-icon`]:{visibility:"hidden"},[`${w}-switcher, ${w}-checkbox`]:{marginInlineEnd:D.calc(D.calc(X).sub(D.controlInteractiveSize)).div(2).equal()},[`${w}-switcher`]:Object.assign(Object.assign({},U(O,D)),{position:"relative",flex:"none",alignSelf:"stretch",width:X,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${D.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:X,height:X,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:D.borderRadius,transition:`all ${D.motionDurationSlow}`},[`&:not(${w}-switcher-noop):hover:before`]:{backgroundColor:D.colorBgTextHover},[`&_close ${w}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:D.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:D.calc(X).div(2).equal(),bottom:D.calc(ie).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${D.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:D.calc(D.calc(X).div(2).equal()).mul(.8).equal(),height:D.calc(X).div(2).equal(),borderBottom:`1px solid ${D.colorBorder}`,content:'""'}}}),[`${w}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:X,paddingBlock:0,paddingInline:D.paddingXS,background:"transparent",borderRadius:D.borderRadius,cursor:"pointer",transition:`all ${D.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},c(O,D)),{"&:hover":{backgroundColor:Pe},[`&${w}-node-selected`]:{color:D.nodeSelectedColor,backgroundColor:Ee},[`${w}-iconEle`]:{display:"inline-block",width:X,height:X,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${w}-unselectable ${w}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${E}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${D.colorPrimary}`},"&-show-line":{[`${w}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:D.calc(X).div(2).equal(),bottom:D.calc(ie).mul(-1).equal(),borderInlineEnd:`1px solid ${D.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${w}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${E}-leaf-last ${w}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${(0,o.unit)(D.calc(X).div(2).equal())} !important`}})}},k=function(O,D){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const E=`.${O}`,ie=`${E}-treenode`,X=D.calc(D.paddingXS).div(2).equal(),q=(0,Y.mergeToken)(D,{treeCls:E,treeNodeCls:ie,treeNodePadding:X});return[T(O,q),w&&_(q)].filter(Boolean)},V=O=>{const{controlHeightSM:D,controlItemBgHover:w,controlItemBgActive:E}=O,ie=D;return{titleHeight:ie,indentSize:ie,nodeHoverBg:w,nodeHoverColor:O.colorText,nodeSelectedBg:E,nodeSelectedColor:O.colorText}},z=O=>{const{colorTextLightSolid:D,colorPrimary:w}=O;return Object.assign(Object.assign({},V(O)),{directoryNodeSelectedColor:D,directoryNodeSelectedBg:w})};var K=(0,Q.I$)("Tree",(O,D)=>{let{prefixCls:w}=D;return[{[O.componentCls]:(0,Xe.C2)(`${w}-checkbox`,O)},k(w,O),(0,ze.Z)(O)]},z)},85278:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return D}});var o=n(59301),Xe=n(54476),L={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"},ze=L,Y=n(7657),Q=function(E,ie){return o.createElement(Y.Z,(0,Xe.Z)({},E,{ref:ie,icon:ze}))},_=o.forwardRef(Q),y=_,U=n(52671),c=n(58617),T=n(15075),k=n(43531),V=n(92310),z=n.n(V),K=n(22703),D=w=>{const{prefixCls:E,switcherIcon:ie,treeNodeProps:X,showLine:q,switcherLoadingIcon:Ee}=w,{isLeaf:Pe,expanded:et,loading:He}=X;if(He)return o.isValidElement(Ee)?Ee:o.createElement(c.Z,{className:`${E}-switcher-loading-icon`});let Ce;if(q&&typeof q=="object"&&(Ce=q.showLeafIcon),Pe){if(!q)return null;if(typeof Ce!="boolean"&&Ce){const we=typeof Ce=="function"?Ce(X):Ce,M=`${E}-switcher-line-custom-icon`;return o.isValidElement(we)?(0,K.Tm)(we,{className:z()(we.props.className||"",M)}):we}return Ce?o.createElement(U.Z,{className:`${E}-switcher-line-icon`}):o.createElement("span",{className:`${E}-switcher-leaf-line`})}const be=`${E}-switcher-icon`,J=typeof ie=="function"?ie(X):ie;return o.isValidElement(J)?(0,K.Tm)(J,{className:z()(J.props.className||"",be)}):J!==void 0?J:q?et?o.createElement(T.Z,{className:`${E}-switcher-line-icon`}):o.createElement(k.Z,{className:`${E}-switcher-line-icon`}):o.createElement(y,{className:be})}},530:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return St}});var o=n(59301),Xe=n(54476),L={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"},ze=L,Y=n(7657),Q=function(We,jr){return o.createElement(Y.Z,(0,Xe.Z)({},We,{ref:jr,icon:ze}))},_=o.forwardRef(Q),y=_,U=n(92310),c=n.n(U),T=n(29301),k=n(11592),V=n(34280),z=n(18929),K=n(2738),O=n(8654),D=n(3465),w=n(48755),E=n(9017),ie=n(25399),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},q=X,Ee=function(We,jr){return o.createElement(Y.Z,(0,Xe.Z)({},We,{ref:jr,icon:q}))},Pe=o.forwardRef(Ee),et=Pe,He=n(10228),Ce=n(22703),be=n(79809),J=n(63356),we=n(16931),M=n(68361),I=n(36237);const rt=(Bt,We,jr,$r)=>{const{titleMarginBottom:Gr,fontWeightStrong:Sn}=$r;return{marginBottom:Gr,color:jr,fontWeight:Sn,fontSize:Bt,lineHeight:We}},ue=Bt=>{const We=[1,2,3,4,5],jr={};return We.forEach($r=>{jr[`
|
|
|
h${$r}&,
|
|
|
div&-h${$r},
|
|
|
div&-h${$r} > textarea,
|
|
|
h${$r}
|
|
|
`]=rt(Bt[`fontSizeHeading${$r}`],Bt[`lineHeightHeading${$r}`],Bt.colorTextHeading,Bt)}),jr},le=Bt=>{const{componentCls:We}=Bt;return{"a&, a":Object.assign(Object.assign({},(0,J.Nd)(Bt)),{userSelect:"text",[`&[disabled], &${We}-disabled`]:{color:Bt.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:Bt.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},B=Bt=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:Bt.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:Bt.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:M.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:Bt.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}}),ae=Bt=>{const{componentCls:We,paddingSM:jr}=Bt,$r=jr;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:Bt.calc(Bt.paddingSM).mul(-1).equal(),marginTop:Bt.calc($r).mul(-1).equal(),marginBottom:`calc(1em - ${(0,I.unit)($r)})`},[`${We}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:Bt.calc(Bt.marginXS).add(2).equal(),insetBlockEnd:Bt.marginXS,color:Bt.colorTextDescription,fontWeight:"normal",fontSize:Bt.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},W=Bt=>({[`${Bt.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:Bt.colorSuccess}},[`${Bt.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),A=()=>({"\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"}}),re=Bt=>{const{componentCls:We,titleMarginTop:jr}=Bt;return{[We]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:Bt.colorText,wordBreak:"break-word",lineHeight:Bt.lineHeight,[`&${We}-secondary`]:{color:Bt.colorTextDescription},[`&${We}-success`]:{color:Bt.colorSuccessText},[`&${We}-warning`]:{color:Bt.colorWarningText},[`&${We}-danger`]:{color:Bt.colorErrorText,"a&:active, a&:focus":{color:Bt.colorErrorTextActive},"a&:hover":{color:Bt.colorErrorTextHover}},[`&${We}-disabled`]:{color:Bt.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},ue(Bt)),{[`
|
|
|
& + h1${We},
|
|
|
& + h2${We},
|
|
|
& + h3${We},
|
|
|
& + h4${We},
|
|
|
& + h5${We}
|
|
|
`]:{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}}}),B(Bt)),le(Bt)),{[`
|
|
|
${We}-expand,
|
|
|
${We}-collapse,
|
|
|
${We}-edit,
|
|
|
${We}-copy
|
|
|
`]:Object.assign(Object.assign({},(0,J.Nd)(Bt)),{marginInlineStart:Bt.marginXXS})}),ae(Bt)),W(Bt)),A()),{"&-rtl":{direction:"rtl"}})}},Ve=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var pe=(0,we.I$)("Typography",Bt=>[re(Bt)],Ve),st=Bt=>{const{prefixCls:We,"aria-label":jr,className:$r,style:Gr,direction:Sn,maxLength:na,autoSize:mt=!0,value:rr,onSave:lr,onCancel:or,onEnd:Nr,component:Dr,enterIcon:sn=o.createElement(et,null)}=Bt,Tr=o.useRef(null),mn=o.useRef(!1),on=o.useRef(null),[Mn,jn]=o.useState(rr);o.useEffect(()=>{jn(rr)},[rr]),o.useEffect(()=>{var Jn;if(!((Jn=Tr.current)===null||Jn===void 0)&&Jn.resizableTextArea){const{textArea:On}=Tr.current.resizableTextArea;On.focus();const{length:Bn}=On.value;On.setSelectionRange(Bn,Bn)}},[]);const bn=Jn=>{let{target:On}=Jn;jn(On.value.replace(/[\n\r]/g,""))},zn=()=>{mn.current=!0},ua=()=>{mn.current=!1},nn=Jn=>{let{keyCode:On}=Jn;mn.current||(on.current=On)},$n=()=>{lr(Mn.trim())},kn=Jn=>{let{keyCode:On,ctrlKey:Bn,altKey:Yn,metaKey:Ca,shiftKey:Ma}=Jn;on.current!==On||mn.current||Bn||Yn||Ca||Ma||(On===He.Z.ENTER?($n(),Nr==null||Nr()):On===He.Z.ESC&&or())},Ea=()=>{$n()},[Dn,aa,Kn]=pe(We),Zn=c()(We,`${We}-edit-content`,{[`${We}-rtl`]:Sn==="rtl",[`${We}-${Dr}`]:!!Dr},$r,aa,Kn);return Dn(o.createElement("div",{className:Zn,style:Gr},o.createElement(be.Z,{ref:Tr,maxLength:na,value:Mn,onChange:bn,onKeyDown:nn,onKeyUp:kn,onCompositionStart:zn,onCompositionEnd:ua,onBlur:Ea,"aria-label":jr,rows:1,autoSize:mt}),sn!==null?(0,Ce.Tm)(sn,{className:`${We}-edit-content-confirm`}):null))},dt=n(25769),he=n.n(dt),Le=n(6089),Fe=function(Bt){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&Bt==null?[]:Array.isArray(Bt)?Bt:[Bt]},Re=function(Bt,We,jr,$r){function Gr(Sn){return Sn instanceof jr?Sn:new jr(function(na){na(Sn)})}return new(jr||(jr=Promise))(function(Sn,na){function mt(or){try{lr($r.next(or))}catch(Nr){na(Nr)}}function rr(or){try{lr($r.throw(or))}catch(Nr){na(Nr)}}function lr(or){or.done?Sn(or.value):Gr(or.value).then(mt,rr)}lr(($r=$r.apply(Bt,We||[])).next())})},_e=Bt=>{let{copyConfig:We,children:jr}=Bt;const[$r,Gr]=o.useState(!1),[Sn,na]=o.useState(!1),mt=o.useRef(null),rr=()=>{mt.current&&clearTimeout(mt.current)},lr={};We.format&&(lr.format=We.format),o.useEffect(()=>rr,[]);const or=(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 We.text=="function"?yield We.text():We.text;he()(sn||Fe(jr,!0).join("")||"",lr),na(!1),Gr(!0),rr(),mt.current=setTimeout(()=>{Gr(!1)},3e3),(Dr=We.onCopy)===null||Dr===void 0||Dr.call(We,Nr)}catch(sn){throw na(!1),sn}}));return{copied:$r,copyLoading:Sn,onClick:or}};function ve(Bt,We){return o.useMemo(()=>{const jr=!!Bt;return[jr,Object.assign(Object.assign({},We),jr&&typeof Bt=="object"?Bt:null)]},[Bt])}var fe=Bt=>{const We=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{We.current=Bt}),We.current},Oe=(Bt,We,jr)=>(0,o.useMemo)(()=>Bt===!0?{title:We!=null?We:jr}:(0,o.isValidElement)(Bt)?{title:Bt}:typeof Bt=="object"?Object.assign({title:We!=null?We:jr},Bt):{title:Bt},[Bt,We,jr]),xe=function(Bt,We){var jr={};for(var $r in Bt)Object.prototype.hasOwnProperty.call(Bt,$r)&&We.indexOf($r)<0&&(jr[$r]=Bt[$r]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Bt);Gr<$r.length;Gr++)We.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Bt,$r[Gr])&&(jr[$r[Gr]]=Bt[$r[Gr]]);return jr},Ye=o.forwardRef((Bt,We)=>{const{prefixCls:jr,component:$r="article",className:Gr,rootClassName:Sn,setContentRef:na,children:mt,direction:rr,style:lr}=Bt,or=xe(Bt,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:Nr,direction:Dr,className:sn,style:Tr}=(0,w.dj)("typography"),mn=rr!=null?rr:Dr,on=na?(0,O.sQ)(We,na):We,Mn=Nr("typography",jr),[jn,bn,zn]=pe(Mn),ua=c()(Mn,sn,{[`${Mn}-rtl`]:mn==="rtl"},Gr,Sn,bn,zn),nn=Object.assign(Object.assign({},Tr),lr);return jn(o.createElement($r,Object.assign({className:ua,style:nn,ref:on},or),mt))}),pt=n(40001),$t=n(81953),Xt=n(58617);function Ut(Bt){return Bt===!1?[!1,!1]:Array.isArray(Bt)?Bt:[Bt]}function Dt(Bt,We,jr){return Bt===!0||Bt===void 0?We:Bt||jr&&We}function at(Bt){const We=document.createElement("em");Bt.appendChild(We);const jr=Bt.getBoundingClientRect(),$r=We.getBoundingClientRect();return Bt.removeChild(We),jr.left>$r.left||$r.right>jr.right||jr.top>$r.top||$r.bottom>jr.bottom}const yt=Bt=>["string","number"].includes(typeof Bt);var ht=Bt=>{let{prefixCls:We,copied:jr,locale:$r,iconOnly:Gr,tooltips:Sn,icon:na,tabIndex:mt,onCopy:rr,loading:lr}=Bt;const or=Ut(Sn),Nr=Ut(na),{copied:Dr,copy:sn}=$r!=null?$r:{},Tr=jr?Dr:sn,mn=Dt(or[jr?1:0],Tr),on=typeof mn=="string"?mn:Tr;return o.createElement(ie.Z,{title:mn},o.createElement("button",{type:"button",className:c()(`${We}-copy`,{[`${We}-copy-success`]:jr,[`${We}-copy-icon-only`]:Gr}),onClick:rr,"aria-label":on,tabIndex:mt},jr?Dt(Nr[1],o.createElement(pt.Z,null),!0):Dt(Nr[0],lr?o.createElement(Xt.Z,null):o.createElement($t.Z,null),!0)))},tr=n(94480);const mr=o.forwardRef((Bt,We)=>{let{style:jr,children:$r}=Bt;const Gr=o.useRef(null);return o.useImperativeHandle(We,()=>({isExceed:()=>{const Sn=Gr.current;return Sn.scrollHeight>Sn.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=Bt=>Bt.reduce((We,jr)=>We+(yt(jr)?String(jr).length:1),0);function Ir(Bt,We){let jr=0;const $r=[];for(let Gr=0;Gr<Bt.length;Gr+=1){if(jr===We)return $r;const Sn=Bt[Gr],mt=yt(Sn)?String(Sn).length:1,rr=jr+mt;if(rr>We){const lr=We-jr;return $r.push(String(Sn).slice(0,lr)),$r}$r.push(Sn),jr=rr}return Bt}const tn=0,Pr=1,x=2,F=3,wt=4,oe={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Be(Bt){const{enableMeasure:We,width:jr,text:$r,children:Gr,rows:Sn,expanded:na,miscDeps:mt,onEllipsis:rr}=Bt,lr=o.useMemo(()=>(0,k.Z)($r),[$r]),or=o.useMemo(()=>hr(lr),[$r]),Nr=o.useMemo(()=>Gr(lr,!1),[$r]),[Dr,sn]=o.useState(null),Tr=o.useRef(null),mn=o.useRef(null),on=o.useRef(null),Mn=o.useRef(null),jn=o.useRef(null),[bn,zn]=o.useState(!1),[ua,nn]=o.useState(tn),[$n,kn]=o.useState(0),[Ea,Dn]=o.useState(null);(0,V.Z)(()=>{nn(We&&jr&&or?Pr:tn)},[jr,$r,Sn,We,lr]),(0,V.Z)(()=>{var Jn,On,Bn,Yn;if(ua===Pr){nn(x);const Ca=mn.current&&getComputedStyle(mn.current).whiteSpace;Dn(Ca)}else if(ua===x){const Ca=!!(!((Jn=on.current)===null||Jn===void 0)&&Jn.isExceed());nn(Ca?F:wt),sn(Ca?[0,or]:null),zn(Ca);const Ma=((On=on.current)===null||On===void 0?void 0:On.getHeight())||0,ao=Sn===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,V.Z)(()=>{var Jn;const[On,Bn]=Dr||[0,0];if(On!==Bn){const Ca=(((Jn=Tr.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(!We)return Gr(lr,!1);if(ua!==F||!Dr||Dr[0]!==Dr[1]){const Jn=Gr(lr,!1);return[wt,tn].includes(ua)?Jn:o.createElement("span",{style:Object.assign(Object.assign({},oe),{WebkitLineClamp:Sn})},Jn)}return Gr(na?lr:Ir(lr,Dr[0]),bn)},[na,ua,Dr,lr].concat((0,tr.Z)(mt))),Zn={width:jr,margin:0,padding:0,whiteSpace:Ea==="nowrap"?"normal":"inherit"};return o.createElement(o.Fragment,null,Kn,ua===x&&o.createElement(o.Fragment,null,o.createElement(mr,{style:Object.assign(Object.assign(Object.assign({},Zn),oe),{WebkitLineClamp:Sn}),ref:on},Nr),o.createElement(mr,{style:Object.assign(Object.assign(Object.assign({},Zn),oe),{WebkitLineClamp:Sn-1}),ref:Mn},Nr),o.createElement(mr,{style:Object.assign(Object.assign(Object.assign({},Zn),oe),{WebkitLineClamp:1}),ref:jn},Gr([],!0))),ua===F&&Dr&&Dr[0]!==Dr[1]&&o.createElement(mr,{style:Object.assign(Object.assign({},Zn),{top:400}),ref:Tr},Gr(Ir(lr,aa),!0)),ua===Pr&&o.createElement("span",{style:{whiteSpace:"inherit"},ref:mn}))}var Br=Bt=>{let{enableEllipsis:We,isEllipsis:jr,children:$r,tooltipProps:Gr}=Bt;return!(Gr!=null&&Gr.title)||!We?$r:o.createElement(ie.Z,Object.assign({open:jr?void 0:!1},Gr),$r)},wn=function(Bt,We){var jr={};for(var $r in Bt)Object.prototype.hasOwnProperty.call(Bt,$r)&&We.indexOf($r)<0&&(jr[$r]=Bt[$r]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Bt);Gr<$r.length;Gr++)We.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Bt,$r[Gr])&&(jr[$r[Gr]]=Bt[$r[Gr]]);return jr};function Fn(Bt,We){let{mark:jr,code:$r,underline:Gr,delete:Sn,strong:na,keyboard:mt,italic:rr}=Bt,lr=We;function or(Nr,Dr){Dr&&(lr=o.createElement(Nr,{},lr))}return or("strong",na),or("u",Gr),or("del",Sn),or("code",$r),or("mark",jr),or("kbd",mt),or("i",rr),lr}const Rt="...";var sr=o.forwardRef((Bt,We)=>{var jr;const{prefixCls:$r,className:Gr,style:Sn,type:na,disabled:mt,children:rr,ellipsis:lr,editable:or,copyable:Nr,component:Dr,title:sn}=Bt,Tr=wn(Bt,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:mn,direction:on}=o.useContext(w.E_),[Mn]=(0,E.Z)("Text"),jn=o.useRef(null),bn=o.useRef(null),zn=mn("typography",$r),ua=(0,K.Z)(Tr,["mark","code","delete","underline","strong","keyboard","italic"]),[nn,$n]=ve(or),[kn,Ea]=(0,z.Z)(!1,{value:$n.editing}),{triggerType:Dn=["icon"]}=$n,aa=Zt=>{var Mt;Zt&&((Mt=$n.onStart)===null||Mt===void 0||Mt.call($n)),Ea(Zt)},Kn=fe(kn);(0,V.Z)(()=>{var Zt;!kn&&Kn&&((Zt=bn.current)===null||Zt===void 0||Zt.focus())},[kn]);const Zn=Zt=>{Zt==null||Zt.preventDefault(),aa(!0)},Jn=Zt=>{var Mt;(Mt=$n.onChange)===null||Mt===void 0||Mt.call($n,Zt),aa(!1)},On=()=>{var Zt;(Zt=$n.onCancel)===null||Zt===void 0||Zt.call($n),aa(!1)},[Bn,Yn]=ve(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),[P,d]=o.useState(!1),[ne,Z]=o.useState(!0),[ee,Ie]=ve(lr,{expandable:!1,symbol:Zt=>Zt?Mn==null?void 0:Mn.collapse:Mn==null?void 0:Mn.expand}),[ot,Pt]=(0,z.Z)(Ie.defaultExpanded||!1,{value:Ie.expanded}),Et=ee&&(!ot||Ie.expandable==="collapsible"),{rows:ge=1}=Ie,nt=o.useMemo(()=>Et&&(Ie.suffix!==void 0||Ie.onEllipsis||Ie.expandable||nn||Bn),[Et,Ie,nn,Bn]);(0,V.Z)(()=>{ee&&!nt&&(oo((0,D.G)("webkitLineClamp")),s((0,D.G)("textOverflow")))},[nt,ee]);const[gt,Kt]=o.useState(Et),ct=o.useMemo(()=>nt?!1:ge===1?f:ro,[nt,f,ro]);(0,V.Z)(()=>{Kt(ct&&Et)},[ct,Et]);const cr=Et&&(gt?P:p),Cr=Et&&ge===1&>,Qt=Et&&ge>1&>,tt=(Zt,Mt)=>{var ur;Pt(Mt.expanded),(ur=Ie.onExpand)===null||ur===void 0||ur.call(Ie,Zt,Mt)},[Se,kt]=o.useState(0),Ft=Zt=>{let{offsetWidth:Mt}=Zt;kt(Mt)},Ct=Zt=>{var Mt;b(Zt),p!==Zt&&((Mt=Ie.onEllipsis)===null||Mt===void 0||Mt.call(Ie,Zt))};o.useEffect(()=>{const Zt=jn.current;if(ee&>&&Zt){const Mt=at(Zt);P!==Mt&&d(Mt)}},[ee,gt,rr,Qt,ne,Se]),o.useEffect(()=>{const Zt=jn.current;if(typeof IntersectionObserver=="undefined"||!Zt||!gt||!Et)return;const Mt=new IntersectionObserver(()=>{Z(!!Zt.offsetParent)});return Mt.observe(Zt),()=>{Mt.disconnect()}},[gt,Et]);const Jt=Oe(Ie.tooltip,$n.text,rr),ke=o.useMemo(()=>{if(!(!ee||gt))return[$n.text,rr,sn,Jt.title].find(yt)},[ee,gt,sn,Jt.title,cr]);if(kn)return o.createElement(st,{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:Sn,direction:on,component:Dr,maxLength:$n.maxLength,autoSize:$n.autoSize,enterIcon:$n.enterIcon});const Te=()=>{const{expandable:Zt,symbol:Mt}=Ie;return Zt?o.createElement("button",{type:"button",key:"expand",className:`${zn}-${ot?"collapse":"expand"}`,onClick:ur=>tt(ur,{expanded:!ot}),"aria-label":ot?Mn.collapse:Mn==null?void 0:Mn.expand},typeof Mt=="function"?Mt(ot):Mt):null},lt=()=>{if(!nn)return;const{icon:Zt,tooltip:Mt,tabIndex:ur}=$n,Yt=(0,k.Z)(Mt)[0]||(Mn==null?void 0:Mn.edit),xr=typeof Yt=="string"?Yt:"";return Dn.includes("icon")?o.createElement(ie.Z,{key:"edit",title:Mt===!1?"":Yt},o.createElement("button",{type:"button",ref:bn,className:`${zn}-edit`,onClick:Zn,"aria-label":xr,tabIndex:ur},Zt||o.createElement(y,{role:"button"}))):null},Ot=()=>Bn?o.createElement(ht,Object.assign({key:"copy"},Yn,{prefixCls:zn,copied:Ca,locale:Mn,onCopy:ao,loading:Ma,iconOnly:rr==null})):null,dr=Zt=>[Zt&&Te(),lt(),Ot()],vr=Zt=>[Zt&&!ot&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Rt),Ie.suffix,dr(Zt)];return o.createElement(T.Z,{onResize:Ft,disabled:!Et},Zt=>o.createElement(Br,{tooltipProps:Jt,enableEllipsis:Et,isEllipsis:cr},o.createElement(Ye,Object.assign({className:c()({[`${zn}-${na}`]:na,[`${zn}-disabled`]:mt,[`${zn}-ellipsis`]:ee,[`${zn}-ellipsis-single-line`]:Cr,[`${zn}-ellipsis-multiple-line`]:Qt},Gr),prefixCls:$r,style:Object.assign(Object.assign({},Sn),{WebkitLineClamp:Qt?ge:void 0}),component:Dr,ref:(0,O.sQ)(Zt,jn,We),direction:on,onClick:Dn.includes("text")?Zn:void 0,"aria-label":ke==null?void 0:ke.toString(),title:sn},ua),o.createElement(Be,{enableMeasure:Et&&!gt,text:rr,rows:ge,width:Se,onEllipsis:Ct,expanded:ot,miscDeps:[Ca,ot,Ma,nn,Bn,Mn]},(Mt,ur)=>Fn(Bt,o.createElement(o.Fragment,null,Mt.length>0&&ur&&!ot&&ke?o.createElement("span",{key:"show-content","aria-hidden":!0},Mt):Mt,vr(ur)))))))}),S=function(Bt,We){var jr={};for(var $r in Bt)Object.prototype.hasOwnProperty.call(Bt,$r)&&We.indexOf($r)<0&&(jr[$r]=Bt[$r]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Bt);Gr<$r.length;Gr++)We.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Bt,$r[Gr])&&(jr[$r[Gr]]=Bt[$r[Gr]]);return jr},Gt=o.forwardRef((Bt,We)=>{var{ellipsis:jr,rel:$r}=Bt,Gr=S(Bt,["ellipsis","rel"]);const Sn=Object.assign(Object.assign({},Gr),{rel:$r===void 0&&Gr.target==="_blank"?"noopener noreferrer":$r});return delete Sn.navigate,o.createElement(sr,Object.assign({},Sn,{ref:We,ellipsis:!!jr,component:"a"}))}),Ae=o.forwardRef((Bt,We)=>o.createElement(sr,Object.assign({ref:We},Bt,{component:"div"}))),Cn=function(Bt,We){var jr={};for(var $r in Bt)Object.prototype.hasOwnProperty.call(Bt,$r)&&We.indexOf($r)<0&&(jr[$r]=Bt[$r]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Bt);Gr<$r.length;Gr++)We.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Bt,$r[Gr])&&(jr[$r[Gr]]=Bt[$r[Gr]]);return jr};const Zr=(Bt,We)=>{var{ellipsis:jr}=Bt,$r=Cn(Bt,["ellipsis"]);const Gr=o.useMemo(()=>jr&&typeof jr=="object"?(0,K.Z)(jr,["expandable","rows"]):jr,[jr]);return o.createElement(sr,Object.assign({ref:We},$r,{ellipsis:Gr,component:"span"}))};var Ht=o.forwardRef(Zr),Vt=function(Bt,We){var jr={};for(var $r in Bt)Object.prototype.hasOwnProperty.call(Bt,$r)&&We.indexOf($r)<0&&(jr[$r]=Bt[$r]);if(Bt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gr=0,$r=Object.getOwnPropertySymbols(Bt);Gr<$r.length;Gr++)We.indexOf($r[Gr])<0&&Object.prototype.propertyIsEnumerable.call(Bt,$r[Gr])&&(jr[$r[Gr]]=Bt[$r[Gr]]);return jr};const br=[1,2,3,4,5];var an=o.forwardRef((Bt,We)=>{const{level:jr=1}=Bt,$r=Vt(Bt,["level"]),Gr=br.includes(jr)?`h${jr}`:"h1";return o.createElement(sr,Object.assign({ref:We},$r,{component:Gr}))});const An=Ye;An.Text=Ht,An.Link=Gt,An.Title=an,An.Paragraph=Ae;var St=An},14566:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Fn}});var o=n(59301),Xe=n(94480),L=n(4676),ze=n(92310),Y=n.n(ze),Q=n(90472),_=n(18929),y=n(48755),U=n(2171),c=n(9017),T=n(85981),k=n(63356),V=n(34961),z=n(16931),K=n(51636),O=n(36237),w=Rt=>{const{componentCls:Sr,iconCls:sr}=Rt;return{[`${Sr}-wrapper`]:{[`${Sr}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Rt.colorFillAlter,border:`${(0,O.unit)(Rt.lineWidth)} dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[Sr]:{padding:Rt.padding},[`${Sr}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Rt.borderRadiusLG,"&:focus-visible":{outline:`${(0,O.unit)(Rt.lineWidthFocus)} solid ${Rt.colorPrimaryBorder}`}},[`${Sr}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${Sr}-disabled):hover,
|
|
|
&-hover:not(${Sr}-disabled)
|
|
|
`]:{borderColor:Rt.colorPrimaryHover},[`p${Sr}-drag-icon`]:{marginBottom:Rt.margin,[sr]:{color:Rt.colorPrimary,fontSize:Rt.uploadThumbnailSize}},[`p${Sr}-text`]:{margin:`0 0 ${(0,O.unit)(Rt.marginXXS)}`,color:Rt.colorTextHeading,fontSize:Rt.fontSizeLG},[`p${Sr}-hint`]:{color:Rt.colorTextDescription,fontSize:Rt.fontSize},[`&${Sr}-disabled`]:{[`p${Sr}-drag-icon ${sr},
|
|
|
p${Sr}-text,
|
|
|
p${Sr}-hint
|
|
|
`]:{color:Rt.colorTextDisabled}}}}}},ie=Rt=>{const{componentCls:Sr,iconCls:sr,fontSize:S,lineHeight:v,calc:Gt}=Rt,$=`${Sr}-list-item`,Ae=`${$}-actions`,Cn=`${$}-action`;return{[`${Sr}-wrapper`]:{[`${Sr}-list`]:Object.assign(Object.assign({},(0,k.dF)()),{lineHeight:Rt.lineHeight,[$]:{position:"relative",height:Gt(Rt.lineHeight).mul(S).equal(),marginTop:Rt.marginXS,fontSize:S,display:"flex",alignItems:"center",transition:`background-color ${Rt.motionDurationSlow}`,borderRadius:Rt.borderRadiusSM,"&:hover":{backgroundColor:Rt.controlItemBgHover},[`${$}-name`]:Object.assign(Object.assign({},k.vS),{padding:`0 ${(0,O.unit)(Rt.paddingXS)}`,lineHeight:v,flex:"auto",transition:`all ${Rt.motionDurationSlow}`}),[Ae]:{whiteSpace:"nowrap",[Cn]:{opacity:0},[sr]:{color:Rt.actionsColor,transition:`all ${Rt.motionDurationSlow}`},[`
|
|
|
${Cn}:focus-visible,
|
|
|
&.picture ${Cn}
|
|
|
`]:{opacity:1}},[`${Sr}-icon ${sr}`]:{color:Rt.colorTextDescription,fontSize:S},[`${$}-progress`]:{position:"absolute",bottom:Rt.calc(Rt.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:Gt(S).add(Rt.paddingXS).equal(),fontSize:S,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${$}:hover ${Cn}`]:{opacity:1},[`${$}-error`]:{color:Rt.colorError,[`${$}-name, ${Sr}-icon ${sr}`]:{color:Rt.colorError},[Ae]:{[`${sr}, ${sr}:hover`]:{color:Rt.colorError},[Cn]:{opacity:1}}},[`${Sr}-list-item-container`]:{transition:`opacity ${Rt.motionDurationSlow}, height ${Rt.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},X=n(99495),Ee=Rt=>{const{componentCls:Sr}=Rt,sr=new O.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Rt.calc(Rt.marginXS).div(-2).equal()}}),S=new O.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Rt.calc(Rt.marginXS).div(-2).equal()}}),v=`${Sr}-animate-inline`;return[{[`${Sr}-wrapper`]:{[`${v}-appear, ${v}-enter, ${v}-leave`]:{animationDuration:Rt.motionDurationSlow,animationTimingFunction:Rt.motionEaseInOutCirc,animationFillMode:"forwards"},[`${v}-appear, ${v}-enter`]:{animationName:sr},[`${v}-leave`]:{animationName:S}}},{[`${Sr}-wrapper`]:(0,X.J$)(Rt)},sr,S]},Pe=n(68361);const et=Rt=>{const{componentCls:Sr,iconCls:sr,uploadThumbnailSize:S,uploadProgressOffset:v,calc:Gt}=Rt,$=`${Sr}-list`,Ae=`${$}-item`;return{[`${Sr}-wrapper`]:{[`
|
|
|
${$}${$}-picture,
|
|
|
${$}${$}-picture-card,
|
|
|
${$}${$}-picture-circle
|
|
|
`]:{[Ae]:{position:"relative",height:Gt(S).add(Gt(Rt.lineWidth).mul(2)).add(Gt(Rt.paddingXS).mul(2)).equal(),padding:Rt.paddingXS,border:`${(0,O.unit)(Rt.lineWidth)} ${Rt.lineType} ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,"&:hover":{background:"transparent"},[`${Ae}-thumbnail`]:Object.assign(Object.assign({},k.vS),{width:S,height:S,lineHeight:(0,O.unit)(Gt(S).add(Rt.paddingSM).equal()),textAlign:"center",flex:"none",[sr]:{fontSize:Rt.fontSizeHeading2,color:Rt.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Ae}-progress`]:{bottom:v,width:`calc(100% - ${(0,O.unit)(Gt(Rt.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:Gt(S).add(Rt.paddingXS).equal()}},[`${Ae}-error`]:{borderColor:Rt.colorError,[`${Ae}-thumbnail ${sr}`]:{[`svg path[fill='${Pe.blue[0]}']`]:{fill:Rt.colorErrorBg},[`svg path[fill='${Pe.blue.primary}']`]:{fill:Rt.colorError}}},[`${Ae}-uploading`]:{borderStyle:"dashed",[`${Ae}-name`]:{marginBottom:v}}},[`${$}${$}-picture-circle ${Ae}`]:{[`&, &::before, ${Ae}-thumbnail`]:{borderRadius:"50%"}}}}},He=Rt=>{const{componentCls:Sr,iconCls:sr,fontSizeLG:S,colorTextLightSolid:v,calc:Gt}=Rt,$=`${Sr}-list`,Ae=`${$}-item`,Cn=Rt.uploadPicCardSize;return{[`
|
|
|
${Sr}-wrapper${Sr}-picture-card-wrapper,
|
|
|
${Sr}-wrapper${Sr}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,k.dF)()),{display:"block",[`${Sr}${Sr}-select`]:{width:Cn,height:Cn,textAlign:"center",verticalAlign:"top",backgroundColor:Rt.colorFillAlter,border:`${(0,O.unit)(Rt.lineWidth)} dashed ${Rt.colorBorder}`,borderRadius:Rt.borderRadiusLG,cursor:"pointer",transition:`border-color ${Rt.motionDurationSlow}`,[`> ${Sr}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Sr}-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:Cn,height:Cn,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[Ae]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,O.unit)(Gt(Rt.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,O.unit)(Gt(Rt.paddingXS).mul(2).equal())})`,backgroundColor:Rt.colorBgMask,opacity:0,transition:`all ${Rt.motionDurationSlow}`,content:'" "'}},[`${Ae}:hover`]:{[`&::before, ${Ae}-actions`]:{opacity:1}},[`${Ae}-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:S,margin:`0 ${(0,O.unit)(Rt.marginXXS)}`,fontSize:S,cursor:"pointer",transition:`all ${Rt.motionDurationSlow}`,color:v,"&:hover":{color:v},svg:{verticalAlign:"baseline"}}},[`${Ae}-thumbnail, ${Ae}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Ae}-name`]:{display:"none",textAlign:"center"},[`${Ae}-file + ${Ae}-name`]:{position:"absolute",bottom:Rt.margin,display:"block",width:`calc(100% - ${(0,O.unit)(Gt(Rt.paddingXS).mul(2).equal())})`},[`${Ae}-uploading`]:{[`&${Ae}`]:{backgroundColor:Rt.colorFillAlter},[`&::before, ${sr}-eye, ${sr}-download, ${sr}-delete`]:{display:"none"}},[`${Ae}-progress`]:{bottom:Rt.marginXL,width:`calc(100% - ${(0,O.unit)(Gt(Rt.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${Sr}-wrapper${Sr}-picture-circle-wrapper`]:{[`${Sr}${Sr}-select`]:{borderRadius:"50%"}}}};var be=Rt=>{const{componentCls:Sr}=Rt;return{[`${Sr}-rtl`]:{direction:"rtl"}}};const J=Rt=>{const{componentCls:Sr,colorTextDisabled:sr}=Rt;return{[`${Sr}-wrapper`]:Object.assign(Object.assign({},(0,k.Wf)(Rt)),{[Sr]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Sr}-select`]:{display:"inline-block"},[`${Sr}-hidden`]:{display:"none"},[`${Sr}-disabled`]:{color:sr,cursor:"not-allowed"}})}},we=Rt=>({actionsColor:Rt.colorTextDescription});var M=(0,z.I$)("Upload",Rt=>{const{fontSizeHeading3:Sr,fontHeight:sr,lineWidth:S,controlHeightLG:v,calc:Gt}=Rt,$=(0,K.mergeToken)(Rt,{uploadThumbnailSize:Gt(Sr).mul(2).equal(),uploadProgressOffset:Gt(Gt(sr).div(2)).add(S).equal(),uploadPicCardSize:Gt(v).mul(2.55).equal()});return[J($),w($),et($),He($),ie($),Ee($),be($),(0,V.Z)($)]},we),I=n(54476),rt={icon:function(Sr,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:Sr}}]}},name:"file",theme:"twotone"},ue=rt,le=n(7657),B=function(Sr,sr){return o.createElement(le.Z,(0,I.Z)({},Sr,{ref:sr,icon:ue}))},ae=o.forwardRef(B),W=ae,A=n(58617),re={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"},Ve=re,pe=function(Sr,sr){return o.createElement(le.Z,(0,I.Z)({},Sr,{ref:sr,icon:Ve}))},Ze=o.forwardRef(pe),st=Ze,dt={icon:function(Sr,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:Sr}},{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:Sr}}]}},name:"picture",theme:"twotone"},he=dt,Le=function(Sr,sr){return o.createElement(le.Z,(0,I.Z)({},Sr,{ref:sr,icon:he}))},At=o.forwardRef(Le),Fe=At,Re=n(77900),N=n(2738),_e=n(40192),ve=n(86641),de=n(22703),fe=n(99571);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 Oe(Rt,Sr){const sr=(0,Xe.Z)(Sr),S=sr.findIndex(v=>{let{uid:Gt}=v;return Gt===Rt.uid});return S===-1?sr.push(Rt):sr[S]=Rt,sr}function xe(Rt,Sr){const sr=Rt.uid!==void 0?"uid":"name";return Sr.filter(S=>S[sr]===Rt[sr])[0]}function Ne(Rt,Sr){const sr=Rt.uid!==void 0?"uid":"name",S=Sr.filter(v=>v[sr]!==Rt[sr]);return S.length===Sr.length?null:S}const Ye=function(){const Sr=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),S=Sr[Sr.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(S)||[""])[0]},pt=Rt=>Rt.indexOf("image/")===0,$t=Rt=>{if(Rt.type&&!Rt.thumbUrl)return pt(Rt.type);const Sr=Rt.thumbUrl||Rt.url||"",sr=Ye(Sr);return/^data:image\//.test(Sr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(sr)?!0:!(/^data:/.test(Sr)||sr)},Xt=200;function Ut(Rt){return new Promise(Sr=>{if(!Rt.type||!pt(Rt.type)){Sr("");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 S=sr.getContext("2d"),v=new Image;if(v.onload=()=>{const{width:Gt,height:$}=v;let Ae=Xt,Cn=Xt,Zr=0,Ht=0;Gt>$?(Cn=$*(Xt/Gt),Ht=-(Cn-Ae)/2):(Ae=Gt*(Xt/$),Zr=-(Ae-Cn)/2),S.drawImage(v,Zr,Ht,Ae,Cn);const Vt=sr.toDataURL();document.body.removeChild(sr),window.URL.revokeObjectURL(v.src),Sr(Vt)},v.crossOrigin="anonymous",Rt.type.startsWith("image/svg+xml")){const Gt=new FileReader;Gt.onload=()=>{Gt.result&&typeof Gt.result=="string"&&(v.src=Gt.result)},Gt.readAsDataURL(Rt)}else if(Rt.type.startsWith("image/gif")){const Gt=new FileReader;Gt.onload=()=>{Gt.result&&Sr(Gt.result)},Gt.readAsDataURL(Rt)}else v.src=window.URL.createObjectURL(Rt)})}var Dt=n(26227),at=n(41464),yt=n(15277),xt=n(60242),ht=n(25399),mr=o.forwardRef((Rt,Sr)=>{let{prefixCls:sr,className:S,style:v,locale:Gt,listType:$,file:Ae,items:Cn,progress:Zr,iconRender:Ht,actionIconRender:Vt,itemRender:br,isImgUrl:Kr,showPreviewIcon:an,showRemoveIcon:An,showDownloadIcon:St,previewIcon:Bt,removeIcon:We,downloadIcon:jr,extra:$r,onPreview:Gr,onDownload:Sn,onClose:na}=Rt;var mt,rr;const{status:lr}=Ae,[or,Nr]=o.useState(lr);o.useEffect(()=>{lr!=="removed"&&Nr(lr)},[lr]);const[Dr,sn]=o.useState(!1);o.useEffect(()=>{const Bn=setTimeout(()=>{sn(!0)},300);return()=>{clearTimeout(Bn)}},[]);const Tr=Ht(Ae);let mn=o.createElement("div",{className:`${sr}-icon`},Tr);if($==="picture"||$==="picture-card"||$==="picture-circle")if(or==="uploading"||!Ae.thumbUrl&&!Ae.url){const Bn=Y()(`${sr}-list-item-thumbnail`,{[`${sr}-list-item-file`]:or!=="uploading"});mn=o.createElement("div",{className:Bn},Tr)}else{const Bn=Kr!=null&&Kr(Ae)?o.createElement("img",{src:Ae.thumbUrl||Ae.url,alt:Ae.name,className:`${sr}-list-item-image`,crossOrigin:Ae.crossOrigin}):Tr,Yn=Y()(`${sr}-list-item-thumbnail`,{[`${sr}-list-item-file`]:Kr&&!Kr(Ae)});mn=o.createElement("a",{className:Yn,onClick:Ca=>Gr(Ae,Ca),href:Ae.url||Ae.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Bn)}const on=Y()(`${sr}-list-item`,`${sr}-list-item-${or}`),Mn=typeof Ae.linkProps=="string"?JSON.parse(Ae.linkProps):Ae.linkProps,jn=(typeof An=="function"?An(Ae):An)?Vt((typeof We=="function"?We(Ae):We)||o.createElement(Dt.Z,null),()=>na(Ae),sr,Gt.removeFile,!0):null,bn=(typeof St=="function"?St(Ae):St)&&or==="done"?Vt((typeof jr=="function"?jr(Ae):jr)||o.createElement(at.Z,null),()=>Sn(Ae),sr,Gt.downloadFile):null,zn=$!=="picture-card"&&$!=="picture-circle"&&o.createElement("span",{key:"download-delete",className:Y()(`${sr}-list-item-actions`,{picture:$==="picture"})},bn,jn),ua=typeof $r=="function"?$r(Ae):$r,nn=ua&&o.createElement("span",{className:`${sr}-list-item-extra`},ua),$n=Y()(`${sr}-list-item-name`),kn=Ae.url?o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:$n,title:Ae.name},Mn,{href:Ae.url,onClick:Bn=>Gr(Ae,Bn)}),Ae.name,nn):o.createElement("span",{key:"view",className:$n,onClick:Bn=>Gr(Ae,Bn),title:Ae.name},Ae.name,nn),Ea=(typeof an=="function"?an(Ae):an)&&(Ae.url||Ae.thumbUrl)?o.createElement("a",{href:Ae.url||Ae.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Bn=>Gr(Ae,Bn),title:Gt.previewFile},typeof Bt=="function"?Bt(Ae):Bt||o.createElement(yt.Z,null)):null,Dn=($==="picture-card"||$==="picture-circle")&&or!=="uploading"&&o.createElement("span",{className:`${sr}-list-item-actions`},Ea,or==="done"&&bn,jn),{getPrefixCls:aa}=o.useContext(y.E_),Kn=aa(),Zn=o.createElement("div",{className:on},mn,kn,zn,Dn,Dr&&o.createElement(Re.default,{motionName:`${Kn}-fade`,visible:or==="uploading",motionDeadline:2e3},Bn=>{let{className:Yn}=Bn;const Ca="percent"in Ae?o.createElement(xt.Z,Object.assign({},Zr,{type:"line",percent:Ae.percent,"aria-label":Ae["aria-label"],"aria-labelledby":Ae["aria-labelledby"]})):null;return o.createElement("div",{className:Y()(`${sr}-list-item-progress`,Yn)},Ca)})),Jn=Ae.response&&typeof Ae.response=="string"?Ae.response:((mt=Ae.error)===null||mt===void 0?void 0:mt.statusText)||((rr=Ae.error)===null||rr===void 0?void 0:rr.message)||Gt.uploadError,On=or==="error"?o.createElement(ht.Z,{title:Jn,getPopupContainer:Bn=>Bn.parentNode},Zn):Zn;return o.createElement("div",{className:Y()(`${sr}-list-item-container`,S),style:v,ref:Sr},br?br(On,Ae,Cn,{download:Sn.bind(null,Ae),preview:Gr.bind(null,Ae),remove:na.bind(null,Ae)}):On)});const hr=(Rt,Sr)=>{const{listType:sr="text",previewFile:S=Ut,onPreview:v,onDownload:Gt,onRemove:$,locale:Ae,iconRender:Cn,isImageUrl:Zr=$t,prefixCls:Ht,items:Vt=[],showPreviewIcon:br=!0,showRemoveIcon:Kr=!0,showDownloadIcon:an=!1,removeIcon:An,previewIcon:St,downloadIcon:Bt,extra:We,progress:jr={size:[-1,2],showInfo:!1},appendAction:$r,appendActionVisible:Gr=!0,itemRender:Sn,disabled:na}=Rt,mt=(0,_e.Z)(),[rr,lr]=o.useState(!1),or=["picture-card","picture-circle"].includes(sr);o.useEffect(()=>{sr.startsWith("picture")&&(Vt||[]).forEach(nn=>{!(nn.originFileObj instanceof File||nn.originFileObj instanceof Blob)||nn.thumbUrl!==void 0||(nn.thumbUrl="",S==null||S(nn.originFileObj).then($n=>{nn.thumbUrl=$n||"",mt()}))})},[sr,Vt,S]),o.useEffect(()=>{lr(!0)},[]);const Nr=(nn,$n)=>{if(v)return $n==null||$n.preventDefault(),v(nn)},Dr=nn=>{typeof Gt=="function"?Gt(nn):nn.url&&window.open(nn.url)},sn=nn=>{$==null||$(nn)},Tr=nn=>{if(Cn)return Cn(nn,sr);const $n=nn.status==="uploading";if(sr.startsWith("picture")){const kn=sr==="picture"?o.createElement(A.Z,null):Ae.uploading,Ea=Zr!=null&&Zr(nn)?o.createElement(Fe,null):o.createElement(W,null);return $n?kn:Ea}return $n?o.createElement(A.Z,null):o.createElement(st,null)},mn=(nn,$n,kn,Ea,Dn)=>{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 Dn&&(aa.disabled=na),o.isValidElement(nn)?o.createElement(fe.ZP,Object.assign({},aa,{icon:(0,de.Tm)(nn,Object.assign(Object.assign({},nn.props),{onClick:()=>{}}))})):o.createElement(fe.ZP,Object.assign({},aa),o.createElement("span",null,nn))};o.useImperativeHandle(Sr,()=>({handlePreview:Nr,handleDownload:Dr}));const{getPrefixCls:on}=o.useContext(y.E_),Mn=on("upload",Ht),jn=on(),bn=Y()(`${Mn}-list`,`${Mn}-list-${sr}`),zn=o.useMemo(()=>(0,N.Z)((0,ve.Z)(jn),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[jn]),ua=Object.assign(Object.assign({},or?{}:zn),{motionDeadline:2e3,motionName:`${Mn}-${or?"animate-inline":"animate"}`,keys:(0,Xe.Z)(Vt.map(nn=>({key:nn.uid,file:nn}))),motionAppear:rr});return o.createElement("div",{className:bn},o.createElement(Re.CSSMotionList,Object.assign({},ua,{component:!1}),nn=>{let{key:$n,file:kn,className:Ea,style:Dn}=nn;return o.createElement(mr,{key:$n,locale:Ae,prefixCls:Mn,className:Ea,style:Dn,file:kn,items:Vt,progress:jr,listType:sr,isImgUrl:Zr,showPreviewIcon:br,showRemoveIcon:Kr,showDownloadIcon:an,removeIcon:An,previewIcon:St,downloadIcon:Bt,extra:We,iconRender:Tr,actionIconRender:mn,itemRender:Sn,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,de.Tm)($r,Ea=>({className:Y()(Ea.className,$n),style:Object.assign(Object.assign(Object.assign({},kn),{pointerEvents:$n?"none":void 0}),Ea.style)}))}))};var tn=o.forwardRef(hr),Pr=function(Rt,Sr,sr,S){function v(Gt){return Gt instanceof sr?Gt:new sr(function($){$(Gt)})}return new(sr||(sr=Promise))(function(Gt,$){function Ae(Ht){try{Zr(S.next(Ht))}catch(Vt){$(Vt)}}function Cn(Ht){try{Zr(S.throw(Ht))}catch(Vt){$(Vt)}}function Zr(Ht){Ht.done?Gt(Ht.value):v(Ht.value).then(Ae,Cn)}Zr((S=S.apply(Rt,Sr||[])).next())})};const x=`__LIST_IGNORE_${Date.now()}__`,F=(Rt,Sr)=>{const{fileList:sr,defaultFileList:S,onRemove:v,showUploadList:Gt=!0,listType:$="text",onPreview:Ae,onDownload:Cn,onChange:Zr,onDrop:Ht,previewFile:Vt,disabled:br,locale:Kr,iconRender:an,isImageUrl:An,progress:St,prefixCls:Bt,className:We,type:jr="select",children:$r,style:Gr,itemRender:Sn,maxCount:na,data:mt={},multiple:rr=!1,hasControlInside:lr=!0,action:or="",accept:Nr="",supportServerRender:Dr=!0,rootClassName:sn}=Rt,Tr=o.useContext(U.Z),mn=br!=null?br:Tr,[on,Mn]=(0,_.Z)(S||[],{value:sr,postState:nt=>nt!=null?nt:[]}),[jn,bn]=o.useState("drop"),zn=o.useRef(null),ua=o.useRef(null);o.useMemo(()=>{const nt=Date.now();(sr||[]).forEach((gt,Kt)=>{!gt.uid&&!Object.isFrozen(gt)&&(gt.uid=`__AUTO__${nt}_${Kt}__`)})},[sr]);const nn=(nt,gt,Kt)=>{let ct=(0,Xe.Z)(gt),cr=!1;na===1?ct=ct.slice(-1):na&&(cr=ct.length>na,ct=ct.slice(0,na)),(0,L.flushSync)(()=>{Mn(ct)});const Cr={file:nt,fileList:ct};Kt&&(Cr.event=Kt),(!cr||nt.status==="removed"||ct.some(Qt=>Qt.uid===nt.uid))&&(0,L.flushSync)(()=>{Zr==null||Zr(Cr)})},$n=(nt,gt)=>Pr(void 0,void 0,void 0,function*(){const{beforeUpload:Kt,transformFile:ct}=Rt;let cr=nt;if(Kt){const Cr=yield Kt(nt,gt);if(Cr===!1)return!1;if(delete nt[x],Cr===x)return Object.defineProperty(nt,x,{value:!0,configurable:!0}),!1;typeof Cr=="object"&&Cr&&(cr=Cr)}return ct&&(cr=yield ct(cr)),cr}),kn=nt=>{const gt=nt.filter(cr=>!cr.file[x]);if(!gt.length)return;const Kt=gt.map(cr=>me(cr.file));let ct=(0,Xe.Z)(on);Kt.forEach(cr=>{ct=Oe(cr,ct)}),Kt.forEach((cr,Cr)=>{let Qt=cr;if(gt[Cr].parsedFile)cr.status="uploading";else{const{originFileObj:tt}=cr;let Se;try{Se=new File([tt],tt.name,{type:tt.type})}catch(kt){Se=new Blob([tt],{type:tt.type}),Se.name=tt.name,Se.lastModifiedDate=new Date,Se.lastModified=new Date().getTime()}Se.uid=cr.uid,Qt=Se}nn(Qt,ct)})},Ea=(nt,gt,Kt)=>{try{typeof nt=="string"&&(nt=JSON.parse(nt))}catch(Cr){}if(!xe(gt,on))return;const ct=me(gt);ct.status="done",ct.percent=100,ct.response=nt,ct.xhr=Kt;const cr=Oe(ct,on);nn(ct,cr)},Dn=(nt,gt)=>{if(!xe(gt,on))return;const Kt=me(gt);Kt.status="uploading",Kt.percent=nt.percent;const ct=Oe(Kt,on);nn(Kt,ct,nt)},aa=(nt,gt,Kt)=>{if(!xe(Kt,on))return;const ct=me(Kt);ct.error=nt,ct.response=gt,ct.status="error";const cr=Oe(ct,on);nn(ct,cr)},Kn=nt=>{let gt;Promise.resolve(typeof v=="function"?v(nt):v).then(Kt=>{var ct;if(Kt===!1)return;const cr=Ne(nt,on);cr&&(gt=Object.assign(Object.assign({},nt),{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,cr))})},Zn=nt=>{bn(nt.type),nt.type==="drop"&&(Ht==null||Ht(nt))};o.useImperativeHandle(Sr,()=>({onBatchStart:kn,onSuccess:Ea,onProgress:Dn,onError:aa,fileList:on,upload:zn.current,nativeElement:ua.current}));const{getPrefixCls:Jn,direction:On,upload:Bn}=o.useContext(y.E_),Yn=Jn("upload",Bt),Ca=Object.assign(Object.assign({onBatchStart:kn,onError:aa,onProgress:Dn,onSuccess:Ea},Rt),{data:mt,multiple:rr,action:or,accept:Nr,supportServerRender:Dr,prefixCls:Yn,disabled:mn,beforeUpload:$n,onChange:void 0,hasControlInside:lr});delete Ca.className,delete Ca.style,(!$r||mn)&&delete Ca.id;const Ma=`${Yn}-wrapper`,[ao,ro,oo]=M(Yn,Ma),[f]=(0,c.Z)("Upload",T.Z.Upload),{showRemoveIcon:s,showPreviewIcon:p,showDownloadIcon:b,removeIcon:P,previewIcon:d,downloadIcon:ne,extra:Z}=typeof Gt=="boolean"?{}:Gt,ee=typeof s=="undefined"?!mn:s,Ie=(nt,gt)=>Gt?o.createElement(tn,{prefixCls:Yn,listType:$,items:on,previewFile:Vt,onPreview:Ae,onDownload:Cn,onRemove:Kn,showRemoveIcon:ee,showPreviewIcon:p,showDownloadIcon:b,removeIcon:P,previewIcon:d,downloadIcon:ne,iconRender:an,extra:Z,locale:Object.assign(Object.assign({},f),Kr),isImageUrl:An,progress:St,appendAction:nt,appendActionVisible:gt,itemRender:Sn,disabled:mn}):nt,ot=Y()(Ma,We,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 nt=Y()(ro,Yn,`${Yn}-drag`,{[`${Yn}-drag-uploading`]:on.some(gt=>gt.status==="uploading"),[`${Yn}-drag-hover`]:jn==="dragover",[`${Yn}-disabled`]:mn,[`${Yn}-rtl`]:On==="rtl"});return ao(o.createElement("span",{className:ot,ref:ua},o.createElement("div",{className:nt,style:Pt,onDrop:Zn,onDragOver:Zn,onDragLeave:Zn},o.createElement(Q.Z,Object.assign({},Ca,{ref:zn,className:`${Yn}-btn`}),o.createElement("div",{className:`${Yn}-drag-container`},$r))),Ie()))}const Et=Y()(Yn,`${Yn}-select`,{[`${Yn}-disabled`]:mn,[`${Yn}-hidden`]:!$r}),ge=o.createElement("div",{className:Et},o.createElement(Q.Z,Object.assign({},Ca,{ref:zn})));return ao($==="picture-card"||$==="picture-circle"?o.createElement("span",{className:ot,ref:ua},Ie(ge,!!$r)):o.createElement("span",{className:ot,ref:ua},ge,Ie()))};var oe=o.forwardRef(F),Be=function(Rt,Sr){var sr={};for(var S in Rt)Object.prototype.hasOwnProperty.call(Rt,S)&&Sr.indexOf(S)<0&&(sr[S]=Rt[S]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,S=Object.getOwnPropertySymbols(Rt);v<S.length;v++)Sr.indexOf(S[v])<0&&Object.prototype.propertyIsEnumerable.call(Rt,S[v])&&(sr[S[v]]=Rt[S[v]]);return sr},Br=o.forwardRef((Rt,Sr)=>{var{style:sr,height:S,hasControlInside:v=!1}=Rt,Gt=Be(Rt,["style","height","hasControlInside"]);return o.createElement(oe,Object.assign({ref:Sr,hasControlInside:v},Gt,{type:"drag",style:Object.assign(Object.assign({},sr),{height:S})}))});const wn=oe;wn.Dragger=Br,wn.LIST_IGNORE=x;var Fn=wn},44164:function(qr,_t,n){var o=n(97671);(function(L,ze){qr.exports=ze(n(28685),n(64270))})(self,function(Xe,L){return function(){var ze={"./src/plugin/hyperlinks.js":function(y,U,c){"use strict";c.r(U);var T=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),k=c.n(T),V=c("./node_modules/core-js/modules/es.string.link.js"),z=c.n(V),K=c("./src/worker.js"),O=c("./src/utils.js"),D=[],w={toContainer:K.default.prototype.toContainer,toPdf:K.default.prototype.toPdf};K.default.prototype.toContainer=function(){return w.toContainer.call(this).then(function(){if(this.opt.enableLinks){var X=this.prop.container,q=X.querySelectorAll("a"),Ee=(0,O.unitConvert)(X.getBoundingClientRect(),this.prop.pageSize.k);D=[],Array.prototype.forEach.call(q,function(Pe){for(var et=Pe.getClientRects(),He=0;He<et.length;He++){var Ce=(0,O.unitConvert)(et[He],this.prop.pageSize.k);Ce.left-=Ee.left,Ce.top-=Ee.top;var be=Math.floor(Ce.top/this.prop.pageSize.inner.height)+1,J=this.opt.margin[0]+Ce.top%this.prop.pageSize.inner.height,we=this.opt.margin[1]+Ce.left;D.push({page:be,top:J,left:we,clientRect:Ce,link:Pe})}},this)}})},K.default.prototype.toPdf=function(){return w.toPdf.call(this).then(function(){if(this.opt.enableLinks){D.forEach(function(q){this.prop.pdf.setPage(q.page),this.prop.pdf.link(q.left,q.top,q.clientRect.width,q.clientRect.height,{url:q.link.href})},this);var X=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(X)}})}},"./src/plugin/jspdf-plugin.js":function(y,U,c){"use strict";c.r(U);var T=c("./node_modules/core-js/modules/es.symbol.js"),k=c.n(T),V=c("./node_modules/core-js/modules/es.symbol.description.js"),z=c.n(V),K=c("./node_modules/core-js/modules/es.object.to-string.js"),O=c.n(K),D=c("./node_modules/core-js/modules/es.symbol.iterator.js"),w=c.n(D),E=c("./node_modules/core-js/modules/es.array.iterator.js"),ie=c.n(E),X=c("./node_modules/core-js/modules/es.string.iterator.js"),q=c.n(X),Ee=c("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Pe=c.n(Ee),et=c("jspdf"),He=c.n(et);function Ce(be){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ce=function(we){return typeof we}:Ce=function(we){return we&&typeof Symbol=="function"&&we.constructor===Symbol&&we!==Symbol.prototype?"symbol":typeof we},Ce(be)}et.jsPDF.getPageSize=function(be,J,we){if(Ce(be)==="object"){var M=be;be=M.orientation,J=M.unit||J,we=M.format||we}J=J||"mm",we=we||"a4",be=(""+(be||"P")).toLowerCase();var I=(""+we).toLowerCase(),rt={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(J){case"pt":var ue=1;break;case"mm":var ue=72/25.4;break;case"cm":var ue=72/2.54;break;case"in":var ue=72;break;case"px":var ue=72/96;break;case"pc":var ue=12;break;case"em":var ue=12;break;case"ex":var ue=6;break;default:throw"Invalid unit: "+J}if(rt.hasOwnProperty(I))var le=rt[I][1]/ue,B=rt[I][0]/ue;else try{var le=we[1],B=we[0]}catch(A){throw new Error("Invalid format: "+we)}if(be==="p"||be==="portrait"){if(be="p",B>le){var ae=B;B=le,le=ae}}else if(be==="l"||be==="landscape"){if(be="l",le>B){var ae=B;B=le,le=ae}}else throw"Invalid orientation: "+be;var W={width:B,height:le,unit:J,k:ue};return W},U.default=et.jsPDF},"./src/plugin/pagebreaks.js":function(y,U,c){"use strict";c.r(U);var T=c("./node_modules/core-js/modules/es.array.concat.js"),k=c.n(T),V=c("./node_modules/core-js/modules/es.array.slice.js"),z=c.n(V),K=c("./node_modules/core-js/modules/es.array.join.js"),O=c.n(K),D=c("./node_modules/core-js/modules/web.dom-collections.for-each.js"),w=c.n(D),E=c("./node_modules/core-js/modules/es.object.keys.js"),ie=c.n(E),X=c("./src/worker.js"),q=c("./src/utils.js"),Ee={toContainer:X.default.prototype.toContainer};X.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},X.default.prototype.toContainer=function(){return Ee.toContainer.call(this).then(function(){var He=this.prop.container,Ce=this.prop.pageSize.inner.px.height,be=[].concat(this.opt.pagebreak.mode),J={avoidAll:be.indexOf("avoid-all")!==-1,css:be.indexOf("css")!==-1,legacy:be.indexOf("legacy")!==-1},we={},M=this;["before","after","avoid"].forEach(function(ue){var le=J.avoidAll&&ue==="avoid";we[ue]=le?[]:[].concat(M.opt.pagebreak[ue]||[]),we[ue].length>0&&(we[ue]=Array.prototype.slice.call(He.querySelectorAll(we[ue].join(", "))))});var I=He.querySelectorAll(".html2pdf__page-break");I=Array.prototype.slice.call(I);var rt=He.querySelectorAll("*");Array.prototype.forEach.call(rt,function(le){var B={before:!1,after:J.legacy&&I.indexOf(le)!==-1,avoid:J.avoidAll};if(J.css){var ae=window.getComputedStyle(le),W=["always","page","left","right"],A=["avoid","avoid-page"];B={before:B.before||W.indexOf(ae.breakBefore||ae.pageBreakBefore)!==-1,after:B.after||W.indexOf(ae.breakAfter||ae.pageBreakAfter)!==-1,avoid:B.avoid||A.indexOf(ae.breakInside||ae.pageBreakInside)!==-1}}Object.keys(B).forEach(function(dt){B[dt]=B[dt]||we[dt].indexOf(le)!==-1});var re=le.getBoundingClientRect();if(B.avoid&&!B.before){var Ve=Math.floor(re.top/Ce),pe=Math.floor(re.bottom/Ce),Ze=Math.abs(re.bottom-re.top)/Ce;pe!==Ve&&Ze<=1&&(B.before=!0)}if(B.before){var st=(0,q.createElement)("div",{style:{display:"block",height:Ce-re.top%Ce+"px"}});le.parentNode.insertBefore(st,le)}if(B.after){var st=(0,q.createElement)("div",{style:{display:"block",height:Ce-re.bottom%Ce+"px"}});le.parentNode.insertBefore(st,le.nextSibling)}})})}},"./src/utils.js":function(y,U,c){"use strict";c.r(U),c.d(U,{objType:function(){return be},createElement:function(){return J},cloneNode:function(){return we},unitConvert:function(){return M},toPx:function(){return I}});var T=c("./node_modules/core-js/modules/es.number.constructor.js"),k=c.n(T),V=c("./node_modules/core-js/modules/es.symbol.js"),z=c.n(V),K=c("./node_modules/core-js/modules/es.symbol.description.js"),O=c.n(K),D=c("./node_modules/core-js/modules/es.object.to-string.js"),w=c.n(D),E=c("./node_modules/core-js/modules/es.symbol.iterator.js"),ie=c.n(E),X=c("./node_modules/core-js/modules/es.array.iterator.js"),q=c.n(X),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"),He=c.n(et);function Ce(rt){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ce=function(le){return typeof le}:Ce=function(le){return le&&typeof Symbol=="function"&&le.constructor===Symbol&&le!==Symbol.prototype?"symbol":typeof le},Ce(rt)}var be=function(ue){var le=Ce(ue);return le==="undefined"?"undefined":le==="string"||ue instanceof String?"string":le==="number"||ue instanceof Number?"number":le==="function"||ue instanceof Function?"function":ue&&ue.constructor===Array?"array":ue&&ue.nodeType===1?"element":le==="object"?"object":"unknown"},J=function(ue,le){var B=document.createElement(ue);if(le.className&&(B.className=le.className),le.innerHTML){B.innerHTML=le.innerHTML;for(var ae=B.getElementsByTagName("script"),W=ae.length;W-- >0;null)ae[W].parentNode.removeChild(ae[W])}for(var A in le.style)B.style[A]=le.style[A];return B},we=function rt(ue,le){for(var B=ue.nodeType===3?document.createTextNode(ue.nodeValue):ue.cloneNode(!1),ae=ue.firstChild;ae;ae=ae.nextSibling)(le===!0||ae.nodeType!==1||ae.nodeName!=="SCRIPT")&&B.appendChild(rt(ae,le));return ue.nodeType===1&&(ue.nodeName==="CANVAS"?(B.width=ue.width,B.height=ue.height,B.getContext("2d").drawImage(ue,0,0)):(ue.nodeName==="TEXTAREA"||ue.nodeName==="SELECT")&&(B.value=ue.value),B.addEventListener("load",function(){B.scrollTop=ue.scrollTop,B.scrollLeft=ue.scrollLeft},!0)),B},M=function(ue,le){if(be(ue)==="number")return ue*72/96/le;var B={};for(var ae in ue)B[ae]=ue[ae]*72/96/le;return B},I=function(ue,le){return Math.floor(ue*le/72*96)}},"./src/worker.js":function(y,U,c){"use strict";c.r(U);var T=c("./node_modules/core-js/modules/es.object.assign.js"),k=c.n(T),V=c("./node_modules/core-js/modules/es.array.map.js"),z=c.n(V),K=c("./node_modules/core-js/modules/es.object.keys.js"),O=c.n(K),D=c("./node_modules/core-js/modules/es.array.concat.js"),w=c.n(D),E=c("./node_modules/core-js/modules/es.object.to-string.js"),ie=c.n(E),X=c("./node_modules/core-js/modules/es.regexp.to-string.js"),q=c.n(X),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"),He=c.n(et),Ce=c("jspdf"),be=c.n(Ce),J=c("html2canvas"),we=c.n(J),M=c("./src/utils.js"),I=c("./node_modules/es6-promise/dist/es6-promise.js"),rt=c.n(I),ue=rt().Promise,le=function B(ae){var W=Object.assign(B.convert(ue.resolve()),JSON.parse(JSON.stringify(B.template))),A=B.convert(ue.resolve(),W);return A=A.setProgress(1,B,1,[B]),A=A.set(ae),A};le.prototype=Object.create(ue.prototype),le.prototype.constructor=le,le.convert=function(ae,W){return ae.__proto__=W||le.prototype,ae},le.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:{}}},le.prototype.from=function(ae,W){function A(re){switch((0,M.objType)(re)){case"string":return"string";case"element":return re.nodeName.toLowerCase&&re.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(W=W||A(ae),W){case"string":return this.set({src:(0,M.createElement)("div",{innerHTML:ae})});case"element":return this.set({src:ae});case"canvas":return this.set({canvas:ae});case"img":return this.set({img:ae});default:return this.error("Unknown source type.")}})},le.prototype.to=function(ae){switch(ae){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.")}},le.prototype.toContainer=function(){var ae=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(ae).then(function(){var A={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},re={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};A.opacity=0;var Ve=(0,M.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,M.createElement)("div",{className:"html2pdf__overlay",style:A}),this.prop.container=(0,M.createElement)("div",{className:"html2pdf__container",style:re}),this.prop.container.appendChild(Ve),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},le.prototype.toCanvas=function(){var ae=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ae).then(function(){var A=Object.assign({},this.opt.html2canvas);return delete A.onrendered,J(this.prop.container,A)}).then(function(A){var re=this.opt.html2canvas.onrendered||function(){};re(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)})},le.prototype.toImg=function(){var ae=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(ae).then(function(){var A=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=A})},le.prototype.toPdf=function(){var ae=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(ae).then(function(){var A=this.prop.canvas,re=this.opt,Ve=A.height,pe=Math.floor(A.width*this.prop.pageSize.inner.ratio),Ze=Math.ceil(Ve/pe),st=this.prop.pageSize.inner.height,dt=document.createElement("canvas"),he=dt.getContext("2d");dt.width=A.width,dt.height=pe,this.prop.pdf=this.prop.pdf||new Ce.jsPDF(re.jsPDF);for(var Le=0;Le<Ze;Le++){Le===Ze-1&&Ve%pe!==0&&(dt.height=Ve%pe,st=dt.height*this.prop.pageSize.inner.width/dt.width);var At=dt.width,Fe=dt.height;he.fillStyle="white",he.fillRect(0,0,At,Fe),he.drawImage(A,0,Le*pe,At,Fe,0,0,At,Fe),Le&&this.prop.pdf.addPage();var Re=dt.toDataURL("image/"+re.image.type,re.image.quality);this.prop.pdf.addImage(Re,re.image.type,re.margin[1],re.margin[0],this.prop.pageSize.inner.width,st)}})},le.prototype.output=function(ae,W,A){return A=A||"pdf",A.toLowerCase()==="img"||A.toLowerCase()==="image"?this.outputImg(ae,W):this.outputPdf(ae,W)},le.prototype.outputPdf=function(ae,W){var A=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(A).then(function(){return this.prop.pdf.output(ae,W)})},le.prototype.outputImg=function(ae,W){var A=[function(){return this.prop.img||this.toImg()}];return this.thenList(A).then(function(){switch(ae){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 "'+ae+'" is not supported.'}})},le.prototype.save=function(ae){var W=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(W).set(ae?{filename:ae}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},le.prototype.set=function(ae){if((0,M.objType)(ae)!=="object")return this;var W=Object.keys(ae||{}).map(function(A){switch(A){case"margin":return this.setMargin.bind(this,ae.margin);case"jsPDF":return function(){return this.opt.jsPDF=ae.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,ae.pageSize);default:return A in le.template.prop?function(){this.prop[A]=ae[A]}:function(){this.opt[A]=ae[A]}}},this);return this.then(function(){return this.thenList(W)})},le.prototype.get=function(ae,W){return this.then(function(){var re=ae in le.template.prop?this.prop[ae]:this.opt[ae];return W?W(re):re})},le.prototype.setMargin=function(ae){return this.then(function(){switch((0,M.objType)(ae)){case"number":ae=[ae,ae,ae,ae];case"array":if(ae.length===2&&(ae=[ae[0],ae[1],ae[0],ae[1]]),ae.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=ae}).then(this.setPageSize)},le.prototype.setPageSize=function(ae){return this.then(function(){ae=ae||Ce.jsPDF.getPageSize(this.opt.jsPDF),ae.hasOwnProperty("inner")||(ae.inner={width:ae.width-this.opt.margin[1]-this.opt.margin[3],height:ae.height-this.opt.margin[0]-this.opt.margin[2]},ae.inner.px={width:(0,M.toPx)(ae.inner.width,ae.k),height:(0,M.toPx)(ae.inner.height,ae.k)},ae.inner.ratio=ae.inner.height/ae.inner.width),this.prop.pageSize=ae})},le.prototype.setProgress=function(ae,W,A,re){return ae!=null&&(this.progress.val=ae),W!=null&&(this.progress.state=W),A!=null&&(this.progress.n=A),re!=null&&(this.progress.stack=re),this.progress.ratio=this.progress.val/this.progress.state,this},le.prototype.updateProgress=function(ae,W,A,re){return this.setProgress(ae?this.progress.val+ae:null,W||null,A?this.progress.n+A:null,re?this.progress.stack.concat(re):null)},le.prototype.then=function(ae,W){var A=this;return this.thenCore(ae,W,function(Ve,pe){return A.updateProgress(null,null,1,[Ve]),ue.prototype.then.call(this,function(st){return A.updateProgress(null,Ve),st}).then(Ve,pe).then(function(st){return A.updateProgress(1),st})})},le.prototype.thenCore=function(ae,W,A){A=A||ue.prototype.then;var re=this;ae&&(ae=ae.bind(re)),W&&(W=W.bind(re));var Ve=ue.toString().indexOf("[native code]")!==-1&&ue.name==="Promise",pe=Ve?re:le.convert(Object.assign({},re),ue.prototype),Ze=A.call(pe,ae,W);return le.convert(Ze,re.__proto__)},le.prototype.thenExternal=function(ae,W){return ue.prototype.then.call(this,ae,W)},le.prototype.thenList=function(ae){var W=this;return ae.forEach(function(re){W=W.thenCore(re)}),W},le.prototype.catch=function(B){B&&(B=B.bind(this));var ae=ue.prototype.catch.call(this,B);return le.convert(ae,this)},le.prototype.catchExternal=function(ae){return ue.prototype.catch.call(this,ae)},le.prototype.error=function(ae){return this.then(function(){throw new Error(ae)})},le.prototype.using=le.prototype.set,le.prototype.saveAs=le.prototype.save,le.prototype.export=le.prototype.output,le.prototype.run=le.prototype.then,U.default=le},"./node_modules/core-js/internals/a-function.js":function(y){y.exports=function(U){if(typeof U!="function")throw TypeError(String(U)+" is not a function");return U}},"./node_modules/core-js/internals/a-possible-prototype.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-object.js");y.exports=function(k){if(!T(k)&&k!==null)throw TypeError("Can't set "+String(k)+" as a prototype");return k}},"./node_modules/core-js/internals/add-to-unscopables.js":function(y,U,c){var T=c("./node_modules/core-js/internals/well-known-symbol.js"),k=c("./node_modules/core-js/internals/object-create.js"),V=c("./node_modules/core-js/internals/object-define-property.js"),z=T("unscopables"),K=Array.prototype;K[z]==null&&V.f(K,z,{configurable:!0,value:k(null)}),y.exports=function(O){K[z][O]=!0}},"./node_modules/core-js/internals/an-object.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-object.js");y.exports=function(k){if(!T(k))throw TypeError(String(k)+" is not an object");return k}},"./node_modules/core-js/internals/array-for-each.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/array-iteration.js").forEach,k=c("./node_modules/core-js/internals/array-method-is-strict.js"),V=k("forEach");y.exports=V?[].forEach:function(K){return T(this,K,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-indexed-object.js"),k=c("./node_modules/core-js/internals/to-length.js"),V=c("./node_modules/core-js/internals/to-absolute-index.js"),z=function(K){return function(O,D,w){var E=T(O),ie=k(E.length),X=V(w,ie),q;if(K&&D!=D){for(;ie>X;)if(q=E[X++],q!=q)return!0}else for(;ie>X;X++)if((K||X in E)&&E[X]===D)return K||X||0;return!K&&-1}};y.exports={includes:z(!0),indexOf:z(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(y,U,c){var T=c("./node_modules/core-js/internals/function-bind-context.js"),k=c("./node_modules/core-js/internals/indexed-object.js"),V=c("./node_modules/core-js/internals/to-object.js"),z=c("./node_modules/core-js/internals/to-length.js"),K=c("./node_modules/core-js/internals/array-species-create.js"),O=[].push,D=function(w){var E=w==1,ie=w==2,X=w==3,q=w==4,Ee=w==6,Pe=w==7,et=w==5||Ee;return function(He,Ce,be,J){for(var we=V(He),M=k(we),I=T(Ce,be,3),rt=z(M.length),ue=0,le=J||K,B=E?le(He,rt):ie||Pe?le(He,0):void 0,ae,W;rt>ue;ue++)if((et||ue in M)&&(ae=M[ue],W=I(ae,ue,we),w))if(E)B[ue]=W;else if(W)switch(w){case 3:return!0;case 5:return ae;case 6:return ue;case 2:O.call(B,ae)}else switch(w){case 4:return!1;case 7:O.call(B,ae)}return Ee?-1:X||q?q:B}};y.exports={forEach:D(0),map:D(1),filter:D(2),some:D(3),every:D(4),find:D(5),findIndex:D(6),filterReject:D(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(y,U,c){var T=c("./node_modules/core-js/internals/fails.js"),k=c("./node_modules/core-js/internals/well-known-symbol.js"),V=c("./node_modules/core-js/internals/engine-v8-version.js"),z=k("species");y.exports=function(K){return V>=51||!T(function(){var O=[],D=O.constructor={};return D[z]=function(){return{foo:1}},O[K](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/fails.js");y.exports=function(k,V){var z=[][k];return!!z&&T(function(){z.call(null,V||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-object.js"),k=c("./node_modules/core-js/internals/is-array.js"),V=c("./node_modules/core-js/internals/well-known-symbol.js"),z=V("species");y.exports=function(K){var O;return k(K)&&(O=K.constructor,typeof O=="function"&&(O===Array||k(O.prototype))?O=void 0:T(O)&&(O=O[z],O===null&&(O=void 0))),O===void 0?Array:O}},"./node_modules/core-js/internals/array-species-create.js":function(y,U,c){var T=c("./node_modules/core-js/internals/array-species-constructor.js");y.exports=function(k,V){return new(T(k))(V===0?0:V)}},"./node_modules/core-js/internals/classof-raw.js":function(y){var U={}.toString;y.exports=function(c){return U.call(c).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-string-tag-support.js"),k=c("./node_modules/core-js/internals/classof-raw.js"),V=c("./node_modules/core-js/internals/well-known-symbol.js"),z=V("toStringTag"),K=k(function(){return arguments}())=="Arguments",O=function(D,w){try{return D[w]}catch(E){}};y.exports=T?k:function(D){var w,E,ie;return D===void 0?"Undefined":D===null?"Null":typeof(E=O(w=Object(D),z))=="string"?E:K?k(w):(ie=k(w))=="Object"&&typeof w.callee=="function"?"Arguments":ie}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(y,U,c){var T=c("./node_modules/core-js/internals/has.js"),k=c("./node_modules/core-js/internals/own-keys.js"),V=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),z=c("./node_modules/core-js/internals/object-define-property.js");y.exports=function(K,O){for(var D=k(O),w=z.f,E=V.f,ie=0;ie<D.length;ie++){var X=D[ie];T(K,X)||w(K,X,E(O,X))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(y,U,c){var T=c("./node_modules/core-js/internals/fails.js");y.exports=!T(function(){function k(){}return k.prototype.constructor=null,Object.getPrototypeOf(new k)!==k.prototype})},"./node_modules/core-js/internals/create-html.js":function(y,U,c){var T=c("./node_modules/core-js/internals/require-object-coercible.js"),k=c("./node_modules/core-js/internals/to-string.js"),V=/"/g;y.exports=function(z,K,O,D){var w=k(T(z)),E="<"+K;return O!==""&&(E+=" "+O+'="'+k(D).replace(V,""")+'"'),E+">"+w+"</"+K+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,k=c("./node_modules/core-js/internals/object-create.js"),V=c("./node_modules/core-js/internals/create-property-descriptor.js"),z=c("./node_modules/core-js/internals/set-to-string-tag.js"),K=c("./node_modules/core-js/internals/iterators.js"),O=function(){return this};y.exports=function(D,w,E){var ie=w+" Iterator";return D.prototype=k(T,{next:V(1,E)}),z(D,ie,!1,!0),K[ie]=O,D}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(y,U,c){var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/object-define-property.js"),V=c("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=T?function(z,K,O){return k.f(z,K,V(1,O))}:function(z,K,O){return z[K]=O,z}},"./node_modules/core-js/internals/create-property-descriptor.js":function(y){y.exports=function(U,c){return{enumerable:!(U&1),configurable:!(U&2),writable:!(U&4),value:c}}},"./node_modules/core-js/internals/create-property.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/to-property-key.js"),k=c("./node_modules/core-js/internals/object-define-property.js"),V=c("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=function(z,K,O){var D=T(K);D in z?k.f(z,D,V(0,O)):z[D]=O}},"./node_modules/core-js/internals/define-iterator.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/create-iterator-constructor.js"),V=c("./node_modules/core-js/internals/object-get-prototype-of.js"),z=c("./node_modules/core-js/internals/object-set-prototype-of.js"),K=c("./node_modules/core-js/internals/set-to-string-tag.js"),O=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),D=c("./node_modules/core-js/internals/redefine.js"),w=c("./node_modules/core-js/internals/well-known-symbol.js"),E=c("./node_modules/core-js/internals/is-pure.js"),ie=c("./node_modules/core-js/internals/iterators.js"),X=c("./node_modules/core-js/internals/iterators-core.js"),q=X.IteratorPrototype,Ee=X.BUGGY_SAFARI_ITERATORS,Pe=w("iterator"),et="keys",He="values",Ce="entries",be=function(){return this};y.exports=function(J,we,M,I,rt,ue,le){k(M,we,I);var B=function(he){if(he===rt&&Ve)return Ve;if(!Ee&&he in A)return A[he];switch(he){case et:return function(){return new M(this,he)};case He:return function(){return new M(this,he)};case Ce:return function(){return new M(this,he)}}return function(){return new M(this)}},ae=we+" Iterator",W=!1,A=J.prototype,re=A[Pe]||A["@@iterator"]||rt&&A[rt],Ve=!Ee&&re||B(rt),pe=we=="Array"&&A.entries||re,Ze,st,dt;if(pe&&(Ze=V(pe.call(new J)),q!==Object.prototype&&Ze.next&&(!E&&V(Ze)!==q&&(z?z(Ze,q):typeof Ze[Pe]!="function"&&O(Ze,Pe,be)),K(Ze,ae,!0,!0),E&&(ie[ae]=be))),rt==He&&re&&re.name!==He&&(W=!0,Ve=function(){return re.call(this)}),(!E||le)&&A[Pe]!==Ve&&O(A,Pe,Ve),ie[we]=Ve,rt)if(st={values:B(He),keys:ue?Ve:B(et),entries:B(Ce)},le)for(dt in st)(Ee||W||!(dt in A))&&D(A,dt,st[dt]);else T({target:we,proto:!0,forced:Ee||W},st);return st}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(y,U,c){var T=c("./node_modules/core-js/internals/path.js"),k=c("./node_modules/core-js/internals/has.js"),V=c("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),z=c("./node_modules/core-js/internals/object-define-property.js").f;y.exports=function(K){var O=T.Symbol||(T.Symbol={});k(O,K)||z(O,K,{value:V.f(K)})}},"./node_modules/core-js/internals/descriptors.js":function(y,U,c){var T=c("./node_modules/core-js/internals/fails.js");y.exports=!T(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/is-object.js"),V=T.document,z=k(V)&&k(V.createElement);y.exports=function(K){return z?V.createElement(K):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(y){y.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(y,U,c){var T=c("./node_modules/core-js/internals/get-built-in.js");y.exports=T("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/engine-user-agent.js"),V=T.process,z=T.Deno,K=V&&V.versions||z&&z.version,O=K&&K.v8,D,w;O?(D=O.split("."),w=D[0]<4?1:D[0]+D[1]):k&&(D=k.match(/Edge\/(\d+)/),(!D||D[1]>=74)&&(D=k.match(/Chrome\/(\d+)/),D&&(w=D[1]))),y.exports=w&&+w},"./node_modules/core-js/internals/enum-bug-keys.js":function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,V=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),z=c("./node_modules/core-js/internals/redefine.js"),K=c("./node_modules/core-js/internals/set-global.js"),O=c("./node_modules/core-js/internals/copy-constructor-properties.js"),D=c("./node_modules/core-js/internals/is-forced.js");y.exports=function(w,E){var ie=w.target,X=w.global,q=w.stat,Ee,Pe,et,He,Ce,be;if(X?Pe=T:q?Pe=T[ie]||K(ie,{}):Pe=(T[ie]||{}).prototype,Pe)for(et in E){if(Ce=E[et],w.noTargetGet?(be=k(Pe,et),He=be&&be.value):He=Pe[et],Ee=D(X?et:ie+(q?".":"#")+et,w.forced),!Ee&&He!==void 0){if(typeof Ce==typeof He)continue;O(Ce,He)}(w.sham||He&&He.sham)&&V(Ce,"sham",!0),z(Pe,et,Ce,w)}}},"./node_modules/core-js/internals/fails.js":function(y){y.exports=function(U){try{return!!U()}catch(c){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(y,U,c){var T=c("./node_modules/core-js/internals/a-function.js");y.exports=function(k,V,z){if(T(k),V===void 0)return k;switch(z){case 0:return function(){return k.call(V)};case 1:return function(K){return k.call(V,K)};case 2:return function(K,O){return k.call(V,K,O)};case 3:return function(K,O,D){return k.call(V,K,O,D)}}return function(){return k.apply(V,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=function(V){return typeof V=="function"?V:void 0};y.exports=function(V,z){return arguments.length<2?k(T[V]):T[V]&&T[V][z]}},"./node_modules/core-js/internals/global.js":function(y){var U=function(c){return c&&c.Math==Math&&c};y.exports=U(typeof globalThis=="object"&&globalThis)||U(typeof window=="object"&&window)||U(typeof self=="object"&&self)||U(typeof n.g=="object"&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-object.js"),k={}.hasOwnProperty;y.exports=Object.hasOwn||function(z,K){return k.call(T(z),K)}},"./node_modules/core-js/internals/hidden-keys.js":function(y){y.exports={}},"./node_modules/core-js/internals/html.js":function(y,U,c){var T=c("./node_modules/core-js/internals/get-built-in.js");y.exports=T("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(y,U,c){var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/fails.js"),V=c("./node_modules/core-js/internals/document-create-element.js");y.exports=!T&&!k(function(){return Object.defineProperty(V("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(y,U,c){var T=c("./node_modules/core-js/internals/fails.js"),k=c("./node_modules/core-js/internals/classof-raw.js"),V="".split;y.exports=T(function(){return!Object("z").propertyIsEnumerable(0)})?function(z){return k(z)=="String"?V.call(z,""):Object(z)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-object.js"),k=c("./node_modules/core-js/internals/object-set-prototype-of.js");y.exports=function(V,z,K){var O,D;return k&&typeof(O=z.constructor)=="function"&&O!==K&&T(D=O.prototype)&&D!==K.prototype&&k(V,D),V}},"./node_modules/core-js/internals/inspect-source.js":function(y,U,c){var T=c("./node_modules/core-js/internals/shared-store.js"),k=Function.toString;typeof T.inspectSource!="function"&&(T.inspectSource=function(V){return k.call(V)}),y.exports=T.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(y,U,c){var T=c("./node_modules/core-js/internals/native-weak-map.js"),k=c("./node_modules/core-js/internals/global.js"),V=c("./node_modules/core-js/internals/is-object.js"),z=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),K=c("./node_modules/core-js/internals/has.js"),O=c("./node_modules/core-js/internals/shared-store.js"),D=c("./node_modules/core-js/internals/shared-key.js"),w=c("./node_modules/core-js/internals/hidden-keys.js"),E="Object already initialized",ie=k.WeakMap,X,q,Ee,Pe=function(M){return Ee(M)?q(M):X(M,{})},et=function(M){return function(I){var rt;if(!V(I)||(rt=q(I)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return rt}};if(T||O.state){var He=O.state||(O.state=new ie),Ce=He.get,be=He.has,J=He.set;X=function(M,I){if(be.call(He,M))throw new TypeError(E);return I.facade=M,J.call(He,M,I),I},q=function(M){return Ce.call(He,M)||{}},Ee=function(M){return be.call(He,M)}}else{var we=D("state");w[we]=!0,X=function(M,I){if(K(M,we))throw new TypeError(E);return I.facade=M,z(M,we,I),I},q=function(M){return K(M,we)?M[we]:{}},Ee=function(M){return K(M,we)}}y.exports={set:X,get:q,has:Ee,enforce:Pe,getterFor:et}},"./node_modules/core-js/internals/is-array.js":function(y,U,c){var T=c("./node_modules/core-js/internals/classof-raw.js");y.exports=Array.isArray||function(V){return T(V)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(y,U,c){var T=c("./node_modules/core-js/internals/fails.js"),k=/#|\.prototype\./,V=function(w,E){var ie=K[z(w)];return ie==D?!0:ie==O?!1:typeof E=="function"?T(E):!!E},z=V.normalize=function(w){return String(w).replace(k,".").toLowerCase()},K=V.data={},O=V.NATIVE="N",D=V.POLYFILL="P";y.exports=V},"./node_modules/core-js/internals/is-object.js":function(y){y.exports=function(U){return typeof U=="object"?U!==null:typeof U=="function"}},"./node_modules/core-js/internals/is-pure.js":function(y){y.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(y,U,c){var T=c("./node_modules/core-js/internals/get-built-in.js"),k=c("./node_modules/core-js/internals/use-symbol-as-uid.js");y.exports=k?function(V){return typeof V=="symbol"}:function(V){var z=T("Symbol");return typeof z=="function"&&Object(V)instanceof z}},"./node_modules/core-js/internals/iterators-core.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/fails.js"),k=c("./node_modules/core-js/internals/object-get-prototype-of.js"),V=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),z=c("./node_modules/core-js/internals/has.js"),K=c("./node_modules/core-js/internals/well-known-symbol.js"),O=c("./node_modules/core-js/internals/is-pure.js"),D=K("iterator"),w=!1,E=function(){return this},ie,X,q;[].keys&&(q=[].keys(),"next"in q?(X=k(k(q)),X!==Object.prototype&&(ie=X)):w=!0);var Ee=ie==null||T(function(){var Pe={};return ie[D].call(Pe)!==Pe});Ee&&(ie={}),(!O||Ee)&&!z(ie,D)&&V(ie,D,E),y.exports={IteratorPrototype:ie,BUGGY_SAFARI_ITERATORS:w}},"./node_modules/core-js/internals/iterators.js":function(y){y.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(y,U,c){var T=c("./node_modules/core-js/internals/engine-v8-version.js"),k=c("./node_modules/core-js/internals/fails.js");y.exports=!!Object.getOwnPropertySymbols&&!k(function(){var V=Symbol();return!String(V)||!(Object(V)instanceof Symbol)||!Symbol.sham&&T&&T<41})},"./node_modules/core-js/internals/native-weak-map.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/inspect-source.js"),V=T.WeakMap;y.exports=typeof V=="function"&&/native code/.test(k(V))},"./node_modules/core-js/internals/object-assign.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/fails.js"),V=c("./node_modules/core-js/internals/object-keys.js"),z=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),K=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),O=c("./node_modules/core-js/internals/to-object.js"),D=c("./node_modules/core-js/internals/indexed-object.js"),w=Object.assign,E=Object.defineProperty;y.exports=!w||k(function(){if(T&&w({b:1},w(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ie={},X={},q=Symbol(),Ee="abcdefghijklmnopqrst";return ie[q]=7,Ee.split("").forEach(function(Pe){X[Pe]=Pe}),w({},ie)[q]!=7||V(w({},X)).join("")!=Ee})?function(X,q){for(var Ee=O(X),Pe=arguments.length,et=1,He=z.f,Ce=K.f;Pe>et;)for(var be=D(arguments[et++]),J=He?V(be).concat(He(be)):V(be),we=J.length,M=0,I;we>M;)I=J[M++],(!T||Ce.call(be,I))&&(Ee[I]=be[I]);return Ee}:w},"./node_modules/core-js/internals/object-create.js":function(y,U,c){var T=c("./node_modules/core-js/internals/an-object.js"),k=c("./node_modules/core-js/internals/object-define-properties.js"),V=c("./node_modules/core-js/internals/enum-bug-keys.js"),z=c("./node_modules/core-js/internals/hidden-keys.js"),K=c("./node_modules/core-js/internals/html.js"),O=c("./node_modules/core-js/internals/document-create-element.js"),D=c("./node_modules/core-js/internals/shared-key.js"),w=">",E="<",ie="prototype",X="script",q=D("IE_PROTO"),Ee=function(){},Pe=function(J){return E+X+w+J+E+"/"+X+w},et=function(J){J.write(Pe("")),J.close();var we=J.parentWindow.Object;return J=null,we},He=function(){var J=O("iframe"),we="java"+X+":",M;if(J.style)return J.style.display="none",K.appendChild(J),J.src=String(we),M=J.contentWindow.document,M.open(),M.write(Pe("document.F=Object")),M.close(),M.F},Ce,be=function(){try{Ce=new ActiveXObject("htmlfile")}catch(we){}be=document.domain&&Ce?et(Ce):He()||et(Ce);for(var J=V.length;J--;)delete be[ie][V[J]];return be()};z[q]=!0,y.exports=Object.create||function(we,M){var I;return we!==null?(Ee[ie]=T(we),I=new Ee,Ee[ie]=null,I[q]=we):I=be(),M===void 0?I:k(I,M)}},"./node_modules/core-js/internals/object-define-properties.js":function(y,U,c){var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/object-define-property.js"),V=c("./node_modules/core-js/internals/an-object.js"),z=c("./node_modules/core-js/internals/object-keys.js");y.exports=T?Object.defineProperties:function(O,D){V(O);for(var w=z(D),E=w.length,ie=0,X;E>ie;)k.f(O,X=w[ie++],D[X]);return O}},"./node_modules/core-js/internals/object-define-property.js":function(y,U,c){var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/ie8-dom-define.js"),V=c("./node_modules/core-js/internals/an-object.js"),z=c("./node_modules/core-js/internals/to-property-key.js"),K=Object.defineProperty;U.f=T?K:function(D,w,E){if(V(D),w=z(w),V(E),k)try{return K(D,w,E)}catch(ie){}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(D[w]=E.value),D}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(y,U,c){var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),V=c("./node_modules/core-js/internals/create-property-descriptor.js"),z=c("./node_modules/core-js/internals/to-indexed-object.js"),K=c("./node_modules/core-js/internals/to-property-key.js"),O=c("./node_modules/core-js/internals/has.js"),D=c("./node_modules/core-js/internals/ie8-dom-define.js"),w=Object.getOwnPropertyDescriptor;U.f=T?w:function(ie,X){if(ie=z(ie),X=K(X),D)try{return w(ie,X)}catch(q){}if(O(ie,X))return V(!k.f.call(ie,X),ie[X])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-indexed-object.js"),k=c("./node_modules/core-js/internals/object-get-own-property-names.js").f,V={}.toString,z=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],K=function(O){try{return k(O)}catch(D){return z.slice()}};y.exports.f=function(D){return z&&V.call(D)=="[object Window]"?K(D):k(T(D))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(y,U,c){var T=c("./node_modules/core-js/internals/object-keys-internal.js"),k=c("./node_modules/core-js/internals/enum-bug-keys.js"),V=k.concat("length","prototype");U.f=Object.getOwnPropertyNames||function(K){return T(K,V)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(y,U){U.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(y,U,c){var T=c("./node_modules/core-js/internals/has.js"),k=c("./node_modules/core-js/internals/to-object.js"),V=c("./node_modules/core-js/internals/shared-key.js"),z=c("./node_modules/core-js/internals/correct-prototype-getter.js"),K=V("IE_PROTO"),O=Object.prototype;y.exports=z?Object.getPrototypeOf:function(D){return D=k(D),T(D,K)?D[K]:typeof D.constructor=="function"&&D instanceof D.constructor?D.constructor.prototype:D instanceof Object?O:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(y,U,c){var T=c("./node_modules/core-js/internals/has.js"),k=c("./node_modules/core-js/internals/to-indexed-object.js"),V=c("./node_modules/core-js/internals/array-includes.js").indexOf,z=c("./node_modules/core-js/internals/hidden-keys.js");y.exports=function(K,O){var D=k(K),w=0,E=[],ie;for(ie in D)!T(z,ie)&&T(D,ie)&&E.push(ie);for(;O.length>w;)T(D,ie=O[w++])&&(~V(E,ie)||E.push(ie));return E}},"./node_modules/core-js/internals/object-keys.js":function(y,U,c){var T=c("./node_modules/core-js/internals/object-keys-internal.js"),k=c("./node_modules/core-js/internals/enum-bug-keys.js");y.exports=Object.keys||function(z){return T(z,k)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(y,U){"use strict";var c={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,k=T&&!c.call({1:2},1);U.f=k?function(z){var K=T(this,z);return!!K&&K.enumerable}:c},"./node_modules/core-js/internals/object-set-prototype-of.js":function(y,U,c){var T=c("./node_modules/core-js/internals/an-object.js"),k=c("./node_modules/core-js/internals/a-possible-prototype.js");y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var V=!1,z={},K;try{K=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,K.call(z,[]),V=z instanceof Array}catch(O){}return function(D,w){return T(D),k(w),V?K.call(D,w):D.__proto__=w,D}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/to-string-tag-support.js"),k=c("./node_modules/core-js/internals/classof.js");y.exports=T?{}.toString:function(){return"[object "+k(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-object.js");y.exports=function(k,V){var z,K;if(V==="string"&&typeof(z=k.toString)=="function"&&!T(K=z.call(k))||typeof(z=k.valueOf)=="function"&&!T(K=z.call(k))||V!=="string"&&typeof(z=k.toString)=="function"&&!T(K=z.call(k)))return K;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(y,U,c){var T=c("./node_modules/core-js/internals/get-built-in.js"),k=c("./node_modules/core-js/internals/object-get-own-property-names.js"),V=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),z=c("./node_modules/core-js/internals/an-object.js");y.exports=T("Reflect","ownKeys")||function(O){var D=k.f(z(O)),w=V.f;return w?D.concat(w(O)):D}},"./node_modules/core-js/internals/path.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js");y.exports=T},"./node_modules/core-js/internals/redefine.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),V=c("./node_modules/core-js/internals/has.js"),z=c("./node_modules/core-js/internals/set-global.js"),K=c("./node_modules/core-js/internals/inspect-source.js"),O=c("./node_modules/core-js/internals/internal-state.js"),D=O.get,w=O.enforce,E=String(String).split("String");(y.exports=function(ie,X,q,Ee){var Pe=Ee?!!Ee.unsafe:!1,et=Ee?!!Ee.enumerable:!1,He=Ee?!!Ee.noTargetGet:!1,Ce;if(typeof q=="function"&&(typeof X=="string"&&!V(q,"name")&&k(q,"name",X),Ce=w(q),Ce.source||(Ce.source=E.join(typeof X=="string"?X:""))),ie===T){et?ie[X]=q:z(X,q);return}else Pe?!He&&ie[X]&&(et=!0):delete ie[X];et?ie[X]=q:k(ie,X,q)})(Function.prototype,"toString",function(){return typeof this=="function"&&D(this).source||K(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/an-object.js");y.exports=function(){var k=T(this),V="";return k.global&&(V+="g"),k.ignoreCase&&(V+="i"),k.multiline&&(V+="m"),k.dotAll&&(V+="s"),k.unicode&&(V+="u"),k.sticky&&(V+="y"),V}},"./node_modules/core-js/internals/require-object-coercible.js":function(y){y.exports=function(U){if(U==null)throw TypeError("Can't call method on "+U);return U}},"./node_modules/core-js/internals/set-global.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js");y.exports=function(k,V){try{Object.defineProperty(T,k,{value:V,configurable:!0,writable:!0})}catch(z){T[k]=V}return V}},"./node_modules/core-js/internals/set-to-string-tag.js":function(y,U,c){var T=c("./node_modules/core-js/internals/object-define-property.js").f,k=c("./node_modules/core-js/internals/has.js"),V=c("./node_modules/core-js/internals/well-known-symbol.js"),z=V("toStringTag");y.exports=function(K,O,D){K&&!k(K=D?K:K.prototype,z)&&T(K,z,{configurable:!0,value:O})}},"./node_modules/core-js/internals/shared-key.js":function(y,U,c){var T=c("./node_modules/core-js/internals/shared.js"),k=c("./node_modules/core-js/internals/uid.js"),V=T("keys");y.exports=function(z){return V[z]||(V[z]=k(z))}},"./node_modules/core-js/internals/shared-store.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/set-global.js"),V="__core-js_shared__",z=T[V]||k(V,{});y.exports=z},"./node_modules/core-js/internals/shared.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-pure.js"),k=c("./node_modules/core-js/internals/shared-store.js");(y.exports=function(V,z){return k[V]||(k[V]=z!==void 0?z:{})})("versions",[]).push({version:"3.16.0",mode:T?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(y,U,c){var T=c("./node_modules/core-js/internals/fails.js");y.exports=function(k){return T(function(){var V=""[k]('"');return V!==V.toLowerCase()||V.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-integer.js"),k=c("./node_modules/core-js/internals/to-string.js"),V=c("./node_modules/core-js/internals/require-object-coercible.js"),z=function(K){return function(O,D){var w=k(V(O)),E=T(D),ie=w.length,X,q;return E<0||E>=ie?K?"":void 0:(X=w.charCodeAt(E),X<55296||X>56319||E+1===ie||(q=w.charCodeAt(E+1))<56320||q>57343?K?w.charAt(E):X:K?w.slice(E,E+2):(X-55296<<10)+(q-56320)+65536)}};y.exports={codeAt:z(!1),charAt:z(!0)}},"./node_modules/core-js/internals/string-trim.js":function(y,U,c){var T=c("./node_modules/core-js/internals/require-object-coercible.js"),k=c("./node_modules/core-js/internals/to-string.js"),V=c("./node_modules/core-js/internals/whitespaces.js"),z="["+V+"]",K=RegExp("^"+z+z+"*"),O=RegExp(z+z+"*$"),D=function(w){return function(E){var ie=k(T(E));return w&1&&(ie=ie.replace(K,"")),w&2&&(ie=ie.replace(O,"")),ie}};y.exports={start:D(1),end:D(2),trim:D(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-integer.js"),k=Math.max,V=Math.min;y.exports=function(z,K){var O=T(z);return O<0?k(O+K,0):V(O,K)}},"./node_modules/core-js/internals/to-indexed-object.js":function(y,U,c){var T=c("./node_modules/core-js/internals/indexed-object.js"),k=c("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(V){return T(k(V))}},"./node_modules/core-js/internals/to-integer.js":function(y){var U=Math.ceil,c=Math.floor;y.exports=function(T){return isNaN(T=+T)?0:(T>0?c:U)(T)}},"./node_modules/core-js/internals/to-length.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-integer.js"),k=Math.min;y.exports=function(V){return V>0?k(T(V),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(y,U,c){var T=c("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(k){return Object(T(k))}},"./node_modules/core-js/internals/to-primitive.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-object.js"),k=c("./node_modules/core-js/internals/is-symbol.js"),V=c("./node_modules/core-js/internals/ordinary-to-primitive.js"),z=c("./node_modules/core-js/internals/well-known-symbol.js"),K=z("toPrimitive");y.exports=function(O,D){if(!T(O)||k(O))return O;var w=O[K],E;if(w!==void 0){if(D===void 0&&(D="default"),E=w.call(O,D),!T(E)||k(E))return E;throw TypeError("Can't convert object to primitive value")}return D===void 0&&(D="number"),V(O,D)}},"./node_modules/core-js/internals/to-property-key.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-primitive.js"),k=c("./node_modules/core-js/internals/is-symbol.js");y.exports=function(V){var z=T(V,"string");return k(z)?z:String(z)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(y,U,c){var T=c("./node_modules/core-js/internals/well-known-symbol.js"),k=T("toStringTag"),V={};V[k]="z",y.exports=String(V)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(y,U,c){var T=c("./node_modules/core-js/internals/is-symbol.js");y.exports=function(k){if(T(k))throw TypeError("Cannot convert a Symbol value to a string");return String(k)}},"./node_modules/core-js/internals/uid.js":function(y){var U=0,c=Math.random();y.exports=function(T){return"Symbol("+String(T===void 0?"":T)+")_"+(++U+c).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(y,U,c){var T=c("./node_modules/core-js/internals/native-symbol.js");y.exports=T&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(y,U,c){var T=c("./node_modules/core-js/internals/well-known-symbol.js");U.f=T},"./node_modules/core-js/internals/well-known-symbol.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/shared.js"),V=c("./node_modules/core-js/internals/has.js"),z=c("./node_modules/core-js/internals/uid.js"),K=c("./node_modules/core-js/internals/native-symbol.js"),O=c("./node_modules/core-js/internals/use-symbol-as-uid.js"),D=k("wks"),w=T.Symbol,E=O?w:w&&w.withoutSetter||z;y.exports=function(ie){return(!V(D,ie)||!(K||typeof D[ie]=="string"))&&(K&&V(w,ie)?D[ie]=w[ie]:D[ie]=E("Symbol."+ie)),D[ie]}},"./node_modules/core-js/internals/whitespaces.js":function(y){y.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(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/fails.js"),V=c("./node_modules/core-js/internals/is-array.js"),z=c("./node_modules/core-js/internals/is-object.js"),K=c("./node_modules/core-js/internals/to-object.js"),O=c("./node_modules/core-js/internals/to-length.js"),D=c("./node_modules/core-js/internals/create-property.js"),w=c("./node_modules/core-js/internals/array-species-create.js"),E=c("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=c("./node_modules/core-js/internals/well-known-symbol.js"),X=c("./node_modules/core-js/internals/engine-v8-version.js"),q=ie("isConcatSpreadable"),Ee=9007199254740991,Pe="Maximum allowed index exceeded",et=X>=51||!k(function(){var J=[];return J[q]=!1,J.concat()[0]!==J}),He=E("concat"),Ce=function(J){if(!z(J))return!1;var we=J[q];return we!==void 0?!!we:V(J)},be=!et||!He;T({target:"Array",proto:!0,forced:be},{concat:function(we){var M=K(this),I=w(M,0),rt=0,ue,le,B,ae,W;for(ue=-1,B=arguments.length;ue<B;ue++)if(W=ue===-1?M:arguments[ue],Ce(W)){if(ae=O(W.length),rt+ae>Ee)throw TypeError(Pe);for(le=0;le<ae;le++,rt++)le in W&&D(I,rt,W[le])}else{if(rt>=Ee)throw TypeError(Pe);D(I,rt++,W)}return I.length=rt,I}})},"./node_modules/core-js/modules/es.array.iterator.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/to-indexed-object.js"),k=c("./node_modules/core-js/internals/add-to-unscopables.js"),V=c("./node_modules/core-js/internals/iterators.js"),z=c("./node_modules/core-js/internals/internal-state.js"),K=c("./node_modules/core-js/internals/define-iterator.js"),O="Array Iterator",D=z.set,w=z.getterFor(O);y.exports=K(Array,"Array",function(E,ie){D(this,{type:O,target:T(E),index:0,kind:ie})},function(){var E=w(this),ie=E.target,X=E.kind,q=E.index++;return!ie||q>=ie.length?(E.target=void 0,{value:void 0,done:!0}):X=="keys"?{value:q,done:!1}:X=="values"?{value:ie[q],done:!1}:{value:[q,ie[q]],done:!1}},"values"),V.Arguments=V.Array,k("keys"),k("values"),k("entries")},"./node_modules/core-js/modules/es.array.join.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/indexed-object.js"),V=c("./node_modules/core-js/internals/to-indexed-object.js"),z=c("./node_modules/core-js/internals/array-method-is-strict.js"),K=[].join,O=k!=Object,D=z("join",",");T({target:"Array",proto:!0,forced:O||!D},{join:function(E){return K.call(V(this),E===void 0?",":E)}})},"./node_modules/core-js/modules/es.array.map.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/array-iteration.js").map,V=c("./node_modules/core-js/internals/array-method-has-species-support.js"),z=V("map");T({target:"Array",proto:!0,forced:!z},{map:function(O){return k(this,O,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/is-object.js"),V=c("./node_modules/core-js/internals/is-array.js"),z=c("./node_modules/core-js/internals/to-absolute-index.js"),K=c("./node_modules/core-js/internals/to-length.js"),O=c("./node_modules/core-js/internals/to-indexed-object.js"),D=c("./node_modules/core-js/internals/create-property.js"),w=c("./node_modules/core-js/internals/well-known-symbol.js"),E=c("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=E("slice"),X=w("species"),q=[].slice,Ee=Math.max;T({target:"Array",proto:!0,forced:!ie},{slice:function(et,He){var Ce=O(this),be=K(Ce.length),J=z(et,be),we=z(He===void 0?be:He,be),M,I,rt;if(V(Ce)&&(M=Ce.constructor,typeof M=="function"&&(M===Array||V(M.prototype))?M=void 0:k(M)&&(M=M[X],M===null&&(M=void 0)),M===Array||M===void 0))return q.call(Ce,J,we);for(I=new(M===void 0?Array:M)(Ee(we-J,0)),rt=0;J<we;J++,rt++)J in Ce&&D(I,rt,Ce[J]);return I.length=rt,I}})},"./node_modules/core-js/modules/es.function.name.js":function(y,U,c){var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/object-define-property.js").f,V=Function.prototype,z=V.toString,K=/^\s*function ([^ (]*)/,O="name";T&&!(O in V)&&k(V,O,{configurable:!0,get:function(){try{return z.call(this).match(K)[1]}catch(D){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/descriptors.js"),k=c("./node_modules/core-js/internals/global.js"),V=c("./node_modules/core-js/internals/is-forced.js"),z=c("./node_modules/core-js/internals/redefine.js"),K=c("./node_modules/core-js/internals/has.js"),O=c("./node_modules/core-js/internals/classof-raw.js"),D=c("./node_modules/core-js/internals/inherit-if-required.js"),w=c("./node_modules/core-js/internals/is-symbol.js"),E=c("./node_modules/core-js/internals/to-primitive.js"),ie=c("./node_modules/core-js/internals/fails.js"),X=c("./node_modules/core-js/internals/object-create.js"),q=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,He="Number",Ce=k[He],be=Ce.prototype,J=O(X(be))==He,we=function(le){if(w(le))throw TypeError("Cannot convert a Symbol value to a number");var B=E(le,"number"),ae,W,A,re,Ve,pe,Ze,st;if(typeof B=="string"&&B.length>2){if(B=et(B),ae=B.charCodeAt(0),ae===43||ae===45){if(W=B.charCodeAt(2),W===88||W===120)return NaN}else if(ae===48){switch(B.charCodeAt(1)){case 66:case 98:A=2,re=49;break;case 79:case 111:A=8,re=55;break;default:return+B}for(Ve=B.slice(2),pe=Ve.length,Ze=0;Ze<pe;Ze++)if(st=Ve.charCodeAt(Ze),st<48||st>re)return NaN;return parseInt(Ve,A)}}return+B};if(V(He,!Ce(" 0o1")||!Ce("0b1")||Ce("+0x1"))){for(var M=function(B){var ae=arguments.length<1?0:B,W=this;return W instanceof M&&(J?ie(function(){be.valueOf.call(W)}):O(W)!=He)?D(new Ce(we(ae)),W,M):we(ae)},I=T?q(Ce):"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(","),rt=0,ue;I.length>rt;rt++)K(Ce,ue=I[rt])&&!K(M,ue)&&Pe(M,ue,Ee(Ce,ue));M.prototype=be,be.constructor=M,z(k,He,M)}},"./node_modules/core-js/modules/es.object.assign.js":function(y,U,c){var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/object-assign.js");T({target:"Object",stat:!0,forced:Object.assign!==k},{assign:k})},"./node_modules/core-js/modules/es.object.keys.js":function(y,U,c){var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/to-object.js"),V=c("./node_modules/core-js/internals/object-keys.js"),z=c("./node_modules/core-js/internals/fails.js"),K=z(function(){V(1)});T({target:"Object",stat:!0,forced:K},{keys:function(D){return V(k(D))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(y,U,c){var T=c("./node_modules/core-js/internals/to-string-tag-support.js"),k=c("./node_modules/core-js/internals/redefine.js"),V=c("./node_modules/core-js/internals/object-to-string.js");T||k(Object.prototype,"toString",V,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/redefine.js"),k=c("./node_modules/core-js/internals/an-object.js"),V=c("./node_modules/core-js/internals/to-string.js"),z=c("./node_modules/core-js/internals/fails.js"),K=c("./node_modules/core-js/internals/regexp-flags.js"),O="toString",D=RegExp.prototype,w=D[O],E=z(function(){return w.call({source:"a",flags:"b"})!="/a/b"}),ie=w.name!=O;(E||ie)&&T(RegExp.prototype,O,function(){var q=k(this),Ee=V(q.source),Pe=q.flags,et=V(Pe===void 0&&q instanceof RegExp&&!("flags"in D)?K.call(q):Pe);return"/"+Ee+"/"+et},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/string-multibyte.js").charAt,k=c("./node_modules/core-js/internals/to-string.js"),V=c("./node_modules/core-js/internals/internal-state.js"),z=c("./node_modules/core-js/internals/define-iterator.js"),K="String Iterator",O=V.set,D=V.getterFor(K);z(String,"String",function(w){O(this,{type:K,string:k(w),index:0})},function(){var E=D(this),ie=E.string,X=E.index,q;return X>=ie.length?{value:void 0,done:!0}:(q=T(ie,X),E.index+=q.length,{value:q,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/create-html.js"),V=c("./node_modules/core-js/internals/string-html-forced.js");T({target:"String",proto:!0,forced:V("link")},{link:function(K){return k(this,"a","href",K)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/descriptors.js"),V=c("./node_modules/core-js/internals/global.js"),z=c("./node_modules/core-js/internals/has.js"),K=c("./node_modules/core-js/internals/is-object.js"),O=c("./node_modules/core-js/internals/object-define-property.js").f,D=c("./node_modules/core-js/internals/copy-constructor-properties.js"),w=V.Symbol;if(k&&typeof w=="function"&&(!("description"in w.prototype)||w().description!==void 0)){var E={},ie=function(){var He=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),Ce=this instanceof ie?new w(He):He===void 0?w():w(He);return He===""&&(E[Ce]=!0),Ce};D(ie,w);var X=ie.prototype=w.prototype;X.constructor=ie;var q=X.toString,Ee=String(w("test"))=="Symbol(test)",Pe=/^Symbol\((.*)\)[^)]+$/;O(X,"description",{configurable:!0,get:function(){var He=K(this)?this.valueOf():this,Ce=q.call(He);if(z(E,He))return"";var be=Ee?Ce.slice(7,-1):Ce.replace(Pe,"$1");return be===""?void 0:be}}),T({global:!0,forced:!0},{Symbol:ie})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(y,U,c){var T=c("./node_modules/core-js/internals/define-well-known-symbol.js");T("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(y,U,c){"use strict";var T=c("./node_modules/core-js/internals/export.js"),k=c("./node_modules/core-js/internals/global.js"),V=c("./node_modules/core-js/internals/get-built-in.js"),z=c("./node_modules/core-js/internals/is-pure.js"),K=c("./node_modules/core-js/internals/descriptors.js"),O=c("./node_modules/core-js/internals/native-symbol.js"),D=c("./node_modules/core-js/internals/fails.js"),w=c("./node_modules/core-js/internals/has.js"),E=c("./node_modules/core-js/internals/is-array.js"),ie=c("./node_modules/core-js/internals/is-object.js"),X=c("./node_modules/core-js/internals/is-symbol.js"),q=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"),He=c("./node_modules/core-js/internals/to-string.js"),Ce=c("./node_modules/core-js/internals/create-property-descriptor.js"),be=c("./node_modules/core-js/internals/object-create.js"),J=c("./node_modules/core-js/internals/object-keys.js"),we=c("./node_modules/core-js/internals/object-get-own-property-names.js"),M=c("./node_modules/core-js/internals/object-get-own-property-names-external.js"),I=c("./node_modules/core-js/internals/object-get-own-property-symbols.js"),rt=c("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ue=c("./node_modules/core-js/internals/object-define-property.js"),le=c("./node_modules/core-js/internals/object-property-is-enumerable.js"),B=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),ae=c("./node_modules/core-js/internals/redefine.js"),W=c("./node_modules/core-js/internals/shared.js"),A=c("./node_modules/core-js/internals/shared-key.js"),re=c("./node_modules/core-js/internals/hidden-keys.js"),Ve=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"),st=c("./node_modules/core-js/internals/define-well-known-symbol.js"),dt=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,At=A("hidden"),Fe="Symbol",Re="prototype",N=pe("toPrimitive"),_e=he.set,ve=he.getterFor(Fe),de=Object[Re],fe=k.Symbol,me=V("JSON","stringify"),Oe=rt.f,xe=ue.f,Ne=M.f,Ye=le.f,pt=W("symbols"),$t=W("op-symbols"),Xt=W("string-to-symbol-registry"),Ut=W("symbol-to-string-registry"),Dt=W("wks"),at=k.QObject,yt=!at||!at[Re]||!at[Re].findChild,xt=K&&D(function(){return be(xe({},"a",{get:function(){return xe(this,"a",{value:7}).a}})).a!=7})?function(wt,oe,Be){var kr=Oe(de,oe);kr&&delete de[oe],xe(wt,oe,Be),kr&&wt!==de&&xe(de,oe,kr)}:xe,ht=function(wt,oe){var Be=pt[wt]=be(fe[Re]);return _e(Be,{type:Fe,tag:wt,description:oe}),K||(Be.description=oe),Be},tr=function(oe,Be,kr){oe===de&&tr($t,Be,kr),q(oe);var Br=et(Be);return q(kr),w(pt,Br)?(kr.enumerable?(w(oe,At)&&oe[At][Br]&&(oe[At][Br]=!1),kr=be(kr,{enumerable:Ce(0,!1)})):(w(oe,At)||xe(oe,At,Ce(1,{})),oe[At][Br]=!0),xt(oe,Br,kr)):xe(oe,Br,kr)},mr=function(oe,Be){q(oe);var kr=Pe(Be),Br=J(kr).concat(x(kr));return Le(Br,function(wn){(!K||Ir.call(kr,wn))&&tr(oe,wn,kr[wn])}),oe},hr=function(oe,Be){return Be===void 0?be(oe):mr(be(oe),Be)},Ir=function(oe){var Be=et(oe),kr=Ye.call(this,Be);return this===de&&w(pt,Be)&&!w($t,Be)?!1:kr||!w(this,Be)||!w(pt,Be)||w(this,At)&&this[At][Be]?kr:!0},tn=function(oe,Be){var kr=Pe(oe),Br=et(Be);if(!(kr===de&&w(pt,Br)&&!w($t,Br))){var wn=Oe(kr,Br);return wn&&w(pt,Br)&&!(w(kr,At)&&kr[At][Br])&&(wn.enumerable=!0),wn}},Pr=function(oe){var Be=Ne(Pe(oe)),kr=[];return Le(Be,function(Br){!w(pt,Br)&&!w(re,Br)&&kr.push(Br)}),kr},x=function(oe){var Be=oe===de,kr=Ne(Be?$t:Pe(oe)),Br=[];return Le(kr,function(wn){w(pt,wn)&&(!Be||w(de,wn))&&Br.push(pt[wn])}),Br};if(O||(fe=function(){if(this instanceof fe)throw TypeError("Symbol is not a constructor");var oe=!arguments.length||arguments[0]===void 0?void 0:He(arguments[0]),Be=Ve(oe),kr=function(Br){this===de&&kr.call($t,Br),w(this,At)&&w(this[At],Be)&&(this[At][Be]=!1),xt(this,Be,Ce(1,Br))};return K&&yt&&xt(de,Be,{configurable:!0,set:kr}),ht(Be,oe)},ae(fe[Re],"toString",function(){return ve(this).tag}),ae(fe,"withoutSetter",function(wt){return ht(Ve(wt),wt)}),le.f=Ir,ue.f=tr,rt.f=tn,we.f=M.f=Pr,I.f=x,Ze.f=function(wt){return ht(pe(wt),wt)},K&&(xe(fe[Re],"description",{configurable:!0,get:function(){return ve(this).description}}),z||ae(de,"propertyIsEnumerable",Ir,{unsafe:!0}))),T({global:!0,wrap:!0,forced:!O,sham:!O},{Symbol:fe}),Le(J(Dt),function(wt){st(wt)}),T({target:Fe,stat:!0,forced:!O},{for:function(wt){var oe=He(wt);if(w(Xt,oe))return Xt[oe];var Be=fe(oe);return Xt[oe]=Be,Ut[Be]=oe,Be},keyFor:function(oe){if(!X(oe))throw TypeError(oe+" is not a symbol");if(w(Ut,oe))return Ut[oe]},useSetter:function(){yt=!0},useSimple:function(){yt=!1}}),T({target:"Object",stat:!0,forced:!O,sham:!K},{create:hr,defineProperty:tr,defineProperties:mr,getOwnPropertyDescriptor:tn}),T({target:"Object",stat:!0,forced:!O},{getOwnPropertyNames:Pr,getOwnPropertySymbols:x}),T({target:"Object",stat:!0,forced:D(function(){I.f(1)})},{getOwnPropertySymbols:function(oe){return I.f(Ee(oe))}}),me){var F=!O||D(function(){var wt=fe();return me([wt])!="[null]"||me({a:wt})!="{}"||me(Object(wt))!="{}"});T({target:"JSON",stat:!0,forced:F},{stringify:function(oe,Be,kr){for(var Br=[oe],wn=1,Fn;arguments.length>wn;)Br.push(arguments[wn++]);if(Fn=Be,!(!ie(Be)&&oe===void 0||X(oe)))return E(Be)||(Be=function(Rt,Sr){if(typeof Fn=="function"&&(Sr=Fn.call(this,Rt,Sr)),!X(Sr))return Sr}),Br[1]=Be,me.apply(null,Br)}})}fe[Re][N]||B(fe[Re],N,fe[Re].valueOf),dt(fe,Fe),re[At]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/dom-iterables.js"),V=c("./node_modules/core-js/internals/array-for-each.js"),z=c("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var K in k){var O=T[K],D=O&&O.prototype;if(D&&D.forEach!==V)try{z(D,"forEach",V)}catch(w){D.forEach=V}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(y,U,c){var T=c("./node_modules/core-js/internals/global.js"),k=c("./node_modules/core-js/internals/dom-iterables.js"),V=c("./node_modules/core-js/modules/es.array.iterator.js"),z=c("./node_modules/core-js/internals/create-non-enumerable-property.js"),K=c("./node_modules/core-js/internals/well-known-symbol.js"),O=K("iterator"),D=K("toStringTag"),w=V.values;for(var E in k){var ie=T[E],X=ie&&ie.prototype;if(X){if(X[O]!==w)try{z(X,O,w)}catch(Ee){X[O]=w}if(X[D]||z(X,D,E),k[E]){for(var q in V)if(X[q]!==V[q])try{z(X,q,V[q])}catch(Ee){X[q]=V[q]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(y){(function(U,c){y.exports=c()})(this,function(){"use strict";function U(at){var yt=typeof at;return at!==null&&(yt==="object"||yt==="function")}function c(at){return typeof at=="function"}var T=void 0;Array.isArray?T=Array.isArray:T=function(at){return Object.prototype.toString.call(at)==="[object Array]"};var k=T,V=0,z=void 0,K=void 0,O=function(yt,xt){J[V]=yt,J[V+1]=xt,V+=2,V===2&&(K?K(we):I())};function D(at){K=at}function w(at){O=at}var E=typeof window!="undefined"?window:void 0,ie=E||{},X=ie.MutationObserver||ie.WebKitMutationObserver,q=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(we)}}function et(){return typeof z!="undefined"?function(){z(we)}:be()}function He(){var at=0,yt=new X(we),xt=document.createTextNode("");return yt.observe(xt,{characterData:!0}),function(){xt.data=at=++at%2}}function Ce(){var at=new MessageChannel;return at.port1.onmessage=we,function(){return at.port2.postMessage(0)}}function be(){var at=setTimeout;return function(){return at(we,1)}}var J=new Array(1e3);function we(){for(var at=0;at<V;at+=2){var yt=J[at],xt=J[at+1];yt(xt),J[at]=void 0,J[at+1]=void 0}V=0}function M(){try{var at=Function("return this")().require("vertx");return z=at.runOnLoop||at.runOnContext,et()}catch(yt){return be()}}var I=void 0;q?I=Pe():X?I=He():Ee?I=Ce():E===void 0?I=M():I=be();function rt(at,yt){var xt=this,ht=new this.constructor(B);ht[le]===void 0&&me(ht);var tr=xt._state;if(tr){var mr=arguments[tr-1];O(function(){return _e(tr,ht,mr,xt._result)})}else Re(xt,ht,at,yt);return ht}function ue(at){var yt=this;if(at&&typeof at=="object"&&at.constructor===yt)return at;var xt=new yt(B);return he(xt,at),xt}var le=Math.random().toString(36).substring(2);function B(){}var ae=void 0,W=1,A=2;function re(){return new TypeError("You cannot resolve a promise with itself")}function Ve(){return new TypeError("A promises callback cannot return that same promise.")}function pe(at,yt,xt,ht){try{at.call(yt,xt,ht)}catch(tr){return tr}}function Ze(at,yt,xt){O(function(ht){var tr=!1,mr=pe(xt,yt,function(hr){tr||(tr=!0,yt!==hr?he(ht,hr):At(ht,hr))},function(hr){tr||(tr=!0,Fe(ht,hr))},"Settle: "+(ht._label||" unknown promise"));!tr&&mr&&(tr=!0,Fe(ht,mr))},at)}function st(at,yt){yt._state===W?At(at,yt._result):yt._state===A?Fe(at,yt._result):Re(yt,void 0,function(xt){return he(at,xt)},function(xt){return Fe(at,xt)})}function dt(at,yt,xt){yt.constructor===at.constructor&&xt===rt&&yt.constructor.resolve===ue?st(at,yt):xt===void 0?At(at,yt):c(xt)?Ze(at,yt,xt):At(at,yt)}function he(at,yt){if(at===yt)Fe(at,re());else if(U(yt)){var xt=void 0;try{xt=yt.then}catch(ht){Fe(at,ht);return}dt(at,yt,xt)}else At(at,yt)}function Le(at){at._onerror&&at._onerror(at._result),N(at)}function At(at,yt){at._state===ae&&(at._result=yt,at._state=W,at._subscribers.length!==0&&O(N,at))}function Fe(at,yt){at._state===ae&&(at._state=A,at._result=yt,O(Le,at))}function Re(at,yt,xt,ht){var tr=at._subscribers,mr=tr.length;at._onerror=null,tr[mr]=yt,tr[mr+W]=xt,tr[mr+A]=ht,mr===0&&at._state&&O(N,at)}function N(at){var yt=at._subscribers,xt=at._state;if(yt.length!==0){for(var ht=void 0,tr=void 0,mr=at._result,hr=0;hr<yt.length;hr+=3)ht=yt[hr],tr=yt[hr+xt],ht?_e(xt,ht,tr,mr):tr(mr);at._subscribers.length=0}}function _e(at,yt,xt,ht){var tr=c(xt),mr=void 0,hr=void 0,Ir=!0;if(tr){try{mr=xt(ht)}catch(tn){Ir=!1,hr=tn}if(yt===mr){Fe(yt,Ve());return}}else mr=ht;yt._state!==ae||(tr&&Ir?he(yt,mr):Ir===!1?Fe(yt,hr):at===W?At(yt,mr):at===A&&Fe(yt,mr))}function ve(at,yt){try{yt(function(ht){he(at,ht)},function(ht){Fe(at,ht)})}catch(xt){Fe(at,xt)}}var de=0;function fe(){return de++}function me(at){at[le]=de++,at._state=void 0,at._result=void 0,at._subscribers=[]}function Oe(){return new Error("Array Methods must be provided an Array")}var xe=function(){function at(yt,xt){this._instanceConstructor=yt,this.promise=new yt(B),this.promise[le]||me(this.promise),k(xt)?(this.length=xt.length,this._remaining=xt.length,this._result=new Array(this.length),this.length===0?At(this.promise,this._result):(this.length=this.length||0,this._enumerate(xt),this._remaining===0&&At(this.promise,this._result))):Fe(this.promise,Oe())}return at.prototype._enumerate=function(xt){for(var ht=0;this._state===ae&&ht<xt.length;ht++)this._eachEntry(xt[ht],ht)},at.prototype._eachEntry=function(xt,ht){var tr=this._instanceConstructor,mr=tr.resolve;if(mr===ue){var hr=void 0,Ir=void 0,tn=!1;try{hr=xt.then}catch(x){tn=!0,Ir=x}if(hr===rt&&xt._state!==ae)this._settledAt(xt._state,ht,xt._result);else if(typeof hr!="function")this._remaining--,this._result[ht]=xt;else if(tr===Ut){var Pr=new tr(B);tn?Fe(Pr,Ir):dt(Pr,xt,hr),this._willSettleAt(Pr,ht)}else this._willSettleAt(new tr(function(x){return x(xt)}),ht)}else this._willSettleAt(mr(xt),ht)},at.prototype._settledAt=function(xt,ht,tr){var mr=this.promise;mr._state===ae&&(this._remaining--,xt===A?Fe(mr,tr):this._result[ht]=tr),this._remaining===0&&At(mr,this._result)},at.prototype._willSettleAt=function(xt,ht){var tr=this;Re(xt,void 0,function(mr){return tr._settledAt(W,ht,mr)},function(mr){return tr._settledAt(A,ht,mr)})},at}();function Ne(at){return new xe(this,at).promise}function Ye(at){var yt=this;return k(at)?new yt(function(xt,ht){for(var tr=at.length,mr=0;mr<tr;mr++)yt.resolve(at[mr]).then(xt,ht)}):new yt(function(xt,ht){return ht(new TypeError("You must pass an array to race."))})}function pt(at){var yt=this,xt=new yt(B);return Fe(xt,at),xt}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[le]=fe(),this._result=this._state=void 0,this._subscribers=[],B!==yt&&(typeof yt!="function"&&$t(),this instanceof at?ve(this,yt):Xt())}return at.prototype.catch=function(xt){return this.then(null,xt)},at.prototype.finally=function(xt){var ht=this,tr=ht.constructor;return c(xt)?ht.then(function(mr){return tr.resolve(xt()).then(function(){return mr})},function(mr){return tr.resolve(xt()).then(function(){throw mr})}):ht.then(xt,xt)},at}();Ut.prototype.then=rt,Ut.all=Ne,Ut.race=Ye,Ut.resolve=ue,Ut.reject=pt,Ut._setScheduler=D,Ut._setAsap=w,Ut._asap=O;function Dt(){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(ht){throw new Error("polyfill failed because global object is unavailable in this environment")}var yt=at.Promise;if(yt){var xt=null;try{xt=Object.prototype.toString.call(yt.resolve())}catch(ht){}if(xt==="[object Promise]"&&!yt.cast)return}at.Promise=Ut}return Ut.polyfill=Dt,Ut.Promise=Ut,Ut})},html2canvas:function(y){"use strict";y.exports=L},jspdf:function(y){"use strict";y.exports=Xe}},Y={};function Q(y){var U=Y[y];if(U!==void 0)return U.exports;var c=Y[y]={exports:{}};return ze[y].call(c.exports,c,c.exports,Q),c.exports}(function(){Q.n=function(y){var U=y&&y.__esModule?function(){return y.default}:function(){return y};return Q.d(U,{a:U}),U}})(),function(){Q.d=function(y,U){for(var c in U)Q.o(U,c)&&!Q.o(y,c)&&Object.defineProperty(y,c,{enumerable:!0,get:U[c]})}}(),function(){Q.o=function(y,U){return Object.prototype.hasOwnProperty.call(y,U)}}(),function(){Q.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}}();var _={};return function(){"use strict";Q.r(_);var y=Q("./src/worker.js"),U=Q("./src/plugin/jspdf-plugin.js"),c=Q("./src/plugin/pagebreaks.js"),T=Q("./src/plugin/hyperlinks.js"),k=function V(z,K){var O=new V.Worker(K);return z?O.from(z).save():O};k.Worker=y.default,_.default=k}(),_=_.default,_}()})},28685:function(qr,_t,n){"use strict";n.r(_t),n.d(_t,{AcroForm:function(){return Be},AcroFormAppearance:function(){return wt},AcroFormButton:function(){return mr},AcroFormCheckBox:function(){return Pr},AcroFormChoiceField:function(){return yt},AcroFormComboBox:function(){return ht},AcroFormEditBox:function(){return tr},AcroFormListBox:function(){return xt},AcroFormPasswordField:function(){return F},AcroFormPushButton:function(){return hr},AcroFormRadioButton:function(){return Ir},AcroFormTextField:function(){return x},GState:function(){return ue},ShadingPattern:function(){return B},TilingPattern:function(){return ae},default:function(){return W},jsPDF:function(){return W}});var o=n(76190),Xe=n(6330),L=n(42978),ze=n(6341);var Y=function(){return typeof window!="undefined"?window:typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:this}();function Q(){Y.console&&typeof Y.console.log=="function"&&Y.console.log.apply(Y.console,arguments)}var _={log:Q,warn:function(f){Y.console&&(typeof Y.console.warn=="function"?Y.console.warn.apply(Y.console,arguments):Q.call(null,arguments))},error:function(f){Y.console&&(typeof Y.console.error=="function"?Y.console.error.apply(Y.console,arguments):Q(f))}};function y(f,s,p){var b=new XMLHttpRequest;b.open("GET",f),b.responseType="blob",b.onload=function(){T(b.response,s,p)},b.onerror=function(){_.error("could not download file")},b.send()}function U(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 T=Y.saveAs||((typeof window=="undefined"?"undefined":(0,o.Z)(window))!=="object"||window!==Y?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(f,s,p){var b=Y.URL||Y.webkitURL,P=document.createElement("a");s=s||f.name||"download",P.download=s,P.rel="noopener",typeof f=="string"?(P.href=f,P.origin!==location.origin?U(P.href)?y(f,s,p):c(P,P.target="_blank"):c(P)):(P.href=b.createObjectURL(f),setTimeout(function(){b.revokeObjectURL(P.href)},4e4),setTimeout(function(){c(P)},0))}:"msSaveOrOpenBlob"in navigator?function(f,s,p){if(s=s||f.name||"download",typeof f=="string")if(U(f))y(f,s,p);else{var b=document.createElement("a");b.href=f,b.target="_blank",setTimeout(function(){c(b)})}else navigator.msSaveOrOpenBlob(function(P,d){return d===void 0?d={autoBom:!1}:(0,o.Z)(d)!=="object"&&(_.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(P.type)?new Blob(["\uFEFF",P],{type:P.type}):P}(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 y(f,s,p);var P=f.type==="application/octet-stream",d=/constructor/i.test(Y.HTMLElement)||Y.safari,ne=/CriOS\/[\d]+/.test(navigator.userAgent);if((ne||P&&d)&&(typeof FileReader=="undefined"?"undefined":(0,o.Z)(FileReader))==="object"){var Z=new FileReader;Z.onloadend=function(){var ot=Z.result;ot=ne?ot:ot.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=ot:location=ot,b=null},Z.readAsDataURL(f)}else{var ee=Y.URL||Y.webkitURL,Ie=ee.createObjectURL(f);b?b.location=Ie:location.href=Ie,b=null,setTimeout(function(){ee.revokeObjectURL(Ie)},4e4)}});function k(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(Z){return[parseInt(Z[1]),parseInt(Z[2]),parseInt(Z[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Z){return[parseInt(Z[1],16),parseInt(Z[2],16),parseInt(Z[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Z){return[parseInt(Z[1]+Z[1],16),parseInt(Z[2]+Z[2],16),parseInt(Z[3]+Z[3],16)]}}],b=0;b<p.length;b++){var P=p[b].re,d=p[b].process,ne=P.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 Z=this.r.toString(16),ee=this.g.toString(16),Ie=this.b.toString(16);return Z.length==1&&(Z="0"+Z),ee.length==1&&(ee="0"+ee),Ie.length==1&&(Ie="0"+Ie),"#"+Z+ee+Ie}}var V=Y.atob.bind(Y),z=Y.btoa.bind(Y);function K(f,s){var p=f[0],b=f[1],P=f[2],d=f[3];p=D(p,b,P,d,s[0],7,-680876936),d=D(d,p,b,P,s[1],12,-389564586),P=D(P,d,p,b,s[2],17,606105819),b=D(b,P,d,p,s[3],22,-1044525330),p=D(p,b,P,d,s[4],7,-176418897),d=D(d,p,b,P,s[5],12,1200080426),P=D(P,d,p,b,s[6],17,-1473231341),b=D(b,P,d,p,s[7],22,-45705983),p=D(p,b,P,d,s[8],7,1770035416),d=D(d,p,b,P,s[9],12,-1958414417),P=D(P,d,p,b,s[10],17,-42063),b=D(b,P,d,p,s[11],22,-1990404162),p=D(p,b,P,d,s[12],7,1804603682),d=D(d,p,b,P,s[13],12,-40341101),P=D(P,d,p,b,s[14],17,-1502002290),p=w(p,b=D(b,P,d,p,s[15],22,1236535329),P,d,s[1],5,-165796510),d=w(d,p,b,P,s[6],9,-1069501632),P=w(P,d,p,b,s[11],14,643717713),b=w(b,P,d,p,s[0],20,-373897302),p=w(p,b,P,d,s[5],5,-701558691),d=w(d,p,b,P,s[10],9,38016083),P=w(P,d,p,b,s[15],14,-660478335),b=w(b,P,d,p,s[4],20,-405537848),p=w(p,b,P,d,s[9],5,568446438),d=w(d,p,b,P,s[14],9,-1019803690),P=w(P,d,p,b,s[3],14,-187363961),b=w(b,P,d,p,s[8],20,1163531501),p=w(p,b,P,d,s[13],5,-1444681467),d=w(d,p,b,P,s[2],9,-51403784),P=w(P,d,p,b,s[7],14,1735328473),p=E(p,b=w(b,P,d,p,s[12],20,-1926607734),P,d,s[5],4,-378558),d=E(d,p,b,P,s[8],11,-2022574463),P=E(P,d,p,b,s[11],16,1839030562),b=E(b,P,d,p,s[14],23,-35309556),p=E(p,b,P,d,s[1],4,-1530992060),d=E(d,p,b,P,s[4],11,1272893353),P=E(P,d,p,b,s[7],16,-155497632),b=E(b,P,d,p,s[10],23,-1094730640),p=E(p,b,P,d,s[13],4,681279174),d=E(d,p,b,P,s[0],11,-358537222),P=E(P,d,p,b,s[3],16,-722521979),b=E(b,P,d,p,s[6],23,76029189),p=E(p,b,P,d,s[9],4,-640364487),d=E(d,p,b,P,s[12],11,-421815835),P=E(P,d,p,b,s[15],16,530742520),p=ie(p,b=E(b,P,d,p,s[2],23,-995338651),P,d,s[0],6,-198630844),d=ie(d,p,b,P,s[7],10,1126891415),P=ie(P,d,p,b,s[14],15,-1416354905),b=ie(b,P,d,p,s[5],21,-57434055),p=ie(p,b,P,d,s[12],6,1700485571),d=ie(d,p,b,P,s[3],10,-1894986606),P=ie(P,d,p,b,s[10],15,-1051523),b=ie(b,P,d,p,s[1],21,-2054922799),p=ie(p,b,P,d,s[8],6,1873313359),d=ie(d,p,b,P,s[15],10,-30611744),P=ie(P,d,p,b,s[6],15,-1560198380),b=ie(b,P,d,p,s[13],21,1309151649),p=ie(p,b,P,d,s[4],6,-145523070),d=ie(d,p,b,P,s[11],10,-1120210379),P=ie(P,d,p,b,s[2],15,718787259),b=ie(b,P,d,p,s[9],21,-343485551),f[0]=be(p,f[0]),f[1]=be(b,f[1]),f[2]=be(P,f[2]),f[3]=be(d,f[3])}function O(f,s,p,b,P,d){return s=be(be(s,f),be(b,d)),be(s<<P|s>>>32-P,p)}function D(f,s,p,b,P,d,ne){return O(s&p|~s&b,f,s,P,d,ne)}function w(f,s,p,b,P,d,ne){return O(s&b|p&~b,f,s,P,d,ne)}function E(f,s,p,b,P,d,ne){return O(s^p^b,f,s,P,d,ne)}function ie(f,s,p,b,P,d,ne){return O(p^(s|~b),f,s,P,d,ne)}function X(f){var s,p=f.length,b=[1732584193,-271733879,-1732584194,271733878];for(s=64;s<=f.length;s+=64)K(b,q(f.substring(s-64,s)));f=f.substring(s-64);var P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s<f.length;s++)P[s>>2]|=f.charCodeAt(s)<<(s%4<<3);if(P[s>>2]|=128<<(s%4<<3),s>55)for(K(b,P),s=0;s<16;s++)P[s]=0;return P[14]=8*p,K(b,P),b}function q(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 He(f){return X(f).map(et).join("")}var Ce=function(f){for(var s=0;s<f.length;s++)f[s]=Pe(f[s]);return f.join("")}(X("hello"))!="5d41402abc4b2a76b9719d911017c592";function be(f,s){if(Ce){var p=(65535&f)+(65535&s);return(f>>16)+(s>>16)+(p>>16)<<16|65535&p}return f+s&4294967295}function J(f,s){var p,b,P,d;if(f!==p){for(var ne=(P=f,d=1+(256/f.length|0),new Array(d+1).join(P)),Z=[],ee=0;ee<256;ee++)Z[ee]=ee;var Ie=0;for(ee=0;ee<256;ee++){var ot=Z[ee];Ie=(Ie+ot+ne.charCodeAt(ee))%256,Z[ee]=Z[Ie],Z[Ie]=ot}p=f,b=Z}else Z=b;var Pt=s.length,Et=0,ge=0,nt="";for(ee=0;ee<Pt;ee++)ge=(ge+(ot=Z[Et=(Et+1)%256]))%256,Z[Et]=Z[ge],Z[ge]=ot,ne=Z[(Z[Et]+Z[ge])%256],nt+=String.fromCharCode(s.charCodeAt(ee)^ne);return nt}var we={print:4,modify:8,copy:16,"annot-forms":32};function M(f,s,p,b){this.v=1,this.r=2;var P=192;f.forEach(function(Z){if(we.perm!==void 0)throw new Error("Invalid permission: "+Z);P+=we[Z]}),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^P)),this.encryptionKey=He(d+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(b)).substr(0,5),this.U=J(this.encryptionKey,this.padding)}function I(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 P=f.charCodeAt(b);s+=P<33||P===35||P===37||P===40||P===41||P===47||P===60||P===62||P===91||P===93||P===123||P===125||P>126?"#"+("0"+P.toString(16)).slice(-2):f[b]}return s}function rt(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,P){if(P=P||!1,typeof p!="string"||typeof b!="function"||typeof P!="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,!!P],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),P=[];for(var d in s[p]){var ne=s[p][d];try{ne[0].apply(f,b)}catch(Z){Y.console&&_.error("jsPDF PubSub Error",Z.message,Z)}ne[1]&&P.push(d)}P.length&&P.forEach(this.unsubscribe)}},this.getTopics=function(){return s}}function ue(f){if(!(this instanceof ue))return new ue(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 le(f,s){this.gState=f,this.matrix=s,this.id="",this.objectNumber=-1}function B(f,s,p,b,P){if(!(this instanceof B))return new B(f,s,p,b,P);this.type=f==="axial"?2:3,this.coords=s,this.colors=p,le.call(this,b,P)}function ae(f,s,p,b,P){if(!(this instanceof ae))return new ae(f,s,p,b,P);this.boundingBox=f,this.xStep=s,this.yStep=p,this.stream="",this.cloneIndex=0,le.call(this,b,P)}function W(f){var s,p=typeof arguments[0]=="string"?arguments[0]:"p",b=arguments[1],P=arguments[2],d=arguments[3],ne=[],Z=1,ee=16,Ie="S",ot=null;(0,o.Z)(f=f||{})==="object"&&(p=f.orientation,b=f.unit||b,P=f.format||P,d=f.compress||f.compressPdf||d,(ot=f.encryption||null)!==null&&(ot.userPassword=ot.userPassword||"",ot.ownerPassword=ot.ownerPassword||"",ot.userPermissions=ot.userPermissions||[]),Z=typeof f.userUnit=="number"?Math.abs(f.userUnit):1,f.precision!==void 0&&(s=f.precision),f.floatPrecision!==void 0&&(ee=f.floatPrecision),Ie=f.defaultPathOperation||"S"),ne=f.filters||(d===!0?["FlateEncode"]:ne),b=b||"mm",p=(""+(p||"P")).toLowerCase();var Pt=f.putOnlyUsedFonts||!1,Et={},ge={internal:{},__private__:{}};ge.__private__.PubSub=rt;var nt="1.3",gt=ge.__private__.getPdfVersion=function(){return nt};ge.__private__.setPdfVersion=function(j){nt=j};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]};ge.__private__.getPageFormats=function(){return Kt};var ct=ge.__private__.getPageFormat=function(j){return Kt[j]};P=P||"a4";var cr="compat",Cr="advanced",Qt=cr;function tt(){this.saveGraphicsState(),Nt(new la(ea,0,0,-ea,0,ts()*ea).toString()+" cm"),this.setFontSize(this.getFontSize()/ea),Ie="n",Qt=Cr}function Se(){this.restoreGraphicsState(),Ie="S",Qt=cr}var kt=ge.__private__.combineFontStyleAndFontWeight=function(j,$e){if(j=="bold"&&$e=="normal"||j=="bold"&&$e==400||j=="normal"&&$e=="italic"||j=="bold"&&$e=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return $e&&(j=$e==400||$e==="normal"?j==="italic"?"italic":"normal":$e!=700&&$e!=="bold"||j!=="normal"?($e==700?"bold":$e)+""+j:"bold"),j};ge.advancedAPI=function(j){var $e=Qt===cr;return $e&&tt.call(this),typeof j!="function"||(j(this),$e&&Se.call(this)),this},ge.compatAPI=function(j){var $e=Qt===Cr;return $e&&Se.call(this),typeof j!="function"||(j(this),$e&&tt.call(this)),this},ge.isAdvancedAPI=function(){return Qt===Cr};var Ft,Ct=function(j){if(Qt!==Cr)throw new Error(j+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Jt=ge.roundToPrecision=ge.__private__.roundToPrecision=function(j,$e){var Tt=s||$e;if(isNaN(j)||isNaN(Tt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return j.toFixed(Tt).replace(/0+$/,"")};Ft=ge.hpf=ge.__private__.hpf=typeof ee=="number"?function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(j,ee)}:ee==="smart"?function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(j,j>-1&&j<1?16:5)}:function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(j,16)};var ke=ge.f2=ge.__private__.f2=function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.f2");return Jt(j,2)},Te=ge.__private__.f3=function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.f3");return Jt(j,3)},lt=ge.scale=ge.__private__.scale=function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.scale");return Qt===cr?j*ea:Qt===Cr?j:void 0},Ot=function(j){return lt(function($e){return Qt===cr?ts()-$e:Qt===Cr?$e:void 0}(j))};ge.__private__.setPrecision=ge.setPrecision=function(j){typeof parseInt(j,10)=="number"&&(s=parseInt(j,10))};var dr,vr="00000000000000000000000000000000",Zt=ge.__private__.getFileId=function(){return vr},Mt=ge.__private__.setFileId=function(j){return vr=j!==void 0&&/^[a-fA-F0-9]{32}$/.test(j)?j.toUpperCase():vr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),ot!==null&&(Xa=new M(ot.userPermissions,ot.userPassword,ot.ownerPassword,vr)),vr};ge.setFileId=function(j){return Mt(j),this},ge.getFileId=function(){return Zt()};var ur=ge.__private__.convertDateToPDFDate=function(j){var $e=j.getTimezoneOffset(),Tt=$e<0?"+":"-",er=Math.floor(Math.abs($e/60)),wr=Math.abs($e%60),_r=[Tt,jt(er),"'",jt(wr),"'"].join("");return["D:",j.getFullYear(),jt(j.getMonth()+1),jt(j.getDate()),jt(j.getHours()),jt(j.getMinutes()),jt(j.getSeconds()),_r].join("")},Yt=ge.__private__.convertPDFDateToDate=function(j){var $e=parseInt(j.substr(2,4),10),Tt=parseInt(j.substr(6,2),10)-1,er=parseInt(j.substr(8,2),10),wr=parseInt(j.substr(10,2),10),_r=parseInt(j.substr(12,2),10),cn=parseInt(j.substr(14,2),10);return new Date($e,Tt,er,wr,_r,cn,0)},xr=ge.__private__.setCreationDate=function(j){var $e;if(j===void 0&&(j=new Date),j instanceof Date)$e=ur(j);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(j))throw new Error("Invalid argument passed to jsPDF.setCreationDate");$e=j}return dr=$e},je=ge.__private__.getCreationDate=function(j){var $e=dr;return j==="jsDate"&&($e=Yt(dr)),$e};ge.setCreationDate=function(j){return xr(j),this},ge.getCreationDate=function(j){return je(j)};var vt,jt=ge.__private__.padd2=function(j){return("0"+parseInt(j)).slice(-2)},it=ge.__private__.padd2Hex=function(j){return("00"+(j=j.toString())).substr(j.length)},qt=0,nr=[],Or=[],Ar=0,Rr=[],Hr=[],ln=!1,yn=Or;ge.__private__.setCustomOutputDestination=function(j){ln=!0,yn=j};var Lr=function(j){ln||(yn=j)};ge.__private__.resetCustomOutputDestination=function(){ln=!1,yn=Or};var Nt=ge.__private__.out=function(j){return j=j.toString(),Ar+=j.length+1,yn.push(j),yn},ba=ge.__private__.write=function(j){return Nt(arguments.length===1?j.toString():Array.prototype.join.call(arguments," "))},da=ge.__private__.getArrayBuffer=function(j){for(var $e=j.length,Tt=new ArrayBuffer($e),er=new Uint8Array(Tt);$e--;)er[$e]=j.charCodeAt($e);return Tt},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]];ge.__private__.getStandardFonts=function(){return Wn};var Jr=f.fontSize||16;ge.__private__.setFontSize=ge.setFontSize=function(j){return Jr=Qt===Cr?j/ea:j,this};var Vr,En=ge.__private__.getFontSize=ge.getFontSize=function(){return Qt===cr?Jr:Jr*ea},oa=f.R2L||!1;ge.__private__.setR2L=ge.setR2L=function(j){return oa=j,this},ge.__private__.getR2L=ge.getR2L=function(){return oa};var _n,xa=ge.__private__.setZoomMode=function(j){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(j))Vr=j;else if(isNaN(j)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(j)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+j+'" is not recognized.');Vr=j}else Vr=parseInt(j,10)};ge.__private__.getZoomMode=function(){return Vr};var qn,Qn=ge.__private__.setPageMode=function(j){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(j)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+j+'" is not recognized.');_n=j};ge.__private__.getPageMode=function(){return _n};var ka=ge.__private__.setLayoutMode=function(j){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(j)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+j+'" is not recognized.');qn=j};ge.__private__.getLayoutMode=function(){return qn},ge.__private__.setDisplayMode=ge.setDisplayMode=function(j,$e,Tt){return xa(j),ka($e),Qn(Tt),this};var ra={title:"",subject:"",author:"",keywords:"",creator:""};ge.__private__.getDocumentProperty=function(j){if(Object.keys(ra).indexOf(j)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ra[j]},ge.__private__.getDocumentProperties=function(){return ra},ge.__private__.setDocumentProperties=ge.setProperties=ge.setDocumentProperties=function(j){for(var $e in ra)ra.hasOwnProperty($e)&&j[$e]&&(ra[$e]=j[$e]);return this},ge.__private__.setDocumentProperty=function(j,$e){if(Object.keys(ra).indexOf(j)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ra[j]=$e};var Hn,ea,Un,Ln,Xn,rn={},fn={},sa=[],xn={},ha={},Vn={},Ha={},qa=null,vn=0,Pn=[],fa=new rt(ge),Ja=f.hotfixes||[],Ga={},io={},so=[],la=function j($e,Tt,er,wr,_r,cn){if(!(this instanceof j))return new j($e,Tt,er,wr,_r,cn);isNaN($e)&&($e=1),isNaN(Tt)&&(Tt=0),isNaN(er)&&(er=0),isNaN(wr)&&(wr=1),isNaN(_r)&&(_r=0),isNaN(cn)&&(cn=0),this._matrix=[$e,Tt,er,wr,_r,cn]};Object.defineProperty(la.prototype,"sx",{get:function(){return this._matrix[0]},set:function(j){this._matrix[0]=j}}),Object.defineProperty(la.prototype,"shy",{get:function(){return this._matrix[1]},set:function(j){this._matrix[1]=j}}),Object.defineProperty(la.prototype,"shx",{get:function(){return this._matrix[2]},set:function(j){this._matrix[2]=j}}),Object.defineProperty(la.prototype,"sy",{get:function(){return this._matrix[3]},set:function(j){this._matrix[3]=j}}),Object.defineProperty(la.prototype,"tx",{get:function(){return this._matrix[4]},set:function(j){this._matrix[4]=j}}),Object.defineProperty(la.prototype,"ty",{get:function(){return this._matrix[5]},set:function(j){this._matrix[5]=j}}),Object.defineProperty(la.prototype,"a",{get:function(){return this._matrix[0]},set:function(j){this._matrix[0]=j}}),Object.defineProperty(la.prototype,"b",{get:function(){return this._matrix[1]},set:function(j){this._matrix[1]=j}}),Object.defineProperty(la.prototype,"c",{get:function(){return this._matrix[2]},set:function(j){this._matrix[2]=j}}),Object.defineProperty(la.prototype,"d",{get:function(){return this._matrix[3]},set:function(j){this._matrix[3]=j}}),Object.defineProperty(la.prototype,"e",{get:function(){return this._matrix[4]},set:function(j){this._matrix[4]=j}}),Object.defineProperty(la.prototype,"f",{get:function(){return this._matrix[5]},set:function(j){this._matrix[5]=j}}),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(j){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Ft).join(j)},la.prototype.multiply=function(j){var $e=j.sx*this.sx+j.shy*this.shx,Tt=j.sx*this.shy+j.shy*this.sy,er=j.shx*this.sx+j.sy*this.shx,wr=j.shx*this.shy+j.sy*this.sy,_r=j.tx*this.sx+j.ty*this.shx+this.tx,cn=j.tx*this.shy+j.ty*this.sy+this.ty;return new la($e,Tt,er,wr,_r,cn)},la.prototype.decompose=function(){var j=this.sx,$e=this.shy,Tt=this.shx,er=this.sy,wr=this.tx,_r=this.ty,cn=Math.sqrt(j*j+$e*$e),ta=(j/=cn)*Tt+($e/=cn)*er;Tt-=j*ta,er-=$e*ta;var te=Math.sqrt(Tt*Tt+er*er);return ta/=te,j*(er/=te)<$e*(Tt/=te)&&(j=-j,$e=-$e,ta=-ta,cn=-cn),{scale:new la(cn,0,0,te,0,0),translate:new la(1,0,0,1,wr,_r),rotate:new la(j,$e,-$e,j,0,0),skew:new la(1,0,ta,1,0,0)}},la.prototype.toString=function(j){return this.join(" ")},la.prototype.inversed=function(){var j=this.sx,$e=this.shy,Tt=this.shx,er=this.sy,wr=this.tx,_r=this.ty,cn=1/(j*er-$e*Tt),ta=er*cn,te=-$e*cn,r=-Tt*cn,a=j*cn;return new la(ta,te,r,a,-ta*wr-r*_r,-te*wr-a*_r)},la.prototype.applyToPoint=function(j){var $e=j.x*this.sx+j.y*this.shx+this.tx,Tt=j.x*this.shy+j.y*this.sy+this.ty;return new Zo($e,Tt)},la.prototype.applyToRectangle=function(j){var $e=this.applyToPoint(j),Tt=this.applyToPoint(new Zo(j.x+j.w,j.y+j.h));return new Ui($e.x,$e.y,Tt.x-$e.x,Tt.y-$e.y)},la.prototype.clone=function(){var j=this.sx,$e=this.shy,Tt=this.shx,er=this.sy,wr=this.tx,_r=this.ty;return new la(j,$e,Tt,er,wr,_r)},ge.Matrix=la;var Io=ge.matrixMult=function(j,$e){return $e.multiply(j)},Aa=new la(1,0,0,1,0,0);ge.unitMatrix=ge.identityMatrix=Aa;var ja=function(j,$e){if(!ha[j]){var Tt=($e instanceof B?"Sh":"P")+(Object.keys(xn).length+1).toString(10);$e.id=Tt,ha[j]=Tt,xn[Tt]=$e,fa.publish("addPattern",$e)}};ge.ShadingPattern=B,ge.TilingPattern=ae,ge.addShadingPattern=function(j,$e){return Ct("addShadingPattern()"),ja(j,$e),this},ge.beginTilingPattern=function(j){Ct("beginTilingPattern()"),ds(j.boundingBox[0],j.boundingBox[1],j.boundingBox[2]-j.boundingBox[0],j.boundingBox[3]-j.boundingBox[1],j.matrix)},ge.endTilingPattern=function(j,$e){Ct("endTilingPattern()"),$e.stream=Hr[vt].join(`
|
|
|
`),ja(j,$e),fa.publish("endTilingPattern",$e),so.pop().restore()};var Ta,Na=ge.__private__.newObject=function(){var j=Ba();return ma(j,!0),j},Ba=ge.__private__.newObjectDeferred=function(){return qt++,nr[qt]=function(){return Ar},qt},ma=function(j,$e){return $e=typeof $e=="boolean"&&$e,nr[j]=Ar,$e&&Nt(j+" 0 obj"),j},Ka=ge.__private__.newAdditionalObject=function(){var j={objId:Ba(),content:""};return Rr.push(j),j},La=Ba(),Qa=Ba(),eo=ge.__private__.decodeColorString=function(j){var $e=j.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 Tt=parseFloat($e[0]);$e=[Tt,Tt,Tt,"r"]}for(var er="#",wr=0;wr<3;wr++)er+=("0"+Math.floor(255*parseFloat($e[wr])).toString(16)).slice(-2);return er},lo=ge.__private__.encodeColorString=function(j){var $e;typeof j=="string"&&(j={ch1:j});var Tt=j.ch1,er=j.ch2,wr=j.ch3,_r=j.ch4,cn=j.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Tt=="string"&&Tt.charAt(0)!=="#"){var ta=new k(Tt);if(ta.ok)Tt=ta.toHex();else if(!/^\d*\.?\d*$/.test(Tt))throw new Error('Invalid color "'+Tt+'" passed to jsPDF.encodeColorString.')}if(typeof Tt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Tt)&&(Tt="#"+Tt[1]+Tt[1]+Tt[2]+Tt[2]+Tt[3]+Tt[3]),typeof Tt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Tt)){var te=parseInt(Tt.substr(1),16);Tt=te>>16&255,er=te>>8&255,wr=255&te}if(er===void 0||_r===void 0&&Tt===er&&er===wr)$e=typeof Tt=="string"?Tt+" "+cn[0]:j.precision===2?ke(Tt/255)+" "+cn[0]:Te(Tt/255)+" "+cn[0];else if(_r===void 0||(0,o.Z)(_r)==="object"){if(_r&&!isNaN(_r.a)&&_r.a===0)return["1.","1.","1.",cn[1]].join(" ");$e=typeof Tt=="string"?[Tt,er,wr,cn[1]].join(" "):j.precision===2?[ke(Tt/255),ke(er/255),ke(wr/255),cn[1]].join(" "):[Te(Tt/255),Te(er/255),Te(wr/255),cn[1]].join(" ")}else $e=typeof Tt=="string"?[Tt,er,wr,_r,cn[2]].join(" "):j.precision===2?[ke(Tt),ke(er),ke(wr),ke(_r),cn[2]].join(" "):[Te(Tt),Te(er),Te(wr),Te(_r),cn[2]].join(" ");return $e},Ao=ge.__private__.getFilters=function(){return ne},Co=ge.__private__.putStream=function(j){var $e=(j=j||{}).data||"",Tt=j.filters||Ao(),er=j.alreadyAppliedFilters||[],wr=j.addLength1||!1,_r=$e.length,cn=j.objectId,ta=function(De){return De};if(ot!==null&&cn===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");ot!==null&&(ta=Xa.encryptor(cn,0));var te={};Tt===!0&&(Tt=["FlateEncode"]);var r=j.additionalKeyValues||[],a=(te=W.API.processDataByFilters!==void 0?W.API.processDataByFilters($e,Tt):{data:$e,reverseChain:[]}).reverseChain+(Array.isArray(er)?er.join(" "):er.toString());if(te.data.length!==0&&(r.push({key:"Length",value:te.data.length}),wr===!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=[],R=0;R<te.reverseChain.split("/").length-1;R+=1)g.push("null");g.push(r[l].value),r[l].value="["+g.join(" ")+"]"}}Nt("<<");for(var se=0;se<r.length;se++)Nt("/"+r[se].key+" "+r[se].value);Nt(">>"),te.data.length!==0&&(Nt("stream"),Nt(ta(te.data)),Nt("endstream"))},Ra=ge.__private__.putPage=function(j){var $e=j.number,Tt=j.data,er=j.objId,wr=j.contentsObjId;ma(er,!0),Nt("<</Type /Page"),Nt("/Parent "+j.rootDictionaryObjId+" 0 R"),Nt("/Resources "+j.resourceDictionaryObjId+" 0 R"),Nt("/MediaBox ["+parseFloat(Ft(j.mediaBox.bottomLeftX))+" "+parseFloat(Ft(j.mediaBox.bottomLeftY))+" "+Ft(j.mediaBox.topRightX)+" "+Ft(j.mediaBox.topRightY)+"]"),j.cropBox!==null&&Nt("/CropBox ["+Ft(j.cropBox.bottomLeftX)+" "+Ft(j.cropBox.bottomLeftY)+" "+Ft(j.cropBox.topRightX)+" "+Ft(j.cropBox.topRightY)+"]"),j.bleedBox!==null&&Nt("/BleedBox ["+Ft(j.bleedBox.bottomLeftX)+" "+Ft(j.bleedBox.bottomLeftY)+" "+Ft(j.bleedBox.topRightX)+" "+Ft(j.bleedBox.topRightY)+"]"),j.trimBox!==null&&Nt("/TrimBox ["+Ft(j.trimBox.bottomLeftX)+" "+Ft(j.trimBox.bottomLeftY)+" "+Ft(j.trimBox.topRightX)+" "+Ft(j.trimBox.topRightY)+"]"),j.artBox!==null&&Nt("/ArtBox ["+Ft(j.artBox.bottomLeftX)+" "+Ft(j.artBox.bottomLeftY)+" "+Ft(j.artBox.topRightX)+" "+Ft(j.artBox.topRightY)+"]"),typeof j.userUnit=="number"&&j.userUnit!==1&&Nt("/UserUnit "+j.userUnit),fa.publish("putPage",{objId:er,pageContext:Pn[$e],pageNumber:$e,page:Tt}),Nt("/Contents "+wr+" 0 R"),Nt(">>"),Nt("endobj");var _r=Tt.join(`
|
|
|
`);return Qt===Cr&&(_r+=`
|
|
|
Q`),ma(wr,!0),Co({data:_r,filters:Ao(),objectId:wr}),Nt("endobj"),er},Uo=ge.__private__.putPages=function(){var j,$e,Tt=[];for(j=1;j<=vn;j++)Pn[j].objId=Ba(),Pn[j].contentsObjId=Ba();for(j=1;j<=vn;j++)Tt.push(Ra({number:j,data:Hr[j],objId:Pn[j].objId,contentsObjId:Pn[j].contentsObjId,mediaBox:Pn[j].mediaBox,cropBox:Pn[j].cropBox,bleedBox:Pn[j].bleedBox,trimBox:Pn[j].trimBox,artBox:Pn[j].artBox,userUnit:Pn[j].userUnit,rootDictionaryObjId:La,resourceDictionaryObjId:Qa}));ma(La,!0),Nt("<</Type /Pages");var er="/Kids [";for($e=0;$e<vn;$e++)er+=Tt[$e]+" 0 R ";Nt(er+"]"),Nt("/Count "+vn),Nt(">>"),Nt("endobj"),fa.publish("postPutPages")},ho=function(j){fa.publish("putFont",{font:j,out:Nt,newObject:Na,putStream:Co}),j.isAlreadyPutted!==!0&&(j.objectNumber=Na(),Nt("<<"),Nt("/Type /Font"),Nt("/BaseFont /"+I(j.postScriptName)),Nt("/Subtype /Type1"),typeof j.encoding=="string"&&Nt("/Encoding /"+j.encoding),Nt("/FirstChar 32"),Nt("/LastChar 255"),Nt(">>"),Nt("endobj"))},No=function(j){j.objectNumber=Na();var $e=[];$e.push({key:"Type",value:"/XObject"}),$e.push({key:"Subtype",value:"/Form"}),$e.push({key:"BBox",value:"["+[Ft(j.x),Ft(j.y),Ft(j.x+j.width),Ft(j.y+j.height)].join(" ")+"]"}),$e.push({key:"Matrix",value:"["+j.matrix.toString()+"]"});var Tt=j.pages[1].join(`
|
|
|
`);Co({data:Tt,additionalKeyValues:$e,objectId:j.objectNumber}),Nt("endobj")},xo=function(j,$e){$e||($e=21);var Tt=Na(),er=function(cn,ta){var te,r=[],a=1/(ta-1);for(te=0;te<1;te+=a)r.push(te);if(r.push(1),cn[0].offset!=0){var l={offset:0,color:cn[0].color};cn.unshift(l)}if(cn[cn.length-1].offset!=1){var g={offset:1,color:cn[cn.length-1].color};cn.push(g)}for(var R="",se=0,De=0;De<r.length;De++){for(te=r[De];te>cn[se+1].offset;)se++;var Je=cn[se].offset,It=(te-Je)/(cn[se+1].offset-Je),ar=cn[se].color,pr=cn[se+1].color;R+=it(Math.round((1-It)*ar[0]+It*pr[0]).toString(16))+it(Math.round((1-It)*ar[1]+It*pr[1]).toString(16))+it(Math.round((1-It)*ar[2]+It*pr[2]).toString(16))}return R.trim()}(j.colors,$e),wr=[];wr.push({key:"FunctionType",value:"0"}),wr.push({key:"Domain",value:"[0.0 1.0]"}),wr.push({key:"Size",value:"["+$e+"]"}),wr.push({key:"BitsPerSample",value:"8"}),wr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),wr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Co({data:er,additionalKeyValues:wr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Tt}),Nt("endobj"),j.objectNumber=Na(),Nt("<< /ShadingType "+j.type),Nt("/ColorSpace /DeviceRGB");var _r="/Coords ["+Ft(parseFloat(j.coords[0]))+" "+Ft(parseFloat(j.coords[1]))+" ";j.type===2?_r+=Ft(parseFloat(j.coords[2]))+" "+Ft(parseFloat(j.coords[3])):_r+=Ft(parseFloat(j.coords[2]))+" "+Ft(parseFloat(j.coords[3]))+" "+Ft(parseFloat(j.coords[4]))+" "+Ft(parseFloat(j.coords[5])),Nt(_r+="]"),j.matrix&&Nt("/Matrix ["+j.matrix.toString()+"]"),Nt("/Function "+Tt+" 0 R"),Nt("/Extend [true true]"),Nt(">>"),Nt("endobj")},ii=function(j,$e){var Tt=Ba(),er=Na();$e.push({resourcesOid:Tt,objectOid:er}),j.objectNumber=er;var wr=[];wr.push({key:"Type",value:"/Pattern"}),wr.push({key:"PatternType",value:"1"}),wr.push({key:"PaintType",value:"1"}),wr.push({key:"TilingType",value:"1"}),wr.push({key:"BBox",value:"["+j.boundingBox.map(Ft).join(" ")+"]"}),wr.push({key:"XStep",value:Ft(j.xStep)}),wr.push({key:"YStep",value:Ft(j.yStep)}),wr.push({key:"Resources",value:Tt+" 0 R"}),j.matrix&&wr.push({key:"Matrix",value:"["+j.matrix.toString()+"]"}),Co({data:j.stream,additionalKeyValues:wr,objectId:j.objectNumber}),Nt("endobj")},Ho=function(j){for(var $e in j.objectNumber=Na(),Nt("<<"),j)switch($e){case"opacity":Nt("/ca "+ke(j[$e]));break;case"stroke-opacity":Nt("/CA "+ke(j[$e]))}Nt(">>"),Nt("endobj")},ei=function(j){ma(j.resourcesOid,!0),Nt("<<"),Nt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var $e in Nt("/Font <<"),rn)rn.hasOwnProperty($e)&&(Pt===!1||Pt===!0&&Et.hasOwnProperty($e))&&Nt("/"+$e+" "+rn[$e].objectNumber+" 0 R");Nt(">>")}(),function(){if(Object.keys(xn).length>0){for(var $e in Nt("/Shading <<"),xn)xn.hasOwnProperty($e)&&xn[$e]instanceof B&&xn[$e].objectNumber>=0&&Nt("/"+$e+" "+xn[$e].objectNumber+" 0 R");fa.publish("putShadingPatternDict"),Nt(">>")}}(),function($e){if(Object.keys(xn).length>0){for(var Tt in Nt("/Pattern <<"),xn)xn.hasOwnProperty(Tt)&&xn[Tt]instanceof ge.TilingPattern&&xn[Tt].objectNumber>=0&&xn[Tt].objectNumber<$e&&Nt("/"+Tt+" "+xn[Tt].objectNumber+" 0 R");fa.publish("putTilingPatternDict"),Nt(">>")}}(j.objectOid),function(){if(Object.keys(Vn).length>0){var $e;for($e in Nt("/ExtGState <<"),Vn)Vn.hasOwnProperty($e)&&Vn[$e].objectNumber>=0&&Nt("/"+$e+" "+Vn[$e].objectNumber+" 0 R");fa.publish("putGStateDict"),Nt(">>")}}(),function(){for(var $e in Nt("/XObject <<"),Ga)Ga.hasOwnProperty($e)&&Ga[$e].objectNumber>=0&&Nt("/"+$e+" "+Ga[$e].objectNumber+" 0 R");fa.publish("putXobjectDict"),Nt(">>")}(),Nt(">>"),Nt("endobj")},zo=function(j){fn[j.fontName]=fn[j.fontName]||{},fn[j.fontName][j.fontStyle]=j.id},gi=function(j,$e,Tt,er,wr){var _r={id:"F"+(Object.keys(rn).length+1).toString(10),postScriptName:j,fontName:$e,fontStyle:Tt,encoding:er,isStandardFont:wr||!1,metadata:{}};return fa.publish("addFont",{font:_r,instance:this}),rn[_r.id]=_r,zo(_r),_r.id},_o=ge.__private__.pdfEscape=ge.pdfEscape=function(j,$e){return function(Tt,er){var wr,_r,cn,ta,te,r,a,l,g;if(cn=(er=er||{}).sourceEncoding||"Unicode",te=er.outputEncoding,(er.autoencode||te)&&rn[Hn].metadata&&rn[Hn].metadata[cn]&&rn[Hn].metadata[cn].encoding&&(ta=rn[Hn].metadata[cn].encoding,!te&&rn[Hn].encoding&&(te=rn[Hn].encoding),!te&&ta.codePages&&(te=ta.codePages[0]),typeof te=="string"&&(te=ta[te]),te)){for(a=!1,r=[],wr=0,_r=Tt.length;wr<_r;wr++)(l=te[Tt.charCodeAt(wr)])?r.push(String.fromCharCode(l)):r.push(Tt[wr]),r[wr].charCodeAt(0)>>8&&(a=!0);Tt=r.join("")}for(wr=Tt.length;a===void 0&&wr!==0;)Tt.charCodeAt(wr-1)>>8&&(a=!0),wr--;if(!a)return Tt;for(r=er.noBOM?[]:[254,255],wr=0,_r=Tt.length;wr<_r;wr++){if((g=(l=Tt.charCodeAt(wr))>>8)>>8)throw new Error("Character at position "+wr+" of string '"+Tt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");r.push(g),r.push(l-(g<<8))}return String.fromCharCode.apply(void 0,r)}(j,$e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},si=ge.__private__.beginPage=function(j){Hr[++vn]=[],Pn[vn]={objId:0,contentsObjId:0,userUnit:Number(Z),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(j[0]),topRightY:Number(j[1])}},vi(vn),Lr(Hr[vt])},zi=function(j,$e){var Tt,er,wr;switch(p=$e||p,typeof j=="string"&&(Tt=ct(j.toLowerCase()),Array.isArray(Tt)&&(er=Tt[0],wr=Tt[1])),Array.isArray(j)&&(er=j[0]*ea,wr=j[1]*ea),isNaN(er)&&(er=P[0],wr=P[1]),(er>14400||wr>14400)&&(_.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),er=Math.min(14400,er),wr=Math.min(14400,wr)),P=[er,wr],p.substr(0,1)){case"l":wr>er&&(P=[wr,er]);break;case"p":er>wr&&(P=[wr,er])}si(P),Os(yi),Nt(qi),cs!==0&&Nt(cs+" J"),us!==0&&Nt(us+" j"),fa.publish("addPage",{pageNumber:vn})},li=function(j){j>0&&j<=vn&&(Hr.splice(j,1),Pn.splice(j,1),vn--,vt>vn&&(vt=vn),this.setPage(vt))},vi=function(j){j>0&&j<=vn&&(vt=j)},Di=ge.__private__.getNumberOfPages=ge.getNumberOfPages=function(){return Hr.length-1},wa=function(j,$e,Tt){var er,wr=void 0;return Tt=Tt||{},j=j!==void 0?j:rn[Hn].fontName,$e=$e!==void 0?$e:rn[Hn].fontStyle,er=j.toLowerCase(),fn[er]!==void 0&&fn[er][$e]!==void 0?wr=fn[er][$e]:fn[j]!==void 0&&fn[j][$e]!==void 0?wr=fn[j][$e]:Tt.disableWarning===!1&&_.warn("Unable to look up font label for font '"+j+"', '"+$e+"'. Refer to getFontList() for available fonts."),wr||Tt.noFallback||(wr=fn.times[$e])==null&&(wr=fn.times.normal),wr},Wa=ge.__private__.putInfo=function(){var j=Na(),$e=function(er){return er};for(var Tt in ot!==null&&($e=Xa.encryptor(j,0)),Nt("<<"),Nt("/Producer ("+_o($e("jsPDF "+W.version))+")"),ra)ra.hasOwnProperty(Tt)&&ra[Tt]&&Nt("/"+Tt.substr(0,1).toUpperCase()+Tt.substr(1)+" ("+_o($e(ra[Tt]))+")");Nt("/CreationDate ("+_o($e(dr))+")"),Nt(">>"),Nt("endobj")},Ke=ge.__private__.putCatalog=function(j){var $e=(j=j||{}).rootDictionaryObjId||La;switch(Na(),Nt("<<"),Nt("/Type /Catalog"),Nt("/Pages "+$e+" 0 R"),Vr||(Vr="fullwidth"),Vr){case"fullwidth":Nt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Nt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Nt("/OpenAction [3 0 R /Fit]");break;case"original":Nt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Tt=""+Vr;Tt.substr(Tt.length-1)==="%"&&(Vr=parseInt(Vr)/100),typeof Vr=="number"&&Nt("/OpenAction [3 0 R /XYZ null null "+ke(Vr)+"]")}switch(qn||(qn="continuous"),qn){case"continuous":Nt("/PageLayout /OneColumn");break;case"single":Nt("/PageLayout /SinglePage");break;case"two":case"twoleft":Nt("/PageLayout /TwoColumnLeft");break;case"tworight":Nt("/PageLayout /TwoColumnRight")}_n&&Nt("/PageMode /"+_n),fa.publish("putCatalog"),Nt(">>"),Nt("endobj")},za=ge.__private__.putTrailer=function(){Nt("trailer"),Nt("<<"),Nt("/Size "+(qt+1)),Nt("/Root "+qt+" 0 R"),Nt("/Info "+(qt-1)+" 0 R"),ot!==null&&Nt("/Encrypt "+Xa.oid+" 0 R"),Nt("/ID [ <"+vr+"> <"+vr+"> ]"),Nt(">>")},$o=ge.__private__.putHeader=function(){Nt("%PDF-"+nt),Nt("%\xBA\xDF\xAC\xE0")},Do=ge.__private__.putXRef=function(){var j="0000000000";Nt("xref"),Nt("0 "+(qt+1)),Nt("0000000000 65535 f ");for(var $e=1;$e<=qt;$e++)typeof nr[$e]=="function"?Nt((j+nr[$e]()).slice(-10)+" 00000 n "):nr[$e]!==void 0?Nt((j+nr[$e]).slice(-10)+" 00000 n "):Nt("0000000000 00000 n ")},co=ge.__private__.buildDocument=function(){var j;qt=0,Ar=0,Or=[],nr=[],Rr=[],La=Ba(),Qa=Ba(),Lr(Or),fa.publish("buildDocument"),$o(),Uo(),function(){fa.publish("putAdditionalObjects");for(var Tt=0;Tt<Rr.length;Tt++){var er=Rr[Tt];ma(er.objId,!0),Nt(er.content),Nt("endobj")}fa.publish("postPutAdditionalObjects")}(),j=[],function(){for(var Tt in rn)rn.hasOwnProperty(Tt)&&(Pt===!1||Pt===!0&&Et.hasOwnProperty(Tt))&&ho(rn[Tt])}(),function(){var Tt;for(Tt in Vn)Vn.hasOwnProperty(Tt)&&Ho(Vn[Tt])}(),function(){for(var Tt in Ga)Ga.hasOwnProperty(Tt)&&No(Ga[Tt])}(),function(Tt){var er;for(er in xn)xn.hasOwnProperty(er)&&(xn[er]instanceof B?xo(xn[er]):xn[er]instanceof ae&&ii(xn[er],Tt))}(j),fa.publish("putResources"),j.forEach(ei),ei({resourcesOid:Qa,objectOid:Number.MAX_SAFE_INTEGER}),fa.publish("postPutResources"),ot!==null&&(Xa.oid=Na(),Nt("<<"),Nt("/Filter /Standard"),Nt("/V "+Xa.v),Nt("/R "+Xa.r),Nt("/U <"+Xa.toHexString(Xa.U)+">"),Nt("/O <"+Xa.toHexString(Xa.O)+">"),Nt("/P "+Xa.P),Nt(">>"),Nt("endobj")),Wa(),Ke();var $e=Ar;return Do(),za(),Nt("startxref"),Nt(""+$e),Nt("%%EOF"),Lr(Hr[vt]),Or.join(`
|
|
|
`)},go=ge.__private__.getBlob=function(j){return new Blob([da(j)],{type:"application/pdf"})},wo=ge.output=ge.__private__.output=(Ta=function(j,$e){switch(typeof($e=$e||{})=="string"?$e={filename:$e}:$e.filename=$e.filename||"generated.pdf",j){case void 0:return co();case"save":ge.save($e.filename);break;case"arraybuffer":return da(co());case"blob":return go(co());case"bloburi":case"bloburl":if(Y.URL!==void 0&&typeof Y.URL.createObjectURL=="function")return Y.URL&&Y.URL.createObjectURL(go(co()))||void 0;_.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Tt="",er=co();try{Tt=z(er)}catch(R){Tt=z(unescape(encodeURIComponent(er)))}return"data:application/pdf;filename="+$e.filename+";base64,"+Tt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Y)==="[object Window]"){var wr="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&&(wr=$e.pdfObjectUrl,_r="");var cn='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+wr+'"'+_r+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify($e)+");<\/script></body></html>",ta=Y.open();return ta!==null&&ta.document.write(cn),ta}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Y)==="[object Window]"){var te='<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=Y.open();if(r!==null){r.document.write(te);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(Y)!=="[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=Y.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 Y.document.location.href=this.output("datauristring",$e);default:return null}},Ta.foo=function(){try{return Ta.apply(this,arguments)}catch(Tt){var j=Tt.stack||"";~j.indexOf(" at ")&&(j=j.split(" at ")[1]);var $e="Error in function "+j.split(`
|
|
|
`)[0].split("<")[0]+": "+Tt.message;if(!Y.console)throw new Error($e);Y.console.error($e,Tt),Y.alert&&alert($e)}},Ta.foo.bar=Ta,Ta.foo),Ri=function(j){return Array.isArray(Ja)===!0&&Ja.indexOf(j)>-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;xr(),Mt();var Xi=ge.__private__.getPageInfo=ge.getPageInfo=function(j){if(isNaN(j)||j%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Pn[j].objId,pageNumber:j,pageContext:Pn[j]}},Ei=ge.__private__.getPageInfoByObjId=function(j){if(isNaN(j)||j%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var $e in Pn)if(Pn[$e].objId===j)break;return Xi($e)},Fi=ge.__private__.getCurrentPageInfo=ge.getCurrentPageInfo=function(){return{objId:Pn[vt].objId,pageNumber:vt,pageContext:Pn[vt]}};ge.addPage=function(){return zi.apply(this,arguments),this},ge.setPage=function(){return vi.apply(this,arguments),Lr.call(this,Hr[vt]),this},ge.insertPage=function(j){return this.addPage(),this.movePage(vt,j),this},ge.movePage=function(j,$e){var Tt,er;if(j>$e){Tt=Hr[j],er=Pn[j];for(var wr=j;wr>$e;wr--)Hr[wr]=Hr[wr-1],Pn[wr]=Pn[wr-1];Hr[$e]=Tt,Pn[$e]=er,this.setPage($e)}else if(j<$e){Tt=Hr[j],er=Pn[j];for(var _r=j;_r<$e;_r++)Hr[_r]=Hr[_r+1],Pn[_r]=Pn[_r+1];Hr[$e]=Tt,Pn[$e]=er,this.setPage($e)}return this},ge.deletePage=function(){return li.apply(this,arguments),this},ge.__private__.text=ge.text=function(j,$e,Tt,er,wr){var _r,cn,ta,te,r,a,l,g,R,se=(er=er||{}).scope||this;if(typeof j=="number"&&typeof $e=="number"&&(typeof Tt=="string"||Array.isArray(Tt))){var De=Tt;Tt=$e,$e=j,j=De}if(arguments[3]instanceof la==0?(ta=arguments[4],te=arguments[5],(0,o.Z)(l=arguments[3])==="object"&&l!==null||(typeof ta=="string"&&(te=ta,ta=null),typeof l=="string"&&(te=l,l=null),typeof l=="number"&&(ta=l,l=null),er={flags:l,angle:ta,align:te})):(Ct("The transform parameter of text() with a Matrix value"),R=wr),isNaN($e)||isNaN(Tt)||j==null)throw new Error("Invalid arguments passed to jsPDF.text");if(j.length===0)return se;var Je,It="",ar=typeof er.lineHeightFactor=="number"?er.lineHeightFactor:Xo,pr=se.internal.scaleFactor;function Wr(_a){return _a=_a.split(" ").join(Array(er.TabLen||9).join(" ")),_o(_a,l)}function Qr(_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 dn(_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 j=="string")In=!0;else if(Array.isArray(j)){var Oa=j.concat();cn=[];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. "'+j+'" is not recognized.');typeof j=="string"&&(j=j.match(/[\r?\n]/)?j.split(/\r\n|\r|\n/g):[j]);var t=Jr/se.internal.scaleFactor,h=t*(ar-1);switch(er.baseline){case"bottom":Tt-=h;break;case"top":Tt+=t-h;break;case"hanging":Tt+=t-2*h;break;case"middle":Tt+=t/2-h}if((a=er.maxWidth||0)>0&&(typeof j=="string"?j=se.splitTextToSize(j,a):Object.prototype.toString.call(j)==="[object Array]"&&(j=j.reduce(function(_a,uo){return _a.concat(se.splitTextToSize(uo,a))},[]))),_r={text:j,x:$e,y:Tt,options:er,mutex:{pdfEscape:_o,activeFontKey:Hn,fonts:rn,activeFontSize:Jr}},fa.publish("preProcessText",_r),j=_r.text,ta=(er=_r.options).angle,R instanceof la==0&&ta&&typeof ta=="number"){ta*=Math.PI/180,er.rotationDirection===0&&(ta=-ta),Qt===Cr&&(ta=-ta);var C=Math.cos(ta),G=Math.sin(ta);R=new la(C,G,-G,C,0,0)}else ta&&ta instanceof la&&(R=ta);Qt!==Cr||R||(R=Aa),(r=er.charSpace||Wi)!==void 0&&(It+=Ft(lt(r))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(g=er.horizontalScale)!==void 0&&(It+=Ft(100*g)+` Tz
|
|
|
`),er.lang;var ye=-1,Ue=er.renderingMode!==void 0?er.renderingMode:er.stroke,qe=se.internal.getCurrentPageInfo().pageContext;switch(Ue){case 0:case!1:case"fill":ye=0;break;case 1:case!0:case"stroke":ye=1;break;case 2:case"fillThenStroke":ye=2;break;case 3:case"invisible":ye=3;break;case 4:case"fillAndAddForClipping":ye=4;break;case 5:case"strokeAndAddPathForClipping":ye=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ye=6;break;case 7:case"addToPathForClipping":ye=7}var Wt=qe.usedRenderingMode!==void 0?qe.usedRenderingMode:-1;ye!==-1?It+=ye+` Tr
|
|
|
`:Wt!==-1&&(It+=`0 Tr
|
|
|
`),ye!==-1&&(qe.usedRenderingMode=ye),te=er.align||"left";var ir,yr=Jr*ar,Ur=se.internal.pageSize.getWidth(),Fr=rn[Hn];r=er.charSpace||Wi,a=er.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},er.flags);var un=[],pn=function(_a){return se.getStringUnitWidth(_a,{font:Fr,charSpace:r,fontSize:Jr,doKerning:!1})*Jr/pr};if(Object.prototype.toString.call(j)==="[object Array]"){var Nn;cn=Qr(j),te!=="left"&&(ir=cn.map(pn));var Tn,ca=0;if(te==="right"){$e-=ir[0],j=[],e=cn.length;for(var va=0;va<e;va++)va===0?(Tn=ti($e),Nn=xi(Tt)):(Tn=lt(ca-ir[va]),Nn=-yr),j.push([cn[va],Tn,Nn]),ca=ir[va]}else if(te==="center"){$e-=ir[0]/2,j=[],e=cn.length;for(var Pa=0;Pa<e;Pa++)Pa===0?(Tn=ti($e),Nn=xi(Tt)):(Tn=lt((ca-ir[Pa])/2),Nn=-yr),j.push([cn[Pa],Tn,Nn]),ca=ir[Pa]}else if(te==="left"){j=[],e=cn.length;for(var $a=0;$a<e;$a++)j.push(cn[$a])}else if(te==="justify"&&Fr.encoding==="Identity-H"){j=[],e=cn.length,a=a!==0?a:Ur;for(var Fa=0,Sa=0;Sa<e;Sa++)if(Nn=Sa===0?xi(Tt):-yr,Tn=Sa===0?ti($e):Fa,Sa<e-1){var fo=lt((a-ir[Sa])/(cn[Sa].split(" ").length-1)),Ua=cn[Sa].split(" ");j.push([Ua[0]+" ",Tn,Nn]),Fa=0;for(var Po=1;Po<Ua.length;Po++){var jo=(pn(Ua[Po-1]+" "+Ua[Po])-pn(Ua[Po]))*pr+fo;Po==Ua.length-1?j.push([Ua[Po],jo,0]):j.push([Ua[Po]+" ",jo,0]),Fa-=jo}}else j.push([cn[Sa],Tn,Nn]);j.push(["",Fa,0])}else{if(te!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(j=[],e=cn.length,a=a!==0?a:Ur,Sa=0;Sa<e;Sa++){Nn=Sa===0?xi(Tt):-yr,Tn=Sa===0?ti($e):0;var vo=cn[Sa].split(" ").length-1,ri=vo>0?(a-ir[Sa])/vo:0;Sa<e-1?un.push(Ft(lt(ri))):un.push(0),j.push([cn[Sa],Tn,Nn])}}}(typeof er.R2L=="boolean"?er.R2L:oa)===!0&&(j=dn(j,function(_a,uo,bo){return[_a.split("").reverse().join(""),uo,bo]})),_r={text:j,x:$e,y:Tt,options:er,mutex:{pdfEscape:_o,activeFontKey:Hn,fonts:rn,activeFontSize:Jr}},fa.publish("postProcessText",_r),j=_r.text,Je=_r.mutex.isHex||!1;var Oo=rn[Hn].encoding;Oo!=="WinAnsiEncoding"&&Oo!=="StandardEncoding"||(j=dn(j,function(_a,uo,bo){return[Wr(_a),uo,bo]})),cn=Qr(j),j=[];for(var Wo,Yo,hi,Si=Array.isArray(cn[0])?1:0,Vi="",ni=function(_a,uo,bo){var To="";return bo instanceof la?(bo=typeof er.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<cn.length;Ro++){switch(Vi="",Si){case 1:hi=(Je?"<":"(")+cn[Ro][0]+(Je?">":")"),Wo=parseFloat(cn[Ro][1]),Yo=parseFloat(cn[Ro][2]);break;case 0:hi=(Je?"<":"(")+cn[Ro]+(Je?">":")"),Wo=ti($e),Yo=xi(Tt)}un!==void 0&&un[Ro]!==void 0&&(Vi=un[Ro]+` Tw
|
|
|
`),Ro===0?j.push(Vi+ni(Wo,Yo,R)+hi):Si===0?j.push(Vi+hi):Si===1&&j.push(Vi+ni(Wo,Yo,R)+hi)}j=Si===0?j.join(` Tj
|
|
|
T* `):j.join(` Tj
|
|
|
`),j+=` Tj
|
|
|
`;var Mo=`BT
|
|
|
/`;return Mo+=Hn+" "+Jr+` Tf
|
|
|
`,Mo+=Ft(Jr*ar)+` TL
|
|
|
`,Mo+=Ai+`
|
|
|
`,Mo+=It,Mo+=j,Nt(Mo+="ET"),Et[Hn]=!0,se};var Ss=ge.__private__.clip=ge.clip=function(j){return Nt(j==="evenodd"?"W*":"W"),this};ge.clipEvenOdd=function(){return Ss("evenodd")},ge.__private__.discardPath=ge.discardPath=function(){return Nt("n"),this};var ci=ge.__private__.isValidStyle=function(j){var $e=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(j)!==-1&&($e=!0),$e};ge.__private__.setDefaultPathOperation=ge.setDefaultPathOperation=function(j){return ci(j)&&(Ie=j),this};var ss=ge.__private__.getStyle=ge.getStyle=function(j){var $e=Ie;switch(j){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=j}return $e},ls=ge.close=function(){return Nt("h"),this};ge.stroke=function(){return Nt("S"),this},ge.fill=function(j){return ui("f",j),this},ge.fillEvenOdd=function(j){return ui("f*",j),this},ge.fillStroke=function(j){return ui("B",j),this},ge.fillStrokeEvenOdd=function(j){return ui("B*",j),this};var ui=function(j,$e){(0,o.Z)($e)==="object"?fs($e,j):Nt(j)},Yi=function(j){j===null||Qt===Cr&&j===void 0||(j=ss(j),Nt(j))};function Cs(j,$e,Tt,er,wr){var _r=new ae($e||this.boundingBox,Tt||this.xStep,er||this.yStep,this.gState,wr||this.matrix);_r.stream=this.stream;var cn=j+"$$"+this.cloneIndex+++"$$";return ja(cn,_r),_r}var fs=function(j,$e){var Tt=ha[j.key],er=xn[Tt];if(er instanceof B)Nt("q"),Nt(Ts($e)),er.gState&&ge.setGState(er.gState),Nt(j.matrix.toString()+" cm"),Nt("/"+Tt+" sh"),Nt("Q");else if(er instanceof ae){var wr=new la(1,0,0,-1,0,ts());j.matrix&&(wr=wr.multiply(j.matrix||Aa),Tt=Cs.call(er,j.key,j.boundingBox,j.xStep,j.yStep,wr).id),Nt("q"),Nt("/Pattern cs"),Nt("/"+Tt+" scn"),er.gState&&ge.setGState(er.gState),Nt($e),Nt("Q")}},Ts=function(j){switch(j){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=ge.moveTo=function(j,$e){return Nt(Ft(lt(j))+" "+Ft(Ot($e))+" m"),this},bi=ge.lineTo=function(j,$e){return Nt(Ft(lt(j))+" "+Ft(Ot($e))+" l"),this},di=ge.curveTo=function(j,$e,Tt,er,wr,_r){return Nt([Ft(lt(j)),Ft(Ot($e)),Ft(lt(Tt)),Ft(Ot(er)),Ft(lt(wr)),Ft(Ot(_r)),"c"].join(" ")),this};ge.__private__.line=ge.line=function(j,$e,Tt,er,wr){if(isNaN(j)||isNaN($e)||isNaN(Tt)||isNaN(er)||!ci(wr))throw new Error("Invalid arguments passed to jsPDF.line");return Qt===cr?this.lines([[Tt-j,er-$e]],j,$e,[1,1],wr||"S"):this.lines([[Tt-j,er-$e]],j,$e,[1,1]).stroke()},ge.__private__.lines=ge.lines=function(j,$e,Tt,er,wr,_r){var cn,ta,te,r,a,l,g,R,se,De,Je,It;if(typeof j=="number"&&(It=Tt,Tt=$e,$e=j,j=It),er=er||[1,1],_r=_r||!1,isNaN($e)||isNaN(Tt)||!Array.isArray(j)||!Array.isArray(er)||!ci(wr)||typeof _r!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ki($e,Tt),cn=er[0],ta=er[1],r=j.length,De=$e,Je=Tt,te=0;te<r;te++)(a=j[te]).length===2?(De=a[0]*cn+De,Je=a[1]*ta+Je,bi(De,Je)):(l=a[0]*cn+De,g=a[1]*ta+Je,R=a[2]*cn+De,se=a[3]*ta+Je,De=a[4]*cn+De,Je=a[5]*ta+Je,di(l,g,R,se,De,Je));return _r&&ls(),Yi(wr),this},ge.path=function(j){for(var $e=0;$e<j.length;$e++){var Tt=j[$e],er=Tt.c;switch(Tt.op){case"m":ki(er[0],er[1]);break;case"l":bi(er[0],er[1]);break;case"c":di.apply(this,er);break;case"h":ls()}}return this},ge.__private__.rect=ge.rect=function(j,$e,Tt,er,wr){if(isNaN(j)||isNaN($e)||isNaN(Tt)||isNaN(er)||!ci(wr))throw new Error("Invalid arguments passed to jsPDF.rect");return Qt===cr&&(er=-er),Nt([Ft(lt(j)),Ft(Ot($e)),Ft(lt(Tt)),Ft(lt(er)),"re"].join(" ")),Yi(wr),this},ge.__private__.triangle=ge.triangle=function(j,$e,Tt,er,wr,_r,cn){if(isNaN(j)||isNaN($e)||isNaN(Tt)||isNaN(er)||isNaN(wr)||isNaN(_r)||!ci(cn))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Tt-j,er-$e],[wr-Tt,_r-er],[j-wr,$e-_r]],j,$e,[1,1],cn,!0),this},ge.__private__.roundedRect=ge.roundedRect=function(j,$e,Tt,er,wr,_r,cn){if(isNaN(j)||isNaN($e)||isNaN(Tt)||isNaN(er)||isNaN(wr)||isNaN(_r)||!ci(cn))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var ta=4/3*(Math.SQRT2-1);return wr=Math.min(wr,.5*Tt),_r=Math.min(_r,.5*er),this.lines([[Tt-2*wr,0],[wr*ta,0,wr,_r-_r*ta,wr,_r],[0,er-2*_r],[0,_r*ta,-wr*ta,_r,-wr,_r],[2*wr-Tt,0],[-wr*ta,0,-wr,-_r*ta,-wr,-_r],[0,2*_r-er],[0,-_r*ta,wr*ta,-_r,wr,-_r]],j+wr,$e,[1,1],cn,!0),this},ge.__private__.ellipse=ge.ellipse=function(j,$e,Tt,er,wr){if(isNaN(j)||isNaN($e)||isNaN(Tt)||isNaN(er)||!ci(wr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var _r=4/3*(Math.SQRT2-1)*Tt,cn=4/3*(Math.SQRT2-1)*er;return ki(j+Tt,$e),di(j+Tt,$e-cn,j+_r,$e-er,j,$e-er),di(j-_r,$e-er,j-Tt,$e-cn,j-Tt,$e),di(j-Tt,$e+cn,j-_r,$e+er,j,$e+er),di(j+_r,$e+er,j+Tt,$e+cn,j+Tt,$e),Yi(wr),this},ge.__private__.circle=ge.circle=function(j,$e,Tt,er){if(isNaN(j)||isNaN($e)||isNaN(Tt)||!ci(er))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(j,$e,Tt,Tt,er)},ge.setFont=function(j,$e,Tt){return Tt&&($e=kt($e,Tt)),Hn=wa(j,$e,{disableWarning:!1}),this};var ms=ge.__private__.getFont=ge.getFont=function(){return rn[wa.apply(ge,arguments)]};ge.__private__.getFontList=ge.getFontList=function(){var j,$e,Tt={};for(j in fn)if(fn.hasOwnProperty(j))for($e in Tt[j]=[],fn[j])fn[j].hasOwnProperty($e)&&Tt[j].push($e);return Tt},ge.addFont=function(j,$e,Tt,er,wr){var _r=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&_r.indexOf(arguments[3])!==-1?wr=arguments[3]:arguments[3]&&_r.indexOf(arguments[3])==-1&&(Tt=kt(Tt,er)),gi.call(this,j,$e,Tt,wr=wr||"Identity-H")};var Xo,yi=f.lineWidth||.200025,Ia=ge.__private__.getLineWidth=ge.getLineWidth=function(){return yi},Os=ge.__private__.setLineWidth=ge.setLineWidth=function(j){return yi=j,Nt(Ft(lt(j))+" w"),this};ge.__private__.setLineDash=W.API.setLineDash=W.API.setLineDashPattern=function(j,$e){if(j=j||[],$e=$e||0,isNaN($e)||!Array.isArray(j))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return j=j.map(function(Tt){return Ft(lt(Tt))}).join(" "),$e=Ft(lt($e)),Nt("["+j+"] "+$e+" d"),this};var ps=ge.__private__.getLineHeight=ge.getLineHeight=function(){return Jr*Xo};ge.__private__.getLineHeight=ge.getLineHeight=function(){return Jr*Xo};var Bs=ge.__private__.setLineHeightFactor=ge.setLineHeightFactor=function(j){return typeof(j=j||1.15)=="number"&&(Xo=j),this},Hi=ge.__private__.getLineHeightFactor=ge.getLineHeightFactor=function(){return Xo};Bs(f.lineHeight);var ti=ge.__private__.getHorizontalCoordinate=function(j){return lt(j)},xi=ge.__private__.getVerticalCoordinate=function(j){return Qt===Cr?j:Pn[vt].mediaBox.topRightY-Pn[vt].mediaBox.bottomLeftY-lt(j)},Es=ge.__private__.getHorizontalCoordinateString=ge.getHorizontalCoordinateString=function(j){return Ft(ti(j))},Ls=ge.__private__.getVerticalCoordinateString=ge.getVerticalCoordinateString=function(j){return Ft(xi(j))},qi=f.strokeColor||"0 G";ge.__private__.getStrokeColor=ge.getDrawColor=function(){return eo(qi)},ge.__private__.setStrokeColor=ge.setDrawColor=function(j,$e,Tt,er){return qi=lo({ch1:j,ch2:$e,ch3:Tt,ch4:er,pdfColorType:"draw",precision:2}),Nt(qi),this};var Ii=f.fillColor||"0 g";ge.__private__.getFillColor=ge.getFillColor=function(){return eo(Ii)},ge.__private__.setFillColor=ge.setFillColor=function(j,$e,Tt,er){return Ii=lo({ch1:j,ch2:$e,ch3:Tt,ch4:er,pdfColorType:"fill",precision:2}),Nt(Ii),this};var Ai=f.textColor||"0 g",Ji=ge.__private__.getTextColor=ge.getTextColor=function(){return eo(Ai)};ge.__private__.setTextColor=ge.setTextColor=function(j,$e,Tt,er){return Ai=lo({ch1:j,ch2:$e,ch3:Tt,ch4:er,pdfColorType:"text",precision:3}),this};var Wi=f.charSpace,Is=ge.__private__.getCharSpace=ge.getCharSpace=function(){return parseFloat(Wi||0)};ge.__private__.setCharSpace=ge.setCharSpace=function(j){if(isNaN(j))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Wi=j,this};var cs=0;ge.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},ge.__private__.setLineCap=ge.setLineCap=function(j){var $e=ge.CapJoinStyles[j];if($e===void 0)throw new Error("Line cap style of '"+j+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return cs=$e,Nt($e+" J"),this};var us=0;ge.__private__.setLineJoin=ge.setLineJoin=function(j){var $e=ge.CapJoinStyles[j];if($e===void 0)throw new Error("Line join style of '"+j+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return us=$e,Nt($e+" j"),this},ge.__private__.setLineMiterLimit=ge.__private__.setMiterLimit=ge.setLineMiterLimit=ge.setMiterLimit=function(j){if(j=j||0,isNaN(j))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Nt(Ft(lt(j))+" M"),this},ge.GState=ue,ge.setGState=function(j){(j=typeof j=="string"?Vn[Ha[j]]:ft(null,j)).equals(qa)||(Nt("/"+j.id+" gs"),qa=j)};var ft=function(j,$e){if(!j||!Ha[j]){var Tt=!1;for(var er in Vn)if(Vn.hasOwnProperty(er)&&Vn[er].equals($e)){Tt=!0;break}if(Tt)$e=Vn[er];else{var wr="GS"+(Object.keys(Vn).length+1).toString(10);Vn[wr]=$e,$e.id=wr}return j&&(Ha[j]=$e.id),fa.publish("addGState",$e),$e}};ge.addGState=function(j,$e){return ft(j,$e),this},ge.saveGraphicsState=function(){return Nt("q"),sa.push({key:Hn,size:Jr,color:Ai}),this},ge.restoreGraphicsState=function(){Nt("Q");var j=sa.pop();return Hn=j.key,Jr=j.size,Ai=j.color,qa=null,this},ge.setCurrentTransformationMatrix=function(j){return Nt(j.toString()+" cm"),this},ge.comment=function(j){return Nt("#"+j),this};var Zo=function(j,$e){var Tt=j||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Tt},set:function(_r){isNaN(_r)||(Tt=parseFloat(_r))}});var er=$e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return er},set:function(_r){isNaN(_r)||(er=parseFloat(_r))}});var wr="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return wr},set:function(_r){wr=_r.toString()}}),this},Ui=function(j,$e,Tt,er){Zo.call(this,j,$e),this.type="rect";var wr=Tt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return wr},set:function(cn){isNaN(cn)||(wr=parseFloat(cn))}});var _r=er||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return _r},set:function(cn){isNaN(cn)||(_r=parseFloat(cn))}}),this},Zi=function(){this.page=vn,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=yn,this.id="",this.objectNumber=-1};Zi.prototype.restore=function(){vn=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),yn=this.outputDestination};var ds=function(j,$e,Tt,er,wr){so.push(new Zi),vn=vt=0,Hr=[],Un=j,Ln=$e,Xn=wr,si([Tt,er])};for(var $i in ge.beginFormObject=function(j,$e,Tt,er,wr){return ds(j,$e,Tt,er,wr),this},ge.endFormObject=function(j){return function($e){if(io[$e])so.pop().restore();else{var Tt=new Zi,er="Xo"+(Object.keys(Ga).length+1).toString(10);Tt.id=er,io[$e]=er,Ga[er]=Tt,fa.publish("addFormObject",Tt),so.pop().restore()}}(j),this},ge.doFormObject=function(j,$e){var Tt=Ga[io[j]];return Nt("q"),Nt($e.toString()+" cm"),Nt("/"+Tt.id+" Do"),Nt("Q"),this},ge.getFormObject=function(j){var $e=Ga[io[j]];return{x:$e.x,y:$e.y,width:$e.width,height:$e.height,matrix:$e.matrix}},ge.save=function(j,$e){return j=j||"generated.pdf",($e=$e||{}).returnPromise=$e.returnPromise||!1,$e.returnPromise===!1?(T(go(co()),j),typeof T.unload=="function"&&Y.setTimeout&&setTimeout(T.unload,911),this):new Promise(function(Tt,er){try{var wr=T(go(co()),j);typeof T.unload=="function"&&Y.setTimeout&&setTimeout(T.unload,911),Tt(wr)}catch(_r){er(_r.message)}})},W.API)W.API.hasOwnProperty($i)&&($i==="events"&&W.API.events.length?function(j,$e){var Tt,er,wr;for(wr=$e.length-1;wr!==-1;wr--)Tt=$e[wr][0],er=$e[wr][1],j.subscribe.apply(j,[Tt].concat(typeof er=="function"?[er]:er))}(fa,W.API.events):ge[$i]=W.API[$i]);function gs(j){return Pn[j].mediaBox.topRightX-Pn[j].mediaBox.bottomLeftX}function Qi(j,$e){Pn[j].mediaBox.topRightX=$e+Pn[j].mediaBox.bottomLeftX}function Pi(j){return Pn[j].mediaBox.topRightY-Pn[j].mediaBox.bottomLeftY}function wi(j,$e){Pn[j].mediaBox.topRightY=$e+Pn[j].mediaBox.bottomLeftY}var hs=ge.getPageWidth=function(j){return gs(j=j||vt)/ea},es=ge.setPageWidth=function(j,$e){Qi(j,$e*ea)},ts=ge.getPageHeight=function(j){return Pi(j=j||vt)/ea},rs=ge.setPageHeight=function(j,$e){wi(j,$e*ea)};return ge.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(j){es(vt,j)},getHeight:function(){return ts(vt)},setHeight:function(j){rs(vt,j)}},encryptionOptions:ot,encryption:Xa,getEncryptor:function(j){return ot!==null?Xa.encryptor(j,0):function($e){return $e}},output:wo,getNumberOfPages:Di,pages:Hr,out:Nt,f2:ke,f3:Te,getPageInfo:Xi,getPageInfoByObjId:Ei,getCurrentPageInfo:Fi,getPDFVersion:gt,Point:Zo,Rectangle:Ui,Matrix:la,hasHotfix:Ri},Object.defineProperty(ge.internal.pageSize,"width",{get:function(){return hs(vt)},set:function(j){es(vt,j)},enumerable:!0,configurable:!0}),Object.defineProperty(ge.internal.pageSize,"height",{get:function(){return ts(vt)},set:function(j){rs(vt,j)},enumerable:!0,configurable:!0}),function(j){for(var $e=0,Tt=Wn.length;$e<Tt;$e++){var er=gi.call(this,j[$e][0],j[$e][1],j[$e][2],Wn[$e][3],!0);Pt===!1&&(Et[er]=!0);var wr=j[$e][0].split("-");zo({id:er,fontName:wr[0],fontStyle:wr[1]||""})}fa.publish("addFonts",{fonts:rn,dictionary:fn})}.call(ge,Wn),Hn="F1",zi(P,p),fa.publish("initialized"),ge}M.prototype.lsbFirstWord=function(f){return String.fromCharCode(255&f,f>>8&255,f>>16&255,f>>24&255)},M.prototype.toHexString=function(f){return f.split("").map(function(s){return("0"+(255&s.charCodeAt(0)).toString(16)).slice(-2)}).join("")},M.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("")},M.prototype.processOwnerPassword=function(f,s){return J(He(s).substr(0,5),f)},M.prototype.encryptor=function(f,s){var p=He(this.encryptionKey+String.fromCharCode(255&f,f>>8&255,f>>16&255,255&s,s>>8&255)).substr(0,10);return function(b){return J(p,b)}},ue.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},W.API={events:[]},W.version="3.0.3";var A=W.API,re=1,Ve=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)},st=function(f){return f.toFixed(5)};A.__acroform__={};var dt=function(f,s){f.prototype=Object.create(s.prototype),f.prototype.constructor=f},he=function(f){return f*re},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},At=A.__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},Fe=A.__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=A.__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},N=A.__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=A.__acroform__.setBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return At(f,s-1)},ve=A.__acroform__.clearBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Fe(f,s-1)},de=A.__acroform__.calculateCoordinates=function(f,s){var p=s.internal.getHorizontalCoordinate,b=s.internal.getVerticalCoordinate,P=f[0],d=f[1],ne=f[2],Z=f[3],ee={};return ee.lowerLeft_X=p(P)||0,ee.lowerLeft_Y=b(d+Z)||0,ee.upperRight_X=p(P+ne)||0,ee.upperRight_Y=b(d)||0,[Number(Ze(ee.lowerLeft_X)),Number(Ze(ee.lowerLeft_Y)),Number(Ze(ee.upperRight_X)),Number(Ze(ee.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),P=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("/"+P+" "+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:""},P=(s=(s=s.substr(0,1)=="("?s.substr(1):s).substr(s.length-1)==")"?s.substr(0,s.length-1):s).split(" ");P=f.multiline?P.map(function(ke){return ke.split(`
|
|
|
`)}):P.map(function(ke){return[ke]});var d=p,ne=wt.internal.getHeight(f)||0;ne=ne<0?-ne:ne;var Z=wt.internal.getWidth(f)||0;Z=Z<0?-Z:Z;var ee=function(ke,Te,lt){if(ke+1<P.length){var Ot=Te+" "+P[ke+1][0];return Oe(Ot,f,lt).width<=Z-4}return!1};d++;e:for(;d>0;){s="",d--;var Ie,ot,Pt=Oe("3",f,d).height,Et=f.multiline?ne-d:(ne-Pt)/2,ge=Et+=2,nt=0,gt=0,Kt=0;if(d<=0){s=`(...) Tj
|
|
|
`,s+="% Width of Text: "+Oe(s,f,d=12).width+", FieldWidth:"+Z+`
|
|
|
`;break}for(var ct="",cr=0,Cr=0;Cr<P.length;Cr++)if(P.hasOwnProperty(Cr)){var Qt=!1;if(P[Cr].length!==1&&Kt!==P[Cr].length-1){if((Pt+2)*(cr+2)+2>ne)continue e;ct+=P[Cr][Kt],Qt=!0,gt=Cr,Cr--}else{ct=(ct+=P[Cr][Kt]+" ").substr(ct.length-1)==" "?ct.substr(0,ct.length-1):ct;var tt=parseInt(Cr),Se=ee(tt,ct,d),kt=Cr>=P.length-1;if(Se&&!kt){ct+=" ",Kt=0;continue}if(Se||kt){if(kt)gt=tt;else if(f.multiline&&(Pt+2)*(cr+2)+2>ne)continue e}else{if(!f.multiline||(Pt+2)*(cr+2)+2>ne)continue e;gt=tt}}for(var Ft="",Ct=nt;Ct<=gt;Ct++){var Jt=P[Ct];if(f.multiline){if(Ct===gt){Ft+=Jt[Kt]+" ",Kt=(Kt+1)%Jt.length;continue}if(Ct===nt){Ft+=Jt[Jt.length-1]+" ";continue}}Ft+=Jt[0]+" "}switch(Ft=Ft.substr(Ft.length-1)==" "?Ft.substr(0,Ft.length-1):Ft,ot=Oe(Ft,f,d).width,f.textAlign){case"right":Ie=Z-ot-2;break;case"center":Ie=(Z-ot)/2;break;default:Ie=2}s+=Ze(Ie)+" "+Ze(ge)+` Td
|
|
|
`,s+="("+Ve(Ft)+`) Tj
|
|
|
`,s+=-Ze(Ie)+` 0 Td
|
|
|
`,ge=-(d+2),ot=0,nt=Qt?gt:gt+1,cr++,ct=""}break}return b.text=s,b.fontSize=d,b},Oe=function(f,s,p){var b=s.scope.internal.getFont(s.fontName,s.fontStyle),P=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:P}},xe={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Ne=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(xe)),f.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");re=f.internal.scaleFactor,f.internal.acroformPlugin.acroFormDictionaryRoot=new Dt,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 P in b)if(b.hasOwnProperty(P)){var d=b[P];d.objId=void 0,d.hasAnnotation&&Ne(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,P){var d=!b;for(var ne in b||(P.internal.newObjectDeferredBegin(P.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),P.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),b=b||P.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(b.hasOwnProperty(ne)){var Z=b[ne],ee=[],Ie=Z.Rect;if(Z.Rect&&(Z.Rect=de(Z.Rect,P)),P.internal.newObjectDeferredBegin(Z.objId,!0),Z.DA=wt.createDefaultAppearanceStream(Z),(0,o.Z)(Z)==="object"&&typeof Z.getKeyValueListForStream=="function"&&(ee=Z.getKeyValueListForStream()),Z.Rect=Ie,Z.hasAppearanceStream&&!Z.appearanceStreamContent){var ot=fe(Z);ee.push({key:"AP",value:"<</N "+ot+">>"}),P.internal.acroformPlugin.xForms.push(ot)}if(Z.appearanceStreamContent){var Pt="";for(var Et in Z.appearanceStreamContent)if(Z.appearanceStreamContent.hasOwnProperty(Et)){var ge=Z.appearanceStreamContent[Et];if(Pt+="/"+Et+" ",Pt+="<<",Object.keys(ge).length>=1||Array.isArray(ge)){for(var ne in ge)if(ge.hasOwnProperty(ne)){var nt=ge[ne];typeof nt=="function"&&(nt=nt.call(P,Z)),Pt+="/"+ne+" "+nt+" ",P.internal.acroformPlugin.xForms.indexOf(nt)>=0||P.internal.acroformPlugin.xForms.push(nt)}}else typeof(nt=ge)=="function"&&(nt=nt.call(P,Z)),Pt+="/"+ne+" "+nt,P.internal.acroformPlugin.xForms.indexOf(nt)>=0||P.internal.acroformPlugin.xForms.push(nt);Pt+=">>"}ee.push({key:"AP",value:`<<
|
|
|
`+Pt+">>"})}P.internal.putStream({additionalKeyValues:ee,objectId:Z.objId}),P.internal.out("endobj")}d&&function(gt,Kt){for(var ct in gt)if(gt.hasOwnProperty(ct)){var cr=ct,Cr=gt[ct];Kt.internal.newObjectDeferredBegin(Cr.objId,!0),(0,o.Z)(Cr)==="object"&&typeof Cr.putStream=="function"&&Cr.putStream(),delete gt[cr]}}(P.internal.acroformPlugin.xForms,P)})(p,f)}),f.internal.acroformPlugin.isInitialized=!0}},pt=A.__acroform__.arrayToPdfArray=function(f,s,p){var b=function(ne){return ne};if(Array.isArray(f)){for(var P="[",d=0;d<f.length;d++)switch(d!==0&&(P+=" "),(0,o.Z)(f[d])){case"boolean":case"number":case"object":P+=f[d].toString();break;case"string":f[d].substr(0,1)!=="/"?(s!==void 0&&p&&(b=p.internal.getEncryptor(s)),P+="("+Ve(b(f[d].toString()))+")"):P+=f[d].toString()}return P+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},$t=function(f,s,p){var b=function(P){return P};return s!==void 0&&p&&(b=p.internal.getEncryptor(s)),(f=f||"").toString(),"("+Ve(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],P=this[b];P&&(Array.isArray(P)?f.push({key:b,value:pt(P,this.objId,this.scope)}):P instanceof Xt?(P.scope=this.scope,f.push({key:b,value:P.objId+" 0 R"})):typeof P!="function"&&f.push({key:b,value:P}))}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}})};dt(Ut,Xt);var Dt=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)),"("+Ve(p(f))+")"}},set:function(p){f=p}})};dt(Dt,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!!N(s,3)},set:function(ct){ct?this.F=_e(s,3):this.F=ve(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 P="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return P},set:function(ct){switch(ct){case"/Btn":case"/Tx":case"/Ch":case"/Sig":P=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 tn)return;d="FieldObject"+f.FieldNum++}var ct=function(cr){return cr};return this.scope&&(ct=this.scope.internal.getEncryptor(this.objId)),"("+Ve(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 Z="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Z},set:function(ct){Z=ct}});var ee=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ee},set:function(ct){ee=ct}});var Ie=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ie===void 0?50/re:Ie},set:function(ct){Ie=ct}});var ot="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return ot},set:function(ct){ot=ct}});var Pt="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Pt||this instanceof tn||this instanceof x))return $t(Pt,this.objId,this.scope)},set:function(ct){ct=ct.toString(),Pt=ct}});var Et=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Et)return this instanceof mr==0?$t(Et,this.objId,this.scope):Et},set:function(ct){ct=ct.toString(),Et=this instanceof mr==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 mr==1?pe(Et.substr(1,Et.length-1)):Et},set:function(ct){ct=ct.toString(),Et=this instanceof mr==1?"/"+ct:ct}});var ge=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ge)return ge},set:function(ct){this.V=ct}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ge)return this instanceof mr==0?$t(ge,this.objId,this.scope):ge},set:function(ct){ct=ct.toString(),ge=this instanceof mr==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 mr==1?pe(ge.substr(1,ge.length-1)):ge},set:function(ct){ct=ct.toString(),ge=this instanceof mr==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 nt,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(nt)return nt},set:function(ct){nt=ct}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,1)},set:function(ct){ct?this.Ff=_e(this.Ff,1):this.Ff=ve(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,2)},set:function(ct){ct?this.Ff=_e(this.Ff,2):this.Ff=ve(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,3)},set:function(ct){ct?this.Ff=_e(this.Ff,3):this.Ff=ve(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}}})};dt(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 pt(s,this.objId,this.scope)},set:function(p){var b,P;P=[],typeof(b=p)=="string"&&(P=function(d,ne,Z){Z||(Z=1);for(var ee,Ie=[];ee=ne.exec(d);)Ie.push(ee[Z]);return Ie}(b,/\((.*?)\)/g)),s=P}}),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!!N(this.Ff,18)},set:function(p){p?this.Ff=_e(this.Ff,18):this.Ff=ve(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,19)},set:function(p){this.combo===!0&&(p?this.Ff=_e(this.Ff,19):this.Ff=ve(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,20)},set:function(p){p?(this.Ff=_e(this.Ff,20),s.sort()):this.Ff=ve(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,22)},set:function(p){p?this.Ff=_e(this.Ff,22):this.Ff=ve(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,23)},set:function(p){p?this.Ff=_e(this.Ff,23):this.Ff=ve(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,27)},set:function(p){p?this.Ff=_e(this.Ff,27):this.Ff=ve(this.Ff,27)}}),this.hasAppearanceStream=!1};dt(yt,at);var xt=function(){yt.call(this),this.fontName="helvetica",this.combo=!1};dt(xt,yt);var ht=function(){xt.call(this),this.combo=!0};dt(ht,xt);var tr=function(){ht.call(this),this.edit=!0};dt(tr,ht);var mr=function(){at.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,15)},set:function(p){p?this.Ff=_e(this.Ff,15):this.Ff=ve(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,16)},set:function(p){p?this.Ff=_e(this.Ff,16):this.Ff=ve(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,17)},set:function(p){p?this.Ff=_e(this.Ff,17):this.Ff=ve(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,26)},set:function(p){p?this.Ff=_e(this.Ff,26):this.Ff=ve(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,P=[];for(b in P.push("<<"),s)P.push("/"+b+" ("+Ve(p(s[b]))+")");return P.push(">>"),P.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}})};dt(mr,at);var hr=function(){mr.call(this),this.pushButton=!0};dt(hr,mr);var Ir=function(){mr.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:[]}})};dt(Ir,mr);var tn=function(){var f,s;at.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return f},set:function(P){f=P}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(P){s=P}});var p,b={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var P=function(Z){return Z};this.scope&&(P=this.scope.internal.getEncryptor(this.objId));var d,ne=[];for(d in ne.push("<<"),b)ne.push("/"+d+" ("+Ve(P(b[d]))+")");return ne.push(">>"),ne.join(`
|
|
|
`)},set:function(P){(0,o.Z)(P)==="object"&&(b=P)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return b.CA||""},set:function(P){typeof P=="string"&&(b.CA=P)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return p},set:function(P){p=P}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return p.substr(1,p.length-1)},set:function(P){p="/"+P}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=wt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};dt(tn,at),Ir.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()}},Ir.prototype.createOption=function(f){var s=new tn;return s.Parent=this,s.optionName=f,this.Kids.push(s),oe.call(this.scope,s),s};var Pr=function(){mr.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=wt.CheckBox.createAppearanceStream()};dt(Pr,mr);var x=function(){at.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,13)},set:function(s){s?this.Ff=_e(this.Ff,13):this.Ff=ve(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,21)},set:function(s){s?this.Ff=_e(this.Ff,21):this.Ff=ve(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,23)},set:function(s){s?this.Ff=_e(this.Ff,23):this.Ff=ve(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,24)},set:function(s){s?this.Ff=_e(this.Ff,24):this.Ff=ve(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,25)},set:function(s){s?this.Ff=_e(this.Ff,25):this.Ff=ve(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,26)},set:function(s){s?this.Ff=_e(this.Ff,26):this.Ff=ve(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}})};dt(x,at);var F=function(){x.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!N(this.Ff,14)},set:function(f){f?this.Ff=_e(this.Ff,14):this.Ff=ve(this.Ff,14)}}),this.password=!0};dt(F,x);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,P=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 "+P),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),P=[],d=wt.internal.getHeight(f),ne=wt.internal.getWidth(f),Z=me(f,f.caption);return P.push("1 g"),P.push("0 0 "+Ze(ne)+" "+Ze(d)+" re"),P.push("f"),P.push("q"),P.push("0 0 1 rg"),P.push("0 0 "+Ze(ne-1)+" "+Ze(d-1)+" re"),P.push("W"),P.push("n"),P.push("0 g"),P.push("BT"),P.push("/"+p+" "+Ze(Z.fontSize)+" Tf "+b),P.push(Z.text),P.push("ET"),P.push("Q"),s.stream=P.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 P=wt.internal.Bezier_C,d=Number((b*P).toFixed(5));return p.push("q"),p.push("1 0 0 1 "+st(wt.internal.getWidth(f)/2)+" "+st(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 P=Number((2*b).toFixed(5)),d=Number((P*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 "+st(wt.internal.getWidth(f)/2)+" "+st(wt.internal.getHeight(f)/2)+" cm"),p.push(P+" 0 m"),p.push(P+" "+d+" "+d+" "+P+" 0 "+P+" c"),p.push("-"+d+" "+P+" -"+P+" "+d+" -"+P+" 0 c"),p.push("-"+P+" -"+d+" -"+d+" -"+P+" 0 -"+P+" c"),p.push(d+" -"+P+" "+P+" -"+d+" "+P+" 0 c"),p.push("f"),p.push("Q"),p.push("0 g"),p.push("q"),p.push("1 0 0 1 "+st(wt.internal.getWidth(f)/2)+" "+st(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 P=Number((2*b).toFixed(5)),d=Number((P*wt.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+st(wt.internal.getWidth(f)/2)+" "+st(wt.internal.getHeight(f)/2)+" cm"),p.push(P+" 0 m"),p.push(P+" "+d+" "+d+" "+P+" 0 "+P+" c"),p.push("-"+d+" "+P+" -"+P+" "+d+" -"+P+" 0 c"),p.push("-"+P+" -"+d+" -"+d+" -"+P+" 0 -"+P+" c"),p.push(d+" -"+P+" "+P+" -"+d+" "+P+" 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 oe=A.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};A.AcroFormChoiceField=yt,A.AcroFormListBox=xt,A.AcroFormComboBox=ht,A.AcroFormEditBox=tr,A.AcroFormButton=mr,A.AcroFormPushButton=hr,A.AcroFormRadioButton=Ir,A.AcroFormCheckBox=Pr,A.AcroFormTextField=x,A.AcroFormPasswordField=F,A.AcroFormAppearance=wt,A.AcroForm={ChoiceField:yt,ListBox:xt,ComboBox:ht,EditBox:tr,Button:mr,PushButton:hr,RadioButton:Ir,CheckBox:Pr,TextField:x,PasswordField:F,Appearance:wt},W.AcroForm={ChoiceField:yt,ListBox:xt,ComboBox:ht,EditBox:tr,Button:mr,PushButton:hr,RadioButton:Ir,CheckBox:Pr,TextField:x,PasswordField:F,Appearance:wt};var Be=W.AcroForm;function kr(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]]},P=f.__addimage__.getImageFileTypeByImageData=function(ke,Te){var lt,Ot,dr,vr,Zt,Mt=p;if((Te=Te||p)==="RGBA"||ke.data!==void 0&&ke.data instanceof Uint8ClampedArray&&"height"in ke&&"width"in ke)return"RGBA";if(Se(ke))for(Zt in b)for(dr=b[Zt],lt=0;lt<dr.length;lt+=1){for(vr=!0,Ot=0;Ot<dr[lt].length;Ot+=1)if(dr[lt][Ot]!==void 0&&dr[lt][Ot]!==ke[Ot]){vr=!1;break}if(vr===!0){Mt=Zt;break}}else for(Zt in b)for(dr=b[Zt],lt=0;lt<dr.length;lt+=1){for(vr=!0,Ot=0;Ot<dr[lt].length;Ot+=1)if(dr[lt][Ot]!==void 0&&dr[lt][Ot]!==ke.charCodeAt(Ot)){vr=!1;break}if(vr===!0){Mt=Zt;break}}return Mt===p&&Te!==p&&(Mt=Te),Mt},d=function ke(Te){for(var lt=this.internal.write,Ot=this.internal.putStream,dr=(0,this.internal.getFilters)();dr.indexOf("FlateEncode")!==-1;)dr.splice(dr.indexOf("FlateEncode"),1);Te.objectId=this.internal.newObject();var vr=[];if(vr.push({key:"Type",value:"/XObject"}),vr.push({key:"Subtype",value:"/Image"}),vr.push({key:"Width",value:Te.width}),vr.push({key:"Height",value:Te.height}),Te.colorSpace===ct.INDEXED?vr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Te.palette.length/3-1)+" "+("sMask"in Te&&Te.sMask!==void 0?Te.objectId+2:Te.objectId+1)+" 0 R]"}):(vr.push({key:"ColorSpace",value:"/"+Te.colorSpace}),Te.colorSpace===ct.DEVICE_CMYK&&vr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),vr.push({key:"BitsPerComponent",value:Te.bitsPerComponent}),"decodeParameters"in Te&&Te.decodeParameters!==void 0&&vr.push({key:"DecodeParms",value:"<<"+Te.decodeParameters+">>"}),"transparency"in Te&&Array.isArray(Te.transparency)&&Te.transparency.length>0){for(var Zt="",Mt=0,ur=Te.transparency.length;Mt<ur;Mt++)Zt+=Te.transparency[Mt]+" "+Te.transparency[Mt]+" ";vr.push({key:"Mask",value:"["+Zt+"]"})}Te.sMask!==void 0&&vr.push({key:"SMask",value:Te.objectId+1+" 0 R"});var Yt=Te.filter!==void 0?["/"+Te.filter]:void 0;if(Ot({data:Te.data,additionalKeyValues:vr,alreadyAppliedFilters:Yt,objectId:Te.objectId}),lt("endobj"),"sMask"in Te&&Te.sMask!==void 0){var xr,je=(xr=Te.sMaskBitsPerComponent)!==null&&xr!==void 0?xr:Te.bitsPerComponent,vt={width:Te.width,height:Te.height,colorSpace:"DeviceGray",bitsPerComponent:je,data:Te.sMask};"filter"in Te&&(vt.decodeParameters="/Predictor ".concat(Te.predictor," /Colors 1 /BitsPerComponent ").concat(je," /Columns ").concat(Te.width),vt.filter=Te.filter),ke.call(this,vt)}if(Te.colorSpace===ct.INDEXED){var jt=this.internal.newObject();Ot({data:Ft(new Uint8Array(Te.palette)),objectId:jt}),lt("endobj")}},ne=function(){var ke=this.internal.collections[s+"images"];for(var Te in ke)d.call(this,ke[Te])},Z=function(){var ke,Te=this.internal.collections[s+"images"],lt=this.internal.write;for(var Ot in Te)lt("/I"+(ke=Te[Ot]).index,ke.objectId,"0","R")},ee=function(){this.internal.collections[s+"images"]||(this.internal.collections[s+"images"]={},this.internal.events.subscribe("putResources",ne),this.internal.events.subscribe("putXobjectDict",Z))},Ie=function(){var ke=this.internal.collections[s+"images"];return ee.call(this),ke},ot=function(){return Object.keys(this.internal.collections[s+"images"]).length},Pt=function(ke){return typeof f["process"+ke.toUpperCase()]=="function"},Et=function(ke){return(0,o.Z)(ke)==="object"&&ke.nodeType===1},ge=function(ke,Te){if(ke.nodeName==="IMG"&&ke.hasAttribute("src")){var lt=""+ke.getAttribute("src");if(lt.indexOf("data:image/")===0)return V(unescape(lt).split("base64,").pop());var Ot=f.loadFile(lt,!0);if(Ot!==void 0)return Ot}if(ke.nodeName==="CANVAS"){if(ke.width===0||ke.height===0)throw new Error("Given canvas must have data. Canvas width: "+ke.width+", height: "+ke.height);var dr;switch(Te){case"PNG":dr="image/png";break;case"WEBP":dr="image/webp";break;default:dr="image/jpeg"}return V(ke.toDataURL(dr,1).split("base64,").pop())}},nt=function(ke){var Te=this.internal.collections[s+"images"];if(Te){for(var lt in Te)if(ke===Te[lt].alias)return Te[lt]}},gt=function(ke,Te,lt){return ke||Te||(ke=-96,Te=-96),ke<0&&(ke=-1*lt.width*72/ke/this.internal.scaleFactor),Te<0&&(Te=-1*lt.height*72/Te/this.internal.scaleFactor),ke===0&&(ke=Te*lt.width/lt.height),Te===0&&(Te=ke*lt.height/lt.width),[ke,Te]},Kt=function(ke,Te,lt,Ot,dr,vr){var Zt=gt.call(this,lt,Ot,dr),Mt=this.internal.getCoordinateString,ur=this.internal.getVerticalCoordinateString,Yt=Ie.call(this);if(lt=Zt[0],Ot=Zt[1],Yt[dr.index]=dr,vr){vr*=Math.PI/180;var xr=Math.cos(vr),je=Math.sin(vr),vt=function(it){return it.toFixed(4)},jt=[vt(xr),vt(je),vt(-1*je),vt(xr),0,0,"cm"]}this.internal.write("q"),vr?(this.internal.write([1,"0","0",1,Mt(ke),ur(Te+Ot),"cm"].join(" ")),this.internal.write(jt.join(" ")),this.internal.write([Mt(lt),"0","0",Mt(Ot),"0","0","cm"].join(" "))):this.internal.write([Mt(lt),"0","0",Mt(Ot),Mt(ke),ur(Te+Ot),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+dr.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 cr=f.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},Cr=f.__addimage__.sHashCode=function(ke){var Te,lt,Ot=0;if(typeof ke=="string")for(lt=ke.length,Te=0;Te<lt;Te++)Ot=(Ot<<5)-Ot+ke.charCodeAt(Te),Ot|=0;else if(Se(ke))for(lt=ke.byteLength/2,Te=0;Te<lt;Te++)Ot=(Ot<<5)-Ot+ke[Te],Ot|=0;return Ot},Qt=f.__addimage__.validateStringAsBase64=function(ke){(ke=ke||"").toString().trim();var Te=!0;return ke.length===0&&(Te=!1),ke.length%4!=0&&(Te=!1),/^[A-Za-z0-9+/]+$/.test(ke.substr(0,ke.length-2))===!1&&(Te=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(ke.substr(-2))===!1&&(Te=!1),Te},tt=f.__addimage__.extractImageFromDataUrl=function(ke){if(ke==null||!(ke=ke.trim()).startsWith("data:"))return null;var Te=ke.indexOf(",");return Te<0?null:ke.substring(0,Te).trim().endsWith("base64")?ke.substring(Te+1):null};f.__addimage__.isArrayBuffer=function(ke){return ke instanceof ArrayBuffer};var Se=f.__addimage__.isArrayBufferView=function(ke){return ke instanceof Int8Array||ke instanceof Uint8Array||ke instanceof Uint8ClampedArray||ke instanceof Int16Array||ke instanceof Uint16Array||ke instanceof Int32Array||ke instanceof Uint32Array||ke instanceof Float32Array||ke instanceof Float64Array},kt=f.__addimage__.binaryStringToUint8Array=function(ke){for(var Te=ke.length,lt=new Uint8Array(Te),Ot=0;Ot<Te;Ot++)lt[Ot]=ke.charCodeAt(Ot);return lt},Ft=f.__addimage__.arrayBufferToBinaryString=function(ke){for(var Te="",lt=Se(ke)?ke:new Uint8Array(ke),Ot=0;Ot<lt.length;Ot+=8192)Te+=String.fromCharCode.apply(null,lt.subarray(Ot,Ot+8192));return Te};f.addImage=function(){var ke,Te,lt,Ot,dr,vr,Zt,Mt,ur;if(typeof arguments[1]=="number"?(Te=p,lt=arguments[1],Ot=arguments[2],dr=arguments[3],vr=arguments[4],Zt=arguments[5],Mt=arguments[6],ur=arguments[7]):(Te=arguments[1],lt=arguments[2],Ot=arguments[3],dr=arguments[4],vr=arguments[5],Zt=arguments[6],Mt=arguments[7],ur=arguments[8]),(0,o.Z)(ke=arguments[0])==="object"&&!Et(ke)&&"imageData"in ke){var Yt=ke;ke=Yt.imageData,Te=Yt.format||Te||p,lt=Yt.x||lt||0,Ot=Yt.y||Ot||0,dr=Yt.w||Yt.width||dr,vr=Yt.h||Yt.height||vr,Zt=Yt.alias||Zt,Mt=Yt.compression||Mt,ur=Yt.rotation||Yt.angle||ur}var xr=this.internal.getFilters();if(Mt===void 0&&xr.indexOf("FlateEncode")!==-1&&(Mt="SLOW"),isNaN(lt)||isNaN(Ot))throw new Error("Invalid coordinates passed to jsPDF.addImage");ee.call(this);var je=Ct.call(this,ke,Te,Zt,Mt);return Kt.call(this,lt,Ot,dr,vr,je,ur),this};var Ct=function(ke,Te,lt,Ot){var dr,vr,Zt;if(typeof ke=="string"&&P(ke)===p){ke=unescape(ke);var Mt=Jt(ke,!1);(Mt!==""||(Mt=f.loadFile(ke,!0))!==void 0)&&(ke=Mt)}if(Et(ke)&&(ke=ge(ke,Te)),Te=P(ke,Te),!Pt(Te))throw new Error("addImage does not support files of type '"+Te+"', please ensure that a plugin for '"+Te+"' support is added.");if(((Zt=lt)==null||Zt.length===0)&&(lt=function(ur){return typeof ur=="string"||Se(ur)?Cr(ur):Se(ur.data)?Cr(ur.data):null}(ke)),(dr=nt.call(this,lt))||(ke instanceof Uint8Array||Te==="RGBA"||(vr=ke,ke=kt(ke)),dr=this["process"+Te.toUpperCase()](ke,ot.call(this),lt,function(ur){return ur&&typeof ur=="string"&&(ur=ur.toUpperCase()),ur in f.image_compression?ur:cr.NONE}(Ot),vr)),!dr)throw new Error("An unknown error occurred whilst processing the image.");return dr},Jt=f.__addimage__.convertBase64ToBinaryString=function(ke,Te){Te=typeof Te!="boolean"||Te;var lt,Ot="";if(typeof ke=="string"){var dr;lt=(dr=tt(ke))!==null&&dr!==void 0?dr:ke;try{Ot=V(lt)}catch(vr){if(Te)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 Ot};f.getImageProperties=function(ke){var Te,lt,Ot="";if(Et(ke)&&(ke=ge(ke)),typeof ke=="string"&&P(ke)===p&&((Ot=Jt(ke,!1))===""&&(Ot=f.loadFile(ke)||""),ke=Ot),lt=P(ke),!Pt(lt))throw new Error("addImage does not support files of type '"+lt+"', please ensure that a plugin for '"+lt+"' support is added.");if(ke instanceof Uint8Array||(ke=kt(ke)),!(Te=this["process"+lt.toUpperCase()](ke)))throw new Error("An unknown error occurred whilst processing the image");return Te.fileType=lt,Te}})(W.API),function(f){var s=function(p){if(p!==void 0&&p!="")return!0};W.API.events.push(["addPage",function(p){this.internal.getPageInfo(p.pageNumber).pageContext.annotations=[]}]),f.events.push(["putPage",function(p){for(var b,P,d,ne=this.internal.getCoordinateString,Z=this.internal.getVerticalCoordinateString,ee=this.internal.getPageInfoByObjId(p.objId),Ie=p.pageContext.annotations,ot=!1,Pt=0;Pt<Ie.length&&!ot;Pt++)switch((b=Ie[Pt]).type){case"link":(s(b.options.url)||s(b.options.pageNumber))&&(ot=!0);break;case"reference":case"text":case"freetext":ot=!0}if(ot!=0){this.internal.write("/Annots [");for(var Et=0;Et<Ie.length;Et++){b=Ie[Et];var ge=this.internal.pdfEscape,nt=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),cr=b.title||"Note";d="<</Type /Annot /Subtype /Text "+(P="/Rect ["+ne(b.bounds.x)+" "+Z(b.bounds.y+b.bounds.h)+" "+ne(b.bounds.x+b.bounds.w)+" "+Z(b.bounds.y)+"] ")+"/Contents ("+ge(ct(b.contents))+")",d+=" /Popup "+Kt.objId+" 0 R",d+=" /P "+ee.objId+" 0 R",d+=" /T ("+ge(ct(cr))+") >>",gt.content=d;var Cr=gt.objId+" 0 R";d="<</Type /Annot /Subtype /Popup "+(P="/Rect ["+ne(b.bounds.x+30)+" "+Z(b.bounds.y+b.bounds.h)+" "+ne(b.bounds.x+b.bounds.w+30)+" "+Z(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":P="/Rect ["+ne(b.bounds.x)+" "+Z(b.bounds.y)+" "+ne(b.bounds.x+b.bounds.w)+" "+Z(b.bounds.y+b.bounds.h)+"] ";var Qt=b.color||"#000000";d="<</Type /Annot /Subtype /FreeText "+P+"/Contents ("+ge(nt(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(P="/Rect ["+b.finalBounds.x+" "+b.finalBounds.y+" "+b.finalBounds.w+" "+b.finalBounds.h+"] ",d="",b.options.url)d="<</Type /Annot /Subtype /Link "+P+"/Border [0 0 0] /A <</S /URI /URI ("+ge(nt(b.options.url))+") >>";else if(b.options.pageNumber)switch(d="<</Type /Annot /Subtype /Link "+P+"/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 Se=Z(b.options.top);b.options.left=b.options.left||0,b.options.zoom===void 0&&(b.options.zoom=0),d+=" /XYZ "+b.options.left+" "+Se+" "+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,P,d,ne){var Z=this.internal.getCurrentPageInfo(),ee=this.internal.getCoordinateString,Ie=this.internal.getVerticalCoordinateString;Z.pageContext.annotations.push({finalBounds:{x:ee(p),y:Ie(b),w:ee(p+P),h:Ie(b+d)},options:ne,type:"link"})},f.textWithLink=function(p,b,P,d){var ne,Z,ee=this.getTextWidth(p),Ie=this.internal.getLineHeight()/this.internal.scaleFactor;if(d.maxWidth!==void 0){Z=d.maxWidth;var ot=this.splitTextToSize(p,Z).length;ne=Math.ceil(Ie*ot)}else Z=ee,ne=Ie;return this.text(p,b,P,d),P+=.2*Ie,d.align==="center"&&(b-=ee/2),d.align==="right"&&(b-=ee),this.link(b,P-Ie,Z,ne,d),ee},f.getTextWidth=function(p){var b=this.internal.getFontSize();return this.getStringUnitWidth(p)*b/this.internal.scaleFactor}}(W.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},P=[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)},Z=f.__arabicParser__.isArabicEndLetter=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length<=2},ee=f.__arabicParser__.isArabicAlfLetter=function(gt){return ne(gt)&&P.indexOf(gt.charCodeAt(0))>=0};f.__arabicParser__.arabicLetterHasIsolatedForm=function(gt){return ne(gt)&&d(gt)&&s[gt.charCodeAt(0)].length>=1};var Ie=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 ot=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,cr="",Cr=0;for(Kt=0;Kt<gt.length;Kt+=1)ct[gt.charCodeAt(Kt)]!==void 0?(Cr++,typeof(ct=ct[gt.charCodeAt(Kt)])=="number"&&(cr+=String.fromCharCode(ct),ct=p,Cr=0),Kt===gt.length-1&&(ct=p,cr+=gt.charAt(Kt-(Cr-1)),Kt-=Cr-1,Cr=0)):(ct=p,cr+=gt.charAt(Kt-Cr),Kt-=Cr,Cr=0);return cr};f.__arabicParser__.isArabicDiacritic=function(gt){return gt!==void 0&&b[gt.charCodeAt(0)]!==void 0};var Et=f.__arabicParser__.getCorrectForm=function(gt,Kt,ct){return ne(gt)?d(gt)===!1?-1:!Ie(gt)||!ne(Kt)&&!ne(ct)||!ne(ct)&&Z(Kt)||Z(gt)&&!ne(Kt)||Z(gt)&&ee(Kt)||Z(gt)&&Z(Kt)?0:ot(gt)&&ne(Kt)&&!Z(Kt)&&ne(ct)&&Ie(ct)?3:Z(gt)||!ne(ct)?1:2:-1},ge=function(gt){var Kt=0,ct=0,cr=0,Cr="",Qt="",tt="",Se=(gt=gt||"").split("\\s+"),kt=[];for(Kt=0;Kt<Se.length;Kt+=1){for(kt.push(""),ct=0;ct<Se[Kt].length;ct+=1)Cr=Se[Kt][ct],Qt=Se[Kt][ct-1],tt=Se[Kt][ct+1],ne(Cr)?(cr=Et(Cr,Qt,tt),kt[Kt]+=cr!==-1?String.fromCharCode(s[Cr.charCodeAt(0)][cr]):Cr):kt[Kt]+=Cr;kt[Kt]=Pt(kt[Kt])}return kt.join(" ")},nt=f.__arabicParser__.processArabic=f.processArabic=function(){var gt,Kt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,ct=[];if(Array.isArray(Kt)){var cr=0;for(ct=[],cr=0;cr<Kt.length;cr+=1)Array.isArray(Kt[cr])?ct.push([ge(Kt[cr][0]),Kt[cr][1],Kt[cr][2]]):ct.push([ge(Kt[cr])]);gt=ct}else gt=ge(Kt);return typeof arguments[0]=="string"?gt:(arguments[0].text=gt,arguments[0])};f.events.push(["preProcessText",nt])}(W.API),W.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(Z){p=Z}});var b=150;Object.defineProperty(this,"width",{get:function(){return b},set:function(Z){b=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?150:Z,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=b+1)}});var P=300;Object.defineProperty(this,"height",{get:function(){return P},set:function(Z){P=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?300:Z,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=P+1)}});var d=[];Object.defineProperty(this,"childNodes",{get:function(){return d},set:function(Z){d=Z}});var ne={};Object.defineProperty(this,"style",{get:function(){return ne},set:function(Z){ne=Z}}),Object.defineProperty(this,"parentNode",{})};s.prototype.getContext=function(p,b){var P;if((p=p||"2d")!=="2d")return null;for(P in b)this.pdf.context2d.hasOwnProperty(P)&&(this.pdf.context2d[P]=b[P]);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}])}(W.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(),P.call(this))},P=function(){this.internal.__cell__.lastCell=new d,this.internal.__cell__.pages=1},d=function(){var ee=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ee},set:function(gt){ee=gt}});var Ie=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ie},set:function(gt){Ie=gt}});var ot=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return ot},set:function(gt){ot=gt}});var Pt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Pt},set:function(gt){Pt=gt}});var Et=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Et},set:function(gt){Et=gt}});var ge=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ge},set:function(gt){ge=gt}});var nt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return nt},set:function(gt){nt=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(ee){return b.call(this),this.internal.__cell__.headerFunction=typeof ee=="function"?ee:void 0,this},f.getTextDimensions=function(ee,Ie){b.call(this);var ot=(Ie=Ie||{}).fontSize||this.getFontSize(),Pt=Ie.font||this.getFont(),Et=Ie.scaleFactor||this.internal.scaleFactor,ge=0,nt=0,gt=0,Kt=this;if(!Array.isArray(ee)&&typeof ee!="string"){if(typeof ee!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");ee=String(ee)}var ct=Ie.maxWidth;ct>0?typeof ee=="string"?ee=this.splitTextToSize(ee,ct):Object.prototype.toString.call(ee)==="[object Array]"&&(ee=ee.reduce(function(Cr,Qt){return Cr.concat(Kt.splitTextToSize(Qt,ct))},[])):ee=Array.isArray(ee)?ee:[ee];for(var cr=0;cr<ee.length;cr++)ge<(gt=this.getStringUnitWidth(ee[cr],{font:Pt})*ot)&&(ge=gt);return ge!==0&&(nt=ee.length),{w:ge/=Et,h:Math.max((nt*ot*this.getLineHeightFactor()-ot*(this.getLineHeightFactor()-1))/Et,0)}},f.cellAddPage=function(){b.call(this),this.addPage();var ee=this.internal.__cell__.margins||s;return this.internal.__cell__.lastCell=new d(ee.left,ee.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var ne=f.cell=function(){var ee;ee=arguments[0]instanceof d?arguments[0]:new d(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),b.call(this);var Ie=this.internal.__cell__.lastCell,ot=this.internal.__cell__.padding,Pt=this.internal.__cell__.margins||s,Et=this.internal.__cell__.tableHeaderRow,ge=this.internal.__cell__.printHeaders;return Ie.lineNumber!==void 0&&(Ie.lineNumber===ee.lineNumber?(ee.x=(Ie.x||0)+(Ie.width||0),ee.y=Ie.y||0):Ie.y+Ie.height+ee.height+Pt.bottom>this.getPageHeight()?(this.cellAddPage(),ee.y=Pt.top,ge&&Et&&(this.printHeaderRow(ee.lineNumber,!0),ee.y+=Et[0].height)):ee.y=Ie.y+Ie.height||ee.y),ee.text[0]!==void 0&&(this.rect(ee.x,ee.y,ee.width,ee.height,p===!0?"FD":void 0),ee.align==="right"?this.text(ee.text,ee.x+ee.width-ot,ee.y+ot,{align:"right",baseline:"top"}):ee.align==="center"?this.text(ee.text,ee.x+ee.width/2,ee.y+ot,{align:"center",baseline:"top",maxWidth:ee.width-ot-ot}):this.text(ee.text,ee.x+ot,ee.y+ot,{align:"left",baseline:"top",maxWidth:ee.width-ot-ot})),this.internal.__cell__.lastCell=ee,this};f.table=function(ee,Ie,ot,Pt,Et){if(b.call(this),!ot)throw new Error("No data for PDF table.");var ge,nt,gt,Kt,ct=[],cr=[],Cr=[],Qt={},tt={},Se=[],kt=[],Ft=(Et=Et||{}).autoSize||!1,Ct=Et.printHeaders!==!1,Jt=Et.css&&Et.css["font-size"]!==void 0?16*Et.css["font-size"]:Et.fontSize||12,ke=Et.margins||Object.assign({width:this.getPageWidth()},s),Te=typeof Et.padding=="number"?Et.padding:3,lt=Et.headerBackgroundColor||"#c8c8c8",Ot=Et.headerTextColor||"#000";if(P.call(this),this.internal.__cell__.printHeaders=Ct,this.internal.__cell__.margins=ke,this.internal.__cell__.table_font_size=Jt,this.internal.__cell__.padding=Te,this.internal.__cell__.headerBackgroundColor=lt,this.internal.__cell__.headerTextColor=Ot,this.setFontSize(Jt),Pt==null)cr=ct=Object.keys(ot[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}),cr=Pt.map(function(Yt){return Yt.prompt||Yt.name||""}),Cr=Pt.map(function(Yt){return Yt.align||"left"}),ge=0;ge<Pt.length;ge+=1)tt[Pt[ge].name]=.7499990551181103*Pt[ge].width;else Array.isArray(Pt)&&typeof Pt[0]=="string"&&(cr=ct=Pt,Cr=ct.map(function(){return"left"}));if(Ft||Array.isArray(Pt)&&typeof Pt[0]=="string")for(ge=0;ge<ct.length;ge+=1){for(Qt[Kt=ct[ge]]=ot.map(function(Yt){return Yt[Kt]}),this.setFont(void 0,"bold"),Se.push(this.getTextDimensions(cr[ge],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),nt=Qt[Kt],this.setFont(void 0,"normal"),gt=0;gt<nt.length;gt+=1)Se.push(this.getTextDimensions(nt[gt],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);tt[Kt]=Math.max.apply(null,Se)+Te+Te,Se=[]}if(Ct){var dr={};for(ge=0;ge<ct.length;ge+=1)dr[ct[ge]]={},dr[ct[ge]].text=cr[ge],dr[ct[ge]].align=Cr[ge];var vr=Z.call(this,dr,tt);kt=ct.map(function(Yt){return new d(ee,Ie,tt[Yt],vr,dr[Yt].text,void 0,dr[Yt].align)}),this.setTableHeaderRow(kt),this.printHeaderRow(1,!1)}var Zt=Pt.reduce(function(Yt,xr){return Yt[xr.name]=xr.align,Yt},{});for(ge=0;ge<ot.length;ge+=1){"rowStart"in Et&&Et.rowStart instanceof Function&&Et.rowStart({row:ge,data:ot[ge]},this);var Mt=Z.call(this,ot[ge],tt);for(gt=0;gt<ct.length;gt+=1){var ur=ot[ge][ct[gt]];"cellStart"in Et&&Et.cellStart instanceof Function&&Et.cellStart({row:ge,col:gt,data:ur},this),ne.call(this,new d(ee,Ie,tt[ct[gt]],Mt,ur,ge+2,Zt[ct[gt]]))}}return this.internal.__cell__.table_x=ee,this.internal.__cell__.table_y=Ie,this};var Z=function(ee,Ie){var ot=this.internal.__cell__.padding,Pt=this.internal.__cell__.table_font_size,Et=this.internal.scaleFactor;return Object.keys(ee).map(function(ge){var nt=ee[ge];return this.splitTextToSize(nt.hasOwnProperty("text")?nt.text:nt,Ie[ge]-ot-ot)},this).map(function(ge){return this.getLineHeightFactor()*ge.length*Pt/Et+ot+ot},this).reduce(function(ge,nt){return Math.max(ge,nt)},0)};f.setTableHeaderRow=function(ee){b.call(this),this.internal.__cell__.tableHeaderRow=ee},f.printHeaderRow=function(ee,Ie){if(b.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var ot;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 Et=[],ge=0;ge<this.internal.__cell__.tableHeaderRow.length;ge+=1){ot=this.internal.__cell__.tableHeaderRow[ge].clone(),Ie&&(ot.y=this.internal.__cell__.margins.top||0,Et.push(ot)),ot.lineNumber=ee;var nt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),ne.call(this,ot),this.setTextColor(nt)}Et.length>0&&this.setTableHeaderRow(Et),this.setFont(void 0,"normal"),p=!1}}(W.API);var Br={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},wn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Fn=kr(wn),Rt=[100,200,300,400,500,600,700,800,900],Sr=kr(Rt);function sr(f){var s=f.family.replace(/"|'/g,"").toLowerCase(),p=function(d){return Br[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),P=function(d){return typeof Fn[d=d||"normal"]=="number"?d:"normal"}(f.stretch);return{family:s,style:p,weight:b,stretch:P,src:f.src||[],ref:f.ref||{name:s,style:[P,p,b].join(" ")}}}function S(f,s,p,b){var P;for(P=p;P>=0&&P<s.length;P+=b)if(f[s[P]])return f[s[P]];for(P=p;P>=0&&P<s.length;P-=b)if(f[s[P]])return f[s[P]]}var v={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Gt={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 Ae(f){return f.trimLeft()}function Cn(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 Zr(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,Vt,br,Kr,an,An,St,Bt,We=["times"];function jr(f,s,p,b,P){var d=4,ne=Sn;switch(P){case W.API.image_compression.FAST:d=1,ne=Gr;break;case W.API.image_compression.MEDIUM:d=6,ne=na;break;case W.API.image_compression.SLOW:d=9,ne=mt}f=function(ee,Ie,ot,Pt){for(var Et,ge=ee.length/Ie,nt=new Uint8Array(ee.length+ge),gt=[$r,Gr,Sn,na,mt],Kt=0;Kt<ge;Kt+=1){var ct=Kt*Ie,cr=ee.subarray(ct,ct+Ie);if(Pt)nt.set(Pt(cr,ot,Et),ct+Kt);else{for(var Cr=gt.length,Qt=[],tt=0;tt<Cr;tt+=1)Qt[tt]=gt[tt](cr,ot,Et);var Se=lr(Qt.concat());nt.set(Qt[Se],ct+Kt)}Et=cr}return nt}(f,s,Math.ceil(p*b/8),ne);var Z=(0,Xe.iZ)(f,{level:d});return W.API.__addimage__.arrayBufferToBinaryString(Z)}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 P=0;P<p;P+=1){var d=f[P-s]||0;b[P+1]=f[P]-d+256&255}return b}function Sn(f,s,p){var b=f.length,P=[];P[0]=2;for(var d=0;d<b;d+=1){var ne=p&&p[d]||0;P[d+1]=f[d]-ne+256&255}return P}function na(f,s,p){var b=f.length,P=[];P[0]=3;for(var d=0;d<b;d+=1){var ne=f[d-s]||0,Z=p&&p[d]||0;P[d+1]=f[d]+256-(ne+Z>>>1)&255}return P}function mt(f,s,p){var b=f.length,P=[];P[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);P[d+1]=f[d]-ne+256&255}return P}function rr(f,s,p){if(f===s&&s===p)return f;var b=Math.abs(s-p),P=Math.abs(f-p),d=Math.abs(f+s-p-p);return b<=P&&b<=d?f:P<=d?s:p}function lr(f){var s=f.map(function(p){return p.reduce(function(b,P){return b+Math.abs(P)},0)});return s.indexOf(Math.min.apply(null,s))}function or(f,s,p){var b=s*p,P=Math.floor(b/8),d=16-(b-8*P+p),ne=(1<<p)-1;return Dr(f,P)>>d&ne}function Nr(f,s,p,b){var P=p*b,d=Math.floor(P/8),ne=16-(P-8*d+b),Z=(1<<b)-1,ee=(s&Z)<<ne;(function(Ie,ot,Pt){if(ot+1<Ie.byteLength)Ie.setUint16(ot,Pt,!1);else{var Et=Pt>>8&255;Ie.setUint8(ot,Et)}})(f,d,Dr(f,d)&~(Z<<ne)&65535|ee)}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,P=f[s++],d=P>>7,ne=1<<1+(7&P);f[s++],f[s++];var Z=null,ee=null;d&&(Z=s,ee=ne,s+=3*ne);var Ie=!0,ot=[],Pt=0,Et=null,ge=0,nt=null;for(this.width=p,this.height=b;Ie&&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,nt=f[s++]|f[s++]<<8,s++;else for(s+=12;;){if(!((ke=f[s++])>=0))throw Error("Invalid block size");if(ke===0)break;s+=ke}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,Et=f[s++],1>||(Et=null),ge=gt>>2&7,s++;break;case 254:for(;;){if(!((ke=f[s++])>=0))throw Error("Invalid block size");if(ke===0)break;s+=ke}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,cr=f[s++]|f[s++]<<8,Cr=f[s++]|f[s++]<<8,Qt=f[s++],tt=Qt>>6&1,Se=1<<1+(7&Qt),kt=Z,Ft=ee,Ct=!1;Qt>>7&&(Ct=!0,kt=s,Ft=Se,s+=3*Se);var Jt=s;for(s++;;){var ke;if(!((ke=f[s++])>=0))throw Error("Invalid block size");if(ke===0)break;s+=ke}ot.push({x:Kt,y:ct,width:cr,height:Cr,has_local_palette:Ct,palette_offset:kt,palette_size:Ft,data_offset:Jt,data_length:s-Jt,transparent_index:Et,interlaced:!!tt,delay:Pt,disposal:ge});break;case 59:Ie=!1;break;default:throw new Error("Unknown gif block: 0x"+f[s-1].toString(16))}this.numFrames=function(){return ot.length},this.loopCount=function(){return nt},this.frameInfo=function(Te){if(Te<0||Te>=ot.length)throw new Error("Frame index out of range.");return ot[Te]},this.decodeAndBlitFrameBGRA=function(Te,lt){var Ot=this.frameInfo(Te),dr=Ot.width*Ot.height,vr=new Uint8Array(dr);Tr(f,Ot.data_offset,vr,dr);var Zt=Ot.palette_offset,Mt=Ot.transparent_index;Mt===null&&(Mt=256);var ur=Ot.width,Yt=p-ur,xr=ur,je=4*(Ot.y*p+Ot.x),vt=4*((Ot.y+Ot.height)*p+Ot.x),jt=je,it=4*Yt;Ot.interlaced===!0&&(it+=4*p*7);for(var qt=8,nr=0,Or=vr.length;nr<Or;++nr){var Ar=vr[nr];if(xr===0&&(xr=ur,(jt+=it)>=vt&&(it=4*Yt+4*p*(qt-1),jt=je+(ur+Yt)*(qt<<1),qt>>=1)),Ar===Mt)jt+=4;else{var Rr=f[Zt+3*Ar],Hr=f[Zt+3*Ar+1],ln=f[Zt+3*Ar+2];lt[jt++]=ln,lt[jt++]=Hr,lt[jt++]=Rr,lt[jt++]=255}--xr}},this.decodeAndBlitFrameRGBA=function(Te,lt){var Ot=this.frameInfo(Te),dr=Ot.width*Ot.height,vr=new Uint8Array(dr);Tr(f,Ot.data_offset,vr,dr);var Zt=Ot.palette_offset,Mt=Ot.transparent_index;Mt===null&&(Mt=256);var ur=Ot.width,Yt=p-ur,xr=ur,je=4*(Ot.y*p+Ot.x),vt=4*((Ot.y+Ot.height)*p+Ot.x),jt=je,it=4*Yt;Ot.interlaced===!0&&(it+=4*p*7);for(var qt=8,nr=0,Or=vr.length;nr<Or;++nr){var Ar=vr[nr];if(xr===0&&(xr=ur,(jt+=it)>=vt&&(it=4*Yt+4*p*(qt-1),jt=je+(ur+Yt)*(qt<<1),qt>>=1)),Ar===Mt)jt+=4;else{var Rr=f[Zt+3*Ar],Hr=f[Zt+3*Ar+1],ln=f[Zt+3*Ar+2];lt[jt++]=Rr,lt[jt++]=Hr,lt[jt++]=ln,lt[jt++]=255}--xr}}}function Tr(f,s,p,b){for(var P=f[s++],d=1<<P,ne=d+1,Z=ne+1,ee=P+1,Ie=(1<<ee)-1,ot=0,Pt=0,Et=0,ge=f[s++],nt=new Int32Array(4096),gt=null;;){for(;ot<16&&ge!==0;)Pt|=f[s++]<<ot,ot+=8,ge===1?ge=f[s++]:--ge;if(ot<ee)break;var Kt=Pt&Ie;if(Pt>>=ee,ot-=ee,Kt!==d){if(Kt===ne)break;for(var ct=Kt<Z?Kt:gt,cr=0,Cr=ct;Cr>d;)Cr=nt[Cr]>>8,++cr;var Qt=Cr;if(Et+cr+(ct!==Kt?1:0)>b)return void _.log("Warning, gif stream longer than expected.");p[Et++]=Qt;var tt=Et+=cr;for(ct!==Kt&&(p[Et++]=Qt),Cr=ct;cr--;)Cr=nt[Cr],p[--tt]=255&Cr,Cr>>=8;gt!==null&&Z<4096&&(nt[Z++]=gt<<8|Qt,Z>=Ie+1&&ee<12&&(++ee,Ie=Ie<<1|1)),gt=Kt}else Z=ne+1,Ie=(1<<(ee=P+1))-1,gt=null}return Et!==b&&_.log("Warning, gif stream shorter than expected."),p}function mn(f){var s,p,b,P,d,ne=Math.floor,Z=new Array(64),ee=new Array(64),Ie=new Array(64),ot=new Array(64),Pt=new Array(65535),Et=new Array(65535),ge=new Array(64),nt=new Array(64),gt=[],Kt=0,ct=7,cr=new Array(64),Cr=new Array(64),Qt=new Array(64),tt=new Array(256),Se=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],Ct=[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],ke=[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],Te=[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],Ot=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],dr=[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 jt=0,it=0,qt=new Array,nr=1;nr<=16;nr++){for(var Or=1;Or<=je[nr];Or++)qt[vt[it]]=[],qt[vt[it]][0]=jt,qt[vt[it]][1]=nr,it++,jt++;jt*=2}return qt}function Zt(je){for(var vt=je[0],jt=je[1]-1;jt>=0;)vt&1<<jt&&(Kt|=1<<ct),jt--,--ct<0&&(Kt==255?(Mt(255),Mt(0)):Mt(Kt),ct=7,Kt=0)}function Mt(je){gt.push(je)}function ur(je){Mt(je>>8&255),Mt(255&je)}function Yt(je,vt,jt,it,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,fn=oa-ka,sa=_n+Qn,xn=_n-Qn,ha=xa+qn,Vn=xa-qn,Ha=Ln+ha,qa=Ln-ha,vn=rn+sa,Pn=rn-sa;Jr[Un]=Ha+vn,Jr[Un+4]=Ha-vn;var fa=.707106781*(Pn+qa);Jr[Un+2]=qa+fa,Jr[Un+6]=qa-fa;var Ja=.382683433*((Ha=Vn+xn)-(Pn=fn+Xn)),Ga=.5411961*Ha+Ja,io=1.306562965*Pn+Ja,so=.707106781*(vn=xn+fn),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],ge[Hn]=ea>0?ea+.5|0:ea-.5|0;return ge}(je,vt),Hr=0;Hr<64;++Hr)nt[kt[Hr]]=Rr[Hr];var ln=nt[0]-jt;jt=nt[0],ln==0?Zt(it[0]):(Zt(it[Et[nr=32767+ln]]),Zt(Pt[nr]));for(var yn=63;yn>0&&nt[yn]==0;)yn--;if(yn==0)return Zt(Or),jt;for(var Lr,Nt=1;Nt<=yn;){for(var ba=Nt;nt[Nt]==0&&Nt<=yn;)++Nt;var da=Nt-ba;if(da>=16){Lr=da>>4;for(var Wn=1;Wn<=Lr;++Wn)Zt(Ar);da&=15}nr=32767+nt[Nt],Zt(qt[(da<<4)+Et[nr]]),Zt(Pt[nr]),Nt++}return yn!=63&&Zt(Or),jt}function xr(je){je=Math.min(Math.max(je,1),100),d!=je&&(function(vt){for(var jt=[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],it=0;it<64;it++){var qt=ne((jt[it]*vt+50)/100);qt=Math.min(Math.max(qt,1),255),Z[kt[it]]=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),ee[kt[Or]]=Ar}for(var Rr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Hr=0,ln=0;ln<8;ln++)for(var yn=0;yn<8;yn++)Ie[Hr]=1/(Z[kt[Hr]]*Rr[ln]*Rr[yn]*8),ot[Hr]=1/(ee[kt[Hr]]*Rr[ln]*Rr[yn]*8),Hr++}(je<50?Math.floor(5e3/je):Math.floor(200-2*je)),d=je)}this.encode=function(je,vt){vt&&xr(vt),gt=new Array,Kt=0,ct=7,ur(65496),ur(65504),ur(16),Mt(74),Mt(70),Mt(73),Mt(70),Mt(0),Mt(1),Mt(1),Mt(0),ur(1),ur(1),Mt(0),Mt(0),function(){ur(65499),ur(132),Mt(0);for(var oa=0;oa<64;oa++)Mt(Z[oa]);Mt(1);for(var _n=0;_n<64;_n++)Mt(ee[_n])}(),function(oa,_n){ur(65472),ur(17),Mt(8),ur(_n),ur(oa),Mt(3),Mt(1),Mt(17),Mt(0),Mt(2),Mt(17),Mt(1),Mt(3),Mt(17),Mt(1)}(je.width,je.height),function(){ur(65476),ur(418),Mt(0);for(var oa=0;oa<16;oa++)Mt(Ft[oa+1]);for(var _n=0;_n<=11;_n++)Mt(Ct[_n]);Mt(16);for(var xa=0;xa<16;xa++)Mt(Jt[xa+1]);for(var qn=0;qn<=161;qn++)Mt(ke[qn]);Mt(1);for(var Qn=0;Qn<16;Qn++)Mt(Te[Qn+1]);for(var ka=0;ka<=11;ka++)Mt(lt[ka]);Mt(17);for(var ra=0;ra<16;ra++)Mt(Ot[ra+1]);for(var Hn=0;Hn<=161;Hn++)Mt(dr[Hn])}(),ur(65498),ur(12),Mt(3),Mt(1),Mt(0),Mt(2),Mt(17),Mt(3),Mt(17),Mt(0),Mt(63),Mt(0);var jt=0,it=0,qt=0;Kt=0,ct=7,this.encode.displayName="_encode_";for(var nr,Or,Ar,Rr,Hr,ln,yn,Lr,Nt,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,yn=-1,Lr=0,Nt=0;Nt<64;Nt++)ln=Hr+(Lr=Nt>>3)*Jr+(yn=4*(7&Nt)),Vr+Lr>=Wn&&(ln-=Jr*(Vr+1+Lr-Wn)),nr+yn>=Jr&&(ln-=nr+yn-Jr+4),Or=ba[ln++],Ar=ba[ln++],Rr=ba[ln++],cr[Nt]=(Se[Or]+Se[Ar+256|0]+Se[Rr+512|0]>>16)-128,Cr[Nt]=(Se[Or+768|0]+Se[Ar+1024|0]+Se[Rr+1280|0]>>16)-128,Qt[Nt]=(Se[Or+1280|0]+Se[Ar+1536|0]+Se[Rr+1792|0]>>16)-128;jt=Yt(cr,Ie,jt,s,b),it=Yt(Cr,ot,it,p,P),qt=Yt(Qt,ot,qt,p,P),nr+=32}Vr+=8}if(ct>=0){var En=[];En[1]=ct+1,En[0]=(1<<ct+1)-1,Zt(En)}return ur(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,Ct),p=vr(Te,lt),b=vr(Jt,ke),P=vr(Ot,dr),function(){for(var je=1,vt=2,jt=1;jt<=15;jt++){for(var it=je;it<vt;it++)Et[32767+it]=jt,Pt[32767+it]=[],Pt[32767+it][1]=jt,Pt[32767+it][0]=it;for(var qt=-(vt-1);qt<=-je;qt++)Et[32767+qt]=jt,Pt[32767+qt]=[],Pt[32767+qt][1]=jt,Pt[32767+qt][0]=vt-1+qt;je<<=1,vt<<=1}}(),function(){for(var je=0;je<256;je++)Se[je]=19595*je,Se[je+256|0]=38470*je,Se[je+512|0]=7471*je+32768,Se[je+768|0]=-11059*je,Se[je+1024|0]=-21709*je,Se[je+1280|0]=32768*je+8421375,Se[je+1536|0]=-27439*je,Se[je+1792|0]=-5329*je}(),xr(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(Ct){if(!Ct)throw Error("assert :P")}function p(Ct,Jt,ke){for(var Te=0;4>Te;Te++)if(Ct[Jt+Te]!=ke.charCodeAt(Te))return!0;return!1}function b(Ct,Jt,ke,Te,lt){for(var Ot=0;Ot<lt;Ot++)Ct[Jt+Ot]=ke[Te+Ot]}function P(Ct,Jt,ke,Te){for(var lt=0;lt<Te;lt++)Ct[Jt+lt]=ke}function d(Ct){return new Int32Array(Ct)}function ne(Ct,Jt){for(var ke=[],Te=0;Te<Ct;Te++)ke.push(new Jt);return ke}function Z(Ct,Jt){var ke=[];return function Te(lt,Ot,dr){for(var vr=dr[Ot],Zt=0;Zt<vr&&(lt.push(dr.length>Ot+1?[]:new Jt),!(dr.length<Ot+1));Zt++)Te(lt[Zt],Ot+1,dr)}(ke,0,Ct),ke}var ee=function(){var Ct=this;function Jt(i,m){for(var H=1<<m-1>>>0;i&H;)H>>>=1;return H?(i&H-1)+H:i}function ke(i,m,H,ce,Me){s(!(ce%H));do i[m+(ce-=H)]=Me;while(0<ce)}function Te(i,m,H,ce,Me){if(s(2328>=Me),512>=Me)var Ge=d(512);else if((Ge=d(Me))==null)return 0;return function(Qe,ut,bt,Lt,fr,zr){var zt,gr,Er=ut,Xr=1<<bt,Mr=d(16),Yr=d(16);for(s(fr!=0),s(Lt!=null),s(Qe!=null),s(0<bt),gr=0;gr<fr;++gr){if(15<Lt[gr])return 0;++Mr[Lt[gr]]}if(Mr[0]==fr)return 0;for(Yr[1]=0,zt=1;15>zt;++zt){if(Mr[zt]>1<<zt)return 0;Yr[zt+1]=Yr[zt]+Mr[zt]}for(gr=0;gr<fr;++gr)zt=Lt[gr],0<Lt[gr]&&(zr[Yr[zt]++]=gr);if(Yr[15]==1)return(Lt=new lt).g=0,Lt.value=zr[0],ke(Qe,Er,1,Xr,Lt),Xr;var en,gn=-1,hn=Xr-1,ya=0,ia=1,Za=1,pa=1<<bt;for(gr=0,zt=1,fr=2;zt<=bt;++zt,fr<<=1){if(ia+=Za<<=1,0>(Za-=Mr[zt]))return 0;for(;0<Mr[zt];--Mr[zt])(Lt=new lt).g=zt,Lt.value=zr[gr++],ke(Qe,Er+ya,fr,pa,Lt),ya=Jt(ya,zt)}for(zt=bt+1,fr=2;15>=zt;++zt,fr<<=1){if(ia+=Za<<=1,0>(Za-=Mr[zt]))return 0;for(;0<Mr[zt];--Mr[zt]){if(Lt=new lt,(ya&hn)!=gn){for(Er+=pa,en=1<<(gn=zt)-bt;15>gn&&!(0>=(en-=Mr[gn]));)++gn,en<<=1;Xr+=pa=1<<(en=gn-bt),Qe[ut+(gn=ya&hn)].g=en+bt,Qe[ut+gn].value=Er-ut-gn}Lt.g=zt-bt,Lt.value=zr[gr++],ke(Qe,Er+(ya>>bt),fr,pa,Lt),ya=Jt(ya,zt)}}return ia!=2*Yr[15]-1?0:Xr}(i,m,H,ce,Me,Ge)}function lt(){this.value=this.g=0}function Ot(){this.value=this.g=0}function dr(){this.G=ne(5,lt),this.H=d(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=ne(pn,Ot)}function vr(i,m,H,ce){s(i!=null),s(m!=null),s(2147483648>ce),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=m,i.pa=H,i.Jd=m,i.Yc=H+ce,i.Zc=4<=ce?H+ce-4+1:H,Or(i)}function Zt(i,m){for(var H=0;0<m--;)H|=Rr(i,128)<<m;return H}function Mt(i,m){var H=Zt(i,m);return Ar(i)?-H:H}function ur(i,m,H,ce){var Me,Ge=0;for(s(i!=null),s(m!=null),s(4294967288>ce),i.Sb=ce,i.Ra=0,i.u=0,i.h=0,4<ce&&(ce=4),Me=0;Me<ce;++Me)Ge+=m[H+Me]<<8*Me;i.Ra=Ge,i.bb=ce,i.oa=m,i.pa=H}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;it(i)&&(i.h=1,i.u=0)}function xr(i,m){if(s(0<=m),!i.h&&m<=Tn){var H=jt(i)&Nn[m];return i.u+=m,Yt(i),H}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 jt(i){return i.Ra>>>(i.u&ca-1)>>>0}function it(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=it(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 H=i.Ca;0>i.b&&Or(i);var ce=i.b,Me=H*m>>>8,Ge=(i.I>>>ce>Me)+0;for(Ge?(H-=Me,i.I-=Me+1<<ce>>>0):H=Me+1,ce=H,Me=0;256<=ce;)Me+=8,ce>>=8;return ce=7^Me+Pa[ce],i.b-=ce,i.Ca=(H<<ce)-1,Ge}function Hr(i,m,H){i[m+0]=H>>24&255,i[m+1]=H>>16&255,i[m+2]=H>>8&255,i[m+3]=255&H}function ln(i,m){return i[m+0]|i[m+1]<<8}function yn(i,m){return ln(i,m)|i[m+2]<<16}function Lr(i,m){return ln(i,m)|ln(i,m+2)<<16}function Nt(i,m){var H=1<<m;return s(i!=null),s(0<m),i.X=d(H),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,H,ce){s(H!=null),s(ce!=null);var Me=H[0],Ge=ce[0];return Me==0&&(Me=(i*Ge+m/2)/m),Ge==0&&(Ge=(m*Me+i/2)/i),0>=Me||0>=Ge?0:(H[0]=Me,ce[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){Ct[m]=function(H,ce,Me,Ge,Qe,ut,bt){var Lt;for(Lt=0;Lt<Qe;++Lt){var fr=Ct[i](ut[bt+Lt-1],Me,Ge+Lt);ut[bt+Lt]=Vr(H[ce+Lt],fr)}}}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,H){return Math.abs(m-H)-Math.abs(i-H)}function ka(i,m,H,ce,Me,Ge,Qe){for(ce=Ge[Qe-1],H=0;H<Me;++H)Ge[Qe+H]=ce=Vr(i[m+H],ce)}function ra(i,m,H,ce,Me){var Ge;for(Ge=0;Ge<H;++Ge){var Qe=i[m+Ge],ut=Qe>>8&255,bt=16711935&(bt=(bt=16711935&Qe)+((ut<<16)+ut));ce[Me+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,H,ce,Me,Ge){var Qe;for(Qe=0;Qe<ce;++Qe){var ut=m[H+Qe],bt=ut>>>8,Lt=ut,fr=255&(fr=(fr=ut>>>16)+((i.jd<<24>>24)*(bt<<24>>24)>>>5));Lt=255&(Lt=(Lt+=(i.hd<<24>>24)*(bt<<24>>24)>>>5)+((i.ud<<24>>24)*(fr<<24>>24)>>>5)),Me[Ge+Qe]=(4278255360&ut)+(fr<<16)+Lt}}function Un(i,m,H,ce,Me){Ct[m]=function(Ge,Qe,ut,bt,Lt,fr,zr,zt,gr){for(bt=zr;bt<zt;++bt)for(zr=0;zr<gr;++zr)Lt[fr++]=Me(ut[ce(Ge[Qe++])])},Ct[i]=function(Ge,Qe,ut,bt,Lt,fr,zr){var zt=8>>Ge.b,gr=Ge.Ea,Er=Ge.K[0],Xr=Ge.w;if(8>zt)for(Ge=(1<<Ge.b)-1,Xr=(1<<zt)-1;Qe<ut;++Qe){var Mr,Yr=0;for(Mr=0;Mr<gr;++Mr)Mr&Ge||(Yr=ce(bt[Lt++])),fr[zr++]=Me(Er[Yr&Xr]),Yr>>=zt}else Ct["VP8LMapColor"+H](bt,Lt,Er,Xr,fr,zr,Qe,ut,gr)}}function Ln(i,m,H,ce,Me){for(H=m+H;m<H;){var Ge=i[m++];ce[Me++]=Ge>>16&255,ce[Me++]=Ge>>8&255,ce[Me++]=255&Ge}}function Xn(i,m,H,ce,Me){for(H=m+H;m<H;){var Ge=i[m++];ce[Me++]=Ge>>16&255,ce[Me++]=Ge>>8&255,ce[Me++]=255&Ge,ce[Me++]=Ge>>24&255}}function rn(i,m,H,ce,Me){for(H=m+H;m<H;){var Ge=(Qe=i[m++])>>16&240|Qe>>12&15,Qe=240&Qe|Qe>>28&15;ce[Me++]=Ge,ce[Me++]=Qe}}function fn(i,m,H,ce,Me){for(H=m+H;m<H;){var Ge=(Qe=i[m++])>>16&248|Qe>>13&7,Qe=Qe>>5&224|Qe>>3&31;ce[Me++]=Ge,ce[Me++]=Qe}}function sa(i,m,H,ce,Me){for(H=m+H;m<H;){var Ge=i[m++];ce[Me++]=255&Ge,ce[Me++]=Ge>>8&255,ce[Me++]=Ge>>16&255}}function xn(i,m,H,ce,Me,Ge){if(Ge==0)for(H=m+H;m<H;)Hr(ce,((Ge=i[m++])[0]>>24|Ge[1]>>8&65280|Ge[2]<<8&16711680|Ge[3]<<24)>>>0),Me+=32;else b(ce,Me,i,m,H)}function ha(i,m){Ct[m][0]=Ct[i+"0"],Ct[m][1]=Ct[i+"1"],Ct[m][2]=Ct[i+"2"],Ct[m][3]=Ct[i+"3"],Ct[m][4]=Ct[i+"4"],Ct[m][5]=Ct[i+"5"],Ct[m][6]=Ct[i+"6"],Ct[m][7]=Ct[i+"7"],Ct[m][8]=Ct[i+"8"],Ct[m][9]=Ct[i+"9"],Ct[m][10]=Ct[i+"10"],Ct[m][11]=Ct[i+"11"],Ct[m][12]=Ct[i+"12"],Ct[m][13]=Ct[i+"13"],Ct[m][14]=Ct[i+"0"],Ct[m][15]=Ct[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 vn(){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 H=i.T,ce=m.ba.f.RGBA,Me=ce.eb,Ge=ce.fb+i.ka*ce.A,Qe=_i[m.ba.S],ut=i.y,bt=i.O,Lt=i.f,fr=i.N,zr=i.ea,zt=i.W,gr=m.cc,Er=m.dc,Xr=m.Mc,Mr=m.Nc,Yr=i.ka,en=i.ka+i.T,gn=i.U,hn=gn+1>>1;for(Yr==0?Qe(ut,bt,null,null,Lt,fr,zr,zt,Lt,fr,zr,zt,Me,Ge,null,null,gn):(Qe(m.ec,m.fc,ut,bt,gr,Er,Xr,Mr,Lt,fr,zr,zt,Me,Ge-ce.A,Me,Ge,gn),++H);Yr+2<en;Yr+=2)gr=Lt,Er=fr,Xr=zr,Mr=zt,fr+=i.Rc,zt+=i.Rc,Ge+=2*ce.A,Qe(ut,(bt+=2*i.fa)-i.fa,ut,bt,gr,Er,Xr,Mr,Lt,fr,zr,zt,Me,Ge-ce.A,Me,Ge,gn);return bt+=i.fa,i.j+en<i.o?(b(m.ec,m.fc,ut,bt,gn),b(m.cc,m.dc,Lt,fr,hn),b(m.Mc,m.Nc,zr,zt,hn),H--):1&en||Qe(ut,bt,null,null,Lt,fr,zr,zt,Lt,fr,zr,zt,Me,Ge+ce.A,null,null,gn),H}function io(i,m,H){var ce=i.F,Me=[i.J];if(ce!=null){var Ge=i.U,Qe=m.ba.S,ut=Qe==t0||Qe==r0;m=m.ba.f.RGBA;var bt=[0],Lt=i.ka;bt[0]=i.T,i.Kb&&(Lt==0?--bt[0]:(--Lt,Me[0]-=i.width),i.j+i.ka+i.T==i.o&&(bt[0]=i.o-i.j-Lt));var fr=m.eb;Lt=m.fb+Lt*m.A,i=Ds(ce,Me[0],i.width,Ge,bt,fr,Lt+(ut?0:3),m.A),s(H==bt),i&&Vn(Qe)&&bs(fr,Lt,ut,Ge,bt,m.A)}return 0}function so(i){var m=i.ma,H=m.ba.S,ce=11>H,Me=H==Qs||H==e0||H==t0||H==m0||H==12||Vn(H);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!Ur(m.Oa,i,Me?11:12))return 0;if(Me&&Vn(H)&&Wr(),i.da)alert("todo:use_scaling");else{if(ce){if(m.Ib=Ja,i.Kb){if(H=i.U+1>>1,m.memory=d(i.U+2*H),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+H,m.Ib=Ga,Wr()}}else alert("todo:EmitYUV");Me&&(m.Jb=io,ce&&ar())}if(ce&&!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]=ye(m,255),Ml[i-Zs]=ye(m+8>>4,15);K0=1}return 1}function la(i){var m=i.ma,H=i.U,ce=i.T;return s(!(1&i.ka)),0>=H||0>=ce?0:(H=m.Ib(i,m),m.Jb!=null&&m.Jb(i,m,H),m.Dc+=H,1)}function Io(i){i.ma.memory=null}function Aa(i,m,H,ce){return xr(i,8)!=47?0:(m[0]=xr(i,14)+1,H[0]=xr(i,14)+1,ce[0]=xr(i,1),xr(i,3)!=0?0:!i.h)}function ja(i,m){if(4>i)return i+1;var H=i-2>>1;return(2+(1&i)<<H)+xr(m,H)+1}function Ta(i,m){return 120<m?m-120:1<=(H=((H=fl[m-1])>>4)*i+(8-(15&H)))?H:1;var H}function Na(i,m,H){var ce=jt(H),Me=i[m+=255&ce].g-8;return 0<Me&&(qt(H,H.u+8),ce=jt(H),m+=i[m].value,m+=ce&(1<<Me)-1),qt(H,H.u+i[m].g),i[m].value}function Ba(i,m,H){return H.g+=i.g,H.value+=i.value<<m>>>0,s(8>=H.g),i.g}function ma(i,m,H){var ce=i.xc;return s((m=ce==0?0:i.vc[i.md*(H>>ce)+(m>>ce)])<i.Wb),i.Ya[m]}function Ka(i,m,H,ce){var Me=i.ab,Ge=i.c*m,Qe=i.C;m=Qe+m;var ut=H,bt=ce;for(ce=i.Ta,H=i.Ua;0<Me--;){var Lt=i.gc[Me],fr=Qe,zr=m,zt=ut,gr=bt,Er=(bt=ce,ut=H,Lt.Ea);switch(s(fr<zr),s(zr<=Lt.nc),Lt.hc){case 2:Sa(zt,gr,(zr-fr)*Er,bt,ut);break;case 0:var Xr=fr,Mr=zr,Yr=bt,en=ut,gn=(pa=Lt).Ea;Xr==0&&($a(zt,gr,null,null,1,Yr,en),ka(zt,gr+1,0,0,gn-1,Yr,en+1),gr+=gn,en+=gn,++Xr);for(var hn=1<<pa.b,ya=hn-1,ia=Jr(gn,pa.b),Za=pa.K,pa=pa.w+(Xr>>pa.b)*ia;Xr<Mr;){var Ya=Za,Vo=pa,Va=1;for(Fa(zt,gr,Yr,en-gn,1,Yr,en);Va<gn;){var ga=(Va&~ya)+hn;ga>gn&&(ga=gn),(0,vo[Ya[Vo++]>>8&15])(zt,gr+ +Va,Yr,en+Va-gn,ga-Va,Yr,en+Va),Va=ga}gr+=gn,en+=gn,++Xr&ya||(pa+=ia)}zr!=Lt.nc&&b(bt,ut-Er,bt,ut+(zr-fr-1)*Er,Er);break;case 1:for(Er=zt,Mr=gr,gn=(zt=Lt.Ea)-(en=zt&~(Yr=(gr=1<<Lt.b)-1)),Xr=Jr(zt,Lt.b),hn=Lt.K,Lt=Lt.w+(fr>>Lt.b)*Xr;fr<zr;){for(ya=hn,ia=Lt,Za=new oa,pa=Mr+en,Ya=Mr+zt;Mr<pa;)Hn(ya[ia++],Za),ri(Za,Er,Mr,gr,bt,ut),Mr+=gr,ut+=gr;Mr<Ya&&(Hn(ya[ia++],Za),ri(Za,Er,Mr,gn,bt,ut),Mr+=gn,ut+=gn),++fr&Yr||(Lt+=Xr)}break;case 3:if(zt==bt&&gr==ut&&0<Lt.b){for(Mr=bt,zt=Er=ut+(zr-fr)*Er-(en=(zr-fr)*Jr(Lt.Ea,Lt.b)),gr=bt,Yr=ut,Xr=[],en=(gn=en)-1;0<=en;--en)Xr[en]=gr[Yr+en];for(en=gn-1;0<=en;--en)Mr[zt+en]=Xr[en];fo(Lt,fr,zr,bt,Er,bt,ut)}else fo(Lt,fr,zr,zt,gr,bt,ut)}ut=ce,bt=H}bt!=H&&b(ce,H,ut,bt,Ge)}function La(i,m){var H=i.V,ce=i.Ba+i.c*i.C,Me=m-i.C;if(s(m<=i.l.o),s(16>=Me),0<Me){var Ge=i.l,Qe=i.Ta,ut=i.Ua,bt=Ge.width;if(Ka(i,Me,H,ce),Me=ut=[ut],s((H=i.C)<(ce=m)),s(Ge.v<Ge.va),ce>Ge.o&&(ce=Ge.o),H<Ge.j){var Lt=Ge.j-H;H=Ge.j,Me[0]+=Lt*bt}if(H>=ce?H=0:(Me[0]+=4*Ge.v,Ge.ka=H-Ge.j,Ge.U=Ge.va-Ge.v,Ge.T=ce-H,H=1),H){if(ut=ut[0],11>(H=i.ca).S){var fr=H.f.RGBA,zr=(ce=H.S,Me=Ge.U,Ge=Ge.T,Lt=fr.eb,fr.A),zt=Ge;for(fr=fr.fb+i.Ma*fr.A;0<zt--;){var gr=Qe,Er=ut,Xr=Me,Mr=Lt,Yr=fr;switch(ce){case Js:Oo(gr,Er,Xr,Mr,Yr);break;case Qs:Wo(gr,Er,Xr,Mr,Yr);break;case p0:Wo(gr,Er,Xr,Mr,Yr),bs(Mr,Yr,0,Xr,1,0);break;case D0:Si(gr,Er,Xr,Mr,Yr);break;case e0:xn(gr,Er,Xr,Mr,Yr,1);break;case g0:xn(gr,Er,Xr,Mr,Yr,1),bs(Mr,Yr,0,Xr,1,0);break;case t0:xn(gr,Er,Xr,Mr,Yr,0);break;case r0:xn(gr,Er,Xr,Mr,Yr,0),bs(Mr,Yr,1,Xr,1,0);break;case m0:Yo(gr,Er,Xr,Mr,Yr);break;case v0:Yo(gr,Er,Xr,Mr,Yr),zs(Mr,Yr,Xr,1,0);break;case R0:hi(gr,Er,Xr,Mr,Yr);break;default:s(0)}ut+=bt,fr+=zr}i.Ma+=Ge}else alert("todo:EmitRescaledRowsYUVA");s(i.Ma<=H.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 H=i.Ya[m].G,ce=i.Ya[m].H;if(0<H[1][ce[1]+0].g||0<H[2][ce[2]+0].g||0<H[3][ce[3]+0].g)return 0}return 1}function eo(i,m,H,ce,Me,Ge){if(i.Z!=0){var Qe=i.qd,ut=i.rd;for(s($s[i.Z]!=null);m<H;++m)$s[i.Z](Qe,ut,ce,Me,ce,Me,Ge),Qe=ce,ut=Me,Me+=Ge;i.qd=Qe,i.rd=ut}}function lo(i,m){var H=i.l.ma,ce=H.Z==0||H.Z==1?i.l.j:i.C;if(ce=i.C<ce?ce:i.C,s(m<=i.l.o),m>ce){var Me=i.l.width,Ge=H.ca,Qe=H.tb+Me*ce,ut=i.V,bt=i.Ba+i.c*ce,Lt=i.gc;s(i.ab==1),s(Lt[0].hc==3),Po(Lt[0],ce,m,ut,bt,Ge,Qe),eo(H,ce,m,Ge,Qe,Me)}i.C=i.Ma=m}function Ao(i,m,H,ce,Me,Ge,Qe){var ut=i.$/ce,bt=i.$%ce,Lt=i.m,fr=i.s,zr=H+i.$,zt=zr;Me=H+ce*Me;var gr=H+ce*Ge,Er=280+fr.ua,Xr=i.Pb?ut:16777216,Mr=0<fr.ua?fr.Wa:null,Yr=fr.wc,en=zr<gr?ma(fr,bt,ut):null;s(i.C<Ge),s(gr<=Me);var gn=!1;e:for(;;){for(;gn||zr<gr;){var hn=0;if(ut>=Xr){var ya=zr-H;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||(en=ma(fr,bt,ut)),s(en!=null),en.Qb&&(m[zr]=en.qb,gn=!0),!gn)if(nr(Lt),en.jc){hn=Lt,ya=m;var ia=zr,Za=en.pd[jt(hn)&pn-1];s(en.jc),256>Za.g?(qt(hn,hn.u+Za.g),ya[ia]=Za.value,hn=0):(qt(hn,hn.u+Za.g-256),s(256<=Za.value),hn=Za.value),hn==0&&(gn=!0)}else hn=Na(en.G[0],en.H[0],Lt);if(Lt.h)break;if(gn||256>hn){if(!gn)if(en.nd)m[zr]=(en.qb|hn<<8)>>>0;else{if(nr(Lt),gn=Na(en.G[1],en.H[1],Lt),nr(Lt),ya=Na(en.G[2],en.H[2],Lt),ia=Na(en.G[3],en.H[3],Lt),Lt.h)break;m[zr]=(ia<<24|gn<<16|hn<<8|ya)>>>0}if(gn=!1,++zr,++bt>=ce&&(bt=0,++ut,Qe!=null&&ut<=Ge&&!(ut%16)&&Qe(i,ut),Mr!=null))for(;zt<zr;)hn=m[zt++],Mr.X[(506832829*hn&4294967295)>>>Mr.Mb]=hn}else if(280>hn){if(hn=ja(hn-256,Lt),ya=Na(en.G[4],en.H[4],Lt),nr(Lt),ya=Ta(ce,ya=ja(ya,Lt)),Lt.h)break;if(zr-H<ya||Me-zr<hn)break e;for(ia=0;ia<hn;++ia)m[zr+ia]=m[zr+ia-ya];for(zr+=hn,bt+=hn;bt>=ce;)bt-=ce,++ut,Qe!=null&&ut<=Ge&&!(ut%16)&&Qe(i,ut);if(s(zr<=Me),bt&Yr&&(en=ma(fr,bt,ut)),Mr!=null)for(;zt<zr;)hn=m[zt++],Mr.X[(506832829*hn&4294967295)>>>Mr.Mb]=hn}else{if(!(hn<Er))break e;for(gn=hn-280,s(Mr!=null);zt<zr;)hn=m[zt++],Mr.X[(506832829*hn&4294967295)>>>Mr.Mb]=hn;hn=zr,s(!(gn>>>(ya=Mr).Xa)),m[hn]=ya.X[gn],gn=!0}gn||s(Lt.h==it(Lt))}if(i.Pb&&Lt.h&&zr<Me)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(Lt.h)break e;Qe!=null&&Qe(i,ut>Ge?Ge:ut),i.a=0,i.$=zr-H}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 te;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=fn,Si=sa,Ct.VP8LMapColor32b=Ua,Ct.VP8LMapColor8b=jo,i)}function Uo(i,m,H,ce,Me){var Ge=1,Qe=[i],ut=[m],bt=ce.m,Lt=ce.s,fr=null,zr=0;e:for(;;){if(H)for(;Ge&&xr(bt,1);){var zt=Qe,gr=ut,Er=ce,Xr=1,Mr=Er.m,Yr=Er.gc[Er.ab],en=xr(Mr,2);if(Er.Oc&1<<en)Ge=0;else{switch(Er.Oc|=1<<en,Yr.hc=en,Yr.Ea=zt[0],Yr.nc=gr[0],Yr.K=[null],++Er.ab,s(4>=Er.ab),en){case 0:case 1:Yr.b=xr(Mr,3)+2,Xr=Uo(Jr(Yr.Ea,Yr.b),Jr(Yr.nc,Yr.b),0,Er,Yr.K),Yr.K=Yr.K[0];break;case 3:var gn,hn=xr(Mr,8)+1,ya=16<hn?0:4<hn?1:2<hn?2:3;if(zt[0]=Jr(Yr.Ea,ya),Yr.b=ya,gn=Xr=Uo(hn,1,0,Er,Yr.K)){var ia,Za=hn,pa=Yr,Ya=1<<(8>>pa.b),Vo=d(Ya);if(Vo==null)gn=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,gn=1}}Xr=gn;break;case 2:break;default:s(0)}Ge=Xr}}if(Qe=Qe[0],ut=ut[0],Ge&&xr(bt,1)&&!(Ge=1<=(zr=xr(bt,4))&&11>=zr)){ce.a=3;break e}var Rn;if(Rn=Ge)t:{var Fo,Da,to,Eo=ce,qo=Qe,fi=ut,Bo=zr,oi=H,mi=Eo.m,Go=Eo.s,no=[null],mo=1,Lo=0,po=ml[Bo];r:for(;;){if(oi&&xr(mi,1)){var Jo=xr(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,dr);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=xr(Ps,1);if(P(Vs,0,0,w0),Dl){var Rl=xr(Ps,1)+1,Fl=xr(Ps,1),Y0=xr(Ps,Fl==0?1:8);Vs[Y0]=1,Rl==2&&(Vs[Y0=xr(Ps,8)]=1);var l0=1}else{var q0=d(19),J0=xr(Ps,4)+4;if(19<J0){s0.a=3;var c0=0;break a}for(i0=0;i0<J0;++i0)q0[hl[i0]]=xr(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(;Te(rl,0,7,kl,19);){if(xr(js,1)){var Hl=2+2*xr(js,3);if((C0=2+xr(js,Hl))>u0)break n}else C0=u0;for(Gs=0;Gs<u0&&C0--;){nr(js);var nl=rl[0+(127&jt(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=xr(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=Te(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<pn;++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,Rn=1;break t}Rn=0}if(!(Ge=Rn)){ce.a=3;break e}if(0<zr){if(Lt.ua=1<<zr,!Nt(Lt.Wa,zr)){ce.a=1,Ge=0;break e}}else Lt.ua=0;var I0=ce,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,H){ce.xb=Sl;break e}if((fr=d(Qe*ut))==null){ce.a=1,Ge=0;break e}Ge=(Ge=Ao(ce,fr,0,Qe,ut,ut,null))&&!bt.h;break e}return Ge?(Me!=null?Me[0]=fr:(s(fr==null),s(H)),ce.$=0,H||Co(Lt)):Co(Lt),Ge}function ho(i,m){var H=i.c*i.i,ce=H+m+16*m;return s(i.c<=m),i.V=d(ce),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+H+m,1)}function No(i,m){var H=i.C,ce=m-H,Me=i.V,Ge=i.Ba+i.c*H;for(s(m<=i.l.o);0<ce;){var Qe=16<ce?16:ce,ut=i.l.ma,bt=i.l.width,Lt=bt*Qe,fr=ut.ca,zr=ut.tb+bt*H,zt=i.Ta,gr=i.Ua;Ka(i,Qe,Me,Ge),N0(zt,gr,fr,zr,Lt),eo(ut,H,H+Qe,fr,zr,bt),ce-=Qe,Me+=Qe*i.c,H+=Qe}s(H==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(H,ce,Me){for(var Ge=Me[ce],Qe=0;Qe<Ge&&(H.push(Me.length>ce+1?[]:0),!(Me.length<ce+1));Qe++)m(H[Qe],ce+1,Me)}(i,0,[3,11]),i}()}function zo(){this.jb=d(3),this.Wc=Z([4,8],ei),this.Xc=Z([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=Z([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,H){return i.a==0&&(i.a=m,i.sc=H,i.cb=0),0}function $o(i,m,H){return 3<=H&&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 H=m.data,ce=m.w,Me=m.ha;if(4>Me)return za(i,7,"Truncated header.");var Ge=H[ce+0]|H[ce+1]<<8|H[ce+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.");ce+=3,Me-=3;var ut=i.Kc;if(Qe.Rb){if(7>Me)return za(i,7,"cannot parse picture header");if(!$o(H,ce,Me))return za(i,3,"Bad code word");ut.c=16383&(H[ce+4]<<8|H[ce+3]),ut.Td=H[ce+4]>>6,ut.i=16383&(H[ce+6]<<8|H[ce+5]),ut.Ud=H[ce+6]>>6,ce+=7,Me-=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,P((Ge=i.Pa).jb,0,255,Ge.jb.length),s((Ge=i.Qa)!=null),Ge.Cb=0,Ge.Bb=0,Ge.Fb=1,P(Ge.Zb,0,0,Ge.Zb.length),P(Ge.Lb,0,0,Ge.Lb)}if(Qe.ub>Me)return za(i,7,"bad partition length");vr(Ge=i.m,H,ce,Qe.ub),ce+=Qe.ub,Me-=Qe.ub,Qe.Rb&&(ut.Ld=Ar(Ge),ut.Kd=Ar(Ge)),ut=i.Qa;var bt,Lt=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)?Mt(Ge,7):0;for(bt=0;4>bt;++bt)ut.Lb[bt]=Ar(Ge)?Mt(Ge,6):0}if(ut.Bb)for(bt=0;3>bt;++bt)Lt.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(Lt=0;4>Lt;++Lt)Ar(Ge)&&(ut.vd[Lt]=Mt(Ge,6));for(Lt=0;4>Lt;++Lt)Ar(Ge)&&(ut.od[Lt]=Mt(Ge,6))}if(i.L=ut.Tb==0?0:ut.zd?1:2,Ge.Ka)return za(i,3,"cannot parse filter header");var fr=Me;if(Me=bt=ce,ce=bt+fr,ut=fr,i.Xb=(1<<Zt(i.m,2))-1,fr<3*(Lt=i.Xb))H=7;else{for(bt+=3*Lt,ut-=3*Lt,fr=0;fr<Lt;++fr){var zr=H[Me+0]|H[Me+1]<<8|H[Me+2]<<16;zr>ut&&(zr=ut),vr(i.Jc[+fr],H,bt,zr),bt+=zr,ut-=zr,Me+=3}vr(i.Jc[+Lt],H,bt,ut),H=bt<ce?0:5}if(H!=0)return za(i,H,"cannot parse partitions");for(H=Zt(bt=i.m,7),Me=Ar(bt)?Mt(bt,4):0,ce=Ar(bt)?Mt(bt,4):0,ut=Ar(bt)?Mt(bt,4):0,Lt=Ar(bt)?Mt(bt,4):0,bt=Ar(bt)?Mt(bt,4):0,fr=i.Qa,zr=0;4>zr;++zr){if(fr.Cb){var zt=fr.Zb[zr];fr.Fb||(zt+=H)}else{if(0<zr){i.pb[zr]=i.pb[0];continue}zt=H}var gr=i.pb[zr];gr.Sc[0]=b0[ye(zt+Me,127)],gr.Sc[1]=y0[ye(zt+0,127)],gr.Eb[0]=2*b0[ye(zt+ce,127)],gr.Eb[1]=101581*y0[ye(zt+ut,127)]>>16,8>gr.Eb[1]&&(gr.Eb[1]=8),gr.Qc[0]=b0[ye(zt+Lt,117)],gr.Qc[1]=y0[ye(zt+bt,127)],gr.lc=zt+bt}if(!Qe.Rb)return za(i,4,"Not a key frame.");for(Ar(Ge),Qe=i.Pa,H=0;4>H;++H){for(Me=0;8>Me;++Me)for(ce=0;3>ce;++ce)for(ut=0;11>ut;++ut)Lt=Rr(Ge,xl[H][Me][ce][ut])?Zt(Ge,8):bl[H][Me][ce][ut],Qe.Wc[H][Me].Yb[ce][ut]=Lt;for(Me=0;17>Me;++Me)Qe.Xc[H][Me]=Qe.Wc[H][wl[Me]]}return i.kc=Ar(Ge),i.kc&&(i.Bd=Zt(Ge,8)),i.cb=1}function co(i,m,H,ce,Me,Ge,Qe){var ut=m[Me].Yb[H];for(H=0;16>Me;++Me){if(!Rr(i,ut[H+0]))return Me;for(;!Rr(i,ut[H+1]);)if(ut=m[++Me].Yb[0],H=0,Me==16)return 16;var bt=m[Me+1].Yb;if(Rr(i,ut[H+2])){var Lt=i,fr=0;if(Rr(Lt,(zt=ut)[(zr=H)+3]))if(Rr(Lt,zt[zr+6])){for(ut=0,zr=2*(fr=Rr(Lt,zt[zr+8]))+(zt=Rr(Lt,zt[zr+9+fr])),fr=0,zt=gl[zr];zt[ut];++ut)fr+=fr+Rr(Lt,zt[ut]);fr+=3+(8<<zr)}else Rr(Lt,zt[zr+7])?(fr=7+2*Rr(Lt,165),fr+=Rr(Lt,145)):fr=5+Rr(Lt,159);else fr=Rr(Lt,zt[zr+4])?3+Rr(Lt,zt[zr+5]):2;ut=bt[2]}else fr=1,ut=bt[1];bt=Qe+vl[Me],0>(Lt=i).b&&Or(Lt);var zr,zt=Lt.b,gr=(zr=Lt.Ca>>1)-(Lt.I>>zt)>>31;--Lt.b,Lt.Ca+=gr,Lt.Ca|=1,Lt.I-=(zr+1&gr)<<zt,Ge[bt]=((fr^gr)-gr)*ce[(0<Me)+0]}return 16}function go(i){var m=i.rb[i.sb-1];m.la=0,m.Na=0,P(i.zc,0,0,i.zc.length),i.ja=0}function wo(i,m,H,ce,Me){Me=i[m+H+32*ce]+(Me>>3),i[m+H+32*ce]=-256&Me?0>Me?0:255:Me}function Ri(i,m,H,ce,Me,Ge){wo(i,m,0,H,ce+Me),wo(i,m,1,H,ce+Ge),wo(i,m,2,H,ce-Ge),wo(i,m,3,H,ce-Me)}function Xa(i){return(20091*i>>16)+i}function Xi(i,m,H,ce){var Me,Ge=0,Qe=d(16);for(Me=0;4>Me;++Me){var ut=i[m+0]+i[m+8],bt=i[m+0]-i[m+8],Lt=(35468*i[m+4]>>16)-Xa(i[m+12]),fr=Xa(i[m+4])+(35468*i[m+12]>>16);Qe[Ge+0]=ut+fr,Qe[Ge+1]=bt+Lt,Qe[Ge+2]=bt-Lt,Qe[Ge+3]=ut-fr,Ge+=4,m++}for(Me=Ge=0;4>Me;++Me)ut=(i=Qe[Ge+0]+4)+Qe[Ge+8],bt=i-Qe[Ge+8],Lt=(35468*Qe[Ge+4]>>16)-Xa(Qe[Ge+12]),wo(H,ce,0,0,ut+(fr=Xa(Qe[Ge+4])+(35468*Qe[Ge+12]>>16))),wo(H,ce,1,0,bt+Lt),wo(H,ce,2,0,bt-Lt),wo(H,ce,3,0,ut-fr),Ge++,ce+=32}function Ei(i,m,H,ce){var Me=i[m+0]+4,Ge=35468*i[m+4]>>16,Qe=Xa(i[m+4]),ut=35468*i[m+1]>>16;Ri(H,ce,0,Me+Qe,i=Xa(i[m+1]),ut),Ri(H,ce,1,Me+Ge,i,ut),Ri(H,ce,2,Me-Ge,i,ut),Ri(H,ce,3,Me-Qe,i,ut)}function Fi(i,m,H,ce,Me){Xi(i,m,H,ce),Me&&Xi(i,m+16,H,ce+4)}function Ss(i,m,H,ce){ni(i,m+0,H,ce,1),ni(i,m+32,H,ce+128,1)}function ci(i,m,H,ce){var Me;for(i=i[m+0]+4,Me=0;4>Me;++Me)for(m=0;4>m;++m)wo(H,ce,m,Me,i)}function ss(i,m,H,ce){i[m+0]&&_a(i,m+0,H,ce),i[m+16]&&_a(i,m+16,H,ce+4),i[m+32]&&_a(i,m+32,H,ce+128),i[m+48]&&_a(i,m+48,H,ce+128+4)}function ls(i,m,H,ce){var Me,Ge=d(16);for(Me=0;4>Me;++Me){var Qe=i[m+0+Me]+i[m+12+Me],ut=i[m+4+Me]+i[m+8+Me],bt=i[m+4+Me]-i[m+8+Me],Lt=i[m+0+Me]-i[m+12+Me];Ge[0+Me]=Qe+ut,Ge[8+Me]=Qe-ut,Ge[4+Me]=Lt+bt,Ge[12+Me]=Lt-bt}for(Me=0;4>Me;++Me)Qe=(i=Ge[0+4*Me]+3)+Ge[3+4*Me],ut=Ge[1+4*Me]+Ge[2+4*Me],bt=Ge[1+4*Me]-Ge[2+4*Me],Lt=i-Ge[3+4*Me],H[ce+0]=Qe+ut>>3,H[ce+16]=Lt+bt>>3,H[ce+32]=Qe-ut>>3,H[ce+48]=Lt-bt>>3,ce+=64}function ui(i,m,H){var ce,Me=m-32,Ge=ji,Qe=255-i[Me-1];for(ce=0;ce<H;++ce){var ut,bt=Ge,Lt=Qe+i[m-1];for(ut=0;ut<H;++ut)i[m+ut]=bt[Lt+i[Me+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 H;for(H=0;16>H;++H)b(i,m+32*H,i,m-32,16)}function ki(i,m){var H;for(H=16;0<H;--H)P(i,m,i[m-1],16),m+=32}function bi(i,m,H){var ce;for(ce=0;16>ce;++ce)P(m,H+32*ce,i,16)}function di(i,m){var H,ce=16;for(H=0;16>H;++H)ce+=i[m-1+32*H]+i[m+H-32];bi(ce>>5,i,m)}function ms(i,m){var H,ce=8;for(H=0;16>H;++H)ce+=i[m-1+32*H];bi(ce>>4,i,m)}function Xo(i,m){var H,ce=8;for(H=0;16>H;++H)ce+=i[m+H-32];bi(ce>>4,i,m)}function yi(i,m){bi(128,i,m)}function Ia(i,m,H){return i+2*m+H+2>>2}function Os(i,m){var H,ce=m-32;for(ce=new Uint8Array([Ia(i[ce-1],i[ce+0],i[ce+1]),Ia(i[ce+0],i[ce+1],i[ce+2]),Ia(i[ce+1],i[ce+2],i[ce+3]),Ia(i[ce+2],i[ce+3],i[ce+4])]),H=0;4>H;++H)b(i,m+32*H,ce,0,ce.length)}function ps(i,m){var H=i[m-1],ce=i[m-1+32],Me=i[m-1+64],Ge=i[m-1+96];Hr(i,m+0,16843009*Ia(i[m-1-32],H,ce)),Hr(i,m+32,16843009*Ia(H,ce,Me)),Hr(i,m+64,16843009*Ia(ce,Me,Ge)),Hr(i,m+96,16843009*Ia(Me,Ge,Ge))}function Bs(i,m){var H,ce=4;for(H=0;4>H;++H)ce+=i[m+H-32]+i[m-1+32*H];for(ce>>=3,H=0;4>H;++H)P(i,m+32*H,ce,4)}function Hi(i,m){var H=i[m-1+0],ce=i[m-1+32],Me=i[m-1+64],Ge=i[m-1-32],Qe=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],Lt=i[m+3-32];i[m+0+96]=Ia(ce,Me,i[m-1+96]),i[m+1+96]=i[m+0+64]=Ia(H,ce,Me),i[m+2+96]=i[m+1+64]=i[m+0+32]=Ia(Ge,H,ce),i[m+3+96]=i[m+2+64]=i[m+1+32]=i[m+0+0]=Ia(Qe,Ge,H),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(Lt,bt,ut)}function ti(i,m){var H=i[m+1-32],ce=i[m+2-32],Me=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],H,ce),i[m+1+0]=i[m+0+32]=Ia(H,ce,Me),i[m+2+0]=i[m+1+32]=i[m+0+64]=Ia(ce,Me,Ge),i[m+3+0]=i[m+2+32]=i[m+1+64]=i[m+0+96]=Ia(Me,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 H=i[m-1+0],ce=i[m-1+32],Me=i[m-1+64],Ge=i[m-1-32],Qe=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],Lt=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+Lt+1>>1,i[m+0+96]=Ia(Me,ce,H),i[m+0+64]=Ia(ce,H,Ge),i[m+0+32]=i[m+1+96]=Ia(H,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,Lt)}function Es(i,m){var H=i[m+0-32],ce=i[m+1-32],Me=i[m+2-32],Ge=i[m+3-32],Qe=i[m+4-32],ut=i[m+5-32],bt=i[m+6-32],Lt=i[m+7-32];i[m+0+0]=H+ce+1>>1,i[m+1+0]=i[m+0+64]=ce+Me+1>>1,i[m+2+0]=i[m+1+64]=Me+Ge+1>>1,i[m+3+0]=i[m+2+64]=Ge+Qe+1>>1,i[m+0+32]=Ia(H,ce,Me),i[m+1+32]=i[m+0+96]=Ia(ce,Me,Ge),i[m+2+32]=i[m+1+96]=Ia(Me,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,Lt)}function Ls(i,m){var H=i[m-1+0],ce=i[m-1+32],Me=i[m-1+64],Ge=i[m-1+96];i[m+0+0]=H+ce+1>>1,i[m+2+0]=i[m+0+32]=ce+Me+1>>1,i[m+2+32]=i[m+0+64]=Me+Ge+1>>1,i[m+1+0]=Ia(H,ce,Me),i[m+3+0]=i[m+1+32]=Ia(ce,Me,Ge),i[m+3+32]=i[m+1+64]=Ia(Me,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 H=i[m-1+0],ce=i[m-1+32],Me=i[m-1+64],Ge=i[m-1+96],Qe=i[m-1-32],ut=i[m+0-32],bt=i[m+1-32],Lt=i[m+2-32];i[m+0+0]=i[m+2+32]=H+Qe+1>>1,i[m+0+32]=i[m+2+64]=ce+H+1>>1,i[m+0+64]=i[m+2+96]=Me+ce+1>>1,i[m+0+96]=Ge+Me+1>>1,i[m+3+0]=Ia(ut,bt,Lt),i[m+2+0]=Ia(Qe,ut,bt),i[m+1+0]=i[m+3+32]=Ia(H,Qe,ut),i[m+1+32]=i[m+3+64]=Ia(ce,H,Qe),i[m+1+64]=i[m+3+96]=Ia(Me,ce,H),i[m+1+96]=Ia(Ge,Me,ce)}function Ii(i,m){var H;for(H=0;8>H;++H)b(i,m+32*H,i,m-32,8)}function Ai(i,m){var H;for(H=0;8>H;++H)P(i,m,i[m-1],8),m+=32}function Ji(i,m,H){var ce;for(ce=0;8>ce;++ce)P(m,H+32*ce,i,8)}function Wi(i,m){var H,ce=8;for(H=0;8>H;++H)ce+=i[m+H-32]+i[m-1+32*H];Ji(ce>>4,i,m)}function Is(i,m){var H,ce=4;for(H=0;8>H;++H)ce+=i[m+H-32];Ji(ce>>3,i,m)}function cs(i,m){var H,ce=4;for(H=0;8>H;++H)ce+=i[m-1+32*H];Ji(ce>>3,i,m)}function us(i,m){Ji(128,i,m)}function ft(i,m,H){var ce=i[m-H],Me=i[m+0],Ge=3*(Me-ce)+f0[1020+i[m-2*H]-i[m+H]],Qe=qs[112+(Ge+4>>3)];i[m-H]=ji[255+ce+qs[112+(Ge+3>>3)]],i[m+0]=ji[255+Me-Qe]}function Zo(i,m,H,ce){var Me=i[m+0],Ge=i[m+H];return Ki[255+i[m-2*H]-i[m-H]]>ce||Ki[255+Ge-Me]>ce}function Ui(i,m,H,ce){return 4*Ki[255+i[m-H]-i[m+0]]+Ki[255+i[m-2*H]-i[m+H]]<=ce}function Zi(i,m,H,ce,Me){var Ge=i[m-3*H],Qe=i[m-2*H],ut=i[m-H],bt=i[m+0],Lt=i[m+H],fr=i[m+2*H],zr=i[m+3*H];return 4*Ki[255+ut-bt]+Ki[255+Qe-Lt]>ce?0:Ki[255+i[m-4*H]-Ge]<=Me&&Ki[255+Ge-Qe]<=Me&&Ki[255+Qe-ut]<=Me&&Ki[255+zr-fr]<=Me&&Ki[255+fr-Lt]<=Me&&Ki[255+Lt-bt]<=Me}function ds(i,m,H,ce){var Me=2*ce+1;for(ce=0;16>ce;++ce)Ui(i,m+ce,H,Me)&&ft(i,m+ce,H)}function $i(i,m,H,ce){var Me=2*ce+1;for(ce=0;16>ce;++ce)Ui(i,m+ce*H,1,Me)&&ft(i,m+ce*H,1)}function gs(i,m,H,ce){var Me;for(Me=3;0<Me;--Me)ds(i,m+=4*H,H,ce)}function Qi(i,m,H,ce){var Me;for(Me=3;0<Me;--Me)$i(i,m+=4,H,ce)}function Pi(i,m,H,ce,Me,Ge,Qe,ut){for(Ge=2*Ge+1;0<Me--;){if(Zi(i,m,H,Ge,Qe))if(Zo(i,m,H,ut))ft(i,m,H);else{var bt=i,Lt=m,fr=H,zr=bt[Lt-2*fr],zt=bt[Lt-fr],gr=bt[Lt+0],Er=bt[Lt+fr],Xr=bt[Lt+2*fr],Mr=27*(en=f0[1020+3*(gr-zt)+f0[1020+zr-Er]])+63>>7,Yr=18*en+63>>7,en=9*en+63>>7;bt[Lt-3*fr]=ji[255+bt[Lt-3*fr]+en],bt[Lt-2*fr]=ji[255+zr+Yr],bt[Lt-fr]=ji[255+zt+Mr],bt[Lt+0]=ji[255+gr-Mr],bt[Lt+fr]=ji[255+Er-Yr],bt[Lt+2*fr]=ji[255+Xr-en]}m+=ce}}function wi(i,m,H,ce,Me,Ge,Qe,ut){for(Ge=2*Ge+1;0<Me--;){if(Zi(i,m,H,Ge,Qe))if(Zo(i,m,H,ut))ft(i,m,H);else{var bt=i,Lt=m,fr=H,zr=bt[Lt-fr],zt=bt[Lt+0],gr=bt[Lt+fr],Er=qs[112+(4+(Xr=3*(zt-zr))>>3)],Xr=qs[112+(Xr+3>>3)],Mr=Er+1>>1;bt[Lt-2*fr]=ji[255+bt[Lt-2*fr]+Mr],bt[Lt-fr]=ji[255+zr+Xr],bt[Lt+0]=ji[255+zt-Er],bt[Lt+fr]=ji[255+gr-Mr]}m+=ce}}function hs(i,m,H,ce,Me,Ge){Pi(i,m,H,1,16,ce,Me,Ge)}function es(i,m,H,ce,Me,Ge){Pi(i,m,1,H,16,ce,Me,Ge)}function ts(i,m,H,ce,Me,Ge){var Qe;for(Qe=3;0<Qe;--Qe)wi(i,m+=4*H,H,1,16,ce,Me,Ge)}function rs(i,m,H,ce,Me,Ge){var Qe;for(Qe=3;0<Qe;--Qe)wi(i,m+=4,1,H,16,ce,Me,Ge)}function j(i,m,H,ce,Me,Ge,Qe,ut){Pi(i,m,Me,1,8,Ge,Qe,ut),Pi(H,ce,Me,1,8,Ge,Qe,ut)}function $e(i,m,H,ce,Me,Ge,Qe,ut){Pi(i,m,1,Me,8,Ge,Qe,ut),Pi(H,ce,1,Me,8,Ge,Qe,ut)}function Tt(i,m,H,ce,Me,Ge,Qe,ut){wi(i,m+4*Me,Me,1,8,Ge,Qe,ut),wi(H,ce+4*Me,Me,1,8,Ge,Qe,ut)}function er(i,m,H,ce,Me,Ge,Qe,ut){wi(i,m+4,1,Me,8,Ge,Qe,ut),wi(H,ce+4,1,Me,8,Ge,Qe,ut)}function wr(){this.ba=new vn,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 cn(){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 dr,this.yc=new lt}function te(){this.xb=this.a=0,this.l=new Wa,this.ca=new vn,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,cn),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,H,ce,Me,Ge,Qe){for(i=i==null?0:i[m+0],m=0;m<Qe;++m)Me[Ge+m]=i+H[ce+m]&255,i=Me[Ge+m]}function l(i,m,H,ce,Me,Ge,Qe){var ut;if(i==null)a(null,null,H,ce,Me,Ge,Qe);else for(ut=0;ut<Qe;++ut)Me[Ge+ut]=i[m+ut]+H[ce+ut]&255}function g(i,m,H,ce,Me,Ge,Qe){if(i==null)a(null,null,H,ce,Me,Ge,Qe);else{var ut,bt=i[m+0],Lt=bt,fr=bt;for(ut=0;ut<Qe;++ut)Lt=fr+(bt=i[m+ut])-Lt,fr=H[ce+ut]+(-256&Lt?0>Lt?0:255:Lt)&255,Lt=bt,Me[Ge+ut]=fr}}function R(i,m,H,ce){var Me=m.width,Ge=m.o;if(s(i!=null&&m!=null),0>H||0>=ce||H+ce>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,Lt=i.qc,fr=i.mb,zr=i.nb,zt=bt+1,gr=Lt-1,Er=Qe.l;if(s(ut!=null&&fr!=null&&m!=null),$s[0]=null,$s[1]=a,$s[2]=l,$s[3]=g,Qe.ca=fr,Qe.tb=zr,Qe.c=m.width,Qe.i=m.height,s(0<Qe.c&&0<Qe.i),1>=Lt)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(Er.put=la,Er.ac=so,Er.bc=Io,Er.ma=Qe,Er.width=m.width,Er.height=m.height,Er.Da=m.Da,Er.v=m.v,Er.va=m.va,Er.j=m.j,Er.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,ur(m.m,ut,zt,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:ce=Ge-H}s(i.ga!=null),s(H+ce<=Ge);e:{if(m=(ut=i.ga).c,Ge=ut.l.o,ut.$a==0){if(zt=i.rc,gr=i.Vc,Er=i.Fa,bt=i.P+1+H*m,Lt=i.mb,fr=i.nb+H*m,s(bt<=i.P+i.qc),ut.Z!=0)for(s($s[ut.Z]!=null),Qe=0;Qe<ce;++Qe)$s[ut.Z](zt,gr,Er,bt,Lt,fr,m),zt=Lt,gr=fr,fr+=m,bt+=m;else for(Qe=0;Qe<ce;++Qe)b(Lt,fr,Er,bt,m),zt=Lt,gr=fr,fr+=m,bt+=m;i.rc=zt,i.Vc=gr}else{if(s(ut.mc!=null),m=H+ce,s((Qe=ut.mc)!=null),s(m<=Qe.i),Qe.C>=m)m=1;else if(ut.ic||ar(),ut.ic){ut=Qe.V,zt=Qe.Ba,gr=Qe.c;var Xr=Qe.i,Mr=(Er=1,bt=Qe.$/gr,Lt=Qe.$%gr,fr=Qe.m,zr=Qe.s,Qe.$),Yr=gr*Xr,en=gr*m,gn=zr.wc,hn=Mr<en?ma(zr,Lt,bt):null;s(Mr<=Yr),s(m<=Xr),s(Qa(zr));t:for(;;){for(;!fr.h&&Mr<en;){if(Lt&gn||(hn=ma(zr,Lt,bt)),s(hn!=null),nr(fr),256>(Xr=Na(hn.G[0],hn.H[0],fr)))ut[zt+Mr]=Xr,++Mr,++Lt>=gr&&(Lt=0,++bt<=m&&!(bt%16)&&lo(Qe,bt));else{if(!(280>Xr)){Er=0;break t}Xr=ja(Xr-256,fr);var ya,ia=Na(hn.G[4],hn.H[4],fr);if(nr(fr),!(Mr>=(ia=Ta(gr,ia=ja(ia,fr)))&&Yr-Mr>=Xr)){Er=0;break t}for(ya=0;ya<Xr;++ya)ut[zt+Mr+ya]=ut[zt+Mr+ya-ia];for(Mr+=Xr,Lt+=Xr;Lt>=gr;)Lt-=gr,++bt<=m&&!(bt%16)&&lo(Qe,bt);Mr<en&&Lt&gn&&(hn=ma(zr,Lt,bt))}s(fr.h==it(fr))}lo(Qe,bt>m?m:bt);break t}!Er||fr.h&&Mr<Yr?(Er=0,Qe.a=fr.h?5:3):Qe.$=Mr,m=Er}else m=Ao(Qe,Qe.V,Qe.Ba,Qe.c,Qe.i,m,No);if(!m){ce=0;break e}}H+ce>=Ge&&(i.Cc=1),ce=1}if(!ce)return null;if(i.Cc&&((ce=i.ga)!=null&&(ce.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+H*Me}function se(i,m,H,ce,Me,Ge){for(;0<Me--;){var Qe,ut=i,bt=m+(H?1:0),Lt=i,fr=m+(H?0:3);for(Qe=0;Qe<ce;++Qe){var zr=Lt[fr+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 De(i,m,H,ce,Me){for(;0<ce--;){var Ge;for(Ge=0;Ge<H;++Ge){var Qe=i[m+2*Ge+0],ut=15&(Lt=i[m+2*Ge+1]),bt=4369*ut,Lt=(240&Lt|Lt>>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&Lt|ut}m+=Me}}function Je(i,m,H,ce,Me,Ge,Qe,ut){var bt,Lt,fr=255;for(Lt=0;Lt<Me;++Lt){for(bt=0;bt<ce;++bt){var zr=i[m+bt];Ge[Qe+4*bt]=zr,fr&=zr}m+=H,Qe+=ut}return fr!=255}function It(i,m,H,ce,Me){var Ge;for(Ge=0;Ge<Me;++Ge)H[ce+Ge]=i[m+Ge]>>8}function ar(){bs=se,zs=De,Ds=Je,N0=It}function pr(i,m,H){Ct[i]=function(ce,Me,Ge,Qe,ut,bt,Lt,fr,zr,zt,gr,Er,Xr,Mr,Yr,en,gn){var hn,ya=gn-1>>1,ia=ut[bt+0]|Lt[fr+0]<<16,Za=zr[zt+0]|gr[Er+0]<<16;s(ce!=null);var pa=3*ia+Za+131074>>2;for(m(ce[Me+0],255&pa,pa>>16,Xr,Mr),Ge!=null&&(pa=3*Za+ia+131074>>2,m(Ge[Qe+0],255&pa,pa>>16,Yr,en)),hn=1;hn<=ya;++hn){var Ya=ut[bt+hn]|Lt[fr+hn]<<16,Vo=zr[zt+hn]|gr[Er+hn]<<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(ce[Me+2*hn-1],255&pa,pa>>16,Xr,Mr+(2*hn-1)*H),m(ce[Me+2*hn-0],255&ia,ia>>16,Xr,Mr+(2*hn-0)*H),Ge!=null&&(pa=Va+Za>>1,ia=ga+Vo>>1,m(Ge[Qe+2*hn-1],255&pa,pa>>16,Yr,en+(2*hn-1)*H),m(Ge[Qe+2*hn+0],255&ia,ia>>16,Yr,en+(2*hn+0)*H)),ia=Ya,Za=Vo}1&gn||(pa=3*ia+Za+131074>>2,m(ce[Me+gn-1],255&pa,pa>>16,Xr,Mr+(gn-1)*H),Ge!=null&&(pa=3*Za+ia+131074>>2,m(Ge[Qe+gn-1],255&pa,pa>>16,Yr,en+(gn-1)*H)))}}function Wr(){_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 Qr(i){return i&~Il?0>i?0:255:i>>G0}function dn(i,m){return Qr((19077*i>>8)+(26149*m>>8)-14234)}function In(i,m,H){return Qr((19077*i>>8)-(6419*m>>8)-(13320*H>>8)+8708)}function Gn(i,m){return Qr((19077*i>>8)+(33050*m>>8)-17685)}function Oa(i,m,H,ce,Me){ce[Me+0]=dn(i,H),ce[Me+1]=In(i,m,H),ce[Me+2]=Gn(i,m)}function u(i,m,H,ce,Me){ce[Me+0]=Gn(i,m),ce[Me+1]=In(i,m,H),ce[Me+2]=dn(i,H)}function e(i,m,H,ce,Me){var Ge=In(i,m,H);m=Ge<<3&224|Gn(i,m)>>3,ce[Me+0]=248&dn(i,H)|Ge>>5,ce[Me+1]=m}function t(i,m,H,ce,Me){var Ge=240&Gn(i,m)|15;ce[Me+0]=240&dn(i,H)|In(i,m,H)>>4,ce[Me+1]=Ge}function h(i,m,H,ce,Me){ce[Me+0]=255,Oa(i,m,H,ce,Me+1)}function C(i,m,H,ce,Me){u(i,m,H,ce,Me),ce[Me+3]=255}function G(i,m,H,ce,Me){Oa(i,m,H,ce,Me),ce[Me+3]=255}function ye(i,m){return 0>i?0:i>m?m:i}function Ue(i,m,H){Ct[i]=function(ce,Me,Ge,Qe,ut,bt,Lt,fr,zr){for(var zt=fr+(-2&zr)*H;fr!=zt;)m(ce[Me+0],Ge[Qe+0],ut[bt+0],Lt,fr),m(ce[Me+1],Ge[Qe+0],ut[bt+0],Lt,fr+H),Me+=2,++Qe,++bt,fr+=2*H;1&zr&&m(ce[Me+0],Ge[Qe+0],ut[bt+0],Lt,fr)}}function qe(i,m,H){return H==0?i==0?m==0?6:5:m==0?4:0:H}function Wt(i,m,H,ce,Me){switch(i>>>30){case 3:ni(m,H,ce,Me,0);break;case 2:Ro(m,H,ce,Me);break;case 1:_a(m,H,ce,Me)}}function ir(i,m){var H,ce,Me=m.M,Ge=m.Nb,Qe=i.oc,ut=i.pc+40,bt=i.oc,Lt=i.pc+584,fr=i.oc,zr=i.pc+600;for(H=0;16>H;++H)Qe[ut+32*H-1]=129;for(H=0;8>H;++H)bt[Lt+32*H-1]=129,fr[zr+32*H-1]=129;for(0<Me?Qe[ut-1-32]=bt[Lt-1-32]=fr[zr-1-32]=129:(P(Qe,ut-32-1,127,21),P(bt,Lt-32-1,127,9),P(fr,zr-32-1,127,9)),ce=0;ce<i.za;++ce){var zt=m.ya[m.aa+ce];if(0<ce){for(H=-1;16>H;++H)b(Qe,ut+32*H-4,Qe,ut+32*H+12,4);for(H=-1;8>H;++H)b(bt,Lt+32*H-4,bt,Lt+32*H+4,4),b(fr,zr+32*H-4,fr,zr+32*H+4,4)}var gr=i.Gd,Er=i.Hd+ce,Xr=zt.ad,Mr=zt.Hc;if(0<Me&&(b(Qe,ut-32,gr[Er].y,0,16),b(bt,Lt-32,gr[Er].f,0,8),b(fr,zr-32,gr[Er].ea,0,8)),zt.Za){var Yr=Qe,en=ut-32+16;for(0<Me&&(ce>=i.za-1?P(Yr,en,gr[Er].y[15],4):b(Yr,en,gr[Er+1].y,0,4)),H=0;4>H;H++)Yr[en+128+H]=Yr[en+256+H]=Yr[en+384+H]=Yr[en+0+H];for(H=0;16>H;++H,Mr<<=2)Yr=Qe,en=ut+_0[H],as[zt.Ob[H]](Yr,en),Wt(Mr,Xr,16*+H,Yr,en)}else if(Yr=qe(ce,Me,zt.Ob[0]),As[Yr](Qe,ut),Mr!=0)for(H=0;16>H;++H,Mr<<=2)Wt(Mr,Xr,16*+H,Qe,ut+_0[H]);for(H=zt.Gc,Yr=qe(ce,Me,zt.Dd),ys[Yr](bt,Lt),ys[Yr](fr,zr),Mr=Xr,Yr=bt,en=Lt,255&(zt=0|H)&&(170&zt?Mo(Mr,256,Yr,en):uo(Mr,256,Yr,en)),zt=fr,Mr=zr,255&(H>>=8)&&(170&H?Mo(Xr,320,zt,Mr):uo(Xr,320,zt,Mr)),Me<i.Ub-1&&(b(gr[Er].y,0,Qe,ut+480,16),b(gr[Er].f,0,bt,Lt+224,8),b(gr[Er].ea,0,fr,zr+224,8)),H=8*Ge*i.B,gr=i.sa,Er=i.ta+16*ce+16*Ge*i.R,Xr=i.qa,zt=i.ra+8*ce+H,Mr=i.Ha,Yr=i.Ia+8*ce+H,H=0;16>H;++H)b(gr,Er+H*i.R,Qe,ut+32*H,16);for(H=0;8>H;++H)b(Xr,zt+H*i.B,bt,Lt+32*H,8),b(Mr,Yr+H*i.B,fr,zr+32*H,8)}}function yr(i,m,H,ce,Me,Ge,Qe,ut,bt){var Lt=[0],fr=[0],zr=0,zt=bt!=null?bt.kd:0,gr=bt!=null?bt:new _r;if(i==null||12>H)return 7;gr.data=i,gr.w=m,gr.ha=H,m=[m],H=[H],gr.gb=[gr.gb];e:{var Er=m,Xr=H,Mr=gr.gb;if(s(i!=null),s(Xr!=null),s(Mr!=null),Mr[0]=0,12<=Xr[0]&&!p(i,Er[0],"RIFF")){if(p(i,Er[0]+8,"WEBP")){Mr=3;break e}var Yr=Lr(i,Er[0]+4);if(12>Yr||4294967286<Yr){Mr=3;break e}if(zt&&Yr>Xr[0]-8){Mr=7;break e}Mr[0]=Yr,Er[0]+=12,Xr[0]-=12}Mr=0}if(Mr!=0)return Mr;for(Yr=0<gr.gb[0],H=H[0];;){e:{var en=i;Xr=m,Mr=H;var gn=Lt,hn=fr,ya=Er=[0];if((pa=zr=[zr])[0]=0,8>Mr[0])Mr=7;else{if(!p(en,Xr[0],"VP8X")){if(Lr(en,Xr[0]+4)!=10){Mr=3;break e}if(18>Mr[0]){Mr=7;break e}var ia=Lr(en,Xr[0]+8),Za=1+yn(en,Xr[0]+12);if(2147483648<=Za*(en=1+yn(en,Xr[0]+15))){Mr=3;break e}ya!=null&&(ya[0]=ia),gn!=null&&(gn[0]=Za),hn!=null&&(hn[0]=en),Xr[0]+=18,Mr[0]-=18,pa[0]=1}Mr=0}}if(zr=zr[0],Er=Er[0],Mr!=0)return Mr;if(Xr=!!(2&Er),!Yr&&zr)return 3;if(Ge!=null&&(Ge[0]=!!(16&Er)),Qe!=null&&(Qe[0]=Xr),ut!=null&&(ut[0]=0),Qe=Lt[0],Er=fr[0],zr&&Xr&&bt==null){Mr=0;break}if(4>H){Mr=7;break}if(Yr&&zr||!Yr&&!zr&&!p(i,m[0],"ALPH")){H=[H],gr.na=[gr.na],gr.P=[gr.P],gr.Sa=[gr.Sa];e:{ia=i,Mr=m,Yr=H;var pa=gr.gb;gn=gr.na,hn=gr.P,ya=gr.Sa,Za=22,s(ia!=null),s(Yr!=null),en=Mr[0];var Ya=Yr[0];for(s(gn!=null),s(ya!=null),gn[0]=null,hn[0]=null,ya[0]=0;;){if(Mr[0]=en,Yr[0]=Ya,8>Ya){Mr=7;break e}var Vo=Lr(ia,en+4);if(4294967286<Vo){Mr=3;break e}var Va=8+Vo+1&-2;if(Za+=Va,0<pa&&Za>pa){Mr=3;break e}if(!p(ia,en,"VP8 ")||!p(ia,en,"VP8L")){Mr=0;break e}if(Ya[0]<Va){Mr=7;break e}p(ia,en,"ALPH")||(gn[0]=ia,hn[0]=en+8,ya[0]=Vo),en+=Va,Ya-=Va}}if(H=H[0],gr.na=gr.na[0],gr.P=gr.P[0],gr.Sa=gr.Sa[0],Mr!=0)break}H=[H],gr.Ja=[gr.Ja],gr.xa=[gr.xa];e:if(pa=i,Mr=m,Yr=H,gn=gr.gb[0],hn=gr.Ja,ya=gr.xa,ia=Mr[0],en=!p(pa,ia,"VP8 "),Za=!p(pa,ia,"VP8L"),s(pa!=null),s(Yr!=null),s(hn!=null),s(ya!=null),8>Yr[0])Mr=7;else{if(en||Za){if(pa=Lr(pa,ia+4),12<=gn&&pa>gn-12){Mr=3;break e}if(zt&&pa>Yr[0]-8){Mr=7;break e}hn[0]=pa,Mr[0]+=8,Yr[0]-=8,ya[0]=Za}else ya[0]=5<=Yr[0]&&pa[ia+0]==47&&!(pa[ia+4]>>5),hn[0]=Yr[0];Mr=0}if(H=H[0],gr.Ja=gr.Ja[0],gr.xa=gr.xa[0],m=m[0],Mr!=0)break;if(4294967286<gr.Ja)return 3;if(ut==null||Xr||(ut[0]=gr.xa?2:1),Qe=[Qe],Er=[Er],gr.xa){if(5>H){Mr=7;break}ut=Qe,zt=Er,Xr=Ge,i==null||5>H?i=0:5<=H&&i[m+0]==47&&!(i[m+4]>>5)?(Yr=[0],pa=[0],gn=[0],ur(hn=new vt,i,m,H),Aa(hn,Yr,pa,gn)?(ut!=null&&(ut[0]=Yr[0]),zt!=null&&(zt[0]=pa[0]),Xr!=null&&(Xr[0]=gn[0]),i=1):i=0):i=0}else{if(10>H){Mr=7;break}ut=Er,i==null||10>H||!$o(i,m+3,H-3)?i=0:(zt=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&zt||3<(zt>>1&7)||!(zt>>4&1)||zt>>5>=gr.Ja||!Xr||!i?i=0:(Qe&&(Qe[0]=Xr),ut&&(ut[0]=i),i=1))}if(!i||(Qe=Qe[0],Er=Er[0],zr&&(Lt[0]!=Qe||fr[0]!=Er)))return 3;bt!=null&&(bt[0]=gr,bt.offset=m-bt.w,s(4294967286>m-bt.w),s(bt.offset==bt.ha-H));break}return Mr==0||Mr==7&&zr&&bt==null?(Ge!=null&&(Ge[0]|=gr.na!=null&&0<gr.na.length),ce!=null&&(ce[0]=Qe),Me!=null&&(Me[0]=Er),0):Mr}function Ur(i,m,H){var ce=m.width,Me=m.height,Ge=0,Qe=0,ut=ce,bt=Me;if(m.Da=i!=null&&0<i.Da,m.Da&&(ut=i.cd,bt=i.bd,Ge=i.v,Qe=i.j,11>H||(Ge&=-2,Qe&=-2),0>Ge||0>Qe||0>=ut||0>=bt||Ge+ut>ce||Qe+bt>Me))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,H=[i.ib],Ge=[i.hb]))return 0;m.ib=H[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*ce/4&&m.hb<3*Me/4,m.Kb=0),1}function Fr(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 un(i,m,H,ce){if(ce==null||0>=i||0>=m)return 2;if(H!=null){if(H.Da){var Me=H.cd,Ge=H.bd,Qe=-2&H.v,ut=-2&H.j;if(0>Qe||0>ut||0>=Me||0>=Ge||Qe+Me>i||ut+Ge>m)return 2;i=Me,m=Ge}if(H.da){if(!Wn(i,m,Me=[H.ib],Ge=[H.hb]))return 2;i=Me[0],m=Ge[0]}}ce.width=i,ce.height=m;e:{var bt=ce.width,Lt=ce.height;if(i=ce.S,0>=bt||0>=Lt||!(i>=Js&&13>i))i=2;else{if(0>=ce.Rd&&ce.sd==null){Qe=Ge=Me=m=0;var fr=(ut=bt*X0[i])*Lt;if(11>i||(Ge=(Lt+1)/2*(m=(bt+1)/2),i==12&&(Qe=(Me=bt)*Lt)),(Lt=d(fr+2*Ge+Qe))==null){i=1;break e}ce.sd=Lt,11>i?((bt=ce.f.RGBA).eb=Lt,bt.fb=0,bt.A=ut,bt.size=fr):((bt=ce.f.kb).y=Lt,bt.O=0,bt.fa=ut,bt.Fd=fr,bt.f=Lt,bt.N=0+fr,bt.Ab=m,bt.Cd=Ge,bt.ea=Lt,bt.W=0+fr+Ge,bt.Db=m,bt.Ed=Ge,i==12&&(bt.F=Lt,bt.J=0+fr+2*Ge),bt.Tc=Qe,bt.lb=Me)}if(m=1,Me=ce.S,Ge=ce.width,Qe=ce.height,Me>=Js&&13>Me)if(11>Me)i=ce.f.RGBA,m&=(ut=Math.abs(i.A))*(Qe-1)+Ge<=i.size,m&=ut>=Ge*X0[Me],m&=i.eb!=null;else{i=ce.f.kb,ut=(Ge+1)/2,fr=(Qe+1)/2,bt=Math.abs(i.fa),Lt=Math.abs(i.Ab);var zr=Math.abs(i.Db),zt=Math.abs(i.lb),gr=zt*(Qe-1)+Ge;m&=bt*(Qe-1)+Ge<=i.Fd,m&=Lt*(fr-1)+ut<=i.Cd,m=(m&=zr*(fr-1)+ut<=i.Ed)&bt>=Ge&Lt>=ut&zr>=ut,m&=i.y!=null,m&=i.f!=null,m&=i.ea!=null,Me==12&&(m&=zt>=Ge,m&=gr<=i.Tc,m&=i.F!=null)}else m=0;i=m?0:2}}return i!=0||H!=null&&H.fd&&(i=Fr(ce)),i}var pn=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"),Ct.Predictor0=function(){return 4278190080},Ct.Predictor1=function(i){return i},Ct.Predictor2=function(i,m,H){return m[H+0]},Ct.Predictor3=function(i,m,H){return m[H+1]},Ct.Predictor4=function(i,m,H){return m[H-1]},Ct.Predictor5=function(i,m,H){return _n(_n(i,m[H+1]),m[H+0])},Ct.Predictor6=function(i,m,H){return _n(i,m[H-1])},Ct.Predictor7=function(i,m,H){return _n(i,m[H+0])},Ct.Predictor8=function(i,m,H){return _n(m[H-1],m[H+0])},Ct.Predictor9=function(i,m,H){return _n(m[H+0],m[H+1])},Ct.Predictor10=function(i,m,H){return _n(_n(i,m[H-1]),_n(m[H+0],m[H+1]))},Ct.Predictor11=function(i,m,H){var ce=m[H+0];return 0>=Qn(ce>>24&255,i>>24&255,(m=m[H-1])>>24&255)+Qn(ce>>16&255,i>>16&255,m>>16&255)+Qn(ce>>8&255,i>>8&255,m>>8&255)+Qn(255&ce,255&i,255&m)?ce:i},Ct.Predictor12=function(i,m,H){var ce=m[H+0];return(xa((i>>24&255)+(ce>>24&255)-((m=m[H-1])>>24&255))<<24|xa((i>>16&255)+(ce>>16&255)-(m>>16&255))<<16|xa((i>>8&255)+(ce>>8&255)-(m>>8&255))<<8|xa((255&i)+(255&ce)-(255&m)))>>>0},Ct.Predictor13=function(i,m,H){var ce=m[H-1];return(qn((i=_n(i,m[H+0]))>>24&255,ce>>24&255)<<24|qn(i>>16&255,ce>>16&255)<<16|qn(i>>8&255,ce>>8&255)<<8|qn(255&i,255&ce))>>>0};var $a=Ct.PredictorAdd0;Ct.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=Ct.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=Ct.ColorIndexInverseTransform,Ua=Ct.MapARGB,Po=Ct.VP8LColorIndexInverseTransformAlpha,jo=Ct.MapAlpha,vo=Ct.VP8LPredictorsAdd=[];vo.length=16,(Ct.VP8LPredictors=[]).length=16,(Ct.VP8LPredictorsAdd_C=[]).length=16,(Ct.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",C,4),pr("UpsampleArgbLinePair",h,4),pr("UpsampleRgba4444LinePair",t,2),pr("UpsampleRgb565LinePair",e,2);var Cl=Ct.UpsampleRgbLinePair,Ol=Ct.UpsampleBgrLinePair,W0=Ct.UpsampleRgbaLinePair,U0=Ct.UpsampleBgraLinePair,Z0=Ct.UpsampleArgbLinePair,V0=Ct.UpsampleRgba4444LinePair,El=Ct.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);Ue("YuvToRgbRow",Oa,3),Ue("YuvToBgrRow",u,3),Ue("YuvToRgbaRow",G,4),Ue("YuvToBgraRow",C,4),Ue("YuvToArgbRow",h,4),Ue("YuvToRgba4444Row",t,2),Ue("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,H,ce,Me){var Ge=Qs,Qe=new wr,ut=new vn;Qe.ba=ut,ut.S=Ge,ut.width=[ut.width],ut.height=[ut.height];var bt=ut.width,Lt=ut.height,fr=new Pn;if(fr==null||i==null)var zr=2;else s(fr!=null),zr=yr(i,m,H,fr.width,fr.height,fr.Pd,fr.Qd,fr.format,null);if(zr!=0?bt=0:(bt!=null&&(bt[0]=fr.width[0]),Lt!=null&&(Lt[0]=fr.height[0]),bt=1),bt){ut.width=ut.width[0],ut.height=ut.height[0],ce!=null&&(ce[0]=ut.width),Me!=null&&(Me[0]=ut.height);e:{if(ce=new Wa,(Me=new _r).data=i,Me.w=m,Me.ha=H,Me.kd=1,m=[0],s(Me!=null),((i=yr(Me.data,Me.w,Me.ha,null,null,null,m,null,Me))==0||i==7)&&m[0]&&(i=4),(m=i)==0){if(s(Qe!=null),ce.data=Me.data,ce.w=Me.w+Me.offset,ce.ha=Me.ha-Me.offset,ce.put=la,ce.ac=so,ce.bc=Io,ce.ma=Qe,Me.xa){if((i=Ra())==null){Qe=1;break e}if(function(zt,gr){var Er=[0],Xr=[0],Mr=[0];t:for(;;){if(zt==null)return 0;if(gr==null)return zt.a=2,0;if(zt.l=gr,zt.a=0,ur(zt.m,gr.data,gr.w,gr.ha),!Aa(zt.m,Er,Xr,Mr)){zt.a=3;break t}if(zt.xb=H0,gr.width=Er[0],gr.height=Xr[0],!Uo(Er[0],Xr[0],1,zt,null))break t;return 1}return s(zt.a!=0),0}(i,ce)){if(ce=(m=un(ce.width,ce.height,Qe.Oa,Qe.ba))==0){t:{ce=i;r:for(;;){if(ce==null){ce=0;break t}if(s(ce.s.yc!=null),s(ce.s.Ya!=null),s(0<ce.s.Wb),s((H=ce.l)!=null),s((Me=H.ma)!=null),ce.xb!=0){if(ce.ca=Me.ba,ce.tb=Me.tb,s(ce.ca!=null),!Ur(Me.Oa,H,e0)){ce.a=2;break r}if(!ho(ce,H.width)||H.da)break r;if((H.da||Vn(ce.ca.S))&&ar(),11>ce.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),ce.ca.f.kb.F!=null&&ar()),ce.Pb&&0<ce.s.ua&&ce.s.vb.X==null&&!Nt(ce.s.vb,ce.s.Wa.Xa)){ce.a=1;break r}ce.xb=0}if(!Ao(ce,ce.V,ce.Ba,ce.c,ce.i,H.o,La))break r;Me.Dc=ce.Ma,ce=1;break t}s(ce.a!=0),ce=0}ce=!ce}ce&&(m=i.a)}else m=i.a}else{if((i=new Ke)==null){Qe=1;break e}if(i.Fa=Me.na,i.P=Me.P,i.qc=Me.Sa,Do(i,ce)){if((m=un(ce.width,ce.height,Qe.Oa,Qe.ba))==0){if(i.Aa=0,H=Qe.Oa,s((Me=i)!=null),H!=null){if(0<(bt=0>(bt=H.Md)?0:100<bt?255:255*bt/100)){for(Lt=fr=0;4>Lt;++Lt)12>(zr=Me.pb[Lt]).lc&&(zr.ia=bt*Tl[0>zr.lc?0:zr.lc]>>3),fr|=zr.ia;fr&&(alert("todo:VP8InitRandom"),Me.ia=1)}Me.Ga=H.Id,100<Me.Ga?Me.Ga=100:0>Me.Ga&&(Me.Ga=0)}(function(zt,gr){if(zt==null)return 0;if(gr==null)return za(zt,2,"NULL VP8Io parameter in VP8Decode().");if(!zt.cb&&!Do(zt,gr))return 0;if(s(zt.cb),gr.ac==null||gr.ac(gr)){gr.ob&&(zt.L=0);var Er=o0[zt.L];if(zt.L==2?(zt.yb=0,zt.zb=0):(zt.yb=gr.v-Er>>4,zt.zb=gr.j-Er>>4,0>zt.yb&&(zt.yb=0),0>zt.zb&&(zt.zb=0)),zt.Va=gr.o+15+Er>>4,zt.Hb=gr.va+15+Er>>4,zt.Hb>zt.za&&(zt.Hb=zt.za),zt.Va>zt.Ub&&(zt.Va=zt.Ub),0<zt.L){var Xr=zt.ed;for(Er=0;4>Er;++Er){var Mr;if(zt.Qa.Cb){var Yr=zt.Qa.Lb[Er];zt.Qa.Fb||(Yr+=Xr.Tb)}else Yr=Xr.Tb;for(Mr=0;1>=Mr;++Mr){var en=zt.gd[Er][Mr],gn=Yr;if(Xr.Pc&&(gn+=Xr.vd[0],Mr&&(gn+=Xr.od[0])),0<(gn=0>gn?0:63<gn?63:gn)){var hn=gn;0<Xr.wb&&(hn=4<Xr.wb?hn>>2:hn>>1)>9-Xr.wb&&(hn=9-Xr.wb),1>hn&&(hn=1),en.dd=hn,en.tc=2*gn+hn,en.ld=40<=gn?2:15<=gn?1:0}else en.tc=0;en.La=Mr}}}Er=0}else za(zt,6,"Frame setup failed"),Er=zt.a;if(Er=Er==0){if(Er){zt.$c=0,0<zt.Aa||(zt.Ic=Bl);t:{Er=zt.Ic,Xr=4*(hn=zt.za);var ya=32*hn,ia=hn+1,Za=0<zt.L?hn*(0<zt.Aa?2:1):0,pa=(zt.Aa==2?2:1)*hn;if((en=Xr+832+(Mr=3*(16*Er+o0[zt.L])/2*ya)+(Yr=zt.Fa!=null&&0<zt.Fa.length?zt.Kc.c*zt.Kc.i:0))!=en)Er=0;else{if(en>zt.Vb){if(zt.Vb=0,zt.Ec=d(en),zt.Fc=0,zt.Ec==null){Er=za(zt,1,"no memory during frame initialization.");break t}zt.Vb=en}en=zt.Ec,gn=zt.Fc,zt.Ac=en,zt.Bc=gn,gn+=Xr,zt.Gd=ne(ya,Di),zt.Hd=0,zt.rb=ne(ia+1,si),zt.sb=1,zt.wa=Za?ne(Za,_o):null,zt.Y=0,zt.D.Nb=0,zt.D.wa=zt.wa,zt.D.Y=zt.Y,0<zt.Aa&&(zt.D.Y+=hn),s(!0),zt.oc=en,zt.pc=gn,gn+=832,zt.ya=ne(pa,li),zt.aa=0,zt.D.ya=zt.ya,zt.D.aa=zt.aa,zt.Aa==2&&(zt.D.aa+=hn),zt.R=16*hn,zt.B=8*hn,hn=(ya=o0[zt.L])*zt.R,ya=ya/2*zt.B,zt.sa=en,zt.ta=gn+hn,zt.qa=zt.sa,zt.ra=zt.ta+16*Er*zt.R+ya,zt.Ha=zt.qa,zt.Ia=zt.ra+8*Er*zt.B+ya,zt.$c=0,gn+=Mr,zt.mb=Yr?en:null,zt.nb=Yr?gn:null,s(gn+Yr<=zt.Fc+zt.Vb),go(zt),P(zt.Ac,zt.Bc,0,Xr),Er=1}}if(Er){if(gr.ka=0,gr.y=zt.sa,gr.O=zt.ta,gr.f=zt.qa,gr.N=zt.ra,gr.ea=zt.Ha,gr.Vd=zt.Ia,gr.fa=zt.R,gr.Rc=zt.B,gr.F=null,gr.J=0,!z0){for(Er=-255;255>=Er;++Er)M0[255+Er]=0>Er?-Er:Er;for(Er=-1020;1020>=Er;++Er)T0[1020+Er]=-128>Er?-128:127<Er?127:Er;for(Er=-112;112>=Er;++Er)B0[112+Er]=-16>Er?-16:15<Er?15:Er;for(Er=-255;510>=Er;++Er)L0[255+Er]=0>Er?0:255<Er?255:Er;z0=1}Vi=ls,ni=Fi,Mo=Ss,_a=ci,uo=ss,Ro=Ei,bo=hs,To=es,ai=j,Gi=$e,ns=ts,vs=rs,_s=Tt,Xs=er,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,Er=1}else Er=0}Er&&(Er=function(Ya,Vo){for(Ya.M=0;Ya.M<Ya.Va;++Ya.M){var Va,ga=Ya.Jc[Ya.M&Ya.Xb],Rn=Ya.m,Fo=Ya;for(Va=0;Va<Fo.za;++Va){var Da=Rn,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,P(Eo,qo,no,4),P(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=(Rn=Ya).rb[Rn.sb-1],Eo=Rn.rb[Rn.sb+Rn.ja],Va=Rn.ya[Rn.aa+Rn.ja],qo=Rn.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=Rn.Pa.Xc,fi=Rn.ya[Rn.aa+Rn.ja],Bo=Rn.pb[fi.$b],to=fi.ad,oi=0,mi=Rn.rb[Rn.sb-1],no=Go=0,P(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<Rn.L&&(Rn.wa[Rn.Y+Rn.ja]=Rn.gd[Va.$b][Va.Za],Rn.wa[Rn.Y+Rn.ja].La|=!qo),Fo.Ka)return za(Ya,7,"Premature end-of-file encountered.")}if(go(Ya),Rn=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,ir(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&&ir(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"),Rn.put!=null){if(po=16*yo,yo=16*(yo+1),Ko?(Rn.y=ga.sa,Rn.O=ga.ta+mo,Rn.f=ga.qa,Rn.N=ga.ra+Ci,Rn.ea=ga.Ha,Rn.W=ga.Ia+Ci):(po-=no,Rn.y=qo,Rn.O=fi,Rn.f=Bo,Rn.N=to,Rn.ea=oi,Rn.W=mi),Go||(yo-=no),yo>Rn.o&&(yo=Rn.o),Rn.F=null,Rn.J=null,ga.Fa!=null&&0<ga.Fa.length&&po<yo&&(Rn.J=R(ga,Rn,po,yo-po),Rn.F=ga.mb,Rn.F==null&&Rn.F.length==0)){Fo=za(ga,3,"Could not decode alpha data.");break t}po<Rn.j&&(no=Rn.j-po,po=Rn.j,s(!(1&no)),Rn.O+=ga.R*no,Rn.N+=ga.B*(no>>1),Rn.W+=ga.B*(no>>1),Rn.F!=null&&(Rn.J+=Rn.width*no)),po<yo&&(Rn.O+=Rn.v,Rn.N+=Rn.v>>1,Rn.W+=Rn.v>>1,Rn.F!=null&&(Rn.J+=Rn.v),Rn.ka=po-Rn.j,Rn.U=Rn.va-Rn.v,Rn.T=yo-po,Fo=Rn.put(Rn))}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}(zt,gr)),gr.bc!=null&&gr.bc(gr),Er&=1}return Er?(zt.cb=0,Er):0})(i,ce)||(m=i.a)}}else m=i.a}m==0&&Qe.Oa!=null&&Qe.Oa.fd&&(m=Fr(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 Ie(Ct,Jt){for(var ke="",Te=0;Te<4;Te++)ke+=String.fromCharCode(Ct[Jt++]);return ke}function ot(Ct,Jt){return Ct[Jt+0]|Ct[Jt+1]<<8}function Pt(Ct,Jt){return(Ct[Jt+0]|Ct[Jt+1]<<8|Ct[Jt+2]<<16)>>>0}function Et(Ct,Jt){return(Ct[Jt+0]|Ct[Jt+1]<<8|Ct[Jt+2]<<16|Ct[Jt+3]<<24)>>>0}new ee;var ge=[0],nt=[0],gt=[],Kt=new ee,ct=f,cr=function(Ct,Jt){var ke={},Te=0,lt=!1,Ot=0,dr=0;if(ke.frames=[],!function(je,vt){for(var jt=0;jt<4;jt++)if(je[vt+jt]!="RIFF".charCodeAt(jt))return!0;return!1}(Ct,Jt)){for(Et(Ct,Jt+=4),Jt+=8;Jt<Ct.length;){var vr=Ie(Ct,Jt),Zt=Et(Ct,Jt+=4);Jt+=4;var Mt=Zt+(1&Zt);switch(vr){case"VP8 ":case"VP8L":ke.frames[Te]===void 0&&(ke.frames[Te]={}),(xr=ke.frames[Te]).src_off=lt?dr:Jt-8,xr.src_size=Ot+Zt+8,Te++,lt&&(lt=!1,Ot=0,dr=0);break;case"VP8X":(xr=ke.header={}).feature_flags=Ct[Jt];var ur=Jt+4;xr.canvas_width=1+Pt(Ct,ur),ur+=3,xr.canvas_height=1+Pt(Ct,ur),ur+=3;break;case"ALPH":lt=!0,Ot=Mt+8,dr=Jt-8;break;case"ANIM":(xr=ke.header).bgcolor=Et(Ct,Jt),ur=Jt+4,xr.loop_count=ot(Ct,ur),ur+=2;break;case"ANMF":var Yt,xr;(xr=ke.frames[Te]={}).offset_x=2*Pt(Ct,Jt),Jt+=3,xr.offset_y=2*Pt(Ct,Jt),Jt+=3,xr.width=1+Pt(Ct,Jt),Jt+=3,xr.height=1+Pt(Ct,Jt),Jt+=3,xr.duration=Pt(Ct,Jt),Jt+=3,Yt=Ct[Jt++],xr.dispose=1&Yt,xr.blend=Yt>>1&1}vr!="ANMF"&&(Jt+=Mt)}return ke}}(ct,0);cr.response=ct,cr.rgbaoutput=!0,cr.dataurl=!1;var Cr=cr.header?cr.header:null,Qt=cr.frames?cr.frames:null;if(Cr){Cr.loop_counter=Cr.loop_count,ge=[Cr.canvas_height],nt=[Cr.canvas_width];for(var tt=0;tt<Qt.length&&Qt[tt].blend!=0;tt++);}var Se=Qt[0],kt=Kt.WebPDecodeRGBA(ct,Se.src_off,Se.src_size,nt,ge);Se.rgba=kt,Se.imgwidth=nt[0],Se.imgheight=ge[0];for(var Ft=0;Ft<nt[0]*ge[0]*4;Ft++)gt[Ft]=kt[Ft];return this.width=nt,this.height=ge,this.data=gt,this}(function(f){var s,p,b,P,d,ne,Z,ee,Ie,ot=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 ee,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,P=this.internal.getHorizontalCoordinate,d=this.internal.getVerticalCoordinate,ne=this.internal.Point,Z=this.internal.Rectangle,ee=this.internal.Matrix,Ie=new ot}]);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 jt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return jt},set:function(Lr){jt=!!Lr}});var it=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return it},set:function(Lr){it=!!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 Ie.margin},set:function(Lr){var Nt;typeof Lr=="number"?Nt=[Lr,Lr,Lr,Lr]:((Nt=new Array(4))[0]=Lr[0],Nt[1]=Lr.length>=2?Lr[1]:Nt[0],Nt[2]=Lr.length>=3?Lr[2]:Nt[0],Nt[3]=Lr.length>=4?Lr[3]:Nt[1]),Ie.margin=Nt}});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 Ie},set:function(Lr){Lr instanceof ot&&(Ie=Lr)}}),Object.defineProperty(this,"path",{get:function(){return Ie.path},set:function(Lr){Ie.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 Nt;Nt=Et(Lr),this.ctx.fillStyle=Nt.style,this.ctx.isFillTransparent=Nt.a===0,this.ctx.fillOpacity=Nt.a,this.pdf.setFillColor(Nt.r,Nt.g,Nt.b,{a:Nt.a}),this.pdf.setTextColor(Nt.r,Nt.g,Nt.b,{a:Nt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Lr){var Nt=Et(Lr);this.ctx.strokeStyle=Nt.style,this.ctx.isStrokeTransparent=Nt.a===0,this.ctx.strokeOpacity=Nt.a,Nt.a===0?this.pdf.setDrawColor(255,255,255):(Nt.a,this.pdf.setDrawColor(Nt.r,Nt.g,Nt.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 ln=null,yn=null;Object.defineProperty(this,"fontFaces",{get:function(){return yn},set:function(Lr){ln=null,yn=Lr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Lr){var Nt;if(this.ctx.font=Lr,(Nt=/^\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=Nt[1];Nt[2];var da=Nt[3],Wn=Nt[4];Nt[5];var Jr=Nt[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 We;if(rn in Gt)return[Gt[rn]];for(;rn!=="";){switch(Ln=null,Un=(rn=Ae(rn)).charAt(0)){case'"':case"'":Ln=Cn(rn.substring(1),Un);break;default:Ln=Zr(rn)}if(Ln===null||(Xn.push(Ln[0]),(rn=Ae(Ln[1]))!==""&&rn.charAt(0)!==","))return We;rn=rn.replace(/^,/,"")}return Xn}(Jr);if(this.fontFaces){var oa=function(ea,Un){if(ln===null){var Ln=function(Xn){var rn=[];return Object.keys(Xn).forEach(function(fn){Xn[fn].forEach(function(sa){var xn=null;switch(sa){case"bold":xn={family:fn,weight:"bold"};break;case"italic":xn={family:fn,style:"italic"};break;case"bolditalic":xn={family:fn,weight:"bold",style:"italic"};break;case"":case"normal":xn={family:fn}}xn!==null&&(xn.ref={name:fn,style:sa},rn.push(xn))})}),rn}(ea.getFontList());ln=function(Xn){for(var rn={},fn=0;fn<Xn.length;++fn){var sa=sr(Xn[fn]),xn=sa.family,ha=sa.stretch,Vn=sa.style,Ha=sa.weight;rn[xn]=rn[xn]||{},rn[xn][ha]=rn[xn][ha]||{},rn[xn][ha][Vn]=rn[xn][ha][Vn]||{},rn[xn][ha][Vn][Ha]=sa}return rn}(Ln.concat(Un))}return ln}(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||{}),fn=null,sa=null,xn=0;xn<Un.length;++xn)if(rn[(fn=sr(Un[xn])).family]&&(fn.family=rn[fn.family]),ea.hasOwnProperty(fn.family)){sa=ea[fn.family];break}if(!(sa=sa||ea[Xn]))throw new Error("Could not find a font-family for the rule '"+$(fn)+"' and default family '"+Xn+"'.");if(sa=function(ha,Vn){if(Vn[ha])return Vn[ha];var Ha=Fn[ha],qa=Ha<=Fn.normal?-1:1,vn=S(Vn,wn,Ha,qa);if(!vn)throw new Error("Could not find a matching font-stretch value for "+ha);return vn}(fn.stretch,sa),sa=function(ha,Vn){if(Vn[ha])return Vn[ha];for(var Ha=Br[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)}(fn.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=Sr[ha],qa=S(Vn,Rt,Ha,ha<400?-1:1);if(!qa)throw new Error("Could not find a matching font-weight for value "+ha);return qa}(fn.weight,sa)))throw new Error("Failed to resolve a font for the rule '"+$(fn)+"'.");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,xr.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Lr){this.ctx.lineDash=Lr,xr.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 _.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var jt=this.ctx.transform.applyToPoint(new ne(je,vt));this.path.push({type:"mt",x:jt.x,y:jt.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 _.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var jt=this.ctx.transform.applyToPoint(new ne(je,vt));this.path.push({type:"lt",x:jt.x,y:jt.y}),this.ctx.lastPoint=new ne(jt.x,jt.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,jt,it){if(isNaN(jt)||isNaN(it)||isNaN(je)||isNaN(vt))throw _.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var qt=this.ctx.transform.applyToPoint(new ne(jt,it)),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,jt,it,qt,nr){if(isNaN(qt)||isNaN(nr)||isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it))throw _.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(jt,it));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,jt,it,qt,nr){if(isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it)||isNaN(qt))throw _.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,jt)),Rr=this.ctx.transform.applyToPoint(new ne(0,0));jt=Math.sqrt(Math.pow(Ar.x-Rr.x,2)+Math.pow(Ar.y-Rr.y,2))}Math.abs(qt-it)>=2*Math.PI&&(it=0,qt=2*Math.PI),this.path.push({type:"arc",x:je,y:vt,radius:jt,startAngle:it,endAngle:qt,counterclockwise:nr})},Pt.prototype.arcTo=function(je,vt,jt,it,qt){throw new Error("arcTo not implemented.")},Pt.prototype.rect=function(je,vt,jt,it){if(isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it))throw _.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(je,vt),this.lineTo(je+jt,vt),this.lineTo(je+jt,vt+it),this.lineTo(je,vt+it),this.lineTo(je,vt),this.lineTo(je+jt,vt),this.lineTo(je,vt)},Pt.prototype.fillRect=function(je,vt,jt,it){if(isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it))throw _.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ge.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,jt,it),this.fill(),qt.hasOwnProperty("lineCap")&&(this.lineCap=qt.lineCap),qt.hasOwnProperty("lineJoin")&&(this.lineJoin=qt.lineJoin)}},Pt.prototype.strokeRect=function(je,vt,jt,it){if(isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it))throw _.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");nt.call(this)||(this.beginPath(),this.rect(je,vt,jt,it),this.stroke())},Pt.prototype.clearRect=function(je,vt,jt,it){if(isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it))throw _.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,jt,it))},Pt.prototype.save=function(je){je=typeof je!="boolean"||je;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,jt=0;jt<this.pdf.internal.getNumberOfPages();jt++)this.pdf.setPage(jt+1),this.pdf.internal.out("q");if(this.pdf.setPage(vt),je){this.ctx.fontSize=this.pdf.internal.getFontSize();var it=new ot(this.ctx);this.ctxStack.push(this.ctx),this.ctx=it}},Pt.prototype.restore=function(je){je=typeof je!="boolean"||je;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,jt=0;jt<this.pdf.internal.getNumberOfPages();jt++)this.pdf.setPage(jt+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 Et=function(je){var vt,jt,it,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,jt=0,it=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]),jt=parseInt(nr[2]),it=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]),jt=parseInt(nr[2]),it=parseInt(nr[3]),qt=parseFloat(nr[4]);else{if(qt=1,typeof je=="string"&&je.charAt(0)!=="#"){var Or=new k(je);je=Or.ok?Or.toHex():"#000000"}je.length===4?(vt=je.substring(1,2),vt+=vt,jt=je.substring(2,3),jt+=jt,it=je.substring(3,4),it+=it):(vt=je.substring(1,3),jt=je.substring(3,5),it=je.substring(5,7)),vt=parseInt(vt,16),jt=parseInt(jt,16),it=parseInt(it,16)}}return{r:vt,g:jt,b:it,a:qt,style:je}},ge=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},nt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Pt.prototype.fillText=function(je,vt,jt,it){if(isNaN(vt)||isNaN(jt)||typeof je!="string")throw _.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(it=isNaN(it)?void 0:it,!ge.call(this)){var qt=Mt(this.ctx.transform.rotation),nr=this.ctx.transform.scaleX;Te.call(this,{text:je,x:vt,y:jt,scale:nr,angle:qt,align:this.textAlign,maxWidth:it})}},Pt.prototype.strokeText=function(je,vt,jt,it){if(isNaN(vt)||isNaN(jt)||typeof je!="string")throw _.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!nt.call(this)){it=isNaN(it)?void 0:it;var qt=Mt(this.ctx.transform.rotation),nr=this.ctx.transform.scaleX;Te.call(this,{text:je,x:vt,y:jt,scale:nr,renderingMode:"stroke",angle:qt,align:this.textAlign,maxWidth:it})}},Pt.prototype.measureText=function(je){if(typeof je!="string")throw _.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var vt=this.pdf,jt=this.pdf.internal.scaleFactor,it=vt.internal.getFontSize(),qt=vt.getStringUnitWidth(je)*it/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*jt/72*1e4)/1e4})},Pt.prototype.scale=function(je,vt){if(isNaN(je)||isNaN(vt))throw _.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var jt=new ee(je,0,0,vt,0,0);this.ctx.transform=this.ctx.transform.multiply(jt)},Pt.prototype.rotate=function(je){if(isNaN(je))throw _.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var vt=new ee(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 _.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var jt=new ee(1,0,0,1,je,vt);this.ctx.transform=this.ctx.transform.multiply(jt)},Pt.prototype.transform=function(je,vt,jt,it,qt,nr){if(isNaN(je)||isNaN(vt)||isNaN(jt)||isNaN(it)||isNaN(qt)||isNaN(nr))throw _.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var Or=new ee(je,vt,jt,it,qt,nr);this.ctx.transform=this.ctx.transform.multiply(Or)},Pt.prototype.setTransform=function(je,vt,jt,it,qt,nr){je=isNaN(je)?1:je,vt=isNaN(vt)?0:vt,jt=isNaN(jt)?0:jt,it=isNaN(it)?1:it,qt=isNaN(qt)?0:qt,nr=isNaN(nr)?0:nr,this.ctx.transform=new ee(je,vt,jt,it,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,jt,it,qt,nr,Or,Ar,Rr){var Hr=this.pdf.getImageProperties(je),ln=1,yn=1,Lr=1,Nt=1;it!==void 0&&Ar!==void 0&&(Lr=Ar/it,Nt=Rr/qt,ln=Hr.width/it*Ar/it,yn=Hr.height/qt*Rr/qt),nr===void 0&&(nr=vt,Or=jt,vt=0,jt=0),it!==void 0&&Ar===void 0&&(Ar=it,Rr=qt),it===void 0&&Ar===void 0&&(Ar=Hr.width,Rr=Hr.height);for(var ba,da=this.ctx.transform.decompose(),Wn=Mt(da.rotate.shx),Jr=new ee,Vr=(Jr=(Jr=(Jr=Jr.multiply(da.translate)).multiply(da.skew)).multiply(da.scale)).applyToRectangle(new Z(nr-vt*Lr,Or-jt*Nt,it*ln,qt*yn)),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=cr(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=cr([Xn],this.posX+this.margin[3],-Un+ra+this.ctx.prevPageLastElemOffset)[0];var rn=(Qn>xa||Qn<qn)&>.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,jt){var it=[];vt=vt||this.pdf.internal.pageSize.width,jt=jt||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":it.push(Math.floor((je.y+qt)/jt)+1);break;case"arc":it.push(Math.floor((je.y+qt-je.radius)/jt)+1),it.push(Math.floor((je.y+qt+je.radius)/jt)+1);break;case"qct":var nr=ur(this.ctx.lastPoint.x,this.ctx.lastPoint.y,je.x1,je.y1,je.x,je.y);it.push(Math.floor((nr.y+qt)/jt)+1),it.push(Math.floor((nr.y+nr.h+qt)/jt)+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);it.push(Math.floor((Or.y+qt)/jt)+1),it.push(Math.floor((Or.y+Or.h+qt)/jt)+1);break;case"rect":it.push(Math.floor((je.y+qt)/jt)+1),it.push(Math.floor((je.y+je.h+qt)/jt)+1)}for(var Ar=0;Ar<it.length;Ar+=1)for(;this.pdf.internal.getNumberOfPages()<it[Ar];)ct.call(this);return it},ct=function(){var je=this.fillStyle,vt=this.strokeStyle,jt=this.font,it=this.lineCap,qt=this.lineWidth,nr=this.lineJoin;this.pdf.addPage(),this.fillStyle=je,this.strokeStyle=vt,this.font=jt,this.lineCap=it,this.lineWidth=qt,this.lineJoin=nr},cr=function(je,vt,jt){for(var it=0;it<je.length;it++)switch(je[it].type){case"bct":je[it].x2+=vt,je[it].y2+=jt;case"qct":je[it].x1+=vt,je[it].y1+=jt;default:je[it].x+=vt,je[it].y+=jt}return je},Cr=function(je){return je.sort(function(vt,jt){return vt-jt})},Qt=function(je,vt){for(var jt,it,qt=this.fillStyle,nr=this.strokeStyle,Or=this.lineCap,Ar=this.lineWidth,Rr=Math.abs(Ar*this.ctx.transform.scaleX),Hr=this.lineJoin,ln=JSON.parse(JSON.stringify(this.path)),yn=JSON.parse(JSON.stringify(this.path)),Lr=[],Nt=0;Nt<yn.length;Nt++)if(yn[Nt].x!==void 0)for(var ba=Kt.call(this,yn[Nt]),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;jt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=cr(jt,this.posX+this.margin[3],-Qn+_n+this.ctx.prevPageLastElemOffset),tt.call(this,je,!0),this.path=ka}if(it=JSON.parse(JSON.stringify(ln)),this.path=cr(it,this.posX+this.margin[3],-Qn+_n+this.ctx.prevPageLastElemOffset),vt===!1||En===0){var ra=(En>Jr||En<Vr)&>.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=ln},tt=function(je,vt){if((je!=="stroke"||vt||!nt.call(this))&&(je==="stroke"||vt||!ge.call(this))){for(var jt,it,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)&&(jt=[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(jt),qt[Rr-1].abs.push(Ar);break}}break;case"bct":jt=[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(jt);break;case"qct":var Hr=nr[Or-1].x+2/3*(Ar.x1-nr[Or-1].x),ln=nr[Or-1].y+2/3*(Ar.y1-nr[Or-1].y),yn=Ar.x+2/3*(Ar.x1-Ar.x),Lr=Ar.y+2/3*(Ar.y1-Ar.y),Nt=Ar.x,ba=Ar.y;jt=[Hr-nr[Or-1].x,ln-nr[Or-1].y,yn-nr[Or-1].x,Lr-nr[Or-1].y,Nt-nr[Or-1].x,ba-nr[Or-1].y],qt[qt.length-1].deltas.push(jt);break;case"arc":qt.push({deltas:[],abs:[],arc:!0}),Array.isArray(qt[qt.length-1].abs)&&qt[qt.length-1].abs.push(Ar)}}it=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;Ot.call(this,qt[Wn].deltas,oa,_n),da=!0}it&&Ct.call(this,it),vt&&Jt.call(this)}},Se=function(je){var vt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,jt=vt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return je-jt;case"top":return je+vt-jt;case"hanging":return je+vt-2*jt;case"middle":return je+vt/2-jt;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,jt){this.colorStops.push([vt,jt])},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,jt,it,qt,nr,Or,Ar,Rr){for(var Hr=vr.call(this,jt,it,qt,nr),ln=0;ln<Hr.length;ln++){var yn=Hr[ln];ln===0&&(Rr?ke.call(this,yn.x1+je,yn.y1+vt):lt.call(this,yn.x1+je,yn.y1+vt)),dr.call(this,je,vt,yn.x2,yn.y2,yn.x3,yn.y3,yn.x4,yn.y4)}Ar?Jt.call(this):Ct.call(this,Or)},Ct=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()},ke=function(je,vt){this.pdf.internal.out(p(je)+" "+b(vt)+" m")},Te=function(je){var vt;switch(je.align){case"right":case"end":vt="right";break;case"center":vt="center";break;default:vt="left"}var jt=this.pdf.getTextDimensions(je.text),it=Se.call(this,je.y),qt=kt.call(this,it)-jt.h,nr=this.ctx.transform.applyToPoint(new ne(je.x,it)),Or=this.ctx.transform.decompose(),Ar=new ee;Ar=(Ar=(Ar=Ar.multiply(Or.translate)).multiply(Or.skew)).multiply(Or.scale);for(var Rr,Hr,ln,yn=this.ctx.transform.applyToRectangle(new Z(je.x,it,jt.w,jt.h)),Lr=Ar.applyToRectangle(new Z(je.x,qt,jt.w,jt.h)),Nt=Kt.call(this,Lr),ba=[],da=0;da<Nt.length;da+=1)ba.indexOf(Nt[da])===-1&&ba.push(Nt[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=cr(Rr,this.posX+this.margin[3],-1*ka+En),tt.call(this,"fill",!0),this.path=ra}var Hn=cr([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),ln=this.lineWidth,this.lineWidth=ln*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=cr([JSON.parse(JSON.stringify(yn))],this.posX+this.margin[3],-ka+En+this.ctx.prevPageLastElemOffset)[0],Xn=ea&&(Vr>Wn||Vr<Jr)&>.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=ln)}else je.scale>=.01&&(Hr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Hr*je.scale),ln=this.lineWidth,this.lineWidth=ln*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=ln)},lt=function(je,vt,jt,it){jt=jt||0,it=it||0,this.pdf.internal.out(p(je+jt)+" "+b(vt+it)+" l")},Ot=function(je,vt,jt){return this.pdf.lines(je,vt,jt,null,null)},dr=function(je,vt,jt,it,qt,nr,Or,Ar){this.pdf.internal.out([s(P(jt+je)),s(d(it+vt)),s(P(qt+je)),s(d(nr+vt)),s(P(Or+je)),s(d(Ar+vt)),"c"].join(" "))},vr=function(je,vt,jt,it){for(var qt=2*Math.PI,nr=Math.PI/2;vt>jt;)vt-=qt;var Or=Math.abs(jt-vt);Or<qt&&it&&(Or=qt-Or);for(var Ar=[],Rr=it?-1:1,Hr=vt;Or>1e-5;){var ln=Hr+Rr*Math.min(Or,nr);Ar.push(Zt.call(this,je,Hr,ln)),Or-=Math.abs(ln-Hr),Hr=ln}return Ar},Zt=function(je,vt,jt){var it=(jt-vt)/2,qt=je*Math.cos(it),nr=je*Math.sin(it),Or=qt,Ar=-nr,Rr=Or*Or+Ar*Ar,Hr=Rr+Or*qt+Ar*nr,ln=4/3*(Math.sqrt(2*Rr*Hr)-Hr)/(Or*nr-Ar*qt),yn=Or-ln*Ar,Lr=Ar+ln*Or,Nt=yn,ba=-Lr,da=it+vt,Wn=Math.cos(da),Jr=Math.sin(da);return{x1:je*Math.cos(vt),y1:je*Math.sin(vt),x2:yn*Wn-Lr*Jr,y2:yn*Jr+Lr*Wn,x3:Nt*Wn-ba*Jr,y3:Nt*Jr+ba*Wn,x4:je*Math.cos(jt),y4:je*Math.sin(jt)}},Mt=function(je){return 180*je/Math.PI},ur=function(je,vt,jt,it,qt,nr){var Or=je+.5*(jt-je),Ar=vt+.5*(it-vt),Rr=qt+.5*(jt-qt),Hr=nr+.5*(it-nr),ln=Math.min(je,qt,Or,Rr),yn=Math.max(je,qt,Or,Rr),Lr=Math.min(vt,nr,Ar,Hr),Nt=Math.max(vt,nr,Ar,Hr);return new Z(ln,Lr,yn-ln,Nt-Lr)},Yt=function(je,vt,jt,it,qt,nr,Or,Ar){var Rr,Hr,ln,yn,Lr,Nt,ba,da,Wn,Jr,Vr,En,oa,_n,xa=jt-je,qn=it-vt,Qn=qt-jt,ka=nr-it,ra=Or-qt,Hn=Ar-nr;for(Hr=0;Hr<41;Hr++)Wn=(ba=(ln=je+(Rr=Hr/40)*xa)+Rr*((Lr=jt+Rr*Qn)-ln))+Rr*(Lr+Rr*(qt+Rr*ra-Lr)-ba),Jr=(da=(yn=vt+Rr*qn)+Rr*((Nt=it+Rr*ka)-yn))+Rr*(Nt+Rr*(nr+Rr*Hn-Nt)-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 Z(Math.round(Vr),Math.round(En),Math.round(oa-Vr),Math.round(_n-En))},xr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var je,vt,jt=(je=this.ctx.lineDash,vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:je,lineDashOffset:vt}));this.prevLineDash!==jt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=jt)}}})(W.API),function(f){var s=function(ne){var Z,ee,Ie,ot,Pt,Et,ge,nt,gt,Kt;for(/[^\x00-\xFF]/.test(ne),ee=[],Ie=0,ot=(ne+=Z="\0\0\0\0".slice(ne.length%4||4)).length;ot>Ie;Ie+=4)(Pt=(ne.charCodeAt(Ie)<<24)+(ne.charCodeAt(Ie+1)<<16)+(ne.charCodeAt(Ie+2)<<8)+ne.charCodeAt(Ie+3))!==0?(Et=(Pt=((Pt=((Pt=((Pt=(Pt-(Kt=Pt%85))/85)-(gt=Pt%85))/85)-(nt=Pt%85))/85)-(ge=Pt%85))/85)%85,ee.push(Et+33,ge+33,nt+33,gt+33,Kt+33)):ee.push(122);return function(ct,cr){for(var Cr=cr;Cr>0;Cr--)ct.pop()}(ee,Z.length),String.fromCharCode.apply(String,ee)+"~>"},p=function(ne){var Z,ee,Ie,ot,Pt,Et=String,ge="length",nt=255,gt="charCodeAt",Kt="slice",ct="replace";for(ne[Kt](-2),ne=ne[Kt](0,-2)[ct](/\s/g,"")[ct]("z","!!!!!"),Ie=[],ot=0,Pt=(ne+=Z="uuuuu"[Kt](ne[ge]%5||5))[ge];Pt>ot;ot+=5)ee=52200625*(ne[gt](ot)-33)+614125*(ne[gt](ot+1)-33)+7225*(ne[gt](ot+2)-33)+85*(ne[gt](ot+3)-33)+(ne[gt](ot+4)-33),Ie.push(nt&ee>>24,nt&ee>>16,nt&ee>>8,nt&ee);return function(cr,Cr){for(var Qt=Cr;Qt>0;Qt--)cr.pop()}(Ie,Z[ge]),Et.fromCharCode.apply(Et,Ie)},b=function(ne){return ne.split("").map(function(Z){return("0"+Z.charCodeAt().toString(16)).slice(-2)}).join("")+">"},P=function(ne){var Z=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"),Z.test(ne)===!1)return"";for(var ee="",Ie=0;Ie<ne.length;Ie+=2)ee+=String.fromCharCode("0x"+(ne[Ie]+ne[Ie+1]));return ee},d=function(ne){for(var Z=new Uint8Array(ne.length),ee=ne.length;ee--;)Z[ee]=ne.charCodeAt(ee);return(Z=(0,Xe.iZ)(Z)).reduce(function(Ie,ot){return Ie+String.fromCharCode(ot)},"")};f.processDataByFilters=function(ne,Z){var ee=0,Ie=ne||"",ot=[];for(typeof(Z=Z||[])=="string"&&(Z=[Z]),ee=0;ee<Z.length;ee+=1)switch(Z[ee]){case"ASCII85Decode":case"/ASCII85Decode":Ie=p(Ie),ot.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ie=s(Ie),ot.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ie=P(Ie),ot.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ie=b(Ie),ot.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ie=d(Ie),ot.push("/FlateDecode");break;default:throw new Error('The filter: "'+Z[ee]+'" is not implemented')}return{data:Ie,reverseChain:ot.reverse().join(" ")}}}(W.API),function(f){f.loadFile=function(s,p,b){return function(P,d,ne){d=d!==!1,ne=typeof ne=="function"?ne:function(){};var Z=void 0;try{Z=function(ee,Ie,ot){var Pt=new XMLHttpRequest,Et=0,ge=function(nt){var gt=nt.length,Kt=[],ct=String.fromCharCode;for(Et=0;Et<gt;Et+=1)Kt.push(ct(255&nt.charCodeAt(Et)));return Kt.join("")};if(Pt.open("GET",ee,!Ie),Pt.overrideMimeType("text/plain; charset=x-user-defined"),Ie===!1&&(Pt.onload=function(){Pt.status===200?ot(ge(this.responseText)):ot(void 0)}),Pt.send(null),Ie&&Pt.status===200)return ge(Pt.responseText)}(P,d,ne)}catch(ee){}return Z}(s,p,b)},f.loadImageFile=f.loadFile}(W.API),function(f){function s(){return(Y.html2canvas?Promise.resolve(Y.html2canvas):Promise.resolve().then(n.t.bind(n,64270,23))).catch(function(Z){return Promise.reject(new Error("Could not load html2canvas: "+Z))}).then(function(Z){return Z.default?Z.default:Z})}function p(){return(Y.DOMPurify?Promise.resolve(Y.DOMPurify):n.e(7573).then(n.bind(n,7573))).catch(function(Z){return Promise.reject(new Error("Could not load dompurify: "+Z))}).then(function(Z){return Z.default?Z.default:Z})}var b=function(Z){var ee=(0,o.Z)(Z);return ee==="undefined"?"undefined":ee==="string"||Z instanceof String?"string":ee==="number"||Z instanceof Number?"number":ee==="function"||Z instanceof Function?"function":Z&&Z.constructor===Array?"array":Z&&Z.nodeType===1?"element":ee==="object"?"object":"unknown"},P=function(Z,ee){var Ie=document.createElement(Z);for(var ot in ee.className&&(Ie.className=ee.className),ee.innerHTML&&ee.dompurify&&(Ie.innerHTML=ee.dompurify.sanitize(ee.innerHTML)),ee.style)Ie.style[ot]=ee.style[ot];return Ie},d=function Z(ee,Ie){for(var ot=ee.nodeType===3?document.createTextNode(ee.nodeValue):ee.cloneNode(!1),Pt=ee.firstChild;Pt;Pt=Pt.nextSibling)Ie!==!0&&Pt.nodeType===1&&Pt.nodeName==="SCRIPT"||ot.appendChild(Z(Pt,Ie));return ee.nodeType===1&&(ee.nodeName==="CANVAS"?(ot.width=ee.width,ot.height=ee.height,ot.getContext("2d").drawImage(ee,0,0)):ee.nodeName!=="TEXTAREA"&&ee.nodeName!=="SELECT"||(ot.value=ee.value),ot.addEventListener("load",function(){ot.scrollTop=ee.scrollTop,ot.scrollLeft=ee.scrollLeft},!0)),ot},ne=function Z(ee){var Ie=Object.assign(Z.convert(Promise.resolve()),JSON.parse(JSON.stringify(Z.template))),ot=Z.convert(Promise.resolve(),Ie);return(ot=ot.setProgress(1,Z,1,[Z])).set(ee)};(ne.prototype=Object.create(Promise.prototype)).constructor=ne,ne.convert=function(Z,ee){return Z.__proto__=ee||ne.prototype,Z},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(Z,ee){return this.then(function(){switch(ee=ee||function(Ie){switch(b(Ie)){case"string":return"string";case"element":return Ie.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Z),ee){case"string":return this.then(p).then(function(Ie){return this.set({src:P("div",{innerHTML:Z,dompurify:Ie})})});case"element":return this.set({src:Z});case"canvas":return this.set({canvas:Z});case"img":return this.set({img:Z});default:return this.error("Unknown source type.")}})},ne.prototype.to=function(Z){switch(Z){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 Z={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},ee=d(this.prop.src,this.opt.html2canvas.javascriptEnabled);ee.tagName==="BODY"&&(Z.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=P("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=P("div",{className:"html2pdf__container",style:Z}),this.prop.container.appendChild(ee),this.prop.container.firstChild.appendChild(P("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 Z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Z).then(s).then(function(ee){var Ie=Object.assign({},this.opt.html2canvas);return delete Ie.onrendered,ee(this.prop.container,Ie)}).then(function(ee){(this.opt.html2canvas.onrendered||function(){})(ee),this.prop.canvas=ee,document.body.removeChild(this.prop.overlay)})},ne.prototype.toContext2d=function(){var Z=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Z).then(s).then(function(ee){var Ie=this.opt.jsPDF,ot=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,Et=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 Et.onrendered,Ie.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ie.context2d.posX=this.opt.x,Ie.context2d.posY=this.opt.y,Ie.context2d.margin=this.opt.margin,Ie.context2d.fontFaces=ot,ot)for(var ge=0;ge<ot.length;++ge){var nt=ot[ge],gt=nt.src.find(function(Kt){return Kt.format==="truetype"});gt&&Ie.addFont(gt.url,nt.ref.name,nt.ref.style)}return Et.windowHeight=Et.windowHeight||0,Et.windowHeight=Et.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Et.windowHeight,Ie.context2d.save(!0),ee(this.prop.container,Et)}).then(function(ee){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(ee),this.prop.canvas=ee,document.body.removeChild(this.prop.overlay)})},ne.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var Z=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Z})},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(Z,ee,Ie){return(Ie=Ie||"pdf").toLowerCase()==="img"||Ie.toLowerCase()==="image"?this.outputImg(Z,ee):this.outputPdf(Z,ee)},ne.prototype.outputPdf=function(Z,ee){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Z,ee)})},ne.prototype.outputImg=function(Z){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(Z){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 "'+Z+'" is not supported.'}})},ne.prototype.save=function(Z){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(Z?{filename:Z}: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(Z){if(b(Z)!=="object")return this;var ee=Object.keys(Z||{}).map(function(Ie){if(Ie in ne.template.prop)return function(){this.prop[Ie]=Z[Ie]};switch(Ie){case"margin":return this.setMargin.bind(this,Z.margin);case"jsPDF":return function(){return this.opt.jsPDF=Z.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,Z.pageSize);default:return function(){this.opt[Ie]=Z[Ie]}}},this);return this.then(function(){return this.thenList(ee)})},ne.prototype.get=function(Z,ee){return this.then(function(){var Ie=Z in ne.template.prop?this.prop[Z]:this.opt[Z];return ee?ee(Ie):Ie})},ne.prototype.setMargin=function(Z){return this.then(function(){switch(b(Z)){case"number":Z=[Z,Z,Z,Z];case"array":if(Z.length===2&&(Z=[Z[0],Z[1],Z[0],Z[1]]),Z.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=Z}).then(this.setPageSize)},ne.prototype.setPageSize=function(Z){function ee(Ie,ot){return Math.floor(Ie*ot/72*96)}return this.then(function(){(Z=Z||W.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(Z.inner={width:Z.width-this.opt.margin[1]-this.opt.margin[3],height:Z.height-this.opt.margin[0]-this.opt.margin[2]},Z.inner.px={width:ee(Z.inner.width,Z.k),height:ee(Z.inner.height,Z.k)},Z.inner.ratio=Z.inner.height/Z.inner.width),this.prop.pageSize=Z})},ne.prototype.setProgress=function(Z,ee,Ie,ot){return Z!=null&&(this.progress.val=Z),ee!=null&&(this.progress.state=ee),Ie!=null&&(this.progress.n=Ie),ot!=null&&(this.progress.stack=ot),this.progress.ratio=this.progress.val/this.progress.state,this},ne.prototype.updateProgress=function(Z,ee,Ie,ot){return this.setProgress(Z?this.progress.val+Z:null,ee||null,Ie?this.progress.n+Ie:null,ot?this.progress.stack.concat(ot):null)},ne.prototype.then=function(Z,ee){var Ie=this;return this.thenCore(Z,ee,function(ot,Pt){return Ie.updateProgress(null,null,1,[ot]),Promise.prototype.then.call(this,function(Et){return Ie.updateProgress(null,ot),Et}).then(ot,Pt).then(function(Et){return Ie.updateProgress(1),Et})})},ne.prototype.thenCore=function(Z,ee,Ie){Ie=Ie||Promise.prototype.then;var ot=this;Z&&(Z=Z.bind(ot)),ee&&(ee=ee.bind(ot));var Pt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?ot:ne.convert(Object.assign({},ot),Promise.prototype),Et=Ie.call(Pt,Z,ee);return ne.convert(Et,ot.__proto__)},ne.prototype.thenExternal=function(Z,ee){return Promise.prototype.then.call(this,Z,ee)},ne.prototype.thenList=function(Z){var ee=this;return Z.forEach(function(Ie){ee=ee.thenCore(Ie)}),ee},ne.prototype.catch=function(Z){Z&&(Z=Z.bind(this));var ee=Promise.prototype.catch.call(this,Z);return ne.convert(ee,this)},ne.prototype.catchExternal=function(Z){return Promise.prototype.catch.call(this,Z)},ne.prototype.error=function(Z){return this.then(function(){throw new Error(Z)})},ne.prototype.using=ne.prototype.set,ne.prototype.saveAs=ne.prototype.save,ne.prototype.export=ne.prototype.output,ne.prototype.run=ne.prototype.then,W.getPageSize=function(Z,ee,Ie){if((0,o.Z)(Z)==="object"){var ot=Z;Z=ot.orientation,ee=ot.unit||ee,Ie=ot.format||Ie}ee=ee||"mm",Ie=Ie||"a4",Z=(""+(Z||"P")).toLowerCase();var Pt,Et=(""+Ie).toLowerCase(),ge={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(ee){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: "+ee}var nt,gt=0,Kt=0;if(ge.hasOwnProperty(Et))gt=ge[Et][1]/Pt,Kt=ge[Et][0]/Pt;else try{gt=Ie[1],Kt=Ie[0]}catch(ct){throw new Error("Invalid format: "+Ie)}if(Z==="p"||Z==="portrait")Z="p",Kt>gt&&(nt=Kt,Kt=gt,gt=nt);else{if(Z!=="l"&&Z!=="landscape")throw"Invalid orientation: "+Z;Z="l",gt>Kt&&(nt=Kt,Kt=gt,gt=nt)}return{width:Kt,height:gt,unit:ee,k:Pt,orientation:Z}},f.html=function(Z,ee){(ee=ee||{}).callback=ee.callback||function(){},ee.html2canvas=ee.html2canvas||{},ee.html2canvas.canvas=ee.html2canvas.canvas||this.canvas,ee.jsPDF=ee.jsPDF||this,ee.fontFaces=ee.fontFaces?ee.fontFaces.map(sr):null;var Ie=new ne(ee);return ee.worker?Ie:Ie.from(Z).doCallback()}}(W.API),W.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"),Vt=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&&Vt!==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 P=p.outline.render().split(/\r\n/),d=0;d<P.length;d++){var ne=P[d],Z=b.exec(ne);if(Z!=null){var ee=Z[1];p.internal.newObjectDeferredBegin(ee,!1)}p.internal.write(ne)}if(this.outline.createNamedDestinations){var Ie=this.internal.pages.length,ot=[];for(d=0;d<Ie;d++){var Pt=p.internal.newObject();ot.push(Pt);var Et=p.internal.getPageInfo(d+1);p.internal.write("<< /D["+Et.objId+" 0 R /XYZ null null null]>> endobj")}var ge=p.internal.newObject();for(p.internal.write("<< /Names [ "),d=0;d<ot.length;d++)p.internal.write("(page_"+(d+1)+")"+ot[d]+" 0 R");p.internal.write(" ] >>","endobj"),s=p.internal.newObject(),p.internal.write("<< /Dests "+ge+" 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,P,d){var ne={title:P,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 P=0;P<b.children.length;P++)this.genIds_r(b.children[P])},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 P=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 Z=this.count=this.count_r({count:0},ne);if(Z>0&&this.line("/Count "+Z),ne.options&&ne.options.pageNumber){var ee=p.internal.getPageInfo(ne.options.pageNumber);this.line("/Dest ["+ee.objId+" 0 R /XYZ 0 "+P(0)+" 0]")}this.objEnd()}for(var Ie=0;Ie<b.children.length;Ie++)this.renderItems(b.children[Ie])},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,P){for(var d=0;d<P.children.length;d++)b.count++,this.count_r(b,P.children[d]);return b.count}}])}(W.API),function(f){var s=[192,193,194,195,196,197,198,199];f.processJPEG=function(p,b,P,d,ne,Z){var ee,Ie=this.decode.DCT_DECODE,ot=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,ee=function(Pt){for(var Et,ge=256*Pt.charCodeAt(4)+Pt.charCodeAt(5),nt=Pt.length,gt={width:0,height:0,numcomponents:1},Kt=4;Kt<nt;Kt+=2){if(Kt+=ge,s.indexOf(Pt.charCodeAt(Kt+1))!==-1){Et=256*Pt.charCodeAt(Kt+5)+Pt.charCodeAt(Kt+6),gt={width:256*Pt.charCodeAt(Kt+7)+Pt.charCodeAt(Kt+8),height:Et,numcomponents:Pt.charCodeAt(Kt+9)};break}ge=256*Pt.charCodeAt(Kt+2)+Pt.charCodeAt(Kt+3)}return gt}(p=this.__addimage__.isArrayBufferView(p)?this.__addimage__.arrayBufferToBinaryString(p):p),ee.numcomponents){case 1:Z=this.color_spaces.DEVICE_GRAY;break;case 4:Z=this.color_spaces.DEVICE_CMYK;break;case 3:Z=this.color_spaces.DEVICE_RGB}ot={data:p,width:ee.width,height:ee.height,colorSpace:Z,bitsPerComponent:8,filter:Ie,index:b,alias:P}}return ot}}(W.API),W.API.processPNG=function(f,s,p,b){if(this.__addimage__.isArrayBuffer(f)&&(f=new Uint8Array(f)),this.__addimage__.isArrayBufferView(f)){var P,d=(0,ze.Jx)(f,{checkCrc:!0}),ne=d.width,Z=d.height,ee=d.channels,Ie=d.palette,ot=d.depth;P=Ie&&ee===1?function(Ft){for(var Ct=Ft.width,Jt=Ft.height,ke=Ft.data,Te=Ft.palette,lt=Ft.depth,Ot=!1,dr=[],vr=[],Zt=void 0,Mt=!1,ur=0,Yt=0;Yt<Te.length;Yt++){var xr=(0,L.Z)(Te[Yt],4),je=xr[0],vt=xr[1],jt=xr[2],it=xr[3];dr.push(je,vt,jt),it!=null&&(it===0?(ur++,vr.length<1&&vr.push(Yt)):it<255&&(Mt=!0))}if(Mt||ur>1){Ot=!0,vr=void 0;var qt=Ct*Jt;Zt=new Uint8Array(qt);for(var nr=new DataView(ke.buffer),Or=0;Or<qt;Or++){var Ar=or(nr,Or,lt),Rr=(0,L.Z)(Te[Ar],4)[3];Zt[Or]=Rr}}else ur===0&&(vr=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:Ot?8:void 0,colorBytes:ke,alphaBytes:Zt,needSMask:Ot,palette:dr,mask:vr}}(d):ee===2||ee===4?function(Ft){for(var Ct=Ft.data,Jt=Ft.width,ke=Ft.height,Te=Ft.channels,lt=Ft.depth,Ot=Te===2?"DeviceGray":"DeviceRGB",dr=Te-1,vr=Jt*ke,Zt=dr,Mt=vr*Zt,ur=1*vr,Yt=Math.ceil(Mt*lt/8),xr=Math.ceil(ur*lt/8),je=new Uint8Array(Yt),vt=new Uint8Array(xr),jt=new DataView(Ct.buffer),it=new DataView(je.buffer),qt=new DataView(vt.buffer),nr=!1,Or=0;Or<vr;Or++){for(var Ar=Or*Te,Rr=0;Rr<Zt;Rr++)Nr(it,or(jt,Ar+Rr,lt),Or*Zt+Rr,lt);var Hr=or(jt,Ar+Zt,lt);Hr<(1<<lt)-1&&(nr=!0),Nr(qt,Hr,1*Or,lt)}return{colorSpace:Ot,colorsPerPixel:dr,sMaskBitsPerComponent:nr?lt:void 0,colorBytes:je,alphaBytes:vt,needSMask:nr}}(d):function(Ft){var Ct=Ft.data,Jt=Ft.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Jt,colorsPerPixel:Jt==="DeviceGray"?1:3,colorBytes:Ct instanceof Uint16Array?function(ke){for(var Te=ke.length,lt=new Uint8Array(2*Te),Ot=new DataView(lt.buffer,lt.byteOffset,lt.byteLength),dr=0;dr<Te;dr++)Ot.setUint16(2*dr,ke[dr],!1);return lt}(Ct):Ct,needSMask:!1}}(d);var Pt,Et,ge,nt=P,gt=nt.colorSpace,Kt=nt.colorsPerPixel,ct=nt.sMaskBitsPerComponent,cr=nt.colorBytes,Cr=nt.alphaBytes,Qt=nt.needSMask,tt=nt.palette,Se=nt.mask,kt=null;return b!==W.API.image_compression.NONE&&typeof Xe.iZ=="function"?(kt=function(Ft){var Ct;switch(Ft){case W.API.image_compression.FAST:Ct=11;break;case W.API.image_compression.MEDIUM:Ct=13;break;case W.API.image_compression.SLOW:Ct=14;break;default:Ct=12}return Ct}(b),Pt=this.decode.FLATE_DECODE,Et="/Predictor ".concat(kt," /Colors ").concat(Kt," /BitsPerComponent ").concat(ot," /Columns ").concat(ne),f=jr(cr,Math.ceil(ne*Kt*ot/8),Kt,ot,b),Qt&&(ge=jr(Cr,Math.ceil(ne*ct/8),1,ct,b))):(Pt=void 0,Et=void 0,f=cr,Qt&&(ge=Cr)),(this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),(ge&&this.__addimage__.isArrayBuffer(ge)||this.__addimage__.isArrayBufferView(ge))&&(ge=this.__addimage__.arrayBufferToBinaryString(ge)),{alias:p,data:f,index:s,filter:Pt,decodeParameters:Et,transparency:Se,palette:tt,sMask:ge,predictor:kt,width:ne,height:Z,bitsPerComponent:ot,sMaskBitsPerComponent:ct,colorSpace:gt}}},function(f){f.processGIF89A=function(s,p,b,P){var d=new sn(s),ne=d.width,Z=d.height,ee=[];d.decodeAndBlitFrameRGBA(0,ee);var Ie={data:ee,width:ne,height:Z},ot=new mn(100).encode(Ie,100);return f.processJPEG.call(this,ot,p,b,P)},f.processGIF87A=f.processGIF89A}(W.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),P=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0);this.palette[s]={red:P,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){_.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,P=0;P<s;P++)for(var d=this.datav.getUint8(this.pos++,!0),ne=b*this.width*4+8*P*4,Z=0;Z<8&&8*P+Z<this.width;Z++){var ee=this.palette[d>>7-Z&1];this.data[ne+4*Z]=ee.blue,this.data[ne+4*Z+1]=ee.green,this.data[ne+4*Z+2]=ee.red,this.data[ne+4*Z+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,P=0;P<f;P++){var d=this.datav.getUint8(this.pos++,!0),ne=b*this.width*4+2*P*4,Z=d>>4,ee=15&d,Ie=this.palette[Z];if(this.data[ne]=Ie.blue,this.data[ne+1]=Ie.green,this.data[ne+2]=Ie.red,this.data[ne+3]=255,2*P+1>=this.width)break;Ie=this.palette[ee],this.data[ne+4]=Ie.blue,this.data[ne+4+1]=Ie.green,this.data[ne+4+2]=Ie.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 P=this.datav.getUint8(this.pos++,!0),d=p*this.width*4+4*b;if(P<this.palette.length){var ne=this.palette[P];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,P=0;P<this.width;P++){var d=this.datav.getUint16(this.pos,!0);this.pos+=2;var ne=(d&s)/s*255|0,Z=(d>>5&s)/s*255|0,ee=(d>>10&s)/s*255|0,Ie=d>>15?255:0,ot=b*this.width*4+4*P;this.data[ot]=ee,this.data[ot+1]=Z,this.data[ot+2]=ne,this.data[ot+3]=Ie}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 P=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 Z=(ne&s)/s*255|0,ee=(ne>>5&p)/p*255|0,Ie=(ne>>11)/s*255|0,ot=P*this.width*4+4*d;this.data[ot]=Ie,this.data[ot+1]=ee,this.data[ot+2]=Z,this.data[ot+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),P=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]=P,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),P=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0),ne=this.datav.getUint8(this.pos++,!0),Z=s*this.width*4+4*p;this.data[Z]=d,this.data[Z+1]=P,this.data[Z+2]=b,this.data[Z+3]=ne}},on.prototype.getData=function(){return this.data},function(f){f.processBMP=function(s,p,b,P){var d=new on(s,!1),ne=d.width,Z=d.height,ee={data:d.getData(),width:ne,height:Z},Ie=new mn(100).encode(ee,100);return f.processJPEG.call(this,Ie,p,b,P)}}(W.API),Mn.prototype.getData=function(){return this.data},function(f){f.processWEBP=function(s,p,b,P){var d=new Mn(s),ne=d.width,Z=d.height,ee={data:d.getData(),width:ne,height:Z},Ie=new mn(100).encode(ee,100);return f.processJPEG.call(this,Ie,p,b,P)}}(W.API),W.API.processRGBA=function(f,s,p){for(var b=f.data,P=b.length,d=new Uint8Array(P/4*3),ne=new Uint8Array(P/4),Z=0,ee=0,Ie=0;Ie<P;Ie+=4){var ot=b[Ie],Pt=b[Ie+1],Et=b[Ie+2],ge=b[Ie+3];d[Z++]=ot,d[Z++]=Pt,d[Z++]=Et,ne[ee++]=ge}var nt=this.__addimage__.arrayBufferToBinaryString(d);return{alpha:this.__addimage__.arrayBufferToBinaryString(ne),data:nt,index:s,alias:p,colorSpace:"DeviceRGB",bitsPerComponent:8,width:f.width,height:f.height}},W.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=W.API,an=Kr.getCharWidthsArray=function(f,s){var p,b,P=(s=s||{}).font||this.internal.getFont(),d=s.fontSize||this.internal.getFontSize(),ne=s.charSpace||this.internal.getCharSpace(),Z=s.widths?s.widths:P.metadata.Unicode.widths,ee=Z.fof?Z.fof:1,Ie=s.kerning?s.kerning:P.metadata.Unicode.kerning,ot=Ie.fof?Ie.fof:1,Pt=s.doKerning!==!1,Et=0,ge=f.length,nt=0,gt=Z[0]||ee,Kt=[];for(p=0;p<ge;p++)b=f.charCodeAt(p),typeof P.metadata.widthOfString=="function"?Kt.push((P.metadata.widthOfGlyph(P.metadata.characterToGlyph(b))+ne*(1e3/d)||0)/1e3):(Et=Pt&&(0,o.Z)(Ie[b])==="object"&&!isNaN(parseInt(Ie[b][nt],10))?Ie[b][nt]/ot:0,Kt.push((Z[b]||gt)/ee+Et)),nt=b;return Kt},An=Kr.getStringUnitWidth=function(f,s){var p=(s=s||{}).fontSize||this.internal.getFontSize(),b=s.font||this.internal.getFont(),P=s.charSpace||this.internal.getCharSpace();return Kr.processArabic&&(f=Kr.processArabic(f)),typeof b.metadata.widthOfString=="function"?b.metadata.widthOfString(f,p,P)/p:an.apply(this,arguments).reduce(function(d,ne){return d+ne},0)},St=function(f,s,p,b){for(var P=[],d=0,ne=f.length,Z=0;d!==ne&&Z+s[d]<p;)Z+=s[d],d++;P.push(f.slice(0,d));var ee=d;for(Z=0;d!==ne;)Z+s[d]>b&&(P.push(f.slice(ee,d)),Z=0,ee=d),Z+=s[d],d++;return ee!==d&&P.push(f.slice(ee,d)),P},Bt=function(f,s,p){p||(p={});var b,P,d,ne,Z,ee,Ie,ot=[],Pt=[ot],Et=p.textIndent||0,ge=0,nt=0,gt=f.split(" "),Kt=an.apply(this,[" ",p])[0];if(ee=p.lineIndent===-1?gt[0].length+2:p.lineIndent||0){var ct=Array(ee).join(" "),cr=[];gt.map(function(Qt){(Qt=Qt.split(/\s*\n/)).length>1?cr=cr.concat(Qt.map(function(tt,Se){return(Se&&tt.length?`
|
|
|
`:"")+tt})):cr.push(Qt[0])}),gt=cr,ee=An.apply(this,[ct,p])}for(d=0,ne=gt.length;d<ne;d++){var Cr=0;if(b=gt[d],ee&&b[0]==`
|
|
|
`&&(b=b.substr(1),Cr=1),Et+ge+(nt=(P=an.apply(this,[b,p])).reduce(function(Qt,tt){return Qt+tt},0))>s||Cr){if(nt>s){for(Z=St.apply(this,[b,P,s-(Et+ge),s]),ot.push(Z.shift()),ot=[Z.pop()];Z.length;)Pt.push([Z.shift()]);nt=P.slice(b.length-(ot[0]?ot[0].length:0)).reduce(function(Qt,tt){return Qt+tt},0)}else ot=[b];Pt.push(ot),Et=nt+ee,ge=Kt}else ot.push(b),Et+=ge+nt,ge=Kt}return Ie=ee?function(Qt,tt){return(tt?ct:"")+Qt.join(" ")}:function(Qt){return Qt.join(" ")},Pt.map(Ie)},Kr.splitTextToSize=function(f,s,p){var b,P=(p=p||{}).fontSize||this.internal.getFontSize(),d=function(ot){if(ot.widths&&ot.kerning)return{widths:ot.widths,kerning:ot.kerning};var Pt=this.internal.getFont(ot.fontName,ot.fontStyle),Et="Unicode";return Pt.metadata[Et]?{widths:Pt.metadata[Et].widths||{0:1},kerning:Pt.metadata[Et].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/P;d.textIndent=p.textIndent?1*p.textIndent*this.internal.scaleFactor/P:0,d.lineIndent=p.lineIndent;var Z,ee,Ie=[];for(Z=0,ee=b.length;Z<ee;Z++)Ie=Ie.concat(Bt.apply(this,[b[Z],ne,d]));return Ie},function(f){f.__fontmetrics__=f.__fontmetrics__||{};for(var s="0123456789abcdef",p="klmnopqrstuvwxyz",b={},P={},d=0;d<16;d++)b[p[d]]=s[d],P[s[d]]=p[d];var ne=function(Et){return"0x"+parseInt(Et,10).toString(16)},Z=f.__fontmetrics__.compress=function(Et){var ge,nt,gt,Kt,ct=["{"];for(var cr in Et){if(ge=Et[cr],isNaN(parseInt(cr,10))?nt="'"+cr+"'":(cr=parseInt(cr,10),nt=(nt=ne(cr).slice(2)).slice(0,-1)+P[nt.slice(-1)]),typeof ge=="number")ge<0?(gt=ne(ge).slice(3),Kt="-"):(gt=ne(ge).slice(2),Kt=""),gt=Kt+gt.slice(0,-1)+P[gt.slice(-1)];else{if((0,o.Z)(ge)!=="object")throw new Error("Don't know what to do with value type "+(0,o.Z)(ge)+".");gt=Z(ge)}ct.push(nt+gt)}return ct.push("}"),ct.join("")},ee=f.__fontmetrics__.uncompress=function(Et){if(typeof Et!="string")throw new Error("Invalid argument passed to uncompress.");for(var ge,nt,gt,Kt,ct={},cr=1,Cr=ct,Qt=[],tt="",Se="",kt=Et.length-1,Ft=1;Ft<kt;Ft+=1)(Kt=Et[Ft])=="'"?ge?(gt=ge.join(""),ge=void 0):ge=[]:ge?ge.push(Kt):Kt=="{"?(Qt.push([Cr,gt]),Cr={},gt=void 0):Kt=="}"?((nt=Qt.pop())[0][nt[1]]=Cr,gt=void 0,Cr=nt[0]):Kt=="-"?cr=-1:gt===void 0?b.hasOwnProperty(Kt)?(tt+=b[Kt],gt=parseInt(tt,16)*cr,cr=1,tt=""):tt+=Kt:b.hasOwnProperty(Kt)?(Se+=b[Kt],Cr[gt]=parseInt(Se,16)*cr,cr=1,gt=void 0,Se=""):Se+=Kt;return ct},Ie={codePages:["WinAnsiEncoding"],WinAnsiEncoding:ee("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},ot={Unicode:{Courier:Ie,"Courier-Bold":Ie,"Courier-BoldOblique":Ie,"Courier-Oblique":Ie,Helvetica:Ie,"Helvetica-Bold":Ie,"Helvetica-BoldOblique":Ie,"Helvetica-Oblique":Ie,"Times-Roman":Ie,"Times-Bold":Ie,"Times-BoldItalic":Ie,"Times-Italic":Ie}},Pt={Unicode:{"Courier-Oblique":ee("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":ee("{'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":ee("{'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:ee("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":ee("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":ee("{'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:ee("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:ee("{'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":ee("{'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:ee("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":ee("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":ee("{'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":ee("{'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":ee("{'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(Et){var ge=Et.font,nt=Pt.Unicode[ge.postScriptName];nt&&(ge.metadata.Unicode={},ge.metadata.Unicode.widths=nt.widths,ge.metadata.Unicode.kerning=nt.kerning);var gt=ot.Unicode[ge.postScriptName];gt&&(ge.metadata.Unicode.encoding=gt,ge.encoding=gt.codePages[0])}])}(W.API),function(f){var s=function(p){for(var b=p.length,P=new Uint8Array(b),d=0;d<b;d++)P[d]=p.charCodeAt(d);return P};f.API.events.push(["addFont",function(p){var b=void 0,P=p.font,d=p.instance;if(!P.isStandardFont){if(d===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+P.postScriptName+"').");if(typeof(b=d.existsFileInVFS(P.postScriptName)===!1?d.loadFile(P.postScriptName):d.getFileFromVFS(P.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+P.postScriptName+"').");(function(ne,Z){Z=/^\x00\x01\x00\x00/.test(Z)?s(Z):s(V(Z)),ne.metadata=f.API.TTFFont.open(Z),ne.metadata.Unicode=ne.metadata.Unicode||{encoding:{},kerning:{},widths:[]},ne.metadata.glyIdsUsed=[0]})(P,b)}}])}(W),W.API.addSvgAsImage=function(f,s,p,b,P,d,ne,Z){if(isNaN(s)||isNaN(p))throw _.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN(P))throw _.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var ee=document.createElement("canvas");ee.width=b,ee.height=P;var Ie=ee.getContext("2d");Ie.fillStyle="#fff",Ie.fillRect(0,0,ee.width,ee.height);var ot={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Pt=this;return(Y.canvg?Promise.resolve(Y.canvg):n.e(3754).then(n.bind(n,63754))).catch(function(Et){return Promise.reject(new Error("Could not load canvg: "+Et))}).then(function(Et){return Et.default?Et.default:Et}).then(function(Et){return Et.fromString(Ie,f,ot)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Et){return Et.render(ot)}).then(function(){Pt.addImage(ee.toDataURL("image/jpeg",1),s,p,b,P,ne,Z)})},W.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 P=0;P<this.internal.pages[b].length;P++)this.internal.pages[b][P]=this.internal.pages[b][P].replace(s,p);return this},W.API.viewerPreferences=function(f,s){var p;f=f||{},s=s||!1;var b,P,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}},Z=Object.keys(ne),ee=[],Ie=0,ot=0,Pt=0;function Et(nt,gt){var Kt,ct=!1;for(Kt=0;Kt<nt.length;Kt+=1)nt[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 ge=Z.length;for(Pt=0;Pt<ge;Pt+=1)p[Z[Pt]].value=p[Z[Pt]].defaultValue,p[Z[Pt]].explicitSet=!1}if((0,o.Z)(f)==="object"){for(P in f)if(d=f[P],Et(Z,P)&&d!==void 0){if(p[P].type==="boolean"&&typeof d=="boolean")p[P].value=d;else if(p[P].type==="name"&&Et(p[P].valueSet,d))p[P].value=d;else if(p[P].type==="integer"&&Number.isInteger(d))p[P].value=d;else if(p[P].type==="array"){for(Ie=0;Ie<d.length;Ie+=1)if(b=!0,d[Ie].length===1&&typeof d[Ie][0]=="number")ee.push(String(d[Ie]-1));else if(d[Ie].length>1){for(ot=0;ot<d[Ie].length;ot+=1)typeof d[Ie][ot]!="number"&&(b=!1);b===!0&&ee.push([d[Ie][0]-1,d[Ie][1]-1].join(" "))}p[P].value="["+ee.join(" ")+"]"}else p[P].value=p[P].defaultValue;p[P].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var nt,gt=[];for(nt in p)p[nt].explicitSet===!0&&(p[nt].type==="name"?gt.push("/"+nt+" /"+p[nt].value):gt.push("/"+nt+" "+p[nt].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>',P=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),d=unescape(encodeURIComponent(b)),ne=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Z=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ee=unescape(encodeURIComponent("</x:xmpmeta>")),Ie=d.length+ne.length+Z.length+P.length+ee.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ie+" >>"),this.internal.write("stream"),this.internal.write(P+d+ne+Z+ee),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,P){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:b,namespaceuri:P||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",p),this.internal.events.subscribe("postPutResources",s)),this}}(W.API),function(f){var s=f.API,p=s.pdfEscape16=function(d,ne){for(var Z,ee=ne.metadata.Unicode.widths,Ie=["","0","00","000","0000"],ot=[""],Pt=0,Et=d.length;Pt<Et;++Pt){if(Z=ne.metadata.characterToGlyph(d.charCodeAt(Pt)),ne.metadata.glyIdsUsed.push(Z),ne.metadata.toUnicode[Z]=d.charCodeAt(Pt),ee.indexOf(Z)==-1&&(ee.push(Z),ee.push([parseInt(ne.metadata.widthOfGlyph(Z),10)])),Z=="0")return ot.join("");Z=Z.toString(16),ot.push(Ie[4-Z.length],Z)}return ot.join("")},b=function(d){var ne,Z,ee,Ie,ot,Pt,Et;for(ot=`/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`,ee=[],Pt=0,Et=(Z=Object.keys(d).sort(function(ge,nt){return ge-nt})).length;Pt<Et;Pt++)ne=Z[Pt],ee.length>=100&&(ot+=`
|
|
|
`+ee.length+` beginbfchar
|
|
|
`+ee.join(`
|
|
|
`)+`
|
|
|
endbfchar`,ee=[]),d[ne]!==void 0&&d[ne]!==null&&typeof d[ne].toString=="function"&&(Ie=("0000"+d[ne].toString(16)).slice(-4),ne=("0000"+(+ne).toString(16)).slice(-4),ee.push("<"+ne+"><"+Ie+">"));return ee.length&&(ot+=`
|
|
|
`+ee.length+` beginbfchar
|
|
|
`+ee.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),ot+`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};s.events.push(["putFont",function(d){(function(ne){var Z=ne.font,ee=ne.out,Ie=ne.newObject,ot=ne.putStream;if(Z.metadata instanceof f.API.TTFFont&&Z.encoding==="Identity-H"){for(var Pt=Z.metadata.Unicode.widths,Et=Z.metadata.subset.encode(Z.metadata.glyIdsUsed,1),ge="",nt=0;nt<Et.length;nt++)ge+=String.fromCharCode(Et[nt]);var gt=Ie();ot({data:ge,addLength1:!0,objectId:gt}),ee("endobj");var Kt=Ie();ot({data:b(Z.metadata.toUnicode),addLength1:!0,objectId:Kt}),ee("endobj");var ct=Ie();ee("<<"),ee("/Type /FontDescriptor"),ee("/FontName /"+I(Z.fontName)),ee("/FontFile2 "+gt+" 0 R"),ee("/FontBBox "+f.API.PDFObject.convert(Z.metadata.bbox)),ee("/Flags "+Z.metadata.flags),ee("/StemV "+Z.metadata.stemV),ee("/ItalicAngle "+Z.metadata.italicAngle),ee("/Ascent "+Z.metadata.ascender),ee("/Descent "+Z.metadata.decender),ee("/CapHeight "+Z.metadata.capHeight),ee(">>"),ee("endobj");var cr=Ie();ee("<<"),ee("/Type /Font"),ee("/BaseFont /"+I(Z.fontName)),ee("/FontDescriptor "+ct+" 0 R"),ee("/W "+f.API.PDFObject.convert(Pt)),ee("/CIDToGIDMap /Identity"),ee("/DW 1000"),ee("/Subtype /CIDFontType2"),ee("/CIDSystemInfo"),ee("<<"),ee("/Supplement 0"),ee("/Registry (Adobe)"),ee("/Ordering ("+Z.encoding+")"),ee(">>"),ee(">>"),ee("endobj"),Z.objectNumber=Ie(),ee("<<"),ee("/Type /Font"),ee("/Subtype /Type0"),ee("/ToUnicode "+Kt+" 0 R"),ee("/BaseFont /"+I(Z.fontName)),ee("/Encoding /"+Z.encoding),ee("/DescendantFonts ["+cr+" 0 R]"),ee(">>"),ee("endobj"),Z.isAlreadyPutted=!0}})(d)}]),s.events.push(["putFont",function(d){(function(ne){var Z=ne.font,ee=ne.out,Ie=ne.newObject,ot=ne.putStream;if(Z.metadata instanceof f.API.TTFFont&&Z.encoding==="WinAnsiEncoding"){for(var Pt=Z.metadata.rawData,Et="",ge=0;ge<Pt.length;ge++)Et+=String.fromCharCode(Pt[ge]);var nt=Ie();ot({data:Et,addLength1:!0,objectId:nt}),ee("endobj");var gt=Ie();ot({data:b(Z.metadata.toUnicode),addLength1:!0,objectId:gt}),ee("endobj");var Kt=Ie();ee("<<"),ee("/Descent "+Z.metadata.decender),ee("/CapHeight "+Z.metadata.capHeight),ee("/StemV "+Z.metadata.stemV),ee("/Type /FontDescriptor"),ee("/FontFile2 "+nt+" 0 R"),ee("/Flags 96"),ee("/FontBBox "+f.API.PDFObject.convert(Z.metadata.bbox)),ee("/FontName /"+I(Z.fontName)),ee("/ItalicAngle "+Z.metadata.italicAngle),ee("/Ascent "+Z.metadata.ascender),ee(">>"),ee("endobj"),Z.objectNumber=Ie();for(var ct=0;ct<Z.metadata.hmtx.widths.length;ct++)Z.metadata.hmtx.widths[ct]=parseInt(Z.metadata.hmtx.widths[ct]*(1e3/Z.metadata.head.unitsPerEm));ee("<</Subtype/TrueType/Type/Font/ToUnicode "+gt+" 0 R/BaseFont/"+I(Z.fontName)+"/FontDescriptor "+Kt+" 0 R/Encoding/"+Z.encoding+" /FirstChar 29 /LastChar 255 /Widths "+f.API.PDFObject.convert(Z.metadata.hmtx.widths)+">>"),ee("endobj"),Z.isAlreadyPutted=!0}})(d)}]);var P=function(d){var ne,Z=d.text||"",ee=d.x,Ie=d.y,ot=d.options||{},Pt=d.mutex||{},Et=Pt.pdfEscape,ge=Pt.activeFontKey,nt=Pt.fonts,gt=ge,Kt="",ct=0,cr="",Cr=nt[gt].encoding;if(nt[gt].encoding!=="Identity-H")return{text:Z,x:ee,y:Ie,options:ot,mutex:Pt};for(cr=Z,gt=ge,Array.isArray(Z)&&(cr=Z[0]),ct=0;ct<cr.length;ct+=1)nt[gt].metadata.hasOwnProperty("cmap")&&(ne=nt[gt].metadata.cmap.unicode.codeMap[cr[ct].charCodeAt(0)]),ne||cr[ct].charCodeAt(0)<256&&nt[gt].metadata.hasOwnProperty("Unicode")?Kt+=cr[ct]:Kt+="";var Qt="";return parseInt(gt.slice(1))<14||Cr==="WinAnsiEncoding"?Qt=Et(Kt,gt).split("").map(function(tt){return tt.charCodeAt(0).toString(16)}).join(""):Cr==="Identity-H"&&(Qt=p(Kt,nt[gt])),Pt.isHex=!0,{text:Qt,x:ee,y:Ie,options:ot,mutex:Pt}};s.events.push(["postProcessText",function(d){var ne=d.text||"",Z=[],ee={text:ne,x:d.x,y:d.y,options:d.options,mutex:d.mutex};if(Array.isArray(ne)){var Ie=0;for(Ie=0;Ie<ne.length;Ie+=1)Array.isArray(ne[Ie])&&ne[Ie].length===3?Z.push([P(Object.assign({},ee,{text:ne[Ie][0]})).text,ne[Ie][1],ne[Ie][2]]):Z.push(P(Object.assign({},ee,{text:ne[Ie]})).text);d.text=Z}else d.text=P(Object.assign({},ee,{text:ne})).text}])}(W),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}}(W.API),function(f){f.__bidiEngine__=f.prototype.__bidiEngine__=function(b){var P,d,ne,Z,ee,Ie,ot,Pt=s,Et=[[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]],ge=[[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]],nt={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)$/),cr=!1,Cr=0;this.__bidiEngine__={};var Qt=function(ke){var Te=ke.charCodeAt(),lt=Te>>8,Ot=gt[lt];return Ot!==void 0?Pt[256*Ot+(255&Te)]:lt===252||lt===253?"AL":ct.test(lt)?"L":lt===8?"R":"N"},tt=function(ke){for(var Te,lt=0;lt<ke.length;lt++){if((Te=Qt(ke.charAt(lt)))==="L")return!1;if(Te==="R")return!0}return!1},Se=function(ke,Te,lt,Ot){var dr,vr,Zt,Mt,ur=Te[Ot];switch(ur){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":cr=!1;break;case"N":case"AN":break;case"EN":cr&&(ur="AN");break;case"AL":cr=!0,ur="R";break;case"WS":case"BN":ur="N";break;case"CS":Ot<1||Ot+1>=Te.length||(dr=lt[Ot-1])!=="EN"&&dr!=="AN"||(vr=Te[Ot+1])!=="EN"&&vr!=="AN"?ur="N":cr&&(vr="AN"),ur=vr===dr?vr:"N";break;case"ES":ur=(dr=Ot>0?lt[Ot-1]:"B")==="EN"&&Ot+1<Te.length&&Te[Ot+1]==="EN"?"EN":"N";break;case"ET":if(Ot>0&<[Ot-1]==="EN"){ur="EN";break}if(cr){ur="N";break}for(Zt=Ot+1,Mt=Te.length;Zt<Mt&&Te[Zt]==="ET";)Zt++;ur=Zt<Mt&&Te[Zt]==="EN"?"EN":"N";break;case"NSM":if(ne&&!Z){for(Mt=Te.length,Zt=Ot+1;Zt<Mt&&Te[Zt]==="NSM";)Zt++;if(Zt<Mt){var Yt=ke[Ot],xr=Yt>=1425&&Yt<=2303||Yt===64286;if(dr=Te[Zt],xr&&(dr==="R"||dr==="AL")){ur="R";break}}}ur=Ot<1||(dr=Te[Ot-1])==="B"?"N":lt[Ot-1];break;case"B":cr=!1,P=!0,ur=Cr;break;case"S":d=!0,ur="N"}return ur},kt=function(ke,Te,lt){var Ot=ke.split("");return lt&&Ft(Ot,lt,{hiLevel:Cr}),Ot.reverse(),Te&&Te.reverse(),Ot.join("")},Ft=function(ke,Te,lt){var Ot,dr,vr,Zt,Mt,ur=-1,Yt=ke.length,xr=0,je=[],vt=Cr?ge:Et,jt=[];for(cr=!1,P=!1,d=!1,dr=0;dr<Yt;dr++)jt[dr]=Qt(ke[dr]);for(vr=0;vr<Yt;vr++){if(Mt=xr,je[vr]=Se(ke,jt,je,vr),Ot=240&(xr=vt[Mt][nt[je[vr]]]),xr&=15,Te[vr]=Zt=vt[xr][5],Ot>0)if(Ot===16){for(dr=ur;dr<vr;dr++)Te[dr]=1;ur=-1}else ur=-1;if(vt[xr][6])ur===-1&&(ur=vr);else if(ur>-1){for(dr=ur;dr<vr;dr++)Te[dr]=Zt;ur=-1}jt[vr]==="B"&&(Te[vr]=0),lt.hiLevel|=Zt}d&&function(it,qt,nr){for(var Or=0;Or<nr;Or++)if(it[Or]==="S"){qt[Or]=Cr;for(var Ar=Or-1;Ar>=0&&it[Ar]==="WS";Ar--)qt[Ar]=Cr}}(jt,Te,Yt)},Ct=function(ke,Te,lt,Ot,dr){if(!(dr.hiLevel<ke)){if(ke===1&&Cr===1&&!P)return Te.reverse(),void(lt&<.reverse());for(var vr,Zt,Mt,ur,Yt=Te.length,xr=0;xr<Yt;){if(Ot[xr]>=ke){for(Mt=xr+1;Mt<Yt&&Ot[Mt]>=ke;)Mt++;for(ur=xr,Zt=Mt-1;ur<Zt;ur++,Zt--)vr=Te[ur],Te[ur]=Te[Zt],Te[Zt]=vr,lt&&(vr=lt[ur],lt[ur]=lt[Zt],lt[Zt]=vr);xr=Mt}xr++}}},Jt=function(ke,Te,lt){var Ot=ke.split(""),dr={hiLevel:Cr};return lt||(lt=[]),Ft(Ot,lt,dr),function(vr,Zt,Mt){if(Mt.hiLevel!==0&&ot)for(var ur,Yt=0;Yt<vr.length;Yt++)Zt[Yt]===1&&(ur=Kt.indexOf(vr[Yt]))>=0&&(vr[Yt]=Kt[ur+1])}(Ot,lt,dr),Ct(2,Ot,Te,lt,dr),Ct(1,Ot,Te,lt,dr),Ot.join("")};return this.__bidiEngine__.doBidiReorder=function(ke,Te,lt){if(function(dr,vr){if(vr)for(var Zt=0;Zt<dr.length;Zt++)vr[Zt]=Zt;Z===void 0&&(Z=tt(dr)),Ie===void 0&&(Ie=tt(dr))}(ke,Te),ne||!ee||Ie)if(ne&&ee&&Z^Ie)Cr=Z?1:0,ke=kt(ke,Te,lt);else if(!ne&&ee&&Ie)Cr=Z?1:0,ke=Jt(ke,Te,lt),ke=kt(ke,Te);else if(!ne||Z||ee||Ie){if(ne&&!ee&&Z^Ie)ke=kt(ke,Te),Z?(Cr=0,ke=Jt(ke,Te,lt)):(Cr=1,ke=Jt(ke,Te,lt),ke=kt(ke,Te));else if(ne&&Z&&!ee&&Ie)Cr=1,ke=Jt(ke,Te,lt),ke=kt(ke,Te);else if(!ne&&!ee&&Z^Ie){var Ot=ot;Z?(Cr=1,ke=Jt(ke,Te,lt),Cr=0,ot=!1,ke=Jt(ke,Te,lt),ot=Ot):(Cr=0,ke=Jt(ke,Te,lt),ke=kt(ke,Te),Cr=1,ot=!1,ke=Jt(ke,Te,lt),ot=Ot,ke=kt(ke,Te))}}else Cr=0,ke=Jt(ke,Te,lt);else Cr=Z?1:0,ke=Jt(ke,Te,lt);return ke},this.__bidiEngine__.setOptions=function(ke){ke&&(ne=ke.isInputVisual,ee=ke.isOutputVisual,Z=ke.isInputRtl,Ie=ke.isOutputRtl,ot=ke.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 P=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(P)==="[object Array]"){var Z=0;for(ne=[],Z=0;Z<P.length;Z+=1)Object.prototype.toString.call(P[Z])==="[object Array]"?ne.push([p.doBidiReorder(P[Z][0]),P[Z][1],P[Z][2]]):ne.push([p.doBidiReorder(P[Z])]);b.text=ne}else b.text=p.doBidiReorder(P);p.setOptions({isInputVisual:!0})}])}(W),W.API.TTFFont=function(){function f(s){var p;if(this.rawData=s,p=this.contents=new bn(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 Dn(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,P,d;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var ne,Z,ee,Ie;for(Ie=[],ne=0,Z=(ee=this.bbox).length;ne<Z;ne++)s=ee[ne],Ie.push(Math.round(s*this.scaleFactor));return Ie}.call(this),this.stemV=0,this.post.exists?(b=255&(P=this.post.italic_angle),32768&(p=P>>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 P,d,ne,Z;for(ne=0,d=0,Z=(s=""+s).length;0<=Z?d<Z:d>Z;d=0<=Z?++d:--d)P=s.charCodeAt(d),ne+=this.widthOfGlyph(this.characterToGlyph(P))+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,bn=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,P;for(P=[],p=0,b=s.length;0<=b?p<b:p>b;p=0<=b?++p:--p)P.push(this.writeByte(s.charCodeAt(p)));return P},f.prototype.readShort=function(){return this.readInt16()},f.prototype.writeShort=function(s){return this.writeInt16(s)},f.prototype.readLongLong=function(){var s,p,b,P,d,ne,Z,ee;return s=this.readByte(),p=this.readByte(),b=this.readByte(),P=this.readByte(),d=this.readByte(),ne=this.readByte(),Z=this.readByte(),ee=this.readByte(),128&s?-1*(72057594037927940*(255^s)+281474976710656*(255^p)+1099511627776*(255^b)+4294967296*(255^P)+16777216*(255^d)+65536*(255^ne)+256*(255^Z)+(255^ee)+1):72057594037927940*s+281474976710656*p+1099511627776*b+4294967296*P+16777216*d+65536*ne+256*Z+ee},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,P,d;for(d=[],b=0,P=s.length;b<P;b++)p=s[b],d.push(this.writeByte(p));return d},f}(),zn=function(){var f;function s(p){var b,P,d;for(this.scalarType=p.readInt(),this.tableCount=p.readShort(),this.searchRange=p.readShort(),this.entrySelector=p.readShort(),this.rangeShift=p.readShort(),this.tables={},P=0,d=this.tableCount;0<=d?P<d:P>d;P=0<=d?++P:--P)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,P,d,ne,Z,ee,Ie,ot,Pt,Et,ge,nt,gt;for(gt in ge=Object.keys(p).length,ee=Math.log(2),Pt=16*Math.floor(Math.log(ge)/ee),ne=Math.floor(Pt/ee),ot=16*ge-Pt,(P=new bn).writeInt(this.scalarType),P.writeShort(ge),P.writeShort(Pt),P.writeShort(ne),P.writeShort(ot),d=16*ge,Ie=P.pos+d,Z=null,nt=[],p)for(Et=p[gt],P.writeString(gt),P.writeInt(f(Et)),P.writeInt(Ie),P.writeInt(Et.length),nt=nt.concat(Et),gt==="head"&&(Z=Ie),Ie+=Et.length;Ie%4;)nt.push(0),Ie++;return P.write(nt),b=2981146554-f(P.data),P.pos=Z+8,P.writeUInt32(b),P.data},f=function(p){var b,P,d,ne;for(p=Yn.call(p);p.length%4;)p.push(0);for(d=new bn(p),P=0,b=0,ne=p.length;b<ne;b=b+=4)P+=d.readUInt32();return 4294967295&P},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 bn).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,P,d,ne,Z,ee,Ie,ot,Pt,Et,ge,nt,gt,Kt,ct,cr,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(ee=0;ee<256;++ee)this.codeMap[ee]=s.readByte();break;case 4:for(ge=s.readUInt16(),Et=ge/2,s.pos+=6,d=function(){var Qt,tt;for(tt=[],ee=Qt=0;0<=Et?Qt<Et:Qt>Et;ee=0<=Et?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),s.pos+=2,gt=function(){var Qt,tt;for(tt=[],ee=Qt=0;0<=Et?Qt<Et:Qt>Et;ee=0<=Et?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),Ie=function(){var Qt,tt;for(tt=[],ee=Qt=0;0<=Et?Qt<Et:Qt>Et;ee=0<=Et?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),ot=function(){var Qt,tt;for(tt=[],ee=Qt=0;0<=Et?Qt<Et:Qt>Et;ee=0<=Et?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),P=(this.length-s.pos+this.offset)/2,Z=function(){var Qt,tt;for(tt=[],ee=Qt=0;0<=P?Qt<P:Qt>P;ee=0<=P?++Qt:--Qt)tt.push(s.readUInt16());return tt}(),ee=ct=0,Cr=d.length;ct<Cr;ee=++ct)for(Kt=d[ee],b=cr=nt=gt[ee];nt<=Kt?cr<=Kt:cr>=Kt;b=nt<=Kt?++cr:--cr)ot[ee]===0?ne=b+Ie[ee]:(ne=Z[ot[ee]/2+(b-nt)-(Et-ee)]||0)!==0&&(ne+=Ie[ee]),this.codeMap[b]=65535&ne}s.pos=Pt}return f.encode=function(s,p){var b,P,d,ne,Z,ee,Ie,ot,Pt,Et,ge,nt,gt,Kt,ct,cr,Cr,Qt,tt,Se,kt,Ft,Ct,Jt,ke,Te,lt,Ot,dr,vr,Zt,Mt,ur,Yt,xr,je,vt,jt,it,qt,nr,Or,Ar,Rr,Hr,ln;switch(Ot=new bn,ne=Object.keys(s).sort(function(yn,Lr){return yn-Lr}),p){case"macroman":for(gt=0,Kt=function(){var yn=[];for(nt=0;nt<256;++nt)yn.push(0);return yn}(),cr={0:0},d={},dr=0,ur=ne.length;dr<ur;dr++)cr[Ar=s[P=ne[dr]]]==null&&(cr[Ar]=++gt),d[P]={old:s[P],new:cr[s[P]]},Kt[P]=cr[s[P]];return Ot.writeUInt16(1),Ot.writeUInt16(0),Ot.writeUInt32(12),Ot.writeUInt16(0),Ot.writeUInt16(262),Ot.writeUInt16(0),Ot.write(Kt),{charMap:d,subtable:Ot.data,maxGlyphID:gt+1};case"unicode":for(Te=[],Pt=[],Cr=0,cr={},b={},ct=Ie=null,vr=0,Yt=ne.length;vr<Yt;vr++)cr[tt=s[P=ne[vr]]]==null&&(cr[tt]=++Cr),b[P]={old:tt,new:cr[tt]},Z=cr[tt]-P,ct!=null&&Z===Ie||(ct&&Pt.push(ct),Te.push(P),Ie=Z),ct=P;for(ct&&Pt.push(ct),Pt.push(65535),Te.push(65535),Jt=2*(Ct=Te.length),Ft=2*Math.pow(Math.log(Ct)/Math.LN2,2),Et=Math.log(Ft/2)/Math.LN2,kt=2*Ct-Ft,ee=[],Se=[],ge=[],nt=Zt=0,xr=Te.length;Zt<xr;nt=++Zt){if(ke=Te[nt],ot=Pt[nt],ke===65535){ee.push(0),Se.push(0);break}if(ke-(lt=b[ke].new)>=32768)for(ee.push(0),Se.push(2*(ge.length+Ct-nt)),P=Mt=ke;ke<=ot?Mt<=ot:Mt>=ot;P=ke<=ot?++Mt:--Mt)ge.push(b[P].new);else ee.push(lt-ke),Se.push(0)}for(Ot.writeUInt16(3),Ot.writeUInt16(1),Ot.writeUInt32(12),Ot.writeUInt16(4),Ot.writeUInt16(16+8*Ct+2*ge.length),Ot.writeUInt16(0),Ot.writeUInt16(Jt),Ot.writeUInt16(Ft),Ot.writeUInt16(Et),Ot.writeUInt16(kt),nr=0,je=Pt.length;nr<je;nr++)P=Pt[nr],Ot.writeUInt16(P);for(Ot.writeUInt16(0),Or=0,vt=Te.length;Or<vt;Or++)P=Te[Or],Ot.writeUInt16(P);for(Rr=0,jt=ee.length;Rr<jt;Rr++)Z=ee[Rr],Ot.writeUInt16(Z);for(Hr=0,it=Se.length;Hr<it;Hr++)Qt=Se[Hr],Ot.writeUInt16(Qt);for(ln=0,qt=ge.length;ln<qt;ln++)gt=ge[ln],Ot.writeUInt16(gt);return{charMap:b,subtable:Ot.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,P;for(s.pos=this.offset,this.version=s.readUInt16(),P=s.readUInt16(),this.tables=[],this.unicode=null,b=0;0<=P?b<P:b>P;b=0<=P?++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,P;return p==null&&(p="macroman"),b=kn.encode(s,p),(P=new bn).writeUInt16(0),P.writeUInt16(1),b.table=P.data.concat(b.subtable),b},f}(),Dn=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,P;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=[],P=[];s.pos<this.offset+this.length;)p=s.readByte(),P.push(this.names.push(s.readString(p)));return P;case 151552:return b=s.readUInt16(),this.offsets=s.read(b);case 262144:return this.map=function(){var ne,Z,ee;for(ee=[],d=ne=0,Z=this.file.maxp.numGlyphs;0<=Z?ne<Z:ne>Z;d=0<=Z?++ne:--ne)ee.push(s.readUInt32());return ee}.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,P,d,ne,Z,ee,Ie,ot,Pt,Et;for(s.pos=this.offset,s.readShort(),p=s.readShort(),Z=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+Z+s.readShort()});for(ee={},d=ot=0,Pt=b.length;ot<Pt;d=++ot)P=b[d],s.pos=P.offset,Ie=s.readString(P.length),ne=new Zn(Ie,P),ee[Et=P.nameID]==null&&(ee[Et]=[]),ee[P.nameID].push(ne);this.strings=ee,this.copyright=ee[0],this.fontFamily=ee[1],this.fontSubfamily=ee[2],this.uniqueSubfamily=ee[3],this.fontName=ee[4],this.version=ee[5];try{this.postscriptName=ee[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(ge){this.postscriptName=ee[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=ee[7],this.manufacturer=ee[8],this.designer=ee[9],this.description=ee[10],this.vendorUrl=ee[11],this.designerUrl=ee[12],this.license=ee[13],this.licenseUrl=ee[14],this.preferredFamily=ee[15],this.preferredSubfamily=ee[17],this.compatibleFull=ee[18],this.sampleText=ee[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,P,d,ne,Z,ee;for(s.pos=this.offset,this.metrics=[],p=0,Z=this.file.hhea.numberOfMetrics;0<=Z?p<Z:p>Z;p=0<=Z?++p:--p)this.metrics.push({advance:s.readUInt16(),lsb:s.readInt16()});for(P=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ie,ot;for(ot=[],p=Ie=0;0<=P?Ie<P:Ie>P;p=0<=P?++Ie:--Ie)ot.push(s.readInt16());return ot}(),this.widths=function(){var Ie,ot,Pt,Et;for(Et=[],Ie=0,ot=(Pt=this.metrics).length;Ie<ot;Ie++)d=Pt[Ie],Et.push(d.advance);return Et}.call(this),b=this.widths[this.widths.length-1],ee=[],p=ne=0;0<=P?ne<P:ne>P;p=0<=P?++ne:--ne)ee.push(this.widths.push(b));return ee},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,P,d,ne,Z,ee,Ie,ot,Pt;return s in this.cache?this.cache[s]:(d=this.file.loca,p=this.file.contents,b=d.indexOf(s),(P=d.lengthOf(s))===0?this.cache[s]=null:(p.pos=this.offset+b,ne=(Z=new bn(p.read(P))).readShort(),Ie=Z.readShort(),Pt=Z.readShort(),ee=Z.readShort(),ot=Z.readShort(),this.cache[s]=ne===-1?new ao(Z,Ie,Pt,ee,ot):new Ma(Z,ne,Ie,Pt,ee,ot),this.cache[s]))},f.prototype.encode=function(s,p,b){var P,d,ne,Z,ee;for(ne=[],d=[],Z=0,ee=p.length;Z<ee;Z++)P=s[p[Z]],d.push(ne.length),P&&(ne=ne.concat(P.encode(b)));return d.push(ne.length),{table:ne,offsets:d}},f}(),Ma=function(){function f(s,p,b,P,d,ne){this.raw=s,this.numberOfContours=p,this.xMin=b,this.yMin=P,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,P,d){var ne,Z;for(this.raw=s,this.xMin=p,this.yMin=b,this.xMax=P,this.yMax=d,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],ne=this.raw;Z=ne.readShort(),this.glyphOffsets.push(ne.pos),this.glyphIDs.push(ne.readUInt16()),32&Z;)ne.pos+=1&Z?4:2,128&Z?ne.pos+=8:64&Z?ne.pos+=4:8&Z&&(ne.pos+=2)}return f.prototype.encode=function(){var s,p,b;for(p=new bn(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 P,d;for(d=[],b=0,P=this.length;b<P;b+=2)d.push(2*s.readUInt16());return d}.call(this):function(){var P,d;for(d=[],b=0,P=this.length;b<P;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),P=0,d=0,ne=0;ne<b.length;++ne)if(b[ne]=P,d<p.length&&p[d]==ne){++d,b[ne]=P;var Z=this.offsets[ne],ee=this.offsets[ne+1]-Z;ee>0&&(P+=ee)}for(var Ie=new Array(4*b.length),ot=0;ot<b.length;++ot)Ie[4*ot+3]=255&b[ot],Ie[4*ot+2]=(65280&b[ot])>>8,Ie[4*ot+1]=(16711680&b[ot])>>16,Ie[4*ot]=(4278190080&b[ot])>>24;return Ie},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,P,d;for(p in P=this.font.cmap.tables[0].codeMap,s={},d=this.subset)b=d[p],s[p]=P[b];return s},f.prototype.glyphsFor=function(s){var p,b,P,d,ne,Z,ee;for(P={},ne=0,Z=s.length;ne<Z;ne++)P[d=s[ne]]=this.font.glyf.glyphFor(d);for(d in p=[],P)(b=P[d])!=null&&b.compound&&p.push.apply(p,b.glyphIDs);if(p.length>0)for(d in ee=this.glyphsFor(p))b=ee[d],P[d]=b;return P},f.prototype.encode=function(s,p){var b,P,d,ne,Z,ee,Ie,ot,Pt,Et,ge,nt,gt,Kt,ct;for(P in b=Ea.encode(this.generateCmap(),"unicode"),ne=this.glyphsFor(s),ge={0:0},ct=b.charMap)ge[(ee=ct[P]).old]=ee.new;for(nt in Et=b.maxGlyphID,ne)nt in ge||(ge[nt]=Et++);return ot=function(cr){var Cr,Qt;for(Cr in Qt={},cr)Qt[cr[Cr]]=Cr;return Qt}(ge),Pt=Object.keys(ot).sort(function(cr,Cr){return cr-Cr}),gt=function(){var cr,Cr,Qt;for(Qt=[],cr=0,Cr=Pt.length;cr<Cr;cr++)Z=Pt[cr],Qt.push(ot[Z]);return Qt}(),d=this.font.glyf.encode(ne,gt,ge),Ie=this.font.loca.encode(d.offsets,gt),Kt={cmap:this.font.cmap.raw(),glyf:d.table,loca:Ie,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}();W.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,P,d,ne;if(Array.isArray(p))return"["+function(){var Z,ee,Ie;for(Ie=[],Z=0,ee=p.length;Z<ee;Z++)b=p[Z],Ie.push(s.convert(b));return Ie}().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(P in d=["<<"],p)ne=p[P],d.push("/"+P+" "+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(L){qr.exports=L()})(function(){return function L(ze,Y,Q){function _(c,T){if(!Y[c]){if(!ze[c]){var k=void 0;if(!T&&k)return require(c,!0);if(y)return y(c,!0);var V=new Error("Cannot find module '"+c+"'");throw V.code="MODULE_NOT_FOUND",V}var z=Y[c]={exports:{}};ze[c][0].call(z.exports,function(K){var O=ze[c][1][K];return _(O||K)},z,z.exports,L,ze,Y,Q)}return Y[c].exports}for(var y=void 0,U=0;U<Q.length;U++)_(Q[U]);return _}({1:[function(L,ze,Y){"use strict";var Q=L("./utils"),_=L("./support"),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";Y.encode=function(U){for(var c,T,k,V,z,K,O,D=[],w=0,E=U.length,ie=E,X=Q.getTypeOf(U)!=="string";w<U.length;)ie=E-w,k=X?(c=U[w++],T=w<E?U[w++]:0,w<E?U[w++]:0):(c=U.charCodeAt(w++),T=w<E?U.charCodeAt(w++):0,w<E?U.charCodeAt(w++):0),V=c>>2,z=(3&c)<<4|T>>4,K=1<ie?(15&T)<<2|k>>6:64,O=2<ie?63&k:64,D.push(y.charAt(V)+y.charAt(z)+y.charAt(K)+y.charAt(O));return D.join("")},Y.decode=function(U){var c,T,k,V,z,K,O=0,D=0,w="data:";if(U.substr(0,w.length)===w)throw new Error("Invalid base64 input, it looks like a data url.");var E,ie=3*(U=U.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(U.charAt(U.length-1)===y.charAt(64)&&ie--,U.charAt(U.length-2)===y.charAt(64)&&ie--,ie%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=_.uint8array?new Uint8Array(0|ie):new Array(0|ie);O<U.length;)c=y.indexOf(U.charAt(O++))<<2|(V=y.indexOf(U.charAt(O++)))>>4,T=(15&V)<<4|(z=y.indexOf(U.charAt(O++)))>>2,k=(3&z)<<6|(K=y.indexOf(U.charAt(O++))),E[D++]=c,z!==64&&(E[D++]=T),K!==64&&(E[D++]=k);return E}},{"./support":30,"./utils":32}],2:[function(L,ze,Y){"use strict";var Q=L("./external"),_=L("./stream/DataWorker"),y=L("./stream/Crc32Probe"),U=L("./stream/DataLengthProbe");function c(T,k,V,z,K){this.compressedSize=T,this.uncompressedSize=k,this.crc32=V,this.compression=z,this.compressedContent=K}c.prototype={getContentWorker:function(){var T=new _(Q.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new U("data_length")),k=this;return T.on("end",function(){if(this.streamInfo.data_length!==k.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),T},getCompressedWorker:function(){return new _(Q.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(T,k,V){return T.pipe(new y).pipe(new U("uncompressedSize")).pipe(k.compressWorker(V)).pipe(new U("compressedSize")).withStreamInfo("compression",k)},ze.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(L,ze,Y){"use strict";var Q=L("./stream/GenericWorker");Y.STORE={magic:"\0\0",compressWorker:function(){return new Q("STORE compression")},uncompressWorker:function(){return new Q("STORE decompression")}},Y.DEFLATE=L("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(L,ze,Y){"use strict";var Q=L("./utils"),_=function(){for(var y,U=[],c=0;c<256;c++){y=c;for(var T=0;T<8;T++)y=1&y?3988292384^y>>>1:y>>>1;U[c]=y}return U}();ze.exports=function(y,U){return y!==void 0&&y.length?Q.getTypeOf(y)!=="string"?function(c,T,k,V){var z=_,K=V+k;c^=-1;for(var O=V;O<K;O++)c=c>>>8^z[255&(c^T[O])];return-1^c}(0|U,y,y.length,0):function(c,T,k,V){var z=_,K=V+k;c^=-1;for(var O=V;O<K;O++)c=c>>>8^z[255&(c^T.charCodeAt(O))];return-1^c}(0|U,y,y.length,0):0}},{"./utils":32}],5:[function(L,ze,Y){"use strict";Y.base64=!1,Y.binary=!1,Y.dir=!1,Y.createFolders=!0,Y.date=null,Y.compression=null,Y.compressionOptions=null,Y.comment=null,Y.unixPermissions=null,Y.dosPermissions=null},{}],6:[function(L,ze,Y){"use strict";var Q=null;Q=typeof Promise!="undefined"?Promise:L("lie"),ze.exports={Promise:Q}},{lie:37}],7:[function(L,ze,Y){"use strict";var Q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",_=L("pako"),y=L("./utils"),U=L("./stream/GenericWorker"),c=Q?"uint8array":"array";function T(k,V){U.call(this,"FlateWorker/"+k),this._pako=null,this._pakoAction=k,this._pakoOptions=V,this.meta={}}Y.magic="\b\0",y.inherits(T,U),T.prototype.processChunk=function(k){this.meta=k.meta,this._pako===null&&this._createPako(),this._pako.push(y.transformTo(c,k.data),!1)},T.prototype.flush=function(){U.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},T.prototype.cleanUp=function(){U.prototype.cleanUp.call(this),this._pako=null},T.prototype._createPako=function(){this._pako=new _[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var k=this;this._pako.onData=function(V){k.push({data:V,meta:k.meta})}},Y.compressWorker=function(k){return new T("Deflate",k)},Y.uncompressWorker=function(){return new T("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(L,ze,Y){"use strict";function Q(z,K){var O,D="";for(O=0;O<K;O++)D+=String.fromCharCode(255&z),z>>>=8;return D}function _(z,K,O,D,w,E){var ie,X,q=z.file,Ee=z.compression,Pe=E!==c.utf8encode,et=y.transformTo("string",E(q.name)),He=y.transformTo("string",c.utf8encode(q.name)),Ce=q.comment,be=y.transformTo("string",E(Ce)),J=y.transformTo("string",c.utf8encode(Ce)),we=He.length!==q.name.length,M=J.length!==Ce.length,I="",rt="",ue="",le=q.dir,B=q.date,ae={crc32:0,compressedSize:0,uncompressedSize:0};K&&!O||(ae.crc32=z.crc32,ae.compressedSize=z.compressedSize,ae.uncompressedSize=z.uncompressedSize);var W=0;K&&(W|=8),Pe||!we&&!M||(W|=2048);var A=0,re=0;le&&(A|=16),w==="UNIX"?(re=798,A|=function(pe,Ze){var st=pe;return pe||(st=Ze?16893:33204),(65535&st)<<16}(q.unixPermissions,le)):(re=20,A|=function(pe){return 63&(pe||0)}(q.dosPermissions)),ie=B.getUTCHours(),ie<<=6,ie|=B.getUTCMinutes(),ie<<=5,ie|=B.getUTCSeconds()/2,X=B.getUTCFullYear()-1980,X<<=4,X|=B.getUTCMonth()+1,X<<=5,X|=B.getUTCDate(),we&&(rt=Q(1,1)+Q(T(et),4)+He,I+="up"+Q(rt.length,2)+rt),M&&(ue=Q(1,1)+Q(T(be),4)+J,I+="uc"+Q(ue.length,2)+ue);var Ve="";return Ve+=`
|
|
|
\0`,Ve+=Q(W,2),Ve+=Ee.magic,Ve+=Q(ie,2),Ve+=Q(X,2),Ve+=Q(ae.crc32,4),Ve+=Q(ae.compressedSize,4),Ve+=Q(ae.uncompressedSize,4),Ve+=Q(et.length,2),Ve+=Q(I.length,2),{fileRecord:k.LOCAL_FILE_HEADER+Ve+et+I,dirRecord:k.CENTRAL_FILE_HEADER+Q(re,2)+Ve+Q(be.length,2)+"\0\0\0\0"+Q(A,4)+Q(D,4)+et+I+be}}var y=L("../utils"),U=L("../stream/GenericWorker"),c=L("../utf8"),T=L("../crc32"),k=L("../signature");function V(z,K,O,D){U.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=K,this.zipPlatform=O,this.encodeFileName=D,this.streamFiles=z,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}y.inherits(V,U),V.prototype.push=function(z){var K=z.meta.percent||0,O=this.entriesCount,D=this._sources.length;this.accumulate?this.contentBuffer.push(z):(this.bytesWritten+=z.data.length,U.prototype.push.call(this,{data:z.data,meta:{currentFile:this.currentFile,percent:O?(K+100*(O-D-1))/O:100}}))},V.prototype.openedSource=function(z){this.currentSourceOffset=this.bytesWritten,this.currentFile=z.file.name;var K=this.streamFiles&&!z.file.dir;if(K){var O=_(z,K,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:O.fileRecord,meta:{percent:0}})}else this.accumulate=!0},V.prototype.closedSource=function(z){this.accumulate=!1;var K=this.streamFiles&&!z.file.dir,O=_(z,K,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(O.dirRecord),K)this.push({data:function(D){return k.DATA_DESCRIPTOR+Q(D.crc32,4)+Q(D.compressedSize,4)+Q(D.uncompressedSize,4)}(z),meta:{percent:100}});else for(this.push({data:O.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},V.prototype.flush=function(){for(var z=this.bytesWritten,K=0;K<this.dirRecords.length;K++)this.push({data:this.dirRecords[K],meta:{percent:100}});var O=this.bytesWritten-z,D=function(w,E,ie,X,q){var Ee=y.transformTo("string",q(X));return k.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Q(w,2)+Q(w,2)+Q(E,4)+Q(ie,4)+Q(Ee.length,2)+Ee}(this.dirRecords.length,O,z,this.zipComment,this.encodeFileName);this.push({data:D,meta:{percent:100}})},V.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},V.prototype.registerPrevious=function(z){this._sources.push(z);var K=this;return z.on("data",function(O){K.processChunk(O)}),z.on("end",function(){K.closedSource(K.previous.streamInfo),K._sources.length?K.prepareNextSource():K.end()}),z.on("error",function(O){K.error(O)}),this},V.prototype.resume=function(){return!!U.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},V.prototype.error=function(z){var K=this._sources;if(!U.prototype.error.call(this,z))return!1;for(var O=0;O<K.length;O++)try{K[O].error(z)}catch(D){}return!0},V.prototype.lock=function(){U.prototype.lock.call(this);for(var z=this._sources,K=0;K<z.length;K++)z[K].lock()},ze.exports=V},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(L,ze,Y){"use strict";var Q=L("../compressions"),_=L("./ZipFileWorker");Y.generateWorker=function(y,U,c){var T=new _(U.streamFiles,c,U.platform,U.encodeFileName),k=0;try{y.forEach(function(V,z){k++;var K=function(E,ie){var X=E||ie,q=Q[X];if(!q)throw new Error(X+" is not a valid compression method !");return q}(z.options.compression,U.compression),O=z.options.compressionOptions||U.compressionOptions||{},D=z.dir,w=z.date;z._compressWorker(K,O).withStreamInfo("file",{name:V,dir:D,date:w,comment:z.comment||"",unixPermissions:z.unixPermissions,dosPermissions:z.dosPermissions}).pipe(T)}),T.entriesCount=k}catch(V){T.error(V)}return T}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(L,ze,Y){"use strict";function Q(){if(!(this instanceof Q))return new Q;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 _=new Q;for(var y in this)typeof this[y]!="function"&&(_[y]=this[y]);return _}}(Q.prototype=L("./object")).loadAsync=L("./load"),Q.support=L("./support"),Q.defaults=L("./defaults"),Q.version="3.10.1",Q.loadAsync=function(_,y){return new Q().loadAsync(_,y)},Q.external=L("./external"),ze.exports=Q},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(L,ze,Y){"use strict";var Q=L("./utils"),_=L("./external"),y=L("./utf8"),U=L("./zipEntries"),c=L("./stream/Crc32Probe"),T=L("./nodejsUtils");function k(V){return new _.Promise(function(z,K){var O=V.decompressed.getContentWorker().pipe(new c);O.on("error",function(D){K(D)}).on("end",function(){O.streamInfo.crc32!==V.decompressed.crc32?K(new Error("Corrupted zip : CRC32 mismatch")):z()}).resume()})}ze.exports=function(V,z){var K=this;return z=Q.extend(z||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:y.utf8decode}),T.isNode&&T.isStream(V)?_.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Q.prepareContent("the loaded zip file",V,!0,z.optimizedBinaryString,z.base64).then(function(O){var D=new U(z);return D.load(O),D}).then(function(O){var D=[_.Promise.resolve(O)],w=O.files;if(z.checkCRC32)for(var E=0;E<w.length;E++)D.push(k(w[E]));return _.Promise.all(D)}).then(function(O){for(var D=O.shift(),w=D.files,E=0;E<w.length;E++){var ie=w[E],X=ie.fileNameStr,q=Q.resolve(ie.fileNameStr);K.file(q,ie.decompressed,{binary:!0,optimizedBinaryString:!0,date:ie.date,dir:ie.dir,comment:ie.fileCommentStr.length?ie.fileCommentStr:null,unixPermissions:ie.unixPermissions,dosPermissions:ie.dosPermissions,createFolders:z.createFolders}),ie.dir||(K.file(q).unsafeOriginalName=X)}return D.zipComment.length&&(K.comment=D.zipComment),K})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(L,ze,Y){"use strict";var Q=L("../utils"),_=L("../stream/GenericWorker");function y(U,c){_.call(this,"Nodejs stream input adapter for "+U),this._upstreamEnded=!1,this._bindStream(c)}Q.inherits(y,_),y.prototype._bindStream=function(U){var c=this;(this._stream=U).pause(),U.on("data",function(T){c.push({data:T,meta:{percent:0}})}).on("error",function(T){c.isPaused?this.generatedError=T:c.error(T)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},y.prototype.pause=function(){return!!_.prototype.pause.call(this)&&(this._stream.pause(),!0)},y.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},ze.exports=y},{"../stream/GenericWorker":28,"../utils":32}],13:[function(L,ze,Y){"use strict";var Q=L("readable-stream").Readable;function _(y,U,c){Q.call(this,U),this._helper=y;var T=this;y.on("data",function(k,V){T.push(k)||T._helper.pause(),c&&c(V)}).on("error",function(k){T.emit("error",k)}).on("end",function(){T.push(null)})}L("../utils").inherits(_,Q),_.prototype._read=function(){this._helper.resume()},ze.exports=_},{"../utils":32,"readable-stream":16}],14:[function(L,ze,Y){"use strict";ze.exports={isNode:typeof o!="undefined",newBufferFrom:function(Q,_){if(o.from&&o.from!==Uint8Array.from)return o.from(Q,_);if(typeof Q=="number")throw new Error('The "data" argument must not be a number');return new o(Q,_)},allocBuffer:function(Q){if(o.alloc)return o.alloc(Q);var _=new o(Q);return _.fill(0),_},isBuffer:function(Q){return o.isBuffer(Q)},isStream:function(Q){return Q&&typeof Q.on=="function"&&typeof Q.pause=="function"&&typeof Q.resume=="function"}}},{}],15:[function(L,ze,Y){"use strict";function Q(q,Ee,Pe){var et,He=y.getTypeOf(Ee),Ce=y.extend(Pe||{},T);Ce.date=Ce.date||new Date,Ce.compression!==null&&(Ce.compression=Ce.compression.toUpperCase()),typeof Ce.unixPermissions=="string"&&(Ce.unixPermissions=parseInt(Ce.unixPermissions,8)),Ce.unixPermissions&&16384&Ce.unixPermissions&&(Ce.dir=!0),Ce.dosPermissions&&16&Ce.dosPermissions&&(Ce.dir=!0),Ce.dir&&(q=w(q)),Ce.createFolders&&(et=D(q))&&E.call(this,et,!0);var be=He==="string"&&Ce.binary===!1&&Ce.base64===!1;Pe&&Pe.binary!==void 0||(Ce.binary=!be),(Ee instanceof k&&Ee.uncompressedSize===0||Ce.dir||!Ee||Ee.length===0)&&(Ce.base64=!1,Ce.binary=!0,Ee="",Ce.compression="STORE",He="string");var J=null;J=Ee instanceof k||Ee instanceof U?Ee:K.isNode&&K.isStream(Ee)?new O(q,Ee):y.prepareContent(q,Ee,Ce.binary,Ce.optimizedBinaryString,Ce.base64);var we=new V(q,J,Ce);this.files[q]=we}var _=L("./utf8"),y=L("./utils"),U=L("./stream/GenericWorker"),c=L("./stream/StreamHelper"),T=L("./defaults"),k=L("./compressedObject"),V=L("./zipObject"),z=L("./generate"),K=L("./nodejsUtils"),O=L("./nodejs/NodejsStreamInputAdapter"),D=function(q){q.slice(-1)==="/"&&(q=q.substring(0,q.length-1));var Ee=q.lastIndexOf("/");return 0<Ee?q.substring(0,Ee):""},w=function(q){return q.slice(-1)!=="/"&&(q+="/"),q},E=function(q,Ee){return Ee=Ee!==void 0?Ee:T.createFolders,q=w(q),this.files[q]||Q.call(this,q,null,{dir:!0,createFolders:Ee}),this.files[q]};function ie(q){return Object.prototype.toString.call(q)==="[object RegExp]"}var X={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(q){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&&q(Pe,et)},filter:function(q){var Ee=[];return this.forEach(function(Pe,et){q(Pe,et)&&Ee.push(et)}),Ee},file:function(q,Ee,Pe){if(arguments.length!==1)return q=this.root+q,Q.call(this,q,Ee,Pe),this;if(ie(q)){var et=q;return this.filter(function(Ce,be){return!be.dir&&et.test(Ce)})}var He=this.files[this.root+q];return He&&!He.dir?He:null},folder:function(q){if(!q)return this;if(ie(q))return this.filter(function(He,Ce){return Ce.dir&&q.test(He)});var Ee=this.root+q,Pe=E.call(this,Ee),et=this.clone();return et.root=Pe.name,et},remove:function(q){q=this.root+q;var Ee=this.files[q];if(Ee||(q.slice(-1)!=="/"&&(q+="/"),Ee=this.files[q]),Ee&&!Ee.dir)delete this.files[q];else for(var Pe=this.filter(function(He,Ce){return Ce.name.slice(0,q.length)===q}),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(q){var Ee,Pe={};try{if((Pe=y.extend(q||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:_.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.");y.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=z.generateWorker(this,Pe,et)}catch(He){(Ee=new U("error")).error(He)}return new c(Ee,Pe.type||"string",Pe.mimeType)},generateAsync:function(q,Ee){return this.generateInternalStream(q).accumulate(Ee)},generateNodeStream:function(q,Ee){return(q=q||{}).type||(q.type="nodebuffer"),this.generateInternalStream(q).toNodejsStream(Ee)}};ze.exports=X},{"./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(L,ze,Y){"use strict";ze.exports=L("stream")},{stream:void 0}],17:[function(L,ze,Y){"use strict";var Q=L("./DataReader");function _(y){Q.call(this,y);for(var U=0;U<this.data.length;U++)y[U]=255&y[U]}L("../utils").inherits(_,Q),_.prototype.byteAt=function(y){return this.data[this.zero+y]},_.prototype.lastIndexOfSignature=function(y){for(var U=y.charCodeAt(0),c=y.charCodeAt(1),T=y.charCodeAt(2),k=y.charCodeAt(3),V=this.length-4;0<=V;--V)if(this.data[V]===U&&this.data[V+1]===c&&this.data[V+2]===T&&this.data[V+3]===k)return V-this.zero;return-1},_.prototype.readAndCheckSignature=function(y){var U=y.charCodeAt(0),c=y.charCodeAt(1),T=y.charCodeAt(2),k=y.charCodeAt(3),V=this.readData(4);return U===V[0]&&c===V[1]&&T===V[2]&&k===V[3]},_.prototype.readData=function(y){if(this.checkOffset(y),y===0)return[];var U=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},ze.exports=_},{"../utils":32,"./DataReader":18}],18:[function(L,ze,Y){"use strict";var Q=L("../utils");function _(y){this.data=y,this.length=y.length,this.index=0,this.zero=0}_.prototype={checkOffset:function(y){this.checkIndex(this.index+y)},checkIndex:function(y){if(this.length<this.zero+y||y<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+y+"). Corrupted zip ?")},setIndex:function(y){this.checkIndex(y),this.index=y},skip:function(y){this.setIndex(this.index+y)},byteAt:function(){},readInt:function(y){var U,c=0;for(this.checkOffset(y),U=this.index+y-1;U>=this.index;U--)c=(c<<8)+this.byteAt(U);return this.index+=y,c},readString:function(y){return Q.transformTo("string",this.readData(y))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var y=this.readInt(4);return new Date(Date.UTC(1980+(y>>25&127),(y>>21&15)-1,y>>16&31,y>>11&31,y>>5&63,(31&y)<<1))}},ze.exports=_},{"../utils":32}],19:[function(L,ze,Y){"use strict";var Q=L("./Uint8ArrayReader");function _(y){Q.call(this,y)}L("../utils").inherits(_,Q),_.prototype.readData=function(y){this.checkOffset(y);var U=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},ze.exports=_},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(L,ze,Y){"use strict";var Q=L("./DataReader");function _(y){Q.call(this,y)}L("../utils").inherits(_,Q),_.prototype.byteAt=function(y){return this.data.charCodeAt(this.zero+y)},_.prototype.lastIndexOfSignature=function(y){return this.data.lastIndexOf(y)-this.zero},_.prototype.readAndCheckSignature=function(y){return y===this.readData(4)},_.prototype.readData=function(y){this.checkOffset(y);var U=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},ze.exports=_},{"../utils":32,"./DataReader":18}],21:[function(L,ze,Y){"use strict";var Q=L("./ArrayReader");function _(y){Q.call(this,y)}L("../utils").inherits(_,Q),_.prototype.readData=function(y){if(this.checkOffset(y),y===0)return new Uint8Array(0);var U=this.data.subarray(this.zero+this.index,this.zero+this.index+y);return this.index+=y,U},ze.exports=_},{"../utils":32,"./ArrayReader":17}],22:[function(L,ze,Y){"use strict";var Q=L("../utils"),_=L("../support"),y=L("./ArrayReader"),U=L("./StringReader"),c=L("./NodeBufferReader"),T=L("./Uint8ArrayReader");ze.exports=function(k){var V=Q.getTypeOf(k);return Q.checkSupport(V),V!=="string"||_.uint8array?V==="nodebuffer"?new c(k):_.uint8array?new T(Q.transformTo("uint8array",k)):new y(Q.transformTo("array",k)):new U(k)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(L,ze,Y){"use strict";Y.LOCAL_FILE_HEADER="PK",Y.CENTRAL_FILE_HEADER="PK",Y.CENTRAL_DIRECTORY_END="PK",Y.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",Y.ZIP64_CENTRAL_DIRECTORY_END="PK",Y.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(L,ze,Y){"use strict";var Q=L("./GenericWorker"),_=L("../utils");function y(U){Q.call(this,"ConvertWorker to "+U),this.destType=U}_.inherits(y,Q),y.prototype.processChunk=function(U){this.push({data:_.transformTo(this.destType,U.data),meta:U.meta})},ze.exports=y},{"../utils":32,"./GenericWorker":28}],25:[function(L,ze,Y){"use strict";var Q=L("./GenericWorker"),_=L("../crc32");function y(){Q.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}L("../utils").inherits(y,Q),y.prototype.processChunk=function(U){this.streamInfo.crc32=_(U.data,this.streamInfo.crc32||0),this.push(U)},ze.exports=y},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(L,ze,Y){"use strict";var Q=L("../utils"),_=L("./GenericWorker");function y(U){_.call(this,"DataLengthProbe for "+U),this.propName=U,this.withStreamInfo(U,0)}Q.inherits(y,_),y.prototype.processChunk=function(U){if(U){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+U.data.length}_.prototype.processChunk.call(this,U)},ze.exports=y},{"../utils":32,"./GenericWorker":28}],27:[function(L,ze,Y){"use strict";var Q=L("../utils"),_=L("./GenericWorker");function y(U){_.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,U.then(function(T){c.dataIsReady=!0,c.data=T,c.max=T&&T.length||0,c.type=Q.getTypeOf(T),c.isPaused||c._tickAndRepeat()},function(T){c.error(T)})}Q.inherits(y,_),y.prototype.cleanUp=function(){_.prototype.cleanUp.call(this),this.data=null},y.prototype.resume=function(){return!!_.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,Q.delay(this._tickAndRepeat,[],this)),!0)},y.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(Q.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},y.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var U=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":U=this.data.substring(this.index,c);break;case"uint8array":U=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":U=this.data.slice(this.index,c)}return this.index=c,this.push({data:U,meta:{percent:this.max?this.index/this.max*100:0}})},ze.exports=y},{"../utils":32,"./GenericWorker":28}],28:[function(L,ze,Y){"use strict";function Q(_){this.name=_||"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}Q.prototype={push:function(_){this.emit("data",_)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(_){this.emit("error",_)}return!0},error:function(_){return!this.isFinished&&(this.isPaused?this.generatedError=_:(this.isFinished=!0,this.emit("error",_),this.previous&&this.previous.error(_),this.cleanUp()),!0)},on:function(_,y){return this._listeners[_].push(y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(_,y){if(this._listeners[_])for(var U=0;U<this._listeners[_].length;U++)this._listeners[_][U].call(this,y)},pipe:function(_){return _.registerPrevious(this)},registerPrevious:function(_){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=_.streamInfo,this.mergeStreamInfo(),this.previous=_;var y=this;return _.on("data",function(U){y.processChunk(U)}),_.on("end",function(){y.end()}),_.on("error",function(U){y.error(U)}),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 _=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),_=!0),this.previous&&this.previous.resume(),!_},flush:function(){},processChunk:function(_){this.push(_)},withStreamInfo:function(_,y){return this.extraStreamInfo[_]=y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var _ in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,_)&&(this.streamInfo[_]=this.extraStreamInfo[_])},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 _="Worker "+this.name;return this.previous?this.previous+" -> "+_:_}},ze.exports=Q},{}],29:[function(L,ze,Y){"use strict";var Q=L("../utils"),_=L("./ConvertWorker"),y=L("./GenericWorker"),U=L("../base64"),c=L("../support"),T=L("../external"),k=null;if(c.nodestream)try{k=L("../nodejs/NodejsStreamOutputAdapter")}catch(K){}function V(K,O){return new T.Promise(function(D,w){var E=[],ie=K._internalType,X=K._outputType,q=K._mimeType;K.on("data",function(Ee,Pe){E.push(Ee),O&&O(Pe)}).on("error",function(Ee){E=[],w(Ee)}).on("end",function(){try{var Ee=function(Pe,et,He){switch(Pe){case"blob":return Q.newBlob(Q.transformTo("arraybuffer",et),He);case"base64":return U.encode(et);default:return Q.transformTo(Pe,et)}}(X,function(Pe,et){var He,Ce=0,be=null,J=0;for(He=0;He<et.length;He++)J+=et[He].length;switch(Pe){case"string":return et.join("");case"array":return Array.prototype.concat.apply([],et);case"uint8array":for(be=new Uint8Array(J),He=0;He<et.length;He++)be.set(et[He],Ce),Ce+=et[He].length;return be;case"nodebuffer":return o.concat(et);default:throw new Error("concat : unsupported type '"+Pe+"'")}}(ie,E),q);D(Ee)}catch(Pe){w(Pe)}E=[]}).resume()})}function z(K,O,D){var w=O;switch(O){case"blob":case"arraybuffer":w="uint8array";break;case"base64":w="string"}try{this._internalType=w,this._outputType=O,this._mimeType=D,Q.checkSupport(w),this._worker=K.pipe(new _(w)),K.lock()}catch(E){this._worker=new y("error"),this._worker.error(E)}}z.prototype={accumulate:function(K){return V(this,K)},on:function(K,O){var D=this;return K==="data"?this._worker.on(K,function(w){O.call(D,w.data,w.meta)}):this._worker.on(K,function(){Q.delay(O,arguments,D)}),this},resume:function(){return Q.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(K){if(Q.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new k(this,{objectMode:this._outputType!=="nodebuffer"},K)}},ze.exports=z},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(L,ze,Y){"use strict";if(Y.base64=!0,Y.array=!0,Y.string=!0,Y.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",Y.nodebuffer=typeof o!="undefined",Y.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")Y.blob=!1;else{var Q=new ArrayBuffer(0);try{Y.blob=new Blob([Q],{type:"application/zip"}).size===0}catch(y){try{var _=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);_.append(Q),Y.blob=_.getBlob("application/zip").size===0}catch(U){Y.blob=!1}}}try{Y.nodestream=!!L("readable-stream").Readable}catch(y){Y.nodestream=!1}},{"readable-stream":16}],31:[function(L,ze,Y){"use strict";for(var Q=L("./utils"),_=L("./support"),y=L("./nodejsUtils"),U=L("./stream/GenericWorker"),c=new Array(256),T=0;T<256;T++)c[T]=252<=T?6:248<=T?5:240<=T?4:224<=T?3:192<=T?2:1;c[254]=c[254]=1;function k(){U.call(this,"utf-8 decode"),this.leftOver=null}function V(){U.call(this,"utf-8 encode")}Y.utf8encode=function(z){return _.nodebuffer?y.newBufferFrom(z,"utf-8"):function(K){var O,D,w,E,ie,X=K.length,q=0;for(E=0;E<X;E++)(64512&(D=K.charCodeAt(E)))==55296&&E+1<X&&(64512&(w=K.charCodeAt(E+1)))==56320&&(D=65536+(D-55296<<10)+(w-56320),E++),q+=D<128?1:D<2048?2:D<65536?3:4;for(O=_.uint8array?new Uint8Array(q):new Array(q),E=ie=0;ie<q;E++)(64512&(D=K.charCodeAt(E)))==55296&&E+1<X&&(64512&(w=K.charCodeAt(E+1)))==56320&&(D=65536+(D-55296<<10)+(w-56320),E++),D<128?O[ie++]=D:(D<2048?O[ie++]=192|D>>>6:(D<65536?O[ie++]=224|D>>>12:(O[ie++]=240|D>>>18,O[ie++]=128|D>>>12&63),O[ie++]=128|D>>>6&63),O[ie++]=128|63&D);return O}(z)},Y.utf8decode=function(z){return _.nodebuffer?Q.transformTo("nodebuffer",z).toString("utf-8"):function(K){var O,D,w,E,ie=K.length,X=new Array(2*ie);for(O=D=0;O<ie;)if((w=K[O++])<128)X[D++]=w;else if(4<(E=c[w]))X[D++]=65533,O+=E-1;else{for(w&=E===2?31:E===3?15:7;1<E&&O<ie;)w=w<<6|63&K[O++],E--;1<E?X[D++]=65533:w<65536?X[D++]=w:(w-=65536,X[D++]=55296|w>>10&1023,X[D++]=56320|1023&w)}return X.length!==D&&(X.subarray?X=X.subarray(0,D):X.length=D),Q.applyFromCharCode(X)}(z=Q.transformTo(_.uint8array?"uint8array":"array",z))},Q.inherits(k,U),k.prototype.processChunk=function(z){var K=Q.transformTo(_.uint8array?"uint8array":"array",z.data);if(this.leftOver&&this.leftOver.length){if(_.uint8array){var O=K;(K=new Uint8Array(O.length+this.leftOver.length)).set(this.leftOver,0),K.set(O,this.leftOver.length)}else K=this.leftOver.concat(K);this.leftOver=null}var D=function(E,ie){var X;for((ie=ie||E.length)>E.length&&(ie=E.length),X=ie-1;0<=X&&(192&E[X])==128;)X--;return X<0||X===0?ie:X+c[E[X]]>ie?X:ie}(K),w=K;D!==K.length&&(_.uint8array?(w=K.subarray(0,D),this.leftOver=K.subarray(D,K.length)):(w=K.slice(0,D),this.leftOver=K.slice(D,K.length))),this.push({data:Y.utf8decode(w),meta:z.meta})},k.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:Y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},Y.Utf8DecodeWorker=k,Q.inherits(V,U),V.prototype.processChunk=function(z){this.push({data:Y.utf8encode(z.data),meta:z.meta})},Y.Utf8EncodeWorker=V},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(L,ze,Y){"use strict";var Q=L("./support"),_=L("./base64"),y=L("./nodejsUtils"),U=L("./external");function c(O){return O}function T(O,D){for(var w=0;w<O.length;++w)D[w]=255&O.charCodeAt(w);return D}L("setimmediate"),Y.newBlob=function(O,D){Y.checkSupport("blob");try{return new Blob([O],{type:D})}catch(E){try{var w=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return w.append(O),w.getBlob(D)}catch(ie){throw new Error("Bug : can't construct the Blob.")}}};var k={stringifyByChunk:function(O,D,w){var E=[],ie=0,X=O.length;if(X<=w)return String.fromCharCode.apply(null,O);for(;ie<X;)D==="array"||D==="nodebuffer"?E.push(String.fromCharCode.apply(null,O.slice(ie,Math.min(ie+w,X)))):E.push(String.fromCharCode.apply(null,O.subarray(ie,Math.min(ie+w,X)))),ie+=w;return E.join("")},stringifyByChar:function(O){for(var D="",w=0;w<O.length;w++)D+=String.fromCharCode(O[w]);return D},applyCanBeUsed:{uint8array:function(){try{return Q.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(O){return!1}}(),nodebuffer:function(){try{return Q.nodebuffer&&String.fromCharCode.apply(null,y.allocBuffer(1)).length===1}catch(O){return!1}}()}};function V(O){var D=65536,w=Y.getTypeOf(O),E=!0;if(w==="uint8array"?E=k.applyCanBeUsed.uint8array:w==="nodebuffer"&&(E=k.applyCanBeUsed.nodebuffer),E)for(;1<D;)try{return k.stringifyByChunk(O,w,D)}catch(ie){D=Math.floor(D/2)}return k.stringifyByChar(O)}function z(O,D){for(var w=0;w<O.length;w++)D[w]=O[w];return D}Y.applyFromCharCode=V;var K={};K.string={string:c,array:function(O){return T(O,new Array(O.length))},arraybuffer:function(O){return K.string.uint8array(O).buffer},uint8array:function(O){return T(O,new Uint8Array(O.length))},nodebuffer:function(O){return T(O,y.allocBuffer(O.length))}},K.array={string:V,array:c,arraybuffer:function(O){return new Uint8Array(O).buffer},uint8array:function(O){return new Uint8Array(O)},nodebuffer:function(O){return y.newBufferFrom(O)}},K.arraybuffer={string:function(O){return V(new Uint8Array(O))},array:function(O){return z(new Uint8Array(O),new Array(O.byteLength))},arraybuffer:c,uint8array:function(O){return new Uint8Array(O)},nodebuffer:function(O){return y.newBufferFrom(new Uint8Array(O))}},K.uint8array={string:V,array:function(O){return z(O,new Array(O.length))},arraybuffer:function(O){return O.buffer},uint8array:c,nodebuffer:function(O){return y.newBufferFrom(O)}},K.nodebuffer={string:V,array:function(O){return z(O,new Array(O.length))},arraybuffer:function(O){return K.nodebuffer.uint8array(O).buffer},uint8array:function(O){return z(O,new Uint8Array(O.length))},nodebuffer:c},Y.transformTo=function(O,D){if(D=D||"",!O)return D;Y.checkSupport(O);var w=Y.getTypeOf(D);return K[w][O](D)},Y.resolve=function(O){for(var D=O.split("/"),w=[],E=0;E<D.length;E++){var ie=D[E];ie==="."||ie===""&&E!==0&&E!==D.length-1||(ie===".."?w.pop():w.push(ie))}return w.join("/")},Y.getTypeOf=function(O){return typeof O=="string"?"string":Object.prototype.toString.call(O)==="[object Array]"?"array":Q.nodebuffer&&y.isBuffer(O)?"nodebuffer":Q.uint8array&&O instanceof Uint8Array?"uint8array":Q.arraybuffer&&O instanceof ArrayBuffer?"arraybuffer":void 0},Y.checkSupport=function(O){if(!Q[O.toLowerCase()])throw new Error(O+" is not supported by this platform")},Y.MAX_VALUE_16BITS=65535,Y.MAX_VALUE_32BITS=-1,Y.pretty=function(O){var D,w,E="";for(w=0;w<(O||"").length;w++)E+="\\x"+((D=O.charCodeAt(w))<16?"0":"")+D.toString(16).toUpperCase();return E},Y.delay=function(O,D,w){setImmediate(function(){O.apply(w||null,D||[])})},Y.inherits=function(O,D){function w(){}w.prototype=D.prototype,O.prototype=new w},Y.extend=function(){var O,D,w={};for(O=0;O<arguments.length;O++)for(D in arguments[O])Object.prototype.hasOwnProperty.call(arguments[O],D)&&w[D]===void 0&&(w[D]=arguments[O][D]);return w},Y.prepareContent=function(O,D,w,E,ie){return U.Promise.resolve(D).then(function(X){return Q.blob&&(X instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(X))!==-1)&&typeof FileReader!="undefined"?new U.Promise(function(q,Ee){var Pe=new FileReader;Pe.onload=function(et){q(et.target.result)},Pe.onerror=function(et){Ee(et.target.error)},Pe.readAsArrayBuffer(X)}):X}).then(function(X){var q=Y.getTypeOf(X);return q?(q==="arraybuffer"?X=Y.transformTo("uint8array",X):q==="string"&&(ie?X=_.decode(X):w&&E!==!0&&(X=function(Ee){return T(Ee,Q.uint8array?new Uint8Array(Ee.length):new Array(Ee.length))}(X))),X):U.Promise.reject(new Error("Can't read the data of '"+O+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(L,ze,Y){"use strict";var Q=L("./reader/readerFor"),_=L("./utils"),y=L("./signature"),U=L("./zipEntry"),c=L("./support");function T(k){this.files=[],this.loadOptions=k}T.prototype={checkSignature:function(k){if(!this.reader.readAndCheckSignature(k)){this.reader.index-=4;var V=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+_.pretty(V)+", expected "+_.pretty(k)+")")}},isSignature:function(k,V){var z=this.reader.index;this.reader.setIndex(k);var K=this.reader.readString(4)===V;return this.reader.setIndex(z),K},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 k=this.reader.readData(this.zipCommentLength),V=c.uint8array?"uint8array":"array",z=_.transformTo(V,k);this.zipComment=this.loadOptions.decodeFileName(z)},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 k,V,z,K=this.zip64EndOfCentralSize-44;0<K;)k=this.reader.readInt(2),V=this.reader.readInt(4),z=this.reader.readData(V),this.zip64ExtensibleData[k]={id:k,length:V,value:z}},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 k,V;for(k=0;k<this.files.length;k++)V=this.files[k],this.reader.setIndex(V.localHeaderOffset),this.checkSignature(y.LOCAL_FILE_HEADER),V.readLocalPart(this.reader),V.handleUTF8(),V.processAttributes()},readCentralDir:function(){var k;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(y.CENTRAL_FILE_HEADER);)(k=new U({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(k);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 k=this.reader.lastIndexOfSignature(y.CENTRAL_DIRECTORY_END);if(k<0)throw this.isSignature(0,y.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(k);var V=k;if(this.checkSignature(y.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===_.MAX_VALUE_16BITS||this.diskWithCentralDirStart===_.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===_.MAX_VALUE_16BITS||this.centralDirRecords===_.MAX_VALUE_16BITS||this.centralDirSize===_.MAX_VALUE_32BITS||this.centralDirOffset===_.MAX_VALUE_32BITS){if(this.zip64=!0,(k=this.reader.lastIndexOfSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(k),this.checkSignature(y.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,y.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(y.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(y.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var z=this.centralDirOffset+this.centralDirSize;this.zip64&&(z+=20,z+=12+this.zip64EndOfCentralSize);var K=V-z;if(0<K)this.isSignature(V,y.CENTRAL_FILE_HEADER)||(this.reader.zero=K);else if(K<0)throw new Error("Corrupted zip: missing "+Math.abs(K)+" bytes.")},prepareReader:function(k){this.reader=Q(k)},load:function(k){this.prepareReader(k),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},ze.exports=T},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(L,ze,Y){"use strict";var Q=L("./reader/readerFor"),_=L("./utils"),y=L("./compressedObject"),U=L("./crc32"),c=L("./utf8"),T=L("./compressions"),k=L("./support");function V(z,K){this.options=z,this.loadOptions=K}V.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(z){var K,O;if(z.skip(22),this.fileNameLength=z.readInt(2),O=z.readInt(2),this.fileName=z.readData(this.fileNameLength),z.skip(O),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((K=function(D){for(var w in T)if(Object.prototype.hasOwnProperty.call(T,w)&&T[w].magic===D)return T[w];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+_.pretty(this.compressionMethod)+" unknown (inner file : "+_.transformTo("string",this.fileName)+")");this.decompressed=new y(this.compressedSize,this.uncompressedSize,this.crc32,K,z.readData(this.compressedSize))},readCentralPart:function(z){this.versionMadeBy=z.readInt(2),z.skip(2),this.bitFlag=z.readInt(2),this.compressionMethod=z.readString(2),this.date=z.readDate(),this.crc32=z.readInt(4),this.compressedSize=z.readInt(4),this.uncompressedSize=z.readInt(4);var K=z.readInt(2);if(this.extraFieldsLength=z.readInt(2),this.fileCommentLength=z.readInt(2),this.diskNumberStart=z.readInt(2),this.internalFileAttributes=z.readInt(2),this.externalFileAttributes=z.readInt(4),this.localHeaderOffset=z.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");z.skip(K),this.readExtraFields(z),this.parseZIP64ExtraField(z),this.fileComment=z.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var z=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),z==0&&(this.dosPermissions=63&this.externalFileAttributes),z==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var z=Q(this.extraFields[1].value);this.uncompressedSize===_.MAX_VALUE_32BITS&&(this.uncompressedSize=z.readInt(8)),this.compressedSize===_.MAX_VALUE_32BITS&&(this.compressedSize=z.readInt(8)),this.localHeaderOffset===_.MAX_VALUE_32BITS&&(this.localHeaderOffset=z.readInt(8)),this.diskNumberStart===_.MAX_VALUE_32BITS&&(this.diskNumberStart=z.readInt(4))}},readExtraFields:function(z){var K,O,D,w=z.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});z.index+4<w;)K=z.readInt(2),O=z.readInt(2),D=z.readData(O),this.extraFields[K]={id:K,length:O,value:D};z.setIndex(w)},handleUTF8:function(){var z=k.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var K=this.findExtraFieldUnicodePath();if(K!==null)this.fileNameStr=K;else{var O=_.transformTo(z,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(O)}var D=this.findExtraFieldUnicodeComment();if(D!==null)this.fileCommentStr=D;else{var w=_.transformTo(z,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(w)}}},findExtraFieldUnicodePath:function(){var z=this.extraFields[28789];if(z){var K=Q(z.value);return K.readInt(1)!==1||U(this.fileName)!==K.readInt(4)?null:c.utf8decode(K.readData(z.length-5))}return null},findExtraFieldUnicodeComment:function(){var z=this.extraFields[25461];if(z){var K=Q(z.value);return K.readInt(1)!==1||U(this.fileComment)!==K.readInt(4)?null:c.utf8decode(K.readData(z.length-5))}return null}},ze.exports=V},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(L,ze,Y){"use strict";function Q(K,O,D){this.name=K,this.dir=D.dir,this.date=D.date,this.comment=D.comment,this.unixPermissions=D.unixPermissions,this.dosPermissions=D.dosPermissions,this._data=O,this._dataBinary=D.binary,this.options={compression:D.compression,compressionOptions:D.compressionOptions}}var _=L("./stream/StreamHelper"),y=L("./stream/DataWorker"),U=L("./utf8"),c=L("./compressedObject"),T=L("./stream/GenericWorker");Q.prototype={internalStream:function(K){var O=null,D="string";try{if(!K)throw new Error("No output type specified.");var w=(D=K.toLowerCase())==="string"||D==="text";D!=="binarystring"&&D!=="text"||(D="string"),O=this._decompressWorker();var E=!this._dataBinary;E&&!w&&(O=O.pipe(new U.Utf8EncodeWorker)),!E&&w&&(O=O.pipe(new U.Utf8DecodeWorker))}catch(ie){(O=new T("error")).error(ie)}return new _(O,D,"")},async:function(K,O){return this.internalStream(K).accumulate(O)},nodeStream:function(K,O){return this.internalStream(K||"nodebuffer").toNodejsStream(O)},_compressWorker:function(K,O){if(this._data instanceof c&&this._data.compression.magic===K.magic)return this._data.getCompressedWorker();var D=this._decompressWorker();return this._dataBinary||(D=D.pipe(new U.Utf8EncodeWorker)),c.createWorkerFrom(D,K,O)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof T?this._data:new y(this._data)}};for(var k=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],V=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},z=0;z<k.length;z++)Q.prototype[k[z]]=V;ze.exports=Q},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(L,ze,Y){(function(Q){"use strict";var _,y,U=Q.MutationObserver||Q.WebKitMutationObserver;if(U){var c=0,T=new U(K),k=Q.document.createTextNode("");T.observe(k,{characterData:!0}),_=function(){k.data=c=++c%2}}else if(Q.setImmediate||Q.MessageChannel===void 0)_="document"in Q&&"onreadystatechange"in Q.document.createElement("script")?function(){var O=Q.document.createElement("script");O.onreadystatechange=function(){K(),O.onreadystatechange=null,O.parentNode.removeChild(O),O=null},Q.document.documentElement.appendChild(O)}:function(){setTimeout(K,0)};else{var V=new Q.MessageChannel;V.port1.onmessage=K,_=function(){V.port2.postMessage(0)}}var z=[];function K(){var O,D;y=!0;for(var w=z.length;w;){for(D=z,z=[],O=-1;++O<w;)D[O]();w=z.length}y=!1}ze.exports=function(O){z.push(O)!==1||y||_()}}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(L,ze,Y){"use strict";var Q=L("immediate");function _(){}var y={},U=["REJECTED"],c=["FULFILLED"],T=["PENDING"];function k(w){if(typeof w!="function")throw new TypeError("resolver must be a function");this.state=T,this.queue=[],this.outcome=void 0,w!==_&&O(this,w)}function V(w,E,ie){this.promise=w,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof ie=="function"&&(this.onRejected=ie,this.callRejected=this.otherCallRejected)}function z(w,E,ie){Q(function(){var X;try{X=E(ie)}catch(q){return y.reject(w,q)}X===w?y.reject(w,new TypeError("Cannot resolve promise with itself")):y.resolve(w,X)})}function K(w){var E=w&&w.then;if(w&&(typeof w=="object"||typeof w=="function")&&typeof E=="function")return function(){E.apply(w,arguments)}}function O(w,E){var ie=!1;function X(Pe){ie||(ie=!0,y.reject(w,Pe))}function q(Pe){ie||(ie=!0,y.resolve(w,Pe))}var Ee=D(function(){E(q,X)});Ee.status==="error"&&X(Ee.value)}function D(w,E){var ie={};try{ie.value=w(E),ie.status="success"}catch(X){ie.status="error",ie.value=X}return ie}(ze.exports=k).prototype.finally=function(w){if(typeof w!="function")return this;var E=this.constructor;return this.then(function(ie){return E.resolve(w()).then(function(){return ie})},function(ie){return E.resolve(w()).then(function(){throw ie})})},k.prototype.catch=function(w){return this.then(null,w)},k.prototype.then=function(w,E){if(typeof w!="function"&&this.state===c||typeof E!="function"&&this.state===U)return this;var ie=new this.constructor(_);return this.state!==T?z(ie,this.state===c?w:E,this.outcome):this.queue.push(new V(ie,w,E)),ie},V.prototype.callFulfilled=function(w){y.resolve(this.promise,w)},V.prototype.otherCallFulfilled=function(w){z(this.promise,this.onFulfilled,w)},V.prototype.callRejected=function(w){y.reject(this.promise,w)},V.prototype.otherCallRejected=function(w){z(this.promise,this.onRejected,w)},y.resolve=function(w,E){var ie=D(K,E);if(ie.status==="error")return y.reject(w,ie.value);var X=ie.value;if(X)O(w,X);else{w.state=c,w.outcome=E;for(var q=-1,Ee=w.queue.length;++q<Ee;)w.queue[q].callFulfilled(E)}return w},y.reject=function(w,E){w.state=U,w.outcome=E;for(var ie=-1,X=w.queue.length;++ie<X;)w.queue[ie].callRejected(E);return w},k.resolve=function(w){return w instanceof this?w:y.resolve(new this(_),w)},k.reject=function(w){var E=new this(_);return y.reject(E,w)},k.all=function(w){var E=this;if(Object.prototype.toString.call(w)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ie=w.length,X=!1;if(!ie)return this.resolve([]);for(var q=new Array(ie),Ee=0,Pe=-1,et=new this(_);++Pe<ie;)He(w[Pe],Pe);return et;function He(Ce,be){E.resolve(Ce).then(function(J){q[be]=J,++Ee!==ie||X||(X=!0,y.resolve(et,q))},function(J){X||(X=!0,y.reject(et,J))})}},k.race=function(w){var E=this;if(Object.prototype.toString.call(w)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ie=w.length,X=!1;if(!ie)return this.resolve([]);for(var q=-1,Ee=new this(_);++q<ie;)Pe=w[q],E.resolve(Pe).then(function(et){X||(X=!0,y.resolve(Ee,et))},function(et){X||(X=!0,y.reject(Ee,et))});var Pe;return Ee}},{immediate:36}],38:[function(L,ze,Y){"use strict";var Q={};(0,L("./lib/utils/common").assign)(Q,L("./lib/deflate"),L("./lib/inflate"),L("./lib/zlib/constants")),ze.exports=Q},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(L,ze,Y){"use strict";var Q=L("./zlib/deflate"),_=L("./utils/common"),y=L("./utils/strings"),U=L("./zlib/messages"),c=L("./zlib/zstream"),T=Object.prototype.toString,k=0,V=-1,z=0,K=8;function O(w){if(!(this instanceof O))return new O(w);this.options=_.assign({level:V,method:K,chunkSize:16384,windowBits:15,memLevel:8,strategy:z,to:""},w||{});var E=this.options;E.raw&&0<E.windowBits?E.windowBits=-E.windowBits:E.gzip&&0<E.windowBits&&E.windowBits<16&&(E.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var ie=Q.deflateInit2(this.strm,E.level,E.method,E.windowBits,E.memLevel,E.strategy);if(ie!==k)throw new Error(U[ie]);if(E.header&&Q.deflateSetHeader(this.strm,E.header),E.dictionary){var X;if(X=typeof E.dictionary=="string"?y.string2buf(E.dictionary):T.call(E.dictionary)==="[object ArrayBuffer]"?new Uint8Array(E.dictionary):E.dictionary,(ie=Q.deflateSetDictionary(this.strm,X))!==k)throw new Error(U[ie]);this._dict_set=!0}}function D(w,E){var ie=new O(E);if(ie.push(w,!0),ie.err)throw ie.msg||U[ie.err];return ie.result}O.prototype.push=function(w,E){var ie,X,q=this.strm,Ee=this.options.chunkSize;if(this.ended)return!1;X=E===~~E?E:E===!0?4:0,typeof w=="string"?q.input=y.string2buf(w):T.call(w)==="[object ArrayBuffer]"?q.input=new Uint8Array(w):q.input=w,q.next_in=0,q.avail_in=q.input.length;do{if(q.avail_out===0&&(q.output=new _.Buf8(Ee),q.next_out=0,q.avail_out=Ee),(ie=Q.deflate(q,X))!==1&&ie!==k)return this.onEnd(ie),!(this.ended=!0);q.avail_out!==0&&(q.avail_in!==0||X!==4&&X!==2)||(this.options.to==="string"?this.onData(y.buf2binstring(_.shrinkBuf(q.output,q.next_out))):this.onData(_.shrinkBuf(q.output,q.next_out)))}while((0<q.avail_in||q.avail_out===0)&&ie!==1);return X===4?(ie=Q.deflateEnd(this.strm),this.onEnd(ie),this.ended=!0,ie===k):X!==2||(this.onEnd(k),!(q.avail_out=0))},O.prototype.onData=function(w){this.chunks.push(w)},O.prototype.onEnd=function(w){w===k&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=w,this.msg=this.strm.msg},Y.Deflate=O,Y.deflate=D,Y.deflateRaw=function(w,E){return(E=E||{}).raw=!0,D(w,E)},Y.gzip=function(w,E){return(E=E||{}).gzip=!0,D(w,E)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(L,ze,Y){"use strict";var Q=L("./zlib/inflate"),_=L("./utils/common"),y=L("./utils/strings"),U=L("./zlib/constants"),c=L("./zlib/messages"),T=L("./zlib/zstream"),k=L("./zlib/gzheader"),V=Object.prototype.toString;function z(O){if(!(this instanceof z))return new z(O);this.options=_.assign({chunkSize:16384,windowBits:0,to:""},O||{});var D=this.options;D.raw&&0<=D.windowBits&&D.windowBits<16&&(D.windowBits=-D.windowBits,D.windowBits===0&&(D.windowBits=-15)),!(0<=D.windowBits&&D.windowBits<16)||O&&O.windowBits||(D.windowBits+=32),15<D.windowBits&&D.windowBits<48&&!(15&D.windowBits)&&(D.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new T,this.strm.avail_out=0;var w=Q.inflateInit2(this.strm,D.windowBits);if(w!==U.Z_OK)throw new Error(c[w]);this.header=new k,Q.inflateGetHeader(this.strm,this.header)}function K(O,D){var w=new z(D);if(w.push(O,!0),w.err)throw w.msg||c[w.err];return w.result}z.prototype.push=function(O,D){var w,E,ie,X,q,Ee,Pe=this.strm,et=this.options.chunkSize,He=this.options.dictionary,Ce=!1;if(this.ended)return!1;E=D===~~D?D:D===!0?U.Z_FINISH:U.Z_NO_FLUSH,typeof O=="string"?Pe.input=y.binstring2buf(O):V.call(O)==="[object ArrayBuffer]"?Pe.input=new Uint8Array(O):Pe.input=O,Pe.next_in=0,Pe.avail_in=Pe.input.length;do{if(Pe.avail_out===0&&(Pe.output=new _.Buf8(et),Pe.next_out=0,Pe.avail_out=et),(w=Q.inflate(Pe,U.Z_NO_FLUSH))===U.Z_NEED_DICT&&He&&(Ee=typeof He=="string"?y.string2buf(He):V.call(He)==="[object ArrayBuffer]"?new Uint8Array(He):He,w=Q.inflateSetDictionary(this.strm,Ee)),w===U.Z_BUF_ERROR&&Ce===!0&&(w=U.Z_OK,Ce=!1),w!==U.Z_STREAM_END&&w!==U.Z_OK)return this.onEnd(w),!(this.ended=!0);Pe.next_out&&(Pe.avail_out!==0&&w!==U.Z_STREAM_END&&(Pe.avail_in!==0||E!==U.Z_FINISH&&E!==U.Z_SYNC_FLUSH)||(this.options.to==="string"?(ie=y.utf8border(Pe.output,Pe.next_out),X=Pe.next_out-ie,q=y.buf2string(Pe.output,ie),Pe.next_out=X,Pe.avail_out=et-X,X&&_.arraySet(Pe.output,Pe.output,ie,X,0),this.onData(q)):this.onData(_.shrinkBuf(Pe.output,Pe.next_out)))),Pe.avail_in===0&&Pe.avail_out===0&&(Ce=!0)}while((0<Pe.avail_in||Pe.avail_out===0)&&w!==U.Z_STREAM_END);return w===U.Z_STREAM_END&&(E=U.Z_FINISH),E===U.Z_FINISH?(w=Q.inflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===U.Z_OK):E!==U.Z_SYNC_FLUSH||(this.onEnd(U.Z_OK),!(Pe.avail_out=0))},z.prototype.onData=function(O){this.chunks.push(O)},z.prototype.onEnd=function(O){O===U.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=_.flattenChunks(this.chunks)),this.chunks=[],this.err=O,this.msg=this.strm.msg},Y.Inflate=z,Y.inflate=K,Y.inflateRaw=function(O,D){return(D=D||{}).raw=!0,K(O,D)},Y.ungzip=K},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(L,ze,Y){"use strict";var Q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";Y.assign=function(U){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var T=c.shift();if(T){if(typeof T!="object")throw new TypeError(T+"must be non-object");for(var k in T)T.hasOwnProperty(k)&&(U[k]=T[k])}}return U},Y.shrinkBuf=function(U,c){return U.length===c?U:U.subarray?U.subarray(0,c):(U.length=c,U)};var _={arraySet:function(U,c,T,k,V){if(c.subarray&&U.subarray)U.set(c.subarray(T,T+k),V);else for(var z=0;z<k;z++)U[V+z]=c[T+z]},flattenChunks:function(U){var c,T,k,V,z,K;for(c=k=0,T=U.length;c<T;c++)k+=U[c].length;for(K=new Uint8Array(k),c=V=0,T=U.length;c<T;c++)z=U[c],K.set(z,V),V+=z.length;return K}},y={arraySet:function(U,c,T,k,V){for(var z=0;z<k;z++)U[V+z]=c[T+z]},flattenChunks:function(U){return[].concat.apply([],U)}};Y.setTyped=function(U){U?(Y.Buf8=Uint8Array,Y.Buf16=Uint16Array,Y.Buf32=Int32Array,Y.assign(Y,_)):(Y.Buf8=Array,Y.Buf16=Array,Y.Buf32=Array,Y.assign(Y,y))},Y.setTyped(Q)},{}],42:[function(L,ze,Y){"use strict";var Q=L("./common"),_=!0,y=!0;try{String.fromCharCode.apply(null,[0])}catch(k){_=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(k){y=!1}for(var U=new Q.Buf8(256),c=0;c<256;c++)U[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function T(k,V){if(V<65537&&(k.subarray&&y||!k.subarray&&_))return String.fromCharCode.apply(null,Q.shrinkBuf(k,V));for(var z="",K=0;K<V;K++)z+=String.fromCharCode(k[K]);return z}U[254]=U[254]=1,Y.string2buf=function(k){var V,z,K,O,D,w=k.length,E=0;for(O=0;O<w;O++)(64512&(z=k.charCodeAt(O)))==55296&&O+1<w&&(64512&(K=k.charCodeAt(O+1)))==56320&&(z=65536+(z-55296<<10)+(K-56320),O++),E+=z<128?1:z<2048?2:z<65536?3:4;for(V=new Q.Buf8(E),O=D=0;D<E;O++)(64512&(z=k.charCodeAt(O)))==55296&&O+1<w&&(64512&(K=k.charCodeAt(O+1)))==56320&&(z=65536+(z-55296<<10)+(K-56320),O++),z<128?V[D++]=z:(z<2048?V[D++]=192|z>>>6:(z<65536?V[D++]=224|z>>>12:(V[D++]=240|z>>>18,V[D++]=128|z>>>12&63),V[D++]=128|z>>>6&63),V[D++]=128|63&z);return V},Y.buf2binstring=function(k){return T(k,k.length)},Y.binstring2buf=function(k){for(var V=new Q.Buf8(k.length),z=0,K=V.length;z<K;z++)V[z]=k.charCodeAt(z);return V},Y.buf2string=function(k,V){var z,K,O,D,w=V||k.length,E=new Array(2*w);for(z=K=0;z<w;)if((O=k[z++])<128)E[K++]=O;else if(4<(D=U[O]))E[K++]=65533,z+=D-1;else{for(O&=D===2?31:D===3?15:7;1<D&&z<w;)O=O<<6|63&k[z++],D--;1<D?E[K++]=65533:O<65536?E[K++]=O:(O-=65536,E[K++]=55296|O>>10&1023,E[K++]=56320|1023&O)}return T(E,K)},Y.utf8border=function(k,V){var z;for((V=V||k.length)>k.length&&(V=k.length),z=V-1;0<=z&&(192&k[z])==128;)z--;return z<0||z===0?V:z+U[k[z]]>V?z:V}},{"./common":41}],43:[function(L,ze,Y){"use strict";ze.exports=function(Q,_,y,U){for(var c=65535&Q|0,T=Q>>>16&65535|0,k=0;y!==0;){for(y-=k=2e3<y?2e3:y;T=T+(c=c+_[U++]|0)|0,--k;);c%=65521,T%=65521}return c|T<<16|0}},{}],44:[function(L,ze,Y){"use strict";ze.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(L,ze,Y){"use strict";var Q=function(){for(var _,y=[],U=0;U<256;U++){_=U;for(var c=0;c<8;c++)_=1&_?3988292384^_>>>1:_>>>1;y[U]=_}return y}();ze.exports=function(_,y,U,c){var T=Q,k=c+U;_^=-1;for(var V=c;V<k;V++)_=_>>>8^T[255&(_^y[V])];return-1^_}},{}],46:[function(L,ze,Y){"use strict";var Q,_=L("../utils/common"),y=L("./trees"),U=L("./adler32"),c=L("./crc32"),T=L("./messages"),k=0,V=4,z=0,K=-2,O=-1,D=4,w=2,E=8,ie=9,X=286,q=30,Ee=19,Pe=2*X+1,et=15,He=3,Ce=258,be=Ce+He+1,J=42,we=113,M=1,I=2,rt=3,ue=4;function le(N,_e){return N.msg=T[_e],_e}function B(N){return(N<<1)-(4<N?9:0)}function ae(N){for(var _e=N.length;0<=--_e;)N[_e]=0}function W(N){var _e=N.state,ve=_e.pending;ve>N.avail_out&&(ve=N.avail_out),ve!==0&&(_.arraySet(N.output,_e.pending_buf,_e.pending_out,ve,N.next_out),N.next_out+=ve,_e.pending_out+=ve,N.total_out+=ve,N.avail_out-=ve,_e.pending-=ve,_e.pending===0&&(_e.pending_out=0))}function A(N,_e){y._tr_flush_block(N,0<=N.block_start?N.block_start:-1,N.strstart-N.block_start,_e),N.block_start=N.strstart,W(N.strm)}function re(N,_e){N.pending_buf[N.pending++]=_e}function Ve(N,_e){N.pending_buf[N.pending++]=_e>>>8&255,N.pending_buf[N.pending++]=255&_e}function pe(N,_e){var ve,de,fe=N.max_chain_length,me=N.strstart,Oe=N.prev_length,xe=N.nice_match,Ne=N.strstart>N.w_size-be?N.strstart-(N.w_size-be):0,Ye=N.window,pt=N.w_mask,$t=N.prev,Xt=N.strstart+Ce,Ut=Ye[me+Oe-1],Dt=Ye[me+Oe];N.prev_length>=N.good_match&&(fe>>=2),xe>N.lookahead&&(xe=N.lookahead);do if(Ye[(ve=_e)+Oe]===Dt&&Ye[ve+Oe-1]===Ut&&Ye[ve]===Ye[me]&&Ye[++ve]===Ye[me+1]){me+=2,ve++;do;while(Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&Ye[++me]===Ye[++ve]&&me<Xt);if(de=Ce-(Xt-me),me=Xt-Ce,Oe<de){if(N.match_start=_e,xe<=(Oe=de))break;Ut=Ye[me+Oe-1],Dt=Ye[me+Oe]}}while((_e=$t[_e&pt])>Ne&&--fe!=0);return Oe<=N.lookahead?Oe:N.lookahead}function Ze(N){var _e,ve,de,fe,me,Oe,xe,Ne,Ye,pt,$t=N.w_size;do{if(fe=N.window_size-N.lookahead-N.strstart,N.strstart>=$t+($t-be)){for(_.arraySet(N.window,N.window,$t,$t,0),N.match_start-=$t,N.strstart-=$t,N.block_start-=$t,_e=ve=N.hash_size;de=N.head[--_e],N.head[_e]=$t<=de?de-$t:0,--ve;);for(_e=ve=$t;de=N.prev[--_e],N.prev[_e]=$t<=de?de-$t:0,--ve;);fe+=$t}if(N.strm.avail_in===0)break;if(Oe=N.strm,xe=N.window,Ne=N.strstart+N.lookahead,Ye=fe,pt=void 0,pt=Oe.avail_in,Ye<pt&&(pt=Ye),ve=pt===0?0:(Oe.avail_in-=pt,_.arraySet(xe,Oe.input,Oe.next_in,pt,Ne),Oe.state.wrap===1?Oe.adler=U(Oe.adler,xe,pt,Ne):Oe.state.wrap===2&&(Oe.adler=c(Oe.adler,xe,pt,Ne)),Oe.next_in+=pt,Oe.total_in+=pt,pt),N.lookahead+=ve,N.lookahead+N.insert>=He)for(me=N.strstart-N.insert,N.ins_h=N.window[me],N.ins_h=(N.ins_h<<N.hash_shift^N.window[me+1])&N.hash_mask;N.insert&&(N.ins_h=(N.ins_h<<N.hash_shift^N.window[me+He-1])&N.hash_mask,N.prev[me&N.w_mask]=N.head[N.ins_h],N.head[N.ins_h]=me,me++,N.insert--,!(N.lookahead+N.insert<He)););}while(N.lookahead<be&&N.strm.avail_in!==0)}function st(N,_e){for(var ve,de;;){if(N.lookahead<be){if(Ze(N),N.lookahead<be&&_e===k)return M;if(N.lookahead===0)break}if(ve=0,N.lookahead>=He&&(N.ins_h=(N.ins_h<<N.hash_shift^N.window[N.strstart+He-1])&N.hash_mask,ve=N.prev[N.strstart&N.w_mask]=N.head[N.ins_h],N.head[N.ins_h]=N.strstart),ve!==0&&N.strstart-ve<=N.w_size-be&&(N.match_length=pe(N,ve)),N.match_length>=He)if(de=y._tr_tally(N,N.strstart-N.match_start,N.match_length-He),N.lookahead-=N.match_length,N.match_length<=N.max_lazy_match&&N.lookahead>=He){for(N.match_length--;N.strstart++,N.ins_h=(N.ins_h<<N.hash_shift^N.window[N.strstart+He-1])&N.hash_mask,ve=N.prev[N.strstart&N.w_mask]=N.head[N.ins_h],N.head[N.ins_h]=N.strstart,--N.match_length!=0;);N.strstart++}else N.strstart+=N.match_length,N.match_length=0,N.ins_h=N.window[N.strstart],N.ins_h=(N.ins_h<<N.hash_shift^N.window[N.strstart+1])&N.hash_mask;else de=y._tr_tally(N,0,N.window[N.strstart]),N.lookahead--,N.strstart++;if(de&&(A(N,!1),N.strm.avail_out===0))return M}return N.insert=N.strstart<He-1?N.strstart:He-1,_e===V?(A(N,!0),N.strm.avail_out===0?rt:ue):N.last_lit&&(A(N,!1),N.strm.avail_out===0)?M:I}function dt(N,_e){for(var ve,de,fe;;){if(N.lookahead<be){if(Ze(N),N.lookahead<be&&_e===k)return M;if(N.lookahead===0)break}if(ve=0,N.lookahead>=He&&(N.ins_h=(N.ins_h<<N.hash_shift^N.window[N.strstart+He-1])&N.hash_mask,ve=N.prev[N.strstart&N.w_mask]=N.head[N.ins_h],N.head[N.ins_h]=N.strstart),N.prev_length=N.match_length,N.prev_match=N.match_start,N.match_length=He-1,ve!==0&&N.prev_length<N.max_lazy_match&&N.strstart-ve<=N.w_size-be&&(N.match_length=pe(N,ve),N.match_length<=5&&(N.strategy===1||N.match_length===He&&4096<N.strstart-N.match_start)&&(N.match_length=He-1)),N.prev_length>=He&&N.match_length<=N.prev_length){for(fe=N.strstart+N.lookahead-He,de=y._tr_tally(N,N.strstart-1-N.prev_match,N.prev_length-He),N.lookahead-=N.prev_length-1,N.prev_length-=2;++N.strstart<=fe&&(N.ins_h=(N.ins_h<<N.hash_shift^N.window[N.strstart+He-1])&N.hash_mask,ve=N.prev[N.strstart&N.w_mask]=N.head[N.ins_h],N.head[N.ins_h]=N.strstart),--N.prev_length!=0;);if(N.match_available=0,N.match_length=He-1,N.strstart++,de&&(A(N,!1),N.strm.avail_out===0))return M}else if(N.match_available){if((de=y._tr_tally(N,0,N.window[N.strstart-1]))&&A(N,!1),N.strstart++,N.lookahead--,N.strm.avail_out===0)return M}else N.match_available=1,N.strstart++,N.lookahead--}return N.match_available&&(de=y._tr_tally(N,0,N.window[N.strstart-1]),N.match_available=0),N.insert=N.strstart<He-1?N.strstart:He-1,_e===V?(A(N,!0),N.strm.avail_out===0?rt:ue):N.last_lit&&(A(N,!1),N.strm.avail_out===0)?M:I}function he(N,_e,ve,de,fe){this.good_length=N,this.max_lazy=_e,this.nice_length=ve,this.max_chain=de,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=E,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 _.Buf16(2*Pe),this.dyn_dtree=new _.Buf16(2*(2*q+1)),this.bl_tree=new _.Buf16(2*(2*Ee+1)),ae(this.dyn_ltree),ae(this.dyn_dtree),ae(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new _.Buf16(et+1),this.heap=new _.Buf16(2*X+1),ae(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new _.Buf16(2*X+1),ae(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 At(N){var _e;return N&&N.state?(N.total_in=N.total_out=0,N.data_type=w,(_e=N.state).pending=0,_e.pending_out=0,_e.wrap<0&&(_e.wrap=-_e.wrap),_e.status=_e.wrap?J:we,N.adler=_e.wrap===2?0:1,_e.last_flush=k,y._tr_init(_e),z):le(N,K)}function Fe(N){var _e=At(N);return _e===z&&function(ve){ve.window_size=2*ve.w_size,ae(ve.head),ve.max_lazy_match=Q[ve.level].max_lazy,ve.good_match=Q[ve.level].good_length,ve.nice_match=Q[ve.level].nice_length,ve.max_chain_length=Q[ve.level].max_chain,ve.strstart=0,ve.block_start=0,ve.lookahead=0,ve.insert=0,ve.match_length=ve.prev_length=He-1,ve.match_available=0,ve.ins_h=0}(N.state),_e}function Re(N,_e,ve,de,fe,me){if(!N)return K;var Oe=1;if(_e===O&&(_e=6),de<0?(Oe=0,de=-de):15<de&&(Oe=2,de-=16),fe<1||ie<fe||ve!==E||de<8||15<de||_e<0||9<_e||me<0||D<me)return le(N,K);de===8&&(de=9);var xe=new Le;return(N.state=xe).strm=N,xe.wrap=Oe,xe.gzhead=null,xe.w_bits=de,xe.w_size=1<<xe.w_bits,xe.w_mask=xe.w_size-1,xe.hash_bits=fe+7,xe.hash_size=1<<xe.hash_bits,xe.hash_mask=xe.hash_size-1,xe.hash_shift=~~((xe.hash_bits+He-1)/He),xe.window=new _.Buf8(2*xe.w_size),xe.head=new _.Buf16(xe.hash_size),xe.prev=new _.Buf16(xe.w_size),xe.lit_bufsize=1<<fe+6,xe.pending_buf_size=4*xe.lit_bufsize,xe.pending_buf=new _.Buf8(xe.pending_buf_size),xe.d_buf=1*xe.lit_bufsize,xe.l_buf=3*xe.lit_bufsize,xe.level=_e,xe.strategy=me,xe.method=ve,Fe(N)}Q=[new he(0,0,0,0,function(N,_e){var ve=65535;for(ve>N.pending_buf_size-5&&(ve=N.pending_buf_size-5);;){if(N.lookahead<=1){if(Ze(N),N.lookahead===0&&_e===k)return M;if(N.lookahead===0)break}N.strstart+=N.lookahead,N.lookahead=0;var de=N.block_start+ve;if((N.strstart===0||N.strstart>=de)&&(N.lookahead=N.strstart-de,N.strstart=de,A(N,!1),N.strm.avail_out===0)||N.strstart-N.block_start>=N.w_size-be&&(A(N,!1),N.strm.avail_out===0))return M}return N.insert=0,_e===V?(A(N,!0),N.strm.avail_out===0?rt:ue):(N.strstart>N.block_start&&(A(N,!1),N.strm.avail_out),M)}),new he(4,4,8,4,st),new he(4,5,16,8,st),new he(4,6,32,32,st),new he(4,4,16,16,dt),new he(8,16,32,32,dt),new he(8,16,128,128,dt),new he(8,32,128,256,dt),new he(32,128,258,1024,dt),new he(32,258,258,4096,dt)],Y.deflateInit=function(N,_e){return Re(N,_e,E,15,8,0)},Y.deflateInit2=Re,Y.deflateReset=Fe,Y.deflateResetKeep=At,Y.deflateSetHeader=function(N,_e){return N&&N.state?N.state.wrap!==2?K:(N.state.gzhead=_e,z):K},Y.deflate=function(N,_e){var ve,de,fe,me;if(!N||!N.state||5<_e||_e<0)return N?le(N,K):K;if(de=N.state,!N.output||!N.input&&N.avail_in!==0||de.status===666&&_e!==V)return le(N,N.avail_out===0?-5:K);if(de.strm=N,ve=de.last_flush,de.last_flush=_e,de.status===J)if(de.wrap===2)N.adler=0,re(de,31),re(de,139),re(de,8),de.gzhead?(re(de,(de.gzhead.text?1:0)+(de.gzhead.hcrc?2:0)+(de.gzhead.extra?4:0)+(de.gzhead.name?8:0)+(de.gzhead.comment?16:0)),re(de,255&de.gzhead.time),re(de,de.gzhead.time>>8&255),re(de,de.gzhead.time>>16&255),re(de,de.gzhead.time>>24&255),re(de,de.level===9?2:2<=de.strategy||de.level<2?4:0),re(de,255&de.gzhead.os),de.gzhead.extra&&de.gzhead.extra.length&&(re(de,255&de.gzhead.extra.length),re(de,de.gzhead.extra.length>>8&255)),de.gzhead.hcrc&&(N.adler=c(N.adler,de.pending_buf,de.pending,0)),de.gzindex=0,de.status=69):(re(de,0),re(de,0),re(de,0),re(de,0),re(de,0),re(de,de.level===9?2:2<=de.strategy||de.level<2?4:0),re(de,3),de.status=we);else{var Oe=E+(de.w_bits-8<<4)<<8;Oe|=(2<=de.strategy||de.level<2?0:de.level<6?1:de.level===6?2:3)<<6,de.strstart!==0&&(Oe|=32),Oe+=31-Oe%31,de.status=we,Ve(de,Oe),de.strstart!==0&&(Ve(de,N.adler>>>16),Ve(de,65535&N.adler)),N.adler=1}if(de.status===69)if(de.gzhead.extra){for(fe=de.pending;de.gzindex<(65535&de.gzhead.extra.length)&&(de.pending!==de.pending_buf_size||(de.gzhead.hcrc&&de.pending>fe&&(N.adler=c(N.adler,de.pending_buf,de.pending-fe,fe)),W(N),fe=de.pending,de.pending!==de.pending_buf_size));)re(de,255&de.gzhead.extra[de.gzindex]),de.gzindex++;de.gzhead.hcrc&&de.pending>fe&&(N.adler=c(N.adler,de.pending_buf,de.pending-fe,fe)),de.gzindex===de.gzhead.extra.length&&(de.gzindex=0,de.status=73)}else de.status=73;if(de.status===73)if(de.gzhead.name){fe=de.pending;do{if(de.pending===de.pending_buf_size&&(de.gzhead.hcrc&&de.pending>fe&&(N.adler=c(N.adler,de.pending_buf,de.pending-fe,fe)),W(N),fe=de.pending,de.pending===de.pending_buf_size)){me=1;break}me=de.gzindex<de.gzhead.name.length?255&de.gzhead.name.charCodeAt(de.gzindex++):0,re(de,me)}while(me!==0);de.gzhead.hcrc&&de.pending>fe&&(N.adler=c(N.adler,de.pending_buf,de.pending-fe,fe)),me===0&&(de.gzindex=0,de.status=91)}else de.status=91;if(de.status===91)if(de.gzhead.comment){fe=de.pending;do{if(de.pending===de.pending_buf_size&&(de.gzhead.hcrc&&de.pending>fe&&(N.adler=c(N.adler,de.pending_buf,de.pending-fe,fe)),W(N),fe=de.pending,de.pending===de.pending_buf_size)){me=1;break}me=de.gzindex<de.gzhead.comment.length?255&de.gzhead.comment.charCodeAt(de.gzindex++):0,re(de,me)}while(me!==0);de.gzhead.hcrc&&de.pending>fe&&(N.adler=c(N.adler,de.pending_buf,de.pending-fe,fe)),me===0&&(de.status=103)}else de.status=103;if(de.status===103&&(de.gzhead.hcrc?(de.pending+2>de.pending_buf_size&&W(N),de.pending+2<=de.pending_buf_size&&(re(de,255&N.adler),re(de,N.adler>>8&255),N.adler=0,de.status=we)):de.status=we),de.pending!==0){if(W(N),N.avail_out===0)return de.last_flush=-1,z}else if(N.avail_in===0&&B(_e)<=B(ve)&&_e!==V)return le(N,-5);if(de.status===666&&N.avail_in!==0)return le(N,-5);if(N.avail_in!==0||de.lookahead!==0||_e!==k&&de.status!==666){var xe=de.strategy===2?function(Ne,Ye){for(var pt;;){if(Ne.lookahead===0&&(Ze(Ne),Ne.lookahead===0)){if(Ye===k)return M;break}if(Ne.match_length=0,pt=y._tr_tally(Ne,0,Ne.window[Ne.strstart]),Ne.lookahead--,Ne.strstart++,pt&&(A(Ne,!1),Ne.strm.avail_out===0))return M}return Ne.insert=0,Ye===V?(A(Ne,!0),Ne.strm.avail_out===0?rt:ue):Ne.last_lit&&(A(Ne,!1),Ne.strm.avail_out===0)?M:I}(de,_e):de.strategy===3?function(Ne,Ye){for(var pt,$t,Xt,Ut,Dt=Ne.window;;){if(Ne.lookahead<=Ce){if(Ze(Ne),Ne.lookahead<=Ce&&Ye===k)return M;if(Ne.lookahead===0)break}if(Ne.match_length=0,Ne.lookahead>=He&&0<Ne.strstart&&($t=Dt[Xt=Ne.strstart-1])===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]){Ut=Ne.strstart+Ce;do;while($t===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]&&$t===Dt[++Xt]&&Xt<Ut);Ne.match_length=Ce-(Ut-Xt),Ne.match_length>Ne.lookahead&&(Ne.match_length=Ne.lookahead)}if(Ne.match_length>=He?(pt=y._tr_tally(Ne,1,Ne.match_length-He),Ne.lookahead-=Ne.match_length,Ne.strstart+=Ne.match_length,Ne.match_length=0):(pt=y._tr_tally(Ne,0,Ne.window[Ne.strstart]),Ne.lookahead--,Ne.strstart++),pt&&(A(Ne,!1),Ne.strm.avail_out===0))return M}return Ne.insert=0,Ye===V?(A(Ne,!0),Ne.strm.avail_out===0?rt:ue):Ne.last_lit&&(A(Ne,!1),Ne.strm.avail_out===0)?M:I}(de,_e):Q[de.level].func(de,_e);if(xe!==rt&&xe!==ue||(de.status=666),xe===M||xe===rt)return N.avail_out===0&&(de.last_flush=-1),z;if(xe===I&&(_e===1?y._tr_align(de):_e!==5&&(y._tr_stored_block(de,0,0,!1),_e===3&&(ae(de.head),de.lookahead===0&&(de.strstart=0,de.block_start=0,de.insert=0))),W(N),N.avail_out===0))return de.last_flush=-1,z}return _e!==V?z:de.wrap<=0?1:(de.wrap===2?(re(de,255&N.adler),re(de,N.adler>>8&255),re(de,N.adler>>16&255),re(de,N.adler>>24&255),re(de,255&N.total_in),re(de,N.total_in>>8&255),re(de,N.total_in>>16&255),re(de,N.total_in>>24&255)):(Ve(de,N.adler>>>16),Ve(de,65535&N.adler)),W(N),0<de.wrap&&(de.wrap=-de.wrap),de.pending!==0?z:1)},Y.deflateEnd=function(N){var _e;return N&&N.state?(_e=N.state.status)!==J&&_e!==69&&_e!==73&&_e!==91&&_e!==103&&_e!==we&&_e!==666?le(N,K):(N.state=null,_e===we?le(N,-3):z):K},Y.deflateSetDictionary=function(N,_e){var ve,de,fe,me,Oe,xe,Ne,Ye,pt=_e.length;if(!N||!N.state||(me=(ve=N.state).wrap)===2||me===1&&ve.status!==J||ve.lookahead)return K;for(me===1&&(N.adler=U(N.adler,_e,pt,0)),ve.wrap=0,pt>=ve.w_size&&(me===0&&(ae(ve.head),ve.strstart=0,ve.block_start=0,ve.insert=0),Ye=new _.Buf8(ve.w_size),_.arraySet(Ye,_e,pt-ve.w_size,ve.w_size,0),_e=Ye,pt=ve.w_size),Oe=N.avail_in,xe=N.next_in,Ne=N.input,N.avail_in=pt,N.next_in=0,N.input=_e,Ze(ve);ve.lookahead>=He;){for(de=ve.strstart,fe=ve.lookahead-(He-1);ve.ins_h=(ve.ins_h<<ve.hash_shift^ve.window[de+He-1])&ve.hash_mask,ve.prev[de&ve.w_mask]=ve.head[ve.ins_h],ve.head[ve.ins_h]=de,de++,--fe;);ve.strstart=de,ve.lookahead=He-1,Ze(ve)}return ve.strstart+=ve.lookahead,ve.block_start=ve.strstart,ve.insert=ve.lookahead,ve.lookahead=0,ve.match_length=ve.prev_length=He-1,ve.match_available=0,N.next_in=xe,N.input=Ne,N.avail_in=Oe,ve.wrap=me,z},Y.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(L,ze,Y){"use strict";ze.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(L,ze,Y){"use strict";ze.exports=function(Q,_){var y,U,c,T,k,V,z,K,O,D,w,E,ie,X,q,Ee,Pe,et,He,Ce,be,J,we,M,I;y=Q.state,U=Q.next_in,M=Q.input,c=U+(Q.avail_in-5),T=Q.next_out,I=Q.output,k=T-(_-Q.avail_out),V=T+(Q.avail_out-257),z=y.dmax,K=y.wsize,O=y.whave,D=y.wnext,w=y.window,E=y.hold,ie=y.bits,X=y.lencode,q=y.distcode,Ee=(1<<y.lenbits)-1,Pe=(1<<y.distbits)-1;e:do{ie<15&&(E+=M[U++]<<ie,ie+=8,E+=M[U++]<<ie,ie+=8),et=X[E&Ee];t:for(;;){if(E>>>=He=et>>>24,ie-=He,(He=et>>>16&255)===0)I[T++]=65535&et;else{if(!(16&He)){if(!(64&He)){et=X[(65535&et)+(E&(1<<He)-1)];continue t}if(32&He){y.mode=12;break e}Q.msg="invalid literal/length code",y.mode=30;break e}Ce=65535&et,(He&=15)&&(ie<He&&(E+=M[U++]<<ie,ie+=8),Ce+=E&(1<<He)-1,E>>>=He,ie-=He),ie<15&&(E+=M[U++]<<ie,ie+=8,E+=M[U++]<<ie,ie+=8),et=q[E&Pe];r:for(;;){if(E>>>=He=et>>>24,ie-=He,!(16&(He=et>>>16&255))){if(!(64&He)){et=q[(65535&et)+(E&(1<<He)-1)];continue r}Q.msg="invalid distance code",y.mode=30;break e}if(be=65535&et,ie<(He&=15)&&(E+=M[U++]<<ie,(ie+=8)<He&&(E+=M[U++]<<ie,ie+=8)),z<(be+=E&(1<<He)-1)){Q.msg="invalid distance too far back",y.mode=30;break e}if(E>>>=He,ie-=He,(He=T-k)<be){if(O<(He=be-He)&&y.sane){Q.msg="invalid distance too far back",y.mode=30;break e}if(we=w,(J=0)===D){if(J+=K-He,He<Ce){for(Ce-=He;I[T++]=w[J++],--He;);J=T-be,we=I}}else if(D<He){if(J+=K+D-He,(He-=D)<Ce){for(Ce-=He;I[T++]=w[J++],--He;);if(J=0,D<Ce){for(Ce-=He=D;I[T++]=w[J++],--He;);J=T-be,we=I}}}else if(J+=D-He,He<Ce){for(Ce-=He;I[T++]=w[J++],--He;);J=T-be,we=I}for(;2<Ce;)I[T++]=we[J++],I[T++]=we[J++],I[T++]=we[J++],Ce-=3;Ce&&(I[T++]=we[J++],1<Ce&&(I[T++]=we[J++]))}else{for(J=T-be;I[T++]=I[J++],I[T++]=I[J++],I[T++]=I[J++],2<(Ce-=3););Ce&&(I[T++]=I[J++],1<Ce&&(I[T++]=I[J++]))}break}}break}}while(U<c&&T<V);U-=Ce=ie>>3,E&=(1<<(ie-=Ce<<3))-1,Q.next_in=U,Q.next_out=T,Q.avail_in=U<c?c-U+5:5-(U-c),Q.avail_out=T<V?V-T+257:257-(T-V),y.hold=E,y.bits=ie}},{}],49:[function(L,ze,Y){"use strict";var Q=L("../utils/common"),_=L("./adler32"),y=L("./crc32"),U=L("./inffast"),c=L("./inftrees"),T=1,k=2,V=0,z=-2,K=1,O=852,D=592;function w(J){return(J>>>24&255)+(J>>>8&65280)+((65280&J)<<8)+((255&J)<<24)}function E(){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 Q.Buf16(320),this.work=new Q.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ie(J){var we;return J&&J.state?(we=J.state,J.total_in=J.total_out=we.total=0,J.msg="",we.wrap&&(J.adler=1&we.wrap),we.mode=K,we.last=0,we.havedict=0,we.dmax=32768,we.head=null,we.hold=0,we.bits=0,we.lencode=we.lendyn=new Q.Buf32(O),we.distcode=we.distdyn=new Q.Buf32(D),we.sane=1,we.back=-1,V):z}function X(J){var we;return J&&J.state?((we=J.state).wsize=0,we.whave=0,we.wnext=0,ie(J)):z}function q(J,we){var M,I;return J&&J.state?(I=J.state,we<0?(M=0,we=-we):(M=1+(we>>4),we<48&&(we&=15)),we&&(we<8||15<we)?z:(I.window!==null&&I.wbits!==we&&(I.window=null),I.wrap=M,I.wbits=we,X(J))):z}function Ee(J,we){var M,I;return J?(I=new E,(J.state=I).window=null,(M=q(J,we))!==V&&(J.state=null),M):z}var Pe,et,He=!0;function Ce(J){if(He){var we;for(Pe=new Q.Buf32(512),et=new Q.Buf32(32),we=0;we<144;)J.lens[we++]=8;for(;we<256;)J.lens[we++]=9;for(;we<280;)J.lens[we++]=7;for(;we<288;)J.lens[we++]=8;for(c(T,J.lens,0,288,Pe,0,J.work,{bits:9}),we=0;we<32;)J.lens[we++]=5;c(k,J.lens,0,32,et,0,J.work,{bits:5}),He=!1}J.lencode=Pe,J.lenbits=9,J.distcode=et,J.distbits=5}function be(J,we,M,I){var rt,ue=J.state;return ue.window===null&&(ue.wsize=1<<ue.wbits,ue.wnext=0,ue.whave=0,ue.window=new Q.Buf8(ue.wsize)),I>=ue.wsize?(Q.arraySet(ue.window,we,M-ue.wsize,ue.wsize,0),ue.wnext=0,ue.whave=ue.wsize):(I<(rt=ue.wsize-ue.wnext)&&(rt=I),Q.arraySet(ue.window,we,M-I,rt,ue.wnext),(I-=rt)?(Q.arraySet(ue.window,we,M-I,I,0),ue.wnext=I,ue.whave=ue.wsize):(ue.wnext+=rt,ue.wnext===ue.wsize&&(ue.wnext=0),ue.whave<ue.wsize&&(ue.whave+=rt))),0}Y.inflateReset=X,Y.inflateReset2=q,Y.inflateResetKeep=ie,Y.inflateInit=function(J){return Ee(J,15)},Y.inflateInit2=Ee,Y.inflate=function(J,we){var M,I,rt,ue,le,B,ae,W,A,re,Ve,pe,Ze,st,dt,he,Le,At,Fe,Re,N,_e,ve,de,fe=0,me=new Q.Buf8(4),Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!J||!J.state||!J.output||!J.input&&J.avail_in!==0)return z;(M=J.state).mode===12&&(M.mode=13),le=J.next_out,rt=J.output,ae=J.avail_out,ue=J.next_in,I=J.input,B=J.avail_in,W=M.hold,A=M.bits,re=B,Ve=ae,_e=V;e:for(;;)switch(M.mode){case K:if(M.wrap===0){M.mode=13;break}for(;A<16;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(2&M.wrap&&W===35615){me[M.check=0]=255&W,me[1]=W>>>8&255,M.check=y(M.check,me,2,0),A=W=0,M.mode=2;break}if(M.flags=0,M.head&&(M.head.done=!1),!(1&M.wrap)||(((255&W)<<8)+(W>>8))%31){J.msg="incorrect header check",M.mode=30;break}if((15&W)!=8){J.msg="unknown compression method",M.mode=30;break}if(A-=4,N=8+(15&(W>>>=4)),M.wbits===0)M.wbits=N;else if(N>M.wbits){J.msg="invalid window size",M.mode=30;break}M.dmax=1<<N,J.adler=M.check=1,M.mode=512&W?10:12,A=W=0;break;case 2:for(;A<16;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(M.flags=W,(255&M.flags)!=8){J.msg="unknown compression method",M.mode=30;break}if(57344&M.flags){J.msg="unknown header flags set",M.mode=30;break}M.head&&(M.head.text=W>>8&1),512&M.flags&&(me[0]=255&W,me[1]=W>>>8&255,M.check=y(M.check,me,2,0)),A=W=0,M.mode=3;case 3:for(;A<32;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}M.head&&(M.head.time=W),512&M.flags&&(me[0]=255&W,me[1]=W>>>8&255,me[2]=W>>>16&255,me[3]=W>>>24&255,M.check=y(M.check,me,4,0)),A=W=0,M.mode=4;case 4:for(;A<16;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}M.head&&(M.head.xflags=255&W,M.head.os=W>>8),512&M.flags&&(me[0]=255&W,me[1]=W>>>8&255,M.check=y(M.check,me,2,0)),A=W=0,M.mode=5;case 5:if(1024&M.flags){for(;A<16;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}M.length=W,M.head&&(M.head.extra_len=W),512&M.flags&&(me[0]=255&W,me[1]=W>>>8&255,M.check=y(M.check,me,2,0)),A=W=0}else M.head&&(M.head.extra=null);M.mode=6;case 6:if(1024&M.flags&&(B<(pe=M.length)&&(pe=B),pe&&(M.head&&(N=M.head.extra_len-M.length,M.head.extra||(M.head.extra=new Array(M.head.extra_len)),Q.arraySet(M.head.extra,I,ue,pe,N)),512&M.flags&&(M.check=y(M.check,I,pe,ue)),B-=pe,ue+=pe,M.length-=pe),M.length))break e;M.length=0,M.mode=7;case 7:if(2048&M.flags){if(B===0)break e;for(pe=0;N=I[ue+pe++],M.head&&N&&M.length<65536&&(M.head.name+=String.fromCharCode(N)),N&&pe<B;);if(512&M.flags&&(M.check=y(M.check,I,pe,ue)),B-=pe,ue+=pe,N)break e}else M.head&&(M.head.name=null);M.length=0,M.mode=8;case 8:if(4096&M.flags){if(B===0)break e;for(pe=0;N=I[ue+pe++],M.head&&N&&M.length<65536&&(M.head.comment+=String.fromCharCode(N)),N&&pe<B;);if(512&M.flags&&(M.check=y(M.check,I,pe,ue)),B-=pe,ue+=pe,N)break e}else M.head&&(M.head.comment=null);M.mode=9;case 9:if(512&M.flags){for(;A<16;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(W!==(65535&M.check)){J.msg="header crc mismatch",M.mode=30;break}A=W=0}M.head&&(M.head.hcrc=M.flags>>9&1,M.head.done=!0),J.adler=M.check=0,M.mode=12;break;case 10:for(;A<32;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}J.adler=M.check=w(W),A=W=0,M.mode=11;case 11:if(M.havedict===0)return J.next_out=le,J.avail_out=ae,J.next_in=ue,J.avail_in=B,M.hold=W,M.bits=A,2;J.adler=M.check=1,M.mode=12;case 12:if(we===5||we===6)break e;case 13:if(M.last){W>>>=7&A,A-=7&A,M.mode=27;break}for(;A<3;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}switch(M.last=1&W,A-=1,3&(W>>>=1)){case 0:M.mode=14;break;case 1:if(Ce(M),M.mode=20,we!==6)break;W>>>=2,A-=2;break e;case 2:M.mode=17;break;case 3:J.msg="invalid block type",M.mode=30}W>>>=2,A-=2;break;case 14:for(W>>>=7&A,A-=7&A;A<32;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if((65535&W)!=(W>>>16^65535)){J.msg="invalid stored block lengths",M.mode=30;break}if(M.length=65535&W,A=W=0,M.mode=15,we===6)break e;case 15:M.mode=16;case 16:if(pe=M.length){if(B<pe&&(pe=B),ae<pe&&(pe=ae),pe===0)break e;Q.arraySet(rt,I,ue,pe,le),B-=pe,ue+=pe,ae-=pe,le+=pe,M.length-=pe;break}M.mode=12;break;case 17:for(;A<14;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(M.nlen=257+(31&W),W>>>=5,A-=5,M.ndist=1+(31&W),W>>>=5,A-=5,M.ncode=4+(15&W),W>>>=4,A-=4,286<M.nlen||30<M.ndist){J.msg="too many length or distance symbols",M.mode=30;break}M.have=0,M.mode=18;case 18:for(;M.have<M.ncode;){for(;A<3;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}M.lens[Oe[M.have++]]=7&W,W>>>=3,A-=3}for(;M.have<19;)M.lens[Oe[M.have++]]=0;if(M.lencode=M.lendyn,M.lenbits=7,ve={bits:M.lenbits},_e=c(0,M.lens,0,19,M.lencode,0,M.work,ve),M.lenbits=ve.bits,_e){J.msg="invalid code lengths set",M.mode=30;break}M.have=0,M.mode=19;case 19:for(;M.have<M.nlen+M.ndist;){for(;he=(fe=M.lencode[W&(1<<M.lenbits)-1])>>>16&255,Le=65535&fe,!((dt=fe>>>24)<=A);){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(Le<16)W>>>=dt,A-=dt,M.lens[M.have++]=Le;else{if(Le===16){for(de=dt+2;A<de;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(W>>>=dt,A-=dt,M.have===0){J.msg="invalid bit length repeat",M.mode=30;break}N=M.lens[M.have-1],pe=3+(3&W),W>>>=2,A-=2}else if(Le===17){for(de=dt+3;A<de;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}A-=dt,N=0,pe=3+(7&(W>>>=dt)),W>>>=3,A-=3}else{for(de=dt+7;A<de;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}A-=dt,N=0,pe=11+(127&(W>>>=dt)),W>>>=7,A-=7}if(M.have+pe>M.nlen+M.ndist){J.msg="invalid bit length repeat",M.mode=30;break}for(;pe--;)M.lens[M.have++]=N}}if(M.mode===30)break;if(M.lens[256]===0){J.msg="invalid code -- missing end-of-block",M.mode=30;break}if(M.lenbits=9,ve={bits:M.lenbits},_e=c(T,M.lens,0,M.nlen,M.lencode,0,M.work,ve),M.lenbits=ve.bits,_e){J.msg="invalid literal/lengths set",M.mode=30;break}if(M.distbits=6,M.distcode=M.distdyn,ve={bits:M.distbits},_e=c(k,M.lens,M.nlen,M.ndist,M.distcode,0,M.work,ve),M.distbits=ve.bits,_e){J.msg="invalid distances set",M.mode=30;break}if(M.mode=20,we===6)break e;case 20:M.mode=21;case 21:if(6<=B&&258<=ae){J.next_out=le,J.avail_out=ae,J.next_in=ue,J.avail_in=B,M.hold=W,M.bits=A,U(J,Ve),le=J.next_out,rt=J.output,ae=J.avail_out,ue=J.next_in,I=J.input,B=J.avail_in,W=M.hold,A=M.bits,M.mode===12&&(M.back=-1);break}for(M.back=0;he=(fe=M.lencode[W&(1<<M.lenbits)-1])>>>16&255,Le=65535&fe,!((dt=fe>>>24)<=A);){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(he&&!(240&he)){for(At=dt,Fe=he,Re=Le;he=(fe=M.lencode[Re+((W&(1<<At+Fe)-1)>>At)])>>>16&255,Le=65535&fe,!(At+(dt=fe>>>24)<=A);){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}W>>>=At,A-=At,M.back+=At}if(W>>>=dt,A-=dt,M.back+=dt,M.length=Le,he===0){M.mode=26;break}if(32&he){M.back=-1,M.mode=12;break}if(64&he){J.msg="invalid literal/length code",M.mode=30;break}M.extra=15&he,M.mode=22;case 22:if(M.extra){for(de=M.extra;A<de;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}M.length+=W&(1<<M.extra)-1,W>>>=M.extra,A-=M.extra,M.back+=M.extra}M.was=M.length,M.mode=23;case 23:for(;he=(fe=M.distcode[W&(1<<M.distbits)-1])>>>16&255,Le=65535&fe,!((dt=fe>>>24)<=A);){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(!(240&he)){for(At=dt,Fe=he,Re=Le;he=(fe=M.distcode[Re+((W&(1<<At+Fe)-1)>>At)])>>>16&255,Le=65535&fe,!(At+(dt=fe>>>24)<=A);){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}W>>>=At,A-=At,M.back+=At}if(W>>>=dt,A-=dt,M.back+=dt,64&he){J.msg="invalid distance code",M.mode=30;break}M.offset=Le,M.extra=15&he,M.mode=24;case 24:if(M.extra){for(de=M.extra;A<de;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}M.offset+=W&(1<<M.extra)-1,W>>>=M.extra,A-=M.extra,M.back+=M.extra}if(M.offset>M.dmax){J.msg="invalid distance too far back",M.mode=30;break}M.mode=25;case 25:if(ae===0)break e;if(pe=Ve-ae,M.offset>pe){if((pe=M.offset-pe)>M.whave&&M.sane){J.msg="invalid distance too far back",M.mode=30;break}Ze=pe>M.wnext?(pe-=M.wnext,M.wsize-pe):M.wnext-pe,pe>M.length&&(pe=M.length),st=M.window}else st=rt,Ze=le-M.offset,pe=M.length;for(ae<pe&&(pe=ae),ae-=pe,M.length-=pe;rt[le++]=st[Ze++],--pe;);M.length===0&&(M.mode=21);break;case 26:if(ae===0)break e;rt[le++]=M.length,ae--,M.mode=21;break;case 27:if(M.wrap){for(;A<32;){if(B===0)break e;B--,W|=I[ue++]<<A,A+=8}if(Ve-=ae,J.total_out+=Ve,M.total+=Ve,Ve&&(J.adler=M.check=M.flags?y(M.check,rt,Ve,le-Ve):_(M.check,rt,Ve,le-Ve)),Ve=ae,(M.flags?W:w(W))!==M.check){J.msg="incorrect data check",M.mode=30;break}A=W=0}M.mode=28;case 28:if(M.wrap&&M.flags){for(;A<32;){if(B===0)break e;B--,W+=I[ue++]<<A,A+=8}if(W!==(4294967295&M.total)){J.msg="incorrect length check",M.mode=30;break}A=W=0}M.mode=29;case 29:_e=1;break e;case 30:_e=-3;break e;case 31:return-4;case 32:default:return z}return J.next_out=le,J.avail_out=ae,J.next_in=ue,J.avail_in=B,M.hold=W,M.bits=A,(M.wsize||Ve!==J.avail_out&&M.mode<30&&(M.mode<27||we!==4))&&be(J,J.output,J.next_out,Ve-J.avail_out)?(M.mode=31,-4):(re-=J.avail_in,Ve-=J.avail_out,J.total_in+=re,J.total_out+=Ve,M.total+=Ve,M.wrap&&Ve&&(J.adler=M.check=M.flags?y(M.check,rt,Ve,J.next_out-Ve):_(M.check,rt,Ve,J.next_out-Ve)),J.data_type=M.bits+(M.last?64:0)+(M.mode===12?128:0)+(M.mode===20||M.mode===15?256:0),(re==0&&Ve===0||we===4)&&_e===V&&(_e=-5),_e)},Y.inflateEnd=function(J){if(!J||!J.state)return z;var we=J.state;return we.window&&(we.window=null),J.state=null,V},Y.inflateGetHeader=function(J,we){var M;return J&&J.state&&2&(M=J.state).wrap?((M.head=we).done=!1,V):z},Y.inflateSetDictionary=function(J,we){var M,I=we.length;return J&&J.state?(M=J.state).wrap!==0&&M.mode!==11?z:M.mode===11&&_(1,we,I,0)!==M.check?-3:be(J,we,I,I)?(M.mode=31,-4):(M.havedict=1,V):z},Y.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(L,ze,Y){"use strict";var Q=L("../utils/common"),_=[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],y=[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],U=[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];ze.exports=function(T,k,V,z,K,O,D,w){var E,ie,X,q,Ee,Pe,et,He,Ce,be=w.bits,J=0,we=0,M=0,I=0,rt=0,ue=0,le=0,B=0,ae=0,W=0,A=null,re=0,Ve=new Q.Buf16(16),pe=new Q.Buf16(16),Ze=null,st=0;for(J=0;J<=15;J++)Ve[J]=0;for(we=0;we<z;we++)Ve[k[V+we]]++;for(rt=be,I=15;1<=I&&Ve[I]===0;I--);if(I<rt&&(rt=I),I===0)return K[O++]=20971520,K[O++]=20971520,w.bits=1,0;for(M=1;M<I&&Ve[M]===0;M++);for(rt<M&&(rt=M),J=B=1;J<=15;J++)if(B<<=1,(B-=Ve[J])<0)return-1;if(0<B&&(T===0||I!==1))return-1;for(pe[1]=0,J=1;J<15;J++)pe[J+1]=pe[J]+Ve[J];for(we=0;we<z;we++)k[V+we]!==0&&(D[pe[k[V+we]]++]=we);if(Pe=T===0?(A=Ze=D,19):T===1?(A=_,re-=257,Ze=y,st-=257,256):(A=U,Ze=c,-1),J=M,Ee=O,le=we=W=0,X=-1,q=(ae=1<<(ue=rt))-1,T===1&&852<ae||T===2&&592<ae)return 1;for(;;){for(et=J-le,Ce=D[we]<Pe?(He=0,D[we]):D[we]>Pe?(He=Ze[st+D[we]],A[re+D[we]]):(He=96,0),E=1<<J-le,M=ie=1<<ue;K[Ee+(W>>le)+(ie-=E)]=et<<24|He<<16|Ce|0,ie!==0;);for(E=1<<J-1;W&E;)E>>=1;if(E!==0?(W&=E-1,W+=E):W=0,we++,--Ve[J]==0){if(J===I)break;J=k[V+D[we]]}if(rt<J&&(W&q)!==X){for(le===0&&(le=rt),Ee+=M,B=1<<(ue=J-le);ue+le<I&&!((B-=Ve[ue+le])<=0);)ue++,B<<=1;if(ae+=1<<ue,T===1&&852<ae||T===2&&592<ae)return 1;K[X=W&q]=rt<<24|ue<<16|Ee-O|0}}return W!==0&&(K[Ee+W]=J-le<<24|64<<16|0),w.bits=rt,0}},{"../utils/common":41}],51:[function(L,ze,Y){"use strict";ze.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(L,ze,Y){"use strict";var Q=L("../utils/common"),_=0,y=1;function U(fe){for(var me=fe.length;0<=--me;)fe[me]=0}var c=0,T=29,k=256,V=k+1+T,z=30,K=19,O=2*V+1,D=15,w=16,E=7,ie=256,X=16,q=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],He=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Ce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],be=new Array(2*(V+2));U(be);var J=new Array(2*z);U(J);var we=new Array(512);U(we);var M=new Array(256);U(M);var I=new Array(T);U(I);var rt,ue,le,B=new Array(z);function ae(fe,me,Oe,xe,Ne){this.static_tree=fe,this.extra_bits=me,this.extra_base=Oe,this.elems=xe,this.max_length=Ne,this.has_stree=fe&&fe.length}function W(fe,me){this.dyn_tree=fe,this.max_code=0,this.stat_desc=me}function A(fe){return fe<256?we[fe]:we[256+(fe>>>7)]}function re(fe,me){fe.pending_buf[fe.pending++]=255&me,fe.pending_buf[fe.pending++]=me>>>8&255}function Ve(fe,me,Oe){fe.bi_valid>w-Oe?(fe.bi_buf|=me<<fe.bi_valid&65535,re(fe,fe.bi_buf),fe.bi_buf=me>>w-fe.bi_valid,fe.bi_valid+=Oe-w):(fe.bi_buf|=me<<fe.bi_valid&65535,fe.bi_valid+=Oe)}function pe(fe,me,Oe){Ve(fe,Oe[2*me],Oe[2*me+1])}function Ze(fe,me){for(var Oe=0;Oe|=1&fe,fe>>>=1,Oe<<=1,0<--me;);return Oe>>>1}function st(fe,me,Oe){var xe,Ne,Ye=new Array(D+1),pt=0;for(xe=1;xe<=D;xe++)Ye[xe]=pt=pt+Oe[xe-1]<<1;for(Ne=0;Ne<=me;Ne++){var $t=fe[2*Ne+1];$t!==0&&(fe[2*Ne]=Ze(Ye[$t]++,$t))}}function dt(fe){var me;for(me=0;me<V;me++)fe.dyn_ltree[2*me]=0;for(me=0;me<z;me++)fe.dyn_dtree[2*me]=0;for(me=0;me<K;me++)fe.bl_tree[2*me]=0;fe.dyn_ltree[2*ie]=1,fe.opt_len=fe.static_len=0,fe.last_lit=fe.matches=0}function he(fe){8<fe.bi_valid?re(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,Oe,xe){var Ne=2*me,Ye=2*Oe;return fe[Ne]<fe[Ye]||fe[Ne]===fe[Ye]&&xe[me]<=xe[Oe]}function At(fe,me,Oe){for(var xe=fe.heap[Oe],Ne=Oe<<1;Ne<=fe.heap_len&&(Ne<fe.heap_len&&Le(me,fe.heap[Ne+1],fe.heap[Ne],fe.depth)&&Ne++,!Le(me,xe,fe.heap[Ne],fe.depth));)fe.heap[Oe]=fe.heap[Ne],Oe=Ne,Ne<<=1;fe.heap[Oe]=xe}function Fe(fe,me,Oe){var xe,Ne,Ye,pt,$t=0;if(fe.last_lit!==0)for(;xe=fe.pending_buf[fe.d_buf+2*$t]<<8|fe.pending_buf[fe.d_buf+2*$t+1],Ne=fe.pending_buf[fe.l_buf+$t],$t++,xe===0?pe(fe,Ne,me):(pe(fe,(Ye=M[Ne])+k+1,me),(pt=Pe[Ye])!==0&&Ve(fe,Ne-=I[Ye],pt),pe(fe,Ye=A(--xe),Oe),(pt=et[Ye])!==0&&Ve(fe,xe-=B[Ye],pt)),$t<fe.last_lit;);pe(fe,ie,me)}function Re(fe,me){var Oe,xe,Ne,Ye=me.dyn_tree,pt=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=O,Oe=0;Oe<Xt;Oe++)Ye[2*Oe]!==0?(fe.heap[++fe.heap_len]=Ut=Oe,fe.depth[Oe]=0):Ye[2*Oe+1]=0;for(;fe.heap_len<2;)Ye[2*(Ne=fe.heap[++fe.heap_len]=Ut<2?++Ut:0)]=1,fe.depth[Ne]=0,fe.opt_len--,$t&&(fe.static_len-=pt[2*Ne+1]);for(me.max_code=Ut,Oe=fe.heap_len>>1;1<=Oe;Oe--)At(fe,Ye,Oe);for(Ne=Xt;Oe=fe.heap[1],fe.heap[1]=fe.heap[fe.heap_len--],At(fe,Ye,1),xe=fe.heap[1],fe.heap[--fe.heap_max]=Oe,fe.heap[--fe.heap_max]=xe,Ye[2*Ne]=Ye[2*Oe]+Ye[2*xe],fe.depth[Ne]=(fe.depth[Oe]>=fe.depth[xe]?fe.depth[Oe]:fe.depth[xe])+1,Ye[2*Oe+1]=Ye[2*xe+1]=Ne,fe.heap[1]=Ne++,At(fe,Ye,1),2<=fe.heap_len;);fe.heap[--fe.heap_max]=fe.heap[1],function(Dt,at){var yt,xt,ht,tr,mr,hr,Ir=at.dyn_tree,tn=at.max_code,Pr=at.stat_desc.static_tree,x=at.stat_desc.has_stree,F=at.stat_desc.extra_bits,wt=at.stat_desc.extra_base,oe=at.stat_desc.max_length,Be=0;for(tr=0;tr<=D;tr++)Dt.bl_count[tr]=0;for(Ir[2*Dt.heap[Dt.heap_max]+1]=0,yt=Dt.heap_max+1;yt<O;yt++)oe<(tr=Ir[2*Ir[2*(xt=Dt.heap[yt])+1]+1]+1)&&(tr=oe,Be++),Ir[2*xt+1]=tr,tn<xt||(Dt.bl_count[tr]++,mr=0,wt<=xt&&(mr=F[xt-wt]),hr=Ir[2*xt],Dt.opt_len+=hr*(tr+mr),x&&(Dt.static_len+=hr*(Pr[2*xt+1]+mr)));if(Be!==0){do{for(tr=oe-1;Dt.bl_count[tr]===0;)tr--;Dt.bl_count[tr]--,Dt.bl_count[tr+1]+=2,Dt.bl_count[oe]--,Be-=2}while(0<Be);for(tr=oe;tr!==0;tr--)for(xt=Dt.bl_count[tr];xt!==0;)tn<(ht=Dt.heap[--yt])||(Ir[2*ht+1]!==tr&&(Dt.opt_len+=(tr-Ir[2*ht+1])*Ir[2*ht],Ir[2*ht+1]=tr),xt--)}}(fe,me),st(Ye,Ut,fe.bl_count)}function N(fe,me,Oe){var xe,Ne,Ye=-1,pt=me[1],$t=0,Xt=7,Ut=4;for(pt===0&&(Xt=138,Ut=3),me[2*(Oe+1)+1]=65535,xe=0;xe<=Oe;xe++)Ne=pt,pt=me[2*(xe+1)+1],++$t<Xt&&Ne===pt||($t<Ut?fe.bl_tree[2*Ne]+=$t:Ne!==0?(Ne!==Ye&&fe.bl_tree[2*Ne]++,fe.bl_tree[2*X]++):$t<=10?fe.bl_tree[2*q]++:fe.bl_tree[2*Ee]++,Ye=Ne,Ut=($t=0)===pt?(Xt=138,3):Ne===pt?(Xt=6,3):(Xt=7,4))}function _e(fe,me,Oe){var xe,Ne,Ye=-1,pt=me[1],$t=0,Xt=7,Ut=4;for(pt===0&&(Xt=138,Ut=3),xe=0;xe<=Oe;xe++)if(Ne=pt,pt=me[2*(xe+1)+1],!(++$t<Xt&&Ne===pt)){if($t<Ut)for(;pe(fe,Ne,fe.bl_tree),--$t!=0;);else Ne!==0?(Ne!==Ye&&(pe(fe,Ne,fe.bl_tree),$t--),pe(fe,X,fe.bl_tree),Ve(fe,$t-3,2)):$t<=10?(pe(fe,q,fe.bl_tree),Ve(fe,$t-3,3)):(pe(fe,Ee,fe.bl_tree),Ve(fe,$t-11,7));Ye=Ne,Ut=($t=0)===pt?(Xt=138,3):Ne===pt?(Xt=6,3):(Xt=7,4)}}U(B);var ve=!1;function de(fe,me,Oe,xe){Ve(fe,(c<<1)+(xe?1:0),3),function(Ne,Ye,pt,$t){he(Ne),$t&&(re(Ne,pt),re(Ne,~pt)),Q.arraySet(Ne.pending_buf,Ne.window,Ye,pt,Ne.pending),Ne.pending+=pt}(fe,me,Oe,!0)}Y._tr_init=function(fe){ve||(function(){var me,Oe,xe,Ne,Ye,pt=new Array(D+1);for(Ne=xe=0;Ne<T-1;Ne++)for(I[Ne]=xe,me=0;me<1<<Pe[Ne];me++)M[xe++]=Ne;for(M[xe-1]=Ne,Ne=Ye=0;Ne<16;Ne++)for(B[Ne]=Ye,me=0;me<1<<et[Ne];me++)we[Ye++]=Ne;for(Ye>>=7;Ne<z;Ne++)for(B[Ne]=Ye<<7,me=0;me<1<<et[Ne]-7;me++)we[256+Ye++]=Ne;for(Oe=0;Oe<=D;Oe++)pt[Oe]=0;for(me=0;me<=143;)be[2*me+1]=8,me++,pt[8]++;for(;me<=255;)be[2*me+1]=9,me++,pt[9]++;for(;me<=279;)be[2*me+1]=7,me++,pt[7]++;for(;me<=287;)be[2*me+1]=8,me++,pt[8]++;for(st(be,V+1,pt),me=0;me<z;me++)J[2*me+1]=5,J[2*me]=Ze(me,5);rt=new ae(be,Pe,k+1,V,D),ue=new ae(J,et,0,z,D),le=new ae(new Array(0),He,0,K,E)}(),ve=!0),fe.l_desc=new W(fe.dyn_ltree,rt),fe.d_desc=new W(fe.dyn_dtree,ue),fe.bl_desc=new W(fe.bl_tree,le),fe.bi_buf=0,fe.bi_valid=0,dt(fe)},Y._tr_stored_block=de,Y._tr_flush_block=function(fe,me,Oe,xe){var Ne,Ye,pt=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 _;if($t.dyn_ltree[18]!==0||$t.dyn_ltree[20]!==0||$t.dyn_ltree[26]!==0)return y;for(Xt=32;Xt<k;Xt++)if($t.dyn_ltree[2*Xt]!==0)return y;return _}(fe)),Re(fe,fe.l_desc),Re(fe,fe.d_desc),pt=function($t){var Xt;for(N($t,$t.dyn_ltree,$t.l_desc.max_code),N($t,$t.dyn_dtree,$t.d_desc.max_code),Re($t,$t.bl_desc),Xt=K-1;3<=Xt&&$t.bl_tree[2*Ce[Xt]+1]===0;Xt--);return $t.opt_len+=3*(Xt+1)+5+5+4,Xt}(fe),Ne=fe.opt_len+3+7>>>3,(Ye=fe.static_len+3+7>>>3)<=Ne&&(Ne=Ye)):Ne=Ye=Oe+5,Oe+4<=Ne&&me!==-1?de(fe,me,Oe,xe):fe.strategy===4||Ye===Ne?(Ve(fe,2+(xe?1:0),3),Fe(fe,be,J)):(Ve(fe,4+(xe?1:0),3),function($t,Xt,Ut,Dt){var at;for(Ve($t,Xt-257,5),Ve($t,Ut-1,5),Ve($t,Dt-4,4),at=0;at<Dt;at++)Ve($t,$t.bl_tree[2*Ce[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,pt+1),Fe(fe,fe.dyn_ltree,fe.dyn_dtree)),dt(fe),xe&&he(fe)},Y._tr_tally=function(fe,me,Oe){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&Oe,fe.last_lit++,me===0?fe.dyn_ltree[2*Oe]++:(fe.matches++,me--,fe.dyn_ltree[2*(M[Oe]+k+1)]++,fe.dyn_dtree[2*A(me)]++),fe.last_lit===fe.lit_bufsize-1},Y._tr_align=function(fe){Ve(fe,2,3),pe(fe,ie,be),function(me){me.bi_valid===16?(re(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(L,ze,Y){"use strict";ze.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(L,ze,Y){(function(Q){(function(_,y){"use strict";if(!_.setImmediate){var U,c,T,k,V=1,z={},K=!1,O=_.document,D=Object.getPrototypeOf&&Object.getPrototypeOf(_);D=D&&D.setTimeout?D:_,U={}.toString.call(_.process)==="[object process]"?function(X){Xe.nextTick(function(){E(X)})}:function(){if(_.postMessage&&!_.importScripts){var X=!0,q=_.onmessage;return _.onmessage=function(){X=!1},_.postMessage("","*"),_.onmessage=q,X}}()?(k="setImmediate$"+Math.random()+"$",_.addEventListener?_.addEventListener("message",ie,!1):_.attachEvent("onmessage",ie),function(X){_.postMessage(k+X,"*")}):_.MessageChannel?((T=new MessageChannel).port1.onmessage=function(X){E(X.data)},function(X){T.port2.postMessage(X)}):O&&"onreadystatechange"in O.createElement("script")?(c=O.documentElement,function(X){var q=O.createElement("script");q.onreadystatechange=function(){E(X),q.onreadystatechange=null,c.removeChild(q),q=null},c.appendChild(q)}):function(X){setTimeout(E,0,X)},D.setImmediate=function(X){typeof X!="function"&&(X=new Function(""+X));for(var q=new Array(arguments.length-1),Ee=0;Ee<q.length;Ee++)q[Ee]=arguments[Ee+1];var Pe={callback:X,args:q};return z[V]=Pe,U(V),V++},D.clearImmediate=w}function w(X){delete z[X]}function E(X){if(K)setTimeout(E,0,X);else{var q=z[X];if(q){K=!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(y,et)}})(q)}finally{w(X),K=!1}}}}function ie(X){X.source===_&&typeof X.data=="string"&&X.data.indexOf(k)===0&&E(+X.data.slice(k.length))}})(typeof self=="undefined"?Q===void 0?this:Q: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 L=n[Xe]={i:Xe,l:!1,exports:{}};return _t[Xe].call(L.exports,L,L.exports,o),L.l=!0,L.exports}return o.m=_t,o.c=n,o.d=function(Xe,L,ze){o.o(Xe,L)||Object.defineProperty(Xe,L,{enumerable:!0,get:ze})},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,L){if(L&1&&(Xe=o(Xe)),L&8||L&4&&typeof Xe=="object"&&Xe&&Xe.__esModule)return Xe;var ze=Object.create(null);if(o.r(ze),Object.defineProperty(ze,"default",{enumerable:!0,value:Xe}),L&2&&typeof Xe!="string")for(var Y in Xe)o.d(ze,Y,function(Q){return Xe[Q]}.bind(null,Y));return ze},o.n=function(Xe){var L=Xe&&Xe.__esModule?function(){return Xe.default}:function(){return Xe};return o.d(L,"a",L),L},o.o=function(Xe,L){return Object.prototype.hasOwnProperty.call(Xe,L)},o.p="",o(o.s=1)}([function(_t,n,o){},function(_t,n,o){"use strict";o.r(n);var Xe=o(0),L=function(){function te(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 te.range=function(a,l){return l?!a||!a.loc||!l.loc||a.loc.lexer!==l.loc.lexer?null:new te(a.loc.lexer,a.loc.start,l.loc.end):a&&a.loc},te}(),ze=function(){function te(a,l){this.text=void 0,this.loc=void 0,this.text=a,this.loc=l}var r=te.prototype;return r.range=function(l,g){return new te(g,L.range(this,l))},te}(),Y=function te(r,a){this.position=void 0;var l="KaTeX parse error: "+r,g,R=a&&a.loc;if(R&&R.start<=R.end){var se=R.lexer.input;g=R.start;var De=R.end;g===se.length?l+=" at end of input: ":l+=" at position "+(g+1)+": ";var Je=se.slice(g,De).replace(/[^]/g,"$&\u0332"),It;g>15?It="\u2026"+se.slice(g-15,g):It=se.slice(0,g);var ar;De+15<se.length?ar=se.slice(De,De+15)+"\u2026":ar=se.slice(De),l+=It+Je+ar}var pr=new Error(l);return pr.name="ParseError",pr.__proto__=te.prototype,pr.position=g,pr};Y.prototype.__proto__=Error.prototype;var Q=Y,_=function(r,a){return r.indexOf(a)!==-1},y=function(r,a){return r===void 0?a:r},U=/([A-Z])/g,c=function(r){return r.replace(U,"-$1").toLowerCase()},T={"&":"&",">":">","<":"<",'"':""","'":"'"},k=/[&><"']/g;function V(te){return String(te).replace(k,function(r){return T[r]})}var z=function te(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?te(r.body[0]):r:r.type==="font"?te(r.body):r},K=function(r){var a=z(r);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},O=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},D=function(r){var a=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return a!=null?a[1]:"_relative"},w={contains:_,deflt:y,escape:V,hyphenate:c,getBaseElem:z,isCharacterBox:K,protocolFromUrl:D},E=function(){function te(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=w.deflt(a.displayMode,!1),this.output=w.deflt(a.output,"htmlAndMathml"),this.leqno=w.deflt(a.leqno,!1),this.fleqn=w.deflt(a.fleqn,!1),this.throwOnError=w.deflt(a.throwOnError,!0),this.errorColor=w.deflt(a.errorColor,"#cc0000"),this.macros=a.macros||{},this.minRuleThickness=Math.max(0,w.deflt(a.minRuleThickness,0)),this.colorIsTextColor=w.deflt(a.colorIsTextColor,!1),this.strict=w.deflt(a.strict,"warn"),this.trust=w.deflt(a.trust,!1),this.maxSize=Math.max(0,w.deflt(a.maxSize,1/0)),this.maxExpand=Math.max(0,w.deflt(a.maxExpand,1e3))}var r=te.prototype;return r.reportNonstrict=function(l,g,R){var se=this.strict;if(typeof se=="function"&&(se=se(l,g,R)),!(!se||se==="ignore")){if(se===!0||se==="error")throw new Q("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+l+"]"),R);se==="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 '"+se+"': "+g+" ["+l+"]"))}},r.useStrictBehavior=function(l,g,R){var se=this.strict;if(typeof se=="function")try{se=se(l,g,R)}catch(De){se="error"}return!se||se==="ignore"?!1:se===!0||se==="error"?!0:se==="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 '"+se+"': "+g+" ["+l+"]")),!1)},r.isTrusted=function(l){l.url&&!l.protocol&&(l.protocol=w.protocolFromUrl(l.url));var g=typeof this.trust=="function"?this.trust(l):this.trust;return!!g},te}(),ie=function(){function te(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=te.prototype;return r.sup=function(){return J[we[this.id]]},r.sub=function(){return J[M[this.id]]},r.fracNum=function(){return J[I[this.id]]},r.fracDen=function(){return J[rt[this.id]]},r.cramp=function(){return J[ue[this.id]]},r.text=function(){return J[le[this.id]]},r.isTight=function(){return this.size>=2},te}(),X=0,q=1,Ee=2,Pe=3,et=4,He=5,Ce=6,be=7,J=[new ie(X,0,!1),new ie(q,0,!0),new ie(Ee,1,!1),new ie(Pe,1,!0),new ie(et,2,!1),new ie(He,2,!0),new ie(Ce,3,!1),new ie(be,3,!0)],we=[et,He,et,He,Ce,be,Ce,be],M=[He,He,He,He,be,be,be,be],I=[Ee,Pe,et,He,Ce,be,Ce,be],rt=[Pe,Pe,He,He,be,be,be,be],ue=[q,q,Pe,Pe,He,He,be,be],le=[X,q,Ee,Pe,Ee,Pe,Ee,Pe],B={DISPLAY:J[X],TEXT:J[Ee],SCRIPT:J[et],SCRIPTSCRIPT:J[Ce]},ae=[{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 W(te){for(var r=0;r<ae.length;r++)for(var a=ae[r],l=0;l<a.blocks.length;l++){var g=a.blocks[l];if(te>=g[0]&&te<=g[1])return a.name}return null}var A=[];ae.forEach(function(te){return te.blocks.forEach(function(r){return A.push.apply(A,r)})});function re(te){for(var r=0;r<A.length;r+=2)if(te>=A[r]&&te<=A[r+1])return!0;return!1}var Ve=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"},st=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"},dt=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"},At=function(r,a,l){a=1e3*a;var g="";switch(r){case"sqrtMain":g=pe(a,Ve);break;case"sqrtSize1":g=Ze(a,Ve);break;case"sqrtSize2":g=st(a,Ve);break;case"sqrtSize3":g=dt(a,Ve);break;case"sqrtSize4":g=he(a,Ve);break;case"sqrtTall":g=Le(a,Ve,l)}return g},Fe={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 te(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=te.prototype;return r.hasClass=function(l){return w.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(R){return R.toText()};return this.children.map(l).join("")},te}(),N=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)}},ve=function(r){var a=document.createElement(r);a.className=N(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 R=0;R<this.children.length;R++)a.appendChild(this.children[R].toNode());return a},de=function(r){var a="<"+r;this.classes.length&&(a+=' class="'+w.escape(N(this.classes))+'"');var l="";for(var g in this.style)this.style.hasOwnProperty(g)&&(l+=w.hyphenate(g)+":"+this.style[g]+";");l&&(a+=' style="'+w.escape(l)+'"');for(var R in this.attributes)this.attributes.hasOwnProperty(R)&&(a+=" "+R+'="'+w.escape(this.attributes[R])+'"');a+=">";for(var se=0;se<this.children.length;se++)a+=this.children[se].toMarkup();return a+="</"+r+">",a},fe=function(){function te(a,l,g,R){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,R),this.children=l||[]}var r=te.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return w.contains(this.classes,l)},r.toNode=function(){return ve.call(this,"span")},r.toMarkup=function(){return de.call(this,"span")},te}(),me=function(){function te(a,l,g,R){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,R),this.children=g||[],this.setAttribute("href",a)}var r=te.prototype;return r.setAttribute=function(l,g){this.attributes[l]=g},r.hasClass=function(l){return w.contains(this.classes,l)},r.toNode=function(){return ve.call(this,"a")},r.toMarkup=function(){return de.call(this,"a")},te}(),Oe=function(){function te(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=te.prototype;return r.hasClass=function(l){return w.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 R in this.style)this.style.hasOwnProperty(R)&&(g+=w.hyphenate(R)+":"+this.style[R]+";");return g&&(l+=' style="'+w.escape(g)+'"'),l+="'/>",l},te}(),xe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Ne=function(){function te(a,l,g,R,se,De,Je,It){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=R||0,this.skew=se||0,this.width=De||0,this.classes=Je||[],this.style=It||{},this.maxFontSize=0;var ar=W(this.text.charCodeAt(0));ar&&this.classes.push(ar+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=xe[this.text])}var r=te.prototype;return r.hasClass=function(l){return w.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=N(this.classes));for(var R in this.style)this.style.hasOwnProperty(R)&&(g=g||document.createElement("span"),g.style[R]=this.style[R]);return g?(g.appendChild(l),g):l},r.toMarkup=function(){var l=!1,g="<span";this.classes.length&&(l=!0,g+=' class="',g+=w.escape(N(this.classes)),g+='"');var R="";this.italic>0&&(R+="margin-right:"+this.italic+"em;");for(var se in this.style)this.style.hasOwnProperty(se)&&(R+=w.hyphenate(se)+":"+this.style[se]+";");R&&(l=!0,g+=' style="'+w.escape(R)+'"');var De=w.escape(this.text);return l?(g+=">",g+=De,g+="</span>",g):De},te}(),Ye=function(){function te(a,l){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=l||{}}var r=te.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"svg");for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&g.setAttribute(R,this.attributes[R]);for(var se=0;se<this.children.length;se++)g.appendChild(this.children[se].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 R=0;R<this.children.length;R++)l+=this.children[R].toMarkup();return l+="</svg>",l},te}(),pt=function(){function te(a,l){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=l}var r=te.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",Fe[this.pathName]),g},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Fe[this.pathName]+"'/>"},te}(),$t=function(){function te(a){this.attributes=void 0,this.attributes=a||{}}var r=te.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"line");for(var R in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,R)&&g.setAttribute(R,this.attributes[R]);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},te}();function Xt(te){if(te instanceof Ne)return te;throw new Error("Expected symbolNode but got "+String(te)+".")}function Ut(te){if(te instanceof fe)return te;throw new Error("Expected span<HtmlDomNode> but got "+String(te)+".")}var Dt={"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 xt(te,r){Dt[te]=r}function ht(te,r,a){if(!Dt[r])throw new Error("Font metrics not found for font: "+r+".");var l=te.charCodeAt(0),g=Dt[r][l];if(!g&&te[0]in yt&&(l=yt[te[0]].charCodeAt(0),g=Dt[r][l]),!g&&a==="text"&&re(l)&&(g=Dt[r][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var tr={};function mr(te){var r;if(te>=5?r=0:te>=3?r=1:r=2,!tr[r]){var a=tr[r]={cssEmPerMu:at.quad[r]/18};for(var l in at)at.hasOwnProperty(l)&&(a[l]=at[l][r])}return tr[r]}var hr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Ir={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},tn={math:{},text:{}},Pr=tn;function x(te,r,a,l,g,R){tn[te][g]={font:r,group:a,replace:l},R&&l&&(tn[te][l]=tn[te][g])}var F="math",wt="text",oe="main",Be="ams",kr="accent-token",Br="bin",wn="close",Fn="inner",Rt="mathord",Sr="op-token",sr="open",S="punct",v="rel",Gt="spacing",$="textord";x(F,oe,v,"\u2261","\\equiv",!0),x(F,oe,v,"\u227A","\\prec",!0),x(F,oe,v,"\u227B","\\succ",!0),x(F,oe,v,"\u223C","\\sim",!0),x(F,oe,v,"\u22A5","\\perp"),x(F,oe,v,"\u2AAF","\\preceq",!0),x(F,oe,v,"\u2AB0","\\succeq",!0),x(F,oe,v,"\u2243","\\simeq",!0),x(F,oe,v,"\u2223","\\mid",!0),x(F,oe,v,"\u226A","\\ll",!0),x(F,oe,v,"\u226B","\\gg",!0),x(F,oe,v,"\u224D","\\asymp",!0),x(F,oe,v,"\u2225","\\parallel"),x(F,oe,v,"\u22C8","\\bowtie",!0),x(F,oe,v,"\u2323","\\smile",!0),x(F,oe,v,"\u2291","\\sqsubseteq",!0),x(F,oe,v,"\u2292","\\sqsupseteq",!0),x(F,oe,v,"\u2250","\\doteq",!0),x(F,oe,v,"\u2322","\\frown",!0),x(F,oe,v,"\u220B","\\ni",!0),x(F,oe,v,"\u221D","\\propto",!0),x(F,oe,v,"\u22A2","\\vdash",!0),x(F,oe,v,"\u22A3","\\dashv",!0),x(F,oe,v,"\u220B","\\owns"),x(F,oe,S,".","\\ldotp"),x(F,oe,S,"\u22C5","\\cdotp"),x(F,oe,$,"#","\\#"),x(wt,oe,$,"#","\\#"),x(F,oe,$,"&","\\&"),x(wt,oe,$,"&","\\&"),x(F,oe,$,"\u2135","\\aleph",!0),x(F,oe,$,"\u2200","\\forall",!0),x(F,oe,$,"\u210F","\\hbar",!0),x(F,oe,$,"\u2203","\\exists",!0),x(F,oe,$,"\u2207","\\nabla",!0),x(F,oe,$,"\u266D","\\flat",!0),x(F,oe,$,"\u2113","\\ell",!0),x(F,oe,$,"\u266E","\\natural",!0),x(F,oe,$,"\u2663","\\clubsuit",!0),x(F,oe,$,"\u2118","\\wp",!0),x(F,oe,$,"\u266F","\\sharp",!0),x(F,oe,$,"\u2662","\\diamondsuit",!0),x(F,oe,$,"\u211C","\\Re",!0),x(F,oe,$,"\u2661","\\heartsuit",!0),x(F,oe,$,"\u2111","\\Im",!0),x(F,oe,$,"\u2660","\\spadesuit",!0),x(wt,oe,$,"\xA7","\\S",!0),x(wt,oe,$,"\xB6","\\P",!0),x(F,oe,$,"\u2020","\\dag"),x(wt,oe,$,"\u2020","\\dag"),x(wt,oe,$,"\u2020","\\textdagger"),x(F,oe,$,"\u2021","\\ddag"),x(wt,oe,$,"\u2021","\\ddag"),x(wt,oe,$,"\u2021","\\textdaggerdbl"),x(F,oe,wn,"\u23B1","\\rmoustache",!0),x(F,oe,sr,"\u23B0","\\lmoustache",!0),x(F,oe,wn,"\u27EF","\\rgroup",!0),x(F,oe,sr,"\u27EE","\\lgroup",!0),x(F,oe,Br,"\u2213","\\mp",!0),x(F,oe,Br,"\u2296","\\ominus",!0),x(F,oe,Br,"\u228E","\\uplus",!0),x(F,oe,Br,"\u2293","\\sqcap",!0),x(F,oe,Br,"\u2217","\\ast"),x(F,oe,Br,"\u2294","\\sqcup",!0),x(F,oe,Br,"\u25EF","\\bigcirc"),x(F,oe,Br,"\u2219","\\bullet"),x(F,oe,Br,"\u2021","\\ddagger"),x(F,oe,Br,"\u2240","\\wr",!0),x(F,oe,Br,"\u2A3F","\\amalg"),x(F,oe,Br,"&","\\And"),x(F,oe,v,"\u27F5","\\longleftarrow",!0),x(F,oe,v,"\u21D0","\\Leftarrow",!0),x(F,oe,v,"\u27F8","\\Longleftarrow",!0),x(F,oe,v,"\u27F6","\\longrightarrow",!0),x(F,oe,v,"\u21D2","\\Rightarrow",!0),x(F,oe,v,"\u27F9","\\Longrightarrow",!0),x(F,oe,v,"\u2194","\\leftrightarrow",!0),x(F,oe,v,"\u27F7","\\longleftrightarrow",!0),x(F,oe,v,"\u21D4","\\Leftrightarrow",!0),x(F,oe,v,"\u27FA","\\Longleftrightarrow",!0),x(F,oe,v,"\u21A6","\\mapsto",!0),x(F,oe,v,"\u27FC","\\longmapsto",!0),x(F,oe,v,"\u2197","\\nearrow",!0),x(F,oe,v,"\u21A9","\\hookleftarrow",!0),x(F,oe,v,"\u21AA","\\hookrightarrow",!0),x(F,oe,v,"\u2198","\\searrow",!0),x(F,oe,v,"\u21BC","\\leftharpoonup",!0),x(F,oe,v,"\u21C0","\\rightharpoonup",!0),x(F,oe,v,"\u2199","\\swarrow",!0),x(F,oe,v,"\u21BD","\\leftharpoondown",!0),x(F,oe,v,"\u21C1","\\rightharpoondown",!0),x(F,oe,v,"\u2196","\\nwarrow",!0),x(F,oe,v,"\u21CC","\\rightleftharpoons",!0),x(F,Be,v,"\u226E","\\nless",!0),x(F,Be,v,"\uE010","\\@nleqslant"),x(F,Be,v,"\uE011","\\@nleqq"),x(F,Be,v,"\u2A87","\\lneq",!0),x(F,Be,v,"\u2268","\\lneqq",!0),x(F,Be,v,"\uE00C","\\@lvertneqq"),x(F,Be,v,"\u22E6","\\lnsim",!0),x(F,Be,v,"\u2A89","\\lnapprox",!0),x(F,Be,v,"\u2280","\\nprec",!0),x(F,Be,v,"\u22E0","\\npreceq",!0),x(F,Be,v,"\u22E8","\\precnsim",!0),x(F,Be,v,"\u2AB9","\\precnapprox",!0),x(F,Be,v,"\u2241","\\nsim",!0),x(F,Be,v,"\uE006","\\@nshortmid"),x(F,Be,v,"\u2224","\\nmid",!0),x(F,Be,v,"\u22AC","\\nvdash",!0),x(F,Be,v,"\u22AD","\\nvDash",!0),x(F,Be,v,"\u22EA","\\ntriangleleft"),x(F,Be,v,"\u22EC","\\ntrianglelefteq",!0),x(F,Be,v,"\u228A","\\subsetneq",!0),x(F,Be,v,"\uE01A","\\@varsubsetneq"),x(F,Be,v,"\u2ACB","\\subsetneqq",!0),x(F,Be,v,"\uE017","\\@varsubsetneqq"),x(F,Be,v,"\u226F","\\ngtr",!0),x(F,Be,v,"\uE00F","\\@ngeqslant"),x(F,Be,v,"\uE00E","\\@ngeqq"),x(F,Be,v,"\u2A88","\\gneq",!0),x(F,Be,v,"\u2269","\\gneqq",!0),x(F,Be,v,"\uE00D","\\@gvertneqq"),x(F,Be,v,"\u22E7","\\gnsim",!0),x(F,Be,v,"\u2A8A","\\gnapprox",!0),x(F,Be,v,"\u2281","\\nsucc",!0),x(F,Be,v,"\u22E1","\\nsucceq",!0),x(F,Be,v,"\u22E9","\\succnsim",!0),x(F,Be,v,"\u2ABA","\\succnapprox",!0),x(F,Be,v,"\u2246","\\ncong",!0),x(F,Be,v,"\uE007","\\@nshortparallel"),x(F,Be,v,"\u2226","\\nparallel",!0),x(F,Be,v,"\u22AF","\\nVDash",!0),x(F,Be,v,"\u22EB","\\ntriangleright"),x(F,Be,v,"\u22ED","\\ntrianglerighteq",!0),x(F,Be,v,"\uE018","\\@nsupseteqq"),x(F,Be,v,"\u228B","\\supsetneq",!0),x(F,Be,v,"\uE01B","\\@varsupsetneq"),x(F,Be,v,"\u2ACC","\\supsetneqq",!0),x(F,Be,v,"\uE019","\\@varsupsetneqq"),x(F,Be,v,"\u22AE","\\nVdash",!0),x(F,Be,v,"\u2AB5","\\precneqq",!0),x(F,Be,v,"\u2AB6","\\succneqq",!0),x(F,Be,v,"\uE016","\\@nsubseteqq"),x(F,Be,Br,"\u22B4","\\unlhd"),x(F,Be,Br,"\u22B5","\\unrhd"),x(F,Be,v,"\u219A","\\nleftarrow",!0),x(F,Be,v,"\u219B","\\nrightarrow",!0),x(F,Be,v,"\u21CD","\\nLeftarrow",!0),x(F,Be,v,"\u21CF","\\nRightarrow",!0),x(F,Be,v,"\u21AE","\\nleftrightarrow",!0),x(F,Be,v,"\u21CE","\\nLeftrightarrow",!0),x(F,Be,v,"\u25B3","\\vartriangle"),x(F,Be,$,"\u210F","\\hslash"),x(F,Be,$,"\u25BD","\\triangledown"),x(F,Be,$,"\u25CA","\\lozenge"),x(F,Be,$,"\u24C8","\\circledS"),x(F,Be,$,"\xAE","\\circledR"),x(wt,Be,$,"\xAE","\\circledR"),x(F,Be,$,"\u2221","\\measuredangle",!0),x(F,Be,$,"\u2204","\\nexists"),x(F,Be,$,"\u2127","\\mho"),x(F,Be,$,"\u2132","\\Finv",!0),x(F,Be,$,"\u2141","\\Game",!0),x(F,Be,$,"\u2035","\\backprime"),x(F,Be,$,"\u25B2","\\blacktriangle"),x(F,Be,$,"\u25BC","\\blacktriangledown"),x(F,Be,$,"\u25A0","\\blacksquare"),x(F,Be,$,"\u29EB","\\blacklozenge"),x(F,Be,$,"\u2605","\\bigstar"),x(F,Be,$,"\u2222","\\sphericalangle",!0),x(F,Be,$,"\u2201","\\complement",!0),x(F,Be,$,"\xF0","\\eth",!0),x(F,Be,$,"\u2571","\\diagup"),x(F,Be,$,"\u2572","\\diagdown"),x(F,Be,$,"\u25A1","\\square"),x(F,Be,$,"\u25A1","\\Box"),x(F,Be,$,"\u25CA","\\Diamond"),x(F,Be,$,"\xA5","\\yen",!0),x(wt,Be,$,"\xA5","\\yen",!0),x(F,Be,$,"\u2713","\\checkmark",!0),x(wt,Be,$,"\u2713","\\checkmark"),x(F,Be,$,"\u2136","\\beth",!0),x(F,Be,$,"\u2138","\\daleth",!0),x(F,Be,$,"\u2137","\\gimel",!0),x(F,Be,$,"\u03DD","\\digamma",!0),x(F,Be,$,"\u03F0","\\varkappa"),x(F,Be,sr,"\u250C","\\ulcorner",!0),x(F,Be,wn,"\u2510","\\urcorner",!0),x(F,Be,sr,"\u2514","\\llcorner",!0),x(F,Be,wn,"\u2518","\\lrcorner",!0),x(F,Be,v,"\u2266","\\leqq",!0),x(F,Be,v,"\u2A7D","\\leqslant",!0),x(F,Be,v,"\u2A95","\\eqslantless",!0),x(F,Be,v,"\u2272","\\lesssim",!0),x(F,Be,v,"\u2A85","\\lessapprox",!0),x(F,Be,v,"\u224A","\\approxeq",!0),x(F,Be,Br,"\u22D6","\\lessdot"),x(F,Be,v,"\u22D8","\\lll",!0),x(F,Be,v,"\u2276","\\lessgtr",!0),x(F,Be,v,"\u22DA","\\lesseqgtr",!0),x(F,Be,v,"\u2A8B","\\lesseqqgtr",!0),x(F,Be,v,"\u2251","\\doteqdot"),x(F,Be,v,"\u2253","\\risingdotseq",!0),x(F,Be,v,"\u2252","\\fallingdotseq",!0),x(F,Be,v,"\u223D","\\backsim",!0),x(F,Be,v,"\u22CD","\\backsimeq",!0),x(F,Be,v,"\u2AC5","\\subseteqq",!0),x(F,Be,v,"\u22D0","\\Subset",!0),x(F,Be,v,"\u228F","\\sqsubset",!0),x(F,Be,v,"\u227C","\\preccurlyeq",!0),x(F,Be,v,"\u22DE","\\curlyeqprec",!0),x(F,Be,v,"\u227E","\\precsim",!0),x(F,Be,v,"\u2AB7","\\precapprox",!0),x(F,Be,v,"\u22B2","\\vartriangleleft"),x(F,Be,v,"\u22B4","\\trianglelefteq"),x(F,Be,v,"\u22A8","\\vDash",!0),x(F,Be,v,"\u22AA","\\Vvdash",!0),x(F,Be,v,"\u2323","\\smallsmile"),x(F,Be,v,"\u2322","\\smallfrown"),x(F,Be,v,"\u224F","\\bumpeq",!0),x(F,Be,v,"\u224E","\\Bumpeq",!0),x(F,Be,v,"\u2267","\\geqq",!0),x(F,Be,v,"\u2A7E","\\geqslant",!0),x(F,Be,v,"\u2A96","\\eqslantgtr",!0),x(F,Be,v,"\u2273","\\gtrsim",!0),x(F,Be,v,"\u2A86","\\gtrapprox",!0),x(F,Be,Br,"\u22D7","\\gtrdot"),x(F,Be,v,"\u22D9","\\ggg",!0),x(F,Be,v,"\u2277","\\gtrless",!0),x(F,Be,v,"\u22DB","\\gtreqless",!0),x(F,Be,v,"\u2A8C","\\gtreqqless",!0),x(F,Be,v,"\u2256","\\eqcirc",!0),x(F,Be,v,"\u2257","\\circeq",!0),x(F,Be,v,"\u225C","\\triangleq",!0),x(F,Be,v,"\u223C","\\thicksim"),x(F,Be,v,"\u2248","\\thickapprox"),x(F,Be,v,"\u2AC6","\\supseteqq",!0),x(F,Be,v,"\u22D1","\\Supset",!0),x(F,Be,v,"\u2290","\\sqsupset",!0),x(F,Be,v,"\u227D","\\succcurlyeq",!0),x(F,Be,v,"\u22DF","\\curlyeqsucc",!0),x(F,Be,v,"\u227F","\\succsim",!0),x(F,Be,v,"\u2AB8","\\succapprox",!0),x(F,Be,v,"\u22B3","\\vartriangleright"),x(F,Be,v,"\u22B5","\\trianglerighteq"),x(F,Be,v,"\u22A9","\\Vdash",!0),x(F,Be,v,"\u2223","\\shortmid"),x(F,Be,v,"\u2225","\\shortparallel"),x(F,Be,v,"\u226C","\\between",!0),x(F,Be,v,"\u22D4","\\pitchfork",!0),x(F,Be,v,"\u221D","\\varpropto"),x(F,Be,v,"\u25C0","\\blacktriangleleft"),x(F,Be,v,"\u2234","\\therefore",!0),x(F,Be,v,"\u220D","\\backepsilon"),x(F,Be,v,"\u25B6","\\blacktriangleright"),x(F,Be,v,"\u2235","\\because",!0),x(F,Be,v,"\u22D8","\\llless"),x(F,Be,v,"\u22D9","\\gggtr"),x(F,Be,Br,"\u22B2","\\lhd"),x(F,Be,Br,"\u22B3","\\rhd"),x(F,Be,v,"\u2242","\\eqsim",!0),x(F,oe,v,"\u22C8","\\Join"),x(F,Be,v,"\u2251","\\Doteq",!0),x(F,Be,Br,"\u2214","\\dotplus",!0),x(F,Be,Br,"\u2216","\\smallsetminus"),x(F,Be,Br,"\u22D2","\\Cap",!0),x(F,Be,Br,"\u22D3","\\Cup",!0),x(F,Be,Br,"\u2A5E","\\doublebarwedge",!0),x(F,Be,Br,"\u229F","\\boxminus",!0),x(F,Be,Br,"\u229E","\\boxplus",!0),x(F,Be,Br,"\u22C7","\\divideontimes",!0),x(F,Be,Br,"\u22C9","\\ltimes",!0),x(F,Be,Br,"\u22CA","\\rtimes",!0),x(F,Be,Br,"\u22CB","\\leftthreetimes",!0),x(F,Be,Br,"\u22CC","\\rightthreetimes",!0),x(F,Be,Br,"\u22CF","\\curlywedge",!0),x(F,Be,Br,"\u22CE","\\curlyvee",!0),x(F,Be,Br,"\u229D","\\circleddash",!0),x(F,Be,Br,"\u229B","\\circledast",!0),x(F,Be,Br,"\u22C5","\\centerdot"),x(F,Be,Br,"\u22BA","\\intercal",!0),x(F,Be,Br,"\u22D2","\\doublecap"),x(F,Be,Br,"\u22D3","\\doublecup"),x(F,Be,Br,"\u22A0","\\boxtimes",!0),x(F,Be,v,"\u21E2","\\dashrightarrow",!0),x(F,Be,v,"\u21E0","\\dashleftarrow",!0),x(F,Be,v,"\u21C7","\\leftleftarrows",!0),x(F,Be,v,"\u21C6","\\leftrightarrows",!0),x(F,Be,v,"\u21DA","\\Lleftarrow",!0),x(F,Be,v,"\u219E","\\twoheadleftarrow",!0),x(F,Be,v,"\u21A2","\\leftarrowtail",!0),x(F,Be,v,"\u21AB","\\looparrowleft",!0),x(F,Be,v,"\u21CB","\\leftrightharpoons",!0),x(F,Be,v,"\u21B6","\\curvearrowleft",!0),x(F,Be,v,"\u21BA","\\circlearrowleft",!0),x(F,Be,v,"\u21B0","\\Lsh",!0),x(F,Be,v,"\u21C8","\\upuparrows",!0),x(F,Be,v,"\u21BF","\\upharpoonleft",!0),x(F,Be,v,"\u21C3","\\downharpoonleft",!0),x(F,Be,v,"\u22B8","\\multimap",!0),x(F,Be,v,"\u21AD","\\leftrightsquigarrow",!0),x(F,Be,v,"\u21C9","\\rightrightarrows",!0),x(F,Be,v,"\u21C4","\\rightleftarrows",!0),x(F,Be,v,"\u21A0","\\twoheadrightarrow",!0),x(F,Be,v,"\u21A3","\\rightarrowtail",!0),x(F,Be,v,"\u21AC","\\looparrowright",!0),x(F,Be,v,"\u21B7","\\curvearrowright",!0),x(F,Be,v,"\u21BB","\\circlearrowright",!0),x(F,Be,v,"\u21B1","\\Rsh",!0),x(F,Be,v,"\u21CA","\\downdownarrows",!0),x(F,Be,v,"\u21BE","\\upharpoonright",!0),x(F,Be,v,"\u21C2","\\downharpoonright",!0),x(F,Be,v,"\u21DD","\\rightsquigarrow",!0),x(F,Be,v,"\u21DD","\\leadsto"),x(F,Be,v,"\u21DB","\\Rrightarrow",!0),x(F,Be,v,"\u21BE","\\restriction"),x(F,oe,$,"\u2018","`"),x(F,oe,$,"$","\\$"),x(wt,oe,$,"$","\\$"),x(wt,oe,$,"$","\\textdollar"),x(F,oe,$,"%","\\%"),x(wt,oe,$,"%","\\%"),x(F,oe,$,"_","\\_"),x(wt,oe,$,"_","\\_"),x(wt,oe,$,"_","\\textunderscore"),x(F,oe,$,"\u2220","\\angle",!0),x(F,oe,$,"\u221E","\\infty",!0),x(F,oe,$,"\u2032","\\prime"),x(F,oe,$,"\u25B3","\\triangle"),x(F,oe,$,"\u0393","\\Gamma",!0),x(F,oe,$,"\u0394","\\Delta",!0),x(F,oe,$,"\u0398","\\Theta",!0),x(F,oe,$,"\u039B","\\Lambda",!0),x(F,oe,$,"\u039E","\\Xi",!0),x(F,oe,$,"\u03A0","\\Pi",!0),x(F,oe,$,"\u03A3","\\Sigma",!0),x(F,oe,$,"\u03A5","\\Upsilon",!0),x(F,oe,$,"\u03A6","\\Phi",!0),x(F,oe,$,"\u03A8","\\Psi",!0),x(F,oe,$,"\u03A9","\\Omega",!0),x(F,oe,$,"A","\u0391"),x(F,oe,$,"B","\u0392"),x(F,oe,$,"E","\u0395"),x(F,oe,$,"Z","\u0396"),x(F,oe,$,"H","\u0397"),x(F,oe,$,"I","\u0399"),x(F,oe,$,"K","\u039A"),x(F,oe,$,"M","\u039C"),x(F,oe,$,"N","\u039D"),x(F,oe,$,"O","\u039F"),x(F,oe,$,"P","\u03A1"),x(F,oe,$,"T","\u03A4"),x(F,oe,$,"X","\u03A7"),x(F,oe,$,"\xAC","\\neg",!0),x(F,oe,$,"\xAC","\\lnot"),x(F,oe,$,"\u22A4","\\top"),x(F,oe,$,"\u22A5","\\bot"),x(F,oe,$,"\u2205","\\emptyset"),x(F,Be,$,"\u2205","\\varnothing"),x(F,oe,Rt,"\u03B1","\\alpha",!0),x(F,oe,Rt,"\u03B2","\\beta",!0),x(F,oe,Rt,"\u03B3","\\gamma",!0),x(F,oe,Rt,"\u03B4","\\delta",!0),x(F,oe,Rt,"\u03F5","\\epsilon",!0),x(F,oe,Rt,"\u03B6","\\zeta",!0),x(F,oe,Rt,"\u03B7","\\eta",!0),x(F,oe,Rt,"\u03B8","\\theta",!0),x(F,oe,Rt,"\u03B9","\\iota",!0),x(F,oe,Rt,"\u03BA","\\kappa",!0),x(F,oe,Rt,"\u03BB","\\lambda",!0),x(F,oe,Rt,"\u03BC","\\mu",!0),x(F,oe,Rt,"\u03BD","\\nu",!0),x(F,oe,Rt,"\u03BE","\\xi",!0),x(F,oe,Rt,"\u03BF","\\omicron",!0),x(F,oe,Rt,"\u03C0","\\pi",!0),x(F,oe,Rt,"\u03C1","\\rho",!0),x(F,oe,Rt,"\u03C3","\\sigma",!0),x(F,oe,Rt,"\u03C4","\\tau",!0),x(F,oe,Rt,"\u03C5","\\upsilon",!0),x(F,oe,Rt,"\u03D5","\\phi",!0),x(F,oe,Rt,"\u03C7","\\chi",!0),x(F,oe,Rt,"\u03C8","\\psi",!0),x(F,oe,Rt,"\u03C9","\\omega",!0),x(F,oe,Rt,"\u03B5","\\varepsilon",!0),x(F,oe,Rt,"\u03D1","\\vartheta",!0),x(F,oe,Rt,"\u03D6","\\varpi",!0),x(F,oe,Rt,"\u03F1","\\varrho",!0),x(F,oe,Rt,"\u03C2","\\varsigma",!0),x(F,oe,Rt,"\u03C6","\\varphi",!0),x(F,oe,Br,"\u2217","*"),x(F,oe,Br,"+","+"),x(F,oe,Br,"\u2212","-"),x(F,oe,Br,"\u22C5","\\cdot",!0),x(F,oe,Br,"\u2218","\\circ"),x(F,oe,Br,"\xF7","\\div",!0),x(F,oe,Br,"\xB1","\\pm",!0),x(F,oe,Br,"\xD7","\\times",!0),x(F,oe,Br,"\u2229","\\cap",!0),x(F,oe,Br,"\u222A","\\cup",!0),x(F,oe,Br,"\u2216","\\setminus"),x(F,oe,Br,"\u2227","\\land"),x(F,oe,Br,"\u2228","\\lor"),x(F,oe,Br,"\u2227","\\wedge",!0),x(F,oe,Br,"\u2228","\\vee",!0),x(F,oe,$,"\u221A","\\surd"),x(F,oe,sr,"(","("),x(F,oe,sr,"[","["),x(F,oe,sr,"\u27E8","\\langle",!0),x(F,oe,sr,"\u2223","\\lvert"),x(F,oe,sr,"\u2225","\\lVert"),x(F,oe,wn,")",")"),x(F,oe,wn,"]","]"),x(F,oe,wn,"?","?"),x(F,oe,wn,"!","!"),x(F,oe,wn,"\u27E9","\\rangle",!0),x(F,oe,wn,"\u2223","\\rvert"),x(F,oe,wn,"\u2225","\\rVert"),x(F,oe,v,"=","="),x(F,oe,v,"<","<"),x(F,oe,v,">",">"),x(F,oe,v,":",":"),x(F,oe,v,"\u2248","\\approx",!0),x(F,oe,v,"\u2245","\\cong",!0),x(F,oe,v,"\u2265","\\ge"),x(F,oe,v,"\u2265","\\geq",!0),x(F,oe,v,"\u2190","\\gets"),x(F,oe,v,">","\\gt"),x(F,oe,v,"\u2208","\\in",!0),x(F,oe,v,"\uE020","\\@not"),x(F,oe,v,"\u2282","\\subset",!0),x(F,oe,v,"\u2283","\\supset",!0),x(F,oe,v,"\u2286","\\subseteq",!0),x(F,oe,v,"\u2287","\\supseteq",!0),x(F,Be,v,"\u2288","\\nsubseteq",!0),x(F,Be,v,"\u2289","\\nsupseteq",!0),x(F,oe,v,"\u22A8","\\models"),x(F,oe,v,"\u2190","\\leftarrow",!0),x(F,oe,v,"\u2264","\\le"),x(F,oe,v,"\u2264","\\leq",!0),x(F,oe,v,"<","\\lt"),x(F,oe,v,"\u2192","\\rightarrow",!0),x(F,oe,v,"\u2192","\\to"),x(F,Be,v,"\u2271","\\ngeq",!0),x(F,Be,v,"\u2270","\\nleq",!0),x(F,oe,Gt,"\xA0","\\ "),x(F,oe,Gt,"\xA0","~"),x(F,oe,Gt,"\xA0","\\space"),x(F,oe,Gt,"\xA0","\\nobreakspace"),x(wt,oe,Gt,"\xA0","\\ "),x(wt,oe,Gt,"\xA0","~"),x(wt,oe,Gt,"\xA0","\\space"),x(wt,oe,Gt,"\xA0","\\nobreakspace"),x(F,oe,Gt,null,"\\nobreak"),x(F,oe,Gt,null,"\\allowbreak"),x(F,oe,S,",",","),x(F,oe,S,";",";"),x(F,Be,Br,"\u22BC","\\barwedge",!0),x(F,Be,Br,"\u22BB","\\veebar",!0),x(F,oe,Br,"\u2299","\\odot",!0),x(F,oe,Br,"\u2295","\\oplus",!0),x(F,oe,Br,"\u2297","\\otimes",!0),x(F,oe,$,"\u2202","\\partial",!0),x(F,oe,Br,"\u2298","\\oslash",!0),x(F,Be,Br,"\u229A","\\circledcirc",!0),x(F,Be,Br,"\u22A1","\\boxdot",!0),x(F,oe,Br,"\u25B3","\\bigtriangleup"),x(F,oe,Br,"\u25BD","\\bigtriangledown"),x(F,oe,Br,"\u2020","\\dagger"),x(F,oe,Br,"\u22C4","\\diamond"),x(F,oe,Br,"\u22C6","\\star"),x(F,oe,Br,"\u25C3","\\triangleleft"),x(F,oe,Br,"\u25B9","\\triangleright"),x(F,oe,sr,"{","\\{"),x(wt,oe,$,"{","\\{"),x(wt,oe,$,"{","\\textbraceleft"),x(F,oe,wn,"}","\\}"),x(wt,oe,$,"}","\\}"),x(wt,oe,$,"}","\\textbraceright"),x(F,oe,sr,"{","\\lbrace"),x(F,oe,wn,"}","\\rbrace"),x(F,oe,sr,"[","\\lbrack"),x(wt,oe,$,"[","\\lbrack"),x(F,oe,wn,"]","\\rbrack"),x(wt,oe,$,"]","\\rbrack"),x(F,oe,sr,"(","\\lparen"),x(F,oe,wn,")","\\rparen"),x(wt,oe,$,"<","\\textless"),x(wt,oe,$,">","\\textgreater"),x(F,oe,sr,"\u230A","\\lfloor",!0),x(F,oe,wn,"\u230B","\\rfloor",!0),x(F,oe,sr,"\u2308","\\lceil",!0),x(F,oe,wn,"\u2309","\\rceil",!0),x(F,oe,$,"\\","\\backslash"),x(F,oe,$,"\u2223","|"),x(F,oe,$,"\u2223","\\vert"),x(wt,oe,$,"|","\\textbar"),x(F,oe,$,"\u2225","\\|"),x(F,oe,$,"\u2225","\\Vert"),x(wt,oe,$,"\u2225","\\textbardbl"),x(wt,oe,$,"~","\\textasciitilde"),x(wt,oe,$,"\\","\\textbackslash"),x(wt,oe,$,"^","\\textasciicircum"),x(F,oe,v,"\u2191","\\uparrow",!0),x(F,oe,v,"\u21D1","\\Uparrow",!0),x(F,oe,v,"\u2193","\\downarrow",!0),x(F,oe,v,"\u21D3","\\Downarrow",!0),x(F,oe,v,"\u2195","\\updownarrow",!0),x(F,oe,v,"\u21D5","\\Updownarrow",!0),x(F,oe,Sr,"\u2210","\\coprod"),x(F,oe,Sr,"\u22C1","\\bigvee"),x(F,oe,Sr,"\u22C0","\\bigwedge"),x(F,oe,Sr,"\u2A04","\\biguplus"),x(F,oe,Sr,"\u22C2","\\bigcap"),x(F,oe,Sr,"\u22C3","\\bigcup"),x(F,oe,Sr,"\u222B","\\int"),x(F,oe,Sr,"\u222B","\\intop"),x(F,oe,Sr,"\u222C","\\iint"),x(F,oe,Sr,"\u222D","\\iiint"),x(F,oe,Sr,"\u220F","\\prod"),x(F,oe,Sr,"\u2211","\\sum"),x(F,oe,Sr,"\u2A02","\\bigotimes"),x(F,oe,Sr,"\u2A01","\\bigoplus"),x(F,oe,Sr,"\u2A00","\\bigodot"),x(F,oe,Sr,"\u222E","\\oint"),x(F,oe,Sr,"\u222F","\\oiint"),x(F,oe,Sr,"\u2230","\\oiiint"),x(F,oe,Sr,"\u2A06","\\bigsqcup"),x(F,oe,Sr,"\u222B","\\smallint"),x(wt,oe,Fn,"\u2026","\\textellipsis"),x(F,oe,Fn,"\u2026","\\mathellipsis"),x(wt,oe,Fn,"\u2026","\\ldots",!0),x(F,oe,Fn,"\u2026","\\ldots",!0),x(F,oe,Fn,"\u22EF","\\@cdots",!0),x(F,oe,Fn,"\u22F1","\\ddots",!0),x(F,oe,$,"\u22EE","\\varvdots"),x(F,oe,kr,"\u02CA","\\acute"),x(F,oe,kr,"\u02CB","\\grave"),x(F,oe,kr,"\xA8","\\ddot"),x(F,oe,kr,"~","\\tilde"),x(F,oe,kr,"\u02C9","\\bar"),x(F,oe,kr,"\u02D8","\\breve"),x(F,oe,kr,"\u02C7","\\check"),x(F,oe,kr,"^","\\hat"),x(F,oe,kr,"\u20D7","\\vec"),x(F,oe,kr,"\u02D9","\\dot"),x(F,oe,kr,"\u02DA","\\mathring"),x(F,oe,Rt,"\u0131","\\imath",!0),x(F,oe,Rt,"\u0237","\\jmath",!0),x(wt,oe,$,"\u0131","\\i",!0),x(wt,oe,$,"\u0237","\\j",!0),x(wt,oe,$,"\xDF","\\ss",!0),x(wt,oe,$,"\xE6","\\ae",!0),x(wt,oe,$,"\xE6","\\ae",!0),x(wt,oe,$,"\u0153","\\oe",!0),x(wt,oe,$,"\xF8","\\o",!0),x(wt,oe,$,"\xC6","\\AE",!0),x(wt,oe,$,"\u0152","\\OE",!0),x(wt,oe,$,"\xD8","\\O",!0),x(wt,oe,kr,"\u02CA","\\'"),x(wt,oe,kr,"\u02CB","\\`"),x(wt,oe,kr,"\u02C6","\\^"),x(wt,oe,kr,"\u02DC","\\~"),x(wt,oe,kr,"\u02C9","\\="),x(wt,oe,kr,"\u02D8","\\u"),x(wt,oe,kr,"\u02D9","\\."),x(wt,oe,kr,"\u02DA","\\r"),x(wt,oe,kr,"\u02C7","\\v"),x(wt,oe,kr,"\xA8",'\\"'),x(wt,oe,kr,"\u02DD","\\H"),x(wt,oe,kr,"\u25EF","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};x(wt,oe,$,"\u2013","--"),x(wt,oe,$,"\u2013","\\textendash"),x(wt,oe,$,"\u2014","---"),x(wt,oe,$,"\u2014","\\textemdash"),x(wt,oe,$,"\u2018","`"),x(wt,oe,$,"\u2018","\\textquoteleft"),x(wt,oe,$,"\u2019","'"),x(wt,oe,$,"\u2019","\\textquoteright"),x(wt,oe,$,"\u201C","``"),x(wt,oe,$,"\u201C","\\textquotedblleft"),x(wt,oe,$,"\u201D","''"),x(wt,oe,$,"\u201D","\\textquotedblright"),x(F,oe,$,"\xB0","\\degree",!0),x(wt,oe,$,"\xB0","\\degree"),x(wt,oe,$,"\xB0","\\textdegree",!0),x(F,oe,Rt,"\xA3","\\pounds"),x(F,oe,Rt,"\xA3","\\mathsterling",!0),x(wt,oe,Rt,"\xA3","\\pounds"),x(wt,oe,Rt,"\xA3","\\textsterling",!0),x(F,Be,$,"\u2720","\\maltese"),x(wt,Be,$,"\u2720","\\maltese"),x(wt,oe,Gt,"\xA0","\\ "),x(wt,oe,Gt,"\xA0"," "),x(wt,oe,Gt,"\xA0","~");for(var Cn='0123456789/@."',Zr=0;Zr<Cn.length;Zr++){var Ht=Cn.charAt(Zr);x(F,oe,$,Ht,Ht)}for(var Vt='0123456789!@*()-=+[]<>|";:?/.,',br=0;br<Vt.length;br++){var Kr=Vt.charAt(br);x(wt,oe,$,Kr,Kr)}for(var an="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",An=0;An<an.length;An++){var St=an.charAt(An);x(F,oe,Rt,St,St),x(wt,oe,$,St,St)}x(F,Be,$,"C","\u2102"),x(wt,Be,$,"C","\u2102"),x(F,Be,$,"H","\u210D"),x(wt,Be,$,"H","\u210D"),x(F,Be,$,"N","\u2115"),x(wt,Be,$,"N","\u2115"),x(F,Be,$,"P","\u2119"),x(wt,Be,$,"P","\u2119"),x(F,Be,$,"Q","\u211A"),x(wt,Be,$,"Q","\u211A"),x(F,Be,$,"R","\u211D"),x(wt,Be,$,"R","\u211D"),x(F,Be,$,"Z","\u2124"),x(wt,Be,$,"Z","\u2124"),x(F,oe,Rt,"h","\u210E"),x(wt,oe,Rt,"h","\u210E");for(var Bt="",We=0;We<an.length;We++){var jr=an.charAt(We);Bt=String.fromCharCode(55349,56320+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56372+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56424+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56580+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56736+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56788+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56840+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56944+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),We<26&&(Bt=String.fromCharCode(55349,56632+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt),Bt=String.fromCharCode(55349,56476+We),x(F,oe,Rt,jr,Bt),x(wt,oe,$,jr,Bt))}Bt="\u{1D55C}",x(F,oe,Rt,"k",Bt),x(wt,oe,$,"k",Bt);for(var $r=0;$r<10;$r++){var Gr=$r.toString();Bt=String.fromCharCode(55349,57294+$r),x(F,oe,Rt,Gr,Bt),x(wt,oe,$,Gr,Bt),Bt=String.fromCharCode(55349,57314+$r),x(F,oe,Rt,Gr,Bt),x(wt,oe,$,Gr,Bt),Bt=String.fromCharCode(55349,57324+$r),x(F,oe,Rt,Gr,Bt),x(wt,oe,$,Gr,Bt),Bt=String.fromCharCode(55349,57334+$r),x(F,oe,Rt,Gr,Bt),x(wt,oe,$,Gr,Bt)}for(var Sn="\xC7\xD0\xDE\xE7\xFE",na=0;na<Sn.length;na++){var mt=Sn.charAt(na);x(F,oe,Rt,mt,mt),x(wt,oe,$,mt,mt)}x(wt,oe,$,"\xF0","\xF0"),x(wt,oe,$,"\u2013","\u2013"),x(wt,oe,$,"\u2014","\u2014"),x(wt,oe,$,"\u2018","\u2018"),x(wt,oe,$,"\u2019","\u2019"),x(wt,oe,$,"\u201C","\u201C"),x(wt,oe,$,"\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"]],lr=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],or=function(r,a){var l=r.charCodeAt(0),g=r.charCodeAt(1),R=(l-55296)*1024+(g-56320)+65536,se=a==="math"?0:1;if(119808<=R&&R<120484){var De=Math.floor((R-119808)/26);return[rr[De][2],rr[De][se]]}else if(120782<=R&&R<=120831){var Je=Math.floor((R-120782)/10);return[lr[Je][2],lr[Je][se]]}else{if(R===120485||R===120486)return[rr[0][2],rr[0][se]];if(120486<R&&R<120782)return["",""];throw new Q("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]},Tr=function(){function te(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||te.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=te.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 R in l)l.hasOwnProperty(R)&&(g[R]=l[R]);return new te(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(te.BASESIZE,l);return this.size===g&&this.textSize===te.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!==te.BASESIZE?["sizing","reset-size"+this.size,"size"+te.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=mr(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},te}();Tr.BASESIZE=6;var mn=Tr,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"},bn=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 Q("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:ht(r,a,l)}},nn=function(r,a,l,g,R){var se=ua(r,a,l),De=se.metrics;r=se.value;var Je;if(De){var It=De.italic;(l==="text"||g&&g.font==="mathit")&&(It=0),Je=new Ne(r,De.height,De.depth,It,De.skew,De.width,R)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+r+"' in style '"+a+"' and mode '"+l+"'")),Je=new Ne(r,0,0,0,0,0,R);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))||w.contains(zn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Ea=function(r,a,l,g){return w.contains(zn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},Dn=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,R=r.text,se=["mord"],De=g==="math"||g==="text"&&a.font,Je=De?a.font:a.fontFamily;if(R.charCodeAt(0)===55349){var It=or(R,g),ar=It[0],pr=It[1];return nn(R,ar,g,a,se.concat(pr))}else if(Je){var Wr,Qr;if(Je==="boldsymbol"||Je==="mathnormal"){var dn=Je==="boldsymbol"?Dn(R,g,a,se):Ea(R,g,a,se);Wr=dn.fontName,Qr=[dn.fontClass]}else w.contains(zn,R)?(Wr="Main-Italic",Qr=["mathit"]):De?(Wr=p[Je].fontName,Qr=[Je]):(Wr=s(Je,a.fontWeight,a.fontShape),Qr=[Je,a.fontWeight,a.fontShape]);if(ua(R,Wr,g).metrics)return nn(R,Wr,g,a,se.concat(Qr));if(Ae.hasOwnProperty(R)&&Wr.substr(0,10)==="Typewriter"){for(var In=[],Gn=0;Gn<R.length;Gn++)In.push(nn(R[Gn],Wr,g,a,se.concat(Qr)));return Ma(In)}}if(l==="mathord"){var Oa=kn(R,g,a,se);return nn(R,Oa.fontName,g,a,se.concat([Oa.fontClass]))}else if(l==="textord"){var u=Pr[g][R]&&Pr[g][R].font;if(u==="ams"){var e=s("amsrm",a.fontWeight,a.fontShape);return nn(R,e,g,a,se.concat("amsrm",a.fontWeight,a.fontShape))}else if(u==="main"||!u){var t=s("textrm",a.fontWeight,a.fontShape);return nn(R,t,g,a,se.concat(a.fontWeight,a.fontShape))}else{var h=s(u,a.fontWeight,a.fontShape);return nn(R,h,g,a,se.concat(h,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+l+" in makeOrd")},Kn=function(r,a){if(N(r.classes)!==N(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 Ne&&g instanceof Ne&&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,R=0;R<r.children.length;R++){var se=r.children[R];se.height>a&&(a=se.height),se.depth>l&&(l=se.depth),se.maxFontSize>g&&(g=se.maxFontSize)}r.height=a,r.depth=l,r.maxFontSize=g},On=function(r,a,l,g){var R=new fe(r,a,l,g);return Jn(R),R},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 R=new me(r,a,l,g);return Jn(R),R},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,R=g,se=1;se<a.length;se++){var De=-a[se].shift-R-a[se].elem.depth,Je=De-(a[se-1].elem.height+a[se-1].elem.depth);R=R+De,l.push({type:"kern",size:Je}),l.push(a[se])}return{children:l,depth:g}}var It;if(r.positionType==="top"){for(var ar=r.positionData,pr=0;pr<r.children.length;pr++){var Wr=r.children[pr];ar-=Wr.type==="kern"?Wr.size:Wr.elem.height+Wr.elem.depth}It=ar}else if(r.positionType==="bottom")It=-r.positionData;else{var Qr=r.children[0];if(Qr.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")It=-Qr.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")It=-Qr.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:It}},oo=function(r,a){for(var l=ro(r),g=l.children,R=l.depth,se=0,De=0;De<g.length;De++){var Je=g[De];if(Je.type==="elem"){var It=Je.elem;se=Math.max(se,It.maxFontSize,It.height)}}se+=2;var ar=On(["pstrut"],[]);ar.style.height=se+"em";for(var pr=[],Wr=R,Qr=R,dn=R,In=0;In<g.length;In++){var Gn=g[In];if(Gn.type==="kern")dn+=Gn.size;else{var Oa=Gn.elem,u=Gn.wrapperClasses||[],e=Gn.wrapperStyle||{},t=On(u,[ar,Oa],void 0,e);t.style.top=-se-dn-Oa.depth+"em",Gn.marginLeft&&(t.style.marginLeft=Gn.marginLeft),Gn.marginRight&&(t.style.marginRight=Gn.marginRight),pr.push(t),dn+=Oa.height+Oa.depth}Wr=Math.min(Wr,dn),Qr=Math.max(Qr,dn)}var h=On(["vlist"],pr);h.style.height=Qr+"em";var C;if(Wr<0){var G=On([],[]),ye=On(["vlist"],[G]);ye.style.height=-Wr+"em";var Ue=On(["vlist-s"],[new Ne("\u200B")]);C=[On(["vlist-r"],[h,Ue]),On(["vlist-r"],[ye])]}else C=[On(["vlist-r"],[h])];var qe=On(["vlist-t"],C);return C.length===2&&qe.classes.push("vlist-t2"),qe.height=Qr,qe.depth=-Wr,qe},f=function(r,a){var l=On(["mspace"],[],a),g=bn(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 R;return a==="textbf"&&l==="textit"?R="BoldItalic":a==="textbf"?R="Bold":a==="textit"?R="Italic":R="Regular",g+"-"+R},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]},P=function(r,a){var l=b[r],g=l[0],R=l[1],se=l[2],De=new pt(g),Je=new Ye([De],{width:R+"em",height:se+"em",style:"width:"+R+"em",viewBox:"0 0 "+1e3*R+" "+1e3*se,preserveAspectRatio:"xMinYMin"}),It=Bn(["overlay"],[Je],a);return It.height=se,It.style.height=se+"em",It.style.width=R+"em",It},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:P,svgData:b,tryCombineChars:Zn};function ne(te,r){var a=Z(te,r);if(!a)throw new Error("Expected node of type "+r+", but got "+(te?"node of type "+te.type:String(te)));return a}function Z(te,r){return te&&te.type===r?te:null}function ee(te,r){var a=Ie(te,r);if(!a)throw new Error('Expected node of type "atom" and family "'+r+'", but got '+(te?te.type==="atom"?"atom of family "+te.family:"node of type "+te.type:String(te)));return a}function Ie(te,r){return te&&te.type==="atom"&&te.family===r?te:null}function ot(te){var r=Pt(te);if(!r)throw new Error("Expected node of symbol group type, but got "+(te?"node of type "+te.type:String(te)));return r}function Pt(te){return te&&(te.type==="atom"||Ir.hasOwnProperty(te.type))?te:null}var Et={number:3,unit:"mu"},ge={number:4,unit:"mu"},nt={number:5,unit:"mu"},gt={mord:{mop:Et,mbin:ge,mrel:nt,minner:Et},mop:{mord:Et,mop:Et,mrel:nt,minner:Et},mbin:{mord:ge,mop:ge,mopen:ge,minner:ge},mrel:{mord:nt,mop:nt,mopen:nt,minner:nt},mopen:{},mclose:{mop:Et,mbin:ge,mrel:nt,minner:Et},mpunct:{mord:Et,mop:Et,mrel:nt,mopen:Et,mclose:Et,mpunct:Et,minner:Et},minner:{mord:Et,mop:Et,mbin:ge,mrel:nt,mopen:Et,mpunct:Et,minner:Et}},Kt={mord:{mop:Et},mop:{mord:Et,mop:Et},mbin:{},mrel:{},mopen:{},mclose:{mop:Et},mpunct:{},minner:{mop:Et}},ct={},cr={},Cr={};function Qt(te){for(var r=te.type,a=te.names,l=te.props,g=te.handler,R=te.htmlBuilder,se=te.mathmlBuilder,De={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]]=De;r&&(R&&(cr[r]=R),se&&(Cr[r]=se))}function tt(te){var r=te.type,a=te.htmlBuilder,l=te.mathmlBuilder;Qt({type:r,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:a,mathmlBuilder:l})}var Se=function(r){var a=Z(r,"ordgroup");return a?a.body:[r]},kt=d.makeSpan,Ft=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ct=["rightmost","mrel","mclose","mpunct"],Jt={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT},ke={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Te=function(r,a,l,g){g===void 0&&(g=[null,null]);for(var R=[],se=0;se<r.length;se++){var De=Mt(r[se],a);if(De instanceof Re){var Je=De.children;R.push.apply(R,Je)}else R.push(De)}if(!l)return R;var It=a;if(r.length===1){var ar=Z(r[0],"sizing")||Z(r[0],"styling");ar&&(ar.type==="sizing"?It=a.havingSize(ar.size):ar.type==="styling"&&(It=a.havingStyle(Jt[ar.style])))}var pr=kt([g[0]||"leftmost"],[],a),Wr=kt([g[1]||"rightmost"],[],a);return lt(R,function(Qr,dn){var In=dn.classes[0],Gn=Qr.classes[0];In==="mbin"&&w.contains(Ct,Gn)?dn.classes[0]="mord":Gn==="mbin"&&w.contains(Ft,In)&&(Qr.classes[0]="mord")},{node:pr},Wr),lt(R,function(Qr,dn){var In=vr(dn),Gn=vr(Qr),Oa=In&&Gn?Qr.hasClass("mtight")?Kt[In][Gn]:gt[In][Gn]:null;if(Oa)return d.makeGlue(Oa,It)},{node:pr},Wr),R},lt=function te(r,a,l,g){g&&r.push(g);for(var R=0;R<r.length;R++){var se=r[R],De=Ot(se);if(De){te(De.children,a,l);continue}if(se.classes[0]!=="mspace"){var Je=a(se,l.node);Je&&(l.insertAfter?l.insertAfter(Je):(r.unshift(Je),R++)),l.node=se,l.insertAfter=function(It){return function(ar){r.splice(It+1,0,ar),R++}}(R)}}g&&r.pop()},Ot=function(r){return r instanceof Re||r instanceof me?r:null},dr=function te(r,a){var l=Ot(r);if(l){var g=l.children;if(g.length){if(a==="right")return te(g[g.length-1],"right");if(a==="left")return te(g[0],"left")}}return r},vr=function(r,a){return r?(a&&(r=dr(r,a)),ke[r.classes[0]]||null):null},Zt=function(r,a){var l=["nulldelimiter"].concat(r.baseSizingClasses());return kt(a.concat(l))},Mt=function(r,a,l){if(!r)return kt();if(cr[r.type]){var g=cr[r.type](r,a);if(l&&a.size!==l.size){g=kt(a.sizingClasses(l),[g],a);var R=a.sizeMultiplier/l.sizeMultiplier;g.height*=R,g.depth*=R}return g}else throw new Q("Got group of unknown type: '"+r.type+"'")};function ur(te,r){var a=kt(["base"],te,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(te,r){var a=null;te.length===1&&te[0].type==="tag"&&(a=te[0].tag,te=te[0].body);for(var l=Te(te,r,!0),g=[],R=[],se=0;se<l.length;se++)if(R.push(l[se]),l[se].hasClass("mbin")||l[se].hasClass("mrel")||l[se].hasClass("allowbreak")){for(var De=!1;se<l.length-1&&l[se+1].hasClass("mspace")&&!l[se+1].hasClass("newline");)se++,R.push(l[se]),l[se].hasClass("nobreak")&&(De=!0);De||(g.push(ur(R,r)),R=[])}else l[se].hasClass("newline")&&(R.pop(),R.length>0&&(g.push(ur(R,r)),R=[]),g.push(l[se]));R.length>0&&g.push(ur(R,r));var Je;a&&(Je=ur(Te(a,r,!0)),Je.classes=["tag"],g.push(Je));var It=kt(["katex-html"],g);if(It.setAttribute("aria-hidden","true"),Je){var ar=Je.children[0];ar.style.height=It.height+It.depth+"em",ar.style.verticalAlign=-It.depth+"em"}return It}function xr(te){return new Re(te)}var je=function(){function te(a,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=a,this.attributes={},this.children=l||[]}var r=te.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 R=0;R<this.children.length;R++)l.appendChild(this.children[R].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+=w.escape(this.attributes[g]),l+='"');l+=">";for(var R=0;R<this.children.length;R++)l+=this.children[R].toMarkup();return l+="</"+this.type+">",l},r.toText=function(){return this.children.map(function(l){return l.toText()}).join("")},te}(),vt=function(){function te(a){this.text=void 0,this.text=a}var r=te.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return w.escape(this.toText())},r.toText=function(){return this.text},te}(),jt=function(){function te(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=te.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:" "},te}(),it={MathNode:je,TextNode:vt,SpaceNode:jt,newDocumentFragment:xr},qt=function(r,a,l){return Pr[a][r]&&Pr[a][r].replace&&r.charCodeAt(0)!==55349&&!(Ae.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 it.TextNode(r)},nr=function(r){return r.length===1?r[0]:new it.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 R=r.text;if(w.contains(["\\imath","\\jmath"],R))return null;Pr[g][R]&&Pr[g][R].replace&&(R=Pr[g][R].replace);var se=d.fontMap[l].fontName;return ht(R,se,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 R=[],se,De=0;De<r.length;De++){var Je=Hr(r[De],a);if(Je instanceof je&&se instanceof je){if(Je.type==="mtext"&&se.type==="mtext"&&Je.getAttribute("mathvariant")===se.getAttribute("mathvariant")){var It;(It=se.children).push.apply(It,Je.children);continue}else if(Je.type==="mn"&&se.type==="mn"){var ar;(ar=se.children).push.apply(ar,Je.children);continue}else if(Je.type==="mi"&&Je.children.length===1&&se.type==="mn"){var pr=Je.children[0];if(pr instanceof vt&&pr.text==="."){var Wr;(Wr=se.children).push.apply(Wr,Je.children);continue}}else if(se.type==="mi"&&se.children.length===1){var Qr=se.children[0];if(Qr instanceof vt&&Qr.text==="\u0338"&&(Je.type==="mo"||Je.type==="mi"||Je.type==="mn")){var dn=Je.children[0];dn instanceof vt&&dn.text.length>0&&(dn.text=dn.text.slice(0,1)+"\u0338"+dn.text.slice(1),R.pop())}}}R.push(Je),se=Je}return R},Rr=function(r,a,l){return nr(Ar(r,a,l))},Hr=function(r,a){if(!r)return new it.MathNode("mrow");if(Cr[r.type]){var l=Cr[r.type](r,a);return l}else throw new Q("Got group of unknown type: '"+r.type+"'")};function ln(te,r,a,l){var g=Ar(te,a),R;g.length===1&&g[0]instanceof je&&w.contains(["mrow","mtable"],g[0].type)?R=g[0]:R=new it.MathNode("mrow",g);var se=new it.MathNode("annotation",[new it.TextNode(r)]);se.setAttribute("encoding","application/x-tex");var De=new it.MathNode("semantics",[R,se]),Je=new it.MathNode("math",[De]);Je.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var It=l?"katex":"katex-mathml";return d.makeSpan([It],[Je])}var yn=function(r){return new mn({style:r.displayMode?B.DISPLAY:B.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},Nt=function(r,a,l){var g=yn(l),R;if(l.output==="mathml")return ln(r,a,g,!0);if(l.output==="html"){var se=Yt(r,g);R=d.makeSpan(["katex"],[se])}else{var De=ln(r,a,g,!1),Je=Yt(r,g);R=d.makeSpan(["katex"],[De,Je])}return Lr(R,l)},ba=function(r,a,l){var g=yn(l),R=Yt(r,g),se=d.makeSpan(["katex"],[R]);return Lr(se,l)},da=Nt,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 it.MathNode("mo",[new it.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,It=r.label.substr(1);if(w.contains(["widehat","widecheck","widetilde","utilde"],It)){var ar=r,pr=En(ar.base),Wr,Qr,dn;if(pr>5)It==="widehat"||It==="widecheck"?(Wr=420,Je=2364,dn=.42,Qr=It+"4"):(Wr=312,Je=2340,dn=.34,Qr="tilde4");else{var In=[1,1,2,2,3,3][pr];It==="widehat"||It==="widecheck"?(Je=[0,1062,2364,2364,2364][In],Wr=[0,239,300,360,420][In],dn=[0,.24,.3,.3,.36,.42][In],Qr=It+In):(Je=[0,600,1033,2339,2340][In],Wr=[0,260,286,306,312][In],dn=[0,.26,.286,.3,.306,.34][In],Qr="tilde"+In)}var Gn=new pt(Qr),Oa=new Ye([Gn],{width:"100%",height:dn+"em",viewBox:"0 0 "+Je+" "+Wr,preserveAspectRatio:"none"});return{span:d.makeSvgSpan([],[Oa],a),minWidth:0,height:dn}}else{var u=[],e=Vr[It],t=e[0],h=e[1],C=e[2],G=C/1e3,ye=t.length,Ue,qe;if(ye===1){var Wt=e[3];Ue=["hide-tail"],qe=[Wt]}else if(ye===2)Ue=["halfarrow-left","halfarrow-right"],qe=["xMinYMin","xMaxYMin"];else if(ye===3)Ue=["brace-left","brace-center","brace-right"],qe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+ye+" children.");for(var ir=0;ir<ye;ir++){var yr=new pt(t[ir]),Ur=new Ye([yr],{width:"400em",height:G+"em",viewBox:"0 0 "+Je+" "+C,preserveAspectRatio:qe[ir]+" slice"}),Fr=d.makeSvgSpan([Ue[ir]],[Ur],a);if(ye===1)return{span:Fr,minWidth:h,height:G};Fr.style.height=G+"em",u.push(Fr)}return{span:d.makeSpan(["stretchy"],u,a),minWidth:h,height:G}}}var g=l(),R=g.span,se=g.minWidth,De=g.height;return R.height=De,R.style.height=De+"em",se>0&&(R.style.minWidth=se+"em"),R},_n=function(r,a,l,g){var R,se=r.height+r.depth+2*l;if(/fbox|color/.test(a)){if(R=d.makeSpan(["stretchy",a],[],g),a==="fbox"){var De=g.color&&g.getColor();De&&(R.style.borderColor=De)}}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 It=new Ye(Je,{width:"100%",height:se+"em"});R=d.makeSvgSpan([],[It],g)}return R.height=se,R.style.height=se+"em",R},xa={encloseSpan:_n,mathMLnode:Jr,svgSpan:oa},qn=function(r,a){var l,g,R=Z(r,"supsub"),se;R?(g=ne(R.base,"accent"),l=g.base,R.base=l,se=Ut(Mt(R,a)),R.base=g):(g=ne(r,"accent"),l=g.base);var De=Mt(l,a.havingCrampedStyle()),Je=g.isShifty&&w.isCharacterBox(l),It=0;if(Je){var ar=w.getBaseElem(l),pr=Mt(ar,a.havingCrampedStyle());It=Xt(pr).skew}var Wr=Math.min(De.height,a.fontMetrics().xHeight),Qr;if(g.isStretchy)Qr=xa.svgSpan(g,a),Qr=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"elem",elem:Qr,wrapperClasses:["svg-align"],wrapperStyle:It>0?{width:"calc(100% - "+2*It+"em)",marginLeft:2*It+"em"}:void 0}]},a);else{var dn,In;g.label==="\\vec"?(dn=d.staticSvg("vec",a),In=d.svgData.vec[1]):(dn=d.makeOrd({mode:g.mode,text:g.label},a,"textord"),dn=Xt(dn),dn.italic=0,In=dn.width),Qr=d.makeSpan(["accent-body"],[dn]);var Gn=g.label==="\\textcircled";Gn&&(Qr.classes.push("accent-full"),Wr=De.height);var Oa=It;Gn||(Oa-=In/2),Qr.style.left=Oa+"em",g.label==="\\textcircled"&&(Qr.style.top=".2em"),Qr=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:-Wr},{type:"elem",elem:Qr}]},a)}var u=d.makeSpan(["mord","accent"],[Qr],a);return se?(se.children[0]=u,se.height=Math.max(u.height,se.height),se.classes[0]="mord",se):u},Qn=function(r,a){var l=r.isStretchy?xa.mathMLnode(r.label):new it.MathNode("mo",[qt(r.label,r.mode)]),g=new it.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(te){return"\\"+te}).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),R=!g||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:g,isShifty:R,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,R=a[0];return{type:"accentUnder",mode:l.mode,label:g,base:R}},htmlBuilder:function(r,a){var l=Mt(r.base,a),g=xa.svgSpan(r,a),R=r.label==="\\utilde"?.12:0,se=d.makeVList({positionType:"bottom",positionData:g.height+R,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:R},{type:"elem",elem:l}]},a);return d.makeSpan(["mord","accentunder"],[se],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g=new it.MathNode("munder",[Hr(r.base,a),l]);return g.setAttribute("accentunder","true"),g}});var ra=function(r){var a=new it.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,R=r.funcName;return{type:"xArrow",mode:g.mode,label:R,body:a[0],below:l[0]}},htmlBuilder:function(r,a){var l=a.style,g=a.havingStyle(l.sup()),R=d.wrapFragment(Mt(r.body,g,a),a);R.classes.push("x-arrow-pad");var se;r.below&&(g=a.havingStyle(l.sub()),se=d.wrapFragment(Mt(r.below,g,a),a),se.classes.push("x-arrow-pad"));var De=xa.svgSpan(r,a),Je=-a.fontMetrics().axisHeight+.5*De.height,It=-a.fontMetrics().axisHeight-.5*De.height-.111;(R.depth>.25||r.label==="\\xleftequilibrium")&&(It-=R.depth);var ar;if(se){var pr=-a.fontMetrics().axisHeight+se.height+.5*De.height+.111;ar=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:R,shift:It},{type:"elem",elem:De,shift:Je},{type:"elem",elem:se,shift:pr}]},a)}else ar=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:R,shift:It},{type:"elem",elem:De,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 R=ra(Hr(r.body,a));if(r.below){var se=ra(Hr(r.below,a));g=new it.MathNode("munderover",[l,se,R])}else g=new it.MathNode("mover",[l,R])}else if(r.below){var De=ra(Hr(r.below,a));g=new it.MathNode("munder",[l,De])}else g=ra(),g=new it.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"),R=g.body,se="",De=0;De<R.length;De++){var Je=ne(R[De],"textord");se+=Je.text}var It=parseInt(se);if(isNaN(It))throw new Q("\\@char has non-numeric argument "+se);return{type:"textord",mode:l.mode,text:String.fromCharCode(It)}}});var Hn=function(r,a){var l=Te(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 it.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,R=a[1];return{type:"color",mode:l.mode,color:g,body:Se(R)}},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,R=ne(a[0],"color-token").color;l.gullet.macros.set("\\current@color",R);var se=l.parseExpression(!0,g);return{type:"color",mode:l.mode,color:R,body:se}},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,R=r.funcName,se=l[0],De=R==="\\cr",Je=!1;return De||(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:De,size:se&&ne(se,"size").value}},htmlBuilder:function(r,a){if(r.newRow)throw new Q("\\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=bn(r.size,a)+"em")),l},mathmlBuilder:function(r,a){var l=new it.MathNode("mspace");return r.newLine&&(l.setAttribute("linebreak","newline"),r.size&&l.setAttribute("height",bn(r.size,a)+"em")),l}});var Un=function(r,a,l){var g=Pr.math[r]&&Pr.math[r].replace,R=ht(g||r,a,l);if(!R)throw new Error("Unsupported symbol "+r+" and font size "+a+".");return R},Ln=function(r,a,l,g){var R=l.havingBaseStyle(a),se=d.makeSpan(g.concat(R.sizingClasses(l)),[r],l),De=R.sizeMultiplier/l.sizeMultiplier;return se.height*=De,se.depth*=De,se.maxFontSize=R.sizeMultiplier,se},Xn=function(r,a,l){var g=a.havingBaseStyle(l),R=(1-a.sizeMultiplier/g.sizeMultiplier)*a.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=R+"em",r.height-=R,r.depth+=R},rn=function(r,a,l,g,R,se){var De=d.makeSymbol(r,"Main-Regular",R,g),Je=Ln(De,a,g,se);return l&&Xn(Je,g,a),Je},fn=function(r,a,l,g){return d.makeSymbol(r,"Size"+a+"-Regular",l,g)},sa=function(r,a,l,g,R,se){var De=fn(r,a,R,g),Je=Ln(d.makeSpan(["delimsizing","size"+a],[De],g),B.TEXT,g,se);return l&&Xn(Je,g,B.TEXT),Je},xn=function(r,a,l){var g;a==="Size1-Regular"?g="delim-size1":g="delim-size4";var R=d.makeSpan(["delimsizinginner",g],[d.makeSpan([],[d.makeSymbol(r,a,l)])]);return{type:"elem",elem:R}},ha={type:"kern",size:-.005},Vn=function(r,a,l,g,R,se){var De,Je,It,ar;De=It=ar=r,Je=null;var pr="Size1-Regular";r==="\\uparrow"?It=ar="\u23D0":r==="\\Uparrow"?It=ar="\u2016":r==="\\downarrow"?De=It="\u23D0":r==="\\Downarrow"?De=It="\u2016":r==="\\updownarrow"?(De="\\uparrow",It="\u23D0",ar="\\downarrow"):r==="\\Updownarrow"?(De="\\Uparrow",It="\u2016",ar="\\Downarrow"):r==="["||r==="\\lbrack"?(De="\u23A1",It="\u23A2",ar="\u23A3",pr="Size4-Regular"):r==="]"||r==="\\rbrack"?(De="\u23A4",It="\u23A5",ar="\u23A6",pr="Size4-Regular"):r==="\\lfloor"||r==="\u230A"?(It=De="\u23A2",ar="\u23A3",pr="Size4-Regular"):r==="\\lceil"||r==="\u2308"?(De="\u23A1",It=ar="\u23A2",pr="Size4-Regular"):r==="\\rfloor"||r==="\u230B"?(It=De="\u23A5",ar="\u23A6",pr="Size4-Regular"):r==="\\rceil"||r==="\u2309"?(De="\u23A4",It=ar="\u23A5",pr="Size4-Regular"):r==="("||r==="\\lparen"?(De="\u239B",It="\u239C",ar="\u239D",pr="Size4-Regular"):r===")"||r==="\\rparen"?(De="\u239E",It="\u239F",ar="\u23A0",pr="Size4-Regular"):r==="\\{"||r==="\\lbrace"?(De="\u23A7",Je="\u23A8",ar="\u23A9",It="\u23AA",pr="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(De="\u23AB",Je="\u23AC",ar="\u23AD",It="\u23AA",pr="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(De="\u23A7",ar="\u23A9",It="\u23AA",pr="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(De="\u23AB",ar="\u23AD",It="\u23AA",pr="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(De="\u23A7",ar="\u23AD",It="\u23AA",pr="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(De="\u23AB",ar="\u23A9",It="\u23AA",pr="Size4-Regular");var Wr=Un(De,pr,R),Qr=Wr.height+Wr.depth,dn=Un(It,pr,R),In=dn.height+dn.depth,Gn=Un(ar,pr,R),Oa=Gn.height+Gn.depth,u=0,e=1;if(Je!==null){var t=Un(Je,pr,R);u=t.height+t.depth,e=2}var h=Qr+Oa+u,C=Math.max(0,Math.ceil((a-h)/(e*In))),G=h+C*e*In,ye=g.fontMetrics().axisHeight;l&&(ye*=g.sizeMultiplier);var Ue=G/2-ye,qe=(C+1)*.005-In,Wt=[];if(Wt.push(xn(ar,pr,R)),Je===null)for(var ir=0;ir<C;ir++)Wt.push(ha),Wt.push(xn(It,pr,R));else{for(var yr=0;yr<C;yr++)Wt.push(ha),Wt.push(xn(It,pr,R));Wt.push({type:"kern",size:qe}),Wt.push(xn(It,pr,R)),Wt.push(ha),Wt.push(xn(Je,pr,R));for(var Ur=0;Ur<C;Ur++)Wt.push(ha),Wt.push(xn(It,pr,R))}Wt.push({type:"kern",size:qe}),Wt.push(xn(It,pr,R)),Wt.push(ha),Wt.push(xn(De,pr,R));var Fr=g.havingBaseStyle(B.TEXT),un=d.makeVList({positionType:"bottom",positionData:Ue,children:Wt},Fr);return Ln(d.makeSpan(["delimsizing","mult"],[un],Fr),B.TEXT,g,se)},Ha=80,qa=.08,vn=function(r,a,l,g,R){var se=At(r,g,l),De=new pt(r,se),Je=new Ye([De],{width:"400em",height:a+"em",viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});return d.makeSvgSpan(["hide-tail"],[Je],R)},Pn=function(r,a){var l=a.havingBaseSizing(),g=Ta("\\surd",r*l.sizeMultiplier,Aa,l),R=l.sizeMultiplier,se=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),De,Je=0,It=0,ar=0,pr;return g.type==="small"?(ar=1e3+1e3*se+Ha,r<1?R=1:r<1.4&&(R=.7),Je=(1+se+qa)/R,It=(1+se)/R,De=vn("sqrtMain",Je,ar,se,a),De.style.minWidth="0.853em",pr=.833/R):g.type==="large"?(ar=(1e3+Ha)*io[g.size],It=(io[g.size]+se)/R,Je=(io[g.size]+se+qa)/R,De=vn("sqrtSize"+g.size,Je,ar,se,a),De.style.minWidth="1.02em",pr=1/R):(Je=r+se+qa,It=r+se,ar=Math.floor(1e3*r+se)+Ha,De=vn("sqrtTall",Je,ar,se,a),De.style.minWidth="0.742em",pr=1.056),De.height=It,De.style.height=Je+"em",{span:De,advanceWidth:pr,ruleWidth:(a.fontMetrics().sqrtRuleThickness+se)*R}},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,R){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),w.contains(fa,r)||w.contains(Ga,r))return sa(r,a,!1,l,g,R);if(w.contains(Ja,r))return Vn(r,io[a],!1,l,g,R);throw new Q("Illegal delimiter: '"+r+"'")},la=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Io=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"stack"}],Aa=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.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 R=Math.min(2,3-g.style.size),se=R;se<l.length&&l[se].type!=="stack";se++){var De=Un(r,ja(l[se]),"math"),Je=De.height+De.depth;if(l[se].type==="small"){var It=g.havingBaseStyle(l[se].style);Je*=It.sizeMultiplier}if(Je>a)return l[se]}return l[l.length-1]},Na=function(r,a,l,g,R,se){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var De;w.contains(Ga,r)?De=la:w.contains(fa,r)?De=Aa:De=Io;var Je=Ta(r,a,De,g);return Je.type==="small"?rn(r,Je.style,l,g,R,se):Je.type==="large"?sa(r,Je.size,l,g,R,se):Vn(r,a,l,g,R,se)},Ba=function(r,a,l,g,R,se){var De=g.fontMetrics().axisHeight*g.sizeMultiplier,Je=901,It=5/g.fontMetrics().ptPerEm,ar=Math.max(a-De,l+De),pr=Math.max(ar/500*Je,2*ar-It);return Na(r,pr,!0,g,R,se)},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(te,r){var a=Pt(te);if(a&&w.contains(La,a.text))return a;throw new Q("Invalid delimiter: '"+(a?a.text:JSON.stringify(te))+"' after '"+r.funcName+"'",te)}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 it.MathNode("mo",a);return r.mclass==="mopen"||r.mclass==="mclose"?l.setAttribute("fence","true"):l.setAttribute("fence","false"),l}});function eo(te){if(!te.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 Q("\\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 R=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var se=ne(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:R,left:l.text,right:se.delim,rightColor:se.color}},htmlBuilder:function(r,a){eo(r);for(var l=Te(r.body,a,!0,["mopen","mclose"]),g=0,R=0,se=!1,De=0;De<l.length;De++)l[De].isMiddle?se=!0:(g=Math.max(l[De].height,g),R=Math.max(l[De].depth,R));g*=a.sizeMultiplier,R*=a.sizeMultiplier;var Je;if(r.left==="."?Je=Zt(a,["mopen"]):Je=ma.leftRightDelim(r.left,g,R,a,r.mode,["mopen"]),l.unshift(Je),se)for(var It=1;It<l.length;It++){var ar=l[It],pr=ar.isMiddle;pr&&(l[It]=ma.leftRightDelim(pr.delim,g,R,pr.options,r.mode,[]))}var Wr;if(r.right===".")Wr=Zt(a,["mclose"]);else{var Qr=r.rightColor?a.withColor(r.rightColor):a;Wr=ma.leftRightDelim(r.right,g,R,Qr,r.mode,["mclose"])}return l.push(Wr),d.makeSpan(["minner"],l,a)},mathmlBuilder:function(r,a){eo(r);var l=Ar(r.body,a);if(r.left!=="."){var g=new it.MathNode("mo",[qt(r.left,r.mode)]);g.setAttribute("fence","true"),l.unshift(g)}if(r.right!=="."){var R=new it.MathNode("mo",[qt(r.right,r.mode)]);R.setAttribute("fence","true"),r.rightColor&&R.setAttribute("mathcolor",r.rightColor),l.push(R)}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 Q("\\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 it.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(Mt(r.body,a),a),g=r.label.substr(1),R=a.sizeMultiplier,se,De=0,Je=w.isCharacterBox(r.body);if(g==="sout")se=d.makeSpan(["stretchy","sout"]),se.height=a.fontMetrics().defaultRuleThickness/R,De=-.5*a.fontMetrics().xHeight;else{/cancel/.test(g)?Je||l.classes.push("cancel-pad"):l.classes.push("boxpad");var It=0,ar=0;/box/.test(g)?(ar=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),It=a.fontMetrics().fboxsep+(g==="colorbox"?0:ar)):It=Je?.2:0,se=xa.encloseSpan(l,g,It,a),/fbox|boxed|fcolorbox/.test(g)&&(se.style.borderStyle="solid",se.style.borderWidth=ar+"em"),De=l.depth+It,r.backgroundColor&&(se.style.backgroundColor=r.backgroundColor,r.borderColor&&(se.style.borderColor=r.borderColor))}var pr;return r.backgroundColor?pr=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:se,shift:De},{type:"elem",elem:l,shift:0}]},a):pr=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:se,shift:De,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 it.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 R=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);g.setAttribute("style","border: "+R+"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,R=r.funcName,se=ne(a[0],"color-token").color,De=a[1];return{type:"enclose",mode:g.mode,label:R,backgroundColor:se,body:De}},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,R=r.funcName,se=ne(a[0],"color-token").color,De=ne(a[1],"color-token").color,Je=a[2];return{type:"enclose",mode:g.mode,label:R,backgroundColor:De,borderColor:se,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,R=r.funcName,se=a[0];return{type:"enclose",mode:g.mode,label:R,body:se}},htmlBuilder:lo,mathmlBuilder:Ao});var Co={};function Ra(te){for(var r=te.type,a=te.names,l=te.props,g=te.handler,R=te.htmlBuilder,se=te.mathmlBuilder,De={type:r,numArgs:l.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},Je=0;Je<a.length;++Je)Co[a[Je]]=De;R&&(cr[r]=R),se&&(Cr[r]=se)}function Uo(te){var r=[];te.consumeSpaces();for(var a=te.fetch().text;a==="\\hline"||a==="\\hdashline";)te.consume(),r.push(a==="\\hdashline"),te.consumeSpaces(),a=te.fetch().text;return r}function ho(te,r,a){var l=r.hskipBeforeAndAfter,g=r.addJot,R=r.cols,se=r.arraystretch,De=r.colSeparationType;if(te.gullet.beginGroup(),te.gullet.macros.set("\\\\","\\cr"),!se){var Je=te.gullet.expandMacroAsText("\\arraystretch");if(Je==null)se=1;else if(se=parseFloat(Je),!se||se<0)throw new Q("Invalid \\arraystretch: "+Je)}te.gullet.beginGroup();var It=[],ar=[It],pr=[],Wr=[];for(Wr.push(Uo(te));;){var Qr=te.parseExpression(!1,"\\cr");te.gullet.endGroup(),te.gullet.beginGroup(),Qr={type:"ordgroup",mode:te.mode,body:Qr},a&&(Qr={type:"styling",mode:te.mode,style:a,body:[Qr]}),It.push(Qr);var dn=te.fetch().text;if(dn==="&")te.consume();else if(dn==="\\end"){It.length===1&&Qr.type==="styling"&&Qr.body[0].body.length===0&&ar.pop(),Wr.length<ar.length+1&&Wr.push([]);break}else if(dn==="\\cr"){var In=ne(te.parseFunction(),"cr");pr.push(In.size),Wr.push(Uo(te)),It=[],ar.push(It)}else throw new Q("Expected & or \\\\ or \\cr or \\end",te.nextToken)}return te.gullet.endGroup(),te.gullet.endGroup(),{type:"array",mode:te.mode,addJot:g,arraystretch:se,body:ar,cols:R,rowGaps:pr,hskipBeforeAndAfter:l,hLinesBeforeRow:Wr,colSeparationType:De}}function No(te){return te.substr(0,1)==="d"?"display":"text"}var xo=function(r,a){var l,g,R=r.body.length,se=r.hLinesBeforeRow,De=0,Je=new Array(R),It=[],ar=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),pr=1/a.fontMetrics().ptPerEm,Wr=5*pr;if(r.colSeparationType&&r.colSeparationType==="small"){var Qr=a.havingStyle(B.SCRIPT).sizeMultiplier;Wr=.2778*(Qr/a.sizeMultiplier)}var dn=12*pr,In=3*pr,Gn=r.arraystretch*dn,Oa=.7*Gn,u=.3*Gn,e=0;function t(ri){for(var Oo=0;Oo<ri.length;++Oo)Oo>0&&(e+=.25),It.push({pos:e,isDashed:ri[Oo]})}for(t(se[0]),l=0;l<r.body.length;++l){var h=r.body[l],C=Oa,G=u;De<h.length&&(De=h.length);var ye=new Array(h.length);for(g=0;g<h.length;++g){var Ue=Mt(h[g],a);G<Ue.depth&&(G=Ue.depth),C<Ue.height&&(C=Ue.height),ye[g]=Ue}var qe=r.rowGaps[l],Wt=0;qe&&(Wt=bn(qe,a),Wt>0&&(Wt+=u,G<Wt&&(G=Wt),Wt=0)),r.addJot&&(G+=In),ye.height=C,ye.depth=G,e+=C,ye.pos=e,e+=G+Wt,Je[l]=ye,t(se[l+1])}var ir=e/2+a.fontMetrics().axisHeight,yr=r.cols||[],Ur=[],Fr,un;for(g=0,un=0;g<De||un<yr.length;++g,++un){for(var pn=yr[un]||{},Nn=!0;pn.type==="separator";){if(Nn||(Fr=d.makeSpan(["arraycolsep"],[]),Fr.style.width=a.fontMetrics().doubleRuleSep+"em",Ur.push(Fr)),pn.separator==="|"||pn.separator===":"){var Tn=pn.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-ir)+"em",Ur.push(ca)}else throw new Q("Invalid separator type: "+pn.separator);un++,pn=yr[un]||{},Nn=!1}if(!(g>=De)){var va=void 0;(g>0||r.hskipBeforeAndAfter)&&(va=w.deflt(pn.pregap,Wr),va!==0&&(Fr=d.makeSpan(["arraycolsep"],[]),Fr.style.width=va+"em",Ur.push(Fr)));var Pa=[];for(l=0;l<R;++l){var $a=Je[l],Fa=$a[g];if(Fa){var Sa=$a.pos-ir;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-"+(pn.align||"c")],[Pa]),Ur.push(Pa),(g<De-1||r.hskipBeforeAndAfter)&&(va=w.deflt(pn.postgap,Wr),va!==0&&(Fr=d.makeSpan(["arraycolsep"],[]),Fr.style.width=va+"em",Ur.push(Fr)))}}if(Je=d.makeSpan(["mtable"],Ur),It.length>0){for(var fo=d.makeLineSpan("hline",a,ar),Ua=d.makeLineSpan("hdashline",a,ar),Po=[{type:"elem",elem:Je,shift:0}];It.length>0;){var jo=It.pop(),vo=jo.pos-ir;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 it.MathNode("mtable",r.body.map(function(e){return new it.MathNode("mtr",e.map(function(t){return new it.MathNode("mtd",[Hr(t,a)])}))})),g=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);l.setAttribute("rowspacing",g+"em");var R="",se="";if(r.cols){var De=r.cols,Je="",It=!1,ar=0,pr=De.length;De[0].type==="separator"&&(R+="top ",ar=1),De[De.length-1].type==="separator"&&(R+="bottom ",pr-=1);for(var Wr=ar;Wr<pr;Wr++)De[Wr].type==="align"?(se+=ii[De[Wr].align],It&&(Je+="none "),It=!0):De[Wr].type==="separator"&&It&&(Je+=De[Wr].separator==="|"?"solid ":"dashed ",It=!1);l.setAttribute("columnalign",se.trim()),/[sd]/.test(Je)&&l.setAttribute("columnlines",Je.trim())}if(r.colSeparationType==="align"){for(var Qr=r.cols||[],dn="",In=1;In<Qr.length;In++)dn+=In%2?"0em ":"1em ";l.setAttribute("columnspacing",dn.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;R+=Oa[0].length>0?"left ":"",R+=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()),R!==""&&(l=new it.MathNode("menclose",[l]),l.setAttribute("notation",R.trim())),r.arraystretch&&r.arraystretch<1&&(l=new it.MathNode("mstyle",[l]),l.setAttribute("scriptlevel","1")),l},ei=function(r,a){var l=[],g=ho(r.parser,{cols:l,addJot:!0},"display"),R,se=0,De={type:"ordgroup",mode:r.mode,body:[]},Je=Z(a[0],"ordgroup");if(Je){for(var It="",ar=0;ar<Je.body.length;ar++){var pr=ne(Je.body[ar],"textord");It+=pr.text}R=Number(It),se=R*2}var Wr=!se;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(De)}if(Wr)se<Gn.length&&(se=Gn.length);else{var t=Gn.length/2;if(R<t)throw new Q("Too many math in a row: "+("expected "+R+", but got "+t),Gn[0])}});for(var Qr=0;Qr<se;++Qr){var dn="r",In=0;Qr%2===1?dn="l":Qr>0&&Wr&&(In=1),l[Qr]={type:"align",align:dn,pregap:In,postgap:0}}return g.colSeparationType=Wr?"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,R=g.map(function(De){var Je=ot(De),It=Je.text;if("lcr".indexOf(It)!==-1)return{type:"align",align:It};if(It==="|")return{type:"separator",separator:"|"};if(It===":")return{type:"separator",separator:":"};throw new Q("Unknown column alignment: "+It,De)}),se={cols:R,hskipBeforeAndAfter:!0};return ho(r.parser,se,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,R=g.map(function(De){var Je=ot(De),It=Je.text;if("lc".indexOf(It)!==-1)return{type:"align",align:It};throw new Q("Unknown column alignment: "+It,De)});if(R.length>1)throw new Q("{subarray} can contain only one column");var se={cols:R,hskipBeforeAndAfter:!1,arraystretch:.5};if(se=ho(r.parser,se,"script"),se.body[0].length>1)throw new Q("{subarray} can contain only one column");return se},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 Q(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,R=a[0];if(R.type!=="ordgroup")throw new Q("Invalid environment name",R);for(var se="",De=0;De<R.body.length;++De)se+=ne(R.body[De],"textord").text;if(g==="\\begin"){if(!gi.hasOwnProperty(se))throw new Q("No such environment: "+se,R);var Je=gi[se],It=l.parseArguments("\\begin{"+se+"}",Je),ar=It.args,pr=It.optArgs,Wr={mode:l.mode,envName:se,parser:l},Qr=Je.handler(Wr,ar,pr);l.expect("\\end",!1);var dn=l.nextToken,In=ne(l.parseFunction(),"environment");if(In.name!==se)throw new Q("Mismatch: \\begin{"+se+"} matched by \\end{"+In.name+"}",dn);return Qr}return{type:"environment",mode:l.mode,name:se,nameGroup:R}}});var _o=d.makeSpan;function si(te,r){var a=Te(te.body,r,!0);return _o([te.mclass],a,r)}function zi(te,r){var a,l=Ar(te.body,r);return te.mclass==="minner"?it.newDocumentFragment(l):(te.mclass==="mord"?te.isCharacterBox?(a=l[0],a.type="mi"):a=new it.MathNode("mi",l):(te.isCharacterBox?(a=l[0],a.type="mo"):a=new it.MathNode("mo",l),te.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):te.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):(te.mclass==="mopen"||te.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,R=a[0];return{type:"mclass",mode:l.mode,mclass:"m"+g.substr(5),body:Se(R),isCharacterBox:w.isCharacterBox(R)}},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:w.isCharacterBox(a[1])}}}),Qt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(r,a){var l=r.parser,g=r.funcName,R=a[1],se=a[0],De;g!=="\\stackrel"?De=li(R):De="mrel";var Je={type:"op",mode:R.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:Se(R)},It={type:"supsub",mode:se.mode,base:Je,sup:g==="\\underset"?null:se,sub:g==="\\underset"?se:null};return{type:"mclass",mode:l.mode,mclass:De,body:[It],isCharacterBox:w.isCharacterBox(It)}},htmlBuilder:si,mathmlBuilder:zi});var vi=function(r,a){var l=r.font,g=a.withFont(l);return Mt(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,R=a[0],se=g;return se in wa&&(se=wa[se]),{type:"font",mode:l.mode,font:se.slice(1),body:R}},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],R=w.isCharacterBox(g);return{type:"mclass",mode:l.mode,mclass:li(g),body:[{type:"font",mode:l.mode,font:"boldsymbol",body:g}],isCharacterBox:R}}}),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,R=r.breakOnTokenText,se=l.mode,De=l.parseExpression(!0,R),Je="math"+g.slice(1);return{type:"font",mode:se,font:Je,body:{type:"ordgroup",mode:l.mode,body:De}}},htmlBuilder:vi,mathmlBuilder:Di});var Wa=function(r,a){var l=a;return r==="display"?l=l.id>=B.SCRIPT.id?l.text():B.DISPLAY:r==="text"&&l.size===B.DISPLAY.size?l=B.TEXT:r==="script"?l=B.SCRIPT:r==="scriptscript"&&(l=B.SCRIPTSCRIPT),l},Ke=function(r,a){var l=Wa(r.size,a.style),g=l.fracNum(),R=l.fracDen(),se;se=a.havingStyle(g);var De=Mt(r.numer,se,a);if(r.continued){var Je=8.5/a.fontMetrics().ptPerEm,It=3.5/a.fontMetrics().ptPerEm;De.height=De.height<Je?Je:De.height,De.depth=De.depth<It?It:De.depth}se=a.havingStyle(R);var ar=Mt(r.denom,se,a),pr,Wr,Qr;r.hasBarLine?(r.barSize?(Wr=bn(r.barSize,a),pr=d.makeLineSpan("frac-line",a,Wr)):pr=d.makeLineSpan("frac-line",a),Wr=pr.height,Qr=pr.height):(pr=null,Wr=0,Qr=a.fontMetrics().defaultRuleThickness);var dn,In,Gn;l.size===B.DISPLAY.size||r.size==="display"?(dn=a.fontMetrics().num1,Wr>0?In=3*Qr:In=7*Qr,Gn=a.fontMetrics().denom1):(Wr>0?(dn=a.fontMetrics().num2,In=Qr):(dn=a.fontMetrics().num3,In=3*Qr),Gn=a.fontMetrics().denom2);var Oa;if(pr){var e=a.fontMetrics().axisHeight;dn-De.depth-(e+.5*Wr)<In&&(dn+=In-(dn-De.depth-(e+.5*Wr))),e-.5*Wr-(ar.height-Gn)<In&&(Gn+=In-(e-.5*Wr-(ar.height-Gn)));var t=-(e-.5*Wr);Oa=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:Gn},{type:"elem",elem:pr,shift:t},{type:"elem",elem:De,shift:-dn}]},a)}else{var u=dn-De.depth-(ar.height-Gn);u<In&&(dn+=.5*(In-u),Gn+=.5*(In-u)),Oa=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:Gn},{type:"elem",elem:De,shift:-dn}]},a)}se=a.havingStyle(l),Oa.height*=se.sizeMultiplier/a.sizeMultiplier,Oa.depth*=se.sizeMultiplier/a.sizeMultiplier;var h;l.size===B.DISPLAY.size?h=a.fontMetrics().delim1:h=a.fontMetrics().delim2;var C,G;return r.leftDelim==null?C=Zt(a,["mopen"]):C=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(se.sizingClasses(a)),[C,d.makeSpan(["mfrac"],[Oa]),G],a)},za=function(r,a){var l=new it.MathNode("mfrac",[Hr(r.numer,a),Hr(r.denom,a)]);if(!r.hasBarLine)l.setAttribute("linethickness","0px");else if(r.barSize){var g=bn(r.barSize,a);l.setAttribute("linethickness",g+"em")}var R=Wa(r.size,a.style);if(R.size!==a.style.size){l=new it.MathNode("mstyle",[l]);var se=R.size===B.DISPLAY.size?"true":"false";l.setAttribute("displaystyle",se),l.setAttribute("scriptlevel","0")}if(r.leftDelim!=null||r.rightDelim!=null){var De=[];if(r.leftDelim!=null){var Je=new it.MathNode("mo",[new it.TextNode(r.leftDelim.replace("\\",""))]);Je.setAttribute("fence","true"),De.push(Je)}if(De.push(l),r.rightDelim!=null){var It=new it.MathNode("mo",[new it.TextNode(r.rightDelim.replace("\\",""))]);It.setAttribute("fence","true"),De.push(It)}return nr(De)}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,R=a[0],se=a[1],De,Je=null,It=null,ar="auto";switch(g){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":De=!0;break;case"\\\\atopfrac":De=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":De=!1,Je="(",It=")";break;case"\\\\bracefrac":De=!1,Je="\\{",It="\\}";break;case"\\\\brackfrac":De=!1,Je="[",It="]";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:R,denom:se,hasBarLine:De,leftDelim:Je,rightDelim:It,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,R;switch(l){case"\\over":R="\\frac";break;case"\\choose":R="\\binom";break;case"\\atop":R="\\\\atopfrac";break;case"\\brace":R="\\\\bracefrac";break;case"\\brack":R="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:R,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],R=a[5],se=Z(a[0],"atom");se&&(se=ee(a[0],"open"));var De=se?Do(se.text):null,Je=Z(a[1],"atom");Je&&(Je=ee(a[1],"close"));var It=Je?Do(Je.text):null,ar=ne(a[2],"size"),pr,Wr=null;ar.isBlank?pr=!0:(Wr=ar.value,pr=Wr.number>0);var Qr="auto",dn=Z(a[3],"ordgroup");if(dn){if(dn.body.length>0){var In=ne(dn.body[0],"textord");Qr=$o[Number(In.text)]}}else dn=ne(a[3],"textord"),Qr=$o[Number(dn.text)];return{type:"genfrac",mode:l.mode,numer:g,denom:R,continued:!1,hasBarLine:pr,barSize:Wr,leftDelim:De,rightDelim:It,size:Qr}},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,R=r.token;return{type:"infix",mode:l.mode,replaceWith:"\\\\abovefrac",size:ne(a[0],"size").value,token:R}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,a){var l=r.parser,g=r.funcName,R=a[0],se=O(ne(a[1],"infix").size),De=a[2],Je=se.number>0;return{type:"genfrac",mode:l.mode,numer:R,denom:De,continued:!1,hasBarLine:Je,barSize:se,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ke,mathmlBuilder:za});var co=function(r,a){var l=a.style,g,R,se=Z(r,"supsub");se?(g=se.sup?Mt(se.sup,a.havingStyle(l.sup()),a):Mt(se.sub,a.havingStyle(l.sub()),a),R=ne(se.base,"horizBrace")):R=ne(r,"horizBrace");var De=Mt(R.base,a.havingBaseStyle(B.DISPLAY)),Je=xa.svgSpan(R,a),It;if(R.isOver?(It=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:.1},{type:"elem",elem:Je}]},a),It.children[0].children[0].children[1].classes.push("svg-align")):(It=d.makeVList({positionType:"bottom",positionData:De.depth+.1+Je.height,children:[{type:"elem",elem:Je},{type:"kern",size:.1},{type:"elem",elem:De}]},a),It.children[0].children[0].children[0].classes.push("svg-align")),g){var ar=d.makeSpan(["mord",R.isOver?"mover":"munder"],[It],a);R.isOver?It=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:ar},{type:"kern",size:.2},{type:"elem",elem:g}]},a):It=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",R.isOver?"mover":"munder"],[It],a)},go=function(r,a){var l=xa.mathMLnode(r.label);return new it.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],R=ne(a[0],"url").url;return l.settings.isTrusted({command:"\\href",url:R})?{type:"href",mode:l.mode,href:R,body:Se(g)}:l.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,a){var l=Te(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 R=[],se=0;se<g.length;se++){var De=g[se];De==="~"&&(De="\\textasciitilde"),R.push({type:"textord",mode:"text",text:De})}var Je={type:"text",mode:l.mode,font:"\\texttt",body:R};return{type:"href",mode:l.mode,href:g,body:Se(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:Se(a[0]),mathml:Se(a[1])}},htmlBuilder:function(r,a){var l=Te(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 Q("Invalid size: '"+r+"' in \\includegraphics");var l={number:+(a[1]+a[2]),unit:a[3]};if(!jn(l))throw new Q("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,R={number:0,unit:"em"},se={number:.9,unit:"em"},De={number:0,unit:"em"},Je="";if(l[0])for(var It=ne(l[0],"raw").string,ar=It.split(","),pr=0;pr<ar.length;pr++){var Wr=ar[pr].split("=");if(Wr.length===2){var Qr=Wr[1].trim();switch(Wr[0].trim()){case"alt":Je=Qr;break;case"width":R=wo(Qr);break;case"height":se=wo(Qr);break;case"totalheight":De=wo(Qr);break;default:throw new Q("Invalid key: '"+Wr[0]+"' in \\includegraphics.")}}}var dn=ne(a[0],"url").url;return Je===""&&(Je=dn,Je=Je.replace(/^.*[\\/]/,""),Je=Je.substring(0,Je.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:dn})?{type:"includegraphics",mode:g.mode,alt:Je,width:R,height:se,totalheight:De,src:dn}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,a){var l=bn(r.height,a),g=0;r.totalheight.number>0&&(g=bn(r.totalheight,a)-l,g=Number(g.toFixed(2)));var R=0;r.width.number>0&&(R=bn(r.width,a));var se={height:l+g+"em"};R>0&&(se.width=R+"em"),g>0&&(se.verticalAlign=-g+"em");var De=new Oe(r.src,r.alt,se);return De.height=l,De.depth=g,De},mathmlBuilder:function(r,a){var l=new it.MathNode("mglyph",[]);l.setAttribute("alt",r.alt);var g=bn(r.height,a),R=0;if(r.totalheight.number>0&&(R=bn(r.totalheight,a)-g,R=R.toFixed(2),l.setAttribute("valign","-"+R+"em")),l.setAttribute("height",g+R+"em"),r.width.number>0){var se=bn(r.width,a);l.setAttribute("width",se+"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,R=ne(a[0],"size");if(l.settings.strict){var se=g[1]==="m",De=R.value.unit==="mu";se?(De||l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+R.value.unit+" units")),l.mode!=="math"&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" works only in math mode")):De&&l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" doesn't support mu units")}return{type:"kern",mode:l.mode,dimension:R.value}},htmlBuilder:function(r,a){return d.makeGlue(r.dimension,a)},mathmlBuilder:function(r,a){var l=bn(r.dimension,a);return new it.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,R=a[0];return{type:"lap",mode:l.mode,alignment:g.slice(5),body:R}},htmlBuilder:function(r,a){var l;r.alignment==="clap"?(l=d.makeSpan([],[Mt(r.body,a)]),l=d.makeSpan(["inner"],[l],a)):l=d.makeSpan(["inner"],[Mt(r.body,a)]);var g=d.makeSpan(["fix"],[]),R=d.makeSpan([r.alignment],[l,g],a),se=d.makeSpan(["strut"]);return se.style.height=R.height+R.depth+"em",se.style.verticalAlign=-R.depth+"em",R.children.unshift(se),R=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:R}]},a),d.makeSpan(["mord"],[R],a)},mathmlBuilder:function(r,a){var l=new it.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,R=g.mode;g.switchMode("math");var se=l==="\\("?"\\)":"$",De=g.parseExpression(!1,se);return g.expect(se),g.switchMode(R),{type:"styling",mode:g.mode,style:"text",body:De}}}),Qt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(r,a){throw new Q("Mismatched "+r.funcName)}});var Ri=function(r,a){switch(a.style.size){case B.DISPLAY.size:return r.display;case B.TEXT.size:return r.text;case B.SCRIPT.size:return r.script;case B.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:Se(a[0]),text:Se(a[1]),script:Se(a[2]),scriptscript:Se(a[3])}},htmlBuilder:function(r,a){var l=Ri(r,a),g=Te(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,R,se,De){r=d.makeSpan([],[r]);var Je,It;if(a){var ar=Mt(a,g.havingStyle(R.sup()),g);It={elem:ar,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-ar.depth)}}if(l){var pr=Mt(l,g.havingStyle(R.sub()),g);Je={elem:pr,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-pr.height)}}var Wr;if(It&&Je){var Qr=g.fontMetrics().bigOpSpacing5+Je.elem.height+Je.elem.depth+Je.kern+r.depth+De;Wr=d.makeVList({positionType:"bottom",positionData:Qr,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Je.elem,marginLeft:-se+"em"},{type:"kern",size:Je.kern},{type:"elem",elem:r},{type:"kern",size:It.kern},{type:"elem",elem:It.elem,marginLeft:se+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else if(Je){var dn=r.height-De;Wr=d.makeVList({positionType:"top",positionData:dn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:Je.elem,marginLeft:-se+"em"},{type:"kern",size:Je.kern},{type:"elem",elem:r}]},g)}else if(It){var In=r.depth+De;Wr=d.makeVList({positionType:"bottom",positionData:In,children:[{type:"elem",elem:r},{type:"kern",size:It.kern},{type:"elem",elem:It.elem,marginLeft:se+"em"},{type:"kern",size:g.fontMetrics().bigOpSpacing5}]},g)}else return r;return d.makeSpan(["mop","op-limits"],[Wr],g)},Xi=["\\smallint"],Ei=function(r,a){var l,g,R=!1,se,De=Z(r,"supsub");De?(l=De.sup,g=De.sub,se=ne(De.base,"op"),R=!0):se=ne(r,"op");var Je=a.style,It=!1;Je.size===B.DISPLAY.size&&se.symbol&&!w.contains(Xi,se.name)&&(It=!0);var ar;if(se.symbol){var pr=It?"Size2-Regular":"Size1-Regular",Wr="";if((se.name==="\\oiint"||se.name==="\\oiiint")&&(Wr=se.name.substr(1),se.name=Wr==="oiint"?"\\iint":"\\iiint"),ar=d.makeSymbol(se.name,pr,"math",a,["mop","op-symbol",It?"large-op":"small-op"]),Wr.length>0){var Qr=ar.italic,dn=d.staticSvg(Wr+"Size"+(It?"2":"1"),a);ar=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:ar,shift:0},{type:"elem",elem:dn,shift:It?.08:0}]},a),se.name="\\"+Wr,ar.classes.unshift("mop"),ar.italic=Qr}}else if(se.body){var In=Te(se.body,a,!0);In.length===1&&In[0]instanceof Ne?(ar=In[0],ar.classes[0]="mop"):ar=d.makeSpan(["mop"],d.tryCombineChars(In),a)}else{for(var Gn=[],Oa=1;Oa<se.name.length;Oa++)Gn.push(d.mathsym(se.name[Oa],se.mode,a));ar=d.makeSpan(["mop"],Gn,a)}var u=0,e=0;return(ar instanceof Ne||se.name==="\\oiint"||se.name==="\\oiiint")&&!se.suppressBaseShift&&(u=(ar.height-ar.depth)/2-a.fontMetrics().axisHeight,e=ar.italic),R?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)]),w.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=xr([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,R=g;return R.length===1&&(R=Ss[R]),{type:"op",mode:l.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:R}},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:Se(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,R=!1,se,De=Z(r,"supsub");De?(l=De.sup,g=De.sub,se=ne(De.base,"operatorname"),R=!0):se=ne(r,"operatorname");var Je;if(se.body.length>0){for(var It=se.body.map(function(Qr){var dn=Qr.text;return typeof dn=="string"?{type:"textord",mode:Qr.mode,text:dn}:Qr}),ar=Te(It,a.withFont("mathrm"),!0),pr=0;pr<ar.length;pr++){var Wr=ar[pr];Wr instanceof Ne&&(Wr.text=Wr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Je=d.makeSpan(["mop"],ar,a)}else Je=d.makeSpan(["mop"],[],a);return R?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,R=0;R<l.length;R++){var se=l[R];if(!(se instanceof it.SpaceNode))if(se instanceof it.MathNode)switch(se.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var De=se.children[0];se.children.length===1&&De instanceof it.TextNode?De.text=De.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 it.TextNode(Je)]}var It=new it.MathNode("mi",l);It.setAttribute("mathvariant","normal");var ar=new it.MathNode("mo",[qt("\u2061","text")]);return r.parentIsSupSub?new it.MathNode("mo",[It,ar]):it.newDocumentFragment([It,ar])};Qt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,R=a[0];return{type:"operatorname",mode:l.mode,body:Se(R),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:ss,mathmlBuilder:ls}),tt({type:"ordgroup",htmlBuilder:function(r,a){return r.semisimple?d.makeFragment(Te(r.body,a,!1)):d.makeSpan(["mord"],Te(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=Mt(r.body,a.havingCrampedStyle()),g=d.makeLineSpan("overline-line",a),R=a.fontMetrics().defaultRuleThickness,se=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:3*R},{type:"elem",elem:g},{type:"kern",size:R}]},a);return d.makeSpan(["mord","overline"],[se],a)},mathmlBuilder:function(r,a){var l=new it.MathNode("mo",[new it.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new it.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:Se(g)}},htmlBuilder:function(r,a){var l=Te(r.body,a.withPhantom(),!1);return d.makeFragment(l)},mathmlBuilder:function(r,a){var l=Ar(r.body,a);return new it.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([],[Mt(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(Se(r.body),a),g=new it.MathNode("mphantom",l),R=new it.MathNode("mpadded",[g]);return R.setAttribute("height","0px"),R.setAttribute("depth","0px"),R}}),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"],[Mt(r.body,a.withPhantom())]),g=d.makeSpan(["fix"],[]);return d.makeSpan(["mord","rlap"],[l,g],a)},mathmlBuilder:function(r,a){var l=Ar(Se(r.body),a),g=new it.MathNode("mphantom",l),R=new it.MathNode("mpadded",[g]);return R.setAttribute("width","0px"),R}}),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,R=a[1];return{type:"raisebox",mode:l.mode,dy:g,body:R}},htmlBuilder:function(r,a){var l=Mt(r.body,a),g=bn(r.dy,a);return d.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:l}]},a)},mathmlBuilder:function(r,a){var l=new it.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,R=l[0],se=ne(a[0],"size"),De=ne(a[1],"size");return{type:"rule",mode:g.mode,shift:R&&ne(R,"size").value,width:se.value,height:De.value}},htmlBuilder:function(r,a){var l=d.makeSpan(["mord","rule"],[],a),g=bn(r.width,a),R=bn(r.height,a),se=r.shift?bn(r.shift,a):0;return l.style.borderRightWidth=g+"em",l.style.borderTopWidth=R+"em",l.style.bottom=se+"em",l.width=g,l.height=R+se,l.depth=-se,l.maxFontSize=R*1.125*a.sizeMultiplier,l},mathmlBuilder:function(r,a){var l=bn(r.width,a),g=bn(r.height,a),R=r.shift?bn(r.shift,a):0,se=a.color&&a.getColor()||"black",De=new it.MathNode("mspace");De.setAttribute("mathbackground",se),De.setAttribute("width",l+"em"),De.setAttribute("height",g+"em");var Je=new it.MathNode("mpadded",[De]);return R>=0?Je.setAttribute("height","+"+R+"em"):(Je.setAttribute("height",R+"em"),Je.setAttribute("depth","+"+-R+"em")),Je.setAttribute("voffset",R+"em"),Je}});function ui(te,r,a){for(var l=Te(te,r,!1),g=r.sizeMultiplier/a.sizeMultiplier,R=0;R<l.length;R++){var se=l[R].classes.indexOf("sizing");se<0?Array.prototype.push.apply(l[R].classes,r.sizingClasses(a)):l[R].classes[se+1]==="reset-size"+r.size&&(l[R].classes[se+1]="reset-size"+a.size),l[R].height*=g,l[R].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,R=r.parser,se=R.parseExpression(!1,l);return{type:"sizing",mode:R.mode,size:Yi.indexOf(g)+1,body:se}},htmlBuilder:Cs,mathmlBuilder:function(r,a){var l=a.havingSize(r.size),g=Ar(r.body,l),R=new it.MathNode("mstyle",g);return R.setAttribute("mathsize",l.sizeMultiplier+"em"),R}}),Qt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,a,l){var g=r.parser,R=!1,se=!1,De=l[0]&&ne(l[0],"ordgroup");if(De)for(var Je="",It=0;It<De.body.length;++It){var ar=De.body[It];if(Je=ar.text,Je==="t")R=!0;else if(Je==="b")se=!0;else{R=!1,se=!1;break}}else R=!0,se=!0;var pr=a[0];return{type:"smash",mode:g.mode,body:pr,smashHeight:R,smashDepth:se}},htmlBuilder:function(r,a){var l=d.makeSpan([],[Mt(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 R=0;R<l.children.length;R++)l.children[R].depth=0;var se=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a);return d.makeSpan(["mord"],[se],a)},mathmlBuilder:function(r,a){var l=new it.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,R=l[0],se=a[0];return{type:"sqrt",mode:g.mode,body:se,index:R}},htmlBuilder:function(r,a){var l=Mt(r.body,a.havingCrampedStyle());l.height===0&&(l.height=a.fontMetrics().xHeight),l=d.wrapFragment(l,a);var g=a.fontMetrics(),R=g.defaultRuleThickness,se=R;a.style.id<B.TEXT.id&&(se=a.fontMetrics().xHeight);var De=R+se/4,Je=l.height+l.depth+De+R,It=ma.sqrtImage(Je,a),ar=It.span,pr=It.ruleWidth,Wr=It.advanceWidth,Qr=ar.height-pr;Qr>l.height+l.depth+De&&(De=(De+Qr-l.height-l.depth)/2);var dn=ar.height-l.height-De-pr;l.style.paddingLeft=Wr+"em";var In=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:-(l.height+dn)},{type:"elem",elem:ar},{type:"kern",size:pr}]},a);if(r.index){var Gn=a.havingStyle(B.SCRIPTSCRIPT),Oa=Mt(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 it.MathNode("mroot",[Hr(l,a),Hr(g,a)]):new it.MathNode("msqrt",[Hr(l,a)])}});var fs={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.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,R=r.parser,se=R.parseExpression(!0,l),De=g.slice(1,g.length-5);return{type:"styling",mode:R.mode,style:De,body:se}},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),R=Ar(r.body,g),se=new it.MathNode("mstyle",R),De={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Je=De[r.style];return se.setAttribute("scriptlevel",Je[0]),se.setAttribute("displaystyle",Je[1]),se}});var Ts=function(r,a){var l=r.base;if(l)if(l.type==="op"){var g=l.limits&&(a.style.size===B.DISPLAY.size||l.alwaysHandleSupSub);return g?Ei:null}else if(l.type==="operatorname"){var R=l.alwaysHandleSupSub&&(a.style.size===B.DISPLAY.size||l.limits);return R?ss:null}else{if(l.type==="accent")return w.isCharacterBox(l.base)?qn:null;if(l.type==="horizBrace"){var se=!r.sub;return se===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,R=r.sup,se=r.sub,De=Mt(g,a),Je,It,ar=a.fontMetrics(),pr=0,Wr=0,Qr=g&&w.isCharacterBox(g);if(R){var dn=a.havingStyle(a.style.sup());Je=Mt(R,dn,a),Qr||(pr=De.height-dn.fontMetrics().supDrop*dn.sizeMultiplier/a.sizeMultiplier)}if(se){var In=a.havingStyle(a.style.sub());It=Mt(se,In,a),Qr||(Wr=De.depth+In.fontMetrics().subDrop*In.sizeMultiplier/a.sizeMultiplier)}var Gn;a.style===B.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(It){var t=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(De instanceof Ne||t)&&(e=-De.italic+"em")}var h;if(Je&&It){pr=Math.max(pr,Gn,Je.depth+.25*ar.xHeight),Wr=Math.max(Wr,ar.sub2);var C=ar.defaultRuleThickness,G=4*C;if(pr-Je.depth-(It.height-Wr)<G){Wr=G-(pr-Je.depth)+It.height;var ye=.8*ar.xHeight-(pr-Je.depth);ye>0&&(pr+=ye,Wr-=ye)}var Ue=[{type:"elem",elem:It,shift:Wr,marginRight:u,marginLeft:e},{type:"elem",elem:Je,shift:-pr,marginRight:u}];h=d.makeVList({positionType:"individualShift",children:Ue},a)}else if(It){Wr=Math.max(Wr,ar.sub1,It.height-.8*ar.xHeight);var qe=[{type:"elem",elem:It,marginLeft:e,marginRight:u}];h=d.makeVList({positionType:"shift",positionData:Wr,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(De,"right")||"mord";return d.makeSpan([Wt],[De,d.makeSpan(["msupsub"],[h])],a)},mathmlBuilder:function(r,a){var l=!1,g,R,se=Z(r.base,"horizBrace");se&&(R=!!r.sup,R===se.isOver&&(l=!0,g=se.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var De=[Hr(r.base,a)];r.sub&&De.push(Hr(r.sub,a)),r.sup&&De.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===B.DISPLAY||pr&&pr.type==="operatorname"&&pr.alwaysHandleSupSub&&(a.style===B.DISPLAY||pr.limits)?Je="munderover":Je="msubsup"}else{var ar=r.base;ar&&ar.type==="op"&&ar.limits&&(a.style===B.DISPLAY||ar.alwaysHandleSupSub)||ar&&ar.type==="operatorname"&&ar.alwaysHandleSupSub&&(ar.limits||a.style===B.DISPLAY)?Je="munder":Je="msub"}else{var It=r.base;It&&It.type==="op"&&It.limits&&(a.style===B.DISPLAY||It.alwaysHandleSupSub)||It&&It.type==="operatorname"&&It.alwaysHandleSupSub&&(It.limits||a.style===B.DISPLAY)?Je="mover":Je="msup"}var Wr=new it.MathNode(Je,De);return Wr}}),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 it.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 it.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",R;return r.mode==="text"?R=new it.MathNode("mtext",[l]):/[0-9]/.test(r.text)?R=new it.MathNode("mn",[l]):r.text==="\\prime"?R=new it.MathNode("mo",[l]):R=new it.MathNode("mi",[l]),g!==ki[R.type]&&R.setAttribute("mathvariant",g),R}});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 Q('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,a){var l;if(di.hasOwnProperty(r.text))l=new it.MathNode("mtext",[new it.TextNode("\xA0")]);else{if(bi.hasOwnProperty(r.text))return new it.MathNode("mspace");throw new Q('Unknown type of space "'+r.text+'"')}return l}});var ms=function(){var r=new it.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};tt({type:"tag",mathmlBuilder:function(r,a){var l=new it.MathNode("mtable",[new it.MathNode("mtr",[ms(),new it.MathNode("mtd",[Rr(r.body,a)]),ms(),new it.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,R=a[0];return{type:"text",mode:l.mode,body:Se(R),font:g}},htmlBuilder:function(r,a){var l=Os(r,a),g=Te(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=Mt(r.body,a),g=d.makeLineSpan("underline-line",a),R=a.fontMetrics().defaultRuleThickness,se=d.makeVList({positionType:"top",positionData:l.height,children:[{type:"kern",size:R},{type:"elem",elem:g},{type:"kern",size:3*R},{type:"elem",elem:l}]},a);return d.makeSpan(["mord","underline"],[se],a)},mathmlBuilder:function(r,a){var l=new it.MathNode("mo",[new it.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new it.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 Q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(r,a){for(var l=ps(r),g=[],R=a.havingStyle(a.style.text()),se=0;se<l.length;se++){var De=l[se];De==="~"&&(De="\\textasciitilde"),g.push(d.makeSymbol(De,"Typewriter-Regular",r.mode,R,["mord","texttt"]))}return d.makeSpan(["mord","text"].concat(R.sizingClasses(a)),d.tryCombineChars(g),R)},mathmlBuilder:function(r,a){var l=new it.TextNode(ps(r)),g=new it.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 te(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=te.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 ze("EOF",new L(this,g,g));var R=this.tokenRegex.exec(l);if(R===null||R.index!==g)throw new Q("Unexpected character: '"+l[g]+"'",new ze(l[g],new L(this,g,g+1)));var se=R[2]||" ";if(this.catcodes[se]===14){var De=l.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return De===-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=De+1,this.lex()}var Je=se.match(qi);return Je&&(se=Je[1]),new ze(se,new L(this,g,this.tokenRegex.lastIndex))},te}(),Is=function(){function te(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=te.prototype;return r.beginGroup=function(){this.undefStack.push({})},r.endGroup=function(){if(this.undefStack.length===0)throw new Q("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var 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,R){if(R===void 0&&(R=!1),R){for(var se=0;se<this.undefStack.length;se++)delete this.undefStack[se][l];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][l]=g)}else{var De=this.undefStack[this.undefStack.length-1];De&&!De.hasOwnProperty(l)&&(De[l]=this.current[l])}this.current[l]=g},te}(),cs={},us=cs;function ft(te,r){cs[te]=r}ft("\\@firstoftwo",function(te){var r=te.consumeArgs(2);return{tokens:r[0],numArgs:0}}),ft("\\@secondoftwo",function(te){var r=te.consumeArgs(2);return{tokens:r[1],numArgs:0}}),ft("\\@ifnextchar",function(te){var r=te.consumeArgs(3),a=te.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(te){var r=te.consumeArgs(2);return te.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(te){var r=te.popToken(),a,l="";if(r.text==="'")a=8,r=te.popToken();else if(r.text==='"')a=16,r=te.popToken();else if(r.text==="`")if(r=te.popToken(),r.text[0]==="\\")l=r.text.charCodeAt(1);else{if(r.text==="EOF")throw new Q("\\char` missing argument");l=r.text.charCodeAt(0)}else a=10;if(a){if(l=Zo[r.text],l==null||l>=a)throw new Q("Invalid base-"+a+" digit "+r.text);for(var g;(g=Zo[te.future().text])!=null&&g<a;)l*=a,l+=g,te.popToken()}return"\\@char{"+l+"}"});var Ui=function(r,a){var l=r.consumeArgs(1)[0];if(l.length!==1)throw new Q("\\gdef's first argument must be a macro name");var g=l[0].text,R=0;for(l=r.consumeArgs(1)[0];l.length===1&&l[0].text==="#";){if(l=r.consumeArgs(1)[0],l.length!==1)throw new Q('Invalid argument number length "'+l.length+'"');if(!/^[1-9]$/.test(l[0].text))throw new Q('Invalid argument number "'+l[0].text+'"');if(R++,parseInt(l[0].text)!==R)throw new Q('Argument number "'+l[0].text+'" out of order');l=r.consumeArgs(1)[0]}return r.macros.set(g,{tokens:l,numArgs:R},a),""};ft("\\gdef",function(te){return Ui(te,!0)}),ft("\\def",function(te){return Ui(te,!1)}),ft("\\global",function(te){var r=te.consumeArgs(1)[0];if(r.length!==1)throw new Q("Invalid command after \\global");var a=r[0].text;if(a==="\\def")return Ui(te,!0);throw new Q("Invalid command '"+a+"' after \\global")});var Zi=function(r,a,l){var g=r.consumeArgs(1)[0];if(g.length!==1)throw new Q("\\newcommand's first argument must be a macro name");var R=g[0].text,se=r.isDefined(R);if(se&&!a)throw new Q("\\newcommand{"+R+"} attempting to redefine "+(R+"; use \\renewcommand"));if(!se&&!l)throw new Q("\\renewcommand{"+R+"} when command "+R+" does not yet exist; use \\newcommand");var De=0;if(g=r.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var Je="",It=r.expandNextToken();It.text!=="]"&&It.text!=="EOF";)Je+=It.text,It=r.expandNextToken();if(!Je.match(/^\s*[0-9]+\s*$/))throw new Q("Invalid number of arguments: "+Je);De=parseInt(Je),g=r.consumeArgs(1)[0]}return r.macros.set(R,{tokens:g,numArgs:De}),""};ft("\\newcommand",function(te){return Zi(te,!1,!0)}),ft("\\renewcommand",function(te){return Zi(te,!0,!1)}),ft("\\providecommand",function(te){return Zi(te,!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(te){var r="\\dotso",a=te.expandAfterFuture().text;return a in ds?r=ds[a]:(a.substr(0,4)==="\\not"||a in Pr.math&&w.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(te){var r=te.future().text;return r in $i?"\\ldots\\,":"\\ldots"}),ft("\\dotsc",function(te){var r=te.future().text;return r in $i&&r!==","?"\\ldots\\,":"\\ldots"}),ft("\\cdots",function(te){var r=te.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(te){if(te.macros.get("\\df@tag"))throw new Q("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=Dt["Main-Regular"][84][1]-.7*Dt["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 te(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=te.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=[],R=0;R<l;++R){this.consumeSpaces();var se=this.popToken();if(se.text==="{"){for(var De=[],Je=1;Je!==0;){var It=this.popToken();if(De.push(It),It.text==="{")++Je;else if(It.text==="}")--Je;else if(It.text==="EOF")throw new Q("End of input in macro argument",se)}De.pop(),De.reverse(),g[R]=De}else{if(se.text==="EOF")throw new Q("End of input expecting macro argument");g[R]=[se]}}return g},r.expandOnce=function(){var l=this.popToken(),g=l.text,R=this._getExpansion(g);if(R==null)return this.pushToken(l),l;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new Q("Too many expansions: infinite loop or need to increase maxExpand setting");var se=R.tokens;if(R.numArgs){var De=this.consumeArgs(R.numArgs);se=se.slice();for(var Je=se.length-1;Je>=0;--Je){var It=se[Je];if(It.text==="#"){if(Je===0)throw new Q("Incomplete placeholder at end of macro body",It);if(It=se[--Je],It.text==="#")se.splice(Je+1,1);else if(/^[1-9]$/.test(It.text)){var ar;(ar=se).splice.apply(ar,[Je,2].concat(De[+It.text-1]))}else throw new Q("Not a valid argument number",It)}}}return this.pushTokens(se),se},r.expandAfterFuture=function(){return this.expandOnce(),this.future()},r.expandNextToken=function(){for(;;){var l=this.expandOnce();if(l instanceof ze)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=[],R=this.stack.length;for(this.pushToken(new ze(l));this.stack.length>R;){var se=this.expandOnce();se instanceof ze&&g.push(this.stack.pop())}return g}},r.expandMacroAsText=function(l){var g=this.expandMacro(l);return g&&g.map(function(R){return R.text}).join("")},r._getExpansion=function(l){var g=this.macros.get(l);if(g==null)return g;var R=typeof g=="function"?g(this):g;if(typeof R=="string"){var se=0;if(R.indexOf("#")!==-1)for(var De=R.replace(/##/g,"");De.indexOf("#"+(se+1))!==-1;)++se;for(var Je=new Wi(R,this.settings),It=[],ar=Je.lex();ar.text!=="EOF";)It.push(ar),ar=Je.lex();It.reverse();var pr={tokens:It,numArgs:se};return pr}return R},r.isDefined=function(l){return this.macros.has(l)||Hi.hasOwnProperty(l)||Pr.math.hasOwnProperty(l)||Pr.text.hasOwnProperty(l)||Qi.hasOwnProperty(l)},te}(),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 te(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=te.prototype;return r.expect=function(l,g){if(g===void 0&&(g=!0),this.fetch().text!==l)throw new Q("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 R=[];;){this.mode==="math"&&this.consumeSpaces();var se=this.fetch();if(te.endOfExpression.indexOf(se.text)!==-1||g&&se.text===g||l&&Hi[se.text]&&Hi[se.text].infix)break;var De=this.parseAtom(g);if(!De)break;R.push(De)}return this.mode==="text"&&this.formLigatures(R),this.handleInfixNodes(R)},r.handleInfixNodes=function(l){for(var g=-1,R,se=0;se<l.length;se++){var De=Z(l[se],"infix");if(De){if(g!==-1)throw new Q("only one infix operator per group",De.token);g=se,R=De.replaceWith}}if(g!==-1&&R){var Je,It,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"?It=pr[0]:It={type:"ordgroup",mode:this.mode,body:pr};var Wr;return R==="\\\\abovefrac"?Wr=this.callFunction(R,[Je,l[g],It],[]):Wr=this.callFunction(R,[Je,It],[]),[Wr]}else return l},r.handleSupSubscript=function(l){var g=this.fetch(),R=g.text;this.consume();var se=this.parseGroup(l,!1,te.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!se)throw new Q("Expected group after '"+R+"'",g);return se},r.formatUnsupportedCmd=function(l){for(var g=[],R=0;R<l.length;R++)g.push({type:"textord",mode:"text",text:l[R]});var se={type:"text",mode:this.mode,body:g},De={type:"color",mode:this.mode,color:this.settings.errorColor,body:[se]};return De},r.parseAtom=function(l){var g=this.parseGroup("atom",!1,null,l);if(this.mode==="text")return g;for(var R,se;;){this.consumeSpaces();var De=this.fetch();if(De.text==="\\limits"||De.text==="\\nolimits"){var Je=Z(g,"op");if(Je){var It=De.text==="\\limits";Je.limits=It,Je.alwaysHandleSupSub=!0}else if(Je=Z(g,"operatorname"),Je&&Je.alwaysHandleSupSub){var ar=De.text==="\\limits";Je.limits=ar}else throw new Q("Limit controls must follow a math operator",De);this.consume()}else if(De.text==="^"){if(R)throw new Q("Double superscript",De);R=this.handleSupSubscript("superscript")}else if(De.text==="_"){if(se)throw new Q("Double subscript",De);se=this.handleSupSubscript("subscript")}else if(De.text==="'"){if(R)throw new Q("Double superscript",De);var pr={type:"textord",mode:this.mode,text:"\\prime"},Wr=[pr];for(this.consume();this.fetch().text==="'";)Wr.push(pr),this.consume();this.fetch().text==="^"&&Wr.push(this.handleSupSubscript("superscript")),R={type:"ordgroup",mode:this.mode,body:Wr}}else break}return R||se?{type:"supsub",mode:this.mode,base:g,sup:R,sub:se}:g},r.parseFunction=function(l,g,R){var se=this.fetch(),De=se.text,Je=Hi[De];if(!Je)return null;if(this.consume(),R!=null&&Je.greediness<=R)throw new Q("Got function '"+De+"' with no arguments"+(g?" as "+g:""),se);if(this.mode==="text"&&!Je.allowedInText)throw new Q("Can't use function '"+De+"' in text mode",se);if(this.mode==="math"&&Je.allowedInMath===!1)throw new Q("Can't use function '"+De+"' in math mode",se);var It=this.parseArguments(De,Je),ar=It.args,pr=It.optArgs;return this.callFunction(De,ar,pr,se,l)},r.callFunction=function(l,g,R,se,De){var Je={funcName:l,parser:this,token:se,breakOnTokenText:De},It=Hi[l];if(It&&It.handler)return It.handler(Je,g,R);throw new Q("No function handler for "+l)},r.parseArguments=function(l,g){var R=g.numArgs+g.numOptionalArgs;if(R===0)return{args:[],optArgs:[]};for(var se=g.greediness,De=[],Je=[],It=0;It<R;It++){var ar=g.argTypes&&g.argTypes[It],pr=It<g.numOptionalArgs,Wr=It>0&&!pr||It===0&&!pr&&this.mode==="math",Qr=this.parseGroupOfType("argument to '"+l+"'",ar,pr,se,Wr);if(!Qr){if(pr){Je.push(null);continue}throw new Q("Expected group after '"+l+"'",this.fetch())}(pr?Je:De).push(Qr)}return{args:De,optArgs:Je}},r.parseGroupOfType=function(l,g,R,se,De){switch(g){case"color":return De&&this.consumeSpaces(),this.parseColorGroup(R);case"size":return De&&this.consumeSpaces(),this.parseSizeGroup(R);case"url":return this.parseUrlGroup(R,De);case"math":case"text":return this.parseGroup(l,R,se,void 0,g,De);case"hbox":{var Je=this.parseGroup(l,R,se,void 0,"text",De);if(!Je)return Je;var It={type:"styling",mode:Je.mode,body:[Je],style:"text"};return It}case"raw":{if(De&&this.consumeSpaces(),R&&this.fetch().text==="{")return null;var ar=this.parseStringGroup("raw",R,!0);if(ar)return{type:"raw",mode:"text",string:ar.text};throw new Q("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(l,R,se,void 0,void 0,De);default:throw new Q("Unknown group type as "+l,this.fetch())}},r.consumeSpaces=function(){for(;this.fetch().text===" ";)this.consume()},r.parseStringGroup=function(l,g,R){var se=g?"[":"{",De=g?"]":"}",Je=this.fetch();if(Je.text!==se){if(g)return null;if(R&&Je.text!=="EOF"&&/[^{}[\]]/.test(Je.text))return this.consume(),Je}var It=this.mode;this.mode="text",this.expect(se);for(var ar="",pr=this.fetch(),Wr=0,Qr=pr,dn;(dn=this.fetch()).text!==De||R&&Wr>0;){switch(dn.text){case"EOF":throw new Q("Unexpected end of input in "+l,pr.range(Qr,ar));case se:Wr++;break;case De:Wr--;break}Qr=dn,ar+=Qr.text,this.consume()}return this.expect(De),this.mode=It,pr.range(Qr,ar)},r.parseRegexGroup=function(l,g){var R=this.mode;this.mode="text";for(var se=this.fetch(),De=se,Je="",It;(It=this.fetch()).text!=="EOF"&&l.test(Je+It.text);)De=It,Je+=De.text,this.consume();if(Je==="")throw new Q("Invalid "+g+": '"+se.text+"'",se);return this.mode=R,se.range(De,Je)},r.parseColorGroup=function(l){var g=this.parseStringGroup("color",l);if(!g)return null;var R=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!R)throw new Q("Invalid color: '"+g.text+"'",g);var se=R[0];return/^[0-9a-f]{6}$/i.test(se)&&(se="#"+se),{type:"color-token",mode:this.mode,color:se}},r.parseSizeGroup=function(l){var g,R=!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",R=!0);var se=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(g.text);if(!se)throw new Q("Invalid size: '"+g.text+"'",g);var De={number:+(se[1]+se[2]),unit:se[3]};if(!jn(De))throw new Q("Invalid unit: '"+De.unit+"'",g);return{type:"size",mode:this.mode,value:De,isBlank:R}},r.parseUrlGroup=function(l,g){this.gullet.lexer.setCatcode("%",13);var R=this.parseStringGroup("url",l,!0);if(this.gullet.lexer.setCatcode("%",14),!R)return null;var se=R.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:se}},r.parseGroup=function(l,g,R,se,De,Je){var It=this.mode;De&&this.switchMode(De),Je&&this.consumeSpaces();var ar=this.fetch(),pr=ar.text,Wr;if(g?pr==="[":pr==="{"||pr==="\\begingroup"){this.consume();var Qr=te.endOfGroup[pr];this.gullet.beginGroup();var dn=this.parseExpression(!1,Qr),In=this.fetch();this.expect(Qr),this.gullet.endGroup(),Wr={type:"ordgroup",mode:this.mode,loc:L.range(ar,In),body:dn,semisimple:pr==="\\begingroup"||void 0}}else if(g)Wr=null;else if(Wr=this.parseFunction(se,l,R)||this.parseSymbol(),Wr==null&&pr[0]==="\\"&&!Qi.hasOwnProperty(pr)){if(this.settings.throwOnError)throw new Q("Undefined control sequence: "+pr,ar);Wr=this.formatUnsupportedCmd(pr),this.consume()}return De&&this.switchMode(It),Wr},r.formLigatures=function(l){for(var g=l.length-1,R=0;R<g;++R){var se=l[R],De=se.text;De==="-"&&l[R+1].text==="-"&&(R+1<g&&l[R+2].text==="-"?(l.splice(R,3,{type:"textord",mode:"text",loc:L.range(se,l[R+2]),text:"---"}),g-=2):(l.splice(R,2,{type:"textord",mode:"text",loc:L.range(se,l[R+1]),text:"--"}),g-=1)),(De==="'"||De==="`")&&l[R+1].text===De&&(l.splice(R,2,{type:"textord",mode:"text",loc:L.range(se,l[R+1]),text:De+De}),g-=1)}},r.parseSymbol=function(){var l=this.fetch(),g=l.text;if(/^\\verb[^a-zA-Z]/.test(g)){this.consume();var R=g.slice(5),se=R.charAt(0)==="*";if(se&&(R=R.slice(1)),R.length<2||R.charAt(0)!==R.slice(-1))throw new Q(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return R=R.slice(1,-1),{type:"verb",mode:"text",body:R,star:se}}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 De=Ai.exec(g);De&&(g=g.substring(0,De.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var Je;if(Pr[this.mode][g]){this.settings.strict&&this.mode==="math"&&Sn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',l);var It=Pr[this.mode][g].group,ar=L.range(l),pr;if(hr.hasOwnProperty(It)){var Wr=It;pr={type:"atom",mode:this.mode,family:Wr,loc:ar,text:g}}else pr={type:It,mode:this.mode,loc:ar,text:g};Je=pr}else if(g.charCodeAt(0)>=128)this.settings.strict&&(re(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:L.range(l),text:g};else return null;if(this.consume(),De)for(var Qr=0;Qr<De[0].length;Qr++){var dn=De[0][Qr];if(!wi[dn])throw new Q("Unknown accent ' "+dn+"'",l);var In=wi[dn][this.mode];if(!In)throw new Q("Accent "+dn+" unsupported in "+this.mode+" mode",l);Je={type:"accent",mode:this.mode,loc:L.range(l),label:In,isStretchy:!1,isShifty:!0,base:Je}}return Je},te}();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 Q("\\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,j=function(r,a,l){a.textContent="";var g=wr(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."),j=function(){throw new Q("KaTeX doesn't work in quirks mode.")});var $e=function(r,a){var l=wr(r,a).toMarkup();return l},Tt=function(r,a){var l=new E(a);return rs(r,l)},er=function(r,a,l){if(l.throwOnError||!(r instanceof Q))throw r;var g=d.makeSpan(["katex-error"],[new Ne(a)]);return g.setAttribute("title",r.toString()),g.setAttribute("style","color:"+l.errorColor),g},wr=function(r,a){var l=new E(a);try{var g=rs(r,l);return Nt(g,r,l)}catch(R){return er(R,r,l)}},_r=function(r,a){var l=new E(a);try{var g=rs(r,l);return ba(g,r,l)}catch(R){return er(R,r,l)}},cn={version:"0.11.1",render:j,renderToString:$e,ParseError:Q,__parse:Tt,__renderToDomTree:wr,__renderToHTMLTree:_r,__setFontMetrics:xt,__defineSymbol:x,__defineMacro:ft,__domTree:{Span:fe,Anchor:me,SymbolNode:Ne,SvgNode:Ye,PathNode:pt,LineNode:$t}},ta=n.default=cn}]).default})},23513:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Oa}});var o=n(40797),Xe=n(91378);class L{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 L(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class ze{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 ze(t,L.range(this,e))}}class Y{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,C,G,ye=t&&t.loc;if(ye&&ye.start<=ye.end){var Ue=ye.lexer.input;C=ye.start,G=ye.end,C===Ue.length?h+=" at end of input: ":h+=" at position "+(C+1)+": ";var qe=Ue.slice(C,G).replace(/[^]/g,"$&\u0332"),Wt;C>15?Wt="\u2026"+Ue.slice(C-15,C):Wt=Ue.slice(0,C);var ir;G+15<Ue.length?ir=Ue.slice(G,G+15)+"\u2026":ir=Ue.slice(G),h+=Wt+qe+ir}var yr=new Error(h);return yr.name="ParseError",yr.__proto__=Y.prototype,yr.position=C,C!=null&&G!=null&&(yr.length=G-C),yr.rawMessage=e,yr}}Y.prototype.__proto__=Error.prototype;var Q=function(e,t){return e===void 0?t:e},_=/([A-Z])/g,y=function(e){return e.replace(_,"-$1").toLowerCase()},U={"&":"&",">":">","<":"<",'"':""","'":"'"},c=/[&><"']/g;function T(u){return String(u).replace(c,e=>U[e])}var k=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},V=function(e){var t=k(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},z=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},K=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},O={deflt:Q,escape:T,hyphenate:y,getBaseElem:k,isCharacterBox:V,protocolFromUrl:K},D={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 w(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 E{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 D)if(D.hasOwnProperty(t)){var h=D[t];this[t]=e[t]!==void 0?h.processor?h.processor(e[t]):e[t]:w(h)}}reportNonstrict(e,t,h){var C=this.strict;if(typeof C=="function"&&(C=C(e,t,h)),!(!C||C==="ignore")){if(C===!0||C==="error")throw new Y("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),h);C==="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 '"+C+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,h){var C=this.strict;if(typeof C=="function")try{C=C(e,t,h)}catch(G){C="error"}return!C||C==="ignore"?!1:C===!0||C==="error"?!0:C==="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 '"+C+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var t=O.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 ie{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 J[we[this.id]]}sub(){return J[M[this.id]]}fracNum(){return J[I[this.id]]}fracDen(){return J[rt[this.id]]}cramp(){return J[ue[this.id]]}text(){return J[le[this.id]]}isTight(){return this.size>=2}}var X=0,q=1,Ee=2,Pe=3,et=4,He=5,Ce=6,be=7,J=[new ie(X,0,!1),new ie(q,0,!0),new ie(Ee,1,!1),new ie(Pe,1,!0),new ie(et,2,!1),new ie(He,2,!0),new ie(Ce,3,!1),new ie(be,3,!0)],we=[et,He,et,He,Ce,be,Ce,be],M=[He,He,He,He,be,be,be,be],I=[Ee,Pe,et,He,Ce,be,Ce,be],rt=[Pe,Pe,He,He,be,be,be,be],ue=[q,q,Pe,Pe,He,He,be,be],le=[X,q,Ee,Pe,Ee,Pe,Ee,Pe],B={DISPLAY:J[X],TEXT:J[Ee],SCRIPT:J[et],SCRIPTSCRIPT:J[Ce]},ae=[{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 W(u){for(var e=0;e<ae.length;e++)for(var t=ae[e],h=0;h<t.blocks.length;h++){var C=t.blocks[h];if(u>=C[0]&&u<=C[1])return t.name}return null}var A=[];ae.forEach(u=>u.blocks.forEach(e=>A.push(...e)));function re(u){for(var e=0;e<A.length;e+=2)if(u>=A[e]&&u<=A[e+1])return!0;return!1}var Ve=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"},st=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"},dt=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"},At=function(e,t,h){var C=h-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
|
|
|
H742v`+C+`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"},Fe=function(e,t,h){t=1e3*t;var C="";switch(e){case"sqrtMain":C=pe(t,Ve);break;case"sqrtSize1":C=Ze(t,Ve);break;case"sqrtSize2":C=st(t,Ve);break;case"sqrtSize3":C=dt(t,Ve);break;case"sqrtSize4":C=he(t,Ve);break;case"sqrtTall":C=At(t,Ve,h)}return C},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""}},N={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 ve{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 de={"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 Oe(u,e){de[u]=e}function xe(u,e,t){if(!de[e])throw new Error("Font metrics not found for font: "+e+".");var h=u.charCodeAt(0),C=de[e][h];if(!C&&u[0]in me&&(h=me[u[0]].charCodeAt(0),C=de[e][h]),!C&&t==="text"&&re(h)&&(C=de[e][77]),C)return{depth:C[0],height:C[1],italic:C[2],skew:C[3],width:C[4]}}var Ne={};function Ye(u){var e;if(u>=5?e=0:u>=3?e=1:e=2,!Ne[e]){var t=Ne[e]={cssEmPerMu:fe.quad[e]/18};for(var h in fe)fe.hasOwnProperty(h)&&(t[h]=fe[h][e])}return Ne[e]}var pt=[[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:pt[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 Dt={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 Dt||e in at||e==="ex"},xt=function(e,t){var h;if(e.unit in Dt)h=Dt[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")h=t.fontMetrics().cssEmPerMu;else{var C;if(t.style.isTight()?C=t.havingStyle(t.style.text()):C=t,e.unit==="ex")h=C.fontMetrics().xHeight;else if(e.unit==="em")h=C.fontMetrics().quad;else throw new Y("Invalid unit: '"+e.unit+"'");C!==t&&(h*=C.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*h,t.maxSize)},ht=function(e){return+e.toFixed(4)+"em"},tr=function(e){return e.filter(t=>t).join(" ")},mr=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 C=t.getColor();C&&(this.style.color=C)}},hr=function(e){var t=document.createElement(e);t.className=tr(this.classes);for(var h in this.style)this.style.hasOwnProperty(h)&&(t.style[h]=this.style[h]);for(var C in this.attributes)this.attributes.hasOwnProperty(C)&&t.setAttribute(C,this.attributes[C]);for(var G=0;G<this.children.length;G++)t.appendChild(this.children[G].toNode());return t},Ir=/[\s"'>/=\x00-\x1f]/,tn=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+O.escape(tr(this.classes))+'"');var h="";for(var C in this.style)this.style.hasOwnProperty(C)&&(h+=O.hyphenate(C)+":"+this.style[C]+";");h&&(t+=' style="'+O.escape(h)+'"');for(var G in this.attributes)if(this.attributes.hasOwnProperty(G)){if(Ir.test(G))throw new Y("Invalid attribute name '"+G+"'");t+=" "+G+'="'+O.escape(this.attributes[G])+'"'}t+=">";for(var ye=0;ye<this.children.length;ye++)t+=this.children[ye].toMarkup();return t+="</"+e+">",t};class Pr{constructor(e,t,h,C){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,mr.call(this,e,h,C),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 tn.call(this,"span")}}class x{constructor(e,t,h,C){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,mr.call(this,t,C),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 tn.call(this,"a")}}class F{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="'+O.escape(this.src)+'"'+(' alt="'+O.escape(this.alt)+'"'),t="";for(var h in this.style)this.style.hasOwnProperty(h)&&(t+=O.hyphenate(h)+":"+this.style[h]+";");return t&&(e+=' style="'+O.escape(t)+'"'),e+="'/>",e}}var wt={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class oe{constructor(e,t,h,C,G,ye,Ue,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=C||0,this.skew=G||0,this.width=ye||0,this.classes=Ue||[],this.style=qe||{},this.maxFontSize=0;var Wt=W(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=ht(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=tr(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+=O.escape(tr(this.classes)),t+='"');var h="";this.italic>0&&(h+="margin-right:"+this.italic+"em;");for(var C in this.style)this.style.hasOwnProperty(C)&&(h+=O.hyphenate(C)+":"+this.style[C]+";");h&&(e=!0,t+=' style="'+O.escape(h)+'"');var G=O.escape(this.text);return e?(t+=">",t+=G,t+="</span>",t):G}}class Be{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 C=0;C<this.children.length;C++)t.appendChild(this.children[C].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+'="'+O.escape(this.attributes[t])+'"');e+=">";for(var h=0;h<this.children.length;h++)e+=this.children[h].toMarkup();return e+="</svg>",e}}class kr{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",N[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+O.escape(this.alternate)+'"/>':'<path d="'+O.escape(N[this.pathName])+'"/>'}}class Br{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+'="'+O.escape(this.attributes[t])+'"');return e+="/>",e}}function wn(u){if(u instanceof oe)return u;throw new Error("Expected symbolNode but got "+String(u)+".")}function Fn(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},Sr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},sr={math:{},text:{}};function S(u,e,t,h,C,G){sr[u][C]={font:e,group:t,replace:h},G&&h&&(sr[u][h]=sr[u][C])}var v="math",Gt="text",$="main",Ae="ams",Cn="accent-token",Zr="bin",Ht="close",Vt="inner",br="mathord",Kr="op-token",an="open",An="punct",St="rel",Bt="spacing",We="textord";S(v,$,St,"\u2261","\\equiv",!0),S(v,$,St,"\u227A","\\prec",!0),S(v,$,St,"\u227B","\\succ",!0),S(v,$,St,"\u223C","\\sim",!0),S(v,$,St,"\u22A5","\\perp"),S(v,$,St,"\u2AAF","\\preceq",!0),S(v,$,St,"\u2AB0","\\succeq",!0),S(v,$,St,"\u2243","\\simeq",!0),S(v,$,St,"\u2223","\\mid",!0),S(v,$,St,"\u226A","\\ll",!0),S(v,$,St,"\u226B","\\gg",!0),S(v,$,St,"\u224D","\\asymp",!0),S(v,$,St,"\u2225","\\parallel"),S(v,$,St,"\u22C8","\\bowtie",!0),S(v,$,St,"\u2323","\\smile",!0),S(v,$,St,"\u2291","\\sqsubseteq",!0),S(v,$,St,"\u2292","\\sqsupseteq",!0),S(v,$,St,"\u2250","\\doteq",!0),S(v,$,St,"\u2322","\\frown",!0),S(v,$,St,"\u220B","\\ni",!0),S(v,$,St,"\u221D","\\propto",!0),S(v,$,St,"\u22A2","\\vdash",!0),S(v,$,St,"\u22A3","\\dashv",!0),S(v,$,St,"\u220B","\\owns"),S(v,$,An,".","\\ldotp"),S(v,$,An,"\u22C5","\\cdotp"),S(v,$,We,"#","\\#"),S(Gt,$,We,"#","\\#"),S(v,$,We,"&","\\&"),S(Gt,$,We,"&","\\&"),S(v,$,We,"\u2135","\\aleph",!0),S(v,$,We,"\u2200","\\forall",!0),S(v,$,We,"\u210F","\\hbar",!0),S(v,$,We,"\u2203","\\exists",!0),S(v,$,We,"\u2207","\\nabla",!0),S(v,$,We,"\u266D","\\flat",!0),S(v,$,We,"\u2113","\\ell",!0),S(v,$,We,"\u266E","\\natural",!0),S(v,$,We,"\u2663","\\clubsuit",!0),S(v,$,We,"\u2118","\\wp",!0),S(v,$,We,"\u266F","\\sharp",!0),S(v,$,We,"\u2662","\\diamondsuit",!0),S(v,$,We,"\u211C","\\Re",!0),S(v,$,We,"\u2661","\\heartsuit",!0),S(v,$,We,"\u2111","\\Im",!0),S(v,$,We,"\u2660","\\spadesuit",!0),S(v,$,We,"\xA7","\\S",!0),S(Gt,$,We,"\xA7","\\S"),S(v,$,We,"\xB6","\\P",!0),S(Gt,$,We,"\xB6","\\P"),S(v,$,We,"\u2020","\\dag"),S(Gt,$,We,"\u2020","\\dag"),S(Gt,$,We,"\u2020","\\textdagger"),S(v,$,We,"\u2021","\\ddag"),S(Gt,$,We,"\u2021","\\ddag"),S(Gt,$,We,"\u2021","\\textdaggerdbl"),S(v,$,Ht,"\u23B1","\\rmoustache",!0),S(v,$,an,"\u23B0","\\lmoustache",!0),S(v,$,Ht,"\u27EF","\\rgroup",!0),S(v,$,an,"\u27EE","\\lgroup",!0),S(v,$,Zr,"\u2213","\\mp",!0),S(v,$,Zr,"\u2296","\\ominus",!0),S(v,$,Zr,"\u228E","\\uplus",!0),S(v,$,Zr,"\u2293","\\sqcap",!0),S(v,$,Zr,"\u2217","\\ast"),S(v,$,Zr,"\u2294","\\sqcup",!0),S(v,$,Zr,"\u25EF","\\bigcirc",!0),S(v,$,Zr,"\u2219","\\bullet",!0),S(v,$,Zr,"\u2021","\\ddagger"),S(v,$,Zr,"\u2240","\\wr",!0),S(v,$,Zr,"\u2A3F","\\amalg"),S(v,$,Zr,"&","\\And"),S(v,$,St,"\u27F5","\\longleftarrow",!0),S(v,$,St,"\u21D0","\\Leftarrow",!0),S(v,$,St,"\u27F8","\\Longleftarrow",!0),S(v,$,St,"\u27F6","\\longrightarrow",!0),S(v,$,St,"\u21D2","\\Rightarrow",!0),S(v,$,St,"\u27F9","\\Longrightarrow",!0),S(v,$,St,"\u2194","\\leftrightarrow",!0),S(v,$,St,"\u27F7","\\longleftrightarrow",!0),S(v,$,St,"\u21D4","\\Leftrightarrow",!0),S(v,$,St,"\u27FA","\\Longleftrightarrow",!0),S(v,$,St,"\u21A6","\\mapsto",!0),S(v,$,St,"\u27FC","\\longmapsto",!0),S(v,$,St,"\u2197","\\nearrow",!0),S(v,$,St,"\u21A9","\\hookleftarrow",!0),S(v,$,St,"\u21AA","\\hookrightarrow",!0),S(v,$,St,"\u2198","\\searrow",!0),S(v,$,St,"\u21BC","\\leftharpoonup",!0),S(v,$,St,"\u21C0","\\rightharpoonup",!0),S(v,$,St,"\u2199","\\swarrow",!0),S(v,$,St,"\u21BD","\\leftharpoondown",!0),S(v,$,St,"\u21C1","\\rightharpoondown",!0),S(v,$,St,"\u2196","\\nwarrow",!0),S(v,$,St,"\u21CC","\\rightleftharpoons",!0),S(v,Ae,St,"\u226E","\\nless",!0),S(v,Ae,St,"\uE010","\\@nleqslant"),S(v,Ae,St,"\uE011","\\@nleqq"),S(v,Ae,St,"\u2A87","\\lneq",!0),S(v,Ae,St,"\u2268","\\lneqq",!0),S(v,Ae,St,"\uE00C","\\@lvertneqq"),S(v,Ae,St,"\u22E6","\\lnsim",!0),S(v,Ae,St,"\u2A89","\\lnapprox",!0),S(v,Ae,St,"\u2280","\\nprec",!0),S(v,Ae,St,"\u22E0","\\npreceq",!0),S(v,Ae,St,"\u22E8","\\precnsim",!0),S(v,Ae,St,"\u2AB9","\\precnapprox",!0),S(v,Ae,St,"\u2241","\\nsim",!0),S(v,Ae,St,"\uE006","\\@nshortmid"),S(v,Ae,St,"\u2224","\\nmid",!0),S(v,Ae,St,"\u22AC","\\nvdash",!0),S(v,Ae,St,"\u22AD","\\nvDash",!0),S(v,Ae,St,"\u22EA","\\ntriangleleft"),S(v,Ae,St,"\u22EC","\\ntrianglelefteq",!0),S(v,Ae,St,"\u228A","\\subsetneq",!0),S(v,Ae,St,"\uE01A","\\@varsubsetneq"),S(v,Ae,St,"\u2ACB","\\subsetneqq",!0),S(v,Ae,St,"\uE017","\\@varsubsetneqq"),S(v,Ae,St,"\u226F","\\ngtr",!0),S(v,Ae,St,"\uE00F","\\@ngeqslant"),S(v,Ae,St,"\uE00E","\\@ngeqq"),S(v,Ae,St,"\u2A88","\\gneq",!0),S(v,Ae,St,"\u2269","\\gneqq",!0),S(v,Ae,St,"\uE00D","\\@gvertneqq"),S(v,Ae,St,"\u22E7","\\gnsim",!0),S(v,Ae,St,"\u2A8A","\\gnapprox",!0),S(v,Ae,St,"\u2281","\\nsucc",!0),S(v,Ae,St,"\u22E1","\\nsucceq",!0),S(v,Ae,St,"\u22E9","\\succnsim",!0),S(v,Ae,St,"\u2ABA","\\succnapprox",!0),S(v,Ae,St,"\u2246","\\ncong",!0),S(v,Ae,St,"\uE007","\\@nshortparallel"),S(v,Ae,St,"\u2226","\\nparallel",!0),S(v,Ae,St,"\u22AF","\\nVDash",!0),S(v,Ae,St,"\u22EB","\\ntriangleright"),S(v,Ae,St,"\u22ED","\\ntrianglerighteq",!0),S(v,Ae,St,"\uE018","\\@nsupseteqq"),S(v,Ae,St,"\u228B","\\supsetneq",!0),S(v,Ae,St,"\uE01B","\\@varsupsetneq"),S(v,Ae,St,"\u2ACC","\\supsetneqq",!0),S(v,Ae,St,"\uE019","\\@varsupsetneqq"),S(v,Ae,St,"\u22AE","\\nVdash",!0),S(v,Ae,St,"\u2AB5","\\precneqq",!0),S(v,Ae,St,"\u2AB6","\\succneqq",!0),S(v,Ae,St,"\uE016","\\@nsubseteqq"),S(v,Ae,Zr,"\u22B4","\\unlhd"),S(v,Ae,Zr,"\u22B5","\\unrhd"),S(v,Ae,St,"\u219A","\\nleftarrow",!0),S(v,Ae,St,"\u219B","\\nrightarrow",!0),S(v,Ae,St,"\u21CD","\\nLeftarrow",!0),S(v,Ae,St,"\u21CF","\\nRightarrow",!0),S(v,Ae,St,"\u21AE","\\nleftrightarrow",!0),S(v,Ae,St,"\u21CE","\\nLeftrightarrow",!0),S(v,Ae,St,"\u25B3","\\vartriangle"),S(v,Ae,We,"\u210F","\\hslash"),S(v,Ae,We,"\u25BD","\\triangledown"),S(v,Ae,We,"\u25CA","\\lozenge"),S(v,Ae,We,"\u24C8","\\circledS"),S(v,Ae,We,"\xAE","\\circledR"),S(Gt,Ae,We,"\xAE","\\circledR"),S(v,Ae,We,"\u2221","\\measuredangle",!0),S(v,Ae,We,"\u2204","\\nexists"),S(v,Ae,We,"\u2127","\\mho"),S(v,Ae,We,"\u2132","\\Finv",!0),S(v,Ae,We,"\u2141","\\Game",!0),S(v,Ae,We,"\u2035","\\backprime"),S(v,Ae,We,"\u25B2","\\blacktriangle"),S(v,Ae,We,"\u25BC","\\blacktriangledown"),S(v,Ae,We,"\u25A0","\\blacksquare"),S(v,Ae,We,"\u29EB","\\blacklozenge"),S(v,Ae,We,"\u2605","\\bigstar"),S(v,Ae,We,"\u2222","\\sphericalangle",!0),S(v,Ae,We,"\u2201","\\complement",!0),S(v,Ae,We,"\xF0","\\eth",!0),S(Gt,$,We,"\xF0","\xF0"),S(v,Ae,We,"\u2571","\\diagup"),S(v,Ae,We,"\u2572","\\diagdown"),S(v,Ae,We,"\u25A1","\\square"),S(v,Ae,We,"\u25A1","\\Box"),S(v,Ae,We,"\u25CA","\\Diamond"),S(v,Ae,We,"\xA5","\\yen",!0),S(Gt,Ae,We,"\xA5","\\yen",!0),S(v,Ae,We,"\u2713","\\checkmark",!0),S(Gt,Ae,We,"\u2713","\\checkmark"),S(v,Ae,We,"\u2136","\\beth",!0),S(v,Ae,We,"\u2138","\\daleth",!0),S(v,Ae,We,"\u2137","\\gimel",!0),S(v,Ae,We,"\u03DD","\\digamma",!0),S(v,Ae,We,"\u03F0","\\varkappa"),S(v,Ae,an,"\u250C","\\@ulcorner",!0),S(v,Ae,Ht,"\u2510","\\@urcorner",!0),S(v,Ae,an,"\u2514","\\@llcorner",!0),S(v,Ae,Ht,"\u2518","\\@lrcorner",!0),S(v,Ae,St,"\u2266","\\leqq",!0),S(v,Ae,St,"\u2A7D","\\leqslant",!0),S(v,Ae,St,"\u2A95","\\eqslantless",!0),S(v,Ae,St,"\u2272","\\lesssim",!0),S(v,Ae,St,"\u2A85","\\lessapprox",!0),S(v,Ae,St,"\u224A","\\approxeq",!0),S(v,Ae,Zr,"\u22D6","\\lessdot"),S(v,Ae,St,"\u22D8","\\lll",!0),S(v,Ae,St,"\u2276","\\lessgtr",!0),S(v,Ae,St,"\u22DA","\\lesseqgtr",!0),S(v,Ae,St,"\u2A8B","\\lesseqqgtr",!0),S(v,Ae,St,"\u2251","\\doteqdot"),S(v,Ae,St,"\u2253","\\risingdotseq",!0),S(v,Ae,St,"\u2252","\\fallingdotseq",!0),S(v,Ae,St,"\u223D","\\backsim",!0),S(v,Ae,St,"\u22CD","\\backsimeq",!0),S(v,Ae,St,"\u2AC5","\\subseteqq",!0),S(v,Ae,St,"\u22D0","\\Subset",!0),S(v,Ae,St,"\u228F","\\sqsubset",!0),S(v,Ae,St,"\u227C","\\preccurlyeq",!0),S(v,Ae,St,"\u22DE","\\curlyeqprec",!0),S(v,Ae,St,"\u227E","\\precsim",!0),S(v,Ae,St,"\u2AB7","\\precapprox",!0),S(v,Ae,St,"\u22B2","\\vartriangleleft"),S(v,Ae,St,"\u22B4","\\trianglelefteq"),S(v,Ae,St,"\u22A8","\\vDash",!0),S(v,Ae,St,"\u22AA","\\Vvdash",!0),S(v,Ae,St,"\u2323","\\smallsmile"),S(v,Ae,St,"\u2322","\\smallfrown"),S(v,Ae,St,"\u224F","\\bumpeq",!0),S(v,Ae,St,"\u224E","\\Bumpeq",!0),S(v,Ae,St,"\u2267","\\geqq",!0),S(v,Ae,St,"\u2A7E","\\geqslant",!0),S(v,Ae,St,"\u2A96","\\eqslantgtr",!0),S(v,Ae,St,"\u2273","\\gtrsim",!0),S(v,Ae,St,"\u2A86","\\gtrapprox",!0),S(v,Ae,Zr,"\u22D7","\\gtrdot"),S(v,Ae,St,"\u22D9","\\ggg",!0),S(v,Ae,St,"\u2277","\\gtrless",!0),S(v,Ae,St,"\u22DB","\\gtreqless",!0),S(v,Ae,St,"\u2A8C","\\gtreqqless",!0),S(v,Ae,St,"\u2256","\\eqcirc",!0),S(v,Ae,St,"\u2257","\\circeq",!0),S(v,Ae,St,"\u225C","\\triangleq",!0),S(v,Ae,St,"\u223C","\\thicksim"),S(v,Ae,St,"\u2248","\\thickapprox"),S(v,Ae,St,"\u2AC6","\\supseteqq",!0),S(v,Ae,St,"\u22D1","\\Supset",!0),S(v,Ae,St,"\u2290","\\sqsupset",!0),S(v,Ae,St,"\u227D","\\succcurlyeq",!0),S(v,Ae,St,"\u22DF","\\curlyeqsucc",!0),S(v,Ae,St,"\u227F","\\succsim",!0),S(v,Ae,St,"\u2AB8","\\succapprox",!0),S(v,Ae,St,"\u22B3","\\vartriangleright"),S(v,Ae,St,"\u22B5","\\trianglerighteq"),S(v,Ae,St,"\u22A9","\\Vdash",!0),S(v,Ae,St,"\u2223","\\shortmid"),S(v,Ae,St,"\u2225","\\shortparallel"),S(v,Ae,St,"\u226C","\\between",!0),S(v,Ae,St,"\u22D4","\\pitchfork",!0),S(v,Ae,St,"\u221D","\\varpropto"),S(v,Ae,St,"\u25C0","\\blacktriangleleft"),S(v,Ae,St,"\u2234","\\therefore",!0),S(v,Ae,St,"\u220D","\\backepsilon"),S(v,Ae,St,"\u25B6","\\blacktriangleright"),S(v,Ae,St,"\u2235","\\because",!0),S(v,Ae,St,"\u22D8","\\llless"),S(v,Ae,St,"\u22D9","\\gggtr"),S(v,Ae,Zr,"\u22B2","\\lhd"),S(v,Ae,Zr,"\u22B3","\\rhd"),S(v,Ae,St,"\u2242","\\eqsim",!0),S(v,$,St,"\u22C8","\\Join"),S(v,Ae,St,"\u2251","\\Doteq",!0),S(v,Ae,Zr,"\u2214","\\dotplus",!0),S(v,Ae,Zr,"\u2216","\\smallsetminus"),S(v,Ae,Zr,"\u22D2","\\Cap",!0),S(v,Ae,Zr,"\u22D3","\\Cup",!0),S(v,Ae,Zr,"\u2A5E","\\doublebarwedge",!0),S(v,Ae,Zr,"\u229F","\\boxminus",!0),S(v,Ae,Zr,"\u229E","\\boxplus",!0),S(v,Ae,Zr,"\u22C7","\\divideontimes",!0),S(v,Ae,Zr,"\u22C9","\\ltimes",!0),S(v,Ae,Zr,"\u22CA","\\rtimes",!0),S(v,Ae,Zr,"\u22CB","\\leftthreetimes",!0),S(v,Ae,Zr,"\u22CC","\\rightthreetimes",!0),S(v,Ae,Zr,"\u22CF","\\curlywedge",!0),S(v,Ae,Zr,"\u22CE","\\curlyvee",!0),S(v,Ae,Zr,"\u229D","\\circleddash",!0),S(v,Ae,Zr,"\u229B","\\circledast",!0),S(v,Ae,Zr,"\u22C5","\\centerdot"),S(v,Ae,Zr,"\u22BA","\\intercal",!0),S(v,Ae,Zr,"\u22D2","\\doublecap"),S(v,Ae,Zr,"\u22D3","\\doublecup"),S(v,Ae,Zr,"\u22A0","\\boxtimes",!0),S(v,Ae,St,"\u21E2","\\dashrightarrow",!0),S(v,Ae,St,"\u21E0","\\dashleftarrow",!0),S(v,Ae,St,"\u21C7","\\leftleftarrows",!0),S(v,Ae,St,"\u21C6","\\leftrightarrows",!0),S(v,Ae,St,"\u21DA","\\Lleftarrow",!0),S(v,Ae,St,"\u219E","\\twoheadleftarrow",!0),S(v,Ae,St,"\u21A2","\\leftarrowtail",!0),S(v,Ae,St,"\u21AB","\\looparrowleft",!0),S(v,Ae,St,"\u21CB","\\leftrightharpoons",!0),S(v,Ae,St,"\u21B6","\\curvearrowleft",!0),S(v,Ae,St,"\u21BA","\\circlearrowleft",!0),S(v,Ae,St,"\u21B0","\\Lsh",!0),S(v,Ae,St,"\u21C8","\\upuparrows",!0),S(v,Ae,St,"\u21BF","\\upharpoonleft",!0),S(v,Ae,St,"\u21C3","\\downharpoonleft",!0),S(v,$,St,"\u22B6","\\origof",!0),S(v,$,St,"\u22B7","\\imageof",!0),S(v,Ae,St,"\u22B8","\\multimap",!0),S(v,Ae,St,"\u21AD","\\leftrightsquigarrow",!0),S(v,Ae,St,"\u21C9","\\rightrightarrows",!0),S(v,Ae,St,"\u21C4","\\rightleftarrows",!0),S(v,Ae,St,"\u21A0","\\twoheadrightarrow",!0),S(v,Ae,St,"\u21A3","\\rightarrowtail",!0),S(v,Ae,St,"\u21AC","\\looparrowright",!0),S(v,Ae,St,"\u21B7","\\curvearrowright",!0),S(v,Ae,St,"\u21BB","\\circlearrowright",!0),S(v,Ae,St,"\u21B1","\\Rsh",!0),S(v,Ae,St,"\u21CA","\\downdownarrows",!0),S(v,Ae,St,"\u21BE","\\upharpoonright",!0),S(v,Ae,St,"\u21C2","\\downharpoonright",!0),S(v,Ae,St,"\u21DD","\\rightsquigarrow",!0),S(v,Ae,St,"\u21DD","\\leadsto"),S(v,Ae,St,"\u21DB","\\Rrightarrow",!0),S(v,Ae,St,"\u21BE","\\restriction"),S(v,$,We,"\u2018","`"),S(v,$,We,"$","\\$"),S(Gt,$,We,"$","\\$"),S(Gt,$,We,"$","\\textdollar"),S(v,$,We,"%","\\%"),S(Gt,$,We,"%","\\%"),S(v,$,We,"_","\\_"),S(Gt,$,We,"_","\\_"),S(Gt,$,We,"_","\\textunderscore"),S(v,$,We,"\u2220","\\angle",!0),S(v,$,We,"\u221E","\\infty",!0),S(v,$,We,"\u2032","\\prime"),S(v,$,We,"\u25B3","\\triangle"),S(v,$,We,"\u0393","\\Gamma",!0),S(v,$,We,"\u0394","\\Delta",!0),S(v,$,We,"\u0398","\\Theta",!0),S(v,$,We,"\u039B","\\Lambda",!0),S(v,$,We,"\u039E","\\Xi",!0),S(v,$,We,"\u03A0","\\Pi",!0),S(v,$,We,"\u03A3","\\Sigma",!0),S(v,$,We,"\u03A5","\\Upsilon",!0),S(v,$,We,"\u03A6","\\Phi",!0),S(v,$,We,"\u03A8","\\Psi",!0),S(v,$,We,"\u03A9","\\Omega",!0),S(v,$,We,"A","\u0391"),S(v,$,We,"B","\u0392"),S(v,$,We,"E","\u0395"),S(v,$,We,"Z","\u0396"),S(v,$,We,"H","\u0397"),S(v,$,We,"I","\u0399"),S(v,$,We,"K","\u039A"),S(v,$,We,"M","\u039C"),S(v,$,We,"N","\u039D"),S(v,$,We,"O","\u039F"),S(v,$,We,"P","\u03A1"),S(v,$,We,"T","\u03A4"),S(v,$,We,"X","\u03A7"),S(v,$,We,"\xAC","\\neg",!0),S(v,$,We,"\xAC","\\lnot"),S(v,$,We,"\u22A4","\\top"),S(v,$,We,"\u22A5","\\bot"),S(v,$,We,"\u2205","\\emptyset"),S(v,Ae,We,"\u2205","\\varnothing"),S(v,$,br,"\u03B1","\\alpha",!0),S(v,$,br,"\u03B2","\\beta",!0),S(v,$,br,"\u03B3","\\gamma",!0),S(v,$,br,"\u03B4","\\delta",!0),S(v,$,br,"\u03F5","\\epsilon",!0),S(v,$,br,"\u03B6","\\zeta",!0),S(v,$,br,"\u03B7","\\eta",!0),S(v,$,br,"\u03B8","\\theta",!0),S(v,$,br,"\u03B9","\\iota",!0),S(v,$,br,"\u03BA","\\kappa",!0),S(v,$,br,"\u03BB","\\lambda",!0),S(v,$,br,"\u03BC","\\mu",!0),S(v,$,br,"\u03BD","\\nu",!0),S(v,$,br,"\u03BE","\\xi",!0),S(v,$,br,"\u03BF","\\omicron",!0),S(v,$,br,"\u03C0","\\pi",!0),S(v,$,br,"\u03C1","\\rho",!0),S(v,$,br,"\u03C3","\\sigma",!0),S(v,$,br,"\u03C4","\\tau",!0),S(v,$,br,"\u03C5","\\upsilon",!0),S(v,$,br,"\u03D5","\\phi",!0),S(v,$,br,"\u03C7","\\chi",!0),S(v,$,br,"\u03C8","\\psi",!0),S(v,$,br,"\u03C9","\\omega",!0),S(v,$,br,"\u03B5","\\varepsilon",!0),S(v,$,br,"\u03D1","\\vartheta",!0),S(v,$,br,"\u03D6","\\varpi",!0),S(v,$,br,"\u03F1","\\varrho",!0),S(v,$,br,"\u03C2","\\varsigma",!0),S(v,$,br,"\u03C6","\\varphi",!0),S(v,$,Zr,"\u2217","*",!0),S(v,$,Zr,"+","+"),S(v,$,Zr,"\u2212","-",!0),S(v,$,Zr,"\u22C5","\\cdot",!0),S(v,$,Zr,"\u2218","\\circ",!0),S(v,$,Zr,"\xF7","\\div",!0),S(v,$,Zr,"\xB1","\\pm",!0),S(v,$,Zr,"\xD7","\\times",!0),S(v,$,Zr,"\u2229","\\cap",!0),S(v,$,Zr,"\u222A","\\cup",!0),S(v,$,Zr,"\u2216","\\setminus",!0),S(v,$,Zr,"\u2227","\\land"),S(v,$,Zr,"\u2228","\\lor"),S(v,$,Zr,"\u2227","\\wedge",!0),S(v,$,Zr,"\u2228","\\vee",!0),S(v,$,We,"\u221A","\\surd"),S(v,$,an,"\u27E8","\\langle",!0),S(v,$,an,"\u2223","\\lvert"),S(v,$,an,"\u2225","\\lVert"),S(v,$,Ht,"?","?"),S(v,$,Ht,"!","!"),S(v,$,Ht,"\u27E9","\\rangle",!0),S(v,$,Ht,"\u2223","\\rvert"),S(v,$,Ht,"\u2225","\\rVert"),S(v,$,St,"=","="),S(v,$,St,":",":"),S(v,$,St,"\u2248","\\approx",!0),S(v,$,St,"\u2245","\\cong",!0),S(v,$,St,"\u2265","\\ge"),S(v,$,St,"\u2265","\\geq",!0),S(v,$,St,"\u2190","\\gets"),S(v,$,St,">","\\gt",!0),S(v,$,St,"\u2208","\\in",!0),S(v,$,St,"\uE020","\\@not"),S(v,$,St,"\u2282","\\subset",!0),S(v,$,St,"\u2283","\\supset",!0),S(v,$,St,"\u2286","\\subseteq",!0),S(v,$,St,"\u2287","\\supseteq",!0),S(v,Ae,St,"\u2288","\\nsubseteq",!0),S(v,Ae,St,"\u2289","\\nsupseteq",!0),S(v,$,St,"\u22A8","\\models"),S(v,$,St,"\u2190","\\leftarrow",!0),S(v,$,St,"\u2264","\\le"),S(v,$,St,"\u2264","\\leq",!0),S(v,$,St,"<","\\lt",!0),S(v,$,St,"\u2192","\\rightarrow",!0),S(v,$,St,"\u2192","\\to"),S(v,Ae,St,"\u2271","\\ngeq",!0),S(v,Ae,St,"\u2270","\\nleq",!0),S(v,$,Bt,"\xA0","\\ "),S(v,$,Bt,"\xA0","\\space"),S(v,$,Bt,"\xA0","\\nobreakspace"),S(Gt,$,Bt,"\xA0","\\ "),S(Gt,$,Bt,"\xA0"," "),S(Gt,$,Bt,"\xA0","\\space"),S(Gt,$,Bt,"\xA0","\\nobreakspace"),S(v,$,Bt,null,"\\nobreak"),S(v,$,Bt,null,"\\allowbreak"),S(v,$,An,",",","),S(v,$,An,";",";"),S(v,Ae,Zr,"\u22BC","\\barwedge",!0),S(v,Ae,Zr,"\u22BB","\\veebar",!0),S(v,$,Zr,"\u2299","\\odot",!0),S(v,$,Zr,"\u2295","\\oplus",!0),S(v,$,Zr,"\u2297","\\otimes",!0),S(v,$,We,"\u2202","\\partial",!0),S(v,$,Zr,"\u2298","\\oslash",!0),S(v,Ae,Zr,"\u229A","\\circledcirc",!0),S(v,Ae,Zr,"\u22A1","\\boxdot",!0),S(v,$,Zr,"\u25B3","\\bigtriangleup"),S(v,$,Zr,"\u25BD","\\bigtriangledown"),S(v,$,Zr,"\u2020","\\dagger"),S(v,$,Zr,"\u22C4","\\diamond"),S(v,$,Zr,"\u22C6","\\star"),S(v,$,Zr,"\u25C3","\\triangleleft"),S(v,$,Zr,"\u25B9","\\triangleright"),S(v,$,an,"{","\\{"),S(Gt,$,We,"{","\\{"),S(Gt,$,We,"{","\\textbraceleft"),S(v,$,Ht,"}","\\}"),S(Gt,$,We,"}","\\}"),S(Gt,$,We,"}","\\textbraceright"),S(v,$,an,"{","\\lbrace"),S(v,$,Ht,"}","\\rbrace"),S(v,$,an,"[","\\lbrack",!0),S(Gt,$,We,"[","\\lbrack",!0),S(v,$,Ht,"]","\\rbrack",!0),S(Gt,$,We,"]","\\rbrack",!0),S(v,$,an,"(","\\lparen",!0),S(v,$,Ht,")","\\rparen",!0),S(Gt,$,We,"<","\\textless",!0),S(Gt,$,We,">","\\textgreater",!0),S(v,$,an,"\u230A","\\lfloor",!0),S(v,$,Ht,"\u230B","\\rfloor",!0),S(v,$,an,"\u2308","\\lceil",!0),S(v,$,Ht,"\u2309","\\rceil",!0),S(v,$,We,"\\","\\backslash"),S(v,$,We,"\u2223","|"),S(v,$,We,"\u2223","\\vert"),S(Gt,$,We,"|","\\textbar",!0),S(v,$,We,"\u2225","\\|"),S(v,$,We,"\u2225","\\Vert"),S(Gt,$,We,"\u2225","\\textbardbl"),S(Gt,$,We,"~","\\textasciitilde"),S(Gt,$,We,"\\","\\textbackslash"),S(Gt,$,We,"^","\\textasciicircum"),S(v,$,St,"\u2191","\\uparrow",!0),S(v,$,St,"\u21D1","\\Uparrow",!0),S(v,$,St,"\u2193","\\downarrow",!0),S(v,$,St,"\u21D3","\\Downarrow",!0),S(v,$,St,"\u2195","\\updownarrow",!0),S(v,$,St,"\u21D5","\\Updownarrow",!0),S(v,$,Kr,"\u2210","\\coprod"),S(v,$,Kr,"\u22C1","\\bigvee"),S(v,$,Kr,"\u22C0","\\bigwedge"),S(v,$,Kr,"\u2A04","\\biguplus"),S(v,$,Kr,"\u22C2","\\bigcap"),S(v,$,Kr,"\u22C3","\\bigcup"),S(v,$,Kr,"\u222B","\\int"),S(v,$,Kr,"\u222B","\\intop"),S(v,$,Kr,"\u222C","\\iint"),S(v,$,Kr,"\u222D","\\iiint"),S(v,$,Kr,"\u220F","\\prod"),S(v,$,Kr,"\u2211","\\sum"),S(v,$,Kr,"\u2A02","\\bigotimes"),S(v,$,Kr,"\u2A01","\\bigoplus"),S(v,$,Kr,"\u2A00","\\bigodot"),S(v,$,Kr,"\u222E","\\oint"),S(v,$,Kr,"\u222F","\\oiint"),S(v,$,Kr,"\u2230","\\oiiint"),S(v,$,Kr,"\u2A06","\\bigsqcup"),S(v,$,Kr,"\u222B","\\smallint"),S(Gt,$,Vt,"\u2026","\\textellipsis"),S(v,$,Vt,"\u2026","\\mathellipsis"),S(Gt,$,Vt,"\u2026","\\ldots",!0),S(v,$,Vt,"\u2026","\\ldots",!0),S(v,$,Vt,"\u22EF","\\@cdots",!0),S(v,$,Vt,"\u22F1","\\ddots",!0),S(v,$,We,"\u22EE","\\varvdots"),S(Gt,$,We,"\u22EE","\\varvdots"),S(v,$,Cn,"\u02CA","\\acute"),S(v,$,Cn,"\u02CB","\\grave"),S(v,$,Cn,"\xA8","\\ddot"),S(v,$,Cn,"~","\\tilde"),S(v,$,Cn,"\u02C9","\\bar"),S(v,$,Cn,"\u02D8","\\breve"),S(v,$,Cn,"\u02C7","\\check"),S(v,$,Cn,"^","\\hat"),S(v,$,Cn,"\u20D7","\\vec"),S(v,$,Cn,"\u02D9","\\dot"),S(v,$,Cn,"\u02DA","\\mathring"),S(v,$,br,"\uE131","\\@imath"),S(v,$,br,"\uE237","\\@jmath"),S(v,$,We,"\u0131","\u0131"),S(v,$,We,"\u0237","\u0237"),S(Gt,$,We,"\u0131","\\i",!0),S(Gt,$,We,"\u0237","\\j",!0),S(Gt,$,We,"\xDF","\\ss",!0),S(Gt,$,We,"\xE6","\\ae",!0),S(Gt,$,We,"\u0153","\\oe",!0),S(Gt,$,We,"\xF8","\\o",!0),S(Gt,$,We,"\xC6","\\AE",!0),S(Gt,$,We,"\u0152","\\OE",!0),S(Gt,$,We,"\xD8","\\O",!0),S(Gt,$,Cn,"\u02CA","\\'"),S(Gt,$,Cn,"\u02CB","\\`"),S(Gt,$,Cn,"\u02C6","\\^"),S(Gt,$,Cn,"\u02DC","\\~"),S(Gt,$,Cn,"\u02C9","\\="),S(Gt,$,Cn,"\u02D8","\\u"),S(Gt,$,Cn,"\u02D9","\\."),S(Gt,$,Cn,"\xB8","\\c"),S(Gt,$,Cn,"\u02DA","\\r"),S(Gt,$,Cn,"\u02C7","\\v"),S(Gt,$,Cn,"\xA8",'\\"'),S(Gt,$,Cn,"\u02DD","\\H"),S(Gt,$,Cn,"\u25EF","\\textcircled");var jr={"--":!0,"---":!0,"``":!0,"''":!0};S(Gt,$,We,"\u2013","--",!0),S(Gt,$,We,"\u2013","\\textendash"),S(Gt,$,We,"\u2014","---",!0),S(Gt,$,We,"\u2014","\\textemdash"),S(Gt,$,We,"\u2018","`",!0),S(Gt,$,We,"\u2018","\\textquoteleft"),S(Gt,$,We,"\u2019","'",!0),S(Gt,$,We,"\u2019","\\textquoteright"),S(Gt,$,We,"\u201C","``",!0),S(Gt,$,We,"\u201C","\\textquotedblleft"),S(Gt,$,We,"\u201D","''",!0),S(Gt,$,We,"\u201D","\\textquotedblright"),S(v,$,We,"\xB0","\\degree",!0),S(Gt,$,We,"\xB0","\\degree"),S(Gt,$,We,"\xB0","\\textdegree",!0),S(v,$,We,"\xA3","\\pounds"),S(v,$,We,"\xA3","\\mathsterling",!0),S(Gt,$,We,"\xA3","\\pounds"),S(Gt,$,We,"\xA3","\\textsterling",!0),S(v,Ae,We,"\u2720","\\maltese"),S(Gt,Ae,We,"\u2720","\\maltese");for(var $r='0123456789/@."',Gr=0;Gr<$r.length;Gr++){var Sn=$r.charAt(Gr);S(v,$,We,Sn,Sn)}for(var na='0123456789!@*()-=+";:?/.,',mt=0;mt<na.length;mt++){var rr=na.charAt(mt);S(Gt,$,We,rr,rr)}for(var lr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",or=0;or<lr.length;or++){var Nr=lr.charAt(or);S(v,$,br,Nr,Nr),S(Gt,$,We,Nr,Nr)}S(v,Ae,We,"C","\u2102"),S(Gt,Ae,We,"C","\u2102"),S(v,Ae,We,"H","\u210D"),S(Gt,Ae,We,"H","\u210D"),S(v,Ae,We,"N","\u2115"),S(Gt,Ae,We,"N","\u2115"),S(v,Ae,We,"P","\u2119"),S(Gt,Ae,We,"P","\u2119"),S(v,Ae,We,"Q","\u211A"),S(Gt,Ae,We,"Q","\u211A"),S(v,Ae,We,"R","\u211D"),S(Gt,Ae,We,"R","\u211D"),S(v,Ae,We,"Z","\u2124"),S(Gt,Ae,We,"Z","\u2124"),S(v,$,br,"h","\u210E"),S(Gt,$,br,"h","\u210E");for(var Dr="",sn=0;sn<lr.length;sn++){var Tr=lr.charAt(sn);Dr=String.fromCharCode(55349,56320+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56372+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56424+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56580+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56684+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56736+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56788+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56840+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56944+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),sn<26&&(Dr=String.fromCharCode(55349,56632+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr),Dr=String.fromCharCode(55349,56476+sn),S(v,$,br,Tr,Dr),S(Gt,$,We,Tr,Dr))}Dr="\u{1D55C}",S(v,$,br,"k",Dr),S(Gt,$,We,"k",Dr);for(var mn=0;mn<10;mn++){var on=mn.toString();Dr=String.fromCharCode(55349,57294+mn),S(v,$,br,on,Dr),S(Gt,$,We,on,Dr),Dr=String.fromCharCode(55349,57314+mn),S(v,$,br,on,Dr),S(Gt,$,We,on,Dr),Dr=String.fromCharCode(55349,57324+mn),S(v,$,br,on,Dr),S(Gt,$,We,on,Dr),Dr=String.fromCharCode(55349,57334+mn),S(v,$,br,on,Dr),S(Gt,$,We,on,Dr)}for(var Mn="\xD0\xDE\xFE",jn=0;jn<Mn.length;jn++){var bn=Mn.charAt(jn);S(v,$,br,bn,bn),S(Gt,$,We,bn,bn)}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),C=e.charCodeAt(1),G=(h-55296)*1024+(C-56320)+65536,ye=t==="math"?0:1;if(119808<=G&&G<120484){var Ue=Math.floor((G-119808)/26);return[zn[Ue][2],zn[Ue][ye]]}else if(120782<=G&&G<=120831){var qe=Math.floor((G-120782)/10);return[ua[qe][2],ua[qe][ye]]}else{if(G===120485||G===120486)return[zn[0][2],zn[0][ye]];if(120486<G&&G<120782)return["",""];throw new Y("Unsupported character: "+e)}},$n=function(e,t,h){return sr[h][e]&&sr[h][e].replace&&(e=sr[h][e].replace),{value:e,metrics:xe(e,t,h)}},kn=function(e,t,h,C,G){var ye=$n(e,t,h),Ue=ye.metrics;e=ye.value;var qe;if(Ue){var Wt=Ue.italic;(h==="text"||C&&C.font==="mathit")&&(Wt=0),qe=new oe(e,Ue.height,Ue.depth,Wt,Ue.skew,Ue.width,G)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+h+"'")),qe=new oe(e,0,0,0,0,0,G);if(C){qe.maxFontSize=C.sizeMultiplier,C.style.isTight()&&qe.classes.push("mtight");var ir=C.getColor();ir&&(qe.style.color=ir)}return qe},Ea=function(e,t,h,C){return C===void 0&&(C=[]),h.font==="boldsymbol"&&$n(e,"Main-Bold",t).metrics?kn(e,"Main-Bold",t,h,C.concat(["mathbf"])):e==="\\"||sr[t][e].font==="main"?kn(e,"Main-Regular",t,h,C):kn(e,"AMS-Regular",t,h,C.concat(["amsrm"]))},Dn=function(e,t,h,C,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 C=e.mode,G=e.text,ye=["mord"],Ue=C==="math"||C==="text"&&t.font,qe=Ue?t.font:t.fontFamily,Wt="",ir="";if(G.charCodeAt(0)===55349&&([Wt,ir]=nn(G,C)),Wt.length>0)return kn(G,Wt,C,t,ye.concat(ir));if(qe){var yr,Ur;if(qe==="boldsymbol"){var Fr=Dn(G,C,t,ye,h);yr=Fr.fontName,Ur=[Fr.fontClass]}else Ue?(yr=p[qe].fontName,Ur=[qe]):(yr=s(qe,t.fontWeight,t.fontShape),Ur=[qe,t.fontWeight,t.fontShape]);if($n(G,yr,C).metrics)return kn(G,yr,C,t,ye.concat(Ur));if(jr.hasOwnProperty(G)&&yr.slice(0,10)==="Typewriter"){for(var un=[],pn=0;pn<G.length;pn++)un.push(kn(G[pn],yr,C,t,ye.concat(Ur)));return Ma(un)}}if(h==="mathord")return kn(G,"Math-Italic",C,t,ye.concat(["mathnormal"]));if(h==="textord"){var Nn=sr[C][G]&&sr[C][G].font;if(Nn==="ams"){var Tn=s("amsrm",t.fontWeight,t.fontShape);return kn(G,Tn,C,t,ye.concat("amsrm",t.fontWeight,t.fontShape))}else if(Nn==="main"||!Nn){var ca=s("textrm",t.fontWeight,t.fontShape);return kn(G,ca,C,t,ye.concat(t.fontWeight,t.fontShape))}else{var va=s(Nn,t.fontWeight,t.fontShape);return kn(G,va,C,t,ye.concat(va,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+h+" in makeOrd")},Kn=(u,e)=>{if(tr(u.classes)!==tr(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 C in e.style)if(e.style.hasOwnProperty(C)&&u.style[C]!==e.style[C])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 oe&&h instanceof oe&&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,C=0,G=0;G<e.children.length;G++){var ye=e.children[G];ye.height>t&&(t=ye.height),ye.depth>h&&(h=ye.depth),ye.maxFontSize>C&&(C=ye.maxFontSize)}e.height=t,e.depth=h,e.maxFontSize=C},On=function(e,t,h,C){var G=new Pr(e,t,h,C);return Jn(G),G},Bn=(u,e,t,h)=>new Pr(u,e,t,h),Yn=function(e,t,h){var C=On([e],[],t);return C.height=Math.max(h||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),C.style.borderBottomWidth=ht(C.height),C.maxFontSize=1,C},Ca=function(e,t,h,C){var G=new x(e,t,h,C);return Jn(G),G},Ma=function(e){var t=new ve(e);return Jn(t),t},ao=function(e,t){return e instanceof ve?On([],[e],t):e},ro=function(e){if(e.positionType==="individualShift"){for(var t=e.children,h=[t[0]],C=-t[0].shift-t[0].elem.depth,G=C,ye=1;ye<t.length;ye++){var Ue=-t[ye].shift-G-t[ye].elem.depth,qe=Ue-(t[ye-1].elem.height+t[ye-1].elem.depth);G=G+Ue,h.push({type:"kern",size:qe}),h.push(t[ye])}return{children:h,depth:C}}var Wt;if(e.positionType==="top"){for(var ir=e.positionData,yr=0;yr<e.children.length;yr++){var Ur=e.children[yr];ir-=Ur.type==="kern"?Ur.size:Ur.elem.height+Ur.elem.depth}Wt=ir}else if(e.positionType==="bottom")Wt=-e.positionData;else{var Fr=e.children[0];if(Fr.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Wt=-Fr.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Wt=-Fr.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:C}=ro(e),G=0,ye=0;ye<h.length;ye++){var Ue=h[ye];if(Ue.type==="elem"){var qe=Ue.elem;G=Math.max(G,qe.maxFontSize,qe.height)}}G+=2;var Wt=On(["pstrut"],[]);Wt.style.height=ht(G);for(var ir=[],yr=C,Ur=C,Fr=C,un=0;un<h.length;un++){var pn=h[un];if(pn.type==="kern")Fr+=pn.size;else{var Nn=pn.elem,Tn=pn.wrapperClasses||[],ca=pn.wrapperStyle||{},va=On(Tn,[Wt,Nn],void 0,ca);va.style.top=ht(-G-Fr-Nn.depth),pn.marginLeft&&(va.style.marginLeft=pn.marginLeft),pn.marginRight&&(va.style.marginRight=pn.marginRight),ir.push(va),Fr+=Nn.height+Nn.depth}yr=Math.min(yr,Fr),Ur=Math.max(Ur,Fr)}var Pa=On(["vlist"],ir);Pa.style.height=ht(Ur);var $a;if(yr<0){var Fa=On([],[]),Sa=On(["vlist"],[Fa]);Sa.style.height=ht(-yr);var fo=On(["vlist-s"],[new oe("\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=Ur,Ua.depth=-yr,Ua},f=(u,e)=>{var t=On(["mspace"],[],e),h=xt(u,e);return t.style.marginRight=ht(h),t},s=function(e,t,h){var C="";switch(e){case"amsrm":C="AMS";break;case"textrm":C="Main";break;case"textsf":C="SansSerif";break;case"texttt":C="Typewriter";break;default:C=e}var G;return t==="textbf"&&h==="textit"?G="BoldItalic":t==="textbf"?G="Bold":t==="textit"?G="Italic":G="Regular",C+"-"+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]},P=function(e,t){var[h,C,G]=b[e],ye=new kr(h),Ue=new Be([ye],{width:ht(C),height:ht(G),style:"width:"+ht(C),viewBox:"0 0 "+1e3*C+" "+1e3*G,preserveAspectRatio:"xMinYMin"}),qe=Bn(["overlay"],[Ue],t);return qe.height=G,qe.style.height=ht(G),qe.style.width=ht(C),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:P,svgData:b,tryCombineChars:Zn},ne={number:3,unit:"mu"},Z={number:4,unit:"mu"},ee={number:5,unit:"mu"},Ie={mord:{mop:ne,mbin:Z,mrel:ee,minner:ne},mop:{mord:ne,mop:ne,mrel:ee,minner:ne},mbin:{mord:Z,mop:Z,mopen:Z,minner:Z},mrel:{mord:ee,mop:ee,mopen:ee,minner:ee},mopen:{},mclose:{mop:ne,mbin:Z,mrel:ee,minner:ne},mpunct:{mord:ne,mop:ne,mrel:ee,mopen:ne,mclose:ne,mpunct:ne,minner:ne},minner:{mord:ne,mop:ne,mbin:Z,mrel:ee,mopen:ne,mpunct:ne,minner:ne}},ot={mord:{mop:ne},mop:{mord:ne,mop:ne},mbin:{},mrel:{},mopen:{},mclose:{mop:ne},mpunct:{},minner:{mop:ne}},Pt={},Et={},ge={};function nt(u){for(var{type:e,names:t,props:h,handler:C,htmlBuilder:G,mathmlBuilder:ye}=u,Ue={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:C},qe=0;qe<t.length;++qe)Pt[t[qe]]=Ue;e&&(G&&(Et[e]=G),ye&&(ge[e]=ye))}function gt(u){var{type:e,htmlBuilder:t,mathmlBuilder:h}=u;nt({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]},cr=d.makeSpan,Cr=["leftmost","mbin","mopen","mrel","mop","mpunct"],Qt=["rightmost","mrel","mclose","mpunct"],tt={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT},Se={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},kt=function(e,t,h,C){C===void 0&&(C=[null,null]);for(var G=[],ye=0;ye<e.length;ye++){var Ue=lt(e[ye],t);if(Ue instanceof ve){var qe=Ue.children;G.push(...qe)}else G.push(Ue)}if(d.tryCombineChars(G),!h)return G;var Wt=t;if(e.length===1){var ir=e[0];ir.type==="sizing"?Wt=t.havingSize(ir.size):ir.type==="styling"&&(Wt=t.havingStyle(tt[ir.style]))}var yr=cr([C[0]||"leftmost"],[],t),Ur=cr([C[1]||"rightmost"],[],t),Fr=h==="root";return Ft(G,(un,pn)=>{var Nn=pn.classes[0],Tn=un.classes[0];Nn==="mbin"&&Qt.includes(Tn)?pn.classes[0]="mord":Tn==="mbin"&&Cr.includes(Nn)&&(un.classes[0]="mord")},{node:yr},Ur,Fr),Ft(G,(un,pn)=>{var Nn=ke(pn),Tn=ke(un),ca=Nn&&Tn?un.hasClass("mtight")?ot[Nn][Tn]:Ie[Nn][Tn]:null;if(ca)return d.makeGlue(ca,Wt)},{node:yr},Ur,Fr),G},Ft=function u(e,t,h,C,G){C&&e.push(C);for(var ye=0;ye<e.length;ye++){var Ue=e[ye],qe=Ct(Ue);if(qe){u(qe.children,t,h,null,G);continue}var Wt=!Ue.hasClass("mspace");if(Wt){var ir=t(Ue,h.node);ir&&(h.insertAfter?h.insertAfter(ir):(e.unshift(ir),ye++))}Wt?h.node=Ue:G&&Ue.hasClass("newline")&&(h.node=cr(["leftmost"])),h.insertAfter=(yr=>Ur=>{e.splice(yr+1,0,Ur),ye++})(ye)}C&&e.pop()},Ct=function(e){return e instanceof ve||e instanceof x||e instanceof Pr&&e.hasClass("enclosing")?e:null},Jt=function u(e,t){var h=Ct(e);if(h){var C=h.children;if(C.length){if(t==="right")return u(C[C.length-1],"right");if(t==="left")return u(C[0],"left")}}return e},ke=function(e,t){return e?(t&&(e=Jt(e,t)),Se[e.classes[0]]||null):null},Te=function(e,t){var h=["nulldelimiter"].concat(e.baseSizingClasses());return cr(t.concat(h))},lt=function(e,t,h){if(!e)return cr();if(Et[e.type]){var C=Et[e.type](e,t);if(h&&t.size!==h.size){C=cr(t.sizingClasses(h),[C],t);var G=t.sizeMultiplier/h.sizeMultiplier;C.height*=G,C.depth*=G}return C}else throw new Y("Got group of unknown type: '"+e.type+"'")};function Ot(u,e){var t=cr(["base"],u,e),h=cr(["strut"]);return h.style.height=ht(t.height+t.depth),t.depth&&(h.style.verticalAlign=ht(-t.depth)),t.children.unshift(h),t}function dr(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"),C;h.length===2&&h[1].hasClass("tag")&&(C=h.pop());for(var G=[],ye=[],Ue=0;Ue<h.length;Ue++)if(ye.push(h[Ue]),h[Ue].hasClass("mbin")||h[Ue].hasClass("mrel")||h[Ue].hasClass("allowbreak")){for(var qe=!1;Ue<h.length-1&&h[Ue+1].hasClass("mspace")&&!h[Ue+1].hasClass("newline");)Ue++,ye.push(h[Ue]),h[Ue].hasClass("nobreak")&&(qe=!0);qe||(G.push(Ot(ye,e)),ye=[])}else h[Ue].hasClass("newline")&&(ye.pop(),ye.length>0&&(G.push(Ot(ye,e)),ye=[]),G.push(h[Ue]));ye.length>0&&G.push(Ot(ye,e));var Wt;t?(Wt=Ot(kt(t,e,!0)),Wt.classes=["tag"],G.push(Wt)):C&&G.push(C);var ir=cr(["katex-html"],G);if(ir.setAttribute("aria-hidden","true"),Wt){var yr=Wt.children[0];yr.style.height=ht(ir.height+ir.depth),ir.depth&&(yr.style.verticalAlign=ht(-ir.depth))}return ir}function vr(u){return new ve(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=tr(this.classes));for(var h=0;h<this.children.length;h++)if(this.children[h]instanceof Mt&&this.children[h+1]instanceof Mt){for(var C=this.children[h].toText()+this.children[++h].toText();this.children[h+1]instanceof Mt;)C+=this.children[++h].toText();e.appendChild(new Mt(C).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+=O.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+O.escape(tr(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 Mt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return O.escape(this.toText())}toText(){return this.text}}class ur{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",ht(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ht(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Yt={MathNode:Zt,TextNode:Mt,SpaceNode:ur,newDocumentFragment:vr},xr=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 C=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[C][G]&&sr[C][G].replace&&(G=sr[C][G].replace);var ye=d.fontMap[h].fontName;return xe(G,ye,C)?d.fontMap[h].variant:null};function jt(u){if(!u)return!1;if(u.type==="mi"&&u.children.length===1){var e=u.children[0];return e instanceof Mt&&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 Mt&&t.text===","}else return!1}var it=function(e,t,h){if(e.length===1){var C=nr(e[0],t);return h&&C instanceof Zt&&C.type==="mo"&&(C.setAttribute("lspace","0em"),C.setAttribute("rspace","0em")),[C]}for(var G=[],ye,Ue=0;Ue<e.length;Ue++){var qe=nr(e[Ue],t);if(qe instanceof Zt&&ye instanceof Zt){if(qe.type==="mtext"&&ye.type==="mtext"&&qe.getAttribute("mathvariant")===ye.getAttribute("mathvariant")){ye.children.push(...qe.children);continue}else if(qe.type==="mn"&&ye.type==="mn"){ye.children.push(...qe.children);continue}else if(jt(qe)&&ye.type==="mn"){ye.children.push(...qe.children);continue}else if(qe.type==="mn"&&jt(ye))qe.children=[...ye.children,...qe.children],G.pop();else if((qe.type==="msup"||qe.type==="msub")&&qe.children.length>=1&&(ye.type==="mn"||jt(ye))){var Wt=qe.children[0];Wt instanceof Zt&&Wt.type==="mn"&&(Wt.children=[...ye.children,...Wt.children],G.pop())}else if(ye.type==="mi"&&ye.children.length===1){var ir=ye.children[0];if(ir instanceof Mt&&ir.text==="\u0338"&&(qe.type==="mo"||qe.type==="mi"||qe.type==="mn")){var yr=qe.children[0];yr instanceof Mt&&yr.text.length>0&&(yr.text=yr.text.slice(0,1)+"\u0338"+yr.text.slice(1),G.pop())}}}G.push(qe),ye=qe}return G},qt=function(e,t,h){return je(it(e,t,h))},nr=function(e,t){if(!e)return new Yt.MathNode("mrow");if(ge[e.type]){var h=ge[e.type](e,t);return h}else throw new Y("Got group of unknown type: '"+e.type+"'")};function Or(u,e,t,h,C){var G=it(u,t),ye;G.length===1&&G[0]instanceof Zt&&["mrow","mtable"].includes(G[0].type)?ye=G[0]:ye=new Yt.MathNode("mrow",G);var Ue=new Yt.MathNode("annotation",[new Yt.TextNode(e)]);Ue.setAttribute("encoding","application/x-tex");var qe=new Yt.MathNode("semantics",[ye,Ue]),Wt=new Yt.MathNode("math",[qe]);Wt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&Wt.setAttribute("display","block");var ir=C?"katex":"katex-mathml";return d.makeSpan([ir],[Wt])}var Ar=function(e){return new Ut({style:e.displayMode?B.DISPLAY:B.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 C=Ar(h),G;if(h.output==="mathml")return Or(e,t,C,h.displayMode,!0);if(h.output==="html"){var ye=dr(e,C);G=d.makeSpan(["katex"],[ye])}else{var Ue=Or(e,t,C,h.displayMode,!1),qe=dr(e,C);G=d.makeSpan(["katex"],[Ue,qe])}return Rr(G,h)},ln=function(e,t,h){var C=Ar(h),G=dr(e,C),ye=d.makeSpan(["katex"],[G]);return Rr(ye,h)},yn={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(yn[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Nt={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 Ue=4e5,qe=e.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(qe)){var Wt=e,ir=ba(Wt.base),yr,Ur,Fr;if(ir>5)qe==="widehat"||qe==="widecheck"?(yr=420,Ue=2364,Fr=.42,Ur=qe+"4"):(yr=312,Ue=2340,Fr=.34,Ur="tilde4");else{var un=[1,1,2,2,3,3][ir];qe==="widehat"||qe==="widecheck"?(Ue=[0,1062,2364,2364,2364][un],yr=[0,239,300,360,420][un],Fr=[0,.24,.3,.3,.36,.42][un],Ur=qe+un):(Ue=[0,600,1033,2339,2340][un],yr=[0,260,286,306,312][un],Fr=[0,.26,.286,.3,.306,.34][un],Ur="tilde"+un)}var pn=new kr(Ur),Nn=new Be([pn],{width:"100%",height:ht(Fr),viewBox:"0 0 "+Ue+" "+yr,preserveAspectRatio:"none"});return{span:d.makeSvgSpan([],[Nn],t),minWidth:0,height:Fr}}else{var Tn=[],ca=Nt[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 kr(va[jo]),ri=new Be([vo],{width:"400em",height:ht(Fa),viewBox:"0 0 "+Ue+" "+$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=ht(Fa),Tn.push(Oo)}return{span:d.makeSpan(["stretchy"],Tn,t),minWidth:Pa,height:Fa}}}var{span:C,minWidth:G,height:ye}=h();return C.height=ye,C.style.height=ht(ye),G>0&&(C.style.minWidth=ht(G)),C},Wn=function(e,t,h,C,G){var ye,Ue=e.height+e.depth+h+C;if(/fbox|color|angl/.test(t)){if(ye=d.makeSpan(["stretchy",t],[],G),t==="fbox"){var qe=G.color&&G.getColor();qe&&(ye.style.borderColor=qe)}}else{var Wt=[];/^[bx]cancel$/.test(t)&&Wt.push(new Br({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&Wt.push(new Br({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ir=new Be(Wt,{width:"100%",height:ht(Ue)});ye=d.makeSvgSpan([],[ir],G)}return ye.height=Ue,ye.style.height=ht(Ue),ye},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"||Sr.hasOwnProperty(u.type))?u:null}var _n=(u,e)=>{var t,h,C;u&&u.type==="supsub"?(h=Vr(u.base,"accent"),t=h.base,u.base=t,C=Fn(lt(u,e)),u.base=h):(h=Vr(u,"accent"),t=h.base);var G=lt(t,e.havingCrampedStyle()),ye=h.isShifty&&O.isCharacterBox(t),Ue=0;if(ye){var qe=O.getBaseElem(t),Wt=lt(qe,e.havingCrampedStyle());Ue=wn(Wt).skew}var ir=h.label==="\\c",yr=ir?G.height+G.depth:Math.min(G.height,e.fontMetrics().xHeight),Ur;if(h.isStretchy)Ur=Jr.svgSpan(h,e),Ur=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:G},{type:"elem",elem:Ur,wrapperClasses:["svg-align"],wrapperStyle:Ue>0?{width:"calc(100% - "+ht(2*Ue)+")",marginLeft:ht(2*Ue)}:void 0}]},e);else{var Fr,un;h.label==="\\vec"?(Fr=d.staticSvg("vec",e),un=d.svgData.vec[1]):(Fr=d.makeOrd({mode:h.mode,text:h.label},e,"textord"),Fr=wn(Fr),Fr.italic=0,un=Fr.width,ir&&(yr+=Fr.depth)),Ur=d.makeSpan(["accent-body"],[Fr]);var pn=h.label==="\\textcircled";pn&&(Ur.classes.push("accent-full"),yr=G.height);var Nn=Ue;pn||(Nn-=un/2),Ur.style.left=ht(Nn),h.label==="\\textcircled"&&(Ur.style.top=".2em"),Ur=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:G},{type:"kern",size:-yr},{type:"elem",elem:Ur}]},e)}var Tn=d.makeSpan(["mord","accent"],[Ur],e);return C?(C.children[0]=Tn,C.height=Math.max(Tn.height,C.height),C.classes[0]="mord",C):Tn},xa=(u,e)=>{var t=u.isStretchy?Jr.mathMLnode(u.label):new Yt.MathNode("mo",[xr(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("|"));nt({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),C=!h||u.funcName==="\\widehat"||u.funcName==="\\widetilde"||u.funcName==="\\widecheck";return{type:"accent",mode:u.parser.mode,label:u.funcName,isStretchy:h,isShifty:C,base:t}},htmlBuilder:_n,mathmlBuilder:xa}),nt({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}),nt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(u,e)=>{var{parser:t,funcName:h}=u,C=e[0];return{type:"accentUnder",mode:t.mode,label:h,base:C}},htmlBuilder:(u,e)=>{var t=lt(u.base,e),h=Jr.svgSpan(u,e),C=u.label==="\\utilde"?.12:0,G=d.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:C},{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};nt({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:C}=u;return{type:"xArrow",mode:h.mode,label:C,body:e[0],below:t[0]}},htmlBuilder(u,e){var t=e.style,h=e.havingStyle(t.sup()),C=d.wrapFragment(lt(u.body,h,e),e),G=u.label.slice(0,2)==="\\x"?"x":"cd";C.classes.push(G+"-arrow-pad");var ye;u.below&&(h=e.havingStyle(t.sub()),ye=d.wrapFragment(lt(u.below,h,e),e),ye.classes.push(G+"-arrow-pad"));var Ue=Jr.svgSpan(u,e),qe=-e.fontMetrics().axisHeight+.5*Ue.height,Wt=-e.fontMetrics().axisHeight-.5*Ue.height-.111;(C.depth>.25||u.label==="\\xleftequilibrium")&&(Wt-=C.depth);var ir;if(ye){var yr=-e.fontMetrics().axisHeight+ye.height+.5*Ue.height+.111;ir=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:C,shift:Wt},{type:"elem",elem:Ue,shift:qe},{type:"elem",elem:ye,shift:yr}]},e)}else ir=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:C,shift:Wt},{type:"elem",elem:Ue,shift:qe}]},e);return ir.children[0].children[0].children[1].classes.push("svg-align"),d.makeSpan(["mrel","x-arrow"],[ir],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 C=Qn(nr(u.body,e));if(u.below){var G=Qn(nr(u.below,e));h=new Yt.MathNode("munderover",[t,G,C])}else h=new Yt.MathNode("mover",[t,C])}else if(u.below){var ye=Qn(nr(u.below,e));h=new Yt.MathNode("munder",[t,ye])}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=it(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}nt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(u,e){var{parser:t,funcName:h}=u,C=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+h.slice(5),body:ct(C),isCharacterBox:O.isCharacterBox(C)}},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"};nt({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:O.isCharacterBox(e[1])}}}),nt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(u,e){var{parser:t,funcName:h}=u,C=e[1],G=e[0],ye;h!=="\\stackrel"?ye=ea(C):ye="mrel";var Ue={type:"op",mode:C.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:ct(C)},qe={type:"supsub",mode:G.mode,base:Ue,sup:h==="\\underset"?null:G,sub:h==="\\underset"?G:null};return{type:"mclass",mode:t.mode,mclass:ye,body:[qe],isCharacterBox:O.isCharacterBox(qe)}},htmlBuilder:ra,mathmlBuilder:Hn}),nt({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=it(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 fn(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 C=t.callFunction("\\\\cdleft",[e[0]],[]),G={type:"atom",text:h,mode:"math",family:"rel"},ye=t.callFunction("\\Big",[G],[]),Ue=t.callFunction("\\\\cdright",[e[1]],[]),qe={type:"ordgroup",mode:"math",body:[C,ye,Ue]};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 Y("Expected \\\\ or \\cr or \\end",u.nextToken)}for(var h=[],C=[h],G=0;G<e.length;G++){for(var ye=e[G],Ue=Ln(),qe=0;qe<ye.length;qe++)if(!Xn(ye[qe]))Ue.body.push(ye[qe]);else{h.push(Ue),qe+=1;var Wt=En(ye[qe]).text,ir=new Array(2);if(ir[0]={type:"ordgroup",mode:"math",body:[]},ir[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Wt)>-1))if("<>AV".indexOf(Wt)>-1)for(var yr=0;yr<2;yr++){for(var Ur=!0,Fr=qe+1;Fr<ye.length;Fr++){if(rn(ye[Fr],Wt)){Ur=!1,qe=Fr;break}if(Xn(ye[Fr]))throw new Y("Missing a "+Wt+" character to complete a CD arrow.",ye[Fr]);ir[yr].body.push(ye[Fr])}if(Ur)throw new Y("Missing a "+Wt+" character to complete a CD arrow.",ye[qe])}else throw new Y('Expected one of "<>AV=|." after @',ye[qe]);var un=fn(Wt,ir,u),pn={type:"styling",body:[un],mode:"math",style:"display"};h.push(pn),Ue=Ln()}G%2===0?h.push(Ue):h.shift(),h=[],C.push(h)}u.gullet.endGroup(),u.gullet.endGroup();var Nn=new Array(C[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:C,arraystretch:1,addJot:!0,rowGaps:[null],cols:Nn,colSeparationType:"CD",hLinesBeforeRow:new Array(C.length+1).fill([])}}nt({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=ht(.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}}),nt({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)])}}),nt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(u,e){for(var{parser:t}=u,h=Vr(e[0],"ordgroup"),C=h.body,G="",ye=0;ye<C.length;ye++){var Ue=Vr(C[ye],"textord");G+=Ue.text}var qe=parseInt(G),Wt;if(isNaN(qe))throw new Y("\\@char has non-numeric argument "+G);if(qe<0||qe>=1114111)throw new Y("\\@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 xn=(u,e)=>{var t=kt(u.body,e.withColor(u.color),!1);return d.makeFragment(t)},ha=(u,e)=>{var t=it(u.body,e.withColor(u.color)),h=new Yt.MathNode("mstyle",t);return h.setAttribute("mathcolor",u.color),h};nt({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,C=e[1];return{type:"color",mode:t.mode,color:h,body:ct(C)}},htmlBuilder:xn,mathmlBuilder:ha}),nt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(u,e){var{parser:t,breakOnTokenText:h}=u,C=Vr(e[0],"color-token").color;t.gullet.macros.set("\\current@color",C);var G=t.parseExpression(!0,h);return{type:"color",mode:t.mode,color:C,body:G}},htmlBuilder:xn,mathmlBuilder:ha}),nt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(u,e,t){var{parser:h}=u,C=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:C&&Vr(C,"size").value}},htmlBuilder(u,e){var t=d.makeSpan(["mspace"],[],e);return u.newLine&&(t.classes.push("newline"),u.size&&(t.style.marginTop=ht(xt(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",ht(xt(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 Y("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},vn=(u,e,t,h)=>{var C=u.gullet.macros.get(t.text);C==null&&(t.noexpand=!0,C={tokens:[t],numArgs:0,unexpandable:!u.gullet.isExpandable(t.text)}),u.gullet.macros.set(e,C,h)};nt({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 Y("Invalid token after macro prefix",h)}}),nt({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(),C=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(C))throw new Y("Expected a control sequence",h);for(var G=0,ye,Ue=[[]];e.gullet.future().text!=="{";)if(h=e.gullet.popToken(),h.text==="#"){if(e.gullet.future().text==="{"){ye=e.gullet.future(),Ue[G].push("{");break}if(h=e.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new Y('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==G+1)throw new Y('Argument number "'+h.text+'" out of order');G++,Ue.push([])}else{if(h.text==="EOF")throw new Y("Expected a macro definition");Ue[G].push(h.text)}var{tokens:qe}=e.gullet.consumeArg();return ye&&qe.unshift(ye),(t==="\\edef"||t==="\\xdef")&&(qe=e.gullet.expandTokens(qe),qe.reverse()),e.gullet.macros.set(C,{tokens:qe,numArgs:G,delimiters:Ue},t===Vn[t]),{type:"internal",mode:e.mode}}}),nt({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 C=qa(e);return vn(e,h,C,t==="\\\\globallet"),{type:"internal",mode:e.mode}}}),nt({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()),C=e.gullet.popToken(),G=e.gullet.popToken();return vn(e,h,G,t==="\\\\globalfuture"),e.gullet.pushToken(G),e.gullet.pushToken(C),{type:"internal",mode:e.mode}}});var Pn=function(e,t,h){var C=sr.math[e]&&sr.math[e].replace,G=xe(C||e,t,h);if(!G)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return G},fa=function(e,t,h,C){var G=h.havingBaseStyle(t),ye=d.makeSpan(C.concat(G.sizingClasses(h)),[e],h),Ue=G.sizeMultiplier/h.sizeMultiplier;return ye.height*=Ue,ye.depth*=Ue,ye.maxFontSize=G.sizeMultiplier,ye},Ja=function(e,t,h){var C=t.havingBaseStyle(h),G=(1-t.sizeMultiplier/C.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ht(G),e.height-=G,e.depth+=G},Ga=function(e,t,h,C,G,ye){var Ue=d.makeSymbol(e,"Main-Regular",G,C),qe=fa(Ue,t,C,ye);return h&&Ja(qe,C,t),qe},io=function(e,t,h,C){return d.makeSymbol(e,"Size"+t+"-Regular",h,C)},so=function(e,t,h,C,G,ye){var Ue=io(e,t,G,C),qe=fa(d.makeSpan(["delimsizing","size"+t],[Ue],C),B.TEXT,C,ye);return h&&Ja(qe,C,B.TEXT),qe},la=function(e,t,h){var C;t==="Size1-Regular"?C="delim-size1":C="delim-size4";var G=d.makeSpan(["delimsizinginner",C],[d.makeSpan([],[d.makeSymbol(e,t,h)])]);return{type:"elem",elem:G}},Io=function(e,t,h){var C=de["Size4-Regular"][e.charCodeAt(0)]?de["Size4-Regular"][e.charCodeAt(0)][4]:de["Size1-Regular"][e.charCodeAt(0)][4],G=new kr("inner",Re(e,Math.round(1e3*t))),ye=new Be([G],{width:ht(C),height:ht(t),style:"width:"+ht(C),viewBox:"0 0 "+1e3*C+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),Ue=d.makeSvgSpan([],[ye],h);return Ue.height=t,Ue.style.height=ht(t),Ue.style.width=ht(C),{type:"elem",elem:Ue}},Aa=.008,ja={type:"kern",size:-1*Aa},Ta=["|","\\lvert","\\rvert","\\vert"],Na=["\\|","\\lVert","\\rVert","\\Vert"],Ba=function(e,t,h,C,G,ye){var Ue,qe,Wt,ir,yr="",Ur=0;Ue=Wt=ir=e,qe=null;var Fr="Size1-Regular";e==="\\uparrow"?Wt=ir="\u23D0":e==="\\Uparrow"?Wt=ir="\u2016":e==="\\downarrow"?Ue=Wt="\u23D0":e==="\\Downarrow"?Ue=Wt="\u2016":e==="\\updownarrow"?(Ue="\\uparrow",Wt="\u23D0",ir="\\downarrow"):e==="\\Updownarrow"?(Ue="\\Uparrow",Wt="\u2016",ir="\\Downarrow"):Ta.includes(e)?(Wt="\u2223",yr="vert",Ur=333):Na.includes(e)?(Wt="\u2225",yr="doublevert",Ur=556):e==="["||e==="\\lbrack"?(Ue="\u23A1",Wt="\u23A2",ir="\u23A3",Fr="Size4-Regular",yr="lbrack",Ur=667):e==="]"||e==="\\rbrack"?(Ue="\u23A4",Wt="\u23A5",ir="\u23A6",Fr="Size4-Regular",yr="rbrack",Ur=667):e==="\\lfloor"||e==="\u230A"?(Wt=Ue="\u23A2",ir="\u23A3",Fr="Size4-Regular",yr="lfloor",Ur=667):e==="\\lceil"||e==="\u2308"?(Ue="\u23A1",Wt=ir="\u23A2",Fr="Size4-Regular",yr="lceil",Ur=667):e==="\\rfloor"||e==="\u230B"?(Wt=Ue="\u23A5",ir="\u23A6",Fr="Size4-Regular",yr="rfloor",Ur=667):e==="\\rceil"||e==="\u2309"?(Ue="\u23A4",Wt=ir="\u23A5",Fr="Size4-Regular",yr="rceil",Ur=667):e==="("||e==="\\lparen"?(Ue="\u239B",Wt="\u239C",ir="\u239D",Fr="Size4-Regular",yr="lparen",Ur=875):e===")"||e==="\\rparen"?(Ue="\u239E",Wt="\u239F",ir="\u23A0",Fr="Size4-Regular",yr="rparen",Ur=875):e==="\\{"||e==="\\lbrace"?(Ue="\u23A7",qe="\u23A8",ir="\u23A9",Wt="\u23AA",Fr="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ue="\u23AB",qe="\u23AC",ir="\u23AD",Wt="\u23AA",Fr="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ue="\u23A7",ir="\u23A9",Wt="\u23AA",Fr="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ue="\u23AB",ir="\u23AD",Wt="\u23AA",Fr="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ue="\u23A7",ir="\u23AD",Wt="\u23AA",Fr="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ue="\u23AB",ir="\u23A9",Wt="\u23AA",Fr="Size4-Regular");var un=Pn(Ue,Fr,G),pn=un.height+un.depth,Nn=Pn(Wt,Fr,G),Tn=Nn.height+Nn.depth,ca=Pn(ir,Fr,G),va=ca.height+ca.depth,Pa=0,$a=1;if(qe!==null){var Fa=Pn(qe,Fr,G);Pa=Fa.height+Fa.depth,$a=2}var Sa=pn+va+Pa,fo=Math.max(0,Math.ceil((t-Sa)/($a*Tn))),Ua=Sa+fo*$a*Tn,Po=C.fontMetrics().axisHeight;h&&(Po*=C.sizeMultiplier);var jo=Ua/2-Po,vo=[];if(yr.length>0){var ri=Ua-pn-va,Oo=Math.round(Ua*1e3),Wo=_e(yr,Math.round(ri*1e3)),Yo=new kr(yr,Wo),hi=(Ur/1e3).toFixed(3)+"em",Si=(Oo/1e3).toFixed(3)+"em",Vi=new Be([Yo],{width:hi,height:Si,viewBox:"0 0 "+Ur+" "+Oo}),ni=d.makeSvgSpan([],[Vi],C);ni.height=Oo/1e3,ni.style.width=hi,ni.style.height=Si,vo.push({type:"elem",elem:ni})}else{if(vo.push(la(ir,Fr,G)),vo.push(ja),qe===null){var Ro=Ua-pn-va+2*Aa;vo.push(Io(Wt,Ro,C))}else{var Mo=(Ua-pn-va-Pa)/2+2*Aa;vo.push(Io(Wt,Mo,C)),vo.push(ja),vo.push(la(qe,Fr,G)),vo.push(ja),vo.push(Io(Wt,Mo,C))}vo.push(ja),vo.push(la(Ue,Fr,G))}var _a=C.havingBaseStyle(B.TEXT),uo=d.makeVList({positionType:"bottom",positionData:jo,children:vo},_a);return fa(d.makeSpan(["delimsizing","mult"],[uo],_a),B.TEXT,C,ye)},ma=80,Ka=.08,La=function(e,t,h,C,G){var ye=Fe(e,C,h),Ue=new kr(e,ye),qe=new Be([Ue],{width:"400em",height:ht(t),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});return d.makeSvgSpan(["hide-tail"],[qe],G)},Qa=function(e,t){var h=t.havingBaseSizing(),C=ii("\\surd",e*h.sizeMultiplier,No,h),G=h.sizeMultiplier,ye=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),Ue,qe=0,Wt=0,ir=0,yr;return C.type==="small"?(ir=1e3+1e3*ye+ma,e<1?G=1:e<1.4&&(G=.7),qe=(1+ye+Ka)/G,Wt=(1+ye)/G,Ue=La("sqrtMain",qe,ir,ye,t),Ue.style.minWidth="0.853em",yr=.833/G):C.type==="large"?(ir=(1e3+ma)*Co[C.size],Wt=(Co[C.size]+ye)/G,qe=(Co[C.size]+ye+Ka)/G,Ue=La("sqrtSize"+C.size,qe,ir,ye,t),Ue.style.minWidth="1.02em",yr=1/G):(qe=e+ye+Ka,Wt=e+ye,ir=Math.floor(1e3*e+ye)+ma,Ue=La("sqrtTall",qe,ir,ye,t),Ue.style.minWidth="0.742em",yr=1.056),Ue.height=Wt,Ue.style.height=ht(qe),{span:Ue,advanceWidth:yr,ruleWidth:(t.fontMetrics().sqrtRuleThickness+ye)*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,C,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,C,G);if(lo.includes(e))return Ba(e,Co[t],!1,h,C,G);throw new Y("Illegal delimiter: '"+e+"'")},Uo=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ho=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"stack"}],No=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.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,C){for(var G=Math.min(2,3-C.style.size),ye=G;ye<h.length&&h[ye].type!=="stack";ye++){var Ue=Pn(e,xo(h[ye]),"math"),qe=Ue.height+Ue.depth;if(h[ye].type==="small"){var Wt=C.havingBaseStyle(h[ye].style);qe*=Wt.sizeMultiplier}if(qe>t)return h[ye]}return h[h.length-1]},Ho=function(e,t,h,C,G,ye){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ue;Ao.includes(e)?Ue=Uo:eo.includes(e)?Ue=No:Ue=ho;var qe=ii(e,t,Ue,C);return qe.type==="small"?Ga(e,qe.style,h,C,G,ye):qe.type==="large"?so(e,qe.size,h,C,G,ye):Ba(e,t,h,C,G,ye)},ei=function(e,t,h,C,G,ye){var Ue=C.fontMetrics().axisHeight*C.sizeMultiplier,qe=901,Wt=5/C.fontMetrics().ptPerEm,ir=Math.max(t-Ue,h+Ue),yr=Math.max(ir/500*qe,2*ir-Wt);return Ho(e,yr,!0,C,G,ye)},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 Y("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",u):new Y("Invalid delimiter type '"+u.type+"'",u)}nt({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(xr(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=ht(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.")}nt({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 Y("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:u.parser.mode,delim:si(e[0],u).text,color:t}}}),nt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=si(e[0],u),h=u.parser;++h.leftrightDepth;var C=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);var G=Vr(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:C,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,C=0,G=!1,ye=0;ye<t.length;ye++)t[ye].isMiddle?G=!0:(h=Math.max(t[ye].height,h),C=Math.max(t[ye].depth,C));h*=e.sizeMultiplier,C*=e.sizeMultiplier;var Ue;if(u.left==="."?Ue=Te(e,["mopen"]):Ue=zo.leftRightDelim(u.left,h,C,e,u.mode,["mopen"]),t.unshift(Ue),G)for(var qe=1;qe<t.length;qe++){var Wt=t[qe],ir=Wt.isMiddle;ir&&(t[qe]=zo.leftRightDelim(ir.delim,h,C,ir.options,u.mode,[]))}var yr;if(u.right===".")yr=Te(e,["mclose"]);else{var Ur=u.rightColor?e.withColor(u.rightColor):e;yr=zo.leftRightDelim(u.right,h,C,Ur,u.mode,["mclose"])}return t.push(yr),d.makeSpan(["minner"],t,e)},mathmlBuilder:(u,e)=>{zi(u);var t=it(u.body,e);if(u.left!=="."){var h=new Yt.MathNode("mo",[xr(u.left,u.mode)]);h.setAttribute("fence","true"),t.unshift(h)}if(u.right!=="."){var C=new Yt.MathNode("mo",[xr(u.right,u.mode)]);C.setAttribute("fence","true"),u.rightColor&&C.setAttribute("mathcolor",u.rightColor),t.push(C)}return je(t)}}),nt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(u,e)=>{var t=si(e[0],u);if(!u.parser.leftrightDepth)throw new Y("\\middle without preceding \\left",t);return{type:"middle",mode:u.parser.mode,delim:t.text}},htmlBuilder:(u,e)=>{var t;if(u.delim===".")t=Te(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==="|"?xr("|","text"):xr(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),C=e.sizeMultiplier,G,ye=0,Ue=O.isCharacterBox(u.body);if(h==="sout")G=d.makeSpan(["stretchy","sout"]),G.height=e.fontMetrics().defaultRuleThickness/C,ye=-.5*e.fontMetrics().xHeight;else if(h==="phase"){var qe=xt({number:.6,unit:"pt"},e),Wt=xt({number:.35,unit:"ex"},e),ir=e.havingBaseSizing();C=C/ir.sizeMultiplier;var yr=t.height+t.depth+qe+Wt;t.style.paddingLeft=ht(yr/2+qe);var Ur=Math.floor(1e3*yr*C),Fr=Le(Ur),un=new Be([new kr("phase",Fr)],{width:"400em",height:ht(Ur/1e3),viewBox:"0 0 400000 "+Ur,preserveAspectRatio:"xMinYMin slice"});G=d.makeSvgSpan(["hide-tail"],[un],e),G.style.height=ht(yr),ye=t.depth+qe+Wt}else{/cancel/.test(h)?Ue||t.classes.push("cancel-pad"):h==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var pn=0,Nn=0,Tn=0;/box/.test(h)?(Tn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),pn=e.fontMetrics().fboxsep+(h==="colorbox"?0:Tn),Nn=pn):h==="angl"?(Tn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),pn=4*Tn,Nn=Math.max(0,.25-t.depth)):(pn=Ue?.2:0,Nn=pn),G=Jr.encloseSpan(t,h,pn,Nn,e),/fbox|boxed|fcolorbox/.test(h)?(G.style.borderStyle="solid",G.style.borderWidth=ht(Tn)):h==="angl"&&Tn!==.049&&(G.style.borderTopWidth=ht(Tn),G.style.borderRightWidth=ht(Tn)),ye=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:ye},{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:ye,wrapperClasses:va}]},e)}return/cancel/.test(h)&&(ca.height=t.height,ca.depth=t.depth),/cancel/.test(h)&&!Ue?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 C=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);h.setAttribute("style","border: "+C+"em solid "+String(u.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return u.backgroundColor&&h.setAttribute("mathbackground",u.backgroundColor),h};nt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(u,e,t){var{parser:h,funcName:C}=u,G=Vr(e[0],"color-token").color,ye=e[1];return{type:"enclose",mode:h.mode,label:C,backgroundColor:G,body:ye}},htmlBuilder:li,mathmlBuilder:vi}),nt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(u,e,t){var{parser:h,funcName:C}=u,G=Vr(e[0],"color-token").color,ye=Vr(e[1],"color-token").color,Ue=e[2];return{type:"enclose",mode:h.mode,label:C,backgroundColor:ye,borderColor:G,body:Ue}},htmlBuilder:li,mathmlBuilder:vi}),nt({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]}}}),nt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(u,e){var{parser:t,funcName:h}=u,C=e[0];return{type:"enclose",mode:t.mode,label:h,body:C}},htmlBuilder:li,mathmlBuilder:vi}),nt({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:C,htmlBuilder:G,mathmlBuilder:ye}=u,Ue={type:e,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:C},qe=0;qe<t.length;++qe)Di[t[qe]]=Ue;G&&(Et[e]=G),ye&&(ge[e]=ye)}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 Y("{"+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:C,cols:G,arraystretch:ye,colSeparationType:Ue,autoTag:qe,singleRow:Wt,emptySingleRow:ir,maxNumCols:yr,leqno:Ur}=e;if(u.gullet.beginGroup(),Wt||u.gullet.macros.set("\\cr","\\\\\\relax"),!ye){var Fr=u.gullet.expandMacroAsText("\\arraystretch");if(Fr==null)ye=1;else if(ye=parseFloat(Fr),!ye||ye<0)throw new Y("Invalid \\arraystretch: "+Fr)}u.gullet.beginGroup();var un=[],pn=[un],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 ze("\\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]}),un.push($a);var Fa=u.fetch().text;if(Fa==="&"){if(yr&&un.length===yr){if(Wt||Ue)throw new Y("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(),un.length===1&&$a.type==="styling"&&$a.body[0].body.length===0&&(pn.length>1||!ir)&&pn.pop(),Tn.length<pn.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)),un=[],pn.push(un),va()}else throw new Y("Expected & or \\\\ or \\cr or \\end",u.nextToken)}return u.gullet.endGroup(),u.gullet.endGroup(),{type:"array",mode:u.mode,addJot:C,arraystretch:ye,body:pn,cols:G,rowGaps:Nn,hskipBeforeAndAfter:h,hLinesBeforeRow:Tn,colSeparationType:Ue,tags:ca,leqno:Ur}}function go(u){return u.slice(0,1)==="d"?"display":"text"}var wo=function(e,t){var h,C,G=e.body.length,ye=e.hLinesBeforeRow,Ue=0,qe=new Array(G),Wt=[],ir=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),yr=1/t.fontMetrics().ptPerEm,Ur=5*yr;if(e.colSeparationType&&e.colSeparationType==="small"){var Fr=t.havingStyle(B.SCRIPT).sizeMultiplier;Ur=.2778*(Fr/t.sizeMultiplier)}var un=e.colSeparationType==="CD"?xt({number:3,unit:"ex"},t):12*yr,pn=3*yr,Nn=e.arraystretch*un,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(ye[0]),h=0;h<e.body.length;++h){var $a=e.body[h],Fa=Tn,Sa=ca;Ue<$a.length&&(Ue=$a.length);var fo=new Array($a.length);for(C=0;C<$a.length;++C){var Ua=lt($a[C],t);Sa<Ua.depth&&(Sa=Ua.depth),Fa<Ua.height&&(Fa=Ua.height),fo[C]=Ua}var Po=e.rowGaps[h],jo=0;Po&&(jo=xt(Po,t),jo>0&&(jo+=ca,Sa<jo&&(Sa=jo),jo=0)),e.addJot&&(Sa+=pn),fo.height=Fa,fo.depth=Sa,va+=Fa,fo.pos=va,va+=Sa+jo,qe[h]=fo,Pa(ye[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(C=0,Yo=0;C<Ue||Yo<ri.length;++C,++Yo){for(var Mo=ri[Yo]||{},_a=!0;Mo.type==="separator";){if(_a||(Wo=d.makeSpan(["arraycolsep"],[]),Wo.style.width=ht(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=ht(va),bo.style.borderRightWidth=ht(ir),bo.style.borderRightStyle=uo,bo.style.margin="0 "+ht(-ir/2);var To=va-vo;To&&(bo.style.verticalAlign=ht(-To)),Oo.push(bo)}else throw new Y("Invalid separator type: "+Mo.separator);Yo++,Mo=ri[Yo]||{},_a=!1}if(!(C>=Ue)){var ai=void 0;(C>0||e.hskipBeforeAndAfter)&&(ai=O.deflt(Mo.pregap,Ur),ai!==0&&(Wo=d.makeSpan(["arraycolsep"],[]),Wo.style.width=ht(ai),Oo.push(Wo)));var Gi=[];for(h=0;h<G;++h){var ns=qe[h],vs=ns[C];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),(C<Ue-1||e.hskipBeforeAndAfter)&&(ai=O.deflt(Mo.postgap,Ur),ai!==0&&(Wo=d.makeSpan(["arraycolsep"],[]),Wo.style.width=ht(ai),Oo.push(Wo)))}}if(qe=d.makeSpan(["mtable"],Oo),Wt.length>0){for(var Xs=d.makeLineSpan("hline",t,ir),Ys=d.makeLineSpan("hdashline",t,ir),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=[],C=new Yt.MathNode("mtd",[],["mtr-glue"]),G=new Yt.MathNode("mtd",[],["mml-eqn-num"]),ye=0;ye<e.body.length;ye++){for(var Ue=e.body[ye],qe=[],Wt=0;Wt<Ue.length;Wt++)qe.push(new Yt.MathNode("mtd",[nr(Ue[Wt],t)]));e.tags&&e.tags[ye]&&(qe.unshift(C),qe.push(C),e.leqno?qe.unshift(G):qe.push(G)),h.push(new Yt.MathNode("mtr",qe))}var ir=new Yt.MathNode("mtable",h),yr=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);ir.setAttribute("rowspacing",ht(yr));var Ur="",Fr="";if(e.cols&&e.cols.length>0){var un=e.cols,pn="",Nn=!1,Tn=0,ca=un.length;un[0].type==="separator"&&(Ur+="top ",Tn=1),un[un.length-1].type==="separator"&&(Ur+="bottom ",ca-=1);for(var va=Tn;va<ca;va++)un[va].type==="align"?(Fr+=Ri[un[va].align],Nn&&(pn+="none "),Nn=!0):un[va].type==="separator"&&Nn&&(pn+=un[va].separator==="|"?"solid ":"dashed ",Nn=!1);ir.setAttribute("columnalign",Fr.trim()),/[sd]/.test(pn)&&ir.setAttribute("columnlines",pn.trim())}if(e.colSeparationType==="align"){for(var Pa=e.cols||[],$a="",Fa=1;Fa<Pa.length;Fa++)$a+=Fa%2?"0em ":"1em ";ir.setAttribute("columnspacing",$a.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?ir.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?ir.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?ir.setAttribute("columnspacing","0.5em"):ir.setAttribute("columnspacing","1em");var Sa="",fo=e.hLinesBeforeRow;Ur+=fo[0].length>0?"left ":"",Ur+=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)&&ir.setAttribute("rowlines",Sa.trim()),Ur!==""&&(ir=new Yt.MathNode("menclose",[ir]),ir.setAttribute("notation",Ur.trim())),e.arraystretch&&e.arraystretch<1&&(ir=new Yt.MathNode("mstyle",[ir]),ir.setAttribute("scriptlevel","1")),ir},Xi=function(e,t){e.envName.indexOf("ed")===-1&&$o(e);var h=[],C=e.envName.indexOf("at")>-1?"alignat":"align",G=e.envName==="split",ye=co(e.parser,{cols:h,addJot:!0,autoTag:G?void 0:Do(e.envName),emptySingleRow:!0,colSeparationType:C,maxNumCols:G?2:void 0,leqno:e.parser.settings.leqno},"display"),Ue,qe=0,Wt={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var ir="",yr=0;yr<t[0].body.length;yr++){var Ur=Vr(t[0].body[yr],"textord");ir+=Ur.text}Ue=Number(ir),qe=Ue*2}var Fr=!qe;ye.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(Fr)qe<Tn.length&&(qe=Tn.length);else{var $a=Tn.length/2;if(Ue<$a)throw new Y("Too many math in a row: "+("expected "+Ue+", but got "+$a),Tn[0])}});for(var un=0;un<qe;++un){var pn="r",Nn=0;un%2===1?pn="l":un>0&&Fr&&(Nn=1),h[un]={type:"align",align:pn,pregap:Nn,postgap:0}}return ye.colSeparationType=Fr?"align":"alignat",ye};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,C=h.map(function(ye){var Ue=En(ye),qe=Ue.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 Y("Unknown column alignment: "+qe,ye)}),G={cols:C,hskipBeforeAndAfter:!0,maxNumCols:C.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 C=u.parser;if(C.consumeSpaces(),C.fetch().text==="["){if(C.consume(),C.consumeSpaces(),t=C.fetch().text,"lcr".indexOf(t)===-1)throw new Y("Expected l or c or r",C.nextToken);C.consume(),C.consumeSpaces(),C.expect("]"),C.consume(),h.cols=[{type:"align",align:t}]}}var G=co(u.parser,h,go(u.envName)),ye=Math.max(0,...G.body.map(Ue=>Ue.length));return G.cols=new Array(ye).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,C=h.map(function(ye){var Ue=En(ye),qe=Ue.text;if("lc".indexOf(qe)!==-1)return{type:"align",align:qe};throw new Y("Unknown column alignment: "+qe,ye)});if(C.length>1)throw new Y("{subarray} can contain only one column");var G={cols:C,hskipBeforeAndAfter:!1,arraystretch:.5};if(G=co(u.parser,G,"script"),G.body.length>0&&G.body[0].length>1)throw new Y("{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"),nt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(u,e){throw new Y(u.funcName+" valid only within array environment")}});var Ei=Di;nt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(u,e){var{parser:t,funcName:h}=u,C=e[0];if(C.type!=="ordgroup")throw new Y("Invalid environment name",C);for(var G="",ye=0;ye<C.body.length;++ye)G+=Vr(C.body[ye],"textord").text;if(h==="\\begin"){if(!Ei.hasOwnProperty(G))throw new Y("No such environment: "+G,C);var Ue=Ei[G],{args:qe,optArgs:Wt}=t.parseArguments("\\begin{"+G+"}",Ue),ir={mode:t.mode,envName:G,parser:t},yr=Ue.handler(ir,qe,Wt);t.expect("\\end",!1);var Ur=t.nextToken,Fr=Vr(t.parseFunction(),"environment");if(Fr.name!==G)throw new Y("Mismatch: \\begin{"+G+"} matched by \\end{"+Fr.name+"}",Ur);return yr}return{type:"environment",mode:t.mode,name:G,nameGroup:C}}});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"};nt({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,C=Kt(e[0]),G=h;return G in ci&&(G=ci[G]),{type:"font",mode:t.mode,font:G.slice(1),body:C}},htmlBuilder:Fi,mathmlBuilder:Ss}),nt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(u,e)=>{var{parser:t}=u,h=e[0],C=O.isCharacterBox(h);return{type:"mclass",mode:t.mode,mclass:ea(h),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:h}],isCharacterBox:C}}}),nt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:h,breakOnTokenText:C}=u,{mode:G}=t,ye=t.parseExpression(!0,C),Ue="math"+h.slice(1);return{type:"font",mode:G,font:Ue,body:{type:"ordgroup",mode:t.mode,body:ye}}},htmlBuilder:Fi,mathmlBuilder:Ss});var ss=(u,e)=>{var t=e;return u==="display"?t=t.id>=B.SCRIPT.id?t.text():B.DISPLAY:u==="text"&&t.size===B.DISPLAY.size?t=B.TEXT:u==="script"?t=B.SCRIPT:u==="scriptscript"&&(t=B.SCRIPTSCRIPT),t},ls=(u,e)=>{var t=ss(u.size,e.style),h=t.fracNum(),C=t.fracDen(),G;G=e.havingStyle(h);var ye=lt(u.numer,G,e);if(u.continued){var Ue=8.5/e.fontMetrics().ptPerEm,qe=3.5/e.fontMetrics().ptPerEm;ye.height=ye.height<Ue?Ue:ye.height,ye.depth=ye.depth<qe?qe:ye.depth}G=e.havingStyle(C);var Wt=lt(u.denom,G,e),ir,yr,Ur;u.hasBarLine?(u.barSize?(yr=xt(u.barSize,e),ir=d.makeLineSpan("frac-line",e,yr)):ir=d.makeLineSpan("frac-line",e),yr=ir.height,Ur=ir.height):(ir=null,yr=0,Ur=e.fontMetrics().defaultRuleThickness);var Fr,un,pn;t.size===B.DISPLAY.size||u.size==="display"?(Fr=e.fontMetrics().num1,yr>0?un=3*Ur:un=7*Ur,pn=e.fontMetrics().denom1):(yr>0?(Fr=e.fontMetrics().num2,un=Ur):(Fr=e.fontMetrics().num3,un=3*Ur),pn=e.fontMetrics().denom2);var Nn;if(ir){var ca=e.fontMetrics().axisHeight;Fr-ye.depth-(ca+.5*yr)<un&&(Fr+=un-(Fr-ye.depth-(ca+.5*yr))),ca-.5*yr-(Wt.height-pn)<un&&(pn+=un-(ca-.5*yr-(Wt.height-pn)));var va=-(ca-.5*yr);Nn=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Wt,shift:pn},{type:"elem",elem:ir,shift:va},{type:"elem",elem:ye,shift:-Fr}]},e)}else{var Tn=Fr-ye.depth-(Wt.height-pn);Tn<un&&(Fr+=.5*(un-Tn),pn+=.5*(un-Tn)),Nn=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Wt,shift:pn},{type:"elem",elem:ye,shift:-Fr}]},e)}G=e.havingStyle(t),Nn.height*=G.sizeMultiplier/e.sizeMultiplier,Nn.depth*=G.sizeMultiplier/e.sizeMultiplier;var Pa;t.size===B.DISPLAY.size?Pa=e.fontMetrics().delim1:t.size===B.SCRIPTSCRIPT.size?Pa=e.havingStyle(B.SCRIPT).fontMetrics().delim2:Pa=e.fontMetrics().delim2;var $a,Fa;return u.leftDelim==null?$a=Te(e,["mopen"]):$a=zo.customSizedDelim(u.leftDelim,Pa,!0,e.havingStyle(t),u.mode,["mopen"]),u.continued?Fa=d.makeSpan([]):u.rightDelim==null?Fa=Te(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=xt(u.barSize,e);t.setAttribute("linethickness",ht(h))}var C=ss(u.size,e.style);if(C.size!==e.style.size){t=new Yt.MathNode("mstyle",[t]);var G=C.size===B.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",G),t.setAttribute("scriptlevel","0")}if(u.leftDelim!=null||u.rightDelim!=null){var ye=[];if(u.leftDelim!=null){var Ue=new Yt.MathNode("mo",[new Yt.TextNode(u.leftDelim.replace("\\",""))]);Ue.setAttribute("fence","true"),ye.push(Ue)}if(ye.push(t),u.rightDelim!=null){var qe=new Yt.MathNode("mo",[new Yt.TextNode(u.rightDelim.replace("\\",""))]);qe.setAttribute("fence","true"),ye.push(qe)}return je(ye)}return t};nt({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,C=e[0],G=e[1],ye,Ue=null,qe=null,Wt="auto";switch(h){case"\\dfrac":case"\\frac":case"\\tfrac":ye=!0;break;case"\\\\atopfrac":ye=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":ye=!1,Ue="(",qe=")";break;case"\\\\bracefrac":ye=!1,Ue="\\{",qe="\\}";break;case"\\\\brackfrac":ye=!1,Ue="[",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:C,denom:G,hasBarLine:ye,leftDelim:Ue,rightDelim:qe,size:Wt,barSize:null}},htmlBuilder:ls,mathmlBuilder:ui}),nt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(u,e)=>{var{parser:t,funcName:h}=u,C=e[0],G=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:C,denom:G,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),nt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(u){var{parser:e,funcName:t,token:h}=u,C;switch(t){case"\\over":C="\\frac";break;case"\\choose":C="\\binom";break;case"\\atop":C="\\\\atopfrac";break;case"\\brace":C="\\\\bracefrac";break;case"\\brack":C="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:C,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};nt({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],C=e[5],G=Kt(e[0]),ye=G.type==="atom"&&G.family==="open"?Cs(G.text):null,Ue=Kt(e[1]),qe=Ue.type==="atom"&&Ue.family==="close"?Cs(Ue.text):null,Wt=Vr(e[2],"size"),ir,yr=null;Wt.isBlank?ir=!0:(yr=Wt.value,ir=yr.number>0);var Ur="auto",Fr=e[3];if(Fr.type==="ordgroup"){if(Fr.body.length>0){var un=Vr(Fr.body[0],"textord");Ur=Yi[Number(un.text)]}}else Fr=Vr(Fr,"textord"),Ur=Yi[Number(Fr.text)];return{type:"genfrac",mode:t.mode,numer:h,denom:C,continued:!1,hasBarLine:ir,barSize:yr,leftDelim:ye,rightDelim:qe,size:Ur}},htmlBuilder:ls,mathmlBuilder:ui}),nt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(u,e){var{parser:t,funcName:h,token:C}=u;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:Vr(e[0],"size").value,token:C}}}),nt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(u,e)=>{var{parser:t,funcName:h}=u,C=e[0],G=z(Vr(e[1],"infix").size),ye=e[2],Ue=G.number>0;return{type:"genfrac",mode:t.mode,numer:C,denom:ye,continued:!1,hasBarLine:Ue,barSize:G,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ls,mathmlBuilder:ui});var fs=(u,e)=>{var t=e.style,h,C;u.type==="supsub"?(h=u.sup?lt(u.sup,e.havingStyle(t.sup()),e):lt(u.sub,e.havingStyle(t.sub()),e),C=Vr(u.base,"horizBrace")):C=Vr(u,"horizBrace");var G=lt(C.base,e.havingBaseStyle(B.DISPLAY)),ye=Jr.svgSpan(C,e),Ue;if(C.isOver?(Ue=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:G},{type:"kern",size:.1},{type:"elem",elem:ye}]},e),Ue.children[0].children[0].children[1].classes.push("svg-align")):(Ue=d.makeVList({positionType:"bottom",positionData:G.depth+.1+ye.height,children:[{type:"elem",elem:ye},{type:"kern",size:.1},{type:"elem",elem:G}]},e),Ue.children[0].children[0].children[0].classes.push("svg-align")),h){var qe=d.makeSpan(["mord",C.isOver?"mover":"munder"],[Ue],e);C.isOver?Ue=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:qe},{type:"kern",size:.2},{type:"elem",elem:h}]},e):Ue=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",C.isOver?"mover":"munder"],[Ue],e)},Ts=(u,e)=>{var t=Jr.mathMLnode(u.label);return new Yt.MathNode(u.isOver?"mover":"munder",[nr(u.base,e),t])};nt({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}),nt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(u,e)=>{var{parser:t}=u,h=e[1],C=Vr(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:C})?{type:"href",mode:t.mode,href:C,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}}),nt({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 C=[],G=0;G<h.length;G++){var ye=h[G];ye==="~"&&(ye="\\textasciitilde"),C.push({type:"textord",mode:"text",text:ye})}var Ue={type:"text",mode:t.mode,font:"\\texttt",body:C};return{type:"href",mode:t.mode,href:h,body:ct(Ue)}}}),nt({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",it(u.body,e))}}),nt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:h,token:C}=u,G=Vr(e[0],"raw").string,ye=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ue,qe={};switch(h){case"\\htmlClass":qe.class=G,Ue={command:"\\htmlClass",class:G};break;case"\\htmlId":qe.id=G,Ue={command:"\\htmlId",id:G};break;case"\\htmlStyle":qe.style=G,Ue={command:"\\htmlStyle",style:G};break;case"\\htmlData":{for(var Wt=G.split(","),ir=0;ir<Wt.length;ir++){var yr=Wt[ir].split("=");if(yr.length!==2)throw new Y("Error parsing key-value for \\htmlData");qe["data-"+yr[0].trim()]=yr[1].trim()}Ue={command:"\\htmlData",attributes:qe};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(Ue)?{type:"html",mode:t.mode,attributes:qe,body:ct(ye)}: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 C=d.makeSpan(h,t,e);for(var G in u.attributes)G!=="class"&&u.attributes.hasOwnProperty(G)&&C.setAttribute(G,u.attributes[G]);return C},mathmlBuilder:(u,e)=>qt(u.body,e)}),nt({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 Y("Invalid size: '"+e+"' in \\includegraphics");var h={number:+(t[1]+t[2]),unit:t[3]};if(!yt(h))throw new Y("Invalid unit: '"+h.unit+"' in \\includegraphics.");return h};nt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(u,e,t)=>{var{parser:h}=u,C={number:0,unit:"em"},G={number:.9,unit:"em"},ye={number:0,unit:"em"},Ue="";if(t[0])for(var qe=Vr(t[0],"raw").string,Wt=qe.split(","),ir=0;ir<Wt.length;ir++){var yr=Wt[ir].split("=");if(yr.length===2){var Ur=yr[1].trim();switch(yr[0].trim()){case"alt":Ue=Ur;break;case"width":C=ki(Ur);break;case"height":G=ki(Ur);break;case"totalheight":ye=ki(Ur);break;default:throw new Y("Invalid key: '"+yr[0]+"' in \\includegraphics.")}}}var Fr=Vr(e[0],"url").url;return Ue===""&&(Ue=Fr,Ue=Ue.replace(/^.*[\\/]/,""),Ue=Ue.substring(0,Ue.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:Fr})?{type:"includegraphics",mode:h.mode,alt:Ue,width:C,height:G,totalheight:ye,src:Fr}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(u,e)=>{var t=xt(u.height,e),h=0;u.totalheight.number>0&&(h=xt(u.totalheight,e)-t);var C=0;u.width.number>0&&(C=xt(u.width,e));var G={height:ht(t+h)};C>0&&(G.width=ht(C)),h>0&&(G.verticalAlign=ht(-h));var ye=new F(u.src,u.alt,G);return ye.height=t,ye.depth=h,ye},mathmlBuilder:(u,e)=>{var t=new Yt.MathNode("mglyph",[]);t.setAttribute("alt",u.alt);var h=xt(u.height,e),C=0;if(u.totalheight.number>0&&(C=xt(u.totalheight,e)-h,t.setAttribute("valign",ht(-C))),t.setAttribute("height",ht(h+C)),u.width.number>0){var G=xt(u.width,e);t.setAttribute("width",ht(G))}return t.setAttribute("src",u.src),t}}),nt({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,C=Vr(e[0],"size");if(t.settings.strict){var G=h[1]==="m",ye=C.value.unit==="mu";G?(ye||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+C.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):ye&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:C.value}},htmlBuilder(u,e){return d.makeGlue(u.dimension,e)},mathmlBuilder(u,e){var t=xt(u.dimension,e);return new Yt.SpaceNode(t)}}),nt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(u,e)=>{var{parser:t,funcName:h}=u,C=e[0];return{type:"lap",mode:t.mode,alignment:h.slice(5),body:C}},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"],[]),C=d.makeSpan([u.alignment],[t,h],e),G=d.makeSpan(["strut"]);return G.style.height=ht(C.height+C.depth),C.depth&&(G.style.verticalAlign=ht(-C.depth)),C.children.unshift(G),C=d.makeSpan(["thinbox"],[C],e),d.makeSpan(["mord","vbox"],[C],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}}),nt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){var{funcName:t,parser:h}=u,C=h.mode;h.switchMode("math");var G=t==="\\("?"\\)":"$",ye=h.parseExpression(!1,G);return h.expect(G),h.switchMode(C),{type:"styling",mode:h.mode,style:"text",body:ye}}}),nt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(u,e){throw new Y("Mismatched "+u.funcName)}});var bi=(u,e)=>{switch(e.style.size){case B.DISPLAY.size:return u.display;case B.TEXT.size:return u.text;case B.SCRIPT.size:return u.script;case B.SCRIPTSCRIPT.size:return u.scriptscript;default:return u.text}};nt({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,C,G,ye)=>{u=d.makeSpan([],[u]);var Ue=t&&O.isCharacterBox(t),qe,Wt;if(e){var ir=lt(e,h.havingStyle(C.sup()),h);Wt={elem:ir,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-ir.depth)}}if(t){var yr=lt(t,h.havingStyle(C.sub()),h);qe={elem:yr,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-yr.height)}}var Ur;if(Wt&&qe){var Fr=h.fontMetrics().bigOpSpacing5+qe.elem.height+qe.elem.depth+qe.kern+u.depth+ye;Ur=d.makeVList({positionType:"bottom",positionData:Fr,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:ht(-G)},{type:"kern",size:qe.kern},{type:"elem",elem:u},{type:"kern",size:Wt.kern},{type:"elem",elem:Wt.elem,marginLeft:ht(G)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(qe){var un=u.height-ye;Ur=d.makeVList({positionType:"top",positionData:un,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:qe.elem,marginLeft:ht(-G)},{type:"kern",size:qe.kern},{type:"elem",elem:u}]},h)}else if(Wt){var pn=u.depth+ye;Ur=d.makeVList({positionType:"bottom",positionData:pn,children:[{type:"elem",elem:u},{type:"kern",size:Wt.kern},{type:"elem",elem:Wt.elem,marginLeft:ht(G)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return u;var Nn=[Ur];if(qe&&G!==0&&!Ue){var Tn=d.makeSpan(["mspace"],[],h);Tn.style.marginRight=ht(G),Nn.unshift(Tn)}return d.makeSpan(["mop","op-limits"],Nn,h)},ms=["\\smallint"],Xo=(u,e)=>{var t,h,C=!1,G;u.type==="supsub"?(t=u.sup,h=u.sub,G=Vr(u.base,"op"),C=!0):G=Vr(u,"op");var ye=e.style,Ue=!1;ye.size===B.DISPLAY.size&&G.symbol&&!ms.includes(G.name)&&(Ue=!0);var qe;if(G.symbol){var Wt=Ue?"Size2-Regular":"Size1-Regular",ir="";if((G.name==="\\oiint"||G.name==="\\oiiint")&&(ir=G.name.slice(1),G.name=ir==="oiint"?"\\iint":"\\iiint"),qe=d.makeSymbol(G.name,Wt,"math",e,["mop","op-symbol",Ue?"large-op":"small-op"]),ir.length>0){var yr=qe.italic,Ur=d.staticSvg(ir+"Size"+(Ue?"2":"1"),e);qe=d.makeVList({positionType:"individualShift",children:[{type:"elem",elem:qe,shift:0},{type:"elem",elem:Ur,shift:Ue?.08:0}]},e),G.name="\\"+ir,qe.classes.unshift("mop"),qe.italic=yr}}else if(G.body){var Fr=kt(G.body,e,!0);Fr.length===1&&Fr[0]instanceof oe?(qe=Fr[0],qe.classes[0]="mop"):qe=d.makeSpan(["mop"],Fr,e)}else{for(var un=[],pn=1;pn<G.name.length;pn++)un.push(d.mathsym(G.name[pn],G.mode,e));qe=d.makeSpan(["mop"],un,e)}var Nn=0,Tn=0;return(qe instanceof oe||G.name==="\\oiint"||G.name==="\\oiiint")&&!G.suppressBaseShift&&(Nn=(qe.height-qe.depth)/2-e.fontMetrics().axisHeight,Tn=qe.italic),C?di(qe,t,h,e,ye,Tn,Nn):(Nn&&(qe.style.position="relative",qe.style.top=ht(Nn)),qe)},yi=(u,e)=>{var t;if(u.symbol)t=new Zt("mo",[xr(u.name,u.mode)]),ms.includes(u.name)&&t.setAttribute("largeop","false");else if(u.body)t=new Zt("mo",it(u.body,e));else{t=new Zt("mi",[new Mt(u.name.slice(1))]);var h=new Zt("mo",[xr("\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"};nt({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,C=h;return C.length===1&&(C=Ia[C]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:C}},htmlBuilder:Xo,mathmlBuilder:yi}),nt({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"};nt({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}),nt({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}),nt({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,C=!1,G;u.type==="supsub"?(t=u.sup,h=u.sub,G=Vr(u.base,"operatorname"),C=!0):G=Vr(u,"operatorname");var ye;if(G.body.length>0){for(var Ue=G.body.map(yr=>{var Ur=yr.text;return typeof Ur=="string"?{type:"textord",mode:yr.mode,text:Ur}:yr}),qe=kt(Ue,e.withFont("mathrm"),!0),Wt=0;Wt<qe.length;Wt++){var ir=qe[Wt];ir instanceof oe&&(ir.text=ir.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}ye=d.makeSpan(["mop"],qe,e)}else ye=d.makeSpan(["mop"],[],e);return C?di(ye,t,h,e,e.style,0,0):ye},Bs=(u,e)=>{for(var t=it(u.body,e.withFont("mathrm")),h=!0,C=0;C<t.length;C++){var G=t[C];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 ye=G.children[0];G.children.length===1&&ye instanceof Yt.TextNode?ye.text=ye.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){var Ue=t.map(ir=>ir.toText()).join("");t=[new Yt.TextNode(Ue)]}var qe=new Yt.MathNode("mi",t);qe.setAttribute("mathvariant","normal");var Wt=new Yt.MathNode("mo",[xr("\u2061","text")]);return u.parentIsSupSub?new Yt.MathNode("mrow",[qe,Wt]):Yt.newDocumentFragment([qe,Wt])};nt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(u,e)=>{var{parser:t,funcName:h}=u,C=e[0];return{type:"operatorname",mode:t.mode,body:ct(C),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)}}),nt({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),C=e.fontMetrics().defaultRuleThickness,G=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*C},{type:"elem",elem:h},{type:"kern",size:C}]},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}}),nt({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=it(u.body,e);return new Yt.MathNode("mphantom",t)}}),nt({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=it(ct(u.body),e),h=new Yt.MathNode("mphantom",t),C=new Yt.MathNode("mpadded",[h]);return C.setAttribute("height","0px"),C.setAttribute("depth","0px"),C}}),nt({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=it(ct(u.body),e),h=new Yt.MathNode("mphantom",t),C=new Yt.MathNode("mpadded",[h]);return C.setAttribute("width","0px"),C}}),nt({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,C=e[1];return{type:"raisebox",mode:t.mode,dy:h,body:C}},htmlBuilder(u,e){var t=lt(u.body,e),h=xt(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}}),nt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(u){var{parser:e}=u;return{type:"internal",mode:e.mode}}}),nt({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,C=t[0],G=Vr(e[0],"size"),ye=Vr(e[1],"size");return{type:"rule",mode:h.mode,shift:C&&Vr(C,"size").value,width:G.value,height:ye.value}},htmlBuilder(u,e){var t=d.makeSpan(["mord","rule"],[],e),h=xt(u.width,e),C=xt(u.height,e),G=u.shift?xt(u.shift,e):0;return t.style.borderRightWidth=ht(h),t.style.borderTopWidth=ht(C),t.style.bottom=ht(G),t.width=h,t.height=C+G,t.depth=-G,t.maxFontSize=C*1.125*e.sizeMultiplier,t},mathmlBuilder(u,e){var t=xt(u.width,e),h=xt(u.height,e),C=u.shift?xt(u.shift,e):0,G=e.color&&e.getColor()||"black",ye=new Yt.MathNode("mspace");ye.setAttribute("mathbackground",G),ye.setAttribute("width",ht(t)),ye.setAttribute("height",ht(h));var Ue=new Yt.MathNode("mpadded",[ye]);return C>=0?Ue.setAttribute("height",ht(C)):(Ue.setAttribute("height",ht(C)),Ue.setAttribute("depth",ht(-C))),Ue.setAttribute("voffset",ht(C)),Ue}});function Hi(u,e,t){for(var h=kt(u,e,!1),C=e.sizeMultiplier/t.sizeMultiplier,G=0;G<h.length;G++){var ye=h[G].classes.indexOf("sizing");ye<0?Array.prototype.push.apply(h[G].classes,e.sizingClasses(t)):h[G].classes[ye+1]==="reset-size"+e.size&&(h[G].classes[ye+1]="reset-size"+t.size),h[G].height*=C,h[G].depth*=C}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)};nt({type:"sizing",names:ti,props:{numArgs:0,allowedInText:!0},handler:(u,e)=>{var{breakOnTokenText:t,funcName:h,parser:C}=u,G=C.parseExpression(!1,t);return{type:"sizing",mode:C.mode,size:ti.indexOf(h)+1,body:G}},htmlBuilder:xi,mathmlBuilder:(u,e)=>{var t=e.havingSize(u.size),h=it(u.body,t),C=new Yt.MathNode("mstyle",h);return C.setAttribute("mathsize",ht(t.sizeMultiplier)),C}}),nt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(u,e,t)=>{var{parser:h}=u,C=!1,G=!1,ye=t[0]&&Vr(t[0],"ordgroup");if(ye)for(var Ue="",qe=0;qe<ye.body.length;++qe){var Wt=ye.body[qe];if(Ue=Wt.text,Ue==="t")C=!0;else if(Ue==="b")G=!0;else{C=!1,G=!1;break}}else C=!0,G=!0;var ir=e[0];return{type:"smash",mode:h.mode,body:ir,smashHeight:C,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 C=0;C<t.children.length;C++)t.children[C].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}}),nt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(u,e,t){var{parser:h}=u,C=t[0],G=e[0];return{type:"sqrt",mode:h.mode,body:G,index:C}},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(),C=h.defaultRuleThickness,G=C;e.style.id<B.TEXT.id&&(G=e.fontMetrics().xHeight);var ye=C+G/4,Ue=t.height+t.depth+ye+C,{span:qe,ruleWidth:Wt,advanceWidth:ir}=zo.sqrtImage(Ue,e),yr=qe.height-Wt;yr>t.height+t.depth+ye&&(ye=(ye+yr-t.height-t.depth)/2);var Ur=qe.height-t.height-ye-Wt;t.style.paddingLeft=ht(ir);var Fr=d.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+Ur)},{type:"elem",elem:qe},{type:"kern",size:Wt}]},e);if(u.index){var un=e.havingStyle(B.SCRIPTSCRIPT),pn=lt(u.index,un,e),Nn=.6*(Fr.height-Fr.depth),Tn=d.makeVList({positionType:"shift",positionData:-Nn,children:[{type:"elem",elem:pn}]},e),ca=d.makeSpan(["root"],[Tn]);return d.makeSpan(["mord","sqrt"],[ca,Fr],e)}else return d.makeSpan(["mord","sqrt"],[Fr],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:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT};nt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(u,e){var{breakOnTokenText:t,funcName:h,parser:C}=u,G=C.parseExpression(!0,t),ye=h.slice(1,h.length-5);return{type:"styling",mode:C.mode,style:ye,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),C=it(u.body,h),G=new Yt.MathNode("mstyle",C),ye={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ue=ye[u.style];return G.setAttribute("scriptlevel",Ue[0]),G.setAttribute("displaystyle",Ue[1]),G}});var Ls=function(e,t){var h=e.base;if(h)if(h.type==="op"){var C=h.limits&&(t.style.size===B.DISPLAY.size||h.alwaysHandleSupSub);return C?Xo:null}else if(h.type==="operatorname"){var G=h.alwaysHandleSupSub&&(t.style.size===B.DISPLAY.size||h.limits);return G?ps:null}else{if(h.type==="accent")return O.isCharacterBox(h.base)?_n:null;if(h.type==="horizBrace"){var ye=!e.sub;return ye===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:C,sub:G}=u,ye=lt(h,e),Ue,qe,Wt=e.fontMetrics(),ir=0,yr=0,Ur=h&&O.isCharacterBox(h);if(C){var Fr=e.havingStyle(e.style.sup());Ue=lt(C,Fr,e),Ur||(ir=ye.height-Fr.fontMetrics().supDrop*Fr.sizeMultiplier/e.sizeMultiplier)}if(G){var un=e.havingStyle(e.style.sub());qe=lt(G,un,e),Ur||(yr=ye.depth+un.fontMetrics().subDrop*un.sizeMultiplier/e.sizeMultiplier)}var pn;e.style===B.DISPLAY?pn=Wt.sup1:e.style.cramped?pn=Wt.sup3:pn=Wt.sup2;var Nn=e.sizeMultiplier,Tn=ht(.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");(ye instanceof oe||va)&&(ca=ht(-ye.italic))}var Pa;if(Ue&&qe){ir=Math.max(ir,pn,Ue.depth+.25*Wt.xHeight),yr=Math.max(yr,Wt.sub2);var $a=Wt.defaultRuleThickness,Fa=4*$a;if(ir-Ue.depth-(qe.height-yr)<Fa){yr=Fa-(ir-Ue.depth)+qe.height;var Sa=.8*Wt.xHeight-(ir-Ue.depth);Sa>0&&(ir+=Sa,yr-=Sa)}var fo=[{type:"elem",elem:qe,shift:yr,marginRight:Tn,marginLeft:ca},{type:"elem",elem:Ue,shift:-ir,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(Ue)ir=Math.max(ir,pn,Ue.depth+.25*Wt.xHeight),Pa=d.makeVList({positionType:"shift",positionData:-ir,children:[{type:"elem",elem:Ue,marginRight:Tn}]},e);else throw new Error("supsub must have either sup or sub.");var Po=ke(ye,"right")||"mord";return d.makeSpan([Po],[ye,d.makeSpan(["msupsub"],[Pa])],e)},mathmlBuilder(u,e){var t=!1,h,C;u.base&&u.base.type==="horizBrace"&&(C=!!u.sup,C===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 ye;if(t)ye=h?"mover":"munder";else if(u.sub)if(u.sup){var Wt=u.base;Wt&&Wt.type==="op"&&Wt.limits&&e.style===B.DISPLAY||Wt&&Wt.type==="operatorname"&&Wt.alwaysHandleSupSub&&(e.style===B.DISPLAY||Wt.limits)?ye="munderover":ye="msubsup"}else{var qe=u.base;qe&&qe.type==="op"&&qe.limits&&(e.style===B.DISPLAY||qe.alwaysHandleSupSub)||qe&&qe.type==="operatorname"&&qe.alwaysHandleSupSub&&(qe.limits||e.style===B.DISPLAY)?ye="munder":ye="msub"}else{var Ue=u.base;Ue&&Ue.type==="op"&&Ue.limits&&(e.style===B.DISPLAY||Ue.alwaysHandleSupSub)||Ue&&Ue.type==="operatorname"&&Ue.alwaysHandleSupSub&&(Ue.limits||e.style===B.DISPLAY)?ye="mover":ye="msup"}return new Yt.MathNode(ye,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",[xr(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",[xr(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=xr(u.text,u.mode,e),h=vt(u,e)||"normal",C;return u.mode==="text"?C=new Yt.MathNode("mtext",[t]):/[0-9]/.test(u.text)?C=new Yt.MathNode("mn",[t]):u.text==="\\prime"?C=new Yt.MathNode("mo",[t]):C=new Yt.MathNode("mi",[t]),h!==qi[C.type]&&C.setAttribute("mathvariant",h),C}});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 Y('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 Y('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])};nt({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,C=e[0];return{type:"text",mode:t.mode,body:ct(C),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)}}),nt({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),C=e.fontMetrics().defaultRuleThickness,G=d.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:C},{type:"elem",elem:h},{type:"kern",size:3*C},{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}}),nt({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,C=.5*(t.height-h-(t.depth+h));return d.makeVList({positionType:"shift",positionData:C,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(u,e){return new Yt.MathNode("mpadded",[nr(u.body,e)],["vcenter"])}}),nt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(u,e,t){throw new Y("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(u,e){for(var t=ft(u),h=[],C=e.havingStyle(e.style.text()),G=0;G<t.length;G++){var ye=t[G];ye==="~"&&(ye="\\textasciitilde"),h.push(d.makeSymbol(ye,"Typewriter-Regular",u.mode,C,["mord","texttt"]))}return d.makeSpan(["mord","text"].concat(C.sizingClasses(e)),d.tryCombineChars(h),C)},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 ze("EOF",new L(this,t,t));var h=this.tokenRegex.exec(e);if(h===null||h.index!==t)throw new Y("Unexpected character: '"+e[t]+"'",new ze(e[t],new L(this,t,t+1)));var C=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[C]===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 ze(C,new L(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 Y("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 C=0;C<this.undefStack.length;C++)delete this.undefStack[C][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 Y("\\char` missing argument");h=e.text.charCodeAt(0)}else t=10;if(t){if(h=rs[e.text],h==null||h>=t)throw new Y("Invalid base-"+t+" digit "+e.text);for(var C;(C=rs[u.future().text])!=null&&C<t;)h*=t,h+=C,u.popToken()}return"\\@char{"+h+"}"});var j=(u,e,t,h)=>{var C=u.consumeArg().tokens;if(C.length!==1)throw new Y("\\newcommand's first argument must be a macro name");var G=C[0].text,ye=u.isDefined(G);if(ye&&!e)throw new Y("\\newcommand{"+G+"} attempting to redefine "+(G+"; use \\renewcommand"));if(!ye&&!t)throw new Y("\\renewcommand{"+G+"} when command "+G+" does not yet exist; use \\newcommand");var Ue=0;if(C=u.consumeArg().tokens,C.length===1&&C[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 Y("Invalid number of arguments: "+qe);Ue=parseInt(qe),C=u.consumeArg().tokens}return ye&&h||u.macros.set(G,{tokens:C,numArgs:Ue}),""};Ke("\\newcommand",u=>j(u,!1,!0,!1)),Ke("\\renewcommand",u=>j(u,!0,!1,!1)),Ke("\\providecommand",u=>j(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 Tt={")":!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 Tt?"\\ldots\\,":"\\ldots"}),Ke("\\dotsc",function(u){var e=u.future().text;return e in Tt&&e!==","?"\\ldots\\,":"\\ldots"}),Ke("\\cdots",function(u){var e=u.future().text;return e in Tt?"\\@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 Y("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 er=ht(de["Main-Regular"][84][1]-.7*de["Main-Regular"][65][1]);Ke("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+er+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ke("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+er+"}{\\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 wr=u=>e=>{var t=e.consumeArg().tokens,h=e.consumeArg().tokens,C=e.consumeArg().tokens,G=e.consumeArg().tokens,ye=e.macros.get("|"),Ue=e.macros.get("\\|");e.macros.beginGroup();var qe=yr=>Ur=>{u&&(Ur.macros.set("|",ye),C.length&&Ur.macros.set("\\|",Ue));var Fr=yr;if(!yr&&C.length){var un=Ur.future();un.text==="|"&&(Ur.popToken(),Fr=!0)}return{tokens:Fr?C:h,numArgs:0}};e.macros.set("|",qe(!1)),C.length&&e.macros.set("\\|",qe(!0));var Wt=e.consumeArg().tokens,ir=e.expandTokens([...G,...Wt,...t]);return e.macros.endGroup(),{tokens:ir.reverse(),numArgs:0}};Ke("\\bra@ket",wr(!1)),Ke("\\bra@set",wr(!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 cn{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,C;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:C,end:h}=this.consumeArg(["]"])}else({tokens:C,start:t,end:h}=this.consumeArg());return this.pushToken(new ze("EOF",h.loc)),this.pushTokens(C),new ze("",L.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 C=this.future(),G,ye=0,Ue=0;do{if(G=this.popToken(),t.push(G),G.text==="{")++ye;else if(G.text==="}"){if(--ye,ye===-1)throw new Y("Extra }",G)}else if(G.text==="EOF")throw new Y("Unexpected end of input in a macro argument, expected '"+(e&&h?e[Ue]:"}")+"'",G);if(e&&h)if((ye===0||ye===1&&e[Ue]==="{")&&G.text===e[Ue]){if(++Ue,Ue===e.length){t.splice(-Ue,Ue);break}}else Ue=0}while(ye!==0||h);return C.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:C,end:G}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new Y("The length of delimiters doesn't match the number of args!");for(var h=t[0],C=0;C<h.length;C++){var G=this.popToken();if(h[C]!==G.text)throw new Y("Use of the macro doesn't match its definition",G)}}for(var ye=[],Ue=0;Ue<e;Ue++)ye.push(this.consumeArg(t&&t[Ue+1]).tokens);return ye}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new Y("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),h=t.text,C=t.noexpand?null:this._getExpansion(h);if(C==null||e&&C.unexpandable){if(e&&C==null&&h[0]==="\\"&&!this.isDefined(h))throw new Y("Undefined control sequence: "+h);return this.pushToken(t),!1}this.countExpansion(1);var G=C.tokens,ye=this.consumeArgs(C.numArgs,C.delimiters);if(C.numArgs){G=G.slice();for(var Ue=G.length-1;Ue>=0;--Ue){var qe=G[Ue];if(qe.text==="#"){if(Ue===0)throw new Y("Incomplete placeholder at end of macro body",qe);if(qe=G[--Ue],qe.text==="#")G.splice(Ue+1,1);else if(/^[1-9]$/.test(qe.text))G.splice(Ue,2,...ye[+qe.text-1]);else throw new Y("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 ze(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 C=this.stack.pop();C.treatAsRelax&&(C.noexpand=!1,C.treatAsRelax=!1),t.push(C)}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 C=typeof t=="function"?t(this):t;if(typeof C=="string"){var G=0;if(C.indexOf("#")!==-1)for(var ye=C.replace(/##/g,"");ye.indexOf("#"+(G+1))!==-1;)++G;for(var Ue=new hs(C,this.settings),qe=[],Wt=Ue.lex();Wt.text!=="EOF";)qe.push(Wt),Wt=Ue.lex();qe.reverse();var ir={tokens:qe,numArgs:G};return ir}return C}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=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,te=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 cn(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 Y("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 ze("}")),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 C=this.fetch();if(l.endOfExpression.indexOf(C.text)!==-1||t&&C.text===t||e&&Zo[C.text]&&Zo[C.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,C=0;C<e.length;C++)if(e[C].type==="infix"){if(t!==-1)throw new Y("only one infix operator per group",e[C].token);t=C,h=e[C].replaceWith}if(t!==-1&&h){var G,ye,Ue=e.slice(0,t),qe=e.slice(t+1);Ue.length===1&&Ue[0].type==="ordgroup"?G=Ue[0]:G={type:"ordgroup",mode:this.mode,body:Ue},qe.length===1&&qe[0].type==="ordgroup"?ye=qe[0]:ye={type:"ordgroup",mode:this.mode,body:qe};var Wt;return h==="\\\\abovefrac"?Wt=this.callFunction(h,[G,e[t],ye],[]):Wt=this.callFunction(h,[G,ye],[]),[Wt]}else return e}handleSupSubscript(e){var t=this.fetch(),h=t.text;this.consume(),this.consumeSpaces();var C;do{var G;C=this.parseGroup(e)}while(((G=C)==null?void 0:G.type)==="internal");if(!C)throw new Y("Expected group after '"+h+"'",t);return C}formatUnsupportedCmd(e){for(var t=[],h=0;h<e.length;h++)t.push({type:"textord",mode:"text",text:e[h]});var C={type:"text",mode:this.mode,body:t},G={type:"color",mode:this.mode,color:this.settings.errorColor,body:[C]};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,C;;){this.consumeSpaces();var G=this.fetch();if(G.text==="\\limits"||G.text==="\\nolimits"){if(t&&t.type==="op"){var ye=G.text==="\\limits";t.limits=ye,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=G.text==="\\limits");else throw new Y("Limit controls must follow a math operator",G);this.consume()}else if(G.text==="^"){if(h)throw new Y("Double superscript",G);h=this.handleSupSubscript("superscript")}else if(G.text==="_"){if(C)throw new Y("Double subscript",G);C=this.handleSupSubscript("subscript")}else if(G.text==="'"){if(h)throw new Y("Double superscript",G);var Ue={type:"textord",mode:this.mode,text:"\\prime"},qe=[Ue];for(this.consume();this.fetch().text==="'";)qe.push(Ue),this.consume();this.fetch().text==="^"&&qe.push(this.handleSupSubscript("superscript")),h={type:"ordgroup",mode:this.mode,body:qe}}else if(te[G.text]){var Wt=ta.test(G.text),ir=[];for(ir.push(new ze(te[G.text])),this.consume();;){var yr=this.fetch().text;if(!te[yr]||ta.test(yr)!==Wt)break;ir.unshift(new ze(te[yr])),this.consume()}var Ur=this.subparse(ir);Wt?C={type:"ordgroup",mode:"math",body:Ur}:h={type:"ordgroup",mode:"math",body:Ur}}else break}return h||C?{type:"supsub",mode:this.mode,base:t,sup:h,sub:C}:t}parseFunction(e,t){var h=this.fetch(),C=h.text,G=Zo[C];if(!G)return null;if(this.consume(),t&&t!=="atom"&&!G.allowedInArgument)throw new Y("Got function '"+C+"' with no arguments"+(t?" as "+t:""),h);if(this.mode==="text"&&!G.allowedInText)throw new Y("Can't use function '"+C+"' in text mode",h);if(this.mode==="math"&&G.allowedInMath===!1)throw new Y("Can't use function '"+C+"' in math mode",h);var{args:ye,optArgs:Ue}=this.parseArguments(C,G);return this.callFunction(C,ye,Ue,h,e)}callFunction(e,t,h,C,G){var ye={funcName:e,parser:this,token:C,breakOnTokenText:G},Ue=Zo[e];if(Ue&&Ue.handler)return Ue.handler(ye,t,h);throw new Y("No function handler for "+e)}parseArguments(e,t){var h=t.numArgs+t.numOptionalArgs;if(h===0)return{args:[],optArgs:[]};for(var C=[],G=[],ye=0;ye<h;ye++){var Ue=t.argTypes&&t.argTypes[ye],qe=ye<t.numOptionalArgs;(t.primitive&&Ue==null||t.type==="sqrt"&&ye===1&&G[0]==null)&&(Ue="primitive");var Wt=this.parseGroupOfType("argument to '"+e+"'",Ue,qe);if(qe)G.push(Wt);else if(Wt!=null)C.push(Wt);else throw new Y("Null argument, please report this as a bug")}return{args:C,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 C=this.parseArgumentGroup(h,"text");return C!=null?{type:"styling",mode:C.mode,body:[C],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 Y("A primitive argument cannot be optional");var ye=this.parseGroup(e);if(ye==null)throw new Y("Expected group as "+e,this.fetch());return ye}case"original":case null:case void 0:return this.parseArgumentGroup(h);default:throw new Y("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 C="",G;(G=this.fetch()).text!=="EOF";)C+=G.text,this.consume();return this.consume(),h.text=C,h}parseRegexGroup(e,t){for(var h=this.fetch(),C=h,G="",ye;(ye=this.fetch()).text!=="EOF"&&e.test(G+ye.text);)C=ye,G+=C.text,this.consume();if(G==="")throw new Y("Invalid "+t+": '"+h.text+"'",h);return h.range(C,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 Y("Invalid color: '"+t.text+"'",t);var C=h[0];return/^[0-9a-f]{6}$/i.test(C)&&(C="#"+C),{type:"color-token",mode:this.mode,color:C}}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 C=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!C)throw new Y("Invalid size: '"+t.text+"'",t);var G={number:+(C[1]+C[2]),unit:C[3]};if(!yt(G))throw new Y("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 C=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var G=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var ye={type:"ordgroup",mode:this.mode,loc:h.loc,body:G};return t&&this.switchMode(C),ye}parseGroup(e,t){var h=this.fetch(),C=h.text,G;if(C==="{"||C==="\\begingroup"){this.consume();var ye=C==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ue=this.parseExpression(!1,ye),qe=this.fetch();this.expect(ye),this.gullet.endGroup(),G={type:"ordgroup",mode:this.mode,loc:L.range(h,qe),body:Ue,semisimple:C==="\\begingroup"||void 0}}else if(G=this.parseFunction(t,e)||this.parseSymbol(),G==null&&C[0]==="\\"&&!_r.hasOwnProperty(C)){if(this.settings.throwOnError)throw new Y("Undefined control sequence: "+C,h);G=this.formatUnsupportedCmd(C),this.consume()}return G}formLigatures(e){for(var t=e.length-1,h=0;h<t;++h){var C=e[h],G=C.text;G==="-"&&e[h+1].text==="-"&&(h+1<t&&e[h+2].text==="-"?(e.splice(h,3,{type:"textord",mode:"text",loc:L.range(C,e[h+2]),text:"---"}),t-=2):(e.splice(h,2,{type:"textord",mode:"text",loc:L.range(C,e[h+1]),text:"--"}),t-=1)),(G==="'"||G==="`")&&e[h+1].text===G&&(e.splice(h,2,{type:"textord",mode:"text",loc:L.range(C,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),C=h.charAt(0)==="*";if(C&&(h=h.slice(1)),h.length<2||h.charAt(0)!==h.slice(-1))throw new Y(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return h=h.slice(1,-1),{type:"verb",mode:"text",body:h,star:C}}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 ye;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 Ue=sr[this.mode][t].group,qe=L.range(e),Wt;if(Rt.hasOwnProperty(Ue)){var ir=Ue;Wt={type:"atom",mode:this.mode,family:ir,loc:qe,text:t}}else Wt={type:Ue,mode:this.mode,loc:qe,text:t};ye=Wt}else if(t.charCodeAt(0)>=128)this.settings.strict&&(re(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)),ye={type:"textord",mode:"text",loc:L.range(e),text:t};else return null;if(this.consume(),G)for(var yr=0;yr<G[0].length;yr++){var Ur=G[0][yr];if(!r[Ur])throw new Y("Unknown accent ' "+Ur+"'",e);var Fr=r[Ur][this.mode]||r[Ur].text;if(!Fr)throw new Y("Accent "+Ur+" unsupported in "+this.mode+" mode",e);ye={type:"accent",mode:this.mode,loc:L.range(e),label:Fr,isStretchy:!1,isShifty:!0,base:ye}}return ye}}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 C=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 Y("\\tag works only in display equations");C=[{type:"tag",mode:"text",body:C,tag:h.subparse([new ze("\\df@tag")])}]}return C},R=function(e,t,h){t.textContent="";var C=It(e,h).toNode();t.appendChild(C)};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."),R=function(){throw new Y("KaTeX doesn't work in quirks mode.")});var se=function(e,t){var h=It(e,t).toMarkup();return h},De=function(e,t){var h=new E(t);return g(e,h)},Je=function(e,t,h){if(h.throwOnError||!(e instanceof Y))throw e;var C=d.makeSpan(["katex-error"],[new oe(t)]);return C.setAttribute("title",e.toString()),C.setAttribute("style","color:"+h.errorColor),C},It=function(e,t){var h=new E(t);try{var C=g(e,h);return Hr(C,e,h)}catch(G){return Je(G,e,h)}},ar=function(e,t){var h=new E(t);try{var C=g(e,h);return ln(C,e,h)}catch(G){return Je(G,e,h)}},pr="0.16.25",Wr={Span:Pr,Anchor:x,SymbolNode:oe,SvgNode:Be,PathNode:kr,LineNode:Br},Qr={version:pr,render:R,renderToString:se,ParseError:Y,SETTINGS_SCHEMA:D,__parse:De,__renderToDomTree:It,__renderToHTMLTree:ar,__setFontMetrics:Oe,__defineSymbol:S,__defineFunction:nt,__defineMacro:Ke,__domTree:Wr},dn=n(19453);const In={},Gn=[];function Oa(u){const e=u||In;return function(t,h){(0,dn.S4)(t,"element",function(C,G){const ye=Array.isArray(C.properties.className)?C.properties.className:Gn,Ue=ye.includes("language-math"),qe=ye.includes("math-display"),Wt=ye.includes("math-inline");let ir=qe;if(!Ue&&!qe&&!Wt)return;let yr=G[G.length-1],Ur=C;if(C.tagName==="code"&&Ue&&yr&&yr.type==="element"&&yr.tagName==="pre"&&(Ur=yr,yr=G[G.length-2],ir=!0),!yr)return;const Fr=(0,Xe.l)(Ur,{whitespace:"pre"});let un;try{un=Qr.renderToString(Fr,j0(P0({},e),{displayMode:ir,throwOnError:!0}))}catch(Nn){const Tn=Nn,ca=Tn.name.toLowerCase();h.message("Could not render math with KaTeX",{ancestors:[...G,C],cause:Tn,place:C.position,ruleId:ca,source:"rehype-katex"});try{un=Qr.renderToString(Fr,j0(P0({},e),{displayMode:ir,strict:"ignore",throwOnError:!1}))}catch(va){un=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(Nn)},children:[{type:"text",value:Fr}]}]}}typeof un=="string"&&(un=(0,o.N)(un,{fragment:!0}).children);const pn=yr.children.indexOf(Ur);return yr.children.splice(pn,1,...un),dn.AM})}}}}]);
|
|
|
}()); |