|
|
!(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,j0=(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},N0=(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),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},27812:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},89489:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},59477:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},40001:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},81953:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},26227:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},49198:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},84105:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},41464:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},18785:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},87169:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},73331:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},15277:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},52671:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},8657:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},56082:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},61481:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},33853:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},12893:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},15075:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},32134:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"plus-circle",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},62772:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},43531:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},61485:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},47472:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},87395:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},32050:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(54476),Je=n(59301),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},Re=B,J=n(7657),Q=function(u,L){return Je.createElement(J.Z,(0,o.Z)({},u,{ref:L,icon:Re}))},Y=Je.forwardRef(Q),y=Y},79562:function(){"use strict"},29509:function(qr,_t,n){"use strict";n.d(_t,{o2:function(){return J},yT:function(){return Q}});var o=n(94480),Je=n(34998);const B=Je.i.map(Y=>`${Y}-inverse`),Re=["success","processing","error","default","warning"];function J(Y){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,o.Z)(B),(0,o.Z)(Je.i)).includes(Y):Je.i.includes(Y)}function Q(Y){return Re.includes(Y)}},9981:function(qr,_t){"use strict";const n=function(){const o=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let Je=1;Je<arguments.length;Je++){const B=Je<0||arguments.length<=Je?void 0:arguments[Je];B&&Object.keys(B).forEach(Re=>{const J=B[Re];J!==void 0&&(o[Re]=J)})}return o};_t.Z=n},99402:function(qr,_t,n){"use strict";n.d(_t,{T:function(){return Je},n:function(){return o}});function o(B){return["small","middle","large"].includes(B)}function Je(B){return B?typeof B=="number"&&!Number.isNaN(B):!1}},86013:function(qr,_t,n){"use strict";var o=n(59301),Je=n(19248);const B=Re=>{let J;return typeof Re=="object"&&(Re!=null&&Re.clearIcon)?J=Re:Re&&(J={clearIcon:o.createElement(Je.Z,null)}),J};_t.Z=B},54500:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return o}});const o=Je=>Je?typeof Je=="function"?Je():Je:null},97224:function(qr,_t,n){"use strict";n.d(_t,{F:function(){return o}});function o(B){return B!=null&&B===B.window}const Je=B=>{var Re,J;if(typeof window=="undefined")return 0;let Q=0;return o(B)?Q=B.pageYOffset:B instanceof Document?Q=B.documentElement.scrollTop:(B instanceof HTMLElement||B)&&(Q=B.scrollTop),B&&!o(B)&&typeof Q!="number"&&(Q=(J=((Re=B.ownerDocument)!==null&&Re!==void 0?Re:B).documentElement)===null||J===void 0?void 0:J.scrollTop),Q};_t.Z=Je},52838:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Q}});var o=n(37645);function Je(Y,y,K,u){if(u===!1)return{adjustX:!1,adjustY:!1};const L=u&&typeof u=="object"?u:{},D={};switch(Y){case"top":case"bottom":D.shiftX=y.arrowOffsetHorizontal*2+K,D.shiftY=!0,D.adjustY=!0;break;case"left":case"right":D.shiftY=y.arrowOffsetVertical*2+K,D.shiftX=!0,D.adjustX=!0;break}const G=Object.assign(Object.assign({},D),L);return G.shiftX||(G.adjustX=!0),G.shiftY||(G.adjustY=!0),G}const B={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Re={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"]}},J=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Q(Y){const{arrowWidth:y,autoAdjustOverflow:K,arrowPointAtCenter:u,offset:L,borderRadius:D,visibleFirst:G}=Y,F=y/2,_={};return Object.keys(B).forEach(N=>{const I=u&&Re[N]||B[N],w=Object.assign(Object.assign({},I),{offset:[0,0],dynamicInset:!0});switch(_[N]=w,J.has(N)&&(w.autoArrow=!1),N){case"top":case"topLeft":case"topRight":w.offset[1]=-F-L;break;case"bottom":case"bottomLeft":case"bottomRight":w.offset[1]=F+L;break;case"left":case"leftTop":case"leftBottom":w.offset[0]=-F-L;break;case"right":case"rightTop":case"rightBottom":w.offset[0]=F+L;break}const E=(0,o.wZ)({contentRadius:D,limitVerticalRadius:!0});if(u)switch(N){case"topLeft":case"bottomLeft":w.offset[0]=-E.arrowOffsetHorizontal-F;break;case"topRight":case"bottomRight":w.offset[0]=E.arrowOffsetHorizontal+F;break;case"leftTop":case"rightTop":w.offset[1]=-E.arrowOffsetHorizontal*2+F;break;case"leftBottom":case"rightBottom":w.offset[1]=E.arrowOffsetHorizontal*2-F;break}w.overflow=Je(N,E,y,K),G&&(w.htmlRegion="visibleFirst")}),_}},83010:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Re}});var o=n(16089);function Je(J,Q,Y,y){const K=Y-Q;return J/=y/2,J<1?K/2*J*J*J+Q:K/2*((J-=2)*J*J+2)+Q}var B=n(97224);function Re(J){let Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:Y=()=>window,callback:y,duration:K=450}=Q,u=Y(),L=(0,B.Z)(u),D=Date.now(),G=()=>{const _=Date.now()-D,N=Je(_>K?K:_,L,J,K);(0,B.F)(u)?u.scrollTo(window.pageXOffset,N):u instanceof Document||u.constructor.name==="HTMLDocument"?u.documentElement.scrollTop=N:u.scrollTop=N,_<K?(0,o.Z)(G):typeof y=="function"&&y()};(0,o.Z)(G)}},82855:function(qr,_t,n){"use strict";n.d(_t,{F:function(){return J},Z:function(){return Re}});var o=n(92310),Je=n.n(o);const B=null;function Re(Q,Y,y){return Je()({[`${Q}-status-success`]:Y==="success",[`${Q}-status-warning`]:Y==="warning",[`${Q}-status-error`]:Y==="error",[`${Q}-status-validating`]:Y==="validating",[`${Q}-has-feedback`]:y})}const J=(Q,Y)=>Y||Q},41780:function(qr,_t,n){"use strict";var o=n(94480),Je=n(16089);function B(Re){let J;const Q=y=>()=>{J=null,Re.apply(void 0,(0,o.Z)(y))},Y=function(){if(J==null){for(var y=arguments.length,K=new Array(y),u=0;u<y;u++)K[u]=arguments[u];J=(0,Je.Z)(Q(K))}};return Y.cancel=()=>{Je.Z.cancel(J),J=null},Y}_t.Z=B},48608:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ae}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(29301),J=n(41780),Q=n(48755),Y=n(16931);const y=q=>{const{componentCls:te}=q;return{[te]:{position:"fixed",zIndex:q.zIndexPopup}}},K=q=>({zIndexPopup:q.zIndexBase+10});var u=(0,Y.I$)("Affix",y,K);function L(q){return q!==window?q.getBoundingClientRect():{top:0,bottom:window.innerHeight}}function D(q,te,$e){if($e!==void 0&&Math.round(te.top)>Math.round(q.top)-$e)return $e+te.top}function G(q,te,$e){if($e!==void 0&&Math.round(te.bottom)<Math.round(q.bottom)+$e){const Ne=window.innerHeight-te.bottom;return $e+Ne}}var F=function(q,te){var $e={};for(var Ne in q)Object.prototype.hasOwnProperty.call(q,Ne)&&te.indexOf(Ne)<0&&($e[Ne]=q[Ne]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(q);Qe<Ne.length;Qe++)te.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(q,Ne[Qe])&&($e[Ne[Qe]]=q[Ne[Qe]]);return $e};const _=["resize","scroll","touchstart","touchmove","touchend","pageshow","load"];function N(){return typeof window!="undefined"?window:null}const I=0,w=1;var ae=o.forwardRef((q,te)=>{var $e;const{style:Ne,offsetTop:Qe,offsetBottom:Ze,prefixCls:ye,className:Ae,rootClassName:ie,children:xe,target:M,onChange:A,onTestUpdatePosition:ot}=q,ue=F(q,["style","offsetTop","offsetBottom","prefixCls","className","rootClassName","children","target","onChange","onTestUpdatePosition"]),{getPrefixCls:ce,getTargetContainer:C}=o.useContext(Q.E_),k=ce("affix",ye),[R,S]=o.useState(!1),[X,We]=o.useState(),[ge,Ve]=o.useState(),it=o.useRef(I),dt=o.useRef(null),fe=o.useRef(null),ze=o.useRef(null),Ct=o.useRef(null),He=o.useRef(null),Fe=($e=M!=null?M:C)!==null&&$e!==void 0?$e:N,j=Ze===void 0&&Qe===void 0?0:Qe,Ye=()=>{if(it.current!==w||!Ct.current||!ze.current||!Fe)return;const qt=Fe();if(qt){const Gt={status:I},Pt=L(ze.current);if(Pt.top===0&&Pt.left===0&&Pt.width===0&&Pt.height===0)return;const at=L(qt),xt=D(Pt,at,j),Nt=G(Pt,at,Ze);xt!==void 0?(Gt.affixStyle={position:"fixed",top:xt,width:Pt.width,height:Pt.height},Gt.placeholderStyle={width:Pt.width,height:Pt.height}):Nt!==void 0&&(Gt.affixStyle={position:"fixed",bottom:Nt,width:Pt.width,height:Pt.height},Gt.placeholderStyle={width:Pt.width,height:Pt.height}),Gt.lastAffix=!!Gt.affixStyle,R!==Gt.lastAffix&&(A==null||A(Gt.lastAffix)),it.current=Gt.status,We(Gt.affixStyle),Ve(Gt.placeholderStyle),S(Gt.lastAffix)}},be=()=>{it.current=w,Ye()},de=(0,J.Z)(()=>{be()}),he=(0,J.Z)(()=>{if(Fe&&X){const qt=Fe();if(qt&&ze.current){const Gt=L(qt),Pt=L(ze.current),at=D(Pt,Gt,j),xt=G(Pt,Gt,Ze);if(at!==void 0&&X.top===at||xt!==void 0&&X.bottom===xt)return}}be()}),me=()=>{const qt=Fe==null?void 0:Fe();qt&&(_.forEach(Gt=>{var Pt;fe.current&&((Pt=dt.current)===null||Pt===void 0||Pt.removeEventListener(Gt,fe.current)),qt==null||qt.addEventListener(Gt,he)}),dt.current=qt,fe.current=he)},Ie=()=>{He.current&&(clearTimeout(He.current),He.current=null);const qt=Fe==null?void 0:Fe();_.forEach(Gt=>{var Pt;qt==null||qt.removeEventListener(Gt,he),fe.current&&((Pt=dt.current)===null||Pt===void 0||Pt.removeEventListener(Gt,fe.current))}),de.cancel(),he.cancel()};o.useImperativeHandle(te,()=>({updatePosition:de})),o.useEffect(()=>(He.current=setTimeout(me),()=>Ie()),[]),o.useEffect(()=>{me()},[M,X,R]),o.useEffect(()=>{de()},[M,Qe,Ze]);const[we,Le,qe]=u(k),yt=B()(ie,Le,k,qe),$t=B()({[yt]:X});return we(o.createElement(Re.Z,{onResize:de},o.createElement("div",Object.assign({style:Ne,className:Ae,ref:ze},ue),X&&o.createElement("div",{style:ge,"aria-hidden":"true"}),o.createElement("div",{className:$t,ref:Ct,style:X},o.createElement(Re.Z,{onResize:de},xe)))))})},1560:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return w}});var o=n(2738),Je=n(45915),B=n(82326),Re=n(59301),J=n(92310),Q=n.n(J),Y=n(11592),y=n(75030),K=n(48755);const{Option:u}=B.default;function L(E){return(E==null?void 0:E.type)&&(E.type.isSelectOption||E.type.isSelectOptGroup)}const D=(E,ae)=>{var q;const{prefixCls:te,className:$e,popupClassName:Ne,dropdownClassName:Qe,children:Ze,dataSource:ye}=E,Ae=(0,Y.Z)(Ze);let ie;Ae.length===1&&Re.isValidElement(Ae[0])&&!L(Ae[0])&&([ie]=Ae);const xe=ie?()=>ie:void 0;let M;Ae.length&&L(Ae[0])?M=Ze:M=ye?ye.map(ce=>{if(Re.isValidElement(ce))return ce;switch(typeof ce){case"string":return Re.createElement(u,{key:ce,value:ce},ce);case"object":{const{value:C}=ce;return Re.createElement(u,{key:C,value:C},ce.text)}default:return}}):[];const{getPrefixCls:A}=Re.useContext(K.E_),ot=A("select",te),[ue]=(0,y.Cn)("SelectLike",(q=E.dropdownStyle)===null||q===void 0?void 0:q.zIndex);return Re.createElement(B.default,Object.assign({ref:ae,suffixIcon:null},(0,o.Z)(E,["dataSource","dropdownClassName"]),{prefixCls:ot,popupClassName:Ne||Qe,dropdownStyle:Object.assign(Object.assign({},E.dropdownStyle),{zIndex:ue}),className:Q()(`${ot}-auto-complete`,$e),mode:B.default.SECRET_COMBOBOX_MODE_DO_NOT_USE,getInputElement:xe}),M)};var F=Re.forwardRef(D);const{Option:_}=B.default,N=(0,Je.Z)(F,"dropdownAlign",E=>(0,o.Z)(E,["visible"])),I=F;I.Option=_,I._InternalPanelDoNotUseOrYouWillBeFired=N;var w=I},91882:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ue}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(11592),J=n(26112),Q=n(22703),Y=n(48755),y=n(84105),K=n(19563);const u=ce=>{let{children:C}=ce;const{getPrefixCls:k}=o.useContext(Y.E_),R=k("breadcrumb");return o.createElement("li",{className:`${R}-separator`,"aria-hidden":"true"},C===""?C:C||"/")};u.__ANT_BREADCRUMB_SEPARATOR=!0;var L=u,D=function(ce,C){var k={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&C.indexOf(R)<0&&(k[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)C.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(k[R[S]]=ce[R[S]]);return k};function G(ce,C){if(ce.title===void 0||ce.title===null)return null;const k=Object.keys(C).join("|");return typeof ce.title=="object"?ce.title:String(ce.title).replace(new RegExp(`:(${k})`,"g"),(R,S)=>C[S]||R)}function F(ce,C,k,R){if(k==null)return null;const{className:S,onClick:X}=C,We=D(C,["className","onClick"]),ge=Object.assign(Object.assign({},(0,J.Z)(We,{data:!0,aria:!0})),{onClick:X});return R!==void 0?o.createElement("a",Object.assign({},ge,{className:B()(`${ce}-link`,S),href:R}),k):o.createElement("span",Object.assign({},ge,{className:B()(`${ce}-link`,S)}),k)}function _(ce,C){return(R,S,X,We,ge)=>{if(C)return C(R,S,X,We);const Ve=G(R,S);return F(ce,R,Ve,ge)}}var N=function(ce,C){var k={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&C.indexOf(R)<0&&(k[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)C.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(k[R[S]]=ce[R[S]]);return k};const I=ce=>{const{prefixCls:C,separator:k="/",children:R,menu:S,overlay:X,dropdownProps:We,href:ge}=ce,it=(dt=>{if(S||X){const fe=Object.assign({},We);if(S){const ze=S||{},{items:Ct}=ze,He=N(ze,["items"]);fe.menu=Object.assign(Object.assign({},He),{items:Ct==null?void 0:Ct.map((Fe,j)=>{var{key:Ye,title:be,label:de,path:he}=Fe,me=N(Fe,["key","title","label","path"]);let Ie=de!=null?de:be;return he&&(Ie=o.createElement("a",{href:`${ge}${he}`},Ie)),Object.assign(Object.assign({},me),{key:Ye!=null?Ye:j,label:Ie})})})}else X&&(fe.overlay=X);return o.createElement(K.Z,Object.assign({placement:"bottom"},fe),o.createElement("span",{className:`${C}-overlay-link`},dt,o.createElement(y.Z,null)))}return dt})(R);return it!=null?o.createElement(o.Fragment,null,o.createElement("li",null,it),k&&o.createElement(L,null,k)):null},w=ce=>{const{prefixCls:C,children:k,href:R}=ce,S=N(ce,["prefixCls","children","href"]),{getPrefixCls:X}=o.useContext(Y.E_),We=X("breadcrumb",C);return o.createElement(I,Object.assign({},S,{prefixCls:We}),F(We,S,k,R))};w.__ANT_BREADCRUMB_ITEM=!0;var E=w,ae=n(36237),q=n(63356),te=n(16931),$e=n(51636);const Ne=ce=>{const{componentCls:C,iconCls:k,calc:R}=ce;return{[C]:Object.assign(Object.assign({},(0,q.Wf)(ce)),{color:ce.itemColor,fontSize:ce.fontSize,[k]:{fontSize:ce.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:ce.linkColor,transition:`color ${ce.motionDurationMid}`,padding:`0 ${(0,ae.unit)(ce.paddingXXS)}`,borderRadius:ce.borderRadiusSM,height:ce.fontHeight,display:"inline-block",marginInline:R(ce.marginXXS).mul(-1).equal(),"&:hover":{color:ce.linkHoverColor,backgroundColor:ce.colorBgTextHover}},(0,q.Qy)(ce)),"li:last-child":{color:ce.lastItemColor},[`${C}-separator`]:{marginInline:ce.separatorMargin,color:ce.separatorColor},[`${C}-link`]:{[`
|
|
|
> ${k} + span,
|
|
|
> ${k} + a
|
|
|
`]:{marginInlineStart:ce.marginXXS}},[`${C}-overlay-link`]:{borderRadius:ce.borderRadiusSM,height:ce.fontHeight,display:"inline-block",padding:`0 ${(0,ae.unit)(ce.paddingXXS)}`,marginInline:R(ce.marginXXS).mul(-1).equal(),[`> ${k}`]:{marginInlineStart:ce.marginXXS,fontSize:ce.fontSizeIcon},"&:hover":{color:ce.linkHoverColor,backgroundColor:ce.colorBgTextHover,a:{color:ce.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${ce.componentCls}-rtl`]:{direction:"rtl"}})}},Qe=ce=>({itemColor:ce.colorTextDescription,lastItemColor:ce.colorText,iconFontSize:ce.fontSize,linkColor:ce.colorTextDescription,linkHoverColor:ce.colorText,separatorColor:ce.colorTextDescription,separatorMargin:ce.marginXS});var Ze=(0,te.I$)("Breadcrumb",ce=>{const C=(0,$e.mergeToken)(ce,{});return Ne(C)},Qe),ye=function(ce,C){var k={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&C.indexOf(R)<0&&(k[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)C.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(k[R[S]]=ce[R[S]]);return k};function Ae(ce){const{breadcrumbName:C,children:k}=ce,R=ye(ce,["breadcrumbName","children"]),S=Object.assign({title:C},R);return k&&(S.menu={items:k.map(X=>{var{breadcrumbName:We}=X,ge=ye(X,["breadcrumbName"]);return Object.assign(Object.assign({},ge),{title:We})})}),S}function ie(ce,C){return(0,o.useMemo)(()=>ce||(C?C.map(Ae):null),[ce,C])}var xe=function(ce,C){var k={};for(var R in ce)Object.prototype.hasOwnProperty.call(ce,R)&&C.indexOf(R)<0&&(k[R]=ce[R]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var S=0,R=Object.getOwnPropertySymbols(ce);S<R.length;S++)C.indexOf(R[S])<0&&Object.prototype.propertyIsEnumerable.call(ce,R[S])&&(k[R[S]]=ce[R[S]]);return k};const M=(ce,C)=>{if(C===void 0)return C;let k=(C||"").replace(/^\//,"");return Object.keys(ce).forEach(R=>{k=k.replace(`:${R}`,ce[R])}),k},A=ce=>{const{prefixCls:C,separator:k="/",style:R,className:S,rootClassName:X,routes:We,items:ge,children:Ve,itemRender:it,params:dt={}}=ce,fe=xe(ce,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:ze,direction:Ct,breadcrumb:He}=o.useContext(Y.E_);let Fe;const j=ze("breadcrumb",C),[Ye,be,de]=Ze(j),he=ie(ge,We),me=_(j,it);if(he&&he.length>0){const Le=[],qe=ge||We;Fe=he.map((yt,$t)=>{const{path:qt,key:Gt,type:Pt,menu:at,overlay:xt,onClick:Nt,className:Ht,separator:Et,dropdownProps:er}=yt,lr=M(dt,qt);lr!==void 0&&Le.push(lr);const Cr=Gt!=null?Gt:$t;if(Pt==="separator")return o.createElement(L,{key:Cr},Et);const Jr={},$r=$t===he.length-1;at?Jr.menu=at:xt&&(Jr.overlay=xt);let{href:x}=yt;return Le.length&&lr!==void 0&&(x=`#/${Le.join("/")}`),o.createElement(I,Object.assign({key:Cr},Jr,(0,J.Z)(yt,{data:!0,aria:!0}),{className:Ht,dropdownProps:er,href:x,separator:$r?"":k,onClick:Nt,prefixCls:j}),me(yt,dt,qe,Le,x))})}else if(Ve){const Le=(0,Re.Z)(Ve).length;Fe=(0,Re.Z)(Ve).map((qe,yt)=>{if(!qe)return qe;const $t=yt===Le-1;return(0,Q.Tm)(qe,{separator:$t?"":k,key:yt})})}const Ie=B()(j,He==null?void 0:He.className,{[`${j}-rtl`]:Ct==="rtl"},S,X,be,de),we=Object.assign(Object.assign({},He==null?void 0:He.style),R);return Ye(o.createElement("nav",Object.assign({className:Ie,style:we},fe),o.createElement("ol",null,Fe)))};A.Item=E,A.Separator=L;var ot=A,ue=ot},15037:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ce}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(2738),J=n(48755),Q=n(31756),Y=n(458),y=n(20554),K=function(C,k){var R={};for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&k.indexOf(S)<0&&(R[S]=C[S]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(C);X<S.length;X++)k.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(C,S[X])&&(R[S[X]]=C[S[X]]);return R},L=C=>{var{prefixCls:k,className:R,hoverable:S=!0}=C,X=K(C,["prefixCls","className","hoverable"]);const{getPrefixCls:We}=o.useContext(J.E_),ge=We("card",k),Ve=B()(`${ge}-grid`,R,{[`${ge}-grid-hoverable`]:S});return o.createElement("div",Object.assign({},X,{className:Ve}))},D=n(36237),G=n(63356),F=n(16931),_=n(51636);const N=C=>{const{antCls:k,componentCls:R,headerHeight:S,headerPadding:X,tabsMarginBottom:We}=C;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:S,marginBottom:-1,padding:`0 ${(0,D.unit)(X)}`,color:C.colorTextHeading,fontWeight:C.fontWeightStrong,fontSize:C.headerFontSize,background:C.headerBg,borderBottom:`${(0,D.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorderSecondary}`,borderRadius:`${(0,D.unit)(C.borderRadiusLG)} ${(0,D.unit)(C.borderRadiusLG)} 0 0`},(0,G.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},G.vS),{[`
|
|
|
> ${R}-typography,
|
|
|
> ${R}-typography-edit-content
|
|
|
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${k}-tabs-top`]:{clear:"both",marginBottom:We,color:C.colorText,fontWeight:"normal",fontSize:C.fontSize,"&-bar":{borderBottom:`${(0,D.unit)(C.lineWidth)} ${C.lineType} ${C.colorBorderSecondary}`}}})},I=C=>{const{cardPaddingBase:k,colorBorderSecondary:R,cardShadow:S,lineWidth:X}=C;return{width:"33.33%",padding:k,border:0,borderRadius:0,boxShadow:`
|
|
|
${(0,D.unit)(X)} 0 0 0 ${R},
|
|
|
0 ${(0,D.unit)(X)} 0 0 ${R},
|
|
|
${(0,D.unit)(X)} ${(0,D.unit)(X)} 0 0 ${R},
|
|
|
${(0,D.unit)(X)} 0 0 0 ${R} inset,
|
|
|
0 ${(0,D.unit)(X)} 0 0 ${R} inset;
|
|
|
`,transition:`all ${C.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:S}}},w=C=>{const{componentCls:k,iconCls:R,actionsLiMargin:S,cardActionsIconSize:X,colorBorderSecondary:We,actionsBg:ge}=C;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:ge,borderTop:`${(0,D.unit)(C.lineWidth)} ${C.lineType} ${We}`,display:"flex",borderRadius:`0 0 ${(0,D.unit)(C.borderRadiusLG)} ${(0,D.unit)(C.borderRadiusLG)}`},(0,G.dF)()),{"& > li":{margin:S,color:C.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:C.calc(C.cardActionsIconSize).mul(2).equal(),fontSize:C.fontSize,lineHeight:C.lineHeight,cursor:"pointer","&:hover":{color:C.colorPrimary,transition:`color ${C.motionDurationMid}`},[`a:not(${k}-btn), > ${R}`]:{display:"inline-block",width:"100%",color:C.colorTextDescription,lineHeight:(0,D.unit)(C.fontHeight),transition:`color ${C.motionDurationMid}`,"&:hover":{color:C.colorPrimary}},[`> ${R}`]:{fontSize:X,lineHeight:(0,D.unit)(C.calc(X).mul(C.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,D.unit)(C.lineWidth)} ${C.lineType} ${We}`}}})},E=C=>Object.assign(Object.assign({margin:`${(0,D.unit)(C.calc(C.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,G.dF)()),{"&-avatar":{paddingInlineEnd:C.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:C.marginXS}},"&-title":Object.assign({color:C.colorTextHeading,fontWeight:C.fontWeightStrong,fontSize:C.fontSizeLG},G.vS),"&-description":{color:C.colorTextDescription}}),ae=C=>{const{componentCls:k,colorFillAlter:R,headerPadding:S,bodyPadding:X}=C;return{[`${k}-head`]:{padding:`0 ${(0,D.unit)(S)}`,background:R,"&-title":{fontSize:C.fontSize}},[`${k}-body`]:{padding:`${(0,D.unit)(C.padding)} ${(0,D.unit)(X)}`}}},q=C=>{const{componentCls:k}=C;return{overflow:"hidden",[`${k}-body`]:{userSelect:"none"}}},te=C=>{const{componentCls:k,cardShadow:R,cardHeadPadding:S,colorBorderSecondary:X,boxShadowTertiary:We,bodyPadding:ge,extraColor:Ve}=C;return{[k]:Object.assign(Object.assign({},(0,G.Wf)(C)),{position:"relative",background:C.colorBgContainer,borderRadius:C.borderRadiusLG,[`&:not(${k}-bordered)`]:{boxShadow:We},[`${k}-head`]:N(C),[`${k}-extra`]:{marginInlineStart:"auto",color:Ve,fontWeight:"normal",fontSize:C.fontSize},[`${k}-body`]:Object.assign({padding:ge,borderRadius:`0 0 ${(0,D.unit)(C.borderRadiusLG)} ${(0,D.unit)(C.borderRadiusLG)}`},(0,G.dF)()),[`${k}-grid`]:I(C),[`${k}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,D.unit)(C.borderRadiusLG)} ${(0,D.unit)(C.borderRadiusLG)} 0 0`}},[`${k}-actions`]:w(C),[`${k}-meta`]:E(C)}),[`${k}-bordered`]:{border:`${(0,D.unit)(C.lineWidth)} ${C.lineType} ${X}`,[`${k}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${k}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${C.motionDurationMid}, border-color ${C.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:R}},[`${k}-contain-grid`]:{borderRadius:`${(0,D.unit)(C.borderRadiusLG)} ${(0,D.unit)(C.borderRadiusLG)} 0 0 `,[`${k}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${k}-loading) ${k}-body`]:{marginBlockStart:C.calc(C.lineWidth).mul(-1).equal(),marginInlineStart:C.calc(C.lineWidth).mul(-1).equal(),padding:0}},[`${k}-contain-tabs`]:{[`> div${k}-head`]:{minHeight:0,[`${k}-head-title, ${k}-extra`]:{paddingTop:S}}},[`${k}-type-inner`]:ae(C),[`${k}-loading`]:q(C),[`${k}-rtl`]:{direction:"rtl"}}},$e=C=>{const{componentCls:k,bodyPaddingSM:R,headerPaddingSM:S,headerHeightSM:X,headerFontSizeSM:We}=C;return{[`${k}-small`]:{[`> ${k}-head`]:{minHeight:X,padding:`0 ${(0,D.unit)(S)}`,fontSize:We,[`> ${k}-head-wrapper`]:{[`> ${k}-extra`]:{fontSize:C.fontSize}}},[`> ${k}-body`]:{padding:R}},[`${k}-small${k}-contain-tabs`]:{[`> ${k}-head`]:{[`${k}-head-title, ${k}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Ne=C=>{var k,R;return{headerBg:"transparent",headerFontSize:C.fontSizeLG,headerFontSizeSM:C.fontSize,headerHeight:C.fontSizeLG*C.lineHeightLG+C.padding*2,headerHeightSM:C.fontSize*C.lineHeight+C.paddingXS*2,actionsBg:C.colorBgContainer,actionsLiMargin:`${C.paddingSM}px 0`,tabsMarginBottom:-C.padding-C.lineWidth,extraColor:C.colorText,bodyPaddingSM:12,headerPaddingSM:12,bodyPadding:(k=C.bodyPadding)!==null&&k!==void 0?k:C.paddingLG,headerPadding:(R=C.headerPadding)!==null&&R!==void 0?R:C.paddingLG}};var Qe=(0,F.I$)("Card",C=>{const k=(0,_.mergeToken)(C,{cardShadow:C.boxShadowCard,cardHeadPadding:C.padding,cardPaddingBase:C.paddingLG,cardActionsIconSize:C.fontSize});return[te(k),$e(k)]},Ne),Ze=n(24971),ye=function(C,k){var R={};for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&k.indexOf(S)<0&&(R[S]=C[S]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(C);X<S.length;X++)k.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(C,S[X])&&(R[S[X]]=C[S[X]]);return R};const Ae=C=>{const{actionClasses:k,actions:R=[],actionStyle:S}=C;return o.createElement("ul",{className:k,style:S},R.map((X,We)=>{const ge=`action-${We}`;return o.createElement("li",{style:{width:`${100/R.length}%`},key:ge},o.createElement("span",null,X))}))};var xe=o.forwardRef((C,k)=>{const{prefixCls:R,className:S,rootClassName:X,style:We,extra:ge,headStyle:Ve={},bodyStyle:it={},title:dt,loading:fe,bordered:ze,variant:Ct,size:He,type:Fe,cover:j,actions:Ye,tabList:be,children:de,activeTabKey:he,defaultActiveTabKey:me,tabBarExtraContent:Ie,hoverable:we,tabProps:Le={},classNames:qe,styles:yt}=C,$t=ye(C,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","variant","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:qt,direction:Gt,card:Pt}=o.useContext(J.E_),[at]=(0,Ze.Z)("card",Ct,ze),xt=re=>{var lt;(lt=C.onTabChange)===null||lt===void 0||lt.call(C,re)},Nt=re=>{var lt;return B()((lt=Pt==null?void 0:Pt.classNames)===null||lt===void 0?void 0:lt[re],qe==null?void 0:qe[re])},Ht=re=>{var lt;return Object.assign(Object.assign({},(lt=Pt==null?void 0:Pt.styles)===null||lt===void 0?void 0:lt[re]),yt==null?void 0:yt[re])},Et=o.useMemo(()=>{let re=!1;return o.Children.forEach(de,lt=>{(lt==null?void 0:lt.type)===L&&(re=!0)}),re},[de]),er=qt("card",R),[lr,Cr,Jr]=Qe(er),$r=o.createElement(Y.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},de),x=he!==void 0,W=Object.assign(Object.assign({},Le),{[x?"activeKey":"defaultActiveKey"]:x?he:me,tabBarExtraContent:Ie});let wt;const oe=(0,Q.Z)(He),Te=!oe||oe==="default"?"large":oe,zr=be?o.createElement(y.default,Object.assign({size:Te},W,{className:`${er}-head-tabs`,onChange:xt,items:be.map(re=>{var{tab:lt}=re,pn=ye(re,["tab"]);return Object.assign({label:lt},pn)})})):null;if(dt||ge||zr){const re=B()(`${er}-head`,Nt("header")),lt=B()(`${er}-head-title`,Nt("title")),pn=B()(`${er}-extra`,Nt("extra")),mt=Object.assign(Object.assign({},Ve),Ht("header"));wt=o.createElement("div",{className:re,style:mt},o.createElement("div",{className:`${er}-head-wrapper`},dt&&o.createElement("div",{className:lt,style:Ht("title")},dt),ge&&o.createElement("div",{className:pn,style:Ht("extra")},ge)),zr)}const Ar=B()(`${er}-cover`,Nt("cover")),yn=j?o.createElement("div",{className:Ar,style:Ht("cover")},j):null,Tn=B()(`${er}-body`,Nt("body")),Ft=Object.assign(Object.assign({},it),Ht("body")),wr=o.createElement("div",{className:Tn,style:Ft},fe?$r:de),br=B()(`${er}-actions`,Nt("actions")),Br=Ye!=null&&Ye.length?o.createElement(Ae,{actionClasses:br,actionStyle:Ht("actions"),actions:Ye}):null,h=(0,Re.Z)($t,["onTabChange"]),z=B()(er,Pt==null?void 0:Pt.className,{[`${er}-loading`]:fe,[`${er}-bordered`]:at!=="borderless",[`${er}-hoverable`]:we,[`${er}-contain-grid`]:Et,[`${er}-contain-tabs`]:be==null?void 0:be.length,[`${er}-${oe}`]:oe,[`${er}-type-${Fe}`]:!!Fe,[`${er}-rtl`]:Gt==="rtl"},S,X,Cr,Jr),Oe=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),We);return lr(o.createElement("div",Object.assign({ref:k},h,{className:z,style:Oe}),wt,yn,wr,Br))}),M=function(C,k){var R={};for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&k.indexOf(S)<0&&(R[S]=C[S]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(C);X<S.length;X++)k.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(C,S[X])&&(R[S[X]]=C[S[X]]);return R},ot=C=>{const{prefixCls:k,className:R,avatar:S,title:X,description:We}=C,ge=M(C,["prefixCls","className","avatar","title","description"]),{getPrefixCls:Ve}=o.useContext(J.E_),it=Ve("card",k),dt=B()(`${it}-meta`,R),fe=S?o.createElement("div",{className:`${it}-meta-avatar`},S):null,ze=X?o.createElement("div",{className:`${it}-meta-title`},X):null,Ct=We?o.createElement("div",{className:`${it}-meta-description`},We):null,He=ze||Ct?o.createElement("div",{className:`${it}-meta-detail`},ze,Ct):null;return o.createElement("div",Object.assign({},ge,{className:dt}),fe,He)};const ue=xe;ue.Grid=L,ue.Meta=ot;var ce=ue},17149:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ye}});var o=n(94480),Je=n(59301),B=n(92310),Re=n.n(B),J=n(63727),Q=n(2738),Y=n(75030),y=n(86641),K=n(45915),u=n(82855),L=n(48755),D=n(38406),G=n(2171),F=n(83397),_=n(31756),N=n(56553),I=n(24971),w=n(1722),E=n(90376),ae=n(68525),q=n(90005),te=n(70045);function $e(be,de){const{getPrefixCls:he,direction:me,renderEmpty:Ie}=Je.useContext(L.E_),we=de||me,Le=he("select",be),qe=he("cascader",be);return[Le,qe,we,Ie]}var Ne=$e;function Qe(be,de){return Je.useMemo(()=>de?Je.createElement("span",{className:`${be}-checkbox-inner`}):!1,[de])}var Ze=n(33853),ye=n(58617),Ae=n(38819),xe=(be,de,he)=>{let me=he;he||(me=de?Je.createElement(Ze.Z,null):Je.createElement(Ae.Z,null));const Ie=Je.createElement("span",{className:`${be}-menu-item-loading-icon`},Je.createElement(ye.Z,{spin:!0}));return Je.useMemo(()=>[me,Ie],[me])},M=n(56119),A=n(16931),ot=n(36237),ue=n(36170),ce=n(63356),k=be=>{const{prefixCls:de,componentCls:he}=be,me=`${he}-menu-item`,Ie=`
|
|
|
&${me}-expand ${me}-expand-icon,
|
|
|
${me}-loading-icon
|
|
|
`;return[(0,ue.C2)(`${de}-checkbox`,be),{[he]:{"&-checkbox":{top:0,marginInlineEnd:be.paddingXS,pointerEvents:"unset"},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${he}-menu-empty`]:{[`${he}-menu`]:{width:"100%",height:"auto",[me]:{color:be.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:be.controlItemWidth,height:be.dropdownHeight,margin:0,padding:be.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${(0,ot.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`},"&-item":Object.assign(Object.assign({},ce.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:be.optionPadding,lineHeight:be.lineHeight,cursor:"pointer",transition:`all ${be.motionDurationMid}`,borderRadius:be.borderRadiusSM,"&:hover":{background:be.controlItemBgHover},"&-disabled":{color:be.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Ie]:{color:be.colorTextDisabled}},[`&-active:not(${me}-disabled)`]:{"&, &:hover":{color:be.optionSelectedColor,fontWeight:be.optionSelectedFontWeight,backgroundColor:be.optionSelectedBg}},"&-content":{flex:"auto"},[Ie]:{marginInlineStart:be.paddingXXS,color:be.colorTextDescription,fontSize:be.fontSizeIcon},"&-keyword":{color:be.colorHighlight}})}}}]};const R=be=>{const{componentCls:de,antCls:he}=be;return[{[de]:{width:be.controlWidth}},{[`${de}-dropdown`]:[{[`&${he}-select-dropdown`]:{padding:0}},k(be)]},{[`${de}-dropdown-rtl`]:{direction:"rtl"}},(0,M.c)(be)]},S=be=>{const de=Math.round((be.controlHeight-be.fontSize*be.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:be.controlItemBgActive,optionSelectedFontWeight:be.fontWeightStrong,optionPadding:`${de}px ${be.paddingSM}px`,menuPadding:be.paddingXXS,optionSelectedColor:be.colorText}};var X=(0,A.I$)("Cascader",be=>[R(be)],S);const We=be=>{const{componentCls:de}=be;return{[`${de}-panel`]:[k(be),{display:"inline-flex",border:`${(0,ot.unit)(be.lineWidth)} ${be.lineType} ${be.colorSplit}`,borderRadius:be.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${de}-menus`]:{alignItems:"stretch"},[`${de}-menu`]:{height:"auto"},"&-empty":{padding:be.paddingXXS}}]}};var ge=(0,A.A1)(["Cascader","Panel"],be=>We(be),S);function Ve(be){const{prefixCls:de,className:he,multiple:me,rootClassName:Ie,notFoundContent:we,direction:Le,expandIcon:qe,disabled:yt}=be,$t=Je.useContext(G.Z),qt=yt!=null?yt:$t,[Gt,Pt,at,xt]=Ne(de,Le),Nt=(0,F.Z)(Pt),[Ht,Et,er]=X(Pt,Nt);ge(Pt);const lr=at==="rtl",[Cr,Jr]=xe(Gt,lr,qe),$r=we||(xt==null?void 0:xt("Cascader"))||Je.createElement(D.Z,{componentName:"Cascader"}),x=Qe(Pt,me);return Ht(Je.createElement(J.s,Object.assign({},be,{checkable:x,prefixCls:Pt,className:Re()(he,Et,Ie,er,Nt),notFoundContent:$r,direction:at,expandIcon:Cr,loadingIcon:Jr,disabled:qt})))}var it=Ve,dt=function(be,de){var he={};for(var me in be)Object.prototype.hasOwnProperty.call(be,me)&&de.indexOf(me)<0&&(he[me]=be[me]);if(be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ie=0,me=Object.getOwnPropertySymbols(be);Ie<me.length;Ie++)de.indexOf(me[Ie])<0&&Object.prototype.propertyIsEnumerable.call(be,me[Ie])&&(he[me[Ie]]=be[me[Ie]]);return he};const{SHOW_CHILD:fe,SHOW_PARENT:ze}=J.default;function Ct(be,de,he){const me=be.toLowerCase().split(de).reduce((Le,qe,yt)=>yt===0?[qe]:[].concat((0,o.Z)(Le),[de,qe]),[]),Ie=[];let we=0;return me.forEach((Le,qe)=>{const yt=we+Le.length;let $t=be.slice(we,yt);we=yt,qe%2===1&&($t=Je.createElement("span",{className:`${he}-menu-item-keyword`,key:`separator-${qe}`},$t)),Ie.push($t)}),Ie}const He=(be,de,he,me)=>{const Ie=[],we=be.toLowerCase();return de.forEach((Le,qe)=>{qe!==0&&Ie.push(" / ");let yt=Le[me.label];const $t=typeof yt;($t==="string"||$t==="number")&&(yt=Ct(String(yt),we,he)),Ie.push(yt)}),Ie},Fe=Je.forwardRef((be,de)=>{var he;const{prefixCls:me,size:Ie,disabled:we,className:Le,rootClassName:qe,multiple:yt,bordered:$t=!0,transitionName:qt,choiceTransitionName:Gt="",popupClassName:Pt,dropdownClassName:at,expandIcon:xt,placement:Nt,showSearch:Ht,allowClear:Et=!0,notFoundContent:er,direction:lr,getPopupContainer:Cr,status:Jr,showArrow:$r,builtinPlacements:x,style:W,variant:wt}=be,oe=dt(be,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),Te=(0,Q.Z)(oe,["suffixIcon"]),{getPrefixCls:zr,getPopupContainer:Ar,className:yn,style:Tn}=(0,L.dj)("cascader"),{popupOverflow:Ft}=Je.useContext(L.E_),{status:wr,hasFeedback:br,isFormItemInput:Br,feedbackIcon:h}=Je.useContext(N.aM),z=(0,u.F)(wr,Jr),[Oe,re,lt,pn]=Ne(me,lr),mt=lt==="rtl",Ut=zr(),Ur=(0,F.Z)(Oe),[Pr,Yr,gn]=(0,E.Z)(Oe,Ur),qn=(0,F.Z)(re),[pe]=X(re,qn),{compactSize:mr,compactItemClassnames:et}=(0,te.ri)(Oe,lr),[Ir,Vr]=(0,I.Z)("cascader",wt,$t),wn=er||(pn==null?void 0:pn("Cascader"))||Je.createElement(D.Z,{componentName:"Cascader"}),ea=Re()(Pt||at,`${re}-dropdown`,{[`${re}-dropdown-rtl`]:lt==="rtl"},qe,Ur,qn,Yr,gn),gt=Je.useMemo(()=>{if(!Ht)return Ht;let tn={render:He};return typeof Ht=="object"&&(tn=Object.assign(Object.assign({},tn),Ht)),tn},[Ht]),nr=(0,_.Z)(tn=>{var $n;return($n=Ie!=null?Ie:mr)!==null&&$n!==void 0?$n:tn}),sr=Je.useContext(G.Z),or=we!=null?we:sr,[jr,on]=xe(Oe,mt,xt),Wr=Qe(re,yt),Dr=(0,q.Z)(be.suffixIcon,$r),{suffixIcon:nn,removeIcon:sn,clearIcon:An}=(0,ae.Z)(Object.assign(Object.assign({},be),{hasFeedback:br,feedbackIcon:h,showSuffixIcon:Dr,multiple:yt,prefixCls:Oe,componentName:"Cascader"})),Pn=Je.useMemo(()=>Nt!==void 0?Nt:mt?"bottomRight":"bottomLeft",[Nt,mt]),On=Et===!0?{clearIcon:An}:Et,[Bn]=(0,Y.Cn)("SelectLike",(he=Te.dropdownStyle)===null||he===void 0?void 0:he.zIndex),ta=Je.createElement(J.default,Object.assign({prefixCls:Oe,className:Re()(!me&&re,{[`${Oe}-lg`]:nr==="large",[`${Oe}-sm`]:nr==="small",[`${Oe}-rtl`]:mt,[`${Oe}-${Ir}`]:Vr,[`${Oe}-in-form-item`]:Br},(0,u.Z)(Oe,z,br),et,yn,Le,qe,Ur,qn,Yr,gn),disabled:or,style:Object.assign(Object.assign({},Tn),W)},Te,{builtinPlacements:(0,w.Z)(x,Ft),direction:lt,placement:Pn,notFoundContent:wn,allowClear:On,showSearch:gt,expandIcon:jr,suffixIcon:nn,removeIcon:sn,loadingIcon:on,checkable:Wr,dropdownClassName:ea,dropdownPrefixCls:me||re,dropdownStyle:Object.assign(Object.assign({},Te.dropdownStyle),{zIndex:Bn}),choiceTransitionName:(0,y.m)(Ut,"",Gt),transitionName:(0,y.m)(Ut,"slide-up",qt),getPopupContainer:Cr||Ar,ref:de}));return pe(Pr(ta))}),j=(0,K.Z)(Fe,"dropdownAlign",be=>(0,Q.Z)(be,["visible"]));Fe.SHOW_PARENT=ze,Fe.SHOW_CHILD=fe,Fe.Panel=it,Fe._InternalPanelDoNotUseOrYouWillBeFired=j;var Ye=Fe},62673:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Ze}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(16632),J=n(8654),Q=n(12919),Y=n(63872),y=n(48755),K=n(2171),u=n(83397),L=n(56553),G=o.createContext(null),F=n(36170),_=n(74632),N=function(ye,Ae){var ie={};for(var xe in ye)Object.prototype.hasOwnProperty.call(ye,xe)&&Ae.indexOf(xe)<0&&(ie[xe]=ye[xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(ye);M<xe.length;M++)Ae.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(ye,xe[M])&&(ie[xe[M]]=ye[xe[M]]);return ie};const I=(ye,Ae)=>{var ie;const{prefixCls:xe,className:M,rootClassName:A,children:ot,indeterminate:ue=!1,style:ce,onMouseEnter:C,onMouseLeave:k,skipGroup:R=!1,disabled:S}=ye,X=N(ye,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:We,direction:ge,checkbox:Ve}=o.useContext(y.E_),it=o.useContext(G),{isFormItemInput:dt}=o.useContext(L.aM),fe=o.useContext(K.Z),ze=(ie=(it==null?void 0:it.disabled)||S)!==null&&ie!==void 0?ie:fe,Ct=o.useRef(X.value),He=o.useRef(null),Fe=(0,J.sQ)(Ae,He);o.useEffect(()=>{it==null||it.registerValue(X.value)},[]),o.useEffect(()=>{if(!R)return X.value!==Ct.current&&(it==null||it.cancelValue(Ct.current),it==null||it.registerValue(X.value),Ct.current=X.value),()=>it==null?void 0:it.cancelValue(X.value)},[X.value]),o.useEffect(()=>{var yt;!((yt=He.current)===null||yt===void 0)&&yt.input&&(He.current.input.indeterminate=ue)},[ue]);const j=We("checkbox",xe),Ye=(0,u.Z)(j),[be,de,he]=(0,F.ZP)(j,Ye),me=Object.assign({},X);it&&!R&&(me.onChange=function(){X.onChange&&X.onChange.apply(X,arguments),it.toggleOption&&it.toggleOption({label:ot,value:X.value})},me.name=it.name,me.checked=it.value.includes(X.value));const Ie=B()(`${j}-wrapper`,{[`${j}-rtl`]:ge==="rtl",[`${j}-wrapper-checked`]:me.checked,[`${j}-wrapper-disabled`]:ze,[`${j}-wrapper-in-form-item`]:dt},Ve==null?void 0:Ve.className,M,A,he,Ye,de),we=B()({[`${j}-indeterminate`]:ue},Y.A,de),[Le,qe]=(0,_.Z)(me.onClick);return be(o.createElement(Q.Z,{component:"Checkbox",disabled:ze},o.createElement("label",{className:Ie,style:Object.assign(Object.assign({},Ve==null?void 0:Ve.style),ce),onMouseEnter:C,onMouseLeave:k,onClick:Le},o.createElement(Re.Z,Object.assign({},me,{onClick:qe,prefixCls:j,className:we,disabled:ze,ref:Fe})),ot!==void 0&&o.createElement("span",{className:`${j}-label`},ot))))};var E=o.forwardRef(I),ae=n(94480),q=n(2738),te=function(ye,Ae){var ie={};for(var xe in ye)Object.prototype.hasOwnProperty.call(ye,xe)&&Ae.indexOf(xe)<0&&(ie[xe]=ye[xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(ye);M<xe.length;M++)Ae.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(ye,xe[M])&&(ie[xe[M]]=ye[xe[M]]);return ie},Ne=o.forwardRef((ye,Ae)=>{const{defaultValue:ie,children:xe,options:M=[],prefixCls:A,className:ot,rootClassName:ue,style:ce,onChange:C}=ye,k=te(ye,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:R,direction:S}=o.useContext(y.E_),[X,We]=o.useState(k.value||ie||[]),[ge,Ve]=o.useState([]);o.useEffect(()=>{"value"in k&&We(k.value||[])},[k.value]);const it=o.useMemo(()=>M.map(we=>typeof we=="string"||typeof we=="number"?{label:we,value:we}:we),[M]),dt=we=>{Ve(Le=>Le.filter(qe=>qe!==we))},fe=we=>{Ve(Le=>[].concat((0,ae.Z)(Le),[we]))},ze=we=>{const Le=X.indexOf(we.value),qe=(0,ae.Z)(X);Le===-1?qe.push(we.value):qe.splice(Le,1),"value"in k||We(qe),C==null||C(qe.filter(yt=>ge.includes(yt)).sort((yt,$t)=>{const qt=it.findIndex(Pt=>Pt.value===yt),Gt=it.findIndex(Pt=>Pt.value===$t);return qt-Gt}))},Ct=R("checkbox",A),He=`${Ct}-group`,Fe=(0,u.Z)(Ct),[j,Ye,be]=(0,F.ZP)(Ct,Fe),de=(0,q.Z)(k,["value","disabled"]),he=M.length?it.map(we=>o.createElement(E,{prefixCls:Ct,key:we.value.toString(),disabled:"disabled"in we?we.disabled:k.disabled,value:we.value,checked:X.includes(we.value),onChange:we.onChange,className:`${He}-item`,style:we.style,title:we.title,id:we.id,required:we.required},we.label)):xe,me={toggleOption:ze,value:X,disabled:k.disabled,name:k.name,registerValue:fe,cancelValue:dt},Ie=B()(He,{[`${He}-rtl`]:S==="rtl"},ot,ue,be,Fe,Ye);return j(o.createElement("div",Object.assign({className:Ie,style:ce},de,{ref:Ae}),o.createElement(G.Provider,{value:me},he)))});const Qe=E;Qe.Group=Ne,Qe.__ANT_CHECKBOX=!0;var Ze=Qe},36170:function(qr,_t,n){"use strict";n.d(_t,{C2:function(){return Q}});var o=n(36237),Je=n(63356),B=n(51636),Re=n(16931);const J=Y=>{const{checkboxCls:y}=Y,K=`${y}-wrapper`;return[{[`${y}-group`]:Object.assign(Object.assign({},(0,Je.Wf)(Y)),{display:"inline-flex",flexWrap:"wrap",columnGap:Y.marginXS,[`> ${Y.antCls}-row`]:{flex:1}}),[K]:Object.assign(Object.assign({},(0,Je.Wf)(Y)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${K}`]:{marginInlineStart:0},[`&${K}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[y]:Object.assign(Object.assign({},(0,Je.Wf)(Y)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Y.borderRadiusSM,alignSelf:"center",[`${y}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${y}-inner`]:Object.assign({},(0,Je.oN)(Y))},[`${y}-inner`]:{boxSizing:"border-box",display:"block",width:Y.checkboxSize,height:Y.checkboxSize,direction:"ltr",backgroundColor:Y.colorBgContainer,border:`${(0,o.unit)(Y.lineWidth)} ${Y.lineType} ${Y.colorBorder}`,borderRadius:Y.borderRadiusSM,borderCollapse:"separate",transition:`all ${Y.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:Y.calc(Y.checkboxSize).div(14).mul(5).equal(),height:Y.calc(Y.checkboxSize).div(14).mul(8).equal(),border:`${(0,o.unit)(Y.lineWidthBold)} solid ${Y.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Y.motionDurationFast} ${Y.motionEaseInBack}, opacity ${Y.motionDurationFast}`}},"& + span":{paddingInlineStart:Y.paddingXS,paddingInlineEnd:Y.paddingXS}})},{[`
|
|
|
${K}:not(${K}-disabled),
|
|
|
${y}:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{borderColor:Y.colorPrimary}},[`${K}:not(${K}-disabled)`]:{[`&:hover ${y}-checked:not(${y}-disabled) ${y}-inner`]:{backgroundColor:Y.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${y}-checked:not(${y}-disabled):after`]:{borderColor:Y.colorPrimaryHover}}},{[`${y}-checked`]:{[`${y}-inner`]:{backgroundColor:Y.colorPrimary,borderColor:Y.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Y.motionDurationMid} ${Y.motionEaseOutBack} ${Y.motionDurationFast}`}}},[`
|
|
|
${K}-checked:not(${K}-disabled),
|
|
|
${y}-checked:not(${y}-disabled)
|
|
|
`]:{[`&:hover ${y}-inner`]:{backgroundColor:Y.colorPrimaryHover,borderColor:"transparent"}}},{[y]:{"&-indeterminate":{[`${y}-inner`]:{backgroundColor:`${Y.colorBgContainer} !important`,borderColor:`${Y.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:Y.calc(Y.fontSizeLG).div(2).equal(),height:Y.calc(Y.fontSizeLG).div(2).equal(),backgroundColor:Y.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${y}-inner`]:{backgroundColor:`${Y.colorBgContainer} !important`,borderColor:`${Y.colorPrimary} !important`}}}},{[`${K}-disabled`]:{cursor:"not-allowed"},[`${y}-disabled`]:{[`&, ${y}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${y}-inner`]:{background:Y.colorBgContainerDisabled,borderColor:Y.colorBorder,"&:after":{borderColor:Y.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Y.colorTextDisabled},[`&${y}-indeterminate ${y}-inner::after`]:{background:Y.colorTextDisabled}}}]};function Q(Y,y){const K=(0,B.mergeToken)(y,{checkboxCls:`.${Y}`,checkboxSize:y.controlInteractiveSize});return[J(K)]}_t.ZP=(0,Re.I$)("Checkbox",(Y,y)=>{let{prefixCls:K}=y;return[Q(K,Y)]})},74632:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return B}});var o=n(59301),Je=n(16089);function B(Re){const J=o.useRef(null),Q=()=>{Je.Z.cancel(J.current),J.current=null};return[()=>{Q(),J.current=(0,Je.Z)(()=>{J.current=null})},K=>{J.current&&(K.stopPropagation(),Q()),Re==null||Re(K)}]}},38406:function(qr,_t,n){"use strict";var o=n(59301),Je=n(48755),B=n(584);const Re=J=>{const{componentName:Q}=J,{getPrefixCls:Y}=(0,o.useContext)(Je.E_),y=Y("empty");switch(Q){case"Table":case"List":return o.createElement(B.Z,{image:B.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(B.Z,{image:B.Z.PRESENTED_IMAGE_SIMPLE,className:`${y}-small`});case"Table.filter":return null;default:return o.createElement(B.Z,null)}};_t.Z=Re},16326:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return pn}});var o=n(48365),Je=n(45915),B=n(59301),Re=n(54476),J={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=J,Y=n(7657),y=function(Ut,Ur){return B.createElement(Y.Z,(0,Re.Z)({},Ut,{ref:Ur,icon:Q}))},K=B.forwardRef(y),u=K,L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},D=L,G=function(Ut,Ur){return B.createElement(Y.Z,(0,Re.Z)({},Ut,{ref:Ur,icon:D}))},F=B.forwardRef(G),_=F,N={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"},I=N,w=function(Ut,Ur){return B.createElement(Y.Z,(0,Re.Z)({},Ut,{ref:Ur,icon:I}))},E=B.forwardRef(w),ae=E,q=n(92310),te=n.n(q),$e=n(8571),Ne=n(62487),Qe=n(75030),Ze=n(82855),ye=n(48755),Ae=n(2171),ie=n(83397),xe=n(31756),M=n(56553),A=n(24971),ot=n(9017),ue=n(70045),ce=n(57428),C=n(36237),k=n(53075),R=n(64910),S=n(63356),X=n(56119),We=n(46e3),ge=n(93873),Ve=n(36305),it=n(16931),dt=n(51636),fe=n(26743);const ze=(mt,Ut)=>{const{componentCls:Ur,controlHeight:Pr}=mt,Yr=Ut?`${Ur}-${Ut}`:"",gn=(0,fe.gp)(mt);return[{[`${Ur}-multiple${Yr}`]:{paddingBlock:gn.containerPadding,paddingInlineStart:gn.basePadding,minHeight:Pr,[`${Ur}-selection-item`]:{height:gn.itemHeight,lineHeight:(0,C.unit)(gn.itemLineHeight)}}}]};var He=mt=>{const{componentCls:Ut,calc:Ur,lineWidth:Pr}=mt,Yr=(0,dt.mergeToken)(mt,{fontHeight:mt.fontSize,selectHeight:mt.controlHeightSM,multipleSelectItemHeight:mt.multipleItemHeightSM,borderRadius:mt.borderRadiusSM,borderRadiusSM:mt.borderRadiusXS,controlHeight:mt.controlHeightSM}),gn=(0,dt.mergeToken)(mt,{fontHeight:Ur(mt.multipleItemHeightLG).sub(Ur(Pr).mul(2).equal()).equal(),fontSize:mt.fontSizeLG,selectHeight:mt.controlHeightLG,multipleSelectItemHeight:mt.multipleItemHeightLG,borderRadius:mt.borderRadiusLG,borderRadiusSM:mt.borderRadius,controlHeight:mt.controlHeightLG});return[ze(Yr,"small"),ze(mt),ze(gn,"large"),{[`${Ut}${Ut}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${Ut}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${Ut}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:mt.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${mt.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:mt.colorTextPlaceholder,pointerEvents:"none"}}},(0,fe._z)(mt)),{[`${Ut}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},Fe=n(17835);const j=mt=>{const{pickerCellCls:Ut,pickerCellInnerCls:Ur,cellHeight:Pr,borderRadiusSM:Yr,motionDurationMid:gn,cellHoverBg:qn,lineWidth:pe,lineType:mr,colorPrimary:et,cellActiveWithRangeBg:Ir,colorTextLightSolid:Vr,colorTextDisabled:wn,cellBgDisabled:ea,colorFillSecondary:gt}=mt;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:Pr,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[Ur]:{position:"relative",zIndex:2,display:"inline-block",minWidth:Pr,height:Pr,lineHeight:(0,C.unit)(Pr),borderRadius:Yr,transition:`background ${gn}`},[`&:hover:not(${Ut}-in-view):not(${Ut}-disabled),
|
|
|
&:hover:not(${Ut}-selected):not(${Ut}-range-start):not(${Ut}-range-end):not(${Ut}-disabled)`]:{[Ur]:{background:qn}},[`&-in-view${Ut}-today ${Ur}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${(0,C.unit)(pe)} ${mr} ${et}`,borderRadius:Yr,content:'""'}},[`&-in-view${Ut}-in-range,
|
|
|
&-in-view${Ut}-range-start,
|
|
|
&-in-view${Ut}-range-end`]:{position:"relative",[`&:not(${Ut}-disabled):before`]:{background:Ir}},[`&-in-view${Ut}-selected,
|
|
|
&-in-view${Ut}-range-start,
|
|
|
&-in-view${Ut}-range-end`]:{[`&:not(${Ut}-disabled) ${Ur}`]:{color:Vr,background:et},[`&${Ut}-disabled ${Ur}`]:{background:gt}},[`&-in-view${Ut}-range-start:not(${Ut}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${Ut}-range-end:not(${Ut}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${Ut}-range-start:not(${Ut}-range-end) ${Ur}`]:{borderStartStartRadius:Yr,borderEndStartRadius:Yr,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${Ut}-range-end:not(${Ut}-range-start) ${Ur}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Yr,borderEndEndRadius:Yr},"&-disabled":{color:wn,cursor:"not-allowed",[Ur]:{background:"transparent"},"&::before":{background:ea}},[`&-disabled${Ut}-today ${Ur}::before`]:{borderColor:wn}}},Ye=mt=>{const{componentCls:Ut,pickerCellCls:Ur,pickerCellInnerCls:Pr,pickerYearMonthCellWidth:Yr,pickerControlIconSize:gn,cellWidth:qn,paddingSM:pe,paddingXS:mr,paddingXXS:et,colorBgContainer:Ir,lineWidth:Vr,lineType:wn,borderRadiusLG:ea,colorPrimary:gt,colorTextHeading:nr,colorSplit:sr,pickerControlIconBorderWidth:or,colorIcon:jr,textHeight:on,motionDurationMid:Wr,colorIconHover:Dr,fontWeightStrong:nn,cellHeight:sn,pickerCellPaddingVertical:An,colorTextDisabled:Pn,colorText:On,fontSize:Bn,motionDurationSlow:ta,withoutTimeCellHeight:tn,pickerQuarterPanelContentHeight:$n,borderRadiusSM:Yn,colorTextLightSolid:ua,cellHoverBg:zn,timeColumnHeight:ra,timeColumnWidth:Gn,timeCellHeight:Wn,controlItemBgActive:Jn,marginXXS:Dn,pickerDatePanelPaddingHorizontal:xn,pickerControlIconMargin:Kn}=mt,Sa=mt.calc(qn).mul(7).add(mt.calc(xn).mul(2)).equal();return{[Ut]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Ir,borderRadius:ea,outline:"none","&-focused":{borderColor:gt},"&-rtl":{[`${Ut}-prev-icon,
|
|
|
${Ut}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${Ut}-next-icon,
|
|
|
${Ut}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${Ut}-time-panel`]:{[`${Ut}-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:Sa},"&-header":{display:"flex",padding:`0 ${(0,C.unit)(mr)}`,color:nr,borderBottom:`${(0,C.unit)(Vr)} ${wn} ${sr}`,"> *":{flex:"none"},button:{padding:0,color:jr,lineHeight:(0,C.unit)(on),background:"transparent",border:0,cursor:"pointer",transition:`color ${Wr}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center","&:empty":{display:"none"}},"> button":{minWidth:"1.6em",fontSize:Bn,"&:hover":{color:Dr},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:nn,lineHeight:(0,C.unit)(on),"> button":{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:mr},"&:hover":{color:gt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:gn,height:gn,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:gn,height:gn,border:"0 solid currentcolor",borderBlockStartWidth:or,borderInlineStartWidth:or,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Kn,insetInlineStart:Kn,display:"inline-block",width:gn,height:gn,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:sn,fontWeight:"normal"},th:{height:mt.calc(sn).add(mt.calc(An).mul(2)).equal(),color:On,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${(0,C.unit)(An)} 0`,color:Pn,cursor:"pointer","&-in-view":{color:On}},j(mt)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ut}-content`]:{height:mt.calc(tn).mul(4).equal()},[Pr]:{padding:`0 ${(0,C.unit)(mr)}`}},"&-quarter-panel":{[`${Ut}-content`]:{height:$n}},"&-decade-panel":{[Pr]:{padding:`0 ${(0,C.unit)(mt.calc(mr).div(2).equal())}`},[`${Ut}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${Ut}-body`]:{padding:`0 ${(0,C.unit)(mr)}`},[Pr]:{width:Yr}},"&-date-panel":{[`${Ut}-body`]:{padding:`${(0,C.unit)(mr)} ${(0,C.unit)(xn)}`},[`${Ut}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${Ut}-cell`]:{[`&:hover ${Pr},
|
|
|
&-selected ${Pr},
|
|
|
${Pr}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${Wr}`},"&:first-child:before":{borderStartStartRadius:Yn,borderEndStartRadius:Yn},"&:last-child:before":{borderStartEndRadius:Yn,borderEndEndRadius:Yn}},"&:hover td:before":{background:zn},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${Ur}`]:{"&:before":{background:gt},[`&${Ut}-cell-week`]:{color:new Fe.FastColor(ua).setA(.5).toHexString()},[Pr]:{color:ua}}},"&-range-hover td:before":{background:Jn}}},"&-week-panel, &-date-panel-show-week":{[`${Ut}-body`]:{padding:`${(0,C.unit)(mr)} ${(0,C.unit)(pe)}`},[`${Ut}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${Ut}-time-panel`]:{borderInlineStart:`${(0,C.unit)(Vr)} ${wn} ${sr}`},[`${Ut}-date-panel,
|
|
|
${Ut}-time-panel`]:{transition:`opacity ${ta}`},"&-active":{[`${Ut}-date-panel,
|
|
|
${Ut}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${Ut}-content`]:{display:"flex",flex:"auto",height:ra},"&-column":{flex:"1 0 auto",width:Gn,margin:`${(0,C.unit)(et)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${Wr}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:mt.colorTextTertiary,borderRadius:mt.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${mt.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${(0,C.unit)(Wn)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${(0,C.unit)(Vr)} ${wn} ${sr}`},"&-active":{background:new Fe.FastColor(Jn).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${Ut}-time-panel-cell`]:{marginInline:Dn,[`${Ut}-time-panel-cell-inner`]:{display:"block",width:mt.calc(Gn).sub(mt.calc(Dn).mul(2)).equal(),height:Wn,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:mt.calc(Gn).sub(Wn).div(2).equal(),color:On,lineHeight:(0,C.unit)(Wn),borderRadius:Yn,cursor:"pointer",transition:`background ${Wr}`,"&:hover":{background:zn}},"&-selected":{[`${Ut}-time-panel-cell-inner`]:{background:Jn}},"&-disabled":{[`${Ut}-time-panel-cell-inner`]:{color:Pn,background:"transparent",cursor:"not-allowed"}}}}}}}}};var de=mt=>{const{componentCls:Ut,textHeight:Ur,lineWidth:Pr,paddingSM:Yr,antCls:gn,colorPrimary:qn,cellActiveWithRangeBg:pe,colorPrimaryBorder:mr,lineType:et,colorSplit:Ir}=mt;return{[`${Ut}-dropdown`]:{[`${Ut}-footer`]:{borderTop:`${(0,C.unit)(Pr)} ${et} ${Ir}`,"&-extra":{padding:`0 ${(0,C.unit)(Yr)}`,lineHeight:(0,C.unit)(mt.calc(Ur).sub(mt.calc(Pr).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${(0,C.unit)(Pr)} ${et} ${Ir}`}}},[`${Ut}-panels + ${Ut}-footer ${Ut}-ranges`]:{justifyContent:"space-between"},[`${Ut}-ranges`]:{marginBlock:0,paddingInline:(0,C.unit)(Yr),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:(0,C.unit)(mt.calc(Ur).sub(mt.calc(Pr).mul(2)).equal()),display:"inline-block"},[`${Ut}-now-btn-disabled`]:{pointerEvents:"none",color:mt.colorTextDisabled},[`${Ut}-preset > ${gn}-tag-blue`]:{color:qn,background:pe,borderColor:mr,cursor:"pointer"},[`${Ut}-ok`]:{paddingBlock:mt.calc(Pr).mul(2).equal(),marginInlineStart:"auto"}}}}};const he=mt=>{const{componentCls:Ut,controlHeightLG:Ur,paddingXXS:Pr,padding:Yr}=mt;return{pickerCellCls:`${Ut}-cell`,pickerCellInnerCls:`${Ut}-cell-inner`,pickerYearMonthCellWidth:mt.calc(Ur).mul(1.5).equal(),pickerQuarterPanelContentHeight:mt.calc(Ur).mul(1.4).equal(),pickerCellPaddingVertical:mt.calc(Pr).add(mt.calc(Pr).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:mt.calc(Yr).add(mt.calc(Pr).div(2)).equal()}},me=mt=>{const{colorBgContainerDisabled:Ut,controlHeight:Ur,controlHeightSM:Pr,controlHeightLG:Yr,paddingXXS:gn,lineWidth:qn}=mt,pe=gn*2,mr=qn*2,et=Math.min(Ur-pe,Ur-mr),Ir=Math.min(Pr-pe,Pr-mr),Vr=Math.min(Yr-pe,Yr-mr);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(gn/2),cellHoverBg:mt.controlItemBgHover,cellActiveWithRangeBg:mt.controlItemBgActive,cellHoverWithRangeBg:new Fe.FastColor(mt.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Fe.FastColor(mt.colorPrimary).lighten(20).toHexString(),cellBgDisabled:Ut,timeColumnWidth:Yr*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:Pr*1.5,cellHeight:Pr,textHeight:Yr,withoutTimeCellHeight:Yr*1.65,multipleItemBg:mt.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:et,multipleItemHeightSM:Ir,multipleItemHeightLG:Vr,multipleSelectorBgDisabled:Ut,multipleItemColorDisabled:mt.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Ie=mt=>Object.assign(Object.assign(Object.assign(Object.assign({},(0,R.T)(mt)),me(mt)),(0,Ve.w)(mt)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:mt.zIndexPopupBase+50});var we=n(39082),qe=mt=>{const{componentCls:Ut}=mt;return{[Ut]:[Object.assign(Object.assign(Object.assign(Object.assign({},(0,we.qG)(mt)),(0,we.vc)(mt)),(0,we.H8)(mt)),(0,we.Mu)(mt)),{"&-outlined":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,C.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}},"&-filled":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.colorBgContainer,border:`${(0,C.unit)(mt.lineWidth)} ${mt.lineType} ${mt.colorSplit}`}},"&-borderless":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,C.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}},"&-underlined":{[`&${Ut}-multiple ${Ut}-selection-item`]:{background:mt.multipleItemBg,border:`${(0,C.unit)(mt.lineWidth)} ${mt.lineType} ${mt.multipleItemBorderColor}`}}}]}};const yt=(mt,Ut,Ur,Pr)=>{const Yr=mt.calc(Ur).add(2).equal(),gn=mt.max(mt.calc(Ut).sub(Yr).div(2).equal(),0),qn=mt.max(mt.calc(Ut).sub(Yr).sub(gn).equal(),0);return{padding:`${(0,C.unit)(gn)} ${(0,C.unit)(Pr)} ${(0,C.unit)(qn)}`}},$t=mt=>{const{componentCls:Ut,colorError:Ur,colorWarning:Pr}=mt;return{[`${Ut}:not(${Ut}-disabled):not([disabled])`]:{[`&${Ut}-status-error`]:{[`${Ut}-active-bar`]:{background:Ur}},[`&${Ut}-status-warning`]:{[`${Ut}-active-bar`]:{background:Pr}}}}},qt=mt=>{const{componentCls:Ut,antCls:Ur,controlHeight:Pr,paddingInline:Yr,lineWidth:gn,lineType:qn,colorBorder:pe,borderRadius:mr,motionDurationMid:et,colorTextDisabled:Ir,colorTextPlaceholder:Vr,controlHeightLG:wn,fontSizeLG:ea,controlHeightSM:gt,paddingInlineSM:nr,paddingXS:sr,marginXS:or,colorTextDescription:jr,lineWidthBold:on,colorPrimary:Wr,motionDurationSlow:Dr,zIndexPopup:nn,paddingXXS:sn,sizePopupArrow:An,colorBgElevated:Pn,borderRadiusLG:On,boxShadowSecondary:Bn,borderRadiusSM:ta,colorSplit:tn,cellHoverBg:$n,presetsWidth:Yn,presetsMaxWidth:ua,boxShadowPopoverArrow:zn,fontHeight:ra,fontHeightLG:Gn,lineHeightLG:Wn}=mt;return[{[Ut]:Object.assign(Object.assign(Object.assign({},(0,S.Wf)(mt)),yt(mt,Pr,ra,Yr)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:mr,transition:`border ${et}, box-shadow ${et}, background ${et}`,[`${Ut}-prefix`]:{flex:"0 0 auto",marginInlineEnd:mt.inputAffixPadding},[`${Ut}-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:mt.fontSize,lineHeight:mt.lineHeight,transition:`all ${et}`},(0,k.nz)(Vr)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:Ir,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:Vr}}},"&-large":Object.assign(Object.assign({},yt(mt,wn,Gn,Yr)),{[`${Ut}-input > input`]:{fontSize:ea,lineHeight:Wn}}),"&-small":Object.assign({},yt(mt,gt,ra,nr)),[`${Ut}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:mt.calc(sr).div(2).equal(),color:Ir,lineHeight:1,pointerEvents:"none",transition:`opacity ${et}, color ${et}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:or}}},[`${Ut}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:Ir,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${et}, color ${et}`,"> *":{verticalAlign:"top"},"&:hover":{color:jr}},"&:hover":{[`${Ut}-clear`]:{opacity:1},[`${Ut}-suffix:not(:last-child)`]:{opacity:0}},[`${Ut}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:ea,color:Ir,fontSize:ea,verticalAlign:"top",cursor:"default",[`${Ut}-focused &`]:{color:jr},[`${Ut}-range-separator &`]:{[`${Ut}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${Ut}-active-bar`]:{bottom:mt.calc(gn).mul(-1).equal(),height:on,background:Wr,opacity:0,transition:`all ${Dr} ease-out`,pointerEvents:"none"},[`&${Ut}-focused`]:{[`${Ut}-active-bar`]:{opacity:1}},[`${Ut}-range-separator`]:{alignItems:"center",padding:`0 ${(0,C.unit)(sr)}`,lineHeight:1}},"&-range, &-multiple":{[`${Ut}-clear`]:{insetInlineEnd:Yr},[`&${Ut}-small`]:{[`${Ut}-clear`]:{insetInlineEnd:nr}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,S.Wf)(mt)),Ye(mt)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:nn,[`&${Ut}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ut}-dropdown-placement-bottomRight`]:{[`${Ut}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ut}-dropdown-placement-topRight`]:{[`${Ut}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${Ur}-slide-up-appear, &${Ur}-slide-up-enter`]:{[`${Ut}-range-arrow${Ut}-range-arrow`]:{transition:"none"}},[`&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-topRight,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-topRight`]:{animationName:We.Qt},[`&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ur}-slide-up-enter${Ur}-slide-up-enter-active${Ut}-dropdown-placement-bottomRight,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ur}-slide-up-appear${Ur}-slide-up-appear-active${Ut}-dropdown-placement-bottomRight`]:{animationName:We.fJ},[`&${Ur}-slide-up-leave ${Ut}-panel-container`]:{pointerEvents:"none"},[`&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-topLeft,
|
|
|
&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-topRight`]:{animationName:We.ly},[`&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-bottomLeft,
|
|
|
&${Ur}-slide-up-leave${Ur}-slide-up-leave-active${Ut}-dropdown-placement-bottomRight`]:{animationName:We.Uw},[`${Ut}-panel > ${Ut}-time-panel`]:{paddingTop:sn},[`${Ut}-range-wrapper`]:{display:"flex",position:"relative"},[`${Ut}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:mt.calc(Yr).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${Dr} ease-out`},(0,Ve.W)(mt,Pn,zn)),{"&:before":{insetInlineStart:mt.calc(Yr).mul(1.5).equal()}}),[`${Ut}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Pn,borderRadius:On,boxShadow:Bn,transition:`margin ${Dr}`,display:"inline-block",pointerEvents:"auto",[`${Ut}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${Ut}-presets`]:{display:"flex",flexDirection:"column",minWidth:Yn,maxWidth:ua,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:sr,borderInlineEnd:`${(0,C.unit)(gn)} ${qn} ${tn}`,li:Object.assign(Object.assign({},S.vS),{borderRadius:ta,paddingInline:sr,paddingBlock:mt.calc(gt).sub(ra).div(2).equal(),cursor:"pointer",transition:`all ${Dr}`,"+ li":{marginTop:or},"&:hover":{background:$n}})}},[`${Ut}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${Ut}-panel`]:{borderWidth:0}}},[`${Ut}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${Ut}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:pe}}}}),"&-dropdown-range":{padding:`${(0,C.unit)(mt.calc(An).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${Ut}-separator`]:{transform:"scale(-1, 1)"},[`${Ut}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,We.oN)(mt,"slide-up"),(0,We.oN)(mt,"slide-down"),(0,ge.Fm)(mt,"move-up"),(0,ge.Fm)(mt,"move-down")]};var Gt=(0,it.I$)("DatePicker",mt=>{const Ut=(0,dt.mergeToken)((0,R.e)(mt),he(mt),{inputPaddingHorizontalBase:mt.calc(mt.paddingSM).sub(1).equal(),multipleSelectItemHeight:mt.multipleItemHeight,selectHeight:mt.controlHeight});return[de(Ut),qt(Ut),qe(Ut),$t(Ut),He(Ut),(0,X.c)(mt,{focusElCls:`${mt.componentCls}-focused`})]},Ie),Pt=n(68525);function at(mt,Ut,Ur){return Ur!==void 0?Ur:Ut==="year"&&mt.lang.yearPlaceholder?mt.lang.yearPlaceholder:Ut==="quarter"&&mt.lang.quarterPlaceholder?mt.lang.quarterPlaceholder:Ut==="month"&&mt.lang.monthPlaceholder?mt.lang.monthPlaceholder:Ut==="week"&&mt.lang.weekPlaceholder?mt.lang.weekPlaceholder:Ut==="time"&&mt.timePickerLocale.placeholder?mt.timePickerLocale.placeholder:mt.lang.placeholder}function xt(mt,Ut,Ur){return Ur!==void 0?Ur:Ut==="year"&&mt.lang.yearPlaceholder?mt.lang.rangeYearPlaceholder:Ut==="quarter"&&mt.lang.quarterPlaceholder?mt.lang.rangeQuarterPlaceholder:Ut==="month"&&mt.lang.monthPlaceholder?mt.lang.rangeMonthPlaceholder:Ut==="week"&&mt.lang.weekPlaceholder?mt.lang.rangeWeekPlaceholder:Ut==="time"&&mt.timePickerLocale.placeholder?mt.timePickerLocale.rangePlaceholder:mt.lang.rangePlaceholder}function Nt(mt,Ut){const{allowClear:Ur=!0}=mt,{clearIcon:Pr,removeIcon:Yr}=(0,Pt.Z)(Object.assign(Object.assign({},mt),{prefixCls:Ut,componentName:"DatePicker"}));return[B.useMemo(()=>Ur===!1?!1:Object.assign({clearIcon:Pr},Ur===!0?{}:Ur),[Ur,Pr]),Yr]}const[Ht,Et]=["week","WeekPicker"],[er,lr]=["month","MonthPicker"],[Cr,Jr]=["year","YearPicker"],[$r,x]=["quarter","QuarterPicker"],[W,wt]=["time","TimePicker"];var oe=n(7939),zr=mt=>B.createElement(oe.ZP,Object.assign({size:"small",type:"primary"},mt));function Ar(mt){return(0,B.useMemo)(()=>Object.assign({button:zr},mt),[mt])}var yn=function(mt,Ut){var Ur={};for(var Pr in mt)Object.prototype.hasOwnProperty.call(mt,Pr)&&Ut.indexOf(Pr)<0&&(Ur[Pr]=mt[Pr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yr=0,Pr=Object.getOwnPropertySymbols(mt);Yr<Pr.length;Yr++)Ut.indexOf(Pr[Yr])<0&&Object.prototype.propertyIsEnumerable.call(mt,Pr[Yr])&&(Ur[Pr[Yr]]=mt[Pr[Yr]]);return Ur},Ft=mt=>(0,B.forwardRef)((Ur,Pr)=>{var Yr;const{prefixCls:gn,getPopupContainer:qn,components:pe,className:mr,style:et,placement:Ir,size:Vr,disabled:wn,bordered:ea=!0,placeholder:gt,popupClassName:nr,dropdownClassName:sr,status:or,rootClassName:jr,variant:on,picker:Wr}=Ur,Dr=yn(Ur,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),nn=B.useRef(null),{getPrefixCls:sn,direction:An,getPopupContainer:Pn,rangePicker:On}=(0,B.useContext)(ye.E_),Bn=sn("picker",gn),{compactSize:ta,compactItemClassnames:tn}=(0,ue.ri)(Bn,An),$n=sn(),[Yn,ua]=(0,A.Z)("rangePicker",on,ea),zn=(0,ie.Z)(Bn),[ra,Gn,Wn]=Gt(Bn,zn),[Jn]=Nt(Ur,Bn),Dn=Ar(pe),xn=(0,xe.Z)($=>{var v;return(v=Vr!=null?Vr:ta)!==null&&v!==void 0?v:$}),Kn=B.useContext(Ae.Z),Sa=wn!=null?wn:Kn,za=(0,B.useContext)(M.aM),{hasFeedback:to,status:ro,feedbackIcon:so}=za,f=B.createElement(B.Fragment,null,Wr===W?B.createElement(_,null):B.createElement(u,null),to&&so);(0,B.useImperativeHandle)(Pr,()=>nn.current);const[s]=(0,ot.Z)("Calendar",ce.Z),p=Object.assign(Object.assign({},s),Ur.locale),[b]=(0,Qe.Cn)("DatePicker",(Yr=Ur.popupStyle)===null||Yr===void 0?void 0:Yr.zIndex);return ra(B.createElement(Ne.Z,{space:!0},B.createElement($e.Sq,Object.assign({separator:B.createElement("span",{"aria-label":"to",className:`${Bn}-separator`},B.createElement(ae,null)),disabled:Sa,ref:nn,placement:Ir,placeholder:xt(p,Wr,gt),suffixIcon:f,prevIcon:B.createElement("span",{className:`${Bn}-prev-icon`}),nextIcon:B.createElement("span",{className:`${Bn}-next-icon`}),superPrevIcon:B.createElement("span",{className:`${Bn}-super-prev-icon`}),superNextIcon:B.createElement("span",{className:`${Bn}-super-next-icon`}),transitionName:`${$n}-slide-up`,picker:Wr},Dr,{className:te()({[`${Bn}-${xn}`]:xn,[`${Bn}-${Yn}`]:ua},(0,Ze.Z)(Bn,(0,Ze.F)(ro,or),to),Gn,tn,mr,On==null?void 0:On.className,Wn,zn,jr),style:Object.assign(Object.assign({},On==null?void 0:On.style),et),locale:p.lang,prefixCls:Bn,getPopupContainer:qn||Pn,generateConfig:mt,components:Dn,direction:An,classNames:{popup:te()(Gn,nr||sr,Wn,zn,jr)},styles:{popup:Object.assign(Object.assign({},Ur.popupStyle),{zIndex:b})},allowClear:Jn}))))}),wr=function(mt,Ut){var Ur={};for(var Pr in mt)Object.prototype.hasOwnProperty.call(mt,Pr)&&Ut.indexOf(Pr)<0&&(Ur[Pr]=mt[Pr]);if(mt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Yr=0,Pr=Object.getOwnPropertySymbols(mt);Yr<Pr.length;Yr++)Ut.indexOf(Pr[Yr])<0&&Object.prototype.propertyIsEnumerable.call(mt,Pr[Yr])&&(Ur[Pr[Yr]]=mt[Pr[Yr]]);return Ur},Br=mt=>{const Ut=(mr,et)=>{const Ir=et===wt?"timePicker":"datePicker";return(0,B.forwardRef)((wn,ea)=>{var gt;const{prefixCls:nr,getPopupContainer:sr,components:or,style:jr,className:on,rootClassName:Wr,size:Dr,bordered:nn,placement:sn,placeholder:An,popupClassName:Pn,dropdownClassName:On,disabled:Bn,status:ta,variant:tn,onCalendarChange:$n}=wn,Yn=wr(wn,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:ua,direction:zn,getPopupContainer:ra,[Ir]:Gn}=(0,B.useContext)(ye.E_),Wn=ua("picker",nr),{compactSize:Jn,compactItemClassnames:Dn}=(0,ue.ri)(Wn,zn),xn=B.useRef(null),[Kn,Sa]=(0,A.Z)("datePicker",tn,nn),za=(0,ie.Z)(Wn),[to,ro,so]=Gt(Wn,za);(0,B.useImperativeHandle)(ea,()=>xn.current);const f={showToday:!0},s=mr||wn.picker,p=ua(),{onSelect:b,multiple:$}=Yn,v=b&&mr==="time"&&!$,T=(nt,Se,Vt)=>{$n==null||$n(nt,Se,Vt),v&&b(nt)},[Z,ee]=Nt(wn,Wn),Ee=Ar(or),st=(0,xe.Z)(nt=>{var Se;return(Se=Dr!=null?Dr:Jn)!==null&&Se!==void 0?Se:nt}),jt=B.useContext(Ae.Z),At=Bn!=null?Bn:jt,ve=(0,B.useContext)(M.aM),{hasFeedback:kt,status:Ge,feedbackIcon:Zt}=ve,pt=B.createElement(B.Fragment,null,s==="time"?B.createElement(_,null):B.createElement(u,null),kt&&Zt),[ar]=(0,ot.Z)("DatePicker",ce.Z),yr=Object.assign(Object.assign({},ar),wn.locale),[Qt]=(0,Qe.Cn)("DatePicker",(gt=wn.popupStyle)===null||gt===void 0?void 0:gt.zIndex);return to(B.createElement(Ne.Z,{space:!0},B.createElement($e.ZP,Object.assign({ref:xn,placeholder:at(yr,s,An),suffixIcon:pt,placement:sn,prevIcon:B.createElement("span",{className:`${Wn}-prev-icon`}),nextIcon:B.createElement("span",{className:`${Wn}-next-icon`}),superPrevIcon:B.createElement("span",{className:`${Wn}-super-prev-icon`}),superNextIcon:B.createElement("span",{className:`${Wn}-super-next-icon`}),transitionName:`${p}-slide-up`,picker:mr,onCalendarChange:T},f,Yn,{locale:yr.lang,className:te()({[`${Wn}-${st}`]:st,[`${Wn}-${Kn}`]:Sa},(0,Ze.Z)(Wn,(0,Ze.F)(Ge,ta),kt),ro,Dn,Gn==null?void 0:Gn.className,on,so,za,Wr),style:Object.assign(Object.assign({},Gn==null?void 0:Gn.style),jr),prefixCls:Wn,getPopupContainer:sr||ra,generateConfig:mt,components:Ee,direction:zn,disabled:At,classNames:{popup:te()(ro,so,za,Wr,Pn||On)},styles:{popup:Object.assign(Object.assign({},wn.popupStyle),{zIndex:Qt})},allowClear:Z,removeIcon:ee}))))})},Ur=Ut(),Pr=Ut(Ht,Et),Yr=Ut(er,lr),gn=Ut(Cr,Jr),qn=Ut($r,x),pe=Ut(W,wt);return{DatePicker:Ur,WeekPicker:Pr,MonthPicker:Yr,YearPicker:gn,TimePicker:pe,QuarterPicker:qn}},z=mt=>{const{DatePicker:Ut,WeekPicker:Ur,MonthPicker:Pr,YearPicker:Yr,TimePicker:gn,QuarterPicker:qn}=Br(mt),pe=Ft(mt),mr=Ut;return mr.WeekPicker=Ur,mr.MonthPicker=Pr,mr.YearPicker=Yr,mr.RangePicker=pe,mr.TimePicker=gn,mr.QuarterPicker=qn,mr};const Oe=z(o.Z),re=(0,Je.Z)(Oe,"popupAlign",void 0,"picker");Oe._InternalPanelDoNotUseOrYouWillBeFired=re;const lt=(0,Je.Z)(Oe.RangePicker,"popupAlign",void 0,"picker");Oe._InternalRangePanelDoNotUseOrYouWillBeFired=lt,Oe.generatePicker=z;var pn=Oe},37285:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return F}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(48755),J=n(36237),Q=n(63356),Y=n(16931),y=n(51636);const K=_=>{const{componentCls:N,sizePaddingEdgeHorizontal:I,colorSplit:w,lineWidth:E,textPaddingInline:ae,orientationMargin:q,verticalMarginInline:te}=_;return{[N]:Object.assign(Object.assign({},(0,Q.Wf)(_)),{borderBlockStart:`${(0,J.unit)(E)} solid ${w}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:te,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,J.unit)(E)} solid ${w}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,J.unit)(_.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${N}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,J.unit)(_.dividerHorizontalWithTextGutterMargin)} 0`,color:_.colorTextHeading,fontWeight:500,fontSize:_.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${w}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,J.unit)(E)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${N}-with-text-start`]:{"&::before":{width:`calc(${q} * 100%)`},"&::after":{width:`calc(100% - ${q} * 100%)`}},[`&-horizontal${N}-with-text-end`]:{"&::before":{width:`calc(100% - ${q} * 100%)`},"&::after":{width:`calc(${q} * 100%)`}},[`${N}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:ae},"&-dashed":{background:"none",borderColor:w,borderStyle:"dashed",borderWidth:`${(0,J.unit)(E)} 0 0`},[`&-horizontal${N}-with-text${N}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${N}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:w,borderStyle:"dotted",borderWidth:`${(0,J.unit)(E)} 0 0`},[`&-horizontal${N}-with-text${N}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${N}-dotted`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${N}-with-text`]:{color:_.colorText,fontWeight:"normal",fontSize:_.fontSize},[`&-horizontal${N}-with-text-start${N}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${N}-inner-text`]:{paddingInlineStart:I}},[`&-horizontal${N}-with-text-end${N}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${N}-inner-text`]:{paddingInlineEnd:I}}})}},u=_=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:_.marginXS});var L=(0,Y.I$)("Divider",_=>{const N=(0,y.mergeToken)(_,{dividerHorizontalWithTextGutterMargin:_.margin,dividerHorizontalGutterMargin:_.marginLG,sizePaddingEdgeHorizontal:0});return[K(N)]},u,{unitless:{orientationMargin:!0}}),D=function(_,N){var I={};for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&N.indexOf(w)<0&&(I[w]=_[w]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,w=Object.getOwnPropertySymbols(_);E<w.length;E++)N.indexOf(w[E])<0&&Object.prototype.propertyIsEnumerable.call(_,w[E])&&(I[w[E]]=_[w[E]]);return I},F=_=>{const{getPrefixCls:N,direction:I,className:w,style:E}=(0,Re.dj)("divider"),{prefixCls:ae,type:q="horizontal",orientation:te="center",orientationMargin:$e,className:Ne,rootClassName:Qe,children:Ze,dashed:ye,variant:Ae="solid",plain:ie,style:xe}=_,M=D(_,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),A=N("divider",ae),[ot,ue,ce]=L(A),C=!!Ze,k=o.useMemo(()=>te==="left"?I==="rtl"?"end":"start":te==="right"?I==="rtl"?"start":"end":te,[I,te]),R=k==="start"&&$e!=null,S=k==="end"&&$e!=null,X=B()(A,w,ue,ce,`${A}-${q}`,{[`${A}-with-text`]:C,[`${A}-with-text-${k}`]:C,[`${A}-dashed`]:!!ye,[`${A}-${Ae}`]:Ae!=="solid",[`${A}-plain`]:!!ie,[`${A}-rtl`]:I==="rtl",[`${A}-no-default-orientation-margin-start`]:R,[`${A}-no-default-orientation-margin-end`]:S},Ne,Qe),We=o.useMemo(()=>typeof $e=="number"?$e:/^\d+$/.test($e)?Number($e):$e,[$e]),ge={marginInlineStart:R?We:void 0,marginInlineEnd:S?We:void 0};return ot(o.createElement("div",Object.assign({className:X,style:Object.assign(Object.assign({},E),xe)},M,{role:"separator"}),Ze&&q!=="vertical"&&o.createElement("span",{className:`${A}-inner-text`,style:ge},Ze)))}},30641:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ot}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(66042),J=n(62487),Q=n(75030),Y=n(86641),y=n(55743),K=n(48755),u=n(91190),L=n(78776),D=n(458),F=ue=>{var ce,C;const{prefixCls:k,title:R,footer:S,extra:X,loading:We,onClose:ge,headerStyle:Ve,bodyStyle:it,footerStyle:dt,children:fe,classNames:ze,styles:Ct}=ue,He=(0,K.dj)("drawer"),Fe=o.useCallback(he=>o.createElement("button",{type:"button",onClick:ge,"aria-label":"Close",className:`${k}-close`},he),[ge]),[j,Ye]=(0,L.Z)((0,L.w)(ue),(0,L.w)(He),{closable:!0,closeIconRender:Fe}),be=o.useMemo(()=>{var he,me;return!R&&!j?null:o.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(he=He.styles)===null||he===void 0?void 0:he.header),Ve),Ct==null?void 0:Ct.header),className:B()(`${k}-header`,{[`${k}-header-close-only`]:j&&!R&&!X},(me=He.classNames)===null||me===void 0?void 0:me.header,ze==null?void 0:ze.header)},o.createElement("div",{className:`${k}-header-title`},Ye,R&&o.createElement("div",{className:`${k}-title`},R)),X&&o.createElement("div",{className:`${k}-extra`},X))},[j,Ye,X,Ve,k,R]),de=o.useMemo(()=>{var he,me;if(!S)return null;const Ie=`${k}-footer`;return o.createElement("div",{className:B()(Ie,(he=He.classNames)===null||he===void 0?void 0:he.footer,ze==null?void 0:ze.footer),style:Object.assign(Object.assign(Object.assign({},(me=He.styles)===null||me===void 0?void 0:me.footer),dt),Ct==null?void 0:Ct.footer)},S)},[S,dt,k]);return o.createElement(o.Fragment,null,be,o.createElement("div",{className:B()(`${k}-body`,ze==null?void 0:ze.body,(ce=He.classNames)===null||ce===void 0?void 0:ce.body),style:Object.assign(Object.assign(Object.assign({},(C=He.styles)===null||C===void 0?void 0:C.body),it),Ct==null?void 0:Ct.body)},We?o.createElement(D.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${k}-body-skeleton`}):fe),de)},_=n(36237),N=n(63356),I=n(16931),w=n(51636);const E=ue=>{const ce="100%";return{left:`translateX(-${ce})`,right:`translateX(${ce})`,top:`translateY(-${ce})`,bottom:`translateY(${ce})`}[ue]},ae=(ue,ce)=>({"&-enter, &-appear":Object.assign(Object.assign({},ue),{"&-active":ce}),"&-leave":Object.assign(Object.assign({},ce),{"&-active":ue})}),q=(ue,ce)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${ce}`}}},ae({opacity:ue},{opacity:1})),te=(ue,ce)=>[q(.7,ce),ae({transform:E(ue)},{transform:"none"})];var Ne=ue=>{const{componentCls:ce,motionDurationSlow:C}=ue;return{[ce]:{[`${ce}-mask-motion`]:q(0,C),[`${ce}-panel-motion`]:["left","right","top","bottom"].reduce((k,R)=>Object.assign(Object.assign({},k),{[`&-${R}`]:te(R,C)}),{})}}};const Qe=ue=>{const{borderRadiusSM:ce,componentCls:C,zIndexPopup:k,colorBgMask:R,colorBgElevated:S,motionDurationSlow:X,motionDurationMid:We,paddingXS:ge,padding:Ve,paddingLG:it,fontSizeLG:dt,lineHeightLG:fe,lineWidth:ze,lineType:Ct,colorSplit:He,marginXS:Fe,colorIcon:j,colorIconHover:Ye,colorBgTextHover:be,colorBgTextActive:de,colorText:he,fontWeightStrong:me,footerPaddingBlock:Ie,footerPaddingInline:we,calc:Le}=ue,qe=`${C}-content-wrapper`;return{[C]:{position:"fixed",inset:0,zIndex:k,pointerEvents:"none",color:he,"&-pure":{position:"relative",background:S,display:"flex",flexDirection:"column",[`&${C}-left`]:{boxShadow:ue.boxShadowDrawerLeft},[`&${C}-right`]:{boxShadow:ue.boxShadowDrawerRight},[`&${C}-top`]:{boxShadow:ue.boxShadowDrawerUp},[`&${C}-bottom`]:{boxShadow:ue.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${C}-mask`]:{position:"absolute",inset:0,zIndex:k,background:R,pointerEvents:"auto"},[qe]:{position:"absolute",zIndex:k,maxWidth:"100vw",transition:`all ${X}`,"&-hidden":{display:"none"}},[`&-left > ${qe}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:ue.boxShadowDrawerLeft},[`&-right > ${qe}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:ue.boxShadowDrawerRight},[`&-top > ${qe}`]:{top:0,insetInline:0,boxShadow:ue.boxShadowDrawerUp},[`&-bottom > ${qe}`]:{bottom:0,insetInline:0,boxShadow:ue.boxShadowDrawerDown},[`${C}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:S,pointerEvents:"auto"},[`${C}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,_.unit)(Ve)} ${(0,_.unit)(it)}`,fontSize:dt,lineHeight:fe,borderBottom:`${(0,_.unit)(ze)} ${Ct} ${He}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${C}-extra`]:{flex:"none"},[`${C}-close`]:Object.assign({display:"inline-flex",width:Le(dt).add(ge).equal(),height:Le(dt).add(ge).equal(),borderRadius:ce,justifyContent:"center",alignItems:"center",marginInlineEnd:Fe,color:j,fontWeight:me,fontSize:dt,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${We}`,textRendering:"auto","&:hover":{color:Ye,backgroundColor:be,textDecoration:"none"},"&:active":{backgroundColor:de}},(0,N.Qy)(ue)),[`${C}-title`]:{flex:1,margin:0,fontWeight:ue.fontWeightStrong,fontSize:dt,lineHeight:fe},[`${C}-body`]:{flex:1,minWidth:0,minHeight:0,padding:it,overflow:"auto",[`${C}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${C}-footer`]:{flexShrink:0,padding:`${(0,_.unit)(Ie)} ${(0,_.unit)(we)}`,borderTop:`${(0,_.unit)(ze)} ${Ct} ${He}`},"&-rtl":{direction:"rtl"}}}},Ze=ue=>({zIndexPopup:ue.zIndexPopupBase,footerPaddingBlock:ue.paddingXS,footerPaddingInline:ue.padding});var ye=(0,I.I$)("Drawer",ue=>{const ce=(0,w.mergeToken)(ue,{});return[Qe(ce),Ne(ce)]},Ze),Ae=function(ue,ce){var C={};for(var k in ue)Object.prototype.hasOwnProperty.call(ue,k)&&ce.indexOf(k)<0&&(C[k]=ue[k]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,k=Object.getOwnPropertySymbols(ue);R<k.length;R++)ce.indexOf(k[R])<0&&Object.prototype.propertyIsEnumerable.call(ue,k[R])&&(C[k[R]]=ue[k[R]]);return C};const ie=null,xe={distance:180},M=ue=>{var ce;const{rootClassName:C,width:k,height:R,size:S="default",mask:X=!0,push:We=xe,open:ge,afterOpenChange:Ve,onClose:it,prefixCls:dt,getContainer:fe,style:ze,className:Ct,visible:He,afterVisibleChange:Fe,maskStyle:j,drawerStyle:Ye,contentWrapperStyle:be}=ue,de=Ae(ue,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:he,getPrefixCls:me,direction:Ie,className:we,style:Le,classNames:qe,styles:yt}=(0,K.dj)("drawer"),$t=me("drawer",dt),[qt,Gt,Pt]=ye($t),at=fe===void 0&&he?()=>he(document.body):fe,xt=B()({"no-mask":!X,[`${$t}-rtl`]:Ie==="rtl"},C,Gt,Pt),Nt=o.useMemo(()=>k!=null?k:S==="large"?736:378,[k,S]),Ht=o.useMemo(()=>R!=null?R:S==="large"?736:378,[R,S]),Et={motionName:(0,Y.m)($t,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},er=W=>({motionName:(0,Y.m)($t,`panel-motion-${W}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),lr=(0,u.H)(),[Cr,Jr]=(0,Q.Cn)("Drawer",de.zIndex),{classNames:$r={},styles:x={}}=de;return qt(o.createElement(J.Z,{form:!0,space:!0},o.createElement(y.Z.Provider,{value:Jr},o.createElement(Re.Z,Object.assign({prefixCls:$t,onClose:it,maskMotion:Et,motion:er},de,{classNames:{mask:B()($r.mask,qe.mask),content:B()($r.content,qe.content),wrapper:B()($r.wrapper,qe.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},x.mask),j),yt.mask),content:Object.assign(Object.assign(Object.assign({},x.content),Ye),yt.content),wrapper:Object.assign(Object.assign(Object.assign({},x.wrapper),be),yt.wrapper)},open:ge!=null?ge:He,mask:X,push:We,width:Nt,height:Ht,style:Object.assign(Object.assign({},Le),ze),className:B()(we,Ct),rootClassName:xt,getContainer:at,afterOpenChange:Ve!=null?Ve:Fe,panelRef:lr,zIndex:Cr}),o.createElement(F,Object.assign({prefixCls:$t},de,{onClose:it}))))))},A=ue=>{const{prefixCls:ce,style:C,className:k,placement:R="right"}=ue,S=Ae(ue,["prefixCls","style","className","placement"]),{getPrefixCls:X}=o.useContext(K.E_),We=X("drawer",ce),[ge,Ve,it]=ye(We),dt=B()(We,`${We}-pure`,`${We}-${R}`,Ve,it,k);return ge(o.createElement("div",{className:dt,style:C},o.createElement(F,Object.assign({prefixCls:We},S))))};M._InternalPanelDoNotUseOrYouWillBeFired=A;var ot=M},19563:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return We}});var o=n(59301),Je=n(33853),B=n(38819),Re=n(92310),J=n.n(Re),Q=n(96478),Y=n(6089),y=n(18929),K=n(2738),u=n(75030),D=ge=>typeof ge!="object"&&typeof ge!="function"||ge===null,G=n(52838),F=n(45915),_=n(22703),N=n(32383),I=n(55743),w=n(48755),E=n(83397),ae=n(93041),q=n(78857),te=n(57700),$e=n(36237),Ne=n(63356),Qe=n(46e3),Ze=n(93873),ye=n(34925),Ae=n(37645),ie=n(36305),xe=n(16931),M=n(51636),ot=ge=>{const{componentCls:Ve,menuCls:it,colorError:dt,colorTextLightSolid:fe}=ge,ze=`${it}-item`;return{[`${Ve}, ${Ve}-menu-submenu`]:{[`${it} ${ze}`]:{[`&${ze}-danger:not(${ze}-disabled)`]:{color:dt,"&:hover":{color:fe,backgroundColor:dt}}}}}};const ue=ge=>{const{componentCls:Ve,menuCls:it,zIndexPopup:dt,dropdownArrowDistance:fe,sizePopupArrow:ze,antCls:Ct,iconCls:He,motionDurationMid:Fe,paddingBlock:j,fontSize:Ye,dropdownEdgeChildPadding:be,colorTextDisabled:de,fontSizeIcon:he,controlPaddingHorizontal:me,colorBgElevated:Ie}=ge;return[{[Ve]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:dt,display:"block","&::before":{position:"absolute",insetBlock:ge.calc(ze).div(2).sub(fe).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${Ct}-btn`]:{[`& > ${He}-down, & > ${Ct}-btn-icon > ${He}-down`]:{fontSize:he}},[`${Ve}-wrap`]:{position:"relative",[`${Ct}-btn > ${He}-down`]:{fontSize:he},[`${He}-down::before`]:{transition:`transform ${Fe}`}},[`${Ve}-wrap-open`]:{[`${He}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Ve}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Ve}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Ve}-placement-bottom,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Ve}-placement-bottom,
|
|
|
&${Ct}-slide-down-enter${Ct}-slide-down-enter-active${Ve}-placement-bottomRight,
|
|
|
&${Ct}-slide-down-appear${Ct}-slide-down-appear-active${Ve}-placement-bottomRight`]:{animationName:Qe.fJ},[`&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Ve}-placement-topLeft,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Ve}-placement-topLeft,
|
|
|
&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Ve}-placement-top,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Ve}-placement-top,
|
|
|
&${Ct}-slide-up-enter${Ct}-slide-up-enter-active${Ve}-placement-topRight,
|
|
|
&${Ct}-slide-up-appear${Ct}-slide-up-appear-active${Ve}-placement-topRight`]:{animationName:Qe.Qt},[`&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Ve}-placement-bottomLeft,
|
|
|
&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Ve}-placement-bottom,
|
|
|
&${Ct}-slide-down-leave${Ct}-slide-down-leave-active${Ve}-placement-bottomRight`]:{animationName:Qe.Uw},[`&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Ve}-placement-topLeft,
|
|
|
&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Ve}-placement-top,
|
|
|
&${Ct}-slide-up-leave${Ct}-slide-up-leave-active${Ve}-placement-topRight`]:{animationName:Qe.ly}}},(0,Ae.ZP)(ge,Ie,{arrowPlacement:{top:!0,bottom:!0}}),{[`${Ve} ${it}`]:{position:"relative",margin:0},[`${it}-submenu-popup`]:{position:"absolute",zIndex:dt,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ve}, ${Ve}-menu-submenu`]:Object.assign(Object.assign({},(0,Ne.Wf)(ge)),{[it]:Object.assign(Object.assign({padding:be,listStyleType:"none",backgroundColor:Ie,backgroundClip:"padding-box",borderRadius:ge.borderRadiusLG,outline:"none",boxShadow:ge.boxShadowSecondary},(0,Ne.Qy)(ge)),{"&:empty":{padding:0,boxShadow:"none"},[`${it}-item-group-title`]:{padding:`${(0,$e.unit)(j)} ${(0,$e.unit)(me)}`,color:ge.colorTextDescription,transition:`all ${Fe}`},[`${it}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${it}-item-icon`]:{minWidth:Ye,marginInlineEnd:ge.marginXS,fontSize:ge.fontSizeSM},[`${it}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${Fe}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${it}-item-extra`]:{paddingInlineStart:ge.padding,marginInlineStart:"auto",fontSize:ge.fontSizeSM,color:ge.colorTextDescription}},[`${it}-item, ${it}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,$e.unit)(j)} ${(0,$e.unit)(me)}`,color:ge.colorText,fontWeight:"normal",fontSize:Ye,lineHeight:ge.lineHeight,cursor:"pointer",transition:`all ${Fe}`,borderRadius:ge.borderRadiusSM,"&:hover, &-active":{backgroundColor:ge.controlItemBgHover}},(0,Ne.Qy)(ge)),{"&-selected":{color:ge.colorPrimary,backgroundColor:ge.controlItemBgActive,"&:hover, &-active":{backgroundColor:ge.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:Ie,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,$e.unit)(ge.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:ge.colorSplit},[`${Ve}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ge.paddingXS,[`${Ve}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ge.colorTextDescription,fontSize:he,fontStyle:"normal"}}}),[`${it}-item-group-list`]:{margin:`0 ${(0,$e.unit)(ge.marginXS)}`,padding:0,listStyle:"none"},[`${it}-submenu-title`]:{paddingInlineEnd:ge.calc(me).add(ge.fontSizeSM).equal()},[`${it}-submenu-vertical`]:{position:"relative"},[`${it}-submenu${it}-submenu-disabled ${Ve}-menu-submenu-title`]:{[`&, ${Ve}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:Ie,cursor:"not-allowed"}},[`${it}-submenu-selected ${Ve}-menu-submenu-title`]:{color:ge.colorPrimary}})})},[(0,Qe.oN)(ge,"slide-up"),(0,Qe.oN)(ge,"slide-down"),(0,Ze.Fm)(ge,"move-up"),(0,Ze.Fm)(ge,"move-down"),(0,ye._y)(ge,"zoom-big")]]},ce=ge=>Object.assign(Object.assign({zIndexPopup:ge.zIndexPopupBase+50,paddingBlock:(ge.controlHeight-ge.fontSize*ge.lineHeight)/2},(0,Ae.wZ)({contentRadius:ge.borderRadiusLG,limitVerticalRadius:!0})),(0,ie.w)(ge));var C=(0,xe.I$)("Dropdown",ge=>{const{marginXXS:Ve,sizePopupArrow:it,paddingXXS:dt,componentCls:fe}=ge,ze=(0,M.mergeToken)(ge,{menuCls:`${fe}-menu`,dropdownArrowDistance:ge.calc(it).div(2).add(Ve).equal(),dropdownEdgeChildPadding:dt});return[ue(ze),ot(ze)]},ce,{resetStyle:!1});const k=null,R=ge=>{var Ve;const{menu:it,arrow:dt,prefixCls:fe,children:ze,trigger:Ct,disabled:He,dropdownRender:Fe,getPopupContainer:j,overlayClassName:Ye,rootClassName:be,overlayStyle:de,open:he,onOpenChange:me,visible:Ie,onVisibleChange:we,mouseEnterDelay:Le=.15,mouseLeaveDelay:qe=.1,autoAdjustOverflow:yt=!0,placement:$t="",overlay:qt,transitionName:Gt}=ge,{getPopupContainer:Pt,getPrefixCls:at,direction:xt,dropdown:Nt}=o.useContext(w.E_),Ht=(0,N.ln)("Dropdown"),Et=o.useMemo(()=>{const re=at();return Gt!==void 0?Gt:$t.includes("top")?`${re}-slide-down`:`${re}-slide-up`},[at,$t,Gt]),er=o.useMemo(()=>$t?$t.includes("Center")?$t.slice(0,$t.indexOf("Center")):$t:xt==="rtl"?"bottomRight":"bottomLeft",[$t,xt]),lr=at("dropdown",fe),Cr=(0,E.Z)(lr),[Jr,$r,x]=C(lr,Cr),[,W]=(0,te.ZP)(),wt=o.Children.only(D(ze)?o.createElement("span",null,ze):ze),oe=(0,_.Tm)(wt,{className:J()(`${lr}-trigger`,{[`${lr}-rtl`]:xt==="rtl"},wt.props.className),disabled:(Ve=wt.props.disabled)!==null&&Ve!==void 0?Ve:He}),Te=He?[]:Ct,zr=!!(Te!=null&&Te.includes("contextMenu")),[Ar,yn]=(0,y.Z)(!1,{value:he!=null?he:Ie}),Tn=(0,Y.Z)(re=>{me==null||me(re,{source:"trigger"}),we==null||we(re),yn(re)}),Ft=J()(Ye,be,$r,x,Cr,Nt==null?void 0:Nt.className,{[`${lr}-rtl`]:xt==="rtl"}),wr=(0,G.Z)({arrowPointAtCenter:typeof dt=="object"&&dt.pointAtCenter,autoAdjustOverflow:yt,offset:W.marginXXS,arrowWidth:dt?W.sizePopupArrow:0,borderRadius:W.borderRadius}),br=o.useCallback(()=>{it!=null&&it.selectable&&(it!=null&&it.multiple)||(me==null||me(!1,{source:"menu"}),yn(!1))},[it==null?void 0:it.selectable,it==null?void 0:it.multiple]),Br=()=>{let re;return it!=null&&it.items?re=o.createElement(ae.default,Object.assign({},it)):typeof qt=="function"?re=qt():re=qt,Fe&&(re=Fe(re)),re=o.Children.only(typeof re=="string"?o.createElement("span",null,re):re),o.createElement(q.J,{prefixCls:`${lr}-menu`,rootClassName:J()(x,Cr),expandIcon:o.createElement("span",{className:`${lr}-menu-submenu-arrow`},xt==="rtl"?o.createElement(Je.Z,{className:`${lr}-menu-submenu-arrow-icon`}):o.createElement(B.Z,{className:`${lr}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:br,validator:lt=>{let{mode:pn}=lt}},re)},[h,z]=(0,u.Cn)("Dropdown",de==null?void 0:de.zIndex);let Oe=o.createElement(Q.Z,Object.assign({alignPoint:zr},(0,K.Z)(ge,["rootClassName"]),{mouseEnterDelay:Le,mouseLeaveDelay:qe,visible:Ar,builtinPlacements:wr,arrow:!!dt,overlayClassName:Ft,prefixCls:lr,getPopupContainer:j||Pt,transitionName:Et,trigger:Te,overlay:Br,placement:er,onVisibleChange:Tn,overlayStyle:Object.assign(Object.assign(Object.assign({},Nt==null?void 0:Nt.style),de),{zIndex:h})}),oe);return h&&(Oe=o.createElement(I.Z.Provider,{value:z},Oe)),Jr(Oe)},S=(0,F.Z)(R,"align",void 0,"dropdown",ge=>ge),X=ge=>o.createElement(S,Object.assign({},ge),o.createElement("span",null));R._InternalPanelDoNotUseOrYouWillBeFired=X;var We=R},75727:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return F}});var o=n(19563),Je=n(59301),B=n(18785),Re=n(92310),J=n.n(Re),Q=n(7939),Y=n(48755),y=n(44104),K=n(70045),u=function(_,N){var I={};for(var w in _)Object.prototype.hasOwnProperty.call(_,w)&&N.indexOf(w)<0&&(I[w]=_[w]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,w=Object.getOwnPropertySymbols(_);E<w.length;E++)N.indexOf(w[E])<0&&Object.prototype.propertyIsEnumerable.call(_,w[E])&&(I[w[E]]=_[w[E]]);return I};const L=_=>{const{getPopupContainer:N,getPrefixCls:I,direction:w}=Je.useContext(Y.E_),{prefixCls:E,type:ae="default",danger:q,disabled:te,loading:$e,onClick:Ne,htmlType:Qe,children:Ze,className:ye,menu:Ae,arrow:ie,autoFocus:xe,overlay:M,trigger:A,align:ot,open:ue,onOpenChange:ce,placement:C,getPopupContainer:k,href:R,icon:S=Je.createElement(B.Z,null),title:X,buttonsRender:We=Le=>Le,mouseEnterDelay:ge,mouseLeaveDelay:Ve,overlayClassName:it,overlayStyle:dt,destroyPopupOnHide:fe,dropdownRender:ze}=_,Ct=u(_,["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"]),He=I("dropdown",E),Fe=`${He}-button`,j={menu:Ae,arrow:ie,autoFocus:xe,align:ot,disabled:te,trigger:te?[]:A,onOpenChange:ce,getPopupContainer:k||N,mouseEnterDelay:ge,mouseLeaveDelay:Ve,overlayClassName:it,overlayStyle:dt,destroyPopupOnHide:fe,dropdownRender:ze},{compactSize:Ye,compactItemClassnames:be}=(0,K.ri)(He,w),de=J()(Fe,be,ye);"overlay"in _&&(j.overlay=M),"open"in _&&(j.open=ue),"placement"in _?j.placement=C:j.placement=w==="rtl"?"bottomLeft":"bottomRight";const he=Je.createElement(Q.ZP,{type:ae,danger:q,disabled:te,loading:$e,onClick:Ne,htmlType:Qe,href:R,title:X},Ze),me=Je.createElement(Q.ZP,{type:ae,danger:q,icon:S}),[Ie,we]=We([he,me]);return Je.createElement(y.Z.Compact,Object.assign({className:de,size:Ye,block:!0},Ct),Ie,Je.createElement(o.Z,Object.assign({},j),we))};L.__ANT_BUTTON=!0;var D=L;const G=o.Z;G.Button=D;var F=G},584:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ae}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(9017),J=n(17835),Q=n(57700),y=()=>{const[,q]=(0,Q.ZP)(),[te]=(0,Re.Z)("Empty"),Ne=new J.FastColor(q.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return o.createElement("svg",{style:Ne,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(te==null?void 0:te.description)||"Empty"),o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("g",{transform:"translate(24 31.67)"},o.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),o.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),o.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),o.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),o.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),o.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),o.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},o.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),o.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},u=()=>{const[,q]=(0,Q.ZP)(),[te]=(0,Re.Z)("Empty"),{colorFill:$e,colorFillTertiary:Ne,colorFillQuaternary:Qe,colorBgContainer:Ze}=q,{borderColor:ye,shadowColor:Ae,contentColor:ie}=(0,o.useMemo)(()=>({borderColor:new J.FastColor($e).onBackground(Ze).toHexString(),shadowColor:new J.FastColor(Ne).onBackground(Ze).toHexString(),contentColor:new J.FastColor(Qe).onBackground(Ze).toHexString()}),[$e,Ne,Qe,Ze]);return o.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},o.createElement("title",null,(te==null?void 0:te.description)||"Empty"),o.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},o.createElement("ellipse",{fill:Ae,cx:"32",cy:"33",rx:"32",ry:"7"}),o.createElement("g",{fillRule:"nonzero",stroke:ye},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:ie}))))},L=n(16931),D=n(51636);const G=q=>{const{componentCls:te,margin:$e,marginXS:Ne,marginXL:Qe,fontSize:Ze,lineHeight:ye}=q;return{[te]:{marginInline:Ne,fontSize:Ze,lineHeight:ye,textAlign:"center",[`${te}-image`]:{height:q.emptyImgHeight,marginBottom:Ne,opacity:q.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${te}-description`]:{color:q.colorTextDescription},[`${te}-footer`]:{marginTop:$e},"&-normal":{marginBlock:Qe,color:q.colorTextDescription,[`${te}-description`]:{color:q.colorTextDescription},[`${te}-image`]:{height:q.emptyImgHeightMD}},"&-small":{marginBlock:Ne,color:q.colorTextDescription,[`${te}-image`]:{height:q.emptyImgHeightSM}}}}};var F=(0,L.I$)("Empty",q=>{const{componentCls:te,controlHeightLG:$e,calc:Ne}=q,Qe=(0,D.mergeToken)(q,{emptyImgCls:`${te}-img`,emptyImgHeight:Ne($e).mul(2.5).equal(),emptyImgHeightMD:$e,emptyImgHeightSM:Ne($e).mul(.875).equal()});return[G(Qe)]}),_=n(48755),N=function(q,te){var $e={};for(var Ne in q)Object.prototype.hasOwnProperty.call(q,Ne)&&te.indexOf(Ne)<0&&($e[Ne]=q[Ne]);if(q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Qe=0,Ne=Object.getOwnPropertySymbols(q);Qe<Ne.length;Qe++)te.indexOf(Ne[Qe])<0&&Object.prototype.propertyIsEnumerable.call(q,Ne[Qe])&&($e[Ne[Qe]]=q[Ne[Qe]]);return $e};const I=o.createElement(y,null),w=o.createElement(u,null),E=q=>{const{className:te,rootClassName:$e,prefixCls:Ne,image:Qe=I,description:Ze,children:ye,imageStyle:Ae,style:ie,classNames:xe,styles:M}=q,A=N(q,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:ot,direction:ue,className:ce,style:C,classNames:k,styles:R}=(0,_.dj)("empty"),S=ot("empty",Ne),[X,We,ge]=F(S),[Ve]=(0,Re.Z)("Empty"),it=typeof Ze!="undefined"?Ze:Ve==null?void 0:Ve.description,dt=typeof it=="string"?it:"empty";let fe=null;return typeof Qe=="string"?fe=o.createElement("img",{alt:dt,src:Qe}):fe=Qe,X(o.createElement("div",Object.assign({className:B()(We,ge,S,ce,{[`${S}-normal`]:Qe===w,[`${S}-rtl`]:ue==="rtl"},te,$e,k.root,xe==null?void 0:xe.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},R.root),C),M==null?void 0:M.root),ie)},A),o.createElement("div",{className:B()(`${S}-image`,k.image,xe==null?void 0:xe.image),style:Object.assign(Object.assign(Object.assign({},Ae),R.image),M==null?void 0:M.image)},fe),it&&o.createElement("div",{className:B()(`${S}-description`,k.description,xe==null?void 0:xe.description),style:Object.assign(Object.assign({},R.description),M==null?void 0:M.description)},it),ye&&o.createElement("div",{className:B()(`${S}-footer`,k.footer,xe==null?void 0:xe.footer),style:Object.assign(Object.assign({},R.footer),M==null?void 0:M.footer)},ye)))};E.PRESENTED_IMAGE_DEFAULT=I,E.PRESENTED_IMAGE_SIMPLE=w;var ae=E},24971:function(qr,_t,n){"use strict";var o=n(59301),Je=n(56553),B=n(48755);const Re=function(J,Q){let Y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var y,K;const{variant:u,[J]:L}=o.useContext(B.E_),D=o.useContext(Je.pg),G=L==null?void 0:L.variant;let F;typeof Q!="undefined"?F=Q:Y===!1?F="borderless":F=(K=(y=D!=null?D:G)!==null&&y!==void 0?y:u)!==null&&K!==void 0?K:"outlined";const _=B.tr.includes(F);return[F,_]};_t.Z=Re},28284:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return ea}});var o=n(56553),Je=n(94480),B=n(59301),Re=n(92310),J=n.n(Re),Q=n(77900),Y=n(86641),y=n(83397);function K(gt){const[nr,sr]=B.useState(gt);return B.useEffect(()=>{const or=setTimeout(()=>{sr(gt)},gt.length?0:10);return()=>{clearTimeout(or)}},[gt]),nr}var u=n(36237),L=n(63356),D=n(34925),G=n(34961),F=n(51636),_=n(16931),I=gt=>{const{componentCls:nr}=gt,sr=`${nr}-show-help`,or=`${nr}-show-help-item`;return{[sr]:{transition:`opacity ${gt.motionDurationFast} ${gt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[or]:{overflow:"hidden",transition:`height ${gt.motionDurationFast} ${gt.motionEaseInOut},
|
|
|
opacity ${gt.motionDurationFast} ${gt.motionEaseInOut},
|
|
|
transform ${gt.motionDurationFast} ${gt.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=gt=>({legend:{display:"block",width:"100%",marginBottom:gt.marginLG,padding:0,color:gt.colorTextDescription,fontSize:gt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${(0,u.unit)(gt.lineWidth)} ${gt.lineType} ${gt.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,u.unit)(gt.controlOutlineWidth)} ${gt.controlOutline}`},output:{display:"block",paddingTop:15,color:gt.colorText,fontSize:gt.fontSize,lineHeight:gt.lineHeight}}),E=(gt,nr)=>{const{formItemCls:sr}=gt;return{[sr]:{[`${sr}-label > label`]:{height:nr},[`${sr}-control-input`]:{minHeight:nr}}}},ae=gt=>{const{componentCls:nr}=gt;return{[gt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,L.Wf)(gt)),w(gt)),{[`${nr}-text`]:{display:"inline-block",paddingInlineEnd:gt.paddingSM},"&-small":Object.assign({},E(gt,gt.controlHeightSM)),"&-large":Object.assign({},E(gt,gt.controlHeightLG))})}},q=gt=>{const{formItemCls:nr,iconCls:sr,rootPrefixCls:or,antCls:jr,labelRequiredMarkColor:on,labelColor:Wr,labelFontSize:Dr,labelHeight:nn,labelColonMarginInlineStart:sn,labelColonMarginInlineEnd:An,itemMarginBottom:Pn}=gt;return{[nr]:Object.assign(Object.assign({},(0,L.Wf)(gt)),{marginBottom:Pn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden${jr}-row`]:{display:"none"},"&-has-warning":{[`${nr}-split`]:{color:gt.colorError}},"&-has-error":{[`${nr}-split`]:{color:gt.colorWarning}},[`${nr}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:gt.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:nn,color:Wr,fontSize:Dr,[`> ${sr}`]:{fontSize:gt.fontSize,verticalAlign:"top"},[`&${nr}-required`]:{"&::before":{display:"inline-block",marginInlineEnd:gt.marginXXS,color:on,fontSize:gt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"'},[`&${nr}-required-mark-hidden, &${nr}-required-mark-optional`]:{"&::before":{display:"none"}}},[`${nr}-optional`]:{display:"inline-block",marginInlineStart:gt.marginXXS,color:gt.colorTextDescription,[`&${nr}-required-mark-hidden`]:{display:"none"}},[`${nr}-tooltip`]:{color:gt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:gt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:sn,marginInlineEnd:An},[`&${nr}-no-colon::after`]:{content:'"\\a0"'}}},[`${nr}-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:gt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[nr]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:gt.colorTextDescription,fontSize:gt.fontSize,lineHeight:gt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:gt.controlHeightSM,transition:`color ${gt.motionDurationMid} ${gt.motionEaseOut}`},"&-explain":{"&-error":{color:gt.colorError},"&-warning":{color:gt.colorWarning}}},[`&-with-help ${nr}-explain`]:{height:"auto",opacity:1},[`${nr}-feedback-icon`]:{fontSize:gt.fontSize,textAlign:"center",visibility:"visible",animationName:D.kr,animationDuration:gt.motionDurationMid,animationTimingFunction:gt.motionEaseOutBack,pointerEvents:"none","&-success":{color:gt.colorSuccess},"&-error":{color:gt.colorError},"&-warning":{color:gt.colorWarning},"&-validating":{color:gt.colorPrimary}}})}},te=(gt,nr)=>{const{formItemCls:sr}=gt;return{[`${nr}-horizontal`]:{[`${sr}-label`]:{flexGrow:0},[`${sr}-control`]:{flex:"1 1 0",minWidth:0},[`${sr}-label[class$='-24'], ${sr}-label[class*='-24 ']`]:{[`& + ${sr}-control`]:{minWidth:"unset"}}}}},$e=gt=>{const{componentCls:nr,formItemCls:sr,inlineItemMarginBottom:or}=gt;return{[`${nr}-inline`]:{display:"flex",flexWrap:"wrap",[sr]:{flex:"none",marginInlineEnd:gt.margin,marginBottom:or,"&-row":{flexWrap:"nowrap"},[`> ${sr}-label,
|
|
|
> ${sr}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${sr}-label`]:{flex:"none"},[`${nr}-text`]:{display:"inline-block"},[`${sr}-has-feedback`]:{display:"inline-block"}}}}},Ne=gt=>({padding:gt.verticalLabelPadding,margin:gt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),Qe=gt=>{const{componentCls:nr,formItemCls:sr,rootPrefixCls:or}=gt;return{[`${sr} ${sr}-label`]:Ne(gt),[`${nr}:not(${nr}-inline)`]:{[sr]:{flexWrap:"wrap",[`${sr}-label, ${sr}-control`]:{[`&:not([class*=" ${or}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},Ze=gt=>{const{componentCls:nr,formItemCls:sr,antCls:or}=gt;return{[`${nr}-vertical`]:{[`${sr}:not(${sr}-horizontal)`]:{[`${sr}-row`]:{flexDirection:"column"},[`${sr}-label > label`]:{height:"auto"},[`${sr}-control`]:{width:"100%"},[`${sr}-label,
|
|
|
${or}-col-24${sr}-label,
|
|
|
${or}-col-xl-24${sr}-label`]:Ne(gt)}},[`@media (max-width: ${(0,u.unit)(gt.screenXSMax)})`]:[Qe(gt),{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-xs-24${sr}-label`]:Ne(gt)}}}],[`@media (max-width: ${(0,u.unit)(gt.screenSMMax)})`]:{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-sm-24${sr}-label`]:Ne(gt)}}},[`@media (max-width: ${(0,u.unit)(gt.screenMDMax)})`]:{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-md-24${sr}-label`]:Ne(gt)}}},[`@media (max-width: ${(0,u.unit)(gt.screenLGMax)})`]:{[nr]:{[`${sr}:not(${sr}-horizontal)`]:{[`${or}-col-lg-24${sr}-label`]:Ne(gt)}}}}},ye=gt=>{const{formItemCls:nr,antCls:sr}=gt;return{[`${nr}-vertical`]:{[`${nr}-row`]:{flexDirection:"column"},[`${nr}-label > label`]:{height:"auto"},[`${nr}-control`]:{width:"100%"}},[`${nr}-vertical ${nr}-label,
|
|
|
${sr}-col-24${nr}-label,
|
|
|
${sr}-col-xl-24${nr}-label`]:Ne(gt),[`@media (max-width: ${(0,u.unit)(gt.screenXSMax)})`]:[Qe(gt),{[nr]:{[`${sr}-col-xs-24${nr}-label`]:Ne(gt)}}],[`@media (max-width: ${(0,u.unit)(gt.screenSMMax)})`]:{[nr]:{[`${sr}-col-sm-24${nr}-label`]:Ne(gt)}},[`@media (max-width: ${(0,u.unit)(gt.screenMDMax)})`]:{[nr]:{[`${sr}-col-md-24${nr}-label`]:Ne(gt)}},[`@media (max-width: ${(0,u.unit)(gt.screenLGMax)})`]:{[nr]:{[`${sr}-col-lg-24${nr}-label`]:Ne(gt)}}}},Ae=gt=>({labelRequiredMarkColor:gt.colorError,labelColor:gt.colorTextHeading,labelFontSize:gt.fontSize,labelHeight:gt.controlHeight,labelColonMarginInlineStart:gt.marginXXS/2,labelColonMarginInlineEnd:gt.marginXS,itemMarginBottom:gt.marginLG,verticalLabelPadding:`0 0 ${gt.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),ie=(gt,nr)=>(0,F.mergeToken)(gt,{formItemCls:`${gt.componentCls}-item`,rootPrefixCls:nr});var xe=(0,_.I$)("Form",(gt,nr)=>{let{rootPrefixCls:sr}=nr;const or=ie(gt,sr);return[ae(or),q(or),I(or),te(or,or.componentCls),te(or,or.formItemCls),$e(or),Ze(or),ye(or),(0,G.Z)(or),D.kr]},Ae,{order:-1e3});const M=[];function A(gt,nr,sr){let or=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof gt=="string"?gt:`${nr}-${or}`,error:gt,errorStatus:sr}}var ue=gt=>{let{help:nr,helpStatus:sr,errors:or=M,warnings:jr=M,className:on,fieldId:Wr,onVisibleChanged:Dr}=gt;const{prefixCls:nn}=B.useContext(o.Rk),sn=`${nn}-item-explain`,An=(0,y.Z)(nn),[Pn,On,Bn]=xe(nn,An),ta=B.useMemo(()=>(0,Y.Z)(nn),[nn]),tn=K(or),$n=K(jr),Yn=B.useMemo(()=>nr!=null?[A(nr,"help",sr)]:[].concat((0,Je.Z)(tn.map((ra,Gn)=>A(ra,"error","error",Gn))),(0,Je.Z)($n.map((ra,Gn)=>A(ra,"warning","warning",Gn)))),[nr,sr,tn,$n]),ua=B.useMemo(()=>{const ra={};return Yn.forEach(Gn=>{let{key:Wn}=Gn;ra[Wn]=(ra[Wn]||0)+1}),Yn.map((Gn,Wn)=>Object.assign(Object.assign({},Gn),{key:ra[Gn.key]>1?`${Gn.key}-fallback-${Wn}`:Gn.key}))},[Yn]),zn={};return Wr&&(zn.id=`${Wr}_help`),Pn(B.createElement(Q.default,{motionDeadline:ta.motionDeadline,motionName:`${nn}-show-help`,visible:!!ua.length,onVisibleChanged:Dr},ra=>{const{className:Gn,style:Wn}=ra;return B.createElement("div",Object.assign({},zn,{className:J()(sn,Gn,Bn,An,on,On),style:Wn}),B.createElement(Q.CSSMotionList,Object.assign({keys:ua},(0,Y.Z)(nn),{motionName:`${nn}-show-help-item`,component:!1}),Jn=>{const{key:Dn,error:xn,errorStatus:Kn,className:Sa,style:za}=Jn;return B.createElement("div",{key:Dn,className:J()(Sa,{[`${sn}-${Kn}`]:Kn}),style:za},xn)}))}))},ce=n(30810),C=n(48755),k=n(2171),R=n(31756),S=n(23069),X=n(76846),We=n(16722);const ge=["parentNode"],Ve="form_item";function it(gt){return gt===void 0||gt===!1?[]:Array.isArray(gt)?gt:[gt]}function dt(gt,nr){if(!gt.length)return;const sr=gt.join("_");return nr?`${nr}_${sr}`:ge.includes(sr)?`${Ve}_${sr}`:sr}function fe(gt,nr,sr,or,jr,on){let Wr=or;return on!==void 0?Wr=on:sr.validating?Wr="validating":gt.length?Wr="error":nr.length?Wr="warning":(sr.touched||jr&&sr.validated)&&(Wr="success"),Wr}var ze=function(gt,nr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&nr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};function Ct(gt){return it(gt).join("_")}function He(gt,nr){const sr=nr.getFieldInstance(gt),or=(0,X.bn)(sr);if(or)return or;const jr=dt(it(gt),nr.__INTERNAL__.name);if(jr)return document.getElementById(jr)}function Fe(gt){const[nr]=(0,ce.useForm)(),sr=B.useRef({}),or=B.useMemo(()=>gt!=null?gt:Object.assign(Object.assign({},nr),{__INTERNAL__:{itemRef:jr=>on=>{const Wr=Ct(jr);on?sr.current[Wr]=on:delete sr.current[Wr]}},scrollToField:function(jr){let on=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{focus:Wr}=on,Dr=ze(on,["focus"]),nn=He(jr,or);nn&&((0,We.Z)(nn,Object.assign({scrollMode:"if-needed",block:"nearest"},Dr)),Wr&&or.focusField(jr))},focusField:jr=>{var on,Wr;const Dr=or.getFieldInstance(jr);typeof(Dr==null?void 0:Dr.focus)=="function"?Dr.focus():(Wr=(on=He(jr,or))===null||on===void 0?void 0:on.focus)===null||Wr===void 0||Wr.call(on)},getFieldInstance:jr=>{const on=Ct(jr);return sr.current[on]}}),[gt,nr]);return[or]}var j=n(98350),Ye=function(gt,nr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&nr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};const be=(gt,nr)=>{const sr=B.useContext(k.Z),{getPrefixCls:or,direction:jr,requiredMark:on,colon:Wr,scrollToFirstError:Dr,className:nn,style:sn}=(0,C.dj)("form"),{prefixCls:An,className:Pn,rootClassName:On,size:Bn,disabled:ta=sr,form:tn,colon:$n,labelAlign:Yn,labelWrap:ua,labelCol:zn,wrapperCol:ra,hideRequiredMark:Gn,layout:Wn="horizontal",scrollToFirstError:Jn,requiredMark:Dn,onFinishFailed:xn,name:Kn,style:Sa,feedbackIcons:za,variant:to}=gt,ro=Ye(gt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),so=(0,R.Z)(Bn),f=B.useContext(j.Z),s=B.useMemo(()=>Dn!==void 0?Dn:Gn?!1:on!==void 0?on:!0,[Gn,Dn,on]),p=$n!=null?$n:Wr,b=or("form",An),$=(0,y.Z)(b),[v,T,Z]=xe(b,$),ee=J()(b,`${b}-${Wn}`,{[`${b}-hide-required-mark`]:s===!1,[`${b}-rtl`]:jr==="rtl",[`${b}-${so}`]:so},Z,$,T,nn,Pn,On),[Ee]=Fe(tn),{__INTERNAL__:st}=Ee;st.name=Kn;const jt=B.useMemo(()=>({name:Kn,labelAlign:Yn,labelCol:zn,labelWrap:ua,wrapperCol:ra,vertical:Wn==="vertical",colon:p,requiredMark:s,itemRef:st.itemRef,form:Ee,feedbackIcons:za}),[Kn,Yn,zn,ra,Wn,p,s,Ee,za]),At=B.useRef(null);B.useImperativeHandle(nr,()=>{var Ge;return Object.assign(Object.assign({},Ee),{nativeElement:(Ge=At.current)===null||Ge===void 0?void 0:Ge.nativeElement})});const ve=(Ge,Zt)=>{if(Ge){let pt={block:"nearest"};typeof Ge=="object"&&(pt=Object.assign(Object.assign({},pt),Ge)),Ee.scrollToField(Zt,pt)}},kt=Ge=>{if(xn==null||xn(Ge),Ge.errorFields.length){const Zt=Ge.errorFields[0].name;if(Jn!==void 0){ve(Jn,Zt);return}Dr!==void 0&&ve(Dr,Zt)}};return v(B.createElement(o.pg.Provider,{value:to},B.createElement(k.n,{disabled:ta},B.createElement(S.Z.Provider,{value:so},B.createElement(o.RV,{validateMessages:f},B.createElement(o.q3.Provider,{value:jt},B.createElement(ce.default,Object.assign({id:Kn},ro,{name:Kn,onFinishFailed:kt,form:Ee,ref:At,style:Object.assign(Object.assign({},sn),Sa),className:ee}))))))))};var he=B.forwardRef(be),me=n(41799),Ie=n(8654),we=n(22703),Le=n(32383),qe=n(11592);function yt(gt){if(typeof gt=="function")return gt;const nr=(0,qe.Z)(gt);return nr.length<=1?nr[0]:nr}const $t=()=>{const{status:gt,errors:nr=[],warnings:sr=[]}=B.useContext(o.aM);return{status:gt,errors:nr,warnings:sr}};$t.Context=o.aM;var qt=$t,Gt=n(16089);function Pt(gt){const[nr,sr]=B.useState(gt),or=B.useRef(null),jr=B.useRef([]),on=B.useRef(!1);B.useEffect(()=>(on.current=!1,()=>{on.current=!0,Gt.Z.cancel(or.current),or.current=null}),[]);function Wr(Dr){on.current||(or.current===null&&(jr.current=[],or.current=(0,Gt.Z)(()=>{or.current=null,sr(nn=>{let sn=nn;return jr.current.forEach(An=>{sn=An(sn)}),sn})})),jr.current.push(Dr))}return[nr,Wr]}function at(){const{itemRef:gt}=B.useContext(o.q3),nr=B.useRef({});function sr(or,jr){const on=jr&&typeof jr=="object"&&(0,Ie.C4)(jr),Wr=or.join("_");return(nr.current.name!==Wr||nr.current.originRef!==on)&&(nr.current.name=Wr,nr.current.originRef=on,nr.current.ref=(0,Ie.sQ)(gt(or),on)),nr.current.ref}return sr}var xt=n(29194),Nt=n(34280),Ht=n(2738),Et=n(65970),er=n(70425),lr=n(5472);const Cr=gt=>{const{formItemCls:nr}=gt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${nr}-control`]:{display:"flex"}}}};var Jr=(0,_.bk)(["Form","item-item"],(gt,nr)=>{let{rootPrefixCls:sr}=nr;const or=ie(gt,sr);return[Cr(or)]}),$r=function(gt,nr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&nr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};const x=24;var wt=gt=>{const{prefixCls:nr,status:sr,labelCol:or,wrapperCol:jr,children:on,errors:Wr,warnings:Dr,_internalItemRender:nn,extra:sn,help:An,fieldId:Pn,marginBottom:On,onErrorVisibleChanged:Bn,label:ta}=gt,tn=`${nr}-item`,$n=B.useContext(o.q3),Yn=B.useMemo(()=>{let ro=Object.assign({},jr||$n.wrapperCol||{});return ta===null&&!or&&!jr&&$n.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(f=>{const s=f?[f]:[],p=(0,er.U2)($n.labelCol,s),b=typeof p=="object"?p:{},$=(0,er.U2)(ro,s),v=typeof $=="object"?$:{};"span"in b&&!("offset"in v)&&b.span<x&&(ro=(0,er.t8)(ro,[].concat(s,["offset"]),b.span))}),ro},[jr,$n]),ua=J()(`${tn}-control`,Yn.className),zn=B.useMemo(()=>{const{labelCol:ro,wrapperCol:so}=$n;return $r($n,["labelCol","wrapperCol"])},[$n]),ra=B.useRef(null),[Gn,Wn]=B.useState(0);(0,Nt.Z)(()=>{sn&&ra.current?Wn(ra.current.clientHeight):Wn(0)},[sn]);const Jn=B.createElement("div",{className:`${tn}-control-input`},B.createElement("div",{className:`${tn}-control-input-content`},on)),Dn=B.useMemo(()=>({prefixCls:nr,status:sr}),[nr,sr]),xn=On!==null||Wr.length||Dr.length?B.createElement(o.Rk.Provider,{value:Dn},B.createElement(ue,{fieldId:Pn,errors:Wr,warnings:Dr,help:An,helpStatus:sr,className:`${tn}-explain-connected`,onVisibleChanged:Bn})):null,Kn={};Pn&&(Kn.id=`${Pn}_extra`);const Sa=sn?B.createElement("div",Object.assign({},Kn,{className:`${tn}-extra`,ref:ra}),sn):null,za=xn||Sa?B.createElement("div",{className:`${tn}-additional`,style:On?{minHeight:On+Gn}:{}},xn,Sa):null,to=nn&&nn.mark==="pro_table_render"&&nn.render?nn.render(gt,{input:Jn,errorList:xn,extra:Sa}):B.createElement(B.Fragment,null,Jn,za);return B.createElement(o.q3.Provider,{value:zn},B.createElement(lr.Z,Object.assign({},Yn,{className:ua}),to),B.createElement(Jr,{prefixCls:nr}))},oe=n(61485),Te=n(9017),zr=n(85981),Ar=n(25399),yn=function(gt,nr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&nr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};function Tn(gt){return gt?typeof gt=="object"&&!B.isValidElement(gt)?gt:{title:gt}:null}var wr=gt=>{let{prefixCls:nr,label:sr,htmlFor:or,labelCol:jr,labelAlign:on,colon:Wr,required:Dr,requiredMark:nn,tooltip:sn,vertical:An}=gt;var Pn;const[On]=(0,Te.Z)("Form"),{labelAlign:Bn,labelCol:ta,labelWrap:tn,colon:$n}=B.useContext(o.q3);if(!sr)return null;const Yn=jr||ta||{},ua=on||Bn,zn=`${nr}-item-label`,ra=J()(zn,ua==="left"&&`${zn}-left`,Yn.className,{[`${zn}-wrap`]:!!tn});let Gn=sr;const Wn=Wr===!0||$n!==!1&&Wr!==!1;Wn&&!An&&typeof sr=="string"&&sr.trim()&&(Gn=sr.replace(/[:|:]\s*$/,""));const Dn=Tn(sn);if(Dn){const{icon:ro=B.createElement(oe.Z,null)}=Dn,so=yn(Dn,["icon"]),f=B.createElement(Ar.Z,Object.assign({},so),B.cloneElement(ro,{className:`${nr}-item-tooltip`,title:"",onClick:s=>{s.preventDefault()},tabIndex:null}));Gn=B.createElement(B.Fragment,null,Gn,f)}const xn=nn==="optional",Kn=typeof nn=="function",Sa=nn===!1;Kn?Gn=nn(Gn,{required:!!Dr}):xn&&!Dr&&(Gn=B.createElement(B.Fragment,null,Gn,B.createElement("span",{className:`${nr}-item-optional`,title:""},(On==null?void 0:On.optional)||((Pn=zr.Z.Form)===null||Pn===void 0?void 0:Pn.optional))));let za;Sa?za="hidden":(xn||Kn)&&(za="optional");const to=J()({[`${nr}-item-required`]:Dr,[`${nr}-item-required-mark-${za}`]:za,[`${nr}-item-no-colon`]:!Wn});return B.createElement(lr.Z,Object.assign({},Yn,{className:ra}),B.createElement("label",{htmlFor:or,className:to,title:typeof sr=="string"?sr:""},Gn))},br=n(29679),Br=n(19248),h=n(96512),z=n(58617);const Oe={success:br.Z,warning:h.Z,error:Br.Z,validating:z.Z};function re(gt){let{children:nr,errors:sr,warnings:or,hasFeedback:jr,validateStatus:on,prefixCls:Wr,meta:Dr,noStyle:nn}=gt;const sn=`${Wr}-item`,{feedbackIcons:An}=B.useContext(o.q3),Pn=fe(sr,or,Dr,null,!!jr,on),{isFormItemInput:On,status:Bn,hasFeedback:ta,feedbackIcon:tn}=B.useContext(o.aM),$n=B.useMemo(()=>{var Yn;let ua;if(jr){const ra=jr!==!0&&jr.icons||An,Gn=Pn&&((Yn=ra==null?void 0:ra({status:Pn,errors:sr,warnings:or}))===null||Yn===void 0?void 0:Yn[Pn]),Wn=Pn&&Oe[Pn];ua=Gn!==!1&&Wn?B.createElement("span",{className:J()(`${sn}-feedback-icon`,`${sn}-feedback-icon-${Pn}`)},Gn||B.createElement(Wn,null)):null}const zn={status:Pn||"",errors:sr,warnings:or,hasFeedback:!!jr,feedbackIcon:ua,isFormItemInput:!0};return nn&&(zn.status=(Pn!=null?Pn:Bn)||"",zn.isFormItemInput=On,zn.hasFeedback=!!(jr!=null?jr:ta),zn.feedbackIcon=jr!==void 0?zn.feedbackIcon:tn),zn},[Pn,jr,nn,On,Bn]);return B.createElement(o.aM.Provider,{value:$n},nr)}var lt=function(gt,nr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&nr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr};function pn(gt){const{prefixCls:nr,className:sr,rootClassName:or,style:jr,help:on,errors:Wr,warnings:Dr,validateStatus:nn,meta:sn,hasFeedback:An,hidden:Pn,children:On,fieldId:Bn,required:ta,isRequired:tn,onSubItemMetaChange:$n,layout:Yn}=gt,ua=lt(gt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange","layout"]),zn=`${nr}-item`,{requiredMark:ra,vertical:Gn}=B.useContext(o.q3),Wn=Gn||Yn==="vertical",Jn=B.useRef(null),Dn=K(Wr),xn=K(Dr),Kn=on!=null,Sa=!!(Kn||Wr.length||Dr.length),za=!!Jn.current&&(0,xt.Z)(Jn.current),[to,ro]=B.useState(null);(0,Nt.Z)(()=>{if(Sa&&Jn.current){const b=getComputedStyle(Jn.current);ro(parseInt(b.marginBottom,10))}},[Sa,za]);const so=b=>{b||ro(null)},s=function(){let b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $=b?Dn:sn.errors,v=b?xn:sn.warnings;return fe($,v,sn,"",!!An,nn)}(),p=J()(zn,sr,or,{[`${zn}-with-help`]:Kn||Dn.length||xn.length,[`${zn}-has-feedback`]:s&&An,[`${zn}-has-success`]:s==="success",[`${zn}-has-warning`]:s==="warning",[`${zn}-has-error`]:s==="error",[`${zn}-is-validating`]:s==="validating",[`${zn}-hidden`]:Pn,[`${zn}-${Yn}`]:Yn});return B.createElement("div",{className:p,style:jr,ref:Jn},B.createElement(Et.Z,Object.assign({className:`${zn}-row`},(0,Ht.Z)(ua,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),B.createElement(wr,Object.assign({htmlFor:Bn},gt,{requiredMark:ra,required:ta!=null?ta:tn,prefixCls:nr,vertical:Wn})),B.createElement(wt,Object.assign({},gt,sn,{errors:Dn,warnings:xn,prefixCls:nr,status:s,help:on,marginBottom:to,onErrorVisibleChanged:so}),B.createElement(o.qI.Provider,{value:$n},B.createElement(re,{prefixCls:nr,meta:sn,errors:sn.errors,warnings:sn.warnings,hasFeedback:An,validateStatus:s},On)))),!!to&&B.createElement("div",{className:`${zn}-margin-offset`,style:{marginBottom:-to}}))}const mt="__SPLIT__",Ut=null;function Ur(gt,nr){const sr=Object.keys(gt),or=Object.keys(nr);return sr.length===or.length&&sr.every(jr=>{const on=gt[jr],Wr=nr[jr];return on===Wr||typeof on=="function"||typeof Wr=="function"})}const Pr=B.memo(gt=>{let{children:nr}=gt;return nr},(gt,nr)=>Ur(gt.control,nr.control)&>.update===nr.update&>.childProps.length===nr.childProps.length&>.childProps.every((sr,or)=>sr===nr.childProps[or]));function Yr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function gn(gt){const{name:nr,noStyle:sr,className:or,dependencies:jr,prefixCls:on,shouldUpdate:Wr,rules:Dr,children:nn,required:sn,label:An,messageVariables:Pn,trigger:On="onChange",validateTrigger:Bn,hidden:ta,help:tn,layout:$n}=gt,{getPrefixCls:Yn}=B.useContext(C.E_),{name:ua}=B.useContext(o.q3),zn=yt(nn),ra=typeof zn=="function",Gn=B.useContext(o.qI),{validateTrigger:Wn}=B.useContext(ce.FieldContext),Jn=Bn!==void 0?Bn:Wn,Dn=nr!=null,xn=Yn("form",on),Kn=(0,y.Z)(xn),[Sa,za,to]=xe(xn,Kn),ro=(0,Le.ln)("Form.Item"),so=B.useContext(ce.ListContext),f=B.useRef(null),[s,p]=Pt({}),[b,$]=(0,me.Z)(()=>Yr()),v=At=>{const ve=so==null?void 0:so.getKey(At.name);if($(At.destroy?Yr():At,!0),sr&&tn!==!1&&Gn){let kt=At.name;if(At.destroy)kt=f.current||kt;else if(ve!==void 0){const[Ge,Zt]=ve;kt=[Ge].concat((0,Je.Z)(Zt)),f.current=kt}Gn(At,kt)}},T=(At,ve)=>{p(kt=>{const Ge=Object.assign({},kt),pt=[].concat((0,Je.Z)(At.name.slice(0,-1)),(0,Je.Z)(ve)).join(mt);return At.destroy?delete Ge[pt]:Ge[pt]=At,Ge})},[Z,ee]=B.useMemo(()=>{const At=(0,Je.Z)(b.errors),ve=(0,Je.Z)(b.warnings);return Object.values(s).forEach(kt=>{At.push.apply(At,(0,Je.Z)(kt.errors||[])),ve.push.apply(ve,(0,Je.Z)(kt.warnings||[]))}),[At,ve]},[s,b.errors,b.warnings]),Ee=at();function st(At,ve,kt){return sr&&!ta?B.createElement(re,{prefixCls:xn,hasFeedback:gt.hasFeedback,validateStatus:gt.validateStatus,meta:b,errors:Z,warnings:ee,noStyle:!0},At):B.createElement(pn,Object.assign({key:"row"},gt,{className:J()(or,to,Kn,za),prefixCls:xn,fieldId:ve,isRequired:kt,errors:Z,warnings:ee,meta:b,onSubItemMetaChange:T,layout:$n}),At)}if(!Dn&&!ra&&!jr)return Sa(st(zn));let jt={};return typeof An=="string"?jt.label=An:nr&&(jt.label=String(nr)),Pn&&(jt=Object.assign(Object.assign({},jt),Pn)),Sa(B.createElement(ce.Field,Object.assign({},gt,{messageVariables:jt,trigger:On,validateTrigger:Jn,onMetaChange:v}),(At,ve,kt)=>{const Ge=it(nr).length&&ve?ve.name:[],Zt=dt(Ge,ua),pt=sn!==void 0?sn:!!(Dr!=null&&Dr.some(Qt=>{if(Qt&&typeof Qt=="object"&&Qt.required&&!Qt.warningOnly)return!0;if(typeof Qt=="function"){const nt=Qt(kt);return(nt==null?void 0:nt.required)&&!(nt!=null&&nt.warningOnly)}return!1})),ar=Object.assign({},At);let yr=null;if(Array.isArray(zn)&&Dn)yr=zn;else if(!(ra&&(!(Wr||jr)||Dn))){if(!(jr&&!ra&&!Dn))if(B.isValidElement(zn)){const Qt=Object.assign(Object.assign({},zn.props),ar);if(Qt.id||(Qt.id=Zt),tn||Z.length>0||ee.length>0||gt.extra){const Vt=[];(tn||Z.length>0)&&Vt.push(`${Zt}_help`),gt.extra&&Vt.push(`${Zt}_extra`),Qt["aria-describedby"]=Vt.join(" ")}Z.length>0&&(Qt["aria-invalid"]="true"),pt&&(Qt["aria-required"]="true"),(0,Ie.Yr)(zn)&&(Qt.ref=Ee(Ge,zn)),new Set([].concat((0,Je.Z)(it(On)),(0,Je.Z)(it(Jn)))).forEach(Vt=>{Qt[Vt]=function(){for(var Mt,Ot,Jt,ke,Be,St=arguments.length,ct=new Array(St),cr=0;cr<St;cr++)ct[cr]=arguments[cr];(Jt=ar[Vt])===null||Jt===void 0||(Mt=Jt).call.apply(Mt,[ar].concat(ct)),(Be=(ke=zn.props)[Vt])===null||Be===void 0||(Ot=Be).call.apply(Ot,[ke].concat(ct))}});const Se=[Qt["aria-required"],Qt["aria-invalid"],Qt["aria-describedby"]];yr=B.createElement(Pr,{control:ar,update:zn,childProps:Se},(0,we.Tm)(zn,Qt))}else ra&&(Wr||jr)&&!Dn?yr=zn(kt):yr=zn}return st(yr,Zt,pt)}))}const qn=gn;qn.useStatus=qt;var pe=qn,mr=function(gt,nr){var sr={};for(var or in gt)Object.prototype.hasOwnProperty.call(gt,or)&&nr.indexOf(or)<0&&(sr[or]=gt[or]);if(gt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var jr=0,or=Object.getOwnPropertySymbols(gt);jr<or.length;jr++)nr.indexOf(or[jr])<0&&Object.prototype.propertyIsEnumerable.call(gt,or[jr])&&(sr[or[jr]]=gt[or[jr]]);return sr},Ir=gt=>{var{prefixCls:nr,children:sr}=gt,or=mr(gt,["prefixCls","children"]);const{getPrefixCls:jr}=B.useContext(C.E_),on=jr("form",nr),Wr=B.useMemo(()=>({prefixCls:on,status:"error"}),[on]);return B.createElement(ce.List,Object.assign({},or),(Dr,nn,sn)=>B.createElement(o.Rk.Provider,{value:Wr},sr(Dr.map(An=>Object.assign(Object.assign({},An),{fieldKey:An.key})),nn,{errors:sn.errors,warnings:sn.warnings})))};function Vr(){const{form:gt}=B.useContext(o.q3);return gt}const wn=he;wn.Item=pe,wn.List=Ir,wn.ErrorList=ue,wn.useForm=Fe,wn.useFormInstance=Vr,wn.useWatch=ce.useWatch,wn.Provider=o.RV,wn.create=()=>{};var ea=wn},90083:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Gt}});var o=n(59301),Je=n(15277),B=n(92310),Re=n.n(B),J=n(91574),Q=n(75030),Y=n(86641),y=n(48755),K=n(83397),u=n(9017),L=n(99267),D=n(33853),G=n(38819),F=n(54476),_={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},N=_,I=n(7657),w=function(at,xt){return o.createElement(I.Z,(0,F.Z)({},at,{ref:xt,icon:N}))},E=o.forwardRef(w),ae=E,q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},te=q,$e=function(at,xt){return o.createElement(I.Z,(0,F.Z)({},at,{ref:xt,icon:te}))},Ne=o.forwardRef($e),Qe=Ne,Ze={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"},ye=Ze,Ae=function(at,xt){return o.createElement(I.Z,(0,F.Z)({},at,{ref:xt,icon:ye}))},ie=o.forwardRef(Ae),xe=ie,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"},A=M,ot=function(at,xt){return o.createElement(I.Z,(0,F.Z)({},at,{ref:xt,icon:A}))},ue=o.forwardRef(ot),ce=ue,C={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},k=C,R=function(at,xt){return o.createElement(I.Z,(0,F.Z)({},at,{ref:xt,icon:k}))},S=o.forwardRef(R),X=S,We=n(36237),ge=n(17835),Ve=n(64427),it=n(63356),dt=n(34925),fe=n(99495),ze=n(16931),Ct=n(51636);const He=Pt=>({position:Pt||"absolute",inset:0}),Fe=Pt=>{const{iconCls:at,motionDurationSlow:xt,paddingXXS:Nt,marginXXS:Ht,prefixCls:Et,colorTextLightSolid:er}=Pt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:er,background:new ge.FastColor("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${xt}`,[`.${Et}-mask-info`]:Object.assign(Object.assign({},it.vS),{padding:`0 ${(0,We.unit)(Nt)}`,[at]:{marginInlineEnd:Ht,svg:{verticalAlign:"baseline"}}})}},j=Pt=>{const{previewCls:at,modalMaskBg:xt,paddingSM:Nt,marginXL:Ht,margin:Et,paddingLG:er,previewOperationColorDisabled:lr,previewOperationHoverColor:Cr,motionDurationSlow:Jr,iconCls:$r,colorTextLightSolid:x}=Pt,W=new ge.FastColor(xt).setA(.1),wt=W.clone().setA(.2);return{[`${at}-footer`]:{position:"fixed",bottom:Ht,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:Pt.previewOperationColor,transform:"translateX(-50%)"},[`${at}-progress`]:{marginBottom:Et},[`${at}-close`]:{position:"fixed",top:Ht,right:{_skip_check_:!0,value:Ht},display:"flex",color:x,backgroundColor:W.toRgbString(),borderRadius:"50%",padding:Nt,outline:0,border:0,cursor:"pointer",transition:`all ${Jr}`,"&:hover":{backgroundColor:wt.toRgbString()},[`& > ${$r}`]:{fontSize:Pt.previewOperationSize}},[`${at}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,We.unit)(er)}`,backgroundColor:W.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Nt,padding:Nt,cursor:"pointer",transition:`all ${Jr}`,userSelect:"none",[`&:not(${at}-operations-operation-disabled):hover > ${$r}`]:{color:Cr},"&-disabled":{color:lr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${$r}`]:{fontSize:Pt.previewOperationSize}}}}},Ye=Pt=>{const{modalMaskBg:at,iconCls:xt,previewOperationColorDisabled:Nt,previewCls:Ht,zIndexPopup:Et,motionDurationSlow:er}=Pt,lr=new ge.FastColor(at).setA(.1),Cr=lr.clone().setA(.2);return{[`${Ht}-switch-left, ${Ht}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Pt.calc(Et).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:Pt.imagePreviewSwitchSize,height:Pt.imagePreviewSwitchSize,marginTop:Pt.calc(Pt.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:Pt.previewOperationColor,background:lr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${er}`,userSelect:"none","&:hover":{background:Cr.toRgbString()},"&-disabled":{"&, &:hover":{color:Nt,background:"transparent",cursor:"not-allowed",[`> ${xt}`]:{cursor:"not-allowed"}}},[`> ${xt}`]:{fontSize:Pt.previewOperationSize}},[`${Ht}-switch-left`]:{insetInlineStart:Pt.marginSM},[`${Ht}-switch-right`]:{insetInlineEnd:Pt.marginSM}}},be=Pt=>{const{motionEaseOut:at,previewCls:xt,motionDurationSlow:Nt,componentCls:Ht}=Pt;return[{[`${Ht}-preview-root`]:{[xt]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${xt}-body`]:Object.assign(Object.assign({},He()),{overflow:"hidden"}),[`${xt}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Nt} ${at} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},He()),{transition:`transform ${Nt} ${at} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${xt}-moving`]:{[`${xt}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Ht}-preview-root`]:{[`${xt}-wrap`]:{zIndex:Pt.zIndexPopup}}},{[`${Ht}-preview-operations-wrapper`]:{position:"fixed",zIndex:Pt.calc(Pt.zIndexPopup).add(1).equal()},"&":[j(Pt),Ye(Pt)]}]},de=Pt=>{const{componentCls:at}=Pt;return{[at]:{position:"relative",display:"inline-block",[`${at}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${at}-img-placeholder`]:{backgroundColor:Pt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${at}-mask`]:Object.assign({},Fe(Pt)),[`${at}-mask:hover`]:{opacity:1},[`${at}-placeholder`]:Object.assign({},He())}}},he=Pt=>{const{previewCls:at}=Pt;return{[`${at}-root`]:(0,dt._y)(Pt,"zoom"),"&":(0,fe.J$)(Pt,!0)}},me=Pt=>({zIndexPopup:Pt.zIndexPopupBase+80,previewOperationColor:new ge.FastColor(Pt.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new ge.FastColor(Pt.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new ge.FastColor(Pt.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:Pt.fontSizeIcon*1.5});var Ie=(0,ze.I$)("Image",Pt=>{const at=`${Pt.componentCls}-preview`,xt=(0,Ct.mergeToken)(Pt,{previewCls:at,modalMaskBg:new ge.FastColor("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:Pt.controlHeightLG});return[de(xt),be(xt),(0,Ve.QA)((0,Ct.mergeToken)(xt,{componentCls:at})),he(xt)]},me),we=function(Pt,at){var xt={};for(var Nt in Pt)Object.prototype.hasOwnProperty.call(Pt,Nt)&&at.indexOf(Nt)<0&&(xt[Nt]=Pt[Nt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Nt=Object.getOwnPropertySymbols(Pt);Ht<Nt.length;Ht++)at.indexOf(Nt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Nt[Ht])&&(xt[Nt[Ht]]=Pt[Nt[Ht]]);return xt};const Le={rotateLeft:o.createElement(ae,null),rotateRight:o.createElement(Qe,null),zoomIn:o.createElement(ce,null),zoomOut:o.createElement(X,null),close:o.createElement(L.Z,null),left:o.createElement(D.Z,null),right:o.createElement(G.Z,null),flipX:o.createElement(xe,null),flipY:o.createElement(xe,{rotate:90})};var yt=Pt=>{var{previewPrefixCls:at,preview:xt}=Pt,Nt=we(Pt,["previewPrefixCls","preview"]);const{getPrefixCls:Ht}=o.useContext(y.E_),Et=Ht("image",at),er=`${Et}-preview`,lr=Ht(),Cr=(0,K.Z)(Et),[Jr,$r,x]=Ie(Et,Cr),[W]=(0,Q.Cn)("ImagePreview",typeof xt=="object"?xt.zIndex:void 0),wt=o.useMemo(()=>{var oe;if(xt===!1)return xt;const Te=typeof xt=="object"?xt:{},zr=Re()($r,x,Cr,(oe=Te.rootClassName)!==null&&oe!==void 0?oe:"");return Object.assign(Object.assign({},Te),{transitionName:(0,Y.m)(lr,"zoom",Te.transitionName),maskTransitionName:(0,Y.m)(lr,"fade",Te.maskTransitionName),rootClassName:zr,zIndex:W})},[xt]);return Jr(o.createElement(J.Z.PreviewGroup,Object.assign({preview:wt,previewPrefixCls:er,icons:Le},Nt)))},$t=function(Pt,at){var xt={};for(var Nt in Pt)Object.prototype.hasOwnProperty.call(Pt,Nt)&&at.indexOf(Nt)<0&&(xt[Nt]=Pt[Nt]);if(Pt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ht=0,Nt=Object.getOwnPropertySymbols(Pt);Ht<Nt.length;Ht++)at.indexOf(Nt[Ht])<0&&Object.prototype.propertyIsEnumerable.call(Pt,Nt[Ht])&&(xt[Nt[Ht]]=Pt[Nt[Ht]]);return xt};const qt=Pt=>{const{prefixCls:at,preview:xt,className:Nt,rootClassName:Ht,style:Et}=Pt,er=$t(Pt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:lr,getPopupContainer:Cr,className:Jr,style:$r,preview:x}=(0,y.dj)("image"),[W]=(0,u.Z)("Image"),wt=lr("image",at),oe=lr(),Te=(0,K.Z)(wt),[zr,Ar,yn]=Ie(wt,Te),Tn=Re()(Ht,Ar,yn,Te),Ft=Re()(Nt,Ar,Jr),[wr]=(0,Q.Cn)("ImagePreview",typeof xt=="object"?xt.zIndex:void 0),br=o.useMemo(()=>{if(xt===!1)return xt;const h=typeof xt=="object"?xt:{},{getContainer:z,closeIcon:Oe,rootClassName:re}=h,lt=$t(h,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${wt}-mask-info`},o.createElement(Je.Z,null),W==null?void 0:W.preview),icons:Le},lt),{rootClassName:Re()(Tn,re),getContainer:z!=null?z:Cr,transitionName:(0,Y.m)(oe,"zoom",h.transitionName),maskTransitionName:(0,Y.m)(oe,"fade",h.maskTransitionName),zIndex:wr,closeIcon:Oe!=null?Oe:x==null?void 0:x.closeIcon})},[xt,W,x==null?void 0:x.closeIcon]),Br=Object.assign(Object.assign({},$r),Et);return zr(o.createElement(J.Z,Object.assign({prefixCls:wt,preview:br,rootClassName:Tn,className:Ft,style:Br},er)))};qt.PreviewGroup=yt;var Gt=qt},1439:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ce}});var o=n(59301),Je=n(84105),B=n(87395),Re=n(92310),J=n.n(Re),Q=n(20922),Y=n(62487),y=n(82855),K=n(48755),u=n(60840),L=n(2171),D=n(83397),G=n(31756),F=n(56553),_=n(24971),N=n(70045),I=n(36237),w=n(53075),E=n(64910),ae=n(39082),q=n(63356),te=n(56119),$e=n(16931),Ne=n(51636),Qe=n(17835);const Ze=C=>{var k;const R=(k=C.handleVisible)!==null&&k!==void 0?k:"auto",S=C.controlHeightSM-C.lineWidth*2;return Object.assign(Object.assign({},(0,E.T)(C)),{controlWidth:90,handleWidth:S,handleFontSize:C.fontSize/2,handleVisible:R,handleActiveBg:C.colorFillAlter,handleBg:C.colorBgContainer,filledHandleBg:new Qe.FastColor(C.colorFillSecondary).onBackground(C.colorBgContainer).toHexString(),handleHoverColor:C.colorPrimary,handleBorderColor:C.colorBorder,handleOpacity:R===!0?1:0,handleVisibleWidth:R===!0?S:0})},ye=(C,k)=>{let{componentCls:R,borderRadiusSM:S,borderRadiusLG:X}=C;const We=k==="lg"?X:S;return{[`&-${k}`]:{[`${R}-handler-wrap`]:{borderStartEndRadius:We,borderEndEndRadius:We},[`${R}-handler-up`]:{borderStartEndRadius:We},[`${R}-handler-down`]:{borderEndEndRadius:We}}}},Ae=C=>{const{componentCls:k,lineWidth:R,lineType:S,borderRadius:X,inputFontSizeSM:We,inputFontSizeLG:ge,controlHeightLG:Ve,controlHeightSM:it,colorError:dt,paddingInlineSM:fe,paddingBlockSM:ze,paddingBlockLG:Ct,paddingInlineLG:He,colorTextDescription:Fe,motionDurationMid:j,handleHoverColor:Ye,handleOpacity:be,paddingInline:de,paddingBlock:he,handleBg:me,handleActiveBg:Ie,colorTextDisabled:we,borderRadiusSM:Le,borderRadiusLG:qe,controlWidth:yt,handleBorderColor:$t,filledHandleBg:qt,lineHeightLG:Gt,calc:Pt}=C;return[{[k]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,q.Wf)(C)),(0,w.ik)(C)),{display:"inline-block",width:yt,margin:0,padding:0,borderRadius:X}),(0,ae.qG)(C,{[`${k}-handler-wrap`]:{background:me,[`${k}-handler-down`]:{borderBlockStart:`${(0,I.unit)(R)} ${S} ${$t}`}}})),(0,ae.H8)(C,{[`${k}-handler-wrap`]:{background:qt,[`${k}-handler-down`]:{borderBlockStart:`${(0,I.unit)(R)} ${S} ${$t}`}},"&:focus-within":{[`${k}-handler-wrap`]:{background:me}}})),(0,ae.vc)(C,{[`${k}-handler-wrap`]:{background:me,[`${k}-handler-down`]:{borderBlockStart:`${(0,I.unit)(R)} ${S} ${$t}`}}})),(0,ae.Mu)(C)),{"&-rtl":{direction:"rtl",[`${k}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:ge,lineHeight:Gt,borderRadius:qe,[`input${k}-input`]:{height:Pt(Ve).sub(Pt(R).mul(2)).equal(),padding:`${(0,I.unit)(Ct)} ${(0,I.unit)(He)}`}},"&-sm":{padding:0,fontSize:We,borderRadius:Le,[`input${k}-input`]:{height:Pt(it).sub(Pt(R).mul(2)).equal(),padding:`${(0,I.unit)(ze)} ${(0,I.unit)(fe)}`}},"&-out-of-range":{[`${k}-input-wrap`]:{input:{color:dt}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,q.Wf)(C)),(0,w.s7)(C)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${k}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${k}-group-addon`]:{borderRadius:qe,fontSize:C.fontSizeLG}},"&-sm":{[`${k}-group-addon`]:{borderRadius:Le}}},(0,ae.ir)(C)),(0,ae.S5)(C)),{[`&:not(${k}-compact-first-item):not(${k}-compact-last-item)${k}-compact-item`]:{[`${k}, ${k}-group-addon`]:{borderRadius:0}},[`&:not(${k}-compact-last-item)${k}-compact-first-item`]:{[`${k}, ${k}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${k}-compact-first-item)${k}-compact-last-item`]:{[`${k}, ${k}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${k}-input`]:{cursor:"not-allowed"},[k]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,q.Wf)(C)),{width:"100%",padding:`${(0,I.unit)(he)} ${(0,I.unit)(de)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:X,outline:0,transition:`all ${j} linear`,appearance:"textfield",fontSize:"inherit"}),(0,w.nz)(C.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}})},[`&:hover ${k}-handler-wrap, &-focused ${k}-handler-wrap`]:{width:C.handleWidth,opacity:1}})},{[k]:Object.assign(Object.assign(Object.assign({[`${k}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:C.handleVisibleWidth,opacity:be,height:"100%",borderStartStartRadius:0,borderStartEndRadius:X,borderEndEndRadius:X,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${j}`,overflow:"hidden",[`${k}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${k}-handler-up-inner,
|
|
|
${k}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:C.handleFontSize}}},[`${k}-handler`]:{height:"50%",overflow:"hidden",color:Fe,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${(0,I.unit)(R)} ${S} ${$t}`,transition:`all ${j} linear`,"&:active":{background:Ie},"&:hover":{height:"60%",[`
|
|
|
${k}-handler-up-inner,
|
|
|
${k}-handler-down-inner
|
|
|
`]:{color:Ye}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,q.Ro)()),{color:Fe,transition:`all ${j} linear`,userSelect:"none"})},[`${k}-handler-up`]:{borderStartEndRadius:X},[`${k}-handler-down`]:{borderEndEndRadius:X}},ye(C,"lg")),ye(C,"sm")),{"&-disabled, &-readonly":{[`${k}-handler-wrap`]:{display:"none"},[`${k}-input`]:{color:"inherit"}},[`
|
|
|
${k}-handler-up-disabled,
|
|
|
${k}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${k}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${k}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:we}})}]},ie=C=>{const{componentCls:k,paddingBlock:R,paddingInline:S,inputAffixPadding:X,controlWidth:We,borderRadiusLG:ge,borderRadiusSM:Ve,paddingInlineLG:it,paddingInlineSM:dt,paddingBlockLG:fe,paddingBlockSM:ze,motionDurationMid:Ct}=C;return{[`${k}-affix-wrapper`]:Object.assign(Object.assign({[`input${k}-input`]:{padding:`${(0,I.unit)(R)} 0`}},(0,w.ik)(C)),{position:"relative",display:"inline-flex",alignItems:"center",width:We,padding:0,paddingInlineStart:S,"&-lg":{borderRadius:ge,paddingInlineStart:it,[`input${k}-input`]:{padding:`${(0,I.unit)(fe)} 0`}},"&-sm":{borderRadius:Ve,paddingInlineStart:dt,[`input${k}-input`]:{padding:`${(0,I.unit)(ze)} 0`}},[`&:not(${k}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${k}-disabled`]:{background:"transparent"},[`> div${k}`]:{width:"100%",border:"none",outline:"none",[`&${k}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${k}-handler-wrap`]:{zIndex:2},[k]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:X},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:S,marginInlineStart:X,transition:`margin ${Ct}`}},[`&:hover ${k}-handler-wrap, &-focused ${k}-handler-wrap`]:{width:C.handleWidth,opacity:1},[`&:not(${k}-affix-wrapper-without-controls):hover ${k}-suffix`]:{marginInlineEnd:C.calc(C.handleWidth).add(S).equal()}})}};var xe=(0,$e.I$)("InputNumber",C=>{const k=(0,Ne.mergeToken)(C,(0,E.e)(C));return[Ae(k),ie(k),(0,te.c)(k)]},Ze,{unitless:{handleOpacity:!0}}),M=function(C,k){var R={};for(var S in C)Object.prototype.hasOwnProperty.call(C,S)&&k.indexOf(S)<0&&(R[S]=C[S]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var X=0,S=Object.getOwnPropertySymbols(C);X<S.length;X++)k.indexOf(S[X])<0&&Object.prototype.propertyIsEnumerable.call(C,S[X])&&(R[S[X]]=C[S[X]]);return R};const A=o.forwardRef((C,k)=>{const{getPrefixCls:R,direction:S}=o.useContext(K.E_),X=o.useRef(null);o.useImperativeHandle(k,()=>X.current);const{className:We,rootClassName:ge,size:Ve,disabled:it,prefixCls:dt,addonBefore:fe,addonAfter:ze,prefix:Ct,suffix:He,bordered:Fe,readOnly:j,status:Ye,controls:be,variant:de}=C,he=M(C,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),me=R("input-number",dt),Ie=(0,D.Z)(me),[we,Le,qe]=xe(me,Ie),{compactSize:yt,compactItemClassnames:$t}=(0,N.ri)(me,S);let qt=o.createElement(B.Z,{className:`${me}-handler-up-inner`}),Gt=o.createElement(Je.Z,{className:`${me}-handler-down-inner`});const Pt=typeof be=="boolean"?be:void 0;typeof be=="object"&&(qt=typeof be.upIcon=="undefined"?qt:o.createElement("span",{className:`${me}-handler-up-inner`},be.upIcon),Gt=typeof be.downIcon=="undefined"?Gt:o.createElement("span",{className:`${me}-handler-down-inner`},be.downIcon));const{hasFeedback:at,status:xt,isFormItemInput:Nt,feedbackIcon:Ht}=o.useContext(F.aM),Et=(0,y.F)(xt,Ye),er=(0,G.Z)(Te=>{var zr;return(zr=Ve!=null?Ve:yt)!==null&&zr!==void 0?zr:Te}),lr=o.useContext(L.Z),Cr=it!=null?it:lr,[Jr,$r]=(0,_.Z)("inputNumber",de,Fe),x=at&&o.createElement(o.Fragment,null,Ht),W=J()({[`${me}-lg`]:er==="large",[`${me}-sm`]:er==="small",[`${me}-rtl`]:S==="rtl",[`${me}-in-form-item`]:Nt},Le),wt=`${me}-group`,oe=o.createElement(Q.Z,Object.assign({ref:X,disabled:Cr,className:J()(qe,Ie,We,ge,$t),upHandler:qt,downHandler:Gt,prefixCls:me,readOnly:j,controls:Pt,prefix:Ct,suffix:x||He,addonBefore:fe&&o.createElement(Y.Z,{form:!0,space:!0},fe),addonAfter:ze&&o.createElement(Y.Z,{form:!0,space:!0},ze),classNames:{input:W,variant:J()({[`${me}-${Jr}`]:$r},(0,y.Z)(me,Et,at)),affixWrapper:J()({[`${me}-affix-wrapper-sm`]:er==="small",[`${me}-affix-wrapper-lg`]:er==="large",[`${me}-affix-wrapper-rtl`]:S==="rtl",[`${me}-affix-wrapper-without-controls`]:be===!1||Cr},Le),wrapper:J()({[`${wt}-rtl`]:S==="rtl"},Le),groupWrapper:J()({[`${me}-group-wrapper-sm`]:er==="small",[`${me}-group-wrapper-lg`]:er==="large",[`${me}-group-wrapper-rtl`]:S==="rtl",[`${me}-group-wrapper-${Jr}`]:$r},(0,y.Z)(`${me}-group-wrapper`,Et,at),Le)}},he));return we(oe)}),ot=A,ue=C=>o.createElement(u.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},o.createElement(A,Object.assign({},C)));ot._InternalPanelDoNotUseOrYouWillBeFired=ue;var ce=ot},49397:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return q}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(36901),J=n(8654),Q=n(62487),Y=n(86013),y=n(82855),K=n(48755),u=n(2171),L=n(83397),D=n(31756),G=n(56553),F=n(24971),_=n(70045),N=n(23826),I=n(53075);function w(te){return!!(te.prefix||te.suffix||te.allowClear||te.showCount)}var E=function(te,$e){var Ne={};for(var Qe in te)Object.prototype.hasOwnProperty.call(te,Qe)&&$e.indexOf(Qe)<0&&(Ne[Qe]=te[Qe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ze=0,Qe=Object.getOwnPropertySymbols(te);Ze<Qe.length;Ze++)$e.indexOf(Qe[Ze])<0&&Object.prototype.propertyIsEnumerable.call(te,Qe[Ze])&&(Ne[Qe[Ze]]=te[Qe[Ze]]);return Ne},q=(0,o.forwardRef)((te,$e)=>{const{prefixCls:Ne,bordered:Qe=!0,status:Ze,size:ye,disabled:Ae,onBlur:ie,onFocus:xe,suffix:M,allowClear:A,addonAfter:ot,addonBefore:ue,className:ce,style:C,styles:k,rootClassName:R,onChange:S,classNames:X,variant:We}=te,ge=E(te,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:Ve,direction:it,allowClear:dt,autoComplete:fe,className:ze,style:Ct,classNames:He,styles:Fe}=(0,K.dj)("input"),j=Ve("input",Ne),Ye=(0,o.useRef)(null),be=(0,L.Z)(j),[de,he,me]=(0,I.TI)(j,R),[Ie]=(0,I.ZP)(j,be),{compactSize:we,compactItemClassnames:Le}=(0,_.ri)(j,it),qe=(0,D.Z)(W=>{var wt;return(wt=ye!=null?ye:we)!==null&&wt!==void 0?wt:W}),yt=o.useContext(u.Z),$t=Ae!=null?Ae:yt,{status:qt,hasFeedback:Gt,feedbackIcon:Pt}=(0,o.useContext)(G.aM),at=(0,y.F)(qt,Ze),xt=w(te)||!!Gt,Nt=(0,o.useRef)(xt),Ht=(0,N.Z)(Ye,!0),Et=W=>{Ht(),ie==null||ie(W)},er=W=>{Ht(),xe==null||xe(W)},lr=W=>{Ht(),S==null||S(W)},Cr=(Gt||M)&&o.createElement(o.Fragment,null,M,Gt&&Pt),Jr=(0,Y.Z)(A!=null?A:dt),[$r,x]=(0,F.Z)("input",We,Qe);return de(Ie(o.createElement(Re.default,Object.assign({ref:(0,J.sQ)($e,Ye),prefixCls:j,autoComplete:fe},ge,{disabled:$t,onBlur:Et,onFocus:er,style:Object.assign(Object.assign({},Ct),C),styles:Object.assign(Object.assign({},Fe),k),suffix:Cr,allowClear:Jr,className:B()(ce,R,me,be,Le,ze),onChange:lr,addonBefore:ue&&o.createElement(Q.Z,{form:!0,space:!0},ue),addonAfter:ot&&o.createElement(Q.Z,{form:!0,space:!0},ot),classNames:Object.assign(Object.assign(Object.assign({},X),He),{input:B()({[`${j}-sm`]:qe==="small",[`${j}-lg`]:qe==="large",[`${j}-rtl`]:it==="rtl"},X==null?void 0:X.input,He.input,he),variant:B()({[`${j}-${$r}`]:x},(0,y.Z)(j,at)),affixWrapper:B()({[`${j}-affix-wrapper-sm`]:qe==="small",[`${j}-affix-wrapper-lg`]:qe==="large",[`${j}-affix-wrapper-rtl`]:it==="rtl"},he),wrapper:B()({[`${j}-group-rtl`]:it==="rtl"},he),groupWrapper:B()({[`${j}-group-wrapper-sm`]:qe==="small",[`${j}-group-wrapper-lg`]:qe==="large",[`${j}-group-wrapper-rtl`]:it==="rtl",[`${j}-group-wrapper-${$r}`]:x},(0,y.Z)(`${j}-group-wrapper`,at,Gt),he)})}))))})},79809:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return $e}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(22711),J=n(86013),Q=n(82855),Y=n(48755),y=n(2171),K=n(83397),u=n(31756),L=n(56553),D=n(24971),G=n(70045),F=n(30292),_=n(53075),N=n(16931),I=n(51636),w=n(64910);const E=Ne=>{const{componentCls:Qe,paddingLG:Ze}=Ne,ye=`${Qe}-textarea`;return{[`textarea${Qe}`]:{maxWidth:"100%",height:"auto",minHeight:Ne.controlHeight,lineHeight:Ne.lineHeight,verticalAlign:"bottom",transition:`all ${Ne.motionDurationSlow}`,resize:"vertical",[`&${Qe}-mouse-active`]:{transition:`all ${Ne.motionDurationSlow}, height 0s, width 0s`}},[`${Qe}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[ye]:{position:"relative","&-show-count":{[`> ${Qe}`]:{height:"100%"},[`${Qe}-data-count`]:{position:"absolute",bottom:Ne.calc(Ne.fontSize).mul(Ne.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:Ne.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
|
&-allow-clear > ${Qe},
|
|
|
&-affix-wrapper${ye}-has-feedback ${Qe}
|
|
|
`]:{paddingInlineEnd:Ze},[`&-affix-wrapper${Qe}-affix-wrapper`]:{padding:0,[`> textarea${Qe}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:Ne.calc(Ne.controlHeight).sub(Ne.calc(Ne.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${Qe}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${Qe}-clear-icon`]:{position:"absolute",insetInlineEnd:Ne.paddingInline,insetBlockStart:Ne.paddingXS},[`${ye}-suffix`]:{position:"absolute",top:0,insetInlineEnd:Ne.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${Qe}-affix-wrapper-sm`]:{[`${Qe}-suffix`]:{[`${Qe}-clear-icon`]:{insetInlineEnd:Ne.paddingInlineSM}}}}}};var ae=(0,N.I$)(["Input","TextArea"],Ne=>{const Qe=(0,I.mergeToken)(Ne,(0,w.e)(Ne));return[E(Qe)]},w.T,{resetFont:!1}),q=function(Ne,Qe){var Ze={};for(var ye in Ne)Object.prototype.hasOwnProperty.call(Ne,ye)&&Qe.indexOf(ye)<0&&(Ze[ye]=Ne[ye]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ae=0,ye=Object.getOwnPropertySymbols(Ne);Ae<ye.length;Ae++)Qe.indexOf(ye[Ae])<0&&Object.prototype.propertyIsEnumerable.call(Ne,ye[Ae])&&(Ze[ye[Ae]]=Ne[ye[Ae]]);return Ze},$e=(0,o.forwardRef)((Ne,Qe)=>{var Ze;const{prefixCls:ye,bordered:Ae=!0,size:ie,disabled:xe,status:M,allowClear:A,classNames:ot,rootClassName:ue,className:ce,style:C,styles:k,variant:R,showCount:S,onMouseDown:X,onResize:We}=Ne,ge=q(Ne,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:Ve,direction:it,allowClear:dt,autoComplete:fe,className:ze,style:Ct,classNames:He,styles:Fe}=(0,Y.dj)("textArea"),j=o.useContext(y.Z),Ye=xe!=null?xe:j,{status:be,hasFeedback:de,feedbackIcon:he}=o.useContext(L.aM),me=(0,Q.F)(be,M),Ie=o.useRef(null);o.useImperativeHandle(Qe,()=>{var x;return{resizableTextArea:(x=Ie.current)===null||x===void 0?void 0:x.resizableTextArea,focus:W=>{var wt,oe;(0,F.nH)((oe=(wt=Ie.current)===null||wt===void 0?void 0:wt.resizableTextArea)===null||oe===void 0?void 0:oe.textArea,W)},blur:()=>{var W;return(W=Ie.current)===null||W===void 0?void 0:W.blur()}}});const we=Ve("input",ye),Le=(0,K.Z)(we),[qe,yt,$t]=(0,_.TI)(we,ue),[qt]=ae(we,Le),{compactSize:Gt,compactItemClassnames:Pt}=(0,G.ri)(we,it),at=(0,u.Z)(x=>{var W;return(W=ie!=null?ie:Gt)!==null&&W!==void 0?W:x}),[xt,Nt]=(0,D.Z)("textArea",R,Ae),Ht=(0,J.Z)(A!=null?A:dt),[Et,er]=o.useState(!1),[lr,Cr]=o.useState(!1),Jr=x=>{er(!0),X==null||X(x);const W=()=>{er(!1),document.removeEventListener("mouseup",W)};document.addEventListener("mouseup",W)},$r=x=>{var W,wt;if(We==null||We(x),Et&&typeof getComputedStyle=="function"){const oe=(wt=(W=Ie.current)===null||W===void 0?void 0:W.nativeElement)===null||wt===void 0?void 0:wt.querySelector("textarea");oe&&getComputedStyle(oe).resize==="both"&&Cr(!0)}};return qe(qt(o.createElement(Re.default,Object.assign({autoComplete:fe},ge,{style:Object.assign(Object.assign({},Ct),C),styles:Object.assign(Object.assign({},Fe),k),disabled:Ye,allowClear:Ht,className:B()($t,Le,ce,ue,Pt,ze,lr&&`${we}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},ot),He),{textarea:B()({[`${we}-sm`]:at==="small",[`${we}-lg`]:at==="large"},yt,ot==null?void 0:ot.textarea,He.textarea,Et&&`${we}-mouse-active`),variant:B()({[`${we}-${xt}`]:Nt},(0,Q.Z)(we,me)),affixWrapper:B()(`${we}-textarea-affix-wrapper`,{[`${we}-affix-wrapper-rtl`]:it==="rtl",[`${we}-affix-wrapper-sm`]:at==="small",[`${we}-affix-wrapper-lg`]:at==="large",[`${we}-textarea-show-count`]:S||((Ze=Ne.count)===null||Ze===void 0?void 0:Ze.show)},yt)}),prefixCls:we,suffix:de&&o.createElement("span",{className:`${we}-textarea-suffix`},he),showCount:S,ref:Ie,onResize:$r,onMouseDown:Jr}))))})},23826:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Je}});var o=n(59301);function Je(B,Re){const J=(0,o.useRef)([]),Q=()=>{J.current.push(setTimeout(()=>{var Y,y,K,u;!((Y=B.current)===null||Y===void 0)&&Y.input&&((y=B.current)===null||y===void 0?void 0:y.input.getAttribute("type"))==="password"&&(!((K=B.current)===null||K===void 0)&&K.input.hasAttribute("value"))&&((u=B.current)===null||u===void 0||u.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(Re&&Q(),()=>J.current.forEach(Y=>{Y&&clearTimeout(Y)})),[]),Q}},37568:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return He}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(48755),J=n(56553),Q=n(53075),y=Fe=>{const{getPrefixCls:j,direction:Ye}=(0,o.useContext)(Re.E_),{prefixCls:be,className:de}=Fe,he=j("input-group",be),me=j("input"),[Ie,we,Le]=(0,Q.ZP)(me),qe=B()(he,Le,{[`${he}-lg`]:Fe.size==="large",[`${he}-sm`]:Fe.size==="small",[`${he}-compact`]:Fe.compact,[`${he}-rtl`]:Ye==="rtl"},we,de),yt=(0,o.useContext)(J.aM),$t=(0,o.useMemo)(()=>Object.assign(Object.assign({},yt),{isFormItemInput:!1}),[yt]);return Ie(o.createElement("span",{className:qe,style:Fe.style,onMouseEnter:Fe.onMouseEnter,onMouseLeave:Fe.onMouseLeave,onFocus:Fe.onFocus,onBlur:Fe.onBlur},o.createElement(J.aM.Provider,{value:$t},Fe.children)))},K=n(49397),u=n(94480),L=n(6089),D=n(26112),G=n(82855),F=n(31756),_=n(16931),N=n(51636),I=n(64910);const w=Fe=>{const{componentCls:j,paddingXS:Ye}=Fe;return{[j]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:Ye,"&-rtl":{direction:"rtl"},[`${j}-input`]:{textAlign:"center",paddingInline:Fe.paddingXXS},[`&${j}-sm ${j}-input`]:{paddingInline:Fe.calc(Fe.paddingXXS).div(2).equal()},[`&${j}-lg ${j}-input`]:{paddingInline:Fe.paddingXS}}}};var E=(0,_.I$)(["Input","OTP"],Fe=>{const j=(0,N.mergeToken)(Fe,(0,I.e)(Fe));return[w(j)]},I.T),ae=n(16089),q=function(Fe,j){var Ye={};for(var be in Fe)Object.prototype.hasOwnProperty.call(Fe,be)&&j.indexOf(be)<0&&(Ye[be]=Fe[be]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,be=Object.getOwnPropertySymbols(Fe);de<be.length;de++)j.indexOf(be[de])<0&&Object.prototype.propertyIsEnumerable.call(Fe,be[de])&&(Ye[be[de]]=Fe[be[de]]);return Ye},$e=o.forwardRef((Fe,j)=>{const{value:Ye,onChange:be,onActiveChange:de,index:he,mask:me}=Fe,Ie=q(Fe,["value","onChange","onActiveChange","index","mask"]),we=Ye&&typeof me=="string"?me:Ye,Le=Gt=>{be(he,Gt.target.value)},qe=o.useRef(null);o.useImperativeHandle(j,()=>qe.current);const yt=()=>{(0,ae.Z)(()=>{var Gt;const Pt=(Gt=qe.current)===null||Gt===void 0?void 0:Gt.input;document.activeElement===Pt&&Pt&&Pt.select()})},$t=Gt=>{const{key:Pt,ctrlKey:at,metaKey:xt}=Gt;Pt==="ArrowLeft"?de(he-1):Pt==="ArrowRight"?de(he+1):Pt==="z"&&(at||xt)&&Gt.preventDefault(),yt()},qt=Gt=>{Gt.key==="Backspace"&&!Ye&&de(he-1),yt()};return o.createElement(K.Z,Object.assign({type:me===!0?"password":"text"},Ie,{ref:qe,value:we,onInput:Le,onFocus:yt,onKeyDown:$t,onKeyUp:qt,onMouseDown:yt,onMouseUp:yt}))}),Ne=function(Fe,j){var Ye={};for(var be in Fe)Object.prototype.hasOwnProperty.call(Fe,be)&&j.indexOf(be)<0&&(Ye[be]=Fe[be]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,be=Object.getOwnPropertySymbols(Fe);de<be.length;de++)j.indexOf(be[de])<0&&Object.prototype.propertyIsEnumerable.call(Fe,be[de])&&(Ye[be[de]]=Fe[be[de]]);return Ye};function Qe(Fe){return(Fe||"").split("")}const Ze=Fe=>{const{index:j,prefixCls:Ye,separator:be}=Fe,de=typeof be=="function"?be(j):be;return de?o.createElement("span",{className:`${Ye}-separator`},de):null};var Ae=o.forwardRef((Fe,j)=>{const{prefixCls:Ye,length:be=6,size:de,defaultValue:he,value:me,onChange:Ie,formatter:we,separator:Le,variant:qe,disabled:yt,status:$t,autoFocus:qt,mask:Gt,type:Pt,onInput:at,inputMode:xt}=Fe,Nt=Ne(Fe,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Ht,direction:Et}=o.useContext(Re.E_),er=Ht("otp",Ye),lr=(0,D.Z)(Nt,{aria:!0,data:!0,attr:!0}),[Cr,Jr,$r]=E(er),x=(0,F.Z)(z=>de!=null?de:z),W=o.useContext(J.aM),wt=(0,G.F)(W.status,$t),oe=o.useMemo(()=>Object.assign(Object.assign({},W),{status:wt,hasFeedback:!1,feedbackIcon:null}),[W,wt]),Te=o.useRef(null),zr=o.useRef({});o.useImperativeHandle(j,()=>({focus:()=>{var z;(z=zr.current[0])===null||z===void 0||z.focus()},blur:()=>{var z;for(let Oe=0;Oe<be;Oe+=1)(z=zr.current[Oe])===null||z===void 0||z.blur()},nativeElement:Te.current}));const Ar=z=>we?we(z):z,[yn,Tn]=o.useState(()=>Qe(Ar(he||"")));o.useEffect(()=>{me!==void 0&&Tn(Qe(me))},[me]);const Ft=(0,L.Z)(z=>{Tn(z),at&&at(z),Ie&&z.length===be&&z.every(Oe=>Oe)&&z.some((Oe,re)=>yn[re]!==Oe)&&Ie(z.join(""))}),wr=(0,L.Z)((z,Oe)=>{let re=(0,u.Z)(yn);for(let pn=0;pn<z;pn+=1)re[pn]||(re[pn]="");Oe.length<=1?re[z]=Oe:re=re.slice(0,z).concat(Qe(Oe)),re=re.slice(0,be);for(let pn=re.length-1;pn>=0&&!re[pn];pn-=1)re.pop();const lt=Ar(re.map(pn=>pn||" ").join(""));return re=Qe(lt).map((pn,mt)=>pn===" "&&!re[mt]?re[mt]:pn),re}),br=(z,Oe)=>{var re;const lt=wr(z,Oe),pn=Math.min(z+Oe.length,be-1);pn!==z&<[z]!==void 0&&((re=zr.current[pn])===null||re===void 0||re.focus()),Ft(lt)},Br=z=>{var Oe;(Oe=zr.current[z])===null||Oe===void 0||Oe.focus()},h={variant:qe,disabled:yt,status:wt,mask:Gt,type:Pt,inputMode:xt};return Cr(o.createElement("div",Object.assign({},lr,{ref:Te,className:B()(er,{[`${er}-sm`]:x==="small",[`${er}-lg`]:x==="large",[`${er}-rtl`]:Et==="rtl"},$r,Jr)}),o.createElement(J.aM.Provider,{value:oe},Array.from({length:be}).map((z,Oe)=>{const re=`otp-${Oe}`,lt=yn[Oe]||"";return o.createElement(o.Fragment,{key:re},o.createElement($e,Object.assign({ref:pn=>{zr.current[Oe]=pn},index:Oe,size:x,htmlSize:1,className:`${er}-input`,onChange:br,value:lt,onActiveChange:Br,autoFocus:Oe===0&&qt},h)),Oe<be-1&&o.createElement(Ze,{separator:Le,index:Oe,prefixCls:er}))}))))}),ie=n(73331),xe=n(15277),M=n(2738),A=n(8654),ot=n(2171),ue=n(23826),ce=function(Fe,j){var Ye={};for(var be in Fe)Object.prototype.hasOwnProperty.call(Fe,be)&&j.indexOf(be)<0&&(Ye[be]=Fe[be]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,be=Object.getOwnPropertySymbols(Fe);de<be.length;de++)j.indexOf(be[de])<0&&Object.prototype.propertyIsEnumerable.call(Fe,be[de])&&(Ye[be[de]]=Fe[be[de]]);return Ye};const C=Fe=>Fe?o.createElement(xe.Z,null):o.createElement(ie.Z,null),k={click:"onClick",hover:"onMouseOver"};var S=o.forwardRef((Fe,j)=>{const{disabled:Ye,action:be="click",visibilityToggle:de=!0,iconRender:he=C}=Fe,me=o.useContext(ot.Z),Ie=Ye!=null?Ye:me,we=typeof de=="object"&&de.visible!==void 0,[Le,qe]=(0,o.useState)(()=>we?de.visible:!1),yt=(0,o.useRef)(null);o.useEffect(()=>{we&&qe(de.visible)},[we,de]);const $t=(0,ue.Z)(yt),qt=()=>{var x;if(Ie)return;Le&&$t();const W=!Le;qe(W),typeof de=="object"&&((x=de.onVisibleChange)===null||x===void 0||x.call(de,W))},Gt=x=>{const W=k[be]||"",wt=he(Le),oe={[W]:qt,className:`${x}-icon`,key:"passwordIcon",onMouseDown:Te=>{Te.preventDefault()},onMouseUp:Te=>{Te.preventDefault()}};return o.cloneElement(o.isValidElement(wt)?wt:o.createElement("span",null,wt),oe)},{className:Pt,prefixCls:at,inputPrefixCls:xt,size:Nt}=Fe,Ht=ce(Fe,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Et}=o.useContext(Re.E_),er=Et("input",xt),lr=Et("input-password",at),Cr=de&&Gt(lr),Jr=B()(lr,Pt,{[`${lr}-${Nt}`]:!!Nt}),$r=Object.assign(Object.assign({},(0,M.Z)(Ht,["suffix","iconRender","visibilityToggle"])),{type:Le?"text":"password",className:Jr,prefixCls:er,suffix:Cr});return Nt&&($r.size=Nt),o.createElement(K.Z,Object.assign({ref:(0,A.sQ)(j,yt)},$r))}),X=n(47472),We=n(22703),ge=n(7939),Ve=n(70045),it=function(Fe,j){var Ye={};for(var be in Fe)Object.prototype.hasOwnProperty.call(Fe,be)&&j.indexOf(be)<0&&(Ye[be]=Fe[be]);if(Fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var de=0,be=Object.getOwnPropertySymbols(Fe);de<be.length;de++)j.indexOf(be[de])<0&&Object.prototype.propertyIsEnumerable.call(Fe,be[de])&&(Ye[be[de]]=Fe[be[de]]);return Ye},fe=o.forwardRef((Fe,j)=>{const{prefixCls:Ye,inputPrefixCls:be,className:de,size:he,suffix:me,enterButton:Ie=!1,addonAfter:we,loading:Le,disabled:qe,onSearch:yt,onChange:$t,onCompositionStart:qt,onCompositionEnd:Gt}=Fe,Pt=it(Fe,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:at,direction:xt}=o.useContext(Re.E_),Nt=o.useRef(!1),Ht=at("input-search",Ye),Et=at("input",be),{compactSize:er}=(0,Ve.ri)(Ht,xt),lr=(0,F.Z)(br=>{var Br;return(Br=he!=null?he:er)!==null&&Br!==void 0?Br:br}),Cr=o.useRef(null),Jr=br=>{br!=null&&br.target&&br.type==="click"&&yt&&yt(br.target.value,br,{source:"clear"}),$t==null||$t(br)},$r=br=>{var Br;document.activeElement===((Br=Cr.current)===null||Br===void 0?void 0:Br.input)&&br.preventDefault()},x=br=>{var Br,h;yt&&yt((h=(Br=Cr.current)===null||Br===void 0?void 0:Br.input)===null||h===void 0?void 0:h.value,br,{source:"input"})},W=br=>{Nt.current||Le||x(br)},wt=typeof Ie=="boolean"?o.createElement(X.Z,null):null,oe=`${Ht}-button`;let Te;const zr=Ie||{},Ar=zr.type&&zr.type.__ANT_BUTTON===!0;Ar||zr.type==="button"?Te=(0,We.Tm)(zr,Object.assign({onMouseDown:$r,onClick:br=>{var Br,h;(h=(Br=zr==null?void 0:zr.props)===null||Br===void 0?void 0:Br.onClick)===null||h===void 0||h.call(Br,br),x(br)},key:"enterButton"},Ar?{className:oe,size:lr}:{})):Te=o.createElement(ge.ZP,{className:oe,type:Ie?"primary":void 0,size:lr,disabled:qe,key:"enterButton",onMouseDown:$r,onClick:x,loading:Le,icon:wt},Ie),we&&(Te=[Te,(0,We.Tm)(we,{key:"addonAfter"})]);const yn=B()(Ht,{[`${Ht}-rtl`]:xt==="rtl",[`${Ht}-${lr}`]:!!lr,[`${Ht}-with-button`]:!!Ie},de),Tn=Object.assign(Object.assign({},Pt),{className:yn,prefixCls:Et,type:"search"}),Ft=br=>{Nt.current=!0,qt==null||qt(br)},wr=br=>{Nt.current=!1,Gt==null||Gt(br)};return o.createElement(K.Z,Object.assign({ref:(0,A.sQ)(Cr,j),onPressEnter:W},Tn,{size:lr,onCompositionStart:Ft,onCompositionEnd:wr,addonAfter:Te,suffix:me,onChange:Jr,disabled:qe}))}),ze=n(79809);const Ct=K.Z;Ct.Group=y,Ct.Search=fe,Ct.TextArea=ze.Z,Ct.Password=S,Ct.OTP=Ae;var He=Ct},53075:function(qr,_t,n){"use strict";n.d(_t,{TI:function(){return ae},ik:function(){return D},nz:function(){return y},s7:function(){return G},x0:function(){return L}});var o=n(36237),Je=n(63356),B=n(56119),Re=n(16931),J=n(51636),Q=n(64910),Y=n(39082);const y=q=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:q,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=q=>({borderColor:q.activeBorderColor,boxShadow:q.activeShadow,outline:0,backgroundColor:q.activeBg}),u=q=>{const{paddingBlockLG:te,lineHeightLG:$e,borderRadiusLG:Ne,paddingInlineLG:Qe}=q;return{padding:`${(0,o.unit)(te)} ${(0,o.unit)(Qe)}`,fontSize:q.inputFontSizeLG,lineHeight:$e,borderRadius:Ne}},L=q=>({padding:`${(0,o.unit)(q.paddingBlockSM)} ${(0,o.unit)(q.paddingInlineSM)}`,fontSize:q.inputFontSizeSM,borderRadius:q.borderRadiusSM}),D=q=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,o.unit)(q.paddingBlock)} ${(0,o.unit)(q.paddingInline)}`,color:q.colorText,fontSize:q.inputFontSize,lineHeight:q.lineHeight,borderRadius:q.borderRadius,transition:`all ${q.motionDurationMid}`},y(q.colorTextPlaceholder)),{"&-lg":Object.assign({},u(q)),"&-sm":Object.assign({},L(q)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),G=q=>{const{componentCls:te,antCls:$e}=q;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:q.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${te}, &-lg > ${te}-group-addon`]:Object.assign({},u(q)),[`&-sm ${te}, &-sm > ${te}-group-addon`]:Object.assign({},L(q)),[`&-lg ${$e}-select-single ${$e}-select-selector`]:{height:q.controlHeightLG},[`&-sm ${$e}-select-single ${$e}-select-selector`]:{height:q.controlHeightSM},[`> ${te}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${te}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,o.unit)(q.paddingInline)}`,color:q.colorText,fontWeight:"normal",fontSize:q.inputFontSize,textAlign:"center",borderRadius:q.borderRadius,transition:`all ${q.motionDurationSlow}`,lineHeight:1,[`${$e}-select`]:{margin:`${(0,o.unit)(q.calc(q.paddingBlock).add(1).mul(-1).equal())} ${(0,o.unit)(q.calc(q.paddingInline).mul(-1).equal())}`,[`&${$e}-select-single:not(${$e}-select-customize-input):not(${$e}-pagination-size-changer)`]:{[`${$e}-select-selector`]:{backgroundColor:"inherit",border:`${(0,o.unit)(q.lineWidth)} ${q.lineType} transparent`,boxShadow:"none"}}},[`${$e}-cascader-picker`]:{margin:`-9px ${(0,o.unit)(q.calc(q.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${$e}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[te]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${te}-search-with-button &`]:{zIndex:0}}},[`> ${te}:first-child, ${te}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}-affix-wrapper`]:{[`&:not(:first-child) ${te}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${te}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${te}:last-child, ${te}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$e}-select ${$e}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${te}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${te}-search &`]:{borderStartStartRadius:q.borderRadius,borderEndStartRadius:q.borderRadius}},[`&:not(:first-child), ${te}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${te}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,Je.dF)()),{[`${te}-group-addon, ${te}-group-wrap, > ${te}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:q.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${te}-affix-wrapper,
|
|
|
& > ${te}-number-affix-wrapper,
|
|
|
& > ${$e}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:q.calc(q.lineWidth).mul(-1).equal(),borderInlineEndWidth:q.lineWidth},[te]:{float:"none"},[`& > ${$e}-select > ${$e}-select-selector,
|
|
|
& > ${$e}-select-auto-complete ${te},
|
|
|
& > ${$e}-cascader-picker ${te},
|
|
|
& > ${te}-group-wrapper ${te}`]:{borderInlineEndWidth:q.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${$e}-select-focused`]:{zIndex:1},[`& > ${$e}-select > ${$e}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${$e}-select:first-child > ${$e}-select-selector,
|
|
|
& > ${$e}-select-auto-complete:first-child ${te},
|
|
|
& > ${$e}-cascader-picker:first-child ${te}`]:{borderStartStartRadius:q.borderRadius,borderEndStartRadius:q.borderRadius},[`& > *:last-child,
|
|
|
& > ${$e}-select:last-child > ${$e}-select-selector,
|
|
|
& > ${$e}-cascader-picker:last-child ${te},
|
|
|
& > ${$e}-cascader-picker-focused:last-child ${te}`]:{borderInlineEndWidth:q.lineWidth,borderStartEndRadius:q.borderRadius,borderEndEndRadius:q.borderRadius},[`& > ${$e}-select-auto-complete ${te}`]:{verticalAlign:"top"},[`${te}-group-wrapper + ${te}-group-wrapper`]:{marginInlineStart:q.calc(q.lineWidth).mul(-1).equal(),[`${te}-affix-wrapper`]:{borderRadius:0}},[`${te}-group-wrapper:not(:last-child)`]:{[`&${te}-search > ${te}-group`]:{[`& > ${te}-group-addon > ${te}-search-button`]:{borderRadius:0},[`& > ${te}`]:{borderStartStartRadius:q.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:q.borderRadius}}}})}},F=q=>{const{componentCls:te,controlHeightSM:$e,lineWidth:Ne,calc:Qe}=q,ye=Qe($e).sub(Qe(Ne).mul(2)).sub(16).div(2).equal();return{[te]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Je.Wf)(q)),D(q)),(0,Y.qG)(q)),(0,Y.H8)(q)),(0,Y.Mu)(q)),(0,Y.vc)(q)),{'&[type="color"]':{height:q.controlHeight,[`&${te}-lg`]:{height:q.controlHeightLG},[`&${te}-sm`]:{height:$e,paddingTop:ye,paddingBottom:ye}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},_=q=>{const{componentCls:te}=q;return{[`${te}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:q.colorTextQuaternary,fontSize:q.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${q.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:q.colorTextTertiary},"&:active":{color:q.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,o.unit)(q.inputAffixPadding)}`}}}},N=q=>{const{componentCls:te,inputAffixPadding:$e,colorTextDescription:Ne,motionDurationSlow:Qe,colorIcon:Ze,colorIconHover:ye,iconCls:Ae}=q,ie=`${te}-affix-wrapper`,xe=`${te}-affix-wrapper-disabled`;return{[ie]:Object.assign(Object.assign(Object.assign(Object.assign({},D(q)),{display:"inline-flex",[`&:not(${te}-disabled):hover`]:{zIndex:1,[`${te}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${te}`]:{padding:0},[`> input${te}, > textarea${te}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[te]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:q.paddingXS}},"&-show-count-suffix":{color:Ne},"&-show-count-has-suffix":{marginInlineEnd:q.paddingXXS},"&-prefix":{marginInlineEnd:$e},"&-suffix":{marginInlineStart:$e}}}),_(q)),{[`${Ae}${te}-password-icon`]:{color:Ze,cursor:"pointer",transition:`all ${Qe}`,"&:hover":{color:ye}}}),[`${te}-underlined`]:{borderRadius:0},[xe]:{[`${Ae}${te}-password-icon`]:{color:Ze,cursor:"not-allowed","&:hover":{color:Ze}}}}},I=q=>{const{componentCls:te,borderRadiusLG:$e,borderRadiusSM:Ne}=q;return{[`${te}-group`]:Object.assign(Object.assign(Object.assign({},(0,Je.Wf)(q)),G(q)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${te}-group-addon`]:{borderRadius:$e,fontSize:q.inputFontSizeLG}},"&-sm":{[`${te}-group-addon`]:{borderRadius:Ne}}},(0,Y.ir)(q)),(0,Y.S5)(q)),{[`&:not(${te}-compact-first-item):not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}, ${te}-group-addon`]:{borderRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-first-item`]:{[`${te}, ${te}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-last-item`]:{[`${te}, ${te}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${te}-compact-last-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${te}-compact-first-item)${te}-compact-item`]:{[`${te}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},w=q=>{const{componentCls:te,antCls:$e}=q,Ne=`${te}-search`;return{[Ne]:{[te]:{"&:hover, &:focus":{[`+ ${te}-group-addon ${Ne}-button:not(${$e}-btn-primary)`]:{borderInlineStartColor:q.colorPrimaryHover}}},[`${te}-affix-wrapper`]:{height:q.controlHeight,borderRadius:0},[`${te}-lg`]:{lineHeight:q.calc(q.lineHeightLG).sub(2e-4).equal()},[`> ${te}-group`]:{[`> ${te}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${Ne}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${Ne}-button:not(${$e}-btn-primary)`]:{color:q.colorTextDescription,"&:hover":{color:q.colorPrimaryHover},"&:active":{color:q.colorPrimaryActive},[`&${$e}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${Ne}-button`]:{height:q.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${te}-affix-wrapper, ${Ne}-button`]:{height:q.controlHeightLG}},"&-small":{[`${te}-affix-wrapper, ${Ne}-button`]:{height:q.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${te}-compact-item`]:{[`&:not(${te}-compact-last-item)`]:{[`${te}-group-addon`]:{[`${te}-search-button`]:{marginInlineEnd:q.calc(q.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${te}-compact-first-item)`]:{[`${te},${te}-affix-wrapper`]:{borderRadius:0}},[`> ${te}-group-addon ${te}-search-button,
|
|
|
> ${te},
|
|
|
${te}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${te}-affix-wrapper-focused`]:{zIndex:2}}}}},E=q=>{const{componentCls:te}=q;return{[`${te}-out-of-range`]:{[`&, & input, & textarea, ${te}-show-count-suffix, ${te}-data-count`]:{color:q.colorError}}}},ae=(0,Re.I$)(["Input","Shared"],q=>{const te=(0,J.mergeToken)(q,(0,Q.e)(q));return[F(te),N(te)]},Q.T,{resetFont:!1});_t.ZP=(0,Re.I$)(["Input","Component"],q=>{const te=(0,J.mergeToken)(q,(0,Q.e)(q));return[I(te),w(te),E(te),(0,B.c)(te)]},Q.T,{resetFont:!1})},64910:function(qr,_t,n){"use strict";n.d(_t,{T:function(){return B},e:function(){return Je}});var o=n(51636);function Je(Re){return(0,o.mergeToken)(Re,{inputAffixPadding:Re.paddingXXS})}const B=Re=>{const{controlHeight:J,fontSize:Q,lineHeight:Y,lineWidth:y,controlHeightSM:K,controlHeightLG:u,fontSizeLG:L,lineHeightLG:D,paddingSM:G,controlPaddingHorizontalSM:F,controlPaddingHorizontal:_,colorFillAlter:N,colorPrimaryHover:I,colorPrimary:w,controlOutlineWidth:E,controlOutline:ae,colorErrorOutline:q,colorWarningOutline:te,colorBgContainer:$e,inputFontSize:Ne,inputFontSizeLG:Qe,inputFontSizeSM:Ze}=Re,ye=Ne||Q,Ae=Ze||ye,ie=Qe||L,xe=Math.round((J-ye*Y)/2*10)/10-y,M=Math.round((K-Ae*Y)/2*10)/10-y,A=Math.ceil((u-ie*D)/2*10)/10-y;return{paddingBlock:Math.max(xe,0),paddingBlockSM:Math.max(M,0),paddingBlockLG:Math.max(A,0),paddingInline:G-y,paddingInlineSM:F-y,paddingInlineLG:_-y,addonBg:N,activeBorderColor:w,hoverBorderColor:I,activeShadow:`0 0 0 ${E}px ${ae}`,errorActiveShadow:`0 0 0 ${E}px ${q}`,warningActiveShadow:`0 0 0 ${E}px ${te}`,hoverBg:$e,activeBg:$e,inputFontSize:ye,inputFontSizeLG:ie,inputFontSizeSM:Ae}}},39082:function(qr,_t,n){"use strict";n.d(_t,{$U:function(){return J},H8:function(){return G},Mu:function(){return u},S5:function(){return _},Xy:function(){return Re},ir:function(){return K},qG:function(){return Y},vc:function(){return w}});var o=n(36237),Je=n(51636);const B=E=>({borderColor:E.hoverBorderColor,backgroundColor:E.hoverBg}),Re=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({},B((0,Je.mergeToken)(E,{hoverBorderColor:E.colorBorder,hoverBg:E.colorBgContainerDisabled})))}),J=(E,ae)=>({background:E.colorBgContainer,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:ae.borderColor,"&:hover":{borderColor:ae.hoverBorderColor,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:ae.activeBorderColor,boxShadow:ae.activeShadow,outline:0,backgroundColor:E.activeBg}}),Q=(E,ae)=>({[`&${E.componentCls}-status-${ae.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},J(E,ae)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ae.affixColor}}),[`&${E.componentCls}-status-${ae.status}${E.componentCls}-disabled`]:{borderColor:ae.borderColor}}),Y=(E,ae)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},J(E,{borderColor:E.colorBorder,hoverBorderColor:E.hoverBorderColor,activeBorderColor:E.activeBorderColor,activeShadow:E.activeShadow})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},Re(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})),ae)}),y=(E,ae)=>({[`&${E.componentCls}-group-wrapper-status-${ae.status}`]:{[`${E.componentCls}-group-addon`]:{borderColor:ae.addonBorderColor,color:ae.addonColor}}}),K=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({},Re(E))}})}),u=(E,ae)=>{const{componentCls:q}=E;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${q}-disabled, &[disabled]`]:{color:E.colorTextDisabled,cursor:"not-allowed"},[`&${q}-status-error`]:{"&, & input, & textarea":{color:E.colorError}},[`&${q}-status-warning`]:{"&, & input, & textarea":{color:E.colorWarning}}},ae)}},L=(E,ae)=>{var q;return{background:ae.bg,borderWidth:E.lineWidth,borderStyle:E.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(q=ae==null?void 0:ae.inputColor)!==null&&q!==void 0?q:"unset"},"&:hover":{background:ae.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:ae.activeBorderColor,backgroundColor:E.activeBg}}},D=(E,ae)=>({[`&${E.componentCls}-status-${ae.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},L(E,ae)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ae.affixColor}})}),G=(E,ae)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L(E,{bg:E.colorFillTertiary,hoverBg:E.colorFillSecondary,activeBorderColor:E.activeBorderColor})),{[`&${E.componentCls}-disabled, &[disabled]`]:Object.assign({},Re(E))}),D(E,{status:"error",bg:E.colorErrorBg,hoverBg:E.colorErrorBgHover,activeBorderColor:E.colorError,inputColor:E.colorErrorText,affixColor:E.colorError})),D(E,{status:"warning",bg:E.colorWarningBg,hoverBg:E.colorWarningBgHover,activeBorderColor:E.colorWarning,inputColor:E.colorWarningText,affixColor:E.colorWarning})),ae)}),F=(E,ae)=>({[`&${E.componentCls}-group-wrapper-status-${ae.status}`]:{[`${E.componentCls}-group-addon`]:{background:ae.addonBg,color:ae.addonColor}}}),_=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}`}}}},F(E,{status:"error",addonBg:E.colorErrorBg,addonColor:E.colorErrorText})),F(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}`}}}})}),N=(E,ae)=>({background:E.colorBgContainer,borderWidth:`${(0,o.unit)(E.lineWidth)} 0`,borderStyle:`${E.lineType} none`,borderColor:`transparent transparent ${ae.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${ae.borderColor} transparent`,backgroundColor:E.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${ae.borderColor} transparent`,outline:0,backgroundColor:E.activeBg}}),I=(E,ae)=>({[`&${E.componentCls}-status-${ae.status}:not(${E.componentCls}-disabled)`]:Object.assign(Object.assign({},N(E,ae)),{[`${E.componentCls}-prefix, ${E.componentCls}-suffix`]:{color:ae.affixColor}}),[`&${E.componentCls}-status-${ae.status}${E.componentCls}-disabled`]:{borderColor:`transparent transparent ${ae.borderColor} transparent`}}),w=(E,ae)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},N(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"}}),I(E,{status:"error",borderColor:E.colorError,hoverBorderColor:E.colorErrorBorderHover,activeBorderColor:E.colorError,activeShadow:E.errorActiveShadow,affixColor:E.colorError})),I(E,{status:"warning",borderColor:E.colorWarning,hoverBorderColor:E.colorWarningBorderHover,activeBorderColor:E.colorWarning,activeShadow:E.warningActiveShadow,affixColor:E.colorWarning})),ae)})},24303:function(qr,_t,n){"use strict";n.d(_t,{D:function(){return Ne},Z:function(){return ye}});var o=n(59301),Je=n(54476),B={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Re=B,J=n(7657),Q=function(ie,xe){return o.createElement(J.Z,(0,Je.Z)({},ie,{ref:xe,icon:Re}))},Y=o.forwardRef(Q),y=Y,K=n(33853),u=n(38819),L=n(92310),D=n.n(L),G=n(2738),F=n(48755),_=n(6989),N=n(36237),I=n(48923),w=n(16931);const E=Ae=>{const{componentCls:ie,siderBg:xe,motionDurationMid:M,motionDurationSlow:A,antCls:ot,triggerHeight:ue,triggerColor:ce,triggerBg:C,headerHeight:k,zeroTriggerWidth:R,zeroTriggerHeight:S,borderRadiusLG:X,lightSiderBg:We,lightTriggerColor:ge,lightTriggerBg:Ve,bodyBg:it}=Ae;return{[ie]:{position:"relative",minWidth:0,background:xe,transition:`all ${M}, background 0s`,"&-has-trigger":{paddingBottom:ue},"&-right":{order:1},[`${ie}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ot}-menu${ot}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${ie}-children`]:{overflow:"hidden"},[`${ie}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:ue,color:ce,lineHeight:(0,N.unit)(ue),textAlign:"center",background:C,cursor:"pointer",transition:`all ${M}`},[`${ie}-zero-width-trigger`]:{position:"absolute",top:k,insetInlineEnd:Ae.calc(R).mul(-1).equal(),zIndex:1,width:R,height:S,color:ce,fontSize:Ae.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:xe,borderRadius:`0 ${(0,N.unit)(X)} ${(0,N.unit)(X)} 0`,cursor:"pointer",transition:`background ${A} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${A}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:Ae.calc(R).mul(-1).equal(),borderRadius:`${(0,N.unit)(X)} 0 0 ${(0,N.unit)(X)}`}},"&-light":{background:We,[`${ie}-trigger`]:{color:ge,background:Ve},[`${ie}-zero-width-trigger`]:{color:ge,background:Ve,border:`1px solid ${it}`,borderInlineStart:0}}}}};var ae=(0,w.I$)(["Layout","Sider"],Ae=>[E(Ae)],I.eh,{deprecatedTokens:I.jn}),q=function(Ae,ie){var xe={};for(var M in Ae)Object.prototype.hasOwnProperty.call(Ae,M)&&ie.indexOf(M)<0&&(xe[M]=Ae[M]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,M=Object.getOwnPropertySymbols(Ae);A<M.length;A++)ie.indexOf(M[A])<0&&Object.prototype.propertyIsEnumerable.call(Ae,M[A])&&(xe[M[A]]=Ae[M[A]]);return xe};const te={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},$e=Ae=>!Number.isNaN(Number.parseFloat(Ae))&&isFinite(Ae),Ne=o.createContext({}),Qe=(()=>{let Ae=0;return function(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ae+=1,`${ie}${Ae}`}})();var ye=o.forwardRef((Ae,ie)=>{const{prefixCls:xe,className:M,trigger:A,children:ot,defaultCollapsed:ue=!1,theme:ce="dark",style:C={},collapsible:k=!1,reverseArrow:R=!1,width:S=200,collapsedWidth:X=80,zeroWidthTriggerStyle:We,breakpoint:ge,onCollapse:Ve,onBreakpoint:it}=Ae,dt=q(Ae,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:fe}=(0,o.useContext)(_.V),[ze,Ct]=(0,o.useState)("collapsed"in Ae?Ae.collapsed:ue),[He,Fe]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in Ae&&Ct(Ae.collapsed)},[Ae.collapsed]);const j=(lr,Cr)=>{"collapsed"in Ae||Ct(lr),Ve==null||Ve(lr,Cr)},{getPrefixCls:Ye,direction:be}=(0,o.useContext)(F.E_),de=Ye("layout-sider",xe),[he,me,Ie]=ae(de),we=(0,o.useRef)(null);we.current=lr=>{Fe(lr.matches),it==null||it(lr.matches),ze!==lr.matches&&j(lr.matches,"responsive")},(0,o.useEffect)(()=>{function lr(Jr){return we.current(Jr)}let Cr;if(typeof window!="undefined"){const{matchMedia:Jr}=window;if(Jr&&ge&&ge in te){Cr=Jr(`screen and (max-width: ${te[ge]})`);try{Cr.addEventListener("change",lr)}catch($r){Cr.addListener(lr)}lr(Cr)}}return()=>{try{Cr==null||Cr.removeEventListener("change",lr)}catch(Jr){Cr==null||Cr.removeListener(lr)}}},[ge]),(0,o.useEffect)(()=>{const lr=Qe("ant-sider-");return fe.addSider(lr),()=>fe.removeSider(lr)},[]);const Le=()=>{j(!ze,"clickTrigger")},qe=(0,G.Z)(dt,["collapsed"]),yt=ze?X:S,$t=$e(yt)?`${yt}px`:String(yt),qt=parseFloat(String(X||0))===0?o.createElement("span",{onClick:Le,className:D()(`${de}-zero-width-trigger`,`${de}-zero-width-trigger-${R?"right":"left"}`),style:We},A||o.createElement(y,null)):null,Gt=be==="rtl"==!R,xt={expanded:Gt?o.createElement(u.Z,null):o.createElement(K.Z,null),collapsed:Gt?o.createElement(K.Z,null):o.createElement(u.Z,null)}[ze?"collapsed":"expanded"],Nt=A!==null?qt||o.createElement("div",{className:`${de}-trigger`,onClick:Le,style:{width:$t}},A||xt):null,Ht=Object.assign(Object.assign({},C),{flex:`0 0 ${$t}`,maxWidth:$t,minWidth:$t,width:$t}),Et=D()(de,`${de}-${ce}`,{[`${de}-collapsed`]:!!ze,[`${de}-has-trigger`]:k&&A!==null&&!qt,[`${de}-below`]:!!He,[`${de}-zero-width`]:parseFloat($t)===0},M,me,Ie),er=o.useMemo(()=>({siderCollapsed:ze}),[ze]);return he(o.createElement(Ne.Provider,{value:er},o.createElement("aside",Object.assign({className:Et},qe,{style:Ht,ref:ie}),o.createElement("div",{className:`${de}-children`},ot),k||He&&qt?Nt:null)))})},6989:function(qr,_t,n){"use strict";n.d(_t,{V:function(){return Je}});var o=n(59301);const Je=o.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24404:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return te}});var o=n(94480),Je=n(59301),B=n(92310),Re=n.n(B),J=n(2738),Q=n(48755),Y=n(6989),y=n(11592),K=n(24303);function u($e,Ne,Qe){return typeof Qe=="boolean"?Qe:$e.length?!0:(0,y.Z)(Ne).some(ye=>ye.type===K.Z)}var L=n(48923),D=function($e,Ne){var Qe={};for(var Ze in $e)Object.prototype.hasOwnProperty.call($e,Ze)&&Ne.indexOf(Ze)<0&&(Qe[Ze]=$e[Ze]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ye=0,Ze=Object.getOwnPropertySymbols($e);ye<Ze.length;ye++)Ne.indexOf(Ze[ye])<0&&Object.prototype.propertyIsEnumerable.call($e,Ze[ye])&&(Qe[Ze[ye]]=$e[Ze[ye]]);return Qe};function G($e){let{suffixCls:Ne,tagName:Qe,displayName:Ze}=$e;return ye=>Je.forwardRef((ie,xe)=>Je.createElement(ye,Object.assign({ref:xe,suffixCls:Ne,tagName:Qe},ie)))}const F=Je.forwardRef(($e,Ne)=>{const{prefixCls:Qe,suffixCls:Ze,className:ye,tagName:Ae}=$e,ie=D($e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:xe}=Je.useContext(Q.E_),M=xe("layout",Qe),[A,ot,ue]=(0,L.ZP)(M),ce=Ze?`${M}-${Ze}`:M;return A(Je.createElement(Ae,Object.assign({className:Re()(Qe||ce,ye,ot,ue),ref:Ne},ie)))}),_=Je.forwardRef(($e,Ne)=>{const{direction:Qe}=Je.useContext(Q.E_),[Ze,ye]=Je.useState([]),{prefixCls:Ae,className:ie,rootClassName:xe,children:M,hasSider:A,tagName:ot,style:ue}=$e,ce=D($e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),C=(0,J.Z)(ce,["suffixCls"]),{getPrefixCls:k,className:R,style:S}=(0,Q.dj)("layout"),X=k("layout",Ae),We=u(Ze,M,A),[ge,Ve,it]=(0,L.ZP)(X),dt=Re()(X,{[`${X}-has-sider`]:We,[`${X}-rtl`]:Qe==="rtl"},R,ie,xe,Ve,it),fe=Je.useMemo(()=>({siderHook:{addSider:ze=>{ye(Ct=>[].concat((0,o.Z)(Ct),[ze]))},removeSider:ze=>{ye(Ct=>Ct.filter(He=>He!==ze))}}}),[]);return ge(Je.createElement(Y.V.Provider,{value:fe},Je.createElement(ot,Object.assign({ref:Ne,className:dt,style:Object.assign(Object.assign({},S),ue)},C),M)))}),N=G({tagName:"div",displayName:"Layout"})(_),I=G({suffixCls:"header",tagName:"header",displayName:"Header"})(F),w=G({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(F),E=G({suffixCls:"content",tagName:"main",displayName:"Content"})(F);var ae=N;const q=ae;q.Header=I,q.Footer=w,q.Content=E,q.Sider=K.Z,q._InternalSiderContext=K.D;var te=q},48923:function(qr,_t,n){"use strict";n.d(_t,{eh:function(){return Re},jn:function(){return J}});var o=n(36237),Je=n(16931);const B=Q=>{const{antCls:Y,componentCls:y,colorText:K,footerBg:u,headerHeight:L,headerPadding:D,headerColor:G,footerPadding:F,fontSize:_,bodyBg:N,headerBg:I}=Q;return{[y]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:N,"&, *":{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:L,padding:D,color:G,lineHeight:(0,o.unit)(L),background:I,[`${Y}-menu`]:{lineHeight:"inherit"}},[`${y}-footer`]:{padding:F,color:K,fontSize:_,background:u},[`${y}-content`]:{flex:"auto",color:K,minHeight:0}}},Re=Q=>{const{colorBgLayout:Y,controlHeight:y,controlHeightLG:K,colorText:u,controlHeightSM:L,marginXXS:D,colorTextLightSolid:G,colorBgContainer:F}=Q,_=K*1.25;return{colorBgHeader:"#001529",colorBgBody:Y,colorBgTrigger:"#002140",bodyBg:Y,headerBg:"#001529",headerHeight:y*2,headerPadding:`0 ${_}px`,headerColor:u,footerPadding:`${L}px ${_}px`,footerBg:Y,siderBg:"#001529",triggerHeight:K+D*2,triggerBg:"#002140",triggerColor:G,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:F,lightTriggerBg:F,lightTriggerColor:u}},J=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];_t.ZP=(0,Je.I$)("Layout",Q=>[B(Q)],Re,{deprecatedTokens:J})},78857:function(qr,_t,n){"use strict";n.d(_t,{J:function(){return Q}});var o=n(59301),Je=n(8654),B=n(62487),Re=function(Y,y){var K={};for(var u in Y)Object.prototype.hasOwnProperty.call(Y,u)&&y.indexOf(u)<0&&(K[u]=Y[u]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,u=Object.getOwnPropertySymbols(Y);L<u.length;L++)y.indexOf(u[L])<0&&Object.prototype.propertyIsEnumerable.call(Y,u[L])&&(K[u[L]]=Y[u[L]]);return K};const J=o.createContext(null),Q=o.forwardRef((Y,y)=>{const{children:K}=Y,u=Re(Y,["children"]),L=o.useContext(J),D=o.useMemo(()=>Object.assign(Object.assign({},L),u),[L,u.prefixCls,u.mode,u.selectable,u.rootClassName]),G=(0,Je.t4)(K),F=(0,Je.x1)(y,G?(0,Je.C4)(K):null);return o.createElement(J.Provider,{value:D},o.createElement(B.Z,{space:!0},G?o.cloneElement(K,{ref:F}):K))});_t.Z=J},93041:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return he}});var o=n(59301),Je=n(28321),B=n(24303),Re=n(18785),J=n(92310),Q=n.n(J),Y=n(6089),y=n(2738),K=n(86641),u=n(22703),L=n(48755),D=n(83397),F=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),_=function(me,Ie){var we={};for(var Le in me)Object.prototype.hasOwnProperty.call(me,Le)&&Ie.indexOf(Le)<0&&(we[Le]=me[Le]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Le=Object.getOwnPropertySymbols(me);qe<Le.length;qe++)Ie.indexOf(Le[qe])<0&&Object.prototype.propertyIsEnumerable.call(me,Le[qe])&&(we[Le[qe]]=me[Le[qe]]);return we},I=me=>{const{prefixCls:Ie,className:we,dashed:Le}=me,qe=_(me,["prefixCls","className","dashed"]),{getPrefixCls:yt}=o.useContext(L.E_),$t=yt("menu",Ie),qt=Q()({[`${$t}-item-divider-dashed`]:!!Le},we);return o.createElement(Je.iz,Object.assign({className:qt},qe))},w=n(11592),E=n(25399),q=me=>{var Ie;const{className:we,children:Le,icon:qe,title:yt,danger:$t,extra:qt}=me,{prefixCls:Gt,firstLevel:Pt,direction:at,disableMenuItemTitleTooltip:xt,inlineCollapsed:Nt}=o.useContext(F),Ht=$r=>{const x=Le==null?void 0:Le[0],W=o.createElement("span",{className:Q()(`${Gt}-title-content`,{[`${Gt}-title-content-with-extra`]:!!qt||qt===0})},Le);return(!qe||o.isValidElement(Le)&&Le.type==="span")&&Le&&$r&&Pt&&typeof x=="string"?o.createElement("div",{className:`${Gt}-inline-collapsed-noicon`},x.charAt(0)):W},{siderCollapsed:Et}=o.useContext(B.D);let er=yt;typeof yt=="undefined"?er=Pt?Le:"":yt===!1&&(er="");const lr={title:er};!Et&&!Nt&&(lr.title=null,lr.open=!1);const Cr=(0,w.Z)(Le).length;let Jr=o.createElement(Je.ck,Object.assign({},(0,y.Z)(me,["title","icon","danger"]),{className:Q()({[`${Gt}-item-danger`]:$t,[`${Gt}-item-only-child`]:(qe?Cr+1:Cr)===1},we),title:typeof yt=="string"?yt:void 0}),(0,u.Tm)(qe,{className:Q()(o.isValidElement(qe)?(Ie=qe.props)===null||Ie===void 0?void 0:Ie.className:"",`${Gt}-item-icon`)}),Ht(Nt));return xt||(Jr=o.createElement(E.Z,Object.assign({},lr,{placement:at==="rtl"?"left":"right",classNames:{root:`${Gt}-inline-collapsed-tooltip`}}),Jr)),Jr},te=n(78857),$e=n(36237),Ne=n(17835),Qe=n(63356),Ze=n(34961),ye=n(46e3),Ae=n(34925),ie=n(16931),xe=n(51636),A=me=>{const{componentCls:Ie,motionDurationSlow:we,horizontalLineHeight:Le,colorSplit:qe,lineWidth:yt,lineType:$t,itemPaddingInline:qt}=me;return{[`${Ie}-horizontal`]:{lineHeight:Le,border:0,borderBottom:`${(0,$e.unit)(yt)} ${$t} ${qe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ie}-item, ${Ie}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:qt},[`> ${Ie}-item:hover,
|
|
|
> ${Ie}-item-active,
|
|
|
> ${Ie}-submenu ${Ie}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ie}-item, ${Ie}-submenu-title`]:{transition:[`border-color ${we}`,`background ${we}`].join(",")},[`${Ie}-submenu-arrow`]:{display:"none"}}}},ue=me=>{let{componentCls:Ie,menuArrowOffset:we,calc:Le}=me;return{[`${Ie}-rtl`]:{direction:"rtl"},[`${Ie}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ie}-rtl${Ie}-vertical,
|
|
|
${Ie}-submenu-rtl ${Ie}-vertical`]:{[`${Ie}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,$e.unit)(Le(we).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,$e.unit)(we)})`}}}}};const ce=me=>Object.assign({},(0,Qe.oN)(me));var k=(me,Ie)=>{const{componentCls:we,itemColor:Le,itemSelectedColor:qe,subMenuItemSelectedColor:yt,groupTitleColor:$t,itemBg:qt,subMenuItemBg:Gt,itemSelectedBg:Pt,activeBarHeight:at,activeBarWidth:xt,activeBarBorderWidth:Nt,motionDurationSlow:Ht,motionEaseInOut:Et,motionEaseOut:er,itemPaddingInline:lr,motionDurationMid:Cr,itemHoverColor:Jr,lineType:$r,colorSplit:x,itemDisabledColor:W,dangerItemColor:wt,dangerItemHoverColor:oe,dangerItemSelectedColor:Te,dangerItemActiveBg:zr,dangerItemSelectedBg:Ar,popupBg:yn,itemHoverBg:Tn,itemActiveBg:Ft,menuSubMenuBg:wr,horizontalItemSelectedColor:br,horizontalItemSelectedBg:Br,horizontalItemBorderRadius:h,horizontalItemHoverBg:z}=me;return{[`${we}-${Ie}, ${we}-${Ie} > ${we}`]:{color:Le,background:qt,[`&${we}-root:focus-visible`]:Object.assign({},ce(me)),[`${we}-item`]:{"&-group-title, &-extra":{color:$t}},[`${we}-submenu-selected > ${we}-submenu-title`]:{color:yt},[`${we}-item, ${we}-submenu-title`]:{color:Le,[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},ce(me))},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${W} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:Jr}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:Tn},"&:active":{backgroundColor:Ft}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:Tn},"&:active":{backgroundColor:Ft}}},[`${we}-item-danger`]:{color:wt,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:oe}},[`&${we}-item:active`]:{background:zr}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:qe,[`&${we}-item-danger`]:{color:Te},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:Pt,[`&${we}-item-danger`]:{backgroundColor:Ar}},[`&${we}-submenu > ${we}`]:{backgroundColor:wr},[`&${we}-popup > ${we}`]:{backgroundColor:yn},[`&${we}-submenu-popup > ${we}`]:{backgroundColor:yn},[`&${we}-horizontal`]:Object.assign(Object.assign({},Ie==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:Nt,marginTop:me.calc(Nt).mul(-1).equal(),marginBottom:0,borderRadius:h,"&::after":{position:"absolute",insetInline:lr,bottom:0,borderBottom:`${(0,$e.unit)(at)} solid transparent`,transition:`border-color ${Ht} ${Et}`,content:'""'},"&:hover, &-active, &-open":{background:z,"&::after":{borderBottomWidth:at,borderBottomColor:br}},"&-selected":{color:br,backgroundColor:Br,"&:hover":{backgroundColor:Br},"&::after":{borderBottomWidth:at,borderBottomColor:br}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${(0,$e.unit)(Nt)} ${$r} ${x}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:Gt},[`${we}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,$e.unit)(xt)} solid ${qe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Cr} ${er}`,`opacity ${Cr} ${er}`].join(","),content:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:Te}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Cr} ${Et}`,`opacity ${Cr} ${Et}`].join(",")}}}}}};const R=me=>{const{componentCls:Ie,itemHeight:we,itemMarginInline:Le,padding:qe,menuArrowSize:yt,marginXS:$t,itemMarginBlock:qt,itemWidth:Gt,itemPaddingInline:Pt}=me,at=me.calc(yt).add(qe).add($t).equal();return{[`${Ie}-item`]:{position:"relative",overflow:"hidden"},[`${Ie}-item, ${Ie}-submenu-title`]:{height:we,lineHeight:(0,$e.unit)(we),paddingInline:Pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:Le,marginBlock:qt,width:Gt},[`> ${Ie}-item,
|
|
|
> ${Ie}-submenu > ${Ie}-submenu-title`]:{height:we,lineHeight:(0,$e.unit)(we)},[`${Ie}-item-group-list ${Ie}-submenu-title,
|
|
|
${Ie}-submenu-title`]:{paddingInlineEnd:at}}};var X=me=>{const{componentCls:Ie,iconCls:we,itemHeight:Le,colorTextLightSolid:qe,dropdownWidth:yt,controlHeightLG:$t,motionEaseOut:qt,paddingXL:Gt,itemMarginInline:Pt,fontSizeLG:at,motionDurationFast:xt,motionDurationSlow:Nt,paddingXS:Ht,boxShadowSecondary:Et,collapsedWidth:er,collapsedIconSize:lr}=me,Cr={height:Le,lineHeight:(0,$e.unit)(Le),listStylePosition:"inside",listStyleType:"disc"};return[{[Ie]:{"&-inline, &-vertical":Object.assign({[`&${Ie}-root`]:{boxShadow:"none"}},R(me))},[`${Ie}-submenu-popup`]:{[`${Ie}-vertical`]:Object.assign(Object.assign({},R(me)),{boxShadow:Et})}},{[`${Ie}-submenu-popup ${Ie}-vertical${Ie}-sub`]:{minWidth:yt,maxHeight:`calc(100vh - ${(0,$e.unit)(me.calc($t).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ie}-inline`]:{width:"100%",[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Nt}`,`background ${Nt}`,`padding ${xt} ${qt}`].join(","),[`> ${Ie}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ie}-sub${Ie}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ie}-submenu > ${Ie}-submenu-title`]:Cr,[`& ${Ie}-item-group-title`]:{paddingInlineStart:Gt}},[`${Ie}-item`]:Cr}},{[`${Ie}-inline-collapsed`]:{width:er,[`&${Ie}-root`]:{[`${Ie}-item, ${Ie}-submenu ${Ie}-submenu-title`]:{[`> ${Ie}-inline-collapsed-noicon`]:{fontSize:at,textAlign:"center"}}},[`> ${Ie}-item,
|
|
|
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-item,
|
|
|
> ${Ie}-item-group > ${Ie}-item-group-list > ${Ie}-submenu > ${Ie}-submenu-title,
|
|
|
> ${Ie}-submenu > ${Ie}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,$e.unit)(me.calc(lr).div(2).equal())} - ${(0,$e.unit)(Pt)})`,textOverflow:"clip",[`
|
|
|
${Ie}-submenu-arrow,
|
|
|
${Ie}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${Ie}-item-icon, ${we}`]:{margin:0,fontSize:lr,lineHeight:(0,$e.unit)(Le),"+ span":{display:"inline-block",opacity:0}}},[`${Ie}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ie}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:qe}},[`${Ie}-item-group-title`]:Object.assign(Object.assign({},Qe.vS),{paddingInline:Ht})}}]};const We=me=>{const{componentCls:Ie,motionDurationSlow:we,motionDurationMid:Le,motionEaseInOut:qe,motionEaseOut:yt,iconCls:$t,iconSize:qt,iconMarginInlineEnd:Gt}=me;return{[`${Ie}-item, ${Ie}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${we}`,`background ${we}`,`padding calc(${we} + 0.1s) ${qe}`].join(","),[`${Ie}-item-icon, ${$t}`]:{minWidth:qt,fontSize:qt,transition:[`font-size ${Le} ${yt}`,`margin ${we} ${qe}`,`color ${we}`].join(","),"+ span":{marginInlineStart:Gt,opacity:1,transition:[`opacity ${we} ${qe}`,`margin ${we}`,`color ${we}`].join(",")}},[`${Ie}-item-icon`]:Object.assign({},(0,Qe.Ro)()),[`&${Ie}-item-only-child`]:{[`> ${$t}, > ${Ie}-item-icon`]:{marginInlineEnd:0}}},[`${Ie}-item-disabled, ${Ie}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${Ie}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ge=me=>{const{componentCls:Ie,motionDurationSlow:we,motionEaseInOut:Le,borderRadius:qe,menuArrowSize:yt,menuArrowOffset:$t}=me;return{[`${Ie}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:me.margin,width:yt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${we} ${Le}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:me.calc(yt).mul(.6).equal(),height:me.calc(yt).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:qe,transition:[`background ${we} ${Le}`,`transform ${we} ${Le}`,`top ${we} ${Le}`,`color ${we} ${Le}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,$e.unit)(me.calc($t).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,$e.unit)($t)})`}}}}},Ve=me=>{const{antCls:Ie,componentCls:we,fontSize:Le,motionDurationSlow:qe,motionDurationMid:yt,motionEaseInOut:$t,paddingXS:qt,padding:Gt,colorSplit:Pt,lineWidth:at,zIndexPopup:xt,borderRadiusLG:Nt,subMenuItemBorderRadius:Ht,menuArrowSize:Et,menuArrowOffset:er,lineType:lr,groupTitleLineHeight:Cr,groupTitleFontSize:Jr}=me;return[{"":{[we]:Object.assign(Object.assign({},(0,Qe.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Qe.Wf)(me)),(0,Qe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Le,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${qe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:me.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${(0,$e.unit)(qt)} ${(0,$e.unit)(Gt)}`,fontSize:Jr,lineHeight:Cr,transition:`all ${qe}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${qe} ${$t}`,`background ${qe} ${$t}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${qe} ${$t}`,`background ${qe} ${$t}`,`padding ${yt} ${$t}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${qe} ${$t}`,`padding ${qe} ${$t}`].join(",")},[`${we}-title-content`]:{transition:`color ${qe}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${Ie}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${we}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:me.padding}},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Pt,borderStyle:lr,borderWidth:0,borderTopWidth:at,marginBlock:at,padding:0,"&-dashed":{borderStyle:"dashed"}}}),We(me)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${(0,$e.unit)(me.calc(Le).mul(2).equal())} ${(0,$e.unit)(Gt)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:xt,borderRadius:Nt,boxShadow:"none",transformOrigin:"0 0",[`&${we}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:Nt},We(me)),ge(me)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:Ht},[`${we}-submenu-title::after`]:{transition:`transform ${qe} ${$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}}}),ge(me)),{[`&-inline-collapsed ${we}-submenu-arrow,
|
|
|
&-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(er)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,$e.unit)(me.calc(er).mul(-1).equal())})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(${(0,$e.unit)(me.calc(Et).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,$e.unit)(me.calc(er).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,$e.unit)(er)})`}}})},{[`${Ie}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]},it=me=>{var Ie,we,Le;const{colorPrimary:qe,colorError:yt,colorTextDisabled:$t,colorErrorBg:qt,colorText:Gt,colorTextDescription:Pt,colorBgContainer:at,colorFillAlter:xt,colorFillContent:Nt,lineWidth:Ht,lineWidthBold:Et,controlItemBgActive:er,colorBgTextHover:lr,controlHeightLG:Cr,lineHeight:Jr,colorBgElevated:$r,marginXXS:x,padding:W,fontSize:wt,controlHeightSM:oe,fontSizeLG:Te,colorTextLightSolid:zr,colorErrorHover:Ar}=me,yn=(Ie=me.activeBarWidth)!==null&&Ie!==void 0?Ie:0,Tn=(we=me.activeBarBorderWidth)!==null&&we!==void 0?we:Ht,Ft=(Le=me.itemMarginInline)!==null&&Le!==void 0?Le:me.marginXXS,wr=new Ne.FastColor(zr).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:me.zIndexPopupBase+50,radiusItem:me.borderRadiusLG,itemBorderRadius:me.borderRadiusLG,radiusSubMenuItem:me.borderRadiusSM,subMenuItemBorderRadius:me.borderRadiusSM,colorItemText:Gt,itemColor:Gt,colorItemTextHover:Gt,itemHoverColor:Gt,colorItemTextHoverHorizontal:qe,horizontalItemHoverColor:qe,colorGroupTitle:Pt,groupTitleColor:Pt,colorItemTextSelected:qe,itemSelectedColor:qe,subMenuItemSelectedColor:qe,colorItemTextSelectedHorizontal:qe,horizontalItemSelectedColor:qe,colorItemBg:at,itemBg:at,colorItemBgHover:lr,itemHoverBg:lr,colorItemBgActive:Nt,itemActiveBg:er,colorSubItemBg:xt,subMenuItemBg:xt,colorItemBgSelected:er,itemSelectedBg:er,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:yn,colorActiveBarHeight:Et,activeBarHeight:Et,colorActiveBarBorderSize:Ht,activeBarBorderWidth:Tn,colorItemTextDisabled:$t,itemDisabledColor:$t,colorDangerItemText:yt,dangerItemColor:yt,colorDangerItemTextHover:yt,dangerItemHoverColor:yt,colorDangerItemTextSelected:yt,dangerItemSelectedColor:yt,colorDangerItemBgActive:qt,dangerItemActiveBg:qt,colorDangerItemBgSelected:qt,dangerItemSelectedBg:qt,itemMarginInline:Ft,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Cr,groupTitleLineHeight:Jr,collapsedWidth:Cr*2,popupBg:$r,itemMarginBlock:x,itemPaddingInline:W,horizontalLineHeight:`${Cr*1.15}px`,iconSize:wt,iconMarginInlineEnd:oe-wt,collapsedIconSize:Te,groupTitleFontSize:wt,darkItemDisabledColor:new Ne.FastColor(zr).setA(.25).toRgbString(),darkItemColor:wr,darkDangerItemColor:yt,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:zr,darkItemSelectedBg:qe,darkDangerItemSelectedBg:yt,darkItemHoverBg:"transparent",darkGroupTitleColor:wr,darkItemHoverColor:zr,darkDangerItemHoverColor:Ar,darkDangerItemSelectedColor:zr,darkDangerItemActiveBg:yt,itemWidth:yn?`calc(100% + ${Tn}px)`:`calc(100% - ${Ft*2}px)`}};var dt=function(me){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,ie.I$)("Menu",qe=>{const{colorBgElevated:yt,controlHeightLG:$t,fontSize:qt,darkItemColor:Gt,darkDangerItemColor:Pt,darkItemBg:at,darkSubMenuItemBg:xt,darkItemSelectedColor:Nt,darkItemSelectedBg:Ht,darkDangerItemSelectedBg:Et,darkItemHoverBg:er,darkGroupTitleColor:lr,darkItemHoverColor:Cr,darkItemDisabledColor:Jr,darkDangerItemHoverColor:$r,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:W,popupBg:wt,darkPopupBg:oe}=qe,Te=qe.calc(qt).div(7).mul(5).equal(),zr=(0,xe.mergeToken)(qe,{menuArrowSize:Te,menuHorizontalHeight:qe.calc($t).mul(1.15).equal(),menuArrowOffset:qe.calc(Te).mul(.25).equal(),menuSubMenuBg:yt,calc:qe.calc,popupBg:wt}),Ar=(0,xe.mergeToken)(zr,{itemColor:Gt,itemHoverColor:Cr,groupTitleColor:lr,itemSelectedColor:Nt,subMenuItemSelectedColor:Nt,itemBg:at,popupBg:oe,subMenuItemBg:xt,itemActiveBg:"transparent",itemSelectedBg:Ht,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:er,itemDisabledColor:Jr,dangerItemColor:Pt,dangerItemHoverColor:$r,dangerItemSelectedColor:x,dangerItemActiveBg:W,dangerItemSelectedBg:Et,menuSubMenuBg:xt,horizontalItemSelectedColor:Nt,horizontalItemSelectedBg:Ht});return[Ve(zr),A(zr),X(zr),k(zr,"light"),k(Ar,"dark"),ue(zr),(0,Ze.Z)(zr),(0,ye.oN)(zr,"slide-up"),(0,ye.oN)(zr,"slide-down"),(0,Ae._y)(zr,"zoom-big")]},it,{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:we,unitless:{groupTitleLineHeight:!0}})(me,Ie)},fe=n(75030),Ct=me=>{var Ie;const{popupClassName:we,icon:Le,title:qe,theme:yt}=me,$t=o.useContext(F),{prefixCls:qt,inlineCollapsed:Gt,theme:Pt}=$t,at=(0,Je.Xl)();let xt;if(!Le)xt=Gt&&!at.length&&qe&&typeof qe=="string"?o.createElement("div",{className:`${qt}-inline-collapsed-noicon`},qe.charAt(0)):o.createElement("span",{className:`${qt}-title-content`},qe);else{const Et=o.isValidElement(qe)&&qe.type==="span";xt=o.createElement(o.Fragment,null,(0,u.Tm)(Le,{className:Q()(o.isValidElement(Le)?(Ie=Le.props)===null||Ie===void 0?void 0:Ie.className:"",`${qt}-item-icon`)}),Et?qe:o.createElement("span",{className:`${qt}-title-content`},qe))}const Nt=o.useMemo(()=>Object.assign(Object.assign({},$t),{firstLevel:!1}),[$t]),[Ht]=(0,fe.Cn)("Menu");return o.createElement(F.Provider,{value:Nt},o.createElement(Je.Wd,Object.assign({},(0,y.Z)(me,["icon"]),{title:xt,popupClassName:Q()(qt,we,`${qt}-${yt||Pt}`),popupStyle:Object.assign({zIndex:Ht},me.popupStyle)})))},He=function(me,Ie){var we={};for(var Le in me)Object.prototype.hasOwnProperty.call(me,Le)&&Ie.indexOf(Le)<0&&(we[Le]=me[Le]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,Le=Object.getOwnPropertySymbols(me);qe<Le.length;qe++)Ie.indexOf(Le[qe])<0&&Object.prototype.propertyIsEnumerable.call(me,Le[qe])&&(we[Le[qe]]=me[Le[qe]]);return we};function Fe(me){return me===null||me===!1}const j={item:q,submenu:Ct,divider:I};var be=(0,o.forwardRef)((me,Ie)=>{var we;const Le=o.useContext(te.Z),qe=Le||{},{getPrefixCls:yt,getPopupContainer:$t,direction:qt,menu:Gt}=o.useContext(L.E_),Pt=yt(),{prefixCls:at,className:xt,style:Nt,theme:Ht="light",expandIcon:Et,_internalDisableMenuItemTitleTooltip:er,inlineCollapsed:lr,siderCollapsed:Cr,rootClassName:Jr,mode:$r,selectable:x,onClick:W,overflowedIndicatorPopupClassName:wt}=me,oe=He(me,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Te=(0,y.Z)(oe,["collapsedWidth"]);(we=qe.validator)===null||we===void 0||we.call(qe,{mode:$r});const zr=(0,Y.Z)(function(){var pn;W==null||W.apply(void 0,arguments),(pn=qe.onClick)===null||pn===void 0||pn.call(qe)}),Ar=qe.mode||$r,yn=x!=null?x:qe.selectable,Tn=lr!=null?lr:Cr,Ft={horizontal:{motionName:`${Pt}-slide-up`},inline:(0,K.Z)(Pt),other:{motionName:`${Pt}-zoom-big`}},wr=yt("menu",at||qe.prefixCls),br=(0,D.Z)(wr),[Br,h,z]=dt(wr,br,!Le),Oe=Q()(`${wr}-${Ht}`,Gt==null?void 0:Gt.className,xt),re=o.useMemo(()=>{var pn,mt;if(typeof Et=="function"||Fe(Et))return Et||null;if(typeof qe.expandIcon=="function"||Fe(qe.expandIcon))return qe.expandIcon||null;if(typeof(Gt==null?void 0:Gt.expandIcon)=="function"||Fe(Gt==null?void 0:Gt.expandIcon))return(Gt==null?void 0:Gt.expandIcon)||null;const Ut=(pn=Et!=null?Et:qe==null?void 0:qe.expandIcon)!==null&&pn!==void 0?pn:Gt==null?void 0:Gt.expandIcon;return(0,u.Tm)(Ut,{className:Q()(`${wr}-submenu-expand-icon`,o.isValidElement(Ut)?(mt=Ut.props)===null||mt===void 0?void 0:mt.className:void 0)})},[Et,qe==null?void 0:qe.expandIcon,Gt==null?void 0:Gt.expandIcon,wr]),lt=o.useMemo(()=>({prefixCls:wr,inlineCollapsed:Tn||!1,direction:qt,firstLevel:!0,theme:Ht,mode:Ar,disableMenuItemTitleTooltip:er}),[wr,Tn,qt,er,Ht]);return Br(o.createElement(te.Z.Provider,{value:null},o.createElement(F.Provider,{value:lt},o.createElement(Je.ZP,Object.assign({getPopupContainer:$t,overflowedIndicator:o.createElement(Re.Z,null),overflowedIndicatorPopupClassName:Q()(wr,`${wr}-${Ht}`,wt),mode:Ar,selectable:yn,onClick:zr},Te,{inlineCollapsed:Tn,style:Object.assign(Object.assign({},Gt==null?void 0:Gt.style),Nt),className:Oe,prefixCls:wr,direction:qt,defaultMotions:Ft,expandIcon:re,ref:Ie,rootClassName:Q()(Jr,h,qe.rootClassName,z,br),_internalComponents:j})))))});const de=(0,o.forwardRef)((me,Ie)=>{const we=(0,o.useRef)(null),Le=o.useContext(B.D);return(0,o.useImperativeHandle)(Ie,()=>({menu:we.current,focus:qe=>{var yt;(yt=we.current)===null||yt===void 0||yt.focus(qe)}})),o.createElement(be,Object.assign({ref:we},me,Le))});de.Item=q,de.SubMenu=Ct,de.Divider=I,de.ItemGroup=Je.BW;var he=de},13747:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return dt}});var o=n(59301),Je=n(54476),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Re=B,J=n(7657),Q=function(ze,Ct){return o.createElement(J.Z,(0,Je.Z)({},ze,{ref:Ct,icon:Re}))},Y=o.forwardRef(Q),y=Y,K=n(49198),u=n(33853),L=n(38819),D=n(92310),G=n.n(D),F=n(23425),_=n(61852),N=n(48755),I=n(31756),w=n(13783),E=n(9017),ae=n(82326),q=n(57700),te=n(36237),$e=n(53075),Ne=n(64910),Qe=n(39082),Ze=n(63356),ye=n(51636),Ae=n(16931);const ie=fe=>{const{componentCls:ze}=fe;return{[`${ze}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${ze}-item-link`]:{color:fe.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${ze}-item-link`]:{color:fe.colorTextDisabled,cursor:"not-allowed"}}},[`&${ze}-disabled`]:{cursor:"not-allowed",[`${ze}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:fe.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:fe.colorBorder,backgroundColor:fe.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:fe.itemActiveBgDisabled},a:{color:fe.itemActiveColorDisabled}}},[`${ze}-item-link`]:{color:fe.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${ze}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${ze}-simple-pager`]:{color:fe.colorTextDisabled},[`${ze}-jump-prev, ${ze}-jump-next`]:{[`${ze}-item-link-icon`]:{opacity:0},[`${ze}-item-ellipsis`]:{opacity:1}}},[`&${ze}-simple`]:{[`${ze}-prev, ${ze}-next`]:{[`&${ze}-disabled ${ze}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},xe=fe=>{const{componentCls:ze}=fe;return{[`&${ze}-mini ${ze}-total-text, &${ze}-mini ${ze}-simple-pager`]:{height:fe.itemSizeSM,lineHeight:(0,te.unit)(fe.itemSizeSM)},[`&${ze}-mini ${ze}-item`]:{minWidth:fe.itemSizeSM,height:fe.itemSizeSM,margin:0,lineHeight:(0,te.unit)(fe.calc(fe.itemSizeSM).sub(2).equal())},[`&${ze}-mini ${ze}-prev, &${ze}-mini ${ze}-next`]:{minWidth:fe.itemSizeSM,height:fe.itemSizeSM,margin:0,lineHeight:(0,te.unit)(fe.itemSizeSM)},[`&${ze}-mini:not(${ze}-disabled)`]:{[`${ze}-prev, ${ze}-next`]:{[`&:hover ${ze}-item-link`]:{backgroundColor:fe.colorBgTextHover},[`&:active ${ze}-item-link`]:{backgroundColor:fe.colorBgTextActive},[`&${ze}-disabled:hover ${ze}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${ze}-mini ${ze}-prev ${ze}-item-link,
|
|
|
&${ze}-mini ${ze}-next ${ze}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:fe.itemSizeSM,lineHeight:(0,te.unit)(fe.itemSizeSM)}},[`&${ze}-mini ${ze}-jump-prev, &${ze}-mini ${ze}-jump-next`]:{height:fe.itemSizeSM,marginInlineEnd:0,lineHeight:(0,te.unit)(fe.itemSizeSM)},[`&${ze}-mini ${ze}-options`]:{marginInlineStart:fe.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:fe.miniOptionsSizeChangerTop},"&-quick-jumper":{height:fe.itemSizeSM,lineHeight:(0,te.unit)(fe.itemSizeSM),input:Object.assign(Object.assign({},(0,$e.x0)(fe)),{width:fe.paginationMiniQuickJumperInputWidth,height:fe.controlHeightSM})}}}},M=fe=>{const{componentCls:ze}=fe;return{[`
|
|
|
&${ze}-simple ${ze}-prev,
|
|
|
&${ze}-simple ${ze}-next
|
|
|
`]:{height:fe.itemSizeSM,lineHeight:(0,te.unit)(fe.itemSizeSM),verticalAlign:"top",[`${ze}-item-link`]:{height:fe.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:fe.colorBgTextHover},"&:active":{backgroundColor:fe.colorBgTextActive},"&::after":{height:fe.itemSizeSM,lineHeight:(0,te.unit)(fe.itemSizeSM)}}},[`&${ze}-simple ${ze}-simple-pager`]:{display:"inline-block",height:fe.itemSizeSM,marginInlineEnd:fe.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,te.unit)(fe.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:fe.itemInputBg,border:`${(0,te.unit)(fe.lineWidth)} ${fe.lineType} ${fe.colorBorder}`,borderRadius:fe.borderRadius,outline:"none",transition:`border-color ${fe.motionDurationMid}`,color:"inherit","&:hover":{borderColor:fe.colorPrimary},"&:focus":{borderColor:fe.colorPrimaryHover,boxShadow:`${(0,te.unit)(fe.inputOutlineOffset)} 0 ${(0,te.unit)(fe.controlOutlineWidth)} ${fe.controlOutline}`},"&[disabled]":{color:fe.colorTextDisabled,backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,cursor:"not-allowed"}}}}},A=fe=>{const{componentCls:ze}=fe;return{[`${ze}-jump-prev, ${ze}-jump-next`]:{outline:0,[`${ze}-item-container`]:{position:"relative",[`${ze}-item-link-icon`]:{color:fe.colorPrimary,fontSize:fe.fontSizeSM,opacity:0,transition:`all ${fe.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${ze}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:fe.colorTextDisabled,letterSpacing:fe.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:fe.paginationEllipsisTextIndent,opacity:1,transition:`all ${fe.motionDurationMid}`}},"&:hover":{[`${ze}-item-link-icon`]:{opacity:1},[`${ze}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${ze}-prev,
|
|
|
${ze}-jump-prev,
|
|
|
${ze}-jump-next
|
|
|
`]:{marginInlineEnd:fe.marginXS},[`
|
|
|
${ze}-prev,
|
|
|
${ze}-next,
|
|
|
${ze}-jump-prev,
|
|
|
${ze}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:fe.itemSize,height:fe.itemSize,color:fe.colorText,fontFamily:fe.fontFamily,lineHeight:(0,te.unit)(fe.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:fe.borderRadius,cursor:"pointer",transition:`all ${fe.motionDurationMid}`},[`${ze}-prev, ${ze}-next`]:{outline:0,button:{color:fe.colorText,cursor:"pointer",userSelect:"none"},[`${ze}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:fe.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,te.unit)(fe.lineWidth)} ${fe.lineType} transparent`,borderRadius:fe.borderRadius,outline:"none",transition:`all ${fe.motionDurationMid}`},[`&:hover ${ze}-item-link`]:{backgroundColor:fe.colorBgTextHover},[`&:active ${ze}-item-link`]:{backgroundColor:fe.colorBgTextActive},[`&${ze}-disabled:hover`]:{[`${ze}-item-link`]:{backgroundColor:"transparent"}}},[`${ze}-slash`]:{marginInlineEnd:fe.paginationSlashMarginInlineEnd,marginInlineStart:fe.paginationSlashMarginInlineStart},[`${ze}-options`]:{display:"inline-block",marginInlineStart:fe.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:fe.controlHeight,marginInlineStart:fe.marginXS,lineHeight:(0,te.unit)(fe.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,$e.ik)(fe)),(0,Qe.$U)(fe,{borderColor:fe.colorBorder,hoverBorderColor:fe.colorPrimaryHover,activeBorderColor:fe.colorPrimary,activeShadow:fe.activeShadow})),{"&[disabled]":Object.assign({},(0,Qe.Xy)(fe)),width:fe.calc(fe.controlHeightLG).mul(1.25).equal(),height:fe.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:fe.marginXS,marginInlineEnd:fe.marginXS})}}}},ot=fe=>{const{componentCls:ze}=fe;return{[`${ze}-item`]:{display:"inline-block",minWidth:fe.itemSize,height:fe.itemSize,marginInlineEnd:fe.marginXS,fontFamily:fe.fontFamily,lineHeight:(0,te.unit)(fe.calc(fe.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:fe.itemBg,border:`${(0,te.unit)(fe.lineWidth)} ${fe.lineType} transparent`,borderRadius:fe.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,te.unit)(fe.paginationItemPaddingInline)}`,color:fe.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${ze}-item-active)`]:{"&:hover":{transition:`all ${fe.motionDurationMid}`,backgroundColor:fe.colorBgTextHover},"&:active":{backgroundColor:fe.colorBgTextActive}},"&-active":{fontWeight:fe.fontWeightStrong,backgroundColor:fe.itemActiveBg,borderColor:fe.colorPrimary,a:{color:fe.colorPrimary},"&:hover":{borderColor:fe.colorPrimaryHover},"&:hover a":{color:fe.colorPrimaryHover}}}}},ue=fe=>{const{componentCls:ze}=fe;return{[ze]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ze.Wf)(fe)),{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:'""'},[`${ze}-total-text`]:{display:"inline-block",height:fe.itemSize,marginInlineEnd:fe.marginXS,lineHeight:(0,te.unit)(fe.calc(fe.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ot(fe)),A(fe)),M(fe)),xe(fe)),ie(fe)),{[`@media only screen and (max-width: ${fe.screenLG}px)`]:{[`${ze}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${fe.screenSM}px)`]:{[`${ze}-options`]:{display:"none"}}}),[`&${fe.componentCls}-rtl`]:{direction:"rtl"}}},ce=fe=>{const{componentCls:ze}=fe;return{[`${ze}:not(${ze}-disabled)`]:{[`${ze}-item`]:Object.assign({},(0,Ze.Qy)(fe)),[`${ze}-jump-prev, ${ze}-jump-next`]:{"&:focus-visible":Object.assign({[`${ze}-item-link-icon`]:{opacity:1},[`${ze}-item-ellipsis`]:{opacity:0}},(0,Ze.oN)(fe))},[`${ze}-prev, ${ze}-next`]:{[`&:focus-visible ${ze}-item-link`]:Object.assign({},(0,Ze.oN)(fe))}}}},C=fe=>Object.assign({itemBg:fe.colorBgContainer,itemSize:fe.controlHeight,itemSizeSM:fe.controlHeightSM,itemActiveBg:fe.colorBgContainer,itemLinkBg:fe.colorBgContainer,itemActiveColorDisabled:fe.colorTextDisabled,itemActiveBgDisabled:fe.controlItemBgActiveDisabled,itemInputBg:fe.colorBgContainer,miniOptionsSizeChangerTop:0},(0,Ne.T)(fe)),k=fe=>(0,ye.mergeToken)(fe,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:fe.calc(fe.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:fe.calc(fe.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:fe.calc(fe.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:fe.calc(fe.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:fe.marginSM,paginationSlashMarginInlineEnd:fe.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Ne.e)(fe));var R=(0,Ae.I$)("Pagination",fe=>{const ze=k(fe);return[ue(ze),ce(ze)]},C);const S=fe=>{const{componentCls:ze}=fe;return{[`${ze}${ze}-bordered${ze}-disabled:not(${ze}-mini)`]:{"&, &:hover":{[`${ze}-item-link`]:{borderColor:fe.colorBorder}},"&:focus-visible":{[`${ze}-item-link`]:{borderColor:fe.colorBorder}},[`${ze}-item, ${ze}-item-link`]:{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,[`&:hover:not(${ze}-item-active)`]:{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,a:{color:fe.colorTextDisabled}},[`&${ze}-item-active`]:{backgroundColor:fe.itemActiveBgDisabled}},[`${ze}-prev, ${ze}-next`]:{"&:hover button":{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder,color:fe.colorTextDisabled},[`${ze}-item-link`]:{backgroundColor:fe.colorBgContainerDisabled,borderColor:fe.colorBorder}}},[`${ze}${ze}-bordered:not(${ze}-mini)`]:{[`${ze}-prev, ${ze}-next`]:{"&:hover button":{borderColor:fe.colorPrimaryHover,backgroundColor:fe.itemBg},[`${ze}-item-link`]:{backgroundColor:fe.itemLinkBg,borderColor:fe.colorBorder},[`&:hover ${ze}-item-link`]:{borderColor:fe.colorPrimary,backgroundColor:fe.itemBg,color:fe.colorPrimary},[`&${ze}-disabled`]:{[`${ze}-item-link`]:{borderColor:fe.colorBorder,color:fe.colorTextDisabled}}},[`${ze}-item`]:{backgroundColor:fe.itemBg,border:`${(0,te.unit)(fe.lineWidth)} ${fe.lineType} ${fe.colorBorder}`,[`&:hover:not(${ze}-item-active)`]:{borderColor:fe.colorPrimary,backgroundColor:fe.itemBg,a:{color:fe.colorPrimary}},"&-active":{borderColor:fe.colorPrimary}}}}};var X=(0,Ae.bk)(["Pagination","bordered"],fe=>{const ze=k(fe);return[S(ze)]},C);function We(fe){return(0,o.useMemo)(()=>typeof fe=="boolean"?[fe,{}]:fe&&typeof fe=="object"?[!0,fe]:[void 0,void 0],[fe])}var ge=function(fe,ze){var Ct={};for(var He in fe)Object.prototype.hasOwnProperty.call(fe,He)&&ze.indexOf(He)<0&&(Ct[He]=fe[He]);if(fe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Fe=0,He=Object.getOwnPropertySymbols(fe);Fe<He.length;Fe++)ze.indexOf(He[Fe])<0&&Object.prototype.propertyIsEnumerable.call(fe,He[Fe])&&(Ct[He[Fe]]=fe[He[Fe]]);return Ct},it=fe=>{const{align:ze,prefixCls:Ct,selectPrefixCls:He,className:Fe,rootClassName:j,style:Ye,size:be,locale:de,responsive:he,showSizeChanger:me,selectComponentClass:Ie,pageSizeOptions:we}=fe,Le=ge(fe,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:qe}=(0,w.Z)(he),[,yt]=(0,q.ZP)(),{getPrefixCls:$t,direction:qt,showSizeChanger:Gt,className:Pt,style:at}=(0,N.dj)("pagination"),xt=$t("pagination",Ct),[Nt,Ht,Et]=R(xt),er=(0,I.Z)(be),lr=er==="small"||!!(qe&&!er&&he),[Cr]=(0,E.Z)("Pagination",_.Z),Jr=Object.assign(Object.assign({},Cr),de),[$r,x]=We(me),[W,wt]=We(Gt),oe=$r!=null?$r:W,Te=x!=null?x:wt,zr=Ie||ae.default,Ar=o.useMemo(()=>we?we.map(Br=>Number(Br)):void 0,[we]),yn=Br=>{var h;const{disabled:z,size:Oe,onSizeChange:re,"aria-label":lt,className:pn,options:mt}=Br,{className:Ut,onChange:Ur}=Te||{},Pr=(h=mt.find(Yr=>String(Yr.value)===String(Oe)))===null||h===void 0?void 0:h.value;return o.createElement(zr,Object.assign({disabled:z,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:Yr=>Yr.parentNode,"aria-label":lt,options:mt},Te,{value:Pr,onChange:(Yr,gn)=>{re==null||re(Yr),Ur==null||Ur(Yr,gn)},size:lr?"small":"middle",className:G()(pn,Ut)}))},Tn=o.useMemo(()=>{const Br=o.createElement("span",{className:`${xt}-item-ellipsis`},"\u2022\u2022\u2022"),h=o.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},qt==="rtl"?o.createElement(L.Z,null):o.createElement(u.Z,null)),z=o.createElement("button",{className:`${xt}-item-link`,type:"button",tabIndex:-1},qt==="rtl"?o.createElement(u.Z,null):o.createElement(L.Z,null)),Oe=o.createElement("a",{className:`${xt}-item-link`},o.createElement("div",{className:`${xt}-item-container`},qt==="rtl"?o.createElement(K.Z,{className:`${xt}-item-link-icon`}):o.createElement(y,{className:`${xt}-item-link-icon`}),Br)),re=o.createElement("a",{className:`${xt}-item-link`},o.createElement("div",{className:`${xt}-item-container`},qt==="rtl"?o.createElement(y,{className:`${xt}-item-link-icon`}):o.createElement(K.Z,{className:`${xt}-item-link-icon`}),Br));return{prevIcon:h,nextIcon:z,jumpPrevIcon:Oe,jumpNextIcon:re}},[qt,xt]),Ft=$t("select",He),wr=G()({[`${xt}-${ze}`]:!!ze,[`${xt}-mini`]:lr,[`${xt}-rtl`]:qt==="rtl",[`${xt}-bordered`]:yt.wireframe},Pt,Fe,j,Ht,Et),br=Object.assign(Object.assign({},at),Ye);return Nt(o.createElement(o.Fragment,null,yt.wireframe&&o.createElement(X,{prefixCls:xt}),o.createElement(F.Z,Object.assign({},Tn,Le,{style:br,prefixCls:xt,selectPrefixCls:Ft,className:wr,locale:Jr,pageSizeOptions:Ar,showSizeChanger:oe,sizeChangerRender:yn}))))},dt=it},93725:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ye}});var o=n(59301),Je=n(96512),B=n(92310),Re=n.n(B),J=n(18929),Q=n(2738),Y=n(48755),y=n(37639),K=n(15565),u=n(54500),L=n(7939),D=n(61670),G=n(9017),F=n(85981),_=n(69106),N=n(16931);const I=Ae=>{const{componentCls:ie,iconCls:xe,antCls:M,zIndexPopup:A,colorText:ot,colorWarning:ue,marginXXS:ce,marginXS:C,fontSize:k,fontWeightStrong:R,colorTextHeading:S}=Ae;return{[ie]:{zIndex:A,[`&${M}-popover`]:{fontSize:k},[`${ie}-message`]:{marginBottom:C,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${ie}-message-icon ${xe}`]:{color:ue,fontSize:k,lineHeight:1,marginInlineEnd:C},[`${ie}-title`]:{fontWeight:R,color:S,"&:only-child":{fontWeight:"normal"}},[`${ie}-description`]:{marginTop:ce,color:ot}},[`${ie}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:C}}}}},w=Ae=>{const{zIndexPopupBase:ie}=Ae;return{zIndexPopup:ie+60}};var E=(0,N.I$)("Popconfirm",Ae=>I(Ae),w,{resetStyle:!1}),ae=function(Ae,ie){var xe={};for(var M in Ae)Object.prototype.hasOwnProperty.call(Ae,M)&&ie.indexOf(M)<0&&(xe[M]=Ae[M]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,M=Object.getOwnPropertySymbols(Ae);A<M.length;A++)ie.indexOf(M[A])<0&&Object.prototype.propertyIsEnumerable.call(Ae,M[A])&&(xe[M[A]]=Ae[M[A]]);return xe};const q=Ae=>{const{prefixCls:ie,okButtonProps:xe,cancelButtonProps:M,title:A,description:ot,cancelText:ue,okText:ce,okType:C="primary",icon:k=o.createElement(Je.Z,null),showCancel:R=!0,close:S,onConfirm:X,onCancel:We,onPopupClick:ge}=Ae,{getPrefixCls:Ve}=o.useContext(Y.E_),[it]=(0,G.Z)("Popconfirm",F.Z.Popconfirm),dt=(0,u.Z)(A),fe=(0,u.Z)(ot);return o.createElement("div",{className:`${ie}-inner-content`,onClick:ge},o.createElement("div",{className:`${ie}-message`},k&&o.createElement("span",{className:`${ie}-message-icon`},k),o.createElement("div",{className:`${ie}-message-text`},dt&&o.createElement("div",{className:`${ie}-title`},dt),fe&&o.createElement("div",{className:`${ie}-description`},fe))),o.createElement("div",{className:`${ie}-buttons`},R&&o.createElement(L.ZP,Object.assign({onClick:We,size:"small"},M),ue||(it==null?void 0:it.cancelText)),o.createElement(K.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,D.nx)(C)),xe),actionFn:X,close:S,prefixCls:Ve("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},ce||(it==null?void 0:it.okText))))};var $e=Ae=>{const{prefixCls:ie,placement:xe,className:M,style:A}=Ae,ot=ae(Ae,["prefixCls","placement","className","style"]),{getPrefixCls:ue}=o.useContext(Y.E_),ce=ue("popconfirm",ie),[C]=E(ce);return C(o.createElement(_.ZP,{placement:xe,className:Re()(ce,M),style:A,content:o.createElement(q,Object.assign({prefixCls:ce},ot))}))},Ne=function(Ae,ie){var xe={};for(var M in Ae)Object.prototype.hasOwnProperty.call(Ae,M)&&ie.indexOf(M)<0&&(xe[M]=Ae[M]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,M=Object.getOwnPropertySymbols(Ae);A<M.length;A++)ie.indexOf(M[A])<0&&Object.prototype.propertyIsEnumerable.call(Ae,M[A])&&(xe[M[A]]=Ae[M[A]]);return xe};const Ze=o.forwardRef((Ae,ie)=>{var xe,M;const{prefixCls:A,placement:ot="top",trigger:ue="click",okType:ce="primary",icon:C=o.createElement(Je.Z,null),children:k,overlayClassName:R,onOpenChange:S,onVisibleChange:X,overlayStyle:We,styles:ge,classNames:Ve}=Ae,it=Ne(Ae,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:dt,className:fe,style:ze,classNames:Ct,styles:He}=(0,Y.dj)("popconfirm"),[Fe,j]=(0,J.Z)(!1,{value:(xe=Ae.open)!==null&&xe!==void 0?xe:Ae.visible,defaultValue:(M=Ae.defaultOpen)!==null&&M!==void 0?M:Ae.defaultVisible}),Ye=(yt,$t)=>{j(yt,!0),X==null||X(yt),S==null||S(yt,$t)},be=yt=>{Ye(!1,yt)},de=yt=>{var $t;return($t=Ae.onConfirm)===null||$t===void 0?void 0:$t.call(void 0,yt)},he=yt=>{var $t;Ye(!1,yt),($t=Ae.onCancel)===null||$t===void 0||$t.call(void 0,yt)},me=(yt,$t)=>{const{disabled:qt=!1}=Ae;qt||Ye(yt,$t)},Ie=dt("popconfirm",A),we=Re()(Ie,fe,R,Ct.root,Ve==null?void 0:Ve.root),Le=Re()(Ct.body,Ve==null?void 0:Ve.body),[qe]=E(Ie);return qe(o.createElement(y.Z,Object.assign({},(0,Q.Z)(it,["title"]),{trigger:ue,placement:ot,onOpenChange:me,open:Fe,ref:ie,classNames:{root:we,body:Le},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},He.root),ze),We),ge==null?void 0:ge.root),body:Object.assign(Object.assign({},He.body),ge==null?void 0:ge.body)},content:o.createElement(q,Object.assign({okType:ce,icon:C},Ae,{prefixCls:Ie,close:be,onConfirm:de,onCancel:he})),"data-popover-inject":!0}),k))});Ze._InternalPanelDoNotUseOrYouWillBeFired=$e;var ye=Ze},69106:function(qr,_t,n){"use strict";n.d(_t,{aV:function(){return K},t5:function(){return u}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(29125),J=n(54500),Q=n(48755),Y=n(85074),y=function(D,G){var F={};for(var _ in D)Object.prototype.hasOwnProperty.call(D,_)&&G.indexOf(_)<0&&(F[_]=D[_]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var N=0,_=Object.getOwnPropertySymbols(D);N<_.length;N++)G.indexOf(_[N])<0&&Object.prototype.propertyIsEnumerable.call(D,_[N])&&(F[_[N]]=D[_[N]]);return F};const K=D=>{let{title:G,content:F,prefixCls:_}=D;return!G&&!F?null:o.createElement(o.Fragment,null,G&&o.createElement("div",{className:`${_}-title`},G),F&&o.createElement("div",{className:`${_}-inner-content`},F))},u=D=>{const{hashId:G,prefixCls:F,className:_,style:N,placement:I="top",title:w,content:E,children:ae}=D,q=(0,J.Z)(w),te=(0,J.Z)(E),$e=B()(G,F,`${F}-pure`,`${F}-placement-${I}`,_);return o.createElement("div",{className:$e,style:N},o.createElement("div",{className:`${F}-arrow`}),o.createElement(Re.G,Object.assign({},D,{className:G,prefixCls:F}),ae||o.createElement(K,{prefixCls:F,title:q,content:te})))},L=D=>{const{prefixCls:G,className:F}=D,_=y(D,["prefixCls","className"]),{getPrefixCls:N}=o.useContext(Q.E_),I=N("popover",G),[w,E,ae]=(0,Y.Z)(I);return w(o.createElement(u,Object.assign({},_,{prefixCls:I,hashId:E,className:B()(F,ae)})))};_t.ZP=L},37639:function(qr,_t,n){"use strict";var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(18929),J=n(10228),Q=n(54500),Y=n(86641),y=n(22703),K=n(25399),u=n(69106),L=n(48755),D=n(85074),G=function(N,I){var w={};for(var E in N)Object.prototype.hasOwnProperty.call(N,E)&&I.indexOf(E)<0&&(w[E]=N[E]);if(N!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,E=Object.getOwnPropertySymbols(N);ae<E.length;ae++)I.indexOf(E[ae])<0&&Object.prototype.propertyIsEnumerable.call(N,E[ae])&&(w[E[ae]]=N[E[ae]]);return w};const _=o.forwardRef((N,I)=>{var w,E;const{prefixCls:ae,title:q,content:te,overlayClassName:$e,placement:Ne="top",trigger:Qe="hover",children:Ze,mouseEnterDelay:ye=.1,mouseLeaveDelay:Ae=.1,onOpenChange:ie,overlayStyle:xe={},styles:M,classNames:A}=N,ot=G(N,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{getPrefixCls:ue,className:ce,style:C,classNames:k,styles:R}=(0,L.dj)("popover"),S=ue("popover",ae),[X,We,ge]=(0,D.Z)(S),Ve=ue(),it=B()($e,We,ge,ce,k.root,A==null?void 0:A.root),dt=B()(k.body,A==null?void 0:A.body),[fe,ze]=(0,Re.Z)(!1,{value:(w=N.open)!==null&&w!==void 0?w:N.visible,defaultValue:(E=N.defaultOpen)!==null&&E!==void 0?E:N.defaultVisible}),Ct=(be,de)=>{ze(be,!0),ie==null||ie(be,de)},He=be=>{be.keyCode===J.Z.ESC&&Ct(!1,be)},Fe=be=>{Ct(be)},j=(0,Q.Z)(q),Ye=(0,Q.Z)(te);return X(o.createElement(K.Z,Object.assign({placement:Ne,trigger:Qe,mouseEnterDelay:ye,mouseLeaveDelay:Ae},ot,{prefixCls:S,classNames:{root:it,body:dt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},R.root),C),xe),M==null?void 0:M.root),body:Object.assign(Object.assign({},R.body),M==null?void 0:M.body)},ref:I,open:fe,onOpenChange:Fe,overlay:j||Ye?o.createElement(u.aV,{prefixCls:S,title:j,content:Ye}):null,transitionName:(0,Y.m)(Ve,"zoom-big",ot.transitionName),"data-popover-inject":!0}),(0,y.Tm)(Ze,{onKeyDown:be=>{var de,he;o.isValidElement(Ze)&&((he=Ze==null?void 0:(de=Ze.props).onKeyDown)===null||he===void 0||he.call(de,be)),He(be)}})))});_._InternalPanelDoNotUseOrYouWillBeFired=u.ZP,_t.Z=_},85074:function(qr,_t,n){"use strict";var o=n(63356),Je=n(34925),B=n(37645),Re=n(36305),J=n(34998),Q=n(16931),Y=n(51636);const y=L=>{const{componentCls:D,popoverColor:G,titleMinWidth:F,fontWeightStrong:_,innerPadding:N,boxShadowSecondary:I,colorTextHeading:w,borderRadiusLG:E,zIndexPopup:ae,titleMarginBottom:q,colorBgElevated:te,popoverBg:$e,titleBorderBottom:Ne,innerContentPadding:Qe,titlePadding:Ze}=L;return[{[D]:Object.assign(Object.assign({},(0,o.Wf)(L)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ae,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":te,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${D}-content`]:{position:"relative"},[`${D}-inner`]:{backgroundColor:$e,backgroundClip:"padding-box",borderRadius:E,boxShadow:I,padding:N},[`${D}-title`]:{minWidth:F,marginBottom:q,color:w,fontWeight:_,borderBottom:Ne,padding:Ze},[`${D}-inner-content`]:{color:G,padding:Qe}})},(0,B.ZP)(L,"var(--antd-arrow-background-color)"),{[`${D}-pure`]:{position:"relative",maxWidth:"none",margin:L.sizePopupArrow,display:"inline-block",[`${D}-content`]:{display:"inline-block"}}}]},K=L=>{const{componentCls:D}=L;return{[D]:J.i.map(G=>{const F=L[`${G}6`];return{[`&${D}-${G}`]:{"--antd-arrow-background-color":F,[`${D}-inner`]:{backgroundColor:F},[`${D}-arrow`]:{background:"transparent"}}}})}},u=L=>{const{lineWidth:D,controlHeight:G,fontHeight:F,padding:_,wireframe:N,zIndexPopupBase:I,borderRadiusLG:w,marginXS:E,lineType:ae,colorSplit:q,paddingSM:te}=L,$e=G-F,Ne=$e/2,Qe=$e/2-D,Ze=_;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:I+30},(0,Re.w)(L)),(0,B.wZ)({contentRadius:w,limitVerticalRadius:!0})),{innerPadding:N?0:12,titleMarginBottom:N?0:E,titlePadding:N?`${Ne}px ${Ze}px ${Qe}px`:0,titleBorderBottom:N?`${D}px ${ae} ${q}`:"none",innerContentPadding:N?`${te}px ${Ze}px`:0})};_t.Z=(0,Q.I$)("Popover",L=>{const{colorBgElevated:D,colorText:G}=L,F=(0,Y.mergeToken)(L,{popoverBg:D,popoverColor:G});return[y(F),K(F),(0,Je._y)(F,"zoom-big")]},u,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]})},60242:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ct}});var o=n(59301),Je=n(17835),B=n(29679),Re=n(40001),J=n(19248),Q=n(99267),Y=n(92310),y=n.n(Y),K=n(2738),u=n(48755),L=n(25930),D=n(25399),G=n(68361);function F(He){return!He||He<0?0:He>100?100:He}function _(He){let{success:Fe,successPercent:j}=He,Ye=j;return Fe&&"progress"in Fe&&(Ye=Fe.progress),Fe&&"percent"in Fe&&(Ye=Fe.percent),Ye}const N=He=>{let{percent:Fe,success:j,successPercent:Ye}=He;const be=F(_({success:j,successPercent:Ye}));return[be,F(F(Fe)-be)]},I=He=>{let{success:Fe={},strokeColor:j}=He;const{strokeColor:Ye}=Fe;return[Ye||G.presetPrimaryColors.green,j||null]},w=(He,Fe,j)=>{var Ye,be,de,he;let me=-1,Ie=-1;if(Fe==="step"){const we=j.steps,Le=j.strokeWidth;typeof He=="string"||typeof He=="undefined"?(me=He==="small"?2:14,Ie=Le!=null?Le:8):typeof He=="number"?[me,Ie]=[He,He]:[me=14,Ie=8]=Array.isArray(He)?He:[He.width,He.height],me*=we}else if(Fe==="line"){const we=j==null?void 0:j.strokeWidth;typeof He=="string"||typeof He=="undefined"?Ie=we||(He==="small"?6:8):typeof He=="number"?[me,Ie]=[He,He]:[me=-1,Ie=8]=Array.isArray(He)?He:[He.width,He.height]}else(Fe==="circle"||Fe==="dashboard")&&(typeof He=="string"||typeof He=="undefined"?[me,Ie]=He==="small"?[60,60]:[120,120]:typeof He=="number"?[me,Ie]=[He,He]:Array.isArray(He)&&(me=(be=(Ye=He[0])!==null&&Ye!==void 0?Ye:He[1])!==null&&be!==void 0?be:120,Ie=(he=(de=He[0])!==null&&de!==void 0?de:He[1])!==null&&he!==void 0?he:120));return[me,Ie]},E=3,ae=He=>E/He*100;var te=He=>{const{prefixCls:Fe,trailColor:j=null,strokeLinecap:Ye="round",gapPosition:be,gapDegree:de,width:he=120,type:me,children:Ie,success:we,size:Le=he,steps:qe}=He,[yt,$t]=w(Le,"circle");let{strokeWidth:qt}=He;qt===void 0&&(qt=Math.max(ae(yt),6));const Gt={width:yt,height:$t,fontSize:yt*.15+6},Pt=o.useMemo(()=>{if(de||de===0)return de;if(me==="dashboard")return 75},[de,me]),at=N(He),xt=be||me==="dashboard"&&"bottom"||void 0,Nt=Object.prototype.toString.call(He.strokeColor)==="[object Object]",Ht=I({success:we,strokeColor:He.strokeColor}),Et=y()(`${Fe}-inner`,{[`${Fe}-circle-gradient`]:Nt}),er=o.createElement(L.Cd,{steps:qe,percent:qe?at[1]:at,strokeWidth:qt,trailWidth:qt,strokeColor:qe?Ht[1]:Ht,strokeLinecap:Ye,trailColor:j,prefixCls:Fe,gapDegree:Pt,gapPosition:xt}),lr=yt<=20,Cr=o.createElement("div",{className:Et,style:Gt},er,!lr&&Ie);return lr?o.createElement(D.Z,{title:Ie},Cr):Cr},$e=n(36237),Ne=n(63356),Qe=n(16931),Ze=n(51636);const ye="--progress-line-stroke-color",Ae="--progress-percent",ie=He=>{const Fe=He?"100%":"-100%";return new $e.Keyframes(`antProgress${He?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${Fe}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${Fe}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},xe=He=>{const{componentCls:Fe,iconCls:j}=He;return{[Fe]:Object.assign(Object.assign({},(0,Ne.Wf)(He)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:He.fontSize},[`${Fe}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${Fe}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:He.remainingColor,borderRadius:He.lineBorderRadius},[`${Fe}-inner:not(${Fe}-circle-gradient)`]:{[`${Fe}-circle-path`]:{stroke:He.defaultColor}},[`${Fe}-success-bg, ${Fe}-bg`]:{position:"relative",background:He.defaultColor,borderRadius:He.lineBorderRadius,transition:`all ${He.motionDurationSlow} ${He.motionEaseInOutCirc}`},[`${Fe}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${Fe}-text`]:{width:"max-content",marginInlineStart:0,marginTop:He.marginXXS}},[`${Fe}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ye})`]},height:"100%",width:`calc(1 / var(${Ae}) * 100%)`,display:"block"},[`&${Fe}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${Fe}-text-inner`]:{color:He.colorWhite,[`&${Fe}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${Fe}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:He.colorSuccess},[`${Fe}-text`]:{display:"inline-block",marginInlineStart:He.marginXS,color:He.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[j]:{fontSize:He.fontSize},[`&${Fe}-text-outer`]:{width:"max-content"},[`&${Fe}-text-outer${Fe}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:He.marginXS}},[`${Fe}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${(0,$e.unit)(He.paddingXXS)}`,[`&${Fe}-text-start`]:{justifyContent:"start"},[`&${Fe}-text-end`]:{justifyContent:"end"}},[`&${Fe}-status-active`]:{[`${Fe}-bg::before`]:{position:"absolute",inset:0,backgroundColor:He.colorBgContainer,borderRadius:He.lineBorderRadius,opacity:0,animationName:ie(),animationDuration:He.progressActiveMotionDuration,animationTimingFunction:He.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${Fe}-rtl${Fe}-status-active`]:{[`${Fe}-bg::before`]:{animationName:ie(!0)}},[`&${Fe}-status-exception`]:{[`${Fe}-bg`]:{backgroundColor:He.colorError},[`${Fe}-text`]:{color:He.colorError}},[`&${Fe}-status-exception ${Fe}-inner:not(${Fe}-circle-gradient)`]:{[`${Fe}-circle-path`]:{stroke:He.colorError}},[`&${Fe}-status-success`]:{[`${Fe}-bg`]:{backgroundColor:He.colorSuccess},[`${Fe}-text`]:{color:He.colorSuccess}},[`&${Fe}-status-success ${Fe}-inner:not(${Fe}-circle-gradient)`]:{[`${Fe}-circle-path`]:{stroke:He.colorSuccess}}})}},M=He=>{const{componentCls:Fe,iconCls:j}=He;return{[Fe]:{[`${Fe}-circle-trail`]:{stroke:He.remainingColor},[`&${Fe}-circle ${Fe}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${Fe}-circle ${Fe}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:He.circleTextColor,fontSize:He.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[j]:{fontSize:He.circleIconFontSize}},[`${Fe}-circle&-status-exception`]:{[`${Fe}-text`]:{color:He.colorError}},[`${Fe}-circle&-status-success`]:{[`${Fe}-text`]:{color:He.colorSuccess}}},[`${Fe}-inline-circle`]:{lineHeight:1,[`${Fe}-inner`]:{verticalAlign:"bottom"}}}},A=He=>{const{componentCls:Fe}=He;return{[Fe]:{[`${Fe}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:He.progressStepMinWidth,marginInlineEnd:He.progressStepMarginInlineEnd,backgroundColor:He.remainingColor,transition:`all ${He.motionDurationSlow}`,"&-active":{backgroundColor:He.defaultColor}}}}}},ot=He=>{const{componentCls:Fe,iconCls:j}=He;return{[Fe]:{[`${Fe}-small&-line, ${Fe}-small&-line ${Fe}-text ${j}`]:{fontSize:He.fontSizeSM}}}},ue=He=>({circleTextColor:He.colorText,defaultColor:He.colorInfo,remainingColor:He.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${He.fontSize/He.fontSizeSM}em`});var ce=(0,Qe.I$)("Progress",He=>{const Fe=He.calc(He.marginXXS).div(2).equal(),j=(0,Ze.mergeToken)(He,{progressStepMarginInlineEnd:Fe,progressStepMinWidth:Fe,progressActiveMotionDuration:"2.4s"});return[xe(j),M(j),A(j),ot(j)]},ue),C=function(He,Fe){var j={};for(var Ye in He)Object.prototype.hasOwnProperty.call(He,Ye)&&Fe.indexOf(Ye)<0&&(j[Ye]=He[Ye]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ye=Object.getOwnPropertySymbols(He);be<Ye.length;be++)Fe.indexOf(Ye[be])<0&&Object.prototype.propertyIsEnumerable.call(He,Ye[be])&&(j[Ye[be]]=He[Ye[be]]);return j};const k=He=>{let Fe=[];return Object.keys(He).forEach(j=>{const Ye=parseFloat(j.replace(/%/g,""));Number.isNaN(Ye)||Fe.push({key:Ye,value:He[j]})}),Fe=Fe.sort((j,Ye)=>j.key-Ye.key),Fe.map(j=>{let{key:Ye,value:be}=j;return`${be} ${Ye}%`}).join(", ")},R=(He,Fe)=>{const{from:j=G.presetPrimaryColors.blue,to:Ye=G.presetPrimaryColors.blue,direction:be=Fe==="rtl"?"to left":"to right"}=He,de=C(He,["from","to","direction"]);if(Object.keys(de).length!==0){const me=k(de),Ie=`linear-gradient(${be}, ${me})`;return{background:Ie,[ye]:Ie}}const he=`linear-gradient(${be}, ${j}, ${Ye})`;return{background:he,[ye]:he}};var X=He=>{const{prefixCls:Fe,direction:j,percent:Ye,size:be,strokeWidth:de,strokeColor:he,strokeLinecap:me="round",children:Ie,trailColor:we=null,percentPosition:Le,success:qe}=He,{align:yt,type:$t}=Le,qt=he&&typeof he!="string"?R(he,j):{[ye]:he,background:he},Gt=me==="square"||me==="butt"?0:void 0,Pt=be!=null?be:[-1,de||(be==="small"?6:8)],[at,xt]=w(Pt,"line",{strokeWidth:de}),Nt={backgroundColor:we||void 0,borderRadius:Gt},Ht=Object.assign(Object.assign({width:`${F(Ye)}%`,height:xt,borderRadius:Gt},qt),{[Ae]:F(Ye)/100}),Et=_(He),er={width:`${F(Et)}%`,height:xt,borderRadius:Gt,backgroundColor:qe==null?void 0:qe.strokeColor},lr={width:at<0?"100%":at},Cr=o.createElement("div",{className:`${Fe}-inner`,style:Nt},o.createElement("div",{className:y()(`${Fe}-bg`,`${Fe}-bg-${$t}`),style:Ht},$t==="inner"&&Ie),Et!==void 0&&o.createElement("div",{className:`${Fe}-success-bg`,style:er})),Jr=$t==="outer"&&yt==="start",$r=$t==="outer"&&yt==="end";return $t==="outer"&&yt==="center"?o.createElement("div",{className:`${Fe}-layout-bottom`},Cr,Ie):o.createElement("div",{className:`${Fe}-outer`,style:lr},Jr&&Ie,Cr,$r&&Ie)},ge=He=>{const{size:Fe,steps:j,rounding:Ye=Math.round,percent:be=0,strokeWidth:de=8,strokeColor:he,trailColor:me=null,prefixCls:Ie,children:we}=He,Le=Ye(j*(be/100)),qe=Fe==="small"?2:14,yt=Fe!=null?Fe:[qe,de],[$t,qt]=w(yt,"step",{steps:j,strokeWidth:de}),Gt=$t/j,Pt=Array.from({length:j});for(let at=0;at<j;at++){const xt=Array.isArray(he)?he[at]:he;Pt[at]=o.createElement("div",{key:at,className:y()(`${Ie}-steps-item`,{[`${Ie}-steps-item-active`]:at<=Le-1}),style:{backgroundColor:at<=Le-1?xt:me,width:Gt,height:qt}})}return o.createElement("div",{className:`${Ie}-steps-outer`},Pt,we)},Ve=function(He,Fe){var j={};for(var Ye in He)Object.prototype.hasOwnProperty.call(He,Ye)&&Fe.indexOf(Ye)<0&&(j[Ye]=He[Ye]);if(He!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Ye=Object.getOwnPropertySymbols(He);be<Ye.length;be++)Fe.indexOf(Ye[be])<0&&Object.prototype.propertyIsEnumerable.call(He,Ye[be])&&(j[Ye[be]]=He[Ye[be]]);return j};const it=null,dt=["normal","exception","active","success"];var ze=o.forwardRef((He,Fe)=>{const{prefixCls:j,className:Ye,rootClassName:be,steps:de,strokeColor:he,percent:me=0,size:Ie="default",showInfo:we=!0,type:Le="line",status:qe,format:yt,style:$t,percentPosition:qt={}}=He,Gt=Ve(He,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:Pt="end",type:at="outer"}=qt,xt=Array.isArray(he)?he[0]:he,Nt=typeof he=="string"||Array.isArray(he)?he:void 0,Ht=o.useMemo(()=>{if(xt){const Tn=typeof xt=="string"?xt:Object.values(xt)[0];return new Je.FastColor(Tn).isLight()}return!1},[he]),Et=o.useMemo(()=>{var Tn,Ft;const wr=_(He);return parseInt(wr!==void 0?(Tn=wr!=null?wr:0)===null||Tn===void 0?void 0:Tn.toString():(Ft=me!=null?me:0)===null||Ft===void 0?void 0:Ft.toString(),10)},[me,He.success,He.successPercent]),er=o.useMemo(()=>!dt.includes(qe)&&Et>=100?"success":qe||"normal",[qe,Et]),{getPrefixCls:lr,direction:Cr,progress:Jr}=o.useContext(u.E_),$r=lr("progress",j),[x,W,wt]=ce($r),oe=Le==="line",Te=oe&&!de,zr=o.useMemo(()=>{if(!we)return null;const Tn=_(He);let Ft;const wr=yt||(Br=>`${Br}%`),br=oe&&Ht&&at==="inner";return at==="inner"||yt||er!=="exception"&&er!=="success"?Ft=wr(F(me),F(Tn)):er==="exception"?Ft=oe?o.createElement(J.Z,null):o.createElement(Q.Z,null):er==="success"&&(Ft=oe?o.createElement(B.Z,null):o.createElement(Re.Z,null)),o.createElement("span",{className:y()(`${$r}-text`,{[`${$r}-text-bright`]:br,[`${$r}-text-${Pt}`]:Te,[`${$r}-text-${at}`]:Te}),title:typeof Ft=="string"?Ft:void 0},Ft)},[we,me,Et,er,Le,$r,yt]);let Ar;Le==="line"?Ar=de?o.createElement(ge,Object.assign({},He,{strokeColor:Nt,prefixCls:$r,steps:typeof de=="object"?de.count:de}),zr):o.createElement(X,Object.assign({},He,{strokeColor:xt,prefixCls:$r,direction:Cr,percentPosition:{align:Pt,type:at}}),zr):(Le==="circle"||Le==="dashboard")&&(Ar=o.createElement(te,Object.assign({},He,{strokeColor:xt,prefixCls:$r,progressStatus:er}),zr));const yn=y()($r,`${$r}-status-${er}`,{[`${$r}-${Le==="dashboard"&&"circle"||Le}`]:Le!=="line",[`${$r}-inline-circle`]:Le==="circle"&&w(Ie,"circle")[0]<=20,[`${$r}-line`]:Te,[`${$r}-line-align-${Pt}`]:Te,[`${$r}-line-position-${at}`]:Te,[`${$r}-steps`]:de,[`${$r}-show-info`]:we,[`${$r}-${Ie}`]:typeof Ie=="string",[`${$r}-rtl`]:Cr==="rtl"},Jr==null?void 0:Jr.className,Ye,be,W,wt);return x(o.createElement("div",Object.assign({ref:Fe,style:Object.assign(Object.assign({},Jr==null?void 0:Jr.style),$t),className:yn,role:"progressbar","aria-valuenow":Et,"aria-valuemin":0,"aria-valuemax":100},(0,K.Z)(Gt,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ar))}),Ct=ze},47889:function(qr,_t,n){"use strict";n.d(_t,{ZP:function(){return We}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(18929),J=n(26112),Q=n(48755),Y=n(83397),y=n(31756);const K=o.createContext(null),u=K.Provider;var L=K;const D=o.createContext(null),G=D.Provider;var F=n(16632),_=n(8654),N=n(12919),I=n(63872),w=n(74632),E=n(2171),ae=n(56553),q=n(36237),te=n(63356),$e=n(16931),Ne=n(51636);const Qe=ge=>{const{componentCls:Ve,antCls:it}=ge,dt=`${Ve}-group`;return{[dt]:Object.assign(Object.assign({},(0,te.Wf)(ge)),{display:"inline-block",fontSize:0,[`&${dt}-rtl`]:{direction:"rtl"},[`&${dt}-block`]:{display:"flex"},[`${it}-badge ${it}-badge-count`]:{zIndex:1},[`> ${it}-badge:not(:first-child) > ${it}-button-wrapper`]:{borderInlineStart:"none"}})}},Ze=ge=>{const{componentCls:Ve,wrapperMarginInlineEnd:it,colorPrimary:dt,radioSize:fe,motionDurationSlow:ze,motionDurationMid:Ct,motionEaseInOutCirc:He,colorBgContainer:Fe,colorBorder:j,lineWidth:Ye,colorBgContainerDisabled:be,colorTextDisabled:de,paddingXS:he,dotColorDisabled:me,lineType:Ie,radioColor:we,radioBgColor:Le,calc:qe}=ge,yt=`${Ve}-inner`,qt=qe(fe).sub(qe(4).mul(2)),Gt=qe(1).mul(fe).equal({unit:!0});return{[`${Ve}-wrapper`]:Object.assign(Object.assign({},(0,te.Wf)(ge)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:it,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${Ve}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:ge.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${Ve}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${(0,q.unit)(Ye)} ${Ie} ${dt}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[Ve]:Object.assign(Object.assign({},(0,te.Wf)(ge)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${Ve}-wrapper:hover &,
|
|
|
&:hover ${yt}`]:{borderColor:dt},[`${Ve}-input:focus-visible + ${yt}`]:Object.assign({},(0,te.oN)(ge)),[`${Ve}:hover::after, ${Ve}-wrapper:hover &::after`]:{visibility:"visible"},[`${Ve}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Gt,height:Gt,marginBlockStart:qe(1).mul(fe).div(-2).equal({unit:!0}),marginInlineStart:qe(1).mul(fe).div(-2).equal({unit:!0}),backgroundColor:we,borderBlockStart:0,borderInlineStart:0,borderRadius:Gt,transform:"scale(0)",opacity:0,transition:`all ${ze} ${He}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Gt,height:Gt,backgroundColor:Fe,borderColor:j,borderStyle:"solid",borderWidth:Ye,borderRadius:"50%",transition:`all ${Ct}`},[`${Ve}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${Ve}-checked`]:{[yt]:{borderColor:dt,backgroundColor:Le,"&::after":{transform:`scale(${ge.calc(ge.dotSize).div(fe).equal()})`,opacity:1,transition:`all ${ze} ${He}`}}},[`${Ve}-disabled`]:{cursor:"not-allowed",[yt]:{backgroundColor:be,borderColor:j,cursor:"not-allowed","&::after":{backgroundColor:me}},[`${Ve}-input`]:{cursor:"not-allowed"},[`${Ve}-disabled + span`]:{color:de,cursor:"not-allowed"},[`&${Ve}-checked`]:{[yt]:{"&::after":{transform:`scale(${qe(qt).div(fe).equal()})`}}}},[`span${Ve} + *`]:{paddingInlineStart:he,paddingInlineEnd:he}})}},ye=ge=>{const{buttonColor:Ve,controlHeight:it,componentCls:dt,lineWidth:fe,lineType:ze,colorBorder:Ct,motionDurationSlow:He,motionDurationMid:Fe,buttonPaddingInline:j,fontSize:Ye,buttonBg:be,fontSizeLG:de,controlHeightLG:he,controlHeightSM:me,paddingXS:Ie,borderRadius:we,borderRadiusSM:Le,borderRadiusLG:qe,buttonCheckedBg:yt,buttonSolidCheckedColor:$t,colorTextDisabled:qt,colorBgContainerDisabled:Gt,buttonCheckedBgDisabled:Pt,buttonCheckedColorDisabled:at,colorPrimary:xt,colorPrimaryHover:Nt,colorPrimaryActive:Ht,buttonSolidCheckedBg:Et,buttonSolidCheckedHoverBg:er,buttonSolidCheckedActiveBg:lr,calc:Cr}=ge;return{[`${dt}-button-wrapper`]:{position:"relative",display:"inline-block",height:it,margin:0,paddingInline:j,paddingBlock:0,color:Ve,fontSize:Ye,lineHeight:(0,q.unit)(Cr(it).sub(Cr(fe).mul(2)).equal()),background:be,border:`${(0,q.unit)(fe)} ${ze} ${Ct}`,borderBlockStartWidth:Cr(fe).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:fe,cursor:"pointer",transition:[`color ${Fe}`,`background ${Fe}`,`box-shadow ${Fe}`].join(","),a:{color:Ve},[`> ${dt}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:Cr(fe).mul(-1).equal(),insetInlineStart:Cr(fe).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:fe,paddingInline:0,backgroundColor:Ct,transition:`background-color ${He}`,content:'""'}},"&:first-child":{borderInlineStart:`${(0,q.unit)(fe)} ${ze} ${Ct}`,borderStartStartRadius:we,borderEndStartRadius:we},"&:last-child":{borderStartEndRadius:we,borderEndEndRadius:we},"&:first-child:last-child":{borderRadius:we},[`${dt}-group-large &`]:{height:he,fontSize:de,lineHeight:(0,q.unit)(Cr(he).sub(Cr(fe).mul(2)).equal()),"&:first-child":{borderStartStartRadius:qe,borderEndStartRadius:qe},"&:last-child":{borderStartEndRadius:qe,borderEndEndRadius:qe}},[`${dt}-group-small &`]:{height:me,paddingInline:Cr(Ie).sub(fe).equal(),paddingBlock:0,lineHeight:(0,q.unit)(Cr(me).sub(Cr(fe).mul(2)).equal()),"&:first-child":{borderStartStartRadius:Le,borderEndStartRadius:Le},"&:last-child":{borderStartEndRadius:Le,borderEndEndRadius:Le}},"&:hover":{position:"relative",color:xt},"&:has(:focus-visible)":Object.assign({},(0,te.oN)(ge)),[`${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:xt,background:yt,borderColor:xt,"&::before":{backgroundColor:xt},"&:first-child":{borderColor:xt},"&:hover":{color:Nt,borderColor:Nt,"&::before":{backgroundColor:Nt}},"&:active":{color:Ht,borderColor:Ht,"&::before":{backgroundColor:Ht}}},[`${dt}-group-solid &-checked:not(${dt}-button-wrapper-disabled)`]:{color:$t,background:Et,borderColor:Et,"&:hover":{color:$t,background:er,borderColor:er},"&:active":{color:$t,background:lr,borderColor:lr}},"&-disabled":{color:qt,backgroundColor:Gt,borderColor:Ct,cursor:"not-allowed","&:first-child, &:hover":{color:qt,backgroundColor:Gt,borderColor:Ct}},[`&-disabled${dt}-button-wrapper-checked`]:{color:at,backgroundColor:Pt,borderColor:Ct,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Ae=ge=>{const{wireframe:Ve,padding:it,marginXS:dt,lineWidth:fe,fontSizeLG:ze,colorText:Ct,colorBgContainer:He,colorTextDisabled:Fe,controlItemBgActiveDisabled:j,colorTextLightSolid:Ye,colorPrimary:be,colorPrimaryHover:de,colorPrimaryActive:he,colorWhite:me}=ge,Ie=4,we=ze,Le=Ve?we-Ie*2:we-(Ie+fe)*2;return{radioSize:we,dotSize:Le,dotColorDisabled:Fe,buttonSolidCheckedColor:Ye,buttonSolidCheckedBg:be,buttonSolidCheckedHoverBg:de,buttonSolidCheckedActiveBg:he,buttonBg:He,buttonCheckedBg:He,buttonColor:Ct,buttonCheckedBgDisabled:j,buttonCheckedColorDisabled:Fe,buttonPaddingInline:it-fe,wrapperMarginInlineEnd:dt,radioColor:Ve?be:me,radioBgColor:Ve?He:be}};var ie=(0,$e.I$)("Radio",ge=>{const{controlOutline:Ve,controlOutlineWidth:it}=ge,dt=`0 0 0 ${(0,q.unit)(it)} ${Ve}`,fe=dt,ze=(0,Ne.mergeToken)(ge,{radioFocusShadow:dt,radioButtonFocusShadow:fe});return[Qe(ze),Ze(ze),ye(ze)]},Ae,{unitless:{radioSize:!0,dotSize:!0}}),xe=function(ge,Ve){var it={};for(var dt in ge)Object.prototype.hasOwnProperty.call(ge,dt)&&Ve.indexOf(dt)<0&&(it[dt]=ge[dt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,dt=Object.getOwnPropertySymbols(ge);fe<dt.length;fe++)Ve.indexOf(dt[fe])<0&&Object.prototype.propertyIsEnumerable.call(ge,dt[fe])&&(it[dt[fe]]=ge[dt[fe]]);return it};const M=(ge,Ve)=>{var it,dt;const fe=o.useContext(L),ze=o.useContext(D),{getPrefixCls:Ct,direction:He,radio:Fe}=o.useContext(Q.E_),j=o.useRef(null),Ye=(0,_.sQ)(Ve,j),{isFormItemInput:be}=o.useContext(ae.aM),de=Jr=>{var $r,x;($r=ge.onChange)===null||$r===void 0||$r.call(ge,Jr),(x=fe==null?void 0:fe.onChange)===null||x===void 0||x.call(fe,Jr)},{prefixCls:he,className:me,rootClassName:Ie,children:we,style:Le,title:qe}=ge,yt=xe(ge,["prefixCls","className","rootClassName","children","style","title"]),$t=Ct("radio",he),qt=((fe==null?void 0:fe.optionType)||ze)==="button",Gt=qt?`${$t}-button`:$t,Pt=(0,Y.Z)($t),[at,xt,Nt]=ie($t,Pt),Ht=Object.assign({},yt),Et=o.useContext(E.Z);fe&&(Ht.name=fe.name,Ht.onChange=de,Ht.checked=ge.value===fe.value,Ht.disabled=(it=Ht.disabled)!==null&&it!==void 0?it:fe.disabled),Ht.disabled=(dt=Ht.disabled)!==null&&dt!==void 0?dt:Et;const er=B()(`${Gt}-wrapper`,{[`${Gt}-wrapper-checked`]:Ht.checked,[`${Gt}-wrapper-disabled`]:Ht.disabled,[`${Gt}-wrapper-rtl`]:He==="rtl",[`${Gt}-wrapper-in-form-item`]:be,[`${Gt}-wrapper-block`]:!!(fe!=null&&fe.block)},Fe==null?void 0:Fe.className,me,Ie,xt,Nt,Pt),[lr,Cr]=(0,w.Z)(Ht.onClick);return at(o.createElement(N.Z,{component:"Radio",disabled:Ht.disabled},o.createElement("label",{className:er,style:Object.assign(Object.assign({},Fe==null?void 0:Fe.style),Le),onMouseEnter:ge.onMouseEnter,onMouseLeave:ge.onMouseLeave,title:qe,onClick:lr},o.createElement(F.Z,Object.assign({},Ht,{className:B()(Ht.className,{[I.A]:!qt}),type:"radio",prefixCls:Gt,ref:Ye,onClick:Cr})),we!==void 0?o.createElement("span",{className:`${Gt}-label`},we):null)))};var ot=o.forwardRef(M),ue=n(80402);const ce=o.forwardRef((ge,Ve)=>{const{getPrefixCls:it,direction:dt}=o.useContext(Q.E_),fe=(0,ue.Z)(),{prefixCls:ze,className:Ct,rootClassName:He,options:Fe,buttonStyle:j="outline",disabled:Ye,children:be,size:de,style:he,id:me,optionType:Ie,name:we=fe,defaultValue:Le,value:qe,block:yt=!1,onChange:$t,onMouseEnter:qt,onMouseLeave:Gt,onFocus:Pt,onBlur:at}=ge,[xt,Nt]=(0,Re.Z)(Le,{value:qe}),Ht=o.useCallback(Te=>{const zr=xt,Ar=Te.target.value;"value"in ge||Nt(Ar),Ar!==zr&&($t==null||$t(Te))},[xt,Nt,$t]),Et=it("radio",ze),er=`${Et}-group`,lr=(0,Y.Z)(Et),[Cr,Jr,$r]=ie(Et,lr);let x=be;Fe&&Fe.length>0&&(x=Fe.map(Te=>typeof Te=="string"||typeof Te=="number"?o.createElement(ot,{key:Te.toString(),prefixCls:Et,disabled:Ye,value:Te,checked:xt===Te},Te):o.createElement(ot,{key:`radio-group-value-options-${Te.value}`,prefixCls:Et,disabled:Te.disabled||Ye,value:Te.value,checked:xt===Te.value,title:Te.title,style:Te.style,id:Te.id,required:Te.required},Te.label)));const W=(0,y.Z)(de),wt=B()(er,`${er}-${j}`,{[`${er}-${W}`]:W,[`${er}-rtl`]:dt==="rtl",[`${er}-block`]:yt},Ct,He,Jr,$r,lr),oe=o.useMemo(()=>({onChange:Ht,value:xt,disabled:Ye,name:we,optionType:Ie,block:yt}),[Ht,xt,Ye,we,Ie,yt]);return Cr(o.createElement("div",Object.assign({},(0,J.Z)(ge,{aria:!0,data:!0}),{className:wt,style:he,onMouseEnter:qt,onMouseLeave:Gt,onFocus:Pt,onBlur:at,id:me,ref:Ve}),o.createElement(u,{value:oe},x)))});var C=o.memo(ce),k=function(ge,Ve){var it={};for(var dt in ge)Object.prototype.hasOwnProperty.call(ge,dt)&&Ve.indexOf(dt)<0&&(it[dt]=ge[dt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,dt=Object.getOwnPropertySymbols(ge);fe<dt.length;fe++)Ve.indexOf(dt[fe])<0&&Object.prototype.propertyIsEnumerable.call(ge,dt[fe])&&(it[dt[fe]]=ge[dt[fe]]);return it};const R=(ge,Ve)=>{const{getPrefixCls:it}=o.useContext(Q.E_),{prefixCls:dt}=ge,fe=k(ge,["prefixCls"]),ze=it("radio",dt);return o.createElement(G,{value:"button"},o.createElement(ot,Object.assign({prefixCls:ze},fe,{type:"radio",ref:Ve})))};var S=o.forwardRef(R);const X=ot;X.Button=S,X.Group=C,X.__ANT_RADIO=!0;var We=X},58018:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ze}});var o=n(59301),Je=n(54476),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},Re=B,J=n(7657),Q=function(Ae,ie){return o.createElement(J.Z,(0,Je.Z)({},Ae,{ref:ie,icon:Re}))},Y=o.forwardRef(Q),y=Y,K=n(92310),u=n.n(K),L=n(738),D=n(48755),G=n(25399),F=n(36237),_=n(63356),N=n(16931),I=n(51636);const w=ye=>{const{componentCls:Ae}=ye;return{[`${Ae}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:ye.marginXS},"> div":{transition:`all ${ye.motionDurationMid}, outline 0s`,"&:hover":{transform:ye.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${(0,F.unit)(ye.lineWidth)} dashed ${ye.starColor}`,transform:ye.starHoverScale}},"&-first, &-second":{color:ye.starBg,transition:`all ${ye.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Ae}-star-first, &-half ${Ae}-star-second`]:{opacity:1},[`&-half ${Ae}-star-first, &-full ${Ae}-star-second`]:{color:"inherit"}}}},E=ye=>({[`&-rtl${ye.componentCls}`]:{direction:"rtl"}}),ae=ye=>{const{componentCls:Ae}=ye;return{[Ae]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.Wf)(ye)),{display:"inline-block",margin:0,padding:0,color:ye.starColor,fontSize:ye.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${Ae} ${Ae}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),w(ye)),E(ye))}},q=ye=>({starColor:ye.yellow6,starSize:ye.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:ye.colorFillContent});var te=(0,N.I$)("Rate",ye=>{const Ae=(0,I.mergeToken)(ye,{});return[ae(Ae)]},q),$e=n(2171),Ne=function(ye,Ae){var ie={};for(var xe in ye)Object.prototype.hasOwnProperty.call(ye,xe)&&Ae.indexOf(xe)<0&&(ie[xe]=ye[xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(ye);M<xe.length;M++)Ae.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(ye,xe[M])&&(ie[xe[M]]=ye[xe[M]]);return ie},Ze=o.forwardRef((ye,Ae)=>{const{prefixCls:ie,className:xe,rootClassName:M,style:A,tooltips:ot,character:ue=o.createElement(y,null),disabled:ce}=ye,C=Ne(ye,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),k=(Ct,He)=>{let{index:Fe}=He;return ot?o.createElement(G.Z,{title:ot[Fe]},Ct):Ct},{getPrefixCls:R,direction:S,rate:X}=o.useContext(D.E_),We=R("rate",ie),[ge,Ve,it]=te(We),dt=Object.assign(Object.assign({},X==null?void 0:X.style),A),fe=o.useContext($e.Z),ze=ce!=null?ce:fe;return ge(o.createElement(L.Z,Object.assign({ref:Ae,character:ue,characterRender:k,disabled:ze},C,{className:u()(xe,M,Ve,it,X==null?void 0:X.className),style:dt,prefixCls:We,direction:S})))})},82326:function(qr,_t,n){"use strict";var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(37463),J=n(2738),Q=n(75030),Y=n(86641),y=n(45915),K=n(82855),u=n(48755),L=n(38406),D=n(2171),G=n(83397),F=n(31756),_=n(56553),N=n(24971),I=n(70045),w=n(57700),E=n(1722),ae=n(90376),q=n(68525),te=n(90005),$e=function(Ae,ie){var xe={};for(var M in Ae)Object.prototype.hasOwnProperty.call(Ae,M)&&ie.indexOf(M)<0&&(xe[M]=Ae[M]);if(Ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,M=Object.getOwnPropertySymbols(Ae);A<M.length;A++)ie.indexOf(M[A])<0&&Object.prototype.propertyIsEnumerable.call(Ae,M[A])&&(xe[M[A]]=Ae[M[A]]);return xe};const Ne="SECRET_COMBOBOX_MODE_DO_NOT_USE",Qe=(Ae,ie)=>{var xe;const{prefixCls:M,bordered:A,className:ot,rootClassName:ue,getPopupContainer:ce,popupClassName:C,dropdownClassName:k,listHeight:R=256,placement:S,listItemHeight:X,size:We,disabled:ge,notFoundContent:Ve,status:it,builtinPlacements:dt,dropdownMatchSelectWidth:fe,popupMatchSelectWidth:ze,direction:Ct,style:He,allowClear:Fe,variant:j,dropdownStyle:Ye,transitionName:be,tagRender:de,maxCount:he,prefix:me}=Ae,Ie=$e(Ae,["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:we,getPrefixCls:Le,renderEmpty:qe,direction:yt,virtual:$t,popupMatchSelectWidth:qt,popupOverflow:Gt}=o.useContext(u.E_),Pt=(0,u.dj)("select"),[,at]=(0,w.ZP)(),xt=X!=null?X:at==null?void 0:at.controlHeight,Nt=Le("select",M),Ht=Le(),Et=Ct!=null?Ct:yt,{compactSize:er,compactItemClassnames:lr}=(0,I.ri)(Nt,Et),[Cr,Jr]=(0,N.Z)("select",j,A),$r=(0,G.Z)(Nt),[x,W,wt]=(0,ae.Z)(Nt,$r),oe=o.useMemo(()=>{const{mode:pe}=Ae;if(pe!=="combobox")return pe===Ne?"combobox":pe},[Ae.mode]),Te=oe==="multiple"||oe==="tags",zr=(0,te.Z)(Ae.suffixIcon,Ae.showArrow),Ar=(xe=ze!=null?ze:fe)!==null&&xe!==void 0?xe:qt,{status:yn,hasFeedback:Tn,isFormItemInput:Ft,feedbackIcon:wr}=o.useContext(_.aM),br=(0,K.F)(yn,it);let Br;Ve!==void 0?Br=Ve:oe==="combobox"?Br=null:Br=(qe==null?void 0:qe("Select"))||o.createElement(L.Z,{componentName:"Select"});const{suffixIcon:h,itemIcon:z,removeIcon:Oe,clearIcon:re}=(0,q.Z)(Object.assign(Object.assign({},Ie),{multiple:Te,hasFeedback:Tn,feedbackIcon:wr,showSuffixIcon:zr,prefixCls:Nt,componentName:"Select"})),lt=Fe===!0?{clearIcon:re}:Fe,pn=(0,J.Z)(Ie,["suffixIcon","itemIcon"]),mt=B()(C||k,{[`${Nt}-dropdown-${Et}`]:Et==="rtl"},ue,wt,$r,W),Ut=(0,F.Z)(pe=>{var mr;return(mr=We!=null?We:er)!==null&&mr!==void 0?mr:pe}),Ur=o.useContext(D.Z),Pr=ge!=null?ge:Ur,Yr=B()({[`${Nt}-lg`]:Ut==="large",[`${Nt}-sm`]:Ut==="small",[`${Nt}-rtl`]:Et==="rtl",[`${Nt}-${Cr}`]:Jr,[`${Nt}-in-form-item`]:Ft},(0,K.Z)(Nt,br,Tn),lr,Pt.className,ot,ue,wt,$r,W),gn=o.useMemo(()=>S!==void 0?S:Et==="rtl"?"bottomRight":"bottomLeft",[S,Et]),[qn]=(0,Q.Cn)("SelectLike",Ye==null?void 0:Ye.zIndex);return x(o.createElement(Re.ZP,Object.assign({ref:ie,virtual:$t,showSearch:Pt.showSearch},pn,{style:Object.assign(Object.assign({},Pt.style),He),dropdownMatchSelectWidth:Ar,transitionName:(0,Y.m)(Ht,"slide-up",be),builtinPlacements:(0,E.Z)(dt,Gt),listHeight:R,listItemHeight:xt,mode:oe,prefixCls:Nt,placement:gn,direction:Et,prefix:me,suffixIcon:h,menuItemSelectedIcon:z,removeIcon:Oe,allowClear:lt,notFoundContent:Br,className:Yr,getPopupContainer:ce||we,dropdownClassName:mt,disabled:Pr,dropdownStyle:Object.assign(Object.assign({},Ye),{zIndex:qn}),maxCount:Te?he:void 0,tagRender:Te?de:void 0})))},Ze=o.forwardRef(Qe),ye=(0,y.Z)(Ze,"dropdownAlign");Ze.SECRET_COMBOBOX_MODE_DO_NOT_USE=Ne,Ze.Option=Re.Wx,Ze.OptGroup=Re.Xo,Ze._InternalPanelDoNotUseOrYouWillBeFired=ye,_t.default=Ze},1722:function(qr,_t){"use strict";const n=Je=>{const Re={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:Je==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},Re),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Re),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Re),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Re),{points:["br","tr"],offset:[0,-4]})}};function o(Je,B){return Je||n(B)}_t.Z=o},90376:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return M}});var o=n(63356),Je=n(56119),B=n(16931),Re=n(51636),J=n(46e3),Q=n(93873);const Y=A=>{const{optionHeight:ot,optionFontSize:ue,optionLineHeight:ce,optionPadding:C}=A;return{position:"relative",display:"block",minHeight:ot,padding:C,color:A.colorText,fontWeight:"normal",fontSize:ue,lineHeight:ce,boxSizing:"border-box"}};var K=A=>{const{antCls:ot,componentCls:ue}=A,ce=`${ue}-item`,C=`&${ot}-slide-up-enter${ot}-slide-up-enter-active`,k=`&${ot}-slide-up-appear${ot}-slide-up-appear-active`,R=`&${ot}-slide-up-leave${ot}-slide-up-leave-active`,S=`${ue}-dropdown-placement-`,X=`${ce}-option-selected`;return[{[`${ue}-dropdown`]:Object.assign(Object.assign({},(0,o.Wf)(A)),{position:"absolute",top:-9999,zIndex:A.zIndexPopup,boxSizing:"border-box",padding:A.paddingXXS,overflow:"hidden",fontSize:A.fontSize,fontVariant:"initial",backgroundColor:A.colorBgElevated,borderRadius:A.borderRadiusLG,outline:"none",boxShadow:A.boxShadowSecondary,[`
|
|
|
${C}${S}bottomLeft,
|
|
|
${k}${S}bottomLeft
|
|
|
`]:{animationName:J.fJ},[`
|
|
|
${C}${S}topLeft,
|
|
|
${k}${S}topLeft,
|
|
|
${C}${S}topRight,
|
|
|
${k}${S}topRight
|
|
|
`]:{animationName:J.Qt},[`${R}${S}bottomLeft`]:{animationName:J.Uw},[`
|
|
|
${R}${S}topLeft,
|
|
|
${R}${S}topRight
|
|
|
`]:{animationName:J.ly},"&-hidden":{display:"none"},[ce]:Object.assign(Object.assign({},Y(A)),{cursor:"pointer",transition:`background ${A.motionDurationSlow} ease`,borderRadius:A.borderRadiusSM,"&-group":{color:A.colorTextDescription,fontSize:A.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},o.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${ce}-option-disabled)`]:{backgroundColor:A.optionActiveBg},[`&-selected:not(${ce}-option-disabled)`]:{color:A.optionSelectedColor,fontWeight:A.optionSelectedFontWeight,backgroundColor:A.optionSelectedBg,[`${ce}-option-state`]:{color:A.colorPrimary}},"&-disabled":{[`&${ce}-option-selected`]:{backgroundColor:A.colorBgContainerDisabled},color:A.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:A.calc(A.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Y(A)),{color:A.colorTextDisabled})}),[`${X}:has(+ ${X})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${X}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},(0,J.oN)(A,"slide-up"),(0,J.oN)(A,"slide-down"),(0,Q.Fm)(A,"move-up"),(0,Q.Fm)(A,"move-down")]},u=n(26743),L=n(36237);function D(A,ot){const{componentCls:ue,inputPaddingHorizontalBase:ce,borderRadius:C}=A,k=A.calc(A.controlHeight).sub(A.calc(A.lineWidth).mul(2)).equal(),R=ot?`${ue}-${ot}`:"";return{[`${ue}-single${R}`]:{fontSize:A.fontSize,height:A.controlHeight,[`${ue}-selector`]:Object.assign(Object.assign({},(0,o.Wf)(A,!0)),{display:"flex",borderRadius:C,flex:"1 1 auto",[`${ue}-selection-wrap:after`]:{lineHeight:(0,L.unit)(k)},[`${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,L.unit)(k),transition:`all ${A.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:A.showArrowPaddingInlineEnd},[`&${ue}-open ${ue}-selection-item`]:{color:A.colorTextPlaceholder},[`&:not(${ue}-customize-input)`]:{[`${ue}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${(0,L.unit)(ce)}`,[`${ue}-selection-search-input`]:{height:k,fontSize:A.fontSize},"&:after":{lineHeight:(0,L.unit)(k)}}},[`&${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,L.unit)(ce)}`,"&:after":{display:"none"}}}}}}}function G(A){const{componentCls:ot}=A,ue=A.calc(A.controlPaddingHorizontalSM).sub(A.lineWidth).equal();return[D(A),D((0,Re.mergeToken)(A,{controlHeight:A.controlHeightSM,borderRadius:A.borderRadiusSM}),"sm"),{[`${ot}-single${ot}-sm`]:{[`&:not(${ot}-customize-input)`]:{[`${ot}-selector`]:{padding:`0 ${(0,L.unit)(ue)}`},[`&${ot}-show-arrow ${ot}-selection-search`]:{insetInlineEnd:A.calc(ue).add(A.calc(A.fontSize).mul(1.5)).equal()},[`
|
|
|
&${ot}-show-arrow ${ot}-selection-item,
|
|
|
&${ot}-show-arrow ${ot}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:A.calc(A.fontSize).mul(1.5).equal()}}}},D((0,Re.mergeToken)(A,{controlHeight:A.singleItemHeightLG,fontSize:A.fontSizeLG,borderRadius:A.borderRadiusLG}),"lg")]}const F=A=>{const{fontSize:ot,lineHeight:ue,lineWidth:ce,controlHeight:C,controlHeightSM:k,controlHeightLG:R,paddingXXS:S,controlPaddingHorizontal:X,zIndexPopupBase:We,colorText:ge,fontWeightStrong:Ve,controlItemBgActive:it,controlItemBgHover:dt,colorBgContainer:fe,colorFillSecondary:ze,colorBgContainerDisabled:Ct,colorTextDisabled:He,colorPrimaryHover:Fe,colorPrimary:j,controlOutline:Ye}=A,be=S*2,de=ce*2,he=Math.min(C-be,C-de),me=Math.min(k-be,k-de),Ie=Math.min(R-be,R-de);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(S/2),zIndexPopup:We+50,optionSelectedColor:ge,optionSelectedFontWeight:Ve,optionSelectedBg:it,optionActiveBg:dt,optionPadding:`${(C-ot*ue)/2}px ${X}px`,optionFontSize:ot,optionLineHeight:ue,optionHeight:C,selectorBg:fe,clearBg:fe,singleItemHeightLG:R,multipleItemBg:ze,multipleItemBorderColor:"transparent",multipleItemHeight:he,multipleItemHeightSM:me,multipleItemHeightLG:Ie,multipleSelectorBgDisabled:Ct,multipleItemColorDisabled:He,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(A.fontSize*1.25),hoverBorderColor:Fe,activeBorderColor:j,activeOutlineColor:Ye,selectAffixPadding:S}},_=(A,ot)=>{const{componentCls:ue,antCls:ce,controlOutlineWidth:C}=A;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} ${ot.borderColor}`,background:A.selectorBg},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${ce}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{borderColor:ot.hoverBorderHover},[`${ue}-focused& ${ue}-selector`]:{borderColor:ot.activeBorderColor,boxShadow:`0 0 0 ${(0,L.unit)(C)} ${ot.activeOutlineColor}`,outline:0},[`${ue}-prefix`]:{color:ot.color}}}},N=(A,ot)=>({[`&${A.componentCls}-status-${ot.status}`]:Object.assign({},_(A,ot))}),I=A=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},_(A,{borderColor:A.colorBorder,hoverBorderHover:A.hoverBorderColor,activeBorderColor:A.activeBorderColor,activeOutlineColor:A.activeOutlineColor,color:A.colorText})),N(A,{status:"error",borderColor:A.colorError,hoverBorderHover:A.colorErrorHover,activeBorderColor:A.colorError,activeOutlineColor:A.colorErrorOutline,color:A.colorError})),N(A,{status:"warning",borderColor:A.colorWarning,hoverBorderHover:A.colorWarningHover,activeBorderColor:A.colorWarning,activeOutlineColor:A.colorWarningOutline,color:A.colorWarning})),{[`&${A.componentCls}-disabled`]:{[`&:not(${A.componentCls}-customize-input) ${A.componentCls}-selector`]:{background:A.colorBgContainerDisabled,color:A.colorTextDisabled}},[`&${A.componentCls}-multiple ${A.componentCls}-selection-item`]:{background:A.multipleItemBg,border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} ${A.multipleItemBorderColor}`}})}),w=(A,ot)=>{const{componentCls:ue,antCls:ce}=A;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{background:ot.bg,border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} transparent`,color:ot.color},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${ce}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{background:ot.hoverBg},[`${ue}-focused& ${ue}-selector`]:{background:A.selectorBg,borderColor:ot.activeBorderColor,outline:0}}}},E=(A,ot)=>({[`&${A.componentCls}-status-${ot.status}`]:Object.assign({},w(A,ot))}),ae=A=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},w(A,{bg:A.colorFillTertiary,hoverBg:A.colorFillSecondary,activeBorderColor:A.activeBorderColor,color:A.colorText})),E(A,{status:"error",bg:A.colorErrorBg,hoverBg:A.colorErrorBgHover,activeBorderColor:A.colorError,color:A.colorError})),E(A,{status:"warning",bg:A.colorWarningBg,hoverBg:A.colorWarningBgHover,activeBorderColor:A.colorWarning,color:A.colorWarning})),{[`&${A.componentCls}-disabled`]:{[`&:not(${A.componentCls}-customize-input) ${A.componentCls}-selector`]:{borderColor:A.colorBorder,background:A.colorBgContainerDisabled,color:A.colorTextDisabled}},[`&${A.componentCls}-multiple ${A.componentCls}-selection-item`]:{background:A.colorBgContainer,border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} ${A.colorSplit}`}})}),q=A=>({"&-borderless":{[`${A.componentCls}-selector`]:{background:"transparent",border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} transparent`},[`&${A.componentCls}-disabled`]:{[`&:not(${A.componentCls}-customize-input) ${A.componentCls}-selector`]:{color:A.colorTextDisabled}},[`&${A.componentCls}-multiple ${A.componentCls}-selection-item`]:{background:A.multipleItemBg,border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} ${A.multipleItemBorderColor}`},[`&${A.componentCls}-status-error`]:{[`${A.componentCls}-prefix, ${A.componentCls}-selection-item`]:{color:A.colorError}},[`&${A.componentCls}-status-warning`]:{[`${A.componentCls}-prefix, ${A.componentCls}-selection-item`]:{color:A.colorWarning}}}}),te=(A,ot)=>{const{componentCls:ue,antCls:ce}=A;return{[`&:not(${ue}-customize-input) ${ue}-selector`]:{borderWidth:`0 0 ${(0,L.unit)(A.lineWidth)} 0`,borderStyle:`none none ${A.lineType} none`,borderColor:ot.borderColor,background:A.selectorBg,borderRadius:0},[`&:not(${ue}-disabled):not(${ue}-customize-input):not(${ce}-pagination-size-changer)`]:{[`&:hover ${ue}-selector`]:{borderColor:ot.hoverBorderHover},[`${ue}-focused& ${ue}-selector`]:{borderColor:ot.activeBorderColor,outline:0},[`${ue}-prefix`]:{color:ot.color}}}},$e=(A,ot)=>({[`&${A.componentCls}-status-${ot.status}`]:Object.assign({},te(A,ot))}),Ne=A=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign({},te(A,{borderColor:A.colorBorder,hoverBorderHover:A.hoverBorderColor,activeBorderColor:A.activeBorderColor,activeOutlineColor:A.activeOutlineColor,color:A.colorText})),$e(A,{status:"error",borderColor:A.colorError,hoverBorderHover:A.colorErrorHover,activeBorderColor:A.colorError,activeOutlineColor:A.colorErrorOutline,color:A.colorError})),$e(A,{status:"warning",borderColor:A.colorWarning,hoverBorderHover:A.colorWarningHover,activeBorderColor:A.colorWarning,activeOutlineColor:A.colorWarningOutline,color:A.colorWarning})),{[`&${A.componentCls}-disabled`]:{[`&:not(${A.componentCls}-customize-input) ${A.componentCls}-selector`]:{color:A.colorTextDisabled}},[`&${A.componentCls}-multiple ${A.componentCls}-selection-item`]:{background:A.multipleItemBg,border:`${(0,L.unit)(A.lineWidth)} ${A.lineType} ${A.multipleItemBorderColor}`}})});var Ze=A=>({[A.componentCls]:Object.assign(Object.assign(Object.assign(Object.assign({},I(A)),ae(A)),q(A)),Ne(A))});const ye=A=>{const{componentCls:ot}=A;return{position:"relative",transition:`all ${A.motionDurationMid} ${A.motionEaseInOut}`,input:{cursor:"pointer"},[`${ot}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${ot}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},Ae=A=>{const{componentCls:ot}=A;return{[`${ot}-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"}}}},ie=A=>{const{antCls:ot,componentCls:ue,inputPaddingHorizontalBase:ce,iconCls:C}=A;return{[ue]:Object.assign(Object.assign({},(0,o.Wf)(A)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${ue}-customize-input) ${ue}-selector`]:Object.assign(Object.assign({},ye(A)),Ae(A)),[`${ue}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},o.vS),{[`> ${ot}-typography`]:{display:"inline"}}),[`${ue}-selection-placeholder`]:Object.assign(Object.assign({},o.vS),{flex:1,color:A.colorTextPlaceholder,pointerEvents:"none"}),[`${ue}-arrow`]:Object.assign(Object.assign({},(0,o.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ce,height:A.fontSizeIcon,marginTop:A.calc(A.fontSizeIcon).mul(-1).div(2).equal(),color:A.colorTextQuaternary,fontSize:A.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${A.motionDurationSlow} ease`,[C]:{verticalAlign:"top",transition:`transform ${A.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:A.selectAffixPadding},[`${ue}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:ce,zIndex:1,display:"inline-block",width:A.fontSizeIcon,height:A.fontSizeIcon,marginTop:A.calc(A.fontSizeIcon).mul(-1).div(2).equal(),color:A.colorTextQuaternary,fontSize:A.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${A.motionDurationMid} ease, opacity ${A.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:A.colorTextTertiary}},[`&:hover ${ue}-clear`]:{opacity:1,background:A.colorBgBase,borderRadius:"50%"}}),[`${ue}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${ue}-has-feedback`]:{[`${ue}-clear`]:{insetInlineEnd:A.calc(ce).add(A.fontSize).add(A.paddingXS).equal()}}}}}},xe=A=>{const{componentCls:ot}=A;return[{[ot]:{[`&${ot}-in-form-item`]:{width:"100%"}}},ie(A),G(A),(0,u.ZP)(A),K(A),{[`${ot}-rtl`]:{direction:"rtl"}},(0,Je.c)(A,{borderElCls:`${ot}-selector`,focusElCls:`${ot}-focused`})]};var M=(0,B.I$)("Select",(A,ot)=>{let{rootPrefixCls:ue}=ot;const ce=(0,Re.mergeToken)(A,{rootPrefixCls:ue,inputPaddingHorizontalBase:A.calc(A.paddingSM).sub(1).equal(),multipleSelectItemHeight:A.multipleItemHeight,selectHeight:A.controlHeight});return[xe(ce),Ze(ce)]},F,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},26743:function(qr,_t,n){"use strict";n.d(_t,{_z:function(){return Q},gp:function(){return Re}});var o=n(36237),Je=n(63356),B=n(51636);const Re=u=>{const{multipleSelectItemHeight:L,paddingXXS:D,lineWidth:G,INTERNAL_FIXED_ITEM_MARGIN:F}=u,_=u.max(u.calc(D).sub(G).equal(),0),N=u.max(u.calc(_).sub(F).equal(),0);return{basePadding:_,containerPadding:N,itemHeight:(0,o.unit)(L),itemLineHeight:(0,o.unit)(u.calc(L).sub(u.calc(u.lineWidth).mul(2)).equal())}},J=u=>{const{multipleSelectItemHeight:L,selectHeight:D,lineWidth:G}=u;return u.calc(D).sub(L).div(2).sub(G).equal()},Q=u=>{const{componentCls:L,iconCls:D,borderRadiusSM:G,motionDurationSlow:F,paddingXS:_,multipleItemColorDisabled:N,multipleItemBorderColorDisabled:I,colorIcon:w,colorIconHover:E,INTERNAL_FIXED_ITEM_MARGIN:ae}=u;return{[`${L}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${L}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:ae,borderRadius:G,cursor:"default",transition:`font-size ${F}, line-height ${F}, height ${F}`,marginInlineEnd:u.calc(ae).mul(2).equal(),paddingInlineStart:_,paddingInlineEnd:u.calc(_).div(2).equal(),[`${L}-disabled&`]:{color:N,borderColor:I,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:u.calc(_).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,Je.Ro)()),{display:"inline-flex",alignItems:"center",color:w,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${D}`]:{verticalAlign:"-0.2em"},"&:hover":{color:E}})}}}},Y=(u,L)=>{const{componentCls:D,INTERNAL_FIXED_ITEM_MARGIN:G}=u,F=`${D}-selection-overflow`,_=u.multipleSelectItemHeight,N=J(u),I=L?`${D}-${L}`:"",w=Re(u);return{[`${D}-multiple${I}`]:Object.assign(Object.assign({},Q(u)),{[`${D}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:w.basePadding,paddingBlock:w.containerPadding,borderRadius:u.borderRadius,[`${D}-disabled&`]:{background:u.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${(0,o.unit)(G)} 0`,lineHeight:(0,o.unit)(_),visibility:"hidden",content:'"\\a0"'}},[`${D}-selection-item`]:{height:w.itemHeight,lineHeight:(0,o.unit)(w.itemLineHeight)},[`${D}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:(0,o.unit)(_),marginBlock:G}},[`${D}-prefix`]:{marginInlineStart:u.calc(u.inputPaddingHorizontalBase).sub(w.basePadding).equal()},[`${F}-item + ${F}-item,
|
|
|
${D}-prefix + ${D}-selection-wrap
|
|
|
`]:{[`${D}-selection-search`]:{marginInlineStart:0},[`${D}-selection-placeholder`]:{insetInlineStart:0}},[`${F}-item-suffix`]:{minHeight:w.itemHeight,marginBlock:G},[`${D}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:u.calc(u.inputPaddingHorizontalBase).sub(N).equal(),"\n &-input,\n &-mirror\n ":{height:_,fontFamily:u.fontFamily,lineHeight:(0,o.unit)(_),transition:`all ${u.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${D}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:u.calc(u.inputPaddingHorizontalBase).sub(w.basePadding).equal(),insetInlineEnd:u.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${u.motionDurationSlow}`}})}};function y(u,L){const{componentCls:D}=u,G=L?`${D}-${L}`:"",F={[`${D}-multiple${G}`]:{fontSize:u.fontSize,[`${D}-selector`]:{[`${D}-show-search&`]:{cursor:"text"}},[`
|
|
|
&${D}-show-arrow ${D}-selector,
|
|
|
&${D}-allow-clear ${D}-selector
|
|
|
`]:{paddingInlineEnd:u.calc(u.fontSizeIcon).add(u.controlPaddingHorizontal).equal()}}};return[Y(u,L),F]}const K=u=>{const{componentCls:L}=u,D=(0,B.mergeToken)(u,{selectHeight:u.controlHeightSM,multipleSelectItemHeight:u.multipleItemHeightSM,borderRadius:u.borderRadiusSM,borderRadiusSM:u.borderRadiusXS}),G=(0,B.mergeToken)(u,{fontSize:u.fontSizeLG,selectHeight:u.controlHeightLG,multipleSelectItemHeight:u.multipleItemHeightLG,borderRadius:u.borderRadiusLG,borderRadiusSM:u.borderRadius});return[y(u),y(D,"sm"),{[`${L}-multiple${L}-sm`]:{[`${L}-selection-placeholder`]:{insetInline:u.calc(u.controlPaddingHorizontalSM).sub(u.lineWidth).equal()},[`${L}-selection-search`]:{marginInlineStart:2}}},y(G,"lg")]};_t.ZP=K},68525:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return y}});var o=n(59301),Je=n(40001),B=n(19248),Re=n(99267),J=n(84105),Q=n(58617),Y=n(47472);function y(K){let{suffixIcon:u,clearIcon:L,menuItemSelectedIcon:D,removeIcon:G,loading:F,multiple:_,hasFeedback:N,prefixCls:I,showSuffixIcon:w,feedbackIcon:E,showArrow:ae,componentName:q}=K;const te=L!=null?L:o.createElement(B.Z,null),$e=ye=>u===null&&!N&&!ae?null:o.createElement(o.Fragment,null,w!==!1&&ye,N&&E);let Ne=null;if(u!==void 0)Ne=$e(u);else if(F)Ne=$e(o.createElement(Q.Z,{spin:!0}));else{const ye=`${I}-suffix`;Ne=Ae=>{let{open:ie,showSearch:xe}=Ae;return $e(ie&&xe?o.createElement(Y.Z,{className:ye}):o.createElement(J.Z,{className:ye}))}}let Qe=null;D!==void 0?Qe=D:_?Qe=o.createElement(Je.Z,null):Qe=null;let Ze=null;return G!==void 0?Ze=G:Ze=o.createElement(Re.Z,null),{clearIcon:te,suffixIcon:Ne,itemIcon:Qe,removeIcon:Ze}}},90005:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return o}});function o(Je,B){return B!==void 0?B:Je!==null}},44104:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return N}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(11592),J=n(99402),Q=n(48755),Y=n(70045);const y=o.createContext({latestIndex:0}),K=y.Provider;var L=I=>{let{className:w,index:E,children:ae,split:q,style:te}=I;const{latestIndex:$e}=o.useContext(y);return ae==null?null:o.createElement(o.Fragment,null,o.createElement("div",{className:w,style:te},ae),E<$e&&q&&o.createElement("span",{className:`${w}-split`},q))},D=n(31547),G=function(I,w){var E={};for(var ae in I)Object.prototype.hasOwnProperty.call(I,ae)&&w.indexOf(ae)<0&&(E[ae]=I[ae]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,ae=Object.getOwnPropertySymbols(I);q<ae.length;q++)w.indexOf(ae[q])<0&&Object.prototype.propertyIsEnumerable.call(I,ae[q])&&(E[ae[q]]=I[ae[q]]);return E};const _=o.forwardRef((I,w)=>{var E;const{getPrefixCls:ae,direction:q,size:te,className:$e,style:Ne,classNames:Qe,styles:Ze}=(0,Q.dj)("space"),{size:ye=te!=null?te:"small",align:Ae,className:ie,rootClassName:xe,children:M,direction:A="horizontal",prefixCls:ot,split:ue,style:ce,wrap:C=!1,classNames:k,styles:R}=I,S=G(I,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[X,We]=Array.isArray(ye)?ye:[ye,ye],ge=(0,J.n)(We),Ve=(0,J.n)(X),it=(0,J.T)(We),dt=(0,J.T)(X),fe=(0,Re.Z)(M,{keepEmpty:!0}),ze=Ae===void 0&&A==="horizontal"?"center":Ae,Ct=ae("space",ot),[He,Fe,j]=(0,D.Z)(Ct),Ye=B()(Ct,$e,Fe,`${Ct}-${A}`,{[`${Ct}-rtl`]:q==="rtl",[`${Ct}-align-${ze}`]:ze,[`${Ct}-gap-row-${We}`]:ge,[`${Ct}-gap-col-${X}`]:Ve},ie,xe,j),be=B()(`${Ct}-item`,(E=k==null?void 0:k.item)!==null&&E!==void 0?E:Qe.item);let de=0;const he=fe.map((we,Le)=>{var qe;we!=null&&(de=Le);const yt=(we==null?void 0:we.key)||`${be}-${Le}`;return o.createElement(L,{className:be,key:yt,index:Le,split:ue,style:(qe=R==null?void 0:R.item)!==null&&qe!==void 0?qe:Ze.item},we)}),me=o.useMemo(()=>({latestIndex:de}),[de]);if(fe.length===0)return null;const Ie={};return C&&(Ie.flexWrap="wrap"),!Ve&&dt&&(Ie.columnGap=X),!ge&&it&&(Ie.rowGap=We),He(o.createElement("div",Object.assign({ref:w,className:Ye,style:Object.assign(Object.assign(Object.assign({},Ie),Ne),ce)},S),o.createElement(K,{value:me},he)))});_.Compact=Y.ZP;var N=_},11938:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Ae}});var o=n(59301),Je=n(40192),B=n(22703),Re=n(92310),J=n.n(Re),Q=n(26112),Y=n(48755),y=n(458),u=ie=>{const{value:xe,formatter:M,precision:A,decimalSeparator:ot,groupSeparator:ue="",prefixCls:ce}=ie;let C;if(typeof M=="function")C=M(xe);else{const k=String(xe),R=k.match(/^(-?)(\d*)(\.(\d+))?$/);if(!R||k==="-")C=k;else{const S=R[1];let X=R[2]||"0",We=R[4]||"";X=X.replace(/\B(?=(\d{3})+(?!\d))/g,ue),typeof A=="number"&&(We=We.padEnd(A,"0").slice(0,A>0?A:0)),We&&(We=`${ot}${We}`),C=[o.createElement("span",{key:"int",className:`${ce}-content-value-int`},S,X),We&&o.createElement("span",{key:"decimal",className:`${ce}-content-value-decimal`},We)]}}return o.createElement("span",{className:`${ce}-content-value`},C)},L=n(63356),D=n(16931),G=n(51636);const F=ie=>{const{componentCls:xe,marginXXS:M,padding:A,colorTextDescription:ot,titleFontSize:ue,colorTextHeading:ce,contentFontSize:C,fontFamily:k}=ie;return{[xe]:Object.assign(Object.assign({},(0,L.Wf)(ie)),{[`${xe}-title`]:{marginBottom:M,color:ot,fontSize:ue},[`${xe}-skeleton`]:{paddingTop:A},[`${xe}-content`]:{color:ce,fontSize:C,fontFamily:k,[`${xe}-content-value`]:{display:"inline-block",direction:"ltr"},[`${xe}-content-prefix, ${xe}-content-suffix`]:{display:"inline-block"},[`${xe}-content-prefix`]:{marginInlineEnd:M},[`${xe}-content-suffix`]:{marginInlineStart:M}}})}},_=ie=>{const{fontSizeHeading3:xe,fontSize:M}=ie;return{titleFontSize:M,contentFontSize:xe}};var N=(0,D.I$)("Statistic",ie=>{const xe=(0,G.mergeToken)(ie,{});return[F(xe)]},_),I=function(ie,xe){var M={};for(var A in ie)Object.prototype.hasOwnProperty.call(ie,A)&&xe.indexOf(A)<0&&(M[A]=ie[A]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,A=Object.getOwnPropertySymbols(ie);ot<A.length;ot++)xe.indexOf(A[ot])<0&&Object.prototype.propertyIsEnumerable.call(ie,A[ot])&&(M[A[ot]]=ie[A[ot]]);return M},E=ie=>{const{prefixCls:xe,className:M,rootClassName:A,style:ot,valueStyle:ue,value:ce=0,title:C,valueRender:k,prefix:R,suffix:S,loading:X=!1,formatter:We,precision:ge,decimalSeparator:Ve=".",groupSeparator:it=",",onMouseEnter:dt,onMouseLeave:fe}=ie,ze=I(ie,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:Ct,direction:He,className:Fe,style:j}=(0,Y.dj)("statistic"),Ye=Ct("statistic",xe),[be,de,he]=N(Ye),me=o.createElement(u,{decimalSeparator:Ve,groupSeparator:it,prefixCls:Ye,formatter:We,precision:ge,value:ce}),Ie=J()(Ye,{[`${Ye}-rtl`]:He==="rtl"},Fe,M,A,de,he),we=(0,Q.Z)(ze,{aria:!0,data:!0});return be(o.createElement("div",Object.assign({},we,{className:Ie,style:Object.assign(Object.assign({},j),ot),onMouseEnter:dt,onMouseLeave:fe}),C&&o.createElement("div",{className:`${Ye}-title`},C),o.createElement(y.Z,{paragraph:!1,loading:X,className:`${Ye}-skeleton`},o.createElement("div",{style:ue,className:`${Ye}-content`},R&&o.createElement("span",{className:`${Ye}-content-prefix`},R),k?k(me):me,S&&o.createElement("span",{className:`${Ye}-content-suffix`},S)))))};const ae=[["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 q(ie,xe){let M=ie;const A=/\[[^\]]*]/g,ot=(xe.match(A)||[]).map(k=>k.slice(1,-1)),ue=xe.replace(A,"[]"),ce=ae.reduce((k,R)=>{let[S,X]=R;if(k.includes(S)){const We=Math.floor(M/X);return M-=We*X,k.replace(new RegExp(`${S}+`,"g"),ge=>{const Ve=ge.length;return We.toString().padStart(Ve,"0")})}return k},ue);let C=0;return ce.replace(A,()=>{const k=ot[C];return C+=1,k})}function te(ie,xe){const{format:M=""}=xe,A=new Date(ie).getTime(),ot=Date.now(),ue=Math.max(A-ot,0);return q(ue,M)}var $e=function(ie,xe){var M={};for(var A in ie)Object.prototype.hasOwnProperty.call(ie,A)&&xe.indexOf(A)<0&&(M[A]=ie[A]);if(ie!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,A=Object.getOwnPropertySymbols(ie);ot<A.length;ot++)xe.indexOf(A[ot])<0&&Object.prototype.propertyIsEnumerable.call(ie,A[ot])&&(M[A[ot]]=ie[A[ot]]);return M};const Ne=1e3/30;function Qe(ie){return new Date(ie).getTime()}const Ze=ie=>{const{value:xe,format:M="HH:mm:ss",onChange:A,onFinish:ot}=ie,ue=$e(ie,["value","format","onChange","onFinish"]),ce=(0,Je.Z)(),C=o.useRef(null),k=()=>{ot==null||ot(),C.current&&(clearInterval(C.current),C.current=null)},R=()=>{const We=Qe(xe);We>=Date.now()&&(C.current=setInterval(()=>{ce(),A==null||A(We-Date.now()),We<Date.now()&&k()},Ne))};o.useEffect(()=>(R(),()=>{C.current&&(clearInterval(C.current),C.current=null)}),[xe]);const S=(We,ge)=>te(We,Object.assign(Object.assign({},ge),{format:M})),X=We=>(0,B.Tm)(We,{title:void 0});return o.createElement(E,Object.assign({},ue,{value:xe,valueRender:X,formatter:S}))};var ye=o.memo(Ze);E.Countdown=ye;var Ae=E},93873:function(qr,_t,n){"use strict";n.d(_t,{Fm:function(){return D}});var o=n(36237),Je=n(48746);const B=new o.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Re=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}}),J=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}}),Y=new o.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),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}}),K=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}}),u=new o.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),L={"move-up":{inKeyframes:K,outKeyframes:u},"move-down":{inKeyframes:B,outKeyframes:Re},"move-left":{inKeyframes:J,outKeyframes:Q},"move-right":{inKeyframes:Y,outKeyframes:y}},D=(G,F)=>{const{antCls:_}=G,N=`${_}-${F}`,{inKeyframes:I,outKeyframes:w}=L[F];return[(0,Je.R)(N,I,w,G.motionDurationMid),{[`
|
|
|
${N}-enter,
|
|
|
${N}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:G.motionEaseOutCirc},[`${N}-leave`]:{animationTimingFunction:G.motionEaseInOutCirc}}]}},46e3:function(qr,_t,n){"use strict";n.d(_t,{Qt:function(){return J},Uw:function(){return Re},fJ:function(){return B},ly:function(){return Q},oN:function(){return D}});var o=n(36237),Je=n(48746);const B=new o.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Re=new o.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),J=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}}),Y=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}}),K=new o.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),u=new o.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),L={"slide-up":{inKeyframes:B,outKeyframes:Re},"slide-down":{inKeyframes:J,outKeyframes:Q},"slide-left":{inKeyframes:Y,outKeyframes:y},"slide-right":{inKeyframes:K,outKeyframes:u}},D=(G,F)=>{const{antCls:_}=G,N=`${_}-${F}`,{inKeyframes:I,outKeyframes:w}=L[F];return[(0,Je.R)(N,I,w,G.motionDurationMid),{[`
|
|
|
${N}-enter,
|
|
|
${N}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:G.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${N}-leave`]:{animationTimingFunction:G.motionEaseInQuint}}]}},37645:function(qr,_t,n){"use strict";n.d(_t,{ZP:function(){return Q},qN:function(){return B},wZ:function(){return Re}});var o=n(36237),Je=n(36305);const B=8;function Re(Y){const{contentRadius:y,limitVerticalRadius:K}=Y,u=y>12?y+2:12;return{arrowOffsetHorizontal:u,arrowOffsetVertical:K?B:u}}function J(Y,y){return Y?y:{}}function Q(Y,y,K){const{componentCls:u,boxShadowPopoverArrow:L,arrowOffsetVertical:D,arrowOffsetHorizontal:G}=Y,{arrowDistance:F=0,arrowPlacement:_={left:!0,right:!0,top:!0,bottom:!0}}=K||{};return{[u]:Object.assign(Object.assign(Object.assign(Object.assign({[`${u}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,Je.W)(Y,y,L)),{"&:before":{background:y}})]},J(!!_.top,{[[`&-placement-top > ${u}-arrow`,`&-placement-topLeft > ${u}-arrow`,`&-placement-topRight > ${u}-arrow`].join(",")]:{bottom:F,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":G,[`> ${u}-arrow`]:{left:{_skip_check_:!0,value:G}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(G)})`,[`> ${u}-arrow`]:{right:{_skip_check_:!0,value:G}}}})),J(!!_.bottom,{[[`&-placement-bottom > ${u}-arrow`,`&-placement-bottomLeft > ${u}-arrow`,`&-placement-bottomRight > ${u}-arrow`].join(",")]:{top:F,transform:"translateY(-100%)"},[`&-placement-bottom > ${u}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":G,[`> ${u}-arrow`]:{left:{_skip_check_:!0,value:G}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(G)})`,[`> ${u}-arrow`]:{right:{_skip_check_:!0,value:G}}}})),J(!!_.left,{[[`&-placement-left > ${u}-arrow`,`&-placement-leftTop > ${u}-arrow`,`&-placement-leftBottom > ${u}-arrow`].join(",")]:{right:{_skip_check_:!0,value:F},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${u}-arrow`]:{top:D},[`&-placement-leftBottom > ${u}-arrow`]:{bottom:D}})),J(!!_.right,{[[`&-placement-right > ${u}-arrow`,`&-placement-rightTop > ${u}-arrow`,`&-placement-rightBottom > ${u}-arrow`].join(",")]:{left:{_skip_check_:!0,value:F},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${u}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${u}-arrow`]:{top:D},[`&-placement-rightBottom > ${u}-arrow`]:{bottom:D}}))}}},36305:function(qr,_t,n){"use strict";n.d(_t,{W:function(){return B},w:function(){return Je}});var o=n(36237);function Je(Re){const{sizePopupArrow:J,borderRadiusXS:Q,borderRadiusOuter:Y}=Re,y=J/2,K=0,u=y,L=Y*1/Math.sqrt(2),D=y-Y*(1-1/Math.sqrt(2)),G=y-Q*(1/Math.sqrt(2)),F=Y*(Math.sqrt(2)-1)+Q*(1/Math.sqrt(2)),_=2*y-G,N=F,I=2*y-L,w=D,E=2*y-K,ae=u,q=y*Math.sqrt(2)+Y*(Math.sqrt(2)-2),te=Y*(Math.sqrt(2)-1),$e=`polygon(${te}px 100%, 50% ${te}px, ${2*y-te}px 100%, ${te}px 100%)`,Ne=`path('M ${K} ${u} A ${Y} ${Y} 0 0 0 ${L} ${D} L ${G} ${F} A ${Q} ${Q} 0 0 1 ${_} ${N} L ${I} ${w} A ${Y} ${Y} 0 0 0 ${E} ${ae} Z')`;return{arrowShadowWidth:q,arrowPath:Ne,arrowPolygon:$e}}const B=(Re,J,Q)=>{const{sizePopupArrow:Y,arrowPolygon:y,arrowPath:K,arrowShadowWidth:u,borderRadiusXS:L,calc:D}=Re;return{pointerEvents:"none",width:Y,height:Y,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:Y,height:D(Y).div(2).equal(),background:J,clipPath:{_multi_value_:!0,value:[y,K]},content:'""'},"&::after":{content:'""',position:"absolute",width:u,height:u,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,o.unit)(L)} 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 Ze}});var o=n(59301),Je=n(58617),B=n(92310),Re=n.n(B),J=n(63158),Q=n(18929),Y=n(12919),y=n(48755),K=n(2171),u=n(31756),L=n(36237),D=n(17835),G=n(63356),F=n(16931),_=n(51636);const N=ye=>{const{componentCls:Ae,trackHeightSM:ie,trackPadding:xe,trackMinWidthSM:M,innerMinMarginSM:A,innerMaxMarginSM:ot,handleSizeSM:ue,calc:ce}=ye,C=`${Ae}-inner`,k=(0,L.unit)(ce(ue).add(ce(xe).mul(2)).equal()),R=(0,L.unit)(ce(ot).mul(2).equal());return{[Ae]:{[`&${Ae}-small`]:{minWidth:M,height:ie,lineHeight:(0,L.unit)(ie),[`${Ae}-inner`]:{paddingInlineStart:ot,paddingInlineEnd:A,[`${C}-checked, ${C}-unchecked`]:{minHeight:ie},[`${C}-checked`]:{marginInlineStart:`calc(-100% + ${k} - ${R})`,marginInlineEnd:`calc(100% - ${k} + ${R})`},[`${C}-unchecked`]:{marginTop:ce(ie).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${Ae}-handle`]:{width:ue,height:ue},[`${Ae}-loading-icon`]:{top:ce(ce(ue).sub(ye.switchLoadingIconSize)).div(2).equal(),fontSize:ye.switchLoadingIconSize},[`&${Ae}-checked`]:{[`${Ae}-inner`]:{paddingInlineStart:A,paddingInlineEnd:ot,[`${C}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${C}-unchecked`]:{marginInlineStart:`calc(100% - ${k} + ${R})`,marginInlineEnd:`calc(-100% + ${k} - ${R})`}},[`${Ae}-handle`]:{insetInlineStart:`calc(100% - ${(0,L.unit)(ce(ue).add(xe).equal())})`}},[`&:not(${Ae}-disabled):active`]:{[`&:not(${Ae}-checked) ${C}`]:{[`${C}-unchecked`]:{marginInlineStart:ce(ye.marginXXS).div(2).equal(),marginInlineEnd:ce(ye.marginXXS).mul(-1).div(2).equal()}},[`&${Ae}-checked ${C}`]:{[`${C}-checked`]:{marginInlineStart:ce(ye.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:ce(ye.marginXXS).div(2).equal()}}}}}}},I=ye=>{const{componentCls:Ae,handleSize:ie,calc:xe}=ye;return{[Ae]:{[`${Ae}-loading-icon${ye.iconCls}`]:{position:"relative",top:xe(xe(ie).sub(ye.fontSize)).div(2).equal(),color:ye.switchLoadingIconColor,verticalAlign:"top"},[`&${Ae}-checked ${Ae}-loading-icon`]:{color:ye.switchColor}}}},w=ye=>{const{componentCls:Ae,trackPadding:ie,handleBg:xe,handleShadow:M,handleSize:A,calc:ot}=ye,ue=`${Ae}-handle`;return{[Ae]:{[ue]:{position:"absolute",top:ie,insetInlineStart:ie,width:A,height:A,transition:`all ${ye.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:xe,borderRadius:ot(A).div(2).equal(),boxShadow:M,transition:`all ${ye.switchDuration} ease-in-out`,content:'""'}},[`&${Ae}-checked ${ue}`]:{insetInlineStart:`calc(100% - ${(0,L.unit)(ot(A).add(ie).equal())})`},[`&:not(${Ae}-disabled):active`]:{[`${ue}::before`]:{insetInlineEnd:ye.switchHandleActiveInset,insetInlineStart:0},[`&${Ae}-checked ${ue}::before`]:{insetInlineEnd:0,insetInlineStart:ye.switchHandleActiveInset}}}}},E=ye=>{const{componentCls:Ae,trackHeight:ie,trackPadding:xe,innerMinMargin:M,innerMaxMargin:A,handleSize:ot,calc:ue}=ye,ce=`${Ae}-inner`,C=(0,L.unit)(ue(ot).add(ue(xe).mul(2)).equal()),k=(0,L.unit)(ue(A).mul(2).equal());return{[Ae]:{[ce]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:A,paddingInlineEnd:M,transition:`padding-inline-start ${ye.switchDuration} ease-in-out, padding-inline-end ${ye.switchDuration} ease-in-out`,[`${ce}-checked, ${ce}-unchecked`]:{display:"block",color:ye.colorTextLightSolid,fontSize:ye.fontSizeSM,transition:`margin-inline-start ${ye.switchDuration} ease-in-out, margin-inline-end ${ye.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:ie},[`${ce}-checked`]:{marginInlineStart:`calc(-100% + ${C} - ${k})`,marginInlineEnd:`calc(100% - ${C} + ${k})`},[`${ce}-unchecked`]:{marginTop:ue(ie).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${Ae}-checked ${ce}`]:{paddingInlineStart:M,paddingInlineEnd:A,[`${ce}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${ce}-unchecked`]:{marginInlineStart:`calc(100% - ${C} + ${k})`,marginInlineEnd:`calc(-100% + ${C} - ${k})`}},[`&:not(${Ae}-disabled):active`]:{[`&:not(${Ae}-checked) ${ce}`]:{[`${ce}-unchecked`]:{marginInlineStart:ue(xe).mul(2).equal(),marginInlineEnd:ue(xe).mul(-1).mul(2).equal()}},[`&${Ae}-checked ${ce}`]:{[`${ce}-checked`]:{marginInlineStart:ue(xe).mul(-1).mul(2).equal(),marginInlineEnd:ue(xe).mul(2).equal()}}}}}},ae=ye=>{const{componentCls:Ae,trackHeight:ie,trackMinWidth:xe}=ye;return{[Ae]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,G.Wf)(ye)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:xe,height:ie,lineHeight:(0,L.unit)(ie),verticalAlign:"middle",background:ye.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${ye.motionDurationMid}`,userSelect:"none",[`&:hover:not(${Ae}-disabled)`]:{background:ye.colorTextTertiary}}),(0,G.Qy)(ye)),{[`&${Ae}-checked`]:{background:ye.switchColor,[`&:hover:not(${Ae}-disabled)`]:{background:ye.colorPrimaryHover}},[`&${Ae}-loading, &${Ae}-disabled`]:{cursor:"not-allowed",opacity:ye.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${Ae}-rtl`]:{direction:"rtl"}})}},q=ye=>{const{fontSize:Ae,lineHeight:ie,controlHeight:xe,colorWhite:M}=ye,A=Ae*ie,ot=xe/2,ue=2,ce=A-ue*2,C=ot-ue*2;return{trackHeight:A,trackHeightSM:ot,trackMinWidth:ce*2+ue*4,trackMinWidthSM:C*2+ue*2,trackPadding:ue,handleBg:M,handleSize:ce,handleSizeSM:C,handleShadow:`0 2px 4px 0 ${new D.FastColor("#00230b").setA(.2).toRgbString()}`,innerMinMargin:ce/2,innerMaxMargin:ce+ue+ue*2,innerMinMarginSM:C/2,innerMaxMarginSM:C+ue+ue*2}};var te=(0,F.I$)("Switch",ye=>{const Ae=(0,_.mergeToken)(ye,{switchDuration:ye.motionDurationMid,switchColor:ye.colorPrimary,switchDisabledOpacity:ye.opacityLoading,switchLoadingIconSize:ye.calc(ye.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${ye.opacityLoading})`,switchHandleActiveInset:"-30%"});return[ae(Ae),E(Ae),w(Ae),I(Ae),N(Ae)]},q),$e=function(ye,Ae){var ie={};for(var xe in ye)Object.prototype.hasOwnProperty.call(ye,xe)&&Ae.indexOf(xe)<0&&(ie[xe]=ye[xe]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,xe=Object.getOwnPropertySymbols(ye);M<xe.length;M++)Ae.indexOf(xe[M])<0&&Object.prototype.propertyIsEnumerable.call(ye,xe[M])&&(ie[xe[M]]=ye[xe[M]]);return ie};const Qe=o.forwardRef((ye,Ae)=>{const{prefixCls:ie,size:xe,disabled:M,loading:A,className:ot,rootClassName:ue,style:ce,checked:C,value:k,defaultChecked:R,defaultValue:S,onChange:X}=ye,We=$e(ye,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[ge,Ve]=(0,Q.Z)(!1,{value:C!=null?C:k,defaultValue:R!=null?R:S}),{getPrefixCls:it,direction:dt,switch:fe}=o.useContext(y.E_),ze=o.useContext(K.Z),Ct=(M!=null?M:ze)||A,He=it("switch",ie),Fe=o.createElement("div",{className:`${He}-handle`},A&&o.createElement(Je.Z,{className:`${He}-loading-icon`})),[j,Ye,be]=te(He),de=(0,u.Z)(xe),he=Re()(fe==null?void 0:fe.className,{[`${He}-small`]:de==="small",[`${He}-loading`]:A,[`${He}-rtl`]:dt==="rtl"},ot,ue,Ye,be),me=Object.assign(Object.assign({},fe==null?void 0:fe.style),ce),Ie=function(){Ve(arguments.length<=0?void 0:arguments[0]),X==null||X.apply(void 0,arguments)};return j(o.createElement(Y.Z,{component:"Switch"},o.createElement(J.Z,Object.assign({},We,{checked:ge,onChange:Ie,prefixCls:He,className:he,style:me,disabled:Ct,ref:Ae,loadingIcon:Fe}))))});Qe.__ANT_SWITCH=!0;var Ze=Qe},54172:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Qt}});var o=n(59301),Je=n(4030),Re=nt=>null,Q=nt=>null,Y=n(94480),y=n(84105),K=n(92310),u=n.n(K),L=n(82661),D=n(34643),G=n(34061),F=n(18929);function _(nt){const[Se,Vt]=(0,o.useState)(null);return[(0,o.useCallback)((Jt,ke,Be)=>{const St=Se!=null?Se:Jt,ct=Math.min(St||0,Jt),cr=Math.max(St||0,Jt),gr=ke.slice(ct,cr+1).map(ir=>nt(ir)),Xt=gr.some(ir=>!Be.has(ir)),Tt=[];return gr.forEach(ir=>{Xt?(Be.has(ir)||Tt.push(ir),Be.add(ir)):(Be.delete(ir),Tt.push(ir))}),Vt(Xt?cr:null),Tt},[Se]),Jt=>{Vt(Jt)}]}var N=n(32383),I=n(62673),w=n(75727),E=n(47889);const ae={},q="SELECT_ALL",te="SELECT_INVERT",$e="SELECT_NONE",Ne=[],Qe=(nt,Se)=>{let Vt=[];return(Se||[]).forEach(Mt=>{Vt.push(Mt),Mt&&typeof Mt=="object"&&nt in Mt&&(Vt=[].concat((0,Y.Z)(Vt),(0,Y.Z)(Qe(nt,Mt[nt]))))}),Vt};var ye=(nt,Se)=>{const{preserveSelectedRowKeys:Vt,selectedRowKeys:Mt,defaultSelectedRowKeys:Ot,getCheckboxProps:Jt,onChange:ke,onSelect:Be,onSelectAll:St,onSelectInvert:ct,onSelectNone:cr,onSelectMultiple:gr,columnWidth:Xt,type:Tt,selections:ir,fixed:Zr,renderCell:Wt,hideSelectAll:Pe,checkStrictly:vt=!0}=Se||{},{prefixCls:Bt,data:ht,pageData:Yt,getRecordByKey:dr,getRowKey:fr,expandType:Er,childrenColumnName:Lr,locale:Rr,getPopupContainer:cn}=nt,Sn=(0,N.ln)("Table"),[Mr,Lt]=_(Ln=>Ln),[ba,da]=(0,F.Z)(Mt||Ot||Ne,{value:Mt}),Hn=o.useRef(new Map),an=(0,o.useCallback)(Ln=>{if(Vt){const Xn=new Map;Ln.forEach(Qr=>{let mn=dr(Qr);!mn&&Hn.current.has(Qr)&&(mn=Hn.current.get(Qr)),Xn.set(Qr,mn)}),Hn.current=Xn}},[dr,Vt]);o.useEffect(()=>{an(ba)},[ba]);const dn=(0,o.useMemo)(()=>Qe(Lr,Yt),[Lr,Yt]),{keyEntities:Gr}=(0,o.useMemo)(()=>{if(vt)return{keyEntities:null};let Ln=ht;if(Vt){const Xn=new Set(dn.map((mn,ca)=>fr(mn,ca))),Qr=Array.from(Hn.current).reduce((mn,ca)=>{let[En,ha]=ca;return Xn.has(En)?mn:mn.concat(ha)},[]);Ln=[].concat((0,Y.Z)(Ln),(0,Y.Z)(Qr))}return(0,G.I8)(Ln,{externalGetKey:fr,childrenPropName:Lr})},[ht,fr,vt,Lr,Vt,dn]),sa=(0,o.useMemo)(()=>{const Ln=new Map;return dn.forEach((Xn,Qr)=>{const mn=fr(Xn,Qr),ca=(Jt?Jt(Xn):null)||{};Ln.set(mn,ca)}),Ln},[dn,fr,Jt]),Vn=(0,o.useCallback)(Ln=>{const Xn=fr(Ln);let Qr;return sa.has(Xn)?Qr=sa.get(fr(Ln)):Qr=Jt?Jt(Ln):void 0,!!(Qr!=null&&Qr.disabled)},[sa,fr]),[xa,_n]=(0,o.useMemo)(()=>{if(vt)return[ba||[],[]];const{checkedKeys:Ln,halfCheckedKeys:Xn}=(0,D.S)(ba,!0,Gr,Vn);return[Ln||[],Xn]},[ba,vt,Gr,Vn]),la=(0,o.useMemo)(()=>{const Ln=Tt==="radio"?xa.slice(0,1):xa;return new Set(Ln)},[xa,Tt]),La=(0,o.useMemo)(()=>Tt==="radio"?new Set:new Set(_n),[_n,Tt]);o.useEffect(()=>{Se||da(Ne)},[!!Se]);const na=(0,o.useCallback)((Ln,Xn)=>{let Qr,mn;an(Ln),Vt?(Qr=Ln,mn=Ln.map(ca=>Hn.current.get(ca))):(Qr=[],mn=[],Ln.forEach(ca=>{const En=dr(ca);En!==void 0&&(Qr.push(ca),mn.push(En))})),da(Qr),ke==null||ke(Qr,mn,{type:Xn})},[da,dr,ke,Vt]),kn=(0,o.useCallback)((Ln,Xn,Qr,mn)=>{if(Be){const ca=Qr.map(En=>dr(En));Be(dr(Ln),Xn,ca,mn)}na(Qr,"single")},[Be,dr,na]),aa=(0,o.useMemo)(()=>!ir||Pe?null:(ir===!0?[q,te,$e]:ir).map(Xn=>Xn===q?{key:"all",text:Rr.selectionAll,onSelect(){na(ht.map((Qr,mn)=>fr(Qr,mn)).filter(Qr=>{const mn=sa.get(Qr);return!(mn!=null&&mn.disabled)||la.has(Qr)}),"all")}}:Xn===te?{key:"invert",text:Rr.selectInvert,onSelect(){const Qr=new Set(la);Yt.forEach((ca,En)=>{const ha=fr(ca,En),Zn=sa.get(ha);Zn!=null&&Zn.disabled||(Qr.has(ha)?Qr.delete(ha):Qr.add(ha))});const mn=Array.from(Qr);ct&&(Sn.deprecated(!1,"onSelectInvert","onChange"),ct(mn)),na(mn,"invert")}}:Xn===$e?{key:"none",text:Rr.selectNone,onSelect(){cr==null||cr(),na(Array.from(la).filter(Qr=>{const mn=sa.get(Qr);return mn==null?void 0:mn.disabled}),"none")}}:Xn).map(Xn=>Object.assign(Object.assign({},Xn),{onSelect:function(){for(var Qr,mn,ca=arguments.length,En=new Array(ca),ha=0;ha<ca;ha++)En[ha]=arguments[ha];(mn=Xn.onSelect)===null||mn===void 0||(Qr=mn).call.apply(Qr,[Xn].concat(En)),Lt(null)}})),[ir,la,Yt,fr,ct,na]);return[(0,o.useCallback)(Ln=>{var Xn;if(!Se)return Ln.filter(ja=>ja!==ae);let Qr=(0,Y.Z)(Ln);const mn=new Set(la),ca=dn.map(fr).filter(ja=>!sa.get(ja).disabled),En=ca.every(ja=>mn.has(ja)),ha=ca.some(ja=>mn.has(ja)),Zn=()=>{const ja=[];En?ca.forEach(Na=>{mn.delete(Na),ja.push(Na)}):ca.forEach(Na=>{mn.has(Na)||(mn.add(Na),ja.push(Na))});const Ta=Array.from(mn);St==null||St(!En,Ta.map(Na=>dr(Na)),ja.map(Na=>dr(Na))),na(Ta,"all"),Lt(null)};let Ha,qa;if(Tt!=="radio"){let ja;if(aa){const va={getPopupContainer:cn,items:aa.map((_a,Da)=>{const{key:Xa,text:no,onSelect:lo}=_a;return{key:Xa!=null?Xa:Da,onClick:()=>{lo==null||lo(ca)},label:no}})};ja=o.createElement("div",{className:`${Bt}-selection-extra`},o.createElement(w.Z,{menu:va,getPopupContainer:cn},o.createElement("span",null,o.createElement(y.Z,null))))}const Ta=dn.map((va,_a)=>{const Da=fr(va,_a),Xa=sa.get(Da)||{};return Object.assign({checked:mn.has(Da)},Xa)}).filter(va=>{let{disabled:_a}=va;return _a}),Na=!!Ta.length&&Ta.length===dn.length,Ba=Na&&Ta.every(va=>{let{checked:_a}=va;return _a}),Wa=Na&&Ta.some(va=>{let{checked:_a}=va;return _a});qa=o.createElement(I.default,{checked:Na?Ba:!!dn.length&&En,indeterminate:Na?!Ba&&Wa:!En&&ha,onChange:Zn,disabled:dn.length===0||Na,"aria-label":ja?"Custom selection":"Select all",skipGroup:!0}),Ha=!Pe&&o.createElement("div",{className:`${Bt}-selection`},qa,ja)}let Cn;Tt==="radio"?Cn=(ja,Ta,Na)=>{const Ba=fr(Ta,Na),Wa=mn.has(Ba),va=sa.get(Ba);return{node:o.createElement(E.ZP,Object.assign({},va,{checked:Wa,onClick:_a=>{var Da;_a.stopPropagation(),(Da=va==null?void 0:va.onClick)===null||Da===void 0||Da.call(va,_a)},onChange:_a=>{var Da;mn.has(Ba)||kn(Ba,!0,[Ba],_a.nativeEvent),(Da=va==null?void 0:va.onChange)===null||Da===void 0||Da.call(va,_a)}})),checked:Wa}}:Cn=(ja,Ta,Na)=>{var Ba;const Wa=fr(Ta,Na),va=mn.has(Wa),_a=La.has(Wa),Da=sa.get(Wa);let Xa;return Er==="nest"?Xa=_a:Xa=(Ba=Da==null?void 0:Da.indeterminate)!==null&&Ba!==void 0?Ba:_a,{node:o.createElement(I.default,Object.assign({},Da,{indeterminate:Xa,checked:va,skipGroup:!0,onClick:no=>{var lo;no.stopPropagation(),(lo=Da==null?void 0:Da.onClick)===null||lo===void 0||lo.call(Da,no)},onChange:no=>{var lo;const{nativeEvent:Ao}=no,{shiftKey:Po}=Ao,Ma=ca.findIndex(ho=>ho===Wa),Wo=xa.some(ho=>ca.includes(ho));if(Po&&vt&&Wo){const ho=Mr(Ma,ca,mn),jo=Array.from(mn);gr==null||gr(!va,jo.map(vo=>dr(vo)),ho.map(vo=>dr(vo))),na(jo,"multiple")}else{const ho=xa;if(vt){const jo=va?(0,L._5)(ho,Wa):(0,L.L0)(ho,Wa);kn(Wa,!va,jo,Ao)}else{const jo=(0,D.S)([].concat((0,Y.Z)(ho),[Wa]),!0,Gr,Vn),{checkedKeys:vo,halfCheckedKeys:vi}=jo;let ko=vo;if(va){const Qo=new Set(vo);Qo.delete(Wa),ko=(0,D.S)(Array.from(Qo),{checked:!1,halfCheckedKeys:vi},Gr,Vn).checkedKeys}kn(Wa,!va,ko,Ao)}}Lt(va?null:Ma),(lo=Da==null?void 0:Da.onChange)===null||lo===void 0||lo.call(Da,no)}})),checked:va}};const jn=(ja,Ta,Na)=>{const{node:Ba,checked:Wa}=Cn(ja,Ta,Na);return Wt?Wt(Wa,Ta,Na,Ba):Ba};if(!Qr.includes(ae))if(Qr.findIndex(ja=>{var Ta;return((Ta=ja[Je.vP])===null||Ta===void 0?void 0:Ta.columnType)==="EXPAND_COLUMN"})===0){const[ja,...Ta]=Qr;Qr=[ja,ae].concat((0,Y.Z)(Ta))}else Qr=[ae].concat((0,Y.Z)(Qr));const fa=Qr.indexOf(ae);Qr=Qr.filter((ja,Ta)=>ja!==ae||Ta===fa);const Ja=Qr[fa-1],Ka=Qr[fa+1];let co=Zr;co===void 0&&((Ka==null?void 0:Ka.fixed)!==void 0?co=Ka.fixed:(Ja==null?void 0:Ja.fixed)!==void 0&&(co=Ja.fixed)),co&&Ja&&((Xn=Ja[Je.vP])===null||Xn===void 0?void 0:Xn.columnType)==="EXPAND_COLUMN"&&Ja.fixed===void 0&&(Ja.fixed=co);const uo=u()(`${Bt}-selection-col`,{[`${Bt}-selection-col-with-dropdown`]:ir&&Tt==="checkbox"}),ma=()=>Se!=null&&Se.columnTitle?typeof Se.columnTitle=="function"?Se.columnTitle(qa):Se.columnTitle:Ha,Eo={fixed:co,width:Xt,className:`${Bt}-selection-column`,title:ma(),render:jn,onCell:Se.onCell,[Je.vP]:{className:uo}};return Qr.map(ja=>ja===ae?Eo:ja)},[fr,dn,Se,xa,la,La,Xt,aa,Er,sa,gr,kn,Vn]),la]},Ae=n(97347),ie=n(2738);function xe(nt,Se){return nt._antProxy=nt._antProxy||{},Object.keys(Se).forEach(Vt=>{if(!(Vt in nt._antProxy)){const Mt=nt[Vt];nt._antProxy[Vt]=Mt,nt[Vt]=Se[Vt]}}),nt}function M(nt,Se){return(0,o.useImperativeHandle)(nt,()=>{const Vt=Se(),{nativeElement:Mt}=Vt;return typeof Proxy!="undefined"?new Proxy(Mt,{get(Ot,Jt){return Vt[Jt]?Vt[Jt]:Reflect.get(Ot,Jt)}}):xe(Mt,Vt)})}var A=n(83010),ot=n(48755),ue=n(38406),ce=n(83397),C=n(31756),k=n(13783),R=n(85981),S=n(13747),X=n(29787),We=n(57700);function ge(nt){return Se=>{const{prefixCls:Vt,onExpand:Mt,record:Ot,expanded:Jt,expandable:ke}=Se,Be=`${Vt}-row-expand-icon`;return o.createElement("button",{type:"button",onClick:St=>{Mt(Ot,St),St.stopPropagation()},className:u()(Be,{[`${Be}-spaced`]:!ke,[`${Be}-expanded`]:ke&&Jt,[`${Be}-collapsed`]:ke&&!Jt}),"aria-label":Jt?nt.collapse:nt.expand,"aria-expanded":Jt})}}var Ve=ge;function it(nt){return(Vt,Mt)=>{const Ot=Vt.querySelector(`.${nt}-container`);let Jt=Mt;if(Ot){const ke=getComputedStyle(Ot),Be=parseInt(ke.borderLeftWidth,10),St=parseInt(ke.borderRightWidth,10);Jt=Mt-Be-St}return Jt}}const dt=(nt,Se)=>"key"in nt&&nt.key!==void 0&&nt.key!==null?nt.key:nt.dataIndex?Array.isArray(nt.dataIndex)?nt.dataIndex.join("."):nt.dataIndex:Se;function fe(nt,Se){return Se?`${Se}-${nt}`:`${nt}`}const ze=(nt,Se)=>typeof nt=="function"?nt(Se):nt,Ct=(nt,Se)=>{const Vt=ze(nt,Se);return Object.prototype.toString.call(Vt)==="[object Object]"?"":Vt};var He=n(54476),Fe={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"},j=Fe,Ye=n(7657),be=function(Se,Vt){return o.createElement(Ye.Z,(0,He.Z)({},Se,{ref:Vt,icon:j}))},de=o.forwardRef(be),he=de,me=n(13697),Ie=n(9981),we=n(40192);function Le(nt){const Se=o.useRef(nt),Vt=(0,we.Z)();return[()=>Se.current,Mt=>{Se.current=Mt,Vt()}]}var qe=n(7939),yt=n(584),$t=n(93041),qt=n(78857),Gt=n(18287),Pt=n(47472),at=n(49397),Nt=nt=>{const{value:Se,filterSearch:Vt,tablePrefixCls:Mt,locale:Ot,onChange:Jt}=nt;return Vt?o.createElement("div",{className:`${Mt}-filter-dropdown-search`},o.createElement(at.Z,{prefix:o.createElement(Pt.Z,null),placeholder:Ot.filterSearchPlaceholder,onChange:Jt,value:Se,htmlSize:1,className:`${Mt}-filter-dropdown-search-input`})):null},Ht=n(10228);const Et=nt=>{const{keyCode:Se}=nt;Se===Ht.Z.ENTER&&nt.stopPropagation()};var lr=o.forwardRef((nt,Se)=>o.createElement("div",{className:nt.className,onClick:Vt=>Vt.stopPropagation(),onKeyDown:Et,ref:Se},nt.children));function Cr(nt){let Se=[];return(nt||[]).forEach(Vt=>{let{value:Mt,children:Ot}=Vt;Se.push(Mt),Ot&&(Se=[].concat((0,Y.Z)(Se),(0,Y.Z)(Cr(Ot))))}),Se}function Jr(nt){return nt.some(Se=>{let{children:Vt}=Se;return Vt})}function $r(nt,Se){return typeof Se=="string"||typeof Se=="number"?Se==null?void 0:Se.toString().toLowerCase().includes(nt.trim().toLowerCase()):!1}function x(nt){let{filters:Se,prefixCls:Vt,filteredKeys:Mt,filterMultiple:Ot,searchValue:Jt,filterSearch:ke}=nt;return Se.map((Be,St)=>{const ct=String(Be.value);if(Be.children)return{key:ct||St,label:Be.text,popupClassName:`${Vt}-dropdown-submenu`,children:x({filters:Be.children,prefixCls:Vt,filteredKeys:Mt,filterMultiple:Ot,searchValue:Jt,filterSearch:ke})};const cr=Ot?I.default:E.ZP,gr={key:Be.value!==void 0?ct:St,label:o.createElement(o.Fragment,null,o.createElement(cr,{checked:Mt.includes(ct)}),o.createElement("span",null,Be.text))};return Jt.trim()?typeof ke=="function"?ke(Jt,Be)?gr:null:$r(Jt,Be.text)?gr:null:gr})}function W(nt){return nt||[]}var oe=nt=>{var Se,Vt,Mt,Ot;const{tablePrefixCls:Jt,prefixCls:ke,column:Be,dropdownPrefixCls:St,columnKey:ct,filterOnClose:cr,filterMultiple:gr,filterMode:Xt="menu",filterSearch:Tt=!1,filterState:ir,triggerFilter:Zr,locale:Wt,children:Pe,getPopupContainer:vt,rootClassName:Bt}=nt,{filterResetToDefaultFilteredValue:ht,defaultFilteredValue:Yt,filterDropdownProps:dr={},filterDropdownOpen:fr,filterDropdownVisible:Er,onFilterDropdownVisibleChange:Lr,onFilterDropdownOpenChange:Rr}=Be,[cn,Sn]=o.useState(!1),Mr=!!(ir&&(!((Se=ir.filteredKeys)===null||Se===void 0)&&Se.length||ir.forceFiltered)),Lt=Cn=>{var jn;Sn(Cn),(jn=dr.onOpenChange)===null||jn===void 0||jn.call(dr,Cn),Rr==null||Rr(Cn),Lr==null||Lr(Cn)},ba=(Ot=(Mt=(Vt=dr.open)!==null&&Vt!==void 0?Vt:fr)!==null&&Mt!==void 0?Mt:Er)!==null&&Ot!==void 0?Ot:cn,da=ir==null?void 0:ir.filteredKeys,[Hn,an]=Le(W(da)),dn=Cn=>{let{selectedKeys:jn}=Cn;an(jn)},Gr=(Cn,jn)=>{let{node:fa,checked:Ja}=jn;dn(gr?{selectedKeys:Cn}:{selectedKeys:Ja&&fa.key?[fa.key]:[]})};o.useEffect(()=>{cn&&dn({selectedKeys:W(da)})},[da]);const[sa,Vn]=o.useState([]),xa=Cn=>{Vn(Cn)},[_n,la]=o.useState(""),La=Cn=>{const{value:jn}=Cn.target;la(jn)};o.useEffect(()=>{cn||la("")},[cn]);const na=Cn=>{const jn=Cn!=null&&Cn.length?Cn:null;if(jn===null&&(!ir||!ir.filteredKeys)||(0,me.Z)(jn,ir==null?void 0:ir.filteredKeys,!0))return null;Zr({column:Be,key:ct,filteredKeys:jn})},kn=()=>{Lt(!1),na(Hn())},aa=function(){let{confirm:Cn,closeDropdown:jn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};Cn&&na([]),jn&&Lt(!1),la(""),an(ht?(Yt||[]).map(fa=>String(fa)):[])},Fn=function(){let{closeDropdown:Cn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};Cn&&Lt(!1),na(Hn())},Ln=(Cn,jn)=>{jn.source==="trigger"&&(Cn&&da!==void 0&&an(W(da)),Lt(Cn),!Cn&&!Be.filterDropdown&&cr&&kn())},Xn=u()({[`${St}-menu-without-submenu`]:!Jr(Be.filters||[])}),Qr=Cn=>{if(Cn.target.checked){const jn=Cr(Be==null?void 0:Be.filters).map(fa=>String(fa));an(jn)}else an([])},mn=Cn=>{let{filters:jn}=Cn;return(jn||[]).map((fa,Ja)=>{const Ka=String(fa.value),co={title:fa.text,key:fa.value!==void 0?Ka:String(Ja)};return fa.children&&(co.children=mn({filters:fa.children})),co})},ca=Cn=>{var jn;return Object.assign(Object.assign({},Cn),{text:Cn.title,value:Cn.key,children:((jn=Cn.children)===null||jn===void 0?void 0:jn.map(fa=>ca(fa)))||[]})};let En;const{direction:ha,renderEmpty:Zn}=o.useContext(ot.E_);if(typeof Be.filterDropdown=="function")En=Be.filterDropdown({prefixCls:`${St}-custom`,setSelectedKeys:Cn=>dn({selectedKeys:Cn}),selectedKeys:Hn(),confirm:Fn,clearFilters:aa,filters:Be.filters,visible:ba,close:()=>{Lt(!1)}});else if(Be.filterDropdown)En=Be.filterDropdown;else{const Cn=Hn()||[],jn=()=>{var Ja,Ka;const co=(Ja=Zn==null?void 0:Zn("Table.filter"))!==null&&Ja!==void 0?Ja:o.createElement(yt.Z,{image:yt.Z.PRESENTED_IMAGE_SIMPLE,description:Wt.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((Be.filters||[]).length===0)return co;if(Xt==="tree")return o.createElement(o.Fragment,null,o.createElement(Nt,{filterSearch:Tt,value:_n,onChange:La,tablePrefixCls:Jt,locale:Wt}),o.createElement("div",{className:`${Jt}-filter-dropdown-tree`},gr?o.createElement(I.default,{checked:Cn.length===Cr(Be.filters).length,indeterminate:Cn.length>0&&Cn.length<Cr(Be.filters).length,className:`${Jt}-filter-dropdown-checkall`,onChange:Qr},(Ka=Wt==null?void 0:Wt.filterCheckall)!==null&&Ka!==void 0?Ka:Wt==null?void 0:Wt.filterCheckAll):null,o.createElement(Gt.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:gr,checkStrictly:!gr,className:`${St}-menu`,onCheck:Gr,checkedKeys:Cn,selectedKeys:Cn,showIcon:!1,treeData:mn({filters:Be.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:_n.trim()?Eo=>typeof Tt=="function"?Tt(_n,ca(Eo)):$r(_n,Eo.title):void 0})));const uo=x({filters:Be.filters||[],filterSearch:Tt,prefixCls:ke,filteredKeys:Hn(),filterMultiple:gr,searchValue:_n}),ma=uo.every(Eo=>Eo===null);return o.createElement(o.Fragment,null,o.createElement(Nt,{filterSearch:Tt,value:_n,onChange:La,tablePrefixCls:Jt,locale:Wt}),ma?co:o.createElement($t.default,{selectable:!0,multiple:gr,prefixCls:`${St}-menu`,className:Xn,onSelect:dn,onDeselect:dn,selectedKeys:Cn,getPopupContainer:vt,openKeys:sa,onOpenChange:xa,items:uo}))},fa=()=>ht?(0,me.Z)((Yt||[]).map(Ja=>String(Ja)),Cn,!0):Cn.length===0;En=o.createElement(o.Fragment,null,jn(),o.createElement("div",{className:`${ke}-dropdown-btns`},o.createElement(qe.ZP,{type:"link",size:"small",disabled:fa(),onClick:()=>aa()},Wt.filterReset),o.createElement(qe.ZP,{type:"primary",size:"small",onClick:kn},Wt.filterConfirm)))}Be.filterDropdown&&(En=o.createElement(qt.J,{selectable:void 0},En)),En=o.createElement(lr,{className:`${ke}-dropdown`},En);const Ha=()=>{let Cn;return typeof Be.filterIcon=="function"?Cn=Be.filterIcon(Mr):Be.filterIcon?Cn=Be.filterIcon:Cn=o.createElement(he,null),o.createElement("span",{role:"button",tabIndex:-1,className:u()(`${ke}-trigger`,{active:Mr}),onClick:jn=>{jn.stopPropagation()}},Cn)},qa=(0,Ie.Z)({trigger:["click"],placement:ha==="rtl"?"bottomLeft":"bottomRight",children:Ha(),getPopupContainer:vt},Object.assign(Object.assign({},dr),{rootClassName:u()(Bt,dr.rootClassName),open:ba,onOpenChange:Ln,dropdownRender:()=>typeof(dr==null?void 0:dr.dropdownRender)=="function"?dr.dropdownRender(En):En}));return o.createElement("div",{className:`${ke}-column`},o.createElement("span",{className:`${Jt}-column-title`},Pe),o.createElement(w.Z,Object.assign({},qa)))};const Te=(nt,Se,Vt)=>{let Mt=[];return(nt||[]).forEach((Ot,Jt)=>{var ke;const Be=fe(Jt,Vt);if(Ot.filters||"filterDropdown"in Ot||"onFilter"in Ot)if("filteredValue"in Ot){let St=Ot.filteredValue;"filterDropdown"in Ot||(St=(ke=St==null?void 0:St.map(String))!==null&&ke!==void 0?ke:St),Mt.push({column:Ot,key:dt(Ot,Be),filteredKeys:St,forceFiltered:Ot.filtered})}else Mt.push({column:Ot,key:dt(Ot,Be),filteredKeys:Se&&Ot.defaultFilteredValue?Ot.defaultFilteredValue:void 0,forceFiltered:Ot.filtered});"children"in Ot&&(Mt=[].concat((0,Y.Z)(Mt),(0,Y.Z)(Te(Ot.children,Se,Be))))}),Mt};function zr(nt,Se,Vt,Mt,Ot,Jt,ke,Be,St){return Vt.map((ct,cr)=>{const gr=fe(cr,Be),{filterOnClose:Xt=!0,filterMultiple:Tt=!0,filterMode:ir,filterSearch:Zr}=ct;let Wt=ct;if(Wt.filters||Wt.filterDropdown){const Pe=dt(Wt,gr),vt=Mt.find(Bt=>{let{key:ht}=Bt;return Pe===ht});Wt=Object.assign(Object.assign({},Wt),{title:Bt=>o.createElement(oe,{tablePrefixCls:nt,prefixCls:`${nt}-filter`,dropdownPrefixCls:Se,column:Wt,columnKey:Pe,filterState:vt,filterOnClose:Xt,filterMultiple:Tt,filterMode:ir,filterSearch:Zr,triggerFilter:Jt,locale:Ot,getPopupContainer:ke,rootClassName:St},ze(ct.title,Bt))})}return"children"in Wt&&(Wt=Object.assign(Object.assign({},Wt),{children:zr(nt,Se,Wt.children,Mt,Ot,Jt,ke,gr,St)})),Wt})}const Ar=nt=>{const Se={};return nt.forEach(Vt=>{let{key:Mt,filteredKeys:Ot,column:Jt}=Vt;const ke=Mt,{filters:Be,filterDropdown:St}=Jt;if(St)Se[ke]=Ot||null;else if(Array.isArray(Ot)){const ct=Cr(Be);Se[ke]=ct.filter(cr=>Ot.includes(String(cr)))}else Se[ke]=null}),Se},yn=(nt,Se,Vt)=>Se.reduce((Ot,Jt)=>{const{column:{onFilter:ke,filters:Be},filteredKeys:St}=Jt;return ke&&St&&St.length?Ot.map(ct=>Object.assign({},ct)).filter(ct=>St.some(cr=>{const gr=Cr(Be),Xt=gr.findIndex(ir=>String(ir)===String(cr)),Tt=Xt!==-1?gr[Xt]:cr;return ct[Vt]&&(ct[Vt]=yn(ct[Vt],Se,Vt)),ke(Tt,ct)})):Ot},nt),Tn=nt=>nt.flatMap(Se=>"children"in Se?[Se].concat((0,Y.Z)(Tn(Se.children||[]))):[Se]);var wr=nt=>{const{prefixCls:Se,dropdownPrefixCls:Vt,mergedColumns:Mt,onFilterChange:Ot,getPopupContainer:Jt,locale:ke,rootClassName:Be}=nt,St=(0,N.ln)("Table"),ct=o.useMemo(()=>Tn(Mt||[]),[Mt]),[cr,gr]=o.useState(()=>Te(ct,!0)),Xt=o.useMemo(()=>{const Wt=Te(ct,!1);if(Wt.length===0)return Wt;let Pe=!0,vt=!0;if(Wt.forEach(Bt=>{let{filteredKeys:ht}=Bt;ht!==void 0?Pe=!1:vt=!1}),Pe){const Bt=(ct||[]).map((ht,Yt)=>dt(ht,fe(Yt)));return cr.filter(ht=>{let{key:Yt}=ht;return Bt.includes(Yt)}).map(ht=>{const Yt=ct[Bt.findIndex(dr=>dr===ht.key)];return Object.assign(Object.assign({},ht),{column:Object.assign(Object.assign({},ht.column),Yt),forceFiltered:Yt.filtered})})}return Wt},[ct,cr]),Tt=o.useMemo(()=>Ar(Xt),[Xt]),ir=Wt=>{const Pe=Xt.filter(vt=>{let{key:Bt}=vt;return Bt!==Wt.key});Pe.push(Wt),gr(Pe),Ot(Ar(Pe),Pe)};return[Wt=>zr(Se,Vt,Wt,Xt,ke,ir,Jt,void 0,Be),Xt,Tt]},Br=(nt,Se,Vt)=>{const Mt=o.useRef({});function Ot(Jt){var ke;if(!Mt.current||Mt.current.data!==nt||Mt.current.childrenColumnName!==Se||Mt.current.getRowKey!==Vt){let St=function(ct){ct.forEach((cr,gr)=>{const Xt=Vt(cr,gr);Be.set(Xt,cr),cr&&typeof cr=="object"&&Se in cr&&St(cr[Se]||[])})};const Be=new Map;St(nt),Mt.current={data:nt,childrenColumnName:Se,kvMap:Be,getRowKey:Vt}}return(ke=Mt.current.kvMap)===null||ke===void 0?void 0:ke.get(Jt)}return[Ot]},h=function(nt,Se){var Vt={};for(var Mt in nt)Object.prototype.hasOwnProperty.call(nt,Mt)&&Se.indexOf(Mt)<0&&(Vt[Mt]=nt[Mt]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Mt=Object.getOwnPropertySymbols(nt);Ot<Mt.length;Ot++)Se.indexOf(Mt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(nt,Mt[Ot])&&(Vt[Mt[Ot]]=nt[Mt[Ot]]);return Vt};const z=10;function Oe(nt,Se){const Vt={current:nt.current,pageSize:nt.pageSize};return Object.keys(Se&&typeof Se=="object"?Se:{}).forEach(Ot=>{const Jt=nt[Ot];typeof Jt!="function"&&(Vt[Ot]=Jt)}),Vt}function re(nt,Se,Vt){const Mt=Vt&&typeof Vt=="object"?Vt:{},{total:Ot=0}=Mt,Jt=h(Mt,["total"]),[ke,Be]=(0,o.useState)(()=>({current:"defaultCurrent"in Jt?Jt.defaultCurrent:1,pageSize:"defaultPageSize"in Jt?Jt.defaultPageSize:z})),St=(0,Ie.Z)(ke,Jt,{total:Ot>0?Ot:nt}),ct=Math.ceil((Ot||nt)/St.pageSize);St.current>ct&&(St.current=ct||1);const cr=(Xt,Tt)=>{Be({current:Xt!=null?Xt:1,pageSize:Tt||St.pageSize})},gr=(Xt,Tt)=>{var ir;Vt&&((ir=Vt.onChange)===null||ir===void 0||ir.call(Vt,Xt,Tt)),cr(Xt,Tt),Se(Xt,Tt||(St==null?void 0:St.pageSize))};return Vt===!1?[{},()=>{}]:[Object.assign(Object.assign({},St),{onChange:gr}),cr]}var lt=re,pn=n(89489),mt=n(59477),Ut=n(25399);const Ur="ascend",Pr="descend",Yr=nt=>typeof nt.sorter=="object"&&typeof nt.sorter.multiple=="number"?nt.sorter.multiple:!1,gn=nt=>typeof nt=="function"?nt:nt&&typeof nt=="object"&&nt.compare?nt.compare:!1,qn=(nt,Se)=>Se?nt[nt.indexOf(Se)+1]:nt[0],pe=(nt,Se,Vt)=>{let Mt=[];const Ot=(Jt,ke)=>{Mt.push({column:Jt,key:dt(Jt,ke),multiplePriority:Yr(Jt),sortOrder:Jt.sortOrder})};return(nt||[]).forEach((Jt,ke)=>{const Be=fe(ke,Vt);Jt.children?("sortOrder"in Jt&&Ot(Jt,Be),Mt=[].concat((0,Y.Z)(Mt),(0,Y.Z)(pe(Jt.children,Se,Be)))):Jt.sorter&&("sortOrder"in Jt?Ot(Jt,Be):Se&&Jt.defaultSortOrder&&Mt.push({column:Jt,key:dt(Jt,Be),multiplePriority:Yr(Jt),sortOrder:Jt.defaultSortOrder}))}),Mt},mr=(nt,Se,Vt,Mt,Ot,Jt,ke,Be)=>(Se||[]).map((ct,cr)=>{const gr=fe(cr,Be);let Xt=ct;if(Xt.sorter){const Tt=Xt.sortDirections||Ot,ir=Xt.showSorterTooltip===void 0?ke:Xt.showSorterTooltip,Zr=dt(Xt,gr),Wt=Vt.find(Lr=>{let{key:Rr}=Lr;return Rr===Zr}),Pe=Wt?Wt.sortOrder:null,vt=qn(Tt,Pe);let Bt;if(ct.sortIcon)Bt=ct.sortIcon({sortOrder:Pe});else{const Lr=Tt.includes(Ur)&&o.createElement(mt.Z,{className:u()(`${nt}-column-sorter-up`,{active:Pe===Ur})}),Rr=Tt.includes(Pr)&&o.createElement(pn.Z,{className:u()(`${nt}-column-sorter-down`,{active:Pe===Pr})});Bt=o.createElement("span",{className:u()(`${nt}-column-sorter`,{[`${nt}-column-sorter-full`]:!!(Lr&&Rr)})},o.createElement("span",{className:`${nt}-column-sorter-inner`,"aria-hidden":"true"},Lr,Rr))}const{cancelSort:ht,triggerAsc:Yt,triggerDesc:dr}=Jt||{};let fr=ht;vt===Pr?fr=dr:vt===Ur&&(fr=Yt);const Er=typeof ir=="object"?Object.assign({title:fr},ir):{title:fr};Xt=Object.assign(Object.assign({},Xt),{className:u()(Xt.className,{[`${nt}-column-sort`]:Pe}),title:Lr=>{const Rr=`${nt}-column-sorters`,cn=o.createElement("span",{className:`${nt}-column-title`},ze(ct.title,Lr)),Sn=o.createElement("div",{className:Rr},cn,Bt);return ir?typeof ir!="boolean"&&(ir==null?void 0:ir.target)==="sorter-icon"?o.createElement("div",{className:`${Rr} ${nt}-column-sorters-tooltip-target-sorter`},cn,o.createElement(Ut.Z,Object.assign({},Er),Bt)):o.createElement(Ut.Z,Object.assign({},Er),Sn):Sn},onHeaderCell:Lr=>{var Rr;const cn=((Rr=ct.onHeaderCell)===null||Rr===void 0?void 0:Rr.call(ct,Lr))||{},Sn=cn.onClick,Mr=cn.onKeyDown;cn.onClick=da=>{Mt({column:ct,key:Zr,sortOrder:vt,multiplePriority:Yr(ct)}),Sn==null||Sn(da)},cn.onKeyDown=da=>{da.keyCode===Ht.Z.ENTER&&(Mt({column:ct,key:Zr,sortOrder:vt,multiplePriority:Yr(ct)}),Mr==null||Mr(da))};const Lt=Ct(ct.title,{}),ba=Lt==null?void 0:Lt.toString();return Pe&&(cn["aria-sort"]=Pe==="ascend"?"ascending":"descending"),cn["aria-label"]=ba||"",cn.className=u()(cn.className,`${nt}-column-has-sorters`),cn.tabIndex=0,ct.ellipsis&&(cn.title=(Lt!=null?Lt:"").toString()),cn}})}return"children"in Xt&&(Xt=Object.assign(Object.assign({},Xt),{children:mr(nt,Xt.children,Vt,Mt,Ot,Jt,ke,gr)})),Xt}),et=nt=>{const{column:Se,sortOrder:Vt}=nt;return{column:Se,order:Vt,field:Se.dataIndex,columnKey:Se.key}},Ir=nt=>{const Se=nt.filter(Vt=>{let{sortOrder:Mt}=Vt;return Mt}).map(et);if(Se.length===0&&nt.length){const Vt=nt.length-1;return Object.assign(Object.assign({},et(nt[Vt])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return Se.length<=1?Se[0]||{}:Se},Vr=(nt,Se,Vt)=>{const Mt=Se.slice().sort((ke,Be)=>Be.multiplePriority-ke.multiplePriority),Ot=nt.slice(),Jt=Mt.filter(ke=>{let{column:{sorter:Be},sortOrder:St}=ke;return gn(Be)&&St});return Jt.length?Ot.sort((ke,Be)=>{for(let St=0;St<Jt.length;St+=1){const ct=Jt[St],{column:{sorter:cr},sortOrder:gr}=ct,Xt=gn(cr);if(Xt&&gr){const Tt=Xt(ke,Be,gr);if(Tt!==0)return gr===Ur?Tt:-Tt}}return 0}).map(ke=>{const Be=ke[Vt];return Be?Object.assign(Object.assign({},ke),{[Vt]:Vr(Be,Se,Vt)}):ke}):Ot};var ea=nt=>{const{prefixCls:Se,mergedColumns:Vt,sortDirections:Mt,tableLocale:Ot,showSorterTooltip:Jt,onSorterChange:ke}=nt,[Be,St]=o.useState(pe(Vt,!0)),ct=(Zr,Wt)=>{const Pe=[];return Zr.forEach((vt,Bt)=>{const ht=fe(Bt,Wt);if(Pe.push(dt(vt,ht)),Array.isArray(vt.children)){const Yt=ct(vt.children,ht);Pe.push.apply(Pe,(0,Y.Z)(Yt))}}),Pe},cr=o.useMemo(()=>{let Zr=!0;const Wt=pe(Vt,!1);if(!Wt.length){const ht=ct(Vt);return Be.filter(Yt=>{let{key:dr}=Yt;return ht.includes(dr)})}const Pe=[];function vt(ht){Zr?Pe.push(ht):Pe.push(Object.assign(Object.assign({},ht),{sortOrder:null}))}let Bt=null;return Wt.forEach(ht=>{Bt===null?(vt(ht),ht.sortOrder&&(ht.multiplePriority===!1?Zr=!1:Bt=!0)):(Bt&&ht.multiplePriority!==!1||(Zr=!1),vt(ht))}),Pe},[Vt,Be]),gr=o.useMemo(()=>{var Zr,Wt;const Pe=cr.map(vt=>{let{column:Bt,sortOrder:ht}=vt;return{column:Bt,order:ht}});return{sortColumns:Pe,sortColumn:(Zr=Pe[0])===null||Zr===void 0?void 0:Zr.column,sortOrder:(Wt=Pe[0])===null||Wt===void 0?void 0:Wt.order}},[cr]),Xt=Zr=>{let Wt;Zr.multiplePriority===!1||!cr.length||cr[0].multiplePriority===!1?Wt=[Zr]:Wt=[].concat((0,Y.Z)(cr.filter(Pe=>{let{key:vt}=Pe;return vt!==Zr.key})),[Zr]),St(Wt),ke(Ir(Wt),Wt)};return[Zr=>mr(Se,Zr,cr,Xt,Mt,Ot,Jt),cr,gr,()=>Ir(cr)]};const gt=(nt,Se)=>nt.map(Mt=>{const Ot=Object.assign({},Mt);return Ot.title=ze(Mt.title,Se),"children"in Ot&&(Ot.children=gt(Ot.children,Se)),Ot});var sr=nt=>[o.useCallback(Vt=>gt(Vt,nt),[nt])],jr=(0,Je.Q$)((nt,Se)=>{const{_renderTimes:Vt}=nt,{_renderTimes:Mt}=Se;return Vt!==Mt}),Wr=(0,Je.TN)((nt,Se)=>{const{_renderTimes:Vt}=nt,{_renderTimes:Mt}=Se;return Vt!==Mt}),Dr=n(36237),nn=n(17835),sn=n(63356),An=n(16931),Pn=n(51636),Bn=nt=>{const{componentCls:Se,lineWidth:Vt,lineType:Mt,tableBorderColor:Ot,tableHeaderBg:Jt,tablePaddingVertical:ke,tablePaddingHorizontal:Be,calc:St}=nt,ct=`${(0,Dr.unit)(Vt)} ${Mt} ${Ot}`,cr=(gr,Xt,Tt)=>({[`&${Se}-${gr}`]:{[`> ${Se}-container`]:{[`> ${Se}-content, > ${Se}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${Se}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(St(Xt).mul(-1).equal())}
|
|
|
${(0,Dr.unit)(St(St(Tt).add(Vt)).mul(-1).equal())}`}}}}}});return{[`${Se}-wrapper`]:{[`${Se}${Se}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${Se}-title`]:{border:ct,borderBottom:0},[`> ${Se}-container`]:{borderInlineStart:ct,borderTop:ct,[`
|
|
|
> ${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:ct},"> thead":{"> tr:not(:last-child) > th":{borderBottom:ct},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${Se}-cell-fix-right-first::after`]:{borderInlineEnd:ct}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${Se}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(St(ke).mul(-1).equal())} ${(0,Dr.unit)(St(St(Be).add(Vt)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:Vt,bottom:0,borderInlineEnd:ct,content:'""'}}}}}},[`&${Se}-scroll-horizontal`]:{[`> ${Se}-container > ${Se}-body`]:{"> table > tbody":{[`
|
|
|
> tr${Se}-expanded-row,
|
|
|
> tr${Se}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},cr("middle",nt.tablePaddingVerticalMiddle,nt.tablePaddingHorizontalMiddle)),cr("small",nt.tablePaddingVerticalSmall,nt.tablePaddingHorizontalSmall)),{[`> ${Se}-footer`]:{border:ct,borderTop:0}}),[`${Se}-cell`]:{[`${Se}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Dr.unit)(Vt)} 0 ${(0,Dr.unit)(Vt)} ${Jt}`}},[`${Se}-bordered ${Se}-cell-scrollbar`]:{borderInlineEnd:ct}}}},tn=nt=>{const{componentCls:Se}=nt;return{[`${Se}-wrapper`]:{[`${Se}-cell-ellipsis`]:Object.assign(Object.assign({},sn.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"}})}}},Yn=nt=>{const{componentCls:Se}=nt;return{[`${Se}-wrapper`]:{[`${Se}-tbody > tr${Se}-placeholder`]:{textAlign:"center",color:nt.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:nt.colorBgContainer}}}}},zn=nt=>{const{componentCls:Se,antCls:Vt,motionDurationSlow:Mt,lineWidth:Ot,paddingXS:Jt,lineType:ke,tableBorderColor:Be,tableExpandIconBg:St,tableExpandColumnWidth:ct,borderRadius:cr,tablePaddingVertical:gr,tablePaddingHorizontal:Xt,tableExpandedRowBg:Tt,paddingXXS:ir,expandIconMarginTop:Zr,expandIconSize:Wt,expandIconHalfInner:Pe,expandIconScale:vt,calc:Bt}=nt,ht=`${(0,Dr.unit)(Ot)} ${ke} ${Be}`,Yt=Bt(ir).sub(Ot).equal();return{[`${Se}-wrapper`]:{[`${Se}-expand-icon-col`]:{width:ct},[`${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,sn.Nd)(nt)),{position:"relative",float:"left",width:Wt,height:Wt,color:"inherit",lineHeight:(0,Dr.unit)(Wt),background:St,border:ht,borderRadius:cr,transform:`scale(${vt})`,"&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Mt} ease-out`,content:'""'},"&::before":{top:Pe,insetInlineEnd:Yt,insetInlineStart:Yt,height:Ot},"&::after":{top:Yt,bottom:Yt,insetInlineStart:Pe,width:Ot,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${Se}-row-indent + ${Se}-row-expand-icon`]:{marginTop:Zr,marginInlineEnd:Jt},[`tr${Se}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:Tt}},[`${Vt}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${Se}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Dr.unit)(Bt(gr).mul(-1).equal())} ${(0,Dr.unit)(Bt(Xt).mul(-1).equal())}`,padding:`${(0,Dr.unit)(gr)} ${(0,Dr.unit)(Xt)}`}}}},Gn=nt=>{const{componentCls:Se,antCls:Vt,iconCls:Mt,tableFilterDropdownWidth:Ot,tableFilterDropdownSearchWidth:Jt,paddingXXS:ke,paddingXS:Be,colorText:St,lineWidth:ct,lineType:cr,tableBorderColor:gr,headerIconColor:Xt,fontSizeSM:Tt,tablePaddingHorizontal:ir,borderRadius:Zr,motionDurationSlow:Wt,colorTextDescription:Pe,colorPrimary:vt,tableHeaderFilterActiveBg:Bt,colorTextDisabled:ht,tableFilterDropdownBg:Yt,tableFilterDropdownHeight:dr,controlItemBgHover:fr,controlItemBgActive:Er,boxShadowSecondary:Lr,filterDropdownMenuBg:Rr,calc:cn}=nt,Sn=`${Vt}-dropdown`,Mr=`${Se}-filter-dropdown`,Lt=`${Vt}-tree`,ba=`${(0,Dr.unit)(ct)} ${cr} ${gr}`;return[{[`${Se}-wrapper`]:{[`${Se}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${Se}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:cn(ke).mul(-1).equal(),marginInline:`${(0,Dr.unit)(ke)} ${(0,Dr.unit)(cn(ir).div(2).mul(-1).equal())}`,padding:`0 ${(0,Dr.unit)(ke)}`,color:Xt,fontSize:Tt,borderRadius:Zr,cursor:"pointer",transition:`all ${Wt}`,"&:hover":{color:Pe,background:Bt},"&.active":{color:vt}}}},{[`${Vt}-dropdown`]:{[Mr]:Object.assign(Object.assign({},(0,sn.Wf)(nt)),{minWidth:Ot,backgroundColor:Yt,borderRadius:Zr,boxShadow:Lr,overflow:"hidden",[`${Sn}-menu`]:{maxHeight:dr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Rr,"&:empty::after":{display:"block",padding:`${(0,Dr.unit)(Be)} 0`,color:ht,fontSize:Tt,textAlign:"center",content:'"Not Found"'}},[`${Mr}-tree`]:{paddingBlock:`${(0,Dr.unit)(Be)} 0`,paddingInline:Be,[Lt]:{padding:0},[`${Lt}-treenode ${Lt}-node-content-wrapper:hover`]:{backgroundColor:fr},[`${Lt}-treenode-checkbox-checked ${Lt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Er}}},[`${Mr}-search`]:{padding:Be,borderBottom:ba,"&-input":{input:{minWidth:Jt},[Mt]:{color:ht}}},[`${Mr}-checkall`]:{width:"100%",marginBottom:ke,marginInlineStart:ke},[`${Mr}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Dr.unit)(cn(Be).sub(ct).equal())} ${(0,Dr.unit)(Be)}`,overflow:"hidden",borderTop:ba}})}},{[`${Vt}-dropdown ${Mr}, ${Mr}-submenu`]:{[`${Vt}-checkbox-wrapper + span`]:{paddingInlineStart:Be,color:St},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Jn=nt=>{const{componentCls:Se,lineWidth:Vt,colorSplit:Mt,motionDurationSlow:Ot,zIndexTableFixed:Jt,tableBg:ke,zIndexTableSticky:Be,calc:St}=nt,ct=Mt;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:St(Vt).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${Ot}`,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:St(Vt).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Ot}`,content:'""',pointerEvents:"none"},[`${Se}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:St(Be).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${Ot}`,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 ${ct}`},[`
|
|
|
${Se}-cell-fix-left-first::after,
|
|
|
${Se}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${ct}`},[`${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 ${ct}`},[`
|
|
|
${Se}-cell-fix-right-first::after,
|
|
|
${Se}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${ct}`}},[`${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"}}}}},xn=nt=>{const{componentCls:Se,antCls:Vt,margin:Mt}=nt;return{[`${Se}-wrapper`]:{[`${Se}-pagination${Vt}-pagination`]:{margin:`${(0,Dr.unit)(Mt)} 0`},[`${Se}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:nt.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Sa=nt=>{const{componentCls:Se,tableRadius:Vt}=nt;return{[`${Se}-wrapper`]:{[Se]:{[`${Se}-title, ${Se}-header`]:{borderRadius:`${(0,Dr.unit)(Vt)} ${(0,Dr.unit)(Vt)} 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:Vt,borderStartEndRadius:Vt,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Vt},"> *:last-child":{borderStartEndRadius:Vt}}},"&-footer":{borderRadius:`0 0 ${(0,Dr.unit)(Vt)} ${(0,Dr.unit)(Vt)}`}}}}},to=nt=>{const{componentCls:Se}=nt;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"}}}}},so=nt=>{const{componentCls:Se,antCls:Vt,iconCls:Mt,fontSizeIcon:Ot,padding:Jt,paddingXS:ke,headerIconColor:Be,headerIconHoverColor:St,tableSelectionColumnWidth:ct,tableSelectedRowBg:cr,tableSelectedRowHoverBg:gr,tableRowHoverBg:Xt,tablePaddingHorizontal:Tt,calc:ir}=nt;return{[`${Se}-wrapper`]:{[`${Se}-selection-col`]:{width:ct,[`&${Se}-selection-col-with-dropdown`]:{width:ir(ct).add(Ot).add(ir(Jt).div(4)).equal()}},[`${Se}-bordered ${Se}-selection-col`]:{width:ir(ct).add(ir(ke).mul(2)).equal(),[`&${Se}-selection-col-with-dropdown`]:{width:ir(ct).add(Ot).add(ir(Jt).div(4)).add(ir(ke).mul(2)).equal()}},[`
|
|
|
table tr th${Se}-selection-column,
|
|
|
table tr td${Se}-selection-column,
|
|
|
${Se}-selection-column
|
|
|
`]:{paddingInlineEnd:nt.paddingXS,paddingInlineStart:nt.paddingXS,textAlign:"center",[`${Vt}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${Se}-selection-column${Se}-cell-fix-left`]:{zIndex:ir(nt.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 ${nt.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,Dr.unit)(ir(Tt).div(4).equal()),[Mt]:{color:Be,fontSize:Ot,verticalAlign:"baseline","&:hover":{color:St}}},[`${Se}-tbody`]:{[`${Se}-row`]:{[`&${Se}-row-selected`]:{[`> ${Se}-cell`]:{background:cr,"&-row-hover":{background:gr}}},[`> ${Se}-cell-row-hover`]:{background:Xt}}}}}},s=nt=>{const{componentCls:Se,tableExpandColumnWidth:Vt,calc:Mt}=nt,Ot=(Jt,ke,Be,St)=>({[`${Se}${Se}-${Jt}`]:{fontSize:St,[`
|
|
|
${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,Dr.unit)(ke)} ${(0,Dr.unit)(Be)}`},[`${Se}-filter-trigger`]:{marginInlineEnd:(0,Dr.unit)(Mt(Be).div(2).mul(-1).equal())},[`${Se}-expanded-row-fixed`]:{margin:`${(0,Dr.unit)(Mt(ke).mul(-1).equal())} ${(0,Dr.unit)(Mt(Be).mul(-1).equal())}`},[`${Se}-tbody`]:{[`${Se}-wrapper:only-child ${Se}`]:{marginBlock:(0,Dr.unit)(Mt(ke).mul(-1).equal()),marginInline:`${(0,Dr.unit)(Mt(Vt).sub(Be).equal())} ${(0,Dr.unit)(Mt(Be).mul(-1).equal())}`}},[`${Se}-selection-extra`]:{paddingInlineStart:(0,Dr.unit)(Mt(Be).div(4).equal())}}});return{[`${Se}-wrapper`]:Object.assign(Object.assign({},Ot("middle",nt.tablePaddingVerticalMiddle,nt.tablePaddingHorizontalMiddle,nt.tableFontSizeMiddle)),Ot("small",nt.tablePaddingVerticalSmall,nt.tablePaddingHorizontalSmall,nt.tableFontSizeSmall))}},b=nt=>{const{componentCls:Se,marginXXS:Vt,fontSizeIcon:Mt,headerIconColor:Ot,headerIconHoverColor:Jt}=nt;return{[`${Se}-wrapper`]:{[`${Se}-thead th${Se}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${nt.motionDurationSlow}, left 0s`,"&:hover":{background:nt.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:nt.colorPrimary},[`
|
|
|
&${Se}-cell-fix-left:hover,
|
|
|
&${Se}-cell-fix-right:hover
|
|
|
`]:{background:nt.tableFixedHeaderSortActiveBg}},[`${Se}-thead th${Se}-column-sort`]:{background:nt.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${Se}-column-sort`]:{background:nt.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:Vt,color:Ot,fontSize:0,transition:`color ${nt.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:Mt,"&.active":{color:nt.colorPrimary}},[`${Se}-column-sorter-up + ${Se}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${Se}-column-sorters:hover ${Se}-column-sorter`]:{color:Jt}}}},v=nt=>{const{componentCls:Se,opacityLoading:Vt,tableScrollThumbBg:Mt,tableScrollThumbBgHover:Ot,tableScrollThumbSize:Jt,tableScrollBg:ke,zIndexTableSticky:Be,stickyScrollBarBorderRadius:St,lineWidth:ct,lineType:cr,tableBorderColor:gr}=nt,Xt=`${(0,Dr.unit)(ct)} ${cr} ${gr}`;return{[`${Se}-wrapper`]:{[`${Se}-sticky`]:{"&-holder":{position:"sticky",zIndex:Be,background:nt.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Dr.unit)(Jt)} !important`,zIndex:Be,display:"flex",alignItems:"center",background:ke,borderTop:Xt,opacity:Vt,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Jt,backgroundColor:Mt,borderRadius:St,transition:`all ${nt.motionDurationSlow}, transform 0s`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Ot}}}}}}},Z=nt=>{const{componentCls:Se,lineWidth:Vt,tableBorderColor:Mt,calc:Ot}=nt,Jt=`${(0,Dr.unit)(Vt)} ${nt.lineType} ${Mt}`;return{[`${Se}-wrapper`]:{[`${Se}-summary`]:{position:"relative",zIndex:nt.zIndexTableFixed,background:nt.tableBg,"> tr":{"> th, > td":{borderBottom:Jt}}},[`div${Se}-summary`]:{boxShadow:`0 ${(0,Dr.unit)(Ot(Vt).mul(-1).equal())} 0 ${Mt}`}}}},Ee=nt=>{const{componentCls:Se,motionDurationMid:Vt,lineWidth:Mt,lineType:Ot,tableBorderColor:Jt,calc:ke}=nt,Be=`${(0,Dr.unit)(Mt)} ${Ot} ${Jt}`,St=`${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:Be,transition:`background ${Vt}`},[`${Se}-expanded-row`]:{[`${St}${St}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Dr.unit)(Mt)})`,borderInlineEnd:"none"}}},[`${Se}-bordered`]:{[`${Se}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Be,position:"absolute"},[`${Se}-cell`]:{borderInlineEnd:Be,[`&${Se}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:ke(Mt).mul(-1).equal(),borderInlineStart:Be}}},[`&${Se}-virtual`]:{[`${Se}-placeholder ${Se}-cell`]:{borderInlineEnd:Be,borderBottom:Be}}}}}};const st=nt=>{const{componentCls:Se,fontWeightStrong:Vt,tablePaddingVertical:Mt,tablePaddingHorizontal:Ot,tableExpandColumnWidth:Jt,lineWidth:ke,lineType:Be,tableBorderColor:St,tableFontSize:ct,tableBg:cr,tableRadius:gr,tableHeaderTextColor:Xt,motionDurationMid:Tt,tableHeaderBg:ir,tableHeaderCellSplitColor:Zr,tableFooterTextColor:Wt,tableFooterBg:Pe,calc:vt}=nt,Bt=`${(0,Dr.unit)(ke)} ${Be} ${St}`;return{[`${Se}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,sn.dF)()),{[Se]:Object.assign(Object.assign({},(0,sn.Wf)(nt)),{fontSize:ct,background:cr,borderRadius:`${(0,Dr.unit)(gr)} ${(0,Dr.unit)(gr)} 0 0`,scrollbarColor:`${nt.tableScrollThumbBg} ${nt.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Dr.unit)(gr)} ${(0,Dr.unit)(gr)} 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,Dr.unit)(Mt)} ${(0,Dr.unit)(Ot)}`,overflowWrap:"break-word"},[`${Se}-title`]:{padding:`${(0,Dr.unit)(Mt)} ${(0,Dr.unit)(Ot)}`},[`${Se}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Xt,fontWeight:Vt,textAlign:"start",background:ir,borderBottom:Bt,transition:`background ${Tt} 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:Zr,transform:"translateY(-50%)",transition:`background-color ${Tt}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${Se}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Tt}, border-color ${Tt}`,borderBottom:Bt,[`
|
|
|
> ${Se}-wrapper:only-child,
|
|
|
> ${Se}-expanded-row-fixed > ${Se}-wrapper:only-child
|
|
|
`]:{[Se]:{marginBlock:(0,Dr.unit)(vt(Mt).mul(-1).equal()),marginInline:`${(0,Dr.unit)(vt(Jt).sub(Ot).equal())}
|
|
|
${(0,Dr.unit)(vt(Ot).mul(-1).equal())}`,[`${Se}-tbody > tr:last-child > td`]:{borderBottomWidth:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Xt,fontWeight:Vt,textAlign:"start",background:ir,borderBottom:Bt,transition:`background ${Tt} ease`}}},[`${Se}-footer`]:{padding:`${(0,Dr.unit)(Mt)} ${(0,Dr.unit)(Ot)}`,color:Wt,background:Pe}})}},jt=nt=>{const{colorFillAlter:Se,colorBgContainer:Vt,colorTextHeading:Mt,colorFillSecondary:Ot,colorFillContent:Jt,controlItemBgActive:ke,controlItemBgActiveHover:Be,padding:St,paddingSM:ct,paddingXS:cr,colorBorderSecondary:gr,borderRadiusLG:Xt,controlHeight:Tt,colorTextPlaceholder:ir,fontSize:Zr,fontSizeSM:Wt,lineHeight:Pe,lineWidth:vt,colorIcon:Bt,colorIconHover:ht,opacityLoading:Yt,controlInteractiveSize:dr}=nt,fr=new nn.FastColor(Ot).onBackground(Vt).toHexString(),Er=new nn.FastColor(Jt).onBackground(Vt).toHexString(),Lr=new nn.FastColor(Se).onBackground(Vt).toHexString(),Rr=new nn.FastColor(Bt),cn=new nn.FastColor(ht),Sn=dr/2-vt,Mr=Sn*2+vt*3;return{headerBg:Lr,headerColor:Mt,headerSortActiveBg:fr,headerSortHoverBg:Er,bodySortBg:Lr,rowHoverBg:Lr,rowSelectedBg:ke,rowSelectedHoverBg:Be,rowExpandedBg:Se,cellPaddingBlock:St,cellPaddingInline:St,cellPaddingBlockMD:ct,cellPaddingInlineMD:cr,cellPaddingBlockSM:cr,cellPaddingInlineSM:cr,borderColor:gr,headerBorderRadius:Xt,footerBg:Lr,footerColor:Mt,cellFontSize:Zr,cellFontSizeMD:Zr,cellFontSizeSM:Zr,headerSplitColor:gr,fixedHeaderSortActiveBg:fr,headerFilterHoverBg:Jt,filterDropdownMenuBg:Vt,filterDropdownBg:Vt,expandIconBg:Vt,selectionColumnWidth:Tt,stickyScrollBarBg:ir,stickyScrollBarBorderRadius:100,expandIconMarginTop:(Zr*Pe-vt*3)/2-Math.ceil((Wt*1.4-vt*3)/2),headerIconColor:Rr.clone().setA(Rr.a*Yt).toRgbString(),headerIconHoverColor:cn.clone().setA(cn.a*Yt).toRgbString(),expandIconHalfInner:Sn,expandIconSize:Mr,expandIconScale:dr/Mr}},At=2;var ve=(0,An.I$)("Table",nt=>{const{colorTextHeading:Se,colorSplit:Vt,colorBgContainer:Mt,controlInteractiveSize:Ot,headerBg:Jt,headerColor:ke,headerSortActiveBg:Be,headerSortHoverBg:St,bodySortBg:ct,rowHoverBg:cr,rowSelectedBg:gr,rowSelectedHoverBg:Xt,rowExpandedBg:Tt,cellPaddingBlock:ir,cellPaddingInline:Zr,cellPaddingBlockMD:Wt,cellPaddingInlineMD:Pe,cellPaddingBlockSM:vt,cellPaddingInlineSM:Bt,borderColor:ht,footerBg:Yt,footerColor:dr,headerBorderRadius:fr,cellFontSize:Er,cellFontSizeMD:Lr,cellFontSizeSM:Rr,headerSplitColor:cn,fixedHeaderSortActiveBg:Sn,headerFilterHoverBg:Mr,filterDropdownBg:Lt,expandIconBg:ba,selectionColumnWidth:da,stickyScrollBarBg:Hn,calc:an}=nt,dn=(0,Pn.mergeToken)(nt,{tableFontSize:Er,tableBg:Mt,tableRadius:fr,tablePaddingVertical:ir,tablePaddingHorizontal:Zr,tablePaddingVerticalMiddle:Wt,tablePaddingHorizontalMiddle:Pe,tablePaddingVerticalSmall:vt,tablePaddingHorizontalSmall:Bt,tableBorderColor:ht,tableHeaderTextColor:ke,tableHeaderBg:Jt,tableFooterTextColor:dr,tableFooterBg:Yt,tableHeaderCellSplitColor:cn,tableHeaderSortBg:Be,tableHeaderSortHoverBg:St,tableBodySortBg:ct,tableFixedHeaderSortActiveBg:Sn,tableHeaderFilterActiveBg:Mr,tableFilterDropdownBg:Lt,tableRowHoverBg:cr,tableSelectedRowBg:gr,tableSelectedRowHoverBg:Xt,zIndexTableFixed:At,zIndexTableSticky:an(At).add(1).equal({unit:!1}),tableFontSizeMiddle:Lr,tableFontSizeSmall:Rr,tableSelectionColumnWidth:da,tableExpandIconBg:ba,tableExpandColumnWidth:an(Ot).add(an(nt.padding).mul(2)).equal(),tableExpandedRowBg:Tt,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Hn,tableScrollThumbBgHover:Se,tableScrollBg:Vt});return[st(dn),xn(dn),Z(dn),b(dn),Gn(dn),Bn(dn),Sa(dn),zn(dn),Z(dn),Yn(dn),so(dn),Jn(dn),v(dn),tn(dn),s(dn),to(dn),Ee(dn)]},jt,{unitless:{expandIconScale:!0}});const kt=[],Ge=(nt,Se)=>{var Vt,Mt;const{prefixCls:Ot,className:Jt,rootClassName:ke,style:Be,size:St,bordered:ct,dropdownPrefixCls:cr,dataSource:gr,pagination:Xt,rowSelection:Tt,rowKey:ir="key",rowClassName:Zr,columns:Wt,children:Pe,childrenColumnName:vt,onChange:Bt,getPopupContainer:ht,loading:Yt,expandIcon:dr,expandable:fr,expandedRowRender:Er,expandIconColumnIndex:Lr,indentSize:Rr,scroll:cn,sortDirections:Sn,locale:Mr,showSorterTooltip:Lt={target:"full-header"},virtual:ba}=nt,da=(0,N.ln)("Table"),Hn=o.useMemo(()=>Wt||(0,Ae.L)(Pe),[Wt,Pe]),an=o.useMemo(()=>Hn.some(Aa=>Aa.responsive),[Hn]),dn=(0,k.Z)(an),Gr=o.useMemo(()=>{const Aa=new Set(Object.keys(dn).filter($a=>dn[$a]));return Hn.filter($a=>!$a.responsive||$a.responsive.some(fo=>Aa.has(fo)))},[Hn,dn]),sa=(0,ie.Z)(nt,["className","style","columns"]),{locale:Vn=R.Z,direction:xa,table:_n,renderEmpty:la,getPrefixCls:La,getPopupContainer:na}=o.useContext(ot.E_),kn=(0,C.Z)(St),aa=Object.assign(Object.assign({},Vn.Table),Mr),Fn=gr||kt,Ln=La("table",Ot),Xn=La("dropdown",cr),[,Qr]=(0,We.ZP)(),mn=(0,ce.Z)(Ln),[ca,En,ha]=ve(Ln,mn),Zn=Object.assign(Object.assign({childrenColumnName:vt,expandIconColumnIndex:Lr},fr),{expandIcon:(Vt=fr==null?void 0:fr.expandIcon)!==null&&Vt!==void 0?Vt:(Mt=_n==null?void 0:_n.expandable)===null||Mt===void 0?void 0:Mt.expandIcon}),{childrenColumnName:Ha="children"}=Zn,qa=o.useMemo(()=>Fn.some(Aa=>Aa==null?void 0:Aa[Ha])?"nest":Er||fr!=null&&fr.expandedRowRender?"row":null,[Fn]),Cn={body:o.useRef(null)},jn=it(Ln),fa=o.useRef(null),Ja=o.useRef(null);M(Se,()=>Object.assign(Object.assign({},Ja.current),{nativeElement:fa.current}));const Ka=o.useMemo(()=>typeof ir=="function"?ir:Aa=>Aa==null?void 0:Aa[ir],[ir]),[co]=Br(Fn,Ha,Ka),uo={},ma=function(Aa,$a){let fo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ue,No,Mo,yo;const ao=Object.assign(Object.assign({},uo),Aa);fo&&((Ue=uo.resetPagination)===null||Ue===void 0||Ue.call(uo),!((No=ao.pagination)===null||No===void 0)&&No.current&&(ao.pagination.current=1),Xt&&((Mo=Xt.onChange)===null||Mo===void 0||Mo.call(Xt,1,(yo=ao.pagination)===null||yo===void 0?void 0:yo.pageSize))),cn&&cn.scrollToFirstRowOnChange!==!1&&Cn.body.current&&(0,A.Z)(0,{getContainer:()=>Cn.body.current}),Bt==null||Bt(ao.pagination,ao.filters,ao.sorter,{currentDataSource:yn(Vr(Fn,ao.sorterStates,Ha),ao.filterStates,Ha),action:$a})},Eo=(Aa,$a)=>{ma({sorter:Aa,sorterStates:$a},"sort",!1)},[ja,Ta,Na,Ba]=ea({prefixCls:Ln,mergedColumns:Gr,onSorterChange:Eo,sortDirections:Sn||["ascend","descend"],tableLocale:aa,showSorterTooltip:Lt}),Wa=o.useMemo(()=>Vr(Fn,Ta,Ha),[Fn,Ta]);uo.sorter=Ba(),uo.sorterStates=Ta;const va=(Aa,$a)=>{ma({filters:Aa,filterStates:$a},"filter",!0)},[_a,Da,Xa]=wr({prefixCls:Ln,locale:aa,dropdownPrefixCls:Xn,mergedColumns:Gr,onFilterChange:va,getPopupContainer:ht||na,rootClassName:u()(ke,mn)}),no=yn(Wa,Da,Ha);uo.filters=Xa,uo.filterStates=Da;const lo=o.useMemo(()=>{const Aa={};return Object.keys(Xa).forEach($a=>{Xa[$a]!==null&&(Aa[$a]=Xa[$a])}),Object.assign(Object.assign({},Na),{filters:Aa})},[Na,Xa]),[Ao]=sr(lo),Po=(Aa,$a)=>{ma({pagination:Object.assign(Object.assign({},uo.pagination),{current:Aa,pageSize:$a})},"paginate")},[Ma,Wo]=lt(no.length,Po,Xt);uo.pagination=Xt===!1?{}:Oe(Ma,Xt),uo.resetPagination=Wo;const ho=o.useMemo(()=>{if(Xt===!1||!Ma.pageSize)return no;const{current:Aa=1,total:$a,pageSize:fo=z}=Ma;return no.length<$a?no.length>fo?no.slice((Aa-1)*fo,Aa*fo):no:no.slice((Aa-1)*fo,Aa*fo)},[!!Xt,no,Ma==null?void 0:Ma.current,Ma==null?void 0:Ma.pageSize,Ma==null?void 0:Ma.total]),[jo,vo]=ye({prefixCls:Ln,data:no,pageData:ho,getRowKey:Ka,getRecordByKey:co,expandType:qa,childrenColumnName:Ha,locale:aa,getPopupContainer:ht||na},Tt),vi=(Aa,$a,fo)=>{let Ue;return typeof Zr=="function"?Ue=u()(Zr(Aa,$a,fo)):Ue=u()(Zr),u()({[`${Ln}-row-selected`]:vo.has(Ka(Aa,$a))},Ue)};Zn.__PARENT_RENDER_ICON__=Zn.expandIcon,Zn.expandIcon=Zn.expandIcon||dr||Ve(aa),qa==="nest"&&Zn.expandIconColumnIndex===void 0?Zn.expandIconColumnIndex=Tt?1:0:Zn.expandIconColumnIndex>0&&Tt&&(Zn.expandIconColumnIndex-=1),typeof Zn.indentSize!="number"&&(Zn.indentSize=typeof Rr=="number"?Rr:15);const ko=o.useCallback(Aa=>Ao(jo(_a(ja(Aa)))),[ja,_a,jo]);let Qo,Ei;if(Xt!==!1&&(Ma!=null&&Ma.total)){let Aa;Ma.size?Aa=Ma.size:Aa=kn==="small"||kn==="middle"?"small":void 0;const $a=No=>o.createElement(S.Z,Object.assign({},Ma,{className:u()(`${Ln}-pagination ${Ln}-pagination-${No}`,Ma.className),size:Aa})),fo=xa==="rtl"?"left":"right",{position:Ue}=Ma;if(Ue!==null&&Array.isArray(Ue)){const No=Ue.find(ao=>ao.includes("top")),Mo=Ue.find(ao=>ao.includes("bottom")),yo=Ue.every(ao=>`${ao}`=="none");!No&&!Mo&&!yo&&(Ei=$a(fo)),No&&(Qo=$a(No.toLowerCase().replace("top",""))),Mo&&(Ei=$a(Mo.toLowerCase().replace("bottom","")))}else Ei=$a(fo)}let Lo;typeof Yt=="boolean"?Lo={spinning:Yt}:typeof Yt=="object"&&(Lo=Object.assign({spinning:!0},Yt));const Uo=u()(ha,mn,`${Ln}-wrapper`,_n==null?void 0:_n.className,{[`${Ln}-wrapper-rtl`]:xa==="rtl"},Jt,ke,En),ki=Object.assign(Object.assign({},_n==null?void 0:_n.style),Be),bi=typeof(Mr==null?void 0:Mr.emptyText)!="undefined"?Mr.emptyText:(la==null?void 0:la("Table"))||o.createElement(ue.Z,{componentName:"Table"}),yi=ba?Wr:jr,xi={},Ii=o.useMemo(()=>{const{fontSize:Aa,lineHeight:$a,lineWidth:fo,padding:Ue,paddingXS:No,paddingSM:Mo}=Qr,yo=Math.floor(Aa*$a);switch(kn){case"middle":return Mo*2+yo+fo;case"small":return No*2+yo+fo;default:return Ue*2+yo+fo}},[Qr,kn]);return ba&&(xi.listItemHeight=Ii),ca(o.createElement("div",{ref:fa,className:Uo,style:ki},o.createElement(X.Z,Object.assign({spinning:!1},Lo),Qo,o.createElement(yi,Object.assign({},xi,sa,{ref:Ja,columns:Gr,direction:xa,expandable:Zn,prefixCls:Ln,className:u()({[`${Ln}-middle`]:kn==="middle",[`${Ln}-small`]:kn==="small",[`${Ln}-bordered`]:ct,[`${Ln}-empty`]:Fn.length===0},ha,mn,En),data:ho,rowKey:Ka,rowClassName:vi,emptyText:bi,internalHooks:Je.RQ,internalRefs:Cn,transformColumns:ko,getContainerWidth:jn})),Ei)))};var Zt=o.forwardRef(Ge);const pt=(nt,Se)=>{const Vt=o.useRef(0);return Vt.current+=1,o.createElement(Zt,Object.assign({},nt,{ref:Se,_renderTimes:Vt.current}))},ar=o.forwardRef(pt);ar.SELECTION_COLUMN=ae,ar.EXPAND_COLUMN=Je.w2,ar.SELECTION_ALL=q,ar.SELECTION_INVERT=te,ar.SELECTION_NONE=$e,ar.Column=Re,ar.ColumnGroup=Q,ar.Summary=Je.ER;var yr=ar,Qt=yr},20554:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return R}});var o=n(59301),Je=n(99267),B=n(18785),Re=n(62772),J=n(92310),Q=n.n(J),Y=n(29443),y=n(48755),K=n(83397),u=n(31756),L=n(86641);const D={motionAppear:!1,motionEnter:!0,motionLeave:!0};function G(S){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},We;return X===!1?We={inkBar:!1,tabPane:!1}:X===!0?We={inkBar:!0,tabPane:!0}:We=Object.assign({inkBar:!0},typeof X=="object"?X:{}),We.tabPane&&(We.tabPaneMotion=Object.assign(Object.assign({},D),{motionName:(0,L.m)(S,"switch")})),We}var F=n(11592),_=function(S,X){var We={};for(var ge in S)Object.prototype.hasOwnProperty.call(S,ge)&&X.indexOf(ge)<0&&(We[ge]=S[ge]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,ge=Object.getOwnPropertySymbols(S);Ve<ge.length;Ve++)X.indexOf(ge[Ve])<0&&Object.prototype.propertyIsEnumerable.call(S,ge[Ve])&&(We[ge[Ve]]=S[ge[Ve]]);return We};function N(S){return S.filter(X=>X)}function I(S,X){if(S)return S;const We=(0,F.Z)(X).map(ge=>{if(o.isValidElement(ge)){const{key:Ve,props:it}=ge,dt=it||{},{tab:fe}=dt,ze=_(dt,["tab"]);return Object.assign(Object.assign({key:String(Ve)},ze),{label:fe})}return null});return N(We)}var w=n(36237),E=n(63356),ae=n(16931),q=n(51636),te=n(46e3),Ne=S=>{const{componentCls:X,motionDurationSlow:We}=S;return[{[X]:{[`${X}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${We}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${We}`}}}}},[(0,te.oN)(S,"slide-up"),(0,te.oN)(S,"slide-down")]]};const Qe=S=>{const{componentCls:X,tabsCardPadding:We,cardBg:ge,cardGutter:Ve,colorBorderSecondary:it,itemSelectedColor:dt}=S;return{[`${X}-card`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{margin:0,padding:We,background:ge,border:`${(0,w.unit)(S.lineWidth)} ${S.lineType} ${it}`,transition:`all ${S.motionDurationSlow} ${S.motionEaseInOut}`},[`${X}-tab-active`]:{color:dt,background:S.colorBgContainer},[`${X}-tab-focus`]:Object.assign({},(0,E.oN)(S,-3)),[`${X}-ink-bar`]:{visibility:"hidden"},[`& ${X}-tab${X}-tab-focus ${X}-tab-btn`]:{outline:"none"}},[`&${X}-top, &${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab + ${X}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,w.unit)(Ve)}}}},[`&${X}-top`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:`${(0,w.unit)(S.borderRadiusLG)} ${(0,w.unit)(S.borderRadiusLG)} 0 0`},[`${X}-tab-active`]:{borderBottomColor:S.colorBgContainer}}},[`&${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:`0 0 ${(0,w.unit)(S.borderRadiusLG)} ${(0,w.unit)(S.borderRadiusLG)}`},[`${X}-tab-active`]:{borderTopColor:S.colorBgContainer}}},[`&${X}-left, &${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab + ${X}-tab`]:{marginTop:(0,w.unit)(Ve)}}},[`&${X}-left`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,w.unit)(S.borderRadiusLG)} 0 0 ${(0,w.unit)(S.borderRadiusLG)}`}},[`${X}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:S.colorBgContainer}}}},[`&${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,w.unit)(S.borderRadiusLG)} ${(0,w.unit)(S.borderRadiusLG)} 0`}},[`${X}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:S.colorBgContainer}}}}}}},Ze=S=>{const{componentCls:X,itemHoverColor:We,dropdownEdgeChildVerticalPadding:ge}=S;return{[`${X}-dropdown`]:Object.assign(Object.assign({},(0,E.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${X}-dropdown-menu`]:{maxHeight:S.tabsDropdownHeight,margin:0,padding:`${(0,w.unit)(ge)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:S.colorBgContainer,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary,"&-item":Object.assign(Object.assign({},E.vS),{display:"flex",alignItems:"center",minWidth:S.tabsDropdownWidth,margin:0,padding:`${(0,w.unit)(S.paddingXXS)} ${(0,w.unit)(S.paddingSM)}`,color:S.colorText,fontWeight:"normal",fontSize:S.fontSize,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:S.marginSM},color:S.colorTextDescription,fontSize:S.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:We}},"&:hover":{background:S.controlItemBgHover},"&-disabled":{"&, &:hover":{color:S.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ye=S=>{const{componentCls:X,margin:We,colorBorderSecondary:ge,horizontalMargin:Ve,verticalItemPadding:it,verticalItemMargin:dt,calc:fe}=S;return{[`${X}-top, ${X}-bottom`]:{flexDirection:"column",[`> ${X}-nav, > div > ${X}-nav`]:{margin:Ve,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,w.unit)(S.lineWidth)} ${S.lineType} ${ge}`,content:"''"},[`${X}-ink-bar`]:{height:S.lineWidthBold,"&-animated":{transition:`width ${S.motionDurationSlow}, left ${S.motionDurationSlow},
|
|
|
right ${S.motionDurationSlow}`}},[`${X}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:S.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:S.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:S.boxShadowTabsOverflowRight},[`&${X}-nav-wrap-ping-left::before`]:{opacity:1},[`&${X}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${X}-top`]:{[`> ${X}-nav,
|
|
|
> div > ${X}-nav`]:{"&::before":{bottom:0},[`${X}-ink-bar`]:{bottom:0}}},[`${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{order:1,marginTop:We,marginBottom:0,"&::before":{top:0},[`${X}-ink-bar`]:{top:0}},[`> ${X}-content-holder, > div > ${X}-content-holder`]:{order:0}},[`${X}-left, ${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{flexDirection:"column",minWidth:fe(S.controlHeight).mul(1.25).equal(),[`${X}-tab`]:{padding:it,textAlign:"center"},[`${X}-tab + ${X}-tab`]:{margin:dt},[`${X}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:S.controlHeight},"&::before":{top:0,boxShadow:S.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:S.boxShadowTabsOverflowBottom},[`&${X}-nav-wrap-ping-top::before`]:{opacity:1},[`&${X}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${X}-ink-bar`]:{width:S.lineWidthBold,"&-animated":{transition:`height ${S.motionDurationSlow}, top ${S.motionDurationSlow}`}},[`${X}-nav-list, ${X}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${X}-left`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${X}-content-holder, > div > ${X}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,w.unit)(fe(S.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,w.unit)(S.lineWidth)} ${S.lineType} ${S.colorBorder}`},[`> ${X}-content > ${X}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:S.paddingLG}}}},[`${X}-right`]:{[`> ${X}-nav, > div > ${X}-nav`]:{order:1,[`${X}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${X}-content-holder, > div > ${X}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:fe(S.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,w.unit)(S.lineWidth)} ${S.lineType} ${S.colorBorder}`},[`> ${X}-content > ${X}-tabpane`]:{paddingRight:{_skip_check_:!0,value:S.paddingLG}}}}}},Ae=S=>{const{componentCls:X,cardPaddingSM:We,cardPaddingLG:ge,horizontalItemPaddingSM:Ve,horizontalItemPaddingLG:it}=S;return{[X]:{"&-small":{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:Ve,fontSize:S.titleFontSizeSM}}},"&-large":{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:it,fontSize:S.titleFontSizeLG}}}},[`${X}-card`]:{[`&${X}-small`]:{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:We}},[`&${X}-bottom`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:`0 0 ${(0,w.unit)(S.borderRadius)} ${(0,w.unit)(S.borderRadius)}`}},[`&${X}-top`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:`${(0,w.unit)(S.borderRadius)} ${(0,w.unit)(S.borderRadius)} 0 0`}},[`&${X}-right`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,w.unit)(S.borderRadius)} ${(0,w.unit)(S.borderRadius)} 0`}}},[`&${X}-left`]:{[`> ${X}-nav ${X}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,w.unit)(S.borderRadius)} 0 0 ${(0,w.unit)(S.borderRadius)}`}}}},[`&${X}-large`]:{[`> ${X}-nav`]:{[`${X}-tab`]:{padding:ge}}}}}},ie=S=>{const{componentCls:X,itemActiveColor:We,itemHoverColor:ge,iconCls:Ve,tabsHorizontalItemMargin:it,horizontalItemPadding:dt,itemSelectedColor:fe,itemColor:ze}=S,Ct=`${X}-tab`;return{[Ct]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:dt,fontSize:S.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:ze,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:We}},"&-btn":{outline:"none",transition:`all ${S.motionDurationSlow}`,[`${Ct}-icon:not(:last-child)`]:{marginInlineEnd:S.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:S.calc(S.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:S.marginXS},color:S.colorTextDescription,fontSize:S.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"&:hover":{color:S.colorTextHeading}},(0,E.Qy)(S)),"&:hover":{color:ge},[`&${Ct}-active ${Ct}-btn`]:{color:fe,textShadow:S.tabsActiveTextShadow},[`&${Ct}-focus ${Ct}-btn`]:Object.assign({},(0,E.oN)(S)),[`&${Ct}-disabled`]:{color:S.colorTextDisabled,cursor:"not-allowed"},[`&${Ct}-disabled ${Ct}-btn, &${Ct}-disabled ${X}-remove`]:{"&:focus, &:active":{color:S.colorTextDisabled}},[`& ${Ct}-remove ${Ve}`]:{margin:0},[`${Ve}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:S.marginSM}}},[`${Ct} + ${Ct}`]:{margin:{_skip_check_:!0,value:it}}}},xe=S=>{const{componentCls:X,tabsHorizontalItemMarginRTL:We,iconCls:ge,cardGutter:Ve,calc:it}=S;return{[`${X}-rtl`]:{direction:"rtl",[`${X}-nav`]:{[`${X}-tab`]:{margin:{_skip_check_:!0,value:We},[`${X}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[ge]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,w.unit)(S.marginSM)}},[`${X}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,w.unit)(S.marginXS)},marginLeft:{_skip_check_:!0,value:(0,w.unit)(it(S.marginXXS).mul(-1).equal())},[ge]:{margin:0}}}},[`&${X}-left`]:{[`> ${X}-nav`]:{order:1},[`> ${X}-content-holder`]:{order:0}},[`&${X}-right`]:{[`> ${X}-nav`]:{order:0},[`> ${X}-content-holder`]:{order:1}},[`&${X}-card${X}-top, &${X}-card${X}-bottom`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-tab + ${X}-tab`]:{marginRight:{_skip_check_:!0,value:Ve},marginLeft:{_skip_check_:!0,value:0}}}}},[`${X}-dropdown-rtl`]:{direction:"rtl"},[`${X}-menu-item`]:{[`${X}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},M=S=>{const{componentCls:X,tabsCardPadding:We,cardHeight:ge,cardGutter:Ve,itemHoverColor:it,itemActiveColor:dt,colorBorderSecondary:fe}=S;return{[X]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(S)),{display:"flex",[`> ${X}-nav, > div > ${X}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${X}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${S.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${X}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${S.motionDurationSlow}`},[`${X}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${X}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${X}-nav-more`]:{position:"relative",padding:We,background:"transparent",border:0,color:S.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:S.calc(S.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${X}-nav-add`]:Object.assign({minWidth:ge,marginLeft:{_skip_check_:!0,value:Ve},padding:(0,w.unit)(S.paddingXS),background:"transparent",border:`${(0,w.unit)(S.lineWidth)} ${S.lineType} ${fe}`,borderRadius:`${(0,w.unit)(S.borderRadiusLG)} ${(0,w.unit)(S.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:S.colorText,transition:`all ${S.motionDurationSlow} ${S.motionEaseInOut}`,"&:hover":{color:it},"&:active, &:focus:not(:focus-visible)":{color:dt}},(0,E.Qy)(S,-3))},[`${X}-extra-content`]:{flex:"none"},[`${X}-ink-bar`]:{position:"absolute",background:S.inkBarColor,pointerEvents:"none"}}),ie(S)),{[`${X}-content`]:{position:"relative",width:"100%"},[`${X}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${X}-tabpane`]:Object.assign(Object.assign({},(0,E.Qy)(S)),{"&-hidden":{display:"none"}})}),[`${X}-centered`]:{[`> ${X}-nav, > div > ${X}-nav`]:{[`${X}-nav-wrap`]:{[`&:not([class*='${X}-nav-wrap-ping']) > ${X}-nav-list`]:{margin:"auto"}}}}}},A=S=>{const X=S.controlHeightLG;return{zIndexPopup:S.zIndexPopupBase+50,cardBg:S.colorFillAlter,cardHeight:X,cardPadding:`${(X-Math.round(S.fontSize*S.lineHeight))/2-S.lineWidth}px ${S.padding}px`,cardPaddingSM:`${S.paddingXXS*1.5}px ${S.padding}px`,cardPaddingLG:`${S.paddingXS}px ${S.padding}px ${S.paddingXXS*1.5}px`,titleFontSize:S.fontSize,titleFontSizeLG:S.fontSizeLG,titleFontSizeSM:S.fontSize,inkBarColor:S.colorPrimary,horizontalMargin:`0 0 ${S.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${S.paddingSM}px 0`,horizontalItemPaddingSM:`${S.paddingXS}px 0`,horizontalItemPaddingLG:`${S.padding}px 0`,verticalItemPadding:`${S.paddingXS}px ${S.paddingLG}px`,verticalItemMargin:`${S.margin}px 0 0 0`,itemColor:S.colorText,itemSelectedColor:S.colorPrimary,itemHoverColor:S.colorPrimaryHover,itemActiveColor:S.colorPrimaryActive,cardGutter:S.marginXXS/2}};var ot=(0,ae.I$)("Tabs",S=>{const X=(0,q.mergeToken)(S,{tabsCardPadding:S.cardPadding,dropdownEdgeChildVerticalPadding:S.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,w.unit)(S.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,w.unit)(S.horizontalItemGutter)}`});return[Ae(X),xe(X),ye(X),Ze(X),Qe(X),M(X),Ne(X)]},A),ce=()=>null,C=function(S,X){var We={};for(var ge in S)Object.prototype.hasOwnProperty.call(S,ge)&&X.indexOf(ge)<0&&(We[ge]=S[ge]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ve=0,ge=Object.getOwnPropertySymbols(S);Ve<ge.length;Ve++)X.indexOf(ge[Ve])<0&&Object.prototype.propertyIsEnumerable.call(S,ge[Ve])&&(We[ge[Ve]]=S[ge[Ve]]);return We};const k=S=>{var X,We,ge,Ve,it,dt,fe,ze,Ct,He,Fe;const{type:j,className:Ye,rootClassName:be,size:de,onEdit:he,hideAdd:me,centered:Ie,addIcon:we,removeIcon:Le,moreIcon:qe,more:yt,popupClassName:$t,children:qt,items:Gt,animated:Pt,style:at,indicatorSize:xt,indicator:Nt}=S,Ht=C(S,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:Et}=Ht,{direction:er,tabs:lr,getPrefixCls:Cr,getPopupContainer:Jr}=o.useContext(y.E_),$r=Cr("tabs",Et),x=(0,K.Z)($r),[W,wt,oe]=ot($r,x);let Te;j==="editable-card"&&(Te={onEdit:(br,Br)=>{let{key:h,event:z}=Br;he==null||he(br==="add"?z:h,br)},removeIcon:(X=Le!=null?Le:lr==null?void 0:lr.removeIcon)!==null&&X!==void 0?X:o.createElement(Je.Z,null),addIcon:(we!=null?we:lr==null?void 0:lr.addIcon)||o.createElement(Re.Z,null),showAdd:me!==!0});const zr=Cr(),Ar=(0,u.Z)(de),yn=I(Gt,qt),Tn=G($r,Pt),Ft=Object.assign(Object.assign({},lr==null?void 0:lr.style),at),wr={align:(We=Nt==null?void 0:Nt.align)!==null&&We!==void 0?We:(ge=lr==null?void 0:lr.indicator)===null||ge===void 0?void 0:ge.align,size:(fe=(it=(Ve=Nt==null?void 0:Nt.size)!==null&&Ve!==void 0?Ve:xt)!==null&&it!==void 0?it:(dt=lr==null?void 0:lr.indicator)===null||dt===void 0?void 0:dt.size)!==null&&fe!==void 0?fe:lr==null?void 0:lr.indicatorSize};return W(o.createElement(Y.Z,Object.assign({direction:er,getPopupContainer:Jr},Ht,{items:yn,className:Q()({[`${$r}-${Ar}`]:Ar,[`${$r}-card`]:["card","editable-card"].includes(j),[`${$r}-editable-card`]:j==="editable-card",[`${$r}-centered`]:Ie},lr==null?void 0:lr.className,Ye,be,wt,oe,x),popupClassName:Q()($t,wt,oe,x),style:Ft,editable:Te,more:Object.assign({icon:(Fe=(He=(Ct=(ze=lr==null?void 0:lr.more)===null||ze===void 0?void 0:ze.icon)!==null&&Ct!==void 0?Ct:lr==null?void 0:lr.moreIcon)!==null&&He!==void 0?He:qe)!==null&&Fe!==void 0?Fe:o.createElement(B.Z,null),transitionName:`${zr}-slide-up`},yt),prefixCls:$r,animated:Tn,indicator:wr})))};k.TabPane=ce;var R=k},96599:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return M}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(2738),J=n(29509),Q=n(78776),Y=n(22703),y=n(12919),K=n(48755),u=n(36237),L=n(17835),D=n(63356),G=n(51636),F=n(16931);const _=A=>{const{paddingXXS:ot,lineWidth:ue,tagPaddingHorizontal:ce,componentCls:C,calc:k}=A,R=k(ce).sub(ue).equal(),S=k(ot).sub(ue).equal();return{[C]:Object.assign(Object.assign({},(0,D.Wf)(A)),{display:"inline-block",height:"auto",marginInlineEnd:A.marginXS,paddingInline:R,fontSize:A.tagFontSize,lineHeight:A.tagLineHeight,whiteSpace:"nowrap",background:A.defaultBg,border:`${(0,u.unit)(A.lineWidth)} ${A.lineType} ${A.colorBorder}`,borderRadius:A.borderRadiusSM,opacity:1,transition:`all ${A.motionDurationMid}`,textAlign:"start",position:"relative",[`&${C}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:A.defaultColor},[`${C}-close-icon`]:{marginInlineStart:S,fontSize:A.tagIconSize,color:A.colorTextDescription,cursor:"pointer",transition:`all ${A.motionDurationMid}`,"&:hover":{color:A.colorTextHeading}},[`&${C}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${A.iconCls}-close, ${A.iconCls}-close:hover`]:{color:A.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${C}-checkable-checked):hover`]:{color:A.colorPrimary,backgroundColor:A.colorFillSecondary},"&:active, &-checked":{color:A.colorTextLightSolid},"&-checked":{backgroundColor:A.colorPrimary,"&:hover":{backgroundColor:A.colorPrimaryHover}},"&:active":{backgroundColor:A.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${A.iconCls} + span, > span + ${A.iconCls}`]:{marginInlineStart:R}}),[`${C}-borderless`]:{borderColor:"transparent",background:A.tagBorderlessBg}}},N=A=>{const{lineWidth:ot,fontSizeIcon:ue,calc:ce}=A,C=A.fontSizeSM;return(0,G.mergeToken)(A,{tagFontSize:C,tagLineHeight:(0,u.unit)(ce(A.lineHeightSM).mul(C).equal()),tagIconSize:ce(ue).sub(ce(ot).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:A.defaultBg})},I=A=>({defaultBg:new L.FastColor(A.colorFillQuaternary).onBackground(A.colorBgContainer).toHexString(),defaultColor:A.colorText});var w=(0,F.I$)("Tag",A=>{const ot=N(A);return _(ot)},I),E=function(A,ot){var ue={};for(var ce in A)Object.prototype.hasOwnProperty.call(A,ce)&&ot.indexOf(ce)<0&&(ue[ce]=A[ce]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,ce=Object.getOwnPropertySymbols(A);C<ce.length;C++)ot.indexOf(ce[C])<0&&Object.prototype.propertyIsEnumerable.call(A,ce[C])&&(ue[ce[C]]=A[ce[C]]);return ue},q=o.forwardRef((A,ot)=>{const{prefixCls:ue,style:ce,className:C,checked:k,onChange:R,onClick:S}=A,X=E(A,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:We,tag:ge}=o.useContext(K.E_),Ve=He=>{R==null||R(!k),S==null||S(He)},it=We("tag",ue),[dt,fe,ze]=w(it),Ct=B()(it,`${it}-checkable`,{[`${it}-checkable-checked`]:k},ge==null?void 0:ge.className,C,fe,ze);return dt(o.createElement("span",Object.assign({},X,{ref:ot,style:Object.assign(Object.assign({},ce),ge==null?void 0:ge.style),className:Ct,onClick:Ve})))}),te=n(93427);const $e=A=>(0,te.Z)(A,(ot,ue)=>{let{textColor:ce,lightBorderColor:C,lightColor:k,darkColor:R}=ue;return{[`${A.componentCls}${A.componentCls}-${ot}`]:{color:ce,background:k,borderColor:C,"&-inverse":{color:A.colorTextLightSolid,background:R,borderColor:R},[`&${A.componentCls}-borderless`]:{borderColor:"transparent"}}}});var Ne=(0,F.bk)(["Tag","preset"],A=>{const ot=N(A);return $e(ot)},I);function Qe(A){return typeof A!="string"?A:A.charAt(0).toUpperCase()+A.slice(1)}const Ze=(A,ot,ue)=>{const ce=Qe(ue);return{[`${A.componentCls}${A.componentCls}-${ot}`]:{color:A[`color${ue}`],background:A[`color${ce}Bg`],borderColor:A[`color${ce}Border`],[`&${A.componentCls}-borderless`]:{borderColor:"transparent"}}}};var ye=(0,F.bk)(["Tag","status"],A=>{const ot=N(A);return[Ze(ot,"success","Success"),Ze(ot,"processing","Info"),Ze(ot,"error","Error"),Ze(ot,"warning","Warning")]},I),Ae=function(A,ot){var ue={};for(var ce in A)Object.prototype.hasOwnProperty.call(A,ce)&&ot.indexOf(ce)<0&&(ue[ce]=A[ce]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,ce=Object.getOwnPropertySymbols(A);C<ce.length;C++)ot.indexOf(ce[C])<0&&Object.prototype.propertyIsEnumerable.call(A,ce[C])&&(ue[ce[C]]=A[ce[C]]);return ue};const xe=o.forwardRef((A,ot)=>{const{prefixCls:ue,className:ce,rootClassName:C,style:k,children:R,icon:S,color:X,onClose:We,bordered:ge=!0,visible:Ve}=A,it=Ae(A,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:dt,direction:fe,tag:ze}=o.useContext(K.E_),[Ct,He]=o.useState(!0),Fe=(0,Re.Z)(it,["closeIcon","closable"]);o.useEffect(()=>{Ve!==void 0&&He(Ve)},[Ve]);const j=(0,J.o2)(X),Ye=(0,J.yT)(X),be=j||Ye,de=Object.assign(Object.assign({backgroundColor:X&&!be?X:void 0},ze==null?void 0:ze.style),k),he=dt("tag",ue),[me,Ie,we]=w(he),Le=B()(he,ze==null?void 0:ze.className,{[`${he}-${X}`]:be,[`${he}-has-color`]:X&&!be,[`${he}-hidden`]:!Ct,[`${he}-rtl`]:fe==="rtl",[`${he}-borderless`]:!ge},ce,C,Ie,we),qe=at=>{at.stopPropagation(),We==null||We(at),!at.defaultPrevented&&He(!1)},[,yt]=(0,Q.Z)((0,Q.w)(A),(0,Q.w)(ze),{closable:!1,closeIconRender:at=>{const xt=o.createElement("span",{className:`${he}-close-icon`,onClick:qe},at);return(0,Y.wm)(at,xt,Nt=>({onClick:Ht=>{var Et;(Et=Nt==null?void 0:Nt.onClick)===null||Et===void 0||Et.call(Nt,Ht),qe(Ht)},className:B()(Nt==null?void 0:Nt.className,`${he}-close-icon`)}))}}),$t=typeof it.onClick=="function"||R&&R.type==="a",qt=S||null,Gt=qt?o.createElement(o.Fragment,null,qt,R&&o.createElement("span",null,R)):R,Pt=o.createElement("span",Object.assign({},Fe,{ref:ot,className:Le,style:de}),Gt,yt,j&&o.createElement(Ne,{key:"preset",prefixCls:he}),Ye&&o.createElement(ye,{key:"status",prefixCls:he}));return me($t?o.createElement(y.Z,{component:"Tag"},Pt):Pt)});xe.CheckableTag=q;var M=xe},93427:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Je}});var o=n(34998);function Je(B,Re){return o.i.reduce((J,Q)=>{const Y=B[`${Q}1`],y=B[`${Q}3`],K=B[`${Q}6`],u=B[`${Q}7`];return Object.assign(Object.assign({},J),Re(Q,{lightColor:Y,lightBorderColor:y,darkColor:K,textColor:u}))},{})}},25399:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return ot}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(29125),J=n(18929),Q=n(62487),Y=n(75030),y=n(86641),K=n(52838),u=n(22703),L=n(32383),D=n(55743),G=n(57700),F=n(48755),_=n(36237),N=n(63356),I=n(34925),w=n(37645),E=n(36305),ae=n(93427),q=n(51636),te=n(16931);const $e=ue=>{const{calc:ce,componentCls:C,tooltipMaxWidth:k,tooltipColor:R,tooltipBg:S,tooltipBorderRadius:X,zIndexPopup:We,controlHeight:ge,boxShadowSecondary:Ve,paddingSM:it,paddingXS:dt,arrowOffsetHorizontal:fe,sizePopupArrow:ze}=ue,Ct=ce(X).add(ze).add(fe).equal(),He=ce(X).mul(2).add(ze).equal();return[{[C]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,N.Wf)(ue)),{position:"absolute",zIndex:We,display:"block",width:"max-content",maxWidth:k,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":S,[`${C}-inner`]:{minWidth:He,minHeight:ge,padding:`${(0,_.unit)(ue.calc(it).div(2).equal())} ${(0,_.unit)(dt)}`,color:R,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:S,borderRadius:X,boxShadow:Ve,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:Ct},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${C}-inner`]:{borderRadius:ue.min(X,w.qN)}},[`${C}-content`]:{position:"relative"}}),(0,ae.Z)(ue,(Fe,j)=>{let{darkColor:Ye}=j;return{[`&${C}-${Fe}`]:{[`${C}-inner`]:{backgroundColor:Ye},[`${C}-arrow`]:{"--antd-arrow-background-color":Ye}}}})),{"&-rtl":{direction:"rtl"}})},(0,w.ZP)(ue,"var(--antd-arrow-background-color)"),{[`${C}-pure`]:{position:"relative",maxWidth:"none",margin:ue.sizePopupArrow}}]},Ne=ue=>Object.assign(Object.assign({zIndexPopup:ue.zIndexPopupBase+70},(0,w.wZ)({contentRadius:ue.borderRadius,limitVerticalRadius:!0})),(0,E.w)((0,q.mergeToken)(ue,{borderRadiusOuter:Math.min(ue.borderRadiusOuter,4)})));var Qe=function(ue){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,te.I$)("Tooltip",k=>{const{borderRadius:R,colorTextLightSolid:S,colorBgSpotlight:X}=k,We=(0,q.mergeToken)(k,{tooltipMaxWidth:250,tooltipColor:S,tooltipBorderRadius:R,tooltipBg:X});return[$e(We),(0,I._y)(k,"zoom-big-fast")]},Ne,{resetStyle:!1,injectStyle:ce})(ue)},Ze=n(29509);function ye(ue,ce){const C=(0,Ze.o2)(ce),k=B()({[`${ue}-${ce}`]:ce&&C}),R={},S={};return ce&&!C&&(R.background=ce,S["--antd-arrow-background-color"]=ce),{className:k,overlayStyle:R,arrowStyle:S}}var ie=ue=>{const{prefixCls:ce,className:C,placement:k="top",title:R,color:S,overlayInnerStyle:X}=ue,{getPrefixCls:We}=o.useContext(F.E_),ge=We("tooltip",ce),[Ve,it,dt]=Qe(ge),fe=ye(ge,S),ze=fe.arrowStyle,Ct=Object.assign(Object.assign({},X),fe.overlayStyle),He=B()(it,dt,ge,`${ge}-pure`,`${ge}-placement-${k}`,C,fe.className);return Ve(o.createElement("div",{className:He,style:ze},o.createElement("div",{className:`${ge}-arrow`}),o.createElement(Re.G,Object.assign({},ue,{className:it,prefixCls:ge,overlayInnerStyle:Ct}),R)))},xe=function(ue,ce){var C={};for(var k in ue)Object.prototype.hasOwnProperty.call(ue,k)&&ce.indexOf(k)<0&&(C[k]=ue[k]);if(ue!=null&&typeof Object.getOwnPropertySymbols=="function")for(var R=0,k=Object.getOwnPropertySymbols(ue);R<k.length;R++)ce.indexOf(k[R])<0&&Object.prototype.propertyIsEnumerable.call(ue,k[R])&&(C[k[R]]=ue[k[R]]);return C};const A=o.forwardRef((ue,ce)=>{var C,k;const{prefixCls:R,openClassName:S,getTooltipContainer:X,color:We,overlayInnerStyle:ge,children:Ve,afterOpenChange:it,afterVisibleChange:dt,destroyTooltipOnHide:fe,arrow:ze=!0,title:Ct,overlay:He,builtinPlacements:Fe,arrowPointAtCenter:j=!1,autoAdjustOverflow:Ye=!0,motion:be,getPopupContainer:de,placement:he="top",mouseEnterDelay:me=.1,mouseLeaveDelay:Ie=.1,overlayStyle:we,rootClassName:Le,overlayClassName:qe,styles:yt,classNames:$t}=ue,qt=xe(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"]),Gt=!!ze,[,Pt]=(0,G.ZP)(),{getPopupContainer:at,getPrefixCls:xt,direction:Nt,className:Ht,style:Et,classNames:er,styles:lr}=(0,F.dj)("tooltip"),Cr=(0,L.ln)("Tooltip"),Jr=o.useRef(null),$r=()=>{var gn;(gn=Jr.current)===null||gn===void 0||gn.forceAlign()};o.useImperativeHandle(ce,()=>{var gn,qn;return{forceAlign:$r,forcePopupAlign:()=>{Cr.deprecated(!1,"forcePopupAlign","forceAlign"),$r()},nativeElement:(gn=Jr.current)===null||gn===void 0?void 0:gn.nativeElement,popupElement:(qn=Jr.current)===null||qn===void 0?void 0:qn.popupElement}});const[x,W]=(0,J.Z)(!1,{value:(C=ue.open)!==null&&C!==void 0?C:ue.visible,defaultValue:(k=ue.defaultOpen)!==null&&k!==void 0?k:ue.defaultVisible}),wt=!Ct&&!He&&Ct!==0,oe=gn=>{var qn,pe;W(wt?!1:gn),wt||((qn=ue.onOpenChange)===null||qn===void 0||qn.call(ue,gn),(pe=ue.onVisibleChange)===null||pe===void 0||pe.call(ue,gn))},Te=o.useMemo(()=>{var gn,qn;let pe=j;return typeof ze=="object"&&(pe=(qn=(gn=ze.pointAtCenter)!==null&&gn!==void 0?gn:ze.arrowPointAtCenter)!==null&&qn!==void 0?qn:j),Fe||(0,K.Z)({arrowPointAtCenter:pe,autoAdjustOverflow:Ye,arrowWidth:Gt?Pt.sizePopupArrow:0,borderRadius:Pt.borderRadius,offset:Pt.marginXXS,visibleFirst:!0})},[j,ze,Fe,Pt]),zr=o.useMemo(()=>Ct===0?Ct:He||Ct||"",[He,Ct]),Ar=o.createElement(Q.Z,{space:!0},typeof zr=="function"?zr():zr),yn=xt("tooltip",R),Tn=xt(),Ft=ue["data-popover-inject"];let wr=x;!("open"in ue)&&!("visible"in ue)&&wt&&(wr=!1);const br=o.isValidElement(Ve)&&!(0,u.M2)(Ve)?Ve:o.createElement("span",null,Ve),Br=br.props,h=!Br.className||typeof Br.className=="string"?B()(Br.className,S||`${yn}-open`):Br.className,[z,Oe,re]=Qe(yn,!Ft),lt=ye(yn,We),pn=lt.arrowStyle,mt=B()(qe,{[`${yn}-rtl`]:Nt==="rtl"},lt.className,Le,Oe,re,Ht,er.root,$t==null?void 0:$t.root),Ut=B()(er.body,$t==null?void 0:$t.body),[Ur,Pr]=(0,Y.Cn)("Tooltip",qt.zIndex),Yr=o.createElement(Re.Z,Object.assign({},qt,{zIndex:Ur,showArrow:Gt,placement:he,mouseEnterDelay:me,mouseLeaveDelay:Ie,prefixCls:yn,classNames:{root:mt,body:Ut},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},pn),lr.root),Et),we),yt==null?void 0:yt.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},lr.body),ge),yt==null?void 0:yt.body),lt.overlayStyle)},getTooltipContainer:de||X||at,ref:Jr,builtinPlacements:Te,overlay:Ar,visible:wr,onVisibleChange:oe,afterVisibleChange:it!=null?it:dt,arrowContent:o.createElement("span",{className:`${yn}-arrow-content`}),motion:{motionName:(0,y.m)(Tn,"zoom-big-fast",ue.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!fe}),wr?(0,u.Tm)(br,{className:h}):br);return z(o.createElement(D.Z.Provider,{value:Pr},Yr))});A._InternalPanelDoNotUseOrYouWillBeFired=ie;var ot=A},86743:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return k}});var o=n(59301),Je=n(38470),B=n(92310),Re=n.n(B),J=n(75030),Q=n(52838),Y=n(55743),y=n(48755),K=n(57700),u=n(94480),L=n(99267),D=n(7939),G=n(9017),F=n(85981);function _(R){return R!=null}var I=R=>{var S,X;const{stepProps:We,current:ge,type:Ve,indicatorsRender:it}=R,{prefixCls:dt,total:fe=1,title:ze,onClose:Ct,onPrev:He,onNext:Fe,onFinish:j,cover:Ye,description:be,nextButtonProps:de,prevButtonProps:he,type:me,closable:Ie}=We,we=me!=null?me:Ve,Le=o.createElement("button",{type:"button",onClick:Ct,className:`${dt}-close`},(Ie==null?void 0:Ie.closeIcon)||o.createElement(L.Z,{className:`${dt}-close-icon`})),qe=ge===fe-1,yt=()=>{var Et;He==null||He(),(Et=he==null?void 0:he.onClick)===null||Et===void 0||Et.call(he)},$t=()=>{var Et;qe?j==null||j():Fe==null||Fe(),(Et=de==null?void 0:de.onClick)===null||Et===void 0||Et.call(de)},qt=_(ze)?o.createElement("div",{className:`${dt}-header`},o.createElement("div",{className:`${dt}-title`},ze)):null,Gt=_(be)?o.createElement("div",{className:`${dt}-description`},be):null,Pt=_(Ye)?o.createElement("div",{className:`${dt}-cover`},Ye):null;let at;it?at=it(ge,fe):at=(0,u.Z)(Array.from({length:fe}).keys()).map((Et,er)=>o.createElement("span",{key:Et,className:Re()(er===ge&&`${dt}-indicator-active`,`${dt}-indicator`)}));const xt=we==="primary"?"default":"primary",Nt={type:"default",ghost:we==="primary"},[Ht]=(0,G.Z)("Tour",F.Z.Tour);return o.createElement("div",{className:`${dt}-content`},o.createElement("div",{className:`${dt}-inner`},Ie&&Le,Pt,qt,Gt,o.createElement("div",{className:`${dt}-footer`},fe>1&&o.createElement("div",{className:`${dt}-indicators`},at),o.createElement("div",{className:`${dt}-buttons`},ge!==0?o.createElement(D.ZP,Object.assign({},Nt,he,{onClick:yt,size:"small",className:Re()(`${dt}-prev-btn`,he==null?void 0:he.className)}),(S=he==null?void 0:he.children)!==null&&S!==void 0?S:Ht==null?void 0:Ht.Previous):null,o.createElement(D.ZP,Object.assign({type:xt},de,{onClick:$t,size:"small",className:Re()(`${dt}-next-btn`,de==null?void 0:de.className)}),(X=de==null?void 0:de.children)!==null&&X!==void 0?X:qe?Ht==null?void 0:Ht.Finish:Ht==null?void 0:Ht.Next)))))},w=n(78776),E=n(45915),ae=n(22703),q=n(69106),te=n(36237),$e=n(17835),Ne=n(63356),Qe=n(37645),Ze=n(36305),ye=n(16931),Ae=n(51636);const ie=R=>{const{componentCls:S,padding:X,paddingXS:We,borderRadius:ge,borderRadiusXS:Ve,colorPrimary:it,colorFill:dt,indicatorHeight:fe,indicatorWidth:ze,boxShadowTertiary:Ct,zIndexPopup:He,colorBgElevated:Fe,fontWeightStrong:j,marginXS:Ye,colorTextLightSolid:be,tourBorderRadius:de,colorWhite:he,primaryNextBtnHoverBg:me,closeBtnSize:Ie,motionDurationSlow:we,antCls:Le,primaryPrevBtnBg:qe}=R;return[{[S]:Object.assign(Object.assign({},(0,Ne.Wf)(R)),{position:"absolute",zIndex:He,maxWidth:"fit-content",visibility:"visible",width:520,"--antd-arrow-background-color":Fe,"&-pure":{maxWidth:"100%",position:"relative"},[`&${S}-hidden`]:{display:"none"},[`${S}-content`]:{position:"relative"},[`${S}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:de,boxShadow:Ct,position:"relative",backgroundColor:Fe,border:"none",backgroundClip:"padding-box",[`${S}-close`]:Object.assign({position:"absolute",top:X,insetInlineEnd:X,color:R.colorIcon,background:"none",border:"none",width:Ie,height:Ie,borderRadius:R.borderRadiusSM,transition:`background-color ${R.motionDurationMid}, color ${R.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer","&:hover":{color:R.colorIconHover,backgroundColor:R.colorBgTextHover},"&:active":{backgroundColor:R.colorBgTextActive}},(0,Ne.Qy)(R)),[`${S}-cover`]:{textAlign:"center",padding:`${(0,te.unit)(R.calc(X).add(Ie).add(We).equal())} ${(0,te.unit)(X)} 0`,img:{width:"100%"}},[`${S}-header`]:{padding:`${(0,te.unit)(X)} ${(0,te.unit)(X)} ${(0,te.unit)(We)}`,width:`calc(100% - ${(0,te.unit)(Ie)})`,wordBreak:"break-word",[`${S}-title`]:{fontWeight:j}},[`${S}-description`]:{padding:`0 ${(0,te.unit)(X)}`,wordWrap:"break-word"},[`${S}-footer`]:{padding:`${(0,te.unit)(We)} ${(0,te.unit)(X)} ${(0,te.unit)(X)}`,textAlign:"end",borderRadius:`0 0 ${(0,te.unit)(Ve)} ${(0,te.unit)(Ve)}`,display:"flex",[`${S}-indicators`]:{display:"inline-block",[`${S}-indicator`]:{width:ze,height:fe,display:"inline-block",borderRadius:"50%",background:dt,"&:not(:last-child)":{marginInlineEnd:fe},"&-active":{background:it}}},[`${S}-buttons`]:{marginInlineStart:"auto",[`${Le}-btn`]:{marginInlineStart:Ye}}}},[`${S}-primary, &${S}-primary`]:{"--antd-arrow-background-color":it,[`${S}-inner`]:{color:be,textAlign:"start",textDecoration:"none",backgroundColor:it,borderRadius:ge,boxShadow:Ct,[`${S}-close`]:{color:be},[`${S}-indicators`]:{[`${S}-indicator`]:{background:qe,"&-active":{background:be}}},[`${S}-prev-btn`]:{color:be,borderColor:qe,backgroundColor:it,"&:hover":{backgroundColor:qe,borderColor:"transparent"}},[`${S}-next-btn`]:{color:it,borderColor:"transparent",background:he,"&:hover":{background:me}}}}}),[`${S}-mask`]:{[`${S}-placeholder-animated`]:{transition:`all ${we}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${S}-inner`]:{borderRadius:R.min(de,Qe.qN)}}},(0,Qe.ZP)(R,"var(--antd-arrow-background-color)")]},xe=R=>Object.assign(Object.assign({zIndexPopup:R.zIndexPopupBase+70,closeBtnSize:R.fontSize*R.lineHeight,primaryPrevBtnBg:new $e.FastColor(R.colorTextLightSolid).setA(.15).toRgbString(),primaryNextBtnHoverBg:new $e.FastColor(R.colorBgTextHover).onBackground(R.colorWhite).toRgbString()},(0,Qe.wZ)({contentRadius:R.borderRadiusLG,limitVerticalRadius:!0})),(0,Ze.w)(R));var M=(0,ye.I$)("Tour",R=>{const{borderRadiusLG:S}=R,X=(0,Ae.mergeToken)(R,{indicatorWidth:6,indicatorHeight:6,tourBorderRadius:S});return[ie(X)]},xe),A=function(R,S){var X={};for(var We in R)Object.prototype.hasOwnProperty.call(R,We)&&S.indexOf(We)<0&&(X[We]=R[We]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,We=Object.getOwnPropertySymbols(R);ge<We.length;ge++)S.indexOf(We[ge])<0&&Object.prototype.propertyIsEnumerable.call(R,We[ge])&&(X[We[ge]]=R[We[ge]]);return X};const ot=R=>{const{prefixCls:S,current:X=0,total:We=6,className:ge,style:Ve,type:it,closable:dt,closeIcon:fe}=R,ze=A(R,["prefixCls","current","total","className","style","type","closable","closeIcon"]),{getPrefixCls:Ct}=o.useContext(y.E_),He=Ct("tour",S),[Fe,j,Ye]=M(He),[be,de]=(0,w.Z)({closable:dt,closeIcon:fe},null,{closable:!0,closeIconRender:he=>o.isValidElement(he)?(0,ae.Tm)(he,{className:Re()(he.props.className,`${He}-close-icon`)}):he});return Fe(o.createElement(q.t5,{prefixCls:He,hashId:j,className:Re()(ge,`${He}-pure`,it&&`${He}-${it}`,Ye),style:Ve},o.createElement(I,{stepProps:Object.assign(Object.assign({},ze),{prefixCls:He,total:We,closable:be?{closeIcon:de}:void 0}),current:X,type:it})))};var ue=(0,E.i)(ot),ce=function(R,S){var X={};for(var We in R)Object.prototype.hasOwnProperty.call(R,We)&&S.indexOf(We)<0&&(X[We]=R[We]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,We=Object.getOwnPropertySymbols(R);ge<We.length;ge++)S.indexOf(We[ge])<0&&Object.prototype.propertyIsEnumerable.call(R,We[ge])&&(X[We[ge]]=R[We[ge]]);return X};const C=R=>{const{prefixCls:S,type:X,rootClassName:We,indicatorsRender:ge,steps:Ve,closeIcon:it}=R,dt=ce(R,["prefixCls","type","rootClassName","indicatorsRender","steps","closeIcon"]),{getPrefixCls:fe,direction:ze,tour:Ct}=(0,o.useContext)(y.E_),He=fe("tour",S),[Fe,j,Ye]=M(He),[,be]=(0,K.ZP)(),de=o.useMemo(()=>Ve==null?void 0:Ve.map(qe=>{var yt;return Object.assign(Object.assign({},qe),{className:Re()(qe.className,{[`${He}-primary`]:((yt=qe.type)!==null&&yt!==void 0?yt:X)==="primary"})})}),[Ve,X]),he=qe=>{var yt;return(0,Q.Z)({arrowPointAtCenter:(yt=qe==null?void 0:qe.arrowPointAtCenter)!==null&&yt!==void 0?yt:!0,autoAdjustOverflow:!0,offset:be.marginXXS,arrowWidth:be.sizePopupArrow,borderRadius:be.borderRadius})},me=Re()({[`${He}-rtl`]:ze==="rtl"},j,Ye,We),Ie=(qe,yt)=>o.createElement(I,{type:X,stepProps:qe,current:yt,indicatorsRender:ge}),[we,Le]=(0,J.Cn)("Tour",dt.zIndex);return Fe(o.createElement(Y.Z.Provider,{value:Le},o.createElement(Je.Z,Object.assign({},dt,{closeIcon:it!=null?it:Ct==null?void 0:Ct.closeIcon,zIndex:we,rootClassName:me,prefixCls:He,animated:!0,renderPanel:Ie,builtinPlacements:he,steps:de}))))};C._InternalPanelDoNotUseOrYouWillBeFired=ue;var k=C},69219:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return k}});var o=n(59301),Je=n(92310),B=n.n(Je),Re=n(9940),J=n(2738),Q=n(75030),Y=n(86641),y=n(45915),K=n(82855),u=n(48755),L=n(38406),D=n(2171),G=n(83397),F=n(31756),_=n(56553),N=n(24971),I=n(1722),w=n(90376),E=n(68525),ae=n(90005),q=n(70045),te=n(57700),$e=n(85278),Ne=n(36237),Qe=n(36170),Ze=n(51636),ye=n(16931),Ae=n(12425);const ie=R=>{const{componentCls:S,treePrefixCls:X,colorBgElevated:We}=R,ge=`.${X}`;return[{[`${S}-dropdown`]:[{padding:`${(0,Ne.unit)(R.paddingXS)} ${(0,Ne.unit)(R.calc(R.paddingXS).div(2).equal())}`},(0,Ae.Yk)(X,(0,Ze.mergeToken)(R,{colorBgContainer:We}),!1),{[ge]:{borderRadius:0,[`${ge}-list-holder-inner`]:{alignItems:"stretch",[`${ge}-treenode`]:{[`${ge}-node-content-wrapper`]:{flex:"auto"}}}}},(0,Qe.C2)(`${X}-checkbox`,R),{"&-rtl":{direction:"rtl",[`${ge}-switcher${ge}-switcher_close`]:{[`${ge}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]},xe=null;function M(R,S,X){return(0,ye.I$)("TreeSelect",We=>{const ge=(0,Ze.mergeToken)(We,{treePrefixCls:S});return[ie(ge)]},Ae.TM)(R,X)}var A=function(R,S){var X={};for(var We in R)Object.prototype.hasOwnProperty.call(R,We)&&S.indexOf(We)<0&&(X[We]=R[We]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ge=0,We=Object.getOwnPropertySymbols(R);ge<We.length;ge++)S.indexOf(We[ge])<0&&Object.prototype.propertyIsEnumerable.call(R,We[ge])&&(X[We[ge]]=R[We[ge]]);return X};const ot=(R,S)=>{var X;const{prefixCls:We,size:ge,disabled:Ve,bordered:it=!0,className:dt,rootClassName:fe,treeCheckable:ze,multiple:Ct,listHeight:He=256,listItemHeight:Fe,placement:j,notFoundContent:Ye,switcherIcon:be,treeLine:de,getPopupContainer:he,popupClassName:me,dropdownClassName:Ie,treeIcon:we=!1,transitionName:Le,choiceTransitionName:qe="",status:yt,treeExpandAction:$t,builtinPlacements:qt,dropdownMatchSelectWidth:Gt,popupMatchSelectWidth:Pt,allowClear:at,variant:xt,dropdownStyle:Nt,tagRender:Ht,maxCount:Et,showCheckedStrategy:er,treeCheckStrictly:lr}=R,Cr=A(R,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:Jr,getPrefixCls:$r,renderEmpty:x,direction:W,virtual:wt,popupMatchSelectWidth:oe,popupOverflow:Te}=o.useContext(u.E_),[,zr]=(0,te.ZP)(),Ar=Fe!=null?Fe:(zr==null?void 0:zr.controlHeightSM)+(zr==null?void 0:zr.paddingXXS),yn=$r(),Tn=$r("select",We),Ft=$r("select-tree",We),wr=$r("tree-select",We),{compactSize:br,compactItemClassnames:Br}=(0,q.ri)(Tn,W),h=(0,G.Z)(Tn),z=(0,G.Z)(wr),[Oe,re,lt]=(0,w.Z)(Tn,h),[pn]=M(wr,Ft,z),[mt,Ut]=(0,N.Z)("treeSelect",xt,it),Ur=B()(me||Ie,`${wr}-dropdown`,{[`${wr}-dropdown-rtl`]:W==="rtl"},fe,lt,h,z,re),Pr=!!(ze||Ct),Yr=o.useMemo(()=>{if(!(Et&&(er==="SHOW_ALL"&&!lr||er==="SHOW_PARENT")))return Et},[Et,er,lr]),gn=(0,ae.Z)(R.suffixIcon,R.showArrow),qn=(X=Pt!=null?Pt:Gt)!==null&&X!==void 0?X:oe,{status:pe,hasFeedback:mr,isFormItemInput:et,feedbackIcon:Ir}=o.useContext(_.aM),Vr=(0,K.F)(pe,yt),{suffixIcon:wn,removeIcon:ea,clearIcon:gt}=(0,E.Z)(Object.assign(Object.assign({},Cr),{multiple:Pr,showSuffixIcon:gn,hasFeedback:mr,feedbackIcon:Ir,prefixCls:Tn,componentName:"TreeSelect"})),nr=at===!0?{clearIcon:gt}:at;let sr;Ye!==void 0?sr=Ye:sr=(x==null?void 0:x("Select"))||o.createElement(L.Z,{componentName:"Select"});const or=(0,J.Z)(Cr,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),jr=o.useMemo(()=>j!==void 0?j:W==="rtl"?"bottomRight":"bottomLeft",[j,W]),on=(0,F.Z)(On=>{var Bn;return(Bn=ge!=null?ge:br)!==null&&Bn!==void 0?Bn:On}),Wr=o.useContext(D.Z),Dr=Ve!=null?Ve:Wr,nn=B()(!We&&wr,{[`${Tn}-lg`]:on==="large",[`${Tn}-sm`]:on==="small",[`${Tn}-rtl`]:W==="rtl",[`${Tn}-${mt}`]:Ut,[`${Tn}-in-form-item`]:et},(0,K.Z)(Tn,Vr,mr),Br,dt,fe,lt,h,z,re),sn=On=>o.createElement($e.Z,{prefixCls:Ft,switcherIcon:be,treeNodeProps:On,showLine:de}),[An]=(0,Q.Cn)("SelectLike",Nt==null?void 0:Nt.zIndex),Pn=o.createElement(Re.ZP,Object.assign({virtual:wt,disabled:Dr},or,{dropdownMatchSelectWidth:qn,builtinPlacements:(0,I.Z)(qt,Te),ref:S,prefixCls:Tn,className:nn,listHeight:He,listItemHeight:Ar,treeCheckable:ze&&o.createElement("span",{className:`${Tn}-tree-checkbox-inner`}),treeLine:!!de,suffixIcon:wn,multiple:Pr,placement:jr,removeIcon:ea,allowClear:nr,switcherIcon:sn,showTreeIcon:we,notFoundContent:sr,getPopupContainer:he||Jr,treeMotion:null,dropdownClassName:Ur,dropdownStyle:Object.assign(Object.assign({},Nt),{zIndex:An}),choiceTransitionName:(0,Y.m)(yn,"",qe),transitionName:(0,Y.m)(yn,"slide-up",Le),treeExpandAction:$t,tagRender:Pr?Ht:void 0,maxCount:Yr,showCheckedStrategy:er,treeCheckStrictly:lr}));return Oe(pn(Pn))},ce=o.forwardRef(ot),C=(0,y.Z)(ce,"dropdownAlign",R=>(0,J.Z)(R,["visible"]));ce.TreeNode=Re.OF,ce.SHOW_ALL=Re.Qw,ce.SHOW_PARENT=Re.hT,ce.SHOW_CHILD=Re.FJ,ce._InternalPanelDoNotUseOrYouWillBeFired=C;var k=ce},18287:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return We}});var o=n(3741),Je=n(94480),B=n(59301),Re=n(52671),J=n(8657),Q=n(54476),Y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},y=Y,K=n(7657),u=function(Ve,it){return B.createElement(K.Z,(0,Q.Z)({},Ve,{ref:it,icon:y}))},L=B.forwardRef(u),D=L,G=n(92310),F=n.n(G),_=n(82661),N=n(34061),I=n(48755),w=n(56082),E=n(86641),ae=n(57700),q=n(12425);const te=4;function $e(ge){const{dropPosition:Ve,dropLevelOffset:it,prefixCls:dt,indent:fe,direction:ze="ltr"}=ge,Ct=ze==="ltr"?"left":"right",He=ze==="ltr"?"right":"left",Fe={[Ct]:-it*fe+te,[He]:0};switch(Ve){case-1:Fe.top=-3;break;case 1:Fe.bottom=-3;break;default:Fe.bottom=-3,Fe[Ct]=fe+te;break}return B.createElement("div",{style:Fe,className:`${dt}-drop-indicator`})}var Ne=$e,Qe=n(85278),ye=B.forwardRef((ge,Ve)=>{var it;const{getPrefixCls:dt,direction:fe,virtual:ze,tree:Ct}=B.useContext(I.E_),{prefixCls:He,className:Fe,showIcon:j=!1,showLine:Ye,switcherIcon:be,switcherLoadingIcon:de,blockNode:he=!1,children:me,checkable:Ie=!1,selectable:we=!0,draggable:Le,motion:qe,style:yt}=ge,$t=dt("tree",He),qt=dt(),Gt=qe!=null?qe:Object.assign(Object.assign({},(0,E.Z)(qt)),{motionAppear:!1}),Pt=Object.assign(Object.assign({},ge),{checkable:Ie,selectable:we,showIcon:j,motion:Gt,blockNode:he,showLine:!!Ye,dropIndicatorRender:Ne}),[at,xt,Nt]=(0,q.ZP)($t),[,Ht]=(0,ae.ZP)(),Et=Ht.paddingXS/2+(((it=Ht.Tree)===null||it===void 0?void 0:it.titleHeight)||Ht.controlHeightSM),er=B.useMemo(()=>{if(!Le)return!1;let Cr={};switch(typeof Le){case"function":Cr.nodeDraggable=Le;break;case"object":Cr=Object.assign({},Le);break;default:break}return Cr.icon!==!1&&(Cr.icon=Cr.icon||B.createElement(w.Z,null)),Cr},[Le]),lr=Cr=>B.createElement(Qe.Z,{prefixCls:$t,switcherIcon:be,switcherLoadingIcon:de,treeNodeProps:Cr,showLine:Ye});return at(B.createElement(o.ZP,Object.assign({itemHeight:Et,ref:Ve,virtual:ze},Pt,{style:Object.assign(Object.assign({},Ct==null?void 0:Ct.style),yt),prefixCls:$t,className:F()({[`${$t}-icon-hide`]:!j,[`${$t}-block-node`]:he,[`${$t}-unselectable`]:!we,[`${$t}-rtl`]:fe==="rtl"},Ct==null?void 0:Ct.className,Fe,xt,Nt),direction:fe,checkable:Ie&&B.createElement("span",{className:`${$t}-checkbox-inner`}),selectable:we,switcherIcon:lr,draggable:er}),me))});const Ae=0,ie=1,xe=2;function M(ge,Ve,it){const{key:dt,children:fe}=it;function ze(Ct){const He=Ct[dt],Fe=Ct[fe];Ve(He,Ct)!==!1&&M(Fe||[],Ve,it)}ge.forEach(ze)}function A(ge){let{treeData:Ve,expandedKeys:it,startKey:dt,endKey:fe,fieldNames:ze}=ge;const Ct=[];let He=Ae;if(dt&&dt===fe)return[dt];if(!dt||!fe)return[];function Fe(j){return j===dt||j===fe}return M(Ve,j=>{if(He===xe)return!1;if(Fe(j)){if(Ct.push(j),He===Ae)He=ie;else if(He===ie)return He=xe,!1}else He===ie&&Ct.push(j);return it.includes(j)},(0,N.w$)(ze)),Ct}function ot(ge,Ve,it){const dt=(0,Je.Z)(Ve),fe=[];return M(ge,(ze,Ct)=>{const He=dt.indexOf(ze);return He!==-1&&(fe.push(Ct),dt.splice(He,1)),!!dt.length},(0,N.w$)(it)),fe}var ue=function(ge,Ve){var it={};for(var dt in ge)Object.prototype.hasOwnProperty.call(ge,dt)&&Ve.indexOf(dt)<0&&(it[dt]=ge[dt]);if(ge!=null&&typeof Object.getOwnPropertySymbols=="function")for(var fe=0,dt=Object.getOwnPropertySymbols(ge);fe<dt.length;fe++)Ve.indexOf(dt[fe])<0&&Object.prototype.propertyIsEnumerable.call(ge,dt[fe])&&(it[dt[fe]]=ge[dt[fe]]);return it};function ce(ge){const{isLeaf:Ve,expanded:it}=ge;return Ve?B.createElement(Re.Z,null):it?B.createElement(J.Z,null):B.createElement(D,null)}function C(ge){let{treeData:Ve,children:it}=ge;return Ve||(0,N.zn)(it)}const k=(ge,Ve)=>{var{defaultExpandAll:it,defaultExpandParent:dt,defaultExpandedKeys:fe}=ge,ze=ue(ge,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const Ct=B.useRef(null),He=B.useRef(null),Fe=()=>{const{keyEntities:at}=(0,N.I8)(C(ze));let xt;return it?xt=Object.keys(at):dt?xt=(0,_.r7)(ze.expandedKeys||fe||[],at):xt=ze.expandedKeys||fe||[],xt},[j,Ye]=B.useState(ze.selectedKeys||ze.defaultSelectedKeys||[]),[be,de]=B.useState(()=>Fe());B.useEffect(()=>{"selectedKeys"in ze&&Ye(ze.selectedKeys)},[ze.selectedKeys]),B.useEffect(()=>{"expandedKeys"in ze&&de(ze.expandedKeys)},[ze.expandedKeys]);const he=(at,xt)=>{var Nt;return"expandedKeys"in ze||de(at),(Nt=ze.onExpand)===null||Nt===void 0?void 0:Nt.call(ze,at,xt)},me=(at,xt)=>{var Nt;const{multiple:Ht,fieldNames:Et}=ze,{node:er,nativeEvent:lr}=xt,{key:Cr=""}=er,Jr=C(ze),$r=Object.assign(Object.assign({},xt),{selected:!0}),x=(lr==null?void 0:lr.ctrlKey)||(lr==null?void 0:lr.metaKey),W=lr==null?void 0:lr.shiftKey;let wt;Ht&&x?(wt=at,Ct.current=Cr,He.current=wt,$r.selectedNodes=ot(Jr,wt,Et)):Ht&&W?(wt=Array.from(new Set([].concat((0,Je.Z)(He.current||[]),(0,Je.Z)(A({treeData:Jr,expandedKeys:be,startKey:Cr,endKey:Ct.current,fieldNames:Et}))))),$r.selectedNodes=ot(Jr,wt,Et)):(wt=[Cr],Ct.current=Cr,He.current=wt,$r.selectedNodes=ot(Jr,wt,Et)),(Nt=ze.onSelect)===null||Nt===void 0||Nt.call(ze,wt,$r),"selectedKeys"in ze||Ye(wt)},{getPrefixCls:Ie,direction:we}=B.useContext(I.E_),{prefixCls:Le,className:qe,showIcon:yt=!0,expandAction:$t="click"}=ze,qt=ue(ze,["prefixCls","className","showIcon","expandAction"]),Gt=Ie("tree",Le),Pt=F()(`${Gt}-directory`,{[`${Gt}-directory-rtl`]:we==="rtl"},qe);return B.createElement(ye,Object.assign({icon:ce,ref:Ve,blockNode:!0},qt,{showIcon:yt,expandAction:$t,prefixCls:Gt,className:Pt,expandedKeys:be,selectedKeys:j,onSelect:me,onExpand:he}))};var S=B.forwardRef(k);const X=ye;X.DirectoryTree=S,X.TreeNode=o.OF;var We=X},12425:function(qr,_t,n){"use strict";n.d(_t,{ZP:function(){return _},Yk:function(){return D},TM:function(){return G}});var o=n(36237),Je=n(36170),B=n(63356),Re=n(34961),J=n(51636),Q=n(16931);const Y=N=>{let{treeCls:I,treeNodeCls:w,directoryNodeSelectedBg:E,directoryNodeSelectedColor:ae,motionDurationMid:q,borderRadius:te,controlItemBgHover:$e}=N;return{[`${I}${I}-directory ${w}`]:{[`${I}-node-content-wrapper`]:{position:"static",[`> *:not(${I}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${q}`,content:'""',borderRadius:te},"&:hover:before":{background:$e}},[`${I}-switcher, ${I}-checkbox, ${I}-draggable-icon`]:{zIndex:1},"&-selected":{[`${I}-switcher, ${I}-draggable-icon`]:{color:ae},[`${I}-node-content-wrapper`]:{color:ae,background:"transparent","&:before, &:hover:before":{background:E}}}}}},y=new o.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),K=(N,I)=>({[`.${N}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${I.motionDurationSlow}`}}}),u=(N,I)=>({[`.${N}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:I.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.unit)(I.lineWidthBold)} solid ${I.colorPrimary}`,borderRadius:"50%",content:'""'}}}),L=(N,I)=>{const{treeCls:w,treeNodeCls:E,treeNodePadding:ae,titleHeight:q,indentSize:te,nodeSelectedBg:$e,nodeHoverBg:Ne,colorTextQuaternary:Qe,controlItemBgActiveDisabled:Ze}=I;return{[w]:Object.assign(Object.assign({},(0,B.Wf)(I)),{background:I.colorBgContainer,borderRadius:I.borderRadius,transition:`background-color ${I.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,B.oN)(I)),[`${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 ${I.colorPrimary}`,opacity:0,animationName:y,animationDuration:I.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:I.borderRadius}}},[E]:{display:"flex",alignItems:"flex-start",marginBottom:ae,lineHeight:(0,o.unit)(q),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:ae},[`&-disabled ${w}-node-content-wrapper`]:{color:I.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${w}-checkbox-disabled + ${w}-node-selected,&${E}-disabled${E}-selected ${w}-node-content-wrapper`]:{backgroundColor:Ze},[`${w}-checkbox-disabled`]:{pointerEvents:"unset"},[`&:not(${E}-disabled)`]:{[`${w}-node-content-wrapper`]:{"&:hover":{color:I.nodeHoverColor}}},[`&-active ${w}-node-content-wrapper`]:{background:I.controlItemBgHover},[`&:not(${E}-disabled).filter-node ${w}-title`]:{color:I.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${w}-draggable-icon`]:{flexShrink:0,width:q,textAlign:"center",visibility:"visible",color:Qe},[`&${E}-disabled ${w}-draggable-icon`]:{visibility:"hidden"}}},[`${w}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:te}},[`${w}-draggable-icon`]:{visibility:"hidden"},[`${w}-switcher, ${w}-checkbox`]:{marginInlineEnd:I.calc(I.calc(q).sub(I.controlInteractiveSize)).div(2).equal()},[`${w}-switcher`]:Object.assign(Object.assign({},K(N,I)),{position:"relative",flex:"none",alignSelf:"stretch",width:q,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${I.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:q,height:q,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:I.borderRadius,transition:`all ${I.motionDurationSlow}`},[`&:not(${w}-switcher-noop):hover:before`]:{backgroundColor:I.colorBgTextHover},[`&_close ${w}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:I.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:I.calc(q).div(2).equal(),bottom:I.calc(ae).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${I.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:I.calc(I.calc(q).div(2).equal()).mul(.8).equal(),height:I.calc(q).div(2).equal(),borderBottom:`1px solid ${I.colorBorder}`,content:'""'}}}),[`${w}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:q,paddingBlock:0,paddingInline:I.paddingXS,background:"transparent",borderRadius:I.borderRadius,cursor:"pointer",transition:`all ${I.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},u(N,I)),{"&:hover":{backgroundColor:Ne},[`&${w}-node-selected`]:{color:I.nodeSelectedColor,backgroundColor:$e},[`${w}-iconEle`]:{display:"inline-block",width:q,height:q,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 ${I.colorPrimary}`},"&-show-line":{[`${w}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:I.calc(q).div(2).equal(),bottom:I.calc(ae).mul(-1).equal(),borderInlineEnd:`1px solid ${I.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)(I.calc(q).div(2).equal())} !important`}})}},D=function(N,I){let w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const E=`.${N}`,ae=`${E}-treenode`,q=I.calc(I.paddingXS).div(2).equal(),te=(0,J.mergeToken)(I,{treeCls:E,treeNodeCls:ae,treeNodePadding:q});return[L(N,te),w&&Y(te)].filter(Boolean)},G=N=>{const{controlHeightSM:I,controlItemBgHover:w,controlItemBgActive:E}=N,ae=I;return{titleHeight:ae,indentSize:ae,nodeHoverBg:w,nodeHoverColor:N.colorText,nodeSelectedBg:E,nodeSelectedColor:N.colorText}},F=N=>{const{colorTextLightSolid:I,colorPrimary:w}=N;return Object.assign(Object.assign({},G(N)),{directoryNodeSelectedColor:I,directoryNodeSelectedBg:w})};var _=(0,Q.I$)("Tree",(N,I)=>{let{prefixCls:w}=I;return[{[N.componentCls]:(0,Je.C2)(`${w}-checkbox`,N)},D(w,N),(0,Re.Z)(N)]},F)},85278:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return I}});var o=n(59301),Je=n(54476),B={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Re=B,J=n(7657),Q=function(E,ae){return o.createElement(J.Z,(0,Je.Z)({},E,{ref:ae,icon:Re}))},Y=o.forwardRef(Q),y=Y,K=n(52671),u=n(58617),L=n(15075),D=n(43531),G=n(92310),F=n.n(G),_=n(22703),I=w=>{const{prefixCls:E,switcherIcon:ae,treeNodeProps:q,showLine:te,switcherLoadingIcon:$e}=w,{isLeaf:Ne,expanded:Qe,loading:Ze}=q;if(Ze)return o.isValidElement($e)?$e:o.createElement(u.Z,{className:`${E}-switcher-loading-icon`});let ye;if(te&&typeof te=="object"&&(ye=te.showLeafIcon),Ne){if(!te)return null;if(typeof ye!="boolean"&&ye){const xe=typeof ye=="function"?ye(q):ye,M=`${E}-switcher-line-custom-icon`;return o.isValidElement(xe)?(0,_.Tm)(xe,{className:F()(xe.props.className||"",M)}):xe}return ye?o.createElement(K.Z,{className:`${E}-switcher-line-icon`}):o.createElement("span",{className:`${E}-switcher-leaf-line`})}const Ae=`${E}-switcher-icon`,ie=typeof ae=="function"?ae(q):ae;return o.isValidElement(ie)?(0,_.Tm)(ie,{className:F()(ie.props.className||"",Ae)}):ie!==void 0?ie:te?Qe?o.createElement(L.Z,{className:`${E}-switcher-line-icon`}):o.createElement(D.Z,{className:`${E}-switcher-line-icon`}):o.createElement(y,{className:Ae})}},530:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return qn}});var o=n(59301),Je=n(54476),B={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Re=B,J=n(7657),Q=function(mr,et){return o.createElement(J.Z,(0,Je.Z)({},mr,{ref:et,icon:Re}))},Y=o.forwardRef(Q),y=Y,K=n(92310),u=n.n(K),L=n(29301),D=n(11592),G=n(34280),F=n(18929),_=n(2738),N=n(8654),I=n(24514),w=n(48755),E=n(9017),ae=n(25399),q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},te=q,$e=function(mr,et){return o.createElement(J.Z,(0,Je.Z)({},mr,{ref:et,icon:te}))},Ne=o.forwardRef($e),Qe=Ne,Ze=n(10228),ye=n(22703),Ae=n(79809),ie=n(63356),xe=n(16931),M=n(68361),A=n(36237);const ot=(pe,mr,et,Ir)=>{const{titleMarginBottom:Vr,fontWeightStrong:wn}=Ir;return{marginBottom:Vr,color:et,fontWeight:wn,fontSize:pe,lineHeight:mr}},ue=pe=>{const mr=[1,2,3,4,5],et={};return mr.forEach(Ir=>{et[`
|
|
|
h${Ir}&,
|
|
|
div&-h${Ir},
|
|
|
div&-h${Ir} > textarea,
|
|
|
h${Ir}
|
|
|
`]=ot(pe[`fontSizeHeading${Ir}`],pe[`lineHeightHeading${Ir}`],pe.colorTextHeading,pe)}),et},ce=pe=>{const{componentCls:mr}=pe;return{"a&, a":Object.assign(Object.assign({},(0,ie.Nd)(pe)),{userSelect:"text",[`&[disabled], &${mr}-disabled`]:{color:pe.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:pe.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},C=pe=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:pe.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:pe.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:pe.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),k=pe=>{const{componentCls:mr,paddingSM:et}=pe,Ir=et;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:pe.calc(pe.paddingSM).mul(-1).equal(),marginTop:pe.calc(Ir).mul(-1).equal(),marginBottom:`calc(1em - ${(0,A.unit)(Ir)})`},[`${mr}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:pe.calc(pe.marginXS).add(2).equal(),insetBlockEnd:pe.marginXS,color:pe.colorTextDescription,fontWeight:"normal",fontSize:pe.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},R=pe=>({[`${pe.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:pe.colorSuccess}},[`${pe.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),S=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),X=pe=>{const{componentCls:mr,titleMarginTop:et}=pe;return{[mr]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:pe.colorText,wordBreak:"break-word",lineHeight:pe.lineHeight,[`&${mr}-secondary`]:{color:pe.colorTextDescription},[`&${mr}-success`]:{color:pe.colorSuccessText},[`&${mr}-warning`]:{color:pe.colorWarningText},[`&${mr}-danger`]:{color:pe.colorErrorText,"a&:active, a&:focus":{color:pe.colorErrorTextActive},"a&:hover":{color:pe.colorErrorTextHover}},[`&${mr}-disabled`]:{color:pe.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},ue(pe)),{[`
|
|
|
& + h1${mr},
|
|
|
& + h2${mr},
|
|
|
& + h3${mr},
|
|
|
& + h4${mr},
|
|
|
& + h5${mr}
|
|
|
`]:{marginTop:et},"\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:et}}}),C(pe)),ce(pe)),{[`
|
|
|
${mr}-expand,
|
|
|
${mr}-collapse,
|
|
|
${mr}-edit,
|
|
|
${mr}-copy
|
|
|
`]:Object.assign(Object.assign({},(0,ie.Nd)(pe)),{marginInlineStart:pe.marginXXS})}),k(pe)),R(pe)),S()),{"&-rtl":{direction:"rtl"}})}},We=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"});var ge=(0,xe.I$)("Typography",pe=>[X(pe)],We),it=pe=>{const{prefixCls:mr,"aria-label":et,className:Ir,style:Vr,direction:wn,maxLength:ea,autoSize:gt=!0,value:nr,onSave:sr,onCancel:or,onEnd:jr,component:on,enterIcon:Wr=o.createElement(Qe,null)}=pe,Dr=o.useRef(null),nn=o.useRef(!1),sn=o.useRef(null),[An,Pn]=o.useState(nr);o.useEffect(()=>{Pn(nr)},[nr]),o.useEffect(()=>{var Jn;if(!((Jn=Dr.current)===null||Jn===void 0)&&Jn.resizableTextArea){const{textArea:Dn}=Dr.current.resizableTextArea;Dn.focus();const{length:xn}=Dn.value;Dn.setSelectionRange(xn,xn)}},[]);const On=Jn=>{let{target:Dn}=Jn;Pn(Dn.value.replace(/[\n\r]/g,""))},Bn=()=>{nn.current=!0},ta=()=>{nn.current=!1},tn=Jn=>{let{keyCode:Dn}=Jn;nn.current||(sn.current=Dn)},$n=()=>{sr(An.trim())},Yn=Jn=>{let{keyCode:Dn,ctrlKey:xn,altKey:Kn,metaKey:Sa,shiftKey:za}=Jn;sn.current!==Dn||nn.current||xn||Kn||Sa||za||(Dn===Ze.Z.ENTER?($n(),jr==null||jr()):Dn===Ze.Z.ESC&&or())},ua=()=>{$n()},[zn,ra,Gn]=ge(mr),Wn=u()(mr,`${mr}-edit-content`,{[`${mr}-rtl`]:wn==="rtl",[`${mr}-${on}`]:!!on},Ir,ra,Gn);return zn(o.createElement("div",{className:Wn,style:Vr},o.createElement(Ae.Z,{ref:Dr,maxLength:ea,value:An,onChange:On,onKeyDown:tn,onKeyUp:Yn,onCompositionStart:Bn,onCompositionEnd:ta,onBlur:ua,"aria-label":et,rows:1,autoSize:gt}),Wr!==null?(0,ye.Tm)(Wr,{className:`${mr}-edit-content-confirm`}):null))},dt=n(25769),fe=n.n(dt),ze=n(6089),He=function(pe){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&pe==null?[]:Array.isArray(pe)?pe:[pe]},Fe=function(pe,mr,et,Ir){function Vr(wn){return wn instanceof et?wn:new et(function(ea){ea(wn)})}return new(et||(et=Promise))(function(wn,ea){function gt(or){try{sr(Ir.next(or))}catch(jr){ea(jr)}}function nr(or){try{sr(Ir.throw(or))}catch(jr){ea(jr)}}function sr(or){or.done?wn(or.value):Vr(or.value).then(gt,nr)}sr((Ir=Ir.apply(pe,mr||[])).next())})},Ye=pe=>{let{copyConfig:mr,children:et}=pe;const[Ir,Vr]=o.useState(!1),[wn,ea]=o.useState(!1),gt=o.useRef(null),nr=()=>{gt.current&&clearTimeout(gt.current)},sr={};mr.format&&(sr.format=mr.format),o.useEffect(()=>nr,[]);const or=(0,ze.Z)(jr=>Fe(void 0,void 0,void 0,function*(){var on;jr==null||jr.preventDefault(),jr==null||jr.stopPropagation(),ea(!0);try{const Wr=typeof mr.text=="function"?yield mr.text():mr.text;fe()(Wr||He(et,!0).join("")||"",sr),ea(!1),Vr(!0),nr(),gt.current=setTimeout(()=>{Vr(!1)},3e3),(on=mr.onCopy)===null||on===void 0||on.call(mr,jr)}catch(Wr){throw ea(!1),Wr}}));return{copied:Ir,copyLoading:wn,onClick:or}};function be(pe,mr){return o.useMemo(()=>{const et=!!pe;return[et,Object.assign(Object.assign({},mr),et&&typeof pe=="object"?pe:null)]},[pe])}var he=pe=>{const mr=(0,o.useRef)(void 0);return(0,o.useEffect)(()=>{mr.current=pe}),mr.current},Ie=(pe,mr,et)=>(0,o.useMemo)(()=>pe===!0?{title:mr!=null?mr:et}:(0,o.isValidElement)(pe)?{title:pe}:typeof pe=="object"?Object.assign({title:mr!=null?mr:et},pe):{title:pe},[pe,mr,et]),we=function(pe,mr){var et={};for(var Ir in pe)Object.prototype.hasOwnProperty.call(pe,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=pe[Ir]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(pe);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ir[Vr])&&(et[Ir[Vr]]=pe[Ir[Vr]]);return et},qe=o.forwardRef((pe,mr)=>{const{prefixCls:et,component:Ir="article",className:Vr,rootClassName:wn,setContentRef:ea,children:gt,direction:nr,style:sr}=pe,or=we(pe,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:jr,direction:on,className:Wr,style:Dr}=(0,w.dj)("typography"),nn=nr!=null?nr:on,sn=ea?(0,N.sQ)(mr,ea):mr,An=jr("typography",et),[Pn,On,Bn]=ge(An),ta=u()(An,Wr,{[`${An}-rtl`]:nn==="rtl"},Vr,wn,On,Bn),tn=Object.assign(Object.assign({},Dr),sr);return Pn(o.createElement(Ir,Object.assign({className:ta,style:tn,ref:sn},or),gt))}),yt=n(40001),$t=n(81953),qt=n(58617);function Gt(pe){return pe===!1?[!1,!1]:Array.isArray(pe)?pe:[pe]}function Pt(pe,mr,et){return pe===!0||pe===void 0?mr:pe||et&&mr}function at(pe){const mr=document.createElement("em");pe.appendChild(mr);const et=pe.getBoundingClientRect(),Ir=mr.getBoundingClientRect();return pe.removeChild(mr),et.left>Ir.left||Ir.right>et.right||et.top>Ir.top||Ir.bottom>et.bottom}const xt=pe=>["string","number"].includes(typeof pe);var Ht=pe=>{let{prefixCls:mr,copied:et,locale:Ir,iconOnly:Vr,tooltips:wn,icon:ea,tabIndex:gt,onCopy:nr,loading:sr}=pe;const or=Gt(wn),jr=Gt(ea),{copied:on,copy:Wr}=Ir!=null?Ir:{},Dr=et?on:Wr,nn=Pt(or[et?1:0],Dr),sn=typeof nn=="string"?nn:Dr;return o.createElement(ae.Z,{title:nn},o.createElement("button",{type:"button",className:u()(`${mr}-copy`,{[`${mr}-copy-success`]:et,[`${mr}-copy-icon-only`]:Vr}),onClick:nr,"aria-label":sn,tabIndex:gt},et?Pt(jr[1],o.createElement(yt.Z,null),!0):Pt(jr[0],sr?o.createElement(qt.Z,null):o.createElement($t.Z,null),!0)))},Et=n(94480);const er=o.forwardRef((pe,mr)=>{let{style:et,children:Ir}=pe;const Vr=o.useRef(null);return o.useImperativeHandle(mr,()=>({isExceed:()=>{const wn=Vr.current;return wn.scrollHeight>wn.clientHeight},getHeight:()=>Vr.current.clientHeight})),o.createElement("span",{"aria-hidden":!0,ref:Vr,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},et)},Ir)}),lr=pe=>pe.reduce((mr,et)=>mr+(xt(et)?String(et).length:1),0);function Cr(pe,mr){let et=0;const Ir=[];for(let Vr=0;Vr<pe.length;Vr+=1){if(et===mr)return Ir;const wn=pe[Vr],gt=xt(wn)?String(wn).length:1,nr=et+gt;if(nr>mr){const sr=mr-et;return Ir.push(String(wn).slice(0,sr)),Ir}Ir.push(wn),et=nr}return pe}const Jr=0,$r=1,x=2,W=3,wt=4,oe={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Te(pe){const{enableMeasure:mr,width:et,text:Ir,children:Vr,rows:wn,expanded:ea,miscDeps:gt,onEllipsis:nr}=pe,sr=o.useMemo(()=>(0,D.Z)(Ir),[Ir]),or=o.useMemo(()=>lr(sr),[Ir]),jr=o.useMemo(()=>Vr(sr,!1),[Ir]),[on,Wr]=o.useState(null),Dr=o.useRef(null),nn=o.useRef(null),sn=o.useRef(null),An=o.useRef(null),Pn=o.useRef(null),[On,Bn]=o.useState(!1),[ta,tn]=o.useState(Jr),[$n,Yn]=o.useState(0),[ua,zn]=o.useState(null);(0,G.Z)(()=>{tn(mr&&et&&or?$r:Jr)},[et,Ir,wn,mr,sr]),(0,G.Z)(()=>{var Jn,Dn,xn,Kn;if(ta===$r){tn(x);const Sa=nn.current&&getComputedStyle(nn.current).whiteSpace;zn(Sa)}else if(ta===x){const Sa=!!(!((Jn=sn.current)===null||Jn===void 0)&&Jn.isExceed());tn(Sa?W:wt),Wr(Sa?[0,or]:null),Bn(Sa);const za=((Dn=sn.current)===null||Dn===void 0?void 0:Dn.getHeight())||0,to=wn===1?0:((xn=An.current)===null||xn===void 0?void 0:xn.getHeight())||0,ro=((Kn=Pn.current)===null||Kn===void 0?void 0:Kn.getHeight())||0,so=Math.max(za,to+ro);Yn(so+1),nr(Sa)}},[ta]);const ra=on?Math.ceil((on[0]+on[1])/2):0;(0,G.Z)(()=>{var Jn;const[Dn,xn]=on||[0,0];if(Dn!==xn){const Sa=(((Jn=Dr.current)===null||Jn===void 0?void 0:Jn.getHeight())||0)>$n;let za=ra;xn-Dn===1&&(za=Sa?Dn:xn),Wr(Sa?[Dn,za]:[za,xn])}},[on,ra]);const Gn=o.useMemo(()=>{if(!mr)return Vr(sr,!1);if(ta!==W||!on||on[0]!==on[1]){const Jn=Vr(sr,!1);return[wt,Jr].includes(ta)?Jn:o.createElement("span",{style:Object.assign(Object.assign({},oe),{WebkitLineClamp:wn})},Jn)}return Vr(ea?sr:Cr(sr,on[0]),On)},[ea,ta,on,sr].concat((0,Et.Z)(gt))),Wn={width:et,margin:0,padding:0,whiteSpace:ua==="nowrap"?"normal":"inherit"};return o.createElement(o.Fragment,null,Gn,ta===x&&o.createElement(o.Fragment,null,o.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Wn),oe),{WebkitLineClamp:wn}),ref:sn},jr),o.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Wn),oe),{WebkitLineClamp:wn-1}),ref:An},jr),o.createElement(er,{style:Object.assign(Object.assign(Object.assign({},Wn),oe),{WebkitLineClamp:1}),ref:Pn},Vr([],!0))),ta===W&&on&&on[0]!==on[1]&&o.createElement(er,{style:Object.assign(Object.assign({},Wn),{top:400}),ref:Dr},Vr(Cr(sr,ra),!0)),ta===$r&&o.createElement("span",{style:{whiteSpace:"inherit"},ref:nn}))}var Ar=pe=>{let{enableEllipsis:mr,isEllipsis:et,children:Ir,tooltipProps:Vr}=pe;return!(Vr!=null&&Vr.title)||!mr?Ir:o.createElement(ae.Z,Object.assign({open:et?void 0:!1},Vr),Ir)},yn=function(pe,mr){var et={};for(var Ir in pe)Object.prototype.hasOwnProperty.call(pe,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=pe[Ir]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(pe);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ir[Vr])&&(et[Ir[Vr]]=pe[Ir[Vr]]);return et};function Tn(pe,mr){let{mark:et,code:Ir,underline:Vr,delete:wn,strong:ea,keyboard:gt,italic:nr}=pe,sr=mr;function or(jr,on){on&&(sr=o.createElement(jr,{},sr))}return or("strong",ea),or("u",Vr),or("del",wn),or("code",Ir),or("mark",et),or("kbd",gt),or("i",nr),sr}const Ft="...";var br=o.forwardRef((pe,mr)=>{var et;const{prefixCls:Ir,className:Vr,style:wn,type:ea,disabled:gt,children:nr,ellipsis:sr,editable:or,copyable:jr,component:on,title:Wr}=pe,Dr=yn(pe,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:nn,direction:sn}=o.useContext(w.E_),[An]=(0,E.Z)("Text"),Pn=o.useRef(null),On=o.useRef(null),Bn=nn("typography",Ir),ta=(0,_.Z)(Dr,["mark","code","delete","underline","strong","keyboard","italic"]),[tn,$n]=be(or),[Yn,ua]=(0,F.Z)(!1,{value:$n.editing}),{triggerType:zn=["icon"]}=$n,ra=Xt=>{var Tt;Xt&&((Tt=$n.onStart)===null||Tt===void 0||Tt.call($n)),ua(Xt)},Gn=he(Yn);(0,G.Z)(()=>{var Xt;!Yn&&Gn&&((Xt=On.current)===null||Xt===void 0||Xt.focus())},[Yn]);const Wn=Xt=>{Xt==null||Xt.preventDefault(),ra(!0)},Jn=Xt=>{var Tt;(Tt=$n.onChange)===null||Tt===void 0||Tt.call($n,Xt),ra(!1)},Dn=()=>{var Xt;(Xt=$n.onCancel)===null||Xt===void 0||Xt.call($n),ra(!1)},[xn,Kn]=be(jr),{copied:Sa,copyLoading:za,onClick:to}=Ye({copyConfig:Kn,children:nr}),[ro,so]=o.useState(!1),[f,s]=o.useState(!1),[p,b]=o.useState(!1),[$,v]=o.useState(!1),[T,Z]=o.useState(!0),[ee,Ee]=be(sr,{expandable:!1,symbol:Xt=>Xt?An==null?void 0:An.collapse:An==null?void 0:An.expand}),[st,jt]=(0,F.Z)(Ee.defaultExpanded||!1,{value:Ee.expanded}),At=ee&&(!st||Ee.expandable==="collapsible"),{rows:ve=1}=Ee,kt=o.useMemo(()=>At&&(Ee.suffix!==void 0||Ee.onEllipsis||Ee.expandable||tn||xn),[At,Ee,tn,xn]);(0,G.Z)(()=>{ee&&!kt&&(so((0,I.G)("webkitLineClamp")),s((0,I.G)("textOverflow")))},[kt,ee]);const[Ge,Zt]=o.useState(At),pt=o.useMemo(()=>kt?!1:ve===1?f:ro,[kt,f,ro]);(0,G.Z)(()=>{Zt(pt&&At)},[pt,At]);const ar=At&&(Ge?$:p),yr=At&&ve===1&&Ge,Qt=At&&ve>1&&Ge,nt=(Xt,Tt)=>{var ir;jt(Tt.expanded),(ir=Ee.onExpand)===null||ir===void 0||ir.call(Ee,Xt,Tt)},[Se,Vt]=o.useState(0),Mt=Xt=>{let{offsetWidth:Tt}=Xt;Vt(Tt)},Ot=Xt=>{var Tt;b(Xt),p!==Xt&&((Tt=Ee.onEllipsis)===null||Tt===void 0||Tt.call(Ee,Xt))};o.useEffect(()=>{const Xt=Pn.current;if(ee&&Ge&&Xt){const Tt=at(Xt);$!==Tt&&v(Tt)}},[ee,Ge,nr,Qt,T,Se]),o.useEffect(()=>{const Xt=Pn.current;if(typeof IntersectionObserver=="undefined"||!Xt||!Ge||!At)return;const Tt=new IntersectionObserver(()=>{Z(!!Xt.offsetParent)});return Tt.observe(Xt),()=>{Tt.disconnect()}},[Ge,At]);const Jt=Ie(Ee.tooltip,$n.text,nr),ke=o.useMemo(()=>{if(!(!ee||Ge))return[$n.text,nr,Wr,Jt.title].find(xt)},[ee,Ge,Wr,Jt.title,ar]);if(Yn)return o.createElement(it,{value:(et=$n.text)!==null&&et!==void 0?et:typeof nr=="string"?nr:"",onSave:Jn,onCancel:Dn,onEnd:$n.onEnd,prefixCls:Bn,className:Vr,style:wn,direction:sn,component:on,maxLength:$n.maxLength,autoSize:$n.autoSize,enterIcon:$n.enterIcon});const Be=()=>{const{expandable:Xt,symbol:Tt}=Ee;return Xt?o.createElement("button",{type:"button",key:"expand",className:`${Bn}-${st?"collapse":"expand"}`,onClick:ir=>nt(ir,{expanded:!st}),"aria-label":st?An.collapse:An==null?void 0:An.expand},typeof Tt=="function"?Tt(st):Tt):null},St=()=>{if(!tn)return;const{icon:Xt,tooltip:Tt,tabIndex:ir}=$n,Zr=(0,D.Z)(Tt)[0]||(An==null?void 0:An.edit),Wt=typeof Zr=="string"?Zr:"";return zn.includes("icon")?o.createElement(ae.Z,{key:"edit",title:Tt===!1?"":Zr},o.createElement("button",{type:"button",ref:On,className:`${Bn}-edit`,onClick:Wn,"aria-label":Wt,tabIndex:ir},Xt||o.createElement(y,{role:"button"}))):null},ct=()=>xn?o.createElement(Ht,Object.assign({key:"copy"},Kn,{prefixCls:Bn,copied:Sa,locale:An,onCopy:to,loading:za,iconOnly:nr==null})):null,cr=Xt=>[Xt&&Be(),St(),ct()],gr=Xt=>[Xt&&!st&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Ft),Ee.suffix,cr(Xt)];return o.createElement(L.Z,{onResize:Mt,disabled:!At},Xt=>o.createElement(Ar,{tooltipProps:Jt,enableEllipsis:At,isEllipsis:ar},o.createElement(qe,Object.assign({className:u()({[`${Bn}-${ea}`]:ea,[`${Bn}-disabled`]:gt,[`${Bn}-ellipsis`]:ee,[`${Bn}-ellipsis-single-line`]:yr,[`${Bn}-ellipsis-multiple-line`]:Qt},Vr),prefixCls:Ir,style:Object.assign(Object.assign({},wn),{WebkitLineClamp:Qt?ve:void 0}),component:on,ref:(0,N.sQ)(Xt,Pn,mr),direction:sn,onClick:zn.includes("text")?Wn:void 0,"aria-label":ke==null?void 0:ke.toString(),title:Wr},ta),o.createElement(Te,{enableMeasure:At&&!Ge,text:nr,rows:ve,width:Se,onEllipsis:Ot,expanded:st,miscDeps:[Sa,st,za,tn,xn,An]},(Tt,ir)=>Tn(pe,o.createElement(o.Fragment,null,Tt.length>0&&ir&&!st&&ke?o.createElement("span",{key:"show-content","aria-hidden":!0},Tt):Tt,gr(ir)))))))}),Br=function(pe,mr){var et={};for(var Ir in pe)Object.prototype.hasOwnProperty.call(pe,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=pe[Ir]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(pe);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ir[Vr])&&(et[Ir[Vr]]=pe[Ir[Vr]]);return et},z=o.forwardRef((pe,mr)=>{var{ellipsis:et,rel:Ir}=pe,Vr=Br(pe,["ellipsis","rel"]);const wn=Object.assign(Object.assign({},Vr),{rel:Ir===void 0&&Vr.target==="_blank"?"noopener noreferrer":Ir});return delete wn.navigate,o.createElement(br,Object.assign({},wn,{ref:mr,ellipsis:!!et,component:"a"}))}),re=o.forwardRef((pe,mr)=>o.createElement(br,Object.assign({ref:mr},pe,{component:"div"}))),lt=function(pe,mr){var et={};for(var Ir in pe)Object.prototype.hasOwnProperty.call(pe,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=pe[Ir]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(pe);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ir[Vr])&&(et[Ir[Vr]]=pe[Ir[Vr]]);return et};const pn=(pe,mr)=>{var{ellipsis:et}=pe,Ir=lt(pe,["ellipsis"]);const Vr=o.useMemo(()=>et&&typeof et=="object"?(0,_.Z)(et,["expandable","rows"]):et,[et]);return o.createElement(br,Object.assign({ref:mr},Ir,{ellipsis:Vr,component:"span"}))};var mt=o.forwardRef(pn),Ut=function(pe,mr){var et={};for(var Ir in pe)Object.prototype.hasOwnProperty.call(pe,Ir)&&mr.indexOf(Ir)<0&&(et[Ir]=pe[Ir]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vr=0,Ir=Object.getOwnPropertySymbols(pe);Vr<Ir.length;Vr++)mr.indexOf(Ir[Vr])<0&&Object.prototype.propertyIsEnumerable.call(pe,Ir[Vr])&&(et[Ir[Vr]]=pe[Ir[Vr]]);return et};const Ur=[1,2,3,4,5];var Yr=o.forwardRef((pe,mr)=>{const{level:et=1}=pe,Ir=Ut(pe,["level"]),Vr=Ur.includes(et)?`h${et}`:"h1";return o.createElement(br,Object.assign({ref:mr},Ir,{component:Vr}))});const gn=qe;gn.Text=mt,gn.Link=z,gn.Title=Yr,gn.Paragraph=re;var qn=gn},14566:function(qr,_t,n){"use strict";n.d(_t,{default:function(){return Tn}});var o=n(59301),Je=n(94480),B=n(4676),Re=n(92310),J=n.n(Re),Q=n(90472),Y=n(18929),y=n(48755),K=n(2171),u=n(9017),L=n(85981),D=n(63356),G=n(34961),F=n(16931),_=n(51636),N=n(36237),w=Ft=>{const{componentCls:wr,iconCls:br}=Ft;return{[`${wr}-wrapper`]:{[`${wr}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:Ft.colorFillAlter,border:`${(0,N.unit)(Ft.lineWidth)} dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[wr]:{padding:Ft.padding},[`${wr}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:Ft.borderRadiusLG,"&:focus-visible":{outline:`${(0,N.unit)(Ft.lineWidthFocus)} solid ${Ft.colorPrimaryBorder}`}},[`${wr}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`
|
|
|
&:not(${wr}-disabled):hover,
|
|
|
&-hover:not(${wr}-disabled)
|
|
|
`]:{borderColor:Ft.colorPrimaryHover},[`p${wr}-drag-icon`]:{marginBottom:Ft.margin,[br]:{color:Ft.colorPrimary,fontSize:Ft.uploadThumbnailSize}},[`p${wr}-text`]:{margin:`0 0 ${(0,N.unit)(Ft.marginXXS)}`,color:Ft.colorTextHeading,fontSize:Ft.fontSizeLG},[`p${wr}-hint`]:{color:Ft.colorTextDescription,fontSize:Ft.fontSize},[`&${wr}-disabled`]:{[`p${wr}-drag-icon ${br},
|
|
|
p${wr}-text,
|
|
|
p${wr}-hint
|
|
|
`]:{color:Ft.colorTextDisabled}}}}}},ae=Ft=>{const{componentCls:wr,iconCls:br,fontSize:Br,lineHeight:h,calc:z}=Ft,Oe=`${wr}-list-item`,re=`${Oe}-actions`,lt=`${Oe}-action`;return{[`${wr}-wrapper`]:{[`${wr}-list`]:Object.assign(Object.assign({},(0,D.dF)()),{lineHeight:Ft.lineHeight,[Oe]:{position:"relative",height:z(Ft.lineHeight).mul(Br).equal(),marginTop:Ft.marginXS,fontSize:Br,display:"flex",alignItems:"center",transition:`background-color ${Ft.motionDurationSlow}`,borderRadius:Ft.borderRadiusSM,"&:hover":{backgroundColor:Ft.controlItemBgHover},[`${Oe}-name`]:Object.assign(Object.assign({},D.vS),{padding:`0 ${(0,N.unit)(Ft.paddingXS)}`,lineHeight:h,flex:"auto",transition:`all ${Ft.motionDurationSlow}`}),[re]:{whiteSpace:"nowrap",[lt]:{opacity:0},[br]:{color:Ft.actionsColor,transition:`all ${Ft.motionDurationSlow}`},[`
|
|
|
${lt}:focus-visible,
|
|
|
&.picture ${lt}
|
|
|
`]:{opacity:1}},[`${wr}-icon ${br}`]:{color:Ft.colorTextDescription,fontSize:Br},[`${Oe}-progress`]:{position:"absolute",bottom:Ft.calc(Ft.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:z(Br).add(Ft.paddingXS).equal(),fontSize:Br,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Oe}:hover ${lt}`]:{opacity:1},[`${Oe}-error`]:{color:Ft.colorError,[`${Oe}-name, ${wr}-icon ${br}`]:{color:Ft.colorError},[re]:{[`${br}, ${br}:hover`]:{color:Ft.colorError},[lt]:{opacity:1}}},[`${wr}-list-item-container`]:{transition:`opacity ${Ft.motionDurationSlow}, height ${Ft.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},q=n(99495),$e=Ft=>{const{componentCls:wr}=Ft,br=new N.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:Ft.calc(Ft.marginXS).div(-2).equal()}}),Br=new N.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:Ft.calc(Ft.marginXS).div(-2).equal()}}),h=`${wr}-animate-inline`;return[{[`${wr}-wrapper`]:{[`${h}-appear, ${h}-enter, ${h}-leave`]:{animationDuration:Ft.motionDurationSlow,animationTimingFunction:Ft.motionEaseInOutCirc,animationFillMode:"forwards"},[`${h}-appear, ${h}-enter`]:{animationName:br},[`${h}-leave`]:{animationName:Br}}},{[`${wr}-wrapper`]:(0,q.J$)(Ft)},br,Br]},Ne=n(68361);const Qe=Ft=>{const{componentCls:wr,iconCls:br,uploadThumbnailSize:Br,uploadProgressOffset:h,calc:z}=Ft,Oe=`${wr}-list`,re=`${Oe}-item`;return{[`${wr}-wrapper`]:{[`
|
|
|
${Oe}${Oe}-picture,
|
|
|
${Oe}${Oe}-picture-card,
|
|
|
${Oe}${Oe}-picture-circle
|
|
|
`]:{[re]:{position:"relative",height:z(Br).add(z(Ft.lineWidth).mul(2)).add(z(Ft.paddingXS).mul(2)).equal(),padding:Ft.paddingXS,border:`${(0,N.unit)(Ft.lineWidth)} ${Ft.lineType} ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,"&:hover":{background:"transparent"},[`${re}-thumbnail`]:Object.assign(Object.assign({},D.vS),{width:Br,height:Br,lineHeight:(0,N.unit)(z(Br).add(Ft.paddingSM).equal()),textAlign:"center",flex:"none",[br]:{fontSize:Ft.fontSizeHeading2,color:Ft.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${re}-progress`]:{bottom:h,width:`calc(100% - ${(0,N.unit)(z(Ft.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:z(Br).add(Ft.paddingXS).equal()}},[`${re}-error`]:{borderColor:Ft.colorError,[`${re}-thumbnail ${br}`]:{[`svg path[fill='${Ne.blue[0]}']`]:{fill:Ft.colorErrorBg},[`svg path[fill='${Ne.blue.primary}']`]:{fill:Ft.colorError}}},[`${re}-uploading`]:{borderStyle:"dashed",[`${re}-name`]:{marginBottom:h}}},[`${Oe}${Oe}-picture-circle ${re}`]:{[`&, &::before, ${re}-thumbnail`]:{borderRadius:"50%"}}}}},Ze=Ft=>{const{componentCls:wr,iconCls:br,fontSizeLG:Br,colorTextLightSolid:h,calc:z}=Ft,Oe=`${wr}-list`,re=`${Oe}-item`,lt=Ft.uploadPicCardSize;return{[`
|
|
|
${wr}-wrapper${wr}-picture-card-wrapper,
|
|
|
${wr}-wrapper${wr}-picture-circle-wrapper
|
|
|
`]:Object.assign(Object.assign({},(0,D.dF)()),{display:"block",[`${wr}${wr}-select`]:{width:lt,height:lt,textAlign:"center",verticalAlign:"top",backgroundColor:Ft.colorFillAlter,border:`${(0,N.unit)(Ft.lineWidth)} dashed ${Ft.colorBorder}`,borderRadius:Ft.borderRadiusLG,cursor:"pointer",transition:`border-color ${Ft.motionDurationSlow}`,[`> ${wr}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${wr}-disabled):hover`]:{borderColor:Ft.colorPrimary}},[`${Oe}${Oe}-picture-card, ${Oe}${Oe}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:Ft.marginXS,marginInlineEnd:Ft.marginXS}},"@supports (gap: 1px)":{gap:Ft.marginXS},[`${Oe}-item-container`]:{display:"inline-block",width:lt,height:lt,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[re]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,N.unit)(z(Ft.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,N.unit)(z(Ft.paddingXS).mul(2).equal())})`,backgroundColor:Ft.colorBgMask,opacity:0,transition:`all ${Ft.motionDurationSlow}`,content:'" "'}},[`${re}:hover`]:{[`&::before, ${re}-actions`]:{opacity:1}},[`${re}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${Ft.motionDurationSlow}`,[`
|
|
|
${br}-eye,
|
|
|
${br}-download,
|
|
|
${br}-delete
|
|
|
`]:{zIndex:10,width:Br,margin:`0 ${(0,N.unit)(Ft.marginXXS)}`,fontSize:Br,cursor:"pointer",transition:`all ${Ft.motionDurationSlow}`,color:h,"&:hover":{color:h},svg:{verticalAlign:"baseline"}}},[`${re}-thumbnail, ${re}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${re}-name`]:{display:"none",textAlign:"center"},[`${re}-file + ${re}-name`]:{position:"absolute",bottom:Ft.margin,display:"block",width:`calc(100% - ${(0,N.unit)(z(Ft.paddingXS).mul(2).equal())})`},[`${re}-uploading`]:{[`&${re}`]:{backgroundColor:Ft.colorFillAlter},[`&::before, ${br}-eye, ${br}-download, ${br}-delete`]:{display:"none"}},[`${re}-progress`]:{bottom:Ft.marginXL,width:`calc(100% - ${(0,N.unit)(z(Ft.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${wr}-wrapper${wr}-picture-circle-wrapper`]:{[`${wr}${wr}-select`]:{borderRadius:"50%"}}}};var Ae=Ft=>{const{componentCls:wr}=Ft;return{[`${wr}-rtl`]:{direction:"rtl"}}};const ie=Ft=>{const{componentCls:wr,colorTextDisabled:br}=Ft;return{[`${wr}-wrapper`]:Object.assign(Object.assign({},(0,D.Wf)(Ft)),{[wr]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${wr}-select`]:{display:"inline-block"},[`${wr}-hidden`]:{display:"none"},[`${wr}-disabled`]:{color:br,cursor:"not-allowed"}})}},xe=Ft=>({actionsColor:Ft.colorTextDescription});var M=(0,F.I$)("Upload",Ft=>{const{fontSizeHeading3:wr,fontHeight:br,lineWidth:Br,controlHeightLG:h,calc:z}=Ft,Oe=(0,_.mergeToken)(Ft,{uploadThumbnailSize:z(wr).mul(2).equal(),uploadProgressOffset:z(z(br).div(2)).add(Br).equal(),uploadPicCardSize:z(h).mul(2.55).equal()});return[ie(Oe),w(Oe),Qe(Oe),Ze(Oe),ae(Oe),$e(Oe),Ae(Oe),(0,G.Z)(Oe)]},xe),A=n(54476),ot={icon:function(wr,br){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:br}},{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:wr}}]}},name:"file",theme:"twotone"},ue=ot,ce=n(7657),C=function(wr,br){return o.createElement(ce.Z,(0,A.Z)({},wr,{ref:br,icon:ue}))},k=o.forwardRef(C),R=k,S=n(58617),X={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},We=X,ge=function(wr,br){return o.createElement(ce.Z,(0,A.Z)({},wr,{ref:br,icon:We}))},Ve=o.forwardRef(ge),it=Ve,dt={icon:function(wr,br){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:wr}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:br}},{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:br}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:br}},{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:wr}}]}},name:"picture",theme:"twotone"},fe=dt,ze=function(wr,br){return o.createElement(ce.Z,(0,A.Z)({},wr,{ref:br,icon:fe}))},Ct=o.forwardRef(ze),He=Ct,Fe=n(77900),j=n(2738),Ye=n(40192),be=n(86641),de=n(22703),he=n(7939);function me(Ft){return Object.assign(Object.assign({},Ft),{lastModified:Ft.lastModified,lastModifiedDate:Ft.lastModifiedDate,name:Ft.name,size:Ft.size,type:Ft.type,uid:Ft.uid,percent:0,originFileObj:Ft})}function Ie(Ft,wr){const br=(0,Je.Z)(wr),Br=br.findIndex(h=>{let{uid:z}=h;return z===Ft.uid});return Br===-1?br.push(Ft):br[Br]=Ft,br}function we(Ft,wr){const br=Ft.uid!==void 0?"uid":"name";return wr.filter(Br=>Br[br]===Ft[br])[0]}function Le(Ft,wr){const br=Ft.uid!==void 0?"uid":"name",Br=wr.filter(h=>h[br]!==Ft[br]);return Br.length===wr.length?null:Br}const qe=function(){const wr=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Br=wr[wr.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Br)||[""])[0]},yt=Ft=>Ft.indexOf("image/")===0,$t=Ft=>{if(Ft.type&&!Ft.thumbUrl)return yt(Ft.type);const wr=Ft.thumbUrl||Ft.url||"",br=qe(wr);return/^data:image\//.test(wr)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(br)?!0:!(/^data:/.test(wr)||br)},qt=200;function Gt(Ft){return new Promise(wr=>{if(!Ft.type||!yt(Ft.type)){wr("");return}const br=document.createElement("canvas");br.width=qt,br.height=qt,br.style.cssText=`position: fixed; left: 0; top: 0; width: ${qt}px; height: ${qt}px; z-index: 9999; display: none;`,document.body.appendChild(br);const Br=br.getContext("2d"),h=new Image;if(h.onload=()=>{const{width:z,height:Oe}=h;let re=qt,lt=qt,pn=0,mt=0;z>Oe?(lt=Oe*(qt/z),mt=-(lt-re)/2):(re=z*(qt/Oe),pn=-(re-lt)/2),Br.drawImage(h,pn,mt,re,lt);const Ut=br.toDataURL();document.body.removeChild(br),window.URL.revokeObjectURL(h.src),wr(Ut)},h.crossOrigin="anonymous",Ft.type.startsWith("image/svg+xml")){const z=new FileReader;z.onload=()=>{z.result&&typeof z.result=="string"&&(h.src=z.result)},z.readAsDataURL(Ft)}else if(Ft.type.startsWith("image/gif")){const z=new FileReader;z.onload=()=>{z.result&&wr(z.result)},z.readAsDataURL(Ft)}else h.src=window.URL.createObjectURL(Ft)})}var Pt=n(26227),at=n(41464),xt=n(15277),Nt=n(60242),Ht=n(25399),er=o.forwardRef((Ft,wr)=>{let{prefixCls:br,className:Br,style:h,locale:z,listType:Oe,file:re,items:lt,progress:pn,iconRender:mt,actionIconRender:Ut,itemRender:Ur,isImgUrl:Pr,showPreviewIcon:Yr,showRemoveIcon:gn,showDownloadIcon:qn,previewIcon:pe,removeIcon:mr,downloadIcon:et,extra:Ir,onPreview:Vr,onDownload:wn,onClose:ea}=Ft;var gt,nr;const{status:sr}=re,[or,jr]=o.useState(sr);o.useEffect(()=>{sr!=="removed"&&jr(sr)},[sr]);const[on,Wr]=o.useState(!1);o.useEffect(()=>{const xn=setTimeout(()=>{Wr(!0)},300);return()=>{clearTimeout(xn)}},[]);const Dr=mt(re);let nn=o.createElement("div",{className:`${br}-icon`},Dr);if(Oe==="picture"||Oe==="picture-card"||Oe==="picture-circle")if(or==="uploading"||!re.thumbUrl&&!re.url){const xn=J()(`${br}-list-item-thumbnail`,{[`${br}-list-item-file`]:or!=="uploading"});nn=o.createElement("div",{className:xn},Dr)}else{const xn=Pr!=null&&Pr(re)?o.createElement("img",{src:re.thumbUrl||re.url,alt:re.name,className:`${br}-list-item-image`,crossOrigin:re.crossOrigin}):Dr,Kn=J()(`${br}-list-item-thumbnail`,{[`${br}-list-item-file`]:Pr&&!Pr(re)});nn=o.createElement("a",{className:Kn,onClick:Sa=>Vr(re,Sa),href:re.url||re.thumbUrl,target:"_blank",rel:"noopener noreferrer"},xn)}const sn=J()(`${br}-list-item`,`${br}-list-item-${or}`),An=typeof re.linkProps=="string"?JSON.parse(re.linkProps):re.linkProps,Pn=(typeof gn=="function"?gn(re):gn)?Ut((typeof mr=="function"?mr(re):mr)||o.createElement(Pt.Z,null),()=>ea(re),br,z.removeFile,!0):null,On=(typeof qn=="function"?qn(re):qn)&&or==="done"?Ut((typeof et=="function"?et(re):et)||o.createElement(at.Z,null),()=>wn(re),br,z.downloadFile):null,Bn=Oe!=="picture-card"&&Oe!=="picture-circle"&&o.createElement("span",{key:"download-delete",className:J()(`${br}-list-item-actions`,{picture:Oe==="picture"})},On,Pn),ta=typeof Ir=="function"?Ir(re):Ir,tn=ta&&o.createElement("span",{className:`${br}-list-item-extra`},ta),$n=J()(`${br}-list-item-name`),Yn=re.url?o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:$n,title:re.name},An,{href:re.url,onClick:xn=>Vr(re,xn)}),re.name,tn):o.createElement("span",{key:"view",className:$n,onClick:xn=>Vr(re,xn),title:re.name},re.name,tn),ua=(typeof Yr=="function"?Yr(re):Yr)&&(re.url||re.thumbUrl)?o.createElement("a",{href:re.url||re.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:xn=>Vr(re,xn),title:z.previewFile},typeof pe=="function"?pe(re):pe||o.createElement(xt.Z,null)):null,zn=(Oe==="picture-card"||Oe==="picture-circle")&&or!=="uploading"&&o.createElement("span",{className:`${br}-list-item-actions`},ua,or==="done"&&On,Pn),{getPrefixCls:ra}=o.useContext(y.E_),Gn=ra(),Wn=o.createElement("div",{className:sn},nn,Yn,Bn,zn,on&&o.createElement(Fe.default,{motionName:`${Gn}-fade`,visible:or==="uploading",motionDeadline:2e3},xn=>{let{className:Kn}=xn;const Sa="percent"in re?o.createElement(Nt.Z,Object.assign({},pn,{type:"line",percent:re.percent,"aria-label":re["aria-label"],"aria-labelledby":re["aria-labelledby"]})):null;return o.createElement("div",{className:J()(`${br}-list-item-progress`,Kn)},Sa)})),Jn=re.response&&typeof re.response=="string"?re.response:((gt=re.error)===null||gt===void 0?void 0:gt.statusText)||((nr=re.error)===null||nr===void 0?void 0:nr.message)||z.uploadError,Dn=or==="error"?o.createElement(Ht.Z,{title:Jn,getPopupContainer:xn=>xn.parentNode},Wn):Wn;return o.createElement("div",{className:J()(`${br}-list-item-container`,Br),style:h,ref:wr},Ur?Ur(Dn,re,lt,{download:wn.bind(null,re),preview:Vr.bind(null,re),remove:ea.bind(null,re)}):Dn)});const lr=(Ft,wr)=>{const{listType:br="text",previewFile:Br=Gt,onPreview:h,onDownload:z,onRemove:Oe,locale:re,iconRender:lt,isImageUrl:pn=$t,prefixCls:mt,items:Ut=[],showPreviewIcon:Ur=!0,showRemoveIcon:Pr=!0,showDownloadIcon:Yr=!1,removeIcon:gn,previewIcon:qn,downloadIcon:pe,extra:mr,progress:et={size:[-1,2],showInfo:!1},appendAction:Ir,appendActionVisible:Vr=!0,itemRender:wn,disabled:ea}=Ft,gt=(0,Ye.Z)(),[nr,sr]=o.useState(!1),or=["picture-card","picture-circle"].includes(br);o.useEffect(()=>{br.startsWith("picture")&&(Ut||[]).forEach(tn=>{!(tn.originFileObj instanceof File||tn.originFileObj instanceof Blob)||tn.thumbUrl!==void 0||(tn.thumbUrl="",Br==null||Br(tn.originFileObj).then($n=>{tn.thumbUrl=$n||"",gt()}))})},[br,Ut,Br]),o.useEffect(()=>{sr(!0)},[]);const jr=(tn,$n)=>{if(h)return $n==null||$n.preventDefault(),h(tn)},on=tn=>{typeof z=="function"?z(tn):tn.url&&window.open(tn.url)},Wr=tn=>{Oe==null||Oe(tn)},Dr=tn=>{if(lt)return lt(tn,br);const $n=tn.status==="uploading";if(br.startsWith("picture")){const Yn=br==="picture"?o.createElement(S.Z,null):re.uploading,ua=pn!=null&&pn(tn)?o.createElement(He,null):o.createElement(R,null);return $n?Yn:ua}return $n?o.createElement(S.Z,null):o.createElement(it,null)},nn=(tn,$n,Yn,ua,zn)=>{const ra={type:"text",size:"small",title:ua,onClick:Gn=>{var Wn,Jn;$n(),o.isValidElement(tn)&&((Jn=(Wn=tn.props).onClick)===null||Jn===void 0||Jn.call(Wn,Gn))},className:`${Yn}-list-item-action`};return zn&&(ra.disabled=ea),o.isValidElement(tn)?o.createElement(he.ZP,Object.assign({},ra,{icon:(0,de.Tm)(tn,Object.assign(Object.assign({},tn.props),{onClick:()=>{}}))})):o.createElement(he.ZP,Object.assign({},ra),o.createElement("span",null,tn))};o.useImperativeHandle(wr,()=>({handlePreview:jr,handleDownload:on}));const{getPrefixCls:sn}=o.useContext(y.E_),An=sn("upload",mt),Pn=sn(),On=J()(`${An}-list`,`${An}-list-${br}`),Bn=o.useMemo(()=>(0,j.Z)((0,be.Z)(Pn),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[Pn]),ta=Object.assign(Object.assign({},or?{}:Bn),{motionDeadline:2e3,motionName:`${An}-${or?"animate-inline":"animate"}`,keys:(0,Je.Z)(Ut.map(tn=>({key:tn.uid,file:tn}))),motionAppear:nr});return o.createElement("div",{className:On},o.createElement(Fe.CSSMotionList,Object.assign({},ta,{component:!1}),tn=>{let{key:$n,file:Yn,className:ua,style:zn}=tn;return o.createElement(er,{key:$n,locale:re,prefixCls:An,className:ua,style:zn,file:Yn,items:Ut,progress:et,listType:br,isImgUrl:pn,showPreviewIcon:Ur,showRemoveIcon:Pr,showDownloadIcon:Yr,removeIcon:gn,previewIcon:qn,downloadIcon:pe,extra:mr,iconRender:Dr,actionIconRender:nn,itemRender:wn,onPreview:jr,onDownload:on,onClose:Wr})}),Ir&&o.createElement(Fe.default,Object.assign({},ta,{visible:Vr,forceRender:!0}),tn=>{let{className:$n,style:Yn}=tn;return(0,de.Tm)(Ir,ua=>({className:J()(ua.className,$n),style:Object.assign(Object.assign(Object.assign({},Yn),{pointerEvents:$n?"none":void 0}),ua.style)}))}))};var Jr=o.forwardRef(lr),$r=function(Ft,wr,br,Br){function h(z){return z instanceof br?z:new br(function(Oe){Oe(z)})}return new(br||(br=Promise))(function(z,Oe){function re(mt){try{pn(Br.next(mt))}catch(Ut){Oe(Ut)}}function lt(mt){try{pn(Br.throw(mt))}catch(Ut){Oe(Ut)}}function pn(mt){mt.done?z(mt.value):h(mt.value).then(re,lt)}pn((Br=Br.apply(Ft,wr||[])).next())})};const x=`__LIST_IGNORE_${Date.now()}__`,W=(Ft,wr)=>{const{fileList:br,defaultFileList:Br,onRemove:h,showUploadList:z=!0,listType:Oe="text",onPreview:re,onDownload:lt,onChange:pn,onDrop:mt,previewFile:Ut,disabled:Ur,locale:Pr,iconRender:Yr,isImageUrl:gn,progress:qn,prefixCls:pe,className:mr,type:et="select",children:Ir,style:Vr,itemRender:wn,maxCount:ea,data:gt={},multiple:nr=!1,hasControlInside:sr=!0,action:or="",accept:jr="",supportServerRender:on=!0,rootClassName:Wr}=Ft,Dr=o.useContext(K.Z),nn=Ur!=null?Ur:Dr,[sn,An]=(0,Y.Z)(Br||[],{value:br,postState:kt=>kt!=null?kt:[]}),[Pn,On]=o.useState("drop"),Bn=o.useRef(null),ta=o.useRef(null);o.useMemo(()=>{const kt=Date.now();(br||[]).forEach((Ge,Zt)=>{!Ge.uid&&!Object.isFrozen(Ge)&&(Ge.uid=`__AUTO__${kt}_${Zt}__`)})},[br]);const tn=(kt,Ge,Zt)=>{let pt=(0,Je.Z)(Ge),ar=!1;ea===1?pt=pt.slice(-1):ea&&(ar=pt.length>ea,pt=pt.slice(0,ea)),(0,B.flushSync)(()=>{An(pt)});const yr={file:kt,fileList:pt};Zt&&(yr.event=Zt),(!ar||kt.status==="removed"||pt.some(Qt=>Qt.uid===kt.uid))&&(0,B.flushSync)(()=>{pn==null||pn(yr)})},$n=(kt,Ge)=>$r(void 0,void 0,void 0,function*(){const{beforeUpload:Zt,transformFile:pt}=Ft;let ar=kt;if(Zt){const yr=yield Zt(kt,Ge);if(yr===!1)return!1;if(delete kt[x],yr===x)return Object.defineProperty(kt,x,{value:!0,configurable:!0}),!1;typeof yr=="object"&&yr&&(ar=yr)}return pt&&(ar=yield pt(ar)),ar}),Yn=kt=>{const Ge=kt.filter(ar=>!ar.file[x]);if(!Ge.length)return;const Zt=Ge.map(ar=>me(ar.file));let pt=(0,Je.Z)(sn);Zt.forEach(ar=>{pt=Ie(ar,pt)}),Zt.forEach((ar,yr)=>{let Qt=ar;if(Ge[yr].parsedFile)ar.status="uploading";else{const{originFileObj:nt}=ar;let Se;try{Se=new File([nt],nt.name,{type:nt.type})}catch(Vt){Se=new Blob([nt],{type:nt.type}),Se.name=nt.name,Se.lastModifiedDate=new Date,Se.lastModified=new Date().getTime()}Se.uid=ar.uid,Qt=Se}tn(Qt,pt)})},ua=(kt,Ge,Zt)=>{try{typeof kt=="string"&&(kt=JSON.parse(kt))}catch(yr){}if(!we(Ge,sn))return;const pt=me(Ge);pt.status="done",pt.percent=100,pt.response=kt,pt.xhr=Zt;const ar=Ie(pt,sn);tn(pt,ar)},zn=(kt,Ge)=>{if(!we(Ge,sn))return;const Zt=me(Ge);Zt.status="uploading",Zt.percent=kt.percent;const pt=Ie(Zt,sn);tn(Zt,pt,kt)},ra=(kt,Ge,Zt)=>{if(!we(Zt,sn))return;const pt=me(Zt);pt.error=kt,pt.response=Ge,pt.status="error";const ar=Ie(pt,sn);tn(pt,ar)},Gn=kt=>{let Ge;Promise.resolve(typeof h=="function"?h(kt):h).then(Zt=>{var pt;if(Zt===!1)return;const ar=Le(kt,sn);ar&&(Ge=Object.assign(Object.assign({},kt),{status:"removed"}),sn==null||sn.forEach(yr=>{const Qt=Ge.uid!==void 0?"uid":"name";yr[Qt]===Ge[Qt]&&!Object.isFrozen(yr)&&(yr.status="removed")}),(pt=Bn.current)===null||pt===void 0||pt.abort(Ge),tn(Ge,ar))})},Wn=kt=>{On(kt.type),kt.type==="drop"&&(mt==null||mt(kt))};o.useImperativeHandle(wr,()=>({onBatchStart:Yn,onSuccess:ua,onProgress:zn,onError:ra,fileList:sn,upload:Bn.current,nativeElement:ta.current}));const{getPrefixCls:Jn,direction:Dn,upload:xn}=o.useContext(y.E_),Kn=Jn("upload",pe),Sa=Object.assign(Object.assign({onBatchStart:Yn,onError:ra,onProgress:zn,onSuccess:ua},Ft),{data:gt,multiple:nr,action:or,accept:jr,supportServerRender:on,prefixCls:Kn,disabled:nn,beforeUpload:$n,onChange:void 0,hasControlInside:sr});delete Sa.className,delete Sa.style,(!Ir||nn)&&delete Sa.id;const za=`${Kn}-wrapper`,[to,ro,so]=M(Kn,za),[f]=(0,u.Z)("Upload",L.Z.Upload),{showRemoveIcon:s,showPreviewIcon:p,showDownloadIcon:b,removeIcon:$,previewIcon:v,downloadIcon:T,extra:Z}=typeof z=="boolean"?{}:z,ee=typeof s=="undefined"?!nn:s,Ee=(kt,Ge)=>z?o.createElement(Jr,{prefixCls:Kn,listType:Oe,items:sn,previewFile:Ut,onPreview:re,onDownload:lt,onRemove:Gn,showRemoveIcon:ee,showPreviewIcon:p,showDownloadIcon:b,removeIcon:$,previewIcon:v,downloadIcon:T,iconRender:Yr,extra:Z,locale:Object.assign(Object.assign({},f),Pr),isImageUrl:gn,progress:qn,appendAction:kt,appendActionVisible:Ge,itemRender:wn,disabled:nn}):kt,st=J()(za,mr,Wr,ro,so,xn==null?void 0:xn.className,{[`${Kn}-rtl`]:Dn==="rtl",[`${Kn}-picture-card-wrapper`]:Oe==="picture-card",[`${Kn}-picture-circle-wrapper`]:Oe==="picture-circle"}),jt=Object.assign(Object.assign({},xn==null?void 0:xn.style),Vr);if(et==="drag"){const kt=J()(ro,Kn,`${Kn}-drag`,{[`${Kn}-drag-uploading`]:sn.some(Ge=>Ge.status==="uploading"),[`${Kn}-drag-hover`]:Pn==="dragover",[`${Kn}-disabled`]:nn,[`${Kn}-rtl`]:Dn==="rtl"});return to(o.createElement("span",{className:st,ref:ta},o.createElement("div",{className:kt,style:jt,onDrop:Wn,onDragOver:Wn,onDragLeave:Wn},o.createElement(Q.Z,Object.assign({},Sa,{ref:Bn,className:`${Kn}-btn`}),o.createElement("div",{className:`${Kn}-drag-container`},Ir))),Ee()))}const At=J()(Kn,`${Kn}-select`,{[`${Kn}-disabled`]:nn,[`${Kn}-hidden`]:!Ir}),ve=o.createElement("div",{className:At},o.createElement(Q.Z,Object.assign({},Sa,{ref:Bn})));return to(Oe==="picture-card"||Oe==="picture-circle"?o.createElement("span",{className:st,ref:ta},Ee(ve,!!Ir)):o.createElement("span",{className:st,ref:ta},ve,Ee()))};var oe=o.forwardRef(W),Te=function(Ft,wr){var br={};for(var Br in Ft)Object.prototype.hasOwnProperty.call(Ft,Br)&&wr.indexOf(Br)<0&&(br[Br]=Ft[Br]);if(Ft!=null&&typeof Object.getOwnPropertySymbols=="function")for(var h=0,Br=Object.getOwnPropertySymbols(Ft);h<Br.length;h++)wr.indexOf(Br[h])<0&&Object.prototype.propertyIsEnumerable.call(Ft,Br[h])&&(br[Br[h]]=Ft[Br[h]]);return br},Ar=o.forwardRef((Ft,wr)=>{var{style:br,height:Br,hasControlInside:h=!1}=Ft,z=Te(Ft,["style","height","hasControlInside"]);return o.createElement(oe,Object.assign({ref:wr,hasControlInside:h},z,{type:"drag",style:Object.assign(Object.assign({},br),{height:Br})}))});const yn=oe;yn.Dragger=Ar,yn.LIST_IGNORE=x;var Tn=yn},44164:function(qr,_t,n){var o=n(97671);(function(B,Re){qr.exports=Re(n(28685),n(64270))})(self,function(Je,B){return function(){var Re={"./src/plugin/hyperlinks.js":function(y,K,u){"use strict";u.r(K);var L=u("./node_modules/core-js/modules/web.dom-collections.for-each.js"),D=u.n(L),G=u("./node_modules/core-js/modules/es.string.link.js"),F=u.n(G),_=u("./src/worker.js"),N=u("./src/utils.js"),I=[],w={toContainer:_.default.prototype.toContainer,toPdf:_.default.prototype.toPdf};_.default.prototype.toContainer=function(){return w.toContainer.call(this).then(function(){if(this.opt.enableLinks){var q=this.prop.container,te=q.querySelectorAll("a"),$e=(0,N.unitConvert)(q.getBoundingClientRect(),this.prop.pageSize.k);I=[],Array.prototype.forEach.call(te,function(Ne){for(var Qe=Ne.getClientRects(),Ze=0;Ze<Qe.length;Ze++){var ye=(0,N.unitConvert)(Qe[Ze],this.prop.pageSize.k);ye.left-=$e.left,ye.top-=$e.top;var Ae=Math.floor(ye.top/this.prop.pageSize.inner.height)+1,ie=this.opt.margin[0]+ye.top%this.prop.pageSize.inner.height,xe=this.opt.margin[1]+ye.left;I.push({page:Ae,top:ie,left:xe,clientRect:ye,link:Ne})}},this)}})},_.default.prototype.toPdf=function(){return w.toPdf.call(this).then(function(){if(this.opt.enableLinks){I.forEach(function(te){this.prop.pdf.setPage(te.page),this.prop.pdf.link(te.left,te.top,te.clientRect.width,te.clientRect.height,{url:te.link.href})},this);var q=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(q)}})}},"./src/plugin/jspdf-plugin.js":function(y,K,u){"use strict";u.r(K);var L=u("./node_modules/core-js/modules/es.symbol.js"),D=u.n(L),G=u("./node_modules/core-js/modules/es.symbol.description.js"),F=u.n(G),_=u("./node_modules/core-js/modules/es.object.to-string.js"),N=u.n(_),I=u("./node_modules/core-js/modules/es.symbol.iterator.js"),w=u.n(I),E=u("./node_modules/core-js/modules/es.array.iterator.js"),ae=u.n(E),q=u("./node_modules/core-js/modules/es.string.iterator.js"),te=u.n(q),$e=u("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ne=u.n($e),Qe=u("jspdf"),Ze=u.n(Qe);function ye(Ae){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ye=function(xe){return typeof xe}:ye=function(xe){return xe&&typeof Symbol=="function"&&xe.constructor===Symbol&&xe!==Symbol.prototype?"symbol":typeof xe},ye(Ae)}Qe.jsPDF.getPageSize=function(Ae,ie,xe){if(ye(Ae)==="object"){var M=Ae;Ae=M.orientation,ie=M.unit||ie,xe=M.format||xe}ie=ie||"mm",xe=xe||"a4",Ae=(""+(Ae||"P")).toLowerCase();var A=(""+xe).toLowerCase(),ot={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(ie){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: "+ie}if(ot.hasOwnProperty(A))var ce=ot[A][1]/ue,C=ot[A][0]/ue;else try{var ce=xe[1],C=xe[0]}catch(S){throw new Error("Invalid format: "+xe)}if(Ae==="p"||Ae==="portrait"){if(Ae="p",C>ce){var k=C;C=ce,ce=k}}else if(Ae==="l"||Ae==="landscape"){if(Ae="l",ce>C){var k=C;C=ce,ce=k}}else throw"Invalid orientation: "+Ae;var R={width:C,height:ce,unit:ie,k:ue};return R},K.default=Qe.jsPDF},"./src/plugin/pagebreaks.js":function(y,K,u){"use strict";u.r(K);var L=u("./node_modules/core-js/modules/es.array.concat.js"),D=u.n(L),G=u("./node_modules/core-js/modules/es.array.slice.js"),F=u.n(G),_=u("./node_modules/core-js/modules/es.array.join.js"),N=u.n(_),I=u("./node_modules/core-js/modules/web.dom-collections.for-each.js"),w=u.n(I),E=u("./node_modules/core-js/modules/es.object.keys.js"),ae=u.n(E),q=u("./src/worker.js"),te=u("./src/utils.js"),$e={toContainer:q.default.prototype.toContainer};q.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},q.default.prototype.toContainer=function(){return $e.toContainer.call(this).then(function(){var Ze=this.prop.container,ye=this.prop.pageSize.inner.px.height,Ae=[].concat(this.opt.pagebreak.mode),ie={avoidAll:Ae.indexOf("avoid-all")!==-1,css:Ae.indexOf("css")!==-1,legacy:Ae.indexOf("legacy")!==-1},xe={},M=this;["before","after","avoid"].forEach(function(ue){var ce=ie.avoidAll&&ue==="avoid";xe[ue]=ce?[]:[].concat(M.opt.pagebreak[ue]||[]),xe[ue].length>0&&(xe[ue]=Array.prototype.slice.call(Ze.querySelectorAll(xe[ue].join(", "))))});var A=Ze.querySelectorAll(".html2pdf__page-break");A=Array.prototype.slice.call(A);var ot=Ze.querySelectorAll("*");Array.prototype.forEach.call(ot,function(ce){var C={before:!1,after:ie.legacy&&A.indexOf(ce)!==-1,avoid:ie.avoidAll};if(ie.css){var k=window.getComputedStyle(ce),R=["always","page","left","right"],S=["avoid","avoid-page"];C={before:C.before||R.indexOf(k.breakBefore||k.pageBreakBefore)!==-1,after:C.after||R.indexOf(k.breakAfter||k.pageBreakAfter)!==-1,avoid:C.avoid||S.indexOf(k.breakInside||k.pageBreakInside)!==-1}}Object.keys(C).forEach(function(dt){C[dt]=C[dt]||xe[dt].indexOf(ce)!==-1});var X=ce.getBoundingClientRect();if(C.avoid&&!C.before){var We=Math.floor(X.top/ye),ge=Math.floor(X.bottom/ye),Ve=Math.abs(X.bottom-X.top)/ye;ge!==We&&Ve<=1&&(C.before=!0)}if(C.before){var it=(0,te.createElement)("div",{style:{display:"block",height:ye-X.top%ye+"px"}});ce.parentNode.insertBefore(it,ce)}if(C.after){var it=(0,te.createElement)("div",{style:{display:"block",height:ye-X.bottom%ye+"px"}});ce.parentNode.insertBefore(it,ce.nextSibling)}})})}},"./src/utils.js":function(y,K,u){"use strict";u.r(K),u.d(K,{objType:function(){return Ae},createElement:function(){return ie},cloneNode:function(){return xe},unitConvert:function(){return M},toPx:function(){return A}});var L=u("./node_modules/core-js/modules/es.number.constructor.js"),D=u.n(L),G=u("./node_modules/core-js/modules/es.symbol.js"),F=u.n(G),_=u("./node_modules/core-js/modules/es.symbol.description.js"),N=u.n(_),I=u("./node_modules/core-js/modules/es.object.to-string.js"),w=u.n(I),E=u("./node_modules/core-js/modules/es.symbol.iterator.js"),ae=u.n(E),q=u("./node_modules/core-js/modules/es.array.iterator.js"),te=u.n(q),$e=u("./node_modules/core-js/modules/es.string.iterator.js"),Ne=u.n($e),Qe=u("./node_modules/core-js/modules/web.dom-collections.iterator.js"),Ze=u.n(Qe);function ye(ot){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ye=function(ce){return typeof ce}:ye=function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},ye(ot)}var Ae=function(ue){var ce=ye(ue);return ce==="undefined"?"undefined":ce==="string"||ue instanceof String?"string":ce==="number"||ue instanceof Number?"number":ce==="function"||ue instanceof Function?"function":ue&&ue.constructor===Array?"array":ue&&ue.nodeType===1?"element":ce==="object"?"object":"unknown"},ie=function(ue,ce){var C=document.createElement(ue);if(ce.className&&(C.className=ce.className),ce.innerHTML){C.innerHTML=ce.innerHTML;for(var k=C.getElementsByTagName("script"),R=k.length;R-- >0;null)k[R].parentNode.removeChild(k[R])}for(var S in ce.style)C.style[S]=ce.style[S];return C},xe=function ot(ue,ce){for(var C=ue.nodeType===3?document.createTextNode(ue.nodeValue):ue.cloneNode(!1),k=ue.firstChild;k;k=k.nextSibling)(ce===!0||k.nodeType!==1||k.nodeName!=="SCRIPT")&&C.appendChild(ot(k,ce));return ue.nodeType===1&&(ue.nodeName==="CANVAS"?(C.width=ue.width,C.height=ue.height,C.getContext("2d").drawImage(ue,0,0)):(ue.nodeName==="TEXTAREA"||ue.nodeName==="SELECT")&&(C.value=ue.value),C.addEventListener("load",function(){C.scrollTop=ue.scrollTop,C.scrollLeft=ue.scrollLeft},!0)),C},M=function(ue,ce){if(Ae(ue)==="number")return ue*72/96/ce;var C={};for(var k in ue)C[k]=ue[k]*72/96/ce;return C},A=function(ue,ce){return Math.floor(ue*ce/72*96)}},"./src/worker.js":function(y,K,u){"use strict";u.r(K);var L=u("./node_modules/core-js/modules/es.object.assign.js"),D=u.n(L),G=u("./node_modules/core-js/modules/es.array.map.js"),F=u.n(G),_=u("./node_modules/core-js/modules/es.object.keys.js"),N=u.n(_),I=u("./node_modules/core-js/modules/es.array.concat.js"),w=u.n(I),E=u("./node_modules/core-js/modules/es.object.to-string.js"),ae=u.n(E),q=u("./node_modules/core-js/modules/es.regexp.to-string.js"),te=u.n(q),$e=u("./node_modules/core-js/modules/es.function.name.js"),Ne=u.n($e),Qe=u("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Ze=u.n(Qe),ye=u("jspdf"),Ae=u.n(ye),ie=u("html2canvas"),xe=u.n(ie),M=u("./src/utils.js"),A=u("./node_modules/es6-promise/dist/es6-promise.js"),ot=u.n(A),ue=ot().Promise,ce=function C(k){var R=Object.assign(C.convert(ue.resolve()),JSON.parse(JSON.stringify(C.template))),S=C.convert(ue.resolve(),R);return S=S.setProgress(1,C,1,[C]),S=S.set(k),S};ce.prototype=Object.create(ue.prototype),ce.prototype.constructor=ce,ce.convert=function(k,R){return k.__proto__=R||ce.prototype,k},ce.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},ce.prototype.from=function(k,R){function S(X){switch((0,M.objType)(X)){case"string":return"string";case"element":return X.nodeName.toLowerCase&&X.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(R=R||S(k),R){case"string":return this.set({src:(0,M.createElement)("div",{innerHTML:k})});case"element":return this.set({src:k});case"canvas":return this.set({canvas:k});case"img":return this.set({img:k});default:return this.error("Unknown source type.")}})},ce.prototype.to=function(k){switch(k){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},ce.prototype.toContainer=function(){var k=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(k).then(function(){var S={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},X={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};S.opacity=0;var We=(0,M.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,M.createElement)("div",{className:"html2pdf__overlay",style:S}),this.prop.container=(0,M.createElement)("div",{className:"html2pdf__container",style:X}),this.prop.container.appendChild(We),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},ce.prototype.toCanvas=function(){var k=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(k).then(function(){var S=Object.assign({},this.opt.html2canvas);return delete S.onrendered,ie(this.prop.container,S)}).then(function(S){var X=this.opt.html2canvas.onrendered||function(){};X(S),this.prop.canvas=S,document.body.removeChild(this.prop.overlay)})},ce.prototype.toImg=function(){var k=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(k).then(function(){var S=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=S})},ce.prototype.toPdf=function(){var k=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(k).then(function(){var S=this.prop.canvas,X=this.opt,We=S.height,ge=Math.floor(S.width*this.prop.pageSize.inner.ratio),Ve=Math.ceil(We/ge),it=this.prop.pageSize.inner.height,dt=document.createElement("canvas"),fe=dt.getContext("2d");dt.width=S.width,dt.height=ge,this.prop.pdf=this.prop.pdf||new ye.jsPDF(X.jsPDF);for(var ze=0;ze<Ve;ze++){ze===Ve-1&&We%ge!==0&&(dt.height=We%ge,it=dt.height*this.prop.pageSize.inner.width/dt.width);var Ct=dt.width,He=dt.height;fe.fillStyle="white",fe.fillRect(0,0,Ct,He),fe.drawImage(S,0,ze*ge,Ct,He,0,0,Ct,He),ze&&this.prop.pdf.addPage();var Fe=dt.toDataURL("image/"+X.image.type,X.image.quality);this.prop.pdf.addImage(Fe,X.image.type,X.margin[1],X.margin[0],this.prop.pageSize.inner.width,it)}})},ce.prototype.output=function(k,R,S){return S=S||"pdf",S.toLowerCase()==="img"||S.toLowerCase()==="image"?this.outputImg(k,R):this.outputPdf(k,R)},ce.prototype.outputPdf=function(k,R){var S=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(S).then(function(){return this.prop.pdf.output(k,R)})},ce.prototype.outputImg=function(k,R){var S=[function(){return this.prop.img||this.toImg()}];return this.thenList(S).then(function(){switch(k){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+k+'" is not supported.'}})},ce.prototype.save=function(k){var R=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(R).set(k?{filename:k}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},ce.prototype.set=function(k){if((0,M.objType)(k)!=="object")return this;var R=Object.keys(k||{}).map(function(S){switch(S){case"margin":return this.setMargin.bind(this,k.margin);case"jsPDF":return function(){return this.opt.jsPDF=k.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,k.pageSize);default:return S in ce.template.prop?function(){this.prop[S]=k[S]}:function(){this.opt[S]=k[S]}}},this);return this.then(function(){return this.thenList(R)})},ce.prototype.get=function(k,R){return this.then(function(){var X=k in ce.template.prop?this.prop[k]:this.opt[k];return R?R(X):X})},ce.prototype.setMargin=function(k){return this.then(function(){switch((0,M.objType)(k)){case"number":k=[k,k,k,k];case"array":if(k.length===2&&(k=[k[0],k[1],k[0],k[1]]),k.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=k}).then(this.setPageSize)},ce.prototype.setPageSize=function(k){return this.then(function(){k=k||ye.jsPDF.getPageSize(this.opt.jsPDF),k.hasOwnProperty("inner")||(k.inner={width:k.width-this.opt.margin[1]-this.opt.margin[3],height:k.height-this.opt.margin[0]-this.opt.margin[2]},k.inner.px={width:(0,M.toPx)(k.inner.width,k.k),height:(0,M.toPx)(k.inner.height,k.k)},k.inner.ratio=k.inner.height/k.inner.width),this.prop.pageSize=k})},ce.prototype.setProgress=function(k,R,S,X){return k!=null&&(this.progress.val=k),R!=null&&(this.progress.state=R),S!=null&&(this.progress.n=S),X!=null&&(this.progress.stack=X),this.progress.ratio=this.progress.val/this.progress.state,this},ce.prototype.updateProgress=function(k,R,S,X){return this.setProgress(k?this.progress.val+k:null,R||null,S?this.progress.n+S:null,X?this.progress.stack.concat(X):null)},ce.prototype.then=function(k,R){var S=this;return this.thenCore(k,R,function(We,ge){return S.updateProgress(null,null,1,[We]),ue.prototype.then.call(this,function(it){return S.updateProgress(null,We),it}).then(We,ge).then(function(it){return S.updateProgress(1),it})})},ce.prototype.thenCore=function(k,R,S){S=S||ue.prototype.then;var X=this;k&&(k=k.bind(X)),R&&(R=R.bind(X));var We=ue.toString().indexOf("[native code]")!==-1&&ue.name==="Promise",ge=We?X:ce.convert(Object.assign({},X),ue.prototype),Ve=S.call(ge,k,R);return ce.convert(Ve,X.__proto__)},ce.prototype.thenExternal=function(k,R){return ue.prototype.then.call(this,k,R)},ce.prototype.thenList=function(k){var R=this;return k.forEach(function(X){R=R.thenCore(X)}),R},ce.prototype.catch=function(C){C&&(C=C.bind(this));var k=ue.prototype.catch.call(this,C);return ce.convert(k,this)},ce.prototype.catchExternal=function(k){return ue.prototype.catch.call(this,k)},ce.prototype.error=function(k){return this.then(function(){throw new Error(k)})},ce.prototype.using=ce.prototype.set,ce.prototype.saveAs=ce.prototype.save,ce.prototype.export=ce.prototype.output,ce.prototype.run=ce.prototype.then,K.default=ce},"./node_modules/core-js/internals/a-function.js":function(y){y.exports=function(K){if(typeof K!="function")throw TypeError(String(K)+" is not a function");return K}},"./node_modules/core-js/internals/a-possible-prototype.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-object.js");y.exports=function(D){if(!L(D)&&D!==null)throw TypeError("Can't set "+String(D)+" as a prototype");return D}},"./node_modules/core-js/internals/add-to-unscopables.js":function(y,K,u){var L=u("./node_modules/core-js/internals/well-known-symbol.js"),D=u("./node_modules/core-js/internals/object-create.js"),G=u("./node_modules/core-js/internals/object-define-property.js"),F=L("unscopables"),_=Array.prototype;_[F]==null&&G.f(_,F,{configurable:!0,value:D(null)}),y.exports=function(N){_[F][N]=!0}},"./node_modules/core-js/internals/an-object.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-object.js");y.exports=function(D){if(!L(D))throw TypeError(String(D)+" is not an object");return D}},"./node_modules/core-js/internals/array-for-each.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/array-iteration.js").forEach,D=u("./node_modules/core-js/internals/array-method-is-strict.js"),G=D("forEach");y.exports=G?[].forEach:function(_){return L(this,_,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-indexed-object.js"),D=u("./node_modules/core-js/internals/to-length.js"),G=u("./node_modules/core-js/internals/to-absolute-index.js"),F=function(_){return function(N,I,w){var E=L(N),ae=D(E.length),q=G(w,ae),te;if(_&&I!=I){for(;ae>q;)if(te=E[q++],te!=te)return!0}else for(;ae>q;q++)if((_||q in E)&&E[q]===I)return _||q||0;return!_&&-1}};y.exports={includes:F(!0),indexOf:F(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(y,K,u){var L=u("./node_modules/core-js/internals/function-bind-context.js"),D=u("./node_modules/core-js/internals/indexed-object.js"),G=u("./node_modules/core-js/internals/to-object.js"),F=u("./node_modules/core-js/internals/to-length.js"),_=u("./node_modules/core-js/internals/array-species-create.js"),N=[].push,I=function(w){var E=w==1,ae=w==2,q=w==3,te=w==4,$e=w==6,Ne=w==7,Qe=w==5||$e;return function(Ze,ye,Ae,ie){for(var xe=G(Ze),M=D(xe),A=L(ye,Ae,3),ot=F(M.length),ue=0,ce=ie||_,C=E?ce(Ze,ot):ae||Ne?ce(Ze,0):void 0,k,R;ot>ue;ue++)if((Qe||ue in M)&&(k=M[ue],R=A(k,ue,xe),w))if(E)C[ue]=R;else if(R)switch(w){case 3:return!0;case 5:return k;case 6:return ue;case 2:N.call(C,k)}else switch(w){case 4:return!1;case 7:N.call(C,k)}return $e?-1:q||te?te:C}};y.exports={forEach:I(0),map:I(1),filter:I(2),some:I(3),every:I(4),find:I(5),findIndex:I(6),filterReject:I(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(y,K,u){var L=u("./node_modules/core-js/internals/fails.js"),D=u("./node_modules/core-js/internals/well-known-symbol.js"),G=u("./node_modules/core-js/internals/engine-v8-version.js"),F=D("species");y.exports=function(_){return G>=51||!L(function(){var N=[],I=N.constructor={};return I[F]=function(){return{foo:1}},N[_](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/fails.js");y.exports=function(D,G){var F=[][D];return!!F&&L(function(){F.call(null,G||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-object.js"),D=u("./node_modules/core-js/internals/is-array.js"),G=u("./node_modules/core-js/internals/well-known-symbol.js"),F=G("species");y.exports=function(_){var N;return D(_)&&(N=_.constructor,typeof N=="function"&&(N===Array||D(N.prototype))?N=void 0:L(N)&&(N=N[F],N===null&&(N=void 0))),N===void 0?Array:N}},"./node_modules/core-js/internals/array-species-create.js":function(y,K,u){var L=u("./node_modules/core-js/internals/array-species-constructor.js");y.exports=function(D,G){return new(L(D))(G===0?0:G)}},"./node_modules/core-js/internals/classof-raw.js":function(y){var K={}.toString;y.exports=function(u){return K.call(u).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-string-tag-support.js"),D=u("./node_modules/core-js/internals/classof-raw.js"),G=u("./node_modules/core-js/internals/well-known-symbol.js"),F=G("toStringTag"),_=D(function(){return arguments}())=="Arguments",N=function(I,w){try{return I[w]}catch(E){}};y.exports=L?D:function(I){var w,E,ae;return I===void 0?"Undefined":I===null?"Null":typeof(E=N(w=Object(I),F))=="string"?E:_?D(w):(ae=D(w))=="Object"&&typeof w.callee=="function"?"Arguments":ae}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(y,K,u){var L=u("./node_modules/core-js/internals/has.js"),D=u("./node_modules/core-js/internals/own-keys.js"),G=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),F=u("./node_modules/core-js/internals/object-define-property.js");y.exports=function(_,N){for(var I=D(N),w=F.f,E=G.f,ae=0;ae<I.length;ae++){var q=I[ae];L(_,q)||w(_,q,E(N,q))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(y,K,u){var L=u("./node_modules/core-js/internals/fails.js");y.exports=!L(function(){function D(){}return D.prototype.constructor=null,Object.getPrototypeOf(new D)!==D.prototype})},"./node_modules/core-js/internals/create-html.js":function(y,K,u){var L=u("./node_modules/core-js/internals/require-object-coercible.js"),D=u("./node_modules/core-js/internals/to-string.js"),G=/"/g;y.exports=function(F,_,N,I){var w=D(L(F)),E="<"+_;return N!==""&&(E+=" "+N+'="'+D(I).replace(G,""")+'"'),E+">"+w+"</"+_+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,D=u("./node_modules/core-js/internals/object-create.js"),G=u("./node_modules/core-js/internals/create-property-descriptor.js"),F=u("./node_modules/core-js/internals/set-to-string-tag.js"),_=u("./node_modules/core-js/internals/iterators.js"),N=function(){return this};y.exports=function(I,w,E){var ae=w+" Iterator";return I.prototype=D(L,{next:G(1,E)}),F(I,ae,!1,!0),_[ae]=N,I}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(y,K,u){var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/object-define-property.js"),G=u("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=L?function(F,_,N){return D.f(F,_,G(1,N))}:function(F,_,N){return F[_]=N,F}},"./node_modules/core-js/internals/create-property-descriptor.js":function(y){y.exports=function(K,u){return{enumerable:!(K&1),configurable:!(K&2),writable:!(K&4),value:u}}},"./node_modules/core-js/internals/create-property.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/to-property-key.js"),D=u("./node_modules/core-js/internals/object-define-property.js"),G=u("./node_modules/core-js/internals/create-property-descriptor.js");y.exports=function(F,_,N){var I=L(_);I in F?D.f(F,I,G(0,N)):F[I]=N}},"./node_modules/core-js/internals/define-iterator.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/create-iterator-constructor.js"),G=u("./node_modules/core-js/internals/object-get-prototype-of.js"),F=u("./node_modules/core-js/internals/object-set-prototype-of.js"),_=u("./node_modules/core-js/internals/set-to-string-tag.js"),N=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),I=u("./node_modules/core-js/internals/redefine.js"),w=u("./node_modules/core-js/internals/well-known-symbol.js"),E=u("./node_modules/core-js/internals/is-pure.js"),ae=u("./node_modules/core-js/internals/iterators.js"),q=u("./node_modules/core-js/internals/iterators-core.js"),te=q.IteratorPrototype,$e=q.BUGGY_SAFARI_ITERATORS,Ne=w("iterator"),Qe="keys",Ze="values",ye="entries",Ae=function(){return this};y.exports=function(ie,xe,M,A,ot,ue,ce){D(M,xe,A);var C=function(fe){if(fe===ot&&We)return We;if(!$e&&fe in S)return S[fe];switch(fe){case Qe:return function(){return new M(this,fe)};case Ze:return function(){return new M(this,fe)};case ye:return function(){return new M(this,fe)}}return function(){return new M(this)}},k=xe+" Iterator",R=!1,S=ie.prototype,X=S[Ne]||S["@@iterator"]||ot&&S[ot],We=!$e&&X||C(ot),ge=xe=="Array"&&S.entries||X,Ve,it,dt;if(ge&&(Ve=G(ge.call(new ie)),te!==Object.prototype&&Ve.next&&(!E&&G(Ve)!==te&&(F?F(Ve,te):typeof Ve[Ne]!="function"&&N(Ve,Ne,Ae)),_(Ve,k,!0,!0),E&&(ae[k]=Ae))),ot==Ze&&X&&X.name!==Ze&&(R=!0,We=function(){return X.call(this)}),(!E||ce)&&S[Ne]!==We&&N(S,Ne,We),ae[xe]=We,ot)if(it={values:C(Ze),keys:ue?We:C(Qe),entries:C(ye)},ce)for(dt in it)($e||R||!(dt in S))&&I(S,dt,it[dt]);else L({target:xe,proto:!0,forced:$e||R},it);return it}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(y,K,u){var L=u("./node_modules/core-js/internals/path.js"),D=u("./node_modules/core-js/internals/has.js"),G=u("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),F=u("./node_modules/core-js/internals/object-define-property.js").f;y.exports=function(_){var N=L.Symbol||(L.Symbol={});D(N,_)||F(N,_,{value:G.f(_)})}},"./node_modules/core-js/internals/descriptors.js":function(y,K,u){var L=u("./node_modules/core-js/internals/fails.js");y.exports=!L(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/is-object.js"),G=L.document,F=D(G)&&D(G.createElement);y.exports=function(_){return F?G.createElement(_):{}}},"./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,K,u){var L=u("./node_modules/core-js/internals/get-built-in.js");y.exports=L("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/engine-user-agent.js"),G=L.process,F=L.Deno,_=G&&G.versions||F&&F.version,N=_&&_.v8,I,w;N?(I=N.split("."),w=I[0]<4?1:I[0]+I[1]):D&&(I=D.match(/Edge\/(\d+)/),(!I||I[1]>=74)&&(I=D.match(/Chrome\/(\d+)/),I&&(w=I[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,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,G=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),F=u("./node_modules/core-js/internals/redefine.js"),_=u("./node_modules/core-js/internals/set-global.js"),N=u("./node_modules/core-js/internals/copy-constructor-properties.js"),I=u("./node_modules/core-js/internals/is-forced.js");y.exports=function(w,E){var ae=w.target,q=w.global,te=w.stat,$e,Ne,Qe,Ze,ye,Ae;if(q?Ne=L:te?Ne=L[ae]||_(ae,{}):Ne=(L[ae]||{}).prototype,Ne)for(Qe in E){if(ye=E[Qe],w.noTargetGet?(Ae=D(Ne,Qe),Ze=Ae&&Ae.value):Ze=Ne[Qe],$e=I(q?Qe:ae+(te?".":"#")+Qe,w.forced),!$e&&Ze!==void 0){if(typeof ye==typeof Ze)continue;N(ye,Ze)}(w.sham||Ze&&Ze.sham)&&G(ye,"sham",!0),F(Ne,Qe,ye,w)}}},"./node_modules/core-js/internals/fails.js":function(y){y.exports=function(K){try{return!!K()}catch(u){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(y,K,u){var L=u("./node_modules/core-js/internals/a-function.js");y.exports=function(D,G,F){if(L(D),G===void 0)return D;switch(F){case 0:return function(){return D.call(G)};case 1:return function(_){return D.call(G,_)};case 2:return function(_,N){return D.call(G,_,N)};case 3:return function(_,N,I){return D.call(G,_,N,I)}}return function(){return D.apply(G,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=function(G){return typeof G=="function"?G:void 0};y.exports=function(G,F){return arguments.length<2?D(L[G]):L[G]&&L[G][F]}},"./node_modules/core-js/internals/global.js":function(y){var K=function(u){return u&&u.Math==Math&&u};y.exports=K(typeof globalThis=="object"&&globalThis)||K(typeof window=="object"&&window)||K(typeof self=="object"&&self)||K(typeof n.g=="object"&&n.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-object.js"),D={}.hasOwnProperty;y.exports=Object.hasOwn||function(F,_){return D.call(L(F),_)}},"./node_modules/core-js/internals/hidden-keys.js":function(y){y.exports={}},"./node_modules/core-js/internals/html.js":function(y,K,u){var L=u("./node_modules/core-js/internals/get-built-in.js");y.exports=L("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(y,K,u){var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/fails.js"),G=u("./node_modules/core-js/internals/document-create-element.js");y.exports=!L&&!D(function(){return Object.defineProperty(G("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(y,K,u){var L=u("./node_modules/core-js/internals/fails.js"),D=u("./node_modules/core-js/internals/classof-raw.js"),G="".split;y.exports=L(function(){return!Object("z").propertyIsEnumerable(0)})?function(F){return D(F)=="String"?G.call(F,""):Object(F)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-object.js"),D=u("./node_modules/core-js/internals/object-set-prototype-of.js");y.exports=function(G,F,_){var N,I;return D&&typeof(N=F.constructor)=="function"&&N!==_&&L(I=N.prototype)&&I!==_.prototype&&D(G,I),G}},"./node_modules/core-js/internals/inspect-source.js":function(y,K,u){var L=u("./node_modules/core-js/internals/shared-store.js"),D=Function.toString;typeof L.inspectSource!="function"&&(L.inspectSource=function(G){return D.call(G)}),y.exports=L.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(y,K,u){var L=u("./node_modules/core-js/internals/native-weak-map.js"),D=u("./node_modules/core-js/internals/global.js"),G=u("./node_modules/core-js/internals/is-object.js"),F=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=u("./node_modules/core-js/internals/has.js"),N=u("./node_modules/core-js/internals/shared-store.js"),I=u("./node_modules/core-js/internals/shared-key.js"),w=u("./node_modules/core-js/internals/hidden-keys.js"),E="Object already initialized",ae=D.WeakMap,q,te,$e,Ne=function(M){return $e(M)?te(M):q(M,{})},Qe=function(M){return function(A){var ot;if(!G(A)||(ot=te(A)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return ot}};if(L||N.state){var Ze=N.state||(N.state=new ae),ye=Ze.get,Ae=Ze.has,ie=Ze.set;q=function(M,A){if(Ae.call(Ze,M))throw new TypeError(E);return A.facade=M,ie.call(Ze,M,A),A},te=function(M){return ye.call(Ze,M)||{}},$e=function(M){return Ae.call(Ze,M)}}else{var xe=I("state");w[xe]=!0,q=function(M,A){if(_(M,xe))throw new TypeError(E);return A.facade=M,F(M,xe,A),A},te=function(M){return _(M,xe)?M[xe]:{}},$e=function(M){return _(M,xe)}}y.exports={set:q,get:te,has:$e,enforce:Ne,getterFor:Qe}},"./node_modules/core-js/internals/is-array.js":function(y,K,u){var L=u("./node_modules/core-js/internals/classof-raw.js");y.exports=Array.isArray||function(G){return L(G)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(y,K,u){var L=u("./node_modules/core-js/internals/fails.js"),D=/#|\.prototype\./,G=function(w,E){var ae=_[F(w)];return ae==I?!0:ae==N?!1:typeof E=="function"?L(E):!!E},F=G.normalize=function(w){return String(w).replace(D,".").toLowerCase()},_=G.data={},N=G.NATIVE="N",I=G.POLYFILL="P";y.exports=G},"./node_modules/core-js/internals/is-object.js":function(y){y.exports=function(K){return typeof K=="object"?K!==null:typeof K=="function"}},"./node_modules/core-js/internals/is-pure.js":function(y){y.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(y,K,u){var L=u("./node_modules/core-js/internals/get-built-in.js"),D=u("./node_modules/core-js/internals/use-symbol-as-uid.js");y.exports=D?function(G){return typeof G=="symbol"}:function(G){var F=L("Symbol");return typeof F=="function"&&Object(G)instanceof F}},"./node_modules/core-js/internals/iterators-core.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/fails.js"),D=u("./node_modules/core-js/internals/object-get-prototype-of.js"),G=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),F=u("./node_modules/core-js/internals/has.js"),_=u("./node_modules/core-js/internals/well-known-symbol.js"),N=u("./node_modules/core-js/internals/is-pure.js"),I=_("iterator"),w=!1,E=function(){return this},ae,q,te;[].keys&&(te=[].keys(),"next"in te?(q=D(D(te)),q!==Object.prototype&&(ae=q)):w=!0);var $e=ae==null||L(function(){var Ne={};return ae[I].call(Ne)!==Ne});$e&&(ae={}),(!N||$e)&&!F(ae,I)&&G(ae,I,E),y.exports={IteratorPrototype:ae,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,K,u){var L=u("./node_modules/core-js/internals/engine-v8-version.js"),D=u("./node_modules/core-js/internals/fails.js");y.exports=!!Object.getOwnPropertySymbols&&!D(function(){var G=Symbol();return!String(G)||!(Object(G)instanceof Symbol)||!Symbol.sham&&L&&L<41})},"./node_modules/core-js/internals/native-weak-map.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/inspect-source.js"),G=L.WeakMap;y.exports=typeof G=="function"&&/native code/.test(D(G))},"./node_modules/core-js/internals/object-assign.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/fails.js"),G=u("./node_modules/core-js/internals/object-keys.js"),F=u("./node_modules/core-js/internals/object-get-own-property-symbols.js"),_=u("./node_modules/core-js/internals/object-property-is-enumerable.js"),N=u("./node_modules/core-js/internals/to-object.js"),I=u("./node_modules/core-js/internals/indexed-object.js"),w=Object.assign,E=Object.defineProperty;y.exports=!w||D(function(){if(L&&w({b:1},w(E({},"a",{enumerable:!0,get:function(){E(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ae={},q={},te=Symbol(),$e="abcdefghijklmnopqrst";return ae[te]=7,$e.split("").forEach(function(Ne){q[Ne]=Ne}),w({},ae)[te]!=7||G(w({},q)).join("")!=$e})?function(q,te){for(var $e=N(q),Ne=arguments.length,Qe=1,Ze=F.f,ye=_.f;Ne>Qe;)for(var Ae=I(arguments[Qe++]),ie=Ze?G(Ae).concat(Ze(Ae)):G(Ae),xe=ie.length,M=0,A;xe>M;)A=ie[M++],(!L||ye.call(Ae,A))&&($e[A]=Ae[A]);return $e}:w},"./node_modules/core-js/internals/object-create.js":function(y,K,u){var L=u("./node_modules/core-js/internals/an-object.js"),D=u("./node_modules/core-js/internals/object-define-properties.js"),G=u("./node_modules/core-js/internals/enum-bug-keys.js"),F=u("./node_modules/core-js/internals/hidden-keys.js"),_=u("./node_modules/core-js/internals/html.js"),N=u("./node_modules/core-js/internals/document-create-element.js"),I=u("./node_modules/core-js/internals/shared-key.js"),w=">",E="<",ae="prototype",q="script",te=I("IE_PROTO"),$e=function(){},Ne=function(ie){return E+q+w+ie+E+"/"+q+w},Qe=function(ie){ie.write(Ne("")),ie.close();var xe=ie.parentWindow.Object;return ie=null,xe},Ze=function(){var ie=N("iframe"),xe="java"+q+":",M;if(ie.style)return ie.style.display="none",_.appendChild(ie),ie.src=String(xe),M=ie.contentWindow.document,M.open(),M.write(Ne("document.F=Object")),M.close(),M.F},ye,Ae=function(){try{ye=new ActiveXObject("htmlfile")}catch(xe){}Ae=document.domain&&ye?Qe(ye):Ze()||Qe(ye);for(var ie=G.length;ie--;)delete Ae[ae][G[ie]];return Ae()};F[te]=!0,y.exports=Object.create||function(xe,M){var A;return xe!==null?($e[ae]=L(xe),A=new $e,$e[ae]=null,A[te]=xe):A=Ae(),M===void 0?A:D(A,M)}},"./node_modules/core-js/internals/object-define-properties.js":function(y,K,u){var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/object-define-property.js"),G=u("./node_modules/core-js/internals/an-object.js"),F=u("./node_modules/core-js/internals/object-keys.js");y.exports=L?Object.defineProperties:function(N,I){G(N);for(var w=F(I),E=w.length,ae=0,q;E>ae;)D.f(N,q=w[ae++],I[q]);return N}},"./node_modules/core-js/internals/object-define-property.js":function(y,K,u){var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/ie8-dom-define.js"),G=u("./node_modules/core-js/internals/an-object.js"),F=u("./node_modules/core-js/internals/to-property-key.js"),_=Object.defineProperty;K.f=L?_:function(I,w,E){if(G(I),w=F(w),G(E),D)try{return _(I,w,E)}catch(ae){}if("get"in E||"set"in E)throw TypeError("Accessors not supported");return"value"in E&&(I[w]=E.value),I}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(y,K,u){var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/object-property-is-enumerable.js"),G=u("./node_modules/core-js/internals/create-property-descriptor.js"),F=u("./node_modules/core-js/internals/to-indexed-object.js"),_=u("./node_modules/core-js/internals/to-property-key.js"),N=u("./node_modules/core-js/internals/has.js"),I=u("./node_modules/core-js/internals/ie8-dom-define.js"),w=Object.getOwnPropertyDescriptor;K.f=L?w:function(ae,q){if(ae=F(ae),q=_(q),I)try{return w(ae,q)}catch(te){}if(N(ae,q))return G(!D.f.call(ae,q),ae[q])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-indexed-object.js"),D=u("./node_modules/core-js/internals/object-get-own-property-names.js").f,G={}.toString,F=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_=function(N){try{return D(N)}catch(I){return F.slice()}};y.exports.f=function(I){return F&&G.call(I)=="[object Window]"?_(I):D(L(I))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(y,K,u){var L=u("./node_modules/core-js/internals/object-keys-internal.js"),D=u("./node_modules/core-js/internals/enum-bug-keys.js"),G=D.concat("length","prototype");K.f=Object.getOwnPropertyNames||function(_){return L(_,G)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(y,K){K.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(y,K,u){var L=u("./node_modules/core-js/internals/has.js"),D=u("./node_modules/core-js/internals/to-object.js"),G=u("./node_modules/core-js/internals/shared-key.js"),F=u("./node_modules/core-js/internals/correct-prototype-getter.js"),_=G("IE_PROTO"),N=Object.prototype;y.exports=F?Object.getPrototypeOf:function(I){return I=D(I),L(I,_)?I[_]:typeof I.constructor=="function"&&I instanceof I.constructor?I.constructor.prototype:I instanceof Object?N:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(y,K,u){var L=u("./node_modules/core-js/internals/has.js"),D=u("./node_modules/core-js/internals/to-indexed-object.js"),G=u("./node_modules/core-js/internals/array-includes.js").indexOf,F=u("./node_modules/core-js/internals/hidden-keys.js");y.exports=function(_,N){var I=D(_),w=0,E=[],ae;for(ae in I)!L(F,ae)&&L(I,ae)&&E.push(ae);for(;N.length>w;)L(I,ae=N[w++])&&(~G(E,ae)||E.push(ae));return E}},"./node_modules/core-js/internals/object-keys.js":function(y,K,u){var L=u("./node_modules/core-js/internals/object-keys-internal.js"),D=u("./node_modules/core-js/internals/enum-bug-keys.js");y.exports=Object.keys||function(F){return L(F,D)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(y,K){"use strict";var u={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,D=L&&!u.call({1:2},1);K.f=D?function(F){var _=L(this,F);return!!_&&_.enumerable}:u},"./node_modules/core-js/internals/object-set-prototype-of.js":function(y,K,u){var L=u("./node_modules/core-js/internals/an-object.js"),D=u("./node_modules/core-js/internals/a-possible-prototype.js");y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var G=!1,F={},_;try{_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,_.call(F,[]),G=F instanceof Array}catch(N){}return function(I,w){return L(I),D(w),G?_.call(I,w):I.__proto__=w,I}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/to-string-tag-support.js"),D=u("./node_modules/core-js/internals/classof.js");y.exports=L?{}.toString:function(){return"[object "+D(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-object.js");y.exports=function(D,G){var F,_;if(G==="string"&&typeof(F=D.toString)=="function"&&!L(_=F.call(D))||typeof(F=D.valueOf)=="function"&&!L(_=F.call(D))||G!=="string"&&typeof(F=D.toString)=="function"&&!L(_=F.call(D)))return _;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(y,K,u){var L=u("./node_modules/core-js/internals/get-built-in.js"),D=u("./node_modules/core-js/internals/object-get-own-property-names.js"),G=u("./node_modules/core-js/internals/object-get-own-property-symbols.js"),F=u("./node_modules/core-js/internals/an-object.js");y.exports=L("Reflect","ownKeys")||function(N){var I=D.f(F(N)),w=G.f;return w?I.concat(w(N)):I}},"./node_modules/core-js/internals/path.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js");y.exports=L},"./node_modules/core-js/internals/redefine.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),G=u("./node_modules/core-js/internals/has.js"),F=u("./node_modules/core-js/internals/set-global.js"),_=u("./node_modules/core-js/internals/inspect-source.js"),N=u("./node_modules/core-js/internals/internal-state.js"),I=N.get,w=N.enforce,E=String(String).split("String");(y.exports=function(ae,q,te,$e){var Ne=$e?!!$e.unsafe:!1,Qe=$e?!!$e.enumerable:!1,Ze=$e?!!$e.noTargetGet:!1,ye;if(typeof te=="function"&&(typeof q=="string"&&!G(te,"name")&&D(te,"name",q),ye=w(te),ye.source||(ye.source=E.join(typeof q=="string"?q:""))),ae===L){Qe?ae[q]=te:F(q,te);return}else Ne?!Ze&&ae[q]&&(Qe=!0):delete ae[q];Qe?ae[q]=te:D(ae,q,te)})(Function.prototype,"toString",function(){return typeof this=="function"&&I(this).source||_(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/an-object.js");y.exports=function(){var D=L(this),G="";return D.global&&(G+="g"),D.ignoreCase&&(G+="i"),D.multiline&&(G+="m"),D.dotAll&&(G+="s"),D.unicode&&(G+="u"),D.sticky&&(G+="y"),G}},"./node_modules/core-js/internals/require-object-coercible.js":function(y){y.exports=function(K){if(K==null)throw TypeError("Can't call method on "+K);return K}},"./node_modules/core-js/internals/set-global.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js");y.exports=function(D,G){try{Object.defineProperty(L,D,{value:G,configurable:!0,writable:!0})}catch(F){L[D]=G}return G}},"./node_modules/core-js/internals/set-to-string-tag.js":function(y,K,u){var L=u("./node_modules/core-js/internals/object-define-property.js").f,D=u("./node_modules/core-js/internals/has.js"),G=u("./node_modules/core-js/internals/well-known-symbol.js"),F=G("toStringTag");y.exports=function(_,N,I){_&&!D(_=I?_:_.prototype,F)&&L(_,F,{configurable:!0,value:N})}},"./node_modules/core-js/internals/shared-key.js":function(y,K,u){var L=u("./node_modules/core-js/internals/shared.js"),D=u("./node_modules/core-js/internals/uid.js"),G=L("keys");y.exports=function(F){return G[F]||(G[F]=D(F))}},"./node_modules/core-js/internals/shared-store.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/set-global.js"),G="__core-js_shared__",F=L[G]||D(G,{});y.exports=F},"./node_modules/core-js/internals/shared.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-pure.js"),D=u("./node_modules/core-js/internals/shared-store.js");(y.exports=function(G,F){return D[G]||(D[G]=F!==void 0?F:{})})("versions",[]).push({version:"3.16.0",mode:L?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(y,K,u){var L=u("./node_modules/core-js/internals/fails.js");y.exports=function(D){return L(function(){var G=""[D]('"');return G!==G.toLowerCase()||G.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-integer.js"),D=u("./node_modules/core-js/internals/to-string.js"),G=u("./node_modules/core-js/internals/require-object-coercible.js"),F=function(_){return function(N,I){var w=D(G(N)),E=L(I),ae=w.length,q,te;return E<0||E>=ae?_?"":void 0:(q=w.charCodeAt(E),q<55296||q>56319||E+1===ae||(te=w.charCodeAt(E+1))<56320||te>57343?_?w.charAt(E):q:_?w.slice(E,E+2):(q-55296<<10)+(te-56320)+65536)}};y.exports={codeAt:F(!1),charAt:F(!0)}},"./node_modules/core-js/internals/string-trim.js":function(y,K,u){var L=u("./node_modules/core-js/internals/require-object-coercible.js"),D=u("./node_modules/core-js/internals/to-string.js"),G=u("./node_modules/core-js/internals/whitespaces.js"),F="["+G+"]",_=RegExp("^"+F+F+"*"),N=RegExp(F+F+"*$"),I=function(w){return function(E){var ae=D(L(E));return w&1&&(ae=ae.replace(_,"")),w&2&&(ae=ae.replace(N,"")),ae}};y.exports={start:I(1),end:I(2),trim:I(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-integer.js"),D=Math.max,G=Math.min;y.exports=function(F,_){var N=L(F);return N<0?D(N+_,0):G(N,_)}},"./node_modules/core-js/internals/to-indexed-object.js":function(y,K,u){var L=u("./node_modules/core-js/internals/indexed-object.js"),D=u("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(G){return L(D(G))}},"./node_modules/core-js/internals/to-integer.js":function(y){var K=Math.ceil,u=Math.floor;y.exports=function(L){return isNaN(L=+L)?0:(L>0?u:K)(L)}},"./node_modules/core-js/internals/to-length.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-integer.js"),D=Math.min;y.exports=function(G){return G>0?D(L(G),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(y,K,u){var L=u("./node_modules/core-js/internals/require-object-coercible.js");y.exports=function(D){return Object(L(D))}},"./node_modules/core-js/internals/to-primitive.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-object.js"),D=u("./node_modules/core-js/internals/is-symbol.js"),G=u("./node_modules/core-js/internals/ordinary-to-primitive.js"),F=u("./node_modules/core-js/internals/well-known-symbol.js"),_=F("toPrimitive");y.exports=function(N,I){if(!L(N)||D(N))return N;var w=N[_],E;if(w!==void 0){if(I===void 0&&(I="default"),E=w.call(N,I),!L(E)||D(E))return E;throw TypeError("Can't convert object to primitive value")}return I===void 0&&(I="number"),G(N,I)}},"./node_modules/core-js/internals/to-property-key.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-primitive.js"),D=u("./node_modules/core-js/internals/is-symbol.js");y.exports=function(G){var F=L(G,"string");return D(F)?F:String(F)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(y,K,u){var L=u("./node_modules/core-js/internals/well-known-symbol.js"),D=L("toStringTag"),G={};G[D]="z",y.exports=String(G)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(y,K,u){var L=u("./node_modules/core-js/internals/is-symbol.js");y.exports=function(D){if(L(D))throw TypeError("Cannot convert a Symbol value to a string");return String(D)}},"./node_modules/core-js/internals/uid.js":function(y){var K=0,u=Math.random();y.exports=function(L){return"Symbol("+String(L===void 0?"":L)+")_"+(++K+u).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(y,K,u){var L=u("./node_modules/core-js/internals/native-symbol.js");y.exports=L&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(y,K,u){var L=u("./node_modules/core-js/internals/well-known-symbol.js");K.f=L},"./node_modules/core-js/internals/well-known-symbol.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/shared.js"),G=u("./node_modules/core-js/internals/has.js"),F=u("./node_modules/core-js/internals/uid.js"),_=u("./node_modules/core-js/internals/native-symbol.js"),N=u("./node_modules/core-js/internals/use-symbol-as-uid.js"),I=D("wks"),w=L.Symbol,E=N?w:w&&w.withoutSetter||F;y.exports=function(ae){return(!G(I,ae)||!(_||typeof I[ae]=="string"))&&(_&&G(w,ae)?I[ae]=w[ae]:I[ae]=E("Symbol."+ae)),I[ae]}},"./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,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/fails.js"),G=u("./node_modules/core-js/internals/is-array.js"),F=u("./node_modules/core-js/internals/is-object.js"),_=u("./node_modules/core-js/internals/to-object.js"),N=u("./node_modules/core-js/internals/to-length.js"),I=u("./node_modules/core-js/internals/create-property.js"),w=u("./node_modules/core-js/internals/array-species-create.js"),E=u("./node_modules/core-js/internals/array-method-has-species-support.js"),ae=u("./node_modules/core-js/internals/well-known-symbol.js"),q=u("./node_modules/core-js/internals/engine-v8-version.js"),te=ae("isConcatSpreadable"),$e=9007199254740991,Ne="Maximum allowed index exceeded",Qe=q>=51||!D(function(){var ie=[];return ie[te]=!1,ie.concat()[0]!==ie}),Ze=E("concat"),ye=function(ie){if(!F(ie))return!1;var xe=ie[te];return xe!==void 0?!!xe:G(ie)},Ae=!Qe||!Ze;L({target:"Array",proto:!0,forced:Ae},{concat:function(xe){var M=_(this),A=w(M,0),ot=0,ue,ce,C,k,R;for(ue=-1,C=arguments.length;ue<C;ue++)if(R=ue===-1?M:arguments[ue],ye(R)){if(k=N(R.length),ot+k>$e)throw TypeError(Ne);for(ce=0;ce<k;ce++,ot++)ce in R&&I(A,ot,R[ce])}else{if(ot>=$e)throw TypeError(Ne);I(A,ot++,R)}return A.length=ot,A}})},"./node_modules/core-js/modules/es.array.iterator.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/to-indexed-object.js"),D=u("./node_modules/core-js/internals/add-to-unscopables.js"),G=u("./node_modules/core-js/internals/iterators.js"),F=u("./node_modules/core-js/internals/internal-state.js"),_=u("./node_modules/core-js/internals/define-iterator.js"),N="Array Iterator",I=F.set,w=F.getterFor(N);y.exports=_(Array,"Array",function(E,ae){I(this,{type:N,target:L(E),index:0,kind:ae})},function(){var E=w(this),ae=E.target,q=E.kind,te=E.index++;return!ae||te>=ae.length?(E.target=void 0,{value:void 0,done:!0}):q=="keys"?{value:te,done:!1}:q=="values"?{value:ae[te],done:!1}:{value:[te,ae[te]],done:!1}},"values"),G.Arguments=G.Array,D("keys"),D("values"),D("entries")},"./node_modules/core-js/modules/es.array.join.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/indexed-object.js"),G=u("./node_modules/core-js/internals/to-indexed-object.js"),F=u("./node_modules/core-js/internals/array-method-is-strict.js"),_=[].join,N=D!=Object,I=F("join",",");L({target:"Array",proto:!0,forced:N||!I},{join:function(E){return _.call(G(this),E===void 0?",":E)}})},"./node_modules/core-js/modules/es.array.map.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/array-iteration.js").map,G=u("./node_modules/core-js/internals/array-method-has-species-support.js"),F=G("map");L({target:"Array",proto:!0,forced:!F},{map:function(N){return D(this,N,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/is-object.js"),G=u("./node_modules/core-js/internals/is-array.js"),F=u("./node_modules/core-js/internals/to-absolute-index.js"),_=u("./node_modules/core-js/internals/to-length.js"),N=u("./node_modules/core-js/internals/to-indexed-object.js"),I=u("./node_modules/core-js/internals/create-property.js"),w=u("./node_modules/core-js/internals/well-known-symbol.js"),E=u("./node_modules/core-js/internals/array-method-has-species-support.js"),ae=E("slice"),q=w("species"),te=[].slice,$e=Math.max;L({target:"Array",proto:!0,forced:!ae},{slice:function(Qe,Ze){var ye=N(this),Ae=_(ye.length),ie=F(Qe,Ae),xe=F(Ze===void 0?Ae:Ze,Ae),M,A,ot;if(G(ye)&&(M=ye.constructor,typeof M=="function"&&(M===Array||G(M.prototype))?M=void 0:D(M)&&(M=M[q],M===null&&(M=void 0)),M===Array||M===void 0))return te.call(ye,ie,xe);for(A=new(M===void 0?Array:M)($e(xe-ie,0)),ot=0;ie<xe;ie++,ot++)ie in ye&&I(A,ot,ye[ie]);return A.length=ot,A}})},"./node_modules/core-js/modules/es.function.name.js":function(y,K,u){var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/object-define-property.js").f,G=Function.prototype,F=G.toString,_=/^\s*function ([^ (]*)/,N="name";L&&!(N in G)&&D(G,N,{configurable:!0,get:function(){try{return F.call(this).match(_)[1]}catch(I){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/descriptors.js"),D=u("./node_modules/core-js/internals/global.js"),G=u("./node_modules/core-js/internals/is-forced.js"),F=u("./node_modules/core-js/internals/redefine.js"),_=u("./node_modules/core-js/internals/has.js"),N=u("./node_modules/core-js/internals/classof-raw.js"),I=u("./node_modules/core-js/internals/inherit-if-required.js"),w=u("./node_modules/core-js/internals/is-symbol.js"),E=u("./node_modules/core-js/internals/to-primitive.js"),ae=u("./node_modules/core-js/internals/fails.js"),q=u("./node_modules/core-js/internals/object-create.js"),te=u("./node_modules/core-js/internals/object-get-own-property-names.js").f,$e=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ne=u("./node_modules/core-js/internals/object-define-property.js").f,Qe=u("./node_modules/core-js/internals/string-trim.js").trim,Ze="Number",ye=D[Ze],Ae=ye.prototype,ie=N(q(Ae))==Ze,xe=function(ce){if(w(ce))throw TypeError("Cannot convert a Symbol value to a number");var C=E(ce,"number"),k,R,S,X,We,ge,Ve,it;if(typeof C=="string"&&C.length>2){if(C=Qe(C),k=C.charCodeAt(0),k===43||k===45){if(R=C.charCodeAt(2),R===88||R===120)return NaN}else if(k===48){switch(C.charCodeAt(1)){case 66:case 98:S=2,X=49;break;case 79:case 111:S=8,X=55;break;default:return+C}for(We=C.slice(2),ge=We.length,Ve=0;Ve<ge;Ve++)if(it=We.charCodeAt(Ve),it<48||it>X)return NaN;return parseInt(We,S)}}return+C};if(G(Ze,!ye(" 0o1")||!ye("0b1")||ye("+0x1"))){for(var M=function(C){var k=arguments.length<1?0:C,R=this;return R instanceof M&&(ie?ae(function(){Ae.valueOf.call(R)}):N(R)!=Ze)?I(new ye(xe(k)),R,M):xe(k)},A=L?te(ye):"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(","),ot=0,ue;A.length>ot;ot++)_(ye,ue=A[ot])&&!_(M,ue)&&Ne(M,ue,$e(ye,ue));M.prototype=Ae,Ae.constructor=M,F(D,Ze,M)}},"./node_modules/core-js/modules/es.object.assign.js":function(y,K,u){var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/object-assign.js");L({target:"Object",stat:!0,forced:Object.assign!==D},{assign:D})},"./node_modules/core-js/modules/es.object.keys.js":function(y,K,u){var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/to-object.js"),G=u("./node_modules/core-js/internals/object-keys.js"),F=u("./node_modules/core-js/internals/fails.js"),_=F(function(){G(1)});L({target:"Object",stat:!0,forced:_},{keys:function(I){return G(D(I))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(y,K,u){var L=u("./node_modules/core-js/internals/to-string-tag-support.js"),D=u("./node_modules/core-js/internals/redefine.js"),G=u("./node_modules/core-js/internals/object-to-string.js");L||D(Object.prototype,"toString",G,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/redefine.js"),D=u("./node_modules/core-js/internals/an-object.js"),G=u("./node_modules/core-js/internals/to-string.js"),F=u("./node_modules/core-js/internals/fails.js"),_=u("./node_modules/core-js/internals/regexp-flags.js"),N="toString",I=RegExp.prototype,w=I[N],E=F(function(){return w.call({source:"a",flags:"b"})!="/a/b"}),ae=w.name!=N;(E||ae)&&L(RegExp.prototype,N,function(){var te=D(this),$e=G(te.source),Ne=te.flags,Qe=G(Ne===void 0&&te instanceof RegExp&&!("flags"in I)?_.call(te):Ne);return"/"+$e+"/"+Qe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/string-multibyte.js").charAt,D=u("./node_modules/core-js/internals/to-string.js"),G=u("./node_modules/core-js/internals/internal-state.js"),F=u("./node_modules/core-js/internals/define-iterator.js"),_="String Iterator",N=G.set,I=G.getterFor(_);F(String,"String",function(w){N(this,{type:_,string:D(w),index:0})},function(){var E=I(this),ae=E.string,q=E.index,te;return q>=ae.length?{value:void 0,done:!0}:(te=L(ae,q),E.index+=te.length,{value:te,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/create-html.js"),G=u("./node_modules/core-js/internals/string-html-forced.js");L({target:"String",proto:!0,forced:G("link")},{link:function(_){return D(this,"a","href",_)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/descriptors.js"),G=u("./node_modules/core-js/internals/global.js"),F=u("./node_modules/core-js/internals/has.js"),_=u("./node_modules/core-js/internals/is-object.js"),N=u("./node_modules/core-js/internals/object-define-property.js").f,I=u("./node_modules/core-js/internals/copy-constructor-properties.js"),w=G.Symbol;if(D&&typeof w=="function"&&(!("description"in w.prototype)||w().description!==void 0)){var E={},ae=function(){var Ze=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ye=this instanceof ae?new w(Ze):Ze===void 0?w():w(Ze);return Ze===""&&(E[ye]=!0),ye};I(ae,w);var q=ae.prototype=w.prototype;q.constructor=ae;var te=q.toString,$e=String(w("test"))=="Symbol(test)",Ne=/^Symbol\((.*)\)[^)]+$/;N(q,"description",{configurable:!0,get:function(){var Ze=_(this)?this.valueOf():this,ye=te.call(Ze);if(F(E,Ze))return"";var Ae=$e?ye.slice(7,-1):ye.replace(Ne,"$1");return Ae===""?void 0:Ae}}),L({global:!0,forced:!0},{Symbol:ae})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(y,K,u){var L=u("./node_modules/core-js/internals/define-well-known-symbol.js");L("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(y,K,u){"use strict";var L=u("./node_modules/core-js/internals/export.js"),D=u("./node_modules/core-js/internals/global.js"),G=u("./node_modules/core-js/internals/get-built-in.js"),F=u("./node_modules/core-js/internals/is-pure.js"),_=u("./node_modules/core-js/internals/descriptors.js"),N=u("./node_modules/core-js/internals/native-symbol.js"),I=u("./node_modules/core-js/internals/fails.js"),w=u("./node_modules/core-js/internals/has.js"),E=u("./node_modules/core-js/internals/is-array.js"),ae=u("./node_modules/core-js/internals/is-object.js"),q=u("./node_modules/core-js/internals/is-symbol.js"),te=u("./node_modules/core-js/internals/an-object.js"),$e=u("./node_modules/core-js/internals/to-object.js"),Ne=u("./node_modules/core-js/internals/to-indexed-object.js"),Qe=u("./node_modules/core-js/internals/to-property-key.js"),Ze=u("./node_modules/core-js/internals/to-string.js"),ye=u("./node_modules/core-js/internals/create-property-descriptor.js"),Ae=u("./node_modules/core-js/internals/object-create.js"),ie=u("./node_modules/core-js/internals/object-keys.js"),xe=u("./node_modules/core-js/internals/object-get-own-property-names.js"),M=u("./node_modules/core-js/internals/object-get-own-property-names-external.js"),A=u("./node_modules/core-js/internals/object-get-own-property-symbols.js"),ot=u("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),ue=u("./node_modules/core-js/internals/object-define-property.js"),ce=u("./node_modules/core-js/internals/object-property-is-enumerable.js"),C=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),k=u("./node_modules/core-js/internals/redefine.js"),R=u("./node_modules/core-js/internals/shared.js"),S=u("./node_modules/core-js/internals/shared-key.js"),X=u("./node_modules/core-js/internals/hidden-keys.js"),We=u("./node_modules/core-js/internals/uid.js"),ge=u("./node_modules/core-js/internals/well-known-symbol.js"),Ve=u("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),it=u("./node_modules/core-js/internals/define-well-known-symbol.js"),dt=u("./node_modules/core-js/internals/set-to-string-tag.js"),fe=u("./node_modules/core-js/internals/internal-state.js"),ze=u("./node_modules/core-js/internals/array-iteration.js").forEach,Ct=S("hidden"),He="Symbol",Fe="prototype",j=ge("toPrimitive"),Ye=fe.set,be=fe.getterFor(He),de=Object[Fe],he=D.Symbol,me=G("JSON","stringify"),Ie=ot.f,we=ue.f,Le=M.f,qe=ce.f,yt=R("symbols"),$t=R("op-symbols"),qt=R("string-to-symbol-registry"),Gt=R("symbol-to-string-registry"),Pt=R("wks"),at=D.QObject,xt=!at||!at[Fe]||!at[Fe].findChild,Nt=_&&I(function(){return Ae(we({},"a",{get:function(){return we(this,"a",{value:7}).a}})).a!=7})?function(wt,oe,Te){var zr=Ie(de,oe);zr&&delete de[oe],we(wt,oe,Te),zr&&wt!==de&&we(de,oe,zr)}:we,Ht=function(wt,oe){var Te=yt[wt]=Ae(he[Fe]);return Ye(Te,{type:He,tag:wt,description:oe}),_||(Te.description=oe),Te},Et=function(oe,Te,zr){oe===de&&Et($t,Te,zr),te(oe);var Ar=Qe(Te);return te(zr),w(yt,Ar)?(zr.enumerable?(w(oe,Ct)&&oe[Ct][Ar]&&(oe[Ct][Ar]=!1),zr=Ae(zr,{enumerable:ye(0,!1)})):(w(oe,Ct)||we(oe,Ct,ye(1,{})),oe[Ct][Ar]=!0),Nt(oe,Ar,zr)):we(oe,Ar,zr)},er=function(oe,Te){te(oe);var zr=Ne(Te),Ar=ie(zr).concat(x(zr));return ze(Ar,function(yn){(!_||Cr.call(zr,yn))&&Et(oe,yn,zr[yn])}),oe},lr=function(oe,Te){return Te===void 0?Ae(oe):er(Ae(oe),Te)},Cr=function(oe){var Te=Qe(oe),zr=qe.call(this,Te);return this===de&&w(yt,Te)&&!w($t,Te)?!1:zr||!w(this,Te)||!w(yt,Te)||w(this,Ct)&&this[Ct][Te]?zr:!0},Jr=function(oe,Te){var zr=Ne(oe),Ar=Qe(Te);if(!(zr===de&&w(yt,Ar)&&!w($t,Ar))){var yn=Ie(zr,Ar);return yn&&w(yt,Ar)&&!(w(zr,Ct)&&zr[Ct][Ar])&&(yn.enumerable=!0),yn}},$r=function(oe){var Te=Le(Ne(oe)),zr=[];return ze(Te,function(Ar){!w(yt,Ar)&&!w(X,Ar)&&zr.push(Ar)}),zr},x=function(oe){var Te=oe===de,zr=Le(Te?$t:Ne(oe)),Ar=[];return ze(zr,function(yn){w(yt,yn)&&(!Te||w(de,yn))&&Ar.push(yt[yn])}),Ar};if(N||(he=function(){if(this instanceof he)throw TypeError("Symbol is not a constructor");var oe=!arguments.length||arguments[0]===void 0?void 0:Ze(arguments[0]),Te=We(oe),zr=function(Ar){this===de&&zr.call($t,Ar),w(this,Ct)&&w(this[Ct],Te)&&(this[Ct][Te]=!1),Nt(this,Te,ye(1,Ar))};return _&&xt&&Nt(de,Te,{configurable:!0,set:zr}),Ht(Te,oe)},k(he[Fe],"toString",function(){return be(this).tag}),k(he,"withoutSetter",function(wt){return Ht(We(wt),wt)}),ce.f=Cr,ue.f=Et,ot.f=Jr,xe.f=M.f=$r,A.f=x,Ve.f=function(wt){return Ht(ge(wt),wt)},_&&(we(he[Fe],"description",{configurable:!0,get:function(){return be(this).description}}),F||k(de,"propertyIsEnumerable",Cr,{unsafe:!0}))),L({global:!0,wrap:!0,forced:!N,sham:!N},{Symbol:he}),ze(ie(Pt),function(wt){it(wt)}),L({target:He,stat:!0,forced:!N},{for:function(wt){var oe=Ze(wt);if(w(qt,oe))return qt[oe];var Te=he(oe);return qt[oe]=Te,Gt[Te]=oe,Te},keyFor:function(oe){if(!q(oe))throw TypeError(oe+" is not a symbol");if(w(Gt,oe))return Gt[oe]},useSetter:function(){xt=!0},useSimple:function(){xt=!1}}),L({target:"Object",stat:!0,forced:!N,sham:!_},{create:lr,defineProperty:Et,defineProperties:er,getOwnPropertyDescriptor:Jr}),L({target:"Object",stat:!0,forced:!N},{getOwnPropertyNames:$r,getOwnPropertySymbols:x}),L({target:"Object",stat:!0,forced:I(function(){A.f(1)})},{getOwnPropertySymbols:function(oe){return A.f($e(oe))}}),me){var W=!N||I(function(){var wt=he();return me([wt])!="[null]"||me({a:wt})!="{}"||me(Object(wt))!="{}"});L({target:"JSON",stat:!0,forced:W},{stringify:function(oe,Te,zr){for(var Ar=[oe],yn=1,Tn;arguments.length>yn;)Ar.push(arguments[yn++]);if(Tn=Te,!(!ae(Te)&&oe===void 0||q(oe)))return E(Te)||(Te=function(Ft,wr){if(typeof Tn=="function"&&(wr=Tn.call(this,Ft,wr)),!q(wr))return wr}),Ar[1]=Te,me.apply(null,Ar)}})}he[Fe][j]||C(he[Fe],j,he[Fe].valueOf),dt(he,He),X[Ct]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/dom-iterables.js"),G=u("./node_modules/core-js/internals/array-for-each.js"),F=u("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var _ in D){var N=L[_],I=N&&N.prototype;if(I&&I.forEach!==G)try{F(I,"forEach",G)}catch(w){I.forEach=G}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(y,K,u){var L=u("./node_modules/core-js/internals/global.js"),D=u("./node_modules/core-js/internals/dom-iterables.js"),G=u("./node_modules/core-js/modules/es.array.iterator.js"),F=u("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=u("./node_modules/core-js/internals/well-known-symbol.js"),N=_("iterator"),I=_("toStringTag"),w=G.values;for(var E in D){var ae=L[E],q=ae&&ae.prototype;if(q){if(q[N]!==w)try{F(q,N,w)}catch($e){q[N]=w}if(q[I]||F(q,I,E),D[E]){for(var te in G)if(q[te]!==G[te])try{F(q,te,G[te])}catch($e){q[te]=G[te]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(y){(function(K,u){y.exports=u()})(this,function(){"use strict";function K(at){var xt=typeof at;return at!==null&&(xt==="object"||xt==="function")}function u(at){return typeof at=="function"}var L=void 0;Array.isArray?L=Array.isArray:L=function(at){return Object.prototype.toString.call(at)==="[object Array]"};var D=L,G=0,F=void 0,_=void 0,N=function(xt,Nt){ie[G]=xt,ie[G+1]=Nt,G+=2,G===2&&(_?_(xe):A())};function I(at){_=at}function w(at){N=at}var E=typeof window!="undefined"?window:void 0,ae=E||{},q=ae.MutationObserver||ae.WebKitMutationObserver,te=typeof self=="undefined"&&typeof o!="undefined"&&{}.toString.call(o)==="[object process]",$e=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ne(){return function(){return o.nextTick(xe)}}function Qe(){return typeof F!="undefined"?function(){F(xe)}:Ae()}function Ze(){var at=0,xt=new q(xe),Nt=document.createTextNode("");return xt.observe(Nt,{characterData:!0}),function(){Nt.data=at=++at%2}}function ye(){var at=new MessageChannel;return at.port1.onmessage=xe,function(){return at.port2.postMessage(0)}}function Ae(){var at=setTimeout;return function(){return at(xe,1)}}var ie=new Array(1e3);function xe(){for(var at=0;at<G;at+=2){var xt=ie[at],Nt=ie[at+1];xt(Nt),ie[at]=void 0,ie[at+1]=void 0}G=0}function M(){try{var at=Function("return this")().require("vertx");return F=at.runOnLoop||at.runOnContext,Qe()}catch(xt){return Ae()}}var A=void 0;te?A=Ne():q?A=Ze():$e?A=ye():E===void 0?A=M():A=Ae();function ot(at,xt){var Nt=this,Ht=new this.constructor(C);Ht[ce]===void 0&&me(Ht);var Et=Nt._state;if(Et){var er=arguments[Et-1];N(function(){return Ye(Et,Ht,er,Nt._result)})}else Fe(Nt,Ht,at,xt);return Ht}function ue(at){var xt=this;if(at&&typeof at=="object"&&at.constructor===xt)return at;var Nt=new xt(C);return fe(Nt,at),Nt}var ce=Math.random().toString(36).substring(2);function C(){}var k=void 0,R=1,S=2;function X(){return new TypeError("You cannot resolve a promise with itself")}function We(){return new TypeError("A promises callback cannot return that same promise.")}function ge(at,xt,Nt,Ht){try{at.call(xt,Nt,Ht)}catch(Et){return Et}}function Ve(at,xt,Nt){N(function(Ht){var Et=!1,er=ge(Nt,xt,function(lr){Et||(Et=!0,xt!==lr?fe(Ht,lr):Ct(Ht,lr))},function(lr){Et||(Et=!0,He(Ht,lr))},"Settle: "+(Ht._label||" unknown promise"));!Et&&er&&(Et=!0,He(Ht,er))},at)}function it(at,xt){xt._state===R?Ct(at,xt._result):xt._state===S?He(at,xt._result):Fe(xt,void 0,function(Nt){return fe(at,Nt)},function(Nt){return He(at,Nt)})}function dt(at,xt,Nt){xt.constructor===at.constructor&&Nt===ot&&xt.constructor.resolve===ue?it(at,xt):Nt===void 0?Ct(at,xt):u(Nt)?Ve(at,xt,Nt):Ct(at,xt)}function fe(at,xt){if(at===xt)He(at,X());else if(K(xt)){var Nt=void 0;try{Nt=xt.then}catch(Ht){He(at,Ht);return}dt(at,xt,Nt)}else Ct(at,xt)}function ze(at){at._onerror&&at._onerror(at._result),j(at)}function Ct(at,xt){at._state===k&&(at._result=xt,at._state=R,at._subscribers.length!==0&&N(j,at))}function He(at,xt){at._state===k&&(at._state=S,at._result=xt,N(ze,at))}function Fe(at,xt,Nt,Ht){var Et=at._subscribers,er=Et.length;at._onerror=null,Et[er]=xt,Et[er+R]=Nt,Et[er+S]=Ht,er===0&&at._state&&N(j,at)}function j(at){var xt=at._subscribers,Nt=at._state;if(xt.length!==0){for(var Ht=void 0,Et=void 0,er=at._result,lr=0;lr<xt.length;lr+=3)Ht=xt[lr],Et=xt[lr+Nt],Ht?Ye(Nt,Ht,Et,er):Et(er);at._subscribers.length=0}}function Ye(at,xt,Nt,Ht){var Et=u(Nt),er=void 0,lr=void 0,Cr=!0;if(Et){try{er=Nt(Ht)}catch(Jr){Cr=!1,lr=Jr}if(xt===er){He(xt,We());return}}else er=Ht;xt._state!==k||(Et&&Cr?fe(xt,er):Cr===!1?He(xt,lr):at===R?Ct(xt,er):at===S&&He(xt,er))}function be(at,xt){try{xt(function(Ht){fe(at,Ht)},function(Ht){He(at,Ht)})}catch(Nt){He(at,Nt)}}var de=0;function he(){return de++}function me(at){at[ce]=de++,at._state=void 0,at._result=void 0,at._subscribers=[]}function Ie(){return new Error("Array Methods must be provided an Array")}var we=function(){function at(xt,Nt){this._instanceConstructor=xt,this.promise=new xt(C),this.promise[ce]||me(this.promise),D(Nt)?(this.length=Nt.length,this._remaining=Nt.length,this._result=new Array(this.length),this.length===0?Ct(this.promise,this._result):(this.length=this.length||0,this._enumerate(Nt),this._remaining===0&&Ct(this.promise,this._result))):He(this.promise,Ie())}return at.prototype._enumerate=function(Nt){for(var Ht=0;this._state===k&&Ht<Nt.length;Ht++)this._eachEntry(Nt[Ht],Ht)},at.prototype._eachEntry=function(Nt,Ht){var Et=this._instanceConstructor,er=Et.resolve;if(er===ue){var lr=void 0,Cr=void 0,Jr=!1;try{lr=Nt.then}catch(x){Jr=!0,Cr=x}if(lr===ot&&Nt._state!==k)this._settledAt(Nt._state,Ht,Nt._result);else if(typeof lr!="function")this._remaining--,this._result[Ht]=Nt;else if(Et===Gt){var $r=new Et(C);Jr?He($r,Cr):dt($r,Nt,lr),this._willSettleAt($r,Ht)}else this._willSettleAt(new Et(function(x){return x(Nt)}),Ht)}else this._willSettleAt(er(Nt),Ht)},at.prototype._settledAt=function(Nt,Ht,Et){var er=this.promise;er._state===k&&(this._remaining--,Nt===S?He(er,Et):this._result[Ht]=Et),this._remaining===0&&Ct(er,this._result)},at.prototype._willSettleAt=function(Nt,Ht){var Et=this;Fe(Nt,void 0,function(er){return Et._settledAt(R,Ht,er)},function(er){return Et._settledAt(S,Ht,er)})},at}();function Le(at){return new we(this,at).promise}function qe(at){var xt=this;return D(at)?new xt(function(Nt,Ht){for(var Et=at.length,er=0;er<Et;er++)xt.resolve(at[er]).then(Nt,Ht)}):new xt(function(Nt,Ht){return Ht(new TypeError("You must pass an array to race."))})}function yt(at){var xt=this,Nt=new xt(C);return He(Nt,at),Nt}function $t(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function qt(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Gt=function(){function at(xt){this[ce]=he(),this._result=this._state=void 0,this._subscribers=[],C!==xt&&(typeof xt!="function"&&$t(),this instanceof at?be(this,xt):qt())}return at.prototype.catch=function(Nt){return this.then(null,Nt)},at.prototype.finally=function(Nt){var Ht=this,Et=Ht.constructor;return u(Nt)?Ht.then(function(er){return Et.resolve(Nt()).then(function(){return er})},function(er){return Et.resolve(Nt()).then(function(){throw er})}):Ht.then(Nt,Nt)},at}();Gt.prototype.then=ot,Gt.all=Le,Gt.race=qe,Gt.resolve=ue,Gt.reject=yt,Gt._setScheduler=I,Gt._setAsap=w,Gt._asap=N;function Pt(){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 xt=at.Promise;if(xt){var Nt=null;try{Nt=Object.prototype.toString.call(xt.resolve())}catch(Ht){}if(Nt==="[object Promise]"&&!xt.cast)return}at.Promise=Gt}return Gt.polyfill=Pt,Gt.Promise=Gt,Gt})},html2canvas:function(y){"use strict";y.exports=B},jspdf:function(y){"use strict";y.exports=Je}},J={};function Q(y){var K=J[y];if(K!==void 0)return K.exports;var u=J[y]={exports:{}};return Re[y].call(u.exports,u,u.exports,Q),u.exports}(function(){Q.n=function(y){var K=y&&y.__esModule?function(){return y.default}:function(){return y};return Q.d(K,{a:K}),K}})(),function(){Q.d=function(y,K){for(var u in K)Q.o(K,u)&&!Q.o(y,u)&&Object.defineProperty(y,u,{enumerable:!0,get:K[u]})}}(),function(){Q.o=function(y,K){return Object.prototype.hasOwnProperty.call(y,K)}}(),function(){Q.r=function(y){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})}}();var Y={};return function(){"use strict";Q.r(Y);var y=Q("./src/worker.js"),K=Q("./src/plugin/jspdf-plugin.js"),u=Q("./src/plugin/pagebreaks.js"),L=Q("./src/plugin/hyperlinks.js"),D=function G(F,_){var N=new G.Worker(_);return F?N.from(F).save():N};D.Worker=y.default,Y.default=D}(),Y=Y.default,Y}()})},28685:function(qr,_t,n){"use strict";n.r(_t),n.d(_t,{AcroForm:function(){return Te},AcroFormAppearance:function(){return wt},AcroFormButton:function(){return er},AcroFormCheckBox:function(){return $r},AcroFormChoiceField:function(){return xt},AcroFormComboBox:function(){return Ht},AcroFormEditBox:function(){return Et},AcroFormListBox:function(){return Nt},AcroFormPasswordField:function(){return W},AcroFormPushButton:function(){return lr},AcroFormRadioButton:function(){return Cr},AcroFormTextField:function(){return x},GState:function(){return ue},ShadingPattern:function(){return C},TilingPattern:function(){return k},default:function(){return R},jsPDF:function(){return R}});var o=n(76190),Je=n(6330),B=n(42978),Re=n(6341);var J=function(){return typeof window!="undefined"?window:typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:this}();function Q(){J.console&&typeof J.console.log=="function"&&J.console.log.apply(J.console,arguments)}var Y={log:Q,warn:function(f){J.console&&(typeof J.console.warn=="function"?J.console.warn.apply(J.console,arguments):Q.call(null,arguments))},error:function(f){J.console&&(typeof J.console.error=="function"?J.console.error.apply(J.console,arguments):Q(f))}};function y(f,s,p){var b=new XMLHttpRequest;b.open("GET",f),b.responseType="blob",b.onload=function(){L(b.response,s,p)},b.onerror=function(){Y.error("could not download file")},b.send()}function K(f){var s=new XMLHttpRequest;s.open("HEAD",f,!1);try{s.send()}catch(p){}return s.status>=200&&s.status<=299}function u(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(p){var s=document.createEvent("MouseEvents");s.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(s)}}var L=J.saveAs||((typeof window=="undefined"?"undefined":(0,o.Z)(window))!=="object"||window!==J?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(f,s,p){var b=J.URL||J.webkitURL,$=document.createElement("a");s=s||f.name||"download",$.download=s,$.rel="noopener",typeof f=="string"?($.href=f,$.origin!==location.origin?K($.href)?y(f,s,p):u($,$.target="_blank"):u($)):($.href=b.createObjectURL(f),setTimeout(function(){b.revokeObjectURL($.href)},4e4),setTimeout(function(){u($)},0))}:"msSaveOrOpenBlob"in navigator?function(f,s,p){if(s=s||f.name||"download",typeof f=="string")if(K(f))y(f,s,p);else{var b=document.createElement("a");b.href=f,b.target="_blank",setTimeout(function(){u(b)})}else navigator.msSaveOrOpenBlob(function($,v){return v===void 0?v={autoBom:!1}:(0,o.Z)(v)!=="object"&&(Y.warn("Deprecated: Expected third argument to be a object"),v={autoBom:!v}),v.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test($.type)?new Blob(["\uFEFF",$],{type:$.type}):$}(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 $=f.type==="application/octet-stream",v=/constructor/i.test(J.HTMLElement)||J.safari,T=/CriOS\/[\d]+/.test(navigator.userAgent);if((T||$&&v)&&(typeof FileReader=="undefined"?"undefined":(0,o.Z)(FileReader))==="object"){var Z=new FileReader;Z.onloadend=function(){var st=Z.result;st=T?st:st.replace(/^data:[^;]*;/,"data:attachment/file;"),b?b.location.href=st:location=st,b=null},Z.readAsDataURL(f)}else{var ee=J.URL||J.webkitURL,Ee=ee.createObjectURL(f);b?b.location=Ee:location.href=Ee,b=null,setTimeout(function(){ee.revokeObjectURL(Ee)},4e4)}});function D(f){var s;f=f||"",this.ok=!1,f.charAt(0)=="#"&&(f=f.substr(1,6)),f={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[f=(f=f.replace(/ /g,"")).toLowerCase()]||f;for(var p=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(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[b].re,v=p[b].process,T=$.exec(f);T&&(s=v(T),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),Ee=this.b.toString(16);return Z.length==1&&(Z="0"+Z),ee.length==1&&(ee="0"+ee),Ee.length==1&&(Ee="0"+Ee),"#"+Z+ee+Ee}}var G=J.atob.bind(J),F=J.btoa.bind(J);function _(f,s){var p=f[0],b=f[1],$=f[2],v=f[3];p=I(p,b,$,v,s[0],7,-680876936),v=I(v,p,b,$,s[1],12,-389564586),$=I($,v,p,b,s[2],17,606105819),b=I(b,$,v,p,s[3],22,-1044525330),p=I(p,b,$,v,s[4],7,-176418897),v=I(v,p,b,$,s[5],12,1200080426),$=I($,v,p,b,s[6],17,-1473231341),b=I(b,$,v,p,s[7],22,-45705983),p=I(p,b,$,v,s[8],7,1770035416),v=I(v,p,b,$,s[9],12,-1958414417),$=I($,v,p,b,s[10],17,-42063),b=I(b,$,v,p,s[11],22,-1990404162),p=I(p,b,$,v,s[12],7,1804603682),v=I(v,p,b,$,s[13],12,-40341101),$=I($,v,p,b,s[14],17,-1502002290),p=w(p,b=I(b,$,v,p,s[15],22,1236535329),$,v,s[1],5,-165796510),v=w(v,p,b,$,s[6],9,-1069501632),$=w($,v,p,b,s[11],14,643717713),b=w(b,$,v,p,s[0],20,-373897302),p=w(p,b,$,v,s[5],5,-701558691),v=w(v,p,b,$,s[10],9,38016083),$=w($,v,p,b,s[15],14,-660478335),b=w(b,$,v,p,s[4],20,-405537848),p=w(p,b,$,v,s[9],5,568446438),v=w(v,p,b,$,s[14],9,-1019803690),$=w($,v,p,b,s[3],14,-187363961),b=w(b,$,v,p,s[8],20,1163531501),p=w(p,b,$,v,s[13],5,-1444681467),v=w(v,p,b,$,s[2],9,-51403784),$=w($,v,p,b,s[7],14,1735328473),p=E(p,b=w(b,$,v,p,s[12],20,-1926607734),$,v,s[5],4,-378558),v=E(v,p,b,$,s[8],11,-2022574463),$=E($,v,p,b,s[11],16,1839030562),b=E(b,$,v,p,s[14],23,-35309556),p=E(p,b,$,v,s[1],4,-1530992060),v=E(v,p,b,$,s[4],11,1272893353),$=E($,v,p,b,s[7],16,-155497632),b=E(b,$,v,p,s[10],23,-1094730640),p=E(p,b,$,v,s[13],4,681279174),v=E(v,p,b,$,s[0],11,-358537222),$=E($,v,p,b,s[3],16,-722521979),b=E(b,$,v,p,s[6],23,76029189),p=E(p,b,$,v,s[9],4,-640364487),v=E(v,p,b,$,s[12],11,-421815835),$=E($,v,p,b,s[15],16,530742520),p=ae(p,b=E(b,$,v,p,s[2],23,-995338651),$,v,s[0],6,-198630844),v=ae(v,p,b,$,s[7],10,1126891415),$=ae($,v,p,b,s[14],15,-1416354905),b=ae(b,$,v,p,s[5],21,-57434055),p=ae(p,b,$,v,s[12],6,1700485571),v=ae(v,p,b,$,s[3],10,-1894986606),$=ae($,v,p,b,s[10],15,-1051523),b=ae(b,$,v,p,s[1],21,-2054922799),p=ae(p,b,$,v,s[8],6,1873313359),v=ae(v,p,b,$,s[15],10,-30611744),$=ae($,v,p,b,s[6],15,-1560198380),b=ae(b,$,v,p,s[13],21,1309151649),p=ae(p,b,$,v,s[4],6,-145523070),v=ae(v,p,b,$,s[11],10,-1120210379),$=ae($,v,p,b,s[2],15,718787259),b=ae(b,$,v,p,s[9],21,-343485551),f[0]=Ae(p,f[0]),f[1]=Ae(b,f[1]),f[2]=Ae($,f[2]),f[3]=Ae(v,f[3])}function N(f,s,p,b,$,v){return s=Ae(Ae(s,f),Ae(b,v)),Ae(s<<$|s>>>32-$,p)}function I(f,s,p,b,$,v,T){return N(s&p|~s&b,f,s,$,v,T)}function w(f,s,p,b,$,v,T){return N(s&b|p&~b,f,s,$,v,T)}function E(f,s,p,b,$,v,T){return N(s^p^b,f,s,$,v,T)}function ae(f,s,p,b,$,v,T){return N(p^(s|~b),f,s,$,v,T)}function q(f){var s,p=f.length,b=[1732584193,-271733879,-1732584194,271733878];for(s=64;s<=f.length;s+=64)_(b,te(f.substring(s-64,s)));f=f.substring(s-64);var $=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(s=0;s<f.length;s++)$[s>>2]|=f.charCodeAt(s)<<(s%4<<3);if($[s>>2]|=128<<(s%4<<3),s>55)for(_(b,$),s=0;s<16;s++)$[s]=0;return $[14]=8*p,_(b,$),b}function te(f){var s,p=[];for(s=0;s<64;s+=4)p[s>>2]=f.charCodeAt(s)+(f.charCodeAt(s+1)<<8)+(f.charCodeAt(s+2)<<16)+(f.charCodeAt(s+3)<<24);return p}var $e="0123456789abcdef".split("");function Ne(f){for(var s="",p=0;p<4;p++)s+=$e[f>>8*p+4&15]+$e[f>>8*p&15];return s}function Qe(f){return String.fromCharCode(255&f,(65280&f)>>8,(16711680&f)>>16,(4278190080&f)>>24)}function Ze(f){return q(f).map(Qe).join("")}var ye=function(f){for(var s=0;s<f.length;s++)f[s]=Ne(f[s]);return f.join("")}(q("hello"))!="5d41402abc4b2a76b9719d911017c592";function Ae(f,s){if(ye){var p=(65535&f)+(65535&s);return(f>>16)+(s>>16)+(p>>16)<<16|65535&p}return f+s&4294967295}function ie(f,s){var p,b,$,v;if(f!==p){for(var T=($=f,v=1+(256/f.length|0),new Array(v+1).join($)),Z=[],ee=0;ee<256;ee++)Z[ee]=ee;var Ee=0;for(ee=0;ee<256;ee++){var st=Z[ee];Ee=(Ee+st+T.charCodeAt(ee))%256,Z[ee]=Z[Ee],Z[Ee]=st}p=f,b=Z}else Z=b;var jt=s.length,At=0,ve=0,kt="";for(ee=0;ee<jt;ee++)ve=(ve+(st=Z[At=(At+1)%256]))%256,Z[At]=Z[ve],Z[ve]=st,T=Z[(Z[At]+Z[ve])%256],kt+=String.fromCharCode(s.charCodeAt(ee)^T);return kt}var xe={print:4,modify:8,copy:16,"annot-forms":32};function M(f,s,p,b){this.v=1,this.r=2;var $=192;f.forEach(function(Z){if(xe.perm!==void 0)throw new Error("Invalid permission: "+Z);$+=xe[Z]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var v=(s+this.padding).substr(0,32),T=(p+this.padding).substr(0,32);this.O=this.processOwnerPassword(v,T),this.P=-(1+(255^$)),this.encryptionKey=Ze(v+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(b)).substr(0,5),this.U=ie(this.encryptionKey,this.padding)}function A(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 $=f.charCodeAt(b);s+=$<33||$===35||$===37||$===40||$===41||$===47||$===60||$===62||$===91||$===93||$===123||$===125||$>126?"#"+("0"+$.toString(16)).slice(-2):f[b]}return s}function ot(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,$){if($=$||!1,typeof p!="string"||typeof b!="function"||typeof $!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");s.hasOwnProperty(p)||(s[p]={});var v=Math.random().toString(35);return s[p][v]=[b,!!$],v},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),$=[];for(var v in s[p]){var T=s[p][v];try{T[0].apply(f,b)}catch(Z){J.console&&Y.error("jsPDF PubSub Error",Z.message,Z)}T[1]&&$.push(v)}$.length&&$.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 ce(f,s){this.gState=f,this.matrix=s,this.id="",this.objectNumber=-1}function C(f,s,p,b,$){if(!(this instanceof C))return new C(f,s,p,b,$);this.type=f==="axial"?2:3,this.coords=s,this.colors=p,ce.call(this,b,$)}function k(f,s,p,b,$){if(!(this instanceof k))return new k(f,s,p,b,$);this.boundingBox=f,this.xStep=s,this.yStep=p,this.stream="",this.cloneIndex=0,ce.call(this,b,$)}function R(f){var s,p=typeof arguments[0]=="string"?arguments[0]:"p",b=arguments[1],$=arguments[2],v=arguments[3],T=[],Z=1,ee=16,Ee="S",st=null;(0,o.Z)(f=f||{})==="object"&&(p=f.orientation,b=f.unit||b,$=f.format||$,v=f.compress||f.compressPdf||v,(st=f.encryption||null)!==null&&(st.userPassword=st.userPassword||"",st.ownerPassword=st.ownerPassword||"",st.userPermissions=st.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),Ee=f.defaultPathOperation||"S"),T=f.filters||(v===!0?["FlateEncode"]:T),b=b||"mm",p=(""+(p||"P")).toLowerCase();var jt=f.putOnlyUsedFonts||!1,At={},ve={internal:{},__private__:{}};ve.__private__.PubSub=ot;var kt="1.3",Ge=ve.__private__.getPdfVersion=function(){return kt};ve.__private__.setPdfVersion=function(P){kt=P};var Zt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};ve.__private__.getPageFormats=function(){return Zt};var pt=ve.__private__.getPageFormat=function(P){return Zt[P]};$=$||"a4";var ar="compat",yr="advanced",Qt=ar;function nt(){this.saveGraphicsState(),Lt(new ma(aa,0,0,-aa,0,Qi()*aa).toString()+" cm"),this.setFontSize(this.getFontSize()/aa),Ee="n",Qt=yr}function Se(){this.restoreGraphicsState(),Ee="S",Qt=ar}var Vt=ve.__private__.combineFontStyleAndFontWeight=function(P,je){if(P=="bold"&&je=="normal"||P=="bold"&&je==400||P=="normal"&&je=="italic"||P=="bold"&&je=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return je&&(P=je==400||je==="normal"?P==="italic"?"italic":"normal":je!=700&&je!=="bold"||P!=="normal"?(je==700?"bold":je)+""+P:"bold"),P};ve.advancedAPI=function(P){var je=Qt===ar;return je&&nt.call(this),typeof P!="function"||(P(this),je&&Se.call(this)),this},ve.compatAPI=function(P){var je=Qt===yr;return je&&Se.call(this),typeof P!="function"||(P(this),je&&nt.call(this)),this},ve.isAdvancedAPI=function(){return Qt===yr};var Mt,Ot=function(P){if(Qt!==yr)throw new Error(P+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Jt=ve.roundToPrecision=ve.__private__.roundToPrecision=function(P,je){var zt=s||je;if(isNaN(P)||isNaN(zt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return P.toFixed(zt).replace(/0+$/,"")};Mt=ve.hpf=ve.__private__.hpf=typeof ee=="number"?function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(P,ee)}:ee==="smart"?function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(P,P>-1&&P<1?16:5)}:function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.hpf");return Jt(P,16)};var ke=ve.f2=ve.__private__.f2=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.f2");return Jt(P,2)},Be=ve.__private__.f3=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.f3");return Jt(P,3)},St=ve.scale=ve.__private__.scale=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.scale");return Qt===ar?P*aa:Qt===yr?P:void 0},ct=function(P){return St(function(je){return Qt===ar?Qi()-je:Qt===yr?je:void 0}(P))};ve.__private__.setPrecision=ve.setPrecision=function(P){typeof parseInt(P,10)=="number"&&(s=parseInt(P,10))};var cr,gr="00000000000000000000000000000000",Xt=ve.__private__.getFileId=function(){return gr},Tt=ve.__private__.setFileId=function(P){return gr=P!==void 0&&/^[a-fA-F0-9]{32}$/.test(P)?P.toUpperCase():gr.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),st!==null&&(xo=new M(st.userPermissions,st.userPassword,st.ownerPassword,gr)),gr};ve.setFileId=function(P){return Tt(P),this},ve.getFileId=function(){return Xt()};var ir=ve.__private__.convertDateToPDFDate=function(P){var je=P.getTimezoneOffset(),zt=je<0?"+":"-",tr=Math.floor(Math.abs(je/60)),Sr=Math.abs(je%60),Kr=[zt,Bt(tr),"'",Bt(Sr),"'"].join("");return["D:",P.getFullYear(),Bt(P.getMonth()+1),Bt(P.getDate()),Bt(P.getHours()),Bt(P.getMinutes()),Bt(P.getSeconds()),Kr].join("")},Zr=ve.__private__.convertPDFDateToDate=function(P){var je=parseInt(P.substr(2,4),10),zt=parseInt(P.substr(6,2),10)-1,tr=parseInt(P.substr(8,2),10),Sr=parseInt(P.substr(10,2),10),Kr=parseInt(P.substr(12,2),10),ln=parseInt(P.substr(14,2),10);return new Date(je,zt,tr,Sr,Kr,ln,0)},Wt=ve.__private__.setCreationDate=function(P){var je;if(P===void 0&&(P=new Date),P instanceof Date)je=ir(P);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(P))throw new Error("Invalid argument passed to jsPDF.setCreationDate");je=P}return cr=je},Pe=ve.__private__.getCreationDate=function(P){var je=cr;return P==="jsDate"&&(je=Zr(cr)),je};ve.setCreationDate=function(P){return Wt(P),this},ve.getCreationDate=function(P){return Pe(P)};var vt,Bt=ve.__private__.padd2=function(P){return("0"+parseInt(P)).slice(-2)},ht=ve.__private__.padd2Hex=function(P){return("00"+(P=P.toString())).substr(P.length)},Yt=0,dr=[],fr=[],Er=0,Lr=[],Rr=[],cn=!1,Sn=fr;ve.__private__.setCustomOutputDestination=function(P){cn=!0,Sn=P};var Mr=function(P){cn||(Sn=P)};ve.__private__.resetCustomOutputDestination=function(){cn=!1,Sn=fr};var Lt=ve.__private__.out=function(P){return P=P.toString(),Er+=P.length+1,Sn.push(P),Sn},ba=ve.__private__.write=function(P){return Lt(arguments.length===1?P.toString():Array.prototype.join.call(arguments," "))},da=ve.__private__.getArrayBuffer=function(P){for(var je=P.length,zt=new ArrayBuffer(je),tr=new Uint8Array(zt);je--;)tr[je]=P.charCodeAt(je);return zt},Hn=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];ve.__private__.getStandardFonts=function(){return Hn};var an=f.fontSize||16;ve.__private__.setFontSize=ve.setFontSize=function(P){return an=Qt===yr?P/aa:P,this};var dn,Gr=ve.__private__.getFontSize=ve.getFontSize=function(){return Qt===ar?an:an*aa},sa=f.R2L||!1;ve.__private__.setR2L=ve.setR2L=function(P){return sa=P,this},ve.__private__.getR2L=ve.getR2L=function(){return sa};var Vn,xa=ve.__private__.setZoomMode=function(P){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(P))dn=P;else if(isNaN(P)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(P)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+P+'" is not recognized.');dn=P}else dn=parseInt(P,10)};ve.__private__.getZoomMode=function(){return dn};var _n,la=ve.__private__.setPageMode=function(P){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(P)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+P+'" is not recognized.');Vn=P};ve.__private__.getPageMode=function(){return Vn};var La=ve.__private__.setLayoutMode=function(P){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(P)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+P+'" is not recognized.');_n=P};ve.__private__.getLayoutMode=function(){return _n},ve.__private__.setDisplayMode=ve.setDisplayMode=function(P,je,zt){return xa(P),La(je),la(zt),this};var na={title:"",subject:"",author:"",keywords:"",creator:""};ve.__private__.getDocumentProperty=function(P){if(Object.keys(na).indexOf(P)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return na[P]},ve.__private__.getDocumentProperties=function(){return na},ve.__private__.setDocumentProperties=ve.setProperties=ve.setDocumentProperties=function(P){for(var je in na)na.hasOwnProperty(je)&&P[je]&&(na[je]=P[je]);return this},ve.__private__.setDocumentProperty=function(P,je){if(Object.keys(na).indexOf(P)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return na[P]=je};var kn,aa,Fn,Ln,Xn,Qr={},mn={},ca=[],En={},ha={},Zn={},Ha={},qa=null,Cn=0,jn=[],fa=new ot(ve),Ja=f.hotfixes||[],Ka={},co={},uo=[],ma=function P(je,zt,tr,Sr,Kr,ln){if(!(this instanceof P))return new P(je,zt,tr,Sr,Kr,ln);isNaN(je)&&(je=1),isNaN(zt)&&(zt=0),isNaN(tr)&&(tr=0),isNaN(Sr)&&(Sr=1),isNaN(Kr)&&(Kr=0),isNaN(ln)&&(ln=0),this._matrix=[je,zt,tr,Sr,Kr,ln]};Object.defineProperty(ma.prototype,"sx",{get:function(){return this._matrix[0]},set:function(P){this._matrix[0]=P}}),Object.defineProperty(ma.prototype,"shy",{get:function(){return this._matrix[1]},set:function(P){this._matrix[1]=P}}),Object.defineProperty(ma.prototype,"shx",{get:function(){return this._matrix[2]},set:function(P){this._matrix[2]=P}}),Object.defineProperty(ma.prototype,"sy",{get:function(){return this._matrix[3]},set:function(P){this._matrix[3]=P}}),Object.defineProperty(ma.prototype,"tx",{get:function(){return this._matrix[4]},set:function(P){this._matrix[4]=P}}),Object.defineProperty(ma.prototype,"ty",{get:function(){return this._matrix[5]},set:function(P){this._matrix[5]=P}}),Object.defineProperty(ma.prototype,"a",{get:function(){return this._matrix[0]},set:function(P){this._matrix[0]=P}}),Object.defineProperty(ma.prototype,"b",{get:function(){return this._matrix[1]},set:function(P){this._matrix[1]=P}}),Object.defineProperty(ma.prototype,"c",{get:function(){return this._matrix[2]},set:function(P){this._matrix[2]=P}}),Object.defineProperty(ma.prototype,"d",{get:function(){return this._matrix[3]},set:function(P){this._matrix[3]=P}}),Object.defineProperty(ma.prototype,"e",{get:function(){return this._matrix[4]},set:function(P){this._matrix[4]=P}}),Object.defineProperty(ma.prototype,"f",{get:function(){return this._matrix[5]},set:function(P){this._matrix[5]=P}}),Object.defineProperty(ma.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ma.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ma.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ma.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ma.prototype.join=function(P){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Mt).join(P)},ma.prototype.multiply=function(P){var je=P.sx*this.sx+P.shy*this.shx,zt=P.sx*this.shy+P.shy*this.sy,tr=P.shx*this.sx+P.sy*this.shx,Sr=P.shx*this.shy+P.sy*this.sy,Kr=P.tx*this.sx+P.ty*this.shx+this.tx,ln=P.tx*this.shy+P.ty*this.sy+this.ty;return new ma(je,zt,tr,Sr,Kr,ln)},ma.prototype.decompose=function(){var P=this.sx,je=this.shy,zt=this.shx,tr=this.sy,Sr=this.tx,Kr=this.ty,ln=Math.sqrt(P*P+je*je),Qn=(P/=ln)*zt+(je/=ln)*tr;zt-=P*Qn,tr-=je*Qn;var ne=Math.sqrt(zt*zt+tr*tr);return Qn/=ne,P*(tr/=ne)<je*(zt/=ne)&&(P=-P,je=-je,Qn=-Qn,ln=-ln),{scale:new ma(ln,0,0,ne,0,0),translate:new ma(1,0,0,1,Sr,Kr),rotate:new ma(P,je,-je,P,0,0),skew:new ma(1,0,Qn,1,0,0)}},ma.prototype.toString=function(P){return this.join(" ")},ma.prototype.inversed=function(){var P=this.sx,je=this.shy,zt=this.shx,tr=this.sy,Sr=this.tx,Kr=this.ty,ln=1/(P*tr-je*zt),Qn=tr*ln,ne=-je*ln,r=-zt*ln,a=P*ln;return new ma(Qn,ne,r,a,-Qn*Sr-r*Kr,-ne*Sr-a*Kr)},ma.prototype.applyToPoint=function(P){var je=P.x*this.sx+P.y*this.shx+this.tx,zt=P.x*this.shy+P.y*this.sy+this.ty;return new ji(je,zt)},ma.prototype.applyToRectangle=function(P){var je=this.applyToPoint(P),zt=this.applyToPoint(new ji(P.x+P.w,P.y+P.h));return new Yo(je.x,je.y,zt.x-je.x,zt.y-je.y)},ma.prototype.clone=function(){var P=this.sx,je=this.shy,zt=this.shx,tr=this.sy,Sr=this.tx,Kr=this.ty;return new ma(P,je,zt,tr,Sr,Kr)},ve.Matrix=ma;var Eo=ve.matrixMult=function(P,je){return je.multiply(P)},ja=new ma(1,0,0,1,0,0);ve.unitMatrix=ve.identityMatrix=ja;var Ta=function(P,je){if(!ha[P]){var zt=(je instanceof C?"Sh":"P")+(Object.keys(En).length+1).toString(10);je.id=zt,ha[P]=zt,En[zt]=je,fa.publish("addPattern",je)}};ve.ShadingPattern=C,ve.TilingPattern=k,ve.addShadingPattern=function(P,je){return Ot("addShadingPattern()"),Ta(P,je),this},ve.beginTilingPattern=function(P){Ot("beginTilingPattern()"),ss(P.boundingBox[0],P.boundingBox[1],P.boundingBox[2]-P.boundingBox[0],P.boundingBox[3]-P.boundingBox[1],P.matrix)},ve.endTilingPattern=function(P,je){Ot("endTilingPattern()"),je.stream=Rr[vt].join(`
|
|
|
`),Ta(P,je),fa.publish("endTilingPattern",je),uo.pop().restore()};var Na,Ba=ve.__private__.newObject=function(){var P=Wa();return va(P,!0),P},Wa=ve.__private__.newObjectDeferred=function(){return Yt++,dr[Yt]=function(){return Er},Yt},va=function(P,je){return je=typeof je=="boolean"&&je,dr[P]=Er,je&&Lt(P+" 0 obj"),P},_a=ve.__private__.newAdditionalObject=function(){var P={objId:Wa(),content:""};return Lr.push(P),P},Da=Wa(),Xa=Wa(),no=ve.__private__.decodeColorString=function(P){var je=P.split(" ");if(je.length!==2||je[1]!=="g"&&je[1]!=="G")je.length!==5||je[4]!=="k"&&je[4]!=="K"||(je=[(1-je[0])*(1-je[3]),(1-je[1])*(1-je[3]),(1-je[2])*(1-je[3]),"r"]);else{var zt=parseFloat(je[0]);je=[zt,zt,zt,"r"]}for(var tr="#",Sr=0;Sr<3;Sr++)tr+=("0"+Math.floor(255*parseFloat(je[Sr])).toString(16)).slice(-2);return tr},lo=ve.__private__.encodeColorString=function(P){var je;typeof P=="string"&&(P={ch1:P});var zt=P.ch1,tr=P.ch2,Sr=P.ch3,Kr=P.ch4,ln=P.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof zt=="string"&&zt.charAt(0)!=="#"){var Qn=new D(zt);if(Qn.ok)zt=Qn.toHex();else if(!/^\d*\.?\d*$/.test(zt))throw new Error('Invalid color "'+zt+'" passed to jsPDF.encodeColorString.')}if(typeof zt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(zt)&&(zt="#"+zt[1]+zt[1]+zt[2]+zt[2]+zt[3]+zt[3]),typeof zt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(zt)){var ne=parseInt(zt.substr(1),16);zt=ne>>16&255,tr=ne>>8&255,Sr=255&ne}if(tr===void 0||Kr===void 0&&zt===tr&&tr===Sr)je=typeof zt=="string"?zt+" "+ln[0]:P.precision===2?ke(zt/255)+" "+ln[0]:Be(zt/255)+" "+ln[0];else if(Kr===void 0||(0,o.Z)(Kr)==="object"){if(Kr&&!isNaN(Kr.a)&&Kr.a===0)return["1.","1.","1.",ln[1]].join(" ");je=typeof zt=="string"?[zt,tr,Sr,ln[1]].join(" "):P.precision===2?[ke(zt/255),ke(tr/255),ke(Sr/255),ln[1]].join(" "):[Be(zt/255),Be(tr/255),Be(Sr/255),ln[1]].join(" ")}else je=typeof zt=="string"?[zt,tr,Sr,Kr,ln[2]].join(" "):P.precision===2?[ke(zt),ke(tr),ke(Sr),ke(Kr),ln[2]].join(" "):[Be(zt),Be(tr),Be(Sr),Be(Kr),ln[2]].join(" ");return je},Ao=ve.__private__.getFilters=function(){return T},Po=ve.__private__.putStream=function(P){var je=(P=P||{}).data||"",zt=P.filters||Ao(),tr=P.alreadyAppliedFilters||[],Sr=P.addLength1||!1,Kr=je.length,ln=P.objectId,Qn=function(De){return De};if(st!==null&&ln===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");st!==null&&(Qn=xo.encryptor(ln,0));var ne={};zt===!0&&(zt=["FlateEncode"]);var r=P.additionalKeyValues||[],a=(ne=R.API.processDataByFilters!==void 0?R.API.processDataByFilters(je,zt):{data:je,reverseChain:[]}).reverseChain+(Array.isArray(tr)?tr.join(" "):tr.toString());if(ne.data.length!==0&&(r.push({key:"Length",value:ne.data.length}),Sr===!0&&r.push({key:"Length1",value:Kr})),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=[],H=0;H<ne.reverseChain.split("/").length-1;H+=1)g.push("null");g.push(r[l].value),r[l].value="["+g.join(" ")+"]"}}Lt("<<");for(var se=0;se<r.length;se++)Lt("/"+r[se].key+" "+r[se].value);Lt(">>"),ne.data.length!==0&&(Lt("stream"),Lt(Qn(ne.data)),Lt("endstream"))},Ma=ve.__private__.putPage=function(P){var je=P.number,zt=P.data,tr=P.objId,Sr=P.contentsObjId;va(tr,!0),Lt("<</Type /Page"),Lt("/Parent "+P.rootDictionaryObjId+" 0 R"),Lt("/Resources "+P.resourceDictionaryObjId+" 0 R"),Lt("/MediaBox ["+parseFloat(Mt(P.mediaBox.bottomLeftX))+" "+parseFloat(Mt(P.mediaBox.bottomLeftY))+" "+Mt(P.mediaBox.topRightX)+" "+Mt(P.mediaBox.topRightY)+"]"),P.cropBox!==null&&Lt("/CropBox ["+Mt(P.cropBox.bottomLeftX)+" "+Mt(P.cropBox.bottomLeftY)+" "+Mt(P.cropBox.topRightX)+" "+Mt(P.cropBox.topRightY)+"]"),P.bleedBox!==null&&Lt("/BleedBox ["+Mt(P.bleedBox.bottomLeftX)+" "+Mt(P.bleedBox.bottomLeftY)+" "+Mt(P.bleedBox.topRightX)+" "+Mt(P.bleedBox.topRightY)+"]"),P.trimBox!==null&&Lt("/TrimBox ["+Mt(P.trimBox.bottomLeftX)+" "+Mt(P.trimBox.bottomLeftY)+" "+Mt(P.trimBox.topRightX)+" "+Mt(P.trimBox.topRightY)+"]"),P.artBox!==null&&Lt("/ArtBox ["+Mt(P.artBox.bottomLeftX)+" "+Mt(P.artBox.bottomLeftY)+" "+Mt(P.artBox.topRightX)+" "+Mt(P.artBox.topRightY)+"]"),typeof P.userUnit=="number"&&P.userUnit!==1&&Lt("/UserUnit "+P.userUnit),fa.publish("putPage",{objId:tr,pageContext:jn[je],pageNumber:je,page:zt}),Lt("/Contents "+Sr+" 0 R"),Lt(">>"),Lt("endobj");var Kr=zt.join(`
|
|
|
`);return Qt===yr&&(Kr+=`
|
|
|
Q`),va(Sr,!0),Po({data:Kr,filters:Ao(),objectId:Sr}),Lt("endobj"),tr},Wo=ve.__private__.putPages=function(){var P,je,zt=[];for(P=1;P<=Cn;P++)jn[P].objId=Wa(),jn[P].contentsObjId=Wa();for(P=1;P<=Cn;P++)zt.push(Ma({number:P,data:Rr[P],objId:jn[P].objId,contentsObjId:jn[P].contentsObjId,mediaBox:jn[P].mediaBox,cropBox:jn[P].cropBox,bleedBox:jn[P].bleedBox,trimBox:jn[P].trimBox,artBox:jn[P].artBox,userUnit:jn[P].userUnit,rootDictionaryObjId:Da,resourceDictionaryObjId:Xa}));va(Da,!0),Lt("<</Type /Pages");var tr="/Kids [";for(je=0;je<Cn;je++)tr+=zt[je]+" 0 R ";Lt(tr+"]"),Lt("/Count "+Cn),Lt(">>"),Lt("endobj"),fa.publish("postPutPages")},ho=function(P){fa.publish("putFont",{font:P,out:Lt,newObject:Ba,putStream:Po}),P.isAlreadyPutted!==!0&&(P.objectNumber=Ba(),Lt("<<"),Lt("/Type /Font"),Lt("/BaseFont /"+A(P.postScriptName)),Lt("/Subtype /Type1"),typeof P.encoding=="string"&&Lt("/Encoding /"+P.encoding),Lt("/FirstChar 32"),Lt("/LastChar 255"),Lt(">>"),Lt("endobj"))},jo=function(P){P.objectNumber=Ba();var je=[];je.push({key:"Type",value:"/XObject"}),je.push({key:"Subtype",value:"/Form"}),je.push({key:"BBox",value:"["+[Mt(P.x),Mt(P.y),Mt(P.x+P.width),Mt(P.y+P.height)].join(" ")+"]"}),je.push({key:"Matrix",value:"["+P.matrix.toString()+"]"});var zt=P.pages[1].join(`
|
|
|
`);Po({data:zt,additionalKeyValues:je,objectId:P.objectNumber}),Lt("endobj")},vo=function(P,je){je||(je=21);var zt=Ba(),tr=function(ln,Qn){var ne,r=[],a=1/(Qn-1);for(ne=0;ne<1;ne+=a)r.push(ne);if(r.push(1),ln[0].offset!=0){var l={offset:0,color:ln[0].color};ln.unshift(l)}if(ln[ln.length-1].offset!=1){var g={offset:1,color:ln[ln.length-1].color};ln.push(g)}for(var H="",se=0,De=0;De<r.length;De++){for(ne=r[De];ne>ln[se+1].offset;)se++;var tt=ln[se].offset,It=(ne-tt)/(ln[se+1].offset-tt),rr=ln[se].color,pr=ln[se+1].color;H+=ht(Math.round((1-It)*rr[0]+It*pr[0]).toString(16))+ht(Math.round((1-It)*rr[1]+It*pr[1]).toString(16))+ht(Math.round((1-It)*rr[2]+It*pr[2]).toString(16))}return H.trim()}(P.colors,je),Sr=[];Sr.push({key:"FunctionType",value:"0"}),Sr.push({key:"Domain",value:"[0.0 1.0]"}),Sr.push({key:"Size",value:"["+je+"]"}),Sr.push({key:"BitsPerSample",value:"8"}),Sr.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Sr.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Po({data:tr,additionalKeyValues:Sr,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:zt}),Lt("endobj"),P.objectNumber=Ba(),Lt("<< /ShadingType "+P.type),Lt("/ColorSpace /DeviceRGB");var Kr="/Coords ["+Mt(parseFloat(P.coords[0]))+" "+Mt(parseFloat(P.coords[1]))+" ";P.type===2?Kr+=Mt(parseFloat(P.coords[2]))+" "+Mt(parseFloat(P.coords[3])):Kr+=Mt(parseFloat(P.coords[2]))+" "+Mt(parseFloat(P.coords[3]))+" "+Mt(parseFloat(P.coords[4]))+" "+Mt(parseFloat(P.coords[5])),Lt(Kr+="]"),P.matrix&&Lt("/Matrix ["+P.matrix.toString()+"]"),Lt("/Function "+zt+" 0 R"),Lt("/Extend [true true]"),Lt(">>"),Lt("endobj")},vi=function(P,je){var zt=Wa(),tr=Ba();je.push({resourcesOid:zt,objectOid:tr}),P.objectNumber=tr;var Sr=[];Sr.push({key:"Type",value:"/Pattern"}),Sr.push({key:"PatternType",value:"1"}),Sr.push({key:"PaintType",value:"1"}),Sr.push({key:"TilingType",value:"1"}),Sr.push({key:"BBox",value:"["+P.boundingBox.map(Mt).join(" ")+"]"}),Sr.push({key:"XStep",value:Mt(P.xStep)}),Sr.push({key:"YStep",value:Mt(P.yStep)}),Sr.push({key:"Resources",value:zt+" 0 R"}),P.matrix&&Sr.push({key:"Matrix",value:"["+P.matrix.toString()+"]"}),Po({data:P.stream,additionalKeyValues:Sr,objectId:P.objectNumber}),Lt("endobj")},ko=function(P){for(var je in P.objectNumber=Ba(),Lt("<<"),P)switch(je){case"opacity":Lt("/ca "+ke(P[je]));break;case"stroke-opacity":Lt("/CA "+ke(P[je]))}Lt(">>"),Lt("endobj")},Qo=function(P){va(P.resourcesOid,!0),Lt("<<"),Lt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var je in Lt("/Font <<"),Qr)Qr.hasOwnProperty(je)&&(jt===!1||jt===!0&&At.hasOwnProperty(je))&&Lt("/"+je+" "+Qr[je].objectNumber+" 0 R");Lt(">>")}(),function(){if(Object.keys(En).length>0){for(var je in Lt("/Shading <<"),En)En.hasOwnProperty(je)&&En[je]instanceof C&&En[je].objectNumber>=0&&Lt("/"+je+" "+En[je].objectNumber+" 0 R");fa.publish("putShadingPatternDict"),Lt(">>")}}(),function(je){if(Object.keys(En).length>0){for(var zt in Lt("/Pattern <<"),En)En.hasOwnProperty(zt)&&En[zt]instanceof ve.TilingPattern&&En[zt].objectNumber>=0&&En[zt].objectNumber<je&&Lt("/"+zt+" "+En[zt].objectNumber+" 0 R");fa.publish("putTilingPatternDict"),Lt(">>")}}(P.objectOid),function(){if(Object.keys(Zn).length>0){var je;for(je in Lt("/ExtGState <<"),Zn)Zn.hasOwnProperty(je)&&Zn[je].objectNumber>=0&&Lt("/"+je+" "+Zn[je].objectNumber+" 0 R");fa.publish("putGStateDict"),Lt(">>")}}(),function(){for(var je in Lt("/XObject <<"),Ka)Ka.hasOwnProperty(je)&&Ka[je].objectNumber>=0&&Lt("/"+je+" "+Ka[je].objectNumber+" 0 R");fa.publish("putXobjectDict"),Lt(">>")}(),Lt(">>"),Lt("endobj")},Ei=function(P){mn[P.fontName]=mn[P.fontName]||{},mn[P.fontName][P.fontStyle]=P.id},Lo=function(P,je,zt,tr,Sr){var Kr={id:"F"+(Object.keys(Qr).length+1).toString(10),postScriptName:P,fontName:je,fontStyle:zt,encoding:tr,isStandardFont:Sr||!1,metadata:{}};return fa.publish("addFont",{font:Kr,instance:this}),Qr[Kr.id]=Kr,Ei(Kr),Kr.id},Uo=ve.__private__.pdfEscape=ve.pdfEscape=function(P,je){return function(zt,tr){var Sr,Kr,ln,Qn,ne,r,a,l,g;if(ln=(tr=tr||{}).sourceEncoding||"Unicode",ne=tr.outputEncoding,(tr.autoencode||ne)&&Qr[kn].metadata&&Qr[kn].metadata[ln]&&Qr[kn].metadata[ln].encoding&&(Qn=Qr[kn].metadata[ln].encoding,!ne&&Qr[kn].encoding&&(ne=Qr[kn].encoding),!ne&&Qn.codePages&&(ne=Qn.codePages[0]),typeof ne=="string"&&(ne=Qn[ne]),ne)){for(a=!1,r=[],Sr=0,Kr=zt.length;Sr<Kr;Sr++)(l=ne[zt.charCodeAt(Sr)])?r.push(String.fromCharCode(l)):r.push(zt[Sr]),r[Sr].charCodeAt(0)>>8&&(a=!0);zt=r.join("")}for(Sr=zt.length;a===void 0&&Sr!==0;)zt.charCodeAt(Sr-1)>>8&&(a=!0),Sr--;if(!a)return zt;for(r=tr.noBOM?[]:[254,255],Sr=0,Kr=zt.length;Sr<Kr;Sr++){if((g=(l=zt.charCodeAt(Sr))>>8)>>8)throw new Error("Character at position "+Sr+" of string '"+zt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");r.push(g),r.push(l-(g<<8))}return String.fromCharCode.apply(void 0,r)}(P,je).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ki=ve.__private__.beginPage=function(P){Rr[++Cn]=[],jn[Cn]={objId:0,contentsObjId:0,userUnit:Number(Z),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(P[0]),topRightY:Number(P[1])}},xi(Cn),Mr(Rr[vt])},bi=function(P,je){var zt,tr,Sr;switch(p=je||p,typeof P=="string"&&(zt=pt(P.toLowerCase()),Array.isArray(zt)&&(tr=zt[0],Sr=zt[1])),Array.isArray(P)&&(tr=P[0]*aa,Sr=P[1]*aa),isNaN(tr)&&(tr=$[0],Sr=$[1]),(tr>14400||Sr>14400)&&(Y.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),tr=Math.min(14400,tr),Sr=Math.min(14400,Sr)),$=[tr,Sr],p.substr(0,1)){case"l":Sr>tr&&($=[Sr,tr]);break;case"p":tr>Sr&&($=[Sr,tr])}ki($),Cs(ui),Lt(is),Ji!==0&&Lt(Ji+" J"),hs!==0&&Lt(hs+" j"),fa.publish("addPage",{pageNumber:Cn})},yi=function(P){P>0&&P<=Cn&&(Rr.splice(P,1),jn.splice(P,1),Cn--,vt>Cn&&(vt=Cn),this.setPage(vt))},xi=function(P){P>0&&P<=Cn&&(vt=P)},Ii=ve.__private__.getNumberOfPages=ve.getNumberOfPages=function(){return Rr.length-1},Aa=function(P,je,zt){var tr,Sr=void 0;return zt=zt||{},P=P!==void 0?P:Qr[kn].fontName,je=je!==void 0?je:Qr[kn].fontStyle,tr=P.toLowerCase(),mn[tr]!==void 0&&mn[tr][je]!==void 0?Sr=mn[tr][je]:mn[P]!==void 0&&mn[P][je]!==void 0?Sr=mn[P][je]:zt.disableWarning===!1&&Y.warn("Unable to look up font label for font '"+P+"', '"+je+"'. Refer to getFontList() for available fonts."),Sr||zt.noFallback||(Sr=mn.times[je])==null&&(Sr=mn.times.normal),Sr},$a=ve.__private__.putInfo=function(){var P=Ba(),je=function(tr){return tr};for(var zt in st!==null&&(je=xo.encryptor(P,0)),Lt("<<"),Lt("/Producer ("+Uo(je("jsPDF "+R.version))+")"),na)na.hasOwnProperty(zt)&&na[zt]&&Lt("/"+zt.substr(0,1).toUpperCase()+zt.substr(1)+" ("+Uo(je(na[zt]))+")");Lt("/CreationDate ("+Uo(je(cr))+")"),Lt(">>"),Lt("endobj")},fo=ve.__private__.putCatalog=function(P){var je=(P=P||{}).rootDictionaryObjId||Da;switch(Ba(),Lt("<<"),Lt("/Type /Catalog"),Lt("/Pages "+je+" 0 R"),dn||(dn="fullwidth"),dn){case"fullwidth":Lt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Lt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Lt("/OpenAction [3 0 R /Fit]");break;case"original":Lt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var zt=""+dn;zt.substr(zt.length-1)==="%"&&(dn=parseInt(dn)/100),typeof dn=="number"&&Lt("/OpenAction [3 0 R /XYZ null null "+ke(dn)+"]")}switch(_n||(_n="continuous"),_n){case"continuous":Lt("/PageLayout /OneColumn");break;case"single":Lt("/PageLayout /SinglePage");break;case"two":case"twoleft":Lt("/PageLayout /TwoColumnLeft");break;case"tworight":Lt("/PageLayout /TwoColumnRight")}Vn&&Lt("/PageMode /"+Vn),fa.publish("putCatalog"),Lt(">>"),Lt("endobj")},Ue=ve.__private__.putTrailer=function(){Lt("trailer"),Lt("<<"),Lt("/Size "+(Yt+1)),Lt("/Root "+Yt+" 0 R"),Lt("/Info "+(Yt-1)+" 0 R"),st!==null&&Lt("/Encrypt "+xo.oid+" 0 R"),Lt("/ID [ <"+gr+"> <"+gr+"> ]"),Lt(">>")},No=ve.__private__.putHeader=function(){Lt("%PDF-"+kt),Lt("%\xBA\xDF\xAC\xE0")},Mo=ve.__private__.putXRef=function(){var P="0000000000";Lt("xref"),Lt("0 "+(Yt+1)),Lt("0000000000 65535 f ");for(var je=1;je<=Yt;je++)typeof dr[je]=="function"?Lt((P+dr[je]()).slice(-10)+" 00000 n "):dr[je]!==void 0?Lt((P+dr[je]).slice(-10)+" 00000 n "):Lt("0000000000 00000 n ")},yo=ve.__private__.buildDocument=function(){var P;Yt=0,Er=0,fr=[],dr=[],Lr=[],Da=Wa(),Xa=Wa(),Mr(fr),fa.publish("buildDocument"),No(),Wo(),function(){fa.publish("putAdditionalObjects");for(var zt=0;zt<Lr.length;zt++){var tr=Lr[zt];va(tr.objId,!0),Lt(tr.content),Lt("endobj")}fa.publish("postPutAdditionalObjects")}(),P=[],function(){for(var zt in Qr)Qr.hasOwnProperty(zt)&&(jt===!1||jt===!0&&At.hasOwnProperty(zt))&&ho(Qr[zt])}(),function(){var zt;for(zt in Zn)Zn.hasOwnProperty(zt)&&ko(Zn[zt])}(),function(){for(var zt in Ka)Ka.hasOwnProperty(zt)&&jo(Ka[zt])}(),function(zt){var tr;for(tr in En)En.hasOwnProperty(tr)&&(En[tr]instanceof C?vo(En[tr]):En[tr]instanceof k&&vi(En[tr],zt))}(P),fa.publish("putResources"),P.forEach(Qo),Qo({resourcesOid:Xa,objectOid:Number.MAX_SAFE_INTEGER}),fa.publish("postPutResources"),st!==null&&(xo.oid=Ba(),Lt("<<"),Lt("/Filter /Standard"),Lt("/V "+xo.v),Lt("/R "+xo.r),Lt("/U <"+xo.toHexString(xo.U)+">"),Lt("/O <"+xo.toHexString(xo.O)+">"),Lt("/P "+xo.P),Lt(">>"),Lt("endobj")),$a(),fo();var je=Er;return Mo(),Ue(),Lt("startxref"),Lt(""+je),Lt("%%EOF"),Mr(Rr[vt]),fr.join(`
|
|
|
`)},ao=ve.__private__.getBlob=function(P){return new Blob([da(P)],{type:"application/pdf"})},Zo=ve.output=ve.__private__.output=(Na=function(P,je){switch(typeof(je=je||{})=="string"?je={filename:je}:je.filename=je.filename||"generated.pdf",P){case void 0:return yo();case"save":ve.save(je.filename);break;case"arraybuffer":return da(yo());case"blob":return ao(yo());case"bloburi":case"bloburl":if(J.URL!==void 0&&typeof J.URL.createObjectURL=="function")return J.URL&&J.URL.createObjectURL(ao(yo()))||void 0;Y.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var zt="",tr=yo();try{zt=F(tr)}catch(H){zt=F(unescape(encodeURIComponent(tr)))}return"data:application/pdf;filename="+je.filename+";base64,"+zt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(J)==="[object Window]"){var Sr="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Kr=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';je.pdfObjectUrl&&(Sr=je.pdfObjectUrl,Kr="");var ln='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Sr+'"'+Kr+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(je)+");<\/script></body></html>",Qn=J.open();return Qn!==null&&Qn.document.write(ln),Qn}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(J)==="[object Window]"){var ne='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(je.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+je.filename+'" width="500px" height="400px" /></body></html>',r=J.open();if(r!==null){r.document.write(ne);var a=this;r.document.documentElement.querySelector("#pdfViewer").onload=function(){r.document.title=je.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(J)!=="[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",je)+'"></iframe></body></html>',g=J.open();if(g!==null&&(g.document.write(l),g.document.title=je.filename),g||typeof safari=="undefined")return g;break;case"datauri":case"dataurl":return J.document.location.href=this.output("datauristring",je);default:return null}},Na.foo=function(){try{return Na.apply(this,arguments)}catch(zt){var P=zt.stack||"";~P.indexOf(" at ")&&(P=P.split(" at ")[1]);var je="Error in function "+P.split(`
|
|
|
`)[0].split("<")[0]+": "+zt.message;if(!J.console)throw new Error(je);J.console.error(je,zt),J.alert&&alert(je)}},Na.foo.bar=Na,Na.foo),zo=function(P){return Array.isArray(Ja)===!0&&Ja.indexOf(P)>-1};switch(b){case"pt":aa=1;break;case"mm":aa=72/25.4;break;case"cm":aa=72/2.54;break;case"in":aa=72;break;case"px":aa=zo("px_scaling")==1?.75:96/72;break;case"pc":case"em":aa=12;break;case"ex":aa=6;break;default:if(typeof b!="number")throw new Error("Invalid unit: "+b);aa=b}var xo=null;Wt(),Tt();var Vo=ve.__private__.getPageInfo=ve.getPageInfo=function(P){if(isNaN(P)||P%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:jn[P].objId,pageNumber:P,pageContext:jn[P]}},Ai=ve.__private__.getPageInfoByObjId=function(P){if(isNaN(P)||P%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var je in jn)if(jn[je].objId===P)break;return Vo(je)},Hi=ve.__private__.getCurrentPageInfo=ve.getCurrentPageInfo=function(){return{objId:jn[vt].objId,pageNumber:vt,pageContext:jn[vt]}};ve.addPage=function(){return bi.apply(this,arguments),this},ve.setPage=function(){return xi.apply(this,arguments),Mr.call(this,Rr[vt]),this},ve.insertPage=function(P){return this.addPage(),this.movePage(vt,P),this},ve.movePage=function(P,je){var zt,tr;if(P>je){zt=Rr[P],tr=jn[P];for(var Sr=P;Sr>je;Sr--)Rr[Sr]=Rr[Sr-1],jn[Sr]=jn[Sr-1];Rr[je]=zt,jn[je]=tr,this.setPage(je)}else if(P<je){zt=Rr[P],tr=jn[P];for(var Kr=P;Kr<je;Kr++)Rr[Kr]=Rr[Kr+1],jn[Kr]=jn[Kr+1];Rr[je]=zt,jn[je]=tr,this.setPage(je)}return this},ve.deletePage=function(){return yi.apply(this,arguments),this},ve.__private__.text=ve.text=function(P,je,zt,tr,Sr){var Kr,ln,Qn,ne,r,a,l,g,H,se=(tr=tr||{}).scope||this;if(typeof P=="number"&&typeof je=="number"&&(typeof zt=="string"||Array.isArray(zt))){var De=zt;zt=je,je=P,P=De}if(arguments[3]instanceof ma==0?(Qn=arguments[4],ne=arguments[5],(0,o.Z)(l=arguments[3])==="object"&&l!==null||(typeof Qn=="string"&&(ne=Qn,Qn=null),typeof l=="string"&&(ne=l,l=null),typeof l=="number"&&(Qn=l,l=null),tr={flags:l,angle:Qn,align:ne})):(Ot("The transform parameter of text() with a Matrix value"),H=Sr),isNaN(je)||isNaN(zt)||P==null)throw new Error("Invalid arguments passed to jsPDF.text");if(P.length===0)return se;var tt,It="",rr=typeof tr.lineHeightFactor=="number"?tr.lineHeightFactor:$i,pr=se.internal.scaleFactor;function kr(Fa){return Fa=Fa.split(" ").join(Array(tr.TabLen||9).join(" ")),Uo(Fa,l)}function rn(Fa){for(var oo,Co=Fa.concat(),wo=[],Ki=Co.length;Ki--;)typeof(oo=Co.shift())=="string"?wo.push(oo):Array.isArray(Fa)&&(oo.length===1||oo[1]===void 0&&oo[2]===void 0)?wo.push(oo[0]):wo.push([oo[0],oo[1],oo[2]]);return wo}function hn(Fa,oo){var Co;if(typeof Fa=="string")Co=oo(Fa)[0];else if(Array.isArray(Fa)){for(var wo,Ki,_i=Fa.concat(),Ti=[],gs=_i.length;gs--;)typeof(wo=_i.shift())=="string"?Ti.push(oo(wo)[0]):Array.isArray(wo)&&typeof wo[0]=="string"&&(Ki=oo(wo[0],wo[1],wo[2]),Ti.push([Ki[0],Ki[1],Ki[2]]));Co=Ti}return Co}var In=!1,Un=!0;if(typeof P=="string")In=!0;else if(Array.isArray(P)){var Ca=P.concat();ln=[];for(var Ia,c=Ca.length;c--;)(typeof(Ia=Ca.shift())!="string"||Array.isArray(Ia)&&typeof Ia[0]!="string")&&(Un=!1);In=Un}if(In===!1)throw new Error('Type of text must be string or Array. "'+P+'" is not recognized.');typeof P=="string"&&(P=P.match(/[\r?\n]/)?P.split(/\r\n|\r|\n/g):[P]);var e=an/se.internal.scaleFactor,t=e*(rr-1);switch(tr.baseline){case"bottom":zt-=t;break;case"top":zt+=e-t;break;case"hanging":zt+=e-2*t;break;case"middle":zt+=e/2-t}if((a=tr.maxWidth||0)>0&&(typeof P=="string"?P=se.splitTextToSize(P,a):Object.prototype.toString.call(P)==="[object Array]"&&(P=P.reduce(function(Fa,oo){return Fa.concat(se.splitTextToSize(oo,a))},[]))),Kr={text:P,x:je,y:zt,options:tr,mutex:{pdfEscape:Uo,activeFontKey:kn,fonts:Qr,activeFontSize:an}},fa.publish("preProcessText",Kr),P=Kr.text,Qn=(tr=Kr.options).angle,H instanceof ma==0&&Qn&&typeof Qn=="number"){Qn*=Math.PI/180,tr.rotationDirection===0&&(Qn=-Qn),Qt===yr&&(Qn=-Qn);var d=Math.cos(Qn),O=Math.sin(Qn);H=new ma(d,O,-O,d,0,0)}else Qn&&Qn instanceof ma&&(H=Qn);Qt!==yr||H||(H=ja),(r=tr.charSpace||Vi)!==void 0&&(It+=Mt(St(r))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(g=tr.horizontalScale)!==void 0&&(It+=Mt(100*g)+` Tz
|
|
|
`),tr.lang;var V=-1,Ce=tr.renderingMode!==void 0?tr.renderingMode:tr.stroke,Ke=se.internal.getCurrentPageInfo().pageContext;switch(Ce){case 0:case!1:case"fill":V=0;break;case 1:case!0:case"stroke":V=1;break;case 2:case"fillThenStroke":V=2;break;case 3:case"invisible":V=3;break;case 4:case"fillAndAddForClipping":V=4;break;case 5:case"strokeAndAddPathForClipping":V=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":V=6;break;case 7:case"addToPathForClipping":V=7}var Xe=Ke.usedRenderingMode!==void 0?Ke.usedRenderingMode:-1;V!==-1?It+=V+` Tr
|
|
|
`:Xe!==-1&&(It+=`0 Tr
|
|
|
`),V!==-1&&(Ke.usedRenderingMode=V),ne=tr.align||"left";var Kt,ur=an*rr,xr=se.internal.pageSize.getWidth(),Fr=Qr[kn];r=tr.charSpace||Vi,a=tr.maxWidth||0,l=Object.assign({autoencode:!0,noBOM:!0},tr.flags);var Hr=[],un=function(Fa){return se.getStringUnitWidth(Fa,{font:Fr,charSpace:r,fontSize:an,doKerning:!1})*an/pr};if(Object.prototype.toString.call(P)==="[object Array]"){var bn;ln=rn(P),ne!=="left"&&(Kt=ln.map(un));var Nn,Mn=0;if(ne==="right"){je-=Kt[0],P=[],c=ln.length;for(var oa=0;oa<c;oa++)oa===0?(Nn=ai(je),bn=di(zt)):(Nn=St(Mn-Kt[oa]),bn=-ur),P.push([ln[oa],Nn,bn]),Mn=Kt[oa]}else if(ne==="center"){je-=Kt[0]/2,P=[],c=ln.length;for(var ya=0;ya<c;ya++)ya===0?(Nn=ai(je),bn=di(zt)):(Nn=St((Mn-Kt[ya])/2),bn=-ur),P.push([ln[ya],Nn,bn]),Mn=Kt[ya]}else if(ne==="left"){P=[],c=ln.length;for(var Ua=0;Ua<c;Ua++)P.push(ln[Ua])}else if(ne==="justify"&&Fr.encoding==="Identity-H"){P=[],c=ln.length,a=a!==0?a:xr;for(var Pa=0,Oa=0;Oa<c;Oa++)if(bn=Oa===0?di(zt):-ur,Nn=Oa===0?ai(je):Pa,Oa<c-1){var Ga=St((a-Kt[Oa])/(ln[Oa].split(" ").length-1)),Ya=ln[Oa].split(" ");P.push([Ya[0]+" ",Nn,bn]),Pa=0;for(var Ra=1;Ra<Ya.length;Ra++){var qo=(un(Ya[Ra-1]+" "+Ya[Ra])-un(Ya[Ra]))*pr+Ga;Ra==Ya.length-1?P.push([Ya[Ra],qo,0]):P.push([Ya[Ra]+" ",qo,0]),Pa-=qo}}else P.push([ln[Oa],Nn,bn]);P.push(["",Pa,0])}else{if(ne!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(P=[],c=ln.length,a=a!==0?a:xr,Oa=0;Oa<c;Oa++){bn=Oa===0?di(zt):-ur,Nn=Oa===0?ai(je):0;var Io=ln[Oa].split(" ").length-1,go=Io>0?(a-Kt[Oa])/Io:0;Oa<c-1?Hr.push(Mt(St(go))):Hr.push(0),P.push([ln[Oa],Nn,bn])}}}(typeof tr.R2L=="boolean"?tr.R2L:sa)===!0&&(P=hn(P,function(Fa,oo,Co){return[Fa.split("").reverse().join(""),oo,Co]})),Kr={text:P,x:je,y:zt,options:tr,mutex:{pdfEscape:Uo,activeFontKey:kn,fonts:Qr,activeFontSize:an}},fa.publish("postProcessText",Kr),P=Kr.text,tt=Kr.mutex.isHex||!1;var Jo=Qr[kn].encoding;Jo!=="WinAnsiEncoding"&&Jo!=="StandardEncoding"||(P=hn(P,function(Fa,oo,Co){return[kr(Fa),oo,Co]})),ln=rn(P),P=[];for(var $o,Ho,ei,Si=Array.isArray(ln[0])?1:0,fi="",es=function(Fa,oo,Co){var wo="";return Co instanceof ma?(Co=typeof tr.angle=="number"?Eo(Co,new ma(1,0,0,1,Fa,oo)):Eo(new ma(1,0,0,1,Fa,oo),Co),Qt===yr&&(Co=Eo(new ma(1,0,0,-1,0,0),Co)),wo=Co.join(" ")+` Tm
|
|
|
`):wo=Mt(Fa)+" "+Mt(oo)+` Td
|
|
|
`,wo},Do=0;Do<ln.length;Do++){switch(fi="",Si){case 1:ei=(tt?"<":"(")+ln[Do][0]+(tt?">":")"),$o=parseFloat(ln[Do][1]),Ho=parseFloat(ln[Do][2]);break;case 0:ei=(tt?"<":"(")+ln[Do]+(tt?">":")"),$o=ai(je),Ho=di(zt)}Hr!==void 0&&Hr[Do]!==void 0&&(fi=Hr[Do]+` Tw
|
|
|
`),Do===0?P.push(fi+es($o,Ho,H)+ei):Si===0?P.push(fi+ei):Si===1&&P.push(fi+es($o,Ho,H)+ei)}P=Si===0?P.join(` Tj
|
|
|
T* `):P.join(` Tj
|
|
|
`),P+=` Tj
|
|
|
`;var Go=`BT
|
|
|
/`;return Go+=kn+" "+an+` Tf
|
|
|
`,Go+=Mt(an*rr)+` TL
|
|
|
`,Go+=Pi+`
|
|
|
`,Go+=It,Go+=P,Lt(Go+="ET"),At[kn]=!0,se};var xs=ve.__private__.clip=ve.clip=function(P){return Lt(P==="evenodd"?"W*":"W"),this};ve.clipEvenOdd=function(){return xs("evenodd")},ve.__private__.discardPath=ve.discardPath=function(){return Lt("n"),this};var ii=ve.__private__.isValidStyle=function(P){var je=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(P)!==-1&&(je=!0),je};ve.__private__.setDefaultPathOperation=ve.setDefaultPathOperation=function(P){return ii(P)&&(Ee=P),this};var as=ve.__private__.getStyle=ve.getStyle=function(P){var je=Ee;switch(P){case"D":case"S":je="S";break;case"F":je="f";break;case"FD":case"DF":je="B";break;case"f":case"f*":case"B":case"B*":je=P}return je},cs=ve.close=function(){return Lt("h"),this};ve.stroke=function(){return Lt("S"),this},ve.fill=function(P){return si("f",P),this},ve.fillEvenOdd=function(P){return si("f*",P),this},ve.fillStroke=function(P){return si("B",P),this},ve.fillStrokeEvenOdd=function(P){return si("B*",P),this};var si=function(P,je){(0,o.Z)(je)==="object"?us(je,P):Lt(P)},Wi=function(P){P===null||Qt===yr&&P===void 0||(P=as(P),Lt(P))};function ws(P,je,zt,tr,Sr){var Kr=new k(je||this.boundingBox,zt||this.xStep,tr||this.yStep,this.gState,Sr||this.matrix);Kr.stream=this.stream;var ln=P+"$$"+this.cloneIndex+++"$$";return Ta(ln,Kr),Kr}var us=function(P,je){var zt=ha[P.key],tr=En[zt];if(tr instanceof C)Lt("q"),Lt(Ss(je)),tr.gState&&ve.setGState(tr.gState),Lt(P.matrix.toString()+" cm"),Lt("/"+zt+" sh"),Lt("Q");else if(tr instanceof k){var Sr=new ma(1,0,0,-1,0,Qi());P.matrix&&(Sr=Sr.multiply(P.matrix||ja),zt=ws.call(tr,P.key,P.boundingBox,P.xStep,P.yStep,Sr).id),Lt("q"),Lt("/Pattern cs"),Lt("/"+zt+" scn"),tr.gState&&ve.setGState(tr.gState),Lt(je),Lt("Q")}},Ss=function(P){switch(P){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"}},os=ve.moveTo=function(P,je){return Lt(Mt(St(P))+" "+Mt(ct(je))+" m"),this},li=ve.lineTo=function(P,je){return Lt(Mt(St(P))+" "+Mt(ct(je))+" l"),this},ci=ve.curveTo=function(P,je,zt,tr,Sr,Kr){return Lt([Mt(St(P)),Mt(ct(je)),Mt(St(zt)),Mt(ct(tr)),Mt(St(Sr)),Mt(ct(Kr)),"c"].join(" ")),this};ve.__private__.line=ve.line=function(P,je,zt,tr,Sr){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ii(Sr))throw new Error("Invalid arguments passed to jsPDF.line");return Qt===ar?this.lines([[zt-P,tr-je]],P,je,[1,1],Sr||"S"):this.lines([[zt-P,tr-je]],P,je,[1,1]).stroke()},ve.__private__.lines=ve.lines=function(P,je,zt,tr,Sr,Kr){var ln,Qn,ne,r,a,l,g,H,se,De,tt,It;if(typeof P=="number"&&(It=zt,zt=je,je=P,P=It),tr=tr||[1,1],Kr=Kr||!1,isNaN(je)||isNaN(zt)||!Array.isArray(P)||!Array.isArray(tr)||!ii(Sr)||typeof Kr!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(os(je,zt),ln=tr[0],Qn=tr[1],r=P.length,De=je,tt=zt,ne=0;ne<r;ne++)(a=P[ne]).length===2?(De=a[0]*ln+De,tt=a[1]*Qn+tt,li(De,tt)):(l=a[0]*ln+De,g=a[1]*Qn+tt,H=a[2]*ln+De,se=a[3]*Qn+tt,De=a[4]*ln+De,tt=a[5]*Qn+tt,ci(l,g,H,se,De,tt));return Kr&&cs(),Wi(Sr),this},ve.path=function(P){for(var je=0;je<P.length;je++){var zt=P[je],tr=zt.c;switch(zt.op){case"m":os(tr[0],tr[1]);break;case"l":li(tr[0],tr[1]);break;case"c":ci.apply(this,tr);break;case"h":cs()}}return this},ve.__private__.rect=ve.rect=function(P,je,zt,tr,Sr){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ii(Sr))throw new Error("Invalid arguments passed to jsPDF.rect");return Qt===ar&&(tr=-tr),Lt([Mt(St(P)),Mt(ct(je)),Mt(St(zt)),Mt(St(tr)),"re"].join(" ")),Wi(Sr),this},ve.__private__.triangle=ve.triangle=function(P,je,zt,tr,Sr,Kr,ln){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||isNaN(Sr)||isNaN(Kr)||!ii(ln))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[zt-P,tr-je],[Sr-zt,Kr-tr],[P-Sr,je-Kr]],P,je,[1,1],ln,!0),this},ve.__private__.roundedRect=ve.roundedRect=function(P,je,zt,tr,Sr,Kr,ln){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||isNaN(Sr)||isNaN(Kr)||!ii(ln))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Qn=4/3*(Math.SQRT2-1);return Sr=Math.min(Sr,.5*zt),Kr=Math.min(Kr,.5*tr),this.lines([[zt-2*Sr,0],[Sr*Qn,0,Sr,Kr-Kr*Qn,Sr,Kr],[0,tr-2*Kr],[0,Kr*Qn,-Sr*Qn,Kr,-Sr,Kr],[2*Sr-zt,0],[-Sr*Qn,0,-Sr,-Kr*Qn,-Sr,-Kr],[0,2*Kr-tr],[0,-Kr*Qn,Sr*Qn,-Kr,Sr,-Kr]],P+Sr,je,[1,1],ln,!0),this},ve.__private__.ellipse=ve.ellipse=function(P,je,zt,tr,Sr){if(isNaN(P)||isNaN(je)||isNaN(zt)||isNaN(tr)||!ii(Sr))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Kr=4/3*(Math.SQRT2-1)*zt,ln=4/3*(Math.SQRT2-1)*tr;return os(P+zt,je),ci(P+zt,je-ln,P+Kr,je-tr,P,je-tr),ci(P-Kr,je-tr,P-zt,je-ln,P-zt,je),ci(P-zt,je+ln,P-Kr,je+tr,P,je+tr),ci(P+Kr,je+tr,P+zt,je+ln,P+zt,je),Wi(Sr),this},ve.__private__.circle=ve.circle=function(P,je,zt,tr){if(isNaN(P)||isNaN(je)||isNaN(zt)||!ii(tr))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(P,je,zt,zt,tr)},ve.setFont=function(P,je,zt){return zt&&(je=Vt(je,zt)),kn=Aa(P,je,{disableWarning:!1}),this};var ds=ve.__private__.getFont=ve.getFont=function(){return Qr[Aa.apply(ve,arguments)]};ve.__private__.getFontList=ve.getFontList=function(){var P,je,zt={};for(P in mn)if(mn.hasOwnProperty(P))for(je in zt[P]=[],mn[P])mn[P].hasOwnProperty(je)&&zt[P].push(je);return zt},ve.addFont=function(P,je,zt,tr,Sr){var Kr=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Kr.indexOf(arguments[3])!==-1?Sr=arguments[3]:arguments[3]&&Kr.indexOf(arguments[3])==-1&&(zt=Vt(zt,tr)),Lo.call(this,P,je,zt,Sr=Sr||"Identity-H")};var $i,ui=f.lineWidth||.200025,Ea=ve.__private__.getLineWidth=ve.getLineWidth=function(){return ui},Cs=ve.__private__.setLineWidth=ve.setLineWidth=function(P){return ui=P,Lt(Mt(St(P))+" w"),this};ve.__private__.setLineDash=R.API.setLineDash=R.API.setLineDashPattern=function(P,je){if(P=P||[],je=je||0,isNaN(je)||!Array.isArray(P))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return P=P.map(function(zt){return Mt(St(zt))}).join(" "),je=Mt(St(je)),Lt("["+P+"] "+je+" d"),this};var Os=ve.__private__.getLineHeight=ve.getLineHeight=function(){return an*$i};ve.__private__.getLineHeight=ve.getLineHeight=function(){return an*$i};var Es=ve.__private__.setLineHeightFactor=ve.setLineHeightFactor=function(P){return typeof(P=P||1.15)=="number"&&($i=P),this},qi=ve.__private__.getLineHeightFactor=ve.getLineHeightFactor=function(){return $i};Es(f.lineHeight);var ai=ve.__private__.getHorizontalCoordinate=function(P){return St(P)},di=ve.__private__.getVerticalCoordinate=function(P){return Qt===yr?P:jn[vt].mediaBox.topRightY-jn[vt].mediaBox.bottomLeftY-St(P)},Ls=ve.__private__.getHorizontalCoordinateString=ve.getHorizontalCoordinateString=function(P){return Mt(ai(P))},Is=ve.__private__.getVerticalCoordinateString=ve.getVerticalCoordinateString=function(P){return Mt(di(P))},is=f.strokeColor||"0 G";ve.__private__.getStrokeColor=ve.getDrawColor=function(){return no(is)},ve.__private__.setStrokeColor=ve.setDrawColor=function(P,je,zt,tr){return is=lo({ch1:P,ch2:je,ch3:zt,ch4:tr,pdfColorType:"draw",precision:2}),Lt(is),this};var Ui=f.fillColor||"0 g";ve.__private__.getFillColor=ve.getFillColor=function(){return no(Ui)},ve.__private__.setFillColor=ve.setFillColor=function(P,je,zt,tr){return Ui=lo({ch1:P,ch2:je,ch3:zt,ch4:tr,pdfColorType:"fill",precision:2}),Lt(Ui),this};var Pi=f.textColor||"0 g",Zi=ve.__private__.getTextColor=ve.getTextColor=function(){return no(Pi)};ve.__private__.setTextColor=ve.setTextColor=function(P,je,zt,tr){return Pi=lo({ch1:P,ch2:je,ch3:zt,ch4:tr,pdfColorType:"text",precision:3}),this};var Vi=f.charSpace,As=ve.__private__.getCharSpace=ve.getCharSpace=function(){return parseFloat(Vi||0)};ve.__private__.setCharSpace=ve.setCharSpace=function(P){if(isNaN(P))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Vi=P,this};var Ji=0;ve.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},ve.__private__.setLineCap=ve.setLineCap=function(P){var je=ve.CapJoinStyles[P];if(je===void 0)throw new Error("Line cap style of '"+P+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ji=je,Lt(je+" J"),this};var hs=0;ve.__private__.setLineJoin=ve.setLineJoin=function(P){var je=ve.CapJoinStyles[P];if(je===void 0)throw new Error("Line join style of '"+P+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return hs=je,Lt(je+" j"),this},ve.__private__.setLineMiterLimit=ve.__private__.setMiterLimit=ve.setLineMiterLimit=ve.setMiterLimit=function(P){if(P=P||0,isNaN(P))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Lt(Mt(St(P))+" M"),this},ve.GState=ue,ve.setGState=function(P){(P=typeof P=="string"?Zn[Ha[P]]:ft(null,P)).equals(qa)||(Lt("/"+P.id+" gs"),qa=P)};var ft=function(P,je){if(!P||!Ha[P]){var zt=!1;for(var tr in Zn)if(Zn.hasOwnProperty(tr)&&Zn[tr].equals(je)){zt=!0;break}if(zt)je=Zn[tr];else{var Sr="GS"+(Object.keys(Zn).length+1).toString(10);Zn[Sr]=je,je.id=Sr}return P&&(Ha[P]=je.id),fa.publish("addGState",je),je}};ve.addGState=function(P,je){return ft(P,je),this},ve.saveGraphicsState=function(){return Lt("q"),ca.push({key:kn,size:an,color:Pi}),this},ve.restoreGraphicsState=function(){Lt("Q");var P=ca.pop();return kn=P.key,an=P.size,Pi=P.color,qa=null,this},ve.setCurrentTransformationMatrix=function(P){return Lt(P.toString()+" cm"),this},ve.comment=function(P){return Lt("#"+P),this};var ji=function(P,je){var zt=P||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return zt},set:function(Kr){isNaN(Kr)||(zt=parseFloat(Kr))}});var tr=je||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return tr},set:function(Kr){isNaN(Kr)||(tr=parseFloat(Kr))}});var Sr="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Sr},set:function(Kr){Sr=Kr.toString()}}),this},Yo=function(P,je,zt,tr){ji.call(this,P,je),this.type="rect";var Sr=zt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Sr},set:function(ln){isNaN(ln)||(Sr=parseFloat(ln))}});var Kr=tr||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Kr},set:function(ln){isNaN(ln)||(Kr=parseFloat(ln))}}),this},Ni=function(){this.page=Cn,this.currentPage=vt,this.pages=Rr.slice(0),this.pagesContext=jn.slice(0),this.x=Fn,this.y=Ln,this.matrix=Xn,this.width=fs(vt),this.height=hi(vt),this.outputDestination=Sn,this.id="",this.objectNumber=-1};Ni.prototype.restore=function(){Cn=this.page,vt=this.currentPage,jn=this.pagesContext,Rr=this.pages,Fn=this.x,Ln=this.y,Xn=this.matrix,ms(vt,this.width),wi(vt,this.height),Sn=this.outputDestination};var ss=function(P,je,zt,tr,Sr){uo.push(new Ni),Cn=vt=0,Rr=[],Fn=P,Ln=je,Xn=Sr,ki([zt,tr])};for(var Mi in ve.beginFormObject=function(P,je,zt,tr,Sr){return ss(P,je,zt,tr,Sr),this},ve.endFormObject=function(P){return function(je){if(co[je])uo.pop().restore();else{var zt=new Ni,tr="Xo"+(Object.keys(Ka).length+1).toString(10);zt.id=tr,co[je]=tr,Ka[tr]=zt,fa.publish("addFormObject",zt),uo.pop().restore()}}(P),this},ve.doFormObject=function(P,je){var zt=Ka[co[P]];return Lt("q"),Lt(je.toString()+" cm"),Lt("/"+zt.id+" Do"),Lt("Q"),this},ve.getFormObject=function(P){var je=Ka[co[P]];return{x:je.x,y:je.y,width:je.width,height:je.height,matrix:je.matrix}},ve.save=function(P,je){return P=P||"generated.pdf",(je=je||{}).returnPromise=je.returnPromise||!1,je.returnPromise===!1?(L(ao(yo()),P),typeof L.unload=="function"&&J.setTimeout&&setTimeout(L.unload,911),this):new Promise(function(zt,tr){try{var Sr=L(ao(yo()),P);typeof L.unload=="function"&&J.setTimeout&&setTimeout(L.unload,911),zt(Sr)}catch(Kr){tr(Kr.message)}})},R.API)R.API.hasOwnProperty(Mi)&&(Mi==="events"&&R.API.events.length?function(P,je){var zt,tr,Sr;for(Sr=je.length-1;Sr!==-1;Sr--)zt=je[Sr][0],tr=je[Sr][1],P.subscribe.apply(P,[zt].concat(typeof tr=="function"?[tr]:tr))}(fa,R.API.events):ve[Mi]=R.API[Mi]);function fs(P){return jn[P].mediaBox.topRightX-jn[P].mediaBox.bottomLeftX}function ms(P,je){jn[P].mediaBox.topRightX=je+jn[P].mediaBox.bottomLeftX}function hi(P){return jn[P].mediaBox.topRightY-jn[P].mediaBox.bottomLeftY}function wi(P,je){jn[P].mediaBox.topRightY=je+jn[P].mediaBox.bottomLeftY}var ps=ve.getPageWidth=function(P){return fs(P=P||vt)/aa},Gi=ve.setPageWidth=function(P,je){ms(P,je*aa)},Qi=ve.getPageHeight=function(P){return hi(P=P||vt)/aa},ls=ve.setPageHeight=function(P,je){wi(P,je*aa)};return ve.internal={pdfEscape:Uo,getStyle:as,getFont:ds,getFontSize:Gr,getCharSpace:As,getTextColor:Zi,getLineHeight:Os,getLineHeightFactor:qi,getLineWidth:Ea,write:ba,getHorizontalCoordinate:ai,getVerticalCoordinate:di,getCoordinateString:Ls,getVerticalCoordinateString:Is,collections:{},newObject:Ba,newAdditionalObject:_a,newObjectDeferred:Wa,newObjectDeferredBegin:va,getFilters:Ao,putStream:Po,events:fa,scaleFactor:aa,pageSize:{getWidth:function(){return ps(vt)},setWidth:function(P){Gi(vt,P)},getHeight:function(){return Qi(vt)},setHeight:function(P){ls(vt,P)}},encryptionOptions:st,encryption:xo,getEncryptor:function(P){return st!==null?xo.encryptor(P,0):function(je){return je}},output:Zo,getNumberOfPages:Ii,pages:Rr,out:Lt,f2:ke,f3:Be,getPageInfo:Vo,getPageInfoByObjId:Ai,getCurrentPageInfo:Hi,getPDFVersion:Ge,Point:ji,Rectangle:Yo,Matrix:ma,hasHotfix:zo},Object.defineProperty(ve.internal.pageSize,"width",{get:function(){return ps(vt)},set:function(P){Gi(vt,P)},enumerable:!0,configurable:!0}),Object.defineProperty(ve.internal.pageSize,"height",{get:function(){return Qi(vt)},set:function(P){ls(vt,P)},enumerable:!0,configurable:!0}),function(P){for(var je=0,zt=Hn.length;je<zt;je++){var tr=Lo.call(this,P[je][0],P[je][1],P[je][2],Hn[je][3],!0);jt===!1&&(At[tr]=!0);var Sr=P[je][0].split("-");Ei({id:tr,fontName:Sr[0],fontStyle:Sr[1]||""})}fa.publish("addFonts",{fonts:Qr,dictionary:mn})}.call(ve,Hn),kn="F1",bi($,p),fa.publish("initialized"),ve}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 ie(Ze(s).substr(0,5),f)},M.prototype.encryptor=function(f,s){var p=Ze(this.encryptionKey+String.fromCharCode(255&f,f>>8&255,f>>16&255,255&s,s>>8&255)).substr(0,10);return function(b){return ie(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},R.API={events:[]},R.version="3.0.3";var S=R.API,X=1,We=function(f){return f.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ge=function(f){return f.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ve=function(f){return f.toFixed(2)},it=function(f){return f.toFixed(5)};S.__acroform__={};var dt=function(f,s){f.prototype=Object.create(s.prototype),f.prototype.constructor=f},fe=function(f){return f*X},ze=function(f){var s=new Gt,p=wt.internal.getHeight(f)||0,b=wt.internal.getWidth(f)||0;return s.BBox=[0,0,Number(Ve(b)),Number(Ve(p))],s},Ct=S.__acroform__.setBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return f|1<<s},He=S.__acroform__.clearBit=function(f,s){if(f=f||0,s=s||0,isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return f&~(1<<s)},Fe=S.__acroform__.getBit=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return f&1<<s?1:0},j=S.__acroform__.getBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Fe(f,s-1)},Ye=S.__acroform__.setBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return Ct(f,s-1)},be=S.__acroform__.clearBitForPdf=function(f,s){if(isNaN(f)||isNaN(s))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return He(f,s-1)},de=S.__acroform__.calculateCoordinates=function(f,s){var p=s.internal.getHorizontalCoordinate,b=s.internal.getVerticalCoordinate,$=f[0],v=f[1],T=f[2],Z=f[3],ee={};return ee.lowerLeft_X=p($)||0,ee.lowerLeft_Y=b(v+Z)||0,ee.upperRight_X=p($+T)||0,ee.upperRight_Y=b(v)||0,[Number(Ve(ee.lowerLeft_X)),Number(Ve(ee.lowerLeft_Y)),Number(Ve(ee.upperRight_X)),Number(Ve(ee.upperRight_Y))]},he=function(f){if(f.appearanceStreamContent)return f.appearanceStreamContent;if(f.V||f.DV){var s=[],p=f._V||f.DV,b=me(f,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("/"+$+" "+Ve(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 v=ze(f);return v.scope=f.scope,v.stream=s.join(`
|
|
|
`),v}},me=function(f,s){var p=f.fontSize===0?f.maxFontSize:f.fontSize,b={text:"",fontSize:""},$=(s=(s=s.substr(0,1)=="("?s.substr(1):s).substr(s.length-1)==")"?s.substr(0,s.length-1):s).split(" ");$=f.multiline?$.map(function(ke){return ke.split(`
|
|
|
`)}):$.map(function(ke){return[ke]});var v=p,T=wt.internal.getHeight(f)||0;T=T<0?-T:T;var Z=wt.internal.getWidth(f)||0;Z=Z<0?-Z:Z;var ee=function(ke,Be,St){if(ke+1<$.length){var ct=Be+" "+$[ke+1][0];return Ie(ct,f,St).width<=Z-4}return!1};v++;e:for(;v>0;){s="",v--;var Ee,st,jt=Ie("3",f,v).height,At=f.multiline?T-v:(T-jt)/2,ve=At+=2,kt=0,Ge=0,Zt=0;if(v<=0){s=`(...) Tj
|
|
|
`,s+="% Width of Text: "+Ie(s,f,v=12).width+", FieldWidth:"+Z+`
|
|
|
`;break}for(var pt="",ar=0,yr=0;yr<$.length;yr++)if($.hasOwnProperty(yr)){var Qt=!1;if($[yr].length!==1&&Zt!==$[yr].length-1){if((jt+2)*(ar+2)+2>T)continue e;pt+=$[yr][Zt],Qt=!0,Ge=yr,yr--}else{pt=(pt+=$[yr][Zt]+" ").substr(pt.length-1)==" "?pt.substr(0,pt.length-1):pt;var nt=parseInt(yr),Se=ee(nt,pt,v),Vt=yr>=$.length-1;if(Se&&!Vt){pt+=" ",Zt=0;continue}if(Se||Vt){if(Vt)Ge=nt;else if(f.multiline&&(jt+2)*(ar+2)+2>T)continue e}else{if(!f.multiline||(jt+2)*(ar+2)+2>T)continue e;Ge=nt}}for(var Mt="",Ot=kt;Ot<=Ge;Ot++){var Jt=$[Ot];if(f.multiline){if(Ot===Ge){Mt+=Jt[Zt]+" ",Zt=(Zt+1)%Jt.length;continue}if(Ot===kt){Mt+=Jt[Jt.length-1]+" ";continue}}Mt+=Jt[0]+" "}switch(Mt=Mt.substr(Mt.length-1)==" "?Mt.substr(0,Mt.length-1):Mt,st=Ie(Mt,f,v).width,f.textAlign){case"right":Ee=Z-st-2;break;case"center":Ee=(Z-st)/2;break;default:Ee=2}s+=Ve(Ee)+" "+Ve(ve)+` Td
|
|
|
`,s+="("+We(Mt)+`) Tj
|
|
|
`,s+=-Ve(Ee)+` 0 Td
|
|
|
`,ve=-(v+2),st=0,kt=Qt?Ge:Ge+1,ar++,pt=""}break}return b.text=s,b.fontSize=v,b},Ie=function(f,s,p){var b=s.scope.internal.getFont(s.fontName,s.fontStyle),$=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:$}},we={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Le=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)},qe=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(we)),f.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");X=f.internal.scaleFactor,f.internal.acroformPlugin.acroFormDictionaryRoot=new Pt,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 $ in b)if(b.hasOwnProperty($)){var v=b[$];v.objId=void 0,v.hasAnnotation&&Le(v,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,$){var v=!b;for(var T in b||($.internal.newObjectDeferredBegin($.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),$.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),b=b||$.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(b.hasOwnProperty(T)){var Z=b[T],ee=[],Ee=Z.Rect;if(Z.Rect&&(Z.Rect=de(Z.Rect,$)),$.internal.newObjectDeferredBegin(Z.objId,!0),Z.DA=wt.createDefaultAppearanceStream(Z),(0,o.Z)(Z)==="object"&&typeof Z.getKeyValueListForStream=="function"&&(ee=Z.getKeyValueListForStream()),Z.Rect=Ee,Z.hasAppearanceStream&&!Z.appearanceStreamContent){var st=he(Z);ee.push({key:"AP",value:"<</N "+st+">>"}),$.internal.acroformPlugin.xForms.push(st)}if(Z.appearanceStreamContent){var jt="";for(var At in Z.appearanceStreamContent)if(Z.appearanceStreamContent.hasOwnProperty(At)){var ve=Z.appearanceStreamContent[At];if(jt+="/"+At+" ",jt+="<<",Object.keys(ve).length>=1||Array.isArray(ve)){for(var T in ve)if(ve.hasOwnProperty(T)){var kt=ve[T];typeof kt=="function"&&(kt=kt.call($,Z)),jt+="/"+T+" "+kt+" ",$.internal.acroformPlugin.xForms.indexOf(kt)>=0||$.internal.acroformPlugin.xForms.push(kt)}}else typeof(kt=ve)=="function"&&(kt=kt.call($,Z)),jt+="/"+T+" "+kt,$.internal.acroformPlugin.xForms.indexOf(kt)>=0||$.internal.acroformPlugin.xForms.push(kt);jt+=">>"}ee.push({key:"AP",value:`<<
|
|
|
`+jt+">>"})}$.internal.putStream({additionalKeyValues:ee,objectId:Z.objId}),$.internal.out("endobj")}v&&function(Ge,Zt){for(var pt in Ge)if(Ge.hasOwnProperty(pt)){var ar=pt,yr=Ge[pt];Zt.internal.newObjectDeferredBegin(yr.objId,!0),(0,o.Z)(yr)==="object"&&typeof yr.putStream=="function"&&yr.putStream(),delete Ge[ar]}}($.internal.acroformPlugin.xForms,$)})(p,f)}),f.internal.acroformPlugin.isInitialized=!0}},yt=S.__acroform__.arrayToPdfArray=function(f,s,p){var b=function(T){return T};if(Array.isArray(f)){for(var $="[",v=0;v<f.length;v++)switch(v!==0&&($+=" "),(0,o.Z)(f[v])){case"boolean":case"number":case"object":$+=f[v].toString();break;case"string":f[v].substr(0,1)!=="/"?(s!==void 0&&p&&(b=p.internal.getEncryptor(s)),$+="("+We(b(f[v].toString()))+")"):$+=f[v].toString()}return $+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},$t=function(f,s,p){var b=function($){return $};return s!==void 0&&p&&(b=p.internal.getEncryptor(s)),(f=f||"").toString(),"("+We(b(f))+")"},qt=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})};qt.prototype.toString=function(){return this.objId+" 0 R"},qt.prototype.putStream=function(){var f=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:f,objectId:this.objId}),this.scope.internal.out("endobj")},qt.prototype.getKeyValueListForStream=function(){var f=[],s=Object.getOwnPropertyNames(this).filter(function(v){return v!="content"&&v!="appearanceStreamContent"&&v!="scope"&&v!="objId"&&v.substring(0,1)!="_"});for(var p in s)if(Object.getOwnPropertyDescriptor(this,s[p]).configurable===!1){var b=s[p],$=this[b];$&&(Array.isArray($)?f.push({key:b,value:yt($,this.objId,this.scope)}):$ instanceof qt?($.scope=this.scope,f.push({key:b,value:$.objId+" 0 R"})):typeof $!="function"&&f.push({key:b,value:$}))}return f};var Gt=function(){qt.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(Gt,qt);var Pt=function(){qt.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)),"("+We(p(f))+")"}},set:function(p){f=p}})};dt(Pt,qt);var at=function f(){qt.call(this);var s=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return s},set:function(pt){if(isNaN(pt))throw new Error('Invalid value "'+pt+'" for attribute F supplied.');s=pt}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!j(s,3)},set:function(pt){pt?this.F=Ye(s,3):this.F=be(s,3)}});var p=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return p},set:function(pt){if(isNaN(pt))throw new Error('Invalid value "'+pt+'" for attribute Ff supplied.');p=pt}});var b=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(b.length!==0)return b},set:function(pt){b=pt!==void 0?pt:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[0])?0:b[0]},set:function(pt){b[0]=pt}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[1])?0:b[1]},set:function(pt){b[1]=pt}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[2])?0:b[2]},set:function(pt){b[2]=pt}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!b||isNaN(b[3])?0:b[3]},set:function(pt){b[3]=pt}});var $="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return $},set:function(pt){switch(pt){case"/Btn":case"/Tx":case"/Ch":case"/Sig":$=pt;break;default:throw new Error('Invalid value "'+pt+'" for attribute FT supplied.')}}});var v=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!v||v.length<1){if(this instanceof Jr)return;v="FieldObject"+f.FieldNum++}var pt=function(ar){return ar};return this.scope&&(pt=this.scope.internal.getEncryptor(this.objId)),"("+We(pt(v))+")"},set:function(pt){v=pt.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return v},set:function(pt){v=pt}});var T="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return T},set:function(pt){T=pt}});var Z="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return Z},set:function(pt){Z=pt}});var ee=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return ee},set:function(pt){ee=pt}});var Ee=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return Ee===void 0?50/X:Ee},set:function(pt){Ee=pt}});var st="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return st},set:function(pt){st=pt}});var jt="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!jt||this instanceof Jr||this instanceof x))return $t(jt,this.objId,this.scope)},set:function(pt){pt=pt.toString(),jt=pt}});var At=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(At)return this instanceof er==0?$t(At,this.objId,this.scope):At},set:function(pt){pt=pt.toString(),At=this instanceof er==0?pt.substr(0,1)==="("?ge(pt.substr(1,pt.length-2)):ge(pt):pt}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof er==1?ge(At.substr(1,At.length-1)):At},set:function(pt){pt=pt.toString(),At=this instanceof er==1?"/"+pt:pt}});var ve=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(ve)return ve},set:function(pt){this.V=pt}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(ve)return this instanceof er==0?$t(ve,this.objId,this.scope):ve},set:function(pt){pt=pt.toString(),ve=this instanceof er==0?pt.substr(0,1)==="("?ge(pt.substr(1,pt.length-2)):ge(pt):pt}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof er==1?ge(ve.substr(1,ve.length-1)):ve},set:function(pt){pt=pt.toString(),ve=this instanceof er==1?"/"+pt:pt}}),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 kt,Ge=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Ge},set:function(pt){pt=!!pt,Ge=pt}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(kt)return kt},set:function(pt){kt=pt}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,1)},set:function(pt){pt?this.Ff=Ye(this.Ff,1):this.Ff=be(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,2)},set:function(pt){pt?this.Ff=Ye(this.Ff,2):this.Ff=be(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,3)},set:function(pt){pt?this.Ff=Ye(this.Ff,3):this.Ff=be(this.Ff,3)}});var Zt=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(Zt!==null)return Zt},set:function(pt){if([0,1,2].indexOf(pt)===-1)throw new Error('Invalid value "'+pt+'" for attribute Q supplied.');Zt=pt}}),Object.defineProperty(this,"textAlign",{get:function(){var pt;switch(Zt){case 0:default:pt="left";break;case 1:pt="center";break;case 2:pt="right"}return pt},configurable:!0,enumerable:!0,set:function(pt){switch(pt){case"right":case 2:Zt=2;break;case"center":case 1:Zt=1;break;default:Zt=0}}})};dt(at,qt);var xt=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 yt(s,this.objId,this.scope)},set:function(p){var b,$;$=[],typeof(b=p)=="string"&&($=function(v,T,Z){Z||(Z=1);for(var ee,Ee=[];ee=T.exec(v);)Ee.push(ee[Z]);return Ee}(b,/\((.*?)\)/g)),s=$}}),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!!j(this.Ff,18)},set:function(p){p?this.Ff=Ye(this.Ff,18):this.Ff=be(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,19)},set:function(p){this.combo===!0&&(p?this.Ff=Ye(this.Ff,19):this.Ff=be(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,20)},set:function(p){p?(this.Ff=Ye(this.Ff,20),s.sort()):this.Ff=be(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,22)},set:function(p){p?this.Ff=Ye(this.Ff,22):this.Ff=be(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,23)},set:function(p){p?this.Ff=Ye(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,27)},set:function(p){p?this.Ff=Ye(this.Ff,27):this.Ff=be(this.Ff,27)}}),this.hasAppearanceStream=!1};dt(xt,at);var Nt=function(){xt.call(this),this.fontName="helvetica",this.combo=!1};dt(Nt,xt);var Ht=function(){Nt.call(this),this.combo=!0};dt(Ht,Nt);var Et=function(){Ht.call(this),this.edit=!0};dt(Et,Ht);var er=function(){at.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,15)},set:function(p){p?this.Ff=Ye(this.Ff,15):this.Ff=be(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,16)},set:function(p){p?this.Ff=Ye(this.Ff,16):this.Ff=be(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,17)},set:function(p){p?this.Ff=Ye(this.Ff,17):this.Ff=be(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,26)},set:function(p){p?this.Ff=Ye(this.Ff,26):this.Ff=be(this.Ff,26)}});var f,s={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var p=function(v){return v};if(this.scope&&(p=this.scope.internal.getEncryptor(this.objId)),Object.keys(s).length!==0){var b,$=[];for(b in $.push("<<"),s)$.push("/"+b+" ("+We(p(s[b]))+")");return $.push(">>"),$.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(er,at);var lr=function(){er.call(this),this.pushButton=!0};dt(lr,er);var Cr=function(){er.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(Cr,er);var Jr=function(){var f,s;at.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return f},set:function($){f=$}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return s},set:function($){s=$}});var p,b={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var $=function(Z){return Z};this.scope&&($=this.scope.internal.getEncryptor(this.objId));var v,T=[];for(v in T.push("<<"),b)T.push("/"+v+" ("+We($(b[v]))+")");return T.push(">>"),T.join(`
|
|
|
`)},set:function($){(0,o.Z)($)==="object"&&(b=$)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return b.CA||""},set:function($){typeof $=="string"&&(b.CA=$)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return p},set:function($){p=$}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return p.substr(1,p.length-1)},set:function($){p="/"+$}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=wt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};dt(Jr,at),Cr.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()}},Cr.prototype.createOption=function(f){var s=new Jr;return s.Parent=this,s.optionName=f,this.Kids.push(s),oe.call(this.scope,s),s};var $r=function(){er.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=wt.CheckBox.createAppearanceStream()};dt($r,er);var x=function(){at.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,13)},set:function(s){s?this.Ff=Ye(this.Ff,13):this.Ff=be(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,21)},set:function(s){s?this.Ff=Ye(this.Ff,21):this.Ff=be(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,23)},set:function(s){s?this.Ff=Ye(this.Ff,23):this.Ff=be(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,24)},set:function(s){s?this.Ff=Ye(this.Ff,24):this.Ff=be(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,25)},set:function(s){s?this.Ff=Ye(this.Ff,25):this.Ff=be(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,26)},set:function(s){s?this.Ff=Ye(this.Ff,26):this.Ff=be(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 W=function(){x.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!j(this.Ff,14)},set:function(f){f?this.Ff=Ye(this.Ff,14):this.Ff=be(this.Ff,14)}}),this.password=!0};dt(W,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=ze(f);s.scope=f.scope;var p=[],b=f.scope.internal.getFont(f.fontName,f.fontStyle).id,$=f.scope.__private__.encodeColorString(f.color),v=me(f,f.caption);return p.push("0.749023 g"),p.push("0 0 "+Ve(wt.internal.getWidth(f))+" "+Ve(wt.internal.getHeight(f))+" re"),p.push("f"),p.push("BMC"),p.push("q"),p.push("0 0 1 rg"),p.push("/"+b+" "+Ve(v.fontSize)+" Tf "+$),p.push("BT"),p.push(v.text),p.push("ET"),p.push("Q"),p.push("EMC"),s.stream=p.join(`
|
|
|
`),s},YesNormal:function(f){var s=ze(f);s.scope=f.scope;var p=f.scope.internal.getFont(f.fontName,f.fontStyle).id,b=f.scope.__private__.encodeColorString(f.color),$=[],v=wt.internal.getHeight(f),T=wt.internal.getWidth(f),Z=me(f,f.caption);return $.push("1 g"),$.push("0 0 "+Ve(T)+" "+Ve(v)+" re"),$.push("f"),$.push("q"),$.push("0 0 1 rg"),$.push("0 0 "+Ve(T-1)+" "+Ve(v-1)+" re"),$.push("W"),$.push("n"),$.push("0 g"),$.push("BT"),$.push("/"+p+" "+Ve(Z.fontSize)+" Tf "+b),$.push(Z.text),$.push("ET"),$.push("Q"),s.stream=$.join(`
|
|
|
`),s},OffPushDown:function(f){var s=ze(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ve(wt.internal.getWidth(f))+" "+Ve(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=ze(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 $=wt.internal.Bezier_C,v=Number((b*$).toFixed(5));return p.push("q"),p.push("1 0 0 1 "+it(wt.internal.getWidth(f)/2)+" "+it(wt.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+v+" "+v+" "+b+" 0 "+b+" c"),p.push("-"+v+" "+b+" -"+b+" "+v+" -"+b+" 0 c"),p.push("-"+b+" -"+v+" -"+v+" -"+b+" 0 -"+b+" c"),p.push(v+" -"+b+" "+b+" -"+v+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s},YesPushDown:function(f){var s=ze(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 $=Number((2*b).toFixed(5)),v=Number(($*wt.internal.Bezier_C).toFixed(5)),T=Number((b*wt.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+it(wt.internal.getWidth(f)/2)+" "+it(wt.internal.getHeight(f)/2)+" cm"),p.push($+" 0 m"),p.push($+" "+v+" "+v+" "+$+" 0 "+$+" c"),p.push("-"+v+" "+$+" -"+$+" "+v+" -"+$+" 0 c"),p.push("-"+$+" -"+v+" -"+v+" -"+$+" 0 -"+$+" c"),p.push(v+" -"+$+" "+$+" -"+v+" "+$+" 0 c"),p.push("f"),p.push("Q"),p.push("0 g"),p.push("q"),p.push("1 0 0 1 "+it(wt.internal.getWidth(f)/2)+" "+it(wt.internal.getHeight(f)/2)+" cm"),p.push(b+" 0 m"),p.push(b+" "+T+" "+T+" "+b+" 0 "+b+" c"),p.push("-"+T+" "+b+" -"+b+" "+T+" -"+b+" 0 c"),p.push("-"+b+" -"+T+" -"+T+" -"+b+" 0 -"+b+" c"),p.push(T+" -"+b+" "+b+" -"+T+" "+b+" 0 c"),p.push("f"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s},OffPushDown:function(f){var s=ze(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 $=Number((2*b).toFixed(5)),v=Number(($*wt.internal.Bezier_C).toFixed(5));return p.push("0.749023 g"),p.push("q"),p.push("1 0 0 1 "+it(wt.internal.getWidth(f)/2)+" "+it(wt.internal.getHeight(f)/2)+" cm"),p.push($+" 0 m"),p.push($+" "+v+" "+v+" "+$+" 0 "+$+" c"),p.push("-"+v+" "+$+" -"+$+" "+v+" -"+$+" 0 c"),p.push("-"+$+" -"+v+" -"+v+" -"+$+" 0 -"+$+" c"),p.push(v+" -"+$+" "+$+" -"+v+" "+$+" 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=ze(f);s.scope=f.scope;var p=[],b=wt.internal.calculateCross(f);return p.push("q"),p.push("1 1 "+Ve(wt.internal.getWidth(f)-2)+" "+Ve(wt.internal.getHeight(f)-2)+" re"),p.push("W"),p.push("n"),p.push(Ve(b.x1.x)+" "+Ve(b.x1.y)+" m"),p.push(Ve(b.x2.x)+" "+Ve(b.x2.y)+" l"),p.push(Ve(b.x4.x)+" "+Ve(b.x4.y)+" m"),p.push(Ve(b.x3.x)+" "+Ve(b.x3.y)+" l"),p.push("s"),p.push("Q"),s.stream=p.join(`
|
|
|
`),s},YesPushDown:function(f){var s=ze(f);s.scope=f.scope;var p=wt.internal.calculateCross(f),b=[];return b.push("0.749023 g"),b.push("0 0 "+Ve(wt.internal.getWidth(f))+" "+Ve(wt.internal.getHeight(f))+" re"),b.push("f"),b.push("q"),b.push("1 1 "+Ve(wt.internal.getWidth(f)-2)+" "+Ve(wt.internal.getHeight(f)-2)+" re"),b.push("W"),b.push("n"),b.push(Ve(p.x1.x)+" "+Ve(p.x1.y)+" m"),b.push(Ve(p.x2.x)+" "+Ve(p.x2.y)+" l"),b.push(Ve(p.x4.x)+" "+Ve(p.x4.y)+" m"),b.push(Ve(p.x3.x)+" "+Ve(p.x3.y)+" l"),b.push("s"),b.push("Q"),s.stream=b.join(`
|
|
|
`),s},OffPushDown:function(f){var s=ze(f);s.scope=f.scope;var p=[];return p.push("0.749023 g"),p.push("0 0 "+Ve(wt.internal.getWidth(f))+" "+Ve(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=fe(f.Rect[2])),s},wt.internal.getHeight=function(f){var s=0;return(0,o.Z)(f)==="object"&&(s=fe(f.Rect[3])),s};var oe=S.addField=function(f){if(qe(this,f),!(f instanceof at))throw new Error("Invalid argument passed to jsPDF.addField.");var s;return(s=f).scope.internal.acroformPlugin.printedOut&&(s.scope.internal.acroformPlugin.printedOut=!1,s.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),s.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(s),f.page=f.scope.internal.getCurrentPageInfo().pageNumber,this};S.AcroFormChoiceField=xt,S.AcroFormListBox=Nt,S.AcroFormComboBox=Ht,S.AcroFormEditBox=Et,S.AcroFormButton=er,S.AcroFormPushButton=lr,S.AcroFormRadioButton=Cr,S.AcroFormCheckBox=$r,S.AcroFormTextField=x,S.AcroFormPasswordField=W,S.AcroFormAppearance=wt,S.AcroForm={ChoiceField:xt,ListBox:Nt,ComboBox:Ht,EditBox:Et,Button:er,PushButton:lr,RadioButton:Cr,CheckBox:$r,TextField:x,PasswordField:W,Appearance:wt},R.AcroForm={ChoiceField:xt,ListBox:Nt,ComboBox:Ht,EditBox:Et,Button:er,PushButton:lr,RadioButton:Cr,CheckBox:$r,TextField:x,PasswordField:W,Appearance:wt};var Te=R.AcroForm;function zr(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]]},$=f.__addimage__.getImageFileTypeByImageData=function(ke,Be){var St,ct,cr,gr,Xt,Tt=p;if((Be=Be||p)==="RGBA"||ke.data!==void 0&&ke.data instanceof Uint8ClampedArray&&"height"in ke&&"width"in ke)return"RGBA";if(Se(ke))for(Xt in b)for(cr=b[Xt],St=0;St<cr.length;St+=1){for(gr=!0,ct=0;ct<cr[St].length;ct+=1)if(cr[St][ct]!==void 0&&cr[St][ct]!==ke[ct]){gr=!1;break}if(gr===!0){Tt=Xt;break}}else for(Xt in b)for(cr=b[Xt],St=0;St<cr.length;St+=1){for(gr=!0,ct=0;ct<cr[St].length;ct+=1)if(cr[St][ct]!==void 0&&cr[St][ct]!==ke.charCodeAt(ct)){gr=!1;break}if(gr===!0){Tt=Xt;break}}return Tt===p&&Be!==p&&(Tt=Be),Tt},v=function ke(Be){for(var St=this.internal.write,ct=this.internal.putStream,cr=(0,this.internal.getFilters)();cr.indexOf("FlateEncode")!==-1;)cr.splice(cr.indexOf("FlateEncode"),1);Be.objectId=this.internal.newObject();var gr=[];if(gr.push({key:"Type",value:"/XObject"}),gr.push({key:"Subtype",value:"/Image"}),gr.push({key:"Width",value:Be.width}),gr.push({key:"Height",value:Be.height}),Be.colorSpace===pt.INDEXED?gr.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(Be.palette.length/3-1)+" "+("sMask"in Be&&Be.sMask!==void 0?Be.objectId+2:Be.objectId+1)+" 0 R]"}):(gr.push({key:"ColorSpace",value:"/"+Be.colorSpace}),Be.colorSpace===pt.DEVICE_CMYK&&gr.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),gr.push({key:"BitsPerComponent",value:Be.bitsPerComponent}),"decodeParameters"in Be&&Be.decodeParameters!==void 0&&gr.push({key:"DecodeParms",value:"<<"+Be.decodeParameters+">>"}),"transparency"in Be&&Array.isArray(Be.transparency)&&Be.transparency.length>0){for(var Xt="",Tt=0,ir=Be.transparency.length;Tt<ir;Tt++)Xt+=Be.transparency[Tt]+" "+Be.transparency[Tt]+" ";gr.push({key:"Mask",value:"["+Xt+"]"})}Be.sMask!==void 0&&gr.push({key:"SMask",value:Be.objectId+1+" 0 R"});var Zr=Be.filter!==void 0?["/"+Be.filter]:void 0;if(ct({data:Be.data,additionalKeyValues:gr,alreadyAppliedFilters:Zr,objectId:Be.objectId}),St("endobj"),"sMask"in Be&&Be.sMask!==void 0){var Wt,Pe=(Wt=Be.sMaskBitsPerComponent)!==null&&Wt!==void 0?Wt:Be.bitsPerComponent,vt={width:Be.width,height:Be.height,colorSpace:"DeviceGray",bitsPerComponent:Pe,data:Be.sMask};"filter"in Be&&(vt.decodeParameters="/Predictor ".concat(Be.predictor," /Colors 1 /BitsPerComponent ").concat(Pe," /Columns ").concat(Be.width),vt.filter=Be.filter),ke.call(this,vt)}if(Be.colorSpace===pt.INDEXED){var Bt=this.internal.newObject();ct({data:Mt(new Uint8Array(Be.palette)),objectId:Bt}),St("endobj")}},T=function(){var ke=this.internal.collections[s+"images"];for(var Be in ke)v.call(this,ke[Be])},Z=function(){var ke,Be=this.internal.collections[s+"images"],St=this.internal.write;for(var ct in Be)St("/I"+(ke=Be[ct]).index,ke.objectId,"0","R")},ee=function(){this.internal.collections[s+"images"]||(this.internal.collections[s+"images"]={},this.internal.events.subscribe("putResources",T),this.internal.events.subscribe("putXobjectDict",Z))},Ee=function(){var ke=this.internal.collections[s+"images"];return ee.call(this),ke},st=function(){return Object.keys(this.internal.collections[s+"images"]).length},jt=function(ke){return typeof f["process"+ke.toUpperCase()]=="function"},At=function(ke){return(0,o.Z)(ke)==="object"&&ke.nodeType===1},ve=function(ke,Be){if(ke.nodeName==="IMG"&&ke.hasAttribute("src")){var St=""+ke.getAttribute("src");if(St.indexOf("data:image/")===0)return G(unescape(St).split("base64,").pop());var ct=f.loadFile(St,!0);if(ct!==void 0)return ct}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 cr;switch(Be){case"PNG":cr="image/png";break;case"WEBP":cr="image/webp";break;default:cr="image/jpeg"}return G(ke.toDataURL(cr,1).split("base64,").pop())}},kt=function(ke){var Be=this.internal.collections[s+"images"];if(Be){for(var St in Be)if(ke===Be[St].alias)return Be[St]}},Ge=function(ke,Be,St){return ke||Be||(ke=-96,Be=-96),ke<0&&(ke=-1*St.width*72/ke/this.internal.scaleFactor),Be<0&&(Be=-1*St.height*72/Be/this.internal.scaleFactor),ke===0&&(ke=Be*St.width/St.height),Be===0&&(Be=ke*St.height/St.width),[ke,Be]},Zt=function(ke,Be,St,ct,cr,gr){var Xt=Ge.call(this,St,ct,cr),Tt=this.internal.getCoordinateString,ir=this.internal.getVerticalCoordinateString,Zr=Ee.call(this);if(St=Xt[0],ct=Xt[1],Zr[cr.index]=cr,gr){gr*=Math.PI/180;var Wt=Math.cos(gr),Pe=Math.sin(gr),vt=function(ht){return ht.toFixed(4)},Bt=[vt(Wt),vt(Pe),vt(-1*Pe),vt(Wt),0,0,"cm"]}this.internal.write("q"),gr?(this.internal.write([1,"0","0",1,Tt(ke),ir(Be+ct),"cm"].join(" ")),this.internal.write(Bt.join(" ")),this.internal.write([Tt(St),"0","0",Tt(ct),"0","0","cm"].join(" "))):this.internal.write([Tt(St),"0","0",Tt(ct),Tt(ke),ir(Be+ct),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+cr.index+" Do"),this.internal.write("Q")},pt=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 ar=f.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},yr=f.__addimage__.sHashCode=function(ke){var Be,St,ct=0;if(typeof ke=="string")for(St=ke.length,Be=0;Be<St;Be++)ct=(ct<<5)-ct+ke.charCodeAt(Be),ct|=0;else if(Se(ke))for(St=ke.byteLength/2,Be=0;Be<St;Be++)ct=(ct<<5)-ct+ke[Be],ct|=0;return ct},Qt=f.__addimage__.validateStringAsBase64=function(ke){(ke=ke||"").toString().trim();var Be=!0;return ke.length===0&&(Be=!1),ke.length%4!=0&&(Be=!1),/^[A-Za-z0-9+/]+$/.test(ke.substr(0,ke.length-2))===!1&&(Be=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(ke.substr(-2))===!1&&(Be=!1),Be},nt=f.__addimage__.extractImageFromDataUrl=function(ke){if(ke==null||!(ke=ke.trim()).startsWith("data:"))return null;var Be=ke.indexOf(",");return Be<0?null:ke.substring(0,Be).trim().endsWith("base64")?ke.substring(Be+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},Vt=f.__addimage__.binaryStringToUint8Array=function(ke){for(var Be=ke.length,St=new Uint8Array(Be),ct=0;ct<Be;ct++)St[ct]=ke.charCodeAt(ct);return St},Mt=f.__addimage__.arrayBufferToBinaryString=function(ke){for(var Be="",St=Se(ke)?ke:new Uint8Array(ke),ct=0;ct<St.length;ct+=8192)Be+=String.fromCharCode.apply(null,St.subarray(ct,ct+8192));return Be};f.addImage=function(){var ke,Be,St,ct,cr,gr,Xt,Tt,ir;if(typeof arguments[1]=="number"?(Be=p,St=arguments[1],ct=arguments[2],cr=arguments[3],gr=arguments[4],Xt=arguments[5],Tt=arguments[6],ir=arguments[7]):(Be=arguments[1],St=arguments[2],ct=arguments[3],cr=arguments[4],gr=arguments[5],Xt=arguments[6],Tt=arguments[7],ir=arguments[8]),(0,o.Z)(ke=arguments[0])==="object"&&!At(ke)&&"imageData"in ke){var Zr=ke;ke=Zr.imageData,Be=Zr.format||Be||p,St=Zr.x||St||0,ct=Zr.y||ct||0,cr=Zr.w||Zr.width||cr,gr=Zr.h||Zr.height||gr,Xt=Zr.alias||Xt,Tt=Zr.compression||Tt,ir=Zr.rotation||Zr.angle||ir}var Wt=this.internal.getFilters();if(Tt===void 0&&Wt.indexOf("FlateEncode")!==-1&&(Tt="SLOW"),isNaN(St)||isNaN(ct))throw new Error("Invalid coordinates passed to jsPDF.addImage");ee.call(this);var Pe=Ot.call(this,ke,Be,Xt,Tt);return Zt.call(this,St,ct,cr,gr,Pe,ir),this};var Ot=function(ke,Be,St,ct){var cr,gr,Xt;if(typeof ke=="string"&&$(ke)===p){ke=unescape(ke);var Tt=Jt(ke,!1);(Tt!==""||(Tt=f.loadFile(ke,!0))!==void 0)&&(ke=Tt)}if(At(ke)&&(ke=ve(ke,Be)),Be=$(ke,Be),!jt(Be))throw new Error("addImage does not support files of type '"+Be+"', please ensure that a plugin for '"+Be+"' support is added.");if(((Xt=St)==null||Xt.length===0)&&(St=function(ir){return typeof ir=="string"||Se(ir)?yr(ir):Se(ir.data)?yr(ir.data):null}(ke)),(cr=kt.call(this,St))||(ke instanceof Uint8Array||Be==="RGBA"||(gr=ke,ke=Vt(ke)),cr=this["process"+Be.toUpperCase()](ke,st.call(this),St,function(ir){return ir&&typeof ir=="string"&&(ir=ir.toUpperCase()),ir in f.image_compression?ir:ar.NONE}(ct),gr)),!cr)throw new Error("An unknown error occurred whilst processing the image.");return cr},Jt=f.__addimage__.convertBase64ToBinaryString=function(ke,Be){Be=typeof Be!="boolean"||Be;var St,ct="";if(typeof ke=="string"){var cr;St=(cr=nt(ke))!==null&&cr!==void 0?cr:ke;try{ct=G(St)}catch(gr){if(Be)throw Qt(St)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+gr.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ct};f.getImageProperties=function(ke){var Be,St,ct="";if(At(ke)&&(ke=ve(ke)),typeof ke=="string"&&$(ke)===p&&((ct=Jt(ke,!1))===""&&(ct=f.loadFile(ke)||""),ke=ct),St=$(ke),!jt(St))throw new Error("addImage does not support files of type '"+St+"', please ensure that a plugin for '"+St+"' support is added.");if(ke instanceof Uint8Array||(ke=Vt(ke)),!(Be=this["process"+St.toUpperCase()](ke)))throw new Error("An unknown error occurred whilst processing the image");return Be.fileType=St,Be}})(R.API),function(f){var s=function(p){if(p!==void 0&&p!="")return!0};R.API.events.push(["addPage",function(p){this.internal.getPageInfo(p.pageNumber).pageContext.annotations=[]}]),f.events.push(["putPage",function(p){for(var b,$,v,T=this.internal.getCoordinateString,Z=this.internal.getVerticalCoordinateString,ee=this.internal.getPageInfoByObjId(p.objId),Ee=p.pageContext.annotations,st=!1,jt=0;jt<Ee.length&&!st;jt++)switch((b=Ee[jt]).type){case"link":(s(b.options.url)||s(b.options.pageNumber))&&(st=!0);break;case"reference":case"text":case"freetext":st=!0}if(st!=0){this.internal.write("/Annots [");for(var At=0;At<Ee.length;At++){b=Ee[At];var ve=this.internal.pdfEscape,kt=this.internal.getEncryptor(p.objId);switch(b.type){case"reference":this.internal.write(" "+b.object.objId+" 0 R ");break;case"text":var Ge=this.internal.newAdditionalObject(),Zt=this.internal.newAdditionalObject(),pt=this.internal.getEncryptor(Ge.objId),ar=b.title||"Note";v="<</Type /Annot /Subtype /Text "+($="/Rect ["+T(b.bounds.x)+" "+Z(b.bounds.y+b.bounds.h)+" "+T(b.bounds.x+b.bounds.w)+" "+Z(b.bounds.y)+"] ")+"/Contents ("+ve(pt(b.contents))+")",v+=" /Popup "+Zt.objId+" 0 R",v+=" /P "+ee.objId+" 0 R",v+=" /T ("+ve(pt(ar))+") >>",Ge.content=v;var yr=Ge.objId+" 0 R";v="<</Type /Annot /Subtype /Popup "+($="/Rect ["+T(b.bounds.x+30)+" "+Z(b.bounds.y+b.bounds.h)+" "+T(b.bounds.x+b.bounds.w+30)+" "+Z(b.bounds.y)+"] ")+" /Parent "+yr,b.open&&(v+=" /Open true"),v+=" >>",Zt.content=v,this.internal.write(Ge.objId,"0 R",Zt.objId,"0 R");break;case"freetext":$="/Rect ["+T(b.bounds.x)+" "+Z(b.bounds.y)+" "+T(b.bounds.x+b.bounds.w)+" "+Z(b.bounds.y+b.bounds.h)+"] ";var Qt=b.color||"#000000";v="<</Type /Annot /Subtype /FreeText "+$+"/Contents ("+ve(kt(b.contents))+")",v+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+Qt+")",v+=" /Border [0 0 0]",v+=" >>",this.internal.write(v);break;case"link":if(b.options.name){var nt=this.annotations._nameMap[b.options.name];b.options.pageNumber=nt.page,b.options.top=nt.y}else b.options.top||(b.options.top=0);if($="/Rect ["+b.finalBounds.x+" "+b.finalBounds.y+" "+b.finalBounds.w+" "+b.finalBounds.h+"] ",v="",b.options.url)v="<</Type /Annot /Subtype /Link "+$+"/Border [0 0 0] /A <</S /URI /URI ("+ve(kt(b.options.url))+") >>";else if(b.options.pageNumber)switch(v="<</Type /Annot /Subtype /Link "+$+"/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":v+=" /Fit]";break;case"FitH":v+=" /FitH "+b.options.top+"]";break;case"FitV":b.options.left=b.options.left||0,v+=" /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),v+=" /XYZ "+b.options.left+" "+Se+" "+b.options.zoom+"]"}v!=""&&(v+=" >>",this.internal.write(v))}}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,$,v,T){var Z=this.internal.getCurrentPageInfo(),ee=this.internal.getCoordinateString,Ee=this.internal.getVerticalCoordinateString;Z.pageContext.annotations.push({finalBounds:{x:ee(p),y:Ee(b),w:ee(p+$),h:Ee(b+v)},options:T,type:"link"})},f.textWithLink=function(p,b,$,v){var T,Z,ee=this.getTextWidth(p),Ee=this.internal.getLineHeight()/this.internal.scaleFactor;if(v.maxWidth!==void 0){Z=v.maxWidth;var st=this.splitTextToSize(p,Z).length;T=Math.ceil(Ee*st)}else Z=ee,T=Ee;return this.text(p,b,$,v),$+=.2*Ee,v.align==="center"&&(b-=ee/2),v.align==="right"&&(b-=ee),this.link(b,$-Ee,Z,T,v),ee},f.getTextWidth=function(p){var b=this.internal.getFontSize();return this.getStringUnitWidth(p)*b/this.internal.scaleFactor}}(R.API),function(f){var s={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},p={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},b={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},$=[1570,1571,1573,1575];f.__arabicParser__={};var v=f.__arabicParser__.isInArabicSubstitutionA=function(Ge){return s[Ge.charCodeAt(0)]!==void 0},T=f.__arabicParser__.isArabicLetter=function(Ge){return typeof Ge=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Ge)},Z=f.__arabicParser__.isArabicEndLetter=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length<=2},ee=f.__arabicParser__.isArabicAlfLetter=function(Ge){return T(Ge)&&$.indexOf(Ge.charCodeAt(0))>=0};f.__arabicParser__.arabicLetterHasIsolatedForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=1};var Ee=f.__arabicParser__.arabicLetterHasFinalForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=2};f.__arabicParser__.arabicLetterHasInitialForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length>=3};var st=f.__arabicParser__.arabicLetterHasMedialForm=function(Ge){return T(Ge)&&v(Ge)&&s[Ge.charCodeAt(0)].length==4},jt=f.__arabicParser__.resolveLigatures=function(Ge){var Zt=0,pt=p,ar="",yr=0;for(Zt=0;Zt<Ge.length;Zt+=1)pt[Ge.charCodeAt(Zt)]!==void 0?(yr++,typeof(pt=pt[Ge.charCodeAt(Zt)])=="number"&&(ar+=String.fromCharCode(pt),pt=p,yr=0),Zt===Ge.length-1&&(pt=p,ar+=Ge.charAt(Zt-(yr-1)),Zt-=yr-1,yr=0)):(pt=p,ar+=Ge.charAt(Zt-yr),Zt-=yr,yr=0);return ar};f.__arabicParser__.isArabicDiacritic=function(Ge){return Ge!==void 0&&b[Ge.charCodeAt(0)]!==void 0};var At=f.__arabicParser__.getCorrectForm=function(Ge,Zt,pt){return T(Ge)?v(Ge)===!1?-1:!Ee(Ge)||!T(Zt)&&!T(pt)||!T(pt)&&Z(Zt)||Z(Ge)&&!T(Zt)||Z(Ge)&&ee(Zt)||Z(Ge)&&Z(Zt)?0:st(Ge)&&T(Zt)&&!Z(Zt)&&T(pt)&&Ee(pt)?3:Z(Ge)||!T(pt)?1:2:-1},ve=function(Ge){var Zt=0,pt=0,ar=0,yr="",Qt="",nt="",Se=(Ge=Ge||"").split("\\s+"),Vt=[];for(Zt=0;Zt<Se.length;Zt+=1){for(Vt.push(""),pt=0;pt<Se[Zt].length;pt+=1)yr=Se[Zt][pt],Qt=Se[Zt][pt-1],nt=Se[Zt][pt+1],T(yr)?(ar=At(yr,Qt,nt),Vt[Zt]+=ar!==-1?String.fromCharCode(s[yr.charCodeAt(0)][ar]):yr):Vt[Zt]+=yr;Vt[Zt]=jt(Vt[Zt])}return Vt.join(" ")},kt=f.__arabicParser__.processArabic=f.processArabic=function(){var Ge,Zt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,pt=[];if(Array.isArray(Zt)){var ar=0;for(pt=[],ar=0;ar<Zt.length;ar+=1)Array.isArray(Zt[ar])?pt.push([ve(Zt[ar][0]),Zt[ar][1],Zt[ar][2]]):pt.push([ve(Zt[ar])]);Ge=pt}else Ge=ve(Zt);return typeof arguments[0]=="string"?Ge:(arguments[0].text=Ge,arguments[0])};f.events.push(["preProcessText",kt])}(R.API),R.API.autoPrint=function(f){var s;return(f=f||{}).variant=f.variant||"non-conform",f.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){s=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+s+" 0 R")})),this},function(f){var s=function(){var p=void 0;Object.defineProperty(this,"pdf",{get:function(){return p},set:function(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 $=300;Object.defineProperty(this,"height",{get:function(){return $},set:function(Z){$=isNaN(Z)||Number.isInteger(Z)===!1||Z<0?300:Z,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=$+1)}});var v=[];Object.defineProperty(this,"childNodes",{get:function(){return v},set:function(Z){v=Z}});var T={};Object.defineProperty(this,"style",{get:function(){return T},set:function(Z){T=Z}}),Object.defineProperty(this,"parentNode",{})};s.prototype.getContext=function(p,b){var $;if((p=p||"2d")!=="2d")return null;for($ in b)this.pdf.context2d.hasOwnProperty($)&&(this.pdf.context2d[$]=b[$]);return this.pdf.context2d._canvas=this,this.pdf.context2d},s.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},f.events.push(["initialized",function(){this.canvas=new s,this.canvas.pdf=this}])}(R.API),function(f){var s={left:0,top:0,bottom:0,right:0},p=!1,b=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},s),this.internal.__cell__.margins.width=this.getPageWidth(),$.call(this))},$=function(){this.internal.__cell__.lastCell=new v,this.internal.__cell__.pages=1},v=function(){var ee=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return ee},set:function(Ge){ee=Ge}});var Ee=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return Ee},set:function(Ge){Ee=Ge}});var st=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return st},set:function(Ge){st=Ge}});var jt=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return jt},set:function(Ge){jt=Ge}});var At=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return At},set:function(Ge){At=Ge}});var ve=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return ve},set:function(Ge){ve=Ge}});var kt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return kt},set:function(Ge){kt=Ge}}),this};v.prototype.clone=function(){return new v(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},v.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,Ee){b.call(this);var st=(Ee=Ee||{}).fontSize||this.getFontSize(),jt=Ee.font||this.getFont(),At=Ee.scaleFactor||this.internal.scaleFactor,ve=0,kt=0,Ge=0,Zt=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 pt=Ee.maxWidth;pt>0?typeof ee=="string"?ee=this.splitTextToSize(ee,pt):Object.prototype.toString.call(ee)==="[object Array]"&&(ee=ee.reduce(function(yr,Qt){return yr.concat(Zt.splitTextToSize(Qt,pt))},[])):ee=Array.isArray(ee)?ee:[ee];for(var ar=0;ar<ee.length;ar++)ve<(Ge=this.getStringUnitWidth(ee[ar],{font:jt})*st)&&(ve=Ge);return ve!==0&&(kt=ee.length),{w:ve/=At,h:Math.max((kt*st*this.getLineHeightFactor()-st*(this.getLineHeightFactor()-1))/At,0)}},f.cellAddPage=function(){b.call(this),this.addPage();var ee=this.internal.__cell__.margins||s;return this.internal.__cell__.lastCell=new v(ee.left,ee.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var T=f.cell=function(){var ee;ee=arguments[0]instanceof v?arguments[0]:new v(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),b.call(this);var Ee=this.internal.__cell__.lastCell,st=this.internal.__cell__.padding,jt=this.internal.__cell__.margins||s,At=this.internal.__cell__.tableHeaderRow,ve=this.internal.__cell__.printHeaders;return Ee.lineNumber!==void 0&&(Ee.lineNumber===ee.lineNumber?(ee.x=(Ee.x||0)+(Ee.width||0),ee.y=Ee.y||0):Ee.y+Ee.height+ee.height+jt.bottom>this.getPageHeight()?(this.cellAddPage(),ee.y=jt.top,ve&&At&&(this.printHeaderRow(ee.lineNumber,!0),ee.y+=At[0].height)):ee.y=Ee.y+Ee.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-st,ee.y+st,{align:"right",baseline:"top"}):ee.align==="center"?this.text(ee.text,ee.x+ee.width/2,ee.y+st,{align:"center",baseline:"top",maxWidth:ee.width-st-st}):this.text(ee.text,ee.x+st,ee.y+st,{align:"left",baseline:"top",maxWidth:ee.width-st-st})),this.internal.__cell__.lastCell=ee,this};f.table=function(ee,Ee,st,jt,At){if(b.call(this),!st)throw new Error("No data for PDF table.");var ve,kt,Ge,Zt,pt=[],ar=[],yr=[],Qt={},nt={},Se=[],Vt=[],Mt=(At=At||{}).autoSize||!1,Ot=At.printHeaders!==!1,Jt=At.css&&At.css["font-size"]!==void 0?16*At.css["font-size"]:At.fontSize||12,ke=At.margins||Object.assign({width:this.getPageWidth()},s),Be=typeof At.padding=="number"?At.padding:3,St=At.headerBackgroundColor||"#c8c8c8",ct=At.headerTextColor||"#000";if($.call(this),this.internal.__cell__.printHeaders=Ot,this.internal.__cell__.margins=ke,this.internal.__cell__.table_font_size=Jt,this.internal.__cell__.padding=Be,this.internal.__cell__.headerBackgroundColor=St,this.internal.__cell__.headerTextColor=ct,this.setFontSize(Jt),jt==null)ar=pt=Object.keys(st[0]),yr=pt.map(function(){return"left"});else if(Array.isArray(jt)&&(0,o.Z)(jt[0])==="object")for(pt=jt.map(function(Zr){return Zr.name}),ar=jt.map(function(Zr){return Zr.prompt||Zr.name||""}),yr=jt.map(function(Zr){return Zr.align||"left"}),ve=0;ve<jt.length;ve+=1)nt[jt[ve].name]=.7499990551181103*jt[ve].width;else Array.isArray(jt)&&typeof jt[0]=="string"&&(ar=pt=jt,yr=pt.map(function(){return"left"}));if(Mt||Array.isArray(jt)&&typeof jt[0]=="string")for(ve=0;ve<pt.length;ve+=1){for(Qt[Zt=pt[ve]]=st.map(function(Zr){return Zr[Zt]}),this.setFont(void 0,"bold"),Se.push(this.getTextDimensions(ar[ve],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),kt=Qt[Zt],this.setFont(void 0,"normal"),Ge=0;Ge<kt.length;Ge+=1)Se.push(this.getTextDimensions(kt[Ge],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);nt[Zt]=Math.max.apply(null,Se)+Be+Be,Se=[]}if(Ot){var cr={};for(ve=0;ve<pt.length;ve+=1)cr[pt[ve]]={},cr[pt[ve]].text=ar[ve],cr[pt[ve]].align=yr[ve];var gr=Z.call(this,cr,nt);Vt=pt.map(function(Zr){return new v(ee,Ee,nt[Zr],gr,cr[Zr].text,void 0,cr[Zr].align)}),this.setTableHeaderRow(Vt),this.printHeaderRow(1,!1)}var Xt=jt.reduce(function(Zr,Wt){return Zr[Wt.name]=Wt.align,Zr},{});for(ve=0;ve<st.length;ve+=1){"rowStart"in At&&At.rowStart instanceof Function&&At.rowStart({row:ve,data:st[ve]},this);var Tt=Z.call(this,st[ve],nt);for(Ge=0;Ge<pt.length;Ge+=1){var ir=st[ve][pt[Ge]];"cellStart"in At&&At.cellStart instanceof Function&&At.cellStart({row:ve,col:Ge,data:ir},this),T.call(this,new v(ee,Ee,nt[pt[Ge]],Tt,ir,ve+2,Xt[pt[Ge]]))}}return this.internal.__cell__.table_x=ee,this.internal.__cell__.table_y=Ee,this};var Z=function(ee,Ee){var st=this.internal.__cell__.padding,jt=this.internal.__cell__.table_font_size,At=this.internal.scaleFactor;return Object.keys(ee).map(function(ve){var kt=ee[ve];return this.splitTextToSize(kt.hasOwnProperty("text")?kt.text:kt,Ee[ve]-st-st)},this).map(function(ve){return this.getLineHeightFactor()*ve.length*jt/At+st+st},this).reduce(function(ve,kt){return Math.max(ve,kt)},0)};f.setTableHeaderRow=function(ee){b.call(this),this.internal.__cell__.tableHeaderRow=ee},f.printHeaderRow=function(ee,Ee){if(b.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var st;if(p=!0,typeof this.internal.__cell__.headerFunction=="function"){var jt=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new v(jt[0],jt[1],jt[2],jt[3],void 0,-1)}this.setFont(void 0,"bold");for(var At=[],ve=0;ve<this.internal.__cell__.tableHeaderRow.length;ve+=1){st=this.internal.__cell__.tableHeaderRow[ve].clone(),Ee&&(st.y=this.internal.__cell__.margins.top||0,At.push(st)),st.lineNumber=ee;var kt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),T.call(this,st),this.setTextColor(kt)}At.length>0&&this.setTableHeaderRow(At),this.setFont(void 0,"normal"),p=!1}}(R.API);var Ar={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},yn=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Tn=zr(yn),Ft=[100,200,300,400,500,600,700,800,900],wr=zr(Ft);function br(f){var s=f.family.replace(/"|'/g,"").toLowerCase(),p=function(v){return Ar[v=v||"normal"]?v:"normal"}(f.style),b=function(v){return v?typeof v=="number"?v>=100&&v<=900&&v%100==0?v:400:/^\d00$/.test(v)?parseInt(v):v==="bold"?700:400:400}(f.weight),$=function(v){return typeof Tn[v=v||"normal"]=="number"?v:"normal"}(f.stretch);return{family:s,style:p,weight:b,stretch:$,src:f.src||[],ref:f.ref||{name:s,style:[$,p,b].join(" ")}}}function Br(f,s,p,b){var $;for($=p;$>=0&&$<s.length;$+=b)if(f[s[$]])return f[s[$]];for($=p;$>=0&&$<s.length;$-=b)if(f[s[$]])return f[s[$]]}var h={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},z={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Oe(f){return[f.stretch,f.style,f.weight,f.family].join(" ")}function re(f){return f.trimLeft()}function lt(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 pn(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 mt,Ut,Ur,Pr,Yr,gn,qn,pe,mr=["times"];function et(f,s,p,b,$){var v=4,T=wn;switch($){case R.API.image_compression.FAST:v=1,T=Vr;break;case R.API.image_compression.MEDIUM:v=6,T=ea;break;case R.API.image_compression.SLOW:v=9,T=gt}f=function(ee,Ee,st,jt){for(var At,ve=ee.length/Ee,kt=new Uint8Array(ee.length+ve),Ge=[Ir,Vr,wn,ea,gt],Zt=0;Zt<ve;Zt+=1){var pt=Zt*Ee,ar=ee.subarray(pt,pt+Ee);if(jt)kt.set(jt(ar,st,At),pt+Zt);else{for(var yr=Ge.length,Qt=[],nt=0;nt<yr;nt+=1)Qt[nt]=Ge[nt](ar,st,At);var Se=sr(Qt.concat());kt.set(Qt[Se],pt+Zt)}At=ar}return kt}(f,s,Math.ceil(p*b/8),T);var Z=(0,Je.iZ)(f,{level:v});return R.API.__addimage__.arrayBufferToBinaryString(Z)}function Ir(f){var s=Array.apply([],f);return s.unshift(0),s}function Vr(f,s){var p=f.length,b=[];b[0]=1;for(var $=0;$<p;$+=1){var v=f[$-s]||0;b[$+1]=f[$]-v+256&255}return b}function wn(f,s,p){var b=f.length,$=[];$[0]=2;for(var v=0;v<b;v+=1){var T=p&&p[v]||0;$[v+1]=f[v]-T+256&255}return $}function ea(f,s,p){var b=f.length,$=[];$[0]=3;for(var v=0;v<b;v+=1){var T=f[v-s]||0,Z=p&&p[v]||0;$[v+1]=f[v]+256-(T+Z>>>1)&255}return $}function gt(f,s,p){var b=f.length,$=[];$[0]=4;for(var v=0;v<b;v+=1){var T=nr(f[v-s]||0,p&&p[v]||0,p&&p[v-s]||0);$[v+1]=f[v]-T+256&255}return $}function nr(f,s,p){if(f===s&&s===p)return f;var b=Math.abs(s-p),$=Math.abs(f-p),v=Math.abs(f+s-p-p);return b<=$&&b<=v?f:$<=v?s:p}function sr(f){var s=f.map(function(p){return p.reduce(function(b,$){return b+Math.abs($)},0)});return s.indexOf(Math.min.apply(null,s))}function or(f,s,p){var b=s*p,$=Math.floor(b/8),v=16-(b-8*$+p),T=(1<<p)-1;return on(f,$)>>v&T}function jr(f,s,p,b){var $=p*b,v=Math.floor($/8),T=16-($-8*v+b),Z=(1<<b)-1,ee=(s&Z)<<T;(function(Ee,st,jt){if(st+1<Ee.byteLength)Ee.setUint16(st,jt,!1);else{var At=jt>>8&255;Ee.setUint8(st,At)}})(f,v,on(f,v)&~(Z<<T)&65535|ee)}function on(f,s){return s+1<f.byteLength?f.getUint16(s,!1):f.getUint8(s)<<8}function Wr(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,$=f[s++],v=$>>7,T=1<<1+(7&$);f[s++],f[s++];var Z=null,ee=null;v&&(Z=s,ee=T,s+=3*T);var Ee=!0,st=[],jt=0,At=null,ve=0,kt=null;for(this.width=p,this.height=b;Ee&&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,kt=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 Ge=f[s++];jt=f[s++]|f[s++]<<8,At=f[s++],1&Ge||(At=null),ve=Ge>>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 Zt=f[s++]|f[s++]<<8,pt=f[s++]|f[s++]<<8,ar=f[s++]|f[s++]<<8,yr=f[s++]|f[s++]<<8,Qt=f[s++],nt=Qt>>6&1,Se=1<<1+(7&Qt),Vt=Z,Mt=ee,Ot=!1;Qt>>7&&(Ot=!0,Vt=s,Mt=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}st.push({x:Zt,y:pt,width:ar,height:yr,has_local_palette:Ot,palette_offset:Vt,palette_size:Mt,data_offset:Jt,data_length:s-Jt,transparent_index:At,interlaced:!!nt,delay:jt,disposal:ve});break;case 59:Ee=!1;break;default:throw new Error("Unknown gif block: 0x"+f[s-1].toString(16))}this.numFrames=function(){return st.length},this.loopCount=function(){return kt},this.frameInfo=function(Be){if(Be<0||Be>=st.length)throw new Error("Frame index out of range.");return st[Be]},this.decodeAndBlitFrameBGRA=function(Be,St){var ct=this.frameInfo(Be),cr=ct.width*ct.height,gr=new Uint8Array(cr);Dr(f,ct.data_offset,gr,cr);var Xt=ct.palette_offset,Tt=ct.transparent_index;Tt===null&&(Tt=256);var ir=ct.width,Zr=p-ir,Wt=ir,Pe=4*(ct.y*p+ct.x),vt=4*((ct.y+ct.height)*p+ct.x),Bt=Pe,ht=4*Zr;ct.interlaced===!0&&(ht+=4*p*7);for(var Yt=8,dr=0,fr=gr.length;dr<fr;++dr){var Er=gr[dr];if(Wt===0&&(Wt=ir,(Bt+=ht)>=vt&&(ht=4*Zr+4*p*(Yt-1),Bt=Pe+(ir+Zr)*(Yt<<1),Yt>>=1)),Er===Tt)Bt+=4;else{var Lr=f[Xt+3*Er],Rr=f[Xt+3*Er+1],cn=f[Xt+3*Er+2];St[Bt++]=cn,St[Bt++]=Rr,St[Bt++]=Lr,St[Bt++]=255}--Wt}},this.decodeAndBlitFrameRGBA=function(Be,St){var ct=this.frameInfo(Be),cr=ct.width*ct.height,gr=new Uint8Array(cr);Dr(f,ct.data_offset,gr,cr);var Xt=ct.palette_offset,Tt=ct.transparent_index;Tt===null&&(Tt=256);var ir=ct.width,Zr=p-ir,Wt=ir,Pe=4*(ct.y*p+ct.x),vt=4*((ct.y+ct.height)*p+ct.x),Bt=Pe,ht=4*Zr;ct.interlaced===!0&&(ht+=4*p*7);for(var Yt=8,dr=0,fr=gr.length;dr<fr;++dr){var Er=gr[dr];if(Wt===0&&(Wt=ir,(Bt+=ht)>=vt&&(ht=4*Zr+4*p*(Yt-1),Bt=Pe+(ir+Zr)*(Yt<<1),Yt>>=1)),Er===Tt)Bt+=4;else{var Lr=f[Xt+3*Er],Rr=f[Xt+3*Er+1],cn=f[Xt+3*Er+2];St[Bt++]=Lr,St[Bt++]=Rr,St[Bt++]=cn,St[Bt++]=255}--Wt}}}function Dr(f,s,p,b){for(var $=f[s++],v=1<<$,T=v+1,Z=T+1,ee=$+1,Ee=(1<<ee)-1,st=0,jt=0,At=0,ve=f[s++],kt=new Int32Array(4096),Ge=null;;){for(;st<16&&ve!==0;)jt|=f[s++]<<st,st+=8,ve===1?ve=f[s++]:--ve;if(st<ee)break;var Zt=jt&Ee;if(jt>>=ee,st-=ee,Zt!==v){if(Zt===T)break;for(var pt=Zt<Z?Zt:Ge,ar=0,yr=pt;yr>v;)yr=kt[yr]>>8,++ar;var Qt=yr;if(At+ar+(pt!==Zt?1:0)>b)return void Y.log("Warning, gif stream longer than expected.");p[At++]=Qt;var nt=At+=ar;for(pt!==Zt&&(p[At++]=Qt),yr=pt;ar--;)yr=kt[yr],p[--nt]=255&yr,yr>>=8;Ge!==null&&Z<4096&&(kt[Z++]=Ge<<8|Qt,Z>=Ee+1&&ee<12&&(++ee,Ee=Ee<<1|1)),Ge=Zt}else Z=T+1,Ee=(1<<(ee=$+1))-1,Ge=null}return At!==b&&Y.log("Warning, gif stream shorter than expected."),p}function nn(f){var s,p,b,$,v,T=Math.floor,Z=new Array(64),ee=new Array(64),Ee=new Array(64),st=new Array(64),jt=new Array(65535),At=new Array(65535),ve=new Array(64),kt=new Array(64),Ge=[],Zt=0,pt=7,ar=new Array(64),yr=new Array(64),Qt=new Array(64),nt=new Array(256),Se=new Array(2048),Vt=[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],Mt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],Ot=[0,1,2,3,4,5,6,7,8,9,10,11],Jt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],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],Be=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],St=[0,1,2,3,4,5,6,7,8,9,10,11],ct=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],cr=[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 gr(Pe,vt){for(var Bt=0,ht=0,Yt=new Array,dr=1;dr<=16;dr++){for(var fr=1;fr<=Pe[dr];fr++)Yt[vt[ht]]=[],Yt[vt[ht]][0]=Bt,Yt[vt[ht]][1]=dr,ht++,Bt++;Bt*=2}return Yt}function Xt(Pe){for(var vt=Pe[0],Bt=Pe[1]-1;Bt>=0;)vt&1<<Bt&&(Zt|=1<<pt),Bt--,--pt<0&&(Zt==255?(Tt(255),Tt(0)):Tt(Zt),pt=7,Zt=0)}function Tt(Pe){Ge.push(Pe)}function ir(Pe){Tt(Pe>>8&255),Tt(255&Pe)}function Zr(Pe,vt,Bt,ht,Yt){for(var dr,fr=Yt[0],Er=Yt[240],Lr=function(an,dn){var Gr,sa,Vn,xa,_n,la,La,na,kn,aa,Fn=0;for(kn=0;kn<8;++kn){Gr=an[Fn],sa=an[Fn+1],Vn=an[Fn+2],xa=an[Fn+3],_n=an[Fn+4],la=an[Fn+5],La=an[Fn+6];var Ln=Gr+(na=an[Fn+7]),Xn=Gr-na,Qr=sa+La,mn=sa-La,ca=Vn+la,En=Vn-la,ha=xa+_n,Zn=xa-_n,Ha=Ln+ha,qa=Ln-ha,Cn=Qr+ca,jn=Qr-ca;an[Fn]=Ha+Cn,an[Fn+4]=Ha-Cn;var fa=.707106781*(jn+qa);an[Fn+2]=qa+fa,an[Fn+6]=qa-fa;var Ja=.382683433*((Ha=Zn+En)-(jn=mn+Xn)),Ka=.5411961*Ha+Ja,co=1.306562965*jn+Ja,uo=.707106781*(Cn=En+mn),ma=Xn+uo,Eo=Xn-uo;an[Fn+5]=Eo+Ka,an[Fn+3]=Eo-Ka,an[Fn+1]=ma+co,an[Fn+7]=ma-co,Fn+=8}for(Fn=0,kn=0;kn<8;++kn){Gr=an[Fn],sa=an[Fn+8],Vn=an[Fn+16],xa=an[Fn+24],_n=an[Fn+32],la=an[Fn+40],La=an[Fn+48];var ja=Gr+(na=an[Fn+56]),Ta=Gr-na,Na=sa+La,Ba=sa-La,Wa=Vn+la,va=Vn-la,_a=xa+_n,Da=xa-_n,Xa=ja+_a,no=ja-_a,lo=Na+Wa,Ao=Na-Wa;an[Fn]=Xa+lo,an[Fn+32]=Xa-lo;var Po=.707106781*(Ao+no);an[Fn+16]=no+Po,an[Fn+48]=no-Po;var Ma=.382683433*((Xa=Da+va)-(Ao=Ba+Ta)),Wo=.5411961*Xa+Ma,ho=1.306562965*Ao+Ma,jo=.707106781*(lo=va+Ba),vo=Ta+jo,vi=Ta-jo;an[Fn+40]=vi+Wo,an[Fn+24]=vi-Wo,an[Fn+8]=vo+ho,an[Fn+56]=vo-ho,Fn++}for(kn=0;kn<64;++kn)aa=an[kn]*dn[kn],ve[kn]=aa>0?aa+.5|0:aa-.5|0;return ve}(Pe,vt),Rr=0;Rr<64;++Rr)kt[Vt[Rr]]=Lr[Rr];var cn=kt[0]-Bt;Bt=kt[0],cn==0?Xt(ht[0]):(Xt(ht[At[dr=32767+cn]]),Xt(jt[dr]));for(var Sn=63;Sn>0&&kt[Sn]==0;)Sn--;if(Sn==0)return Xt(fr),Bt;for(var Mr,Lt=1;Lt<=Sn;){for(var ba=Lt;kt[Lt]==0&&Lt<=Sn;)++Lt;var da=Lt-ba;if(da>=16){Mr=da>>4;for(var Hn=1;Hn<=Mr;++Hn)Xt(Er);da&=15}dr=32767+kt[Lt],Xt(Yt[(da<<4)+At[dr]]),Xt(jt[dr]),Lt++}return Sn!=63&&Xt(fr),Bt}function Wt(Pe){Pe=Math.min(Math.max(Pe,1),100),v!=Pe&&(function(vt){for(var Bt=[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],ht=0;ht<64;ht++){var Yt=T((Bt[ht]*vt+50)/100);Yt=Math.min(Math.max(Yt,1),255),Z[Vt[ht]]=Yt}for(var dr=[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],fr=0;fr<64;fr++){var Er=T((dr[fr]*vt+50)/100);Er=Math.min(Math.max(Er,1),255),ee[Vt[fr]]=Er}for(var Lr=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Rr=0,cn=0;cn<8;cn++)for(var Sn=0;Sn<8;Sn++)Ee[Rr]=1/(Z[Vt[Rr]]*Lr[cn]*Lr[Sn]*8),st[Rr]=1/(ee[Vt[Rr]]*Lr[cn]*Lr[Sn]*8),Rr++}(Pe<50?Math.floor(5e3/Pe):Math.floor(200-2*Pe)),v=Pe)}this.encode=function(Pe,vt){vt&&Wt(vt),Ge=new Array,Zt=0,pt=7,ir(65496),ir(65504),ir(16),Tt(74),Tt(70),Tt(73),Tt(70),Tt(0),Tt(1),Tt(1),Tt(0),ir(1),ir(1),Tt(0),Tt(0),function(){ir(65499),ir(132),Tt(0);for(var sa=0;sa<64;sa++)Tt(Z[sa]);Tt(1);for(var Vn=0;Vn<64;Vn++)Tt(ee[Vn])}(),function(sa,Vn){ir(65472),ir(17),Tt(8),ir(Vn),ir(sa),Tt(3),Tt(1),Tt(17),Tt(0),Tt(2),Tt(17),Tt(1),Tt(3),Tt(17),Tt(1)}(Pe.width,Pe.height),function(){ir(65476),ir(418),Tt(0);for(var sa=0;sa<16;sa++)Tt(Mt[sa+1]);for(var Vn=0;Vn<=11;Vn++)Tt(Ot[Vn]);Tt(16);for(var xa=0;xa<16;xa++)Tt(Jt[xa+1]);for(var _n=0;_n<=161;_n++)Tt(ke[_n]);Tt(1);for(var la=0;la<16;la++)Tt(Be[la+1]);for(var La=0;La<=11;La++)Tt(St[La]);Tt(17);for(var na=0;na<16;na++)Tt(ct[na+1]);for(var kn=0;kn<=161;kn++)Tt(cr[kn])}(),ir(65498),ir(12),Tt(3),Tt(1),Tt(0),Tt(2),Tt(17),Tt(3),Tt(17),Tt(0),Tt(63),Tt(0);var Bt=0,ht=0,Yt=0;Zt=0,pt=7,this.encode.displayName="_encode_";for(var dr,fr,Er,Lr,Rr,cn,Sn,Mr,Lt,ba=Pe.data,da=Pe.width,Hn=Pe.height,an=4*da,dn=0;dn<Hn;){for(dr=0;dr<an;){for(Rr=an*dn+dr,Sn=-1,Mr=0,Lt=0;Lt<64;Lt++)cn=Rr+(Mr=Lt>>3)*an+(Sn=4*(7&Lt)),dn+Mr>=Hn&&(cn-=an*(dn+1+Mr-Hn)),dr+Sn>=an&&(cn-=dr+Sn-an+4),fr=ba[cn++],Er=ba[cn++],Lr=ba[cn++],ar[Lt]=(Se[fr]+Se[Er+256|0]+Se[Lr+512|0]>>16)-128,yr[Lt]=(Se[fr+768|0]+Se[Er+1024|0]+Se[Lr+1280|0]>>16)-128,Qt[Lt]=(Se[fr+1280|0]+Se[Er+1536|0]+Se[Lr+1792|0]>>16)-128;Bt=Zr(ar,Ee,Bt,s,b),ht=Zr(yr,st,ht,p,$),Yt=Zr(Qt,st,Yt,p,$),dr+=32}dn+=8}if(pt>=0){var Gr=[];Gr[1]=pt+1,Gr[0]=(1<<pt+1)-1,Xt(Gr)}return ir(65497),new Uint8Array(Ge)},f=f||50,function(){for(var Pe=String.fromCharCode,vt=0;vt<256;vt++)nt[vt]=Pe(vt)}(),s=gr(Mt,Ot),p=gr(Be,St),b=gr(Jt,ke),$=gr(ct,cr),function(){for(var Pe=1,vt=2,Bt=1;Bt<=15;Bt++){for(var ht=Pe;ht<vt;ht++)At[32767+ht]=Bt,jt[32767+ht]=[],jt[32767+ht][1]=Bt,jt[32767+ht][0]=ht;for(var Yt=-(vt-1);Yt<=-Pe;Yt++)At[32767+Yt]=Bt,jt[32767+Yt]=[],jt[32767+Yt][1]=Bt,jt[32767+Yt][0]=vt-1+Yt;Pe<<=1,vt<<=1}}(),function(){for(var Pe=0;Pe<256;Pe++)Se[Pe]=19595*Pe,Se[Pe+256|0]=38470*Pe,Se[Pe+512|0]=7471*Pe+32768,Se[Pe+768|0]=-11059*Pe,Se[Pe+1024|0]=-21709*Pe,Se[Pe+1280|0]=32768*Pe+8421375,Se[Pe+1536|0]=-27439*Pe,Se[Pe+1792|0]=-5329*Pe}(),Wt(f)}function sn(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 An(f){function s(Ot){if(!Ot)throw Error("assert :P")}function p(Ot,Jt,ke){for(var Be=0;4>Be;Be++)if(Ot[Jt+Be]!=ke.charCodeAt(Be))return!0;return!1}function b(Ot,Jt,ke,Be,St){for(var ct=0;ct<St;ct++)Ot[Jt+ct]=ke[Be+ct]}function $(Ot,Jt,ke,Be){for(var St=0;St<Be;St++)Ot[Jt+St]=ke}function v(Ot){return new Int32Array(Ot)}function T(Ot,Jt){for(var ke=[],Be=0;Be<Ot;Be++)ke.push(new Jt);return ke}function Z(Ot,Jt){var ke=[];return function Be(St,ct,cr){for(var gr=cr[ct],Xt=0;Xt<gr&&(St.push(cr.length>ct+1?[]:new Jt),!(cr.length<ct+1));Xt++)Be(St[Xt],ct+1,cr)}(ke,0,Ot),ke}var ee=function(){var Ot=this;function Jt(i,m){for(var U=1<<m-1>>>0;i&U;)U>>>=1;return U?(i&U-1)+U:i}function ke(i,m,U,le,Me){s(!(le%U));do i[m+(le-=U)]=Me;while(0<le)}function Be(i,m,U,le,Me){if(s(2328>=Me),512>=Me)var _e=v(512);else if((_e=v(Me))==null)return 0;return function(rt,ut,bt,Dt,hr,Tr){var Rt,vr,Or=ut,_r=1<<bt,Nr=v(16),Xr=v(16);for(s(hr!=0),s(Dt!=null),s(rt!=null),s(0<bt),vr=0;vr<hr;++vr){if(15<Dt[vr])return 0;++Nr[Dt[vr]]}if(Nr[0]==hr)return 0;for(Xr[1]=0,Rt=1;15>Rt;++Rt){if(Nr[Rt]>1<<Rt)return 0;Xr[Rt+1]=Xr[Rt]+Nr[Rt]}for(vr=0;vr<hr;++vr)Rt=Dt[vr],0<Dt[vr]&&(Tr[Xr[Rt]++]=vr);if(Xr[15]==1)return(Dt=new St).g=0,Dt.value=Tr[0],ke(rt,Or,1,_r,Dt),_r;var en,vn=-1,fn=_r-1,wa=0,ia=1,Za=1,pa=1<<bt;for(vr=0,Rt=1,hr=2;Rt<=bt;++Rt,hr<<=1){if(ia+=Za<<=1,0>(Za-=Nr[Rt]))return 0;for(;0<Nr[Rt];--Nr[Rt])(Dt=new St).g=Rt,Dt.value=Tr[vr++],ke(rt,Or+wa,hr,pa,Dt),wa=Jt(wa,Rt)}for(Rt=bt+1,hr=2;15>=Rt;++Rt,hr<<=1){if(ia+=Za<<=1,0>(Za-=Nr[Rt]))return 0;for(;0<Nr[Rt];--Nr[Rt]){if(Dt=new St,(wa&fn)!=vn){for(Or+=pa,en=1<<(vn=Rt)-bt;15>vn&&!(0>=(en-=Nr[vn]));)++vn,en<<=1;_r+=pa=1<<(en=vn-bt),rt[ut+(vn=wa&fn)].g=en+bt,rt[ut+vn].value=Or-ut-vn}Dt.g=Rt-bt,Dt.value=Tr[vr++],ke(rt,Or+(wa>>bt),hr,pa,Dt),wa=Jt(wa,Rt)}}return ia!=2*Xr[15]-1?0:_r}(i,m,U,le,Me,_e)}function St(){this.value=this.g=0}function ct(){this.value=this.g=0}function cr(){this.G=T(5,St),this.H=v(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=T(un,ct)}function gr(i,m,U,le){s(i!=null),s(m!=null),s(2147483648>le),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=m,i.pa=U,i.Jd=m,i.Yc=U+le,i.Zc=4<=le?U+le-4+1:U,fr(i)}function Xt(i,m){for(var U=0;0<m--;)U|=Lr(i,128)<<m;return U}function Tt(i,m){var U=Xt(i,m);return Er(i)?-U:U}function ir(i,m,U,le){var Me,_e=0;for(s(i!=null),s(m!=null),s(4294967288>le),i.Sb=le,i.Ra=0,i.u=0,i.h=0,4<le&&(le=4),Me=0;Me<le;++Me)_e+=m[U+Me]<<8*Me;i.Ra=_e,i.bb=le,i.oa=m,i.pa=U}function Zr(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<Mn-8>>>0,++i.bb,i.u-=8;ht(i)&&(i.h=1,i.u=0)}function Wt(i,m){if(s(0<=m),!i.h&&m<=Nn){var U=Bt(i)&bn[m];return i.u+=m,Zr(i),U}return i.h=1,i.u=0}function Pe(){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 Bt(i){return i.Ra>>>(i.u&Mn-1)>>>0}function ht(i){return s(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>Mn}function Yt(i,m){i.u=m,i.h=ht(i)}function dr(i){i.u>=oa&&(s(i.u>=oa),Zr(i))}function fr(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 Er(i){return Xt(i,1)}function Lr(i,m){var U=i.Ca;0>i.b&&fr(i);var le=i.b,Me=U*m>>>8,_e=(i.I>>>le>Me)+0;for(_e?(U-=Me,i.I-=Me+1<<le>>>0):U=Me+1,le=U,Me=0;256<=le;)Me+=8,le>>=8;return le=7^Me+ya[le],i.b-=le,i.Ca=(U<<le)-1,_e}function Rr(i,m,U){i[m+0]=U>>24&255,i[m+1]=U>>16&255,i[m+2]=U>>8&255,i[m+3]=255&U}function cn(i,m){return i[m+0]|i[m+1]<<8}function Sn(i,m){return cn(i,m)|i[m+2]<<16}function Mr(i,m){return cn(i,m)|cn(i,m+2)<<16}function Lt(i,m){var U=1<<m;return s(i!=null),s(0<m),i.X=v(U),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 Hn(i,m,U,le){s(U!=null),s(le!=null);var Me=U[0],_e=le[0];return Me==0&&(Me=(i*_e+m/2)/m),_e==0&&(_e=(m*Me+i/2)/i),0>=Me||0>=_e?0:(U[0]=Me,le[0]=_e,1)}function an(i,m){return i+(1<<m)-1>>>m}function dn(i,m){return((4278255360&i)+(4278255360&m)>>>0&4278255360)+((16711935&i)+(16711935&m)>>>0&16711935)>>>0}function Gr(i,m){Ot[m]=function(U,le,Me,_e,rt,ut,bt){var Dt;for(Dt=0;Dt<rt;++Dt){var hr=Ot[i](ut[bt+Dt-1],Me,_e+Dt);ut[bt+Dt]=dn(U[le+Dt],hr)}}}function sa(){this.ud=this.hd=this.jd=0}function Vn(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 _n(i,m){return xa(i+(i-m+.5>>1))}function la(i,m,U){return Math.abs(m-U)-Math.abs(i-U)}function La(i,m,U,le,Me,_e,rt){for(le=_e[rt-1],U=0;U<Me;++U)_e[rt+U]=le=dn(i[m+U],le)}function na(i,m,U,le,Me){var _e;for(_e=0;_e<U;++_e){var rt=i[m+_e],ut=rt>>8&255,bt=16711935&(bt=(bt=16711935&rt)+((ut<<16)+ut));le[Me+_e]=(4278255360&rt)+bt>>>0}}function kn(i,m){m.jd=255&i,m.hd=i>>8&255,m.ud=i>>16&255}function aa(i,m,U,le,Me,_e){var rt;for(rt=0;rt<le;++rt){var ut=m[U+rt],bt=ut>>>8,Dt=ut,hr=255&(hr=(hr=ut>>>16)+((i.jd<<24>>24)*(bt<<24>>24)>>>5));Dt=255&(Dt=(Dt+=(i.hd<<24>>24)*(bt<<24>>24)>>>5)+((i.ud<<24>>24)*(hr<<24>>24)>>>5)),Me[_e+rt]=(4278255360&ut)+(hr<<16)+Dt}}function Fn(i,m,U,le,Me){Ot[m]=function(_e,rt,ut,bt,Dt,hr,Tr,Rt,vr){for(bt=Tr;bt<Rt;++bt)for(Tr=0;Tr<vr;++Tr)Dt[hr++]=Me(ut[le(_e[rt++])])},Ot[i]=function(_e,rt,ut,bt,Dt,hr,Tr){var Rt=8>>_e.b,vr=_e.Ea,Or=_e.K[0],_r=_e.w;if(8>Rt)for(_e=(1<<_e.b)-1,_r=(1<<Rt)-1;rt<ut;++rt){var Nr,Xr=0;for(Nr=0;Nr<vr;++Nr)Nr&_e||(Xr=le(bt[Dt++])),hr[Tr++]=Me(Or[Xr&_r]),Xr>>=Rt}else Ot["VP8LMapColor"+U](bt,Dt,Or,_r,hr,Tr,rt,ut,vr)}}function Ln(i,m,U,le,Me){for(U=m+U;m<U;){var _e=i[m++];le[Me++]=_e>>16&255,le[Me++]=_e>>8&255,le[Me++]=255&_e}}function Xn(i,m,U,le,Me){for(U=m+U;m<U;){var _e=i[m++];le[Me++]=_e>>16&255,le[Me++]=_e>>8&255,le[Me++]=255&_e,le[Me++]=_e>>24&255}}function Qr(i,m,U,le,Me){for(U=m+U;m<U;){var _e=(rt=i[m++])>>16&240|rt>>12&15,rt=240&rt|rt>>28&15;le[Me++]=_e,le[Me++]=rt}}function mn(i,m,U,le,Me){for(U=m+U;m<U;){var _e=(rt=i[m++])>>16&248|rt>>13&7,rt=rt>>5&224|rt>>3&31;le[Me++]=_e,le[Me++]=rt}}function ca(i,m,U,le,Me){for(U=m+U;m<U;){var _e=i[m++];le[Me++]=255&_e,le[Me++]=_e>>8&255,le[Me++]=_e>>16&255}}function En(i,m,U,le,Me,_e){if(_e==0)for(U=m+U;m<U;)Rr(le,((_e=i[m++])[0]>>24|_e[1]>>8&65280|_e[2]<<8&16711680|_e[3]<<24)>>>0),Me+=32;else b(le,Me,i,m,U)}function ha(i,m){Ot[m][0]=Ot[i+"0"],Ot[m][1]=Ot[i+"1"],Ot[m][2]=Ot[i+"2"],Ot[m][3]=Ot[i+"3"],Ot[m][4]=Ot[i+"4"],Ot[m][5]=Ot[i+"5"],Ot[m][6]=Ot[i+"6"],Ot[m][7]=Ot[i+"7"],Ot[m][8]=Ot[i+"8"],Ot[m][9]=Ot[i+"9"],Ot[m][10]=Ot[i+"10"],Ot[m][11]=Ot[i+"11"],Ot[m][12]=Ot[i+"12"],Ot[m][13]=Ot[i+"13"],Ot[m][14]=Ot[i+"0"],Ot[m][15]=Ot[i+"0"]}function Zn(i){return i==g0||i==v0||i==n0||i==b0}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 Cn(){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 jn(){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 Ka(i,m){var U=i.T,le=m.ba.f.RGBA,Me=le.eb,_e=le.fb+i.ka*le.A,rt=Yi[m.ba.S],ut=i.y,bt=i.O,Dt=i.f,hr=i.N,Tr=i.ea,Rt=i.W,vr=m.cc,Or=m.dc,_r=m.Mc,Nr=m.Nc,Xr=i.ka,en=i.ka+i.T,vn=i.U,fn=vn+1>>1;for(Xr==0?rt(ut,bt,null,null,Dt,hr,Tr,Rt,Dt,hr,Tr,Rt,Me,_e,null,null,vn):(rt(m.ec,m.fc,ut,bt,vr,Or,_r,Nr,Dt,hr,Tr,Rt,Me,_e-le.A,Me,_e,vn),++U);Xr+2<en;Xr+=2)vr=Dt,Or=hr,_r=Tr,Nr=Rt,hr+=i.Rc,Rt+=i.Rc,_e+=2*le.A,rt(ut,(bt+=2*i.fa)-i.fa,ut,bt,vr,Or,_r,Nr,Dt,hr,Tr,Rt,Me,_e-le.A,Me,_e,vn);return bt+=i.fa,i.j+en<i.o?(b(m.ec,m.fc,ut,bt,vn),b(m.cc,m.dc,Dt,hr,fn),b(m.Mc,m.Nc,Tr,Rt,fn),U--):1&en||rt(ut,bt,null,null,Dt,hr,Tr,Rt,Dt,hr,Tr,Rt,Me,_e+le.A,null,null,vn),U}function co(i,m,U){var le=i.F,Me=[i.J];if(le!=null){var _e=i.U,rt=m.ba.S,ut=rt==r0||rt==n0;m=m.ba.f.RGBA;var bt=[0],Dt=i.ka;bt[0]=i.T,i.Kb&&(Dt==0?--bt[0]:(--Dt,Me[0]-=i.width),i.j+i.ka+i.T==i.o&&(bt[0]=i.o-i.j-Dt));var hr=m.eb;Dt=m.fb+Dt*m.A,i=Ds(le,Me[0],i.width,_e,bt,hr,Dt+(ut?0:3),m.A),s(U==bt),i&&Zn(rt)&&$s(hr,Dt,ut,_e,bt,m.A)}return 0}function uo(i){var m=i.ma,U=m.ba.S,le=11>U,Me=U==e0||U==t0||U==r0||U==p0||U==12||Zn(U);if(m.memory=null,m.Ib=null,m.Jb=null,m.Nd=null,!xr(m.Oa,i,Me?11:12))return 0;if(Me&&Zn(U)&&kr(),i.da)alert("todo:use_scaling");else{if(le){if(m.Ib=Ja,i.Kb){if(U=i.U+1>>1,m.memory=v(i.U+2*U),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+U,m.Ib=Ka,kr()}}else alert("todo:EmitYUV");Me&&(m.Jb=co,le&&rr())}if(le&&!K0){for(i=0;256>i;++i)Al[i]=89858*(i-128)+o0>>a0,jl[i]=-22014*(i-128)+o0,Pl[i]=-45773*(i-128),$l[i]=113618*(i-128)+o0>>a0;for(i=Vs;i<w0;++i)m=76283*(i-16)+o0>>a0,Nl[i-Vs]=V(m,255),Ml[i-Vs]=V(m+8>>4,15);K0=1}return 1}function ma(i){var m=i.ma,U=i.U,le=i.T;return s(!(1&i.ka)),0>=U||0>=le?0:(U=m.Ib(i,m),m.Jb!=null&&m.Jb(i,m,U),m.Dc+=U,1)}function Eo(i){i.ma.memory=null}function ja(i,m,U,le){return Wt(i,8)!=47?0:(m[0]=Wt(i,14)+1,U[0]=Wt(i,14)+1,le[0]=Wt(i,1),Wt(i,3)!=0?0:!i.h)}function Ta(i,m){if(4>i)return i+1;var U=i-2>>1;return(2+(1&i)<<U)+Wt(m,U)+1}function Na(i,m){return 120<m?m-120:1<=(U=((U=fl[m-1])>>4)*i+(8-(15&U)))?U:1;var U}function Ba(i,m,U){var le=Bt(U),Me=i[m+=255&le].g-8;return 0<Me&&(Yt(U,U.u+8),le=Bt(U),m+=i[m].value,m+=le&(1<<Me)-1),Yt(U,U.u+i[m].g),i[m].value}function Wa(i,m,U){return U.g+=i.g,U.value+=i.value<<m>>>0,s(8>=U.g),i.g}function va(i,m,U){var le=i.xc;return s((m=le==0?0:i.vc[i.md*(U>>le)+(m>>le)])<i.Wb),i.Ya[m]}function _a(i,m,U,le){var Me=i.ab,_e=i.c*m,rt=i.C;m=rt+m;var ut=U,bt=le;for(le=i.Ta,U=i.Ua;0<Me--;){var Dt=i.gc[Me],hr=rt,Tr=m,Rt=ut,vr=bt,Or=(bt=le,ut=U,Dt.Ea);switch(s(hr<Tr),s(Tr<=Dt.nc),Dt.hc){case 2:Oa(Rt,vr,(Tr-hr)*Or,bt,ut);break;case 0:var _r=hr,Nr=Tr,Xr=bt,en=ut,vn=(pa=Dt).Ea;_r==0&&(Ua(Rt,vr,null,null,1,Xr,en),La(Rt,vr+1,0,0,vn-1,Xr,en+1),vr+=vn,en+=vn,++_r);for(var fn=1<<pa.b,wa=fn-1,ia=an(vn,pa.b),Za=pa.K,pa=pa.w+(_r>>pa.b)*ia;_r<Nr;){var Qa=Za,Ko=pa,Va=1;for(Pa(Rt,vr,Xr,en-vn,1,Xr,en);Va<vn;){var ga=(Va&~wa)+fn;ga>vn&&(ga=vn),(0,Io[Qa[Ko++]>>8&15])(Rt,vr+ +Va,Xr,en+Va-vn,ga-Va,Xr,en+Va),Va=ga}vr+=vn,en+=vn,++_r&wa||(pa+=ia)}Tr!=Dt.nc&&b(bt,ut-Or,bt,ut+(Tr-hr-1)*Or,Or);break;case 1:for(Or=Rt,Nr=vr,vn=(Rt=Dt.Ea)-(en=Rt&~(Xr=(vr=1<<Dt.b)-1)),_r=an(Rt,Dt.b),fn=Dt.K,Dt=Dt.w+(hr>>Dt.b)*_r;hr<Tr;){for(wa=fn,ia=Dt,Za=new sa,pa=Nr+en,Qa=Nr+Rt;Nr<pa;)kn(wa[ia++],Za),go(Za,Or,Nr,vr,bt,ut),Nr+=vr,ut+=vr;Nr<Qa&&(kn(wa[ia++],Za),go(Za,Or,Nr,vn,bt,ut),Nr+=vn,ut+=vn),++hr&Xr||(Dt+=_r)}break;case 3:if(Rt==bt&&vr==ut&&0<Dt.b){for(Nr=bt,Rt=Or=ut+(Tr-hr)*Or-(en=(Tr-hr)*an(Dt.Ea,Dt.b)),vr=bt,Xr=ut,_r=[],en=(vn=en)-1;0<=en;--en)_r[en]=vr[Xr+en];for(en=vn-1;0<=en;--en)Nr[Rt+en]=_r[en];Ga(Dt,hr,Tr,bt,Or,bt,ut)}else Ga(Dt,hr,Tr,Rt,vr,bt,ut)}ut=le,bt=U}bt!=U&&b(le,U,ut,bt,_e)}function Da(i,m){var U=i.V,le=i.Ba+i.c*i.C,Me=m-i.C;if(s(m<=i.l.o),s(16>=Me),0<Me){var _e=i.l,rt=i.Ta,ut=i.Ua,bt=_e.width;if(_a(i,Me,U,le),Me=ut=[ut],s((U=i.C)<(le=m)),s(_e.v<_e.va),le>_e.o&&(le=_e.o),U<_e.j){var Dt=_e.j-U;U=_e.j,Me[0]+=Dt*bt}if(U>=le?U=0:(Me[0]+=4*_e.v,_e.ka=U-_e.j,_e.U=_e.va-_e.v,_e.T=le-U,U=1),U){if(ut=ut[0],11>(U=i.ca).S){var hr=U.f.RGBA,Tr=(le=U.S,Me=_e.U,_e=_e.T,Dt=hr.eb,hr.A),Rt=_e;for(hr=hr.fb+i.Ma*hr.A;0<Rt--;){var vr=rt,Or=ut,_r=Me,Nr=Dt,Xr=hr;switch(le){case Qs:Jo(vr,Or,_r,Nr,Xr);break;case e0:$o(vr,Or,_r,Nr,Xr);break;case g0:$o(vr,Or,_r,Nr,Xr),$s(Nr,Xr,0,_r,1,0);break;case D0:Si(vr,Or,_r,Nr,Xr);break;case t0:En(vr,Or,_r,Nr,Xr,1);break;case v0:En(vr,Or,_r,Nr,Xr,1),$s(Nr,Xr,0,_r,1,0);break;case r0:En(vr,Or,_r,Nr,Xr,0);break;case n0:En(vr,Or,_r,Nr,Xr,0),$s(Nr,Xr,1,_r,1,0);break;case p0:Ho(vr,Or,_r,Nr,Xr);break;case b0:Ho(vr,Or,_r,Nr,Xr),Hs(Nr,Xr,_r,1,0);break;case R0:ei(vr,Or,_r,Nr,Xr);break;default:s(0)}ut+=bt,hr+=Tr}i.Ma+=_e}else alert("todo:EmitRescaledRowsYUVA");s(i.Ma<=U.height)}}i.C=m,s(i.C<=i.i)}function Xa(i){var m;if(0<i.ua)return 0;for(m=0;m<i.Wb;++m){var U=i.Ya[m].G,le=i.Ya[m].H;if(0<U[1][le[1]+0].g||0<U[2][le[2]+0].g||0<U[3][le[3]+0].g)return 0}return 1}function no(i,m,U,le,Me,_e){if(i.Z!=0){var rt=i.qd,ut=i.rd;for(s(js[i.Z]!=null);m<U;++m)js[i.Z](rt,ut,le,Me,le,Me,_e),rt=le,ut=Me,Me+=_e;i.qd=rt,i.rd=ut}}function lo(i,m){var U=i.l.ma,le=U.Z==0||U.Z==1?i.l.j:i.C;if(le=i.C<le?le:i.C,s(m<=i.l.o),m>le){var Me=i.l.width,_e=U.ca,rt=U.tb+Me*le,ut=i.V,bt=i.Ba+i.c*le,Dt=i.gc;s(i.ab==1),s(Dt[0].hc==3),Ra(Dt[0],le,m,ut,bt,_e,rt),no(U,le,m,_e,rt,Me)}i.C=i.Ma=m}function Ao(i,m,U,le,Me,_e,rt){var ut=i.$/le,bt=i.$%le,Dt=i.m,hr=i.s,Tr=U+i.$,Rt=Tr;Me=U+le*Me;var vr=U+le*_e,Or=280+hr.ua,_r=i.Pb?ut:16777216,Nr=0<hr.ua?hr.Wa:null,Xr=hr.wc,en=Tr<vr?va(hr,bt,ut):null;s(i.C<_e),s(vr<=Me);var vn=!1;e:for(;;){for(;vn||Tr<vr;){var fn=0;if(ut>=_r){var wa=Tr-U;s((_r=i).Pb),_r.wd=_r.m,_r.xd=wa,0<_r.s.ua&&ba(_r.s.Wa,_r.s.vb),_r=ut+pl}if(bt&Xr||(en=va(hr,bt,ut)),s(en!=null),en.Qb&&(m[Tr]=en.qb,vn=!0),!vn)if(dr(Dt),en.jc){fn=Dt,wa=m;var ia=Tr,Za=en.pd[Bt(fn)&un-1];s(en.jc),256>Za.g?(Yt(fn,fn.u+Za.g),wa[ia]=Za.value,fn=0):(Yt(fn,fn.u+Za.g-256),s(256<=Za.value),fn=Za.value),fn==0&&(vn=!0)}else fn=Ba(en.G[0],en.H[0],Dt);if(Dt.h)break;if(vn||256>fn){if(!vn)if(en.nd)m[Tr]=(en.qb|fn<<8)>>>0;else{if(dr(Dt),vn=Ba(en.G[1],en.H[1],Dt),dr(Dt),wa=Ba(en.G[2],en.H[2],Dt),ia=Ba(en.G[3],en.H[3],Dt),Dt.h)break;m[Tr]=(ia<<24|vn<<16|fn<<8|wa)>>>0}if(vn=!1,++Tr,++bt>=le&&(bt=0,++ut,rt!=null&&ut<=_e&&!(ut%16)&&rt(i,ut),Nr!=null))for(;Rt<Tr;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn}else if(280>fn){if(fn=Ta(fn-256,Dt),wa=Ba(en.G[4],en.H[4],Dt),dr(Dt),wa=Na(le,wa=Ta(wa,Dt)),Dt.h)break;if(Tr-U<wa||Me-Tr<fn)break e;for(ia=0;ia<fn;++ia)m[Tr+ia]=m[Tr+ia-wa];for(Tr+=fn,bt+=fn;bt>=le;)bt-=le,++ut,rt!=null&&ut<=_e&&!(ut%16)&&rt(i,ut);if(s(Tr<=Me),bt&Xr&&(en=va(hr,bt,ut)),Nr!=null)for(;Rt<Tr;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn}else{if(!(fn<Or))break e;for(vn=fn-280,s(Nr!=null);Rt<Tr;)fn=m[Rt++],Nr.X[(506832829*fn&4294967295)>>>Nr.Mb]=fn;fn=Tr,s(!(vn>>>(wa=Nr).Xa)),m[fn]=wa.X[vn],vn=!0}vn||s(Dt.h==ht(Dt))}if(i.Pb&&Dt.h&&Tr<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(Dt.h)break e;rt!=null&&rt(i,ut>_e?_e:ut),i.a=0,i.$=Tr-U}return 1}return i.a=3,0}function Po(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 Ma(){var i=new ne;return i==null?null:(i.a=0,i.xb=H0,ha("Predictor","VP8LPredictors"),ha("Predictor","VP8LPredictors_C"),ha("PredictorAdd","VP8LPredictorsAdd"),ha("PredictorAdd","VP8LPredictorsAdd_C"),Oa=na,go=aa,Jo=Ln,$o=Xn,Ho=Qr,ei=mn,Si=ca,Ot.VP8LMapColor32b=Ya,Ot.VP8LMapColor8b=qo,i)}function Wo(i,m,U,le,Me){var _e=1,rt=[i],ut=[m],bt=le.m,Dt=le.s,hr=null,Tr=0;e:for(;;){if(U)for(;_e&&Wt(bt,1);){var Rt=rt,vr=ut,Or=le,_r=1,Nr=Or.m,Xr=Or.gc[Or.ab],en=Wt(Nr,2);if(Or.Oc&1<<en)_e=0;else{switch(Or.Oc|=1<<en,Xr.hc=en,Xr.Ea=Rt[0],Xr.nc=vr[0],Xr.K=[null],++Or.ab,s(4>=Or.ab),en){case 0:case 1:Xr.b=Wt(Nr,3)+2,_r=Wo(an(Xr.Ea,Xr.b),an(Xr.nc,Xr.b),0,Or,Xr.K),Xr.K=Xr.K[0];break;case 3:var vn,fn=Wt(Nr,8)+1,wa=16<fn?0:4<fn?1:2<fn?2:3;if(Rt[0]=an(Xr.Ea,wa),Xr.b=wa,vn=_r=Wo(fn,1,0,Or,Xr.K)){var ia,Za=fn,pa=Xr,Qa=1<<(8>>pa.b),Ko=v(Qa);if(Ko==null)vn=0;else{var Va=pa.K[0],ga=pa.w;for(Ko[0]=pa.K[0][0],ia=1;ia<1*Za;++ia)Ko[ia]=dn(Va[ga+ia],Ko[ia-1]);for(;ia<4*Qa;++ia)Ko[ia]=0;pa.K[0]=null,pa.K[0]=Ko,vn=1}}_r=vn;break;case 2:break;default:s(0)}_e=_r}}if(rt=rt[0],ut=ut[0],_e&&Wt(bt,1)&&!(_e=1<=(Tr=Wt(bt,4))&&11>=Tr)){le.a=3;break e}var Rn;if(Rn=_e)t:{var Ro,ka,eo,Oo=le,ti=rt,mi=ut,To=Tr,oi=U,pi=Oo.m,_o=Oo.s,io=[null],mo=1,Bo=0,po=ml[To];r:for(;;){if(oi&&Wt(pi,1)){var ri=Wt(pi,3)+2,rs=an(ti,ri),Fo=an(mi,ri),Ci=rs*Fo;if(!Wo(rs,Fo,0,Oo,io))break r;for(io=io[0],_o.xc=ri,Ro=0;Ro<Ci;++Ro){var bo=io[Ro]>>8&65535;io[Ro]=bo,bo>=mo&&(mo=bo+1)}}if(pi.h)break r;for(ka=0;5>ka;++ka){var Xo=F0[ka];!ka&&0<To&&(Xo+=1<<To),Bo<Xo&&(Bo=Xo)}var Li=T(mo*po,St),gi=mo,zi=T(gi,cr);if(zi==null)var Di=null;else s(65536>=gi),Di=zi;var Oi=v(Bo);if(Di==null||Oi==null||Li==null){Oo.a=1;break r}var Ri=Li;for(Ro=eo=0;Ro<mo;++Ro){var So=Di[Ro],Fi=So.G,ns=So.H,Fs=0,bs=1,ni=0;for(ka=0;5>ka;++ka){Xo=F0[ka],Fi[ka]=Ri,ns[ka]=eo,!ka&&0<To&&(Xo+=1<<To);a:{var s0,S0=Xo,l0=Oo,Gs=Oi,Ll=Ri,zl=eo,C0=0,Ns=l0.m,Dl=Wt(Ns,1);if($(Gs,0,0,S0),Dl){var Rl=Wt(Ns,1)+1,Fl=Wt(Ns,1),Y0=Wt(Ns,Fl==0?1:8);Gs[Y0]=1,Rl==2&&(Gs[Y0=Wt(Ns,8)]=1);var c0=1}else{var q0=v(19),J0=Wt(Ns,4)+4;if(19<J0){l0.a=3;var u0=0;break a}for(s0=0;s0<J0;++s0)q0[hl[s0]]=Wt(Ns,3);var O0=void 0,Ks=void 0,Q0=l0,kl=q0,d0=S0,el=Gs,E0=0,Ms=Q0.m,tl=8,rl=T(128,St);n:for(;Be(rl,0,7,kl,19);){if(Wt(Ms,1)){var Hl=2+2*Wt(Ms,3);if((O0=2+Wt(Ms,Hl))>d0)break n}else O0=d0;for(Ks=0;Ks<d0&&O0--;){dr(Ms);var nl=rl[0+(127&Bt(Ms))];Yt(Ms,Ms.u+nl.g);var Ws=nl.value;if(16>Ws)el[Ks++]=Ws,Ws!=0&&(tl=Ws);else{var Wl=Ws==16,al=Ws-16,Ul=ul[al],ol=Wt(Ms,cl[al])+Ul;if(Ks+ol>d0)break n;for(var Zl=Wl?tl:0;0<ol--;)el[Ks++]=Zl}}E0=1;break n}E0||(Q0.a=3),c0=E0}(c0=c0&&!Ns.h)&&(C0=Be(Ll,zl,8,Gs,S0)),c0&&C0!=0?u0=C0:(l0.a=3,u0=0)}if(u0==0)break r;if(bs&&dl[ka]==1&&(bs=Ri[eo].g==0),Fs+=Ri[eo].g,eo+=u0,3>=ka){var _s,I0=Oi[0];for(_s=1;_s<Xo;++_s)Oi[_s]>I0&&(I0=Oi[_s]);ni+=I0}}if(So.nd=bs,So.Qb=0,bs&&(So.qb=(Fi[3][ns[3]+0].value<<24|Fi[1][ns[1]+0].value<<16|Fi[2][ns[2]+0].value)>>>0,Fs==0&&256>Fi[0][ns[0]+0].value&&(So.Qb=1,So.qb+=Fi[0][ns[0]+0].value<<8)),So.jc=!So.Qb&&6>ni,So.jc){var h0,ys=So;for(h0=0;h0<un;++h0){var Ts=h0,Bs=ys.pd[Ts],f0=ys.G[0][ys.H[0]+Ts];256<=f0.value?(Bs.g=f0.g+256,Bs.value=f0.value):(Bs.g=0,Bs.value=0,Ts>>=Wa(f0,8,Bs),Ts>>=Wa(ys.G[1][ys.H[1]+Ts],16,Bs),Ts>>=Wa(ys.G[2][ys.H[2]+Ts],0,Bs),Wa(ys.G[3][ys.H[3]+Ts],24,Bs))}}}_o.vc=io,_o.Wb=mo,_o.Ya=Di,_o.yc=Li,Rn=1;break t}Rn=0}if(!(_e=Rn)){le.a=3;break e}if(0<Tr){if(Dt.ua=1<<Tr,!Lt(Dt.Wa,Tr)){le.a=1,_e=0;break e}}else Dt.ua=0;var A0=le,il=rt,Vl=ut,$0=A0.s,P0=$0.xc;if(A0.c=il,A0.i=Vl,$0.md=an(il,P0),$0.wc=P0==0?-1:(1<<P0)-1,U){le.xb=Sl;break e}if((hr=v(rt*ut))==null){le.a=1,_e=0;break e}_e=(_e=Ao(le,hr,0,rt,ut,ut,null))&&!bt.h;break e}return _e?(Me!=null?Me[0]=hr:(s(hr==null),s(U)),le.$=0,U||Po(Dt)):Po(Dt),_e}function ho(i,m){var U=i.c*i.i,le=U+m+16*m;return s(i.c<=m),i.V=v(le),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+U+m,1)}function jo(i,m){var U=i.C,le=m-U,Me=i.V,_e=i.Ba+i.c*U;for(s(m<=i.l.o);0<le;){var rt=16<le?16:le,ut=i.l.ma,bt=i.l.width,Dt=bt*rt,hr=ut.ca,Tr=ut.tb+bt*U,Rt=i.Ta,vr=i.Ua;_a(i,rt,Me,_e),Rs(Rt,vr,hr,Tr,Dt),no(ut,U,U+rt,hr,Tr,bt),le-=rt,Me+=rt*i.c,U+=rt}s(U==m),i.C=i.Ma=m}function vo(){this.ub=this.yd=this.td=this.Rb=0}function vi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function ko(){this.Fb=this.Bb=this.Cb=0,this.Zb=v(4),this.Lb=v(4)}function Qo(){this.Yb=function(){var i=[];return function m(U,le,Me){for(var _e=Me[le],rt=0;rt<_e&&(U.push(Me.length>le+1?[]:0),!(Me.length<le+1));rt++)m(U[rt],le+1,Me)}(i,0,[3,11]),i}()}function Ei(){this.jb=v(3),this.Wc=Z([4,8],Qo),this.Xc=Z([4,17],Qo)}function Lo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new v(4),this.od=new v(4)}function Uo(){this.ld=this.La=this.dd=this.tc=0}function ki(){this.Na=this.la=0}function bi(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function yi(){this.ad=v(384),this.Za=0,this.Ob=v(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function xi(){this.uc=this.M=this.Nb=0,this.wa=Array(new Uo),this.Y=0,this.ya=Array(new yi),this.aa=0,this.l=new $a}function Ii(){this.y=v(16),this.f=v(8),this.ea=v(8)}function Aa(){this.cb=this.a=0,this.sc="",this.m=new Pe,this.Od=new vo,this.Kc=new vi,this.ed=new Lo,this.Qa=new ko,this.Ic=this.$c=this.Aa=0,this.D=new xi,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=T(8,Pe),this.ia=0,this.pb=T(4,bi),this.Pa=new Ei,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ii),this.Hd=0,this.rb=Array(new ki),this.sb=0,this.wa=Array(new Uo),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 yi),this.L=this.aa=0,this.gd=Z([4,2],Uo),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 $a(){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 fo(){var i=new Aa;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,Zs||(Zs=yo)),i}function Ue(i,m,U){return i.a==0&&(i.a=m,i.sc=U,i.cb=0),0}function No(i,m,U){return 3<=U&&i[m+0]==157&&i[m+1]==1&&i[m+2]==42}function Mo(i,m){if(i==null)return 0;if(i.a=0,i.sc="OK",m==null)return Ue(i,2,"null VP8Io passed to VP8GetHeaders()");var U=m.data,le=m.w,Me=m.ha;if(4>Me)return Ue(i,7,"Truncated header.");var _e=U[le+0]|U[le+1]<<8|U[le+2]<<16,rt=i.Od;if(rt.Rb=!(1&_e),rt.td=_e>>1&7,rt.yd=_e>>4&1,rt.ub=_e>>5,3<rt.td)return Ue(i,3,"Incorrect keyframe parameters.");if(!rt.yd)return Ue(i,4,"Frame not displayable.");le+=3,Me-=3;var ut=i.Kc;if(rt.Rb){if(7>Me)return Ue(i,7,"cannot parse picture header");if(!No(U,le,Me))return Ue(i,3,"Bad code word");ut.c=16383&(U[le+4]<<8|U[le+3]),ut.Td=U[le+4]>>6,ut.i=16383&(U[le+6]<<8|U[le+5]),ut.Ud=U[le+6]>>6,le+=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,$((_e=i.Pa).jb,0,255,_e.jb.length),s((_e=i.Qa)!=null),_e.Cb=0,_e.Bb=0,_e.Fb=1,$(_e.Zb,0,0,_e.Zb.length),$(_e.Lb,0,0,_e.Lb)}if(rt.ub>Me)return Ue(i,7,"bad partition length");gr(_e=i.m,U,le,rt.ub),le+=rt.ub,Me-=rt.ub,rt.Rb&&(ut.Ld=Er(_e),ut.Kd=Er(_e)),ut=i.Qa;var bt,Dt=i.Pa;if(s(_e!=null),s(ut!=null),ut.Cb=Er(_e),ut.Cb){if(ut.Bb=Er(_e),Er(_e)){for(ut.Fb=Er(_e),bt=0;4>bt;++bt)ut.Zb[bt]=Er(_e)?Tt(_e,7):0;for(bt=0;4>bt;++bt)ut.Lb[bt]=Er(_e)?Tt(_e,6):0}if(ut.Bb)for(bt=0;3>bt;++bt)Dt.jb[bt]=Er(_e)?Xt(_e,8):255}else ut.Bb=0;if(_e.Ka)return Ue(i,3,"cannot parse segment header");if((ut=i.ed).zd=Er(_e),ut.Tb=Xt(_e,6),ut.wb=Xt(_e,3),ut.Pc=Er(_e),ut.Pc&&Er(_e)){for(Dt=0;4>Dt;++Dt)Er(_e)&&(ut.vd[Dt]=Tt(_e,6));for(Dt=0;4>Dt;++Dt)Er(_e)&&(ut.od[Dt]=Tt(_e,6))}if(i.L=ut.Tb==0?0:ut.zd?1:2,_e.Ka)return Ue(i,3,"cannot parse filter header");var hr=Me;if(Me=bt=le,le=bt+hr,ut=hr,i.Xb=(1<<Xt(i.m,2))-1,hr<3*(Dt=i.Xb))U=7;else{for(bt+=3*Dt,ut-=3*Dt,hr=0;hr<Dt;++hr){var Tr=U[Me+0]|U[Me+1]<<8|U[Me+2]<<16;Tr>ut&&(Tr=ut),gr(i.Jc[+hr],U,bt,Tr),bt+=Tr,ut-=Tr,Me+=3}gr(i.Jc[+Dt],U,bt,ut),U=bt<le?0:5}if(U!=0)return Ue(i,U,"cannot parse partitions");for(U=Xt(bt=i.m,7),Me=Er(bt)?Tt(bt,4):0,le=Er(bt)?Tt(bt,4):0,ut=Er(bt)?Tt(bt,4):0,Dt=Er(bt)?Tt(bt,4):0,bt=Er(bt)?Tt(bt,4):0,hr=i.Qa,Tr=0;4>Tr;++Tr){if(hr.Cb){var Rt=hr.Zb[Tr];hr.Fb||(Rt+=U)}else{if(0<Tr){i.pb[Tr]=i.pb[0];continue}Rt=U}var vr=i.pb[Tr];vr.Sc[0]=y0[V(Rt+Me,127)],vr.Sc[1]=x0[V(Rt+0,127)],vr.Eb[0]=2*y0[V(Rt+le,127)],vr.Eb[1]=101581*x0[V(Rt+ut,127)]>>16,8>vr.Eb[1]&&(vr.Eb[1]=8),vr.Qc[0]=y0[V(Rt+Dt,117)],vr.Qc[1]=x0[V(Rt+bt,127)],vr.lc=Rt+bt}if(!rt.Rb)return Ue(i,4,"Not a key frame.");for(Er(_e),rt=i.Pa,U=0;4>U;++U){for(Me=0;8>Me;++Me)for(le=0;3>le;++le)for(ut=0;11>ut;++ut)Dt=Lr(_e,xl[U][Me][le][ut])?Xt(_e,8):bl[U][Me][le][ut],rt.Wc[U][Me].Yb[le][ut]=Dt;for(Me=0;17>Me;++Me)rt.Xc[U][Me]=rt.Wc[U][wl[Me]]}return i.kc=Er(_e),i.kc&&(i.Bd=Xt(_e,8)),i.cb=1}function yo(i,m,U,le,Me,_e,rt){var ut=m[Me].Yb[U];for(U=0;16>Me;++Me){if(!Lr(i,ut[U+0]))return Me;for(;!Lr(i,ut[U+1]);)if(ut=m[++Me].Yb[0],U=0,Me==16)return 16;var bt=m[Me+1].Yb;if(Lr(i,ut[U+2])){var Dt=i,hr=0;if(Lr(Dt,(Rt=ut)[(Tr=U)+3]))if(Lr(Dt,Rt[Tr+6])){for(ut=0,Tr=2*(hr=Lr(Dt,Rt[Tr+8]))+(Rt=Lr(Dt,Rt[Tr+9+hr])),hr=0,Rt=gl[Tr];Rt[ut];++ut)hr+=hr+Lr(Dt,Rt[ut]);hr+=3+(8<<Tr)}else Lr(Dt,Rt[Tr+7])?(hr=7+2*Lr(Dt,165),hr+=Lr(Dt,145)):hr=5+Lr(Dt,159);else hr=Lr(Dt,Rt[Tr+4])?3+Lr(Dt,Rt[Tr+5]):2;ut=bt[2]}else hr=1,ut=bt[1];bt=rt+vl[Me],0>(Dt=i).b&&fr(Dt);var Tr,Rt=Dt.b,vr=(Tr=Dt.Ca>>1)-(Dt.I>>Rt)>>31;--Dt.b,Dt.Ca+=vr,Dt.Ca|=1,Dt.I-=(Tr+1&vr)<<Rt,_e[bt]=((hr^vr)-vr)*le[(0<Me)+0]}return 16}function ao(i){var m=i.rb[i.sb-1];m.la=0,m.Na=0,$(i.zc,0,0,i.zc.length),i.ja=0}function Zo(i,m,U,le,Me){Me=i[m+U+32*le]+(Me>>3),i[m+U+32*le]=-256&Me?0>Me?0:255:Me}function zo(i,m,U,le,Me,_e){Zo(i,m,0,U,le+Me),Zo(i,m,1,U,le+_e),Zo(i,m,2,U,le-_e),Zo(i,m,3,U,le-Me)}function xo(i){return(20091*i>>16)+i}function Vo(i,m,U,le){var Me,_e=0,rt=v(16);for(Me=0;4>Me;++Me){var ut=i[m+0]+i[m+8],bt=i[m+0]-i[m+8],Dt=(35468*i[m+4]>>16)-xo(i[m+12]),hr=xo(i[m+4])+(35468*i[m+12]>>16);rt[_e+0]=ut+hr,rt[_e+1]=bt+Dt,rt[_e+2]=bt-Dt,rt[_e+3]=ut-hr,_e+=4,m++}for(Me=_e=0;4>Me;++Me)ut=(i=rt[_e+0]+4)+rt[_e+8],bt=i-rt[_e+8],Dt=(35468*rt[_e+4]>>16)-xo(rt[_e+12]),Zo(U,le,0,0,ut+(hr=xo(rt[_e+4])+(35468*rt[_e+12]>>16))),Zo(U,le,1,0,bt+Dt),Zo(U,le,2,0,bt-Dt),Zo(U,le,3,0,ut-hr),_e++,le+=32}function Ai(i,m,U,le){var Me=i[m+0]+4,_e=35468*i[m+4]>>16,rt=xo(i[m+4]),ut=35468*i[m+1]>>16;zo(U,le,0,Me+rt,i=xo(i[m+1]),ut),zo(U,le,1,Me+_e,i,ut),zo(U,le,2,Me-_e,i,ut),zo(U,le,3,Me-rt,i,ut)}function Hi(i,m,U,le,Me){Vo(i,m,U,le),Me&&Vo(i,m+16,U,le+4)}function xs(i,m,U,le){es(i,m+0,U,le,1),es(i,m+32,U,le+128,1)}function ii(i,m,U,le){var Me;for(i=i[m+0]+4,Me=0;4>Me;++Me)for(m=0;4>m;++m)Zo(U,le,m,Me,i)}function as(i,m,U,le){i[m+0]&&Fa(i,m+0,U,le),i[m+16]&&Fa(i,m+16,U,le+4),i[m+32]&&Fa(i,m+32,U,le+128),i[m+48]&&Fa(i,m+48,U,le+128+4)}function cs(i,m,U,le){var Me,_e=v(16);for(Me=0;4>Me;++Me){var rt=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],Dt=i[m+0+Me]-i[m+12+Me];_e[0+Me]=rt+ut,_e[8+Me]=rt-ut,_e[4+Me]=Dt+bt,_e[12+Me]=Dt-bt}for(Me=0;4>Me;++Me)rt=(i=_e[0+4*Me]+3)+_e[3+4*Me],ut=_e[1+4*Me]+_e[2+4*Me],bt=_e[1+4*Me]-_e[2+4*Me],Dt=i-_e[3+4*Me],U[le+0]=rt+ut>>3,U[le+16]=Dt+bt>>3,U[le+32]=rt-ut>>3,U[le+48]=Dt-bt>>3,le+=64}function si(i,m,U){var le,Me=m-32,_e=Bi,rt=255-i[Me-1];for(le=0;le<U;++le){var ut,bt=_e,Dt=rt+i[m-1];for(ut=0;ut<U;++ut)i[m+ut]=bt[Dt+i[Me+ut]];m+=32}}function Wi(i,m){si(i,m,4)}function ws(i,m){si(i,m,8)}function us(i,m){si(i,m,16)}function Ss(i,m){var U;for(U=0;16>U;++U)b(i,m+32*U,i,m-32,16)}function os(i,m){var U;for(U=16;0<U;--U)$(i,m,i[m-1],16),m+=32}function li(i,m,U){var le;for(le=0;16>le;++le)$(m,U+32*le,i,16)}function ci(i,m){var U,le=16;for(U=0;16>U;++U)le+=i[m-1+32*U]+i[m+U-32];li(le>>5,i,m)}function ds(i,m){var U,le=8;for(U=0;16>U;++U)le+=i[m-1+32*U];li(le>>4,i,m)}function $i(i,m){var U,le=8;for(U=0;16>U;++U)le+=i[m+U-32];li(le>>4,i,m)}function ui(i,m){li(128,i,m)}function Ea(i,m,U){return i+2*m+U+2>>2}function Cs(i,m){var U,le=m-32;for(le=new Uint8Array([Ea(i[le-1],i[le+0],i[le+1]),Ea(i[le+0],i[le+1],i[le+2]),Ea(i[le+1],i[le+2],i[le+3]),Ea(i[le+2],i[le+3],i[le+4])]),U=0;4>U;++U)b(i,m+32*U,le,0,le.length)}function Os(i,m){var U=i[m-1],le=i[m-1+32],Me=i[m-1+64],_e=i[m-1+96];Rr(i,m+0,16843009*Ea(i[m-1-32],U,le)),Rr(i,m+32,16843009*Ea(U,le,Me)),Rr(i,m+64,16843009*Ea(le,Me,_e)),Rr(i,m+96,16843009*Ea(Me,_e,_e))}function Es(i,m){var U,le=4;for(U=0;4>U;++U)le+=i[m+U-32]+i[m-1+32*U];for(le>>=3,U=0;4>U;++U)$(i,m+32*U,le,4)}function qi(i,m){var U=i[m-1+0],le=i[m-1+32],Me=i[m-1+64],_e=i[m-1-32],rt=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],Dt=i[m+3-32];i[m+0+96]=Ea(le,Me,i[m-1+96]),i[m+1+96]=i[m+0+64]=Ea(U,le,Me),i[m+2+96]=i[m+1+64]=i[m+0+32]=Ea(_e,U,le),i[m+3+96]=i[m+2+64]=i[m+1+32]=i[m+0+0]=Ea(rt,_e,U),i[m+3+64]=i[m+2+32]=i[m+1+0]=Ea(ut,rt,_e),i[m+3+32]=i[m+2+0]=Ea(bt,ut,rt),i[m+3+0]=Ea(Dt,bt,ut)}function ai(i,m){var U=i[m+1-32],le=i[m+2-32],Me=i[m+3-32],_e=i[m+4-32],rt=i[m+5-32],ut=i[m+6-32],bt=i[m+7-32];i[m+0+0]=Ea(i[m+0-32],U,le),i[m+1+0]=i[m+0+32]=Ea(U,le,Me),i[m+2+0]=i[m+1+32]=i[m+0+64]=Ea(le,Me,_e),i[m+3+0]=i[m+2+32]=i[m+1+64]=i[m+0+96]=Ea(Me,_e,rt),i[m+3+32]=i[m+2+64]=i[m+1+96]=Ea(_e,rt,ut),i[m+3+64]=i[m+2+96]=Ea(rt,ut,bt),i[m+3+96]=Ea(ut,bt,bt)}function di(i,m){var U=i[m-1+0],le=i[m-1+32],Me=i[m-1+64],_e=i[m-1-32],rt=i[m+0-32],ut=i[m+1-32],bt=i[m+2-32],Dt=i[m+3-32];i[m+0+0]=i[m+1+64]=_e+rt+1>>1,i[m+1+0]=i[m+2+64]=rt+ut+1>>1,i[m+2+0]=i[m+3+64]=ut+bt+1>>1,i[m+3+0]=bt+Dt+1>>1,i[m+0+96]=Ea(Me,le,U),i[m+0+64]=Ea(le,U,_e),i[m+0+32]=i[m+1+96]=Ea(U,_e,rt),i[m+1+32]=i[m+2+96]=Ea(_e,rt,ut),i[m+2+32]=i[m+3+96]=Ea(rt,ut,bt),i[m+3+32]=Ea(ut,bt,Dt)}function Ls(i,m){var U=i[m+0-32],le=i[m+1-32],Me=i[m+2-32],_e=i[m+3-32],rt=i[m+4-32],ut=i[m+5-32],bt=i[m+6-32],Dt=i[m+7-32];i[m+0+0]=U+le+1>>1,i[m+1+0]=i[m+0+64]=le+Me+1>>1,i[m+2+0]=i[m+1+64]=Me+_e+1>>1,i[m+3+0]=i[m+2+64]=_e+rt+1>>1,i[m+0+32]=Ea(U,le,Me),i[m+1+32]=i[m+0+96]=Ea(le,Me,_e),i[m+2+32]=i[m+1+96]=Ea(Me,_e,rt),i[m+3+32]=i[m+2+96]=Ea(_e,rt,ut),i[m+3+64]=Ea(rt,ut,bt),i[m+3+96]=Ea(ut,bt,Dt)}function Is(i,m){var U=i[m-1+0],le=i[m-1+32],Me=i[m-1+64],_e=i[m-1+96];i[m+0+0]=U+le+1>>1,i[m+2+0]=i[m+0+32]=le+Me+1>>1,i[m+2+32]=i[m+0+64]=Me+_e+1>>1,i[m+1+0]=Ea(U,le,Me),i[m+3+0]=i[m+1+32]=Ea(le,Me,_e),i[m+3+32]=i[m+1+64]=Ea(Me,_e,_e),i[m+3+64]=i[m+2+64]=i[m+0+96]=i[m+1+96]=i[m+2+96]=i[m+3+96]=_e}function is(i,m){var U=i[m-1+0],le=i[m-1+32],Me=i[m-1+64],_e=i[m-1+96],rt=i[m-1-32],ut=i[m+0-32],bt=i[m+1-32],Dt=i[m+2-32];i[m+0+0]=i[m+2+32]=U+rt+1>>1,i[m+0+32]=i[m+2+64]=le+U+1>>1,i[m+0+64]=i[m+2+96]=Me+le+1>>1,i[m+0+96]=_e+Me+1>>1,i[m+3+0]=Ea(ut,bt,Dt),i[m+2+0]=Ea(rt,ut,bt),i[m+1+0]=i[m+3+32]=Ea(U,rt,ut),i[m+1+32]=i[m+3+64]=Ea(le,U,rt),i[m+1+64]=i[m+3+96]=Ea(Me,le,U),i[m+1+96]=Ea(_e,Me,le)}function Ui(i,m){var U;for(U=0;8>U;++U)b(i,m+32*U,i,m-32,8)}function Pi(i,m){var U;for(U=0;8>U;++U)$(i,m,i[m-1],8),m+=32}function Zi(i,m,U){var le;for(le=0;8>le;++le)$(m,U+32*le,i,8)}function Vi(i,m){var U,le=8;for(U=0;8>U;++U)le+=i[m+U-32]+i[m-1+32*U];Zi(le>>4,i,m)}function As(i,m){var U,le=4;for(U=0;8>U;++U)le+=i[m+U-32];Zi(le>>3,i,m)}function Ji(i,m){var U,le=4;for(U=0;8>U;++U)le+=i[m-1+32*U];Zi(le>>3,i,m)}function hs(i,m){Zi(128,i,m)}function ft(i,m,U){var le=i[m-U],Me=i[m+0],_e=3*(Me-le)+m0[1020+i[m-2*U]-i[m+U]],rt=Js[112+(_e+4>>3)];i[m-U]=Bi[255+le+Js[112+(_e+3>>3)]],i[m+0]=Bi[255+Me-rt]}function ji(i,m,U,le){var Me=i[m+0],_e=i[m+U];return Xi[255+i[m-2*U]-i[m-U]]>le||Xi[255+_e-Me]>le}function Yo(i,m,U,le){return 4*Xi[255+i[m-U]-i[m+0]]+Xi[255+i[m-2*U]-i[m+U]]<=le}function Ni(i,m,U,le,Me){var _e=i[m-3*U],rt=i[m-2*U],ut=i[m-U],bt=i[m+0],Dt=i[m+U],hr=i[m+2*U],Tr=i[m+3*U];return 4*Xi[255+ut-bt]+Xi[255+rt-Dt]>le?0:Xi[255+i[m-4*U]-_e]<=Me&&Xi[255+_e-rt]<=Me&&Xi[255+rt-ut]<=Me&&Xi[255+Tr-hr]<=Me&&Xi[255+hr-Dt]<=Me&&Xi[255+Dt-bt]<=Me}function ss(i,m,U,le){var Me=2*le+1;for(le=0;16>le;++le)Yo(i,m+le,U,Me)&&ft(i,m+le,U)}function Mi(i,m,U,le){var Me=2*le+1;for(le=0;16>le;++le)Yo(i,m+le*U,1,Me)&&ft(i,m+le*U,1)}function fs(i,m,U,le){var Me;for(Me=3;0<Me;--Me)ss(i,m+=4*U,U,le)}function ms(i,m,U,le){var Me;for(Me=3;0<Me;--Me)Mi(i,m+=4,U,le)}function hi(i,m,U,le,Me,_e,rt,ut){for(_e=2*_e+1;0<Me--;){if(Ni(i,m,U,_e,rt))if(ji(i,m,U,ut))ft(i,m,U);else{var bt=i,Dt=m,hr=U,Tr=bt[Dt-2*hr],Rt=bt[Dt-hr],vr=bt[Dt+0],Or=bt[Dt+hr],_r=bt[Dt+2*hr],Nr=27*(en=m0[1020+3*(vr-Rt)+m0[1020+Tr-Or]])+63>>7,Xr=18*en+63>>7,en=9*en+63>>7;bt[Dt-3*hr]=Bi[255+bt[Dt-3*hr]+en],bt[Dt-2*hr]=Bi[255+Tr+Xr],bt[Dt-hr]=Bi[255+Rt+Nr],bt[Dt+0]=Bi[255+vr-Nr],bt[Dt+hr]=Bi[255+Or-Xr],bt[Dt+2*hr]=Bi[255+_r-en]}m+=le}}function wi(i,m,U,le,Me,_e,rt,ut){for(_e=2*_e+1;0<Me--;){if(Ni(i,m,U,_e,rt))if(ji(i,m,U,ut))ft(i,m,U);else{var bt=i,Dt=m,hr=U,Tr=bt[Dt-hr],Rt=bt[Dt+0],vr=bt[Dt+hr],Or=Js[112+(4+(_r=3*(Rt-Tr))>>3)],_r=Js[112+(_r+3>>3)],Nr=Or+1>>1;bt[Dt-2*hr]=Bi[255+bt[Dt-2*hr]+Nr],bt[Dt-hr]=Bi[255+Tr+_r],bt[Dt+0]=Bi[255+Rt-Or],bt[Dt+hr]=Bi[255+vr-Nr]}m+=le}}function ps(i,m,U,le,Me,_e){hi(i,m,U,1,16,le,Me,_e)}function Gi(i,m,U,le,Me,_e){hi(i,m,1,U,16,le,Me,_e)}function Qi(i,m,U,le,Me,_e){var rt;for(rt=3;0<rt;--rt)wi(i,m+=4*U,U,1,16,le,Me,_e)}function ls(i,m,U,le,Me,_e){var rt;for(rt=3;0<rt;--rt)wi(i,m+=4,1,U,16,le,Me,_e)}function P(i,m,U,le,Me,_e,rt,ut){hi(i,m,Me,1,8,_e,rt,ut),hi(U,le,Me,1,8,_e,rt,ut)}function je(i,m,U,le,Me,_e,rt,ut){hi(i,m,1,Me,8,_e,rt,ut),hi(U,le,1,Me,8,_e,rt,ut)}function zt(i,m,U,le,Me,_e,rt,ut){wi(i,m+4*Me,Me,1,8,_e,rt,ut),wi(U,le+4*Me,Me,1,8,_e,rt,ut)}function tr(i,m,U,le,Me,_e,rt,ut){wi(i,m+4,1,Me,8,_e,rt,ut),wi(U,le+4,1,Me,8,_e,rt,ut)}function Sr(){this.ba=new Cn,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 Kr(){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 ln(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Qn(){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 cr,this.yc=new St}function ne(){this.xb=this.a=0,this.l=new $a,this.ca=new Cn,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 Qn,this.ab=0,this.gc=T(4,ln),this.Oc=0}function r(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $a,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function a(i,m,U,le,Me,_e,rt){for(i=i==null?0:i[m+0],m=0;m<rt;++m)Me[_e+m]=i+U[le+m]&255,i=Me[_e+m]}function l(i,m,U,le,Me,_e,rt){var ut;if(i==null)a(null,null,U,le,Me,_e,rt);else for(ut=0;ut<rt;++ut)Me[_e+ut]=i[m+ut]+U[le+ut]&255}function g(i,m,U,le,Me,_e,rt){if(i==null)a(null,null,U,le,Me,_e,rt);else{var ut,bt=i[m+0],Dt=bt,hr=bt;for(ut=0;ut<rt;++ut)Dt=hr+(bt=i[m+ut])-Dt,hr=U[le+ut]+(-256&Dt?0>Dt?0:255:Dt)&255,Dt=bt,Me[_e+ut]=hr}}function H(i,m,U,le){var Me=m.width,_e=m.o;if(s(i!=null&&m!=null),0>U||0>=le||U+le>_e)return null;if(!i.Cc){if(i.ga==null){var rt;if(i.ga=new r,(rt=i.ga==null)||(rt=m.width*m.o,s(i.Gb.length==0),i.Gb=v(rt),i.Uc=0,i.Gb==null?rt=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,rt=1),rt=!rt),!rt){rt=i.ga;var ut=i.Fa,bt=i.P,Dt=i.qc,hr=i.mb,Tr=i.nb,Rt=bt+1,vr=Dt-1,Or=rt.l;if(s(ut!=null&&hr!=null&&m!=null),js[0]=null,js[1]=a,js[2]=l,js[3]=g,rt.ca=hr,rt.tb=Tr,rt.c=m.width,rt.i=m.height,s(0<rt.c&&0<rt.i),1>=Dt)m=0;else if(rt.$a=3&ut[bt+0],rt.Z=ut[bt+0]>>2&3,rt.Lc=ut[bt+0]>>4&3,bt=ut[bt+0]>>6&3,0>rt.$a||1<rt.$a||4<=rt.Z||1<rt.Lc||bt)m=0;else if(Or.put=ma,Or.ac=uo,Or.bc=Eo,Or.ma=rt,Or.width=m.width,Or.height=m.height,Or.Da=m.Da,Or.v=m.v,Or.va=m.va,Or.j=m.j,Or.o=m.o,rt.$a)e:{s(rt.$a==1),m=Ma();t:for(;;){if(m==null){m=0;break e}if(s(rt!=null),rt.mc=m,m.c=rt.c,m.i=rt.i,m.l=rt.l,m.l.ma=rt,m.l.width=rt.c,m.l.height=rt.i,m.a=0,ir(m.m,ut,Rt,vr),!Wo(rt.c,rt.i,1,m,null)||(m.ab==1&&m.gc[0].hc==3&&Xa(m.s)?(rt.ic=1,ut=m.c*m.i,m.Ta=null,m.Ua=0,m.V=v(ut),m.Ba=0,m.V==null?(m.a=1,m=0):m=1):(rt.ic=0,m=ho(m,rt.c)),!m))break t;m=1;break e}rt.mc=null,m=0}else m=vr>=rt.c*rt.i;rt=!m}if(rt)return null;i.ga.Lc!=1?i.Ga=0:le=_e-U}s(i.ga!=null),s(U+le<=_e);e:{if(m=(ut=i.ga).c,_e=ut.l.o,ut.$a==0){if(Rt=i.rc,vr=i.Vc,Or=i.Fa,bt=i.P+1+U*m,Dt=i.mb,hr=i.nb+U*m,s(bt<=i.P+i.qc),ut.Z!=0)for(s(js[ut.Z]!=null),rt=0;rt<le;++rt)js[ut.Z](Rt,vr,Or,bt,Dt,hr,m),Rt=Dt,vr=hr,hr+=m,bt+=m;else for(rt=0;rt<le;++rt)b(Dt,hr,Or,bt,m),Rt=Dt,vr=hr,hr+=m,bt+=m;i.rc=Rt,i.Vc=vr}else{if(s(ut.mc!=null),m=U+le,s((rt=ut.mc)!=null),s(m<=rt.i),rt.C>=m)m=1;else if(ut.ic||rr(),ut.ic){ut=rt.V,Rt=rt.Ba,vr=rt.c;var _r=rt.i,Nr=(Or=1,bt=rt.$/vr,Dt=rt.$%vr,hr=rt.m,Tr=rt.s,rt.$),Xr=vr*_r,en=vr*m,vn=Tr.wc,fn=Nr<en?va(Tr,Dt,bt):null;s(Nr<=Xr),s(m<=_r),s(Xa(Tr));t:for(;;){for(;!hr.h&&Nr<en;){if(Dt&vn||(fn=va(Tr,Dt,bt)),s(fn!=null),dr(hr),256>(_r=Ba(fn.G[0],fn.H[0],hr)))ut[Rt+Nr]=_r,++Nr,++Dt>=vr&&(Dt=0,++bt<=m&&!(bt%16)&&lo(rt,bt));else{if(!(280>_r)){Or=0;break t}_r=Ta(_r-256,hr);var wa,ia=Ba(fn.G[4],fn.H[4],hr);if(dr(hr),!(Nr>=(ia=Na(vr,ia=Ta(ia,hr)))&&Xr-Nr>=_r)){Or=0;break t}for(wa=0;wa<_r;++wa)ut[Rt+Nr+wa]=ut[Rt+Nr+wa-ia];for(Nr+=_r,Dt+=_r;Dt>=vr;)Dt-=vr,++bt<=m&&!(bt%16)&&lo(rt,bt);Nr<en&&Dt&vn&&(fn=va(Tr,Dt,bt))}s(hr.h==ht(hr))}lo(rt,bt>m?m:bt);break t}!Or||hr.h&&Nr<Xr?(Or=0,rt.a=hr.h?5:3):rt.$=Nr,m=Or}else m=Ao(rt,rt.V,rt.Ba,rt.c,rt.i,m,jo);if(!m){le=0;break e}}U+le>=_e&&(i.Cc=1),le=1}if(!le)return null;if(i.Cc&&((le=i.ga)!=null&&(le.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+U*Me}function se(i,m,U,le,Me,_e){for(;0<Me--;){var rt,ut=i,bt=m+(U?1:0),Dt=i,hr=m+(U?0:3);for(rt=0;rt<le;++rt){var Tr=Dt[hr+4*rt];Tr!=255&&(Tr*=32897,ut[bt+4*rt+0]=ut[bt+4*rt+0]*Tr>>23,ut[bt+4*rt+1]=ut[bt+4*rt+1]*Tr>>23,ut[bt+4*rt+2]=ut[bt+4*rt+2]*Tr>>23)}m+=_e}}function De(i,m,U,le,Me){for(;0<le--;){var _e;for(_e=0;_e<U;++_e){var rt=i[m+2*_e+0],ut=15&(Dt=i[m+2*_e+1]),bt=4369*ut,Dt=(240&Dt|Dt>>4)*bt>>16;i[m+2*_e+0]=(240&rt|rt>>4)*bt>>16&240|(15&rt|rt<<4)*bt>>16>>4&15,i[m+2*_e+1]=240&Dt|ut}m+=Me}}function tt(i,m,U,le,Me,_e,rt,ut){var bt,Dt,hr=255;for(Dt=0;Dt<Me;++Dt){for(bt=0;bt<le;++bt){var Tr=i[m+bt];_e[rt+4*bt]=Tr,hr&=Tr}m+=U,rt+=ut}return hr!=255}function It(i,m,U,le,Me){var _e;for(_e=0;_e<Me;++_e)U[le+_e]=i[m+_e]>>8}function rr(){$s=se,Hs=De,Ds=tt,Rs=It}function pr(i,m,U){Ot[i]=function(le,Me,_e,rt,ut,bt,Dt,hr,Tr,Rt,vr,Or,_r,Nr,Xr,en,vn){var fn,wa=vn-1>>1,ia=ut[bt+0]|Dt[hr+0]<<16,Za=Tr[Rt+0]|vr[Or+0]<<16;s(le!=null);var pa=3*ia+Za+131074>>2;for(m(le[Me+0],255&pa,pa>>16,_r,Nr),_e!=null&&(pa=3*Za+ia+131074>>2,m(_e[rt+0],255&pa,pa>>16,Xr,en)),fn=1;fn<=wa;++fn){var Qa=ut[bt+fn]|Dt[hr+fn]<<16,Ko=Tr[Rt+fn]|vr[Or+fn]<<16,Va=ia+Qa+Za+Ko+524296,ga=Va+2*(Qa+Za)>>3;pa=ga+ia>>1,ia=(Va=Va+2*(ia+Ko)>>3)+Qa>>1,m(le[Me+2*fn-1],255&pa,pa>>16,_r,Nr+(2*fn-1)*U),m(le[Me+2*fn-0],255&ia,ia>>16,_r,Nr+(2*fn-0)*U),_e!=null&&(pa=Va+Za>>1,ia=ga+Ko>>1,m(_e[rt+2*fn-1],255&pa,pa>>16,Xr,en+(2*fn-1)*U),m(_e[rt+2*fn+0],255&ia,ia>>16,Xr,en+(2*fn+0)*U)),ia=Qa,Za=Ko}1&vn||(pa=3*ia+Za+131074>>2,m(le[Me+vn-1],255&pa,pa>>16,_r,Nr+(vn-1)*U),_e!=null&&(pa=3*Za+ia+131074>>2,m(_e[rt+vn-1],255&pa,pa>>16,Xr,en+(vn-1)*U)))}}function kr(){Yi[Qs]=Cl,Yi[e0]=W0,Yi[D0]=Ol,Yi[t0]=U0,Yi[r0]=Z0,Yi[p0]=V0,Yi[R0]=El,Yi[g0]=W0,Yi[v0]=U0,Yi[n0]=Z0,Yi[b0]=V0}function rn(i){return i&~Il?0>i?0:255:i>>G0}function hn(i,m){return rn((19077*i>>8)+(26149*m>>8)-14234)}function In(i,m,U){return rn((19077*i>>8)-(6419*m>>8)-(13320*U>>8)+8708)}function Un(i,m){return rn((19077*i>>8)+(33050*m>>8)-17685)}function Ca(i,m,U,le,Me){le[Me+0]=hn(i,U),le[Me+1]=In(i,m,U),le[Me+2]=Un(i,m)}function Ia(i,m,U,le,Me){le[Me+0]=Un(i,m),le[Me+1]=In(i,m,U),le[Me+2]=hn(i,U)}function c(i,m,U,le,Me){var _e=In(i,m,U);m=_e<<3&224|Un(i,m)>>3,le[Me+0]=248&hn(i,U)|_e>>5,le[Me+1]=m}function e(i,m,U,le,Me){var _e=240&Un(i,m)|15;le[Me+0]=240&hn(i,U)|In(i,m,U)>>4,le[Me+1]=_e}function t(i,m,U,le,Me){le[Me+0]=255,Ca(i,m,U,le,Me+1)}function d(i,m,U,le,Me){Ia(i,m,U,le,Me),le[Me+3]=255}function O(i,m,U,le,Me){Ca(i,m,U,le,Me),le[Me+3]=255}function V(i,m){return 0>i?0:i>m?m:i}function Ce(i,m,U){Ot[i]=function(le,Me,_e,rt,ut,bt,Dt,hr,Tr){for(var Rt=hr+(-2&Tr)*U;hr!=Rt;)m(le[Me+0],_e[rt+0],ut[bt+0],Dt,hr),m(le[Me+1],_e[rt+0],ut[bt+0],Dt,hr+U),Me+=2,++rt,++bt,hr+=2*U;1&Tr&&m(le[Me+0],_e[rt+0],ut[bt+0],Dt,hr)}}function Ke(i,m,U){return U==0?i==0?m==0?6:5:m==0?4:0:U}function Xe(i,m,U,le,Me){switch(i>>>30){case 3:es(m,U,le,Me,0);break;case 2:Do(m,U,le,Me);break;case 1:Fa(m,U,le,Me)}}function Kt(i,m){var U,le,Me=m.M,_e=m.Nb,rt=i.oc,ut=i.pc+40,bt=i.oc,Dt=i.pc+584,hr=i.oc,Tr=i.pc+600;for(U=0;16>U;++U)rt[ut+32*U-1]=129;for(U=0;8>U;++U)bt[Dt+32*U-1]=129,hr[Tr+32*U-1]=129;for(0<Me?rt[ut-1-32]=bt[Dt-1-32]=hr[Tr-1-32]=129:($(rt,ut-32-1,127,21),$(bt,Dt-32-1,127,9),$(hr,Tr-32-1,127,9)),le=0;le<i.za;++le){var Rt=m.ya[m.aa+le];if(0<le){for(U=-1;16>U;++U)b(rt,ut+32*U-4,rt,ut+32*U+12,4);for(U=-1;8>U;++U)b(bt,Dt+32*U-4,bt,Dt+32*U+4,4),b(hr,Tr+32*U-4,hr,Tr+32*U+4,4)}var vr=i.Gd,Or=i.Hd+le,_r=Rt.ad,Nr=Rt.Hc;if(0<Me&&(b(rt,ut-32,vr[Or].y,0,16),b(bt,Dt-32,vr[Or].f,0,8),b(hr,Tr-32,vr[Or].ea,0,8)),Rt.Za){var Xr=rt,en=ut-32+16;for(0<Me&&(le>=i.za-1?$(Xr,en,vr[Or].y[15],4):b(Xr,en,vr[Or+1].y,0,4)),U=0;4>U;U++)Xr[en+128+U]=Xr[en+256+U]=Xr[en+384+U]=Xr[en+0+U];for(U=0;16>U;++U,Nr<<=2)Xr=rt,en=ut+_0[U],ts[Rt.Ob[U]](Xr,en),Xe(Nr,_r,16*+U,Xr,en)}else if(Xr=Ke(le,Me,Rt.Ob[0]),Ps[Xr](rt,ut),Nr!=0)for(U=0;16>U;++U,Nr<<=2)Xe(Nr,_r,16*+U,rt,ut+_0[U]);for(U=Rt.Gc,Xr=Ke(le,Me,Rt.Dd),vs[Xr](bt,Dt),vs[Xr](hr,Tr),Nr=_r,Xr=bt,en=Dt,255&(Rt=0|U)&&(170&Rt?Go(Nr,256,Xr,en):oo(Nr,256,Xr,en)),Rt=hr,Nr=Tr,255&(U>>=8)&&(170&U?Go(_r,320,Rt,Nr):oo(_r,320,Rt,Nr)),Me<i.Ub-1&&(b(vr[Or].y,0,rt,ut+480,16),b(vr[Or].f,0,bt,Dt+224,8),b(vr[Or].ea,0,hr,Tr+224,8)),U=8*_e*i.B,vr=i.sa,Or=i.ta+16*le+16*_e*i.R,_r=i.qa,Rt=i.ra+8*le+U,Nr=i.Ha,Xr=i.Ia+8*le+U,U=0;16>U;++U)b(vr,Or+U*i.R,rt,ut+32*U,16);for(U=0;8>U;++U)b(_r,Rt+U*i.B,bt,Dt+32*U,8),b(Nr,Xr+U*i.B,hr,Tr+32*U,8)}}function ur(i,m,U,le,Me,_e,rt,ut,bt){var Dt=[0],hr=[0],Tr=0,Rt=bt!=null?bt.kd:0,vr=bt!=null?bt:new Kr;if(i==null||12>U)return 7;vr.data=i,vr.w=m,vr.ha=U,m=[m],U=[U],vr.gb=[vr.gb];e:{var Or=m,_r=U,Nr=vr.gb;if(s(i!=null),s(_r!=null),s(Nr!=null),Nr[0]=0,12<=_r[0]&&!p(i,Or[0],"RIFF")){if(p(i,Or[0]+8,"WEBP")){Nr=3;break e}var Xr=Mr(i,Or[0]+4);if(12>Xr||4294967286<Xr){Nr=3;break e}if(Rt&&Xr>_r[0]-8){Nr=7;break e}Nr[0]=Xr,Or[0]+=12,_r[0]-=12}Nr=0}if(Nr!=0)return Nr;for(Xr=0<vr.gb[0],U=U[0];;){e:{var en=i;_r=m,Nr=U;var vn=Dt,fn=hr,wa=Or=[0];if((pa=Tr=[Tr])[0]=0,8>Nr[0])Nr=7;else{if(!p(en,_r[0],"VP8X")){if(Mr(en,_r[0]+4)!=10){Nr=3;break e}if(18>Nr[0]){Nr=7;break e}var ia=Mr(en,_r[0]+8),Za=1+Sn(en,_r[0]+12);if(2147483648<=Za*(en=1+Sn(en,_r[0]+15))){Nr=3;break e}wa!=null&&(wa[0]=ia),vn!=null&&(vn[0]=Za),fn!=null&&(fn[0]=en),_r[0]+=18,Nr[0]-=18,pa[0]=1}Nr=0}}if(Tr=Tr[0],Or=Or[0],Nr!=0)return Nr;if(_r=!!(2&Or),!Xr&&Tr)return 3;if(_e!=null&&(_e[0]=!!(16&Or)),rt!=null&&(rt[0]=_r),ut!=null&&(ut[0]=0),rt=Dt[0],Or=hr[0],Tr&&_r&&bt==null){Nr=0;break}if(4>U){Nr=7;break}if(Xr&&Tr||!Xr&&!Tr&&!p(i,m[0],"ALPH")){U=[U],vr.na=[vr.na],vr.P=[vr.P],vr.Sa=[vr.Sa];e:{ia=i,Nr=m,Xr=U;var pa=vr.gb;vn=vr.na,fn=vr.P,wa=vr.Sa,Za=22,s(ia!=null),s(Xr!=null),en=Nr[0];var Qa=Xr[0];for(s(vn!=null),s(wa!=null),vn[0]=null,fn[0]=null,wa[0]=0;;){if(Nr[0]=en,Xr[0]=Qa,8>Qa){Nr=7;break e}var Ko=Mr(ia,en+4);if(4294967286<Ko){Nr=3;break e}var Va=8+Ko+1&-2;if(Za+=Va,0<pa&&Za>pa){Nr=3;break e}if(!p(ia,en,"VP8 ")||!p(ia,en,"VP8L")){Nr=0;break e}if(Qa[0]<Va){Nr=7;break e}p(ia,en,"ALPH")||(vn[0]=ia,fn[0]=en+8,wa[0]=Ko),en+=Va,Qa-=Va}}if(U=U[0],vr.na=vr.na[0],vr.P=vr.P[0],vr.Sa=vr.Sa[0],Nr!=0)break}U=[U],vr.Ja=[vr.Ja],vr.xa=[vr.xa];e:if(pa=i,Nr=m,Xr=U,vn=vr.gb[0],fn=vr.Ja,wa=vr.xa,ia=Nr[0],en=!p(pa,ia,"VP8 "),Za=!p(pa,ia,"VP8L"),s(pa!=null),s(Xr!=null),s(fn!=null),s(wa!=null),8>Xr[0])Nr=7;else{if(en||Za){if(pa=Mr(pa,ia+4),12<=vn&&pa>vn-12){Nr=3;break e}if(Rt&&pa>Xr[0]-8){Nr=7;break e}fn[0]=pa,Nr[0]+=8,Xr[0]-=8,wa[0]=Za}else wa[0]=5<=Xr[0]&&pa[ia+0]==47&&!(pa[ia+4]>>5),fn[0]=Xr[0];Nr=0}if(U=U[0],vr.Ja=vr.Ja[0],vr.xa=vr.xa[0],m=m[0],Nr!=0)break;if(4294967286<vr.Ja)return 3;if(ut==null||_r||(ut[0]=vr.xa?2:1),rt=[rt],Or=[Or],vr.xa){if(5>U){Nr=7;break}ut=rt,Rt=Or,_r=_e,i==null||5>U?i=0:5<=U&&i[m+0]==47&&!(i[m+4]>>5)?(Xr=[0],pa=[0],vn=[0],ir(fn=new vt,i,m,U),ja(fn,Xr,pa,vn)?(ut!=null&&(ut[0]=Xr[0]),Rt!=null&&(Rt[0]=pa[0]),_r!=null&&(_r[0]=vn[0]),i=1):i=0):i=0}else{if(10>U){Nr=7;break}ut=Or,i==null||10>U||!No(i,m+3,U-3)?i=0:(Rt=i[m+0]|i[m+1]<<8|i[m+2]<<16,_r=16383&(i[m+7]<<8|i[m+6]),i=16383&(i[m+9]<<8|i[m+8]),1&Rt||3<(Rt>>1&7)||!(Rt>>4&1)||Rt>>5>=vr.Ja||!_r||!i?i=0:(rt&&(rt[0]=_r),ut&&(ut[0]=i),i=1))}if(!i||(rt=rt[0],Or=Or[0],Tr&&(Dt[0]!=rt||hr[0]!=Or)))return 3;bt!=null&&(bt[0]=vr,bt.offset=m-bt.w,s(4294967286>m-bt.w),s(bt.offset==bt.ha-U));break}return Nr==0||Nr==7&&Tr&&bt==null?(_e!=null&&(_e[0]|=vr.na!=null&&0<vr.na.length),le!=null&&(le[0]=rt),Me!=null&&(Me[0]=Or),0):Nr}function xr(i,m,U){var le=m.width,Me=m.height,_e=0,rt=0,ut=le,bt=Me;if(m.Da=i!=null&&0<i.Da,m.Da&&(ut=i.cd,bt=i.bd,_e=i.v,rt=i.j,11>U||(_e&=-2,rt&=-2),0>_e||0>rt||0>=ut||0>=bt||_e+ut>le||rt+bt>Me))return 0;if(m.v=_e,m.j=rt,m.va=_e+ut,m.o=rt+bt,m.U=ut,m.T=bt,m.da=i!=null&&0<i.da,m.da){if(!Hn(ut,bt,U=[i.ib],_e=[i.hb]))return 0;m.ib=U[0],m.hb=_e[0]}return m.ob=i!=null&&i.ob,m.Kb=i==null||!i.Sd,m.da&&(m.ob=m.ib<3*le/4&&m.hb<3*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 Hr(i,m,U,le){if(le==null||0>=i||0>=m)return 2;if(U!=null){if(U.Da){var Me=U.cd,_e=U.bd,rt=-2&U.v,ut=-2&U.j;if(0>rt||0>ut||0>=Me||0>=_e||rt+Me>i||ut+_e>m)return 2;i=Me,m=_e}if(U.da){if(!Hn(i,m,Me=[U.ib],_e=[U.hb]))return 2;i=Me[0],m=_e[0]}}le.width=i,le.height=m;e:{var bt=le.width,Dt=le.height;if(i=le.S,0>=bt||0>=Dt||!(i>=Qs&&13>i))i=2;else{if(0>=le.Rd&&le.sd==null){rt=_e=Me=m=0;var hr=(ut=bt*X0[i])*Dt;if(11>i||(_e=(Dt+1)/2*(m=(bt+1)/2),i==12&&(rt=(Me=bt)*Dt)),(Dt=v(hr+2*_e+rt))==null){i=1;break e}le.sd=Dt,11>i?((bt=le.f.RGBA).eb=Dt,bt.fb=0,bt.A=ut,bt.size=hr):((bt=le.f.kb).y=Dt,bt.O=0,bt.fa=ut,bt.Fd=hr,bt.f=Dt,bt.N=0+hr,bt.Ab=m,bt.Cd=_e,bt.ea=Dt,bt.W=0+hr+_e,bt.Db=m,bt.Ed=_e,i==12&&(bt.F=Dt,bt.J=0+hr+2*_e),bt.Tc=rt,bt.lb=Me)}if(m=1,Me=le.S,_e=le.width,rt=le.height,Me>=Qs&&13>Me)if(11>Me)i=le.f.RGBA,m&=(ut=Math.abs(i.A))*(rt-1)+_e<=i.size,m&=ut>=_e*X0[Me],m&=i.eb!=null;else{i=le.f.kb,ut=(_e+1)/2,hr=(rt+1)/2,bt=Math.abs(i.fa),Dt=Math.abs(i.Ab);var Tr=Math.abs(i.Db),Rt=Math.abs(i.lb),vr=Rt*(rt-1)+_e;m&=bt*(rt-1)+_e<=i.Fd,m&=Dt*(hr-1)+ut<=i.Cd,m=(m&=Tr*(hr-1)+ut<=i.Ed)&bt>=_e&Dt>=ut&Tr>=ut,m&=i.y!=null,m&=i.f!=null,m&=i.ea!=null,Me==12&&(m&=Rt>=_e,m&=vr<=i.Tc,m&=i.F!=null)}else m=0;i=m?0:2}}return i!=0||U!=null&&U.fd&&(i=Fr(le)),i}var un=64,bn=[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],Nn=24,Mn=32,oa=8,ya=[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];Gr("Predictor0","PredictorAdd0"),Ot.Predictor0=function(){return 4278190080},Ot.Predictor1=function(i){return i},Ot.Predictor2=function(i,m,U){return m[U+0]},Ot.Predictor3=function(i,m,U){return m[U+1]},Ot.Predictor4=function(i,m,U){return m[U-1]},Ot.Predictor5=function(i,m,U){return Vn(Vn(i,m[U+1]),m[U+0])},Ot.Predictor6=function(i,m,U){return Vn(i,m[U-1])},Ot.Predictor7=function(i,m,U){return Vn(i,m[U+0])},Ot.Predictor8=function(i,m,U){return Vn(m[U-1],m[U+0])},Ot.Predictor9=function(i,m,U){return Vn(m[U+0],m[U+1])},Ot.Predictor10=function(i,m,U){return Vn(Vn(i,m[U-1]),Vn(m[U+0],m[U+1]))},Ot.Predictor11=function(i,m,U){var le=m[U+0];return 0>=la(le>>24&255,i>>24&255,(m=m[U-1])>>24&255)+la(le>>16&255,i>>16&255,m>>16&255)+la(le>>8&255,i>>8&255,m>>8&255)+la(255&le,255&i,255&m)?le:i},Ot.Predictor12=function(i,m,U){var le=m[U+0];return(xa((i>>24&255)+(le>>24&255)-((m=m[U-1])>>24&255))<<24|xa((i>>16&255)+(le>>16&255)-(m>>16&255))<<16|xa((i>>8&255)+(le>>8&255)-(m>>8&255))<<8|xa((255&i)+(255&le)-(255&m)))>>>0},Ot.Predictor13=function(i,m,U){var le=m[U-1];return(_n((i=Vn(i,m[U+0]))>>24&255,le>>24&255)<<24|_n(i>>16&255,le>>16&255)<<16|_n(i>>8&255,le>>8&255)<<8|_n(255&i,255&le))>>>0};var Ua=Ot.PredictorAdd0;Ot.PredictorAdd1=La,Gr("Predictor2","PredictorAdd2"),Gr("Predictor3","PredictorAdd3"),Gr("Predictor4","PredictorAdd4"),Gr("Predictor5","PredictorAdd5"),Gr("Predictor6","PredictorAdd6"),Gr("Predictor7","PredictorAdd7"),Gr("Predictor8","PredictorAdd8"),Gr("Predictor9","PredictorAdd9"),Gr("Predictor10","PredictorAdd10"),Gr("Predictor11","PredictorAdd11"),Gr("Predictor12","PredictorAdd12"),Gr("Predictor13","PredictorAdd13");var Pa=Ot.PredictorAdd2;Fn("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),Fn("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var Oa,Ga=Ot.ColorIndexInverseTransform,Ya=Ot.MapARGB,Ra=Ot.VP8LColorIndexInverseTransformAlpha,qo=Ot.MapAlpha,Io=Ot.VP8LPredictorsAdd=[];Io.length=16,(Ot.VP8LPredictors=[]).length=16,(Ot.VP8LPredictorsAdd_C=[]).length=16,(Ot.VP8LPredictors_C=[]).length=16;var go,Jo,$o,Ho,ei,Si,fi,es,Do,Go,Fa,oo,Co,wo,Ki,_i,Ti,gs,zs,Xs,Ys,qs,ks,Us,$s,Hs,Ds,Rs,M0=v(511),T0=v(2041),B0=v(225),L0=v(767),z0=0,m0=T0,Js=B0,Bi=L0,Xi=M0,Qs=0,e0=1,D0=2,t0=3,r0=4,p0=5,R0=6,g0=7,v0=8,n0=9,b0=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,y0=[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],x0=[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],Zs=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],Ps=[],ts=[],vs=[],Sl=1,H0=2,js=[],Yi=[];pr("UpsampleRgbLinePair",Ca,3),pr("UpsampleBgrLinePair",Ia,3),pr("UpsampleRgbaLinePair",O,4),pr("UpsampleBgraLinePair",d,4),pr("UpsampleArgbLinePair",t,4),pr("UpsampleRgba4444LinePair",e,2),pr("UpsampleRgb565LinePair",c,2);var Cl=Ot.UpsampleRgbLinePair,Ol=Ot.UpsampleBgrLinePair,W0=Ot.UpsampleRgbaLinePair,U0=Ot.UpsampleBgraLinePair,Z0=Ot.UpsampleArgbLinePair,V0=Ot.UpsampleRgba4444LinePair,El=Ot.UpsampleRgb565LinePair,a0=16,o0=1<<a0-1,Vs=-227,w0=482,G0=6,Il=(256<<G0)-1,K0=0,Al=v(256),$l=v(256),Pl=v(256),jl=v(256),Nl=v(w0-Vs),Ml=v(w0-Vs);Ce("YuvToRgbRow",Ca,3),Ce("YuvToBgrRow",Ia,3),Ce("YuvToRgbaRow",O,4),Ce("YuvToBgraRow",d,4),Ce("YuvToArgbRow",t,4),Ce("YuvToRgba4444Row",e,2),Ce("YuvToRgb565Row",c,2);var _0=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],i0=[0,2,8],Tl=[8,7,6,4,4,2,2,2,1,1,1,1],Bl=1;this.WebPDecodeRGBA=function(i,m,U,le,Me){var _e=e0,rt=new Sr,ut=new Cn;rt.ba=ut,ut.S=_e,ut.width=[ut.width],ut.height=[ut.height];var bt=ut.width,Dt=ut.height,hr=new jn;if(hr==null||i==null)var Tr=2;else s(hr!=null),Tr=ur(i,m,U,hr.width,hr.height,hr.Pd,hr.Qd,hr.format,null);if(Tr!=0?bt=0:(bt!=null&&(bt[0]=hr.width[0]),Dt!=null&&(Dt[0]=hr.height[0]),bt=1),bt){ut.width=ut.width[0],ut.height=ut.height[0],le!=null&&(le[0]=ut.width),Me!=null&&(Me[0]=ut.height);e:{if(le=new $a,(Me=new Kr).data=i,Me.w=m,Me.ha=U,Me.kd=1,m=[0],s(Me!=null),((i=ur(Me.data,Me.w,Me.ha,null,null,null,m,null,Me))==0||i==7)&&m[0]&&(i=4),(m=i)==0){if(s(rt!=null),le.data=Me.data,le.w=Me.w+Me.offset,le.ha=Me.ha-Me.offset,le.put=ma,le.ac=uo,le.bc=Eo,le.ma=rt,Me.xa){if((i=Ma())==null){rt=1;break e}if(function(Rt,vr){var Or=[0],_r=[0],Nr=[0];t:for(;;){if(Rt==null)return 0;if(vr==null)return Rt.a=2,0;if(Rt.l=vr,Rt.a=0,ir(Rt.m,vr.data,vr.w,vr.ha),!ja(Rt.m,Or,_r,Nr)){Rt.a=3;break t}if(Rt.xb=H0,vr.width=Or[0],vr.height=_r[0],!Wo(Or[0],_r[0],1,Rt,null))break t;return 1}return s(Rt.a!=0),0}(i,le)){if(le=(m=Hr(le.width,le.height,rt.Oa,rt.ba))==0){t:{le=i;r:for(;;){if(le==null){le=0;break t}if(s(le.s.yc!=null),s(le.s.Ya!=null),s(0<le.s.Wb),s((U=le.l)!=null),s((Me=U.ma)!=null),le.xb!=0){if(le.ca=Me.ba,le.tb=Me.tb,s(le.ca!=null),!xr(Me.Oa,U,t0)){le.a=2;break r}if(!ho(le,U.width)||U.da)break r;if((U.da||Zn(le.ca.S))&&rr(),11>le.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),le.ca.f.kb.F!=null&&rr()),le.Pb&&0<le.s.ua&&le.s.vb.X==null&&!Lt(le.s.vb,le.s.Wa.Xa)){le.a=1;break r}le.xb=0}if(!Ao(le,le.V,le.Ba,le.c,le.i,U.o,Da))break r;Me.Dc=le.Ma,le=1;break t}s(le.a!=0),le=0}le=!le}le&&(m=i.a)}else m=i.a}else{if((i=new fo)==null){rt=1;break e}if(i.Fa=Me.na,i.P=Me.P,i.qc=Me.Sa,Mo(i,le)){if((m=Hr(le.width,le.height,rt.Oa,rt.ba))==0){if(i.Aa=0,U=rt.Oa,s((Me=i)!=null),U!=null){if(0<(bt=0>(bt=U.Md)?0:100<bt?255:255*bt/100)){for(Dt=hr=0;4>Dt;++Dt)12>(Tr=Me.pb[Dt]).lc&&(Tr.ia=bt*Tl[0>Tr.lc?0:Tr.lc]>>3),hr|=Tr.ia;hr&&(alert("todo:VP8InitRandom"),Me.ia=1)}Me.Ga=U.Id,100<Me.Ga?Me.Ga=100:0>Me.Ga&&(Me.Ga=0)}(function(Rt,vr){if(Rt==null)return 0;if(vr==null)return Ue(Rt,2,"NULL VP8Io parameter in VP8Decode().");if(!Rt.cb&&!Mo(Rt,vr))return 0;if(s(Rt.cb),vr.ac==null||vr.ac(vr)){vr.ob&&(Rt.L=0);var Or=i0[Rt.L];if(Rt.L==2?(Rt.yb=0,Rt.zb=0):(Rt.yb=vr.v-Or>>4,Rt.zb=vr.j-Or>>4,0>Rt.yb&&(Rt.yb=0),0>Rt.zb&&(Rt.zb=0)),Rt.Va=vr.o+15+Or>>4,Rt.Hb=vr.va+15+Or>>4,Rt.Hb>Rt.za&&(Rt.Hb=Rt.za),Rt.Va>Rt.Ub&&(Rt.Va=Rt.Ub),0<Rt.L){var _r=Rt.ed;for(Or=0;4>Or;++Or){var Nr;if(Rt.Qa.Cb){var Xr=Rt.Qa.Lb[Or];Rt.Qa.Fb||(Xr+=_r.Tb)}else Xr=_r.Tb;for(Nr=0;1>=Nr;++Nr){var en=Rt.gd[Or][Nr],vn=Xr;if(_r.Pc&&(vn+=_r.vd[0],Nr&&(vn+=_r.od[0])),0<(vn=0>vn?0:63<vn?63:vn)){var fn=vn;0<_r.wb&&(fn=4<_r.wb?fn>>2:fn>>1)>9-_r.wb&&(fn=9-_r.wb),1>fn&&(fn=1),en.dd=fn,en.tc=2*vn+fn,en.ld=40<=vn?2:15<=vn?1:0}else en.tc=0;en.La=Nr}}}Or=0}else Ue(Rt,6,"Frame setup failed"),Or=Rt.a;if(Or=Or==0){if(Or){Rt.$c=0,0<Rt.Aa||(Rt.Ic=Bl);t:{Or=Rt.Ic,_r=4*(fn=Rt.za);var wa=32*fn,ia=fn+1,Za=0<Rt.L?fn*(0<Rt.Aa?2:1):0,pa=(Rt.Aa==2?2:1)*fn;if((en=_r+832+(Nr=3*(16*Or+i0[Rt.L])/2*wa)+(Xr=Rt.Fa!=null&&0<Rt.Fa.length?Rt.Kc.c*Rt.Kc.i:0))!=en)Or=0;else{if(en>Rt.Vb){if(Rt.Vb=0,Rt.Ec=v(en),Rt.Fc=0,Rt.Ec==null){Or=Ue(Rt,1,"no memory during frame initialization.");break t}Rt.Vb=en}en=Rt.Ec,vn=Rt.Fc,Rt.Ac=en,Rt.Bc=vn,vn+=_r,Rt.Gd=T(wa,Ii),Rt.Hd=0,Rt.rb=T(ia+1,ki),Rt.sb=1,Rt.wa=Za?T(Za,Uo):null,Rt.Y=0,Rt.D.Nb=0,Rt.D.wa=Rt.wa,Rt.D.Y=Rt.Y,0<Rt.Aa&&(Rt.D.Y+=fn),s(!0),Rt.oc=en,Rt.pc=vn,vn+=832,Rt.ya=T(pa,yi),Rt.aa=0,Rt.D.ya=Rt.ya,Rt.D.aa=Rt.aa,Rt.Aa==2&&(Rt.D.aa+=fn),Rt.R=16*fn,Rt.B=8*fn,fn=(wa=i0[Rt.L])*Rt.R,wa=wa/2*Rt.B,Rt.sa=en,Rt.ta=vn+fn,Rt.qa=Rt.sa,Rt.ra=Rt.ta+16*Or*Rt.R+wa,Rt.Ha=Rt.qa,Rt.Ia=Rt.ra+8*Or*Rt.B+wa,Rt.$c=0,vn+=Nr,Rt.mb=Xr?en:null,Rt.nb=Xr?vn:null,s(vn+Xr<=Rt.Fc+Rt.Vb),ao(Rt),$(Rt.Ac,Rt.Bc,0,_r),Or=1}}if(Or){if(vr.ka=0,vr.y=Rt.sa,vr.O=Rt.ta,vr.f=Rt.qa,vr.N=Rt.ra,vr.ea=Rt.Ha,vr.Vd=Rt.Ia,vr.fa=Rt.R,vr.Rc=Rt.B,vr.F=null,vr.J=0,!z0){for(Or=-255;255>=Or;++Or)M0[255+Or]=0>Or?-Or:Or;for(Or=-1020;1020>=Or;++Or)T0[1020+Or]=-128>Or?-128:127<Or?127:Or;for(Or=-112;112>=Or;++Or)B0[112+Or]=-16>Or?-16:15<Or?15:Or;for(Or=-255;510>=Or;++Or)L0[255+Or]=0>Or?0:255<Or?255:Or;z0=1}fi=cs,es=Hi,Go=xs,Fa=ii,oo=as,Do=Ai,Co=ps,wo=Gi,Ki=P,_i=je,Ti=Qi,gs=ls,zs=zt,Xs=tr,Ys=ss,qs=Mi,ks=fs,Us=ms,ts[0]=Es,ts[1]=Wi,ts[2]=Cs,ts[3]=Os,ts[4]=qi,ts[5]=di,ts[6]=ai,ts[7]=Ls,ts[8]=is,ts[9]=Is,Ps[0]=ci,Ps[1]=us,Ps[2]=Ss,Ps[3]=os,Ps[4]=ds,Ps[5]=$i,Ps[6]=ui,vs[0]=Vi,vs[1]=ws,vs[2]=Ui,vs[3]=Pi,vs[4]=Ji,vs[5]=As,vs[6]=hs,Or=1}else Or=0}Or&&(Or=function(Qa,Ko){for(Qa.M=0;Qa.M<Qa.Va;++Qa.M){var Va,ga=Qa.Jc[Qa.M&Qa.Xb],Rn=Qa.m,Ro=Qa;for(Va=0;Va<Ro.za;++Va){var ka=Rn,eo=Ro,Oo=eo.Ac,ti=eo.Bc+4*Va,mi=eo.zc,To=eo.ya[eo.aa+Va];if(eo.Qa.Bb?To.$b=Lr(ka,eo.Pa.jb[0])?2+Lr(ka,eo.Pa.jb[2]):Lr(ka,eo.Pa.jb[1]):To.$b=0,eo.kc&&(To.Ad=Lr(ka,eo.Bd)),To.Za=!Lr(ka,145)+0,To.Za){var oi=To.Ob,pi=0;for(eo=0;4>eo;++eo){var _o,io=mi[0+eo];for(_o=0;4>_o;++_o){io=yl[Oo[ti+_o]][io];for(var mo=k0[Lr(ka,io[0])];0<mo;)mo=k0[2*mo+Lr(ka,io[mo])];io=-mo,Oo[ti+_o]=io}b(oi,pi,Oo,ti,4),pi+=4,mi[0+eo]=io}}else io=Lr(ka,156)?Lr(ka,128)?1:3:Lr(ka,163)?2:0,To.Ob[0]=io,$(Oo,ti,io,4),$(mi,0,io,4);To.Dd=Lr(ka,142)?Lr(ka,114)?Lr(ka,183)?1:3:2:0}if(Ro.m.Ka)return Ue(Qa,7,"Premature end-of-partition0 encountered.");for(;Qa.ja<Qa.za;++Qa.ja){if(Ro=ga,ka=(Rn=Qa).rb[Rn.sb-1],Oo=Rn.rb[Rn.sb+Rn.ja],Va=Rn.ya[Rn.aa+Rn.ja],ti=Rn.kc?Va.Ad:0)ka.la=Oo.la=0,Va.Za||(ka.Na=Oo.Na=0),Va.Hc=0,Va.Gc=0,Va.ia=0;else{var Bo,po;if(ka=Oo,Oo=Ro,ti=Rn.Pa.Xc,mi=Rn.ya[Rn.aa+Rn.ja],To=Rn.pb[mi.$b],eo=mi.ad,oi=0,pi=Rn.rb[Rn.sb-1],io=_o=0,$(eo,oi,0,384),mi.Za)var ri=0,rs=ti[3];else{mo=v(16);var Fo=ka.Na+pi.Na;if(Fo=Zs(Oo,ti[1],Fo,To.Eb,0,mo,0),ka.Na=pi.Na=(0<Fo)+0,1<Fo)fi(mo,0,eo,oi);else{var Ci=mo[0]+3>>3;for(mo=0;256>mo;mo+=16)eo[oi+mo]=Ci}ri=1,rs=ti[0]}var bo=15&ka.la,Xo=15&pi.la;for(mo=0;4>mo;++mo){var Li=1&Xo;for(Ci=po=0;4>Ci;++Ci)bo=bo>>1|(Li=(Fo=Zs(Oo,rs,Fo=Li+(1&bo),To.Sc,ri,eo,oi))>ri)<<7,po=po<<2|(3<Fo?3:1<Fo?2:eo[oi+0]!=0),oi+=16;bo>>=4,Xo=Xo>>1|Li<<7,_o=(_o<<8|po)>>>0}for(rs=bo,ri=Xo>>4,Bo=0;4>Bo;Bo+=2){for(po=0,bo=ka.la>>4+Bo,Xo=pi.la>>4+Bo,mo=0;2>mo;++mo){for(Li=1&Xo,Ci=0;2>Ci;++Ci)Fo=Li+(1&bo),bo=bo>>1|(Li=0<(Fo=Zs(Oo,ti[2],Fo,To.Qc,0,eo,oi)))<<3,po=po<<2|(3<Fo?3:1<Fo?2:eo[oi+0]!=0),oi+=16;bo>>=2,Xo=Xo>>1|Li<<5}io|=po<<4*Bo,rs|=bo<<4<<Bo,ri|=(240&Xo)<<Bo}ka.la=rs,pi.la=ri,mi.Hc=_o,mi.Gc=io,mi.ia=43690&io?0:To.ia,ti=!(_o|io)}if(0<Rn.L&&(Rn.wa[Rn.Y+Rn.ja]=Rn.gd[Va.$b][Va.Za],Rn.wa[Rn.Y+Rn.ja].La|=!ti),Ro.Ka)return Ue(Qa,7,"Premature end-of-file encountered.")}if(ao(Qa),Rn=Ko,Ro=1,Va=(ga=Qa).D,ka=0<ga.L&&ga.M>=ga.zb&&ga.M<=ga.Va,ga.Aa==0)t:{if(Va.M=ga.M,Va.uc=ka,Kt(ga,Va),Ro=1,Va=(po=ga.D).Nb,ka=(io=i0[ga.L])*ga.R,Oo=io/2*ga.B,mo=16*Va*ga.R,Ci=8*Va*ga.B,ti=ga.sa,mi=ga.ta-ka+mo,To=ga.qa,eo=ga.ra-Oo+Ci,oi=ga.Ha,pi=ga.Ia-Oo+Ci,Xo=(bo=po.M)==0,_o=bo>=ga.Va-1,ga.Aa==2&&Kt(ga,po),po.uc)for(Li=(Fo=ga).D.M,s(Fo.D.uc),po=Fo.yb;po<Fo.Hb;++po){ri=po,rs=Li;var gi=(zi=(ni=Fo).D).Nb;Bo=ni.R;var zi=zi.wa[zi.Y+ri],Di=ni.sa,Oi=ni.ta+16*gi*Bo+16*ri,Ri=zi.dd,So=zi.tc;if(So!=0)if(s(3<=So),ni.L==1)0<ri&&qs(Di,Oi,Bo,So+4),zi.La&&Us(Di,Oi,Bo,So),0<rs&&Ys(Di,Oi,Bo,So+4),zi.La&&ks(Di,Oi,Bo,So);else{var Fi=ni.B,ns=ni.qa,Fs=ni.ra+8*gi*Fi+8*ri,bs=ni.Ha,ni=ni.Ia+8*gi*Fi+8*ri;gi=zi.ld,0<ri&&(wo(Di,Oi,Bo,So+4,Ri,gi),_i(ns,Fs,bs,ni,Fi,So+4,Ri,gi)),zi.La&&(gs(Di,Oi,Bo,So,Ri,gi),Xs(ns,Fs,bs,ni,Fi,So,Ri,gi)),0<rs&&(Co(Di,Oi,Bo,So+4,Ri,gi),Ki(ns,Fs,bs,ni,Fi,So+4,Ri,gi)),zi.La&&(Ti(Di,Oi,Bo,So,Ri,gi),zs(ns,Fs,bs,ni,Fi,So,Ri,gi))}}if(ga.ia&&alert("todo:DitherRow"),Rn.put!=null){if(po=16*bo,bo=16*(bo+1),Xo?(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-=io,Rn.y=ti,Rn.O=mi,Rn.f=To,Rn.N=eo,Rn.ea=oi,Rn.W=pi),_o||(bo-=io),bo>Rn.o&&(bo=Rn.o),Rn.F=null,Rn.J=null,ga.Fa!=null&&0<ga.Fa.length&&po<bo&&(Rn.J=H(ga,Rn,po,bo-po),Rn.F=ga.mb,Rn.F==null&&Rn.F.length==0)){Ro=Ue(ga,3,"Could not decode alpha data.");break t}po<Rn.j&&(io=Rn.j-po,po=Rn.j,s(!(1&io)),Rn.O+=ga.R*io,Rn.N+=ga.B*(io>>1),Rn.W+=ga.B*(io>>1),Rn.F!=null&&(Rn.J+=Rn.width*io)),po<bo&&(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=bo-po,Ro=Rn.put(Rn))}Va+1!=ga.Ic||_o||(b(ga.sa,ga.ta-ka,ti,mi+16*ga.R,ka),b(ga.qa,ga.ra-Oo,To,eo+8*ga.B,Oo),b(ga.Ha,ga.Ia-Oo,oi,pi+8*ga.B,Oo))}if(!Ro)return Ue(Qa,6,"Output aborted.")}return 1}(Rt,vr)),vr.bc!=null&&vr.bc(vr),Or&=1}return Or?(Rt.cb=0,Or):0})(i,le)||(m=i.a)}}else m=i.a}m==0&&rt.Oa!=null&&rt.Oa.fd&&(m=Fr(rt.ba))}rt=m}_e=rt!=0?null:11>_e?ut.f.RGBA.eb:ut.f.kb.y}else _e=null;return _e};var X0=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function Ee(Ot,Jt){for(var ke="",Be=0;Be<4;Be++)ke+=String.fromCharCode(Ot[Jt++]);return ke}function st(Ot,Jt){return Ot[Jt+0]|Ot[Jt+1]<<8}function jt(Ot,Jt){return(Ot[Jt+0]|Ot[Jt+1]<<8|Ot[Jt+2]<<16)>>>0}function At(Ot,Jt){return(Ot[Jt+0]|Ot[Jt+1]<<8|Ot[Jt+2]<<16|Ot[Jt+3]<<24)>>>0}new ee;var ve=[0],kt=[0],Ge=[],Zt=new ee,pt=f,ar=function(Ot,Jt){var ke={},Be=0,St=!1,ct=0,cr=0;if(ke.frames=[],!function(Pe,vt){for(var Bt=0;Bt<4;Bt++)if(Pe[vt+Bt]!="RIFF".charCodeAt(Bt))return!0;return!1}(Ot,Jt)){for(At(Ot,Jt+=4),Jt+=8;Jt<Ot.length;){var gr=Ee(Ot,Jt),Xt=At(Ot,Jt+=4);Jt+=4;var Tt=Xt+(1&Xt);switch(gr){case"VP8 ":case"VP8L":ke.frames[Be]===void 0&&(ke.frames[Be]={}),(Wt=ke.frames[Be]).src_off=St?cr:Jt-8,Wt.src_size=ct+Xt+8,Be++,St&&(St=!1,ct=0,cr=0);break;case"VP8X":(Wt=ke.header={}).feature_flags=Ot[Jt];var ir=Jt+4;Wt.canvas_width=1+jt(Ot,ir),ir+=3,Wt.canvas_height=1+jt(Ot,ir),ir+=3;break;case"ALPH":St=!0,ct=Tt+8,cr=Jt-8;break;case"ANIM":(Wt=ke.header).bgcolor=At(Ot,Jt),ir=Jt+4,Wt.loop_count=st(Ot,ir),ir+=2;break;case"ANMF":var Zr,Wt;(Wt=ke.frames[Be]={}).offset_x=2*jt(Ot,Jt),Jt+=3,Wt.offset_y=2*jt(Ot,Jt),Jt+=3,Wt.width=1+jt(Ot,Jt),Jt+=3,Wt.height=1+jt(Ot,Jt),Jt+=3,Wt.duration=jt(Ot,Jt),Jt+=3,Zr=Ot[Jt++],Wt.dispose=1&Zr,Wt.blend=Zr>>1&1}gr!="ANMF"&&(Jt+=Tt)}return ke}}(pt,0);ar.response=pt,ar.rgbaoutput=!0,ar.dataurl=!1;var yr=ar.header?ar.header:null,Qt=ar.frames?ar.frames:null;if(yr){yr.loop_counter=yr.loop_count,ve=[yr.canvas_height],kt=[yr.canvas_width];for(var nt=0;nt<Qt.length&&Qt[nt].blend!=0;nt++);}var Se=Qt[0],Vt=Zt.WebPDecodeRGBA(pt,Se.src_off,Se.src_size,kt,ve);Se.rgba=Vt,Se.imgwidth=kt[0],Se.imgheight=ve[0];for(var Mt=0;Mt<kt[0]*ve[0]*4;Mt++)Ge[Mt]=Vt[Mt];return this.width=kt,this.height=ve,this.data=Ge,this}(function(f){var s,p,b,$,v,T,Z,ee,Ee,st=function(Pe){return Pe=Pe||{},this.isStrokeTransparent=Pe.isStrokeTransparent||!1,this.strokeOpacity=Pe.strokeOpacity||1,this.strokeStyle=Pe.strokeStyle||"#000000",this.fillStyle=Pe.fillStyle||"#000000",this.isFillTransparent=Pe.isFillTransparent||!1,this.fillOpacity=Pe.fillOpacity||1,this.font=Pe.font||"10px sans-serif",this.textBaseline=Pe.textBaseline||"alphabetic",this.textAlign=Pe.textAlign||"left",this.lineWidth=Pe.lineWidth||1,this.lineJoin=Pe.lineJoin||"miter",this.lineCap=Pe.lineCap||"butt",this.path=Pe.path||[],this.transform=Pe.transform!==void 0?Pe.transform.clone():new ee,this.globalCompositeOperation=Pe.globalCompositeOperation||"normal",this.globalAlpha=Pe.globalAlpha||1,this.clip_path=Pe.clip_path||[],this.currentPoint=Pe.currentPoint||new T,this.miterLimit=Pe.miterLimit||10,this.lastPoint=Pe.lastPoint||new T,this.lineDashOffset=Pe.lineDashOffset||0,this.lineDash=Pe.lineDash||[],this.margin=Pe.margin||[0,0,0,0],this.prevPageLastElemOffset=Pe.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Pe.ignoreClearRect!="boolean"||Pe.ignoreClearRect,this};f.events.push(["initialized",function(){this.context2d=new jt(this),s=this.internal.f2,p=this.internal.getCoordinateString,b=this.internal.getVerticalCoordinateString,$=this.internal.getHorizontalCoordinate,v=this.internal.getVerticalCoordinate,T=this.internal.Point,Z=this.internal.Rectangle,ee=this.internal.Matrix,Ee=new st}]);var jt=function(Pe){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var vt=Pe;Object.defineProperty(this,"pdf",{get:function(){return vt}});var Bt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return Bt},set:function(Mr){Bt=!!Mr}});var ht=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ht},set:function(Mr){ht=!!Mr}});var Yt=0;Object.defineProperty(this,"posX",{get:function(){return Yt},set:function(Mr){isNaN(Mr)||(Yt=Mr)}});var dr=0;Object.defineProperty(this,"posY",{get:function(){return dr},set:function(Mr){isNaN(Mr)||(dr=Mr)}}),Object.defineProperty(this,"margin",{get:function(){return Ee.margin},set:function(Mr){var Lt;typeof Mr=="number"?Lt=[Mr,Mr,Mr,Mr]:((Lt=new Array(4))[0]=Mr[0],Lt[1]=Mr.length>=2?Mr[1]:Lt[0],Lt[2]=Mr.length>=3?Mr[2]:Lt[0],Lt[3]=Mr.length>=4?Mr[3]:Lt[1]),Ee.margin=Lt}});var fr=!1;Object.defineProperty(this,"autoPaging",{get:function(){return fr},set:function(Mr){fr=Mr}});var Er=0;Object.defineProperty(this,"lastBreak",{get:function(){return Er},set:function(Mr){Er=Mr}});var Lr=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Lr},set:function(Mr){Lr=Mr}}),Object.defineProperty(this,"ctx",{get:function(){return Ee},set:function(Mr){Mr instanceof st&&(Ee=Mr)}}),Object.defineProperty(this,"path",{get:function(){return Ee.path},set:function(Mr){Ee.path=Mr}});var Rr=[];Object.defineProperty(this,"ctxStack",{get:function(){return Rr},set:function(Mr){Rr=Mr}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Mr){var Lt;Lt=At(Mr),this.ctx.fillStyle=Lt.style,this.ctx.isFillTransparent=Lt.a===0,this.ctx.fillOpacity=Lt.a,this.pdf.setFillColor(Lt.r,Lt.g,Lt.b,{a:Lt.a}),this.pdf.setTextColor(Lt.r,Lt.g,Lt.b,{a:Lt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Mr){var Lt=At(Mr);this.ctx.strokeStyle=Lt.style,this.ctx.isStrokeTransparent=Lt.a===0,this.ctx.strokeOpacity=Lt.a,Lt.a===0?this.pdf.setDrawColor(255,255,255):(Lt.a,this.pdf.setDrawColor(Lt.r,Lt.g,Lt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Mr){["butt","round","square"].indexOf(Mr)!==-1&&(this.ctx.lineCap=Mr,this.pdf.setLineCap(Mr))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Mr){isNaN(Mr)||(this.ctx.lineWidth=Mr,this.pdf.setLineWidth(Mr))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Mr){["bevel","round","miter"].indexOf(Mr)!==-1&&(this.ctx.lineJoin=Mr,this.pdf.setLineJoin(Mr))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Mr){isNaN(Mr)||(this.ctx.miterLimit=Mr,this.pdf.setMiterLimit(Mr))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Mr){this.ctx.textBaseline=Mr}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Mr){["right","end","center","left","start"].indexOf(Mr)!==-1&&(this.ctx.textAlign=Mr)}});var cn=null,Sn=null;Object.defineProperty(this,"fontFaces",{get:function(){return Sn},set:function(Mr){cn=null,Sn=Mr}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Mr){var Lt;if(this.ctx.font=Mr,(Lt=/^\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(Mr))!==null){var ba=Lt[1];Lt[2];var da=Lt[3],Hn=Lt[4];Lt[5];var an=Lt[6],dn=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Hn)[2];Hn=Math.floor(dn==="px"?parseFloat(Hn)*this.pdf.internal.scaleFactor:dn==="em"?parseFloat(Hn)*this.pdf.getFontSize():parseFloat(Hn)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Hn);var Gr=function(aa){var Fn,Ln,Xn=[],Qr=aa.trim();if(Qr==="")return mr;if(Qr in z)return[z[Qr]];for(;Qr!=="";){switch(Ln=null,Fn=(Qr=re(Qr)).charAt(0)){case'"':case"'":Ln=lt(Qr.substring(1),Fn);break;default:Ln=pn(Qr)}if(Ln===null||(Xn.push(Ln[0]),(Qr=re(Ln[1]))!==""&&Qr.charAt(0)!==","))return mr;Qr=Qr.replace(/^,/,"")}return Xn}(an);if(this.fontFaces){var sa=function(aa,Fn){if(cn===null){var Ln=function(Xn){var Qr=[];return Object.keys(Xn).forEach(function(mn){Xn[mn].forEach(function(ca){var En=null;switch(ca){case"bold":En={family:mn,weight:"bold"};break;case"italic":En={family:mn,style:"italic"};break;case"bolditalic":En={family:mn,weight:"bold",style:"italic"};break;case"":case"normal":En={family:mn}}En!==null&&(En.ref={name:mn,style:ca},Qr.push(En))})}),Qr}(aa.getFontList());cn=function(Xn){for(var Qr={},mn=0;mn<Xn.length;++mn){var ca=br(Xn[mn]),En=ca.family,ha=ca.stretch,Zn=ca.style,Ha=ca.weight;Qr[En]=Qr[En]||{},Qr[En][ha]=Qr[En][ha]||{},Qr[En][ha][Zn]=Qr[En][ha][Zn]||{},Qr[En][ha][Zn][Ha]=ca}return Qr}(Ln.concat(Fn))}return cn}(this.pdf,this.fontFaces),Vn=Gr.map(function(aa){return{family:aa,stretch:"normal",weight:da,style:ba}}),xa=function(aa,Fn,Ln){for(var Xn=(Ln=Ln||{}).defaultFontFamily||"times",Qr=Object.assign({},h,Ln.genericFontFamilies||{}),mn=null,ca=null,En=0;En<Fn.length;++En)if(Qr[(mn=br(Fn[En])).family]&&(mn.family=Qr[mn.family]),aa.hasOwnProperty(mn.family)){ca=aa[mn.family];break}if(!(ca=ca||aa[Xn]))throw new Error("Could not find a font-family for the rule '"+Oe(mn)+"' and default family '"+Xn+"'.");if(ca=function(ha,Zn){if(Zn[ha])return Zn[ha];var Ha=Tn[ha],qa=Ha<=Tn.normal?-1:1,Cn=Br(Zn,yn,Ha,qa);if(!Cn)throw new Error("Could not find a matching font-stretch value for "+ha);return Cn}(mn.stretch,ca),ca=function(ha,Zn){if(Zn[ha])return Zn[ha];for(var Ha=Ar[ha],qa=0;qa<Ha.length;++qa)if(Zn[Ha[qa]])return Zn[Ha[qa]];throw new Error("Could not find a matching font-style for "+ha)}(mn.style,ca),!(ca=function(ha,Zn){if(Zn[ha])return Zn[ha];if(ha===400&&Zn[500])return Zn[500];if(ha===500&&Zn[400])return Zn[400];var Ha=wr[ha],qa=Br(Zn,Ft,Ha,ha<400?-1:1);if(!qa)throw new Error("Could not find a matching font-weight for value "+ha);return qa}(mn.weight,ca)))throw new Error("Failed to resolve a font for the rule '"+Oe(mn)+"'.");return ca}(sa,Vn);this.pdf.setFont(xa.ref.name,xa.ref.style)}else{var _n="";(da==="bold"||parseInt(da,10)>=700||ba==="bold")&&(_n="bold"),ba==="italic"&&(_n+="italic"),_n.length===0&&(_n="normal");for(var la="",La={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"},na=0;na<Gr.length;na++){if(this.pdf.internal.getFont(Gr[na],_n,{noFallback:!0,disableWarning:!0})!==void 0){la=Gr[na];break}if(_n==="bolditalic"&&this.pdf.internal.getFont(Gr[na],"bold",{noFallback:!0,disableWarning:!0})!==void 0)la=Gr[na],_n="bold";else if(this.pdf.internal.getFont(Gr[na],"normal",{noFallback:!0,disableWarning:!0})!==void 0){la=Gr[na],_n="normal";break}}if(la===""){for(var kn=0;kn<Gr.length;kn++)if(La[Gr[kn]]){la=La[Gr[kn]];break}}la=la===""?"Times":la,this.pdf.setFont(la,_n)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Mr){this.ctx.globalCompositeOperation=Mr}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Mr){this.ctx.globalAlpha=Mr}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Mr){this.ctx.lineDashOffset=Mr,Wt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Mr){this.ctx.lineDash=Mr,Wt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Mr){this.ctx.ignoreClearRect=!!Mr}})};jt.prototype.setLineDash=function(Pe){this.lineDash=Pe},jt.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},jt.prototype.fill=function(){Qt.call(this,"fill",!1)},jt.prototype.stroke=function(){Qt.call(this,"stroke",!1)},jt.prototype.beginPath=function(){this.path=[{type:"begin"}]},jt.prototype.moveTo=function(Pe,vt){if(isNaN(Pe)||isNaN(vt))throw Y.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var Bt=this.ctx.transform.applyToPoint(new T(Pe,vt));this.path.push({type:"mt",x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new T(Pe,vt)},jt.prototype.closePath=function(){var Pe=new T(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"){Pe=new T(this.path[vt+1].x,this.path[vt+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new T(Pe.x,Pe.y)},jt.prototype.lineTo=function(Pe,vt){if(isNaN(Pe)||isNaN(vt))throw Y.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var Bt=this.ctx.transform.applyToPoint(new T(Pe,vt));this.path.push({type:"lt",x:Bt.x,y:Bt.y}),this.ctx.lastPoint=new T(Bt.x,Bt.y)},jt.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Qt.call(this,null,!0)},jt.prototype.quadraticCurveTo=function(Pe,vt,Bt,ht){if(isNaN(Bt)||isNaN(ht)||isNaN(Pe)||isNaN(vt))throw Y.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var Yt=this.ctx.transform.applyToPoint(new T(Bt,ht)),dr=this.ctx.transform.applyToPoint(new T(Pe,vt));this.path.push({type:"qct",x1:dr.x,y1:dr.y,x:Yt.x,y:Yt.y}),this.ctx.lastPoint=new T(Yt.x,Yt.y)},jt.prototype.bezierCurveTo=function(Pe,vt,Bt,ht,Yt,dr){if(isNaN(Yt)||isNaN(dr)||isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht))throw Y.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var fr=this.ctx.transform.applyToPoint(new T(Yt,dr)),Er=this.ctx.transform.applyToPoint(new T(Pe,vt)),Lr=this.ctx.transform.applyToPoint(new T(Bt,ht));this.path.push({type:"bct",x1:Er.x,y1:Er.y,x2:Lr.x,y2:Lr.y,x:fr.x,y:fr.y}),this.ctx.lastPoint=new T(fr.x,fr.y)},jt.prototype.arc=function(Pe,vt,Bt,ht,Yt,dr){if(isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht)||isNaN(Yt))throw Y.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(dr=!!dr,!this.ctx.transform.isIdentity){var fr=this.ctx.transform.applyToPoint(new T(Pe,vt));Pe=fr.x,vt=fr.y;var Er=this.ctx.transform.applyToPoint(new T(0,Bt)),Lr=this.ctx.transform.applyToPoint(new T(0,0));Bt=Math.sqrt(Math.pow(Er.x-Lr.x,2)+Math.pow(Er.y-Lr.y,2))}Math.abs(Yt-ht)>=2*Math.PI&&(ht=0,Yt=2*Math.PI),this.path.push({type:"arc",x:Pe,y:vt,radius:Bt,startAngle:ht,endAngle:Yt,counterclockwise:dr})},jt.prototype.arcTo=function(Pe,vt,Bt,ht,Yt){throw new Error("arcTo not implemented.")},jt.prototype.rect=function(Pe,vt,Bt,ht){if(isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht))throw Y.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Pe,vt),this.lineTo(Pe+Bt,vt),this.lineTo(Pe+Bt,vt+ht),this.lineTo(Pe,vt+ht),this.lineTo(Pe,vt),this.lineTo(Pe+Bt,vt),this.lineTo(Pe,vt)},jt.prototype.fillRect=function(Pe,vt,Bt,ht){if(isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht))throw Y.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!ve.call(this)){var Yt={};this.lineCap!=="butt"&&(Yt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Yt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Pe,vt,Bt,ht),this.fill(),Yt.hasOwnProperty("lineCap")&&(this.lineCap=Yt.lineCap),Yt.hasOwnProperty("lineJoin")&&(this.lineJoin=Yt.lineJoin)}},jt.prototype.strokeRect=function(Pe,vt,Bt,ht){if(isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht))throw Y.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");kt.call(this)||(this.beginPath(),this.rect(Pe,vt,Bt,ht),this.stroke())},jt.prototype.clearRect=function(Pe,vt,Bt,ht){if(isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht))throw Y.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Pe,vt,Bt,ht))},jt.prototype.save=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,Bt=0;Bt<this.pdf.internal.getNumberOfPages();Bt++)this.pdf.setPage(Bt+1),this.pdf.internal.out("q");if(this.pdf.setPage(vt),Pe){this.ctx.fontSize=this.pdf.internal.getFontSize();var ht=new st(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ht}},jt.prototype.restore=function(Pe){Pe=typeof Pe!="boolean"||Pe;for(var vt=this.pdf.internal.getCurrentPageInfo().pageNumber,Bt=0;Bt<this.pdf.internal.getNumberOfPages();Bt++)this.pdf.setPage(Bt+1),this.pdf.internal.out("Q");this.pdf.setPage(vt),Pe&&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)},jt.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var At=function(Pe){var vt,Bt,ht,Yt;if(Pe.isCanvasGradient===!0&&(Pe=Pe.getColor()),!Pe)return{r:0,g:0,b:0,a:0,style:Pe};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Pe))vt=0,Bt=0,ht=0,Yt=0;else{var dr=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Pe);if(dr!==null)vt=parseInt(dr[1]),Bt=parseInt(dr[2]),ht=parseInt(dr[3]),Yt=1;else if((dr=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Pe))!==null)vt=parseInt(dr[1]),Bt=parseInt(dr[2]),ht=parseInt(dr[3]),Yt=parseFloat(dr[4]);else{if(Yt=1,typeof Pe=="string"&&Pe.charAt(0)!=="#"){var fr=new D(Pe);Pe=fr.ok?fr.toHex():"#000000"}Pe.length===4?(vt=Pe.substring(1,2),vt+=vt,Bt=Pe.substring(2,3),Bt+=Bt,ht=Pe.substring(3,4),ht+=ht):(vt=Pe.substring(1,3),Bt=Pe.substring(3,5),ht=Pe.substring(5,7)),vt=parseInt(vt,16),Bt=parseInt(Bt,16),ht=parseInt(ht,16)}}return{r:vt,g:Bt,b:ht,a:Yt,style:Pe}},ve=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},kt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};jt.prototype.fillText=function(Pe,vt,Bt,ht){if(isNaN(vt)||isNaN(Bt)||typeof Pe!="string")throw Y.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(ht=isNaN(ht)?void 0:ht,!ve.call(this)){var Yt=Tt(this.ctx.transform.rotation),dr=this.ctx.transform.scaleX;Be.call(this,{text:Pe,x:vt,y:Bt,scale:dr,angle:Yt,align:this.textAlign,maxWidth:ht})}},jt.prototype.strokeText=function(Pe,vt,Bt,ht){if(isNaN(vt)||isNaN(Bt)||typeof Pe!="string")throw Y.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!kt.call(this)){ht=isNaN(ht)?void 0:ht;var Yt=Tt(this.ctx.transform.rotation),dr=this.ctx.transform.scaleX;Be.call(this,{text:Pe,x:vt,y:Bt,scale:dr,renderingMode:"stroke",angle:Yt,align:this.textAlign,maxWidth:ht})}},jt.prototype.measureText=function(Pe){if(typeof Pe!="string")throw Y.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var vt=this.pdf,Bt=this.pdf.internal.scaleFactor,ht=vt.internal.getFontSize(),Yt=vt.getStringUnitWidth(Pe)*ht/vt.internal.scaleFactor;return new function(dr){var fr=(dr=dr||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return fr}}),this}({width:Yt*=Math.round(96*Bt/72*1e4)/1e4})},jt.prototype.scale=function(Pe,vt){if(isNaN(Pe)||isNaN(vt))throw Y.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var Bt=new ee(Pe,0,0,vt,0,0);this.ctx.transform=this.ctx.transform.multiply(Bt)},jt.prototype.rotate=function(Pe){if(isNaN(Pe))throw Y.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var vt=new ee(Math.cos(Pe),Math.sin(Pe),-Math.sin(Pe),Math.cos(Pe),0,0);this.ctx.transform=this.ctx.transform.multiply(vt)},jt.prototype.translate=function(Pe,vt){if(isNaN(Pe)||isNaN(vt))throw Y.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var Bt=new ee(1,0,0,1,Pe,vt);this.ctx.transform=this.ctx.transform.multiply(Bt)},jt.prototype.transform=function(Pe,vt,Bt,ht,Yt,dr){if(isNaN(Pe)||isNaN(vt)||isNaN(Bt)||isNaN(ht)||isNaN(Yt)||isNaN(dr))throw Y.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var fr=new ee(Pe,vt,Bt,ht,Yt,dr);this.ctx.transform=this.ctx.transform.multiply(fr)},jt.prototype.setTransform=function(Pe,vt,Bt,ht,Yt,dr){Pe=isNaN(Pe)?1:Pe,vt=isNaN(vt)?0:vt,Bt=isNaN(Bt)?0:Bt,ht=isNaN(ht)?1:ht,Yt=isNaN(Yt)?0:Yt,dr=isNaN(dr)?0:dr,this.ctx.transform=new ee(Pe,vt,Bt,ht,Yt,dr)};var Ge=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};jt.prototype.drawImage=function(Pe,vt,Bt,ht,Yt,dr,fr,Er,Lr){var Rr=this.pdf.getImageProperties(Pe),cn=1,Sn=1,Mr=1,Lt=1;ht!==void 0&&Er!==void 0&&(Mr=Er/ht,Lt=Lr/Yt,cn=Rr.width/ht*Er/ht,Sn=Rr.height/Yt*Lr/Yt),dr===void 0&&(dr=vt,fr=Bt,vt=0,Bt=0),ht!==void 0&&Er===void 0&&(Er=ht,Lr=Yt),ht===void 0&&Er===void 0&&(Er=Rr.width,Lr=Rr.height);for(var ba,da=this.ctx.transform.decompose(),Hn=Tt(da.rotate.shx),an=new ee,dn=(an=(an=(an=an.multiply(da.translate)).multiply(da.skew)).multiply(da.scale)).applyToRectangle(new Z(dr-vt*Mr,fr-Bt*Lt,ht*cn,Yt*Sn)),Gr=Zt.call(this,dn),sa=[],Vn=0;Vn<Gr.length;Vn+=1)sa.indexOf(Gr[Vn])===-1&&sa.push(Gr[Vn]);if(yr(sa),this.autoPaging)for(var xa=sa[0],_n=sa[sa.length-1],la=xa;la<_n+1;la++){this.pdf.setPage(la);var La=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],na=la===1?this.posY+this.margin[0]:this.margin[0],kn=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],aa=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Fn=la===1?0:kn+(la-2)*aa;if(this.ctx.clip_path.length!==0){var Ln=this.path;ba=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ar(ba,this.posX+this.margin[3],-Fn+na+this.ctx.prevPageLastElemOffset),nt.call(this,"fill",!0),this.path=Ln}var Xn=JSON.parse(JSON.stringify(dn));Xn=ar([Xn],this.posX+this.margin[3],-Fn+na+this.ctx.prevPageLastElemOffset)[0];var Qr=(la>xa||la<_n)&&Ge.call(this);Qr&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],La,aa,null).clip().discardPath()),this.pdf.addImage(Pe,"JPEG",Xn.x,Xn.y,Xn.w,Xn.h,null,null,Hn),Qr&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Pe,"JPEG",dn.x,dn.y,dn.w,dn.h,null,null,Hn)};var Zt=function(Pe,vt,Bt){var ht=[];vt=vt||this.pdf.internal.pageSize.width,Bt=Bt||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Yt=this.posY+this.ctx.prevPageLastElemOffset;switch(Pe.type){default:case"mt":case"lt":ht.push(Math.floor((Pe.y+Yt)/Bt)+1);break;case"arc":ht.push(Math.floor((Pe.y+Yt-Pe.radius)/Bt)+1),ht.push(Math.floor((Pe.y+Yt+Pe.radius)/Bt)+1);break;case"qct":var dr=ir(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pe.x1,Pe.y1,Pe.x,Pe.y);ht.push(Math.floor((dr.y+Yt)/Bt)+1),ht.push(Math.floor((dr.y+dr.h+Yt)/Bt)+1);break;case"bct":var fr=Zr(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Pe.x1,Pe.y1,Pe.x2,Pe.y2,Pe.x,Pe.y);ht.push(Math.floor((fr.y+Yt)/Bt)+1),ht.push(Math.floor((fr.y+fr.h+Yt)/Bt)+1);break;case"rect":ht.push(Math.floor((Pe.y+Yt)/Bt)+1),ht.push(Math.floor((Pe.y+Pe.h+Yt)/Bt)+1)}for(var Er=0;Er<ht.length;Er+=1)for(;this.pdf.internal.getNumberOfPages()<ht[Er];)pt.call(this);return ht},pt=function(){var Pe=this.fillStyle,vt=this.strokeStyle,Bt=this.font,ht=this.lineCap,Yt=this.lineWidth,dr=this.lineJoin;this.pdf.addPage(),this.fillStyle=Pe,this.strokeStyle=vt,this.font=Bt,this.lineCap=ht,this.lineWidth=Yt,this.lineJoin=dr},ar=function(Pe,vt,Bt){for(var ht=0;ht<Pe.length;ht++)switch(Pe[ht].type){case"bct":Pe[ht].x2+=vt,Pe[ht].y2+=Bt;case"qct":Pe[ht].x1+=vt,Pe[ht].y1+=Bt;default:Pe[ht].x+=vt,Pe[ht].y+=Bt}return Pe},yr=function(Pe){return Pe.sort(function(vt,Bt){return vt-Bt})},Qt=function(Pe,vt){for(var Bt,ht,Yt=this.fillStyle,dr=this.strokeStyle,fr=this.lineCap,Er=this.lineWidth,Lr=Math.abs(Er*this.ctx.transform.scaleX),Rr=this.lineJoin,cn=JSON.parse(JSON.stringify(this.path)),Sn=JSON.parse(JSON.stringify(this.path)),Mr=[],Lt=0;Lt<Sn.length;Lt++)if(Sn[Lt].x!==void 0)for(var ba=Zt.call(this,Sn[Lt]),da=0;da<ba.length;da+=1)Mr.indexOf(ba[da])===-1&&Mr.push(ba[da]);for(var Hn=0;Hn<Mr.length;Hn++)for(;this.pdf.internal.getNumberOfPages()<Mr[Hn];)pt.call(this);if(yr(Mr),this.autoPaging)for(var an=Mr[0],dn=Mr[Mr.length-1],Gr=an;Gr<dn+1;Gr++){this.pdf.setPage(Gr),this.fillStyle=Yt,this.strokeStyle=dr,this.lineCap=fr,this.lineWidth=Lr,this.lineJoin=Rr;var sa=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Vn=Gr===1?this.posY+this.margin[0]:this.margin[0],xa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_n=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],la=Gr===1?0:xa+(Gr-2)*_n;if(this.ctx.clip_path.length!==0){var La=this.path;Bt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ar(Bt,this.posX+this.margin[3],-la+Vn+this.ctx.prevPageLastElemOffset),nt.call(this,Pe,!0),this.path=La}if(ht=JSON.parse(JSON.stringify(cn)),this.path=ar(ht,this.posX+this.margin[3],-la+Vn+this.ctx.prevPageLastElemOffset),vt===!1||Gr===0){var na=(Gr>an||Gr<dn)&&Ge.call(this);na&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],sa,_n,null).clip().discardPath()),nt.call(this,Pe,vt),na&&this.pdf.restoreGraphicsState()}this.lineWidth=Er}else this.lineWidth=Lr,nt.call(this,Pe,vt),this.lineWidth=Er;this.path=cn},nt=function(Pe,vt){if((Pe!=="stroke"||vt||!kt.call(this))&&(Pe==="stroke"||vt||!ve.call(this))){for(var Bt,ht,Yt=[],dr=this.path,fr=0;fr<dr.length;fr++){var Er=dr[fr];switch(Er.type){case"begin":Yt.push({begin:!0});break;case"close":Yt.push({close:!0});break;case"mt":Yt.push({start:Er,deltas:[],abs:[]});break;case"lt":var Lr=Yt.length;if(dr[fr-1]&&!isNaN(dr[fr-1].x)&&(Bt=[Er.x-dr[fr-1].x,Er.y-dr[fr-1].y],Lr>0)){for(;Lr>=0;Lr--)if(Yt[Lr-1].close!==!0&&Yt[Lr-1].begin!==!0){Yt[Lr-1].deltas.push(Bt),Yt[Lr-1].abs.push(Er);break}}break;case"bct":Bt=[Er.x1-dr[fr-1].x,Er.y1-dr[fr-1].y,Er.x2-dr[fr-1].x,Er.y2-dr[fr-1].y,Er.x-dr[fr-1].x,Er.y-dr[fr-1].y],Yt[Yt.length-1].deltas.push(Bt);break;case"qct":var Rr=dr[fr-1].x+2/3*(Er.x1-dr[fr-1].x),cn=dr[fr-1].y+2/3*(Er.y1-dr[fr-1].y),Sn=Er.x+2/3*(Er.x1-Er.x),Mr=Er.y+2/3*(Er.y1-Er.y),Lt=Er.x,ba=Er.y;Bt=[Rr-dr[fr-1].x,cn-dr[fr-1].y,Sn-dr[fr-1].x,Mr-dr[fr-1].y,Lt-dr[fr-1].x,ba-dr[fr-1].y],Yt[Yt.length-1].deltas.push(Bt);break;case"arc":Yt.push({deltas:[],abs:[],arc:!0}),Array.isArray(Yt[Yt.length-1].abs)&&Yt[Yt.length-1].abs.push(Er)}}ht=vt?null:Pe==="stroke"?"stroke":"fill";for(var da=!1,Hn=0;Hn<Yt.length;Hn++)if(Yt[Hn].arc)for(var an=Yt[Hn].abs,dn=0;dn<an.length;dn++){var Gr=an[dn];Gr.type==="arc"?Mt.call(this,Gr.x,Gr.y,Gr.radius,Gr.startAngle,Gr.endAngle,Gr.counterclockwise,void 0,vt,!da):St.call(this,Gr.x,Gr.y),da=!0}else if(Yt[Hn].close===!0)this.pdf.internal.out("h"),da=!1;else if(Yt[Hn].begin!==!0){var sa=Yt[Hn].start.x,Vn=Yt[Hn].start.y;ct.call(this,Yt[Hn].deltas,sa,Vn),da=!0}ht&&Ot.call(this,ht),vt&&Jt.call(this)}},Se=function(Pe){var vt=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,Bt=vt*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Pe-Bt;case"top":return Pe+vt-Bt;case"hanging":return Pe+vt-2*Bt;case"middle":return Pe+vt/2-Bt;default:return Pe}},Vt=function(Pe){return Pe+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};jt.prototype.createLinearGradient=function(){var Pe=function(){};return Pe.colorStops=[],Pe.addColorStop=function(vt,Bt){this.colorStops.push([vt,Bt])},Pe.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Pe.isCanvasGradient=!0,Pe},jt.prototype.createPattern=function(){return this.createLinearGradient()},jt.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Mt=function(Pe,vt,Bt,ht,Yt,dr,fr,Er,Lr){for(var Rr=gr.call(this,Bt,ht,Yt,dr),cn=0;cn<Rr.length;cn++){var Sn=Rr[cn];cn===0&&(Lr?ke.call(this,Sn.x1+Pe,Sn.y1+vt):St.call(this,Sn.x1+Pe,Sn.y1+vt)),cr.call(this,Pe,vt,Sn.x2,Sn.y2,Sn.x3,Sn.y3,Sn.x4,Sn.y4)}Er?Jt.call(this):Ot.call(this,fr)},Ot=function(Pe){switch(Pe){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(Pe,vt){this.pdf.internal.out(p(Pe)+" "+b(vt)+" m")},Be=function(Pe){var vt;switch(Pe.align){case"right":case"end":vt="right";break;case"center":vt="center";break;default:vt="left"}var Bt=this.pdf.getTextDimensions(Pe.text),ht=Se.call(this,Pe.y),Yt=Vt.call(this,ht)-Bt.h,dr=this.ctx.transform.applyToPoint(new T(Pe.x,ht)),fr=this.ctx.transform.decompose(),Er=new ee;Er=(Er=(Er=Er.multiply(fr.translate)).multiply(fr.skew)).multiply(fr.scale);for(var Lr,Rr,cn,Sn=this.ctx.transform.applyToRectangle(new Z(Pe.x,ht,Bt.w,Bt.h)),Mr=Er.applyToRectangle(new Z(Pe.x,Yt,Bt.w,Bt.h)),Lt=Zt.call(this,Mr),ba=[],da=0;da<Lt.length;da+=1)ba.indexOf(Lt[da])===-1&&ba.push(Lt[da]);if(yr(ba),this.autoPaging)for(var Hn=ba[0],an=ba[ba.length-1],dn=Hn;dn<an+1;dn++){this.pdf.setPage(dn);var Gr=dn===1?this.posY+this.margin[0]:this.margin[0],sa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Vn=this.pdf.internal.pageSize.height-this.margin[2],xa=Vn-this.margin[0],_n=this.pdf.internal.pageSize.width-this.margin[1],la=_n-this.margin[3],La=dn===1?0:sa+(dn-2)*xa;if(this.ctx.clip_path.length!==0){var na=this.path;Lr=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=ar(Lr,this.posX+this.margin[3],-1*La+Gr),nt.call(this,"fill",!0),this.path=na}var kn=ar([JSON.parse(JSON.stringify(Mr))],this.posX+this.margin[3],-La+Gr+this.ctx.prevPageLastElemOffset)[0];Pe.scale>=.01&&(Rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Rr*Pe.scale),cn=this.lineWidth,this.lineWidth=cn*Pe.scale);var aa=this.autoPaging!=="text";if(aa||kn.y+kn.h<=Vn){if(aa||kn.y>=Gr&&kn.x<=_n){var Fn=aa?Pe.text:this.pdf.splitTextToSize(Pe.text,Pe.maxWidth||_n-kn.x)[0],Ln=ar([JSON.parse(JSON.stringify(Sn))],this.posX+this.margin[3],-La+Gr+this.ctx.prevPageLastElemOffset)[0],Xn=aa&&(dn>Hn||dn<an)&&Ge.call(this);Xn&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],la,xa,null).clip().discardPath()),this.pdf.text(Fn,Ln.x,Ln.y,{angle:Pe.angle,align:vt,renderingMode:Pe.renderingMode}),Xn&&this.pdf.restoreGraphicsState()}}else kn.y<Vn&&(this.ctx.prevPageLastElemOffset+=Vn-kn.y);Pe.scale>=.01&&(this.pdf.setFontSize(Rr),this.lineWidth=cn)}else Pe.scale>=.01&&(Rr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(Rr*Pe.scale),cn=this.lineWidth,this.lineWidth=cn*Pe.scale),this.pdf.text(Pe.text,dr.x+this.posX,dr.y+this.posY,{angle:Pe.angle,align:vt,renderingMode:Pe.renderingMode,maxWidth:Pe.maxWidth}),Pe.scale>=.01&&(this.pdf.setFontSize(Rr),this.lineWidth=cn)},St=function(Pe,vt,Bt,ht){Bt=Bt||0,ht=ht||0,this.pdf.internal.out(p(Pe+Bt)+" "+b(vt+ht)+" l")},ct=function(Pe,vt,Bt){return this.pdf.lines(Pe,vt,Bt,null,null)},cr=function(Pe,vt,Bt,ht,Yt,dr,fr,Er){this.pdf.internal.out([s($(Bt+Pe)),s(v(ht+vt)),s($(Yt+Pe)),s(v(dr+vt)),s($(fr+Pe)),s(v(Er+vt)),"c"].join(" "))},gr=function(Pe,vt,Bt,ht){for(var Yt=2*Math.PI,dr=Math.PI/2;vt>Bt;)vt-=Yt;var fr=Math.abs(Bt-vt);fr<Yt&&ht&&(fr=Yt-fr);for(var Er=[],Lr=ht?-1:1,Rr=vt;fr>1e-5;){var cn=Rr+Lr*Math.min(fr,dr);Er.push(Xt.call(this,Pe,Rr,cn)),fr-=Math.abs(cn-Rr),Rr=cn}return Er},Xt=function(Pe,vt,Bt){var ht=(Bt-vt)/2,Yt=Pe*Math.cos(ht),dr=Pe*Math.sin(ht),fr=Yt,Er=-dr,Lr=fr*fr+Er*Er,Rr=Lr+fr*Yt+Er*dr,cn=4/3*(Math.sqrt(2*Lr*Rr)-Rr)/(fr*dr-Er*Yt),Sn=fr-cn*Er,Mr=Er+cn*fr,Lt=Sn,ba=-Mr,da=ht+vt,Hn=Math.cos(da),an=Math.sin(da);return{x1:Pe*Math.cos(vt),y1:Pe*Math.sin(vt),x2:Sn*Hn-Mr*an,y2:Sn*an+Mr*Hn,x3:Lt*Hn-ba*an,y3:Lt*an+ba*Hn,x4:Pe*Math.cos(Bt),y4:Pe*Math.sin(Bt)}},Tt=function(Pe){return 180*Pe/Math.PI},ir=function(Pe,vt,Bt,ht,Yt,dr){var fr=Pe+.5*(Bt-Pe),Er=vt+.5*(ht-vt),Lr=Yt+.5*(Bt-Yt),Rr=dr+.5*(ht-dr),cn=Math.min(Pe,Yt,fr,Lr),Sn=Math.max(Pe,Yt,fr,Lr),Mr=Math.min(vt,dr,Er,Rr),Lt=Math.max(vt,dr,Er,Rr);return new Z(cn,Mr,Sn-cn,Lt-Mr)},Zr=function(Pe,vt,Bt,ht,Yt,dr,fr,Er){var Lr,Rr,cn,Sn,Mr,Lt,ba,da,Hn,an,dn,Gr,sa,Vn,xa=Bt-Pe,_n=ht-vt,la=Yt-Bt,La=dr-ht,na=fr-Yt,kn=Er-dr;for(Rr=0;Rr<41;Rr++)Hn=(ba=(cn=Pe+(Lr=Rr/40)*xa)+Lr*((Mr=Bt+Lr*la)-cn))+Lr*(Mr+Lr*(Yt+Lr*na-Mr)-ba),an=(da=(Sn=vt+Lr*_n)+Lr*((Lt=ht+Lr*La)-Sn))+Lr*(Lt+Lr*(dr+Lr*kn-Lt)-da),Rr==0?(dn=Hn,Gr=an,sa=Hn,Vn=an):(dn=Math.min(dn,Hn),Gr=Math.min(Gr,an),sa=Math.max(sa,Hn),Vn=Math.max(Vn,an));return new Z(Math.round(dn),Math.round(Gr),Math.round(sa-dn),Math.round(Vn-Gr))},Wt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Pe,vt,Bt=(Pe=this.ctx.lineDash,vt=this.ctx.lineDashOffset,JSON.stringify({lineDash:Pe,lineDashOffset:vt}));this.prevLineDash!==Bt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=Bt)}}})(R.API),function(f){var s=function(T){var Z,ee,Ee,st,jt,At,ve,kt,Ge,Zt;for(/[^\x00-\xFF]/.test(T),ee=[],Ee=0,st=(T+=Z="\0\0\0\0".slice(T.length%4||4)).length;st>Ee;Ee+=4)(jt=(T.charCodeAt(Ee)<<24)+(T.charCodeAt(Ee+1)<<16)+(T.charCodeAt(Ee+2)<<8)+T.charCodeAt(Ee+3))!==0?(At=(jt=((jt=((jt=((jt=(jt-(Zt=jt%85))/85)-(Ge=jt%85))/85)-(kt=jt%85))/85)-(ve=jt%85))/85)%85,ee.push(At+33,ve+33,kt+33,Ge+33,Zt+33)):ee.push(122);return function(pt,ar){for(var yr=ar;yr>0;yr--)pt.pop()}(ee,Z.length),String.fromCharCode.apply(String,ee)+"~>"},p=function(T){var Z,ee,Ee,st,jt,At=String,ve="length",kt=255,Ge="charCodeAt",Zt="slice",pt="replace";for(T[Zt](-2),T=T[Zt](0,-2)[pt](/\s/g,"")[pt]("z","!!!!!"),Ee=[],st=0,jt=(T+=Z="uuuuu"[Zt](T[ve]%5||5))[ve];jt>st;st+=5)ee=52200625*(T[Ge](st)-33)+614125*(T[Ge](st+1)-33)+7225*(T[Ge](st+2)-33)+85*(T[Ge](st+3)-33)+(T[Ge](st+4)-33),Ee.push(kt&ee>>24,kt&ee>>16,kt&ee>>8,kt&ee);return function(ar,yr){for(var Qt=yr;Qt>0;Qt--)ar.pop()}(Ee,Z[ve]),At.fromCharCode.apply(At,Ee)},b=function(T){return T.split("").map(function(Z){return("0"+Z.charCodeAt().toString(16)).slice(-2)}).join("")+">"},$=function(T){var Z=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((T=T.replace(/\s/g,"")).indexOf(">")!==-1&&(T=T.substr(0,T.indexOf(">"))),T.length%2&&(T+="0"),Z.test(T)===!1)return"";for(var ee="",Ee=0;Ee<T.length;Ee+=2)ee+=String.fromCharCode("0x"+(T[Ee]+T[Ee+1]));return ee},v=function(T){for(var Z=new Uint8Array(T.length),ee=T.length;ee--;)Z[ee]=T.charCodeAt(ee);return(Z=(0,Je.iZ)(Z)).reduce(function(Ee,st){return Ee+String.fromCharCode(st)},"")};f.processDataByFilters=function(T,Z){var ee=0,Ee=T||"",st=[];for(typeof(Z=Z||[])=="string"&&(Z=[Z]),ee=0;ee<Z.length;ee+=1)switch(Z[ee]){case"ASCII85Decode":case"/ASCII85Decode":Ee=p(Ee),st.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":Ee=s(Ee),st.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":Ee=$(Ee),st.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":Ee=b(Ee),st.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":Ee=v(Ee),st.push("/FlateDecode");break;default:throw new Error('The filter: "'+Z[ee]+'" is not implemented')}return{data:Ee,reverseChain:st.reverse().join(" ")}}}(R.API),function(f){f.loadFile=function(s,p,b){return function($,v,T){v=v!==!1,T=typeof T=="function"?T:function(){};var Z=void 0;try{Z=function(ee,Ee,st){var jt=new XMLHttpRequest,At=0,ve=function(kt){var Ge=kt.length,Zt=[],pt=String.fromCharCode;for(At=0;At<Ge;At+=1)Zt.push(pt(255&kt.charCodeAt(At)));return Zt.join("")};if(jt.open("GET",ee,!Ee),jt.overrideMimeType("text/plain; charset=x-user-defined"),Ee===!1&&(jt.onload=function(){jt.status===200?st(ve(this.responseText)):st(void 0)}),jt.send(null),Ee&&jt.status===200)return ve(jt.responseText)}($,v,T)}catch(ee){}return Z}(s,p,b)},f.loadImageFile=f.loadFile}(R.API),function(f){function s(){return(J.html2canvas?Promise.resolve(J.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(J.DOMPurify?Promise.resolve(J.DOMPurify):n.e(4038).then(n.bind(n,94038))).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"},$=function(Z,ee){var Ee=document.createElement(Z);for(var st in ee.className&&(Ee.className=ee.className),ee.innerHTML&&ee.dompurify&&(Ee.innerHTML=ee.dompurify.sanitize(ee.innerHTML)),ee.style)Ee.style[st]=ee.style[st];return Ee},v=function Z(ee,Ee){for(var st=ee.nodeType===3?document.createTextNode(ee.nodeValue):ee.cloneNode(!1),jt=ee.firstChild;jt;jt=jt.nextSibling)Ee!==!0&&jt.nodeType===1&&jt.nodeName==="SCRIPT"||st.appendChild(Z(jt,Ee));return ee.nodeType===1&&(ee.nodeName==="CANVAS"?(st.width=ee.width,st.height=ee.height,st.getContext("2d").drawImage(ee,0,0)):ee.nodeName!=="TEXTAREA"&&ee.nodeName!=="SELECT"||(st.value=ee.value),st.addEventListener("load",function(){st.scrollTop=ee.scrollTop,st.scrollLeft=ee.scrollLeft},!0)),st},T=function Z(ee){var Ee=Object.assign(Z.convert(Promise.resolve()),JSON.parse(JSON.stringify(Z.template))),st=Z.convert(Promise.resolve(),Ee);return(st=st.setProgress(1,Z,1,[Z])).set(ee)};(T.prototype=Object.create(Promise.prototype)).constructor=T,T.convert=function(Z,ee){return Z.__proto__=ee||T.prototype,Z},T.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"}},T.prototype.from=function(Z,ee){return this.then(function(){switch(ee=ee||function(Ee){switch(b(Ee)){case"string":return"string";case"element":return Ee.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(Z),ee){case"string":return this.then(p).then(function(Ee){return this.set({src:$("div",{innerHTML:Z,dompurify:Ee})})});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.")}})},T.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.")}},T.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=v(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=$("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=$("div",{className:"html2pdf__container",style:Z}),this.prop.container.appendChild(ee),this.prop.container.firstChild.appendChild($("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"})},T.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 Ee=Object.assign({},this.opt.html2canvas);return delete Ee.onrendered,ee(this.prop.container,Ee)}).then(function(ee){(this.opt.html2canvas.onrendered||function(){})(ee),this.prop.canvas=ee,document.body.removeChild(this.prop.overlay)})},T.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 Ee=this.opt.jsPDF,st=this.opt.fontFaces,jt=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,At=Object.assign({async:!0,allowTaint:!0,scale:jt,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 At.onrendered,Ee.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,Ee.context2d.posX=this.opt.x,Ee.context2d.posY=this.opt.y,Ee.context2d.margin=this.opt.margin,Ee.context2d.fontFaces=st,st)for(var ve=0;ve<st.length;++ve){var kt=st[ve],Ge=kt.src.find(function(Zt){return Zt.format==="truetype"});Ge&&Ee.addFont(Ge.url,kt.ref.name,kt.ref.style)}return At.windowHeight=At.windowHeight||0,At.windowHeight=At.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):At.windowHeight,Ee.context2d.save(!0),ee(this.prop.container,At)}).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)})},T.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})},T.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},T.prototype.output=function(Z,ee,Ee){return(Ee=Ee||"pdf").toLowerCase()==="img"||Ee.toLowerCase()==="image"?this.outputImg(Z,ee):this.outputPdf(Z,ee)},T.prototype.outputPdf=function(Z,ee){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(Z,ee)})},T.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.'}})},T.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)})},T.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},T.prototype.set=function(Z){if(b(Z)!=="object")return this;var ee=Object.keys(Z||{}).map(function(Ee){if(Ee in T.template.prop)return function(){this.prop[Ee]=Z[Ee]};switch(Ee){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[Ee]=Z[Ee]}}},this);return this.then(function(){return this.thenList(ee)})},T.prototype.get=function(Z,ee){return this.then(function(){var Ee=Z in T.template.prop?this.prop[Z]:this.opt[Z];return ee?ee(Ee):Ee})},T.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)},T.prototype.setPageSize=function(Z){function ee(Ee,st){return Math.floor(Ee*st/72*96)}return this.then(function(){(Z=Z||R.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})},T.prototype.setProgress=function(Z,ee,Ee,st){return Z!=null&&(this.progress.val=Z),ee!=null&&(this.progress.state=ee),Ee!=null&&(this.progress.n=Ee),st!=null&&(this.progress.stack=st),this.progress.ratio=this.progress.val/this.progress.state,this},T.prototype.updateProgress=function(Z,ee,Ee,st){return this.setProgress(Z?this.progress.val+Z:null,ee||null,Ee?this.progress.n+Ee:null,st?this.progress.stack.concat(st):null)},T.prototype.then=function(Z,ee){var Ee=this;return this.thenCore(Z,ee,function(st,jt){return Ee.updateProgress(null,null,1,[st]),Promise.prototype.then.call(this,function(At){return Ee.updateProgress(null,st),At}).then(st,jt).then(function(At){return Ee.updateProgress(1),At})})},T.prototype.thenCore=function(Z,ee,Ee){Ee=Ee||Promise.prototype.then;var st=this;Z&&(Z=Z.bind(st)),ee&&(ee=ee.bind(st));var jt=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?st:T.convert(Object.assign({},st),Promise.prototype),At=Ee.call(jt,Z,ee);return T.convert(At,st.__proto__)},T.prototype.thenExternal=function(Z,ee){return Promise.prototype.then.call(this,Z,ee)},T.prototype.thenList=function(Z){var ee=this;return Z.forEach(function(Ee){ee=ee.thenCore(Ee)}),ee},T.prototype.catch=function(Z){Z&&(Z=Z.bind(this));var ee=Promise.prototype.catch.call(this,Z);return T.convert(ee,this)},T.prototype.catchExternal=function(Z){return Promise.prototype.catch.call(this,Z)},T.prototype.error=function(Z){return this.then(function(){throw new Error(Z)})},T.prototype.using=T.prototype.set,T.prototype.saveAs=T.prototype.save,T.prototype.export=T.prototype.output,T.prototype.run=T.prototype.then,R.getPageSize=function(Z,ee,Ee){if((0,o.Z)(Z)==="object"){var st=Z;Z=st.orientation,ee=st.unit||ee,Ee=st.format||Ee}ee=ee||"mm",Ee=Ee||"a4",Z=(""+(Z||"P")).toLowerCase();var jt,At=(""+Ee).toLowerCase(),ve={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(ee){case"pt":jt=1;break;case"mm":jt=72/25.4;break;case"cm":jt=72/2.54;break;case"in":jt=72;break;case"px":jt=.75;break;case"pc":case"em":jt=12;break;case"ex":jt=6;break;default:throw"Invalid unit: "+ee}var kt,Ge=0,Zt=0;if(ve.hasOwnProperty(At))Ge=ve[At][1]/jt,Zt=ve[At][0]/jt;else try{Ge=Ee[1],Zt=Ee[0]}catch(pt){throw new Error("Invalid format: "+Ee)}if(Z==="p"||Z==="portrait")Z="p",Zt>Ge&&(kt=Zt,Zt=Ge,Ge=kt);else{if(Z!=="l"&&Z!=="landscape")throw"Invalid orientation: "+Z;Z="l",Ge>Zt&&(kt=Zt,Zt=Ge,Ge=kt)}return{width:Zt,height:Ge,unit:ee,k:jt,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(br):null;var Ee=new T(ee);return ee.worker?Ee:Ee.from(Z).doCallback()}}(R.API),R.API.addJS=function(f){return Ur=f,this.internal.events.subscribe("postPutResources",function(){mt=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(mt+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Ut=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Ur+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){mt!==void 0&&Ut!==void 0&&this.internal.out("/Names <</JavaScript "+mt+" 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.outline.render().split(/\r\n/),v=0;v<$.length;v++){var T=$[v],Z=b.exec(T);if(Z!=null){var ee=Z[1];p.internal.newObjectDeferredBegin(ee,!1)}p.internal.write(T)}if(this.outline.createNamedDestinations){var Ee=this.internal.pages.length,st=[];for(v=0;v<Ee;v++){var jt=p.internal.newObject();st.push(jt);var At=p.internal.getPageInfo(v+1);p.internal.write("<< /D["+At.objId+" 0 R /XYZ null null null]>> endobj")}var ve=p.internal.newObject();for(p.internal.write("<< /Names [ "),v=0;v<st.length;v++)p.internal.write("(page_"+(v+1)+")"+st[v]+" 0 R");p.internal.write(" ] >>","endobj"),s=p.internal.newObject(),p.internal.write("<< /Dests "+ve+" 0 R"),p.internal.write(">>","endobj")}}]),f.events.push(["putCatalog",function(){var p=this;p.outline.root.children.length>0&&(p.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&p.internal.write("/Names "+s+" 0 R"))}]),f.events.push(["initialized",function(){var p=this;p.outline={createNamedDestinations:!1,root:{children:[]}},p.outline.add=function(b,$,v){var T={title:$,options:v,children:[]};return b==null&&(b=this.root),b.children.push(T),T},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 $=0;$<b.children.length;$++)this.genIds_r(b.children[$])},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 $=this.ctx.pdf.internal.getVerticalCoordinateString,v=0;v<b.children.length;v++){var T=b.children[v];this.objStart(T),this.line("/Title "+this.makeString(T.title)),this.line("/Parent "+this.makeRef(b)),v>0&&this.line("/Prev "+this.makeRef(b.children[v-1])),v<b.children.length-1&&this.line("/Next "+this.makeRef(b.children[v+1])),T.children.length>0&&(this.line("/First "+this.makeRef(T.children[0])),this.line("/Last "+this.makeRef(T.children[T.children.length-1])));var Z=this.count=this.count_r({count:0},T);if(Z>0&&this.line("/Count "+Z),T.options&&T.options.pageNumber){var ee=p.internal.getPageInfo(T.options.pageNumber);this.line("/Dest ["+ee.objId+" 0 R /XYZ 0 "+$(0)+" 0]")}this.objEnd()}for(var Ee=0;Ee<b.children.length;Ee++)this.renderItems(b.children[Ee])},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,$){for(var v=0;v<$.children.length;v++)b.count++,this.count_r(b,$.children[v]);return b.count}}])}(R.API),function(f){var s=[192,193,194,195,196,197,198,199];f.processJPEG=function(p,b,$,v,T,Z){var ee,Ee=this.decode.DCT_DECODE,st=null;if(typeof p=="string"||this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p)){switch(p=T||p,p=this.__addimage__.isArrayBuffer(p)?new Uint8Array(p):p,ee=function(jt){for(var At,ve=256*jt.charCodeAt(4)+jt.charCodeAt(5),kt=jt.length,Ge={width:0,height:0,numcomponents:1},Zt=4;Zt<kt;Zt+=2){if(Zt+=ve,s.indexOf(jt.charCodeAt(Zt+1))!==-1){At=256*jt.charCodeAt(Zt+5)+jt.charCodeAt(Zt+6),Ge={width:256*jt.charCodeAt(Zt+7)+jt.charCodeAt(Zt+8),height:At,numcomponents:jt.charCodeAt(Zt+9)};break}ve=256*jt.charCodeAt(Zt+2)+jt.charCodeAt(Zt+3)}return Ge}(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}st={data:p,width:ee.width,height:ee.height,colorSpace:Z,bitsPerComponent:8,filter:Ee,index:b,alias:$}}return st}}(R.API),R.API.processPNG=function(f,s,p,b){if(this.__addimage__.isArrayBuffer(f)&&(f=new Uint8Array(f)),this.__addimage__.isArrayBufferView(f)){var $,v=(0,Re.Jx)(f,{checkCrc:!0}),T=v.width,Z=v.height,ee=v.channels,Ee=v.palette,st=v.depth;$=Ee&&ee===1?function(Mt){for(var Ot=Mt.width,Jt=Mt.height,ke=Mt.data,Be=Mt.palette,St=Mt.depth,ct=!1,cr=[],gr=[],Xt=void 0,Tt=!1,ir=0,Zr=0;Zr<Be.length;Zr++){var Wt=(0,B.Z)(Be[Zr],4),Pe=Wt[0],vt=Wt[1],Bt=Wt[2],ht=Wt[3];cr.push(Pe,vt,Bt),ht!=null&&(ht===0?(ir++,gr.length<1&&gr.push(Zr)):ht<255&&(Tt=!0))}if(Tt||ir>1){ct=!0,gr=void 0;var Yt=Ot*Jt;Xt=new Uint8Array(Yt);for(var dr=new DataView(ke.buffer),fr=0;fr<Yt;fr++){var Er=or(dr,fr,St),Lr=(0,B.Z)(Be[Er],4)[3];Xt[fr]=Lr}}else ir===0&&(gr=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:ct?8:void 0,colorBytes:ke,alphaBytes:Xt,needSMask:ct,palette:cr,mask:gr}}(v):ee===2||ee===4?function(Mt){for(var Ot=Mt.data,Jt=Mt.width,ke=Mt.height,Be=Mt.channels,St=Mt.depth,ct=Be===2?"DeviceGray":"DeviceRGB",cr=Be-1,gr=Jt*ke,Xt=cr,Tt=gr*Xt,ir=1*gr,Zr=Math.ceil(Tt*St/8),Wt=Math.ceil(ir*St/8),Pe=new Uint8Array(Zr),vt=new Uint8Array(Wt),Bt=new DataView(Ot.buffer),ht=new DataView(Pe.buffer),Yt=new DataView(vt.buffer),dr=!1,fr=0;fr<gr;fr++){for(var Er=fr*Be,Lr=0;Lr<Xt;Lr++)jr(ht,or(Bt,Er+Lr,St),fr*Xt+Lr,St);var Rr=or(Bt,Er+Xt,St);Rr<(1<<St)-1&&(dr=!0),jr(Yt,Rr,1*fr,St)}return{colorSpace:ct,colorsPerPixel:cr,sMaskBitsPerComponent:dr?St:void 0,colorBytes:Pe,alphaBytes:vt,needSMask:dr}}(v):function(Mt){var Ot=Mt.data,Jt=Mt.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Jt,colorsPerPixel:Jt==="DeviceGray"?1:3,colorBytes:Ot instanceof Uint16Array?function(ke){for(var Be=ke.length,St=new Uint8Array(2*Be),ct=new DataView(St.buffer,St.byteOffset,St.byteLength),cr=0;cr<Be;cr++)ct.setUint16(2*cr,ke[cr],!1);return St}(Ot):Ot,needSMask:!1}}(v);var jt,At,ve,kt=$,Ge=kt.colorSpace,Zt=kt.colorsPerPixel,pt=kt.sMaskBitsPerComponent,ar=kt.colorBytes,yr=kt.alphaBytes,Qt=kt.needSMask,nt=kt.palette,Se=kt.mask,Vt=null;return b!==R.API.image_compression.NONE&&typeof Je.iZ=="function"?(Vt=function(Mt){var Ot;switch(Mt){case R.API.image_compression.FAST:Ot=11;break;case R.API.image_compression.MEDIUM:Ot=13;break;case R.API.image_compression.SLOW:Ot=14;break;default:Ot=12}return Ot}(b),jt=this.decode.FLATE_DECODE,At="/Predictor ".concat(Vt," /Colors ").concat(Zt," /BitsPerComponent ").concat(st," /Columns ").concat(T),f=et(ar,Math.ceil(T*Zt*st/8),Zt,st,b),Qt&&(ve=et(yr,Math.ceil(T*pt/8),1,pt,b))):(jt=void 0,At=void 0,f=ar,Qt&&(ve=yr)),(this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),(ve&&this.__addimage__.isArrayBuffer(ve)||this.__addimage__.isArrayBufferView(ve))&&(ve=this.__addimage__.arrayBufferToBinaryString(ve)),{alias:p,data:f,index:s,filter:jt,decodeParameters:At,transparency:Se,palette:nt,sMask:ve,predictor:Vt,width:T,height:Z,bitsPerComponent:st,sMaskBitsPerComponent:pt,colorSpace:Ge}}},function(f){f.processGIF89A=function(s,p,b,$){var v=new Wr(s),T=v.width,Z=v.height,ee=[];v.decodeAndBlitFrameRGBA(0,ee);var Ee={data:ee,width:T,height:Z},st=new nn(100).encode(Ee,100);return f.processJPEG.call(this,st,p,b,$)},f.processGIF87A=f.processGIF89A}(R.API),sn.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),$=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0);this.palette[s]={red:$,green:b,blue:p,quad:v}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},sn.prototype.parseBGR=function(){this.pos=this.offset;try{var f="bit"+this.bitPP,s=this.width*this.height*4;this.data=new Uint8Array(s),this[f]()}catch(p){Y.log("bit decode error:"+p)}},sn.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,$=0;$<s;$++)for(var v=this.datav.getUint8(this.pos++,!0),T=b*this.width*4+8*$*4,Z=0;Z<8&&8*$+Z<this.width;Z++){var ee=this.palette[v>>7-Z&1];this.data[T+4*Z]=ee.blue,this.data[T+4*Z+1]=ee.green,this.data[T+4*Z+2]=ee.red,this.data[T+4*Z+3]=255}p!==0&&(this.pos+=4-p)}},sn.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,$=0;$<f;$++){var v=this.datav.getUint8(this.pos++,!0),T=b*this.width*4+2*$*4,Z=v>>4,ee=15&v,Ee=this.palette[Z];if(this.data[T]=Ee.blue,this.data[T+1]=Ee.green,this.data[T+2]=Ee.red,this.data[T+3]=255,2*$+1>=this.width)break;Ee=this.palette[ee],this.data[T+4]=Ee.blue,this.data[T+4+1]=Ee.green,this.data[T+4+2]=Ee.red,this.data[T+4+3]=255}s!==0&&(this.pos+=4-s)}},sn.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 $=this.datav.getUint8(this.pos++,!0),v=p*this.width*4+4*b;if($<this.palette.length){var T=this.palette[$];this.data[v]=T.red,this.data[v+1]=T.green,this.data[v+2]=T.blue,this.data[v+3]=255}else this.data[v]=255,this.data[v+1]=255,this.data[v+2]=255,this.data[v+3]=255}f!==0&&(this.pos+=4-f)}},sn.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,$=0;$<this.width;$++){var v=this.datav.getUint16(this.pos,!0);this.pos+=2;var T=(v&s)/s*255|0,Z=(v>>5&s)/s*255|0,ee=(v>>10&s)/s*255|0,Ee=v>>15?255:0,st=b*this.width*4+4*$;this.data[st]=ee,this.data[st+1]=Z,this.data[st+2]=T,this.data[st+3]=Ee}this.pos+=f}},sn.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 $=this.bottom_up?b:this.height-1-b,v=0;v<this.width;v++){var T=this.datav.getUint16(this.pos,!0);this.pos+=2;var Z=(T&s)/s*255|0,ee=(T>>5&p)/p*255|0,Ee=(T>>11)/s*255|0,st=$*this.width*4+4*v;this.data[st]=Ee,this.data[st+1]=ee,this.data[st+2]=Z,this.data[st+3]=255}this.pos+=f}},sn.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),$=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),T=s*this.width*4+4*p;this.data[T]=v,this.data[T+1]=$,this.data[T+2]=b,this.data[T+3]=255}this.pos+=this.width%4}},sn.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),$=this.datav.getUint8(this.pos++,!0),v=this.datav.getUint8(this.pos++,!0),T=this.datav.getUint8(this.pos++,!0),Z=s*this.width*4+4*p;this.data[Z]=v,this.data[Z+1]=$,this.data[Z+2]=b,this.data[Z+3]=T}},sn.prototype.getData=function(){return this.data},function(f){f.processBMP=function(s,p,b,$){var v=new sn(s,!1),T=v.width,Z=v.height,ee={data:v.getData(),width:T,height:Z},Ee=new nn(100).encode(ee,100);return f.processJPEG.call(this,Ee,p,b,$)}}(R.API),An.prototype.getData=function(){return this.data},function(f){f.processWEBP=function(s,p,b,$){var v=new An(s),T=v.width,Z=v.height,ee={data:v.getData(),width:T,height:Z},Ee=new nn(100).encode(ee,100);return f.processJPEG.call(this,Ee,p,b,$)}}(R.API),R.API.processRGBA=function(f,s,p){for(var b=f.data,$=b.length,v=new Uint8Array($/4*3),T=new Uint8Array($/4),Z=0,ee=0,Ee=0;Ee<$;Ee+=4){var st=b[Ee],jt=b[Ee+1],At=b[Ee+2],ve=b[Ee+3];v[Z++]=st,v[Z++]=jt,v[Z++]=At,T[ee++]=ve}var kt=this.__addimage__.arrayBufferToBinaryString(v);return{alpha:this.__addimage__.arrayBufferToBinaryString(T),data:kt,index:s,alias:p,colorSpace:"DeviceRGB",bitsPerComponent:8,width:f.width,height:f.height}},R.API.setLanguage=function(f){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[f]!==void 0&&(this.internal.languageSettings.languageCode=f,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Pr=R.API,Yr=Pr.getCharWidthsArray=function(f,s){var p,b,$=(s=s||{}).font||this.internal.getFont(),v=s.fontSize||this.internal.getFontSize(),T=s.charSpace||this.internal.getCharSpace(),Z=s.widths?s.widths:$.metadata.Unicode.widths,ee=Z.fof?Z.fof:1,Ee=s.kerning?s.kerning:$.metadata.Unicode.kerning,st=Ee.fof?Ee.fof:1,jt=s.doKerning!==!1,At=0,ve=f.length,kt=0,Ge=Z[0]||ee,Zt=[];for(p=0;p<ve;p++)b=f.charCodeAt(p),typeof $.metadata.widthOfString=="function"?Zt.push(($.metadata.widthOfGlyph($.metadata.characterToGlyph(b))+T*(1e3/v)||0)/1e3):(At=jt&&(0,o.Z)(Ee[b])==="object"&&!isNaN(parseInt(Ee[b][kt],10))?Ee[b][kt]/st:0,Zt.push((Z[b]||Ge)/ee+At)),kt=b;return Zt},gn=Pr.getStringUnitWidth=function(f,s){var p=(s=s||{}).fontSize||this.internal.getFontSize(),b=s.font||this.internal.getFont(),$=s.charSpace||this.internal.getCharSpace();return Pr.processArabic&&(f=Pr.processArabic(f)),typeof b.metadata.widthOfString=="function"?b.metadata.widthOfString(f,p,$)/p:Yr.apply(this,arguments).reduce(function(v,T){return v+T},0)},qn=function(f,s,p,b){for(var $=[],v=0,T=f.length,Z=0;v!==T&&Z+s[v]<p;)Z+=s[v],v++;$.push(f.slice(0,v));var ee=v;for(Z=0;v!==T;)Z+s[v]>b&&($.push(f.slice(ee,v)),Z=0,ee=v),Z+=s[v],v++;return ee!==v&&$.push(f.slice(ee,v)),$},pe=function(f,s,p){p||(p={});var b,$,v,T,Z,ee,Ee,st=[],jt=[st],At=p.textIndent||0,ve=0,kt=0,Ge=f.split(" "),Zt=Yr.apply(this,[" ",p])[0];if(ee=p.lineIndent===-1?Ge[0].length+2:p.lineIndent||0){var pt=Array(ee).join(" "),ar=[];Ge.map(function(Qt){(Qt=Qt.split(/\s*\n/)).length>1?ar=ar.concat(Qt.map(function(nt,Se){return(Se&&nt.length?`
|
|
|
`:"")+nt})):ar.push(Qt[0])}),Ge=ar,ee=gn.apply(this,[pt,p])}for(v=0,T=Ge.length;v<T;v++){var yr=0;if(b=Ge[v],ee&&b[0]==`
|
|
|
`&&(b=b.substr(1),yr=1),At+ve+(kt=($=Yr.apply(this,[b,p])).reduce(function(Qt,nt){return Qt+nt},0))>s||yr){if(kt>s){for(Z=qn.apply(this,[b,$,s-(At+ve),s]),st.push(Z.shift()),st=[Z.pop()];Z.length;)jt.push([Z.shift()]);kt=$.slice(b.length-(st[0]?st[0].length:0)).reduce(function(Qt,nt){return Qt+nt},0)}else st=[b];jt.push(st),At=kt+ee,ve=Zt}else st.push(b),At+=ve+kt,ve=Zt}return Ee=ee?function(Qt,nt){return(nt?pt:"")+Qt.join(" ")}:function(Qt){return Qt.join(" ")},jt.map(Ee)},Pr.splitTextToSize=function(f,s,p){var b,$=(p=p||{}).fontSize||this.internal.getFontSize(),v=function(st){if(st.widths&&st.kerning)return{widths:st.widths,kerning:st.kerning};var jt=this.internal.getFont(st.fontName,st.fontStyle),At="Unicode";return jt.metadata[At]?{widths:jt.metadata[At].widths||{0:1},kerning:jt.metadata[At].kerning||{}}:{font:jt.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,p);b=Array.isArray(f)?f:String(f).split(/\r?\n/);var T=1*this.internal.scaleFactor*s/$;v.textIndent=p.textIndent?1*p.textIndent*this.internal.scaleFactor/$:0,v.lineIndent=p.lineIndent;var Z,ee,Ee=[];for(Z=0,ee=b.length;Z<ee;Z++)Ee=Ee.concat(pe.apply(this,[b[Z],T,v]));return Ee},function(f){f.__fontmetrics__=f.__fontmetrics__||{};for(var s="0123456789abcdef",p="klmnopqrstuvwxyz",b={},$={},v=0;v<16;v++)b[p[v]]=s[v],$[s[v]]=p[v];var T=function(At){return"0x"+parseInt(At,10).toString(16)},Z=f.__fontmetrics__.compress=function(At){var ve,kt,Ge,Zt,pt=["{"];for(var ar in At){if(ve=At[ar],isNaN(parseInt(ar,10))?kt="'"+ar+"'":(ar=parseInt(ar,10),kt=(kt=T(ar).slice(2)).slice(0,-1)+$[kt.slice(-1)]),typeof ve=="number")ve<0?(Ge=T(ve).slice(3),Zt="-"):(Ge=T(ve).slice(2),Zt=""),Ge=Zt+Ge.slice(0,-1)+$[Ge.slice(-1)];else{if((0,o.Z)(ve)!=="object")throw new Error("Don't know what to do with value type "+(0,o.Z)(ve)+".");Ge=Z(ve)}pt.push(kt+Ge)}return pt.push("}"),pt.join("")},ee=f.__fontmetrics__.uncompress=function(At){if(typeof At!="string")throw new Error("Invalid argument passed to uncompress.");for(var ve,kt,Ge,Zt,pt={},ar=1,yr=pt,Qt=[],nt="",Se="",Vt=At.length-1,Mt=1;Mt<Vt;Mt+=1)(Zt=At[Mt])=="'"?ve?(Ge=ve.join(""),ve=void 0):ve=[]:ve?ve.push(Zt):Zt=="{"?(Qt.push([yr,Ge]),yr={},Ge=void 0):Zt=="}"?((kt=Qt.pop())[0][kt[1]]=yr,Ge=void 0,yr=kt[0]):Zt=="-"?ar=-1:Ge===void 0?b.hasOwnProperty(Zt)?(nt+=b[Zt],Ge=parseInt(nt,16)*ar,ar=1,nt=""):nt+=Zt:b.hasOwnProperty(Zt)?(Se+=b[Zt],yr[Ge]=parseInt(Se,16)*ar,ar=1,Ge=void 0,Se=""):Se+=Zt;return pt},Ee={codePages:["WinAnsiEncoding"],WinAnsiEncoding:ee("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},st={Unicode:{Courier:Ee,"Courier-Bold":Ee,"Courier-BoldOblique":Ee,"Courier-Oblique":Ee,Helvetica:Ee,"Helvetica-Bold":Ee,"Helvetica-BoldOblique":Ee,"Helvetica-Oblique":Ee,"Times-Roman":Ee,"Times-Bold":Ee,"Times-BoldItalic":Ee,"Times-Italic":Ee}},jt={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(At){var ve=At.font,kt=jt.Unicode[ve.postScriptName];kt&&(ve.metadata.Unicode={},ve.metadata.Unicode.widths=kt.widths,ve.metadata.Unicode.kerning=kt.kerning);var Ge=st.Unicode[ve.postScriptName];Ge&&(ve.metadata.Unicode.encoding=Ge,ve.encoding=Ge.codePages[0])}])}(R.API),function(f){var s=function(p){for(var b=p.length,$=new Uint8Array(b),v=0;v<b;v++)$[v]=p.charCodeAt(v);return $};f.API.events.push(["addFont",function(p){var b=void 0,$=p.font,v=p.instance;if(!$.isStandardFont){if(v===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+$.postScriptName+"').");if(typeof(b=v.existsFileInVFS($.postScriptName)===!1?v.loadFile($.postScriptName):v.getFileFromVFS($.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+$.postScriptName+"').");(function(T,Z){Z=/^\x00\x01\x00\x00/.test(Z)?s(Z):s(G(Z)),T.metadata=f.API.TTFFont.open(Z),T.metadata.Unicode=T.metadata.Unicode||{encoding:{},kerning:{},widths:[]},T.metadata.glyIdsUsed=[0]})($,b)}}])}(R),R.API.addSvgAsImage=function(f,s,p,b,$,v,T,Z){if(isNaN(s)||isNaN(p))throw Y.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(b)||isNaN($))throw Y.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=$;var Ee=ee.getContext("2d");Ee.fillStyle="#fff",Ee.fillRect(0,0,ee.width,ee.height);var st={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},jt=this;return(J.canvg?Promise.resolve(J.canvg):n.e(3754).then(n.bind(n,63754))).catch(function(At){return Promise.reject(new Error("Could not load canvg: "+At))}).then(function(At){return At.default?At.default:At}).then(function(At){return At.fromString(Ee,f,st)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(At){return At.render(st)}).then(function(){jt.addImage(ee.toDataURL("image/jpeg",1),s,p,b,$,T,Z)})},R.API.putTotalPages=function(f){var s,p=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(s=new RegExp(f,"g"),p=this.internal.getNumberOfPages()):(s=new RegExp(this.pdfEscape16(f,this.internal.getFont()),"g"),p=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var b=1;b<=this.internal.getNumberOfPages();b++)for(var $=0;$<this.internal.pages[b].length;$++)this.internal.pages[b][$]=this.internal.pages[b][$].replace(s,p);return this},R.API.viewerPreferences=function(f,s){var p;f=f||{},s=s||!1;var b,$,v,T={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(T),ee=[],Ee=0,st=0,jt=0;function At(kt,Ge){var Zt,pt=!1;for(Zt=0;Zt<kt.length;Zt+=1)kt[Zt]===Ge&&(pt=!0);return pt}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(T)),this.internal.viewerpreferences.isSubscribed=!1),p=this.internal.viewerpreferences.configuration,f==="reset"||s===!0){var ve=Z.length;for(jt=0;jt<ve;jt+=1)p[Z[jt]].value=p[Z[jt]].defaultValue,p[Z[jt]].explicitSet=!1}if((0,o.Z)(f)==="object"){for($ in f)if(v=f[$],At(Z,$)&&v!==void 0){if(p[$].type==="boolean"&&typeof v=="boolean")p[$].value=v;else if(p[$].type==="name"&&At(p[$].valueSet,v))p[$].value=v;else if(p[$].type==="integer"&&Number.isInteger(v))p[$].value=v;else if(p[$].type==="array"){for(Ee=0;Ee<v.length;Ee+=1)if(b=!0,v[Ee].length===1&&typeof v[Ee][0]=="number")ee.push(String(v[Ee]-1));else if(v[Ee].length>1){for(st=0;st<v[Ee].length;st+=1)typeof v[Ee][st]!="number"&&(b=!1);b===!0&&ee.push([v[Ee][0]-1,v[Ee][1]-1].join(" "))}p[$].value="["+ee.join(" ")+"]"}else p[$].value=p[$].defaultValue;p[$].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var kt,Ge=[];for(kt in p)p[kt].explicitSet===!0&&(p[kt].type==="name"?Ge.push("/"+kt+" /"+p[kt].value):Ge.push("/"+kt+" "+p[kt].value));Ge.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+Ge.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>',$=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),v=unescape(encodeURIComponent(b)),T=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),Z=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),ee=unescape(encodeURIComponent("</x:xmpmeta>")),Ee=v.length+T.length+Z.length+$.length+ee.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+Ee+" >>"),this.internal.write("stream"),this.internal.write($+v+T+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,$){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:b,namespaceuri:$||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",p),this.internal.events.subscribe("postPutResources",s)),this}}(R.API),function(f){var s=f.API,p=s.pdfEscape16=function(v,T){for(var Z,ee=T.metadata.Unicode.widths,Ee=["","0","00","000","0000"],st=[""],jt=0,At=v.length;jt<At;++jt){if(Z=T.metadata.characterToGlyph(v.charCodeAt(jt)),T.metadata.glyIdsUsed.push(Z),T.metadata.toUnicode[Z]=v.charCodeAt(jt),ee.indexOf(Z)==-1&&(ee.push(Z),ee.push([parseInt(T.metadata.widthOfGlyph(Z),10)])),Z=="0")return st.join("");Z=Z.toString(16),st.push(Ee[4-Z.length],Z)}return st.join("")},b=function(v){var T,Z,ee,Ee,st,jt,At;for(st=`/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=[],jt=0,At=(Z=Object.keys(v).sort(function(ve,kt){return ve-kt})).length;jt<At;jt++)T=Z[jt],ee.length>=100&&(st+=`
|
|
|
`+ee.length+` beginbfchar
|
|
|
`+ee.join(`
|
|
|
`)+`
|
|
|
endbfchar`,ee=[]),v[T]!==void 0&&v[T]!==null&&typeof v[T].toString=="function"&&(Ee=("0000"+v[T].toString(16)).slice(-4),T=("0000"+(+T).toString(16)).slice(-4),ee.push("<"+T+"><"+Ee+">"));return ee.length&&(st+=`
|
|
|
`+ee.length+` beginbfchar
|
|
|
`+ee.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),st+`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};s.events.push(["putFont",function(v){(function(T){var Z=T.font,ee=T.out,Ee=T.newObject,st=T.putStream;if(Z.metadata instanceof f.API.TTFFont&&Z.encoding==="Identity-H"){for(var jt=Z.metadata.Unicode.widths,At=Z.metadata.subset.encode(Z.metadata.glyIdsUsed,1),ve="",kt=0;kt<At.length;kt++)ve+=String.fromCharCode(At[kt]);var Ge=Ee();st({data:ve,addLength1:!0,objectId:Ge}),ee("endobj");var Zt=Ee();st({data:b(Z.metadata.toUnicode),addLength1:!0,objectId:Zt}),ee("endobj");var pt=Ee();ee("<<"),ee("/Type /FontDescriptor"),ee("/FontName /"+A(Z.fontName)),ee("/FontFile2 "+Ge+" 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 ar=Ee();ee("<<"),ee("/Type /Font"),ee("/BaseFont /"+A(Z.fontName)),ee("/FontDescriptor "+pt+" 0 R"),ee("/W "+f.API.PDFObject.convert(jt)),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=Ee(),ee("<<"),ee("/Type /Font"),ee("/Subtype /Type0"),ee("/ToUnicode "+Zt+" 0 R"),ee("/BaseFont /"+A(Z.fontName)),ee("/Encoding /"+Z.encoding),ee("/DescendantFonts ["+ar+" 0 R]"),ee(">>"),ee("endobj"),Z.isAlreadyPutted=!0}})(v)}]),s.events.push(["putFont",function(v){(function(T){var Z=T.font,ee=T.out,Ee=T.newObject,st=T.putStream;if(Z.metadata instanceof f.API.TTFFont&&Z.encoding==="WinAnsiEncoding"){for(var jt=Z.metadata.rawData,At="",ve=0;ve<jt.length;ve++)At+=String.fromCharCode(jt[ve]);var kt=Ee();st({data:At,addLength1:!0,objectId:kt}),ee("endobj");var Ge=Ee();st({data:b(Z.metadata.toUnicode),addLength1:!0,objectId:Ge}),ee("endobj");var Zt=Ee();ee("<<"),ee("/Descent "+Z.metadata.decender),ee("/CapHeight "+Z.metadata.capHeight),ee("/StemV "+Z.metadata.stemV),ee("/Type /FontDescriptor"),ee("/FontFile2 "+kt+" 0 R"),ee("/Flags 96"),ee("/FontBBox "+f.API.PDFObject.convert(Z.metadata.bbox)),ee("/FontName /"+A(Z.fontName)),ee("/ItalicAngle "+Z.metadata.italicAngle),ee("/Ascent "+Z.metadata.ascender),ee(">>"),ee("endobj"),Z.objectNumber=Ee();for(var pt=0;pt<Z.metadata.hmtx.widths.length;pt++)Z.metadata.hmtx.widths[pt]=parseInt(Z.metadata.hmtx.widths[pt]*(1e3/Z.metadata.head.unitsPerEm));ee("<</Subtype/TrueType/Type/Font/ToUnicode "+Ge+" 0 R/BaseFont/"+A(Z.fontName)+"/FontDescriptor "+Zt+" 0 R/Encoding/"+Z.encoding+" /FirstChar 29 /LastChar 255 /Widths "+f.API.PDFObject.convert(Z.metadata.hmtx.widths)+">>"),ee("endobj"),Z.isAlreadyPutted=!0}})(v)}]);var $=function(v){var T,Z=v.text||"",ee=v.x,Ee=v.y,st=v.options||{},jt=v.mutex||{},At=jt.pdfEscape,ve=jt.activeFontKey,kt=jt.fonts,Ge=ve,Zt="",pt=0,ar="",yr=kt[Ge].encoding;if(kt[Ge].encoding!=="Identity-H")return{text:Z,x:ee,y:Ee,options:st,mutex:jt};for(ar=Z,Ge=ve,Array.isArray(Z)&&(ar=Z[0]),pt=0;pt<ar.length;pt+=1)kt[Ge].metadata.hasOwnProperty("cmap")&&(T=kt[Ge].metadata.cmap.unicode.codeMap[ar[pt].charCodeAt(0)]),T||ar[pt].charCodeAt(0)<256&&kt[Ge].metadata.hasOwnProperty("Unicode")?Zt+=ar[pt]:Zt+="";var Qt="";return parseInt(Ge.slice(1))<14||yr==="WinAnsiEncoding"?Qt=At(Zt,Ge).split("").map(function(nt){return nt.charCodeAt(0).toString(16)}).join(""):yr==="Identity-H"&&(Qt=p(Zt,kt[Ge])),jt.isHex=!0,{text:Qt,x:ee,y:Ee,options:st,mutex:jt}};s.events.push(["postProcessText",function(v){var T=v.text||"",Z=[],ee={text:T,x:v.x,y:v.y,options:v.options,mutex:v.mutex};if(Array.isArray(T)){var Ee=0;for(Ee=0;Ee<T.length;Ee+=1)Array.isArray(T[Ee])&&T[Ee].length===3?Z.push([$(Object.assign({},ee,{text:T[Ee][0]})).text,T[Ee][1],T[Ee][2]]):Z.push($(Object.assign({},ee,{text:T[Ee]})).text);v.text=Z}else v.text=$(Object.assign({},ee,{text:T})).text}])}(R),function(f){var s=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};f.existsFileInVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0},f.addFileToVFS=function(p,b){return s.call(this),this.internal.vFS[p]=b,this},f.getFileFromVFS=function(p){return s.call(this),this.internal.vFS[p]!==void 0?this.internal.vFS[p]:null}}(R.API),function(f){f.__bidiEngine__=f.prototype.__bidiEngine__=function(b){var $,v,T,Z,ee,Ee,st,jt=s,At=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],ve=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],kt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Ge={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},Zt=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],pt=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)$/),ar=!1,yr=0;this.__bidiEngine__={};var Qt=function(ke){var Be=ke.charCodeAt(),St=Be>>8,ct=Ge[St];return ct!==void 0?jt[256*ct+(255&Be)]:St===252||St===253?"AL":pt.test(St)?"L":St===8?"R":"N"},nt=function(ke){for(var Be,St=0;St<ke.length;St++){if((Be=Qt(ke.charAt(St)))==="L")return!1;if(Be==="R")return!0}return!1},Se=function(ke,Be,St,ct){var cr,gr,Xt,Tt,ir=Be[ct];switch(ir){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":ar=!1;break;case"N":case"AN":break;case"EN":ar&&(ir="AN");break;case"AL":ar=!0,ir="R";break;case"WS":case"BN":ir="N";break;case"CS":ct<1||ct+1>=Be.length||(cr=St[ct-1])!=="EN"&&cr!=="AN"||(gr=Be[ct+1])!=="EN"&&gr!=="AN"?ir="N":ar&&(gr="AN"),ir=gr===cr?gr:"N";break;case"ES":ir=(cr=ct>0?St[ct-1]:"B")==="EN"&&ct+1<Be.length&&Be[ct+1]==="EN"?"EN":"N";break;case"ET":if(ct>0&&St[ct-1]==="EN"){ir="EN";break}if(ar){ir="N";break}for(Xt=ct+1,Tt=Be.length;Xt<Tt&&Be[Xt]==="ET";)Xt++;ir=Xt<Tt&&Be[Xt]==="EN"?"EN":"N";break;case"NSM":if(T&&!Z){for(Tt=Be.length,Xt=ct+1;Xt<Tt&&Be[Xt]==="NSM";)Xt++;if(Xt<Tt){var Zr=ke[ct],Wt=Zr>=1425&&Zr<=2303||Zr===64286;if(cr=Be[Xt],Wt&&(cr==="R"||cr==="AL")){ir="R";break}}}ir=ct<1||(cr=Be[ct-1])==="B"?"N":St[ct-1];break;case"B":ar=!1,$=!0,ir=yr;break;case"S":v=!0,ir="N"}return ir},Vt=function(ke,Be,St){var ct=ke.split("");return St&&Mt(ct,St,{hiLevel:yr}),ct.reverse(),Be&&Be.reverse(),ct.join("")},Mt=function(ke,Be,St){var ct,cr,gr,Xt,Tt,ir=-1,Zr=ke.length,Wt=0,Pe=[],vt=yr?ve:At,Bt=[];for(ar=!1,$=!1,v=!1,cr=0;cr<Zr;cr++)Bt[cr]=Qt(ke[cr]);for(gr=0;gr<Zr;gr++){if(Tt=Wt,Pe[gr]=Se(ke,Bt,Pe,gr),ct=240&(Wt=vt[Tt][kt[Pe[gr]]]),Wt&=15,Be[gr]=Xt=vt[Wt][5],ct>0)if(ct===16){for(cr=ir;cr<gr;cr++)Be[cr]=1;ir=-1}else ir=-1;if(vt[Wt][6])ir===-1&&(ir=gr);else if(ir>-1){for(cr=ir;cr<gr;cr++)Be[cr]=Xt;ir=-1}Bt[gr]==="B"&&(Be[gr]=0),St.hiLevel|=Xt}v&&function(ht,Yt,dr){for(var fr=0;fr<dr;fr++)if(ht[fr]==="S"){Yt[fr]=yr;for(var Er=fr-1;Er>=0&&ht[Er]==="WS";Er--)Yt[Er]=yr}}(Bt,Be,Zr)},Ot=function(ke,Be,St,ct,cr){if(!(cr.hiLevel<ke)){if(ke===1&&yr===1&&!$)return Be.reverse(),void(St&&St.reverse());for(var gr,Xt,Tt,ir,Zr=Be.length,Wt=0;Wt<Zr;){if(ct[Wt]>=ke){for(Tt=Wt+1;Tt<Zr&&ct[Tt]>=ke;)Tt++;for(ir=Wt,Xt=Tt-1;ir<Xt;ir++,Xt--)gr=Be[ir],Be[ir]=Be[Xt],Be[Xt]=gr,St&&(gr=St[ir],St[ir]=St[Xt],St[Xt]=gr);Wt=Tt}Wt++}}},Jt=function(ke,Be,St){var ct=ke.split(""),cr={hiLevel:yr};return St||(St=[]),Mt(ct,St,cr),function(gr,Xt,Tt){if(Tt.hiLevel!==0&&st)for(var ir,Zr=0;Zr<gr.length;Zr++)Xt[Zr]===1&&(ir=Zt.indexOf(gr[Zr]))>=0&&(gr[Zr]=Zt[ir+1])}(ct,St,cr),Ot(2,ct,Be,St,cr),Ot(1,ct,Be,St,cr),ct.join("")};return this.__bidiEngine__.doBidiReorder=function(ke,Be,St){if(function(cr,gr){if(gr)for(var Xt=0;Xt<cr.length;Xt++)gr[Xt]=Xt;Z===void 0&&(Z=nt(cr)),Ee===void 0&&(Ee=nt(cr))}(ke,Be),T||!ee||Ee)if(T&&ee&&Z^Ee)yr=Z?1:0,ke=Vt(ke,Be,St);else if(!T&&ee&&Ee)yr=Z?1:0,ke=Jt(ke,Be,St),ke=Vt(ke,Be);else if(!T||Z||ee||Ee){if(T&&!ee&&Z^Ee)ke=Vt(ke,Be),Z?(yr=0,ke=Jt(ke,Be,St)):(yr=1,ke=Jt(ke,Be,St),ke=Vt(ke,Be));else if(T&&Z&&!ee&&Ee)yr=1,ke=Jt(ke,Be,St),ke=Vt(ke,Be);else if(!T&&!ee&&Z^Ee){var ct=st;Z?(yr=1,ke=Jt(ke,Be,St),yr=0,st=!1,ke=Jt(ke,Be,St),st=ct):(yr=0,ke=Jt(ke,Be,St),ke=Vt(ke,Be),yr=1,st=!1,ke=Jt(ke,Be,St),st=ct,ke=Vt(ke,Be))}}else yr=0,ke=Jt(ke,Be,St);else yr=Z?1:0,ke=Jt(ke,Be,St);return ke},this.__bidiEngine__.setOptions=function(ke){ke&&(T=ke.isInputVisual,ee=ke.isOutputVisual,Z=ke.isInputRtl,Ee=ke.isOutputRtl,st=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 $=b.text;b.x,b.y;var v=b.options||{};b.mutex,v.lang;var T=[];if(v.isInputVisual=typeof v.isInputVisual!="boolean"||v.isInputVisual,p.setOptions(v),Object.prototype.toString.call($)==="[object Array]"){var Z=0;for(T=[],Z=0;Z<$.length;Z+=1)Object.prototype.toString.call($[Z])==="[object Array]"?T.push([p.doBidiReorder($[Z][0]),$[Z][1],$[Z][2]]):T.push([p.doBidiReorder($[Z])]);b.text=T}else b.text=p.doBidiReorder($);p.setOptions({isInputVisual:!0})}])}(R),R.API.TTFFont=function(){function f(s){var p;if(this.rawData=s,p=this.contents=new On(s),this.contents.pos=4,p.readString(4)==="ttcf")throw new Error("TTCF not supported.");p.pos=0,this.parse(),this.subset=new so(this),this.registerTTF()}return f.open=function(s){return new f(s)},f.prototype.parse=function(){return this.directory=new Bn(this.contents),this.head=new $n(this),this.name=new Jn(this),this.cmap=new ua(this),this.toUnicode={},this.hhea=new zn(this),this.maxp=new Dn(this),this.hmtx=new xn(this),this.post=new Gn(this),this.os2=new ra(this),this.loca=new ro(this),this.glyf=new Sa(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,$,v;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var T,Z,ee,Ee;for(Ee=[],T=0,Z=(ee=this.bbox).length;T<Z;T++)s=ee[T],Ee.push(Math.round(s*this.scaleFactor));return Ee}.call(this),this.stemV=0,this.post.exists?(b=255&($=this.post.italic_angle),32768&(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=(v=this.familyClass)===1||v===2||v===3||v===4||v===5||v===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 $,v,T,Z;for(T=0,v=0,Z=(s=""+s).length;0<=Z?v<Z:v>Z;v=0<=Z?++v:--v)$=s.charCodeAt(v),T+=this.widthOfGlyph(this.characterToGlyph($))+b*(1e3/p)||0;return T*(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 Pn,On=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,$;for($=[],p=0,b=s.length;0<=b?p<b:p>b;p=0<=b?++p:--p)$.push(this.writeByte(s.charCodeAt(p)));return $},f.prototype.readShort=function(){return this.readInt16()},f.prototype.writeShort=function(s){return this.writeInt16(s)},f.prototype.readLongLong=function(){var s,p,b,$,v,T,Z,ee;return s=this.readByte(),p=this.readByte(),b=this.readByte(),$=this.readByte(),v=this.readByte(),T=this.readByte(),Z=this.readByte(),ee=this.readByte(),128&s?-1*(72057594037927940*(255^s)+281474976710656*(255^p)+1099511627776*(255^b)+4294967296*(255^$)+16777216*(255^v)+65536*(255^T)+256*(255^Z)+(255^ee)+1):72057594037927940*s+281474976710656*p+1099511627776*b+4294967296*$+16777216*v+65536*T+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,$,v;for(v=[],b=0,$=s.length;b<$;b++)p=s[b],v.push(this.writeByte(p));return v},f}(),Bn=function(){var f;function s(p){var b,$,v;for(this.scalarType=p.readInt(),this.tableCount=p.readShort(),this.searchRange=p.readShort(),this.entrySelector=p.readShort(),this.rangeShift=p.readShort(),this.tables={},$=0,v=this.tableCount;0<=v?$<v:$>v;$=0<=v?++$:--$)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,$,v,T,Z,ee,Ee,st,jt,At,ve,kt,Ge;for(Ge in ve=Object.keys(p).length,ee=Math.log(2),jt=16*Math.floor(Math.log(ve)/ee),T=Math.floor(jt/ee),st=16*ve-jt,($=new On).writeInt(this.scalarType),$.writeShort(ve),$.writeShort(jt),$.writeShort(T),$.writeShort(st),v=16*ve,Ee=$.pos+v,Z=null,kt=[],p)for(At=p[Ge],$.writeString(Ge),$.writeInt(f(At)),$.writeInt(Ee),$.writeInt(At.length),kt=kt.concat(At),Ge==="head"&&(Z=Ee),Ee+=At.length;Ee%4;)kt.push(0),Ee++;return $.write(kt),b=2981146554-f($.data),$.pos=Z+8,$.writeUInt32(b),$.data},f=function(p){var b,$,v,T;for(p=Kn.call(p);p.length%4;)p.push(0);for(v=new On(p),$=0,b=0,T=p.length;b<T;b=b+=4)$+=v.readUInt32();return 4294967295&$},s}(),ta={}.hasOwnProperty,tn=function(f,s){for(var p in s)ta.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};Pn=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 tn(f,Pn),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 On).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}(),Yn=function(){function f(s,p){var b,$,v,T,Z,ee,Ee,st,jt,At,ve,kt,Ge,Zt,pt,ar,yr;switch(this.platformID=s.readUInt16(),this.encodingID=s.readShort(),this.offset=p+s.readInt(),jt=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(ve=s.readUInt16(),At=ve/2,s.pos+=6,v=function(){var Qt,nt;for(nt=[],ee=Qt=0;0<=At?Qt<At:Qt>At;ee=0<=At?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),s.pos+=2,Ge=function(){var Qt,nt;for(nt=[],ee=Qt=0;0<=At?Qt<At:Qt>At;ee=0<=At?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),Ee=function(){var Qt,nt;for(nt=[],ee=Qt=0;0<=At?Qt<At:Qt>At;ee=0<=At?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),st=function(){var Qt,nt;for(nt=[],ee=Qt=0;0<=At?Qt<At:Qt>At;ee=0<=At?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),$=(this.length-s.pos+this.offset)/2,Z=function(){var Qt,nt;for(nt=[],ee=Qt=0;0<=$?Qt<$:Qt>$;ee=0<=$?++Qt:--Qt)nt.push(s.readUInt16());return nt}(),ee=pt=0,yr=v.length;pt<yr;ee=++pt)for(Zt=v[ee],b=ar=kt=Ge[ee];kt<=Zt?ar<=Zt:ar>=Zt;b=kt<=Zt?++ar:--ar)st[ee]===0?T=b+Ee[ee]:(T=Z[st[ee]/2+(b-kt)-(At-ee)]||0)!==0&&(T+=Ee[ee]),this.codeMap[b]=65535&T}s.pos=jt}return f.encode=function(s,p){var b,$,v,T,Z,ee,Ee,st,jt,At,ve,kt,Ge,Zt,pt,ar,yr,Qt,nt,Se,Vt,Mt,Ot,Jt,ke,Be,St,ct,cr,gr,Xt,Tt,ir,Zr,Wt,Pe,vt,Bt,ht,Yt,dr,fr,Er,Lr,Rr,cn;switch(ct=new On,T=Object.keys(s).sort(function(Sn,Mr){return Sn-Mr}),p){case"macroman":for(Ge=0,Zt=function(){var Sn=[];for(kt=0;kt<256;++kt)Sn.push(0);return Sn}(),ar={0:0},v={},cr=0,ir=T.length;cr<ir;cr++)ar[Er=s[$=T[cr]]]==null&&(ar[Er]=++Ge),v[$]={old:s[$],new:ar[s[$]]},Zt[$]=ar[s[$]];return ct.writeUInt16(1),ct.writeUInt16(0),ct.writeUInt32(12),ct.writeUInt16(0),ct.writeUInt16(262),ct.writeUInt16(0),ct.write(Zt),{charMap:v,subtable:ct.data,maxGlyphID:Ge+1};case"unicode":for(Be=[],jt=[],yr=0,ar={},b={},pt=Ee=null,gr=0,Zr=T.length;gr<Zr;gr++)ar[nt=s[$=T[gr]]]==null&&(ar[nt]=++yr),b[$]={old:nt,new:ar[nt]},Z=ar[nt]-$,pt!=null&&Z===Ee||(pt&&jt.push(pt),Be.push($),Ee=Z),pt=$;for(pt&&jt.push(pt),jt.push(65535),Be.push(65535),Jt=2*(Ot=Be.length),Mt=2*Math.pow(Math.log(Ot)/Math.LN2,2),At=Math.log(Mt/2)/Math.LN2,Vt=2*Ot-Mt,ee=[],Se=[],ve=[],kt=Xt=0,Wt=Be.length;Xt<Wt;kt=++Xt){if(ke=Be[kt],st=jt[kt],ke===65535){ee.push(0),Se.push(0);break}if(ke-(St=b[ke].new)>=32768)for(ee.push(0),Se.push(2*(ve.length+Ot-kt)),$=Tt=ke;ke<=st?Tt<=st:Tt>=st;$=ke<=st?++Tt:--Tt)ve.push(b[$].new);else ee.push(St-ke),Se.push(0)}for(ct.writeUInt16(3),ct.writeUInt16(1),ct.writeUInt32(12),ct.writeUInt16(4),ct.writeUInt16(16+8*Ot+2*ve.length),ct.writeUInt16(0),ct.writeUInt16(Jt),ct.writeUInt16(Mt),ct.writeUInt16(At),ct.writeUInt16(Vt),dr=0,Pe=jt.length;dr<Pe;dr++)$=jt[dr],ct.writeUInt16($);for(ct.writeUInt16(0),fr=0,vt=Be.length;fr<vt;fr++)$=Be[fr],ct.writeUInt16($);for(Lr=0,Bt=ee.length;Lr<Bt;Lr++)Z=ee[Lr],ct.writeUInt16(Z);for(Rr=0,ht=Se.length;Rr<ht;Rr++)Qt=Se[Rr],ct.writeUInt16(Qt);for(cn=0,Yt=ve.length;cn<Yt;cn++)Ge=ve[cn],ct.writeUInt16(Ge);return{charMap:b,subtable:ct.data,maxGlyphID:yr+1}}},f}(),ua=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="cmap",f.prototype.parse=function(s){var p,b,$;for(s.pos=this.offset,this.version=s.readUInt16(),$=s.readUInt16(),this.tables=[],this.unicode=null,b=0;0<=$?b<$:b>$;b=0<=$?++b:--b)p=new Yn(s,this.offset),this.tables.push(p),p.isUnicode&&this.unicode==null&&(this.unicode=p);return!0},f.encode=function(s,p){var b,$;return p==null&&(p="macroman"),b=Yn.encode(s,p),($=new On).writeUInt16(0),$.writeUInt16(1),b.table=$.data.concat(b.subtable),b},f}(),zn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),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}(),ra=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),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}(),Gn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="post",f.prototype.parse=function(s){var p,b,$;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 v;for(b=s.readUInt16(),this.glyphNameIndex=[],v=0;0<=b?v<b:v>b;v=0<=b?++v:--v)this.glyphNameIndex.push(s.readUInt16());for(this.names=[],$=[];s.pos<this.offset+this.length;)p=s.readByte(),$.push(this.names.push(s.readString(p)));return $;case 151552:return b=s.readUInt16(),this.offsets=s.read(b);case 262144:return this.map=function(){var T,Z,ee;for(ee=[],v=T=0,Z=this.file.maxp.numGlyphs;0<=Z?T<Z:T>Z;v=0<=Z?++T:--T)ee.push(s.readUInt32());return ee}.call(this)}},f}(),Wn=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 tn(f,Pn),f.prototype.tag="name",f.prototype.parse=function(s){var p,b,$,v,T,Z,ee,Ee,st,jt,At;for(s.pos=this.offset,s.readShort(),p=s.readShort(),Z=s.readShort(),b=[],v=0;0<=p?v<p:v>p;v=0<=p?++v:--v)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={},v=st=0,jt=b.length;st<jt;v=++st)$=b[v],s.pos=$.offset,Ee=s.readString($.length),T=new Wn(Ee,$),ee[At=$.nameID]==null&&(ee[At]=[]),ee[$.nameID].push(T);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(ve){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}(),Dn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),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}(),xn=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="hmtx",f.prototype.parse=function(s){var p,b,$,v,T,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($=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var Ee,st;for(st=[],p=Ee=0;0<=$?Ee<$:Ee>$;p=0<=$?++Ee:--Ee)st.push(s.readInt16());return st}(),this.widths=function(){var Ee,st,jt,At;for(At=[],Ee=0,st=(jt=this.metrics).length;Ee<st;Ee++)v=jt[Ee],At.push(v.advance);return At}.call(this),b=this.widths[this.widths.length-1],ee=[],p=T=0;0<=$?T<$:T>$;p=0<=$?++T:--T)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}(),Kn=[].slice,Sa=function(){function f(){return f.__super__.constructor.apply(this,arguments)}return tn(f,Pn),f.prototype.tag="glyf",f.prototype.parse=function(){return this.cache={}},f.prototype.glyphFor=function(s){var p,b,$,v,T,Z,ee,Ee,st,jt;return s in this.cache?this.cache[s]:(v=this.file.loca,p=this.file.contents,b=v.indexOf(s),($=v.lengthOf(s))===0?this.cache[s]=null:(p.pos=this.offset+b,T=(Z=new On(p.read($))).readShort(),Ee=Z.readShort(),jt=Z.readShort(),ee=Z.readShort(),st=Z.readShort(),this.cache[s]=T===-1?new to(Z,Ee,jt,ee,st):new za(Z,T,Ee,jt,ee,st),this.cache[s]))},f.prototype.encode=function(s,p,b){var $,v,T,Z,ee;for(T=[],v=[],Z=0,ee=p.length;Z<ee;Z++)$=s[p[Z]],v.push(T.length),$&&(T=T.concat($.encode(b)));return v.push(T.length),{table:T,offsets:v}},f}(),za=function(){function f(s,p,b,$,v,T){this.raw=s,this.numberOfContours=p,this.xMin=b,this.yMin=$,this.xMax=v,this.yMax=T,this.compound=!1}return f.prototype.encode=function(){return this.raw.data},f}(),to=function(){function f(s,p,b,$,v){var T,Z;for(this.raw=s,this.xMin=p,this.yMin=b,this.xMax=$,this.yMax=v,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],T=this.raw;Z=T.readShort(),this.glyphOffsets.push(T.pos),this.glyphIDs.push(T.readUInt16()),32&Z;)T.pos+=1&Z?4:2,128&Z?T.pos+=8:64&Z?T.pos+=4:8&Z&&(T.pos+=2)}return f.prototype.encode=function(){var s,p,b;for(p=new On(Kn.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 tn(f,Pn),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 $,v;for(v=[],b=0,$=this.length;b<$;b+=2)v.push(2*s.readUInt16());return v}.call(this):function(){var $,v;for(v=[],b=0,$=this.length;b<$;b+=4)v.push(s.readUInt32());return v}.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),$=0,v=0,T=0;T<b.length;++T)if(b[T]=$,v<p.length&&p[v]==T){++v,b[T]=$;var Z=this.offsets[T],ee=this.offsets[T+1]-Z;ee>0&&($+=ee)}for(var Ee=new Array(4*b.length),st=0;st<b.length;++st)Ee[4*st+3]=255&b[st],Ee[4*st+2]=(65280&b[st])>>8,Ee[4*st+1]=(16711680&b[st])>>16,Ee[4*st]=(4278190080&b[st])>>24;return Ee},f}(),so=function(){function f(s){this.font=s,this.subset={},this.unicodes={},this.next=33}return f.prototype.generateCmap=function(){var s,p,b,$,v;for(p in $=this.font.cmap.tables[0].codeMap,s={},v=this.subset)b=v[p],s[p]=$[b];return s},f.prototype.glyphsFor=function(s){var p,b,$,v,T,Z,ee;for($={},T=0,Z=s.length;T<Z;T++)$[v=s[T]]=this.font.glyf.glyphFor(v);for(v in p=[],$)(b=$[v])!=null&&b.compound&&p.push.apply(p,b.glyphIDs);if(p.length>0)for(v in ee=this.glyphsFor(p))b=ee[v],$[v]=b;return $},f.prototype.encode=function(s,p){var b,$,v,T,Z,ee,Ee,st,jt,At,ve,kt,Ge,Zt,pt;for($ in b=ua.encode(this.generateCmap(),"unicode"),T=this.glyphsFor(s),ve={0:0},pt=b.charMap)ve[(ee=pt[$]).old]=ee.new;for(kt in At=b.maxGlyphID,T)kt in ve||(ve[kt]=At++);return st=function(ar){var yr,Qt;for(yr in Qt={},ar)Qt[ar[yr]]=yr;return Qt}(ve),jt=Object.keys(st).sort(function(ar,yr){return ar-yr}),Ge=function(){var ar,yr,Qt;for(Qt=[],ar=0,yr=jt.length;ar<yr;ar++)Z=jt[ar],Qt.push(st[Z]);return Qt}(),v=this.font.glyf.encode(T,Ge,ve),Ee=this.font.loca.encode(v.offsets,Ge),Zt={cmap:this.font.cmap.raw(),glyf:v.table,loca:Ee,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&&(Zt["OS/2"]=this.font.os2.raw()),this.font.directory.encode(Zt)},f}();R.API.PDFObject=function(){var f;function s(){}return f=function(p,b){return(Array(b+1).join("0")+p).slice(-b)},s.convert=function(p){var b,$,v,T;if(Array.isArray(p))return"["+function(){var Z,ee,Ee;for(Ee=[],Z=0,ee=p.length;Z<ee;Z++)b=p[Z],Ee.push(s.convert(b));return Ee}().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($ in v=["<<"],p)T=p[$],v.push("/"+$+" "+s.convert(T));return v.push(">>"),v.join(`
|
|
|
`)}return""+p},s}()},86129:function(qr,_t,n){var o=n(19208).lW,Je=n(97671);(function(B){qr.exports=B()})(function(){return function B(Re,J,Q){function Y(u,L){if(!J[u]){if(!Re[u]){var D=void 0;if(!L&&D)return require(u,!0);if(y)return y(u,!0);var G=new Error("Cannot find module '"+u+"'");throw G.code="MODULE_NOT_FOUND",G}var F=J[u]={exports:{}};Re[u][0].call(F.exports,function(_){var N=Re[u][1][_];return Y(N||_)},F,F.exports,B,Re,J,Q)}return J[u].exports}for(var y=void 0,K=0;K<Q.length;K++)Y(Q[K]);return Y}({1:[function(B,Re,J){"use strict";var Q=B("./utils"),Y=B("./support"),y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";J.encode=function(K){for(var u,L,D,G,F,_,N,I=[],w=0,E=K.length,ae=E,q=Q.getTypeOf(K)!=="string";w<K.length;)ae=E-w,D=q?(u=K[w++],L=w<E?K[w++]:0,w<E?K[w++]:0):(u=K.charCodeAt(w++),L=w<E?K.charCodeAt(w++):0,w<E?K.charCodeAt(w++):0),G=u>>2,F=(3&u)<<4|L>>4,_=1<ae?(15&L)<<2|D>>6:64,N=2<ae?63&D:64,I.push(y.charAt(G)+y.charAt(F)+y.charAt(_)+y.charAt(N));return I.join("")},J.decode=function(K){var u,L,D,G,F,_,N=0,I=0,w="data:";if(K.substr(0,w.length)===w)throw new Error("Invalid base64 input, it looks like a data url.");var E,ae=3*(K=K.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(K.charAt(K.length-1)===y.charAt(64)&&ae--,K.charAt(K.length-2)===y.charAt(64)&&ae--,ae%1!=0)throw new Error("Invalid base64 input, bad content length.");for(E=Y.uint8array?new Uint8Array(0|ae):new Array(0|ae);N<K.length;)u=y.indexOf(K.charAt(N++))<<2|(G=y.indexOf(K.charAt(N++)))>>4,L=(15&G)<<4|(F=y.indexOf(K.charAt(N++)))>>2,D=(3&F)<<6|(_=y.indexOf(K.charAt(N++))),E[I++]=u,F!==64&&(E[I++]=L),_!==64&&(E[I++]=D);return E}},{"./support":30,"./utils":32}],2:[function(B,Re,J){"use strict";var Q=B("./external"),Y=B("./stream/DataWorker"),y=B("./stream/Crc32Probe"),K=B("./stream/DataLengthProbe");function u(L,D,G,F,_){this.compressedSize=L,this.uncompressedSize=D,this.crc32=G,this.compression=F,this.compressedContent=_}u.prototype={getContentWorker:function(){var L=new Y(Q.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new K("data_length")),D=this;return L.on("end",function(){if(this.streamInfo.data_length!==D.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),L},getCompressedWorker:function(){return new Y(Q.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(L,D,G){return L.pipe(new y).pipe(new K("uncompressedSize")).pipe(D.compressWorker(G)).pipe(new K("compressedSize")).withStreamInfo("compression",D)},Re.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(B,Re,J){"use strict";var Q=B("./stream/GenericWorker");J.STORE={magic:"\0\0",compressWorker:function(){return new Q("STORE compression")},uncompressWorker:function(){return new Q("STORE decompression")}},J.DEFLATE=B("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(B,Re,J){"use strict";var Q=B("./utils"),Y=function(){for(var y,K=[],u=0;u<256;u++){y=u;for(var L=0;L<8;L++)y=1&y?3988292384^y>>>1:y>>>1;K[u]=y}return K}();Re.exports=function(y,K){return y!==void 0&&y.length?Q.getTypeOf(y)!=="string"?function(u,L,D,G){var F=Y,_=G+D;u^=-1;for(var N=G;N<_;N++)u=u>>>8^F[255&(u^L[N])];return-1^u}(0|K,y,y.length,0):function(u,L,D,G){var F=Y,_=G+D;u^=-1;for(var N=G;N<_;N++)u=u>>>8^F[255&(u^L.charCodeAt(N))];return-1^u}(0|K,y,y.length,0):0}},{"./utils":32}],5:[function(B,Re,J){"use strict";J.base64=!1,J.binary=!1,J.dir=!1,J.createFolders=!0,J.date=null,J.compression=null,J.compressionOptions=null,J.comment=null,J.unixPermissions=null,J.dosPermissions=null},{}],6:[function(B,Re,J){"use strict";var Q=null;Q=typeof Promise!="undefined"?Promise:B("lie"),Re.exports={Promise:Q}},{lie:37}],7:[function(B,Re,J){"use strict";var Q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",Y=B("pako"),y=B("./utils"),K=B("./stream/GenericWorker"),u=Q?"uint8array":"array";function L(D,G){K.call(this,"FlateWorker/"+D),this._pako=null,this._pakoAction=D,this._pakoOptions=G,this.meta={}}J.magic="\b\0",y.inherits(L,K),L.prototype.processChunk=function(D){this.meta=D.meta,this._pako===null&&this._createPako(),this._pako.push(y.transformTo(u,D.data),!1)},L.prototype.flush=function(){K.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},L.prototype.cleanUp=function(){K.prototype.cleanUp.call(this),this._pako=null},L.prototype._createPako=function(){this._pako=new Y[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var D=this;this._pako.onData=function(G){D.push({data:G,meta:D.meta})}},J.compressWorker=function(D){return new L("Deflate",D)},J.uncompressWorker=function(){return new L("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(B,Re,J){"use strict";function Q(F,_){var N,I="";for(N=0;N<_;N++)I+=String.fromCharCode(255&F),F>>>=8;return I}function Y(F,_,N,I,w,E){var ae,q,te=F.file,$e=F.compression,Ne=E!==u.utf8encode,Qe=y.transformTo("string",E(te.name)),Ze=y.transformTo("string",u.utf8encode(te.name)),ye=te.comment,Ae=y.transformTo("string",E(ye)),ie=y.transformTo("string",u.utf8encode(ye)),xe=Ze.length!==te.name.length,M=ie.length!==ye.length,A="",ot="",ue="",ce=te.dir,C=te.date,k={crc32:0,compressedSize:0,uncompressedSize:0};_&&!N||(k.crc32=F.crc32,k.compressedSize=F.compressedSize,k.uncompressedSize=F.uncompressedSize);var R=0;_&&(R|=8),Ne||!xe&&!M||(R|=2048);var S=0,X=0;ce&&(S|=16),w==="UNIX"?(X=798,S|=function(ge,Ve){var it=ge;return ge||(it=Ve?16893:33204),(65535&it)<<16}(te.unixPermissions,ce)):(X=20,S|=function(ge){return 63&(ge||0)}(te.dosPermissions)),ae=C.getUTCHours(),ae<<=6,ae|=C.getUTCMinutes(),ae<<=5,ae|=C.getUTCSeconds()/2,q=C.getUTCFullYear()-1980,q<<=4,q|=C.getUTCMonth()+1,q<<=5,q|=C.getUTCDate(),xe&&(ot=Q(1,1)+Q(L(Qe),4)+Ze,A+="up"+Q(ot.length,2)+ot),M&&(ue=Q(1,1)+Q(L(Ae),4)+ie,A+="uc"+Q(ue.length,2)+ue);var We="";return We+=`
|
|
|
\0`,We+=Q(R,2),We+=$e.magic,We+=Q(ae,2),We+=Q(q,2),We+=Q(k.crc32,4),We+=Q(k.compressedSize,4),We+=Q(k.uncompressedSize,4),We+=Q(Qe.length,2),We+=Q(A.length,2),{fileRecord:D.LOCAL_FILE_HEADER+We+Qe+A,dirRecord:D.CENTRAL_FILE_HEADER+Q(X,2)+We+Q(Ae.length,2)+"\0\0\0\0"+Q(S,4)+Q(I,4)+Qe+A+Ae}}var y=B("../utils"),K=B("../stream/GenericWorker"),u=B("../utf8"),L=B("../crc32"),D=B("../signature");function G(F,_,N,I){K.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=N,this.encodeFileName=I,this.streamFiles=F,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}y.inherits(G,K),G.prototype.push=function(F){var _=F.meta.percent||0,N=this.entriesCount,I=this._sources.length;this.accumulate?this.contentBuffer.push(F):(this.bytesWritten+=F.data.length,K.prototype.push.call(this,{data:F.data,meta:{currentFile:this.currentFile,percent:N?(_+100*(N-I-1))/N:100}}))},G.prototype.openedSource=function(F){this.currentSourceOffset=this.bytesWritten,this.currentFile=F.file.name;var _=this.streamFiles&&!F.file.dir;if(_){var N=Y(F,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:N.fileRecord,meta:{percent:0}})}else this.accumulate=!0},G.prototype.closedSource=function(F){this.accumulate=!1;var _=this.streamFiles&&!F.file.dir,N=Y(F,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(N.dirRecord),_)this.push({data:function(I){return D.DATA_DESCRIPTOR+Q(I.crc32,4)+Q(I.compressedSize,4)+Q(I.uncompressedSize,4)}(F),meta:{percent:100}});else for(this.push({data:N.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},G.prototype.flush=function(){for(var F=this.bytesWritten,_=0;_<this.dirRecords.length;_++)this.push({data:this.dirRecords[_],meta:{percent:100}});var N=this.bytesWritten-F,I=function(w,E,ae,q,te){var $e=y.transformTo("string",te(q));return D.CENTRAL_DIRECTORY_END+"\0\0\0\0"+Q(w,2)+Q(w,2)+Q(E,4)+Q(ae,4)+Q($e.length,2)+$e}(this.dirRecords.length,N,F,this.zipComment,this.encodeFileName);this.push({data:I,meta:{percent:100}})},G.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},G.prototype.registerPrevious=function(F){this._sources.push(F);var _=this;return F.on("data",function(N){_.processChunk(N)}),F.on("end",function(){_.closedSource(_.previous.streamInfo),_._sources.length?_.prepareNextSource():_.end()}),F.on("error",function(N){_.error(N)}),this},G.prototype.resume=function(){return!!K.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},G.prototype.error=function(F){var _=this._sources;if(!K.prototype.error.call(this,F))return!1;for(var N=0;N<_.length;N++)try{_[N].error(F)}catch(I){}return!0},G.prototype.lock=function(){K.prototype.lock.call(this);for(var F=this._sources,_=0;_<F.length;_++)F[_].lock()},Re.exports=G},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(B,Re,J){"use strict";var Q=B("../compressions"),Y=B("./ZipFileWorker");J.generateWorker=function(y,K,u){var L=new Y(K.streamFiles,u,K.platform,K.encodeFileName),D=0;try{y.forEach(function(G,F){D++;var _=function(E,ae){var q=E||ae,te=Q[q];if(!te)throw new Error(q+" is not a valid compression method !");return te}(F.options.compression,K.compression),N=F.options.compressionOptions||K.compressionOptions||{},I=F.dir,w=F.date;F._compressWorker(_,N).withStreamInfo("file",{name:G,dir:I,date:w,comment:F.comment||"",unixPermissions:F.unixPermissions,dosPermissions:F.dosPermissions}).pipe(L)}),L.entriesCount=D}catch(G){L.error(G)}return L}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(B,Re,J){"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 Y=new Q;for(var y in this)typeof this[y]!="function"&&(Y[y]=this[y]);return Y}}(Q.prototype=B("./object")).loadAsync=B("./load"),Q.support=B("./support"),Q.defaults=B("./defaults"),Q.version="3.10.1",Q.loadAsync=function(Y,y){return new Q().loadAsync(Y,y)},Q.external=B("./external"),Re.exports=Q},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(B,Re,J){"use strict";var Q=B("./utils"),Y=B("./external"),y=B("./utf8"),K=B("./zipEntries"),u=B("./stream/Crc32Probe"),L=B("./nodejsUtils");function D(G){return new Y.Promise(function(F,_){var N=G.decompressed.getContentWorker().pipe(new u);N.on("error",function(I){_(I)}).on("end",function(){N.streamInfo.crc32!==G.decompressed.crc32?_(new Error("Corrupted zip : CRC32 mismatch")):F()}).resume()})}Re.exports=function(G,F){var _=this;return F=Q.extend(F||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:y.utf8decode}),L.isNode&&L.isStream(G)?Y.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):Q.prepareContent("the loaded zip file",G,!0,F.optimizedBinaryString,F.base64).then(function(N){var I=new K(F);return I.load(N),I}).then(function(N){var I=[Y.Promise.resolve(N)],w=N.files;if(F.checkCRC32)for(var E=0;E<w.length;E++)I.push(D(w[E]));return Y.Promise.all(I)}).then(function(N){for(var I=N.shift(),w=I.files,E=0;E<w.length;E++){var ae=w[E],q=ae.fileNameStr,te=Q.resolve(ae.fileNameStr);_.file(te,ae.decompressed,{binary:!0,optimizedBinaryString:!0,date:ae.date,dir:ae.dir,comment:ae.fileCommentStr.length?ae.fileCommentStr:null,unixPermissions:ae.unixPermissions,dosPermissions:ae.dosPermissions,createFolders:F.createFolders}),ae.dir||(_.file(te).unsafeOriginalName=q)}return I.zipComment.length&&(_.comment=I.zipComment),_})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(B,Re,J){"use strict";var Q=B("../utils"),Y=B("../stream/GenericWorker");function y(K,u){Y.call(this,"Nodejs stream input adapter for "+K),this._upstreamEnded=!1,this._bindStream(u)}Q.inherits(y,Y),y.prototype._bindStream=function(K){var u=this;(this._stream=K).pause(),K.on("data",function(L){u.push({data:L,meta:{percent:0}})}).on("error",function(L){u.isPaused?this.generatedError=L:u.error(L)}).on("end",function(){u.isPaused?u._upstreamEnded=!0:u.end()})},y.prototype.pause=function(){return!!Y.prototype.pause.call(this)&&(this._stream.pause(),!0)},y.prototype.resume=function(){return!!Y.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},Re.exports=y},{"../stream/GenericWorker":28,"../utils":32}],13:[function(B,Re,J){"use strict";var Q=B("readable-stream").Readable;function Y(y,K,u){Q.call(this,K),this._helper=y;var L=this;y.on("data",function(D,G){L.push(D)||L._helper.pause(),u&&u(G)}).on("error",function(D){L.emit("error",D)}).on("end",function(){L.push(null)})}B("../utils").inherits(Y,Q),Y.prototype._read=function(){this._helper.resume()},Re.exports=Y},{"../utils":32,"readable-stream":16}],14:[function(B,Re,J){"use strict";Re.exports={isNode:typeof o!="undefined",newBufferFrom:function(Q,Y){if(o.from&&o.from!==Uint8Array.from)return o.from(Q,Y);if(typeof Q=="number")throw new Error('The "data" argument must not be a number');return new o(Q,Y)},allocBuffer:function(Q){if(o.alloc)return o.alloc(Q);var Y=new o(Q);return Y.fill(0),Y},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(B,Re,J){"use strict";function Q(te,$e,Ne){var Qe,Ze=y.getTypeOf($e),ye=y.extend(Ne||{},L);ye.date=ye.date||new Date,ye.compression!==null&&(ye.compression=ye.compression.toUpperCase()),typeof ye.unixPermissions=="string"&&(ye.unixPermissions=parseInt(ye.unixPermissions,8)),ye.unixPermissions&&16384&ye.unixPermissions&&(ye.dir=!0),ye.dosPermissions&&16&ye.dosPermissions&&(ye.dir=!0),ye.dir&&(te=w(te)),ye.createFolders&&(Qe=I(te))&&E.call(this,Qe,!0);var Ae=Ze==="string"&&ye.binary===!1&&ye.base64===!1;Ne&&Ne.binary!==void 0||(ye.binary=!Ae),($e instanceof D&&$e.uncompressedSize===0||ye.dir||!$e||$e.length===0)&&(ye.base64=!1,ye.binary=!0,$e="",ye.compression="STORE",Ze="string");var ie=null;ie=$e instanceof D||$e instanceof K?$e:_.isNode&&_.isStream($e)?new N(te,$e):y.prepareContent(te,$e,ye.binary,ye.optimizedBinaryString,ye.base64);var xe=new G(te,ie,ye);this.files[te]=xe}var Y=B("./utf8"),y=B("./utils"),K=B("./stream/GenericWorker"),u=B("./stream/StreamHelper"),L=B("./defaults"),D=B("./compressedObject"),G=B("./zipObject"),F=B("./generate"),_=B("./nodejsUtils"),N=B("./nodejs/NodejsStreamInputAdapter"),I=function(te){te.slice(-1)==="/"&&(te=te.substring(0,te.length-1));var $e=te.lastIndexOf("/");return 0<$e?te.substring(0,$e):""},w=function(te){return te.slice(-1)!=="/"&&(te+="/"),te},E=function(te,$e){return $e=$e!==void 0?$e:L.createFolders,te=w(te),this.files[te]||Q.call(this,te,null,{dir:!0,createFolders:$e}),this.files[te]};function ae(te){return Object.prototype.toString.call(te)==="[object RegExp]"}var q={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(te){var $e,Ne,Qe;for($e in this.files)Qe=this.files[$e],(Ne=$e.slice(this.root.length,$e.length))&&$e.slice(0,this.root.length)===this.root&&te(Ne,Qe)},filter:function(te){var $e=[];return this.forEach(function(Ne,Qe){te(Ne,Qe)&&$e.push(Qe)}),$e},file:function(te,$e,Ne){if(arguments.length!==1)return te=this.root+te,Q.call(this,te,$e,Ne),this;if(ae(te)){var Qe=te;return this.filter(function(ye,Ae){return!Ae.dir&&Qe.test(ye)})}var Ze=this.files[this.root+te];return Ze&&!Ze.dir?Ze:null},folder:function(te){if(!te)return this;if(ae(te))return this.filter(function(Ze,ye){return ye.dir&&te.test(Ze)});var $e=this.root+te,Ne=E.call(this,$e),Qe=this.clone();return Qe.root=Ne.name,Qe},remove:function(te){te=this.root+te;var $e=this.files[te];if($e||(te.slice(-1)!=="/"&&(te+="/"),$e=this.files[te]),$e&&!$e.dir)delete this.files[te];else for(var Ne=this.filter(function(Ze,ye){return ye.name.slice(0,te.length)===te}),Qe=0;Qe<Ne.length;Qe++)delete this.files[Ne[Qe].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(te){var $e,Ne={};try{if((Ne=y.extend(te||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:Y.utf8encode})).type=Ne.type.toLowerCase(),Ne.compression=Ne.compression.toUpperCase(),Ne.type==="binarystring"&&(Ne.type="string"),!Ne.type)throw new Error("No output type specified.");y.checkSupport(Ne.type),Ne.platform!=="darwin"&&Ne.platform!=="freebsd"&&Ne.platform!=="linux"&&Ne.platform!=="sunos"||(Ne.platform="UNIX"),Ne.platform==="win32"&&(Ne.platform="DOS");var Qe=Ne.comment||this.comment||"";$e=F.generateWorker(this,Ne,Qe)}catch(Ze){($e=new K("error")).error(Ze)}return new u($e,Ne.type||"string",Ne.mimeType)},generateAsync:function(te,$e){return this.generateInternalStream(te).accumulate($e)},generateNodeStream:function(te,$e){return(te=te||{}).type||(te.type="nodebuffer"),this.generateInternalStream(te).toNodejsStream($e)}};Re.exports=q},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(B,Re,J){"use strict";Re.exports=B("stream")},{stream:void 0}],17:[function(B,Re,J){"use strict";var Q=B("./DataReader");function Y(y){Q.call(this,y);for(var K=0;K<this.data.length;K++)y[K]=255&y[K]}B("../utils").inherits(Y,Q),Y.prototype.byteAt=function(y){return this.data[this.zero+y]},Y.prototype.lastIndexOfSignature=function(y){for(var K=y.charCodeAt(0),u=y.charCodeAt(1),L=y.charCodeAt(2),D=y.charCodeAt(3),G=this.length-4;0<=G;--G)if(this.data[G]===K&&this.data[G+1]===u&&this.data[G+2]===L&&this.data[G+3]===D)return G-this.zero;return-1},Y.prototype.readAndCheckSignature=function(y){var K=y.charCodeAt(0),u=y.charCodeAt(1),L=y.charCodeAt(2),D=y.charCodeAt(3),G=this.readData(4);return K===G[0]&&u===G[1]&&L===G[2]&&D===G[3]},Y.prototype.readData=function(y){if(this.checkOffset(y),y===0)return[];var K=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,K},Re.exports=Y},{"../utils":32,"./DataReader":18}],18:[function(B,Re,J){"use strict";var Q=B("../utils");function Y(y){this.data=y,this.length=y.length,this.index=0,this.zero=0}Y.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 K,u=0;for(this.checkOffset(y),K=this.index+y-1;K>=this.index;K--)u=(u<<8)+this.byteAt(K);return this.index+=y,u},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))}},Re.exports=Y},{"../utils":32}],19:[function(B,Re,J){"use strict";var Q=B("./Uint8ArrayReader");function Y(y){Q.call(this,y)}B("../utils").inherits(Y,Q),Y.prototype.readData=function(y){this.checkOffset(y);var K=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,K},Re.exports=Y},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(B,Re,J){"use strict";var Q=B("./DataReader");function Y(y){Q.call(this,y)}B("../utils").inherits(Y,Q),Y.prototype.byteAt=function(y){return this.data.charCodeAt(this.zero+y)},Y.prototype.lastIndexOfSignature=function(y){return this.data.lastIndexOf(y)-this.zero},Y.prototype.readAndCheckSignature=function(y){return y===this.readData(4)},Y.prototype.readData=function(y){this.checkOffset(y);var K=this.data.slice(this.zero+this.index,this.zero+this.index+y);return this.index+=y,K},Re.exports=Y},{"../utils":32,"./DataReader":18}],21:[function(B,Re,J){"use strict";var Q=B("./ArrayReader");function Y(y){Q.call(this,y)}B("../utils").inherits(Y,Q),Y.prototype.readData=function(y){if(this.checkOffset(y),y===0)return new Uint8Array(0);var K=this.data.subarray(this.zero+this.index,this.zero+this.index+y);return this.index+=y,K},Re.exports=Y},{"../utils":32,"./ArrayReader":17}],22:[function(B,Re,J){"use strict";var Q=B("../utils"),Y=B("../support"),y=B("./ArrayReader"),K=B("./StringReader"),u=B("./NodeBufferReader"),L=B("./Uint8ArrayReader");Re.exports=function(D){var G=Q.getTypeOf(D);return Q.checkSupport(G),G!=="string"||Y.uint8array?G==="nodebuffer"?new u(D):Y.uint8array?new L(Q.transformTo("uint8array",D)):new y(Q.transformTo("array",D)):new K(D)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(B,Re,J){"use strict";J.LOCAL_FILE_HEADER="PK",J.CENTRAL_FILE_HEADER="PK",J.CENTRAL_DIRECTORY_END="PK",J.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",J.ZIP64_CENTRAL_DIRECTORY_END="PK",J.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(B,Re,J){"use strict";var Q=B("./GenericWorker"),Y=B("../utils");function y(K){Q.call(this,"ConvertWorker to "+K),this.destType=K}Y.inherits(y,Q),y.prototype.processChunk=function(K){this.push({data:Y.transformTo(this.destType,K.data),meta:K.meta})},Re.exports=y},{"../utils":32,"./GenericWorker":28}],25:[function(B,Re,J){"use strict";var Q=B("./GenericWorker"),Y=B("../crc32");function y(){Q.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}B("../utils").inherits(y,Q),y.prototype.processChunk=function(K){this.streamInfo.crc32=Y(K.data,this.streamInfo.crc32||0),this.push(K)},Re.exports=y},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(B,Re,J){"use strict";var Q=B("../utils"),Y=B("./GenericWorker");function y(K){Y.call(this,"DataLengthProbe for "+K),this.propName=K,this.withStreamInfo(K,0)}Q.inherits(y,Y),y.prototype.processChunk=function(K){if(K){var u=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=u+K.data.length}Y.prototype.processChunk.call(this,K)},Re.exports=y},{"../utils":32,"./GenericWorker":28}],27:[function(B,Re,J){"use strict";var Q=B("../utils"),Y=B("./GenericWorker");function y(K){Y.call(this,"DataWorker");var u=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,K.then(function(L){u.dataIsReady=!0,u.data=L,u.max=L&&L.length||0,u.type=Q.getTypeOf(L),u.isPaused||u._tickAndRepeat()},function(L){u.error(L)})}Q.inherits(y,Y),y.prototype.cleanUp=function(){Y.prototype.cleanUp.call(this),this.data=null},y.prototype.resume=function(){return!!Y.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 K=null,u=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":K=this.data.substring(this.index,u);break;case"uint8array":K=this.data.subarray(this.index,u);break;case"array":case"nodebuffer":K=this.data.slice(this.index,u)}return this.index=u,this.push({data:K,meta:{percent:this.max?this.index/this.max*100:0}})},Re.exports=y},{"../utils":32,"./GenericWorker":28}],28:[function(B,Re,J){"use strict";function Q(Y){this.name=Y||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}Q.prototype={push:function(Y){this.emit("data",Y)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(Y){this.emit("error",Y)}return!0},error:function(Y){return!this.isFinished&&(this.isPaused?this.generatedError=Y:(this.isFinished=!0,this.emit("error",Y),this.previous&&this.previous.error(Y),this.cleanUp()),!0)},on:function(Y,y){return this._listeners[Y].push(y),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(Y,y){if(this._listeners[Y])for(var K=0;K<this._listeners[Y].length;K++)this._listeners[Y][K].call(this,y)},pipe:function(Y){return Y.registerPrevious(this)},registerPrevious:function(Y){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=Y.streamInfo,this.mergeStreamInfo(),this.previous=Y;var y=this;return Y.on("data",function(K){y.processChunk(K)}),Y.on("end",function(){y.end()}),Y.on("error",function(K){y.error(K)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var Y=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),Y=!0),this.previous&&this.previous.resume(),!Y},flush:function(){},processChunk:function(Y){this.push(Y)},withStreamInfo:function(Y,y){return this.extraStreamInfo[Y]=y,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var Y in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,Y)&&(this.streamInfo[Y]=this.extraStreamInfo[Y])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var Y="Worker "+this.name;return this.previous?this.previous+" -> "+Y:Y}},Re.exports=Q},{}],29:[function(B,Re,J){"use strict";var Q=B("../utils"),Y=B("./ConvertWorker"),y=B("./GenericWorker"),K=B("../base64"),u=B("../support"),L=B("../external"),D=null;if(u.nodestream)try{D=B("../nodejs/NodejsStreamOutputAdapter")}catch(_){}function G(_,N){return new L.Promise(function(I,w){var E=[],ae=_._internalType,q=_._outputType,te=_._mimeType;_.on("data",function($e,Ne){E.push($e),N&&N(Ne)}).on("error",function($e){E=[],w($e)}).on("end",function(){try{var $e=function(Ne,Qe,Ze){switch(Ne){case"blob":return Q.newBlob(Q.transformTo("arraybuffer",Qe),Ze);case"base64":return K.encode(Qe);default:return Q.transformTo(Ne,Qe)}}(q,function(Ne,Qe){var Ze,ye=0,Ae=null,ie=0;for(Ze=0;Ze<Qe.length;Ze++)ie+=Qe[Ze].length;switch(Ne){case"string":return Qe.join("");case"array":return Array.prototype.concat.apply([],Qe);case"uint8array":for(Ae=new Uint8Array(ie),Ze=0;Ze<Qe.length;Ze++)Ae.set(Qe[Ze],ye),ye+=Qe[Ze].length;return Ae;case"nodebuffer":return o.concat(Qe);default:throw new Error("concat : unsupported type '"+Ne+"'")}}(ae,E),te);I($e)}catch(Ne){w(Ne)}E=[]}).resume()})}function F(_,N,I){var w=N;switch(N){case"blob":case"arraybuffer":w="uint8array";break;case"base64":w="string"}try{this._internalType=w,this._outputType=N,this._mimeType=I,Q.checkSupport(w),this._worker=_.pipe(new Y(w)),_.lock()}catch(E){this._worker=new y("error"),this._worker.error(E)}}F.prototype={accumulate:function(_){return G(this,_)},on:function(_,N){var I=this;return _==="data"?this._worker.on(_,function(w){N.call(I,w.data,w.meta)}):this._worker.on(_,function(){Q.delay(N,arguments,I)}),this},resume:function(){return Q.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_){if(Q.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new D(this,{objectMode:this._outputType!=="nodebuffer"},_)}},Re.exports=F},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(B,Re,J){"use strict";if(J.base64=!0,J.array=!0,J.string=!0,J.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",J.nodebuffer=typeof o!="undefined",J.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")J.blob=!1;else{var Q=new ArrayBuffer(0);try{J.blob=new Blob([Q],{type:"application/zip"}).size===0}catch(y){try{var Y=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);Y.append(Q),J.blob=Y.getBlob("application/zip").size===0}catch(K){J.blob=!1}}}try{J.nodestream=!!B("readable-stream").Readable}catch(y){J.nodestream=!1}},{"readable-stream":16}],31:[function(B,Re,J){"use strict";for(var Q=B("./utils"),Y=B("./support"),y=B("./nodejsUtils"),K=B("./stream/GenericWorker"),u=new Array(256),L=0;L<256;L++)u[L]=252<=L?6:248<=L?5:240<=L?4:224<=L?3:192<=L?2:1;u[254]=u[254]=1;function D(){K.call(this,"utf-8 decode"),this.leftOver=null}function G(){K.call(this,"utf-8 encode")}J.utf8encode=function(F){return Y.nodebuffer?y.newBufferFrom(F,"utf-8"):function(_){var N,I,w,E,ae,q=_.length,te=0;for(E=0;E<q;E++)(64512&(I=_.charCodeAt(E)))==55296&&E+1<q&&(64512&(w=_.charCodeAt(E+1)))==56320&&(I=65536+(I-55296<<10)+(w-56320),E++),te+=I<128?1:I<2048?2:I<65536?3:4;for(N=Y.uint8array?new Uint8Array(te):new Array(te),E=ae=0;ae<te;E++)(64512&(I=_.charCodeAt(E)))==55296&&E+1<q&&(64512&(w=_.charCodeAt(E+1)))==56320&&(I=65536+(I-55296<<10)+(w-56320),E++),I<128?N[ae++]=I:(I<2048?N[ae++]=192|I>>>6:(I<65536?N[ae++]=224|I>>>12:(N[ae++]=240|I>>>18,N[ae++]=128|I>>>12&63),N[ae++]=128|I>>>6&63),N[ae++]=128|63&I);return N}(F)},J.utf8decode=function(F){return Y.nodebuffer?Q.transformTo("nodebuffer",F).toString("utf-8"):function(_){var N,I,w,E,ae=_.length,q=new Array(2*ae);for(N=I=0;N<ae;)if((w=_[N++])<128)q[I++]=w;else if(4<(E=u[w]))q[I++]=65533,N+=E-1;else{for(w&=E===2?31:E===3?15:7;1<E&&N<ae;)w=w<<6|63&_[N++],E--;1<E?q[I++]=65533:w<65536?q[I++]=w:(w-=65536,q[I++]=55296|w>>10&1023,q[I++]=56320|1023&w)}return q.length!==I&&(q.subarray?q=q.subarray(0,I):q.length=I),Q.applyFromCharCode(q)}(F=Q.transformTo(Y.uint8array?"uint8array":"array",F))},Q.inherits(D,K),D.prototype.processChunk=function(F){var _=Q.transformTo(Y.uint8array?"uint8array":"array",F.data);if(this.leftOver&&this.leftOver.length){if(Y.uint8array){var N=_;(_=new Uint8Array(N.length+this.leftOver.length)).set(this.leftOver,0),_.set(N,this.leftOver.length)}else _=this.leftOver.concat(_);this.leftOver=null}var I=function(E,ae){var q;for((ae=ae||E.length)>E.length&&(ae=E.length),q=ae-1;0<=q&&(192&E[q])==128;)q--;return q<0||q===0?ae:q+u[E[q]]>ae?q:ae}(_),w=_;I!==_.length&&(Y.uint8array?(w=_.subarray(0,I),this.leftOver=_.subarray(I,_.length)):(w=_.slice(0,I),this.leftOver=_.slice(I,_.length))),this.push({data:J.utf8decode(w),meta:F.meta})},D.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:J.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},J.Utf8DecodeWorker=D,Q.inherits(G,K),G.prototype.processChunk=function(F){this.push({data:J.utf8encode(F.data),meta:F.meta})},J.Utf8EncodeWorker=G},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(B,Re,J){"use strict";var Q=B("./support"),Y=B("./base64"),y=B("./nodejsUtils"),K=B("./external");function u(N){return N}function L(N,I){for(var w=0;w<N.length;++w)I[w]=255&N.charCodeAt(w);return I}B("setimmediate"),J.newBlob=function(N,I){J.checkSupport("blob");try{return new Blob([N],{type:I})}catch(E){try{var w=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return w.append(N),w.getBlob(I)}catch(ae){throw new Error("Bug : can't construct the Blob.")}}};var D={stringifyByChunk:function(N,I,w){var E=[],ae=0,q=N.length;if(q<=w)return String.fromCharCode.apply(null,N);for(;ae<q;)I==="array"||I==="nodebuffer"?E.push(String.fromCharCode.apply(null,N.slice(ae,Math.min(ae+w,q)))):E.push(String.fromCharCode.apply(null,N.subarray(ae,Math.min(ae+w,q)))),ae+=w;return E.join("")},stringifyByChar:function(N){for(var I="",w=0;w<N.length;w++)I+=String.fromCharCode(N[w]);return I},applyCanBeUsed:{uint8array:function(){try{return Q.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(N){return!1}}(),nodebuffer:function(){try{return Q.nodebuffer&&String.fromCharCode.apply(null,y.allocBuffer(1)).length===1}catch(N){return!1}}()}};function G(N){var I=65536,w=J.getTypeOf(N),E=!0;if(w==="uint8array"?E=D.applyCanBeUsed.uint8array:w==="nodebuffer"&&(E=D.applyCanBeUsed.nodebuffer),E)for(;1<I;)try{return D.stringifyByChunk(N,w,I)}catch(ae){I=Math.floor(I/2)}return D.stringifyByChar(N)}function F(N,I){for(var w=0;w<N.length;w++)I[w]=N[w];return I}J.applyFromCharCode=G;var _={};_.string={string:u,array:function(N){return L(N,new Array(N.length))},arraybuffer:function(N){return _.string.uint8array(N).buffer},uint8array:function(N){return L(N,new Uint8Array(N.length))},nodebuffer:function(N){return L(N,y.allocBuffer(N.length))}},_.array={string:G,array:u,arraybuffer:function(N){return new Uint8Array(N).buffer},uint8array:function(N){return new Uint8Array(N)},nodebuffer:function(N){return y.newBufferFrom(N)}},_.arraybuffer={string:function(N){return G(new Uint8Array(N))},array:function(N){return F(new Uint8Array(N),new Array(N.byteLength))},arraybuffer:u,uint8array:function(N){return new Uint8Array(N)},nodebuffer:function(N){return y.newBufferFrom(new Uint8Array(N))}},_.uint8array={string:G,array:function(N){return F(N,new Array(N.length))},arraybuffer:function(N){return N.buffer},uint8array:u,nodebuffer:function(N){return y.newBufferFrom(N)}},_.nodebuffer={string:G,array:function(N){return F(N,new Array(N.length))},arraybuffer:function(N){return _.nodebuffer.uint8array(N).buffer},uint8array:function(N){return F(N,new Uint8Array(N.length))},nodebuffer:u},J.transformTo=function(N,I){if(I=I||"",!N)return I;J.checkSupport(N);var w=J.getTypeOf(I);return _[w][N](I)},J.resolve=function(N){for(var I=N.split("/"),w=[],E=0;E<I.length;E++){var ae=I[E];ae==="."||ae===""&&E!==0&&E!==I.length-1||(ae===".."?w.pop():w.push(ae))}return w.join("/")},J.getTypeOf=function(N){return typeof N=="string"?"string":Object.prototype.toString.call(N)==="[object Array]"?"array":Q.nodebuffer&&y.isBuffer(N)?"nodebuffer":Q.uint8array&&N instanceof Uint8Array?"uint8array":Q.arraybuffer&&N instanceof ArrayBuffer?"arraybuffer":void 0},J.checkSupport=function(N){if(!Q[N.toLowerCase()])throw new Error(N+" is not supported by this platform")},J.MAX_VALUE_16BITS=65535,J.MAX_VALUE_32BITS=-1,J.pretty=function(N){var I,w,E="";for(w=0;w<(N||"").length;w++)E+="\\x"+((I=N.charCodeAt(w))<16?"0":"")+I.toString(16).toUpperCase();return E},J.delay=function(N,I,w){setImmediate(function(){N.apply(w||null,I||[])})},J.inherits=function(N,I){function w(){}w.prototype=I.prototype,N.prototype=new w},J.extend=function(){var N,I,w={};for(N=0;N<arguments.length;N++)for(I in arguments[N])Object.prototype.hasOwnProperty.call(arguments[N],I)&&w[I]===void 0&&(w[I]=arguments[N][I]);return w},J.prepareContent=function(N,I,w,E,ae){return K.Promise.resolve(I).then(function(q){return Q.blob&&(q instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(q))!==-1)&&typeof FileReader!="undefined"?new K.Promise(function(te,$e){var Ne=new FileReader;Ne.onload=function(Qe){te(Qe.target.result)},Ne.onerror=function(Qe){$e(Qe.target.error)},Ne.readAsArrayBuffer(q)}):q}).then(function(q){var te=J.getTypeOf(q);return te?(te==="arraybuffer"?q=J.transformTo("uint8array",q):te==="string"&&(ae?q=Y.decode(q):w&&E!==!0&&(q=function($e){return L($e,Q.uint8array?new Uint8Array($e.length):new Array($e.length))}(q))),q):K.Promise.reject(new Error("Can't read the data of '"+N+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(B,Re,J){"use strict";var Q=B("./reader/readerFor"),Y=B("./utils"),y=B("./signature"),K=B("./zipEntry"),u=B("./support");function L(D){this.files=[],this.loadOptions=D}L.prototype={checkSignature:function(D){if(!this.reader.readAndCheckSignature(D)){this.reader.index-=4;var G=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+Y.pretty(G)+", expected "+Y.pretty(D)+")")}},isSignature:function(D,G){var F=this.reader.index;this.reader.setIndex(D);var _=this.reader.readString(4)===G;return this.reader.setIndex(F),_},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var D=this.reader.readData(this.zipCommentLength),G=u.uint8array?"uint8array":"array",F=Y.transformTo(G,D);this.zipComment=this.loadOptions.decodeFileName(F)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var D,G,F,_=this.zip64EndOfCentralSize-44;0<_;)D=this.reader.readInt(2),G=this.reader.readInt(4),F=this.reader.readData(G),this.zip64ExtensibleData[D]={id:D,length:G,value:F}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var D,G;for(D=0;D<this.files.length;D++)G=this.files[D],this.reader.setIndex(G.localHeaderOffset),this.checkSignature(y.LOCAL_FILE_HEADER),G.readLocalPart(this.reader),G.handleUTF8(),G.processAttributes()},readCentralDir:function(){var D;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(y.CENTRAL_FILE_HEADER);)(D=new K({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(D);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var D=this.reader.lastIndexOfSignature(y.CENTRAL_DIRECTORY_END);if(D<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(D);var G=D;if(this.checkSignature(y.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===Y.MAX_VALUE_16BITS||this.diskWithCentralDirStart===Y.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===Y.MAX_VALUE_16BITS||this.centralDirRecords===Y.MAX_VALUE_16BITS||this.centralDirSize===Y.MAX_VALUE_32BITS||this.centralDirOffset===Y.MAX_VALUE_32BITS){if(this.zip64=!0,(D=this.reader.lastIndexOfSignature(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(D),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 F=this.centralDirOffset+this.centralDirSize;this.zip64&&(F+=20,F+=12+this.zip64EndOfCentralSize);var _=G-F;if(0<_)this.isSignature(G,y.CENTRAL_FILE_HEADER)||(this.reader.zero=_);else if(_<0)throw new Error("Corrupted zip: missing "+Math.abs(_)+" bytes.")},prepareReader:function(D){this.reader=Q(D)},load:function(D){this.prepareReader(D),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},Re.exports=L},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(B,Re,J){"use strict";var Q=B("./reader/readerFor"),Y=B("./utils"),y=B("./compressedObject"),K=B("./crc32"),u=B("./utf8"),L=B("./compressions"),D=B("./support");function G(F,_){this.options=F,this.loadOptions=_}G.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(F){var _,N;if(F.skip(22),this.fileNameLength=F.readInt(2),N=F.readInt(2),this.fileName=F.readData(this.fileNameLength),F.skip(N),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((_=function(I){for(var w in L)if(Object.prototype.hasOwnProperty.call(L,w)&&L[w].magic===I)return L[w];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+Y.pretty(this.compressionMethod)+" unknown (inner file : "+Y.transformTo("string",this.fileName)+")");this.decompressed=new y(this.compressedSize,this.uncompressedSize,this.crc32,_,F.readData(this.compressedSize))},readCentralPart:function(F){this.versionMadeBy=F.readInt(2),F.skip(2),this.bitFlag=F.readInt(2),this.compressionMethod=F.readString(2),this.date=F.readDate(),this.crc32=F.readInt(4),this.compressedSize=F.readInt(4),this.uncompressedSize=F.readInt(4);var _=F.readInt(2);if(this.extraFieldsLength=F.readInt(2),this.fileCommentLength=F.readInt(2),this.diskNumberStart=F.readInt(2),this.internalFileAttributes=F.readInt(2),this.externalFileAttributes=F.readInt(4),this.localHeaderOffset=F.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");F.skip(_),this.readExtraFields(F),this.parseZIP64ExtraField(F),this.fileComment=F.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var F=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),F==0&&(this.dosPermissions=63&this.externalFileAttributes),F==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var F=Q(this.extraFields[1].value);this.uncompressedSize===Y.MAX_VALUE_32BITS&&(this.uncompressedSize=F.readInt(8)),this.compressedSize===Y.MAX_VALUE_32BITS&&(this.compressedSize=F.readInt(8)),this.localHeaderOffset===Y.MAX_VALUE_32BITS&&(this.localHeaderOffset=F.readInt(8)),this.diskNumberStart===Y.MAX_VALUE_32BITS&&(this.diskNumberStart=F.readInt(4))}},readExtraFields:function(F){var _,N,I,w=F.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});F.index+4<w;)_=F.readInt(2),N=F.readInt(2),I=F.readData(N),this.extraFields[_]={id:_,length:N,value:I};F.setIndex(w)},handleUTF8:function(){var F=D.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var _=this.findExtraFieldUnicodePath();if(_!==null)this.fileNameStr=_;else{var N=Y.transformTo(F,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(N)}var I=this.findExtraFieldUnicodeComment();if(I!==null)this.fileCommentStr=I;else{var w=Y.transformTo(F,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(w)}}},findExtraFieldUnicodePath:function(){var F=this.extraFields[28789];if(F){var _=Q(F.value);return _.readInt(1)!==1||K(this.fileName)!==_.readInt(4)?null:u.utf8decode(_.readData(F.length-5))}return null},findExtraFieldUnicodeComment:function(){var F=this.extraFields[25461];if(F){var _=Q(F.value);return _.readInt(1)!==1||K(this.fileComment)!==_.readInt(4)?null:u.utf8decode(_.readData(F.length-5))}return null}},Re.exports=G},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(B,Re,J){"use strict";function Q(_,N,I){this.name=_,this.dir=I.dir,this.date=I.date,this.comment=I.comment,this.unixPermissions=I.unixPermissions,this.dosPermissions=I.dosPermissions,this._data=N,this._dataBinary=I.binary,this.options={compression:I.compression,compressionOptions:I.compressionOptions}}var Y=B("./stream/StreamHelper"),y=B("./stream/DataWorker"),K=B("./utf8"),u=B("./compressedObject"),L=B("./stream/GenericWorker");Q.prototype={internalStream:function(_){var N=null,I="string";try{if(!_)throw new Error("No output type specified.");var w=(I=_.toLowerCase())==="string"||I==="text";I!=="binarystring"&&I!=="text"||(I="string"),N=this._decompressWorker();var E=!this._dataBinary;E&&!w&&(N=N.pipe(new K.Utf8EncodeWorker)),!E&&w&&(N=N.pipe(new K.Utf8DecodeWorker))}catch(ae){(N=new L("error")).error(ae)}return new Y(N,I,"")},async:function(_,N){return this.internalStream(_).accumulate(N)},nodeStream:function(_,N){return this.internalStream(_||"nodebuffer").toNodejsStream(N)},_compressWorker:function(_,N){if(this._data instanceof u&&this._data.compression.magic===_.magic)return this._data.getCompressedWorker();var I=this._decompressWorker();return this._dataBinary||(I=I.pipe(new K.Utf8EncodeWorker)),u.createWorkerFrom(I,_,N)},_decompressWorker:function(){return this._data instanceof u?this._data.getContentWorker():this._data instanceof L?this._data:new y(this._data)}};for(var D=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],G=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},F=0;F<D.length;F++)Q.prototype[D[F]]=G;Re.exports=Q},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(B,Re,J){(function(Q){"use strict";var Y,y,K=Q.MutationObserver||Q.WebKitMutationObserver;if(K){var u=0,L=new K(_),D=Q.document.createTextNode("");L.observe(D,{characterData:!0}),Y=function(){D.data=u=++u%2}}else if(Q.setImmediate||Q.MessageChannel===void 0)Y="document"in Q&&"onreadystatechange"in Q.document.createElement("script")?function(){var N=Q.document.createElement("script");N.onreadystatechange=function(){_(),N.onreadystatechange=null,N.parentNode.removeChild(N),N=null},Q.document.documentElement.appendChild(N)}:function(){setTimeout(_,0)};else{var G=new Q.MessageChannel;G.port1.onmessage=_,Y=function(){G.port2.postMessage(0)}}var F=[];function _(){var N,I;y=!0;for(var w=F.length;w;){for(I=F,F=[],N=-1;++N<w;)I[N]();w=F.length}y=!1}Re.exports=function(N){F.push(N)!==1||y||Y()}}).call(this,typeof n.g!="undefined"?n.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(B,Re,J){"use strict";var Q=B("immediate");function Y(){}var y={},K=["REJECTED"],u=["FULFILLED"],L=["PENDING"];function D(w){if(typeof w!="function")throw new TypeError("resolver must be a function");this.state=L,this.queue=[],this.outcome=void 0,w!==Y&&N(this,w)}function G(w,E,ae){this.promise=w,typeof E=="function"&&(this.onFulfilled=E,this.callFulfilled=this.otherCallFulfilled),typeof ae=="function"&&(this.onRejected=ae,this.callRejected=this.otherCallRejected)}function F(w,E,ae){Q(function(){var q;try{q=E(ae)}catch(te){return y.reject(w,te)}q===w?y.reject(w,new TypeError("Cannot resolve promise with itself")):y.resolve(w,q)})}function _(w){var E=w&&w.then;if(w&&(typeof w=="object"||typeof w=="function")&&typeof E=="function")return function(){E.apply(w,arguments)}}function N(w,E){var ae=!1;function q(Ne){ae||(ae=!0,y.reject(w,Ne))}function te(Ne){ae||(ae=!0,y.resolve(w,Ne))}var $e=I(function(){E(te,q)});$e.status==="error"&&q($e.value)}function I(w,E){var ae={};try{ae.value=w(E),ae.status="success"}catch(q){ae.status="error",ae.value=q}return ae}(Re.exports=D).prototype.finally=function(w){if(typeof w!="function")return this;var E=this.constructor;return this.then(function(ae){return E.resolve(w()).then(function(){return ae})},function(ae){return E.resolve(w()).then(function(){throw ae})})},D.prototype.catch=function(w){return this.then(null,w)},D.prototype.then=function(w,E){if(typeof w!="function"&&this.state===u||typeof E!="function"&&this.state===K)return this;var ae=new this.constructor(Y);return this.state!==L?F(ae,this.state===u?w:E,this.outcome):this.queue.push(new G(ae,w,E)),ae},G.prototype.callFulfilled=function(w){y.resolve(this.promise,w)},G.prototype.otherCallFulfilled=function(w){F(this.promise,this.onFulfilled,w)},G.prototype.callRejected=function(w){y.reject(this.promise,w)},G.prototype.otherCallRejected=function(w){F(this.promise,this.onRejected,w)},y.resolve=function(w,E){var ae=I(_,E);if(ae.status==="error")return y.reject(w,ae.value);var q=ae.value;if(q)N(w,q);else{w.state=u,w.outcome=E;for(var te=-1,$e=w.queue.length;++te<$e;)w.queue[te].callFulfilled(E)}return w},y.reject=function(w,E){w.state=K,w.outcome=E;for(var ae=-1,q=w.queue.length;++ae<q;)w.queue[ae].callRejected(E);return w},D.resolve=function(w){return w instanceof this?w:y.resolve(new this(Y),w)},D.reject=function(w){var E=new this(Y);return y.reject(E,w)},D.all=function(w){var E=this;if(Object.prototype.toString.call(w)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ae=w.length,q=!1;if(!ae)return this.resolve([]);for(var te=new Array(ae),$e=0,Ne=-1,Qe=new this(Y);++Ne<ae;)Ze(w[Ne],Ne);return Qe;function Ze(ye,Ae){E.resolve(ye).then(function(ie){te[Ae]=ie,++$e!==ae||q||(q=!0,y.resolve(Qe,te))},function(ie){q||(q=!0,y.reject(Qe,ie))})}},D.race=function(w){var E=this;if(Object.prototype.toString.call(w)!=="[object Array]")return this.reject(new TypeError("must be an array"));var ae=w.length,q=!1;if(!ae)return this.resolve([]);for(var te=-1,$e=new this(Y);++te<ae;)Ne=w[te],E.resolve(Ne).then(function(Qe){q||(q=!0,y.resolve($e,Qe))},function(Qe){q||(q=!0,y.reject($e,Qe))});var Ne;return $e}},{immediate:36}],38:[function(B,Re,J){"use strict";var Q={};(0,B("./lib/utils/common").assign)(Q,B("./lib/deflate"),B("./lib/inflate"),B("./lib/zlib/constants")),Re.exports=Q},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(B,Re,J){"use strict";var Q=B("./zlib/deflate"),Y=B("./utils/common"),y=B("./utils/strings"),K=B("./zlib/messages"),u=B("./zlib/zstream"),L=Object.prototype.toString,D=0,G=-1,F=0,_=8;function N(w){if(!(this instanceof N))return new N(w);this.options=Y.assign({level:G,method:_,chunkSize:16384,windowBits:15,memLevel:8,strategy:F,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 u,this.strm.avail_out=0;var ae=Q.deflateInit2(this.strm,E.level,E.method,E.windowBits,E.memLevel,E.strategy);if(ae!==D)throw new Error(K[ae]);if(E.header&&Q.deflateSetHeader(this.strm,E.header),E.dictionary){var q;if(q=typeof E.dictionary=="string"?y.string2buf(E.dictionary):L.call(E.dictionary)==="[object ArrayBuffer]"?new Uint8Array(E.dictionary):E.dictionary,(ae=Q.deflateSetDictionary(this.strm,q))!==D)throw new Error(K[ae]);this._dict_set=!0}}function I(w,E){var ae=new N(E);if(ae.push(w,!0),ae.err)throw ae.msg||K[ae.err];return ae.result}N.prototype.push=function(w,E){var ae,q,te=this.strm,$e=this.options.chunkSize;if(this.ended)return!1;q=E===~~E?E:E===!0?4:0,typeof w=="string"?te.input=y.string2buf(w):L.call(w)==="[object ArrayBuffer]"?te.input=new Uint8Array(w):te.input=w,te.next_in=0,te.avail_in=te.input.length;do{if(te.avail_out===0&&(te.output=new Y.Buf8($e),te.next_out=0,te.avail_out=$e),(ae=Q.deflate(te,q))!==1&&ae!==D)return this.onEnd(ae),!(this.ended=!0);te.avail_out!==0&&(te.avail_in!==0||q!==4&&q!==2)||(this.options.to==="string"?this.onData(y.buf2binstring(Y.shrinkBuf(te.output,te.next_out))):this.onData(Y.shrinkBuf(te.output,te.next_out)))}while((0<te.avail_in||te.avail_out===0)&&ae!==1);return q===4?(ae=Q.deflateEnd(this.strm),this.onEnd(ae),this.ended=!0,ae===D):q!==2||(this.onEnd(D),!(te.avail_out=0))},N.prototype.onData=function(w){this.chunks.push(w)},N.prototype.onEnd=function(w){w===D&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Y.flattenChunks(this.chunks)),this.chunks=[],this.err=w,this.msg=this.strm.msg},J.Deflate=N,J.deflate=I,J.deflateRaw=function(w,E){return(E=E||{}).raw=!0,I(w,E)},J.gzip=function(w,E){return(E=E||{}).gzip=!0,I(w,E)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(B,Re,J){"use strict";var Q=B("./zlib/inflate"),Y=B("./utils/common"),y=B("./utils/strings"),K=B("./zlib/constants"),u=B("./zlib/messages"),L=B("./zlib/zstream"),D=B("./zlib/gzheader"),G=Object.prototype.toString;function F(N){if(!(this instanceof F))return new F(N);this.options=Y.assign({chunkSize:16384,windowBits:0,to:""},N||{});var I=this.options;I.raw&&0<=I.windowBits&&I.windowBits<16&&(I.windowBits=-I.windowBits,I.windowBits===0&&(I.windowBits=-15)),!(0<=I.windowBits&&I.windowBits<16)||N&&N.windowBits||(I.windowBits+=32),15<I.windowBits&&I.windowBits<48&&!(15&I.windowBits)&&(I.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new L,this.strm.avail_out=0;var w=Q.inflateInit2(this.strm,I.windowBits);if(w!==K.Z_OK)throw new Error(u[w]);this.header=new D,Q.inflateGetHeader(this.strm,this.header)}function _(N,I){var w=new F(I);if(w.push(N,!0),w.err)throw w.msg||u[w.err];return w.result}F.prototype.push=function(N,I){var w,E,ae,q,te,$e,Ne=this.strm,Qe=this.options.chunkSize,Ze=this.options.dictionary,ye=!1;if(this.ended)return!1;E=I===~~I?I:I===!0?K.Z_FINISH:K.Z_NO_FLUSH,typeof N=="string"?Ne.input=y.binstring2buf(N):G.call(N)==="[object ArrayBuffer]"?Ne.input=new Uint8Array(N):Ne.input=N,Ne.next_in=0,Ne.avail_in=Ne.input.length;do{if(Ne.avail_out===0&&(Ne.output=new Y.Buf8(Qe),Ne.next_out=0,Ne.avail_out=Qe),(w=Q.inflate(Ne,K.Z_NO_FLUSH))===K.Z_NEED_DICT&&Ze&&($e=typeof Ze=="string"?y.string2buf(Ze):G.call(Ze)==="[object ArrayBuffer]"?new Uint8Array(Ze):Ze,w=Q.inflateSetDictionary(this.strm,$e)),w===K.Z_BUF_ERROR&&ye===!0&&(w=K.Z_OK,ye=!1),w!==K.Z_STREAM_END&&w!==K.Z_OK)return this.onEnd(w),!(this.ended=!0);Ne.next_out&&(Ne.avail_out!==0&&w!==K.Z_STREAM_END&&(Ne.avail_in!==0||E!==K.Z_FINISH&&E!==K.Z_SYNC_FLUSH)||(this.options.to==="string"?(ae=y.utf8border(Ne.output,Ne.next_out),q=Ne.next_out-ae,te=y.buf2string(Ne.output,ae),Ne.next_out=q,Ne.avail_out=Qe-q,q&&Y.arraySet(Ne.output,Ne.output,ae,q,0),this.onData(te)):this.onData(Y.shrinkBuf(Ne.output,Ne.next_out)))),Ne.avail_in===0&&Ne.avail_out===0&&(ye=!0)}while((0<Ne.avail_in||Ne.avail_out===0)&&w!==K.Z_STREAM_END);return w===K.Z_STREAM_END&&(E=K.Z_FINISH),E===K.Z_FINISH?(w=Q.inflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===K.Z_OK):E!==K.Z_SYNC_FLUSH||(this.onEnd(K.Z_OK),!(Ne.avail_out=0))},F.prototype.onData=function(N){this.chunks.push(N)},F.prototype.onEnd=function(N){N===K.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Y.flattenChunks(this.chunks)),this.chunks=[],this.err=N,this.msg=this.strm.msg},J.Inflate=F,J.inflate=_,J.inflateRaw=function(N,I){return(I=I||{}).raw=!0,_(N,I)},J.ungzip=_},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(B,Re,J){"use strict";var Q=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";J.assign=function(K){for(var u=Array.prototype.slice.call(arguments,1);u.length;){var L=u.shift();if(L){if(typeof L!="object")throw new TypeError(L+"must be non-object");for(var D in L)L.hasOwnProperty(D)&&(K[D]=L[D])}}return K},J.shrinkBuf=function(K,u){return K.length===u?K:K.subarray?K.subarray(0,u):(K.length=u,K)};var Y={arraySet:function(K,u,L,D,G){if(u.subarray&&K.subarray)K.set(u.subarray(L,L+D),G);else for(var F=0;F<D;F++)K[G+F]=u[L+F]},flattenChunks:function(K){var u,L,D,G,F,_;for(u=D=0,L=K.length;u<L;u++)D+=K[u].length;for(_=new Uint8Array(D),u=G=0,L=K.length;u<L;u++)F=K[u],_.set(F,G),G+=F.length;return _}},y={arraySet:function(K,u,L,D,G){for(var F=0;F<D;F++)K[G+F]=u[L+F]},flattenChunks:function(K){return[].concat.apply([],K)}};J.setTyped=function(K){K?(J.Buf8=Uint8Array,J.Buf16=Uint16Array,J.Buf32=Int32Array,J.assign(J,Y)):(J.Buf8=Array,J.Buf16=Array,J.Buf32=Array,J.assign(J,y))},J.setTyped(Q)},{}],42:[function(B,Re,J){"use strict";var Q=B("./common"),Y=!0,y=!0;try{String.fromCharCode.apply(null,[0])}catch(D){Y=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(D){y=!1}for(var K=new Q.Buf8(256),u=0;u<256;u++)K[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;function L(D,G){if(G<65537&&(D.subarray&&y||!D.subarray&&Y))return String.fromCharCode.apply(null,Q.shrinkBuf(D,G));for(var F="",_=0;_<G;_++)F+=String.fromCharCode(D[_]);return F}K[254]=K[254]=1,J.string2buf=function(D){var G,F,_,N,I,w=D.length,E=0;for(N=0;N<w;N++)(64512&(F=D.charCodeAt(N)))==55296&&N+1<w&&(64512&(_=D.charCodeAt(N+1)))==56320&&(F=65536+(F-55296<<10)+(_-56320),N++),E+=F<128?1:F<2048?2:F<65536?3:4;for(G=new Q.Buf8(E),N=I=0;I<E;N++)(64512&(F=D.charCodeAt(N)))==55296&&N+1<w&&(64512&(_=D.charCodeAt(N+1)))==56320&&(F=65536+(F-55296<<10)+(_-56320),N++),F<128?G[I++]=F:(F<2048?G[I++]=192|F>>>6:(F<65536?G[I++]=224|F>>>12:(G[I++]=240|F>>>18,G[I++]=128|F>>>12&63),G[I++]=128|F>>>6&63),G[I++]=128|63&F);return G},J.buf2binstring=function(D){return L(D,D.length)},J.binstring2buf=function(D){for(var G=new Q.Buf8(D.length),F=0,_=G.length;F<_;F++)G[F]=D.charCodeAt(F);return G},J.buf2string=function(D,G){var F,_,N,I,w=G||D.length,E=new Array(2*w);for(F=_=0;F<w;)if((N=D[F++])<128)E[_++]=N;else if(4<(I=K[N]))E[_++]=65533,F+=I-1;else{for(N&=I===2?31:I===3?15:7;1<I&&F<w;)N=N<<6|63&D[F++],I--;1<I?E[_++]=65533:N<65536?E[_++]=N:(N-=65536,E[_++]=55296|N>>10&1023,E[_++]=56320|1023&N)}return L(E,_)},J.utf8border=function(D,G){var F;for((G=G||D.length)>D.length&&(G=D.length),F=G-1;0<=F&&(192&D[F])==128;)F--;return F<0||F===0?G:F+K[D[F]]>G?F:G}},{"./common":41}],43:[function(B,Re,J){"use strict";Re.exports=function(Q,Y,y,K){for(var u=65535&Q|0,L=Q>>>16&65535|0,D=0;y!==0;){for(y-=D=2e3<y?2e3:y;L=L+(u=u+Y[K++]|0)|0,--D;);u%=65521,L%=65521}return u|L<<16|0}},{}],44:[function(B,Re,J){"use strict";Re.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(B,Re,J){"use strict";var Q=function(){for(var Y,y=[],K=0;K<256;K++){Y=K;for(var u=0;u<8;u++)Y=1&Y?3988292384^Y>>>1:Y>>>1;y[K]=Y}return y}();Re.exports=function(Y,y,K,u){var L=Q,D=u+K;Y^=-1;for(var G=u;G<D;G++)Y=Y>>>8^L[255&(Y^y[G])];return-1^Y}},{}],46:[function(B,Re,J){"use strict";var Q,Y=B("../utils/common"),y=B("./trees"),K=B("./adler32"),u=B("./crc32"),L=B("./messages"),D=0,G=4,F=0,_=-2,N=-1,I=4,w=2,E=8,ae=9,q=286,te=30,$e=19,Ne=2*q+1,Qe=15,Ze=3,ye=258,Ae=ye+Ze+1,ie=42,xe=113,M=1,A=2,ot=3,ue=4;function ce(j,Ye){return j.msg=L[Ye],Ye}function C(j){return(j<<1)-(4<j?9:0)}function k(j){for(var Ye=j.length;0<=--Ye;)j[Ye]=0}function R(j){var Ye=j.state,be=Ye.pending;be>j.avail_out&&(be=j.avail_out),be!==0&&(Y.arraySet(j.output,Ye.pending_buf,Ye.pending_out,be,j.next_out),j.next_out+=be,Ye.pending_out+=be,j.total_out+=be,j.avail_out-=be,Ye.pending-=be,Ye.pending===0&&(Ye.pending_out=0))}function S(j,Ye){y._tr_flush_block(j,0<=j.block_start?j.block_start:-1,j.strstart-j.block_start,Ye),j.block_start=j.strstart,R(j.strm)}function X(j,Ye){j.pending_buf[j.pending++]=Ye}function We(j,Ye){j.pending_buf[j.pending++]=Ye>>>8&255,j.pending_buf[j.pending++]=255&Ye}function ge(j,Ye){var be,de,he=j.max_chain_length,me=j.strstart,Ie=j.prev_length,we=j.nice_match,Le=j.strstart>j.w_size-Ae?j.strstart-(j.w_size-Ae):0,qe=j.window,yt=j.w_mask,$t=j.prev,qt=j.strstart+ye,Gt=qe[me+Ie-1],Pt=qe[me+Ie];j.prev_length>=j.good_match&&(he>>=2),we>j.lookahead&&(we=j.lookahead);do if(qe[(be=Ye)+Ie]===Pt&&qe[be+Ie-1]===Gt&&qe[be]===qe[me]&&qe[++be]===qe[me+1]){me+=2,be++;do;while(qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&qe[++me]===qe[++be]&&me<qt);if(de=ye-(qt-me),me=qt-ye,Ie<de){if(j.match_start=Ye,we<=(Ie=de))break;Gt=qe[me+Ie-1],Pt=qe[me+Ie]}}while((Ye=$t[Ye&yt])>Le&&--he!=0);return Ie<=j.lookahead?Ie:j.lookahead}function Ve(j){var Ye,be,de,he,me,Ie,we,Le,qe,yt,$t=j.w_size;do{if(he=j.window_size-j.lookahead-j.strstart,j.strstart>=$t+($t-Ae)){for(Y.arraySet(j.window,j.window,$t,$t,0),j.match_start-=$t,j.strstart-=$t,j.block_start-=$t,Ye=be=j.hash_size;de=j.head[--Ye],j.head[Ye]=$t<=de?de-$t:0,--be;);for(Ye=be=$t;de=j.prev[--Ye],j.prev[Ye]=$t<=de?de-$t:0,--be;);he+=$t}if(j.strm.avail_in===0)break;if(Ie=j.strm,we=j.window,Le=j.strstart+j.lookahead,qe=he,yt=void 0,yt=Ie.avail_in,qe<yt&&(yt=qe),be=yt===0?0:(Ie.avail_in-=yt,Y.arraySet(we,Ie.input,Ie.next_in,yt,Le),Ie.state.wrap===1?Ie.adler=K(Ie.adler,we,yt,Le):Ie.state.wrap===2&&(Ie.adler=u(Ie.adler,we,yt,Le)),Ie.next_in+=yt,Ie.total_in+=yt,yt),j.lookahead+=be,j.lookahead+j.insert>=Ze)for(me=j.strstart-j.insert,j.ins_h=j.window[me],j.ins_h=(j.ins_h<<j.hash_shift^j.window[me+1])&j.hash_mask;j.insert&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[me+Ze-1])&j.hash_mask,j.prev[me&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=me,me++,j.insert--,!(j.lookahead+j.insert<Ze)););}while(j.lookahead<Ae&&j.strm.avail_in!==0)}function it(j,Ye){for(var be,de;;){if(j.lookahead<Ae){if(Ve(j),j.lookahead<Ae&&Ye===D)return M;if(j.lookahead===0)break}if(be=0,j.lookahead>=Ze&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart),be!==0&&j.strstart-be<=j.w_size-Ae&&(j.match_length=ge(j,be)),j.match_length>=Ze)if(de=y._tr_tally(j,j.strstart-j.match_start,j.match_length-Ze),j.lookahead-=j.match_length,j.match_length<=j.max_lazy_match&&j.lookahead>=Ze){for(j.match_length--;j.strstart++,j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart,--j.match_length!=0;);j.strstart++}else j.strstart+=j.match_length,j.match_length=0,j.ins_h=j.window[j.strstart],j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+1])&j.hash_mask;else de=y._tr_tally(j,0,j.window[j.strstart]),j.lookahead--,j.strstart++;if(de&&(S(j,!1),j.strm.avail_out===0))return M}return j.insert=j.strstart<Ze-1?j.strstart:Ze-1,Ye===G?(S(j,!0),j.strm.avail_out===0?ot:ue):j.last_lit&&(S(j,!1),j.strm.avail_out===0)?M:A}function dt(j,Ye){for(var be,de,he;;){if(j.lookahead<Ae){if(Ve(j),j.lookahead<Ae&&Ye===D)return M;if(j.lookahead===0)break}if(be=0,j.lookahead>=Ze&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart),j.prev_length=j.match_length,j.prev_match=j.match_start,j.match_length=Ze-1,be!==0&&j.prev_length<j.max_lazy_match&&j.strstart-be<=j.w_size-Ae&&(j.match_length=ge(j,be),j.match_length<=5&&(j.strategy===1||j.match_length===Ze&&4096<j.strstart-j.match_start)&&(j.match_length=Ze-1)),j.prev_length>=Ze&&j.match_length<=j.prev_length){for(he=j.strstart+j.lookahead-Ze,de=y._tr_tally(j,j.strstart-1-j.prev_match,j.prev_length-Ze),j.lookahead-=j.prev_length-1,j.prev_length-=2;++j.strstart<=he&&(j.ins_h=(j.ins_h<<j.hash_shift^j.window[j.strstart+Ze-1])&j.hash_mask,be=j.prev[j.strstart&j.w_mask]=j.head[j.ins_h],j.head[j.ins_h]=j.strstart),--j.prev_length!=0;);if(j.match_available=0,j.match_length=Ze-1,j.strstart++,de&&(S(j,!1),j.strm.avail_out===0))return M}else if(j.match_available){if((de=y._tr_tally(j,0,j.window[j.strstart-1]))&&S(j,!1),j.strstart++,j.lookahead--,j.strm.avail_out===0)return M}else j.match_available=1,j.strstart++,j.lookahead--}return j.match_available&&(de=y._tr_tally(j,0,j.window[j.strstart-1]),j.match_available=0),j.insert=j.strstart<Ze-1?j.strstart:Ze-1,Ye===G?(S(j,!0),j.strm.avail_out===0?ot:ue):j.last_lit&&(S(j,!1),j.strm.avail_out===0)?M:A}function fe(j,Ye,be,de,he){this.good_length=j,this.max_lazy=Ye,this.nice_length=be,this.max_chain=de,this.func=he}function ze(){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 Y.Buf16(2*Ne),this.dyn_dtree=new Y.Buf16(2*(2*te+1)),this.bl_tree=new Y.Buf16(2*(2*$e+1)),k(this.dyn_ltree),k(this.dyn_dtree),k(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Y.Buf16(Qe+1),this.heap=new Y.Buf16(2*q+1),k(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Y.Buf16(2*q+1),k(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ct(j){var Ye;return j&&j.state?(j.total_in=j.total_out=0,j.data_type=w,(Ye=j.state).pending=0,Ye.pending_out=0,Ye.wrap<0&&(Ye.wrap=-Ye.wrap),Ye.status=Ye.wrap?ie:xe,j.adler=Ye.wrap===2?0:1,Ye.last_flush=D,y._tr_init(Ye),F):ce(j,_)}function He(j){var Ye=Ct(j);return Ye===F&&function(be){be.window_size=2*be.w_size,k(be.head),be.max_lazy_match=Q[be.level].max_lazy,be.good_match=Q[be.level].good_length,be.nice_match=Q[be.level].nice_length,be.max_chain_length=Q[be.level].max_chain,be.strstart=0,be.block_start=0,be.lookahead=0,be.insert=0,be.match_length=be.prev_length=Ze-1,be.match_available=0,be.ins_h=0}(j.state),Ye}function Fe(j,Ye,be,de,he,me){if(!j)return _;var Ie=1;if(Ye===N&&(Ye=6),de<0?(Ie=0,de=-de):15<de&&(Ie=2,de-=16),he<1||ae<he||be!==E||de<8||15<de||Ye<0||9<Ye||me<0||I<me)return ce(j,_);de===8&&(de=9);var we=new ze;return(j.state=we).strm=j,we.wrap=Ie,we.gzhead=null,we.w_bits=de,we.w_size=1<<we.w_bits,we.w_mask=we.w_size-1,we.hash_bits=he+7,we.hash_size=1<<we.hash_bits,we.hash_mask=we.hash_size-1,we.hash_shift=~~((we.hash_bits+Ze-1)/Ze),we.window=new Y.Buf8(2*we.w_size),we.head=new Y.Buf16(we.hash_size),we.prev=new Y.Buf16(we.w_size),we.lit_bufsize=1<<he+6,we.pending_buf_size=4*we.lit_bufsize,we.pending_buf=new Y.Buf8(we.pending_buf_size),we.d_buf=1*we.lit_bufsize,we.l_buf=3*we.lit_bufsize,we.level=Ye,we.strategy=me,we.method=be,He(j)}Q=[new fe(0,0,0,0,function(j,Ye){var be=65535;for(be>j.pending_buf_size-5&&(be=j.pending_buf_size-5);;){if(j.lookahead<=1){if(Ve(j),j.lookahead===0&&Ye===D)return M;if(j.lookahead===0)break}j.strstart+=j.lookahead,j.lookahead=0;var de=j.block_start+be;if((j.strstart===0||j.strstart>=de)&&(j.lookahead=j.strstart-de,j.strstart=de,S(j,!1),j.strm.avail_out===0)||j.strstart-j.block_start>=j.w_size-Ae&&(S(j,!1),j.strm.avail_out===0))return M}return j.insert=0,Ye===G?(S(j,!0),j.strm.avail_out===0?ot:ue):(j.strstart>j.block_start&&(S(j,!1),j.strm.avail_out),M)}),new fe(4,4,8,4,it),new fe(4,5,16,8,it),new fe(4,6,32,32,it),new fe(4,4,16,16,dt),new fe(8,16,32,32,dt),new fe(8,16,128,128,dt),new fe(8,32,128,256,dt),new fe(32,128,258,1024,dt),new fe(32,258,258,4096,dt)],J.deflateInit=function(j,Ye){return Fe(j,Ye,E,15,8,0)},J.deflateInit2=Fe,J.deflateReset=He,J.deflateResetKeep=Ct,J.deflateSetHeader=function(j,Ye){return j&&j.state?j.state.wrap!==2?_:(j.state.gzhead=Ye,F):_},J.deflate=function(j,Ye){var be,de,he,me;if(!j||!j.state||5<Ye||Ye<0)return j?ce(j,_):_;if(de=j.state,!j.output||!j.input&&j.avail_in!==0||de.status===666&&Ye!==G)return ce(j,j.avail_out===0?-5:_);if(de.strm=j,be=de.last_flush,de.last_flush=Ye,de.status===ie)if(de.wrap===2)j.adler=0,X(de,31),X(de,139),X(de,8),de.gzhead?(X(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)),X(de,255&de.gzhead.time),X(de,de.gzhead.time>>8&255),X(de,de.gzhead.time>>16&255),X(de,de.gzhead.time>>24&255),X(de,de.level===9?2:2<=de.strategy||de.level<2?4:0),X(de,255&de.gzhead.os),de.gzhead.extra&&de.gzhead.extra.length&&(X(de,255&de.gzhead.extra.length),X(de,de.gzhead.extra.length>>8&255)),de.gzhead.hcrc&&(j.adler=u(j.adler,de.pending_buf,de.pending,0)),de.gzindex=0,de.status=69):(X(de,0),X(de,0),X(de,0),X(de,0),X(de,0),X(de,de.level===9?2:2<=de.strategy||de.level<2?4:0),X(de,3),de.status=xe);else{var Ie=E+(de.w_bits-8<<4)<<8;Ie|=(2<=de.strategy||de.level<2?0:de.level<6?1:de.level===6?2:3)<<6,de.strstart!==0&&(Ie|=32),Ie+=31-Ie%31,de.status=xe,We(de,Ie),de.strstart!==0&&(We(de,j.adler>>>16),We(de,65535&j.adler)),j.adler=1}if(de.status===69)if(de.gzhead.extra){for(he=de.pending;de.gzindex<(65535&de.gzhead.extra.length)&&(de.pending!==de.pending_buf_size||(de.gzhead.hcrc&&de.pending>he&&(j.adler=u(j.adler,de.pending_buf,de.pending-he,he)),R(j),he=de.pending,de.pending!==de.pending_buf_size));)X(de,255&de.gzhead.extra[de.gzindex]),de.gzindex++;de.gzhead.hcrc&&de.pending>he&&(j.adler=u(j.adler,de.pending_buf,de.pending-he,he)),de.gzindex===de.gzhead.extra.length&&(de.gzindex=0,de.status=73)}else de.status=73;if(de.status===73)if(de.gzhead.name){he=de.pending;do{if(de.pending===de.pending_buf_size&&(de.gzhead.hcrc&&de.pending>he&&(j.adler=u(j.adler,de.pending_buf,de.pending-he,he)),R(j),he=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,X(de,me)}while(me!==0);de.gzhead.hcrc&&de.pending>he&&(j.adler=u(j.adler,de.pending_buf,de.pending-he,he)),me===0&&(de.gzindex=0,de.status=91)}else de.status=91;if(de.status===91)if(de.gzhead.comment){he=de.pending;do{if(de.pending===de.pending_buf_size&&(de.gzhead.hcrc&&de.pending>he&&(j.adler=u(j.adler,de.pending_buf,de.pending-he,he)),R(j),he=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,X(de,me)}while(me!==0);de.gzhead.hcrc&&de.pending>he&&(j.adler=u(j.adler,de.pending_buf,de.pending-he,he)),me===0&&(de.status=103)}else de.status=103;if(de.status===103&&(de.gzhead.hcrc?(de.pending+2>de.pending_buf_size&&R(j),de.pending+2<=de.pending_buf_size&&(X(de,255&j.adler),X(de,j.adler>>8&255),j.adler=0,de.status=xe)):de.status=xe),de.pending!==0){if(R(j),j.avail_out===0)return de.last_flush=-1,F}else if(j.avail_in===0&&C(Ye)<=C(be)&&Ye!==G)return ce(j,-5);if(de.status===666&&j.avail_in!==0)return ce(j,-5);if(j.avail_in!==0||de.lookahead!==0||Ye!==D&&de.status!==666){var we=de.strategy===2?function(Le,qe){for(var yt;;){if(Le.lookahead===0&&(Ve(Le),Le.lookahead===0)){if(qe===D)return M;break}if(Le.match_length=0,yt=y._tr_tally(Le,0,Le.window[Le.strstart]),Le.lookahead--,Le.strstart++,yt&&(S(Le,!1),Le.strm.avail_out===0))return M}return Le.insert=0,qe===G?(S(Le,!0),Le.strm.avail_out===0?ot:ue):Le.last_lit&&(S(Le,!1),Le.strm.avail_out===0)?M:A}(de,Ye):de.strategy===3?function(Le,qe){for(var yt,$t,qt,Gt,Pt=Le.window;;){if(Le.lookahead<=ye){if(Ve(Le),Le.lookahead<=ye&&qe===D)return M;if(Le.lookahead===0)break}if(Le.match_length=0,Le.lookahead>=Ze&&0<Le.strstart&&($t=Pt[qt=Le.strstart-1])===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]){Gt=Le.strstart+ye;do;while($t===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]&&$t===Pt[++qt]&&qt<Gt);Le.match_length=ye-(Gt-qt),Le.match_length>Le.lookahead&&(Le.match_length=Le.lookahead)}if(Le.match_length>=Ze?(yt=y._tr_tally(Le,1,Le.match_length-Ze),Le.lookahead-=Le.match_length,Le.strstart+=Le.match_length,Le.match_length=0):(yt=y._tr_tally(Le,0,Le.window[Le.strstart]),Le.lookahead--,Le.strstart++),yt&&(S(Le,!1),Le.strm.avail_out===0))return M}return Le.insert=0,qe===G?(S(Le,!0),Le.strm.avail_out===0?ot:ue):Le.last_lit&&(S(Le,!1),Le.strm.avail_out===0)?M:A}(de,Ye):Q[de.level].func(de,Ye);if(we!==ot&&we!==ue||(de.status=666),we===M||we===ot)return j.avail_out===0&&(de.last_flush=-1),F;if(we===A&&(Ye===1?y._tr_align(de):Ye!==5&&(y._tr_stored_block(de,0,0,!1),Ye===3&&(k(de.head),de.lookahead===0&&(de.strstart=0,de.block_start=0,de.insert=0))),R(j),j.avail_out===0))return de.last_flush=-1,F}return Ye!==G?F:de.wrap<=0?1:(de.wrap===2?(X(de,255&j.adler),X(de,j.adler>>8&255),X(de,j.adler>>16&255),X(de,j.adler>>24&255),X(de,255&j.total_in),X(de,j.total_in>>8&255),X(de,j.total_in>>16&255),X(de,j.total_in>>24&255)):(We(de,j.adler>>>16),We(de,65535&j.adler)),R(j),0<de.wrap&&(de.wrap=-de.wrap),de.pending!==0?F:1)},J.deflateEnd=function(j){var Ye;return j&&j.state?(Ye=j.state.status)!==ie&&Ye!==69&&Ye!==73&&Ye!==91&&Ye!==103&&Ye!==xe&&Ye!==666?ce(j,_):(j.state=null,Ye===xe?ce(j,-3):F):_},J.deflateSetDictionary=function(j,Ye){var be,de,he,me,Ie,we,Le,qe,yt=Ye.length;if(!j||!j.state||(me=(be=j.state).wrap)===2||me===1&&be.status!==ie||be.lookahead)return _;for(me===1&&(j.adler=K(j.adler,Ye,yt,0)),be.wrap=0,yt>=be.w_size&&(me===0&&(k(be.head),be.strstart=0,be.block_start=0,be.insert=0),qe=new Y.Buf8(be.w_size),Y.arraySet(qe,Ye,yt-be.w_size,be.w_size,0),Ye=qe,yt=be.w_size),Ie=j.avail_in,we=j.next_in,Le=j.input,j.avail_in=yt,j.next_in=0,j.input=Ye,Ve(be);be.lookahead>=Ze;){for(de=be.strstart,he=be.lookahead-(Ze-1);be.ins_h=(be.ins_h<<be.hash_shift^be.window[de+Ze-1])&be.hash_mask,be.prev[de&be.w_mask]=be.head[be.ins_h],be.head[be.ins_h]=de,de++,--he;);be.strstart=de,be.lookahead=Ze-1,Ve(be)}return be.strstart+=be.lookahead,be.block_start=be.strstart,be.insert=be.lookahead,be.lookahead=0,be.match_length=be.prev_length=Ze-1,be.match_available=0,j.next_in=we,j.input=Le,j.avail_in=Ie,be.wrap=me,F},J.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(B,Re,J){"use strict";Re.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(B,Re,J){"use strict";Re.exports=function(Q,Y){var y,K,u,L,D,G,F,_,N,I,w,E,ae,q,te,$e,Ne,Qe,Ze,ye,Ae,ie,xe,M,A;y=Q.state,K=Q.next_in,M=Q.input,u=K+(Q.avail_in-5),L=Q.next_out,A=Q.output,D=L-(Y-Q.avail_out),G=L+(Q.avail_out-257),F=y.dmax,_=y.wsize,N=y.whave,I=y.wnext,w=y.window,E=y.hold,ae=y.bits,q=y.lencode,te=y.distcode,$e=(1<<y.lenbits)-1,Ne=(1<<y.distbits)-1;e:do{ae<15&&(E+=M[K++]<<ae,ae+=8,E+=M[K++]<<ae,ae+=8),Qe=q[E&$e];t:for(;;){if(E>>>=Ze=Qe>>>24,ae-=Ze,(Ze=Qe>>>16&255)===0)A[L++]=65535&Qe;else{if(!(16&Ze)){if(!(64&Ze)){Qe=q[(65535&Qe)+(E&(1<<Ze)-1)];continue t}if(32&Ze){y.mode=12;break e}Q.msg="invalid literal/length code",y.mode=30;break e}ye=65535&Qe,(Ze&=15)&&(ae<Ze&&(E+=M[K++]<<ae,ae+=8),ye+=E&(1<<Ze)-1,E>>>=Ze,ae-=Ze),ae<15&&(E+=M[K++]<<ae,ae+=8,E+=M[K++]<<ae,ae+=8),Qe=te[E&Ne];r:for(;;){if(E>>>=Ze=Qe>>>24,ae-=Ze,!(16&(Ze=Qe>>>16&255))){if(!(64&Ze)){Qe=te[(65535&Qe)+(E&(1<<Ze)-1)];continue r}Q.msg="invalid distance code",y.mode=30;break e}if(Ae=65535&Qe,ae<(Ze&=15)&&(E+=M[K++]<<ae,(ae+=8)<Ze&&(E+=M[K++]<<ae,ae+=8)),F<(Ae+=E&(1<<Ze)-1)){Q.msg="invalid distance too far back",y.mode=30;break e}if(E>>>=Ze,ae-=Ze,(Ze=L-D)<Ae){if(N<(Ze=Ae-Ze)&&y.sane){Q.msg="invalid distance too far back",y.mode=30;break e}if(xe=w,(ie=0)===I){if(ie+=_-Ze,Ze<ye){for(ye-=Ze;A[L++]=w[ie++],--Ze;);ie=L-Ae,xe=A}}else if(I<Ze){if(ie+=_+I-Ze,(Ze-=I)<ye){for(ye-=Ze;A[L++]=w[ie++],--Ze;);if(ie=0,I<ye){for(ye-=Ze=I;A[L++]=w[ie++],--Ze;);ie=L-Ae,xe=A}}}else if(ie+=I-Ze,Ze<ye){for(ye-=Ze;A[L++]=w[ie++],--Ze;);ie=L-Ae,xe=A}for(;2<ye;)A[L++]=xe[ie++],A[L++]=xe[ie++],A[L++]=xe[ie++],ye-=3;ye&&(A[L++]=xe[ie++],1<ye&&(A[L++]=xe[ie++]))}else{for(ie=L-Ae;A[L++]=A[ie++],A[L++]=A[ie++],A[L++]=A[ie++],2<(ye-=3););ye&&(A[L++]=A[ie++],1<ye&&(A[L++]=A[ie++]))}break}}break}}while(K<u&&L<G);K-=ye=ae>>3,E&=(1<<(ae-=ye<<3))-1,Q.next_in=K,Q.next_out=L,Q.avail_in=K<u?u-K+5:5-(K-u),Q.avail_out=L<G?G-L+257:257-(L-G),y.hold=E,y.bits=ae}},{}],49:[function(B,Re,J){"use strict";var Q=B("../utils/common"),Y=B("./adler32"),y=B("./crc32"),K=B("./inffast"),u=B("./inftrees"),L=1,D=2,G=0,F=-2,_=1,N=852,I=592;function w(ie){return(ie>>>24&255)+(ie>>>8&65280)+((65280&ie)<<8)+((255&ie)<<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 ae(ie){var xe;return ie&&ie.state?(xe=ie.state,ie.total_in=ie.total_out=xe.total=0,ie.msg="",xe.wrap&&(ie.adler=1&xe.wrap),xe.mode=_,xe.last=0,xe.havedict=0,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new Q.Buf32(N),xe.distcode=xe.distdyn=new Q.Buf32(I),xe.sane=1,xe.back=-1,G):F}function q(ie){var xe;return ie&&ie.state?((xe=ie.state).wsize=0,xe.whave=0,xe.wnext=0,ae(ie)):F}function te(ie,xe){var M,A;return ie&&ie.state?(A=ie.state,xe<0?(M=0,xe=-xe):(M=1+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||15<xe)?F:(A.window!==null&&A.wbits!==xe&&(A.window=null),A.wrap=M,A.wbits=xe,q(ie))):F}function $e(ie,xe){var M,A;return ie?(A=new E,(ie.state=A).window=null,(M=te(ie,xe))!==G&&(ie.state=null),M):F}var Ne,Qe,Ze=!0;function ye(ie){if(Ze){var xe;for(Ne=new Q.Buf32(512),Qe=new Q.Buf32(32),xe=0;xe<144;)ie.lens[xe++]=8;for(;xe<256;)ie.lens[xe++]=9;for(;xe<280;)ie.lens[xe++]=7;for(;xe<288;)ie.lens[xe++]=8;for(u(L,ie.lens,0,288,Ne,0,ie.work,{bits:9}),xe=0;xe<32;)ie.lens[xe++]=5;u(D,ie.lens,0,32,Qe,0,ie.work,{bits:5}),Ze=!1}ie.lencode=Ne,ie.lenbits=9,ie.distcode=Qe,ie.distbits=5}function Ae(ie,xe,M,A){var ot,ue=ie.state;return ue.window===null&&(ue.wsize=1<<ue.wbits,ue.wnext=0,ue.whave=0,ue.window=new Q.Buf8(ue.wsize)),A>=ue.wsize?(Q.arraySet(ue.window,xe,M-ue.wsize,ue.wsize,0),ue.wnext=0,ue.whave=ue.wsize):(A<(ot=ue.wsize-ue.wnext)&&(ot=A),Q.arraySet(ue.window,xe,M-A,ot,ue.wnext),(A-=ot)?(Q.arraySet(ue.window,xe,M-A,A,0),ue.wnext=A,ue.whave=ue.wsize):(ue.wnext+=ot,ue.wnext===ue.wsize&&(ue.wnext=0),ue.whave<ue.wsize&&(ue.whave+=ot))),0}J.inflateReset=q,J.inflateReset2=te,J.inflateResetKeep=ae,J.inflateInit=function(ie){return $e(ie,15)},J.inflateInit2=$e,J.inflate=function(ie,xe){var M,A,ot,ue,ce,C,k,R,S,X,We,ge,Ve,it,dt,fe,ze,Ct,He,Fe,j,Ye,be,de,he=0,me=new Q.Buf8(4),Ie=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!ie||!ie.state||!ie.output||!ie.input&&ie.avail_in!==0)return F;(M=ie.state).mode===12&&(M.mode=13),ce=ie.next_out,ot=ie.output,k=ie.avail_out,ue=ie.next_in,A=ie.input,C=ie.avail_in,R=M.hold,S=M.bits,X=C,We=k,Ye=G;e:for(;;)switch(M.mode){case _:if(M.wrap===0){M.mode=13;break}for(;S<16;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(2&M.wrap&&R===35615){me[M.check=0]=255&R,me[1]=R>>>8&255,M.check=y(M.check,me,2,0),S=R=0,M.mode=2;break}if(M.flags=0,M.head&&(M.head.done=!1),!(1&M.wrap)||(((255&R)<<8)+(R>>8))%31){ie.msg="incorrect header check",M.mode=30;break}if((15&R)!=8){ie.msg="unknown compression method",M.mode=30;break}if(S-=4,j=8+(15&(R>>>=4)),M.wbits===0)M.wbits=j;else if(j>M.wbits){ie.msg="invalid window size",M.mode=30;break}M.dmax=1<<j,ie.adler=M.check=1,M.mode=512&R?10:12,S=R=0;break;case 2:for(;S<16;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(M.flags=R,(255&M.flags)!=8){ie.msg="unknown compression method",M.mode=30;break}if(57344&M.flags){ie.msg="unknown header flags set",M.mode=30;break}M.head&&(M.head.text=R>>8&1),512&M.flags&&(me[0]=255&R,me[1]=R>>>8&255,M.check=y(M.check,me,2,0)),S=R=0,M.mode=3;case 3:for(;S<32;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}M.head&&(M.head.time=R),512&M.flags&&(me[0]=255&R,me[1]=R>>>8&255,me[2]=R>>>16&255,me[3]=R>>>24&255,M.check=y(M.check,me,4,0)),S=R=0,M.mode=4;case 4:for(;S<16;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}M.head&&(M.head.xflags=255&R,M.head.os=R>>8),512&M.flags&&(me[0]=255&R,me[1]=R>>>8&255,M.check=y(M.check,me,2,0)),S=R=0,M.mode=5;case 5:if(1024&M.flags){for(;S<16;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}M.length=R,M.head&&(M.head.extra_len=R),512&M.flags&&(me[0]=255&R,me[1]=R>>>8&255,M.check=y(M.check,me,2,0)),S=R=0}else M.head&&(M.head.extra=null);M.mode=6;case 6:if(1024&M.flags&&(C<(ge=M.length)&&(ge=C),ge&&(M.head&&(j=M.head.extra_len-M.length,M.head.extra||(M.head.extra=new Array(M.head.extra_len)),Q.arraySet(M.head.extra,A,ue,ge,j)),512&M.flags&&(M.check=y(M.check,A,ge,ue)),C-=ge,ue+=ge,M.length-=ge),M.length))break e;M.length=0,M.mode=7;case 7:if(2048&M.flags){if(C===0)break e;for(ge=0;j=A[ue+ge++],M.head&&j&&M.length<65536&&(M.head.name+=String.fromCharCode(j)),j&&ge<C;);if(512&M.flags&&(M.check=y(M.check,A,ge,ue)),C-=ge,ue+=ge,j)break e}else M.head&&(M.head.name=null);M.length=0,M.mode=8;case 8:if(4096&M.flags){if(C===0)break e;for(ge=0;j=A[ue+ge++],M.head&&j&&M.length<65536&&(M.head.comment+=String.fromCharCode(j)),j&&ge<C;);if(512&M.flags&&(M.check=y(M.check,A,ge,ue)),C-=ge,ue+=ge,j)break e}else M.head&&(M.head.comment=null);M.mode=9;case 9:if(512&M.flags){for(;S<16;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(R!==(65535&M.check)){ie.msg="header crc mismatch",M.mode=30;break}S=R=0}M.head&&(M.head.hcrc=M.flags>>9&1,M.head.done=!0),ie.adler=M.check=0,M.mode=12;break;case 10:for(;S<32;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}ie.adler=M.check=w(R),S=R=0,M.mode=11;case 11:if(M.havedict===0)return ie.next_out=ce,ie.avail_out=k,ie.next_in=ue,ie.avail_in=C,M.hold=R,M.bits=S,2;ie.adler=M.check=1,M.mode=12;case 12:if(xe===5||xe===6)break e;case 13:if(M.last){R>>>=7&S,S-=7&S,M.mode=27;break}for(;S<3;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}switch(M.last=1&R,S-=1,3&(R>>>=1)){case 0:M.mode=14;break;case 1:if(ye(M),M.mode=20,xe!==6)break;R>>>=2,S-=2;break e;case 2:M.mode=17;break;case 3:ie.msg="invalid block type",M.mode=30}R>>>=2,S-=2;break;case 14:for(R>>>=7&S,S-=7&S;S<32;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if((65535&R)!=(R>>>16^65535)){ie.msg="invalid stored block lengths",M.mode=30;break}if(M.length=65535&R,S=R=0,M.mode=15,xe===6)break e;case 15:M.mode=16;case 16:if(ge=M.length){if(C<ge&&(ge=C),k<ge&&(ge=k),ge===0)break e;Q.arraySet(ot,A,ue,ge,ce),C-=ge,ue+=ge,k-=ge,ce+=ge,M.length-=ge;break}M.mode=12;break;case 17:for(;S<14;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(M.nlen=257+(31&R),R>>>=5,S-=5,M.ndist=1+(31&R),R>>>=5,S-=5,M.ncode=4+(15&R),R>>>=4,S-=4,286<M.nlen||30<M.ndist){ie.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(;S<3;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}M.lens[Ie[M.have++]]=7&R,R>>>=3,S-=3}for(;M.have<19;)M.lens[Ie[M.have++]]=0;if(M.lencode=M.lendyn,M.lenbits=7,be={bits:M.lenbits},Ye=u(0,M.lens,0,19,M.lencode,0,M.work,be),M.lenbits=be.bits,Ye){ie.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(;fe=(he=M.lencode[R&(1<<M.lenbits)-1])>>>16&255,ze=65535&he,!((dt=he>>>24)<=S);){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(ze<16)R>>>=dt,S-=dt,M.lens[M.have++]=ze;else{if(ze===16){for(de=dt+2;S<de;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(R>>>=dt,S-=dt,M.have===0){ie.msg="invalid bit length repeat",M.mode=30;break}j=M.lens[M.have-1],ge=3+(3&R),R>>>=2,S-=2}else if(ze===17){for(de=dt+3;S<de;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}S-=dt,j=0,ge=3+(7&(R>>>=dt)),R>>>=3,S-=3}else{for(de=dt+7;S<de;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}S-=dt,j=0,ge=11+(127&(R>>>=dt)),R>>>=7,S-=7}if(M.have+ge>M.nlen+M.ndist){ie.msg="invalid bit length repeat",M.mode=30;break}for(;ge--;)M.lens[M.have++]=j}}if(M.mode===30)break;if(M.lens[256]===0){ie.msg="invalid code -- missing end-of-block",M.mode=30;break}if(M.lenbits=9,be={bits:M.lenbits},Ye=u(L,M.lens,0,M.nlen,M.lencode,0,M.work,be),M.lenbits=be.bits,Ye){ie.msg="invalid literal/lengths set",M.mode=30;break}if(M.distbits=6,M.distcode=M.distdyn,be={bits:M.distbits},Ye=u(D,M.lens,M.nlen,M.ndist,M.distcode,0,M.work,be),M.distbits=be.bits,Ye){ie.msg="invalid distances set",M.mode=30;break}if(M.mode=20,xe===6)break e;case 20:M.mode=21;case 21:if(6<=C&&258<=k){ie.next_out=ce,ie.avail_out=k,ie.next_in=ue,ie.avail_in=C,M.hold=R,M.bits=S,K(ie,We),ce=ie.next_out,ot=ie.output,k=ie.avail_out,ue=ie.next_in,A=ie.input,C=ie.avail_in,R=M.hold,S=M.bits,M.mode===12&&(M.back=-1);break}for(M.back=0;fe=(he=M.lencode[R&(1<<M.lenbits)-1])>>>16&255,ze=65535&he,!((dt=he>>>24)<=S);){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(fe&&!(240&fe)){for(Ct=dt,He=fe,Fe=ze;fe=(he=M.lencode[Fe+((R&(1<<Ct+He)-1)>>Ct)])>>>16&255,ze=65535&he,!(Ct+(dt=he>>>24)<=S);){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}R>>>=Ct,S-=Ct,M.back+=Ct}if(R>>>=dt,S-=dt,M.back+=dt,M.length=ze,fe===0){M.mode=26;break}if(32&fe){M.back=-1,M.mode=12;break}if(64&fe){ie.msg="invalid literal/length code",M.mode=30;break}M.extra=15&fe,M.mode=22;case 22:if(M.extra){for(de=M.extra;S<de;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}M.length+=R&(1<<M.extra)-1,R>>>=M.extra,S-=M.extra,M.back+=M.extra}M.was=M.length,M.mode=23;case 23:for(;fe=(he=M.distcode[R&(1<<M.distbits)-1])>>>16&255,ze=65535&he,!((dt=he>>>24)<=S);){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(!(240&fe)){for(Ct=dt,He=fe,Fe=ze;fe=(he=M.distcode[Fe+((R&(1<<Ct+He)-1)>>Ct)])>>>16&255,ze=65535&he,!(Ct+(dt=he>>>24)<=S);){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}R>>>=Ct,S-=Ct,M.back+=Ct}if(R>>>=dt,S-=dt,M.back+=dt,64&fe){ie.msg="invalid distance code",M.mode=30;break}M.offset=ze,M.extra=15&fe,M.mode=24;case 24:if(M.extra){for(de=M.extra;S<de;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}M.offset+=R&(1<<M.extra)-1,R>>>=M.extra,S-=M.extra,M.back+=M.extra}if(M.offset>M.dmax){ie.msg="invalid distance too far back",M.mode=30;break}M.mode=25;case 25:if(k===0)break e;if(ge=We-k,M.offset>ge){if((ge=M.offset-ge)>M.whave&&M.sane){ie.msg="invalid distance too far back",M.mode=30;break}Ve=ge>M.wnext?(ge-=M.wnext,M.wsize-ge):M.wnext-ge,ge>M.length&&(ge=M.length),it=M.window}else it=ot,Ve=ce-M.offset,ge=M.length;for(k<ge&&(ge=k),k-=ge,M.length-=ge;ot[ce++]=it[Ve++],--ge;);M.length===0&&(M.mode=21);break;case 26:if(k===0)break e;ot[ce++]=M.length,k--,M.mode=21;break;case 27:if(M.wrap){for(;S<32;){if(C===0)break e;C--,R|=A[ue++]<<S,S+=8}if(We-=k,ie.total_out+=We,M.total+=We,We&&(ie.adler=M.check=M.flags?y(M.check,ot,We,ce-We):Y(M.check,ot,We,ce-We)),We=k,(M.flags?R:w(R))!==M.check){ie.msg="incorrect data check",M.mode=30;break}S=R=0}M.mode=28;case 28:if(M.wrap&&M.flags){for(;S<32;){if(C===0)break e;C--,R+=A[ue++]<<S,S+=8}if(R!==(4294967295&M.total)){ie.msg="incorrect length check",M.mode=30;break}S=R=0}M.mode=29;case 29:Ye=1;break e;case 30:Ye=-3;break e;case 31:return-4;case 32:default:return F}return ie.next_out=ce,ie.avail_out=k,ie.next_in=ue,ie.avail_in=C,M.hold=R,M.bits=S,(M.wsize||We!==ie.avail_out&&M.mode<30&&(M.mode<27||xe!==4))&&Ae(ie,ie.output,ie.next_out,We-ie.avail_out)?(M.mode=31,-4):(X-=ie.avail_in,We-=ie.avail_out,ie.total_in+=X,ie.total_out+=We,M.total+=We,M.wrap&&We&&(ie.adler=M.check=M.flags?y(M.check,ot,We,ie.next_out-We):Y(M.check,ot,We,ie.next_out-We)),ie.data_type=M.bits+(M.last?64:0)+(M.mode===12?128:0)+(M.mode===20||M.mode===15?256:0),(X==0&&We===0||xe===4)&&Ye===G&&(Ye=-5),Ye)},J.inflateEnd=function(ie){if(!ie||!ie.state)return F;var xe=ie.state;return xe.window&&(xe.window=null),ie.state=null,G},J.inflateGetHeader=function(ie,xe){var M;return ie&&ie.state&&2&(M=ie.state).wrap?((M.head=xe).done=!1,G):F},J.inflateSetDictionary=function(ie,xe){var M,A=xe.length;return ie&&ie.state?(M=ie.state).wrap!==0&&M.mode!==11?F:M.mode===11&&Y(1,xe,A,0)!==M.check?-3:Ae(ie,xe,A,A)?(M.mode=31,-4):(M.havedict=1,G):F},J.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(B,Re,J){"use strict";var Q=B("../utils/common"),Y=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],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],K=[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],u=[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];Re.exports=function(L,D,G,F,_,N,I,w){var E,ae,q,te,$e,Ne,Qe,Ze,ye,Ae=w.bits,ie=0,xe=0,M=0,A=0,ot=0,ue=0,ce=0,C=0,k=0,R=0,S=null,X=0,We=new Q.Buf16(16),ge=new Q.Buf16(16),Ve=null,it=0;for(ie=0;ie<=15;ie++)We[ie]=0;for(xe=0;xe<F;xe++)We[D[G+xe]]++;for(ot=Ae,A=15;1<=A&&We[A]===0;A--);if(A<ot&&(ot=A),A===0)return _[N++]=20971520,_[N++]=20971520,w.bits=1,0;for(M=1;M<A&&We[M]===0;M++);for(ot<M&&(ot=M),ie=C=1;ie<=15;ie++)if(C<<=1,(C-=We[ie])<0)return-1;if(0<C&&(L===0||A!==1))return-1;for(ge[1]=0,ie=1;ie<15;ie++)ge[ie+1]=ge[ie]+We[ie];for(xe=0;xe<F;xe++)D[G+xe]!==0&&(I[ge[D[G+xe]]++]=xe);if(Ne=L===0?(S=Ve=I,19):L===1?(S=Y,X-=257,Ve=y,it-=257,256):(S=K,Ve=u,-1),ie=M,$e=N,ce=xe=R=0,q=-1,te=(k=1<<(ue=ot))-1,L===1&&852<k||L===2&&592<k)return 1;for(;;){for(Qe=ie-ce,ye=I[xe]<Ne?(Ze=0,I[xe]):I[xe]>Ne?(Ze=Ve[it+I[xe]],S[X+I[xe]]):(Ze=96,0),E=1<<ie-ce,M=ae=1<<ue;_[$e+(R>>ce)+(ae-=E)]=Qe<<24|Ze<<16|ye|0,ae!==0;);for(E=1<<ie-1;R&E;)E>>=1;if(E!==0?(R&=E-1,R+=E):R=0,xe++,--We[ie]==0){if(ie===A)break;ie=D[G+I[xe]]}if(ot<ie&&(R&te)!==q){for(ce===0&&(ce=ot),$e+=M,C=1<<(ue=ie-ce);ue+ce<A&&!((C-=We[ue+ce])<=0);)ue++,C<<=1;if(k+=1<<ue,L===1&&852<k||L===2&&592<k)return 1;_[q=R&te]=ot<<24|ue<<16|$e-N|0}}return R!==0&&(_[$e+R]=ie-ce<<24|64<<16|0),w.bits=ot,0}},{"../utils/common":41}],51:[function(B,Re,J){"use strict";Re.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(B,Re,J){"use strict";var Q=B("../utils/common"),Y=0,y=1;function K(he){for(var me=he.length;0<=--me;)he[me]=0}var u=0,L=29,D=256,G=D+1+L,F=30,_=19,N=2*G+1,I=15,w=16,E=7,ae=256,q=16,te=17,$e=18,Ne=[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],Qe=[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],Ze=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ye=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ae=new Array(2*(G+2));K(Ae);var ie=new Array(2*F);K(ie);var xe=new Array(512);K(xe);var M=new Array(256);K(M);var A=new Array(L);K(A);var ot,ue,ce,C=new Array(F);function k(he,me,Ie,we,Le){this.static_tree=he,this.extra_bits=me,this.extra_base=Ie,this.elems=we,this.max_length=Le,this.has_stree=he&&he.length}function R(he,me){this.dyn_tree=he,this.max_code=0,this.stat_desc=me}function S(he){return he<256?xe[he]:xe[256+(he>>>7)]}function X(he,me){he.pending_buf[he.pending++]=255&me,he.pending_buf[he.pending++]=me>>>8&255}function We(he,me,Ie){he.bi_valid>w-Ie?(he.bi_buf|=me<<he.bi_valid&65535,X(he,he.bi_buf),he.bi_buf=me>>w-he.bi_valid,he.bi_valid+=Ie-w):(he.bi_buf|=me<<he.bi_valid&65535,he.bi_valid+=Ie)}function ge(he,me,Ie){We(he,Ie[2*me],Ie[2*me+1])}function Ve(he,me){for(var Ie=0;Ie|=1&he,he>>>=1,Ie<<=1,0<--me;);return Ie>>>1}function it(he,me,Ie){var we,Le,qe=new Array(I+1),yt=0;for(we=1;we<=I;we++)qe[we]=yt=yt+Ie[we-1]<<1;for(Le=0;Le<=me;Le++){var $t=he[2*Le+1];$t!==0&&(he[2*Le]=Ve(qe[$t]++,$t))}}function dt(he){var me;for(me=0;me<G;me++)he.dyn_ltree[2*me]=0;for(me=0;me<F;me++)he.dyn_dtree[2*me]=0;for(me=0;me<_;me++)he.bl_tree[2*me]=0;he.dyn_ltree[2*ae]=1,he.opt_len=he.static_len=0,he.last_lit=he.matches=0}function fe(he){8<he.bi_valid?X(he,he.bi_buf):0<he.bi_valid&&(he.pending_buf[he.pending++]=he.bi_buf),he.bi_buf=0,he.bi_valid=0}function ze(he,me,Ie,we){var Le=2*me,qe=2*Ie;return he[Le]<he[qe]||he[Le]===he[qe]&&we[me]<=we[Ie]}function Ct(he,me,Ie){for(var we=he.heap[Ie],Le=Ie<<1;Le<=he.heap_len&&(Le<he.heap_len&&ze(me,he.heap[Le+1],he.heap[Le],he.depth)&&Le++,!ze(me,we,he.heap[Le],he.depth));)he.heap[Ie]=he.heap[Le],Ie=Le,Le<<=1;he.heap[Ie]=we}function He(he,me,Ie){var we,Le,qe,yt,$t=0;if(he.last_lit!==0)for(;we=he.pending_buf[he.d_buf+2*$t]<<8|he.pending_buf[he.d_buf+2*$t+1],Le=he.pending_buf[he.l_buf+$t],$t++,we===0?ge(he,Le,me):(ge(he,(qe=M[Le])+D+1,me),(yt=Ne[qe])!==0&&We(he,Le-=A[qe],yt),ge(he,qe=S(--we),Ie),(yt=Qe[qe])!==0&&We(he,we-=C[qe],yt)),$t<he.last_lit;);ge(he,ae,me)}function Fe(he,me){var Ie,we,Le,qe=me.dyn_tree,yt=me.stat_desc.static_tree,$t=me.stat_desc.has_stree,qt=me.stat_desc.elems,Gt=-1;for(he.heap_len=0,he.heap_max=N,Ie=0;Ie<qt;Ie++)qe[2*Ie]!==0?(he.heap[++he.heap_len]=Gt=Ie,he.depth[Ie]=0):qe[2*Ie+1]=0;for(;he.heap_len<2;)qe[2*(Le=he.heap[++he.heap_len]=Gt<2?++Gt:0)]=1,he.depth[Le]=0,he.opt_len--,$t&&(he.static_len-=yt[2*Le+1]);for(me.max_code=Gt,Ie=he.heap_len>>1;1<=Ie;Ie--)Ct(he,qe,Ie);for(Le=qt;Ie=he.heap[1],he.heap[1]=he.heap[he.heap_len--],Ct(he,qe,1),we=he.heap[1],he.heap[--he.heap_max]=Ie,he.heap[--he.heap_max]=we,qe[2*Le]=qe[2*Ie]+qe[2*we],he.depth[Le]=(he.depth[Ie]>=he.depth[we]?he.depth[Ie]:he.depth[we])+1,qe[2*Ie+1]=qe[2*we+1]=Le,he.heap[1]=Le++,Ct(he,qe,1),2<=he.heap_len;);he.heap[--he.heap_max]=he.heap[1],function(Pt,at){var xt,Nt,Ht,Et,er,lr,Cr=at.dyn_tree,Jr=at.max_code,$r=at.stat_desc.static_tree,x=at.stat_desc.has_stree,W=at.stat_desc.extra_bits,wt=at.stat_desc.extra_base,oe=at.stat_desc.max_length,Te=0;for(Et=0;Et<=I;Et++)Pt.bl_count[Et]=0;for(Cr[2*Pt.heap[Pt.heap_max]+1]=0,xt=Pt.heap_max+1;xt<N;xt++)oe<(Et=Cr[2*Cr[2*(Nt=Pt.heap[xt])+1]+1]+1)&&(Et=oe,Te++),Cr[2*Nt+1]=Et,Jr<Nt||(Pt.bl_count[Et]++,er=0,wt<=Nt&&(er=W[Nt-wt]),lr=Cr[2*Nt],Pt.opt_len+=lr*(Et+er),x&&(Pt.static_len+=lr*($r[2*Nt+1]+er)));if(Te!==0){do{for(Et=oe-1;Pt.bl_count[Et]===0;)Et--;Pt.bl_count[Et]--,Pt.bl_count[Et+1]+=2,Pt.bl_count[oe]--,Te-=2}while(0<Te);for(Et=oe;Et!==0;Et--)for(Nt=Pt.bl_count[Et];Nt!==0;)Jr<(Ht=Pt.heap[--xt])||(Cr[2*Ht+1]!==Et&&(Pt.opt_len+=(Et-Cr[2*Ht+1])*Cr[2*Ht],Cr[2*Ht+1]=Et),Nt--)}}(he,me),it(qe,Gt,he.bl_count)}function j(he,me,Ie){var we,Le,qe=-1,yt=me[1],$t=0,qt=7,Gt=4;for(yt===0&&(qt=138,Gt=3),me[2*(Ie+1)+1]=65535,we=0;we<=Ie;we++)Le=yt,yt=me[2*(we+1)+1],++$t<qt&&Le===yt||($t<Gt?he.bl_tree[2*Le]+=$t:Le!==0?(Le!==qe&&he.bl_tree[2*Le]++,he.bl_tree[2*q]++):$t<=10?he.bl_tree[2*te]++:he.bl_tree[2*$e]++,qe=Le,Gt=($t=0)===yt?(qt=138,3):Le===yt?(qt=6,3):(qt=7,4))}function Ye(he,me,Ie){var we,Le,qe=-1,yt=me[1],$t=0,qt=7,Gt=4;for(yt===0&&(qt=138,Gt=3),we=0;we<=Ie;we++)if(Le=yt,yt=me[2*(we+1)+1],!(++$t<qt&&Le===yt)){if($t<Gt)for(;ge(he,Le,he.bl_tree),--$t!=0;);else Le!==0?(Le!==qe&&(ge(he,Le,he.bl_tree),$t--),ge(he,q,he.bl_tree),We(he,$t-3,2)):$t<=10?(ge(he,te,he.bl_tree),We(he,$t-3,3)):(ge(he,$e,he.bl_tree),We(he,$t-11,7));qe=Le,Gt=($t=0)===yt?(qt=138,3):Le===yt?(qt=6,3):(qt=7,4)}}K(C);var be=!1;function de(he,me,Ie,we){We(he,(u<<1)+(we?1:0),3),function(Le,qe,yt,$t){fe(Le),$t&&(X(Le,yt),X(Le,~yt)),Q.arraySet(Le.pending_buf,Le.window,qe,yt,Le.pending),Le.pending+=yt}(he,me,Ie,!0)}J._tr_init=function(he){be||(function(){var me,Ie,we,Le,qe,yt=new Array(I+1);for(Le=we=0;Le<L-1;Le++)for(A[Le]=we,me=0;me<1<<Ne[Le];me++)M[we++]=Le;for(M[we-1]=Le,Le=qe=0;Le<16;Le++)for(C[Le]=qe,me=0;me<1<<Qe[Le];me++)xe[qe++]=Le;for(qe>>=7;Le<F;Le++)for(C[Le]=qe<<7,me=0;me<1<<Qe[Le]-7;me++)xe[256+qe++]=Le;for(Ie=0;Ie<=I;Ie++)yt[Ie]=0;for(me=0;me<=143;)Ae[2*me+1]=8,me++,yt[8]++;for(;me<=255;)Ae[2*me+1]=9,me++,yt[9]++;for(;me<=279;)Ae[2*me+1]=7,me++,yt[7]++;for(;me<=287;)Ae[2*me+1]=8,me++,yt[8]++;for(it(Ae,G+1,yt),me=0;me<F;me++)ie[2*me+1]=5,ie[2*me]=Ve(me,5);ot=new k(Ae,Ne,D+1,G,I),ue=new k(ie,Qe,0,F,I),ce=new k(new Array(0),Ze,0,_,E)}(),be=!0),he.l_desc=new R(he.dyn_ltree,ot),he.d_desc=new R(he.dyn_dtree,ue),he.bl_desc=new R(he.bl_tree,ce),he.bi_buf=0,he.bi_valid=0,dt(he)},J._tr_stored_block=de,J._tr_flush_block=function(he,me,Ie,we){var Le,qe,yt=0;0<he.level?(he.strm.data_type===2&&(he.strm.data_type=function($t){var qt,Gt=4093624447;for(qt=0;qt<=31;qt++,Gt>>>=1)if(1&Gt&&$t.dyn_ltree[2*qt]!==0)return Y;if($t.dyn_ltree[18]!==0||$t.dyn_ltree[20]!==0||$t.dyn_ltree[26]!==0)return y;for(qt=32;qt<D;qt++)if($t.dyn_ltree[2*qt]!==0)return y;return Y}(he)),Fe(he,he.l_desc),Fe(he,he.d_desc),yt=function($t){var qt;for(j($t,$t.dyn_ltree,$t.l_desc.max_code),j($t,$t.dyn_dtree,$t.d_desc.max_code),Fe($t,$t.bl_desc),qt=_-1;3<=qt&&$t.bl_tree[2*ye[qt]+1]===0;qt--);return $t.opt_len+=3*(qt+1)+5+5+4,qt}(he),Le=he.opt_len+3+7>>>3,(qe=he.static_len+3+7>>>3)<=Le&&(Le=qe)):Le=qe=Ie+5,Ie+4<=Le&&me!==-1?de(he,me,Ie,we):he.strategy===4||qe===Le?(We(he,2+(we?1:0),3),He(he,Ae,ie)):(We(he,4+(we?1:0),3),function($t,qt,Gt,Pt){var at;for(We($t,qt-257,5),We($t,Gt-1,5),We($t,Pt-4,4),at=0;at<Pt;at++)We($t,$t.bl_tree[2*ye[at]+1],3);Ye($t,$t.dyn_ltree,qt-1),Ye($t,$t.dyn_dtree,Gt-1)}(he,he.l_desc.max_code+1,he.d_desc.max_code+1,yt+1),He(he,he.dyn_ltree,he.dyn_dtree)),dt(he),we&&fe(he)},J._tr_tally=function(he,me,Ie){return he.pending_buf[he.d_buf+2*he.last_lit]=me>>>8&255,he.pending_buf[he.d_buf+2*he.last_lit+1]=255&me,he.pending_buf[he.l_buf+he.last_lit]=255&Ie,he.last_lit++,me===0?he.dyn_ltree[2*Ie]++:(he.matches++,me--,he.dyn_ltree[2*(M[Ie]+D+1)]++,he.dyn_dtree[2*S(me)]++),he.last_lit===he.lit_bufsize-1},J._tr_align=function(he){We(he,2,3),ge(he,ae,Ae),function(me){me.bi_valid===16?(X(me,me.bi_buf),me.bi_buf=0,me.bi_valid=0):8<=me.bi_valid&&(me.pending_buf[me.pending++]=255&me.bi_buf,me.bi_buf>>=8,me.bi_valid-=8)}(he)}},{"../utils/common":41}],53:[function(B,Re,J){"use strict";Re.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(B,Re,J){(function(Q){(function(Y,y){"use strict";if(!Y.setImmediate){var K,u,L,D,G=1,F={},_=!1,N=Y.document,I=Object.getPrototypeOf&&Object.getPrototypeOf(Y);I=I&&I.setTimeout?I:Y,K={}.toString.call(Y.process)==="[object process]"?function(q){Je.nextTick(function(){E(q)})}:function(){if(Y.postMessage&&!Y.importScripts){var q=!0,te=Y.onmessage;return Y.onmessage=function(){q=!1},Y.postMessage("","*"),Y.onmessage=te,q}}()?(D="setImmediate$"+Math.random()+"$",Y.addEventListener?Y.addEventListener("message",ae,!1):Y.attachEvent("onmessage",ae),function(q){Y.postMessage(D+q,"*")}):Y.MessageChannel?((L=new MessageChannel).port1.onmessage=function(q){E(q.data)},function(q){L.port2.postMessage(q)}):N&&"onreadystatechange"in N.createElement("script")?(u=N.documentElement,function(q){var te=N.createElement("script");te.onreadystatechange=function(){E(q),te.onreadystatechange=null,u.removeChild(te),te=null},u.appendChild(te)}):function(q){setTimeout(E,0,q)},I.setImmediate=function(q){typeof q!="function"&&(q=new Function(""+q));for(var te=new Array(arguments.length-1),$e=0;$e<te.length;$e++)te[$e]=arguments[$e+1];var Ne={callback:q,args:te};return F[G]=Ne,K(G),G++},I.clearImmediate=w}function w(q){delete F[q]}function E(q){if(_)setTimeout(E,0,q);else{var te=F[q];if(te){_=!0;try{(function($e){var Ne=$e.callback,Qe=$e.args;switch(Qe.length){case 0:Ne();break;case 1:Ne(Qe[0]);break;case 2:Ne(Qe[0],Qe[1]);break;case 3:Ne(Qe[0],Qe[1],Qe[2]);break;default:Ne.apply(y,Qe)}})(te)}finally{w(q),_=!1}}}}function ae(q){q.source===Y&&typeof q.data=="string"&&q.data.indexOf(D)===0&&E(+q.data.slice(D.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(Je){if(n[Je])return n[Je].exports;var B=n[Je]={i:Je,l:!1,exports:{}};return _t[Je].call(B.exports,B,B.exports,o),B.l=!0,B.exports}return o.m=_t,o.c=n,o.d=function(Je,B,Re){o.o(Je,B)||Object.defineProperty(Je,B,{enumerable:!0,get:Re})},o.r=function(Je){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(Je,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(Je,"__esModule",{value:!0})},o.t=function(Je,B){if(B&1&&(Je=o(Je)),B&8||B&4&&typeof Je=="object"&&Je&&Je.__esModule)return Je;var Re=Object.create(null);if(o.r(Re),Object.defineProperty(Re,"default",{enumerable:!0,value:Je}),B&2&&typeof Je!="string")for(var J in Je)o.d(Re,J,function(Q){return Je[Q]}.bind(null,J));return Re},o.n=function(Je){var B=Je&&Je.__esModule?function(){return Je.default}:function(){return Je};return o.d(B,"a",B),B},o.o=function(Je,B){return Object.prototype.hasOwnProperty.call(Je,B)},o.p="",o(o.s=1)}([function(_t,n,o){},function(_t,n,o){"use strict";o.r(n);var Je=o(0),B=function(){function ne(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 ne.range=function(a,l){return l?!a||!a.loc||!l.loc||a.loc.lexer!==l.loc.lexer?null:new ne(a.loc.lexer,a.loc.start,l.loc.end):a&&a.loc},ne}(),Re=function(){function ne(a,l){this.text=void 0,this.loc=void 0,this.text=a,this.loc=l}var r=ne.prototype;return r.range=function(l,g){return new ne(g,B.range(this,l))},ne}(),J=function ne(r,a){this.position=void 0;var l="KaTeX parse error: "+r,g,H=a&&a.loc;if(H&&H.start<=H.end){var se=H.lexer.input;g=H.start;var De=H.end;g===se.length?l+=" at end of input: ":l+=" at position "+(g+1)+": ";var tt=se.slice(g,De).replace(/[^]/g,"$&\u0332"),It;g>15?It="\u2026"+se.slice(g-15,g):It=se.slice(0,g);var rr;De+15<se.length?rr=se.slice(De,De+15)+"\u2026":rr=se.slice(De),l+=It+tt+rr}var pr=new Error(l);return pr.name="ParseError",pr.__proto__=ne.prototype,pr.position=g,pr};J.prototype.__proto__=Error.prototype;var Q=J,Y=function(r,a){return r.indexOf(a)!==-1},y=function(r,a){return r===void 0?a:r},K=/([A-Z])/g,u=function(r){return r.replace(K,"-$1").toLowerCase()},L={"&":"&",">":">","<":"<",'"':""","'":"'"},D=/[&><"']/g;function G(ne){return String(ne).replace(D,function(r){return L[r]})}var F=function ne(r){return r.type==="ordgroup"||r.type==="color"?r.body.length===1?ne(r.body[0]):r:r.type==="font"?ne(r.body):r},_=function(r){var a=F(r);return a.type==="mathord"||a.type==="textord"||a.type==="atom"},N=function(r){if(!r)throw new Error("Expected non-null, but got "+String(r));return r},I=function(r){var a=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(r);return a!=null?a[1]:"_relative"},w={contains:Y,deflt:y,escape:G,hyphenate:u,getBaseElem:F,isCharacterBox:_,protocolFromUrl:I},E=function(){function ne(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=ne.prototype;return r.reportNonstrict=function(l,g,H){var se=this.strict;if(typeof se=="function"&&(se=se(l,g,H)),!(!se||se==="ignore")){if(se===!0||se==="error")throw new Q("LaTeX-incompatible input and strict mode is set to 'error': "+(g+" ["+l+"]"),H);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,H){var se=this.strict;if(typeof se=="function")try{se=se(l,g,H)}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},ne}(),ae=function(){function ne(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=ne.prototype;return r.sup=function(){return ie[xe[this.id]]},r.sub=function(){return ie[M[this.id]]},r.fracNum=function(){return ie[A[this.id]]},r.fracDen=function(){return ie[ot[this.id]]},r.cramp=function(){return ie[ue[this.id]]},r.text=function(){return ie[ce[this.id]]},r.isTight=function(){return this.size>=2},ne}(),q=0,te=1,$e=2,Ne=3,Qe=4,Ze=5,ye=6,Ae=7,ie=[new ae(q,0,!1),new ae(te,0,!0),new ae($e,1,!1),new ae(Ne,1,!0),new ae(Qe,2,!1),new ae(Ze,2,!0),new ae(ye,3,!1),new ae(Ae,3,!0)],xe=[Qe,Ze,Qe,Ze,ye,Ae,ye,Ae],M=[Ze,Ze,Ze,Ze,Ae,Ae,Ae,Ae],A=[$e,Ne,Qe,Ze,ye,Ae,ye,Ae],ot=[Ne,Ne,Ze,Ze,Ae,Ae,Ae,Ae],ue=[te,te,Ne,Ne,Ze,Ze,Ae,Ae],ce=[q,te,$e,Ne,$e,Ne,$e,Ne],C={DISPLAY:ie[q],TEXT:ie[$e],SCRIPT:ie[Qe],SCRIPTSCRIPT:ie[ye]},k=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function R(ne){for(var r=0;r<k.length;r++)for(var a=k[r],l=0;l<a.blocks.length;l++){var g=a.blocks[l];if(ne>=g[0]&&ne<=g[1])return a.name}return null}var S=[];k.forEach(function(ne){return ne.blocks.forEach(function(r){return S.push.apply(S,r)})});function X(ne){for(var r=0;r<S.length;r+=2)if(ne>=S[r]&&ne<=S[r+1])return!0;return!1}var We=80,ge=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"},Ve=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"},it=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"},fe=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"},ze=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"},Ct=function(r,a,l){a=1e3*a;var g="";switch(r){case"sqrtMain":g=ge(a,We);break;case"sqrtSize1":g=Ve(a,We);break;case"sqrtSize2":g=it(a,We);break;case"sqrtSize3":g=dt(a,We);break;case"sqrtSize4":g=fe(a,We);break;case"sqrtTall":g=ze(a,We,l)}return g},He={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`},Fe=function(){function ne(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=ne.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(H){return H.toText()};return this.children.map(l).join("")},ne}(),j=function(r){return r.filter(function(a){return a}).join(" ")},Ye=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)}},be=function(r){var a=document.createElement(r);a.className=j(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 H=0;H<this.children.length;H++)a.appendChild(this.children[H].toNode());return a},de=function(r){var a="<"+r;this.classes.length&&(a+=' class="'+w.escape(j(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 H in this.attributes)this.attributes.hasOwnProperty(H)&&(a+=" "+H+'="'+w.escape(this.attributes[H])+'"');a+=">";for(var se=0;se<this.children.length;se++)a+=this.children[se].toMarkup();return a+="</"+r+">",a},he=function(){function ne(a,l,g,H){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,Ye.call(this,a,g,H),this.children=l||[]}var r=ne.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 be.call(this,"span")},r.toMarkup=function(){return de.call(this,"span")},ne}(),me=function(){function ne(a,l,g,H){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,Ye.call(this,l,H),this.children=g||[],this.setAttribute("href",a)}var r=ne.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 be.call(this,"a")},r.toMarkup=function(){return de.call(this,"a")},ne}(),Ie=function(){function ne(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=ne.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 H in this.style)this.style.hasOwnProperty(H)&&(g+=w.hyphenate(H)+":"+this.style[H]+";");return g&&(l+=' style="'+w.escape(g)+'"'),l+="'/>",l},ne}(),we={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Le=function(){function ne(a,l,g,H,se,De,tt,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=H||0,this.skew=se||0,this.width=De||0,this.classes=tt||[],this.style=It||{},this.maxFontSize=0;var rr=R(this.text.charCodeAt(0));rr&&this.classes.push(rr+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=we[this.text])}var r=ne.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=j(this.classes));for(var H in this.style)this.style.hasOwnProperty(H)&&(g=g||document.createElement("span"),g.style[H]=this.style[H]);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(j(this.classes)),g+='"');var H="";this.italic>0&&(H+="margin-right:"+this.italic+"em;");for(var se in this.style)this.style.hasOwnProperty(se)&&(H+=w.hyphenate(se)+":"+this.style[se]+";");H&&(l=!0,g+=' style="'+w.escape(H)+'"');var De=w.escape(this.text);return l?(g+=">",g+=De,g+="</span>",g):De},ne}(),qe=function(){function ne(a,l){this.children=void 0,this.attributes=void 0,this.children=a||[],this.attributes=l||{}}var r=ne.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"svg");for(var H in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,H)&&g.setAttribute(H,this.attributes[H]);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 H=0;H<this.children.length;H++)l+=this.children[H].toMarkup();return l+="</svg>",l},ne}(),yt=function(){function ne(a,l){this.pathName=void 0,this.alternate=void 0,this.pathName=a,this.alternate=l}var r=ne.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",He[this.pathName]),g},r.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+He[this.pathName]+"'/>"},ne}(),$t=function(){function ne(a){this.attributes=void 0,this.attributes=a||{}}var r=ne.prototype;return r.toNode=function(){var l="http://www.w3.org/2000/svg",g=document.createElementNS(l,"line");for(var H in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,H)&&g.setAttribute(H,this.attributes[H]);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},ne}();function qt(ne){if(ne instanceof Le)return ne;throw new Error("Expected symbolNode but got "+String(ne)+".")}function Gt(ne){if(ne instanceof he)return ne;throw new Error("Expected span<HtmlDomNode> but got "+String(ne)+".")}var Pt={"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]},xt={\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 Nt(ne,r){Pt[ne]=r}function Ht(ne,r,a){if(!Pt[r])throw new Error("Font metrics not found for font: "+r+".");var l=ne.charCodeAt(0),g=Pt[r][l];if(!g&&ne[0]in xt&&(l=xt[ne[0]].charCodeAt(0),g=Pt[r][l]),!g&&a==="text"&&X(l)&&(g=Pt[r][77]),g)return{depth:g[0],height:g[1],italic:g[2],skew:g[3],width:g[4]}}var Et={};function er(ne){var r;if(ne>=5?r=0:ne>=3?r=1:r=2,!Et[r]){var a=Et[r]={cssEmPerMu:at.quad[r]/18};for(var l in at)at.hasOwnProperty(l)&&(a[l]=at[l][r])}return Et[r]}var lr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Cr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Jr={math:{},text:{}},$r=Jr;function x(ne,r,a,l,g,H){Jr[ne][g]={font:r,group:a,replace:l},H&&l&&(Jr[ne][l]=Jr[ne][g])}var W="math",wt="text",oe="main",Te="ams",zr="accent-token",Ar="bin",yn="close",Tn="inner",Ft="mathord",wr="op-token",br="open",Br="punct",h="rel",z="spacing",Oe="textord";x(W,oe,h,"\u2261","\\equiv",!0),x(W,oe,h,"\u227A","\\prec",!0),x(W,oe,h,"\u227B","\\succ",!0),x(W,oe,h,"\u223C","\\sim",!0),x(W,oe,h,"\u22A5","\\perp"),x(W,oe,h,"\u2AAF","\\preceq",!0),x(W,oe,h,"\u2AB0","\\succeq",!0),x(W,oe,h,"\u2243","\\simeq",!0),x(W,oe,h,"\u2223","\\mid",!0),x(W,oe,h,"\u226A","\\ll",!0),x(W,oe,h,"\u226B","\\gg",!0),x(W,oe,h,"\u224D","\\asymp",!0),x(W,oe,h,"\u2225","\\parallel"),x(W,oe,h,"\u22C8","\\bowtie",!0),x(W,oe,h,"\u2323","\\smile",!0),x(W,oe,h,"\u2291","\\sqsubseteq",!0),x(W,oe,h,"\u2292","\\sqsupseteq",!0),x(W,oe,h,"\u2250","\\doteq",!0),x(W,oe,h,"\u2322","\\frown",!0),x(W,oe,h,"\u220B","\\ni",!0),x(W,oe,h,"\u221D","\\propto",!0),x(W,oe,h,"\u22A2","\\vdash",!0),x(W,oe,h,"\u22A3","\\dashv",!0),x(W,oe,h,"\u220B","\\owns"),x(W,oe,Br,".","\\ldotp"),x(W,oe,Br,"\u22C5","\\cdotp"),x(W,oe,Oe,"#","\\#"),x(wt,oe,Oe,"#","\\#"),x(W,oe,Oe,"&","\\&"),x(wt,oe,Oe,"&","\\&"),x(W,oe,Oe,"\u2135","\\aleph",!0),x(W,oe,Oe,"\u2200","\\forall",!0),x(W,oe,Oe,"\u210F","\\hbar",!0),x(W,oe,Oe,"\u2203","\\exists",!0),x(W,oe,Oe,"\u2207","\\nabla",!0),x(W,oe,Oe,"\u266D","\\flat",!0),x(W,oe,Oe,"\u2113","\\ell",!0),x(W,oe,Oe,"\u266E","\\natural",!0),x(W,oe,Oe,"\u2663","\\clubsuit",!0),x(W,oe,Oe,"\u2118","\\wp",!0),x(W,oe,Oe,"\u266F","\\sharp",!0),x(W,oe,Oe,"\u2662","\\diamondsuit",!0),x(W,oe,Oe,"\u211C","\\Re",!0),x(W,oe,Oe,"\u2661","\\heartsuit",!0),x(W,oe,Oe,"\u2111","\\Im",!0),x(W,oe,Oe,"\u2660","\\spadesuit",!0),x(wt,oe,Oe,"\xA7","\\S",!0),x(wt,oe,Oe,"\xB6","\\P",!0),x(W,oe,Oe,"\u2020","\\dag"),x(wt,oe,Oe,"\u2020","\\dag"),x(wt,oe,Oe,"\u2020","\\textdagger"),x(W,oe,Oe,"\u2021","\\ddag"),x(wt,oe,Oe,"\u2021","\\ddag"),x(wt,oe,Oe,"\u2021","\\textdaggerdbl"),x(W,oe,yn,"\u23B1","\\rmoustache",!0),x(W,oe,br,"\u23B0","\\lmoustache",!0),x(W,oe,yn,"\u27EF","\\rgroup",!0),x(W,oe,br,"\u27EE","\\lgroup",!0),x(W,oe,Ar,"\u2213","\\mp",!0),x(W,oe,Ar,"\u2296","\\ominus",!0),x(W,oe,Ar,"\u228E","\\uplus",!0),x(W,oe,Ar,"\u2293","\\sqcap",!0),x(W,oe,Ar,"\u2217","\\ast"),x(W,oe,Ar,"\u2294","\\sqcup",!0),x(W,oe,Ar,"\u25EF","\\bigcirc"),x(W,oe,Ar,"\u2219","\\bullet"),x(W,oe,Ar,"\u2021","\\ddagger"),x(W,oe,Ar,"\u2240","\\wr",!0),x(W,oe,Ar,"\u2A3F","\\amalg"),x(W,oe,Ar,"&","\\And"),x(W,oe,h,"\u27F5","\\longleftarrow",!0),x(W,oe,h,"\u21D0","\\Leftarrow",!0),x(W,oe,h,"\u27F8","\\Longleftarrow",!0),x(W,oe,h,"\u27F6","\\longrightarrow",!0),x(W,oe,h,"\u21D2","\\Rightarrow",!0),x(W,oe,h,"\u27F9","\\Longrightarrow",!0),x(W,oe,h,"\u2194","\\leftrightarrow",!0),x(W,oe,h,"\u27F7","\\longleftrightarrow",!0),x(W,oe,h,"\u21D4","\\Leftrightarrow",!0),x(W,oe,h,"\u27FA","\\Longleftrightarrow",!0),x(W,oe,h,"\u21A6","\\mapsto",!0),x(W,oe,h,"\u27FC","\\longmapsto",!0),x(W,oe,h,"\u2197","\\nearrow",!0),x(W,oe,h,"\u21A9","\\hookleftarrow",!0),x(W,oe,h,"\u21AA","\\hookrightarrow",!0),x(W,oe,h,"\u2198","\\searrow",!0),x(W,oe,h,"\u21BC","\\leftharpoonup",!0),x(W,oe,h,"\u21C0","\\rightharpoonup",!0),x(W,oe,h,"\u2199","\\swarrow",!0),x(W,oe,h,"\u21BD","\\leftharpoondown",!0),x(W,oe,h,"\u21C1","\\rightharpoondown",!0),x(W,oe,h,"\u2196","\\nwarrow",!0),x(W,oe,h,"\u21CC","\\rightleftharpoons",!0),x(W,Te,h,"\u226E","\\nless",!0),x(W,Te,h,"\uE010","\\@nleqslant"),x(W,Te,h,"\uE011","\\@nleqq"),x(W,Te,h,"\u2A87","\\lneq",!0),x(W,Te,h,"\u2268","\\lneqq",!0),x(W,Te,h,"\uE00C","\\@lvertneqq"),x(W,Te,h,"\u22E6","\\lnsim",!0),x(W,Te,h,"\u2A89","\\lnapprox",!0),x(W,Te,h,"\u2280","\\nprec",!0),x(W,Te,h,"\u22E0","\\npreceq",!0),x(W,Te,h,"\u22E8","\\precnsim",!0),x(W,Te,h,"\u2AB9","\\precnapprox",!0),x(W,Te,h,"\u2241","\\nsim",!0),x(W,Te,h,"\uE006","\\@nshortmid"),x(W,Te,h,"\u2224","\\nmid",!0),x(W,Te,h,"\u22AC","\\nvdash",!0),x(W,Te,h,"\u22AD","\\nvDash",!0),x(W,Te,h,"\u22EA","\\ntriangleleft"),x(W,Te,h,"\u22EC","\\ntrianglelefteq",!0),x(W,Te,h,"\u228A","\\subsetneq",!0),x(W,Te,h,"\uE01A","\\@varsubsetneq"),x(W,Te,h,"\u2ACB","\\subsetneqq",!0),x(W,Te,h,"\uE017","\\@varsubsetneqq"),x(W,Te,h,"\u226F","\\ngtr",!0),x(W,Te,h,"\uE00F","\\@ngeqslant"),x(W,Te,h,"\uE00E","\\@ngeqq"),x(W,Te,h,"\u2A88","\\gneq",!0),x(W,Te,h,"\u2269","\\gneqq",!0),x(W,Te,h,"\uE00D","\\@gvertneqq"),x(W,Te,h,"\u22E7","\\gnsim",!0),x(W,Te,h,"\u2A8A","\\gnapprox",!0),x(W,Te,h,"\u2281","\\nsucc",!0),x(W,Te,h,"\u22E1","\\nsucceq",!0),x(W,Te,h,"\u22E9","\\succnsim",!0),x(W,Te,h,"\u2ABA","\\succnapprox",!0),x(W,Te,h,"\u2246","\\ncong",!0),x(W,Te,h,"\uE007","\\@nshortparallel"),x(W,Te,h,"\u2226","\\nparallel",!0),x(W,Te,h,"\u22AF","\\nVDash",!0),x(W,Te,h,"\u22EB","\\ntriangleright"),x(W,Te,h,"\u22ED","\\ntrianglerighteq",!0),x(W,Te,h,"\uE018","\\@nsupseteqq"),x(W,Te,h,"\u228B","\\supsetneq",!0),x(W,Te,h,"\uE01B","\\@varsupsetneq"),x(W,Te,h,"\u2ACC","\\supsetneqq",!0),x(W,Te,h,"\uE019","\\@varsupsetneqq"),x(W,Te,h,"\u22AE","\\nVdash",!0),x(W,Te,h,"\u2AB5","\\precneqq",!0),x(W,Te,h,"\u2AB6","\\succneqq",!0),x(W,Te,h,"\uE016","\\@nsubseteqq"),x(W,Te,Ar,"\u22B4","\\unlhd"),x(W,Te,Ar,"\u22B5","\\unrhd"),x(W,Te,h,"\u219A","\\nleftarrow",!0),x(W,Te,h,"\u219B","\\nrightarrow",!0),x(W,Te,h,"\u21CD","\\nLeftarrow",!0),x(W,Te,h,"\u21CF","\\nRightarrow",!0),x(W,Te,h,"\u21AE","\\nleftrightarrow",!0),x(W,Te,h,"\u21CE","\\nLeftrightarrow",!0),x(W,Te,h,"\u25B3","\\vartriangle"),x(W,Te,Oe,"\u210F","\\hslash"),x(W,Te,Oe,"\u25BD","\\triangledown"),x(W,Te,Oe,"\u25CA","\\lozenge"),x(W,Te,Oe,"\u24C8","\\circledS"),x(W,Te,Oe,"\xAE","\\circledR"),x(wt,Te,Oe,"\xAE","\\circledR"),x(W,Te,Oe,"\u2221","\\measuredangle",!0),x(W,Te,Oe,"\u2204","\\nexists"),x(W,Te,Oe,"\u2127","\\mho"),x(W,Te,Oe,"\u2132","\\Finv",!0),x(W,Te,Oe,"\u2141","\\Game",!0),x(W,Te,Oe,"\u2035","\\backprime"),x(W,Te,Oe,"\u25B2","\\blacktriangle"),x(W,Te,Oe,"\u25BC","\\blacktriangledown"),x(W,Te,Oe,"\u25A0","\\blacksquare"),x(W,Te,Oe,"\u29EB","\\blacklozenge"),x(W,Te,Oe,"\u2605","\\bigstar"),x(W,Te,Oe,"\u2222","\\sphericalangle",!0),x(W,Te,Oe,"\u2201","\\complement",!0),x(W,Te,Oe,"\xF0","\\eth",!0),x(W,Te,Oe,"\u2571","\\diagup"),x(W,Te,Oe,"\u2572","\\diagdown"),x(W,Te,Oe,"\u25A1","\\square"),x(W,Te,Oe,"\u25A1","\\Box"),x(W,Te,Oe,"\u25CA","\\Diamond"),x(W,Te,Oe,"\xA5","\\yen",!0),x(wt,Te,Oe,"\xA5","\\yen",!0),x(W,Te,Oe,"\u2713","\\checkmark",!0),x(wt,Te,Oe,"\u2713","\\checkmark"),x(W,Te,Oe,"\u2136","\\beth",!0),x(W,Te,Oe,"\u2138","\\daleth",!0),x(W,Te,Oe,"\u2137","\\gimel",!0),x(W,Te,Oe,"\u03DD","\\digamma",!0),x(W,Te,Oe,"\u03F0","\\varkappa"),x(W,Te,br,"\u250C","\\ulcorner",!0),x(W,Te,yn,"\u2510","\\urcorner",!0),x(W,Te,br,"\u2514","\\llcorner",!0),x(W,Te,yn,"\u2518","\\lrcorner",!0),x(W,Te,h,"\u2266","\\leqq",!0),x(W,Te,h,"\u2A7D","\\leqslant",!0),x(W,Te,h,"\u2A95","\\eqslantless",!0),x(W,Te,h,"\u2272","\\lesssim",!0),x(W,Te,h,"\u2A85","\\lessapprox",!0),x(W,Te,h,"\u224A","\\approxeq",!0),x(W,Te,Ar,"\u22D6","\\lessdot"),x(W,Te,h,"\u22D8","\\lll",!0),x(W,Te,h,"\u2276","\\lessgtr",!0),x(W,Te,h,"\u22DA","\\lesseqgtr",!0),x(W,Te,h,"\u2A8B","\\lesseqqgtr",!0),x(W,Te,h,"\u2251","\\doteqdot"),x(W,Te,h,"\u2253","\\risingdotseq",!0),x(W,Te,h,"\u2252","\\fallingdotseq",!0),x(W,Te,h,"\u223D","\\backsim",!0),x(W,Te,h,"\u22CD","\\backsimeq",!0),x(W,Te,h,"\u2AC5","\\subseteqq",!0),x(W,Te,h,"\u22D0","\\Subset",!0),x(W,Te,h,"\u228F","\\sqsubset",!0),x(W,Te,h,"\u227C","\\preccurlyeq",!0),x(W,Te,h,"\u22DE","\\curlyeqprec",!0),x(W,Te,h,"\u227E","\\precsim",!0),x(W,Te,h,"\u2AB7","\\precapprox",!0),x(W,Te,h,"\u22B2","\\vartriangleleft"),x(W,Te,h,"\u22B4","\\trianglelefteq"),x(W,Te,h,"\u22A8","\\vDash",!0),x(W,Te,h,"\u22AA","\\Vvdash",!0),x(W,Te,h,"\u2323","\\smallsmile"),x(W,Te,h,"\u2322","\\smallfrown"),x(W,Te,h,"\u224F","\\bumpeq",!0),x(W,Te,h,"\u224E","\\Bumpeq",!0),x(W,Te,h,"\u2267","\\geqq",!0),x(W,Te,h,"\u2A7E","\\geqslant",!0),x(W,Te,h,"\u2A96","\\eqslantgtr",!0),x(W,Te,h,"\u2273","\\gtrsim",!0),x(W,Te,h,"\u2A86","\\gtrapprox",!0),x(W,Te,Ar,"\u22D7","\\gtrdot"),x(W,Te,h,"\u22D9","\\ggg",!0),x(W,Te,h,"\u2277","\\gtrless",!0),x(W,Te,h,"\u22DB","\\gtreqless",!0),x(W,Te,h,"\u2A8C","\\gtreqqless",!0),x(W,Te,h,"\u2256","\\eqcirc",!0),x(W,Te,h,"\u2257","\\circeq",!0),x(W,Te,h,"\u225C","\\triangleq",!0),x(W,Te,h,"\u223C","\\thicksim"),x(W,Te,h,"\u2248","\\thickapprox"),x(W,Te,h,"\u2AC6","\\supseteqq",!0),x(W,Te,h,"\u22D1","\\Supset",!0),x(W,Te,h,"\u2290","\\sqsupset",!0),x(W,Te,h,"\u227D","\\succcurlyeq",!0),x(W,Te,h,"\u22DF","\\curlyeqsucc",!0),x(W,Te,h,"\u227F","\\succsim",!0),x(W,Te,h,"\u2AB8","\\succapprox",!0),x(W,Te,h,"\u22B3","\\vartriangleright"),x(W,Te,h,"\u22B5","\\trianglerighteq"),x(W,Te,h,"\u22A9","\\Vdash",!0),x(W,Te,h,"\u2223","\\shortmid"),x(W,Te,h,"\u2225","\\shortparallel"),x(W,Te,h,"\u226C","\\between",!0),x(W,Te,h,"\u22D4","\\pitchfork",!0),x(W,Te,h,"\u221D","\\varpropto"),x(W,Te,h,"\u25C0","\\blacktriangleleft"),x(W,Te,h,"\u2234","\\therefore",!0),x(W,Te,h,"\u220D","\\backepsilon"),x(W,Te,h,"\u25B6","\\blacktriangleright"),x(W,Te,h,"\u2235","\\because",!0),x(W,Te,h,"\u22D8","\\llless"),x(W,Te,h,"\u22D9","\\gggtr"),x(W,Te,Ar,"\u22B2","\\lhd"),x(W,Te,Ar,"\u22B3","\\rhd"),x(W,Te,h,"\u2242","\\eqsim",!0),x(W,oe,h,"\u22C8","\\Join"),x(W,Te,h,"\u2251","\\Doteq",!0),x(W,Te,Ar,"\u2214","\\dotplus",!0),x(W,Te,Ar,"\u2216","\\smallsetminus"),x(W,Te,Ar,"\u22D2","\\Cap",!0),x(W,Te,Ar,"\u22D3","\\Cup",!0),x(W,Te,Ar,"\u2A5E","\\doublebarwedge",!0),x(W,Te,Ar,"\u229F","\\boxminus",!0),x(W,Te,Ar,"\u229E","\\boxplus",!0),x(W,Te,Ar,"\u22C7","\\divideontimes",!0),x(W,Te,Ar,"\u22C9","\\ltimes",!0),x(W,Te,Ar,"\u22CA","\\rtimes",!0),x(W,Te,Ar,"\u22CB","\\leftthreetimes",!0),x(W,Te,Ar,"\u22CC","\\rightthreetimes",!0),x(W,Te,Ar,"\u22CF","\\curlywedge",!0),x(W,Te,Ar,"\u22CE","\\curlyvee",!0),x(W,Te,Ar,"\u229D","\\circleddash",!0),x(W,Te,Ar,"\u229B","\\circledast",!0),x(W,Te,Ar,"\u22C5","\\centerdot"),x(W,Te,Ar,"\u22BA","\\intercal",!0),x(W,Te,Ar,"\u22D2","\\doublecap"),x(W,Te,Ar,"\u22D3","\\doublecup"),x(W,Te,Ar,"\u22A0","\\boxtimes",!0),x(W,Te,h,"\u21E2","\\dashrightarrow",!0),x(W,Te,h,"\u21E0","\\dashleftarrow",!0),x(W,Te,h,"\u21C7","\\leftleftarrows",!0),x(W,Te,h,"\u21C6","\\leftrightarrows",!0),x(W,Te,h,"\u21DA","\\Lleftarrow",!0),x(W,Te,h,"\u219E","\\twoheadleftarrow",!0),x(W,Te,h,"\u21A2","\\leftarrowtail",!0),x(W,Te,h,"\u21AB","\\looparrowleft",!0),x(W,Te,h,"\u21CB","\\leftrightharpoons",!0),x(W,Te,h,"\u21B6","\\curvearrowleft",!0),x(W,Te,h,"\u21BA","\\circlearrowleft",!0),x(W,Te,h,"\u21B0","\\Lsh",!0),x(W,Te,h,"\u21C8","\\upuparrows",!0),x(W,Te,h,"\u21BF","\\upharpoonleft",!0),x(W,Te,h,"\u21C3","\\downharpoonleft",!0),x(W,Te,h,"\u22B8","\\multimap",!0),x(W,Te,h,"\u21AD","\\leftrightsquigarrow",!0),x(W,Te,h,"\u21C9","\\rightrightarrows",!0),x(W,Te,h,"\u21C4","\\rightleftarrows",!0),x(W,Te,h,"\u21A0","\\twoheadrightarrow",!0),x(W,Te,h,"\u21A3","\\rightarrowtail",!0),x(W,Te,h,"\u21AC","\\looparrowright",!0),x(W,Te,h,"\u21B7","\\curvearrowright",!0),x(W,Te,h,"\u21BB","\\circlearrowright",!0),x(W,Te,h,"\u21B1","\\Rsh",!0),x(W,Te,h,"\u21CA","\\downdownarrows",!0),x(W,Te,h,"\u21BE","\\upharpoonright",!0),x(W,Te,h,"\u21C2","\\downharpoonright",!0),x(W,Te,h,"\u21DD","\\rightsquigarrow",!0),x(W,Te,h,"\u21DD","\\leadsto"),x(W,Te,h,"\u21DB","\\Rrightarrow",!0),x(W,Te,h,"\u21BE","\\restriction"),x(W,oe,Oe,"\u2018","`"),x(W,oe,Oe,"$","\\$"),x(wt,oe,Oe,"$","\\$"),x(wt,oe,Oe,"$","\\textdollar"),x(W,oe,Oe,"%","\\%"),x(wt,oe,Oe,"%","\\%"),x(W,oe,Oe,"_","\\_"),x(wt,oe,Oe,"_","\\_"),x(wt,oe,Oe,"_","\\textunderscore"),x(W,oe,Oe,"\u2220","\\angle",!0),x(W,oe,Oe,"\u221E","\\infty",!0),x(W,oe,Oe,"\u2032","\\prime"),x(W,oe,Oe,"\u25B3","\\triangle"),x(W,oe,Oe,"\u0393","\\Gamma",!0),x(W,oe,Oe,"\u0394","\\Delta",!0),x(W,oe,Oe,"\u0398","\\Theta",!0),x(W,oe,Oe,"\u039B","\\Lambda",!0),x(W,oe,Oe,"\u039E","\\Xi",!0),x(W,oe,Oe,"\u03A0","\\Pi",!0),x(W,oe,Oe,"\u03A3","\\Sigma",!0),x(W,oe,Oe,"\u03A5","\\Upsilon",!0),x(W,oe,Oe,"\u03A6","\\Phi",!0),x(W,oe,Oe,"\u03A8","\\Psi",!0),x(W,oe,Oe,"\u03A9","\\Omega",!0),x(W,oe,Oe,"A","\u0391"),x(W,oe,Oe,"B","\u0392"),x(W,oe,Oe,"E","\u0395"),x(W,oe,Oe,"Z","\u0396"),x(W,oe,Oe,"H","\u0397"),x(W,oe,Oe,"I","\u0399"),x(W,oe,Oe,"K","\u039A"),x(W,oe,Oe,"M","\u039C"),x(W,oe,Oe,"N","\u039D"),x(W,oe,Oe,"O","\u039F"),x(W,oe,Oe,"P","\u03A1"),x(W,oe,Oe,"T","\u03A4"),x(W,oe,Oe,"X","\u03A7"),x(W,oe,Oe,"\xAC","\\neg",!0),x(W,oe,Oe,"\xAC","\\lnot"),x(W,oe,Oe,"\u22A4","\\top"),x(W,oe,Oe,"\u22A5","\\bot"),x(W,oe,Oe,"\u2205","\\emptyset"),x(W,Te,Oe,"\u2205","\\varnothing"),x(W,oe,Ft,"\u03B1","\\alpha",!0),x(W,oe,Ft,"\u03B2","\\beta",!0),x(W,oe,Ft,"\u03B3","\\gamma",!0),x(W,oe,Ft,"\u03B4","\\delta",!0),x(W,oe,Ft,"\u03F5","\\epsilon",!0),x(W,oe,Ft,"\u03B6","\\zeta",!0),x(W,oe,Ft,"\u03B7","\\eta",!0),x(W,oe,Ft,"\u03B8","\\theta",!0),x(W,oe,Ft,"\u03B9","\\iota",!0),x(W,oe,Ft,"\u03BA","\\kappa",!0),x(W,oe,Ft,"\u03BB","\\lambda",!0),x(W,oe,Ft,"\u03BC","\\mu",!0),x(W,oe,Ft,"\u03BD","\\nu",!0),x(W,oe,Ft,"\u03BE","\\xi",!0),x(W,oe,Ft,"\u03BF","\\omicron",!0),x(W,oe,Ft,"\u03C0","\\pi",!0),x(W,oe,Ft,"\u03C1","\\rho",!0),x(W,oe,Ft,"\u03C3","\\sigma",!0),x(W,oe,Ft,"\u03C4","\\tau",!0),x(W,oe,Ft,"\u03C5","\\upsilon",!0),x(W,oe,Ft,"\u03D5","\\phi",!0),x(W,oe,Ft,"\u03C7","\\chi",!0),x(W,oe,Ft,"\u03C8","\\psi",!0),x(W,oe,Ft,"\u03C9","\\omega",!0),x(W,oe,Ft,"\u03B5","\\varepsilon",!0),x(W,oe,Ft,"\u03D1","\\vartheta",!0),x(W,oe,Ft,"\u03D6","\\varpi",!0),x(W,oe,Ft,"\u03F1","\\varrho",!0),x(W,oe,Ft,"\u03C2","\\varsigma",!0),x(W,oe,Ft,"\u03C6","\\varphi",!0),x(W,oe,Ar,"\u2217","*"),x(W,oe,Ar,"+","+"),x(W,oe,Ar,"\u2212","-"),x(W,oe,Ar,"\u22C5","\\cdot",!0),x(W,oe,Ar,"\u2218","\\circ"),x(W,oe,Ar,"\xF7","\\div",!0),x(W,oe,Ar,"\xB1","\\pm",!0),x(W,oe,Ar,"\xD7","\\times",!0),x(W,oe,Ar,"\u2229","\\cap",!0),x(W,oe,Ar,"\u222A","\\cup",!0),x(W,oe,Ar,"\u2216","\\setminus"),x(W,oe,Ar,"\u2227","\\land"),x(W,oe,Ar,"\u2228","\\lor"),x(W,oe,Ar,"\u2227","\\wedge",!0),x(W,oe,Ar,"\u2228","\\vee",!0),x(W,oe,Oe,"\u221A","\\surd"),x(W,oe,br,"(","("),x(W,oe,br,"[","["),x(W,oe,br,"\u27E8","\\langle",!0),x(W,oe,br,"\u2223","\\lvert"),x(W,oe,br,"\u2225","\\lVert"),x(W,oe,yn,")",")"),x(W,oe,yn,"]","]"),x(W,oe,yn,"?","?"),x(W,oe,yn,"!","!"),x(W,oe,yn,"\u27E9","\\rangle",!0),x(W,oe,yn,"\u2223","\\rvert"),x(W,oe,yn,"\u2225","\\rVert"),x(W,oe,h,"=","="),x(W,oe,h,"<","<"),x(W,oe,h,">",">"),x(W,oe,h,":",":"),x(W,oe,h,"\u2248","\\approx",!0),x(W,oe,h,"\u2245","\\cong",!0),x(W,oe,h,"\u2265","\\ge"),x(W,oe,h,"\u2265","\\geq",!0),x(W,oe,h,"\u2190","\\gets"),x(W,oe,h,">","\\gt"),x(W,oe,h,"\u2208","\\in",!0),x(W,oe,h,"\uE020","\\@not"),x(W,oe,h,"\u2282","\\subset",!0),x(W,oe,h,"\u2283","\\supset",!0),x(W,oe,h,"\u2286","\\subseteq",!0),x(W,oe,h,"\u2287","\\supseteq",!0),x(W,Te,h,"\u2288","\\nsubseteq",!0),x(W,Te,h,"\u2289","\\nsupseteq",!0),x(W,oe,h,"\u22A8","\\models"),x(W,oe,h,"\u2190","\\leftarrow",!0),x(W,oe,h,"\u2264","\\le"),x(W,oe,h,"\u2264","\\leq",!0),x(W,oe,h,"<","\\lt"),x(W,oe,h,"\u2192","\\rightarrow",!0),x(W,oe,h,"\u2192","\\to"),x(W,Te,h,"\u2271","\\ngeq",!0),x(W,Te,h,"\u2270","\\nleq",!0),x(W,oe,z,"\xA0","\\ "),x(W,oe,z,"\xA0","~"),x(W,oe,z,"\xA0","\\space"),x(W,oe,z,"\xA0","\\nobreakspace"),x(wt,oe,z,"\xA0","\\ "),x(wt,oe,z,"\xA0","~"),x(wt,oe,z,"\xA0","\\space"),x(wt,oe,z,"\xA0","\\nobreakspace"),x(W,oe,z,null,"\\nobreak"),x(W,oe,z,null,"\\allowbreak"),x(W,oe,Br,",",","),x(W,oe,Br,";",";"),x(W,Te,Ar,"\u22BC","\\barwedge",!0),x(W,Te,Ar,"\u22BB","\\veebar",!0),x(W,oe,Ar,"\u2299","\\odot",!0),x(W,oe,Ar,"\u2295","\\oplus",!0),x(W,oe,Ar,"\u2297","\\otimes",!0),x(W,oe,Oe,"\u2202","\\partial",!0),x(W,oe,Ar,"\u2298","\\oslash",!0),x(W,Te,Ar,"\u229A","\\circledcirc",!0),x(W,Te,Ar,"\u22A1","\\boxdot",!0),x(W,oe,Ar,"\u25B3","\\bigtriangleup"),x(W,oe,Ar,"\u25BD","\\bigtriangledown"),x(W,oe,Ar,"\u2020","\\dagger"),x(W,oe,Ar,"\u22C4","\\diamond"),x(W,oe,Ar,"\u22C6","\\star"),x(W,oe,Ar,"\u25C3","\\triangleleft"),x(W,oe,Ar,"\u25B9","\\triangleright"),x(W,oe,br,"{","\\{"),x(wt,oe,Oe,"{","\\{"),x(wt,oe,Oe,"{","\\textbraceleft"),x(W,oe,yn,"}","\\}"),x(wt,oe,Oe,"}","\\}"),x(wt,oe,Oe,"}","\\textbraceright"),x(W,oe,br,"{","\\lbrace"),x(W,oe,yn,"}","\\rbrace"),x(W,oe,br,"[","\\lbrack"),x(wt,oe,Oe,"[","\\lbrack"),x(W,oe,yn,"]","\\rbrack"),x(wt,oe,Oe,"]","\\rbrack"),x(W,oe,br,"(","\\lparen"),x(W,oe,yn,")","\\rparen"),x(wt,oe,Oe,"<","\\textless"),x(wt,oe,Oe,">","\\textgreater"),x(W,oe,br,"\u230A","\\lfloor",!0),x(W,oe,yn,"\u230B","\\rfloor",!0),x(W,oe,br,"\u2308","\\lceil",!0),x(W,oe,yn,"\u2309","\\rceil",!0),x(W,oe,Oe,"\\","\\backslash"),x(W,oe,Oe,"\u2223","|"),x(W,oe,Oe,"\u2223","\\vert"),x(wt,oe,Oe,"|","\\textbar"),x(W,oe,Oe,"\u2225","\\|"),x(W,oe,Oe,"\u2225","\\Vert"),x(wt,oe,Oe,"\u2225","\\textbardbl"),x(wt,oe,Oe,"~","\\textasciitilde"),x(wt,oe,Oe,"\\","\\textbackslash"),x(wt,oe,Oe,"^","\\textasciicircum"),x(W,oe,h,"\u2191","\\uparrow",!0),x(W,oe,h,"\u21D1","\\Uparrow",!0),x(W,oe,h,"\u2193","\\downarrow",!0),x(W,oe,h,"\u21D3","\\Downarrow",!0),x(W,oe,h,"\u2195","\\updownarrow",!0),x(W,oe,h,"\u21D5","\\Updownarrow",!0),x(W,oe,wr,"\u2210","\\coprod"),x(W,oe,wr,"\u22C1","\\bigvee"),x(W,oe,wr,"\u22C0","\\bigwedge"),x(W,oe,wr,"\u2A04","\\biguplus"),x(W,oe,wr,"\u22C2","\\bigcap"),x(W,oe,wr,"\u22C3","\\bigcup"),x(W,oe,wr,"\u222B","\\int"),x(W,oe,wr,"\u222B","\\intop"),x(W,oe,wr,"\u222C","\\iint"),x(W,oe,wr,"\u222D","\\iiint"),x(W,oe,wr,"\u220F","\\prod"),x(W,oe,wr,"\u2211","\\sum"),x(W,oe,wr,"\u2A02","\\bigotimes"),x(W,oe,wr,"\u2A01","\\bigoplus"),x(W,oe,wr,"\u2A00","\\bigodot"),x(W,oe,wr,"\u222E","\\oint"),x(W,oe,wr,"\u222F","\\oiint"),x(W,oe,wr,"\u2230","\\oiiint"),x(W,oe,wr,"\u2A06","\\bigsqcup"),x(W,oe,wr,"\u222B","\\smallint"),x(wt,oe,Tn,"\u2026","\\textellipsis"),x(W,oe,Tn,"\u2026","\\mathellipsis"),x(wt,oe,Tn,"\u2026","\\ldots",!0),x(W,oe,Tn,"\u2026","\\ldots",!0),x(W,oe,Tn,"\u22EF","\\@cdots",!0),x(W,oe,Tn,"\u22F1","\\ddots",!0),x(W,oe,Oe,"\u22EE","\\varvdots"),x(W,oe,zr,"\u02CA","\\acute"),x(W,oe,zr,"\u02CB","\\grave"),x(W,oe,zr,"\xA8","\\ddot"),x(W,oe,zr,"~","\\tilde"),x(W,oe,zr,"\u02C9","\\bar"),x(W,oe,zr,"\u02D8","\\breve"),x(W,oe,zr,"\u02C7","\\check"),x(W,oe,zr,"^","\\hat"),x(W,oe,zr,"\u20D7","\\vec"),x(W,oe,zr,"\u02D9","\\dot"),x(W,oe,zr,"\u02DA","\\mathring"),x(W,oe,Ft,"\u0131","\\imath",!0),x(W,oe,Ft,"\u0237","\\jmath",!0),x(wt,oe,Oe,"\u0131","\\i",!0),x(wt,oe,Oe,"\u0237","\\j",!0),x(wt,oe,Oe,"\xDF","\\ss",!0),x(wt,oe,Oe,"\xE6","\\ae",!0),x(wt,oe,Oe,"\xE6","\\ae",!0),x(wt,oe,Oe,"\u0153","\\oe",!0),x(wt,oe,Oe,"\xF8","\\o",!0),x(wt,oe,Oe,"\xC6","\\AE",!0),x(wt,oe,Oe,"\u0152","\\OE",!0),x(wt,oe,Oe,"\xD8","\\O",!0),x(wt,oe,zr,"\u02CA","\\'"),x(wt,oe,zr,"\u02CB","\\`"),x(wt,oe,zr,"\u02C6","\\^"),x(wt,oe,zr,"\u02DC","\\~"),x(wt,oe,zr,"\u02C9","\\="),x(wt,oe,zr,"\u02D8","\\u"),x(wt,oe,zr,"\u02D9","\\."),x(wt,oe,zr,"\u02DA","\\r"),x(wt,oe,zr,"\u02C7","\\v"),x(wt,oe,zr,"\xA8",'\\"'),x(wt,oe,zr,"\u02DD","\\H"),x(wt,oe,zr,"\u25EF","\\textcircled");var re={"--":!0,"---":!0,"``":!0,"''":!0};x(wt,oe,Oe,"\u2013","--"),x(wt,oe,Oe,"\u2013","\\textendash"),x(wt,oe,Oe,"\u2014","---"),x(wt,oe,Oe,"\u2014","\\textemdash"),x(wt,oe,Oe,"\u2018","`"),x(wt,oe,Oe,"\u2018","\\textquoteleft"),x(wt,oe,Oe,"\u2019","'"),x(wt,oe,Oe,"\u2019","\\textquoteright"),x(wt,oe,Oe,"\u201C","``"),x(wt,oe,Oe,"\u201C","\\textquotedblleft"),x(wt,oe,Oe,"\u201D","''"),x(wt,oe,Oe,"\u201D","\\textquotedblright"),x(W,oe,Oe,"\xB0","\\degree",!0),x(wt,oe,Oe,"\xB0","\\degree"),x(wt,oe,Oe,"\xB0","\\textdegree",!0),x(W,oe,Ft,"\xA3","\\pounds"),x(W,oe,Ft,"\xA3","\\mathsterling",!0),x(wt,oe,Ft,"\xA3","\\pounds"),x(wt,oe,Ft,"\xA3","\\textsterling",!0),x(W,Te,Oe,"\u2720","\\maltese"),x(wt,Te,Oe,"\u2720","\\maltese"),x(wt,oe,z,"\xA0","\\ "),x(wt,oe,z,"\xA0"," "),x(wt,oe,z,"\xA0","~");for(var lt='0123456789/@."',pn=0;pn<lt.length;pn++){var mt=lt.charAt(pn);x(W,oe,Oe,mt,mt)}for(var Ut='0123456789!@*()-=+[]<>|";:?/.,',Ur=0;Ur<Ut.length;Ur++){var Pr=Ut.charAt(Ur);x(wt,oe,Oe,Pr,Pr)}for(var Yr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",gn=0;gn<Yr.length;gn++){var qn=Yr.charAt(gn);x(W,oe,Ft,qn,qn),x(wt,oe,Oe,qn,qn)}x(W,Te,Oe,"C","\u2102"),x(wt,Te,Oe,"C","\u2102"),x(W,Te,Oe,"H","\u210D"),x(wt,Te,Oe,"H","\u210D"),x(W,Te,Oe,"N","\u2115"),x(wt,Te,Oe,"N","\u2115"),x(W,Te,Oe,"P","\u2119"),x(wt,Te,Oe,"P","\u2119"),x(W,Te,Oe,"Q","\u211A"),x(wt,Te,Oe,"Q","\u211A"),x(W,Te,Oe,"R","\u211D"),x(wt,Te,Oe,"R","\u211D"),x(W,Te,Oe,"Z","\u2124"),x(wt,Te,Oe,"Z","\u2124"),x(W,oe,Ft,"h","\u210E"),x(wt,oe,Ft,"h","\u210E");for(var pe="",mr=0;mr<Yr.length;mr++){var et=Yr.charAt(mr);pe=String.fromCharCode(55349,56320+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56372+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56424+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56580+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56736+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56788+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56840+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56944+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),mr<26&&(pe=String.fromCharCode(55349,56632+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe),pe=String.fromCharCode(55349,56476+mr),x(W,oe,Ft,et,pe),x(wt,oe,Oe,et,pe))}pe="\u{1D55C}",x(W,oe,Ft,"k",pe),x(wt,oe,Oe,"k",pe);for(var Ir=0;Ir<10;Ir++){var Vr=Ir.toString();pe=String.fromCharCode(55349,57294+Ir),x(W,oe,Ft,Vr,pe),x(wt,oe,Oe,Vr,pe),pe=String.fromCharCode(55349,57314+Ir),x(W,oe,Ft,Vr,pe),x(wt,oe,Oe,Vr,pe),pe=String.fromCharCode(55349,57324+Ir),x(W,oe,Ft,Vr,pe),x(wt,oe,Oe,Vr,pe),pe=String.fromCharCode(55349,57334+Ir),x(W,oe,Ft,Vr,pe),x(wt,oe,Oe,Vr,pe)}for(var wn="\xC7\xD0\xDE\xE7\xFE",ea=0;ea<wn.length;ea++){var gt=wn.charAt(ea);x(W,oe,Ft,gt,gt),x(wt,oe,Oe,gt,gt)}x(wt,oe,Oe,"\xF0","\xF0"),x(wt,oe,Oe,"\u2013","\u2013"),x(wt,oe,Oe,"\u2014","\u2014"),x(wt,oe,Oe,"\u2018","\u2018"),x(wt,oe,Oe,"\u2019","\u2019"),x(wt,oe,Oe,"\u201C","\u201C"),x(wt,oe,Oe,"\u201D","\u201D");var nr=[["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"]],sr=[["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),H=(l-55296)*1024+(g-56320)+65536,se=a==="math"?0:1;if(119808<=H&&H<120484){var De=Math.floor((H-119808)/26);return[nr[De][2],nr[De][se]]}else if(120782<=H&&H<=120831){var tt=Math.floor((H-120782)/10);return[sr[tt][2],sr[tt][se]]}else{if(H===120485||H===120486)return[nr[0][2],nr[0][se]];if(120486<H&&H<120782)return["",""];throw new Q("Unsupported character: "+r)}},jr=[[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]],on=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Wr=function(r,a){return a.size<2?r:jr[r-1][a.size-1]},Dr=function(){function ne(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||ne.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=on[this.size-1],this.maxSize=a.maxSize,this.minRuleThickness=a.minRuleThickness,this._fontMetrics=void 0}var r=ne.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 H in l)l.hasOwnProperty(H)&&(g[H]=l[H]);return new ne(g)},r.havingStyle=function(l){return this.style===l?this:this.extend({style:l,size:Wr(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:on[l-1]})},r.havingBaseStyle=function(l){l=l||this.style.text();var g=Wr(ne.BASESIZE,l);return this.size===g&&this.textSize===ne.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!==ne.BASESIZE?["sizing","reset-size"+this.size,"size"+ne.BASESIZE]:[]},r.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=er(this.size)),this._fontMetrics},r.getColor=function(){return this.phantom?"transparent":this.color},ne}();Dr.BASESIZE=6;var nn=Dr,sn={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},An={ex:!0,em:!0,mu:!0},Pn=function(r){return typeof r!="string"&&(r=r.unit),r in sn||r in An||r==="ex"},On=function(r,a){var l;if(r.unit in sn)l=sn[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)},Bn=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xA3"],ta=function(r,a,l){return $r[l][r]&&$r[l][r].replace&&(r=$r[l][r].replace),{value:r,metrics:Ht(r,a,l)}},tn=function(r,a,l,g,H){var se=ta(r,a,l),De=se.metrics;r=se.value;var tt;if(De){var It=De.italic;(l==="text"||g&&g.font==="mathit")&&(It=0),tt=new Le(r,De.height,De.depth,It,De.skew,De.width,H)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+r+"' in style '"+a+"' and mode '"+l+"'")),tt=new Le(r,0,0,0,0,0,H);if(g){tt.maxFontSize=g.sizeMultiplier,g.style.isTight()&&tt.classes.push("mtight");var rr=g.getColor();rr&&(tt.style.color=rr)}return tt},$n=function(r,a,l,g){return g===void 0&&(g=[]),l.font==="boldsymbol"&&ta(r,"Main-Bold",a).metrics?tn(r,"Main-Bold",a,l,g.concat(["mathbf"])):r==="\\"||$r[a][r].font==="main"?tn(r,"Main-Regular",a,l,g):tn(r,"AMS-Regular",a,l,g.concat(["amsrm"]))},Yn=function(r,a,l,g){return/[0-9]/.test(r.charAt(0))||w.contains(Bn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},ua=function(r,a,l,g){return w.contains(Bn,r)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(r.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},zn=function(r,a,l,g){return ta(r,"Math-BoldItalic",a).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},ra=function(r,a,l){var g=r.mode,H=r.text,se=["mord"],De=g==="math"||g==="text"&&a.font,tt=De?a.font:a.fontFamily;if(H.charCodeAt(0)===55349){var It=or(H,g),rr=It[0],pr=It[1];return tn(H,rr,g,a,se.concat(pr))}else if(tt){var kr,rn;if(tt==="boldsymbol"||tt==="mathnormal"){var hn=tt==="boldsymbol"?zn(H,g,a,se):ua(H,g,a,se);kr=hn.fontName,rn=[hn.fontClass]}else w.contains(Bn,H)?(kr="Main-Italic",rn=["mathit"]):De?(kr=p[tt].fontName,rn=[tt]):(kr=s(tt,a.fontWeight,a.fontShape),rn=[tt,a.fontWeight,a.fontShape]);if(ta(H,kr,g).metrics)return tn(H,kr,g,a,se.concat(rn));if(re.hasOwnProperty(H)&&kr.substr(0,10)==="Typewriter"){for(var In=[],Un=0;Un<H.length;Un++)In.push(tn(H[Un],kr,g,a,se.concat(rn)));return za(In)}}if(l==="mathord"){var Ca=Yn(H,g,a,se);return tn(H,Ca.fontName,g,a,se.concat([Ca.fontClass]))}else if(l==="textord"){var Ia=$r[g][H]&&$r[g][H].font;if(Ia==="ams"){var c=s("amsrm",a.fontWeight,a.fontShape);return tn(H,c,g,a,se.concat("amsrm",a.fontWeight,a.fontShape))}else if(Ia==="main"||!Ia){var e=s("textrm",a.fontWeight,a.fontShape);return tn(H,e,g,a,se.concat(a.fontWeight,a.fontShape))}else{var t=s(Ia,a.fontWeight,a.fontShape);return tn(H,t,g,a,se.concat(t,a.fontWeight,a.fontShape))}}else throw new Error("unexpected type: "+l+" in makeOrd")},Gn=function(r,a){if(j(r.classes)!==j(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},Wn=function(r){for(var a=0;a<r.length-1;a++){var l=r[a],g=r[a+1];l instanceof Le&&g instanceof Le&&Gn(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,H=0;H<r.children.length;H++){var se=r.children[H];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},Dn=function(r,a,l,g){var H=new he(r,a,l,g);return Jn(H),H},xn=function(r,a,l,g){return new he(r,a,l,g)},Kn=function(r,a,l){var g=Dn([r],[],a);return g.height=Math.max(l||a.fontMetrics().defaultRuleThickness,a.minRuleThickness),g.style.borderBottomWidth=g.height+"em",g.maxFontSize=1,g},Sa=function(r,a,l,g){var H=new me(r,a,l,g);return Jn(H),H},za=function(r){var a=new Fe(r);return Jn(a),a},to=function(r,a){return r instanceof Fe?Dn([],[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,H=g,se=1;se<a.length;se++){var De=-a[se].shift-H-a[se].elem.depth,tt=De-(a[se-1].elem.height+a[se-1].elem.depth);H=H+De,l.push({type:"kern",size:tt}),l.push(a[se])}return{children:l,depth:g}}var It;if(r.positionType==="top"){for(var rr=r.positionData,pr=0;pr<r.children.length;pr++){var kr=r.children[pr];rr-=kr.type==="kern"?kr.size:kr.elem.height+kr.elem.depth}It=rr}else if(r.positionType==="bottom")It=-r.positionData;else{var rn=r.children[0];if(rn.type!=="elem")throw new Error('First child must have type "elem".');if(r.positionType==="shift")It=-rn.elem.depth-r.positionData;else if(r.positionType==="firstBaseline")It=-rn.elem.depth;else throw new Error("Invalid positionType "+r.positionType+".")}return{children:r.children,depth:It}},so=function(r,a){for(var l=ro(r),g=l.children,H=l.depth,se=0,De=0;De<g.length;De++){var tt=g[De];if(tt.type==="elem"){var It=tt.elem;se=Math.max(se,It.maxFontSize,It.height)}}se+=2;var rr=Dn(["pstrut"],[]);rr.style.height=se+"em";for(var pr=[],kr=H,rn=H,hn=H,In=0;In<g.length;In++){var Un=g[In];if(Un.type==="kern")hn+=Un.size;else{var Ca=Un.elem,Ia=Un.wrapperClasses||[],c=Un.wrapperStyle||{},e=Dn(Ia,[rr,Ca],void 0,c);e.style.top=-se-hn-Ca.depth+"em",Un.marginLeft&&(e.style.marginLeft=Un.marginLeft),Un.marginRight&&(e.style.marginRight=Un.marginRight),pr.push(e),hn+=Ca.height+Ca.depth}kr=Math.min(kr,hn),rn=Math.max(rn,hn)}var t=Dn(["vlist"],pr);t.style.height=rn+"em";var d;if(kr<0){var O=Dn([],[]),V=Dn(["vlist"],[O]);V.style.height=-kr+"em";var Ce=Dn(["vlist-s"],[new Le("\u200B")]);d=[Dn(["vlist-r"],[t,Ce]),Dn(["vlist-r"],[V])]}else d=[Dn(["vlist-r"],[t])];var Ke=Dn(["vlist-t"],d);return d.length===2&&Ke.classes.push("vlist-t2"),Ke.height=rn,Ke.depth=-kr,Ke},f=function(r,a){var l=Dn(["mspace"],[],a),g=On(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 H;return a==="textbf"&&l==="textit"?H="BoldItalic":a==="textbf"?H="Bold":a==="textit"?H="Italic":H="Regular",g+"-"+H},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]},$=function(r,a){var l=b[r],g=l[0],H=l[1],se=l[2],De=new yt(g),tt=new qe([De],{width:H+"em",height:se+"em",style:"width:"+H+"em",viewBox:"0 0 "+1e3*H+" "+1e3*se,preserveAspectRatio:"xMinYMin"}),It=xn(["overlay"],[tt],a);return It.height=se,It.style.height=se+"em",It.style.width=H+"em",It},v={fontMap:p,makeSymbol:tn,mathsym:$n,makeSpan:Dn,makeSvgSpan:xn,makeLineSpan:Kn,makeAnchor:Sa,makeFragment:za,wrapFragment:to,makeVList:so,makeOrd:ra,makeGlue:f,staticSvg:$,svgData:b,tryCombineChars:Wn};function T(ne,r){var a=Z(ne,r);if(!a)throw new Error("Expected node of type "+r+", but got "+(ne?"node of type "+ne.type:String(ne)));return a}function Z(ne,r){return ne&&ne.type===r?ne:null}function ee(ne,r){var a=Ee(ne,r);if(!a)throw new Error('Expected node of type "atom" and family "'+r+'", but got '+(ne?ne.type==="atom"?"atom of family "+ne.family:"node of type "+ne.type:String(ne)));return a}function Ee(ne,r){return ne&&ne.type==="atom"&&ne.family===r?ne:null}function st(ne){var r=jt(ne);if(!r)throw new Error("Expected node of symbol group type, but got "+(ne?"node of type "+ne.type:String(ne)));return r}function jt(ne){return ne&&(ne.type==="atom"||Cr.hasOwnProperty(ne.type))?ne:null}var At={number:3,unit:"mu"},ve={number:4,unit:"mu"},kt={number:5,unit:"mu"},Ge={mord:{mop:At,mbin:ve,mrel:kt,minner:At},mop:{mord:At,mop:At,mrel:kt,minner:At},mbin:{mord:ve,mop:ve,mopen:ve,minner:ve},mrel:{mord:kt,mop:kt,mopen:kt,minner:kt},mopen:{},mclose:{mop:At,mbin:ve,mrel:kt,minner:At},mpunct:{mord:At,mop:At,mrel:kt,mopen:At,mclose:At,mpunct:At,minner:At},minner:{mord:At,mop:At,mbin:ve,mrel:kt,mopen:At,mpunct:At,minner:At}},Zt={mord:{mop:At},mop:{mord:At,mop:At},mbin:{},mrel:{},mopen:{},mclose:{mop:At},mpunct:{},minner:{mop:At}},pt={},ar={},yr={};function Qt(ne){for(var r=ne.type,a=ne.names,l=ne.props,g=ne.handler,H=ne.htmlBuilder,se=ne.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},tt=0;tt<a.length;++tt)pt[a[tt]]=De;r&&(H&&(ar[r]=H),se&&(yr[r]=se))}function nt(ne){var r=ne.type,a=ne.htmlBuilder,l=ne.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]},Vt=v.makeSpan,Mt=["leftmost","mbin","mopen","mrel","mop","mpunct"],Ot=["rightmost","mrel","mclose","mpunct"],Jt={display:C.DISPLAY,text:C.TEXT,script:C.SCRIPT,scriptscript:C.SCRIPTSCRIPT},ke={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Be=function(r,a,l,g){g===void 0&&(g=[null,null]);for(var H=[],se=0;se<r.length;se++){var De=Tt(r[se],a);if(De instanceof Fe){var tt=De.children;H.push.apply(H,tt)}else H.push(De)}if(!l)return H;var It=a;if(r.length===1){var rr=Z(r[0],"sizing")||Z(r[0],"styling");rr&&(rr.type==="sizing"?It=a.havingSize(rr.size):rr.type==="styling"&&(It=a.havingStyle(Jt[rr.style])))}var pr=Vt([g[0]||"leftmost"],[],a),kr=Vt([g[1]||"rightmost"],[],a);return St(H,function(rn,hn){var In=hn.classes[0],Un=rn.classes[0];In==="mbin"&&w.contains(Ot,Un)?hn.classes[0]="mord":Un==="mbin"&&w.contains(Mt,In)&&(rn.classes[0]="mord")},{node:pr},kr),St(H,function(rn,hn){var In=gr(hn),Un=gr(rn),Ca=In&&Un?rn.hasClass("mtight")?Zt[In][Un]:Ge[In][Un]:null;if(Ca)return v.makeGlue(Ca,It)},{node:pr},kr),H},St=function ne(r,a,l,g){g&&r.push(g);for(var H=0;H<r.length;H++){var se=r[H],De=ct(se);if(De){ne(De.children,a,l);continue}if(se.classes[0]!=="mspace"){var tt=a(se,l.node);tt&&(l.insertAfter?l.insertAfter(tt):(r.unshift(tt),H++)),l.node=se,l.insertAfter=function(It){return function(rr){r.splice(It+1,0,rr),H++}}(H)}}g&&r.pop()},ct=function(r){return r instanceof Fe||r instanceof me?r:null},cr=function ne(r,a){var l=ct(r);if(l){var g=l.children;if(g.length){if(a==="right")return ne(g[g.length-1],"right");if(a==="left")return ne(g[0],"left")}}return r},gr=function(r,a){return r?(a&&(r=cr(r,a)),ke[r.classes[0]]||null):null},Xt=function(r,a){var l=["nulldelimiter"].concat(r.baseSizingClasses());return Vt(a.concat(l))},Tt=function(r,a,l){if(!r)return Vt();if(ar[r.type]){var g=ar[r.type](r,a);if(l&&a.size!==l.size){g=Vt(a.sizingClasses(l),[g],a);var H=a.sizeMultiplier/l.sizeMultiplier;g.height*=H,g.depth*=H}return g}else throw new Q("Got group of unknown type: '"+r.type+"'")};function ir(ne,r){var a=Vt(["base"],ne,r),l=Vt(["strut"]);return l.style.height=a.height+a.depth+"em",l.style.verticalAlign=-a.depth+"em",a.children.unshift(l),a}function Zr(ne,r){var a=null;ne.length===1&&ne[0].type==="tag"&&(a=ne[0].tag,ne=ne[0].body);for(var l=Be(ne,r,!0),g=[],H=[],se=0;se<l.length;se++)if(H.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++,H.push(l[se]),l[se].hasClass("nobreak")&&(De=!0);De||(g.push(ir(H,r)),H=[])}else l[se].hasClass("newline")&&(H.pop(),H.length>0&&(g.push(ir(H,r)),H=[]),g.push(l[se]));H.length>0&&g.push(ir(H,r));var tt;a&&(tt=ir(Be(a,r,!0)),tt.classes=["tag"],g.push(tt));var It=Vt(["katex-html"],g);if(It.setAttribute("aria-hidden","true"),tt){var rr=tt.children[0];rr.style.height=It.height+It.depth+"em",rr.style.verticalAlign=-It.depth+"em"}return It}function Wt(ne){return new Fe(ne)}var Pe=function(){function ne(a,l){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=a,this.attributes={},this.children=l||[]}var r=ne.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 H=0;H<this.children.length;H++)l.appendChild(this.children[H].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 H=0;H<this.children.length;H++)l+=this.children[H].toMarkup();return l+="</"+this.type+">",l},r.toText=function(){return this.children.map(function(l){return l.toText()}).join("")},ne}(),vt=function(){function ne(a){this.text=void 0,this.text=a}var r=ne.prototype;return r.toNode=function(){return document.createTextNode(this.text)},r.toMarkup=function(){return w.escape(this.toText())},r.toText=function(){return this.text},ne}(),Bt=function(){function ne(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=ne.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:" "},ne}(),ht={MathNode:Pe,TextNode:vt,SpaceNode:Bt,newDocumentFragment:Wt},Yt=function(r,a,l){return $r[a][r]&&$r[a][r].replace&&r.charCodeAt(0)!==55349&&!(re.hasOwnProperty(r)&&l&&(l.fontFamily&&l.fontFamily.substr(4,2)==="tt"||l.font&&l.font.substr(4,2)==="tt"))&&(r=$r[a][r].replace),new ht.TextNode(r)},dr=function(r){return r.length===1?r[0]:new ht.MathNode("mrow",r)},fr=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 H=r.text;if(w.contains(["\\imath","\\jmath"],H))return null;$r[g][H]&&$r[g][H].replace&&(H=$r[g][H].replace);var se=v.fontMap[l].fontName;return Ht(H,se,g)?v.fontMap[l].variant:null},Er=function(r,a,l){if(r.length===1){var g=Rr(r[0],a);return l&&g instanceof Pe&&g.type==="mo"&&(g.setAttribute("lspace","0em"),g.setAttribute("rspace","0em")),[g]}for(var H=[],se,De=0;De<r.length;De++){var tt=Rr(r[De],a);if(tt instanceof Pe&&se instanceof Pe){if(tt.type==="mtext"&&se.type==="mtext"&&tt.getAttribute("mathvariant")===se.getAttribute("mathvariant")){var It;(It=se.children).push.apply(It,tt.children);continue}else if(tt.type==="mn"&&se.type==="mn"){var rr;(rr=se.children).push.apply(rr,tt.children);continue}else if(tt.type==="mi"&&tt.children.length===1&&se.type==="mn"){var pr=tt.children[0];if(pr instanceof vt&&pr.text==="."){var kr;(kr=se.children).push.apply(kr,tt.children);continue}}else if(se.type==="mi"&&se.children.length===1){var rn=se.children[0];if(rn instanceof vt&&rn.text==="\u0338"&&(tt.type==="mo"||tt.type==="mi"||tt.type==="mn")){var hn=tt.children[0];hn instanceof vt&&hn.text.length>0&&(hn.text=hn.text.slice(0,1)+"\u0338"+hn.text.slice(1),H.pop())}}}H.push(tt),se=tt}return H},Lr=function(r,a,l){return dr(Er(r,a,l))},Rr=function(r,a){if(!r)return new ht.MathNode("mrow");if(yr[r.type]){var l=yr[r.type](r,a);return l}else throw new Q("Got group of unknown type: '"+r.type+"'")};function cn(ne,r,a,l){var g=Er(ne,a),H;g.length===1&&g[0]instanceof Pe&&w.contains(["mrow","mtable"],g[0].type)?H=g[0]:H=new ht.MathNode("mrow",g);var se=new ht.MathNode("annotation",[new ht.TextNode(r)]);se.setAttribute("encoding","application/x-tex");var De=new ht.MathNode("semantics",[H,se]),tt=new ht.MathNode("math",[De]);tt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var It=l?"katex":"katex-mathml";return v.makeSpan([It],[tt])}var Sn=function(r){return new nn({style:r.displayMode?C.DISPLAY:C.TEXT,maxSize:r.maxSize,minRuleThickness:r.minRuleThickness})},Mr=function(r,a){if(a.displayMode){var l=["katex-display"];a.leqno&&l.push("leqno"),a.fleqn&&l.push("fleqn"),r=v.makeSpan(l,[r])}return r},Lt=function(r,a,l){var g=Sn(l),H;if(l.output==="mathml")return cn(r,a,g,!0);if(l.output==="html"){var se=Zr(r,g);H=v.makeSpan(["katex"],[se])}else{var De=cn(r,a,g,!1),tt=Zr(r,g);H=v.makeSpan(["katex"],[De,tt])}return Mr(H,l)},ba=function(r,a,l){var g=Sn(l),H=Zr(r,g),se=v.makeSpan(["katex"],[H]);return Mr(se,l)},da=Lt,Hn={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"},an=function(r){var a=new ht.MathNode("mo",[new ht.TextNode(Hn[r.substr(1)])]);return a.setAttribute("stretchy","true"),a},dn={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]},Gr=function(r){return r.type==="ordgroup"?r.body.length:1},sa=function(r,a){function l(){var tt=4e5,It=r.label.substr(1);if(w.contains(["widehat","widecheck","widetilde","utilde"],It)){var rr=r,pr=Gr(rr.base),kr,rn,hn;if(pr>5)It==="widehat"||It==="widecheck"?(kr=420,tt=2364,hn=.42,rn=It+"4"):(kr=312,tt=2340,hn=.34,rn="tilde4");else{var In=[1,1,2,2,3,3][pr];It==="widehat"||It==="widecheck"?(tt=[0,1062,2364,2364,2364][In],kr=[0,239,300,360,420][In],hn=[0,.24,.3,.3,.36,.42][In],rn=It+In):(tt=[0,600,1033,2339,2340][In],kr=[0,260,286,306,312][In],hn=[0,.26,.286,.3,.306,.34][In],rn="tilde"+In)}var Un=new yt(rn),Ca=new qe([Un],{width:"100%",height:hn+"em",viewBox:"0 0 "+tt+" "+kr,preserveAspectRatio:"none"});return{span:v.makeSvgSpan([],[Ca],a),minWidth:0,height:hn}}else{var Ia=[],c=dn[It],e=c[0],t=c[1],d=c[2],O=d/1e3,V=e.length,Ce,Ke;if(V===1){var Xe=c[3];Ce=["hide-tail"],Ke=[Xe]}else if(V===2)Ce=["halfarrow-left","halfarrow-right"],Ke=["xMinYMin","xMaxYMin"];else if(V===3)Ce=["brace-left","brace-center","brace-right"],Ke=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+V+" children.");for(var Kt=0;Kt<V;Kt++){var ur=new yt(e[Kt]),xr=new qe([ur],{width:"400em",height:O+"em",viewBox:"0 0 "+tt+" "+d,preserveAspectRatio:Ke[Kt]+" slice"}),Fr=v.makeSvgSpan([Ce[Kt]],[xr],a);if(V===1)return{span:Fr,minWidth:t,height:O};Fr.style.height=O+"em",Ia.push(Fr)}return{span:v.makeSpan(["stretchy"],Ia,a),minWidth:t,height:O}}}var g=l(),H=g.span,se=g.minWidth,De=g.height;return H.height=De,H.style.height=De+"em",se>0&&(H.style.minWidth=se+"em"),H},Vn=function(r,a,l,g){var H,se=r.height+r.depth+2*l;if(/fbox|color/.test(a)){if(H=v.makeSpan(["stretchy",a],[],g),a==="fbox"){var De=g.color&&g.getColor();De&&(H.style.borderColor=De)}}else{var tt=[];/^[bx]cancel$/.test(a)&&tt.push(new $t({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(a)&&tt.push(new $t({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var It=new qe(tt,{width:"100%",height:se+"em"});H=v.makeSvgSpan([],[It],g)}return H.height=se,H.style.height=se+"em",H},xa={encloseSpan:Vn,mathMLnode:an,svgSpan:sa},_n=function(r,a){var l,g,H=Z(r,"supsub"),se;H?(g=T(H.base,"accent"),l=g.base,H.base=l,se=Gt(Tt(H,a)),H.base=g):(g=T(r,"accent"),l=g.base);var De=Tt(l,a.havingCrampedStyle()),tt=g.isShifty&&w.isCharacterBox(l),It=0;if(tt){var rr=w.getBaseElem(l),pr=Tt(rr,a.havingCrampedStyle());It=qt(pr).skew}var kr=Math.min(De.height,a.fontMetrics().xHeight),rn;if(g.isStretchy)rn=xa.svgSpan(g,a),rn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"elem",elem:rn,wrapperClasses:["svg-align"],wrapperStyle:It>0?{width:"calc(100% - "+2*It+"em)",marginLeft:2*It+"em"}:void 0}]},a);else{var hn,In;g.label==="\\vec"?(hn=v.staticSvg("vec",a),In=v.svgData.vec[1]):(hn=v.makeOrd({mode:g.mode,text:g.label},a,"textord"),hn=qt(hn),hn.italic=0,In=hn.width),rn=v.makeSpan(["accent-body"],[hn]);var Un=g.label==="\\textcircled";Un&&(rn.classes.push("accent-full"),kr=De.height);var Ca=It;Un||(Ca-=In/2),rn.style.left=Ca+"em",g.label==="\\textcircled"&&(rn.style.top=".2em"),rn=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:-kr},{type:"elem",elem:rn}]},a)}var Ia=v.makeSpan(["mord","accent"],[rn],a);return se?(se.children[0]=Ia,se.height=Math.max(Ia.height,se.height),se.classes[0]="mord",se):Ia},la=function(r,a){var l=r.isStretchy?xa.mathMLnode(r.label):new ht.MathNode("mo",[Yt(r.label,r.mode)]),g=new ht.MathNode("mover",[Rr(r.base,a),l]);return g.setAttribute("accent","true"),g},La=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(ne){return"\\"+ne}).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=!La.test(r.funcName),H=!g||r.funcName==="\\widehat"||r.funcName==="\\widetilde"||r.funcName==="\\widecheck";return{type:"accent",mode:r.parser.mode,label:r.funcName,isStretchy:g,isShifty:H,base:l}},htmlBuilder:_n,mathmlBuilder:la}),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:_n,mathmlBuilder:la}),Qt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"accentUnder",mode:l.mode,label:g,base:H}},htmlBuilder:function(r,a){var l=Tt(r.base,a),g=xa.svgSpan(r,a),H=r.label==="\\utilde"?.12:0,se=v.makeVList({positionType:"bottom",positionData:g.height+H,children:[{type:"elem",elem:g,wrapperClasses:["svg-align"]},{type:"kern",size:H},{type:"elem",elem:l}]},a);return v.makeSpan(["mord","accentunder"],[se],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g=new ht.MathNode("munder",[Rr(r.base,a),l]);return g.setAttribute("accentunder","true"),g}});var na=function(r){var a=new ht.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,H=r.funcName;return{type:"xArrow",mode:g.mode,label:H,body:a[0],below:l[0]}},htmlBuilder:function(r,a){var l=a.style,g=a.havingStyle(l.sup()),H=v.wrapFragment(Tt(r.body,g,a),a);H.classes.push("x-arrow-pad");var se;r.below&&(g=a.havingStyle(l.sub()),se=v.wrapFragment(Tt(r.below,g,a),a),se.classes.push("x-arrow-pad"));var De=xa.svgSpan(r,a),tt=-a.fontMetrics().axisHeight+.5*De.height,It=-a.fontMetrics().axisHeight-.5*De.height-.111;(H.depth>.25||r.label==="\\xleftequilibrium")&&(It-=H.depth);var rr;if(se){var pr=-a.fontMetrics().axisHeight+se.height+.5*De.height+.111;rr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:H,shift:It},{type:"elem",elem:De,shift:tt},{type:"elem",elem:se,shift:pr}]},a)}else rr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:H,shift:It},{type:"elem",elem:De,shift:tt}]},a);return rr.children[0].children[0].children[1].classes.push("svg-align"),v.makeSpan(["mrel","x-arrow"],[rr],a)},mathmlBuilder:function(r,a){var l=xa.mathMLnode(r.label),g;if(r.body){var H=na(Rr(r.body,a));if(r.below){var se=na(Rr(r.below,a));g=new ht.MathNode("munderover",[l,se,H])}else g=new ht.MathNode("mover",[l,H])}else if(r.below){var De=na(Rr(r.below,a));g=new ht.MathNode("munder",[l,De])}else g=na(),g=new ht.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=T(a[0],"ordgroup"),H=g.body,se="",De=0;De<H.length;De++){var tt=T(H[De],"textord");se+=tt.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 kn=function(r,a){var l=Be(r.body,a.withColor(r.color),!1);return v.makeFragment(l)},aa=function(r,a){var l=Er(r.body,a.withColor(r.color)),g=new ht.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=T(a[0],"color-token").color,H=a[1];return{type:"color",mode:l.mode,color:g,body:Se(H)}},htmlBuilder:kn,mathmlBuilder:aa}),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,H=T(a[0],"color-token").color;l.gullet.macros.set("\\current@color",H);var se=l.parseExpression(!0,g);return{type:"color",mode:l.mode,color:H,body:se}},htmlBuilder:kn,mathmlBuilder:aa}),Qt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(r,a,l){var g=r.parser,H=r.funcName,se=l[0],De=H==="\\cr",tt=!1;return De||(g.settings.displayMode&&g.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")?tt=!1:tt=!0),{type:"cr",mode:g.mode,newLine:tt,newRow:De,size:se&&T(se,"size").value}},htmlBuilder:function(r,a){if(r.newRow)throw new Q("\\cr valid only within a tabular/array environment");var l=v.makeSpan(["mspace"],[],a);return r.newLine&&(l.classes.push("newline"),r.size&&(l.style.marginTop=On(r.size,a)+"em")),l},mathmlBuilder:function(r,a){var l=new ht.MathNode("mspace");return r.newLine&&(l.setAttribute("linebreak","newline"),r.size&&l.setAttribute("height",On(r.size,a)+"em")),l}});var Fn=function(r,a,l){var g=$r.math[r]&&$r.math[r].replace,H=Ht(g||r,a,l);if(!H)throw new Error("Unsupported symbol "+r+" and font size "+a+".");return H},Ln=function(r,a,l,g){var H=l.havingBaseStyle(a),se=v.makeSpan(g.concat(H.sizingClasses(l)),[r],l),De=H.sizeMultiplier/l.sizeMultiplier;return se.height*=De,se.depth*=De,se.maxFontSize=H.sizeMultiplier,se},Xn=function(r,a,l){var g=a.havingBaseStyle(l),H=(1-a.sizeMultiplier/g.sizeMultiplier)*a.fontMetrics().axisHeight;r.classes.push("delimcenter"),r.style.top=H+"em",r.height-=H,r.depth+=H},Qr=function(r,a,l,g,H,se){var De=v.makeSymbol(r,"Main-Regular",H,g),tt=Ln(De,a,g,se);return l&&Xn(tt,g,a),tt},mn=function(r,a,l,g){return v.makeSymbol(r,"Size"+a+"-Regular",l,g)},ca=function(r,a,l,g,H,se){var De=mn(r,a,H,g),tt=Ln(v.makeSpan(["delimsizing","size"+a],[De],g),C.TEXT,g,se);return l&&Xn(tt,g,C.TEXT),tt},En=function(r,a,l){var g;a==="Size1-Regular"?g="delim-size1":g="delim-size4";var H=v.makeSpan(["delimsizinginner",g],[v.makeSpan([],[v.makeSymbol(r,a,l)])]);return{type:"elem",elem:H}},ha={type:"kern",size:-.005},Zn=function(r,a,l,g,H,se){var De,tt,It,rr;De=It=rr=r,tt=null;var pr="Size1-Regular";r==="\\uparrow"?It=rr="\u23D0":r==="\\Uparrow"?It=rr="\u2016":r==="\\downarrow"?De=It="\u23D0":r==="\\Downarrow"?De=It="\u2016":r==="\\updownarrow"?(De="\\uparrow",It="\u23D0",rr="\\downarrow"):r==="\\Updownarrow"?(De="\\Uparrow",It="\u2016",rr="\\Downarrow"):r==="["||r==="\\lbrack"?(De="\u23A1",It="\u23A2",rr="\u23A3",pr="Size4-Regular"):r==="]"||r==="\\rbrack"?(De="\u23A4",It="\u23A5",rr="\u23A6",pr="Size4-Regular"):r==="\\lfloor"||r==="\u230A"?(It=De="\u23A2",rr="\u23A3",pr="Size4-Regular"):r==="\\lceil"||r==="\u2308"?(De="\u23A1",It=rr="\u23A2",pr="Size4-Regular"):r==="\\rfloor"||r==="\u230B"?(It=De="\u23A5",rr="\u23A6",pr="Size4-Regular"):r==="\\rceil"||r==="\u2309"?(De="\u23A4",It=rr="\u23A5",pr="Size4-Regular"):r==="("||r==="\\lparen"?(De="\u239B",It="\u239C",rr="\u239D",pr="Size4-Regular"):r===")"||r==="\\rparen"?(De="\u239E",It="\u239F",rr="\u23A0",pr="Size4-Regular"):r==="\\{"||r==="\\lbrace"?(De="\u23A7",tt="\u23A8",rr="\u23A9",It="\u23AA",pr="Size4-Regular"):r==="\\}"||r==="\\rbrace"?(De="\u23AB",tt="\u23AC",rr="\u23AD",It="\u23AA",pr="Size4-Regular"):r==="\\lgroup"||r==="\u27EE"?(De="\u23A7",rr="\u23A9",It="\u23AA",pr="Size4-Regular"):r==="\\rgroup"||r==="\u27EF"?(De="\u23AB",rr="\u23AD",It="\u23AA",pr="Size4-Regular"):r==="\\lmoustache"||r==="\u23B0"?(De="\u23A7",rr="\u23AD",It="\u23AA",pr="Size4-Regular"):(r==="\\rmoustache"||r==="\u23B1")&&(De="\u23AB",rr="\u23A9",It="\u23AA",pr="Size4-Regular");var kr=Fn(De,pr,H),rn=kr.height+kr.depth,hn=Fn(It,pr,H),In=hn.height+hn.depth,Un=Fn(rr,pr,H),Ca=Un.height+Un.depth,Ia=0,c=1;if(tt!==null){var e=Fn(tt,pr,H);Ia=e.height+e.depth,c=2}var t=rn+Ca+Ia,d=Math.max(0,Math.ceil((a-t)/(c*In))),O=t+d*c*In,V=g.fontMetrics().axisHeight;l&&(V*=g.sizeMultiplier);var Ce=O/2-V,Ke=(d+1)*.005-In,Xe=[];if(Xe.push(En(rr,pr,H)),tt===null)for(var Kt=0;Kt<d;Kt++)Xe.push(ha),Xe.push(En(It,pr,H));else{for(var ur=0;ur<d;ur++)Xe.push(ha),Xe.push(En(It,pr,H));Xe.push({type:"kern",size:Ke}),Xe.push(En(It,pr,H)),Xe.push(ha),Xe.push(En(tt,pr,H));for(var xr=0;xr<d;xr++)Xe.push(ha),Xe.push(En(It,pr,H))}Xe.push({type:"kern",size:Ke}),Xe.push(En(It,pr,H)),Xe.push(ha),Xe.push(En(De,pr,H));var Fr=g.havingBaseStyle(C.TEXT),Hr=v.makeVList({positionType:"bottom",positionData:Ce,children:Xe},Fr);return Ln(v.makeSpan(["delimsizing","mult"],[Hr],Fr),C.TEXT,g,se)},Ha=80,qa=.08,Cn=function(r,a,l,g,H){var se=Ct(r,g,l),De=new yt(r,se),tt=new qe([De],{width:"400em",height:a+"em",viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});return v.makeSvgSpan(["hide-tail"],[tt],H)},jn=function(r,a){var l=a.havingBaseSizing(),g=Na("\\surd",r*l.sizeMultiplier,ja,l),H=l.sizeMultiplier,se=Math.max(0,a.minRuleThickness-a.fontMetrics().sqrtRuleThickness),De,tt=0,It=0,rr=0,pr;return g.type==="small"?(rr=1e3+1e3*se+Ha,r<1?H=1:r<1.4&&(H=.7),tt=(1+se+qa)/H,It=(1+se)/H,De=Cn("sqrtMain",tt,rr,se,a),De.style.minWidth="0.853em",pr=.833/H):g.type==="large"?(rr=(1e3+Ha)*co[g.size],It=(co[g.size]+se)/H,tt=(co[g.size]+se+qa)/H,De=Cn("sqrtSize"+g.size,tt,rr,se,a),De.style.minWidth="1.02em",pr=1/H):(tt=r+se+qa,It=r+se,rr=Math.floor(1e3*r+se)+Ha,De=Cn("sqrtTall",tt,rr,se,a),De.style.minWidth="0.742em",pr=1.056),De.height=It,De.style.height=tt+"em",{span:De,advanceWidth:pr,ruleWidth:(a.fontMetrics().sqrtRuleThickness+se)*H}},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"],Ka=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],co=[0,1.2,1.8,2.4,3],uo=function(r,a,l,g,H){if(r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle"),w.contains(fa,r)||w.contains(Ka,r))return ca(r,a,!1,l,g,H);if(w.contains(Ja,r))return Zn(r,co[a],!1,l,g,H);throw new Q("Illegal delimiter: '"+r+"'")},ma=[{type:"small",style:C.SCRIPTSCRIPT},{type:"small",style:C.SCRIPT},{type:"small",style:C.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Eo=[{type:"small",style:C.SCRIPTSCRIPT},{type:"small",style:C.SCRIPT},{type:"small",style:C.TEXT},{type:"stack"}],ja=[{type:"small",style:C.SCRIPTSCRIPT},{type:"small",style:C.SCRIPT},{type:"small",style:C.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ta=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.")},Na=function(r,a,l,g){for(var H=Math.min(2,3-g.style.size),se=H;se<l.length&&l[se].type!=="stack";se++){var De=Fn(r,Ta(l[se]),"math"),tt=De.height+De.depth;if(l[se].type==="small"){var It=g.havingBaseStyle(l[se].style);tt*=It.sizeMultiplier}if(tt>a)return l[se]}return l[l.length-1]},Ba=function(r,a,l,g,H,se){r==="<"||r==="\\lt"||r==="\u27E8"?r="\\langle":(r===">"||r==="\\gt"||r==="\u27E9")&&(r="\\rangle");var De;w.contains(Ka,r)?De=ma:w.contains(fa,r)?De=ja:De=Eo;var tt=Na(r,a,De,g);return tt.type==="small"?Qr(r,tt.style,l,g,H,se):tt.type==="large"?ca(r,tt.size,l,g,H,se):Zn(r,a,l,g,H,se)},Wa=function(r,a,l,g,H,se){var De=g.fontMetrics().axisHeight*g.sizeMultiplier,tt=901,It=5/g.fontMetrics().ptPerEm,rr=Math.max(a-De,l+De),pr=Math.max(rr/500*tt,2*rr-It);return Ba(r,pr,!0,g,H,se)},va={sqrtImage:jn,sizedDelim:uo,customSizedDelim:Ba,leftRightDelim:Wa},_a={"\\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}},Da=["(","\\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 Xa(ne,r){var a=jt(ne);if(a&&w.contains(Da,a.text))return a;throw new Q("Invalid delimiter: '"+(a?a.text:JSON.stringify(ne))+"' after '"+r.funcName+"'",ne)}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=Xa(a[0],r);return{type:"delimsizing",mode:r.parser.mode,size:_a[r.funcName].size,mclass:_a[r.funcName].mclass,delim:l.text}},htmlBuilder:function(r,a){return r.delim==="."?v.makeSpan([r.mclass]):va.sizedDelim(r.delim,r.size,a,r.mode,[r.mclass])},mathmlBuilder:function(r){var a=[];r.delim!=="."&&a.push(Yt(r.delim,r.mode));var l=new ht.MathNode("mo",a);return r.mclass==="mopen"||r.mclass==="mclose"?l.setAttribute("fence","true"):l.setAttribute("fence","false"),l}});function no(ne){if(!ne.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:Xa(a[0],r).text,color:l}}}),Qt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(r,a){var l=Xa(a[0],r),g=r.parser;++g.leftrightDepth;var H=g.parseExpression(!1);--g.leftrightDepth,g.expect("\\right",!1);var se=T(g.parseFunction(),"leftright-right");return{type:"leftright",mode:g.mode,body:H,left:l.text,right:se.delim,rightColor:se.color}},htmlBuilder:function(r,a){no(r);for(var l=Be(r.body,a,!0,["mopen","mclose"]),g=0,H=0,se=!1,De=0;De<l.length;De++)l[De].isMiddle?se=!0:(g=Math.max(l[De].height,g),H=Math.max(l[De].depth,H));g*=a.sizeMultiplier,H*=a.sizeMultiplier;var tt;if(r.left==="."?tt=Xt(a,["mopen"]):tt=va.leftRightDelim(r.left,g,H,a,r.mode,["mopen"]),l.unshift(tt),se)for(var It=1;It<l.length;It++){var rr=l[It],pr=rr.isMiddle;pr&&(l[It]=va.leftRightDelim(pr.delim,g,H,pr.options,r.mode,[]))}var kr;if(r.right===".")kr=Xt(a,["mclose"]);else{var rn=r.rightColor?a.withColor(r.rightColor):a;kr=va.leftRightDelim(r.right,g,H,rn,r.mode,["mclose"])}return l.push(kr),v.makeSpan(["minner"],l,a)},mathmlBuilder:function(r,a){no(r);var l=Er(r.body,a);if(r.left!=="."){var g=new ht.MathNode("mo",[Yt(r.left,r.mode)]);g.setAttribute("fence","true"),l.unshift(g)}if(r.right!=="."){var H=new ht.MathNode("mo",[Yt(r.right,r.mode)]);H.setAttribute("fence","true"),r.rightColor&&H.setAttribute("mathcolor",r.rightColor),l.push(H)}return dr(l)}}),Qt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(r,a){var l=Xa(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=Xt(a,[]);else{l=va.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==="|"?Yt("|","text"):Yt(r.delim,r.mode),g=new ht.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=v.wrapFragment(Tt(r.body,a),a),g=r.label.substr(1),H=a.sizeMultiplier,se,De=0,tt=w.isCharacterBox(r.body);if(g==="sout")se=v.makeSpan(["stretchy","sout"]),se.height=a.fontMetrics().defaultRuleThickness/H,De=-.5*a.fontMetrics().xHeight;else{/cancel/.test(g)?tt||l.classes.push("cancel-pad"):l.classes.push("boxpad");var It=0,rr=0;/box/.test(g)?(rr=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness),It=a.fontMetrics().fboxsep+(g==="colorbox"?0:rr)):It=tt?.2:0,se=xa.encloseSpan(l,g,It,a),/fbox|boxed|fcolorbox/.test(g)&&(se.style.borderStyle="solid",se.style.borderWidth=rr+"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=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:se,shift:De},{type:"elem",elem:l,shift:0}]},a):pr=v.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)&&!tt?v.makeSpan(["mord","cancel-lap"],[pr],a):v.makeSpan(["mord"],[pr],a)},Ao=function(r,a){var l=0,g=new ht.MathNode(r.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Rr(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 H=Math.max(a.fontMetrics().fboxrule,a.minRuleThickness);g.setAttribute("style","border: "+H+"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,H=r.funcName,se=T(a[0],"color-token").color,De=a[1];return{type:"enclose",mode:g.mode,label:H,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,H=r.funcName,se=T(a[0],"color-token").color,De=T(a[1],"color-token").color,tt=a[2];return{type:"enclose",mode:g.mode,label:H,backgroundColor:De,borderColor:se,body:tt}},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,H=r.funcName,se=a[0];return{type:"enclose",mode:g.mode,label:H,body:se}},htmlBuilder:lo,mathmlBuilder:Ao});var Po={};function Ma(ne){for(var r=ne.type,a=ne.names,l=ne.props,g=ne.handler,H=ne.htmlBuilder,se=ne.mathmlBuilder,De={type:r,numArgs:l.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:g},tt=0;tt<a.length;++tt)Po[a[tt]]=De;H&&(ar[r]=H),se&&(yr[r]=se)}function Wo(ne){var r=[];ne.consumeSpaces();for(var a=ne.fetch().text;a==="\\hline"||a==="\\hdashline";)ne.consume(),r.push(a==="\\hdashline"),ne.consumeSpaces(),a=ne.fetch().text;return r}function ho(ne,r,a){var l=r.hskipBeforeAndAfter,g=r.addJot,H=r.cols,se=r.arraystretch,De=r.colSeparationType;if(ne.gullet.beginGroup(),ne.gullet.macros.set("\\\\","\\cr"),!se){var tt=ne.gullet.expandMacroAsText("\\arraystretch");if(tt==null)se=1;else if(se=parseFloat(tt),!se||se<0)throw new Q("Invalid \\arraystretch: "+tt)}ne.gullet.beginGroup();var It=[],rr=[It],pr=[],kr=[];for(kr.push(Wo(ne));;){var rn=ne.parseExpression(!1,"\\cr");ne.gullet.endGroup(),ne.gullet.beginGroup(),rn={type:"ordgroup",mode:ne.mode,body:rn},a&&(rn={type:"styling",mode:ne.mode,style:a,body:[rn]}),It.push(rn);var hn=ne.fetch().text;if(hn==="&")ne.consume();else if(hn==="\\end"){It.length===1&&rn.type==="styling"&&rn.body[0].body.length===0&&rr.pop(),kr.length<rr.length+1&&kr.push([]);break}else if(hn==="\\cr"){var In=T(ne.parseFunction(),"cr");pr.push(In.size),kr.push(Wo(ne)),It=[],rr.push(It)}else throw new Q("Expected & or \\\\ or \\cr or \\end",ne.nextToken)}return ne.gullet.endGroup(),ne.gullet.endGroup(),{type:"array",mode:ne.mode,addJot:g,arraystretch:se,body:rr,cols:H,rowGaps:pr,hskipBeforeAndAfter:l,hLinesBeforeRow:kr,colSeparationType:De}}function jo(ne){return ne.substr(0,1)==="d"?"display":"text"}var vo=function(r,a){var l,g,H=r.body.length,se=r.hLinesBeforeRow,De=0,tt=new Array(H),It=[],rr=Math.max(a.fontMetrics().arrayRuleWidth,a.minRuleThickness),pr=1/a.fontMetrics().ptPerEm,kr=5*pr;if(r.colSeparationType&&r.colSeparationType==="small"){var rn=a.havingStyle(C.SCRIPT).sizeMultiplier;kr=.2778*(rn/a.sizeMultiplier)}var hn=12*pr,In=3*pr,Un=r.arraystretch*hn,Ca=.7*Un,Ia=.3*Un,c=0;function e(go){for(var Jo=0;Jo<go.length;++Jo)Jo>0&&(c+=.25),It.push({pos:c,isDashed:go[Jo]})}for(e(se[0]),l=0;l<r.body.length;++l){var t=r.body[l],d=Ca,O=Ia;De<t.length&&(De=t.length);var V=new Array(t.length);for(g=0;g<t.length;++g){var Ce=Tt(t[g],a);O<Ce.depth&&(O=Ce.depth),d<Ce.height&&(d=Ce.height),V[g]=Ce}var Ke=r.rowGaps[l],Xe=0;Ke&&(Xe=On(Ke,a),Xe>0&&(Xe+=Ia,O<Xe&&(O=Xe),Xe=0)),r.addJot&&(O+=In),V.height=d,V.depth=O,c+=d,V.pos=c,c+=O+Xe,tt[l]=V,e(se[l+1])}var Kt=c/2+a.fontMetrics().axisHeight,ur=r.cols||[],xr=[],Fr,Hr;for(g=0,Hr=0;g<De||Hr<ur.length;++g,++Hr){for(var un=ur[Hr]||{},bn=!0;un.type==="separator";){if(bn||(Fr=v.makeSpan(["arraycolsep"],[]),Fr.style.width=a.fontMetrics().doubleRuleSep+"em",xr.push(Fr)),un.separator==="|"||un.separator===":"){var Nn=un.separator==="|"?"solid":"dashed",Mn=v.makeSpan(["vertical-separator"],[],a);Mn.style.height=c+"em",Mn.style.borderRightWidth=rr+"em",Mn.style.borderRightStyle=Nn,Mn.style.margin="0 -"+rr/2+"em",Mn.style.verticalAlign=-(c-Kt)+"em",xr.push(Mn)}else throw new Q("Invalid separator type: "+un.separator);Hr++,un=ur[Hr]||{},bn=!1}if(!(g>=De)){var oa=void 0;(g>0||r.hskipBeforeAndAfter)&&(oa=w.deflt(un.pregap,kr),oa!==0&&(Fr=v.makeSpan(["arraycolsep"],[]),Fr.style.width=oa+"em",xr.push(Fr)));var ya=[];for(l=0;l<H;++l){var Ua=tt[l],Pa=Ua[g];if(Pa){var Oa=Ua.pos-Kt;Pa.depth=Ua.depth,Pa.height=Ua.height,ya.push({type:"elem",elem:Pa,shift:Oa})}}ya=v.makeVList({positionType:"individualShift",children:ya},a),ya=v.makeSpan(["col-align-"+(un.align||"c")],[ya]),xr.push(ya),(g<De-1||r.hskipBeforeAndAfter)&&(oa=w.deflt(un.postgap,kr),oa!==0&&(Fr=v.makeSpan(["arraycolsep"],[]),Fr.style.width=oa+"em",xr.push(Fr)))}}if(tt=v.makeSpan(["mtable"],xr),It.length>0){for(var Ga=v.makeLineSpan("hline",a,rr),Ya=v.makeLineSpan("hdashline",a,rr),Ra=[{type:"elem",elem:tt,shift:0}];It.length>0;){var qo=It.pop(),Io=qo.pos-Kt;qo.isDashed?Ra.push({type:"elem",elem:Ya,shift:Io}):Ra.push({type:"elem",elem:Ga,shift:Io})}tt=v.makeVList({positionType:"individualShift",children:Ra},a)}return v.makeSpan(["mord"],[tt],a)},vi={c:"center ",l:"left ",r:"right "},ko=function(r,a){var l=new ht.MathNode("mtable",r.body.map(function(c){return new ht.MathNode("mtr",c.map(function(e){return new ht.MathNode("mtd",[Rr(e,a)])}))})),g=r.arraystretch===.5?.1:.16+r.arraystretch-1+(r.addJot?.09:0);l.setAttribute("rowspacing",g+"em");var H="",se="";if(r.cols){var De=r.cols,tt="",It=!1,rr=0,pr=De.length;De[0].type==="separator"&&(H+="top ",rr=1),De[De.length-1].type==="separator"&&(H+="bottom ",pr-=1);for(var kr=rr;kr<pr;kr++)De[kr].type==="align"?(se+=vi[De[kr].align],It&&(tt+="none "),It=!0):De[kr].type==="separator"&&It&&(tt+=De[kr].separator==="|"?"solid ":"dashed ",It=!1);l.setAttribute("columnalign",se.trim()),/[sd]/.test(tt)&&l.setAttribute("columnlines",tt.trim())}if(r.colSeparationType==="align"){for(var rn=r.cols||[],hn="",In=1;In<rn.length;In++)hn+=In%2?"0em ":"1em ";l.setAttribute("columnspacing",hn.trim())}else r.colSeparationType==="alignat"?l.setAttribute("columnspacing","0em"):r.colSeparationType==="small"?l.setAttribute("columnspacing","0.2778em"):l.setAttribute("columnspacing","1em");var Un="",Ca=r.hLinesBeforeRow;H+=Ca[0].length>0?"left ":"",H+=Ca[Ca.length-1].length>0?"right ":"";for(var Ia=1;Ia<Ca.length-1;Ia++)Un+=Ca[Ia].length===0?"none ":Ca[Ia][0]?"dashed ":"solid ";return/[sd]/.test(Un)&&l.setAttribute("rowlines",Un.trim()),H!==""&&(l=new ht.MathNode("menclose",[l]),l.setAttribute("notation",H.trim())),r.arraystretch&&r.arraystretch<1&&(l=new ht.MathNode("mstyle",[l]),l.setAttribute("scriptlevel","1")),l},Qo=function(r,a){var l=[],g=ho(r.parser,{cols:l,addJot:!0},"display"),H,se=0,De={type:"ordgroup",mode:r.mode,body:[]},tt=Z(a[0],"ordgroup");if(tt){for(var It="",rr=0;rr<tt.body.length;rr++){var pr=T(tt.body[rr],"textord");It+=pr.text}H=Number(It),se=H*2}var kr=!se;g.body.forEach(function(Un){for(var Ca=1;Ca<Un.length;Ca+=2){var Ia=T(Un[Ca],"styling"),c=T(Ia.body[0],"ordgroup");c.body.unshift(De)}if(kr)se<Un.length&&(se=Un.length);else{var e=Un.length/2;if(H<e)throw new Q("Too many math in a row: "+("expected "+H+", but got "+e),Un[0])}});for(var rn=0;rn<se;++rn){var hn="r",In=0;rn%2===1?hn="l":rn>0&&kr&&(In=1),l[rn]={type:"align",align:hn,pregap:In,postgap:0}}return g.colSeparationType=kr?"align":"alignat",g};Ma({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(r,a){var l=jt(a[0]),g=l?[a[0]]:T(a[0],"ordgroup").body,H=g.map(function(De){var tt=st(De),It=tt.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:H,hskipBeforeAndAfter:!0};return ho(r.parser,se,jo(r.envName))},htmlBuilder:vo,mathmlBuilder:ko}),Ma({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,jo(r.envName));return a?{type:"leftright",mode:r.mode,body:[g],left:a[0],right:a[1],rightColor:void 0}:g},htmlBuilder:vo,mathmlBuilder:ko}),Ma({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:vo,mathmlBuilder:ko}),Ma({type:"array",names:["subarray"],props:{numArgs:1},handler:function(r,a){var l=jt(a[0]),g=l?[a[0]]:T(a[0],"ordgroup").body,H=g.map(function(De){var tt=st(De),It=tt.text;if("lc".indexOf(It)!==-1)return{type:"align",align:It};throw new Q("Unknown column alignment: "+It,De)});if(H.length>1)throw new Q("{subarray} can contain only one column");var se={cols:H,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:vo,mathmlBuilder:ko}),Ma({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,jo(r.envName));return{type:"leftright",mode:r.mode,body:[l],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:vo,mathmlBuilder:ko}),Ma({type:"array",names:["aligned"],props:{numArgs:0},handler:Qo,htmlBuilder:vo,mathmlBuilder:ko}),Ma({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:vo,mathmlBuilder:ko}),Ma({type:"array",names:["alignedat"],props:{numArgs:1},handler:Qo,htmlBuilder:vo,mathmlBuilder:ko}),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 Ei=Po,Lo=Ei;Qt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];if(H.type!=="ordgroup")throw new Q("Invalid environment name",H);for(var se="",De=0;De<H.body.length;++De)se+=T(H.body[De],"textord").text;if(g==="\\begin"){if(!Lo.hasOwnProperty(se))throw new Q("No such environment: "+se,H);var tt=Lo[se],It=l.parseArguments("\\begin{"+se+"}",tt),rr=It.args,pr=It.optArgs,kr={mode:l.mode,envName:se,parser:l},rn=tt.handler(kr,rr,pr);l.expect("\\end",!1);var hn=l.nextToken,In=T(l.parseFunction(),"environment");if(In.name!==se)throw new Q("Mismatch: \\begin{"+se+"} matched by \\end{"+In.name+"}",hn);return rn}return{type:"environment",mode:l.mode,name:se,nameGroup:H}}});var Uo=v.makeSpan;function ki(ne,r){var a=Be(ne.body,r,!0);return Uo([ne.mclass],a,r)}function bi(ne,r){var a,l=Er(ne.body,r);return ne.mclass==="minner"?ht.newDocumentFragment(l):(ne.mclass==="mord"?ne.isCharacterBox?(a=l[0],a.type="mi"):a=new ht.MathNode("mi",l):(ne.isCharacterBox?(a=l[0],a.type="mo"):a=new ht.MathNode("mo",l),ne.mclass==="mbin"?(a.attributes.lspace="0.22em",a.attributes.rspace="0.22em"):ne.mclass==="mpunct"?(a.attributes.lspace="0em",a.attributes.rspace="0.17em"):(ne.mclass==="mopen"||ne.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,H=a[0];return{type:"mclass",mode:l.mode,mclass:"m"+g.substr(5),body:Se(H),isCharacterBox:w.isCharacterBox(H)}},htmlBuilder:ki,mathmlBuilder:bi});var yi=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:yi(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,H=a[1],se=a[0],De;g!=="\\stackrel"?De=yi(H):De="mrel";var tt={type:"op",mode:H.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:g!=="\\stackrel",body:Se(H)},It={type:"supsub",mode:se.mode,base:tt,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:ki,mathmlBuilder:bi});var xi=function(r,a){var l=r.font,g=a.withFont(l);return Tt(r.body,g)},Ii=function(r,a){var l=r.font,g=a.withFont(l);return Rr(r.body,g)},Aa={"\\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,H=a[0],se=g;return se in Aa&&(se=Aa[se]),{type:"font",mode:l.mode,font:se.slice(1),body:H}},htmlBuilder:xi,mathmlBuilder:Ii}),Qt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(r,a){var l=r.parser,g=a[0],H=w.isCharacterBox(g);return{type:"mclass",mode:l.mode,mclass:yi(g),body:[{type:"font",mode:l.mode,font:"boldsymbol",body:g}],isCharacterBox:H}}}),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,H=r.breakOnTokenText,se=l.mode,De=l.parseExpression(!0,H),tt="math"+g.slice(1);return{type:"font",mode:se,font:tt,body:{type:"ordgroup",mode:l.mode,body:De}}},htmlBuilder:xi,mathmlBuilder:Ii});var $a=function(r,a){var l=a;return r==="display"?l=l.id>=C.SCRIPT.id?l.text():C.DISPLAY:r==="text"&&l.size===C.DISPLAY.size?l=C.TEXT:r==="script"?l=C.SCRIPT:r==="scriptscript"&&(l=C.SCRIPTSCRIPT),l},fo=function(r,a){var l=$a(r.size,a.style),g=l.fracNum(),H=l.fracDen(),se;se=a.havingStyle(g);var De=Tt(r.numer,se,a);if(r.continued){var tt=8.5/a.fontMetrics().ptPerEm,It=3.5/a.fontMetrics().ptPerEm;De.height=De.height<tt?tt:De.height,De.depth=De.depth<It?It:De.depth}se=a.havingStyle(H);var rr=Tt(r.denom,se,a),pr,kr,rn;r.hasBarLine?(r.barSize?(kr=On(r.barSize,a),pr=v.makeLineSpan("frac-line",a,kr)):pr=v.makeLineSpan("frac-line",a),kr=pr.height,rn=pr.height):(pr=null,kr=0,rn=a.fontMetrics().defaultRuleThickness);var hn,In,Un;l.size===C.DISPLAY.size||r.size==="display"?(hn=a.fontMetrics().num1,kr>0?In=3*rn:In=7*rn,Un=a.fontMetrics().denom1):(kr>0?(hn=a.fontMetrics().num2,In=rn):(hn=a.fontMetrics().num3,In=3*rn),Un=a.fontMetrics().denom2);var Ca;if(pr){var c=a.fontMetrics().axisHeight;hn-De.depth-(c+.5*kr)<In&&(hn+=In-(hn-De.depth-(c+.5*kr))),c-.5*kr-(rr.height-Un)<In&&(Un+=In-(c-.5*kr-(rr.height-Un)));var e=-(c-.5*kr);Ca=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:Un},{type:"elem",elem:pr,shift:e},{type:"elem",elem:De,shift:-hn}]},a)}else{var Ia=hn-De.depth-(rr.height-Un);Ia<In&&(hn+=.5*(In-Ia),Un+=.5*(In-Ia)),Ca=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:Un},{type:"elem",elem:De,shift:-hn}]},a)}se=a.havingStyle(l),Ca.height*=se.sizeMultiplier/a.sizeMultiplier,Ca.depth*=se.sizeMultiplier/a.sizeMultiplier;var t;l.size===C.DISPLAY.size?t=a.fontMetrics().delim1:t=a.fontMetrics().delim2;var d,O;return r.leftDelim==null?d=Xt(a,["mopen"]):d=va.customSizedDelim(r.leftDelim,t,!0,a.havingStyle(l),r.mode,["mopen"]),r.continued?O=v.makeSpan([]):r.rightDelim==null?O=Xt(a,["mclose"]):O=va.customSizedDelim(r.rightDelim,t,!0,a.havingStyle(l),r.mode,["mclose"]),v.makeSpan(["mord"].concat(se.sizingClasses(a)),[d,v.makeSpan(["mfrac"],[Ca]),O],a)},Ue=function(r,a){var l=new ht.MathNode("mfrac",[Rr(r.numer,a),Rr(r.denom,a)]);if(!r.hasBarLine)l.setAttribute("linethickness","0px");else if(r.barSize){var g=On(r.barSize,a);l.setAttribute("linethickness",g+"em")}var H=$a(r.size,a.style);if(H.size!==a.style.size){l=new ht.MathNode("mstyle",[l]);var se=H.size===C.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 tt=new ht.MathNode("mo",[new ht.TextNode(r.leftDelim.replace("\\",""))]);tt.setAttribute("fence","true"),De.push(tt)}if(De.push(l),r.rightDelim!=null){var It=new ht.MathNode("mo",[new ht.TextNode(r.rightDelim.replace("\\",""))]);It.setAttribute("fence","true"),De.push(It)}return dr(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,H=a[0],se=a[1],De,tt=null,It=null,rr="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,tt="(",It=")";break;case"\\\\bracefrac":De=!1,tt="\\{",It="\\}";break;case"\\\\brackfrac":De=!1,tt="[",It="]";break;default:throw new Error("Unrecognized genfrac command")}switch(g){case"\\cfrac":case"\\dfrac":case"\\dbinom":rr="display";break;case"\\tfrac":case"\\tbinom":rr="text";break}return{type:"genfrac",mode:l.mode,continued:g==="\\cfrac",numer:H,denom:se,hasBarLine:De,leftDelim:tt,rightDelim:It,size:rr,barSize:null}},htmlBuilder:fo,mathmlBuilder:Ue}),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,H;switch(l){case"\\over":H="\\frac";break;case"\\choose":H="\\binom";break;case"\\atop":H="\\\\atopfrac";break;case"\\brace":H="\\\\bracefrac";break;case"\\brack":H="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:a.mode,replaceWith:H,token:g}}});var No=["display","text","script","scriptscript"],Mo=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],H=a[5],se=Z(a[0],"atom");se&&(se=ee(a[0],"open"));var De=se?Mo(se.text):null,tt=Z(a[1],"atom");tt&&(tt=ee(a[1],"close"));var It=tt?Mo(tt.text):null,rr=T(a[2],"size"),pr,kr=null;rr.isBlank?pr=!0:(kr=rr.value,pr=kr.number>0);var rn="auto",hn=Z(a[3],"ordgroup");if(hn){if(hn.body.length>0){var In=T(hn.body[0],"textord");rn=No[Number(In.text)]}}else hn=T(a[3],"textord"),rn=No[Number(hn.text)];return{type:"genfrac",mode:l.mode,numer:g,denom:H,continued:!1,hasBarLine:pr,barSize:kr,leftDelim:De,rightDelim:It,size:rn}},htmlBuilder:fo,mathmlBuilder:Ue}),Qt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(r,a){var l=r.parser,g=r.funcName,H=r.token;return{type:"infix",mode:l.mode,replaceWith:"\\\\abovefrac",size:T(a[0],"size").value,token:H}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0],se=N(T(a[1],"infix").size),De=a[2],tt=se.number>0;return{type:"genfrac",mode:l.mode,numer:H,denom:De,continued:!1,hasBarLine:tt,barSize:se,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:fo,mathmlBuilder:Ue});var yo=function(r,a){var l=a.style,g,H,se=Z(r,"supsub");se?(g=se.sup?Tt(se.sup,a.havingStyle(l.sup()),a):Tt(se.sub,a.havingStyle(l.sub()),a),H=T(se.base,"horizBrace")):H=T(r,"horizBrace");var De=Tt(H.base,a.havingBaseStyle(C.DISPLAY)),tt=xa.svgSpan(H,a),It;if(H.isOver?(It=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:De},{type:"kern",size:.1},{type:"elem",elem:tt}]},a),It.children[0].children[0].children[1].classes.push("svg-align")):(It=v.makeVList({positionType:"bottom",positionData:De.depth+.1+tt.height,children:[{type:"elem",elem:tt},{type:"kern",size:.1},{type:"elem",elem:De}]},a),It.children[0].children[0].children[0].classes.push("svg-align")),g){var rr=v.makeSpan(["mord",H.isOver?"mover":"munder"],[It],a);H.isOver?It=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:rr},{type:"kern",size:.2},{type:"elem",elem:g}]},a):It=v.makeVList({positionType:"bottom",positionData:rr.depth+.2+g.height+g.depth,children:[{type:"elem",elem:g},{type:"kern",size:.2},{type:"elem",elem:rr}]},a)}return v.makeSpan(["mord",H.isOver?"mover":"munder"],[It],a)},ao=function(r,a){var l=xa.mathMLnode(r.label);return new ht.MathNode(r.isOver?"mover":"munder",[Rr(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:yo,mathmlBuilder:ao}),Qt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=a[1],H=T(a[0],"url").url;return l.settings.isTrusted({command:"\\href",url:H})?{type:"href",mode:l.mode,href:H,body:Se(g)}:l.formatUnsupportedCmd("\\href")},htmlBuilder:function(r,a){var l=Be(r.body,a,!1);return v.makeAnchor(r.href,[],l,a)},mathmlBuilder:function(r,a){var l=Lr(r.body,a);return l instanceof Pe||(l=new Pe("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=T(a[0],"url").url;if(!l.settings.isTrusted({command:"\\url",url:g}))return l.formatUnsupportedCmd("\\url");for(var H=[],se=0;se<g.length;se++){var De=g[se];De==="~"&&(De="\\textasciitilde"),H.push({type:"textord",mode:"text",text:De})}var tt={type:"text",mode:l.mode,font:"\\texttt",body:H};return{type:"href",mode:l.mode,href:g,body:Se(tt)}}}),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=Be(r.html,a,!1);return v.makeFragment(l)},mathmlBuilder:function(r,a){return Lr(r.mathml,a)}});var Zo=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(!Pn(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,H={number:0,unit:"em"},se={number:.9,unit:"em"},De={number:0,unit:"em"},tt="";if(l[0])for(var It=T(l[0],"raw").string,rr=It.split(","),pr=0;pr<rr.length;pr++){var kr=rr[pr].split("=");if(kr.length===2){var rn=kr[1].trim();switch(kr[0].trim()){case"alt":tt=rn;break;case"width":H=Zo(rn);break;case"height":se=Zo(rn);break;case"totalheight":De=Zo(rn);break;default:throw new Q("Invalid key: '"+kr[0]+"' in \\includegraphics.")}}}var hn=T(a[0],"url").url;return tt===""&&(tt=hn,tt=tt.replace(/^.*[\\/]/,""),tt=tt.substring(0,tt.lastIndexOf("."))),g.settings.isTrusted({command:"\\includegraphics",url:hn})?{type:"includegraphics",mode:g.mode,alt:tt,width:H,height:se,totalheight:De,src:hn}:g.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(r,a){var l=On(r.height,a),g=0;r.totalheight.number>0&&(g=On(r.totalheight,a)-l,g=Number(g.toFixed(2)));var H=0;r.width.number>0&&(H=On(r.width,a));var se={height:l+g+"em"};H>0&&(se.width=H+"em"),g>0&&(se.verticalAlign=-g+"em");var De=new Ie(r.src,r.alt,se);return De.height=l,De.depth=g,De},mathmlBuilder:function(r,a){var l=new ht.MathNode("mglyph",[]);l.setAttribute("alt",r.alt);var g=On(r.height,a),H=0;if(r.totalheight.number>0&&(H=On(r.totalheight,a)-g,H=H.toFixed(2),l.setAttribute("valign","-"+H+"em")),l.setAttribute("height",g+H+"em"),r.width.number>0){var se=On(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,H=T(a[0],"size");if(l.settings.strict){var se=g[1]==="m",De=H.value.unit==="mu";se?(De||l.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+g+" supports only mu units, "+("not "+H.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:H.value}},htmlBuilder:function(r,a){return v.makeGlue(r.dimension,a)},mathmlBuilder:function(r,a){var l=On(r.dimension,a);return new ht.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,H=a[0];return{type:"lap",mode:l.mode,alignment:g.slice(5),body:H}},htmlBuilder:function(r,a){var l;r.alignment==="clap"?(l=v.makeSpan([],[Tt(r.body,a)]),l=v.makeSpan(["inner"],[l],a)):l=v.makeSpan(["inner"],[Tt(r.body,a)]);var g=v.makeSpan(["fix"],[]),H=v.makeSpan([r.alignment],[l,g],a),se=v.makeSpan(["strut"]);return se.style.height=H.height+H.depth+"em",se.style.verticalAlign=-H.depth+"em",H.children.unshift(se),H=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:H}]},a),v.makeSpan(["mord"],[H],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mpadded",[Rr(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,H=g.mode;g.switchMode("math");var se=l==="\\("?"\\)":"$",De=g.parseExpression(!1,se);return g.expect(se),g.switchMode(H),{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 zo=function(r,a){switch(a.style.size){case C.DISPLAY.size:return r.display;case C.TEXT.size:return r.text;case C.SCRIPT.size:return r.script;case C.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=zo(r,a),g=Be(l,a,!1);return v.makeFragment(g)},mathmlBuilder:function(r,a){var l=zo(r,a);return Lr(l,a)}});var xo=function(r,a,l,g,H,se,De){r=v.makeSpan([],[r]);var tt,It;if(a){var rr=Tt(a,g.havingStyle(H.sup()),g);It={elem:rr,kern:Math.max(g.fontMetrics().bigOpSpacing1,g.fontMetrics().bigOpSpacing3-rr.depth)}}if(l){var pr=Tt(l,g.havingStyle(H.sub()),g);tt={elem:pr,kern:Math.max(g.fontMetrics().bigOpSpacing2,g.fontMetrics().bigOpSpacing4-pr.height)}}var kr;if(It&&tt){var rn=g.fontMetrics().bigOpSpacing5+tt.elem.height+tt.elem.depth+tt.kern+r.depth+De;kr=v.makeVList({positionType:"bottom",positionData:rn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:tt.elem,marginLeft:-se+"em"},{type:"kern",size:tt.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(tt){var hn=r.height-De;kr=v.makeVList({positionType:"top",positionData:hn,children:[{type:"kern",size:g.fontMetrics().bigOpSpacing5},{type:"elem",elem:tt.elem,marginLeft:-se+"em"},{type:"kern",size:tt.kern},{type:"elem",elem:r}]},g)}else if(It){var In=r.depth+De;kr=v.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 v.makeSpan(["mop","op-limits"],[kr],g)},Vo=["\\smallint"],Ai=function(r,a){var l,g,H=!1,se,De=Z(r,"supsub");De?(l=De.sup,g=De.sub,se=T(De.base,"op"),H=!0):se=T(r,"op");var tt=a.style,It=!1;tt.size===C.DISPLAY.size&&se.symbol&&!w.contains(Vo,se.name)&&(It=!0);var rr;if(se.symbol){var pr=It?"Size2-Regular":"Size1-Regular",kr="";if((se.name==="\\oiint"||se.name==="\\oiiint")&&(kr=se.name.substr(1),se.name=kr==="oiint"?"\\iint":"\\iiint"),rr=v.makeSymbol(se.name,pr,"math",a,["mop","op-symbol",It?"large-op":"small-op"]),kr.length>0){var rn=rr.italic,hn=v.staticSvg(kr+"Size"+(It?"2":"1"),a);rr=v.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:0},{type:"elem",elem:hn,shift:It?.08:0}]},a),se.name="\\"+kr,rr.classes.unshift("mop"),rr.italic=rn}}else if(se.body){var In=Be(se.body,a,!0);In.length===1&&In[0]instanceof Le?(rr=In[0],rr.classes[0]="mop"):rr=v.makeSpan(["mop"],v.tryCombineChars(In),a)}else{for(var Un=[],Ca=1;Ca<se.name.length;Ca++)Un.push(v.mathsym(se.name[Ca],se.mode,a));rr=v.makeSpan(["mop"],Un,a)}var Ia=0,c=0;return(rr instanceof Le||se.name==="\\oiint"||se.name==="\\oiiint")&&!se.suppressBaseShift&&(Ia=(rr.height-rr.depth)/2-a.fontMetrics().axisHeight,c=rr.italic),H?xo(rr,l,g,a,tt,c,Ia):(Ia&&(rr.style.position="relative",rr.style.top=Ia+"em"),rr)},Hi=function(r,a){var l;if(r.symbol)l=new Pe("mo",[Yt(r.name,r.mode)]),w.contains(Vo,r.name)&&l.setAttribute("largeop","false");else if(r.body)l=new Pe("mo",Er(r.body,a));else{l=new Pe("mi",[new vt(r.name.slice(1))]);var g=new Pe("mo",[Yt("\u2061","text")]);r.parentIsSupSub?l=new Pe("mo",[l,g]):l=Wt([l,g])}return l},xs={"\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,H=g;return H.length===1&&(H=xs[H]),{type:"op",mode:l.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:H}},htmlBuilder:Ai,mathmlBuilder:Hi}),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:Ai,mathmlBuilder:Hi});var ii={"\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:Ai,mathmlBuilder:Hi}),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:Ai,mathmlBuilder:Hi}),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=ii[g]),{type:"op",mode:a.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:g}},htmlBuilder:Ai,mathmlBuilder:Hi});var as=function(r,a){var l,g,H=!1,se,De=Z(r,"supsub");De?(l=De.sup,g=De.sub,se=T(De.base,"operatorname"),H=!0):se=T(r,"operatorname");var tt;if(se.body.length>0){for(var It=se.body.map(function(rn){var hn=rn.text;return typeof hn=="string"?{type:"textord",mode:rn.mode,text:hn}:rn}),rr=Be(It,a.withFont("mathrm"),!0),pr=0;pr<rr.length;pr++){var kr=rr[pr];kr instanceof Le&&(kr.text=kr.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}tt=v.makeSpan(["mop"],rr,a)}else tt=v.makeSpan(["mop"],[],a);return H?xo(tt,l,g,a,a.style,0,0):tt},cs=function(r,a){for(var l=Er(r.body,a.withFont("mathrm")),g=!0,H=0;H<l.length;H++){var se=l[H];if(!(se instanceof ht.SpaceNode))if(se instanceof ht.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 ht.TextNode?De.text=De.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):g=!1;break}default:g=!1}else g=!1}if(g){var tt=l.map(function(pr){return pr.toText()}).join("");l=[new ht.TextNode(tt)]}var It=new ht.MathNode("mi",l);It.setAttribute("mathvariant","normal");var rr=new ht.MathNode("mo",[Yt("\u2061","text")]);return r.parentIsSupSub?new ht.MathNode("mo",[It,rr]):ht.newDocumentFragment([It,rr])};Qt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=r.funcName,H=a[0];return{type:"operatorname",mode:l.mode,body:Se(H),alwaysHandleSupSub:g==="\\operatorname*",limits:!1,parentIsSupSub:!1}},htmlBuilder:as,mathmlBuilder:cs}),nt({type:"ordgroup",htmlBuilder:function(r,a){return r.semisimple?v.makeFragment(Be(r.body,a,!1)):v.makeSpan(["mord"],Be(r.body,a,!0),a)},mathmlBuilder:function(r,a){return Lr(r.body,a,!0)}}),Qt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(r,a){var l=r.parser,g=a[0];return{type:"overline",mode:l.mode,body:g}},htmlBuilder:function(r,a){var l=Tt(r.body,a.havingCrampedStyle()),g=v.makeLineSpan("overline-line",a),H=a.fontMetrics().defaultRuleThickness,se=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:3*H},{type:"elem",elem:g},{type:"kern",size:H}]},a);return v.makeSpan(["mord","overline"],[se],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mo",[new ht.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new ht.MathNode("mover",[Rr(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=Be(r.body,a.withPhantom(),!1);return v.makeFragment(l)},mathmlBuilder:function(r,a){var l=Er(r.body,a);return new ht.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=v.makeSpan([],[Tt(r.body,a.withPhantom())]);if(l.height=0,l.depth=0,l.children)for(var g=0;g<l.children.length;g++)l.children[g].height=0,l.children[g].depth=0;return l=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a),v.makeSpan(["mord"],[l],a)},mathmlBuilder:function(r,a){var l=Er(Se(r.body),a),g=new ht.MathNode("mphantom",l),H=new ht.MathNode("mpadded",[g]);return H.setAttribute("height","0px"),H.setAttribute("depth","0px"),H}}),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=v.makeSpan(["inner"],[Tt(r.body,a.withPhantom())]),g=v.makeSpan(["fix"],[]);return v.makeSpan(["mord","rlap"],[l,g],a)},mathmlBuilder:function(r,a){var l=Er(Se(r.body),a),g=new ht.MathNode("mphantom",l),H=new ht.MathNode("mpadded",[g]);return H.setAttribute("width","0px"),H}}),Qt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(r,a){var l=r.parser,g=T(a[0],"size").value,H=a[1];return{type:"raisebox",mode:l.mode,dy:g,body:H}},htmlBuilder:function(r,a){var l=Tt(r.body,a),g=On(r.dy,a);return v.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:l}]},a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mpadded",[Rr(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,H=l[0],se=T(a[0],"size"),De=T(a[1],"size");return{type:"rule",mode:g.mode,shift:H&&T(H,"size").value,width:se.value,height:De.value}},htmlBuilder:function(r,a){var l=v.makeSpan(["mord","rule"],[],a),g=On(r.width,a),H=On(r.height,a),se=r.shift?On(r.shift,a):0;return l.style.borderRightWidth=g+"em",l.style.borderTopWidth=H+"em",l.style.bottom=se+"em",l.width=g,l.height=H+se,l.depth=-se,l.maxFontSize=H*1.125*a.sizeMultiplier,l},mathmlBuilder:function(r,a){var l=On(r.width,a),g=On(r.height,a),H=r.shift?On(r.shift,a):0,se=a.color&&a.getColor()||"black",De=new ht.MathNode("mspace");De.setAttribute("mathbackground",se),De.setAttribute("width",l+"em"),De.setAttribute("height",g+"em");var tt=new ht.MathNode("mpadded",[De]);return H>=0?tt.setAttribute("height","+"+H+"em"):(tt.setAttribute("height",H+"em"),tt.setAttribute("depth","+"+-H+"em")),tt.setAttribute("voffset",H+"em"),tt}});function si(ne,r,a){for(var l=Be(ne,r,!1),g=r.sizeMultiplier/a.sizeMultiplier,H=0;H<l.length;H++){var se=l[H].classes.indexOf("sizing");se<0?Array.prototype.push.apply(l[H].classes,r.sizingClasses(a)):l[H].classes[se+1]==="reset-size"+r.size&&(l[H].classes[se+1]="reset-size"+a.size),l[H].height*=g,l[H].depth*=g}return v.makeFragment(l)}var Wi=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],ws=function(r,a){var l=a.havingSize(r.size);return si(r.body,l,a)};Qt({type:"sizing",names:Wi,props:{numArgs:0,allowedInText:!0},handler:function(r,a){var l=r.breakOnTokenText,g=r.funcName,H=r.parser,se=H.parseExpression(!1,l);return{type:"sizing",mode:H.mode,size:Wi.indexOf(g)+1,body:se}},htmlBuilder:ws,mathmlBuilder:function(r,a){var l=a.havingSize(r.size),g=Er(r.body,l),H=new ht.MathNode("mstyle",g);return H.setAttribute("mathsize",l.sizeMultiplier+"em"),H}}),Qt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(r,a,l){var g=r.parser,H=!1,se=!1,De=l[0]&&T(l[0],"ordgroup");if(De)for(var tt="",It=0;It<De.body.length;++It){var rr=De.body[It];if(tt=rr.text,tt==="t")H=!0;else if(tt==="b")se=!0;else{H=!1,se=!1;break}}else H=!0,se=!0;var pr=a[0];return{type:"smash",mode:g.mode,body:pr,smashHeight:H,smashDepth:se}},htmlBuilder:function(r,a){var l=v.makeSpan([],[Tt(r.body,a)]);if(!r.smashHeight&&!r.smashDepth)return l;if(r.smashHeight&&(l.height=0,l.children))for(var g=0;g<l.children.length;g++)l.children[g].height=0;if(r.smashDepth&&(l.depth=0,l.children))for(var H=0;H<l.children.length;H++)l.children[H].depth=0;var se=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l}]},a);return v.makeSpan(["mord"],[se],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mpadded",[Rr(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,H=l[0],se=a[0];return{type:"sqrt",mode:g.mode,body:se,index:H}},htmlBuilder:function(r,a){var l=Tt(r.body,a.havingCrampedStyle());l.height===0&&(l.height=a.fontMetrics().xHeight),l=v.wrapFragment(l,a);var g=a.fontMetrics(),H=g.defaultRuleThickness,se=H;a.style.id<C.TEXT.id&&(se=a.fontMetrics().xHeight);var De=H+se/4,tt=l.height+l.depth+De+H,It=va.sqrtImage(tt,a),rr=It.span,pr=It.ruleWidth,kr=It.advanceWidth,rn=rr.height-pr;rn>l.height+l.depth+De&&(De=(De+rn-l.height-l.depth)/2);var hn=rr.height-l.height-De-pr;l.style.paddingLeft=kr+"em";var In=v.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:-(l.height+hn)},{type:"elem",elem:rr},{type:"kern",size:pr}]},a);if(r.index){var Un=a.havingStyle(C.SCRIPTSCRIPT),Ca=Tt(r.index,Un,a),Ia=.6*(In.height-In.depth),c=v.makeVList({positionType:"shift",positionData:-Ia,children:[{type:"elem",elem:Ca}]},a),e=v.makeSpan(["root"],[c]);return v.makeSpan(["mord","sqrt"],[e,In],a)}else return v.makeSpan(["mord","sqrt"],[In],a)},mathmlBuilder:function(r,a){var l=r.body,g=r.index;return g?new ht.MathNode("mroot",[Rr(l,a),Rr(g,a)]):new ht.MathNode("msqrt",[Rr(l,a)])}});var us={display:C.DISPLAY,text:C.TEXT,script:C.SCRIPT,scriptscript:C.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,H=r.parser,se=H.parseExpression(!0,l),De=g.slice(1,g.length-5);return{type:"styling",mode:H.mode,style:De,body:se}},htmlBuilder:function(r,a){var l=us[r.style],g=a.havingStyle(l).withFont("");return si(r.body,g,a)},mathmlBuilder:function(r,a){var l=us[r.style],g=a.havingStyle(l),H=Er(r.body,g),se=new ht.MathNode("mstyle",H),De={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},tt=De[r.style];return se.setAttribute("scriptlevel",tt[0]),se.setAttribute("displaystyle",tt[1]),se}});var Ss=function(r,a){var l=r.base;if(l)if(l.type==="op"){var g=l.limits&&(a.style.size===C.DISPLAY.size||l.alwaysHandleSupSub);return g?Ai:null}else if(l.type==="operatorname"){var H=l.alwaysHandleSupSub&&(a.style.size===C.DISPLAY.size||l.limits);return H?as:null}else{if(l.type==="accent")return w.isCharacterBox(l.base)?_n:null;if(l.type==="horizBrace"){var se=!r.sub;return se===l.isOver?yo:null}else return null}else return null};nt({type:"supsub",htmlBuilder:function(r,a){var l=Ss(r,a);if(l)return l(r,a);var g=r.base,H=r.sup,se=r.sub,De=Tt(g,a),tt,It,rr=a.fontMetrics(),pr=0,kr=0,rn=g&&w.isCharacterBox(g);if(H){var hn=a.havingStyle(a.style.sup());tt=Tt(H,hn,a),rn||(pr=De.height-hn.fontMetrics().supDrop*hn.sizeMultiplier/a.sizeMultiplier)}if(se){var In=a.havingStyle(a.style.sub());It=Tt(se,In,a),rn||(kr=De.depth+In.fontMetrics().subDrop*In.sizeMultiplier/a.sizeMultiplier)}var Un;a.style===C.DISPLAY?Un=rr.sup1:a.style.cramped?Un=rr.sup3:Un=rr.sup2;var Ca=a.sizeMultiplier,Ia=.5/rr.ptPerEm/Ca+"em",c=null;if(It){var e=r.base&&r.base.type==="op"&&r.base.name&&(r.base.name==="\\oiint"||r.base.name==="\\oiiint");(De instanceof Le||e)&&(c=-De.italic+"em")}var t;if(tt&&It){pr=Math.max(pr,Un,tt.depth+.25*rr.xHeight),kr=Math.max(kr,rr.sub2);var d=rr.defaultRuleThickness,O=4*d;if(pr-tt.depth-(It.height-kr)<O){kr=O-(pr-tt.depth)+It.height;var V=.8*rr.xHeight-(pr-tt.depth);V>0&&(pr+=V,kr-=V)}var Ce=[{type:"elem",elem:It,shift:kr,marginRight:Ia,marginLeft:c},{type:"elem",elem:tt,shift:-pr,marginRight:Ia}];t=v.makeVList({positionType:"individualShift",children:Ce},a)}else if(It){kr=Math.max(kr,rr.sub1,It.height-.8*rr.xHeight);var Ke=[{type:"elem",elem:It,marginLeft:c,marginRight:Ia}];t=v.makeVList({positionType:"shift",positionData:kr,children:Ke},a)}else if(tt)pr=Math.max(pr,Un,tt.depth+.25*rr.xHeight),t=v.makeVList({positionType:"shift",positionData:-pr,children:[{type:"elem",elem:tt,marginRight:Ia}]},a);else throw new Error("supsub must have either sup or sub.");var Xe=gr(De,"right")||"mord";return v.makeSpan([Xe],[De,v.makeSpan(["msupsub"],[t])],a)},mathmlBuilder:function(r,a){var l=!1,g,H,se=Z(r.base,"horizBrace");se&&(H=!!r.sup,H===se.isOver&&(l=!0,g=se.isOver)),r.base&&(r.base.type==="op"||r.base.type==="operatorname")&&(r.base.parentIsSupSub=!0);var De=[Rr(r.base,a)];r.sub&&De.push(Rr(r.sub,a)),r.sup&&De.push(Rr(r.sup,a));var tt;if(l)tt=g?"mover":"munder";else if(r.sub)if(r.sup){var pr=r.base;pr&&pr.type==="op"&&pr.limits&&a.style===C.DISPLAY||pr&&pr.type==="operatorname"&&pr.alwaysHandleSupSub&&(a.style===C.DISPLAY||pr.limits)?tt="munderover":tt="msubsup"}else{var rr=r.base;rr&&rr.type==="op"&&rr.limits&&(a.style===C.DISPLAY||rr.alwaysHandleSupSub)||rr&&rr.type==="operatorname"&&rr.alwaysHandleSupSub&&(rr.limits||a.style===C.DISPLAY)?tt="munder":tt="msub"}else{var It=r.base;It&&It.type==="op"&&It.limits&&(a.style===C.DISPLAY||It.alwaysHandleSupSub)||It&&It.type==="operatorname"&&It.alwaysHandleSupSub&&(It.limits||a.style===C.DISPLAY)?tt="mover":tt="msup"}var kr=new ht.MathNode(tt,De);return kr}}),nt({type:"atom",htmlBuilder:function(r,a){return v.mathsym(r.text,r.mode,a,["m"+r.family])},mathmlBuilder:function(r,a){var l=new ht.MathNode("mo",[Yt(r.text,r.mode)]);if(r.family==="bin"){var g=fr(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 os={mi:"italic",mn:"normal",mtext:"normal"};nt({type:"mathord",htmlBuilder:function(r,a){return v.makeOrd(r,a,"mathord")},mathmlBuilder:function(r,a){var l=new ht.MathNode("mi",[Yt(r.text,r.mode,a)]),g=fr(r,a)||"italic";return g!==os[l.type]&&l.setAttribute("mathvariant",g),l}}),nt({type:"textord",htmlBuilder:function(r,a){return v.makeOrd(r,a,"textord")},mathmlBuilder:function(r,a){var l=Yt(r.text,r.mode,a),g=fr(r,a)||"normal",H;return r.mode==="text"?H=new ht.MathNode("mtext",[l]):/[0-9]/.test(r.text)?H=new ht.MathNode("mn",[l]):r.text==="\\prime"?H=new ht.MathNode("mo",[l]):H=new ht.MathNode("mi",[l]),g!==os[H.type]&&H.setAttribute("mathvariant",g),H}});var li={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ci={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};nt({type:"spacing",htmlBuilder:function(r,a){if(ci.hasOwnProperty(r.text)){var l=ci[r.text].className||"";if(r.mode==="text"){var g=v.makeOrd(r,a,"textord");return g.classes.push(l),g}else return v.makeSpan(["mspace",l],[v.mathsym(r.text,r.mode,a)],a)}else{if(li.hasOwnProperty(r.text))return v.makeSpan(["mspace",li[r.text]],[],a);throw new Q('Unknown type of space "'+r.text+'"')}},mathmlBuilder:function(r,a){var l;if(ci.hasOwnProperty(r.text))l=new ht.MathNode("mtext",[new ht.TextNode("\xA0")]);else{if(li.hasOwnProperty(r.text))return new ht.MathNode("mspace");throw new Q('Unknown type of space "'+r.text+'"')}return l}});var ds=function(){var r=new ht.MathNode("mtd",[]);return r.setAttribute("width","50%"),r};nt({type:"tag",mathmlBuilder:function(r,a){var l=new ht.MathNode("mtable",[new ht.MathNode("mtr",[ds(),new ht.MathNode("mtd",[Lr(r.body,a)]),ds(),new ht.MathNode("mtd",[Lr(r.tag,a)])])]);return l.setAttribute("width","100%"),l}});var $i={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},ui={"\\textbf":"textbf","\\textmd":"textmd"},Ea={"\\textit":"textit","\\textup":"textup"},Cs=function(r,a){var l=r.font;return l?$i[l]?a.withTextFontFamily($i[l]):ui[l]?a.withTextFontWeight(ui[l]):a.withTextFontShape(Ea[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,H=a[0];return{type:"text",mode:l.mode,body:Se(H),font:g}},htmlBuilder:function(r,a){var l=Cs(r,a),g=Be(r.body,l,!0);return v.makeSpan(["mord","text"],v.tryCombineChars(g),l)},mathmlBuilder:function(r,a){var l=Cs(r,a);return Lr(r.body,l)}}),Qt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(r,a){var l=r.parser;return{type:"underline",mode:l.mode,body:a[0]}},htmlBuilder:function(r,a){var l=Tt(r.body,a),g=v.makeLineSpan("underline-line",a),H=a.fontMetrics().defaultRuleThickness,se=v.makeVList({positionType:"top",positionData:l.height,children:[{type:"kern",size:H},{type:"elem",elem:g},{type:"kern",size:3*H},{type:"elem",elem:l}]},a);return v.makeSpan(["mord","underline"],[se],a)},mathmlBuilder:function(r,a){var l=new ht.MathNode("mo",[new ht.TextNode("\u203E")]);l.setAttribute("stretchy","true");var g=new ht.MathNode("munder",[Rr(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=Os(r),g=[],H=a.havingStyle(a.style.text()),se=0;se<l.length;se++){var De=l[se];De==="~"&&(De="\\textasciitilde"),g.push(v.makeSymbol(De,"Typewriter-Regular",r.mode,H,["mord","texttt"]))}return v.makeSpan(["mord","text"].concat(H.sizingClasses(a)),v.tryCombineChars(g),H)},mathmlBuilder:function(r,a){var l=new ht.TextNode(Os(r)),g=new ht.MathNode("mtext",[l]);return g.setAttribute("mathvariant","monospace"),g}});var Os=function(r){return r.body.replace(/ /g,r.star?"\u2423":"\xA0")},Es=pt,qi=Es,ai=`[ \r
|
|
|
]`,di="\\\\[a-zA-Z@]+",Ls="\\\\[^\uD800-\uDFFF]",Is=""+di+ai+"*",is=new RegExp("^("+di+")"+ai+"*$"),Ui="[\u0300-\u036F]",Pi=new RegExp(Ui+"+$"),Zi="("+ai+"+)|([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(Ui+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Ui+"*")+"|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*"+("|"+Is)+("|"+Ls+")"),Vi=function(){function ne(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(Zi,"g"),this.catcodes={"%":14}}var r=ne.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 Re("EOF",new B(this,g,g));var H=this.tokenRegex.exec(l);if(H===null||H.index!==g)throw new Q("Unexpected character: '"+l[g]+"'",new Re(l[g],new B(this,g,g+1)));var se=H[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 tt=se.match(is);return tt&&(se=tt[1]),new Re(se,new B(this,g,this.tokenRegex.lastIndex))},ne}(),As=function(){function ne(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=ne.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,H){if(H===void 0&&(H=!1),H){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},ne}(),Ji={},hs=Ji;function ft(ne,r){Ji[ne]=r}ft("\\@firstoftwo",function(ne){var r=ne.consumeArgs(2);return{tokens:r[0],numArgs:0}}),ft("\\@secondoftwo",function(ne){var r=ne.consumeArgs(2);return{tokens:r[1],numArgs:0}}),ft("\\@ifnextchar",function(ne){var r=ne.consumeArgs(3),a=ne.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(ne){var r=ne.consumeArgs(2);return ne.mode==="text"?{tokens:r[0],numArgs:0}:{tokens:r[1],numArgs:0}});var ji={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(ne){var r=ne.popToken(),a,l="";if(r.text==="'")a=8,r=ne.popToken();else if(r.text==='"')a=16,r=ne.popToken();else if(r.text==="`")if(r=ne.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=ji[r.text],l==null||l>=a)throw new Q("Invalid base-"+a+" digit "+r.text);for(var g;(g=ji[ne.future().text])!=null&&g<a;)l*=a,l+=g,ne.popToken()}return"\\@char{"+l+"}"});var Yo=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,H=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(H++,parseInt(l[0].text)!==H)throw new Q('Argument number "'+l[0].text+'" out of order');l=r.consumeArgs(1)[0]}return r.macros.set(g,{tokens:l,numArgs:H},a),""};ft("\\gdef",function(ne){return Yo(ne,!0)}),ft("\\def",function(ne){return Yo(ne,!1)}),ft("\\global",function(ne){var r=ne.consumeArgs(1)[0];if(r.length!==1)throw new Q("Invalid command after \\global");var a=r[0].text;if(a==="\\def")return Yo(ne,!0);throw new Q("Invalid command '"+a+"' after \\global")});var Ni=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 H=g[0].text,se=r.isDefined(H);if(se&&!a)throw new Q("\\newcommand{"+H+"} attempting to redefine "+(H+"; use \\renewcommand"));if(!se&&!l)throw new Q("\\renewcommand{"+H+"} when command "+H+" does not yet exist; use \\newcommand");var De=0;if(g=r.consumeArgs(1)[0],g.length===1&&g[0].text==="["){for(var tt="",It=r.expandNextToken();It.text!=="]"&&It.text!=="EOF";)tt+=It.text,It=r.expandNextToken();if(!tt.match(/^\s*[0-9]+\s*$/))throw new Q("Invalid number of arguments: "+tt);De=parseInt(tt),g=r.consumeArgs(1)[0]}return r.macros.set(H,{tokens:g,numArgs:De}),""};ft("\\newcommand",function(ne){return Ni(ne,!1,!0)}),ft("\\renewcommand",function(ne){return Ni(ne,!0,!1)}),ft("\\providecommand",function(ne){return Ni(ne,!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 ss={",":"\\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(ne){var r="\\dotso",a=ne.expandAfterFuture().text;return a in ss?r=ss[a]:(a.substr(0,4)==="\\not"||a in $r.math&&w.contains(["bin","rel"],$r.math[a].group))&&(r="\\dotsb"),r});var Mi={")":!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(ne){var r=ne.future().text;return r in Mi?"\\ldots\\,":"\\ldots"}),ft("\\dotsc",function(ne){var r=ne.future().text;return r in Mi&&r!==","?"\\ldots\\,":"\\ldots"}),ft("\\cdots",function(ne){var r=ne.future().text;return r in Mi?"\\@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(ne){if(ne.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 fs=Pt["Main-Regular"][84][1]-.7*Pt["Main-Regular"][65][1]+"em";ft("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+fs+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),ft("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+fs+"}{\\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 ms={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},hi=function(){function ne(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 As(hs,l.macros),this.mode=g,this.stack=[]}var r=ne.prototype;return r.feed=function(l){this.lexer=new Vi(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=[],H=0;H<l;++H){this.consumeSpaces();var se=this.popToken();if(se.text==="{"){for(var De=[],tt=1;tt!==0;){var It=this.popToken();if(De.push(It),It.text==="{")++tt;else if(It.text==="}")--tt;else if(It.text==="EOF")throw new Q("End of input in macro argument",se)}De.pop(),De.reverse(),g[H]=De}else{if(se.text==="EOF")throw new Q("End of input expecting macro argument");g[H]=[se]}}return g},r.expandOnce=function(){var l=this.popToken(),g=l.text,H=this._getExpansion(g);if(H==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=H.tokens;if(H.numArgs){var De=this.consumeArgs(H.numArgs);se=se.slice();for(var tt=se.length-1;tt>=0;--tt){var It=se[tt];if(It.text==="#"){if(tt===0)throw new Q("Incomplete placeholder at end of macro body",It);if(It=se[--tt],It.text==="#")se.splice(tt+1,1);else if(/^[1-9]$/.test(It.text)){var rr;(rr=se).splice.apply(rr,[tt,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 Re)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=[],H=this.stack.length;for(this.pushToken(new Re(l));this.stack.length>H;){var se=this.expandOnce();se instanceof Re&&g.push(this.stack.pop())}return g}},r.expandMacroAsText=function(l){var g=this.expandMacro(l);return g&&g.map(function(H){return H.text}).join("")},r._getExpansion=function(l){var g=this.macros.get(l);if(g==null)return g;var H=typeof g=="function"?g(this):g;if(typeof H=="string"){var se=0;if(H.indexOf("#")!==-1)for(var De=H.replace(/##/g,"");De.indexOf("#"+(se+1))!==-1;)++se;for(var tt=new Vi(H,this.settings),It=[],rr=tt.lex();rr.text!=="EOF";)It.push(rr),rr=tt.lex();It.reverse();var pr={tokens:It,numArgs:se};return pr}return H},r.isDefined=function(l){return this.macros.has(l)||qi.hasOwnProperty(l)||$r.math.hasOwnProperty(l)||$r.text.hasOwnProperty(l)||ms.hasOwnProperty(l)},ne}(),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"}},ps={\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"},Gi=function(){function ne(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 hi(a,l,this.mode),this.settings=l,this.leftrightDepth=0}var r=ne.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 H=[];;){this.mode==="math"&&this.consumeSpaces();var se=this.fetch();if(ne.endOfExpression.indexOf(se.text)!==-1||g&&se.text===g||l&&qi[se.text]&&qi[se.text].infix)break;var De=this.parseAtom(g);if(!De)break;H.push(De)}return this.mode==="text"&&this.formLigatures(H),this.handleInfixNodes(H)},r.handleInfixNodes=function(l){for(var g=-1,H,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,H=De.replaceWith}}if(g!==-1&&H){var tt,It,rr=l.slice(0,g),pr=l.slice(g+1);rr.length===1&&rr[0].type==="ordgroup"?tt=rr[0]:tt={type:"ordgroup",mode:this.mode,body:rr},pr.length===1&&pr[0].type==="ordgroup"?It=pr[0]:It={type:"ordgroup",mode:this.mode,body:pr};var kr;return H==="\\\\abovefrac"?kr=this.callFunction(H,[tt,l[g],It],[]):kr=this.callFunction(H,[tt,It],[]),[kr]}else return l},r.handleSupSubscript=function(l){var g=this.fetch(),H=g.text;this.consume();var se=this.parseGroup(l,!1,ne.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!se)throw new Q("Expected group after '"+H+"'",g);return se},r.formatUnsupportedCmd=function(l){for(var g=[],H=0;H<l.length;H++)g.push({type:"textord",mode:"text",text:l[H]});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 H,se;;){this.consumeSpaces();var De=this.fetch();if(De.text==="\\limits"||De.text==="\\nolimits"){var tt=Z(g,"op");if(tt){var It=De.text==="\\limits";tt.limits=It,tt.alwaysHandleSupSub=!0}else if(tt=Z(g,"operatorname"),tt&&tt.alwaysHandleSupSub){var rr=De.text==="\\limits";tt.limits=rr}else throw new Q("Limit controls must follow a math operator",De);this.consume()}else if(De.text==="^"){if(H)throw new Q("Double superscript",De);H=this.handleSupSubscript("superscript")}else if(De.text==="_"){if(se)throw new Q("Double subscript",De);se=this.handleSupSubscript("subscript")}else if(De.text==="'"){if(H)throw new Q("Double superscript",De);var pr={type:"textord",mode:this.mode,text:"\\prime"},kr=[pr];for(this.consume();this.fetch().text==="'";)kr.push(pr),this.consume();this.fetch().text==="^"&&kr.push(this.handleSupSubscript("superscript")),H={type:"ordgroup",mode:this.mode,body:kr}}else break}return H||se?{type:"supsub",mode:this.mode,base:g,sup:H,sub:se}:g},r.parseFunction=function(l,g,H){var se=this.fetch(),De=se.text,tt=qi[De];if(!tt)return null;if(this.consume(),H!=null&&tt.greediness<=H)throw new Q("Got function '"+De+"' with no arguments"+(g?" as "+g:""),se);if(this.mode==="text"&&!tt.allowedInText)throw new Q("Can't use function '"+De+"' in text mode",se);if(this.mode==="math"&&tt.allowedInMath===!1)throw new Q("Can't use function '"+De+"' in math mode",se);var It=this.parseArguments(De,tt),rr=It.args,pr=It.optArgs;return this.callFunction(De,rr,pr,se,l)},r.callFunction=function(l,g,H,se,De){var tt={funcName:l,parser:this,token:se,breakOnTokenText:De},It=qi[l];if(It&&It.handler)return It.handler(tt,g,H);throw new Q("No function handler for "+l)},r.parseArguments=function(l,g){var H=g.numArgs+g.numOptionalArgs;if(H===0)return{args:[],optArgs:[]};for(var se=g.greediness,De=[],tt=[],It=0;It<H;It++){var rr=g.argTypes&&g.argTypes[It],pr=It<g.numOptionalArgs,kr=It>0&&!pr||It===0&&!pr&&this.mode==="math",rn=this.parseGroupOfType("argument to '"+l+"'",rr,pr,se,kr);if(!rn){if(pr){tt.push(null);continue}throw new Q("Expected group after '"+l+"'",this.fetch())}(pr?tt:De).push(rn)}return{args:De,optArgs:tt}},r.parseGroupOfType=function(l,g,H,se,De){switch(g){case"color":return De&&this.consumeSpaces(),this.parseColorGroup(H);case"size":return De&&this.consumeSpaces(),this.parseSizeGroup(H);case"url":return this.parseUrlGroup(H,De);case"math":case"text":return this.parseGroup(l,H,se,void 0,g,De);case"hbox":{var tt=this.parseGroup(l,H,se,void 0,"text",De);if(!tt)return tt;var It={type:"styling",mode:tt.mode,body:[tt],style:"text"};return It}case"raw":{if(De&&this.consumeSpaces(),H&&this.fetch().text==="{")return null;var rr=this.parseStringGroup("raw",H,!0);if(rr)return{type:"raw",mode:"text",string:rr.text};throw new Q("Expected raw group",this.fetch())}case"original":case null:case void 0:return this.parseGroup(l,H,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,H){var se=g?"[":"{",De=g?"]":"}",tt=this.fetch();if(tt.text!==se){if(g)return null;if(H&&tt.text!=="EOF"&&/[^{}[\]]/.test(tt.text))return this.consume(),tt}var It=this.mode;this.mode="text",this.expect(se);for(var rr="",pr=this.fetch(),kr=0,rn=pr,hn;(hn=this.fetch()).text!==De||H&&kr>0;){switch(hn.text){case"EOF":throw new Q("Unexpected end of input in "+l,pr.range(rn,rr));case se:kr++;break;case De:kr--;break}rn=hn,rr+=rn.text,this.consume()}return this.expect(De),this.mode=It,pr.range(rn,rr)},r.parseRegexGroup=function(l,g){var H=this.mode;this.mode="text";for(var se=this.fetch(),De=se,tt="",It;(It=this.fetch()).text!=="EOF"&&l.test(tt+It.text);)De=It,tt+=De.text,this.consume();if(tt==="")throw new Q("Invalid "+g+": '"+se.text+"'",se);return this.mode=H,se.range(De,tt)},r.parseColorGroup=function(l){var g=this.parseStringGroup("color",l);if(!g)return null;var H=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(g.text);if(!H)throw new Q("Invalid color: '"+g.text+"'",g);var se=H[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,H=!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",H=!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(!Pn(De))throw new Q("Invalid unit: '"+De.unit+"'",g);return{type:"size",mode:this.mode,value:De,isBlank:H}},r.parseUrlGroup=function(l,g){this.gullet.lexer.setCatcode("%",13);var H=this.parseStringGroup("url",l,!0);if(this.gullet.lexer.setCatcode("%",14),!H)return null;var se=H.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:se}},r.parseGroup=function(l,g,H,se,De,tt){var It=this.mode;De&&this.switchMode(De),tt&&this.consumeSpaces();var rr=this.fetch(),pr=rr.text,kr;if(g?pr==="[":pr==="{"||pr==="\\begingroup"){this.consume();var rn=ne.endOfGroup[pr];this.gullet.beginGroup();var hn=this.parseExpression(!1,rn),In=this.fetch();this.expect(rn),this.gullet.endGroup(),kr={type:"ordgroup",mode:this.mode,loc:B.range(rr,In),body:hn,semisimple:pr==="\\begingroup"||void 0}}else if(g)kr=null;else if(kr=this.parseFunction(se,l,H)||this.parseSymbol(),kr==null&&pr[0]==="\\"&&!ms.hasOwnProperty(pr)){if(this.settings.throwOnError)throw new Q("Undefined control sequence: "+pr,rr);kr=this.formatUnsupportedCmd(pr),this.consume()}return De&&this.switchMode(It),kr},r.formLigatures=function(l){for(var g=l.length-1,H=0;H<g;++H){var se=l[H],De=se.text;De==="-"&&l[H+1].text==="-"&&(H+1<g&&l[H+2].text==="-"?(l.splice(H,3,{type:"textord",mode:"text",loc:B.range(se,l[H+2]),text:"---"}),g-=2):(l.splice(H,2,{type:"textord",mode:"text",loc:B.range(se,l[H+1]),text:"--"}),g-=1)),(De==="'"||De==="`")&&l[H+1].text===De&&(l.splice(H,2,{type:"textord",mode:"text",loc:B.range(se,l[H+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 H=g.slice(5),se=H.charAt(0)==="*";if(se&&(H=H.slice(1)),H.length<2||H.charAt(0)!==H.slice(-1))throw new Q(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return H=H.slice(1,-1),{type:"verb",mode:"text",body:H,star:se}}ps.hasOwnProperty(g[0])&&!$r[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=ps[g[0]]+g.substr(1));var De=Pi.exec(g);De&&(g=g.substring(0,De.index),g==="i"?g="\u0131":g==="j"&&(g="\u0237"));var tt;if($r[this.mode][g]){this.settings.strict&&this.mode==="math"&&wn.indexOf(g)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+g[0]+'" used in math mode',l);var It=$r[this.mode][g].group,rr=B.range(l),pr;if(lr.hasOwnProperty(It)){var kr=It;pr={type:"atom",mode:this.mode,family:kr,loc:rr,text:g}}else pr={type:It,mode:this.mode,loc:rr,text:g};tt=pr}else if(g.charCodeAt(0)>=128)this.settings.strict&&(X(g.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+g[0]+'" used in math mode',l):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+g[0]+'"'+(" ("+g.charCodeAt(0)+")"),l)),tt={type:"textord",mode:"text",loc:B.range(l),text:g};else return null;if(this.consume(),De)for(var rn=0;rn<De[0].length;rn++){var hn=De[0][rn];if(!wi[hn])throw new Q("Unknown accent ' "+hn+"'",l);var In=wi[hn][this.mode];if(!In)throw new Q("Accent "+hn+" unsupported in "+this.mode+" mode",l);tt={type:"accent",mode:this.mode,loc:B.range(l),label:In,isStretchy:!1,isShifty:!0,base:tt}}return tt},ne}();Gi.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Gi.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Gi.SUPSUB_GREEDINESS=1;var Qi=function(r,a){if(!(typeof r=="string"||r instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var l=new Gi(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},ls=Qi,P=function(r,a,l){a.textContent="";var g=Sr(r,l).toNode();a.appendChild(g)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),P=function(){throw new Q("KaTeX doesn't work in quirks mode.")});var je=function(r,a){var l=Sr(r,a).toMarkup();return l},zt=function(r,a){var l=new E(a);return ls(r,l)},tr=function(r,a,l){if(l.throwOnError||!(r instanceof Q))throw r;var g=v.makeSpan(["katex-error"],[new Le(a)]);return g.setAttribute("title",r.toString()),g.setAttribute("style","color:"+l.errorColor),g},Sr=function(r,a){var l=new E(a);try{var g=ls(r,l);return Lt(g,r,l)}catch(H){return tr(H,r,l)}},Kr=function(r,a){var l=new E(a);try{var g=ls(r,l);return ba(g,r,l)}catch(H){return tr(H,r,l)}},ln={version:"0.11.1",render:P,renderToString:je,ParseError:Q,__parse:zt,__renderToDomTree:Sr,__renderToHTMLTree:Kr,__setFontMetrics:Nt,__defineSymbol:x,__defineMacro:ft,__domTree:{Span:he,Anchor:me,SymbolNode:Le,SvgNode:qe,PathNode:yt,LineNode:$t}},Qn=n.default=ln}]).default})},77153:function(qr,_t,n){"use strict";n.d(_t,{Z:function(){return Ia}});var o=n(40797),Je=n(91378);class B{constructor(e,t,d){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=d}static range(e,t){return t?!e||!e.loc||!t.loc||e.loc.lexer!==t.loc.lexer?null:new B(e.loc.lexer,e.loc.start,t.loc.end):e&&e.loc}}class Re{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 Re(t,B.range(this,e))}}class J{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var d="KaTeX parse error: "+e,O,V,Ce=t&&t.loc;if(Ce&&Ce.start<=Ce.end){var Ke=Ce.lexer.input;O=Ce.start,V=Ce.end,O===Ke.length?d+=" at end of input: ":d+=" at position "+(O+1)+": ";var Xe=Ke.slice(O,V).replace(/[^]/g,"$&\u0332"),Kt;O>15?Kt="\u2026"+Ke.slice(O-15,O):Kt=Ke.slice(0,O);var ur;V+15<Ke.length?ur=Ke.slice(V,V+15)+"\u2026":ur=Ke.slice(V),d+=Kt+Xe+ur}var xr=new Error(d);return xr.name="ParseError",xr.__proto__=J.prototype,xr.position=O,O!=null&&V!=null&&(xr.length=V-O),xr.rawMessage=e,xr}}J.prototype.__proto__=Error.prototype;var Q=function(e,t){return e.indexOf(t)!==-1},Y=function(e,t){return e===void 0?t:e},y=/([A-Z])/g,K=function(e){return e.replace(y,"-$1").toLowerCase()},u={"&":"&",">":">","<":"<",'"':""","'":"'"},L=/[&><"']/g;function D(c){return String(c).replace(L,e=>u[e])}var G=function c(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?c(e.body[0]):e:e.type==="font"?c(e.body):e},F=function(e){var t=G(e);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},_=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},N=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"},I={contains:Q,deflt:Y,escape:D,hyphenate:K,getBaseElem:G,isCharacterBox:F,protocolFromUrl:N},w={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:c=>"#"+c},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:(c,e)=>(e.push(c),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:c=>Math.max(0,c),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:c=>Math.max(0,c),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:c=>Math.max(0,c),cli:"-e, --max-expand <n>",cliProcessor:c=>c==="Infinity"?1/0:parseInt(c)},globalGroup:{type:"boolean",cli:!1}};function E(c){if(c.default)return c.default;var e=c.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 ae{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 w)if(w.hasOwnProperty(t)){var d=w[t];this[t]=e[t]!==void 0?d.processor?d.processor(e[t]):e[t]:E(d)}}reportNonstrict(e,t,d){var O=this.strict;if(typeof O=="function"&&(O=O(e,t,d)),!(!O||O==="ignore")){if(O===!0||O==="error")throw new J("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+e+"]"),d);O==="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 '"+O+"': "+t+" ["+e+"]"))}}useStrictBehavior(e,t,d){var O=this.strict;if(typeof O=="function")try{O=O(e,t,d)}catch(V){O="error"}return!O||O==="ignore"?!1:O===!0||O==="error"?!0:O==="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 '"+O+"': "+t+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var t=I.protocolFromUrl(e.url);if(t==null)return!1;e.protocol=t}var d=typeof this.trust=="function"?this.trust(e):this.trust;return!!d}}class q{constructor(e,t,d){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=d}sup(){return xe[M[this.id]]}sub(){return xe[A[this.id]]}fracNum(){return xe[ot[this.id]]}fracDen(){return xe[ue[this.id]]}cramp(){return xe[ce[this.id]]}text(){return xe[C[this.id]]}isTight(){return this.size>=2}}var te=0,$e=1,Ne=2,Qe=3,Ze=4,ye=5,Ae=6,ie=7,xe=[new q(te,0,!1),new q($e,0,!0),new q(Ne,1,!1),new q(Qe,1,!0),new q(Ze,2,!1),new q(ye,2,!0),new q(Ae,3,!1),new q(ie,3,!0)],M=[Ze,ye,Ze,ye,Ae,ie,Ae,ie],A=[ye,ye,ye,ye,ie,ie,ie,ie],ot=[Ne,Qe,Ze,ye,Ae,ie,Ae,ie],ue=[Qe,Qe,ye,ye,ie,ie,ie,ie],ce=[$e,$e,Qe,Qe,ye,ye,ie,ie],C=[te,$e,Ne,Qe,Ne,Qe,Ne,Qe],k={DISPLAY:xe[te],TEXT:xe[Ne],SCRIPT:xe[Ze],SCRIPTSCRIPT:xe[Ae]},R=[{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 S(c){for(var e=0;e<R.length;e++)for(var t=R[e],d=0;d<t.blocks.length;d++){var O=t.blocks[d];if(c>=O[0]&&c<=O[1])return t.name}return null}var X=[];R.forEach(c=>c.blocks.forEach(e=>X.push(...e)));function We(c){for(var e=0;e<X.length;e+=2)if(c>=X[e]&&c<=X[e+1])return!0;return!1}var ge=80,Ve=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"},it=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"},dt=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"},fe=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"},ze=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"},Ct=function(e){var t=e/2;return"M400000 "+e+" H0 L"+t+" 0 l65 45 L145 "+(e-80)+" H400000z"},He=function(e,t,d){var O=d-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+`
|
|
|
H742v`+O+`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,d){t=1e3*t;var O="";switch(e){case"sqrtMain":O=Ve(t,ge);break;case"sqrtSize1":O=it(t,ge);break;case"sqrtSize2":O=dt(t,ge);break;case"sqrtSize3":O=fe(t,ge);break;case"sqrtSize4":O=ze(t,ge);break;case"sqrtTall":O=He(t,ge,d)}return O},j=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""}},Ye={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`},be=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 de{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 I.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){var e=t=>t.toText();return this.children.map(e).join("")}}var he={"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]}},me={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]},Ie={\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 we(c,e){he[c]=e}function Le(c,e,t){if(!he[e])throw new Error("Font metrics not found for font: "+e+".");var d=c.charCodeAt(0),O=he[e][d];if(!O&&c[0]in Ie&&(d=Ie[c[0]].charCodeAt(0),O=he[e][d]),!O&&t==="text"&&We(d)&&(O=he[e][77]),O)return{depth:O[0],height:O[1],italic:O[2],skew:O[3],width:O[4]}}var qe={};function yt(c){var e;if(c>=5?e=0:c>=3?e=1:e=2,!qe[e]){var t=qe[e]={cssEmPerMu:me.quad[e]/18};for(var d in me)me.hasOwnProperty(d)&&(t[d]=me[d][e])}return qe[e]}var $t=[[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]],qt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Gt=function(e,t){return t.size<2?e:$t[e-1][t.size-1]};class Pt{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||Pt.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=qt[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 d in e)e.hasOwnProperty(d)&&(t[d]=e[d]);return new Pt(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Gt(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:qt[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=Gt(Pt.BASESIZE,e);return this.size===t&&this.textSize===Pt.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!==Pt.BASESIZE?["sizing","reset-size"+this.size,"size"+Pt.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=yt(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Pt.BASESIZE=6;var at={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},xt={ex:!0,em:!0,mu:!0},Nt=function(e){return typeof e!="string"&&(e=e.unit),e in at||e in xt||e==="ex"},Ht=function(e,t){var d;if(e.unit in at)d=at[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(e.unit==="mu")d=t.fontMetrics().cssEmPerMu;else{var O;if(t.style.isTight()?O=t.havingStyle(t.style.text()):O=t,e.unit==="ex")d=O.fontMetrics().xHeight;else if(e.unit==="em")d=O.fontMetrics().quad;else throw new J("Invalid unit: '"+e.unit+"'");O!==t&&(d*=O.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*d,t.maxSize)},Et=function(e){return+e.toFixed(4)+"em"},er=function(e){return e.filter(t=>t).join(" ")},lr=function(e,t,d){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=d||{},t){t.style.isTight()&&this.classes.push("mtight");var O=t.getColor();O&&(this.style.color=O)}},Cr=function(e){var t=document.createElement(e);t.className=er(this.classes);for(var d in this.style)this.style.hasOwnProperty(d)&&(t.style[d]=this.style[d]);for(var O in this.attributes)this.attributes.hasOwnProperty(O)&&t.setAttribute(O,this.attributes[O]);for(var V=0;V<this.children.length;V++)t.appendChild(this.children[V].toNode());return t},Jr=/[\s"'>/=\x00-\x1f]/,$r=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+I.escape(er(this.classes))+'"');var d="";for(var O in this.style)this.style.hasOwnProperty(O)&&(d+=I.hyphenate(O)+":"+this.style[O]+";");d&&(t+=' style="'+I.escape(d)+'"');for(var V in this.attributes)if(this.attributes.hasOwnProperty(V)){if(Jr.test(V))throw new J("Invalid attribute name '"+V+"'");t+=" "+V+'="'+I.escape(this.attributes[V])+'"'}t+=">";for(var Ce=0;Ce<this.children.length;Ce++)t+=this.children[Ce].toMarkup();return t+="</"+e+">",t};class x{constructor(e,t,d,O){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,lr.call(this,e,d,O),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return I.contains(this.classes,e)}toNode(){return Cr.call(this,"span")}toMarkup(){return $r.call(this,"span")}}class W{constructor(e,t,d,O){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,lr.call(this,t,O),this.children=d||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return I.contains(this.classes,e)}toNode(){return Cr.call(this,"a")}toMarkup(){return $r.call(this,"a")}}class wt{constructor(e,t,d){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=d}hasClass(e){return I.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+I.escape(this.src)+'"'+(' alt="'+I.escape(this.alt)+'"'),t="";for(var d in this.style)this.style.hasOwnProperty(d)&&(t+=I.hyphenate(d)+":"+this.style[d]+";");return t&&(e+=' style="'+I.escape(t)+'"'),e+="'/>",e}}var oe={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"};class Te{constructor(e,t,d,O,V,Ce,Ke,Xe){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=d||0,this.italic=O||0,this.skew=V||0,this.width=Ce||0,this.classes=Ke||[],this.style=Xe||{},this.maxFontSize=0;var Kt=S(this.text.charCodeAt(0));Kt&&this.classes.push(Kt+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=oe[this.text])}hasClass(e){return I.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=Et(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=er(this.classes));for(var d in this.style)this.style.hasOwnProperty(d)&&(t=t||document.createElement("span"),t.style[d]=this.style[d]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=I.escape(er(this.classes)),t+='"');var d="";this.italic>0&&(d+="margin-right:"+this.italic+"em;");for(var O in this.style)this.style.hasOwnProperty(O)&&(d+=I.hyphenate(O)+":"+this.style[O]+";");d&&(e=!0,t+=' style="'+I.escape(d)+'"');var V=I.escape(this.text);return e?(t+=">",t+=V,t+="</span>",t):V}}class zr{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 d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&t.setAttribute(d,this.attributes[d]);for(var O=0;O<this.children.length;O++)t.appendChild(this.children[O].toNode());return t}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+I.escape(this.attributes[t])+'"');e+=">";for(var d=0;d<this.children.length;d++)e+=this.children[d].toMarkup();return e+="</svg>",e}}class Ar{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",Ye[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+I.escape(this.alternate)+'"/>':'<path d="'+I.escape(Ye[this.pathName])+'"/>'}}class yn{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 d in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,d)&&t.setAttribute(d,this.attributes[d]);return t}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+I.escape(this.attributes[t])+'"');return e+="/>",e}}function Tn(c){if(c instanceof Te)return c;throw new Error("Expected symbolNode but got "+String(c)+".")}function Ft(c){if(c instanceof x)return c;throw new Error("Expected span<HtmlDomNode> but got "+String(c)+".")}var wr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},br={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Br={math:{},text:{}};function h(c,e,t,d,O,V){Br[c][O]={font:e,group:t,replace:d},V&&d&&(Br[c][d]=Br[c][O])}var z="math",Oe="text",re="main",lt="ams",pn="accent-token",mt="bin",Ut="close",Ur="inner",Pr="mathord",Yr="op-token",gn="open",qn="punct",pe="rel",mr="spacing",et="textord";h(z,re,pe,"\u2261","\\equiv",!0),h(z,re,pe,"\u227A","\\prec",!0),h(z,re,pe,"\u227B","\\succ",!0),h(z,re,pe,"\u223C","\\sim",!0),h(z,re,pe,"\u22A5","\\perp"),h(z,re,pe,"\u2AAF","\\preceq",!0),h(z,re,pe,"\u2AB0","\\succeq",!0),h(z,re,pe,"\u2243","\\simeq",!0),h(z,re,pe,"\u2223","\\mid",!0),h(z,re,pe,"\u226A","\\ll",!0),h(z,re,pe,"\u226B","\\gg",!0),h(z,re,pe,"\u224D","\\asymp",!0),h(z,re,pe,"\u2225","\\parallel"),h(z,re,pe,"\u22C8","\\bowtie",!0),h(z,re,pe,"\u2323","\\smile",!0),h(z,re,pe,"\u2291","\\sqsubseteq",!0),h(z,re,pe,"\u2292","\\sqsupseteq",!0),h(z,re,pe,"\u2250","\\doteq",!0),h(z,re,pe,"\u2322","\\frown",!0),h(z,re,pe,"\u220B","\\ni",!0),h(z,re,pe,"\u221D","\\propto",!0),h(z,re,pe,"\u22A2","\\vdash",!0),h(z,re,pe,"\u22A3","\\dashv",!0),h(z,re,pe,"\u220B","\\owns"),h(z,re,qn,".","\\ldotp"),h(z,re,qn,"\u22C5","\\cdotp"),h(z,re,et,"#","\\#"),h(Oe,re,et,"#","\\#"),h(z,re,et,"&","\\&"),h(Oe,re,et,"&","\\&"),h(z,re,et,"\u2135","\\aleph",!0),h(z,re,et,"\u2200","\\forall",!0),h(z,re,et,"\u210F","\\hbar",!0),h(z,re,et,"\u2203","\\exists",!0),h(z,re,et,"\u2207","\\nabla",!0),h(z,re,et,"\u266D","\\flat",!0),h(z,re,et,"\u2113","\\ell",!0),h(z,re,et,"\u266E","\\natural",!0),h(z,re,et,"\u2663","\\clubsuit",!0),h(z,re,et,"\u2118","\\wp",!0),h(z,re,et,"\u266F","\\sharp",!0),h(z,re,et,"\u2662","\\diamondsuit",!0),h(z,re,et,"\u211C","\\Re",!0),h(z,re,et,"\u2661","\\heartsuit",!0),h(z,re,et,"\u2111","\\Im",!0),h(z,re,et,"\u2660","\\spadesuit",!0),h(z,re,et,"\xA7","\\S",!0),h(Oe,re,et,"\xA7","\\S"),h(z,re,et,"\xB6","\\P",!0),h(Oe,re,et,"\xB6","\\P"),h(z,re,et,"\u2020","\\dag"),h(Oe,re,et,"\u2020","\\dag"),h(Oe,re,et,"\u2020","\\textdagger"),h(z,re,et,"\u2021","\\ddag"),h(Oe,re,et,"\u2021","\\ddag"),h(Oe,re,et,"\u2021","\\textdaggerdbl"),h(z,re,Ut,"\u23B1","\\rmoustache",!0),h(z,re,gn,"\u23B0","\\lmoustache",!0),h(z,re,Ut,"\u27EF","\\rgroup",!0),h(z,re,gn,"\u27EE","\\lgroup",!0),h(z,re,mt,"\u2213","\\mp",!0),h(z,re,mt,"\u2296","\\ominus",!0),h(z,re,mt,"\u228E","\\uplus",!0),h(z,re,mt,"\u2293","\\sqcap",!0),h(z,re,mt,"\u2217","\\ast"),h(z,re,mt,"\u2294","\\sqcup",!0),h(z,re,mt,"\u25EF","\\bigcirc",!0),h(z,re,mt,"\u2219","\\bullet",!0),h(z,re,mt,"\u2021","\\ddagger"),h(z,re,mt,"\u2240","\\wr",!0),h(z,re,mt,"\u2A3F","\\amalg"),h(z,re,mt,"&","\\And"),h(z,re,pe,"\u27F5","\\longleftarrow",!0),h(z,re,pe,"\u21D0","\\Leftarrow",!0),h(z,re,pe,"\u27F8","\\Longleftarrow",!0),h(z,re,pe,"\u27F6","\\longrightarrow",!0),h(z,re,pe,"\u21D2","\\Rightarrow",!0),h(z,re,pe,"\u27F9","\\Longrightarrow",!0),h(z,re,pe,"\u2194","\\leftrightarrow",!0),h(z,re,pe,"\u27F7","\\longleftrightarrow",!0),h(z,re,pe,"\u21D4","\\Leftrightarrow",!0),h(z,re,pe,"\u27FA","\\Longleftrightarrow",!0),h(z,re,pe,"\u21A6","\\mapsto",!0),h(z,re,pe,"\u27FC","\\longmapsto",!0),h(z,re,pe,"\u2197","\\nearrow",!0),h(z,re,pe,"\u21A9","\\hookleftarrow",!0),h(z,re,pe,"\u21AA","\\hookrightarrow",!0),h(z,re,pe,"\u2198","\\searrow",!0),h(z,re,pe,"\u21BC","\\leftharpoonup",!0),h(z,re,pe,"\u21C0","\\rightharpoonup",!0),h(z,re,pe,"\u2199","\\swarrow",!0),h(z,re,pe,"\u21BD","\\leftharpoondown",!0),h(z,re,pe,"\u21C1","\\rightharpoondown",!0),h(z,re,pe,"\u2196","\\nwarrow",!0),h(z,re,pe,"\u21CC","\\rightleftharpoons",!0),h(z,lt,pe,"\u226E","\\nless",!0),h(z,lt,pe,"\uE010","\\@nleqslant"),h(z,lt,pe,"\uE011","\\@nleqq"),h(z,lt,pe,"\u2A87","\\lneq",!0),h(z,lt,pe,"\u2268","\\lneqq",!0),h(z,lt,pe,"\uE00C","\\@lvertneqq"),h(z,lt,pe,"\u22E6","\\lnsim",!0),h(z,lt,pe,"\u2A89","\\lnapprox",!0),h(z,lt,pe,"\u2280","\\nprec",!0),h(z,lt,pe,"\u22E0","\\npreceq",!0),h(z,lt,pe,"\u22E8","\\precnsim",!0),h(z,lt,pe,"\u2AB9","\\precnapprox",!0),h(z,lt,pe,"\u2241","\\nsim",!0),h(z,lt,pe,"\uE006","\\@nshortmid"),h(z,lt,pe,"\u2224","\\nmid",!0),h(z,lt,pe,"\u22AC","\\nvdash",!0),h(z,lt,pe,"\u22AD","\\nvDash",!0),h(z,lt,pe,"\u22EA","\\ntriangleleft"),h(z,lt,pe,"\u22EC","\\ntrianglelefteq",!0),h(z,lt,pe,"\u228A","\\subsetneq",!0),h(z,lt,pe,"\uE01A","\\@varsubsetneq"),h(z,lt,pe,"\u2ACB","\\subsetneqq",!0),h(z,lt,pe,"\uE017","\\@varsubsetneqq"),h(z,lt,pe,"\u226F","\\ngtr",!0),h(z,lt,pe,"\uE00F","\\@ngeqslant"),h(z,lt,pe,"\uE00E","\\@ngeqq"),h(z,lt,pe,"\u2A88","\\gneq",!0),h(z,lt,pe,"\u2269","\\gneqq",!0),h(z,lt,pe,"\uE00D","\\@gvertneqq"),h(z,lt,pe,"\u22E7","\\gnsim",!0),h(z,lt,pe,"\u2A8A","\\gnapprox",!0),h(z,lt,pe,"\u2281","\\nsucc",!0),h(z,lt,pe,"\u22E1","\\nsucceq",!0),h(z,lt,pe,"\u22E9","\\succnsim",!0),h(z,lt,pe,"\u2ABA","\\succnapprox",!0),h(z,lt,pe,"\u2246","\\ncong",!0),h(z,lt,pe,"\uE007","\\@nshortparallel"),h(z,lt,pe,"\u2226","\\nparallel",!0),h(z,lt,pe,"\u22AF","\\nVDash",!0),h(z,lt,pe,"\u22EB","\\ntriangleright"),h(z,lt,pe,"\u22ED","\\ntrianglerighteq",!0),h(z,lt,pe,"\uE018","\\@nsupseteqq"),h(z,lt,pe,"\u228B","\\supsetneq",!0),h(z,lt,pe,"\uE01B","\\@varsupsetneq"),h(z,lt,pe,"\u2ACC","\\supsetneqq",!0),h(z,lt,pe,"\uE019","\\@varsupsetneqq"),h(z,lt,pe,"\u22AE","\\nVdash",!0),h(z,lt,pe,"\u2AB5","\\precneqq",!0),h(z,lt,pe,"\u2AB6","\\succneqq",!0),h(z,lt,pe,"\uE016","\\@nsubseteqq"),h(z,lt,mt,"\u22B4","\\unlhd"),h(z,lt,mt,"\u22B5","\\unrhd"),h(z,lt,pe,"\u219A","\\nleftarrow",!0),h(z,lt,pe,"\u219B","\\nrightarrow",!0),h(z,lt,pe,"\u21CD","\\nLeftarrow",!0),h(z,lt,pe,"\u21CF","\\nRightarrow",!0),h(z,lt,pe,"\u21AE","\\nleftrightarrow",!0),h(z,lt,pe,"\u21CE","\\nLeftrightarrow",!0),h(z,lt,pe,"\u25B3","\\vartriangle"),h(z,lt,et,"\u210F","\\hslash"),h(z,lt,et,"\u25BD","\\triangledown"),h(z,lt,et,"\u25CA","\\lozenge"),h(z,lt,et,"\u24C8","\\circledS"),h(z,lt,et,"\xAE","\\circledR"),h(Oe,lt,et,"\xAE","\\circledR"),h(z,lt,et,"\u2221","\\measuredangle",!0),h(z,lt,et,"\u2204","\\nexists"),h(z,lt,et,"\u2127","\\mho"),h(z,lt,et,"\u2132","\\Finv",!0),h(z,lt,et,"\u2141","\\Game",!0),h(z,lt,et,"\u2035","\\backprime"),h(z,lt,et,"\u25B2","\\blacktriangle"),h(z,lt,et,"\u25BC","\\blacktriangledown"),h(z,lt,et,"\u25A0","\\blacksquare"),h(z,lt,et,"\u29EB","\\blacklozenge"),h(z,lt,et,"\u2605","\\bigstar"),h(z,lt,et,"\u2222","\\sphericalangle",!0),h(z,lt,et,"\u2201","\\complement",!0),h(z,lt,et,"\xF0","\\eth",!0),h(Oe,re,et,"\xF0","\xF0"),h(z,lt,et,"\u2571","\\diagup"),h(z,lt,et,"\u2572","\\diagdown"),h(z,lt,et,"\u25A1","\\square"),h(z,lt,et,"\u25A1","\\Box"),h(z,lt,et,"\u25CA","\\Diamond"),h(z,lt,et,"\xA5","\\yen",!0),h(Oe,lt,et,"\xA5","\\yen",!0),h(z,lt,et,"\u2713","\\checkmark",!0),h(Oe,lt,et,"\u2713","\\checkmark"),h(z,lt,et,"\u2136","\\beth",!0),h(z,lt,et,"\u2138","\\daleth",!0),h(z,lt,et,"\u2137","\\gimel",!0),h(z,lt,et,"\u03DD","\\digamma",!0),h(z,lt,et,"\u03F0","\\varkappa"),h(z,lt,gn,"\u250C","\\@ulcorner",!0),h(z,lt,Ut,"\u2510","\\@urcorner",!0),h(z,lt,gn,"\u2514","\\@llcorner",!0),h(z,lt,Ut,"\u2518","\\@lrcorner",!0),h(z,lt,pe,"\u2266","\\leqq",!0),h(z,lt,pe,"\u2A7D","\\leqslant",!0),h(z,lt,pe,"\u2A95","\\eqslantless",!0),h(z,lt,pe,"\u2272","\\lesssim",!0),h(z,lt,pe,"\u2A85","\\lessapprox",!0),h(z,lt,pe,"\u224A","\\approxeq",!0),h(z,lt,mt,"\u22D6","\\lessdot"),h(z,lt,pe,"\u22D8","\\lll",!0),h(z,lt,pe,"\u2276","\\lessgtr",!0),h(z,lt,pe,"\u22DA","\\lesseqgtr",!0),h(z,lt,pe,"\u2A8B","\\lesseqqgtr",!0),h(z,lt,pe,"\u2251","\\doteqdot"),h(z,lt,pe,"\u2253","\\risingdotseq",!0),h(z,lt,pe,"\u2252","\\fallingdotseq",!0),h(z,lt,pe,"\u223D","\\backsim",!0),h(z,lt,pe,"\u22CD","\\backsimeq",!0),h(z,lt,pe,"\u2AC5","\\subseteqq",!0),h(z,lt,pe,"\u22D0","\\Subset",!0),h(z,lt,pe,"\u228F","\\sqsubset",!0),h(z,lt,pe,"\u227C","\\preccurlyeq",!0),h(z,lt,pe,"\u22DE","\\curlyeqprec",!0),h(z,lt,pe,"\u227E","\\precsim",!0),h(z,lt,pe,"\u2AB7","\\precapprox",!0),h(z,lt,pe,"\u22B2","\\vartriangleleft"),h(z,lt,pe,"\u22B4","\\trianglelefteq"),h(z,lt,pe,"\u22A8","\\vDash",!0),h(z,lt,pe,"\u22AA","\\Vvdash",!0),h(z,lt,pe,"\u2323","\\smallsmile"),h(z,lt,pe,"\u2322","\\smallfrown"),h(z,lt,pe,"\u224F","\\bumpeq",!0),h(z,lt,pe,"\u224E","\\Bumpeq",!0),h(z,lt,pe,"\u2267","\\geqq",!0),h(z,lt,pe,"\u2A7E","\\geqslant",!0),h(z,lt,pe,"\u2A96","\\eqslantgtr",!0),h(z,lt,pe,"\u2273","\\gtrsim",!0),h(z,lt,pe,"\u2A86","\\gtrapprox",!0),h(z,lt,mt,"\u22D7","\\gtrdot"),h(z,lt,pe,"\u22D9","\\ggg",!0),h(z,lt,pe,"\u2277","\\gtrless",!0),h(z,lt,pe,"\u22DB","\\gtreqless",!0),h(z,lt,pe,"\u2A8C","\\gtreqqless",!0),h(z,lt,pe,"\u2256","\\eqcirc",!0),h(z,lt,pe,"\u2257","\\circeq",!0),h(z,lt,pe,"\u225C","\\triangleq",!0),h(z,lt,pe,"\u223C","\\thicksim"),h(z,lt,pe,"\u2248","\\thickapprox"),h(z,lt,pe,"\u2AC6","\\supseteqq",!0),h(z,lt,pe,"\u22D1","\\Supset",!0),h(z,lt,pe,"\u2290","\\sqsupset",!0),h(z,lt,pe,"\u227D","\\succcurlyeq",!0),h(z,lt,pe,"\u22DF","\\curlyeqsucc",!0),h(z,lt,pe,"\u227F","\\succsim",!0),h(z,lt,pe,"\u2AB8","\\succapprox",!0),h(z,lt,pe,"\u22B3","\\vartriangleright"),h(z,lt,pe,"\u22B5","\\trianglerighteq"),h(z,lt,pe,"\u22A9","\\Vdash",!0),h(z,lt,pe,"\u2223","\\shortmid"),h(z,lt,pe,"\u2225","\\shortparallel"),h(z,lt,pe,"\u226C","\\between",!0),h(z,lt,pe,"\u22D4","\\pitchfork",!0),h(z,lt,pe,"\u221D","\\varpropto"),h(z,lt,pe,"\u25C0","\\blacktriangleleft"),h(z,lt,pe,"\u2234","\\therefore",!0),h(z,lt,pe,"\u220D","\\backepsilon"),h(z,lt,pe,"\u25B6","\\blacktriangleright"),h(z,lt,pe,"\u2235","\\because",!0),h(z,lt,pe,"\u22D8","\\llless"),h(z,lt,pe,"\u22D9","\\gggtr"),h(z,lt,mt,"\u22B2","\\lhd"),h(z,lt,mt,"\u22B3","\\rhd"),h(z,lt,pe,"\u2242","\\eqsim",!0),h(z,re,pe,"\u22C8","\\Join"),h(z,lt,pe,"\u2251","\\Doteq",!0),h(z,lt,mt,"\u2214","\\dotplus",!0),h(z,lt,mt,"\u2216","\\smallsetminus"),h(z,lt,mt,"\u22D2","\\Cap",!0),h(z,lt,mt,"\u22D3","\\Cup",!0),h(z,lt,mt,"\u2A5E","\\doublebarwedge",!0),h(z,lt,mt,"\u229F","\\boxminus",!0),h(z,lt,mt,"\u229E","\\boxplus",!0),h(z,lt,mt,"\u22C7","\\divideontimes",!0),h(z,lt,mt,"\u22C9","\\ltimes",!0),h(z,lt,mt,"\u22CA","\\rtimes",!0),h(z,lt,mt,"\u22CB","\\leftthreetimes",!0),h(z,lt,mt,"\u22CC","\\rightthreetimes",!0),h(z,lt,mt,"\u22CF","\\curlywedge",!0),h(z,lt,mt,"\u22CE","\\curlyvee",!0),h(z,lt,mt,"\u229D","\\circleddash",!0),h(z,lt,mt,"\u229B","\\circledast",!0),h(z,lt,mt,"\u22C5","\\centerdot"),h(z,lt,mt,"\u22BA","\\intercal",!0),h(z,lt,mt,"\u22D2","\\doublecap"),h(z,lt,mt,"\u22D3","\\doublecup"),h(z,lt,mt,"\u22A0","\\boxtimes",!0),h(z,lt,pe,"\u21E2","\\dashrightarrow",!0),h(z,lt,pe,"\u21E0","\\dashleftarrow",!0),h(z,lt,pe,"\u21C7","\\leftleftarrows",!0),h(z,lt,pe,"\u21C6","\\leftrightarrows",!0),h(z,lt,pe,"\u21DA","\\Lleftarrow",!0),h(z,lt,pe,"\u219E","\\twoheadleftarrow",!0),h(z,lt,pe,"\u21A2","\\leftarrowtail",!0),h(z,lt,pe,"\u21AB","\\looparrowleft",!0),h(z,lt,pe,"\u21CB","\\leftrightharpoons",!0),h(z,lt,pe,"\u21B6","\\curvearrowleft",!0),h(z,lt,pe,"\u21BA","\\circlearrowleft",!0),h(z,lt,pe,"\u21B0","\\Lsh",!0),h(z,lt,pe,"\u21C8","\\upuparrows",!0),h(z,lt,pe,"\u21BF","\\upharpoonleft",!0),h(z,lt,pe,"\u21C3","\\downharpoonleft",!0),h(z,re,pe,"\u22B6","\\origof",!0),h(z,re,pe,"\u22B7","\\imageof",!0),h(z,lt,pe,"\u22B8","\\multimap",!0),h(z,lt,pe,"\u21AD","\\leftrightsquigarrow",!0),h(z,lt,pe,"\u21C9","\\rightrightarrows",!0),h(z,lt,pe,"\u21C4","\\rightleftarrows",!0),h(z,lt,pe,"\u21A0","\\twoheadrightarrow",!0),h(z,lt,pe,"\u21A3","\\rightarrowtail",!0),h(z,lt,pe,"\u21AC","\\looparrowright",!0),h(z,lt,pe,"\u21B7","\\curvearrowright",!0),h(z,lt,pe,"\u21BB","\\circlearrowright",!0),h(z,lt,pe,"\u21B1","\\Rsh",!0),h(z,lt,pe,"\u21CA","\\downdownarrows",!0),h(z,lt,pe,"\u21BE","\\upharpoonright",!0),h(z,lt,pe,"\u21C2","\\downharpoonright",!0),h(z,lt,pe,"\u21DD","\\rightsquigarrow",!0),h(z,lt,pe,"\u21DD","\\leadsto"),h(z,lt,pe,"\u21DB","\\Rrightarrow",!0),h(z,lt,pe,"\u21BE","\\restriction"),h(z,re,et,"\u2018","`"),h(z,re,et,"$","\\$"),h(Oe,re,et,"$","\\$"),h(Oe,re,et,"$","\\textdollar"),h(z,re,et,"%","\\%"),h(Oe,re,et,"%","\\%"),h(z,re,et,"_","\\_"),h(Oe,re,et,"_","\\_"),h(Oe,re,et,"_","\\textunderscore"),h(z,re,et,"\u2220","\\angle",!0),h(z,re,et,"\u221E","\\infty",!0),h(z,re,et,"\u2032","\\prime"),h(z,re,et,"\u25B3","\\triangle"),h(z,re,et,"\u0393","\\Gamma",!0),h(z,re,et,"\u0394","\\Delta",!0),h(z,re,et,"\u0398","\\Theta",!0),h(z,re,et,"\u039B","\\Lambda",!0),h(z,re,et,"\u039E","\\Xi",!0),h(z,re,et,"\u03A0","\\Pi",!0),h(z,re,et,"\u03A3","\\Sigma",!0),h(z,re,et,"\u03A5","\\Upsilon",!0),h(z,re,et,"\u03A6","\\Phi",!0),h(z,re,et,"\u03A8","\\Psi",!0),h(z,re,et,"\u03A9","\\Omega",!0),h(z,re,et,"A","\u0391"),h(z,re,et,"B","\u0392"),h(z,re,et,"E","\u0395"),h(z,re,et,"Z","\u0396"),h(z,re,et,"H","\u0397"),h(z,re,et,"I","\u0399"),h(z,re,et,"K","\u039A"),h(z,re,et,"M","\u039C"),h(z,re,et,"N","\u039D"),h(z,re,et,"O","\u039F"),h(z,re,et,"P","\u03A1"),h(z,re,et,"T","\u03A4"),h(z,re,et,"X","\u03A7"),h(z,re,et,"\xAC","\\neg",!0),h(z,re,et,"\xAC","\\lnot"),h(z,re,et,"\u22A4","\\top"),h(z,re,et,"\u22A5","\\bot"),h(z,re,et,"\u2205","\\emptyset"),h(z,lt,et,"\u2205","\\varnothing"),h(z,re,Pr,"\u03B1","\\alpha",!0),h(z,re,Pr,"\u03B2","\\beta",!0),h(z,re,Pr,"\u03B3","\\gamma",!0),h(z,re,Pr,"\u03B4","\\delta",!0),h(z,re,Pr,"\u03F5","\\epsilon",!0),h(z,re,Pr,"\u03B6","\\zeta",!0),h(z,re,Pr,"\u03B7","\\eta",!0),h(z,re,Pr,"\u03B8","\\theta",!0),h(z,re,Pr,"\u03B9","\\iota",!0),h(z,re,Pr,"\u03BA","\\kappa",!0),h(z,re,Pr,"\u03BB","\\lambda",!0),h(z,re,Pr,"\u03BC","\\mu",!0),h(z,re,Pr,"\u03BD","\\nu",!0),h(z,re,Pr,"\u03BE","\\xi",!0),h(z,re,Pr,"\u03BF","\\omicron",!0),h(z,re,Pr,"\u03C0","\\pi",!0),h(z,re,Pr,"\u03C1","\\rho",!0),h(z,re,Pr,"\u03C3","\\sigma",!0),h(z,re,Pr,"\u03C4","\\tau",!0),h(z,re,Pr,"\u03C5","\\upsilon",!0),h(z,re,Pr,"\u03D5","\\phi",!0),h(z,re,Pr,"\u03C7","\\chi",!0),h(z,re,Pr,"\u03C8","\\psi",!0),h(z,re,Pr,"\u03C9","\\omega",!0),h(z,re,Pr,"\u03B5","\\varepsilon",!0),h(z,re,Pr,"\u03D1","\\vartheta",!0),h(z,re,Pr,"\u03D6","\\varpi",!0),h(z,re,Pr,"\u03F1","\\varrho",!0),h(z,re,Pr,"\u03C2","\\varsigma",!0),h(z,re,Pr,"\u03C6","\\varphi",!0),h(z,re,mt,"\u2217","*",!0),h(z,re,mt,"+","+"),h(z,re,mt,"\u2212","-",!0),h(z,re,mt,"\u22C5","\\cdot",!0),h(z,re,mt,"\u2218","\\circ",!0),h(z,re,mt,"\xF7","\\div",!0),h(z,re,mt,"\xB1","\\pm",!0),h(z,re,mt,"\xD7","\\times",!0),h(z,re,mt,"\u2229","\\cap",!0),h(z,re,mt,"\u222A","\\cup",!0),h(z,re,mt,"\u2216","\\setminus",!0),h(z,re,mt,"\u2227","\\land"),h(z,re,mt,"\u2228","\\lor"),h(z,re,mt,"\u2227","\\wedge",!0),h(z,re,mt,"\u2228","\\vee",!0),h(z,re,et,"\u221A","\\surd"),h(z,re,gn,"\u27E8","\\langle",!0),h(z,re,gn,"\u2223","\\lvert"),h(z,re,gn,"\u2225","\\lVert"),h(z,re,Ut,"?","?"),h(z,re,Ut,"!","!"),h(z,re,Ut,"\u27E9","\\rangle",!0),h(z,re,Ut,"\u2223","\\rvert"),h(z,re,Ut,"\u2225","\\rVert"),h(z,re,pe,"=","="),h(z,re,pe,":",":"),h(z,re,pe,"\u2248","\\approx",!0),h(z,re,pe,"\u2245","\\cong",!0),h(z,re,pe,"\u2265","\\ge"),h(z,re,pe,"\u2265","\\geq",!0),h(z,re,pe,"\u2190","\\gets"),h(z,re,pe,">","\\gt",!0),h(z,re,pe,"\u2208","\\in",!0),h(z,re,pe,"\uE020","\\@not"),h(z,re,pe,"\u2282","\\subset",!0),h(z,re,pe,"\u2283","\\supset",!0),h(z,re,pe,"\u2286","\\subseteq",!0),h(z,re,pe,"\u2287","\\supseteq",!0),h(z,lt,pe,"\u2288","\\nsubseteq",!0),h(z,lt,pe,"\u2289","\\nsupseteq",!0),h(z,re,pe,"\u22A8","\\models"),h(z,re,pe,"\u2190","\\leftarrow",!0),h(z,re,pe,"\u2264","\\le"),h(z,re,pe,"\u2264","\\leq",!0),h(z,re,pe,"<","\\lt",!0),h(z,re,pe,"\u2192","\\rightarrow",!0),h(z,re,pe,"\u2192","\\to"),h(z,lt,pe,"\u2271","\\ngeq",!0),h(z,lt,pe,"\u2270","\\nleq",!0),h(z,re,mr,"\xA0","\\ "),h(z,re,mr,"\xA0","\\space"),h(z,re,mr,"\xA0","\\nobreakspace"),h(Oe,re,mr,"\xA0","\\ "),h(Oe,re,mr,"\xA0"," "),h(Oe,re,mr,"\xA0","\\space"),h(Oe,re,mr,"\xA0","\\nobreakspace"),h(z,re,mr,null,"\\nobreak"),h(z,re,mr,null,"\\allowbreak"),h(z,re,qn,",",","),h(z,re,qn,";",";"),h(z,lt,mt,"\u22BC","\\barwedge",!0),h(z,lt,mt,"\u22BB","\\veebar",!0),h(z,re,mt,"\u2299","\\odot",!0),h(z,re,mt,"\u2295","\\oplus",!0),h(z,re,mt,"\u2297","\\otimes",!0),h(z,re,et,"\u2202","\\partial",!0),h(z,re,mt,"\u2298","\\oslash",!0),h(z,lt,mt,"\u229A","\\circledcirc",!0),h(z,lt,mt,"\u22A1","\\boxdot",!0),h(z,re,mt,"\u25B3","\\bigtriangleup"),h(z,re,mt,"\u25BD","\\bigtriangledown"),h(z,re,mt,"\u2020","\\dagger"),h(z,re,mt,"\u22C4","\\diamond"),h(z,re,mt,"\u22C6","\\star"),h(z,re,mt,"\u25C3","\\triangleleft"),h(z,re,mt,"\u25B9","\\triangleright"),h(z,re,gn,"{","\\{"),h(Oe,re,et,"{","\\{"),h(Oe,re,et,"{","\\textbraceleft"),h(z,re,Ut,"}","\\}"),h(Oe,re,et,"}","\\}"),h(Oe,re,et,"}","\\textbraceright"),h(z,re,gn,"{","\\lbrace"),h(z,re,Ut,"}","\\rbrace"),h(z,re,gn,"[","\\lbrack",!0),h(Oe,re,et,"[","\\lbrack",!0),h(z,re,Ut,"]","\\rbrack",!0),h(Oe,re,et,"]","\\rbrack",!0),h(z,re,gn,"(","\\lparen",!0),h(z,re,Ut,")","\\rparen",!0),h(Oe,re,et,"<","\\textless",!0),h(Oe,re,et,">","\\textgreater",!0),h(z,re,gn,"\u230A","\\lfloor",!0),h(z,re,Ut,"\u230B","\\rfloor",!0),h(z,re,gn,"\u2308","\\lceil",!0),h(z,re,Ut,"\u2309","\\rceil",!0),h(z,re,et,"\\","\\backslash"),h(z,re,et,"\u2223","|"),h(z,re,et,"\u2223","\\vert"),h(Oe,re,et,"|","\\textbar",!0),h(z,re,et,"\u2225","\\|"),h(z,re,et,"\u2225","\\Vert"),h(Oe,re,et,"\u2225","\\textbardbl"),h(Oe,re,et,"~","\\textasciitilde"),h(Oe,re,et,"\\","\\textbackslash"),h(Oe,re,et,"^","\\textasciicircum"),h(z,re,pe,"\u2191","\\uparrow",!0),h(z,re,pe,"\u21D1","\\Uparrow",!0),h(z,re,pe,"\u2193","\\downarrow",!0),h(z,re,pe,"\u21D3","\\Downarrow",!0),h(z,re,pe,"\u2195","\\updownarrow",!0),h(z,re,pe,"\u21D5","\\Updownarrow",!0),h(z,re,Yr,"\u2210","\\coprod"),h(z,re,Yr,"\u22C1","\\bigvee"),h(z,re,Yr,"\u22C0","\\bigwedge"),h(z,re,Yr,"\u2A04","\\biguplus"),h(z,re,Yr,"\u22C2","\\bigcap"),h(z,re,Yr,"\u22C3","\\bigcup"),h(z,re,Yr,"\u222B","\\int"),h(z,re,Yr,"\u222B","\\intop"),h(z,re,Yr,"\u222C","\\iint"),h(z,re,Yr,"\u222D","\\iiint"),h(z,re,Yr,"\u220F","\\prod"),h(z,re,Yr,"\u2211","\\sum"),h(z,re,Yr,"\u2A02","\\bigotimes"),h(z,re,Yr,"\u2A01","\\bigoplus"),h(z,re,Yr,"\u2A00","\\bigodot"),h(z,re,Yr,"\u222E","\\oint"),h(z,re,Yr,"\u222F","\\oiint"),h(z,re,Yr,"\u2230","\\oiiint"),h(z,re,Yr,"\u2A06","\\bigsqcup"),h(z,re,Yr,"\u222B","\\smallint"),h(Oe,re,Ur,"\u2026","\\textellipsis"),h(z,re,Ur,"\u2026","\\mathellipsis"),h(Oe,re,Ur,"\u2026","\\ldots",!0),h(z,re,Ur,"\u2026","\\ldots",!0),h(z,re,Ur,"\u22EF","\\@cdots",!0),h(z,re,Ur,"\u22F1","\\ddots",!0),h(z,re,et,"\u22EE","\\varvdots"),h(Oe,re,et,"\u22EE","\\varvdots"),h(z,re,pn,"\u02CA","\\acute"),h(z,re,pn,"\u02CB","\\grave"),h(z,re,pn,"\xA8","\\ddot"),h(z,re,pn,"~","\\tilde"),h(z,re,pn,"\u02C9","\\bar"),h(z,re,pn,"\u02D8","\\breve"),h(z,re,pn,"\u02C7","\\check"),h(z,re,pn,"^","\\hat"),h(z,re,pn,"\u20D7","\\vec"),h(z,re,pn,"\u02D9","\\dot"),h(z,re,pn,"\u02DA","\\mathring"),h(z,re,Pr,"\uE131","\\@imath"),h(z,re,Pr,"\uE237","\\@jmath"),h(z,re,et,"\u0131","\u0131"),h(z,re,et,"\u0237","\u0237"),h(Oe,re,et,"\u0131","\\i",!0),h(Oe,re,et,"\u0237","\\j",!0),h(Oe,re,et,"\xDF","\\ss",!0),h(Oe,re,et,"\xE6","\\ae",!0),h(Oe,re,et,"\u0153","\\oe",!0),h(Oe,re,et,"\xF8","\\o",!0),h(Oe,re,et,"\xC6","\\AE",!0),h(Oe,re,et,"\u0152","\\OE",!0),h(Oe,re,et,"\xD8","\\O",!0),h(Oe,re,pn,"\u02CA","\\'"),h(Oe,re,pn,"\u02CB","\\`"),h(Oe,re,pn,"\u02C6","\\^"),h(Oe,re,pn,"\u02DC","\\~"),h(Oe,re,pn,"\u02C9","\\="),h(Oe,re,pn,"\u02D8","\\u"),h(Oe,re,pn,"\u02D9","\\."),h(Oe,re,pn,"\xB8","\\c"),h(Oe,re,pn,"\u02DA","\\r"),h(Oe,re,pn,"\u02C7","\\v"),h(Oe,re,pn,"\xA8",'\\"'),h(Oe,re,pn,"\u02DD","\\H"),h(Oe,re,pn,"\u25EF","\\textcircled");var Ir={"--":!0,"---":!0,"``":!0,"''":!0};h(Oe,re,et,"\u2013","--",!0),h(Oe,re,et,"\u2013","\\textendash"),h(Oe,re,et,"\u2014","---",!0),h(Oe,re,et,"\u2014","\\textemdash"),h(Oe,re,et,"\u2018","`",!0),h(Oe,re,et,"\u2018","\\textquoteleft"),h(Oe,re,et,"\u2019","'",!0),h(Oe,re,et,"\u2019","\\textquoteright"),h(Oe,re,et,"\u201C","``",!0),h(Oe,re,et,"\u201C","\\textquotedblleft"),h(Oe,re,et,"\u201D","''",!0),h(Oe,re,et,"\u201D","\\textquotedblright"),h(z,re,et,"\xB0","\\degree",!0),h(Oe,re,et,"\xB0","\\degree"),h(Oe,re,et,"\xB0","\\textdegree",!0),h(z,re,et,"\xA3","\\pounds"),h(z,re,et,"\xA3","\\mathsterling",!0),h(Oe,re,et,"\xA3","\\pounds"),h(Oe,re,et,"\xA3","\\textsterling",!0),h(z,lt,et,"\u2720","\\maltese"),h(Oe,lt,et,"\u2720","\\maltese");for(var Vr='0123456789/@."',wn=0;wn<Vr.length;wn++){var ea=Vr.charAt(wn);h(z,re,et,ea,ea)}for(var gt='0123456789!@*()-=+";:?/.,',nr=0;nr<gt.length;nr++){var sr=gt.charAt(nr);h(Oe,re,et,sr,sr)}for(var or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",jr=0;jr<or.length;jr++){var on=or.charAt(jr);h(z,re,Pr,on,on),h(Oe,re,et,on,on)}h(z,lt,et,"C","\u2102"),h(Oe,lt,et,"C","\u2102"),h(z,lt,et,"H","\u210D"),h(Oe,lt,et,"H","\u210D"),h(z,lt,et,"N","\u2115"),h(Oe,lt,et,"N","\u2115"),h(z,lt,et,"P","\u2119"),h(Oe,lt,et,"P","\u2119"),h(z,lt,et,"Q","\u211A"),h(Oe,lt,et,"Q","\u211A"),h(z,lt,et,"R","\u211D"),h(Oe,lt,et,"R","\u211D"),h(z,lt,et,"Z","\u2124"),h(Oe,lt,et,"Z","\u2124"),h(z,re,Pr,"h","\u210E"),h(Oe,re,Pr,"h","\u210E");for(var Wr="",Dr=0;Dr<or.length;Dr++){var nn=or.charAt(Dr);Wr=String.fromCharCode(55349,56320+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56372+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56424+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56580+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56684+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56736+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56788+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56840+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56944+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Dr<26&&(Wr=String.fromCharCode(55349,56632+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr),Wr=String.fromCharCode(55349,56476+Dr),h(z,re,Pr,nn,Wr),h(Oe,re,et,nn,Wr))}Wr="\u{1D55C}",h(z,re,Pr,"k",Wr),h(Oe,re,et,"k",Wr);for(var sn=0;sn<10;sn++){var An=sn.toString();Wr=String.fromCharCode(55349,57294+sn),h(z,re,Pr,An,Wr),h(Oe,re,et,An,Wr),Wr=String.fromCharCode(55349,57314+sn),h(z,re,Pr,An,Wr),h(Oe,re,et,An,Wr),Wr=String.fromCharCode(55349,57324+sn),h(z,re,Pr,An,Wr),h(Oe,re,et,An,Wr),Wr=String.fromCharCode(55349,57334+sn),h(z,re,Pr,An,Wr),h(Oe,re,et,An,Wr)}for(var Pn="\xD0\xDE\xFE",On=0;On<Pn.length;On++){var Bn=Pn.charAt(On);h(z,re,Pr,Bn,Bn),h(Oe,re,et,Bn,Bn)}var ta=[["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"]],tn=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],$n=function(e,t){var d=e.charCodeAt(0),O=e.charCodeAt(1),V=(d-55296)*1024+(O-56320)+65536,Ce=t==="math"?0:1;if(119808<=V&&V<120484){var Ke=Math.floor((V-119808)/26);return[ta[Ke][2],ta[Ke][Ce]]}else if(120782<=V&&V<=120831){var Xe=Math.floor((V-120782)/10);return[tn[Xe][2],tn[Xe][Ce]]}else{if(V===120485||V===120486)return[ta[0][2],ta[0][Ce]];if(120486<V&&V<120782)return["",""];throw new J("Unsupported character: "+e)}},Yn=function(e,t,d){return Br[d][e]&&Br[d][e].replace&&(e=Br[d][e].replace),{value:e,metrics:Le(e,t,d)}},ua=function(e,t,d,O,V){var Ce=Yn(e,t,d),Ke=Ce.metrics;e=Ce.value;var Xe;if(Ke){var Kt=Ke.italic;(d==="text"||O&&O.font==="mathit")&&(Kt=0),Xe=new Te(e,Ke.height,Ke.depth,Kt,Ke.skew,Ke.width,V)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '"+d+"'")),Xe=new Te(e,0,0,0,0,0,V);if(O){Xe.maxFontSize=O.sizeMultiplier,O.style.isTight()&&Xe.classes.push("mtight");var ur=O.getColor();ur&&(Xe.style.color=ur)}return Xe},zn=function(e,t,d,O){return O===void 0&&(O=[]),d.font==="boldsymbol"&&Yn(e,"Main-Bold",t).metrics?ua(e,"Main-Bold",t,d,O.concat(["mathbf"])):e==="\\"||Br[t][e].font==="main"?ua(e,"Main-Regular",t,d,O):ua(e,"AMS-Regular",t,d,O.concat(["amsrm"]))},ra=function(e,t,d,O,V){return V!=="textord"&&Yn(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Gn=function(e,t,d){var O=e.mode,V=e.text,Ce=["mord"],Ke=O==="math"||O==="text"&&t.font,Xe=Ke?t.font:t.fontFamily,Kt="",ur="";if(V.charCodeAt(0)===55349&&([Kt,ur]=$n(V,O)),Kt.length>0)return ua(V,Kt,O,t,Ce.concat(ur));if(Xe){var xr,Fr;if(Xe==="boldsymbol"){var Hr=ra(V,O,t,Ce,d);xr=Hr.fontName,Fr=[Hr.fontClass]}else Ke?(xr=b[Xe].fontName,Fr=[Xe]):(xr=p(Xe,t.fontWeight,t.fontShape),Fr=[Xe,t.fontWeight,t.fontShape]);if(Yn(V,xr,O).metrics)return ua(V,xr,O,t,Ce.concat(Fr));if(Ir.hasOwnProperty(V)&&xr.slice(0,10)==="Typewriter"){for(var un=[],bn=0;bn<V.length;bn++)un.push(ua(V[bn],xr,O,t,Ce.concat(Fr)));return to(un)}}if(d==="mathord")return ua(V,"Math-Italic",O,t,Ce.concat(["mathnormal"]));if(d==="textord"){var Nn=Br[O][V]&&Br[O][V].font;if(Nn==="ams"){var Mn=p("amsrm",t.fontWeight,t.fontShape);return ua(V,Mn,O,t,Ce.concat("amsrm",t.fontWeight,t.fontShape))}else if(Nn==="main"||!Nn){var oa=p("textrm",t.fontWeight,t.fontShape);return ua(V,oa,O,t,Ce.concat(t.fontWeight,t.fontShape))}else{var ya=p(Nn,t.fontWeight,t.fontShape);return ua(V,ya,O,t,Ce.concat(ya,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+d+" in makeOrd")},Wn=(c,e)=>{if(er(c.classes)!==er(e.classes)||c.skew!==e.skew||c.maxFontSize!==e.maxFontSize)return!1;if(c.classes.length===1){var t=c.classes[0];if(t==="mbin"||t==="mord")return!1}for(var d in c.style)if(c.style.hasOwnProperty(d)&&c.style[d]!==e.style[d])return!1;for(var O in e.style)if(e.style.hasOwnProperty(O)&&c.style[O]!==e.style[O])return!1;return!0},Jn=c=>{for(var e=0;e<c.length-1;e++){var t=c[e],d=c[e+1];t instanceof Te&&d instanceof Te&&Wn(t,d)&&(t.text+=d.text,t.height=Math.max(t.height,d.height),t.depth=Math.max(t.depth,d.depth),t.italic=d.italic,c.splice(e+1,1),e--)}return c},Dn=function(e){for(var t=0,d=0,O=0,V=0;V<e.children.length;V++){var Ce=e.children[V];Ce.height>t&&(t=Ce.height),Ce.depth>d&&(d=Ce.depth),Ce.maxFontSize>O&&(O=Ce.maxFontSize)}e.height=t,e.depth=d,e.maxFontSize=O},xn=function(e,t,d,O){var V=new x(e,t,d,O);return Dn(V),V},Kn=(c,e,t,d)=>new x(c,e,t,d),Sa=function(e,t,d){var O=xn([e],[],t);return O.height=Math.max(d||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),O.style.borderBottomWidth=Et(O.height),O.maxFontSize=1,O},za=function(e,t,d,O){var V=new W(e,t,d,O);return Dn(V),V},to=function(e){var t=new de(e);return Dn(t),t},ro=function(e,t){return e instanceof de?xn([],[e],t):e},so=function(e){if(e.positionType==="individualShift"){for(var t=e.children,d=[t[0]],O=-t[0].shift-t[0].elem.depth,V=O,Ce=1;Ce<t.length;Ce++){var Ke=-t[Ce].shift-V-t[Ce].elem.depth,Xe=Ke-(t[Ce-1].elem.height+t[Ce-1].elem.depth);V=V+Ke,d.push({type:"kern",size:Xe}),d.push(t[Ce])}return{children:d,depth:O}}var Kt;if(e.positionType==="top"){for(var ur=e.positionData,xr=0;xr<e.children.length;xr++){var Fr=e.children[xr];ur-=Fr.type==="kern"?Fr.size:Fr.elem.height+Fr.elem.depth}Kt=ur}else if(e.positionType==="bottom")Kt=-e.positionData;else{var Hr=e.children[0];if(Hr.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")Kt=-Hr.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")Kt=-Hr.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:Kt}},f=function(e,t){for(var{children:d,depth:O}=so(e),V=0,Ce=0;Ce<d.length;Ce++){var Ke=d[Ce];if(Ke.type==="elem"){var Xe=Ke.elem;V=Math.max(V,Xe.maxFontSize,Xe.height)}}V+=2;var Kt=xn(["pstrut"],[]);Kt.style.height=Et(V);for(var ur=[],xr=O,Fr=O,Hr=O,un=0;un<d.length;un++){var bn=d[un];if(bn.type==="kern")Hr+=bn.size;else{var Nn=bn.elem,Mn=bn.wrapperClasses||[],oa=bn.wrapperStyle||{},ya=xn(Mn,[Kt,Nn],void 0,oa);ya.style.top=Et(-V-Hr-Nn.depth),bn.marginLeft&&(ya.style.marginLeft=bn.marginLeft),bn.marginRight&&(ya.style.marginRight=bn.marginRight),ur.push(ya),Hr+=Nn.height+Nn.depth}xr=Math.min(xr,Hr),Fr=Math.max(Fr,Hr)}var Ua=xn(["vlist"],ur);Ua.style.height=Et(Fr);var Pa;if(xr<0){var Oa=xn([],[]),Ga=xn(["vlist"],[Oa]);Ga.style.height=Et(-xr);var Ya=xn(["vlist-s"],[new Te("\u200B")]);Pa=[xn(["vlist-r"],[Ua,Ya]),xn(["vlist-r"],[Ga])]}else Pa=[xn(["vlist-r"],[Ua])];var Ra=xn(["vlist-t"],Pa);return Pa.length===2&&Ra.classes.push("vlist-t2"),Ra.height=Fr,Ra.depth=-xr,Ra},s=(c,e)=>{var t=xn(["mspace"],[],e),d=Ht(c,e);return t.style.marginRight=Et(d),t},p=function(e,t,d){var O="";switch(e){case"amsrm":O="AMS";break;case"textrm":O="Main";break;case"textsf":O="SansSerif";break;case"texttt":O="Typewriter";break;default:O=e}var V;return t==="textbf"&&d==="textit"?V="BoldItalic":t==="textbf"?V="Bold":t==="textit"?V="Italic":V="Regular",O+"-"+V},b={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"}},$={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},v=function(e,t){var[d,O,V]=$[e],Ce=new Ar(d),Ke=new zr([Ce],{width:Et(O),height:Et(V),style:"width:"+Et(O),viewBox:"0 0 "+1e3*O+" "+1e3*V,preserveAspectRatio:"xMinYMin"}),Xe=Kn(["overlay"],[Ke],t);return Xe.height=V,Xe.style.height=Et(V),Xe.style.width=Et(O),Xe},T={fontMap:b,makeSymbol:ua,mathsym:zn,makeSpan:xn,makeSvgSpan:Kn,makeLineSpan:Sa,makeAnchor:za,makeFragment:to,wrapFragment:ro,makeVList:f,makeOrd:Gn,makeGlue:s,staticSvg:v,svgData:$,tryCombineChars:Jn},Z={number:3,unit:"mu"},ee={number:4,unit:"mu"},Ee={number:5,unit:"mu"},st={mord:{mop:Z,mbin:ee,mrel:Ee,minner:Z},mop:{mord:Z,mop:Z,mrel:Ee,minner:Z},mbin:{mord:ee,mop:ee,mopen:ee,minner:ee},mrel:{mord:Ee,mop:Ee,mopen:Ee,minner:Ee},mopen:{},mclose:{mop:Z,mbin:ee,mrel:Ee,minner:Z},mpunct:{mord:Z,mop:Z,mrel:Ee,mopen:Z,mclose:Z,mpunct:Z,minner:Z},minner:{mord:Z,mop:Z,mbin:ee,mrel:Ee,mopen:Z,mpunct:Z,minner:Z}},jt={mord:{mop:Z},mop:{mord:Z,mop:Z},mbin:{},mrel:{},mopen:{},mclose:{mop:Z},mpunct:{},minner:{mop:Z}},At={},ve={},kt={};function Ge(c){for(var{type:e,names:t,props:d,handler:O,htmlBuilder:V,mathmlBuilder:Ce}=c,Ke={type:e,numArgs:d.numArgs,argTypes:d.argTypes,allowedInArgument:!!d.allowedInArgument,allowedInText:!!d.allowedInText,allowedInMath:d.allowedInMath===void 0?!0:d.allowedInMath,numOptionalArgs:d.numOptionalArgs||0,infix:!!d.infix,primitive:!!d.primitive,handler:O},Xe=0;Xe<t.length;++Xe)At[t[Xe]]=Ke;e&&(V&&(ve[e]=V),Ce&&(kt[e]=Ce))}function Zt(c){var{type:e,htmlBuilder:t,mathmlBuilder:d}=c;Ge({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:d})}var pt=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ar=function(e){return e.type==="ordgroup"?e.body:[e]},yr=T.makeSpan,Qt=["leftmost","mbin","mopen","mrel","mop","mpunct"],nt=["rightmost","mrel","mclose","mpunct"],Se={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT},Vt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Mt=function(e,t,d,O){O===void 0&&(O=[null,null]);for(var V=[],Ce=0;Ce<e.length;Ce++){var Ke=ct(e[Ce],t);if(Ke instanceof de){var Xe=Ke.children;V.push(...Xe)}else V.push(Ke)}if(T.tryCombineChars(V),!d)return V;var Kt=t;if(e.length===1){var ur=e[0];ur.type==="sizing"?Kt=t.havingSize(ur.size):ur.type==="styling"&&(Kt=t.havingStyle(Se[ur.style]))}var xr=yr([O[0]||"leftmost"],[],t),Fr=yr([O[1]||"rightmost"],[],t),Hr=d==="root";return Ot(V,(un,bn)=>{var Nn=bn.classes[0],Mn=un.classes[0];Nn==="mbin"&&I.contains(nt,Mn)?bn.classes[0]="mord":Mn==="mbin"&&I.contains(Qt,Nn)&&(un.classes[0]="mord")},{node:xr},Fr,Hr),Ot(V,(un,bn)=>{var Nn=Be(bn),Mn=Be(un),oa=Nn&&Mn?un.hasClass("mtight")?jt[Nn][Mn]:st[Nn][Mn]:null;if(oa)return T.makeGlue(oa,Kt)},{node:xr},Fr,Hr),V},Ot=function c(e,t,d,O,V){O&&e.push(O);for(var Ce=0;Ce<e.length;Ce++){var Ke=e[Ce],Xe=Jt(Ke);if(Xe){c(Xe.children,t,d,null,V);continue}var Kt=!Ke.hasClass("mspace");if(Kt){var ur=t(Ke,d.node);ur&&(d.insertAfter?d.insertAfter(ur):(e.unshift(ur),Ce++))}Kt?d.node=Ke:V&&Ke.hasClass("newline")&&(d.node=yr(["leftmost"])),d.insertAfter=(xr=>Fr=>{e.splice(xr+1,0,Fr),Ce++})(Ce)}O&&e.pop()},Jt=function(e){return e instanceof de||e instanceof W||e instanceof x&&e.hasClass("enclosing")?e:null},ke=function c(e,t){var d=Jt(e);if(d){var O=d.children;if(O.length){if(t==="right")return c(O[O.length-1],"right");if(t==="left")return c(O[0],"left")}}return e},Be=function(e,t){return e?(t&&(e=ke(e,t)),Vt[e.classes[0]]||null):null},St=function(e,t){var d=["nulldelimiter"].concat(e.baseSizingClasses());return yr(t.concat(d))},ct=function(e,t,d){if(!e)return yr();if(ve[e.type]){var O=ve[e.type](e,t);if(d&&t.size!==d.size){O=yr(t.sizingClasses(d),[O],t);var V=t.sizeMultiplier/d.sizeMultiplier;O.height*=V,O.depth*=V}return O}else throw new J("Got group of unknown type: '"+e.type+"'")};function cr(c,e){var t=yr(["base"],c,e),d=yr(["strut"]);return d.style.height=Et(t.height+t.depth),t.depth&&(d.style.verticalAlign=Et(-t.depth)),t.children.unshift(d),t}function gr(c,e){var t=null;c.length===1&&c[0].type==="tag"&&(t=c[0].tag,c=c[0].body);var d=Mt(c,e,"root"),O;d.length===2&&d[1].hasClass("tag")&&(O=d.pop());for(var V=[],Ce=[],Ke=0;Ke<d.length;Ke++)if(Ce.push(d[Ke]),d[Ke].hasClass("mbin")||d[Ke].hasClass("mrel")||d[Ke].hasClass("allowbreak")){for(var Xe=!1;Ke<d.length-1&&d[Ke+1].hasClass("mspace")&&!d[Ke+1].hasClass("newline");)Ke++,Ce.push(d[Ke]),d[Ke].hasClass("nobreak")&&(Xe=!0);Xe||(V.push(cr(Ce,e)),Ce=[])}else d[Ke].hasClass("newline")&&(Ce.pop(),Ce.length>0&&(V.push(cr(Ce,e)),Ce=[]),V.push(d[Ke]));Ce.length>0&&V.push(cr(Ce,e));var Kt;t?(Kt=cr(Mt(t,e,!0)),Kt.classes=["tag"],V.push(Kt)):O&&V.push(O);var ur=yr(["katex-html"],V);if(ur.setAttribute("aria-hidden","true"),Kt){var xr=Kt.children[0];xr.style.height=Et(ur.height+ur.depth),ur.depth&&(xr.style.verticalAlign=Et(-ur.depth))}return ur}function Xt(c){return new de(c)}class Tt{constructor(e,t,d){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=d||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=er(this.classes));for(var d=0;d<this.children.length;d++)if(this.children[d]instanceof ir&&this.children[d+1]instanceof ir){for(var O=this.children[d].toText()+this.children[++d].toText();this.children[d+1]instanceof ir;)O+=this.children[++d].toText();e.appendChild(new ir(O).toNode())}else e.appendChild(this.children[d].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=I.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+I.escape(er(this.classes))+'"'),e+=">";for(var d=0;d<this.children.length;d++)e+=this.children[d].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class ir{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return I.escape(this.toText())}toText(){return this.text}}class Zr{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",Et(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Et(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Wt={MathNode:Tt,TextNode:ir,SpaceNode:Zr,newDocumentFragment:Xt},Pe=function(e,t,d){return Br[t][e]&&Br[t][e].replace&&e.charCodeAt(0)!==55349&&!(Ir.hasOwnProperty(e)&&d&&(d.fontFamily&&d.fontFamily.slice(4,6)==="tt"||d.font&&d.font.slice(4,6)==="tt"))&&(e=Br[t][e].replace),new Wt.TextNode(e)},vt=function(e){return e.length===1?e[0]:new Wt.MathNode("mrow",e)},Bt=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 d=t.font;if(!d||d==="mathnormal")return null;var O=e.mode;if(d==="mathit")return"italic";if(d==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(d==="mathbf")return"bold";if(d==="mathbb")return"double-struck";if(d==="mathsfit")return"sans-serif-italic";if(d==="mathfrak")return"fraktur";if(d==="mathscr"||d==="mathcal")return"script";if(d==="mathsf")return"sans-serif";if(d==="mathtt")return"monospace";var V=e.text;if(I.contains(["\\imath","\\jmath"],V))return null;Br[O][V]&&Br[O][V].replace&&(V=Br[O][V].replace);var Ce=T.fontMap[d].fontName;return Le(V,Ce,O)?T.fontMap[d].variant:null};function ht(c){if(!c)return!1;if(c.type==="mi"&&c.children.length===1){var e=c.children[0];return e instanceof ir&&e.text==="."}else if(c.type==="mo"&&c.children.length===1&&c.getAttribute("separator")==="true"&&c.getAttribute("lspace")==="0em"&&c.getAttribute("rspace")==="0em"){var t=c.children[0];return t instanceof ir&&t.text===","}else return!1}var Yt=function(e,t,d){if(e.length===1){var O=fr(e[0],t);return d&&O instanceof Tt&&O.type==="mo"&&(O.setAttribute("lspace","0em"),O.setAttribute("rspace","0em")),[O]}for(var V=[],Ce,Ke=0;Ke<e.length;Ke++){var Xe=fr(e[Ke],t);if(Xe instanceof Tt&&Ce instanceof Tt){if(Xe.type==="mtext"&&Ce.type==="mtext"&&Xe.getAttribute("mathvariant")===Ce.getAttribute("mathvariant")){Ce.children.push(...Xe.children);continue}else if(Xe.type==="mn"&&Ce.type==="mn"){Ce.children.push(...Xe.children);continue}else if(ht(Xe)&&Ce.type==="mn"){Ce.children.push(...Xe.children);continue}else if(Xe.type==="mn"&&ht(Ce))Xe.children=[...Ce.children,...Xe.children],V.pop();else if((Xe.type==="msup"||Xe.type==="msub")&&Xe.children.length>=1&&(Ce.type==="mn"||ht(Ce))){var Kt=Xe.children[0];Kt instanceof Tt&&Kt.type==="mn"&&(Kt.children=[...Ce.children,...Kt.children],V.pop())}else if(Ce.type==="mi"&&Ce.children.length===1){var ur=Ce.children[0];if(ur instanceof ir&&ur.text==="\u0338"&&(Xe.type==="mo"||Xe.type==="mi"||Xe.type==="mn")){var xr=Xe.children[0];xr instanceof ir&&xr.text.length>0&&(xr.text=xr.text.slice(0,1)+"\u0338"+xr.text.slice(1),V.pop())}}}V.push(Xe),Ce=Xe}return V},dr=function(e,t,d){return vt(Yt(e,t,d))},fr=function(e,t){if(!e)return new Wt.MathNode("mrow");if(kt[e.type]){var d=kt[e.type](e,t);return d}else throw new J("Got group of unknown type: '"+e.type+"'")};function Er(c,e,t,d,O){var V=Yt(c,t),Ce;V.length===1&&V[0]instanceof Tt&&I.contains(["mrow","mtable"],V[0].type)?Ce=V[0]:Ce=new Wt.MathNode("mrow",V);var Ke=new Wt.MathNode("annotation",[new Wt.TextNode(e)]);Ke.setAttribute("encoding","application/x-tex");var Xe=new Wt.MathNode("semantics",[Ce,Ke]),Kt=new Wt.MathNode("math",[Xe]);Kt.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),d&&Kt.setAttribute("display","block");var ur=O?"katex":"katex-mathml";return T.makeSpan([ur],[Kt])}var Lr=function(e){return new Pt({style:e.displayMode?k.DISPLAY:k.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Rr=function(e,t){if(t.displayMode){var d=["katex-display"];t.leqno&&d.push("leqno"),t.fleqn&&d.push("fleqn"),e=T.makeSpan(d,[e])}return e},cn=function(e,t,d){var O=Lr(d),V;if(d.output==="mathml")return Er(e,t,O,d.displayMode,!0);if(d.output==="html"){var Ce=gr(e,O);V=T.makeSpan(["katex"],[Ce])}else{var Ke=Er(e,t,O,d.displayMode,!1),Xe=gr(e,O);V=T.makeSpan(["katex"],[Ke,Xe])}return Rr(V,d)},Sn=function(e,t,d){var O=Lr(d),V=gr(e,O),Ce=T.makeSpan(["katex"],[V]);return Rr(Ce,d)},Mr={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":"="},Lt=function(e){var t=new Wt.MathNode("mo",[new Wt.TextNode(Mr[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},ba={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]},da=function(e){return e.type==="ordgroup"?e.body.length:1},Hn=function(e,t){function d(){var Ke=4e5,Xe=e.label.slice(1);if(I.contains(["widehat","widecheck","widetilde","utilde"],Xe)){var Kt=e,ur=da(Kt.base),xr,Fr,Hr;if(ur>5)Xe==="widehat"||Xe==="widecheck"?(xr=420,Ke=2364,Hr=.42,Fr=Xe+"4"):(xr=312,Ke=2340,Hr=.34,Fr="tilde4");else{var un=[1,1,2,2,3,3][ur];Xe==="widehat"||Xe==="widecheck"?(Ke=[0,1062,2364,2364,2364][un],xr=[0,239,300,360,420][un],Hr=[0,.24,.3,.3,.36,.42][un],Fr=Xe+un):(Ke=[0,600,1033,2339,2340][un],xr=[0,260,286,306,312][un],Hr=[0,.26,.286,.3,.306,.34][un],Fr="tilde"+un)}var bn=new Ar(Fr),Nn=new zr([bn],{width:"100%",height:Et(Hr),viewBox:"0 0 "+Ke+" "+xr,preserveAspectRatio:"none"});return{span:T.makeSvgSpan([],[Nn],t),minWidth:0,height:Hr}}else{var Mn=[],oa=ba[Xe],[ya,Ua,Pa]=oa,Oa=Pa/1e3,Ga=ya.length,Ya,Ra;if(Ga===1){var qo=oa[3];Ya=["hide-tail"],Ra=[qo]}else if(Ga===2)Ya=["halfarrow-left","halfarrow-right"],Ra=["xMinYMin","xMaxYMin"];else if(Ga===3)Ya=["brace-left","brace-center","brace-right"],Ra=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
|
`+Ga+" children.");for(var Io=0;Io<Ga;Io++){var go=new Ar(ya[Io]),Jo=new zr([go],{width:"400em",height:Et(Oa),viewBox:"0 0 "+Ke+" "+Pa,preserveAspectRatio:Ra[Io]+" slice"}),$o=T.makeSvgSpan([Ya[Io]],[Jo],t);if(Ga===1)return{span:$o,minWidth:Ua,height:Oa};$o.style.height=Et(Oa),Mn.push($o)}return{span:T.makeSpan(["stretchy"],Mn,t),minWidth:Ua,height:Oa}}}var{span:O,minWidth:V,height:Ce}=d();return O.height=Ce,O.style.height=Et(Ce),V>0&&(O.style.minWidth=Et(V)),O},an=function(e,t,d,O,V){var Ce,Ke=e.height+e.depth+d+O;if(/fbox|color|angl/.test(t)){if(Ce=T.makeSpan(["stretchy",t],[],V),t==="fbox"){var Xe=V.color&&V.getColor();Xe&&(Ce.style.borderColor=Xe)}}else{var Kt=[];/^[bx]cancel$/.test(t)&&Kt.push(new yn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&Kt.push(new yn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var ur=new zr(Kt,{width:"100%",height:Et(Ke)});Ce=T.makeSvgSpan([],[ur],V)}return Ce.height=Ke,Ce.style.height=Et(Ke),Ce},dn={encloseSpan:an,mathMLnode:Lt,svgSpan:Hn};function Gr(c,e){if(!c||c.type!==e)throw new Error("Expected node of type "+e+", but got "+(c?"node of type "+c.type:String(c)));return c}function sa(c){var e=Vn(c);if(!e)throw new Error("Expected node of symbol group type, but got "+(c?"node of type "+c.type:String(c)));return e}function Vn(c){return c&&(c.type==="atom"||br.hasOwnProperty(c.type))?c:null}var xa=(c,e)=>{var t,d,O;c&&c.type==="supsub"?(d=Gr(c.base,"accent"),t=d.base,c.base=t,O=Ft(ct(c,e)),c.base=d):(d=Gr(c,"accent"),t=d.base);var V=ct(t,e.havingCrampedStyle()),Ce=d.isShifty&&I.isCharacterBox(t),Ke=0;if(Ce){var Xe=I.getBaseElem(t),Kt=ct(Xe,e.havingCrampedStyle());Ke=Tn(Kt).skew}var ur=d.label==="\\c",xr=ur?V.height+V.depth:Math.min(V.height,e.fontMetrics().xHeight),Fr;if(d.isStretchy)Fr=dn.svgSpan(d,e),Fr=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:V},{type:"elem",elem:Fr,wrapperClasses:["svg-align"],wrapperStyle:Ke>0?{width:"calc(100% - "+Et(2*Ke)+")",marginLeft:Et(2*Ke)}:void 0}]},e);else{var Hr,un;d.label==="\\vec"?(Hr=T.staticSvg("vec",e),un=T.svgData.vec[1]):(Hr=T.makeOrd({mode:d.mode,text:d.label},e,"textord"),Hr=Tn(Hr),Hr.italic=0,un=Hr.width,ur&&(xr+=Hr.depth)),Fr=T.makeSpan(["accent-body"],[Hr]);var bn=d.label==="\\textcircled";bn&&(Fr.classes.push("accent-full"),xr=V.height);var Nn=Ke;bn||(Nn-=un/2),Fr.style.left=Et(Nn),d.label==="\\textcircled"&&(Fr.style.top=".2em"),Fr=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:V},{type:"kern",size:-xr},{type:"elem",elem:Fr}]},e)}var Mn=T.makeSpan(["mord","accent"],[Fr],e);return O?(O.children[0]=Mn,O.height=Math.max(Mn.height,O.height),O.classes[0]="mord",O):Mn},_n=(c,e)=>{var t=c.isStretchy?dn.mathMLnode(c.label):new Wt.MathNode("mo",[Pe(c.label,c.mode)]),d=new Wt.MathNode("mover",[fr(c.base,e),t]);return d.setAttribute("accent","true"),d},la=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(c=>"\\"+c).join("|"));Ge({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:(c,e)=>{var t=pt(e[0]),d=!la.test(c.funcName),O=!d||c.funcName==="\\widehat"||c.funcName==="\\widetilde"||c.funcName==="\\widecheck";return{type:"accent",mode:c.parser.mode,label:c.funcName,isStretchy:d,isShifty:O,base:t}},htmlBuilder:xa,mathmlBuilder:_n}),Ge({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(c,e)=>{var t=e[0],d=c.parser.mode;return d==="math"&&(c.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+c.funcName+" works only in text mode"),d="text"),{type:"accent",mode:d,label:c.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:xa,mathmlBuilder:_n}),Ge({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0];return{type:"accentUnder",mode:t.mode,label:d,base:O}},htmlBuilder:(c,e)=>{var t=ct(c.base,e),d=dn.svgSpan(c,e),O=c.label==="\\utilde"?.12:0,V=T.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:d,wrapperClasses:["svg-align"]},{type:"kern",size:O},{type:"elem",elem:t}]},e);return T.makeSpan(["mord","accentunder"],[V],e)},mathmlBuilder:(c,e)=>{var t=dn.mathMLnode(c.label),d=new Wt.MathNode("munder",[fr(c.base,e),t]);return d.setAttribute("accentunder","true"),d}});var La=c=>{var e=new Wt.MathNode("mpadded",c?[c]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};Ge({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(c,e,t){var{parser:d,funcName:O}=c;return{type:"xArrow",mode:d.mode,label:O,body:e[0],below:t[0]}},htmlBuilder(c,e){var t=e.style,d=e.havingStyle(t.sup()),O=T.wrapFragment(ct(c.body,d,e),e),V=c.label.slice(0,2)==="\\x"?"x":"cd";O.classes.push(V+"-arrow-pad");var Ce;c.below&&(d=e.havingStyle(t.sub()),Ce=T.wrapFragment(ct(c.below,d,e),e),Ce.classes.push(V+"-arrow-pad"));var Ke=dn.svgSpan(c,e),Xe=-e.fontMetrics().axisHeight+.5*Ke.height,Kt=-e.fontMetrics().axisHeight-.5*Ke.height-.111;(O.depth>.25||c.label==="\\xleftequilibrium")&&(Kt-=O.depth);var ur;if(Ce){var xr=-e.fontMetrics().axisHeight+Ce.height+.5*Ke.height+.111;ur=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Kt},{type:"elem",elem:Ke,shift:Xe},{type:"elem",elem:Ce,shift:xr}]},e)}else ur=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:O,shift:Kt},{type:"elem",elem:Ke,shift:Xe}]},e);return ur.children[0].children[0].children[1].classes.push("svg-align"),T.makeSpan(["mrel","x-arrow"],[ur],e)},mathmlBuilder(c,e){var t=dn.mathMLnode(c.label);t.setAttribute("minsize",c.label.charAt(0)==="x"?"1.75em":"3.0em");var d;if(c.body){var O=La(fr(c.body,e));if(c.below){var V=La(fr(c.below,e));d=new Wt.MathNode("munderover",[t,V,O])}else d=new Wt.MathNode("mover",[t,O])}else if(c.below){var Ce=La(fr(c.below,e));d=new Wt.MathNode("munder",[t,Ce])}else d=La(),d=new Wt.MathNode("mover",[t,d]);return d}});var na=T.makeSpan;function kn(c,e){var t=Mt(c.body,e,!0);return na([c.mclass],t,e)}function aa(c,e){var t,d=Yt(c.body,e);return c.mclass==="minner"?t=new Wt.MathNode("mpadded",d):c.mclass==="mord"?c.isCharacterBox?(t=d[0],t.type="mi"):t=new Wt.MathNode("mi",d):(c.isCharacterBox?(t=d[0],t.type="mo"):t=new Wt.MathNode("mo",d),c.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):c.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):c.mclass==="mopen"||c.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):c.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Ge({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];return{type:"mclass",mode:t.mode,mclass:"m"+d.slice(5),body:ar(O),isCharacterBox:I.isCharacterBox(O)}},htmlBuilder:kn,mathmlBuilder:aa});var Fn=c=>{var e=c.type==="ordgroup"&&c.body.length?c.body[0]:c;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};Ge({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(c,e){var{parser:t}=c;return{type:"mclass",mode:t.mode,mclass:Fn(e[0]),body:ar(e[1]),isCharacterBox:I.isCharacterBox(e[1])}}}),Ge({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(c,e){var{parser:t,funcName:d}=c,O=e[1],V=e[0],Ce;d!=="\\stackrel"?Ce=Fn(O):Ce="mrel";var Ke={type:"op",mode:O.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:d!=="\\stackrel",body:ar(O)},Xe={type:"supsub",mode:V.mode,base:Ke,sup:d==="\\underset"?null:V,sub:d==="\\underset"?V:null};return{type:"mclass",mode:t.mode,mclass:Ce,body:[Xe],isCharacterBox:I.isCharacterBox(Xe)}},htmlBuilder:kn,mathmlBuilder:aa}),Ge({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(c,e){var{parser:t}=c;return{type:"pmb",mode:t.mode,mclass:Fn(e[0]),body:ar(e[0])}},htmlBuilder(c,e){var t=Mt(c.body,e,!0),d=T.makeSpan([c.mclass],t,e);return d.style.textShadow="0.02em 0.01em 0.04px",d},mathmlBuilder(c,e){var t=Yt(c.body,e),d=new Wt.MathNode("mstyle",t);return d.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),d}});var Ln={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Xn=()=>({type:"styling",body:[],mode:"math",style:"display"}),Qr=c=>c.type==="textord"&&c.text==="@",mn=(c,e)=>(c.type==="mathord"||c.type==="atom")&&c.text===e;function ca(c,e,t){var d=Ln[c];switch(d){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(d,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var O=t.callFunction("\\\\cdleft",[e[0]],[]),V={type:"atom",text:d,mode:"math",family:"rel"},Ce=t.callFunction("\\Big",[V],[]),Ke=t.callFunction("\\\\cdright",[e[1]],[]),Xe={type:"ordgroup",mode:"math",body:[O,Ce,Ke]};return t.callFunction("\\\\cdparent",[Xe],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var Kt={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[Kt],[])}default:return{type:"textord",text:" ",mode:"math"}}}function En(c){var e=[];for(c.gullet.beginGroup(),c.gullet.macros.set("\\cr","\\\\\\relax"),c.gullet.beginGroup();;){e.push(c.parseExpression(!1,"\\\\")),c.gullet.endGroup(),c.gullet.beginGroup();var t=c.fetch().text;if(t==="&"||t==="\\\\")c.consume();else if(t==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new J("Expected \\\\ or \\cr or \\end",c.nextToken)}for(var d=[],O=[d],V=0;V<e.length;V++){for(var Ce=e[V],Ke=Xn(),Xe=0;Xe<Ce.length;Xe++)if(!Qr(Ce[Xe]))Ke.body.push(Ce[Xe]);else{d.push(Ke),Xe+=1;var Kt=sa(Ce[Xe]).text,ur=new Array(2);if(ur[0]={type:"ordgroup",mode:"math",body:[]},ur[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(Kt)>-1))if("<>AV".indexOf(Kt)>-1)for(var xr=0;xr<2;xr++){for(var Fr=!0,Hr=Xe+1;Hr<Ce.length;Hr++){if(mn(Ce[Hr],Kt)){Fr=!1,Xe=Hr;break}if(Qr(Ce[Hr]))throw new J("Missing a "+Kt+" character to complete a CD arrow.",Ce[Hr]);ur[xr].body.push(Ce[Hr])}if(Fr)throw new J("Missing a "+Kt+" character to complete a CD arrow.",Ce[Xe])}else throw new J('Expected one of "<>AV=|." after @',Ce[Xe]);var un=ca(Kt,ur,c),bn={type:"styling",body:[un],mode:"math",style:"display"};d.push(bn),Ke=Xn()}V%2===0?d.push(Ke):d.shift(),d=[],O.push(d)}c.gullet.endGroup(),c.gullet.endGroup();var Nn=new Array(O[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:O,arraystretch:1,addJot:!0,rowGaps:[null],cols:Nn,colSeparationType:"CD",hLinesBeforeRow:new Array(O.length+1).fill([])}}Ge({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(c,e){var{parser:t,funcName:d}=c;return{type:"cdlabel",mode:t.mode,side:d.slice(4),label:e[0]}},htmlBuilder(c,e){var t=e.havingStyle(e.style.sup()),d=T.wrapFragment(ct(c.label,t,e),e);return d.classes.push("cd-label-"+c.side),d.style.bottom=Et(.8-d.depth),d.height=0,d.depth=0,d},mathmlBuilder(c,e){var t=new Wt.MathNode("mrow",[fr(c.label,e)]);return t=new Wt.MathNode("mpadded",[t]),t.setAttribute("width","0"),c.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Wt.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}}),Ge({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(c,e){var{parser:t}=c;return{type:"cdlabelparent",mode:t.mode,fragment:e[0]}},htmlBuilder(c,e){var t=T.wrapFragment(ct(c.fragment,e),e);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(c,e){return new Wt.MathNode("mrow",[fr(c.fragment,e)])}}),Ge({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(c,e){for(var{parser:t}=c,d=Gr(e[0],"ordgroup"),O=d.body,V="",Ce=0;Ce<O.length;Ce++){var Ke=Gr(O[Ce],"textord");V+=Ke.text}var Xe=parseInt(V),Kt;if(isNaN(Xe))throw new J("\\@char has non-numeric argument "+V);if(Xe<0||Xe>=1114111)throw new J("\\@char with invalid code point "+V);return Xe<=65535?Kt=String.fromCharCode(Xe):(Xe-=65536,Kt=String.fromCharCode((Xe>>10)+55296,(Xe&1023)+56320)),{type:"textord",mode:t.mode,text:Kt}}});var ha=(c,e)=>{var t=Mt(c.body,e.withColor(c.color),!1);return T.makeFragment(t)},Zn=(c,e)=>{var t=Yt(c.body,e.withColor(c.color)),d=new Wt.MathNode("mstyle",t);return d.setAttribute("mathcolor",c.color),d};Ge({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(c,e){var{parser:t}=c,d=Gr(e[0],"color-token").color,O=e[1];return{type:"color",mode:t.mode,color:d,body:ar(O)}},htmlBuilder:ha,mathmlBuilder:Zn}),Ge({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(c,e){var{parser:t,breakOnTokenText:d}=c,O=Gr(e[0],"color-token").color;t.gullet.macros.set("\\current@color",O);var V=t.parseExpression(!0,d);return{type:"color",mode:t.mode,color:O,body:V}},htmlBuilder:ha,mathmlBuilder:Zn}),Ge({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(c,e,t){var{parser:d}=c,O=d.gullet.future().text==="["?d.parseSizeGroup(!0):null,V=!d.settings.displayMode||!d.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:d.mode,newLine:V,size:O&&Gr(O,"size").value}},htmlBuilder(c,e){var t=T.makeSpan(["mspace"],[],e);return c.newLine&&(t.classes.push("newline"),c.size&&(t.style.marginTop=Et(Ht(c.size,e)))),t},mathmlBuilder(c,e){var t=new Wt.MathNode("mspace");return c.newLine&&(t.setAttribute("linebreak","newline"),c.size&&t.setAttribute("height",Et(Ht(c.size,e)))),t}});var Ha={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qa=c=>{var e=c.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new J("Expected a control sequence",c);return e},Cn=c=>{var e=c.gullet.popToken();return e.text==="="&&(e=c.gullet.popToken(),e.text===" "&&(e=c.gullet.popToken())),e},jn=(c,e,t,d)=>{var O=c.gullet.macros.get(t.text);O==null&&(t.noexpand=!0,O={tokens:[t],numArgs:0,unexpandable:!c.gullet.isExpandable(t.text)}),c.gullet.macros.set(e,O,d)};Ge({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(c){var{parser:e,funcName:t}=c;e.consumeSpaces();var d=e.fetch();if(Ha[d.text])return(t==="\\global"||t==="\\\\globallong")&&(d.text=Ha[d.text]),Gr(e.parseFunction(),"internal");throw new J("Invalid token after macro prefix",d)}}),Ge({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:t}=c,d=e.gullet.popToken(),O=d.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(O))throw new J("Expected a control sequence",d);for(var V=0,Ce,Ke=[[]];e.gullet.future().text!=="{";)if(d=e.gullet.popToken(),d.text==="#"){if(e.gullet.future().text==="{"){Ce=e.gullet.future(),Ke[V].push("{");break}if(d=e.gullet.popToken(),!/^[1-9]$/.test(d.text))throw new J('Invalid argument number "'+d.text+'"');if(parseInt(d.text)!==V+1)throw new J('Argument number "'+d.text+'" out of order');V++,Ke.push([])}else{if(d.text==="EOF")throw new J("Expected a macro definition");Ke[V].push(d.text)}var{tokens:Xe}=e.gullet.consumeArg();return Ce&&Xe.unshift(Ce),(t==="\\edef"||t==="\\xdef")&&(Xe=e.gullet.expandTokens(Xe),Xe.reverse()),e.gullet.macros.set(O,{tokens:Xe,numArgs:V,delimiters:Ke},t===Ha[t]),{type:"internal",mode:e.mode}}}),Ge({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:t}=c,d=qa(e.gullet.popToken());e.gullet.consumeSpaces();var O=Cn(e);return jn(e,d,O,t==="\\\\globallet"),{type:"internal",mode:e.mode}}}),Ge({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c){var{parser:e,funcName:t}=c,d=qa(e.gullet.popToken()),O=e.gullet.popToken(),V=e.gullet.popToken();return jn(e,d,V,t==="\\\\globalfuture"),e.gullet.pushToken(V),e.gullet.pushToken(O),{type:"internal",mode:e.mode}}});var fa=function(e,t,d){var O=Br.math[e]&&Br.math[e].replace,V=Le(O||e,t,d);if(!V)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return V},Ja=function(e,t,d,O){var V=d.havingBaseStyle(t),Ce=T.makeSpan(O.concat(V.sizingClasses(d)),[e],d),Ke=V.sizeMultiplier/d.sizeMultiplier;return Ce.height*=Ke,Ce.depth*=Ke,Ce.maxFontSize=V.sizeMultiplier,Ce},Ka=function(e,t,d){var O=t.havingBaseStyle(d),V=(1-t.sizeMultiplier/O.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=Et(V),e.height-=V,e.depth+=V},co=function(e,t,d,O,V,Ce){var Ke=T.makeSymbol(e,"Main-Regular",V,O),Xe=Ja(Ke,t,O,Ce);return d&&Ka(Xe,O,t),Xe},uo=function(e,t,d,O){return T.makeSymbol(e,"Size"+t+"-Regular",d,O)},ma=function(e,t,d,O,V,Ce){var Ke=uo(e,t,V,O),Xe=Ja(T.makeSpan(["delimsizing","size"+t],[Ke],O),k.TEXT,O,Ce);return d&&Ka(Xe,O,k.TEXT),Xe},Eo=function(e,t,d){var O;t==="Size1-Regular"?O="delim-size1":O="delim-size4";var V=T.makeSpan(["delimsizinginner",O],[T.makeSpan([],[T.makeSymbol(e,t,d)])]);return{type:"elem",elem:V}},ja=function(e,t,d){var O=he["Size4-Regular"][e.charCodeAt(0)]?he["Size4-Regular"][e.charCodeAt(0)][4]:he["Size1-Regular"][e.charCodeAt(0)][4],V=new Ar("inner",j(e,Math.round(1e3*t))),Ce=new zr([V],{width:Et(O),height:Et(t),style:"width:"+Et(O),viewBox:"0 0 "+1e3*O+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),Ke=T.makeSvgSpan([],[Ce],d);return Ke.height=t,Ke.style.height=Et(t),Ke.style.width=Et(O),{type:"elem",elem:Ke}},Ta=.008,Na={type:"kern",size:-1*Ta},Ba=["|","\\lvert","\\rvert","\\vert"],Wa=["\\|","\\lVert","\\rVert","\\Vert"],va=function(e,t,d,O,V,Ce){var Ke,Xe,Kt,ur,xr="",Fr=0;Ke=Kt=ur=e,Xe=null;var Hr="Size1-Regular";e==="\\uparrow"?Kt=ur="\u23D0":e==="\\Uparrow"?Kt=ur="\u2016":e==="\\downarrow"?Ke=Kt="\u23D0":e==="\\Downarrow"?Ke=Kt="\u2016":e==="\\updownarrow"?(Ke="\\uparrow",Kt="\u23D0",ur="\\downarrow"):e==="\\Updownarrow"?(Ke="\\Uparrow",Kt="\u2016",ur="\\Downarrow"):I.contains(Ba,e)?(Kt="\u2223",xr="vert",Fr=333):I.contains(Wa,e)?(Kt="\u2225",xr="doublevert",Fr=556):e==="["||e==="\\lbrack"?(Ke="\u23A1",Kt="\u23A2",ur="\u23A3",Hr="Size4-Regular",xr="lbrack",Fr=667):e==="]"||e==="\\rbrack"?(Ke="\u23A4",Kt="\u23A5",ur="\u23A6",Hr="Size4-Regular",xr="rbrack",Fr=667):e==="\\lfloor"||e==="\u230A"?(Kt=Ke="\u23A2",ur="\u23A3",Hr="Size4-Regular",xr="lfloor",Fr=667):e==="\\lceil"||e==="\u2308"?(Ke="\u23A1",Kt=ur="\u23A2",Hr="Size4-Regular",xr="lceil",Fr=667):e==="\\rfloor"||e==="\u230B"?(Kt=Ke="\u23A5",ur="\u23A6",Hr="Size4-Regular",xr="rfloor",Fr=667):e==="\\rceil"||e==="\u2309"?(Ke="\u23A4",Kt=ur="\u23A5",Hr="Size4-Regular",xr="rceil",Fr=667):e==="("||e==="\\lparen"?(Ke="\u239B",Kt="\u239C",ur="\u239D",Hr="Size4-Regular",xr="lparen",Fr=875):e===")"||e==="\\rparen"?(Ke="\u239E",Kt="\u239F",ur="\u23A0",Hr="Size4-Regular",xr="rparen",Fr=875):e==="\\{"||e==="\\lbrace"?(Ke="\u23A7",Xe="\u23A8",ur="\u23A9",Kt="\u23AA",Hr="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(Ke="\u23AB",Xe="\u23AC",ur="\u23AD",Kt="\u23AA",Hr="Size4-Regular"):e==="\\lgroup"||e==="\u27EE"?(Ke="\u23A7",ur="\u23A9",Kt="\u23AA",Hr="Size4-Regular"):e==="\\rgroup"||e==="\u27EF"?(Ke="\u23AB",ur="\u23AD",Kt="\u23AA",Hr="Size4-Regular"):e==="\\lmoustache"||e==="\u23B0"?(Ke="\u23A7",ur="\u23AD",Kt="\u23AA",Hr="Size4-Regular"):(e==="\\rmoustache"||e==="\u23B1")&&(Ke="\u23AB",ur="\u23A9",Kt="\u23AA",Hr="Size4-Regular");var un=fa(Ke,Hr,V),bn=un.height+un.depth,Nn=fa(Kt,Hr,V),Mn=Nn.height+Nn.depth,oa=fa(ur,Hr,V),ya=oa.height+oa.depth,Ua=0,Pa=1;if(Xe!==null){var Oa=fa(Xe,Hr,V);Ua=Oa.height+Oa.depth,Pa=2}var Ga=bn+ya+Ua,Ya=Math.max(0,Math.ceil((t-Ga)/(Pa*Mn))),Ra=Ga+Ya*Pa*Mn,qo=O.fontMetrics().axisHeight;d&&(qo*=O.sizeMultiplier);var Io=Ra/2-qo,go=[];if(xr.length>0){var Jo=Ra-bn-ya,$o=Math.round(Ra*1e3),Ho=be(xr,Math.round(Jo*1e3)),ei=new Ar(xr,Ho),Si=(Fr/1e3).toFixed(3)+"em",fi=($o/1e3).toFixed(3)+"em",es=new zr([ei],{width:Si,height:fi,viewBox:"0 0 "+Fr+" "+$o}),Do=T.makeSvgSpan([],[es],O);Do.height=$o/1e3,Do.style.width=Si,Do.style.height=fi,go.push({type:"elem",elem:Do})}else{if(go.push(Eo(ur,Hr,V)),go.push(Na),Xe===null){var Go=Ra-bn-ya+2*Ta;go.push(ja(Kt,Go,O))}else{var Fa=(Ra-bn-ya-Ua)/2+2*Ta;go.push(ja(Kt,Fa,O)),go.push(Na),go.push(Eo(Xe,Hr,V)),go.push(Na),go.push(ja(Kt,Fa,O))}go.push(Na),go.push(Eo(Ke,Hr,V))}var oo=O.havingBaseStyle(k.TEXT),Co=T.makeVList({positionType:"bottom",positionData:Io,children:go},oo);return Ja(T.makeSpan(["delimsizing","mult"],[Co],oo),k.TEXT,O,Ce)},_a=80,Da=.08,Xa=function(e,t,d,O,V){var Ce=Fe(e,O,d),Ke=new Ar(e,Ce),Xe=new zr([Ke],{width:"400em",height:Et(t),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});return T.makeSvgSpan(["hide-tail"],[Xe],V)},no=function(e,t){var d=t.havingBaseSizing(),O=ko("\\surd",e*d.sizeMultiplier,vo,d),V=d.sizeMultiplier,Ce=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),Ke,Xe=0,Kt=0,ur=0,xr;return O.type==="small"?(ur=1e3+1e3*Ce+_a,e<1?V=1:e<1.4&&(V=.7),Xe=(1+Ce+Da)/V,Kt=(1+Ce)/V,Ke=Xa("sqrtMain",Xe,ur,Ce,t),Ke.style.minWidth="0.853em",xr=.833/V):O.type==="large"?(ur=(1e3+_a)*Ma[O.size],Kt=(Ma[O.size]+Ce)/V,Xe=(Ma[O.size]+Ce+Da)/V,Ke=Xa("sqrtSize"+O.size,Xe,ur,Ce,t),Ke.style.minWidth="1.02em",xr=1/V):(Xe=e+Ce+Da,Kt=e+Ce,ur=Math.floor(1e3*e+Ce)+_a,Ke=Xa("sqrtTall",Xe,ur,Ce,t),Ke.style.minWidth="0.742em",xr=1.056),Ke.height=Kt,Ke.style.height=Et(Xe),{span:Ke,advanceWidth:xr,ruleWidth:(t.fontMetrics().sqrtRuleThickness+Ce)*V}},lo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ao=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],Po=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ma=[0,1.2,1.8,2.4,3],Wo=function(e,t,d,O,V){if(e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle"),I.contains(lo,e)||I.contains(Po,e))return ma(e,t,!1,d,O,V);if(I.contains(Ao,e))return va(e,Ma[t],!1,d,O,V);throw new J("Illegal delimiter: '"+e+"'")},ho=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],jo=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"stack"}],vo=[{type:"small",style:k.SCRIPTSCRIPT},{type:"small",style:k.SCRIPT},{type:"small",style:k.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],vi=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.")},ko=function(e,t,d,O){for(var V=Math.min(2,3-O.style.size),Ce=V;Ce<d.length&&d[Ce].type!=="stack";Ce++){var Ke=fa(e,vi(d[Ce]),"math"),Xe=Ke.height+Ke.depth;if(d[Ce].type==="small"){var Kt=O.havingBaseStyle(d[Ce].style);Xe*=Kt.sizeMultiplier}if(Xe>t)return d[Ce]}return d[d.length-1]},Qo=function(e,t,d,O,V,Ce){e==="<"||e==="\\lt"||e==="\u27E8"?e="\\langle":(e===">"||e==="\\gt"||e==="\u27E9")&&(e="\\rangle");var Ke;I.contains(Po,e)?Ke=ho:I.contains(lo,e)?Ke=vo:Ke=jo;var Xe=ko(e,t,Ke,O);return Xe.type==="small"?co(e,Xe.style,d,O,V,Ce):Xe.type==="large"?ma(e,Xe.size,d,O,V,Ce):va(e,t,d,O,V,Ce)},Ei=function(e,t,d,O,V,Ce){var Ke=O.fontMetrics().axisHeight*O.sizeMultiplier,Xe=901,Kt=5/O.fontMetrics().ptPerEm,ur=Math.max(t-Ke,d+Ke),xr=Math.max(ur/500*Xe,2*ur-Kt);return Qo(e,xr,!0,O,V,Ce)},Lo={sqrtImage:no,sizedDelim:Wo,sizeToMaxHeight:Ma,customSizedDelim:Qo,leftRightDelim:Ei},Uo={"\\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}},ki=["(","\\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 bi(c,e){var t=Vn(c);if(t&&I.contains(ki,t.text))return t;throw t?new J("Invalid delimiter '"+t.text+"' after '"+e.funcName+"'",c):new J("Invalid delimiter type '"+c.type+"'",c)}Ge({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:(c,e)=>{var t=bi(e[0],c);return{type:"delimsizing",mode:c.parser.mode,size:Uo[c.funcName].size,mclass:Uo[c.funcName].mclass,delim:t.text}},htmlBuilder:(c,e)=>c.delim==="."?T.makeSpan([c.mclass]):Lo.sizedDelim(c.delim,c.size,e,c.mode,[c.mclass]),mathmlBuilder:c=>{var e=[];c.delim!=="."&&e.push(Pe(c.delim,c.mode));var t=new Wt.MathNode("mo",e);c.mclass==="mopen"||c.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var d=Et(Lo.sizeToMaxHeight[c.size]);return t.setAttribute("minsize",d),t.setAttribute("maxsize",d),t}});function yi(c){if(!c.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ge({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var t=c.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new J("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:c.parser.mode,delim:bi(e[0],c).text,color:t}}}),Ge({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var t=bi(e[0],c),d=c.parser;++d.leftrightDepth;var O=d.parseExpression(!1);--d.leftrightDepth,d.expect("\\right",!1);var V=Gr(d.parseFunction(),"leftright-right");return{type:"leftright",mode:d.mode,body:O,left:t.text,right:V.delim,rightColor:V.color}},htmlBuilder:(c,e)=>{yi(c);for(var t=Mt(c.body,e,!0,["mopen","mclose"]),d=0,O=0,V=!1,Ce=0;Ce<t.length;Ce++)t[Ce].isMiddle?V=!0:(d=Math.max(t[Ce].height,d),O=Math.max(t[Ce].depth,O));d*=e.sizeMultiplier,O*=e.sizeMultiplier;var Ke;if(c.left==="."?Ke=St(e,["mopen"]):Ke=Lo.leftRightDelim(c.left,d,O,e,c.mode,["mopen"]),t.unshift(Ke),V)for(var Xe=1;Xe<t.length;Xe++){var Kt=t[Xe],ur=Kt.isMiddle;ur&&(t[Xe]=Lo.leftRightDelim(ur.delim,d,O,ur.options,c.mode,[]))}var xr;if(c.right===".")xr=St(e,["mclose"]);else{var Fr=c.rightColor?e.withColor(c.rightColor):e;xr=Lo.leftRightDelim(c.right,d,O,Fr,c.mode,["mclose"])}return t.push(xr),T.makeSpan(["minner"],t,e)},mathmlBuilder:(c,e)=>{yi(c);var t=Yt(c.body,e);if(c.left!=="."){var d=new Wt.MathNode("mo",[Pe(c.left,c.mode)]);d.setAttribute("fence","true"),t.unshift(d)}if(c.right!=="."){var O=new Wt.MathNode("mo",[Pe(c.right,c.mode)]);O.setAttribute("fence","true"),c.rightColor&&O.setAttribute("mathcolor",c.rightColor),t.push(O)}return vt(t)}}),Ge({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var t=bi(e[0],c);if(!c.parser.leftrightDepth)throw new J("\\middle without preceding \\left",t);return{type:"middle",mode:c.parser.mode,delim:t.text}},htmlBuilder:(c,e)=>{var t;if(c.delim===".")t=St(e,[]);else{t=Lo.sizedDelim(c.delim,1,e,c.mode,[]);var d={delim:c.delim,options:e};t.isMiddle=d}return t},mathmlBuilder:(c,e)=>{var t=c.delim==="\\vert"||c.delim==="|"?Pe("|","text"):Pe(c.delim,c.mode),d=new Wt.MathNode("mo",[t]);return d.setAttribute("fence","true"),d.setAttribute("lspace","0.05em"),d.setAttribute("rspace","0.05em"),d}});var xi=(c,e)=>{var t=T.wrapFragment(ct(c.body,e),e),d=c.label.slice(1),O=e.sizeMultiplier,V,Ce=0,Ke=I.isCharacterBox(c.body);if(d==="sout")V=T.makeSpan(["stretchy","sout"]),V.height=e.fontMetrics().defaultRuleThickness/O,Ce=-.5*e.fontMetrics().xHeight;else if(d==="phase"){var Xe=Ht({number:.6,unit:"pt"},e),Kt=Ht({number:.35,unit:"ex"},e),ur=e.havingBaseSizing();O=O/ur.sizeMultiplier;var xr=t.height+t.depth+Xe+Kt;t.style.paddingLeft=Et(xr/2+Xe);var Fr=Math.floor(1e3*xr*O),Hr=Ct(Fr),un=new zr([new Ar("phase",Hr)],{width:"400em",height:Et(Fr/1e3),viewBox:"0 0 400000 "+Fr,preserveAspectRatio:"xMinYMin slice"});V=T.makeSvgSpan(["hide-tail"],[un],e),V.style.height=Et(xr),Ce=t.depth+Xe+Kt}else{/cancel/.test(d)?Ke||t.classes.push("cancel-pad"):d==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var bn=0,Nn=0,Mn=0;/box/.test(d)?(Mn=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),bn=e.fontMetrics().fboxsep+(d==="colorbox"?0:Mn),Nn=bn):d==="angl"?(Mn=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),bn=4*Mn,Nn=Math.max(0,.25-t.depth)):(bn=Ke?.2:0,Nn=bn),V=dn.encloseSpan(t,d,bn,Nn,e),/fbox|boxed|fcolorbox/.test(d)?(V.style.borderStyle="solid",V.style.borderWidth=Et(Mn)):d==="angl"&&Mn!==.049&&(V.style.borderTopWidth=Et(Mn),V.style.borderRightWidth=Et(Mn)),Ce=t.depth+Nn,c.backgroundColor&&(V.style.backgroundColor=c.backgroundColor,c.borderColor&&(V.style.borderColor=c.borderColor))}var oa;if(c.backgroundColor)oa=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:V,shift:Ce},{type:"elem",elem:t,shift:0}]},e);else{var ya=/cancel|phase/.test(d)?["svg-align"]:[];oa=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:V,shift:Ce,wrapperClasses:ya}]},e)}return/cancel/.test(d)&&(oa.height=t.height,oa.depth=t.depth),/cancel/.test(d)&&!Ke?T.makeSpan(["mord","cancel-lap"],[oa],e):T.makeSpan(["mord"],[oa],e)},Ii=(c,e)=>{var t=0,d=new Wt.MathNode(c.label.indexOf("colorbox")>-1?"mpadded":"menclose",[fr(c.body,e)]);switch(c.label){case"\\cancel":d.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":d.setAttribute("notation","downdiagonalstrike");break;case"\\phase":d.setAttribute("notation","phasorangle");break;case"\\sout":d.setAttribute("notation","horizontalstrike");break;case"\\fbox":d.setAttribute("notation","box");break;case"\\angl":d.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,d.setAttribute("width","+"+2*t+"pt"),d.setAttribute("height","+"+2*t+"pt"),d.setAttribute("lspace",t+"pt"),d.setAttribute("voffset",t+"pt"),c.label==="\\fcolorbox"){var O=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);d.setAttribute("style","border: "+O+"em solid "+String(c.borderColor))}break;case"\\xcancel":d.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return c.backgroundColor&&d.setAttribute("mathbackground",c.backgroundColor),d};Ge({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(c,e,t){var{parser:d,funcName:O}=c,V=Gr(e[0],"color-token").color,Ce=e[1];return{type:"enclose",mode:d.mode,label:O,backgroundColor:V,body:Ce}},htmlBuilder:xi,mathmlBuilder:Ii}),Ge({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(c,e,t){var{parser:d,funcName:O}=c,V=Gr(e[0],"color-token").color,Ce=Gr(e[1],"color-token").color,Ke=e[2];return{type:"enclose",mode:d.mode,label:O,backgroundColor:Ce,borderColor:V,body:Ke}},htmlBuilder:xi,mathmlBuilder:Ii}),Ge({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(c,e){var{parser:t}=c;return{type:"enclose",mode:t.mode,label:"\\fbox",body:e[0]}}}),Ge({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];return{type:"enclose",mode:t.mode,label:d,body:O}},htmlBuilder:xi,mathmlBuilder:Ii}),Ge({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(c,e){var{parser:t}=c;return{type:"enclose",mode:t.mode,label:"\\angl",body:e[0]}}});var Aa={};function $a(c){for(var{type:e,names:t,props:d,handler:O,htmlBuilder:V,mathmlBuilder:Ce}=c,Ke={type:e,numArgs:d.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:O},Xe=0;Xe<t.length;++Xe)Aa[t[Xe]]=Ke;V&&(ve[e]=V),Ce&&(kt[e]=Ce)}var fo={};function Ue(c,e){fo[c]=e}function No(c){var e=[];c.consumeSpaces();var t=c.fetch().text;for(t==="\\relax"&&(c.consume(),c.consumeSpaces(),t=c.fetch().text);t==="\\hline"||t==="\\hdashline";)c.consume(),e.push(t==="\\hdashline"),c.consumeSpaces(),t=c.fetch().text;return e}var Mo=c=>{var e=c.parser.settings;if(!e.displayMode)throw new J("{"+c.envName+"} can be used only in display mode.")};function yo(c){if(c.indexOf("ed")===-1)return c.indexOf("*")===-1}function ao(c,e,t){var{hskipBeforeAndAfter:d,addJot:O,cols:V,arraystretch:Ce,colSeparationType:Ke,autoTag:Xe,singleRow:Kt,emptySingleRow:ur,maxNumCols:xr,leqno:Fr}=e;if(c.gullet.beginGroup(),Kt||c.gullet.macros.set("\\cr","\\\\\\relax"),!Ce){var Hr=c.gullet.expandMacroAsText("\\arraystretch");if(Hr==null)Ce=1;else if(Ce=parseFloat(Hr),!Ce||Ce<0)throw new J("Invalid \\arraystretch: "+Hr)}c.gullet.beginGroup();var un=[],bn=[un],Nn=[],Mn=[],oa=Xe!=null?[]:void 0;function ya(){Xe&&c.gullet.macros.set("\\@eqnsw","1",!0)}function Ua(){oa&&(c.gullet.macros.get("\\df@tag")?(oa.push(c.subparse([new Re("\\df@tag")])),c.gullet.macros.set("\\df@tag",void 0,!0)):oa.push(!!Xe&&c.gullet.macros.get("\\@eqnsw")==="1"))}for(ya(),Mn.push(No(c));;){var Pa=c.parseExpression(!1,Kt?"\\end":"\\\\");c.gullet.endGroup(),c.gullet.beginGroup(),Pa={type:"ordgroup",mode:c.mode,body:Pa},t&&(Pa={type:"styling",mode:c.mode,style:t,body:[Pa]}),un.push(Pa);var Oa=c.fetch().text;if(Oa==="&"){if(xr&&un.length===xr){if(Kt||Ke)throw new J("Too many tab characters: &",c.nextToken);c.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}c.consume()}else if(Oa==="\\end"){Ua(),un.length===1&&Pa.type==="styling"&&Pa.body[0].body.length===0&&(bn.length>1||!ur)&&bn.pop(),Mn.length<bn.length+1&&Mn.push([]);break}else if(Oa==="\\\\"){c.consume();var Ga=void 0;c.gullet.future().text!==" "&&(Ga=c.parseSizeGroup(!0)),Nn.push(Ga?Ga.value:null),Ua(),Mn.push(No(c)),un=[],bn.push(un),ya()}else throw new J("Expected & or \\\\ or \\cr or \\end",c.nextToken)}return c.gullet.endGroup(),c.gullet.endGroup(),{type:"array",mode:c.mode,addJot:O,arraystretch:Ce,body:bn,cols:V,rowGaps:Nn,hskipBeforeAndAfter:d,hLinesBeforeRow:Mn,colSeparationType:Ke,tags:oa,leqno:Fr}}function Zo(c){return c.slice(0,1)==="d"?"display":"text"}var zo=function(e,t){var d,O,V=e.body.length,Ce=e.hLinesBeforeRow,Ke=0,Xe=new Array(V),Kt=[],ur=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),xr=1/t.fontMetrics().ptPerEm,Fr=5*xr;if(e.colSeparationType&&e.colSeparationType==="small"){var Hr=t.havingStyle(k.SCRIPT).sizeMultiplier;Fr=.2778*(Hr/t.sizeMultiplier)}var un=e.colSeparationType==="CD"?Ht({number:3,unit:"ex"},t):12*xr,bn=3*xr,Nn=e.arraystretch*un,Mn=.7*Nn,oa=.3*Nn,ya=0;function Ua(Ds){for(var Rs=0;Rs<Ds.length;++Rs)Rs>0&&(ya+=.25),Kt.push({pos:ya,isDashed:Ds[Rs]})}for(Ua(Ce[0]),d=0;d<e.body.length;++d){var Pa=e.body[d],Oa=Mn,Ga=oa;Ke<Pa.length&&(Ke=Pa.length);var Ya=new Array(Pa.length);for(O=0;O<Pa.length;++O){var Ra=ct(Pa[O],t);Ga<Ra.depth&&(Ga=Ra.depth),Oa<Ra.height&&(Oa=Ra.height),Ya[O]=Ra}var qo=e.rowGaps[d],Io=0;qo&&(Io=Ht(qo,t),Io>0&&(Io+=oa,Ga<Io&&(Ga=Io),Io=0)),e.addJot&&(Ga+=bn),Ya.height=Oa,Ya.depth=Ga,ya+=Oa,Ya.pos=ya,ya+=Ga+Io,Xe[d]=Ya,Ua(Ce[d+1])}var go=ya/2+t.fontMetrics().axisHeight,Jo=e.cols||[],$o=[],Ho,ei,Si=[];if(e.tags&&e.tags.some(Ds=>Ds))for(d=0;d<V;++d){var fi=Xe[d],es=fi.pos-go,Do=e.tags[d],Go=void 0;Do===!0?Go=T.makeSpan(["eqn-num"],[],t):Do===!1?Go=T.makeSpan([],[],t):Go=T.makeSpan([],Mt(Do,t,!0),t),Go.depth=fi.depth,Go.height=fi.height,Si.push({type:"elem",elem:Go,shift:es})}for(O=0,ei=0;O<Ke||ei<Jo.length;++O,++ei){for(var Fa=Jo[ei]||{},oo=!0;Fa.type==="separator";){if(oo||(Ho=T.makeSpan(["arraycolsep"],[]),Ho.style.width=Et(t.fontMetrics().doubleRuleSep),$o.push(Ho)),Fa.separator==="|"||Fa.separator===":"){var Co=Fa.separator==="|"?"solid":"dashed",wo=T.makeSpan(["vertical-separator"],[],t);wo.style.height=Et(ya),wo.style.borderRightWidth=Et(ur),wo.style.borderRightStyle=Co,wo.style.margin="0 "+Et(-ur/2);var Ki=ya-go;Ki&&(wo.style.verticalAlign=Et(-Ki)),$o.push(wo)}else throw new J("Invalid separator type: "+Fa.separator);ei++,Fa=Jo[ei]||{},oo=!1}if(!(O>=Ke)){var _i=void 0;(O>0||e.hskipBeforeAndAfter)&&(_i=I.deflt(Fa.pregap,Fr),_i!==0&&(Ho=T.makeSpan(["arraycolsep"],[]),Ho.style.width=Et(_i),$o.push(Ho)));var Ti=[];for(d=0;d<V;++d){var gs=Xe[d],zs=gs[O];if(zs){var Xs=gs.pos-go;zs.depth=gs.depth,zs.height=gs.height,Ti.push({type:"elem",elem:zs,shift:Xs})}}Ti=T.makeVList({positionType:"individualShift",children:Ti},t),Ti=T.makeSpan(["col-align-"+(Fa.align||"c")],[Ti]),$o.push(Ti),(O<Ke-1||e.hskipBeforeAndAfter)&&(_i=I.deflt(Fa.postgap,Fr),_i!==0&&(Ho=T.makeSpan(["arraycolsep"],[]),Ho.style.width=Et(_i),$o.push(Ho)))}}if(Xe=T.makeSpan(["mtable"],$o),Kt.length>0){for(var Ys=T.makeLineSpan("hline",t,ur),qs=T.makeLineSpan("hdashline",t,ur),ks=[{type:"elem",elem:Xe,shift:0}];Kt.length>0;){var Us=Kt.pop(),$s=Us.pos-go;Us.isDashed?ks.push({type:"elem",elem:qs,shift:$s}):ks.push({type:"elem",elem:Ys,shift:$s})}Xe=T.makeVList({positionType:"individualShift",children:ks},t)}if(Si.length===0)return T.makeSpan(["mord"],[Xe],t);var Hs=T.makeVList({positionType:"individualShift",children:Si},t);return Hs=T.makeSpan(["tag"],[Hs],t),T.makeFragment([Xe,Hs])},xo={c:"center ",l:"left ",r:"right "},Vo=function(e,t){for(var d=[],O=new Wt.MathNode("mtd",[],["mtr-glue"]),V=new Wt.MathNode("mtd",[],["mml-eqn-num"]),Ce=0;Ce<e.body.length;Ce++){for(var Ke=e.body[Ce],Xe=[],Kt=0;Kt<Ke.length;Kt++)Xe.push(new Wt.MathNode("mtd",[fr(Ke[Kt],t)]));e.tags&&e.tags[Ce]&&(Xe.unshift(O),Xe.push(O),e.leqno?Xe.unshift(V):Xe.push(V)),d.push(new Wt.MathNode("mtr",Xe))}var ur=new Wt.MathNode("mtable",d),xr=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);ur.setAttribute("rowspacing",Et(xr));var Fr="",Hr="";if(e.cols&&e.cols.length>0){var un=e.cols,bn="",Nn=!1,Mn=0,oa=un.length;un[0].type==="separator"&&(Fr+="top ",Mn=1),un[un.length-1].type==="separator"&&(Fr+="bottom ",oa-=1);for(var ya=Mn;ya<oa;ya++)un[ya].type==="align"?(Hr+=xo[un[ya].align],Nn&&(bn+="none "),Nn=!0):un[ya].type==="separator"&&Nn&&(bn+=un[ya].separator==="|"?"solid ":"dashed ",Nn=!1);ur.setAttribute("columnalign",Hr.trim()),/[sd]/.test(bn)&&ur.setAttribute("columnlines",bn.trim())}if(e.colSeparationType==="align"){for(var Ua=e.cols||[],Pa="",Oa=1;Oa<Ua.length;Oa++)Pa+=Oa%2?"0em ":"1em ";ur.setAttribute("columnspacing",Pa.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?ur.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?ur.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?ur.setAttribute("columnspacing","0.5em"):ur.setAttribute("columnspacing","1em");var Ga="",Ya=e.hLinesBeforeRow;Fr+=Ya[0].length>0?"left ":"",Fr+=Ya[Ya.length-1].length>0?"right ":"";for(var Ra=1;Ra<Ya.length-1;Ra++)Ga+=Ya[Ra].length===0?"none ":Ya[Ra][0]?"dashed ":"solid ";return/[sd]/.test(Ga)&&ur.setAttribute("rowlines",Ga.trim()),Fr!==""&&(ur=new Wt.MathNode("menclose",[ur]),ur.setAttribute("notation",Fr.trim())),e.arraystretch&&e.arraystretch<1&&(ur=new Wt.MathNode("mstyle",[ur]),ur.setAttribute("scriptlevel","1")),ur},Ai=function(e,t){e.envName.indexOf("ed")===-1&&Mo(e);var d=[],O=e.envName.indexOf("at")>-1?"alignat":"align",V=e.envName==="split",Ce=ao(e.parser,{cols:d,addJot:!0,autoTag:V?void 0:yo(e.envName),emptySingleRow:!0,colSeparationType:O,maxNumCols:V?2:void 0,leqno:e.parser.settings.leqno},"display"),Ke,Xe=0,Kt={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var ur="",xr=0;xr<t[0].body.length;xr++){var Fr=Gr(t[0].body[xr],"textord");ur+=Fr.text}Ke=Number(ur),Xe=Ke*2}var Hr=!Xe;Ce.body.forEach(function(Mn){for(var oa=1;oa<Mn.length;oa+=2){var ya=Gr(Mn[oa],"styling"),Ua=Gr(ya.body[0],"ordgroup");Ua.body.unshift(Kt)}if(Hr)Xe<Mn.length&&(Xe=Mn.length);else{var Pa=Mn.length/2;if(Ke<Pa)throw new J("Too many math in a row: "+("expected "+Ke+", but got "+Pa),Mn[0])}});for(var un=0;un<Xe;++un){var bn="r",Nn=0;un%2===1?bn="l":un>0&&Hr&&(Nn=1),d[un]={type:"align",align:bn,pregap:Nn,postgap:0}}return Ce.colSeparationType=Hr?"align":"alignat",Ce};$a({type:"array",names:["array","darray"],props:{numArgs:1},handler(c,e){var t=Vn(e[0]),d=t?[e[0]]:Gr(e[0],"ordgroup").body,O=d.map(function(Ce){var Ke=sa(Ce),Xe=Ke.text;if("lcr".indexOf(Xe)!==-1)return{type:"align",align:Xe};if(Xe==="|")return{type:"separator",separator:"|"};if(Xe===":")return{type:"separator",separator:":"};throw new J("Unknown column alignment: "+Xe,Ce)}),V={cols:O,hskipBeforeAndAfter:!0,maxNumCols:O.length};return ao(c.parser,V,Zo(c.envName))},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(c){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[c.envName.replace("*","")],t="c",d={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(c.envName.charAt(c.envName.length-1)==="*"){var O=c.parser;if(O.consumeSpaces(),O.fetch().text==="["){if(O.consume(),O.consumeSpaces(),t=O.fetch().text,"lcr".indexOf(t)===-1)throw new J("Expected l or c or r",O.nextToken);O.consume(),O.consumeSpaces(),O.expect("]"),O.consume(),d.cols=[{type:"align",align:t}]}}var V=ao(c.parser,d,Zo(c.envName)),Ce=Math.max(0,...V.body.map(Ke=>Ke.length));return V.cols=new Array(Ce).fill({type:"align",align:t}),e?{type:"leftright",mode:c.mode,body:[V],left:e[0],right:e[1],rightColor:void 0}:V},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(c){var e={arraystretch:.5},t=ao(c.parser,e,"script");return t.colSeparationType="small",t},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["subarray"],props:{numArgs:1},handler(c,e){var t=Vn(e[0]),d=t?[e[0]]:Gr(e[0],"ordgroup").body,O=d.map(function(Ce){var Ke=sa(Ce),Xe=Ke.text;if("lc".indexOf(Xe)!==-1)return{type:"align",align:Xe};throw new J("Unknown column alignment: "+Xe,Ce)});if(O.length>1)throw new J("{subarray} can contain only one column");var V={cols:O,hskipBeforeAndAfter:!1,arraystretch:.5};if(V=ao(c.parser,V,"script"),V.body.length>0&&V.body[0].length>1)throw new J("{subarray} can contain only one column");return V},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(c){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=ao(c.parser,e,Zo(c.envName));return{type:"leftright",mode:c.mode,body:[t],left:c.envName.indexOf("r")>-1?".":"\\{",right:c.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ai,htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(c){I.contains(["gather","gather*"],c.envName)&&Mo(c);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yo(c.envName),emptySingleRow:!0,leqno:c.parser.settings.leqno};return ao(c.parser,e,"display")},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ai,htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(c){Mo(c);var e={autoTag:yo(c.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:c.parser.settings.leqno};return ao(c.parser,e,"display")},htmlBuilder:zo,mathmlBuilder:Vo}),$a({type:"array",names:["CD"],props:{numArgs:0},handler(c){return Mo(c),En(c.parser)},htmlBuilder:zo,mathmlBuilder:Vo}),Ue("\\nonumber","\\gdef\\@eqnsw{0}"),Ue("\\notag","\\nonumber"),Ge({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(c,e){throw new J(c.funcName+" valid only within array environment")}});var Hi=Aa;Ge({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];if(O.type!=="ordgroup")throw new J("Invalid environment name",O);for(var V="",Ce=0;Ce<O.body.length;++Ce)V+=Gr(O.body[Ce],"textord").text;if(d==="\\begin"){if(!Hi.hasOwnProperty(V))throw new J("No such environment: "+V,O);var Ke=Hi[V],{args:Xe,optArgs:Kt}=t.parseArguments("\\begin{"+V+"}",Ke),ur={mode:t.mode,envName:V,parser:t},xr=Ke.handler(ur,Xe,Kt);t.expect("\\end",!1);var Fr=t.nextToken,Hr=Gr(t.parseFunction(),"environment");if(Hr.name!==V)throw new J("Mismatch: \\begin{"+V+"} matched by \\end{"+Hr.name+"}",Fr);return xr}return{type:"environment",mode:t.mode,name:V,nameGroup:O}}});var xs=(c,e)=>{var t=c.font,d=e.withFont(t);return ct(c.body,d)},ii=(c,e)=>{var t=c.font,d=e.withFont(t);return fr(c.body,d)},as={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ge({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=pt(e[0]),V=d;return V in as&&(V=as[V]),{type:"font",mode:t.mode,font:V.slice(1),body:O}},htmlBuilder:xs,mathmlBuilder:ii}),Ge({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(c,e)=>{var{parser:t}=c,d=e[0],O=I.isCharacterBox(d);return{type:"mclass",mode:t.mode,mclass:Fn(d),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:d}],isCharacterBox:O}}}),Ge({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(c,e)=>{var{parser:t,funcName:d,breakOnTokenText:O}=c,{mode:V}=t,Ce=t.parseExpression(!0,O),Ke="math"+d.slice(1);return{type:"font",mode:V,font:Ke,body:{type:"ordgroup",mode:t.mode,body:Ce}}},htmlBuilder:xs,mathmlBuilder:ii});var cs=(c,e)=>{var t=e;return c==="display"?t=t.id>=k.SCRIPT.id?t.text():k.DISPLAY:c==="text"&&t.size===k.DISPLAY.size?t=k.TEXT:c==="script"?t=k.SCRIPT:c==="scriptscript"&&(t=k.SCRIPTSCRIPT),t},si=(c,e)=>{var t=cs(c.size,e.style),d=t.fracNum(),O=t.fracDen(),V;V=e.havingStyle(d);var Ce=ct(c.numer,V,e);if(c.continued){var Ke=8.5/e.fontMetrics().ptPerEm,Xe=3.5/e.fontMetrics().ptPerEm;Ce.height=Ce.height<Ke?Ke:Ce.height,Ce.depth=Ce.depth<Xe?Xe:Ce.depth}V=e.havingStyle(O);var Kt=ct(c.denom,V,e),ur,xr,Fr;c.hasBarLine?(c.barSize?(xr=Ht(c.barSize,e),ur=T.makeLineSpan("frac-line",e,xr)):ur=T.makeLineSpan("frac-line",e),xr=ur.height,Fr=ur.height):(ur=null,xr=0,Fr=e.fontMetrics().defaultRuleThickness);var Hr,un,bn;t.size===k.DISPLAY.size||c.size==="display"?(Hr=e.fontMetrics().num1,xr>0?un=3*Fr:un=7*Fr,bn=e.fontMetrics().denom1):(xr>0?(Hr=e.fontMetrics().num2,un=Fr):(Hr=e.fontMetrics().num3,un=3*Fr),bn=e.fontMetrics().denom2);var Nn;if(ur){var oa=e.fontMetrics().axisHeight;Hr-Ce.depth-(oa+.5*xr)<un&&(Hr+=un-(Hr-Ce.depth-(oa+.5*xr))),oa-.5*xr-(Kt.height-bn)<un&&(bn+=un-(oa-.5*xr-(Kt.height-bn)));var ya=-(oa-.5*xr);Nn=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:bn},{type:"elem",elem:ur,shift:ya},{type:"elem",elem:Ce,shift:-Hr}]},e)}else{var Mn=Hr-Ce.depth-(Kt.height-bn);Mn<un&&(Hr+=.5*(un-Mn),bn+=.5*(un-Mn)),Nn=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Kt,shift:bn},{type:"elem",elem:Ce,shift:-Hr}]},e)}V=e.havingStyle(t),Nn.height*=V.sizeMultiplier/e.sizeMultiplier,Nn.depth*=V.sizeMultiplier/e.sizeMultiplier;var Ua;t.size===k.DISPLAY.size?Ua=e.fontMetrics().delim1:t.size===k.SCRIPTSCRIPT.size?Ua=e.havingStyle(k.SCRIPT).fontMetrics().delim2:Ua=e.fontMetrics().delim2;var Pa,Oa;return c.leftDelim==null?Pa=St(e,["mopen"]):Pa=Lo.customSizedDelim(c.leftDelim,Ua,!0,e.havingStyle(t),c.mode,["mopen"]),c.continued?Oa=T.makeSpan([]):c.rightDelim==null?Oa=St(e,["mclose"]):Oa=Lo.customSizedDelim(c.rightDelim,Ua,!0,e.havingStyle(t),c.mode,["mclose"]),T.makeSpan(["mord"].concat(V.sizingClasses(e)),[Pa,T.makeSpan(["mfrac"],[Nn]),Oa],e)},Wi=(c,e)=>{var t=new Wt.MathNode("mfrac",[fr(c.numer,e),fr(c.denom,e)]);if(!c.hasBarLine)t.setAttribute("linethickness","0px");else if(c.barSize){var d=Ht(c.barSize,e);t.setAttribute("linethickness",Et(d))}var O=cs(c.size,e.style);if(O.size!==e.style.size){t=new Wt.MathNode("mstyle",[t]);var V=O.size===k.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",V),t.setAttribute("scriptlevel","0")}if(c.leftDelim!=null||c.rightDelim!=null){var Ce=[];if(c.leftDelim!=null){var Ke=new Wt.MathNode("mo",[new Wt.TextNode(c.leftDelim.replace("\\",""))]);Ke.setAttribute("fence","true"),Ce.push(Ke)}if(Ce.push(t),c.rightDelim!=null){var Xe=new Wt.MathNode("mo",[new Wt.TextNode(c.rightDelim.replace("\\",""))]);Xe.setAttribute("fence","true"),Ce.push(Xe)}return vt(Ce)}return t};Ge({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0],V=e[1],Ce,Ke=null,Xe=null,Kt="auto";switch(d){case"\\dfrac":case"\\frac":case"\\tfrac":Ce=!0;break;case"\\\\atopfrac":Ce=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":Ce=!1,Ke="(",Xe=")";break;case"\\\\bracefrac":Ce=!1,Ke="\\{",Xe="\\}";break;case"\\\\brackfrac":Ce=!1,Ke="[",Xe="]";break;default:throw new Error("Unrecognized genfrac command")}switch(d){case"\\dfrac":case"\\dbinom":Kt="display";break;case"\\tfrac":case"\\tbinom":Kt="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:O,denom:V,hasBarLine:Ce,leftDelim:Ke,rightDelim:Xe,size:Kt,barSize:null}},htmlBuilder:si,mathmlBuilder:Wi}),Ge({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0],V=e[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:O,denom:V,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ge({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(c){var{parser:e,funcName:t,token:d}=c,O;switch(t){case"\\over":O="\\frac";break;case"\\choose":O="\\binom";break;case"\\atop":O="\\\\atopfrac";break;case"\\brace":O="\\\\bracefrac";break;case"\\brack":O="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:O,token:d}}});var ws=["display","text","script","scriptscript"],us=function(e){var t=null;return e.length>0&&(t=e,t=t==="."?null:t),t};Ge({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(c,e){var{parser:t}=c,d=e[4],O=e[5],V=pt(e[0]),Ce=V.type==="atom"&&V.family==="open"?us(V.text):null,Ke=pt(e[1]),Xe=Ke.type==="atom"&&Ke.family==="close"?us(Ke.text):null,Kt=Gr(e[2],"size"),ur,xr=null;Kt.isBlank?ur=!0:(xr=Kt.value,ur=xr.number>0);var Fr="auto",Hr=e[3];if(Hr.type==="ordgroup"){if(Hr.body.length>0){var un=Gr(Hr.body[0],"textord");Fr=ws[Number(un.text)]}}else Hr=Gr(Hr,"textord"),Fr=ws[Number(Hr.text)];return{type:"genfrac",mode:t.mode,numer:d,denom:O,continued:!1,hasBarLine:ur,barSize:xr,leftDelim:Ce,rightDelim:Xe,size:Fr}},htmlBuilder:si,mathmlBuilder:Wi}),Ge({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(c,e){var{parser:t,funcName:d,token:O}=c;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:Gr(e[0],"size").value,token:O}}}),Ge({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0],V=_(Gr(e[1],"infix").size),Ce=e[2],Ke=V.number>0;return{type:"genfrac",mode:t.mode,numer:O,denom:Ce,continued:!1,hasBarLine:Ke,barSize:V,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:si,mathmlBuilder:Wi});var Ss=(c,e)=>{var t=e.style,d,O;c.type==="supsub"?(d=c.sup?ct(c.sup,e.havingStyle(t.sup()),e):ct(c.sub,e.havingStyle(t.sub()),e),O=Gr(c.base,"horizBrace")):O=Gr(c,"horizBrace");var V=ct(O.base,e.havingBaseStyle(k.DISPLAY)),Ce=dn.svgSpan(O,e),Ke;if(O.isOver?(Ke=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:V},{type:"kern",size:.1},{type:"elem",elem:Ce}]},e),Ke.children[0].children[0].children[1].classes.push("svg-align")):(Ke=T.makeVList({positionType:"bottom",positionData:V.depth+.1+Ce.height,children:[{type:"elem",elem:Ce},{type:"kern",size:.1},{type:"elem",elem:V}]},e),Ke.children[0].children[0].children[0].classes.push("svg-align")),d){var Xe=T.makeSpan(["mord",O.isOver?"mover":"munder"],[Ke],e);O.isOver?Ke=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Xe},{type:"kern",size:.2},{type:"elem",elem:d}]},e):Ke=T.makeVList({positionType:"bottom",positionData:Xe.depth+.2+d.height+d.depth,children:[{type:"elem",elem:d},{type:"kern",size:.2},{type:"elem",elem:Xe}]},e)}return T.makeSpan(["mord",O.isOver?"mover":"munder"],[Ke],e)},os=(c,e)=>{var t=dn.mathMLnode(c.label);return new Wt.MathNode(c.isOver?"mover":"munder",[fr(c.base,e),t])};Ge({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(c,e){var{parser:t,funcName:d}=c;return{type:"horizBrace",mode:t.mode,label:d,isOver:/^\\over/.test(d),base:e[0]}},htmlBuilder:Ss,mathmlBuilder:os}),Ge({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[1],O=Gr(e[0],"url").url;return t.settings.isTrusted({command:"\\href",url:O})?{type:"href",mode:t.mode,href:O,body:ar(d)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(c,e)=>{var t=Mt(c.body,e,!1);return T.makeAnchor(c.href,[],t,e)},mathmlBuilder:(c,e)=>{var t=dr(c.body,e);return t instanceof Tt||(t=new Tt("mrow",[t])),t.setAttribute("href",c.href),t}}),Ge({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=Gr(e[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:d}))return t.formatUnsupportedCmd("\\url");for(var O=[],V=0;V<d.length;V++){var Ce=d[V];Ce==="~"&&(Ce="\\textasciitilde"),O.push({type:"textord",mode:"text",text:Ce})}var Ke={type:"text",mode:t.mode,font:"\\texttt",body:O};return{type:"href",mode:t.mode,href:d,body:ar(Ke)}}}),Ge({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(c,e){var{parser:t}=c;return{type:"hbox",mode:t.mode,body:ar(e[0])}},htmlBuilder(c,e){var t=Mt(c.body,e,!1);return T.makeFragment(t)},mathmlBuilder(c,e){return new Wt.MathNode("mrow",Yt(c.body,e))}}),Ge({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(c,e)=>{var{parser:t,funcName:d,token:O}=c,V=Gr(e[0],"raw").string,Ce=e[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var Ke,Xe={};switch(d){case"\\htmlClass":Xe.class=V,Ke={command:"\\htmlClass",class:V};break;case"\\htmlId":Xe.id=V,Ke={command:"\\htmlId",id:V};break;case"\\htmlStyle":Xe.style=V,Ke={command:"\\htmlStyle",style:V};break;case"\\htmlData":{for(var Kt=V.split(","),ur=0;ur<Kt.length;ur++){var xr=Kt[ur].split("=");if(xr.length!==2)throw new J("Error parsing key-value for \\htmlData");Xe["data-"+xr[0].trim()]=xr[1].trim()}Ke={command:"\\htmlData",attributes:Xe};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(Ke)?{type:"html",mode:t.mode,attributes:Xe,body:ar(Ce)}:t.formatUnsupportedCmd(d)},htmlBuilder:(c,e)=>{var t=Mt(c.body,e,!1),d=["enclosing"];c.attributes.class&&d.push(...c.attributes.class.trim().split(/\s+/));var O=T.makeSpan(d,t,e);for(var V in c.attributes)V!=="class"&&c.attributes.hasOwnProperty(V)&&O.setAttribute(V,c.attributes[V]);return O},mathmlBuilder:(c,e)=>dr(c.body,e)}),Ge({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c;return{type:"htmlmathml",mode:t.mode,html:ar(e[0]),mathml:ar(e[1])}},htmlBuilder:(c,e)=>{var t=Mt(c.html,e,!1);return T.makeFragment(t)},mathmlBuilder:(c,e)=>dr(c.mathml,e)});var li=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 J("Invalid size: '"+e+"' in \\includegraphics");var d={number:+(t[1]+t[2]),unit:t[3]};if(!Nt(d))throw new J("Invalid unit: '"+d.unit+"' in \\includegraphics.");return d};Ge({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(c,e,t)=>{var{parser:d}=c,O={number:0,unit:"em"},V={number:.9,unit:"em"},Ce={number:0,unit:"em"},Ke="";if(t[0])for(var Xe=Gr(t[0],"raw").string,Kt=Xe.split(","),ur=0;ur<Kt.length;ur++){var xr=Kt[ur].split("=");if(xr.length===2){var Fr=xr[1].trim();switch(xr[0].trim()){case"alt":Ke=Fr;break;case"width":O=li(Fr);break;case"height":V=li(Fr);break;case"totalheight":Ce=li(Fr);break;default:throw new J("Invalid key: '"+xr[0]+"' in \\includegraphics.")}}}var Hr=Gr(e[0],"url").url;return Ke===""&&(Ke=Hr,Ke=Ke.replace(/^.*[\\/]/,""),Ke=Ke.substring(0,Ke.lastIndexOf("."))),d.settings.isTrusted({command:"\\includegraphics",url:Hr})?{type:"includegraphics",mode:d.mode,alt:Ke,width:O,height:V,totalheight:Ce,src:Hr}:d.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(c,e)=>{var t=Ht(c.height,e),d=0;c.totalheight.number>0&&(d=Ht(c.totalheight,e)-t);var O=0;c.width.number>0&&(O=Ht(c.width,e));var V={height:Et(t+d)};O>0&&(V.width=Et(O)),d>0&&(V.verticalAlign=Et(-d));var Ce=new wt(c.src,c.alt,V);return Ce.height=t,Ce.depth=d,Ce},mathmlBuilder:(c,e)=>{var t=new Wt.MathNode("mglyph",[]);t.setAttribute("alt",c.alt);var d=Ht(c.height,e),O=0;if(c.totalheight.number>0&&(O=Ht(c.totalheight,e)-d,t.setAttribute("valign",Et(-O))),t.setAttribute("height",Et(d+O)),c.width.number>0){var V=Ht(c.width,e);t.setAttribute("width",Et(V))}return t.setAttribute("src",c.src),t}}),Ge({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(c,e){var{parser:t,funcName:d}=c,O=Gr(e[0],"size");if(t.settings.strict){var V=d[1]==="m",Ce=O.value.unit==="mu";V?(Ce||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" supports only mu units, "+("not "+O.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" works only in math mode")):Ce&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+d+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:O.value}},htmlBuilder(c,e){return T.makeGlue(c.dimension,e)},mathmlBuilder(c,e){var t=Ht(c.dimension,e);return new Wt.SpaceNode(t)}}),Ge({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0];return{type:"lap",mode:t.mode,alignment:d.slice(5),body:O}},htmlBuilder:(c,e)=>{var t;c.alignment==="clap"?(t=T.makeSpan([],[ct(c.body,e)]),t=T.makeSpan(["inner"],[t],e)):t=T.makeSpan(["inner"],[ct(c.body,e)]);var d=T.makeSpan(["fix"],[]),O=T.makeSpan([c.alignment],[t,d],e),V=T.makeSpan(["strut"]);return V.style.height=Et(O.height+O.depth),O.depth&&(V.style.verticalAlign=Et(-O.depth)),O.children.unshift(V),O=T.makeSpan(["thinbox"],[O],e),T.makeSpan(["mord","vbox"],[O],e)},mathmlBuilder:(c,e)=>{var t=new Wt.MathNode("mpadded",[fr(c.body,e)]);if(c.alignment!=="rlap"){var d=c.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",d+"width")}return t.setAttribute("width","0px"),t}}),Ge({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,e){var{funcName:t,parser:d}=c,O=d.mode;d.switchMode("math");var V=t==="\\("?"\\)":"$",Ce=d.parseExpression(!1,V);return d.expect(V),d.switchMode(O),{type:"styling",mode:d.mode,style:"text",body:Ce}}}),Ge({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(c,e){throw new J("Mismatched "+c.funcName)}});var ci=(c,e)=>{switch(e.style.size){case k.DISPLAY.size:return c.display;case k.TEXT.size:return c.text;case k.SCRIPT.size:return c.script;case k.SCRIPTSCRIPT.size:return c.scriptscript;default:return c.text}};Ge({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(c,e)=>{var{parser:t}=c;return{type:"mathchoice",mode:t.mode,display:ar(e[0]),text:ar(e[1]),script:ar(e[2]),scriptscript:ar(e[3])}},htmlBuilder:(c,e)=>{var t=ci(c,e),d=Mt(t,e,!1);return T.makeFragment(d)},mathmlBuilder:(c,e)=>{var t=ci(c,e);return dr(t,e)}});var ds=(c,e,t,d,O,V,Ce)=>{c=T.makeSpan([],[c]);var Ke=t&&I.isCharacterBox(t),Xe,Kt;if(e){var ur=ct(e,d.havingStyle(O.sup()),d);Kt={elem:ur,kern:Math.max(d.fontMetrics().bigOpSpacing1,d.fontMetrics().bigOpSpacing3-ur.depth)}}if(t){var xr=ct(t,d.havingStyle(O.sub()),d);Xe={elem:xr,kern:Math.max(d.fontMetrics().bigOpSpacing2,d.fontMetrics().bigOpSpacing4-xr.height)}}var Fr;if(Kt&&Xe){var Hr=d.fontMetrics().bigOpSpacing5+Xe.elem.height+Xe.elem.depth+Xe.kern+c.depth+Ce;Fr=T.makeVList({positionType:"bottom",positionData:Hr,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xe.elem,marginLeft:Et(-V)},{type:"kern",size:Xe.kern},{type:"elem",elem:c},{type:"kern",size:Kt.kern},{type:"elem",elem:Kt.elem,marginLeft:Et(V)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else if(Xe){var un=c.height-Ce;Fr=T.makeVList({positionType:"top",positionData:un,children:[{type:"kern",size:d.fontMetrics().bigOpSpacing5},{type:"elem",elem:Xe.elem,marginLeft:Et(-V)},{type:"kern",size:Xe.kern},{type:"elem",elem:c}]},d)}else if(Kt){var bn=c.depth+Ce;Fr=T.makeVList({positionType:"bottom",positionData:bn,children:[{type:"elem",elem:c},{type:"kern",size:Kt.kern},{type:"elem",elem:Kt.elem,marginLeft:Et(V)},{type:"kern",size:d.fontMetrics().bigOpSpacing5}]},d)}else return c;var Nn=[Fr];if(Xe&&V!==0&&!Ke){var Mn=T.makeSpan(["mspace"],[],d);Mn.style.marginRight=Et(V),Nn.unshift(Mn)}return T.makeSpan(["mop","op-limits"],Nn,d)},$i=["\\smallint"],ui=(c,e)=>{var t,d,O=!1,V;c.type==="supsub"?(t=c.sup,d=c.sub,V=Gr(c.base,"op"),O=!0):V=Gr(c,"op");var Ce=e.style,Ke=!1;Ce.size===k.DISPLAY.size&&V.symbol&&!I.contains($i,V.name)&&(Ke=!0);var Xe;if(V.symbol){var Kt=Ke?"Size2-Regular":"Size1-Regular",ur="";if((V.name==="\\oiint"||V.name==="\\oiiint")&&(ur=V.name.slice(1),V.name=ur==="oiint"?"\\iint":"\\iiint"),Xe=T.makeSymbol(V.name,Kt,"math",e,["mop","op-symbol",Ke?"large-op":"small-op"]),ur.length>0){var xr=Xe.italic,Fr=T.staticSvg(ur+"Size"+(Ke?"2":"1"),e);Xe=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:Xe,shift:0},{type:"elem",elem:Fr,shift:Ke?.08:0}]},e),V.name="\\"+ur,Xe.classes.unshift("mop"),Xe.italic=xr}}else if(V.body){var Hr=Mt(V.body,e,!0);Hr.length===1&&Hr[0]instanceof Te?(Xe=Hr[0],Xe.classes[0]="mop"):Xe=T.makeSpan(["mop"],Hr,e)}else{for(var un=[],bn=1;bn<V.name.length;bn++)un.push(T.mathsym(V.name[bn],V.mode,e));Xe=T.makeSpan(["mop"],un,e)}var Nn=0,Mn=0;return(Xe instanceof Te||V.name==="\\oiint"||V.name==="\\oiiint")&&!V.suppressBaseShift&&(Nn=(Xe.height-Xe.depth)/2-e.fontMetrics().axisHeight,Mn=Xe.italic),O?ds(Xe,t,d,e,Ce,Mn,Nn):(Nn&&(Xe.style.position="relative",Xe.style.top=Et(Nn)),Xe)},Ea=(c,e)=>{var t;if(c.symbol)t=new Tt("mo",[Pe(c.name,c.mode)]),I.contains($i,c.name)&&t.setAttribute("largeop","false");else if(c.body)t=new Tt("mo",Yt(c.body,e));else{t=new Tt("mi",[new ir(c.name.slice(1))]);var d=new Tt("mo",[Pe("\u2061","text")]);c.parentIsSupSub?t=new Tt("mrow",[t,d]):t=Xt([t,d])}return t},Cs={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Ge({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:(c,e)=>{var{parser:t,funcName:d}=c,O=d;return O.length===1&&(O=Cs[O]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:O}},htmlBuilder:ui,mathmlBuilder:Ea}),Ge({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ar(d)}},htmlBuilder:ui,mathmlBuilder:Ea});var Os={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Ge({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(c){var{parser:e,funcName:t}=c;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:ui,mathmlBuilder:Ea}),Ge({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(c){var{parser:e,funcName:t}=c;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:ui,mathmlBuilder:Ea}),Ge({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(c){var{parser:e,funcName:t}=c,d=t;return d.length===1&&(d=Os[d]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:d}},htmlBuilder:ui,mathmlBuilder:Ea});var Es=(c,e)=>{var t,d,O=!1,V;c.type==="supsub"?(t=c.sup,d=c.sub,V=Gr(c.base,"operatorname"),O=!0):V=Gr(c,"operatorname");var Ce;if(V.body.length>0){for(var Ke=V.body.map(xr=>{var Fr=xr.text;return typeof Fr=="string"?{type:"textord",mode:xr.mode,text:Fr}:xr}),Xe=Mt(Ke,e.withFont("mathrm"),!0),Kt=0;Kt<Xe.length;Kt++){var ur=Xe[Kt];ur instanceof Te&&(ur.text=ur.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}Ce=T.makeSpan(["mop"],Xe,e)}else Ce=T.makeSpan(["mop"],[],e);return O?ds(Ce,t,d,e,e.style,0,0):Ce},qi=(c,e)=>{for(var t=Yt(c.body,e.withFont("mathrm")),d=!0,O=0;O<t.length;O++){var V=t[O];if(!(V instanceof Wt.SpaceNode))if(V instanceof Wt.MathNode)switch(V.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var Ce=V.children[0];V.children.length===1&&Ce instanceof Wt.TextNode?Ce.text=Ce.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):d=!1;break}default:d=!1}else d=!1}if(d){var Ke=t.map(ur=>ur.toText()).join("");t=[new Wt.TextNode(Ke)]}var Xe=new Wt.MathNode("mi",t);Xe.setAttribute("mathvariant","normal");var Kt=new Wt.MathNode("mo",[Pe("\u2061","text")]);return c.parentIsSupSub?new Wt.MathNode("mrow",[Xe,Kt]):Wt.newDocumentFragment([Xe,Kt])};Ge({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(c,e)=>{var{parser:t,funcName:d}=c,O=e[0];return{type:"operatorname",mode:t.mode,body:ar(O),alwaysHandleSupSub:d==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Es,mathmlBuilder:qi}),Ue("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Zt({type:"ordgroup",htmlBuilder(c,e){return c.semisimple?T.makeFragment(Mt(c.body,e,!1)):T.makeSpan(["mord"],Mt(c.body,e,!0),e)},mathmlBuilder(c,e){return dr(c.body,e,!0)}}),Ge({type:"overline",names:["\\overline"],props:{numArgs:1},handler(c,e){var{parser:t}=c,d=e[0];return{type:"overline",mode:t.mode,body:d}},htmlBuilder(c,e){var t=ct(c.body,e.havingCrampedStyle()),d=T.makeLineSpan("overline-line",e),O=e.fontMetrics().defaultRuleThickness,V=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*O},{type:"elem",elem:d},{type:"kern",size:O}]},e);return T.makeSpan(["mord","overline"],[V],e)},mathmlBuilder(c,e){var t=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var d=new Wt.MathNode("mover",[fr(c.body,e),t]);return d.setAttribute("accent","true"),d}}),Ge({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"phantom",mode:t.mode,body:ar(d)}},htmlBuilder:(c,e)=>{var t=Mt(c.body,e.withPhantom(),!1);return T.makeFragment(t)},mathmlBuilder:(c,e)=>{var t=Yt(c.body,e);return new Wt.MathNode("mphantom",t)}}),Ge({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"hphantom",mode:t.mode,body:d}},htmlBuilder:(c,e)=>{var t=T.makeSpan([],[ct(c.body,e.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var d=0;d<t.children.length;d++)t.children[d].height=0,t.children[d].depth=0;return t=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e),T.makeSpan(["mord"],[t],e)},mathmlBuilder:(c,e)=>{var t=Yt(ar(c.body),e),d=new Wt.MathNode("mphantom",t),O=new Wt.MathNode("mpadded",[d]);return O.setAttribute("height","0px"),O.setAttribute("depth","0px"),O}}),Ge({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(c,e)=>{var{parser:t}=c,d=e[0];return{type:"vphantom",mode:t.mode,body:d}},htmlBuilder:(c,e)=>{var t=T.makeSpan(["inner"],[ct(c.body,e.withPhantom())]),d=T.makeSpan(["fix"],[]);return T.makeSpan(["mord","rlap"],[t,d],e)},mathmlBuilder:(c,e)=>{var t=Yt(ar(c.body),e),d=new Wt.MathNode("mphantom",t),O=new Wt.MathNode("mpadded",[d]);return O.setAttribute("width","0px"),O}}),Ge({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(c,e){var{parser:t}=c,d=Gr(e[0],"size").value,O=e[1];return{type:"raisebox",mode:t.mode,dy:d,body:O}},htmlBuilder(c,e){var t=ct(c.body,e),d=Ht(c.dy,e);return T.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(c,e){var t=new Wt.MathNode("mpadded",[fr(c.body,e)]),d=c.dy.number+c.dy.unit;return t.setAttribute("voffset",d),t}}),Ge({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(c){var{parser:e}=c;return{type:"internal",mode:e.mode}}}),Ge({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(c,e,t){var{parser:d}=c,O=t[0],V=Gr(e[0],"size"),Ce=Gr(e[1],"size");return{type:"rule",mode:d.mode,shift:O&&Gr(O,"size").value,width:V.value,height:Ce.value}},htmlBuilder(c,e){var t=T.makeSpan(["mord","rule"],[],e),d=Ht(c.width,e),O=Ht(c.height,e),V=c.shift?Ht(c.shift,e):0;return t.style.borderRightWidth=Et(d),t.style.borderTopWidth=Et(O),t.style.bottom=Et(V),t.width=d,t.height=O+V,t.depth=-V,t.maxFontSize=O*1.125*e.sizeMultiplier,t},mathmlBuilder(c,e){var t=Ht(c.width,e),d=Ht(c.height,e),O=c.shift?Ht(c.shift,e):0,V=e.color&&e.getColor()||"black",Ce=new Wt.MathNode("mspace");Ce.setAttribute("mathbackground",V),Ce.setAttribute("width",Et(t)),Ce.setAttribute("height",Et(d));var Ke=new Wt.MathNode("mpadded",[Ce]);return O>=0?Ke.setAttribute("height",Et(O)):(Ke.setAttribute("height",Et(O)),Ke.setAttribute("depth",Et(-O))),Ke.setAttribute("voffset",Et(O)),Ke}});function ai(c,e,t){for(var d=Mt(c,e,!1),O=e.sizeMultiplier/t.sizeMultiplier,V=0;V<d.length;V++){var Ce=d[V].classes.indexOf("sizing");Ce<0?Array.prototype.push.apply(d[V].classes,e.sizingClasses(t)):d[V].classes[Ce+1]==="reset-size"+e.size&&(d[V].classes[Ce+1]="reset-size"+t.size),d[V].height*=O,d[V].depth*=O}return T.makeFragment(d)}var di=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ls=(c,e)=>{var t=e.havingSize(c.size);return ai(c.body,t,e)};Ge({type:"sizing",names:di,props:{numArgs:0,allowedInText:!0},handler:(c,e)=>{var{breakOnTokenText:t,funcName:d,parser:O}=c,V=O.parseExpression(!1,t);return{type:"sizing",mode:O.mode,size:di.indexOf(d)+1,body:V}},htmlBuilder:Ls,mathmlBuilder:(c,e)=>{var t=e.havingSize(c.size),d=Yt(c.body,t),O=new Wt.MathNode("mstyle",d);return O.setAttribute("mathsize",Et(t.sizeMultiplier)),O}}),Ge({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(c,e,t)=>{var{parser:d}=c,O=!1,V=!1,Ce=t[0]&&Gr(t[0],"ordgroup");if(Ce)for(var Ke="",Xe=0;Xe<Ce.body.length;++Xe){var Kt=Ce.body[Xe];if(Ke=Kt.text,Ke==="t")O=!0;else if(Ke==="b")V=!0;else{O=!1,V=!1;break}}else O=!0,V=!0;var ur=e[0];return{type:"smash",mode:d.mode,body:ur,smashHeight:O,smashDepth:V}},htmlBuilder:(c,e)=>{var t=T.makeSpan([],[ct(c.body,e)]);if(!c.smashHeight&&!c.smashDepth)return t;if(c.smashHeight&&(t.height=0,t.children))for(var d=0;d<t.children.length;d++)t.children[d].height=0;if(c.smashDepth&&(t.depth=0,t.children))for(var O=0;O<t.children.length;O++)t.children[O].depth=0;var V=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},e);return T.makeSpan(["mord"],[V],e)},mathmlBuilder:(c,e)=>{var t=new Wt.MathNode("mpadded",[fr(c.body,e)]);return c.smashHeight&&t.setAttribute("height","0px"),c.smashDepth&&t.setAttribute("depth","0px"),t}}),Ge({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(c,e,t){var{parser:d}=c,O=t[0],V=e[0];return{type:"sqrt",mode:d.mode,body:V,index:O}},htmlBuilder(c,e){var t=ct(c.body,e.havingCrampedStyle());t.height===0&&(t.height=e.fontMetrics().xHeight),t=T.wrapFragment(t,e);var d=e.fontMetrics(),O=d.defaultRuleThickness,V=O;e.style.id<k.TEXT.id&&(V=e.fontMetrics().xHeight);var Ce=O+V/4,Ke=t.height+t.depth+Ce+O,{span:Xe,ruleWidth:Kt,advanceWidth:ur}=Lo.sqrtImage(Ke,e),xr=Xe.height-Kt;xr>t.height+t.depth+Ce&&(Ce=(Ce+xr-t.height-t.depth)/2);var Fr=Xe.height-t.height-Ce-Kt;t.style.paddingLeft=Et(ur);var Hr=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+Fr)},{type:"elem",elem:Xe},{type:"kern",size:Kt}]},e);if(c.index){var un=e.havingStyle(k.SCRIPTSCRIPT),bn=ct(c.index,un,e),Nn=.6*(Hr.height-Hr.depth),Mn=T.makeVList({positionType:"shift",positionData:-Nn,children:[{type:"elem",elem:bn}]},e),oa=T.makeSpan(["root"],[Mn]);return T.makeSpan(["mord","sqrt"],[oa,Hr],e)}else return T.makeSpan(["mord","sqrt"],[Hr],e)},mathmlBuilder(c,e){var{body:t,index:d}=c;return d?new Wt.MathNode("mroot",[fr(t,e),fr(d,e)]):new Wt.MathNode("msqrt",[fr(t,e)])}});var Is={display:k.DISPLAY,text:k.TEXT,script:k.SCRIPT,scriptscript:k.SCRIPTSCRIPT};Ge({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(c,e){var{breakOnTokenText:t,funcName:d,parser:O}=c,V=O.parseExpression(!0,t),Ce=d.slice(1,d.length-5);return{type:"styling",mode:O.mode,style:Ce,body:V}},htmlBuilder(c,e){var t=Is[c.style],d=e.havingStyle(t).withFont("");return ai(c.body,d,e)},mathmlBuilder(c,e){var t=Is[c.style],d=e.havingStyle(t),O=Yt(c.body,d),V=new Wt.MathNode("mstyle",O),Ce={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Ke=Ce[c.style];return V.setAttribute("scriptlevel",Ke[0]),V.setAttribute("displaystyle",Ke[1]),V}});var is=function(e,t){var d=e.base;if(d)if(d.type==="op"){var O=d.limits&&(t.style.size===k.DISPLAY.size||d.alwaysHandleSupSub);return O?ui:null}else if(d.type==="operatorname"){var V=d.alwaysHandleSupSub&&(t.style.size===k.DISPLAY.size||d.limits);return V?Es:null}else{if(d.type==="accent")return I.isCharacterBox(d.base)?xa:null;if(d.type==="horizBrace"){var Ce=!e.sub;return Ce===d.isOver?Ss:null}else return null}else return null};Zt({type:"supsub",htmlBuilder(c,e){var t=is(c,e);if(t)return t(c,e);var{base:d,sup:O,sub:V}=c,Ce=ct(d,e),Ke,Xe,Kt=e.fontMetrics(),ur=0,xr=0,Fr=d&&I.isCharacterBox(d);if(O){var Hr=e.havingStyle(e.style.sup());Ke=ct(O,Hr,e),Fr||(ur=Ce.height-Hr.fontMetrics().supDrop*Hr.sizeMultiplier/e.sizeMultiplier)}if(V){var un=e.havingStyle(e.style.sub());Xe=ct(V,un,e),Fr||(xr=Ce.depth+un.fontMetrics().subDrop*un.sizeMultiplier/e.sizeMultiplier)}var bn;e.style===k.DISPLAY?bn=Kt.sup1:e.style.cramped?bn=Kt.sup3:bn=Kt.sup2;var Nn=e.sizeMultiplier,Mn=Et(.5/Kt.ptPerEm/Nn),oa=null;if(Xe){var ya=c.base&&c.base.type==="op"&&c.base.name&&(c.base.name==="\\oiint"||c.base.name==="\\oiiint");(Ce instanceof Te||ya)&&(oa=Et(-Ce.italic))}var Ua;if(Ke&&Xe){ur=Math.max(ur,bn,Ke.depth+.25*Kt.xHeight),xr=Math.max(xr,Kt.sub2);var Pa=Kt.defaultRuleThickness,Oa=4*Pa;if(ur-Ke.depth-(Xe.height-xr)<Oa){xr=Oa-(ur-Ke.depth)+Xe.height;var Ga=.8*Kt.xHeight-(ur-Ke.depth);Ga>0&&(ur+=Ga,xr-=Ga)}var Ya=[{type:"elem",elem:Xe,shift:xr,marginRight:Mn,marginLeft:oa},{type:"elem",elem:Ke,shift:-ur,marginRight:Mn}];Ua=T.makeVList({positionType:"individualShift",children:Ya},e)}else if(Xe){xr=Math.max(xr,Kt.sub1,Xe.height-.8*Kt.xHeight);var Ra=[{type:"elem",elem:Xe,marginLeft:oa,marginRight:Mn}];Ua=T.makeVList({positionType:"shift",positionData:xr,children:Ra},e)}else if(Ke)ur=Math.max(ur,bn,Ke.depth+.25*Kt.xHeight),Ua=T.makeVList({positionType:"shift",positionData:-ur,children:[{type:"elem",elem:Ke,marginRight:Mn}]},e);else throw new Error("supsub must have either sup or sub.");var qo=Be(Ce,"right")||"mord";return T.makeSpan([qo],[Ce,T.makeSpan(["msupsub"],[Ua])],e)},mathmlBuilder(c,e){var t=!1,d,O;c.base&&c.base.type==="horizBrace"&&(O=!!c.sup,O===c.base.isOver&&(t=!0,d=c.base.isOver)),c.base&&(c.base.type==="op"||c.base.type==="operatorname")&&(c.base.parentIsSupSub=!0);var V=[fr(c.base,e)];c.sub&&V.push(fr(c.sub,e)),c.sup&&V.push(fr(c.sup,e));var Ce;if(t)Ce=d?"mover":"munder";else if(c.sub)if(c.sup){var Kt=c.base;Kt&&Kt.type==="op"&&Kt.limits&&e.style===k.DISPLAY||Kt&&Kt.type==="operatorname"&&Kt.alwaysHandleSupSub&&(e.style===k.DISPLAY||Kt.limits)?Ce="munderover":Ce="msubsup"}else{var Xe=c.base;Xe&&Xe.type==="op"&&Xe.limits&&(e.style===k.DISPLAY||Xe.alwaysHandleSupSub)||Xe&&Xe.type==="operatorname"&&Xe.alwaysHandleSupSub&&(Xe.limits||e.style===k.DISPLAY)?Ce="munder":Ce="msub"}else{var Ke=c.base;Ke&&Ke.type==="op"&&Ke.limits&&(e.style===k.DISPLAY||Ke.alwaysHandleSupSub)||Ke&&Ke.type==="operatorname"&&Ke.alwaysHandleSupSub&&(Ke.limits||e.style===k.DISPLAY)?Ce="mover":Ce="msup"}return new Wt.MathNode(Ce,V)}}),Zt({type:"atom",htmlBuilder(c,e){return T.mathsym(c.text,c.mode,e,["m"+c.family])},mathmlBuilder(c,e){var t=new Wt.MathNode("mo",[Pe(c.text,c.mode)]);if(c.family==="bin"){var d=Bt(c,e);d==="bold-italic"&&t.setAttribute("mathvariant",d)}else c.family==="punct"?t.setAttribute("separator","true"):(c.family==="open"||c.family==="close")&&t.setAttribute("stretchy","false");return t}});var Ui={mi:"italic",mn:"normal",mtext:"normal"};Zt({type:"mathord",htmlBuilder(c,e){return T.makeOrd(c,e,"mathord")},mathmlBuilder(c,e){var t=new Wt.MathNode("mi",[Pe(c.text,c.mode,e)]),d=Bt(c,e)||"italic";return d!==Ui[t.type]&&t.setAttribute("mathvariant",d),t}}),Zt({type:"textord",htmlBuilder(c,e){return T.makeOrd(c,e,"textord")},mathmlBuilder(c,e){var t=Pe(c.text,c.mode,e),d=Bt(c,e)||"normal",O;return c.mode==="text"?O=new Wt.MathNode("mtext",[t]):/[0-9]/.test(c.text)?O=new Wt.MathNode("mn",[t]):c.text==="\\prime"?O=new Wt.MathNode("mo",[t]):O=new Wt.MathNode("mi",[t]),d!==Ui[O.type]&&O.setAttribute("mathvariant",d),O}});var Pi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Zi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Zt({type:"spacing",htmlBuilder(c,e){if(Zi.hasOwnProperty(c.text)){var t=Zi[c.text].className||"";if(c.mode==="text"){var d=T.makeOrd(c,e,"textord");return d.classes.push(t),d}else return T.makeSpan(["mspace",t],[T.mathsym(c.text,c.mode,e)],e)}else{if(Pi.hasOwnProperty(c.text))return T.makeSpan(["mspace",Pi[c.text]],[],e);throw new J('Unknown type of space "'+c.text+'"')}},mathmlBuilder(c,e){var t;if(Zi.hasOwnProperty(c.text))t=new Wt.MathNode("mtext",[new Wt.TextNode("\xA0")]);else{if(Pi.hasOwnProperty(c.text))return new Wt.MathNode("mspace");throw new J('Unknown type of space "'+c.text+'"')}return t}});var Vi=()=>{var c=new Wt.MathNode("mtd",[]);return c.setAttribute("width","50%"),c};Zt({type:"tag",mathmlBuilder(c,e){var t=new Wt.MathNode("mtable",[new Wt.MathNode("mtr",[Vi(),new Wt.MathNode("mtd",[dr(c.body,e)]),Vi(),new Wt.MathNode("mtd",[dr(c.tag,e)])])]);return t.setAttribute("width","100%"),t}});var As={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ji={"\\textbf":"textbf","\\textmd":"textmd"},hs={"\\textit":"textit","\\textup":"textup"},ft=(c,e)=>{var t=c.font;if(t){if(As[t])return e.withTextFontFamily(As[t]);if(Ji[t])return e.withTextFontWeight(Ji[t]);if(t==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(hs[t])};Ge({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(c,e){var{parser:t,funcName:d}=c,O=e[0];return{type:"text",mode:t.mode,body:ar(O),font:d}},htmlBuilder(c,e){var t=ft(c,e),d=Mt(c.body,t,!0);return T.makeSpan(["mord","text"],d,t)},mathmlBuilder(c,e){var t=ft(c,e);return dr(c.body,t)}}),Ge({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(c,e){var{parser:t}=c;return{type:"underline",mode:t.mode,body:e[0]}},htmlBuilder(c,e){var t=ct(c.body,e),d=T.makeLineSpan("underline-line",e),O=e.fontMetrics().defaultRuleThickness,V=T.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:O},{type:"elem",elem:d},{type:"kern",size:3*O},{type:"elem",elem:t}]},e);return T.makeSpan(["mord","underline"],[V],e)},mathmlBuilder(c,e){var t=new Wt.MathNode("mo",[new Wt.TextNode("\u203E")]);t.setAttribute("stretchy","true");var d=new Wt.MathNode("munder",[fr(c.body,e),t]);return d.setAttribute("accentunder","true"),d}}),Ge({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(c,e){var{parser:t}=c;return{type:"vcenter",mode:t.mode,body:e[0]}},htmlBuilder(c,e){var t=ct(c.body,e),d=e.fontMetrics().axisHeight,O=.5*(t.height-d-(t.depth+d));return T.makeVList({positionType:"shift",positionData:O,children:[{type:"elem",elem:t}]},e)},mathmlBuilder(c,e){return new Wt.MathNode("mpadded",[fr(c.body,e)],["vcenter"])}}),Ge({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(c,e,t){throw new J("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(c,e){for(var t=ji(c),d=[],O=e.havingStyle(e.style.text()),V=0;V<t.length;V++){var Ce=t[V];Ce==="~"&&(Ce="\\textasciitilde"),d.push(T.makeSymbol(Ce,"Typewriter-Regular",c.mode,O,["mord","texttt"]))}return T.makeSpan(["mord","text"].concat(O.sizingClasses(e)),T.tryCombineChars(d),O)},mathmlBuilder(c,e){var t=new Wt.TextNode(ji(c)),d=new Wt.MathNode("mtext",[t]);return d.setAttribute("mathvariant","monospace"),d}});var ji=c=>c.body.replace(/ /g,c.star?"\u2423":"\xA0"),Yo=At,Ni=`[ \r
|
|
|
]`,ss="\\\\[a-zA-Z@]+",Mi="\\\\[^\uD800-\uDFFF]",fs="("+ss+")"+Ni+"*",ms=`\\\\(
|
|
|
|[ \r ]+
|
|
|
?)[ \r ]*`,hi="[\u0300-\u036F]",wi=new RegExp(hi+"+$"),ps="("+Ni+"+)|"+(ms+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(hi+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(hi+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+fs)+("|"+Mi+")");class Gi{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(ps,"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 Re("EOF",new B(this,t,t));var d=this.tokenRegex.exec(e);if(d===null||d.index!==t)throw new J("Unexpected character: '"+e[t]+"'",new Re(e[t],new B(this,t,t+1)));var O=d[6]||d[3]||(d[2]?"\\ ":" ");if(this.catcodes[O]===14){var V=e.indexOf(`
|
|
|
`,this.tokenRegex.lastIndex);return V===-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=V+1,this.lex()}return new Re(O,new B(this,t,this.tokenRegex.lastIndex))}}class Qi{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 J("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,d){if(d===void 0&&(d=!1),d){for(var O=0;O<this.undefStack.length;O++)delete this.undefStack[O][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var V=this.undefStack[this.undefStack.length-1];V&&!V.hasOwnProperty(e)&&(V[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}}var ls=fo;Ue("\\noexpand",function(c){var e=c.popToken();return c.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}}),Ue("\\expandafter",function(c){var e=c.popToken();return c.expandOnce(!0),{tokens:[e],numArgs:0}}),Ue("\\@firstoftwo",function(c){var e=c.consumeArgs(2);return{tokens:e[0],numArgs:0}}),Ue("\\@secondoftwo",function(c){var e=c.consumeArgs(2);return{tokens:e[1],numArgs:0}}),Ue("\\@ifnextchar",function(c){var e=c.consumeArgs(3);c.consumeSpaces();var t=c.future();return e[0].length===1&&e[0][0].text===t.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}}),Ue("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Ue("\\TextOrMath",function(c){var e=c.consumeArgs(2);return c.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var P={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};Ue("\\char",function(c){var e=c.popToken(),t,d="";if(e.text==="'")t=8,e=c.popToken();else if(e.text==='"')t=16,e=c.popToken();else if(e.text==="`")if(e=c.popToken(),e.text[0]==="\\")d=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new J("\\char` missing argument");d=e.text.charCodeAt(0)}else t=10;if(t){if(d=P[e.text],d==null||d>=t)throw new J("Invalid base-"+t+" digit "+e.text);for(var O;(O=P[c.future().text])!=null&&O<t;)d*=t,d+=O,c.popToken()}return"\\@char{"+d+"}"});var je=(c,e,t,d)=>{var O=c.consumeArg().tokens;if(O.length!==1)throw new J("\\newcommand's first argument must be a macro name");var V=O[0].text,Ce=c.isDefined(V);if(Ce&&!e)throw new J("\\newcommand{"+V+"} attempting to redefine "+(V+"; use \\renewcommand"));if(!Ce&&!t)throw new J("\\renewcommand{"+V+"} when command "+V+" does not yet exist; use \\newcommand");var Ke=0;if(O=c.consumeArg().tokens,O.length===1&&O[0].text==="["){for(var Xe="",Kt=c.expandNextToken();Kt.text!=="]"&&Kt.text!=="EOF";)Xe+=Kt.text,Kt=c.expandNextToken();if(!Xe.match(/^\s*[0-9]+\s*$/))throw new J("Invalid number of arguments: "+Xe);Ke=parseInt(Xe),O=c.consumeArg().tokens}return Ce&&d||c.macros.set(V,{tokens:O,numArgs:Ke}),""};Ue("\\newcommand",c=>je(c,!1,!0,!1)),Ue("\\renewcommand",c=>je(c,!0,!1,!1)),Ue("\\providecommand",c=>je(c,!0,!0,!0)),Ue("\\message",c=>{var e=c.consumeArgs(1)[0];return console.log(e.reverse().map(t=>t.text).join("")),""}),Ue("\\errmessage",c=>{var e=c.consumeArgs(1)[0];return console.error(e.reverse().map(t=>t.text).join("")),""}),Ue("\\show",c=>{var e=c.popToken(),t=e.text;return console.log(e,c.macros.get(t),Yo[t],Br.math[t],Br.text[t]),""}),Ue("\\bgroup","{"),Ue("\\egroup","}"),Ue("~","\\nobreakspace"),Ue("\\lq","`"),Ue("\\rq","'"),Ue("\\aa","\\r a"),Ue("\\AA","\\r A"),Ue("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}"),Ue("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Ue("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}"),Ue("\u212C","\\mathscr{B}"),Ue("\u2130","\\mathscr{E}"),Ue("\u2131","\\mathscr{F}"),Ue("\u210B","\\mathscr{H}"),Ue("\u2110","\\mathscr{I}"),Ue("\u2112","\\mathscr{L}"),Ue("\u2133","\\mathscr{M}"),Ue("\u211B","\\mathscr{R}"),Ue("\u212D","\\mathfrak{C}"),Ue("\u210C","\\mathfrak{H}"),Ue("\u2128","\\mathfrak{Z}"),Ue("\\Bbbk","\\Bbb{k}"),Ue("\xB7","\\cdotp"),Ue("\\llap","\\mathllap{\\textrm{#1}}"),Ue("\\rlap","\\mathrlap{\\textrm{#1}}"),Ue("\\clap","\\mathclap{\\textrm{#1}}"),Ue("\\mathstrut","\\vphantom{(}"),Ue("\\underbar","\\underline{\\text{#1}}"),Ue("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Ue("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Ue("\\ne","\\neq"),Ue("\u2260","\\neq"),Ue("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Ue("\u2209","\\notin"),Ue("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Ue("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Ue("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}"),Ue("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}"),Ue("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}"),Ue("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}"),Ue("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}"),Ue("\u27C2","\\perp"),Ue("\u203C","\\mathclose{!\\mkern-0.8mu!}"),Ue("\u220C","\\notni"),Ue("\u231C","\\ulcorner"),Ue("\u231D","\\urcorner"),Ue("\u231E","\\llcorner"),Ue("\u231F","\\lrcorner"),Ue("\xA9","\\copyright"),Ue("\xAE","\\textregistered"),Ue("\uFE0F","\\textregistered"),Ue("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Ue("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Ue("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Ue("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Ue("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Ue("\u22EE","\\vdots"),Ue("\\varGamma","\\mathit{\\Gamma}"),Ue("\\varDelta","\\mathit{\\Delta}"),Ue("\\varTheta","\\mathit{\\Theta}"),Ue("\\varLambda","\\mathit{\\Lambda}"),Ue("\\varXi","\\mathit{\\Xi}"),Ue("\\varPi","\\mathit{\\Pi}"),Ue("\\varSigma","\\mathit{\\Sigma}"),Ue("\\varUpsilon","\\mathit{\\Upsilon}"),Ue("\\varPhi","\\mathit{\\Phi}"),Ue("\\varPsi","\\mathit{\\Psi}"),Ue("\\varOmega","\\mathit{\\Omega}"),Ue("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Ue("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Ue("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Ue("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Ue("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Ue("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Ue("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Ue("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var zt={",":"\\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"};Ue("\\dots",function(c){var e="\\dotso",t=c.expandAfterFuture().text;return t in zt?e=zt[t]:(t.slice(0,4)==="\\not"||t in Br.math&&I.contains(["bin","rel"],Br.math[t].group))&&(e="\\dotsb"),e});var tr={")":!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};Ue("\\dotso",function(c){var e=c.future().text;return e in tr?"\\ldots\\,":"\\ldots"}),Ue("\\dotsc",function(c){var e=c.future().text;return e in tr&&e!==","?"\\ldots\\,":"\\ldots"}),Ue("\\cdots",function(c){var e=c.future().text;return e in tr?"\\@cdots\\,":"\\@cdots"}),Ue("\\dotsb","\\cdots"),Ue("\\dotsm","\\cdots"),Ue("\\dotsi","\\!\\cdots"),Ue("\\dotsx","\\ldots\\,"),Ue("\\DOTSI","\\relax"),Ue("\\DOTSB","\\relax"),Ue("\\DOTSX","\\relax"),Ue("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Ue("\\,","\\tmspace+{3mu}{.1667em}"),Ue("\\thinspace","\\,"),Ue("\\>","\\mskip{4mu}"),Ue("\\:","\\tmspace+{4mu}{.2222em}"),Ue("\\medspace","\\:"),Ue("\\;","\\tmspace+{5mu}{.2777em}"),Ue("\\thickspace","\\;"),Ue("\\!","\\tmspace-{3mu}{.1667em}"),Ue("\\negthinspace","\\!"),Ue("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Ue("\\negthickspace","\\tmspace-{5mu}{.277em}"),Ue("\\enspace","\\kern.5em "),Ue("\\enskip","\\hskip.5em\\relax"),Ue("\\quad","\\hskip1em\\relax"),Ue("\\qquad","\\hskip2em\\relax"),Ue("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Ue("\\tag@paren","\\tag@literal{({#1})}"),Ue("\\tag@literal",c=>{if(c.macros.get("\\df@tag"))throw new J("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Ue("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Ue("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Ue("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Ue("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Ue("\\newline","\\\\\\relax"),Ue("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Sr=Et(he["Main-Regular"][84][1]-.7*he["Main-Regular"][65][1]);Ue("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Sr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Ue("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Sr+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Ue("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Ue("\\@hspace","\\hskip #1\\relax"),Ue("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Ue("\\ordinarycolon",":"),Ue("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Ue("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Ue("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Ue("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Ue("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Ue("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Ue("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Ue("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Ue("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Ue("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Ue("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Ue("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Ue("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Ue("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Ue("\u2237","\\dblcolon"),Ue("\u2239","\\eqcolon"),Ue("\u2254","\\coloneqq"),Ue("\u2255","\\eqqcolon"),Ue("\u2A74","\\Coloneqq"),Ue("\\ratio","\\vcentcolon"),Ue("\\coloncolon","\\dblcolon"),Ue("\\colonequals","\\coloneqq"),Ue("\\coloncolonequals","\\Coloneqq"),Ue("\\equalscolon","\\eqqcolon"),Ue("\\equalscoloncolon","\\Eqqcolon"),Ue("\\colonminus","\\coloneq"),Ue("\\coloncolonminus","\\Coloneq"),Ue("\\minuscolon","\\eqcolon"),Ue("\\minuscoloncolon","\\Eqcolon"),Ue("\\coloncolonapprox","\\Colonapprox"),Ue("\\coloncolonsim","\\Colonsim"),Ue("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ue("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ue("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Ue("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Ue("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}"),Ue("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Ue("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Ue("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Ue("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Ue("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Ue("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Ue("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Ue("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Ue("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Ue("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Ue("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Ue("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Ue("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Ue("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Ue("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Ue("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Ue("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Ue("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Ue("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}"),Ue("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}"),Ue("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}"),Ue("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}"),Ue("\\imath","\\html@mathml{\\@imath}{\u0131}"),Ue("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Ue("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}"),Ue("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}"),Ue("\u27E6","\\llbracket"),Ue("\u27E7","\\rrbracket"),Ue("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Ue("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Ue("\u2983","\\lBrace"),Ue("\u2984","\\rBrace"),Ue("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}"),Ue("\u29B5","\\minuso"),Ue("\\darr","\\downarrow"),Ue("\\dArr","\\Downarrow"),Ue("\\Darr","\\Downarrow"),Ue("\\lang","\\langle"),Ue("\\rang","\\rangle"),Ue("\\uarr","\\uparrow"),Ue("\\uArr","\\Uparrow"),Ue("\\Uarr","\\Uparrow"),Ue("\\N","\\mathbb{N}"),Ue("\\R","\\mathbb{R}"),Ue("\\Z","\\mathbb{Z}"),Ue("\\alef","\\aleph"),Ue("\\alefsym","\\aleph"),Ue("\\Alpha","\\mathrm{A}"),Ue("\\Beta","\\mathrm{B}"),Ue("\\bull","\\bullet"),Ue("\\Chi","\\mathrm{X}"),Ue("\\clubs","\\clubsuit"),Ue("\\cnums","\\mathbb{C}"),Ue("\\Complex","\\mathbb{C}"),Ue("\\Dagger","\\ddagger"),Ue("\\diamonds","\\diamondsuit"),Ue("\\empty","\\emptyset"),Ue("\\Epsilon","\\mathrm{E}"),Ue("\\Eta","\\mathrm{H}"),Ue("\\exist","\\exists"),Ue("\\harr","\\leftrightarrow"),Ue("\\hArr","\\Leftrightarrow"),Ue("\\Harr","\\Leftrightarrow"),Ue("\\hearts","\\heartsuit"),Ue("\\image","\\Im"),Ue("\\infin","\\infty"),Ue("\\Iota","\\mathrm{I}"),Ue("\\isin","\\in"),Ue("\\Kappa","\\mathrm{K}"),Ue("\\larr","\\leftarrow"),Ue("\\lArr","\\Leftarrow"),Ue("\\Larr","\\Leftarrow"),Ue("\\lrarr","\\leftrightarrow"),Ue("\\lrArr","\\Leftrightarrow"),Ue("\\Lrarr","\\Leftrightarrow"),Ue("\\Mu","\\mathrm{M}"),Ue("\\natnums","\\mathbb{N}"),Ue("\\Nu","\\mathrm{N}"),Ue("\\Omicron","\\mathrm{O}"),Ue("\\plusmn","\\pm"),Ue("\\rarr","\\rightarrow"),Ue("\\rArr","\\Rightarrow"),Ue("\\Rarr","\\Rightarrow"),Ue("\\real","\\Re"),Ue("\\reals","\\mathbb{R}"),Ue("\\Reals","\\mathbb{R}"),Ue("\\Rho","\\mathrm{P}"),Ue("\\sdot","\\cdot"),Ue("\\sect","\\S"),Ue("\\spades","\\spadesuit"),Ue("\\sub","\\subset"),Ue("\\sube","\\subseteq"),Ue("\\supe","\\supseteq"),Ue("\\Tau","\\mathrm{T}"),Ue("\\thetasym","\\vartheta"),Ue("\\weierp","\\wp"),Ue("\\Zeta","\\mathrm{Z}"),Ue("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Ue("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Ue("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Ue("\\bra","\\mathinner{\\langle{#1}|}"),Ue("\\ket","\\mathinner{|{#1}\\rangle}"),Ue("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Ue("\\Bra","\\left\\langle#1\\right|"),Ue("\\Ket","\\left|#1\\right\\rangle");var Kr=c=>e=>{var t=e.consumeArg().tokens,d=e.consumeArg().tokens,O=e.consumeArg().tokens,V=e.consumeArg().tokens,Ce=e.macros.get("|"),Ke=e.macros.get("\\|");e.macros.beginGroup();var Xe=xr=>Fr=>{c&&(Fr.macros.set("|",Ce),O.length&&Fr.macros.set("\\|",Ke));var Hr=xr;if(!xr&&O.length){var un=Fr.future();un.text==="|"&&(Fr.popToken(),Hr=!0)}return{tokens:Hr?O:d,numArgs:0}};e.macros.set("|",Xe(!1)),O.length&&e.macros.set("\\|",Xe(!0));var Kt=e.consumeArg().tokens,ur=e.expandTokens([...V,...Kt,...t]);return e.macros.endGroup(),{tokens:ur.reverse(),numArgs:0}};Ue("\\bra@ket",Kr(!1)),Ue("\\bra@set",Kr(!0)),Ue("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Ue("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Ue("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Ue("\\angln","{\\angl n}"),Ue("\\blue","\\textcolor{##6495ed}{#1}"),Ue("\\orange","\\textcolor{##ffa500}{#1}"),Ue("\\pink","\\textcolor{##ff00af}{#1}"),Ue("\\red","\\textcolor{##df0030}{#1}"),Ue("\\green","\\textcolor{##28ae7b}{#1}"),Ue("\\gray","\\textcolor{gray}{#1}"),Ue("\\purple","\\textcolor{##9d38bd}{#1}"),Ue("\\blueA","\\textcolor{##ccfaff}{#1}"),Ue("\\blueB","\\textcolor{##80f6ff}{#1}"),Ue("\\blueC","\\textcolor{##63d9ea}{#1}"),Ue("\\blueD","\\textcolor{##11accd}{#1}"),Ue("\\blueE","\\textcolor{##0c7f99}{#1}"),Ue("\\tealA","\\textcolor{##94fff5}{#1}"),Ue("\\tealB","\\textcolor{##26edd5}{#1}"),Ue("\\tealC","\\textcolor{##01d1c1}{#1}"),Ue("\\tealD","\\textcolor{##01a995}{#1}"),Ue("\\tealE","\\textcolor{##208170}{#1}"),Ue("\\greenA","\\textcolor{##b6ffb0}{#1}"),Ue("\\greenB","\\textcolor{##8af281}{#1}"),Ue("\\greenC","\\textcolor{##74cf70}{#1}"),Ue("\\greenD","\\textcolor{##1fab54}{#1}"),Ue("\\greenE","\\textcolor{##0d923f}{#1}"),Ue("\\goldA","\\textcolor{##ffd0a9}{#1}"),Ue("\\goldB","\\textcolor{##ffbb71}{#1}"),Ue("\\goldC","\\textcolor{##ff9c39}{#1}"),Ue("\\goldD","\\textcolor{##e07d10}{#1}"),Ue("\\goldE","\\textcolor{##a75a05}{#1}"),Ue("\\redA","\\textcolor{##fca9a9}{#1}"),Ue("\\redB","\\textcolor{##ff8482}{#1}"),Ue("\\redC","\\textcolor{##f9685d}{#1}"),Ue("\\redD","\\textcolor{##e84d39}{#1}"),Ue("\\redE","\\textcolor{##bc2612}{#1}"),Ue("\\maroonA","\\textcolor{##ffbde0}{#1}"),Ue("\\maroonB","\\textcolor{##ff92c6}{#1}"),Ue("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Ue("\\maroonD","\\textcolor{##ca337c}{#1}"),Ue("\\maroonE","\\textcolor{##9e034e}{#1}"),Ue("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Ue("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Ue("\\purpleC","\\textcolor{##aa87ff}{#1}"),Ue("\\purpleD","\\textcolor{##7854ab}{#1}"),Ue("\\purpleE","\\textcolor{##543b78}{#1}"),Ue("\\mintA","\\textcolor{##f5f9e8}{#1}"),Ue("\\mintB","\\textcolor{##edf2df}{#1}"),Ue("\\mintC","\\textcolor{##e0e5cc}{#1}"),Ue("\\grayA","\\textcolor{##f6f7f7}{#1}"),Ue("\\grayB","\\textcolor{##f0f1f2}{#1}"),Ue("\\grayC","\\textcolor{##e3e5e6}{#1}"),Ue("\\grayD","\\textcolor{##d6d8da}{#1}"),Ue("\\grayE","\\textcolor{##babec2}{#1}"),Ue("\\grayF","\\textcolor{##888d93}{#1}"),Ue("\\grayG","\\textcolor{##626569}{#1}"),Ue("\\grayH","\\textcolor{##3b3e40}{#1}"),Ue("\\grayI","\\textcolor{##21242c}{#1}"),Ue("\\kaBlue","\\textcolor{##314453}{#1}"),Ue("\\kaGreen","\\textcolor{##71B307}{#1}");var ln={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Qn{constructor(e,t,d){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 Qi(ls,t.macros),this.mode=d,this.stack=[]}feed(e){this.lexer=new Gi(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,d,O;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:O,end:d}=this.consumeArg(["]"])}else({tokens:O,start:t,end:d}=this.consumeArg());return this.pushToken(new Re("EOF",d.loc)),this.pushTokens(O),new Re("",B.range(t,d))}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var t=[],d=e&&e.length>0;d||this.consumeSpaces();var O=this.future(),V,Ce=0,Ke=0;do{if(V=this.popToken(),t.push(V),V.text==="{")++Ce;else if(V.text==="}"){if(--Ce,Ce===-1)throw new J("Extra }",V)}else if(V.text==="EOF")throw new J("Unexpected end of input in a macro argument, expected '"+(e&&d?e[Ke]:"}")+"'",V);if(e&&d)if((Ce===0||Ce===1&&e[Ke]==="{")&&V.text===e[Ke]){if(++Ke,Ke===e.length){t.splice(-Ke,Ke);break}}else Ke=0}while(Ce!==0||d);return O.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:O,end:V}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new J("The length of delimiters doesn't match the number of args!");for(var d=t[0],O=0;O<d.length;O++){var V=this.popToken();if(d[O]!==V.text)throw new J("Use of the macro doesn't match its definition",V)}}for(var Ce=[],Ke=0;Ke<e;Ke++)Ce.push(this.consumeArg(t&&t[Ke+1]).tokens);return Ce}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new J("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),d=t.text,O=t.noexpand?null:this._getExpansion(d);if(O==null||e&&O.unexpandable){if(e&&O==null&&d[0]==="\\"&&!this.isDefined(d))throw new J("Undefined control sequence: "+d);return this.pushToken(t),!1}this.countExpansion(1);var V=O.tokens,Ce=this.consumeArgs(O.numArgs,O.delimiters);if(O.numArgs){V=V.slice();for(var Ke=V.length-1;Ke>=0;--Ke){var Xe=V[Ke];if(Xe.text==="#"){if(Ke===0)throw new J("Incomplete placeholder at end of macro body",Xe);if(Xe=V[--Ke],Xe.text==="#")V.splice(Ke+1,1);else if(/^[1-9]$/.test(Xe.text))V.splice(Ke,2,...Ce[+Xe.text-1]);else throw new J("Not a valid argument number",Xe)}}}return this.pushTokens(V),V.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 Re(e)]):void 0}expandTokens(e){var t=[],d=this.stack.length;for(this.pushTokens(e);this.stack.length>d;)if(this.expandOnce(!0)===!1){var O=this.stack.pop();O.treatAsRelax&&(O.noexpand=!1,O.treatAsRelax=!1),t.push(O)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(d=>d.text).join("")}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var d=this.lexer.catcodes[e];if(d!=null&&d!==13)return}var O=typeof t=="function"?t(this):t;if(typeof O=="string"){var V=0;if(O.indexOf("#")!==-1)for(var Ce=O.replace(/##/g,"");Ce.indexOf("#"+(V+1))!==-1;)++V;for(var Ke=new Gi(O,this.settings),Xe=[],Kt=Ke.lex();Kt.text!=="EOF";)Xe.push(Kt),Kt=Ke.lex();Xe.reverse();var ur={tokens:Xe,numArgs:V};return ur}return O}isDefined(e){return this.macros.has(e)||Yo.hasOwnProperty(e)||Br.math.hasOwnProperty(e)||Br.text.hasOwnProperty(e)||ln.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Yo.hasOwnProperty(e)&&!Yo[e].primitive}}var ne=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,r=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"}),a={"\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"}},l={\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 g{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 Qn(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 J("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 Re("}")),this.gullet.pushTokens(e);var d=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,d}parseExpression(e,t){for(var d=[];;){this.mode==="math"&&this.consumeSpaces();var O=this.fetch();if(g.endOfExpression.indexOf(O.text)!==-1||t&&O.text===t||e&&Yo[O.text]&&Yo[O.text].infix)break;var V=this.parseAtom(t);if(V){if(V.type==="internal")continue}else break;d.push(V)}return this.mode==="text"&&this.formLigatures(d),this.handleInfixNodes(d)}handleInfixNodes(e){for(var t=-1,d,O=0;O<e.length;O++)if(e[O].type==="infix"){if(t!==-1)throw new J("only one infix operator per group",e[O].token);t=O,d=e[O].replaceWith}if(t!==-1&&d){var V,Ce,Ke=e.slice(0,t),Xe=e.slice(t+1);Ke.length===1&&Ke[0].type==="ordgroup"?V=Ke[0]:V={type:"ordgroup",mode:this.mode,body:Ke},Xe.length===1&&Xe[0].type==="ordgroup"?Ce=Xe[0]:Ce={type:"ordgroup",mode:this.mode,body:Xe};var Kt;return d==="\\\\abovefrac"?Kt=this.callFunction(d,[V,e[t],Ce],[]):Kt=this.callFunction(d,[V,Ce],[]),[Kt]}else return e}handleSupSubscript(e){var t=this.fetch(),d=t.text;this.consume(),this.consumeSpaces();var O;do{var V;O=this.parseGroup(e)}while(((V=O)==null?void 0:V.type)==="internal");if(!O)throw new J("Expected group after '"+d+"'",t);return O}formatUnsupportedCmd(e){for(var t=[],d=0;d<e.length;d++)t.push({type:"textord",mode:"text",text:e[d]});var O={type:"text",mode:this.mode,body:t},V={type:"color",mode:this.mode,color:this.settings.errorColor,body:[O]};return V}parseAtom(e){var t=this.parseGroup("atom",e);if((t==null?void 0:t.type)==="internal"||this.mode==="text")return t;for(var d,O;;){this.consumeSpaces();var V=this.fetch();if(V.text==="\\limits"||V.text==="\\nolimits"){if(t&&t.type==="op"){var Ce=V.text==="\\limits";t.limits=Ce,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=V.text==="\\limits");else throw new J("Limit controls must follow a math operator",V);this.consume()}else if(V.text==="^"){if(d)throw new J("Double superscript",V);d=this.handleSupSubscript("superscript")}else if(V.text==="_"){if(O)throw new J("Double subscript",V);O=this.handleSupSubscript("subscript")}else if(V.text==="'"){if(d)throw new J("Double superscript",V);var Ke={type:"textord",mode:this.mode,text:"\\prime"},Xe=[Ke];for(this.consume();this.fetch().text==="'";)Xe.push(Ke),this.consume();this.fetch().text==="^"&&Xe.push(this.handleSupSubscript("superscript")),d={type:"ordgroup",mode:this.mode,body:Xe}}else if(r[V.text]){var Kt=ne.test(V.text),ur=[];for(ur.push(new Re(r[V.text])),this.consume();;){var xr=this.fetch().text;if(!r[xr]||ne.test(xr)!==Kt)break;ur.unshift(new Re(r[xr])),this.consume()}var Fr=this.subparse(ur);Kt?O={type:"ordgroup",mode:"math",body:Fr}:d={type:"ordgroup",mode:"math",body:Fr}}else break}return d||O?{type:"supsub",mode:this.mode,base:t,sup:d,sub:O}:t}parseFunction(e,t){var d=this.fetch(),O=d.text,V=Yo[O];if(!V)return null;if(this.consume(),t&&t!=="atom"&&!V.allowedInArgument)throw new J("Got function '"+O+"' with no arguments"+(t?" as "+t:""),d);if(this.mode==="text"&&!V.allowedInText)throw new J("Can't use function '"+O+"' in text mode",d);if(this.mode==="math"&&V.allowedInMath===!1)throw new J("Can't use function '"+O+"' in math mode",d);var{args:Ce,optArgs:Ke}=this.parseArguments(O,V);return this.callFunction(O,Ce,Ke,d,e)}callFunction(e,t,d,O,V){var Ce={funcName:e,parser:this,token:O,breakOnTokenText:V},Ke=Yo[e];if(Ke&&Ke.handler)return Ke.handler(Ce,t,d);throw new J("No function handler for "+e)}parseArguments(e,t){var d=t.numArgs+t.numOptionalArgs;if(d===0)return{args:[],optArgs:[]};for(var O=[],V=[],Ce=0;Ce<d;Ce++){var Ke=t.argTypes&&t.argTypes[Ce],Xe=Ce<t.numOptionalArgs;(t.primitive&&Ke==null||t.type==="sqrt"&&Ce===1&&V[0]==null)&&(Ke="primitive");var Kt=this.parseGroupOfType("argument to '"+e+"'",Ke,Xe);if(Xe)V.push(Kt);else if(Kt!=null)O.push(Kt);else throw new J("Null argument, please report this as a bug")}return{args:O,optArgs:V}}parseGroupOfType(e,t,d){switch(t){case"color":return this.parseColorGroup(d);case"size":return this.parseSizeGroup(d);case"url":return this.parseUrlGroup(d);case"math":case"text":return this.parseArgumentGroup(d,t);case"hbox":{var O=this.parseArgumentGroup(d,"text");return O!=null?{type:"styling",mode:O.mode,body:[O],style:"text"}:null}case"raw":{var V=this.parseStringGroup("raw",d);return V!=null?{type:"raw",mode:"text",string:V.text}:null}case"primitive":{if(d)throw new J("A primitive argument cannot be optional");var Ce=this.parseGroup(e);if(Ce==null)throw new J("Expected group as "+e,this.fetch());return Ce}case"original":case null:case void 0:return this.parseArgumentGroup(d);default:throw new J("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,t){var d=this.gullet.scanArgument(t);if(d==null)return null;for(var O="",V;(V=this.fetch()).text!=="EOF";)O+=V.text,this.consume();return this.consume(),d.text=O,d}parseRegexGroup(e,t){for(var d=this.fetch(),O=d,V="",Ce;(Ce=this.fetch()).text!=="EOF"&&e.test(V+Ce.text);)O=Ce,V+=O.text,this.consume();if(V==="")throw new J("Invalid "+t+": '"+d.text+"'",d);return d.range(O,V)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(t==null)return null;var d=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!d)throw new J("Invalid color: '"+t.text+"'",t);var O=d[0];return/^[0-9a-f]{6}$/i.test(O)&&(O="#"+O),{type:"color-token",mode:this.mode,color:O}}parseSizeGroup(e){var t,d=!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",d=!0);var O=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!O)throw new J("Invalid size: '"+t.text+"'",t);var V={number:+(O[1]+O[2]),unit:O[3]};if(!Nt(V))throw new J("Invalid unit: '"+V.unit+"'",t);return{type:"size",mode:this.mode,value:V,isBlank:d}}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 d=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:d}}parseArgumentGroup(e,t){var d=this.gullet.scanArgument(e);if(d==null)return null;var O=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var V=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var Ce={type:"ordgroup",mode:this.mode,loc:d.loc,body:V};return t&&this.switchMode(O),Ce}parseGroup(e,t){var d=this.fetch(),O=d.text,V;if(O==="{"||O==="\\begingroup"){this.consume();var Ce=O==="{"?"}":"\\endgroup";this.gullet.beginGroup();var Ke=this.parseExpression(!1,Ce),Xe=this.fetch();this.expect(Ce),this.gullet.endGroup(),V={type:"ordgroup",mode:this.mode,loc:B.range(d,Xe),body:Ke,semisimple:O==="\\begingroup"||void 0}}else if(V=this.parseFunction(t,e)||this.parseSymbol(),V==null&&O[0]==="\\"&&!ln.hasOwnProperty(O)){if(this.settings.throwOnError)throw new J("Undefined control sequence: "+O,d);V=this.formatUnsupportedCmd(O),this.consume()}return V}formLigatures(e){for(var t=e.length-1,d=0;d<t;++d){var O=e[d],V=O.text;V==="-"&&e[d+1].text==="-"&&(d+1<t&&e[d+2].text==="-"?(e.splice(d,3,{type:"textord",mode:"text",loc:B.range(O,e[d+2]),text:"---"}),t-=2):(e.splice(d,2,{type:"textord",mode:"text",loc:B.range(O,e[d+1]),text:"--"}),t-=1)),(V==="'"||V==="`")&&e[d+1].text===V&&(e.splice(d,2,{type:"textord",mode:"text",loc:B.range(O,e[d+1]),text:V+V}),t-=1)}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var d=t.slice(5),O=d.charAt(0)==="*";if(O&&(d=d.slice(1)),d.length<2||d.charAt(0)!==d.slice(-1))throw new J(`\\verb assertion failed --
|
|
|
please report what input caused this bug`);return d=d.slice(1,-1),{type:"verb",mode:"text",body:d,star:O}}l.hasOwnProperty(t[0])&&!Br[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=l[t[0]]+t.slice(1));var V=wi.exec(t);V&&(t=t.substring(0,V.index),t==="i"?t="\u0131":t==="j"&&(t="\u0237"));var Ce;if(Br[this.mode][t]){this.settings.strict&&this.mode==="math"&&Pn.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var Ke=Br[this.mode][t].group,Xe=B.range(e),Kt;if(wr.hasOwnProperty(Ke)){var ur=Ke;Kt={type:"atom",mode:this.mode,family:ur,loc:Xe,text:t}}else Kt={type:Ke,mode:this.mode,loc:Xe,text:t};Ce=Kt}else if(t.charCodeAt(0)>=128)this.settings.strict&&(We(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)),Ce={type:"textord",mode:"text",loc:B.range(e),text:t};else return null;if(this.consume(),V)for(var xr=0;xr<V[0].length;xr++){var Fr=V[0][xr];if(!a[Fr])throw new J("Unknown accent ' "+Fr+"'",e);var Hr=a[Fr][this.mode]||a[Fr].text;if(!Hr)throw new J("Accent "+Fr+" unsupported in "+this.mode+" mode",e);Ce={type:"accent",mode:this.mode,loc:B.range(e),label:Hr,isStretchy:!1,isShifty:!0,base:Ce}}return Ce}}g.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var H=function(e,t){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var d=new g(e,t);delete d.gullet.macros.current["\\df@tag"];var O=d.parse();if(delete d.gullet.macros.current["\\current@color"],delete d.gullet.macros.current["\\color"],d.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new J("\\tag works only in display equations");O=[{type:"tag",mode:"text",body:O,tag:d.subparse([new Re("\\df@tag")])}]}return O},se=function(e,t,d){t.textContent="";var O=rr(e,d).toNode();t.appendChild(O)};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."),se=function(){throw new J("KaTeX doesn't work in quirks mode.")});var De=function(e,t){var d=rr(e,t).toMarkup();return d},tt=function(e,t){var d=new ae(t);return H(e,d)},It=function(e,t,d){if(d.throwOnError||!(e instanceof J))throw e;var O=T.makeSpan(["katex-error"],[new Te(t)]);return O.setAttribute("title",e.toString()),O.setAttribute("style","color:"+d.errorColor),O},rr=function(e,t){var d=new ae(t);try{var O=H(e,d);return cn(O,e,d)}catch(V){return It(V,e,d)}},pr=function(e,t){var d=new ae(t);try{var O=H(e,d);return Sn(O,e,d)}catch(V){return It(V,e,d)}},kr="0.16.23",rn={Span:x,Anchor:W,SymbolNode:Te,SvgNode:zr,PathNode:Ar,LineNode:yn},hn={version:kr,render:se,renderToString:De,ParseError:J,SETTINGS_SCHEMA:w,__parse:tt,__renderToDomTree:rr,__renderToHTMLTree:pr,__setFontMetrics:we,__defineSymbol:h,__defineFunction:Ge,__defineMacro:Ue,__domTree:rn},In=n(2348);const Un={},Ca=[];function Ia(c){const e=c||Un;return function(t,d){(0,In.S4)(t,"element",function(O,V){const Ce=Array.isArray(O.properties.className)?O.properties.className:Ca,Ke=Ce.includes("language-math"),Xe=Ce.includes("math-display"),Kt=Ce.includes("math-inline");let ur=Xe;if(!Ke&&!Xe&&!Kt)return;let xr=V[V.length-1],Fr=O;if(O.tagName==="code"&&Ke&&xr&&xr.type==="element"&&xr.tagName==="pre"&&(Fr=xr,xr=V[V.length-2],ur=!0),!xr)return;const Hr=(0,Je.l)(Fr,{whitespace:"pre"});let un;try{un=hn.renderToString(Hr,N0(j0({},e),{displayMode:ur,throwOnError:!0}))}catch(Nn){const Mn=Nn,oa=Mn.name.toLowerCase();d.message("Could not render math with KaTeX",{ancestors:[...V,O],cause:Mn,place:O.position,ruleId:oa,source:"rehype-katex"});try{un=hn.renderToString(Hr,N0(j0({},e),{displayMode:ur,strict:"ignore",throwOnError:!1}))}catch(ya){un=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(e.errorColor||"#cc0000"),title:String(Nn)},children:[{type:"text",value:Hr}]}]}}typeof un=="string"&&(un=(0,o.N)(un,{fragment:!0}).children);const bn=xr.children.indexOf(Fr);return xr.children.splice(bn,1,...un),In.AM})}}}}]);
|
|
|
}()); |