|
|
!(function(){var Dv=Object.defineProperty;var _m=Object.getOwnPropertySymbols;var Rv=Object.prototype.hasOwnProperty,Tv=Object.prototype.propertyIsEnumerable;var Sg=(tr,Ct,h)=>Ct in tr?Dv(tr,Ct,{enumerable:!0,configurable:!0,writable:!0,value:h}):tr[Ct]=h,Ig=(tr,Ct)=>{for(var h in Ct||(Ct={}))Rv.call(Ct,h)&&Sg(tr,h,Ct[h]);if(_m)for(var h of _m(Ct))Tv.call(Ct,h)&&Sg(tr,h,Ct[h]);return tr};var ya=(tr,Ct,h)=>Sg(tr,typeof Ct!="symbol"?Ct+"":Ct,h);(self.webpackChunk=self.webpackChunk||[]).push([[2303],{27812:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},89489:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},59477:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},40001:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},26227:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},49198:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},84105:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},18785:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},87169:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},73331:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},15277:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},52671:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},8657:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},56082:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},33853:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},15075:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},43531:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},61485:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},38819:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},47472:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},95869:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},87395:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(s,L){return fe.createElement(R.Z,(0,ye.Z)({},s,{ref:L,icon:be}))},v=fe.forwardRef($),m=v},23564:function(tr,Ct,h){"use strict";h.r(Ct),h.d(Ct,{default:function(){return p}});var ye=h(59301),fe=h(56656),H=h.n(fe),be=h(86129),R=h.n(be),$=h(43597),v=h(92123),m=h(43418),N=h(8591),s=h(95237),L=h(43604),S=h(3113),w=h(61621),x=h(66104),_=h(28103),B=h(1710),W=h(10777),Q=h(57809),q=h(71418),Y=h(27812),G=h(95869),D=h(87169),O=h(26227),J=h(85386),K=h(47141),le=h(94601),ae=h(78241),he=h(5871),k=h(92832),Ue=({defaultValue:M,onBlur:re,max:C,className:j="game-score"})=>{const[me,Ae]=(0,ye.useState)(M);(0,ye.useEffect)(()=>{Ae(M)},[M]);function ie(Ge){Ae(Ge)}function Se(){me&&(re(me>C?C:me),Ae(null))}return ye.createElement(he.Z,{max:C,min:0,className:j,value:me,onChange:ie,onBlur:Se})},F={greyText:"greyText___lvEE6",info:"info___El01Z",label:"label___GmvST",blackContent:"blackContent___FYo0Z",orangeContent:"orangeContent____uYQ3",inputLabel:"inputLabel___ruiZm",tableTitle:"tableTitle___ir3x7",scoreTable:"scoreTable___b9Z37"},De=h(59301),we=(M,re,C)=>new Promise((j,me)=>{var Ae=Ge=>{try{Se(C.next(Ge))}catch(xe){me(xe)}},ie=Ge=>{try{Se(C.throw(Ge))}catch(xe){me(xe)}},Se=Ge=>Ge.done?j(Ge.value):Promise.resolve(Ge.value).then(Ae,ie);Se((C=C.apply(M,re)).next())});const de=({shixunHomeworks:M,dispatch:re,classroomList:C,gethomeworkreport:j,homeWorkReport:me})=>{var Ae,ie;const{shixunWorkReport:Se}=M,Ge=(0,v.useParams)(),[xe,He]=(0,ye.useState)(!1),[Te,pe]=(0,ye.useState)(!1),[ge,Ve]=(0,ye.useState)(""),[yt]=ae.default.useForm(),ht=()=>we(void 0,null,function*(){pe(!0);const tn=yt.getFieldsValue();(yield(0,$.ZP)(`/api/student_works/${Ge.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:tn.hidden_comment,comment:tn.comment}})).status===0&&(N.ZP.success("\u70B9\u8BC4\u6210\u529F"),yt.resetFields(),re({type:"shixunHomeworks/setActionTabs",payload:{}}),j()),pe(!1)}),Tt=()=>we(void 0,null,function*(){if(!ge){N.ZP.warning("\u8BF7\u586B\u5199\u5206\u6570");return}pe(!0);const tn=yt.getFieldsValue();(yield(0,$.ZP)(`/api/student_works/${Ge.homeworkId}/add_score.json`,{method:"post",body:{comment:tn.comment,score:ge}})).status===0&&(N.ZP.success("\u70B9\u8BC4\u6210\u529F"),re({type:"shixunHomeworks/setActionTabs",payload:{}}),j()),pe(!1)}),sn=[{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"shixun_name",ellipsis:!0},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time",width:160,render:tn=>tn||"--"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",width:110},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time",width:160},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"cost_time",width:160},{title:"\u7F3A\u8BC4\u6263\u5206",dataIndex:"absence_penalty",width:90,render:tn=>tn||"--"},{title:"\u5F97\u5206",dataIndex:"score",width:90,render:(tn,pn)=>De.createElement("div",null,De.createElement("span",{style:{color:parseFloat(pn.score_full)!==parseFloat(tn)?"#E30000":"#53C41B"}},tn),"/",pn.score_full)},{title:"\u8C03\u5206",width:100,dataIndex:"action",render:(tn,pn)=>(0,K.GJ)()?De.createElement(Ue,{max:pn.score_full,onBlur:mn=>we(void 0,null,function*(){var qt;if((0,K.Rm)()&&!((qt=C.AssistantObject.practice)!=null&&qt.can_appraise)){N.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const gn=yield(0,$.ZP)(`/api/student_works/${Ge.homeworkId}/adjust_score.json`,{method:"post",body:{score:mn}});j(),gn.status===0&&N.ZP.success("\u8C03\u5206\u6210\u529F")})}):me!=null&&me.is_anonymous?De.createElement(he.Z,{min:0,value:ge,onChange:mn=>Ve(mn),max:pn.score_full}):tn}].filter(tn=>me!=null&&me.is_anonymous?!["late_penalty","score","absence_penalty"].includes(tn.dataIndex):!0);return De.createElement(m.default,{centered:!0,width:1080,title:"\u70B9\u8BC4\u4F5C\u4E1A",afterClose:()=>{yt.resetFields(),Ve("")},confirmLoading:Te,open:M.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>we(void 0,null,function*(){var tn;if((0,K.Rm)()&&!((tn=C.AssistantObject.practice)!=null&&tn.can_appraise)){N.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if(me!=null&&me.is_anonymous){Tt();return}const pn=yt.getFieldsValue();JSON.stringify(pn)==="{}"||pn.hidden_comment===""&&pn.comment===""?He(!0):ht()}),onCancel:()=>{re({type:"shixunHomeworks/setActionTabs",payload:{}})}},De.createElement(s.Z,{className:F.info},De.createElement(L.Z,null,De.createElement("span",{className:`${F.label} ${F.greyText}`},"\u59D3\u540D"),De.createElement("span",{className:F.blackContent},me==null?void 0:me.username)),De.createElement(L.Z,null,De.createElement("span",{className:`${F.label} ${F.greyText}`},"\u5B66\u53F7"),De.createElement("span",{className:F.blackContent},(me==null?void 0:me.student_id)||"--")),!(me!=null&&me.is_anonymous)&&De.createElement(De.Fragment,null,De.createElement(L.Z,null,De.createElement("span",{className:`${F.label} ${F.greyText}`},"\u73ED\u7EA7"),De.createElement("span",{className:F.blackContent},(me==null?void 0:me.group_name)||"--")),De.createElement(L.Z,null,De.createElement("span",{className:`${F.label} ${F.greyText}`},"\u8865\u4EA4\u6263\u5206"),De.createElement("span",{className:F.orangeContent},((Ae=me==null?void 0:me.stage_list[0])==null?void 0:Ae.late_penalty)||"--")),De.createElement(L.Z,null,De.createElement("span",{className:`${F.label} ${F.greyText}`},"\u7F3A\u8BC4\u6263\u5206"),De.createElement("span",{className:F.orangeContent},((ie=me==null?void 0:me.stage_list[0])==null?void 0:ie.absence_penalty)||"--")),De.createElement(L.Z,null,De.createElement("span",{className:`${F.label} ${F.greyText}`},"\u603B\u6210\u7EE9"),De.createElement("span",{className:F.orangeContent},(me==null?void 0:me.stage_list[0].score)||"--")))),De.createElement(ae.default,{form:yt,onChange:()=>{xe&&He(!1)}},De.createElement("div",{className:`${F.inputLabel} ${F.greyText}`},me!=null&&me.is_anonymous?"\u8BC4\u8BED":"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),De.createElement(ae.default.Item,{name:"comment"},De.createElement(k.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3})),!(me!=null&&me.is_anonymous)&&De.createElement(De.Fragment,null,De.createElement("div",{className:`${F.inputLabel} ${F.greyText}`},"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),De.createElement(ae.default.Item,{name:"hidden_comment"},De.createElement(k.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:3}))," ")),xe&&De.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A"),De.createElement("div",{className:F.tableTitle},"\u5173\u5361\u6210\u7EE9"),De.createElement(B.default,{className:F.scoreTable,dataSource:me==null?void 0:me.stage_list,rowKey:"challenge_id",pagination:!1,columns:sn}))};var Be=(0,v.connect)(({shixunHomeworks:M,classroomList:re})=>({shixunHomeworks:M,classroomList:re}))(de),ne={},ve=(M,re,C)=>new Promise((j,me)=>{var Ae=Ge=>{try{Se(C.next(Ge))}catch(xe){me(xe)}},ie=Ge=>{try{Se(C.throw(Ge))}catch(xe){me(xe)}},Se=Ge=>Ge.done?j(Ge.value):Promise.resolve(Ge.value).then(Ae,ie);Se((C=C.apply(M,re)).next())});const ee=({shixunHomeworks:M,dispatch:re,gethomeworkreport:C,homeWorkReport:j})=>{var me,Ae;const{shixunWorkReport:ie}=M;console.log(j,"homeWorkReport");const Se=(0,v.useParams)(),[Ge,xe]=(0,ye.useState)(!1),[He]=ae.default.useForm(),{user_name:Te,score:pe,comment_time:ge,content:Ve,score_id:yt,user_id:ht}=((Ae=(me=M==null?void 0:M.actionTabs)==null?void 0:me.selectArrs)==null?void 0:Ae.data)||{},Tt=()=>ve(void 0,null,function*(){yield He.validateFields(),xe(!0);const sn=He.getFieldsValue();(yield(0,$.ZP)(`/api/student_works/${Se.homeworkId}/appeal_anonymous_score.json`,{method:"post",body:{comment:sn.comment,score_id:yt,userId:ht}})).status===0&&(N.ZP.success("\u64CD\u4F5C\u6210\u529F"),re({type:"shixunHomeworks/setActionTabs",payload:{}}),C()),xe(!1)});return ye.createElement(m.default,{centered:!0,width:600,title:"\u533F\u8BC4\u7533\u8BC9",afterClose:()=>{He.resetFields()},confirmLoading:Ge,open:M.actionTabs.key==="\u533F\u8BC4\u7533\u8BC9",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Tt,onCancel:()=>{re({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement("div",{className:"p20",style:{background:"#F7F8F9",padding:15,marginBottom:20}},ye.createElement(s.Z,{justify:"space-between",className:ne.info},ye.createElement("span",null,ye.createElement("span",{className:"c-grey-666"},Te),ye.createElement("span",{className:"c-grey-333 ml5"},"\u8C03\u5206\u4E3A"),ye.createElement("span",{className:"c-orange ml5"},pe,"\u5206")),ye.createElement("span",{className:"c-grey-333"},ge)),ye.createElement("div",{className:"c-grey-333 mt5"},Ve)),ye.createElement(ae.default,{form:He,className:"mt15",layout:"vertical"},ye.createElement(ae.default.Item,{name:"comment",label:"\u7533\u8BC9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7533\u8BC9\u539F\u56E0"}]},ye.createElement(k.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u7533\u8BC9\u539F\u56E0",rows:3}))))};var se=(0,v.connect)(({shixunHomeworks:M})=>({shixunHomeworks:M}))(ee),je=h(8024),Pe={flex_box_center:"flex_box_center___uz0LL",flex_space_between:"flex_space_between___kuKI5",flex_box_vertical_center:"flex_box_vertical_center___VzPH1",flex_box_center_end:"flex_box_center_end___Tyr1U",flex_box_column:"flex_box_column___qsgVa",title:"title___SFyGM",export:"export___ezPhH",title1_right:"title1_right___tMOJn",userPic:"userPic___mW4Rr",userInfo:"userInfo___vYvSZ",listItem:"listItem___gJf4Z",rightInfo:"rightInfo___PRYRt",shixunTitle:"shixunTitle___STlvE",shixunWrp:"shixunWrp___knhTt",footerBar:"footerBar___R5IlQ",footerBarStatic:"footerBarStatic___M4EQj",exitComment:"exitComment___NoCI4",nextComment:"nextComment___sFj7z",modal:"modal___TwQdH",tag:"tag___RErUu"},Oe=h(17410),ut=h(4604),mt=h(44164),Ot=h.n(mt),Ee=h(59301),kt=Object.defineProperty,Rt=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,Mt=Object.prototype.propertyIsEnumerable,T=(M,re,C)=>re in M?kt(M,re,{enumerable:!0,configurable:!0,writable:!0,value:C}):M[re]=C,Ye=(M,re)=>{for(var C in re||(re={}))on.call(re,C)&&T(M,C,re[C]);if(Rt)for(var C of Rt(re))Mt.call(re,C)&&T(M,C,re[C]);return M},E=(M,re)=>{var C={};for(var j in M)on.call(M,j)&&re.indexOf(j)<0&&(C[j]=M[j]);if(M!=null&&Rt)for(var j of Rt(M))re.indexOf(j)<0&&Mt.call(M,j)&&(C[j]=M[j]);return C},u=(M,re,C)=>new Promise((j,me)=>{var Ae=Ge=>{try{Se(C.next(Ge))}catch(xe){me(xe)}},ie=Ge=>{try{Se(C.throw(Ge))}catch(xe){me(xe)}},Se=Ge=>Ge.done?j(Ge.value):Promise.resolve(Ge.value).then(Ae,ie);Se((C=C.apply(M,re)).next())});const a=M=>{var re=M,{shixunHomeworks:C,classroomList:j,globalSetting:me,loading:Ae,user:ie,dispatch:Se}=re,Ge=E(re,["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"]),xe,He,Te,pe,ge,Ve,yt;const[ht,Tt]=(0,ye.useState)(Ye({},(0,v.useParams)())),sn=(0,v.useParams)(),tn=(0,v.useLocation)(),[]=(0,ye.useState)([]),[pn,mn]=(0,ye.useState)({last:!1}),[qt,gn]=(0,ye.useState)({last:!1}),Sn=(0,ye.useRef)(),Jn=(0,ye.useRef)(),[Br,Xn]=(0,ye.useState)(!1),[zr,pi]=(0,ye.useState)(!1),[yn,Vr]=(0,ye.useState)(!1),[Nt,qr]=(0,ye.useState)(),[Yi,bi]=(0,ye.useState)(),[Pi,Io]=(0,ye.useState)(!0),[Ni,Qr]=(0,ye.useState)(),Ei=(0,K.GJ)(),[nt,Jt]=(0,ye.useState)(new(R())),[An,Ke]=(0,ye.useState)(0),[ze,en]=(0,ye.useState)([]),[Zt,Tn]=(0,ye.useState)(!1),[hn,Un]=(0,ye.useState)(!1),[Hn,kn]=(0,ye.useState)(""),[cr,Ln]=(0,ye.useState)(!1),[qn,sr]=(0,ye.useState)(!0),[Kn,ur]=(0,ye.useState)(0),[ir]=(0,v.useSearchParams)(),Gr=()=>u(void 0,null,function*(){(ie.userInfo.is_teacher||ie.userInfo.admin)&&(Ln(!0),sr(!1))});(0,ye.useEffect)(()=>{Gr(),console.log("\u6253\u5370\u7684------",Nt),console.log(C),kn(Nt==null?void 0:Nt.repeat_minus_score)},[Nt,ie]),(0,ye.useEffect)(()=>{console.log("\u89E6\u53D1\u8FD9",Nt==null?void 0:Nt.work_score),ur(Nt==null?void 0:Nt.work_score)},[Nt==null?void 0:Nt.work_score,Hn]),(0,ye.useEffect)(()=>(Se({type:"globalSetting/footerToggle",payload:!1}),()=>{Se({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{var Ht;if(Nt){let Zn=[];(Ht=Nt==null?void 0:Nt.target_test_sets)==null||Ht.map((or,Sr)=>{var Rr;(Rr=or==null?void 0:or.targets)==null||Rr.map((Yn,hr)=>{var jr;Yn.name=or==null?void 0:or.name,Yn.total_target_score=or==null?void 0:or.total_target_score,Yn.actual_target_score=or==null?void 0:or.actual_target_score,Yn.rowSpan=hr===0?(jr=or==null?void 0:or.targets)==null?void 0:jr.length:0,Yn.order=Sr+1,Zn.push(Yn)})}),Qr(Zn),Se({type:"classroomList/getAssistantPermissions",payload:{course_id:ht.coursesId}})}},[Nt]),(0,ye.useEffect)(()=>{C.actionTabs.key==="\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"&&ze.length>0&&Nt!=null&&Nt.course_name&&Ft("all")},[Nt==null?void 0:Nt.course_name]),(0,ye.useEffect)(()=>{console.log(sn),Tt(Ye({},sn))},[tn.pathname]);const Er=()=>{document.body.scrollIntoView()};function Qn(){return u(this,null,function*(){var Ht,Zn,or,Sr;const Rr=JSON.parse(localStorage.all_student_works_param||"{}"),Yn=yield Se({type:"shixunHomeworks/getAllStudentWorks",payload:Ye(Ye({},ht),Rr)});en(Yn.all_student_works);const hr=(Ht=Yn.all_student_works)==null?void 0:Ht.map(jr=>String(jr.student_work_id)).indexOf(ht.homeworkId);hr===((Zn=Yn.all_student_works)==null?void 0:Zn.length)-1?mn({last:!0}):mn((or=Yn.all_student_works)==null?void 0:or[hr+1]),gn(hr===0?{last:!0}:(Sr=Yn.all_student_works)==null?void 0:Sr[hr-1])})}const gt=()=>{document.querySelectorAll("canvas").forEach(Ht=>{(!Ht.clientWidth||!Ht.clientHeight)&&Ht.remove()})},Ft=Ht=>u(void 0,null,function*(){let Zn=0,or;or=m.default.info({width:460,title:Ee.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A,",Ee.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Ee.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Ee.createElement("span",{className:"c-blue"},Zn+1),"/",Ht!=="all"?1:ze==null?void 0:ze.length,Ee.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:Pe.modal,onOk:()=>{}});const Sr={margin:[0,0],filename:`${Nt==null?void 0:Nt.username}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};function Rr(){return u(this,null,function*(){Er(),Zn++,setTimeout(()=>u(this,null,function*(){var hr;gt();const jr=nt.folder(`${(hr=Nt==null?void 0:Nt.stage_list[0])==null?void 0:hr.shixun_name}`),kr=document.querySelector("#export-all").children;let ei=Ot()();for(let Ji=0;Ji<kr.length;Ji++)yield ei.set(Sr).from(kr[Ji]).toContainer().toCanvas().toPdf().get("pdf").then(Cr=>u(this,null,function*(){Ji<kr.length-1&&(yield Cr.addPage())}));jr.file(`${ze[Zn-1].student_work_user_name}.pdf`,ei.output("blob")),or.update({content:Ee.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Ee.createElement("span",{className:"c-blue"},Zn),"/",ze==null?void 0:ze.length,Ee.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),Zn==(ze==null?void 0:ze.length)?(or.destroy(),Qt()):Yn()}),2200)})}function Yn(){return u(this,null,function*(){var hr,jr,kr,ei,Ji;const Cr=yield(0,$.ZP)(`/api/student_works/${ze[Zn].student_work_id}/jupyter_work_report.json`,{method:"get"});if((Cr==null?void 0:Cr.status)===0)if(qr(Cr.data),(jr=(hr=Cr==null?void 0:Cr.data)==null?void 0:hr.shixun_detail[0])!=null&&jr.myshixun_identifier){Io(!0);const Wn=yield(0,$.ZP)("/api/jupyters/preview_tpi.json",{method:"get",params:{identifier:(ei=(kr=Cr==null?void 0:Cr.data)==null?void 0:kr.shixun_detail[0])==null?void 0:ei.myshixun_identifier,student_work_id:(Ji=Cr==null?void 0:Cr.data)==null?void 0:Ji.work_id}});Wn.status===0&&(bi(Wn.html_content),Io(!1),wn(),Rr())}else Rr()})}if(Ht!=="all"||(ze==null?void 0:ze.length)<2){gt(),Er();const hr=Jn.current.children;let jr=Ot()();const kr=nt.folder(`${Nt==null?void 0:Nt.username}`);for(let ei=0;ei<hr.length;ei++)yield jr.set(Sr).from(hr[ei]).toContainer().toCanvas().toPdf().get("pdf").then(Ji=>u(void 0,null,function*(){ei<hr.length-1&&(yield Ji.addPage())}));Xn(!1),kr.file(`${Nt==null?void 0:Nt.username}.pdf`,jr.output("blob"),{base64:!1}),or.destroy(),Qt();return}else Yn()}),Qt=()=>{nt.generateAsync({type:"blob"}).then(function(Ht){const Zn=document.createElement("a");Zn.href=window.URL.createObjectURL(Ht),Zn.download=(Nt==null?void 0:Nt.course_name)+".zip",document.body.appendChild(Zn);const or=document.createEvent("MouseEvents");or.initEvent("click",!1,!1),Zn.dispatchEvent(or),document.body.removeChild(Zn),Jt(new(R()))}),Vr(!1)};(0,ye.useEffect)(()=>{ar()},[ht.homeworkId]),(0,ye.useEffect)(()=>{Nt!=null&&Nt.work_id&&((0,K.GJ)()||Nt!=null&&Nt.is_anonymous)&&Qn()},[Nt==null?void 0:Nt.work_id]),(0,ye.useEffect)(()=>{console.log(Nt)},[Nt]);const Xt=()=>u(void 0,null,function*(){const Ht=yield(0,$.ZP)(`/api/student_works/${ht.homeworkId}/jupyter_work_report.json`,{method:"get"});(Ht==null?void 0:Ht.status)===0&&qr(Ht.data)}),Wt=()=>u(void 0,null,function*(){var Ht,Zn,or,Sr,Rr;const Yn=yield(0,$.ZP)(`/api/student_works/${ht.homeworkId}/jupyter_work_report.json`,{method:"get"});if((Yn==null?void 0:Yn.status)===0&&(qr(Yn.data),(Zn=(Ht=Yn==null?void 0:Yn.data)==null?void 0:Ht.shixun_detail[0])!=null&&Zn.myshixun_identifier)){Io(!0);const hr=yield(0,$.ZP)("/api/jupyters/preview_tpi.json",{method:"get",params:{identifier:(Sr=(or=Yn==null?void 0:Yn.data)==null?void 0:or.shixun_detail[0])==null?void 0:Sr.myshixun_identifier,student_work_id:(Rr=Yn==null?void 0:Yn.data)==null?void 0:Rr.work_id}});if(hr.status===0){bi(hr.html_content),Io(!1),Pn(hr.html_content);return}}}),Pn=Ht=>{var Zn,or;(or=(Zn=Ht==null?void 0:Ht.match)==null?void 0:Zn.call(Ht,/<script [^>]*src=['"]([^'"]+)[^>]*>/gi))==null||or.map(Sr=>{const Rr=document.createElement("script");Rr.src=/<script [^>]*src=['"]([^'"]+)[^>]*>/gi.exec(Sr)[1],document.body.appendChild(Rr)}),wn()},wn=()=>{try{window.MathJax&&(MathJax.Hub.Config({TeX:{equationNumbers:{autoNumber:"AMS",useLabelIds:!0}},tex2jax:{inlineMath:[["$","$"],["\\\\(","\\\\)"]],displayMath:[["$$","$$"],["\\\\[","\\\\]"]],processEscapes:!0,processEnvironments:!0},displayAlign:"center",CommonHTML:{linebreaks:{automatic:!0}},"HTML-CSS":{linebreaks:{automatic:!0}}}),MathJax.Hub.Queue(["Typeset",MathJax.Hub]))}catch(Ht){}},ar=()=>u(void 0,null,function*(){pi(!0),Wt(),pi(!1)}),wr=[{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"shixun_name",ellipsis:!0,render:(Ht,Zn,or)=>Ht},{title:"\u5F00\u542F\u65F6\u95F4",dataIndex:"open_time",width:Nt!=null&&Nt.is_anonymous?220:170,render:Ht=>Ht||"--"},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",width:Nt!=null&&Nt.is_anonymous?140:90},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finished_time",width:Nt!=null&&Nt.is_anonymous?220:170},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"cost_time",width:130},{title:"\u8865\u4EA4\u6263\u5206",dataIndex:"late_penalty",width:90,render:Ht=>Ht||"--"},{title:"\u7F3A\u8BC4\u6263\u5206",dataIndex:"absence_penalty",width:90,render:Ht=>Ht||"--"},{title:"\u5F97\u5206",dataIndex:"score",width:100,render:(Ht,Zn)=>Ee.createElement("div",null,Ee.createElement("span",{style:{color:parseFloat(Zn.score_full)!==parseFloat(Ht)?"red":"green"}},Ht||0),"/",Zn.score_full)},{title:"\u8C03\u5206",dataIndex:"action",width:110,render:(Ht,Zn)=>Ei?Ee.createElement(Ue,{max:Zn.score_full,onBlur:or=>u(void 0,null,function*(){var Sr;if((0,K.Rm)()&&!((Sr=j.AssistantObject.practice)!=null&&Sr.can_appraise)){N.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}const Rr=yield(0,$.ZP)(`/api/student_works/${ht.homeworkId}/adjust_score.json`,{method:"post",body:{score:or}});Xt(),Rr.status===0&&N.ZP.success("\u64CD\u4F5C\u6210\u529F")})}):Ht}].filter(Ht=>Nt!=null&&Nt.is_anonymous?!["late_penalty","absence_penalty","score","action"].includes(Ht.dataIndex):!0),Nr=Nt==null?void 0:Nt.comment_scores.map(Ht=>{var Zn,or,Sr;return{children:Ee.createElement(s.Z,null,Ee.createElement(L.Z,{span:24},Ee.createElement(s.Z,null,Ee.createElement(L.Z,{flex:1},Ee.createElement("span",{className:"c-light-black mr10"},Ht.user_name),Ee.createElement("span",null,"\u8C03\u5206\u4E3A"),Ee.createElement("span",{className:"ml10 c-orange"},Ht.score?Ht.score:0,"\u5206")),Ee.createElement(L.Z,null,Ee.createElement("span",{className:"c-light-black ml10"},Ht.comment_time)))),Ee.createElement(L.Z,{span:24,className:"mt8"},Ee.createElement(s.Z,{className:"mt8"},Ee.createElement(L.Z,{span:22},Ht.content?Ee.createElement("span",{style:{color:"#333333"}},Ht.content):Ee.createElement("span",{className:"c-light-black"},"\u6682\u672A\u5199\u8BC4\u8BED")),Ee.createElement(L.Z,{className:"tr",span:2},(Ht==null?void 0:Ht.can_appeal)&&!(Ht!=null&&Ht.is_invalid)&&Ee.createElement(S.ZP,{size:"small",type:"primary",onClick:()=>{Se({type:"shixunHomeworks/setActionTabs",payload:{key:"\u533F\u8BC4\u7533\u8BC9",selectArrs:{data:Ye({},Ht)}}})}},"\u7533\u8BC9")))),!!(Ht!=null&&Ht.appeal_info)&&Ee.createElement(L.Z,{span:24,className:"mt8"},Ee.createElement("div",{className:"p20",style:{background:"#F7F8F9",padding:15}},Ee.createElement(s.Z,{justify:"space-between"},Ee.createElement("span",null,Ee.createElement("span",{className:"c-grey-333"},(Zn=Ht==null?void 0:Ht.appeal_info)==null?void 0:Zn.user_name),Ee.createElement("span",null,(Ht==null?void 0:Ht.appeal_status)===1&&Ee.createElement("span",{className:`tag-style bg-orange ml10 ${Pe.tag}`},"\u7533\u8BC9\u4E2D"),(Ht==null?void 0:Ht.appeal_status)===2&&Ee.createElement("span",{className:`tag-style bg-grey-ede c-light-black ml10 ${Pe.tag}`},"\u7533\u8BC9\u5DF2\u64A4\u9500"),(Ht==null?void 0:Ht.appeal_status)===3&&Ee.createElement("span",{className:`tag-style ml10 ${Pe.tag}`,style:{background:"#57BE40"}},"\u7533\u8BC9\u6210\u529F"),(Ht==null?void 0:Ht.appeal_status)===4&&Ee.createElement("span",{className:`tag-style bg-grey-ede c-light-black ml10 ${Pe.tag}`},"\u7533\u8BC9\u88AB\u62D2\u7EDD"),(Ht==null?void 0:Ht.appeal_status)===5&&Ee.createElement("span",{className:`tag-style c-light-black ml10 ${Pe.tag}`,style:{background:"#E9EAED"}},"\u7533\u8BC9\u5931\u8D25"))),Ee.createElement("span",{className:"c-light-black"}," ",H()((or=Ht==null?void 0:Ht.appeal_info)==null?void 0:or.time).format("YYYY-MM-DD HH:mm:ss"))),Ee.createElement(s.Z,{justify:"space-between",className:"mt10"},Ee.createElement(L.Z,{flex:1},(Sr=Ht.appeal_info)==null?void 0:Sr.content),Ee.createElement(L.Z,{style:{flexShrink:0,marginLeft:"auto"}},(Ht==null?void 0:Ht.appeal_status)===1&&(0,K.GJ)()&&Ee.createElement("span",{onClick:()=>{m.default.confirm({title:"\u63A5\u53D7\u7533\u8BC9",icon:null,content:"\u6B64\u533F\u8BC4\u8BB0\u5F55\u5C06\u4F5C\u5E9F\uFF0C\u533F\u8BC4\u5B66\u751F\u7684\u4F5C\u54C1\u5C06\u88AB\u6263\u51CF\u8FDD\u89C4\u533F\u8BC4\u5206 \u662F\u5426\u786E\u8BA4\u63A5\u53D7\u7533\u8BC9\uFF1F",onOk:()=>u(void 0,null,function*(){const Rr=yield(0,$.ZP)(`/api/student_works/${ht.homeworkId}/deal_appeal_score.json`,{method:"post",body:{score_id:Ht.score_id,status:3}});(Rr==null?void 0:Rr.status)===0&&Xt()})})},className:"c-red current"},"\u63A5\u53D7\u7533\u8BC9"),(Ht==null?void 0:Ht.appeal_status)===1&&(0,K.GJ)()&&Ee.createElement("span",{onClick:()=>{m.default.confirm({icon:null,title:"\u63A5\u53D7\u7533\u8BC9",content:"\u6B64\u533F\u8BC4\u8BB0\u5F55\u88AB\u8BA4\u4E3A\u5408\u7406\uFF0C\u662F\u5426\u786E\u8BA4\u62D2\u7EDD\u7533\u8BC9\uFF1F",onOk:()=>u(void 0,null,function*(){const Rr=yield(0,$.ZP)(`/api/student_works/${ht.homeworkId}/deal_appeal_score.json`,{method:"post",body:{score_id:Ht.score_id,status:4}});(Rr==null?void 0:Rr.status)===0&&Xt()})})},className:"c-light-black current ml10"},"\u62D2\u7EDD\u7533\u8BC9"))))))}}),ni=Ht=>{bi(null),Se({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Ht==="next"?v.history.push(`/classrooms/${ht.coursesId}/common_homework/${ht.categoryId}/${pn==null?void 0:pn.student_work_id}/comment?page=${ir.get("page")}`):v.history.push(`/classrooms/${ht.coursesId}/common_homework/${ht.categoryId}/${qt==null?void 0:qt.student_work_id}/comment?page=${ir.get("page")}`)},200)},Mr=Ht=>{kn(""),Ht.target.value&&(console.log("\u8FDB\u6765",Nt),Ht.target.value=Ht.target.value>(Nt==null?void 0:Nt.repeat_setting_score)?Nt==null?void 0:Nt.repeat_setting_score:Ht.target.value,kn(Ht.target.value))},Xr=()=>u(void 0,null,function*(){const Ht=yield(0,$.ZP)(`/api/student_works/${Nt==null?void 0:Nt.work_id}/update_repeat_score`,{method:"put",body:{score:Hn}});yield Se({type:"shixunHomeworks/gethomeWorkReport",payload:Ye({},ht)}),Ht.status===0&&N.ZP.info("\u64CD\u4F5C\u6210\u529F")});return console.log(!!(Nt!=null&&Nt.category),Nt==null?void 0:Nt.course_id,"homeWorkReport"),Ee.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},Ee.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},Ee.createElement(w.Z,{loading:zr,active:!0,avatar:{size:40},paragraph:{rows:5}},Ee.createElement("div",{className:"edu-container"},(Nt==null?void 0:Nt.course_id)&&Ee.createElement("section",{className:"animated fadeIn"},Ee.createElement("aside",{className:""},(Nt==null?void 0:Nt.category)&&Ee.createElement(x.Z,{separator:">"},Ee.createElement(x.Z.Item,null,Ee.createElement(v.Link,{to:`/classrooms/${Nt==null?void 0:Nt.course_id}/common_homework`},Nt==null?void 0:Nt.course_name)),Ee.createElement(x.Z.Item,null,Ee.createElement(v.Link,{to:`/classrooms/${Nt==null?void 0:Nt.course_id}/common_homework/${Nt!=null&&Nt.category.main?"":Nt==null?void 0:Nt.category.category_id}`},Nt==null?void 0:Nt.category.category_name)),Ee.createElement(x.Z.Item,null,Ee.createElement(v.Link,{to:`/classrooms/${Nt==null?void 0:Nt.course_id}/common_homework/${Nt==null?void 0:Nt.homework_common_id}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")),Ee.createElement(x.Z.Item,null,Nt==null?void 0:Nt.username))),Ee.createElement("aside",{className:[Pe.title1,"mt20"].join(" ")},Ee.createElement(s.Z,{align:"middle"},Ee.createElement(L.Z,{flex:1},Ee.createElement(v.Link,{to:`/classrooms/${Nt==null?void 0:Nt.course_id}/common_homework/${Nt==null?void 0:Nt.homework_common_id}/detail?page=${ir.get("page")}`},Ee.createElement(Y.Z,{className:"font16 c-black"})),Ee.createElement("strong",{style:{fontWeight:700},className:"font20 ml5"},Nt==null?void 0:Nt.shixun_name),Ee.createElement(le.VV,{status:Nt==null?void 0:Nt.homework_status})),Ee.createElement(L.Z,{className:Pe.title1_right},!(Nt!=null&&Nt.is_anonymous)&&!!(Nt!=null&&Nt.work_status)&&Ee.createElement(S.ZP,null,Ee.createElement("span",{className:"iconfont icon-yijiandianping mr5"}),Ee.createElement(v.Link,{className:"c-black",target:"_blank",to:`/tasks/${(He=(xe=Nt==null?void 0:Nt.shixun_detail)==null?void 0:xe[0])==null?void 0:He.myshixun_identifier}/jupyter${(0,K.GJ)()?"":`?homework_common_id=${sn.categoryId}`}`},(0,K.GJ)()?"\u67E5\u770B\u5B66\u5458\u5B9E\u8BAD":"\u67E5\u770B\u5B9E\u8BAD")),(0,K.GJ)()&&!((Te=Nt==null?void 0:Nt.homework_status)!=null&&Te.includes("\u5DF2\u622A\u6B62"))&&Ee.createElement(S.ZP,{className:"ml10",onClick:()=>u(void 0,null,function*(){yield Se({type:"shixunHomeworks/setActionTabs",payload:{key:"redoShixunModal",homework_common_id:sn.categoryId,student_work_id:sn.homeworkId}})})},Ee.createElement("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"\u6253\u56DE\u91CD\u505A"),!(Nt!=null&&Nt.is_anonymous)&&Ee.createElement(S.ZP,{className:"ml10",onClick:()=>{var Ht;if((0,K.Rm)()&&!((Ht=j.AssistantObject.normal)!=null&&Ht.can_download)){N.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ft("")},loading:Br},Ee.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5B9E\u8BAD\u62A5\u544A"),(0,K.GJ)()&&(ze==null?void 0:ze.length)>1&&Ee.createElement(S.ZP,{className:"ml10",onClick:()=>{var Ht;if((0,K.Rm)()&&!((Ht=j.AssistantObject.normal)!=null&&Ht.can_download)){N.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ft("all")}},Ee.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u5B9E\u8BAD\u62A5\u544A"))))),Ee.createElement("aside",{className:"mt30 relative"})),Ee.createElement("aside",{className:"edu-container bg-white",ref:Sn},Ee.createElement("div",{id:"export-all",ref:Jn},Ee.createElement("div",{id:"export-all-1"},Ee.createElement("div",{className:Pe.title},Ee.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),Ee.createElement("div",null,!((pe=Nt==null?void 0:Nt.homework_status)!=null&&pe.includes("\u5DF2\u622A\u6B62")&&(0,K.dE)())&&((0,K.GJ)()||(Nt==null?void 0:Nt.is_anonymous))&&Ee.createElement(S.ZP,{className:"mr20",type:"primary",onClick:()=>{Se({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Nt==null?void 0:Nt.user_id,data:Ye({},Nt)}}})}},Ee.createElement(G.Z,null),Nt!=null&&Nt.has_shixun_work_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),Ee.createElement(_.Z,{style:{marginTop:0}}),Ee.createElement(s.Z,{className:"pl30 pr30"},Ee.createElement(L.Z,null,Ee.createElement("img",{className:Pe.userPic,src:`${J.Z.IMG_SERVER}/images/${Nt==null?void 0:Nt.image_url}`,alt:Nt==null?void 0:Nt.username})),Ee.createElement(L.Z,{className:"pt20"},Ee.createElement("span",{className:"font16 ml40"},Nt==null?void 0:Nt.username),Ee.createElement(le.Y,{status:Nt==null?void 0:Nt.work_status}),Ee.createElement("ul",{className:Pe.userInfo},Ee.createElement("li",null,"\u5B66\u53F7\uFF1A",(Nt==null?void 0:Nt.student_id)||"--"),((0,K.GJ)()||!(Nt!=null&&Nt.is_anonymous))&&Ee.createElement("li",null,"\u5206\u73ED\uFF1A",(Nt==null?void 0:Nt.group_name)||"--"),Ee.createElement("br",null)))),Ee.createElement("aside",{className:"pl30 pr30 mt30 mb10"},Ee.createElement(B.default,{dataSource:Nt==null?void 0:Nt.stage_list,rowKey:Ht=>Ht==null?void 0:Ht.challenge_id,pagination:!1,columns:wr})),((Nt==null?void 0:Nt.work_comment_hidden)||(Nt==null?void 0:Nt.work_comment))&&Ee.createElement("div",null,Ee.createElement(s.Z,{align:"middle"},Ee.createElement(L.Z,{flex:1},Ee.createElement("h1",{className:Pe.title},"\u70B9\u8BC4\u5185\u5BB9")),Ee.createElement(L.Z,{className:"pr30"},(0,K.GJ)()&&Ee.createElement(S.ZP,{onClick:()=>u(void 0,null,function*(){m.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Ee.createElement(D.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return u(this,null,function*(){(yield(0,ut.gZ)({comment_id:Nt==null?void 0:Nt.comment_id,homeworkId:ht.homeworkId})).status===0&&(N.ZP.success("\u5220\u9664\u6210\u529F"),Xt())})}})})},Ee.createElement(O.Z,null),"\u5220\u9664"))),(Nt==null?void 0:Nt.work_comment)&&Ee.createElement("aside",{className:"pl30 pr30",style:{marginTop:"-5px"}},Ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Ee.createElement("br",null),Ee.createElement(Oe.Z,{value:Nt==null?void 0:Nt.work_comment,className:"font14"})),(Nt==null?void 0:Nt.work_comment_hidden)&&Ee.createElement("aside",{className:"pl30 pr30 mt15"},Ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Ee.createElement("br",null),Ee.createElement(Oe.Z,{value:Nt==null?void 0:Nt.work_comment_hidden,className:"font14"}))),(Nt==null?void 0:Nt.comment_scores.length)>0&&Ee.createElement(Ee.Fragment,null,Ee.createElement("h1",{className:Pe.title},"\u8C03\u5206\u539F\u56E0"),Ee.createElement("aside",{className:"pl30 pr30",style:{marginTop:"4px"}},Ee.createElement(W.Z,{items:Nr}))),((ge=Nt==null?void 0:Nt.shixun_detail[0])==null?void 0:ge.myshixun_identifier)&&Ee.createElement(Ee.Fragment,null,Ee.createElement("h1",{className:Pe.title,style:{marginTop:"-20px"}},"\u5B9E\u8BAD\u8BE6\u60C5"),Ee.createElement("aside",{className:"pl30 pr30"},Ee.createElement("div",{className:Pe.shixunWrp},Ee.createElement("h2",null,Ee.createElement("span",null,"\u8BC4\u6D4B\u4EE3\u7801",Ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u540E\u63D0\u4EA4\u8BC4\u6D4B\u7684\u4EE3\u7801\u8BE6\u60C5")),Ee.createElement("span",null,Ee.createElement(Q.default,{style:{width:200},value:(Ve=Nt==null?void 0:Nt.shixun_detail[0])==null?void 0:Ve.path}," ",Nt==null?void 0:Nt.shixun_detail.map(Ht=>Ee.createElement(Option,{value:Ht.path},Ht.path))," "))),Ee.createElement(q.Z,{spinning:Pi},Ee.createElement("div",{style:{width:"100%",minHeight:"550px",padding:"16px"},dangerouslySetInnerHTML:{__html:Yi}})))))))),((0,K.GJ)()||(Nt==null?void 0:Nt.is_anonymous))&&Ee.createElement("aside",{className:`${Pe.footerBar} ${Br?Pe.footerBarStatic:""}`},Ee.createElement("aside",{className:"edu-container"},Ee.createElement(s.Z,{align:"middle"},Ee.createElement(L.Z,{flex:"1"},Ee.createElement(v.Link,{className:Pe.exitComment,to:`/classrooms/${ht.coursesId}/common_homework/${ht.categoryId}/detail?page=${ir.get("page")}`},"\u8FD4\u56DE\u5217\u8868")),Ee.createElement(L.Z,{flex:"1",className:"tr"},Ee.createElement(S.ZP,{type:"default",disabled:qt==null?void 0:qt.last,onClick:()=>ni()},"\u4E0A\u4E00\u4E2A"),Ee.createElement(S.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:pn==null?void 0:pn.last,onClick:()=>ni("next")},"\u4E0B\u4E00\u4E2A"),!((yt=Nt==null?void 0:Nt.homework_status)!=null&&yt.includes("\u5DF2\u622A\u6B62")&&(0,K.dE)())&&((0,K.GJ)()||(Nt==null?void 0:Nt.is_anonymous))&&Ee.createElement(S.ZP,{type:"primary",onClick:()=>u(void 0,null,function*(){Se({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Nt==null?void 0:Nt.user_id,data:Ye({},Nt)}}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),Ee.createElement(se,{gethomeworkreport:Xt,homeWorkReport:Nt}),Ee.createElement(Be,{gethomeworkreport:Xt,homeWorkReport:Nt}),Ee.createElement(je.Z,{getData:Xt}),Ee.createElement(m.default,{open:Zt,width:860,centered:!0,onCancel:()=>{Tn(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Ee.createElement("div",{style:{color:"#333333",fontWeight:400}},Ee.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Ee.createElement("br",null),Ee.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Ee.createElement("br",null),Ee.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Ee.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Ee.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),Ee.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Ee.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Ee.createElement("br",null),Ee.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),Ee.createElement("br",null),Ee.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),Ee.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Ee.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),Ee.createElement("br",null),Ee.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),Ee.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Ee.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Ee.createElement("br",null),Ee.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),Ee.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Ee.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Ee.createElement("br",null),Ee.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),Ee.createElement(m.default,{open:hn,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Un(!1)},width:600},Ee.createElement("div",{style:{fontWeight:400,color:"#333333"}},Ee.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Ee.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Ee.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Ee.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Ee.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Ee.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))))};var p=(0,v.connect)(({shixunHomeworks:M,classroomList:re,loading:C,globalSetting:j,user:me})=>({shixunHomeworks:M,classroomList:re,globalSetting:j,loading:C.effects,user:me}))(a)},8024:function(tr,Ct,h){"use strict";var ye=h(43418),fe=h(8591),H=h(43597),be=h(92123),R=h(47141),$=h(59301),v=(N,s,L)=>new Promise((S,w)=>{var x=W=>{try{B(L.next(W))}catch(Q){w(Q)}},_=W=>{try{B(L.throw(W))}catch(Q){w(Q)}},B=W=>W.done?S(W.value):Promise.resolve(W.value).then(x,_);B((L=L.apply(N,s)).next())});const m=({shixunHomeworks:N,dispatch:s,classroomList:L,getData:S})=>$.createElement(ye.default,{centered:!0,title:"\u63D0\u793A",open:N.actionTabs.key==="redoShixunModal",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>v(void 0,null,function*(){var w;if((0,R.Rm)()&&!((w=L.AssistantObject.normal)!=null&&w.can_redo)){fe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(yield(0,H.ZP)(`/api/homework_commons/${N.actionTabs.homework_common_id}/batch_redo_modal.json`,{method:"post",body:{student_work_id:N.actionTabs.student_work_id}})).status===0&&(fe.ZP.success("\u64CD\u4F5C\u6210\u529F"),s({type:"shixunHomeworks/setActionTabs",payload:{}}),S())}),onCancel:()=>{s({type:"shixunHomeworks/setActionTabs",payload:{}})}},$.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C",N.actionTabs.isshixun?"\u5B66\u751F\u5B9E\u8BAD":"\u5B66\u751F\u4F5C\u54C1\u63D0\u4EA4","\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),$.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"));Ct.Z=(0,be.connect)(({shixunHomeworks:N,classroomList:s})=>({shixunHomeworks:N,classroomList:s}))(m)},50371:function(tr,Ct){"use strict";function h(){const ye=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let fe=1;fe<arguments.length;fe++){const H=fe<0||arguments.length<=fe?void 0:arguments[fe];H&&Object.keys(H).forEach(be=>{const R=H[be];R!==void 0&&(ye[be]=R)})}return ye}Ct.Z=h},13845:function(tr,Ct,h){"use strict";h.d(Ct,{F:function(){return ye},Z:function(){return fe}});function ye(H){return H!=null&&H===H.window}function fe(H,be){var R,$;if(typeof window=="undefined")return 0;const v=be?"scrollTop":"scrollLeft";let m=0;return ye(H)?m=H[be?"pageYOffset":"pageXOffset"]:H instanceof Document?m=H.documentElement[v]:(H instanceof HTMLElement||H)&&(m=H[v]),H&&!ye(H)&&typeof m!="number"&&(m=($=((R=H.ownerDocument)!==null&&R!==void 0?R:H).documentElement)===null||$===void 0?void 0:$[v]),m}},56762:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return fe}});var ye=h(59301);function fe(){const[,H]=ye.useReducer(be=>be+1,0);return H}},68031:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return be}});var ye=h(16089);function fe(R,$,v,m){const N=v-$;return R/=m/2,R<1?N/2*R*R*R+$:N/2*((R-=2)*R*R+2)+$}var H=h(13845);function be(R){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:v=()=>window,callback:m,duration:N=450}=$,s=v(),L=(0,H.Z)(s,!0),S=Date.now(),w=()=>{const _=Date.now()-S,B=fe(_>N?N:_,L,R,N);(0,H.F)(s)?s.scrollTo(window.pageXOffset,B):s instanceof Document||s.constructor.name==="HTMLDocument"?s.documentElement.scrollTop=B:s.scrollTop=B,_<N?(0,ye.Z)(w):typeof m=="function"&&m()};(0,ye.Z)(w)}},19080:function(tr,Ct,h){"use strict";h.d(Ct,{F:function(){return R},Z:function(){return be}});var ye=h(92310),fe=h.n(ye);const H=null;function be($,v,m){return fe()({[`${$}-status-success`]:v==="success",[`${$}-status-warning`]:v==="warning",[`${$}-status-error`]:v==="error",[`${$}-status-validating`]:v==="validating",[`${$}-has-feedback`]:m})}const R=($,v)=>v||$},66104:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return De}});var ye=h(92310),fe=h.n(ye),H=h(11592),be=h(26112),R=h(59301),$=h(92343),v=h(36355),m=h(84105),N=h(91857);const s=we=>{let{children:de}=we;const{getPrefixCls:Be}=R.useContext(v.E_),ne=Be("breadcrumb");return R.createElement("li",{className:`${ne}-separator`,"aria-hidden":"true"},de===""?de:de||"/")};s.__ANT_BREADCRUMB_SEPARATOR=!0;var L=s,S=function(we,de){var Be={};for(var ne in we)Object.prototype.hasOwnProperty.call(we,ne)&&de.indexOf(ne)<0&&(Be[ne]=we[ne]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ne=Object.getOwnPropertySymbols(we);ve<ne.length;ve++)de.indexOf(ne[ve])<0&&Object.prototype.propertyIsEnumerable.call(we,ne[ve])&&(Be[ne[ve]]=we[ne[ve]]);return Be};function w(we,de){if(we.title===void 0||we.title===null)return null;const Be=Object.keys(de).join("|");return typeof we.title=="object"?we.title:String(we.title).replace(new RegExp(`:(${Be})`,"g"),(ne,ve)=>de[ve]||ne)}function x(we,de,Be,ne){if(Be==null)return null;const{className:ve,onClick:ee}=de,se=S(de,["className","onClick"]),je=Object.assign(Object.assign({},(0,be.Z)(se,{data:!0,aria:!0})),{onClick:ee});return ne!==void 0?R.createElement("a",Object.assign({},je,{className:fe()(`${we}-link`,ve),href:ne}),Be):R.createElement("span",Object.assign({},je,{className:fe()(`${we}-link`,ve)}),Be)}function _(we,de){return(ne,ve,ee,se,je)=>{if(de)return de(ne,ve,ee,se);const Pe=w(ne,ve);return x(we,ne,Pe,je)}}var B=function(we,de){var Be={};for(var ne in we)Object.prototype.hasOwnProperty.call(we,ne)&&de.indexOf(ne)<0&&(Be[ne]=we[ne]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ne=Object.getOwnPropertySymbols(we);ve<ne.length;ve++)de.indexOf(ne[ve])<0&&Object.prototype.propertyIsEnumerable.call(we,ne[ve])&&(Be[ne[ve]]=we[ne[ve]]);return Be};const W=we=>{const{prefixCls:de,separator:Be="/",children:ne,menu:ve,overlay:ee,dropdownProps:se,href:je}=we,Oe=(ut=>{if(ve||ee){const mt=Object.assign({},se);if(ve){const Ot=ve||{},{items:Ee}=Ot,kt=B(Ot,["items"]);mt.menu=Object.assign(Object.assign({},kt),{items:Ee==null?void 0:Ee.map((Rt,on)=>{var{key:Mt,title:T,label:Ye,path:E}=Rt,u=B(Rt,["key","title","label","path"]);let a=Ye!=null?Ye:T;return E&&(a=R.createElement("a",{href:`${je}${E}`},a)),Object.assign(Object.assign({},u),{key:Mt!=null?Mt:on,label:a})})})}else ee&&(mt.overlay=ee);return R.createElement(N.Z,Object.assign({placement:"bottom"},mt),R.createElement("span",{className:`${de}-overlay-link`},ut,R.createElement(m.Z,null)))}return ut})(ne);return Oe!=null?R.createElement(R.Fragment,null,R.createElement("li",null,Oe),Be&&R.createElement(L,null,Be)):null},Q=we=>{const{prefixCls:de,children:Be,href:ne}=we,ve=B(we,["prefixCls","children","href"]),{getPrefixCls:ee}=R.useContext(v.E_),se=ee("breadcrumb",de);return R.createElement(W,Object.assign({},ve,{prefixCls:se}),x(se,ve,Be,ne))};Q.__ANT_BREADCRUMB_ITEM=!0;var q=Q,Y=h(17313),G=h(83116),D=h(37613);const O=we=>{const{componentCls:de,iconCls:Be}=we;return{[de]:Object.assign(Object.assign({},(0,Y.Wf)(we)),{color:we.itemColor,fontSize:we.fontSize,[Be]:{fontSize:we.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:we.linkColor,transition:`color ${we.motionDurationMid}`,padding:`0 ${we.paddingXXS}px`,borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",marginInline:-we.marginXXS,"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover}},(0,Y.Qy)(we)),"li:last-child":{color:we.lastItemColor},[`${de}-separator`]:{marginInline:we.separatorMargin,color:we.separatorColor},[`${de}-link`]:{[`
|
|
|
> ${Be} + span,
|
|
|
> ${Be} + a
|
|
|
`]:{marginInlineStart:we.marginXXS}},[`${de}-overlay-link`]:{borderRadius:we.borderRadiusSM,height:we.lineHeight*we.fontSize,display:"inline-block",padding:`0 ${we.paddingXXS}px`,marginInline:-we.marginXXS,[`> ${Be}`]:{marginInlineStart:we.marginXXS,fontSize:we.fontSizeIcon},"&:hover":{color:we.linkHoverColor,backgroundColor:we.colorBgTextHover,a:{color:we.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${we.componentCls}-rtl`]:{direction:"rtl"}})}};var J=(0,G.Z)("Breadcrumb",we=>{const de=(0,D.TS)(we,{});return[O(de)]},we=>({itemColor:we.colorTextDescription,lastItemColor:we.colorText,iconFontSize:we.fontSize,linkColor:we.colorTextDescription,linkHoverColor:we.colorText,separatorColor:we.colorTextDescription,separatorMargin:we.marginXS})),K=function(we,de){var Be={};for(var ne in we)Object.prototype.hasOwnProperty.call(we,ne)&&de.indexOf(ne)<0&&(Be[ne]=we[ne]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ne=Object.getOwnPropertySymbols(we);ve<ne.length;ve++)de.indexOf(ne[ve])<0&&Object.prototype.propertyIsEnumerable.call(we,ne[ve])&&(Be[ne[ve]]=we[ne[ve]]);return Be};function le(we){const{breadcrumbName:de,children:Be}=we,ne=K(we,["breadcrumbName","children"]),ve=Object.assign({title:de},ne);return Be&&(ve.menu={items:Be.map(ee=>{var{breadcrumbName:se}=ee,je=K(ee,["breadcrumbName"]);return Object.assign(Object.assign({},je),{title:se})})}),ve}function ae(we,de){return(0,R.useMemo)(()=>we||(de?de.map(le):null),[we,de])}var he=function(we,de){var Be={};for(var ne in we)Object.prototype.hasOwnProperty.call(we,ne)&&de.indexOf(ne)<0&&(Be[ne]=we[ne]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,ne=Object.getOwnPropertySymbols(we);ve<ne.length;ve++)de.indexOf(ne[ve])<0&&Object.prototype.propertyIsEnumerable.call(we,ne[ve])&&(Be[ne[ve]]=we[ne[ve]]);return Be};const k=(we,de)=>{if(de===void 0)return de;let Be=(de||"").replace(/^\//,"");return Object.keys(we).forEach(ne=>{Be=Be.replace(`:${ne}`,we[ne])}),Be},Ue=we=>{const{prefixCls:de,separator:Be="/",style:ne,className:ve,rootClassName:ee,routes:se,items:je,children:Pe,itemRender:Oe,params:ut={}}=we,mt=he(we,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ot,direction:Ee,breadcrumb:kt}=R.useContext(v.E_);let Rt;const on=Ot("breadcrumb",de),[Mt,T]=J(on),Ye=ae(je,se),E=_(on,Oe);if(Ye&&Ye.length>0){const p=[],M=je||se;Rt=Ye.map((re,C)=>{const{path:j,key:me,type:Ae,menu:ie,overlay:Se,onClick:Ge,className:xe,separator:He,dropdownProps:Te}=re,pe=k(ut,j);pe!==void 0&&p.push(pe);const ge=me!=null?me:C;if(Ae==="separator")return R.createElement(L,{key:ge},He);const Ve={},yt=C===Ye.length-1;ie?Ve.menu=ie:Se&&(Ve.overlay=Se);let{href:ht}=re;return p.length&&pe!==void 0&&(ht=`#/${p.join("/")}`),R.createElement(W,Object.assign({key:ge},Ve,(0,be.Z)(re,{data:!0,aria:!0}),{className:xe,dropdownProps:Te,href:ht,separator:yt?"":Be,onClick:Ge,prefixCls:on}),E(re,ut,M,p,ht))})}else if(Pe){const p=(0,H.Z)(Pe).length;Rt=(0,H.Z)(Pe).map((M,re)=>{if(!M)return M;const C=re===p-1;return(0,$.Tm)(M,{separator:C?"":Be,key:re})})}const u=fe()(on,kt==null?void 0:kt.className,{[`${on}-rtl`]:Ee==="rtl"},ve,ee,T),a=Object.assign(Object.assign({},kt==null?void 0:kt.style),ne);return Mt(R.createElement("nav",Object.assign({className:u,style:a},mt),R.createElement("ol",null,Rt)))};Ue.Item=q,Ue.Separator=L;var F=Ue,De=F},24905:function(tr,Ct,h){"use strict";h.d(Ct,{default:function(){return J}});var ye=h(92310),fe=h.n(ye),H=h(5630),be=h(59301),R=h(36355),$=h(1684),v=h(32441),N=be.createContext(null),s=h(98447),L=h(14088),S=h(4572),w=function(K,le){var ae={};for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&le.indexOf(he)<0&&(ae[he]=K[he]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,he=Object.getOwnPropertySymbols(K);k<he.length;k++)le.indexOf(he[k])<0&&Object.prototype.propertyIsEnumerable.call(K,he[k])&&(ae[he[k]]=K[he[k]]);return ae};const x=(K,le)=>{var ae;const{prefixCls:he,className:k,rootClassName:Ue,children:F,indeterminate:De=!1,style:we,onMouseEnter:de,onMouseLeave:Be,skipGroup:ne=!1,disabled:ve}=K,ee=w(K,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:se,direction:je,checkbox:Pe}=be.useContext(R.E_),Oe=be.useContext(N),{isFormItemInput:ut}=be.useContext(v.aM),mt=be.useContext($.Z),Ot=(ae=(Oe==null?void 0:Oe.disabled)||ve)!==null&&ae!==void 0?ae:mt,Ee=be.useRef(ee.value);be.useEffect(()=>{Oe==null||Oe.registerValue(ee.value)},[]),be.useEffect(()=>{if(!ne)return ee.value!==Ee.current&&(Oe==null||Oe.cancelValue(Ee.current),Oe==null||Oe.registerValue(ee.value),Ee.current=ee.value),()=>Oe==null?void 0:Oe.cancelValue(ee.value)},[ee.value]);const kt=se("checkbox",he),[Rt,on]=(0,s.ZP)(kt),Mt=Object.assign({},ee);Oe&&!ne&&(Mt.onChange=function(){ee.onChange&&ee.onChange.apply(ee,arguments),Oe.toggleOption&&Oe.toggleOption({label:F,value:ee.value})},Mt.name=Oe.name,Mt.checked=Oe.value.includes(ee.value));const T=fe()(`${kt}-wrapper`,{[`${kt}-rtl`]:je==="rtl",[`${kt}-wrapper-checked`]:Mt.checked,[`${kt}-wrapper-disabled`]:Ot,[`${kt}-wrapper-in-form-item`]:ut},Pe==null?void 0:Pe.className,k,Ue,on),Ye=fe()({[`${kt}-indeterminate`]:De},S.A,on),E=De?"mixed":void 0;return Rt(be.createElement(L.Z,{component:"Checkbox",disabled:Ot},be.createElement("label",{className:T,style:Object.assign(Object.assign({},Pe==null?void 0:Pe.style),we),onMouseEnter:de,onMouseLeave:Be},be.createElement(H.Z,Object.assign({"aria-checked":E},Mt,{prefixCls:kt,className:Ye,disabled:Ot,ref:le})),F!==void 0&&be.createElement("span",null,F))))};var B=be.forwardRef(x),W=h(94480),Q=h(2738),q=function(K,le){var ae={};for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&le.indexOf(he)<0&&(ae[he]=K[he]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,he=Object.getOwnPropertySymbols(K);k<he.length;k++)le.indexOf(he[k])<0&&Object.prototype.propertyIsEnumerable.call(K,he[k])&&(ae[he[k]]=K[he[k]]);return ae};const Y=(K,le)=>{const{defaultValue:ae,children:he,options:k=[],prefixCls:Ue,className:F,rootClassName:De,style:we,onChange:de}=K,Be=q(K,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:ne,direction:ve}=be.useContext(R.E_),[ee,se]=be.useState(Be.value||ae||[]),[je,Pe]=be.useState([]);be.useEffect(()=>{"value"in Be&&se(Be.value||[])},[Be.value]);const Oe=be.useMemo(()=>k.map(u=>typeof u=="string"||typeof u=="number"?{label:u,value:u}:u),[k]),ut=u=>{Pe(a=>a.filter(p=>p!==u))},mt=u=>{Pe(a=>[].concat((0,W.Z)(a),[u]))},Ot=u=>{const a=ee.indexOf(u.value),p=(0,W.Z)(ee);a===-1?p.push(u.value):p.splice(a,1),"value"in Be||se(p),de==null||de(p.filter(M=>je.includes(M)).sort((M,re)=>{const C=Oe.findIndex(me=>me.value===M),j=Oe.findIndex(me=>me.value===re);return C-j}))},Ee=ne("checkbox",Ue),kt=`${Ee}-group`,[Rt,on]=(0,s.ZP)(Ee),Mt=(0,Q.Z)(Be,["value","disabled"]),T=k.length?Oe.map(u=>be.createElement(B,{prefixCls:Ee,key:u.value.toString(),disabled:"disabled"in u?u.disabled:Be.disabled,value:u.value,checked:ee.includes(u.value),onChange:u.onChange,className:`${kt}-item`,style:u.style,title:u.title},u.label)):he,Ye={toggleOption:Ot,value:ee,disabled:Be.disabled,name:Be.name,registerValue:mt,cancelValue:ut},E=fe()(kt,{[`${kt}-rtl`]:ve==="rtl"},F,De,on);return Rt(be.createElement("div",Object.assign({className:E,style:we},Mt,{ref:le}),be.createElement(N.Provider,{value:Ye},T)))},G=be.forwardRef(Y);var D=be.memo(G);const O=B;O.Group=D,O.__ANT_CHECKBOX=!0;var J=O},98447:function(tr,Ct,h){"use strict";h.d(Ct,{C2:function(){return R}});var ye=h(17313),fe=h(37613),H=h(83116);const be=$=>{const{checkboxCls:v}=$,m=`${v}-wrapper`;return[{[`${v}-group`]:Object.assign(Object.assign({},(0,ye.Wf)($)),{display:"inline-flex",flexWrap:"wrap",columnGap:$.marginXS,[`> ${$.antCls}-row`]:{flex:1}}),[m]:Object.assign(Object.assign({},(0,ye.Wf)($)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${m}`]:{marginInlineStart:0},[`&${m}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[v]:Object.assign(Object.assign({},(0,ye.Wf)($)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:$.borderRadiusSM,alignSelf:"center",[`${v}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${v}-inner`]:Object.assign({},(0,ye.oN)($))},[`${v}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:$.checkboxSize,height:$.checkboxSize,direction:"ltr",backgroundColor:$.colorBgContainer,border:`${$.lineWidth}px ${$.lineType} ${$.colorBorder}`,borderRadius:$.borderRadiusSM,borderCollapse:"separate",transition:`all ${$.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:$.checkboxSize/14*5,height:$.checkboxSize/14*8,border:`${$.lineWidthBold}px solid ${$.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${$.motionDurationFast} ${$.motionEaseInBack}, opacity ${$.motionDurationFast}`}},"& + span":{paddingInlineStart:$.paddingXS,paddingInlineEnd:$.paddingXS}})},{[`
|
|
|
${m}:not(${m}-disabled),
|
|
|
${v}:not(${v}-disabled)
|
|
|
`]:{[`&:hover ${v}-inner`]:{borderColor:$.colorPrimary}},[`${m}:not(${m}-disabled)`]:{[`&:hover ${v}-checked:not(${v}-disabled) ${v}-inner`]:{backgroundColor:$.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${v}-checked:not(${v}-disabled):after`]:{borderColor:$.colorPrimaryHover}}},{[`${v}-checked`]:{[`${v}-inner`]:{backgroundColor:$.colorPrimary,borderColor:$.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${$.motionDurationMid} ${$.motionEaseOutBack} ${$.motionDurationFast}`}}},[`
|
|
|
${m}-checked:not(${m}-disabled),
|
|
|
${v}-checked:not(${v}-disabled)
|
|
|
`]:{[`&:hover ${v}-inner`]:{backgroundColor:$.colorPrimaryHover,borderColor:"transparent"}}},{[v]:{"&-indeterminate":{[`${v}-inner`]:{backgroundColor:$.colorBgContainer,borderColor:$.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:$.fontSizeLG/2,height:$.fontSizeLG/2,backgroundColor:$.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${m}-disabled`]:{cursor:"not-allowed"},[`${v}-disabled`]:{[`&, ${v}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${v}-inner`]:{background:$.colorBgContainerDisabled,borderColor:$.colorBorder,"&:after":{borderColor:$.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:$.colorTextDisabled},[`&${v}-indeterminate ${v}-inner::after`]:{background:$.colorTextDisabled}}}]};function R($,v){const m=(0,fe.TS)(v,{checkboxCls:`.${$}`,checkboxSize:v.controlInteractiveSize});return[be(m)]}Ct.ZP=(0,H.Z)("Checkbox",($,v)=>{let{prefixCls:m}=v;return[R(m,$)]})},93891:function(tr,Ct,h){"use strict";var ye=h(59301),fe=h(36355),H=h(64165);const be=R=>{const{componentName:$}=R,{getPrefixCls:v}=(0,ye.useContext)(fe.E_),m=v("empty");switch($){case"Table":case"List":return ye.createElement(H.Z,{image:H.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ye.createElement(H.Z,{image:H.Z.PRESENTED_IMAGE_SIMPLE,className:`${m}-small`});default:return ye.createElement(H.Z,null)}};Ct.Z=be},28103:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return S}});var ye=h(92310),fe=h.n(ye),H=h(59301),be=h(36355),R=h(17313),$=h(83116),v=h(37613);const m=w=>{const{componentCls:x,sizePaddingEdgeHorizontal:_,colorSplit:B,lineWidth:W,textPaddingInline:Q,orientationMargin:q,verticalMarginInline:Y}=w;return{[x]:Object.assign(Object.assign({},(0,R.Wf)(w)),{borderBlockStart:`${W}px solid ${B}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:Y,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${W}px solid ${B}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${w.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${x}-with-text`]:{display:"flex",alignItems:"center",margin:`${w.dividerHorizontalWithTextGutterMargin}px 0`,color:w.colorTextHeading,fontWeight:500,fontSize:w.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${B}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${W}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${x}-with-text-left`]:{"&::before":{width:`${q*100}%`},"&::after":{width:`${100-q*100}%`}},[`&-horizontal${x}-with-text-right`]:{"&::before":{width:`${100-q*100}%`},"&::after":{width:`${q*100}%`}},[`${x}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:Q},"&-dashed":{background:"none",borderColor:B,borderStyle:"dashed",borderWidth:`${W}px 0 0`},[`&-horizontal${x}-with-text${x}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${x}-dashed`]:{borderInlineStartWidth:W,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${x}-with-text`]:{color:w.colorText,fontWeight:"normal",fontSize:w.fontSize},[`&-horizontal${x}-with-text-left${x}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${x}-inner-text`]:{paddingInlineStart:_}},[`&-horizontal${x}-with-text-right${x}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${x}-inner-text`]:{paddingInlineEnd:_}}})}};var N=(0,$.Z)("Divider",w=>{const x=(0,v.TS)(w,{dividerHorizontalWithTextGutterMargin:w.margin,dividerHorizontalGutterMargin:w.marginLG,sizePaddingEdgeHorizontal:0});return[m(x)]},w=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:w.marginXS})),s=function(w,x){var _={};for(var B in w)Object.prototype.hasOwnProperty.call(w,B)&&x.indexOf(B)<0&&(_[B]=w[B]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var W=0,B=Object.getOwnPropertySymbols(w);W<B.length;W++)x.indexOf(B[W])<0&&Object.prototype.propertyIsEnumerable.call(w,B[W])&&(_[B[W]]=w[B[W]]);return _},S=w=>{const{getPrefixCls:x,direction:_,divider:B}=H.useContext(be.E_),{prefixCls:W,type:Q="horizontal",orientation:q="center",orientationMargin:Y,className:G,rootClassName:D,children:O,dashed:J,plain:K,style:le}=w,ae=s(w,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),he=x("divider",W),[k,Ue]=N(he),F=q.length>0?`-${q}`:q,De=!!O,we=q==="left"&&Y!=null,de=q==="right"&&Y!=null,Be=fe()(he,B==null?void 0:B.className,Ue,`${he}-${Q}`,{[`${he}-with-text`]:De,[`${he}-with-text${F}`]:De,[`${he}-dashed`]:!!J,[`${he}-plain`]:!!K,[`${he}-rtl`]:_==="rtl",[`${he}-no-default-orientation-margin-left`]:we,[`${he}-no-default-orientation-margin-right`]:de},G,D),ne=H.useMemo(()=>typeof Y=="number"?Y:/^\d+$/.test(Y)?Number(Y):Y,[Y]),ve=Object.assign(Object.assign({},we&&{marginLeft:ne}),de&&{marginRight:ne});return k(H.createElement("div",Object.assign({className:Be,style:Object.assign(Object.assign({},B==null?void 0:B.style),le)},ae,{role:"separator"}),O&&Q!=="vertical"&&H.createElement("span",{className:`${he}-inner-text`,style:ve},O)))}},91857:function(tr,Ct,h){"use strict";var ye=h(59301),fe=h(38819),H=h(92310),be=h.n(H),R=h(31561),$=h(70425),v=h(18929),m=h(2738),N=h(79676),s=h(53487),L=h(92343),S=h(36355),w=h(20834),x=h(40875),_=h(88088),B=h(47211);const W=null,Q=D=>{const{menu:O,arrow:J,prefixCls:K,children:le,trigger:ae,disabled:he,dropdownRender:k,getPopupContainer:Ue,overlayClassName:F,rootClassName:De,open:we,onOpenChange:de,visible:Be,onVisibleChange:ne,mouseEnterDelay:ve=.15,mouseLeaveDelay:ee=.1,autoAdjustOverflow:se=!0,placement:je="",overlay:Pe,transitionName:Oe}=D,{getPopupContainer:ut,getPrefixCls:mt,direction:Ot}=ye.useContext(S.E_),Ee=ye.useMemo(()=>{const ie=mt();return Oe!==void 0?Oe:je.includes("top")?`${ie}-slide-down`:`${ie}-slide-up`},[mt,je,Oe]),kt=ye.useMemo(()=>je?je.includes("Center")?je.slice(0,je.indexOf("Center")):je:Ot==="rtl"?"bottomRight":"bottomLeft",[je,Ot]),Rt=mt("dropdown",K),[on,Mt]=(0,B.Z)(Rt),[,T]=(0,_.Z)(),Ye=ye.Children.only(le),E=(0,L.Tm)(Ye,{className:be()(`${Rt}-trigger`,{[`${Rt}-rtl`]:Ot==="rtl"},Ye.props.className),disabled:he}),u=he?[]:ae;let a;u&&u.includes("contextMenu")&&(a=!0);const[p,M]=(0,v.Z)(!1,{value:we!=null?we:Be}),re=(0,$.useEvent)(ie=>{de==null||de(ie),ne==null||ne(ie),M(ie)}),C=be()(F,De,Mt,{[`${Rt}-rtl`]:Ot==="rtl"}),j=(0,N.Z)({arrowPointAtCenter:typeof J=="object"&&J.pointAtCenter,autoAdjustOverflow:se,offset:T.marginXXS,arrowWidth:J?T.sizePopupArrow:0,borderRadius:T.borderRadius}),me=ye.useCallback(()=>{M(!1)},[]),Ae=()=>{let ie;return O!=null&&O.items?ie=ye.createElement(w.default,Object.assign({},O)):typeof Pe=="function"?ie=Pe():ie=Pe,k&&(ie=k(ie)),ie=ye.Children.only(typeof ie=="string"?ye.createElement("span",null,ie):ie),ye.createElement(x.J,{prefixCls:`${Rt}-menu`,expandIcon:ye.createElement("span",{className:`${Rt}-menu-submenu-arrow`},ye.createElement(fe.Z,{className:`${Rt}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:me,validator:Se=>{let{mode:Ge}=Se}},ie)};return on(ye.createElement(R.Z,Object.assign({alignPoint:a},(0,m.Z)(D,["rootClassName"]),{mouseEnterDelay:ve,mouseLeaveDelay:ee,visible:p,builtinPlacements:j,arrow:!!J,overlayClassName:C,prefixCls:Rt,getPopupContainer:Ue||ut,transitionName:Ee,trigger:u,overlay:Ae,placement:kt,onVisibleChange:re}),E))};function q(D){return Object.assign(Object.assign({},D),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Y=(0,s.Z)(Q,"dropdown",D=>D,q),G=D=>ye.createElement(Y,Object.assign({},D),ye.createElement("span",null));Q._InternalPanelDoNotUseOrYouWillBeFired=G,Ct.Z=Q},38854:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return _}});var ye=h(91857),fe=h(92310),H=h.n(fe),be=h(59301),R=h(18785),$=h(3113),v=h(36355),m=h(81327),N=h(33234),s=h(47211),L=function(B,W){var Q={};for(var q in B)Object.prototype.hasOwnProperty.call(B,q)&&W.indexOf(q)<0&&(Q[q]=B[q]);if(B!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,q=Object.getOwnPropertySymbols(B);Y<q.length;Y++)W.indexOf(q[Y])<0&&Object.prototype.propertyIsEnumerable.call(B,q[Y])&&(Q[q[Y]]=B[q[Y]]);return Q};const S=B=>{const{getPopupContainer:W,getPrefixCls:Q,direction:q}=be.useContext(v.E_),{prefixCls:Y,type:G="default",danger:D,disabled:O,loading:J,onClick:K,htmlType:le,children:ae,className:he,menu:k,arrow:Ue,autoFocus:F,overlay:De,trigger:we,align:de,open:Be,onOpenChange:ne,placement:ve,getPopupContainer:ee,href:se,icon:je=be.createElement(R.Z,null),title:Pe,buttonsRender:Oe=Ae=>Ae,mouseEnterDelay:ut,mouseLeaveDelay:mt,overlayClassName:Ot,overlayStyle:Ee,destroyPopupOnHide:kt,dropdownRender:Rt}=B,on=L(B,["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"]),Mt=Q("dropdown",Y),T=`${Mt}-button`,[Ye,E]=(0,s.Z)(Mt),u={menu:k,arrow:Ue,autoFocus:F,align:de,disabled:O,trigger:O?[]:we,onOpenChange:ne,getPopupContainer:ee||W,mouseEnterDelay:ut,mouseLeaveDelay:mt,overlayClassName:Ot,overlayStyle:Ee,destroyPopupOnHide:kt,dropdownRender:Rt},{compactSize:a,compactItemClassnames:p}=(0,N.ri)(Mt,q),M=H()(T,p,he,E);"overlay"in B&&(u.overlay=De),"open"in B&&(u.open=Be),"placement"in B?u.placement=ve:u.placement=q==="rtl"?"bottomLeft":"bottomRight";const re=be.createElement($.ZP,{type:G,danger:D,disabled:O,loading:J,onClick:K,htmlType:le,href:se,title:Pe},ae),C=be.createElement($.ZP,{type:G,danger:D,icon:je}),[j,me]=Oe([re,C]);return Ye(be.createElement(m.Z.Compact,Object.assign({className:M,size:a,block:!0},on),j,be.createElement(ye.Z,Object.assign({},u),me)))};S.__ANT_BUTTON=!0;var w=S;const x=ye.Z;x.Button=w;var _=x},47211:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return L}});var ye=h(17313),fe=h(13826),H=h(92899),be=h(29878),R=h(19447),$=h(83116),v=h(37613),N=S=>{const{componentCls:w,menuCls:x,colorError:_,colorTextLightSolid:B}=S,W=`${x}-item`;return{[`${w}, ${w}-menu-submenu`]:{[`${x} ${W}`]:{[`&${W}-danger:not(${W}-disabled)`]:{color:_,"&:hover":{color:B,backgroundColor:_}}}}}};const s=S=>{const{componentCls:w,menuCls:x,zIndexPopup:_,dropdownArrowDistance:B,sizePopupArrow:W,antCls:Q,iconCls:q,motionDurationMid:Y,dropdownPaddingVertical:G,fontSize:D,dropdownEdgeChildPadding:O,colorTextDisabled:J,fontSizeIcon:K,controlPaddingHorizontal:le,colorBgElevated:ae}=S;return[{[w]:Object.assign(Object.assign({},(0,ye.Wf)(S)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:_,display:"block","&::before":{position:"absolute",insetBlock:-B+W/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${Q}-btn`]:{[`& > ${q}-down, & > ${Q}-btn-icon > ${q}-down`]:{fontSize:K}},[`${w}-wrap`]:{position:"relative",[`${Q}-btn > ${q}-down`]:{fontSize:K},[`${q}-down::before`]:{transition:`transform ${Y}`}},[`${w}-wrap-open`]:{[`${q}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${Q}-slide-down-enter${Q}-slide-down-enter-active${w}-placement-bottomLeft,
|
|
|
&${Q}-slide-down-appear${Q}-slide-down-appear-active${w}-placement-bottomLeft,
|
|
|
&${Q}-slide-down-enter${Q}-slide-down-enter-active${w}-placement-bottom,
|
|
|
&${Q}-slide-down-appear${Q}-slide-down-appear-active${w}-placement-bottom,
|
|
|
&${Q}-slide-down-enter${Q}-slide-down-enter-active${w}-placement-bottomRight,
|
|
|
&${Q}-slide-down-appear${Q}-slide-down-appear-active${w}-placement-bottomRight`]:{animationName:fe.fJ},[`&${Q}-slide-up-enter${Q}-slide-up-enter-active${w}-placement-topLeft,
|
|
|
&${Q}-slide-up-appear${Q}-slide-up-appear-active${w}-placement-topLeft,
|
|
|
&${Q}-slide-up-enter${Q}-slide-up-enter-active${w}-placement-top,
|
|
|
&${Q}-slide-up-appear${Q}-slide-up-appear-active${w}-placement-top,
|
|
|
&${Q}-slide-up-enter${Q}-slide-up-enter-active${w}-placement-topRight,
|
|
|
&${Q}-slide-up-appear${Q}-slide-up-appear-active${w}-placement-topRight`]:{animationName:fe.Qt},[`&${Q}-slide-down-leave${Q}-slide-down-leave-active${w}-placement-bottomLeft,
|
|
|
&${Q}-slide-down-leave${Q}-slide-down-leave-active${w}-placement-bottom,
|
|
|
&${Q}-slide-down-leave${Q}-slide-down-leave-active${w}-placement-bottomRight`]:{animationName:fe.Uw},[`&${Q}-slide-up-leave${Q}-slide-up-leave-active${w}-placement-topLeft,
|
|
|
&${Q}-slide-up-leave${Q}-slide-up-leave-active${w}-placement-top,
|
|
|
&${Q}-slide-up-leave${Q}-slide-up-leave-active${w}-placement-topRight`]:{animationName:fe.ly}})},(0,R.ZP)(S,{colorBg:ae,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${w} ${x}`]:{position:"relative",margin:0},[`${x}-submenu-popup`]:{position:"absolute",zIndex:_,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${w}, ${w}-menu-submenu`]:{[x]:Object.assign(Object.assign({padding:O,listStyleType:"none",backgroundColor:ae,backgroundClip:"padding-box",borderRadius:S.borderRadiusLG,outline:"none",boxShadow:S.boxShadowSecondary},(0,ye.Qy)(S)),{[`${x}-item-group-title`]:{padding:`${G}px ${le}px`,color:S.colorTextDescription,transition:`all ${Y}`},[`${x}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${x}-item-icon`]:{minWidth:D,marginInlineEnd:S.marginXS,fontSize:S.fontSizeSM},[`${x}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${Y}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${x}-item, ${x}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${G}px ${le}px`,color:S.colorText,fontWeight:"normal",fontSize:D,lineHeight:S.lineHeight,cursor:"pointer",transition:`all ${Y}`,borderRadius:S.borderRadiusSM,"&:hover, &-active":{backgroundColor:S.controlItemBgHover}},(0,ye.Qy)(S)),{"&-selected":{color:S.colorPrimary,backgroundColor:S.controlItemBgActive,"&:hover, &-active":{backgroundColor:S.controlItemBgActiveHover}},"&-disabled":{color:J,cursor:"not-allowed","&:hover":{color:J,backgroundColor:ae,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${S.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:S.colorSplit},[`${w}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:S.paddingXS,[`${w}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:S.colorTextDescription,fontSize:K,fontStyle:"normal"}}}),[`${x}-item-group-list`]:{margin:`0 ${S.marginXS}px`,padding:0,listStyle:"none"},[`${x}-submenu-title`]:{paddingInlineEnd:le+S.fontSizeSM},[`${x}-submenu-vertical`]:{position:"relative"},[`${x}-submenu${x}-submenu-disabled ${w}-menu-submenu-title`]:{[`&, ${w}-menu-submenu-arrow-icon`]:{color:J,backgroundColor:ae,cursor:"not-allowed"}},[`${x}-submenu-selected ${w}-menu-submenu-title`]:{color:S.colorPrimary}})}},[(0,fe.oN)(S,"slide-up"),(0,fe.oN)(S,"slide-down"),(0,H.Fm)(S,"move-up"),(0,H.Fm)(S,"move-down"),(0,be._y)(S,"zoom-big")]]};var L=(0,$.Z)("Dropdown",(S,w)=>{let{rootPrefixCls:x}=w;const{marginXXS:_,sizePopupArrow:B,controlHeight:W,fontSize:Q,lineHeight:q,paddingXXS:Y,componentCls:G,borderRadiusLG:D}=S,O=(W-Q*q)/2,{dropdownArrowOffset:J}=(0,R.fS)({contentRadius:D}),K=(0,v.TS)(S,{menuCls:`${G}-menu`,rootPrefixCls:x,dropdownArrowDistance:B/2+_,dropdownArrowOffset:J,dropdownPaddingVertical:O,dropdownEdgeChildPadding:Y});return[s(K),N(K)]},S=>({zIndexPopup:S.zIndexPopupBase+50}))},64165:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return Y}});var ye=h(92310),fe=h.n(ye),H=h(59301),be=h(36355),R=h(9763),$=h(64993),v=h(88088),N=()=>{const[,G]=(0,v.Z)(),O=new $.C(G.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return H.createElement("svg",{style:O,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},H.createElement("g",{fill:"none",fillRule:"evenodd"},H.createElement("g",{transform:"translate(24 31.67)"},H.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),H.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"}),H.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)"}),H.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"}),H.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"})),H.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"}),H.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},H.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),H.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},L=()=>{const[,G]=(0,v.Z)(),{colorFill:D,colorFillTertiary:O,colorFillQuaternary:J,colorBgContainer:K}=G,{borderColor:le,shadowColor:ae,contentColor:he}=(0,H.useMemo)(()=>({borderColor:new $.C(D).onBackground(K).toHexShortString(),shadowColor:new $.C(O).onBackground(K).toHexShortString(),contentColor:new $.C(J).onBackground(K).toHexShortString()}),[D,O,J,K]);return H.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},H.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},H.createElement("ellipse",{fill:ae,cx:"32",cy:"33",rx:"32",ry:"7"}),H.createElement("g",{fillRule:"nonzero",stroke:le},H.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"}),H.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:he}))))},S=h(83116),w=h(37613);const x=G=>{const{componentCls:D,margin:O,marginXS:J,marginXL:K,fontSize:le,lineHeight:ae}=G;return{[D]:{marginInline:J,fontSize:le,lineHeight:ae,textAlign:"center",[`${D}-image`]:{height:G.emptyImgHeight,marginBottom:J,opacity:G.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${D}-description`]:{color:G.colorText},[`${D}-footer`]:{marginTop:O},"&-normal":{marginBlock:K,color:G.colorTextDisabled,[`${D}-description`]:{color:G.colorTextDisabled},[`${D}-image`]:{height:G.emptyImgHeightMD}},"&-small":{marginBlock:J,color:G.colorTextDisabled,[`${D}-image`]:{height:G.emptyImgHeightSM}}}}};var _=(0,S.Z)("Empty",G=>{const{componentCls:D,controlHeightLG:O}=G,J=(0,w.TS)(G,{emptyImgCls:`${D}-img`,emptyImgHeight:O*2.5,emptyImgHeightMD:O,emptyImgHeightSM:O*.875});return[x(J)]}),B=function(G,D){var O={};for(var J in G)Object.prototype.hasOwnProperty.call(G,J)&&D.indexOf(J)<0&&(O[J]=G[J]);if(G!=null&&typeof Object.getOwnPropertySymbols=="function")for(var K=0,J=Object.getOwnPropertySymbols(G);K<J.length;K++)D.indexOf(J[K])<0&&Object.prototype.propertyIsEnumerable.call(G,J[K])&&(O[J[K]]=G[J[K]]);return O};const W=H.createElement(N,null),Q=H.createElement(L,null),q=G=>{var{className:D,rootClassName:O,prefixCls:J,image:K=W,description:le,children:ae,imageStyle:he,style:k}=G,Ue=B(G,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:F,direction:De,empty:we}=H.useContext(be.E_),de=F("empty",J),[Be,ne]=_(de),[ve]=(0,R.Z)("Empty"),ee=typeof le!="undefined"?le:ve==null?void 0:ve.description,se=typeof ee=="string"?ee:"empty";let je=null;return typeof K=="string"?je=H.createElement("img",{alt:se,src:K}):je=K,Be(H.createElement("div",Object.assign({className:fe()(ne,de,we==null?void 0:we.className,{[`${de}-normal`]:K===Q,[`${de}-rtl`]:De==="rtl"},D,O),style:Object.assign(Object.assign({},we==null?void 0:we.style),k)},Ue),H.createElement("div",{className:`${de}-image`,style:he},je),ee&&H.createElement("div",{className:`${de}-description`},ee),ae&&H.createElement("div",{className:`${de}-footer`},ae)))};q.PRESENTED_IMAGE_DEFAULT=W,q.PRESENTED_IMAGE_SIMPLE=Q;var Y=q},78241:function(tr,Ct,h){"use strict";h.d(Ct,{default:function(){return Ei}});var ye=h(94480),fe=h(92310),H=h.n(fe),be=h(77900),R=h(59301),$=h(62892),v=h(32441);function m(nt){const[Jt,An]=R.useState(nt);return R.useEffect(()=>{const Ke=setTimeout(()=>{An(nt)},nt.length?0:10);return()=>{clearTimeout(Ke)}},[nt]),Jt}var N=h(17313),s=h(29878),L=h(8378),S=h(37613),w=h(83116),_=nt=>{const{componentCls:Jt}=nt,An=`${Jt}-show-help`,Ke=`${Jt}-show-help-item`;return{[An]:{transition:`opacity ${nt.motionDurationSlow} ${nt.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[Ke]:{overflow:"hidden",transition:`height ${nt.motionDurationSlow} ${nt.motionEaseInOut},
|
|
|
opacity ${nt.motionDurationSlow} ${nt.motionEaseInOut},
|
|
|
transform ${nt.motionDurationSlow} ${nt.motionEaseInOut} !important`,[`&${Ke}-appear, &${Ke}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${Ke}-leave-active`]:{transform:"translateY(-5px)"}}}}};const B=nt=>({legend:{display:"block",width:"100%",marginBottom:nt.marginLG,padding:0,color:nt.colorTextDescription,fontSize:nt.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${nt.lineWidth}px ${nt.lineType} ${nt.colorBorder}`},label:{fontSize:nt.fontSize},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${nt.controlOutlineWidth}px ${nt.controlOutline}`},output:{display:"block",paddingTop:15,color:nt.colorText,fontSize:nt.fontSize,lineHeight:nt.lineHeight}}),W=(nt,Jt)=>{const{formItemCls:An}=nt;return{[An]:{[`${An}-label > label`]:{height:Jt},[`${An}-control-input`]:{minHeight:Jt}}}},Q=nt=>{const{componentCls:Jt}=nt;return{[nt.componentCls]:Object.assign(Object.assign(Object.assign({},(0,N.Wf)(nt)),B(nt)),{[`${Jt}-text`]:{display:"inline-block",paddingInlineEnd:nt.paddingSM},"&-small":Object.assign({},W(nt,nt.controlHeightSM)),"&-large":Object.assign({},W(nt,nt.controlHeightLG))})}},q=nt=>{const{formItemCls:Jt,iconCls:An,componentCls:Ke,rootPrefixCls:ze,labelRequiredMarkColor:en,labelColor:Zt,labelFontSize:Tn,labelHeight:hn,labelColonMarginInlineStart:Un,labelColonMarginInlineEnd:Hn,itemMarginBottom:kn}=nt;return{[Jt]:Object.assign(Object.assign({},(0,N.Wf)(nt)),{marginBottom:kn,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden,
|
|
|
&-hidden.${ze}-row`]:{display:"none"},"&-has-warning":{[`${Jt}-split`]:{color:nt.colorError}},"&-has-error":{[`${Jt}-split`]:{color:nt.colorWarning}},[`${Jt}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:`${nt.lineHeight} - 0.25em`,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:hn,color:Zt,fontSize:Tn,[`> ${An}`]:{fontSize:nt.fontSize,verticalAlign:"top"},[`&${Jt}-required:not(${Jt}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:nt.marginXXS,color:en,fontSize:nt.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${Ke}-hide-required-mark &`]:{display:"none"}},[`${Jt}-optional`]:{display:"inline-block",marginInlineStart:nt.marginXXS,color:nt.colorTextDescription,[`${Ke}-hide-required-mark &`]:{display:"none"}},[`${Jt}-tooltip`]:{color:nt.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:nt.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:Un,marginInlineEnd:Hn},[`&${Jt}-no-colon::after`]:{content:'"\\a0"'}}},[`${Jt}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${ze}-col-'"]):not([class*="' ${ze}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:nt.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[Jt]:{"&-explain, &-extra":{clear:"both",color:nt.colorTextDescription,fontSize:nt.fontSize,lineHeight:nt.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:nt.controlHeightSM,transition:`color ${nt.motionDurationMid} ${nt.motionEaseOut}`},"&-explain":{"&-error":{color:nt.colorError},"&-warning":{color:nt.colorWarning}}},[`&-with-help ${Jt}-explain`]:{height:"auto",opacity:1},[`${Jt}-feedback-icon`]:{fontSize:nt.fontSize,textAlign:"center",visibility:"visible",animationName:s.kr,animationDuration:nt.motionDurationMid,animationTimingFunction:nt.motionEaseOutBack,pointerEvents:"none","&-success":{color:nt.colorSuccess},"&-error":{color:nt.colorError},"&-warning":{color:nt.colorWarning},"&-validating":{color:nt.colorPrimary}}})}},Y=nt=>{const{componentCls:Jt,formItemCls:An}=nt;return{[`${Jt}-horizontal`]:{[`${An}-label`]:{flexGrow:0},[`${An}-control`]:{flex:"1 1 0",minWidth:0},[`${An}-label[class$='-24'], ${An}-label[class*='-24 ']`]:{[`& + ${An}-control`]:{minWidth:"unset"}}}}},G=nt=>{const{componentCls:Jt,formItemCls:An}=nt;return{[`${Jt}-inline`]:{display:"flex",flexWrap:"wrap",[An]:{flex:"none",marginInlineEnd:nt.margin,marginBottom:0,"&-row":{flexWrap:"nowrap"},[`> ${An}-label,
|
|
|
> ${An}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${An}-label`]:{flex:"none"},[`${Jt}-text`]:{display:"inline-block"},[`${An}-has-feedback`]:{display:"inline-block"}}}}},D=nt=>({padding:nt.verticalLabelPadding,margin:nt.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),O=nt=>{const{componentCls:Jt,formItemCls:An,rootPrefixCls:Ke}=nt;return{[`${An} ${An}-label`]:D(nt),[Jt]:{[An]:{flexWrap:"wrap",[`${An}-label, ${An}-control`]:{[`&:not([class*=" ${Ke}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},J=nt=>{const{componentCls:Jt,formItemCls:An,rootPrefixCls:Ke}=nt;return{[`${Jt}-vertical`]:{[An]:{"&-row":{flexDirection:"column"},"&-label > label":{height:"auto"},[`${Jt}-item-control`]:{width:"100%"}}},[`${Jt}-vertical ${An}-label,
|
|
|
.${Ke}-col-24${An}-label,
|
|
|
.${Ke}-col-xl-24${An}-label`]:D(nt),[`@media (max-width: ${nt.screenXSMax}px)`]:[O(nt),{[Jt]:{[`.${Ke}-col-xs-24${An}-label`]:D(nt)}}],[`@media (max-width: ${nt.screenSMMax}px)`]:{[Jt]:{[`.${Ke}-col-sm-24${An}-label`]:D(nt)}},[`@media (max-width: ${nt.screenMDMax}px)`]:{[Jt]:{[`.${Ke}-col-md-24${An}-label`]:D(nt)}},[`@media (max-width: ${nt.screenLGMax}px)`]:{[Jt]:{[`.${Ke}-col-lg-24${An}-label`]:D(nt)}}}},K=(nt,Jt)=>(0,S.TS)(nt,{formItemCls:`${nt.componentCls}-item`,rootPrefixCls:Jt});var le=(0,w.Z)("Form",(nt,Jt)=>{let{rootPrefixCls:An}=Jt;const Ke=K(nt,An);return[Q(Ke),q(Ke),_(Ke),Y(Ke),G(Ke),J(Ke),(0,L.Z)(Ke),s.kr]},nt=>({labelRequiredMarkColor:nt.colorError,labelColor:nt.colorTextHeading,labelFontSize:nt.fontSize,labelHeight:nt.controlHeight,labelColonMarginInlineStart:nt.marginXXS/2,labelColonMarginInlineEnd:nt.marginXS,itemMarginBottom:nt.marginLG,verticalLabelPadding:`0 0 ${nt.paddingXS}px`,verticalLabelMargin:0}),{order:-1e3});const ae=[];function he(nt,Jt,An){let Ke=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof nt=="string"?nt:`${Jt}-${Ke}`,error:nt,errorStatus:An}}var Ue=nt=>{let{help:Jt,helpStatus:An,errors:Ke=ae,warnings:ze=ae,className:en,fieldId:Zt,onVisibleChanged:Tn}=nt;const{prefixCls:hn}=R.useContext(v.Rk),Un=`${hn}-item-explain`,[,Hn]=le(hn),kn=(0,R.useMemo)(()=>(0,$.Z)(hn),[hn]),cr=m(Ke),Ln=m(ze),qn=R.useMemo(()=>Jt!=null?[he(Jt,"help",An)]:[].concat((0,ye.Z)(cr.map((Kn,ur)=>he(Kn,"error","error",ur))),(0,ye.Z)(Ln.map((Kn,ur)=>he(Kn,"warning","warning",ur)))),[Jt,An,cr,Ln]),sr={};return Zt&&(sr.id=`${Zt}_help`),R.createElement(be.default,{motionDeadline:kn.motionDeadline,motionName:`${hn}-show-help`,visible:!!qn.length,onVisibleChanged:Tn},Kn=>{const{className:ur,style:ir}=Kn;return R.createElement("div",Object.assign({},sr,{className:H()(Un,ur,en,Hn),style:ir,role:"alert"}),R.createElement(be.CSSMotionList,Object.assign({keys:qn},(0,$.Z)(hn),{motionName:`${hn}-show-help-item`,component:!1}),Gr=>{const{key:Er,error:Qn,errorStatus:gt,className:Ft,style:Qt}=Gr;return R.createElement("div",{key:Er,className:H()(Ft,{[`${Un}-${gt}`]:gt}),style:Qt},Qn)}))})},F=h(95013),De=h(36355),we=h(1684),de=h(52946),Be=h(19716),ne=h(16722);const ve=["parentNode"],ee="form_item";function se(nt){return nt===void 0||nt===!1?[]:Array.isArray(nt)?nt:[nt]}function je(nt,Jt){if(!nt.length)return;const An=nt.join("_");return Jt?`${Jt}_${An}`:ve.includes(An)?`${ee}_${An}`:An}function Pe(nt,Jt,An,Ke,ze,en){let Zt=Ke;return en!==void 0?Zt=en:An.validating?Zt="validating":nt.length?Zt="error":Jt.length?Zt="warning":(An.touched||ze&&An.validated)&&(Zt="success"),Zt}function Oe(nt){return se(nt).join("_")}function ut(nt){const[Jt]=(0,F.useForm)(),An=R.useRef({}),Ke=R.useMemo(()=>nt!=null?nt:Object.assign(Object.assign({},Jt),{__INTERNAL__:{itemRef:ze=>en=>{const Zt=Oe(ze);en?An.current[Zt]=en:delete An.current[Zt]}},scrollToField:function(ze){let en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const Zt=se(ze),Tn=je(Zt,Ke.__INTERNAL__.name),hn=Tn?document.getElementById(Tn):null;hn&&(0,ne.Z)(hn,Object.assign({scrollMode:"if-needed",block:"nearest"},en))},getFieldInstance:ze=>{const en=Oe(ze);return An.current[en]}}),[nt,Jt]);return[Ke]}var mt=h(28726),Ot=function(nt,Jt){var An={};for(var Ke in nt)Object.prototype.hasOwnProperty.call(nt,Ke)&&Jt.indexOf(Ke)<0&&(An[Ke]=nt[Ke]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ke=Object.getOwnPropertySymbols(nt);ze<Ke.length;ze++)Jt.indexOf(Ke[ze])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ke[ze])&&(An[Ke[ze]]=nt[Ke[ze]]);return An};const Ee=(nt,Jt)=>{const An=R.useContext(we.Z),{getPrefixCls:Ke,direction:ze,form:en}=R.useContext(De.E_),{prefixCls:Zt,className:Tn,rootClassName:hn,size:Un,disabled:Hn=An,form:kn,colon:cr,labelAlign:Ln,labelWrap:qn,labelCol:sr,wrapperCol:Kn,hideRequiredMark:ur,layout:ir="horizontal",scrollToFirstError:Gr,requiredMark:Er,onFinishFailed:Qn,name:gt,style:Ft,feedbackIcons:Qt}=nt,Xt=Ot(nt,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons"]),Wt=(0,Be.Z)(Un),Pn=R.useContext(mt.Z),wn=(0,R.useMemo)(()=>Er!==void 0?Er:en&&en.requiredMark!==void 0?en.requiredMark:!ur,[ur,Er,en]),ar=cr!=null?cr:en==null?void 0:en.colon,wr=Ke("form",Zt),[Nr,ni]=le(wr),Mr=H()(wr,`${wr}-${ir}`,{[`${wr}-hide-required-mark`]:wn===!1,[`${wr}-rtl`]:ze==="rtl",[`${wr}-${Wt}`]:Wt},ni,en==null?void 0:en.className,Tn,hn),[Xr]=ut(kn),{__INTERNAL__:Ht}=Xr;Ht.name=gt;const Zn=(0,R.useMemo)(()=>({name:gt,labelAlign:Ln,labelCol:sr,labelWrap:qn,wrapperCol:Kn,vertical:ir==="vertical",colon:ar,requiredMark:wn,itemRef:Ht.itemRef,form:Xr,feedbackIcons:Qt}),[gt,Ln,sr,Kn,ir,ar,wn,Xr,Qt]);R.useImperativeHandle(Jt,()=>Xr);const or=(Rr,Yn)=>{if(Rr){let hr={block:"nearest"};typeof Rr=="object"&&(hr=Rr),Xr.scrollToField(Yn,hr)}},Sr=Rr=>{if(Qn==null||Qn(Rr),Rr.errorFields.length){const Yn=Rr.errorFields[0].name;if(Gr!==void 0){or(Gr,Yn);return}en&&en.scrollToFirstError!==void 0&&or(en.scrollToFirstError,Yn)}};return Nr(R.createElement(we.n,{disabled:Hn},R.createElement(de.q,{size:Wt},R.createElement(v.RV,Object.assign({},{validateMessages:Pn}),R.createElement(v.q3.Provider,{value:Zn},R.createElement(F.default,Object.assign({id:gt},Xt,{name:gt,onFinishFailed:Sr,form:Xr,style:Object.assign(Object.assign({},en==null?void 0:en.style),Ft),className:Mr})))))))};var Rt=R.forwardRef(Ee),on=h(41799),Mt=h(8654),T=h(92343),Ye=h(11592);function E(nt){if(typeof nt=="function")return nt;const Jt=(0,Ye.Z)(nt);return Jt.length<=1?Jt[0]:Jt}const u=()=>{const{status:nt,errors:Jt=[],warnings:An=[]}=(0,R.useContext)(v.aM);return{status:nt,errors:Jt,warnings:An}};u.Context=v.aM;var a=u,p=h(16089);function M(nt){const[Jt,An]=R.useState(nt),Ke=(0,R.useRef)(null),ze=(0,R.useRef)([]),en=(0,R.useRef)(!1);R.useEffect(()=>(en.current=!1,()=>{en.current=!0,p.Z.cancel(Ke.current),Ke.current=null}),[]);function Zt(Tn){en.current||(Ke.current===null&&(ze.current=[],Ke.current=(0,p.Z)(()=>{Ke.current=null,An(hn=>{let Un=hn;return ze.current.forEach(Hn=>{Un=Hn(Un)}),Un})})),ze.current.push(Tn))}return[Jt,Zt]}function re(){const{itemRef:nt}=R.useContext(v.q3),Jt=R.useRef({});function An(Ke,ze){const en=ze&&typeof ze=="object"&&ze.ref,Zt=Ke.join("_");return(Jt.current.name!==Zt||Jt.current.originRef!==en)&&(Jt.current.name=Zt,Jt.current.originRef=en,Jt.current.ref=(0,Mt.sQ)(nt(Ke),en)),Jt.current.ref}return An}var C=h(29194),j=h(34280),me=h(2738),Ae=h(27382),ie=h(37028);const Se=nt=>{const{formItemCls:Jt}=nt;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${Jt}-control`]:{display:"flex"}}}};var Ge=(0,w.b)(["Form","item-item"],(nt,Jt)=>{let{rootPrefixCls:An}=Jt;const Ke=K(nt,An);return[Se(Ke)]}),He=nt=>{const{prefixCls:Jt,status:An,wrapperCol:Ke,children:ze,errors:en,warnings:Zt,_internalItemRender:Tn,extra:hn,help:Un,fieldId:Hn,marginBottom:kn,onErrorVisibleChanged:cr}=nt,Ln=`${Jt}-item`,qn=R.useContext(v.q3),sr=Ke||qn.wrapperCol||{},Kn=H()(`${Ln}-control`,sr.className),ur=R.useMemo(()=>Object.assign({},qn),[qn]);delete ur.labelCol,delete ur.wrapperCol;const ir=R.createElement("div",{className:`${Ln}-control-input`},R.createElement("div",{className:`${Ln}-control-input-content`},ze)),Gr=R.useMemo(()=>({prefixCls:Jt,status:An}),[Jt,An]),Er=kn!==null||en.length||Zt.length?R.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},R.createElement(v.Rk.Provider,{value:Gr},R.createElement(Ue,{fieldId:Hn,errors:en,warnings:Zt,help:Un,helpStatus:An,className:`${Ln}-explain-connected`,onVisibleChanged:cr})),!!kn&&R.createElement("div",{style:{width:0,height:kn}})):null,Qn={};Hn&&(Qn.id=`${Hn}_extra`);const gt=hn?R.createElement("div",Object.assign({},Qn,{className:`${Ln}-extra`}),hn):null,Ft=Tn&&Tn.mark==="pro_table_render"&&Tn.render?Tn.render(nt,{input:ir,errorList:Er,extra:gt}):R.createElement(R.Fragment,null,ir,Er,gt);return R.createElement(v.q3.Provider,{value:ur},R.createElement(ie.Z,Object.assign({},sr,{className:Kn}),Ft),R.createElement(Ge,{prefixCls:Jt}))},Te=h(61485),pe=h(31724),ge=h(9763),Ve=h(6848),yt=function(nt,Jt){var An={};for(var Ke in nt)Object.prototype.hasOwnProperty.call(nt,Ke)&&Jt.indexOf(Ke)<0&&(An[Ke]=nt[Ke]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ke=Object.getOwnPropertySymbols(nt);ze<Ke.length;ze++)Jt.indexOf(Ke[ze])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ke[ze])&&(An[Ke[ze]]=nt[Ke[ze]]);return An};function ht(nt){return nt?typeof nt=="object"&&!R.isValidElement(nt)?nt:{title:nt}:null}var sn=nt=>{let{prefixCls:Jt,label:An,htmlFor:Ke,labelCol:ze,labelAlign:en,colon:Zt,required:Tn,requiredMark:hn,tooltip:Un}=nt;var Hn;const[kn]=(0,ge.Z)("Form"),{vertical:cr,labelAlign:Ln,labelCol:qn,labelWrap:sr,colon:Kn}=R.useContext(v.q3);if(!An)return null;const ur=ze||qn||{},ir=en||Ln,Gr=`${Jt}-item-label`,Er=H()(Gr,ir==="left"&&`${Gr}-left`,ur.className,{[`${Gr}-wrap`]:!!sr});let Qn=An;const gt=Zt===!0||Kn!==!1&&Zt!==!1;gt&&!cr&&typeof An=="string"&&An.trim()!==""&&(Qn=An.replace(/[:|:]\s*$/,""));const Qt=ht(Un);if(Qt){const{icon:wn=R.createElement(Te.Z,null)}=Qt,ar=yt(Qt,["icon"]),wr=R.createElement(Ve.Z,Object.assign({},ar),R.cloneElement(wn,{className:`${Jt}-item-tooltip`,title:""}));Qn=R.createElement(R.Fragment,null,Qn,wr)}const Xt=hn==="optional",Wt=typeof hn=="function";Wt?Qn=hn(Qn,{required:!!Tn}):Xt&&!Tn&&(Qn=R.createElement(R.Fragment,null,Qn,R.createElement("span",{className:`${Jt}-item-optional`,title:""},(kn==null?void 0:kn.optional)||((Hn=pe.Z.Form)===null||Hn===void 0?void 0:Hn.optional))));const Pn=H()({[`${Jt}-item-required`]:Tn,[`${Jt}-item-required-mark-optional`]:Xt||Wt,[`${Jt}-item-no-colon`]:!gt});return R.createElement(ie.Z,Object.assign({},ur,{className:Er}),R.createElement("label",{htmlFor:Ke,className:Pn,title:typeof An=="string"?An:""},Qn))},tn=h(29679),pn=h(19248),mn=h(96512),qt=h(58617);const gn={success:tn.Z,warning:mn.Z,error:pn.Z,validating:qt.Z};function Sn(nt){let{children:Jt,errors:An,warnings:Ke,hasFeedback:ze,validateStatus:en,prefixCls:Zt,meta:Tn,noStyle:hn}=nt;const Un=`${Zt}-item`,{feedbackIcons:Hn}=R.useContext(v.q3),kn=Pe(An,Ke,Tn,null,!!ze,en),{isFormItemInput:cr,status:Ln}=R.useContext(v.aM),qn=R.useMemo(()=>{var sr;let Kn;if(ze){const Gr=ze!==!0&&ze.icons||Hn,Er=kn&&((sr=Gr==null?void 0:Gr({status:kn,errors:An,warnings:Ke}))===null||sr===void 0?void 0:sr[kn]),Qn=kn&&gn[kn];Kn=Er!==!1&&Qn?R.createElement("span",{className:H()(`${Un}-feedback-icon`,`${Un}-feedback-icon-${kn}`)},Er||R.createElement(Qn,null)):null}let ur=!0,ir=kn||"";return hn&&(ur=cr,ir=(kn!=null?kn:Ln)||""),{status:ir,errors:An,warnings:Ke,hasFeedback:!!ze,feedbackIcon:Kn,isFormItemInput:ur}},[kn,ze,hn,cr,Ln]);return R.createElement(v.aM.Provider,{value:qn},Jt)}var Jn=function(nt,Jt){var An={};for(var Ke in nt)Object.prototype.hasOwnProperty.call(nt,Ke)&&Jt.indexOf(Ke)<0&&(An[Ke]=nt[Ke]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ke=Object.getOwnPropertySymbols(nt);ze<Ke.length;ze++)Jt.indexOf(Ke[ze])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ke[ze])&&(An[Ke[ze]]=nt[Ke[ze]]);return An};function Br(nt){const{prefixCls:Jt,className:An,rootClassName:Ke,style:ze,help:en,errors:Zt,warnings:Tn,validateStatus:hn,meta:Un,hasFeedback:Hn,hidden:kn,children:cr,fieldId:Ln,required:qn,isRequired:sr,onSubItemMetaChange:Kn}=nt,ur=Jn(nt,["prefixCls","className","rootClassName","style","help","errors","warnings","validateStatus","meta","hasFeedback","hidden","children","fieldId","required","isRequired","onSubItemMetaChange"]),ir=`${Jt}-item`,{requiredMark:Gr}=R.useContext(v.q3),Er=R.useRef(null),Qn=m(Zt),gt=m(Tn),Ft=en!=null,Qt=!!(Ft||Zt.length||Tn.length),Xt=!!Er.current&&(0,C.Z)(Er.current),[Wt,Pn]=R.useState(null);(0,j.Z)(()=>{if(Qt&&Er.current){const ni=getComputedStyle(Er.current);Pn(parseInt(ni.marginBottom,10))}},[Qt,Xt]);const wn=ni=>{ni||Pn(null)},wr=function(){let ni=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Mr=ni?Qn:Un.errors,Xr=ni?gt:Un.warnings;return Pe(Mr,Xr,Un,"",!!Hn,hn)}(),Nr=H()(ir,An,Ke,{[`${ir}-with-help`]:Ft||Qn.length||gt.length,[`${ir}-has-feedback`]:wr&&Hn,[`${ir}-has-success`]:wr==="success",[`${ir}-has-warning`]:wr==="warning",[`${ir}-has-error`]:wr==="error",[`${ir}-is-validating`]:wr==="validating",[`${ir}-hidden`]:kn});return R.createElement("div",{className:Nr,style:ze,ref:Er},R.createElement(Ae.Z,Object.assign({className:`${ir}-row`},(0,me.Z)(ur,["_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"])),R.createElement(sn,Object.assign({htmlFor:Ln},nt,{requiredMark:Gr,required:qn!=null?qn:sr,prefixCls:Jt})),R.createElement(He,Object.assign({},nt,Un,{errors:Qn,warnings:gt,prefixCls:Jt,status:wr,help:en,marginBottom:Wt,onErrorVisibleChanged:wn}),R.createElement(v.qI.Provider,{value:Kn},R.createElement(Sn,{prefixCls:Jt,meta:Un,errors:Un.errors,warnings:Un.warnings,hasFeedback:Hn,validateStatus:wr},cr)))),!!Wt&&R.createElement("div",{className:`${ir}-margin-offset`,style:{marginBottom:-Wt}}))}const Xn="__SPLIT__",zr=null,pi=R.memo(nt=>{let{children:Jt}=nt;return Jt},(nt,Jt)=>nt.value===Jt.value&&nt.update===Jt.update&&nt.childProps.length===Jt.childProps.length&&nt.childProps.every((An,Ke)=>An===Jt.childProps[Ke]));function yn(nt){return nt!=null}function Vr(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Nt(nt){const{name:Jt,noStyle:An,className:Ke,dependencies:ze,prefixCls:en,shouldUpdate:Zt,rules:Tn,children:hn,required:Un,label:Hn,messageVariables:kn,trigger:cr="onChange",validateTrigger:Ln,hidden:qn,help:sr}=nt,{getPrefixCls:Kn}=R.useContext(De.E_),{name:ur}=R.useContext(v.q3),ir=E(hn),Gr=typeof ir=="function",Er=R.useContext(v.qI),{validateTrigger:Qn}=R.useContext(F.FieldContext),gt=Ln!==void 0?Ln:Qn,Ft=yn(Jt),Qt=Kn("form",en),[Xt,Wt]=le(Qt),Pn=R.useContext(F.ListContext),wn=R.useRef(),[ar,wr]=M({}),[Nr,ni]=(0,on.Z)(()=>Vr()),Mr=Yn=>{const hr=Pn==null?void 0:Pn.getKey(Yn.name);if(ni(Yn.destroy?Vr():Yn,!0),An&&sr!==!1&&Er){let jr=Yn.name;if(Yn.destroy)jr=wn.current||jr;else if(hr!==void 0){const[kr,ei]=hr;jr=[kr].concat((0,ye.Z)(ei)),wn.current=jr}Er(Yn,jr)}},Xr=(Yn,hr)=>{wr(jr=>{const kr=Object.assign({},jr),Ji=[].concat((0,ye.Z)(Yn.name.slice(0,-1)),(0,ye.Z)(hr)).join(Xn);return Yn.destroy?delete kr[Ji]:kr[Ji]=Yn,kr})},[Ht,Zn]=R.useMemo(()=>{const Yn=(0,ye.Z)(Nr.errors),hr=(0,ye.Z)(Nr.warnings);return Object.values(ar).forEach(jr=>{Yn.push.apply(Yn,(0,ye.Z)(jr.errors||[])),hr.push.apply(hr,(0,ye.Z)(jr.warnings||[]))}),[Yn,hr]},[ar,Nr.errors,Nr.warnings]),or=re();function Sr(Yn,hr,jr){return An&&!qn?R.createElement(Sn,{prefixCls:Qt,hasFeedback:nt.hasFeedback,validateStatus:nt.validateStatus,meta:Nr,errors:Ht,warnings:Zn,noStyle:!0},Yn):R.createElement(Br,Object.assign({key:"row"},nt,{className:H()(Ke,Wt),prefixCls:Qt,fieldId:hr,isRequired:jr,errors:Ht,warnings:Zn,meta:Nr,onSubItemMetaChange:Xr}),Yn)}if(!Ft&&!Gr&&!ze)return Xt(Sr(ir));let Rr={};return typeof Hn=="string"?Rr.label=Hn:Jt&&(Rr.label=String(Jt)),kn&&(Rr=Object.assign(Object.assign({},Rr),kn)),Xt(R.createElement(F.Field,Object.assign({},nt,{messageVariables:Rr,trigger:cr,validateTrigger:gt,onMetaChange:Mr}),(Yn,hr,jr)=>{const kr=se(Jt).length&&hr?hr.name:[],ei=je(kr,ur),Ji=Un!==void 0?Un:!!(Tn&&Tn.some(Fn=>{if(Fn&&typeof Fn=="object"&&Fn.required&&!Fn.warningOnly)return!0;if(typeof Fn=="function"){const Lr=Fn(jr);return Lr&&Lr.required&&!Lr.warningOnly}return!1})),Cr=Object.assign({},Yn);let Wn=null;if(Array.isArray(ir)&&Ft)Wn=ir;else if(!(Gr&&(!(Zt||ze)||Ft))){if(!(ze&&!Gr&&!Ft))if((0,T.l$)(ir)){const Fn=Object.assign(Object.assign({},ir.props),Cr);if(Fn.id||(Fn.id=ei),sr||Ht.length>0||Zn.length>0||nt.extra){const Zr=[];(sr||Ht.length>0)&&Zr.push(`${ei}_help`),nt.extra&&Zr.push(`${ei}_extra`),Fn["aria-describedby"]=Zr.join(" ")}Ht.length>0&&(Fn["aria-invalid"]="true"),Ji&&(Fn["aria-required"]="true"),(0,Mt.Yr)(ir)&&(Fn.ref=or(kr,ir)),new Set([].concat((0,ye.Z)(se(cr)),(0,ye.Z)(se(gt)))).forEach(Zr=>{Fn[Zr]=function(){for(var wi,Vi,zo,uo,Fo,Ir=arguments.length,dr=new Array(Ir),Ai=0;Ai<Ir;Ai++)dr[Ai]=arguments[Ai];(zo=Cr[Zr])===null||zo===void 0||(wi=zo).call.apply(wi,[Cr].concat(dr)),(Fo=(uo=ir.props)[Zr])===null||Fo===void 0||(Vi=Fo).call.apply(Vi,[uo].concat(dr))}});const Ur=[Fn["aria-required"],Fn["aria-invalid"],Fn["aria-describedby"]];Wn=R.createElement(pi,{value:Cr[nt.valuePropName||"value"],update:ir,childProps:Ur},(0,T.Tm)(ir,Fn))}else Gr&&(Zt||ze)&&!Ft?Wn=ir(jr):Wn=ir}return Sr(Wn,ei,Ji)}))}const qr=Nt;qr.useStatus=a;var Yi=qr,bi=function(nt,Jt){var An={};for(var Ke in nt)Object.prototype.hasOwnProperty.call(nt,Ke)&&Jt.indexOf(Ke)<0&&(An[Ke]=nt[Ke]);if(nt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Ke=Object.getOwnPropertySymbols(nt);ze<Ke.length;ze++)Jt.indexOf(Ke[ze])<0&&Object.prototype.propertyIsEnumerable.call(nt,Ke[ze])&&(An[Ke[ze]]=nt[Ke[ze]]);return An},Io=nt=>{var{prefixCls:Jt,children:An}=nt,Ke=bi(nt,["prefixCls","children"]);const{getPrefixCls:ze}=R.useContext(De.E_),en=ze("form",Jt),Zt=R.useMemo(()=>({prefixCls:en,status:"error"}),[en]);return R.createElement(F.List,Object.assign({},Ke),(Tn,hn,Un)=>R.createElement(v.Rk.Provider,{value:Zt},An(Tn.map(Hn=>Object.assign(Object.assign({},Hn),{fieldKey:Hn.key})),hn,{errors:Un.errors,warnings:Un.warnings})))};function Ni(){const{form:nt}=(0,R.useContext)(v.q3);return nt}const Qr=Rt;Qr.Item=Yi,Qr.List=Io,Qr.ErrorList=Ue,Qr.useForm=ut,Qr.useFormInstance=Ni,Qr.useWatch=F.useWatch,Qr.Provider=v.RV,Qr.create=()=>{};var Ei=Qr},8628:function(tr,Ct,h){"use strict";var ye=h(59301),fe=h(34280),H=h(56762),be=h(69507);function R(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const v=(0,ye.useRef)({}),m=(0,H.Z)(),N=(0,be.ZP)();return(0,fe.Z)(()=>{const s=N.subscribe(L=>{v.current=L,$&&m()});return()=>N.unsubscribe(s)},[]),v.current}Ct.Z=R},5871:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return Te}});var ye=h(84105),fe=h(87395),H=h(92310),be=h.n(H),R=h(54476),$=h(20068),v=h(76190),m=h(42978),N=h(75931),s=h(67732),L=h(83652);function S(){return typeof BigInt=="function"}function w(pe){return!pe&&pe!==0&&!Number.isNaN(pe)||!String(pe).trim()}function x(pe){var ge=pe.trim(),Ve=ge.startsWith("-");Ve&&(ge=ge.slice(1)),ge=ge.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),ge.startsWith(".")&&(ge="0".concat(ge));var yt=ge||"0",ht=yt.split("."),Tt=ht[0]||"0",sn=ht[1]||"0";Tt==="0"&&sn==="0"&&(Ve=!1);var tn=Ve?"-":"";return{negative:Ve,negativeStr:tn,trimStr:yt,integerStr:Tt,decimalStr:sn,fullStr:"".concat(tn).concat(yt)}}function _(pe){var ge=String(pe);return!Number.isNaN(Number(ge))&&ge.includes("e")}function B(pe){var ge=String(pe);if(_(pe)){var Ve=Number(ge.slice(ge.indexOf("e-")+2)),yt=ge.match(/\.(\d+)/);return yt!=null&&yt[1]&&(Ve+=yt[1].length),Ve}return ge.includes(".")&&Q(ge)?ge.length-ge.indexOf(".")-1:0}function W(pe){var ge=String(pe);if(_(pe)){if(pe>Number.MAX_SAFE_INTEGER)return String(S()?BigInt(pe).toString():Number.MAX_SAFE_INTEGER);if(pe<Number.MIN_SAFE_INTEGER)return String(S()?BigInt(pe).toString():Number.MIN_SAFE_INTEGER);ge=pe.toFixed(B(ge))}return x(ge).fullStr}function Q(pe){return typeof pe=="number"?!Number.isNaN(pe):pe?/^\s*-?\d+(\.\d+)?\s*$/.test(pe)||/^\s*-?\d+\.\s*$/.test(pe)||/^\s*-?\.\d+\s*$/.test(pe):!1}var q=function(){function pe(ge){if((0,s.Z)(this,pe),(0,$.Z)(this,"origin",""),(0,$.Z)(this,"negative",void 0),(0,$.Z)(this,"integer",void 0),(0,$.Z)(this,"decimal",void 0),(0,$.Z)(this,"decimalLen",void 0),(0,$.Z)(this,"empty",void 0),(0,$.Z)(this,"nan",void 0),w(ge)){this.empty=!0;return}if(this.origin=String(ge),ge==="-"||Number.isNaN(ge)){this.nan=!0;return}var Ve=ge;if(_(Ve)&&(Ve=Number(Ve)),Ve=typeof Ve=="string"?Ve:W(Ve),Q(Ve)){var yt=x(Ve);this.negative=yt.negative;var ht=yt.trimStr.split(".");this.integer=BigInt(ht[0]);var Tt=ht[1]||"0";this.decimal=BigInt(Tt),this.decimalLen=Tt.length}else this.nan=!0}return(0,L.Z)(pe,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(Ve){var yt="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(Ve,"0"));return BigInt(yt)}},{key:"negate",value:function(){var Ve=new pe(this.toString());return Ve.negative=!Ve.negative,Ve}},{key:"cal",value:function(Ve,yt,ht){var Tt=Math.max(this.getDecimalStr().length,Ve.getDecimalStr().length),sn=this.alignDecimal(Tt),tn=Ve.alignDecimal(Tt),pn=yt(sn,tn).toString(),mn=ht(Tt),qt=x(pn),gn=qt.negativeStr,Sn=qt.trimStr,Jn="".concat(gn).concat(Sn.padStart(mn+1,"0"));return new pe("".concat(Jn.slice(0,-mn),".").concat(Jn.slice(-mn)))}},{key:"add",value:function(Ve){if(this.isInvalidate())return new pe(Ve);var yt=new pe(Ve);return yt.isInvalidate()?this:this.cal(yt,function(ht,Tt){return ht+Tt},function(ht){return ht})}},{key:"multi",value:function(Ve){var yt=new pe(Ve);return this.isInvalidate()||yt.isInvalidate()?new pe(NaN):this.cal(yt,function(ht,Tt){return ht*Tt},function(ht){return ht*2})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Ve){return this.toString()===(Ve==null?void 0:Ve.toString())}},{key:"lessEquals",value:function(Ve){return this.add(Ve.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Ve?this.isInvalidate()?"":x("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),pe}(),Y=function(){function pe(ge){if((0,s.Z)(this,pe),(0,$.Z)(this,"origin",""),(0,$.Z)(this,"number",void 0),(0,$.Z)(this,"empty",void 0),w(ge)){this.empty=!0;return}this.origin=String(ge),this.number=Number(ge)}return(0,L.Z)(pe,[{key:"negate",value:function(){return new pe(-this.toNumber())}},{key:"add",value:function(Ve){if(this.isInvalidate())return new pe(Ve);var yt=Number(Ve);if(Number.isNaN(yt))return this;var ht=this.number+yt;if(ht>Number.MAX_SAFE_INTEGER)return new pe(Number.MAX_SAFE_INTEGER);if(ht<Number.MIN_SAFE_INTEGER)return new pe(Number.MIN_SAFE_INTEGER);var Tt=Math.max(B(this.number),B(yt));return new pe(ht.toFixed(Tt))}},{key:"multi",value:function(Ve){var yt=Number(Ve);if(this.isInvalidate()||Number.isNaN(yt))return new pe(NaN);var ht=this.number*yt;if(ht>Number.MAX_SAFE_INTEGER)return new pe(Number.MAX_SAFE_INTEGER);if(ht<Number.MIN_SAFE_INTEGER)return new pe(Number.MIN_SAFE_INTEGER);var Tt=Math.max(B(this.number),B(yt));return new pe(ht.toFixed(Tt))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(Ve){return this.toNumber()===(Ve==null?void 0:Ve.toNumber())}},{key:"lessEquals",value:function(Ve){return this.add(Ve.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var Ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return Ve?this.isInvalidate()?"":W(this.number):this.origin}}]),pe}();function G(pe){return S()?new q(pe):new Y(pe)}function D(pe,ge,Ve){var yt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(pe==="")return"";var ht=x(pe),Tt=ht.negativeStr,sn=ht.integerStr,tn=ht.decimalStr,pn="".concat(ge).concat(tn),mn="".concat(Tt).concat(sn);if(Ve>=0){var qt=Number(tn[Ve]);if(qt>=5&&!yt){var gn=G(pe).add("".concat(Tt,"0.").concat("0".repeat(Ve)).concat(10-qt));return D(gn.toString(),ge,Ve,yt)}return Ve===0?mn:"".concat(mn).concat(ge).concat(tn.padEnd(Ve,"0").slice(0,Ve))}return pn===".0"?mn:"".concat(mn).concat(pn)}var O=G,J=h(93681),K=h(34280),le=h(8654),ae=h(59301),he=h(48736);function k(pe,ge){var Ve=(0,ae.useRef)(null);function yt(){try{var Tt=pe.selectionStart,sn=pe.selectionEnd,tn=pe.value,pn=tn.substring(0,Tt),mn=tn.substring(sn);Ve.current={start:Tt,end:sn,value:tn,beforeTxt:pn,afterTxt:mn}}catch(qt){}}function ht(){if(pe&&Ve.current&&ge)try{var Tt=pe.value,sn=Ve.current,tn=sn.beforeTxt,pn=sn.afterTxt,mn=sn.start,qt=Tt.length;if(Tt.endsWith(pn))qt=Tt.length-Ve.current.afterTxt.length;else if(Tt.startsWith(tn))qt=tn.length;else{var gn=tn[mn-1],Sn=Tt.indexOf(gn,mn-1);Sn!==-1&&(qt=Sn+1)}pe.setSelectionRange(qt,qt)}catch(Jn){(0,he.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(Jn.message))}}return[yt,ht]}var Ue=h(49658),F=function(){var ge=(0,ae.useState)(!1),Ve=(0,m.Z)(ge,2),yt=Ve[0],ht=Ve[1];return(0,K.Z)(function(){ht((0,Ue.Z)())},[]),yt},De=F,we=h(16089),de=200,Be=600;function ne(pe){var ge=pe.prefixCls,Ve=pe.upNode,yt=pe.downNode,ht=pe.upDisabled,Tt=pe.downDisabled,sn=pe.onStep,tn=ae.useRef(),pn=ae.useRef([]),mn=ae.useRef();mn.current=sn;var qt=function(){clearTimeout(tn.current)},gn=function(Vr,Nt){Vr.preventDefault(),qt(),mn.current(Nt);function qr(){mn.current(Nt),tn.current=setTimeout(qr,de)}tn.current=setTimeout(qr,Be)};ae.useEffect(function(){return function(){qt(),pn.current.forEach(function(yn){return we.Z.cancel(yn)})}},[]);var Sn=De();if(Sn)return null;var Jn="".concat(ge,"-handler"),Br=be()(Jn,"".concat(Jn,"-up"),(0,$.Z)({},"".concat(Jn,"-up-disabled"),ht)),Xn=be()(Jn,"".concat(Jn,"-down"),(0,$.Z)({},"".concat(Jn,"-down-disabled"),Tt)),zr=function(){return pn.current.push((0,we.Z)(qt))},pi={unselectable:"on",role:"button",onMouseUp:zr,onMouseLeave:zr};return ae.createElement("div",{className:"".concat(Jn,"-wrap")},ae.createElement("span",(0,R.Z)({},pi,{onMouseDown:function(Vr){gn(Vr,!0)},"aria-label":"Increase Value","aria-disabled":ht,className:Br}),Ve||ae.createElement("span",{unselectable:"on",className:"".concat(ge,"-handler-up-inner")})),ae.createElement("span",(0,R.Z)({},pi,{onMouseDown:function(Vr){gn(Vr,!1)},"aria-label":"Decrease Value","aria-disabled":Tt,className:Xn}),yt||ae.createElement("span",{unselectable:"on",className:"".concat(ge,"-handler-down-inner")})))}function ve(pe){var ge=typeof pe=="number"?W(pe):x(pe).fullStr,Ve=ge.includes(".");return Ve?x(ge.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:pe+"0"}var ee=h(5643),se=function(){var pe=(0,ae.useRef)(0),ge=function(){we.Z.cancel(pe.current)};return(0,ae.useEffect)(function(){return ge},[]),function(Ve){ge(),pe.current=(0,we.Z)(function(){Ve()})}},je=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],Pe=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","classes","className","classNames"],Oe=function(ge,Ve){return ge||Ve.isEmpty()?Ve.toString():Ve.toNumber()},ut=function(ge){var Ve=O(ge);return Ve.isInvalidate()?null:Ve},mt=ae.forwardRef(function(pe,ge){var Ve,yt=pe.prefixCls,ht=yt===void 0?"rc-input-number":yt,Tt=pe.className,sn=pe.style,tn=pe.min,pn=pe.max,mn=pe.step,qt=mn===void 0?1:mn,gn=pe.defaultValue,Sn=pe.value,Jn=pe.disabled,Br=pe.readOnly,Xn=pe.upHandler,zr=pe.downHandler,pi=pe.keyboard,yn=pe.controls,Vr=yn===void 0?!0:yn,Nt=pe.classNames,qr=pe.stringMode,Yi=pe.parser,bi=pe.formatter,Pi=pe.precision,Io=pe.decimalSeparator,Ni=pe.onChange,Qr=pe.onInput,Ei=pe.onPressEnter,nt=pe.onStep,Jt=(0,N.Z)(pe,je),An="".concat(ht,"-input"),Ke=ae.useRef(null),ze=ae.useState(!1),en=(0,m.Z)(ze,2),Zt=en[0],Tn=en[1],hn=ae.useRef(!1),Un=ae.useRef(!1),Hn=ae.useRef(!1),kn=ae.useState(function(){return O(Sn!=null?Sn:gn)}),cr=(0,m.Z)(kn,2),Ln=cr[0],qn=cr[1];function sr(Wn){Sn===void 0&&qn(Wn)}var Kn=ae.useCallback(function(Wn,Fn){if(!Fn)return Pi>=0?Pi:Math.max(B(Wn),B(qt))},[Pi,qt]),ur=ae.useCallback(function(Wn){var Fn=String(Wn);if(Yi)return Yi(Fn);var Lr=Fn;return Io&&(Lr=Lr.replace(Io,".")),Lr.replace(/[^\w.-]+/g,"")},[Yi,Io]),ir=ae.useRef(""),Gr=ae.useCallback(function(Wn,Fn){if(bi)return bi(Wn,{userTyping:Fn,input:String(ir.current)});var Lr=typeof Wn=="number"?W(Wn):Wn;if(!Fn){var Ur=Kn(Lr,Fn);if(Q(Lr)&&(Io||Ur>=0)){var Zr=Io||".";Lr=D(Lr,Zr,Ur)}}return Lr},[bi,Kn,Io]),Er=ae.useState(function(){var Wn=gn!=null?gn:Sn;return Ln.isInvalidate()&&["string","number"].includes((0,v.Z)(Wn))?Number.isNaN(Wn)?"":Wn:Gr(Ln.toString(),!1)}),Qn=(0,m.Z)(Er,2),gt=Qn[0],Ft=Qn[1];ir.current=gt;function Qt(Wn,Fn){Ft(Gr(Wn.isInvalidate()?Wn.toString(!1):Wn.toString(!Fn),Fn))}var Xt=ae.useMemo(function(){return ut(pn)},[pn,Pi]),Wt=ae.useMemo(function(){return ut(tn)},[tn,Pi]),Pn=ae.useMemo(function(){return!Xt||!Ln||Ln.isInvalidate()?!1:Xt.lessEquals(Ln)},[Xt,Ln]),wn=ae.useMemo(function(){return!Wt||!Ln||Ln.isInvalidate()?!1:Ln.lessEquals(Wt)},[Wt,Ln]),ar=k(Ke.current,Zt),wr=(0,m.Z)(ar,2),Nr=wr[0],ni=wr[1],Mr=function(Fn){return Xt&&!Fn.lessEquals(Xt)?Xt:Wt&&!Wt.lessEquals(Fn)?Wt:null},Xr=function(Fn){return!Mr(Fn)},Ht=function(Fn,Lr){var Ur=Fn,Zr=Xr(Ur)||Ur.isEmpty();if(!Ur.isEmpty()&&!Lr&&(Ur=Mr(Ur)||Ur,Zr=!0),!Br&&!Jn&&Zr){var wi=Ur.toString(),Vi=Kn(wi,Lr);return Vi>=0&&(Ur=O(D(wi,".",Vi)),Xr(Ur)||(Ur=O(D(wi,".",Vi,!0)))),Ur.equals(Ln)||(sr(Ur),Ni==null||Ni(Ur.isEmpty()?null:Oe(qr,Ur)),Sn===void 0&&Qt(Ur,Lr)),Ur}return Ln},Zn=se(),or=function Wn(Fn){if(Nr(),ir.current=Fn,Ft(Fn),!Un.current){var Lr=ur(Fn),Ur=O(Lr);Ur.isNaN()||Ht(Ur,!0)}Qr==null||Qr(Fn),Zn(function(){var Zr=Fn;Yi||(Zr=Fn.replace(/。/g,".")),Zr!==Fn&&Wn(Zr)})},Sr=function(){Un.current=!0},Rr=function(){Un.current=!1,or(Ke.current.value)},Yn=function(Fn){or(Fn.target.value)},hr=function(Fn){var Lr;if(!(Fn&&Pn||!Fn&&wn)){hn.current=!1;var Ur=O(Hn.current?ve(qt):qt);Fn||(Ur=Ur.negate());var Zr=(Ln||O(0)).add(Ur.toString()),wi=Ht(Zr,!1);nt==null||nt(Oe(qr,wi),{offset:Hn.current?ve(qt):qt,type:Fn?"up":"down"}),(Lr=Ke.current)===null||Lr===void 0||Lr.focus()}},jr=function(Fn){var Lr=O(ur(gt)),Ur=Lr;Lr.isNaN()?Ur=Ht(Ln,Fn):Ur=Ht(Lr,Fn),Sn!==void 0?Qt(Ln,!1):Ur.isNaN()||Qt(Ur,!1)},kr=function(){hn.current=!0},ei=function(Fn){var Lr=Fn.key,Ur=Fn.shiftKey;hn.current=!0,Hn.current=Ur,Lr==="Enter"&&(Un.current||(hn.current=!1),jr(!1),Ei==null||Ei(Fn)),pi!==!1&&!Un.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Lr)&&(hr(Lr==="Up"||Lr==="ArrowUp"),Fn.preventDefault())},Ji=function(){hn.current=!1,Hn.current=!1},Cr=function(){jr(!1),Tn(!1),hn.current=!1};return(0,K.o)(function(){Ln.isInvalidate()||Qt(Ln,!1)},[Pi]),(0,K.o)(function(){var Wn=O(Sn);qn(Wn);var Fn=O(ur(gt));(!Wn.equals(Fn)||!hn.current||bi)&&Qt(Wn,hn.current)},[Sn]),(0,K.o)(function(){bi&&ni()},[gt]),ae.createElement("div",{className:be()(ht,Nt==null?void 0:Nt.input,Tt,(Ve={},(0,$.Z)(Ve,"".concat(ht,"-focused"),Zt),(0,$.Z)(Ve,"".concat(ht,"-disabled"),Jn),(0,$.Z)(Ve,"".concat(ht,"-readonly"),Br),(0,$.Z)(Ve,"".concat(ht,"-not-a-number"),Ln.isNaN()),(0,$.Z)(Ve,"".concat(ht,"-out-of-range"),!Ln.isInvalidate()&&!Xr(Ln)),Ve)),style:sn,onFocus:function(){Tn(!0)},onBlur:Cr,onKeyDown:ei,onKeyUp:Ji,onCompositionStart:Sr,onCompositionEnd:Rr,onBeforeInput:kr},Vr&&ae.createElement(ne,{prefixCls:ht,upNode:Xn,downNode:zr,upDisabled:Pn,downDisabled:wn,onStep:hr}),ae.createElement("div",{className:"".concat(An,"-wrap")},ae.createElement("input",(0,R.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":tn,"aria-valuemax":pn,"aria-valuenow":Ln.isInvalidate()?null:Ln.toString(),step:qt},Jt,{ref:(0,le.sQ)(Ke,ge),className:An,value:gt,onChange:Yn,disabled:Jn,readOnly:Br}))))}),Ot=ae.forwardRef(function(pe,ge){var Ve=pe.disabled,yt=pe.style,ht=pe.prefixCls,Tt=pe.value,sn=pe.prefix,tn=pe.suffix,pn=pe.addonBefore,mn=pe.addonAfter,qt=pe.classes,gn=pe.className,Sn=pe.classNames,Jn=(0,N.Z)(pe,Pe),Br=ae.useRef(null),Xn=function(pi){Br.current&&(0,ee.nH)(Br.current,pi)};return ae.createElement(J.BaseInput,{inputElement:ae.createElement(mt,(0,R.Z)({prefixCls:ht,disabled:Ve,classNames:Sn,ref:(0,le.sQ)(Br,ge)},Jn)),className:gn,triggerFocus:Xn,prefixCls:ht,value:Tt,disabled:Ve,style:yt,prefix:sn,suffix:tn,addonAfter:mn,addonBefore:pn,classes:qt,classNames:Sn,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"}})});Ot.displayName="InputNumber";var Ee=Ot,kt=Ee,Rt=h(19080),on=h(36355),Mt=h(92736),T=h(1684),Ye=h(19716),E=h(32441),u=h(33234),a=h(9937),p=h(17313),M=h(74207),re=h(83116),C=h(37613);const j=(pe,ge)=>{let{componentCls:Ve,borderRadiusSM:yt,borderRadiusLG:ht}=pe;const Tt=ge==="lg"?ht:yt;return{[`&-${ge}`]:{[`${Ve}-handler-wrap`]:{borderStartEndRadius:Tt,borderEndEndRadius:Tt},[`${Ve}-handler-up`]:{borderStartEndRadius:Tt},[`${Ve}-handler-down`]:{borderEndEndRadius:Tt}}}},me=pe=>{const{componentCls:ge,lineWidth:Ve,lineType:yt,colorBorder:ht,borderRadius:Tt,fontSizeLG:sn,controlHeightLG:tn,controlHeightSM:pn,colorError:mn,paddingInlineSM:qt,colorTextDescription:gn,motionDurationMid:Sn,handleHoverColor:Jn,paddingInline:Br,paddingBlock:Xn,handleBg:zr,handleActiveBg:pi,colorTextDisabled:yn,borderRadiusSM:Vr,borderRadiusLG:Nt,controlWidth:qr,handleVisible:Yi,handleBorderColor:bi}=pe;return[{[ge]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,p.Wf)(pe)),(0,a.ik)(pe)),(0,a.bi)(pe,ge)),{display:"inline-block",width:qr,margin:0,padding:0,border:`${Ve}px ${yt} ${ht}`,borderRadius:Tt,"&-rtl":{direction:"rtl",[`${ge}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:sn,borderRadius:Nt,[`input${ge}-input`]:{height:tn-2*Ve}},"&-sm":{padding:0,borderRadius:Vr,[`input${ge}-input`]:{height:pn-2*Ve,padding:`0 ${qt}px`}},"&:hover":Object.assign({},(0,a.pU)(pe)),"&-focused":Object.assign({},(0,a.M1)(pe)),"&-out-of-range":{[`${ge}-input-wrap`]:{input:{color:mn}}},"&-group":Object.assign(Object.assign(Object.assign({},(0,p.Wf)(pe)),(0,a.s7)(pe)),{"&-wrapper":{display:"inline-block",textAlign:"start",verticalAlign:"top",[`${ge}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${ge}-group-addon`]:{borderRadius:Nt,fontSize:pe.fontSizeLG}},"&-sm":{[`${ge}-group-addon`]:{borderRadius:Vr}},[`${ge}-wrapper-disabled > ${ge}-group-addon`]:Object.assign({},(0,a.Xy)(pe))}}),[`&-disabled ${ge}-input`]:{cursor:"not-allowed"},[ge]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},(0,p.Wf)(pe)),{width:"100%",padding:`${Xn}px ${Br}px`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:Tt,outline:0,transition:`all ${Sn} linear`,appearance:"textfield",fontSize:"inherit"}),(0,a.nz)(pe.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})}})},{[ge]:Object.assign(Object.assign(Object.assign({[`&:hover ${ge}-handler-wrap, &-focused ${ge}-handler-wrap`]:{opacity:1},[`${ge}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:pe.handleWidth,height:"100%",background:zr,borderStartStartRadius:0,borderStartEndRadius:Tt,borderEndEndRadius:Tt,borderEndStartRadius:0,opacity:Yi===!0?1:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`opacity ${Sn} linear ${Sn}`,[`${ge}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[`
|
|
|
${ge}-handler-up-inner,
|
|
|
${ge}-handler-down-inner
|
|
|
`]:{marginInlineEnd:0,fontSize:pe.handleFontSize}}},[`${ge}-handler`]:{height:"50%",overflow:"hidden",color:gn,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Ve}px ${yt} ${bi}`,transition:`all ${Sn} linear`,"&:active":{background:pi},"&:hover":{height:"60%",[`
|
|
|
${ge}-handler-up-inner,
|
|
|
${ge}-handler-down-inner
|
|
|
`]:{color:Jn}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},(0,p.Ro)()),{color:gn,transition:`all ${Sn} linear`,userSelect:"none"})},[`${ge}-handler-up`]:{borderStartEndRadius:Tt},[`${ge}-handler-down`]:{borderBlockStart:`${Ve}px ${yt} ${bi}`,borderEndEndRadius:Tt}},j(pe,"lg")),j(pe,"sm")),{"&-disabled, &-readonly":{[`${ge}-handler-wrap`]:{display:"none"},[`${ge}-input`]:{color:"inherit"}},[`
|
|
|
${ge}-handler-up-disabled,
|
|
|
${ge}-handler-down-disabled
|
|
|
`]:{cursor:"not-allowed"},[`
|
|
|
${ge}-handler-up-disabled:hover &-handler-up-inner,
|
|
|
${ge}-handler-down-disabled:hover &-handler-down-inner
|
|
|
`]:{color:yn}})},{[`${ge}-borderless`]:{borderColor:"transparent",boxShadow:"none",[`${ge}-handler-down`]:{borderBlockStartWidth:0}}}]},Ae=pe=>{const{componentCls:ge,paddingBlock:Ve,paddingInline:yt,inputAffixPadding:ht,controlWidth:Tt,borderRadiusLG:sn,borderRadiusSM:tn}=pe;return{[`${ge}-affix-wrapper`]:Object.assign(Object.assign(Object.assign({},(0,a.ik)(pe)),(0,a.bi)(pe,`${ge}-affix-wrapper`)),{position:"relative",display:"inline-flex",width:Tt,padding:0,paddingInlineStart:yt,"&-lg":{borderRadius:sn},"&-sm":{borderRadius:tn},[`&:not(${ge}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},(0,a.pU)(pe)),{zIndex:1}),"&-focused, &:focus":{zIndex:1},[`&-disabled > ${ge}-disabled`]:{background:"transparent"},[`> div${ge}`]:{width:"100%",border:"none",outline:"none",[`&${ge}-focused`]:{boxShadow:"none !important"}},[`input${ge}-input`]:{padding:`${Ve}px 0`},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${ge}-handler-wrap`]:{zIndex:2},[ge]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:ht},"&-suffix":{position:"absolute",insetBlockStart:0,insetInlineEnd:0,zIndex:1,height:"100%",marginInlineEnd:yt,marginInlineStart:ht}}})}};var ie=(0,re.Z)("InputNumber",pe=>{const ge=(0,C.TS)(pe,(0,a.e5)(pe));return[me(ge),Ae(ge),(0,M.c)(ge)]},pe=>Object.assign(Object.assign({},(0,a.TM)(pe)),{controlWidth:90,handleWidth:pe.controlHeightSM-pe.lineWidth*2,handleFontSize:pe.fontSize/2,handleVisible:"auto",handleActiveBg:pe.colorFillAlter,handleBg:pe.colorBgContainer,handleHoverColor:pe.colorPrimary,handleBorderColor:pe.colorBorder})),Se=function(pe,ge){var Ve={};for(var yt in pe)Object.prototype.hasOwnProperty.call(pe,yt)&&ge.indexOf(yt)<0&&(Ve[yt]=pe[yt]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ht=0,yt=Object.getOwnPropertySymbols(pe);ht<yt.length;ht++)ge.indexOf(yt[ht])<0&&Object.prototype.propertyIsEnumerable.call(pe,yt[ht])&&(Ve[yt[ht]]=pe[yt[ht]]);return Ve};const Ge=ae.forwardRef((pe,ge)=>{const{getPrefixCls:Ve,direction:yt}=ae.useContext(on.E_),ht=ae.useRef(null);ae.useImperativeHandle(ge,()=>ht.current);const{className:Tt,rootClassName:sn,size:tn,disabled:pn,prefixCls:mn,addonBefore:qt,addonAfter:gn,prefix:Sn,bordered:Jn=!0,readOnly:Br,status:Xn,controls:zr}=pe,pi=Se(pe,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","bordered","readOnly","status","controls"]),yn=Ve("input-number",mn),[Vr,Nt]=ie(yn),{compactSize:qr,compactItemClassnames:Yi}=(0,u.ri)(yn,yt);let bi=ae.createElement(fe.Z,{className:`${yn}-handler-up-inner`}),Pi=ae.createElement(ye.Z,{className:`${yn}-handler-down-inner`});const Io=typeof zr=="boolean"?zr:void 0;typeof zr=="object"&&(bi=typeof zr.upIcon=="undefined"?bi:ae.createElement("span",{className:`${yn}-handler-up-inner`},zr.upIcon),Pi=typeof zr.downIcon=="undefined"?Pi:ae.createElement("span",{className:`${yn}-handler-down-inner`},zr.downIcon));const{hasFeedback:Ni,status:Qr,isFormItemInput:Ei,feedbackIcon:nt}=ae.useContext(E.aM),Jt=(0,Rt.F)(Qr,Xn),An=(0,Ye.Z)(hn=>{var Un;return(Un=tn!=null?tn:qr)!==null&&Un!==void 0?Un:hn}),Ke=ae.useContext(T.Z),ze=pn!=null?pn:Ke,en=be()({[`${yn}-lg`]:An==="large",[`${yn}-sm`]:An==="small",[`${yn}-rtl`]:yt==="rtl",[`${yn}-borderless`]:!Jn,[`${yn}-in-form-item`]:Ei},(0,Rt.Z)(yn,Jt),Yi,Nt),Zt=`${yn}-group`,Tn=ae.createElement(kt,Object.assign({ref:ht,disabled:ze,className:be()(Tt,sn),upHandler:bi,downHandler:Pi,prefixCls:yn,readOnly:Br,controls:Io,prefix:Sn,suffix:Ni&&nt,addonAfter:gn&&ae.createElement(u.BR,null,ae.createElement(E.Ux,{override:!0,status:!0},gn)),addonBefore:qt&&ae.createElement(u.BR,null,ae.createElement(E.Ux,{override:!0,status:!0},qt)),classNames:{input:en},classes:{affixWrapper:be()((0,Rt.Z)(`${yn}-affix-wrapper`,Jt,Ni),{[`${yn}-affix-wrapper-sm`]:An==="small",[`${yn}-affix-wrapper-lg`]:An==="large",[`${yn}-affix-wrapper-rtl`]:yt==="rtl",[`${yn}-affix-wrapper-borderless`]:!Jn},Nt),wrapper:be()({[`${Zt}-rtl`]:yt==="rtl",[`${yn}-wrapper-disabled`]:ze},Nt),group:be()({[`${yn}-group-wrapper-sm`]:An==="small",[`${yn}-group-wrapper-lg`]:An==="large",[`${yn}-group-wrapper-rtl`]:yt==="rtl"},(0,Rt.Z)(`${yn}-group-wrapper`,Jt,Ni),Nt)}},pi));return Vr(Tn)}),xe=Ge,He=pe=>ae.createElement(Mt.ZP,{theme:{components:{InputNumber:{handleVisible:!0}}}},ae.createElement(Ge,Object.assign({},pe)));xe._InternalPanelDoNotUseOrYouWillBeFired=He;var Te=xe},9432:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return q},n:function(){return W}});var ye=h(19248),fe=h(92310),H=h.n(fe),be=h(93681),R=h(8654),$=h(59301),v=h(19080),m=h(36355),N=h(1684),s=h(19716),L=h(32441),S=h(33234),w=h(59412),x=h(9937);function _(Y){return!!(Y.prefix||Y.suffix||Y.allowClear)}var B=function(Y,G){var D={};for(var O in Y)Object.prototype.hasOwnProperty.call(Y,O)&&G.indexOf(O)<0&&(D[O]=Y[O]);if(Y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,O=Object.getOwnPropertySymbols(Y);J<O.length;J++)G.indexOf(O[J])<0&&Object.prototype.propertyIsEnumerable.call(Y,O[J])&&(D[O[J]]=Y[O[J]]);return D};function W(Y,G){if(!Y)return;Y.focus(G);const{cursor:D}=G||{};if(D){const O=Y.value.length;switch(D){case"start":Y.setSelectionRange(0,0);break;case"end":Y.setSelectionRange(O,O);break;default:Y.setSelectionRange(0,O);break}}}var q=(0,$.forwardRef)((Y,G)=>{var D;const{prefixCls:O,bordered:J=!0,status:K,size:le,disabled:ae,onBlur:he,onFocus:k,suffix:Ue,allowClear:F,addonAfter:De,addonBefore:we,className:de,style:Be,styles:ne,rootClassName:ve,onChange:ee,classNames:se}=Y,je=B(Y,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:Pe,direction:Oe,input:ut}=$.useContext(m.E_),mt=Pe("input",O),Ot=(0,$.useRef)(null),[Ee,kt]=(0,x.ZP)(mt),{compactSize:Rt,compactItemClassnames:on}=(0,S.ri)(mt,Oe),Mt=(0,s.Z)(Ge=>{var xe;return(xe=le!=null?le:Rt)!==null&&xe!==void 0?xe:Ge}),T=$.useContext(N.Z),Ye=ae!=null?ae:T,{status:E,hasFeedback:u,feedbackIcon:a}=(0,$.useContext)(L.aM),p=(0,v.F)(E,K),M=_(Y)||!!u,re=(0,$.useRef)(M);(0,$.useEffect)(()=>{var Ge;M&&re.current,re.current=M},[M]);const C=(0,w.Z)(Ot,!0),j=Ge=>{C(),he==null||he(Ge)},me=Ge=>{C(),k==null||k(Ge)},Ae=Ge=>{C(),ee==null||ee(Ge)},ie=(u||Ue)&&$.createElement($.Fragment,null,Ue,u&&a);let Se;return typeof F=="object"&&(F!=null&&F.clearIcon)?Se=F:F&&(Se={clearIcon:$.createElement(ye.Z,null)}),Ee($.createElement(be.default,Object.assign({ref:(0,R.sQ)(G,Ot),prefixCls:mt,autoComplete:ut==null?void 0:ut.autoComplete},je,{disabled:Ye,onBlur:j,onFocus:me,style:Object.assign(Object.assign({},ut==null?void 0:ut.style),Be),styles:Object.assign(Object.assign({},ut==null?void 0:ut.styles),ne),suffix:ie,allowClear:Se,className:H()(de,ve,on,ut==null?void 0:ut.className),onChange:Ae,addonAfter:De&&$.createElement(S.BR,null,$.createElement(L.Ux,{override:!0,status:!0},De)),addonBefore:we&&$.createElement(S.BR,null,$.createElement(L.Ux,{override:!0,status:!0},we)),classNames:Object.assign(Object.assign(Object.assign({},se),ut==null?void 0:ut.classNames),{input:H()({[`${mt}-sm`]:Mt==="small",[`${mt}-lg`]:Mt==="large",[`${mt}-rtl`]:Oe==="rtl",[`${mt}-borderless`]:!J},!M&&(0,v.Z)(mt,p),se==null?void 0:se.input,(D=ut==null?void 0:ut.classNames)===null||D===void 0?void 0:D.input,kt)}),classes:{affixWrapper:H()({[`${mt}-affix-wrapper-sm`]:Mt==="small",[`${mt}-affix-wrapper-lg`]:Mt==="large",[`${mt}-affix-wrapper-rtl`]:Oe==="rtl",[`${mt}-affix-wrapper-borderless`]:!J},(0,v.Z)(`${mt}-affix-wrapper`,p,u),kt),wrapper:H()({[`${mt}-group-rtl`]:Oe==="rtl"},kt),group:H()({[`${mt}-group-wrapper-sm`]:Mt==="small",[`${mt}-group-wrapper-lg`]:Mt==="large",[`${mt}-group-wrapper-rtl`]:Oe==="rtl",[`${mt}-group-wrapper-disabled`]:Ye},(0,v.Z)(`${mt}-group-wrapper`,p,u),kt)}})))})},1643:function(tr,Ct,h){"use strict";var ye=h(19248),fe=h(92310),H=h.n(fe),be=h(9296),R=h(59301),$=h(19080),v=h(36355),m=h(1684),N=h(19716),s=h(32441),L=h(9432),S=h(9937),w=function(_,B){var W={};for(var Q in _)Object.prototype.hasOwnProperty.call(_,Q)&&B.indexOf(Q)<0&&(W[Q]=_[Q]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Q=Object.getOwnPropertySymbols(_);q<Q.length;q++)B.indexOf(Q[q])<0&&Object.prototype.propertyIsEnumerable.call(_,Q[q])&&(W[Q[q]]=_[Q[q]]);return W};const x=(0,R.forwardRef)((_,B)=>{const{prefixCls:W,bordered:Q=!0,size:q,disabled:Y,status:G,allowClear:D,showCount:O,classNames:J,rootClassName:K,className:le}=_,ae=w(_,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:he,direction:k}=R.useContext(v.E_),Ue=(0,N.Z)(q),F=R.useContext(m.Z),De=Y!=null?Y:F,{status:we,hasFeedback:de,feedbackIcon:Be}=R.useContext(s.aM),ne=(0,$.F)(we,G),ve=R.useRef(null);R.useImperativeHandle(B,()=>{var Oe;return{resizableTextArea:(Oe=ve.current)===null||Oe===void 0?void 0:Oe.resizableTextArea,focus:ut=>{var mt,Ot;(0,L.n)((Ot=(mt=ve.current)===null||mt===void 0?void 0:mt.resizableTextArea)===null||Ot===void 0?void 0:Ot.textArea,ut)},blur:()=>{var ut;return(ut=ve.current)===null||ut===void 0?void 0:ut.blur()}}});const ee=he("input",W);let se;typeof D=="object"&&(D!=null&&D.clearIcon)?se=D:D&&(se={clearIcon:R.createElement(ye.Z,null)});const[je,Pe]=(0,S.ZP)(ee);return je(R.createElement(be.default,Object.assign({},ae,{disabled:De,allowClear:se,className:H()(le,K),classes:{affixWrapper:H()(`${ee}-textarea-affix-wrapper`,{[`${ee}-affix-wrapper-rtl`]:k==="rtl",[`${ee}-affix-wrapper-borderless`]:!Q,[`${ee}-affix-wrapper-sm`]:Ue==="small",[`${ee}-affix-wrapper-lg`]:Ue==="large",[`${ee}-textarea-show-count`]:O},(0,$.Z)(`${ee}-affix-wrapper`,ne),Pe)},classNames:Object.assign(Object.assign({},J),{textarea:H()({[`${ee}-borderless`]:!Q,[`${ee}-sm`]:Ue==="small",[`${ee}-lg`]:Ue==="large"},(0,$.Z)(ee,ne),Pe,J==null?void 0:J.textarea)}),prefixCls:ee,suffix:de&&R.createElement("span",{className:`${ee}-textarea-suffix`},Be),showCount:O,ref:ve})))});Ct.Z=x},59412:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return fe}});var ye=h(59301);function fe(H,be){const R=(0,ye.useRef)([]),$=()=>{R.current.push(setTimeout(()=>{var v,m,N,s;!((v=H.current)===null||v===void 0)&&v.input&&((m=H.current)===null||m===void 0?void 0:m.input.getAttribute("type"))==="password"&&(!((N=H.current)===null||N===void 0)&&N.input.hasAttribute("value"))&&((s=H.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return(0,ye.useEffect)(()=>(be&&$(),()=>R.current.forEach(v=>{v&&clearTimeout(v)})),[]),$}},92832:function(tr,Ct,h){"use strict";h.d(Ct,{default:function(){return Ue}});var ye=h(92310),fe=h.n(ye),H=h(59301),be=h(36355),R=h(32441),$=h(9937),m=F=>{const{getPrefixCls:De,direction:we}=(0,H.useContext)(be.E_),{prefixCls:de,className:Be}=F,ne=De("input-group",de),ve=De("input"),[ee,se]=(0,$.ZP)(ve),je=fe()(ne,{[`${ne}-lg`]:F.size==="large",[`${ne}-sm`]:F.size==="small",[`${ne}-compact`]:F.compact,[`${ne}-rtl`]:we==="rtl"},se,Be),Pe=(0,H.useContext)(R.aM),Oe=(0,H.useMemo)(()=>Object.assign(Object.assign({},Pe),{isFormItemInput:!1}),[Pe]);return ee(H.createElement("span",{className:je,style:F.style,onMouseEnter:F.onMouseEnter,onMouseLeave:F.onMouseLeave,onFocus:F.onFocus,onBlur:F.onBlur},H.createElement(R.aM.Provider,{value:Oe},F.children)))},N=h(9432),s=h(73331),L=h(15277),S=h(2738),w=h(8654),x=h(59412),_=function(F,De){var we={};for(var de in F)Object.prototype.hasOwnProperty.call(F,de)&&De.indexOf(de)<0&&(we[de]=F[de]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,de=Object.getOwnPropertySymbols(F);Be<de.length;Be++)De.indexOf(de[Be])<0&&Object.prototype.propertyIsEnumerable.call(F,de[Be])&&(we[de[Be]]=F[de[Be]]);return we};const B=F=>F?H.createElement(L.Z,null):H.createElement(s.Z,null),W={click:"onClick",hover:"onMouseOver"};var q=H.forwardRef((F,De)=>{const{visibilityToggle:we=!0}=F,de=typeof we=="object"&&we.visible!==void 0,[Be,ne]=(0,H.useState)(()=>de?we.visible:!1),ve=(0,H.useRef)(null);H.useEffect(()=>{de&&ne(we.visible)},[de,we]);const ee=(0,x.Z)(ve),se=()=>{const{disabled:Ye}=F;Ye||(Be&&ee(),ne(E=>{var u;const a=!E;return typeof we=="object"&&((u=we.onVisibleChange)===null||u===void 0||u.call(we,a)),a}))},je=Ye=>{const{action:E="click",iconRender:u=B}=F,a=W[E]||"",p=u(Be),M={[a]:se,className:`${Ye}-icon`,key:"passwordIcon",onMouseDown:re=>{re.preventDefault()},onMouseUp:re=>{re.preventDefault()}};return H.cloneElement(H.isValidElement(p)?p:H.createElement("span",null,p),M)},{className:Pe,prefixCls:Oe,inputPrefixCls:ut,size:mt}=F,Ot=_(F,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ee}=H.useContext(be.E_),kt=Ee("input",ut),Rt=Ee("input-password",Oe),on=we&&je(Rt),Mt=fe()(Rt,Pe,{[`${Rt}-${mt}`]:!!mt}),T=Object.assign(Object.assign({},(0,S.Z)(Ot,["suffix","iconRender","visibilityToggle"])),{type:Be?"text":"password",className:Mt,prefixCls:kt,suffix:on});return mt&&(T.size=mt),H.createElement(N.Z,Object.assign({ref:(0,w.sQ)(De,ve)},T))}),Y=h(47472),G=h(92343),D=h(3113),O=h(19716),J=h(33234),K=function(F,De){var we={};for(var de in F)Object.prototype.hasOwnProperty.call(F,de)&&De.indexOf(de)<0&&(we[de]=F[de]);if(F!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,de=Object.getOwnPropertySymbols(F);Be<de.length;Be++)De.indexOf(de[Be])<0&&Object.prototype.propertyIsEnumerable.call(F,de[Be])&&(we[de[Be]]=F[de[Be]]);return we},ae=H.forwardRef((F,De)=>{const{prefixCls:we,inputPrefixCls:de,className:Be,size:ne,suffix:ve,enterButton:ee=!1,addonAfter:se,loading:je,disabled:Pe,onSearch:Oe,onChange:ut,onCompositionStart:mt,onCompositionEnd:Ot}=F,Ee=K(F,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:kt,direction:Rt}=H.useContext(be.E_),on=H.useRef(!1),Mt=kt("input-search",we),T=kt("input",de),{compactSize:Ye}=(0,J.ri)(Mt,Rt),E=(0,O.Z)(He=>{var Te;return(Te=ne!=null?ne:Ye)!==null&&Te!==void 0?Te:He}),u=H.useRef(null),a=He=>{He&&He.target&&He.type==="click"&&Oe&&Oe(He.target.value,He,{source:"clear"}),ut&&ut(He)},p=He=>{var Te;document.activeElement===((Te=u.current)===null||Te===void 0?void 0:Te.input)&&He.preventDefault()},M=He=>{var Te,pe;Oe&&Oe((pe=(Te=u.current)===null||Te===void 0?void 0:Te.input)===null||pe===void 0?void 0:pe.value,He,{source:"input"})},re=He=>{on.current||je||M(He)},C=typeof ee=="boolean"?H.createElement(Y.Z,null):null,j=`${Mt}-button`;let me;const Ae=ee||{},ie=Ae.type&&Ae.type.__ANT_BUTTON===!0;ie||Ae.type==="button"?me=(0,G.Tm)(Ae,Object.assign({onMouseDown:p,onClick:He=>{var Te,pe;(pe=(Te=Ae==null?void 0:Ae.props)===null||Te===void 0?void 0:Te.onClick)===null||pe===void 0||pe.call(Te,He),M(He)},key:"enterButton"},ie?{className:j,size:E}:{})):me=H.createElement(D.ZP,{className:j,type:ee?"primary":void 0,size:E,disabled:Pe,key:"enterButton",onMouseDown:p,onClick:M,loading:je,icon:C},ee),se&&(me=[me,(0,G.Tm)(se,{key:"addonAfter"})]);const Se=fe()(Mt,{[`${Mt}-rtl`]:Rt==="rtl",[`${Mt}-${E}`]:!!E,[`${Mt}-with-button`]:!!ee},Be),Ge=He=>{on.current=!0,mt==null||mt(He)},xe=He=>{on.current=!1,Ot==null||Ot(He)};return H.createElement(N.Z,Object.assign({ref:(0,w.sQ)(u,De),onPressEnter:re},Ee,{size:E,onCompositionStart:Ge,onCompositionEnd:xe,prefixCls:T,addonAfter:me,suffix:ve,onChange:a,className:Se,disabled:Pe}))}),he=h(1643);const k=N.Z;k.Group=m,k.Search=ae,k.TextArea=he.Z,k.Password=q;var Ue=k},9937:function(tr,Ct,h){"use strict";h.d(Ct,{M1:function(){return v},TM:function(){return G},Xy:function(){return m},bi:function(){return L},e5:function(){return Y},ik:function(){return S},nz:function(){return R},pU:function(){return $},s7:function(){return w},x0:function(){return s}});var ye=h(17313),fe=h(74207),H=h(37613),be=h(83116);const R=D=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:D,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),$=D=>({borderColor:D.hoverBorderColor}),v=D=>({borderColor:D.activeBorderColor,boxShadow:D.activeShadow,outline:0}),m=D=>({color:D.colorTextDisabled,backgroundColor:D.colorBgContainerDisabled,borderColor:D.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},$((0,H.TS)(D,{hoverBorderColor:D.colorBorder})))}),N=D=>{const{paddingBlockLG:O,fontSizeLG:J,lineHeightLG:K,borderRadiusLG:le,paddingInlineLG:ae}=D;return{padding:`${O}px ${ae}px`,fontSize:J,lineHeight:K,borderRadius:le}},s=D=>({padding:`${D.paddingBlockSM}px ${D.paddingInlineSM}px`,borderRadius:D.borderRadiusSM}),L=(D,O)=>{const{componentCls:J,colorError:K,colorWarning:le,errorActiveShadow:ae,warningActiveShadow:he,colorErrorBorderHover:k,colorWarningBorderHover:Ue}=D;return{[`&-status-error:not(${O}-disabled):not(${O}-borderless)${O}`]:{borderColor:K,"&:hover":{borderColor:k},"&:focus, &-focused":Object.assign({},v((0,H.TS)(D,{activeBorderColor:K,activeShadow:ae}))),[`${J}-prefix, ${J}-suffix`]:{color:K}},[`&-status-warning:not(${O}-disabled):not(${O}-borderless)${O}`]:{borderColor:le,"&:hover":{borderColor:Ue},"&:focus, &-focused":Object.assign({},v((0,H.TS)(D,{activeBorderColor:le,activeShadow:he}))),[`${J}-prefix, ${J}-suffix`]:{color:le}}}},S=D=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${D.paddingBlock}px ${D.paddingInline}px`,color:D.colorText,fontSize:D.fontSize,lineHeight:D.lineHeight,backgroundColor:D.colorBgContainer,backgroundImage:"none",borderWidth:D.lineWidth,borderStyle:D.lineType,borderColor:D.colorBorder,borderRadius:D.borderRadius,transition:`all ${D.motionDurationMid}`},R(D.colorTextPlaceholder)),{"&:hover":Object.assign({},$(D)),"&:focus, &-focused":Object.assign({},v(D)),"&-disabled, &[disabled]":Object.assign({},m(D)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:D.controlHeight,lineHeight:D.lineHeight,verticalAlign:"bottom",transition:`all ${D.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},N(D)),"&-sm":Object.assign({},s(D)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),w=D=>{const{componentCls:O,antCls:J}=D;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:D.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${O}, &-lg > ${O}-group-addon`]:Object.assign({},N(D)),[`&-sm ${O}, &-sm > ${O}-group-addon`]:Object.assign({},s(D)),[`&-lg ${J}-select-single ${J}-select-selector`]:{height:D.controlHeightLG},[`&-sm ${J}-select-single ${J}-select-selector`]:{height:D.controlHeightSM},[`> ${O}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${O}-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 ${D.paddingInline}px`,color:D.colorText,fontWeight:"normal",fontSize:D.fontSize,textAlign:"center",backgroundColor:D.colorFillAlter,border:`${D.lineWidth}px ${D.lineType} ${D.colorBorder}`,borderRadius:D.borderRadius,transition:`all ${D.motionDurationSlow}`,lineHeight:1,[`${J}-select`]:{margin:`-${D.paddingBlock+1}px -${D.paddingInline}px`,[`&${J}-select-single:not(${J}-select-customize-input)`]:{[`${J}-select-selector`]:{backgroundColor:"inherit",border:`${D.lineWidth}px ${D.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${J}-select-selector`]:{color:D.colorPrimary}}},[`${J}-cascader-picker`]:{margin:`-9px -${D.paddingInline}px`,backgroundColor:"transparent",[`${J}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${O}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${O}-search-with-button &`]:{zIndex:0}}},[`> ${O}:first-child, ${O}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${J}-select ${J}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${O}-affix-wrapper`]:{[`&:not(:first-child) ${O}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${O}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${O}:last-child, ${O}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${J}-select ${J}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${O}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${O}-search &`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius}},[`&:not(:first-child), ${O}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${O}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,ye.dF)()),{[`${O}-group-addon, ${O}-group-wrap, > ${O}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:D.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
|
& > ${O}-affix-wrapper,
|
|
|
& > ${O}-number-affix-wrapper,
|
|
|
& > ${J}-picker-range
|
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-D.lineWidth,borderInlineEndWidth:D.lineWidth},[`${O}`]:{float:"none"},[`& > ${J}-select > ${J}-select-selector,
|
|
|
& > ${J}-select-auto-complete ${O},
|
|
|
& > ${J}-cascader-picker ${O},
|
|
|
& > ${O}-group-wrapper ${O}`]:{borderInlineEndWidth:D.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${J}-select-focused`]:{zIndex:1},[`& > ${J}-select > ${J}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
|
& > ${J}-select:first-child > ${J}-select-selector,
|
|
|
& > ${J}-select-auto-complete:first-child ${O},
|
|
|
& > ${J}-cascader-picker:first-child ${O}`]:{borderStartStartRadius:D.borderRadius,borderEndStartRadius:D.borderRadius},[`& > *:last-child,
|
|
|
& > ${J}-select:last-child > ${J}-select-selector,
|
|
|
& > ${J}-cascader-picker:last-child ${O},
|
|
|
& > ${J}-cascader-picker-focused:last-child ${O}`]:{borderInlineEndWidth:D.lineWidth,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius},[`& > ${J}-select-auto-complete ${O}`]:{verticalAlign:"top"},[`${O}-group-wrapper + ${O}-group-wrapper`]:{marginInlineStart:-D.lineWidth,[`${O}-affix-wrapper`]:{borderRadius:0}},[`${O}-group-wrapper:not(:last-child)`]:{[`&${O}-search > ${O}-group`]:{[`& > ${O}-group-addon > ${O}-search-button`]:{borderRadius:0},[`& > ${O}`]:{borderStartStartRadius:D.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:D.borderRadius}}}})}},x=D=>{const{componentCls:O,controlHeightSM:J,lineWidth:K}=D,ae=(J-K*2-16)/2;return{[O]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(D)),S(D)),L(D,O)),{'&[type="color"]':{height:D.controlHeight,[`&${O}-lg`]:{height:D.controlHeightLG},[`&${O}-sm`]:{height:J,paddingTop:ae,paddingBottom:ae}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},_=D=>{const{componentCls:O}=D;return{[`${O}-clear-icon`]:{margin:0,color:D.colorTextQuaternary,fontSize:D.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${D.motionDurationSlow}`,"&:hover":{color:D.colorTextTertiary},"&:active":{color:D.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${D.inputAffixPadding}px`}}}},B=D=>{const{componentCls:O,inputAffixPadding:J,colorTextDescription:K,motionDurationSlow:le,colorIcon:ae,colorIconHover:he,iconCls:k}=D;return{[`${O}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},S(D)),{display:"inline-flex",[`&:not(${O}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},$(D)),{zIndex:1,[`${O}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${O}[disabled]`]:{background:"transparent"}},[`> input${O}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${O}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:D.paddingXS}},"&-show-count-suffix":{color:K},"&-show-count-has-suffix":{marginInlineEnd:D.paddingXXS},"&-prefix":{marginInlineEnd:J},"&-suffix":{marginInlineStart:J}}}),_(D)),{[`${k}${O}-password-icon`]:{color:ae,cursor:"pointer",transition:`all ${le}`,"&:hover":{color:he}}}),L(D,`${O}-affix-wrapper`))}},W=D=>{const{componentCls:O,colorError:J,colorWarning:K,borderRadiusLG:le,borderRadiusSM:ae}=D;return{[`${O}-group`]:Object.assign(Object.assign(Object.assign({},(0,ye.Wf)(D)),w(D)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${O}-group-addon`]:{borderRadius:le,fontSize:D.fontSizeLG}},"&-sm":{[`${O}-group-addon`]:{borderRadius:ae}},"&-status-error":{[`${O}-group-addon`]:{color:J,borderColor:J}},"&-status-warning":{[`${O}-group-addon`]:{color:K,borderColor:K}},"&-disabled":{[`${O}-group-addon`]:Object.assign({},m(D))},[`&:not(${O}-compact-first-item):not(${O}-compact-last-item)${O}-compact-item`]:{[`${O}, ${O}-group-addon`]:{borderRadius:0}},[`&:not(${O}-compact-last-item)${O}-compact-first-item`]:{[`${O}, ${O}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${O}-compact-first-item)${O}-compact-last-item`]:{[`${O}, ${O}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},Q=D=>{const{componentCls:O,antCls:J}=D,K=`${O}-search`;return{[K]:{[`${O}`]:{"&:hover, &:focus":{borderColor:D.colorPrimaryHover,[`+ ${O}-group-addon ${K}-button:not(${J}-btn-primary)`]:{borderInlineStartColor:D.colorPrimaryHover}}},[`${O}-affix-wrapper`]:{borderRadius:0},[`${O}-lg`]:{lineHeight:D.lineHeightLG-2e-4},[`> ${O}-group`]:{[`> ${O}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${K}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:D.borderRadius,borderEndEndRadius:D.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${K}-button:not(${J}-btn-primary)`]:{color:D.colorTextDescription,"&:hover":{color:D.colorPrimaryHover},"&:active":{color:D.colorPrimaryActive},[`&${J}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${K}-button`]:{height:D.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${K}-button`]:{height:D.controlHeightLG},[`&-small ${K}-button`]:{height:D.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${O}-compact-item`]:{[`&:not(${O}-compact-last-item)`]:{[`${O}-group-addon`]:{[`${O}-search-button`]:{marginInlineEnd:-D.lineWidth,borderRadius:0}}},[`&:not(${O}-compact-first-item)`]:{[`${O},${O}-affix-wrapper`]:{borderRadius:0}},[`> ${O}-group-addon ${O}-search-button,
|
|
|
> ${O},
|
|
|
${O}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${O}-affix-wrapper-focused`]:{zIndex:2}}}}},q=D=>{const{componentCls:O,paddingLG:J}=D,K=`${O}-textarea`;return{[K]:{position:"relative","&-show-count":{[`> ${O}`]:{height:"100%"},[`${O}-data-count`]:{position:"absolute",bottom:-D.fontSize*D.lineHeight,insetInlineEnd:0,color:D.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${O}`]:{paddingInlineEnd:J}},[`&-affix-wrapper${K}-has-feedback`]:{[`${O}`]:{paddingInlineEnd:J}},[`&-affix-wrapper${O}-affix-wrapper`]:{padding:0,[`> textarea${O}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${O}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${O}-clear-icon`]:{position:"absolute",insetInlineEnd:D.paddingXS,insetBlockStart:D.paddingXS},[`${K}-suffix`]:{position:"absolute",top:0,insetInlineEnd:D.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function Y(D){return(0,H.TS)(D,{inputAffixPadding:D.paddingXXS})}const G=D=>{const{controlHeight:O,fontSize:J,lineHeight:K,lineWidth:le,controlHeightSM:ae,controlHeightLG:he,fontSizeLG:k,lineHeightLG:Ue,paddingSM:F,controlPaddingHorizontalSM:De,controlPaddingHorizontal:we,colorFillAlter:de,colorPrimaryHover:Be,controlOutlineWidth:ne,controlOutline:ve,colorErrorOutline:ee,colorWarningOutline:se}=D;return{paddingBlock:Math.max(Math.round((O-J*K)/2*10)/10-le,3),paddingBlockSM:Math.max(Math.round((ae-J*K)/2*10)/10-le,0),paddingBlockLG:Math.ceil((he-k*Ue)/2*10)/10-le,paddingInline:F-le,paddingInlineSM:De-le,paddingInlineLG:we-le,addonBg:de,activeBorderColor:Be,hoverBorderColor:Be,activeShadow:`0 0 0 ${ne}px ${ve}`,errorActiveShadow:`0 0 0 ${ne}px ${ee}`,warningActiveShadow:`0 0 0 ${ne}px ${se}`}};Ct.ZP=(0,be.Z)("Input",D=>{const O=(0,H.TS)(D,Y(D));return[x(O),q(O),B(O),W(O),Q(O),(0,fe.c)(O)]},G)},45818:function(tr,Ct,h){"use strict";h.d(Ct,{D:function(){return Y},Z:function(){return O}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(K,le){return fe.createElement(R.Z,(0,ye.Z)({},K,{ref:le,icon:be}))},v=fe.forwardRef($),m=v,N=h(33853),s=h(38819),L=h(92310),S=h.n(L),w=h(2738),_=J=>!isNaN(parseFloat(J))&&isFinite(J),B=h(36355),W=h(84966),Q=function(J,K){var le={};for(var ae in J)Object.prototype.hasOwnProperty.call(J,ae)&&K.indexOf(ae)<0&&(le[ae]=J[ae]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ae=Object.getOwnPropertySymbols(J);he<ae.length;he++)K.indexOf(ae[he])<0&&Object.prototype.propertyIsEnumerable.call(J,ae[he])&&(le[ae[he]]=J[ae[he]]);return le};const q={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Y=fe.createContext({}),G=(()=>{let J=0;return function(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return J+=1,`${K}${J}`}})();var O=fe.forwardRef((J,K)=>{const{prefixCls:le,className:ae,trigger:he,children:k,defaultCollapsed:Ue=!1,theme:F="dark",style:De={},collapsible:we=!1,reverseArrow:de=!1,width:Be=200,collapsedWidth:ne=80,zeroWidthTriggerStyle:ve,breakpoint:ee,onCollapse:se,onBreakpoint:je}=J,Pe=Q(J,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Oe}=(0,fe.useContext)(W.Gs),[ut,mt]=(0,fe.useState)("collapsed"in J?J.collapsed:Ue),[Ot,Ee]=(0,fe.useState)(!1);(0,fe.useEffect)(()=>{"collapsed"in J&&mt(J.collapsed)},[J.collapsed]);const kt=(E,u)=>{"collapsed"in J||mt(E),se==null||se(E,u)},Rt=(0,fe.useRef)();Rt.current=E=>{Ee(E.matches),je==null||je(E.matches),ut!==E.matches&&kt(E.matches,"responsive")},(0,fe.useEffect)(()=>{function E(a){return Rt.current(a)}let u;if(typeof window!="undefined"){const{matchMedia:a}=window;if(a&&ee&&ee in q){u=a(`(max-width: ${q[ee]})`);try{u.addEventListener("change",E)}catch(p){u.addListener(E)}E(u)}}return()=>{try{u==null||u.removeEventListener("change",E)}catch(a){u==null||u.removeListener(E)}}},[ee]),(0,fe.useEffect)(()=>{const E=G("ant-sider-");return Oe.addSider(E),()=>Oe.removeSider(E)},[]);const on=()=>{kt(!ut,"clickTrigger")},{getPrefixCls:Mt}=(0,fe.useContext)(B.E_),T=()=>{const E=Mt("layout-sider",le),u=(0,w.Z)(Pe,["collapsed"]),a=ut?ne:Be,p=_(a)?`${a}px`:String(a),M=parseFloat(String(ne||0))===0?fe.createElement("span",{onClick:on,className:S()(`${E}-zero-width-trigger`,`${E}-zero-width-trigger-${de?"right":"left"}`),style:ve},he||fe.createElement(m,null)):null,j={expanded:de?fe.createElement(s.Z,null):fe.createElement(N.Z,null),collapsed:de?fe.createElement(N.Z,null):fe.createElement(s.Z,null)}[ut?"collapsed":"expanded"],me=he!==null?M||fe.createElement("div",{className:`${E}-trigger`,onClick:on,style:{width:p}},he||j):null,Ae=Object.assign(Object.assign({},De),{flex:`0 0 ${p}`,maxWidth:p,minWidth:p,width:p}),ie=S()(E,`${E}-${F}`,{[`${E}-collapsed`]:!!ut,[`${E}-has-trigger`]:we&&he!==null&&!M,[`${E}-below`]:!!Ot,[`${E}-zero-width`]:parseFloat(p)===0},ae);return fe.createElement("aside",Object.assign({className:ie},u,{style:Ae,ref:K}),fe.createElement("div",{className:`${E}-children`},k),we||Ot&&M?me:null)},Ye=fe.useMemo(()=>({siderCollapsed:ut}),[ut]);return fe.createElement(Y.Provider,{value:Ye},T())})},84966:function(tr,Ct,h){"use strict";h.d(Ct,{VY:function(){return Y},$_:function(){return q},h4:function(){return Q},Gs:function(){return w},ZP:function(){return G}});var ye=h(94480),fe=h(92310),H=h.n(fe),be=h(2738),R=h(59301),$=h(36355),v=h(83116),N=D=>{const{componentCls:O,bodyBg:J,lightSiderBg:K,lightTriggerBg:le,lightTriggerColor:ae}=D;return{[`${O}-sider-light`]:{background:K,[`${O}-sider-trigger`]:{color:ae,background:le},[`${O}-sider-zero-width-trigger`]:{color:ae,background:le,border:`1px solid ${J}`,borderInlineStart:0}}}};const s=D=>{const{antCls:O,componentCls:J,colorText:K,triggerColor:le,footerBg:ae,triggerBg:he,headerHeight:k,headerPadding:Ue,headerColor:F,footerPadding:De,triggerHeight:we,zeroTriggerHeight:de,zeroTriggerWidth:Be,motionDurationMid:ne,motionDurationSlow:ve,fontSize:ee,borderRadius:se,bodyBg:je,headerBg:Pe,siderBg:Oe}=D;return{[J]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:je,"&, *":{boxSizing:"border-box"},[`&${J}-has-sider`]:{flexDirection:"row",[`> ${J}, > ${J}-content`]:{width:0}},[`${J}-header, &${J}-footer`]:{flex:"0 0 auto"},[`${J}-sider`]:{position:"relative",minWidth:0,background:Oe,transition:`all ${ne}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${O}-menu${O}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:we},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:we,color:le,lineHeight:`${we}px`,textAlign:"center",background:he,cursor:"pointer",transition:`all ${ne}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:k,insetInlineEnd:-Be,zIndex:1,width:Be,height:de,color:le,fontSize:D.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Oe,borderStartStartRadius:0,borderStartEndRadius:se,borderEndEndRadius:se,borderEndStartRadius:0,cursor:"pointer",transition:`background ${ve} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${ve}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Be,borderStartStartRadius:se,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:se}}}}},N(D)),{"&-rtl":{direction:"rtl"}}),[`${J}-header`]:{height:k,padding:Ue,color:F,lineHeight:`${k}px`,background:Pe,[`${O}-menu`]:{lineHeight:"inherit"}},[`${J}-footer`]:{padding:De,color:K,fontSize:ee,background:ae},[`${J}-content`]:{flex:"auto",minHeight:0}}};var L=(0,v.Z)("Layout",D=>[s(D)],D=>{const{colorBgLayout:O,controlHeight:J,controlHeightLG:K,colorText:le,controlHeightSM:ae,marginXXS:he,colorTextLightSolid:k,colorBgContainer:Ue}=D,F=K*1.25;return{colorBgHeader:"#001529",colorBgBody:O,colorBgTrigger:"#002140",bodyBg:O,headerBg:"#001529",headerHeight:J*2,headerPadding:`0 ${F}px`,headerColor:le,footerPadding:`${ae}px ${F}px`,footerBg:O,siderBg:"#001529",triggerHeight:K+he*2,triggerBg:"#002140",triggerColor:k,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:Ue,lightTriggerBg:Ue,lightTriggerColor:le}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),S=function(D,O){var J={};for(var K in D)Object.prototype.hasOwnProperty.call(D,K)&&O.indexOf(K)<0&&(J[K]=D[K]);if(D!=null&&typeof Object.getOwnPropertySymbols=="function")for(var le=0,K=Object.getOwnPropertySymbols(D);le<K.length;le++)O.indexOf(K[le])<0&&Object.prototype.propertyIsEnumerable.call(D,K[le])&&(J[K[le]]=D[K[le]]);return J};const w=R.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function x(D){let{suffixCls:O,tagName:J,displayName:K}=D;return le=>R.forwardRef((he,k)=>R.createElement(le,Object.assign({ref:k,suffixCls:O,tagName:J},he)))}const _=R.forwardRef((D,O)=>{const{prefixCls:J,suffixCls:K,className:le,tagName:ae}=D,he=S(D,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:k}=R.useContext($.E_),Ue=k("layout",J),[F,De]=L(Ue),we=K?`${Ue}-${K}`:Ue;return F(R.createElement(ae,Object.assign({className:H()(J||we,le,De),ref:O},he)))}),B=R.forwardRef((D,O)=>{const{direction:J}=R.useContext($.E_),[K,le]=R.useState([]),{prefixCls:ae,className:he,rootClassName:k,children:Ue,hasSider:F,tagName:De,style:we}=D,de=S(D,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Be=(0,be.Z)(de,["suffixCls"]),{getPrefixCls:ne,layout:ve}=R.useContext($.E_),ee=ne("layout",ae),[se,je]=L(ee),Pe=H()(ee,{[`${ee}-has-sider`]:typeof F=="boolean"?F:K.length>0,[`${ee}-rtl`]:J==="rtl"},ve==null?void 0:ve.className,he,k,je),Oe=R.useMemo(()=>({siderHook:{addSider:ut=>{le(mt=>[].concat((0,ye.Z)(mt),[ut]))},removeSider:ut=>{le(mt=>mt.filter(Ot=>Ot!==ut))}}}),[]);return se(R.createElement(w.Provider,{value:Oe},R.createElement(De,Object.assign({ref:O,className:Pe,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),we)},Be),Ue)))}),W=x({tagName:"div",displayName:"Layout"})(B),Q=x({suffixCls:"header",tagName:"header",displayName:"Header"})(_),q=x({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(_),Y=x({suffixCls:"content",tagName:"main",displayName:"Content"})(_);var G=W},40875:function(tr,Ct,h){"use strict";h.d(Ct,{J:function(){return $}});var ye=h(59301),fe=h(33234),H=h(70425),be=function(v,m){var N={};for(var s in v)Object.prototype.hasOwnProperty.call(v,s)&&m.indexOf(s)<0&&(N[s]=v[s]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var L=0,s=Object.getOwnPropertySymbols(v);L<s.length;L++)m.indexOf(s[L])<0&&Object.prototype.propertyIsEnumerable.call(v,s[L])&&(N[s[L]]=v[s[L]]);return N};const R=ye.createContext(null),$=ye.forwardRef((v,m)=>{const{children:N}=v,s=be(v,["children"]),L=ye.useContext(R),S=ye.useMemo(()=>Object.assign(Object.assign({},L),s),[L,s.prefixCls,s.mode,s.selectable]);return ye.createElement(R.Provider,{value:S},ye.createElement(fe.BR,null,(0,H.supportNodeRef)(N)?ye.cloneElement(N,{ref:m}):N))});Ct.Z=R},20834:function(tr,Ct,h){"use strict";h.d(Ct,{default:function(){return Ye}});var ye=h(15285),fe=h(59301),H=h(45818),be=h(92310),R=h.n(be),$=h(36355),v=function(E,u){var a={};for(var p in E)Object.prototype.hasOwnProperty.call(E,p)&&u.indexOf(p)<0&&(a[p]=E[p]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,p=Object.getOwnPropertySymbols(E);M<p.length;M++)u.indexOf(p[M])<0&&Object.prototype.propertyIsEnumerable.call(E,p[M])&&(a[p[M]]=E[p[M]]);return a},N=E=>{const{prefixCls:u,className:a,dashed:p}=E,M=v(E,["prefixCls","className","dashed"]),{getPrefixCls:re}=fe.useContext($.E_),C=re("menu",u),j=R()({[`${C}-item-divider-dashed`]:!!p},a);return fe.createElement(ye.iz,Object.assign({className:j},M))},s=h(11592),L=h(2738),S=h(6848),w=h(92343),_=(0,fe.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),W=E=>{var u;const{className:a,children:p,icon:M,title:re,danger:C}=E,{prefixCls:j,firstLevel:me,direction:Ae,disableMenuItemTitleTooltip:ie,inlineCollapsed:Se}=fe.useContext(_),Ge=Ve=>{const yt=fe.createElement("span",{className:`${j}-title-content`},p);return(!M||(0,w.l$)(p)&&p.type==="span")&&p&&Ve&&me&&typeof p=="string"?fe.createElement("div",{className:`${j}-inline-collapsed-noicon`},p.charAt(0)):yt},{siderCollapsed:xe}=fe.useContext(H.D);let He=re;typeof re=="undefined"?He=me?p:"":re===!1&&(He="");const Te={title:He};!xe&&!Se&&(Te.title=null,Te.open=!1);const pe=(0,s.Z)(p).length;let ge=fe.createElement(ye.ck,Object.assign({},(0,L.Z)(E,["title","icon","danger"]),{className:R()({[`${j}-item-danger`]:C,[`${j}-item-only-child`]:(M?pe+1:pe)===1},a),title:typeof re=="string"?re:void 0}),(0,w.Tm)(M,{className:R()((0,w.l$)(M)?(u=M.props)===null||u===void 0?void 0:u.className:"",`${j}-item-icon`)}),Ge(Se));return ie||(ge=fe.createElement(S.Z,Object.assign({},Te,{placement:Ae==="rtl"?"left":"right",overlayClassName:`${j}-inline-collapsed-tooltip`}),ge)),ge},q=E=>{var u;const{popupClassName:a,icon:p,title:M,theme:re}=E,C=fe.useContext(_),{prefixCls:j,inlineCollapsed:me,theme:Ae}=C,ie=(0,ye.Xl)();let Se;if(!p)Se=me&&!ie.length&&M&&typeof M=="string"?fe.createElement("div",{className:`${j}-inline-collapsed-noicon`},M.charAt(0)):fe.createElement("span",{className:`${j}-title-content`},M);else{const xe=(0,w.l$)(M)&&M.type==="span";Se=fe.createElement(fe.Fragment,null,(0,w.Tm)(p,{className:R()((0,w.l$)(p)?(u=p.props)===null||u===void 0?void 0:u.className:"",`${j}-item-icon`)}),xe?M:fe.createElement("span",{className:`${j}-title-content`},M))}const Ge=fe.useMemo(()=>Object.assign(Object.assign({},C),{firstLevel:!1}),[C]);return fe.createElement(_.Provider,{value:Ge},fe.createElement(ye.Wd,Object.assign({},(0,L.Z)(E,["icon"]),{title:Se,popupClassName:R()(j,a,`${j}-${re||Ae}`)})))},Y=h(18785),G=h(70425),D=h(62892),O=h(40875),J=function(E,u){var a={};for(var p in E)Object.prototype.hasOwnProperty.call(E,p)&&u.indexOf(p)<0&&(a[p]=E[p]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,p=Object.getOwnPropertySymbols(E);M<p.length;M++)u.indexOf(p[M])<0&&Object.prototype.propertyIsEnumerable.call(E,p[M])&&(a[p[M]]=E[p[M]]);return a};function K(E){return(E||[]).map((u,a)=>{if(u&&typeof u=="object"){const p=u,{label:M,children:re,key:C,type:j}=p,me=J(p,["label","children","key","type"]),Ae=C!=null?C:`tmp-${a}`;return re||j==="group"?j==="group"?fe.createElement(ye.BW,Object.assign({key:Ae},me,{title:M}),K(re)):fe.createElement(q,Object.assign({key:Ae},me,{title:M}),K(re)):j==="divider"?fe.createElement(N,Object.assign({key:Ae},me)):fe.createElement(W,Object.assign({key:Ae},me),M)}return null}).filter(u=>u)}function le(E){return fe.useMemo(()=>E&&K(E),[E])}var ae=h(64993),he=h(17313),k=h(8378),Ue=h(13826),F=h(29878),De=h(83116),we=h(37613),Be=E=>{const{componentCls:u,motionDurationSlow:a,horizontalLineHeight:p,colorSplit:M,lineWidth:re,lineType:C,itemPaddingInline:j}=E;return{[`${u}-horizontal`]:{lineHeight:p,border:0,borderBottom:`${re}px ${C} ${M}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${u}-item, ${u}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:j},[`> ${u}-item:hover,
|
|
|
> ${u}-item-active,
|
|
|
> ${u}-submenu ${u}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${u}-item, ${u}-submenu-title`]:{transition:[`border-color ${a}`,`background ${a}`].join(",")},[`${u}-submenu-arrow`]:{display:"none"}}}},ve=E=>{let{componentCls:u,menuArrowOffset:a}=E;return{[`${u}-rtl`]:{direction:"rtl"},[`${u}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${u}-rtl${u}-vertical,
|
|
|
${u}-submenu-rtl ${u}-vertical`]:{[`${u}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${a})`},"&::after":{transform:`rotate(45deg) translateY(${a})`}}}}};const ee=E=>Object.assign({},(0,he.oN)(E));var je=(E,u)=>{const{componentCls:a,itemColor:p,itemSelectedColor:M,groupTitleColor:re,itemBg:C,subMenuItemBg:j,itemSelectedBg:me,activeBarHeight:Ae,activeBarWidth:ie,activeBarBorderWidth:Se,motionDurationSlow:Ge,motionEaseInOut:xe,motionEaseOut:He,itemPaddingInline:Te,motionDurationMid:pe,itemHoverColor:ge,lineType:Ve,colorSplit:yt,itemDisabledColor:ht,dangerItemColor:Tt,dangerItemHoverColor:sn,dangerItemSelectedColor:tn,dangerItemActiveBg:pn,dangerItemSelectedBg:mn,itemHoverBg:qt,itemActiveBg:gn,menuSubMenuBg:Sn,horizontalItemSelectedColor:Jn,horizontalItemSelectedBg:Br,horizontalItemBorderRadius:Xn,horizontalItemHoverBg:zr,popupBg:pi}=E;return{[`${a}-${u}, ${a}-${u} > ${a}`]:{color:p,background:C,[`&${a}-root:focus-visible`]:Object.assign({},ee(E)),[`${a}-item-group-title`]:{color:re},[`${a}-submenu-selected`]:{[`> ${a}-submenu-title`]:{color:M}},[`${a}-item-disabled, ${a}-submenu-disabled`]:{color:`${ht} !important`},[`${a}-item:not(${a}-item-selected):not(${a}-submenu-selected)`]:{[`&:hover, > ${a}-submenu-title:hover`]:{color:ge}},[`&:not(${a}-horizontal)`]:{[`${a}-item:not(${a}-item-selected)`]:{"&:hover":{backgroundColor:qt},"&:active":{backgroundColor:gn}},[`${a}-submenu-title`]:{"&:hover":{backgroundColor:qt},"&:active":{backgroundColor:gn}}},[`${a}-item-danger`]:{color:Tt,[`&${a}-item:hover`]:{[`&:not(${a}-item-selected):not(${a}-submenu-selected)`]:{color:sn}},[`&${a}-item:active`]:{background:pn}},[`${a}-item a`]:{"&, &:hover":{color:"inherit"}},[`${a}-item-selected`]:{color:M,[`&${a}-item-danger`]:{color:tn},"a, a:hover":{color:"inherit"}},[`& ${a}-item-selected`]:{backgroundColor:me,[`&${a}-item-danger`]:{backgroundColor:mn}},[`${a}-item, ${a}-submenu-title`]:{[`&:not(${a}-item-disabled):focus-visible`]:Object.assign({},ee(E))},[`&${a}-submenu > ${a}`]:{backgroundColor:Sn},[`&${a}-popup > ${a}`]:{backgroundColor:pi},[`&${a}-horizontal`]:Object.assign(Object.assign({},u==="dark"?{borderBottom:0}:{}),{[`> ${a}-item, > ${a}-submenu`]:{top:Se,marginTop:-Se,marginBottom:0,borderRadius:Xn,"&::after":{position:"absolute",insetInline:Te,bottom:0,borderBottom:`${Ae}px solid transparent`,transition:`border-color ${Ge} ${xe}`,content:'""'},"&:hover, &-active, &-open":{background:zr,"&::after":{borderBottomWidth:Ae,borderBottomColor:Jn}},"&-selected":{color:Jn,backgroundColor:Br,"&:hover":{backgroundColor:Br},"&::after":{borderBottomWidth:Ae,borderBottomColor:Jn}}}}),[`&${a}-root`]:{[`&${a}-inline, &${a}-vertical`]:{borderInlineEnd:`${Se}px ${Ve} ${yt}`}},[`&${a}-inline`]:{[`${a}-sub${a}-inline`]:{background:j},[`${a}-item, ${a}-submenu-title`]:Se&&ie?{width:`calc(100% + ${Se}px)`}:{},[`${a}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${ie}px solid ${M}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${pe} ${He}`,`opacity ${pe} ${He}`].join(","),content:'""'},[`&${a}-item-danger`]:{"&::after":{borderInlineEndColor:tn}}},[`${a}-selected, ${a}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${pe} ${xe}`,`opacity ${pe} ${xe}`].join(",")}}}}}};const Pe=E=>{const{componentCls:u,itemHeight:a,itemMarginInline:p,padding:M,menuArrowSize:re,marginXS:C,itemMarginBlock:j}=E,me=M+re+C;return{[`${u}-item`]:{position:"relative",overflow:"hidden"},[`${u}-item, ${u}-submenu-title`]:{height:a,lineHeight:`${a}px`,paddingInline:M,overflow:"hidden",textOverflow:"ellipsis",marginInline:p,marginBlock:j,width:`calc(100% - ${p*2}px)`},[`> ${u}-item,
|
|
|
> ${u}-submenu > ${u}-submenu-title`]:{height:a,lineHeight:`${a}px`},[`${u}-item-group-list ${u}-submenu-title,
|
|
|
${u}-submenu-title`]:{paddingInlineEnd:me}}};var ut=E=>{const{componentCls:u,iconCls:a,itemHeight:p,colorTextLightSolid:M,dropdownWidth:re,controlHeightLG:C,motionDurationMid:j,motionEaseOut:me,paddingXL:Ae,itemMarginInline:ie,fontSizeLG:Se,motionDurationSlow:Ge,paddingXS:xe,boxShadowSecondary:He,collapsedWidth:Te,collapsedIconSize:pe}=E,ge={height:p,lineHeight:`${p}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[u]:{"&-inline, &-vertical":Object.assign({[`&${u}-root`]:{boxShadow:"none"}},Pe(E))},[`${u}-submenu-popup`]:{[`${u}-vertical`]:Object.assign(Object.assign({},Pe(E)),{boxShadow:He})}},{[`${u}-submenu-popup ${u}-vertical${u}-sub`]:{minWidth:re,maxHeight:`calc(100vh - ${C*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${u}-inline`]:{width:"100%",[`&${u}-root`]:{[`${u}-item, ${u}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ge}`,`background ${Ge}`,`padding ${j} ${me}`].join(","),[`> ${u}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${u}-sub${u}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${u}-submenu > ${u}-submenu-title`]:ge,[`& ${u}-item-group-title`]:{paddingInlineStart:Ae}},[`${u}-item`]:ge}},{[`${u}-inline-collapsed`]:{width:Te,[`&${u}-root`]:{[`${u}-item, ${u}-submenu ${u}-submenu-title`]:{[`> ${u}-inline-collapsed-noicon`]:{fontSize:Se,textAlign:"center"}}},[`> ${u}-item,
|
|
|
> ${u}-item-group > ${u}-item-group-list > ${u}-item,
|
|
|
> ${u}-item-group > ${u}-item-group-list > ${u}-submenu > ${u}-submenu-title,
|
|
|
> ${u}-submenu > ${u}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Se/2}px - ${ie}px)`,textOverflow:"clip",[`
|
|
|
${u}-submenu-arrow,
|
|
|
${u}-submenu-expand-icon
|
|
|
`]:{opacity:0},[`${u}-item-icon, ${a}`]:{margin:0,fontSize:pe,lineHeight:`${p}px`,"+ span":{display:"inline-block",opacity:0}}},[`${u}-item-icon, ${a}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${u}-item-icon, ${a}`]:{display:"none"},"a, a:hover":{color:M}},[`${u}-item-group-title`]:Object.assign(Object.assign({},he.vS),{paddingInline:xe})}}]};const mt=E=>{const{componentCls:u,motionDurationSlow:a,motionDurationMid:p,motionEaseInOut:M,motionEaseOut:re,iconCls:C,iconSize:j,iconMarginInlineEnd:me}=E;return{[`${u}-item, ${u}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${a}`,`background ${a}`,`padding ${a} ${M}`].join(","),[`${u}-item-icon, ${C}`]:{minWidth:j,fontSize:j,transition:[`font-size ${p} ${re}`,`margin ${a} ${M}`,`color ${a}`].join(","),"+ span":{marginInlineStart:me,opacity:1,transition:[`opacity ${a} ${M}`,`margin ${a}`,`color ${a}`].join(",")}},[`${u}-item-icon`]:Object.assign({},(0,he.Ro)()),[`&${u}-item-only-child`]:{[`> ${C}, > ${u}-item-icon`]:{marginInlineEnd:0}}},[`${u}-item-disabled, ${u}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${u}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ot=E=>{const{componentCls:u,motionDurationSlow:a,motionEaseInOut:p,borderRadius:M,menuArrowSize:re,menuArrowOffset:C}=E;return{[`${u}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:E.margin,width:re,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${a} ${p}, opacity ${a}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:re*.6,height:re*.15,backgroundColor:"currentcolor",borderRadius:M,transition:[`background ${a} ${p}`,`transform ${a} ${p}`,`top ${a} ${p}`,`color ${a} ${p}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${C})`},"&::after":{transform:`rotate(-45deg) translateY(${C})`}}}}},Ee=E=>{const{antCls:u,componentCls:a,fontSize:p,motionDurationSlow:M,motionDurationMid:re,motionEaseInOut:C,paddingXS:j,padding:me,colorSplit:Ae,lineWidth:ie,zIndexPopup:Se,borderRadiusLG:Ge,subMenuItemBorderRadius:xe,menuArrowSize:He,menuArrowOffset:Te,lineType:pe,menuPanelMaskInset:ge,groupTitleLineHeight:Ve,groupTitleFontSize:yt}=E;return[{"":{[`${a}`]:Object.assign(Object.assign({},(0,he.dF)()),{"&-hidden":{display:"none"}})},[`${a}-submenu-hidden`]:{display:"none"}},{[a]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(E)),(0,he.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:p,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${M} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${a}-item`]:{flex:"none"}},[`${a}-item, ${a}-submenu, ${a}-submenu-title`]:{borderRadius:E.itemBorderRadius},[`${a}-item-group-title`]:{padding:`${j}px ${me}px`,fontSize:yt,lineHeight:Ve,transition:`all ${M}`},[`&-horizontal ${a}-submenu`]:{transition:[`border-color ${M} ${C}`,`background ${M} ${C}`].join(",")},[`${a}-submenu, ${a}-submenu-inline`]:{transition:[`border-color ${M} ${C}`,`background ${M} ${C}`,`padding ${re} ${C}`].join(",")},[`${a}-submenu ${a}-sub`]:{cursor:"initial",transition:[`background ${M} ${C}`,`padding ${M} ${C}`].join(",")},[`${a}-title-content`]:{transition:`color ${M}`},[`${a}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${a}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Ae,borderStyle:pe,borderWidth:0,borderTopWidth:ie,marginBlock:ie,padding:0,"&-dashed":{borderStyle:"dashed"}}}),mt(E)),{[`${a}-item-group`]:{[`${a}-item-group-list`]:{margin:0,padding:0,[`${a}-item, ${a}-submenu-title`]:{paddingInline:`${p*2}px ${me}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Se,borderRadius:Ge,boxShadow:"none",transformOrigin:"0 0",[`&${a}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ge}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ge},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:E.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:E.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:E.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:E.paddingXS},[`> ${a}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ge},mt(E)),Ot(E)),{[`${a}-item, ${a}-submenu > ${a}-submenu-title`]:{borderRadius:xe},[`${a}-submenu-title::after`]:{transition:`transform ${M} ${C}`}})}}),Ot(E)),{[`&-inline-collapsed ${a}-submenu-arrow,
|
|
|
&-inline ${a}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Te})`},"&::after":{transform:`rotate(45deg) translateX(-${Te})`}},[`${a}-submenu-open${a}-submenu-inline > ${a}-submenu-title > ${a}-submenu-arrow`]:{transform:`translateY(-${He*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Te})`},"&::before":{transform:`rotate(45deg) translateX(${Te})`}}})},{[`${u}-layout-header`]:{[a]:{lineHeight:"inherit"}}}]};var kt=(E,u)=>(0,De.Z)("Menu",p=>{if(u===!1)return[];const{colorBgElevated:M,colorPrimary:re,colorTextLightSolid:C,controlHeightLG:j,fontSize:me,darkItemColor:Ae,darkDangerItemColor:ie,darkItemBg:Se,darkSubMenuItemBg:Ge,darkItemSelectedColor:xe,darkItemSelectedBg:He,darkDangerItemSelectedBg:Te,darkItemHoverBg:pe,darkGroupTitleColor:ge,darkItemHoverColor:Ve,darkItemDisabledColor:yt,darkDangerItemHoverColor:ht,darkDangerItemSelectedColor:Tt,darkDangerItemActiveBg:sn}=p,tn=me/7*5,pn=(0,we.TS)(p,{menuArrowSize:tn,menuHorizontalHeight:j*1.15,menuArrowOffset:`${tn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:M}),mn=(0,we.TS)(pn,{itemColor:Ae,itemHoverColor:Ve,groupTitleColor:ge,itemSelectedColor:xe,itemBg:Se,popupBg:Se,subMenuItemBg:Ge,itemActiveBg:"transparent",itemSelectedBg:He,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:pe,itemDisabledColor:yt,dangerItemColor:ie,dangerItemHoverColor:ht,dangerItemSelectedColor:Tt,dangerItemActiveBg:sn,dangerItemSelectedBg:Te,menuSubMenuBg:Ge,horizontalItemSelectedColor:C,horizontalItemSelectedBg:re});return[Ee(pn),Be(pn),ut(pn),je(pn,"light"),je(mn,"dark"),ve(pn),(0,k.Z)(pn),(0,Ue.oN)(pn,"slide-up"),(0,Ue.oN)(pn,"slide-down"),(0,F._y)(pn,"zoom-big")]},p=>{const{colorPrimary:M,colorError:re,colorTextDisabled:C,colorErrorBg:j,colorText:me,colorTextDescription:Ae,colorBgContainer:ie,colorFillAlter:Se,colorFillContent:Ge,lineWidth:xe,lineWidthBold:He,controlItemBgActive:Te,colorBgTextHover:pe,controlHeightLG:ge,lineHeight:Ve,colorBgElevated:yt,marginXXS:ht,padding:Tt,fontSize:sn,controlHeightSM:tn,fontSizeLG:pn,colorTextLightSolid:mn,colorErrorHover:qt}=p,gn=new ae.C(mn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:p.zIndexPopupBase+50,radiusItem:p.borderRadiusLG,itemBorderRadius:p.borderRadiusLG,radiusSubMenuItem:p.borderRadiusSM,subMenuItemBorderRadius:p.borderRadiusSM,colorItemText:me,itemColor:me,colorItemTextHover:me,itemHoverColor:me,colorItemTextHoverHorizontal:M,horizontalItemHoverColor:M,colorGroupTitle:Ae,groupTitleColor:Ae,colorItemTextSelected:M,itemSelectedColor:M,colorItemTextSelectedHorizontal:M,horizontalItemSelectedColor:M,colorItemBg:ie,itemBg:ie,colorItemBgHover:pe,itemHoverBg:pe,colorItemBgActive:Ge,itemActiveBg:Te,colorSubItemBg:Se,subMenuItemBg:Se,colorItemBgSelected:Te,itemSelectedBg:Te,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:He,activeBarHeight:He,colorActiveBarBorderSize:xe,activeBarBorderWidth:xe,colorItemTextDisabled:C,itemDisabledColor:C,colorDangerItemText:re,dangerItemColor:re,colorDangerItemTextHover:re,dangerItemHoverColor:re,colorDangerItemTextSelected:re,dangerItemSelectedColor:re,colorDangerItemBgActive:j,dangerItemActiveBg:j,colorDangerItemBgSelected:j,dangerItemSelectedBg:j,itemMarginInline:p.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ge,groupTitleLineHeight:Ve,collapsedWidth:ge*2,popupBg:yt,itemMarginBlock:ht,itemPaddingInline:Tt,horizontalLineHeight:`${ge*1.15}px`,iconSize:sn,iconMarginInlineEnd:tn-sn,collapsedIconSize:pn,groupTitleFontSize:sn,darkItemDisabledColor:new ae.C(mn).setAlpha(.25).toRgbString(),darkItemColor:gn,darkDangerItemColor:re,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:mn,darkItemSelectedBg:M,darkDangerItemSelectedBg:re,darkItemHoverBg:"transparent",darkGroupTitleColor:gn,darkItemHoverColor:mn,darkDangerItemHoverColor:qt,darkDangerItemSelectedColor:mn,darkDangerItemActiveBg:re}},{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"]]})(E),Rt=function(E,u){var a={};for(var p in E)Object.prototype.hasOwnProperty.call(E,p)&&u.indexOf(p)<0&&(a[p]=E[p]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var M=0,p=Object.getOwnPropertySymbols(E);M<p.length;M++)u.indexOf(p[M])<0&&Object.prototype.propertyIsEnumerable.call(E,p[M])&&(a[p[M]]=E[p[M]]);return a},Mt=(0,fe.forwardRef)((E,u)=>{var a,p;const M=fe.useContext(O.Z),re=M||{},{getPrefixCls:C,getPopupContainer:j,direction:me,menu:Ae}=fe.useContext($.E_),ie=C(),{prefixCls:Se,className:Ge,style:xe,theme:He="light",expandIcon:Te,_internalDisableMenuItemTitleTooltip:pe,inlineCollapsed:ge,siderCollapsed:Ve,items:yt,children:ht,rootClassName:Tt,mode:sn,selectable:tn,onClick:pn,overflowedIndicatorPopupClassName:mn}=E,qt=Rt(E,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),gn=(0,L.Z)(qt,["collapsedWidth"]),Sn=le(yt)||ht;(a=re.validator)===null||a===void 0||a.call(re,{mode:sn});const Jn=(0,G.useEvent)(function(){var Pi;pn==null||pn.apply(void 0,arguments),(Pi=re.onClick)===null||Pi===void 0||Pi.call(re)}),Br=re.mode||sn,Xn=tn!=null?tn:re.selectable,zr=fe.useMemo(()=>Ve!==void 0?Ve:ge,[ge,Ve]),pi={horizontal:{motionName:`${ie}-slide-up`},inline:(0,D.Z)(ie),other:{motionName:`${ie}-zoom-big`}},yn=C("menu",Se||re.prefixCls),[Vr,Nt]=kt(yn,!M),qr=R()(`${yn}-${He}`,Ae==null?void 0:Ae.className,Ge);let Yi;if(typeof Te=="function")Yi=Te;else if(Te===null||Te===!1)Yi=null;else if(re.expandIcon===null||re.expandIcon===!1)Yi=null;else{const Pi=Te!=null?Te:re.expandIcon;Yi=(0,w.Tm)(Pi,{className:R()(`${yn}-submenu-expand-icon`,(0,w.l$)(Pi)?(p=Pi.props)===null||p===void 0?void 0:p.className:"")})}const bi=fe.useMemo(()=>({prefixCls:yn,inlineCollapsed:zr||!1,direction:me,firstLevel:!0,theme:He,mode:Br,disableMenuItemTitleTooltip:pe}),[yn,zr,me,pe,He]);return Vr(fe.createElement(O.Z.Provider,{value:null},fe.createElement(_.Provider,{value:bi},fe.createElement(ye.ZP,Object.assign({getPopupContainer:j,overflowedIndicator:fe.createElement(Y.Z,null),overflowedIndicatorPopupClassName:R()(yn,`${yn}-${He}`,mn),mode:Br,selectable:Xn,onClick:Jn},gn,{inlineCollapsed:zr,style:Object.assign(Object.assign({},Ae==null?void 0:Ae.style),xe),className:qr,prefixCls:yn,direction:me,defaultMotions:pi,expandIcon:Yi,ref:u,rootClassName:R()(Tt,Nt)}),Sn))))});const T=(0,fe.forwardRef)((E,u)=>{const a=(0,fe.useRef)(null),p=fe.useContext(H.D);return(0,fe.useImperativeHandle)(u,()=>({menu:a.current,focus:M=>{var re;(re=a.current)===null||re===void 0||re.focus(M)}})),fe.createElement(Mt,Object.assign({ref:a},E,p))});T.Item=W,T.SubMenu=q,T.Divider=N,T.ItemGroup=ye.BW;var Ye=T},58421:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return re}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(j,me){return fe.createElement(R.Z,(0,ye.Z)({},j,{ref:me,icon:be}))},v=fe.forwardRef($),m=v,N=h(49198),s=h(33853),L=h(38819),S=h(92310),w=h.n(S),x=h(20068),_=h(33885),B=h(67732),W=h(83652),Q=h(42403),q=h(158),Y=h(26112),G={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},D=G,O=h(91735),J=function(C){(0,Q.Z)(me,C);var j=(0,q.Z)(me);function me(){var Ae;(0,B.Z)(this,me);for(var ie=arguments.length,Se=new Array(ie),Ge=0;Ge<ie;Ge++)Se[Ge]=arguments[Ge];return Ae=j.call.apply(j,[this].concat(Se)),Ae.state={goInputText:""},Ae.getValidValue=function(){var xe=Ae.state.goInputText;return!xe||Number.isNaN(xe)?void 0:Number(xe)},Ae.buildOptionText=function(xe){return"".concat(xe," ").concat(Ae.props.locale.items_per_page)},Ae.changeSize=function(xe){Ae.props.changeSize(Number(xe))},Ae.handleChange=function(xe){Ae.setState({goInputText:xe.target.value})},Ae.handleBlur=function(xe){var He=Ae.props,Te=He.goButton,pe=He.quickGo,ge=He.rootPrefixCls,Ve=Ae.state.goInputText;Te||Ve===""||(Ae.setState({goInputText:""}),!(xe.relatedTarget&&(xe.relatedTarget.className.indexOf("".concat(ge,"-item-link"))>=0||xe.relatedTarget.className.indexOf("".concat(ge,"-item"))>=0))&&pe(Ae.getValidValue()))},Ae.go=function(xe){var He=Ae.state.goInputText;He!==""&&(xe.keyCode===D.ENTER||xe.type==="click")&&(Ae.setState({goInputText:""}),Ae.props.quickGo(Ae.getValidValue()))},Ae}return(0,W.Z)(me,[{key:"getPageSizeOptions",value:function(){var ie=this.props,Se=ie.pageSize,Ge=ie.pageSizeOptions;return Ge.some(function(xe){return xe.toString()===Se.toString()})?Ge:Ge.concat([Se.toString()]).sort(function(xe,He){var Te=Number.isNaN(Number(xe))?0:Number(xe),pe=Number.isNaN(Number(He))?0:Number(He);return Te-pe})}},{key:"render",value:function(){var ie=this,Se=this.props,Ge=Se.pageSize,xe=Se.locale,He=Se.rootPrefixCls,Te=Se.changeSize,pe=Se.quickGo,ge=Se.goButton,Ve=Se.selectComponentClass,yt=Se.buildOptionText,ht=Se.selectPrefixCls,Tt=Se.disabled,sn=this.state.goInputText,tn="".concat(He,"-options"),pn=Ve,mn=null,qt=null,gn=null;if(!Te&&!pe)return null;var Sn=this.getPageSizeOptions();if(Te&&pn){var Jn=Sn.map(function(Br,Xn){return fe.createElement(pn.Option,{key:Xn,value:Br.toString()},(yt||ie.buildOptionText)(Br))});mn=fe.createElement(pn,{disabled:Tt,prefixCls:ht,showSearch:!1,className:"".concat(tn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Ge||Sn[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Xn){return Xn.parentNode},"aria-label":xe.page_size,defaultOpen:!1},Jn)}return pe&&(ge&&(gn=typeof ge=="boolean"?fe.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Tt,className:"".concat(tn,"-quick-jumper-button")},xe.jump_to_confirm):fe.createElement("span",{onClick:this.go,onKeyUp:this.go},ge)),qt=fe.createElement("div",{className:"".concat(tn,"-quick-jumper")},xe.jump_to,fe.createElement("input",{disabled:Tt,type:"text",value:sn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":xe.page}),xe.page,gn)),fe.createElement("li",{className:"".concat(tn)},mn,qt)}}]),me}(fe.Component);J.defaultProps={pageSizeOptions:["10","20","50","100"]};var K=J,le=function(j){var me,Ae=j.rootPrefixCls,ie=j.page,Se=j.active,Ge=j.className,xe=j.showTitle,He=j.onClick,Te=j.onKeyPress,pe=j.itemRender,ge="".concat(Ae,"-item"),Ve=w()(ge,"".concat(ge,"-").concat(ie),(me={},(0,x.Z)(me,"".concat(ge,"-active"),Se),(0,x.Z)(me,"".concat(ge,"-disabled"),!ie),(0,x.Z)(me,j.className,Ge),me)),yt=function(){He(ie)},ht=function(tn){Te(tn,He,ie)},Tt=pe(ie,"page",fe.createElement("a",{rel:"nofollow"},ie));return Tt?fe.createElement("li",{title:xe?ie.toString():null,className:Ve,onClick:yt,onKeyPress:ht,tabIndex:0},Tt):null},ae=le;function he(){}function k(C){var j=Number(C);return typeof j=="number"&&!Number.isNaN(j)&&isFinite(j)&&Math.floor(j)===j}var Ue=function(j,me,Ae){return Ae};function F(C,j,me){var Ae=typeof C=="undefined"?j.pageSize:C;return Math.floor((me.total-1)/Ae)+1}var De=function(C){(0,Q.Z)(me,C);var j=(0,q.Z)(me);function me(Ae){var ie;(0,B.Z)(this,me),ie=j.call(this,Ae),ie.paginationNode=fe.createRef(),ie.getJumpPrevPage=function(){return Math.max(1,ie.state.current-(ie.props.showLessItems?3:5))},ie.getJumpNextPage=function(){return Math.min(F(void 0,ie.state,ie.props),ie.state.current+(ie.props.showLessItems?3:5))},ie.getItemIcon=function(Te,pe){var ge=ie.props.prefixCls,Ve=Te||fe.createElement("button",{type:"button","aria-label":pe,className:"".concat(ge,"-item-link")});return typeof Te=="function"&&(Ve=fe.createElement(Te,(0,_.Z)({},ie.props))),Ve},ie.isValid=function(Te){var pe=ie.props.total;return k(Te)&&Te!==ie.state.current&&k(pe)&&pe>0},ie.shouldDisplayQuickJumper=function(){var Te=ie.props,pe=Te.showQuickJumper,ge=Te.total,Ve=ie.state.pageSize;return ge<=Ve?!1:pe},ie.handleKeyDown=function(Te){(Te.keyCode===D.ARROW_UP||Te.keyCode===D.ARROW_DOWN)&&Te.preventDefault()},ie.handleKeyUp=function(Te){var pe=ie.getValidValue(Te),ge=ie.state.currentInputValue;pe!==ge&&ie.setState({currentInputValue:pe}),Te.keyCode===D.ENTER?ie.handleChange(pe):Te.keyCode===D.ARROW_UP?ie.handleChange(pe-1):Te.keyCode===D.ARROW_DOWN&&ie.handleChange(pe+1)},ie.handleBlur=function(Te){var pe=ie.getValidValue(Te);ie.handleChange(pe)},ie.changePageSize=function(Te){var pe=ie.state.current,ge=F(Te,ie.state,ie.props);pe=pe>ge?ge:pe,ge===0&&(pe=ie.state.current),typeof Te=="number"&&("pageSize"in ie.props||ie.setState({pageSize:Te}),"current"in ie.props||ie.setState({current:pe,currentInputValue:pe})),ie.props.onShowSizeChange(pe,Te),"onChange"in ie.props&&ie.props.onChange&&ie.props.onChange(pe,Te)},ie.handleChange=function(Te){var pe=ie.props,ge=pe.disabled,Ve=pe.onChange,yt=ie.state,ht=yt.pageSize,Tt=yt.current,sn=yt.currentInputValue;if(ie.isValid(Te)&&!ge){var tn=F(void 0,ie.state,ie.props),pn=Te;return Te>tn?pn=tn:Te<1&&(pn=1),"current"in ie.props||ie.setState({current:pn}),pn!==sn&&ie.setState({currentInputValue:pn}),Ve(pn,ht),pn}return Tt},ie.prev=function(){ie.hasPrev()&&ie.handleChange(ie.state.current-1)},ie.next=function(){ie.hasNext()&&ie.handleChange(ie.state.current+1)},ie.jumpPrev=function(){ie.handleChange(ie.getJumpPrevPage())},ie.jumpNext=function(){ie.handleChange(ie.getJumpNextPage())},ie.hasPrev=function(){return ie.state.current>1},ie.hasNext=function(){return ie.state.current<F(void 0,ie.state,ie.props)},ie.runIfEnter=function(Te,pe){if(Te.key==="Enter"||Te.charCode===13){for(var ge=arguments.length,Ve=new Array(ge>2?ge-2:0),yt=2;yt<ge;yt++)Ve[yt-2]=arguments[yt];pe.apply(void 0,Ve)}},ie.runIfEnterPrev=function(Te){ie.runIfEnter(Te,ie.prev)},ie.runIfEnterNext=function(Te){ie.runIfEnter(Te,ie.next)},ie.runIfEnterJumpPrev=function(Te){ie.runIfEnter(Te,ie.jumpPrev)},ie.runIfEnterJumpNext=function(Te){ie.runIfEnter(Te,ie.jumpNext)},ie.handleGoTO=function(Te){(Te.keyCode===D.ENTER||Te.type==="click")&&ie.handleChange(ie.state.currentInputValue)},ie.renderPrev=function(Te){var pe=ie.props,ge=pe.prevIcon,Ve=pe.itemRender,yt=Ve(Te,"prev",ie.getItemIcon(ge,"prev page")),ht=!ie.hasPrev();return(0,fe.isValidElement)(yt)?(0,fe.cloneElement)(yt,{disabled:ht}):yt},ie.renderNext=function(Te){var pe=ie.props,ge=pe.nextIcon,Ve=pe.itemRender,yt=Ve(Te,"next",ie.getItemIcon(ge,"next page")),ht=!ie.hasNext();return(0,fe.isValidElement)(yt)?(0,fe.cloneElement)(yt,{disabled:ht}):yt};var Se=Ae.onChange!==he,Ge="current"in Ae;Ge&&!Se&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var xe=Ae.defaultCurrent;"current"in Ae&&(xe=Ae.current);var He=Ae.defaultPageSize;return"pageSize"in Ae&&(He=Ae.pageSize),xe=Math.min(xe,F(He,void 0,Ae)),ie.state={current:xe,currentInputValue:xe,pageSize:He},ie}return(0,W.Z)(me,[{key:"componentDidUpdate",value:function(ie,Se){var Ge=this.props.prefixCls;if(Se.current!==this.state.current&&this.paginationNode.current){var xe=this.paginationNode.current.querySelector(".".concat(Ge,"-item-").concat(Se.current));if(xe&&document.activeElement===xe){var He;xe==null||(He=xe.blur)===null||He===void 0||He.call(xe)}}}},{key:"getValidValue",value:function(ie){var Se=ie.target.value,Ge=F(void 0,this.state,this.props),xe=this.state.currentInputValue,He;return Se===""?He=Se:Number.isNaN(Number(Se))?He=xe:Se>=Ge?He=Ge:He=Number(Se),He}},{key:"getShowSizeChanger",value:function(){var ie=this.props,Se=ie.showSizeChanger,Ge=ie.total,xe=ie.totalBoundaryShowSizeChanger;return typeof Se!="undefined"?Se:Ge>xe}},{key:"render",value:function(){var ie=this.props,Se=ie.prefixCls,Ge=ie.className,xe=ie.style,He=ie.disabled,Te=ie.hideOnSinglePage,pe=ie.total,ge=ie.locale,Ve=ie.showQuickJumper,yt=ie.showLessItems,ht=ie.showTitle,Tt=ie.showTotal,sn=ie.simple,tn=ie.itemRender,pn=ie.showPrevNextJumpers,mn=ie.jumpPrevIcon,qt=ie.jumpNextIcon,gn=ie.selectComponentClass,Sn=ie.selectPrefixCls,Jn=ie.pageSizeOptions,Br=this.state,Xn=Br.current,zr=Br.pageSize,pi=Br.currentInputValue;if(Te===!0&&pe<=zr)return null;var yn=F(void 0,this.state,this.props),Vr=[],Nt=null,qr=null,Yi=null,bi=null,Pi=null,Io=Ve&&Ve.goButton,Ni=yt?1:2,Qr=Xn-1>0?Xn-1:0,Ei=Xn+1<yn?Xn+1:yn,nt=(0,Y.Z)(this.props,{aria:!0,data:!0}),Jt=Tt&&fe.createElement("li",{className:"".concat(Se,"-total-text")},Tt(pe,[pe===0?0:(Xn-1)*zr+1,Xn*zr>pe?pe:Xn*zr]));if(sn){Io&&(typeof Io=="boolean"?Pi=fe.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ge.jump_to_confirm):Pi=fe.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Io),Pi=fe.createElement("li",{title:ht?"".concat(ge.jump_to).concat(Xn,"/").concat(yn):null,className:"".concat(Se,"-simple-pager")},Pi));var An=this.renderPrev(Qr);return fe.createElement("ul",(0,ye.Z)({className:w()(Se,"".concat(Se,"-simple"),(0,x.Z)({},"".concat(Se,"-disabled"),He),Ge),style:xe,ref:this.paginationNode},nt),Jt,An?fe.createElement("li",{title:ht?ge.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:w()("".concat(Se,"-prev"),(0,x.Z)({},"".concat(Se,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},An):null,fe.createElement("li",{title:ht?"".concat(Xn,"/").concat(yn):null,className:"".concat(Se,"-simple-pager")},fe.createElement("input",{type:"text",value:pi,disabled:He,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),fe.createElement("span",{className:"".concat(Se,"-slash")},"/"),yn),fe.createElement("li",{title:ht?ge.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:w()("".concat(Se,"-next"),(0,x.Z)({},"".concat(Se,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Ei)),Pi)}if(yn<=3+Ni*2){var Ke={locale:ge,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:ht,itemRender:tn};yn||Vr.push(fe.createElement(ae,(0,ye.Z)({},Ke,{key:"noPager",page:1,className:"".concat(Se,"-item-disabled")})));for(var ze=1;ze<=yn;ze+=1){var en=Xn===ze;Vr.push(fe.createElement(ae,(0,ye.Z)({},Ke,{key:ze,page:ze,active:en})))}}else{var Zt=yt?ge.prev_3:ge.prev_5,Tn=yt?ge.next_3:ge.next_5,hn=tn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(mn,"prev page")),Un=tn(this.getJumpNextPage(),"jump-next",this.getItemIcon(qt,"next page"));pn&&(Nt=hn?fe.createElement("li",{title:ht?Zt:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:w()("".concat(Se,"-jump-prev"),(0,x.Z)({},"".concat(Se,"-jump-prev-custom-icon"),!!mn))},hn):null,qr=Un?fe.createElement("li",{title:ht?Tn:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:w()("".concat(Se,"-jump-next"),(0,x.Z)({},"".concat(Se,"-jump-next-custom-icon"),!!qt))},Un):null),bi=fe.createElement(ae,{locale:ge,last:!0,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:yn,page:yn,active:!1,showTitle:ht,itemRender:tn}),Yi=fe.createElement(ae,{locale:ge,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:ht,itemRender:tn});var Hn=Math.max(1,Xn-Ni),kn=Math.min(Xn+Ni,yn);Xn-1<=Ni&&(kn=1+Ni*2),yn-Xn<=Ni&&(Hn=yn-Ni*2);for(var cr=Hn;cr<=kn;cr+=1){var Ln=Xn===cr;Vr.push(fe.createElement(ae,{locale:ge,rootPrefixCls:Se,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:cr,page:cr,active:Ln,showTitle:ht,itemRender:tn}))}Xn-1>=Ni*2&&Xn!==3&&(Vr[0]=(0,fe.cloneElement)(Vr[0],{className:"".concat(Se,"-item-after-jump-prev")}),Vr.unshift(Nt)),yn-Xn>=Ni*2&&Xn!==yn-2&&(Vr[Vr.length-1]=(0,fe.cloneElement)(Vr[Vr.length-1],{className:"".concat(Se,"-item-before-jump-next")}),Vr.push(qr)),Hn!==1&&Vr.unshift(Yi),kn!==yn&&Vr.push(bi)}var qn=!this.hasPrev()||!yn,sr=!this.hasNext()||!yn,Kn=this.renderPrev(Qr),ur=this.renderNext(Ei);return fe.createElement("ul",(0,ye.Z)({className:w()(Se,Ge,(0,x.Z)({},"".concat(Se,"-disabled"),He)),style:xe,ref:this.paginationNode},nt),Jt,Kn?fe.createElement("li",{title:ht?ge.prev_page:null,onClick:this.prev,tabIndex:qn?null:0,onKeyPress:this.runIfEnterPrev,className:w()("".concat(Se,"-prev"),(0,x.Z)({},"".concat(Se,"-disabled"),qn)),"aria-disabled":qn},Kn):null,Vr,ur?fe.createElement("li",{title:ht?ge.next_page:null,onClick:this.next,tabIndex:sr?null:0,onKeyPress:this.runIfEnterNext,className:w()("".concat(Se,"-next"),(0,x.Z)({},"".concat(Se,"-disabled"),sr)),"aria-disabled":sr},ur):null,fe.createElement(K,{disabled:He,locale:ge,rootPrefixCls:Se,selectComponentClass:gn,selectPrefixCls:Sn,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Xn,pageSize:zr,pageSizeOptions:Jn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Io}))}}],[{key:"getDerivedStateFromProps",value:function(ie,Se){var Ge={};if("current"in ie&&(Ge.current=ie.current,ie.current!==Se.current&&(Ge.currentInputValue=Ge.current)),"pageSize"in ie&&ie.pageSize!==Se.pageSize){var xe=Se.current,He=F(ie.pageSize,Se,ie);xe=xe>He?He:xe,"current"in ie||(Ge.current=xe,Ge.currentInputValue=xe),Ge.pageSize=ie.pageSize}return Ge}}]),me}(fe.Component);De.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:he,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:he,locale:O.Z,style:{},itemRender:Ue,totalBoundaryShowSizeChanger:50};var we=De,de=h(22075),Be=h(36355),ne=h(19716),ve=h(8628),ee=h(9763),se=h(57809);const je=C=>fe.createElement(se.default,Object.assign({},C,{showSearch:!0,size:"small"})),Pe=C=>fe.createElement(se.default,Object.assign({},C,{showSearch:!0,size:"middle"}));je.Option=se.default.Option,Pe.Option=se.default.Option;var Oe=h(9937),ut=h(17313),mt=h(83116),Ot=h(37613);const Ee=C=>{const{componentCls:j}=C;return{[`${j}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${j}-item-link`]:{color:C.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${j}-item-link`]:{color:C.colorTextDisabled,cursor:"not-allowed"}}},[`&${j}-disabled`]:{cursor:"not-allowed",[`${j}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:C.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:C.colorBorder,backgroundColor:C.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:C.itemActiveBgDisabled},a:{color:C.itemActiveColorDisabled}}},[`${j}-item-link`]:{color:C.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${j}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${j}-simple-pager`]:{color:C.colorTextDisabled},[`${j}-jump-prev, ${j}-jump-next`]:{[`${j}-item-link-icon`]:{opacity:0},[`${j}-item-ellipsis`]:{opacity:1}}},[`&${j}-simple`]:{[`${j}-prev, ${j}-next`]:{[`&${j}-disabled ${j}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},kt=C=>{const{componentCls:j}=C;return{[`&${j}-mini ${j}-total-text, &${j}-mini ${j}-simple-pager`]:{height:C.itemSizeSM,lineHeight:`${C.itemSizeSM}px`},[`&${j}-mini ${j}-item`]:{minWidth:C.itemSizeSM,height:C.itemSizeSM,margin:0,lineHeight:`${C.itemSizeSM-2}px`},[`&${j}-mini:not(${j}-disabled) ${j}-item:not(${j}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:C.colorBgTextHover},"&:active":{backgroundColor:C.colorBgTextActive}},[`&${j}-mini ${j}-prev, &${j}-mini ${j}-next`]:{minWidth:C.itemSizeSM,height:C.itemSizeSM,margin:0,lineHeight:`${C.itemSizeSM}px`},[`&${j}-mini:not(${j}-disabled)`]:{[`${j}-prev, ${j}-next`]:{[`&:hover ${j}-item-link`]:{backgroundColor:C.colorBgTextHover},[`&:active ${j}-item-link`]:{backgroundColor:C.colorBgTextActive},[`&${j}-disabled:hover ${j}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
|
&${j}-mini ${j}-prev ${j}-item-link,
|
|
|
&${j}-mini ${j}-next ${j}-item-link
|
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:C.itemSizeSM,lineHeight:`${C.itemSizeSM}px`}},[`&${j}-mini ${j}-jump-prev, &${j}-mini ${j}-jump-next`]:{height:C.itemSizeSM,marginInlineEnd:0,lineHeight:`${C.itemSizeSM}px`},[`&${j}-mini ${j}-options`]:{marginInlineStart:C.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:C.miniOptionsSizeChangerTop},"&-quick-jumper":{height:C.itemSizeSM,lineHeight:`${C.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Oe.x0)(C)),{width:C.paginationMiniQuickJumperInputWidth,height:C.controlHeightSM})}}}},Rt=C=>{const{componentCls:j}=C;return{[`
|
|
|
&${j}-simple ${j}-prev,
|
|
|
&${j}-simple ${j}-next
|
|
|
`]:{height:C.itemSizeSM,lineHeight:`${C.itemSizeSM}px`,verticalAlign:"top",[`${j}-item-link`]:{height:C.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:C.colorBgTextHover},"&:active":{backgroundColor:C.colorBgTextActive},"&::after":{height:C.itemSizeSM,lineHeight:`${C.itemSizeSM}px`}}},[`&${j}-simple ${j}-simple-pager`]:{display:"inline-block",height:C.itemSizeSM,marginInlineEnd:C.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:C.marginXS,padding:`0 ${C.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:C.itemInputBg,border:`${C.lineWidth}px ${C.lineType} ${C.colorBorder}`,borderRadius:C.borderRadius,outline:"none",transition:`border-color ${C.motionDurationMid}`,color:"inherit","&:hover":{borderColor:C.colorPrimary},"&:focus":{borderColor:C.colorPrimaryHover,boxShadow:`${C.inputOutlineOffset}px 0 ${C.controlOutlineWidth}px ${C.controlOutline}`},"&[disabled]":{color:C.colorTextDisabled,backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder,cursor:"not-allowed"}}}}},on=C=>{const{componentCls:j}=C;return{[`${j}-jump-prev, ${j}-jump-next`]:{outline:0,[`${j}-item-container`]:{position:"relative",[`${j}-item-link-icon`]:{color:C.colorPrimary,fontSize:C.fontSizeSM,opacity:0,transition:`all ${C.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${j}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:C.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:C.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:C.paginationEllipsisTextIndent,opacity:1,transition:`all ${C.motionDurationMid}`}},"&:hover":{[`${j}-item-link-icon`]:{opacity:1},[`${j}-item-ellipsis`]:{opacity:0}}},[`
|
|
|
${j}-prev,
|
|
|
${j}-jump-prev,
|
|
|
${j}-jump-next
|
|
|
`]:{marginInlineEnd:C.marginXS},[`
|
|
|
${j}-prev,
|
|
|
${j}-next,
|
|
|
${j}-jump-prev,
|
|
|
${j}-jump-next
|
|
|
`]:{display:"inline-block",minWidth:C.itemSize,height:C.itemSize,color:C.colorText,fontFamily:C.fontFamily,lineHeight:`${C.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:C.borderRadius,cursor:"pointer",transition:`all ${C.motionDurationMid}`},[`${j}-prev, ${j}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:C.colorText,cursor:"pointer",userSelect:"none"},[`${j}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:C.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${C.lineWidth}px ${C.lineType} transparent`,borderRadius:C.borderRadius,outline:"none",transition:`all ${C.motionDurationMid}`},[`&:hover ${j}-item-link`]:{backgroundColor:C.colorBgTextHover},[`&:active ${j}-item-link`]:{backgroundColor:C.colorBgTextActive},[`&${j}-disabled:hover`]:{[`${j}-item-link`]:{backgroundColor:"transparent"}}},[`${j}-slash`]:{marginInlineEnd:C.paginationSlashMarginInlineEnd,marginInlineStart:C.paginationSlashMarginInlineStart},[`${j}-options`]:{display:"inline-block",marginInlineStart:C.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:C.controlHeight,marginInlineStart:C.marginXS,lineHeight:`${C.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Oe.ik)(C)),{width:C.controlHeightLG*1.25,height:C.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:C.marginXS,marginInlineEnd:C.marginXS})}}}},Mt=C=>{const{componentCls:j}=C;return{[`${j}-item`]:{display:"inline-block",minWidth:C.itemSize,height:C.itemSize,marginInlineEnd:C.marginXS,fontFamily:C.fontFamily,lineHeight:`${C.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${C.lineWidth}px ${C.lineType} transparent`,borderRadius:C.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${C.paginationItemPaddingInline}px`,color:C.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${j}-item-active)`]:{"&:hover":{transition:`all ${C.motionDurationMid}`,backgroundColor:C.colorBgTextHover},"&:active":{backgroundColor:C.colorBgTextActive}},"&-active":{fontWeight:C.fontWeightStrong,backgroundColor:C.itemActiveBg,borderColor:C.colorPrimary,a:{color:C.colorPrimary},"&:hover":{borderColor:C.colorPrimaryHover},"&:hover a":{color:C.colorPrimaryHover}}}}},T=C=>{const{componentCls:j}=C;return{[j]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ut.Wf)(C)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${j}-total-text`]:{display:"inline-block",height:C.itemSize,marginInlineEnd:C.marginXS,lineHeight:`${C.itemSize-2}px`,verticalAlign:"middle"}}),Mt(C)),on(C)),Rt(C)),kt(C)),Ee(C)),{[`@media only screen and (max-width: ${C.screenLG}px)`]:{[`${j}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${C.screenSM}px)`]:{[`${j}-options`]:{display:"none"}}}),[`&${C.componentCls}-rtl`]:{direction:"rtl"}}},Ye=C=>{const{componentCls:j}=C;return{[`${j}${j}-disabled:not(${j}-mini)`]:{"&, &:hover":{[`${j}-item-link`]:{borderColor:C.colorBorder}},"&:focus-visible":{[`${j}-item-link`]:{borderColor:C.colorBorder}},[`${j}-item, ${j}-item-link`]:{backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder,[`&:hover:not(${j}-item-active)`]:{backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder,a:{color:C.colorTextDisabled}},[`&${j}-item-active`]:{backgroundColor:C.itemActiveBgDisabled}},[`${j}-prev, ${j}-next`]:{"&:hover button":{backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder,color:C.colorTextDisabled},[`${j}-item-link`]:{backgroundColor:C.colorBgContainerDisabled,borderColor:C.colorBorder}}},[`${j}:not(${j}-mini)`]:{[`${j}-prev, ${j}-next`]:{"&:hover button":{borderColor:C.colorPrimaryHover,backgroundColor:C.itemBg},[`${j}-item-link`]:{backgroundColor:C.itemLinkBg,borderColor:C.colorBorder},[`&:hover ${j}-item-link`]:{borderColor:C.colorPrimary,backgroundColor:C.itemBg,color:C.colorPrimary},[`&${j}-disabled`]:{[`${j}-item-link`]:{borderColor:C.colorBorder,color:C.colorTextDisabled}}},[`${j}-item`]:{backgroundColor:C.itemBg,border:`${C.lineWidth}px ${C.lineType} ${C.colorBorder}`,[`&:hover:not(${j}-item-active)`]:{borderColor:C.colorPrimary,backgroundColor:C.itemBg,a:{color:C.colorPrimary}},"&-active":{borderColor:C.colorPrimary}}}}},E=C=>{const{componentCls:j}=C;return{[`${j}:not(${j}-disabled)`]:{[`${j}-item`]:Object.assign({},(0,ut.Qy)(C)),[`${j}-jump-prev, ${j}-jump-next`]:{"&:focus-visible":Object.assign({[`${j}-item-link-icon`]:{opacity:1},[`${j}-item-ellipsis`]:{opacity:0}},(0,ut.oN)(C))},[`${j}-prev, ${j}-next`]:{[`&:focus-visible ${j}-item-link`]:Object.assign({},(0,ut.oN)(C))}}}};var u=(0,mt.Z)("Pagination",C=>{const j=(0,Ot.TS)(C,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:C.marginXXS/2,paginationMiniQuickJumperInputWidth:C.controlHeightLG*1.1,paginationItemPaddingInline:C.marginXXS*1.5,paginationEllipsisLetterSpacing:C.marginXXS/2,paginationSlashMarginInlineStart:C.marginXXS,paginationSlashMarginInlineEnd:C.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Oe.e5)(C),(0,Oe.TM)(C));return[T(j),E(j),C.wireframe&&Ye(j)]},C=>({itemBg:C.colorBgContainer,itemSize:C.controlHeight,itemSizeSM:C.controlHeightSM,itemActiveBg:C.colorBgContainer,itemLinkBg:C.colorBgContainer,itemActiveColorDisabled:C.colorTextDisabled,itemActiveBgDisabled:C.controlItemBgActiveDisabled,itemInputBg:C.colorBgContainer,miniOptionsSizeChangerTop:0})),a=function(C,j){var me={};for(var Ae in C)Object.prototype.hasOwnProperty.call(C,Ae)&&j.indexOf(Ae)<0&&(me[Ae]=C[Ae]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,Ae=Object.getOwnPropertySymbols(C);ie<Ae.length;ie++)j.indexOf(Ae[ie])<0&&Object.prototype.propertyIsEnumerable.call(C,Ae[ie])&&(me[Ae[ie]]=C[Ae[ie]]);return me},M=C=>{const{prefixCls:j,selectPrefixCls:me,className:Ae,rootClassName:ie,style:Se,size:Ge,locale:xe,selectComponentClass:He,responsive:Te,showSizeChanger:pe}=C,ge=a(C,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ve}=(0,ve.Z)(Te),{getPrefixCls:yt,direction:ht,pagination:Tt={}}=fe.useContext(Be.E_),sn=yt("pagination",j),[tn,pn]=u(sn),mn=pe!=null?pe:Tt.showSizeChanger,qt=fe.useMemo(()=>{const yn=fe.createElement("span",{className:`${sn}-item-ellipsis`},"\u2022\u2022\u2022"),Vr=fe.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},ht==="rtl"?fe.createElement(L.Z,null):fe.createElement(s.Z,null)),Nt=fe.createElement("button",{className:`${sn}-item-link`,type:"button",tabIndex:-1},ht==="rtl"?fe.createElement(s.Z,null):fe.createElement(L.Z,null)),qr=fe.createElement("a",{className:`${sn}-item-link`},fe.createElement("div",{className:`${sn}-item-container`},ht==="rtl"?fe.createElement(N.Z,{className:`${sn}-item-link-icon`}):fe.createElement(m,{className:`${sn}-item-link-icon`}),yn)),Yi=fe.createElement("a",{className:`${sn}-item-link`},fe.createElement("div",{className:`${sn}-item-container`},ht==="rtl"?fe.createElement(m,{className:`${sn}-item-link-icon`}):fe.createElement(N.Z,{className:`${sn}-item-link-icon`}),yn));return{prevIcon:Vr,nextIcon:Nt,jumpPrevIcon:qr,jumpNextIcon:Yi}},[ht,sn]),[gn]=(0,ee.Z)("Pagination",de.Z),Sn=Object.assign(Object.assign({},gn),xe),Jn=(0,ne.Z)(Ge),Br=Jn==="small"||!!(Ve&&!Jn&&Te),Xn=yt("select",me),zr=w()({[`${sn}-mini`]:Br,[`${sn}-rtl`]:ht==="rtl"},Tt==null?void 0:Tt.className,Ae,ie,pn),pi=Object.assign(Object.assign({},Tt==null?void 0:Tt.style),Se);return tn(fe.createElement(we,Object.assign({},qt,ge,{style:pi,prefixCls:sn,selectPrefixCls:Xn,className:zr,selectComponentClass:He||(Br?je:Pe),locale:Sn,showSizeChanger:mn})))},re=M},5112:function(tr,Ct,h){"use strict";h.d(Ct,{ZP:function(){return ve}});var ye=h(92310),fe=h.n(ye),H=h(18929),be=h(26112),R=h(59301),$=h(36355),v=h(19716);const m=R.createContext(null),N=m.Provider;var s=m;const L=R.createContext(null),S=L.Provider;var w=h(5630),x=h(8654),_=h(1684),B=h(32441),W=h(17313),Q=h(83116),q=h(37613);const Y=ee=>{const{componentCls:se,antCls:je}=ee,Pe=`${se}-group`;return{[Pe]:Object.assign(Object.assign({},(0,W.Wf)(ee)),{display:"inline-block",fontSize:0,[`&${Pe}-rtl`]:{direction:"rtl"},[`${je}-badge ${je}-badge-count`]:{zIndex:1},[`> ${je}-badge:not(:first-child) > ${je}-button-wrapper`]:{borderInlineStart:"none"}})}},G=ee=>{const{componentCls:se,wrapperMarginInlineEnd:je,colorPrimary:Pe,radioSize:Oe,motionDurationSlow:ut,motionDurationMid:mt,motionEaseInOutCirc:Ot,colorBgContainer:Ee,colorBorder:kt,lineWidth:Rt,dotSize:on,colorBgContainerDisabled:Mt,colorTextDisabled:T,paddingXS:Ye,dotColorDisabled:E,lineType:u,radioDotDisabledSize:a,wireframe:p,colorWhite:M}=ee,re=`${se}-inner`;return{[`${se}-wrapper`]:Object.assign(Object.assign({},(0,W.Wf)(ee)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:je,cursor:"pointer",[`&${se}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:ee.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${se}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Rt}px ${u} ${Pe}`,borderRadius:"50%",visibility:"hidden",content:'""'},[se]:Object.assign(Object.assign({},(0,W.Wf)(ee)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${se}-wrapper:hover &,
|
|
|
&:hover ${re}`]:{borderColor:Pe},[`${se}-input:focus-visible + ${re}`]:Object.assign({},(0,W.oN)(ee)),[`${se}:hover::after, ${se}-wrapper:hover &::after`]:{visibility:"visible"},[`${se}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:Oe,height:Oe,marginBlockStart:Oe/-2,marginInlineStart:Oe/-2,backgroundColor:p?Pe:M,borderBlockStart:0,borderInlineStart:0,borderRadius:Oe,transform:"scale(0)",opacity:0,transition:`all ${ut} ${Ot}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:Oe,height:Oe,backgroundColor:Ee,borderColor:kt,borderStyle:"solid",borderWidth:Rt,borderRadius:"50%",transition:`all ${mt}`},[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${se}-checked`]:{[re]:{borderColor:Pe,backgroundColor:p?Ee:Pe,"&::after":{transform:`scale(${on/Oe})`,opacity:1,transition:`all ${ut} ${Ot}`}}},[`${se}-disabled`]:{cursor:"not-allowed",[re]:{backgroundColor:Mt,borderColor:kt,cursor:"not-allowed","&::after":{backgroundColor:E}},[`${se}-input`]:{cursor:"not-allowed"},[`${se}-disabled + span`]:{color:T,cursor:"not-allowed"},[`&${se}-checked`]:{[re]:{"&::after":{transform:`scale(${a/Oe})`}}}},[`span${se} + *`]:{paddingInlineStart:Ye,paddingInlineEnd:Ye}})}},D=ee=>{const{buttonColor:se,controlHeight:je,componentCls:Pe,lineWidth:Oe,lineType:ut,colorBorder:mt,motionDurationSlow:Ot,motionDurationMid:Ee,buttonPaddingInline:kt,fontSize:Rt,buttonBg:on,fontSizeLG:Mt,controlHeightLG:T,controlHeightSM:Ye,paddingXS:E,borderRadius:u,borderRadiusSM:a,borderRadiusLG:p,buttonCheckedBg:M,buttonSolidCheckedColor:re,colorTextDisabled:C,colorBgContainerDisabled:j,buttonCheckedBgDisabled:me,buttonCheckedColorDisabled:Ae,colorPrimary:ie,colorPrimaryHover:Se,colorPrimaryActive:Ge,buttonSolidCheckedBg:xe,buttonSolidCheckedHoverBg:He,buttonSolidCheckedActiveBg:Te}=ee;return{[`${Pe}-button-wrapper`]:{position:"relative",display:"inline-block",height:je,margin:0,paddingInline:kt,paddingBlock:0,color:se,fontSize:Rt,lineHeight:`${je-Oe*2}px`,background:on,border:`${Oe}px ${ut} ${mt}`,borderBlockStartWidth:Oe+.02,borderInlineStartWidth:0,borderInlineEndWidth:Oe,cursor:"pointer",transition:[`color ${Ee}`,`background ${Ee}`,`box-shadow ${Ee}`].join(","),a:{color:se},[`> ${Pe}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-Oe,insetInlineStart:-Oe,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:Oe,paddingInline:0,backgroundColor:mt,transition:`background-color ${Ot}`,content:'""'}},"&:first-child":{borderInlineStart:`${Oe}px ${ut} ${mt}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${Pe}-group-large &`]:{height:T,fontSize:Mt,lineHeight:`${T-Oe*2}px`,"&:first-child":{borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p}},[`${Pe}-group-small &`]:{height:Ye,paddingInline:E-Oe,paddingBlock:0,lineHeight:`${Ye-Oe*2}px`,"&:first-child":{borderStartStartRadius:a,borderEndStartRadius:a},"&:last-child":{borderStartEndRadius:a,borderEndEndRadius:a}},"&:hover":{position:"relative",color:ie},"&:has(:focus-visible)":Object.assign({},(0,W.oN)(ee)),[`${Pe}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${Pe}-button-wrapper-disabled)`]:{zIndex:1,color:ie,background:M,borderColor:ie,"&::before":{backgroundColor:ie},"&:first-child":{borderColor:ie},"&:hover":{color:Se,borderColor:Se,"&::before":{backgroundColor:Se}},"&:active":{color:Ge,borderColor:Ge,"&::before":{backgroundColor:Ge}}},[`${Pe}-group-solid &-checked:not(${Pe}-button-wrapper-disabled)`]:{color:re,background:xe,borderColor:xe,"&:hover":{color:re,background:He,borderColor:He},"&:active":{color:re,background:Te,borderColor:Te}},"&-disabled":{color:C,backgroundColor:j,borderColor:mt,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:j,borderColor:mt}},[`&-disabled${Pe}-button-wrapper-checked`]:{color:Ae,backgroundColor:me,borderColor:mt,boxShadow:"none"}}}},O=ee=>ee-4*2;var J=(0,Q.Z)("Radio",ee=>{const{controlOutline:se,controlOutlineWidth:je,radioSize:Pe}=ee,Oe=`0 0 0 ${je}px ${se}`,ut=Oe,mt=O(Pe),Ot=(0,q.TS)(ee,{radioDotDisabledSize:mt,radioFocusShadow:Oe,radioButtonFocusShadow:ut});return[Y(Ot),G(Ot),D(Ot)]},ee=>{const{wireframe:se,padding:je,marginXS:Pe,lineWidth:Oe,fontSizeLG:ut,colorText:mt,colorBgContainer:Ot,colorTextDisabled:Ee,controlItemBgActiveDisabled:kt,colorTextLightSolid:Rt,colorPrimary:on,colorPrimaryHover:Mt,colorPrimaryActive:T}=ee,Ye=4,E=ut,u=se?O(E):E-(Ye+Oe)*2;return{radioSize:E,dotSize:u,dotColorDisabled:Ee,buttonSolidCheckedColor:Rt,buttonSolidCheckedBg:on,buttonSolidCheckedHoverBg:Mt,buttonSolidCheckedActiveBg:T,buttonBg:Ot,buttonCheckedBg:Ot,buttonColor:mt,buttonCheckedBgDisabled:kt,buttonCheckedColorDisabled:Ee,buttonPaddingInline:je-Oe,wrapperMarginInlineEnd:Pe}}),K=h(14088),le=h(4572),ae=function(ee,se){var je={};for(var Pe in ee)Object.prototype.hasOwnProperty.call(ee,Pe)&&se.indexOf(Pe)<0&&(je[Pe]=ee[Pe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Pe=Object.getOwnPropertySymbols(ee);Oe<Pe.length;Oe++)se.indexOf(Pe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ee,Pe[Oe])&&(je[Pe[Oe]]=ee[Pe[Oe]]);return je};const he=(ee,se)=>{var je,Pe;const Oe=R.useContext(s),ut=R.useContext(L),{getPrefixCls:mt,direction:Ot,radio:Ee}=R.useContext($.E_),kt=R.useRef(null),Rt=(0,x.sQ)(se,kt),{isFormItemInput:on}=R.useContext(B.aM),Mt=Ge=>{var xe,He;(xe=ee.onChange)===null||xe===void 0||xe.call(ee,Ge),(He=Oe==null?void 0:Oe.onChange)===null||He===void 0||He.call(Oe,Ge)},{prefixCls:T,className:Ye,rootClassName:E,children:u,style:a}=ee,p=ae(ee,["prefixCls","className","rootClassName","children","style"]),M=mt("radio",T),re=((Oe==null?void 0:Oe.optionType)||ut)==="button",C=re?`${M}-button`:M,[j,me]=J(M),Ae=Object.assign({},p),ie=R.useContext(_.Z);Oe&&(Ae.name=Oe.name,Ae.onChange=Mt,Ae.checked=ee.value===Oe.value,Ae.disabled=(je=Ae.disabled)!==null&&je!==void 0?je:Oe.disabled),Ae.disabled=(Pe=Ae.disabled)!==null&&Pe!==void 0?Pe:ie;const Se=fe()(`${C}-wrapper`,{[`${C}-wrapper-checked`]:Ae.checked,[`${C}-wrapper-disabled`]:Ae.disabled,[`${C}-wrapper-rtl`]:Ot==="rtl",[`${C}-wrapper-in-form-item`]:on},Ee==null?void 0:Ee.className,Ye,E,me);return j(R.createElement(K.Z,{component:"Radio",disabled:Ae.disabled},R.createElement("label",{className:Se,style:Object.assign(Object.assign({},Ee==null?void 0:Ee.style),a),onMouseEnter:ee.onMouseEnter,onMouseLeave:ee.onMouseLeave},R.createElement(w.Z,Object.assign({},Ae,{className:fe()(Ae.className,!re&&le.A),type:"radio",prefixCls:C,ref:Rt})),u!==void 0?R.createElement("span",null,u):null)))};var Ue=R.forwardRef(he);const F=R.forwardRef((ee,se)=>{const{getPrefixCls:je,direction:Pe}=R.useContext($.E_),[Oe,ut]=(0,H.Z)(ee.defaultValue,{value:ee.value}),mt=xe=>{const He=Oe,Te=xe.target.value;"value"in ee||ut(Te);const{onChange:pe}=ee;pe&&Te!==He&&pe(xe)},{prefixCls:Ot,className:Ee,rootClassName:kt,options:Rt,buttonStyle:on="outline",disabled:Mt,children:T,size:Ye,style:E,id:u,onMouseEnter:a,onMouseLeave:p,onFocus:M,onBlur:re}=ee,C=je("radio",Ot),j=`${C}-group`,[me,Ae]=J(C);let ie=T;Rt&&Rt.length>0&&(ie=Rt.map(xe=>typeof xe=="string"||typeof xe=="number"?R.createElement(Ue,{key:xe.toString(),prefixCls:C,disabled:Mt,value:xe,checked:Oe===xe},xe):R.createElement(Ue,{key:`radio-group-value-options-${xe.value}`,prefixCls:C,disabled:xe.disabled||Mt,value:xe.value,checked:Oe===xe.value,title:xe.title,style:xe.style},xe.label)));const Se=(0,v.Z)(Ye),Ge=fe()(j,`${j}-${on}`,{[`${j}-${Se}`]:Se,[`${j}-rtl`]:Pe==="rtl"},Ee,kt,Ae);return me(R.createElement("div",Object.assign({},(0,be.Z)(ee,{aria:!0,data:!0}),{className:Ge,style:E,onMouseEnter:a,onMouseLeave:p,onFocus:M,onBlur:re,id:u,ref:se}),R.createElement(N,{value:{onChange:mt,value:Oe,disabled:ee.disabled,name:ee.name,optionType:ee.optionType}},ie)))});var De=R.memo(F),we=function(ee,se){var je={};for(var Pe in ee)Object.prototype.hasOwnProperty.call(ee,Pe)&&se.indexOf(Pe)<0&&(je[Pe]=ee[Pe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Pe=Object.getOwnPropertySymbols(ee);Oe<Pe.length;Oe++)se.indexOf(Pe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ee,Pe[Oe])&&(je[Pe[Oe]]=ee[Pe[Oe]]);return je};const de=(ee,se)=>{const{getPrefixCls:je}=R.useContext($.E_),{prefixCls:Pe}=ee,Oe=we(ee,["prefixCls"]),ut=je("radio",Pe);return R.createElement(S,{value:"button"},R.createElement(Ue,Object.assign({prefixCls:ut},Oe,{type:"radio",ref:se})))};var Be=R.forwardRef(de);const ne=Ue;ne.Button=Be,ne.Group=De,ne.__ANT_RADIO=!0;var ve=ne},57809:function(tr,Ct,h){"use strict";var ye=h(92310),fe=h.n(ye),H=h(77861),be=h(2738),R=h(59301),$=h(53487),v=h(62892),m=h(19080),N=h(36355),s=h(1684),L=h(93891),S=h(19716),w=h(32441),x=h(33234),_=h(14154),B=h(58582),W=h(84443),Q=h(66339),q=function(J,K){var le={};for(var ae in J)Object.prototype.hasOwnProperty.call(J,ae)&&K.indexOf(ae)<0&&(le[ae]=J[ae]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var he=0,ae=Object.getOwnPropertySymbols(J);he<ae.length;he++)K.indexOf(ae[he])<0&&Object.prototype.propertyIsEnumerable.call(J,ae[he])&&(le[ae[he]]=J[ae[he]]);return le};const Y="SECRET_COMBOBOX_MODE_DO_NOT_USE",G=(J,K)=>{var le,{prefixCls:ae,bordered:he=!0,className:k,rootClassName:Ue,getPopupContainer:F,popupClassName:De,dropdownClassName:we,listHeight:de=256,placement:Be,listItemHeight:ne=24,size:ve,disabled:ee,notFoundContent:se,status:je,builtinPlacements:Pe,dropdownMatchSelectWidth:Oe,popupMatchSelectWidth:ut,direction:mt,style:Ot,allowClear:Ee}=J,kt=q(J,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Rt,getPrefixCls:on,renderEmpty:Mt,direction:T,virtual:Ye,popupMatchSelectWidth:E,popupOverflow:u,select:a}=R.useContext(N.E_),p=on("select",ae),M=on(),re=mt!=null?mt:T,{compactSize:C,compactItemClassnames:j}=(0,x.ri)(p,re),[me,Ae]=(0,_.Z)(p),ie=R.useMemo(()=>{const{mode:pi}=kt;if(pi!=="combobox")return pi===Y?"combobox":pi},[kt.mode]),Se=ie==="multiple"||ie==="tags",Ge=(0,W.Z)(kt.suffixIcon,kt.showArrow),xe=(le=ut!=null?ut:Oe)!==null&&le!==void 0?le:E,{status:He,hasFeedback:Te,isFormItemInput:pe,feedbackIcon:ge}=R.useContext(w.aM),Ve=(0,m.F)(He,je);let yt;se!==void 0?yt=se:ie==="combobox"?yt=null:yt=(Mt==null?void 0:Mt("Select"))||R.createElement(L.Z,{componentName:"Select"});const{suffixIcon:ht,itemIcon:Tt,removeIcon:sn,clearIcon:tn}=(0,Q.Z)(Object.assign(Object.assign({},kt),{multiple:Se,hasFeedback:Te,feedbackIcon:ge,showSuffixIcon:Ge,prefixCls:p,showArrow:kt.showArrow,componentName:"Select"})),pn=Ee===!0?{clearIcon:tn}:Ee,mn=(0,be.Z)(kt,["suffixIcon","itemIcon"]),qt=fe()(De||we,{[`${p}-dropdown-${re}`]:re==="rtl"},Ue,Ae),gn=(0,S.Z)(pi=>{var yn;return(yn=ve!=null?ve:C)!==null&&yn!==void 0?yn:pi}),Sn=R.useContext(s.Z),Jn=ee!=null?ee:Sn,Br=fe()({[`${p}-lg`]:gn==="large",[`${p}-sm`]:gn==="small",[`${p}-rtl`]:re==="rtl",[`${p}-borderless`]:!he,[`${p}-in-form-item`]:pe},(0,m.Z)(p,Ve,Te),j,a==null?void 0:a.className,k,Ue,Ae),Xn=R.useMemo(()=>Be!==void 0?Be:re==="rtl"?"bottomRight":"bottomLeft",[Be,re]),zr=(0,B.Z)(Pe,u);return me(R.createElement(H.ZP,Object.assign({ref:K,virtual:Ye,showSearch:a==null?void 0:a.showSearch},mn,{style:Object.assign(Object.assign({},a==null?void 0:a.style),Ot),dropdownMatchSelectWidth:xe,builtinPlacements:zr,transitionName:(0,v.m)(M,"slide-up",kt.transitionName),listHeight:de,listItemHeight:ne,mode:ie,prefixCls:p,placement:Xn,direction:re,suffixIcon:ht,menuItemSelectedIcon:Tt,removeIcon:sn,allowClear:pn,notFoundContent:yt,className:Br,getPopupContainer:F||Rt,dropdownClassName:qt,disabled:Jn})))},D=R.forwardRef(G),O=(0,$.Z)(D);D.SECRET_COMBOBOX_MODE_DO_NOT_USE=Y,D.Option=H.Wx,D.OptGroup=H.Xo,D._InternalPanelDoNotUseOrYouWillBeFired=O,Ct.default=D},14154:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return D}});var ye=h(17313),fe=h(74207),H=h(37613),be=h(83116),R=h(13826),$=h(92899);const v=O=>{const{optionHeight:J,optionFontSize:K,optionLineHeight:le,optionPadding:ae}=O;return{position:"relative",display:"block",minHeight:J,padding:ae,color:O.colorText,fontWeight:"normal",fontSize:K,lineHeight:le,boxSizing:"border-box"}};var N=O=>{const{antCls:J,componentCls:K}=O,le=`${K}-item`,ae=`&${J}-slide-up-enter${J}-slide-up-enter-active`,he=`&${J}-slide-up-appear${J}-slide-up-appear-active`,k=`&${J}-slide-up-leave${J}-slide-up-leave-active`,Ue=`${K}-dropdown-placement-`;return[{[`${K}-dropdown`]:Object.assign(Object.assign({},(0,ye.Wf)(O)),{position:"absolute",top:-9999,zIndex:O.zIndexPopup,boxSizing:"border-box",padding:O.paddingXXS,overflow:"hidden",fontSize:O.fontSize,fontVariant:"initial",backgroundColor:O.colorBgElevated,borderRadius:O.borderRadiusLG,outline:"none",boxShadow:O.boxShadowSecondary,[`
|
|
|
${ae}${Ue}bottomLeft,
|
|
|
${he}${Ue}bottomLeft
|
|
|
`]:{animationName:R.fJ},[`
|
|
|
${ae}${Ue}topLeft,
|
|
|
${he}${Ue}topLeft,
|
|
|
${ae}${Ue}topRight,
|
|
|
${he}${Ue}topRight
|
|
|
`]:{animationName:R.Qt},[`${k}${Ue}bottomLeft`]:{animationName:R.Uw},[`
|
|
|
${k}${Ue}topLeft,
|
|
|
${k}${Ue}topRight
|
|
|
`]:{animationName:R.ly},"&-hidden":{display:"none"},[`${le}`]:Object.assign(Object.assign({},v(O)),{cursor:"pointer",transition:`background ${O.motionDurationSlow} ease`,borderRadius:O.borderRadiusSM,"&-group":{color:O.colorTextDescription,fontSize:O.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},ye.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${le}-option-disabled)`]:{backgroundColor:O.optionActiveBg},[`&-selected:not(${le}-option-disabled)`]:{color:O.optionSelectedColor,fontWeight:O.optionSelectedFontWeight,backgroundColor:O.optionSelectedBg,[`${le}-option-state`]:{color:O.colorPrimary}},"&-disabled":{[`&${le}-option-selected`]:{backgroundColor:O.colorBgContainerDisabled},color:O.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:O.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,R.oN)(O,"slide-up"),(0,R.oN)(O,"slide-down"),(0,$.Fm)(O,"move-up"),(0,$.Fm)(O,"move-down")]};const s=2,L=O=>{let{controlHeightSM:J,controlHeight:K,lineWidth:le}=O;const ae=(K-J)/2-le,he=Math.ceil(ae/2);return[ae,he]};function S(O,J){const{componentCls:K,iconCls:le}=O,ae=`${K}-selection-overflow`,he=O.multipleSelectItemHeight,[k]=L(O),Ue=J?`${K}-${J}`:"";return{[`${K}-multiple${Ue}`]:{fontSize:O.fontSize,[ae]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${K}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${k-s}px ${s*2}px`,borderRadius:O.borderRadius,[`${K}-show-search&`]:{cursor:"text"},[`${K}-disabled&`]:{background:O.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${s}px 0`,lineHeight:`${he}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
|
&${K}-show-arrow ${K}-selector,
|
|
|
&${K}-allow-clear ${K}-selector
|
|
|
`]:{paddingInlineEnd:O.fontSizeIcon+O.controlPaddingHorizontal},[`${K}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:he,marginTop:s,marginBottom:s,lineHeight:`${he-O.lineWidth*2}px`,background:O.multipleItemBg,border:`${O.lineWidth}px ${O.lineType} ${O.multipleItemBorderColor}`,borderRadius:O.borderRadiusSM,cursor:"default",transition:`font-size ${O.motionDurationSlow}, line-height ${O.motionDurationSlow}, height ${O.motionDurationSlow}`,userSelect:"none",marginInlineEnd:s*2,paddingInlineStart:O.paddingXS,paddingInlineEnd:O.paddingXS/2,[`${K}-disabled&`]:{color:O.multipleItemColorDisabled,borderColor:O.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:O.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,ye.Ro)()),{display:"inline-flex",alignItems:"center",color:O.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${le}`]:{verticalAlign:"-0.2em"},"&:hover":{color:O.colorIconHover}})},[`${ae}-item + ${ae}-item`]:{[`${K}-selection-search`]:{marginInlineStart:0}},[`${K}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:O.inputPaddingHorizontalBase-k,"\n &-input,\n &-mirror\n ":{height:he,fontFamily:O.fontFamily,lineHeight:`${he}px`,transition:`all ${O.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${K}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:O.inputPaddingHorizontalBase,insetInlineEnd:O.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${O.motionDurationSlow}`}}}}var x=O=>{const{componentCls:J}=O,K=(0,H.TS)(O,{controlHeight:O.controlHeightSM,multipleSelectItemHeight:O.controlHeightXS,borderRadius:O.borderRadiusSM,borderRadiusSM:O.borderRadiusXS}),le=(0,H.TS)(O,{fontSize:O.fontSizeLG,controlHeight:O.controlHeightLG,multipleSelectItemHeight:O.multipleItemHeightLG,borderRadius:O.borderRadiusLG,borderRadiusSM:O.borderRadius}),[,ae]=L(O);return[S(O),S(K,"sm"),{[`${J}-multiple${J}-sm`]:{[`${J}-selection-placeholder`]:{insetInline:O.controlPaddingHorizontalSM-O.lineWidth},[`${J}-selection-search`]:{marginInlineStart:ae}}},S(le,"lg")]};function _(O,J){const{componentCls:K,inputPaddingHorizontalBase:le,borderRadius:ae}=O,he=O.controlHeight-O.lineWidth*2,k=Math.ceil(O.fontSize*1.25),Ue=J?`${K}-${J}`:"";return{[`${K}-single${Ue}`]:{fontSize:O.fontSize,[`${K}-selector`]:Object.assign(Object.assign({},(0,ye.Wf)(O)),{display:"flex",borderRadius:ae,[`${K}-selection-search`]:{position:"absolute",top:0,insetInlineStart:le,insetInlineEnd:le,bottom:0,"&-input":{width:"100%"}},[`
|
|
|
${K}-selection-item,
|
|
|
${K}-selection-placeholder
|
|
|
`]:{padding:0,lineHeight:`${he}px`,transition:`all ${O.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${he}px`}},[`${K}-selection-item`]:{position:"relative",userSelect:"none"},[`${K}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${K}-selection-item:after`,`${K}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
|
&${K}-show-arrow ${K}-selection-item,
|
|
|
&${K}-show-arrow ${K}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:k},[`&${K}-open ${K}-selection-item`]:{color:O.colorTextPlaceholder},[`&:not(${K}-customize-input)`]:{[`${K}-selector`]:{width:"100%",height:O.controlHeight,padding:`0 ${le}px`,[`${K}-selection-search-input`]:{height:he},"&:after":{lineHeight:`${he}px`}}},[`&${K}-customize-input`]:{[`${K}-selector`]:{"&:after":{display:"none"},[`${K}-selection-search`]:{position:"static",width:"100%"},[`${K}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${le}px`,"&:after":{display:"none"}}}}}}}function B(O){const{componentCls:J}=O,K=O.controlPaddingHorizontalSM-O.lineWidth;return[_(O),_((0,H.TS)(O,{controlHeight:O.controlHeightSM,borderRadius:O.borderRadiusSM}),"sm"),{[`${J}-single${J}-sm`]:{[`&:not(${J}-customize-input)`]:{[`${J}-selection-search`]:{insetInlineStart:K,insetInlineEnd:K},[`${J}-selector`]:{padding:`0 ${K}px`},[`&${J}-show-arrow ${J}-selection-search`]:{insetInlineEnd:K+O.fontSize*1.5},[`
|
|
|
&${J}-show-arrow ${J}-selection-item,
|
|
|
&${J}-show-arrow ${J}-selection-placeholder
|
|
|
`]:{paddingInlineEnd:O.fontSize*1.5}}}},_((0,H.TS)(O,{controlHeight:O.singleItemHeightLG,fontSize:O.fontSizeLG,borderRadius:O.borderRadiusLG}),"lg")]}const W=O=>{const{componentCls:J,selectorBg:K}=O;return{position:"relative",backgroundColor:K,border:`${O.lineWidth}px ${O.lineType} ${O.colorBorder}`,transition:`all ${O.motionDurationMid} ${O.motionEaseInOut}`,input:{cursor:"pointer"},[`${J}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${J}-disabled&`]:{color:O.colorTextDisabled,background:O.colorBgContainerDisabled,cursor:"not-allowed",[`${J}-multiple&`]:{background:O.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},Q=function(O,J){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:le,borderHoverColor:ae,outlineColor:he,antCls:k}=J,Ue=K?{[`${le}-selector`]:{borderColor:ae}}:{};return{[O]:{[`&:not(${le}-disabled):not(${le}-customize-input):not(${k}-pagination-size-changer)`]:Object.assign(Object.assign({},Ue),{[`${le}-focused& ${le}-selector`]:{borderColor:ae,boxShadow:`0 0 0 ${J.controlOutlineWidth}px ${he}`,outline:0},[`&:hover ${le}-selector`]:{borderColor:ae}})}}},q=O=>{const{componentCls:J}=O;return{[`${J}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Y=O=>{const{componentCls:J,inputPaddingHorizontalBase:K,iconCls:le}=O;return{[J]:Object.assign(Object.assign({},(0,ye.Wf)(O)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${J}-customize-input) ${J}-selector`]:Object.assign(Object.assign({},W(O)),q(O)),[`${J}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},ye.vS),[`${J}-selection-placeholder`]:Object.assign(Object.assign({},ye.vS),{flex:1,color:O.colorTextPlaceholder,pointerEvents:"none"}),[`${J}-arrow`]:Object.assign(Object.assign({},(0,ye.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:K,height:O.fontSizeIcon,marginTop:-O.fontSizeIcon/2,color:O.colorTextQuaternary,fontSize:O.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[le]:{verticalAlign:"top",transition:`transform ${O.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${J}-suffix)`]:{pointerEvents:"auto"}},[`${J}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${J}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:K,zIndex:1,display:"inline-block",width:O.fontSizeIcon,height:O.fontSizeIcon,marginTop:-O.fontSizeIcon/2,color:O.colorTextQuaternary,fontSize:O.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:O.clearBg,cursor:"pointer",opacity:0,transition:`color ${O.motionDurationMid} ease, opacity ${O.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:O.colorTextTertiary}},"&:hover":{[`${J}-clear`]:{opacity:1}}}),[`${J}-has-feedback`]:{[`${J}-clear`]:{insetInlineEnd:K+O.fontSize+O.paddingXS}}}},G=O=>{const{componentCls:J}=O;return[{[J]:{[`&-borderless ${J}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${J}-in-form-item`]:{width:"100%"}}},Y(O),B(O),x(O),N(O),{[`${J}-rtl`]:{direction:"rtl"}},Q(J,(0,H.TS)(O,{borderHoverColor:O.colorPrimaryHover,outlineColor:O.controlOutline})),Q(`${J}-status-error`,(0,H.TS)(O,{borderHoverColor:O.colorErrorHover,outlineColor:O.colorErrorOutline}),!0),Q(`${J}-status-warning`,(0,H.TS)(O,{borderHoverColor:O.colorWarningHover,outlineColor:O.colorWarningOutline}),!0),(0,fe.c)(O,{borderElCls:`${J}-selector`,focusElCls:`${J}-focused`})]};var D=(0,be.Z)("Select",(O,J)=>{let{rootPrefixCls:K}=J;const le=(0,H.TS)(O,{rootPrefixCls:K,inputPaddingHorizontalBase:O.paddingSM-1,multipleSelectItemHeight:O.multipleItemHeight});return[G(le)]},O=>{const{fontSize:J,lineHeight:K,controlHeight:le,controlPaddingHorizontal:ae,zIndexPopupBase:he,colorText:k,fontWeightStrong:Ue,controlItemBgActive:F,controlItemBgHover:De,colorBgContainer:we,colorFillSecondary:de,controlHeightLG:Be,controlHeightSM:ne,colorBgContainerDisabled:ve,colorTextDisabled:ee}=O;return{zIndexPopup:he+50,optionSelectedColor:k,optionSelectedFontWeight:Ue,optionSelectedBg:F,optionActiveBg:De,optionPadding:`${(le-J*K)/2}px ${ae}px`,optionFontSize:J,optionLineHeight:K,optionHeight:le,selectorBg:we,clearBg:we,singleItemHeightLG:Be,multipleItemBg:de,multipleItemBorderColor:"transparent",multipleItemHeight:ne,multipleItemHeightLG:le,multipleSelectorBgDisabled:ve,multipleItemColorDisabled:ee,multipleItemBorderColorDisabled:"transparent"}})},58582:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return fe}});const ye=H=>{const R={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:H==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},R),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},R),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},R),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},R),{points:["br","tr"],offset:[0,-4]})}};function fe(H,be){return H||ye(be)}},84443:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return ye}});function ye(fe,H){return H!==void 0?H:fe!==null}},66339:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});var ye=h(40001),fe=h(19248),H=h(99267),be=h(84105),R=h(58617),$=h(47472),v=h(59301);function m(N){let{suffixIcon:s,clearIcon:L,menuItemSelectedIcon:S,removeIcon:w,loading:x,multiple:_,hasFeedback:B,prefixCls:W,showSuffixIcon:Q,feedbackIcon:q,showArrow:Y,componentName:G}=N;const D=L!=null?L:v.createElement(fe.Z,null),O=ae=>s===null&&!B&&!Y?null:v.createElement(v.Fragment,null,Q!==!1&&ae,B&&q);let J=null;if(s!==void 0)J=O(s);else if(x)J=O(v.createElement(R.Z,{spin:!0}));else{const ae=`${W}-suffix`;J=he=>{let{open:k,showSearch:Ue}=he;return O(k&&Ue?v.createElement($.Z,{className:ae}):v.createElement(be.Z,{className:ae}))}}let K=null;S!==void 0?K=S:_?K=v.createElement(ye.Z,null):K=null;let le=null;return w!==void 0?le=w:le=v.createElement(H.Z,null),{clearIcon:D,suffixIcon:J,itemIcon:K,removeIcon:le}}},61621:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return u}});var ye=h(92310),fe=h.n(ye),H=h(59301),be=h(36355),R=h(2738),v=a=>{const{prefixCls:p,className:M,style:re,size:C,shape:j}=a,me=fe()({[`${p}-lg`]:C==="large",[`${p}-sm`]:C==="small"}),Ae=fe()({[`${p}-circle`]:j==="circle",[`${p}-square`]:j==="square",[`${p}-round`]:j==="round"}),ie=H.useMemo(()=>typeof C=="number"?{width:C,height:C,lineHeight:`${C}px`}:{},[C]);return H.createElement("span",{className:fe()(p,me,Ae,M),style:Object.assign(Object.assign({},ie),re)})},m=h(36237),N=h(83116),s=h(37613);const L=new m.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),S=a=>({height:a,lineHeight:`${a}px`}),w=a=>Object.assign({width:a},S(a)),x=a=>({background:a.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:L,animationDuration:a.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),_=a=>Object.assign({width:a*5,minWidth:a*5},S(a)),B=a=>{const{skeletonAvatarCls:p,gradientFromColor:M,controlHeight:re,controlHeightLG:C,controlHeightSM:j}=a;return{[`${p}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:M},w(re)),[`${p}${p}-circle`]:{borderRadius:"50%"},[`${p}${p}-lg`]:Object.assign({},w(C)),[`${p}${p}-sm`]:Object.assign({},w(j))}},W=a=>{const{controlHeight:p,borderRadiusSM:M,skeletonInputCls:re,controlHeightLG:C,controlHeightSM:j,gradientFromColor:me}=a;return{[`${re}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:me,borderRadius:M},_(p)),[`${re}-lg`]:Object.assign({},_(C)),[`${re}-sm`]:Object.assign({},_(j))}},Q=a=>Object.assign({width:a},S(a)),q=a=>{const{skeletonImageCls:p,imageSizeBase:M,gradientFromColor:re,borderRadiusSM:C}=a;return{[`${p}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:re,borderRadius:C},Q(M*2)),{[`${p}-path`]:{fill:"#bfbfbf"},[`${p}-svg`]:Object.assign(Object.assign({},Q(M)),{maxWidth:M*4,maxHeight:M*4}),[`${p}-svg${p}-svg-circle`]:{borderRadius:"50%"}}),[`${p}${p}-circle`]:{borderRadius:"50%"}}},Y=(a,p,M)=>{const{skeletonButtonCls:re}=a;return{[`${M}${re}-circle`]:{width:p,minWidth:p,borderRadius:"50%"},[`${M}${re}-round`]:{borderRadius:p}}},G=a=>Object.assign({width:a*2,minWidth:a*2},S(a)),D=a=>{const{borderRadiusSM:p,skeletonButtonCls:M,controlHeight:re,controlHeightLG:C,controlHeightSM:j,gradientFromColor:me}=a;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${M}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:me,borderRadius:p,width:re*2,minWidth:re*2},G(re))},Y(a,re,M)),{[`${M}-lg`]:Object.assign({},G(C))}),Y(a,C,`${M}-lg`)),{[`${M}-sm`]:Object.assign({},G(j))}),Y(a,j,`${M}-sm`))},O=a=>{const{componentCls:p,skeletonAvatarCls:M,skeletonTitleCls:re,skeletonParagraphCls:C,skeletonButtonCls:j,skeletonInputCls:me,skeletonImageCls:Ae,controlHeight:ie,controlHeightLG:Se,controlHeightSM:Ge,gradientFromColor:xe,padding:He,marginSM:Te,borderRadius:pe,titleHeight:ge,blockRadius:Ve,paragraphLiHeight:yt,controlHeightXS:ht,paragraphMarginTop:Tt}=a;return{[`${p}`]:{display:"table",width:"100%",[`${p}-header`]:{display:"table-cell",paddingInlineEnd:He,verticalAlign:"top",[`${M}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:xe},w(ie)),[`${M}-circle`]:{borderRadius:"50%"},[`${M}-lg`]:Object.assign({},w(Se)),[`${M}-sm`]:Object.assign({},w(Ge))},[`${p}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${re}`]:{width:"100%",height:ge,background:xe,borderRadius:Ve,[`+ ${C}`]:{marginBlockStart:Ge}},[`${C}`]:{padding:0,"> li":{width:"100%",height:yt,listStyle:"none",background:xe,borderRadius:Ve,"+ li":{marginBlockStart:ht}}},[`${C}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${p}-content`]:{[`${re}, ${C} > li`]:{borderRadius:pe}}},[`${p}-with-avatar ${p}-content`]:{[`${re}`]:{marginBlockStart:Te,[`+ ${C}`]:{marginBlockStart:Tt}}},[`${p}${p}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},D(a)),B(a)),W(a)),q(a)),[`${p}${p}-block`]:{width:"100%",[`${j}`]:{width:"100%"},[`${me}`]:{width:"100%"}},[`${p}${p}-active`]:{[`
|
|
|
${re},
|
|
|
${C} > li,
|
|
|
${M},
|
|
|
${j},
|
|
|
${me},
|
|
|
${Ae}
|
|
|
`]:Object.assign({},x(a))}}};var J=(0,N.Z)("Skeleton",a=>{const{componentCls:p}=a,M=(0,s.TS)(a,{skeletonAvatarCls:`${p}-avatar`,skeletonTitleCls:`${p}-title`,skeletonParagraphCls:`${p}-paragraph`,skeletonButtonCls:`${p}-button`,skeletonInputCls:`${p}-input`,skeletonImageCls:`${p}-image`,imageSizeBase:a.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${a.gradientFromColor} 25%, ${a.gradientToColor} 37%, ${a.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[O(M)]},a=>{const{colorFillContent:p,colorFill:M}=a,re=p,C=M;return{color:re,colorGradientEnd:C,gradientFromColor:re,gradientToColor:C,titleHeight:a.controlHeight/2,blockRadius:a.borderRadiusSM,paragraphMarginTop:a.marginLG+a.marginXXS,paragraphLiHeight:a.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),le=a=>{const{prefixCls:p,className:M,rootClassName:re,active:C,shape:j="circle",size:me="default"}=a,{getPrefixCls:Ae}=H.useContext(be.E_),ie=Ae("skeleton",p),[Se,Ge]=J(ie),xe=(0,R.Z)(a,["prefixCls","className"]),He=fe()(ie,`${ie}-element`,{[`${ie}-active`]:C},M,re,Ge);return Se(H.createElement("div",{className:He},H.createElement(v,Object.assign({prefixCls:`${ie}-avatar`,shape:j,size:me},xe))))},he=a=>{const{prefixCls:p,className:M,rootClassName:re,active:C,block:j=!1,size:me="default"}=a,{getPrefixCls:Ae}=H.useContext(be.E_),ie=Ae("skeleton",p),[Se,Ge]=J(ie),xe=(0,R.Z)(a,["prefixCls"]),He=fe()(ie,`${ie}-element`,{[`${ie}-active`]:C,[`${ie}-block`]:j},M,re,Ge);return Se(H.createElement("div",{className:He},H.createElement(v,Object.assign({prefixCls:`${ie}-button`,size:me},xe))))};const k="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var F=a=>{const{prefixCls:p,className:M,rootClassName:re,style:C,active:j}=a,{getPrefixCls:me}=H.useContext(be.E_),Ae=me("skeleton",p),[ie,Se]=J(Ae),Ge=fe()(Ae,`${Ae}-element`,{[`${Ae}-active`]:j},M,re,Se);return ie(H.createElement("div",{className:Ge},H.createElement("div",{className:fe()(`${Ae}-image`,M),style:C},H.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Ae}-image-svg`},H.createElement("path",{d:k,className:`${Ae}-image-path`})))))},we=a=>{const{prefixCls:p,className:M,rootClassName:re,active:C,block:j,size:me="default"}=a,{getPrefixCls:Ae}=H.useContext(be.E_),ie=Ae("skeleton",p),[Se,Ge]=J(ie),xe=(0,R.Z)(a,["prefixCls"]),He=fe()(ie,`${ie}-element`,{[`${ie}-active`]:C,[`${ie}-block`]:j},M,re,Ge);return Se(H.createElement("div",{className:He},H.createElement(v,Object.assign({prefixCls:`${ie}-input`,size:me},xe))))},de=h(54476),Be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},ne=Be,ve=h(7657),ee=function(p,M){return H.createElement(ve.Z,(0,de.Z)({},p,{ref:M,icon:ne}))},se=H.forwardRef(ee),je=se,Oe=a=>{const{prefixCls:p,className:M,rootClassName:re,style:C,active:j,children:me}=a,{getPrefixCls:Ae}=H.useContext(be.E_),ie=Ae("skeleton",p),[Se,Ge]=J(ie),xe=fe()(ie,`${ie}-element`,{[`${ie}-active`]:j},Ge,M,re),He=me!=null?me:H.createElement(je,null);return Se(H.createElement("div",{className:xe},H.createElement("div",{className:fe()(`${ie}-image`,M),style:C},He)))},ut=h(94480),Ot=a=>{const p=Ae=>{const{width:ie,rows:Se=2}=a;if(Array.isArray(ie))return ie[Ae];if(Se-1===Ae)return ie},{prefixCls:M,className:re,style:C,rows:j}=a,me=(0,ut.Z)(Array(j)).map((Ae,ie)=>H.createElement("li",{key:ie,style:{width:p(ie)}}));return H.createElement("ul",{className:fe()(M,re),style:C},me)},kt=a=>{let{prefixCls:p,className:M,width:re,style:C}=a;return H.createElement("h3",{className:fe()(p,M),style:Object.assign({width:re},C)})};function Rt(a){return a&&typeof a=="object"?a:{}}function on(a,p){return a&&!p?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Mt(a,p){return!a&&p?{width:"38%"}:a&&p?{width:"50%"}:{}}function T(a,p){const M={};return(!a||!p)&&(M.width="61%"),!a&&p?M.rows=3:M.rows=2,M}const Ye=a=>{const{prefixCls:p,loading:M,className:re,rootClassName:C,style:j,children:me,avatar:Ae=!1,title:ie=!0,paragraph:Se=!0,active:Ge,round:xe}=a,{getPrefixCls:He,direction:Te,skeleton:pe}=H.useContext(be.E_),ge=He("skeleton",p),[Ve,yt]=J(ge);if(M||!("loading"in a)){const ht=!!Ae,Tt=!!ie,sn=!!Se;let tn;if(ht){const qt=Object.assign(Object.assign({prefixCls:`${ge}-avatar`},on(Tt,sn)),Rt(Ae));tn=H.createElement("div",{className:`${ge}-header`},H.createElement(v,Object.assign({},qt)))}let pn;if(Tt||sn){let qt;if(Tt){const Sn=Object.assign(Object.assign({prefixCls:`${ge}-title`},Mt(ht,sn)),Rt(ie));qt=H.createElement(kt,Object.assign({},Sn))}let gn;if(sn){const Sn=Object.assign(Object.assign({prefixCls:`${ge}-paragraph`},T(ht,Tt)),Rt(Se));gn=H.createElement(Ot,Object.assign({},Sn))}pn=H.createElement("div",{className:`${ge}-content`},qt,gn)}const mn=fe()(ge,{[`${ge}-with-avatar`]:ht,[`${ge}-active`]:Ge,[`${ge}-rtl`]:Te==="rtl",[`${ge}-round`]:xe},pe==null?void 0:pe.className,re,C,yt);return Ve(H.createElement("div",{className:mn,style:Object.assign(Object.assign({},pe==null?void 0:pe.style),j)},tn,pn))}return typeof me!="undefined"?me:null};Ye.Button=he,Ye.Avatar=le,Ye.Input=we,Ye.Image=F,Ye.Node=Oe;var E=Ye,u=E},81327:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return W}});var ye=h(59301),fe=h(92310),H=h.n(fe),be=h(11592),R=h(36355),$=h(33234);const v=ye.createContext({latestIndex:0}),m=v.Provider;var s=Q=>{let{className:q,index:Y,children:G,split:D,style:O}=Q;const{latestIndex:J}=ye.useContext(v);return G==null?null:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:q,style:O},G),Y<J&&D&&ye.createElement("span",{className:`${q}-split`},D))},L=h(2856);function S(Q){return["small","middle","large"].includes(Q)}function w(Q){return Q?typeof Q=="number"&&!Number.isNaN(Q):!1}var x=function(Q,q){var Y={};for(var G in Q)Object.prototype.hasOwnProperty.call(Q,G)&&q.indexOf(G)<0&&(Y[G]=Q[G]);if(Q!=null&&typeof Object.getOwnPropertySymbols=="function")for(var D=0,G=Object.getOwnPropertySymbols(Q);D<G.length;D++)q.indexOf(G[D])<0&&Object.prototype.propertyIsEnumerable.call(Q,G[D])&&(Y[G[D]]=Q[G[D]]);return Y};const B=ye.forwardRef((Q,q)=>{var Y,G;const{getPrefixCls:D,space:O,direction:J}=ye.useContext(R.E_),{size:K=(O==null?void 0:O.size)||"small",align:le,className:ae,rootClassName:he,children:k,direction:Ue="horizontal",prefixCls:F,split:De,style:we,wrap:de=!1,classNames:Be,styles:ne}=Q,ve=x(Q,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[ee,se]=Array.isArray(K)?K:[K,K],je=S(se),Pe=S(ee),Oe=w(se),ut=w(ee),mt=(0,be.Z)(k,{keepEmpty:!0}),Ot=le===void 0&&Ue==="horizontal"?"center":le,Ee=D("space",F),[kt,Rt]=(0,L.Z)(Ee),on=H()(Ee,O==null?void 0:O.className,Rt,`${Ee}-${Ue}`,{[`${Ee}-rtl`]:J==="rtl",[`${Ee}-align-${Ot}`]:Ot,[`${Ee}-gap-row-${se}`]:je,[`${Ee}-gap-col-${ee}`]:Pe},ae,he),Mt=H()(`${Ee}-item`,(Y=Be==null?void 0:Be.item)!==null&&Y!==void 0?Y:(G=O==null?void 0:O.classNames)===null||G===void 0?void 0:G.item);let T=0;const Ye=mt.map((a,p)=>{var M,re;a!=null&&(T=p);const C=a&&a.key||`${Mt}-${p}`;return ye.createElement(s,{className:Mt,key:C,index:p,split:De,style:(M=ne==null?void 0:ne.item)!==null&&M!==void 0?M:(re=O==null?void 0:O.styles)===null||re===void 0?void 0:re.item},a)}),E=ye.useMemo(()=>({latestIndex:T}),[T]);if(mt.length===0)return null;const u={};return de&&(u.flexWrap="wrap"),!Pe&&ut&&(u.columnGap=ee),!je&&Oe&&(u.rowGap=se),kt(ye.createElement("div",Object.assign({ref:q,className:on,style:Object.assign(Object.assign(Object.assign({},u),O==null?void 0:O.style),we)},ve),ye.createElement(m,{value:E},Ye)))});B.Compact=$.ZP;var W=B},8378:function(tr,Ct){"use strict";const h=ye=>({[ye.componentCls]:{[`${ye.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${ye.motionDurationMid} ${ye.motionEaseInOut},
|
|
|
opacity ${ye.motionDurationMid} ${ye.motionEaseInOut} !important`}},[`${ye.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${ye.motionDurationMid} ${ye.motionEaseInOut},
|
|
|
opacity ${ye.motionDurationMid} ${ye.motionEaseInOut} !important`}}});Ct.Z=h},92899:function(tr,Ct,h){"use strict";h.d(Ct,{Fm:function(){return S}});var ye=h(36237),fe=h(95406);const H=new ye.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),be=new ye.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),R=new ye.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),$=new ye.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),v=new ye.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),m=new ye.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),N=new ye.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new ye.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:N,outKeyframes:s},"move-down":{inKeyframes:H,outKeyframes:be},"move-left":{inKeyframes:R,outKeyframes:$},"move-right":{inKeyframes:v,outKeyframes:m}},S=(w,x)=>{const{antCls:_}=w,B=`${_}-${x}`,{inKeyframes:W,outKeyframes:Q}=L[x];return[(0,fe.R)(B,W,Q,w.motionDurationMid),{[`
|
|
|
${B}-enter,
|
|
|
${B}-appear
|
|
|
`]:{opacity:0,animationTimingFunction:w.motionEaseOutCirc},[`${B}-leave`]:{animationTimingFunction:w.motionEaseInOutCirc}}]}},13826:function(tr,Ct,h){"use strict";h.d(Ct,{Qt:function(){return R},Uw:function(){return be},fJ:function(){return H},ly:function(){return $},oN:function(){return S}});var ye=h(36237),fe=h(95406);const H=new ye.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),be=new ye.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),R=new ye.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),$=new ye.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),v=new ye.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),m=new ye.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),N=new ye.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),s=new ye.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:H,outKeyframes:be},"slide-down":{inKeyframes:R,outKeyframes:$},"slide-left":{inKeyframes:v,outKeyframes:m},"slide-right":{inKeyframes:N,outKeyframes:s}},S=(w,x)=>{const{antCls:_}=w,B=`${_}-${x}`,{inKeyframes:W,outKeyframes:Q}=L[x];return[(0,fe.R)(B,W,Q,w.motionDurationMid),{[`
|
|
|
${B}-enter,
|
|
|
${B}-appear
|
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:w.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${B}-leave`]:{animationTimingFunction:w.motionEaseInQuint}}]}},15969:function(tr,Ct,h){"use strict";h.d(Ct,{N:function(){return ye}});const ye=fe=>({color:fe.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${fe.motionDurationSlow}`,"&:focus, &:hover":{color:fe.colorLinkHover},"&:active":{color:fe.colorLinkActive}})},1710:function(tr,Ct,h){"use strict";h.d(Ct,{default:function(){return sh}});var ye={},fe="rc-table-internal-hook",H=h(42978),be=h(6089),R=h(34280),$=h(13697),v=h(59301),m=h(4676);function N(te){var ce=v.createContext(void 0),Qe=function(ot){var at=ot.value,Et=ot.children,It=v.useRef(at);It.current=at;var bt=v.useState(function(){return{getValue:function(){return It.current},listeners:new Set}}),Kt=(0,H.Z)(bt,1),an=Kt[0];return(0,R.Z)(function(){(0,m.unstable_batchedUpdates)(function(){an.listeners.forEach(function(Vt){Vt(at)})})},[at]),v.createElement(ce.Provider,{value:an},Et)};return{Context:ce,Provider:Qe,defaultValue:te}}function s(te,ce){var Qe=(0,be.Z)(typeof ce=="function"?ce:function(Vt){if(ce===void 0)return Vt;if(!Array.isArray(ce))return Vt[ce];var Dn={};return ce.forEach(function(xn){Dn[xn]=Vt[xn]}),Dn}),We=v.useContext(te==null?void 0:te.Context),ot=We||{},at=ot.listeners,Et=ot.getValue,It=v.useRef();It.current=Qe(We?Et():te==null?void 0:te.defaultValue);var bt=v.useState({}),Kt=(0,H.Z)(bt,2),an=Kt[1];return(0,R.Z)(function(){if(!We)return;function Vt(Dn){var xn=Qe(Dn);(0,$.Z)(It.current,xn,!0)||an({})}return at.add(Vt),function(){at.delete(Vt)}},[We]),It.current}var L=h(54476),S=h(8654);function w(){var te=v.createContext(null);function ce(){return v.useContext(te)}function Qe(ot,at){var Et=(0,S.Yr)(ot),It=function(Kt,an){var Vt=Et?{ref:an}:{},Dn=v.useRef(0),xn=v.useRef(Kt),On=ce();return On!==null?v.createElement(ot,(0,L.Z)({},Kt,Vt)):((!at||at(xn.current,Kt))&&(Dn.current+=1),xn.current=Kt,v.createElement(te.Provider,{value:Dn.current},v.createElement(ot,(0,L.Z)({},Kt,Vt))))};return Et?v.forwardRef(It):It}function We(ot,at){var Et=(0,S.Yr)(ot),It=function(Kt,an){var Vt=Et?{ref:an}:{};return ce(),v.createElement(ot,(0,L.Z)({},Kt,Vt))};return Et?v.memo(v.forwardRef(It),at):v.memo(It,at)}return{makeImmutable:Qe,responseImmutable:We,useImmutableMark:ce}}var x=w(),_=x.makeImmutable,B=x.responseImmutable,W=x.useImmutableMark,Q=w(),q=Q.makeImmutable,Y=Q.responseImmutable,G=Q.useImmutableMark,D=N(),O=D;function J(te,ce){var Qe=v.useRef(0);Qe.current+=1;var We=v.useRef(te),ot=[];Object.keys(te||{}).map(function(Et){var It;(te==null?void 0:te[Et])!==((It=We.current)===null||It===void 0?void 0:It[Et])&&ot.push(Et)}),We.current=te;var at=v.useRef([]);return ot.length&&(at.current=ot),v.useDebugValue(Qe.current),v.useDebugValue(at.current.join(", ")),ce&&console.log("".concat(ce,":"),Qe.current,at.current),Qe.current}var K=null,le=v.memo(function(){var te=J();return v.createElement("h1",null,"Render Times: ",te)});le.displayName="RenderBlock";var ae=h(76190),he=h(33885),k=h(20068),Ue=h(92310),F=h.n(Ue),De=h(80547),we=h(97938),de=h(48736),Be=v.createContext({renderWithProps:!1}),ne=Be,ve="RC_TABLE_KEY";function ee(te){return te==null?[]:Array.isArray(te)?te:[te]}function se(te){var ce=[],Qe={};return te.forEach(function(We){for(var ot=We||{},at=ot.key,Et=ot.dataIndex,It=at||ee(Et).join("-")||ve;Qe[It];)It="".concat(It,"_next");Qe[It]=!0,ce.push(It)}),ce}function je(te){return te!=null}function Pe(te){return te&&(0,ae.Z)(te)==="object"&&!Array.isArray(te)&&!v.isValidElement(te)}function Oe(te,ce,Qe,We,ot,at){var Et=v.useContext(ne),It=G(),bt=(0,De.Z)(function(){if(je(We))return[We];var Kt=ce==null||ce===""?[]:Array.isArray(ce)?ce:[ce],an=(0,we.Z)(te,Kt),Vt=an,Dn=void 0;if(ot){var xn=ot(an,te,Qe);Pe(xn)?(Vt=xn.children,Dn=xn.props,Et.renderWithProps=!0):Vt=xn}return[Vt,Dn]},[It,te,We,ce,ot,Qe],function(Kt,an){if(at){var Vt=(0,H.Z)(Kt,2),Dn=Vt[1],xn=(0,H.Z)(an,2),On=xn[1];return at(On,Dn)}return Et.renderWithProps?!0:!(0,$.Z)(Kt,an,!0)});return bt}function ut(te,ce,Qe,We){var ot=te+ce-1;return te<=We&&ot>=Qe}function mt(te,ce){return s(O,function(Qe){var We=ut(te,ce||1,Qe.hoverStartRow,Qe.hoverEndRow);return[We,Qe.onHover]})}var Ot=function(ce){var Qe=ce.ellipsis,We=ce.rowType,ot=ce.children,at,Et=Qe===!0?{showTitle:!0}:Qe;return Et&&(Et.showTitle||We==="header")&&(typeof ot=="string"||typeof ot=="number"?at=ot.toString():v.isValidElement(ot)&&typeof ot.props.children=="string"&&(at=ot.props.children)),at};function Ee(te){var ce,Qe,We,ot,at,Et,It,bt,Kt=te.component,an=te.children,Vt=te.ellipsis,Dn=te.scope,xn=te.prefixCls,On=te.className,pr=te.align,er=te.record,fr=te.render,nr=te.dataIndex,xr=te.renderIndex,si=te.shouldCellUpdate,di=te.index,Wr=te.rowType,Ci=te.colSpan,Hi=te.rowSpan,Or=te.fixLeft,Yr=te.fixRight,Pr=te.firstFixLeft,br=te.lastFixLeft,Kr=te.firstFixRight,gi=te.lastFixRight,no=te.appendNode,Ri=te.additionalProps,fi=Ri===void 0?{}:Ri,Gi=te.isSticky,lo="".concat(xn,"-cell"),oa=s(O,["supportSticky","allColumnsFixedLeft"]),Eo=oa.supportSticky,ma=oa.allColumnsFixedLeft,Pa=Oe(er,nr,xr,an,fr,si),$i=(0,H.Z)(Pa,2),nA=$i[0],Do=$i[1],aa={},sa=typeof Or=="number"&&Eo,ss=typeof Yr=="number"&&Eo;sa&&(aa.position="sticky",aa.left=Or),ss&&(aa.position="sticky",aa.right=Yr);var Tr=(ce=(Qe=(We=Do==null?void 0:Do.colSpan)!==null&&We!==void 0?We:fi.colSpan)!==null&&Qe!==void 0?Qe:Ci)!==null&&ce!==void 0?ce:1,yi=(ot=(at=(Et=Do==null?void 0:Do.rowSpan)!==null&&Et!==void 0?Et:fi.rowSpan)!==null&&at!==void 0?at:Hi)!==null&&ot!==void 0?ot:1,mi=mt(di,yi),ii=(0,H.Z)(mi,2),Ro=ii[0],oi=ii[1],_i=function(mr){var qA;er&&oi(di,di+yi-1),fi==null||(qA=fi.onMouseEnter)===null||qA===void 0||qA.call(fi,mr)},fo=function(mr){var qA;er&&oi(-1,-1),fi==null||(qA=fi.onMouseLeave)===null||qA===void 0||qA.call(fi,mr)};if(Tr===0||yi===0)return null;var go=(It=fi.title)!==null&&It!==void 0?It:Ot({rowType:Wr,ellipsis:Vt,children:nA}),HA=F()(lo,On,(bt={},(0,k.Z)(bt,"".concat(lo,"-fix-left"),sa&&Eo),(0,k.Z)(bt,"".concat(lo,"-fix-left-first"),Pr&&Eo),(0,k.Z)(bt,"".concat(lo,"-fix-left-last"),br&&Eo),(0,k.Z)(bt,"".concat(lo,"-fix-left-all"),br&&ma&&Eo),(0,k.Z)(bt,"".concat(lo,"-fix-right"),ss&&Eo),(0,k.Z)(bt,"".concat(lo,"-fix-right-first"),Kr&&Eo),(0,k.Z)(bt,"".concat(lo,"-fix-right-last"),gi&&Eo),(0,k.Z)(bt,"".concat(lo,"-ellipsis"),Vt),(0,k.Z)(bt,"".concat(lo,"-with-append"),no),(0,k.Z)(bt,"".concat(lo,"-fix-sticky"),(sa||ss)&&Gi&&Eo),(0,k.Z)(bt,"".concat(lo,"-row-hover"),!Do&&Ro),bt),fi.className,Do==null?void 0:Do.className),Xa={};pr&&(Xa.textAlign=pr);var Ks=(0,he.Z)((0,he.Z)((0,he.Z)((0,he.Z)({},aa),fi.style),Xa),Do==null?void 0:Do.style),Ya=nA;return(0,ae.Z)(Ya)==="object"&&!Array.isArray(Ya)&&!v.isValidElement(Ya)&&(Ya=null),Vt&&(br||Kr)&&(Ya=v.createElement("span",{className:"".concat(lo,"-content")},Ya)),v.createElement(Kt,(0,L.Z)({},Do,fi,{className:HA,style:Ks,title:go,scope:Dn,onMouseEnter:_i,onMouseLeave:fo,colSpan:Tr!==1?Tr:null,rowSpan:yi!==1?yi:null}),no,Ya)}var kt=v.memo(Ee);function Rt(te,ce,Qe,We,ot,at){var Et=Qe[te]||{},It=Qe[ce]||{},bt,Kt;Et.fixed==="left"?bt=We.left[ot==="rtl"?ce:te]:It.fixed==="right"&&(Kt=We.right[ot==="rtl"?te:ce]);var an=!1,Vt=!1,Dn=!1,xn=!1,On=Qe[ce+1],pr=Qe[te-1],er=!(at!=null&&at.children);if(ot==="rtl"){if(bt!==void 0){var fr=pr&&pr.fixed==="left";xn=!fr&&er}else if(Kt!==void 0){var nr=On&&On.fixed==="right";Dn=!nr&&er}}else if(bt!==void 0){var xr=On&&On.fixed==="left";an=!xr&&er}else if(Kt!==void 0){var si=pr&&pr.fixed==="right";Vt=!si&&er}return{fixLeft:bt,fixRight:Kt,lastFixLeft:an,firstFixRight:Vt,lastFixRight:Dn,firstFixLeft:xn,isSticky:We.isSticky}}var on=v.createContext({}),Mt=on;function T(te){var ce=te.className,Qe=te.index,We=te.children,ot=te.colSpan,at=ot===void 0?1:ot,Et=te.rowSpan,It=te.align,bt=s(O,["prefixCls","direction"]),Kt=bt.prefixCls,an=bt.direction,Vt=v.useContext(Mt),Dn=Vt.scrollColumnIndex,xn=Vt.stickyOffsets,On=Vt.flattenColumns,pr=Vt.columns,er=Qe+at-1,fr=er+1===Dn?at+1:at,nr=Rt(Qe,Qe+fr-1,On,xn,an,pr==null?void 0:pr[Qe]);return v.createElement(kt,(0,L.Z)({className:ce,index:Qe,component:"td",prefixCls:Kt,record:null,dataIndex:null,align:It,colSpan:fr,rowSpan:Et,render:function(){return We}},nr))}var Ye=h(75931),E=["children"];function u(te){var ce=te.children,Qe=(0,Ye.Z)(te,E);return v.createElement("tr",Qe,ce)}function a(te){var ce=te.children;return ce}a.Row=u,a.Cell=T;var p=a;function M(te){var ce=te.children,Qe=te.stickyOffsets,We=te.flattenColumns,ot=te.columns,at=s(O,"prefixCls"),Et=We.length-1,It=We[Et],bt=v.useMemo(function(){return{stickyOffsets:Qe,flattenColumns:We,scrollColumnIndex:It!=null&&It.scrollbar?Et:null,columns:ot}},[It,We,Et,Qe,ot]);return v.createElement(Mt.Provider,{value:bt},v.createElement("tfoot",{className:"".concat(at,"-summary")},ce))}var re=Y(M),C=p,j=h(70425),me=h(29301),Ae=h(29194),ie=h(24514),Se=h(75152),Ge=h(26112);function xe(te,ce,Qe,We,ot,at,Et){te.push({record:ce,indent:Qe,index:Et});var It=at(ce),bt=ot==null?void 0:ot.has(It);if(ce&&Array.isArray(ce[We])&&bt)for(var Kt=0;Kt<ce[We].length;Kt+=1)xe(te,ce[We][Kt],Qe+1,We,ot,at,Kt)}function He(te,ce,Qe,We){var ot=v.useMemo(function(){if(Qe!=null&&Qe.size){for(var at=[],Et=0;Et<(te==null?void 0:te.length);Et+=1){var It=te[Et];xe(at,It,0,ce,Qe,We,Et)}return at}return te==null?void 0:te.map(function(bt,Kt){return{record:bt,indent:0,index:Kt}})},[te,ce,Qe,We]);return ot}function Te(te){var ce=te.prefixCls,Qe=te.children,We=te.component,ot=te.cellComponent,at=te.className,Et=te.expanded,It=te.colSpan,bt=te.isEmpty,Kt=s(O,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),an=Kt.scrollbarSize,Vt=Kt.fixHeader,Dn=Kt.fixColumn,xn=Kt.componentWidth,On=Kt.horizonScroll,pr=Qe;return(bt?On&&xn:Dn)&&(pr=v.createElement("div",{style:{width:xn-(Vt?an:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ce,"-expanded-row-fixed")},pr)),v.createElement(We,{className:at,style:{display:Et?null:"none"}},v.createElement(kt,{component:ot,prefixCls:ce,colSpan:It},pr))}var pe=Te;function ge(te,ce,Qe,We){var ot=s(O,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),at=ot.flattenColumns,Et=ot.expandableType,It=ot.expandedKeys,bt=ot.childrenColumnName,Kt=ot.onTriggerExpand,an=ot.rowExpandable,Vt=ot.onRow,Dn=ot.expandRowByClick,xn=ot.rowClassName,On=Et==="nest",pr=Et==="row"&&(!an||an(te)),er=pr||On,fr=It&&It.has(ce),nr=bt&&te&&te[bt],xr=(0,j.useEvent)(Kt),si=Vt==null?void 0:Vt(te,Qe),di=si==null?void 0:si.onClick,Wr=function(Yr){Dn&&er&&Kt(te,Yr);for(var Pr=arguments.length,br=new Array(Pr>1?Pr-1:0),Kr=1;Kr<Pr;Kr++)br[Kr-1]=arguments[Kr];di==null||di.apply(void 0,[Yr].concat(br))},Ci;typeof xn=="string"?Ci=xn:typeof xn=="function"&&(Ci=xn(te,Qe,We));var Hi=se(at);return(0,he.Z)((0,he.Z)({},ot),{},{columnsKey:Hi,nestExpandable:On,expanded:fr,hasNestChildren:nr,record:te,onTriggerExpand:xr,rowSupportExpand:pr,expandable:er,rowProps:(0,he.Z)((0,he.Z)({},si),{},{className:F()(Ci,si==null?void 0:si.className),onClick:Wr})})}function Ve(te,ce,Qe,We,ot){var at=te.record,Et=te.prefixCls,It=te.columnsKey,bt=te.fixedInfoList,Kt=te.expandIconColumnIndex,an=te.nestExpandable,Vt=te.indentSize,Dn=te.expandIcon,xn=te.expanded,On=te.hasNestChildren,pr=te.onTriggerExpand,er=It[Qe],fr=bt[Qe],nr;Qe===(Kt||0)&&an&&(nr=v.createElement(v.Fragment,null,v.createElement("span",{style:{paddingLeft:"".concat(Vt*We,"px")},className:"".concat(Et,"-row-indent indent-level-").concat(We)}),Dn({prefixCls:Et,expanded:xn,expandable:On,record:at,onExpand:pr})));var xr;return ce.onCell&&(xr=ce.onCell(at,ot)),{key:er,fixedInfo:fr,appendCellNode:nr,additionalCellProps:xr||{}}}function yt(te){var ce=te.className,Qe=te.style,We=te.record,ot=te.index,at=te.renderIndex,Et=te.rowKey,It=te.indent,bt=It===void 0?0:It,Kt=te.rowComponent,an=te.cellComponent,Vt=te.scopeCellComponent,Dn=ge(We,Et,ot,bt),xn=Dn.prefixCls,On=Dn.flattenColumns,pr=Dn.expandedRowClassName,er=Dn.expandedRowRender,fr=Dn.rowProps,nr=Dn.expanded,xr=Dn.rowSupportExpand,si=v.useState(!1),di=(0,H.Z)(si,2),Wr=di[0],Ci=di[1];v.useEffect(function(){nr&&Ci(!0)},[nr]);var Hi=v.createElement(Kt,(0,L.Z)({},fr,{"data-row-key":Et,className:F()(ce,"".concat(xn,"-row"),"".concat(xn,"-row-level-").concat(bt),fr==null?void 0:fr.className),style:(0,he.Z)((0,he.Z)({},Qe),fr==null?void 0:fr.style)}),On.map(function(br,Kr){var gi=br.render,no=br.dataIndex,Ri=br.className,fi=Ve(Dn,br,Kr,bt,ot),Gi=fi.key,lo=fi.fixedInfo,oa=fi.appendCellNode,Eo=fi.additionalCellProps;return v.createElement(kt,(0,L.Z)({className:Ri,ellipsis:br.ellipsis,align:br.align,scope:br.rowScope,component:br.rowScope?Vt:an,prefixCls:xn,key:Gi,record:We,index:ot,renderIndex:at,dataIndex:no,render:gi,shouldCellUpdate:br.shouldCellUpdate},lo,{appendNode:oa,additionalProps:Eo}))})),Or;if(xr&&(Wr||nr)){var Yr=er(We,ot,bt+1,nr),Pr=pr&&pr(We,ot,bt);Or=v.createElement(pe,{expanded:nr,className:F()("".concat(xn,"-expanded-row"),"".concat(xn,"-expanded-row-level-").concat(bt+1),Pr),prefixCls:xn,component:Kt,cellComponent:an,colSpan:On.length,isEmpty:!1},Yr)}return v.createElement(v.Fragment,null,Hi,Or)}yt.displayName="BodyRow";var ht=Y(yt);function Tt(te){var ce=te.columnKey,Qe=te.onColumnResize,We=v.useRef();return v.useEffect(function(){We.current&&Qe(ce,We.current.offsetWidth)},[]),v.createElement(me.Z,{data:ce},v.createElement("td",{ref:We,style:{padding:0,border:0,height:0}},v.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function sn(te){var ce=te.prefixCls,Qe=te.columnsKey,We=te.onColumnResize;return v.createElement("tr",{"aria-hidden":"true",className:"".concat(ce,"-measure-row"),style:{height:0,fontSize:0}},v.createElement(me.Z.Collection,{onBatchResize:function(at){at.forEach(function(Et){var It=Et.data,bt=Et.size;We(It,bt.offsetWidth)})}},Qe.map(function(ot){return v.createElement(Tt,{key:ot,columnKey:ot,onColumnResize:We})})))}function tn(te){var ce=te.data,Qe=te.measureColumnWidth,We=s(O,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ot=We.prefixCls,at=We.getComponent,Et=We.onColumnResize,It=We.flattenColumns,bt=We.getRowKey,Kt=We.expandedKeys,an=We.childrenColumnName,Vt=We.emptyNode,Dn=He(ce,an,Kt,bt),xn=v.useRef({renderWithProps:!1}),On=at(["body","wrapper"],"tbody"),pr=at(["body","row"],"tr"),er=at(["body","cell"],"td"),fr=at(["body","cell"],"th"),nr;ce.length?nr=Dn.map(function(si,di){var Wr=si.record,Ci=si.indent,Hi=si.index,Or=bt(Wr,di);return v.createElement(ht,{key:Or,rowKey:Or,record:Wr,index:di,renderIndex:Hi,rowComponent:pr,cellComponent:er,scopeCellComponent:fr,getRowKey:bt,indent:Ci})}):nr=v.createElement(pe,{expanded:!0,className:"".concat(ot,"-placeholder"),prefixCls:ot,component:pr,cellComponent:er,colSpan:It.length,isEmpty:!0},Vt);var xr=se(It);return v.createElement(ne.Provider,{value:xn.current},v.createElement(On,{className:"".concat(ot,"-tbody")},Qe&&v.createElement(sn,{prefixCls:ot,columnsKey:xr,onColumnResize:Et}),nr))}tn.displayName="Body";var pn=Y(tn),mn=["expandable"],qt="RC_TABLE_INTERNAL_COL_DEFINE";function gn(te){var ce=te.expandable,Qe=(0,Ye.Z)(te,mn),We;return"expandable"in te?We=(0,he.Z)((0,he.Z)({},Qe),ce):We=Qe,We.showExpandColumn===!1&&(We.expandIconColumnIndex=-1),We}var Sn=["columnType"];function Jn(te){for(var ce=te.colWidths,Qe=te.columns,We=te.columCount,ot=[],at=We||Qe.length,Et=!1,It=at-1;It>=0;It-=1){var bt=ce[It],Kt=Qe&&Qe[It],an=Kt&&Kt[qt];if(bt||an||Et){var Vt=an||{},Dn=Vt.columnType,xn=(0,Ye.Z)(Vt,Sn);ot.unshift(v.createElement("col",(0,L.Z)({key:It,style:{width:bt}},xn))),Et=!0}}return v.createElement("colgroup",null,ot)}var Br=Jn,Xn=h(94480),zr=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function pi(te,ce){return(0,v.useMemo)(function(){for(var Qe=[],We=0;We<ce;We+=1){var ot=te[We];if(ot!==void 0)Qe[We]=ot;else return null}return Qe},[te.join("_"),ce])}var yn=v.forwardRef(function(te,ce){var Qe=te.className,We=te.noData,ot=te.columns,at=te.flattenColumns,Et=te.colWidths,It=te.columCount,bt=te.stickyOffsets,Kt=te.direction,an=te.fixHeader,Vt=te.stickyTopOffset,Dn=te.stickyBottomOffset,xn=te.stickyClassName,On=te.onScroll,pr=te.maxContentScroll,er=te.children,fr=(0,Ye.Z)(te,zr),nr=s(O,["prefixCls","scrollbarSize","isSticky"]),xr=nr.prefixCls,si=nr.scrollbarSize,di=nr.isSticky,Wr=di&&!an?0:si,Ci=v.useRef(null),Hi=v.useCallback(function(Ri){(0,S.mH)(ce,Ri),(0,S.mH)(Ci,Ri)},[]);v.useEffect(function(){var Ri;function fi(Gi){var lo=Gi,oa=lo.currentTarget,Eo=lo.deltaX;Eo&&(On({currentTarget:oa,scrollLeft:oa.scrollLeft+Eo}),Gi.preventDefault())}return(Ri=Ci.current)===null||Ri===void 0||Ri.addEventListener("wheel",fi),function(){var Gi;(Gi=Ci.current)===null||Gi===void 0||Gi.removeEventListener("wheel",fi)}},[]);var Or=v.useMemo(function(){return at.every(function(Ri){return Ri.width})},[at]),Yr=at[at.length-1],Pr={fixed:Yr?Yr.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(xr,"-cell-scrollbar")}}},br=(0,v.useMemo)(function(){return Wr?[].concat((0,Xn.Z)(ot),[Pr]):ot},[Wr,ot]),Kr=(0,v.useMemo)(function(){return Wr?[].concat((0,Xn.Z)(at),[Pr]):at},[Wr,at]),gi=(0,v.useMemo)(function(){var Ri=bt.right,fi=bt.left;return(0,he.Z)((0,he.Z)({},bt),{},{left:Kt==="rtl"?[].concat((0,Xn.Z)(fi.map(function(Gi){return Gi+Wr})),[0]):fi,right:Kt==="rtl"?Ri:[].concat((0,Xn.Z)(Ri.map(function(Gi){return Gi+Wr})),[0]),isSticky:di})},[Wr,bt,di]),no=pi(Et,It);return v.createElement("div",{style:(0,he.Z)({overflow:"hidden"},di?{top:Vt,bottom:Dn}:{}),ref:Hi,className:F()(Qe,(0,k.Z)({},xn,!!xn))},v.createElement("table",{style:{tableLayout:"fixed",visibility:We||no?null:"hidden"}},(!We||!pr||Or)&&v.createElement(Br,{colWidths:no?[].concat((0,Xn.Z)(no),[Wr]):[],columCount:It+1,columns:Kr}),er((0,he.Z)((0,he.Z)({},fr),{},{stickyOffsets:gi,columns:br,flattenColumns:Kr}))))});yn.displayName="FixedHolder";var Vr=v.memo(yn);function Nt(te){var ce=te.cells,Qe=te.stickyOffsets,We=te.flattenColumns,ot=te.rowComponent,at=te.cellComponent,Et=te.tdCellComponent,It=te.onHeaderRow,bt=te.index,Kt=s(O,["prefixCls","direction"]),an=Kt.prefixCls,Vt=Kt.direction,Dn;It&&(Dn=It(ce.map(function(On){return On.column}),bt));var xn=se(ce.map(function(On){return On.column}));return v.createElement(ot,Dn,ce.map(function(On,pr){var er=On.column,fr=Rt(On.colStart,On.colEnd,We,Qe,Vt,er),nr;return er&&er.onHeaderCell&&(nr=On.column.onHeaderCell(er)),v.createElement(kt,(0,L.Z)({},On,{scope:er.title?On.colSpan>1?"colgroup":"col":null,ellipsis:er.ellipsis,align:er.align,component:er.title?at:Et,prefixCls:an,key:xn[pr]},fr,{additionalProps:nr,rowType:"header"}))}))}Nt.displayName="HeaderRow";var qr=Nt;function Yi(te){var ce=[];function Qe(Et,It){var bt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ce[bt]=ce[bt]||[];var Kt=It,an=Et.filter(Boolean).map(function(Vt){var Dn={key:Vt.key,className:Vt.className||"",children:Vt.title,column:Vt,colStart:Kt},xn=1,On=Vt.children;return On&&On.length>0&&(xn=Qe(On,Kt,bt+1).reduce(function(pr,er){return pr+er},0),Dn.hasSubColumns=!0),"colSpan"in Vt&&(xn=Vt.colSpan),"rowSpan"in Vt&&(Dn.rowSpan=Vt.rowSpan),Dn.colSpan=xn,Dn.colEnd=Dn.colStart+xn-1,ce[bt].push(Dn),Kt+=xn,xn});return an}Qe(te,0);for(var We=ce.length,ot=function(It){ce[It].forEach(function(bt){!("rowSpan"in bt)&&!bt.hasSubColumns&&(bt.rowSpan=We-It)})},at=0;at<We;at+=1)ot(at);return ce}function bi(te){var ce=te.stickyOffsets,Qe=te.columns,We=te.flattenColumns,ot=te.onHeaderRow,at=s(O,["prefixCls","getComponent"]),Et=at.prefixCls,It=at.getComponent,bt=v.useMemo(function(){return Yi(Qe)},[Qe]),Kt=It(["header","wrapper"],"thead"),an=It(["header","row"],"tr"),Vt=It(["header","cell"],"th"),Dn=It(["header","cell"],"td");return v.createElement(Kt,{className:"".concat(Et,"-thead")},bt.map(function(xn,On){var pr=v.createElement(qr,{key:On,flattenColumns:We,cells:xn,stickyOffsets:ce,rowComponent:an,cellComponent:Vt,tdCellComponent:Dn,onHeaderRow:ot,index:On});return pr}))}var Pi=Y(bi),Io=h(11592);function Ni(te){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ce=="number"?ce:ce.endsWith("%")?te*parseFloat(ce)/100:null}function Qr(te,ce){return v.useMemo(function(){if(ce&&ce>0){var Qe=0,We=0;te.forEach(function(Kt){var an=Ni(ce,Kt.width);an?Qe+=an:We+=1});var ot=ce-Qe,at=We,Et=ot/We,It=0,bt=te.map(function(Kt){var an=(0,he.Z)({},Kt),Vt=Ni(ce,an.width);if(Vt)an.width=Vt;else{var Dn=Math.floor(Et);an.width=at===1?ot:Dn,ot-=Dn,at-=1}return It+=an.width,an});return[bt,It]}return[te,ce]},[te,ce])}var Ei=["children"],nt=["fixed"];function Jt(te){return(0,Io.Z)(te).filter(function(ce){return v.isValidElement(ce)}).map(function(ce){var Qe=ce.key,We=ce.props,ot=We.children,at=(0,Ye.Z)(We,Ei),Et=(0,he.Z)({key:Qe},at);return ot&&(Et.children=Jt(ot)),Et})}function An(te){var ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return te.filter(function(Qe){return Qe&&(0,ae.Z)(Qe)==="object"}).reduce(function(Qe,We,ot){var at=We.fixed,Et=at===!0?"left":at,It="".concat(ce,"-").concat(ot),bt=We.children;return bt&&bt.length>0?[].concat((0,Xn.Z)(Qe),(0,Xn.Z)(An(bt,It).map(function(Kt){return(0,he.Z)({fixed:Et},Kt)}))):[].concat((0,Xn.Z)(Qe),[(0,he.Z)((0,he.Z)({key:It},We),{},{fixed:Et})])},[])}function Ke(te){for(var ce=!0,Qe=0;Qe<te.length;Qe+=1){var We=te[Qe];if(ce&&We.fixed!=="left")ce=!1;else if(!ce&&We.fixed==="left"){warning(!1,"Index ".concat(Qe-1," of `columns` missing `fixed='left'` prop."));break}}for(var ot=!0,at=te.length-1;at>=0;at-=1){var Et=te[at];if(ot&&Et.fixed!=="right")ot=!1;else if(!ot&&Et.fixed==="right"){warning(!1,"Index ".concat(at+1," of `columns` missing `fixed='right'` prop."));break}}}function ze(te){return te.map(function(ce){var Qe=ce.fixed,We=(0,Ye.Z)(ce,nt),ot=Qe;return Qe==="left"?ot="right":Qe==="right"&&(ot="left"),(0,he.Z)({fixed:ot},We)})}function en(te,ce){var Qe=te.prefixCls,We=te.columns,ot=te.children,at=te.expandable,Et=te.expandedKeys,It=te.columnTitle,bt=te.getRowKey,Kt=te.onTriggerExpand,an=te.expandIcon,Vt=te.rowExpandable,Dn=te.expandIconColumnIndex,xn=te.direction,On=te.expandRowByClick,pr=te.columnWidth,er=te.fixed,fr=te.scrollWidth,nr=v.useMemo(function(){return We||Jt(ot)},[We,ot]),xr=v.useMemo(function(){if(at){var Yr,Pr=nr.slice();if(!Pr.includes(ye)){var br=Dn||0;br>=0&&Pr.splice(br,0,ye)}var Kr=Pr.indexOf(ye);Pr=Pr.filter(function(fi,Gi){return fi!==ye||Gi===Kr});var gi=nr[Kr],no;(er==="left"||er)&&!Dn?no="left":(er==="right"||er)&&Dn===nr.length?no="right":no=gi?gi.fixed:null;var Ri=(Yr={},(0,k.Z)(Yr,qt,{className:"".concat(Qe,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,k.Z)(Yr,"title",It),(0,k.Z)(Yr,"fixed",no),(0,k.Z)(Yr,"className","".concat(Qe,"-row-expand-icon-cell")),(0,k.Z)(Yr,"width",pr),(0,k.Z)(Yr,"render",function(Gi,lo,oa){var Eo=bt(lo,oa),ma=Et.has(Eo),Pa=Vt?Vt(lo):!0,$i=an({prefixCls:Qe,expanded:ma,expandable:Pa,record:lo,onExpand:Kt});return On?v.createElement("span",{onClick:function(Do){return Do.stopPropagation()}},$i):$i}),Yr);return Pr.map(function(fi){return fi===ye?Ri:fi})}return nr.filter(function(fi){return fi!==ye})},[at,nr,bt,Et,an,xn]),si=v.useMemo(function(){var Yr=xr;return ce&&(Yr=ce(Yr)),Yr.length||(Yr=[{render:function(){return null}}]),Yr},[ce,xr,xn]),di=v.useMemo(function(){return xn==="rtl"?ze(An(si)):An(si)},[si,xn,fr]),Wr=Qr(di,fr),Ci=(0,H.Z)(Wr,2),Hi=Ci[0],Or=Ci[1];return[si,Hi,Or]}var Zt=en;function Tn(te){var ce,Qe=te.prefixCls,We=te.record,ot=te.onExpand,at=te.expanded,Et=te.expandable,It="".concat(Qe,"-row-expand-icon");if(!Et)return v.createElement("span",{className:F()(It,"".concat(Qe,"-row-spaced"))});var bt=function(an){ot(We,an),an.stopPropagation()};return v.createElement("span",{className:F()(It,(ce={},(0,k.Z)(ce,"".concat(Qe,"-row-expanded"),at),(0,k.Z)(ce,"".concat(Qe,"-row-collapsed"),!at),ce)),onClick:bt})}function hn(te,ce,Qe){var We=[];function ot(at){(at||[]).forEach(function(Et,It){We.push(ce(Et,It)),ot(Et[Qe])})}return ot(te),We}function Un(te,ce,Qe){var We=gn(te),ot=We.expandIcon,at=We.expandedRowKeys,Et=We.defaultExpandedRowKeys,It=We.defaultExpandAllRows,bt=We.expandedRowRender,Kt=We.onExpand,an=We.onExpandedRowsChange,Vt=We.childrenColumnName,Dn=ot||Tn,xn=Vt||"children",On=v.useMemo(function(){return bt?"row":te.expandable&&te.internalHooks===fe&&te.expandable.__PARENT_RENDER_ICON__||ce.some(function(di){return di&&(0,ae.Z)(di)==="object"&&di[xn]})?"nest":!1},[!!bt,ce]),pr=v.useState(function(){return Et||(It?hn(ce,Qe,xn):[])}),er=(0,H.Z)(pr,2),fr=er[0],nr=er[1],xr=v.useMemo(function(){return new Set(at||fr||[])},[at,fr]),si=v.useCallback(function(di){var Wr=Qe(di,ce.indexOf(di)),Ci,Hi=xr.has(Wr);Hi?(xr.delete(Wr),Ci=(0,Xn.Z)(xr)):Ci=[].concat((0,Xn.Z)(xr),[Wr]),nr(Ci),Kt&&Kt(!Hi,di),an&&an(Ci)},[Qe,xr,ce,Kt,an]);return[We,On,xr,Dn,xn,si]}function Hn(te,ce,Qe,We){var ot=te.map(function(at,Et){return Rt(Et,Et,te,ce,Qe,We==null?void 0:We[Et])});return(0,De.Z)(function(){return ot},[ot],function(at,Et){return!(0,$.Z)(at,Et)})}function kn(te){var ce=(0,v.useRef)(te),Qe=(0,v.useState)({}),We=(0,H.Z)(Qe,2),ot=We[1],at=(0,v.useRef)(null),Et=(0,v.useRef)([]);function It(bt){Et.current.push(bt);var Kt=Promise.resolve();at.current=Kt,Kt.then(function(){if(at.current===Kt){var an=Et.current,Vt=ce.current;Et.current=[],an.forEach(function(Dn){ce.current=Dn(ce.current)}),at.current=null,Vt!==ce.current&&ot({})}})}return(0,v.useEffect)(function(){return function(){at.current=null}},[]),[ce.current,It]}function cr(te){var ce=(0,v.useRef)(te||null),Qe=(0,v.useRef)();function We(){window.clearTimeout(Qe.current)}function ot(Et){ce.current=Et,We(),Qe.current=window.setTimeout(function(){ce.current=null,Qe.current=void 0},100)}function at(){return ce.current}return(0,v.useEffect)(function(){return We},[]),[ot,at]}function Ln(){var te=v.useState(-1),ce=(0,H.Z)(te,2),Qe=ce[0],We=ce[1],ot=v.useState(-1),at=(0,H.Z)(ot,2),Et=at[0],It=at[1],bt=v.useCallback(function(Kt,an){We(Kt),It(an)},[]);return[Qe,Et,bt]}var qn=h(47273),sr=(0,qn.Z)()?window:null;function Kn(te,ce){var Qe=(0,ae.Z)(te)==="object"?te:{},We=Qe.offsetHeader,ot=We===void 0?0:We,at=Qe.offsetSummary,Et=at===void 0?0:at,It=Qe.offsetScroll,bt=It===void 0?0:It,Kt=Qe.getContainer,an=Kt===void 0?function(){return sr}:Kt,Vt=an()||sr;return v.useMemo(function(){var Dn=!!te;return{isSticky:Dn,stickyClassName:Dn?"".concat(ce,"-sticky-holder"):"",offsetHeader:ot,offsetSummary:Et,offsetScroll:bt,container:Vt}},[bt,ot,Et,ce,Vt])}function ur(te,ce,Qe){var We=(0,v.useMemo)(function(){for(var ot=[],at=[],Et=0,It=0,bt=0;bt<ce;bt+=1)if(Qe==="rtl"){at[bt]=It,It+=te[bt]||0;var Kt=ce-bt-1;ot[Kt]=Et,Et+=te[Kt]||0}else{ot[bt]=Et,Et+=te[bt]||0;var an=ce-bt-1;at[an]=It,It+=te[an]||0}return{left:ot,right:at}},[te,ce,Qe]);return We}var ir=ur;function Gr(te){var ce=te.className,Qe=te.children;return v.createElement("div",{className:ce},Qe)}var Er=Gr,Qn=h(8224),gt=h(55468),Ft=function(ce,Qe){var We,ot,at=ce.scrollBodyRef,Et=ce.onScroll,It=ce.offsetScroll,bt=ce.container,Kt=s(O,"prefixCls"),an=((We=at.current)===null||We===void 0?void 0:We.scrollWidth)||0,Vt=((ot=at.current)===null||ot===void 0?void 0:ot.clientWidth)||0,Dn=an&&Vt*(Vt/an),xn=v.useRef(),On=kn({scrollLeft:0,isHiddenScrollBar:!1}),pr=(0,H.Z)(On,2),er=pr[0],fr=pr[1],nr=v.useRef({delta:0,x:0}),xr=v.useState(!1),si=(0,H.Z)(xr,2),di=si[0],Wr=si[1],Ci=function(){Wr(!1)},Hi=function(Kr){Kr.persist(),nr.current.delta=Kr.pageX-er.scrollLeft,nr.current.x=0,Wr(!0),Kr.preventDefault()},Or=function(Kr){var gi,no=Kr||((gi=window)===null||gi===void 0?void 0:gi.event),Ri=no.buttons;if(!di||Ri===0){di&&Wr(!1);return}var fi=nr.current.x+Kr.pageX-nr.current.x-nr.current.delta;fi<=0&&(fi=0),fi+Dn>=Vt&&(fi=Vt-Dn),Et({scrollLeft:fi/Vt*(an+2)}),nr.current.x=Kr.pageX},Yr=function(){if(at.current){var Kr=(0,gt.os)(at.current).top,gi=Kr+at.current.offsetHeight,no=bt===window?document.documentElement.scrollTop+window.innerHeight:(0,gt.os)(bt).top+bt.clientHeight;gi-(0,Se.Z)()<=no||Kr>=no-It?fr(function(Ri){return(0,he.Z)((0,he.Z)({},Ri),{},{isHiddenScrollBar:!0})}):fr(function(Ri){return(0,he.Z)((0,he.Z)({},Ri),{},{isHiddenScrollBar:!1})})}},Pr=function(Kr){fr(function(gi){return(0,he.Z)((0,he.Z)({},gi),{},{scrollLeft:Kr/an*Vt||0})})};return v.useImperativeHandle(Qe,function(){return{setScrollLeft:Pr}}),v.useEffect(function(){var br=(0,Qn.Z)(document.body,"mouseup",Ci,!1),Kr=(0,Qn.Z)(document.body,"mousemove",Or,!1);return Yr(),function(){br.remove(),Kr.remove()}},[Dn,di]),v.useEffect(function(){var br=(0,Qn.Z)(bt,"scroll",Yr,!1),Kr=(0,Qn.Z)(window,"resize",Yr,!1);return function(){br.remove(),Kr.remove()}},[bt]),v.useEffect(function(){er.isHiddenScrollBar||fr(function(br){var Kr=at.current;return Kr?(0,he.Z)((0,he.Z)({},br),{},{scrollLeft:Kr.scrollLeft/Kr.scrollWidth*Kr.clientWidth}):br})},[er.isHiddenScrollBar]),an<=Vt||!Dn||er.isHiddenScrollBar?null:v.createElement("div",{style:{height:(0,Se.Z)(),width:Vt,bottom:It},className:"".concat(Kt,"-sticky-scroll")},v.createElement("div",{onMouseDown:Hi,ref:xn,className:F()("".concat(Kt,"-sticky-scroll-bar"),(0,k.Z)({},"".concat(Kt,"-sticky-scroll-bar-active"),di)),style:{width:"".concat(Dn,"px"),transform:"translate3d(".concat(er.scrollLeft,"px, 0, 0)")}}))},Qt=v.forwardRef(Ft);function Xt(te){return null}var Wt=Xt;function Pn(te){return null}var wn=Pn,ar="rc-table",wr=[],Nr={};function ni(){return"No Data"}function Mr(te){var ce,Qe=(0,he.Z)({rowKey:"key",prefixCls:ar,emptyText:ni},te),We=Qe.prefixCls,ot=Qe.className,at=Qe.rowClassName,Et=Qe.style,It=Qe.data,bt=Qe.rowKey,Kt=Qe.scroll,an=Qe.tableLayout,Vt=Qe.direction,Dn=Qe.title,xn=Qe.footer,On=Qe.summary,pr=Qe.caption,er=Qe.id,fr=Qe.showHeader,nr=Qe.components,xr=Qe.emptyText,si=Qe.onRow,di=Qe.onHeaderRow,Wr=Qe.internalHooks,Ci=Qe.transformColumns,Hi=Qe.internalRefs,Or=Qe.tailor,Yr=Qe.sticky,Pr=It||wr,br=!!Pr.length,Kr=Wr===fe,gi=v.useCallback(function($o,pa){return(0,we.Z)(nr,$o)||pa},[nr]),no=v.useMemo(function(){return typeof bt=="function"?bt:function($o){var pa=$o&&$o[bt];return pa}},[bt]),Ri=gi(["body"]),fi=Ln(),Gi=(0,H.Z)(fi,3),lo=Gi[0],oa=Gi[1],Eo=Gi[2],ma=Un(Qe,Pr,no),Pa=(0,H.Z)(ma,6),$i=Pa[0],nA=Pa[1],Do=Pa[2],aa=Pa[3],sa=Pa[4],ss=Pa[5],Tr=Kt==null?void 0:Kt.x,yi=v.useState(0),mi=(0,H.Z)(yi,2),ii=mi[0],Ro=mi[1],oi=Zt((0,he.Z)((0,he.Z)((0,he.Z)({},Qe),$i),{},{expandable:!!$i.expandedRowRender,columnTitle:$i.columnTitle,expandedKeys:Do,getRowKey:no,onTriggerExpand:ss,expandIcon:aa,expandIconColumnIndex:$i.expandIconColumnIndex,direction:Vt,scrollWidth:Kr&&Or&&typeof Tr=="number"?Tr:null}),Kr?Ci:null),_i=(0,H.Z)(oi,3),fo=_i[0],go=_i[1],HA=_i[2],Xa=HA!=null?HA:Tr,Ks=v.useMemo(function(){return{columns:fo,flattenColumns:go}},[fo,go]),Ya=v.useRef(),bs=v.useRef(),mr=v.useRef(),qA=v.useRef(),hc=v.useRef(),To=v.useState(!1),co=(0,H.Z)(To,2),Ea=co[0],uA=co[1],ha=v.useState(!1),ro=(0,H.Z)(ha,2),$A=ro[0],QA=ro[1],ls=kn(new Map),es=(0,H.Z)(ls,2),ts=es[0],Ps=es[1],El=se(go),Ds=El.map(function($o){return ts.get($o)}),Da=v.useMemo(function(){return Ds},[Ds.join("_")]),EA=ir(Da,go.length,Vt),rA=Kt&&je(Kt.y),Sa=Kt&&je(Xa)||!!$i.fixed,rl=Sa&&go.some(function($o){var pa=$o.fixed;return pa}),pl=v.useRef(),Sl=Kn(Yr,We),il=Sl.isSticky,uu=Sl.offsetHeader,ju=Sl.offsetSummary,mo=Sl.offsetScroll,la=Sl.stickyClassName,SA=Sl.container,Ba=v.useMemo(function(){return On==null?void 0:On(Pr)},[On,Pr]),IA=(rA||il)&&v.isValidElement(Ba)&&Ba.type===p&&Ba.props.fixed,PA,Ra,ol;rA&&(Ra={overflowY:"scroll",maxHeight:Kt.y}),Sa&&(PA={overflowX:"auto"},rA||(Ra={overflowY:"hidden"}),ol={width:Xa===!0?"auto":Xa,minWidth:"100%"});var du=v.useCallback(function($o,pa){(0,Ae.Z)(Ya.current)&&Ps(function(zs){if(zs.get($o)!==pa){var Zl=new Map(zs);return Zl.set($o,pa),Zl}return zs})},[]),fu=cr(null),Hu=(0,H.Z)(fu,2),Bd=Hu[0],Cd=Hu[1];function jc($o,pa){pa&&(typeof pa=="function"?pa($o):pa.scrollLeft!==$o&&(pa.scrollLeft=$o,pa.scrollLeft!==$o&&setTimeout(function(){pa.scrollLeft=$o},0)))}var al=(0,be.Z)(function($o){var pa=$o.currentTarget,zs=$o.scrollLeft,Zl=Vt==="rtl",Wl=typeof zs=="number"?zs:pa.scrollLeft,Of=pa||Nr;if(!Cd()||Cd()===Of){var Od;Bd(Of),jc(Wl,bs.current),jc(Wl,mr.current),jc(Wl,hc.current),jc(Wl,(Od=pl.current)===null||Od===void 0?void 0:Od.setScrollLeft)}var Nd=pa||bs.current;if(Nd){var Ld=Nd.scrollWidth,_d=Nd.clientWidth;if(Ld===_d){uA(!1),QA(!1);return}Zl?(uA(-Wl<Ld-_d),QA(-Wl>0)):(uA(Wl>0),QA(Wl<Ld-_d))}}),pc=function(){Sa&&mr.current?al({currentTarget:mr.current}):(uA(!1),QA(!1))},xd=function(pa){var zs=pa.width;zs!==ii&&(pc(),Ro(Ya.current?Ya.current.offsetWidth:zs))},$u=v.useRef(!1);v.useEffect(function(){$u.current&&pc()},[Sa,It,fo.length]),v.useEffect(function(){$u.current=!0},[]);var Ed=v.useState(0),ku=(0,H.Z)(Ed,2),gc=ku[0],Ku=ku[1],Ef=v.useState(!0),Sd=(0,H.Z)(Ef,2),Vo=Sd[0],zu=Sd[1];v.useEffect(function(){(!Or||!Kr)&&(mr.current instanceof Element?Ku((0,Se.o)(mr.current).width):Ku((0,Se.o)(qA.current).width)),zu((0,ie.G)("position","sticky"))},[]),v.useEffect(function(){Kr&&Hi&&(Hi.body.current=mr.current)});var Sf=v.useCallback(function($o){return v.createElement(v.Fragment,null,v.createElement(Pi,$o),IA==="top"&&v.createElement(re,$o,Ba))},[IA,Ba]),lh=v.useCallback(function($o){return v.createElement(re,$o,Ba)},[Ba]),If=gi(["table"],"table"),Id=v.useMemo(function(){return an||(rl?Xa==="max-content"?"auto":"fixed":rA||il||go.some(function($o){var pa=$o.ellipsis;return pa})?"fixed":"auto")},[rA,rl,go,an,il]),Fd,Zu={colWidths:Da,columCount:go.length,stickyOffsets:EA,onHeaderRow:di,fixHeader:rA,scroll:Kt},Ff=v.useMemo(function(){return br?null:typeof xr=="function"?xr():xr},[br,xr]),zl=v.createElement(pn,{data:Pr,measureColumnWidth:rA||Sa||il}),Ud=v.createElement(Br,{colWidths:go.map(function($o){var pa=$o.width;return pa}),columns:go}),Wu=pr!=null?v.createElement("caption",{className:"".concat(We,"-caption")},pr):void 0,Uf=(0,Ge.Z)(Qe,{data:!0}),hu=(0,Ge.Z)(Qe,{aria:!0});if(rA||il){var Vu;typeof Ri=="function"?(Vu=Ri(Pr,{scrollbarSize:gc,ref:mr,onScroll:al}),Zu.colWidths=go.map(function($o,pa){var zs=$o.width,Zl=pa===go.length-1?zs-gc:zs;return typeof Zl=="number"&&!Number.isNaN(Zl)?Zl:0})):Vu=v.createElement("div",{style:(0,he.Z)((0,he.Z)({},PA),Ra),onScroll:al,ref:mr,className:F()("".concat(We,"-body"))},v.createElement(If,(0,L.Z)({style:(0,he.Z)((0,he.Z)({},ol),{},{tableLayout:Id})},hu),Wu,Ud,zl,!IA&&Ba&&v.createElement(re,{stickyOffsets:EA,flattenColumns:go,columns:fo},Ba)));var FA=(0,he.Z)((0,he.Z)((0,he.Z)({noData:!Pr.length,maxContentScroll:Sa&&Xa==="max-content"},Zu),Ks),{},{direction:Vt,stickyClassName:la,onScroll:al});Fd=v.createElement(v.Fragment,null,fr!==!1&&v.createElement(Vr,(0,L.Z)({},FA,{stickyTopOffset:uu,className:"".concat(We,"-header"),ref:bs}),Sf),Vu,IA&&IA!=="top"&&v.createElement(Vr,(0,L.Z)({},FA,{stickyBottomOffset:ju,className:"".concat(We,"-summary"),ref:hc}),lh),il&&v.createElement(Qt,{ref:pl,offsetScroll:mo,scrollBodyRef:mr,onScroll:al,container:SA}))}else Fd=v.createElement("div",{style:(0,he.Z)((0,he.Z)({},PA),Ra),className:F()("".concat(We,"-content")),onScroll:al,ref:mr},v.createElement(If,(0,L.Z)({style:(0,he.Z)((0,he.Z)({},ol),{},{tableLayout:Id})},hu),Wu,Ud,fr!==!1&&v.createElement(Pi,(0,L.Z)({},Zu,Ks)),zl,Ba&&v.createElement(re,{stickyOffsets:EA,flattenColumns:go,columns:fo},Ba)));var Il=v.createElement("div",(0,L.Z)({className:F()(We,ot,(ce={},(0,k.Z)(ce,"".concat(We,"-rtl"),Vt==="rtl"),(0,k.Z)(ce,"".concat(We,"-ping-left"),Ea),(0,k.Z)(ce,"".concat(We,"-ping-right"),$A),(0,k.Z)(ce,"".concat(We,"-layout-fixed"),an==="fixed"),(0,k.Z)(ce,"".concat(We,"-fixed-header"),rA),(0,k.Z)(ce,"".concat(We,"-fixed-column"),rl),(0,k.Z)(ce,"".concat(We,"-scroll-horizontal"),Sa),(0,k.Z)(ce,"".concat(We,"-has-fix-left"),go[0]&&go[0].fixed),(0,k.Z)(ce,"".concat(We,"-has-fix-right"),go[go.length-1]&&go[go.length-1].fixed==="right"),ce)),style:Et,id:er,ref:Ya},Uf),Dn&&v.createElement(Er,{className:"".concat(We,"-title")},Dn(Pr)),v.createElement("div",{ref:qA,className:"".concat(We,"-container")},Fd),xn&&v.createElement(Er,{className:"".concat(We,"-footer")},xn(Pr)));Sa&&(Il=v.createElement(me.Z,{onResize:xd},Il));var Gu=Hn(go,EA,Vt,fo),ch=v.useMemo(function(){return{scrollX:Xa,prefixCls:We,getComponent:gi,scrollbarSize:gc,direction:Vt,fixedInfoList:Gu,isSticky:il,supportSticky:Vo,componentWidth:ii,fixHeader:rA,fixColumn:rl,horizonScroll:Sa,tableLayout:Id,rowClassName:at,expandedRowClassName:$i.expandedRowClassName,expandIcon:aa,expandableType:nA,expandRowByClick:$i.expandRowByClick,expandedRowRender:$i.expandedRowRender,onTriggerExpand:ss,expandIconColumnIndex:$i.expandIconColumnIndex,indentSize:$i.indentSize,allColumnsFixedLeft:go.every(function($o){return $o.fixed==="left"}),emptyNode:Ff,columns:fo,flattenColumns:go,onColumnResize:du,hoverStartRow:lo,hoverEndRow:oa,onHover:Eo,rowExpandable:$i.rowExpandable,onRow:si,getRowKey:no,expandedKeys:Do,childrenColumnName:sa}},[Xa,We,gi,gc,Vt,Gu,il,Vo,ii,rA,rl,Sa,Id,at,$i.expandedRowClassName,aa,nA,$i.expandRowByClick,$i.expandedRowRender,ss,$i.expandIconColumnIndex,$i.indentSize,Ff,fo,go,du,lo,oa,Eo,$i.rowExpandable,si,no,Do,sa]);return v.createElement(O.Provider,{value:ch},Il)}function Xr(te){return q(Mr,te)}var Ht=Xr();Ht.EXPAND_COLUMN=ye,Ht.INTERNAL_HOOKS=fe,Ht.Column=Wt,Ht.ColumnGroup=wn,Ht.Summary=C;var Zn=Ht,or=h(48911),Sr=N(null),Rr=N(null);function Yn(te,ce,Qe){var We=ce||1;return Qe[te+We]-(Qe[te]||0)}function hr(te){var ce=te.rowInfo,Qe=te.column,We=te.colIndex,ot=te.indent,at=te.index,Et=te.renderIndex,It=te.record,bt=te.style,Kt=te.className,an=te.inverse,Vt=te.getHeight,Dn=Qe.render,xn=Qe.dataIndex,On=Qe.className,pr=Qe.width,er=s(Rr,["columnsOffset"]),fr=er.columnsOffset,nr=Ve(ce,Qe,We,ot,at),xr=nr.key,si=nr.fixedInfo,di=nr.appendCellNode,Wr=nr.additionalCellProps,Ci=Wr.style,Hi=Wr.colSpan,Or=Hi===void 0?1:Hi,Yr=Wr.rowSpan,Pr=Yr===void 0?1:Yr,br=We-1,Kr=Yn(br,Or,fr),gi=Or>1?pr-Kr:0,no=(0,he.Z)((0,he.Z)((0,he.Z)({},Ci),bt),{},{flex:"0 0 ".concat(Kr,"px"),width:"".concat(Kr,"px"),marginRight:gi,pointerEvents:"auto"}),Ri=v.useMemo(function(){return an?Pr<=1:Or===0||Pr===0||Pr>1},[Pr,Or,an]);Ri?no.visibility="hidden":an&&(no.height=Vt==null?void 0:Vt(Pr));var fi=Ri?function(){return null}:Dn,Gi={};return(Pr===0||Or===0)&&(Gi.rowSpan=1,Gi.colSpan=1),v.createElement(kt,(0,L.Z)({className:F()(On,Kt),ellipsis:Qe.ellipsis,align:Qe.align,scope:Qe.rowScope,component:"div",prefixCls:ce.prefixCls,key:xr,record:It,index:at,renderIndex:Et,dataIndex:xn,render:fi,shouldCellUpdate:Qe.shouldCellUpdate},si,{appendNode:di,additionalProps:(0,he.Z)((0,he.Z)({},Wr),{},{style:no},Gi)}))}var jr=hr,kr=["data","index","className","rowKey","style","extra","getHeight"],ei=v.forwardRef(function(te,ce){var Qe=te.data,We=te.index,ot=te.className,at=te.rowKey,Et=te.style,It=te.extra,bt=te.getHeight,Kt=(0,Ye.Z)(te,kr),an=Qe.record,Vt=Qe.indent,Dn=Qe.index,xn=s(O,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),On=xn.scrollX,pr=xn.flattenColumns,er=xn.prefixCls,fr=xn.fixColumn,nr=xn.componentWidth,xr=ge(an,at,We,Vt),si=xr.rowSupportExpand,di=xr.expanded,Wr=xr.rowProps,Ci=xr.expandedRowRender,Hi=xr.expandedRowClassName,Or;if(si&&di){var Yr=Ci(an,We,Vt+1,di),Pr=Hi==null?void 0:Hi(an,We,Vt),br={};fr&&(br={style:(0,k.Z)({},"--virtual-width","".concat(nr,"px"))});var Kr="".concat(er,"-expanded-row-cell");Or=v.createElement("div",{className:F()("".concat(er,"-expanded-row"),"".concat(er,"-expanded-row-level-").concat(Vt+1),Pr)},v.createElement(kt,{component:"div",prefixCls:er,className:F()(Kr,(0,k.Z)({},"".concat(Kr,"-fixed"),fr)),additionalProps:br},Yr))}var gi=(0,he.Z)((0,he.Z)({},Et),{},{width:On});It&&(gi.position="absolute",gi.pointerEvents="none");var no=v.createElement("div",(0,L.Z)({},Wr,Kt,{ref:si?null:ce,className:F()(ot,"".concat(er,"-row"),Wr==null?void 0:Wr.className,(0,k.Z)({},"".concat(er,"-row-extra"),It)),style:(0,he.Z)((0,he.Z)({},gi),Wr==null?void 0:Wr.style)}),pr.map(function(Ri,fi){return v.createElement(jr,{key:fi,rowInfo:xr,column:Ri,colIndex:fi,indent:Vt,index:We,renderIndex:Dn,record:an,inverse:It,getHeight:bt})}));return si?v.createElement("div",{ref:ce},no,Or):no}),Ji=Y(ei),Cr=Ji,Wn=v.forwardRef(function(te,ce){var Qe=te.data,We=te.onScroll,ot=s(O,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),at=ot.flattenColumns,Et=ot.onColumnResize,It=ot.getRowKey,bt=ot.expandedKeys,Kt=ot.prefixCls,an=ot.childrenColumnName,Vt=ot.emptyNode,Dn=ot.scrollX,xn=s(Sr),On=xn.scrollY,pr=xn.listItemHeight,er=v.useRef(),fr=He(Qe,an,bt,It),nr=v.useMemo(function(){var Or=0;return at.map(function(Yr){var Pr=Yr.width,br=Yr.key;return Or+=Pr,[br,Pr,Or]})},[at]),xr=v.useMemo(function(){return nr.map(function(Or){return Or[2]})},[nr]);v.useEffect(function(){nr.forEach(function(Or){var Yr=(0,H.Z)(Or,2),Pr=Yr[0],br=Yr[1];Et(Pr,br)})},[nr]),v.useImperativeHandle(ce,function(){var Or={};return Object.defineProperty(Or,"scrollLeft",{get:function(){var Pr;return((Pr=er.current)===null||Pr===void 0?void 0:Pr.getScrollInfo().x)||0},set:function(Pr){var br;(br=er.current)===null||br===void 0||br.scrollTo({left:Pr})}}),Or});var si=function(Yr,Pr){var br,Kr=(br=fr[Pr])===null||br===void 0?void 0:br.record,gi=Yr.onCell;if(gi){var no,Ri=gi(Kr,Pr);return(no=Ri==null?void 0:Ri.rowSpan)!==null&&no!==void 0?no:1}return 1},di=function(Yr){var Pr=Yr.start,br=Yr.end,Kr=Yr.getSize,gi=Yr.offsetY;if(br<0)return null;for(var no=at.filter(function(Tr){return si(Tr,Pr)===0}),Ri=Pr,fi=function(yi){if(no=no.filter(function(mi){return si(mi,yi)===0}),!no.length)return Ri=yi,"break"},Gi=Pr;Gi>=0;Gi-=1){var lo=fi(Gi);if(lo==="break")break}for(var oa=at.filter(function(Tr){return si(Tr,br)!==1}),Eo=br,ma=function(yi){if(oa=oa.filter(function(mi){return si(mi,yi)!==1}),!oa.length)return Eo=Math.max(yi-1,br),"break"},Pa=br;Pa<fr.length;Pa+=1){var $i=ma(Pa);if($i==="break")break}for(var nA=[],Do=function(yi){var mi=fr[yi];if(!mi)return"continue";at.some(function(ii){return si(ii,yi)>1})&&nA.push(yi)},aa=Ri;aa<=Eo;aa+=1)var sa=Do(aa);var ss=nA.map(function(Tr){var yi=fr[Tr],mi=It(yi.record,Tr),ii=function(_i){var fo=Tr+_i-1,go=It(fr[fo].record,fo),HA=Kr(mi,go);return HA.bottom-HA.top},Ro=Kr(mi);return v.createElement(Cr,{key:Tr,data:yi,rowKey:mi,index:Tr,style:{top:-gi+Ro.top},extra:!0,getHeight:ii})});return ss},Wr=v.useMemo(function(){return{columnsOffset:xr}},[xr]),Ci="".concat(Kt,"-tbody"),Hi;return fr.length?Hi=v.createElement(or.Z,{fullHeight:!1,ref:er,className:F()(Ci,"".concat(Ci,"-virtual")),height:On,itemHeight:pr||24,data:fr,itemKey:function(Yr){return It(Yr.record)},scrollWidth:Dn,onVirtualScroll:function(Yr){var Pr=Yr.x;We({scrollLeft:Pr})},extraRender:di},function(Or,Yr,Pr){var br=It(Or.record,Yr);return v.createElement(Cr,(0,L.Z)({data:Or,rowKey:br,index:Yr},Pr))}):Hi=v.createElement("div",{className:F()("".concat(Kt,"-placeholder"))},v.createElement(kt,{component:"div",prefixCls:Kt},Vt)),v.createElement(Rr.Provider,{value:Wr},Hi)}),Fn=Y(Wn),Lr=Fn,Ur=function(ce,Qe){var We=Qe.ref,ot=Qe.onScroll;return v.createElement(Lr,{ref:We,data:ce,onScroll:ot})},Zr=100;function wi(te){var ce=te.columns,Qe=te.scroll,We=te.prefixCls,ot=We===void 0?ar:We,at=te.className,Et=te.listItemHeight,It=Qe||{},bt=It.x,Kt=It.y;typeof bt!="number"&&(bt=((ce||[]).length+1)*Zr),typeof Kt!="number"&&(Kt=500);var an=v.useMemo(function(){return{scrollY:Kt,listItemHeight:Et}},[Kt,Et]);return v.createElement(Sr.Provider,{value:an},v.createElement(Zn,(0,L.Z)({},te,{className:F()(at,"".concat(ot,"-virtual")),scroll:(0,he.Z)((0,he.Z)({},Qe),{},{x:bt}),components:{body:Ur},columns:ce,internalHooks:fe,tailor:!0})))}function Vi(te){return q(wi,te)}var zo=Vi(),uo=null;function Fo(te){return null}var Ir=Fo;function dr(te){return null}var Ai=dr,Ii=h(2738),so=h(68031),Za=h(36355),bo=h(93891),Zo=h(19716),Jo=h(8628),ja=h(31724),Na=h(58421),lA=h(71418),Xo=h(88088);function La(te){return function(Qe){let{prefixCls:We,onExpand:ot,record:at,expanded:Et,expandable:It}=Qe;const bt=`${We}-row-expand-icon`;return v.createElement("button",{type:"button",onClick:Kt=>{ot(at,Kt),Kt.stopPropagation()},className:F()(bt,{[`${bt}-spaced`]:!It,[`${bt}-expanded`]:It&&Et,[`${bt}-collapsed`]:It&&!Et}),"aria-label":Et?te.collapse:te.expand,"aria-expanded":Et})}}var cA=La;function vA(te,ce){return"key"in te&&te.key!==void 0&&te.key!==null?te.key:te.dataIndex?Array.isArray(te.dataIndex)?te.dataIndex.join("."):te.dataIndex:ce}function _a(te,ce){return ce?`${ce}-${te}`:`${te}`}function da(te,ce){return typeof te=="function"?te(ce):te}function qa(te,ce){const Qe=da(te,ce);return Object.prototype.toString.call(Qe)==="[object Object]"?"":Qe}var GA={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"},NA=GA,ms=h(7657),Is=function(ce,Qe){return v.createElement(ms.Z,(0,L.Z)({},ce,{ref:Qe,icon:NA}))},Fs=v.forwardRef(Is),yA=Fs,Ys=h(56762);function Us(te){const ce=v.useRef(te),Qe=(0,Ys.Z)();return[()=>ce.current,We=>{ce.current=We,Qe()}]}var Os=h(3113),jA=h(24905),wa=h(38854),Hr=h(64165),Di=h(20834),Bi=h(40875),Li=h(5112),po=h(17574),qo=h(47472),wA=h(92832);function Wa(te){let{value:ce,onChange:Qe,filterSearch:We,tablePrefixCls:ot,locale:at}=te;return We?v.createElement("div",{className:`${ot}-filter-dropdown-search`},v.createElement(wA.default,{prefix:v.createElement(qo.Z,null),placeholder:at.filterSearchPlaceholder,onChange:Qe,value:ce,htmlSize:1,className:`${ot}-filter-dropdown-search-input`})):null}var Ha=Wa,Va=h(10228);const Ns=te=>{const{keyCode:ce}=te;ce===Va.Z.ENTER&&te.stopPropagation()};var bl=v.forwardRef((te,ce)=>v.createElement("div",{className:te.className,onClick:Qe=>Qe.stopPropagation(),onKeyDown:Ns,ref:ce},te.children));function vs(te){let ce=[];return(te||[]).forEach(Qe=>{let{value:We,children:ot}=Qe;ce.push(We),ot&&(ce=[].concat((0,Xn.Z)(ce),(0,Xn.Z)(vs(ot))))}),ce}function LA(te){return te.some(ce=>{let{children:Qe}=ce;return Qe})}function pA(te,ce){return typeof ce=="string"||typeof ce=="number"?ce==null?void 0:ce.toString().toLowerCase().includes(te.trim().toLowerCase()):!1}function ea(te){let{filters:ce,prefixCls:Qe,filteredKeys:We,filterMultiple:ot,searchValue:at,filterSearch:Et}=te;return ce.map((It,bt)=>{const Kt=String(It.value);if(It.children)return{key:Kt||bt,label:It.text,popupClassName:`${Qe}-dropdown-submenu`,children:ea({filters:It.children,prefixCls:Qe,filteredKeys:We,filterMultiple:ot,searchValue:at,filterSearch:Et})};const an=ot?jA.default:Li.ZP,Vt={key:It.value!==void 0?Kt:bt,label:v.createElement(v.Fragment,null,v.createElement(an,{checked:We.includes(Kt)}),v.createElement("span",null,It.text))};return at.trim()?typeof Et=="function"?Et(at,It)?Vt:null:pA(at,It.text)?Vt:null:Vt})}function Js(te){var ce,Qe;const{tablePrefixCls:We,prefixCls:ot,column:at,dropdownPrefixCls:Et,columnKey:It,filterMultiple:bt,filterMode:Kt="menu",filterSearch:an=!1,filterState:Vt,triggerFilter:Dn,locale:xn,children:On,getPopupContainer:pr}=te,{filterDropdownOpen:er,onFilterDropdownOpenChange:fr,filterResetToDefaultFilteredValue:nr,defaultFilteredValue:xr,filterDropdownVisible:si,onFilterDropdownVisibleChange:di}=at,[Wr,Ci]=v.useState(!1),Hi=!!(Vt&&(!((ce=Vt.filteredKeys)===null||ce===void 0)&&ce.length||Vt.forceFiltered)),Or=oi=>{Ci(oi),fr==null||fr(oi),di==null||di(oi)},Yr=(Qe=er!=null?er:si)!==null&&Qe!==void 0?Qe:Wr,Pr=Vt==null?void 0:Vt.filteredKeys,[br,Kr]=Us(Pr||[]),gi=oi=>{let{selectedKeys:_i}=oi;Kr(_i)},no=(oi,_i)=>{let{node:fo,checked:go}=_i;gi(bt?{selectedKeys:oi}:{selectedKeys:go&&fo.key?[fo.key]:[]})};v.useEffect(()=>{Wr&&gi({selectedKeys:Pr||[]})},[Pr]);const[Ri,fi]=v.useState([]),Gi=oi=>{fi(oi)},[lo,oa]=v.useState(""),Eo=oi=>{const{value:_i}=oi.target;oa(_i)};v.useEffect(()=>{Wr||oa("")},[Wr]);const ma=oi=>{const _i=oi&&oi.length?oi:null;if(_i===null&&(!Vt||!Vt.filteredKeys)||(0,$.Z)(_i,Vt==null?void 0:Vt.filteredKeys,!0))return null;Dn({column:at,key:It,filteredKeys:_i})},Pa=()=>{Or(!1),ma(br())},$i=function(){let{confirm:oi,closeDropdown:_i}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};oi&&ma([]),_i&&Or(!1),oa(""),Kr(nr?(xr||[]).map(fo=>String(fo)):[])},nA=function(){let{closeDropdown:oi}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};oi&&Or(!1),ma(br())},Do=oi=>{oi&&Pr!==void 0&&Kr(Pr||[]),Or(oi),!oi&&!at.filterDropdown&&Pa()},aa=F()({[`${Et}-menu-without-submenu`]:!LA(at.filters||[])}),sa=oi=>{if(oi.target.checked){const _i=vs(at==null?void 0:at.filters).map(fo=>String(fo));Kr(_i)}else Kr([])},ss=oi=>{let{filters:_i}=oi;return(_i||[]).map((fo,go)=>{const HA=String(fo.value),Xa={title:fo.text,key:fo.value!==void 0?HA:go};return fo.children&&(Xa.children=ss({filters:fo.children})),Xa})},Tr=oi=>{var _i;return Object.assign(Object.assign({},oi),{text:oi.title,value:oi.key,children:((_i=oi.children)===null||_i===void 0?void 0:_i.map(fo=>Tr(fo)))||[]})};let yi;if(typeof at.filterDropdown=="function")yi=at.filterDropdown({prefixCls:`${Et}-custom`,setSelectedKeys:oi=>gi({selectedKeys:oi}),selectedKeys:br(),confirm:nA,clearFilters:$i,filters:at.filters,visible:Yr,close:()=>{Or(!1)}});else if(at.filterDropdown)yi=at.filterDropdown;else{const oi=br()||[],_i=()=>(at.filters||[]).length===0?v.createElement(Hr.Z,{image:Hr.Z.PRESENTED_IMAGE_SIMPLE,description:xn.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Kt==="tree"?v.createElement(v.Fragment,null,v.createElement(Ha,{filterSearch:an,value:lo,onChange:Eo,tablePrefixCls:We,locale:xn}),v.createElement("div",{className:`${We}-filter-dropdown-tree`},bt?v.createElement(jA.default,{checked:oi.length===vs(at.filters).length,indeterminate:oi.length>0&&oi.length<vs(at.filters).length,className:`${We}-filter-dropdown-checkall`,onChange:sa},xn.filterCheckall):null,v.createElement(po.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:bt,checkStrictly:!bt,className:`${Et}-menu`,onCheck:no,checkedKeys:oi,selectedKeys:oi,showIcon:!1,treeData:ss({filters:at.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:lo.trim()?go=>typeof an=="function"?an(lo,Tr(go)):pA(lo,go.title):void 0}))):v.createElement(v.Fragment,null,v.createElement(Ha,{filterSearch:an,value:lo,onChange:Eo,tablePrefixCls:We,locale:xn}),v.createElement(Di.default,{selectable:!0,multiple:bt,prefixCls:`${Et}-menu`,className:aa,onSelect:gi,onDeselect:gi,selectedKeys:oi,getPopupContainer:pr,openKeys:Ri,onOpenChange:Gi,items:ea({filters:at.filters||[],filterSearch:an,prefixCls:ot,filteredKeys:br(),filterMultiple:bt,searchValue:lo})})),fo=()=>nr?(0,$.Z)((xr||[]).map(go=>String(go)),oi,!0):oi.length===0;yi=v.createElement(v.Fragment,null,_i(),v.createElement("div",{className:`${ot}-dropdown-btns`},v.createElement(Os.ZP,{type:"link",size:"small",disabled:fo(),onClick:()=>$i()},xn.filterReset),v.createElement(Os.ZP,{type:"primary",size:"small",onClick:Pa},xn.filterConfirm)))}at.filterDropdown&&(yi=v.createElement(Bi.J,{selectable:void 0},yi));const mi=()=>v.createElement(bl,{className:`${ot}-dropdown`},yi);let ii;typeof at.filterIcon=="function"?ii=at.filterIcon(Hi):at.filterIcon?ii=at.filterIcon:ii=v.createElement(yA,null);const{direction:Ro}=v.useContext(Za.E_);return v.createElement("div",{className:`${ot}-column`},v.createElement("span",{className:`${We}-column-title`},On),v.createElement(wa.Z,{dropdownRender:mi,trigger:["click"],open:Yr,onOpenChange:Do,getPopupContainer:pr,placement:Ro==="rtl"?"bottomLeft":"bottomRight"},v.createElement("span",{role:"button",tabIndex:-1,className:F()(`${ot}-trigger`,{active:Hi}),onClick:oi=>{oi.stopPropagation()}},ii)))}var Rl=Js;function XA(te,ce,Qe){let We=[];return(te||[]).forEach((ot,at)=>{var Et;const It=_a(at,Qe);if(ot.filters||"filterDropdown"in ot||"onFilter"in ot)if("filteredValue"in ot){let bt=ot.filteredValue;"filterDropdown"in ot||(bt=(Et=bt==null?void 0:bt.map(String))!==null&&Et!==void 0?Et:bt),We.push({column:ot,key:vA(ot,It),filteredKeys:bt,forceFiltered:ot.filtered})}else We.push({column:ot,key:vA(ot,It),filteredKeys:ce&&ot.defaultFilteredValue?ot.defaultFilteredValue:void 0,forceFiltered:ot.filtered});"children"in ot&&(We=[].concat((0,Xn.Z)(We),(0,Xn.Z)(XA(ot.children,ce,It))))}),We}function qs(te,ce,Qe,We,ot,at,Et,It){return Qe.map((bt,Kt)=>{const an=_a(Kt,It),{filterMultiple:Vt=!0,filterMode:Dn,filterSearch:xn}=bt;let On=bt;if(On.filters||On.filterDropdown){const pr=vA(On,an),er=We.find(fr=>{let{key:nr}=fr;return pr===nr});On=Object.assign(Object.assign({},On),{title:fr=>v.createElement(Rl,{tablePrefixCls:te,prefixCls:`${te}-filter`,dropdownPrefixCls:ce,column:On,columnKey:pr,filterState:er,filterMultiple:Vt,filterMode:Dn,filterSearch:xn,triggerFilter:at,locale:ot,getPopupContainer:Et},da(bt.title,fr))})}return"children"in On&&(On=Object.assign(Object.assign({},On),{children:qs(te,ce,On.children,We,ot,at,Et,an)})),On})}function as(te){const ce={};return te.forEach(Qe=>{let{key:We,filteredKeys:ot,column:at}=Qe;const{filters:Et,filterDropdown:It}=at;if(It)ce[We]=ot||null;else if(Array.isArray(ot)){const bt=vs(Et);ce[We]=bt.filter(Kt=>ot.includes(String(Kt)))}else ce[We]=null}),ce}function ac(te,ce){return ce.reduce((Qe,We)=>{const{column:{onFilter:ot,filters:at},filteredKeys:Et}=We;return ot&&Et&&Et.length?Qe.filter(It=>Et.some(bt=>{const Kt=vs(at),an=Kt.findIndex(Dn=>String(Dn)===String(bt)),Vt=an!==-1?Kt[an]:bt;return ot(Vt,It)})):Qe},te)}const ys=te=>te.flatMap(ce=>"children"in ce?[ce].concat((0,Xn.Z)(ys(ce.children||[]))):[ce]);function Ga(te){let{prefixCls:ce,dropdownPrefixCls:Qe,mergedColumns:We,onFilterChange:ot,getPopupContainer:at,locale:Et}=te;const It=v.useMemo(()=>ys(We||[]),[We]),[bt,Kt]=v.useState(()=>XA(It,!0)),an=v.useMemo(()=>{const On=XA(It,!1);if(On.length===0)return On;let pr=!0,er=!0;if(On.forEach(fr=>{let{filteredKeys:nr}=fr;nr!==void 0?pr=!1:er=!1}),pr){const fr=(It||[]).map((nr,xr)=>vA(nr,_a(xr)));return bt.filter(nr=>{let{key:xr}=nr;return fr.includes(xr)}).map(nr=>{const xr=It[fr.findIndex(si=>si===nr.key)];return Object.assign(Object.assign({},nr),{column:Object.assign(Object.assign({},nr.column),xr),forceFiltered:xr.filtered})})}return On},[It,bt]),Vt=v.useMemo(()=>as(an),[an]),Dn=On=>{const pr=an.filter(er=>{let{key:fr}=er;return fr!==On.key});pr.push(On),Kt(pr),ot(as(pr),pr)};return[On=>qs(ce,Qe,On,an,Et,Dn,at),an,Vt]}var Ac=Ga;function eA(te,ce,Qe){const We=v.useRef({});function ot(at){if(!We.current||We.current.data!==te||We.current.childrenColumnName!==ce||We.current.getRowKey!==Qe){let It=function(bt){bt.forEach((Kt,an)=>{const Vt=Qe(Kt,an);Et.set(Vt,Kt),Kt&&typeof Kt=="object"&&ce in Kt&&It(Kt[ce]||[])})};const Et=new Map;It(te),We.current={data:te,childrenColumnName:ce,kvMap:Et,getRowKey:Qe}}return We.current.kvMap.get(at)}return[ot]}var fl=h(50371),_s=function(te,ce){var Qe={};for(var We in te)Object.prototype.hasOwnProperty.call(te,We)&&ce.indexOf(We)<0&&(Qe[We]=te[We]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ot=0,We=Object.getOwnPropertySymbols(te);ot<We.length;ot++)ce.indexOf(We[ot])<0&&Object.prototype.propertyIsEnumerable.call(te,We[ot])&&(Qe[We[ot]]=te[We[ot]]);return Qe};const el=10;function xo(te,ce){const Qe={current:te.current,pageSize:te.pageSize};return Object.keys(ce&&typeof ce=="object"?ce:{}).forEach(ot=>{const at=te[ot];typeof at!="function"&&(Qe[ot]=at)}),Qe}function sc(te,ce,Qe){const We=Qe&&typeof Qe=="object"?Qe:{},{total:ot=0}=We,at=_s(We,["total"]),[Et,It]=(0,v.useState)(()=>({current:"defaultCurrent"in at?at.defaultCurrent:1,pageSize:"defaultPageSize"in at?at.defaultPageSize:el})),bt=(0,fl.Z)(Et,at,{total:ot>0?ot:te}),Kt=Math.ceil((ot||te)/bt.pageSize);bt.current>Kt&&(bt.current=Kt||1);const an=(Dn,xn)=>{It({current:Dn!=null?Dn:1,pageSize:xn||bt.pageSize})},Vt=(Dn,xn)=>{var On;Qe&&((On=Qe.onChange)===null||On===void 0||On.call(Qe,Dn,xn)),an(Dn,xn),ce(Dn,xn||(bt==null?void 0:bt.pageSize))};return Qe===!1?[{},()=>{}]:[Object.assign(Object.assign({},bt),{onChange:Vt}),an]}var lc=sc,_c=h(84105),xa=h(35654),Ki=h(90782),ji=h(71430),gA=h(18929);const Po={},ta="SELECT_ALL",na="SELECT_INVERT",Yo="SELECT_NONE",ba=[],YA=(te,ce)=>{let Qe=[];return(ce||[]).forEach(We=>{Qe.push(We),We&&typeof We=="object"&&te in We&&(Qe=[].concat((0,Xn.Z)(Qe),(0,Xn.Z)(YA(te,We[te]))))}),Qe};var $a=(te,ce)=>{const{preserveSelectedRowKeys:Qe,selectedRowKeys:We,defaultSelectedRowKeys:ot,getCheckboxProps:at,onChange:Et,onSelect:It,onSelectAll:bt,onSelectInvert:Kt,onSelectNone:an,onSelectMultiple:Vt,columnWidth:Dn,type:xn,selections:On,fixed:pr,renderCell:er,hideSelectAll:fr,checkStrictly:nr=!0}=ce||{},{prefixCls:xr,data:si,pageData:di,getRecordByKey:Wr,getRowKey:Ci,expandType:Hi,childrenColumnName:Or,locale:Yr,getPopupContainer:Pr}=te,[br,Kr]=(0,gA.Z)(We||ot||ba,{value:We}),gi=v.useRef(new Map),no=(0,v.useCallback)(Tr=>{if(Qe){const yi=new Map;Tr.forEach(mi=>{let ii=Wr(mi);!ii&&gi.current.has(mi)&&(ii=gi.current.get(mi)),yi.set(mi,ii)}),gi.current=yi}},[Wr,Qe]);v.useEffect(()=>{no(br)},[br]);const{keyEntities:Ri}=(0,v.useMemo)(()=>{if(nr)return{keyEntities:null};let Tr=si;if(Qe){const yi=new Set(si.map((ii,Ro)=>Ci(ii,Ro))),mi=Array.from(gi.current).reduce((ii,Ro)=>{let[oi,_i]=Ro;return yi.has(oi)?ii:ii.concat(_i)},[]);Tr=[].concat((0,Xn.Z)(Tr),(0,Xn.Z)(mi))}return(0,ji.I8)(Tr,{externalGetKey:Ci,childrenPropName:Or})},[si,Ci,nr,Or,Qe]),fi=(0,v.useMemo)(()=>YA(Or,di),[Or,di]),Gi=(0,v.useMemo)(()=>{const Tr=new Map;return fi.forEach((yi,mi)=>{const ii=Ci(yi,mi),Ro=(at?at(yi):null)||{};Tr.set(ii,Ro)}),Tr},[fi,Ci,at]),lo=(0,v.useCallback)(Tr=>{var yi;return!!(!((yi=Gi.get(Ci(Tr)))===null||yi===void 0)&&yi.disabled)},[Gi,Ci]),[oa,Eo]=(0,v.useMemo)(()=>{if(nr)return[br||[],[]];const{checkedKeys:Tr,halfCheckedKeys:yi}=(0,Ki.S)(br,!0,Ri,lo);return[Tr||[],yi]},[br,nr,Ri,lo]),ma=(0,v.useMemo)(()=>{const Tr=xn==="radio"?oa.slice(0,1):oa;return new Set(Tr)},[oa,xn]),Pa=(0,v.useMemo)(()=>xn==="radio"?new Set:new Set(Eo),[Eo,xn]),[$i,nA]=(0,v.useState)(null);v.useEffect(()=>{ce||Kr(ba)},[!!ce]);const Do=(0,v.useCallback)((Tr,yi)=>{let mi,ii;no(Tr),Qe?(mi=Tr,ii=Tr.map(Ro=>gi.current.get(Ro))):(mi=[],ii=[],Tr.forEach(Ro=>{const oi=Wr(Ro);oi!==void 0&&(mi.push(Ro),ii.push(oi))})),Kr(mi),Et==null||Et(mi,ii,{type:yi})},[Kr,Wr,Et,Qe]),aa=(0,v.useCallback)((Tr,yi,mi,ii)=>{if(It){const Ro=mi.map(oi=>Wr(oi));It(Wr(Tr),yi,Ro,ii)}Do(mi,"single")},[It,Wr,Do]),sa=(0,v.useMemo)(()=>!On||fr?null:(On===!0?[ta,na,Yo]:On).map(yi=>yi===ta?{key:"all",text:Yr.selectionAll,onSelect(){Do(si.map((mi,ii)=>Ci(mi,ii)).filter(mi=>{const ii=Gi.get(mi);return!(ii!=null&&ii.disabled)||ma.has(mi)}),"all")}}:yi===na?{key:"invert",text:Yr.selectInvert,onSelect(){const mi=new Set(ma);di.forEach((Ro,oi)=>{const _i=Ci(Ro,oi),fo=Gi.get(_i);fo!=null&&fo.disabled||(mi.has(_i)?mi.delete(_i):mi.add(_i))});const ii=Array.from(mi);Kt&&Kt(ii),Do(ii,"invert")}}:yi===Yo?{key:"none",text:Yr.selectNone,onSelect(){an==null||an(),Do(Array.from(ma).filter(mi=>{const ii=Gi.get(mi);return ii==null?void 0:ii.disabled}),"none")}}:yi).map(yi=>Object.assign(Object.assign({},yi),{onSelect:function(){for(var mi,ii,Ro=arguments.length,oi=new Array(Ro),_i=0;_i<Ro;_i++)oi[_i]=arguments[_i];(ii=yi.onSelect)===null||ii===void 0||(mi=ii).call.apply(mi,[yi].concat(oi)),nA(null)}})),[On,ma,di,Ci,Kt,Do]);return[(0,v.useCallback)(Tr=>{var yi;if(!ce)return Tr.filter(To=>To!==Po);let mi=(0,Xn.Z)(Tr);const ii=new Set(ma),Ro=fi.map(Ci).filter(To=>!Gi.get(To).disabled),oi=Ro.every(To=>ii.has(To)),_i=Ro.some(To=>ii.has(To)),fo=()=>{const To=[];oi?Ro.forEach(Ea=>{ii.delete(Ea),To.push(Ea)}):Ro.forEach(Ea=>{ii.has(Ea)||(ii.add(Ea),To.push(Ea))});const co=Array.from(ii);bt==null||bt(!oi,co.map(Ea=>Wr(Ea)),To.map(Ea=>Wr(Ea))),Do(co,"all"),nA(null)};let go;if(xn!=="radio"){let To;if(sa){const ro={getPopupContainer:Pr,items:sa.map(($A,QA)=>{const{key:ls,text:es,onSelect:ts}=$A;return{key:ls!=null?ls:QA,onClick:()=>{ts==null||ts(Ro)},label:es}})};To=v.createElement("div",{className:`${xr}-selection-extra`},v.createElement(wa.Z,{menu:ro,getPopupContainer:Pr},v.createElement("span",null,v.createElement(_c.Z,null))))}const co=fi.map((ro,$A)=>{const QA=Ci(ro,$A),ls=Gi.get(QA)||{};return Object.assign({checked:ii.has(QA)},ls)}).filter(ro=>{let{disabled:$A}=ro;return $A}),Ea=!!co.length&&co.length===fi.length,uA=Ea&&co.every(ro=>{let{checked:$A}=ro;return $A}),ha=Ea&&co.some(ro=>{let{checked:$A}=ro;return $A});go=!fr&&v.createElement("div",{className:`${xr}-selection`},v.createElement(jA.default,{checked:Ea?uA:!!fi.length&&oi,indeterminate:Ea?!uA&&ha:!oi&&_i,onChange:fo,disabled:fi.length===0||Ea,"aria-label":To?"Custom selection":"Select all",skipGroup:!0}),To)}let HA;xn==="radio"?HA=(To,co,Ea)=>{const uA=Ci(co,Ea),ha=ii.has(uA);return{node:v.createElement(Li.ZP,Object.assign({},Gi.get(uA),{checked:ha,onClick:ro=>ro.stopPropagation(),onChange:ro=>{ii.has(uA)||aa(uA,!0,[uA],ro.nativeEvent)}})),checked:ha}}:HA=(To,co,Ea)=>{var uA;const ha=Ci(co,Ea),ro=ii.has(ha),$A=Pa.has(ha),QA=Gi.get(ha);let ls;return Hi==="nest"?ls=$A:ls=(uA=QA==null?void 0:QA.indeterminate)!==null&&uA!==void 0?uA:$A,{node:v.createElement(jA.default,Object.assign({},QA,{indeterminate:ls,checked:ro,skipGroup:!0,onClick:es=>es.stopPropagation(),onChange:es=>{let{nativeEvent:ts}=es;const{shiftKey:Ps}=ts;let El=-1,Ds=-1;if(Ps&&nr){const Da=new Set([$i,ha]);Ro.some((EA,rA)=>{if(Da.has(EA))if(El===-1)El=rA;else return Ds=rA,!0;return!1})}if(Ds!==-1&&El!==Ds&&nr){const Da=Ro.slice(El,Ds+1),EA=[];ro?Da.forEach(Sa=>{ii.has(Sa)&&(EA.push(Sa),ii.delete(Sa))}):Da.forEach(Sa=>{ii.has(Sa)||(EA.push(Sa),ii.add(Sa))});const rA=Array.from(ii);Vt==null||Vt(!ro,rA.map(Sa=>Wr(Sa)),EA.map(Sa=>Wr(Sa))),Do(rA,"multiple")}else{const Da=oa;if(nr){const EA=ro?(0,xa._5)(Da,ha):(0,xa.L0)(Da,ha);aa(ha,!ro,EA,ts)}else{const EA=(0,Ki.S)([].concat((0,Xn.Z)(Da),[ha]),!0,Ri,lo),{checkedKeys:rA,halfCheckedKeys:Sa}=EA;let rl=rA;if(ro){const pl=new Set(rA);pl.delete(ha),rl=(0,Ki.S)(Array.from(pl),{checked:!1,halfCheckedKeys:Sa},Ri,lo).checkedKeys}aa(ha,!ro,rl,ts)}}nA(ro?null:ha)}})),checked:ro}};const Xa=(To,co,Ea)=>{const{node:uA,checked:ha}=HA(To,co,Ea);return er?er(ha,co,Ea,uA):uA};if(!mi.includes(Po))if(mi.findIndex(To=>{var co;return((co=To[qt])===null||co===void 0?void 0:co.columnType)==="EXPAND_COLUMN"})===0){const[To,...co]=mi;mi=[To,Po].concat((0,Xn.Z)(co))}else mi=[Po].concat((0,Xn.Z)(mi));const Ks=mi.indexOf(Po);mi=mi.filter((To,co)=>To!==Po||co===Ks);const Ya=mi[Ks-1],bs=mi[Ks+1];let mr=pr;mr===void 0&&((bs==null?void 0:bs.fixed)!==void 0?mr=bs.fixed:(Ya==null?void 0:Ya.fixed)!==void 0&&(mr=Ya.fixed)),mr&&Ya&&((yi=Ya[qt])===null||yi===void 0?void 0:yi.columnType)==="EXPAND_COLUMN"&&Ya.fixed===void 0&&(Ya.fixed=mr);const qA=F()(`${xr}-selection-col`,{[`${xr}-selection-col-with-dropdown`]:On&&xn==="checkbox"}),hc={fixed:mr,width:Dn,className:`${xr}-selection-column`,title:ce.columnTitle||go,render:Xa,onCell:ce.onCell,[qt]:{className:qA}};return mi.map(To=>To===Po?hc:To)},[Ci,fi,ce,oa,ma,Pa,Dn,sa,Hi,$i,Gi,Vt,aa,lo]),ma]},Tl=h(89489),bA=h(59477),tl=h(6848);const tA="ascend",iu="descend";function Ml(te){return typeof te.sorter=="object"&&typeof te.sorter.multiple=="number"?te.sorter.multiple:!1}function jl(te){return typeof te=="function"?te:te&&typeof te=="object"&&te.compare?te.compare:!1}function Pu(te,ce){return ce?te[te.indexOf(ce)+1]:te[0]}function Hl(te,ce,Qe){let We=[];function ot(at,Et){We.push({column:at,key:vA(at,Et),multiplePriority:Ml(at),sortOrder:at.sortOrder})}return(te||[]).forEach((at,Et)=>{const It=_a(Et,Qe);at.children?("sortOrder"in at&&ot(at,It),We=[].concat((0,Xn.Z)(We),(0,Xn.Z)(Hl(at.children,ce,It)))):at.sorter&&("sortOrder"in at?ot(at,It):ce&&at.defaultSortOrder&&We.push({column:at,key:vA(at,It),multiplePriority:Ml(at),sortOrder:at.defaultSortOrder}))}),We}function Du(te,ce,Qe,We,ot,at,Et,It){return(ce||[]).map((bt,Kt)=>{const an=_a(Kt,It);let Vt=bt;if(Vt.sorter){const Dn=Vt.sortDirections||ot,xn=Vt.showSorterTooltip===void 0?Et:Vt.showSorterTooltip,On=vA(Vt,an),pr=Qe.find(Hi=>{let{key:Or}=Hi;return Or===On}),er=pr?pr.sortOrder:null,fr=Pu(Dn,er);let nr;if(bt.sortIcon)nr=bt.sortIcon({sortOrder:er});else{const Hi=Dn.includes(tA)&&v.createElement(bA.Z,{className:F()(`${te}-column-sorter-up`,{active:er===tA})}),Or=Dn.includes(iu)&&v.createElement(Tl.Z,{className:F()(`${te}-column-sorter-down`,{active:er===iu})});nr=v.createElement("span",{className:F()(`${te}-column-sorter`,{[`${te}-column-sorter-full`]:!!(Hi&&Or)})},v.createElement("span",{className:`${te}-column-sorter-inner`,"aria-hidden":"true"},Hi,Or))}const{cancelSort:xr,triggerAsc:si,triggerDesc:di}=at||{};let Wr=xr;fr===iu?Wr=di:fr===tA&&(Wr=si);const Ci=typeof xn=="object"?xn:{title:Wr};Vt=Object.assign(Object.assign({},Vt),{className:F()(Vt.className,{[`${te}-column-sort`]:er}),title:Hi=>{const Or=v.createElement("div",{className:`${te}-column-sorters`},v.createElement("span",{className:`${te}-column-title`},da(bt.title,Hi)),nr);return xn?v.createElement(tl.Z,Object.assign({},Ci),Or):Or},onHeaderCell:Hi=>{const Or=bt.onHeaderCell&&bt.onHeaderCell(Hi)||{},Yr=Or.onClick,Pr=Or.onKeyDown;Or.onClick=gi=>{We({column:bt,key:On,sortOrder:fr,multiplePriority:Ml(bt)}),Yr==null||Yr(gi)},Or.onKeyDown=gi=>{gi.keyCode===Va.Z.ENTER&&(We({column:bt,key:On,sortOrder:fr,multiplePriority:Ml(bt)}),Pr==null||Pr(gi))};const br=qa(bt.title,{}),Kr=br==null?void 0:br.toString();return er?Or["aria-sort"]=er==="ascend"?"ascending":"descending":Or["aria-label"]=Kr||"",Or.className=F()(Or.className,`${te}-column-has-sorters`),Or.tabIndex=0,bt.ellipsis&&(Or.title=(br!=null?br:"").toString()),Or}})}return"children"in Vt&&(Vt=Object.assign(Object.assign({},Vt),{children:Du(te,Vt.children,Qe,We,ot,at,Et,an)})),Vt})}function ws(te){const{column:ce,sortOrder:Qe}=te;return{column:ce,order:Qe,field:ce.dataIndex,columnKey:ce.key}}function ou(te){const ce=te.filter(Qe=>{let{sortOrder:We}=Qe;return We}).map(ws);return ce.length===0&&te.length?Object.assign(Object.assign({},ws(te[te.length-1])),{column:void 0}):ce.length<=1?ce[0]||{}:ce}function Qa(te,ce,Qe){const We=ce.slice().sort((Et,It)=>It.multiplePriority-Et.multiplePriority),ot=te.slice(),at=We.filter(Et=>{let{column:{sorter:It},sortOrder:bt}=Et;return jl(It)&&bt});return at.length?ot.sort((Et,It)=>{for(let bt=0;bt<at.length;bt+=1){const Kt=at[bt],{column:{sorter:an},sortOrder:Vt}=Kt,Dn=jl(an);if(Dn&&Vt){const xn=Dn(Et,It,Vt);if(xn!==0)return Vt===tA?xn:-xn}}return 0}).map(Et=>{const It=Et[Qe];return It?Object.assign(Object.assign({},Et),{[Qe]:Qa(It,ce,Qe)}):Et}):ot}function ra(te){let{prefixCls:ce,mergedColumns:Qe,onSorterChange:We,sortDirections:ot,tableLocale:at,showSorterTooltip:Et}=te;const[It,bt]=v.useState(Hl(Qe,!0)),Kt=v.useMemo(()=>{let On=!0;const pr=Hl(Qe,!1);if(!pr.length)return It;const er=[];function fr(xr){On?er.push(xr):er.push(Object.assign(Object.assign({},xr),{sortOrder:null}))}let nr=null;return pr.forEach(xr=>{nr===null?(fr(xr),xr.sortOrder&&(xr.multiplePriority===!1?On=!1:nr=!0)):(nr&&xr.multiplePriority!==!1||(On=!1),fr(xr))}),er},[Qe,It]),an=v.useMemo(()=>{const On=Kt.map(pr=>{let{column:er,sortOrder:fr}=pr;return{column:er,order:fr}});return{sortColumns:On,sortColumn:On[0]&&On[0].column,sortOrder:On[0]&&On[0].order}},[Kt]);function Vt(On){let pr;On.multiplePriority===!1||!Kt.length||Kt[0].multiplePriority===!1?pr=[On]:pr=[].concat((0,Xn.Z)(Kt.filter(er=>{let{key:fr}=er;return fr!==On.key})),[On]),bt(pr),We(ou(pr),pr)}return[On=>Du(ce,On,Kt,Vt,ot,at,Et),Kt,an,()=>ou(Kt)]}function fa(te,ce){return te.map(Qe=>{const We=Object.assign({},Qe);return We.title=da(Qe.title,ce),"children"in We&&(We.children=fa(We.children,ce)),We})}function As(te){return[v.useCallback(Qe=>fa(Qe,te),[te])]}var JA=Xr((te,ce)=>{const{_renderTimes:Qe}=te,{_renderTimes:We}=ce;return Qe!==We}),Qc=Vi((te,ce)=>{const{_renderTimes:Qe}=te,{_renderTimes:We}=ce;return Qe!==We}),Bl=h(64993),Cl=h(17313),au=h(83116),Au=h(37613),Pc=te=>{const{componentCls:ce}=te,Qe=`${te.lineWidth}px ${te.lineType} ${te.tableBorderColor}`,We=(ot,at,Et)=>({[`&${ce}-${ot}`]:{[`> ${ce}-container`]:{[`> ${ce}-content, > ${ce}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${at}px -${Et+te.lineWidth}px`}}}}}});return{[`${ce}-wrapper`]:{[`${ce}${ce}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ce}-title`]:{border:Qe,borderBottom:0},[`> ${ce}-container`]:{borderInlineStart:Qe,borderTop:Qe,[`
|
|
|
> ${ce}-content,
|
|
|
> ${ce}-header,
|
|
|
> ${ce}-body,
|
|
|
> ${ce}-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:Qe},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Qe},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ce}-cell-fix-right-first::after`]:{borderInlineEnd:Qe}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ce}-expanded-row-fixed`]:{margin:`-${te.tablePaddingVertical}px -${te.tablePaddingHorizontal+te.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:te.lineWidth,bottom:0,borderInlineEnd:Qe,content:'""'}}}}}},[`&${ce}-scroll-horizontal`]:{[`> ${ce}-container > ${ce}-body`]:{"> table > tbody":{[`
|
|
|
> tr${ce}-expanded-row,
|
|
|
> tr${ce}-placeholder
|
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},We("middle",te.tablePaddingVerticalMiddle,te.tablePaddingHorizontalMiddle)),We("small",te.tablePaddingVerticalSmall,te.tablePaddingHorizontalSmall)),{[`> ${ce}-footer`]:{border:Qe,borderTop:0}}),[`${ce}-cell`]:{[`${ce}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${te.lineWidth}px 0 ${te.lineWidth}px ${te.tableHeaderBg}`}},[`${ce}-bordered ${ce}-cell-scrollbar`]:{borderInlineEnd:Qe}}}},nl=te=>{const{componentCls:ce}=te;return{[`${ce}-wrapper`]:{[`${ce}-cell-ellipsis`]:Object.assign(Object.assign({},Cl.vS),{wordBreak:"keep-all",[`
|
|
|
&${ce}-cell-fix-left-last,
|
|
|
&${ce}-cell-fix-right-first
|
|
|
`]:{overflow:"visible",[`${ce}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ce}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},ih=te=>{const{componentCls:ce}=te;return{[`${ce}-wrapper`]:{[`${ce}-tbody > tr${ce}-placeholder`]:{textAlign:"center",color:te.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:te.colorBgContainer}}}}},$l=h(15969),Ru=te=>{const{componentCls:ce,antCls:Qe,controlInteractiveSize:We,motionDurationSlow:ot,lineWidth:at,paddingXS:Et,lineType:It,tableBorderColor:bt,tableExpandIconBg:Kt,tableExpandColumnWidth:an,borderRadius:Vt,fontSize:Dn,fontSizeSM:xn,lineHeight:On,tablePaddingVertical:pr,tablePaddingHorizontal:er,tableExpandedRowBg:fr,paddingXXS:nr}=te,xr=We/2-at,si=xr*2+at*3,di=`${at}px ${It} ${bt}`,Wr=nr-at;return{[`${ce}-wrapper`]:{[`${ce}-expand-icon-col`]:{width:an},[`${ce}-row-expand-icon-cell`]:{textAlign:"center",[`${ce}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ce}-row-indent`]:{height:1,float:"left"},[`${ce}-row-expand-icon`]:Object.assign(Object.assign({},(0,$l.N)(te)),{position:"relative",float:"left",boxSizing:"border-box",width:si,height:si,padding:0,color:"inherit",lineHeight:`${si}px`,background:Kt,border:di,borderRadius:Vt,transform:`scale(${We/si})`,transition:`all ${ot}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ot} ease-out`,content:'""'},"&::before":{top:xr,insetInlineEnd:Wr,insetInlineStart:Wr,height:at},"&::after":{top:Wr,bottom:Wr,insetInlineStart:xr,width:at,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"}}),[`${ce}-row-indent + ${ce}-row-expand-icon`]:{marginTop:(Dn*On-at*3)/2-Math.ceil((xn*1.4-at*3)/2),marginInlineEnd:Et},[`tr${ce}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:fr}},[`${Qe}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ce}-expanded-row-fixed`]:{position:"relative",margin:`-${pr}px -${er}px`,padding:`${pr}px ${er}px`}}}},wd=te=>{const{componentCls:ce,antCls:Qe,iconCls:We,tableFilterDropdownWidth:ot,tableFilterDropdownSearchWidth:at,paddingXXS:Et,paddingXS:It,colorText:bt,lineWidth:Kt,lineType:an,tableBorderColor:Vt,tableHeaderIconColor:Dn,fontSizeSM:xn,tablePaddingHorizontal:On,borderRadius:pr,motionDurationSlow:er,colorTextDescription:fr,colorPrimary:nr,tableHeaderFilterActiveBg:xr,colorTextDisabled:si,tableFilterDropdownBg:di,tableFilterDropdownHeight:Wr,controlItemBgHover:Ci,controlItemBgActive:Hi,boxShadowSecondary:Or,filterDropdownMenuBg:Yr}=te,Pr=`${Qe}-dropdown`,br=`${ce}-filter-dropdown`,Kr=`${Qe}-tree`,gi=`${Kt}px ${an} ${Vt}`;return[{[`${ce}-wrapper`]:{[`${ce}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ce}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Et,marginInline:`${Et}px ${-On/2}px`,padding:`0 ${Et}px`,color:Dn,fontSize:xn,borderRadius:pr,cursor:"pointer",transition:`all ${er}`,"&:hover":{color:fr,background:xr},"&.active":{color:nr}}}},{[`${Qe}-dropdown`]:{[br]:Object.assign(Object.assign({},(0,Cl.Wf)(te)),{minWidth:ot,backgroundColor:di,borderRadius:pr,boxShadow:Or,overflow:"hidden",[`${Pr}-menu`]:{maxHeight:Wr,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Yr,"&:empty::after":{display:"block",padding:`${It}px 0`,color:si,fontSize:xn,textAlign:"center",content:'"Not Found"'}},[`${br}-tree`]:{paddingBlock:`${It}px 0`,paddingInline:It,[Kr]:{padding:0},[`${Kr}-treenode ${Kr}-node-content-wrapper:hover`]:{backgroundColor:Ci},[`${Kr}-treenode-checkbox-checked ${Kr}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Hi}}},[`${br}-search`]:{padding:It,borderBottom:gi,"&-input":{input:{minWidth:at},[We]:{color:si}}},[`${br}-checkall`]:{width:"100%",marginBottom:Et,marginInlineStart:Et},[`${br}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${It-Kt}px ${It}px`,overflow:"hidden",borderTop:gi}})}},{[`${Qe}-dropdown ${br}, ${br}-submenu`]:{[`${Qe}-checkbox-wrapper + span`]:{paddingInlineStart:It,color:bt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},uc=te=>{const{componentCls:ce,lineWidth:Qe,colorSplit:We,motionDurationSlow:ot,zIndexTableFixed:at,tableBg:Et,zIndexTableSticky:It}=te,bt=We;return{[`${ce}-wrapper`]:{[`
|
|
|
${ce}-cell-fix-left,
|
|
|
${ce}-cell-fix-right
|
|
|
`]:{position:"sticky !important",zIndex:at,background:Et},[`
|
|
|
${ce}-cell-fix-left-first::after,
|
|
|
${ce}-cell-fix-left-last::after
|
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Qe,width:30,transform:"translateX(100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${ce}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
|
${ce}-cell-fix-right-first::after,
|
|
|
${ce}-cell-fix-right-last::after
|
|
|
`]:{position:"absolute",top:0,bottom:-Qe,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},[`${ce}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:It+1,width:30,transition:`box-shadow ${ot}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ce}-ping-left`]:{[`&:not(${ce}-has-fix-left) ${ce}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${bt}`}},[`
|
|
|
${ce}-cell-fix-left-first::after,
|
|
|
${ce}-cell-fix-left-last::after
|
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${bt}`},[`${ce}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ce}-ping-right`]:{[`&:not(${ce}-has-fix-right) ${ce}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${bt}`}},[`
|
|
|
${ce}-cell-fix-right-first::after,
|
|
|
${ce}-cell-fix-right-last::after
|
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${bt}`}}}}},BA=te=>{const{componentCls:ce,antCls:Qe}=te;return{[`${ce}-wrapper`]:{[`${ce}-pagination${Qe}-pagination`]:{margin:`${te.margin}px 0`},[`${ce}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:te.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},dc=te=>{const{componentCls:ce,tableRadius:Qe}=te;return{[`${ce}-wrapper`]:{[ce]:{[`${ce}-title, ${ce}-header`]:{borderRadius:`${Qe}px ${Qe}px 0 0`},[`${ce}-title + ${ce}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ce}-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:Qe,borderStartEndRadius:Qe,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Qe},"> *:last-child":{borderStartEndRadius:Qe}}},"&-footer":{borderRadius:`0 0 ${Qe}px ${Qe}px`}}}}},oh=te=>{const{componentCls:ce}=te;return{[`${ce}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ce}-pagination-left`]:{justifyContent:"flex-end"},[`${ce}-pagination-right`]:{justifyContent:"flex-start"},[`${ce}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ce}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ce}-row-indent`]:{float:"right"}}}}},Bf=te=>{const{componentCls:ce,antCls:Qe,iconCls:We,fontSizeIcon:ot,padding:at,paddingXS:Et,tableHeaderIconColor:It,tableHeaderIconColorHover:bt,tableSelectionColumnWidth:Kt}=te;return{[`${ce}-wrapper`]:{[`${ce}-selection-col`]:{width:Kt,[`&${ce}-selection-col-with-dropdown`]:{width:Kt+ot+at/4}},[`${ce}-bordered ${ce}-selection-col`]:{width:Kt+Et*2,[`&${ce}-selection-col-with-dropdown`]:{width:Kt+ot+at/4+Et*2}},[`
|
|
|
table tr th${ce}-selection-column,
|
|
|
table tr td${ce}-selection-column
|
|
|
`]:{paddingInlineEnd:te.paddingXS,paddingInlineStart:te.paddingXS,textAlign:"center",[`${Qe}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ce}-selection-column${ce}-cell-fix-left`]:{zIndex:te.zIndexTableFixed+1},[`table tr th${ce}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ce}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ce}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${te.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${te.tablePaddingHorizontal/4}px`,[We]:{color:It,fontSize:ot,verticalAlign:"baseline","&:hover":{color:bt}}}}}},Mu=te=>{const{componentCls:ce}=te,Qe=(We,ot,at,Et)=>({[`${ce}${ce}-${We}`]:{fontSize:Et,[`
|
|
|
${ce}-title,
|
|
|
${ce}-footer,
|
|
|
${ce}-cell,
|
|
|
${ce}-thead > tr > th,
|
|
|
${ce}-tbody > tr > th,
|
|
|
${ce}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{padding:`${ot}px ${at}px`},[`${ce}-filter-trigger`]:{marginInlineEnd:`-${at/2}px`},[`${ce}-expanded-row-fixed`]:{margin:`-${ot}px -${at}px`},[`${ce}-tbody`]:{[`${ce}-wrapper:only-child ${ce}`]:{marginBlock:`-${ot}px`,marginInline:`${te.tableExpandColumnWidth-at}px -${at}px`}},[`${ce}-selection-column`]:{paddingInlineStart:`${at/4}px`}}});return{[`${ce}-wrapper`]:Object.assign(Object.assign({},Qe("middle",te.tablePaddingVerticalMiddle,te.tablePaddingHorizontalMiddle,te.tableFontSizeMiddle)),Qe("small",te.tablePaddingVerticalSmall,te.tablePaddingHorizontalSmall,te.tableFontSizeSmall))}},Kl=te=>{const{componentCls:ce,marginXXS:Qe,fontSizeIcon:We,tableHeaderIconColor:ot,tableHeaderIconColorHover:at}=te;return{[`${ce}-wrapper`]:{[`${ce}-thead th${ce}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${te.motionDurationSlow}`,"&:hover":{background:te.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:te.colorPrimary},[`
|
|
|
&${ce}-cell-fix-left:hover,
|
|
|
&${ce}-cell-fix-right:hover
|
|
|
`]:{background:te.tableFixedHeaderSortActiveBg}},[`${ce}-thead th${ce}-column-sort`]:{background:te.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ce}-column-sort`]:{background:te.tableBodySortBg},[`${ce}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ce}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ce}-column-sorter`]:{marginInlineStart:Qe,color:ot,fontSize:0,transition:`color ${te.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:We,"&.active":{color:te.colorPrimary}},[`${ce}-column-sorter-up + ${ce}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ce}-column-sorters:hover ${ce}-column-sorter`]:{color:at}}}},Qs=te=>{const{componentCls:ce,opacityLoading:Qe,tableScrollThumbBg:We,tableScrollThumbBgHover:ot,tableScrollThumbSize:at,tableScrollBg:Et,zIndexTableSticky:It,stickyScrollBarBorderRadius:bt}=te,Kt=`${te.lineWidth}px ${te.lineType} ${te.tableBorderColor}`;return{[`${ce}-wrapper`]:{[`${ce}-sticky`]:{"&-holder":{position:"sticky",zIndex:It,background:te.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${at}px !important`,zIndex:It,display:"flex",alignItems:"center",background:Et,borderTop:Kt,opacity:Qe,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:at,backgroundColor:We,borderRadius:bt,transition:`all ${te.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ot}}}}}}},Rc=te=>{const{componentCls:ce,lineWidth:Qe,tableBorderColor:We}=te,ot=`${Qe}px ${te.lineType} ${We}`;return{[`${ce}-wrapper`]:{[`${ce}-summary`]:{position:"relative",zIndex:te.zIndexTableFixed,background:te.tableBg,"> tr":{"> th, > td":{borderBottom:ot}}},[`div${ce}-summary`]:{boxShadow:`0 -${Qe}px 0 ${We}`}}}},xf=te=>{const{componentCls:ce}=te,Qe=`${te.lineWidth}px ${te.lineType} ${te.tableBorderColor}`,We=`${ce}-expanded-row-cell`;return{[`${ce}-wrapper`]:{[`${ce}-tbody-virtual`]:{[`${ce}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ce}-cell`]:{borderBottom:Qe},[`${ce}-expanded-row`]:{[`${We}${We}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${te.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ce}-bordered`]:{[`${ce}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Qe,position:"absolute"},[`${ce}-cell`]:{borderInlineEnd:Qe,[`&${ce}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-te.lineWidth,borderInlineStart:Qe}}}}}}};const Tc=te=>{const{componentCls:ce,fontWeightStrong:Qe,tablePaddingVertical:We,tablePaddingHorizontal:ot,lineWidth:at,lineType:Et,tableBorderColor:It,tableFontSize:bt,tableBg:Kt,tableRadius:an,tableHeaderTextColor:Vt,motionDurationMid:Dn,tableHeaderBg:xn,tableHeaderCellSplitColor:On,tableRowHoverBg:pr,tableSelectedRowBg:er,tableSelectedRowHoverBg:fr,tableFooterTextColor:nr,tableFooterBg:xr,paddingContentVerticalLG:si}=te,di=`${at}px ${Et} ${It}`;return{[`${ce}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Cl.dF)()),{[ce]:Object.assign(Object.assign({},(0,Cl.Wf)(te)),{fontSize:bt,background:Kt,borderRadius:`${an}px ${an}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${an}px ${an}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
|
${ce}-cell,
|
|
|
${ce}-thead > tr > th,
|
|
|
${ce}-tbody > tr > th,
|
|
|
${ce}-tbody > tr > td,
|
|
|
tfoot > tr > th,
|
|
|
tfoot > tr > td
|
|
|
`]:{position:"relative",padding:`${si}px ${ot}px`,overflowWrap:"break-word"},[`${ce}-title`]:{padding:`${We}px ${ot}px`},[`${ce}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Vt,fontWeight:Qe,textAlign:"start",background:xn,borderBottom:di,transition:`background ${Dn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ce}-selection-column):not(${ce}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:On,transform:"translateY(-50%)",transition:`background-color ${Dn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ce}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Dn}, border-color ${Dn}`,borderBottom:di,[`
|
|
|
> ${ce}-wrapper:only-child,
|
|
|
> ${ce}-expanded-row-fixed > ${ce}-wrapper:only-child
|
|
|
`]:{[ce]:{marginBlock:`-${We}px`,marginInline:`${te.tableExpandColumnWidth-ot}px -${ot}px`,[`${ce}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Vt,fontWeight:Qe,textAlign:"start",background:xn,borderBottom:di,transition:`background ${Dn} ease`},[`
|
|
|
&${ce}-row:hover > th,
|
|
|
&${ce}-row:hover > td,
|
|
|
> th${ce}-cell-row-hover,
|
|
|
> td${ce}-cell-row-hover
|
|
|
`]:{background:pr},[`&${ce}-row-selected`]:{"> th, > td":{background:er},"&:hover > th, &:hover > td":{background:fr}}}},[`${ce}-footer`]:{padding:`${We}px ${ot}px`,color:nr,background:xr}})}};var lu=(0,au.Z)("Table",te=>{const{colorTextHeading:ce,colorSplit:Qe,colorIcon:We,colorIconHover:ot,opacityLoading:at,colorBgContainer:Et,controlInteractiveSize:It,headerBg:bt,headerColor:Kt,headerSortActiveBg:an,headerSortHoverBg:Vt,bodySortBg:Dn,rowHoverBg:xn,rowSelectedBg:On,rowSelectedHoverBg:pr,rowExpandedBg:er,cellPaddingBlock:fr,cellPaddingInline:nr,cellPaddingBlockMD:xr,cellPaddingInlineMD:si,cellPaddingBlockSM:di,cellPaddingInlineSM:Wr,borderColor:Ci,footerBg:Hi,footerColor:Or,headerBorderRadius:Yr,cellFontSize:Pr,cellFontSizeMD:br,cellFontSizeSM:Kr,headerSplitColor:gi,fixedHeaderSortActiveBg:no,headerFilterHoverBg:Ri,filterDropdownBg:fi,expandIconBg:Gi,selectionColumnWidth:lo,stickyScrollBarBg:oa}=te,Eo=new Bl.C(We),ma=new Bl.C(ot),Pa=2,$i=(0,Au.TS)(te,{tableFontSize:Pr,tableBg:Et,tableRadius:Yr,tablePaddingVertical:fr,tablePaddingHorizontal:nr,tablePaddingVerticalMiddle:xr,tablePaddingHorizontalMiddle:si,tablePaddingVerticalSmall:di,tablePaddingHorizontalSmall:Wr,tableBorderColor:Ci,tableHeaderTextColor:Kt,tableHeaderBg:bt,tableFooterTextColor:Or,tableFooterBg:Hi,tableHeaderCellSplitColor:gi,tableHeaderSortBg:an,tableHeaderSortHoverBg:Vt,tableHeaderIconColor:Eo.clone().setAlpha(Eo.getAlpha()*at).toRgbString(),tableHeaderIconColorHover:ma.clone().setAlpha(ma.getAlpha()*at).toRgbString(),tableBodySortBg:Dn,tableFixedHeaderSortActiveBg:no,tableHeaderFilterActiveBg:Ri,tableFilterDropdownBg:fi,tableRowHoverBg:xn,tableSelectedRowBg:On,tableSelectedRowHoverBg:pr,zIndexTableFixed:Pa,zIndexTableSticky:Pa+1,tableFontSizeMiddle:br,tableFontSizeSmall:Kr,tableSelectionColumnWidth:lo,tableExpandIconBg:Gi,tableExpandColumnWidth:It+2*te.padding,tableExpandedRowBg:er,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:oa,tableScrollThumbBgHover:ce,tableScrollBg:Qe});return[Tc($i),BA($i),Rc($i),Kl($i),wd($i),Pc($i),dc($i),Ru($i),Rc($i),ih($i),Bf($i),uc($i),Qs($i),nl($i),Mu($i),oh($i),xf($i)]},te=>{const{colorFillAlter:ce,colorBgContainer:Qe,colorTextHeading:We,colorFillSecondary:ot,colorFillContent:at,controlItemBgActive:Et,controlItemBgActiveHover:It,padding:bt,paddingSM:Kt,paddingXS:an,colorBorderSecondary:Vt,borderRadiusLG:Dn,fontSize:xn,controlHeight:On,colorTextPlaceholder:pr}=te,er=new Bl.C(ot).onBackground(Qe).toHexShortString(),fr=new Bl.C(at).onBackground(Qe).toHexShortString(),nr=new Bl.C(ce).onBackground(Qe).toHexShortString();return{headerBg:nr,headerColor:We,headerSortActiveBg:er,headerSortHoverBg:fr,bodySortBg:nr,rowHoverBg:nr,rowSelectedBg:Et,rowSelectedHoverBg:It,rowExpandedBg:ce,cellPaddingBlock:bt,cellPaddingInline:bt,cellPaddingBlockMD:Kt,cellPaddingInlineMD:an,cellPaddingBlockSM:an,cellPaddingInlineSM:an,borderColor:Vt,headerBorderRadius:Dn,footerBg:nr,footerColor:We,cellFontSize:xn,cellFontSizeMD:xn,cellFontSizeSM:xn,headerSplitColor:Vt,fixedHeaderSortActiveBg:er,headerFilterHoverBg:at,filterDropdownMenuBg:Qe,filterDropdownBg:Qe,expandIconBg:Qe,selectionColumnWidth:On,stickyScrollBarBg:pr,stickyScrollBarBorderRadius:100}});const bd=[],Mc=(te,ce)=>{const{prefixCls:Qe,className:We,rootClassName:ot,style:at,size:Et,bordered:It,dropdownPrefixCls:bt,dataSource:Kt,pagination:an,rowSelection:Vt,rowKey:Dn="key",rowClassName:xn,columns:On,children:pr,childrenColumnName:er,onChange:fr,getPopupContainer:nr,loading:xr,expandIcon:si,expandable:di,expandedRowRender:Wr,expandIconColumnIndex:Ci,indentSize:Hi,scroll:Or,sortDirections:Yr,locale:Pr,showSorterTooltip:br=!0,virtual:Kr}=te,gi=v.useMemo(()=>On||Jt(pr),[On,pr]),no=v.useMemo(()=>gi.some(mo=>mo.responsive),[gi]),Ri=(0,Jo.Z)(no),fi=v.useMemo(()=>{const mo=new Set(Object.keys(Ri).filter(la=>Ri[la]));return gi.filter(la=>!la.responsive||la.responsive.some(SA=>mo.has(SA)))},[gi,Ri]),Gi=(0,Ii.Z)(te,["className","style","columns"]),{locale:lo=ja.Z,direction:oa,table:Eo,renderEmpty:ma,getPrefixCls:Pa,getPopupContainer:$i}=v.useContext(Za.E_),nA=(0,Zo.Z)(Et),Do=Object.assign(Object.assign({},lo.Table),Pr),aa=Kt||bd,sa=Pa("table",Qe),ss=Pa("dropdown",bt),Tr=Object.assign({childrenColumnName:er,expandIconColumnIndex:Ci},di),{childrenColumnName:yi="children"}=Tr,mi=v.useMemo(()=>aa.some(mo=>mo==null?void 0:mo[yi])?"nest":Wr||di&&di.expandedRowRender?"row":null,[aa]),ii={body:v.useRef()},Ro=v.useMemo(()=>typeof Dn=="function"?Dn:mo=>mo==null?void 0:mo[Dn],[Dn]),[oi]=eA(aa,yi,Ro),_i={},fo=function(mo,la){let SA=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Ba,IA,PA;const Ra=Object.assign(Object.assign({},_i),mo);SA&&((Ba=_i.resetPagination)===null||Ba===void 0||Ba.call(_i),!((IA=Ra.pagination)===null||IA===void 0)&&IA.current&&(Ra.pagination.current=1),an&&an.onChange&&an.onChange(1,(PA=Ra.pagination)===null||PA===void 0?void 0:PA.pageSize)),Or&&Or.scrollToFirstRowOnChange!==!1&&ii.body.current&&(0,so.Z)(0,{getContainer:()=>ii.body.current}),fr==null||fr(Ra.pagination,Ra.filters,Ra.sorter,{currentDataSource:ac(Qa(aa,Ra.sorterStates,yi),Ra.filterStates),action:la})},go=(mo,la)=>{fo({sorter:mo,sorterStates:la},"sort",!1)},[HA,Xa,Ks,Ya]=ra({prefixCls:sa,mergedColumns:fi,onSorterChange:go,sortDirections:Yr||["ascend","descend"],tableLocale:Do,showSorterTooltip:br}),bs=v.useMemo(()=>Qa(aa,Xa,yi),[aa,Xa]);_i.sorter=Ya(),_i.sorterStates=Xa;const mr=(mo,la)=>{fo({filters:mo,filterStates:la},"filter",!0)},[qA,hc,To]=Ac({prefixCls:sa,locale:Do,dropdownPrefixCls:ss,mergedColumns:fi,onFilterChange:mr,getPopupContainer:nr||$i}),co=ac(bs,hc);_i.filters=To,_i.filterStates=hc;const Ea=v.useMemo(()=>{const mo={};return Object.keys(To).forEach(la=>{To[la]!==null&&(mo[la]=To[la])}),Object.assign(Object.assign({},Ks),{filters:mo})},[Ks,To]),[uA]=As(Ea),ha=(mo,la)=>{fo({pagination:Object.assign(Object.assign({},_i.pagination),{current:mo,pageSize:la})},"paginate")},[ro,$A]=lc(co.length,ha,an);_i.pagination=an===!1?{}:xo(ro,an),_i.resetPagination=$A;const QA=v.useMemo(()=>{if(an===!1||!ro.pageSize)return co;const{current:mo=1,total:la,pageSize:SA=el}=ro;return co.length<la?co.length>SA?co.slice((mo-1)*SA,mo*SA):co:co.slice((mo-1)*SA,mo*SA)},[!!an,co,ro&&ro.current,ro&&ro.pageSize,ro&&ro.total]),[ls,es]=$a({prefixCls:sa,data:co,pageData:QA,getRowKey:Ro,getRecordByKey:oi,expandType:mi,childrenColumnName:yi,locale:Do,getPopupContainer:nr||$i},Vt),ts=(mo,la,SA)=>{let Ba;return typeof xn=="function"?Ba=F()(xn(mo,la,SA)):Ba=F()(xn),F()({[`${sa}-row-selected`]:es.has(Ro(mo,la))},Ba)};Tr.__PARENT_RENDER_ICON__=Tr.expandIcon,Tr.expandIcon=Tr.expandIcon||si||cA(Do),mi==="nest"&&Tr.expandIconColumnIndex===void 0?Tr.expandIconColumnIndex=Vt?1:0:Tr.expandIconColumnIndex>0&&Vt&&(Tr.expandIconColumnIndex-=1),typeof Tr.indentSize!="number"&&(Tr.indentSize=typeof Hi=="number"?Hi:15);const Ps=v.useCallback(mo=>uA(ls(qA(HA(mo)))),[HA,qA,ls]);let El,Ds;if(an!==!1&&(ro!=null&&ro.total)){let mo;ro.size?mo=ro.size:mo=nA==="small"||nA==="middle"?"small":void 0;const la=IA=>v.createElement(Na.Z,Object.assign({},ro,{className:F()(`${sa}-pagination ${sa}-pagination-${IA}`,ro.className),size:mo})),SA=oa==="rtl"?"left":"right",{position:Ba}=ro;if(Ba!==null&&Array.isArray(Ba)){const IA=Ba.find(ol=>ol.includes("top")),PA=Ba.find(ol=>ol.includes("bottom")),Ra=Ba.every(ol=>`${ol}`=="none");!IA&&!PA&&!Ra&&(Ds=la(SA)),IA&&(El=la(IA.toLowerCase().replace("top",""))),PA&&(Ds=la(PA.toLowerCase().replace("bottom","")))}else Ds=la(SA)}let Da;typeof xr=="boolean"?Da={spinning:xr}:typeof xr=="object"&&(Da=Object.assign({spinning:!0},xr));const[EA,rA]=lu(sa),[,Sa]=(0,Xo.Z)(),rl=F()(`${sa}-wrapper`,Eo==null?void 0:Eo.className,{[`${sa}-wrapper-rtl`]:oa==="rtl"},We,ot,rA),pl=Object.assign(Object.assign({},Eo==null?void 0:Eo.style),at),Sl=Pr&&Pr.emptyText||(ma==null?void 0:ma("Table"))||v.createElement(bo.Z,{componentName:"Table"}),il=Kr?Qc:JA,uu={},ju=v.useMemo(()=>{const{fontSize:mo,lineHeight:la,padding:SA,paddingXS:Ba,paddingSM:IA}=Sa,PA=Math.floor(mo*la);switch(nA){case"large":return SA*2+PA;case"small":return Ba*2+PA;default:return IA*2+PA}},[Sa,nA]);return Kr&&(uu.listItemHeight=ju),EA(v.createElement("div",{ref:ce,className:rl,style:pl},v.createElement(lA.Z,Object.assign({spinning:!1},Da),El,v.createElement(il,Object.assign({},uu,Gi,{columns:fi,direction:oa,expandable:Tr,prefixCls:sa,className:F()({[`${sa}-middle`]:nA==="middle",[`${sa}-small`]:nA==="small",[`${sa}-bordered`]:It,[`${sa}-empty`]:aa.length===0}),data:QA,rowKey:Ro,rowClassName:ts,emptyText:Sl,internalHooks:fe,internalRefs:ii,transformColumns:Ps})),Ds)))};var ah=v.forwardRef(Mc);const Ah=(te,ce)=>{const Qe=v.useRef(0);return Qe.current+=1,v.createElement(ah,Object.assign({},te,{ref:ce,_renderTimes:Qe.current}))},_A=v.forwardRef(Ah);_A.SELECTION_COLUMN=Po,_A.EXPAND_COLUMN=ye,_A.SELECTION_ALL=ta,_A.SELECTION_INVERT=na,_A.SELECTION_NONE=Yo,_A.Column=Ir,_A.ColumnGroup=Ai,_A.Summary=C;var cu=_A,sh=cu},10777:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return J}});var ye=h(92310),fe=h.n(ye),H=h(59301),be=h(36355),R=function(K,le){var ae={};for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&le.indexOf(he)<0&&(ae[he]=K[he]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,he=Object.getOwnPropertySymbols(K);k<he.length;k++)le.indexOf(he[k])<0&&Object.prototype.propertyIsEnumerable.call(K,he[k])&&(ae[he[k]]=K[he[k]]);return ae},v=K=>{var{prefixCls:le,className:ae,color:he="blue",dot:k,pending:Ue=!1,position:F,label:De,children:we}=K,de=R(K,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:Be}=H.useContext(be.E_),ne=Be("timeline",le),ve=fe()(`${ne}-item`,{[`${ne}-item-pending`]:Ue},ae),ee=/blue|red|green|gray/.test(he||"")?void 0:he,se=fe()(`${ne}-item-head`,{[`${ne}-item-head-custom`]:!!k,[`${ne}-item-head-${he}`]:!ee});return H.createElement("li",Object.assign({},de,{className:ve}),De&&H.createElement("div",{className:`${ne}-item-label`},De),H.createElement("div",{className:`${ne}-item-tail`}),H.createElement("div",{className:se,style:{borderColor:ee,color:ee}},k),H.createElement("div",{className:`${ne}-item-content`},we))},m=h(94480),N=h(58617),s=function(K,le){var ae={};for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&le.indexOf(he)<0&&(ae[he]=K[he]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,he=Object.getOwnPropertySymbols(K);k<he.length;k++)le.indexOf(he[k])<0&&Object.prototype.propertyIsEnumerable.call(K,he[k])&&(ae[he[k]]=K[he[k]]);return ae},S=K=>{var{prefixCls:le,className:ae,pending:he=!1,children:k,items:Ue,rootClassName:F,reverse:De=!1,direction:we,hashId:de,pendingDot:Be,mode:ne=""}=K,ve=s(K,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const ee=(Ee,kt)=>ne==="alternate"?Ee==="right"?`${le}-item-right`:Ee==="left"?`${le}-item-left`:kt%2===0?`${le}-item-left`:`${le}-item-right`:ne==="left"?`${le}-item-left`:ne==="right"?`${le}-item-right`:Ee==="right"?`${le}-item-right`:"",se=(0,m.Z)(Ue||[]),je=typeof he=="boolean"?null:he;he&&se.push({pending:!!he,dot:Be||H.createElement(N.Z,null),children:je}),De&&se.reverse();const Pe=se.length,Oe=`${le}-item-last`,ut=se.filter(Ee=>!!Ee).map((Ee,kt)=>{var Rt;const on=kt===Pe-2?Oe:"",Mt=kt===Pe-1?Oe:"",{className:T}=Ee,Ye=s(Ee,["className"]);return H.createElement(v,Object.assign({},Ye,{className:fe()([T,!De&&he?on:Mt,ee((Rt=Ee==null?void 0:Ee.position)!==null&&Rt!==void 0?Rt:"",kt)]),key:(Ee==null?void 0:Ee.key)||kt}))}),mt=se.some(Ee=>!!(Ee!=null&&Ee.label)),Ot=fe()(le,{[`${le}-pending`]:!!he,[`${le}-reverse`]:!!De,[`${le}-${ne}`]:!!ne&&!mt,[`${le}-label`]:mt,[`${le}-rtl`]:we==="rtl"},ae,F,de);return H.createElement("ul",Object.assign({},ve,{className:Ot}),ut)},w=h(11592);function x(K,le){return K&&Array.isArray(K)?K:(0,w.Z)(le).map(ae=>{var he,k;return Object.assign({children:(k=(he=ae==null?void 0:ae.props)===null||he===void 0?void 0:he.children)!==null&&k!==void 0?k:""},ae.props)})}var _=x,B=h(17313),W=h(83116),Q=h(37613);const q=K=>{const{componentCls:le}=K;return{[le]:Object.assign(Object.assign({},(0,B.Wf)(K)),{margin:0,padding:0,listStyle:"none",[`${le}-item`]:{position:"relative",margin:0,paddingBottom:K.itemPaddingBottom,fontSize:K.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:K.itemHeadSize,insetInlineStart:(K.itemHeadSize-K.tailWidth)/2,height:`calc(100% - ${K.itemHeadSize}px)`,borderInlineStart:`${K.tailWidth}px ${K.lineType} ${K.tailColor}`},"&-pending":{[`${le}-item-head`]:{fontSize:K.fontSizeSM,backgroundColor:"transparent"},[`${le}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:K.itemHeadSize,height:K.itemHeadSize,backgroundColor:K.dotBg,border:`${K.dotBorderWidth}px ${K.lineType} transparent`,borderRadius:"50%","&-blue":{color:K.colorPrimary,borderColor:K.colorPrimary},"&-red":{color:K.colorError,borderColor:K.colorError},"&-green":{color:K.colorSuccess,borderColor:K.colorSuccess},"&-gray":{color:K.colorTextDisabled,borderColor:K.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:K.itemHeadSize/2,insetInlineStart:K.itemHeadSize/2,width:"auto",height:"auto",marginBlockStart:0,paddingBlock:K.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:-(K.fontSize*K.lineHeight-K.fontSize)+K.lineWidth,marginInlineStart:K.margin+K.itemHeadSize,marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${le}-item-tail`]:{display:"none"},[`> ${le}-item-content`]:{minHeight:K.controlHeightLG*1.2}}},[`&${le}-alternate,
|
|
|
&${le}-right,
|
|
|
&${le}-label`]:{[`${le}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:`-${K.marginXXS}px`,"&-custom":{marginInlineStart:K.tailWidth/2}},"&-left":{[`${le}-item-content`]:{insetInlineStart:`calc(50% - ${K.marginXXS}px)`,width:`calc(50% - ${K.marginSM}px)`,textAlign:"start"}},"&-right":{[`${le}-item-content`]:{width:`calc(50% - ${K.marginSM}px)`,margin:0,textAlign:"end"}}}},[`&${le}-right`]:{[`${le}-item-right`]:{[`${le}-item-tail,
|
|
|
${le}-item-head,
|
|
|
${le}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(K.itemHeadSize+K.tailWidth)/2}px)`},[`${le}-item-content`]:{width:`calc(100% - ${K.itemHeadSize+K.marginXS}px)`}}},[`&${le}-pending
|
|
|
${le}-item-last
|
|
|
${le}-item-tail`]:{display:"block",height:`calc(100% - ${K.margin}px)`,borderInlineStart:`${K.tailWidth}px dotted ${K.tailColor}`},[`&${le}-reverse
|
|
|
${le}-item-last
|
|
|
${le}-item-tail`]:{display:"none"},[`&${le}-reverse ${le}-item-pending`]:{[`${le}-item-tail`]:{insetBlockStart:K.margin,display:"block",height:`calc(100% - ${K.margin}px)`,borderInlineStart:`${K.tailWidth}px dotted ${K.tailColor}`},[`${le}-item-content`]:{minHeight:K.controlHeightLG*1.2}},[`&${le}-label`]:{[`${le}-item-label`]:{position:"absolute",insetBlockStart:-(K.fontSize*K.lineHeight-K.fontSize)+K.tailWidth,width:`calc(50% - ${K.marginSM}px)`,textAlign:"end"},[`${le}-item-right`]:{[`${le}-item-label`]:{insetInlineStart:`calc(50% + ${K.marginSM}px)`,width:`calc(50% - ${K.marginSM}px)`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${le}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var Y=(0,W.Z)("Timeline",K=>{const le=(0,Q.TS)(K,{itemHeadSize:10,customHeadPaddingVertical:K.paddingXXS,paddingInlineEnd:2});return[q(le)]},K=>({tailColor:K.colorSplit,tailWidth:K.lineWidthBold,dotBorderWidth:K.wireframe?K.lineWidthBold:K.lineWidth*3,dotBg:K.colorBgContainer,itemPaddingBottom:K.padding*1.25})),G=function(K,le){var ae={};for(var he in K)Object.prototype.hasOwnProperty.call(K,he)&&le.indexOf(he)<0&&(ae[he]=K[he]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,he=Object.getOwnPropertySymbols(K);k<he.length;k++)le.indexOf(he[k])<0&&Object.prototype.propertyIsEnumerable.call(K,he[k])&&(ae[he[k]]=K[he[k]]);return ae};const D=K=>{const{getPrefixCls:le,direction:ae,timeline:he}=H.useContext(be.E_),{prefixCls:k,children:Ue,items:F,className:De,style:we}=K,de=G(K,["prefixCls","children","items","className","style"]),Be=le("timeline",k),[ne,ve]=Y(Be),ee=_(F,Ue);return ne(H.createElement(S,Object.assign({},de,{className:fe()(he==null?void 0:he.className,De),style:Object.assign(Object.assign({},he==null?void 0:he.style),we),prefixCls:Be,direction:ae,items:ee,hashId:ve})))};D.Item=v;var O=D,J=O},17574:function(tr,Ct,h){"use strict";h.d(Ct,{default:function(){return ve}});var ye=h(60091),fe=h(94480),H=h(52671),be=h(8657),R=h(54476),$=h(59301),v={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"},m=v,N=h(7657),s=function(se,je){return $.createElement(N.Z,(0,R.Z)({},se,{ref:je,icon:m}))},L=$.forwardRef(s),S=L,w=h(92310),x=h.n(w),_=h(35654),B=h(71430),W=h(36355),Q=h(56082),q=h(62892),Y=h(20648);const G=4;function D(ee){const{dropPosition:se,dropLevelOffset:je,prefixCls:Pe,indent:Oe,direction:ut="ltr"}=ee,mt=ut==="ltr"?"left":"right",Ot=ut==="ltr"?"right":"left",Ee={[mt]:-je*Oe+G,[Ot]:0};switch(se){case-1:Ee.top=-3;break;case 1:Ee.bottom=-3;break;default:Ee.bottom=-3,Ee[mt]=Oe+G;break}return $.createElement("div",{style:Ee,className:`${Pe}-drop-indicator`})}var O=h(71997),K=$.forwardRef((ee,se)=>{const{getPrefixCls:je,direction:Pe,virtual:Oe,tree:ut}=$.useContext(W.E_),{prefixCls:mt,className:Ot,showIcon:Ee=!1,showLine:kt,switcherIcon:Rt,blockNode:on=!1,children:Mt,checkable:T=!1,selectable:Ye=!0,draggable:E,motion:u,style:a}=ee,p=je("tree",mt),M=je(),re=u!=null?u:Object.assign(Object.assign({},(0,q.Z)(M)),{motionAppear:!1}),C=Object.assign(Object.assign({},ee),{checkable:T,selectable:Ye,showIcon:Ee,motion:re,blockNode:on,showLine:!!kt,dropIndicatorRender:D}),[j,me]=(0,Y.ZP)(p),Ae=$.useMemo(()=>{if(!E)return!1;let Se={};switch(typeof E){case"function":Se.nodeDraggable=E;break;case"object":Se=Object.assign({},E);break;default:break}return Se.icon!==!1&&(Se.icon=Se.icon||$.createElement(Q.Z,null)),Se},[E]),ie=Se=>$.createElement(O.Z,{prefixCls:p,switcherIcon:Rt,treeNodeProps:Se,showLine:kt});return j($.createElement(ye.Z,Object.assign({itemHeight:20,ref:se,virtual:Oe},C,{style:Object.assign(Object.assign({},ut==null?void 0:ut.style),a),prefixCls:p,className:x()({[`${p}-icon-hide`]:!Ee,[`${p}-block-node`]:on,[`${p}-unselectable`]:!Ye,[`${p}-rtl`]:Pe==="rtl"},ut==null?void 0:ut.className,Ot,me),direction:Pe,checkable:T&&$.createElement("span",{className:`${p}-checkbox-inner`}),selectable:Ye,switcherIcon:ie,draggable:Ae}),Mt))}),le;(function(ee){ee[ee.None=0]="None",ee[ee.Start=1]="Start",ee[ee.End=2]="End"})(le||(le={}));function ae(ee,se){function je(Pe){const{key:Oe,children:ut}=Pe;se(Oe,Pe)!==!1&&ae(ut||[],se)}ee.forEach(je)}function he(ee){let{treeData:se,expandedKeys:je,startKey:Pe,endKey:Oe}=ee;const ut=[];let mt=le.None;if(Pe&&Pe===Oe)return[Pe];if(!Pe||!Oe)return[];function Ot(Ee){return Ee===Pe||Ee===Oe}return ae(se,Ee=>{if(mt===le.End)return!1;if(Ot(Ee)){if(ut.push(Ee),mt===le.None)mt=le.Start;else if(mt===le.Start)return mt=le.End,!1}else mt===le.Start&&ut.push(Ee);return je.includes(Ee)}),ut}function k(ee,se){const je=(0,fe.Z)(se),Pe=[];return ae(ee,(Oe,ut)=>{const mt=je.indexOf(Oe);return mt!==-1&&(Pe.push(ut),je.splice(mt,1)),!!je.length}),Pe}var Ue=function(ee,se){var je={};for(var Pe in ee)Object.prototype.hasOwnProperty.call(ee,Pe)&&se.indexOf(Pe)<0&&(je[Pe]=ee[Pe]);if(ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Oe=0,Pe=Object.getOwnPropertySymbols(ee);Oe<Pe.length;Oe++)se.indexOf(Pe[Oe])<0&&Object.prototype.propertyIsEnumerable.call(ee,Pe[Oe])&&(je[Pe[Oe]]=ee[Pe[Oe]]);return je};function F(ee){const{isLeaf:se,expanded:je}=ee;return se?$.createElement(H.Z,null):je?$.createElement(be.Z,null):$.createElement(S,null)}function De(ee){let{treeData:se,children:je}=ee;return se||(0,B.zn)(je)}const we=(ee,se)=>{var{defaultExpandAll:je,defaultExpandParent:Pe,defaultExpandedKeys:Oe}=ee,ut=Ue(ee,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const mt=$.useRef(),Ot=$.useRef(),Ee=()=>{const{keyEntities:Ae}=(0,B.I8)(De(ut));let ie;return je?ie=Object.keys(Ae):Pe?ie=(0,_.r7)(ut.expandedKeys||Oe||[],Ae):ie=ut.expandedKeys||Oe,ie},[kt,Rt]=$.useState(ut.selectedKeys||ut.defaultSelectedKeys||[]),[on,Mt]=$.useState(()=>Ee());$.useEffect(()=>{"selectedKeys"in ut&&Rt(ut.selectedKeys)},[ut.selectedKeys]),$.useEffect(()=>{"expandedKeys"in ut&&Mt(ut.expandedKeys)},[ut.expandedKeys]);const T=(Ae,ie)=>{var Se;return"expandedKeys"in ut||Mt(Ae),(Se=ut.onExpand)===null||Se===void 0?void 0:Se.call(ut,Ae,ie)},Ye=(Ae,ie)=>{var Se;const{multiple:Ge}=ut,{node:xe,nativeEvent:He}=ie,{key:Te=""}=xe,pe=De(ut),ge=Object.assign(Object.assign({},ie),{selected:!0}),Ve=(He==null?void 0:He.ctrlKey)||(He==null?void 0:He.metaKey),yt=He==null?void 0:He.shiftKey;let ht;Ge&&Ve?(ht=Ae,mt.current=Te,Ot.current=ht,ge.selectedNodes=k(pe,ht)):Ge&&yt?(ht=Array.from(new Set([].concat((0,fe.Z)(Ot.current||[]),(0,fe.Z)(he({treeData:pe,expandedKeys:on,startKey:Te,endKey:mt.current}))))),ge.selectedNodes=k(pe,ht)):(ht=[Te],mt.current=Te,Ot.current=ht,ge.selectedNodes=k(pe,ht)),(Se=ut.onSelect)===null||Se===void 0||Se.call(ut,ht,ge),"selectedKeys"in ut||Rt(ht)},{getPrefixCls:E,direction:u}=$.useContext(W.E_),{prefixCls:a,className:p,showIcon:M=!0,expandAction:re="click"}=ut,C=Ue(ut,["prefixCls","className","showIcon","expandAction"]),j=E("tree",a),me=x()(`${j}-directory`,{[`${j}-directory-rtl`]:u==="rtl"},p);return $.createElement(K,Object.assign({icon:F,ref:se,blockNode:!0},C,{showIcon:M,expandAction:re,prefixCls:j,className:me,expandedKeys:on,selectedKeys:kt,onSelect:Ye,onExpand:T}))};var Be=$.forwardRef(we);const ne=K;ne.DirectoryTree=Be,ne.TreeNode=ye.O;var ve=ne},20648:function(tr,Ct,h){"use strict";h.d(Ct,{TM:function(){return w},Yk:function(){return S}});var ye=h(36237),fe=h(98447),H=h(17313),be=h(8378),R=h(37613),$=h(83116);const v=new ye.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),m=(x,_)=>({[`.${x}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${_.motionDurationSlow}`}}}),N=(x,_)=>({[`.${x}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:_.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${_.lineWidthBold}px solid ${_.colorPrimary}`,borderRadius:"50%",content:'""'}}}),s=(x,_)=>{const{treeCls:B,treeNodeCls:W,treeNodePadding:Q,titleHeight:q,nodeSelectedBg:Y,nodeHoverBg:G}=_,D=_.paddingXS;return{[B]:Object.assign(Object.assign({},(0,H.Wf)(_)),{background:_.colorBgContainer,borderRadius:_.borderRadius,transition:`background-color ${_.motionDurationSlow}`,[`&${B}-rtl`]:{[`${B}-switcher`]:{"&_close":{[`${B}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${B}-active-focused)`]:Object.assign({},(0,H.oN)(_)),[`${B}-list-holder-inner`]:{alignItems:"flex-start"},[`&${B}-block-node`]:{[`${B}-list-holder-inner`]:{alignItems:"stretch",[`${B}-node-content-wrapper`]:{flex:"auto"},[`${W}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:Q,insetInlineStart:0,border:`1px solid ${_.colorPrimary}`,opacity:0,animationName:v,animationDuration:_.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${W}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Q}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${B}-node-content-wrapper`]:{color:_.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${B}-node-content-wrapper`]:Object.assign({},(0,H.oN)(_)),[`&:not(${W}-disabled).filter-node ${B}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${B}-draggable-icon`]:{flexShrink:0,width:q,lineHeight:`${q}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${_.motionDurationSlow}`,[`${W}:hover &`]:{opacity:.45}},[`&${W}-disabled`]:{[`${B}-draggable-icon`]:{visibility:"hidden"}}}},[`${B}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:q}},[`${B}-draggable-icon`]:{visibility:"hidden"},[`${B}-switcher`]:Object.assign(Object.assign({},m(x,_)),{position:"relative",flex:"none",alignSelf:"stretch",width:q,margin:0,lineHeight:`${q}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${B}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:_.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:q/2,bottom:-Q,marginInlineStart:-1,borderInlineEnd:`1px solid ${_.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:q/2*.8,height:q/2,borderBottom:`1px solid ${_.colorBorder}`,content:'""'}}}),[`${B}-checkbox`]:{top:"initial",marginInlineEnd:D},[`${B}-node-content-wrapper, ${B}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:q,margin:0,padding:`0 ${_.paddingXS/2}px`,color:"inherit",lineHeight:`${q}px`,background:"transparent",borderRadius:_.borderRadius,cursor:"pointer",transition:`all ${_.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:G},[`&${B}-node-selected`]:{backgroundColor:Y},[`${B}-iconEle`]:{display:"inline-block",width:q,height:q,lineHeight:`${q}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${B}-unselectable ${B}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${B}-node-content-wrapper`]:Object.assign({lineHeight:`${q}px`,userSelect:"none"},N(x,_)),[`${W}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${_.colorPrimary}`}},"&-show-line":{[`${B}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:q/2,bottom:-Q,borderInlineEnd:`1px solid ${_.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${B}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${W}-leaf-last`]:{[`${B}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${q/2}px !important`}}}}})}},L=x=>{const{treeCls:_,treeNodeCls:B,treeNodePadding:W,directoryNodeSelectedBg:Q,directoryNodeSelectedColor:q}=x;return{[`${_}${_}-directory`]:{[B]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:W,insetInlineStart:0,transition:`background-color ${x.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:x.controlItemBgHover}},"> *":{zIndex:1},[`${_}-switcher`]:{transition:`color ${x.motionDurationMid}`},[`${_}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${_}-node-selected`]:{color:q,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:Q},[`${_}-switcher`]:{color:q},[`${_}-node-content-wrapper`]:{color:q,background:"transparent"}}}}}},S=(x,_)=>{const B=`.${x}`,W=`${B}-treenode`,Q=_.paddingXS/2,q=(0,R.TS)(_,{treeCls:B,treeNodeCls:W,treeNodePadding:Q});return[s(x,q),L(q)]},w=x=>{const{controlHeightSM:_}=x;return{titleHeight:_,nodeHoverBg:x.controlItemBgHover,nodeSelectedBg:x.controlItemBgActive}};Ct.ZP=(0,$.Z)("Tree",(x,_)=>{let{prefixCls:B}=_;return[{[x.componentCls]:(0,fe.C2)(`${B}-checkbox`,x)},S(B,x),(0,be.Z)(x)]},x=>{const{colorTextLightSolid:_,colorPrimary:B}=x;return Object.assign(Object.assign({},w(x)),{directoryNodeSelectedColor:_,directoryNodeSelectedBg:B})})},71997:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return W}});var ye=h(54476),fe=h(59301),H={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"},be=H,R=h(7657),$=function(q,Y){return fe.createElement(R.Z,(0,ye.Z)({},q,{ref:Y,icon:be}))},v=fe.forwardRef($),m=v,N=h(52671),s=h(58617),L=h(15075),S=h(43531),w=h(92310),x=h.n(w),_=h(92343),W=Q=>{const{prefixCls:q,switcherIcon:Y,treeNodeProps:G,showLine:D}=Q,{isLeaf:O,expanded:J,loading:K}=G;if(K)return fe.createElement(s.Z,{className:`${q}-switcher-loading-icon`});let le;if(D&&typeof D=="object"&&(le=D.showLeafIcon),O){if(!D)return null;if(typeof le!="boolean"&&le){const k=typeof le=="function"?le(G):le,Ue=`${q}-switcher-line-custom-icon`;return(0,_.l$)(k)?(0,_.Tm)(k,{className:x()(k.props.className||"",Ue)}):k}return le?fe.createElement(N.Z,{className:`${q}-switcher-line-icon`}):fe.createElement("span",{className:`${q}-switcher-leaf-line`})}const ae=`${q}-switcher-icon`,he=typeof Y=="function"?Y(G):Y;return(0,_.l$)(he)?(0,_.Tm)(he,{className:x()(he.props.className||"",ae)}):he!==void 0?he:D?J?fe.createElement(L.Z,{className:`${q}-switcher-line-icon`}):fe.createElement(S.Z,{className:`${q}-switcher-line-icon`}):fe.createElement(m,{className:ae})}},86251:function(tr,Ct){"use strict";Ct.byteLength=v,Ct.toByteArray=N,Ct.fromByteArray=S;for(var h=[],ye=[],fe=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",be=0,R=H.length;be<R;++be)h[be]=H[be],ye[H.charCodeAt(be)]=be;ye[45]=62,ye[95]=63;function $(w){var x=w.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var _=w.indexOf("=");_===-1&&(_=x);var B=_===x?0:4-_%4;return[_,B]}function v(w){var x=$(w),_=x[0],B=x[1];return(_+B)*3/4-B}function m(w,x,_){return(x+_)*3/4-_}function N(w){var x,_=$(w),B=_[0],W=_[1],Q=new fe(m(w,B,W)),q=0,Y=W>0?B-4:B,G;for(G=0;G<Y;G+=4)x=ye[w.charCodeAt(G)]<<18|ye[w.charCodeAt(G+1)]<<12|ye[w.charCodeAt(G+2)]<<6|ye[w.charCodeAt(G+3)],Q[q++]=x>>16&255,Q[q++]=x>>8&255,Q[q++]=x&255;return W===2&&(x=ye[w.charCodeAt(G)]<<2|ye[w.charCodeAt(G+1)]>>4,Q[q++]=x&255),W===1&&(x=ye[w.charCodeAt(G)]<<10|ye[w.charCodeAt(G+1)]<<4|ye[w.charCodeAt(G+2)]>>2,Q[q++]=x>>8&255,Q[q++]=x&255),Q}function s(w){return h[w>>18&63]+h[w>>12&63]+h[w>>6&63]+h[w&63]}function L(w,x,_){for(var B,W=[],Q=x;Q<_;Q+=3)B=(w[Q]<<16&16711680)+(w[Q+1]<<8&65280)+(w[Q+2]&255),W.push(s(B));return W.join("")}function S(w){for(var x,_=w.length,B=_%3,W=[],Q=16383,q=0,Y=_-B;q<Y;q+=Q)W.push(L(w,q,q+Q>Y?Y:q+Q));return B===1?(x=w[_-1],W.push(h[x>>2]+h[x<<4&63]+"==")):B===2&&(x=(w[_-2]<<8)+w[_-1],W.push(h[x>>10]+h[x>>4&63]+h[x<<2&63]+"=")),W.join("")}},19208:function(tr,Ct,h){"use strict";var ye;var fe=h(86251),H=h(67467),be=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ct.lW=m,ye=q,Ct.h2=50;var R=2147483647;ye=R,m.TYPED_ARRAY_SUPPORT=$(),!m.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function $(){try{var E=new Uint8Array(1),u={foo:function(){return 42}};return Object.setPrototypeOf(u,Uint8Array.prototype),Object.setPrototypeOf(E,u),E.foo()===42}catch(a){return!1}}Object.defineProperty(m.prototype,"parent",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.buffer}}),Object.defineProperty(m.prototype,"offset",{enumerable:!0,get:function(){if(m.isBuffer(this))return this.byteOffset}});function v(E){if(E>R)throw new RangeError('The value "'+E+'" is invalid for option "size"');var u=new Uint8Array(E);return Object.setPrototypeOf(u,m.prototype),u}function m(E,u,a){if(typeof E=="number"){if(typeof u=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return S(E)}return N(E,u,a)}m.poolSize=8192;function N(E,u,a){if(typeof E=="string")return w(E,u);if(ArrayBuffer.isView(E))return _(E);if(E==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E);if(Mt(E,ArrayBuffer)||E&&Mt(E.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Mt(E,SharedArrayBuffer)||E&&Mt(E.buffer,SharedArrayBuffer)))return B(E,u,a);if(typeof E=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var p=E.valueOf&&E.valueOf();if(p!=null&&p!==E)return m.from(p,u,a);var M=W(E);if(M)return M;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof E[Symbol.toPrimitive]=="function")return m.from(E[Symbol.toPrimitive]("string"),u,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof E)}m.from=function(E,u,a){return N(E,u,a)},Object.setPrototypeOf(m.prototype,Uint8Array.prototype),Object.setPrototypeOf(m,Uint8Array);function s(E){if(typeof E!="number")throw new TypeError('"size" argument must be of type number');if(E<0)throw new RangeError('The value "'+E+'" is invalid for option "size"')}function L(E,u,a){return s(E),E<=0?v(E):u!==void 0?typeof a=="string"?v(E).fill(u,a):v(E).fill(u):v(E)}m.alloc=function(E,u,a){return L(E,u,a)};function S(E){return s(E),v(E<0?0:Q(E)|0)}m.allocUnsafe=function(E){return S(E)},m.allocUnsafeSlow=function(E){return S(E)};function w(E,u){if((typeof u!="string"||u==="")&&(u="utf8"),!m.isEncoding(u))throw new TypeError("Unknown encoding: "+u);var a=Y(E,u)|0,p=v(a),M=p.write(E,u);return M!==a&&(p=p.slice(0,M)),p}function x(E){for(var u=E.length<0?0:Q(E.length)|0,a=v(u),p=0;p<u;p+=1)a[p]=E[p]&255;return a}function _(E){if(Mt(E,Uint8Array)){var u=new Uint8Array(E);return B(u.buffer,u.byteOffset,u.byteLength)}return x(E)}function B(E,u,a){if(u<0||E.byteLength<u)throw new RangeError('"offset" is outside of buffer bounds');if(E.byteLength<u+(a||0))throw new RangeError('"length" is outside of buffer bounds');var p;return u===void 0&&a===void 0?p=new Uint8Array(E):a===void 0?p=new Uint8Array(E,u):p=new Uint8Array(E,u,a),Object.setPrototypeOf(p,m.prototype),p}function W(E){if(m.isBuffer(E)){var u=Q(E.length)|0,a=v(u);return a.length===0||E.copy(a,0,0,u),a}if(E.length!==void 0)return typeof E.length!="number"||T(E.length)?v(0):x(E);if(E.type==="Buffer"&&Array.isArray(E.data))return x(E.data)}function Q(E){if(E>=R)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+R.toString(16)+" bytes");return E|0}function q(E){return+E!=E&&(E=0),m.alloc(+E)}m.isBuffer=function(u){return u!=null&&u._isBuffer===!0&&u!==m.prototype},m.compare=function(u,a){if(Mt(u,Uint8Array)&&(u=m.from(u,u.offset,u.byteLength)),Mt(a,Uint8Array)&&(a=m.from(a,a.offset,a.byteLength)),!m.isBuffer(u)||!m.isBuffer(a))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(u===a)return 0;for(var p=u.length,M=a.length,re=0,C=Math.min(p,M);re<C;++re)if(u[re]!==a[re]){p=u[re],M=a[re];break}return p<M?-1:M<p?1:0},m.isEncoding=function(u){switch(String(u).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},m.concat=function(u,a){if(!Array.isArray(u))throw new TypeError('"list" argument must be an Array of Buffers');if(u.length===0)return m.alloc(0);var p;if(a===void 0)for(a=0,p=0;p<u.length;++p)a+=u[p].length;var M=m.allocUnsafe(a),re=0;for(p=0;p<u.length;++p){var C=u[p];if(Mt(C,Uint8Array))re+C.length>M.length?m.from(C).copy(M,re):Uint8Array.prototype.set.call(M,C,re);else if(m.isBuffer(C))C.copy(M,re);else throw new TypeError('"list" argument must be an Array of Buffers');re+=C.length}return M};function Y(E,u){if(m.isBuffer(E))return E.length;if(ArrayBuffer.isView(E)||Mt(E,ArrayBuffer))return E.byteLength;if(typeof E!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof E);var a=E.length,p=arguments.length>2&&arguments[2]===!0;if(!p&&a===0)return 0;for(var M=!1;;)switch(u){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return Ot(E).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return Rt(E).length;default:if(M)return p?-1:Ot(E).length;u=(""+u).toLowerCase(),M=!0}}m.byteLength=Y;function G(E,u,a){var p=!1;if((u===void 0||u<0)&&(u=0),u>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,u>>>=0,a<=u))return"";for(E||(E="utf8");;)switch(E){case"hex":return ne(this,u,a);case"utf8":case"utf-8":return F(this,u,a);case"ascii":return de(this,u,a);case"latin1":case"binary":return Be(this,u,a);case"base64":return Ue(this,u,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ve(this,u,a);default:if(p)throw new TypeError("Unknown encoding: "+E);E=(E+"").toLowerCase(),p=!0}}m.prototype._isBuffer=!0;function D(E,u,a){var p=E[u];E[u]=E[a],E[a]=p}m.prototype.swap16=function(){var u=this.length;if(u%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var a=0;a<u;a+=2)D(this,a,a+1);return this},m.prototype.swap32=function(){var u=this.length;if(u%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var a=0;a<u;a+=4)D(this,a,a+3),D(this,a+1,a+2);return this},m.prototype.swap64=function(){var u=this.length;if(u%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var a=0;a<u;a+=8)D(this,a,a+7),D(this,a+1,a+6),D(this,a+2,a+5),D(this,a+3,a+4);return this},m.prototype.toString=function(){var u=this.length;return u===0?"":arguments.length===0?F(this,0,u):G.apply(this,arguments)},m.prototype.toLocaleString=m.prototype.toString,m.prototype.equals=function(u){if(!m.isBuffer(u))throw new TypeError("Argument must be a Buffer");return this===u?!0:m.compare(this,u)===0},m.prototype.inspect=function(){var u="",a=Ct.h2;return u=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim(),this.length>a&&(u+=" ... "),"<Buffer "+u+">"},be&&(m.prototype[be]=m.prototype.inspect),m.prototype.compare=function(u,a,p,M,re){if(Mt(u,Uint8Array)&&(u=m.from(u,u.offset,u.byteLength)),!m.isBuffer(u))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof u);if(a===void 0&&(a=0),p===void 0&&(p=u?u.length:0),M===void 0&&(M=0),re===void 0&&(re=this.length),a<0||p>u.length||M<0||re>this.length)throw new RangeError("out of range index");if(M>=re&&a>=p)return 0;if(M>=re)return-1;if(a>=p)return 1;if(a>>>=0,p>>>=0,M>>>=0,re>>>=0,this===u)return 0;for(var C=re-M,j=p-a,me=Math.min(C,j),Ae=this.slice(M,re),ie=u.slice(a,p),Se=0;Se<me;++Se)if(Ae[Se]!==ie[Se]){C=Ae[Se],j=ie[Se];break}return C<j?-1:j<C?1:0};function O(E,u,a,p,M){if(E.length===0)return-1;if(typeof a=="string"?(p=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,T(a)&&(a=M?0:E.length-1),a<0&&(a=E.length+a),a>=E.length){if(M)return-1;a=E.length-1}else if(a<0)if(M)a=0;else return-1;if(typeof u=="string"&&(u=m.from(u,p)),m.isBuffer(u))return u.length===0?-1:J(E,u,a,p,M);if(typeof u=="number")return u=u&255,typeof Uint8Array.prototype.indexOf=="function"?M?Uint8Array.prototype.indexOf.call(E,u,a):Uint8Array.prototype.lastIndexOf.call(E,u,a):J(E,[u],a,p,M);throw new TypeError("val must be string, number or Buffer")}function J(E,u,a,p,M){var re=1,C=E.length,j=u.length;if(p!==void 0&&(p=String(p).toLowerCase(),p==="ucs2"||p==="ucs-2"||p==="utf16le"||p==="utf-16le")){if(E.length<2||u.length<2)return-1;re=2,C/=2,j/=2,a/=2}function me(xe,He){return re===1?xe[He]:xe.readUInt16BE(He*re)}var Ae;if(M){var ie=-1;for(Ae=a;Ae<C;Ae++)if(me(E,Ae)===me(u,ie===-1?0:Ae-ie)){if(ie===-1&&(ie=Ae),Ae-ie+1===j)return ie*re}else ie!==-1&&(Ae-=Ae-ie),ie=-1}else for(a+j>C&&(a=C-j),Ae=a;Ae>=0;Ae--){for(var Se=!0,Ge=0;Ge<j;Ge++)if(me(E,Ae+Ge)!==me(u,Ge)){Se=!1;break}if(Se)return Ae}return-1}m.prototype.includes=function(u,a,p){return this.indexOf(u,a,p)!==-1},m.prototype.indexOf=function(u,a,p){return O(this,u,a,p,!0)},m.prototype.lastIndexOf=function(u,a,p){return O(this,u,a,p,!1)};function K(E,u,a,p){a=Number(a)||0;var M=E.length-a;p?(p=Number(p),p>M&&(p=M)):p=M;var re=u.length;p>re/2&&(p=re/2);for(var C=0;C<p;++C){var j=parseInt(u.substr(C*2,2),16);if(T(j))return C;E[a+C]=j}return C}function le(E,u,a,p){return on(Ot(u,E.length-a),E,a,p)}function ae(E,u,a,p){return on(Ee(u),E,a,p)}function he(E,u,a,p){return on(Rt(u),E,a,p)}function k(E,u,a,p){return on(kt(u,E.length-a),E,a,p)}m.prototype.write=function(u,a,p,M){if(a===void 0)M="utf8",p=this.length,a=0;else if(p===void 0&&typeof a=="string")M=a,p=this.length,a=0;else if(isFinite(a))a=a>>>0,isFinite(p)?(p=p>>>0,M===void 0&&(M="utf8")):(M=p,p=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var re=this.length-a;if((p===void 0||p>re)&&(p=re),u.length>0&&(p<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");M||(M="utf8");for(var C=!1;;)switch(M){case"hex":return K(this,u,a,p);case"utf8":case"utf-8":return le(this,u,a,p);case"ascii":case"latin1":case"binary":return ae(this,u,a,p);case"base64":return he(this,u,a,p);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,u,a,p);default:if(C)throw new TypeError("Unknown encoding: "+M);M=(""+M).toLowerCase(),C=!0}},m.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Ue(E,u,a){return u===0&&a===E.length?fe.fromByteArray(E):fe.fromByteArray(E.slice(u,a))}function F(E,u,a){a=Math.min(E.length,a);for(var p=[],M=u;M<a;){var re=E[M],C=null,j=re>239?4:re>223?3:re>191?2:1;if(M+j<=a){var me,Ae,ie,Se;switch(j){case 1:re<128&&(C=re);break;case 2:me=E[M+1],(me&192)===128&&(Se=(re&31)<<6|me&63,Se>127&&(C=Se));break;case 3:me=E[M+1],Ae=E[M+2],(me&192)===128&&(Ae&192)===128&&(Se=(re&15)<<12|(me&63)<<6|Ae&63,Se>2047&&(Se<55296||Se>57343)&&(C=Se));break;case 4:me=E[M+1],Ae=E[M+2],ie=E[M+3],(me&192)===128&&(Ae&192)===128&&(ie&192)===128&&(Se=(re&15)<<18|(me&63)<<12|(Ae&63)<<6|ie&63,Se>65535&&Se<1114112&&(C=Se))}}C===null?(C=65533,j=1):C>65535&&(C-=65536,p.push(C>>>10&1023|55296),C=56320|C&1023),p.push(C),M+=j}return we(p)}var De=4096;function we(E){var u=E.length;if(u<=De)return String.fromCharCode.apply(String,E);for(var a="",p=0;p<u;)a+=String.fromCharCode.apply(String,E.slice(p,p+=De));return a}function de(E,u,a){var p="";a=Math.min(E.length,a);for(var M=u;M<a;++M)p+=String.fromCharCode(E[M]&127);return p}function Be(E,u,a){var p="";a=Math.min(E.length,a);for(var M=u;M<a;++M)p+=String.fromCharCode(E[M]);return p}function ne(E,u,a){var p=E.length;(!u||u<0)&&(u=0),(!a||a<0||a>p)&&(a=p);for(var M="",re=u;re<a;++re)M+=Ye[E[re]];return M}function ve(E,u,a){for(var p=E.slice(u,a),M="",re=0;re<p.length-1;re+=2)M+=String.fromCharCode(p[re]+p[re+1]*256);return M}m.prototype.slice=function(u,a){var p=this.length;u=~~u,a=a===void 0?p:~~a,u<0?(u+=p,u<0&&(u=0)):u>p&&(u=p),a<0?(a+=p,a<0&&(a=0)):a>p&&(a=p),a<u&&(a=u);var M=this.subarray(u,a);return Object.setPrototypeOf(M,m.prototype),M};function ee(E,u,a){if(E%1!==0||E<0)throw new RangeError("offset is not uint");if(E+u>a)throw new RangeError("Trying to access beyond buffer length")}m.prototype.readUintLE=m.prototype.readUIntLE=function(u,a,p){u=u>>>0,a=a>>>0,p||ee(u,a,this.length);for(var M=this[u],re=1,C=0;++C<a&&(re*=256);)M+=this[u+C]*re;return M},m.prototype.readUintBE=m.prototype.readUIntBE=function(u,a,p){u=u>>>0,a=a>>>0,p||ee(u,a,this.length);for(var M=this[u+--a],re=1;a>0&&(re*=256);)M+=this[u+--a]*re;return M},m.prototype.readUint8=m.prototype.readUInt8=function(u,a){return u=u>>>0,a||ee(u,1,this.length),this[u]},m.prototype.readUint16LE=m.prototype.readUInt16LE=function(u,a){return u=u>>>0,a||ee(u,2,this.length),this[u]|this[u+1]<<8},m.prototype.readUint16BE=m.prototype.readUInt16BE=function(u,a){return u=u>>>0,a||ee(u,2,this.length),this[u]<<8|this[u+1]},m.prototype.readUint32LE=m.prototype.readUInt32LE=function(u,a){return u=u>>>0,a||ee(u,4,this.length),(this[u]|this[u+1]<<8|this[u+2]<<16)+this[u+3]*16777216},m.prototype.readUint32BE=m.prototype.readUInt32BE=function(u,a){return u=u>>>0,a||ee(u,4,this.length),this[u]*16777216+(this[u+1]<<16|this[u+2]<<8|this[u+3])},m.prototype.readIntLE=function(u,a,p){u=u>>>0,a=a>>>0,p||ee(u,a,this.length);for(var M=this[u],re=1,C=0;++C<a&&(re*=256);)M+=this[u+C]*re;return re*=128,M>=re&&(M-=Math.pow(2,8*a)),M},m.prototype.readIntBE=function(u,a,p){u=u>>>0,a=a>>>0,p||ee(u,a,this.length);for(var M=a,re=1,C=this[u+--M];M>0&&(re*=256);)C+=this[u+--M]*re;return re*=128,C>=re&&(C-=Math.pow(2,8*a)),C},m.prototype.readInt8=function(u,a){return u=u>>>0,a||ee(u,1,this.length),this[u]&128?(255-this[u]+1)*-1:this[u]},m.prototype.readInt16LE=function(u,a){u=u>>>0,a||ee(u,2,this.length);var p=this[u]|this[u+1]<<8;return p&32768?p|4294901760:p},m.prototype.readInt16BE=function(u,a){u=u>>>0,a||ee(u,2,this.length);var p=this[u+1]|this[u]<<8;return p&32768?p|4294901760:p},m.prototype.readInt32LE=function(u,a){return u=u>>>0,a||ee(u,4,this.length),this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24},m.prototype.readInt32BE=function(u,a){return u=u>>>0,a||ee(u,4,this.length),this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]},m.prototype.readFloatLE=function(u,a){return u=u>>>0,a||ee(u,4,this.length),H.read(this,u,!0,23,4)},m.prototype.readFloatBE=function(u,a){return u=u>>>0,a||ee(u,4,this.length),H.read(this,u,!1,23,4)},m.prototype.readDoubleLE=function(u,a){return u=u>>>0,a||ee(u,8,this.length),H.read(this,u,!0,52,8)},m.prototype.readDoubleBE=function(u,a){return u=u>>>0,a||ee(u,8,this.length),H.read(this,u,!1,52,8)};function se(E,u,a,p,M,re){if(!m.isBuffer(E))throw new TypeError('"buffer" argument must be a Buffer instance');if(u>M||u<re)throw new RangeError('"value" argument is out of bounds');if(a+p>E.length)throw new RangeError("Index out of range")}m.prototype.writeUintLE=m.prototype.writeUIntLE=function(u,a,p,M){if(u=+u,a=a>>>0,p=p>>>0,!M){var re=Math.pow(2,8*p)-1;se(this,u,a,p,re,0)}var C=1,j=0;for(this[a]=u&255;++j<p&&(C*=256);)this[a+j]=u/C&255;return a+p},m.prototype.writeUintBE=m.prototype.writeUIntBE=function(u,a,p,M){if(u=+u,a=a>>>0,p=p>>>0,!M){var re=Math.pow(2,8*p)-1;se(this,u,a,p,re,0)}var C=p-1,j=1;for(this[a+C]=u&255;--C>=0&&(j*=256);)this[a+C]=u/j&255;return a+p},m.prototype.writeUint8=m.prototype.writeUInt8=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,1,255,0),this[a]=u&255,a+1},m.prototype.writeUint16LE=m.prototype.writeUInt16LE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,2,65535,0),this[a]=u&255,this[a+1]=u>>>8,a+2},m.prototype.writeUint16BE=m.prototype.writeUInt16BE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,2,65535,0),this[a]=u>>>8,this[a+1]=u&255,a+2},m.prototype.writeUint32LE=m.prototype.writeUInt32LE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,4,4294967295,0),this[a+3]=u>>>24,this[a+2]=u>>>16,this[a+1]=u>>>8,this[a]=u&255,a+4},m.prototype.writeUint32BE=m.prototype.writeUInt32BE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,4,4294967295,0),this[a]=u>>>24,this[a+1]=u>>>16,this[a+2]=u>>>8,this[a+3]=u&255,a+4},m.prototype.writeIntLE=function(u,a,p,M){if(u=+u,a=a>>>0,!M){var re=Math.pow(2,8*p-1);se(this,u,a,p,re-1,-re)}var C=0,j=1,me=0;for(this[a]=u&255;++C<p&&(j*=256);)u<0&&me===0&&this[a+C-1]!==0&&(me=1),this[a+C]=(u/j>>0)-me&255;return a+p},m.prototype.writeIntBE=function(u,a,p,M){if(u=+u,a=a>>>0,!M){var re=Math.pow(2,8*p-1);se(this,u,a,p,re-1,-re)}var C=p-1,j=1,me=0;for(this[a+C]=u&255;--C>=0&&(j*=256);)u<0&&me===0&&this[a+C+1]!==0&&(me=1),this[a+C]=(u/j>>0)-me&255;return a+p},m.prototype.writeInt8=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,1,127,-128),u<0&&(u=255+u+1),this[a]=u&255,a+1},m.prototype.writeInt16LE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,2,32767,-32768),this[a]=u&255,this[a+1]=u>>>8,a+2},m.prototype.writeInt16BE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,2,32767,-32768),this[a]=u>>>8,this[a+1]=u&255,a+2},m.prototype.writeInt32LE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,4,2147483647,-2147483648),this[a]=u&255,this[a+1]=u>>>8,this[a+2]=u>>>16,this[a+3]=u>>>24,a+4},m.prototype.writeInt32BE=function(u,a,p){return u=+u,a=a>>>0,p||se(this,u,a,4,2147483647,-2147483648),u<0&&(u=4294967295+u+1),this[a]=u>>>24,this[a+1]=u>>>16,this[a+2]=u>>>8,this[a+3]=u&255,a+4};function je(E,u,a,p,M,re){if(a+p>E.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function Pe(E,u,a,p,M){return u=+u,a=a>>>0,M||je(E,u,a,4,34028234663852886e22,-34028234663852886e22),H.write(E,u,a,p,23,4),a+4}m.prototype.writeFloatLE=function(u,a,p){return Pe(this,u,a,!0,p)},m.prototype.writeFloatBE=function(u,a,p){return Pe(this,u,a,!1,p)};function Oe(E,u,a,p,M){return u=+u,a=a>>>0,M||je(E,u,a,8,17976931348623157e292,-17976931348623157e292),H.write(E,u,a,p,52,8),a+8}m.prototype.writeDoubleLE=function(u,a,p){return Oe(this,u,a,!0,p)},m.prototype.writeDoubleBE=function(u,a,p){return Oe(this,u,a,!1,p)},m.prototype.copy=function(u,a,p,M){if(!m.isBuffer(u))throw new TypeError("argument should be a Buffer");if(p||(p=0),!M&&M!==0&&(M=this.length),a>=u.length&&(a=u.length),a||(a=0),M>0&&M<p&&(M=p),M===p||u.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(p<0||p>=this.length)throw new RangeError("Index out of range");if(M<0)throw new RangeError("sourceEnd out of bounds");M>this.length&&(M=this.length),u.length-a<M-p&&(M=u.length-a+p);var re=M-p;return this===u&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(a,p,M):Uint8Array.prototype.set.call(u,this.subarray(p,M),a),re},m.prototype.fill=function(u,a,p,M){if(typeof u=="string"){if(typeof a=="string"?(M=a,a=0,p=this.length):typeof p=="string"&&(M=p,p=this.length),M!==void 0&&typeof M!="string")throw new TypeError("encoding must be a string");if(typeof M=="string"&&!m.isEncoding(M))throw new TypeError("Unknown encoding: "+M);if(u.length===1){var re=u.charCodeAt(0);(M==="utf8"&&re<128||M==="latin1")&&(u=re)}}else typeof u=="number"?u=u&255:typeof u=="boolean"&&(u=Number(u));if(a<0||this.length<a||this.length<p)throw new RangeError("Out of range index");if(p<=a)return this;a=a>>>0,p=p===void 0?this.length:p>>>0,u||(u=0);var C;if(typeof u=="number")for(C=a;C<p;++C)this[C]=u;else{var j=m.isBuffer(u)?u:m.from(u,M),me=j.length;if(me===0)throw new TypeError('The value "'+u+'" is invalid for argument "value"');for(C=0;C<p-a;++C)this[C+a]=j[C%me]}return this};var ut=/[^+/0-9A-Za-z-_]/g;function mt(E){if(E=E.split("=")[0],E=E.trim().replace(ut,""),E.length<2)return"";for(;E.length%4!==0;)E=E+"=";return E}function Ot(E,u){u=u||1/0;for(var a,p=E.length,M=null,re=[],C=0;C<p;++C){if(a=E.charCodeAt(C),a>55295&&a<57344){if(!M){if(a>56319){(u-=3)>-1&&re.push(239,191,189);continue}else if(C+1===p){(u-=3)>-1&&re.push(239,191,189);continue}M=a;continue}if(a<56320){(u-=3)>-1&&re.push(239,191,189),M=a;continue}a=(M-55296<<10|a-56320)+65536}else M&&(u-=3)>-1&&re.push(239,191,189);if(M=null,a<128){if((u-=1)<0)break;re.push(a)}else if(a<2048){if((u-=2)<0)break;re.push(a>>6|192,a&63|128)}else if(a<65536){if((u-=3)<0)break;re.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((u-=4)<0)break;re.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return re}function Ee(E){for(var u=[],a=0;a<E.length;++a)u.push(E.charCodeAt(a)&255);return u}function kt(E,u){for(var a,p,M,re=[],C=0;C<E.length&&!((u-=2)<0);++C)a=E.charCodeAt(C),p=a>>8,M=a%256,re.push(M),re.push(p);return re}function Rt(E){return fe.toByteArray(mt(E))}function on(E,u,a,p){for(var M=0;M<p&&!(M+a>=u.length||M>=E.length);++M)u[M+a]=E[M];return M}function Mt(E,u){return E instanceof u||E!=null&&E.constructor!=null&&E.constructor.name!=null&&E.constructor.name===u.name}function T(E){return E!==E}var Ye=function(){for(var E="0123456789abcdef",u=new Array(256),a=0;a<16;++a)for(var p=a*16,M=0;M<16;++M)u[p+M]=E[a]+E[M];return u}()},64270:function(tr){(function(Ct,h){tr.exports=h()})(this,function(){"use strict";var Ct=function(c,o){return Ct=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,d){f.__proto__=d}||function(f,d){for(var z in d)Object.prototype.hasOwnProperty.call(d,z)&&(f[z]=d[z])},Ct(c,o)};function h(c,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");Ct(c,o);function f(){this.constructor=c}c.prototype=o===null?Object.create(o):(f.prototype=o.prototype,new f)}var ye=function(){return ye=Object.assign||function(o){for(var f,d=1,z=arguments.length;d<z;d++){f=arguments[d];for(var ue in f)Object.prototype.hasOwnProperty.call(f,ue)&&(o[ue]=f[ue])}return o},ye.apply(this,arguments)};function fe(c,o,f,d){function z(ue){return ue instanceof f?ue:new f(function(Ne){Ne(ue)})}return new(f||(f=Promise))(function(ue,Ne){function et(jt){try{Lt(d.next(jt))}catch(Gt){Ne(Gt)}}function qe(jt){try{Lt(d.throw(jt))}catch(Gt){Ne(Gt)}}function Lt(jt){jt.done?ue(jt.value):z(jt.value).then(et,qe)}Lt((d=d.apply(c,o||[])).next())})}function H(c,o){var f={label:0,sent:function(){if(ue[0]&1)throw ue[1];return ue[1]},trys:[],ops:[]},d,z,ue,Ne;return Ne={next:et(0),throw:et(1),return:et(2)},typeof Symbol=="function"&&(Ne[Symbol.iterator]=function(){return this}),Ne;function et(Lt){return function(jt){return qe([Lt,jt])}}function qe(Lt){if(d)throw new TypeError("Generator is already executing.");for(;f;)try{if(d=1,z&&(ue=Lt[0]&2?z.return:Lt[0]?z.throw||((ue=z.return)&&ue.call(z),0):z.next)&&!(ue=ue.call(z,Lt[1])).done)return ue;switch(z=0,ue&&(Lt=[Lt[0]&2,ue.value]),Lt[0]){case 0:case 1:ue=Lt;break;case 4:return f.label++,{value:Lt[1],done:!1};case 5:f.label++,z=Lt[1],Lt=[0];continue;case 7:Lt=f.ops.pop(),f.trys.pop();continue;default:if(ue=f.trys,!(ue=ue.length>0&&ue[ue.length-1])&&(Lt[0]===6||Lt[0]===2)){f=0;continue}if(Lt[0]===3&&(!ue||Lt[1]>ue[0]&&Lt[1]<ue[3])){f.label=Lt[1];break}if(Lt[0]===6&&f.label<ue[1]){f.label=ue[1],ue=Lt;break}if(ue&&f.label<ue[2]){f.label=ue[2],f.ops.push(Lt);break}ue[2]&&f.ops.pop(),f.trys.pop();continue}Lt=o.call(c,f)}catch(jt){Lt=[6,jt],z=0}finally{d=ue=0}if(Lt[0]&5)throw Lt[1];return{value:Lt[0]?Lt[1]:void 0,done:!0}}}function be(c,o,f){if(f||arguments.length===2)for(var d=0,z=o.length,ue;d<z;d++)(ue||!(d in o))&&(ue||(ue=Array.prototype.slice.call(o,0,d)),ue[d]=o[d]);return c.concat(ue||o)}for(var R=function(){function c(o,f,d,z){this.left=o,this.top=f,this.width=d,this.height=z}return c.prototype.add=function(o,f,d,z){return new c(this.left+o,this.top+f,this.width+d,this.height+z)},c.fromClientRect=function(o,f){return new c(f.left+o.windowBounds.left,f.top+o.windowBounds.top,f.width,f.height)},c.fromDOMRectList=function(o,f){var d=Array.from(f).find(function(z){return z.width!==0});return d?new c(d.left+o.windowBounds.left,d.top+o.windowBounds.top,d.width,d.height):c.EMPTY},c.EMPTY=new c(0,0,0,0),c}(),$=function(c,o){return R.fromClientRect(c,o.getBoundingClientRect())},v=function(c){var o=c.body,f=c.documentElement;if(!o||!f)throw new Error("Unable to get document size");var d=Math.max(Math.max(o.scrollWidth,f.scrollWidth),Math.max(o.offsetWidth,f.offsetWidth),Math.max(o.clientWidth,f.clientWidth)),z=Math.max(Math.max(o.scrollHeight,f.scrollHeight),Math.max(o.offsetHeight,f.offsetHeight),Math.max(o.clientHeight,f.clientHeight));return new R(0,0,d,z)},m=function(c){for(var o=[],f=0,d=c.length;f<d;){var z=c.charCodeAt(f++);if(z>=55296&&z<=56319&&f<d){var ue=c.charCodeAt(f++);(ue&64512)===56320?o.push(((z&1023)<<10)+(ue&1023)+65536):(o.push(z),f--)}else o.push(z)}return o},N=function(){for(var c=[],o=0;o<arguments.length;o++)c[o]=arguments[o];if(String.fromCodePoint)return String.fromCodePoint.apply(String,c);var f=c.length;if(!f)return"";for(var d=[],z=-1,ue="";++z<f;){var Ne=c[z];Ne<=65535?d.push(Ne):(Ne-=65536,d.push((Ne>>10)+55296,Ne%1024+56320)),(z+1===f||d.length>16384)&&(ue+=String.fromCharCode.apply(String,d),d.length=0)}return ue},s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",L=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),S=0;S<s.length;S++)L[s.charCodeAt(S)]=S;for(var w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),_=0;_<w.length;_++)x[w.charCodeAt(_)]=_;for(var B=function(c){var o=c.length*.75,f=c.length,d,z=0,ue,Ne,et,qe;c[c.length-1]==="="&&(o--,c[c.length-2]==="="&&o--);var Lt=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(o):new Array(o),jt=Array.isArray(Lt)?Lt:new Uint8Array(Lt);for(d=0;d<f;d+=4)ue=x[c.charCodeAt(d)],Ne=x[c.charCodeAt(d+1)],et=x[c.charCodeAt(d+2)],qe=x[c.charCodeAt(d+3)],jt[z++]=ue<<2|Ne>>4,jt[z++]=(Ne&15)<<4|et>>2,jt[z++]=(et&3)<<6|qe&63;return Lt},W=function(c){for(var o=c.length,f=[],d=0;d<o;d+=2)f.push(c[d+1]<<8|c[d]);return f},Q=function(c){for(var o=c.length,f=[],d=0;d<o;d+=4)f.push(c[d+3]<<24|c[d+2]<<16|c[d+1]<<8|c[d]);return f},q=5,Y=11,G=2,D=Y-q,O=65536>>q,J=1<<q,K=J-1,le=1024>>q,ae=O+le,he=ae,k=32,Ue=he+k,F=65536>>Y,De=1<<D,we=De-1,de=function(c,o,f){return c.slice?c.slice(o,f):new Uint16Array(Array.prototype.slice.call(c,o,f))},Be=function(c,o,f){return c.slice?c.slice(o,f):new Uint32Array(Array.prototype.slice.call(c,o,f))},ne=function(c,o){var f=B(c),d=Array.isArray(f)?Q(f):new Uint32Array(f),z=Array.isArray(f)?W(f):new Uint16Array(f),ue=24,Ne=de(z,ue/2,d[4]/2),et=d[5]===2?de(z,(ue+d[4])/2):Be(d,Math.ceil((ue+d[4])/4));return new ve(d[0],d[1],d[2],d[3],Ne,et)},ve=function(){function c(o,f,d,z,ue,Ne){this.initialValue=o,this.errorValue=f,this.highStart=d,this.highValueIndex=z,this.index=ue,this.data=Ne}return c.prototype.get=function(o){var f;if(o>=0){if(o<55296||o>56319&&o<=65535)return f=this.index[o>>q],f=(f<<G)+(o&K),this.data[f];if(o<=65535)return f=this.index[O+(o-55296>>q)],f=(f<<G)+(o&K),this.data[f];if(o<this.highStart)return f=Ue-F+(o>>Y),f=this.index[f],f+=o>>q&we,f=this.index[f],f=(f<<G)+(o&K),this.data[f];if(o<=1114111)return this.data[this.highValueIndex]}return this.errorValue},c}(),ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),je=0;je<ee.length;je++)se[ee.charCodeAt(je)]=je;var Pe="KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA==",Oe=50,ut=1,mt=2,Ot=3,Ee=4,kt=5,Rt=7,on=8,Mt=9,T=10,Ye=11,E=12,u=13,a=14,p=15,M=16,re=17,C=18,j=19,me=20,Ae=21,ie=22,Se=23,Ge=24,xe=25,He=26,Te=27,pe=28,ge=29,Ve=30,yt=31,ht=32,Tt=33,sn=34,tn=35,pn=36,mn=37,qt=38,gn=39,Sn=40,Jn=41,Br=42,Xn=43,zr=[9001,65288],pi="!",yn="\xD7",Vr="\xF7",Nt=ne(Pe),qr=[Ve,pn],Yi=[ut,mt,Ot,kt],bi=[T,on],Pi=[Te,He],Io=Yi.concat(bi),Ni=[qt,gn,Sn,sn,tn],Qr=[p,u],Ei=function(c,o){o===void 0&&(o="strict");var f=[],d=[],z=[];return c.forEach(function(ue,Ne){var et=Nt.get(ue);if(et>Oe?(z.push(!0),et-=Oe):z.push(!1),["normal","auto","loose"].indexOf(o)!==-1&&[8208,8211,12316,12448].indexOf(ue)!==-1)return d.push(Ne),f.push(M);if(et===Ee||et===Ye){if(Ne===0)return d.push(Ne),f.push(Ve);var qe=f[Ne-1];return Io.indexOf(qe)===-1?(d.push(d[Ne-1]),f.push(qe)):(d.push(Ne),f.push(Ve))}if(d.push(Ne),et===yt)return f.push(o==="strict"?Ae:mn);if(et===Br||et===ge)return f.push(Ve);if(et===Xn)return ue>=131072&&ue<=196605||ue>=196608&&ue<=262141?f.push(mn):f.push(Ve);f.push(et)}),[d,f,z]},nt=function(c,o,f,d){var z=d[f];if(Array.isArray(c)?c.indexOf(z)!==-1:c===z)for(var ue=f;ue<=d.length;){ue++;var Ne=d[ue];if(Ne===o)return!0;if(Ne!==T)break}if(z===T)for(var ue=f;ue>0;){ue--;var et=d[ue];if(Array.isArray(c)?c.indexOf(et)!==-1:c===et)for(var qe=f;qe<=d.length;){qe++;var Ne=d[qe];if(Ne===o)return!0;if(Ne!==T)break}if(et!==T)break}return!1},Jt=function(c,o){for(var f=c;f>=0;){var d=o[f];if(d===T)f--;else return d}return 0},An=function(c,o,f,d,z){if(f[d]===0)return yn;var ue=d-1;if(Array.isArray(z)&&z[ue]===!0)return yn;var Ne=ue-1,et=ue+1,qe=o[ue],Lt=Ne>=0?o[Ne]:0,jt=o[et];if(qe===mt&&jt===Ot)return yn;if(Yi.indexOf(qe)!==-1)return pi;if(Yi.indexOf(jt)!==-1||bi.indexOf(jt)!==-1)return yn;if(Jt(ue,o)===on)return Vr;if(Nt.get(c[ue])===Ye||(qe===ht||qe===Tt)&&Nt.get(c[et])===Ye||qe===Rt||jt===Rt||qe===Mt||[T,u,p].indexOf(qe)===-1&&jt===Mt||[re,C,j,Ge,pe].indexOf(jt)!==-1||Jt(ue,o)===ie||nt(Se,ie,ue,o)||nt([re,C],Ae,ue,o)||nt(E,E,ue,o))return yn;if(qe===T)return Vr;if(qe===Se||jt===Se)return yn;if(jt===M||qe===M)return Vr;if([u,p,Ae].indexOf(jt)!==-1||qe===a||Lt===pn&&Qr.indexOf(qe)!==-1||qe===pe&&jt===pn||jt===me||qr.indexOf(jt)!==-1&&qe===xe||qr.indexOf(qe)!==-1&&jt===xe||qe===Te&&[mn,ht,Tt].indexOf(jt)!==-1||[mn,ht,Tt].indexOf(qe)!==-1&&jt===He||qr.indexOf(qe)!==-1&&Pi.indexOf(jt)!==-1||Pi.indexOf(qe)!==-1&&qr.indexOf(jt)!==-1||[Te,He].indexOf(qe)!==-1&&(jt===xe||[ie,p].indexOf(jt)!==-1&&o[et+1]===xe)||[ie,p].indexOf(qe)!==-1&&jt===xe||qe===xe&&[xe,pe,Ge].indexOf(jt)!==-1)return yn;if([xe,pe,Ge,re,C].indexOf(jt)!==-1)for(var Gt=ue;Gt>=0;){var _n=o[Gt];if(_n===xe)return yn;if([pe,Ge].indexOf(_n)!==-1)Gt--;else break}if([Te,He].indexOf(jt)!==-1)for(var Gt=[re,C].indexOf(qe)!==-1?Ne:ue;Gt>=0;){var _n=o[Gt];if(_n===xe)return yn;if([pe,Ge].indexOf(_n)!==-1)Gt--;else break}if(qt===qe&&[qt,gn,sn,tn].indexOf(jt)!==-1||[gn,sn].indexOf(qe)!==-1&&[gn,Sn].indexOf(jt)!==-1||[Sn,tn].indexOf(qe)!==-1&&jt===Sn||Ni.indexOf(qe)!==-1&&[me,He].indexOf(jt)!==-1||Ni.indexOf(jt)!==-1&&qe===Te||qr.indexOf(qe)!==-1&&qr.indexOf(jt)!==-1||qe===Ge&&qr.indexOf(jt)!==-1||qr.concat(xe).indexOf(qe)!==-1&&jt===ie&&zr.indexOf(c[et])===-1||qr.concat(xe).indexOf(jt)!==-1&&qe===C)return yn;if(qe===Jn&&jt===Jn){for(var ci=f[ue],gr=1;ci>0&&(ci--,o[ci]===Jn);)gr++;if(gr%2!==0)return yn}return qe===ht&&jt===Tt?yn:Vr},Ke=function(c,o){o||(o={lineBreak:"normal",wordBreak:"normal"});var f=Ei(c,o.lineBreak),d=f[0],z=f[1],ue=f[2];(o.wordBreak==="break-all"||o.wordBreak==="break-word")&&(z=z.map(function(et){return[xe,Ve,Br].indexOf(et)!==-1?mn:et}));var Ne=o.wordBreak==="keep-all"?ue.map(function(et,qe){return et&&c[qe]>=19968&&c[qe]<=40959}):void 0;return[d,z,Ne]},ze=function(){function c(o,f,d,z){this.codePoints=o,this.required=f===pi,this.start=d,this.end=z}return c.prototype.slice=function(){return N.apply(void 0,this.codePoints.slice(this.start,this.end))},c}(),en=function(c,o){var f=m(c),d=Ke(f,o),z=d[0],ue=d[1],Ne=d[2],et=f.length,qe=0,Lt=0;return{next:function(){if(Lt>=et)return{done:!0,value:null};for(var jt=yn;Lt<et&&(jt=An(f,ue,z,++Lt,Ne))===yn;);if(jt!==yn||Lt===et){var Gt=new ze(f,jt,qe,Lt);return qe=Lt,{value:Gt,done:!1}}return{done:!0,value:null}}}},Zt=1,Tn=2,hn=4,Un=8,Hn=10,kn=47,cr=92,Ln=9,qn=32,sr=34,Kn=61,ur=35,ir=36,Gr=37,Er=39,Qn=40,gt=41,Ft=95,Qt=45,Xt=33,Wt=60,Pn=62,wn=64,ar=91,wr=93,Nr=61,ni=123,Mr=63,Xr=125,Ht=124,Zn=126,or=128,Sr=65533,Rr=42,Yn=43,hr=44,jr=58,kr=59,ei=46,Ji=0,Cr=8,Wn=11,Fn=14,Lr=31,Ur=127,Zr=-1,wi=48,Vi=97,zo=101,uo=102,Fo=117,Ir=122,dr=65,Ai=69,Ii=70,so=85,Za=90,bo=function(c){return c>=wi&&c<=57},Zo=function(c){return c>=55296&&c<=57343},Jo=function(c){return bo(c)||c>=dr&&c<=Ii||c>=Vi&&c<=uo},ja=function(c){return c>=Vi&&c<=Ir},Na=function(c){return c>=dr&&c<=Za},lA=function(c){return ja(c)||Na(c)},Xo=function(c){return c>=or},La=function(c){return c===Hn||c===Ln||c===qn},cA=function(c){return lA(c)||Xo(c)||c===Ft},vA=function(c){return cA(c)||bo(c)||c===Qt},_a=function(c){return c>=Ji&&c<=Cr||c===Wn||c>=Fn&&c<=Lr||c===Ur},da=function(c,o){return c!==cr?!1:o!==Hn},qa=function(c,o,f){return c===Qt?cA(o)||da(o,f):cA(c)?!0:!!(c===cr&&da(c,o))},GA=function(c,o,f){return c===Yn||c===Qt?bo(o)?!0:o===ei&&bo(f):bo(c===ei?o:c)},NA=function(c){var o=0,f=1;(c[o]===Yn||c[o]===Qt)&&(c[o]===Qt&&(f=-1),o++);for(var d=[];bo(c[o]);)d.push(c[o++]);var z=d.length?parseInt(N.apply(void 0,d),10):0;c[o]===ei&&o++;for(var ue=[];bo(c[o]);)ue.push(c[o++]);var Ne=ue.length,et=Ne?parseInt(N.apply(void 0,ue),10):0;(c[o]===Ai||c[o]===zo)&&o++;var qe=1;(c[o]===Yn||c[o]===Qt)&&(c[o]===Qt&&(qe=-1),o++);for(var Lt=[];bo(c[o]);)Lt.push(c[o++]);var jt=Lt.length?parseInt(N.apply(void 0,Lt),10):0;return f*(z+et*Math.pow(10,-Ne))*Math.pow(10,qe*jt)},ms={type:2},Is={type:3},Fs={type:4},yA={type:13},Ys={type:8},Us={type:21},Os={type:9},jA={type:10},wa={type:11},Hr={type:12},Di={type:14},Bi={type:23},Li={type:1},po={type:25},qo={type:24},wA={type:26},Wa={type:27},Ha={type:28},Va={type:29},Ns={type:31},Ls={type:32},bl=function(){function c(){this._value=[]}return c.prototype.write=function(o){this._value=this._value.concat(m(o))},c.prototype.read=function(){for(var o=[],f=this.consumeToken();f!==Ls;)o.push(f),f=this.consumeToken();return o},c.prototype.consumeToken=function(){var o=this.consumeCodePoint();switch(o){case sr:return this.consumeStringToken(sr);case ur:var f=this.peekCodePoint(0),d=this.peekCodePoint(1),z=this.peekCodePoint(2);if(vA(f)||da(d,z)){var ue=qa(f,d,z)?Tn:Zt,Ne=this.consumeName();return{type:5,value:Ne,flags:ue}}break;case ir:if(this.peekCodePoint(0)===Kn)return this.consumeCodePoint(),yA;break;case Er:return this.consumeStringToken(Er);case Qn:return ms;case gt:return Is;case Rr:if(this.peekCodePoint(0)===Kn)return this.consumeCodePoint(),Di;break;case Yn:if(GA(o,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(o),this.consumeNumericToken();break;case hr:return Fs;case Qt:var et=o,qe=this.peekCodePoint(0),Lt=this.peekCodePoint(1);if(GA(et,qe,Lt))return this.reconsumeCodePoint(o),this.consumeNumericToken();if(qa(et,qe,Lt))return this.reconsumeCodePoint(o),this.consumeIdentLikeToken();if(qe===Qt&&Lt===Pn)return this.consumeCodePoint(),this.consumeCodePoint(),qo;break;case ei:if(GA(o,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(o),this.consumeNumericToken();break;case kn:if(this.peekCodePoint(0)===Rr)for(this.consumeCodePoint();;){var jt=this.consumeCodePoint();if(jt===Rr&&(jt=this.consumeCodePoint(),jt===kn))return this.consumeToken();if(jt===Zr)return this.consumeToken()}break;case jr:return wA;case kr:return Wa;case Wt:if(this.peekCodePoint(0)===Xt&&this.peekCodePoint(1)===Qt&&this.peekCodePoint(2)===Qt)return this.consumeCodePoint(),this.consumeCodePoint(),po;break;case wn:var Gt=this.peekCodePoint(0),_n=this.peekCodePoint(1),ci=this.peekCodePoint(2);if(qa(Gt,_n,ci)){var Ne=this.consumeName();return{type:7,value:Ne}}break;case ar:return Ha;case cr:if(da(o,this.peekCodePoint(0)))return this.reconsumeCodePoint(o),this.consumeIdentLikeToken();break;case wr:return Va;case Nr:if(this.peekCodePoint(0)===Kn)return this.consumeCodePoint(),Ys;break;case ni:return wa;case Xr:return Hr;case Fo:case so:var gr=this.peekCodePoint(0),$r=this.peekCodePoint(1);return gr===Yn&&(Jo($r)||$r===Mr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(o),this.consumeIdentLikeToken();case Ht:if(this.peekCodePoint(0)===Kn)return this.consumeCodePoint(),Os;if(this.peekCodePoint(0)===Ht)return this.consumeCodePoint(),Us;break;case Zn:if(this.peekCodePoint(0)===Kn)return this.consumeCodePoint(),jA;break;case Zr:return Ls}return La(o)?(this.consumeWhiteSpace(),Ns):bo(o)?(this.reconsumeCodePoint(o),this.consumeNumericToken()):cA(o)?(this.reconsumeCodePoint(o),this.consumeIdentLikeToken()):{type:6,value:N(o)}},c.prototype.consumeCodePoint=function(){var o=this._value.shift();return typeof o=="undefined"?-1:o},c.prototype.reconsumeCodePoint=function(o){this._value.unshift(o)},c.prototype.peekCodePoint=function(o){return o>=this._value.length?-1:this._value[o]},c.prototype.consumeUnicodeRangeToken=function(){for(var o=[],f=this.consumeCodePoint();Jo(f)&&o.length<6;)o.push(f),f=this.consumeCodePoint();for(var d=!1;f===Mr&&o.length<6;)o.push(f),f=this.consumeCodePoint(),d=!0;if(d){var z=parseInt(N.apply(void 0,o.map(function(qe){return qe===Mr?wi:qe})),16),ue=parseInt(N.apply(void 0,o.map(function(qe){return qe===Mr?Ii:qe})),16);return{type:30,start:z,end:ue}}var Ne=parseInt(N.apply(void 0,o),16);if(this.peekCodePoint(0)===Qt&&Jo(this.peekCodePoint(1))){this.consumeCodePoint(),f=this.consumeCodePoint();for(var et=[];Jo(f)&&et.length<6;)et.push(f),f=this.consumeCodePoint();var ue=parseInt(N.apply(void 0,et),16);return{type:30,start:Ne,end:ue}}else return{type:30,start:Ne,end:Ne}},c.prototype.consumeIdentLikeToken=function(){var o=this.consumeName();return o.toLowerCase()==="url"&&this.peekCodePoint(0)===Qn?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Qn?(this.consumeCodePoint(),{type:19,value:o}):{type:20,value:o}},c.prototype.consumeUrlToken=function(){var o=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zr)return{type:22,value:""};var f=this.peekCodePoint(0);if(f===Er||f===sr){var d=this.consumeStringToken(this.consumeCodePoint());return d.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Zr||this.peekCodePoint(0)===gt)?(this.consumeCodePoint(),{type:22,value:d.value}):(this.consumeBadUrlRemnants(),Bi)}for(;;){var z=this.consumeCodePoint();if(z===Zr||z===gt)return{type:22,value:N.apply(void 0,o)};if(La(z))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Zr||this.peekCodePoint(0)===gt?(this.consumeCodePoint(),{type:22,value:N.apply(void 0,o)}):(this.consumeBadUrlRemnants(),Bi);if(z===sr||z===Er||z===Qn||_a(z))return this.consumeBadUrlRemnants(),Bi;if(z===cr)if(da(z,this.peekCodePoint(0)))o.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Bi;else o.push(z)}},c.prototype.consumeWhiteSpace=function(){for(;La(this.peekCodePoint(0));)this.consumeCodePoint()},c.prototype.consumeBadUrlRemnants=function(){for(;;){var o=this.consumeCodePoint();if(o===gt||o===Zr)return;da(o,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},c.prototype.consumeStringSlice=function(o){for(var f=5e4,d="";o>0;){var z=Math.min(f,o);d+=N.apply(void 0,this._value.splice(0,z)),o-=z}return this._value.shift(),d},c.prototype.consumeStringToken=function(o){var f="",d=0;do{var z=this._value[d];if(z===Zr||z===void 0||z===o)return f+=this.consumeStringSlice(d),{type:0,value:f};if(z===Hn)return this._value.splice(0,d),Li;if(z===cr){var ue=this._value[d+1];ue!==Zr&&ue!==void 0&&(ue===Hn?(f+=this.consumeStringSlice(d),d=-1,this._value.shift()):da(z,ue)&&(f+=this.consumeStringSlice(d),f+=N(this.consumeEscapedCodePoint()),d=-1))}d++}while(!0)},c.prototype.consumeNumber=function(){var o=[],f=hn,d=this.peekCodePoint(0);for((d===Yn||d===Qt)&&o.push(this.consumeCodePoint());bo(this.peekCodePoint(0));)o.push(this.consumeCodePoint());d=this.peekCodePoint(0);var z=this.peekCodePoint(1);if(d===ei&&bo(z))for(o.push(this.consumeCodePoint(),this.consumeCodePoint()),f=Un;bo(this.peekCodePoint(0));)o.push(this.consumeCodePoint());d=this.peekCodePoint(0),z=this.peekCodePoint(1);var ue=this.peekCodePoint(2);if((d===Ai||d===zo)&&((z===Yn||z===Qt)&&bo(ue)||bo(z)))for(o.push(this.consumeCodePoint(),this.consumeCodePoint()),f=Un;bo(this.peekCodePoint(0));)o.push(this.consumeCodePoint());return[NA(o),f]},c.prototype.consumeNumericToken=function(){var o=this.consumeNumber(),f=o[0],d=o[1],z=this.peekCodePoint(0),ue=this.peekCodePoint(1),Ne=this.peekCodePoint(2);if(qa(z,ue,Ne)){var et=this.consumeName();return{type:15,number:f,flags:d,unit:et}}return z===Gr?(this.consumeCodePoint(),{type:16,number:f,flags:d}):{type:17,number:f,flags:d}},c.prototype.consumeEscapedCodePoint=function(){var o=this.consumeCodePoint();if(Jo(o)){for(var f=N(o);Jo(this.peekCodePoint(0))&&f.length<6;)f+=N(this.consumeCodePoint());La(this.peekCodePoint(0))&&this.consumeCodePoint();var d=parseInt(f,16);return d===0||Zo(d)||d>1114111?Sr:d}return o===Zr?Sr:o},c.prototype.consumeName=function(){for(var o="";;){var f=this.consumeCodePoint();if(vA(f))o+=N(f);else if(da(f,this.peekCodePoint(0)))o+=N(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(f),o}},c}(),vs=function(){function c(o){this._tokens=o}return c.create=function(o){var f=new bl;return f.write(o),new c(f.read())},c.parseValue=function(o){return c.create(o).parseComponentValue()},c.parseValues=function(o){return c.create(o).parseComponentValues()},c.prototype.parseComponentValue=function(){for(var o=this.consumeToken();o.type===31;)o=this.consumeToken();if(o.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(o);var f=this.consumeComponentValue();do o=this.consumeToken();while(o.type===31);if(o.type===32)return f;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},c.prototype.parseComponentValues=function(){for(var o=[];;){var f=this.consumeComponentValue();if(f.type===32)return o;o.push(f),o.push()}},c.prototype.consumeComponentValue=function(){var o=this.consumeToken();switch(o.type){case 11:case 28:case 2:return this.consumeSimpleBlock(o.type);case 19:return this.consumeFunction(o)}return o},c.prototype.consumeSimpleBlock=function(o){for(var f={type:o,values:[]},d=this.consumeToken();;){if(d.type===32||ac(d,o))return f;this.reconsumeToken(d),f.values.push(this.consumeComponentValue()),d=this.consumeToken()}},c.prototype.consumeFunction=function(o){for(var f={name:o.value,values:[],type:18};;){var d=this.consumeToken();if(d.type===32||d.type===3)return f;this.reconsumeToken(d),f.values.push(this.consumeComponentValue())}},c.prototype.consumeToken=function(){var o=this._tokens.shift();return typeof o=="undefined"?Ls:o},c.prototype.reconsumeToken=function(o){this._tokens.unshift(o)},c}(),LA=function(c){return c.type===15},pA=function(c){return c.type===17},ea=function(c){return c.type===20},Js=function(c){return c.type===0},Rl=function(c,o){return ea(c)&&c.value===o},XA=function(c){return c.type!==31},qs=function(c){return c.type!==31&&c.type!==4},as=function(c){var o=[],f=[];return c.forEach(function(d){if(d.type===4){if(f.length===0)throw new Error("Error parsing function args, zero tokens for arg");o.push(f),f=[];return}d.type!==31&&f.push(d)}),f.length&&o.push(f),o},ac=function(c,o){return o===11&&c.type===12||o===28&&c.type===29?!0:o===2&&c.type===3},ys=function(c){return c.type===17||c.type===15},Ga=function(c){return c.type===16||ys(c)},Ac=function(c){return c.length>1?[c[0],c[1]]:[c[0]]},eA={type:17,number:0,flags:hn},fl={type:16,number:50,flags:hn},_s={type:16,number:100,flags:hn},el=function(c,o,f){var d=c[0],z=c[1];return[xo(d,o),xo(typeof z!="undefined"?z:d,f)]},xo=function(c,o){if(c.type===16)return c.number/100*o;if(LA(c))switch(c.unit){case"rem":case"em":return 16*c.number;case"px":default:return c.number}return c.number},sc="deg",lc="grad",_c="rad",xa="turn",Ki={name:"angle",parse:function(c,o){if(o.type===15)switch(o.unit){case sc:return Math.PI*o.number/180;case lc:return Math.PI/200*o.number;case _c:return o.number;case xa:return Math.PI*2*o.number}throw new Error("Unsupported angle type")}},ji=function(c){return c.type===15&&(c.unit===sc||c.unit===lc||c.unit===_c||c.unit===xa)},gA=function(c){var o=c.filter(ea).map(function(f){return f.value}).join(" ");switch(o){case"to bottom right":case"to right bottom":case"left top":case"top left":return[eA,eA];case"to top":case"bottom":return Po(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[eA,_s];case"to right":case"left":return Po(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[_s,_s];case"to bottom":case"top":return Po(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[_s,eA];case"to left":case"right":return Po(270)}return 0},Po=function(c){return Math.PI*c/180},ta={name:"color",parse:function(c,o){if(o.type===18){var f=bA[o.name];if(typeof f=="undefined")throw new Error('Attempting to parse an unsupported color function "'+o.name+'"');return f(c,o.values)}if(o.type===5){if(o.value.length===3){var d=o.value.substring(0,1),z=o.value.substring(1,2),ue=o.value.substring(2,3);return ba(parseInt(d+d,16),parseInt(z+z,16),parseInt(ue+ue,16),1)}if(o.value.length===4){var d=o.value.substring(0,1),z=o.value.substring(1,2),ue=o.value.substring(2,3),Ne=o.value.substring(3,4);return ba(parseInt(d+d,16),parseInt(z+z,16),parseInt(ue+ue,16),parseInt(Ne+Ne,16)/255)}if(o.value.length===6){var d=o.value.substring(0,2),z=o.value.substring(2,4),ue=o.value.substring(4,6);return ba(parseInt(d,16),parseInt(z,16),parseInt(ue,16),1)}if(o.value.length===8){var d=o.value.substring(0,2),z=o.value.substring(2,4),ue=o.value.substring(4,6),Ne=o.value.substring(6,8);return ba(parseInt(d,16),parseInt(z,16),parseInt(ue,16),parseInt(Ne,16)/255)}}if(o.type===20){var et=tA[o.value.toUpperCase()];if(typeof et!="undefined")return et}return tA.TRANSPARENT}},na=function(c){return(255&c)===0},Yo=function(c){var o=255&c,f=255&c>>8,d=255&c>>16,z=255&c>>24;return o<255?"rgba("+z+","+d+","+f+","+o/255+")":"rgb("+z+","+d+","+f+")"},ba=function(c,o,f,d){return(c<<24|o<<16|f<<8|Math.round(d*255)<<0)>>>0},YA=function(c,o){if(c.type===17)return c.number;if(c.type===16){var f=o===3?1:255;return o===3?c.number/100*f:Math.round(c.number/100*f)}return 0},hl=function(c,o){var f=o.filter(qs);if(f.length===3){var d=f.map(YA),z=d[0],ue=d[1],Ne=d[2];return ba(z,ue,Ne,1)}if(f.length===4){var et=f.map(YA),z=et[0],ue=et[1],Ne=et[2],qe=et[3];return ba(z,ue,Ne,qe)}return 0};function $a(c,o,f){return f<0&&(f+=1),f>=1&&(f-=1),f<1/6?(o-c)*f*6+c:f<1/2?o:f<2/3?(o-c)*6*(2/3-f)+c:c}var Tl=function(c,o){var f=o.filter(qs),d=f[0],z=f[1],ue=f[2],Ne=f[3],et=(d.type===17?Po(d.number):Ki.parse(c,d))/(Math.PI*2),qe=Ga(z)?z.number/100:0,Lt=Ga(ue)?ue.number/100:0,jt=typeof Ne!="undefined"&&Ga(Ne)?xo(Ne,1):1;if(qe===0)return ba(Lt*255,Lt*255,Lt*255,1);var Gt=Lt<=.5?Lt*(qe+1):Lt+qe-Lt*qe,_n=Lt*2-Gt,ci=$a(_n,Gt,et+1/3),gr=$a(_n,Gt,et),$r=$a(_n,Gt,et-1/3);return ba(ci*255,gr*255,$r*255,jt)},bA={hsl:Tl,hsla:Tl,rgb:hl,rgba:hl},tl=function(c,o){return ta.parse(c,vs.create(o).parseComponentValue())},tA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},iu={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(c,o){return o.map(function(f){if(ea(f))switch(f.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ml={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},jl=function(c,o){var f=ta.parse(c,o[0]),d=o[1];return d&&Ga(d)?{color:f,stop:d}:{color:f,stop:null}},Pu=function(c,o){var f=c[0],d=c[c.length-1];f.stop===null&&(f.stop=eA),d.stop===null&&(d.stop=_s);for(var z=[],ue=0,Ne=0;Ne<c.length;Ne++){var et=c[Ne].stop;if(et!==null){var qe=xo(et,o);qe>ue?z.push(qe):z.push(ue),ue=qe}else z.push(null)}for(var Lt=null,Ne=0;Ne<z.length;Ne++){var jt=z[Ne];if(jt===null)Lt===null&&(Lt=Ne);else if(Lt!==null){for(var Gt=Ne-Lt,_n=z[Lt-1],ci=(jt-_n)/(Gt+1),gr=1;gr<=Gt;gr++)z[Lt+gr-1]=ci*gr;Lt=null}}return c.map(function($r,Ao){var vi=$r.color;return{color:vi,stop:Math.max(Math.min(1,z[Ao]/o),0)}})},Hl=function(c,o,f){var d=o/2,z=f/2,ue=xo(c[0],o)-d,Ne=z-xo(c[1],f);return(Math.atan2(Ne,ue)+Math.PI*2)%(Math.PI*2)},Du=function(c,o,f){var d=typeof c=="number"?c:Hl(c,o,f),z=Math.abs(o*Math.sin(d))+Math.abs(f*Math.cos(d)),ue=o/2,Ne=f/2,et=z/2,qe=Math.sin(d-Math.PI/2)*et,Lt=Math.cos(d-Math.PI/2)*et;return[z,ue-Lt,ue+Lt,Ne-qe,Ne+qe]},ws=function(c,o){return Math.sqrt(c*c+o*o)},ou=function(c,o,f,d,z){var ue=[[0,0],[0,o],[c,0],[c,o]];return ue.reduce(function(Ne,et){var qe=et[0],Lt=et[1],jt=ws(f-qe,d-Lt);return(z?jt<Ne.optimumDistance:jt>Ne.optimumDistance)?{optimumCorner:et,optimumDistance:jt}:Ne},{optimumDistance:z?1/0:-1/0,optimumCorner:null}).optimumCorner},Qa=function(c,o,f,d,z){var ue=0,Ne=0;switch(c.size){case 0:c.shape===0?ue=Ne=Math.min(Math.abs(o),Math.abs(o-d),Math.abs(f),Math.abs(f-z)):c.shape===1&&(ue=Math.min(Math.abs(o),Math.abs(o-d)),Ne=Math.min(Math.abs(f),Math.abs(f-z)));break;case 2:if(c.shape===0)ue=Ne=Math.min(ws(o,f),ws(o,f-z),ws(o-d,f),ws(o-d,f-z));else if(c.shape===1){var et=Math.min(Math.abs(f),Math.abs(f-z))/Math.min(Math.abs(o),Math.abs(o-d)),qe=ou(d,z,o,f,!0),Lt=qe[0],jt=qe[1];ue=ws(Lt-o,(jt-f)/et),Ne=et*ue}break;case 1:c.shape===0?ue=Ne=Math.max(Math.abs(o),Math.abs(o-d),Math.abs(f),Math.abs(f-z)):c.shape===1&&(ue=Math.max(Math.abs(o),Math.abs(o-d)),Ne=Math.max(Math.abs(f),Math.abs(f-z)));break;case 3:if(c.shape===0)ue=Ne=Math.max(ws(o,f),ws(o,f-z),ws(o-d,f),ws(o-d,f-z));else if(c.shape===1){var et=Math.max(Math.abs(f),Math.abs(f-z))/Math.max(Math.abs(o),Math.abs(o-d)),Gt=ou(d,z,o,f,!1),Lt=Gt[0],jt=Gt[1];ue=ws(Lt-o,(jt-f)/et),Ne=et*ue}break}return Array.isArray(c.size)&&(ue=xo(c.size[0],d),Ne=c.size.length===2?xo(c.size[1],z):ue),[ue,Ne]},ra=function(c,o){var f=Po(180),d=[];return as(o).forEach(function(z,ue){if(ue===0){var Ne=z[0];if(Ne.type===20&&Ne.value==="to"){f=gA(z);return}else if(ji(Ne)){f=Ki.parse(c,Ne);return}}var et=jl(c,z);d.push(et)}),{angle:f,stops:d,type:1}},fa=function(c,o){var f=Po(180),d=[];return as(o).forEach(function(z,ue){if(ue===0){var Ne=z[0];if(Ne.type===20&&["top","left","right","bottom"].indexOf(Ne.value)!==-1){f=gA(z);return}else if(ji(Ne)){f=(Ki.parse(c,Ne)+Po(270))%Po(360);return}}var et=jl(c,z);d.push(et)}),{angle:f,stops:d,type:1}},As=function(c,o){var f=Po(180),d=[],z=1,ue=0,Ne=3,et=[];return as(o).forEach(function(qe,Lt){var jt=qe[0];if(Lt===0){if(ea(jt)&&jt.value==="linear"){z=1;return}else if(ea(jt)&&jt.value==="radial"){z=2;return}}if(jt.type===18){if(jt.name==="from"){var Gt=ta.parse(c,jt.values[0]);d.push({stop:eA,color:Gt})}else if(jt.name==="to"){var Gt=ta.parse(c,jt.values[0]);d.push({stop:_s,color:Gt})}else if(jt.name==="color-stop"){var _n=jt.values.filter(qs);if(_n.length===2){var Gt=ta.parse(c,_n[1]),ci=_n[0];pA(ci)&&d.push({stop:{type:16,number:ci.number*100,flags:ci.flags},color:Gt})}}}}),z===1?{angle:(f+Po(180))%Po(360),stops:d,type:z}:{size:Ne,shape:ue,stops:d,position:et,type:z}},JA="closest-side",Qc="farthest-side",Bl="closest-corner",Cl="farthest-corner",au="circle",Au="ellipse",cc="cover",Pc="contain",Wo=function(c,o){var f=0,d=3,z=[],ue=[];return as(o).forEach(function(Ne,et){var qe=!0;if(et===0){var Lt=!1;qe=Ne.reduce(function(Gt,_n){if(Lt)if(ea(_n))switch(_n.value){case"center":return ue.push(fl),Gt;case"top":case"left":return ue.push(eA),Gt;case"right":case"bottom":return ue.push(_s),Gt}else(Ga(_n)||ys(_n))&&ue.push(_n);else if(ea(_n))switch(_n.value){case au:return f=0,!1;case Au:return f=1,!1;case"at":return Lt=!0,!1;case JA:return d=0,!1;case cc:case Qc:return d=1,!1;case Pc:case Bl:return d=2,!1;case Cl:return d=3,!1}else if(ys(_n)||Ga(_n))return Array.isArray(d)||(d=[]),d.push(_n),!1;return Gt},qe)}if(qe){var jt=jl(c,Ne);z.push(jt)}}),{size:d,shape:f,stops:z,position:ue,type:2}},nl=function(c,o){var f=0,d=3,z=[],ue=[];return as(o).forEach(function(Ne,et){var qe=!0;if(et===0?qe=Ne.reduce(function(jt,Gt){if(ea(Gt))switch(Gt.value){case"center":return ue.push(fl),!1;case"top":case"left":return ue.push(eA),!1;case"right":case"bottom":return ue.push(_s),!1}else if(Ga(Gt)||ys(Gt))return ue.push(Gt),!1;return jt},qe):et===1&&(qe=Ne.reduce(function(jt,Gt){if(ea(Gt))switch(Gt.value){case au:return f=0,!1;case Au:return f=1,!1;case Pc:case JA:return d=0,!1;case Qc:return d=1,!1;case Bl:return d=2,!1;case cc:case Cl:return d=3,!1}else if(ys(Gt)||Ga(Gt))return Array.isArray(d)||(d=[]),d.push(Gt),!1;return jt},qe)),qe){var Lt=jl(c,Ne);z.push(Lt)}}),{size:d,shape:f,stops:z,position:ue,type:2}},xl=function(c){return c.type===1},ih=function(c){return c.type===2},$l={name:"image",parse:function(c,o){if(o.type===22){var f={url:o.value,type:0};return c.cache.addImage(o.value),f}if(o.type===18){var d=Ru[o.name];if(typeof d=="undefined")throw new Error('Attempting to parse an unsupported image function "'+o.name+'"');return d(c,o.values)}throw new Error("Unsupported image type "+o.type)}};function yf(c){return!(c.type===20&&c.value==="none")&&(c.type!==18||!!Ru[c.name])}var Ru={"linear-gradient":ra,"-moz-linear-gradient":fa,"-ms-linear-gradient":fa,"-o-linear-gradient":fa,"-webkit-linear-gradient":fa,"radial-gradient":Wo,"-moz-radial-gradient":nl,"-ms-radial-gradient":nl,"-o-radial-gradient":nl,"-webkit-radial-gradient":nl,"-webkit-gradient":As},wf={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(c,o){if(o.length===0)return[];var f=o[0];return f.type===20&&f.value==="none"?[]:o.filter(function(d){return qs(d)&&yf(d)}).map(function(d){return $l.parse(c,d)})}},wd={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(c,o){return o.map(function(f){if(ea(f))switch(f.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},bf={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(c,o){return as(o).map(function(f){return f.filter(Ga)}).map(Ac)}},uc={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(c,o){return as(o).map(function(f){return f.filter(ea).map(function(d){return d.value}).join(" ")}).map(Tu)}},Tu=function(c){switch(c){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},BA;(function(c){c.AUTO="auto",c.CONTAIN="contain",c.COVER="cover"})(BA||(BA={}));var su={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(c,o){return as(o).map(function(f){return f.filter(dc)})}},dc=function(c){return ea(c)||Ga(c)},kl=function(c){return{name:"border-"+c+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},oh=kl("top"),Dc=kl("right"),Bf=kl("bottom"),fc=kl("left"),Mu=function(c){return{name:"border-radius-"+c,initialValue:"0 0",prefix:!1,type:1,parse:function(o,f){return Ac(f.filter(Ga))}}},Bp=Mu("top-left"),Kl=Mu("top-right"),ks=Mu("bottom-right"),Qs=Mu("bottom-left"),ia=function(c){return{name:"border-"+c+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(o,f){switch(f){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Rc=ia("top"),Cf=ia("right"),xf=ia("bottom"),Tc=ia("left"),lu=function(c){return{name:"border-"+c+"-width",initialValue:"0",type:0,prefix:!1,parse:function(o,f){return LA(f)?f.number:0}}},bd=lu("top"),Mc=lu("right"),ah=lu("bottom"),Ah=lu("left"),_A={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},cu={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(c,o){switch(o){case"rtl":return 1;case"ltr":default:return 0}}},sh={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(c,o){return o.filter(ea).reduce(function(f,d){return f|te(d.value)},0)}},te=function(c){switch(c){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},ce={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(c,o){switch(o){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Qe={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(c,o){return o.type===20&&o.value==="normal"?0:o.type===17||o.type===15?o.number:0}},We;(function(c){c.NORMAL="normal",c.STRICT="strict"})(We||(We={}));var ot={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(c,o){switch(o){case"strict":return We.STRICT;case"normal":default:return We.NORMAL}}},at={name:"line-height",initialValue:"normal",prefix:!1,type:4},Et=function(c,o){return ea(c)&&c.value==="normal"?1.2*o:c.type===17?o*c.number:Ga(c)?xo(c,o):o},It={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(c,o){return o.type===20&&o.value==="none"?null:$l.parse(c,o)}},bt={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(c,o){switch(o){case"inside":return 0;case"outside":default:return 1}}},Kt={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(c,o){switch(o){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},an=function(c){return{name:"margin-"+c,initialValue:"0",prefix:!1,type:4}},Vt=an("top"),Dn=an("right"),xn=an("bottom"),On=an("left"),pr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(c,o){return o.filter(ea).map(function(f){switch(f.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},er={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(c,o){switch(o){case"break-word":return"break-word";case"normal":default:return"normal"}}},fr=function(c){return{name:"padding-"+c,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},nr=fr("top"),xr=fr("right"),si=fr("bottom"),di=fr("left"),Wr={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(c,o){switch(o){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Ci={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(c,o){switch(o){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Hi={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(c,o){return o.length===1&&Rl(o[0],"none")?[]:as(o).map(function(f){for(var d={color:tA.TRANSPARENT,offsetX:eA,offsetY:eA,blur:eA},z=0,ue=0;ue<f.length;ue++){var Ne=f[ue];ys(Ne)?(z===0?d.offsetX=Ne:z===1?d.offsetY=Ne:d.blur=Ne,z++):d.color=ta.parse(c,Ne)}return d})}},Or={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(c,o){switch(o){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Yr={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(c,o){if(o.type===20&&o.value==="none")return null;if(o.type===18){var f=Kr[o.name];if(typeof f=="undefined")throw new Error('Attempting to parse an unsupported transform function "'+o.name+'"');return f(o.values)}return null}},Pr=function(c){var o=c.filter(function(f){return f.type===17}).map(function(f){return f.number});return o.length===6?o:null},br=function(c){var o=c.filter(function(qe){return qe.type===17}).map(function(qe){return qe.number}),f=o[0],d=o[1];o[2],o[3];var z=o[4],ue=o[5];o[6],o[7],o[8],o[9],o[10],o[11];var Ne=o[12],et=o[13];return o[14],o[15],o.length===16?[f,d,z,ue,Ne,et]:null},Kr={matrix:Pr,matrix3d:br},gi={type:16,number:50,flags:hn},no=[gi,gi],Ri={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(c,o){var f=o.filter(Ga);return f.length!==2?no:[f[0],f[1]]}},fi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(c,o){switch(o){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Gi;(function(c){c.NORMAL="normal",c.BREAK_ALL="break-all",c.KEEP_ALL="keep-all"})(Gi||(Gi={}));for(var lo={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(c,o){switch(o){case"break-all":return Gi.BREAK_ALL;case"keep-all":return Gi.KEEP_ALL;case"normal":default:return Gi.NORMAL}}},oa={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(c,o){if(o.type===20)return{auto:!0,order:0};if(pA(o))return{auto:!1,order:o.number};throw new Error("Invalid z-index number parsed")}},Eo={name:"time",parse:function(c,o){if(o.type===15)switch(o.unit.toLowerCase()){case"s":return 1e3*o.number;case"ms":return o.number}throw new Error("Unsupported time type")}},ma={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(c,o){return pA(o)?o.number:1}},Pa={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},$i={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(c,o){return o.filter(ea).map(function(f){switch(f.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(f){return f!==0})}},nA={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(c,o){var f=[],d=[];return o.forEach(function(z){switch(z.type){case 20:case 0:f.push(z.value);break;case 17:f.push(z.number.toString());break;case 4:d.push(f.join(" ")),f.length=0;break}}),f.length&&d.push(f.join(" ")),d.map(function(z){return z.indexOf(" ")===-1?z:"'"+z+"'"})}},Do={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},aa={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(c,o){if(pA(o))return o.number;if(ea(o))switch(o.value){case"bold":return 700;case"normal":default:return 400}return 400}},sa={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(c,o){return o.filter(ea).map(function(f){return f.value})}},ss={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(c,o){switch(o){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Tr=function(c,o){return(c&o)!==0},yi={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(c,o){if(o.length===0)return[];var f=o[0];return f.type===20&&f.value==="none"?[]:o}},mi={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(c,o){if(o.length===0)return null;var f=o[0];if(f.type===20&&f.value==="none")return null;for(var d=[],z=o.filter(XA),ue=0;ue<z.length;ue++){var Ne=z[ue],et=z[ue+1];if(Ne.type===20){var qe=et&&pA(et)?et.number:1;d.push({counter:Ne.value,increment:qe})}}return d}},ii={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(c,o){if(o.length===0)return[];for(var f=[],d=o.filter(XA),z=0;z<d.length;z++){var ue=d[z],Ne=d[z+1];if(ea(ue)&&ue.value!=="none"){var et=Ne&&pA(Ne)?Ne.number:0;f.push({counter:ue.value,reset:et})}}return f}},Ro={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(c,o){return o.filter(LA).map(function(f){return Eo.parse(c,f)})}},oi={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(c,o){if(o.length===0)return null;var f=o[0];if(f.type===20&&f.value==="none")return null;var d=[],z=o.filter(Js);if(z.length%2!==0)return null;for(var ue=0;ue<z.length;ue+=2){var Ne=z[ue].value,et=z[ue+1].value;d.push({open:Ne,close:et})}return d}},_i=function(c,o,f){if(!c)return"";var d=c[Math.min(o,c.length-1)];return d?f?d.open:d.close:""},fo={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(c,o){return o.length===1&&Rl(o[0],"none")?[]:as(o).map(function(f){for(var d={color:255,offsetX:eA,offsetY:eA,blur:eA,spread:eA,inset:!1},z=0,ue=0;ue<f.length;ue++){var Ne=f[ue];Rl(Ne,"inset")?d.inset=!0:ys(Ne)?(z===0?d.offsetX=Ne:z===1?d.offsetY=Ne:z===2?d.blur=Ne:d.spread=Ne,z++):d.color=ta.parse(c,Ne)}return d})}},go={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(c,o){var f=[0,1,2],d=[];return o.filter(ea).forEach(function(z){switch(z.value){case"stroke":d.push(1);break;case"fill":d.push(0);break;case"markers":d.push(2);break}}),f.forEach(function(z){d.indexOf(z)===-1&&d.push(z)}),d}},HA={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},Xa={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(c,o){return LA(o)?o.number:0}},Ks=function(){function c(o,f){var d,z;this.animationDuration=mr(o,Ro,f.animationDuration),this.backgroundClip=mr(o,iu,f.backgroundClip),this.backgroundColor=mr(o,Ml,f.backgroundColor),this.backgroundImage=mr(o,wf,f.backgroundImage),this.backgroundOrigin=mr(o,wd,f.backgroundOrigin),this.backgroundPosition=mr(o,bf,f.backgroundPosition),this.backgroundRepeat=mr(o,uc,f.backgroundRepeat),this.backgroundSize=mr(o,su,f.backgroundSize),this.borderTopColor=mr(o,oh,f.borderTopColor),this.borderRightColor=mr(o,Dc,f.borderRightColor),this.borderBottomColor=mr(o,Bf,f.borderBottomColor),this.borderLeftColor=mr(o,fc,f.borderLeftColor),this.borderTopLeftRadius=mr(o,Bp,f.borderTopLeftRadius),this.borderTopRightRadius=mr(o,Kl,f.borderTopRightRadius),this.borderBottomRightRadius=mr(o,ks,f.borderBottomRightRadius),this.borderBottomLeftRadius=mr(o,Qs,f.borderBottomLeftRadius),this.borderTopStyle=mr(o,Rc,f.borderTopStyle),this.borderRightStyle=mr(o,Cf,f.borderRightStyle),this.borderBottomStyle=mr(o,xf,f.borderBottomStyle),this.borderLeftStyle=mr(o,Tc,f.borderLeftStyle),this.borderTopWidth=mr(o,bd,f.borderTopWidth),this.borderRightWidth=mr(o,Mc,f.borderRightWidth),this.borderBottomWidth=mr(o,ah,f.borderBottomWidth),this.borderLeftWidth=mr(o,Ah,f.borderLeftWidth),this.boxShadow=mr(o,fo,f.boxShadow),this.color=mr(o,_A,f.color),this.direction=mr(o,cu,f.direction),this.display=mr(o,sh,f.display),this.float=mr(o,ce,f.cssFloat),this.fontFamily=mr(o,nA,f.fontFamily),this.fontSize=mr(o,Do,f.fontSize),this.fontStyle=mr(o,ss,f.fontStyle),this.fontVariant=mr(o,sa,f.fontVariant),this.fontWeight=mr(o,aa,f.fontWeight),this.letterSpacing=mr(o,Qe,f.letterSpacing),this.lineBreak=mr(o,ot,f.lineBreak),this.lineHeight=mr(o,at,f.lineHeight),this.listStyleImage=mr(o,It,f.listStyleImage),this.listStylePosition=mr(o,bt,f.listStylePosition),this.listStyleType=mr(o,Kt,f.listStyleType),this.marginTop=mr(o,Vt,f.marginTop),this.marginRight=mr(o,Dn,f.marginRight),this.marginBottom=mr(o,xn,f.marginBottom),this.marginLeft=mr(o,On,f.marginLeft),this.opacity=mr(o,ma,f.opacity);var ue=mr(o,pr,f.overflow);this.overflowX=ue[0],this.overflowY=ue[ue.length>1?1:0],this.overflowWrap=mr(o,er,f.overflowWrap),this.paddingTop=mr(o,nr,f.paddingTop),this.paddingRight=mr(o,xr,f.paddingRight),this.paddingBottom=mr(o,si,f.paddingBottom),this.paddingLeft=mr(o,di,f.paddingLeft),this.paintOrder=mr(o,go,f.paintOrder),this.position=mr(o,Ci,f.position),this.textAlign=mr(o,Wr,f.textAlign),this.textDecorationColor=mr(o,Pa,(d=f.textDecorationColor)!==null&&d!==void 0?d:f.color),this.textDecorationLine=mr(o,$i,(z=f.textDecorationLine)!==null&&z!==void 0?z:f.textDecoration),this.textShadow=mr(o,Hi,f.textShadow),this.textTransform=mr(o,Or,f.textTransform),this.transform=mr(o,Yr,f.transform),this.transformOrigin=mr(o,Ri,f.transformOrigin),this.visibility=mr(o,fi,f.visibility),this.webkitTextStrokeColor=mr(o,HA,f.webkitTextStrokeColor),this.webkitTextStrokeWidth=mr(o,Xa,f.webkitTextStrokeWidth),this.wordBreak=mr(o,lo,f.wordBreak),this.zIndex=mr(o,oa,f.zIndex)}return c.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},c.prototype.isTransparent=function(){return na(this.backgroundColor)},c.prototype.isTransformed=function(){return this.transform!==null},c.prototype.isPositioned=function(){return this.position!==0},c.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},c.prototype.isFloating=function(){return this.float!==0},c.prototype.isInlineLevel=function(){return Tr(this.display,4)||Tr(this.display,33554432)||Tr(this.display,268435456)||Tr(this.display,536870912)||Tr(this.display,67108864)||Tr(this.display,134217728)},c}(),Ya=function(){function c(o,f){this.content=mr(o,yi,f.content),this.quotes=mr(o,oi,f.quotes)}return c}(),bs=function(){function c(o,f){this.counterIncrement=mr(o,mi,f.counterIncrement),this.counterReset=mr(o,ii,f.counterReset)}return c}(),mr=function(c,o,f){var d=new bl,z=f!==null&&typeof f!="undefined"?f.toString():o.initialValue;d.write(z);var ue=new vs(d.read());switch(o.type){case 2:var Ne=ue.parseComponentValue();return o.parse(c,ea(Ne)?Ne.value:o.initialValue);case 0:return o.parse(c,ue.parseComponentValue());case 1:return o.parse(c,ue.parseComponentValues());case 4:return ue.parseComponentValue();case 3:switch(o.format){case"angle":return Ki.parse(c,ue.parseComponentValue());case"color":return ta.parse(c,ue.parseComponentValue());case"image":return $l.parse(c,ue.parseComponentValue());case"length":var et=ue.parseComponentValue();return ys(et)?et:eA;case"length-percentage":var qe=ue.parseComponentValue();return Ga(qe)?qe:eA;case"time":return Eo.parse(c,ue.parseComponentValue())}break}},qA="data-html2canvas-debug",hc=function(c){var o=c.getAttribute(qA);switch(o){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},To=function(c,o){var f=hc(c);return f===1||o===f},co=function(){function c(o,f){if(this.context=o,this.textNodes=[],this.elements=[],this.flags=0,To(f,3))debugger;this.styles=new Ks(o,window.getComputedStyle(f,null)),fh(f)&&(this.styles.animationDuration.some(function(d){return d>0})&&(f.style.animationDuration="0s"),this.styles.transform!==null&&(f.style.transform="none")),this.bounds=$(this.context,f),To(f,4)&&(this.flags|=16)}return c}(),Ea="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",uA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ha=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),ro=0;ro<uA.length;ro++)ha[uA.charCodeAt(ro)]=ro;for(var $A=function(c){var o=c.length*.75,f=c.length,d,z=0,ue,Ne,et,qe;c[c.length-1]==="="&&(o--,c[c.length-2]==="="&&o--);var Lt=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined"&&typeof Uint8Array.prototype.slice!="undefined"?new ArrayBuffer(o):new Array(o),jt=Array.isArray(Lt)?Lt:new Uint8Array(Lt);for(d=0;d<f;d+=4)ue=ha[c.charCodeAt(d)],Ne=ha[c.charCodeAt(d+1)],et=ha[c.charCodeAt(d+2)],qe=ha[c.charCodeAt(d+3)],jt[z++]=ue<<2|Ne>>4,jt[z++]=(Ne&15)<<4|et>>2,jt[z++]=(et&3)<<6|qe&63;return Lt},QA=function(c){for(var o=c.length,f=[],d=0;d<o;d+=2)f.push(c[d+1]<<8|c[d]);return f},ls=function(c){for(var o=c.length,f=[],d=0;d<o;d+=4)f.push(c[d+3]<<24|c[d+2]<<16|c[d+1]<<8|c[d]);return f},es=5,ts=11,Ps=2,El=ts-es,Ds=65536>>es,Da=1<<es,EA=Da-1,rA=1024>>es,Sa=Ds+rA,rl=Sa,pl=32,Sl=rl+pl,il=65536>>ts,uu=1<<El,ju=uu-1,mo=function(c,o,f){return c.slice?c.slice(o,f):new Uint16Array(Array.prototype.slice.call(c,o,f))},la=function(c,o,f){return c.slice?c.slice(o,f):new Uint32Array(Array.prototype.slice.call(c,o,f))},SA=function(c,o){var f=$A(c),d=Array.isArray(f)?ls(f):new Uint32Array(f),z=Array.isArray(f)?QA(f):new Uint16Array(f),ue=24,Ne=mo(z,ue/2,d[4]/2),et=d[5]===2?mo(z,(ue+d[4])/2):la(d,Math.ceil((ue+d[4])/4));return new Ba(d[0],d[1],d[2],d[3],Ne,et)},Ba=function(){function c(o,f,d,z,ue,Ne){this.initialValue=o,this.errorValue=f,this.highStart=d,this.highValueIndex=z,this.index=ue,this.data=Ne}return c.prototype.get=function(o){var f;if(o>=0){if(o<55296||o>56319&&o<=65535)return f=this.index[o>>es],f=(f<<Ps)+(o&EA),this.data[f];if(o<=65535)return f=this.index[Ds+(o-55296>>es)],f=(f<<Ps)+(o&EA),this.data[f];if(o<this.highStart)return f=Sl-il+(o>>ts),f=this.index[f],f+=o>>es&ju,f=this.index[f],f=(f<<Ps)+(o&EA),this.data[f];if(o<=1114111)return this.data[this.highValueIndex]}return this.errorValue},c}(),IA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",PA=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Ra=0;Ra<IA.length;Ra++)PA[IA.charCodeAt(Ra)]=Ra;var ol=1,du=2,fu=3,Hu=4,Bd=5,Cd=7,jc=8,al=9,pc=10,xd=11,$u=12,Ed=13,ku=14,gc=15,Ku=function(c){for(var o=[],f=0,d=c.length;f<d;){var z=c.charCodeAt(f++);if(z>=55296&&z<=56319&&f<d){var ue=c.charCodeAt(f++);(ue&64512)===56320?o.push(((z&1023)<<10)+(ue&1023)+65536):(o.push(z),f--)}else o.push(z)}return o},Ef=function(){for(var c=[],o=0;o<arguments.length;o++)c[o]=arguments[o];if(String.fromCodePoint)return String.fromCodePoint.apply(String,c);var f=c.length;if(!f)return"";for(var d=[],z=-1,ue="";++z<f;){var Ne=c[z];Ne<=65535?d.push(Ne):(Ne-=65536,d.push((Ne>>10)+55296,Ne%1024+56320)),(z+1===f||d.length>16384)&&(ue+=String.fromCharCode.apply(String,d),d.length=0)}return ue},Sd=SA(Ea),Vo="\xD7",zu="\xF7",Sf=function(c){return Sd.get(c)},lh=function(c,o,f){var d=f-2,z=o[d],ue=o[f-1],Ne=o[f];if(ue===du&&Ne===fu)return Vo;if(ue===du||ue===fu||ue===Hu||Ne===du||Ne===fu||Ne===Hu)return zu;if(ue===jc&&[jc,al,xd,$u].indexOf(Ne)!==-1||(ue===xd||ue===al)&&(Ne===al||Ne===pc)||(ue===$u||ue===pc)&&Ne===pc||Ne===Ed||Ne===Bd||Ne===Cd||ue===ol)return Vo;if(ue===Ed&&Ne===ku){for(;z===Bd;)z=o[--d];if(z===ku)return Vo}if(ue===gc&&Ne===gc){for(var et=0;z===gc;)et++,z=o[--d];if(et%2===0)return Vo}return zu},If=function(c){var o=Ku(c),f=o.length,d=0,z=0,ue=o.map(Sf);return{next:function(){if(d>=f)return{done:!0,value:null};for(var Ne=Vo;d<f&&(Ne=lh(o,ue,++d))===Vo;);if(Ne!==Vo||d===f){var et=Ef.apply(null,o.slice(z,d));return z=d,{value:et,done:!1}}return{done:!0,value:null}}}},Id=function(c){for(var o=If(c),f=[],d;!(d=o.next()).done;)d.value&&f.push(d.value.slice());return f},Fd=function(c){var o=123;if(c.createRange){var f=c.createRange();if(f.getBoundingClientRect){var d=c.createElement("boundtest");d.style.height=o+"px",d.style.display="block",c.body.appendChild(d),f.selectNode(d);var z=f.getBoundingClientRect(),ue=Math.round(z.height);if(c.body.removeChild(d),ue===o)return!0}}return!1},Zu=function(c){var o=c.createElement("boundtest");o.style.width="50px",o.style.display="block",o.style.fontSize="12px",o.style.letterSpacing="0px",o.style.wordSpacing="0px",c.body.appendChild(o);var f=c.createRange();o.innerHTML=typeof"".repeat=="function"?"👨".repeat(10):"";var d=o.firstChild,z=m(d.data).map(function(qe){return N(qe)}),ue=0,Ne={},et=z.every(function(qe,Lt){f.setStart(d,ue),f.setEnd(d,ue+qe.length);var jt=f.getBoundingClientRect();ue+=qe.length;var Gt=jt.x>Ne.x||jt.y>Ne.y;return Ne=jt,Lt===0?!0:Gt});return c.body.removeChild(o),et},Ff=function(){return typeof new Image().crossOrigin!="undefined"},zl=function(){return typeof new XMLHttpRequest().responseType=="string"},Ud=function(c){var o=new Image,f=c.createElement("canvas"),d=f.getContext("2d");if(!d)return!1;o.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{d.drawImage(o,0,0),f.toDataURL()}catch(z){return!1}return!0},Wu=function(c){return c[0]===0&&c[1]===255&&c[2]===0&&c[3]===255},Uf=function(c){var o=c.createElement("canvas"),f=100;o.width=f,o.height=f;var d=o.getContext("2d");if(!d)return Promise.reject(!1);d.fillStyle="rgb(0, 255, 0)",d.fillRect(0,0,f,f);var z=new Image,ue=o.toDataURL();z.src=ue;var Ne=hu(f,f,0,0,z);return d.fillStyle="red",d.fillRect(0,0,f,f),Vu(Ne).then(function(et){d.drawImage(et,0,0);var qe=d.getImageData(0,0,f,f).data;d.fillStyle="red",d.fillRect(0,0,f,f);var Lt=c.createElement("div");return Lt.style.backgroundImage="url("+ue+")",Lt.style.height=f+"px",Wu(qe)?Vu(hu(f,f,0,0,Lt)):Promise.reject(!1)}).then(function(et){return d.drawImage(et,0,0),Wu(d.getImageData(0,0,f,f).data)}).catch(function(){return!1})},hu=function(c,o,f,d,z){var ue="http://www.w3.org/2000/svg",Ne=document.createElementNS(ue,"svg"),et=document.createElementNS(ue,"foreignObject");return Ne.setAttributeNS(null,"width",c.toString()),Ne.setAttributeNS(null,"height",o.toString()),et.setAttributeNS(null,"width","100%"),et.setAttributeNS(null,"height","100%"),et.setAttributeNS(null,"x",f.toString()),et.setAttributeNS(null,"y",d.toString()),et.setAttributeNS(null,"externalResourcesRequired","true"),Ne.appendChild(et),et.appendChild(z),Ne},Vu=function(c){return new Promise(function(o,f){var d=new Image;d.onload=function(){return o(d)},d.onerror=f,d.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(c))})},FA={get SUPPORT_RANGE_BOUNDS(){var c=Fd(document);return Object.defineProperty(FA,"SUPPORT_RANGE_BOUNDS",{value:c}),c},get SUPPORT_WORD_BREAKING(){var c=FA.SUPPORT_RANGE_BOUNDS&&Zu(document);return Object.defineProperty(FA,"SUPPORT_WORD_BREAKING",{value:c}),c},get SUPPORT_SVG_DRAWING(){var c=Ud(document);return Object.defineProperty(FA,"SUPPORT_SVG_DRAWING",{value:c}),c},get SUPPORT_FOREIGNOBJECT_DRAWING(){var c=typeof Array.from=="function"&&typeof window.fetch=="function"?Uf(document):Promise.resolve(!1);return Object.defineProperty(FA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:c}),c},get SUPPORT_CORS_IMAGES(){var c=Ff();return Object.defineProperty(FA,"SUPPORT_CORS_IMAGES",{value:c}),c},get SUPPORT_RESPONSE_TYPE(){var c=zl();return Object.defineProperty(FA,"SUPPORT_RESPONSE_TYPE",{value:c}),c},get SUPPORT_CORS_XHR(){var c="withCredentials"in new XMLHttpRequest;return Object.defineProperty(FA,"SUPPORT_CORS_XHR",{value:c}),c},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var c=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(FA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:c}),c}},Il=function(){function c(o,f){this.text=o,this.bounds=f}return c}(),Gu=function(c,o,f,d){var z=Zl(o,f),ue=[],Ne=0;return z.forEach(function(et){if(f.textDecorationLine.length||et.trim().length>0)if(FA.SUPPORT_RANGE_BOUNDS){var qe=$o(d,Ne,et.length).getClientRects();if(qe.length>1){var Lt=pa(et),jt=0;Lt.forEach(function(_n){ue.push(new Il(_n,R.fromDOMRectList(c,$o(d,jt+Ne,_n.length).getClientRects()))),jt+=_n.length})}else ue.push(new Il(et,R.fromDOMRectList(c,qe)))}else{var Gt=d.splitText(et.length);ue.push(new Il(et,ch(c,d))),d=Gt}else FA.SUPPORT_RANGE_BOUNDS||(d=d.splitText(et.length));Ne+=et.length}),ue},ch=function(c,o){var f=o.ownerDocument;if(f){var d=f.createElement("html2canvaswrapper");d.appendChild(o.cloneNode(!0));var z=o.parentNode;if(z){z.replaceChild(d,o);var ue=$(c,d);return d.firstChild&&z.replaceChild(d.firstChild,d),ue}}return R.EMPTY},$o=function(c,o,f){var d=c.ownerDocument;if(!d)throw new Error("Node has no owner document");var z=d.createRange();return z.setStart(c,o),z.setEnd(c,o+f),z},pa=function(c){if(FA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var o=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(o.segment(c)).map(function(f){return f.segment})}return Id(c)},zs=function(c,o){if(FA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var f=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(f.segment(c)).map(function(d){return d.segment})}return Of(c,o)},Zl=function(c,o){return o.letterSpacing!==0?pa(c):zs(c,o)},Wl=[32,160,4961,65792,65793,4153,4241],Of=function(c,o){for(var f=en(c,{lineBreak:o.lineBreak,wordBreak:o.overflowWrap==="break-word"?"break-word":o.wordBreak}),d=[],z,ue=function(){if(z.value){var Ne=z.value.slice(),et=m(Ne),qe="";et.forEach(function(Lt){Wl.indexOf(Lt)===-1?qe+=N(Lt):(qe.length&&d.push(qe),d.push(N(Lt)),qe="")}),qe.length&&d.push(qe)}};!(z=f.next()).done;)ue();return d},Od=function(){function c(o,f,d){this.text=Nd(f.data,d.textTransform),this.textBounds=Gu(o,this.text,d,f)}return c}(),Nd=function(c,o){switch(o){case 1:return c.toLowerCase();case 3:return c.replace(Ld,_d);case 2:return c.toUpperCase();default:return c}},Ld=/(^|\s|:|-|\(|\))([a-z])/g,_d=function(c,o,f){return c.length>0?o+f.toUpperCase():c},o0=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z.src=d.currentSrc||d.src,z.intrinsicWidth=d.naturalWidth,z.intrinsicHeight=d.naturalHeight,z.context.cache.addImage(z.src),z}return o}(co),a0=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z.canvas=d,z.intrinsicWidth=d.width,z.intrinsicHeight=d.height,z}return o}(co),A0=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this,ue=new XMLSerializer,Ne=$(f,d);return d.setAttribute("width",Ne.width+"px"),d.setAttribute("height",Ne.height+"px"),z.svg="data:image/svg+xml,"+encodeURIComponent(ue.serializeToString(d)),z.intrinsicWidth=d.width.baseVal.value,z.intrinsicHeight=d.height.baseVal.value,z.context.cache.addImage(z.svg),z}return o}(co),s0=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z.value=d.value,z}return o}(co),uh=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z.start=d.start,z.reversed=typeof d.reversed=="boolean"&&d.reversed===!0,z}return o}(co),mc=[{type:15,flags:0,unit:"px",number:3}],Cp=[{type:16,flags:0,number:50}],xp=function(c){return c.width>c.height?new R(c.left+(c.width-c.height)/2,c.top,c.height,c.height):c.width<c.height?new R(c.left,c.top+(c.height-c.width)/2,c.width,c.width):c},l0=function(c){var o=c.type===Qd?new Array(c.value.length+1).join("\u2022"):c.value;return o.length===0?c.placeholder||"":o},Nf="checkbox",Lf="radio",Qd="password",_f=707406591,Pd=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;switch(z.type=d.type.toLowerCase(),z.checked=d.checked,z.value=l0(d),(z.type===Nf||z.type===Lf)&&(z.styles.backgroundColor=3739148031,z.styles.borderTopColor=z.styles.borderRightColor=z.styles.borderBottomColor=z.styles.borderLeftColor=2779096575,z.styles.borderTopWidth=z.styles.borderRightWidth=z.styles.borderBottomWidth=z.styles.borderLeftWidth=1,z.styles.borderTopStyle=z.styles.borderRightStyle=z.styles.borderBottomStyle=z.styles.borderLeftStyle=1,z.styles.backgroundClip=[0],z.styles.backgroundOrigin=[0],z.bounds=xp(z.bounds)),z.type){case Nf:z.styles.borderTopRightRadius=z.styles.borderTopLeftRadius=z.styles.borderBottomRightRadius=z.styles.borderBottomLeftRadius=mc;break;case Lf:z.styles.borderTopRightRadius=z.styles.borderTopLeftRadius=z.styles.borderBottomRightRadius=z.styles.borderBottomLeftRadius=Cp;break}return z}return o}(co),c0=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this,ue=d.options[d.selectedIndex||0];return z.value=ue&&ue.text||"",z}return o}(co),dh=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z.value=d.value,z}return o}(co),u0=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;z.src=d.src,z.width=parseInt(d.width,10)||0,z.height=parseInt(d.height,10)||0,z.backgroundColor=z.styles.backgroundColor;try{if(d.contentWindow&&d.contentWindow.document&&d.contentWindow.document.documentElement){z.tree=f0(f,d.contentWindow.document.documentElement);var ue=d.contentWindow.document.documentElement?tl(f,getComputedStyle(d.contentWindow.document.documentElement).backgroundColor):tA.TRANSPARENT,Ne=d.contentWindow.document.body?tl(f,getComputedStyle(d.contentWindow.document.body).backgroundColor):tA.TRANSPARENT;z.backgroundColor=na(ue)?na(Ne)?z.styles.backgroundColor:Ne:ue}}catch(et){}return z}return o}(co),Dd=["OL","UL","MENU"],Xu=function(c,o,f,d){for(var z=o.firstChild,ue=void 0;z;z=ue)if(ue=z.nextSibling,h0(z)&&z.data.trim().length>0)f.textNodes.push(new Od(c,z,f.styles));else if(Yu(z))if(w0(z)&&z.assignedNodes)z.assignedNodes().forEach(function(et){return Xu(c,et,f,d)});else{var Ne=d0(c,z);Ne.styles.isVisible()&&(Ep(z,Ne,d)?Ne.flags|=4:Sp(Ne.styles)&&(Ne.flags|=2),Dd.indexOf(z.tagName)!==-1&&(Ne.flags|=8),f.elements.push(Ne),z.slot,z.shadowRoot?Xu(c,z.shadowRoot,Ne,d):!Rd(z)&&!p0(z)&&!Pf(z)&&Xu(c,z,Ne,d))}},d0=function(c,o){return ph(o)?new o0(c,o):g0(o)?new a0(c,o):p0(o)?new A0(c,o):Ip(o)?new s0(c,o):Fp(o)?new uh(c,o):Up(o)?new Pd(c,o):Pf(o)?new c0(c,o):Rd(o)?new dh(c,o):v0(o)?new u0(c,o):new co(c,o)},f0=function(c,o){var f=d0(c,o);return f.flags|=4,Xu(c,o,f,f),f},Ep=function(c,o,f){return o.styles.isPositionedWithZIndex()||o.styles.opacity<1||o.styles.isTransformed()||hh(c)&&f.styles.isTransparent()},Sp=function(c){return c.isPositioned()||c.isFloating()},h0=function(c){return c.nodeType===Node.TEXT_NODE},Yu=function(c){return c.nodeType===Node.ELEMENT_NODE},fh=function(c){return Yu(c)&&typeof c.style!="undefined"&&!Qf(c)},Qf=function(c){return typeof c.className=="object"},Ip=function(c){return c.tagName==="LI"},Fp=function(c){return c.tagName==="OL"},Up=function(c){return c.tagName==="INPUT"},Op=function(c){return c.tagName==="HTML"},p0=function(c){return c.tagName==="svg"},hh=function(c){return c.tagName==="BODY"},g0=function(c){return c.tagName==="CANVAS"},m0=function(c){return c.tagName==="VIDEO"},ph=function(c){return c.tagName==="IMG"},v0=function(c){return c.tagName==="IFRAME"},y0=function(c){return c.tagName==="STYLE"},gh=function(c){return c.tagName==="SCRIPT"},Rd=function(c){return c.tagName==="TEXTAREA"},Pf=function(c){return c.tagName==="SELECT"},w0=function(c){return c.tagName==="SLOT"},b0=function(c){return c.tagName.indexOf("-")>0},Fg=function(){function c(){this.counters={}}return c.prototype.getCounterValue=function(o){var f=this.counters[o];return f&&f.length?f[f.length-1]:1},c.prototype.getCounterValues=function(o){var f=this.counters[o];return f||[]},c.prototype.pop=function(o){var f=this;o.forEach(function(d){return f.counters[d].pop()})},c.prototype.parse=function(o){var f=this,d=o.counterIncrement,z=o.counterReset,ue=!0;d!==null&&d.forEach(function(et){var qe=f.counters[et.counter];qe&&et.increment!==0&&(ue=!1,qe.length||qe.push(1),qe[Math.max(0,qe.length-1)]+=et.increment)});var Ne=[];return ue&&z.forEach(function(et){var qe=f.counters[et.counter];Ne.push(et.counter),qe||(qe=f.counters[et.counter]=[]),qe.push(et.reset)}),Ne},c}(),mh={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},vh={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Np={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},B0={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},pu=function(c,o,f,d,z,ue){return c<o||c>f?Md(c,z,ue.length>0):d.integers.reduce(function(Ne,et,qe){for(;c>=et;)c-=et,Ne+=d.values[qe];return Ne},"")+ue},Lp=function(c,o,f,d){var z="";do f||c--,z=d(c)+z,c/=o;while(c*o>=o);return z},CA=function(c,o,f,d,z){var ue=f-o+1;return(c<0?"-":"")+(Lp(Math.abs(c),ue,d,function(Ne){return N(Math.floor(Ne%ue)+o)})+z)},Hc=function(c,o,f){f===void 0&&(f=". ");var d=o.length;return Lp(Math.abs(c),d,!1,function(z){return o[Math.floor(z%d)]})+f},gu=1,vc=2,yc=4,Td=8,wc=function(c,o,f,d,z,ue){if(c<-9999||c>9999)return Md(c,4,z.length>0);var Ne=Math.abs(c),et=z;if(Ne===0)return o[0]+et;for(var qe=0;Ne>0&&qe<=4;qe++){var Lt=Ne%10;Lt===0&&Tr(ue,gu)&&et!==""?et=o[Lt]+et:Lt>1||Lt===1&&qe===0||Lt===1&&qe===1&&Tr(ue,vc)||Lt===1&&qe===1&&Tr(ue,yc)&&c>100||Lt===1&&qe>1&&Tr(ue,Td)?et=o[Lt]+(qe>0?f[qe-1]:"")+et:Lt===1&&qe>0&&(et=f[qe-1]+et),Ne=Math.floor(Ne/10)}return(c<0?d:"")+et},C0="\u5341\u767E\u5343\u842C",_p="\u62FE\u4F70\u4EDF\u842C",x0="\u30DE\u30A4\u30CA\u30B9",yh="\uB9C8\uC774\uB108\uC2A4",Md=function(c,o,f){var d=f?". ":"",z=f?"\u3001":"",ue=f?", ":"",Ne=f?" ":"";switch(o){case 0:return"\u2022"+Ne;case 1:return"\u25E6"+Ne;case 2:return"\u25FE"+Ne;case 5:var et=CA(c,48,57,!0,d);return et.length<4?"0"+et:et;case 4:return Hc(c,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",z);case 6:return pu(c,1,3999,mh,3,d).toLowerCase();case 7:return pu(c,1,3999,mh,3,d);case 8:return CA(c,945,969,!1,d);case 9:return CA(c,97,122,!1,d);case 10:return CA(c,65,90,!1,d);case 11:return CA(c,1632,1641,!0,d);case 12:case 49:return pu(c,1,9999,vh,3,d);case 35:return pu(c,1,9999,vh,3,d).toLowerCase();case 13:return CA(c,2534,2543,!0,d);case 14:case 30:return CA(c,6112,6121,!0,d);case 15:return Hc(c,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",z);case 16:return Hc(c,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",z);case 17:case 48:return wc(c,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",C0,"\u8CA0",z,vc|yc|Td);case 47:return wc(c,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",_p,"\u8CA0",z,gu|vc|yc|Td);case 42:return wc(c,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",C0,"\u8D1F",z,vc|yc|Td);case 41:return wc(c,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",_p,"\u8D1F",z,gu|vc|yc|Td);case 26:return wc(c,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",x0,z,0);case 25:return wc(c,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",x0,z,gu|vc|yc);case 31:return wc(c,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",yh,ue,gu|vc|yc);case 33:return wc(c,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",yh,ue,0);case 32:return wc(c,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",yh,ue,gu|vc|yc);case 18:return CA(c,2406,2415,!0,d);case 20:return pu(c,1,19999,B0,3,d);case 21:return CA(c,2790,2799,!0,d);case 22:return CA(c,2662,2671,!0,d);case 22:return pu(c,1,10999,Np,3,d);case 23:return Hc(c,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return Hc(c,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return CA(c,3302,3311,!0,d);case 28:return Hc(c,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",z);case 29:return Hc(c,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",z);case 34:return CA(c,3792,3801,!0,d);case 37:return CA(c,6160,6169,!0,d);case 38:return CA(c,4160,4169,!0,d);case 39:return CA(c,2918,2927,!0,d);case 40:return CA(c,1776,1785,!0,d);case 43:return CA(c,3046,3055,!0,d);case 44:return CA(c,3174,3183,!0,d);case 45:return CA(c,3664,3673,!0,d);case 46:return CA(c,3872,3881,!0,d);case 3:default:return CA(c,48,57,!0,d)}},E0="data-html2canvas-ignore",Qp=function(){function c(o,f,d){if(this.context=o,this.options=d,this.scrolledElements=[],this.referenceElement=f,this.counters=new Fg,this.quoteDepth=0,!f.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(f.ownerDocument.documentElement,!1)}return c.prototype.toIFrame=function(o,f){var d=this,z=Pp(o,f);if(!z.contentWindow)return Promise.reject("Unable to find iframe window");var ue=o.defaultView.pageXOffset,Ne=o.defaultView.pageYOffset,et=z.contentWindow,qe=et.document,Lt=Hd(z).then(function(){return fe(d,void 0,void 0,function(){var jt,Gt;return H(this,function(_n){switch(_n.label){case 0:return this.scrolledElements.forEach(F0),et&&(et.scrollTo(f.left,f.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(et.scrollY!==f.top||et.scrollX!==f.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(et.scrollX-f.left,et.scrollY-f.top,0,0))),jt=this.options.onclone,Gt=this.clonedReferenceElement,typeof Gt=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:qe.fonts&&qe.fonts.ready?[4,qe.fonts.ready]:[3,2];case 1:_n.sent(),_n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Dp(qe)]:[3,4];case 3:_n.sent(),_n.label=4;case 4:return typeof jt=="function"?[2,Promise.resolve().then(function(){return jt(qe,Gt)}).then(function(){return z})]:[2,z]}})})});return qe.open(),qe.write(Rp(document.doctype)+"<html></html>"),I0(this.referenceElement.ownerDocument,ue,Ne),qe.replaceChild(qe.adoptNode(this.documentElement),qe.documentElement),qe.close(),Lt},c.prototype.createElementClone=function(o){if(To(o,2))debugger;if(g0(o))return this.createCanvasClone(o);if(m0(o))return this.createVideoClone(o);if(y0(o))return this.createStyleClone(o);var f=o.cloneNode(!1);return ph(f)&&(ph(o)&&o.currentSrc&&o.currentSrc!==o.src&&(f.src=o.currentSrc,f.srcset=""),f.loading==="lazy"&&(f.loading="eager")),b0(f)?this.createCustomElementClone(f):f},c.prototype.createCustomElementClone=function(o){var f=document.createElement("html2canvascustomelement");return Df(o.style,f),f},c.prototype.createStyleClone=function(o){try{var f=o.sheet;if(f&&f.cssRules){var d=[].slice.call(f.cssRules,0).reduce(function(ue,Ne){return Ne&&typeof Ne.cssText=="string"?ue+Ne.cssText:ue},""),z=o.cloneNode(!1);return z.textContent=d,z}}catch(ue){if(this.context.logger.error("Unable to access cssRules property",ue),ue.name!=="SecurityError")throw ue}return o.cloneNode(!1)},c.prototype.createCanvasClone=function(o){var f;if(this.options.inlineImages&&o.ownerDocument){var d=o.ownerDocument.createElement("img");try{return d.src=o.toDataURL(),d}catch(Lt){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",o)}}var z=o.cloneNode(!1);try{z.width=o.width,z.height=o.height;var ue=o.getContext("2d"),Ne=z.getContext("2d");if(Ne)if(!this.options.allowTaint&&ue)Ne.putImageData(ue.getImageData(0,0,o.width,o.height),0,0);else{var et=(f=o.getContext("webgl2"))!==null&&f!==void 0?f:o.getContext("webgl");if(et){var qe=et.getContextAttributes();(qe==null?void 0:qe.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",o)}Ne.drawImage(o,0,0)}return z}catch(Lt){this.context.logger.info("Unable to clone canvas as it is tainted",o)}return z},c.prototype.createVideoClone=function(o){var f=o.ownerDocument.createElement("canvas");f.width=o.offsetWidth,f.height=o.offsetHeight;var d=f.getContext("2d");try{return d&&(d.drawImage(o,0,0,f.width,f.height),this.options.allowTaint||d.getImageData(0,0,f.width,f.height)),f}catch(ue){this.context.logger.info("Unable to clone video as it is tainted",o)}var z=o.ownerDocument.createElement("canvas");return z.width=o.offsetWidth,z.height=o.offsetHeight,z},c.prototype.appendChildNode=function(o,f,d){(!Yu(f)||!gh(f)&&!f.hasAttribute(E0)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(f)))&&(!this.options.copyStyles||!Yu(f)||!y0(f))&&o.appendChild(this.cloneNode(f,d))},c.prototype.cloneChildNodes=function(o,f,d){for(var z=this,ue=o.shadowRoot?o.shadowRoot.firstChild:o.firstChild;ue;ue=ue.nextSibling)if(Yu(ue)&&w0(ue)&&typeof ue.assignedNodes=="function"){var Ne=ue.assignedNodes();Ne.length&&Ne.forEach(function(et){return z.appendChildNode(f,et,d)})}else this.appendChildNode(f,ue,d)},c.prototype.cloneNode=function(o,f){if(h0(o))return document.createTextNode(o.data);if(!o.ownerDocument)return o.cloneNode(!1);var d=o.ownerDocument.defaultView;if(d&&Yu(o)&&(fh(o)||Qf(o))){var z=this.createElementClone(o);z.style.transitionProperty="none";var ue=d.getComputedStyle(o),Ne=d.getComputedStyle(o,":before"),et=d.getComputedStyle(o,":after");this.referenceElement===o&&fh(z)&&(this.clonedReferenceElement=z),hh(z)&&Og(z);var qe=this.counters.parse(new bs(this.context,ue)),Lt=this.resolvePseudoContent(o,z,Ne,jd.BEFORE);b0(o)&&(f=!0),m0(o)||this.cloneChildNodes(o,z,f),Lt&&z.insertBefore(Lt,z.firstChild);var jt=this.resolvePseudoContent(o,z,et,jd.AFTER);return jt&&z.appendChild(jt),this.counters.pop(qe),(ue&&(this.options.copyStyles||Qf(o))&&!v0(o)||f)&&Df(ue,z),(o.scrollTop!==0||o.scrollLeft!==0)&&this.scrolledElements.push([z,o.scrollLeft,o.scrollTop]),(Rd(o)||Pf(o))&&(Rd(z)||Pf(z))&&(z.value=o.value),z}return o.cloneNode(!1)},c.prototype.resolvePseudoContent=function(o,f,d,z){var ue=this;if(d){var Ne=d.content,et=f.ownerDocument;if(!(!et||!Ne||Ne==="none"||Ne==="-moz-alt-content"||d.display==="none")){this.counters.parse(new bs(this.context,d));var qe=new Ya(this.context,d),Lt=et.createElement("html2canvaspseudoelement");Df(d,Lt),qe.content.forEach(function(Gt){if(Gt.type===0)Lt.appendChild(et.createTextNode(Gt.value));else if(Gt.type===22){var _n=et.createElement("img");_n.src=Gt.value,_n.style.opacity="1",Lt.appendChild(_n)}else if(Gt.type===18){if(Gt.name==="attr"){var ci=Gt.values.filter(ea);ci.length&&Lt.appendChild(et.createTextNode(o.getAttribute(ci[0].value)||""))}else if(Gt.name==="counter"){var gr=Gt.values.filter(qs),$r=gr[0],Ao=gr[1];if($r&&ea($r)){var vi=ue.counters.getCounterValue($r.value),hi=Ao&&ea(Ao)?Kt.parse(ue.context,Ao.value):3;Lt.appendChild(et.createTextNode(Md(vi,hi,!1)))}}else if(Gt.name==="counters"){var qi=Gt.values.filter(qs),$r=qi[0],yo=qi[1],Ao=qi[2];if($r&&ea($r)){var zi=ue.counters.getCounterValues($r.value),ti=Ao&&ea(Ao)?Kt.parse(ue.context,Ao.value):3,Go=yo&&yo.type===0?yo.value:"",Uo=zi.map(function(Ws){return Md(Ws,ti,!1)}).join(Go);Lt.appendChild(et.createTextNode(Uo))}}}else if(Gt.type===20)switch(Gt.value){case"open-quote":Lt.appendChild(et.createTextNode(_i(qe.quotes,ue.quoteDepth++,!0)));break;case"close-quote":Lt.appendChild(et.createTextNode(_i(qe.quotes,--ue.quoteDepth,!1)));break;default:Lt.appendChild(et.createTextNode(Gt.value))}}),Lt.className=wh+" "+Rf;var jt=z===jd.BEFORE?" "+wh:" "+Rf;return Qf(f)?f.className.baseValue+=jt:f.className+=jt,Lt}}},c.destroy=function(o){return o.parentNode?(o.parentNode.removeChild(o),!0):!1},c}(),jd;(function(c){c[c.BEFORE=0]="BEFORE",c[c.AFTER=1]="AFTER"})(jd||(jd={}));var Pp=function(c,o){var f=c.createElement("iframe");return f.className="html2canvas-container",f.style.visibility="hidden",f.style.position="fixed",f.style.left="-10000px",f.style.top="0px",f.style.border="0",f.width=o.width.toString(),f.height=o.height.toString(),f.scrolling="no",f.setAttribute(E0,"true"),c.body.appendChild(f),f},S0=function(c){return new Promise(function(o){if(c.complete){o();return}if(!c.src){o();return}c.onload=o,c.onerror=o})},Dp=function(c){return Promise.all([].slice.call(c.images,0).map(S0))},Hd=function(c){return new Promise(function(o,f){var d=c.contentWindow;if(!d)return f("No window assigned for iframe");var z=d.document;d.onload=c.onload=function(){d.onload=c.onload=null;var ue=setInterval(function(){z.body.childNodes.length>0&&z.readyState==="complete"&&(clearInterval(ue),o(c))},50)}})},Ug=["all","d","content"],Df=function(c,o){for(var f=c.length-1;f>=0;f--){var d=c.item(f);Ug.indexOf(d)===-1&&o.style.setProperty(d,c.getPropertyValue(d))}return o},Rp=function(c){var o="";return c&&(o+="<!DOCTYPE ",c.name&&(o+=c.name),c.internalSubset&&(o+=c.internalSubset),c.publicId&&(o+='"'+c.publicId+'"'),c.systemId&&(o+='"'+c.systemId+'"'),o+=">"),o},I0=function(c,o,f){c&&c.defaultView&&(o!==c.defaultView.pageXOffset||f!==c.defaultView.pageYOffset)&&c.defaultView.scrollTo(o,f)},F0=function(c){var o=c[0],f=c[1],d=c[2];o.scrollLeft=f,o.scrollTop=d},U0=":before",O0=":after",wh="___html2canvas___pseudoelement_before",Rf="___html2canvas___pseudoelement_after",N0=`{
|
|
|
content: "" !important;
|
|
|
display: none !important;
|
|
|
}`,Og=function(c){L0(c,"."+wh+U0+N0+`
|
|
|
.`+Rf+O0+N0)},L0=function(c,o){var f=c.ownerDocument;if(f){var d=f.createElement("style");d.textContent=o,c.appendChild(d)}},_0=function(){function c(){}return c.getOrigin=function(o){var f=c._link;return f?(f.href=o,f.href=f.href,f.protocol+f.hostname+f.port):"about:blank"},c.isSameOrigin=function(o){return c.getOrigin(o)===c._origin},c.setContext=function(o){c._link=o.document.createElement("a"),c._origin=c.getOrigin(o.location.href)},c._origin="about:blank",c}(),Al=function(){function c(o,f){this.context=o,this._options=f,this._cache={}}return c.prototype.addImage=function(o){var f=Promise.resolve();return this.has(o)||(Ch(o)||Tf(o))&&(this._cache[o]=this.loadImage(o)).catch(function(){}),f},c.prototype.match=function(o){return this._cache[o]},c.prototype.loadImage=function(o){return fe(this,void 0,void 0,function(){var f,d,z,ue,Ne=this;return H(this,function(et){switch(et.label){case 0:return f=_0.isSameOrigin(o),d=!$d(o)&&this._options.useCORS===!0&&FA.SUPPORT_CORS_IMAGES&&!f,z=!$d(o)&&!f&&!Ch(o)&&typeof this._options.proxy=="string"&&FA.SUPPORT_CORS_XHR&&!d,!f&&this._options.allowTaint===!1&&!$d(o)&&!Ch(o)&&!z&&!d?[2]:(ue=o,z?[4,this.proxy(ue)]:[3,2]);case 1:ue=et.sent(),et.label=2;case 2:return this.context.logger.debug("Added image "+o.substring(0,256)),[4,new Promise(function(qe,Lt){var jt=new Image;jt.onload=function(){return qe(jt)},jt.onerror=Lt,(Tp(ue)||d)&&(jt.crossOrigin="anonymous"),jt.src=ue,jt.complete===!0&&setTimeout(function(){return qe(jt)},500),Ne._options.imageTimeout>0&&setTimeout(function(){return Lt("Timed out ("+Ne._options.imageTimeout+"ms) loading image")},Ne._options.imageTimeout)})];case 3:return[2,et.sent()]}})})},c.prototype.has=function(o){return typeof this._cache[o]!="undefined"},c.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},c.prototype.proxy=function(o){var f=this,d=this._options.proxy;if(!d)throw new Error("No proxy defined");var z=o.substring(0,256);return new Promise(function(ue,Ne){var et=FA.SUPPORT_RESPONSE_TYPE?"blob":"text",qe=new XMLHttpRequest;qe.onload=function(){if(qe.status===200)if(et==="text")ue(qe.response);else{var Gt=new FileReader;Gt.addEventListener("load",function(){return ue(Gt.result)},!1),Gt.addEventListener("error",function(_n){return Ne(_n)},!1),Gt.readAsDataURL(qe.response)}else Ne("Failed to proxy resource "+z+" with status code "+qe.status)},qe.onerror=Ne;var Lt=d.indexOf("?")>-1?"&":"?";if(qe.open("GET",""+d+Lt+"url="+encodeURIComponent(o)+"&responseType="+et),et!=="text"&&qe instanceof XMLHttpRequest&&(qe.responseType=et),f._options.imageTimeout){var jt=f._options.imageTimeout;qe.timeout=jt,qe.ontimeout=function(){return Ne("Timed out ("+jt+"ms) proxying "+z)}}qe.send()})},c}(),bh=/^data:image\/svg\+xml/i,Q0=/^data:image\/.*;base64,/i,Bh=/^data:image\/.*/i,Tf=function(c){return FA.SUPPORT_SVG_DRAWING||!Mp(c)},$d=function(c){return Bh.test(c)},Tp=function(c){return Q0.test(c)},Ch=function(c){return c.substr(0,4)==="blob"},Mp=function(c){return c.substr(-3).toLowerCase()==="svg"||bh.test(c)},li=function(){function c(o,f){this.type=0,this.x=o,this.y=f}return c.prototype.add=function(o,f){return new c(this.x+o,this.y+f)},c}(),mu=function(c,o,f){return new li(c.x+(o.x-c.x)*f,c.y+(o.y-c.y)*f)},Mf=function(){function c(o,f,d,z){this.type=1,this.start=o,this.startControl=f,this.endControl=d,this.end=z}return c.prototype.subdivide=function(o,f){var d=mu(this.start,this.startControl,o),z=mu(this.startControl,this.endControl,o),ue=mu(this.endControl,this.end,o),Ne=mu(d,z,o),et=mu(z,ue,o),qe=mu(Ne,et,o);return f?new c(this.start,d,Ne,qe):new c(qe,et,ue,this.end)},c.prototype.add=function(o,f){return new c(this.start.add(o,f),this.startControl.add(o,f),this.endControl.add(o,f),this.end.add(o,f))},c.prototype.reverse=function(){return new c(this.end,this.endControl,this.startControl,this.start)},c}(),gl=function(c){return c.type===1},jp=function(){function c(o){var f=o.styles,d=o.bounds,z=el(f.borderTopLeftRadius,d.width,d.height),ue=z[0],Ne=z[1],et=el(f.borderTopRightRadius,d.width,d.height),qe=et[0],Lt=et[1],jt=el(f.borderBottomRightRadius,d.width,d.height),Gt=jt[0],_n=jt[1],ci=el(f.borderBottomLeftRadius,d.width,d.height),gr=ci[0],$r=ci[1],Ao=[];Ao.push((ue+qe)/d.width),Ao.push((gr+Gt)/d.width),Ao.push((Ne+$r)/d.height),Ao.push((Lt+_n)/d.height);var vi=Math.max.apply(Math,Ao);vi>1&&(ue/=vi,Ne/=vi,qe/=vi,Lt/=vi,Gt/=vi,_n/=vi,gr/=vi,$r/=vi);var hi=d.width-qe,qi=d.height-_n,yo=d.width-Gt,zi=d.height-$r,ti=f.borderTopWidth,Go=f.borderRightWidth,Uo=f.borderBottomWidth,eo=f.borderLeftWidth,Dr=xo(f.paddingTop,o.bounds.width),Ws=xo(f.paddingRight,o.bounds.width),ll=xo(f.paddingBottom,o.bounds.width),Ia=xo(f.paddingLeft,o.bounds.width);this.topLeftBorderDoubleOuterBox=ue>0||Ne>0?iA(d.left+eo/3,d.top+ti/3,ue-eo/3,Ne-ti/3,Ca.TOP_LEFT):new li(d.left+eo/3,d.top+ti/3),this.topRightBorderDoubleOuterBox=ue>0||Ne>0?iA(d.left+hi,d.top+ti/3,qe-Go/3,Lt-ti/3,Ca.TOP_RIGHT):new li(d.left+d.width-Go/3,d.top+ti/3),this.bottomRightBorderDoubleOuterBox=Gt>0||_n>0?iA(d.left+yo,d.top+qi,Gt-Go/3,_n-Uo/3,Ca.BOTTOM_RIGHT):new li(d.left+d.width-Go/3,d.top+d.height-Uo/3),this.bottomLeftBorderDoubleOuterBox=gr>0||$r>0?iA(d.left+eo/3,d.top+zi,gr-eo/3,$r-Uo/3,Ca.BOTTOM_LEFT):new li(d.left+eo/3,d.top+d.height-Uo/3),this.topLeftBorderDoubleInnerBox=ue>0||Ne>0?iA(d.left+eo*2/3,d.top+ti*2/3,ue-eo*2/3,Ne-ti*2/3,Ca.TOP_LEFT):new li(d.left+eo*2/3,d.top+ti*2/3),this.topRightBorderDoubleInnerBox=ue>0||Ne>0?iA(d.left+hi,d.top+ti*2/3,qe-Go*2/3,Lt-ti*2/3,Ca.TOP_RIGHT):new li(d.left+d.width-Go*2/3,d.top+ti*2/3),this.bottomRightBorderDoubleInnerBox=Gt>0||_n>0?iA(d.left+yo,d.top+qi,Gt-Go*2/3,_n-Uo*2/3,Ca.BOTTOM_RIGHT):new li(d.left+d.width-Go*2/3,d.top+d.height-Uo*2/3),this.bottomLeftBorderDoubleInnerBox=gr>0||$r>0?iA(d.left+eo*2/3,d.top+zi,gr-eo*2/3,$r-Uo*2/3,Ca.BOTTOM_LEFT):new li(d.left+eo*2/3,d.top+d.height-Uo*2/3),this.topLeftBorderStroke=ue>0||Ne>0?iA(d.left+eo/2,d.top+ti/2,ue-eo/2,Ne-ti/2,Ca.TOP_LEFT):new li(d.left+eo/2,d.top+ti/2),this.topRightBorderStroke=ue>0||Ne>0?iA(d.left+hi,d.top+ti/2,qe-Go/2,Lt-ti/2,Ca.TOP_RIGHT):new li(d.left+d.width-Go/2,d.top+ti/2),this.bottomRightBorderStroke=Gt>0||_n>0?iA(d.left+yo,d.top+qi,Gt-Go/2,_n-Uo/2,Ca.BOTTOM_RIGHT):new li(d.left+d.width-Go/2,d.top+d.height-Uo/2),this.bottomLeftBorderStroke=gr>0||$r>0?iA(d.left+eo/2,d.top+zi,gr-eo/2,$r-Uo/2,Ca.BOTTOM_LEFT):new li(d.left+eo/2,d.top+d.height-Uo/2),this.topLeftBorderBox=ue>0||Ne>0?iA(d.left,d.top,ue,Ne,Ca.TOP_LEFT):new li(d.left,d.top),this.topRightBorderBox=qe>0||Lt>0?iA(d.left+hi,d.top,qe,Lt,Ca.TOP_RIGHT):new li(d.left+d.width,d.top),this.bottomRightBorderBox=Gt>0||_n>0?iA(d.left+yo,d.top+qi,Gt,_n,Ca.BOTTOM_RIGHT):new li(d.left+d.width,d.top+d.height),this.bottomLeftBorderBox=gr>0||$r>0?iA(d.left,d.top+zi,gr,$r,Ca.BOTTOM_LEFT):new li(d.left,d.top+d.height),this.topLeftPaddingBox=ue>0||Ne>0?iA(d.left+eo,d.top+ti,Math.max(0,ue-eo),Math.max(0,Ne-ti),Ca.TOP_LEFT):new li(d.left+eo,d.top+ti),this.topRightPaddingBox=qe>0||Lt>0?iA(d.left+Math.min(hi,d.width-Go),d.top+ti,hi>d.width+Go?0:Math.max(0,qe-Go),Math.max(0,Lt-ti),Ca.TOP_RIGHT):new li(d.left+d.width-Go,d.top+ti),this.bottomRightPaddingBox=Gt>0||_n>0?iA(d.left+Math.min(yo,d.width-eo),d.top+Math.min(qi,d.height-Uo),Math.max(0,Gt-Go),Math.max(0,_n-Uo),Ca.BOTTOM_RIGHT):new li(d.left+d.width-Go,d.top+d.height-Uo),this.bottomLeftPaddingBox=gr>0||$r>0?iA(d.left+eo,d.top+Math.min(zi,d.height-Uo),Math.max(0,gr-eo),Math.max(0,$r-Uo),Ca.BOTTOM_LEFT):new li(d.left+eo,d.top+d.height-Uo),this.topLeftContentBox=ue>0||Ne>0?iA(d.left+eo+Ia,d.top+ti+Dr,Math.max(0,ue-(eo+Ia)),Math.max(0,Ne-(ti+Dr)),Ca.TOP_LEFT):new li(d.left+eo+Ia,d.top+ti+Dr),this.topRightContentBox=qe>0||Lt>0?iA(d.left+Math.min(hi,d.width+eo+Ia),d.top+ti+Dr,hi>d.width+eo+Ia?0:qe-eo+Ia,Lt-(ti+Dr),Ca.TOP_RIGHT):new li(d.left+d.width-(Go+Ws),d.top+ti+Dr),this.bottomRightContentBox=Gt>0||_n>0?iA(d.left+Math.min(yo,d.width-(eo+Ia)),d.top+Math.min(qi,d.height+ti+Dr),Math.max(0,Gt-(Go+Ws)),_n-(Uo+ll),Ca.BOTTOM_RIGHT):new li(d.left+d.width-(Go+Ws),d.top+d.height-(Uo+ll)),this.bottomLeftContentBox=gr>0||$r>0?iA(d.left+eo+Ia,d.top+zi,Math.max(0,gr-(eo+Ia)),$r-(Uo+ll),Ca.BOTTOM_LEFT):new li(d.left+eo+Ia,d.top+d.height-(Uo+ll))}return c}(),Ca;(function(c){c[c.TOP_LEFT=0]="TOP_LEFT",c[c.TOP_RIGHT=1]="TOP_RIGHT",c[c.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",c[c.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(Ca||(Ca={}));var iA=function(c,o,f,d,z){var ue=4*((Math.sqrt(2)-1)/3),Ne=f*ue,et=d*ue,qe=c+f,Lt=o+d;switch(z){case Ca.TOP_LEFT:return new Mf(new li(c,Lt),new li(c,Lt-et),new li(qe-Ne,o),new li(qe,o));case Ca.TOP_RIGHT:return new Mf(new li(c,o),new li(c+Ne,o),new li(qe,Lt-et),new li(qe,Lt));case Ca.BOTTOM_RIGHT:return new Mf(new li(qe,o),new li(qe,o+et),new li(c+Ne,Lt),new li(c,Lt));case Ca.BOTTOM_LEFT:default:return new Mf(new li(qe,Lt),new li(qe-Ne,Lt),new li(c,o+et),new li(c,o))}},jf=function(c){return[c.topLeftBorderBox,c.topRightBorderBox,c.bottomRightBorderBox,c.bottomLeftBorderBox]},Ng=function(c){return[c.topLeftContentBox,c.topRightContentBox,c.bottomRightContentBox,c.bottomLeftContentBox]},xh=function(c){return[c.topLeftPaddingBox,c.topRightPaddingBox,c.bottomRightPaddingBox,c.bottomLeftPaddingBox]},ao=function(){function c(o,f,d){this.offsetX=o,this.offsetY=f,this.matrix=d,this.type=0,this.target=6}return c}(),Ju=function(){function c(o,f){this.path=o,this.target=f,this.type=1}return c}(),ka=function(){function c(o){this.opacity=o,this.type=2,this.target=6}return c}(),Eh=function(c){return c.type===0},Sh=function(c){return c.type===1},Hf=function(c){return c.type===2},$c=function(c,o){return c.length===o.length?c.some(function(f,d){return f===o[d]}):!1},P0=function(c,o,f,d,z){return c.map(function(ue,Ne){switch(Ne){case 0:return ue.add(o,f);case 1:return ue.add(o+d,f);case 2:return ue.add(o+d,f+z);case 3:return ue.add(o,f+z)}return ue})},kd=function(){function c(o){this.element=o,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return c}(),Ih=function(){function c(o,f){if(this.container=o,this.parent=f,this.effects=[],this.curves=new jp(this.container),this.container.styles.opacity<1&&this.effects.push(new ka(this.container.styles.opacity)),this.container.styles.transform!==null){var d=this.container.bounds.left+this.container.styles.transformOrigin[0].number,z=this.container.bounds.top+this.container.styles.transformOrigin[1].number,ue=this.container.styles.transform;this.effects.push(new ao(d,z,ue))}if(this.container.styles.overflowX!==0){var Ne=jf(this.curves),et=xh(this.curves);$c(Ne,et)?this.effects.push(new Ju(Ne,6)):(this.effects.push(new Ju(Ne,2)),this.effects.push(new Ju(et,4)))}}return c.prototype.getEffects=function(o){for(var f=[2,3].indexOf(this.container.styles.position)===-1,d=this.parent,z=this.effects.slice(0);d;){var ue=d.effects.filter(function(qe){return!Sh(qe)});if(f||d.container.styles.position!==0||!d.parent){if(z.unshift.apply(z,ue),f=[2,3].indexOf(d.container.styles.position)===-1,d.container.styles.overflowX!==0){var Ne=jf(d.curves),et=xh(d.curves);$c(Ne,et)||z.unshift(new Ju(et,6))}}else z.unshift.apply(z,ue);d=d.parent}return z.filter(function(qe){return Tr(qe.target,o)})},c}(),Kd=function(c,o,f,d){c.container.elements.forEach(function(z){var ue=Tr(z.flags,4),Ne=Tr(z.flags,2),et=new Ih(z,c);Tr(z.styles.display,2048)&&d.push(et);var qe=Tr(z.flags,8)?[]:d;if(ue||Ne){var Lt=ue||z.styles.isPositioned()?f:o,jt=new kd(et);if(z.styles.isPositioned()||z.styles.opacity<1||z.styles.isTransformed()){var Gt=z.styles.zIndex.order;if(Gt<0){var _n=0;Lt.negativeZIndex.some(function(gr,$r){return Gt>gr.element.container.styles.zIndex.order?(_n=$r,!1):_n>0}),Lt.negativeZIndex.splice(_n,0,jt)}else if(Gt>0){var ci=0;Lt.positiveZIndex.some(function(gr,$r){return Gt>=gr.element.container.styles.zIndex.order?(ci=$r+1,!1):ci>0}),Lt.positiveZIndex.splice(ci,0,jt)}else Lt.zeroOrAutoZIndexOrTransformedOrOpacity.push(jt)}else z.styles.isFloating()?Lt.nonPositionedFloats.push(jt):Lt.nonPositionedInlineLevel.push(jt);Kd(et,jt,ue?jt:f,qe)}else z.styles.isInlineLevel()?o.inlineLevel.push(et):o.nonInlineLevel.push(et),Kd(et,o,f,qe);Tr(z.flags,8)&&zd(z,qe)})},zd=function(c,o){for(var f=c instanceof uh?c.start:1,d=c instanceof uh?c.reversed:!1,z=0;z<o.length;z++){var ue=o[z];ue.container instanceof s0&&typeof ue.container.value=="number"&&ue.container.value!==0&&(f=ue.container.value),ue.listValue=Md(f,ue.container.styles.listStyleType,!0),f+=d?-1:1}},Bs=function(c){var o=new Ih(c,null),f=new kd(o),d=[];return Kd(o,f,f,d),zd(o.container,d),f},cs=function(c,o){switch(o){case 0:return sl(c.topLeftBorderBox,c.topLeftPaddingBox,c.topRightBorderBox,c.topRightPaddingBox);case 1:return sl(c.topRightBorderBox,c.topRightPaddingBox,c.bottomRightBorderBox,c.bottomRightPaddingBox);case 2:return sl(c.bottomRightBorderBox,c.bottomRightPaddingBox,c.bottomLeftBorderBox,c.bottomLeftPaddingBox);case 3:default:return sl(c.bottomLeftBorderBox,c.bottomLeftPaddingBox,c.topLeftBorderBox,c.topLeftPaddingBox)}},Cs=function(c,o){switch(o){case 0:return sl(c.topLeftBorderBox,c.topLeftBorderDoubleOuterBox,c.topRightBorderBox,c.topRightBorderDoubleOuterBox);case 1:return sl(c.topRightBorderBox,c.topRightBorderDoubleOuterBox,c.bottomRightBorderBox,c.bottomRightBorderDoubleOuterBox);case 2:return sl(c.bottomRightBorderBox,c.bottomRightBorderDoubleOuterBox,c.bottomLeftBorderBox,c.bottomLeftBorderDoubleOuterBox);case 3:default:return sl(c.bottomLeftBorderBox,c.bottomLeftBorderDoubleOuterBox,c.topLeftBorderBox,c.topLeftBorderDoubleOuterBox)}},xs=function(c,o){switch(o){case 0:return sl(c.topLeftBorderDoubleInnerBox,c.topLeftPaddingBox,c.topRightBorderDoubleInnerBox,c.topRightPaddingBox);case 1:return sl(c.topRightBorderDoubleInnerBox,c.topRightPaddingBox,c.bottomRightBorderDoubleInnerBox,c.bottomRightPaddingBox);case 2:return sl(c.bottomRightBorderDoubleInnerBox,c.bottomRightPaddingBox,c.bottomLeftBorderDoubleInnerBox,c.bottomLeftPaddingBox);case 3:default:return sl(c.bottomLeftBorderDoubleInnerBox,c.bottomLeftPaddingBox,c.topLeftBorderDoubleInnerBox,c.topLeftPaddingBox)}},D0=function(c,o){switch(o){case 0:return $f(c.topLeftBorderStroke,c.topRightBorderStroke);case 1:return $f(c.topRightBorderStroke,c.bottomRightBorderStroke);case 2:return $f(c.bottomRightBorderStroke,c.bottomLeftBorderStroke);case 3:default:return $f(c.bottomLeftBorderStroke,c.topLeftBorderStroke)}},$f=function(c,o){var f=[];return gl(c)?f.push(c.subdivide(.5,!1)):f.push(c),gl(o)?f.push(o.subdivide(.5,!0)):f.push(o),f},sl=function(c,o,f,d){var z=[];return gl(c)?z.push(c.subdivide(.5,!1)):z.push(c),gl(f)?z.push(f.subdivide(.5,!0)):z.push(f),gl(d)?z.push(d.subdivide(.5,!0).reverse()):z.push(d),gl(o)?z.push(o.subdivide(.5,!1).reverse()):z.push(o),z},R0=function(c){var o=c.bounds,f=c.styles;return o.add(f.borderLeftWidth,f.borderTopWidth,-(f.borderRightWidth+f.borderLeftWidth),-(f.borderTopWidth+f.borderBottomWidth))},kf=function(c){var o=c.styles,f=c.bounds,d=xo(o.paddingLeft,f.width),z=xo(o.paddingRight,f.width),ue=xo(o.paddingTop,f.width),Ne=xo(o.paddingBottom,f.width);return f.add(d+o.borderLeftWidth,ue+o.borderTopWidth,-(o.borderRightWidth+o.borderLeftWidth+d+z),-(o.borderTopWidth+o.borderBottomWidth+ue+Ne))},Fh=function(c,o){return c===0?o.bounds:c===2?kf(o):R0(o)},Hp=function(c,o){return c===0?o.bounds:c===2?kf(o):R0(o)},Vl=function(c,o,f){var d=Fh(Fl(c.styles.backgroundOrigin,o),c),z=Hp(Fl(c.styles.backgroundClip,o),c),ue=qu(Fl(c.styles.backgroundSize,o),f,d),Ne=ue[0],et=ue[1],qe=el(Fl(c.styles.backgroundPosition,o),d.width-Ne,d.height-et),Lt=T0(Fl(c.styles.backgroundRepeat,o),qe,ue,d,z),jt=Math.round(d.left+qe[0]),Gt=Math.round(d.top+qe[1]);return[Lt,jt,Gt,Ne,et]},kc=function(c){return ea(c)&&c.value===BA.AUTO},Zd=function(c){return typeof c=="number"},qu=function(c,o,f){var d=o[0],z=o[1],ue=o[2],Ne=c[0],et=c[1];if(!Ne)return[0,0];if(Ga(Ne)&&et&&Ga(et))return[xo(Ne,f.width),xo(et,f.height)];var qe=Zd(ue);if(ea(Ne)&&(Ne.value===BA.CONTAIN||Ne.value===BA.COVER)){if(Zd(ue)){var Lt=f.width/f.height;return Lt<ue!=(Ne.value===BA.COVER)?[f.width,f.width/ue]:[f.height*ue,f.height]}return[f.width,f.height]}var jt=Zd(d),Gt=Zd(z),_n=jt||Gt;if(kc(Ne)&&(!et||kc(et))){if(jt&&Gt)return[d,z];if(!qe&&!_n)return[f.width,f.height];if(_n&&qe){var ci=jt?d:z*ue,gr=Gt?z:d/ue;return[ci,gr]}var $r=jt?d:f.width,Ao=Gt?z:f.height;return[$r,Ao]}if(qe){var vi=0,hi=0;return Ga(Ne)?vi=xo(Ne,f.width):Ga(et)&&(hi=xo(et,f.height)),kc(Ne)?vi=hi*ue:(!et||kc(et))&&(hi=vi/ue),[vi,hi]}var qi=null,yo=null;if(Ga(Ne)?qi=xo(Ne,f.width):et&&Ga(et)&&(yo=xo(et,f.height)),qi!==null&&(!et||kc(et))&&(yo=jt&&Gt?qi/d*z:f.height),yo!==null&&kc(Ne)&&(qi=jt&&Gt?yo/z*d:f.width),qi!==null&&yo!==null)return[qi,yo];throw new Error("Unable to calculate background-size for element")},Fl=function(c,o){var f=c[o];return typeof f=="undefined"?c[0]:f},T0=function(c,o,f,d,z){var ue=o[0],Ne=o[1],et=f[0],qe=f[1];switch(c){case 2:return[new li(Math.round(d.left),Math.round(d.top+Ne)),new li(Math.round(d.left+d.width),Math.round(d.top+Ne)),new li(Math.round(d.left+d.width),Math.round(qe+d.top+Ne)),new li(Math.round(d.left),Math.round(qe+d.top+Ne))];case 3:return[new li(Math.round(d.left+ue),Math.round(d.top)),new li(Math.round(d.left+ue+et),Math.round(d.top)),new li(Math.round(d.left+ue+et),Math.round(d.height+d.top)),new li(Math.round(d.left+ue),Math.round(d.height+d.top))];case 1:return[new li(Math.round(d.left+ue),Math.round(d.top+Ne)),new li(Math.round(d.left+ue+et),Math.round(d.top+Ne)),new li(Math.round(d.left+ue+et),Math.round(d.top+Ne+qe)),new li(Math.round(d.left+ue),Math.round(d.top+Ne+qe))];default:return[new li(Math.round(z.left),Math.round(z.top)),new li(Math.round(z.left+z.width),Math.round(z.top)),new li(Math.round(z.left+z.width),Math.round(z.height+z.top)),new li(Math.round(z.left),Math.round(z.height+z.top))]}},Wd="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",Uh="Hidden Text",Kc=function(){function c(o){this._data={},this._document=o}return c.prototype.parseMetrics=function(o,f){var d=this._document.createElement("div"),z=this._document.createElement("img"),ue=this._document.createElement("span"),Ne=this._document.body;d.style.visibility="hidden",d.style.fontFamily=o,d.style.fontSize=f,d.style.margin="0",d.style.padding="0",d.style.whiteSpace="nowrap",Ne.appendChild(d),z.src=Wd,z.width=1,z.height=1,z.style.margin="0",z.style.padding="0",z.style.verticalAlign="baseline",ue.style.fontFamily=o,ue.style.fontSize=f,ue.style.margin="0",ue.style.padding="0",ue.appendChild(this._document.createTextNode(Uh)),d.appendChild(ue),d.appendChild(z);var et=z.offsetTop-ue.offsetTop+2;d.removeChild(ue),d.appendChild(this._document.createTextNode(Uh)),d.style.lineHeight="normal",z.style.verticalAlign="super";var qe=z.offsetTop-d.offsetTop+2;return Ne.removeChild(d),{baseline:et,middle:qe}},c.prototype.getMetrics=function(o,f){var d=o+" "+f;return typeof this._data[d]=="undefined"&&(this._data[d]=this.parseMetrics(o,f)),this._data[d]},c}(),zc=function(){function c(o,f){this.context=o,this.options=f}return c}(),Fi=1e4,xA=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z._activeEffects=[],z.canvas=d.canvas?d.canvas:document.createElement("canvas"),z.ctx=z.canvas.getContext("2d"),d.canvas||(z.canvas.width=Math.floor(d.width*d.scale),z.canvas.height=Math.floor(d.height*d.scale),z.canvas.style.width=d.width+"px",z.canvas.style.height=d.height+"px"),z.fontMetrics=new Kc(document),z.ctx.scale(z.options.scale,z.options.scale),z.ctx.translate(-d.x,-d.y),z.ctx.textBaseline="bottom",z._activeEffects=[],z.context.logger.debug("Canvas renderer initialized ("+d.width+"x"+d.height+") with scale "+d.scale),z}return o.prototype.applyEffects=function(f){for(var d=this;this._activeEffects.length;)this.popEffect();f.forEach(function(z){return d.applyEffect(z)})},o.prototype.applyEffect=function(f){this.ctx.save(),Hf(f)&&(this.ctx.globalAlpha=f.opacity),Eh(f)&&(this.ctx.translate(f.offsetX,f.offsetY),this.ctx.transform(f.matrix[0],f.matrix[1],f.matrix[2],f.matrix[3],f.matrix[4],f.matrix[5]),this.ctx.translate(-f.offsetX,-f.offsetY)),Sh(f)&&(this.path(f.path),this.ctx.clip()),this._activeEffects.push(f)},o.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},o.prototype.renderStack=function(f){return fe(this,void 0,void 0,function(){var d;return H(this,function(z){switch(z.label){case 0:return d=f.element.container.styles,d.isVisible()?[4,this.renderStackContent(f)]:[3,2];case 1:z.sent(),z.label=2;case 2:return[2]}})})},o.prototype.renderNode=function(f){return fe(this,void 0,void 0,function(){return H(this,function(d){switch(d.label){case 0:if(Tr(f.container.flags,16))debugger;return f.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(f)]:[3,3];case 1:return d.sent(),[4,this.renderNodeContent(f)];case 2:d.sent(),d.label=3;case 3:return[2]}})})},o.prototype.renderTextWithLetterSpacing=function(f,d,z){var ue=this;if(d===0)this.ctx.fillText(f.text,f.bounds.left,f.bounds.top+z);else{var Ne=pa(f.text);Ne.reduce(function(et,qe){return ue.ctx.fillText(qe,et,f.bounds.top+z),et+ue.ctx.measureText(qe).width},f.bounds.left)}},o.prototype.createFontStyle=function(f){var d=f.fontVariant.filter(function(Ne){return Ne==="normal"||Ne==="small-caps"}).join(""),z=Zc(f.fontFamily).join(", "),ue=LA(f.fontSize)?""+f.fontSize.number+f.fontSize.unit:f.fontSize.number+"px";return[[f.fontStyle,d,f.fontWeight,ue,z].join(" "),z,ue]},o.prototype.renderTextNode=function(f,d){return fe(this,void 0,void 0,function(){var z,ue,Ne,et,qe,Lt,jt,Gt,_n=this;return H(this,function(ci){return z=this.createFontStyle(d),ue=z[0],Ne=z[1],et=z[2],this.ctx.font=ue,this.ctx.direction=d.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",qe=this.fontMetrics.getMetrics(Ne,et),Lt=qe.baseline,jt=qe.middle,Gt=d.paintOrder,f.textBounds.forEach(function(gr){Gt.forEach(function($r){switch($r){case 0:_n.ctx.fillStyle=Yo(d.color),_n.renderTextWithLetterSpacing(gr,d.letterSpacing,Lt);var Ao=d.textShadow;Ao.length&&gr.text.trim().length&&(Ao.slice(0).reverse().forEach(function(vi){_n.ctx.shadowColor=Yo(vi.color),_n.ctx.shadowOffsetX=vi.offsetX.number*_n.options.scale,_n.ctx.shadowOffsetY=vi.offsetY.number*_n.options.scale,_n.ctx.shadowBlur=vi.blur.number,_n.renderTextWithLetterSpacing(gr,d.letterSpacing,Lt)}),_n.ctx.shadowColor="",_n.ctx.shadowOffsetX=0,_n.ctx.shadowOffsetY=0,_n.ctx.shadowBlur=0),d.textDecorationLine.length&&(_n.ctx.fillStyle=Yo(d.textDecorationColor||d.color),d.textDecorationLine.forEach(function(vi){switch(vi){case 1:_n.ctx.fillRect(gr.bounds.left,Math.round(gr.bounds.top+Lt),gr.bounds.width,1);break;case 2:_n.ctx.fillRect(gr.bounds.left,Math.round(gr.bounds.top),gr.bounds.width,1);break;case 3:_n.ctx.fillRect(gr.bounds.left,Math.ceil(gr.bounds.top+jt),gr.bounds.width,1);break}}));break;case 1:d.webkitTextStrokeWidth&&gr.text.trim().length&&(_n.ctx.strokeStyle=Yo(d.webkitTextStrokeColor),_n.ctx.lineWidth=d.webkitTextStrokeWidth,_n.ctx.lineJoin=window.chrome?"miter":"round",_n.ctx.strokeText(gr.text,gr.bounds.left,gr.bounds.top+Lt)),_n.ctx.strokeStyle="",_n.ctx.lineWidth=0,_n.ctx.lineJoin="miter";break}})}),[2]})})},o.prototype.renderReplacedElement=function(f,d,z){if(z&&f.intrinsicWidth>0&&f.intrinsicHeight>0){var ue=kf(f),Ne=xh(d);this.path(Ne),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(z,0,0,f.intrinsicWidth,f.intrinsicHeight,ue.left,ue.top,ue.width,ue.height),this.ctx.restore()}},o.prototype.renderNodeContent=function(f){return fe(this,void 0,void 0,function(){var d,z,ue,Ne,et,qe,hi,hi,Lt,jt,Gt,_n,yo,ci,gr,zi,$r,Ao,vi,hi,qi,yo,zi;return H(this,function(ti){switch(ti.label){case 0:this.applyEffects(f.getEffects(4)),d=f.container,z=f.curves,ue=d.styles,Ne=0,et=d.textNodes,ti.label=1;case 1:return Ne<et.length?(qe=et[Ne],[4,this.renderTextNode(qe,ue)]):[3,4];case 2:ti.sent(),ti.label=3;case 3:return Ne++,[3,1];case 4:if(!(d instanceof o0))return[3,8];ti.label=5;case 5:return ti.trys.push([5,7,,8]),[4,this.context.cache.match(d.src)];case 6:return hi=ti.sent(),this.renderReplacedElement(d,z,hi),[3,8];case 7:return ti.sent(),this.context.logger.error("Error loading image "+d.src),[3,8];case 8:if(d instanceof a0&&this.renderReplacedElement(d,z,d.canvas),!(d instanceof A0))return[3,12];ti.label=9;case 9:return ti.trys.push([9,11,,12]),[4,this.context.cache.match(d.svg)];case 10:return hi=ti.sent(),this.renderReplacedElement(d,z,hi),[3,12];case 11:return ti.sent(),this.context.logger.error("Error loading svg "+d.svg.substring(0,255)),[3,12];case 12:return d instanceof u0&&d.tree?(Lt=new o(this.context,{scale:this.options.scale,backgroundColor:d.backgroundColor,x:0,y:0,width:d.width,height:d.height}),[4,Lt.render(d.tree)]):[3,14];case 13:jt=ti.sent(),d.width&&d.height&&this.ctx.drawImage(jt,0,0,d.width,d.height,d.bounds.left,d.bounds.top,d.bounds.width,d.bounds.height),ti.label=14;case 14:if(d instanceof Pd&&(Gt=Math.min(d.bounds.width,d.bounds.height),d.type===Nf?d.checked&&(this.ctx.save(),this.path([new li(d.bounds.left+Gt*.39363,d.bounds.top+Gt*.79),new li(d.bounds.left+Gt*.16,d.bounds.top+Gt*.5549),new li(d.bounds.left+Gt*.27347,d.bounds.top+Gt*.44071),new li(d.bounds.left+Gt*.39694,d.bounds.top+Gt*.5649),new li(d.bounds.left+Gt*.72983,d.bounds.top+Gt*.23),new li(d.bounds.left+Gt*.84,d.bounds.top+Gt*.34085),new li(d.bounds.left+Gt*.39363,d.bounds.top+Gt*.79)]),this.ctx.fillStyle=Yo(_f),this.ctx.fill(),this.ctx.restore()):d.type===Lf&&d.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(d.bounds.left+Gt/2,d.bounds.top+Gt/2,Gt/4,0,Math.PI*2,!0),this.ctx.fillStyle=Yo(_f),this.ctx.fill(),this.ctx.restore())),Oh(d)&&d.value.length){switch(_n=this.createFontStyle(ue),yo=_n[0],ci=_n[1],gr=this.fontMetrics.getMetrics(yo,ci).baseline,this.ctx.font=yo,this.ctx.fillStyle=Yo(ue.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=ed(d.styles.textAlign),zi=kf(d),$r=0,d.styles.textAlign){case 1:$r+=zi.width/2;break;case 2:$r+=zi.width;break}Ao=zi.add($r,0,0,-zi.height/2+1),this.ctx.save(),this.path([new li(zi.left,zi.top),new li(zi.left+zi.width,zi.top),new li(zi.left+zi.width,zi.top+zi.height),new li(zi.left,zi.top+zi.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Il(d.value,Ao),ue.letterSpacing,gr),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!Tr(d.styles.display,2048))return[3,20];if(d.styles.listStyleImage===null)return[3,19];if(vi=d.styles.listStyleImage,vi.type!==0)return[3,18];hi=void 0,qi=vi.url,ti.label=15;case 15:return ti.trys.push([15,17,,18]),[4,this.context.cache.match(qi)];case 16:return hi=ti.sent(),this.ctx.drawImage(hi,d.bounds.left-(hi.width+10),d.bounds.top),[3,18];case 17:return ti.sent(),this.context.logger.error("Error loading list-style-image "+qi),[3,18];case 18:return[3,20];case 19:f.listValue&&d.styles.listStyleType!==-1&&(yo=this.createFontStyle(ue)[0],this.ctx.font=yo,this.ctx.fillStyle=Yo(ue.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",zi=new R(d.bounds.left,d.bounds.top+xo(d.styles.paddingTop,d.bounds.width),d.bounds.width,Et(ue.lineHeight,ue.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Il(f.listValue,zi),ue.letterSpacing,Et(ue.lineHeight,ue.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),ti.label=20;case 20:return[2]}})})},o.prototype.renderStackContent=function(f){return fe(this,void 0,void 0,function(){var d,z,vi,ue,Ne,vi,et,qe,vi,Lt,jt,vi,Gt,_n,vi,ci,gr,vi,$r,Ao,vi;return H(this,function(hi){switch(hi.label){case 0:if(Tr(f.element.container.flags,16))debugger;return[4,this.renderNodeBackgroundAndBorders(f.element)];case 1:hi.sent(),d=0,z=f.negativeZIndex,hi.label=2;case 2:return d<z.length?(vi=z[d],[4,this.renderStack(vi)]):[3,5];case 3:hi.sent(),hi.label=4;case 4:return d++,[3,2];case 5:return[4,this.renderNodeContent(f.element)];case 6:hi.sent(),ue=0,Ne=f.nonInlineLevel,hi.label=7;case 7:return ue<Ne.length?(vi=Ne[ue],[4,this.renderNode(vi)]):[3,10];case 8:hi.sent(),hi.label=9;case 9:return ue++,[3,7];case 10:et=0,qe=f.nonPositionedFloats,hi.label=11;case 11:return et<qe.length?(vi=qe[et],[4,this.renderStack(vi)]):[3,14];case 12:hi.sent(),hi.label=13;case 13:return et++,[3,11];case 14:Lt=0,jt=f.nonPositionedInlineLevel,hi.label=15;case 15:return Lt<jt.length?(vi=jt[Lt],[4,this.renderStack(vi)]):[3,18];case 16:hi.sent(),hi.label=17;case 17:return Lt++,[3,15];case 18:Gt=0,_n=f.inlineLevel,hi.label=19;case 19:return Gt<_n.length?(vi=_n[Gt],[4,this.renderNode(vi)]):[3,22];case 20:hi.sent(),hi.label=21;case 21:return Gt++,[3,19];case 22:ci=0,gr=f.zeroOrAutoZIndexOrTransformedOrOpacity,hi.label=23;case 23:return ci<gr.length?(vi=gr[ci],[4,this.renderStack(vi)]):[3,26];case 24:hi.sent(),hi.label=25;case 25:return ci++,[3,23];case 26:$r=0,Ao=f.positiveZIndex,hi.label=27;case 27:return $r<Ao.length?(vi=Ao[$r],[4,this.renderStack(vi)]):[3,30];case 28:hi.sent(),hi.label=29;case 29:return $r++,[3,27];case 30:return[2]}})})},o.prototype.mask=function(f){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(f.slice(0).reverse()),this.ctx.closePath()},o.prototype.path=function(f){this.ctx.beginPath(),this.formatPath(f),this.ctx.closePath()},o.prototype.formatPath=function(f){var d=this;f.forEach(function(z,ue){var Ne=gl(z)?z.start:z;ue===0?d.ctx.moveTo(Ne.x,Ne.y):d.ctx.lineTo(Ne.x,Ne.y),gl(z)&&d.ctx.bezierCurveTo(z.startControl.x,z.startControl.y,z.endControl.x,z.endControl.y,z.end.x,z.end.y)})},o.prototype.renderRepeat=function(f,d,z,ue){this.path(f),this.ctx.fillStyle=d,this.ctx.translate(z,ue),this.ctx.fill(),this.ctx.translate(-z,-ue)},o.prototype.resizeImage=function(f,d,z){var ue;if(f.width===d&&f.height===z)return f;var Ne=(ue=this.canvas.ownerDocument)!==null&&ue!==void 0?ue:document,et=Ne.createElement("canvas");et.width=Math.max(1,d),et.height=Math.max(1,z);var qe=et.getContext("2d");return qe.drawImage(f,0,0,f.width,f.height,0,0,d,z),et},o.prototype.renderBackgroundImage=function(f){return fe(this,void 0,void 0,function(){var d,z,ue,Ne,et,qe;return H(this,function(Lt){switch(Lt.label){case 0:d=f.styles.backgroundImage.length-1,z=function(jt){var Gt,_n,ci,Dr,Es,Rs,Ia,ns,Uo,gr,Dr,Es,Rs,Ia,ns,$r,Ao,vi,hi,qi,yo,zi,ti,Go,Uo,eo,Dr,Ws,ll,Ia,ns,bc,Es,Rs,yu,ml,Bc,wu,Wc,Xl,Vc,Cc;return H(this,function(td){switch(td.label){case 0:if(jt.type!==0)return[3,5];Gt=void 0,_n=jt.url,td.label=1;case 1:return td.trys.push([1,3,,4]),[4,ue.context.cache.match(_n)];case 2:return Gt=td.sent(),[3,4];case 3:return td.sent(),ue.context.logger.error("Error loading background-image "+_n),[3,4];case 4:return Gt&&(ci=Vl(f,d,[Gt.width,Gt.height,Gt.width/Gt.height]),Dr=ci[0],Es=ci[1],Rs=ci[2],Ia=ci[3],ns=ci[4],Uo=ue.ctx.createPattern(ue.resizeImage(Gt,Ia,ns),"repeat"),ue.renderRepeat(Dr,Uo,Es,Rs)),[3,6];case 5:xl(jt)?(gr=Vl(f,d,[null,null,null]),Dr=gr[0],Es=gr[1],Rs=gr[2],Ia=gr[3],ns=gr[4],$r=Du(jt.angle,Ia,ns),Ao=$r[0],vi=$r[1],hi=$r[2],qi=$r[3],yo=$r[4],zi=document.createElement("canvas"),zi.width=Ia,zi.height=ns,ti=zi.getContext("2d"),Go=ti.createLinearGradient(vi,qi,hi,yo),Pu(jt.stops,Ao).forEach(function(Gc){return Go.addColorStop(Gc.stop,Yo(Gc.color))}),ti.fillStyle=Go,ti.fillRect(0,0,Ia,ns),Ia>0&&ns>0&&(Uo=ue.ctx.createPattern(zi,"repeat"),ue.renderRepeat(Dr,Uo,Es,Rs))):ih(jt)&&(eo=Vl(f,d,[null,null,null]),Dr=eo[0],Ws=eo[1],ll=eo[2],Ia=eo[3],ns=eo[4],bc=jt.position.length===0?[fl]:jt.position,Es=xo(bc[0],Ia),Rs=xo(bc[bc.length-1],ns),yu=Qa(jt,Es,Rs,Ia,ns),ml=yu[0],Bc=yu[1],ml>0&&Bc>0&&(wu=ue.ctx.createRadialGradient(Ws+Es,ll+Rs,0,Ws+Es,ll+Rs,ml),Pu(jt.stops,ml*2).forEach(function(Gc){return wu.addColorStop(Gc.stop,Yo(Gc.color))}),ue.path(Dr),ue.ctx.fillStyle=wu,ml!==Bc?(Wc=f.bounds.left+.5*f.bounds.width,Xl=f.bounds.top+.5*f.bounds.height,Vc=Bc/ml,Cc=1/Vc,ue.ctx.save(),ue.ctx.translate(Wc,Xl),ue.ctx.transform(1,0,0,Vc,0,0),ue.ctx.translate(-Wc,-Xl),ue.ctx.fillRect(Ws,Cc*(ll-Xl)+Xl,Ia,ns*Cc),ue.ctx.restore()):ue.ctx.fill())),td.label=6;case 6:return d--,[2]}})},ue=this,Ne=0,et=f.styles.backgroundImage.slice(0).reverse(),Lt.label=1;case 1:return Ne<et.length?(qe=et[Ne],[5,z(qe)]):[3,4];case 2:Lt.sent(),Lt.label=3;case 3:return Ne++,[3,1];case 4:return[2]}})})},o.prototype.renderSolidBorder=function(f,d,z){return fe(this,void 0,void 0,function(){return H(this,function(ue){return this.path(cs(z,d)),this.ctx.fillStyle=Yo(f),this.ctx.fill(),[2]})})},o.prototype.renderDoubleBorder=function(f,d,z,ue){return fe(this,void 0,void 0,function(){var Ne,et;return H(this,function(qe){switch(qe.label){case 0:return d<3?[4,this.renderSolidBorder(f,z,ue)]:[3,2];case 1:return qe.sent(),[2];case 2:return Ne=Cs(ue,z),this.path(Ne),this.ctx.fillStyle=Yo(f),this.ctx.fill(),et=xs(ue,z),this.path(et),this.ctx.fill(),[2]}})})},o.prototype.renderNodeBackgroundAndBorders=function(f){return fe(this,void 0,void 0,function(){var d,z,ue,Ne,et,qe,Lt,jt,Gt=this;return H(this,function(_n){switch(_n.label){case 0:return this.applyEffects(f.getEffects(2)),d=f.container.styles,z=!na(d.backgroundColor)||d.backgroundImage.length,ue=[{style:d.borderTopStyle,color:d.borderTopColor,width:d.borderTopWidth},{style:d.borderRightStyle,color:d.borderRightColor,width:d.borderRightWidth},{style:d.borderBottomStyle,color:d.borderBottomColor,width:d.borderBottomWidth},{style:d.borderLeftStyle,color:d.borderLeftColor,width:d.borderLeftWidth}],Ne=vu(Fl(d.backgroundClip,0),f.curves),z||d.boxShadow.length?(this.ctx.save(),this.path(Ne),this.ctx.clip(),na(d.backgroundColor)||(this.ctx.fillStyle=Yo(d.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(f.container)]):[3,2];case 1:_n.sent(),this.ctx.restore(),d.boxShadow.slice(0).reverse().forEach(function(ci){Gt.ctx.save();var gr=jf(f.curves),$r=ci.inset?0:Fi,Ao=P0(gr,-$r+(ci.inset?1:-1)*ci.spread.number,(ci.inset?1:-1)*ci.spread.number,ci.spread.number*(ci.inset?-2:2),ci.spread.number*(ci.inset?-2:2));ci.inset?(Gt.path(gr),Gt.ctx.clip(),Gt.mask(Ao)):(Gt.mask(gr),Gt.ctx.clip(),Gt.path(Ao)),Gt.ctx.shadowOffsetX=ci.offsetX.number+$r,Gt.ctx.shadowOffsetY=ci.offsetY.number,Gt.ctx.shadowColor=Yo(ci.color),Gt.ctx.shadowBlur=ci.blur.number,Gt.ctx.fillStyle=ci.inset?Yo(ci.color):"rgba(0,0,0,1)",Gt.ctx.fill(),Gt.ctx.restore()}),_n.label=2;case 2:et=0,qe=0,Lt=ue,_n.label=3;case 3:return qe<Lt.length?(jt=Lt[qe],jt.style!==0&&!na(jt.color)&&jt.width>0?jt.style!==2?[3,5]:[4,this.renderDashedDottedBorder(jt.color,jt.width,et,f.curves,2)]:[3,11]):[3,13];case 4:return _n.sent(),[3,11];case 5:return jt.style!==3?[3,7]:[4,this.renderDashedDottedBorder(jt.color,jt.width,et,f.curves,3)];case 6:return _n.sent(),[3,11];case 7:return jt.style!==4?[3,9]:[4,this.renderDoubleBorder(jt.color,jt.width,et,f.curves)];case 8:return _n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(jt.color,et,f.curves)];case 10:_n.sent(),_n.label=11;case 11:et++,_n.label=12;case 12:return qe++,[3,3];case 13:return[2]}})})},o.prototype.renderDashedDottedBorder=function(f,d,z,ue,Ne){return fe(this,void 0,void 0,function(){var et,qe,Lt,jt,Gt,_n,ci,gr,$r,Ao,vi,hi,qi,yo,zi,ti,zi,ti;return H(this,function(Go){return this.ctx.save(),et=D0(ue,z),qe=cs(ue,z),Ne===2&&(this.path(qe),this.ctx.clip()),gl(qe[0])?(Lt=qe[0].start.x,jt=qe[0].start.y):(Lt=qe[0].x,jt=qe[0].y),gl(qe[1])?(Gt=qe[1].end.x,_n=qe[1].end.y):(Gt=qe[1].x,_n=qe[1].y),z===0||z===2?ci=Math.abs(Lt-Gt):ci=Math.abs(jt-_n),this.ctx.beginPath(),Ne===3?this.formatPath(et):this.formatPath(qe.slice(0,2)),gr=d<3?d*3:d*2,$r=d<3?d*2:d,Ne===3&&(gr=d,$r=d),Ao=!0,ci<=gr*2?Ao=!1:ci<=gr*2+$r?(vi=ci/(2*gr+$r),gr*=vi,$r*=vi):(hi=Math.floor((ci+$r)/(gr+$r)),qi=(ci-hi*gr)/(hi-1),yo=(ci-(hi+1)*gr)/hi,$r=yo<=0||Math.abs($r-qi)<Math.abs($r-yo)?qi:yo),Ao&&(Ne===3?this.ctx.setLineDash([0,gr+$r]):this.ctx.setLineDash([gr,$r])),Ne===3?(this.ctx.lineCap="round",this.ctx.lineWidth=d):this.ctx.lineWidth=d*2+1.1,this.ctx.strokeStyle=Yo(f),this.ctx.stroke(),this.ctx.setLineDash([]),Ne===2&&(gl(qe[0])&&(zi=qe[3],ti=qe[0],this.ctx.beginPath(),this.formatPath([new li(zi.end.x,zi.end.y),new li(ti.start.x,ti.start.y)]),this.ctx.stroke()),gl(qe[1])&&(zi=qe[1],ti=qe[2],this.ctx.beginPath(),this.formatPath([new li(zi.end.x,zi.end.y),new li(ti.start.x,ti.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]})})},o.prototype.render=function(f){return fe(this,void 0,void 0,function(){var d;return H(this,function(z){switch(z.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=Yo(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),d=Bs(f),[4,this.renderStack(d)];case 1:return z.sent(),this.applyEffects([]),[2,this.canvas]}})})},o}(zc),Oh=function(c){return c instanceof dh||c instanceof c0?!0:c instanceof Pd&&c.type!==Lf&&c.type!==Nf},vu=function(c,o){switch(c){case 0:return jf(o);case 2:return Ng(o);case 1:default:return xh(o)}},ed=function(c){switch(c){case 1:return"center";case 2:return"right";case 0:default:return"left"}},vo=["-apple-system","system-ui"],Zc=function(c){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?c.filter(function(o){return vo.indexOf(o)===-1}):c},Zs=function(c){h(o,c);function o(f,d){var z=c.call(this,f,d)||this;return z.canvas=d.canvas?d.canvas:document.createElement("canvas"),z.ctx=z.canvas.getContext("2d"),z.options=d,z.canvas.width=Math.floor(d.width*d.scale),z.canvas.height=Math.floor(d.height*d.scale),z.canvas.style.width=d.width+"px",z.canvas.style.height=d.height+"px",z.ctx.scale(z.options.scale,z.options.scale),z.ctx.translate(-d.x,-d.y),z.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+d.width+"x"+d.height+" at "+d.x+","+d.y+") with scale "+d.scale),z}return o.prototype.render=function(f){return fe(this,void 0,void 0,function(){var d,z;return H(this,function(ue){switch(ue.label){case 0:return d=hu(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,f),[4,M0(d)];case 1:return z=ue.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=Yo(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(z,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}})})},o}(zc),M0=function(c){return new Promise(function(o,f){var d=new Image;d.onload=function(){o(d)},d.onerror=f,d.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(c))})},Gl=function(){function c(o){var f=o.id,d=o.enabled;this.id=f,this.enabled=d,this.start=Date.now()}return c.prototype.debug=function(){for(var o=[],f=0;f<arguments.length;f++)o[f]=arguments[f];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.debug=="function"?console.debug.apply(console,be([this.id,this.getTime()+"ms"],o)):this.info.apply(this,o))},c.prototype.getTime=function(){return Date.now()-this.start},c.prototype.info=function(){for(var o=[],f=0;f<arguments.length;f++)o[f]=arguments[f];this.enabled&&typeof window!="undefined"&&window.console&&typeof console.info=="function"&&console.info.apply(console,be([this.id,this.getTime()+"ms"],o))},c.prototype.warn=function(){for(var o=[],f=0;f<arguments.length;f++)o[f]=arguments[f];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.warn=="function"?console.warn.apply(console,be([this.id,this.getTime()+"ms"],o)):this.info.apply(this,o))},c.prototype.error=function(){for(var o=[],f=0;f<arguments.length;f++)o[f]=arguments[f];this.enabled&&(typeof window!="undefined"&&window.console&&typeof console.error=="function"?console.error.apply(console,be([this.id,this.getTime()+"ms"],o)):this.info.apply(this,o))},c.instances={},c}(),$p=function(){function c(o,f){var d;this.windowBounds=f,this.instanceName="#"+c.instanceCount++,this.logger=new Gl({id:this.instanceName,enabled:o.logging}),this.cache=(d=o.cache)!==null&&d!==void 0?d:new Al(this,o)}return c.instanceCount=1,c}(),kp=function(c,o){return o===void 0&&(o={}),Kp(c,o)};typeof window!="undefined"&&_0.setContext(window);var Kp=function(c,o){return fe(void 0,void 0,void 0,function(){var f,d,z,ue,Ne,et,qe,Lt,jt,Gt,_n,ci,gr,$r,Ao,vi,hi,qi,yo,zi,Go,ti,Go,Uo,eo,Dr,Ws,ll,Ia,ns,bc,Es,Rs,yu,ml,Bc,wu,Wc,Xl,Vc;return H(this,function(Cc){switch(Cc.label){case 0:if(!c||typeof c!="object")return[2,Promise.reject("Invalid element provided as first argument")];if(f=c.ownerDocument,!f)throw new Error("Element is not attached to a Document");if(d=f.defaultView,!d)throw new Error("Document is not attached to a Window");return z={allowTaint:(Uo=o.allowTaint)!==null&&Uo!==void 0?Uo:!1,imageTimeout:(eo=o.imageTimeout)!==null&&eo!==void 0?eo:15e3,proxy:o.proxy,useCORS:(Dr=o.useCORS)!==null&&Dr!==void 0?Dr:!1},ue=ye({logging:(Ws=o.logging)!==null&&Ws!==void 0?Ws:!0,cache:o.cache},z),Ne={windowWidth:(ll=o.windowWidth)!==null&&ll!==void 0?ll:d.innerWidth,windowHeight:(Ia=o.windowHeight)!==null&&Ia!==void 0?Ia:d.innerHeight,scrollX:(ns=o.scrollX)!==null&&ns!==void 0?ns:d.pageXOffset,scrollY:(bc=o.scrollY)!==null&&bc!==void 0?bc:d.pageYOffset},et=new R(Ne.scrollX,Ne.scrollY,Ne.windowWidth,Ne.windowHeight),qe=new $p(ue,et),Lt=(Es=o.foreignObjectRendering)!==null&&Es!==void 0?Es:!1,jt={allowTaint:(Rs=o.allowTaint)!==null&&Rs!==void 0?Rs:!1,onclone:o.onclone,ignoreElements:o.ignoreElements,inlineImages:Lt,copyStyles:Lt},qe.logger.debug("Starting document clone with size "+et.width+"x"+et.height+" scrolled to "+-et.left+","+-et.top),Gt=new Qp(qe,c,jt),_n=Gt.clonedReferenceElement,_n?[4,Gt.toIFrame(f,et)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return ci=Cc.sent(),gr=hh(_n)||Op(_n)?v(_n.ownerDocument):$(qe,_n),$r=gr.width,Ao=gr.height,vi=gr.left,hi=gr.top,qi=UA(qe,_n,o.backgroundColor),yo={canvas:o.canvas,backgroundColor:qi,scale:(ml=(yu=o.scale)!==null&&yu!==void 0?yu:d.devicePixelRatio)!==null&&ml!==void 0?ml:1,x:((Bc=o.x)!==null&&Bc!==void 0?Bc:0)+vi,y:((wu=o.y)!==null&&wu!==void 0?wu:0)+hi,width:(Wc=o.width)!==null&&Wc!==void 0?Wc:Math.ceil($r),height:(Xl=o.height)!==null&&Xl!==void 0?Xl:Math.ceil(Ao)},Lt?(qe.logger.debug("Document cloned, using foreign object rendering"),Go=new Zs(qe,yo),[4,Go.render(_n)]):[3,3];case 2:return zi=Cc.sent(),[3,5];case 3:return qe.logger.debug("Document cloned, element located at "+vi+","+hi+" with size "+$r+"x"+Ao+" using computed rendering"),qe.logger.debug("Starting DOM parsing"),ti=f0(qe,_n),qi===ti.styles.backgroundColor&&(ti.styles.backgroundColor=tA.TRANSPARENT),qe.logger.debug("Starting renderer for element at "+yo.x+","+yo.y+" with size "+yo.width+"x"+yo.height),Go=new xA(qe,yo),[4,Go.render(ti)];case 4:zi=Cc.sent(),Cc.label=5;case 5:return(!((Vc=o.removeContainer)!==null&&Vc!==void 0)||Vc)&&(Qp.destroy(ci)||qe.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),qe.logger.debug("Finished rendering"),[2,zi]}})})},UA=function(c,o,f){var d=o.ownerDocument,z=d.documentElement?tl(c,getComputedStyle(d.documentElement).backgroundColor):tA.TRANSPARENT,ue=d.body?tl(c,getComputedStyle(d.body).backgroundColor):tA.TRANSPARENT,Ne=typeof f=="string"?tl(c,f):f===null?tA.TRANSPARENT:4294967295;return o===d.documentElement?na(z)?na(ue)?Ne:ue:z:Ne};return kp})},44164:function(tr,Ct,h){var ye=h(97671);(function(H,be){tr.exports=be(h(65355),h(64270))})(self,function(fe,H){return function(){var be={"./src/plugin/hyperlinks.js":function(m,N,s){"use strict";s.r(N);var L=s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),S=s.n(L),w=s("./node_modules/core-js/modules/es.string.link.js"),x=s.n(w),_=s("./src/worker.js"),B=s("./src/utils.js"),W=[],Q={toContainer:_.default.prototype.toContainer,toPdf:_.default.prototype.toPdf};_.default.prototype.toContainer=function(){return Q.toContainer.call(this).then(function(){if(this.opt.enableLinks){var G=this.prop.container,D=G.querySelectorAll("a"),O=(0,B.unitConvert)(G.getBoundingClientRect(),this.prop.pageSize.k);W=[],Array.prototype.forEach.call(D,function(J){for(var K=J.getClientRects(),le=0;le<K.length;le++){var ae=(0,B.unitConvert)(K[le],this.prop.pageSize.k);ae.left-=O.left,ae.top-=O.top;var he=Math.floor(ae.top/this.prop.pageSize.inner.height)+1,k=this.opt.margin[0]+ae.top%this.prop.pageSize.inner.height,Ue=this.opt.margin[1]+ae.left;W.push({page:he,top:k,left:Ue,clientRect:ae,link:J})}},this)}})},_.default.prototype.toPdf=function(){return Q.toPdf.call(this).then(function(){if(this.opt.enableLinks){W.forEach(function(D){this.prop.pdf.setPage(D.page),this.prop.pdf.link(D.left,D.top,D.clientRect.width,D.clientRect.height,{url:D.link.href})},this);var G=this.prop.pdf.internal.getNumberOfPages();this.prop.pdf.setPage(G)}})}},"./src/plugin/jspdf-plugin.js":function(m,N,s){"use strict";s.r(N);var L=s("./node_modules/core-js/modules/es.symbol.js"),S=s.n(L),w=s("./node_modules/core-js/modules/es.symbol.description.js"),x=s.n(w),_=s("./node_modules/core-js/modules/es.object.to-string.js"),B=s.n(_),W=s("./node_modules/core-js/modules/es.symbol.iterator.js"),Q=s.n(W),q=s("./node_modules/core-js/modules/es.array.iterator.js"),Y=s.n(q),G=s("./node_modules/core-js/modules/es.string.iterator.js"),D=s.n(G),O=s("./node_modules/core-js/modules/web.dom-collections.iterator.js"),J=s.n(O),K=s("jspdf"),le=s.n(K);function ae(he){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(Ue){return typeof Ue}:ae=function(Ue){return Ue&&typeof Symbol=="function"&&Ue.constructor===Symbol&&Ue!==Symbol.prototype?"symbol":typeof Ue},ae(he)}K.jsPDF.getPageSize=function(he,k,Ue){if(ae(he)==="object"){var F=he;he=F.orientation,k=F.unit||k,Ue=F.format||Ue}k=k||"mm",Ue=Ue||"a4",he=(""+(he||"P")).toLowerCase();var De=(""+Ue).toLowerCase(),we={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(k){case"pt":var de=1;break;case"mm":var de=72/25.4;break;case"cm":var de=72/2.54;break;case"in":var de=72;break;case"px":var de=72/96;break;case"pc":var de=12;break;case"em":var de=12;break;case"ex":var de=6;break;default:throw"Invalid unit: "+k}if(we.hasOwnProperty(De))var Be=we[De][1]/de,ne=we[De][0]/de;else try{var Be=Ue[1],ne=Ue[0]}catch(se){throw new Error("Invalid format: "+Ue)}if(he==="p"||he==="portrait"){if(he="p",ne>Be){var ve=ne;ne=Be,Be=ve}}else if(he==="l"||he==="landscape"){if(he="l",Be>ne){var ve=ne;ne=Be,Be=ve}}else throw"Invalid orientation: "+he;var ee={width:ne,height:Be,unit:k,k:de};return ee},N.default=K.jsPDF},"./src/plugin/pagebreaks.js":function(m,N,s){"use strict";s.r(N);var L=s("./node_modules/core-js/modules/es.array.concat.js"),S=s.n(L),w=s("./node_modules/core-js/modules/es.array.slice.js"),x=s.n(w),_=s("./node_modules/core-js/modules/es.array.join.js"),B=s.n(_),W=s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),Q=s.n(W),q=s("./node_modules/core-js/modules/es.object.keys.js"),Y=s.n(q),G=s("./src/worker.js"),D=s("./src/utils.js"),O={toContainer:G.default.prototype.toContainer};G.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},G.default.prototype.toContainer=function(){return O.toContainer.call(this).then(function(){var le=this.prop.container,ae=this.prop.pageSize.inner.px.height,he=[].concat(this.opt.pagebreak.mode),k={avoidAll:he.indexOf("avoid-all")!==-1,css:he.indexOf("css")!==-1,legacy:he.indexOf("legacy")!==-1},Ue={},F=this;["before","after","avoid"].forEach(function(de){var Be=k.avoidAll&&de==="avoid";Ue[de]=Be?[]:[].concat(F.opt.pagebreak[de]||[]),Ue[de].length>0&&(Ue[de]=Array.prototype.slice.call(le.querySelectorAll(Ue[de].join(", "))))});var De=le.querySelectorAll(".html2pdf__page-break");De=Array.prototype.slice.call(De);var we=le.querySelectorAll("*");Array.prototype.forEach.call(we,function(Be){var ne={before:!1,after:k.legacy&&De.indexOf(Be)!==-1,avoid:k.avoidAll};if(k.css){var ve=window.getComputedStyle(Be),ee=["always","page","left","right"],se=["avoid","avoid-page"];ne={before:ne.before||ee.indexOf(ve.breakBefore||ve.pageBreakBefore)!==-1,after:ne.after||ee.indexOf(ve.breakAfter||ve.pageBreakAfter)!==-1,avoid:ne.avoid||se.indexOf(ve.breakInside||ve.pageBreakInside)!==-1}}Object.keys(ne).forEach(function(Ot){ne[Ot]=ne[Ot]||Ue[Ot].indexOf(Be)!==-1});var je=Be.getBoundingClientRect();if(ne.avoid&&!ne.before){var Pe=Math.floor(je.top/ae),Oe=Math.floor(je.bottom/ae),ut=Math.abs(je.bottom-je.top)/ae;Oe!==Pe&&ut<=1&&(ne.before=!0)}if(ne.before){var mt=(0,D.createElement)("div",{style:{display:"block",height:ae-je.top%ae+"px"}});Be.parentNode.insertBefore(mt,Be)}if(ne.after){var mt=(0,D.createElement)("div",{style:{display:"block",height:ae-je.bottom%ae+"px"}});Be.parentNode.insertBefore(mt,Be.nextSibling)}})})}},"./src/utils.js":function(m,N,s){"use strict";s.r(N),s.d(N,{objType:function(){return he},createElement:function(){return k},cloneNode:function(){return Ue},unitConvert:function(){return F},toPx:function(){return De}});var L=s("./node_modules/core-js/modules/es.number.constructor.js"),S=s.n(L),w=s("./node_modules/core-js/modules/es.symbol.js"),x=s.n(w),_=s("./node_modules/core-js/modules/es.symbol.description.js"),B=s.n(_),W=s("./node_modules/core-js/modules/es.object.to-string.js"),Q=s.n(W),q=s("./node_modules/core-js/modules/es.symbol.iterator.js"),Y=s.n(q),G=s("./node_modules/core-js/modules/es.array.iterator.js"),D=s.n(G),O=s("./node_modules/core-js/modules/es.string.iterator.js"),J=s.n(O),K=s("./node_modules/core-js/modules/web.dom-collections.iterator.js"),le=s.n(K);function ae(we){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(Be){return typeof Be}:ae=function(Be){return Be&&typeof Symbol=="function"&&Be.constructor===Symbol&&Be!==Symbol.prototype?"symbol":typeof Be},ae(we)}var he=function(de){var Be=ae(de);return Be==="undefined"?"undefined":Be==="string"||de instanceof String?"string":Be==="number"||de instanceof Number?"number":Be==="function"||de instanceof Function?"function":de&&de.constructor===Array?"array":de&&de.nodeType===1?"element":Be==="object"?"object":"unknown"},k=function(de,Be){var ne=document.createElement(de);if(Be.className&&(ne.className=Be.className),Be.innerHTML){ne.innerHTML=Be.innerHTML;for(var ve=ne.getElementsByTagName("script"),ee=ve.length;ee-- >0;null)ve[ee].parentNode.removeChild(ve[ee])}for(var se in Be.style)ne.style[se]=Be.style[se];return ne},Ue=function we(de,Be){for(var ne=de.nodeType===3?document.createTextNode(de.nodeValue):de.cloneNode(!1),ve=de.firstChild;ve;ve=ve.nextSibling)(Be===!0||ve.nodeType!==1||ve.nodeName!=="SCRIPT")&&ne.appendChild(we(ve,Be));return de.nodeType===1&&(de.nodeName==="CANVAS"?(ne.width=de.width,ne.height=de.height,ne.getContext("2d").drawImage(de,0,0)):(de.nodeName==="TEXTAREA"||de.nodeName==="SELECT")&&(ne.value=de.value),ne.addEventListener("load",function(){ne.scrollTop=de.scrollTop,ne.scrollLeft=de.scrollLeft},!0)),ne},F=function(de,Be){if(he(de)==="number")return de*72/96/Be;var ne={};for(var ve in de)ne[ve]=de[ve]*72/96/Be;return ne},De=function(de,Be){return Math.floor(de*Be/72*96)}},"./src/worker.js":function(m,N,s){"use strict";s.r(N);var L=s("./node_modules/core-js/modules/es.object.assign.js"),S=s.n(L),w=s("./node_modules/core-js/modules/es.array.map.js"),x=s.n(w),_=s("./node_modules/core-js/modules/es.object.keys.js"),B=s.n(_),W=s("./node_modules/core-js/modules/es.array.concat.js"),Q=s.n(W),q=s("./node_modules/core-js/modules/es.object.to-string.js"),Y=s.n(q),G=s("./node_modules/core-js/modules/es.regexp.to-string.js"),D=s.n(G),O=s("./node_modules/core-js/modules/es.function.name.js"),J=s.n(O),K=s("./node_modules/core-js/modules/web.dom-collections.for-each.js"),le=s.n(K),ae=s("jspdf"),he=s.n(ae),k=s("html2canvas"),Ue=s.n(k),F=s("./src/utils.js"),De=s("./node_modules/es6-promise/dist/es6-promise.js"),we=s.n(De),de=we().Promise,Be=function ne(ve){var ee=Object.assign(ne.convert(de.resolve()),JSON.parse(JSON.stringify(ne.template))),se=ne.convert(de.resolve(),ee);return se=se.setProgress(1,ne,1,[ne]),se=se.set(ve),se};Be.prototype=Object.create(de.prototype),Be.prototype.constructor=Be,Be.convert=function(ve,ee){return ve.__proto__=ee||Be.prototype,ve},Be.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:{}}},Be.prototype.from=function(ve,ee){function se(je){switch((0,F.objType)(je)){case"string":return"string";case"element":return je.nodeName.toLowerCase&&je.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(ee=ee||se(ve),ee){case"string":return this.set({src:(0,F.createElement)("div",{innerHTML:ve})});case"element":return this.set({src:ve});case"canvas":return this.set({canvas:ve});case"img":return this.set({img:ve});default:return this.error("Unknown source type.")}})},Be.prototype.to=function(ve){switch(ve){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.")}},Be.prototype.toContainer=function(){var ve=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(ve).then(function(){var se={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},je={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};se.opacity=0;var Pe=(0,F.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,F.createElement)("div",{className:"html2pdf__overlay",style:se}),this.prop.container=(0,F.createElement)("div",{className:"html2pdf__container",style:je}),this.prop.container.appendChild(Pe),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},Be.prototype.toCanvas=function(){var ve=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(ve).then(function(){var se=Object.assign({},this.opt.html2canvas);return delete se.onrendered,k(this.prop.container,se)}).then(function(se){var je=this.opt.html2canvas.onrendered||function(){};je(se),this.prop.canvas=se,document.body.removeChild(this.prop.overlay)})},Be.prototype.toImg=function(){var ve=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(ve).then(function(){var se=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=se})},Be.prototype.toPdf=function(){var ve=[function(){return this.prop.canvas||this.toCanvas()},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(ve).then(function(){var se=this.prop.canvas,je=this.opt,Pe=se.height,Oe=Math.floor(se.width*this.prop.pageSize.inner.ratio),ut=Math.ceil(Pe/Oe),mt=this.prop.pageSize.inner.height,Ot=document.createElement("canvas"),Ee=Ot.getContext("2d");Ot.width=se.width,Ot.height=Oe,this.prop.pdf=this.prop.pdf||new ae.jsPDF(je.jsPDF);for(var kt=0;kt<ut;kt++){kt===ut-1&&Pe%Oe!==0&&(Ot.height=Pe%Oe,mt=Ot.height*this.prop.pageSize.inner.width/Ot.width);var Rt=Ot.width,on=Ot.height;Ee.fillStyle="white",Ee.fillRect(0,0,Rt,on),Ee.drawImage(se,0,kt*Oe,Rt,on,0,0,Rt,on),kt&&this.prop.pdf.addPage();var Mt=Ot.toDataURL("image/"+je.image.type,je.image.quality);this.prop.pdf.addImage(Mt,je.image.type,je.margin[1],je.margin[0],this.prop.pageSize.inner.width,mt)}})},Be.prototype.output=function(ve,ee,se){return se=se||"pdf",se.toLowerCase()==="img"||se.toLowerCase()==="image"?this.outputImg(ve,ee):this.outputPdf(ve,ee)},Be.prototype.outputPdf=function(ve,ee){var se=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(se).then(function(){return this.prop.pdf.output(ve,ee)})},Be.prototype.outputImg=function(ve,ee){var se=[function(){return this.prop.img||this.toImg()}];return this.thenList(se).then(function(){switch(ve){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 "'+ve+'" is not supported.'}})},Be.prototype.save=function(ve){var ee=[function(){return this.prop.pdf||this.toPdf()}];return this.thenList(ee).set(ve?{filename:ve}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},Be.prototype.set=function(ve){if((0,F.objType)(ve)!=="object")return this;var ee=Object.keys(ve||{}).map(function(se){switch(se){case"margin":return this.setMargin.bind(this,ve.margin);case"jsPDF":return function(){return this.opt.jsPDF=ve.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,ve.pageSize);default:return se in Be.template.prop?function(){this.prop[se]=ve[se]}:function(){this.opt[se]=ve[se]}}},this);return this.then(function(){return this.thenList(ee)})},Be.prototype.get=function(ve,ee){return this.then(function(){var je=ve in Be.template.prop?this.prop[ve]:this.opt[ve];return ee?ee(je):je})},Be.prototype.setMargin=function(ve){return this.then(function(){switch((0,F.objType)(ve)){case"number":ve=[ve,ve,ve,ve];case"array":if(ve.length===2&&(ve=[ve[0],ve[1],ve[0],ve[1]]),ve.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=ve}).then(this.setPageSize)},Be.prototype.setPageSize=function(ve){return this.then(function(){ve=ve||ae.jsPDF.getPageSize(this.opt.jsPDF),ve.hasOwnProperty("inner")||(ve.inner={width:ve.width-this.opt.margin[1]-this.opt.margin[3],height:ve.height-this.opt.margin[0]-this.opt.margin[2]},ve.inner.px={width:(0,F.toPx)(ve.inner.width,ve.k),height:(0,F.toPx)(ve.inner.height,ve.k)},ve.inner.ratio=ve.inner.height/ve.inner.width),this.prop.pageSize=ve})},Be.prototype.setProgress=function(ve,ee,se,je){return ve!=null&&(this.progress.val=ve),ee!=null&&(this.progress.state=ee),se!=null&&(this.progress.n=se),je!=null&&(this.progress.stack=je),this.progress.ratio=this.progress.val/this.progress.state,this},Be.prototype.updateProgress=function(ve,ee,se,je){return this.setProgress(ve?this.progress.val+ve:null,ee||null,se?this.progress.n+se:null,je?this.progress.stack.concat(je):null)},Be.prototype.then=function(ve,ee){var se=this;return this.thenCore(ve,ee,function(Pe,Oe){return se.updateProgress(null,null,1,[Pe]),de.prototype.then.call(this,function(mt){return se.updateProgress(null,Pe),mt}).then(Pe,Oe).then(function(mt){return se.updateProgress(1),mt})})},Be.prototype.thenCore=function(ve,ee,se){se=se||de.prototype.then;var je=this;ve&&(ve=ve.bind(je)),ee&&(ee=ee.bind(je));var Pe=de.toString().indexOf("[native code]")!==-1&&de.name==="Promise",Oe=Pe?je:Be.convert(Object.assign({},je),de.prototype),ut=se.call(Oe,ve,ee);return Be.convert(ut,je.__proto__)},Be.prototype.thenExternal=function(ve,ee){return de.prototype.then.call(this,ve,ee)},Be.prototype.thenList=function(ve){var ee=this;return ve.forEach(function(je){ee=ee.thenCore(je)}),ee},Be.prototype.catch=function(ne){ne&&(ne=ne.bind(this));var ve=de.prototype.catch.call(this,ne);return Be.convert(ve,this)},Be.prototype.catchExternal=function(ve){return de.prototype.catch.call(this,ve)},Be.prototype.error=function(ve){return this.then(function(){throw new Error(ve)})},Be.prototype.using=Be.prototype.set,Be.prototype.saveAs=Be.prototype.save,Be.prototype.export=Be.prototype.output,Be.prototype.run=Be.prototype.then,N.default=Be},"./node_modules/core-js/internals/a-function.js":function(m){m.exports=function(N){if(typeof N!="function")throw TypeError(String(N)+" is not a function");return N}},"./node_modules/core-js/internals/a-possible-prototype.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-object.js");m.exports=function(S){if(!L(S)&&S!==null)throw TypeError("Can't set "+String(S)+" as a prototype");return S}},"./node_modules/core-js/internals/add-to-unscopables.js":function(m,N,s){var L=s("./node_modules/core-js/internals/well-known-symbol.js"),S=s("./node_modules/core-js/internals/object-create.js"),w=s("./node_modules/core-js/internals/object-define-property.js"),x=L("unscopables"),_=Array.prototype;_[x]==null&&w.f(_,x,{configurable:!0,value:S(null)}),m.exports=function(B){_[x][B]=!0}},"./node_modules/core-js/internals/an-object.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-object.js");m.exports=function(S){if(!L(S))throw TypeError(String(S)+" is not an object");return S}},"./node_modules/core-js/internals/array-for-each.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/array-iteration.js").forEach,S=s("./node_modules/core-js/internals/array-method-is-strict.js"),w=S("forEach");m.exports=w?[].forEach:function(_){return L(this,_,arguments.length>1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-indexed-object.js"),S=s("./node_modules/core-js/internals/to-length.js"),w=s("./node_modules/core-js/internals/to-absolute-index.js"),x=function(_){return function(B,W,Q){var q=L(B),Y=S(q.length),G=w(Q,Y),D;if(_&&W!=W){for(;Y>G;)if(D=q[G++],D!=D)return!0}else for(;Y>G;G++)if((_||G in q)&&q[G]===W)return _||G||0;return!_&&-1}};m.exports={includes:x(!0),indexOf:x(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(m,N,s){var L=s("./node_modules/core-js/internals/function-bind-context.js"),S=s("./node_modules/core-js/internals/indexed-object.js"),w=s("./node_modules/core-js/internals/to-object.js"),x=s("./node_modules/core-js/internals/to-length.js"),_=s("./node_modules/core-js/internals/array-species-create.js"),B=[].push,W=function(Q){var q=Q==1,Y=Q==2,G=Q==3,D=Q==4,O=Q==6,J=Q==7,K=Q==5||O;return function(le,ae,he,k){for(var Ue=w(le),F=S(Ue),De=L(ae,he,3),we=x(F.length),de=0,Be=k||_,ne=q?Be(le,we):Y||J?Be(le,0):void 0,ve,ee;we>de;de++)if((K||de in F)&&(ve=F[de],ee=De(ve,de,Ue),Q))if(q)ne[de]=ee;else if(ee)switch(Q){case 3:return!0;case 5:return ve;case 6:return de;case 2:B.call(ne,ve)}else switch(Q){case 4:return!1;case 7:B.call(ne,ve)}return O?-1:G||D?D:ne}};m.exports={forEach:W(0),map:W(1),filter:W(2),some:W(3),every:W(4),find:W(5),findIndex:W(6),filterReject:W(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(m,N,s){var L=s("./node_modules/core-js/internals/fails.js"),S=s("./node_modules/core-js/internals/well-known-symbol.js"),w=s("./node_modules/core-js/internals/engine-v8-version.js"),x=S("species");m.exports=function(_){return w>=51||!L(function(){var B=[],W=B.constructor={};return W[x]=function(){return{foo:1}},B[_](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/fails.js");m.exports=function(S,w){var x=[][S];return!!x&&L(function(){x.call(null,w||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-object.js"),S=s("./node_modules/core-js/internals/is-array.js"),w=s("./node_modules/core-js/internals/well-known-symbol.js"),x=w("species");m.exports=function(_){var B;return S(_)&&(B=_.constructor,typeof B=="function"&&(B===Array||S(B.prototype))?B=void 0:L(B)&&(B=B[x],B===null&&(B=void 0))),B===void 0?Array:B}},"./node_modules/core-js/internals/array-species-create.js":function(m,N,s){var L=s("./node_modules/core-js/internals/array-species-constructor.js");m.exports=function(S,w){return new(L(S))(w===0?0:w)}},"./node_modules/core-js/internals/classof-raw.js":function(m){var N={}.toString;m.exports=function(s){return N.call(s).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-string-tag-support.js"),S=s("./node_modules/core-js/internals/classof-raw.js"),w=s("./node_modules/core-js/internals/well-known-symbol.js"),x=w("toStringTag"),_=S(function(){return arguments}())=="Arguments",B=function(W,Q){try{return W[Q]}catch(q){}};m.exports=L?S:function(W){var Q,q,Y;return W===void 0?"Undefined":W===null?"Null":typeof(q=B(Q=Object(W),x))=="string"?q:_?S(Q):(Y=S(Q))=="Object"&&typeof Q.callee=="function"?"Arguments":Y}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(m,N,s){var L=s("./node_modules/core-js/internals/has.js"),S=s("./node_modules/core-js/internals/own-keys.js"),w=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),x=s("./node_modules/core-js/internals/object-define-property.js");m.exports=function(_,B){for(var W=S(B),Q=x.f,q=w.f,Y=0;Y<W.length;Y++){var G=W[Y];L(_,G)||Q(_,G,q(B,G))}}},"./node_modules/core-js/internals/correct-prototype-getter.js":function(m,N,s){var L=s("./node_modules/core-js/internals/fails.js");m.exports=!L(function(){function S(){}return S.prototype.constructor=null,Object.getPrototypeOf(new S)!==S.prototype})},"./node_modules/core-js/internals/create-html.js":function(m,N,s){var L=s("./node_modules/core-js/internals/require-object-coercible.js"),S=s("./node_modules/core-js/internals/to-string.js"),w=/"/g;m.exports=function(x,_,B,W){var Q=S(L(x)),q="<"+_;return B!==""&&(q+=" "+B+'="'+S(W).replace(w,""")+'"'),q+">"+Q+"</"+_+">"}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,S=s("./node_modules/core-js/internals/object-create.js"),w=s("./node_modules/core-js/internals/create-property-descriptor.js"),x=s("./node_modules/core-js/internals/set-to-string-tag.js"),_=s("./node_modules/core-js/internals/iterators.js"),B=function(){return this};m.exports=function(W,Q,q){var Y=Q+" Iterator";return W.prototype=S(L,{next:w(1,q)}),x(W,Y,!1,!0),_[Y]=B,W}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(m,N,s){var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/object-define-property.js"),w=s("./node_modules/core-js/internals/create-property-descriptor.js");m.exports=L?function(x,_,B){return S.f(x,_,w(1,B))}:function(x,_,B){return x[_]=B,x}},"./node_modules/core-js/internals/create-property-descriptor.js":function(m){m.exports=function(N,s){return{enumerable:!(N&1),configurable:!(N&2),writable:!(N&4),value:s}}},"./node_modules/core-js/internals/create-property.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/to-property-key.js"),S=s("./node_modules/core-js/internals/object-define-property.js"),w=s("./node_modules/core-js/internals/create-property-descriptor.js");m.exports=function(x,_,B){var W=L(_);W in x?S.f(x,W,w(0,B)):x[W]=B}},"./node_modules/core-js/internals/define-iterator.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/create-iterator-constructor.js"),w=s("./node_modules/core-js/internals/object-get-prototype-of.js"),x=s("./node_modules/core-js/internals/object-set-prototype-of.js"),_=s("./node_modules/core-js/internals/set-to-string-tag.js"),B=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),W=s("./node_modules/core-js/internals/redefine.js"),Q=s("./node_modules/core-js/internals/well-known-symbol.js"),q=s("./node_modules/core-js/internals/is-pure.js"),Y=s("./node_modules/core-js/internals/iterators.js"),G=s("./node_modules/core-js/internals/iterators-core.js"),D=G.IteratorPrototype,O=G.BUGGY_SAFARI_ITERATORS,J=Q("iterator"),K="keys",le="values",ae="entries",he=function(){return this};m.exports=function(k,Ue,F,De,we,de,Be){S(F,Ue,De);var ne=function(Ee){if(Ee===we&&Pe)return Pe;if(!O&&Ee in se)return se[Ee];switch(Ee){case K:return function(){return new F(this,Ee)};case le:return function(){return new F(this,Ee)};case ae:return function(){return new F(this,Ee)}}return function(){return new F(this)}},ve=Ue+" Iterator",ee=!1,se=k.prototype,je=se[J]||se["@@iterator"]||we&&se[we],Pe=!O&&je||ne(we),Oe=Ue=="Array"&&se.entries||je,ut,mt,Ot;if(Oe&&(ut=w(Oe.call(new k)),D!==Object.prototype&&ut.next&&(!q&&w(ut)!==D&&(x?x(ut,D):typeof ut[J]!="function"&&B(ut,J,he)),_(ut,ve,!0,!0),q&&(Y[ve]=he))),we==le&&je&&je.name!==le&&(ee=!0,Pe=function(){return je.call(this)}),(!q||Be)&&se[J]!==Pe&&B(se,J,Pe),Y[Ue]=Pe,we)if(mt={values:ne(le),keys:de?Pe:ne(K),entries:ne(ae)},Be)for(Ot in mt)(O||ee||!(Ot in se))&&W(se,Ot,mt[Ot]);else L({target:Ue,proto:!0,forced:O||ee},mt);return mt}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(m,N,s){var L=s("./node_modules/core-js/internals/path.js"),S=s("./node_modules/core-js/internals/has.js"),w=s("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),x=s("./node_modules/core-js/internals/object-define-property.js").f;m.exports=function(_){var B=L.Symbol||(L.Symbol={});S(B,_)||x(B,_,{value:w.f(_)})}},"./node_modules/core-js/internals/descriptors.js":function(m,N,s){var L=s("./node_modules/core-js/internals/fails.js");m.exports=!L(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/is-object.js"),w=L.document,x=S(w)&&S(w.createElement);m.exports=function(_){return x?w.createElement(_):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(m){m.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(m,N,s){var L=s("./node_modules/core-js/internals/get-built-in.js");m.exports=L("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/engine-user-agent.js"),w=L.process,x=L.Deno,_=w&&w.versions||x&&x.version,B=_&&_.v8,W,Q;B?(W=B.split("."),Q=W[0]<4?1:W[0]+W[1]):S&&(W=S.match(/Edge\/(\d+)/),(!W||W[1]>=74)&&(W=S.match(/Chrome\/(\d+)/),W&&(Q=W[1]))),m.exports=Q&&+Q},"./node_modules/core-js/internals/enum-bug-keys.js":function(m){m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,w=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),x=s("./node_modules/core-js/internals/redefine.js"),_=s("./node_modules/core-js/internals/set-global.js"),B=s("./node_modules/core-js/internals/copy-constructor-properties.js"),W=s("./node_modules/core-js/internals/is-forced.js");m.exports=function(Q,q){var Y=Q.target,G=Q.global,D=Q.stat,O,J,K,le,ae,he;if(G?J=L:D?J=L[Y]||_(Y,{}):J=(L[Y]||{}).prototype,J)for(K in q){if(ae=q[K],Q.noTargetGet?(he=S(J,K),le=he&&he.value):le=J[K],O=W(G?K:Y+(D?".":"#")+K,Q.forced),!O&&le!==void 0){if(typeof ae==typeof le)continue;B(ae,le)}(Q.sham||le&&le.sham)&&w(ae,"sham",!0),x(J,K,ae,Q)}}},"./node_modules/core-js/internals/fails.js":function(m){m.exports=function(N){try{return!!N()}catch(s){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(m,N,s){var L=s("./node_modules/core-js/internals/a-function.js");m.exports=function(S,w,x){if(L(S),w===void 0)return S;switch(x){case 0:return function(){return S.call(w)};case 1:return function(_){return S.call(w,_)};case 2:return function(_,B){return S.call(w,_,B)};case 3:return function(_,B,W){return S.call(w,_,B,W)}}return function(){return S.apply(w,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=function(w){return typeof w=="function"?w:void 0};m.exports=function(w,x){return arguments.length<2?S(L[w]):L[w]&&L[w][x]}},"./node_modules/core-js/internals/global.js":function(m){var N=function(s){return s&&s.Math==Math&&s};m.exports=N(typeof globalThis=="object"&&globalThis)||N(typeof window=="object"&&window)||N(typeof self=="object"&&self)||N(typeof h.g=="object"&&h.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-object.js"),S={}.hasOwnProperty;m.exports=Object.hasOwn||function(x,_){return S.call(L(x),_)}},"./node_modules/core-js/internals/hidden-keys.js":function(m){m.exports={}},"./node_modules/core-js/internals/html.js":function(m,N,s){var L=s("./node_modules/core-js/internals/get-built-in.js");m.exports=L("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(m,N,s){var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/fails.js"),w=s("./node_modules/core-js/internals/document-create-element.js");m.exports=!L&&!S(function(){return Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(m,N,s){var L=s("./node_modules/core-js/internals/fails.js"),S=s("./node_modules/core-js/internals/classof-raw.js"),w="".split;m.exports=L(function(){return!Object("z").propertyIsEnumerable(0)})?function(x){return S(x)=="String"?w.call(x,""):Object(x)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-object.js"),S=s("./node_modules/core-js/internals/object-set-prototype-of.js");m.exports=function(w,x,_){var B,W;return S&&typeof(B=x.constructor)=="function"&&B!==_&&L(W=B.prototype)&&W!==_.prototype&&S(w,W),w}},"./node_modules/core-js/internals/inspect-source.js":function(m,N,s){var L=s("./node_modules/core-js/internals/shared-store.js"),S=Function.toString;typeof L.inspectSource!="function"&&(L.inspectSource=function(w){return S.call(w)}),m.exports=L.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(m,N,s){var L=s("./node_modules/core-js/internals/native-weak-map.js"),S=s("./node_modules/core-js/internals/global.js"),w=s("./node_modules/core-js/internals/is-object.js"),x=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=s("./node_modules/core-js/internals/has.js"),B=s("./node_modules/core-js/internals/shared-store.js"),W=s("./node_modules/core-js/internals/shared-key.js"),Q=s("./node_modules/core-js/internals/hidden-keys.js"),q="Object already initialized",Y=S.WeakMap,G,D,O,J=function(F){return O(F)?D(F):G(F,{})},K=function(F){return function(De){var we;if(!w(De)||(we=D(De)).type!==F)throw TypeError("Incompatible receiver, "+F+" required");return we}};if(L||B.state){var le=B.state||(B.state=new Y),ae=le.get,he=le.has,k=le.set;G=function(F,De){if(he.call(le,F))throw new TypeError(q);return De.facade=F,k.call(le,F,De),De},D=function(F){return ae.call(le,F)||{}},O=function(F){return he.call(le,F)}}else{var Ue=W("state");Q[Ue]=!0,G=function(F,De){if(_(F,Ue))throw new TypeError(q);return De.facade=F,x(F,Ue,De),De},D=function(F){return _(F,Ue)?F[Ue]:{}},O=function(F){return _(F,Ue)}}m.exports={set:G,get:D,has:O,enforce:J,getterFor:K}},"./node_modules/core-js/internals/is-array.js":function(m,N,s){var L=s("./node_modules/core-js/internals/classof-raw.js");m.exports=Array.isArray||function(w){return L(w)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(m,N,s){var L=s("./node_modules/core-js/internals/fails.js"),S=/#|\.prototype\./,w=function(Q,q){var Y=_[x(Q)];return Y==W?!0:Y==B?!1:typeof q=="function"?L(q):!!q},x=w.normalize=function(Q){return String(Q).replace(S,".").toLowerCase()},_=w.data={},B=w.NATIVE="N",W=w.POLYFILL="P";m.exports=w},"./node_modules/core-js/internals/is-object.js":function(m){m.exports=function(N){return typeof N=="object"?N!==null:typeof N=="function"}},"./node_modules/core-js/internals/is-pure.js":function(m){m.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(m,N,s){var L=s("./node_modules/core-js/internals/get-built-in.js"),S=s("./node_modules/core-js/internals/use-symbol-as-uid.js");m.exports=S?function(w){return typeof w=="symbol"}:function(w){var x=L("Symbol");return typeof x=="function"&&Object(w)instanceof x}},"./node_modules/core-js/internals/iterators-core.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/fails.js"),S=s("./node_modules/core-js/internals/object-get-prototype-of.js"),w=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),x=s("./node_modules/core-js/internals/has.js"),_=s("./node_modules/core-js/internals/well-known-symbol.js"),B=s("./node_modules/core-js/internals/is-pure.js"),W=_("iterator"),Q=!1,q=function(){return this},Y,G,D;[].keys&&(D=[].keys(),"next"in D?(G=S(S(D)),G!==Object.prototype&&(Y=G)):Q=!0);var O=Y==null||L(function(){var J={};return Y[W].call(J)!==J});O&&(Y={}),(!B||O)&&!x(Y,W)&&w(Y,W,q),m.exports={IteratorPrototype:Y,BUGGY_SAFARI_ITERATORS:Q}},"./node_modules/core-js/internals/iterators.js":function(m){m.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(m,N,s){var L=s("./node_modules/core-js/internals/engine-v8-version.js"),S=s("./node_modules/core-js/internals/fails.js");m.exports=!!Object.getOwnPropertySymbols&&!S(function(){var w=Symbol();return!String(w)||!(Object(w)instanceof Symbol)||!Symbol.sham&&L&&L<41})},"./node_modules/core-js/internals/native-weak-map.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/inspect-source.js"),w=L.WeakMap;m.exports=typeof w=="function"&&/native code/.test(S(w))},"./node_modules/core-js/internals/object-assign.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/fails.js"),w=s("./node_modules/core-js/internals/object-keys.js"),x=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),_=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),B=s("./node_modules/core-js/internals/to-object.js"),W=s("./node_modules/core-js/internals/indexed-object.js"),Q=Object.assign,q=Object.defineProperty;m.exports=!Q||S(function(){if(L&&Q({b:1},Q(q({},"a",{enumerable:!0,get:function(){q(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var Y={},G={},D=Symbol(),O="abcdefghijklmnopqrst";return Y[D]=7,O.split("").forEach(function(J){G[J]=J}),Q({},Y)[D]!=7||w(Q({},G)).join("")!=O})?function(G,D){for(var O=B(G),J=arguments.length,K=1,le=x.f,ae=_.f;J>K;)for(var he=W(arguments[K++]),k=le?w(he).concat(le(he)):w(he),Ue=k.length,F=0,De;Ue>F;)De=k[F++],(!L||ae.call(he,De))&&(O[De]=he[De]);return O}:Q},"./node_modules/core-js/internals/object-create.js":function(m,N,s){var L=s("./node_modules/core-js/internals/an-object.js"),S=s("./node_modules/core-js/internals/object-define-properties.js"),w=s("./node_modules/core-js/internals/enum-bug-keys.js"),x=s("./node_modules/core-js/internals/hidden-keys.js"),_=s("./node_modules/core-js/internals/html.js"),B=s("./node_modules/core-js/internals/document-create-element.js"),W=s("./node_modules/core-js/internals/shared-key.js"),Q=">",q="<",Y="prototype",G="script",D=W("IE_PROTO"),O=function(){},J=function(k){return q+G+Q+k+q+"/"+G+Q},K=function(k){k.write(J("")),k.close();var Ue=k.parentWindow.Object;return k=null,Ue},le=function(){var k=B("iframe"),Ue="java"+G+":",F;if(k.style)return k.style.display="none",_.appendChild(k),k.src=String(Ue),F=k.contentWindow.document,F.open(),F.write(J("document.F=Object")),F.close(),F.F},ae,he=function(){try{ae=new ActiveXObject("htmlfile")}catch(Ue){}he=document.domain&&ae?K(ae):le()||K(ae);for(var k=w.length;k--;)delete he[Y][w[k]];return he()};x[D]=!0,m.exports=Object.create||function(Ue,F){var De;return Ue!==null?(O[Y]=L(Ue),De=new O,O[Y]=null,De[D]=Ue):De=he(),F===void 0?De:S(De,F)}},"./node_modules/core-js/internals/object-define-properties.js":function(m,N,s){var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/object-define-property.js"),w=s("./node_modules/core-js/internals/an-object.js"),x=s("./node_modules/core-js/internals/object-keys.js");m.exports=L?Object.defineProperties:function(B,W){w(B);for(var Q=x(W),q=Q.length,Y=0,G;q>Y;)S.f(B,G=Q[Y++],W[G]);return B}},"./node_modules/core-js/internals/object-define-property.js":function(m,N,s){var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/ie8-dom-define.js"),w=s("./node_modules/core-js/internals/an-object.js"),x=s("./node_modules/core-js/internals/to-property-key.js"),_=Object.defineProperty;N.f=L?_:function(W,Q,q){if(w(W),Q=x(Q),w(q),S)try{return _(W,Q,q)}catch(Y){}if("get"in q||"set"in q)throw TypeError("Accessors not supported");return"value"in q&&(W[Q]=q.value),W}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(m,N,s){var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),w=s("./node_modules/core-js/internals/create-property-descriptor.js"),x=s("./node_modules/core-js/internals/to-indexed-object.js"),_=s("./node_modules/core-js/internals/to-property-key.js"),B=s("./node_modules/core-js/internals/has.js"),W=s("./node_modules/core-js/internals/ie8-dom-define.js"),Q=Object.getOwnPropertyDescriptor;N.f=L?Q:function(Y,G){if(Y=x(Y),G=_(G),W)try{return Q(Y,G)}catch(D){}if(B(Y,G))return w(!S.f.call(Y,G),Y[G])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-indexed-object.js"),S=s("./node_modules/core-js/internals/object-get-own-property-names.js").f,w={}.toString,x=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_=function(B){try{return S(B)}catch(W){return x.slice()}};m.exports.f=function(W){return x&&w.call(W)=="[object Window]"?_(W):S(L(W))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(m,N,s){var L=s("./node_modules/core-js/internals/object-keys-internal.js"),S=s("./node_modules/core-js/internals/enum-bug-keys.js"),w=S.concat("length","prototype");N.f=Object.getOwnPropertyNames||function(_){return L(_,w)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(m,N){N.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(m,N,s){var L=s("./node_modules/core-js/internals/has.js"),S=s("./node_modules/core-js/internals/to-object.js"),w=s("./node_modules/core-js/internals/shared-key.js"),x=s("./node_modules/core-js/internals/correct-prototype-getter.js"),_=w("IE_PROTO"),B=Object.prototype;m.exports=x?Object.getPrototypeOf:function(W){return W=S(W),L(W,_)?W[_]:typeof W.constructor=="function"&&W instanceof W.constructor?W.constructor.prototype:W instanceof Object?B:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(m,N,s){var L=s("./node_modules/core-js/internals/has.js"),S=s("./node_modules/core-js/internals/to-indexed-object.js"),w=s("./node_modules/core-js/internals/array-includes.js").indexOf,x=s("./node_modules/core-js/internals/hidden-keys.js");m.exports=function(_,B){var W=S(_),Q=0,q=[],Y;for(Y in W)!L(x,Y)&&L(W,Y)&&q.push(Y);for(;B.length>Q;)L(W,Y=B[Q++])&&(~w(q,Y)||q.push(Y));return q}},"./node_modules/core-js/internals/object-keys.js":function(m,N,s){var L=s("./node_modules/core-js/internals/object-keys-internal.js"),S=s("./node_modules/core-js/internals/enum-bug-keys.js");m.exports=Object.keys||function(x){return L(x,S)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(m,N){"use strict";var s={}.propertyIsEnumerable,L=Object.getOwnPropertyDescriptor,S=L&&!s.call({1:2},1);N.f=S?function(x){var _=L(this,x);return!!_&&_.enumerable}:s},"./node_modules/core-js/internals/object-set-prototype-of.js":function(m,N,s){var L=s("./node_modules/core-js/internals/an-object.js"),S=s("./node_modules/core-js/internals/a-possible-prototype.js");m.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var w=!1,x={},_;try{_=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,_.call(x,[]),w=x instanceof Array}catch(B){}return function(W,Q){return L(W),S(Q),w?_.call(W,Q):W.__proto__=Q,W}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/to-string-tag-support.js"),S=s("./node_modules/core-js/internals/classof.js");m.exports=L?{}.toString:function(){return"[object "+S(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-object.js");m.exports=function(S,w){var x,_;if(w==="string"&&typeof(x=S.toString)=="function"&&!L(_=x.call(S))||typeof(x=S.valueOf)=="function"&&!L(_=x.call(S))||w!=="string"&&typeof(x=S.toString)=="function"&&!L(_=x.call(S)))return _;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(m,N,s){var L=s("./node_modules/core-js/internals/get-built-in.js"),S=s("./node_modules/core-js/internals/object-get-own-property-names.js"),w=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),x=s("./node_modules/core-js/internals/an-object.js");m.exports=L("Reflect","ownKeys")||function(B){var W=S.f(x(B)),Q=w.f;return Q?W.concat(Q(B)):W}},"./node_modules/core-js/internals/path.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js");m.exports=L},"./node_modules/core-js/internals/redefine.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),w=s("./node_modules/core-js/internals/has.js"),x=s("./node_modules/core-js/internals/set-global.js"),_=s("./node_modules/core-js/internals/inspect-source.js"),B=s("./node_modules/core-js/internals/internal-state.js"),W=B.get,Q=B.enforce,q=String(String).split("String");(m.exports=function(Y,G,D,O){var J=O?!!O.unsafe:!1,K=O?!!O.enumerable:!1,le=O?!!O.noTargetGet:!1,ae;if(typeof D=="function"&&(typeof G=="string"&&!w(D,"name")&&S(D,"name",G),ae=Q(D),ae.source||(ae.source=q.join(typeof G=="string"?G:""))),Y===L){K?Y[G]=D:x(G,D);return}else J?!le&&Y[G]&&(K=!0):delete Y[G];K?Y[G]=D:S(Y,G,D)})(Function.prototype,"toString",function(){return typeof this=="function"&&W(this).source||_(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/an-object.js");m.exports=function(){var S=L(this),w="";return S.global&&(w+="g"),S.ignoreCase&&(w+="i"),S.multiline&&(w+="m"),S.dotAll&&(w+="s"),S.unicode&&(w+="u"),S.sticky&&(w+="y"),w}},"./node_modules/core-js/internals/require-object-coercible.js":function(m){m.exports=function(N){if(N==null)throw TypeError("Can't call method on "+N);return N}},"./node_modules/core-js/internals/set-global.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js");m.exports=function(S,w){try{Object.defineProperty(L,S,{value:w,configurable:!0,writable:!0})}catch(x){L[S]=w}return w}},"./node_modules/core-js/internals/set-to-string-tag.js":function(m,N,s){var L=s("./node_modules/core-js/internals/object-define-property.js").f,S=s("./node_modules/core-js/internals/has.js"),w=s("./node_modules/core-js/internals/well-known-symbol.js"),x=w("toStringTag");m.exports=function(_,B,W){_&&!S(_=W?_:_.prototype,x)&&L(_,x,{configurable:!0,value:B})}},"./node_modules/core-js/internals/shared-key.js":function(m,N,s){var L=s("./node_modules/core-js/internals/shared.js"),S=s("./node_modules/core-js/internals/uid.js"),w=L("keys");m.exports=function(x){return w[x]||(w[x]=S(x))}},"./node_modules/core-js/internals/shared-store.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/set-global.js"),w="__core-js_shared__",x=L[w]||S(w,{});m.exports=x},"./node_modules/core-js/internals/shared.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-pure.js"),S=s("./node_modules/core-js/internals/shared-store.js");(m.exports=function(w,x){return S[w]||(S[w]=x!==void 0?x:{})})("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(m,N,s){var L=s("./node_modules/core-js/internals/fails.js");m.exports=function(S){return L(function(){var w=""[S]('"');return w!==w.toLowerCase()||w.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-integer.js"),S=s("./node_modules/core-js/internals/to-string.js"),w=s("./node_modules/core-js/internals/require-object-coercible.js"),x=function(_){return function(B,W){var Q=S(w(B)),q=L(W),Y=Q.length,G,D;return q<0||q>=Y?_?"":void 0:(G=Q.charCodeAt(q),G<55296||G>56319||q+1===Y||(D=Q.charCodeAt(q+1))<56320||D>57343?_?Q.charAt(q):G:_?Q.slice(q,q+2):(G-55296<<10)+(D-56320)+65536)}};m.exports={codeAt:x(!1),charAt:x(!0)}},"./node_modules/core-js/internals/string-trim.js":function(m,N,s){var L=s("./node_modules/core-js/internals/require-object-coercible.js"),S=s("./node_modules/core-js/internals/to-string.js"),w=s("./node_modules/core-js/internals/whitespaces.js"),x="["+w+"]",_=RegExp("^"+x+x+"*"),B=RegExp(x+x+"*$"),W=function(Q){return function(q){var Y=S(L(q));return Q&1&&(Y=Y.replace(_,"")),Q&2&&(Y=Y.replace(B,"")),Y}};m.exports={start:W(1),end:W(2),trim:W(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-integer.js"),S=Math.max,w=Math.min;m.exports=function(x,_){var B=L(x);return B<0?S(B+_,0):w(B,_)}},"./node_modules/core-js/internals/to-indexed-object.js":function(m,N,s){var L=s("./node_modules/core-js/internals/indexed-object.js"),S=s("./node_modules/core-js/internals/require-object-coercible.js");m.exports=function(w){return L(S(w))}},"./node_modules/core-js/internals/to-integer.js":function(m){var N=Math.ceil,s=Math.floor;m.exports=function(L){return isNaN(L=+L)?0:(L>0?s:N)(L)}},"./node_modules/core-js/internals/to-length.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-integer.js"),S=Math.min;m.exports=function(w){return w>0?S(L(w),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(m,N,s){var L=s("./node_modules/core-js/internals/require-object-coercible.js");m.exports=function(S){return Object(L(S))}},"./node_modules/core-js/internals/to-primitive.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-object.js"),S=s("./node_modules/core-js/internals/is-symbol.js"),w=s("./node_modules/core-js/internals/ordinary-to-primitive.js"),x=s("./node_modules/core-js/internals/well-known-symbol.js"),_=x("toPrimitive");m.exports=function(B,W){if(!L(B)||S(B))return B;var Q=B[_],q;if(Q!==void 0){if(W===void 0&&(W="default"),q=Q.call(B,W),!L(q)||S(q))return q;throw TypeError("Can't convert object to primitive value")}return W===void 0&&(W="number"),w(B,W)}},"./node_modules/core-js/internals/to-property-key.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-primitive.js"),S=s("./node_modules/core-js/internals/is-symbol.js");m.exports=function(w){var x=L(w,"string");return S(x)?x:String(x)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(m,N,s){var L=s("./node_modules/core-js/internals/well-known-symbol.js"),S=L("toStringTag"),w={};w[S]="z",m.exports=String(w)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(m,N,s){var L=s("./node_modules/core-js/internals/is-symbol.js");m.exports=function(S){if(L(S))throw TypeError("Cannot convert a Symbol value to a string");return String(S)}},"./node_modules/core-js/internals/uid.js":function(m){var N=0,s=Math.random();m.exports=function(L){return"Symbol("+String(L===void 0?"":L)+")_"+(++N+s).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(m,N,s){var L=s("./node_modules/core-js/internals/native-symbol.js");m.exports=L&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(m,N,s){var L=s("./node_modules/core-js/internals/well-known-symbol.js");N.f=L},"./node_modules/core-js/internals/well-known-symbol.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/shared.js"),w=s("./node_modules/core-js/internals/has.js"),x=s("./node_modules/core-js/internals/uid.js"),_=s("./node_modules/core-js/internals/native-symbol.js"),B=s("./node_modules/core-js/internals/use-symbol-as-uid.js"),W=S("wks"),Q=L.Symbol,q=B?Q:Q&&Q.withoutSetter||x;m.exports=function(Y){return(!w(W,Y)||!(_||typeof W[Y]=="string"))&&(_&&w(Q,Y)?W[Y]=Q[Y]:W[Y]=q("Symbol."+Y)),W[Y]}},"./node_modules/core-js/internals/whitespaces.js":function(m){m.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(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/fails.js"),w=s("./node_modules/core-js/internals/is-array.js"),x=s("./node_modules/core-js/internals/is-object.js"),_=s("./node_modules/core-js/internals/to-object.js"),B=s("./node_modules/core-js/internals/to-length.js"),W=s("./node_modules/core-js/internals/create-property.js"),Q=s("./node_modules/core-js/internals/array-species-create.js"),q=s("./node_modules/core-js/internals/array-method-has-species-support.js"),Y=s("./node_modules/core-js/internals/well-known-symbol.js"),G=s("./node_modules/core-js/internals/engine-v8-version.js"),D=Y("isConcatSpreadable"),O=9007199254740991,J="Maximum allowed index exceeded",K=G>=51||!S(function(){var k=[];return k[D]=!1,k.concat()[0]!==k}),le=q("concat"),ae=function(k){if(!x(k))return!1;var Ue=k[D];return Ue!==void 0?!!Ue:w(k)},he=!K||!le;L({target:"Array",proto:!0,forced:he},{concat:function(Ue){var F=_(this),De=Q(F,0),we=0,de,Be,ne,ve,ee;for(de=-1,ne=arguments.length;de<ne;de++)if(ee=de===-1?F:arguments[de],ae(ee)){if(ve=B(ee.length),we+ve>O)throw TypeError(J);for(Be=0;Be<ve;Be++,we++)Be in ee&&W(De,we,ee[Be])}else{if(we>=O)throw TypeError(J);W(De,we++,ee)}return De.length=we,De}})},"./node_modules/core-js/modules/es.array.iterator.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/to-indexed-object.js"),S=s("./node_modules/core-js/internals/add-to-unscopables.js"),w=s("./node_modules/core-js/internals/iterators.js"),x=s("./node_modules/core-js/internals/internal-state.js"),_=s("./node_modules/core-js/internals/define-iterator.js"),B="Array Iterator",W=x.set,Q=x.getterFor(B);m.exports=_(Array,"Array",function(q,Y){W(this,{type:B,target:L(q),index:0,kind:Y})},function(){var q=Q(this),Y=q.target,G=q.kind,D=q.index++;return!Y||D>=Y.length?(q.target=void 0,{value:void 0,done:!0}):G=="keys"?{value:D,done:!1}:G=="values"?{value:Y[D],done:!1}:{value:[D,Y[D]],done:!1}},"values"),w.Arguments=w.Array,S("keys"),S("values"),S("entries")},"./node_modules/core-js/modules/es.array.join.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/indexed-object.js"),w=s("./node_modules/core-js/internals/to-indexed-object.js"),x=s("./node_modules/core-js/internals/array-method-is-strict.js"),_=[].join,B=S!=Object,W=x("join",",");L({target:"Array",proto:!0,forced:B||!W},{join:function(q){return _.call(w(this),q===void 0?",":q)}})},"./node_modules/core-js/modules/es.array.map.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/array-iteration.js").map,w=s("./node_modules/core-js/internals/array-method-has-species-support.js"),x=w("map");L({target:"Array",proto:!0,forced:!x},{map:function(B){return S(this,B,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/is-object.js"),w=s("./node_modules/core-js/internals/is-array.js"),x=s("./node_modules/core-js/internals/to-absolute-index.js"),_=s("./node_modules/core-js/internals/to-length.js"),B=s("./node_modules/core-js/internals/to-indexed-object.js"),W=s("./node_modules/core-js/internals/create-property.js"),Q=s("./node_modules/core-js/internals/well-known-symbol.js"),q=s("./node_modules/core-js/internals/array-method-has-species-support.js"),Y=q("slice"),G=Q("species"),D=[].slice,O=Math.max;L({target:"Array",proto:!0,forced:!Y},{slice:function(K,le){var ae=B(this),he=_(ae.length),k=x(K,he),Ue=x(le===void 0?he:le,he),F,De,we;if(w(ae)&&(F=ae.constructor,typeof F=="function"&&(F===Array||w(F.prototype))?F=void 0:S(F)&&(F=F[G],F===null&&(F=void 0)),F===Array||F===void 0))return D.call(ae,k,Ue);for(De=new(F===void 0?Array:F)(O(Ue-k,0)),we=0;k<Ue;k++,we++)k in ae&&W(De,we,ae[k]);return De.length=we,De}})},"./node_modules/core-js/modules/es.function.name.js":function(m,N,s){var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/object-define-property.js").f,w=Function.prototype,x=w.toString,_=/^\s*function ([^ (]*)/,B="name";L&&!(B in w)&&S(w,B,{configurable:!0,get:function(){try{return x.call(this).match(_)[1]}catch(W){return""}}})},"./node_modules/core-js/modules/es.number.constructor.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/descriptors.js"),S=s("./node_modules/core-js/internals/global.js"),w=s("./node_modules/core-js/internals/is-forced.js"),x=s("./node_modules/core-js/internals/redefine.js"),_=s("./node_modules/core-js/internals/has.js"),B=s("./node_modules/core-js/internals/classof-raw.js"),W=s("./node_modules/core-js/internals/inherit-if-required.js"),Q=s("./node_modules/core-js/internals/is-symbol.js"),q=s("./node_modules/core-js/internals/to-primitive.js"),Y=s("./node_modules/core-js/internals/fails.js"),G=s("./node_modules/core-js/internals/object-create.js"),D=s("./node_modules/core-js/internals/object-get-own-property-names.js").f,O=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,J=s("./node_modules/core-js/internals/object-define-property.js").f,K=s("./node_modules/core-js/internals/string-trim.js").trim,le="Number",ae=S[le],he=ae.prototype,k=B(G(he))==le,Ue=function(Be){if(Q(Be))throw TypeError("Cannot convert a Symbol value to a number");var ne=q(Be,"number"),ve,ee,se,je,Pe,Oe,ut,mt;if(typeof ne=="string"&&ne.length>2){if(ne=K(ne),ve=ne.charCodeAt(0),ve===43||ve===45){if(ee=ne.charCodeAt(2),ee===88||ee===120)return NaN}else if(ve===48){switch(ne.charCodeAt(1)){case 66:case 98:se=2,je=49;break;case 79:case 111:se=8,je=55;break;default:return+ne}for(Pe=ne.slice(2),Oe=Pe.length,ut=0;ut<Oe;ut++)if(mt=Pe.charCodeAt(ut),mt<48||mt>je)return NaN;return parseInt(Pe,se)}}return+ne};if(w(le,!ae(" 0o1")||!ae("0b1")||ae("+0x1"))){for(var F=function(ne){var ve=arguments.length<1?0:ne,ee=this;return ee instanceof F&&(k?Y(function(){he.valueOf.call(ee)}):B(ee)!=le)?W(new ae(Ue(ve)),ee,F):Ue(ve)},De=L?D(ae):"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(","),we=0,de;De.length>we;we++)_(ae,de=De[we])&&!_(F,de)&&J(F,de,O(ae,de));F.prototype=he,he.constructor=F,x(S,le,F)}},"./node_modules/core-js/modules/es.object.assign.js":function(m,N,s){var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/object-assign.js");L({target:"Object",stat:!0,forced:Object.assign!==S},{assign:S})},"./node_modules/core-js/modules/es.object.keys.js":function(m,N,s){var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/to-object.js"),w=s("./node_modules/core-js/internals/object-keys.js"),x=s("./node_modules/core-js/internals/fails.js"),_=x(function(){w(1)});L({target:"Object",stat:!0,forced:_},{keys:function(W){return w(S(W))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(m,N,s){var L=s("./node_modules/core-js/internals/to-string-tag-support.js"),S=s("./node_modules/core-js/internals/redefine.js"),w=s("./node_modules/core-js/internals/object-to-string.js");L||S(Object.prototype,"toString",w,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/redefine.js"),S=s("./node_modules/core-js/internals/an-object.js"),w=s("./node_modules/core-js/internals/to-string.js"),x=s("./node_modules/core-js/internals/fails.js"),_=s("./node_modules/core-js/internals/regexp-flags.js"),B="toString",W=RegExp.prototype,Q=W[B],q=x(function(){return Q.call({source:"a",flags:"b"})!="/a/b"}),Y=Q.name!=B;(q||Y)&&L(RegExp.prototype,B,function(){var D=S(this),O=w(D.source),J=D.flags,K=w(J===void 0&&D instanceof RegExp&&!("flags"in W)?_.call(D):J);return"/"+O+"/"+K},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/string-multibyte.js").charAt,S=s("./node_modules/core-js/internals/to-string.js"),w=s("./node_modules/core-js/internals/internal-state.js"),x=s("./node_modules/core-js/internals/define-iterator.js"),_="String Iterator",B=w.set,W=w.getterFor(_);x(String,"String",function(Q){B(this,{type:_,string:S(Q),index:0})},function(){var q=W(this),Y=q.string,G=q.index,D;return G>=Y.length?{value:void 0,done:!0}:(D=L(Y,G),q.index+=D.length,{value:D,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/create-html.js"),w=s("./node_modules/core-js/internals/string-html-forced.js");L({target:"String",proto:!0,forced:w("link")},{link:function(_){return S(this,"a","href",_)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/descriptors.js"),w=s("./node_modules/core-js/internals/global.js"),x=s("./node_modules/core-js/internals/has.js"),_=s("./node_modules/core-js/internals/is-object.js"),B=s("./node_modules/core-js/internals/object-define-property.js").f,W=s("./node_modules/core-js/internals/copy-constructor-properties.js"),Q=w.Symbol;if(S&&typeof Q=="function"&&(!("description"in Q.prototype)||Q().description!==void 0)){var q={},Y=function(){var le=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),ae=this instanceof Y?new Q(le):le===void 0?Q():Q(le);return le===""&&(q[ae]=!0),ae};W(Y,Q);var G=Y.prototype=Q.prototype;G.constructor=Y;var D=G.toString,O=String(Q("test"))=="Symbol(test)",J=/^Symbol\((.*)\)[^)]+$/;B(G,"description",{configurable:!0,get:function(){var le=_(this)?this.valueOf():this,ae=D.call(le);if(x(q,le))return"";var he=O?ae.slice(7,-1):ae.replace(J,"$1");return he===""?void 0:he}}),L({global:!0,forced:!0},{Symbol:Y})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(m,N,s){var L=s("./node_modules/core-js/internals/define-well-known-symbol.js");L("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(m,N,s){"use strict";var L=s("./node_modules/core-js/internals/export.js"),S=s("./node_modules/core-js/internals/global.js"),w=s("./node_modules/core-js/internals/get-built-in.js"),x=s("./node_modules/core-js/internals/is-pure.js"),_=s("./node_modules/core-js/internals/descriptors.js"),B=s("./node_modules/core-js/internals/native-symbol.js"),W=s("./node_modules/core-js/internals/fails.js"),Q=s("./node_modules/core-js/internals/has.js"),q=s("./node_modules/core-js/internals/is-array.js"),Y=s("./node_modules/core-js/internals/is-object.js"),G=s("./node_modules/core-js/internals/is-symbol.js"),D=s("./node_modules/core-js/internals/an-object.js"),O=s("./node_modules/core-js/internals/to-object.js"),J=s("./node_modules/core-js/internals/to-indexed-object.js"),K=s("./node_modules/core-js/internals/to-property-key.js"),le=s("./node_modules/core-js/internals/to-string.js"),ae=s("./node_modules/core-js/internals/create-property-descriptor.js"),he=s("./node_modules/core-js/internals/object-create.js"),k=s("./node_modules/core-js/internals/object-keys.js"),Ue=s("./node_modules/core-js/internals/object-get-own-property-names.js"),F=s("./node_modules/core-js/internals/object-get-own-property-names-external.js"),De=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),we=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),de=s("./node_modules/core-js/internals/object-define-property.js"),Be=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),ne=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),ve=s("./node_modules/core-js/internals/redefine.js"),ee=s("./node_modules/core-js/internals/shared.js"),se=s("./node_modules/core-js/internals/shared-key.js"),je=s("./node_modules/core-js/internals/hidden-keys.js"),Pe=s("./node_modules/core-js/internals/uid.js"),Oe=s("./node_modules/core-js/internals/well-known-symbol.js"),ut=s("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),mt=s("./node_modules/core-js/internals/define-well-known-symbol.js"),Ot=s("./node_modules/core-js/internals/set-to-string-tag.js"),Ee=s("./node_modules/core-js/internals/internal-state.js"),kt=s("./node_modules/core-js/internals/array-iteration.js").forEach,Rt=se("hidden"),on="Symbol",Mt="prototype",T=Oe("toPrimitive"),Ye=Ee.set,E=Ee.getterFor(on),u=Object[Mt],a=S.Symbol,p=w("JSON","stringify"),M=we.f,re=de.f,C=F.f,j=Be.f,me=ee("symbols"),Ae=ee("op-symbols"),ie=ee("string-to-symbol-registry"),Se=ee("symbol-to-string-registry"),Ge=ee("wks"),xe=S.QObject,He=!xe||!xe[Mt]||!xe[Mt].findChild,Te=_&&W(function(){return he(re({},"a",{get:function(){return re(this,"a",{value:7}).a}})).a!=7})?function(mn,qt,gn){var Sn=M(u,qt);Sn&&delete u[qt],re(mn,qt,gn),Sn&&mn!==u&&re(u,qt,Sn)}:re,pe=function(mn,qt){var gn=me[mn]=he(a[Mt]);return Ye(gn,{type:on,tag:mn,description:qt}),_||(gn.description=qt),gn},ge=function(qt,gn,Sn){qt===u&&ge(Ae,gn,Sn),D(qt);var Jn=K(gn);return D(Sn),Q(me,Jn)?(Sn.enumerable?(Q(qt,Rt)&&qt[Rt][Jn]&&(qt[Rt][Jn]=!1),Sn=he(Sn,{enumerable:ae(0,!1)})):(Q(qt,Rt)||re(qt,Rt,ae(1,{})),qt[Rt][Jn]=!0),Te(qt,Jn,Sn)):re(qt,Jn,Sn)},Ve=function(qt,gn){D(qt);var Sn=J(gn),Jn=k(Sn).concat(tn(Sn));return kt(Jn,function(Br){(!_||ht.call(Sn,Br))&&ge(qt,Br,Sn[Br])}),qt},yt=function(qt,gn){return gn===void 0?he(qt):Ve(he(qt),gn)},ht=function(qt){var gn=K(qt),Sn=j.call(this,gn);return this===u&&Q(me,gn)&&!Q(Ae,gn)?!1:Sn||!Q(this,gn)||!Q(me,gn)||Q(this,Rt)&&this[Rt][gn]?Sn:!0},Tt=function(qt,gn){var Sn=J(qt),Jn=K(gn);if(!(Sn===u&&Q(me,Jn)&&!Q(Ae,Jn))){var Br=M(Sn,Jn);return Br&&Q(me,Jn)&&!(Q(Sn,Rt)&&Sn[Rt][Jn])&&(Br.enumerable=!0),Br}},sn=function(qt){var gn=C(J(qt)),Sn=[];return kt(gn,function(Jn){!Q(me,Jn)&&!Q(je,Jn)&&Sn.push(Jn)}),Sn},tn=function(qt){var gn=qt===u,Sn=C(gn?Ae:J(qt)),Jn=[];return kt(Sn,function(Br){Q(me,Br)&&(!gn||Q(u,Br))&&Jn.push(me[Br])}),Jn};if(B||(a=function(){if(this instanceof a)throw TypeError("Symbol is not a constructor");var qt=!arguments.length||arguments[0]===void 0?void 0:le(arguments[0]),gn=Pe(qt),Sn=function(Jn){this===u&&Sn.call(Ae,Jn),Q(this,Rt)&&Q(this[Rt],gn)&&(this[Rt][gn]=!1),Te(this,gn,ae(1,Jn))};return _&&He&&Te(u,gn,{configurable:!0,set:Sn}),pe(gn,qt)},ve(a[Mt],"toString",function(){return E(this).tag}),ve(a,"withoutSetter",function(mn){return pe(Pe(mn),mn)}),Be.f=ht,de.f=ge,we.f=Tt,Ue.f=F.f=sn,De.f=tn,ut.f=function(mn){return pe(Oe(mn),mn)},_&&(re(a[Mt],"description",{configurable:!0,get:function(){return E(this).description}}),x||ve(u,"propertyIsEnumerable",ht,{unsafe:!0}))),L({global:!0,wrap:!0,forced:!B,sham:!B},{Symbol:a}),kt(k(Ge),function(mn){mt(mn)}),L({target:on,stat:!0,forced:!B},{for:function(mn){var qt=le(mn);if(Q(ie,qt))return ie[qt];var gn=a(qt);return ie[qt]=gn,Se[gn]=qt,gn},keyFor:function(qt){if(!G(qt))throw TypeError(qt+" is not a symbol");if(Q(Se,qt))return Se[qt]},useSetter:function(){He=!0},useSimple:function(){He=!1}}),L({target:"Object",stat:!0,forced:!B,sham:!_},{create:yt,defineProperty:ge,defineProperties:Ve,getOwnPropertyDescriptor:Tt}),L({target:"Object",stat:!0,forced:!B},{getOwnPropertyNames:sn,getOwnPropertySymbols:tn}),L({target:"Object",stat:!0,forced:W(function(){De.f(1)})},{getOwnPropertySymbols:function(qt){return De.f(O(qt))}}),p){var pn=!B||W(function(){var mn=a();return p([mn])!="[null]"||p({a:mn})!="{}"||p(Object(mn))!="{}"});L({target:"JSON",stat:!0,forced:pn},{stringify:function(qt,gn,Sn){for(var Jn=[qt],Br=1,Xn;arguments.length>Br;)Jn.push(arguments[Br++]);if(Xn=gn,!(!Y(gn)&&qt===void 0||G(qt)))return q(gn)||(gn=function(zr,pi){if(typeof Xn=="function"&&(pi=Xn.call(this,zr,pi)),!G(pi))return pi}),Jn[1]=gn,p.apply(null,Jn)}})}a[Mt][T]||ne(a[Mt],T,a[Mt].valueOf),Ot(a,on),je[Rt]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/dom-iterables.js"),w=s("./node_modules/core-js/internals/array-for-each.js"),x=s("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var _ in S){var B=L[_],W=B&&B.prototype;if(W&&W.forEach!==w)try{x(W,"forEach",w)}catch(Q){W.forEach=w}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(m,N,s){var L=s("./node_modules/core-js/internals/global.js"),S=s("./node_modules/core-js/internals/dom-iterables.js"),w=s("./node_modules/core-js/modules/es.array.iterator.js"),x=s("./node_modules/core-js/internals/create-non-enumerable-property.js"),_=s("./node_modules/core-js/internals/well-known-symbol.js"),B=_("iterator"),W=_("toStringTag"),Q=w.values;for(var q in S){var Y=L[q],G=Y&&Y.prototype;if(G){if(G[B]!==Q)try{x(G,B,Q)}catch(O){G[B]=Q}if(G[W]||x(G,W,q),S[q]){for(var D in w)if(G[D]!==w[D])try{x(G,D,w[D])}catch(O){G[D]=w[D]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(m){(function(N,s){m.exports=s()})(this,function(){"use strict";function N(xe){var He=typeof xe;return xe!==null&&(He==="object"||He==="function")}function s(xe){return typeof xe=="function"}var L=void 0;Array.isArray?L=Array.isArray:L=function(xe){return Object.prototype.toString.call(xe)==="[object Array]"};var S=L,w=0,x=void 0,_=void 0,B=function(He,Te){k[w]=He,k[w+1]=Te,w+=2,w===2&&(_?_(Ue):De())};function W(xe){_=xe}function Q(xe){B=xe}var q=typeof window!="undefined"?window:void 0,Y=q||{},G=Y.MutationObserver||Y.WebKitMutationObserver,D=typeof self=="undefined"&&typeof ye!="undefined"&&{}.toString.call(ye)==="[object process]",O=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function J(){return function(){return ye.nextTick(Ue)}}function K(){return typeof x!="undefined"?function(){x(Ue)}:he()}function le(){var xe=0,He=new G(Ue),Te=document.createTextNode("");return He.observe(Te,{characterData:!0}),function(){Te.data=xe=++xe%2}}function ae(){var xe=new MessageChannel;return xe.port1.onmessage=Ue,function(){return xe.port2.postMessage(0)}}function he(){var xe=setTimeout;return function(){return xe(Ue,1)}}var k=new Array(1e3);function Ue(){for(var xe=0;xe<w;xe+=2){var He=k[xe],Te=k[xe+1];He(Te),k[xe]=void 0,k[xe+1]=void 0}w=0}function F(){try{var xe=Function("return this")().require("vertx");return x=xe.runOnLoop||xe.runOnContext,K()}catch(He){return he()}}var De=void 0;D?De=J():G?De=le():O?De=ae():q===void 0?De=F():De=he();function we(xe,He){var Te=this,pe=new this.constructor(ne);pe[Be]===void 0&&p(pe);var ge=Te._state;if(ge){var Ve=arguments[ge-1];B(function(){return Ye(ge,pe,Ve,Te._result)})}else Mt(Te,pe,xe,He);return pe}function de(xe){var He=this;if(xe&&typeof xe=="object"&&xe.constructor===He)return xe;var Te=new He(ne);return Ee(Te,xe),Te}var Be=Math.random().toString(36).substring(2);function ne(){}var ve=void 0,ee=1,se=2;function je(){return new TypeError("You cannot resolve a promise with itself")}function Pe(){return new TypeError("A promises callback cannot return that same promise.")}function Oe(xe,He,Te,pe){try{xe.call(He,Te,pe)}catch(ge){return ge}}function ut(xe,He,Te){B(function(pe){var ge=!1,Ve=Oe(Te,He,function(yt){ge||(ge=!0,He!==yt?Ee(pe,yt):Rt(pe,yt))},function(yt){ge||(ge=!0,on(pe,yt))},"Settle: "+(pe._label||" unknown promise"));!ge&&Ve&&(ge=!0,on(pe,Ve))},xe)}function mt(xe,He){He._state===ee?Rt(xe,He._result):He._state===se?on(xe,He._result):Mt(He,void 0,function(Te){return Ee(xe,Te)},function(Te){return on(xe,Te)})}function Ot(xe,He,Te){He.constructor===xe.constructor&&Te===we&&He.constructor.resolve===de?mt(xe,He):Te===void 0?Rt(xe,He):s(Te)?ut(xe,He,Te):Rt(xe,He)}function Ee(xe,He){if(xe===He)on(xe,je());else if(N(He)){var Te=void 0;try{Te=He.then}catch(pe){on(xe,pe);return}Ot(xe,He,Te)}else Rt(xe,He)}function kt(xe){xe._onerror&&xe._onerror(xe._result),T(xe)}function Rt(xe,He){xe._state===ve&&(xe._result=He,xe._state=ee,xe._subscribers.length!==0&&B(T,xe))}function on(xe,He){xe._state===ve&&(xe._state=se,xe._result=He,B(kt,xe))}function Mt(xe,He,Te,pe){var ge=xe._subscribers,Ve=ge.length;xe._onerror=null,ge[Ve]=He,ge[Ve+ee]=Te,ge[Ve+se]=pe,Ve===0&&xe._state&&B(T,xe)}function T(xe){var He=xe._subscribers,Te=xe._state;if(He.length!==0){for(var pe=void 0,ge=void 0,Ve=xe._result,yt=0;yt<He.length;yt+=3)pe=He[yt],ge=He[yt+Te],pe?Ye(Te,pe,ge,Ve):ge(Ve);xe._subscribers.length=0}}function Ye(xe,He,Te,pe){var ge=s(Te),Ve=void 0,yt=void 0,ht=!0;if(ge){try{Ve=Te(pe)}catch(Tt){ht=!1,yt=Tt}if(He===Ve){on(He,Pe());return}}else Ve=pe;He._state!==ve||(ge&&ht?Ee(He,Ve):ht===!1?on(He,yt):xe===ee?Rt(He,Ve):xe===se&&on(He,Ve))}function E(xe,He){try{He(function(pe){Ee(xe,pe)},function(pe){on(xe,pe)})}catch(Te){on(xe,Te)}}var u=0;function a(){return u++}function p(xe){xe[Be]=u++,xe._state=void 0,xe._result=void 0,xe._subscribers=[]}function M(){return new Error("Array Methods must be provided an Array")}var re=function(){function xe(He,Te){this._instanceConstructor=He,this.promise=new He(ne),this.promise[Be]||p(this.promise),S(Te)?(this.length=Te.length,this._remaining=Te.length,this._result=new Array(this.length),this.length===0?Rt(this.promise,this._result):(this.length=this.length||0,this._enumerate(Te),this._remaining===0&&Rt(this.promise,this._result))):on(this.promise,M())}return xe.prototype._enumerate=function(Te){for(var pe=0;this._state===ve&&pe<Te.length;pe++)this._eachEntry(Te[pe],pe)},xe.prototype._eachEntry=function(Te,pe){var ge=this._instanceConstructor,Ve=ge.resolve;if(Ve===de){var yt=void 0,ht=void 0,Tt=!1;try{yt=Te.then}catch(tn){Tt=!0,ht=tn}if(yt===we&&Te._state!==ve)this._settledAt(Te._state,pe,Te._result);else if(typeof yt!="function")this._remaining--,this._result[pe]=Te;else if(ge===Se){var sn=new ge(ne);Tt?on(sn,ht):Ot(sn,Te,yt),this._willSettleAt(sn,pe)}else this._willSettleAt(new ge(function(tn){return tn(Te)}),pe)}else this._willSettleAt(Ve(Te),pe)},xe.prototype._settledAt=function(Te,pe,ge){var Ve=this.promise;Ve._state===ve&&(this._remaining--,Te===se?on(Ve,ge):this._result[pe]=ge),this._remaining===0&&Rt(Ve,this._result)},xe.prototype._willSettleAt=function(Te,pe){var ge=this;Mt(Te,void 0,function(Ve){return ge._settledAt(ee,pe,Ve)},function(Ve){return ge._settledAt(se,pe,Ve)})},xe}();function C(xe){return new re(this,xe).promise}function j(xe){var He=this;return S(xe)?new He(function(Te,pe){for(var ge=xe.length,Ve=0;Ve<ge;Ve++)He.resolve(xe[Ve]).then(Te,pe)}):new He(function(Te,pe){return pe(new TypeError("You must pass an array to race."))})}function me(xe){var He=this,Te=new He(ne);return on(Te,xe),Te}function Ae(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ie(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var Se=function(){function xe(He){this[Be]=a(),this._result=this._state=void 0,this._subscribers=[],ne!==He&&(typeof He!="function"&&Ae(),this instanceof xe?E(this,He):ie())}return xe.prototype.catch=function(Te){return this.then(null,Te)},xe.prototype.finally=function(Te){var pe=this,ge=pe.constructor;return s(Te)?pe.then(function(Ve){return ge.resolve(Te()).then(function(){return Ve})},function(Ve){return ge.resolve(Te()).then(function(){throw Ve})}):pe.then(Te,Te)},xe}();Se.prototype.then=we,Se.all=C,Se.race=j,Se.resolve=de,Se.reject=me,Se._setScheduler=W,Se._setAsap=Q,Se._asap=B;function Ge(){var xe=void 0;if(typeof h.g!="undefined")xe=h.g;else if(typeof self!="undefined")xe=self;else try{xe=Function("return this")()}catch(pe){throw new Error("polyfill failed because global object is unavailable in this environment")}var He=xe.Promise;if(He){var Te=null;try{Te=Object.prototype.toString.call(He.resolve())}catch(pe){}if(Te==="[object Promise]"&&!He.cast)return}xe.Promise=Se}return Se.polyfill=Ge,Se.Promise=Se,Se})},html2canvas:function(m){"use strict";m.exports=H},jspdf:function(m){"use strict";m.exports=fe}},R={};function $(m){var N=R[m];if(N!==void 0)return N.exports;var s=R[m]={exports:{}};return be[m].call(s.exports,s,s.exports,$),s.exports}(function(){$.n=function(m){var N=m&&m.__esModule?function(){return m.default}:function(){return m};return $.d(N,{a:N}),N}})(),function(){$.d=function(m,N){for(var s in N)$.o(N,s)&&!$.o(m,s)&&Object.defineProperty(m,s,{enumerable:!0,get:N[s]})}}(),function(){$.o=function(m,N){return Object.prototype.hasOwnProperty.call(m,N)}}(),function(){$.r=function(m){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})}}();var v={};return function(){"use strict";$.r(v);var m=$("./src/worker.js"),N=$("./src/plugin/jspdf-plugin.js"),s=$("./src/plugin/pagebreaks.js"),L=$("./src/plugin/hyperlinks.js"),S=function w(x,_){var B=new w.Worker(_);return x?B.from(x).save():B};S.Worker=m.default,v.default=S}(),v=v.default,v}()})},67467:function(tr,Ct){Ct.read=function(h,ye,fe,H,be){var R,$,v=be*8-H-1,m=(1<<v)-1,N=m>>1,s=-7,L=fe?be-1:0,S=fe?-1:1,w=h[ye+L];for(L+=S,R=w&(1<<-s)-1,w>>=-s,s+=v;s>0;R=R*256+h[ye+L],L+=S,s-=8);for($=R&(1<<-s)-1,R>>=-s,s+=H;s>0;$=$*256+h[ye+L],L+=S,s-=8);if(R===0)R=1-N;else{if(R===m)return $?NaN:(w?-1:1)*(1/0);$=$+Math.pow(2,H),R=R-N}return(w?-1:1)*$*Math.pow(2,R-H)},Ct.write=function(h,ye,fe,H,be,R){var $,v,m,N=R*8-be-1,s=(1<<N)-1,L=s>>1,S=be===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=H?0:R-1,x=H?1:-1,_=ye<0||ye===0&&1/ye<0?1:0;for(ye=Math.abs(ye),isNaN(ye)||ye===1/0?(v=isNaN(ye)?1:0,$=s):($=Math.floor(Math.log(ye)/Math.LN2),ye*(m=Math.pow(2,-$))<1&&($--,m*=2),$+L>=1?ye+=S/m:ye+=S*Math.pow(2,1-L),ye*m>=2&&($++,m/=2),$+L>=s?(v=0,$=s):$+L>=1?(v=(ye*m-1)*Math.pow(2,be),$=$+L):(v=ye*Math.pow(2,L-1)*Math.pow(2,be),$=0));be>=8;h[fe+w]=v&255,w+=x,v/=256,be-=8);for($=$<<be|v,N+=be;N>0;h[fe+w]=$&255,w+=x,$/=256,N-=8);h[fe+w-x]|=_*128}},65355:function(tr,Ct,h){"use strict";h.r(Ct),h.d(Ct,{AcroForm:function(){return ll},AcroFormAppearance:function(){return Dr},AcroFormButton:function(){return qi},AcroFormCheckBox:function(){return Go},AcroFormChoiceField:function(){return $r},AcroFormComboBox:function(){return vi},AcroFormEditBox:function(){return hi},AcroFormListBox:function(){return Ao},AcroFormPasswordField:function(){return eo},AcroFormPushButton:function(){return yo},AcroFormRadioButton:function(){return zi},AcroFormTextField:function(){return Uo},GState:function(){return Wd},ShadingPattern:function(){return Kc},TilingPattern:function(){return zc},default:function(){return Fi},jsPDF:function(){return Fi}});var ye=h(76190),fe={},H=function(e,n,t,r,i){var A=new Worker(fe[n]||(fe[n]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return A.onmessage=function(b){var y=b.data,I=y.$e$;if(I){var P=new Error(I[0]);P.code=I[1],P.stack=I[2],i(P,null)}else i(null,y)},A.postMessage(t,r),A},be=Uint8Array,R=Uint16Array,$=Int32Array,v=new be([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),m=new be([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),N=new be([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=function(e,n){for(var t=new R(31),r=0;r<31;++r)t[r]=n+=1<<e[r-1];for(var i=new $(t[30]),r=1;r<30;++r)for(var A=t[r];A<t[r+1];++A)i[A]=A-t[r]<<5|r;return{b:t,r:i}},L=s(v,2),S=L.b,w=L.r;S[28]=258,w[258]=28;for(var x=s(m,0),_=x.b,B=x.r,W=new R(32768),Q=0;Q<32768;++Q){var q=(Q&43690)>>1|(Q&21845)<<1;q=(q&52428)>>2|(q&13107)<<2,q=(q&61680)>>4|(q&3855)<<4,W[Q]=((q&65280)>>8|(q&255)<<8)>>1}for(var Y=function(e,n,t){for(var r=e.length,i=0,A=new R(n);i<r;++i)e[i]&&++A[e[i]-1];var b=new R(n);for(i=1;i<n;++i)b[i]=b[i-1]+A[i-1]<<1;var y;if(t){y=new R(1<<n);var I=15-n;for(i=0;i<r;++i)if(e[i])for(var P=i<<4|e[i],X=n-e[i],Ce=b[e[i]-1]++<<X,Le=Ce|(1<<X)-1;Ce<=Le;++Ce)y[W[Ce]>>I]=P}else for(y=new R(r),i=0;i<r;++i)e[i]&&(y[i]=W[b[e[i]-1]++]>>15-e[i]);return y},G=new be(288),Q=0;Q<144;++Q)G[Q]=8;for(var Q=144;Q<256;++Q)G[Q]=9;for(var Q=256;Q<280;++Q)G[Q]=7;for(var Q=280;Q<288;++Q)G[Q]=8;for(var D=new be(32),Q=0;Q<32;++Q)D[Q]=5;var O=Y(G,9,0),J=null,K=Y(D,5,0),le=null,ae=function(e){for(var n=e[0],t=1;t<e.length;++t)e[t]>n&&(n=e[t]);return n},he=function(e,n,t){var r=n/8|0;return(e[r]|e[r+1]<<8)>>(n&7)&t},k=function(e,n){var t=n/8|0;return(e[t]|e[t+1]<<8|e[t+2]<<16)>>(n&7)},Ue=function(e){return(e+7)/8|0},F=function(e,n,t){return(n==null||n<0)&&(n=0),(t==null||t>e.length)&&(t=e.length),new be(e.subarray(n,t))},De={UnexpectedEOF:0,InvalidBlockType:1,InvalidLengthLiteral:2,InvalidDistance:3,StreamFinished:4,NoStreamHandler:5,InvalidHeader:6,NoCallback:7,InvalidUTF8:8,ExtraFieldTooLong:9,InvalidDate:10,FilenameTooLong:11,StreamFinishing:12,InvalidZipData:13,UnknownCompressionMethod:14},we=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],de=function(e,n,t){var r=new Error(n||we[e]);if(r.code=e,Error.captureStackTrace&&Error.captureStackTrace(r,de),!t)throw r;return r},Be=function(e,n,t,r){var i=e.length,A=r?r.length:0;if(!i||n.f&&!n.l)return t||new be(0);var b=!t,y=b||n.i!=2,I=n.i;b&&(t=new be(i*3));var P=function(vr){var ri=t.length;if(vr>ri){var ai=new be(Math.max(ri*2,vr));ai.set(t),t=ai}},X=n.f||0,Ce=n.p||0,Le=n.b||0,V=n.l,tt=n.d,Je=n.m,rt=n.n,ke=i*8;do{if(!V){X=he(e,Ce,1);var Ut=he(e,Ce+1,3);if(Ce+=3,Ut)if(Ut==1)V=J,tt=le,Je=9,rt=5;else if(Ut==2){var jn=he(e,Ce,31)+257,Cn=he(e,Ce+10,15)+4,Dt=jn+he(e,Ce+5,31)+1;Ce+=14;for(var ft=new be(Dt),nn=new be(19),$e=0;$e<Cn;++$e)nn[N[$e]]=he(e,Ce+$e*3,7);Ce+=Cn*3;for(var it=ae(nn),St=(1<<it)-1,Bt=Y(nn,it,1),$e=0;$e<Dt;){var vn=Bt[he(e,Ce,St)];Ce+=vn&15;var wt=vn>>4;if(wt<16)ft[$e++]=wt;else{var Bn=0,In=0;for(wt==16?(In=3+he(e,Ce,3),Ce+=2,Bn=ft[$e-1]):wt==17?(In=3+he(e,Ce,7),Ce+=3):wt==18&&(In=11+he(e,Ce,127),Ce+=7);In--;)ft[$e++]=Bn}}var cn=ft.subarray(0,jn),Nn=ft.subarray(jn);Je=ae(cn),rt=ae(Nn),V=Y(cn,Je,1),tt=Y(Nn,rt,1)}else de(1);else{var wt=Ue(Ce)+4,dt=e[wt-4]|e[wt-3]<<8,fn=wt+dt;if(fn>i){I&&de(0);break}y&&P(Le+dt),t.set(e.subarray(wt,fn),Le),n.b=Le+=dt,n.p=Ce=fn*8,n.f=X;continue}if(Ce>ke){I&&de(0);break}}y&&P(Le+131072);for(var _r=(1<<Je)-1,rr=(1<<rt)-1,Me=Ce;;Me=Ce){var Bn=V[k(e,Ce)&_r],ct=Bn>>4;if(Ce+=Bn&15,Ce>ke){I&&de(0);break}if(Bn||de(2),ct<256)t[Le++]=ct;else if(ct==256){Me=Ce,V=null;break}else{var vt=ct-254;if(ct>264){var $e=ct-257,_t=v[$e];vt=he(e,Ce,(1<<_t)-1)+S[$e],Ce+=_t}var zt=tt[k(e,Ce)&rr],un=zt>>4;zt||de(3),Ce+=zt&15;var Nn=_[un];if(un>3){var _t=m[un];Nn+=k(e,Ce)&(1<<_t)-1,Ce+=_t}if(Ce>ke){I&&de(0);break}y&&P(Le+131072);var En=Le+vt;if(Le<Nn){var bn=A-Nn,Gn=Math.min(Nn,En);for(bn+Le<0&&de(3);Le<Gn;++Le)t[Le]=r[bn+Le]}for(;Le<En;++Le)t[Le]=t[Le-Nn]}}n.l=V,n.p=Me,n.b=Le,n.f=X,V&&(X=1,n.m=Je,n.d=tt,n.n=rt)}while(!X);return Le!=t.length&&b?F(t,0,Le):t.subarray(0,Le)},ne=function(e,n,t){t<<=n&7;var r=n/8|0;e[r]|=t,e[r+1]|=t>>8},ve=function(e,n,t){t<<=n&7;var r=n/8|0;e[r]|=t,e[r+1]|=t>>8,e[r+2]|=t>>16},ee=function(e,n){for(var t=[],r=0;r<e.length;++r)e[r]&&t.push({s:r,f:e[r]});var i=t.length,A=t.slice();if(!i)return{t:Ot,l:0};if(i==1){var b=new be(t[0].s+1);return b[t[0].s]=1,{t:b,l:1}}t.sort(function(fn,jn){return fn.f-jn.f}),t.push({s:-1,f:25001});var y=t[0],I=t[1],P=0,X=1,Ce=2;for(t[0]={s:-1,f:y.f+I.f,l:y,r:I};X!=i-1;)y=t[t[P].f<t[Ce].f?P++:Ce++],I=t[P!=X&&t[P].f<t[Ce].f?P++:Ce++],t[X++]={s:-1,f:y.f+I.f,l:y,r:I};for(var Le=A[0].s,r=1;r<i;++r)A[r].s>Le&&(Le=A[r].s);var V=new R(Le+1),tt=se(t[X-1],V,0);if(tt>n){var r=0,Je=0,rt=tt-n,ke=1<<rt;for(A.sort(function(jn,Cn){return V[Cn.s]-V[jn.s]||jn.f-Cn.f});r<i;++r){var Ut=A[r].s;if(V[Ut]>n)Je+=ke-(1<<tt-V[Ut]),V[Ut]=n;else break}for(Je>>=rt;Je>0;){var wt=A[r].s;V[wt]<n?Je-=1<<n-V[wt]++-1:++r}for(;r>=0&&Je;--r){var dt=A[r].s;V[dt]==n&&(--V[dt],++Je)}tt=n}return{t:new be(V),l:tt}},se=function(e,n,t){return e.s==-1?Math.max(se(e.l,n,t+1),se(e.r,n,t+1)):n[e.s]=t},je=function(e){for(var n=e.length;n&&!e[--n];);for(var t=new R(++n),r=0,i=e[0],A=1,b=function(I){t[r++]=I},y=1;y<=n;++y)if(e[y]==i&&y!=n)++A;else{if(!i&&A>2){for(;A>138;A-=138)b(32754);A>2&&(b(A>10?A-11<<5|28690:A-3<<5|12305),A=0)}else if(A>3){for(b(i),--A;A>6;A-=6)b(8304);A>2&&(b(A-3<<5|8208),A=0)}for(;A--;)b(i);A=1,i=e[y]}return{c:t.subarray(0,r),n}},Pe=function(e,n){for(var t=0,r=0;r<n.length;++r)t+=e[r]*n[r];return t},Oe=function(e,n,t){var r=t.length,i=Ue(n+2);e[i]=r&255,e[i+1]=r>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var A=0;A<r;++A)e[i+A+4]=t[A];return(i+4+r)*8},ut=function(e,n,t,r,i,A,b,y,I,P,X){ne(n,X++,t),++i[256];for(var Ce=ee(i,15),Le=Ce.t,V=Ce.l,tt=ee(A,15),Je=tt.t,rt=tt.l,ke=je(Le),Ut=ke.c,wt=ke.n,dt=je(Je),fn=dt.c,jn=dt.n,Cn=new R(19),Dt=0;Dt<Ut.length;++Dt)++Cn[Ut[Dt]&31];for(var Dt=0;Dt<fn.length;++Dt)++Cn[fn[Dt]&31];for(var ft=ee(Cn,7),nn=ft.t,$e=ft.l,it=19;it>4&&!nn[N[it-1]];--it);var St=P+5<<3,Bt=Pe(i,G)+Pe(A,D)+b,vn=Pe(i,Le)+Pe(A,Je)+b+14+3*it+Pe(Cn,nn)+2*Cn[16]+3*Cn[17]+7*Cn[18];if(I>=0&&St<=Bt&&St<=vn)return Oe(n,X,e.subarray(I,I+P));var Bn,In,cn,Nn;if(ne(n,X,1+(vn<Bt)),X+=2,vn<Bt){Bn=Y(Le,V,0),In=Le,cn=Y(Je,rt,0),Nn=Je;var _r=Y(nn,$e,0);ne(n,X,wt-257),ne(n,X+5,jn-1),ne(n,X+10,it-4),X+=14;for(var Dt=0;Dt<it;++Dt)ne(n,X+3*Dt,nn[N[Dt]]);X+=3*it;for(var rr=[Ut,fn],Me=0;Me<2;++Me)for(var ct=rr[Me],Dt=0;Dt<ct.length;++Dt){var vt=ct[Dt]&31;ne(n,X,_r[vt]),X+=nn[vt],vt>15&&(ne(n,X,ct[Dt]>>5&127),X+=ct[Dt]>>12)}}else Bn=O,In=G,cn=K,Nn=D;for(var Dt=0;Dt<y;++Dt){var _t=r[Dt];if(_t>255){var vt=_t>>18&31;ve(n,X,Bn[vt+257]),X+=In[vt+257],vt>7&&(ne(n,X,_t>>23&31),X+=v[vt]);var zt=_t&31;ve(n,X,cn[zt]),X+=Nn[zt],zt>3&&(ve(n,X,_t>>5&8191),X+=m[zt])}else ve(n,X,Bn[_t]),X+=In[_t]}return ve(n,X,Bn[256]),X+In[256]},mt=new $([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ot=new be(0),Ee=function(e,n,t,r,i,A){var b=A.z||e.length,y=new be(r+b+5*(1+Math.ceil(b/7e3))+i),I=y.subarray(r,y.length-i),P=A.l,X=(A.r||0)&7;if(n){X&&(I[0]=A.r>>3);for(var Ce=mt[n-1],Le=Ce>>13,V=Ce&8191,tt=(1<<t)-1,Je=A.p||new R(32768),rt=A.h||new R(tt+1),ke=Math.ceil(t/3),Ut=2*ke,wt=function(Rn){return(e[Rn]^e[Rn+1]<<ke^e[Rn+2]<<Ut)&tt},dt=new $(25e3),fn=new R(288),jn=new R(32),Cn=0,Dt=0,ft=A.i||0,nn=0,$e=A.w||0,it=0;ft+2<b;++ft){var St=wt(ft),Bt=ft&32767,vn=rt[St];if(Je[Bt]=vn,rt[St]=Bt,$e<=ft){var Bn=b-ft;if((Cn>7e3||nn>24576)&&(Bn>423||!P)){X=ut(e,I,0,dt,fn,jn,Dt,nn,it,ft-it,X),nn=Cn=Dt=0,it=ft;for(var In=0;In<286;++In)fn[In]=0;for(var In=0;In<30;++In)jn[In]=0}var cn=2,Nn=0,_r=V,rr=Bt-vn&32767;if(Bn>2&&St==wt(ft-rr))for(var Me=Math.min(Le,Bn)-1,ct=Math.min(32767,ft),vt=Math.min(258,Bn);rr<=ct&&--_r&&Bt!=vn;){if(e[ft+cn]==e[ft+cn-rr]){for(var _t=0;_t<vt&&e[ft+_t]==e[ft+_t-rr];++_t);if(_t>cn){if(cn=_t,Nn=rr,_t>Me)break;for(var zt=Math.min(rr,_t-2),un=0,In=0;In<zt;++In){var En=ft-rr+In&32767,bn=Je[En],Gn=En-bn&32767;Gn>un&&(un=Gn,vn=En)}}}Bt=vn,vn=Je[Bt],rr+=Bt-vn&32767}if(Nn){dt[nn++]=268435456|w[cn]<<18|B[Nn];var vr=w[cn]&31,ri=B[Nn]&31;Dt+=v[vr]+m[ri],++fn[257+vr],++jn[ri],$e=ft+cn,++Cn}else dt[nn++]=e[ft],++fn[e[ft]]}}for(ft=Math.max(ft,$e);ft<b;++ft)dt[nn++]=e[ft],++fn[e[ft]];X=ut(e,I,P,dt,fn,jn,Dt,nn,it,ft-it,X),P||(A.r=X&7|I[X/8|0]<<3,X-=7,A.h=rt,A.p=Je,A.i=ft,A.w=$e)}else{for(var ft=A.w||0;ft<b+P;ft+=65535){var ai=ft+65535;ai>=b&&(I[X/8|0]=P,ai=b),X=Oe(I,X+1,e.subarray(ft,ai))}A.i=b}return F(y,0,r+Ue(X)+i)},kt=null,Rt=function(){var e=-1;return{p:function(n){for(var t=e,r=0;r<n.length;++r)t=kt[t&255^n[r]]^t>>>8;e=t},d:function(){return~e}}},on=function(){var e=1,n=0;return{p:function(t){for(var r=e,i=n,A=t.length|0,b=0;b!=A;){for(var y=Math.min(b+2655,A);b<y;++b)i+=r+=t[b];r=(r&65535)+15*(r>>16),i=(i&65535)+15*(i>>16)}e=r,n=i},d:function(){return e%=65521,n%=65521,(e&255)<<24|(e&65280)<<8|(n&255)<<8|n>>8}}},Mt=function(e,n,t,r,i){if(!i&&(i={l:1},n.dictionary)){var A=n.dictionary.subarray(-32768),b=new be(A.length+e.length);b.set(A),b.set(e,A.length),e=b,i.w=A.length}return Ee(e,n.level==null?6:n.level,n.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+n.mem,t,r,i)},T=function(e,n){var t={};for(var r in e)t[r]=e[r];for(var r in n)t[r]=n[r];return t},Ye=function(e,n,t){for(var r=e(),i=e.toString(),A=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/\s+/g,"").split(","),b=0;b<r.length;++b){var y=r[b],I=A[b];if(typeof y=="function"){n+=";"+I+"=";var P=y.toString();if(y.prototype)if(P.indexOf("[native code]")!=-1){var X=P.indexOf(" ",8)+1;n+=P.slice(X,P.indexOf("(",X))}else{n+=P;for(var Ce in y.prototype)n+=";"+I+".prototype."+Ce+"="+y.prototype[Ce].toString()}else n+=P}else t[I]=y}return n},E=null,u=function(e){var n=[];for(var t in e)e[t].buffer&&n.push((e[t]=new e[t].constructor(e[t])).buffer);return n},a=function(e,n,t,r){if(!E[t]){for(var i="",A={},b=e.length-1,y=0;y<b;++y)i=Ye(e[y],i,A);E[t]={c:Ye(e[b],i,A),e:A}}var I=T({},E[t].e);return H(E[t].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+n.toString()+"}",t,I,u(I),r)},p=function(){return[be,R,$,v,m,N,S,_,J,le,W,we,Y,ae,he,k,Ue,F,de,Be,zr,Ae,ie]},M=function(){return[be,R,$,v,m,N,w,B,O,G,K,D,W,mt,Ot,Y,ne,ve,ee,se,je,Pe,Oe,ut,Ue,F,Ee,Mt,Sn,Ae]},re=function(){return[Ve,Tt,ge,Rt,kt]},C=function(){return[yt,ht]},j=function(){return[sn,ge,on]},me=function(){return[tn]},Ae=function(e){return postMessage(e,[e.buffer])},ie=function(e){return e&&{out:e.size&&new be(e.size),dictionary:e.dictionary}},Se=function(e,n,t,r,i,A){var b=a(t,r,i,function(y,I){b.terminate(),A(y,I)});return b.postMessage([e,n],n.consume?[e.buffer]:[]),function(){b.terminate()}},Ge=function(e){return e.ondata=function(n,t){return postMessage([n,t],[n.buffer])},function(n){n.data.length?(e.push(n.data[0],n.data[1]),postMessage([n.data[0].length])):e.flush()}},xe=function(e,n,t,r,i,A,b){var y,I=a(e,r,i,function(P,X){P?(I.terminate(),n.ondata.call(n,P)):Array.isArray(X)?X.length==1?(n.queuedSize-=X[0],n.ondrain&&n.ondrain(X[0])):(X[1]&&I.terminate(),n.ondata.call(n,P,X[0],X[1])):b(X)});I.postMessage(t),n.queuedSize=0,n.push=function(P,X){n.ondata||de(5),y&&n.ondata(de(4,0,1),null,!!X),n.queuedSize+=P.length,I.postMessage([P,y=X],[P.buffer])},n.terminate=function(){I.terminate()},A&&(n.flush=function(){I.postMessage([])})},He=function(e,n){return e[n]|e[n+1]<<8},Te=function(e,n){return(e[n]|e[n+1]<<8|e[n+2]<<16|e[n+3]<<24)>>>0},pe=function(e,n){return Te(e,n)+Te(e,n+4)*4294967296},ge=function(e,n,t){for(;t;++n)e[n]=t,t>>>=8},Ve=function(e,n){var t=n.filename;if(e[0]=31,e[1]=139,e[2]=8,e[8]=n.level<2?4:n.level==9?2:0,e[9]=3,n.mtime!=0&&ge(e,4,Math.floor(new Date(n.mtime||Date.now())/1e3)),t){e[3]=8;for(var r=0;r<=t.length;++r)e[r+10]=t.charCodeAt(r)}},yt=function(e){(e[0]!=31||e[1]!=139||e[2]!=8)&&de(6,"invalid gzip data");var n=e[3],t=10;n&4&&(t+=(e[10]|e[11]<<8)+2);for(var r=(n>>3&1)+(n>>4&1);r>0;r-=!e[t++]);return t+(n&2)},ht=function(e){var n=e.length;return(e[n-4]|e[n-3]<<8|e[n-2]<<16|e[n-1]<<24)>>>0},Tt=function(e){return 10+(e.filename?e.filename.length+1:0)},sn=function(e,n){var t=n.level,r=t==0?0:t<6?1:t==9?3:2;if(e[0]=120,e[1]=r<<6|(n.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,n.dictionary){var i=on();i.p(n.dictionary),ge(e,2,i.d())}},tn=function(e,n){return((e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31)&&de(6,"invalid zlib data"),(e[1]>>5&1)==+!n&&de(6,"invalid zlib data: "+(e[1]&32?"need":"unexpected")+" dictionary"),(e[1]>>3&4)+2};function pn(e,n){return typeof e=="function"&&(n=e,e={}),this.ondata=n,e}var mn=null,qt=null;function gn(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),Se(e,n,[M],function(r){return Ae(Sn(r.data[0],r.data[1]))},0,t)}function Sn(e,n){return Mt(e,n||{},0,0)}var Jn=null,Br=null;function Xn(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),Se(e,n,[p],function(r){return Ae(zr(r.data[0],ie(r.data[1])))},1,t)}function zr(e,n){return Be(e,{i:2},n&&n.out,n&&n.dictionary)}var pi=null,yn=null;function Vr(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),Se(e,n,[M,re,function(){return[Nt]}],function(r){return Ae(Nt(r.data[0],r.data[1]))},2,t)}function Nt(e,n){n||(n={});var t=Rt(),r=e.length;t.p(e);var i=Mt(e,n,Tt(n),8),A=i.length;return Ve(i,n),ge(i,A-8,t.d()),ge(i,A-4,r),i}var qr=null,Yi=null;function bi(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),Se(e,n,[p,C,function(){return[Pi]}],function(r){return Ae(Pi(r.data[0],r.data[1]))},3,t)}function Pi(e,n){var t=yt(e);return t+8>e.length&&de(6,"invalid gzip data"),Be(e.subarray(t,-8),{i:2},n&&n.out||new be(ht(e)),n&&n.dictionary)}var Io=null,Ni=null;function Qr(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),Se(e,n,[M,j,function(){return[Ei]}],function(r){return Ae(Ei(r.data[0],r.data[1]))},4,t)}function Ei(e,n){n||(n={});var t=on();t.p(e);var r=Mt(e,n,n.dictionary?6:2,4);return sn(r,n),ge(r,r.length-4,t.d()),r}var nt=null,Jt=null;function An(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),Se(e,n,[p,me,function(){return[Ke]}],function(r){return Ae(Ke(r.data[0],ie(r.data[1])))},5,t)}function Ke(e,n){return Be(e.subarray(tn(e,n&&n.dictionary),-4),{i:2},n&&n.out,n&&n.dictionary)}var ze=null,en=null;function Zt(e,n,t){return t||(t=n,n={}),typeof t!="function"&&de(7),e[0]==31&&e[1]==139&&e[2]==8?bi(e,n,t):(e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?Xn(e,n,t):An(e,n,t)}function Tn(e,n){return e[0]==31&&e[1]==139&&e[2]==8?Pi(e,n):(e[0]&15)!=8||e[0]>>4>7||(e[0]<<8|e[1])%31?zr(e,n):Ke(e,n)}var hn=function(e,n,t,r){for(var i in e){var A=e[i],b=n+i,y=r;Array.isArray(A)&&(y=T(r,A[1]),A=A[0]),A instanceof be?t[b]=[A,y]:(t[b+="/"]=[new be(0),y],hn(A,b,t,r))}},Un=typeof TextEncoder!="undefined"&&new TextEncoder,Hn=typeof TextDecoder!="undefined"&&new TextDecoder,kn=0;try{Hn.decode(Ot,{stream:!0}),kn=1}catch(e){}var cr=function(e){for(var n="",t=0;;){var r=e[t++],i=(r>127)+(r>223)+(r>239);if(t+i>e.length)return{s:n,r:F(e,t-1)};i?i==3?(r=((r&15)<<18|(e[t++]&63)<<12|(e[t++]&63)<<6|e[t++]&63)-65536,n+=String.fromCharCode(55296|r>>10,56320|r&1023)):i&1?n+=String.fromCharCode((r&31)<<6|e[t++]&63):n+=String.fromCharCode((r&15)<<12|(e[t++]&63)<<6|e[t++]&63):n+=String.fromCharCode(r)}},Ln=null,qn=null;function sr(e,n){if(n){for(var t=new be(e.length),r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t}if(Un)return Un.encode(e);for(var i=e.length,A=new be(e.length+(e.length>>1)),b=0,y=function(X){A[b++]=X},r=0;r<i;++r){if(b+5>A.length){var I=new be(b+8+(i-r<<1));I.set(A),A=I}var P=e.charCodeAt(r);P<128||n?y(P):P<2048?(y(192|P>>6),y(128|P&63)):P>55295&&P<57344?(P=65536+(P&1047552)|e.charCodeAt(++r)&1023,y(240|P>>18),y(128|P>>12&63),y(128|P>>6&63),y(128|P&63)):(y(224|P>>12),y(128|P>>6&63),y(128|P&63))}return F(A,0,b)}function Kn(e,n){if(n){for(var t="",r=0;r<e.length;r+=16384)t+=String.fromCharCode.apply(null,e.subarray(r,r+16384));return t}else{if(Hn)return Hn.decode(e);var i=cr(e),A=i.s,t=i.r;return t.length&&de(8),A}}var ur=function(e){return e==1?3:e<6?2:e==9?1:0},ir=function(e,n){return n+30+He(e,n+26)+He(e,n+28)},Gr=function(e,n,t){var r=He(e,n+28),i=Kn(e.subarray(n+46,n+46+r),!(He(e,n+8)&2048)),A=n+46+r,b=Te(e,n+20),y=t&&b==4294967295?Er(e,A):[b,Te(e,n+24),Te(e,n+42)],I=y[0],P=y[1],X=y[2];return[He(e,n+10),I,P,i,A+He(e,n+30)+He(e,n+32),X]},Er=function(e,n){for(;He(e,n)!=1;n+=4+He(e,n+2));return[pe(e,n+12),pe(e,n+4),pe(e,n+20)]},Qn=function(e){var n=0;if(e)for(var t in e){var r=e[t].length;r>65535&&de(9),n+=r+4}return n},gt=function(e,n,t,r,i,A,b,y){var I=r.length,P=t.extra,X=y&&y.length,Ce=Qn(P);ge(e,n,b!=null?33639248:67324752),n+=4,b!=null&&(e[n++]=20,e[n++]=t.os),e[n]=20,n+=2,e[n++]=t.flag<<1|(A<0&&8),e[n++]=i&&8,e[n++]=t.compression&255,e[n++]=t.compression>>8;var Le=new Date(t.mtime==null?Date.now():t.mtime),V=Le.getFullYear()-1980;if((V<0||V>119)&&de(10),ge(e,n,V<<25|Le.getMonth()+1<<21|Le.getDate()<<16|Le.getHours()<<11|Le.getMinutes()<<5|Le.getSeconds()>>1),n+=4,A!=-1&&(ge(e,n,t.crc),ge(e,n+4,A<0?-A-2:A),ge(e,n+8,t.size)),ge(e,n+12,I),ge(e,n+14,Ce),n+=16,b!=null&&(ge(e,n,X),ge(e,n+6,t.attrs),ge(e,n+10,b),n+=14),e.set(r,n),n+=I,Ce)for(var tt in P){var Je=P[tt],rt=Je.length;ge(e,n,+tt),ge(e,n+2,rt),e.set(Je,n+4),n+=4+rt}return X&&(e.set(y,n),n+=X),n},Ft=function(e,n,t,r,i){ge(e,n,101010256),ge(e,n+8,t),ge(e,n+10,t),ge(e,n+12,r),ge(e,n+16,i)},Qt=null,Xt=null,Wt=null,Pn=null;function wn(e,n,t){t||(t=n,n={}),typeof t!="function"&&de(7);var r={};hn(e,"",r,n);var i=Object.keys(r),A=i.length,b=0,y=0,I=A,P=new Array(A),X=[],Ce=function(){for(var rt=0;rt<X.length;++rt)X[rt]()},Le=function(rt,ke){Xr(function(){t(rt,ke)})};Xr(function(){Le=t});var V=function(){var rt=new be(y+22),ke=b,Ut=y-b;y=0;for(var wt=0;wt<I;++wt){var dt=P[wt];try{var fn=dt.c.length;gt(rt,y,dt,dt.f,dt.u,fn);var jn=30+dt.f.length+Qn(dt.extra),Cn=y+jn;rt.set(dt.c,Cn),gt(rt,b,dt,dt.f,dt.u,fn,y,dt.m),b+=16+jn+(dt.m?dt.m.length:0),y=Cn+fn}catch(Dt){return Le(Dt,null)}}Ft(rt,b,P.length,Ut,ke),Le(null,rt)};A||V();for(var tt=function(rt){var ke=i[rt],Ut=r[ke],wt=Ut[0],dt=Ut[1],fn=Rt(),jn=wt.length;fn.p(wt);var Cn=sr(ke),Dt=Cn.length,ft=dt.comment,nn=ft&&sr(ft),$e=nn&&nn.length,it=Qn(dt.extra),St=dt.level==0?0:8,Bt=function(vn,Bn){if(vn)Ce(),Le(vn,null);else{var In=Bn.length;P[rt]=T(dt,{size:jn,crc:fn.d(),c:Bn,f:Cn,m:nn,u:Dt!=ke.length||nn&&ft.length!=$e,compression:St}),b+=30+Dt+it+In,y+=76+2*(Dt+it)+($e||0)+In,--A||V()}};if(Dt>65535&&Bt(de(11,0,1),null),!St)Bt(null,wt);else if(jn<16e4)try{Bt(null,Sn(wt,dt))}catch(vn){Bt(vn,null)}else X.push(gn(wt,dt,Bt))},Je=0;Je<I;++Je)tt(Je);return Ce}function ar(e,n){n||(n={});var t={},r=[];hn(e,"",t,n);var i=0,A=0;for(var b in t){var y=t[b],I=y[0],P=y[1],X=P.level==0?0:8,Ce=sr(b),Le=Ce.length,V=P.comment,tt=V&&sr(V),Je=tt&&tt.length,rt=Qn(P.extra);Le>65535&&de(11);var ke=X?Sn(I,P):I,Ut=ke.length,wt=Rt();wt.p(I),r.push(T(P,{size:I.length,crc:wt.d(),c:ke,f:Ce,m:tt,u:Le!=b.length||tt&&V.length!=Je,o:i,compression:X})),i+=30+Le+rt+Ut,A+=76+2*(Le+rt)+(Je||0)+Ut}for(var dt=new be(A+22),fn=i,jn=A-i,Cn=0;Cn<r.length;++Cn){var Ce=r[Cn];gt(dt,Ce.o,Ce,Ce.f,Ce.u,Ce.c.length);var Dt=30+Ce.f.length+Qn(Ce.extra);dt.set(Ce.c,Ce.o+Dt),gt(dt,i,Ce,Ce.f,Ce.u,Ce.c.length,Ce.o,Ce.m),i+=16+Dt+(Ce.m?Ce.m.length:0)}return Ft(dt,i,r.length,jn,fn),dt}var wr=null,Nr=null,ni=null,Mr=null,Xr=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(e){e()};function Ht(e,n,t){t||(t=n,n={}),typeof t!="function"&&de(7);var r=[],i=function(){for(var rt=0;rt<r.length;++rt)r[rt]()},A={},b=function(rt,ke){Xr(function(){t(rt,ke)})};Xr(function(){b=t});for(var y=e.length-22;Te(e,y)!=101010256;--y)if(!y||e.length-y>65558)return b(de(13,0,1),null),i;var I=He(e,y+8);if(I){var P=I,X=Te(e,y+16),Ce=X==4294967295||P==65535;if(Ce){var Le=Te(e,y-12);Ce=Te(e,Le)==101075792,Ce&&(P=I=Te(e,Le+32),X=Te(e,Le+48))}for(var V=n&&n.filter,tt=function(rt){var ke=Gr(e,X,Ce),Ut=ke[0],wt=ke[1],dt=ke[2],fn=ke[3],jn=ke[4],Cn=ke[5],Dt=ir(e,Cn);X=jn;var ft=function($e,it){$e?(i(),b($e,null)):(it&&(A[fn]=it),--I||b(null,A))};if(!V||V({name:fn,size:wt,originalSize:dt,compression:Ut}))if(!Ut)ft(null,F(e,Dt,Dt+wt));else if(Ut==8){var nn=e.subarray(Dt,Dt+wt);if(dt<524288||wt>.8*dt)try{ft(null,zr(nn,{out:new be(dt)}))}catch($e){ft($e,null)}else r.push(Xn(nn,{size:dt},ft))}else ft(de(14,"unknown compression type "+Ut,1),null);else ft(null,null)},Je=0;Je<P;++Je)tt(Je)}else b(null,{});return i}function Zn(e,n){for(var t={},r=e.length-22;Te(e,r)!=101010256;--r)(!r||e.length-r>65558)&&de(13);var i=He(e,r+8);if(!i)return{};var A=Te(e,r+16),b=A==4294967295||i==65535;if(b){var y=Te(e,r-12);b=Te(e,y)==101075792,b&&(i=Te(e,y+32),A=Te(e,y+48))}for(var I=n&&n.filter,P=0;P<i;++P){var X=Gr(e,A,b),Ce=X[0],Le=X[1],V=X[2],tt=X[3],Je=X[4],rt=X[5],ke=ir(e,rt);A=Je,(!I||I({name:tt,size:Le,originalSize:V,compression:Ce}))&&(Ce?Ce==8?t[tt]=zr(e.subarray(ke,ke+Le),{out:new be(V)}):de(14,"unknown compression type "+Ce):t[tt]=F(e,ke,ke+Le))}return t}var or=h(42978);function Sr(e,n="utf8"){return new TextDecoder(n).decode(e)}const Rr=new TextEncoder;function Yn(e){return Rr.encode(e)}const hr=1024*8,jr=(()=>{const e=new Uint8Array(4),n=new Uint32Array(e.buffer);return!((n[0]=1)&e[0])})(),kr={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class ei{constructor(n=hr,t={}){ya(this,"buffer");ya(this,"byteLength");ya(this,"byteOffset");ya(this,"length");ya(this,"offset");ya(this,"lastWrittenByte");ya(this,"littleEndian");ya(this,"_data");ya(this,"_mark");ya(this,"_marks");let r=!1;typeof n=="number"?n=new ArrayBuffer(n):(r=!0,this.lastWrittenByte=n.byteLength);const i=t.offset?t.offset>>>0:0,A=n.byteLength-i;let b=i;(ArrayBuffer.isView(n)||n instanceof ei)&&(n.byteLength!==n.buffer.byteLength&&(b=n.byteOffset+i),n=n.buffer),r?this.lastWrittenByte=A:this.lastWrittenByte=0,this.buffer=n,this.length=A,this.byteLength=A,this.byteOffset=b,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,b,A),this._mark=0,this._marks=[]}available(n=1){return this.offset+n<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(n=1){return this.offset+=n,this}back(n=1){return this.offset-=n,this}seek(n){return this.offset=n,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const n=this._marks.pop();if(n===void 0)throw new Error("Mark stack empty");return this.seek(n),this}rewind(){return this.offset=0,this}ensureAvailable(n=1){if(!this.available(n)){const r=(this.offset+n)*2,i=new Uint8Array(r);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(n=1){return this.readArray(n,"uint8")}readArray(n,t){const r=kr[t].BYTES_PER_ELEMENT*n,i=this.byteOffset+this.offset,A=this.buffer.slice(i,i+r);if(this.littleEndian===jr&&t!=="uint8"&&t!=="int8"){const y=new Uint8Array(this.buffer.slice(i,i+r));y.reverse();const I=new kr[t](y.buffer);return this.offset+=r,I.reverse(),I}const b=new kr[t](A);return this.offset+=r,b}readInt16(){const n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){const n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){const n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){const n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){const n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){const n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){const n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){const n=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,n}readChar(){return String.fromCharCode(this.readInt8())}readChars(n=1){let t="";for(let r=0;r<n;r++)t+=this.readChar();return t}readUtf8(n=1){return Sr(this.readBytes(n))}decodeText(n=1,t="utf8"){return Sr(this.readBytes(n),t)}writeBoolean(n){return this.writeUint8(n?255:0),this}writeInt8(n){return this.ensureAvailable(1),this._data.setInt8(this.offset++,n),this._updateLastWrittenByte(),this}writeUint8(n){return this.ensureAvailable(1),this._data.setUint8(this.offset++,n),this._updateLastWrittenByte(),this}writeByte(n){return this.writeUint8(n)}writeBytes(n){this.ensureAvailable(n.length);for(let t=0;t<n.length;t++)this._data.setUint8(this.offset++,n[t]);return this._updateLastWrittenByte(),this}writeInt16(n){return this.ensureAvailable(2),this._data.setInt16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(n){return this.ensureAvailable(2),this._data.setUint16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(n){return this.ensureAvailable(4),this._data.setInt32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(n){return this.ensureAvailable(4),this._data.setUint32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(n){return this.ensureAvailable(4),this._data.setFloat32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(n){return this.ensureAvailable(8),this._data.setFloat64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(n){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(n){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(n){return this.writeUint8(n.charCodeAt(0))}writeChars(n){for(let t=0;t<n.length;t++)this.writeUint8(n.charCodeAt(t));return this}writeUtf8(n){return this.writeBytes(Yn(n))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}const Ji=4,Cr=0,Wn=1,Fn=2;function Lr(e){let n=e.length;for(;--n>=0;)e[n]=0}const Ur=0,Zr=1,wi=2,Vi=3,zo=258,uo=29,Fo=256,Ir=Fo+1+uo,dr=30,Ai=19,Ii=2*Ir+1,so=15,Za=16,bo=7,Zo=256,Jo=16,ja=17,Na=18,lA=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Xo=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),La=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),cA=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),vA=512,_a=new Array((Ir+2)*2);Lr(_a);const da=new Array(dr*2);Lr(da);const qa=new Array(vA);Lr(qa);const GA=new Array(zo-Vi+1);Lr(GA);const NA=new Array(uo);Lr(NA);const ms=new Array(dr);Lr(ms);function Is(e,n,t,r,i){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}let Fs,yA,Ys;function Us(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}const Os=e=>e<256?qa[e]:qa[256+(e>>>7)],jA=(e,n)=>{e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255},wa=(e,n,t)=>{e.bi_valid>Za-t?(e.bi_buf|=n<<e.bi_valid&65535,jA(e,e.bi_buf),e.bi_buf=n>>Za-e.bi_valid,e.bi_valid+=t-Za):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)},Hr=(e,n,t)=>{wa(e,t[n*2],t[n*2+1])},Di=(e,n)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1},Bi=e=>{e.bi_valid===16?(jA(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Li=(e,n)=>{const t=n.dyn_tree,r=n.max_code,i=n.stat_desc.static_tree,A=n.stat_desc.has_stree,b=n.stat_desc.extra_bits,y=n.stat_desc.extra_base,I=n.stat_desc.max_length;let P,X,Ce,Le,V,tt,Je=0;for(Le=0;Le<=so;Le++)e.bl_count[Le]=0;for(t[e.heap[e.heap_max]*2+1]=0,P=e.heap_max+1;P<Ii;P++)X=e.heap[P],Le=t[t[X*2+1]*2+1]+1,Le>I&&(Le=I,Je++),t[X*2+1]=Le,!(X>r)&&(e.bl_count[Le]++,V=0,X>=y&&(V=b[X-y]),tt=t[X*2],e.opt_len+=tt*(Le+V),A&&(e.static_len+=tt*(i[X*2+1]+V)));if(Je!==0){do{for(Le=I-1;e.bl_count[Le]===0;)Le--;e.bl_count[Le]--,e.bl_count[Le+1]+=2,e.bl_count[I]--,Je-=2}while(Je>0);for(Le=I;Le!==0;Le--)for(X=e.bl_count[Le];X!==0;)Ce=e.heap[--P],!(Ce>r)&&(t[Ce*2+1]!==Le&&(e.opt_len+=(Le-t[Ce*2+1])*t[Ce*2],t[Ce*2+1]=Le),X--)}},po=(e,n,t)=>{const r=new Array(so+1);let i=0,A,b;for(A=1;A<=so;A++)i=i+t[A-1]<<1,r[A]=i;for(b=0;b<=n;b++){let y=e[b*2+1];y!==0&&(e[b*2]=Di(r[y]++,y))}},qo=()=>{let e,n,t,r,i;const A=new Array(so+1);for(t=0,r=0;r<uo-1;r++)for(NA[r]=t,e=0;e<1<<lA[r];e++)GA[t++]=r;for(GA[t-1]=r,i=0,r=0;r<16;r++)for(ms[r]=i,e=0;e<1<<Xo[r];e++)qa[i++]=r;for(i>>=7;r<dr;r++)for(ms[r]=i<<7,e=0;e<1<<Xo[r]-7;e++)qa[256+i++]=r;for(n=0;n<=so;n++)A[n]=0;for(e=0;e<=143;)_a[e*2+1]=8,e++,A[8]++;for(;e<=255;)_a[e*2+1]=9,e++,A[9]++;for(;e<=279;)_a[e*2+1]=7,e++,A[7]++;for(;e<=287;)_a[e*2+1]=8,e++,A[8]++;for(po(_a,Ir+1,A),e=0;e<dr;e++)da[e*2+1]=5,da[e*2]=Di(e,5);Fs=new Is(_a,lA,Fo+1,Ir,so),yA=new Is(da,Xo,0,dr,so),Ys=new Is(new Array(0),La,0,Ai,bo)},wA=e=>{let n;for(n=0;n<Ir;n++)e.dyn_ltree[n*2]=0;for(n=0;n<dr;n++)e.dyn_dtree[n*2]=0;for(n=0;n<Ai;n++)e.bl_tree[n*2]=0;e.dyn_ltree[Zo*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},Wa=e=>{e.bi_valid>8?jA(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},Ha=(e,n,t,r)=>{const i=n*2,A=t*2;return e[i]<e[A]||e[i]===e[A]&&r[n]<=r[t]},Va=(e,n,t)=>{const r=e.heap[t];let i=t<<1;for(;i<=e.heap_len&&(i<e.heap_len&&Ha(n,e.heap[i+1],e.heap[i],e.depth)&&i++,!Ha(n,r,e.heap[i],e.depth));)e.heap[t]=e.heap[i],t=i,i<<=1;e.heap[t]=r},Ns=(e,n,t)=>{let r,i,A=0,b,y;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+A++]&255,r+=(e.pending_buf[e.sym_buf+A++]&255)<<8,i=e.pending_buf[e.sym_buf+A++],r===0?Hr(e,i,n):(b=GA[i],Hr(e,b+Fo+1,n),y=lA[b],y!==0&&(i-=NA[b],wa(e,i,y)),r--,b=Os(r),Hr(e,b,t),y=Xo[b],y!==0&&(r-=ms[b],wa(e,r,y)));while(A<e.sym_next);Hr(e,Zo,n)},Ls=(e,n)=>{const t=n.dyn_tree,r=n.stat_desc.static_tree,i=n.stat_desc.has_stree,A=n.stat_desc.elems;let b,y,I=-1,P;for(e.heap_len=0,e.heap_max=Ii,b=0;b<A;b++)t[b*2]!==0?(e.heap[++e.heap_len]=I=b,e.depth[b]=0):t[b*2+1]=0;for(;e.heap_len<2;)P=e.heap[++e.heap_len]=I<2?++I:0,t[P*2]=1,e.depth[P]=0,e.opt_len--,i&&(e.static_len-=r[P*2+1]);for(n.max_code=I,b=e.heap_len>>1;b>=1;b--)Va(e,t,b);P=A;do b=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Va(e,t,1),y=e.heap[1],e.heap[--e.heap_max]=b,e.heap[--e.heap_max]=y,t[P*2]=t[b*2]+t[y*2],e.depth[P]=(e.depth[b]>=e.depth[y]?e.depth[b]:e.depth[y])+1,t[b*2+1]=t[y*2+1]=P,e.heap[1]=P++,Va(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Li(e,n),po(t,I,e.bl_count)},bl=(e,n,t)=>{let r,i=-1,A,b=n[0*2+1],y=0,I=7,P=4;for(b===0&&(I=138,P=3),n[(t+1)*2+1]=65535,r=0;r<=t;r++)A=b,b=n[(r+1)*2+1],!(++y<I&&A===b)&&(y<P?e.bl_tree[A*2]+=y:A!==0?(A!==i&&e.bl_tree[A*2]++,e.bl_tree[Jo*2]++):y<=10?e.bl_tree[ja*2]++:e.bl_tree[Na*2]++,y=0,i=A,b===0?(I=138,P=3):A===b?(I=6,P=3):(I=7,P=4))},vs=(e,n,t)=>{let r,i=-1,A,b=n[0*2+1],y=0,I=7,P=4;for(b===0&&(I=138,P=3),r=0;r<=t;r++)if(A=b,b=n[(r+1)*2+1],!(++y<I&&A===b)){if(y<P)do Hr(e,A,e.bl_tree);while(--y!==0);else A!==0?(A!==i&&(Hr(e,A,e.bl_tree),y--),Hr(e,Jo,e.bl_tree),wa(e,y-3,2)):y<=10?(Hr(e,ja,e.bl_tree),wa(e,y-3,3)):(Hr(e,Na,e.bl_tree),wa(e,y-11,7));y=0,i=A,b===0?(I=138,P=3):A===b?(I=6,P=3):(I=7,P=4)}},LA=e=>{let n;for(bl(e,e.dyn_ltree,e.l_desc.max_code),bl(e,e.dyn_dtree,e.d_desc.max_code),Ls(e,e.bl_desc),n=Ai-1;n>=3&&e.bl_tree[cA[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n},pA=(e,n,t,r)=>{let i;for(wa(e,n-257,5),wa(e,t-1,5),wa(e,r-4,4),i=0;i<r;i++)wa(e,e.bl_tree[cA[i]*2+1],3);vs(e,e.dyn_ltree,n-1),vs(e,e.dyn_dtree,t-1)},ea=e=>{let n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return Cr;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Wn;for(t=32;t<Fo;t++)if(e.dyn_ltree[t*2]!==0)return Wn;return Cr};let Js=!1;const Rl=e=>{Js||(qo(),Js=!0),e.l_desc=new Us(e.dyn_ltree,Fs),e.d_desc=new Us(e.dyn_dtree,yA),e.bl_desc=new Us(e.bl_tree,Ys),e.bi_buf=0,e.bi_valid=0,wA(e)},XA=(e,n,t,r)=>{wa(e,(Ur<<1)+(r?1:0),3),Wa(e),jA(e,t),jA(e,~t),t&&e.pending_buf.set(e.window.subarray(n,n+t),e.pending),e.pending+=t},qs=e=>{wa(e,Zr<<1,3),Hr(e,Zo,_a),Bi(e)},as=(e,n,t,r)=>{let i,A,b=0;e.level>0?(e.strm.data_type===Fn&&(e.strm.data_type=ea(e)),Ls(e,e.l_desc),Ls(e,e.d_desc),b=LA(e),i=e.opt_len+3+7>>>3,A=e.static_len+3+7>>>3,A<=i&&(i=A)):i=A=t+5,t+4<=i&&n!==-1?XA(e,n,t,r):e.strategy===Ji||A===i?(wa(e,(Zr<<1)+(r?1:0),3),Ns(e,_a,da)):(wa(e,(wi<<1)+(r?1:0),3),pA(e,e.l_desc.max_code+1,e.d_desc.max_code+1,b+1),Ns(e,e.dyn_ltree,e.dyn_dtree)),wA(e),r&&Wa(e)},ac=(e,n,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=n,e.pending_buf[e.sym_buf+e.sym_next++]=n>>8,e.pending_buf[e.sym_buf+e.sym_next++]=t,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(GA[t]+Fo+1)*2]++,e.dyn_dtree[Os(n)*2]++),e.sym_next===e.sym_end);var ys=Rl,Ga=XA,Ac=as,eA=ac,fl=qs,_s={_tr_init:ys,_tr_stored_block:Ga,_tr_flush_block:Ac,_tr_tally:eA,_tr_align:fl},xo=(e,n,t,r)=>{let i=e&65535|0,A=e>>>16&65535|0,b=0;for(;t!==0;){b=t>2e3?2e3:t,t-=b;do i=i+n[r++]|0,A=A+i|0;while(--b);i%=65521,A%=65521}return i|A<<16|0};const sc=()=>{let e,n=[];for(var t=0;t<256;t++){e=t;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n},lc=new Uint32Array(sc());var xa=(e,n,t,r)=>{const i=lc,A=r+t;e^=-1;for(let b=r;b<A;b++)e=e>>>8^i[(e^n[b])&255];return e^-1},Ki={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"},ji={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:gA,_tr_stored_block:Po,_tr_flush_block:ta,_tr_tally:na,_tr_align:Yo}=_s,{Z_NO_FLUSH:ba,Z_PARTIAL_FLUSH:YA,Z_FULL_FLUSH:hl,Z_FINISH:$a,Z_BLOCK:Tl,Z_OK:bA,Z_STREAM_END:tl,Z_STREAM_ERROR:tA,Z_DATA_ERROR:iu,Z_BUF_ERROR:Ml,Z_DEFAULT_COMPRESSION:jl,Z_FILTERED:Pu,Z_HUFFMAN_ONLY:Hl,Z_RLE:Du,Z_FIXED:ws,Z_DEFAULT_STRATEGY:ou,Z_UNKNOWN:Qa,Z_DEFLATED:ra}=ji,fa=9,As=15,JA=8,Cl=256+1+29,au=30,Au=19,cc=2*Cl+1,Pc=15,Wo=3,nl=258,xl=nl+Wo+1,ih=32,$l=42,yf=57,Ru=69,wf=73,wd=91,bf=103,uc=113,Tu=666,BA=1,su=2,dc=3,kl=4,oh=3,Dc=(e,n)=>(e.msg=Ki[n],n),Bf=e=>e*2-(e>4?9:0),fc=e=>{let n=e.length;for(;--n>=0;)e[n]=0},Mu=e=>{let n,t,r,i=e.w_size;n=e.hash_size,r=n;do t=e.head[--r],e.head[r]=t>=i?t-i:0;while(--n);n=i,r=n;do t=e.prev[--r],e.prev[r]=t>=i?t-i:0;while(--n)};let Kl=(e,n,t)=>(n<<e.hash_shift^t)&e.hash_mask;const ks=e=>{const n=e.state;let t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+t),e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))},Qs=(e,n)=>{ta(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,ks(e.strm)},ia=(e,n)=>{e.pending_buf[e.pending++]=n},Rc=(e,n)=>{e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255},Cf=(e,n,t,r)=>{let i=e.avail_in;return i>r&&(i=r),i===0?0:(e.avail_in-=i,n.set(e.input.subarray(e.next_in,e.next_in+i),t),e.state.wrap===1?e.adler=xo(e.adler,n,i,t):e.state.wrap===2&&(e.adler=xa(e.adler,n,i,t)),e.next_in+=i,e.total_in+=i,i)},xf=(e,n)=>{let t=e.max_chain_length,r=e.strstart,i,A,b=e.prev_length,y=e.nice_match;const I=e.strstart>e.w_size-xl?e.strstart-(e.w_size-xl):0,P=e.window,X=e.w_mask,Ce=e.prev,Le=e.strstart+nl;let V=P[r+b-1],tt=P[r+b];e.prev_length>=e.good_match&&(t>>=2),y>e.lookahead&&(y=e.lookahead);do if(i=n,!(P[i+b]!==tt||P[i+b-1]!==V||P[i]!==P[r]||P[++i]!==P[r+1])){r+=2,i++;do;while(P[++r]===P[++i]&&P[++r]===P[++i]&&P[++r]===P[++i]&&P[++r]===P[++i]&&P[++r]===P[++i]&&P[++r]===P[++i]&&P[++r]===P[++i]&&P[++r]===P[++i]&&r<Le);if(A=nl-(Le-r),r=Le-nl,A>b){if(e.match_start=n,b=A,A>=y)break;V=P[r+b-1],tt=P[r+b]}}while((n=Ce[n&X])>I&&--t!==0);return b<=e.lookahead?b:e.lookahead},Tc=e=>{const n=e.w_size;let t,r,i;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-xl)&&(e.window.set(e.window.subarray(n,n+n-r),0),e.match_start-=n,e.strstart-=n,e.block_start-=n,e.insert>e.strstart&&(e.insert=e.strstart),Mu(e),r+=n),e.strm.avail_in===0)break;if(t=Cf(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=t,e.lookahead+e.insert>=Wo)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=Kl(e,e.ins_h,e.window[i+1]);e.insert&&(e.ins_h=Kl(e,e.ins_h,e.window[i+Wo-1]),e.prev[i&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=i,i++,e.insert--,!(e.lookahead+e.insert<Wo)););}while(e.lookahead<xl&&e.strm.avail_in!==0)},lu=(e,n)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,i,A,b=0,y=e.strm.avail_in;do{if(r=65535,A=e.bi_valid+42>>3,e.strm.avail_out<A||(A=e.strm.avail_out-A,i=e.strstart-e.block_start,r>i+e.strm.avail_in&&(r=i+e.strm.avail_in),r>A&&(r=A),r<t&&(r===0&&n!==$a||n===ba||r!==i+e.strm.avail_in)))break;b=n===$a&&r===i+e.strm.avail_in?1:0,Po(e,0,0,b),e.pending_buf[e.pending-4]=r,e.pending_buf[e.pending-3]=r>>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,ks(e.strm),i&&(i>r&&(i=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,r-=i),r&&(Cf(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(b===0);return y-=e.strm.avail_in,y&&(y>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=y&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-y,e.strm.next_in),e.strstart),e.strstart+=y,e.insert+=y>e.w_size-e.insert?e.w_size-e.insert:y),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),b?kl:n!==ba&&n!==$a&&e.strm.avail_in===0&&e.strstart===e.block_start?su:(A=e.window_size-e.strstart,e.strm.avail_in>A&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,A+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),A>e.strm.avail_in&&(A=e.strm.avail_in),A&&(Cf(e.strm,e.window,e.strstart,A),e.strstart+=A,e.insert+=A>e.w_size-e.insert?e.w_size-e.insert:A),e.high_water<e.strstart&&(e.high_water=e.strstart),A=e.bi_valid+42>>3,A=e.pending_buf_size-A>65535?65535:e.pending_buf_size-A,t=A>e.w_size?e.w_size:A,i=e.strstart-e.block_start,(i>=t||(i||n===$a)&&n!==ba&&e.strm.avail_in===0&&i<=A)&&(r=i>A?A:i,b=n===$a&&e.strm.avail_in===0&&r===i?1:0,Po(e,e.block_start,r,b),e.block_start+=r,ks(e.strm)),b?dc:BA)},bd=(e,n)=>{let t,r;for(;;){if(e.lookahead<xl){if(Tc(e),e.lookahead<xl&&n===ba)return BA;if(e.lookahead===0)break}if(t=0,e.lookahead>=Wo&&(e.ins_h=Kl(e,e.ins_h,e.window[e.strstart+Wo-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-xl&&(e.match_length=xf(e,t)),e.match_length>=Wo)if(r=na(e,e.strstart-e.match_start,e.match_length-Wo),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Wo){e.match_length--;do e.strstart++,e.ins_h=Kl(e,e.ins_h,e.window[e.strstart+Wo-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Kl(e,e.ins_h,e.window[e.strstart+1]);else r=na(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Qs(e,!1),e.strm.avail_out===0))return BA}return e.insert=e.strstart<Wo-1?e.strstart:Wo-1,n===$a?(Qs(e,!0),e.strm.avail_out===0?dc:kl):e.sym_next&&(Qs(e,!1),e.strm.avail_out===0)?BA:su},Mc=(e,n)=>{let t,r,i;for(;;){if(e.lookahead<xl){if(Tc(e),e.lookahead<xl&&n===ba)return BA;if(e.lookahead===0)break}if(t=0,e.lookahead>=Wo&&(e.ins_h=Kl(e,e.ins_h,e.window[e.strstart+Wo-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Wo-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-xl&&(e.match_length=xf(e,t),e.match_length<=5&&(e.strategy===Pu||e.match_length===Wo&&e.strstart-e.match_start>4096)&&(e.match_length=Wo-1)),e.prev_length>=Wo&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-Wo,r=na(e,e.strstart-1-e.prev_match,e.prev_length-Wo),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=Kl(e,e.ins_h,e.window[e.strstart+Wo-1]),t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Wo-1,e.strstart++,r&&(Qs(e,!1),e.strm.avail_out===0))return BA}else if(e.match_available){if(r=na(e,0,e.window[e.strstart-1]),r&&Qs(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return BA}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=na(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Wo-1?e.strstart:Wo-1,n===$a?(Qs(e,!0),e.strm.avail_out===0?dc:kl):e.sym_next&&(Qs(e,!1),e.strm.avail_out===0)?BA:su},ah=(e,n)=>{let t,r,i,A;const b=e.window;for(;;){if(e.lookahead<=nl){if(Tc(e),e.lookahead<=nl&&n===ba)return BA;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Wo&&e.strstart>0&&(i=e.strstart-1,r=b[i],r===b[++i]&&r===b[++i]&&r===b[++i])){A=e.strstart+nl;do;while(r===b[++i]&&r===b[++i]&&r===b[++i]&&r===b[++i]&&r===b[++i]&&r===b[++i]&&r===b[++i]&&r===b[++i]&&i<A);e.match_length=nl-(A-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Wo?(t=na(e,1,e.match_length-Wo),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=na(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Qs(e,!1),e.strm.avail_out===0))return BA}return e.insert=0,n===$a?(Qs(e,!0),e.strm.avail_out===0?dc:kl):e.sym_next&&(Qs(e,!1),e.strm.avail_out===0)?BA:su},Ah=(e,n)=>{let t;for(;;){if(e.lookahead===0&&(Tc(e),e.lookahead===0)){if(n===ba)return BA;break}if(e.match_length=0,t=na(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Qs(e,!1),e.strm.avail_out===0))return BA}return e.insert=0,n===$a?(Qs(e,!0),e.strm.avail_out===0?dc:kl):e.sym_next&&(Qs(e,!1),e.strm.avail_out===0)?BA:su};function _A(e,n,t,r,i){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=r,this.func=i}const cu=[new _A(0,0,0,0,lu),new _A(4,4,8,4,bd),new _A(4,5,16,8,bd),new _A(4,6,32,32,bd),new _A(4,4,16,16,Mc),new _A(8,16,32,32,Mc),new _A(8,16,128,128,Mc),new _A(8,32,128,256,Mc),new _A(32,128,258,1024,Mc),new _A(32,258,258,4096,Mc)],sh=e=>{e.window_size=2*e.w_size,fc(e.head),e.max_lazy_match=cu[e.level].max_lazy,e.good_match=cu[e.level].good_length,e.nice_match=cu[e.level].nice_length,e.max_chain_length=cu[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Wo-1,e.match_available=0,e.ins_h=0};function te(){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=ra,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(cc*2),this.dyn_dtree=new Uint16Array((2*au+1)*2),this.bl_tree=new Uint16Array((2*Au+1)*2),fc(this.dyn_ltree),fc(this.dyn_dtree),fc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Pc+1),this.heap=new Uint16Array(2*Cl+1),fc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Cl+1),fc(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const ce=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.status!==$l&&n.status!==yf&&n.status!==Ru&&n.status!==wf&&n.status!==wd&&n.status!==bf&&n.status!==uc&&n.status!==Tu?1:0},Qe=e=>{if(ce(e))return Dc(e,tA);e.total_in=e.total_out=0,e.data_type=Qa;const n=e.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?yf:n.wrap?$l:uc,e.adler=n.wrap===2?0:1,n.last_flush=-2,gA(n),bA},We=e=>{const n=Qe(e);return n===bA&&sh(e.state),n},ot=(e,n)=>ce(e)||e.state.wrap!==2?tA:(e.state.gzhead=n,bA),at=(e,n,t,r,i,A)=>{if(!e)return tA;let b=1;if(n===jl&&(n=6),r<0?(b=0,r=-r):r>15&&(b=2,r-=16),i<1||i>fa||t!==ra||r<8||r>15||n<0||n>9||A<0||A>ws||r===8&&b!==1)return Dc(e,tA);r===8&&(r=9);const y=new te;return e.state=y,y.strm=e,y.status=$l,y.wrap=b,y.gzhead=null,y.w_bits=r,y.w_size=1<<y.w_bits,y.w_mask=y.w_size-1,y.hash_bits=i+7,y.hash_size=1<<y.hash_bits,y.hash_mask=y.hash_size-1,y.hash_shift=~~((y.hash_bits+Wo-1)/Wo),y.window=new Uint8Array(y.w_size*2),y.head=new Uint16Array(y.hash_size),y.prev=new Uint16Array(y.w_size),y.lit_bufsize=1<<i+6,y.pending_buf_size=y.lit_bufsize*4,y.pending_buf=new Uint8Array(y.pending_buf_size),y.sym_buf=y.lit_bufsize,y.sym_end=(y.lit_bufsize-1)*3,y.level=n,y.strategy=A,y.method=t,We(e)},Et=(e,n)=>at(e,n,ra,As,JA,ou),It=(e,n)=>{if(ce(e)||n>Tl||n<0)return e?Dc(e,tA):tA;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===Tu&&n!==$a)return Dc(e,e.avail_out===0?Ml:tA);const r=t.last_flush;if(t.last_flush=n,t.pending!==0){if(ks(e),e.avail_out===0)return t.last_flush=-1,bA}else if(e.avail_in===0&&Bf(n)<=Bf(r)&&n!==$a)return Dc(e,Ml);if(t.status===Tu&&e.avail_in!==0)return Dc(e,Ml);if(t.status===$l&&t.wrap===0&&(t.status=uc),t.status===$l){let i=ra+(t.w_bits-8<<4)<<8,A=-1;if(t.strategy>=Hl||t.level<2?A=0:t.level<6?A=1:t.level===6?A=2:A=3,i|=A<<6,t.strstart!==0&&(i|=ih),i+=31-i%31,Rc(t,i),t.strstart!==0&&(Rc(t,e.adler>>>16),Rc(t,e.adler&65535)),e.adler=1,t.status=uc,ks(e),t.pending!==0)return t.last_flush=-1,bA}if(t.status===yf){if(e.adler=0,ia(t,31),ia(t,139),ia(t,8),t.gzhead)ia(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),ia(t,t.gzhead.time&255),ia(t,t.gzhead.time>>8&255),ia(t,t.gzhead.time>>16&255),ia(t,t.gzhead.time>>24&255),ia(t,t.level===9?2:t.strategy>=Hl||t.level<2?4:0),ia(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(ia(t,t.gzhead.extra.length&255),ia(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=xa(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Ru;else if(ia(t,0),ia(t,0),ia(t,0),ia(t,0),ia(t,0),ia(t,t.level===9?2:t.strategy>=Hl||t.level<2?4:0),ia(t,oh),t.status=uc,ks(e),t.pending!==0)return t.last_flush=-1,bA}if(t.status===Ru){if(t.gzhead.extra){let i=t.pending,A=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+A>t.pending_buf_size;){let y=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+y),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>i&&(e.adler=xa(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex+=y,ks(e),t.pending!==0)return t.last_flush=-1,bA;i=0,A-=y}let b=new Uint8Array(t.gzhead.extra);t.pending_buf.set(b.subarray(t.gzindex,t.gzindex+A),t.pending),t.pending+=A,t.gzhead.hcrc&&t.pending>i&&(e.adler=xa(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex=0}t.status=wf}if(t.status===wf){if(t.gzhead.name){let i=t.pending,A;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>i&&(e.adler=xa(e.adler,t.pending_buf,t.pending-i,i)),ks(e),t.pending!==0)return t.last_flush=-1,bA;i=0}t.gzindex<t.gzhead.name.length?A=t.gzhead.name.charCodeAt(t.gzindex++)&255:A=0,ia(t,A)}while(A!==0);t.gzhead.hcrc&&t.pending>i&&(e.adler=xa(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex=0}t.status=wd}if(t.status===wd){if(t.gzhead.comment){let i=t.pending,A;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>i&&(e.adler=xa(e.adler,t.pending_buf,t.pending-i,i)),ks(e),t.pending!==0)return t.last_flush=-1,bA;i=0}t.gzindex<t.gzhead.comment.length?A=t.gzhead.comment.charCodeAt(t.gzindex++)&255:A=0,ia(t,A)}while(A!==0);t.gzhead.hcrc&&t.pending>i&&(e.adler=xa(e.adler,t.pending_buf,t.pending-i,i))}t.status=bf}if(t.status===bf){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(ks(e),t.pending!==0))return t.last_flush=-1,bA;ia(t,e.adler&255),ia(t,e.adler>>8&255),e.adler=0}if(t.status=uc,ks(e),t.pending!==0)return t.last_flush=-1,bA}if(e.avail_in!==0||t.lookahead!==0||n!==ba&&t.status!==Tu){let i=t.level===0?lu(t,n):t.strategy===Hl?Ah(t,n):t.strategy===Du?ah(t,n):cu[t.level].func(t,n);if((i===dc||i===kl)&&(t.status=Tu),i===BA||i===dc)return e.avail_out===0&&(t.last_flush=-1),bA;if(i===su&&(n===YA?Yo(t):n!==Tl&&(Po(t,0,0,!1),n===hl&&(fc(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),ks(e),e.avail_out===0))return t.last_flush=-1,bA}return n!==$a?bA:t.wrap<=0?tl:(t.wrap===2?(ia(t,e.adler&255),ia(t,e.adler>>8&255),ia(t,e.adler>>16&255),ia(t,e.adler>>24&255),ia(t,e.total_in&255),ia(t,e.total_in>>8&255),ia(t,e.total_in>>16&255),ia(t,e.total_in>>24&255)):(Rc(t,e.adler>>>16),Rc(t,e.adler&65535)),ks(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?bA:tl)},bt=e=>{if(ce(e))return tA;const n=e.state.status;return e.state=null,n===uc?Dc(e,iu):bA},Kt=(e,n)=>{let t=n.length;if(ce(e))return tA;const r=e.state,i=r.wrap;if(i===2||i===1&&r.status!==$l||r.lookahead)return tA;if(i===1&&(e.adler=xo(e.adler,n,t,0)),r.wrap=0,t>=r.w_size){i===0&&(fc(r.head),r.strstart=0,r.block_start=0,r.insert=0);let I=new Uint8Array(r.w_size);I.set(n.subarray(t-r.w_size,t),0),n=I,t=r.w_size}const A=e.avail_in,b=e.next_in,y=e.input;for(e.avail_in=t,e.next_in=0,e.input=n,Tc(r);r.lookahead>=Wo;){let I=r.strstart,P=r.lookahead-(Wo-1);do r.ins_h=Kl(r,r.ins_h,r.window[I+Wo-1]),r.prev[I&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=I,I++;while(--P);r.strstart=I,r.lookahead=Wo-1,Tc(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=Wo-1,r.match_available=0,e.next_in=b,e.input=y,e.avail_in=A,r.wrap=i,bA};var an=Et,Vt=at,Dn=We,xn=Qe,On=ot,pr=It,er=bt,fr=Kt,nr="pako deflate (from Nodeca project)",xr={deflateInit:an,deflateInit2:Vt,deflateReset:Dn,deflateResetKeep:xn,deflateSetHeader:On,deflate:pr,deflateEnd:er,deflateSetDictionary:fr,deflateInfo:nr};const si=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var di=function(e){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const t=n.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const r in t)si(t,r)&&(e[r]=t[r])}}return e},Wr=e=>{let n=0;for(let r=0,i=e.length;r<i;r++)n+=e[r].length;const t=new Uint8Array(n);for(let r=0,i=0,A=e.length;r<A;r++){let b=e[r];t.set(b,i),i+=b.length}return t},Ci={assign:di,flattenChunks:Wr};let Hi=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Hi=!1}const Or=new Uint8Array(256);for(let e=0;e<256;e++)Or[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Or[254]=Or[254]=1;var Yr=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let n,t,r,i,A,b=e.length,y=0;for(i=0;i<b;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<b&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(t=65536+(t-55296<<10)+(r-56320),i++)),y+=t<128?1:t<2048?2:t<65536?3:4;for(n=new Uint8Array(y),A=0,i=0;A<y;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<b&&(r=e.charCodeAt(i+1),(r&64512)===56320&&(t=65536+(t-55296<<10)+(r-56320),i++)),t<128?n[A++]=t:t<2048?(n[A++]=192|t>>>6,n[A++]=128|t&63):t<65536?(n[A++]=224|t>>>12,n[A++]=128|t>>>6&63,n[A++]=128|t&63):(n[A++]=240|t>>>18,n[A++]=128|t>>>12&63,n[A++]=128|t>>>6&63,n[A++]=128|t&63);return n};const Pr=(e,n)=>{if(n<65534&&e.subarray&&Hi)return String.fromCharCode.apply(null,e.length===n?e:e.subarray(0,n));let t="";for(let r=0;r<n;r++)t+=String.fromCharCode(e[r]);return t};var br=(e,n)=>{const t=n||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,n));let r,i;const A=new Array(t*2);for(i=0,r=0;r<t;){let b=e[r++];if(b<128){A[i++]=b;continue}let y=Or[b];if(y>4){A[i++]=65533,r+=y-1;continue}for(b&=y===2?31:y===3?15:7;y>1&&r<t;)b=b<<6|e[r++]&63,y--;if(y>1){A[i++]=65533;continue}b<65536?A[i++]=b:(b-=65536,A[i++]=55296|b>>10&1023,A[i++]=56320|b&1023)}return Pr(A,i)},Kr=(e,n)=>{n=n||e.length,n>e.length&&(n=e.length);let t=n-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?n:t+Or[e[t]]>n?t:n},gi={string2buf:Yr,buf2string:br,utf8border:Kr};function no(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Ri=no;const fi=Object.prototype.toString,{Z_NO_FLUSH:Gi,Z_SYNC_FLUSH:lo,Z_FULL_FLUSH:oa,Z_FINISH:Eo,Z_OK:ma,Z_STREAM_END:Pa,Z_DEFAULT_COMPRESSION:$i,Z_DEFAULT_STRATEGY:nA,Z_DEFLATED:Do}=ji;function aa(e){this.options=Ci.assign({level:$i,method:Do,chunkSize:16384,windowBits:15,memLevel:8,strategy:nA},e||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ri,this.strm.avail_out=0;let t=xr.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==ma)throw new Error(Ki[t]);if(n.header&&xr.deflateSetHeader(this.strm,n.header),n.dictionary){let r;if(typeof n.dictionary=="string"?r=gi.string2buf(n.dictionary):fi.call(n.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(n.dictionary):r=n.dictionary,t=xr.deflateSetDictionary(this.strm,r),t!==ma)throw new Error(Ki[t]);this._dict_set=!0}}aa.prototype.push=function(e,n){const t=this.strm,r=this.options.chunkSize;let i,A;if(this.ended)return!1;for(n===~~n?A=n:A=n===!0?Eo:Gi,typeof e=="string"?t.input=gi.string2buf(e):fi.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(r),t.next_out=0,t.avail_out=r),(A===lo||A===oa)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(i=xr.deflate(t,A),i===Pa)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),i=xr.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===ma;if(t.avail_out===0){this.onData(t.output);continue}if(A>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0},aa.prototype.onData=function(e){this.chunks.push(e)},aa.prototype.onEnd=function(e){e===ma&&(this.result=Ci.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function sa(e,n){const t=new aa(n);if(t.push(e,!0),t.err)throw t.msg||Ki[t.err];return t.result}function ss(e,n){return n=n||{},n.raw=!0,sa(e,n)}function Tr(e,n){return n=n||{},n.gzip=!0,sa(e,n)}var yi=aa,mi=sa,ii=ss,Ro=Tr,oi=ji,_i={Deflate:yi,deflate:mi,deflateRaw:ii,gzip:Ro,constants:oi};const fo=16209,go=16191;var HA=function(n,t){let r,i,A,b,y,I,P,X,Ce,Le,V,tt,Je,rt,ke,Ut,wt,dt,fn,jn,Cn,Dt,ft,nn;const $e=n.state;r=n.next_in,ft=n.input,i=r+(n.avail_in-5),A=n.next_out,nn=n.output,b=A-(t-n.avail_out),y=A+(n.avail_out-257),I=$e.dmax,P=$e.wsize,X=$e.whave,Ce=$e.wnext,Le=$e.window,V=$e.hold,tt=$e.bits,Je=$e.lencode,rt=$e.distcode,ke=(1<<$e.lenbits)-1,Ut=(1<<$e.distbits)-1;e:do{tt<15&&(V+=ft[r++]<<tt,tt+=8,V+=ft[r++]<<tt,tt+=8),wt=Je[V&ke];t:for(;;){if(dt=wt>>>24,V>>>=dt,tt-=dt,dt=wt>>>16&255,dt===0)nn[A++]=wt&65535;else if(dt&16){fn=wt&65535,dt&=15,dt&&(tt<dt&&(V+=ft[r++]<<tt,tt+=8),fn+=V&(1<<dt)-1,V>>>=dt,tt-=dt),tt<15&&(V+=ft[r++]<<tt,tt+=8,V+=ft[r++]<<tt,tt+=8),wt=rt[V&Ut];n:for(;;){if(dt=wt>>>24,V>>>=dt,tt-=dt,dt=wt>>>16&255,dt&16){if(jn=wt&65535,dt&=15,tt<dt&&(V+=ft[r++]<<tt,tt+=8,tt<dt&&(V+=ft[r++]<<tt,tt+=8)),jn+=V&(1<<dt)-1,jn>I){n.msg="invalid distance too far back",$e.mode=fo;break e}if(V>>>=dt,tt-=dt,dt=A-b,jn>dt){if(dt=jn-dt,dt>X&&$e.sane){n.msg="invalid distance too far back",$e.mode=fo;break e}if(Cn=0,Dt=Le,Ce===0){if(Cn+=P-dt,dt<fn){fn-=dt;do nn[A++]=Le[Cn++];while(--dt);Cn=A-jn,Dt=nn}}else if(Ce<dt){if(Cn+=P+Ce-dt,dt-=Ce,dt<fn){fn-=dt;do nn[A++]=Le[Cn++];while(--dt);if(Cn=0,Ce<fn){dt=Ce,fn-=dt;do nn[A++]=Le[Cn++];while(--dt);Cn=A-jn,Dt=nn}}}else if(Cn+=Ce-dt,dt<fn){fn-=dt;do nn[A++]=Le[Cn++];while(--dt);Cn=A-jn,Dt=nn}for(;fn>2;)nn[A++]=Dt[Cn++],nn[A++]=Dt[Cn++],nn[A++]=Dt[Cn++],fn-=3;fn&&(nn[A++]=Dt[Cn++],fn>1&&(nn[A++]=Dt[Cn++]))}else{Cn=A-jn;do nn[A++]=nn[Cn++],nn[A++]=nn[Cn++],nn[A++]=nn[Cn++],fn-=3;while(fn>2);fn&&(nn[A++]=nn[Cn++],fn>1&&(nn[A++]=nn[Cn++]))}}else if(dt&64){n.msg="invalid distance code",$e.mode=fo;break e}else{wt=rt[(wt&65535)+(V&(1<<dt)-1)];continue n}break}}else if(dt&64)if(dt&32){$e.mode=go;break e}else{n.msg="invalid literal/length code",$e.mode=fo;break e}else{wt=Je[(wt&65535)+(V&(1<<dt)-1)];continue t}break}}while(r<i&&A<y);fn=tt>>3,r-=fn,tt-=fn<<3,V&=(1<<tt)-1,n.next_in=r,n.next_out=A,n.avail_in=r<i?5+(i-r):5-(r-i),n.avail_out=A<y?257+(y-A):257-(A-y),$e.hold=V,$e.bits=tt};const Xa=15,Ks=852,Ya=592,bs=0,mr=1,qA=2,hc=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),To=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),co=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Ea=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var ha=(e,n,t,r,i,A,b,y)=>{const I=y.bits;let P=0,X=0,Ce=0,Le=0,V=0,tt=0,Je=0,rt=0,ke=0,Ut=0,wt,dt,fn,jn,Cn,Dt=null,ft;const nn=new Uint16Array(Xa+1),$e=new Uint16Array(Xa+1);let it=null,St,Bt,vn;for(P=0;P<=Xa;P++)nn[P]=0;for(X=0;X<r;X++)nn[n[t+X]]++;for(V=I,Le=Xa;Le>=1&&nn[Le]===0;Le--);if(V>Le&&(V=Le),Le===0)return i[A++]=1<<24|64<<16|0,i[A++]=1<<24|64<<16|0,y.bits=1,0;for(Ce=1;Ce<Le&&nn[Ce]===0;Ce++);for(V<Ce&&(V=Ce),rt=1,P=1;P<=Xa;P++)if(rt<<=1,rt-=nn[P],rt<0)return-1;if(rt>0&&(e===bs||Le!==1))return-1;for($e[1]=0,P=1;P<Xa;P++)$e[P+1]=$e[P]+nn[P];for(X=0;X<r;X++)n[t+X]!==0&&(b[$e[n[t+X]]++]=X);if(e===bs?(Dt=it=b,ft=20):e===mr?(Dt=hc,it=To,ft=257):(Dt=co,it=Ea,ft=0),Ut=0,X=0,P=Ce,Cn=A,tt=V,Je=0,fn=-1,ke=1<<V,jn=ke-1,e===mr&&ke>Ks||e===qA&&ke>Ya)return 1;for(;;){St=P-Je,b[X]+1<ft?(Bt=0,vn=b[X]):b[X]>=ft?(Bt=it[b[X]-ft],vn=Dt[b[X]-ft]):(Bt=96,vn=0),wt=1<<P-Je,dt=1<<tt,Ce=dt;do dt-=wt,i[Cn+(Ut>>Je)+dt]=St<<24|Bt<<16|vn|0;while(dt!==0);for(wt=1<<P-1;Ut&wt;)wt>>=1;if(wt!==0?(Ut&=wt-1,Ut+=wt):Ut=0,X++,--nn[P]===0){if(P===Le)break;P=n[t+b[X]]}if(P>V&&(Ut&jn)!==fn){for(Je===0&&(Je=V),Cn+=Ce,tt=P-Je,rt=1<<tt;tt+Je<Le&&(rt-=nn[tt+Je],!(rt<=0));)tt++,rt<<=1;if(ke+=1<<tt,e===mr&&ke>Ks||e===qA&&ke>Ya)return 1;fn=Ut&jn,i[fn]=V<<24|tt<<16|Cn-A|0}}return Ut!==0&&(i[Cn+Ut]=P-Je<<24|64<<16|0),y.bits=V,0};const ro=0,$A=1,QA=2,{Z_FINISH:ls,Z_BLOCK:es,Z_TREES:ts,Z_OK:Ps,Z_STREAM_END:El,Z_NEED_DICT:Ds,Z_STREAM_ERROR:Da,Z_DATA_ERROR:EA,Z_MEM_ERROR:rA,Z_BUF_ERROR:Sa,Z_DEFLATED:rl}=ji,pl=16180,Sl=16181,il=16182,uu=16183,ju=16184,mo=16185,la=16186,SA=16187,Ba=16188,IA=16189,PA=16190,Ra=16191,ol=16192,du=16193,fu=16194,Hu=16195,Bd=16196,Cd=16197,jc=16198,al=16199,pc=16200,xd=16201,$u=16202,Ed=16203,ku=16204,gc=16205,Ku=16206,Ef=16207,Sd=16208,Vo=16209,zu=16210,Sf=16211,lh=852,If=592,Fd=15,Zu=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function Ff(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const zl=e=>{if(!e)return 1;const n=e.state;return!n||n.strm!==e||n.mode<pl||n.mode>Sf?1:0},Ud=e=>{if(zl(e))return Da;const n=e.state;return e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=pl,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(lh),n.distcode=n.distdyn=new Int32Array(If),n.sane=1,n.back=-1,Ps},Wu=e=>{if(zl(e))return Da;const n=e.state;return n.wsize=0,n.whave=0,n.wnext=0,Ud(e)},Uf=(e,n)=>{let t;if(zl(e))return Da;const r=e.state;return n<0?(t=0,n=-n):(t=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?Da:(r.window!==null&&r.wbits!==n&&(r.window=null),r.wrap=t,r.wbits=n,Wu(e))},hu=(e,n)=>{if(!e)return Da;const t=new Ff;e.state=t,t.strm=e,t.window=null,t.mode=pl;const r=Uf(e,n);return r!==Ps&&(e.state=null),r},Vu=e=>hu(e,Fd);let FA=!0,Il,Gu;const ch=e=>{if(FA){Il=new Int32Array(512),Gu=new Int32Array(32);let n=0;for(;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(ha($A,e.lens,0,288,Il,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;ha(QA,e.lens,0,32,Gu,0,e.work,{bits:5}),FA=!1}e.lencode=Il,e.lenbits=9,e.distcode=Gu,e.distbits=5},$o=(e,n,t,r)=>{let i;const A=e.state;return A.window===null&&(A.wsize=1<<A.wbits,A.wnext=0,A.whave=0,A.window=new Uint8Array(A.wsize)),r>=A.wsize?(A.window.set(n.subarray(t-A.wsize,t),0),A.wnext=0,A.whave=A.wsize):(i=A.wsize-A.wnext,i>r&&(i=r),A.window.set(n.subarray(t-r,t-r+i),A.wnext),r-=i,r?(A.window.set(n.subarray(t-r,t),0),A.wnext=r,A.whave=A.wsize):(A.wnext+=i,A.wnext===A.wsize&&(A.wnext=0),A.whave<A.wsize&&(A.whave+=i))),0},pa=(e,n)=>{let t,r,i,A,b,y,I,P,X,Ce,Le,V,tt,Je,rt=0,ke,Ut,wt,dt,fn,jn,Cn,Dt;const ft=new Uint8Array(4);let nn,$e;const it=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(zl(e)||!e.output||!e.input&&e.avail_in!==0)return Da;t=e.state,t.mode===Ra&&(t.mode=ol),b=e.next_out,i=e.output,I=e.avail_out,A=e.next_in,r=e.input,y=e.avail_in,P=t.hold,X=t.bits,Ce=y,Le=I,Dt=Ps;e:for(;;)switch(t.mode){case pl:if(t.wrap===0){t.mode=ol;break}for(;X<16;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(t.wrap&2&&P===35615){t.wbits===0&&(t.wbits=15),t.check=0,ft[0]=P&255,ft[1]=P>>>8&255,t.check=xa(t.check,ft,2,0),P=0,X=0,t.mode=Sl;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((P&255)<<8)+(P>>8))%31){e.msg="incorrect header check",t.mode=Vo;break}if((P&15)!==rl){e.msg="unknown compression method",t.mode=Vo;break}if(P>>>=4,X-=4,Cn=(P&15)+8,t.wbits===0&&(t.wbits=Cn),Cn>15||Cn>t.wbits){e.msg="invalid window size",t.mode=Vo;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=P&512?IA:Ra,P=0,X=0;break;case Sl:for(;X<16;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(t.flags=P,(t.flags&255)!==rl){e.msg="unknown compression method",t.mode=Vo;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=Vo;break}t.head&&(t.head.text=P>>8&1),t.flags&512&&t.wrap&4&&(ft[0]=P&255,ft[1]=P>>>8&255,t.check=xa(t.check,ft,2,0)),P=0,X=0,t.mode=il;case il:for(;X<32;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}t.head&&(t.head.time=P),t.flags&512&&t.wrap&4&&(ft[0]=P&255,ft[1]=P>>>8&255,ft[2]=P>>>16&255,ft[3]=P>>>24&255,t.check=xa(t.check,ft,4,0)),P=0,X=0,t.mode=uu;case uu:for(;X<16;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}t.head&&(t.head.xflags=P&255,t.head.os=P>>8),t.flags&512&&t.wrap&4&&(ft[0]=P&255,ft[1]=P>>>8&255,t.check=xa(t.check,ft,2,0)),P=0,X=0,t.mode=ju;case ju:if(t.flags&1024){for(;X<16;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}t.length=P,t.head&&(t.head.extra_len=P),t.flags&512&&t.wrap&4&&(ft[0]=P&255,ft[1]=P>>>8&255,t.check=xa(t.check,ft,2,0)),P=0,X=0}else t.head&&(t.head.extra=null);t.mode=mo;case mo:if(t.flags&1024&&(V=t.length,V>y&&(V=y),V&&(t.head&&(Cn=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(r.subarray(A,A+V),Cn)),t.flags&512&&t.wrap&4&&(t.check=xa(t.check,r,V,A)),y-=V,A+=V,t.length-=V),t.length))break e;t.length=0,t.mode=la;case la:if(t.flags&2048){if(y===0)break e;V=0;do Cn=r[A+V++],t.head&&Cn&&t.length<65536&&(t.head.name+=String.fromCharCode(Cn));while(Cn&&V<y);if(t.flags&512&&t.wrap&4&&(t.check=xa(t.check,r,V,A)),y-=V,A+=V,Cn)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=SA;case SA:if(t.flags&4096){if(y===0)break e;V=0;do Cn=r[A+V++],t.head&&Cn&&t.length<65536&&(t.head.comment+=String.fromCharCode(Cn));while(Cn&&V<y);if(t.flags&512&&t.wrap&4&&(t.check=xa(t.check,r,V,A)),y-=V,A+=V,Cn)break e}else t.head&&(t.head.comment=null);t.mode=Ba;case Ba:if(t.flags&512){for(;X<16;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(t.wrap&4&&P!==(t.check&65535)){e.msg="header crc mismatch",t.mode=Vo;break}P=0,X=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=Ra;break;case IA:for(;X<32;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}e.adler=t.check=Zu(P),P=0,X=0,t.mode=PA;case PA:if(t.havedict===0)return e.next_out=b,e.avail_out=I,e.next_in=A,e.avail_in=y,t.hold=P,t.bits=X,Ds;e.adler=t.check=1,t.mode=Ra;case Ra:if(n===es||n===ts)break e;case ol:if(t.last){P>>>=X&7,X-=X&7,t.mode=Ku;break}for(;X<3;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}switch(t.last=P&1,P>>>=1,X-=1,P&3){case 0:t.mode=du;break;case 1:if(ch(t),t.mode=al,n===ts){P>>>=2,X-=2;break e}break;case 2:t.mode=Bd;break;case 3:e.msg="invalid block type",t.mode=Vo}P>>>=2,X-=2;break;case du:for(P>>>=X&7,X-=X&7;X<32;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if((P&65535)!==(P>>>16^65535)){e.msg="invalid stored block lengths",t.mode=Vo;break}if(t.length=P&65535,P=0,X=0,t.mode=fu,n===ts)break e;case fu:t.mode=Hu;case Hu:if(V=t.length,V){if(V>y&&(V=y),V>I&&(V=I),V===0)break e;i.set(r.subarray(A,A+V),b),y-=V,A+=V,I-=V,b+=V,t.length-=V;break}t.mode=Ra;break;case Bd:for(;X<14;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(t.nlen=(P&31)+257,P>>>=5,X-=5,t.ndist=(P&31)+1,P>>>=5,X-=5,t.ncode=(P&15)+4,P>>>=4,X-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=Vo;break}t.have=0,t.mode=Cd;case Cd:for(;t.have<t.ncode;){for(;X<3;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}t.lens[it[t.have++]]=P&7,P>>>=3,X-=3}for(;t.have<19;)t.lens[it[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,nn={bits:t.lenbits},Dt=ha(ro,t.lens,0,19,t.lencode,0,t.work,nn),t.lenbits=nn.bits,Dt){e.msg="invalid code lengths set",t.mode=Vo;break}t.have=0,t.mode=jc;case jc:for(;t.have<t.nlen+t.ndist;){for(;rt=t.lencode[P&(1<<t.lenbits)-1],ke=rt>>>24,Ut=rt>>>16&255,wt=rt&65535,!(ke<=X);){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(wt<16)P>>>=ke,X-=ke,t.lens[t.have++]=wt;else{if(wt===16){for($e=ke+2;X<$e;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(P>>>=ke,X-=ke,t.have===0){e.msg="invalid bit length repeat",t.mode=Vo;break}Cn=t.lens[t.have-1],V=3+(P&3),P>>>=2,X-=2}else if(wt===17){for($e=ke+3;X<$e;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}P>>>=ke,X-=ke,Cn=0,V=3+(P&7),P>>>=3,X-=3}else{for($e=ke+7;X<$e;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}P>>>=ke,X-=ke,Cn=0,V=11+(P&127),P>>>=7,X-=7}if(t.have+V>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=Vo;break}for(;V--;)t.lens[t.have++]=Cn}}if(t.mode===Vo)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=Vo;break}if(t.lenbits=9,nn={bits:t.lenbits},Dt=ha($A,t.lens,0,t.nlen,t.lencode,0,t.work,nn),t.lenbits=nn.bits,Dt){e.msg="invalid literal/lengths set",t.mode=Vo;break}if(t.distbits=6,t.distcode=t.distdyn,nn={bits:t.distbits},Dt=ha(QA,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,nn),t.distbits=nn.bits,Dt){e.msg="invalid distances set",t.mode=Vo;break}if(t.mode=al,n===ts)break e;case al:t.mode=pc;case pc:if(y>=6&&I>=258){e.next_out=b,e.avail_out=I,e.next_in=A,e.avail_in=y,t.hold=P,t.bits=X,HA(e,Le),b=e.next_out,i=e.output,I=e.avail_out,A=e.next_in,r=e.input,y=e.avail_in,P=t.hold,X=t.bits,t.mode===Ra&&(t.back=-1);break}for(t.back=0;rt=t.lencode[P&(1<<t.lenbits)-1],ke=rt>>>24,Ut=rt>>>16&255,wt=rt&65535,!(ke<=X);){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(Ut&&!(Ut&240)){for(dt=ke,fn=Ut,jn=wt;rt=t.lencode[jn+((P&(1<<dt+fn)-1)>>dt)],ke=rt>>>24,Ut=rt>>>16&255,wt=rt&65535,!(dt+ke<=X);){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}P>>>=dt,X-=dt,t.back+=dt}if(P>>>=ke,X-=ke,t.back+=ke,t.length=wt,Ut===0){t.mode=gc;break}if(Ut&32){t.back=-1,t.mode=Ra;break}if(Ut&64){e.msg="invalid literal/length code",t.mode=Vo;break}t.extra=Ut&15,t.mode=xd;case xd:if(t.extra){for($e=t.extra;X<$e;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}t.length+=P&(1<<t.extra)-1,P>>>=t.extra,X-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=$u;case $u:for(;rt=t.distcode[P&(1<<t.distbits)-1],ke=rt>>>24,Ut=rt>>>16&255,wt=rt&65535,!(ke<=X);){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(!(Ut&240)){for(dt=ke,fn=Ut,jn=wt;rt=t.distcode[jn+((P&(1<<dt+fn)-1)>>dt)],ke=rt>>>24,Ut=rt>>>16&255,wt=rt&65535,!(dt+ke<=X);){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}P>>>=dt,X-=dt,t.back+=dt}if(P>>>=ke,X-=ke,t.back+=ke,Ut&64){e.msg="invalid distance code",t.mode=Vo;break}t.offset=wt,t.extra=Ut&15,t.mode=Ed;case Ed:if(t.extra){for($e=t.extra;X<$e;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}t.offset+=P&(1<<t.extra)-1,P>>>=t.extra,X-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=Vo;break}t.mode=ku;case ku:if(I===0)break e;if(V=Le-I,t.offset>V){if(V=t.offset-V,V>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=Vo;break}V>t.wnext?(V-=t.wnext,tt=t.wsize-V):tt=t.wnext-V,V>t.length&&(V=t.length),Je=t.window}else Je=i,tt=b-t.offset,V=t.length;V>I&&(V=I),I-=V,t.length-=V;do i[b++]=Je[tt++];while(--V);t.length===0&&(t.mode=pc);break;case gc:if(I===0)break e;i[b++]=t.length,I--,t.mode=pc;break;case Ku:if(t.wrap){for(;X<32;){if(y===0)break e;y--,P|=r[A++]<<X,X+=8}if(Le-=I,e.total_out+=Le,t.total+=Le,t.wrap&4&&Le&&(e.adler=t.check=t.flags?xa(t.check,i,Le,b-Le):xo(t.check,i,Le,b-Le)),Le=I,t.wrap&4&&(t.flags?P:Zu(P))!==t.check){e.msg="incorrect data check",t.mode=Vo;break}P=0,X=0}t.mode=Ef;case Ef:if(t.wrap&&t.flags){for(;X<32;){if(y===0)break e;y--,P+=r[A++]<<X,X+=8}if(t.wrap&4&&P!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=Vo;break}P=0,X=0}t.mode=Sd;case Sd:Dt=El;break e;case Vo:Dt=EA;break e;case zu:return rA;case Sf:default:return Da}return e.next_out=b,e.avail_out=I,e.next_in=A,e.avail_in=y,t.hold=P,t.bits=X,(t.wsize||Le!==e.avail_out&&t.mode<Vo&&(t.mode<Ku||n!==ls))&&$o(e,e.output,e.next_out,Le-e.avail_out),Ce-=e.avail_in,Le-=e.avail_out,e.total_in+=Ce,e.total_out+=Le,t.total+=Le,t.wrap&4&&Le&&(e.adler=t.check=t.flags?xa(t.check,i,Le,e.next_out-Le):xo(t.check,i,Le,e.next_out-Le)),e.data_type=t.bits+(t.last?64:0)+(t.mode===Ra?128:0)+(t.mode===al||t.mode===fu?256:0),(Ce===0&&Le===0||n===ls)&&Dt===Ps&&(Dt=Sa),Dt},zs=e=>{if(zl(e))return Da;let n=e.state;return n.window&&(n.window=null),e.state=null,Ps},Zl=(e,n)=>{if(zl(e))return Da;const t=e.state;return t.wrap&2?(t.head=n,n.done=!1,Ps):Da},Wl=(e,n)=>{const t=n.length;let r,i,A;return zl(e)||(r=e.state,r.wrap!==0&&r.mode!==PA)?Da:r.mode===PA&&(i=1,i=xo(i,n,t,0),i!==r.check)?EA:(A=$o(e,n,t,t),A?(r.mode=zu,rA):(r.havedict=1,Ps))};var Of=Wu,Od=Uf,Nd=Ud,Ld=Vu,_d=hu,o0=pa,a0=zs,A0=Zl,s0=Wl,uh="pako inflate (from Nodeca project)",mc={inflateReset:Of,inflateReset2:Od,inflateResetKeep:Nd,inflateInit:Ld,inflateInit2:_d,inflate:o0,inflateEnd:a0,inflateGetHeader:A0,inflateSetDictionary:s0,inflateInfo:uh};function Cp(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var xp=Cp;const l0=Object.prototype.toString,{Z_NO_FLUSH:Nf,Z_FINISH:Lf,Z_OK:Qd,Z_STREAM_END:_f,Z_NEED_DICT:Pd,Z_STREAM_ERROR:c0,Z_DATA_ERROR:dh,Z_MEM_ERROR:u0}=ji;function Dd(e){this.options=Ci.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Ri,this.strm.avail_out=0;let t=mc.inflateInit2(this.strm,n.windowBits);if(t!==Qd)throw new Error(Ki[t]);if(this.header=new xp,mc.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=gi.string2buf(n.dictionary):l0.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=mc.inflateSetDictionary(this.strm,n.dictionary),t!==Qd)))throw new Error(Ki[t])}Dd.prototype.push=function(e,n){const t=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let A,b,y;if(this.ended)return!1;for(n===~~n?b=n:b=n===!0?Lf:Nf,l0.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(r),t.next_out=0,t.avail_out=r),A=mc.inflate(t,b),A===Pd&&i&&(A=mc.inflateSetDictionary(t,i),A===Qd?A=mc.inflate(t,b):A===dh&&(A=Pd));t.avail_in>0&&A===_f&&t.state.wrap>0&&e[t.next_in]!==0;)mc.inflateReset(t),A=mc.inflate(t,b);switch(A){case c0:case dh:case Pd:case u0:return this.onEnd(A),this.ended=!0,!1}if(y=t.avail_out,t.next_out&&(t.avail_out===0||A===_f))if(this.options.to==="string"){let I=gi.utf8border(t.output,t.next_out),P=t.next_out-I,X=gi.buf2string(t.output,I);t.next_out=P,t.avail_out=r-P,P&&t.output.set(t.output.subarray(I,I+P),0),this.onData(X)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out));if(!(A===Qd&&y===0)){if(A===_f)return A=mc.inflateEnd(this.strm),this.onEnd(A),this.ended=!0,!0;if(t.avail_in===0)break}}return!0},Dd.prototype.onData=function(e){this.chunks.push(e)},Dd.prototype.onEnd=function(e){e===Qd&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ci.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Xu(e,n){const t=new Dd(n);if(t.push(e),t.err)throw t.msg||Ki[t.err];return t.result}function d0(e,n){return n=n||{},n.raw=!0,Xu(e,n)}var f0=Dd,Ep=Xu,Sp=d0,h0=Xu,Yu=ji,fh={Inflate:f0,inflate:Ep,inflateRaw:Sp,ungzip:h0,constants:Yu};const{Deflate:Qf,deflate:Ip,deflateRaw:Fp,gzip:Up}=_i,{Inflate:Op,inflate:p0,inflateRaw:hh,ungzip:g0}=fh;var m0=Qf,ph=Ip,v0=Fp,y0=Up,gh=Op,Rd=p0,Pf=hh,w0=g0,b0=ji,Fg={Deflate:m0,deflate:ph,deflateRaw:v0,gzip:y0,Inflate:gh,inflate:Rd,inflateRaw:Pf,ungzip:w0,constants:b0};const mh=[];for(let e=0;e<256;e++){let n=e;for(let t=0;t<8;t++)n&1?n=3988292384^n>>>1:n=n>>>1;mh[e]=n}const vh=4294967295;function Np(e,n,t){let r=e;for(let i=0;i<t;i++)r=mh[(r^n[i])&255]^r>>>8;return r}function B0(e,n){return(Np(vh,e,n)^vh)>>>0}function pu(e,n,t){const r=e.readUint32(),i=B0(new Uint8Array(e.buffer,e.byteOffset+e.offset-n-4,n),n);if(i!==r)throw new Error(`CRC mismatch for chunk ${t}. Expected ${r}, found ${i}`)}function Lp(e,n){e.writeUint32(B0(new Uint8Array(e.buffer,e.byteOffset+e.offset-n,n),n))}function CA(e,n,t){for(let r=0;r<t;r++)n[r]=e[r]}function Hc(e,n,t,r){let i=0;for(;i<r;i++)n[i]=e[i];for(;i<t;i++)n[i]=e[i]+n[i-r]&255}function gu(e,n,t,r){let i=0;if(t.length===0)for(;i<r;i++)n[i]=e[i];else for(;i<r;i++)n[i]=e[i]+t[i]&255}function vc(e,n,t,r,i){let A=0;if(t.length===0){for(;A<i;A++)n[A]=e[A];for(;A<r;A++)n[A]=e[A]+(n[A-i]>>1)&255}else{for(;A<i;A++)n[A]=e[A]+(t[A]>>1)&255;for(;A<r;A++)n[A]=e[A]+(n[A-i]+t[A]>>1)&255}}function yc(e,n,t,r,i){let A=0;if(t.length===0){for(;A<i;A++)n[A]=e[A];for(;A<r;A++)n[A]=e[A]+n[A-i]&255}else{for(;A<i;A++)n[A]=e[A]+t[A]&255;for(;A<r;A++)n[A]=e[A]+Td(n[A-i],t[A],t[A-i])&255}}function Td(e,n,t){const r=e+n-t,i=Math.abs(r-e),A=Math.abs(r-n),b=Math.abs(r-t);return i<=A&&i<=b?e:A<=b?n:t}function wc(e,n,t,r,i,A){switch(e){case 0:CA(n,t,i);break;case 1:Hc(n,t,i,A);break;case 2:gu(n,t,r,i);break;case 3:vc(n,t,r,i,A);break;case 4:yc(n,t,r,i,A);break;default:throw new Error(`Unsupported filter: ${e}`)}}const C0=new Uint16Array([255]),x0=new Uint8Array(C0.buffer)[0]===255;function yh(e){const{data:n,width:t,height:r,channels:i,depth:A}=e,b=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],y=Math.ceil(A/8)*i,I=new Uint8Array(r*t*y);let P=0;for(let X=0;X<7;X++){const Ce=b[X],Le=Math.ceil((t-Ce.x)/Ce.xStep),V=Math.ceil((r-Ce.y)/Ce.yStep);if(Le<=0||V<=0)continue;const tt=Le*y,Je=new Uint8Array(tt);for(let rt=0;rt<V;rt++){const ke=n[P++],Ut=n.subarray(P,P+tt);P+=tt;const wt=new Uint8Array(tt);wc(ke,Ut,wt,Je,tt,y),Je.set(wt);for(let dt=0;dt<Le;dt++){const fn=Ce.x+dt*Ce.xStep,jn=Ce.y+rt*Ce.yStep;if(!(fn>=t||jn>=r))for(let Cn=0;Cn<y;Cn++)I[(jn*t+fn)*y+Cn]=wt[dt*y+Cn]}}}if(A===16){const X=new Uint16Array(I.buffer);if(x0)for(let Ce=0;Ce<X.length;Ce++)X[Ce]=Md(X[Ce]);return X}else return I}function Md(e){return(e&255)<<8|e>>8&255}const E0=new Uint16Array([255]),jd=new Uint8Array(E0.buffer)[0]===255,Pp=new Uint8Array(0);function S0(e){const{data:n,width:t,height:r,channels:i,depth:A}=e,b=Math.ceil(A/8)*i,y=Math.ceil(A/8*i*t),I=new Uint8Array(r*y);let P=Pp,X=0,Ce,Le;for(let V=0;V<r;V++){switch(Ce=n.subarray(X+1,X+1+y),Le=I.subarray(V*y,(V+1)*y),n[X]){case 0:CA(Ce,Le,y);break;case 1:Hc(Ce,Le,y,b);break;case 2:gu(Ce,Le,P,y);break;case 3:vc(Ce,Le,P,y,b);break;case 4:yc(Ce,Le,P,y,b);break;default:throw new Error(`Unsupported filter: ${n[X]}`)}P=Le,X+=y+1}if(A===16){const V=new Uint16Array(I.buffer);if(jd)for(let tt=0;tt<V.length;tt++)V[tt]=Dp(V[tt]);return V}else return I}function Dp(e){return(e&255)<<8|e>>8&255}const Hd=Uint8Array.of(137,80,78,71,13,10,26,10);function Ug(e){e.writeBytes(Hd)}function Df(e){if(!Rp(e.readBytes(Hd.length)))throw new Error("wrong PNG signature")}function Rp(e){if(e.length<Hd.length)return!1;for(let n=0;n<Hd.length;n++)if(e[n]!==Hd[n])return!1;return!0}const I0="tEXt",F0=0,U0=new TextDecoder("latin1");function O0(e){if(Rf(e),e.length===0||e.length>79)throw new Error("keyword length must be between 1 and 79")}const wh=/^[\u0000-\u00FF]*$/;function Rf(e){if(!wh.test(e))throw new Error("invalid latin1 text")}function N0(e,n,t){const r=L0(n);e[r]=_0(n,t-r.length-1)}function Og(e,n,t){O0(n),Rf(t);const r=n.length+1+t.length;e.writeUint32(r),e.writeChars(I0),e.writeChars(n),e.writeByte(F0),e.writeChars(t),writeCrc(e,r+4)}function L0(e){for(e.mark();e.readByte()!==F0;);const n=e.offset;e.reset();const t=U0.decode(e.readBytes(n-e.offset-1));return e.skip(1),O0(t),t}function _0(e,n){return U0.decode(e.readBytes(n))}const Al={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},bh={UNKNOWN:-1,DEFLATE:0},Q0={UNKNOWN:-1,ADAPTIVE:0},Bh={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Tf={NONE:0,BACKGROUND:1,PREVIOUS:2},$d={SOURCE:0,OVER:1};class Tp extends ei{constructor(t,r={}){super(t);ya(this,"_checkCrc");ya(this,"_inflator");ya(this,"_png");ya(this,"_apng");ya(this,"_end");ya(this,"_hasPalette");ya(this,"_palette");ya(this,"_hasTransparency");ya(this,"_transparency");ya(this,"_compressionMethod");ya(this,"_filterMethod");ya(this,"_interlaceMethod");ya(this,"_colorType");ya(this,"_isAnimated");ya(this,"_numberOfFrames");ya(this,"_numberOfPlays");ya(this,"_frames");ya(this,"_writingDataChunks");const{checkCrc:i=!1}=r;this._checkCrc=i,this._inflator=new gh,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=bh.UNKNOWN,this._filterMethod=Q0.UNKNOWN,this._interlaceMethod=Bh.UNKNOWN,this._colorType=Al.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Df(this);!this._end;){const t=this.readUint32(),r=this.readChars(4);this.decodeChunk(t,r)}return this.decodeImage(),this._png}decodeApng(){for(Df(this);!this._end;){const t=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(t,r)}return this.decodeApngImage(),this._apng}decodeChunk(t,r){const i=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case I0:N0(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t);break}if(this.offset-i!==t)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?pu(this,t+4,r):this.skip(4)}decodeApngChunk(t,r){const i=this.offset;switch(r!=="fdAT"&&r!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,r),this.offset=i+t;break}if(this.offset-i!==t)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?pu(this,t+4,r):this.skip(4)}decodeIHDR(){const t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=Ch(this.readUint8());const r=this.readUint8();this._colorType=r;let i;switch(r){case Al.GREYSCALE:i=1;break;case Al.TRUECOLOUR:i=3;break;case Al.INDEXED_COLOUR:i=1;break;case Al.GREYSCALE_ALPHA:i=2;break;case Al.TRUECOLOUR_ALPHA:i=4;break;case Al.UNKNOWN:default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),this._compressionMethod!==bh.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const t={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(t)}decodePLTE(t){if(t%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);const r=t/3;this._hasPalette=!0;const i=[];this._palette=i;for(let A=0;A<r;A++)i.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(t){this._writingDataChunks=!0;const r=t,i=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodeFDAT(t){this._writingDataChunks=!0;let r=t,i=this.offset+this.byteOffset;if(i+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodetRNS(t){switch(this._colorType){case Al.GREYSCALE:case Al.TRUECOLOUR:{if(t%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${t}`);if(t/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let r=0;r<t/2;r++)this._transparency[r]=this.readUint16();break}case Al.INDEXED_COLOUR:{if(t>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${t} vs ${this._palette.length})`);let r=0;for(;r<t;r++){const i=this.readByte();this._palette[r].push(i)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}case Al.UNKNOWN:case Al.GREYSCALE_ALPHA:case Al.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(t){const r=L0(this),i=this.readUint8();if(i!==bh.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${i}`);const A=this.readBytes(t-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:Rd(A)}}decodepHYs(){const t=this.readUint32(),r=this.readUint32(),i=this.readByte();this._png.resolution={x:t,y:r,unit:i}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let t=0;t<this._numberOfFrames;t++){const r={sequenceNumber:this._frames[t].sequenceNumber,delayNumber:this._frames[t].delayNumber,delayDenominator:this._frames[t].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},i=this._frames.at(t);if(i){if(i.data=S0({data:i.data,width:i.width,height:i.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),t===0||i.xOffset===0&&i.yOffset===0&&i.width===this._png.width&&i.height===this._png.height)r.data=i.data;else{const A=this._apng.frames.at(t-1);this.disposeFrame(i,A,r),this.addFrameDataToCanvas(r,i)}this._apng.frames.push(r)}}return this._apng}disposeFrame(t,r,i){switch(t.disposeOp){case Tf.NONE:break;case Tf.BACKGROUND:for(let A=0;A<this._png.height;A++)for(let b=0;b<this._png.width;b++){const y=(A*t.width+b)*this._png.channels;for(let I=0;I<this._png.channels;I++)i.data[y+I]=0}break;case Tf.PREVIOUS:i.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(t,r){const i=1<<this._png.depth,A=(b,y)=>{const I=((b+r.yOffset)*this._png.width+r.xOffset+y)*this._png.channels,P=(b*r.width+y)*this._png.channels;return{index:I,frameIndex:P}};switch(r.blendOp){case $d.SOURCE:for(let b=0;b<r.height;b++)for(let y=0;y<r.width;y++){const{index:I,frameIndex:P}=A(b,y);for(let X=0;X<this._png.channels;X++)t.data[I+X]=r.data[P+X]}break;case $d.OVER:for(let b=0;b<r.height;b++)for(let y=0;y<r.width;y++){const{index:I,frameIndex:P}=A(b,y);for(let X=0;X<this._png.channels;X++){const Ce=r.data[P+this._png.channels-1]/i,Le=X%(this._png.channels-1)===0?1:r.data[P+X],V=Math.floor(Ce*Le+(1-Ce)*t.data[I+X]);t.data[I+X]+=V}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var r;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const t=this._isAnimated?((r=this._frames)==null?void 0:r.at(0)).data:this._inflator.result;if(this._filterMethod!==Q0.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Bh.NO_INTERLACE)this._png.data=S0({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Bh.ADAM7)this._png.data=yh({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const t=this._inflator.result,r=this._frames.at(-1);r?r.data=t:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Tf.NONE,blendOp:$d.SOURCE,data:t}),this._inflator=new gh,this._writingDataChunks=!1}}function Ch(e){if(e!==1&&e!==2&&e!==4&&e!==8&&e!==16)throw new Error(`invalid bit depth: ${e}`);return e}const Mp={level:3};class li extends null{constructor(t,r={}){var i;super();ya(this,"_png");ya(this,"_zlibOptions");ya(this,"_colorType");ya(this,"_interlaceMethod");this._colorType=ColorType.UNKNOWN,this._zlibOptions=Ig(Ig({},Mp),r.zlib),this._png=this._checkData(t),this._interlaceMethod=(i=r.interlace==="Adam7"?InterlaceMethod.ADAM7:InterlaceMethod.NO_INTERLACE)!=null?i:InterlaceMethod.NO_INTERLACE,this.setBigEndian()}encode(){if(writeSignature(this),this.encodeIHDR(),this._png.palette&&(this.encodePLTE(),this._png.palette[0].length===4&&this.encodeTRNS()),this.encodeData(),this._png.text)for(const[t,r]of Object.entries(this._png.text))encodetEXt(this,t,r);return this.encodeIEND(),this.toArray()}encodeIHDR(){this.writeUint32(13),this.writeChars("IHDR"),this.writeUint32(this._png.width),this.writeUint32(this._png.height),this.writeByte(this._png.depth),this.writeByte(this._colorType),this.writeByte(CompressionMethod.DEFLATE),this.writeByte(FilterMethod.ADAPTIVE),this.writeByte(this._interlaceMethod),writeCrc(this,17)}encodeIEND(){this.writeUint32(0),this.writeChars("IEND"),writeCrc(this,4)}encodePLTE(){var r;const t=((r=this._png.palette)==null?void 0:r.length)*3;this.writeUint32(t),this.writeChars("PLTE");for(const i of this._png.palette)this.writeByte(i[0]),this.writeByte(i[1]),this.writeByte(i[2]);writeCrc(this,4+t)}encodeTRNS(){const t=this._png.palette.filter(r=>r.at(-1)!==255);this.writeUint32(t.length),this.writeChars("tRNS");for(const r of t)this.writeByte(r.at(-1));writeCrc(this,4+t.length)}encodeIDAT(t){this.writeUint32(t.length),this.writeChars("IDAT"),this.writeBytes(t),writeCrc(this,t.length+4)}encodeData(){const{width:t,height:r,channels:i,depth:A,data:b}=this._png,y=A<=8?Math.ceil(t*A/8)*i:Math.ceil(t*A/8*i/2),I=new IOBuffer().setBigEndian();let P=0;if(this._interlaceMethod===InterlaceMethod.NO_INTERLACE)for(let Le=0;Le<r;Le++)I.writeByte(0),A===16?P=Ca(b,I,y,P):P=gl(b,I,y,P);else this._interlaceMethod===InterlaceMethod.ADAM7&&(P=jp(this._png,b,I,P));const X=I.toArray(),Ce=deflate(X,this._zlibOptions);this.encodeIDAT(Ce)}_checkData(t){const{colorType:r,channels:i,depth:A}=Mf(t,t.palette),b={width:mu(t.width,"width"),height:mu(t.height,"height"),channels:i,data:t.data,depth:A,text:t.text,palette:t.palette};this._colorType=r;const y=A<8?Math.ceil(b.width*A/8)*b.height*i:b.width*b.height*i;if(b.data.length!==y)throw new RangeError(`wrong data size. Found ${b.data.length}, expected ${y}`);return b}}function mu(e,n){if(Number.isInteger(e)&&e>0)return e;throw new TypeError(`${n} must be a positive integer`)}function Mf(e,n){const{channels:t=4,depth:r=8}=e;if(t!==4&&t!==3&&t!==2&&t!==1)throw new RangeError(`unsupported number of channels: ${t}`);const i={channels:t,depth:r,colorType:ColorType.UNKNOWN};switch(t){case 4:i.colorType=ColorType.TRUECOLOUR_ALPHA;break;case 3:i.colorType=ColorType.TRUECOLOUR;break;case 1:n?i.colorType=ColorType.INDEXED_COLOUR:i.colorType=ColorType.GREYSCALE;break;case 2:i.colorType=ColorType.GREYSCALE_ALPHA;break;default:throw new Error("unsupported number of channels")}return i}function gl(e,n,t,r){for(let i=0;i<t;i++)n.writeByte(e[r++]);return r}function jp(e,n,t,r){const i=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],{width:A,height:b,channels:y,depth:I}=e;let P=0;I===16?P=y*I/8/2:P=y*I/8;for(let X=0;X<7;X++){const Ce=i[X],Le=Math.floor((A-Ce.x+Ce.xStep-1)/Ce.xStep),V=Math.floor((b-Ce.y+Ce.yStep-1)/Ce.yStep);if(Le<=0||V<=0)continue;const tt=Le*P;for(let Je=0;Je<V;Je++){const rt=Ce.y+Je*Ce.yStep,ke=I<=8?new Uint8Array(tt):new Uint16Array(tt);let Ut=0;for(let wt=0;wt<Le;wt++){const dt=Ce.x+wt*Ce.xStep;if(dt<A&&rt<b){const fn=(rt*A+dt)*P;for(let jn=0;jn<P;jn++)ke[Ut++]=n[fn+jn]}}if(t.writeByte(0),I===8)t.writeBytes(ke);else if(I===16)for(const wt of ke)t.writeByte(wt>>8&255),t.writeByte(wt&255)}}return r}function Ca(e,n,t,r){for(let i=0;i<t;i++)n.writeUint16(e[r++]);return r}var iA;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"})(iA||(iA={}));function jf(e,n){return new Tp(e,n).decode()}function Ng(e,n){return new PngEncoder(e,n).encode()}function xh(e,n){return new PngDecoder(e,n).decodeApng()}var ao=function(){return typeof window!="undefined"?window:typeof h.g!="undefined"?h.g:typeof self!="undefined"?self:this}();function Ju(){ao.console&&typeof ao.console.log=="function"&&ao.console.log.apply(ao.console,arguments)}var ka={log:Ju,warn:function(e){ao.console&&(typeof ao.console.warn=="function"?ao.console.warn.apply(ao.console,arguments):Ju.call(null,arguments))},error:function(e){ao.console&&(typeof ao.console.error=="function"?ao.console.error.apply(ao.console,arguments):Ju(e))}};function Eh(e,n,t){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){$c(r.response,n,t)},r.onerror=function(){ka.error("could not download file")},r.send()}function Sh(e){var n=new XMLHttpRequest;n.open("HEAD",e,!1);try{n.send()}catch(t){}return n.status>=200&&n.status<=299}function Hf(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var $c=ao.saveAs||((typeof window=="undefined"?"undefined":(0,ye.Z)(window))!=="object"||window!==ao?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(e,n,t){var r=ao.URL||ao.webkitURL,i=document.createElement("a");n=n||e.name||"download",i.download=n,i.rel="noopener",typeof e=="string"?(i.href=e,i.origin!==location.origin?Sh(i.href)?Eh(e,n,t):Hf(i,i.target="_blank"):Hf(i)):(i.href=r.createObjectURL(e),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){Hf(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,t){if(n=n||e.name||"download",typeof e=="string")if(Sh(e))Eh(e,n,t);else{var r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){Hf(r)})}else navigator.msSaveOrOpenBlob(function(i,A){return A===void 0?A={autoBom:!1}:(0,ye.Z)(A)!=="object"&&(ka.warn("Deprecated: Expected third argument to be a object"),A={autoBom:!A}),A.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i}(e,t),n)}:function(e,n,t,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof e=="string")return Eh(e,n,t);var i=e.type==="application/octet-stream",A=/constructor/i.test(ao.HTMLElement)||ao.safari,b=/CriOS\/[\d]+/.test(navigator.userAgent);if((b||i&&A)&&(typeof FileReader=="undefined"?"undefined":(0,ye.Z)(FileReader))==="object"){var y=new FileReader;y.onloadend=function(){var X=y.result;X=b?X:X.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=X:location=X,r=null},y.readAsDataURL(e)}else{var I=ao.URL||ao.webkitURL,P=I.createObjectURL(e);r?r.location=P:location.href=P,r=null,setTimeout(function(){I.revokeObjectURL(P)},4e4)}});function P0(e){var n;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var t=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(y){return[parseInt(y[1]),parseInt(y[2]),parseInt(y[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(y){return[parseInt(y[1],16),parseInt(y[2],16),parseInt(y[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(y){return[parseInt(y[1]+y[1],16),parseInt(y[2]+y[2],16),parseInt(y[3]+y[3],16)]}}],r=0;r<t.length;r++){var i=t[r].re,A=t[r].process,b=i.exec(e);b&&(n=A(b),this.r=n[0],this.g=n[1],this.b=n[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 y=this.r.toString(16),I=this.g.toString(16),P=this.b.toString(16);return y.length==1&&(y="0"+y),I.length==1&&(I="0"+I),P.length==1&&(P="0"+P),"#"+y+I+P}}var kd=ao.atob.bind(ao),Ih=ao.btoa.bind(ao);function Kd(e,n){var t=e[0],r=e[1],i=e[2],A=e[3];t=Bs(t,r,i,A,n[0],7,-680876936),A=Bs(A,t,r,i,n[1],12,-389564586),i=Bs(i,A,t,r,n[2],17,606105819),r=Bs(r,i,A,t,n[3],22,-1044525330),t=Bs(t,r,i,A,n[4],7,-176418897),A=Bs(A,t,r,i,n[5],12,1200080426),i=Bs(i,A,t,r,n[6],17,-1473231341),r=Bs(r,i,A,t,n[7],22,-45705983),t=Bs(t,r,i,A,n[8],7,1770035416),A=Bs(A,t,r,i,n[9],12,-1958414417),i=Bs(i,A,t,r,n[10],17,-42063),r=Bs(r,i,A,t,n[11],22,-1990404162),t=Bs(t,r,i,A,n[12],7,1804603682),A=Bs(A,t,r,i,n[13],12,-40341101),i=Bs(i,A,t,r,n[14],17,-1502002290),t=cs(t,r=Bs(r,i,A,t,n[15],22,1236535329),i,A,n[1],5,-165796510),A=cs(A,t,r,i,n[6],9,-1069501632),i=cs(i,A,t,r,n[11],14,643717713),r=cs(r,i,A,t,n[0],20,-373897302),t=cs(t,r,i,A,n[5],5,-701558691),A=cs(A,t,r,i,n[10],9,38016083),i=cs(i,A,t,r,n[15],14,-660478335),r=cs(r,i,A,t,n[4],20,-405537848),t=cs(t,r,i,A,n[9],5,568446438),A=cs(A,t,r,i,n[14],9,-1019803690),i=cs(i,A,t,r,n[3],14,-187363961),r=cs(r,i,A,t,n[8],20,1163531501),t=cs(t,r,i,A,n[13],5,-1444681467),A=cs(A,t,r,i,n[2],9,-51403784),i=cs(i,A,t,r,n[7],14,1735328473),t=Cs(t,r=cs(r,i,A,t,n[12],20,-1926607734),i,A,n[5],4,-378558),A=Cs(A,t,r,i,n[8],11,-2022574463),i=Cs(i,A,t,r,n[11],16,1839030562),r=Cs(r,i,A,t,n[14],23,-35309556),t=Cs(t,r,i,A,n[1],4,-1530992060),A=Cs(A,t,r,i,n[4],11,1272893353),i=Cs(i,A,t,r,n[7],16,-155497632),r=Cs(r,i,A,t,n[10],23,-1094730640),t=Cs(t,r,i,A,n[13],4,681279174),A=Cs(A,t,r,i,n[0],11,-358537222),i=Cs(i,A,t,r,n[3],16,-722521979),r=Cs(r,i,A,t,n[6],23,76029189),t=Cs(t,r,i,A,n[9],4,-640364487),A=Cs(A,t,r,i,n[12],11,-421815835),i=Cs(i,A,t,r,n[15],16,530742520),t=xs(t,r=Cs(r,i,A,t,n[2],23,-995338651),i,A,n[0],6,-198630844),A=xs(A,t,r,i,n[7],10,1126891415),i=xs(i,A,t,r,n[14],15,-1416354905),r=xs(r,i,A,t,n[5],21,-57434055),t=xs(t,r,i,A,n[12],6,1700485571),A=xs(A,t,r,i,n[3],10,-1894986606),i=xs(i,A,t,r,n[10],15,-1051523),r=xs(r,i,A,t,n[1],21,-2054922799),t=xs(t,r,i,A,n[8],6,1873313359),A=xs(A,t,r,i,n[15],10,-30611744),i=xs(i,A,t,r,n[6],15,-1560198380),r=xs(r,i,A,t,n[13],21,1309151649),t=xs(t,r,i,A,n[4],6,-145523070),A=xs(A,t,r,i,n[11],10,-1120210379),i=xs(i,A,t,r,n[2],15,718787259),r=xs(r,i,A,t,n[9],21,-343485551),e[0]=Vl(t,e[0]),e[1]=Vl(r,e[1]),e[2]=Vl(i,e[2]),e[3]=Vl(A,e[3])}function zd(e,n,t,r,i,A){return n=Vl(Vl(n,e),Vl(r,A)),Vl(n<<i|n>>>32-i,t)}function Bs(e,n,t,r,i,A,b){return zd(n&t|~n&r,e,n,i,A,b)}function cs(e,n,t,r,i,A,b){return zd(n&r|t&~r,e,n,i,A,b)}function Cs(e,n,t,r,i,A,b){return zd(n^t^r,e,n,i,A,b)}function xs(e,n,t,r,i,A,b){return zd(t^(n|~r),e,n,i,A,b)}function D0(e){var n,t=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=e.length;n+=64)Kd(r,$f(e.substring(n-64,n)));e=e.substring(n-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<e.length;n++)i[n>>2]|=e.charCodeAt(n)<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(Kd(r,i),n=0;n<16;n++)i[n]=0;return i[14]=8*t,Kd(r,i),r}function $f(e){var n,t=[];for(n=0;n<64;n+=4)t[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24);return t}var sl="0123456789abcdef".split("");function R0(e){for(var n="",t=0;t<4;t++)n+=sl[e>>8*t+4&15]+sl[e>>8*t&15];return n}function kf(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function Fh(e){return D0(e).map(kf).join("")}var Hp=function(e){for(var n=0;n<e.length;n++)e[n]=R0(e[n]);return e.join("")}(D0("hello"))!="5d41402abc4b2a76b9719d911017c592";function Vl(e,n){if(Hp){var t=(65535&e)+(65535&n);return(e>>16)+(n>>16)+(t>>16)<<16|65535&t}return e+n&4294967295}function kc(e,n){var t,r,i,A;if(e!==t){for(var b=(i=e,A=1+(256/e.length|0),new Array(A+1).join(i)),y=[],I=0;I<256;I++)y[I]=I;var P=0;for(I=0;I<256;I++){var X=y[I];P=(P+X+b.charCodeAt(I))%256,y[I]=y[P],y[P]=X}t=e,r=y}else y=r;var Ce=n.length,Le=0,V=0,tt="";for(I=0;I<Ce;I++)V=(V+(X=y[Le=(Le+1)%256]))%256,y[Le]=y[V],y[V]=X,b=y[(y[Le]+y[V])%256],tt+=String.fromCharCode(n.charCodeAt(I)^b);return tt}var Zd={print:4,modify:8,copy:16,"annot-forms":32};function qu(e,n,t,r){this.v=1,this.r=2;var i=192;e.forEach(function(y){if(Zd.perm!==void 0)throw new Error("Invalid permission: "+y);i+=Zd[y]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var A=(n+this.padding).substr(0,32),b=(t+this.padding).substr(0,32);this.O=this.processOwnerPassword(A,b),this.P=-(1+(255^i)),this.encryptionKey=Fh(A+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=kc(this.encryptionKey,this.padding)}function Fl(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var n="",t=e.length,r=0;r<t;r++){var i=e.charCodeAt(r);n+=i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?"#"+("0"+i.toString(16)).slice(-2):e[r]}return n}function T0(e){if((0,ye.Z)(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(t,r,i){if(i=i||!1,typeof t!="string"||typeof r!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(t)||(n[t]={});var A=Math.random().toString(35);return n[t][A]=[r,!!i],A},this.unsubscribe=function(t){for(var r in n)if(n[r][t])return delete n[r][t],Object.keys(n[r]).length===0&&delete n[r],!0;return!1},this.publish=function(t){if(n.hasOwnProperty(t)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var A in n[t]){var b=n[t][A];try{b[0].apply(e,r)}catch(y){ao.console&&ka.error("jsPDF PubSub Error",y.message,y)}b[1]&&i.push(A)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function Wd(e){if(!(this instanceof Wd))return new Wd(e);var n="opacity,stroke-opacity".split(",");for(var t in e)e.hasOwnProperty(t)&&n.indexOf(t)>=0&&(this[t]=e[t]);this.id="",this.objectNumber=-1}function Uh(e,n){this.gState=e,this.matrix=n,this.id="",this.objectNumber=-1}function Kc(e,n,t,r,i){if(!(this instanceof Kc))return new Kc(e,n,t,r,i);this.type=e==="axial"?2:3,this.coords=n,this.colors=t,Uh.call(this,r,i)}function zc(e,n,t,r,i){if(!(this instanceof zc))return new zc(e,n,t,r,i);this.boundingBox=e,this.xStep=n,this.yStep=t,this.stream="",this.cloneIndex=0,Uh.call(this,r,i)}function Fi(e){var n,t=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],i=arguments[2],A=arguments[3],b=[],y=1,I=16,P="S",X=null;(0,ye.Z)(e=e||{})==="object"&&(t=e.orientation,r=e.unit||r,i=e.format||i,A=e.compress||e.compressPdf||A,(X=e.encryption||null)!==null&&(X.userPassword=X.userPassword||"",X.ownerPassword=X.ownerPassword||"",X.userPermissions=X.userPermissions||[]),y=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(n=e.precision),e.floatPrecision!==void 0&&(I=e.floatPrecision),P=e.defaultPathOperation||"S"),b=e.filters||(A===!0?["FlateEncode"]:b),r=r||"mm",t=(""+(t||"P")).toLowerCase();var Ce=e.putOnlyUsedFonts||!1,Le={},V={internal:{},__private__:{}};V.__private__.PubSub=T0;var tt="1.3",Je=V.__private__.getPdfVersion=function(){return tt};V.__private__.setPdfVersion=function(U){tt=U};var rt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};V.__private__.getPageFormats=function(){return rt};var ke=V.__private__.getPageFormat=function(U){return rt[U]};i=i||"a4";var Ut="compat",wt="advanced",dt=Ut;function fn(){this.saveGraphicsState(),pt(new oo(ho,0,0,-ho,0,Af()*ho).toString()+" cm"),this.setFontSize(this.getFontSize()/ho),P="n",dt=wt}function jn(){this.restoreGraphicsState(),P="S",dt=Ut}var Cn=V.__private__.combineFontStyleAndFontWeight=function(U,Ie){if(U=="bold"&&Ie=="normal"||U=="bold"&&Ie==400||U=="normal"&&Ie=="italic"||U=="bold"&&Ie=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return Ie&&(U=Ie==400||Ie==="normal"?U==="italic"?"italic":"normal":Ie!=700&&Ie!=="bold"||U!=="normal"?(Ie==700?"bold":Ie)+""+U:"bold"),U};V.advancedAPI=function(U){var Ie=dt===Ut;return Ie&&fn.call(this),typeof U!="function"||(U(this),Ie&&jn.call(this)),this},V.compatAPI=function(U){var Ie=dt===wt;return Ie&&jn.call(this),typeof U!="function"||(U(this),Ie&&fn.call(this)),this},V.isAdvancedAPI=function(){return dt===wt};var Dt,ft=function(U){if(dt!==wt)throw new Error(U+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},nn=V.roundToPrecision=V.__private__.roundToPrecision=function(U,Ie){var lt=n||Ie;if(isNaN(U)||isNaN(lt))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return U.toFixed(lt).replace(/0+$/,"")};Dt=V.hpf=V.__private__.hpf=typeof I=="number"?function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.hpf");return nn(U,I)}:I==="smart"?function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.hpf");return nn(U,U>-1&&U<1?16:5)}:function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.hpf");return nn(U,16)};var $e=V.f2=V.__private__.f2=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.f2");return nn(U,2)},it=V.__private__.f3=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.f3");return nn(U,3)},St=V.scale=V.__private__.scale=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.scale");return dt===Ut?U*ho:dt===wt?U:void 0},Bt=function(U){return St(function(Ie){return dt===Ut?Af()-Ie:dt===wt?Ie:void 0}(U))};V.__private__.setPrecision=V.setPrecision=function(U){typeof parseInt(U,10)=="number"&&(n=parseInt(U,10))};var vn,Bn="00000000000000000000000000000000",In=V.__private__.getFileId=function(){return Bn},cn=V.__private__.setFileId=function(U){return Bn=U!==void 0&&/^[a-fA-F0-9]{32}$/.test(U)?U.toUpperCase():Bn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),X!==null&&(KA=new qu(X.userPermissions,X.userPassword,X.ownerPassword,Bn)),Bn};V.setFileId=function(U){return cn(U),this},V.getFileId=function(){return In()};var Nn=V.__private__.convertDateToPDFDate=function(U){var Ie=U.getTimezoneOffset(),lt=Ie<0?"+":"-",xt=Math.floor(Math.abs(Ie/60)),Yt=Math.abs(Ie%60),zn=[lt,vt(xt),"'",vt(Yt),"'"].join("");return["D:",U.getFullYear(),vt(U.getMonth()+1),vt(U.getDate()),vt(U.getHours()),vt(U.getMinutes()),vt(U.getSeconds()),zn].join("")},_r=V.__private__.convertPDFDateToDate=function(U){var Ie=parseInt(U.substr(2,4),10),lt=parseInt(U.substr(6,2),10)-1,xt=parseInt(U.substr(8,2),10),Yt=parseInt(U.substr(10,2),10),zn=parseInt(U.substr(12,2),10),lr=parseInt(U.substr(14,2),10);return new Date(Ie,lt,xt,Yt,zn,lr,0)},rr=V.__private__.setCreationDate=function(U){var Ie;if(U===void 0&&(U=new Date),U instanceof Date)Ie=Nn(U);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(U))throw new Error("Invalid argument passed to jsPDF.setCreationDate");Ie=U}return vn=Ie},Me=V.__private__.getCreationDate=function(U){var Ie=vn;return U==="jsDate"&&(Ie=_r(vn)),Ie};V.setCreationDate=function(U){return rr(U),this},V.getCreationDate=function(U){return Me(U)};var ct,vt=V.__private__.padd2=function(U){return("0"+parseInt(U)).slice(-2)},_t=V.__private__.padd2Hex=function(U){return("00"+(U=U.toString())).substr(U.length)},zt=0,un=[],En=[],bn=0,Gn=[],vr=[],ri=!1,ai=En;V.__private__.setCustomOutputDestination=function(U){ri=!0,ai=U};var Rn=function(U){ri||(ai=U)};V.__private__.resetCustomOutputDestination=function(){ri=!1,ai=En};var pt=V.__private__.out=function(U){return U=U.toString(),bn+=U.length+1,ai.push(U),ai},Aa=V.__private__.write=function(U){return pt(arguments.length===1?U.toString():Array.prototype.join.call(arguments," "))},Mo=V.__private__.getArrayBuffer=function(U){for(var Ie=U.length,lt=new ArrayBuffer(Ie),xt=new Uint8Array(lt);Ie--;)xt[Ie]=U.charCodeAt(Ie);return lt},to=[["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]];V.__private__.getStandardFonts=function(){return to};var Fr=e.fontSize||16;V.__private__.setFontSize=V.setFontSize=function(U){return Fr=dt===wt?U/ho:U,this};var ki,ui=V.__private__.getFontSize=V.getFontSize=function(){return dt===Ut?Fr:Fr*ho},jo=e.R2L||!1;V.__private__.setR2L=V.setR2L=function(U){return jo=U,this},V.__private__.getR2L=V.getR2L=function(){return jo};var Xi,Fa=V.__private__.setZoomMode=function(U){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(U))ki=U;else if(isNaN(U)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(U)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+U+'" is not recognized.');ki=U}else ki=parseInt(U,10)};V.__private__.getZoomMode=function(){return ki};var Oo,No=V.__private__.setPageMode=function(U){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(U)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+U+'" is not recognized.');Xi=U};V.__private__.getPageMode=function(){return Xi};var Ja=V.__private__.setLayoutMode=function(U){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(U)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+U+'" is not recognized.');Oo=U};V.__private__.getLayoutMode=function(){return Oo},V.__private__.setDisplayMode=V.setDisplayMode=function(U,Ie,lt){return Fa(U),Ja(Ie),No(lt),this};var Ho={title:"",subject:"",author:"",keywords:"",creator:""};V.__private__.getDocumentProperty=function(U){if(Object.keys(Ho).indexOf(U)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Ho[U]},V.__private__.getDocumentProperties=function(){return Ho},V.__private__.setDocumentProperties=V.setProperties=V.setDocumentProperties=function(U){for(var Ie in Ho)Ho.hasOwnProperty(Ie)&&U[Ie]&&(Ho[Ie]=U[Ie]);return this},V.__private__.setDocumentProperty=function(U,Ie){if(Object.keys(Ho).indexOf(U)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Ho[U]=Ie};var Zi,ho,Wi,dA,Ua,Ti={},Lo={},oA=[],io={},ca={},_o={},kA={},us=null,aA=0,Bo=[],Ta=new T0(V),Vd=e.hotfixes||[],Vs={},bu={},Yc=[],oo=function U(Ie,lt,xt,Yt,zn,lr){if(!(this instanceof U))return new U(Ie,lt,xt,Yt,zn,lr);isNaN(Ie)&&(Ie=1),isNaN(lt)&&(lt=0),isNaN(xt)&&(xt=0),isNaN(Yt)&&(Yt=1),isNaN(zn)&&(zn=0),isNaN(lr)&&(lr=0),this._matrix=[Ie,lt,xt,Yt,zn,lr]};Object.defineProperty(oo.prototype,"sx",{get:function(){return this._matrix[0]},set:function(U){this._matrix[0]=U}}),Object.defineProperty(oo.prototype,"shy",{get:function(){return this._matrix[1]},set:function(U){this._matrix[1]=U}}),Object.defineProperty(oo.prototype,"shx",{get:function(){return this._matrix[2]},set:function(U){this._matrix[2]=U}}),Object.defineProperty(oo.prototype,"sy",{get:function(){return this._matrix[3]},set:function(U){this._matrix[3]=U}}),Object.defineProperty(oo.prototype,"tx",{get:function(){return this._matrix[4]},set:function(U){this._matrix[4]=U}}),Object.defineProperty(oo.prototype,"ty",{get:function(){return this._matrix[5]},set:function(U){this._matrix[5]=U}}),Object.defineProperty(oo.prototype,"a",{get:function(){return this._matrix[0]},set:function(U){this._matrix[0]=U}}),Object.defineProperty(oo.prototype,"b",{get:function(){return this._matrix[1]},set:function(U){this._matrix[1]=U}}),Object.defineProperty(oo.prototype,"c",{get:function(){return this._matrix[2]},set:function(U){this._matrix[2]=U}}),Object.defineProperty(oo.prototype,"d",{get:function(){return this._matrix[3]},set:function(U){this._matrix[3]=U}}),Object.defineProperty(oo.prototype,"e",{get:function(){return this._matrix[4]},set:function(U){this._matrix[4]=U}}),Object.defineProperty(oo.prototype,"f",{get:function(){return this._matrix[5]},set:function(U){this._matrix[5]=U}}),Object.defineProperty(oo.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(oo.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(oo.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(oo.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),oo.prototype.join=function(U){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Dt).join(U)},oo.prototype.multiply=function(U){var Ie=U.sx*this.sx+U.shy*this.shx,lt=U.sx*this.shy+U.shy*this.sy,xt=U.shx*this.sx+U.sy*this.shx,Yt=U.shx*this.shy+U.sy*this.sy,zn=U.tx*this.sx+U.ty*this.shx+this.tx,lr=U.tx*this.shy+U.ty*this.sy+this.ty;return new oo(Ie,lt,xt,Yt,zn,lr)},oo.prototype.decompose=function(){var U=this.sx,Ie=this.shy,lt=this.shx,xt=this.sy,Yt=this.tx,zn=this.ty,lr=Math.sqrt(U*U+Ie*Ie),Si=(U/=lr)*lt+(Ie/=lr)*xt;lt-=U*Si,xt-=Ie*Si;var Qi=Math.sqrt(lt*lt+xt*xt);return Si/=Qi,U*(xt/=Qi)<Ie*(lt/=Qi)&&(U=-U,Ie=-Ie,Si=-Si,lr=-lr),{scale:new oo(lr,0,0,Qi,0,0),translate:new oo(1,0,0,1,Yt,zn),rotate:new oo(U,Ie,-Ie,U,0,0),skew:new oo(1,0,Si,1,0,0)}},oo.prototype.toString=function(U){return this.join(" ")},oo.prototype.inversed=function(){var U=this.sx,Ie=this.shy,lt=this.shx,xt=this.sy,Yt=this.tx,zn=this.ty,lr=1/(U*xt-Ie*lt),Si=xt*lr,Qi=-Ie*lr,wo=-lt*lr,So=U*lr;return new oo(Si,Qi,wo,So,-Si*Yt-wo*zn,-Qi*Yt-So*zn)},oo.prototype.applyToPoint=function(U){var Ie=U.x*this.sx+U.y*this.shx+this.tx,lt=U.x*this.shy+U.y*this.sy+this.ty;return new of(Ie,lt)},oo.prototype.applyToRectangle=function(U){var Ie=this.applyToPoint(U),lt=this.applyToPoint(new of(U.x+U.w,U.y+U.h));return new Hh(Ie.x,Ie.y,lt.x-Ie.x,lt.y-Ie.y)},oo.prototype.clone=function(){var U=this.sx,Ie=this.shy,lt=this.shx,xt=this.sy,Yt=this.tx,zn=this.ty;return new oo(U,Ie,lt,xt,Yt,zn)},V.Matrix=oo;var Bu=V.matrixMult=function(U,Ie){return Ie.multiply(U)},Cu=new oo(1,0,0,1,0,0);V.unitMatrix=V.identityMatrix=Cu;var Yl=function(U,Ie){if(!ca[U]){var lt=(Ie instanceof Kc?"Sh":"P")+(Object.keys(io).length+1).toString(10);Ie.id=lt,ca[U]=lt,io[lt]=Ie,Ta.publish("addPattern",Ie)}};V.ShadingPattern=Kc,V.TilingPattern=zc,V.addShadingPattern=function(U,Ie){return ft("addShadingPattern()"),Yl(U,Ie),this},V.beginTilingPattern=function(U){ft("beginTilingPattern()"),$h(U.boundingBox[0],U.boundingBox[1],U.boundingBox[2]-U.boundingBox[0],U.boundingBox[3]-U.boundingBox[1],U.matrix)},V.endTilingPattern=function(U,Ie){ft("endTilingPattern()"),Ie.stream=vr[ct].join(`
|
|
|
`),Yl(U,Ie),Ta.publish("endTilingPattern",Ie),Yc.pop().restore()};var Jl,DA=V.__private__.newObject=function(){var U=Ss();return Ts(U,!0),U},Ss=V.__private__.newObjectDeferred=function(){return zt++,un[zt]=function(){return bn},zt},Ts=function(U,Ie){return Ie=typeof Ie=="boolean"&&Ie,un[U]=bn,Ie&&pt(U+" 0 obj"),U},Gd=V.__private__.newAdditionalObject=function(){var U={objId:Ss(),content:""};return Gn.push(U),U},rd=Ss(),Sc=Ss(),Jc=V.__private__.decodeColorString=function(U){var Ie=U.split(" ");if(Ie.length!==2||Ie[1]!=="g"&&Ie[1]!=="G")Ie.length!==5||Ie[4]!=="k"&&Ie[4]!=="K"||(Ie=[(1-Ie[0])*(1-Ie[3]),(1-Ie[1])*(1-Ie[3]),(1-Ie[2])*(1-Ie[3]),"r"]);else{var lt=parseFloat(Ie[0]);Ie=[lt,lt,lt,"r"]}for(var xt="#",Yt=0;Yt<3;Yt++)xt+=("0"+Math.floor(255*parseFloat(Ie[Yt])).toString(16)).slice(-2);return xt},Ic=V.__private__.encodeColorString=function(U){var Ie;typeof U=="string"&&(U={ch1:U});var lt=U.ch1,xt=U.ch2,Yt=U.ch3,zn=U.ch4,lr=U.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof lt=="string"&<.charAt(0)!=="#"){var Si=new P0(lt);if(Si.ok)lt=Si.toHex();else if(!/^\d*\.?\d*$/.test(lt))throw new Error('Invalid color "'+lt+'" passed to jsPDF.encodeColorString.')}if(typeof lt=="string"&&/^#[0-9A-Fa-f]{3}$/.test(lt)&&(lt="#"+lt[1]+lt[1]+lt[2]+lt[2]+lt[3]+lt[3]),typeof lt=="string"&&/^#[0-9A-Fa-f]{6}$/.test(lt)){var Qi=parseInt(lt.substr(1),16);lt=Qi>>16&255,xt=Qi>>8&255,Yt=255&Qi}if(xt===void 0||zn===void 0&<===xt&&xt===Yt)Ie=typeof lt=="string"?lt+" "+lr[0]:U.precision===2?$e(lt/255)+" "+lr[0]:it(lt/255)+" "+lr[0];else if(zn===void 0||(0,ye.Z)(zn)==="object"){if(zn&&!isNaN(zn.a)&&zn.a===0)return["1.","1.","1.",lr[1]].join(" ");Ie=typeof lt=="string"?[lt,xt,Yt,lr[1]].join(" "):U.precision===2?[$e(lt/255),$e(xt/255),$e(Yt/255),lr[1]].join(" "):[it(lt/255),it(xt/255),it(Yt/255),lr[1]].join(" ")}else Ie=typeof lt=="string"?[lt,xt,Yt,zn,lr[2]].join(" "):U.precision===2?[$e(lt),$e(xt),$e(Yt),$e(zn),lr[2]].join(" "):[it(lt),it(xt),it(Yt),it(zn),lr[2]].join(" ");return Ie},Fc=V.__private__.getFilters=function(){return b},ql=V.__private__.putStream=function(U){var Ie=(U=U||{}).data||"",lt=U.filters||Fc(),xt=U.alreadyAppliedFilters||[],Yt=U.addLength1||!1,zn=Ie.length,lr=U.objectId,Si=function(ds){return ds};if(X!==null&&lr===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");X!==null&&(Si=KA.encryptor(lr,0));var Qi={};lt===!0&&(lt=["FlateEncode"]);var wo=U.additionalKeyValues||[],So=(Qi=Fi.API.processDataByFilters!==void 0?Fi.API.processDataByFilters(Ie,lt):{data:Ie,reverseChain:[]}).reverseChain+(Array.isArray(xt)?xt.join(" "):xt.toString());if(Qi.data.length!==0&&(wo.push({key:"Length",value:Qi.data.length}),Yt===!0&&wo.push({key:"Length1",value:zn})),So.length!=0)if(So.split("/").length-1==1)wo.push({key:"Filter",value:So});else{wo.push({key:"Filter",value:"["+So+"]"});for(var Oa=0;Oa<wo.length;Oa+=1)if(wo[Oa].key==="DecodeParms"){for(var OA=[],is=0;is<Qi.reverseChain.split("/").length-1;is+=1)OA.push("null");OA.push(wo[Oa].value),wo[Oa].value="["+OA.join(" ")+"]"}}pt("<<");for(var fA=0;fA<wo.length;fA++)pt("/"+wo[fA].key+" "+wo[fA].value);pt(">>"),Qi.data.length!==0&&(pt("stream"),pt(Si(Qi.data)),pt("endstream"))},Xd=V.__private__.putPage=function(U){var Ie=U.number,lt=U.data,xt=U.objId,Yt=U.contentsObjId;Ts(xt,!0),pt("<</Type /Page"),pt("/Parent "+U.rootDictionaryObjId+" 0 R"),pt("/Resources "+U.resourceDictionaryObjId+" 0 R"),pt("/MediaBox ["+parseFloat(Dt(U.mediaBox.bottomLeftX))+" "+parseFloat(Dt(U.mediaBox.bottomLeftY))+" "+Dt(U.mediaBox.topRightX)+" "+Dt(U.mediaBox.topRightY)+"]"),U.cropBox!==null&&pt("/CropBox ["+Dt(U.cropBox.bottomLeftX)+" "+Dt(U.cropBox.bottomLeftY)+" "+Dt(U.cropBox.topRightX)+" "+Dt(U.cropBox.topRightY)+"]"),U.bleedBox!==null&&pt("/BleedBox ["+Dt(U.bleedBox.bottomLeftX)+" "+Dt(U.bleedBox.bottomLeftY)+" "+Dt(U.bleedBox.topRightX)+" "+Dt(U.bleedBox.topRightY)+"]"),U.trimBox!==null&&pt("/TrimBox ["+Dt(U.trimBox.bottomLeftX)+" "+Dt(U.trimBox.bottomLeftY)+" "+Dt(U.trimBox.topRightX)+" "+Dt(U.trimBox.topRightY)+"]"),U.artBox!==null&&pt("/ArtBox ["+Dt(U.artBox.bottomLeftX)+" "+Dt(U.artBox.bottomLeftY)+" "+Dt(U.artBox.topRightX)+" "+Dt(U.artBox.topRightY)+"]"),typeof U.userUnit=="number"&&U.userUnit!==1&&pt("/UserUnit "+U.userUnit),Ta.publish("putPage",{objId:xt,pageContext:Bo[Ie],pageNumber:Ie,page:lt}),pt("/Contents "+Yt+" 0 R"),pt(">>"),pt("endobj");var zn=lt.join(`
|
|
|
`);return dt===wt&&(zn+=`
|
|
|
Q`),Ts(Yt,!0),ql({data:zn,filters:Fc(),objectId:Yt}),pt("endobj"),xt},qc=V.__private__.putPages=function(){var U,Ie,lt=[];for(U=1;U<=aA;U++)Bo[U].objId=Ss(),Bo[U].contentsObjId=Ss();for(U=1;U<=aA;U++)lt.push(Xd({number:U,data:vr[U],objId:Bo[U].objId,contentsObjId:Bo[U].contentsObjId,mediaBox:Bo[U].mediaBox,cropBox:Bo[U].cropBox,bleedBox:Bo[U].bleedBox,trimBox:Bo[U].trimBox,artBox:Bo[U].artBox,userUnit:Bo[U].userUnit,rootDictionaryObjId:rd,resourceDictionaryObjId:Sc}));Ts(rd,!0),pt("<</Type /Pages");var xt="/Kids [";for(Ie=0;Ie<aA;Ie++)xt+=lt[Ie]+" 0 R ";pt(xt+"]"),pt("/Count "+aA),pt(">>"),pt("endobj"),Ta.publish("postPutPages")},Yd=function(U){Ta.publish("putFont",{font:U,out:pt,newObject:DA,putStream:ql}),U.isAlreadyPutted!==!0&&(U.objectNumber=DA(),pt("<<"),pt("/Type /Font"),pt("/BaseFont /"+Fl(U.postScriptName)),pt("/Subtype /Type1"),typeof U.encoding=="string"&&pt("/Encoding /"+U.encoding),pt("/FirstChar 32"),pt("/LastChar 255"),pt(">>"),pt("endobj"))},zf=function(U){U.objectNumber=DA();var Ie=[];Ie.push({key:"Type",value:"/XObject"}),Ie.push({key:"Subtype",value:"/Form"}),Ie.push({key:"BBox",value:"["+[Dt(U.x),Dt(U.y),Dt(U.x+U.width),Dt(U.y+U.height)].join(" ")+"]"}),Ie.push({key:"Matrix",value:"["+U.matrix.toString()+"]"});var lt=U.pages[1].join(`
|
|
|
`);ql({data:lt,additionalKeyValues:Ie,objectId:U.objectNumber}),pt("endobj")},Zf=function(U,Ie){Ie||(Ie=21);var lt=DA(),xt=function(lr,Si){var Qi,wo=[],So=1/(Si-1);for(Qi=0;Qi<1;Qi+=So)wo.push(Qi);if(wo.push(1),lr[0].offset!=0){var Oa={offset:0,color:lr[0].color};lr.unshift(Oa)}if(lr[lr.length-1].offset!=1){var OA={offset:1,color:lr[lr.length-1].color};lr.push(OA)}for(var is="",fA=0,ds=0;ds<wo.length;ds++){for(Qi=wo[ds];Qi>lr[fA+1].offset;)fA++;var os=lr[fA].offset,Ms=(Qi-os)/(lr[fA+1].offset-os),tc=lr[fA].color,vl=lr[fA+1].color;is+=_t(Math.round((1-Ms)*tc[0]+Ms*vl[0]).toString(16))+_t(Math.round((1-Ms)*tc[1]+Ms*vl[1]).toString(16))+_t(Math.round((1-Ms)*tc[2]+Ms*vl[2]).toString(16))}return is.trim()}(U.colors,Ie),Yt=[];Yt.push({key:"FunctionType",value:"0"}),Yt.push({key:"Domain",value:"[0.0 1.0]"}),Yt.push({key:"Size",value:"["+Ie+"]"}),Yt.push({key:"BitsPerSample",value:"8"}),Yt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Yt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ql({data:xt,additionalKeyValues:Yt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:lt}),pt("endobj"),U.objectNumber=DA(),pt("<< /ShadingType "+U.type),pt("/ColorSpace /DeviceRGB");var zn="/Coords ["+Dt(parseFloat(U.coords[0]))+" "+Dt(parseFloat(U.coords[1]))+" ";U.type===2?zn+=Dt(parseFloat(U.coords[2]))+" "+Dt(parseFloat(U.coords[3])):zn+=Dt(parseFloat(U.coords[2]))+" "+Dt(parseFloat(U.coords[3]))+" "+Dt(parseFloat(U.coords[4]))+" "+Dt(parseFloat(U.coords[5])),pt(zn+="]"),U.matrix&&pt("/Matrix ["+U.matrix.toString()+"]"),pt("/Function "+lt+" 0 R"),pt("/Extend [true true]"),pt(">>"),pt("endobj")},Wf=function(U,Ie){var lt=Ss(),xt=DA();Ie.push({resourcesOid:lt,objectOid:xt}),U.objectNumber=xt;var Yt=[];Yt.push({key:"Type",value:"/Pattern"}),Yt.push({key:"PatternType",value:"1"}),Yt.push({key:"PaintType",value:"1"}),Yt.push({key:"TilingType",value:"1"}),Yt.push({key:"BBox",value:"["+U.boundingBox.map(Dt).join(" ")+"]"}),Yt.push({key:"XStep",value:Dt(U.xStep)}),Yt.push({key:"YStep",value:Dt(U.yStep)}),Yt.push({key:"Resources",value:lt+" 0 R"}),U.matrix&&Yt.push({key:"Matrix",value:"["+U.matrix.toString()+"]"}),ql({data:U.stream,additionalKeyValues:Yt,objectId:U.objectNumber}),pt("endobj")},Vp=function(U){for(var Ie in U.objectNumber=DA(),pt("<<"),U)switch(Ie){case"opacity":pt("/ca "+$e(U[Ie]));break;case"stroke-opacity":pt("/CA "+$e(U[Ie]))}pt(">>"),pt("endobj")},Nh=function(U){Ts(U.resourcesOid,!0),pt("<<"),pt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var Ie in pt("/Font <<"),Ti)Ti.hasOwnProperty(Ie)&&(Ce===!1||Ce===!0&&Le.hasOwnProperty(Ie))&&pt("/"+Ie+" "+Ti[Ie].objectNumber+" 0 R");pt(">>")}(),function(){if(Object.keys(io).length>0){for(var Ie in pt("/Shading <<"),io)io.hasOwnProperty(Ie)&&io[Ie]instanceof Kc&&io[Ie].objectNumber>=0&&pt("/"+Ie+" "+io[Ie].objectNumber+" 0 R");Ta.publish("putShadingPatternDict"),pt(">>")}}(),function(Ie){if(Object.keys(io).length>0){for(var lt in pt("/Pattern <<"),io)io.hasOwnProperty(lt)&&io[lt]instanceof V.TilingPattern&&io[lt].objectNumber>=0&&io[lt].objectNumber<Ie&&pt("/"+lt+" "+io[lt].objectNumber+" 0 R");Ta.publish("putTilingPatternDict"),pt(">>")}}(U.objectOid),function(){if(Object.keys(_o).length>0){var Ie;for(Ie in pt("/ExtGState <<"),_o)_o.hasOwnProperty(Ie)&&_o[Ie].objectNumber>=0&&pt("/"+Ie+" "+_o[Ie].objectNumber+" 0 R");Ta.publish("putGStateDict"),pt(">>")}}(),function(){for(var Ie in pt("/XObject <<"),Vs)Vs.hasOwnProperty(Ie)&&Vs[Ie].objectNumber>=0&&pt("/"+Ie+" "+Vs[Ie].objectNumber+" 0 R");Ta.publish("putXobjectDict"),pt(">>")}(),pt(">>"),pt("endobj")},H0=function(U){Lo[U.fontName]=Lo[U.fontName]||{},Lo[U.fontName][U.fontStyle]=U.id},$0=function(U,Ie,lt,xt,Yt){var zn={id:"F"+(Object.keys(Ti).length+1).toString(10),postScriptName:U,fontName:Ie,fontStyle:lt,encoding:xt,isStandardFont:Yt||!1,metadata:{}};return Ta.publish("addFont",{font:zn,instance:this}),Ti[zn.id]=zn,H0(zn),zn.id},ec=V.__private__.pdfEscape=V.pdfEscape=function(U,Ie){return function(lt,xt){var Yt,zn,lr,Si,Qi,wo,So,Oa,OA;if(lr=(xt=xt||{}).sourceEncoding||"Unicode",Qi=xt.outputEncoding,(xt.autoencode||Qi)&&Ti[Zi].metadata&&Ti[Zi].metadata[lr]&&Ti[Zi].metadata[lr].encoding&&(Si=Ti[Zi].metadata[lr].encoding,!Qi&&Ti[Zi].encoding&&(Qi=Ti[Zi].encoding),!Qi&&Si.codePages&&(Qi=Si.codePages[0]),typeof Qi=="string"&&(Qi=Si[Qi]),Qi)){for(So=!1,wo=[],Yt=0,zn=lt.length;Yt<zn;Yt++)(Oa=Qi[lt.charCodeAt(Yt)])?wo.push(String.fromCharCode(Oa)):wo.push(lt[Yt]),wo[Yt].charCodeAt(0)>>8&&(So=!0);lt=wo.join("")}for(Yt=lt.length;So===void 0&&Yt!==0;)lt.charCodeAt(Yt-1)>>8&&(So=!0),Yt--;if(!So)return lt;for(wo=xt.noBOM?[]:[254,255],Yt=0,zn=lt.length;Yt<zn;Yt++){if((OA=(Oa=lt.charCodeAt(Yt))>>8)>>8)throw new Error("Character at position "+Yt+" of string '"+lt+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");wo.push(OA),wo.push(Oa-(OA<<8))}return String.fromCharCode.apply(void 0,wo)}(U,Ie).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Lh=V.__private__.beginPage=function(U){vr[++aA]=[],Bo[aA]={objId:0,contentsObjId:0,userUnit:Number(y),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(U[0]),topRightY:Number(U[1])}},K0(aA),Rn(vr[ct])},k0=function(U,Ie){var lt,xt,Yt;switch(t=Ie||t,typeof U=="string"&&(lt=ke(U.toLowerCase()),Array.isArray(lt)&&(xt=lt[0],Yt=lt[1])),Array.isArray(U)&&(xt=U[0]*ho,Yt=U[1]*ho),isNaN(xt)&&(xt=i[0],Yt=i[1]),(xt>14400||Yt>14400)&&(ka.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),xt=Math.min(14400,xt),Yt=Math.min(14400,Yt)),i=[xt,Yt],t.substr(0,1)){case"l":Yt>xt&&(i=[Yt,xt]);break;case"p":xt>Yt&&(i=[Yt,xt])}Lh(i),rg(Rh),pt(Gf),Mh!==0&&pt(Mh+" J"),jh!==0&&pt(jh+" j"),Ta.publish("addPage",{pageNumber:aA})},_h=function(U){U>0&&U<=aA&&(vr.splice(U,1),Bo.splice(U,1),aA--,ct>aA&&(ct=aA),this.setPage(ct))},K0=function(U){U>0&&U<=aA&&(ct=U)},z0=V.__private__.getNumberOfPages=V.getNumberOfPages=function(){return vr.length-1},Z0=function(U,Ie,lt){var xt,Yt=void 0;return lt=lt||{},U=U!==void 0?U:Ti[Zi].fontName,Ie=Ie!==void 0?Ie:Ti[Zi].fontStyle,xt=U.toLowerCase(),Lo[xt]!==void 0&&Lo[xt][Ie]!==void 0?Yt=Lo[xt][Ie]:Lo[U]!==void 0&&Lo[U][Ie]!==void 0?Yt=Lo[U][Ie]:lt.disableWarning===!1&&ka.warn("Unable to look up font label for font '"+U+"', '"+Ie+"'. Refer to getFontList() for available fonts."),Yt||lt.noFallback||(Yt=Lo.times[Ie])==null&&(Yt=Lo.times.normal),Yt},Vf=V.__private__.putInfo=function(){var U=DA(),Ie=function(xt){return xt};for(var lt in X!==null&&(Ie=KA.encryptor(U,0)),pt("<<"),pt("/Producer ("+ec(Ie("jsPDF "+Fi.version))+")"),Ho)Ho.hasOwnProperty(lt)&&Ho[lt]&&pt("/"+lt.substr(0,1).toUpperCase()+lt.substr(1)+" ("+ec(Ie(Ho[lt]))+")");pt("/CreationDate ("+ec(Ie(vn))+")"),pt(">>"),pt("endobj")},Gp=V.__private__.putCatalog=function(U){var Ie=(U=U||{}).rootDictionaryObjId||rd;switch(DA(),pt("<<"),pt("/Type /Catalog"),pt("/Pages "+Ie+" 0 R"),ki||(ki="fullwidth"),ki){case"fullwidth":pt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":pt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":pt("/OpenAction [3 0 R /Fit]");break;case"original":pt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var lt=""+ki;lt.substr(lt.length-1)==="%"&&(ki=parseInt(ki)/100),typeof ki=="number"&&pt("/OpenAction [3 0 R /XYZ null null "+$e(ki)+"]")}switch(Oo||(Oo="continuous"),Oo){case"continuous":pt("/PageLayout /OneColumn");break;case"single":pt("/PageLayout /SinglePage");break;case"two":case"twoleft":pt("/PageLayout /TwoColumnLeft");break;case"tworight":pt("/PageLayout /TwoColumnRight")}Xi&&pt("/PageMode /"+Xi),Ta.publish("putCatalog"),pt(">>"),pt("endobj")},rs=V.__private__.putTrailer=function(){pt("trailer"),pt("<<"),pt("/Size "+(zt+1)),pt("/Root "+zt+" 0 R"),pt("/Info "+(zt-1)+" 0 R"),X!==null&&pt("/Encrypt "+KA.oid+" 0 R"),pt("/ID [ <"+Bn+"> <"+Bn+"> ]"),pt(">>")},W0=V.__private__.putHeader=function(){pt("%PDF-"+tt),pt("%\xBA\xDF\xAC\xE0")},V0=V.__private__.putXRef=function(){var U="0000000000";pt("xref"),pt("0 "+(zt+1)),pt("0000000000 65535 f ");for(var Ie=1;Ie<=zt;Ie++)typeof un[Ie]=="function"?pt((U+un[Ie]()).slice(-10)+" 00000 n "):un[Ie]!==void 0?pt((U+un[Ie]).slice(-10)+" 00000 n "):pt("0000000000 00000 n ")},xu=V.__private__.buildDocument=function(){var U;zt=0,bn=0,En=[],un=[],Gn=[],rd=Ss(),Sc=Ss(),Rn(En),Ta.publish("buildDocument"),W0(),qc(),function(){Ta.publish("putAdditionalObjects");for(var lt=0;lt<Gn.length;lt++){var xt=Gn[lt];Ts(xt.objId,!0),pt(xt.content),pt("endobj")}Ta.publish("postPutAdditionalObjects")}(),U=[],function(){for(var lt in Ti)Ti.hasOwnProperty(lt)&&(Ce===!1||Ce===!0&&Le.hasOwnProperty(lt))&&Yd(Ti[lt])}(),function(){var lt;for(lt in _o)_o.hasOwnProperty(lt)&&Vp(_o[lt])}(),function(){for(var lt in Vs)Vs.hasOwnProperty(lt)&&zf(Vs[lt])}(),function(lt){var xt;for(xt in io)io.hasOwnProperty(xt)&&(io[xt]instanceof Kc?Zf(io[xt]):io[xt]instanceof zc&&Wf(io[xt],lt))}(U),Ta.publish("putResources"),U.forEach(Nh),Nh({resourcesOid:Sc,objectOid:Number.MAX_SAFE_INTEGER}),Ta.publish("postPutResources"),X!==null&&(KA.oid=DA(),pt("<<"),pt("/Filter /Standard"),pt("/V "+KA.v),pt("/R "+KA.r),pt("/U <"+KA.toHexString(KA.U)+">"),pt("/O <"+KA.toHexString(KA.O)+">"),pt("/P "+KA.P),pt(">>"),pt("endobj")),Vf(),Gp();var Ie=bn;return V0(),rs(),pt("startxref"),pt(""+Ie),pt("%%EOF"),Rn(vr[ct]),En.join(`
|
|
|
`)},Jd=V.__private__.getBlob=function(U){return new Blob([Mo(U)],{type:"application/pdf"})},Uc=V.output=V.__private__.output=(Jl=function(U,Ie){switch(typeof(Ie=Ie||{})=="string"?Ie={filename:Ie}:Ie.filename=Ie.filename||"generated.pdf",U){case void 0:return xu();case"save":V.save(Ie.filename);break;case"arraybuffer":return Mo(xu());case"blob":return Jd(xu());case"bloburi":case"bloburl":if(ao.URL!==void 0&&typeof ao.URL.createObjectURL=="function")return ao.URL&&ao.URL.createObjectURL(Jd(xu()))||void 0;ka.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var lt="",xt=xu();try{lt=Ih(xt)}catch(is){lt=Ih(unescape(encodeURIComponent(xt)))}return"data:application/pdf;filename="+Ie.filename+";base64,"+lt;case"pdfobjectnewwindow":if(Object.prototype.toString.call(ao)==="[object Window]"){var Yt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",zn=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';Ie.pdfObjectUrl&&(Yt=Ie.pdfObjectUrl,zn="");var lr='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+Yt+'"'+zn+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(Ie)+");<\/script></body></html>",Si=ao.open();return Si!==null&&Si.document.write(lr),Si}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(ao)==="[object Window]"){var Qi='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(Ie.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+Ie.filename+'" width="500px" height="400px" /></body></html>',wo=ao.open();if(wo!==null){wo.document.write(Qi);var So=this;wo.document.documentElement.querySelector("#pdfViewer").onload=function(){wo.document.title=Ie.filename,wo.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(So.output("bloburl"))}}return wo}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(ao)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Oa='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",Ie)+'"></iframe></body></html>',OA=ao.open();if(OA!==null&&(OA.document.write(Oa),OA.document.title=Ie.filename),OA||typeof safari=="undefined")return OA;break;case"datauri":case"dataurl":return ao.document.location.href=this.output("datauristring",Ie);default:return null}},Jl.foo=function(){try{return Jl.apply(this,arguments)}catch(lt){var U=lt.stack||"";~U.indexOf(" at ")&&(U=U.split(" at ")[1]);var Ie="Error in function "+U.split(`
|
|
|
`)[0].split("<")[0]+": "+lt.message;if(!ao.console)throw new Error(Ie);ao.console.error(Ie,lt),ao.alert&&alert(Ie)}},Jl.foo.bar=Jl,Jl.foo),qd=function(U){return Array.isArray(Vd)===!0&&Vd.indexOf(U)>-1};switch(r){case"pt":ho=1;break;case"mm":ho=72/25.4;break;case"cm":ho=72/2.54;break;case"in":ho=72;break;case"px":ho=qd("px_scaling")==1?.75:96/72;break;case"pc":case"em":ho=12;break;case"ex":ho=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);ho=r}var KA=null;rr(),cn();var Qh=V.__private__.getPageInfo=V.getPageInfo=function(U){if(isNaN(U)||U%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Bo[U].objId,pageNumber:U,pageContext:Bo[U]}},Xp=V.__private__.getPageInfoByObjId=function(U){if(isNaN(U)||U%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var Ie in Bo)if(Bo[Ie].objId===U)break;return Qh(Ie)},Yp=V.__private__.getCurrentPageInfo=V.getCurrentPageInfo=function(){return{objId:Bo[ct].objId,pageNumber:ct,pageContext:Bo[ct]}};V.addPage=function(){return k0.apply(this,arguments),this},V.setPage=function(){return K0.apply(this,arguments),Rn.call(this,vr[ct]),this},V.insertPage=function(U){return this.addPage(),this.movePage(ct,U),this},V.movePage=function(U,Ie){var lt,xt;if(U>Ie){lt=vr[U],xt=Bo[U];for(var Yt=U;Yt>Ie;Yt--)vr[Yt]=vr[Yt-1],Bo[Yt]=Bo[Yt-1];vr[Ie]=lt,Bo[Ie]=xt,this.setPage(Ie)}else if(U<Ie){lt=vr[U],xt=Bo[U];for(var zn=U;zn<Ie;zn++)vr[zn]=vr[zn+1],Bo[zn]=Bo[zn+1];vr[Ie]=lt,Bo[Ie]=xt,this.setPage(Ie)}return this},V.deletePage=function(){return _h.apply(this,arguments),this},V.__private__.text=V.text=function(U,Ie,lt,xt,Yt){var zn,lr,Si,Qi,wo,So,Oa,OA,is,fA=(xt=xt||{}).scope||this;if(typeof U=="number"&&typeof Ie=="number"&&(typeof lt=="string"||Array.isArray(lt))){var ds=lt;lt=Ie,Ie=U,U=ds}if(arguments[3]instanceof oo==0?(Si=arguments[4],Qi=arguments[5],(0,ye.Z)(Oa=arguments[3])==="object"&&Oa!==null||(typeof Si=="string"&&(Qi=Si,Si=null),typeof Oa=="string"&&(Qi=Oa,Oa=null),typeof Oa=="number"&&(Si=Oa,Oa=null),xt={flags:Oa,angle:Si,align:Qi})):(ft("The transform parameter of text() with a Matrix value"),is=Yt),isNaN(Ie)||isNaN(lt)||U==null)throw new Error("Invalid arguments passed to jsPDF.text");if(U.length===0)return fA;var os,Ms="",tc=typeof xt.lineHeightFactor=="number"?xt.lineHeightFactor:tf,vl=fA.internal.scaleFactor;function np(Ma){return Ma=Ma.split(" ").join(Array(xt.TabLen||9).join(" ")),ec(Ma,Oa)}function qf(Ma){for(var AA,ZA=Ma.concat(),fs=[],Nu=ZA.length;Nu--;)typeof(AA=ZA.shift())=="string"?fs.push(AA):Array.isArray(Ma)&&(AA.length===1||AA[1]===void 0&&AA[2]===void 0)?fs.push(AA[0]):fs.push([AA[0],AA[1],AA[2]]);return fs}function sf(Ma,AA){var ZA;if(typeof Ma=="string")ZA=AA(Ma)[0];else if(Array.isArray(Ma)){for(var fs,Nu,Jh=Ma.concat(),nh=[],op=Jh.length;op--;)typeof(fs=Jh.shift())=="string"?nh.push(AA(fs)[0]):Array.isArray(fs)&&typeof fs[0]=="string"&&(Nu=AA(fs[0],fs[1],fs[2]),nh.push([Nu[0],Nu[1],Nu[2]]));ZA=nh}return ZA}var ad=!1,lf=!0;if(typeof U=="string")ad=!0;else if(Array.isArray(U)){var cf=U.concat();lr=[];for(var uf,Gs=cf.length;Gs--;)(typeof(uf=cf.shift())!="string"||Array.isArray(uf)&&typeof uf[0]!="string")&&(lf=!1);ad=lf}if(ad===!1)throw new Error('Type of text must be string or Array. "'+U+'" is not recognized.');typeof U=="string"&&(U=U.match(/[\r?\n]/)?U.split(/\r\n|\r|\n/g):[U]);var df=Fr/fA.internal.scaleFactor,ff=df*(tc-1);switch(xt.baseline){case"bottom":lt-=ff;break;case"top":lt+=df-ff;break;case"hanging":lt+=df-2*ff;break;case"middle":lt+=df/2-ff}if((So=xt.maxWidth||0)>0&&(typeof U=="string"?U=fA.splitTextToSize(U,So):Object.prototype.toString.call(U)==="[object Array]"&&(U=U.reduce(function(Ma,AA){return Ma.concat(fA.splitTextToSize(AA,So))},[]))),zn={text:U,x:Ie,y:lt,options:xt,mutex:{pdfEscape:ec,activeFontKey:Zi,fonts:Ti,activeFontSize:Fr}},Ta.publish("preProcessText",zn),U=zn.text,Si=(xt=zn.options).angle,is instanceof oo==0&&Si&&typeof Si=="number"){Si*=Math.PI/180,xt.rotationDirection===0&&(Si=-Si),dt===wt&&(Si=-Si);var kh=Math.cos(Si),Kh=Math.sin(Si);is=new oo(kh,Kh,-Kh,kh,0,0)}else Si&&Si instanceof oo&&(is=Si);dt!==wt||is||(is=Cu),(wo=xt.charSpace||Yf)!==void 0&&(Ms+=Dt(St(wo))+` Tc
|
|
|
`,this.setCharSpace(this.getCharSpace()||0)),(OA=xt.horizontalScale)!==void 0&&(Ms+=Dt(100*OA)+` Tz
|
|
|
`),xt.lang;var RA=-1,Uu=xt.renderingMode!==void 0?xt.renderingMode:xt.stroke,eh=fA.internal.getCurrentPageInfo().pageContext;switch(Uu){case 0:case!1:case"fill":RA=0;break;case 1:case!0:case"stroke":RA=1;break;case 2:case"fillThenStroke":RA=2;break;case 3:case"invisible":RA=3;break;case 4:case"fillAndAddForClipping":RA=4;break;case 5:case"strokeAndAddPathForClipping":RA=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":RA=6;break;case 7:case"addToPathForClipping":RA=7}var rp=eh.usedRenderingMode!==void 0?eh.usedRenderingMode:-1;RA!==-1?Ms+=RA+` Tr
|
|
|
`:rp!==-1&&(Ms+=`0 Tr
|
|
|
`),RA!==-1&&(eh.usedRenderingMode=RA),Qi=xt.align||"left";var nc,hf=Fr*tc,zh=fA.internal.pageSize.getWidth(),Zh=Ti[Zi];wo=xt.charSpace||Yf,So=xt.maxWidth||0,Oa=Object.assign({autoencode:!0,noBOM:!0},xt.flags);var Ad=[],pf=function(Ma){return fA.getStringUnitWidth(Ma,{font:Zh,charSpace:wo,fontSize:Fr,doKerning:!1})*Fr/vl};if(Object.prototype.toString.call(U)==="[object Array]"){var Ul;lr=qf(U),Qi!=="left"&&(nc=lr.map(pf));var Ol,sd=0;if(Qi==="right"){Ie-=nc[0],U=[],Gs=lr.length;for(var Ou=0;Ou<Gs;Ou++)Ou===0?(Ol=Eu(Ie),Ul=Su(lt)):(Ol=St(sd-nc[Ou]),Ul=-hf),U.push([lr[Ou],Ol,Ul]),sd=nc[Ou]}else if(Qi==="center"){Ie-=nc[0]/2,U=[],Gs=lr.length;for(var ld=0;ld<Gs;ld++)ld===0?(Ol=Eu(Ie),Ul=Su(lt)):(Ol=St((sd-nc[ld])/2),Ul=-hf),U.push([lr[ld],Ol,Ul]),sd=nc[ld]}else if(Qi==="left"){U=[],Gs=lr.length;for(var Wh=0;Wh<Gs;Wh++)U.push(lr[Wh])}else if(Qi==="justify"&&Zh.encoding==="Identity-H"){U=[],Gs=lr.length,So=So!==0?So:zh;for(var th=0,zA=0;zA<Gs;zA++)if(Ul=zA===0?Su(lt):-hf,Ol=zA===0?Eu(Ie):th,zA<Gs-1){var ip=St((So-nc[zA])/(lr[zA].split(" ").length-1)),tu=lr[zA].split(" ");U.push([tu[0]+" ",Ol,Ul]),th=0;for(var nu=1;nu<tu.length;nu++){var Vh=(pf(tu[nu-1]+" "+tu[nu])-pf(tu[nu]))*vl+ip;nu==tu.length-1?U.push([tu[nu],Vh,0]):U.push([tu[nu]+" ",Vh,0]),th-=Vh}}else U.push([lr[zA],Ol,Ul]);U.push(["",th,0])}else{if(Qi!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(U=[],Gs=lr.length,So=So!==0?So:zh,zA=0;zA<Gs;zA++){Ul=zA===0?Su(lt):-hf,Ol=zA===0?Eu(Ie):0;var Gh=lr[zA].split(" ").length-1,Xh=Gh>0?(So-nc[zA])/Gh:0;zA<Gs-1?Ad.push(Dt(St(Xh))):Ad.push(0),U.push([lr[zA],Ol,Ul])}}}(typeof xt.R2L=="boolean"?xt.R2L:jo)===!0&&(U=sf(U,function(Ma,AA,ZA){return[Ma.split("").reverse().join(""),AA,ZA]})),zn={text:U,x:Ie,y:lt,options:xt,mutex:{pdfEscape:ec,activeFontKey:Zi,fonts:Ti,activeFontSize:Fr}},Ta.publish("postProcessText",zn),U=zn.text,os=zn.mutex.isHex||!1;var Yh=Ti[Zi].encoding;Yh!=="WinAnsiEncoding"&&Yh!=="StandardEncoding"||(U=sf(U,function(Ma,AA,ZA){return[np(Ma),AA,ZA]})),lr=qf(U),U=[];for(var cd,ud,dd,gf=Array.isArray(lr[0])?1:0,fd="",mf=function(Ma,AA,ZA){var fs="";return ZA instanceof oo?(ZA=typeof xt.angle=="number"?Bu(ZA,new oo(1,0,0,1,Ma,AA)):Bu(new oo(1,0,0,1,Ma,AA),ZA),dt===wt&&(ZA=Bu(new oo(1,0,0,-1,0,0),ZA)),fs=ZA.join(" ")+` Tm
|
|
|
`):fs=Dt(Ma)+" "+Dt(AA)+` Td
|
|
|
`,fs},rc=0;rc<lr.length;rc++){switch(fd="",gf){case 1:dd=(os?"<":"(")+lr[rc][0]+(os?">":")"),cd=parseFloat(lr[rc][1]),ud=parseFloat(lr[rc][2]);break;case 0:dd=(os?"<":"(")+lr[rc]+(os?">":")"),cd=Eu(Ie),ud=Su(lt)}Ad!==void 0&&Ad[rc]!==void 0&&(fd=Ad[rc]+` Tw
|
|
|
`),rc===0?U.push(fd+mf(cd,ud,is)+dd):gf===0?U.push(fd+dd):gf===1&&U.push(fd+mf(cd,ud,is)+dd)}U=gf===0?U.join(` Tj
|
|
|
T* `):U.join(` Tj
|
|
|
`),U+=` Tj
|
|
|
`;var ru=`BT
|
|
|
/`;return ru+=Zi+" "+Fr+` Tf
|
|
|
`,ru+=Dt(Fr*tc)+` TL
|
|
|
`,ru+=nf+`
|
|
|
`,ru+=Ms,ru+=U,pt(ru+="ET"),Le[Zi]=!0,fA};var Jp=V.__private__.clip=V.clip=function(U){return pt(U==="evenodd"?"W*":"W"),this};V.clipEvenOdd=function(){return Jp("evenodd")},V.__private__.discardPath=V.discardPath=function(){return pt("n"),this};var eu=V.__private__.isValidStyle=function(U){var Ie=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(U)!==-1&&(Ie=!0),Ie};V.__private__.setDefaultPathOperation=V.setDefaultPathOperation=function(U){return eu(U)&&(P=U),this};var G0=V.__private__.getStyle=V.getStyle=function(U){var Ie=P;switch(U){case"D":case"S":Ie="S";break;case"F":Ie="f";break;case"FD":case"DF":Ie="B";break;case"f":case"f*":case"B":case"B*":Ie=U}return Ie},X0=V.close=function(){return pt("h"),this};V.stroke=function(){return pt("S"),this},V.fill=function(U){return id("f",U),this},V.fillEvenOdd=function(U){return id("f*",U),this},V.fillStroke=function(U){return id("B",U),this},V.fillStrokeEvenOdd=function(U){return id("B*",U),this};var id=function(U,Ie){(0,ye.Z)(Ie)==="object"?eg(Ie,U):pt(U)},Ph=function(U){U===null||dt===wt&&U===void 0||(U=G0(U),pt(U))};function qp(U,Ie,lt,xt,Yt){var zn=new zc(Ie||this.boundingBox,lt||this.xStep,xt||this.yStep,this.gState,Yt||this.matrix);zn.stream=this.stream;var lr=U+"$$"+this.cloneIndex+++"$$";return Yl(lr,zn),zn}var eg=function(U,Ie){var lt=ca[U.key],xt=io[lt];if(xt instanceof Kc)pt("q"),pt(tg(Ie)),xt.gState&&V.setGState(xt.gState),pt(U.matrix.toString()+" cm"),pt("/"+lt+" sh"),pt("Q");else if(xt instanceof zc){var Yt=new oo(1,0,0,-1,0,Af());U.matrix&&(Yt=Yt.multiply(U.matrix||Cu),lt=qp.call(xt,U.key,U.boundingBox,U.xStep,U.yStep,Yt).id),pt("q"),pt("/Pattern cs"),pt("/"+lt+" scn"),xt.gState&&V.setGState(xt.gState),pt(Ie),pt("Q")}},tg=function(U){switch(U){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"}},Dh=V.moveTo=function(U,Ie){return pt(Dt(St(U))+" "+Dt(Bt(Ie))+" m"),this},ef=V.lineTo=function(U,Ie){return pt(Dt(St(U))+" "+Dt(Bt(Ie))+" l"),this},od=V.curveTo=function(U,Ie,lt,xt,Yt,zn){return pt([Dt(St(U)),Dt(Bt(Ie)),Dt(St(lt)),Dt(Bt(xt)),Dt(St(Yt)),Dt(Bt(zn)),"c"].join(" ")),this};V.__private__.line=V.line=function(U,Ie,lt,xt,Yt){if(isNaN(U)||isNaN(Ie)||isNaN(lt)||isNaN(xt)||!eu(Yt))throw new Error("Invalid arguments passed to jsPDF.line");return dt===Ut?this.lines([[lt-U,xt-Ie]],U,Ie,[1,1],Yt||"S"):this.lines([[lt-U,xt-Ie]],U,Ie,[1,1]).stroke()},V.__private__.lines=V.lines=function(U,Ie,lt,xt,Yt,zn){var lr,Si,Qi,wo,So,Oa,OA,is,fA,ds,os,Ms;if(typeof U=="number"&&(Ms=lt,lt=Ie,Ie=U,U=Ms),xt=xt||[1,1],zn=zn||!1,isNaN(Ie)||isNaN(lt)||!Array.isArray(U)||!Array.isArray(xt)||!eu(Yt)||typeof zn!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Dh(Ie,lt),lr=xt[0],Si=xt[1],wo=U.length,ds=Ie,os=lt,Qi=0;Qi<wo;Qi++)(So=U[Qi]).length===2?(ds=So[0]*lr+ds,os=So[1]*Si+os,ef(ds,os)):(Oa=So[0]*lr+ds,OA=So[1]*Si+os,is=So[2]*lr+ds,fA=So[3]*Si+os,ds=So[4]*lr+ds,os=So[5]*Si+os,od(Oa,OA,is,fA,ds,os));return zn&&X0(),Ph(Yt),this},V.path=function(U){for(var Ie=0;Ie<U.length;Ie++){var lt=U[Ie],xt=lt.c;switch(lt.op){case"m":Dh(xt[0],xt[1]);break;case"l":ef(xt[0],xt[1]);break;case"c":od.apply(this,xt);break;case"h":X0()}}return this},V.__private__.rect=V.rect=function(U,Ie,lt,xt,Yt){if(isNaN(U)||isNaN(Ie)||isNaN(lt)||isNaN(xt)||!eu(Yt))throw new Error("Invalid arguments passed to jsPDF.rect");return dt===Ut&&(xt=-xt),pt([Dt(St(U)),Dt(Bt(Ie)),Dt(St(lt)),Dt(St(xt)),"re"].join(" ")),Ph(Yt),this},V.__private__.triangle=V.triangle=function(U,Ie,lt,xt,Yt,zn,lr){if(isNaN(U)||isNaN(Ie)||isNaN(lt)||isNaN(xt)||isNaN(Yt)||isNaN(zn)||!eu(lr))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[lt-U,xt-Ie],[Yt-lt,zn-xt],[U-Yt,Ie-zn]],U,Ie,[1,1],lr,!0),this},V.__private__.roundedRect=V.roundedRect=function(U,Ie,lt,xt,Yt,zn,lr){if(isNaN(U)||isNaN(Ie)||isNaN(lt)||isNaN(xt)||isNaN(Yt)||isNaN(zn)||!eu(lr))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Si=4/3*(Math.SQRT2-1);return Yt=Math.min(Yt,.5*lt),zn=Math.min(zn,.5*xt),this.lines([[lt-2*Yt,0],[Yt*Si,0,Yt,zn-zn*Si,Yt,zn],[0,xt-2*zn],[0,zn*Si,-Yt*Si,zn,-Yt,zn],[2*Yt-lt,0],[-Yt*Si,0,-Yt,-zn*Si,-Yt,-zn],[0,2*zn-xt],[0,-zn*Si,Yt*Si,-zn,Yt,-zn]],U+Yt,Ie,[1,1],lr,!0),this},V.__private__.ellipse=V.ellipse=function(U,Ie,lt,xt,Yt){if(isNaN(U)||isNaN(Ie)||isNaN(lt)||isNaN(xt)||!eu(Yt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var zn=4/3*(Math.SQRT2-1)*lt,lr=4/3*(Math.SQRT2-1)*xt;return Dh(U+lt,Ie),od(U+lt,Ie-lr,U+zn,Ie-xt,U,Ie-xt),od(U-zn,Ie-xt,U-lt,Ie-lr,U-lt,Ie),od(U-lt,Ie+lr,U-zn,Ie+xt,U,Ie+xt),od(U+zn,Ie+xt,U+lt,Ie+lr,U+lt,Ie),Ph(Yt),this},V.__private__.circle=V.circle=function(U,Ie,lt,xt){if(isNaN(U)||isNaN(Ie)||isNaN(lt)||!eu(xt))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(U,Ie,lt,lt,xt)},V.setFont=function(U,Ie,lt){return lt&&(Ie=Cn(Ie,lt)),Zi=Z0(U,Ie,{disableWarning:!1}),this};var ng=V.__private__.getFont=V.getFont=function(){return Ti[Z0.apply(V,arguments)]};V.__private__.getFontList=V.getFontList=function(){var U,Ie,lt={};for(U in Lo)if(Lo.hasOwnProperty(U))for(Ie in lt[U]=[],Lo[U])Lo[U].hasOwnProperty(Ie)&<[U].push(Ie);return lt},V.addFont=function(U,Ie,lt,xt,Yt){var zn=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&zn.indexOf(arguments[3])!==-1?Yt=arguments[3]:arguments[3]&&zn.indexOf(arguments[3])==-1&&(lt=Cn(lt,xt)),$0.call(this,U,Ie,lt,Yt=Yt||"Identity-H")};var tf,Rh=e.lineWidth||.200025,Co=V.__private__.getLineWidth=V.getLineWidth=function(){return Rh},rg=V.__private__.setLineWidth=V.setLineWidth=function(U){return Rh=U,pt(Dt(St(U))+" w"),this};V.__private__.setLineDash=Fi.API.setLineDash=Fi.API.setLineDashPattern=function(U,Ie){if(U=U||[],Ie=Ie||0,isNaN(Ie)||!Array.isArray(U))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return U=U.map(function(lt){return Dt(St(lt))}).join(" "),Ie=Dt(St(Ie)),pt("["+U+"] "+Ie+" d"),this};var ig=V.__private__.getLineHeight=V.getLineHeight=function(){return Fr*tf};V.__private__.getLineHeight=V.getLineHeight=function(){return Fr*tf};var og=V.__private__.setLineHeightFactor=V.setLineHeightFactor=function(U){return typeof(U=U||1.15)=="number"&&(tf=U),this},ag=V.__private__.getLineHeightFactor=V.getLineHeightFactor=function(){return tf};og(e.lineHeight);var Eu=V.__private__.getHorizontalCoordinate=function(U){return St(U)},Su=V.__private__.getVerticalCoordinate=function(U){return dt===wt?U:Bo[ct].mediaBox.topRightY-Bo[ct].mediaBox.bottomLeftY-St(U)},Ag=V.__private__.getHorizontalCoordinateString=V.getHorizontalCoordinateString=function(U){return Dt(Eu(U))},sg=V.__private__.getVerticalCoordinateString=V.getVerticalCoordinateString=function(U){return Dt(Su(U))},Gf=e.strokeColor||"0 G";V.__private__.getStrokeColor=V.getDrawColor=function(){return Jc(Gf)},V.__private__.setStrokeColor=V.setDrawColor=function(U,Ie,lt,xt){return Gf=Ic({ch1:U,ch2:Ie,ch3:lt,ch4:xt,pdfColorType:"draw",precision:2}),pt(Gf),this};var Th=e.fillColor||"0 g";V.__private__.getFillColor=V.getFillColor=function(){return Jc(Th)},V.__private__.setFillColor=V.setFillColor=function(U,Ie,lt,xt){return Th=Ic({ch1:U,ch2:Ie,ch3:lt,ch4:xt,pdfColorType:"fill",precision:2}),pt(Th),this};var nf=e.textColor||"0 g",Xf=V.__private__.getTextColor=V.getTextColor=function(){return Jc(nf)};V.__private__.setTextColor=V.setTextColor=function(U,Ie,lt,xt){return nf=Ic({ch1:U,ch2:Ie,ch3:lt,ch4:xt,pdfColorType:"text",precision:3}),this};var Yf=e.charSpace,lg=V.__private__.getCharSpace=V.getCharSpace=function(){return parseFloat(Yf||0)};V.__private__.setCharSpace=V.setCharSpace=function(U){if(isNaN(U))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Yf=U,this};var Mh=0;V.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},V.__private__.setLineCap=V.setLineCap=function(U){var Ie=V.CapJoinStyles[U];if(Ie===void 0)throw new Error("Line cap style of '"+U+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Mh=Ie,pt(Ie+" J"),this};var jh=0;V.__private__.setLineJoin=V.setLineJoin=function(U){var Ie=V.CapJoinStyles[U];if(Ie===void 0)throw new Error("Line join style of '"+U+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return jh=Ie,pt(Ie+" j"),this},V.__private__.setLineMiterLimit=V.__private__.setMiterLimit=V.setLineMiterLimit=V.setMiterLimit=function(U){if(U=U||0,isNaN(U))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return pt(Dt(St(U))+" M"),this},V.GState=Wd,V.setGState=function(U){(U=typeof U=="string"?_o[kA[U]]:rf(null,U)).equals(us)||(pt("/"+U.id+" gs"),us=U)};var rf=function(U,Ie){if(!U||!kA[U]){var lt=!1;for(var xt in _o)if(_o.hasOwnProperty(xt)&&_o[xt].equals(Ie)){lt=!0;break}if(lt)Ie=_o[xt];else{var Yt="GS"+(Object.keys(_o).length+1).toString(10);_o[Yt]=Ie,Ie.id=Yt}return U&&(kA[U]=Ie.id),Ta.publish("addGState",Ie),Ie}};V.addGState=function(U,Ie){return rf(U,Ie),this},V.saveGraphicsState=function(){return pt("q"),oA.push({key:Zi,size:Fr,color:nf}),this},V.restoreGraphicsState=function(){pt("Q");var U=oA.pop();return Zi=U.key,Fr=U.size,nf=U.color,us=null,this},V.setCurrentTransformationMatrix=function(U){return pt(U.toString()+" cm"),this},V.comment=function(U){return pt("#"+U),this};var of=function(U,Ie){var lt=U||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return lt},set:function(zn){isNaN(zn)||(lt=parseFloat(zn))}});var xt=Ie||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return xt},set:function(zn){isNaN(zn)||(xt=parseFloat(zn))}});var Yt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Yt},set:function(zn){Yt=zn.toString()}}),this},Hh=function(U,Ie,lt,xt){of.call(this,U,Ie),this.type="rect";var Yt=lt||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Yt},set:function(lr){isNaN(lr)||(Yt=parseFloat(lr))}});var zn=xt||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return zn},set:function(lr){isNaN(lr)||(zn=parseFloat(lr))}}),this},Jf=function(){this.page=aA,this.currentPage=ct,this.pages=vr.slice(0),this.pagesContext=Bo.slice(0),this.x=Wi,this.y=dA,this.matrix=Ua,this.width=Y0(ct),this.height=Iu(ct),this.outputDestination=ai,this.id="",this.objectNumber=-1};Jf.prototype.restore=function(){aA=this.page,ct=this.currentPage,Bo=this.pagesContext,vr=this.pages,Wi=this.x,dA=this.y,Ua=this.matrix,J0(ct,this.width),Fu(ct,this.height),ai=this.outputDestination};var $h=function(U,Ie,lt,xt,Yt){Yc.push(new Jf),aA=ct=0,vr=[],Wi=U,dA=Ie,Ua=Yt,Lh([lt,xt])};for(var af in V.beginFormObject=function(U,Ie,lt,xt,Yt){return $h(U,Ie,lt,xt,Yt),this},V.endFormObject=function(U){return function(Ie){if(bu[Ie])Yc.pop().restore();else{var lt=new Jf,xt="Xo"+(Object.keys(Vs).length+1).toString(10);lt.id=xt,bu[Ie]=xt,Vs[xt]=lt,Ta.publish("addFormObject",lt),Yc.pop().restore()}}(U),this},V.doFormObject=function(U,Ie){var lt=Vs[bu[U]];return pt("q"),pt(Ie.toString()+" cm"),pt("/"+lt.id+" Do"),pt("Q"),this},V.getFormObject=function(U){var Ie=Vs[bu[U]];return{x:Ie.x,y:Ie.y,width:Ie.width,height:Ie.height,matrix:Ie.matrix}},V.save=function(U,Ie){return U=U||"generated.pdf",(Ie=Ie||{}).returnPromise=Ie.returnPromise||!1,Ie.returnPromise===!1?($c(Jd(xu()),U),typeof $c.unload=="function"&&ao.setTimeout&&setTimeout($c.unload,911),this):new Promise(function(lt,xt){try{var Yt=$c(Jd(xu()),U);typeof $c.unload=="function"&&ao.setTimeout&&setTimeout($c.unload,911),lt(Yt)}catch(zn){xt(zn.message)}})},Fi.API)Fi.API.hasOwnProperty(af)&&(af==="events"&&Fi.API.events.length?function(U,Ie){var lt,xt,Yt;for(Yt=Ie.length-1;Yt!==-1;Yt--)lt=Ie[Yt][0],xt=Ie[Yt][1],U.subscribe.apply(U,[lt].concat(typeof xt=="function"?[xt]:xt))}(Ta,Fi.API.events):V[af]=Fi.API[af]);function Y0(U){return Bo[U].mediaBox.topRightX-Bo[U].mediaBox.bottomLeftX}function J0(U,Ie){Bo[U].mediaBox.topRightX=Ie+Bo[U].mediaBox.bottomLeftX}function Iu(U){return Bo[U].mediaBox.topRightY-Bo[U].mediaBox.bottomLeftY}function Fu(U,Ie){Bo[U].mediaBox.topRightY=Ie+Bo[U].mediaBox.bottomLeftY}var q0=V.getPageWidth=function(U){return Y0(U=U||ct)/ho},ep=V.setPageWidth=function(U,Ie){J0(U,Ie*ho)},Af=V.getPageHeight=function(U){return Iu(U=U||ct)/ho},tp=V.setPageHeight=function(U,Ie){Fu(U,Ie*ho)};return V.internal={pdfEscape:ec,getStyle:G0,getFont:ng,getFontSize:ui,getCharSpace:lg,getTextColor:Xf,getLineHeight:ig,getLineHeightFactor:ag,getLineWidth:Co,write:Aa,getHorizontalCoordinate:Eu,getVerticalCoordinate:Su,getCoordinateString:Ag,getVerticalCoordinateString:sg,collections:{},newObject:DA,newAdditionalObject:Gd,newObjectDeferred:Ss,newObjectDeferredBegin:Ts,getFilters:Fc,putStream:ql,events:Ta,scaleFactor:ho,pageSize:{getWidth:function(){return q0(ct)},setWidth:function(U){ep(ct,U)},getHeight:function(){return Af(ct)},setHeight:function(U){tp(ct,U)}},encryptionOptions:X,encryption:KA,getEncryptor:function(U){return X!==null?KA.encryptor(U,0):function(Ie){return Ie}},output:Uc,getNumberOfPages:z0,pages:vr,out:pt,f2:$e,f3:it,getPageInfo:Qh,getPageInfoByObjId:Xp,getCurrentPageInfo:Yp,getPDFVersion:Je,Point:of,Rectangle:Hh,Matrix:oo,hasHotfix:qd},Object.defineProperty(V.internal.pageSize,"width",{get:function(){return q0(ct)},set:function(U){ep(ct,U)},enumerable:!0,configurable:!0}),Object.defineProperty(V.internal.pageSize,"height",{get:function(){return Af(ct)},set:function(U){tp(ct,U)},enumerable:!0,configurable:!0}),function(U){for(var Ie=0,lt=to.length;Ie<lt;Ie++){var xt=$0.call(this,U[Ie][0],U[Ie][1],U[Ie][2],to[Ie][3],!0);Ce===!1&&(Le[xt]=!0);var Yt=U[Ie][0].split("-");H0({id:xt,fontName:Yt[0],fontStyle:Yt[1]||""})}Ta.publish("addFonts",{fonts:Ti,dictionary:Lo})}.call(V,to),Zi="F1",k0(i,t),Ta.publish("initialized"),V}qu.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},qu.prototype.toHexString=function(e){return e.split("").map(function(n){return("0"+(255&n.charCodeAt(0)).toString(16)).slice(-2)}).join("")},qu.prototype.hexToBytes=function(e){for(var n=[],t=0;t<e.length;t+=2)n.push(String.fromCharCode(parseInt(e.substr(t,2),16)));return n.join("")},qu.prototype.processOwnerPassword=function(e,n){return kc(Fh(n).substr(0,5),e)},qu.prototype.encryptor=function(e,n){var t=Fh(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&n,n>>8&255)).substr(0,10);return function(r){return kc(t,r)}},Wd.prototype.equals=function(e){var n,t="id,objectNumber,equals";if(!e||(0,ye.Z)(e)!==(0,ye.Z)(this))return!1;var r=0;for(n in this)if(!(t.indexOf(n)>=0)){if(this.hasOwnProperty(n)&&!e.hasOwnProperty(n)||this[n]!==e[n])return!1;r++}for(n in e)e.hasOwnProperty(n)&&t.indexOf(n)<0&&r--;return r===0},Fi.API={events:[]},Fi.version="3.0.3";var xA=Fi.API,Oh=1,vu=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ed=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},vo=function(e){return e.toFixed(2)},Zc=function(e){return e.toFixed(5)};xA.__acroform__={};var Zs=function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e},M0=function(e){return e*Oh},Gl=function(e){var n=new _n,t=Dr.internal.getHeight(e)||0,r=Dr.internal.getWidth(e)||0;return n.BBox=[0,0,Number(vo(r)),Number(vo(t))],n},$p=xA.__acroform__.setBit=function(e,n){if(e=e||0,n=n||0,isNaN(e)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<n},kp=xA.__acroform__.clearBit=function(e,n){if(e=e||0,n=n||0,isNaN(e)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<n)},Kp=xA.__acroform__.getBit=function(e,n){if(isNaN(e)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<n?1:0},UA=xA.__acroform__.getBitForPdf=function(e,n){if(isNaN(e)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Kp(e,n-1)},c=xA.__acroform__.setBitForPdf=function(e,n){if(isNaN(e)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return $p(e,n-1)},o=xA.__acroform__.clearBitForPdf=function(e,n){if(isNaN(e)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return kp(e,n-1)},f=xA.__acroform__.calculateCoordinates=function(e,n){var t=n.internal.getHorizontalCoordinate,r=n.internal.getVerticalCoordinate,i=e[0],A=e[1],b=e[2],y=e[3],I={};return I.lowerLeft_X=t(i)||0,I.lowerLeft_Y=r(A+y)||0,I.upperRight_X=t(i+b)||0,I.upperRight_Y=r(A)||0,[Number(vo(I.lowerLeft_X)),Number(vo(I.lowerLeft_Y)),Number(vo(I.upperRight_X)),Number(vo(I.upperRight_Y))]},d=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var n=[],t=e._V||e.DV,r=z(e,t),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;n.push("/Tx BMC"),n.push("q"),n.push("BT"),n.push(e.scope.__private__.encodeColorString(e.color)),n.push("/"+i+" "+vo(r.fontSize)+" Tf"),n.push("1 0 0 1 0 0 Tm"),n.push(r.text),n.push("ET"),n.push("Q"),n.push("EMC");var A=Gl(e);return A.scope=e.scope,A.stream=n.join(`
|
|
|
`),A}},z=function(e,n){var t=e.fontSize===0?e.maxFontSize:e.fontSize,r={text:"",fontSize:""},i=(n=(n=n.substr(0,1)=="("?n.substr(1):n).substr(n.length-1)==")"?n.substr(0,n.length-1):n).split(" ");i=e.multiline?i.map(function($e){return $e.split(`
|
|
|
`)}):i.map(function($e){return[$e]});var A=t,b=Dr.internal.getHeight(e)||0;b=b<0?-b:b;var y=Dr.internal.getWidth(e)||0;y=y<0?-y:y;var I=function($e,it,St){if($e+1<i.length){var Bt=it+" "+i[$e+1][0];return ue(Bt,e,St).width<=y-4}return!1};A++;e:for(;A>0;){n="",A--;var P,X,Ce=ue("3",e,A).height,Le=e.multiline?b-A:(b-Ce)/2,V=Le+=2,tt=0,Je=0,rt=0;if(A<=0){n=`(...) Tj
|
|
|
`,n+="% Width of Text: "+ue(n,e,A=12).width+", FieldWidth:"+y+`
|
|
|
`;break}for(var ke="",Ut=0,wt=0;wt<i.length;wt++)if(i.hasOwnProperty(wt)){var dt=!1;if(i[wt].length!==1&&rt!==i[wt].length-1){if((Ce+2)*(Ut+2)+2>b)continue e;ke+=i[wt][rt],dt=!0,Je=wt,wt--}else{ke=(ke+=i[wt][rt]+" ").substr(ke.length-1)==" "?ke.substr(0,ke.length-1):ke;var fn=parseInt(wt),jn=I(fn,ke,A),Cn=wt>=i.length-1;if(jn&&!Cn){ke+=" ",rt=0;continue}if(jn||Cn){if(Cn)Je=fn;else if(e.multiline&&(Ce+2)*(Ut+2)+2>b)continue e}else{if(!e.multiline||(Ce+2)*(Ut+2)+2>b)continue e;Je=fn}}for(var Dt="",ft=tt;ft<=Je;ft++){var nn=i[ft];if(e.multiline){if(ft===Je){Dt+=nn[rt]+" ",rt=(rt+1)%nn.length;continue}if(ft===tt){Dt+=nn[nn.length-1]+" ";continue}}Dt+=nn[0]+" "}switch(Dt=Dt.substr(Dt.length-1)==" "?Dt.substr(0,Dt.length-1):Dt,X=ue(Dt,e,A).width,e.textAlign){case"right":P=y-X-2;break;case"center":P=(y-X)/2;break;default:P=2}n+=vo(P)+" "+vo(V)+` Td
|
|
|
`,n+="("+vu(Dt)+`) Tj
|
|
|
`,n+=-vo(P)+` 0 Td
|
|
|
`,V=-(A+2),X=0,tt=dt?Je:Je+1,Ut++,ke=""}break}return r.text=n,r.fontSize=A,r},ue=function(e,n,t){var r=n.scope.internal.getFont(n.fontName,n.fontStyle),i=n.scope.getStringUnitWidth(e,{font:r,fontSize:parseFloat(t),charSpace:0})*parseFloat(t);return{height:n.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(t),charSpace:0})*parseFloat(t)*1.5,width:i}},Ne={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},et=function(e,n){var t={type:"reference",object:e};n.internal.getPageInfo(e.page).pageContext.annotations.find(function(r){return r.type===t.type&&r.object===t.object})===void 0&&n.internal.getPageInfo(e.page).pageContext.annotations.push(t)},qe=function(e,n){if(n.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if(gr.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Ne)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Oh=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ci,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){(function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})(e)}),e.internal.events.subscribe("buildDocument",function(){(function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in r)if(r.hasOwnProperty(i)){var A=r[i];A.objId=void 0,A.hasAnnotation&&et(A,t)}})(e)}),e.internal.events.subscribe("putCatalog",function(){(function(t){if(t.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(e)}),e.internal.events.subscribe("postPutPages",function(t){(function(r,i){var A=!r;for(var b in r||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(b)){var y=r[b],I=[],P=y.Rect;if(y.Rect&&(y.Rect=f(y.Rect,i)),i.internal.newObjectDeferredBegin(y.objId,!0),y.DA=Dr.createDefaultAppearanceStream(y),(0,ye.Z)(y)==="object"&&typeof y.getKeyValueListForStream=="function"&&(I=y.getKeyValueListForStream()),y.Rect=P,y.hasAppearanceStream&&!y.appearanceStreamContent){var X=d(y);I.push({key:"AP",value:"<</N "+X+">>"}),i.internal.acroformPlugin.xForms.push(X)}if(y.appearanceStreamContent){var Ce="";for(var Le in y.appearanceStreamContent)if(y.appearanceStreamContent.hasOwnProperty(Le)){var V=y.appearanceStreamContent[Le];if(Ce+="/"+Le+" ",Ce+="<<",Object.keys(V).length>=1||Array.isArray(V)){for(var b in V)if(V.hasOwnProperty(b)){var tt=V[b];typeof tt=="function"&&(tt=tt.call(i,y)),Ce+="/"+b+" "+tt+" ",i.internal.acroformPlugin.xForms.indexOf(tt)>=0||i.internal.acroformPlugin.xForms.push(tt)}}else typeof(tt=V)=="function"&&(tt=tt.call(i,y)),Ce+="/"+b+" "+tt,i.internal.acroformPlugin.xForms.indexOf(tt)>=0||i.internal.acroformPlugin.xForms.push(tt);Ce+=">>"}I.push({key:"AP",value:`<<
|
|
|
`+Ce+">>"})}i.internal.putStream({additionalKeyValues:I,objectId:y.objId}),i.internal.out("endobj")}A&&function(Je,rt){for(var ke in Je)if(Je.hasOwnProperty(ke)){var Ut=ke,wt=Je[ke];rt.internal.newObjectDeferredBegin(wt.objId,!0),(0,ye.Z)(wt)==="object"&&typeof wt.putStream=="function"&&wt.putStream(),delete Je[Ut]}}(i.internal.acroformPlugin.xForms,i)})(t,e)}),e.internal.acroformPlugin.isInitialized=!0}},Lt=xA.__acroform__.arrayToPdfArray=function(e,n,t){var r=function(b){return b};if(Array.isArray(e)){for(var i="[",A=0;A<e.length;A++)switch(A!==0&&(i+=" "),(0,ye.Z)(e[A])){case"boolean":case"number":case"object":i+=e[A].toString();break;case"string":e[A].substr(0,1)!=="/"?(n!==void 0&&t&&(r=t.internal.getEncryptor(n)),i+="("+vu(r(e[A].toString()))+")"):i+=e[A].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},jt=function(e,n,t){var r=function(i){return i};return n!==void 0&&t&&(r=t.internal.getEncryptor(n)),(e=e||"").toString(),"("+vu(r(e))+")"},Gt=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Gt.prototype.toString=function(){return this.objId+" 0 R"},Gt.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},Gt.prototype.getKeyValueListForStream=function(){var e=[],n=Object.getOwnPropertyNames(this).filter(function(A){return A!="content"&&A!="appearanceStreamContent"&&A!="scope"&&A!="objId"&&A.substring(0,1)!="_"});for(var t in n)if(Object.getOwnPropertyDescriptor(this,n[t]).configurable===!1){var r=n[t],i=this[r];i&&(Array.isArray(i)?e.push({key:r,value:Lt(i,this.objId,this.scope)}):i instanceof Gt?(i.scope=this.scope,e.push({key:r,value:i.objId+" 0 R"})):typeof i!="function"&&e.push({key:r,value:i}))}return e};var _n=function(){Gt.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,n=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Zs(_n,Gt);var ci=function(){Gt.call(this);var e,n=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return n.length>0?n:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return n}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(r){return r};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+vu(t(e))+")"}},set:function(t){e=t}})};Zs(ci,Gt);var gr=function e(){Gt.call(this);var n=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return n},set:function(ke){if(isNaN(ke))throw new Error('Invalid value "'+ke+'" for attribute F supplied.');n=ke}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!UA(n,3)},set:function(ke){ke?this.F=c(n,3):this.F=o(n,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(ke){if(isNaN(ke))throw new Error('Invalid value "'+ke+'" for attribute Ff supplied.');t=ke}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(ke){r=ke!==void 0?ke:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(ke){r[0]=ke}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(ke){r[1]=ke}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(ke){r[2]=ke}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(ke){r[3]=ke}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(ke){switch(ke){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=ke;break;default:throw new Error('Invalid value "'+ke+'" for attribute FT supplied.')}}});var A=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!A||A.length<1){if(this instanceof ti)return;A="FieldObject"+e.FieldNum++}var ke=function(Ut){return Ut};return this.scope&&(ke=this.scope.internal.getEncryptor(this.objId)),"("+vu(ke(A))+")"},set:function(ke){A=ke.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return A},set:function(ke){A=ke}});var b="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return b},set:function(ke){b=ke}});var y="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return y},set:function(ke){y=ke}});var I=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return I},set:function(ke){I=ke}});var P=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return P===void 0?50/Oh:P},set:function(ke){P=ke}});var X="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return X},set:function(ke){X=ke}});var Ce="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!Ce||this instanceof ti||this instanceof Uo))return jt(Ce,this.objId,this.scope)},set:function(ke){ke=ke.toString(),Ce=ke}});var Le=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(Le)return this instanceof qi==0?jt(Le,this.objId,this.scope):Le},set:function(ke){ke=ke.toString(),Le=this instanceof qi==0?ke.substr(0,1)==="("?ed(ke.substr(1,ke.length-2)):ed(ke):ke}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof qi==1?ed(Le.substr(1,Le.length-1)):Le},set:function(ke){ke=ke.toString(),Le=this instanceof qi==1?"/"+ke:ke}});var V=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(V)return V},set:function(ke){this.V=ke}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(V)return this instanceof qi==0?jt(V,this.objId,this.scope):V},set:function(ke){ke=ke.toString(),V=this instanceof qi==0?ke.substr(0,1)==="("?ed(ke.substr(1,ke.length-2)):ed(ke):ke}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof qi==1?ed(V.substr(1,V.length-1)):V},set:function(ke){ke=ke.toString(),V=this instanceof qi==1?"/"+ke:ke}}),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 tt,Je=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return Je},set:function(ke){ke=!!ke,Je=ke}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(tt)return tt},set:function(ke){tt=ke}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,1)},set:function(ke){ke?this.Ff=c(this.Ff,1):this.Ff=o(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,2)},set:function(ke){ke?this.Ff=c(this.Ff,2):this.Ff=o(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,3)},set:function(ke){ke?this.Ff=c(this.Ff,3):this.Ff=o(this.Ff,3)}});var rt=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(rt!==null)return rt},set:function(ke){if([0,1,2].indexOf(ke)===-1)throw new Error('Invalid value "'+ke+'" for attribute Q supplied.');rt=ke}}),Object.defineProperty(this,"textAlign",{get:function(){var ke;switch(rt){case 0:default:ke="left";break;case 1:ke="center";break;case 2:ke="right"}return ke},configurable:!0,enumerable:!0,set:function(ke){switch(ke){case"right":case 2:rt=2;break;case"center":case 1:rt=1;break;default:rt=0}}})};Zs(gr,Gt);var $r=function(){gr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var n=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Lt(n,this.objId,this.scope)},set:function(t){var r,i;i=[],typeof(r=t)=="string"&&(i=function(A,b,y){y||(y=1);for(var I,P=[];I=b.exec(A);)P.push(I[y]);return P}(r,/\((.*?)\)/g)),n=i}}),this.getOptions=function(){return n},this.setOptions=function(t){n=t,this.sort&&n.sort()},this.addOption=function(t){t=(t=t||"").toString(),n.push(t),this.sort&&n.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();n.indexOf(t)!==-1&&(n.splice(n.indexOf(t),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,18)},set:function(t){t?this.Ff=c(this.Ff,18):this.Ff=o(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,19)},set:function(t){this.combo===!0&&(t?this.Ff=c(this.Ff,19):this.Ff=o(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,20)},set:function(t){t?(this.Ff=c(this.Ff,20),n.sort()):this.Ff=o(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,22)},set:function(t){t?this.Ff=c(this.Ff,22):this.Ff=o(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,23)},set:function(t){t?this.Ff=c(this.Ff,23):this.Ff=o(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,27)},set:function(t){t?this.Ff=c(this.Ff,27):this.Ff=o(this.Ff,27)}}),this.hasAppearanceStream=!1};Zs($r,gr);var Ao=function(){$r.call(this),this.fontName="helvetica",this.combo=!1};Zs(Ao,$r);var vi=function(){Ao.call(this),this.combo=!0};Zs(vi,Ao);var hi=function(){vi.call(this),this.edit=!0};Zs(hi,vi);var qi=function(){gr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,15)},set:function(t){t?this.Ff=c(this.Ff,15):this.Ff=o(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,16)},set:function(t){t?this.Ff=c(this.Ff,16):this.Ff=o(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,17)},set:function(t){t?this.Ff=c(this.Ff,17):this.Ff=o(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,26)},set:function(t){t?this.Ff=c(this.Ff,26):this.Ff=o(this.Ff,26)}});var e,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(A){return A};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),Object.keys(n).length!==0){var r,i=[];for(r in i.push("<<"),n)i.push("/"+r+" ("+vu(t(n[r]))+")");return i.push(">>"),i.join(`
|
|
|
`)}},set:function(t){(0,ye.Z)(t)==="object"&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){typeof t=="string"&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};Zs(qi,gr);var yo=function(){qi.call(this),this.pushButton=!0};Zs(yo,qi);var zi=function(){qi.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(n){e=n!==void 0?n:[]}})};Zs(zi,qi);var ti=function(){var e,n;gr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(i){n=i}});var t,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(y){return y};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var A,b=[];for(A in b.push("<<"),r)b.push("/"+A+" ("+vu(i(r[A]))+")");return b.push(">>"),b.join(`
|
|
|
`)},set:function(i){(0,ye.Z)(i)==="object"&&(r=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(i){typeof i=="string"&&(r.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){t=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(i){t="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Dr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Zs(ti,gr),zi.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var n in this.Kids)if(this.Kids.hasOwnProperty(n)){var t=this.Kids[n];t.appearanceStreamContent=e.createAppearanceStream(t.optionName),t.caption=e.getCA()}},zi.prototype.createOption=function(e){var n=new ti;return n.Parent=this,n.optionName=e,this.Kids.push(n),Ws.call(this.scope,n),n};var Go=function(){qi.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Dr.CheckBox.createAppearanceStream()};Zs(Go,qi);var Uo=function(){gr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,13)},set:function(n){n?this.Ff=c(this.Ff,13):this.Ff=o(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,21)},set:function(n){n?this.Ff=c(this.Ff,21):this.Ff=o(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,23)},set:function(n){n?this.Ff=c(this.Ff,23):this.Ff=o(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,24)},set:function(n){n?this.Ff=c(this.Ff,24):this.Ff=o(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,25)},set:function(n){n?this.Ff=c(this.Ff,25):this.Ff=o(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,26)},set:function(n){n?this.Ff=c(this.Ff,26):this.Ff=o(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(n){e=n}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(n){Number.isInteger(n)&&(e=n)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Zs(Uo,gr);var eo=function(){Uo.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!UA(this.Ff,14)},set:function(e){e?this.Ff=c(this.Ff,14):this.Ff=o(this.Ff,14)}}),this.password=!0};Zs(eo,Uo);var Dr={CheckBox:{createAppearanceStream:function(){return{N:{On:Dr.CheckBox.YesNormal},D:{On:Dr.CheckBox.YesPushDown,Off:Dr.CheckBox.OffPushDown}}},YesPushDown:function(e){var n=Gl(e);n.scope=e.scope;var t=[],r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),A=z(e,e.caption);return t.push("0.749023 g"),t.push("0 0 "+vo(Dr.internal.getWidth(e))+" "+vo(Dr.internal.getHeight(e))+" re"),t.push("f"),t.push("BMC"),t.push("q"),t.push("0 0 1 rg"),t.push("/"+r+" "+vo(A.fontSize)+" Tf "+i),t.push("BT"),t.push(A.text),t.push("ET"),t.push("Q"),t.push("EMC"),n.stream=t.join(`
|
|
|
`),n},YesNormal:function(e){var n=Gl(e);n.scope=e.scope;var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color),i=[],A=Dr.internal.getHeight(e),b=Dr.internal.getWidth(e),y=z(e,e.caption);return i.push("1 g"),i.push("0 0 "+vo(b)+" "+vo(A)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+vo(b-1)+" "+vo(A-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+t+" "+vo(y.fontSize)+" Tf "+r),i.push(y.text),i.push("ET"),i.push("Q"),n.stream=i.join(`
|
|
|
`),n},OffPushDown:function(e){var n=Gl(e);n.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+vo(Dr.internal.getWidth(e))+" "+vo(Dr.internal.getHeight(e))+" re"),t.push("f"),n.stream=t.join(`
|
|
|
`),n}},RadioButton:{Circle:{createAppearanceStream:function(e){var n={D:{Off:Dr.RadioButton.Circle.OffPushDown},N:{}};return n.N[e]=Dr.RadioButton.Circle.YesNormal,n.D[e]=Dr.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(e){var n=Gl(e);n.scope=e.scope;var t=[],r=Dr.internal.getWidth(e)<=Dr.internal.getHeight(e)?Dr.internal.getWidth(e)/4:Dr.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Dr.internal.Bezier_C,A=Number((r*i).toFixed(5));return t.push("q"),t.push("1 0 0 1 "+Zc(Dr.internal.getWidth(e)/2)+" "+Zc(Dr.internal.getHeight(e)/2)+" cm"),t.push(r+" 0 m"),t.push(r+" "+A+" "+A+" "+r+" 0 "+r+" c"),t.push("-"+A+" "+r+" -"+r+" "+A+" -"+r+" 0 c"),t.push("-"+r+" -"+A+" -"+A+" -"+r+" 0 -"+r+" c"),t.push(A+" -"+r+" "+r+" -"+A+" "+r+" 0 c"),t.push("f"),t.push("Q"),n.stream=t.join(`
|
|
|
`),n},YesPushDown:function(e){var n=Gl(e);n.scope=e.scope;var t=[],r=Dr.internal.getWidth(e)<=Dr.internal.getHeight(e)?Dr.internal.getWidth(e)/4:Dr.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),A=Number((i*Dr.internal.Bezier_C).toFixed(5)),b=Number((r*Dr.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+Zc(Dr.internal.getWidth(e)/2)+" "+Zc(Dr.internal.getHeight(e)/2)+" cm"),t.push(i+" 0 m"),t.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),t.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),t.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),t.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),t.push("f"),t.push("Q"),t.push("0 g"),t.push("q"),t.push("1 0 0 1 "+Zc(Dr.internal.getWidth(e)/2)+" "+Zc(Dr.internal.getHeight(e)/2)+" cm"),t.push(r+" 0 m"),t.push(r+" "+b+" "+b+" "+r+" 0 "+r+" c"),t.push("-"+b+" "+r+" -"+r+" "+b+" -"+r+" 0 c"),t.push("-"+r+" -"+b+" -"+b+" -"+r+" 0 -"+r+" c"),t.push(b+" -"+r+" "+r+" -"+b+" "+r+" 0 c"),t.push("f"),t.push("Q"),n.stream=t.join(`
|
|
|
`),n},OffPushDown:function(e){var n=Gl(e);n.scope=e.scope;var t=[],r=Dr.internal.getWidth(e)<=Dr.internal.getHeight(e)?Dr.internal.getWidth(e)/4:Dr.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),A=Number((i*Dr.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+Zc(Dr.internal.getWidth(e)/2)+" "+Zc(Dr.internal.getHeight(e)/2)+" cm"),t.push(i+" 0 m"),t.push(i+" "+A+" "+A+" "+i+" 0 "+i+" c"),t.push("-"+A+" "+i+" -"+i+" "+A+" -"+i+" 0 c"),t.push("-"+i+" -"+A+" -"+A+" -"+i+" 0 -"+i+" c"),t.push(A+" -"+i+" "+i+" -"+A+" "+i+" 0 c"),t.push("f"),t.push("Q"),n.stream=t.join(`
|
|
|
`),n}},Cross:{createAppearanceStream:function(e){var n={D:{Off:Dr.RadioButton.Cross.OffPushDown},N:{}};return n.N[e]=Dr.RadioButton.Cross.YesNormal,n.D[e]=Dr.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(e){var n=Gl(e);n.scope=e.scope;var t=[],r=Dr.internal.calculateCross(e);return t.push("q"),t.push("1 1 "+vo(Dr.internal.getWidth(e)-2)+" "+vo(Dr.internal.getHeight(e)-2)+" re"),t.push("W"),t.push("n"),t.push(vo(r.x1.x)+" "+vo(r.x1.y)+" m"),t.push(vo(r.x2.x)+" "+vo(r.x2.y)+" l"),t.push(vo(r.x4.x)+" "+vo(r.x4.y)+" m"),t.push(vo(r.x3.x)+" "+vo(r.x3.y)+" l"),t.push("s"),t.push("Q"),n.stream=t.join(`
|
|
|
`),n},YesPushDown:function(e){var n=Gl(e);n.scope=e.scope;var t=Dr.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+vo(Dr.internal.getWidth(e))+" "+vo(Dr.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+vo(Dr.internal.getWidth(e)-2)+" "+vo(Dr.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(vo(t.x1.x)+" "+vo(t.x1.y)+" m"),r.push(vo(t.x2.x)+" "+vo(t.x2.y)+" l"),r.push(vo(t.x4.x)+" "+vo(t.x4.y)+" m"),r.push(vo(t.x3.x)+" "+vo(t.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join(`
|
|
|
`),n},OffPushDown:function(e){var n=Gl(e);n.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+vo(Dr.internal.getWidth(e))+" "+vo(Dr.internal.getHeight(e))+" re"),t.push("f"),n.stream=t.join(`
|
|
|
`),n}}},createDefaultAppearanceStream:function(e){var n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,t=e.scope.__private__.encodeColorString(e.color);return"/"+n+" "+e.fontSize+" Tf "+t}};Dr.internal={Bezier_C:.551915024494,calculateCross:function(e){var n=Dr.internal.getWidth(e),t=Dr.internal.getHeight(e),r=Math.min(n,t);return{x1:{x:(n-r)/2,y:(t-r)/2+r},x2:{x:(n-r)/2+r,y:(t-r)/2},x3:{x:(n-r)/2,y:(t-r)/2},x4:{x:(n-r)/2+r,y:(t-r)/2+r}}}},Dr.internal.getWidth=function(e){var n=0;return(0,ye.Z)(e)==="object"&&(n=M0(e.Rect[2])),n},Dr.internal.getHeight=function(e){var n=0;return(0,ye.Z)(e)==="object"&&(n=M0(e.Rect[3])),n};var Ws=xA.addField=function(e){if(qe(this,e),!(e instanceof gr))throw new Error("Invalid argument passed to jsPDF.addField.");var n;return(n=e).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};xA.AcroFormChoiceField=$r,xA.AcroFormListBox=Ao,xA.AcroFormComboBox=vi,xA.AcroFormEditBox=hi,xA.AcroFormButton=qi,xA.AcroFormPushButton=yo,xA.AcroFormRadioButton=zi,xA.AcroFormCheckBox=Go,xA.AcroFormTextField=Uo,xA.AcroFormPasswordField=eo,xA.AcroFormAppearance=Dr,xA.AcroForm={ChoiceField:$r,ListBox:Ao,ComboBox:vi,EditBox:hi,Button:qi,PushButton:yo,RadioButton:zi,CheckBox:Go,TextField:Uo,PasswordField:eo,Appearance:Dr},Fi.AcroForm={ChoiceField:$r,ListBox:Ao,ComboBox:vi,EditBox:hi,Button:qi,PushButton:yo,RadioButton:zi,CheckBox:Go,TextField:Uo,PasswordField:eo,Appearance:Dr};var ll=Fi.AcroForm;function Ia(e){return e.reduce(function(n,t,r){return n[t]=r,n},{})}(function(e){var n="addImage_";e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function($e,it){var St,Bt,vn,Bn,In,cn=t;if((it=it||t)==="RGBA"||$e.data!==void 0&&$e.data instanceof Uint8ClampedArray&&"height"in $e&&"width"in $e)return"RGBA";if(jn($e))for(In in r)for(vn=r[In],St=0;St<vn.length;St+=1){for(Bn=!0,Bt=0;Bt<vn[St].length;Bt+=1)if(vn[St][Bt]!==void 0&&vn[St][Bt]!==$e[Bt]){Bn=!1;break}if(Bn===!0){cn=In;break}}else for(In in r)for(vn=r[In],St=0;St<vn.length;St+=1){for(Bn=!0,Bt=0;Bt<vn[St].length;Bt+=1)if(vn[St][Bt]!==void 0&&vn[St][Bt]!==$e.charCodeAt(Bt)){Bn=!1;break}if(Bn===!0){cn=In;break}}return cn===t&&it!==t&&(cn=it),cn},A=function $e(it){for(var St=this.internal.write,Bt=this.internal.putStream,vn=(0,this.internal.getFilters)();vn.indexOf("FlateEncode")!==-1;)vn.splice(vn.indexOf("FlateEncode"),1);it.objectId=this.internal.newObject();var Bn=[];if(Bn.push({key:"Type",value:"/XObject"}),Bn.push({key:"Subtype",value:"/Image"}),Bn.push({key:"Width",value:it.width}),Bn.push({key:"Height",value:it.height}),it.colorSpace===ke.INDEXED?Bn.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(it.palette.length/3-1)+" "+("sMask"in it&&it.sMask!==void 0?it.objectId+2:it.objectId+1)+" 0 R]"}):(Bn.push({key:"ColorSpace",value:"/"+it.colorSpace}),it.colorSpace===ke.DEVICE_CMYK&&Bn.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Bn.push({key:"BitsPerComponent",value:it.bitsPerComponent}),"decodeParameters"in it&&it.decodeParameters!==void 0&&Bn.push({key:"DecodeParms",value:"<<"+it.decodeParameters+">>"}),"transparency"in it&&Array.isArray(it.transparency)&&it.transparency.length>0){for(var In="",cn=0,Nn=it.transparency.length;cn<Nn;cn++)In+=it.transparency[cn]+" "+it.transparency[cn]+" ";Bn.push({key:"Mask",value:"["+In+"]"})}it.sMask!==void 0&&Bn.push({key:"SMask",value:it.objectId+1+" 0 R"});var _r=it.filter!==void 0?["/"+it.filter]:void 0;if(Bt({data:it.data,additionalKeyValues:Bn,alreadyAppliedFilters:_r,objectId:it.objectId}),St("endobj"),"sMask"in it&&it.sMask!==void 0){var rr,Me=(rr=it.sMaskBitsPerComponent)!==null&&rr!==void 0?rr:it.bitsPerComponent,ct={width:it.width,height:it.height,colorSpace:"DeviceGray",bitsPerComponent:Me,data:it.sMask};"filter"in it&&(ct.decodeParameters="/Predictor ".concat(it.predictor," /Colors 1 /BitsPerComponent ").concat(Me," /Columns ").concat(it.width),ct.filter=it.filter),$e.call(this,ct)}if(it.colorSpace===ke.INDEXED){var vt=this.internal.newObject();Bt({data:Dt(new Uint8Array(it.palette)),objectId:vt}),St("endobj")}},b=function(){var $e=this.internal.collections[n+"images"];for(var it in $e)A.call(this,$e[it])},y=function(){var $e,it=this.internal.collections[n+"images"],St=this.internal.write;for(var Bt in it)St("/I"+($e=it[Bt]).index,$e.objectId,"0","R")},I=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",b),this.internal.events.subscribe("putXobjectDict",y))},P=function(){var $e=this.internal.collections[n+"images"];return I.call(this),$e},X=function(){return Object.keys(this.internal.collections[n+"images"]).length},Ce=function($e){return typeof e["process"+$e.toUpperCase()]=="function"},Le=function($e){return(0,ye.Z)($e)==="object"&&$e.nodeType===1},V=function($e,it){if($e.nodeName==="IMG"&&$e.hasAttribute("src")){var St=""+$e.getAttribute("src");if(St.indexOf("data:image/")===0)return kd(unescape(St).split("base64,").pop());var Bt=e.loadFile(St,!0);if(Bt!==void 0)return Bt}if($e.nodeName==="CANVAS"){if($e.width===0||$e.height===0)throw new Error("Given canvas must have data. Canvas width: "+$e.width+", height: "+$e.height);var vn;switch(it){case"PNG":vn="image/png";break;case"WEBP":vn="image/webp";break;default:vn="image/jpeg"}return kd($e.toDataURL(vn,1).split("base64,").pop())}},tt=function($e){var it=this.internal.collections[n+"images"];if(it){for(var St in it)if($e===it[St].alias)return it[St]}},Je=function($e,it,St){return $e||it||($e=-96,it=-96),$e<0&&($e=-1*St.width*72/$e/this.internal.scaleFactor),it<0&&(it=-1*St.height*72/it/this.internal.scaleFactor),$e===0&&($e=it*St.width/St.height),it===0&&(it=$e*St.height/St.width),[$e,it]},rt=function($e,it,St,Bt,vn,Bn){var In=Je.call(this,St,Bt,vn),cn=this.internal.getCoordinateString,Nn=this.internal.getVerticalCoordinateString,_r=P.call(this);if(St=In[0],Bt=In[1],_r[vn.index]=vn,Bn){Bn*=Math.PI/180;var rr=Math.cos(Bn),Me=Math.sin(Bn),ct=function(_t){return _t.toFixed(4)},vt=[ct(rr),ct(Me),ct(-1*Me),ct(rr),0,0,"cm"]}this.internal.write("q"),Bn?(this.internal.write([1,"0","0",1,cn($e),Nn(it+Bt),"cm"].join(" ")),this.internal.write(vt.join(" ")),this.internal.write([cn(St),"0","0",cn(Bt),"0","0","cm"].join(" "))):this.internal.write([cn(St),"0","0",cn(Bt),cn($e),Nn(it+Bt),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+vn.index+" Do"),this.internal.write("Q")},ke=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var Ut=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},wt=e.__addimage__.sHashCode=function($e){var it,St,Bt=0;if(typeof $e=="string")for(St=$e.length,it=0;it<St;it++)Bt=(Bt<<5)-Bt+$e.charCodeAt(it),Bt|=0;else if(jn($e))for(St=$e.byteLength/2,it=0;it<St;it++)Bt=(Bt<<5)-Bt+$e[it],Bt|=0;return Bt},dt=e.__addimage__.validateStringAsBase64=function($e){($e=$e||"").toString().trim();var it=!0;return $e.length===0&&(it=!1),$e.length%4!=0&&(it=!1),/^[A-Za-z0-9+/]+$/.test($e.substr(0,$e.length-2))===!1&&(it=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test($e.substr(-2))===!1&&(it=!1),it},fn=e.__addimage__.extractImageFromDataUrl=function($e){if($e==null||!($e=$e.trim()).startsWith("data:"))return null;var it=$e.indexOf(",");return it<0?null:$e.substring(0,it).trim().endsWith("base64")?$e.substring(it+1):null};e.__addimage__.isArrayBuffer=function($e){return $e instanceof ArrayBuffer};var jn=e.__addimage__.isArrayBufferView=function($e){return $e instanceof Int8Array||$e instanceof Uint8Array||$e instanceof Uint8ClampedArray||$e instanceof Int16Array||$e instanceof Uint16Array||$e instanceof Int32Array||$e instanceof Uint32Array||$e instanceof Float32Array||$e instanceof Float64Array},Cn=e.__addimage__.binaryStringToUint8Array=function($e){for(var it=$e.length,St=new Uint8Array(it),Bt=0;Bt<it;Bt++)St[Bt]=$e.charCodeAt(Bt);return St},Dt=e.__addimage__.arrayBufferToBinaryString=function($e){for(var it="",St=jn($e)?$e:new Uint8Array($e),Bt=0;Bt<St.length;Bt+=8192)it+=String.fromCharCode.apply(null,St.subarray(Bt,Bt+8192));return it};e.addImage=function(){var $e,it,St,Bt,vn,Bn,In,cn,Nn;if(typeof arguments[1]=="number"?(it=t,St=arguments[1],Bt=arguments[2],vn=arguments[3],Bn=arguments[4],In=arguments[5],cn=arguments[6],Nn=arguments[7]):(it=arguments[1],St=arguments[2],Bt=arguments[3],vn=arguments[4],Bn=arguments[5],In=arguments[6],cn=arguments[7],Nn=arguments[8]),(0,ye.Z)($e=arguments[0])==="object"&&!Le($e)&&"imageData"in $e){var _r=$e;$e=_r.imageData,it=_r.format||it||t,St=_r.x||St||0,Bt=_r.y||Bt||0,vn=_r.w||_r.width||vn,Bn=_r.h||_r.height||Bn,In=_r.alias||In,cn=_r.compression||cn,Nn=_r.rotation||_r.angle||Nn}var rr=this.internal.getFilters();if(cn===void 0&&rr.indexOf("FlateEncode")!==-1&&(cn="SLOW"),isNaN(St)||isNaN(Bt))throw new Error("Invalid coordinates passed to jsPDF.addImage");I.call(this);var Me=ft.call(this,$e,it,In,cn);return rt.call(this,St,Bt,vn,Bn,Me,Nn),this};var ft=function($e,it,St,Bt){var vn,Bn,In;if(typeof $e=="string"&&i($e)===t){$e=unescape($e);var cn=nn($e,!1);(cn!==""||(cn=e.loadFile($e,!0))!==void 0)&&($e=cn)}if(Le($e)&&($e=V($e,it)),it=i($e,it),!Ce(it))throw new Error("addImage does not support files of type '"+it+"', please ensure that a plugin for '"+it+"' support is added.");if(((In=St)==null||In.length===0)&&(St=function(Nn){return typeof Nn=="string"||jn(Nn)?wt(Nn):jn(Nn.data)?wt(Nn.data):null}($e)),(vn=tt.call(this,St))||($e instanceof Uint8Array||it==="RGBA"||(Bn=$e,$e=Cn($e)),vn=this["process"+it.toUpperCase()]($e,X.call(this),St,function(Nn){return Nn&&typeof Nn=="string"&&(Nn=Nn.toUpperCase()),Nn in e.image_compression?Nn:Ut.NONE}(Bt),Bn)),!vn)throw new Error("An unknown error occurred whilst processing the image.");return vn},nn=e.__addimage__.convertBase64ToBinaryString=function($e,it){it=typeof it!="boolean"||it;var St,Bt="";if(typeof $e=="string"){var vn;St=(vn=fn($e))!==null&&vn!==void 0?vn:$e;try{Bt=kd(St)}catch(Bn){if(it)throw dt(St)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Bn.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return Bt};e.getImageProperties=function($e){var it,St,Bt="";if(Le($e)&&($e=V($e)),typeof $e=="string"&&i($e)===t&&((Bt=nn($e,!1))===""&&(Bt=e.loadFile($e)||""),$e=Bt),St=i($e),!Ce(St))throw new Error("addImage does not support files of type '"+St+"', please ensure that a plugin for '"+St+"' support is added.");if($e instanceof Uint8Array||($e=Cn($e)),!(it=this["process"+St.toUpperCase()]($e)))throw new Error("An unknown error occurred whilst processing the image");return it.fileType=St,it}})(Fi.API),function(e){var n=function(t){if(t!==void 0&&t!="")return!0};Fi.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(t){for(var r,i,A,b=this.internal.getCoordinateString,y=this.internal.getVerticalCoordinateString,I=this.internal.getPageInfoByObjId(t.objId),P=t.pageContext.annotations,X=!1,Ce=0;Ce<P.length&&!X;Ce++)switch((r=P[Ce]).type){case"link":(n(r.options.url)||n(r.options.pageNumber))&&(X=!0);break;case"reference":case"text":case"freetext":X=!0}if(X!=0){this.internal.write("/Annots [");for(var Le=0;Le<P.length;Le++){r=P[Le];var V=this.internal.pdfEscape,tt=this.internal.getEncryptor(t.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var Je=this.internal.newAdditionalObject(),rt=this.internal.newAdditionalObject(),ke=this.internal.getEncryptor(Je.objId),Ut=r.title||"Note";A="<</Type /Annot /Subtype /Text "+(i="/Rect ["+b(r.bounds.x)+" "+y(r.bounds.y+r.bounds.h)+" "+b(r.bounds.x+r.bounds.w)+" "+y(r.bounds.y)+"] ")+"/Contents ("+V(ke(r.contents))+")",A+=" /Popup "+rt.objId+" 0 R",A+=" /P "+I.objId+" 0 R",A+=" /T ("+V(ke(Ut))+") >>",Je.content=A;var wt=Je.objId+" 0 R";A="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+b(r.bounds.x+30)+" "+y(r.bounds.y+r.bounds.h)+" "+b(r.bounds.x+r.bounds.w+30)+" "+y(r.bounds.y)+"] ")+" /Parent "+wt,r.open&&(A+=" /Open true"),A+=" >>",rt.content=A,this.internal.write(Je.objId,"0 R",rt.objId,"0 R");break;case"freetext":i="/Rect ["+b(r.bounds.x)+" "+y(r.bounds.y)+" "+b(r.bounds.x+r.bounds.w)+" "+y(r.bounds.y+r.bounds.h)+"] ";var dt=r.color||"#000000";A="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+V(tt(r.contents))+")",A+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+dt+")",A+=" /Border [0 0 0]",A+=" >>",this.internal.write(A);break;case"link":if(r.options.name){var fn=this.annotations._nameMap[r.options.name];r.options.pageNumber=fn.page,r.options.top=fn.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",A="",r.options.url)A="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+V(tt(r.options.url))+") >>";else if(r.options.pageNumber)switch(A="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":A+=" /Fit]";break;case"FitH":A+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,A+=" /FitV "+r.options.left+"]";break;default:var jn=y(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),A+=" /XYZ "+r.options.left+" "+jn+" "+r.options.zoom+"]"}A!=""&&(A+=" >>",this.internal.write(A))}}this.internal.write("]")}}]),e.createAnnotation=function(t){var r=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":r.pageContext.annotations.push(t)}},e.link=function(t,r,i,A,b){var y=this.internal.getCurrentPageInfo(),I=this.internal.getCoordinateString,P=this.internal.getVerticalCoordinateString;y.pageContext.annotations.push({finalBounds:{x:I(t),y:P(r),w:I(t+i),h:P(r+A)},options:b,type:"link"})},e.textWithLink=function(t,r,i,A){var b,y,I=this.getTextWidth(t),P=this.internal.getLineHeight()/this.internal.scaleFactor;if(A.maxWidth!==void 0){y=A.maxWidth;var X=this.splitTextToSize(t,y).length;b=Math.ceil(P*X)}else y=I,b=P;return this.text(t,r,i,A),i+=.2*P,A.align==="center"&&(r-=I/2),A.align==="right"&&(r-=I),this.link(r,i-P,y,b,A),I},e.getTextWidth=function(t){var r=this.internal.getFontSize();return this.getStringUnitWidth(t)*r/this.internal.scaleFactor}}(Fi.API),function(e){var n={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]},t={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}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var A=e.__arabicParser__.isInArabicSubstitutionA=function(Je){return n[Je.charCodeAt(0)]!==void 0},b=e.__arabicParser__.isArabicLetter=function(Je){return typeof Je=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(Je)},y=e.__arabicParser__.isArabicEndLetter=function(Je){return b(Je)&&A(Je)&&n[Je.charCodeAt(0)].length<=2},I=e.__arabicParser__.isArabicAlfLetter=function(Je){return b(Je)&&i.indexOf(Je.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(Je){return b(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=1};var P=e.__arabicParser__.arabicLetterHasFinalForm=function(Je){return b(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(Je){return b(Je)&&A(Je)&&n[Je.charCodeAt(0)].length>=3};var X=e.__arabicParser__.arabicLetterHasMedialForm=function(Je){return b(Je)&&A(Je)&&n[Je.charCodeAt(0)].length==4},Ce=e.__arabicParser__.resolveLigatures=function(Je){var rt=0,ke=t,Ut="",wt=0;for(rt=0;rt<Je.length;rt+=1)ke[Je.charCodeAt(rt)]!==void 0?(wt++,typeof(ke=ke[Je.charCodeAt(rt)])=="number"&&(Ut+=String.fromCharCode(ke),ke=t,wt=0),rt===Je.length-1&&(ke=t,Ut+=Je.charAt(rt-(wt-1)),rt-=wt-1,wt=0)):(ke=t,Ut+=Je.charAt(rt-wt),rt-=wt,wt=0);return Ut};e.__arabicParser__.isArabicDiacritic=function(Je){return Je!==void 0&&r[Je.charCodeAt(0)]!==void 0};var Le=e.__arabicParser__.getCorrectForm=function(Je,rt,ke){return b(Je)?A(Je)===!1?-1:!P(Je)||!b(rt)&&!b(ke)||!b(ke)&&y(rt)||y(Je)&&!b(rt)||y(Je)&&I(rt)||y(Je)&&y(rt)?0:X(Je)&&b(rt)&&!y(rt)&&b(ke)&&P(ke)?3:y(Je)||!b(ke)?1:2:-1},V=function(Je){var rt=0,ke=0,Ut=0,wt="",dt="",fn="",jn=(Je=Je||"").split("\\s+"),Cn=[];for(rt=0;rt<jn.length;rt+=1){for(Cn.push(""),ke=0;ke<jn[rt].length;ke+=1)wt=jn[rt][ke],dt=jn[rt][ke-1],fn=jn[rt][ke+1],b(wt)?(Ut=Le(wt,dt,fn),Cn[rt]+=Ut!==-1?String.fromCharCode(n[wt.charCodeAt(0)][Ut]):wt):Cn[rt]+=wt;Cn[rt]=Ce(Cn[rt])}return Cn.join(" ")},tt=e.__arabicParser__.processArabic=e.processArabic=function(){var Je,rt=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,ke=[];if(Array.isArray(rt)){var Ut=0;for(ke=[],Ut=0;Ut<rt.length;Ut+=1)Array.isArray(rt[Ut])?ke.push([V(rt[Ut][0]),rt[Ut][1],rt[Ut][2]]):ke.push([V(rt[Ut])]);Je=ke}else Je=V(rt);return typeof arguments[0]=="string"?Je:(arguments[0].text=Je,arguments[0])};e.events.push(["preProcessText",tt])}(Fi.API),Fi.API.autoPrint=function(e){var n;return(e=e||{}).variant=e.variant||"non-conform",e.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){n=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 "+n+" 0 R")})),this},function(e){var n=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(y){t=y}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(y){r=isNaN(y)||Number.isInteger(y)===!1||y<0?150:y,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(y){i=isNaN(y)||Number.isInteger(y)===!1||y<0?300:y,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var A=[];Object.defineProperty(this,"childNodes",{get:function(){return A},set:function(y){A=y}});var b={};Object.defineProperty(this,"style",{get:function(){return b},set:function(y){b=y}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(t,r){var i;if((t=t||"2d")!=="2d")return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(Fi.API),function(e){var n={left:0,top:0,bottom:0,right:0},t=!1,r=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({},n),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new A,this.internal.__cell__.pages=1},A=function(){var I=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return I},set:function(Je){I=Je}});var P=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return P},set:function(Je){P=Je}});var X=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return X},set:function(Je){X=Je}});var Ce=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return Ce},set:function(Je){Ce=Je}});var Le=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return Le},set:function(Je){Le=Je}});var V=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return V},set:function(Je){V=Je}});var tt=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return tt},set:function(Je){tt=Je}}),this};A.prototype.clone=function(){return new A(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},A.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(I){return r.call(this),this.internal.__cell__.headerFunction=typeof I=="function"?I:void 0,this},e.getTextDimensions=function(I,P){r.call(this);var X=(P=P||{}).fontSize||this.getFontSize(),Ce=P.font||this.getFont(),Le=P.scaleFactor||this.internal.scaleFactor,V=0,tt=0,Je=0,rt=this;if(!Array.isArray(I)&&typeof I!="string"){if(typeof I!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");I=String(I)}var ke=P.maxWidth;ke>0?typeof I=="string"?I=this.splitTextToSize(I,ke):Object.prototype.toString.call(I)==="[object Array]"&&(I=I.reduce(function(wt,dt){return wt.concat(rt.splitTextToSize(dt,ke))},[])):I=Array.isArray(I)?I:[I];for(var Ut=0;Ut<I.length;Ut++)V<(Je=this.getStringUnitWidth(I[Ut],{font:Ce})*X)&&(V=Je);return V!==0&&(tt=I.length),{w:V/=Le,h:Math.max((tt*X*this.getLineHeightFactor()-X*(this.getLineHeightFactor()-1))/Le,0)}},e.cellAddPage=function(){r.call(this),this.addPage();var I=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new A(I.left,I.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var b=e.cell=function(){var I;I=arguments[0]instanceof A?arguments[0]:new A(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var P=this.internal.__cell__.lastCell,X=this.internal.__cell__.padding,Ce=this.internal.__cell__.margins||n,Le=this.internal.__cell__.tableHeaderRow,V=this.internal.__cell__.printHeaders;return P.lineNumber!==void 0&&(P.lineNumber===I.lineNumber?(I.x=(P.x||0)+(P.width||0),I.y=P.y||0):P.y+P.height+I.height+Ce.bottom>this.getPageHeight()?(this.cellAddPage(),I.y=Ce.top,V&&Le&&(this.printHeaderRow(I.lineNumber,!0),I.y+=Le[0].height)):I.y=P.y+P.height||I.y),I.text[0]!==void 0&&(this.rect(I.x,I.y,I.width,I.height,t===!0?"FD":void 0),I.align==="right"?this.text(I.text,I.x+I.width-X,I.y+X,{align:"right",baseline:"top"}):I.align==="center"?this.text(I.text,I.x+I.width/2,I.y+X,{align:"center",baseline:"top",maxWidth:I.width-X-X}):this.text(I.text,I.x+X,I.y+X,{align:"left",baseline:"top",maxWidth:I.width-X-X})),this.internal.__cell__.lastCell=I,this};e.table=function(I,P,X,Ce,Le){if(r.call(this),!X)throw new Error("No data for PDF table.");var V,tt,Je,rt,ke=[],Ut=[],wt=[],dt={},fn={},jn=[],Cn=[],Dt=(Le=Le||{}).autoSize||!1,ft=Le.printHeaders!==!1,nn=Le.css&&Le.css["font-size"]!==void 0?16*Le.css["font-size"]:Le.fontSize||12,$e=Le.margins||Object.assign({width:this.getPageWidth()},n),it=typeof Le.padding=="number"?Le.padding:3,St=Le.headerBackgroundColor||"#c8c8c8",Bt=Le.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=ft,this.internal.__cell__.margins=$e,this.internal.__cell__.table_font_size=nn,this.internal.__cell__.padding=it,this.internal.__cell__.headerBackgroundColor=St,this.internal.__cell__.headerTextColor=Bt,this.setFontSize(nn),Ce==null)Ut=ke=Object.keys(X[0]),wt=ke.map(function(){return"left"});else if(Array.isArray(Ce)&&(0,ye.Z)(Ce[0])==="object")for(ke=Ce.map(function(_r){return _r.name}),Ut=Ce.map(function(_r){return _r.prompt||_r.name||""}),wt=Ce.map(function(_r){return _r.align||"left"}),V=0;V<Ce.length;V+=1)fn[Ce[V].name]=.7499990551181103*Ce[V].width;else Array.isArray(Ce)&&typeof Ce[0]=="string"&&(Ut=ke=Ce,wt=ke.map(function(){return"left"}));if(Dt||Array.isArray(Ce)&&typeof Ce[0]=="string")for(V=0;V<ke.length;V+=1){for(dt[rt=ke[V]]=X.map(function(_r){return _r[rt]}),this.setFont(void 0,"bold"),jn.push(this.getTextDimensions(Ut[V],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),tt=dt[rt],this.setFont(void 0,"normal"),Je=0;Je<tt.length;Je+=1)jn.push(this.getTextDimensions(tt[Je],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);fn[rt]=Math.max.apply(null,jn)+it+it,jn=[]}if(ft){var vn={};for(V=0;V<ke.length;V+=1)vn[ke[V]]={},vn[ke[V]].text=Ut[V],vn[ke[V]].align=wt[V];var Bn=y.call(this,vn,fn);Cn=ke.map(function(_r){return new A(I,P,fn[_r],Bn,vn[_r].text,void 0,vn[_r].align)}),this.setTableHeaderRow(Cn),this.printHeaderRow(1,!1)}var In=Ce.reduce(function(_r,rr){return _r[rr.name]=rr.align,_r},{});for(V=0;V<X.length;V+=1){"rowStart"in Le&&Le.rowStart instanceof Function&&Le.rowStart({row:V,data:X[V]},this);var cn=y.call(this,X[V],fn);for(Je=0;Je<ke.length;Je+=1){var Nn=X[V][ke[Je]];"cellStart"in Le&&Le.cellStart instanceof Function&&Le.cellStart({row:V,col:Je,data:Nn},this),b.call(this,new A(I,P,fn[ke[Je]],cn,Nn,V+2,In[ke[Je]]))}}return this.internal.__cell__.table_x=I,this.internal.__cell__.table_y=P,this};var y=function(I,P){var X=this.internal.__cell__.padding,Ce=this.internal.__cell__.table_font_size,Le=this.internal.scaleFactor;return Object.keys(I).map(function(V){var tt=I[V];return this.splitTextToSize(tt.hasOwnProperty("text")?tt.text:tt,P[V]-X-X)},this).map(function(V){return this.getLineHeightFactor()*V.length*Ce/Le+X+X},this).reduce(function(V,tt){return Math.max(V,tt)},0)};e.setTableHeaderRow=function(I){r.call(this),this.internal.__cell__.tableHeaderRow=I},e.printHeaderRow=function(I,P){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var X;if(t=!0,typeof this.internal.__cell__.headerFunction=="function"){var Ce=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new A(Ce[0],Ce[1],Ce[2],Ce[3],void 0,-1)}this.setFont(void 0,"bold");for(var Le=[],V=0;V<this.internal.__cell__.tableHeaderRow.length;V+=1){X=this.internal.__cell__.tableHeaderRow[V].clone(),P&&(X.y=this.internal.__cell__.margins.top||0,Le.push(X)),X.lineNumber=I;var tt=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),b.call(this,X),this.setTextColor(tt)}Le.length>0&&this.setTableHeaderRow(Le),this.setFont(void 0,"normal"),t=!1}}(Fi.API);var ns={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},bc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Es=Ia(bc),Rs=[100,200,300,400,500,600,700,800,900],yu=Ia(Rs);function ml(e){var n=e.family.replace(/"|'/g,"").toLowerCase(),t=function(A){return ns[A=A||"normal"]?A:"normal"}(e.style),r=function(A){return A?typeof A=="number"?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):A==="bold"?700:400:400}(e.weight),i=function(A){return typeof Es[A=A||"normal"]=="number"?A:"normal"}(e.stretch);return{family:n,style:t,weight:r,stretch:i,src:e.src||[],ref:e.ref||{name:n,style:[i,t,r].join(" ")}}}function Bc(e,n,t,r){var i;for(i=t;i>=0&&i<n.length;i+=r)if(e[n[i]])return e[n[i]];for(i=t;i>=0&&i<n.length;i-=r)if(e[n[i]])return e[n[i]]}var wu={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Wc={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Xl(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Vc(e){return e.trimLeft()}function Cc(e,n){for(var t=0;t<e.length;){if(e.charAt(t)===n)return[e.substring(0,t),e.substring(t+1)];t+=1}return null}function td(e){var n=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return n===null?null:[n[0],e.substring(n[0].length)]}var Gc,Lg,_g,Kf,j0,Qg,Pg,Dg,zp=["times"];function Rg(e,n,t,r,i){var A=4,b=Mg;switch(i){case Fi.API.image_compression.FAST:A=1,b=Tg;break;case Fi.API.image_compression.MEDIUM:A=6,b=jg;break;case Fi.API.image_compression.SLOW:A=9,b=Hg}e=function(I,P,X,Ce){for(var Le,V=I.length/P,tt=new Uint8Array(I.length+V),Je=[Qm,Tg,Mg,jg,Hg],rt=0;rt<V;rt+=1){var ke=rt*P,Ut=I.subarray(ke,ke+P);if(Ce)tt.set(Ce(Ut,X,Le),ke+rt);else{for(var wt=Je.length,dt=[],fn=0;fn<wt;fn+=1)dt[fn]=Je[fn](Ut,X,Le);var jn=Dm(dt.concat());tt.set(dt[jn],ke+rt)}Le=Ut}return tt}(e,n,Math.ceil(t*r/8),b);var y=Ei(e,{level:A});return Fi.API.__addimage__.arrayBufferToBinaryString(y)}function Qm(e){var n=Array.apply([],e);return n.unshift(0),n}function Tg(e,n){var t=e.length,r=[];r[0]=1;for(var i=0;i<t;i+=1){var A=e[i-n]||0;r[i+1]=e[i]-A+256&255}return r}function Mg(e,n,t){var r=e.length,i=[];i[0]=2;for(var A=0;A<r;A+=1){var b=t&&t[A]||0;i[A+1]=e[A]-b+256&255}return i}function jg(e,n,t){var r=e.length,i=[];i[0]=3;for(var A=0;A<r;A+=1){var b=e[A-n]||0,y=t&&t[A]||0;i[A+1]=e[A]+256-(b+y>>>1)&255}return i}function Hg(e,n,t){var r=e.length,i=[];i[0]=4;for(var A=0;A<r;A+=1){var b=Pm(e[A-n]||0,t&&t[A]||0,t&&t[A-n]||0);i[A+1]=e[A]-b+256&255}return i}function Pm(e,n,t){if(e===n&&n===t)return e;var r=Math.abs(n-t),i=Math.abs(e-t),A=Math.abs(e+n-t-t);return r<=i&&r<=A?e:i<=A?n:t}function Dm(e){var n=e.map(function(t){return t.reduce(function(r,i){return r+Math.abs(i)},0)});return n.indexOf(Math.min.apply(null,n))}function Zp(e,n,t){var r=n*t,i=Math.floor(r/8),A=16-(r-8*i+t),b=(1<<t)-1;return kg(e,i)>>A&b}function $g(e,n,t,r){var i=t*r,A=Math.floor(i/8),b=16-(i-8*A+r),y=(1<<r)-1,I=(n&y)<<b;(function(P,X,Ce){if(X+1<P.byteLength)P.setUint16(X,Ce,!1);else{var Le=Ce>>8&255;P.setUint8(X,Le)}})(e,A,kg(e,A)&~(y<<b)&65535|I)}function kg(e,n){return n+1<e.byteLength?e.getUint16(n,!1):e.getUint8(n)<<8}function Rm(e){var n=0;if(e[n++]!==71||e[n++]!==73||e[n++]!==70||e[n++]!==56||(e[n++]+1&253)!=56||e[n++]!==97)throw new Error("Invalid GIF 87a/89a header.");var t=e[n++]|e[n++]<<8,r=e[n++]|e[n++]<<8,i=e[n++],A=i>>7,b=1<<1+(7&i);e[n++],e[n++];var y=null,I=null;A&&(y=n,I=b,n+=3*b);var P=!0,X=[],Ce=0,Le=null,V=0,tt=null;for(this.width=t,this.height=r;P&&n<e.length;)switch(e[n++]){case 33:switch(e[n++]){case 255:if(e[n]!==11||e[n+1]==78&&e[n+2]==69&&e[n+3]==84&&e[n+4]==83&&e[n+5]==67&&e[n+6]==65&&e[n+7]==80&&e[n+8]==69&&e[n+9]==50&&e[n+10]==46&&e[n+11]==48&&e[n+12]==3&&e[n+13]==1&&e[n+16]==0)n+=14,tt=e[n++]|e[n++]<<8,n++;else for(n+=12;;){if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}break;case 249:if(e[n++]!==4||e[n+4]!==0)throw new Error("Invalid graphics extension block.");var Je=e[n++];Ce=e[n++]|e[n++]<<8,Le=e[n++],1&Je||(Le=null),V=Je>>2&7,n++;break;case 254:for(;;){if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}break;default:throw new Error("Unknown graphic control label: 0x"+e[n-1].toString(16))}break;case 44:var rt=e[n++]|e[n++]<<8,ke=e[n++]|e[n++]<<8,Ut=e[n++]|e[n++]<<8,wt=e[n++]|e[n++]<<8,dt=e[n++],fn=dt>>6&1,jn=1<<1+(7&dt),Cn=y,Dt=I,ft=!1;dt>>7&&(ft=!0,Cn=n,Dt=jn,n+=3*jn);var nn=n;for(n++;;){var $e;if(!(($e=e[n++])>=0))throw Error("Invalid block size");if($e===0)break;n+=$e}X.push({x:rt,y:ke,width:Ut,height:wt,has_local_palette:ft,palette_offset:Cn,palette_size:Dt,data_offset:nn,data_length:n-nn,transparent_index:Le,interlaced:!!fn,delay:Ce,disposal:V});break;case 59:P=!1;break;default:throw new Error("Unknown gif block: 0x"+e[n-1].toString(16))}this.numFrames=function(){return X.length},this.loopCount=function(){return tt},this.frameInfo=function(it){if(it<0||it>=X.length)throw new Error("Frame index out of range.");return X[it]},this.decodeAndBlitFrameBGRA=function(it,St){var Bt=this.frameInfo(it),vn=Bt.width*Bt.height,Bn=new Uint8Array(vn);Kg(e,Bt.data_offset,Bn,vn);var In=Bt.palette_offset,cn=Bt.transparent_index;cn===null&&(cn=256);var Nn=Bt.width,_r=t-Nn,rr=Nn,Me=4*(Bt.y*t+Bt.x),ct=4*((Bt.y+Bt.height)*t+Bt.x),vt=Me,_t=4*_r;Bt.interlaced===!0&&(_t+=4*t*7);for(var zt=8,un=0,En=Bn.length;un<En;++un){var bn=Bn[un];if(rr===0&&(rr=Nn,(vt+=_t)>=ct&&(_t=4*_r+4*t*(zt-1),vt=Me+(Nn+_r)*(zt<<1),zt>>=1)),bn===cn)vt+=4;else{var Gn=e[In+3*bn],vr=e[In+3*bn+1],ri=e[In+3*bn+2];St[vt++]=ri,St[vt++]=vr,St[vt++]=Gn,St[vt++]=255}--rr}},this.decodeAndBlitFrameRGBA=function(it,St){var Bt=this.frameInfo(it),vn=Bt.width*Bt.height,Bn=new Uint8Array(vn);Kg(e,Bt.data_offset,Bn,vn);var In=Bt.palette_offset,cn=Bt.transparent_index;cn===null&&(cn=256);var Nn=Bt.width,_r=t-Nn,rr=Nn,Me=4*(Bt.y*t+Bt.x),ct=4*((Bt.y+Bt.height)*t+Bt.x),vt=Me,_t=4*_r;Bt.interlaced===!0&&(_t+=4*t*7);for(var zt=8,un=0,En=Bn.length;un<En;++un){var bn=Bn[un];if(rr===0&&(rr=Nn,(vt+=_t)>=ct&&(_t=4*_r+4*t*(zt-1),vt=Me+(Nn+_r)*(zt<<1),zt>>=1)),bn===cn)vt+=4;else{var Gn=e[In+3*bn],vr=e[In+3*bn+1],ri=e[In+3*bn+2];St[vt++]=Gn,St[vt++]=vr,St[vt++]=ri,St[vt++]=255}--rr}}}function Kg(e,n,t,r){for(var i=e[n++],A=1<<i,b=A+1,y=b+1,I=i+1,P=(1<<I)-1,X=0,Ce=0,Le=0,V=e[n++],tt=new Int32Array(4096),Je=null;;){for(;X<16&&V!==0;)Ce|=e[n++]<<X,X+=8,V===1?V=e[n++]:--V;if(X<I)break;var rt=Ce&P;if(Ce>>=I,X-=I,rt!==A){if(rt===b)break;for(var ke=rt<y?rt:Je,Ut=0,wt=ke;wt>A;)wt=tt[wt]>>8,++Ut;var dt=wt;if(Le+Ut+(ke!==rt?1:0)>r)return void ka.log("Warning, gif stream longer than expected.");t[Le++]=dt;var fn=Le+=Ut;for(ke!==rt&&(t[Le++]=dt),wt=ke;Ut--;)wt=tt[wt],t[--fn]=255&wt,wt>>=8;Je!==null&&y<4096&&(tt[y++]=Je<<8|dt,y>=P+1&&I<12&&(++I,P=P<<1|1)),Je=rt}else y=b+1,P=(1<<(I=i+1))-1,Je=null}return Le!==r&&ka.log("Warning, gif stream shorter than expected."),t}function Wp(e){var n,t,r,i,A,b=Math.floor,y=new Array(64),I=new Array(64),P=new Array(64),X=new Array(64),Ce=new Array(65535),Le=new Array(65535),V=new Array(64),tt=new Array(64),Je=[],rt=0,ke=7,Ut=new Array(64),wt=new Array(64),dt=new Array(64),fn=new Array(256),jn=new Array(2048),Cn=[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],Dt=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],ft=[0,1,2,3,4,5,6,7,8,9,10,11],nn=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],$e=[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],it=[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],Bt=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],vn=[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 Bn(Me,ct){for(var vt=0,_t=0,zt=new Array,un=1;un<=16;un++){for(var En=1;En<=Me[un];En++)zt[ct[_t]]=[],zt[ct[_t]][0]=vt,zt[ct[_t]][1]=un,_t++,vt++;vt*=2}return zt}function In(Me){for(var ct=Me[0],vt=Me[1]-1;vt>=0;)ct&1<<vt&&(rt|=1<<ke),vt--,--ke<0&&(rt==255?(cn(255),cn(0)):cn(rt),ke=7,rt=0)}function cn(Me){Je.push(Me)}function Nn(Me){cn(Me>>8&255),cn(255&Me)}function _r(Me,ct,vt,_t,zt){for(var un,En=zt[0],bn=zt[240],Gn=function(Fr,ki){var ui,jo,Xi,Fa,Oo,No,Ja,Ho,Zi,ho,Wi=0;for(Zi=0;Zi<8;++Zi){ui=Fr[Wi],jo=Fr[Wi+1],Xi=Fr[Wi+2],Fa=Fr[Wi+3],Oo=Fr[Wi+4],No=Fr[Wi+5],Ja=Fr[Wi+6];var dA=ui+(Ho=Fr[Wi+7]),Ua=ui-Ho,Ti=jo+Ja,Lo=jo-Ja,oA=Xi+No,io=Xi-No,ca=Fa+Oo,_o=Fa-Oo,kA=dA+ca,us=dA-ca,aA=Ti+oA,Bo=Ti-oA;Fr[Wi]=kA+aA,Fr[Wi+4]=kA-aA;var Ta=.707106781*(Bo+us);Fr[Wi+2]=us+Ta,Fr[Wi+6]=us-Ta;var Vd=.382683433*((kA=_o+io)-(Bo=Lo+Ua)),Vs=.5411961*kA+Vd,bu=1.306562965*Bo+Vd,Yc=.707106781*(aA=io+Lo),oo=Ua+Yc,Bu=Ua-Yc;Fr[Wi+5]=Bu+Vs,Fr[Wi+3]=Bu-Vs,Fr[Wi+1]=oo+bu,Fr[Wi+7]=oo-bu,Wi+=8}for(Wi=0,Zi=0;Zi<8;++Zi){ui=Fr[Wi],jo=Fr[Wi+8],Xi=Fr[Wi+16],Fa=Fr[Wi+24],Oo=Fr[Wi+32],No=Fr[Wi+40],Ja=Fr[Wi+48];var Cu=ui+(Ho=Fr[Wi+56]),Yl=ui-Ho,Jl=jo+Ja,DA=jo-Ja,Ss=Xi+No,Ts=Xi-No,Gd=Fa+Oo,rd=Fa-Oo,Sc=Cu+Gd,Jc=Cu-Gd,Ic=Jl+Ss,Fc=Jl-Ss;Fr[Wi]=Sc+Ic,Fr[Wi+32]=Sc-Ic;var ql=.707106781*(Fc+Jc);Fr[Wi+16]=Jc+ql,Fr[Wi+48]=Jc-ql;var Xd=.382683433*((Sc=rd+Ts)-(Fc=DA+Yl)),qc=.5411961*Sc+Xd,Yd=1.306562965*Fc+Xd,zf=.707106781*(Ic=Ts+DA),Zf=Yl+zf,Wf=Yl-zf;Fr[Wi+40]=Wf+qc,Fr[Wi+24]=Wf-qc,Fr[Wi+8]=Zf+Yd,Fr[Wi+56]=Zf-Yd,Wi++}for(Zi=0;Zi<64;++Zi)ho=Fr[Zi]*ki[Zi],V[Zi]=ho>0?ho+.5|0:ho-.5|0;return V}(Me,ct),vr=0;vr<64;++vr)tt[Cn[vr]]=Gn[vr];var ri=tt[0]-vt;vt=tt[0],ri==0?In(_t[0]):(In(_t[Le[un=32767+ri]]),In(Ce[un]));for(var ai=63;ai>0&&tt[ai]==0;)ai--;if(ai==0)return In(En),vt;for(var Rn,pt=1;pt<=ai;){for(var Aa=pt;tt[pt]==0&&pt<=ai;)++pt;var Mo=pt-Aa;if(Mo>=16){Rn=Mo>>4;for(var to=1;to<=Rn;++to)In(bn);Mo&=15}un=32767+tt[pt],In(zt[(Mo<<4)+Le[un]]),In(Ce[un]),pt++}return ai!=63&&In(En),vt}function rr(Me){Me=Math.min(Math.max(Me,1),100),A!=Me&&(function(ct){for(var vt=[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],_t=0;_t<64;_t++){var zt=b((vt[_t]*ct+50)/100);zt=Math.min(Math.max(zt,1),255),y[Cn[_t]]=zt}for(var un=[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],En=0;En<64;En++){var bn=b((un[En]*ct+50)/100);bn=Math.min(Math.max(bn,1),255),I[Cn[En]]=bn}for(var Gn=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],vr=0,ri=0;ri<8;ri++)for(var ai=0;ai<8;ai++)P[vr]=1/(y[Cn[vr]]*Gn[ri]*Gn[ai]*8),X[vr]=1/(I[Cn[vr]]*Gn[ri]*Gn[ai]*8),vr++}(Me<50?Math.floor(5e3/Me):Math.floor(200-2*Me)),A=Me)}this.encode=function(Me,ct){ct&&rr(ct),Je=new Array,rt=0,ke=7,Nn(65496),Nn(65504),Nn(16),cn(74),cn(70),cn(73),cn(70),cn(0),cn(1),cn(1),cn(0),Nn(1),Nn(1),cn(0),cn(0),function(){Nn(65499),Nn(132),cn(0);for(var jo=0;jo<64;jo++)cn(y[jo]);cn(1);for(var Xi=0;Xi<64;Xi++)cn(I[Xi])}(),function(jo,Xi){Nn(65472),Nn(17),cn(8),Nn(Xi),Nn(jo),cn(3),cn(1),cn(17),cn(0),cn(2),cn(17),cn(1),cn(3),cn(17),cn(1)}(Me.width,Me.height),function(){Nn(65476),Nn(418),cn(0);for(var jo=0;jo<16;jo++)cn(Dt[jo+1]);for(var Xi=0;Xi<=11;Xi++)cn(ft[Xi]);cn(16);for(var Fa=0;Fa<16;Fa++)cn(nn[Fa+1]);for(var Oo=0;Oo<=161;Oo++)cn($e[Oo]);cn(1);for(var No=0;No<16;No++)cn(it[No+1]);for(var Ja=0;Ja<=11;Ja++)cn(St[Ja]);cn(17);for(var Ho=0;Ho<16;Ho++)cn(Bt[Ho+1]);for(var Zi=0;Zi<=161;Zi++)cn(vn[Zi])}(),Nn(65498),Nn(12),cn(3),cn(1),cn(0),cn(2),cn(17),cn(3),cn(17),cn(0),cn(63),cn(0);var vt=0,_t=0,zt=0;rt=0,ke=7,this.encode.displayName="_encode_";for(var un,En,bn,Gn,vr,ri,ai,Rn,pt,Aa=Me.data,Mo=Me.width,to=Me.height,Fr=4*Mo,ki=0;ki<to;){for(un=0;un<Fr;){for(vr=Fr*ki+un,ai=-1,Rn=0,pt=0;pt<64;pt++)ri=vr+(Rn=pt>>3)*Fr+(ai=4*(7&pt)),ki+Rn>=to&&(ri-=Fr*(ki+1+Rn-to)),un+ai>=Fr&&(ri-=un+ai-Fr+4),En=Aa[ri++],bn=Aa[ri++],Gn=Aa[ri++],Ut[pt]=(jn[En]+jn[bn+256|0]+jn[Gn+512|0]>>16)-128,wt[pt]=(jn[En+768|0]+jn[bn+1024|0]+jn[Gn+1280|0]>>16)-128,dt[pt]=(jn[En+1280|0]+jn[bn+1536|0]+jn[Gn+1792|0]>>16)-128;vt=_r(Ut,P,vt,n,r),_t=_r(wt,X,_t,t,i),zt=_r(dt,X,zt,t,i),un+=32}ki+=8}if(ke>=0){var ui=[];ui[1]=ke+1,ui[0]=(1<<ke+1)-1,In(ui)}return Nn(65497),new Uint8Array(Je)},e=e||50,function(){for(var Me=String.fromCharCode,ct=0;ct<256;ct++)fn[ct]=Me(ct)}(),n=Bn(Dt,ft),t=Bn(it,St),r=Bn(nn,$e),i=Bn(Bt,vn),function(){for(var Me=1,ct=2,vt=1;vt<=15;vt++){for(var _t=Me;_t<ct;_t++)Le[32767+_t]=vt,Ce[32767+_t]=[],Ce[32767+_t][1]=vt,Ce[32767+_t][0]=_t;for(var zt=-(ct-1);zt<=-Me;zt++)Le[32767+zt]=vt,Ce[32767+zt]=[],Ce[32767+zt][1]=vt,Ce[32767+zt][0]=ct-1+zt;Me<<=1,ct<<=1}}(),function(){for(var Me=0;Me<256;Me++)jn[Me]=19595*Me,jn[Me+256|0]=38470*Me,jn[Me+512|0]=7471*Me+32768,jn[Me+768|0]=-11059*Me,jn[Me+1024|0]=-21709*Me,jn[Me+1280|0]=32768*Me+8421375,jn[Me+1536|0]=-27439*Me,jn[Me+1792|0]=-5329*Me}(),rr(e)}function xc(e,n){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!n,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 zg(e){function n(ft){if(!ft)throw Error("assert :P")}function t(ft,nn,$e){for(var it=0;4>it;it++)if(ft[nn+it]!=$e.charCodeAt(it))return!0;return!1}function r(ft,nn,$e,it,St){for(var Bt=0;Bt<St;Bt++)ft[nn+Bt]=$e[it+Bt]}function i(ft,nn,$e,it){for(var St=0;St<it;St++)ft[nn+St]=$e}function A(ft){return new Int32Array(ft)}function b(ft,nn){for(var $e=[],it=0;it<ft;it++)$e.push(new nn);return $e}function y(ft,nn){var $e=[];return function it(St,Bt,vn){for(var Bn=vn[Bt],In=0;In<Bn&&(St.push(vn.length>Bt+1?[]:new nn),!(vn.length<Bt+1));In++)it(St[In],Bt+1,vn)}($e,0,ft),$e}var I=function(){var ft=this;function nn(l,g){for(var Z=1<<g-1>>>0;l&Z;)Z>>>=1;return Z?(l&Z-1)+Z:l}function $e(l,g,Z,oe,Fe){n(!(oe%Z));do l[g+(oe-=Z)]=Fe;while(0<oe)}function it(l,g,Z,oe,Fe){if(n(2328>=Fe),512>=Fe)var _e=A(512);else if((_e=A(Fe))==null)return 0;return function(Re,Ze,Xe,At,Pt,dn){var st,$t,rn=Ze,Mn=1<<Xe,ln=A(16),$n=A(16);for(n(Pt!=0),n(At!=null),n(Re!=null),n(0<Xe),$t=0;$t<Pt;++$t){if(15<At[$t])return 0;++ln[At[$t]]}if(ln[0]==Pt)return 0;for($n[1]=0,st=1;15>st;++st){if(ln[st]>1<<st)return 0;$n[st+1]=$n[st]+ln[st]}for($t=0;$t<Pt;++$t)st=At[$t],0<At[$t]&&(dn[$n[st]++]=$t);if($n[15]==1)return(At=new St).g=0,At.value=dn[0],$e(Re,rn,1,Mn,At),Mn;var Vn,yr=-1,Ar=Mn-1,Mi=0,xi=1,ko=1,Ui=1<<Xe;for($t=0,st=1,Pt=2;st<=Xe;++st,Pt<<=1){if(xi+=ko<<=1,0>(ko-=ln[st]))return 0;for(;0<ln[st];--ln[st])(At=new St).g=st,At.value=dn[$t++],$e(Re,rn+Mi,Pt,Ui,At),Mi=nn(Mi,st)}for(st=Xe+1,Pt=2;15>=st;++st,Pt<<=1){if(xi+=ko<<=1,0>(ko-=ln[st]))return 0;for(;0<ln[st];--ln[st]){if(At=new St,(Mi&Ar)!=yr){for(rn+=Ui,Vn=1<<(yr=st)-Xe;15>yr&&!(0>=(Vn-=ln[yr]));)++yr,Vn<<=1;Mn+=Ui=1<<(Vn=yr-Xe),Re[Ze+(yr=Mi&Ar)].g=Vn+Xe,Re[Ze+yr].value=rn-Ze-yr}At.g=st-Xe,At.value=dn[$t++],$e(Re,rn+(Mi>>Xe),Pt,Ui,At),Mi=nn(Mi,st)}}return xi!=2*$n[15]-1?0:Mn}(l,g,Z,oe,Fe,_e)}function St(){this.value=this.g=0}function Bt(){this.value=this.g=0}function vn(){this.G=b(5,St),this.H=A(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=b(pf,Bt)}function Bn(l,g,Z,oe){n(l!=null),n(g!=null),n(2147483648>oe),l.Ca=254,l.I=0,l.b=-8,l.Ka=0,l.oa=g,l.pa=Z,l.Jd=g,l.Yc=Z+oe,l.Zc=4<=oe?Z+oe-4+1:Z,En(l)}function In(l,g){for(var Z=0;0<g--;)Z|=Gn(l,128)<<g;return Z}function cn(l,g){var Z=In(l,g);return bn(l)?-Z:Z}function Nn(l,g,Z,oe){var Fe,_e=0;for(n(l!=null),n(g!=null),n(4294967288>oe),l.Sb=oe,l.Ra=0,l.u=0,l.h=0,4<oe&&(oe=4),Fe=0;Fe<oe;++Fe)_e+=g[Z+Fe]<<8*Fe;l.Ra=_e,l.bb=oe,l.oa=g,l.pa=Z}function _r(l){for(;8<=l.u&&l.bb<l.Sb;)l.Ra>>>=8,l.Ra+=l.oa[l.pa+l.bb]<<sd-8>>>0,++l.bb,l.u-=8;_t(l)&&(l.h=1,l.u=0)}function rr(l,g){if(n(0<=g),!l.h&&g<=Ol){var Z=vt(l)&Ul[g];return l.u+=g,_r(l),Z}return l.h=1,l.u=0}function Me(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function ct(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function vt(l){return l.Ra>>>(l.u&sd-1)>>>0}function _t(l){return n(l.bb<=l.Sb),l.h||l.bb==l.Sb&&l.u>sd}function zt(l,g){l.u=g,l.h=_t(l)}function un(l){l.u>=Ou&&(n(l.u>=Ou),_r(l))}function En(l){n(l!=null&&l.oa!=null),l.pa<l.Zc?(l.I=(l.oa[l.pa++]|l.I<<8)>>>0,l.b+=8):(n(l!=null&&l.oa!=null),l.pa<l.Yc?(l.b+=8,l.I=l.oa[l.pa++]|l.I<<8):l.Ka?l.b=0:(l.I<<=8,l.b+=8,l.Ka=1))}function bn(l){return In(l,1)}function Gn(l,g){var Z=l.Ca;0>l.b&&En(l);var oe=l.b,Fe=Z*g>>>8,_e=(l.I>>>oe>Fe)+0;for(_e?(Z-=Fe,l.I-=Fe+1<<oe>>>0):Z=Fe+1,oe=Z,Fe=0;256<=oe;)Fe+=8,oe>>=8;return oe=7^Fe+ld[oe],l.b-=oe,l.Ca=(Z<<oe)-1,_e}function vr(l,g,Z){l[g+0]=Z>>24&255,l[g+1]=Z>>16&255,l[g+2]=Z>>8&255,l[g+3]=255&Z}function ri(l,g){return l[g+0]|l[g+1]<<8}function ai(l,g){return ri(l,g)|l[g+2]<<16}function Rn(l,g){return ri(l,g)|ri(l,g+2)<<16}function pt(l,g){var Z=1<<g;return n(l!=null),n(0<g),l.X=A(Z),l.X==null?0:(l.Mb=32-g,l.Xa=g,1)}function Aa(l,g){n(l!=null),n(g!=null),n(l.Xa==g.Xa),r(g.X,0,l.X,0,1<<g.Xa)}function Mo(){this.X=[],this.Xa=this.Mb=0}function to(l,g,Z,oe){n(Z!=null),n(oe!=null);var Fe=Z[0],_e=oe[0];return Fe==0&&(Fe=(l*_e+g/2)/g),_e==0&&(_e=(g*Fe+l/2)/l),0>=Fe||0>=_e?0:(Z[0]=Fe,oe[0]=_e,1)}function Fr(l,g){return l+(1<<g)-1>>>g}function ki(l,g){return((4278255360&l)+(4278255360&g)>>>0&4278255360)+((16711935&l)+(16711935&g)>>>0&16711935)>>>0}function ui(l,g){ft[g]=function(Z,oe,Fe,_e,Re,Ze,Xe){var At;for(At=0;At<Re;++At){var Pt=ft[l](Ze[Xe+At-1],Fe,_e+At);Ze[Xe+At]=ki(Z[oe+At],Pt)}}}function jo(){this.ud=this.hd=this.jd=0}function Xi(l,g){return((4278124286&(l^g))>>>1)+(l&g)>>>0}function Fa(l){return 0<=l&&256>l?l:0>l?0:255<l?255:void 0}function Oo(l,g){return Fa(l+(l-g+.5>>1))}function No(l,g,Z){return Math.abs(g-Z)-Math.abs(l-Z)}function Ja(l,g,Z,oe,Fe,_e,Re){for(oe=_e[Re-1],Z=0;Z<Fe;++Z)_e[Re+Z]=oe=ki(l[g+Z],oe)}function Ho(l,g,Z,oe,Fe){var _e;for(_e=0;_e<Z;++_e){var Re=l[g+_e],Ze=Re>>8&255,Xe=16711935&(Xe=(Xe=16711935&Re)+((Ze<<16)+Ze));oe[Fe+_e]=(4278255360&Re)+Xe>>>0}}function Zi(l,g){g.jd=255&l,g.hd=l>>8&255,g.ud=l>>16&255}function ho(l,g,Z,oe,Fe,_e){var Re;for(Re=0;Re<oe;++Re){var Ze=g[Z+Re],Xe=Ze>>>8,At=Ze,Pt=255&(Pt=(Pt=Ze>>>16)+((l.jd<<24>>24)*(Xe<<24>>24)>>>5));At=255&(At=(At+=(l.hd<<24>>24)*(Xe<<24>>24)>>>5)+((l.ud<<24>>24)*(Pt<<24>>24)>>>5)),Fe[_e+Re]=(4278255360&Ze)+(Pt<<16)+At}}function Wi(l,g,Z,oe,Fe){ft[g]=function(_e,Re,Ze,Xe,At,Pt,dn,st,$t){for(Xe=dn;Xe<st;++Xe)for(dn=0;dn<$t;++dn)At[Pt++]=Fe(Ze[oe(_e[Re++])])},ft[l]=function(_e,Re,Ze,Xe,At,Pt,dn){var st=8>>_e.b,$t=_e.Ea,rn=_e.K[0],Mn=_e.w;if(8>st)for(_e=(1<<_e.b)-1,Mn=(1<<st)-1;Re<Ze;++Re){var ln,$n=0;for(ln=0;ln<$t;++ln)ln&_e||($n=oe(Xe[At++])),Pt[dn++]=Fe(rn[$n&Mn]),$n>>=st}else ft["VP8LMapColor"+Z](Xe,At,rn,Mn,Pt,dn,Re,Ze,$t)}}function dA(l,g,Z,oe,Fe){for(Z=g+Z;g<Z;){var _e=l[g++];oe[Fe++]=_e>>16&255,oe[Fe++]=_e>>8&255,oe[Fe++]=255&_e}}function Ua(l,g,Z,oe,Fe){for(Z=g+Z;g<Z;){var _e=l[g++];oe[Fe++]=_e>>16&255,oe[Fe++]=_e>>8&255,oe[Fe++]=255&_e,oe[Fe++]=_e>>24&255}}function Ti(l,g,Z,oe,Fe){for(Z=g+Z;g<Z;){var _e=(Re=l[g++])>>16&240|Re>>12&15,Re=240&Re|Re>>28&15;oe[Fe++]=_e,oe[Fe++]=Re}}function Lo(l,g,Z,oe,Fe){for(Z=g+Z;g<Z;){var _e=(Re=l[g++])>>16&248|Re>>13&7,Re=Re>>5&224|Re>>3&31;oe[Fe++]=_e,oe[Fe++]=Re}}function oA(l,g,Z,oe,Fe){for(Z=g+Z;g<Z;){var _e=l[g++];oe[Fe++]=255&_e,oe[Fe++]=_e>>8&255,oe[Fe++]=_e>>16&255}}function io(l,g,Z,oe,Fe,_e){if(_e==0)for(Z=g+Z;g<Z;)vr(oe,((_e=l[g++])[0]>>24|_e[1]>>8&65280|_e[2]<<8&16711680|_e[3]<<24)>>>0),Fe+=32;else r(oe,Fe,l,g,Z)}function ca(l,g){ft[g][0]=ft[l+"0"],ft[g][1]=ft[l+"1"],ft[g][2]=ft[l+"2"],ft[g][3]=ft[l+"3"],ft[g][4]=ft[l+"4"],ft[g][5]=ft[l+"5"],ft[g][6]=ft[l+"6"],ft[g][7]=ft[l+"7"],ft[g][8]=ft[l+"8"],ft[g][9]=ft[l+"9"],ft[g][10]=ft[l+"10"],ft[g][11]=ft[l+"11"],ft[g][12]=ft[l+"12"],ft[g][13]=ft[l+"13"],ft[g][14]=ft[l+"0"],ft[g][15]=ft[l+"0"]}function _o(l){return l==dg||l==fg||l==up||l==hg}function kA(){this.eb=[],this.size=this.A=this.fb=0}function us(){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 aA(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new kA,this.f.kb=new us,this.sd=null}function Bo(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ta(){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 Vd(l){return alert("todo:WebPSamplerProcessPlane"),l.T}function Vs(l,g){var Z=l.T,oe=g.ba.f.RGBA,Fe=oe.eb,_e=oe.fb+l.ka*oe.A,Re=oc[g.ba.S],Ze=l.y,Xe=l.O,At=l.f,Pt=l.N,dn=l.ea,st=l.W,$t=g.cc,rn=g.dc,Mn=g.Mc,ln=g.Nc,$n=l.ka,Vn=l.ka+l.T,yr=l.U,Ar=yr+1>>1;for($n==0?Re(Ze,Xe,null,null,At,Pt,dn,st,At,Pt,dn,st,Fe,_e,null,null,yr):(Re(g.ec,g.fc,Ze,Xe,$t,rn,Mn,ln,At,Pt,dn,st,Fe,_e-oe.A,Fe,_e,yr),++Z);$n+2<Vn;$n+=2)$t=At,rn=Pt,Mn=dn,ln=st,Pt+=l.Rc,st+=l.Rc,_e+=2*oe.A,Re(Ze,(Xe+=2*l.fa)-l.fa,Ze,Xe,$t,rn,Mn,ln,At,Pt,dn,st,Fe,_e-oe.A,Fe,_e,yr);return Xe+=l.fa,l.j+Vn<l.o?(r(g.ec,g.fc,Ze,Xe,yr),r(g.cc,g.dc,At,Pt,Ar),r(g.Mc,g.Nc,dn,st,Ar),Z--):1&Vn||Re(Ze,Xe,null,null,At,Pt,dn,st,At,Pt,dn,st,Fe,_e+oe.A,null,null,yr),Z}function bu(l,g,Z){var oe=l.F,Fe=[l.J];if(oe!=null){var _e=l.U,Re=g.ba.S,Ze=Re==cp||Re==up;g=g.ba.f.RGBA;var Xe=[0],At=l.ka;Xe[0]=l.T,l.Kb&&(At==0?--Xe[0]:(--At,Fe[0]-=l.width),l.j+l.ka+l.T==l.o&&(Xe[0]=l.o-l.j-At));var Pt=g.eb;At=g.fb+At*g.A,l=nm(oe,Fe[0],l.width,_e,Xe,Pt,At+(Ze?0:3),g.A),n(Z==Xe),l&&_o(Re)&&qh(Pt,At,Ze,_e,Xe,g.A)}return 0}function Yc(l){var g=l.ma,Z=g.ba.S,oe=11>Z,Fe=Z==sp||Z==lp||Z==cp||Z==ug||Z==12||_o(Z);if(g.memory=null,g.Ib=null,g.Jb=null,g.Nd=null,!zh(g.Oa,l,Fe?11:12))return 0;if(Fe&&_o(Z)&&np(),l.da)alert("todo:use_scaling");else{if(oe){if(g.Ib=Vd,l.Kb){if(Z=l.U+1>>1,g.memory=A(l.U+2*Z),g.memory==null)return 0;g.ec=g.memory,g.fc=0,g.cc=g.ec,g.dc=g.fc+l.U,g.Mc=g.cc,g.Nc=g.dc+Z,g.Ib=Vs,np()}}else alert("todo:EmitYUV");Fe&&(g.Jb=bu,oe&&tc())}if(oe&&!ym){for(l=0;256>l;++l)mv[l]=89858*(l-128)+fp>>dp,wv[l]=-22014*(l-128)+fp,yv[l]=-45773*(l-128),vv[l]=113618*(l-128)+fp>>dp;for(l=t0;l<mg;++l)g=76283*(l-16)+fp>>dp,bv[l-t0]=RA(g,255),Bv[l-t0]=RA(g+8>>4,15);ym=1}return 1}function oo(l){var g=l.ma,Z=l.U,oe=l.T;return n(!(1&l.ka)),0>=Z||0>=oe?0:(Z=g.Ib(l,g),g.Jb!=null&&g.Jb(l,g,Z),g.Dc+=Z,1)}function Bu(l){l.ma.memory=null}function Cu(l,g,Z,oe){return rr(l,8)!=47?0:(g[0]=rr(l,14)+1,Z[0]=rr(l,14)+1,oe[0]=rr(l,1),rr(l,3)!=0?0:!l.h)}function Yl(l,g){if(4>l)return l+1;var Z=l-2>>1;return(2+(1&l)<<Z)+rr(g,Z)+1}function Jl(l,g){return 120<g?g-120:1<=(Z=((Z=rv[g-1])>>4)*l+(8-(15&Z)))?Z:1;var Z}function DA(l,g,Z){var oe=vt(Z),Fe=l[g+=255&oe].g-8;return 0<Fe&&(zt(Z,Z.u+8),oe=vt(Z),g+=l[g].value,g+=oe&(1<<Fe)-1),zt(Z,Z.u+l[g].g),l[g].value}function Ss(l,g,Z){return Z.g+=l.g,Z.value+=l.value<<g>>>0,n(8>=Z.g),l.g}function Ts(l,g,Z){var oe=l.xc;return n((g=oe==0?0:l.vc[l.md*(Z>>oe)+(g>>oe)])<l.Wb),l.Ya[g]}function Gd(l,g,Z,oe){var Fe=l.ab,_e=l.c*g,Re=l.C;g=Re+g;var Ze=Z,Xe=oe;for(oe=l.Ta,Z=l.Ua;0<Fe--;){var At=l.gc[Fe],Pt=Re,dn=g,st=Ze,$t=Xe,rn=(Xe=oe,Ze=Z,At.Ea);switch(n(Pt<dn),n(dn<=At.nc),At.hc){case 2:zA(st,$t,(dn-Pt)*rn,Xe,Ze);break;case 0:var Mn=Pt,ln=dn,$n=Xe,Vn=Ze,yr=(Ui=At).Ea;Mn==0&&(Wh(st,$t,null,null,1,$n,Vn),Ja(st,$t+1,0,0,yr-1,$n,Vn+1),$t+=yr,Vn+=yr,++Mn);for(var Ar=1<<Ui.b,Mi=Ar-1,xi=Fr(yr,Ui.b),ko=Ui.K,Ui=Ui.w+(Mn>>Ui.b)*xi;Mn<ln;){var ua=ko,hs=Ui,Ko=1;for(th(st,$t,$n,Vn-yr,1,$n,Vn);Ko<yr;){var Oi=(Ko&~Mi)+Ar;Oi>yr&&(Oi=yr),(0,Gh[ua[hs++]>>8&15])(st,$t+ +Ko,$n,Vn+Ko-yr,Oi-Ko,$n,Vn+Ko),Ko=Oi}$t+=yr,Vn+=yr,++Mn&Mi||(Ui+=xi)}dn!=At.nc&&r(Xe,Ze-rn,Xe,Ze+(dn-Pt-1)*rn,rn);break;case 1:for(rn=st,ln=$t,yr=(st=At.Ea)-(Vn=st&~($n=($t=1<<At.b)-1)),Mn=Fr(st,At.b),Ar=At.K,At=At.w+(Pt>>At.b)*Mn;Pt<dn;){for(Mi=Ar,xi=At,ko=new jo,Ui=ln+Vn,ua=ln+st;ln<Ui;)Zi(Mi[xi++],ko),Xh(ko,rn,ln,$t,Xe,Ze),ln+=$t,Ze+=$t;ln<ua&&(Zi(Mi[xi++],ko),Xh(ko,rn,ln,yr,Xe,Ze),ln+=yr,Ze+=yr),++Pt&$n||(At+=Mn)}break;case 3:if(st==Xe&&$t==Ze&&0<At.b){for(ln=Xe,st=rn=Ze+(dn-Pt)*rn-(Vn=(dn-Pt)*Fr(At.Ea,At.b)),$t=Xe,$n=Ze,Mn=[],Vn=(yr=Vn)-1;0<=Vn;--Vn)Mn[Vn]=$t[$n+Vn];for(Vn=yr-1;0<=Vn;--Vn)ln[st+Vn]=Mn[Vn];ip(At,Pt,dn,Xe,rn,Xe,Ze)}else ip(At,Pt,dn,st,$t,Xe,Ze)}Ze=oe,Xe=Z}Xe!=Z&&r(oe,Z,Ze,Xe,_e)}function rd(l,g){var Z=l.V,oe=l.Ba+l.c*l.C,Fe=g-l.C;if(n(g<=l.l.o),n(16>=Fe),0<Fe){var _e=l.l,Re=l.Ta,Ze=l.Ua,Xe=_e.width;if(Gd(l,Fe,Z,oe),Fe=Ze=[Ze],n((Z=l.C)<(oe=g)),n(_e.v<_e.va),oe>_e.o&&(oe=_e.o),Z<_e.j){var At=_e.j-Z;Z=_e.j,Fe[0]+=At*Xe}if(Z>=oe?Z=0:(Fe[0]+=4*_e.v,_e.ka=Z-_e.j,_e.U=_e.va-_e.v,_e.T=oe-Z,Z=1),Z){if(Ze=Ze[0],11>(Z=l.ca).S){var Pt=Z.f.RGBA,dn=(oe=Z.S,Fe=_e.U,_e=_e.T,At=Pt.eb,Pt.A),st=_e;for(Pt=Pt.fb+l.Ma*Pt.A;0<st--;){var $t=Re,rn=Ze,Mn=Fe,ln=At,$n=Pt;switch(oe){case Ap:Yh($t,rn,Mn,ln,$n);break;case sp:cd($t,rn,Mn,ln,$n);break;case dg:cd($t,rn,Mn,ln,$n),qh(ln,$n,0,Mn,1,0);break;case lm:gf($t,rn,Mn,ln,$n);break;case lp:io($t,rn,Mn,ln,$n,1);break;case fg:io($t,rn,Mn,ln,$n,1),qh(ln,$n,0,Mn,1,0);break;case cp:io($t,rn,Mn,ln,$n,0);break;case up:io($t,rn,Mn,ln,$n,0),qh(ln,$n,1,Mn,1,0);break;case ug:ud($t,rn,Mn,ln,$n);break;case hg:ud($t,rn,Mn,ln,$n),tm(ln,$n,Mn,1,0);break;case cm:dd($t,rn,Mn,ln,$n);break;default:n(0)}Ze+=Xe,Pt+=dn}l.Ma+=_e}else alert("todo:EmitRescaledRowsYUVA");n(l.Ma<=Z.height)}}l.C=g,n(l.C<=l.i)}function Sc(l){var g;if(0<l.ua)return 0;for(g=0;g<l.Wb;++g){var Z=l.Ya[g].G,oe=l.Ya[g].H;if(0<Z[1][oe[1]+0].g||0<Z[2][oe[2]+0].g||0<Z[3][oe[3]+0].g)return 0}return 1}function Jc(l,g,Z,oe,Fe,_e){if(l.Z!=0){var Re=l.qd,Ze=l.rd;for(n(pd[l.Z]!=null);g<Z;++g)pd[l.Z](Re,Ze,oe,Fe,oe,Fe,_e),Re=oe,Ze=Fe,Fe+=_e;l.qd=Re,l.rd=Ze}}function Ic(l,g){var Z=l.l.ma,oe=Z.Z==0||Z.Z==1?l.l.j:l.C;if(oe=l.C<oe?oe:l.C,n(g<=l.l.o),g>oe){var Fe=l.l.width,_e=Z.ca,Re=Z.tb+Fe*oe,Ze=l.V,Xe=l.Ba+l.c*oe,At=l.gc;n(l.ab==1),n(At[0].hc==3),nu(At[0],oe,g,Ze,Xe,_e,Re),Jc(Z,oe,g,_e,Re,Fe)}l.C=l.Ma=g}function Fc(l,g,Z,oe,Fe,_e,Re){var Ze=l.$/oe,Xe=l.$%oe,At=l.m,Pt=l.s,dn=Z+l.$,st=dn;Fe=Z+oe*Fe;var $t=Z+oe*_e,rn=280+Pt.ua,Mn=l.Pb?Ze:16777216,ln=0<Pt.ua?Pt.Wa:null,$n=Pt.wc,Vn=dn<$t?Ts(Pt,Xe,Ze):null;n(l.C<_e),n($t<=Fe);var yr=!1;e:for(;;){for(;yr||dn<$t;){var Ar=0;if(Ze>=Mn){var Mi=dn-Z;n((Mn=l).Pb),Mn.wd=Mn.m,Mn.xd=Mi,0<Mn.s.ua&&Aa(Mn.s.Wa,Mn.s.vb),Mn=Ze+ov}if(Xe&$n||(Vn=Ts(Pt,Xe,Ze)),n(Vn!=null),Vn.Qb&&(g[dn]=Vn.qb,yr=!0),!yr)if(un(At),Vn.jc){Ar=At,Mi=g;var xi=dn,ko=Vn.pd[vt(Ar)&pf-1];n(Vn.jc),256>ko.g?(zt(Ar,Ar.u+ko.g),Mi[xi]=ko.value,Ar=0):(zt(Ar,Ar.u+ko.g-256),n(256<=ko.value),Ar=ko.value),Ar==0&&(yr=!0)}else Ar=DA(Vn.G[0],Vn.H[0],At);if(At.h)break;if(yr||256>Ar){if(!yr)if(Vn.nd)g[dn]=(Vn.qb|Ar<<8)>>>0;else{if(un(At),yr=DA(Vn.G[1],Vn.H[1],At),un(At),Mi=DA(Vn.G[2],Vn.H[2],At),xi=DA(Vn.G[3],Vn.H[3],At),At.h)break;g[dn]=(xi<<24|yr<<16|Ar<<8|Mi)>>>0}if(yr=!1,++dn,++Xe>=oe&&(Xe=0,++Ze,Re!=null&&Ze<=_e&&!(Ze%16)&&Re(l,Ze),ln!=null))for(;st<dn;)Ar=g[st++],ln.X[(506832829*Ar&4294967295)>>>ln.Mb]=Ar}else if(280>Ar){if(Ar=Yl(Ar-256,At),Mi=DA(Vn.G[4],Vn.H[4],At),un(At),Mi=Jl(oe,Mi=Yl(Mi,At)),At.h)break;if(dn-Z<Mi||Fe-dn<Ar)break e;for(xi=0;xi<Ar;++xi)g[dn+xi]=g[dn+xi-Mi];for(dn+=Ar,Xe+=Ar;Xe>=oe;)Xe-=oe,++Ze,Re!=null&&Ze<=_e&&!(Ze%16)&&Re(l,Ze);if(n(dn<=Fe),Xe&$n&&(Vn=Ts(Pt,Xe,Ze)),ln!=null)for(;st<dn;)Ar=g[st++],ln.X[(506832829*Ar&4294967295)>>>ln.Mb]=Ar}else{if(!(Ar<rn))break e;for(yr=Ar-280,n(ln!=null);st<dn;)Ar=g[st++],ln.X[(506832829*Ar&4294967295)>>>ln.Mb]=Ar;Ar=dn,n(!(yr>>>(Mi=ln).Xa)),g[Ar]=Mi.X[yr],yr=!0}yr||n(At.h==_t(At))}if(l.Pb&&At.h&&dn<Fe)n(l.m.h),l.a=5,l.m=l.wd,l.$=l.xd,0<l.s.ua&&Aa(l.s.vb,l.s.Wa);else{if(At.h)break e;Re!=null&&Re(l,Ze>_e?_e:Ze),l.a=0,l.$=dn-Z}return 1}return l.a=3,0}function ql(l){n(l!=null),l.vc=null,l.yc=null,l.Ya=null;var g=l.Wa;g!=null&&(g.X=null),l.vb=null,n(l!=null)}function Xd(){var l=new Qi;return l==null?null:(l.a=0,l.xb=fm,ca("Predictor","VP8LPredictors"),ca("Predictor","VP8LPredictors_C"),ca("PredictorAdd","VP8LPredictorsAdd"),ca("PredictorAdd","VP8LPredictorsAdd_C"),zA=Ho,Xh=ho,Yh=dA,cd=Ua,ud=Ti,dd=Lo,gf=oA,ft.VP8LMapColor32b=tu,ft.VP8LMapColor8b=Vh,l)}function qc(l,g,Z,oe,Fe){var _e=1,Re=[l],Ze=[g],Xe=oe.m,At=oe.s,Pt=null,dn=0;e:for(;;){if(Z)for(;_e&&rr(Xe,1);){var st=Re,$t=Ze,rn=oe,Mn=1,ln=rn.m,$n=rn.gc[rn.ab],Vn=rr(ln,2);if(rn.Oc&1<<Vn)_e=0;else{switch(rn.Oc|=1<<Vn,$n.hc=Vn,$n.Ea=st[0],$n.nc=$t[0],$n.K=[null],++rn.ab,n(4>=rn.ab),Vn){case 0:case 1:$n.b=rr(ln,3)+2,Mn=qc(Fr($n.Ea,$n.b),Fr($n.nc,$n.b),0,rn,$n.K),$n.K=$n.K[0];break;case 3:var yr,Ar=rr(ln,8)+1,Mi=16<Ar?0:4<Ar?1:2<Ar?2:3;if(st[0]=Fr($n.Ea,Mi),$n.b=Mi,yr=Mn=qc(Ar,1,0,rn,$n.K)){var xi,ko=Ar,Ui=$n,ua=1<<(8>>Ui.b),hs=A(ua);if(hs==null)yr=0;else{var Ko=Ui.K[0],Oi=Ui.w;for(hs[0]=Ui.K[0][0],xi=1;xi<1*ko;++xi)hs[xi]=ki(Ko[Oi+xi],hs[xi-1]);for(;xi<4*ua;++xi)hs[xi]=0;Ui.K[0]=null,Ui.K[0]=hs,yr=1}}Mn=yr;break;case 2:break;default:n(0)}_e=Mn}}if(Re=Re[0],Ze=Ze[0],_e&&rr(Xe,1)&&!(_e=1<=(dn=rr(Xe,4))&&11>=dn)){oe.a=3;break e}var Jr;if(Jr=_e)t:{var WA,Qo,ga,mA=oe,js=Re,cl=Ze,TA=dn,Xs=Z,ul=mA.m,ps=mA.s,va=[null],Ka=1,MA=0,za=iv[TA];n:for(;;){if(Xs&&rr(ul,1)){var Hs=rr(ul,3)+2,Nc=Fr(js,Hs),VA=Fr(cl,Hs),yl=Nc*VA;if(!qc(Nc,VA,0,mA,va))break n;for(va=va[0],ps.xc=Hs,WA=0;WA<yl;++WA){var sA=va[WA]>>8&65535;va[WA]=sA,sA>=Ka&&(Ka=sA+1)}}if(ul.h)break n;for(Qo=0;5>Qo;++Qo){var gs=um[Qo];!Qo&&0<TA&&(gs+=1<<TA),MA<gs&&(MA=gs)}var Ll=b(Ka*za,St),dl=Ka,_l=b(dl,vn);if(_l==null)var Ql=null;else n(65536>=dl),Ql=_l;var wl=A(MA);if(Ql==null||wl==null||Ll==null){mA.a=1;break n}var Pl=Ll;for(WA=ga=0;WA<Ka;++WA){var hA=Ql[WA],Dl=hA.G,Lc=hA.H,vf=0,_u=1,$s=0;for(Qo=0;5>Qo;++Qo){gs=um[Qo],Dl[Qo]=Pl,Lc[Qo]=ga,!Qo&&0<TA&&(gs+=1<<TA);i:{var pp,vg=gs,gp=mA,n0=wl,Ev=Pl,Sv=ga,yg=0,gd=gp.m,Iv=rr(gd,1);if(i(n0,0,0,vg),Iv){var Fv=rr(gd,1)+1,Uv=rr(gd,1),Bm=rr(gd,Uv==0?1:8);n0[Bm]=1,Fv==2&&(n0[Bm=rr(gd,8)]=1);var mp=1}else{var Cm=A(19),xm=rr(gd,4)+4;if(19<xm){gp.a=3;var vp=0;break i}for(pp=0;pp<xm;++pp)Cm[nv[pp]]=rr(gd,3);var wg=void 0,r0=void 0,Em=gp,Ov=Cm,yp=vg,Sm=n0,bg=0,md=Em.m,Im=8,Fm=b(128,St);r:for(;it(Fm,0,7,Ov,19);){if(rr(md,1)){var Nv=2+2*rr(md,3);if((wg=2+rr(md,Nv))>yp)break r}else wg=yp;for(r0=0;r0<yp&&wg--;){un(md);var Um=Fm[0+(127&vt(md))];zt(md,md.u+Um.g);var rh=Um.value;if(16>rh)Sm[r0++]=rh,rh!=0&&(Im=rh);else{var Lv=rh==16,Om=rh-16,_v=ev[Om],Nm=rr(md,qm[Om])+_v;if(r0+Nm>yp)break r;for(var Qv=Lv?Im:0;0<Nm--;)Sm[r0++]=Qv}}bg=1;break r}bg||(Em.a=3),mp=bg}(mp=mp&&!gd.h)&&(yg=it(Ev,Sv,8,n0,vg)),mp&&yg!=0?vp=yg:(gp.a=3,vp=0)}if(vp==0)break n;if(_u&&tv[Qo]==1&&(_u=Pl[ga].g==0),vf+=Pl[ga].g,ga+=vp,3>=Qo){var i0,Bg=wl[0];for(i0=1;i0<gs;++i0)wl[i0]>Bg&&(Bg=wl[i0]);$s+=Bg}}if(hA.nd=_u,hA.Qb=0,_u&&(hA.qb=(Dl[3][Lc[3]+0].value<<24|Dl[1][Lc[1]+0].value<<16|Dl[2][Lc[2]+0].value)>>>0,vf==0&&256>Dl[0][Lc[0]+0].value&&(hA.Qb=1,hA.qb+=Dl[0][Lc[0]+0].value<<8)),hA.jc=!hA.Qb&&6>$s,hA.jc){var wp,Qu=hA;for(wp=0;wp<pf;++wp){var vd=wp,yd=Qu.pd[vd],bp=Qu.G[0][Qu.H[0]+vd];256<=bp.value?(yd.g=bp.g+256,yd.value=bp.value):(yd.g=0,yd.value=0,vd>>=Ss(bp,8,yd),vd>>=Ss(Qu.G[1][Qu.H[1]+vd],16,yd),vd>>=Ss(Qu.G[2][Qu.H[2]+vd],0,yd),Ss(Qu.G[3][Qu.H[3]+vd],24,yd))}}}ps.vc=va,ps.Wb=Ka,ps.Ya=Ql,ps.yc=Ll,Jr=1;break t}Jr=0}if(!(_e=Jr)){oe.a=3;break e}if(0<dn){if(At.ua=1<<dn,!pt(At.Wa,dn)){oe.a=1,_e=0;break e}}else At.ua=0;var Cg=oe,Lm=Re,Pv=Ze,xg=Cg.s,Eg=xg.xc;if(Cg.c=Lm,Cg.i=Pv,xg.md=Fr(Lm,Eg),xg.wc=Eg==0?-1:(1<<Eg)-1,Z){oe.xb=dv;break e}if((Pt=A(Re*Ze))==null){oe.a=1,_e=0;break e}_e=(_e=Fc(oe,Pt,0,Re,Ze,Ze,null))&&!Xe.h;break e}return _e?(Fe!=null?Fe[0]=Pt:(n(Pt==null),n(Z)),oe.$=0,Z||ql(At)):ql(At),_e}function Yd(l,g){var Z=l.c*l.i,oe=Z+g+16*g;return n(l.c<=g),l.V=A(oe),l.V==null?(l.Ta=null,l.Ua=0,l.a=1,0):(l.Ta=l.V,l.Ua=l.Ba+Z+g,1)}function zf(l,g){var Z=l.C,oe=g-Z,Fe=l.V,_e=l.Ba+l.c*Z;for(n(g<=l.l.o);0<oe;){var Re=16<oe?16:oe,Ze=l.l.ma,Xe=l.l.width,At=Xe*Re,Pt=Ze.ca,dn=Ze.tb+Xe*Z,st=l.Ta,$t=l.Ua;Gd(l,Re,Fe,_e),rm(st,$t,Pt,dn,At),Jc(Ze,Z,Z+Re,Pt,dn,Xe),oe-=Re,Fe+=Re*l.c,Z+=Re}n(Z==g),l.C=l.Ma=g}function Zf(){this.ub=this.yd=this.td=this.Rb=0}function Wf(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Vp(){this.Fb=this.Bb=this.Cb=0,this.Zb=A(4),this.Lb=A(4)}function Nh(){this.Yb=function(){var l=[];return function g(Z,oe,Fe){for(var _e=Fe[oe],Re=0;Re<_e&&(Z.push(Fe.length>oe+1?[]:0),!(Fe.length<oe+1));Re++)g(Z[Re],oe+1,Fe)}(l,0,[3,11]),l}()}function H0(){this.jb=A(3),this.Wc=y([4,8],Nh),this.Xc=y([4,17],Nh)}function $0(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new A(4),this.od=new A(4)}function ec(){this.ld=this.La=this.dd=this.tc=0}function Lh(){this.Na=this.la=0}function k0(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function _h(){this.ad=A(384),this.Za=0,this.Ob=A(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function K0(){this.uc=this.M=this.Nb=0,this.wa=Array(new ec),this.Y=0,this.ya=Array(new _h),this.aa=0,this.l=new Vf}function z0(){this.y=A(16),this.f=A(8),this.ea=A(8)}function Z0(){this.cb=this.a=0,this.sc="",this.m=new Me,this.Od=new Zf,this.Kc=new Wf,this.ed=new $0,this.Qa=new Vp,this.Ic=this.$c=this.Aa=0,this.D=new K0,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=b(8,Me),this.ia=0,this.pb=b(4,k0),this.Pa=new H0,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new z0),this.Hd=0,this.rb=Array(new Lh),this.sb=0,this.wa=Array(new ec),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 _h),this.L=this.aa=0,this.gd=y([4,2],ec),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 Vf(){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 Gp(){var l=new Z0;return l!=null&&(l.a=0,l.sc="OK",l.cb=0,l.Xb=0,e0||(e0=xu)),l}function rs(l,g,Z){return l.a==0&&(l.a=g,l.sc=Z,l.cb=0),0}function W0(l,g,Z){return 3<=Z&&l[g+0]==157&&l[g+1]==1&&l[g+2]==42}function V0(l,g){if(l==null)return 0;if(l.a=0,l.sc="OK",g==null)return rs(l,2,"null VP8Io passed to VP8GetHeaders()");var Z=g.data,oe=g.w,Fe=g.ha;if(4>Fe)return rs(l,7,"Truncated header.");var _e=Z[oe+0]|Z[oe+1]<<8|Z[oe+2]<<16,Re=l.Od;if(Re.Rb=!(1&_e),Re.td=_e>>1&7,Re.yd=_e>>4&1,Re.ub=_e>>5,3<Re.td)return rs(l,3,"Incorrect keyframe parameters.");if(!Re.yd)return rs(l,4,"Frame not displayable.");oe+=3,Fe-=3;var Ze=l.Kc;if(Re.Rb){if(7>Fe)return rs(l,7,"cannot parse picture header");if(!W0(Z,oe,Fe))return rs(l,3,"Bad code word");Ze.c=16383&(Z[oe+4]<<8|Z[oe+3]),Ze.Td=Z[oe+4]>>6,Ze.i=16383&(Z[oe+6]<<8|Z[oe+5]),Ze.Ud=Z[oe+6]>>6,oe+=7,Fe-=7,l.za=Ze.c+15>>4,l.Ub=Ze.i+15>>4,g.width=Ze.c,g.height=Ze.i,g.Da=0,g.j=0,g.v=0,g.va=g.width,g.o=g.height,g.da=0,g.ib=g.width,g.hb=g.height,g.U=g.width,g.T=g.height,i((_e=l.Pa).jb,0,255,_e.jb.length),n((_e=l.Qa)!=null),_e.Cb=0,_e.Bb=0,_e.Fb=1,i(_e.Zb,0,0,_e.Zb.length),i(_e.Lb,0,0,_e.Lb)}if(Re.ub>Fe)return rs(l,7,"bad partition length");Bn(_e=l.m,Z,oe,Re.ub),oe+=Re.ub,Fe-=Re.ub,Re.Rb&&(Ze.Ld=bn(_e),Ze.Kd=bn(_e)),Ze=l.Qa;var Xe,At=l.Pa;if(n(_e!=null),n(Ze!=null),Ze.Cb=bn(_e),Ze.Cb){if(Ze.Bb=bn(_e),bn(_e)){for(Ze.Fb=bn(_e),Xe=0;4>Xe;++Xe)Ze.Zb[Xe]=bn(_e)?cn(_e,7):0;for(Xe=0;4>Xe;++Xe)Ze.Lb[Xe]=bn(_e)?cn(_e,6):0}if(Ze.Bb)for(Xe=0;3>Xe;++Xe)At.jb[Xe]=bn(_e)?In(_e,8):255}else Ze.Bb=0;if(_e.Ka)return rs(l,3,"cannot parse segment header");if((Ze=l.ed).zd=bn(_e),Ze.Tb=In(_e,6),Ze.wb=In(_e,3),Ze.Pc=bn(_e),Ze.Pc&&bn(_e)){for(At=0;4>At;++At)bn(_e)&&(Ze.vd[At]=cn(_e,6));for(At=0;4>At;++At)bn(_e)&&(Ze.od[At]=cn(_e,6))}if(l.L=Ze.Tb==0?0:Ze.zd?1:2,_e.Ka)return rs(l,3,"cannot parse filter header");var Pt=Fe;if(Fe=Xe=oe,oe=Xe+Pt,Ze=Pt,l.Xb=(1<<In(l.m,2))-1,Pt<3*(At=l.Xb))Z=7;else{for(Xe+=3*At,Ze-=3*At,Pt=0;Pt<At;++Pt){var dn=Z[Fe+0]|Z[Fe+1]<<8|Z[Fe+2]<<16;dn>Ze&&(dn=Ze),Bn(l.Jc[+Pt],Z,Xe,dn),Xe+=dn,Ze-=dn,Fe+=3}Bn(l.Jc[+At],Z,Xe,Ze),Z=Xe<oe?0:5}if(Z!=0)return rs(l,Z,"cannot parse partitions");for(Z=In(Xe=l.m,7),Fe=bn(Xe)?cn(Xe,4):0,oe=bn(Xe)?cn(Xe,4):0,Ze=bn(Xe)?cn(Xe,4):0,At=bn(Xe)?cn(Xe,4):0,Xe=bn(Xe)?cn(Xe,4):0,Pt=l.Qa,dn=0;4>dn;++dn){if(Pt.Cb){var st=Pt.Zb[dn];Pt.Fb||(st+=Z)}else{if(0<dn){l.pb[dn]=l.pb[0];continue}st=Z}var $t=l.pb[dn];$t.Sc[0]=pg[RA(st+Fe,127)],$t.Sc[1]=gg[RA(st+0,127)],$t.Eb[0]=2*pg[RA(st+oe,127)],$t.Eb[1]=101581*gg[RA(st+Ze,127)]>>16,8>$t.Eb[1]&&($t.Eb[1]=8),$t.Qc[0]=pg[RA(st+At,117)],$t.Qc[1]=gg[RA(st+Xe,127)],$t.lc=st+Xe}if(!Re.Rb)return rs(l,4,"Not a key frame.");for(bn(_e),Re=l.Pa,Z=0;4>Z;++Z){for(Fe=0;8>Fe;++Fe)for(oe=0;3>oe;++oe)for(Ze=0;11>Ze;++Ze)At=Gn(_e,cv[Z][Fe][oe][Ze])?In(_e,8):sv[Z][Fe][oe][Ze],Re.Wc[Z][Fe].Yb[oe][Ze]=At;for(Fe=0;17>Fe;++Fe)Re.Xc[Z][Fe]=Re.Wc[Z][uv[Fe]]}return l.kc=bn(_e),l.kc&&(l.Bd=In(_e,8)),l.cb=1}function xu(l,g,Z,oe,Fe,_e,Re){var Ze=g[Fe].Yb[Z];for(Z=0;16>Fe;++Fe){if(!Gn(l,Ze[Z+0]))return Fe;for(;!Gn(l,Ze[Z+1]);)if(Ze=g[++Fe].Yb[0],Z=0,Fe==16)return 16;var Xe=g[Fe+1].Yb;if(Gn(l,Ze[Z+2])){var At=l,Pt=0;if(Gn(At,(st=Ze)[(dn=Z)+3]))if(Gn(At,st[dn+6])){for(Ze=0,dn=2*(Pt=Gn(At,st[dn+8]))+(st=Gn(At,st[dn+9+Pt])),Pt=0,st=av[dn];st[Ze];++Ze)Pt+=Pt+Gn(At,st[Ze]);Pt+=3+(8<<dn)}else Gn(At,st[dn+7])?(Pt=7+2*Gn(At,165),Pt+=Gn(At,145)):Pt=5+Gn(At,159);else Pt=Gn(At,st[dn+4])?3+Gn(At,st[dn+5]):2;Ze=Xe[2]}else Pt=1,Ze=Xe[1];Xe=Re+Av[Fe],0>(At=l).b&&En(At);var dn,st=At.b,$t=(dn=At.Ca>>1)-(At.I>>st)>>31;--At.b,At.Ca+=$t,At.Ca|=1,At.I-=(dn+1&$t)<<st,_e[Xe]=((Pt^$t)-$t)*oe[(0<Fe)+0]}return 16}function Jd(l){var g=l.rb[l.sb-1];g.la=0,g.Na=0,i(l.zc,0,0,l.zc.length),l.ja=0}function Uc(l,g,Z,oe,Fe){Fe=l[g+Z+32*oe]+(Fe>>3),l[g+Z+32*oe]=-256&Fe?0>Fe?0:255:Fe}function qd(l,g,Z,oe,Fe,_e){Uc(l,g,0,Z,oe+Fe),Uc(l,g,1,Z,oe+_e),Uc(l,g,2,Z,oe-_e),Uc(l,g,3,Z,oe-Fe)}function KA(l){return(20091*l>>16)+l}function Qh(l,g,Z,oe){var Fe,_e=0,Re=A(16);for(Fe=0;4>Fe;++Fe){var Ze=l[g+0]+l[g+8],Xe=l[g+0]-l[g+8],At=(35468*l[g+4]>>16)-KA(l[g+12]),Pt=KA(l[g+4])+(35468*l[g+12]>>16);Re[_e+0]=Ze+Pt,Re[_e+1]=Xe+At,Re[_e+2]=Xe-At,Re[_e+3]=Ze-Pt,_e+=4,g++}for(Fe=_e=0;4>Fe;++Fe)Ze=(l=Re[_e+0]+4)+Re[_e+8],Xe=l-Re[_e+8],At=(35468*Re[_e+4]>>16)-KA(Re[_e+12]),Uc(Z,oe,0,0,Ze+(Pt=KA(Re[_e+4])+(35468*Re[_e+12]>>16))),Uc(Z,oe,1,0,Xe+At),Uc(Z,oe,2,0,Xe-At),Uc(Z,oe,3,0,Ze-Pt),_e++,oe+=32}function Xp(l,g,Z,oe){var Fe=l[g+0]+4,_e=35468*l[g+4]>>16,Re=KA(l[g+4]),Ze=35468*l[g+1]>>16;qd(Z,oe,0,Fe+Re,l=KA(l[g+1]),Ze),qd(Z,oe,1,Fe+_e,l,Ze),qd(Z,oe,2,Fe-_e,l,Ze),qd(Z,oe,3,Fe-Re,l,Ze)}function Yp(l,g,Z,oe,Fe){Qh(l,g,Z,oe),Fe&&Qh(l,g+16,Z,oe+4)}function Jp(l,g,Z,oe){mf(l,g+0,Z,oe,1),mf(l,g+32,Z,oe+128,1)}function eu(l,g,Z,oe){var Fe;for(l=l[g+0]+4,Fe=0;4>Fe;++Fe)for(g=0;4>g;++g)Uc(Z,oe,g,Fe,l)}function G0(l,g,Z,oe){l[g+0]&&Ma(l,g+0,Z,oe),l[g+16]&&Ma(l,g+16,Z,oe+4),l[g+32]&&Ma(l,g+32,Z,oe+128),l[g+48]&&Ma(l,g+48,Z,oe+128+4)}function X0(l,g,Z,oe){var Fe,_e=A(16);for(Fe=0;4>Fe;++Fe){var Re=l[g+0+Fe]+l[g+12+Fe],Ze=l[g+4+Fe]+l[g+8+Fe],Xe=l[g+4+Fe]-l[g+8+Fe],At=l[g+0+Fe]-l[g+12+Fe];_e[0+Fe]=Re+Ze,_e[8+Fe]=Re-Ze,_e[4+Fe]=At+Xe,_e[12+Fe]=At-Xe}for(Fe=0;4>Fe;++Fe)Re=(l=_e[0+4*Fe]+3)+_e[3+4*Fe],Ze=_e[1+4*Fe]+_e[2+4*Fe],Xe=_e[1+4*Fe]-_e[2+4*Fe],At=l-_e[3+4*Fe],Z[oe+0]=Re+Ze>>3,Z[oe+16]=At+Xe>>3,Z[oe+32]=Re-Ze>>3,Z[oe+48]=At-Xe>>3,oe+=64}function id(l,g,Z){var oe,Fe=g-32,_e=Nl,Re=255-l[Fe-1];for(oe=0;oe<Z;++oe){var Ze,Xe=_e,At=Re+l[g-1];for(Ze=0;Ze<Z;++Ze)l[g+Ze]=Xe[At+l[Fe+Ze]];g+=32}}function Ph(l,g){id(l,g,4)}function qp(l,g){id(l,g,8)}function eg(l,g){id(l,g,16)}function tg(l,g){var Z;for(Z=0;16>Z;++Z)r(l,g+32*Z,l,g-32,16)}function Dh(l,g){var Z;for(Z=16;0<Z;--Z)i(l,g,l[g-1],16),g+=32}function ef(l,g,Z){var oe;for(oe=0;16>oe;++oe)i(g,Z+32*oe,l,16)}function od(l,g){var Z,oe=16;for(Z=0;16>Z;++Z)oe+=l[g-1+32*Z]+l[g+Z-32];ef(oe>>5,l,g)}function ng(l,g){var Z,oe=8;for(Z=0;16>Z;++Z)oe+=l[g-1+32*Z];ef(oe>>4,l,g)}function tf(l,g){var Z,oe=8;for(Z=0;16>Z;++Z)oe+=l[g+Z-32];ef(oe>>4,l,g)}function Rh(l,g){ef(128,l,g)}function Co(l,g,Z){return l+2*g+Z+2>>2}function rg(l,g){var Z,oe=g-32;for(oe=new Uint8Array([Co(l[oe-1],l[oe+0],l[oe+1]),Co(l[oe+0],l[oe+1],l[oe+2]),Co(l[oe+1],l[oe+2],l[oe+3]),Co(l[oe+2],l[oe+3],l[oe+4])]),Z=0;4>Z;++Z)r(l,g+32*Z,oe,0,oe.length)}function ig(l,g){var Z=l[g-1],oe=l[g-1+32],Fe=l[g-1+64],_e=l[g-1+96];vr(l,g+0,16843009*Co(l[g-1-32],Z,oe)),vr(l,g+32,16843009*Co(Z,oe,Fe)),vr(l,g+64,16843009*Co(oe,Fe,_e)),vr(l,g+96,16843009*Co(Fe,_e,_e))}function og(l,g){var Z,oe=4;for(Z=0;4>Z;++Z)oe+=l[g+Z-32]+l[g-1+32*Z];for(oe>>=3,Z=0;4>Z;++Z)i(l,g+32*Z,oe,4)}function ag(l,g){var Z=l[g-1+0],oe=l[g-1+32],Fe=l[g-1+64],_e=l[g-1-32],Re=l[g+0-32],Ze=l[g+1-32],Xe=l[g+2-32],At=l[g+3-32];l[g+0+96]=Co(oe,Fe,l[g-1+96]),l[g+1+96]=l[g+0+64]=Co(Z,oe,Fe),l[g+2+96]=l[g+1+64]=l[g+0+32]=Co(_e,Z,oe),l[g+3+96]=l[g+2+64]=l[g+1+32]=l[g+0+0]=Co(Re,_e,Z),l[g+3+64]=l[g+2+32]=l[g+1+0]=Co(Ze,Re,_e),l[g+3+32]=l[g+2+0]=Co(Xe,Ze,Re),l[g+3+0]=Co(At,Xe,Ze)}function Eu(l,g){var Z=l[g+1-32],oe=l[g+2-32],Fe=l[g+3-32],_e=l[g+4-32],Re=l[g+5-32],Ze=l[g+6-32],Xe=l[g+7-32];l[g+0+0]=Co(l[g+0-32],Z,oe),l[g+1+0]=l[g+0+32]=Co(Z,oe,Fe),l[g+2+0]=l[g+1+32]=l[g+0+64]=Co(oe,Fe,_e),l[g+3+0]=l[g+2+32]=l[g+1+64]=l[g+0+96]=Co(Fe,_e,Re),l[g+3+32]=l[g+2+64]=l[g+1+96]=Co(_e,Re,Ze),l[g+3+64]=l[g+2+96]=Co(Re,Ze,Xe),l[g+3+96]=Co(Ze,Xe,Xe)}function Su(l,g){var Z=l[g-1+0],oe=l[g-1+32],Fe=l[g-1+64],_e=l[g-1-32],Re=l[g+0-32],Ze=l[g+1-32],Xe=l[g+2-32],At=l[g+3-32];l[g+0+0]=l[g+1+64]=_e+Re+1>>1,l[g+1+0]=l[g+2+64]=Re+Ze+1>>1,l[g+2+0]=l[g+3+64]=Ze+Xe+1>>1,l[g+3+0]=Xe+At+1>>1,l[g+0+96]=Co(Fe,oe,Z),l[g+0+64]=Co(oe,Z,_e),l[g+0+32]=l[g+1+96]=Co(Z,_e,Re),l[g+1+32]=l[g+2+96]=Co(_e,Re,Ze),l[g+2+32]=l[g+3+96]=Co(Re,Ze,Xe),l[g+3+32]=Co(Ze,Xe,At)}function Ag(l,g){var Z=l[g+0-32],oe=l[g+1-32],Fe=l[g+2-32],_e=l[g+3-32],Re=l[g+4-32],Ze=l[g+5-32],Xe=l[g+6-32],At=l[g+7-32];l[g+0+0]=Z+oe+1>>1,l[g+1+0]=l[g+0+64]=oe+Fe+1>>1,l[g+2+0]=l[g+1+64]=Fe+_e+1>>1,l[g+3+0]=l[g+2+64]=_e+Re+1>>1,l[g+0+32]=Co(Z,oe,Fe),l[g+1+32]=l[g+0+96]=Co(oe,Fe,_e),l[g+2+32]=l[g+1+96]=Co(Fe,_e,Re),l[g+3+32]=l[g+2+96]=Co(_e,Re,Ze),l[g+3+64]=Co(Re,Ze,Xe),l[g+3+96]=Co(Ze,Xe,At)}function sg(l,g){var Z=l[g-1+0],oe=l[g-1+32],Fe=l[g-1+64],_e=l[g-1+96];l[g+0+0]=Z+oe+1>>1,l[g+2+0]=l[g+0+32]=oe+Fe+1>>1,l[g+2+32]=l[g+0+64]=Fe+_e+1>>1,l[g+1+0]=Co(Z,oe,Fe),l[g+3+0]=l[g+1+32]=Co(oe,Fe,_e),l[g+3+32]=l[g+1+64]=Co(Fe,_e,_e),l[g+3+64]=l[g+2+64]=l[g+0+96]=l[g+1+96]=l[g+2+96]=l[g+3+96]=_e}function Gf(l,g){var Z=l[g-1+0],oe=l[g-1+32],Fe=l[g-1+64],_e=l[g-1+96],Re=l[g-1-32],Ze=l[g+0-32],Xe=l[g+1-32],At=l[g+2-32];l[g+0+0]=l[g+2+32]=Z+Re+1>>1,l[g+0+32]=l[g+2+64]=oe+Z+1>>1,l[g+0+64]=l[g+2+96]=Fe+oe+1>>1,l[g+0+96]=_e+Fe+1>>1,l[g+3+0]=Co(Ze,Xe,At),l[g+2+0]=Co(Re,Ze,Xe),l[g+1+0]=l[g+3+32]=Co(Z,Re,Ze),l[g+1+32]=l[g+3+64]=Co(oe,Z,Re),l[g+1+64]=l[g+3+96]=Co(Fe,oe,Z),l[g+1+96]=Co(_e,Fe,oe)}function Th(l,g){var Z;for(Z=0;8>Z;++Z)r(l,g+32*Z,l,g-32,8)}function nf(l,g){var Z;for(Z=0;8>Z;++Z)i(l,g,l[g-1],8),g+=32}function Xf(l,g,Z){var oe;for(oe=0;8>oe;++oe)i(g,Z+32*oe,l,8)}function Yf(l,g){var Z,oe=8;for(Z=0;8>Z;++Z)oe+=l[g+Z-32]+l[g-1+32*Z];Xf(oe>>4,l,g)}function lg(l,g){var Z,oe=4;for(Z=0;8>Z;++Z)oe+=l[g+Z-32];Xf(oe>>3,l,g)}function Mh(l,g){var Z,oe=4;for(Z=0;8>Z;++Z)oe+=l[g-1+32*Z];Xf(oe>>3,l,g)}function jh(l,g){Xf(128,l,g)}function rf(l,g,Z){var oe=l[g-Z],Fe=l[g+0],_e=3*(Fe-oe)+cg[1020+l[g-2*Z]-l[g+Z]],Re=ap[112+(_e+4>>3)];l[g-Z]=Nl[255+oe+ap[112+(_e+3>>3)]],l[g+0]=Nl[255+Fe-Re]}function of(l,g,Z,oe){var Fe=l[g+0],_e=l[g+Z];return ic[255+l[g-2*Z]-l[g-Z]]>oe||ic[255+_e-Fe]>oe}function Hh(l,g,Z,oe){return 4*ic[255+l[g-Z]-l[g+0]]+ic[255+l[g-2*Z]-l[g+Z]]<=oe}function Jf(l,g,Z,oe,Fe){var _e=l[g-3*Z],Re=l[g-2*Z],Ze=l[g-Z],Xe=l[g+0],At=l[g+Z],Pt=l[g+2*Z],dn=l[g+3*Z];return 4*ic[255+Ze-Xe]+ic[255+Re-At]>oe?0:ic[255+l[g-4*Z]-_e]<=Fe&&ic[255+_e-Re]<=Fe&&ic[255+Re-Ze]<=Fe&&ic[255+dn-Pt]<=Fe&&ic[255+Pt-At]<=Fe&&ic[255+At-Xe]<=Fe}function $h(l,g,Z,oe){var Fe=2*oe+1;for(oe=0;16>oe;++oe)Hh(l,g+oe,Z,Fe)&&rf(l,g+oe,Z)}function af(l,g,Z,oe){var Fe=2*oe+1;for(oe=0;16>oe;++oe)Hh(l,g+oe*Z,1,Fe)&&rf(l,g+oe*Z,1)}function Y0(l,g,Z,oe){var Fe;for(Fe=3;0<Fe;--Fe)$h(l,g+=4*Z,Z,oe)}function J0(l,g,Z,oe){var Fe;for(Fe=3;0<Fe;--Fe)af(l,g+=4,Z,oe)}function Iu(l,g,Z,oe,Fe,_e,Re,Ze){for(_e=2*_e+1;0<Fe--;){if(Jf(l,g,Z,_e,Re))if(of(l,g,Z,Ze))rf(l,g,Z);else{var Xe=l,At=g,Pt=Z,dn=Xe[At-2*Pt],st=Xe[At-Pt],$t=Xe[At+0],rn=Xe[At+Pt],Mn=Xe[At+2*Pt],ln=27*(Vn=cg[1020+3*($t-st)+cg[1020+dn-rn]])+63>>7,$n=18*Vn+63>>7,Vn=9*Vn+63>>7;Xe[At-3*Pt]=Nl[255+Xe[At-3*Pt]+Vn],Xe[At-2*Pt]=Nl[255+dn+$n],Xe[At-Pt]=Nl[255+st+ln],Xe[At+0]=Nl[255+$t-ln],Xe[At+Pt]=Nl[255+rn-$n],Xe[At+2*Pt]=Nl[255+Mn-Vn]}g+=oe}}function Fu(l,g,Z,oe,Fe,_e,Re,Ze){for(_e=2*_e+1;0<Fe--;){if(Jf(l,g,Z,_e,Re))if(of(l,g,Z,Ze))rf(l,g,Z);else{var Xe=l,At=g,Pt=Z,dn=Xe[At-Pt],st=Xe[At+0],$t=Xe[At+Pt],rn=ap[112+(4+(Mn=3*(st-dn))>>3)],Mn=ap[112+(Mn+3>>3)],ln=rn+1>>1;Xe[At-2*Pt]=Nl[255+Xe[At-2*Pt]+ln],Xe[At-Pt]=Nl[255+dn+Mn],Xe[At+0]=Nl[255+st-rn],Xe[At+Pt]=Nl[255+$t-ln]}g+=oe}}function q0(l,g,Z,oe,Fe,_e){Iu(l,g,Z,1,16,oe,Fe,_e)}function ep(l,g,Z,oe,Fe,_e){Iu(l,g,1,Z,16,oe,Fe,_e)}function Af(l,g,Z,oe,Fe,_e){var Re;for(Re=3;0<Re;--Re)Fu(l,g+=4*Z,Z,1,16,oe,Fe,_e)}function tp(l,g,Z,oe,Fe,_e){var Re;for(Re=3;0<Re;--Re)Fu(l,g+=4,1,Z,16,oe,Fe,_e)}function U(l,g,Z,oe,Fe,_e,Re,Ze){Iu(l,g,Fe,1,8,_e,Re,Ze),Iu(Z,oe,Fe,1,8,_e,Re,Ze)}function Ie(l,g,Z,oe,Fe,_e,Re,Ze){Iu(l,g,1,Fe,8,_e,Re,Ze),Iu(Z,oe,1,Fe,8,_e,Re,Ze)}function lt(l,g,Z,oe,Fe,_e,Re,Ze){Fu(l,g+4*Fe,Fe,1,8,_e,Re,Ze),Fu(Z,oe+4*Fe,Fe,1,8,_e,Re,Ze)}function xt(l,g,Z,oe,Fe,_e,Re,Ze){Fu(l,g+4,1,Fe,8,_e,Re,Ze),Fu(Z,oe+4,1,Fe,8,_e,Re,Ze)}function Yt(){this.ba=new aA,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Ta,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function zn(){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 lr(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Si(){this.ua=0,this.Wa=new Mo,this.vb=new Mo,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new vn,this.yc=new St}function Qi(){this.xb=this.a=0,this.l=new Vf,this.ca=new aA,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new ct,this.Pb=0,this.wd=new ct,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Si,this.ab=0,this.gc=b(4,lr),this.Oc=0}function wo(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Vf,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function So(l,g,Z,oe,Fe,_e,Re){for(l=l==null?0:l[g+0],g=0;g<Re;++g)Fe[_e+g]=l+Z[oe+g]&255,l=Fe[_e+g]}function Oa(l,g,Z,oe,Fe,_e,Re){var Ze;if(l==null)So(null,null,Z,oe,Fe,_e,Re);else for(Ze=0;Ze<Re;++Ze)Fe[_e+Ze]=l[g+Ze]+Z[oe+Ze]&255}function OA(l,g,Z,oe,Fe,_e,Re){if(l==null)So(null,null,Z,oe,Fe,_e,Re);else{var Ze,Xe=l[g+0],At=Xe,Pt=Xe;for(Ze=0;Ze<Re;++Ze)At=Pt+(Xe=l[g+Ze])-At,Pt=Z[oe+Ze]+(-256&At?0>At?0:255:At)&255,At=Xe,Fe[_e+Ze]=Pt}}function is(l,g,Z,oe){var Fe=g.width,_e=g.o;if(n(l!=null&&g!=null),0>Z||0>=oe||Z+oe>_e)return null;if(!l.Cc){if(l.ga==null){var Re;if(l.ga=new wo,(Re=l.ga==null)||(Re=g.width*g.o,n(l.Gb.length==0),l.Gb=A(Re),l.Uc=0,l.Gb==null?Re=0:(l.mb=l.Gb,l.nb=l.Uc,l.rc=null,Re=1),Re=!Re),!Re){Re=l.ga;var Ze=l.Fa,Xe=l.P,At=l.qc,Pt=l.mb,dn=l.nb,st=Xe+1,$t=At-1,rn=Re.l;if(n(Ze!=null&&Pt!=null&&g!=null),pd[0]=null,pd[1]=So,pd[2]=Oa,pd[3]=OA,Re.ca=Pt,Re.tb=dn,Re.c=g.width,Re.i=g.height,n(0<Re.c&&0<Re.i),1>=At)g=0;else if(Re.$a=3&Ze[Xe+0],Re.Z=Ze[Xe+0]>>2&3,Re.Lc=Ze[Xe+0]>>4&3,Xe=Ze[Xe+0]>>6&3,0>Re.$a||1<Re.$a||4<=Re.Z||1<Re.Lc||Xe)g=0;else if(rn.put=oo,rn.ac=Yc,rn.bc=Bu,rn.ma=Re,rn.width=g.width,rn.height=g.height,rn.Da=g.Da,rn.v=g.v,rn.va=g.va,rn.j=g.j,rn.o=g.o,Re.$a)e:{n(Re.$a==1),g=Xd();t:for(;;){if(g==null){g=0;break e}if(n(Re!=null),Re.mc=g,g.c=Re.c,g.i=Re.i,g.l=Re.l,g.l.ma=Re,g.l.width=Re.c,g.l.height=Re.i,g.a=0,Nn(g.m,Ze,st,$t),!qc(Re.c,Re.i,1,g,null)||(g.ab==1&&g.gc[0].hc==3&&Sc(g.s)?(Re.ic=1,Ze=g.c*g.i,g.Ta=null,g.Ua=0,g.V=A(Ze),g.Ba=0,g.V==null?(g.a=1,g=0):g=1):(Re.ic=0,g=Yd(g,Re.c)),!g))break t;g=1;break e}Re.mc=null,g=0}else g=$t>=Re.c*Re.i;Re=!g}if(Re)return null;l.ga.Lc!=1?l.Ga=0:oe=_e-Z}n(l.ga!=null),n(Z+oe<=_e);e:{if(g=(Ze=l.ga).c,_e=Ze.l.o,Ze.$a==0){if(st=l.rc,$t=l.Vc,rn=l.Fa,Xe=l.P+1+Z*g,At=l.mb,Pt=l.nb+Z*g,n(Xe<=l.P+l.qc),Ze.Z!=0)for(n(pd[Ze.Z]!=null),Re=0;Re<oe;++Re)pd[Ze.Z](st,$t,rn,Xe,At,Pt,g),st=At,$t=Pt,Pt+=g,Xe+=g;else for(Re=0;Re<oe;++Re)r(At,Pt,rn,Xe,g),st=At,$t=Pt,Pt+=g,Xe+=g;l.rc=st,l.Vc=$t}else{if(n(Ze.mc!=null),g=Z+oe,n((Re=Ze.mc)!=null),n(g<=Re.i),Re.C>=g)g=1;else if(Ze.ic||tc(),Ze.ic){Ze=Re.V,st=Re.Ba,$t=Re.c;var Mn=Re.i,ln=(rn=1,Xe=Re.$/$t,At=Re.$%$t,Pt=Re.m,dn=Re.s,Re.$),$n=$t*Mn,Vn=$t*g,yr=dn.wc,Ar=ln<Vn?Ts(dn,At,Xe):null;n(ln<=$n),n(g<=Mn),n(Sc(dn));t:for(;;){for(;!Pt.h&&ln<Vn;){if(At&yr||(Ar=Ts(dn,At,Xe)),n(Ar!=null),un(Pt),256>(Mn=DA(Ar.G[0],Ar.H[0],Pt)))Ze[st+ln]=Mn,++ln,++At>=$t&&(At=0,++Xe<=g&&!(Xe%16)&&Ic(Re,Xe));else{if(!(280>Mn)){rn=0;break t}Mn=Yl(Mn-256,Pt);var Mi,xi=DA(Ar.G[4],Ar.H[4],Pt);if(un(Pt),!(ln>=(xi=Jl($t,xi=Yl(xi,Pt)))&&$n-ln>=Mn)){rn=0;break t}for(Mi=0;Mi<Mn;++Mi)Ze[st+ln+Mi]=Ze[st+ln+Mi-xi];for(ln+=Mn,At+=Mn;At>=$t;)At-=$t,++Xe<=g&&!(Xe%16)&&Ic(Re,Xe);ln<Vn&&At&yr&&(Ar=Ts(dn,At,Xe))}n(Pt.h==_t(Pt))}Ic(Re,Xe>g?g:Xe);break t}!rn||Pt.h&&ln<$n?(rn=0,Re.a=Pt.h?5:3):Re.$=ln,g=rn}else g=Fc(Re,Re.V,Re.Ba,Re.c,Re.i,g,zf);if(!g){oe=0;break e}}Z+oe>=_e&&(l.Cc=1),oe=1}if(!oe)return null;if(l.Cc&&((oe=l.ga)!=null&&(oe.mc=null),l.ga=null,0<l.Ga))return alert("todo:WebPDequantizeLevels"),null}return l.nb+Z*Fe}function fA(l,g,Z,oe,Fe,_e){for(;0<Fe--;){var Re,Ze=l,Xe=g+(Z?1:0),At=l,Pt=g+(Z?0:3);for(Re=0;Re<oe;++Re){var dn=At[Pt+4*Re];dn!=255&&(dn*=32897,Ze[Xe+4*Re+0]=Ze[Xe+4*Re+0]*dn>>23,Ze[Xe+4*Re+1]=Ze[Xe+4*Re+1]*dn>>23,Ze[Xe+4*Re+2]=Ze[Xe+4*Re+2]*dn>>23)}g+=_e}}function ds(l,g,Z,oe,Fe){for(;0<oe--;){var _e;for(_e=0;_e<Z;++_e){var Re=l[g+2*_e+0],Ze=15&(At=l[g+2*_e+1]),Xe=4369*Ze,At=(240&At|At>>4)*Xe>>16;l[g+2*_e+0]=(240&Re|Re>>4)*Xe>>16&240|(15&Re|Re<<4)*Xe>>16>>4&15,l[g+2*_e+1]=240&At|Ze}g+=Fe}}function os(l,g,Z,oe,Fe,_e,Re,Ze){var Xe,At,Pt=255;for(At=0;At<Fe;++At){for(Xe=0;Xe<oe;++Xe){var dn=l[g+Xe];_e[Re+4*Xe]=dn,Pt&=dn}g+=Z,Re+=Ze}return Pt!=255}function Ms(l,g,Z,oe,Fe){var _e;for(_e=0;_e<Fe;++_e)Z[oe+_e]=l[g+_e]>>8}function tc(){qh=fA,tm=ds,nm=os,rm=Ms}function vl(l,g,Z){ft[l]=function(oe,Fe,_e,Re,Ze,Xe,At,Pt,dn,st,$t,rn,Mn,ln,$n,Vn,yr){var Ar,Mi=yr-1>>1,xi=Ze[Xe+0]|At[Pt+0]<<16,ko=dn[st+0]|$t[rn+0]<<16;n(oe!=null);var Ui=3*xi+ko+131074>>2;for(g(oe[Fe+0],255&Ui,Ui>>16,Mn,ln),_e!=null&&(Ui=3*ko+xi+131074>>2,g(_e[Re+0],255&Ui,Ui>>16,$n,Vn)),Ar=1;Ar<=Mi;++Ar){var ua=Ze[Xe+Ar]|At[Pt+Ar]<<16,hs=dn[st+Ar]|$t[rn+Ar]<<16,Ko=xi+ua+ko+hs+524296,Oi=Ko+2*(ua+ko)>>3;Ui=Oi+xi>>1,xi=(Ko=Ko+2*(xi+hs)>>3)+ua>>1,g(oe[Fe+2*Ar-1],255&Ui,Ui>>16,Mn,ln+(2*Ar-1)*Z),g(oe[Fe+2*Ar-0],255&xi,xi>>16,Mn,ln+(2*Ar-0)*Z),_e!=null&&(Ui=Ko+ko>>1,xi=Oi+hs>>1,g(_e[Re+2*Ar-1],255&Ui,Ui>>16,$n,Vn+(2*Ar-1)*Z),g(_e[Re+2*Ar+0],255&xi,xi>>16,$n,Vn+(2*Ar+0)*Z)),xi=ua,ko=hs}1&yr||(Ui=3*xi+ko+131074>>2,g(oe[Fe+yr-1],255&Ui,Ui>>16,Mn,ln+(yr-1)*Z),_e!=null&&(Ui=3*ko+xi+131074>>2,g(_e[Re+yr-1],255&Ui,Ui>>16,$n,Vn+(yr-1)*Z)))}}function np(){oc[Ap]=fv,oc[sp]=hm,oc[lm]=hv,oc[lp]=pm,oc[cp]=gm,oc[ug]=mm,oc[cm]=pv,oc[dg]=hm,oc[fg]=pm,oc[up]=gm,oc[hg]=mm}function qf(l){return l&~gv?0>l?0:255:l>>vm}function sf(l,g){return qf((19077*l>>8)+(26149*g>>8)-14234)}function ad(l,g,Z){return qf((19077*l>>8)-(6419*g>>8)-(13320*Z>>8)+8708)}function lf(l,g){return qf((19077*l>>8)+(33050*g>>8)-17685)}function cf(l,g,Z,oe,Fe){oe[Fe+0]=sf(l,Z),oe[Fe+1]=ad(l,g,Z),oe[Fe+2]=lf(l,g)}function uf(l,g,Z,oe,Fe){oe[Fe+0]=lf(l,g),oe[Fe+1]=ad(l,g,Z),oe[Fe+2]=sf(l,Z)}function Gs(l,g,Z,oe,Fe){var _e=ad(l,g,Z);g=_e<<3&224|lf(l,g)>>3,oe[Fe+0]=248&sf(l,Z)|_e>>5,oe[Fe+1]=g}function df(l,g,Z,oe,Fe){var _e=240&lf(l,g)|15;oe[Fe+0]=240&sf(l,Z)|ad(l,g,Z)>>4,oe[Fe+1]=_e}function ff(l,g,Z,oe,Fe){oe[Fe+0]=255,cf(l,g,Z,oe,Fe+1)}function kh(l,g,Z,oe,Fe){uf(l,g,Z,oe,Fe),oe[Fe+3]=255}function Kh(l,g,Z,oe,Fe){cf(l,g,Z,oe,Fe),oe[Fe+3]=255}function RA(l,g){return 0>l?0:l>g?g:l}function Uu(l,g,Z){ft[l]=function(oe,Fe,_e,Re,Ze,Xe,At,Pt,dn){for(var st=Pt+(-2&dn)*Z;Pt!=st;)g(oe[Fe+0],_e[Re+0],Ze[Xe+0],At,Pt),g(oe[Fe+1],_e[Re+0],Ze[Xe+0],At,Pt+Z),Fe+=2,++Re,++Xe,Pt+=2*Z;1&dn&&g(oe[Fe+0],_e[Re+0],Ze[Xe+0],At,Pt)}}function eh(l,g,Z){return Z==0?l==0?g==0?6:5:g==0?4:0:Z}function rp(l,g,Z,oe,Fe){switch(l>>>30){case 3:mf(g,Z,oe,Fe,0);break;case 2:rc(g,Z,oe,Fe);break;case 1:Ma(g,Z,oe,Fe)}}function nc(l,g){var Z,oe,Fe=g.M,_e=g.Nb,Re=l.oc,Ze=l.pc+40,Xe=l.oc,At=l.pc+584,Pt=l.oc,dn=l.pc+600;for(Z=0;16>Z;++Z)Re[Ze+32*Z-1]=129;for(Z=0;8>Z;++Z)Xe[At+32*Z-1]=129,Pt[dn+32*Z-1]=129;for(0<Fe?Re[Ze-1-32]=Xe[At-1-32]=Pt[dn-1-32]=129:(i(Re,Ze-32-1,127,21),i(Xe,At-32-1,127,9),i(Pt,dn-32-1,127,9)),oe=0;oe<l.za;++oe){var st=g.ya[g.aa+oe];if(0<oe){for(Z=-1;16>Z;++Z)r(Re,Ze+32*Z-4,Re,Ze+32*Z+12,4);for(Z=-1;8>Z;++Z)r(Xe,At+32*Z-4,Xe,At+32*Z+4,4),r(Pt,dn+32*Z-4,Pt,dn+32*Z+4,4)}var $t=l.Gd,rn=l.Hd+oe,Mn=st.ad,ln=st.Hc;if(0<Fe&&(r(Re,Ze-32,$t[rn].y,0,16),r(Xe,At-32,$t[rn].f,0,8),r(Pt,dn-32,$t[rn].ea,0,8)),st.Za){var $n=Re,Vn=Ze-32+16;for(0<Fe&&(oe>=l.za-1?i($n,Vn,$t[rn].y[15],4):r($n,Vn,$t[rn+1].y,0,4)),Z=0;4>Z;Z++)$n[Vn+128+Z]=$n[Vn+256+Z]=$n[Vn+384+Z]=$n[Vn+0+Z];for(Z=0;16>Z;++Z,ln<<=2)$n=Re,Vn=Ze+wm[Z],Oc[st.Ob[Z]]($n,Vn),rp(ln,Mn,16*+Z,$n,Vn)}else if($n=eh(oe,Fe,st.Ob[0]),hd[$n](Re,Ze),ln!=0)for(Z=0;16>Z;++Z,ln<<=2)rp(ln,Mn,16*+Z,Re,Ze+wm[Z]);for(Z=st.Gc,$n=eh(oe,Fe,st.Dd),Lu[$n](Xe,At),Lu[$n](Pt,dn),ln=Mn,$n=Xe,Vn=At,255&(st=0|Z)&&(170&st?ru(ln,256,$n,Vn):AA(ln,256,$n,Vn)),st=Pt,ln=dn,255&(Z>>=8)&&(170&Z?ru(Mn,320,st,ln):AA(Mn,320,st,ln)),Fe<l.Ub-1&&(r($t[rn].y,0,Re,Ze+480,16),r($t[rn].f,0,Xe,At+224,8),r($t[rn].ea,0,Pt,dn+224,8)),Z=8*_e*l.B,$t=l.sa,rn=l.ta+16*oe+16*_e*l.R,Mn=l.qa,st=l.ra+8*oe+Z,ln=l.Ha,$n=l.Ia+8*oe+Z,Z=0;16>Z;++Z)r($t,rn+Z*l.R,Re,Ze+32*Z,16);for(Z=0;8>Z;++Z)r(Mn,st+Z*l.B,Xe,At+32*Z,8),r(ln,$n+Z*l.B,Pt,dn+32*Z,8)}}function hf(l,g,Z,oe,Fe,_e,Re,Ze,Xe){var At=[0],Pt=[0],dn=0,st=Xe!=null?Xe.kd:0,$t=Xe!=null?Xe:new zn;if(l==null||12>Z)return 7;$t.data=l,$t.w=g,$t.ha=Z,g=[g],Z=[Z],$t.gb=[$t.gb];e:{var rn=g,Mn=Z,ln=$t.gb;if(n(l!=null),n(Mn!=null),n(ln!=null),ln[0]=0,12<=Mn[0]&&!t(l,rn[0],"RIFF")){if(t(l,rn[0]+8,"WEBP")){ln=3;break e}var $n=Rn(l,rn[0]+4);if(12>$n||4294967286<$n){ln=3;break e}if(st&&$n>Mn[0]-8){ln=7;break e}ln[0]=$n,rn[0]+=12,Mn[0]-=12}ln=0}if(ln!=0)return ln;for($n=0<$t.gb[0],Z=Z[0];;){e:{var Vn=l;Mn=g,ln=Z;var yr=At,Ar=Pt,Mi=rn=[0];if((Ui=dn=[dn])[0]=0,8>ln[0])ln=7;else{if(!t(Vn,Mn[0],"VP8X")){if(Rn(Vn,Mn[0]+4)!=10){ln=3;break e}if(18>ln[0]){ln=7;break e}var xi=Rn(Vn,Mn[0]+8),ko=1+ai(Vn,Mn[0]+12);if(2147483648<=ko*(Vn=1+ai(Vn,Mn[0]+15))){ln=3;break e}Mi!=null&&(Mi[0]=xi),yr!=null&&(yr[0]=ko),Ar!=null&&(Ar[0]=Vn),Mn[0]+=18,ln[0]-=18,Ui[0]=1}ln=0}}if(dn=dn[0],rn=rn[0],ln!=0)return ln;if(Mn=!!(2&rn),!$n&&dn)return 3;if(_e!=null&&(_e[0]=!!(16&rn)),Re!=null&&(Re[0]=Mn),Ze!=null&&(Ze[0]=0),Re=At[0],rn=Pt[0],dn&&Mn&&Xe==null){ln=0;break}if(4>Z){ln=7;break}if($n&&dn||!$n&&!dn&&!t(l,g[0],"ALPH")){Z=[Z],$t.na=[$t.na],$t.P=[$t.P],$t.Sa=[$t.Sa];e:{xi=l,ln=g,$n=Z;var Ui=$t.gb;yr=$t.na,Ar=$t.P,Mi=$t.Sa,ko=22,n(xi!=null),n($n!=null),Vn=ln[0];var ua=$n[0];for(n(yr!=null),n(Mi!=null),yr[0]=null,Ar[0]=null,Mi[0]=0;;){if(ln[0]=Vn,$n[0]=ua,8>ua){ln=7;break e}var hs=Rn(xi,Vn+4);if(4294967286<hs){ln=3;break e}var Ko=8+hs+1&-2;if(ko+=Ko,0<Ui&&ko>Ui){ln=3;break e}if(!t(xi,Vn,"VP8 ")||!t(xi,Vn,"VP8L")){ln=0;break e}if(ua[0]<Ko){ln=7;break e}t(xi,Vn,"ALPH")||(yr[0]=xi,Ar[0]=Vn+8,Mi[0]=hs),Vn+=Ko,ua-=Ko}}if(Z=Z[0],$t.na=$t.na[0],$t.P=$t.P[0],$t.Sa=$t.Sa[0],ln!=0)break}Z=[Z],$t.Ja=[$t.Ja],$t.xa=[$t.xa];e:if(Ui=l,ln=g,$n=Z,yr=$t.gb[0],Ar=$t.Ja,Mi=$t.xa,xi=ln[0],Vn=!t(Ui,xi,"VP8 "),ko=!t(Ui,xi,"VP8L"),n(Ui!=null),n($n!=null),n(Ar!=null),n(Mi!=null),8>$n[0])ln=7;else{if(Vn||ko){if(Ui=Rn(Ui,xi+4),12<=yr&&Ui>yr-12){ln=3;break e}if(st&&Ui>$n[0]-8){ln=7;break e}Ar[0]=Ui,ln[0]+=8,$n[0]-=8,Mi[0]=ko}else Mi[0]=5<=$n[0]&&Ui[xi+0]==47&&!(Ui[xi+4]>>5),Ar[0]=$n[0];ln=0}if(Z=Z[0],$t.Ja=$t.Ja[0],$t.xa=$t.xa[0],g=g[0],ln!=0)break;if(4294967286<$t.Ja)return 3;if(Ze==null||Mn||(Ze[0]=$t.xa?2:1),Re=[Re],rn=[rn],$t.xa){if(5>Z){ln=7;break}Ze=Re,st=rn,Mn=_e,l==null||5>Z?l=0:5<=Z&&l[g+0]==47&&!(l[g+4]>>5)?($n=[0],Ui=[0],yr=[0],Nn(Ar=new ct,l,g,Z),Cu(Ar,$n,Ui,yr)?(Ze!=null&&(Ze[0]=$n[0]),st!=null&&(st[0]=Ui[0]),Mn!=null&&(Mn[0]=yr[0]),l=1):l=0):l=0}else{if(10>Z){ln=7;break}Ze=rn,l==null||10>Z||!W0(l,g+3,Z-3)?l=0:(st=l[g+0]|l[g+1]<<8|l[g+2]<<16,Mn=16383&(l[g+7]<<8|l[g+6]),l=16383&(l[g+9]<<8|l[g+8]),1&st||3<(st>>1&7)||!(st>>4&1)||st>>5>=$t.Ja||!Mn||!l?l=0:(Re&&(Re[0]=Mn),Ze&&(Ze[0]=l),l=1))}if(!l||(Re=Re[0],rn=rn[0],dn&&(At[0]!=Re||Pt[0]!=rn)))return 3;Xe!=null&&(Xe[0]=$t,Xe.offset=g-Xe.w,n(4294967286>g-Xe.w),n(Xe.offset==Xe.ha-Z));break}return ln==0||ln==7&&dn&&Xe==null?(_e!=null&&(_e[0]|=$t.na!=null&&0<$t.na.length),oe!=null&&(oe[0]=Re),Fe!=null&&(Fe[0]=rn),0):ln}function zh(l,g,Z){var oe=g.width,Fe=g.height,_e=0,Re=0,Ze=oe,Xe=Fe;if(g.Da=l!=null&&0<l.Da,g.Da&&(Ze=l.cd,Xe=l.bd,_e=l.v,Re=l.j,11>Z||(_e&=-2,Re&=-2),0>_e||0>Re||0>=Ze||0>=Xe||_e+Ze>oe||Re+Xe>Fe))return 0;if(g.v=_e,g.j=Re,g.va=_e+Ze,g.o=Re+Xe,g.U=Ze,g.T=Xe,g.da=l!=null&&0<l.da,g.da){if(!to(Ze,Xe,Z=[l.ib],_e=[l.hb]))return 0;g.ib=Z[0],g.hb=_e[0]}return g.ob=l!=null&&l.ob,g.Kb=l==null||!l.Sd,g.da&&(g.ob=g.ib<3*oe/4&&g.hb<3*Fe/4,g.Kb=0),1}function Zh(l){if(l==null)return 2;if(11>l.S){var g=l.f.RGBA;g.fb+=(l.height-1)*g.A,g.A=-g.A}else g=l.f.kb,l=l.height,g.O+=(l-1)*g.fa,g.fa=-g.fa,g.N+=(l-1>>1)*g.Ab,g.Ab=-g.Ab,g.W+=(l-1>>1)*g.Db,g.Db=-g.Db,g.F!=null&&(g.J+=(l-1)*g.lb,g.lb=-g.lb);return 0}function Ad(l,g,Z,oe){if(oe==null||0>=l||0>=g)return 2;if(Z!=null){if(Z.Da){var Fe=Z.cd,_e=Z.bd,Re=-2&Z.v,Ze=-2&Z.j;if(0>Re||0>Ze||0>=Fe||0>=_e||Re+Fe>l||Ze+_e>g)return 2;l=Fe,g=_e}if(Z.da){if(!to(l,g,Fe=[Z.ib],_e=[Z.hb]))return 2;l=Fe[0],g=_e[0]}}oe.width=l,oe.height=g;e:{var Xe=oe.width,At=oe.height;if(l=oe.S,0>=Xe||0>=At||!(l>=Ap&&13>l))l=2;else{if(0>=oe.Rd&&oe.sd==null){Re=_e=Fe=g=0;var Pt=(Ze=Xe*bm[l])*At;if(11>l||(_e=(At+1)/2*(g=(Xe+1)/2),l==12&&(Re=(Fe=Xe)*At)),(At=A(Pt+2*_e+Re))==null){l=1;break e}oe.sd=At,11>l?((Xe=oe.f.RGBA).eb=At,Xe.fb=0,Xe.A=Ze,Xe.size=Pt):((Xe=oe.f.kb).y=At,Xe.O=0,Xe.fa=Ze,Xe.Fd=Pt,Xe.f=At,Xe.N=0+Pt,Xe.Ab=g,Xe.Cd=_e,Xe.ea=At,Xe.W=0+Pt+_e,Xe.Db=g,Xe.Ed=_e,l==12&&(Xe.F=At,Xe.J=0+Pt+2*_e),Xe.Tc=Re,Xe.lb=Fe)}if(g=1,Fe=oe.S,_e=oe.width,Re=oe.height,Fe>=Ap&&13>Fe)if(11>Fe)l=oe.f.RGBA,g&=(Ze=Math.abs(l.A))*(Re-1)+_e<=l.size,g&=Ze>=_e*bm[Fe],g&=l.eb!=null;else{l=oe.f.kb,Ze=(_e+1)/2,Pt=(Re+1)/2,Xe=Math.abs(l.fa),At=Math.abs(l.Ab);var dn=Math.abs(l.Db),st=Math.abs(l.lb),$t=st*(Re-1)+_e;g&=Xe*(Re-1)+_e<=l.Fd,g&=At*(Pt-1)+Ze<=l.Cd,g=(g&=dn*(Pt-1)+Ze<=l.Ed)&Xe>=_e&At>=Ze&dn>=Ze,g&=l.y!=null,g&=l.f!=null,g&=l.ea!=null,Fe==12&&(g&=st>=_e,g&=$t<=l.Tc,g&=l.F!=null)}else g=0;l=g?0:2}}return l!=0||Z!=null&&Z.fd&&(l=Zh(oe)),l}var pf=64,Ul=[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],Ol=24,sd=32,Ou=8,ld=[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];ui("Predictor0","PredictorAdd0"),ft.Predictor0=function(){return 4278190080},ft.Predictor1=function(l){return l},ft.Predictor2=function(l,g,Z){return g[Z+0]},ft.Predictor3=function(l,g,Z){return g[Z+1]},ft.Predictor4=function(l,g,Z){return g[Z-1]},ft.Predictor5=function(l,g,Z){return Xi(Xi(l,g[Z+1]),g[Z+0])},ft.Predictor6=function(l,g,Z){return Xi(l,g[Z-1])},ft.Predictor7=function(l,g,Z){return Xi(l,g[Z+0])},ft.Predictor8=function(l,g,Z){return Xi(g[Z-1],g[Z+0])},ft.Predictor9=function(l,g,Z){return Xi(g[Z+0],g[Z+1])},ft.Predictor10=function(l,g,Z){return Xi(Xi(l,g[Z-1]),Xi(g[Z+0],g[Z+1]))},ft.Predictor11=function(l,g,Z){var oe=g[Z+0];return 0>=No(oe>>24&255,l>>24&255,(g=g[Z-1])>>24&255)+No(oe>>16&255,l>>16&255,g>>16&255)+No(oe>>8&255,l>>8&255,g>>8&255)+No(255&oe,255&l,255&g)?oe:l},ft.Predictor12=function(l,g,Z){var oe=g[Z+0];return(Fa((l>>24&255)+(oe>>24&255)-((g=g[Z-1])>>24&255))<<24|Fa((l>>16&255)+(oe>>16&255)-(g>>16&255))<<16|Fa((l>>8&255)+(oe>>8&255)-(g>>8&255))<<8|Fa((255&l)+(255&oe)-(255&g)))>>>0},ft.Predictor13=function(l,g,Z){var oe=g[Z-1];return(Oo((l=Xi(l,g[Z+0]))>>24&255,oe>>24&255)<<24|Oo(l>>16&255,oe>>16&255)<<16|Oo(l>>8&255,oe>>8&255)<<8|Oo(255&l,255&oe))>>>0};var Wh=ft.PredictorAdd0;ft.PredictorAdd1=Ja,ui("Predictor2","PredictorAdd2"),ui("Predictor3","PredictorAdd3"),ui("Predictor4","PredictorAdd4"),ui("Predictor5","PredictorAdd5"),ui("Predictor6","PredictorAdd6"),ui("Predictor7","PredictorAdd7"),ui("Predictor8","PredictorAdd8"),ui("Predictor9","PredictorAdd9"),ui("Predictor10","PredictorAdd10"),ui("Predictor11","PredictorAdd11"),ui("Predictor12","PredictorAdd12"),ui("Predictor13","PredictorAdd13");var th=ft.PredictorAdd2;Wi("ColorIndexInverseTransform","MapARGB","32b",function(l){return l>>8&255},function(l){return l}),Wi("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(l){return l},function(l){return l>>8&255});var zA,ip=ft.ColorIndexInverseTransform,tu=ft.MapARGB,nu=ft.VP8LColorIndexInverseTransformAlpha,Vh=ft.MapAlpha,Gh=ft.VP8LPredictorsAdd=[];Gh.length=16,(ft.VP8LPredictors=[]).length=16,(ft.VP8LPredictorsAdd_C=[]).length=16,(ft.VP8LPredictors_C=[]).length=16;var Xh,Yh,cd,ud,dd,gf,fd,mf,rc,ru,Ma,AA,ZA,fs,Nu,Jh,nh,op,Gg,Xg,Yg,Jg,qg,em,qh,tm,nm,rm,im=A(511),om=A(2041),am=A(225),Am=A(767),sm=0,cg=om,ap=am,Nl=Am,ic=im,Ap=0,sp=1,lm=2,lp=3,cp=4,ug=5,cm=6,dg=7,fg=8,up=9,hg=10,qm=[2,3,7],ev=[3,3,11],um=[280,256,256,256,40],tv=[0,1,1,1,0],nv=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],rv=[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],iv=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ov=8,pg=[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],gg=[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],e0=null,av=[[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]],Av=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],dm=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sv=[[[[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]]]],lv=[[[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]]],cv=[[[[255,255,255,255,255,255,255,255,255,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]]]],uv=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],hd=[],Oc=[],Lu=[],dv=1,fm=2,pd=[],oc=[];vl("UpsampleRgbLinePair",cf,3),vl("UpsampleBgrLinePair",uf,3),vl("UpsampleRgbaLinePair",Kh,4),vl("UpsampleBgraLinePair",kh,4),vl("UpsampleArgbLinePair",ff,4),vl("UpsampleRgba4444LinePair",df,2),vl("UpsampleRgb565LinePair",Gs,2);var fv=ft.UpsampleRgbLinePair,hv=ft.UpsampleBgrLinePair,hm=ft.UpsampleRgbaLinePair,pm=ft.UpsampleBgraLinePair,gm=ft.UpsampleArgbLinePair,mm=ft.UpsampleRgba4444LinePair,pv=ft.UpsampleRgb565LinePair,dp=16,fp=1<<dp-1,t0=-227,mg=482,vm=6,gv=(256<<vm)-1,ym=0,mv=A(256),vv=A(256),yv=A(256),wv=A(256),bv=A(mg-t0),Bv=A(mg-t0);Uu("YuvToRgbRow",cf,3),Uu("YuvToBgrRow",uf,3),Uu("YuvToRgbaRow",Kh,4),Uu("YuvToBgraRow",kh,4),Uu("YuvToArgbRow",ff,4),Uu("YuvToRgba4444Row",df,2),Uu("YuvToRgb565Row",Gs,2);var wm=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],hp=[0,2,8],Cv=[8,7,6,4,4,2,2,2,1,1,1,1],xv=1;this.WebPDecodeRGBA=function(l,g,Z,oe,Fe){var _e=sp,Re=new Yt,Ze=new aA;Re.ba=Ze,Ze.S=_e,Ze.width=[Ze.width],Ze.height=[Ze.height];var Xe=Ze.width,At=Ze.height,Pt=new Bo;if(Pt==null||l==null)var dn=2;else n(Pt!=null),dn=hf(l,g,Z,Pt.width,Pt.height,Pt.Pd,Pt.Qd,Pt.format,null);if(dn!=0?Xe=0:(Xe!=null&&(Xe[0]=Pt.width[0]),At!=null&&(At[0]=Pt.height[0]),Xe=1),Xe){Ze.width=Ze.width[0],Ze.height=Ze.height[0],oe!=null&&(oe[0]=Ze.width),Fe!=null&&(Fe[0]=Ze.height);e:{if(oe=new Vf,(Fe=new zn).data=l,Fe.w=g,Fe.ha=Z,Fe.kd=1,g=[0],n(Fe!=null),((l=hf(Fe.data,Fe.w,Fe.ha,null,null,null,g,null,Fe))==0||l==7)&&g[0]&&(l=4),(g=l)==0){if(n(Re!=null),oe.data=Fe.data,oe.w=Fe.w+Fe.offset,oe.ha=Fe.ha-Fe.offset,oe.put=oo,oe.ac=Yc,oe.bc=Bu,oe.ma=Re,Fe.xa){if((l=Xd())==null){Re=1;break e}if(function(st,$t){var rn=[0],Mn=[0],ln=[0];t:for(;;){if(st==null)return 0;if($t==null)return st.a=2,0;if(st.l=$t,st.a=0,Nn(st.m,$t.data,$t.w,$t.ha),!Cu(st.m,rn,Mn,ln)){st.a=3;break t}if(st.xb=fm,$t.width=rn[0],$t.height=Mn[0],!qc(rn[0],Mn[0],1,st,null))break t;return 1}return n(st.a!=0),0}(l,oe)){if(oe=(g=Ad(oe.width,oe.height,Re.Oa,Re.ba))==0){t:{oe=l;n:for(;;){if(oe==null){oe=0;break t}if(n(oe.s.yc!=null),n(oe.s.Ya!=null),n(0<oe.s.Wb),n((Z=oe.l)!=null),n((Fe=Z.ma)!=null),oe.xb!=0){if(oe.ca=Fe.ba,oe.tb=Fe.tb,n(oe.ca!=null),!zh(Fe.Oa,Z,lp)){oe.a=2;break n}if(!Yd(oe,Z.width)||Z.da)break n;if((Z.da||_o(oe.ca.S))&&tc(),11>oe.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),oe.ca.f.kb.F!=null&&tc()),oe.Pb&&0<oe.s.ua&&oe.s.vb.X==null&&!pt(oe.s.vb,oe.s.Wa.Xa)){oe.a=1;break n}oe.xb=0}if(!Fc(oe,oe.V,oe.Ba,oe.c,oe.i,Z.o,rd))break n;Fe.Dc=oe.Ma,oe=1;break t}n(oe.a!=0),oe=0}oe=!oe}oe&&(g=l.a)}else g=l.a}else{if((l=new Gp)==null){Re=1;break e}if(l.Fa=Fe.na,l.P=Fe.P,l.qc=Fe.Sa,V0(l,oe)){if((g=Ad(oe.width,oe.height,Re.Oa,Re.ba))==0){if(l.Aa=0,Z=Re.Oa,n((Fe=l)!=null),Z!=null){if(0<(Xe=0>(Xe=Z.Md)?0:100<Xe?255:255*Xe/100)){for(At=Pt=0;4>At;++At)12>(dn=Fe.pb[At]).lc&&(dn.ia=Xe*Cv[0>dn.lc?0:dn.lc]>>3),Pt|=dn.ia;Pt&&(alert("todo:VP8InitRandom"),Fe.ia=1)}Fe.Ga=Z.Id,100<Fe.Ga?Fe.Ga=100:0>Fe.Ga&&(Fe.Ga=0)}(function(st,$t){if(st==null)return 0;if($t==null)return rs(st,2,"NULL VP8Io parameter in VP8Decode().");if(!st.cb&&!V0(st,$t))return 0;if(n(st.cb),$t.ac==null||$t.ac($t)){$t.ob&&(st.L=0);var rn=hp[st.L];if(st.L==2?(st.yb=0,st.zb=0):(st.yb=$t.v-rn>>4,st.zb=$t.j-rn>>4,0>st.yb&&(st.yb=0),0>st.zb&&(st.zb=0)),st.Va=$t.o+15+rn>>4,st.Hb=$t.va+15+rn>>4,st.Hb>st.za&&(st.Hb=st.za),st.Va>st.Ub&&(st.Va=st.Ub),0<st.L){var Mn=st.ed;for(rn=0;4>rn;++rn){var ln;if(st.Qa.Cb){var $n=st.Qa.Lb[rn];st.Qa.Fb||($n+=Mn.Tb)}else $n=Mn.Tb;for(ln=0;1>=ln;++ln){var Vn=st.gd[rn][ln],yr=$n;if(Mn.Pc&&(yr+=Mn.vd[0],ln&&(yr+=Mn.od[0])),0<(yr=0>yr?0:63<yr?63:yr)){var Ar=yr;0<Mn.wb&&(Ar=4<Mn.wb?Ar>>2:Ar>>1)>9-Mn.wb&&(Ar=9-Mn.wb),1>Ar&&(Ar=1),Vn.dd=Ar,Vn.tc=2*yr+Ar,Vn.ld=40<=yr?2:15<=yr?1:0}else Vn.tc=0;Vn.La=ln}}}rn=0}else rs(st,6,"Frame setup failed"),rn=st.a;if(rn=rn==0){if(rn){st.$c=0,0<st.Aa||(st.Ic=xv);t:{rn=st.Ic,Mn=4*(Ar=st.za);var Mi=32*Ar,xi=Ar+1,ko=0<st.L?Ar*(0<st.Aa?2:1):0,Ui=(st.Aa==2?2:1)*Ar;if((Vn=Mn+832+(ln=3*(16*rn+hp[st.L])/2*Mi)+($n=st.Fa!=null&&0<st.Fa.length?st.Kc.c*st.Kc.i:0))!=Vn)rn=0;else{if(Vn>st.Vb){if(st.Vb=0,st.Ec=A(Vn),st.Fc=0,st.Ec==null){rn=rs(st,1,"no memory during frame initialization.");break t}st.Vb=Vn}Vn=st.Ec,yr=st.Fc,st.Ac=Vn,st.Bc=yr,yr+=Mn,st.Gd=b(Mi,z0),st.Hd=0,st.rb=b(xi+1,Lh),st.sb=1,st.wa=ko?b(ko,ec):null,st.Y=0,st.D.Nb=0,st.D.wa=st.wa,st.D.Y=st.Y,0<st.Aa&&(st.D.Y+=Ar),n(!0),st.oc=Vn,st.pc=yr,yr+=832,st.ya=b(Ui,_h),st.aa=0,st.D.ya=st.ya,st.D.aa=st.aa,st.Aa==2&&(st.D.aa+=Ar),st.R=16*Ar,st.B=8*Ar,Ar=(Mi=hp[st.L])*st.R,Mi=Mi/2*st.B,st.sa=Vn,st.ta=yr+Ar,st.qa=st.sa,st.ra=st.ta+16*rn*st.R+Mi,st.Ha=st.qa,st.Ia=st.ra+8*rn*st.B+Mi,st.$c=0,yr+=ln,st.mb=$n?Vn:null,st.nb=$n?yr:null,n(yr+$n<=st.Fc+st.Vb),Jd(st),i(st.Ac,st.Bc,0,Mn),rn=1}}if(rn){if($t.ka=0,$t.y=st.sa,$t.O=st.ta,$t.f=st.qa,$t.N=st.ra,$t.ea=st.Ha,$t.Vd=st.Ia,$t.fa=st.R,$t.Rc=st.B,$t.F=null,$t.J=0,!sm){for(rn=-255;255>=rn;++rn)im[255+rn]=0>rn?-rn:rn;for(rn=-1020;1020>=rn;++rn)om[1020+rn]=-128>rn?-128:127<rn?127:rn;for(rn=-112;112>=rn;++rn)am[112+rn]=-16>rn?-16:15<rn?15:rn;for(rn=-255;510>=rn;++rn)Am[255+rn]=0>rn?0:255<rn?255:rn;sm=1}fd=X0,mf=Yp,ru=Jp,Ma=eu,AA=G0,rc=Xp,ZA=q0,fs=ep,Nu=U,Jh=Ie,nh=Af,op=tp,Gg=lt,Xg=xt,Yg=$h,Jg=af,qg=Y0,em=J0,Oc[0]=og,Oc[1]=Ph,Oc[2]=rg,Oc[3]=ig,Oc[4]=ag,Oc[5]=Su,Oc[6]=Eu,Oc[7]=Ag,Oc[8]=Gf,Oc[9]=sg,hd[0]=od,hd[1]=eg,hd[2]=tg,hd[3]=Dh,hd[4]=ng,hd[5]=tf,hd[6]=Rh,Lu[0]=Yf,Lu[1]=qp,Lu[2]=Th,Lu[3]=nf,Lu[4]=Mh,Lu[5]=lg,Lu[6]=jh,rn=1}else rn=0}rn&&(rn=function(ua,hs){for(ua.M=0;ua.M<ua.Va;++ua.M){var Ko,Oi=ua.Jc[ua.M&ua.Xb],Jr=ua.m,WA=ua;for(Ko=0;Ko<WA.za;++Ko){var Qo=Jr,ga=WA,mA=ga.Ac,js=ga.Bc+4*Ko,cl=ga.zc,TA=ga.ya[ga.aa+Ko];if(ga.Qa.Bb?TA.$b=Gn(Qo,ga.Pa.jb[0])?2+Gn(Qo,ga.Pa.jb[2]):Gn(Qo,ga.Pa.jb[1]):TA.$b=0,ga.kc&&(TA.Ad=Gn(Qo,ga.Bd)),TA.Za=!Gn(Qo,145)+0,TA.Za){var Xs=TA.Ob,ul=0;for(ga=0;4>ga;++ga){var ps,va=cl[0+ga];for(ps=0;4>ps;++ps){va=lv[mA[js+ps]][va];for(var Ka=dm[Gn(Qo,va[0])];0<Ka;)Ka=dm[2*Ka+Gn(Qo,va[Ka])];va=-Ka,mA[js+ps]=va}r(Xs,ul,mA,js,4),ul+=4,cl[0+ga]=va}}else va=Gn(Qo,156)?Gn(Qo,128)?1:3:Gn(Qo,163)?2:0,TA.Ob[0]=va,i(mA,js,va,4),i(cl,0,va,4);TA.Dd=Gn(Qo,142)?Gn(Qo,114)?Gn(Qo,183)?1:3:2:0}if(WA.m.Ka)return rs(ua,7,"Premature end-of-partition0 encountered.");for(;ua.ja<ua.za;++ua.ja){if(WA=Oi,Qo=(Jr=ua).rb[Jr.sb-1],mA=Jr.rb[Jr.sb+Jr.ja],Ko=Jr.ya[Jr.aa+Jr.ja],js=Jr.kc?Ko.Ad:0)Qo.la=mA.la=0,Ko.Za||(Qo.Na=mA.Na=0),Ko.Hc=0,Ko.Gc=0,Ko.ia=0;else{var MA,za;if(Qo=mA,mA=WA,js=Jr.Pa.Xc,cl=Jr.ya[Jr.aa+Jr.ja],TA=Jr.pb[cl.$b],ga=cl.ad,Xs=0,ul=Jr.rb[Jr.sb-1],va=ps=0,i(ga,Xs,0,384),cl.Za)var Hs=0,Nc=js[3];else{Ka=A(16);var VA=Qo.Na+ul.Na;if(VA=e0(mA,js[1],VA,TA.Eb,0,Ka,0),Qo.Na=ul.Na=(0<VA)+0,1<VA)fd(Ka,0,ga,Xs);else{var yl=Ka[0]+3>>3;for(Ka=0;256>Ka;Ka+=16)ga[Xs+Ka]=yl}Hs=1,Nc=js[0]}var sA=15&Qo.la,gs=15&ul.la;for(Ka=0;4>Ka;++Ka){var Ll=1&gs;for(yl=za=0;4>yl;++yl)sA=sA>>1|(Ll=(VA=e0(mA,Nc,VA=Ll+(1&sA),TA.Sc,Hs,ga,Xs))>Hs)<<7,za=za<<2|(3<VA?3:1<VA?2:ga[Xs+0]!=0),Xs+=16;sA>>=4,gs=gs>>1|Ll<<7,ps=(ps<<8|za)>>>0}for(Nc=sA,Hs=gs>>4,MA=0;4>MA;MA+=2){for(za=0,sA=Qo.la>>4+MA,gs=ul.la>>4+MA,Ka=0;2>Ka;++Ka){for(Ll=1&gs,yl=0;2>yl;++yl)VA=Ll+(1&sA),sA=sA>>1|(Ll=0<(VA=e0(mA,js[2],VA,TA.Qc,0,ga,Xs)))<<3,za=za<<2|(3<VA?3:1<VA?2:ga[Xs+0]!=0),Xs+=16;sA>>=2,gs=gs>>1|Ll<<5}va|=za<<4*MA,Nc|=sA<<4<<MA,Hs|=(240&gs)<<MA}Qo.la=Nc,ul.la=Hs,cl.Hc=ps,cl.Gc=va,cl.ia=43690&va?0:TA.ia,js=!(ps|va)}if(0<Jr.L&&(Jr.wa[Jr.Y+Jr.ja]=Jr.gd[Ko.$b][Ko.Za],Jr.wa[Jr.Y+Jr.ja].La|=!js),WA.Ka)return rs(ua,7,"Premature end-of-file encountered.")}if(Jd(ua),Jr=hs,WA=1,Ko=(Oi=ua).D,Qo=0<Oi.L&&Oi.M>=Oi.zb&&Oi.M<=Oi.Va,Oi.Aa==0)t:{if(Ko.M=Oi.M,Ko.uc=Qo,nc(Oi,Ko),WA=1,Ko=(za=Oi.D).Nb,Qo=(va=hp[Oi.L])*Oi.R,mA=va/2*Oi.B,Ka=16*Ko*Oi.R,yl=8*Ko*Oi.B,js=Oi.sa,cl=Oi.ta-Qo+Ka,TA=Oi.qa,ga=Oi.ra-mA+yl,Xs=Oi.Ha,ul=Oi.Ia-mA+yl,gs=(sA=za.M)==0,ps=sA>=Oi.Va-1,Oi.Aa==2&&nc(Oi,za),za.uc)for(Ll=(VA=Oi).D.M,n(VA.D.uc),za=VA.yb;za<VA.Hb;++za){Hs=za,Nc=Ll;var dl=(_l=($s=VA).D).Nb;MA=$s.R;var _l=_l.wa[_l.Y+Hs],Ql=$s.sa,wl=$s.ta+16*dl*MA+16*Hs,Pl=_l.dd,hA=_l.tc;if(hA!=0)if(n(3<=hA),$s.L==1)0<Hs&&Jg(Ql,wl,MA,hA+4),_l.La&&em(Ql,wl,MA,hA),0<Nc&&Yg(Ql,wl,MA,hA+4),_l.La&&qg(Ql,wl,MA,hA);else{var Dl=$s.B,Lc=$s.qa,vf=$s.ra+8*dl*Dl+8*Hs,_u=$s.Ha,$s=$s.Ia+8*dl*Dl+8*Hs;dl=_l.ld,0<Hs&&(fs(Ql,wl,MA,hA+4,Pl,dl),Jh(Lc,vf,_u,$s,Dl,hA+4,Pl,dl)),_l.La&&(op(Ql,wl,MA,hA,Pl,dl),Xg(Lc,vf,_u,$s,Dl,hA,Pl,dl)),0<Nc&&(ZA(Ql,wl,MA,hA+4,Pl,dl),Nu(Lc,vf,_u,$s,Dl,hA+4,Pl,dl)),_l.La&&(nh(Ql,wl,MA,hA,Pl,dl),Gg(Lc,vf,_u,$s,Dl,hA,Pl,dl))}}if(Oi.ia&&alert("todo:DitherRow"),Jr.put!=null){if(za=16*sA,sA=16*(sA+1),gs?(Jr.y=Oi.sa,Jr.O=Oi.ta+Ka,Jr.f=Oi.qa,Jr.N=Oi.ra+yl,Jr.ea=Oi.Ha,Jr.W=Oi.Ia+yl):(za-=va,Jr.y=js,Jr.O=cl,Jr.f=TA,Jr.N=ga,Jr.ea=Xs,Jr.W=ul),ps||(sA-=va),sA>Jr.o&&(sA=Jr.o),Jr.F=null,Jr.J=null,Oi.Fa!=null&&0<Oi.Fa.length&&za<sA&&(Jr.J=is(Oi,Jr,za,sA-za),Jr.F=Oi.mb,Jr.F==null&&Jr.F.length==0)){WA=rs(Oi,3,"Could not decode alpha data.");break t}za<Jr.j&&(va=Jr.j-za,za=Jr.j,n(!(1&va)),Jr.O+=Oi.R*va,Jr.N+=Oi.B*(va>>1),Jr.W+=Oi.B*(va>>1),Jr.F!=null&&(Jr.J+=Jr.width*va)),za<sA&&(Jr.O+=Jr.v,Jr.N+=Jr.v>>1,Jr.W+=Jr.v>>1,Jr.F!=null&&(Jr.J+=Jr.v),Jr.ka=za-Jr.j,Jr.U=Jr.va-Jr.v,Jr.T=sA-za,WA=Jr.put(Jr))}Ko+1!=Oi.Ic||ps||(r(Oi.sa,Oi.ta-Qo,js,cl+16*Oi.R,Qo),r(Oi.qa,Oi.ra-mA,TA,ga+8*Oi.B,mA),r(Oi.Ha,Oi.Ia-mA,Xs,ul+8*Oi.B,mA))}if(!WA)return rs(ua,6,"Output aborted.")}return 1}(st,$t)),$t.bc!=null&&$t.bc($t),rn&=1}return rn?(st.cb=0,rn):0})(l,oe)||(g=l.a)}}else g=l.a}g==0&&Re.Oa!=null&&Re.Oa.fd&&(g=Zh(Re.ba))}Re=g}_e=Re!=0?null:11>_e?Ze.f.RGBA.eb:Ze.f.kb.y}else _e=null;return _e};var bm=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function P(ft,nn){for(var $e="",it=0;it<4;it++)$e+=String.fromCharCode(ft[nn++]);return $e}function X(ft,nn){return ft[nn+0]|ft[nn+1]<<8}function Ce(ft,nn){return(ft[nn+0]|ft[nn+1]<<8|ft[nn+2]<<16)>>>0}function Le(ft,nn){return(ft[nn+0]|ft[nn+1]<<8|ft[nn+2]<<16|ft[nn+3]<<24)>>>0}new I;var V=[0],tt=[0],Je=[],rt=new I,ke=e,Ut=function(ft,nn){var $e={},it=0,St=!1,Bt=0,vn=0;if($e.frames=[],!function(Me,ct){for(var vt=0;vt<4;vt++)if(Me[ct+vt]!="RIFF".charCodeAt(vt))return!0;return!1}(ft,nn)){for(Le(ft,nn+=4),nn+=8;nn<ft.length;){var Bn=P(ft,nn),In=Le(ft,nn+=4);nn+=4;var cn=In+(1&In);switch(Bn){case"VP8 ":case"VP8L":$e.frames[it]===void 0&&($e.frames[it]={}),(rr=$e.frames[it]).src_off=St?vn:nn-8,rr.src_size=Bt+In+8,it++,St&&(St=!1,Bt=0,vn=0);break;case"VP8X":(rr=$e.header={}).feature_flags=ft[nn];var Nn=nn+4;rr.canvas_width=1+Ce(ft,Nn),Nn+=3,rr.canvas_height=1+Ce(ft,Nn),Nn+=3;break;case"ALPH":St=!0,Bt=cn+8,vn=nn-8;break;case"ANIM":(rr=$e.header).bgcolor=Le(ft,nn),Nn=nn+4,rr.loop_count=X(ft,Nn),Nn+=2;break;case"ANMF":var _r,rr;(rr=$e.frames[it]={}).offset_x=2*Ce(ft,nn),nn+=3,rr.offset_y=2*Ce(ft,nn),nn+=3,rr.width=1+Ce(ft,nn),nn+=3,rr.height=1+Ce(ft,nn),nn+=3,rr.duration=Ce(ft,nn),nn+=3,_r=ft[nn++],rr.dispose=1&_r,rr.blend=_r>>1&1}Bn!="ANMF"&&(nn+=cn)}return $e}}(ke,0);Ut.response=ke,Ut.rgbaoutput=!0,Ut.dataurl=!1;var wt=Ut.header?Ut.header:null,dt=Ut.frames?Ut.frames:null;if(wt){wt.loop_counter=wt.loop_count,V=[wt.canvas_height],tt=[wt.canvas_width];for(var fn=0;fn<dt.length&&dt[fn].blend!=0;fn++);}var jn=dt[0],Cn=rt.WebPDecodeRGBA(ke,jn.src_off,jn.src_size,tt,V);jn.rgba=Cn,jn.imgwidth=tt[0],jn.imgheight=V[0];for(var Dt=0;Dt<tt[0]*V[0]*4;Dt++)Je[Dt]=Cn[Dt];return this.width=tt,this.height=V,this.data=Je,this}(function(e){var n,t,r,i,A,b,y,I,P,X=function(Me){return Me=Me||{},this.isStrokeTransparent=Me.isStrokeTransparent||!1,this.strokeOpacity=Me.strokeOpacity||1,this.strokeStyle=Me.strokeStyle||"#000000",this.fillStyle=Me.fillStyle||"#000000",this.isFillTransparent=Me.isFillTransparent||!1,this.fillOpacity=Me.fillOpacity||1,this.font=Me.font||"10px sans-serif",this.textBaseline=Me.textBaseline||"alphabetic",this.textAlign=Me.textAlign||"left",this.lineWidth=Me.lineWidth||1,this.lineJoin=Me.lineJoin||"miter",this.lineCap=Me.lineCap||"butt",this.path=Me.path||[],this.transform=Me.transform!==void 0?Me.transform.clone():new I,this.globalCompositeOperation=Me.globalCompositeOperation||"normal",this.globalAlpha=Me.globalAlpha||1,this.clip_path=Me.clip_path||[],this.currentPoint=Me.currentPoint||new b,this.miterLimit=Me.miterLimit||10,this.lastPoint=Me.lastPoint||new b,this.lineDashOffset=Me.lineDashOffset||0,this.lineDash=Me.lineDash||[],this.margin=Me.margin||[0,0,0,0],this.prevPageLastElemOffset=Me.prevPageLastElemOffset||0,this.ignoreClearRect=typeof Me.ignoreClearRect!="boolean"||Me.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new Ce(this),n=this.internal.f2,t=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,A=this.internal.getVerticalCoordinate,b=this.internal.Point,y=this.internal.Rectangle,I=this.internal.Matrix,P=new X}]);var Ce=function(Me){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var ct=Me;Object.defineProperty(this,"pdf",{get:function(){return ct}});var vt=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return vt},set:function(Rn){vt=!!Rn}});var _t=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return _t},set:function(Rn){_t=!!Rn}});var zt=0;Object.defineProperty(this,"posX",{get:function(){return zt},set:function(Rn){isNaN(Rn)||(zt=Rn)}});var un=0;Object.defineProperty(this,"posY",{get:function(){return un},set:function(Rn){isNaN(Rn)||(un=Rn)}}),Object.defineProperty(this,"margin",{get:function(){return P.margin},set:function(Rn){var pt;typeof Rn=="number"?pt=[Rn,Rn,Rn,Rn]:((pt=new Array(4))[0]=Rn[0],pt[1]=Rn.length>=2?Rn[1]:pt[0],pt[2]=Rn.length>=3?Rn[2]:pt[0],pt[3]=Rn.length>=4?Rn[3]:pt[1]),P.margin=pt}});var En=!1;Object.defineProperty(this,"autoPaging",{get:function(){return En},set:function(Rn){En=Rn}});var bn=0;Object.defineProperty(this,"lastBreak",{get:function(){return bn},set:function(Rn){bn=Rn}});var Gn=[];Object.defineProperty(this,"pageBreaks",{get:function(){return Gn},set:function(Rn){Gn=Rn}}),Object.defineProperty(this,"ctx",{get:function(){return P},set:function(Rn){Rn instanceof X&&(P=Rn)}}),Object.defineProperty(this,"path",{get:function(){return P.path},set:function(Rn){P.path=Rn}});var vr=[];Object.defineProperty(this,"ctxStack",{get:function(){return vr},set:function(Rn){vr=Rn}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(Rn){var pt;pt=Le(Rn),this.ctx.fillStyle=pt.style,this.ctx.isFillTransparent=pt.a===0,this.ctx.fillOpacity=pt.a,this.pdf.setFillColor(pt.r,pt.g,pt.b,{a:pt.a}),this.pdf.setTextColor(pt.r,pt.g,pt.b,{a:pt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(Rn){var pt=Le(Rn);this.ctx.strokeStyle=pt.style,this.ctx.isStrokeTransparent=pt.a===0,this.ctx.strokeOpacity=pt.a,pt.a===0?this.pdf.setDrawColor(255,255,255):(pt.a,this.pdf.setDrawColor(pt.r,pt.g,pt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(Rn){["butt","round","square"].indexOf(Rn)!==-1&&(this.ctx.lineCap=Rn,this.pdf.setLineCap(Rn))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(Rn){isNaN(Rn)||(this.ctx.lineWidth=Rn,this.pdf.setLineWidth(Rn))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(Rn){["bevel","round","miter"].indexOf(Rn)!==-1&&(this.ctx.lineJoin=Rn,this.pdf.setLineJoin(Rn))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(Rn){isNaN(Rn)||(this.ctx.miterLimit=Rn,this.pdf.setMiterLimit(Rn))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(Rn){this.ctx.textBaseline=Rn}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(Rn){["right","end","center","left","start"].indexOf(Rn)!==-1&&(this.ctx.textAlign=Rn)}});var ri=null,ai=null;Object.defineProperty(this,"fontFaces",{get:function(){return ai},set:function(Rn){ri=null,ai=Rn}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(Rn){var pt;if(this.ctx.font=Rn,(pt=/^\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(Rn))!==null){var Aa=pt[1];pt[2];var Mo=pt[3],to=pt[4];pt[5];var Fr=pt[6],ki=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(to)[2];to=Math.floor(ki==="px"?parseFloat(to)*this.pdf.internal.scaleFactor:ki==="em"?parseFloat(to)*this.pdf.getFontSize():parseFloat(to)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(to);var ui=function(ho){var Wi,dA,Ua=[],Ti=ho.trim();if(Ti==="")return zp;if(Ti in Wc)return[Wc[Ti]];for(;Ti!=="";){switch(dA=null,Wi=(Ti=Vc(Ti)).charAt(0)){case'"':case"'":dA=Cc(Ti.substring(1),Wi);break;default:dA=td(Ti)}if(dA===null||(Ua.push(dA[0]),(Ti=Vc(dA[1]))!==""&&Ti.charAt(0)!==","))return zp;Ti=Ti.replace(/^,/,"")}return Ua}(Fr);if(this.fontFaces){var jo=function(ho,Wi){if(ri===null){var dA=function(Ua){var Ti=[];return Object.keys(Ua).forEach(function(Lo){Ua[Lo].forEach(function(oA){var io=null;switch(oA){case"bold":io={family:Lo,weight:"bold"};break;case"italic":io={family:Lo,style:"italic"};break;case"bolditalic":io={family:Lo,weight:"bold",style:"italic"};break;case"":case"normal":io={family:Lo}}io!==null&&(io.ref={name:Lo,style:oA},Ti.push(io))})}),Ti}(ho.getFontList());ri=function(Ua){for(var Ti={},Lo=0;Lo<Ua.length;++Lo){var oA=ml(Ua[Lo]),io=oA.family,ca=oA.stretch,_o=oA.style,kA=oA.weight;Ti[io]=Ti[io]||{},Ti[io][ca]=Ti[io][ca]||{},Ti[io][ca][_o]=Ti[io][ca][_o]||{},Ti[io][ca][_o][kA]=oA}return Ti}(dA.concat(Wi))}return ri}(this.pdf,this.fontFaces),Xi=ui.map(function(ho){return{family:ho,stretch:"normal",weight:Mo,style:Aa}}),Fa=function(ho,Wi,dA){for(var Ua=(dA=dA||{}).defaultFontFamily||"times",Ti=Object.assign({},wu,dA.genericFontFamilies||{}),Lo=null,oA=null,io=0;io<Wi.length;++io)if(Ti[(Lo=ml(Wi[io])).family]&&(Lo.family=Ti[Lo.family]),ho.hasOwnProperty(Lo.family)){oA=ho[Lo.family];break}if(!(oA=oA||ho[Ua]))throw new Error("Could not find a font-family for the rule '"+Xl(Lo)+"' and default family '"+Ua+"'.");if(oA=function(ca,_o){if(_o[ca])return _o[ca];var kA=Es[ca],us=kA<=Es.normal?-1:1,aA=Bc(_o,bc,kA,us);if(!aA)throw new Error("Could not find a matching font-stretch value for "+ca);return aA}(Lo.stretch,oA),oA=function(ca,_o){if(_o[ca])return _o[ca];for(var kA=ns[ca],us=0;us<kA.length;++us)if(_o[kA[us]])return _o[kA[us]];throw new Error("Could not find a matching font-style for "+ca)}(Lo.style,oA),!(oA=function(ca,_o){if(_o[ca])return _o[ca];if(ca===400&&_o[500])return _o[500];if(ca===500&&_o[400])return _o[400];var kA=yu[ca],us=Bc(_o,Rs,kA,ca<400?-1:1);if(!us)throw new Error("Could not find a matching font-weight for value "+ca);return us}(Lo.weight,oA)))throw new Error("Failed to resolve a font for the rule '"+Xl(Lo)+"'.");return oA}(jo,Xi);this.pdf.setFont(Fa.ref.name,Fa.ref.style)}else{var Oo="";(Mo==="bold"||parseInt(Mo,10)>=700||Aa==="bold")&&(Oo="bold"),Aa==="italic"&&(Oo+="italic"),Oo.length===0&&(Oo="normal");for(var No="",Ja={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"},Ho=0;Ho<ui.length;Ho++){if(this.pdf.internal.getFont(ui[Ho],Oo,{noFallback:!0,disableWarning:!0})!==void 0){No=ui[Ho];break}if(Oo==="bolditalic"&&this.pdf.internal.getFont(ui[Ho],"bold",{noFallback:!0,disableWarning:!0})!==void 0)No=ui[Ho],Oo="bold";else if(this.pdf.internal.getFont(ui[Ho],"normal",{noFallback:!0,disableWarning:!0})!==void 0){No=ui[Ho],Oo="normal";break}}if(No===""){for(var Zi=0;Zi<ui.length;Zi++)if(Ja[ui[Zi]]){No=Ja[ui[Zi]];break}}No=No===""?"Times":No,this.pdf.setFont(No,Oo)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(Rn){this.ctx.globalCompositeOperation=Rn}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(Rn){this.ctx.globalAlpha=Rn}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(Rn){this.ctx.lineDashOffset=Rn,rr.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(Rn){this.ctx.lineDash=Rn,rr.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(Rn){this.ctx.ignoreClearRect=!!Rn}})};Ce.prototype.setLineDash=function(Me){this.lineDash=Me},Ce.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},Ce.prototype.fill=function(){dt.call(this,"fill",!1)},Ce.prototype.stroke=function(){dt.call(this,"stroke",!1)},Ce.prototype.beginPath=function(){this.path=[{type:"begin"}]},Ce.prototype.moveTo=function(Me,ct){if(isNaN(Me)||isNaN(ct))throw ka.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var vt=this.ctx.transform.applyToPoint(new b(Me,ct));this.path.push({type:"mt",x:vt.x,y:vt.y}),this.ctx.lastPoint=new b(Me,ct)},Ce.prototype.closePath=function(){var Me=new b(0,0),ct=0;for(ct=this.path.length-1;ct!==-1;ct--)if(this.path[ct].type==="begin"&&(0,ye.Z)(this.path[ct+1])==="object"&&typeof this.path[ct+1].x=="number"){Me=new b(this.path[ct+1].x,this.path[ct+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new b(Me.x,Me.y)},Ce.prototype.lineTo=function(Me,ct){if(isNaN(Me)||isNaN(ct))throw ka.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var vt=this.ctx.transform.applyToPoint(new b(Me,ct));this.path.push({type:"lt",x:vt.x,y:vt.y}),this.ctx.lastPoint=new b(vt.x,vt.y)},Ce.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),dt.call(this,null,!0)},Ce.prototype.quadraticCurveTo=function(Me,ct,vt,_t){if(isNaN(vt)||isNaN(_t)||isNaN(Me)||isNaN(ct))throw ka.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var zt=this.ctx.transform.applyToPoint(new b(vt,_t)),un=this.ctx.transform.applyToPoint(new b(Me,ct));this.path.push({type:"qct",x1:un.x,y1:un.y,x:zt.x,y:zt.y}),this.ctx.lastPoint=new b(zt.x,zt.y)},Ce.prototype.bezierCurveTo=function(Me,ct,vt,_t,zt,un){if(isNaN(zt)||isNaN(un)||isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t))throw ka.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var En=this.ctx.transform.applyToPoint(new b(zt,un)),bn=this.ctx.transform.applyToPoint(new b(Me,ct)),Gn=this.ctx.transform.applyToPoint(new b(vt,_t));this.path.push({type:"bct",x1:bn.x,y1:bn.y,x2:Gn.x,y2:Gn.y,x:En.x,y:En.y}),this.ctx.lastPoint=new b(En.x,En.y)},Ce.prototype.arc=function(Me,ct,vt,_t,zt,un){if(isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t)||isNaN(zt))throw ka.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(un=!!un,!this.ctx.transform.isIdentity){var En=this.ctx.transform.applyToPoint(new b(Me,ct));Me=En.x,ct=En.y;var bn=this.ctx.transform.applyToPoint(new b(0,vt)),Gn=this.ctx.transform.applyToPoint(new b(0,0));vt=Math.sqrt(Math.pow(bn.x-Gn.x,2)+Math.pow(bn.y-Gn.y,2))}Math.abs(zt-_t)>=2*Math.PI&&(_t=0,zt=2*Math.PI),this.path.push({type:"arc",x:Me,y:ct,radius:vt,startAngle:_t,endAngle:zt,counterclockwise:un})},Ce.prototype.arcTo=function(Me,ct,vt,_t,zt){throw new Error("arcTo not implemented.")},Ce.prototype.rect=function(Me,ct,vt,_t){if(isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t))throw ka.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(Me,ct),this.lineTo(Me+vt,ct),this.lineTo(Me+vt,ct+_t),this.lineTo(Me,ct+_t),this.lineTo(Me,ct),this.lineTo(Me+vt,ct),this.lineTo(Me,ct)},Ce.prototype.fillRect=function(Me,ct,vt,_t){if(isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t))throw ka.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!V.call(this)){var zt={};this.lineCap!=="butt"&&(zt.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(zt.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(Me,ct,vt,_t),this.fill(),zt.hasOwnProperty("lineCap")&&(this.lineCap=zt.lineCap),zt.hasOwnProperty("lineJoin")&&(this.lineJoin=zt.lineJoin)}},Ce.prototype.strokeRect=function(Me,ct,vt,_t){if(isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t))throw ka.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");tt.call(this)||(this.beginPath(),this.rect(Me,ct,vt,_t),this.stroke())},Ce.prototype.clearRect=function(Me,ct,vt,_t){if(isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t))throw ka.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(Me,ct,vt,_t))},Ce.prototype.save=function(Me){Me=typeof Me!="boolean"||Me;for(var ct=this.pdf.internal.getCurrentPageInfo().pageNumber,vt=0;vt<this.pdf.internal.getNumberOfPages();vt++)this.pdf.setPage(vt+1),this.pdf.internal.out("q");if(this.pdf.setPage(ct),Me){this.ctx.fontSize=this.pdf.internal.getFontSize();var _t=new X(this.ctx);this.ctxStack.push(this.ctx),this.ctx=_t}},Ce.prototype.restore=function(Me){Me=typeof Me!="boolean"||Me;for(var ct=this.pdf.internal.getCurrentPageInfo().pageNumber,vt=0;vt<this.pdf.internal.getNumberOfPages();vt++)this.pdf.setPage(vt+1),this.pdf.internal.out("Q");this.pdf.setPage(ct),Me&&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)},Ce.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var Le=function(Me){var ct,vt,_t,zt;if(Me.isCanvasGradient===!0&&(Me=Me.getColor()),!Me)return{r:0,g:0,b:0,a:0,style:Me};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(Me))ct=0,vt=0,_t=0,zt=0;else{var un=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(Me);if(un!==null)ct=parseInt(un[1]),vt=parseInt(un[2]),_t=parseInt(un[3]),zt=1;else if((un=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(Me))!==null)ct=parseInt(un[1]),vt=parseInt(un[2]),_t=parseInt(un[3]),zt=parseFloat(un[4]);else{if(zt=1,typeof Me=="string"&&Me.charAt(0)!=="#"){var En=new P0(Me);Me=En.ok?En.toHex():"#000000"}Me.length===4?(ct=Me.substring(1,2),ct+=ct,vt=Me.substring(2,3),vt+=vt,_t=Me.substring(3,4),_t+=_t):(ct=Me.substring(1,3),vt=Me.substring(3,5),_t=Me.substring(5,7)),ct=parseInt(ct,16),vt=parseInt(vt,16),_t=parseInt(_t,16)}}return{r:ct,g:vt,b:_t,a:zt,style:Me}},V=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},tt=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};Ce.prototype.fillText=function(Me,ct,vt,_t){if(isNaN(ct)||isNaN(vt)||typeof Me!="string")throw ka.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(_t=isNaN(_t)?void 0:_t,!V.call(this)){var zt=cn(this.ctx.transform.rotation),un=this.ctx.transform.scaleX;it.call(this,{text:Me,x:ct,y:vt,scale:un,angle:zt,align:this.textAlign,maxWidth:_t})}},Ce.prototype.strokeText=function(Me,ct,vt,_t){if(isNaN(ct)||isNaN(vt)||typeof Me!="string")throw ka.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!tt.call(this)){_t=isNaN(_t)?void 0:_t;var zt=cn(this.ctx.transform.rotation),un=this.ctx.transform.scaleX;it.call(this,{text:Me,x:ct,y:vt,scale:un,renderingMode:"stroke",angle:zt,align:this.textAlign,maxWidth:_t})}},Ce.prototype.measureText=function(Me){if(typeof Me!="string")throw ka.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var ct=this.pdf,vt=this.pdf.internal.scaleFactor,_t=ct.internal.getFontSize(),zt=ct.getStringUnitWidth(Me)*_t/ct.internal.scaleFactor;return new function(un){var En=(un=un||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return En}}),this}({width:zt*=Math.round(96*vt/72*1e4)/1e4})},Ce.prototype.scale=function(Me,ct){if(isNaN(Me)||isNaN(ct))throw ka.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var vt=new I(Me,0,0,ct,0,0);this.ctx.transform=this.ctx.transform.multiply(vt)},Ce.prototype.rotate=function(Me){if(isNaN(Me))throw ka.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var ct=new I(Math.cos(Me),Math.sin(Me),-Math.sin(Me),Math.cos(Me),0,0);this.ctx.transform=this.ctx.transform.multiply(ct)},Ce.prototype.translate=function(Me,ct){if(isNaN(Me)||isNaN(ct))throw ka.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var vt=new I(1,0,0,1,Me,ct);this.ctx.transform=this.ctx.transform.multiply(vt)},Ce.prototype.transform=function(Me,ct,vt,_t,zt,un){if(isNaN(Me)||isNaN(ct)||isNaN(vt)||isNaN(_t)||isNaN(zt)||isNaN(un))throw ka.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var En=new I(Me,ct,vt,_t,zt,un);this.ctx.transform=this.ctx.transform.multiply(En)},Ce.prototype.setTransform=function(Me,ct,vt,_t,zt,un){Me=isNaN(Me)?1:Me,ct=isNaN(ct)?0:ct,vt=isNaN(vt)?0:vt,_t=isNaN(_t)?1:_t,zt=isNaN(zt)?0:zt,un=isNaN(un)?0:un,this.ctx.transform=new I(Me,ct,vt,_t,zt,un)};var Je=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};Ce.prototype.drawImage=function(Me,ct,vt,_t,zt,un,En,bn,Gn){var vr=this.pdf.getImageProperties(Me),ri=1,ai=1,Rn=1,pt=1;_t!==void 0&&bn!==void 0&&(Rn=bn/_t,pt=Gn/zt,ri=vr.width/_t*bn/_t,ai=vr.height/zt*Gn/zt),un===void 0&&(un=ct,En=vt,ct=0,vt=0),_t!==void 0&&bn===void 0&&(bn=_t,Gn=zt),_t===void 0&&bn===void 0&&(bn=vr.width,Gn=vr.height);for(var Aa,Mo=this.ctx.transform.decompose(),to=cn(Mo.rotate.shx),Fr=new I,ki=(Fr=(Fr=(Fr=Fr.multiply(Mo.translate)).multiply(Mo.skew)).multiply(Mo.scale)).applyToRectangle(new y(un-ct*Rn,En-vt*pt,_t*ri,zt*ai)),ui=rt.call(this,ki),jo=[],Xi=0;Xi<ui.length;Xi+=1)jo.indexOf(ui[Xi])===-1&&jo.push(ui[Xi]);if(wt(jo),this.autoPaging)for(var Fa=jo[0],Oo=jo[jo.length-1],No=Fa;No<Oo+1;No++){this.pdf.setPage(No);var Ja=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ho=No===1?this.posY+this.margin[0]:this.margin[0],Zi=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ho=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Wi=No===1?0:Zi+(No-2)*ho;if(this.ctx.clip_path.length!==0){var dA=this.path;Aa=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ut(Aa,this.posX+this.margin[3],-Wi+Ho+this.ctx.prevPageLastElemOffset),fn.call(this,"fill",!0),this.path=dA}var Ua=JSON.parse(JSON.stringify(ki));Ua=Ut([Ua],this.posX+this.margin[3],-Wi+Ho+this.ctx.prevPageLastElemOffset)[0];var Ti=(No>Fa||No<Oo)&&Je.call(this);Ti&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ja,ho,null).clip().discardPath()),this.pdf.addImage(Me,"JPEG",Ua.x,Ua.y,Ua.w,Ua.h,null,null,to),Ti&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(Me,"JPEG",ki.x,ki.y,ki.w,ki.h,null,null,to)};var rt=function(Me,ct,vt){var _t=[];ct=ct||this.pdf.internal.pageSize.width,vt=vt||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var zt=this.posY+this.ctx.prevPageLastElemOffset;switch(Me.type){default:case"mt":case"lt":_t.push(Math.floor((Me.y+zt)/vt)+1);break;case"arc":_t.push(Math.floor((Me.y+zt-Me.radius)/vt)+1),_t.push(Math.floor((Me.y+zt+Me.radius)/vt)+1);break;case"qct":var un=Nn(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Me.x1,Me.y1,Me.x,Me.y);_t.push(Math.floor((un.y+zt)/vt)+1),_t.push(Math.floor((un.y+un.h+zt)/vt)+1);break;case"bct":var En=_r(this.ctx.lastPoint.x,this.ctx.lastPoint.y,Me.x1,Me.y1,Me.x2,Me.y2,Me.x,Me.y);_t.push(Math.floor((En.y+zt)/vt)+1),_t.push(Math.floor((En.y+En.h+zt)/vt)+1);break;case"rect":_t.push(Math.floor((Me.y+zt)/vt)+1),_t.push(Math.floor((Me.y+Me.h+zt)/vt)+1)}for(var bn=0;bn<_t.length;bn+=1)for(;this.pdf.internal.getNumberOfPages()<_t[bn];)ke.call(this);return _t},ke=function(){var Me=this.fillStyle,ct=this.strokeStyle,vt=this.font,_t=this.lineCap,zt=this.lineWidth,un=this.lineJoin;this.pdf.addPage(),this.fillStyle=Me,this.strokeStyle=ct,this.font=vt,this.lineCap=_t,this.lineWidth=zt,this.lineJoin=un},Ut=function(Me,ct,vt){for(var _t=0;_t<Me.length;_t++)switch(Me[_t].type){case"bct":Me[_t].x2+=ct,Me[_t].y2+=vt;case"qct":Me[_t].x1+=ct,Me[_t].y1+=vt;default:Me[_t].x+=ct,Me[_t].y+=vt}return Me},wt=function(Me){return Me.sort(function(ct,vt){return ct-vt})},dt=function(Me,ct){for(var vt,_t,zt=this.fillStyle,un=this.strokeStyle,En=this.lineCap,bn=this.lineWidth,Gn=Math.abs(bn*this.ctx.transform.scaleX),vr=this.lineJoin,ri=JSON.parse(JSON.stringify(this.path)),ai=JSON.parse(JSON.stringify(this.path)),Rn=[],pt=0;pt<ai.length;pt++)if(ai[pt].x!==void 0)for(var Aa=rt.call(this,ai[pt]),Mo=0;Mo<Aa.length;Mo+=1)Rn.indexOf(Aa[Mo])===-1&&Rn.push(Aa[Mo]);for(var to=0;to<Rn.length;to++)for(;this.pdf.internal.getNumberOfPages()<Rn[to];)ke.call(this);if(wt(Rn),this.autoPaging)for(var Fr=Rn[0],ki=Rn[Rn.length-1],ui=Fr;ui<ki+1;ui++){this.pdf.setPage(ui),this.fillStyle=zt,this.strokeStyle=un,this.lineCap=En,this.lineWidth=Gn,this.lineJoin=vr;var jo=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Xi=ui===1?this.posY+this.margin[0]:this.margin[0],Fa=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Oo=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],No=ui===1?0:Fa+(ui-2)*Oo;if(this.ctx.clip_path.length!==0){var Ja=this.path;vt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ut(vt,this.posX+this.margin[3],-No+Xi+this.ctx.prevPageLastElemOffset),fn.call(this,Me,!0),this.path=Ja}if(_t=JSON.parse(JSON.stringify(ri)),this.path=Ut(_t,this.posX+this.margin[3],-No+Xi+this.ctx.prevPageLastElemOffset),ct===!1||ui===0){var Ho=(ui>Fr||ui<ki)&&Je.call(this);Ho&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],jo,Oo,null).clip().discardPath()),fn.call(this,Me,ct),Ho&&this.pdf.restoreGraphicsState()}this.lineWidth=bn}else this.lineWidth=Gn,fn.call(this,Me,ct),this.lineWidth=bn;this.path=ri},fn=function(Me,ct){if((Me!=="stroke"||ct||!tt.call(this))&&(Me==="stroke"||ct||!V.call(this))){for(var vt,_t,zt=[],un=this.path,En=0;En<un.length;En++){var bn=un[En];switch(bn.type){case"begin":zt.push({begin:!0});break;case"close":zt.push({close:!0});break;case"mt":zt.push({start:bn,deltas:[],abs:[]});break;case"lt":var Gn=zt.length;if(un[En-1]&&!isNaN(un[En-1].x)&&(vt=[bn.x-un[En-1].x,bn.y-un[En-1].y],Gn>0)){for(;Gn>=0;Gn--)if(zt[Gn-1].close!==!0&&zt[Gn-1].begin!==!0){zt[Gn-1].deltas.push(vt),zt[Gn-1].abs.push(bn);break}}break;case"bct":vt=[bn.x1-un[En-1].x,bn.y1-un[En-1].y,bn.x2-un[En-1].x,bn.y2-un[En-1].y,bn.x-un[En-1].x,bn.y-un[En-1].y],zt[zt.length-1].deltas.push(vt);break;case"qct":var vr=un[En-1].x+2/3*(bn.x1-un[En-1].x),ri=un[En-1].y+2/3*(bn.y1-un[En-1].y),ai=bn.x+2/3*(bn.x1-bn.x),Rn=bn.y+2/3*(bn.y1-bn.y),pt=bn.x,Aa=bn.y;vt=[vr-un[En-1].x,ri-un[En-1].y,ai-un[En-1].x,Rn-un[En-1].y,pt-un[En-1].x,Aa-un[En-1].y],zt[zt.length-1].deltas.push(vt);break;case"arc":zt.push({deltas:[],abs:[],arc:!0}),Array.isArray(zt[zt.length-1].abs)&&zt[zt.length-1].abs.push(bn)}}_t=ct?null:Me==="stroke"?"stroke":"fill";for(var Mo=!1,to=0;to<zt.length;to++)if(zt[to].arc)for(var Fr=zt[to].abs,ki=0;ki<Fr.length;ki++){var ui=Fr[ki];ui.type==="arc"?Dt.call(this,ui.x,ui.y,ui.radius,ui.startAngle,ui.endAngle,ui.counterclockwise,void 0,ct,!Mo):St.call(this,ui.x,ui.y),Mo=!0}else if(zt[to].close===!0)this.pdf.internal.out("h"),Mo=!1;else if(zt[to].begin!==!0){var jo=zt[to].start.x,Xi=zt[to].start.y;Bt.call(this,zt[to].deltas,jo,Xi),Mo=!0}_t&&ft.call(this,_t),ct&&nn.call(this)}},jn=function(Me){var ct=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,vt=ct*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return Me-vt;case"top":return Me+ct-vt;case"hanging":return Me+ct-2*vt;case"middle":return Me+ct/2-vt;default:return Me}},Cn=function(Me){return Me+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};Ce.prototype.createLinearGradient=function(){var Me=function(){};return Me.colorStops=[],Me.addColorStop=function(ct,vt){this.colorStops.push([ct,vt])},Me.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},Me.isCanvasGradient=!0,Me},Ce.prototype.createPattern=function(){return this.createLinearGradient()},Ce.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Dt=function(Me,ct,vt,_t,zt,un,En,bn,Gn){for(var vr=Bn.call(this,vt,_t,zt,un),ri=0;ri<vr.length;ri++){var ai=vr[ri];ri===0&&(Gn?$e.call(this,ai.x1+Me,ai.y1+ct):St.call(this,ai.x1+Me,ai.y1+ct)),vn.call(this,Me,ct,ai.x2,ai.y2,ai.x3,ai.y3,ai.x4,ai.y4)}bn?nn.call(this):ft.call(this,En)},ft=function(Me){switch(Me){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},nn=function(){this.pdf.clip(),this.pdf.discardPath()},$e=function(Me,ct){this.pdf.internal.out(t(Me)+" "+r(ct)+" m")},it=function(Me){var ct;switch(Me.align){case"right":case"end":ct="right";break;case"center":ct="center";break;default:ct="left"}var vt=this.pdf.getTextDimensions(Me.text),_t=jn.call(this,Me.y),zt=Cn.call(this,_t)-vt.h,un=this.ctx.transform.applyToPoint(new b(Me.x,_t)),En=this.ctx.transform.decompose(),bn=new I;bn=(bn=(bn=bn.multiply(En.translate)).multiply(En.skew)).multiply(En.scale);for(var Gn,vr,ri,ai=this.ctx.transform.applyToRectangle(new y(Me.x,_t,vt.w,vt.h)),Rn=bn.applyToRectangle(new y(Me.x,zt,vt.w,vt.h)),pt=rt.call(this,Rn),Aa=[],Mo=0;Mo<pt.length;Mo+=1)Aa.indexOf(pt[Mo])===-1&&Aa.push(pt[Mo]);if(wt(Aa),this.autoPaging)for(var to=Aa[0],Fr=Aa[Aa.length-1],ki=to;ki<Fr+1;ki++){this.pdf.setPage(ki);var ui=ki===1?this.posY+this.margin[0]:this.margin[0],jo=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Xi=this.pdf.internal.pageSize.height-this.margin[2],Fa=Xi-this.margin[0],Oo=this.pdf.internal.pageSize.width-this.margin[1],No=Oo-this.margin[3],Ja=ki===1?0:jo+(ki-2)*Fa;if(this.ctx.clip_path.length!==0){var Ho=this.path;Gn=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Ut(Gn,this.posX+this.margin[3],-1*Ja+ui),fn.call(this,"fill",!0),this.path=Ho}var Zi=Ut([JSON.parse(JSON.stringify(Rn))],this.posX+this.margin[3],-Ja+ui+this.ctx.prevPageLastElemOffset)[0];Me.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*Me.scale),ri=this.lineWidth,this.lineWidth=ri*Me.scale);var ho=this.autoPaging!=="text";if(ho||Zi.y+Zi.h<=Xi){if(ho||Zi.y>=ui&&Zi.x<=Oo){var Wi=ho?Me.text:this.pdf.splitTextToSize(Me.text,Me.maxWidth||Oo-Zi.x)[0],dA=Ut([JSON.parse(JSON.stringify(ai))],this.posX+this.margin[3],-Ja+ui+this.ctx.prevPageLastElemOffset)[0],Ua=ho&&(ki>to||ki<Fr)&&Je.call(this);Ua&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],No,Fa,null).clip().discardPath()),this.pdf.text(Wi,dA.x,dA.y,{angle:Me.angle,align:ct,renderingMode:Me.renderingMode}),Ua&&this.pdf.restoreGraphicsState()}}else Zi.y<Xi&&(this.ctx.prevPageLastElemOffset+=Xi-Zi.y);Me.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=ri)}else Me.scale>=.01&&(vr=this.pdf.internal.getFontSize(),this.pdf.setFontSize(vr*Me.scale),ri=this.lineWidth,this.lineWidth=ri*Me.scale),this.pdf.text(Me.text,un.x+this.posX,un.y+this.posY,{angle:Me.angle,align:ct,renderingMode:Me.renderingMode,maxWidth:Me.maxWidth}),Me.scale>=.01&&(this.pdf.setFontSize(vr),this.lineWidth=ri)},St=function(Me,ct,vt,_t){vt=vt||0,_t=_t||0,this.pdf.internal.out(t(Me+vt)+" "+r(ct+_t)+" l")},Bt=function(Me,ct,vt){return this.pdf.lines(Me,ct,vt,null,null)},vn=function(Me,ct,vt,_t,zt,un,En,bn){this.pdf.internal.out([n(i(vt+Me)),n(A(_t+ct)),n(i(zt+Me)),n(A(un+ct)),n(i(En+Me)),n(A(bn+ct)),"c"].join(" "))},Bn=function(Me,ct,vt,_t){for(var zt=2*Math.PI,un=Math.PI/2;ct>vt;)ct-=zt;var En=Math.abs(vt-ct);En<zt&&_t&&(En=zt-En);for(var bn=[],Gn=_t?-1:1,vr=ct;En>1e-5;){var ri=vr+Gn*Math.min(En,un);bn.push(In.call(this,Me,vr,ri)),En-=Math.abs(ri-vr),vr=ri}return bn},In=function(Me,ct,vt){var _t=(vt-ct)/2,zt=Me*Math.cos(_t),un=Me*Math.sin(_t),En=zt,bn=-un,Gn=En*En+bn*bn,vr=Gn+En*zt+bn*un,ri=4/3*(Math.sqrt(2*Gn*vr)-vr)/(En*un-bn*zt),ai=En-ri*bn,Rn=bn+ri*En,pt=ai,Aa=-Rn,Mo=_t+ct,to=Math.cos(Mo),Fr=Math.sin(Mo);return{x1:Me*Math.cos(ct),y1:Me*Math.sin(ct),x2:ai*to-Rn*Fr,y2:ai*Fr+Rn*to,x3:pt*to-Aa*Fr,y3:pt*Fr+Aa*to,x4:Me*Math.cos(vt),y4:Me*Math.sin(vt)}},cn=function(Me){return 180*Me/Math.PI},Nn=function(Me,ct,vt,_t,zt,un){var En=Me+.5*(vt-Me),bn=ct+.5*(_t-ct),Gn=zt+.5*(vt-zt),vr=un+.5*(_t-un),ri=Math.min(Me,zt,En,Gn),ai=Math.max(Me,zt,En,Gn),Rn=Math.min(ct,un,bn,vr),pt=Math.max(ct,un,bn,vr);return new y(ri,Rn,ai-ri,pt-Rn)},_r=function(Me,ct,vt,_t,zt,un,En,bn){var Gn,vr,ri,ai,Rn,pt,Aa,Mo,to,Fr,ki,ui,jo,Xi,Fa=vt-Me,Oo=_t-ct,No=zt-vt,Ja=un-_t,Ho=En-zt,Zi=bn-un;for(vr=0;vr<41;vr++)to=(Aa=(ri=Me+(Gn=vr/40)*Fa)+Gn*((Rn=vt+Gn*No)-ri))+Gn*(Rn+Gn*(zt+Gn*Ho-Rn)-Aa),Fr=(Mo=(ai=ct+Gn*Oo)+Gn*((pt=_t+Gn*Ja)-ai))+Gn*(pt+Gn*(un+Gn*Zi-pt)-Mo),vr==0?(ki=to,ui=Fr,jo=to,Xi=Fr):(ki=Math.min(ki,to),ui=Math.min(ui,Fr),jo=Math.max(jo,to),Xi=Math.max(Xi,Fr));return new y(Math.round(ki),Math.round(ui),Math.round(jo-ki),Math.round(Xi-ui))},rr=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var Me,ct,vt=(Me=this.ctx.lineDash,ct=this.ctx.lineDashOffset,JSON.stringify({lineDash:Me,lineDashOffset:ct}));this.prevLineDash!==vt&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=vt)}}})(Fi.API),function(e){var n=function(b){var y,I,P,X,Ce,Le,V,tt,Je,rt;for(/[^\x00-\xFF]/.test(b),I=[],P=0,X=(b+=y="\0\0\0\0".slice(b.length%4||4)).length;X>P;P+=4)(Ce=(b.charCodeAt(P)<<24)+(b.charCodeAt(P+1)<<16)+(b.charCodeAt(P+2)<<8)+b.charCodeAt(P+3))!==0?(Le=(Ce=((Ce=((Ce=((Ce=(Ce-(rt=Ce%85))/85)-(Je=Ce%85))/85)-(tt=Ce%85))/85)-(V=Ce%85))/85)%85,I.push(Le+33,V+33,tt+33,Je+33,rt+33)):I.push(122);return function(ke,Ut){for(var wt=Ut;wt>0;wt--)ke.pop()}(I,y.length),String.fromCharCode.apply(String,I)+"~>"},t=function(b){var y,I,P,X,Ce,Le=String,V="length",tt=255,Je="charCodeAt",rt="slice",ke="replace";for(b[rt](-2),b=b[rt](0,-2)[ke](/\s/g,"")[ke]("z","!!!!!"),P=[],X=0,Ce=(b+=y="uuuuu"[rt](b[V]%5||5))[V];Ce>X;X+=5)I=52200625*(b[Je](X)-33)+614125*(b[Je](X+1)-33)+7225*(b[Je](X+2)-33)+85*(b[Je](X+3)-33)+(b[Je](X+4)-33),P.push(tt&I>>24,tt&I>>16,tt&I>>8,tt&I);return function(Ut,wt){for(var dt=wt;dt>0;dt--)Ut.pop()}(P,y[V]),Le.fromCharCode.apply(Le,P)},r=function(b){return b.split("").map(function(y){return("0"+y.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(b){var y=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((b=b.replace(/\s/g,"")).indexOf(">")!==-1&&(b=b.substr(0,b.indexOf(">"))),b.length%2&&(b+="0"),y.test(b)===!1)return"";for(var I="",P=0;P<b.length;P+=2)I+=String.fromCharCode("0x"+(b[P]+b[P+1]));return I},A=function(b){for(var y=new Uint8Array(b.length),I=b.length;I--;)y[I]=b.charCodeAt(I);return(y=Ei(y)).reduce(function(P,X){return P+String.fromCharCode(X)},"")};e.processDataByFilters=function(b,y){var I=0,P=b||"",X=[];for(typeof(y=y||[])=="string"&&(y=[y]),I=0;I<y.length;I+=1)switch(y[I]){case"ASCII85Decode":case"/ASCII85Decode":P=t(P),X.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":P=n(P),X.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":P=i(P),X.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":P=r(P),X.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":P=A(P),X.push("/FlateDecode");break;default:throw new Error('The filter: "'+y[I]+'" is not implemented')}return{data:P,reverseChain:X.reverse().join(" ")}}}(Fi.API),function(e){e.loadFile=function(n,t,r){return function(i,A,b){A=A!==!1,b=typeof b=="function"?b:function(){};var y=void 0;try{y=function(I,P,X){var Ce=new XMLHttpRequest,Le=0,V=function(tt){var Je=tt.length,rt=[],ke=String.fromCharCode;for(Le=0;Le<Je;Le+=1)rt.push(ke(255&tt.charCodeAt(Le)));return rt.join("")};if(Ce.open("GET",I,!P),Ce.overrideMimeType("text/plain; charset=x-user-defined"),P===!1&&(Ce.onload=function(){Ce.status===200?X(V(this.responseText)):X(void 0)}),Ce.send(null),P&&Ce.status===200)return V(Ce.responseText)}(i,A,b)}catch(I){}return y}(n,t,r)},e.loadImageFile=e.loadFile}(Fi.API),function(e){function n(){return(ao.html2canvas?Promise.resolve(ao.html2canvas):Promise.resolve().then(h.t.bind(h,64270,23))).catch(function(y){return Promise.reject(new Error("Could not load html2canvas: "+y))}).then(function(y){return y.default?y.default:y})}function t(){return(ao.DOMPurify?Promise.resolve(ao.DOMPurify):h.e(4038).then(h.bind(h,94038))).catch(function(y){return Promise.reject(new Error("Could not load dompurify: "+y))}).then(function(y){return y.default?y.default:y})}var r=function(y){var I=(0,ye.Z)(y);return I==="undefined"?"undefined":I==="string"||y instanceof String?"string":I==="number"||y instanceof Number?"number":I==="function"||y instanceof Function?"function":y&&y.constructor===Array?"array":y&&y.nodeType===1?"element":I==="object"?"object":"unknown"},i=function(y,I){var P=document.createElement(y);for(var X in I.className&&(P.className=I.className),I.innerHTML&&I.dompurify&&(P.innerHTML=I.dompurify.sanitize(I.innerHTML)),I.style)P.style[X]=I.style[X];return P},A=function y(I,P){for(var X=I.nodeType===3?document.createTextNode(I.nodeValue):I.cloneNode(!1),Ce=I.firstChild;Ce;Ce=Ce.nextSibling)P!==!0&&Ce.nodeType===1&&Ce.nodeName==="SCRIPT"||X.appendChild(y(Ce,P));return I.nodeType===1&&(I.nodeName==="CANVAS"?(X.width=I.width,X.height=I.height,X.getContext("2d").drawImage(I,0,0)):I.nodeName!=="TEXTAREA"&&I.nodeName!=="SELECT"||(X.value=I.value),X.addEventListener("load",function(){X.scrollTop=I.scrollTop,X.scrollLeft=I.scrollLeft},!0)),X},b=function y(I){var P=Object.assign(y.convert(Promise.resolve()),JSON.parse(JSON.stringify(y.template))),X=y.convert(Promise.resolve(),P);return(X=X.setProgress(1,y,1,[y])).set(I)};(b.prototype=Object.create(Promise.prototype)).constructor=b,b.convert=function(y,I){return y.__proto__=I||b.prototype,y},b.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"}},b.prototype.from=function(y,I){return this.then(function(){switch(I=I||function(P){switch(r(P)){case"string":return"string";case"element":return P.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(y),I){case"string":return this.then(t).then(function(P){return this.set({src:i("div",{innerHTML:y,dompurify:P})})});case"element":return this.set({src:y});case"canvas":return this.set({canvas:y});case"img":return this.set({img:y});default:return this.error("Unknown source type.")}})},b.prototype.to=function(y){switch(y){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.")}},b.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 y={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},I=A(this.prop.src,this.opt.html2canvas.javascriptEnabled);I.tagName==="BODY"&&(y.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:y}),this.prop.container.appendChild(I),this.prop.container.firstChild.appendChild(i("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"})},b.prototype.toCanvas=function(){var y=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(y).then(n).then(function(I){var P=Object.assign({},this.opt.html2canvas);return delete P.onrendered,I(this.prop.container,P)}).then(function(I){(this.opt.html2canvas.onrendered||function(){})(I),this.prop.canvas=I,document.body.removeChild(this.prop.overlay)})},b.prototype.toContext2d=function(){var y=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(y).then(n).then(function(I){var P=this.opt.jsPDF,X=this.opt.fontFaces,Ce=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,Le=Object.assign({async:!0,allowTaint:!0,scale:Ce,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 Le.onrendered,P.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,P.context2d.posX=this.opt.x,P.context2d.posY=this.opt.y,P.context2d.margin=this.opt.margin,P.context2d.fontFaces=X,X)for(var V=0;V<X.length;++V){var tt=X[V],Je=tt.src.find(function(rt){return rt.format==="truetype"});Je&&P.addFont(Je.url,tt.ref.name,tt.ref.style)}return Le.windowHeight=Le.windowHeight||0,Le.windowHeight=Le.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):Le.windowHeight,P.context2d.save(!0),I(this.prop.container,Le)}).then(function(I){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(I),this.prop.canvas=I,document.body.removeChild(this.prop.overlay)})},b.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var y=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=y})},b.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},b.prototype.output=function(y,I,P){return(P=P||"pdf").toLowerCase()==="img"||P.toLowerCase()==="image"?this.outputImg(y,I):this.outputPdf(y,I)},b.prototype.outputPdf=function(y,I){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(y,I)})},b.prototype.outputImg=function(y){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(y){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 "'+y+'" is not supported.'}})},b.prototype.save=function(y){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(y?{filename:y}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},b.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},b.prototype.set=function(y){if(r(y)!=="object")return this;var I=Object.keys(y||{}).map(function(P){if(P in b.template.prop)return function(){this.prop[P]=y[P]};switch(P){case"margin":return this.setMargin.bind(this,y.margin);case"jsPDF":return function(){return this.opt.jsPDF=y.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,y.pageSize);default:return function(){this.opt[P]=y[P]}}},this);return this.then(function(){return this.thenList(I)})},b.prototype.get=function(y,I){return this.then(function(){var P=y in b.template.prop?this.prop[y]:this.opt[y];return I?I(P):P})},b.prototype.setMargin=function(y){return this.then(function(){switch(r(y)){case"number":y=[y,y,y,y];case"array":if(y.length===2&&(y=[y[0],y[1],y[0],y[1]]),y.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=y}).then(this.setPageSize)},b.prototype.setPageSize=function(y){function I(P,X){return Math.floor(P*X/72*96)}return this.then(function(){(y=y||Fi.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(y.inner={width:y.width-this.opt.margin[1]-this.opt.margin[3],height:y.height-this.opt.margin[0]-this.opt.margin[2]},y.inner.px={width:I(y.inner.width,y.k),height:I(y.inner.height,y.k)},y.inner.ratio=y.inner.height/y.inner.width),this.prop.pageSize=y})},b.prototype.setProgress=function(y,I,P,X){return y!=null&&(this.progress.val=y),I!=null&&(this.progress.state=I),P!=null&&(this.progress.n=P),X!=null&&(this.progress.stack=X),this.progress.ratio=this.progress.val/this.progress.state,this},b.prototype.updateProgress=function(y,I,P,X){return this.setProgress(y?this.progress.val+y:null,I||null,P?this.progress.n+P:null,X?this.progress.stack.concat(X):null)},b.prototype.then=function(y,I){var P=this;return this.thenCore(y,I,function(X,Ce){return P.updateProgress(null,null,1,[X]),Promise.prototype.then.call(this,function(Le){return P.updateProgress(null,X),Le}).then(X,Ce).then(function(Le){return P.updateProgress(1),Le})})},b.prototype.thenCore=function(y,I,P){P=P||Promise.prototype.then;var X=this;y&&(y=y.bind(X)),I&&(I=I.bind(X));var Ce=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?X:b.convert(Object.assign({},X),Promise.prototype),Le=P.call(Ce,y,I);return b.convert(Le,X.__proto__)},b.prototype.thenExternal=function(y,I){return Promise.prototype.then.call(this,y,I)},b.prototype.thenList=function(y){var I=this;return y.forEach(function(P){I=I.thenCore(P)}),I},b.prototype.catch=function(y){y&&(y=y.bind(this));var I=Promise.prototype.catch.call(this,y);return b.convert(I,this)},b.prototype.catchExternal=function(y){return Promise.prototype.catch.call(this,y)},b.prototype.error=function(y){return this.then(function(){throw new Error(y)})},b.prototype.using=b.prototype.set,b.prototype.saveAs=b.prototype.save,b.prototype.export=b.prototype.output,b.prototype.run=b.prototype.then,Fi.getPageSize=function(y,I,P){if((0,ye.Z)(y)==="object"){var X=y;y=X.orientation,I=X.unit||I,P=X.format||P}I=I||"mm",P=P||"a4",y=(""+(y||"P")).toLowerCase();var Ce,Le=(""+P).toLowerCase(),V={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(I){case"pt":Ce=1;break;case"mm":Ce=72/25.4;break;case"cm":Ce=72/2.54;break;case"in":Ce=72;break;case"px":Ce=.75;break;case"pc":case"em":Ce=12;break;case"ex":Ce=6;break;default:throw"Invalid unit: "+I}var tt,Je=0,rt=0;if(V.hasOwnProperty(Le))Je=V[Le][1]/Ce,rt=V[Le][0]/Ce;else try{Je=P[1],rt=P[0]}catch(ke){throw new Error("Invalid format: "+P)}if(y==="p"||y==="portrait")y="p",rt>Je&&(tt=rt,rt=Je,Je=tt);else{if(y!=="l"&&y!=="landscape")throw"Invalid orientation: "+y;y="l",Je>rt&&(tt=rt,rt=Je,Je=tt)}return{width:rt,height:Je,unit:I,k:Ce,orientation:y}},e.html=function(y,I){(I=I||{}).callback=I.callback||function(){},I.html2canvas=I.html2canvas||{},I.html2canvas.canvas=I.html2canvas.canvas||this.canvas,I.jsPDF=I.jsPDF||this,I.fontFaces=I.fontFaces?I.fontFaces.map(ml):null;var P=new b(I);return I.worker?P:P.from(y).doCallback()}}(Fi.API),Fi.API.addJS=function(e){return _g=e,this.internal.events.subscribe("postPutResources",function(){Gc=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Gc+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Lg=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+_g+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){Gc!==void 0&&Lg!==void 0&&this.internal.out("/Names <</JavaScript "+Gc+" 0 R>>")}),this},function(e){var n;e.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=t.outline.render().split(/\r\n/),A=0;A<i.length;A++){var b=i[A],y=r.exec(b);if(y!=null){var I=y[1];t.internal.newObjectDeferredBegin(I,!1)}t.internal.write(b)}if(this.outline.createNamedDestinations){var P=this.internal.pages.length,X=[];for(A=0;A<P;A++){var Ce=t.internal.newObject();X.push(Ce);var Le=t.internal.getPageInfo(A+1);t.internal.write("<< /D["+Le.objId+" 0 R /XYZ null null null]>> endobj")}var V=t.internal.newObject();for(t.internal.write("<< /Names [ "),A=0;A<X.length;A++)t.internal.write("(page_"+(A+1)+")"+X[A]+" 0 R");t.internal.write(" ] >>","endobj"),n=t.internal.newObject(),t.internal.write("<< /Dests "+V+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+n+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,i,A){var b={title:i,options:A,children:[]};return r==null&&(r=this.root),r.children.push(b),b},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},t.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},t.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,A=0;A<r.children.length;A++){var b=r.children[A];this.objStart(b),this.line("/Title "+this.makeString(b.title)),this.line("/Parent "+this.makeRef(r)),A>0&&this.line("/Prev "+this.makeRef(r.children[A-1])),A<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[A+1])),b.children.length>0&&(this.line("/First "+this.makeRef(b.children[0])),this.line("/Last "+this.makeRef(b.children[b.children.length-1])));var y=this.count=this.count_r({count:0},b);if(y>0&&this.line("/Count "+y),b.options&&b.options.pageNumber){var I=t.internal.getPageInfo(b.options.pageNumber);this.line("/Dest ["+I.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var P=0;P<r.children.length;P++)this.renderItems(r.children[P])},t.outline.line=function(r){this.ctx.val+=r+`\r
|
|
|
`},t.outline.makeRef=function(r){return r.id+" 0 R"},t.outline.makeString=function(r){return"("+t.internal.pdfEscape(r)+")"},t.outline.objStart=function(r){this.ctx.val+=`\r
|
|
|
`+r.id+` 0 obj\r
|
|
|
<<\r
|
|
|
`},t.outline.objEnd=function(){this.ctx.val+=`>> \r
|
|
|
endobj\r
|
|
|
`},t.outline.count_r=function(r,i){for(var A=0;A<i.children.length;A++)r.count++,this.count_r(r,i.children[A]);return r.count}}])}(Fi.API),function(e){var n=[192,193,194,195,196,197,198,199];e.processJPEG=function(t,r,i,A,b,y){var I,P=this.decode.DCT_DECODE,X=null;if(typeof t=="string"||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=b||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,I=function(Ce){for(var Le,V=256*Ce.charCodeAt(4)+Ce.charCodeAt(5),tt=Ce.length,Je={width:0,height:0,numcomponents:1},rt=4;rt<tt;rt+=2){if(rt+=V,n.indexOf(Ce.charCodeAt(rt+1))!==-1){Le=256*Ce.charCodeAt(rt+5)+Ce.charCodeAt(rt+6),Je={width:256*Ce.charCodeAt(rt+7)+Ce.charCodeAt(rt+8),height:Le,numcomponents:Ce.charCodeAt(rt+9)};break}V=256*Ce.charCodeAt(rt+2)+Ce.charCodeAt(rt+3)}return Je}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t),I.numcomponents){case 1:y=this.color_spaces.DEVICE_GRAY;break;case 4:y=this.color_spaces.DEVICE_CMYK;break;case 3:y=this.color_spaces.DEVICE_RGB}X={data:t,width:I.width,height:I.height,colorSpace:y,bitsPerComponent:8,filter:P,index:r,alias:i}}return X}}(Fi.API),Fi.API.processPNG=function(e,n,t,r){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,A=jf(e,{checkCrc:!0}),b=A.width,y=A.height,I=A.channels,P=A.palette,X=A.depth;i=P&&I===1?function(Dt){for(var ft=Dt.width,nn=Dt.height,$e=Dt.data,it=Dt.palette,St=Dt.depth,Bt=!1,vn=[],Bn=[],In=void 0,cn=!1,Nn=0,_r=0;_r<it.length;_r++){var rr=(0,or.Z)(it[_r],4),Me=rr[0],ct=rr[1],vt=rr[2],_t=rr[3];vn.push(Me,ct,vt),_t!=null&&(_t===0?(Nn++,Bn.length<1&&Bn.push(_r)):_t<255&&(cn=!0))}if(cn||Nn>1){Bt=!0,Bn=void 0;var zt=ft*nn;In=new Uint8Array(zt);for(var un=new DataView($e.buffer),En=0;En<zt;En++){var bn=Zp(un,En,St),Gn=(0,or.Z)(it[bn],4)[3];In[En]=Gn}}else Nn===0&&(Bn=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:Bt?8:void 0,colorBytes:$e,alphaBytes:In,needSMask:Bt,palette:vn,mask:Bn}}(A):I===2||I===4?function(Dt){for(var ft=Dt.data,nn=Dt.width,$e=Dt.height,it=Dt.channels,St=Dt.depth,Bt=it===2?"DeviceGray":"DeviceRGB",vn=it-1,Bn=nn*$e,In=vn,cn=Bn*In,Nn=1*Bn,_r=Math.ceil(cn*St/8),rr=Math.ceil(Nn*St/8),Me=new Uint8Array(_r),ct=new Uint8Array(rr),vt=new DataView(ft.buffer),_t=new DataView(Me.buffer),zt=new DataView(ct.buffer),un=!1,En=0;En<Bn;En++){for(var bn=En*it,Gn=0;Gn<In;Gn++)$g(_t,Zp(vt,bn+Gn,St),En*In+Gn,St);var vr=Zp(vt,bn+In,St);vr<(1<<St)-1&&(un=!0),$g(zt,vr,1*En,St)}return{colorSpace:Bt,colorsPerPixel:vn,sMaskBitsPerComponent:un?St:void 0,colorBytes:Me,alphaBytes:ct,needSMask:un}}(A):function(Dt){var ft=Dt.data,nn=Dt.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:nn,colorsPerPixel:nn==="DeviceGray"?1:3,colorBytes:ft instanceof Uint16Array?function($e){for(var it=$e.length,St=new Uint8Array(2*it),Bt=new DataView(St.buffer,St.byteOffset,St.byteLength),vn=0;vn<it;vn++)Bt.setUint16(2*vn,$e[vn],!1);return St}(ft):ft,needSMask:!1}}(A);var Ce,Le,V,tt=i,Je=tt.colorSpace,rt=tt.colorsPerPixel,ke=tt.sMaskBitsPerComponent,Ut=tt.colorBytes,wt=tt.alphaBytes,dt=tt.needSMask,fn=tt.palette,jn=tt.mask,Cn=null;return r!==Fi.API.image_compression.NONE&&typeof Ei=="function"?(Cn=function(Dt){var ft;switch(Dt){case Fi.API.image_compression.FAST:ft=11;break;case Fi.API.image_compression.MEDIUM:ft=13;break;case Fi.API.image_compression.SLOW:ft=14;break;default:ft=12}return ft}(r),Ce=this.decode.FLATE_DECODE,Le="/Predictor ".concat(Cn," /Colors ").concat(rt," /BitsPerComponent ").concat(X," /Columns ").concat(b),e=Rg(Ut,Math.ceil(b*rt*X/8),rt,X,r),dt&&(V=Rg(wt,Math.ceil(b*ke/8),1,ke,r))):(Ce=void 0,Le=void 0,e=Ut,dt&&(V=wt)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(V&&this.__addimage__.isArrayBuffer(V)||this.__addimage__.isArrayBufferView(V))&&(V=this.__addimage__.arrayBufferToBinaryString(V)),{alias:t,data:e,index:n,filter:Ce,decodeParameters:Le,transparency:jn,palette:fn,sMask:V,predictor:Cn,width:b,height:y,bitsPerComponent:X,sMaskBitsPerComponent:ke,colorSpace:Je}}},function(e){e.processGIF89A=function(n,t,r,i){var A=new Rm(n),b=A.width,y=A.height,I=[];A.decodeAndBlitFrameRGBA(0,I);var P={data:I,width:b,height:y},X=new Wp(100).encode(P,100);return e.processJPEG.call(this,X,t,r,i)},e.processGIF87A=e.processGIF89A}(Fi.API),xc.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var n=0;n<e;n++){var t=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:i,green:r,blue:t,quad:A}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},xc.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,n=this.width*this.height*4;this.data=new Uint8Array(n),this[e]()}catch(t){ka.log("bit decode error:"+t)}},xc.prototype.bit1=function(){var e,n=Math.ceil(this.width/8),t=n%4;for(e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<n;i++)for(var A=this.datav.getUint8(this.pos++,!0),b=r*this.width*4+8*i*4,y=0;y<8&&8*i+y<this.width;y++){var I=this.palette[A>>7-y&1];this.data[b+4*y]=I.blue,this.data[b+4*y+1]=I.green,this.data[b+4*y+2]=I.red,this.data[b+4*y+3]=255}t!==0&&(this.pos+=4-t)}},xc.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),n=e%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<e;i++){var A=this.datav.getUint8(this.pos++,!0),b=r*this.width*4+2*i*4,y=A>>4,I=15&A,P=this.palette[y];if(this.data[b]=P.blue,this.data[b+1]=P.green,this.data[b+2]=P.red,this.data[b+3]=255,2*i+1>=this.width)break;P=this.palette[I],this.data[b+4]=P.blue,this.data[b+4+1]=P.green,this.data[b+4+2]=P.red,this.data[b+4+3]=255}n!==0&&(this.pos+=4-n)}},xc.prototype.bit8=function(){for(var e=this.width%4,n=this.height-1;n>=0;n--){for(var t=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),A=t*this.width*4+4*r;if(i<this.palette.length){var b=this.palette[i];this.data[A]=b.red,this.data[A+1]=b.green,this.data[A+2]=b.blue,this.data[A+3]=255}else this.data[A]=255,this.data[A+1]=255,this.data[A+2]=255,this.data[A+3]=255}e!==0&&(this.pos+=4-e)}},xc.prototype.bit15=function(){for(var e=this.width%3,n=parseInt("11111",2),t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var A=this.datav.getUint16(this.pos,!0);this.pos+=2;var b=(A&n)/n*255|0,y=(A>>5&n)/n*255|0,I=(A>>10&n)/n*255|0,P=A>>15?255:0,X=r*this.width*4+4*i;this.data[X]=I,this.data[X+1]=y,this.data[X+2]=b,this.data[X+3]=P}this.pos+=e}},xc.prototype.bit16=function(){for(var e=this.width%3,n=parseInt("11111",2),t=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,A=0;A<this.width;A++){var b=this.datav.getUint16(this.pos,!0);this.pos+=2;var y=(b&n)/n*255|0,I=(b>>5&t)/t*255|0,P=(b>>11)/n*255|0,X=i*this.width*4+4*A;this.data[X]=P,this.data[X+1]=I,this.data[X+2]=y,this.data[X+3]=255}this.pos+=e}},xc.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,t=0;t<this.width;t++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),b=n*this.width*4+4*t;this.data[b]=A,this.data[b+1]=i,this.data[b+2]=r,this.data[b+3]=255}this.pos+=this.width%4}},xc.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var n=this.bottom_up?e:this.height-1-e,t=0;t<this.width;t++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),A=this.datav.getUint8(this.pos++,!0),b=this.datav.getUint8(this.pos++,!0),y=n*this.width*4+4*t;this.data[y]=A,this.data[y+1]=i,this.data[y+2]=r,this.data[y+3]=b}},xc.prototype.getData=function(){return this.data},function(e){e.processBMP=function(n,t,r,i){var A=new xc(n,!1),b=A.width,y=A.height,I={data:A.getData(),width:b,height:y},P=new Wp(100).encode(I,100);return e.processJPEG.call(this,P,t,r,i)}}(Fi.API),zg.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(n,t,r,i){var A=new zg(n),b=A.width,y=A.height,I={data:A.getData(),width:b,height:y},P=new Wp(100).encode(I,100);return e.processJPEG.call(this,P,t,r,i)}}(Fi.API),Fi.API.processRGBA=function(e,n,t){for(var r=e.data,i=r.length,A=new Uint8Array(i/4*3),b=new Uint8Array(i/4),y=0,I=0,P=0;P<i;P+=4){var X=r[P],Ce=r[P+1],Le=r[P+2],V=r[P+3];A[y++]=X,A[y++]=Ce,A[y++]=Le,b[I++]=V}var tt=this.__addimage__.arrayBufferToBinaryString(A);return{alpha:this.__addimage__.arrayBufferToBinaryString(b),data:tt,index:n,alias:t,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},Fi.API.setLanguage=function(e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Kf=Fi.API,j0=Kf.getCharWidthsArray=function(e,n){var t,r,i=(n=n||{}).font||this.internal.getFont(),A=n.fontSize||this.internal.getFontSize(),b=n.charSpace||this.internal.getCharSpace(),y=n.widths?n.widths:i.metadata.Unicode.widths,I=y.fof?y.fof:1,P=n.kerning?n.kerning:i.metadata.Unicode.kerning,X=P.fof?P.fof:1,Ce=n.doKerning!==!1,Le=0,V=e.length,tt=0,Je=y[0]||I,rt=[];for(t=0;t<V;t++)r=e.charCodeAt(t),typeof i.metadata.widthOfString=="function"?rt.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+b*(1e3/A)||0)/1e3):(Le=Ce&&(0,ye.Z)(P[r])==="object"&&!isNaN(parseInt(P[r][tt],10))?P[r][tt]/X:0,rt.push((y[r]||Je)/I+Le)),tt=r;return rt},Qg=Kf.getStringUnitWidth=function(e,n){var t=(n=n||{}).fontSize||this.internal.getFontSize(),r=n.font||this.internal.getFont(),i=n.charSpace||this.internal.getCharSpace();return Kf.processArabic&&(e=Kf.processArabic(e)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(e,t,i)/t:j0.apply(this,arguments).reduce(function(A,b){return A+b},0)},Pg=function(e,n,t,r){for(var i=[],A=0,b=e.length,y=0;A!==b&&y+n[A]<t;)y+=n[A],A++;i.push(e.slice(0,A));var I=A;for(y=0;A!==b;)y+n[A]>r&&(i.push(e.slice(I,A)),y=0,I=A),y+=n[A],A++;return I!==A&&i.push(e.slice(I,A)),i},Dg=function(e,n,t){t||(t={});var r,i,A,b,y,I,P,X=[],Ce=[X],Le=t.textIndent||0,V=0,tt=0,Je=e.split(" "),rt=j0.apply(this,[" ",t])[0];if(I=t.lineIndent===-1?Je[0].length+2:t.lineIndent||0){var ke=Array(I).join(" "),Ut=[];Je.map(function(dt){(dt=dt.split(/\s*\n/)).length>1?Ut=Ut.concat(dt.map(function(fn,jn){return(jn&&fn.length?`
|
|
|
`:"")+fn})):Ut.push(dt[0])}),Je=Ut,I=Qg.apply(this,[ke,t])}for(A=0,b=Je.length;A<b;A++){var wt=0;if(r=Je[A],I&&r[0]==`
|
|
|
`&&(r=r.substr(1),wt=1),Le+V+(tt=(i=j0.apply(this,[r,t])).reduce(function(dt,fn){return dt+fn},0))>n||wt){if(tt>n){for(y=Pg.apply(this,[r,i,n-(Le+V),n]),X.push(y.shift()),X=[y.pop()];y.length;)Ce.push([y.shift()]);tt=i.slice(r.length-(X[0]?X[0].length:0)).reduce(function(dt,fn){return dt+fn},0)}else X=[r];Ce.push(X),Le=tt+I,V=rt}else X.push(r),Le+=V+tt,V=rt}return P=I?function(dt,fn){return(fn?ke:"")+dt.join(" ")}:function(dt){return dt.join(" ")},Ce.map(P)},Kf.splitTextToSize=function(e,n,t){var r,i=(t=t||{}).fontSize||this.internal.getFontSize(),A=function(X){if(X.widths&&X.kerning)return{widths:X.widths,kerning:X.kerning};var Ce=this.internal.getFont(X.fontName,X.fontStyle),Le="Unicode";return Ce.metadata[Le]?{widths:Ce.metadata[Le].widths||{0:1},kerning:Ce.metadata[Le].kerning||{}}:{font:Ce.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,t);r=Array.isArray(e)?e:String(e).split(/\r?\n/);var b=1*this.internal.scaleFactor*n/i;A.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/i:0,A.lineIndent=t.lineIndent;var y,I,P=[];for(y=0,I=r.length;y<I;y++)P=P.concat(Dg.apply(this,[r[y],b,A]));return P},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var n="0123456789abcdef",t="klmnopqrstuvwxyz",r={},i={},A=0;A<16;A++)r[t[A]]=n[A],i[n[A]]=t[A];var b=function(Le){return"0x"+parseInt(Le,10).toString(16)},y=e.__fontmetrics__.compress=function(Le){var V,tt,Je,rt,ke=["{"];for(var Ut in Le){if(V=Le[Ut],isNaN(parseInt(Ut,10))?tt="'"+Ut+"'":(Ut=parseInt(Ut,10),tt=(tt=b(Ut).slice(2)).slice(0,-1)+i[tt.slice(-1)]),typeof V=="number")V<0?(Je=b(V).slice(3),rt="-"):(Je=b(V).slice(2),rt=""),Je=rt+Je.slice(0,-1)+i[Je.slice(-1)];else{if((0,ye.Z)(V)!=="object")throw new Error("Don't know what to do with value type "+(0,ye.Z)(V)+".");Je=y(V)}ke.push(tt+Je)}return ke.push("}"),ke.join("")},I=e.__fontmetrics__.uncompress=function(Le){if(typeof Le!="string")throw new Error("Invalid argument passed to uncompress.");for(var V,tt,Je,rt,ke={},Ut=1,wt=ke,dt=[],fn="",jn="",Cn=Le.length-1,Dt=1;Dt<Cn;Dt+=1)(rt=Le[Dt])=="'"?V?(Je=V.join(""),V=void 0):V=[]:V?V.push(rt):rt=="{"?(dt.push([wt,Je]),wt={},Je=void 0):rt=="}"?((tt=dt.pop())[0][tt[1]]=wt,Je=void 0,wt=tt[0]):rt=="-"?Ut=-1:Je===void 0?r.hasOwnProperty(rt)?(fn+=r[rt],Je=parseInt(fn,16)*Ut,Ut=1,fn=""):fn+=rt:r.hasOwnProperty(rt)?(jn+=r[rt],wt[Je]=parseInt(jn,16)*Ut,Ut=1,Je=void 0,jn=""):jn+=rt;return ke},P={codePages:["WinAnsiEncoding"],WinAnsiEncoding:I("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},X={Unicode:{Courier:P,"Courier-Bold":P,"Courier-BoldOblique":P,"Courier-Oblique":P,Helvetica:P,"Helvetica-Bold":P,"Helvetica-BoldOblique":P,"Helvetica-Oblique":P,"Times-Roman":P,"Times-Bold":P,"Times-BoldItalic":P,"Times-Italic":P}},Ce={Unicode:{"Courier-Oblique":I("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":I("{'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":I("{'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:I("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":I("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":I("{'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:I("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:I("{'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":I("{'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:I("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":I("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":I("{'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":I("{'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":I("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(Le){var V=Le.font,tt=Ce.Unicode[V.postScriptName];tt&&(V.metadata.Unicode={},V.metadata.Unicode.widths=tt.widths,V.metadata.Unicode.kerning=tt.kerning);var Je=X.Unicode[V.postScriptName];Je&&(V.metadata.Unicode.encoding=Je,V.encoding=Je.codePages[0])}])}(Fi.API),function(e){var n=function(t){for(var r=t.length,i=new Uint8Array(r),A=0;A<r;A++)i[A]=t.charCodeAt(A);return i};e.API.events.push(["addFont",function(t){var r=void 0,i=t.font,A=t.instance;if(!i.isStandardFont){if(A===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=A.existsFileInVFS(i.postScriptName)===!1?A.loadFile(i.postScriptName):A.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(b,y){y=/^\x00\x01\x00\x00/.test(y)?n(y):n(kd(y)),b.metadata=e.API.TTFFont.open(y),b.metadata.Unicode=b.metadata.Unicode||{encoding:{},kerning:{},widths:[]},b.metadata.glyIdsUsed=[0]})(i,r)}}])}(Fi),Fi.API.addSvgAsImage=function(e,n,t,r,i,A,b,y){if(isNaN(n)||isNaN(t))throw ka.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw ka.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var I=document.createElement("canvas");I.width=r,I.height=i;var P=I.getContext("2d");P.fillStyle="#fff",P.fillRect(0,0,I.width,I.height);var X={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},Ce=this;return(ao.canvg?Promise.resolve(ao.canvg):h.e(3754).then(h.bind(h,63754))).catch(function(Le){return Promise.reject(new Error("Could not load canvg: "+Le))}).then(function(Le){return Le.default?Le.default:Le}).then(function(Le){return Le.fromString(P,e,X)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(Le){return Le.render(X)}).then(function(){Ce.addImage(I.toDataURL("image/jpeg",1),n,t,r,i,b,y)})},Fi.API.putTotalPages=function(e){var n,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(e,"g"),t=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(n,t);return this},Fi.API.viewerPreferences=function(e,n){var t;e=e||{},n=n||!1;var r,i,A,b={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}},y=Object.keys(b),I=[],P=0,X=0,Ce=0;function Le(tt,Je){var rt,ke=!1;for(rt=0;rt<tt.length;rt+=1)tt[rt]===Je&&(ke=!0);return ke}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(b)),this.internal.viewerpreferences.isSubscribed=!1),t=this.internal.viewerpreferences.configuration,e==="reset"||n===!0){var V=y.length;for(Ce=0;Ce<V;Ce+=1)t[y[Ce]].value=t[y[Ce]].defaultValue,t[y[Ce]].explicitSet=!1}if((0,ye.Z)(e)==="object"){for(i in e)if(A=e[i],Le(y,i)&&A!==void 0){if(t[i].type==="boolean"&&typeof A=="boolean")t[i].value=A;else if(t[i].type==="name"&&Le(t[i].valueSet,A))t[i].value=A;else if(t[i].type==="integer"&&Number.isInteger(A))t[i].value=A;else if(t[i].type==="array"){for(P=0;P<A.length;P+=1)if(r=!0,A[P].length===1&&typeof A[P][0]=="number")I.push(String(A[P]-1));else if(A[P].length>1){for(X=0;X<A[P].length;X+=1)typeof A[P][X]!="number"&&(r=!1);r===!0&&I.push([A[P][0]-1,A[P][1]-1].join(" "))}t[i].value="["+I.join(" ")+"]"}else t[i].value=t[i].defaultValue;t[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var tt,Je=[];for(tt in t)t[tt].explicitSet===!0&&(t[tt].type==="name"?Je.push("/"+tt+" /"+t[tt].value):Je.push("/"+tt+" "+t[tt].value));Je.length!==0&&this.internal.write(`/ViewerPreferences
|
|
|
<<
|
|
|
`+Je.join(`
|
|
|
`)+`
|
|
|
>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=t,this},function(e){var n=function(){var r='<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>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),A=unescape(encodeURIComponent(r)),b=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),y=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),I=unescape(encodeURIComponent("</x:xmpmeta>")),P=A.length+b.length+y.length+i.length+I.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+P+" >>"),this.internal.write("stream"),this.internal.write(i+A+b+y+I),this.internal.write("endstream"),this.internal.write("endobj")},t=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(r,i){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",t),this.internal.events.subscribe("postPutResources",n)),this}}(Fi.API),function(e){var n=e.API,t=n.pdfEscape16=function(A,b){for(var y,I=b.metadata.Unicode.widths,P=["","0","00","000","0000"],X=[""],Ce=0,Le=A.length;Ce<Le;++Ce){if(y=b.metadata.characterToGlyph(A.charCodeAt(Ce)),b.metadata.glyIdsUsed.push(y),b.metadata.toUnicode[y]=A.charCodeAt(Ce),I.indexOf(y)==-1&&(I.push(y),I.push([parseInt(b.metadata.widthOfGlyph(y),10)])),y=="0")return X.join("");y=y.toString(16),X.push(P[4-y.length],y)}return X.join("")},r=function(A){var b,y,I,P,X,Ce,Le;for(X=`/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`,I=[],Ce=0,Le=(y=Object.keys(A).sort(function(V,tt){return V-tt})).length;Ce<Le;Ce++)b=y[Ce],I.length>=100&&(X+=`
|
|
|
`+I.length+` beginbfchar
|
|
|
`+I.join(`
|
|
|
`)+`
|
|
|
endbfchar`,I=[]),A[b]!==void 0&&A[b]!==null&&typeof A[b].toString=="function"&&(P=("0000"+A[b].toString(16)).slice(-4),b=("0000"+(+b).toString(16)).slice(-4),I.push("<"+b+"><"+P+">"));return I.length&&(X+=`
|
|
|
`+I.length+` beginbfchar
|
|
|
`+I.join(`
|
|
|
`)+`
|
|
|
endbfchar
|
|
|
`),X+`endcmap
|
|
|
CMapName currentdict /CMap defineresource pop
|
|
|
end
|
|
|
end`};n.events.push(["putFont",function(A){(function(b){var y=b.font,I=b.out,P=b.newObject,X=b.putStream;if(y.metadata instanceof e.API.TTFFont&&y.encoding==="Identity-H"){for(var Ce=y.metadata.Unicode.widths,Le=y.metadata.subset.encode(y.metadata.glyIdsUsed,1),V="",tt=0;tt<Le.length;tt++)V+=String.fromCharCode(Le[tt]);var Je=P();X({data:V,addLength1:!0,objectId:Je}),I("endobj");var rt=P();X({data:r(y.metadata.toUnicode),addLength1:!0,objectId:rt}),I("endobj");var ke=P();I("<<"),I("/Type /FontDescriptor"),I("/FontName /"+Fl(y.fontName)),I("/FontFile2 "+Je+" 0 R"),I("/FontBBox "+e.API.PDFObject.convert(y.metadata.bbox)),I("/Flags "+y.metadata.flags),I("/StemV "+y.metadata.stemV),I("/ItalicAngle "+y.metadata.italicAngle),I("/Ascent "+y.metadata.ascender),I("/Descent "+y.metadata.decender),I("/CapHeight "+y.metadata.capHeight),I(">>"),I("endobj");var Ut=P();I("<<"),I("/Type /Font"),I("/BaseFont /"+Fl(y.fontName)),I("/FontDescriptor "+ke+" 0 R"),I("/W "+e.API.PDFObject.convert(Ce)),I("/CIDToGIDMap /Identity"),I("/DW 1000"),I("/Subtype /CIDFontType2"),I("/CIDSystemInfo"),I("<<"),I("/Supplement 0"),I("/Registry (Adobe)"),I("/Ordering ("+y.encoding+")"),I(">>"),I(">>"),I("endobj"),y.objectNumber=P(),I("<<"),I("/Type /Font"),I("/Subtype /Type0"),I("/ToUnicode "+rt+" 0 R"),I("/BaseFont /"+Fl(y.fontName)),I("/Encoding /"+y.encoding),I("/DescendantFonts ["+Ut+" 0 R]"),I(">>"),I("endobj"),y.isAlreadyPutted=!0}})(A)}]),n.events.push(["putFont",function(A){(function(b){var y=b.font,I=b.out,P=b.newObject,X=b.putStream;if(y.metadata instanceof e.API.TTFFont&&y.encoding==="WinAnsiEncoding"){for(var Ce=y.metadata.rawData,Le="",V=0;V<Ce.length;V++)Le+=String.fromCharCode(Ce[V]);var tt=P();X({data:Le,addLength1:!0,objectId:tt}),I("endobj");var Je=P();X({data:r(y.metadata.toUnicode),addLength1:!0,objectId:Je}),I("endobj");var rt=P();I("<<"),I("/Descent "+y.metadata.decender),I("/CapHeight "+y.metadata.capHeight),I("/StemV "+y.metadata.stemV),I("/Type /FontDescriptor"),I("/FontFile2 "+tt+" 0 R"),I("/Flags 96"),I("/FontBBox "+e.API.PDFObject.convert(y.metadata.bbox)),I("/FontName /"+Fl(y.fontName)),I("/ItalicAngle "+y.metadata.italicAngle),I("/Ascent "+y.metadata.ascender),I(">>"),I("endobj"),y.objectNumber=P();for(var ke=0;ke<y.metadata.hmtx.widths.length;ke++)y.metadata.hmtx.widths[ke]=parseInt(y.metadata.hmtx.widths[ke]*(1e3/y.metadata.head.unitsPerEm));I("<</Subtype/TrueType/Type/Font/ToUnicode "+Je+" 0 R/BaseFont/"+Fl(y.fontName)+"/FontDescriptor "+rt+" 0 R/Encoding/"+y.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(y.metadata.hmtx.widths)+">>"),I("endobj"),y.isAlreadyPutted=!0}})(A)}]);var i=function(A){var b,y=A.text||"",I=A.x,P=A.y,X=A.options||{},Ce=A.mutex||{},Le=Ce.pdfEscape,V=Ce.activeFontKey,tt=Ce.fonts,Je=V,rt="",ke=0,Ut="",wt=tt[Je].encoding;if(tt[Je].encoding!=="Identity-H")return{text:y,x:I,y:P,options:X,mutex:Ce};for(Ut=y,Je=V,Array.isArray(y)&&(Ut=y[0]),ke=0;ke<Ut.length;ke+=1)tt[Je].metadata.hasOwnProperty("cmap")&&(b=tt[Je].metadata.cmap.unicode.codeMap[Ut[ke].charCodeAt(0)]),b||Ut[ke].charCodeAt(0)<256&&tt[Je].metadata.hasOwnProperty("Unicode")?rt+=Ut[ke]:rt+="";var dt="";return parseInt(Je.slice(1))<14||wt==="WinAnsiEncoding"?dt=Le(rt,Je).split("").map(function(fn){return fn.charCodeAt(0).toString(16)}).join(""):wt==="Identity-H"&&(dt=t(rt,tt[Je])),Ce.isHex=!0,{text:dt,x:I,y:P,options:X,mutex:Ce}};n.events.push(["postProcessText",function(A){var b=A.text||"",y=[],I={text:b,x:A.x,y:A.y,options:A.options,mutex:A.mutex};if(Array.isArray(b)){var P=0;for(P=0;P<b.length;P+=1)Array.isArray(b[P])&&b[P].length===3?y.push([i(Object.assign({},I,{text:b[P][0]})).text,b[P][1],b[P][2]]):y.push(i(Object.assign({},I,{text:b[P]})).text);A.text=y}else A.text=i(Object.assign({},I,{text:b})).text}])}(Fi),function(e){var n=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(t){return n.call(this),this.internal.vFS[t]!==void 0},e.addFileToVFS=function(t,r){return n.call(this),this.internal.vFS[t]=r,this},e.getFileFromVFS=function(t){return n.call(this),this.internal.vFS[t]!==void 0?this.internal.vFS[t]:null}}(Fi.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(r){var i,A,b,y,I,P,X,Ce=n,Le=[[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]],V=[[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]],tt={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},Je={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},rt=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],ke=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)$/),Ut=!1,wt=0;this.__bidiEngine__={};var dt=function($e){var it=$e.charCodeAt(),St=it>>8,Bt=Je[St];return Bt!==void 0?Ce[256*Bt+(255&it)]:St===252||St===253?"AL":ke.test(St)?"L":St===8?"R":"N"},fn=function($e){for(var it,St=0;St<$e.length;St++){if((it=dt($e.charAt(St)))==="L")return!1;if(it==="R")return!0}return!1},jn=function($e,it,St,Bt){var vn,Bn,In,cn,Nn=it[Bt];switch(Nn){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Ut=!1;break;case"N":case"AN":break;case"EN":Ut&&(Nn="AN");break;case"AL":Ut=!0,Nn="R";break;case"WS":case"BN":Nn="N";break;case"CS":Bt<1||Bt+1>=it.length||(vn=St[Bt-1])!=="EN"&&vn!=="AN"||(Bn=it[Bt+1])!=="EN"&&Bn!=="AN"?Nn="N":Ut&&(Bn="AN"),Nn=Bn===vn?Bn:"N";break;case"ES":Nn=(vn=Bt>0?St[Bt-1]:"B")==="EN"&&Bt+1<it.length&&it[Bt+1]==="EN"?"EN":"N";break;case"ET":if(Bt>0&&St[Bt-1]==="EN"){Nn="EN";break}if(Ut){Nn="N";break}for(In=Bt+1,cn=it.length;In<cn&&it[In]==="ET";)In++;Nn=In<cn&&it[In]==="EN"?"EN":"N";break;case"NSM":if(b&&!y){for(cn=it.length,In=Bt+1;In<cn&&it[In]==="NSM";)In++;if(In<cn){var _r=$e[Bt],rr=_r>=1425&&_r<=2303||_r===64286;if(vn=it[In],rr&&(vn==="R"||vn==="AL")){Nn="R";break}}}Nn=Bt<1||(vn=it[Bt-1])==="B"?"N":St[Bt-1];break;case"B":Ut=!1,i=!0,Nn=wt;break;case"S":A=!0,Nn="N"}return Nn},Cn=function($e,it,St){var Bt=$e.split("");return St&&Dt(Bt,St,{hiLevel:wt}),Bt.reverse(),it&&it.reverse(),Bt.join("")},Dt=function($e,it,St){var Bt,vn,Bn,In,cn,Nn=-1,_r=$e.length,rr=0,Me=[],ct=wt?V:Le,vt=[];for(Ut=!1,i=!1,A=!1,vn=0;vn<_r;vn++)vt[vn]=dt($e[vn]);for(Bn=0;Bn<_r;Bn++){if(cn=rr,Me[Bn]=jn($e,vt,Me,Bn),Bt=240&(rr=ct[cn][tt[Me[Bn]]]),rr&=15,it[Bn]=In=ct[rr][5],Bt>0)if(Bt===16){for(vn=Nn;vn<Bn;vn++)it[vn]=1;Nn=-1}else Nn=-1;if(ct[rr][6])Nn===-1&&(Nn=Bn);else if(Nn>-1){for(vn=Nn;vn<Bn;vn++)it[vn]=In;Nn=-1}vt[Bn]==="B"&&(it[Bn]=0),St.hiLevel|=In}A&&function(_t,zt,un){for(var En=0;En<un;En++)if(_t[En]==="S"){zt[En]=wt;for(var bn=En-1;bn>=0&&_t[bn]==="WS";bn--)zt[bn]=wt}}(vt,it,_r)},ft=function($e,it,St,Bt,vn){if(!(vn.hiLevel<$e)){if($e===1&&wt===1&&!i)return it.reverse(),void(St&&St.reverse());for(var Bn,In,cn,Nn,_r=it.length,rr=0;rr<_r;){if(Bt[rr]>=$e){for(cn=rr+1;cn<_r&&Bt[cn]>=$e;)cn++;for(Nn=rr,In=cn-1;Nn<In;Nn++,In--)Bn=it[Nn],it[Nn]=it[In],it[In]=Bn,St&&(Bn=St[Nn],St[Nn]=St[In],St[In]=Bn);rr=cn}rr++}}},nn=function($e,it,St){var Bt=$e.split(""),vn={hiLevel:wt};return St||(St=[]),Dt(Bt,St,vn),function(Bn,In,cn){if(cn.hiLevel!==0&&X)for(var Nn,_r=0;_r<Bn.length;_r++)In[_r]===1&&(Nn=rt.indexOf(Bn[_r]))>=0&&(Bn[_r]=rt[Nn+1])}(Bt,St,vn),ft(2,Bt,it,St,vn),ft(1,Bt,it,St,vn),Bt.join("")};return this.__bidiEngine__.doBidiReorder=function($e,it,St){if(function(vn,Bn){if(Bn)for(var In=0;In<vn.length;In++)Bn[In]=In;y===void 0&&(y=fn(vn)),P===void 0&&(P=fn(vn))}($e,it),b||!I||P)if(b&&I&&y^P)wt=y?1:0,$e=Cn($e,it,St);else if(!b&&I&&P)wt=y?1:0,$e=nn($e,it,St),$e=Cn($e,it);else if(!b||y||I||P){if(b&&!I&&y^P)$e=Cn($e,it),y?(wt=0,$e=nn($e,it,St)):(wt=1,$e=nn($e,it,St),$e=Cn($e,it));else if(b&&y&&!I&&P)wt=1,$e=nn($e,it,St),$e=Cn($e,it);else if(!b&&!I&&y^P){var Bt=X;y?(wt=1,$e=nn($e,it,St),wt=0,X=!1,$e=nn($e,it,St),X=Bt):(wt=0,$e=nn($e,it,St),$e=Cn($e,it),wt=1,X=!1,$e=nn($e,it,St),X=Bt,$e=Cn($e,it))}}else wt=0,$e=nn($e,it,St);else wt=y?1:0,$e=nn($e,it,St);return $e},this.__bidiEngine__.setOptions=function($e){$e&&(b=$e.isInputVisual,I=$e.isOutputVisual,y=$e.isInputRtl,P=$e.isOutputRtl,X=$e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var n=["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"],t=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(r){var i=r.text;r.x,r.y;var A=r.options||{};r.mutex,A.lang;var b=[];if(A.isInputVisual=typeof A.isInputVisual!="boolean"||A.isInputVisual,t.setOptions(A),Object.prototype.toString.call(i)==="[object Array]"){var y=0;for(b=[],y=0;y<i.length;y+=1)Object.prototype.toString.call(i[y])==="[object Array]"?b.push([t.doBidiReorder(i[y][0]),i[y][1],i[y][2]]):b.push([t.doBidiReorder(i[y])]);r.text=b}else r.text=t.doBidiReorder(i);t.setOptions({isInputVisual:!0})}])}(Fi),Fi.API.TTFFont=function(){function e(n){var t;if(this.rawData=n,t=this.contents=new nd(n),this.contents.pos=4,t.readString(4)==="ttcf")throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Jm(this),this.registerTTF()}return e.open=function(n){return new e(n)},e.prototype.parse=function(){return this.directory=new Tm(this.contents),this.head=new jm(this),this.name=new zm(this),this.cmap=new Wg(this),this.toUnicode={},this.hhea=new Hm(this),this.maxp=new Zm(this),this.hmtx=new Wm(this),this.post=new km(this),this.os2=new $m(this),this.loca=new Ym(this),this.glyf=new Vm(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var n,t,r,i,A;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var b,y,I,P;for(P=[],b=0,y=(I=this.bbox).length;b<y;b++)n=I[b],P.push(Math.round(n*this.scaleFactor));return P}.call(this),this.stemV=0,this.post.exists?(r=255&(i=this.post.italic_angle),32768&(t=i>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(A=this.familyClass)===1||A===2||A===3||A===4||A===5||A===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(n){var t;return((t=this.cmap.unicode)!=null?t.codeMap[n]:void 0)||0},e.prototype.widthOfGlyph=function(n){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(n).advance*t},e.prototype.widthOfString=function(n,t,r){var i,A,b,y;for(b=0,A=0,y=(n=""+n).length;0<=y?A<y:A>y;A=0<=y?++A:--A)i=n.charCodeAt(A),b+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/t)||0;return b*(t/1e3)},e.prototype.lineHeight=function(n,t){var r;return t==null&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*n},e}();var Ec,nd=function(){function e(n){this.data=n!=null?n:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(n){return this.data[this.pos++]=n},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(n){return this.writeByte(n>>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt32=function(){var n;return(n=this.readUInt32())>=2147483648?n-4294967296:n},e.prototype.writeInt32=function(n){return n<0&&(n+=4294967296),this.writeUInt32(n)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(n){return this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt16=function(){var n;return(n=this.readUInt16())>=32768?n-65536:n},e.prototype.writeInt16=function(n){return n<0&&(n+=65536),this.writeUInt16(n)},e.prototype.readString=function(n){var t,r;for(r=[],t=0;0<=n?t<n:t>n;t=0<=n?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(n){var t,r,i;for(i=[],t=0,r=n.length;0<=r?t<r:t>r;t=0<=r?++t:--t)i.push(this.writeByte(n.charCodeAt(t)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(n){return this.writeInt16(n)},e.prototype.readLongLong=function(){var n,t,r,i,A,b,y,I;return n=this.readByte(),t=this.readByte(),r=this.readByte(),i=this.readByte(),A=this.readByte(),b=this.readByte(),y=this.readByte(),I=this.readByte(),128&n?-1*(72057594037927940*(255^n)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^A)+65536*(255^b)+256*(255^y)+(255^I)+1):72057594037927940*n+281474976710656*t+1099511627776*r+4294967296*i+16777216*A+65536*b+256*y+I},e.prototype.writeLongLong=function(n){var t,r;return t=Math.floor(n/4294967296),r=4294967295&n,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(n){return this.writeInt32(n)},e.prototype.read=function(n){var t,r;for(t=[],r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(n){var t,r,i,A;for(A=[],r=0,i=n.length;r<i;r++)t=n[r],A.push(this.writeByte(t));return A},e}(),Tm=function(){var e;function n(t){var r,i,A;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},i=0,A=this.tableCount;0<=A?i<A:i>A;i=0<=A?++i:--i)r={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[r.tag]=r}return n.prototype.encode=function(t){var r,i,A,b,y,I,P,X,Ce,Le,V,tt,Je;for(Je in V=Object.keys(t).length,I=Math.log(2),Ce=16*Math.floor(Math.log(V)/I),b=Math.floor(Ce/I),X=16*V-Ce,(i=new nd).writeInt(this.scalarType),i.writeShort(V),i.writeShort(Ce),i.writeShort(b),i.writeShort(X),A=16*V,P=i.pos+A,y=null,tt=[],t)for(Le=t[Je],i.writeString(Je),i.writeInt(e(Le)),i.writeInt(P),i.writeInt(Le.length),tt=tt.concat(Le),Je==="head"&&(y=P),P+=Le.length;P%4;)tt.push(0),P++;return i.write(tt),r=2981146554-e(i.data),i.pos=y+8,i.writeUInt32(r),i.data},e=function(t){var r,i,A,b;for(t=Vg.call(t);t.length%4;)t.push(0);for(A=new nd(t),i=0,r=0,b=t.length;r<b;r=r+=4)i+=A.readUInt32();return 4294967295&i},n}(),Mm={}.hasOwnProperty,Xc=function(e,n){for(var t in n)Mm.call(n,t)&&(e[t]=n[t]);function r(){this.constructor=e}return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e};Ec=function(){function e(n){var t;this.file=n,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var jm=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="head",e.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},e.prototype.encode=function(n){var t;return(t=new nd).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(n),t.writeShort(this.glyphDataFormat),t.data},e}(),Zg=function(){function e(n,t){var r,i,A,b,y,I,P,X,Ce,Le,V,tt,Je,rt,ke,Ut,wt;switch(this.platformID=n.readUInt16(),this.encodingID=n.readShort(),this.offset=t+n.readInt(),Ce=n.pos,n.pos=this.offset,this.format=n.readUInt16(),this.length=n.readUInt16(),this.language=n.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(I=0;I<256;++I)this.codeMap[I]=n.readByte();break;case 4:for(V=n.readUInt16(),Le=V/2,n.pos+=6,A=function(){var dt,fn;for(fn=[],I=dt=0;0<=Le?dt<Le:dt>Le;I=0<=Le?++dt:--dt)fn.push(n.readUInt16());return fn}(),n.pos+=2,Je=function(){var dt,fn;for(fn=[],I=dt=0;0<=Le?dt<Le:dt>Le;I=0<=Le?++dt:--dt)fn.push(n.readUInt16());return fn}(),P=function(){var dt,fn;for(fn=[],I=dt=0;0<=Le?dt<Le:dt>Le;I=0<=Le?++dt:--dt)fn.push(n.readUInt16());return fn}(),X=function(){var dt,fn;for(fn=[],I=dt=0;0<=Le?dt<Le:dt>Le;I=0<=Le?++dt:--dt)fn.push(n.readUInt16());return fn}(),i=(this.length-n.pos+this.offset)/2,y=function(){var dt,fn;for(fn=[],I=dt=0;0<=i?dt<i:dt>i;I=0<=i?++dt:--dt)fn.push(n.readUInt16());return fn}(),I=ke=0,wt=A.length;ke<wt;I=++ke)for(rt=A[I],r=Ut=tt=Je[I];tt<=rt?Ut<=rt:Ut>=rt;r=tt<=rt?++Ut:--Ut)X[I]===0?b=r+P[I]:(b=y[X[I]/2+(r-tt)-(Le-I)]||0)!==0&&(b+=P[I]),this.codeMap[r]=65535&b}n.pos=Ce}return e.encode=function(n,t){var r,i,A,b,y,I,P,X,Ce,Le,V,tt,Je,rt,ke,Ut,wt,dt,fn,jn,Cn,Dt,ft,nn,$e,it,St,Bt,vn,Bn,In,cn,Nn,_r,rr,Me,ct,vt,_t,zt,un,En,bn,Gn,vr,ri;switch(Bt=new nd,b=Object.keys(n).sort(function(ai,Rn){return ai-Rn}),t){case"macroman":for(Je=0,rt=function(){var ai=[];for(tt=0;tt<256;++tt)ai.push(0);return ai}(),Ut={0:0},A={},vn=0,Nn=b.length;vn<Nn;vn++)Ut[bn=n[i=b[vn]]]==null&&(Ut[bn]=++Je),A[i]={old:n[i],new:Ut[n[i]]},rt[i]=Ut[n[i]];return Bt.writeUInt16(1),Bt.writeUInt16(0),Bt.writeUInt32(12),Bt.writeUInt16(0),Bt.writeUInt16(262),Bt.writeUInt16(0),Bt.write(rt),{charMap:A,subtable:Bt.data,maxGlyphID:Je+1};case"unicode":for(it=[],Ce=[],wt=0,Ut={},r={},ke=P=null,Bn=0,_r=b.length;Bn<_r;Bn++)Ut[fn=n[i=b[Bn]]]==null&&(Ut[fn]=++wt),r[i]={old:fn,new:Ut[fn]},y=Ut[fn]-i,ke!=null&&y===P||(ke&&Ce.push(ke),it.push(i),P=y),ke=i;for(ke&&Ce.push(ke),Ce.push(65535),it.push(65535),nn=2*(ft=it.length),Dt=2*Math.pow(Math.log(ft)/Math.LN2,2),Le=Math.log(Dt/2)/Math.LN2,Cn=2*ft-Dt,I=[],jn=[],V=[],tt=In=0,rr=it.length;In<rr;tt=++In){if($e=it[tt],X=Ce[tt],$e===65535){I.push(0),jn.push(0);break}if($e-(St=r[$e].new)>=32768)for(I.push(0),jn.push(2*(V.length+ft-tt)),i=cn=$e;$e<=X?cn<=X:cn>=X;i=$e<=X?++cn:--cn)V.push(r[i].new);else I.push(St-$e),jn.push(0)}for(Bt.writeUInt16(3),Bt.writeUInt16(1),Bt.writeUInt32(12),Bt.writeUInt16(4),Bt.writeUInt16(16+8*ft+2*V.length),Bt.writeUInt16(0),Bt.writeUInt16(nn),Bt.writeUInt16(Dt),Bt.writeUInt16(Le),Bt.writeUInt16(Cn),un=0,Me=Ce.length;un<Me;un++)i=Ce[un],Bt.writeUInt16(i);for(Bt.writeUInt16(0),En=0,ct=it.length;En<ct;En++)i=it[En],Bt.writeUInt16(i);for(Gn=0,vt=I.length;Gn<vt;Gn++)y=I[Gn],Bt.writeUInt16(y);for(vr=0,_t=jn.length;vr<_t;vr++)dt=jn[vr],Bt.writeUInt16(dt);for(ri=0,zt=V.length;ri<zt;ri++)Je=V[ri],Bt.writeUInt16(Je);return{charMap:r,subtable:Bt.data,maxGlyphID:wt+1}}},e}(),Wg=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="cmap",e.prototype.parse=function(n){var t,r,i;for(n.pos=this.offset,this.version=n.readUInt16(),i=n.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=i?r<i:r>i;r=0<=i?++r:--r)t=new Zg(n,this.offset),this.tables.push(t),t.isUnicode&&this.unicode==null&&(this.unicode=t);return!0},e.encode=function(n,t){var r,i;return t==null&&(t="macroman"),r=Zg.encode(n,t),(i=new nd).writeUInt16(0),i.writeUInt16(1),r.table=i.data.concat(r.subtable),r},e}(),Hm=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="hhea",e.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.ascender=n.readShort(),this.decender=n.readShort(),this.lineGap=n.readShort(),this.advanceWidthMax=n.readShort(),this.minLeftSideBearing=n.readShort(),this.minRightSideBearing=n.readShort(),this.xMaxExtent=n.readShort(),this.caretSlopeRise=n.readShort(),this.caretSlopeRun=n.readShort(),this.caretOffset=n.readShort(),n.pos+=8,this.metricDataFormat=n.readShort(),this.numberOfMetrics=n.readUInt16()},e}(),$m=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="OS/2",e.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(n.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(n.readInt());return r}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(n.readInt());return r}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},e}(),km=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="post",e.prototype.parse=function(n){var t,r,i;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:case 196608:break;case 131072:var A;for(r=n.readUInt16(),this.glyphNameIndex=[],A=0;0<=r?A<r:A>r;A=0<=r?++A:--A)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],i=[];n.pos<this.offset+this.length;)t=n.readByte(),i.push(this.names.push(n.readString(t)));return i;case 151552:return r=n.readUInt16(),this.offsets=n.read(r);case 262144:return this.map=function(){var b,y,I;for(I=[],A=b=0,y=this.file.maxp.numGlyphs;0<=y?b<y:b>y;A=0<=y?++b:--b)I.push(n.readUInt32());return I}.call(this)}},e}(),Km=function(e,n){this.raw=e,this.length=e.length,this.platformID=n.platformID,this.encodingID=n.encodingID,this.languageID=n.languageID},zm=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="name",e.prototype.parse=function(n){var t,r,i,A,b,y,I,P,X,Ce,Le;for(n.pos=this.offset,n.readShort(),t=n.readShort(),y=n.readShort(),r=[],A=0;0<=t?A<t:A>t;A=0<=t?++A:--A)r.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+y+n.readShort()});for(I={},A=X=0,Ce=r.length;X<Ce;A=++X)i=r[A],n.pos=i.offset,P=n.readString(i.length),b=new Km(P,i),I[Le=i.nameID]==null&&(I[Le]=[]),I[i.nameID].push(b);this.strings=I,this.copyright=I[0],this.fontFamily=I[1],this.fontSubfamily=I[2],this.uniqueSubfamily=I[3],this.fontName=I[4],this.version=I[5];try{this.postscriptName=I[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(V){this.postscriptName=I[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=I[7],this.manufacturer=I[8],this.designer=I[9],this.description=I[10],this.vendorUrl=I[11],this.designerUrl=I[12],this.license=I[13],this.licenseUrl=I[14],this.preferredFamily=I[15],this.preferredSubfamily=I[17],this.compatibleFull=I[18],this.sampleText=I[19]},e}(),Zm=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="maxp",e.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.numGlyphs=n.readUInt16(),this.maxPoints=n.readUInt16(),this.maxContours=n.readUInt16(),this.maxCompositePoints=n.readUInt16(),this.maxComponentContours=n.readUInt16(),this.maxZones=n.readUInt16(),this.maxTwilightPoints=n.readUInt16(),this.maxStorage=n.readUInt16(),this.maxFunctionDefs=n.readUInt16(),this.maxInstructionDefs=n.readUInt16(),this.maxStackElements=n.readUInt16(),this.maxSizeOfInstructions=n.readUInt16(),this.maxComponentElements=n.readUInt16(),this.maxComponentDepth=n.readUInt16()},e}(),Wm=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="hmtx",e.prototype.parse=function(n){var t,r,i,A,b,y,I;for(n.pos=this.offset,this.metrics=[],t=0,y=this.file.hhea.numberOfMetrics;0<=y?t<y:t>y;t=0<=y?++t:--t)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var P,X;for(X=[],t=P=0;0<=i?P<i:P>i;t=0<=i?++P:--P)X.push(n.readInt16());return X}(),this.widths=function(){var P,X,Ce,Le;for(Le=[],P=0,X=(Ce=this.metrics).length;P<X;P++)A=Ce[P],Le.push(A.advance);return Le}.call(this),r=this.widths[this.widths.length-1],I=[],t=b=0;0<=i?b<i:b>i;t=0<=i?++b:--b)I.push(this.widths.push(r));return I},e.prototype.forGlyph=function(n){return n in this.metrics?this.metrics[n]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[n-this.metrics.length]}},e}(),Vg=[].slice,Vm=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(n){var t,r,i,A,b,y,I,P,X,Ce;return n in this.cache?this.cache[n]:(A=this.file.loca,t=this.file.contents,r=A.indexOf(n),(i=A.lengthOf(n))===0?this.cache[n]=null:(t.pos=this.offset+r,b=(y=new nd(t.read(i))).readShort(),P=y.readShort(),Ce=y.readShort(),I=y.readShort(),X=y.readShort(),this.cache[n]=b===-1?new Xm(y,P,Ce,I,X):new Gm(y,b,P,Ce,I,X),this.cache[n]))},e.prototype.encode=function(n,t,r){var i,A,b,y,I;for(b=[],A=[],y=0,I=t.length;y<I;y++)i=n[t[y]],A.push(b.length),i&&(b=b.concat(i.encode(r)));return A.push(b.length),{table:b,offsets:A}},e}(),Gm=function(){function e(n,t,r,i,A,b){this.raw=n,this.numberOfContours=t,this.xMin=r,this.yMin=i,this.xMax=A,this.yMax=b,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Xm=function(){function e(n,t,r,i,A){var b,y;for(this.raw=n,this.xMin=t,this.yMin=r,this.xMax=i,this.yMax=A,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],b=this.raw;y=b.readShort(),this.glyphOffsets.push(b.pos),this.glyphIDs.push(b.readUInt16()),32&y;)b.pos+=1&y?4:2,128&y?b.pos+=8:64&y?b.pos+=4:8&y&&(b.pos+=2)}return e.prototype.encode=function(){var n,t,r;for(t=new nd(Vg.call(this.raw.data)),n=0,r=this.glyphIDs.length;n<r;++n)t.pos=this.glyphOffsets[n];return t.data},e}(),Ym=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return Xc(e,Ec),e.prototype.tag="loca",e.prototype.parse=function(n){var t,r;return n.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=t===0?function(){var i,A;for(A=[],r=0,i=this.length;r<i;r+=2)A.push(2*n.readUInt16());return A}.call(this):function(){var i,A;for(A=[],r=0,i=this.length;r<i;r+=4)A.push(n.readUInt32());return A}.call(this)},e.prototype.indexOf=function(n){return this.offsets[n]},e.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]},e.prototype.encode=function(n,t){for(var r=new Uint32Array(this.offsets.length),i=0,A=0,b=0;b<r.length;++b)if(r[b]=i,A<t.length&&t[A]==b){++A,r[b]=i;var y=this.offsets[b],I=this.offsets[b+1]-y;I>0&&(i+=I)}for(var P=new Array(4*r.length),X=0;X<r.length;++X)P[4*X+3]=255&r[X],P[4*X+2]=(65280&r[X])>>8,P[4*X+1]=(16711680&r[X])>>16,P[4*X]=(4278190080&r[X])>>24;return P},e}(),Jm=function(){function e(n){this.font=n,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var n,t,r,i,A;for(t in i=this.font.cmap.tables[0].codeMap,n={},A=this.subset)r=A[t],n[t]=i[r];return n},e.prototype.glyphsFor=function(n){var t,r,i,A,b,y,I;for(i={},b=0,y=n.length;b<y;b++)i[A=n[b]]=this.font.glyf.glyphFor(A);for(A in t=[],i)(r=i[A])!=null&&r.compound&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(A in I=this.glyphsFor(t))r=I[A],i[A]=r;return i},e.prototype.encode=function(n,t){var r,i,A,b,y,I,P,X,Ce,Le,V,tt,Je,rt,ke;for(i in r=Wg.encode(this.generateCmap(),"unicode"),b=this.glyphsFor(n),V={0:0},ke=r.charMap)V[(I=ke[i]).old]=I.new;for(tt in Le=r.maxGlyphID,b)tt in V||(V[tt]=Le++);return X=function(Ut){var wt,dt;for(wt in dt={},Ut)dt[Ut[wt]]=wt;return dt}(V),Ce=Object.keys(X).sort(function(Ut,wt){return Ut-wt}),Je=function(){var Ut,wt,dt;for(dt=[],Ut=0,wt=Ce.length;Ut<wt;Ut++)y=Ce[Ut],dt.push(X[y]);return dt}(),A=this.font.glyf.encode(b,Je,V),P=this.font.loca.encode(A.offsets,Je),rt={cmap:this.font.cmap.raw(),glyf:A.table,loca:P,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(rt["OS/2"]=this.font.os2.raw()),this.font.directory.encode(rt)},e}();Fi.API.PDFObject=function(){var e;function n(){}return e=function(t,r){return(Array(r+1).join("0")+t).slice(-r)},n.convert=function(t){var r,i,A,b;if(Array.isArray(t))return"["+function(){var y,I,P;for(P=[],y=0,I=t.length;y<I;y++)r=t[y],P.push(n.convert(r));return P}().join(" ")+"]";if(typeof t=="string")return"/"+t;if(t!=null&&t.isString)return"("+t+")";if(t instanceof Date)return"(D:"+e(t.getUTCFullYear(),4)+e(t.getUTCMonth(),2)+e(t.getUTCDate(),2)+e(t.getUTCHours(),2)+e(t.getUTCMinutes(),2)+e(t.getUTCSeconds(),2)+"Z)";if({}.toString.call(t)==="[object Object]"){for(i in A=["<<"],t)b=t[i],A.push("/"+i+" "+n.convert(b));return A.push(">>"),A.join(`
|
|
|
`)}return""+t},n}()},86129:function(tr,Ct,h){var ye=h(19208).lW,fe=h(97671);(function(H){tr.exports=H()})(function(){return function H(be,R,$){function v(s,L){if(!R[s]){if(!be[s]){var S=void 0;if(!L&&S)return require(s,!0);if(m)return m(s,!0);var w=new Error("Cannot find module '"+s+"'");throw w.code="MODULE_NOT_FOUND",w}var x=R[s]={exports:{}};be[s][0].call(x.exports,function(_){var B=be[s][1][_];return v(B||_)},x,x.exports,H,be,R,$)}return R[s].exports}for(var m=void 0,N=0;N<$.length;N++)v($[N]);return v}({1:[function(H,be,R){"use strict";var $=H("./utils"),v=H("./support"),m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";R.encode=function(N){for(var s,L,S,w,x,_,B,W=[],Q=0,q=N.length,Y=q,G=$.getTypeOf(N)!=="string";Q<N.length;)Y=q-Q,S=G?(s=N[Q++],L=Q<q?N[Q++]:0,Q<q?N[Q++]:0):(s=N.charCodeAt(Q++),L=Q<q?N.charCodeAt(Q++):0,Q<q?N.charCodeAt(Q++):0),w=s>>2,x=(3&s)<<4|L>>4,_=1<Y?(15&L)<<2|S>>6:64,B=2<Y?63&S:64,W.push(m.charAt(w)+m.charAt(x)+m.charAt(_)+m.charAt(B));return W.join("")},R.decode=function(N){var s,L,S,w,x,_,B=0,W=0,Q="data:";if(N.substr(0,Q.length)===Q)throw new Error("Invalid base64 input, it looks like a data url.");var q,Y=3*(N=N.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(N.charAt(N.length-1)===m.charAt(64)&&Y--,N.charAt(N.length-2)===m.charAt(64)&&Y--,Y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(q=v.uint8array?new Uint8Array(0|Y):new Array(0|Y);B<N.length;)s=m.indexOf(N.charAt(B++))<<2|(w=m.indexOf(N.charAt(B++)))>>4,L=(15&w)<<4|(x=m.indexOf(N.charAt(B++)))>>2,S=(3&x)<<6|(_=m.indexOf(N.charAt(B++))),q[W++]=s,x!==64&&(q[W++]=L),_!==64&&(q[W++]=S);return q}},{"./support":30,"./utils":32}],2:[function(H,be,R){"use strict";var $=H("./external"),v=H("./stream/DataWorker"),m=H("./stream/Crc32Probe"),N=H("./stream/DataLengthProbe");function s(L,S,w,x,_){this.compressedSize=L,this.uncompressedSize=S,this.crc32=w,this.compression=x,this.compressedContent=_}s.prototype={getContentWorker:function(){var L=new v($.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new N("data_length")),S=this;return L.on("end",function(){if(this.streamInfo.data_length!==S.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),L},getCompressedWorker:function(){return new v($.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(L,S,w){return L.pipe(new m).pipe(new N("uncompressedSize")).pipe(S.compressWorker(w)).pipe(new N("compressedSize")).withStreamInfo("compression",S)},be.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(H,be,R){"use strict";var $=H("./stream/GenericWorker");R.STORE={magic:"\0\0",compressWorker:function(){return new $("STORE compression")},uncompressWorker:function(){return new $("STORE decompression")}},R.DEFLATE=H("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(H,be,R){"use strict";var $=H("./utils"),v=function(){for(var m,N=[],s=0;s<256;s++){m=s;for(var L=0;L<8;L++)m=1&m?3988292384^m>>>1:m>>>1;N[s]=m}return N}();be.exports=function(m,N){return m!==void 0&&m.length?$.getTypeOf(m)!=="string"?function(s,L,S,w){var x=v,_=w+S;s^=-1;for(var B=w;B<_;B++)s=s>>>8^x[255&(s^L[B])];return-1^s}(0|N,m,m.length,0):function(s,L,S,w){var x=v,_=w+S;s^=-1;for(var B=w;B<_;B++)s=s>>>8^x[255&(s^L.charCodeAt(B))];return-1^s}(0|N,m,m.length,0):0}},{"./utils":32}],5:[function(H,be,R){"use strict";R.base64=!1,R.binary=!1,R.dir=!1,R.createFolders=!0,R.date=null,R.compression=null,R.compressionOptions=null,R.comment=null,R.unixPermissions=null,R.dosPermissions=null},{}],6:[function(H,be,R){"use strict";var $=null;$=typeof Promise!="undefined"?Promise:H("lie"),be.exports={Promise:$}},{lie:37}],7:[function(H,be,R){"use strict";var $=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",v=H("pako"),m=H("./utils"),N=H("./stream/GenericWorker"),s=$?"uint8array":"array";function L(S,w){N.call(this,"FlateWorker/"+S),this._pako=null,this._pakoAction=S,this._pakoOptions=w,this.meta={}}R.magic="\b\0",m.inherits(L,N),L.prototype.processChunk=function(S){this.meta=S.meta,this._pako===null&&this._createPako(),this._pako.push(m.transformTo(s,S.data),!1)},L.prototype.flush=function(){N.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},L.prototype.cleanUp=function(){N.prototype.cleanUp.call(this),this._pako=null},L.prototype._createPako=function(){this._pako=new v[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var S=this;this._pako.onData=function(w){S.push({data:w,meta:S.meta})}},R.compressWorker=function(S){return new L("Deflate",S)},R.uncompressWorker=function(){return new L("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(H,be,R){"use strict";function $(x,_){var B,W="";for(B=0;B<_;B++)W+=String.fromCharCode(255&x),x>>>=8;return W}function v(x,_,B,W,Q,q){var Y,G,D=x.file,O=x.compression,J=q!==s.utf8encode,K=m.transformTo("string",q(D.name)),le=m.transformTo("string",s.utf8encode(D.name)),ae=D.comment,he=m.transformTo("string",q(ae)),k=m.transformTo("string",s.utf8encode(ae)),Ue=le.length!==D.name.length,F=k.length!==ae.length,De="",we="",de="",Be=D.dir,ne=D.date,ve={crc32:0,compressedSize:0,uncompressedSize:0};_&&!B||(ve.crc32=x.crc32,ve.compressedSize=x.compressedSize,ve.uncompressedSize=x.uncompressedSize);var ee=0;_&&(ee|=8),J||!Ue&&!F||(ee|=2048);var se=0,je=0;Be&&(se|=16),Q==="UNIX"?(je=798,se|=function(Oe,ut){var mt=Oe;return Oe||(mt=ut?16893:33204),(65535&mt)<<16}(D.unixPermissions,Be)):(je=20,se|=function(Oe){return 63&(Oe||0)}(D.dosPermissions)),Y=ne.getUTCHours(),Y<<=6,Y|=ne.getUTCMinutes(),Y<<=5,Y|=ne.getUTCSeconds()/2,G=ne.getUTCFullYear()-1980,G<<=4,G|=ne.getUTCMonth()+1,G<<=5,G|=ne.getUTCDate(),Ue&&(we=$(1,1)+$(L(K),4)+le,De+="up"+$(we.length,2)+we),F&&(de=$(1,1)+$(L(he),4)+k,De+="uc"+$(de.length,2)+de);var Pe="";return Pe+=`
|
|
|
\0`,Pe+=$(ee,2),Pe+=O.magic,Pe+=$(Y,2),Pe+=$(G,2),Pe+=$(ve.crc32,4),Pe+=$(ve.compressedSize,4),Pe+=$(ve.uncompressedSize,4),Pe+=$(K.length,2),Pe+=$(De.length,2),{fileRecord:S.LOCAL_FILE_HEADER+Pe+K+De,dirRecord:S.CENTRAL_FILE_HEADER+$(je,2)+Pe+$(he.length,2)+"\0\0\0\0"+$(se,4)+$(W,4)+K+De+he}}var m=H("../utils"),N=H("../stream/GenericWorker"),s=H("../utf8"),L=H("../crc32"),S=H("../signature");function w(x,_,B,W){N.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=_,this.zipPlatform=B,this.encodeFileName=W,this.streamFiles=x,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}m.inherits(w,N),w.prototype.push=function(x){var _=x.meta.percent||0,B=this.entriesCount,W=this._sources.length;this.accumulate?this.contentBuffer.push(x):(this.bytesWritten+=x.data.length,N.prototype.push.call(this,{data:x.data,meta:{currentFile:this.currentFile,percent:B?(_+100*(B-W-1))/B:100}}))},w.prototype.openedSource=function(x){this.currentSourceOffset=this.bytesWritten,this.currentFile=x.file.name;var _=this.streamFiles&&!x.file.dir;if(_){var B=v(x,_,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:B.fileRecord,meta:{percent:0}})}else this.accumulate=!0},w.prototype.closedSource=function(x){this.accumulate=!1;var _=this.streamFiles&&!x.file.dir,B=v(x,_,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(B.dirRecord),_)this.push({data:function(W){return S.DATA_DESCRIPTOR+$(W.crc32,4)+$(W.compressedSize,4)+$(W.uncompressedSize,4)}(x),meta:{percent:100}});else for(this.push({data:B.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},w.prototype.flush=function(){for(var x=this.bytesWritten,_=0;_<this.dirRecords.length;_++)this.push({data:this.dirRecords[_],meta:{percent:100}});var B=this.bytesWritten-x,W=function(Q,q,Y,G,D){var O=m.transformTo("string",D(G));return S.CENTRAL_DIRECTORY_END+"\0\0\0\0"+$(Q,2)+$(Q,2)+$(q,4)+$(Y,4)+$(O.length,2)+O}(this.dirRecords.length,B,x,this.zipComment,this.encodeFileName);this.push({data:W,meta:{percent:100}})},w.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},w.prototype.registerPrevious=function(x){this._sources.push(x);var _=this;return x.on("data",function(B){_.processChunk(B)}),x.on("end",function(){_.closedSource(_.previous.streamInfo),_._sources.length?_.prepareNextSource():_.end()}),x.on("error",function(B){_.error(B)}),this},w.prototype.resume=function(){return!!N.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},w.prototype.error=function(x){var _=this._sources;if(!N.prototype.error.call(this,x))return!1;for(var B=0;B<_.length;B++)try{_[B].error(x)}catch(W){}return!0},w.prototype.lock=function(){N.prototype.lock.call(this);for(var x=this._sources,_=0;_<x.length;_++)x[_].lock()},be.exports=w},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(H,be,R){"use strict";var $=H("../compressions"),v=H("./ZipFileWorker");R.generateWorker=function(m,N,s){var L=new v(N.streamFiles,s,N.platform,N.encodeFileName),S=0;try{m.forEach(function(w,x){S++;var _=function(q,Y){var G=q||Y,D=$[G];if(!D)throw new Error(G+" is not a valid compression method !");return D}(x.options.compression,N.compression),B=x.options.compressionOptions||N.compressionOptions||{},W=x.dir,Q=x.date;x._compressWorker(_,B).withStreamInfo("file",{name:w,dir:W,date:Q,comment:x.comment||"",unixPermissions:x.unixPermissions,dosPermissions:x.dosPermissions}).pipe(L)}),L.entriesCount=S}catch(w){L.error(w)}return L}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(H,be,R){"use strict";function $(){if(!(this instanceof $))return new $;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 v=new $;for(var m in this)typeof this[m]!="function"&&(v[m]=this[m]);return v}}($.prototype=H("./object")).loadAsync=H("./load"),$.support=H("./support"),$.defaults=H("./defaults"),$.version="3.10.1",$.loadAsync=function(v,m){return new $().loadAsync(v,m)},$.external=H("./external"),be.exports=$},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(H,be,R){"use strict";var $=H("./utils"),v=H("./external"),m=H("./utf8"),N=H("./zipEntries"),s=H("./stream/Crc32Probe"),L=H("./nodejsUtils");function S(w){return new v.Promise(function(x,_){var B=w.decompressed.getContentWorker().pipe(new s);B.on("error",function(W){_(W)}).on("end",function(){B.streamInfo.crc32!==w.decompressed.crc32?_(new Error("Corrupted zip : CRC32 mismatch")):x()}).resume()})}be.exports=function(w,x){var _=this;return x=$.extend(x||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:m.utf8decode}),L.isNode&&L.isStream(w)?v.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):$.prepareContent("the loaded zip file",w,!0,x.optimizedBinaryString,x.base64).then(function(B){var W=new N(x);return W.load(B),W}).then(function(B){var W=[v.Promise.resolve(B)],Q=B.files;if(x.checkCRC32)for(var q=0;q<Q.length;q++)W.push(S(Q[q]));return v.Promise.all(W)}).then(function(B){for(var W=B.shift(),Q=W.files,q=0;q<Q.length;q++){var Y=Q[q],G=Y.fileNameStr,D=$.resolve(Y.fileNameStr);_.file(D,Y.decompressed,{binary:!0,optimizedBinaryString:!0,date:Y.date,dir:Y.dir,comment:Y.fileCommentStr.length?Y.fileCommentStr:null,unixPermissions:Y.unixPermissions,dosPermissions:Y.dosPermissions,createFolders:x.createFolders}),Y.dir||(_.file(D).unsafeOriginalName=G)}return W.zipComment.length&&(_.comment=W.zipComment),_})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(H,be,R){"use strict";var $=H("../utils"),v=H("../stream/GenericWorker");function m(N,s){v.call(this,"Nodejs stream input adapter for "+N),this._upstreamEnded=!1,this._bindStream(s)}$.inherits(m,v),m.prototype._bindStream=function(N){var s=this;(this._stream=N).pause(),N.on("data",function(L){s.push({data:L,meta:{percent:0}})}).on("error",function(L){s.isPaused?this.generatedError=L:s.error(L)}).on("end",function(){s.isPaused?s._upstreamEnded=!0:s.end()})},m.prototype.pause=function(){return!!v.prototype.pause.call(this)&&(this._stream.pause(),!0)},m.prototype.resume=function(){return!!v.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},be.exports=m},{"../stream/GenericWorker":28,"../utils":32}],13:[function(H,be,R){"use strict";var $=H("readable-stream").Readable;function v(m,N,s){$.call(this,N),this._helper=m;var L=this;m.on("data",function(S,w){L.push(S)||L._helper.pause(),s&&s(w)}).on("error",function(S){L.emit("error",S)}).on("end",function(){L.push(null)})}H("../utils").inherits(v,$),v.prototype._read=function(){this._helper.resume()},be.exports=v},{"../utils":32,"readable-stream":16}],14:[function(H,be,R){"use strict";be.exports={isNode:typeof ye!="undefined",newBufferFrom:function($,v){if(ye.from&&ye.from!==Uint8Array.from)return ye.from($,v);if(typeof $=="number")throw new Error('The "data" argument must not be a number');return new ye($,v)},allocBuffer:function($){if(ye.alloc)return ye.alloc($);var v=new ye($);return v.fill(0),v},isBuffer:function($){return ye.isBuffer($)},isStream:function($){return $&&typeof $.on=="function"&&typeof $.pause=="function"&&typeof $.resume=="function"}}},{}],15:[function(H,be,R){"use strict";function $(D,O,J){var K,le=m.getTypeOf(O),ae=m.extend(J||{},L);ae.date=ae.date||new Date,ae.compression!==null&&(ae.compression=ae.compression.toUpperCase()),typeof ae.unixPermissions=="string"&&(ae.unixPermissions=parseInt(ae.unixPermissions,8)),ae.unixPermissions&&16384&ae.unixPermissions&&(ae.dir=!0),ae.dosPermissions&&16&ae.dosPermissions&&(ae.dir=!0),ae.dir&&(D=Q(D)),ae.createFolders&&(K=W(D))&&q.call(this,K,!0);var he=le==="string"&&ae.binary===!1&&ae.base64===!1;J&&J.binary!==void 0||(ae.binary=!he),(O instanceof S&&O.uncompressedSize===0||ae.dir||!O||O.length===0)&&(ae.base64=!1,ae.binary=!0,O="",ae.compression="STORE",le="string");var k=null;k=O instanceof S||O instanceof N?O:_.isNode&&_.isStream(O)?new B(D,O):m.prepareContent(D,O,ae.binary,ae.optimizedBinaryString,ae.base64);var Ue=new w(D,k,ae);this.files[D]=Ue}var v=H("./utf8"),m=H("./utils"),N=H("./stream/GenericWorker"),s=H("./stream/StreamHelper"),L=H("./defaults"),S=H("./compressedObject"),w=H("./zipObject"),x=H("./generate"),_=H("./nodejsUtils"),B=H("./nodejs/NodejsStreamInputAdapter"),W=function(D){D.slice(-1)==="/"&&(D=D.substring(0,D.length-1));var O=D.lastIndexOf("/");return 0<O?D.substring(0,O):""},Q=function(D){return D.slice(-1)!=="/"&&(D+="/"),D},q=function(D,O){return O=O!==void 0?O:L.createFolders,D=Q(D),this.files[D]||$.call(this,D,null,{dir:!0,createFolders:O}),this.files[D]};function Y(D){return Object.prototype.toString.call(D)==="[object RegExp]"}var G={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(D){var O,J,K;for(O in this.files)K=this.files[O],(J=O.slice(this.root.length,O.length))&&O.slice(0,this.root.length)===this.root&&D(J,K)},filter:function(D){var O=[];return this.forEach(function(J,K){D(J,K)&&O.push(K)}),O},file:function(D,O,J){if(arguments.length!==1)return D=this.root+D,$.call(this,D,O,J),this;if(Y(D)){var K=D;return this.filter(function(ae,he){return!he.dir&&K.test(ae)})}var le=this.files[this.root+D];return le&&!le.dir?le:null},folder:function(D){if(!D)return this;if(Y(D))return this.filter(function(le,ae){return ae.dir&&D.test(le)});var O=this.root+D,J=q.call(this,O),K=this.clone();return K.root=J.name,K},remove:function(D){D=this.root+D;var O=this.files[D];if(O||(D.slice(-1)!=="/"&&(D+="/"),O=this.files[D]),O&&!O.dir)delete this.files[D];else for(var J=this.filter(function(le,ae){return ae.name.slice(0,D.length)===D}),K=0;K<J.length;K++)delete this.files[J[K].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(D){var O,J={};try{if((J=m.extend(D||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:v.utf8encode})).type=J.type.toLowerCase(),J.compression=J.compression.toUpperCase(),J.type==="binarystring"&&(J.type="string"),!J.type)throw new Error("No output type specified.");m.checkSupport(J.type),J.platform!=="darwin"&&J.platform!=="freebsd"&&J.platform!=="linux"&&J.platform!=="sunos"||(J.platform="UNIX"),J.platform==="win32"&&(J.platform="DOS");var K=J.comment||this.comment||"";O=x.generateWorker(this,J,K)}catch(le){(O=new N("error")).error(le)}return new s(O,J.type||"string",J.mimeType)},generateAsync:function(D,O){return this.generateInternalStream(D).accumulate(O)},generateNodeStream:function(D,O){return(D=D||{}).type||(D.type="nodebuffer"),this.generateInternalStream(D).toNodejsStream(O)}};be.exports=G},{"./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(H,be,R){"use strict";be.exports=H("stream")},{stream:void 0}],17:[function(H,be,R){"use strict";var $=H("./DataReader");function v(m){$.call(this,m);for(var N=0;N<this.data.length;N++)m[N]=255&m[N]}H("../utils").inherits(v,$),v.prototype.byteAt=function(m){return this.data[this.zero+m]},v.prototype.lastIndexOfSignature=function(m){for(var N=m.charCodeAt(0),s=m.charCodeAt(1),L=m.charCodeAt(2),S=m.charCodeAt(3),w=this.length-4;0<=w;--w)if(this.data[w]===N&&this.data[w+1]===s&&this.data[w+2]===L&&this.data[w+3]===S)return w-this.zero;return-1},v.prototype.readAndCheckSignature=function(m){var N=m.charCodeAt(0),s=m.charCodeAt(1),L=m.charCodeAt(2),S=m.charCodeAt(3),w=this.readData(4);return N===w[0]&&s===w[1]&&L===w[2]&&S===w[3]},v.prototype.readData=function(m){if(this.checkOffset(m),m===0)return[];var N=this.data.slice(this.zero+this.index,this.zero+this.index+m);return this.index+=m,N},be.exports=v},{"../utils":32,"./DataReader":18}],18:[function(H,be,R){"use strict";var $=H("../utils");function v(m){this.data=m,this.length=m.length,this.index=0,this.zero=0}v.prototype={checkOffset:function(m){this.checkIndex(this.index+m)},checkIndex:function(m){if(this.length<this.zero+m||m<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+m+"). Corrupted zip ?")},setIndex:function(m){this.checkIndex(m),this.index=m},skip:function(m){this.setIndex(this.index+m)},byteAt:function(){},readInt:function(m){var N,s=0;for(this.checkOffset(m),N=this.index+m-1;N>=this.index;N--)s=(s<<8)+this.byteAt(N);return this.index+=m,s},readString:function(m){return $.transformTo("string",this.readData(m))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var m=this.readInt(4);return new Date(Date.UTC(1980+(m>>25&127),(m>>21&15)-1,m>>16&31,m>>11&31,m>>5&63,(31&m)<<1))}},be.exports=v},{"../utils":32}],19:[function(H,be,R){"use strict";var $=H("./Uint8ArrayReader");function v(m){$.call(this,m)}H("../utils").inherits(v,$),v.prototype.readData=function(m){this.checkOffset(m);var N=this.data.slice(this.zero+this.index,this.zero+this.index+m);return this.index+=m,N},be.exports=v},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(H,be,R){"use strict";var $=H("./DataReader");function v(m){$.call(this,m)}H("../utils").inherits(v,$),v.prototype.byteAt=function(m){return this.data.charCodeAt(this.zero+m)},v.prototype.lastIndexOfSignature=function(m){return this.data.lastIndexOf(m)-this.zero},v.prototype.readAndCheckSignature=function(m){return m===this.readData(4)},v.prototype.readData=function(m){this.checkOffset(m);var N=this.data.slice(this.zero+this.index,this.zero+this.index+m);return this.index+=m,N},be.exports=v},{"../utils":32,"./DataReader":18}],21:[function(H,be,R){"use strict";var $=H("./ArrayReader");function v(m){$.call(this,m)}H("../utils").inherits(v,$),v.prototype.readData=function(m){if(this.checkOffset(m),m===0)return new Uint8Array(0);var N=this.data.subarray(this.zero+this.index,this.zero+this.index+m);return this.index+=m,N},be.exports=v},{"../utils":32,"./ArrayReader":17}],22:[function(H,be,R){"use strict";var $=H("../utils"),v=H("../support"),m=H("./ArrayReader"),N=H("./StringReader"),s=H("./NodeBufferReader"),L=H("./Uint8ArrayReader");be.exports=function(S){var w=$.getTypeOf(S);return $.checkSupport(w),w!=="string"||v.uint8array?w==="nodebuffer"?new s(S):v.uint8array?new L($.transformTo("uint8array",S)):new m($.transformTo("array",S)):new N(S)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(H,be,R){"use strict";R.LOCAL_FILE_HEADER="PK",R.CENTRAL_FILE_HEADER="PK",R.CENTRAL_DIRECTORY_END="PK",R.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",R.ZIP64_CENTRAL_DIRECTORY_END="PK",R.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(H,be,R){"use strict";var $=H("./GenericWorker"),v=H("../utils");function m(N){$.call(this,"ConvertWorker to "+N),this.destType=N}v.inherits(m,$),m.prototype.processChunk=function(N){this.push({data:v.transformTo(this.destType,N.data),meta:N.meta})},be.exports=m},{"../utils":32,"./GenericWorker":28}],25:[function(H,be,R){"use strict";var $=H("./GenericWorker"),v=H("../crc32");function m(){$.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}H("../utils").inherits(m,$),m.prototype.processChunk=function(N){this.streamInfo.crc32=v(N.data,this.streamInfo.crc32||0),this.push(N)},be.exports=m},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(H,be,R){"use strict";var $=H("../utils"),v=H("./GenericWorker");function m(N){v.call(this,"DataLengthProbe for "+N),this.propName=N,this.withStreamInfo(N,0)}$.inherits(m,v),m.prototype.processChunk=function(N){if(N){var s=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=s+N.data.length}v.prototype.processChunk.call(this,N)},be.exports=m},{"../utils":32,"./GenericWorker":28}],27:[function(H,be,R){"use strict";var $=H("../utils"),v=H("./GenericWorker");function m(N){v.call(this,"DataWorker");var s=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,N.then(function(L){s.dataIsReady=!0,s.data=L,s.max=L&&L.length||0,s.type=$.getTypeOf(L),s.isPaused||s._tickAndRepeat()},function(L){s.error(L)})}$.inherits(m,v),m.prototype.cleanUp=function(){v.prototype.cleanUp.call(this),this.data=null},m.prototype.resume=function(){return!!v.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,$.delay(this._tickAndRepeat,[],this)),!0)},m.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||($.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},m.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var N=null,s=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":N=this.data.substring(this.index,s);break;case"uint8array":N=this.data.subarray(this.index,s);break;case"array":case"nodebuffer":N=this.data.slice(this.index,s)}return this.index=s,this.push({data:N,meta:{percent:this.max?this.index/this.max*100:0}})},be.exports=m},{"../utils":32,"./GenericWorker":28}],28:[function(H,be,R){"use strict";function $(v){this.name=v||"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}$.prototype={push:function(v){this.emit("data",v)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(v){this.emit("error",v)}return!0},error:function(v){return!this.isFinished&&(this.isPaused?this.generatedError=v:(this.isFinished=!0,this.emit("error",v),this.previous&&this.previous.error(v),this.cleanUp()),!0)},on:function(v,m){return this._listeners[v].push(m),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(v,m){if(this._listeners[v])for(var N=0;N<this._listeners[v].length;N++)this._listeners[v][N].call(this,m)},pipe:function(v){return v.registerPrevious(this)},registerPrevious:function(v){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=v.streamInfo,this.mergeStreamInfo(),this.previous=v;var m=this;return v.on("data",function(N){m.processChunk(N)}),v.on("end",function(){m.end()}),v.on("error",function(N){m.error(N)}),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 v=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),v=!0),this.previous&&this.previous.resume(),!v},flush:function(){},processChunk:function(v){this.push(v)},withStreamInfo:function(v,m){return this.extraStreamInfo[v]=m,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var v in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,v)&&(this.streamInfo[v]=this.extraStreamInfo[v])},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 v="Worker "+this.name;return this.previous?this.previous+" -> "+v:v}},be.exports=$},{}],29:[function(H,be,R){"use strict";var $=H("../utils"),v=H("./ConvertWorker"),m=H("./GenericWorker"),N=H("../base64"),s=H("../support"),L=H("../external"),S=null;if(s.nodestream)try{S=H("../nodejs/NodejsStreamOutputAdapter")}catch(_){}function w(_,B){return new L.Promise(function(W,Q){var q=[],Y=_._internalType,G=_._outputType,D=_._mimeType;_.on("data",function(O,J){q.push(O),B&&B(J)}).on("error",function(O){q=[],Q(O)}).on("end",function(){try{var O=function(J,K,le){switch(J){case"blob":return $.newBlob($.transformTo("arraybuffer",K),le);case"base64":return N.encode(K);default:return $.transformTo(J,K)}}(G,function(J,K){var le,ae=0,he=null,k=0;for(le=0;le<K.length;le++)k+=K[le].length;switch(J){case"string":return K.join("");case"array":return Array.prototype.concat.apply([],K);case"uint8array":for(he=new Uint8Array(k),le=0;le<K.length;le++)he.set(K[le],ae),ae+=K[le].length;return he;case"nodebuffer":return ye.concat(K);default:throw new Error("concat : unsupported type '"+J+"'")}}(Y,q),D);W(O)}catch(J){Q(J)}q=[]}).resume()})}function x(_,B,W){var Q=B;switch(B){case"blob":case"arraybuffer":Q="uint8array";break;case"base64":Q="string"}try{this._internalType=Q,this._outputType=B,this._mimeType=W,$.checkSupport(Q),this._worker=_.pipe(new v(Q)),_.lock()}catch(q){this._worker=new m("error"),this._worker.error(q)}}x.prototype={accumulate:function(_){return w(this,_)},on:function(_,B){var W=this;return _==="data"?this._worker.on(_,function(Q){B.call(W,Q.data,Q.meta)}):this._worker.on(_,function(){$.delay(B,arguments,W)}),this},resume:function(){return $.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(_){if($.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new S(this,{objectMode:this._outputType!=="nodebuffer"},_)}},be.exports=x},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(H,be,R){"use strict";if(R.base64=!0,R.array=!0,R.string=!0,R.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",R.nodebuffer=typeof ye!="undefined",R.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")R.blob=!1;else{var $=new ArrayBuffer(0);try{R.blob=new Blob([$],{type:"application/zip"}).size===0}catch(m){try{var v=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);v.append($),R.blob=v.getBlob("application/zip").size===0}catch(N){R.blob=!1}}}try{R.nodestream=!!H("readable-stream").Readable}catch(m){R.nodestream=!1}},{"readable-stream":16}],31:[function(H,be,R){"use strict";for(var $=H("./utils"),v=H("./support"),m=H("./nodejsUtils"),N=H("./stream/GenericWorker"),s=new Array(256),L=0;L<256;L++)s[L]=252<=L?6:248<=L?5:240<=L?4:224<=L?3:192<=L?2:1;s[254]=s[254]=1;function S(){N.call(this,"utf-8 decode"),this.leftOver=null}function w(){N.call(this,"utf-8 encode")}R.utf8encode=function(x){return v.nodebuffer?m.newBufferFrom(x,"utf-8"):function(_){var B,W,Q,q,Y,G=_.length,D=0;for(q=0;q<G;q++)(64512&(W=_.charCodeAt(q)))==55296&&q+1<G&&(64512&(Q=_.charCodeAt(q+1)))==56320&&(W=65536+(W-55296<<10)+(Q-56320),q++),D+=W<128?1:W<2048?2:W<65536?3:4;for(B=v.uint8array?new Uint8Array(D):new Array(D),q=Y=0;Y<D;q++)(64512&(W=_.charCodeAt(q)))==55296&&q+1<G&&(64512&(Q=_.charCodeAt(q+1)))==56320&&(W=65536+(W-55296<<10)+(Q-56320),q++),W<128?B[Y++]=W:(W<2048?B[Y++]=192|W>>>6:(W<65536?B[Y++]=224|W>>>12:(B[Y++]=240|W>>>18,B[Y++]=128|W>>>12&63),B[Y++]=128|W>>>6&63),B[Y++]=128|63&W);return B}(x)},R.utf8decode=function(x){return v.nodebuffer?$.transformTo("nodebuffer",x).toString("utf-8"):function(_){var B,W,Q,q,Y=_.length,G=new Array(2*Y);for(B=W=0;B<Y;)if((Q=_[B++])<128)G[W++]=Q;else if(4<(q=s[Q]))G[W++]=65533,B+=q-1;else{for(Q&=q===2?31:q===3?15:7;1<q&&B<Y;)Q=Q<<6|63&_[B++],q--;1<q?G[W++]=65533:Q<65536?G[W++]=Q:(Q-=65536,G[W++]=55296|Q>>10&1023,G[W++]=56320|1023&Q)}return G.length!==W&&(G.subarray?G=G.subarray(0,W):G.length=W),$.applyFromCharCode(G)}(x=$.transformTo(v.uint8array?"uint8array":"array",x))},$.inherits(S,N),S.prototype.processChunk=function(x){var _=$.transformTo(v.uint8array?"uint8array":"array",x.data);if(this.leftOver&&this.leftOver.length){if(v.uint8array){var B=_;(_=new Uint8Array(B.length+this.leftOver.length)).set(this.leftOver,0),_.set(B,this.leftOver.length)}else _=this.leftOver.concat(_);this.leftOver=null}var W=function(q,Y){var G;for((Y=Y||q.length)>q.length&&(Y=q.length),G=Y-1;0<=G&&(192&q[G])==128;)G--;return G<0||G===0?Y:G+s[q[G]]>Y?G:Y}(_),Q=_;W!==_.length&&(v.uint8array?(Q=_.subarray(0,W),this.leftOver=_.subarray(W,_.length)):(Q=_.slice(0,W),this.leftOver=_.slice(W,_.length))),this.push({data:R.utf8decode(Q),meta:x.meta})},S.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:R.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},R.Utf8DecodeWorker=S,$.inherits(w,N),w.prototype.processChunk=function(x){this.push({data:R.utf8encode(x.data),meta:x.meta})},R.Utf8EncodeWorker=w},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(H,be,R){"use strict";var $=H("./support"),v=H("./base64"),m=H("./nodejsUtils"),N=H("./external");function s(B){return B}function L(B,W){for(var Q=0;Q<B.length;++Q)W[Q]=255&B.charCodeAt(Q);return W}H("setimmediate"),R.newBlob=function(B,W){R.checkSupport("blob");try{return new Blob([B],{type:W})}catch(q){try{var Q=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return Q.append(B),Q.getBlob(W)}catch(Y){throw new Error("Bug : can't construct the Blob.")}}};var S={stringifyByChunk:function(B,W,Q){var q=[],Y=0,G=B.length;if(G<=Q)return String.fromCharCode.apply(null,B);for(;Y<G;)W==="array"||W==="nodebuffer"?q.push(String.fromCharCode.apply(null,B.slice(Y,Math.min(Y+Q,G)))):q.push(String.fromCharCode.apply(null,B.subarray(Y,Math.min(Y+Q,G)))),Y+=Q;return q.join("")},stringifyByChar:function(B){for(var W="",Q=0;Q<B.length;Q++)W+=String.fromCharCode(B[Q]);return W},applyCanBeUsed:{uint8array:function(){try{return $.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(B){return!1}}(),nodebuffer:function(){try{return $.nodebuffer&&String.fromCharCode.apply(null,m.allocBuffer(1)).length===1}catch(B){return!1}}()}};function w(B){var W=65536,Q=R.getTypeOf(B),q=!0;if(Q==="uint8array"?q=S.applyCanBeUsed.uint8array:Q==="nodebuffer"&&(q=S.applyCanBeUsed.nodebuffer),q)for(;1<W;)try{return S.stringifyByChunk(B,Q,W)}catch(Y){W=Math.floor(W/2)}return S.stringifyByChar(B)}function x(B,W){for(var Q=0;Q<B.length;Q++)W[Q]=B[Q];return W}R.applyFromCharCode=w;var _={};_.string={string:s,array:function(B){return L(B,new Array(B.length))},arraybuffer:function(B){return _.string.uint8array(B).buffer},uint8array:function(B){return L(B,new Uint8Array(B.length))},nodebuffer:function(B){return L(B,m.allocBuffer(B.length))}},_.array={string:w,array:s,arraybuffer:function(B){return new Uint8Array(B).buffer},uint8array:function(B){return new Uint8Array(B)},nodebuffer:function(B){return m.newBufferFrom(B)}},_.arraybuffer={string:function(B){return w(new Uint8Array(B))},array:function(B){return x(new Uint8Array(B),new Array(B.byteLength))},arraybuffer:s,uint8array:function(B){return new Uint8Array(B)},nodebuffer:function(B){return m.newBufferFrom(new Uint8Array(B))}},_.uint8array={string:w,array:function(B){return x(B,new Array(B.length))},arraybuffer:function(B){return B.buffer},uint8array:s,nodebuffer:function(B){return m.newBufferFrom(B)}},_.nodebuffer={string:w,array:function(B){return x(B,new Array(B.length))},arraybuffer:function(B){return _.nodebuffer.uint8array(B).buffer},uint8array:function(B){return x(B,new Uint8Array(B.length))},nodebuffer:s},R.transformTo=function(B,W){if(W=W||"",!B)return W;R.checkSupport(B);var Q=R.getTypeOf(W);return _[Q][B](W)},R.resolve=function(B){for(var W=B.split("/"),Q=[],q=0;q<W.length;q++){var Y=W[q];Y==="."||Y===""&&q!==0&&q!==W.length-1||(Y===".."?Q.pop():Q.push(Y))}return Q.join("/")},R.getTypeOf=function(B){return typeof B=="string"?"string":Object.prototype.toString.call(B)==="[object Array]"?"array":$.nodebuffer&&m.isBuffer(B)?"nodebuffer":$.uint8array&&B instanceof Uint8Array?"uint8array":$.arraybuffer&&B instanceof ArrayBuffer?"arraybuffer":void 0},R.checkSupport=function(B){if(!$[B.toLowerCase()])throw new Error(B+" is not supported by this platform")},R.MAX_VALUE_16BITS=65535,R.MAX_VALUE_32BITS=-1,R.pretty=function(B){var W,Q,q="";for(Q=0;Q<(B||"").length;Q++)q+="\\x"+((W=B.charCodeAt(Q))<16?"0":"")+W.toString(16).toUpperCase();return q},R.delay=function(B,W,Q){setImmediate(function(){B.apply(Q||null,W||[])})},R.inherits=function(B,W){function Q(){}Q.prototype=W.prototype,B.prototype=new Q},R.extend=function(){var B,W,Q={};for(B=0;B<arguments.length;B++)for(W in arguments[B])Object.prototype.hasOwnProperty.call(arguments[B],W)&&Q[W]===void 0&&(Q[W]=arguments[B][W]);return Q},R.prepareContent=function(B,W,Q,q,Y){return N.Promise.resolve(W).then(function(G){return $.blob&&(G instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(G))!==-1)&&typeof FileReader!="undefined"?new N.Promise(function(D,O){var J=new FileReader;J.onload=function(K){D(K.target.result)},J.onerror=function(K){O(K.target.error)},J.readAsArrayBuffer(G)}):G}).then(function(G){var D=R.getTypeOf(G);return D?(D==="arraybuffer"?G=R.transformTo("uint8array",G):D==="string"&&(Y?G=v.decode(G):Q&&q!==!0&&(G=function(O){return L(O,$.uint8array?new Uint8Array(O.length):new Array(O.length))}(G))),G):N.Promise.reject(new Error("Can't read the data of '"+B+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(H,be,R){"use strict";var $=H("./reader/readerFor"),v=H("./utils"),m=H("./signature"),N=H("./zipEntry"),s=H("./support");function L(S){this.files=[],this.loadOptions=S}L.prototype={checkSignature:function(S){if(!this.reader.readAndCheckSignature(S)){this.reader.index-=4;var w=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+v.pretty(w)+", expected "+v.pretty(S)+")")}},isSignature:function(S,w){var x=this.reader.index;this.reader.setIndex(S);var _=this.reader.readString(4)===w;return this.reader.setIndex(x),_},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 S=this.reader.readData(this.zipCommentLength),w=s.uint8array?"uint8array":"array",x=v.transformTo(w,S);this.zipComment=this.loadOptions.decodeFileName(x)},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 S,w,x,_=this.zip64EndOfCentralSize-44;0<_;)S=this.reader.readInt(2),w=this.reader.readInt(4),x=this.reader.readData(w),this.zip64ExtensibleData[S]={id:S,length:w,value:x}},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 S,w;for(S=0;S<this.files.length;S++)w=this.files[S],this.reader.setIndex(w.localHeaderOffset),this.checkSignature(m.LOCAL_FILE_HEADER),w.readLocalPart(this.reader),w.handleUTF8(),w.processAttributes()},readCentralDir:function(){var S;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(m.CENTRAL_FILE_HEADER);)(S=new N({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(S);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 S=this.reader.lastIndexOfSignature(m.CENTRAL_DIRECTORY_END);if(S<0)throw this.isSignature(0,m.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(S);var w=S;if(this.checkSignature(m.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===v.MAX_VALUE_16BITS||this.diskWithCentralDirStart===v.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===v.MAX_VALUE_16BITS||this.centralDirRecords===v.MAX_VALUE_16BITS||this.centralDirSize===v.MAX_VALUE_32BITS||this.centralDirOffset===v.MAX_VALUE_32BITS){if(this.zip64=!0,(S=this.reader.lastIndexOfSignature(m.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(S),this.checkSignature(m.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,m.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(m.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(m.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var x=this.centralDirOffset+this.centralDirSize;this.zip64&&(x+=20,x+=12+this.zip64EndOfCentralSize);var _=w-x;if(0<_)this.isSignature(w,m.CENTRAL_FILE_HEADER)||(this.reader.zero=_);else if(_<0)throw new Error("Corrupted zip: missing "+Math.abs(_)+" bytes.")},prepareReader:function(S){this.reader=$(S)},load:function(S){this.prepareReader(S),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},be.exports=L},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(H,be,R){"use strict";var $=H("./reader/readerFor"),v=H("./utils"),m=H("./compressedObject"),N=H("./crc32"),s=H("./utf8"),L=H("./compressions"),S=H("./support");function w(x,_){this.options=x,this.loadOptions=_}w.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(x){var _,B;if(x.skip(22),this.fileNameLength=x.readInt(2),B=x.readInt(2),this.fileName=x.readData(this.fileNameLength),x.skip(B),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(W){for(var Q in L)if(Object.prototype.hasOwnProperty.call(L,Q)&&L[Q].magic===W)return L[Q];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+v.pretty(this.compressionMethod)+" unknown (inner file : "+v.transformTo("string",this.fileName)+")");this.decompressed=new m(this.compressedSize,this.uncompressedSize,this.crc32,_,x.readData(this.compressedSize))},readCentralPart:function(x){this.versionMadeBy=x.readInt(2),x.skip(2),this.bitFlag=x.readInt(2),this.compressionMethod=x.readString(2),this.date=x.readDate(),this.crc32=x.readInt(4),this.compressedSize=x.readInt(4),this.uncompressedSize=x.readInt(4);var _=x.readInt(2);if(this.extraFieldsLength=x.readInt(2),this.fileCommentLength=x.readInt(2),this.diskNumberStart=x.readInt(2),this.internalFileAttributes=x.readInt(2),this.externalFileAttributes=x.readInt(4),this.localHeaderOffset=x.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");x.skip(_),this.readExtraFields(x),this.parseZIP64ExtraField(x),this.fileComment=x.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var x=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),x==0&&(this.dosPermissions=63&this.externalFileAttributes),x==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var x=$(this.extraFields[1].value);this.uncompressedSize===v.MAX_VALUE_32BITS&&(this.uncompressedSize=x.readInt(8)),this.compressedSize===v.MAX_VALUE_32BITS&&(this.compressedSize=x.readInt(8)),this.localHeaderOffset===v.MAX_VALUE_32BITS&&(this.localHeaderOffset=x.readInt(8)),this.diskNumberStart===v.MAX_VALUE_32BITS&&(this.diskNumberStart=x.readInt(4))}},readExtraFields:function(x){var _,B,W,Q=x.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});x.index+4<Q;)_=x.readInt(2),B=x.readInt(2),W=x.readData(B),this.extraFields[_]={id:_,length:B,value:W};x.setIndex(Q)},handleUTF8:function(){var x=S.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var _=this.findExtraFieldUnicodePath();if(_!==null)this.fileNameStr=_;else{var B=v.transformTo(x,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(B)}var W=this.findExtraFieldUnicodeComment();if(W!==null)this.fileCommentStr=W;else{var Q=v.transformTo(x,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(Q)}}},findExtraFieldUnicodePath:function(){var x=this.extraFields[28789];if(x){var _=$(x.value);return _.readInt(1)!==1||N(this.fileName)!==_.readInt(4)?null:s.utf8decode(_.readData(x.length-5))}return null},findExtraFieldUnicodeComment:function(){var x=this.extraFields[25461];if(x){var _=$(x.value);return _.readInt(1)!==1||N(this.fileComment)!==_.readInt(4)?null:s.utf8decode(_.readData(x.length-5))}return null}},be.exports=w},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(H,be,R){"use strict";function $(_,B,W){this.name=_,this.dir=W.dir,this.date=W.date,this.comment=W.comment,this.unixPermissions=W.unixPermissions,this.dosPermissions=W.dosPermissions,this._data=B,this._dataBinary=W.binary,this.options={compression:W.compression,compressionOptions:W.compressionOptions}}var v=H("./stream/StreamHelper"),m=H("./stream/DataWorker"),N=H("./utf8"),s=H("./compressedObject"),L=H("./stream/GenericWorker");$.prototype={internalStream:function(_){var B=null,W="string";try{if(!_)throw new Error("No output type specified.");var Q=(W=_.toLowerCase())==="string"||W==="text";W!=="binarystring"&&W!=="text"||(W="string"),B=this._decompressWorker();var q=!this._dataBinary;q&&!Q&&(B=B.pipe(new N.Utf8EncodeWorker)),!q&&Q&&(B=B.pipe(new N.Utf8DecodeWorker))}catch(Y){(B=new L("error")).error(Y)}return new v(B,W,"")},async:function(_,B){return this.internalStream(_).accumulate(B)},nodeStream:function(_,B){return this.internalStream(_||"nodebuffer").toNodejsStream(B)},_compressWorker:function(_,B){if(this._data instanceof s&&this._data.compression.magic===_.magic)return this._data.getCompressedWorker();var W=this._decompressWorker();return this._dataBinary||(W=W.pipe(new N.Utf8EncodeWorker)),s.createWorkerFrom(W,_,B)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof L?this._data:new m(this._data)}};for(var S=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],w=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},x=0;x<S.length;x++)$.prototype[S[x]]=w;be.exports=$},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(H,be,R){(function($){"use strict";var v,m,N=$.MutationObserver||$.WebKitMutationObserver;if(N){var s=0,L=new N(_),S=$.document.createTextNode("");L.observe(S,{characterData:!0}),v=function(){S.data=s=++s%2}}else if($.setImmediate||$.MessageChannel===void 0)v="document"in $&&"onreadystatechange"in $.document.createElement("script")?function(){var B=$.document.createElement("script");B.onreadystatechange=function(){_(),B.onreadystatechange=null,B.parentNode.removeChild(B),B=null},$.document.documentElement.appendChild(B)}:function(){setTimeout(_,0)};else{var w=new $.MessageChannel;w.port1.onmessage=_,v=function(){w.port2.postMessage(0)}}var x=[];function _(){var B,W;m=!0;for(var Q=x.length;Q;){for(W=x,x=[],B=-1;++B<Q;)W[B]();Q=x.length}m=!1}be.exports=function(B){x.push(B)!==1||m||v()}}).call(this,typeof h.g!="undefined"?h.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(H,be,R){"use strict";var $=H("immediate");function v(){}var m={},N=["REJECTED"],s=["FULFILLED"],L=["PENDING"];function S(Q){if(typeof Q!="function")throw new TypeError("resolver must be a function");this.state=L,this.queue=[],this.outcome=void 0,Q!==v&&B(this,Q)}function w(Q,q,Y){this.promise=Q,typeof q=="function"&&(this.onFulfilled=q,this.callFulfilled=this.otherCallFulfilled),typeof Y=="function"&&(this.onRejected=Y,this.callRejected=this.otherCallRejected)}function x(Q,q,Y){$(function(){var G;try{G=q(Y)}catch(D){return m.reject(Q,D)}G===Q?m.reject(Q,new TypeError("Cannot resolve promise with itself")):m.resolve(Q,G)})}function _(Q){var q=Q&&Q.then;if(Q&&(typeof Q=="object"||typeof Q=="function")&&typeof q=="function")return function(){q.apply(Q,arguments)}}function B(Q,q){var Y=!1;function G(J){Y||(Y=!0,m.reject(Q,J))}function D(J){Y||(Y=!0,m.resolve(Q,J))}var O=W(function(){q(D,G)});O.status==="error"&&G(O.value)}function W(Q,q){var Y={};try{Y.value=Q(q),Y.status="success"}catch(G){Y.status="error",Y.value=G}return Y}(be.exports=S).prototype.finally=function(Q){if(typeof Q!="function")return this;var q=this.constructor;return this.then(function(Y){return q.resolve(Q()).then(function(){return Y})},function(Y){return q.resolve(Q()).then(function(){throw Y})})},S.prototype.catch=function(Q){return this.then(null,Q)},S.prototype.then=function(Q,q){if(typeof Q!="function"&&this.state===s||typeof q!="function"&&this.state===N)return this;var Y=new this.constructor(v);return this.state!==L?x(Y,this.state===s?Q:q,this.outcome):this.queue.push(new w(Y,Q,q)),Y},w.prototype.callFulfilled=function(Q){m.resolve(this.promise,Q)},w.prototype.otherCallFulfilled=function(Q){x(this.promise,this.onFulfilled,Q)},w.prototype.callRejected=function(Q){m.reject(this.promise,Q)},w.prototype.otherCallRejected=function(Q){x(this.promise,this.onRejected,Q)},m.resolve=function(Q,q){var Y=W(_,q);if(Y.status==="error")return m.reject(Q,Y.value);var G=Y.value;if(G)B(Q,G);else{Q.state=s,Q.outcome=q;for(var D=-1,O=Q.queue.length;++D<O;)Q.queue[D].callFulfilled(q)}return Q},m.reject=function(Q,q){Q.state=N,Q.outcome=q;for(var Y=-1,G=Q.queue.length;++Y<G;)Q.queue[Y].callRejected(q);return Q},S.resolve=function(Q){return Q instanceof this?Q:m.resolve(new this(v),Q)},S.reject=function(Q){var q=new this(v);return m.reject(q,Q)},S.all=function(Q){var q=this;if(Object.prototype.toString.call(Q)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Y=Q.length,G=!1;if(!Y)return this.resolve([]);for(var D=new Array(Y),O=0,J=-1,K=new this(v);++J<Y;)le(Q[J],J);return K;function le(ae,he){q.resolve(ae).then(function(k){D[he]=k,++O!==Y||G||(G=!0,m.resolve(K,D))},function(k){G||(G=!0,m.reject(K,k))})}},S.race=function(Q){var q=this;if(Object.prototype.toString.call(Q)!=="[object Array]")return this.reject(new TypeError("must be an array"));var Y=Q.length,G=!1;if(!Y)return this.resolve([]);for(var D=-1,O=new this(v);++D<Y;)J=Q[D],q.resolve(J).then(function(K){G||(G=!0,m.resolve(O,K))},function(K){G||(G=!0,m.reject(O,K))});var J;return O}},{immediate:36}],38:[function(H,be,R){"use strict";var $={};(0,H("./lib/utils/common").assign)($,H("./lib/deflate"),H("./lib/inflate"),H("./lib/zlib/constants")),be.exports=$},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(H,be,R){"use strict";var $=H("./zlib/deflate"),v=H("./utils/common"),m=H("./utils/strings"),N=H("./zlib/messages"),s=H("./zlib/zstream"),L=Object.prototype.toString,S=0,w=-1,x=0,_=8;function B(Q){if(!(this instanceof B))return new B(Q);this.options=v.assign({level:w,method:_,chunkSize:16384,windowBits:15,memLevel:8,strategy:x,to:""},Q||{});var q=this.options;q.raw&&0<q.windowBits?q.windowBits=-q.windowBits:q.gzip&&0<q.windowBits&&q.windowBits<16&&(q.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var Y=$.deflateInit2(this.strm,q.level,q.method,q.windowBits,q.memLevel,q.strategy);if(Y!==S)throw new Error(N[Y]);if(q.header&&$.deflateSetHeader(this.strm,q.header),q.dictionary){var G;if(G=typeof q.dictionary=="string"?m.string2buf(q.dictionary):L.call(q.dictionary)==="[object ArrayBuffer]"?new Uint8Array(q.dictionary):q.dictionary,(Y=$.deflateSetDictionary(this.strm,G))!==S)throw new Error(N[Y]);this._dict_set=!0}}function W(Q,q){var Y=new B(q);if(Y.push(Q,!0),Y.err)throw Y.msg||N[Y.err];return Y.result}B.prototype.push=function(Q,q){var Y,G,D=this.strm,O=this.options.chunkSize;if(this.ended)return!1;G=q===~~q?q:q===!0?4:0,typeof Q=="string"?D.input=m.string2buf(Q):L.call(Q)==="[object ArrayBuffer]"?D.input=new Uint8Array(Q):D.input=Q,D.next_in=0,D.avail_in=D.input.length;do{if(D.avail_out===0&&(D.output=new v.Buf8(O),D.next_out=0,D.avail_out=O),(Y=$.deflate(D,G))!==1&&Y!==S)return this.onEnd(Y),!(this.ended=!0);D.avail_out!==0&&(D.avail_in!==0||G!==4&&G!==2)||(this.options.to==="string"?this.onData(m.buf2binstring(v.shrinkBuf(D.output,D.next_out))):this.onData(v.shrinkBuf(D.output,D.next_out)))}while((0<D.avail_in||D.avail_out===0)&&Y!==1);return G===4?(Y=$.deflateEnd(this.strm),this.onEnd(Y),this.ended=!0,Y===S):G!==2||(this.onEnd(S),!(D.avail_out=0))},B.prototype.onData=function(Q){this.chunks.push(Q)},B.prototype.onEnd=function(Q){Q===S&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=v.flattenChunks(this.chunks)),this.chunks=[],this.err=Q,this.msg=this.strm.msg},R.Deflate=B,R.deflate=W,R.deflateRaw=function(Q,q){return(q=q||{}).raw=!0,W(Q,q)},R.gzip=function(Q,q){return(q=q||{}).gzip=!0,W(Q,q)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(H,be,R){"use strict";var $=H("./zlib/inflate"),v=H("./utils/common"),m=H("./utils/strings"),N=H("./zlib/constants"),s=H("./zlib/messages"),L=H("./zlib/zstream"),S=H("./zlib/gzheader"),w=Object.prototype.toString;function x(B){if(!(this instanceof x))return new x(B);this.options=v.assign({chunkSize:16384,windowBits:0,to:""},B||{});var W=this.options;W.raw&&0<=W.windowBits&&W.windowBits<16&&(W.windowBits=-W.windowBits,W.windowBits===0&&(W.windowBits=-15)),!(0<=W.windowBits&&W.windowBits<16)||B&&B.windowBits||(W.windowBits+=32),15<W.windowBits&&W.windowBits<48&&!(15&W.windowBits)&&(W.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new L,this.strm.avail_out=0;var Q=$.inflateInit2(this.strm,W.windowBits);if(Q!==N.Z_OK)throw new Error(s[Q]);this.header=new S,$.inflateGetHeader(this.strm,this.header)}function _(B,W){var Q=new x(W);if(Q.push(B,!0),Q.err)throw Q.msg||s[Q.err];return Q.result}x.prototype.push=function(B,W){var Q,q,Y,G,D,O,J=this.strm,K=this.options.chunkSize,le=this.options.dictionary,ae=!1;if(this.ended)return!1;q=W===~~W?W:W===!0?N.Z_FINISH:N.Z_NO_FLUSH,typeof B=="string"?J.input=m.binstring2buf(B):w.call(B)==="[object ArrayBuffer]"?J.input=new Uint8Array(B):J.input=B,J.next_in=0,J.avail_in=J.input.length;do{if(J.avail_out===0&&(J.output=new v.Buf8(K),J.next_out=0,J.avail_out=K),(Q=$.inflate(J,N.Z_NO_FLUSH))===N.Z_NEED_DICT&&le&&(O=typeof le=="string"?m.string2buf(le):w.call(le)==="[object ArrayBuffer]"?new Uint8Array(le):le,Q=$.inflateSetDictionary(this.strm,O)),Q===N.Z_BUF_ERROR&&ae===!0&&(Q=N.Z_OK,ae=!1),Q!==N.Z_STREAM_END&&Q!==N.Z_OK)return this.onEnd(Q),!(this.ended=!0);J.next_out&&(J.avail_out!==0&&Q!==N.Z_STREAM_END&&(J.avail_in!==0||q!==N.Z_FINISH&&q!==N.Z_SYNC_FLUSH)||(this.options.to==="string"?(Y=m.utf8border(J.output,J.next_out),G=J.next_out-Y,D=m.buf2string(J.output,Y),J.next_out=G,J.avail_out=K-G,G&&v.arraySet(J.output,J.output,Y,G,0),this.onData(D)):this.onData(v.shrinkBuf(J.output,J.next_out)))),J.avail_in===0&&J.avail_out===0&&(ae=!0)}while((0<J.avail_in||J.avail_out===0)&&Q!==N.Z_STREAM_END);return Q===N.Z_STREAM_END&&(q=N.Z_FINISH),q===N.Z_FINISH?(Q=$.inflateEnd(this.strm),this.onEnd(Q),this.ended=!0,Q===N.Z_OK):q!==N.Z_SYNC_FLUSH||(this.onEnd(N.Z_OK),!(J.avail_out=0))},x.prototype.onData=function(B){this.chunks.push(B)},x.prototype.onEnd=function(B){B===N.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=v.flattenChunks(this.chunks)),this.chunks=[],this.err=B,this.msg=this.strm.msg},R.Inflate=x,R.inflate=_,R.inflateRaw=function(B,W){return(W=W||{}).raw=!0,_(B,W)},R.ungzip=_},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(H,be,R){"use strict";var $=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";R.assign=function(N){for(var s=Array.prototype.slice.call(arguments,1);s.length;){var L=s.shift();if(L){if(typeof L!="object")throw new TypeError(L+"must be non-object");for(var S in L)L.hasOwnProperty(S)&&(N[S]=L[S])}}return N},R.shrinkBuf=function(N,s){return N.length===s?N:N.subarray?N.subarray(0,s):(N.length=s,N)};var v={arraySet:function(N,s,L,S,w){if(s.subarray&&N.subarray)N.set(s.subarray(L,L+S),w);else for(var x=0;x<S;x++)N[w+x]=s[L+x]},flattenChunks:function(N){var s,L,S,w,x,_;for(s=S=0,L=N.length;s<L;s++)S+=N[s].length;for(_=new Uint8Array(S),s=w=0,L=N.length;s<L;s++)x=N[s],_.set(x,w),w+=x.length;return _}},m={arraySet:function(N,s,L,S,w){for(var x=0;x<S;x++)N[w+x]=s[L+x]},flattenChunks:function(N){return[].concat.apply([],N)}};R.setTyped=function(N){N?(R.Buf8=Uint8Array,R.Buf16=Uint16Array,R.Buf32=Int32Array,R.assign(R,v)):(R.Buf8=Array,R.Buf16=Array,R.Buf32=Array,R.assign(R,m))},R.setTyped($)},{}],42:[function(H,be,R){"use strict";var $=H("./common"),v=!0,m=!0;try{String.fromCharCode.apply(null,[0])}catch(S){v=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(S){m=!1}for(var N=new $.Buf8(256),s=0;s<256;s++)N[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function L(S,w){if(w<65537&&(S.subarray&&m||!S.subarray&&v))return String.fromCharCode.apply(null,$.shrinkBuf(S,w));for(var x="",_=0;_<w;_++)x+=String.fromCharCode(S[_]);return x}N[254]=N[254]=1,R.string2buf=function(S){var w,x,_,B,W,Q=S.length,q=0;for(B=0;B<Q;B++)(64512&(x=S.charCodeAt(B)))==55296&&B+1<Q&&(64512&(_=S.charCodeAt(B+1)))==56320&&(x=65536+(x-55296<<10)+(_-56320),B++),q+=x<128?1:x<2048?2:x<65536?3:4;for(w=new $.Buf8(q),B=W=0;W<q;B++)(64512&(x=S.charCodeAt(B)))==55296&&B+1<Q&&(64512&(_=S.charCodeAt(B+1)))==56320&&(x=65536+(x-55296<<10)+(_-56320),B++),x<128?w[W++]=x:(x<2048?w[W++]=192|x>>>6:(x<65536?w[W++]=224|x>>>12:(w[W++]=240|x>>>18,w[W++]=128|x>>>12&63),w[W++]=128|x>>>6&63),w[W++]=128|63&x);return w},R.buf2binstring=function(S){return L(S,S.length)},R.binstring2buf=function(S){for(var w=new $.Buf8(S.length),x=0,_=w.length;x<_;x++)w[x]=S.charCodeAt(x);return w},R.buf2string=function(S,w){var x,_,B,W,Q=w||S.length,q=new Array(2*Q);for(x=_=0;x<Q;)if((B=S[x++])<128)q[_++]=B;else if(4<(W=N[B]))q[_++]=65533,x+=W-1;else{for(B&=W===2?31:W===3?15:7;1<W&&x<Q;)B=B<<6|63&S[x++],W--;1<W?q[_++]=65533:B<65536?q[_++]=B:(B-=65536,q[_++]=55296|B>>10&1023,q[_++]=56320|1023&B)}return L(q,_)},R.utf8border=function(S,w){var x;for((w=w||S.length)>S.length&&(w=S.length),x=w-1;0<=x&&(192&S[x])==128;)x--;return x<0||x===0?w:x+N[S[x]]>w?x:w}},{"./common":41}],43:[function(H,be,R){"use strict";be.exports=function($,v,m,N){for(var s=65535&$|0,L=$>>>16&65535|0,S=0;m!==0;){for(m-=S=2e3<m?2e3:m;L=L+(s=s+v[N++]|0)|0,--S;);s%=65521,L%=65521}return s|L<<16|0}},{}],44:[function(H,be,R){"use strict";be.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(H,be,R){"use strict";var $=function(){for(var v,m=[],N=0;N<256;N++){v=N;for(var s=0;s<8;s++)v=1&v?3988292384^v>>>1:v>>>1;m[N]=v}return m}();be.exports=function(v,m,N,s){var L=$,S=s+N;v^=-1;for(var w=s;w<S;w++)v=v>>>8^L[255&(v^m[w])];return-1^v}},{}],46:[function(H,be,R){"use strict";var $,v=H("../utils/common"),m=H("./trees"),N=H("./adler32"),s=H("./crc32"),L=H("./messages"),S=0,w=4,x=0,_=-2,B=-1,W=4,Q=2,q=8,Y=9,G=286,D=30,O=19,J=2*G+1,K=15,le=3,ae=258,he=ae+le+1,k=42,Ue=113,F=1,De=2,we=3,de=4;function Be(T,Ye){return T.msg=L[Ye],Ye}function ne(T){return(T<<1)-(4<T?9:0)}function ve(T){for(var Ye=T.length;0<=--Ye;)T[Ye]=0}function ee(T){var Ye=T.state,E=Ye.pending;E>T.avail_out&&(E=T.avail_out),E!==0&&(v.arraySet(T.output,Ye.pending_buf,Ye.pending_out,E,T.next_out),T.next_out+=E,Ye.pending_out+=E,T.total_out+=E,T.avail_out-=E,Ye.pending-=E,Ye.pending===0&&(Ye.pending_out=0))}function se(T,Ye){m._tr_flush_block(T,0<=T.block_start?T.block_start:-1,T.strstart-T.block_start,Ye),T.block_start=T.strstart,ee(T.strm)}function je(T,Ye){T.pending_buf[T.pending++]=Ye}function Pe(T,Ye){T.pending_buf[T.pending++]=Ye>>>8&255,T.pending_buf[T.pending++]=255&Ye}function Oe(T,Ye){var E,u,a=T.max_chain_length,p=T.strstart,M=T.prev_length,re=T.nice_match,C=T.strstart>T.w_size-he?T.strstart-(T.w_size-he):0,j=T.window,me=T.w_mask,Ae=T.prev,ie=T.strstart+ae,Se=j[p+M-1],Ge=j[p+M];T.prev_length>=T.good_match&&(a>>=2),re>T.lookahead&&(re=T.lookahead);do if(j[(E=Ye)+M]===Ge&&j[E+M-1]===Se&&j[E]===j[p]&&j[++E]===j[p+1]){p+=2,E++;do;while(j[++p]===j[++E]&&j[++p]===j[++E]&&j[++p]===j[++E]&&j[++p]===j[++E]&&j[++p]===j[++E]&&j[++p]===j[++E]&&j[++p]===j[++E]&&j[++p]===j[++E]&&p<ie);if(u=ae-(ie-p),p=ie-ae,M<u){if(T.match_start=Ye,re<=(M=u))break;Se=j[p+M-1],Ge=j[p+M]}}while((Ye=Ae[Ye&me])>C&&--a!=0);return M<=T.lookahead?M:T.lookahead}function ut(T){var Ye,E,u,a,p,M,re,C,j,me,Ae=T.w_size;do{if(a=T.window_size-T.lookahead-T.strstart,T.strstart>=Ae+(Ae-he)){for(v.arraySet(T.window,T.window,Ae,Ae,0),T.match_start-=Ae,T.strstart-=Ae,T.block_start-=Ae,Ye=E=T.hash_size;u=T.head[--Ye],T.head[Ye]=Ae<=u?u-Ae:0,--E;);for(Ye=E=Ae;u=T.prev[--Ye],T.prev[Ye]=Ae<=u?u-Ae:0,--E;);a+=Ae}if(T.strm.avail_in===0)break;if(M=T.strm,re=T.window,C=T.strstart+T.lookahead,j=a,me=void 0,me=M.avail_in,j<me&&(me=j),E=me===0?0:(M.avail_in-=me,v.arraySet(re,M.input,M.next_in,me,C),M.state.wrap===1?M.adler=N(M.adler,re,me,C):M.state.wrap===2&&(M.adler=s(M.adler,re,me,C)),M.next_in+=me,M.total_in+=me,me),T.lookahead+=E,T.lookahead+T.insert>=le)for(p=T.strstart-T.insert,T.ins_h=T.window[p],T.ins_h=(T.ins_h<<T.hash_shift^T.window[p+1])&T.hash_mask;T.insert&&(T.ins_h=(T.ins_h<<T.hash_shift^T.window[p+le-1])&T.hash_mask,T.prev[p&T.w_mask]=T.head[T.ins_h],T.head[T.ins_h]=p,p++,T.insert--,!(T.lookahead+T.insert<le)););}while(T.lookahead<he&&T.strm.avail_in!==0)}function mt(T,Ye){for(var E,u;;){if(T.lookahead<he){if(ut(T),T.lookahead<he&&Ye===S)return F;if(T.lookahead===0)break}if(E=0,T.lookahead>=le&&(T.ins_h=(T.ins_h<<T.hash_shift^T.window[T.strstart+le-1])&T.hash_mask,E=T.prev[T.strstart&T.w_mask]=T.head[T.ins_h],T.head[T.ins_h]=T.strstart),E!==0&&T.strstart-E<=T.w_size-he&&(T.match_length=Oe(T,E)),T.match_length>=le)if(u=m._tr_tally(T,T.strstart-T.match_start,T.match_length-le),T.lookahead-=T.match_length,T.match_length<=T.max_lazy_match&&T.lookahead>=le){for(T.match_length--;T.strstart++,T.ins_h=(T.ins_h<<T.hash_shift^T.window[T.strstart+le-1])&T.hash_mask,E=T.prev[T.strstart&T.w_mask]=T.head[T.ins_h],T.head[T.ins_h]=T.strstart,--T.match_length!=0;);T.strstart++}else T.strstart+=T.match_length,T.match_length=0,T.ins_h=T.window[T.strstart],T.ins_h=(T.ins_h<<T.hash_shift^T.window[T.strstart+1])&T.hash_mask;else u=m._tr_tally(T,0,T.window[T.strstart]),T.lookahead--,T.strstart++;if(u&&(se(T,!1),T.strm.avail_out===0))return F}return T.insert=T.strstart<le-1?T.strstart:le-1,Ye===w?(se(T,!0),T.strm.avail_out===0?we:de):T.last_lit&&(se(T,!1),T.strm.avail_out===0)?F:De}function Ot(T,Ye){for(var E,u,a;;){if(T.lookahead<he){if(ut(T),T.lookahead<he&&Ye===S)return F;if(T.lookahead===0)break}if(E=0,T.lookahead>=le&&(T.ins_h=(T.ins_h<<T.hash_shift^T.window[T.strstart+le-1])&T.hash_mask,E=T.prev[T.strstart&T.w_mask]=T.head[T.ins_h],T.head[T.ins_h]=T.strstart),T.prev_length=T.match_length,T.prev_match=T.match_start,T.match_length=le-1,E!==0&&T.prev_length<T.max_lazy_match&&T.strstart-E<=T.w_size-he&&(T.match_length=Oe(T,E),T.match_length<=5&&(T.strategy===1||T.match_length===le&&4096<T.strstart-T.match_start)&&(T.match_length=le-1)),T.prev_length>=le&&T.match_length<=T.prev_length){for(a=T.strstart+T.lookahead-le,u=m._tr_tally(T,T.strstart-1-T.prev_match,T.prev_length-le),T.lookahead-=T.prev_length-1,T.prev_length-=2;++T.strstart<=a&&(T.ins_h=(T.ins_h<<T.hash_shift^T.window[T.strstart+le-1])&T.hash_mask,E=T.prev[T.strstart&T.w_mask]=T.head[T.ins_h],T.head[T.ins_h]=T.strstart),--T.prev_length!=0;);if(T.match_available=0,T.match_length=le-1,T.strstart++,u&&(se(T,!1),T.strm.avail_out===0))return F}else if(T.match_available){if((u=m._tr_tally(T,0,T.window[T.strstart-1]))&&se(T,!1),T.strstart++,T.lookahead--,T.strm.avail_out===0)return F}else T.match_available=1,T.strstart++,T.lookahead--}return T.match_available&&(u=m._tr_tally(T,0,T.window[T.strstart-1]),T.match_available=0),T.insert=T.strstart<le-1?T.strstart:le-1,Ye===w?(se(T,!0),T.strm.avail_out===0?we:de):T.last_lit&&(se(T,!1),T.strm.avail_out===0)?F:De}function Ee(T,Ye,E,u,a){this.good_length=T,this.max_lazy=Ye,this.nice_length=E,this.max_chain=u,this.func=a}function kt(){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=q,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 v.Buf16(2*J),this.dyn_dtree=new v.Buf16(2*(2*D+1)),this.bl_tree=new v.Buf16(2*(2*O+1)),ve(this.dyn_ltree),ve(this.dyn_dtree),ve(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new v.Buf16(K+1),this.heap=new v.Buf16(2*G+1),ve(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new v.Buf16(2*G+1),ve(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 Rt(T){var Ye;return T&&T.state?(T.total_in=T.total_out=0,T.data_type=Q,(Ye=T.state).pending=0,Ye.pending_out=0,Ye.wrap<0&&(Ye.wrap=-Ye.wrap),Ye.status=Ye.wrap?k:Ue,T.adler=Ye.wrap===2?0:1,Ye.last_flush=S,m._tr_init(Ye),x):Be(T,_)}function on(T){var Ye=Rt(T);return Ye===x&&function(E){E.window_size=2*E.w_size,ve(E.head),E.max_lazy_match=$[E.level].max_lazy,E.good_match=$[E.level].good_length,E.nice_match=$[E.level].nice_length,E.max_chain_length=$[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=le-1,E.match_available=0,E.ins_h=0}(T.state),Ye}function Mt(T,Ye,E,u,a,p){if(!T)return _;var M=1;if(Ye===B&&(Ye=6),u<0?(M=0,u=-u):15<u&&(M=2,u-=16),a<1||Y<a||E!==q||u<8||15<u||Ye<0||9<Ye||p<0||W<p)return Be(T,_);u===8&&(u=9);var re=new kt;return(T.state=re).strm=T,re.wrap=M,re.gzhead=null,re.w_bits=u,re.w_size=1<<re.w_bits,re.w_mask=re.w_size-1,re.hash_bits=a+7,re.hash_size=1<<re.hash_bits,re.hash_mask=re.hash_size-1,re.hash_shift=~~((re.hash_bits+le-1)/le),re.window=new v.Buf8(2*re.w_size),re.head=new v.Buf16(re.hash_size),re.prev=new v.Buf16(re.w_size),re.lit_bufsize=1<<a+6,re.pending_buf_size=4*re.lit_bufsize,re.pending_buf=new v.Buf8(re.pending_buf_size),re.d_buf=1*re.lit_bufsize,re.l_buf=3*re.lit_bufsize,re.level=Ye,re.strategy=p,re.method=E,on(T)}$=[new Ee(0,0,0,0,function(T,Ye){var E=65535;for(E>T.pending_buf_size-5&&(E=T.pending_buf_size-5);;){if(T.lookahead<=1){if(ut(T),T.lookahead===0&&Ye===S)return F;if(T.lookahead===0)break}T.strstart+=T.lookahead,T.lookahead=0;var u=T.block_start+E;if((T.strstart===0||T.strstart>=u)&&(T.lookahead=T.strstart-u,T.strstart=u,se(T,!1),T.strm.avail_out===0)||T.strstart-T.block_start>=T.w_size-he&&(se(T,!1),T.strm.avail_out===0))return F}return T.insert=0,Ye===w?(se(T,!0),T.strm.avail_out===0?we:de):(T.strstart>T.block_start&&(se(T,!1),T.strm.avail_out),F)}),new Ee(4,4,8,4,mt),new Ee(4,5,16,8,mt),new Ee(4,6,32,32,mt),new Ee(4,4,16,16,Ot),new Ee(8,16,32,32,Ot),new Ee(8,16,128,128,Ot),new Ee(8,32,128,256,Ot),new Ee(32,128,258,1024,Ot),new Ee(32,258,258,4096,Ot)],R.deflateInit=function(T,Ye){return Mt(T,Ye,q,15,8,0)},R.deflateInit2=Mt,R.deflateReset=on,R.deflateResetKeep=Rt,R.deflateSetHeader=function(T,Ye){return T&&T.state?T.state.wrap!==2?_:(T.state.gzhead=Ye,x):_},R.deflate=function(T,Ye){var E,u,a,p;if(!T||!T.state||5<Ye||Ye<0)return T?Be(T,_):_;if(u=T.state,!T.output||!T.input&&T.avail_in!==0||u.status===666&&Ye!==w)return Be(T,T.avail_out===0?-5:_);if(u.strm=T,E=u.last_flush,u.last_flush=Ye,u.status===k)if(u.wrap===2)T.adler=0,je(u,31),je(u,139),je(u,8),u.gzhead?(je(u,(u.gzhead.text?1:0)+(u.gzhead.hcrc?2:0)+(u.gzhead.extra?4:0)+(u.gzhead.name?8:0)+(u.gzhead.comment?16:0)),je(u,255&u.gzhead.time),je(u,u.gzhead.time>>8&255),je(u,u.gzhead.time>>16&255),je(u,u.gzhead.time>>24&255),je(u,u.level===9?2:2<=u.strategy||u.level<2?4:0),je(u,255&u.gzhead.os),u.gzhead.extra&&u.gzhead.extra.length&&(je(u,255&u.gzhead.extra.length),je(u,u.gzhead.extra.length>>8&255)),u.gzhead.hcrc&&(T.adler=s(T.adler,u.pending_buf,u.pending,0)),u.gzindex=0,u.status=69):(je(u,0),je(u,0),je(u,0),je(u,0),je(u,0),je(u,u.level===9?2:2<=u.strategy||u.level<2?4:0),je(u,3),u.status=Ue);else{var M=q+(u.w_bits-8<<4)<<8;M|=(2<=u.strategy||u.level<2?0:u.level<6?1:u.level===6?2:3)<<6,u.strstart!==0&&(M|=32),M+=31-M%31,u.status=Ue,Pe(u,M),u.strstart!==0&&(Pe(u,T.adler>>>16),Pe(u,65535&T.adler)),T.adler=1}if(u.status===69)if(u.gzhead.extra){for(a=u.pending;u.gzindex<(65535&u.gzhead.extra.length)&&(u.pending!==u.pending_buf_size||(u.gzhead.hcrc&&u.pending>a&&(T.adler=s(T.adler,u.pending_buf,u.pending-a,a)),ee(T),a=u.pending,u.pending!==u.pending_buf_size));)je(u,255&u.gzhead.extra[u.gzindex]),u.gzindex++;u.gzhead.hcrc&&u.pending>a&&(T.adler=s(T.adler,u.pending_buf,u.pending-a,a)),u.gzindex===u.gzhead.extra.length&&(u.gzindex=0,u.status=73)}else u.status=73;if(u.status===73)if(u.gzhead.name){a=u.pending;do{if(u.pending===u.pending_buf_size&&(u.gzhead.hcrc&&u.pending>a&&(T.adler=s(T.adler,u.pending_buf,u.pending-a,a)),ee(T),a=u.pending,u.pending===u.pending_buf_size)){p=1;break}p=u.gzindex<u.gzhead.name.length?255&u.gzhead.name.charCodeAt(u.gzindex++):0,je(u,p)}while(p!==0);u.gzhead.hcrc&&u.pending>a&&(T.adler=s(T.adler,u.pending_buf,u.pending-a,a)),p===0&&(u.gzindex=0,u.status=91)}else u.status=91;if(u.status===91)if(u.gzhead.comment){a=u.pending;do{if(u.pending===u.pending_buf_size&&(u.gzhead.hcrc&&u.pending>a&&(T.adler=s(T.adler,u.pending_buf,u.pending-a,a)),ee(T),a=u.pending,u.pending===u.pending_buf_size)){p=1;break}p=u.gzindex<u.gzhead.comment.length?255&u.gzhead.comment.charCodeAt(u.gzindex++):0,je(u,p)}while(p!==0);u.gzhead.hcrc&&u.pending>a&&(T.adler=s(T.adler,u.pending_buf,u.pending-a,a)),p===0&&(u.status=103)}else u.status=103;if(u.status===103&&(u.gzhead.hcrc?(u.pending+2>u.pending_buf_size&&ee(T),u.pending+2<=u.pending_buf_size&&(je(u,255&T.adler),je(u,T.adler>>8&255),T.adler=0,u.status=Ue)):u.status=Ue),u.pending!==0){if(ee(T),T.avail_out===0)return u.last_flush=-1,x}else if(T.avail_in===0&&ne(Ye)<=ne(E)&&Ye!==w)return Be(T,-5);if(u.status===666&&T.avail_in!==0)return Be(T,-5);if(T.avail_in!==0||u.lookahead!==0||Ye!==S&&u.status!==666){var re=u.strategy===2?function(C,j){for(var me;;){if(C.lookahead===0&&(ut(C),C.lookahead===0)){if(j===S)return F;break}if(C.match_length=0,me=m._tr_tally(C,0,C.window[C.strstart]),C.lookahead--,C.strstart++,me&&(se(C,!1),C.strm.avail_out===0))return F}return C.insert=0,j===w?(se(C,!0),C.strm.avail_out===0?we:de):C.last_lit&&(se(C,!1),C.strm.avail_out===0)?F:De}(u,Ye):u.strategy===3?function(C,j){for(var me,Ae,ie,Se,Ge=C.window;;){if(C.lookahead<=ae){if(ut(C),C.lookahead<=ae&&j===S)return F;if(C.lookahead===0)break}if(C.match_length=0,C.lookahead>=le&&0<C.strstart&&(Ae=Ge[ie=C.strstart-1])===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]){Se=C.strstart+ae;do;while(Ae===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]&&Ae===Ge[++ie]&&ie<Se);C.match_length=ae-(Se-ie),C.match_length>C.lookahead&&(C.match_length=C.lookahead)}if(C.match_length>=le?(me=m._tr_tally(C,1,C.match_length-le),C.lookahead-=C.match_length,C.strstart+=C.match_length,C.match_length=0):(me=m._tr_tally(C,0,C.window[C.strstart]),C.lookahead--,C.strstart++),me&&(se(C,!1),C.strm.avail_out===0))return F}return C.insert=0,j===w?(se(C,!0),C.strm.avail_out===0?we:de):C.last_lit&&(se(C,!1),C.strm.avail_out===0)?F:De}(u,Ye):$[u.level].func(u,Ye);if(re!==we&&re!==de||(u.status=666),re===F||re===we)return T.avail_out===0&&(u.last_flush=-1),x;if(re===De&&(Ye===1?m._tr_align(u):Ye!==5&&(m._tr_stored_block(u,0,0,!1),Ye===3&&(ve(u.head),u.lookahead===0&&(u.strstart=0,u.block_start=0,u.insert=0))),ee(T),T.avail_out===0))return u.last_flush=-1,x}return Ye!==w?x:u.wrap<=0?1:(u.wrap===2?(je(u,255&T.adler),je(u,T.adler>>8&255),je(u,T.adler>>16&255),je(u,T.adler>>24&255),je(u,255&T.total_in),je(u,T.total_in>>8&255),je(u,T.total_in>>16&255),je(u,T.total_in>>24&255)):(Pe(u,T.adler>>>16),Pe(u,65535&T.adler)),ee(T),0<u.wrap&&(u.wrap=-u.wrap),u.pending!==0?x:1)},R.deflateEnd=function(T){var Ye;return T&&T.state?(Ye=T.state.status)!==k&&Ye!==69&&Ye!==73&&Ye!==91&&Ye!==103&&Ye!==Ue&&Ye!==666?Be(T,_):(T.state=null,Ye===Ue?Be(T,-3):x):_},R.deflateSetDictionary=function(T,Ye){var E,u,a,p,M,re,C,j,me=Ye.length;if(!T||!T.state||(p=(E=T.state).wrap)===2||p===1&&E.status!==k||E.lookahead)return _;for(p===1&&(T.adler=N(T.adler,Ye,me,0)),E.wrap=0,me>=E.w_size&&(p===0&&(ve(E.head),E.strstart=0,E.block_start=0,E.insert=0),j=new v.Buf8(E.w_size),v.arraySet(j,Ye,me-E.w_size,E.w_size,0),Ye=j,me=E.w_size),M=T.avail_in,re=T.next_in,C=T.input,T.avail_in=me,T.next_in=0,T.input=Ye,ut(E);E.lookahead>=le;){for(u=E.strstart,a=E.lookahead-(le-1);E.ins_h=(E.ins_h<<E.hash_shift^E.window[u+le-1])&E.hash_mask,E.prev[u&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=u,u++,--a;);E.strstart=u,E.lookahead=le-1,ut(E)}return E.strstart+=E.lookahead,E.block_start=E.strstart,E.insert=E.lookahead,E.lookahead=0,E.match_length=E.prev_length=le-1,E.match_available=0,T.next_in=re,T.input=C,T.avail_in=M,E.wrap=p,x},R.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(H,be,R){"use strict";be.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(H,be,R){"use strict";be.exports=function($,v){var m,N,s,L,S,w,x,_,B,W,Q,q,Y,G,D,O,J,K,le,ae,he,k,Ue,F,De;m=$.state,N=$.next_in,F=$.input,s=N+($.avail_in-5),L=$.next_out,De=$.output,S=L-(v-$.avail_out),w=L+($.avail_out-257),x=m.dmax,_=m.wsize,B=m.whave,W=m.wnext,Q=m.window,q=m.hold,Y=m.bits,G=m.lencode,D=m.distcode,O=(1<<m.lenbits)-1,J=(1<<m.distbits)-1;e:do{Y<15&&(q+=F[N++]<<Y,Y+=8,q+=F[N++]<<Y,Y+=8),K=G[q&O];t:for(;;){if(q>>>=le=K>>>24,Y-=le,(le=K>>>16&255)===0)De[L++]=65535&K;else{if(!(16&le)){if(!(64&le)){K=G[(65535&K)+(q&(1<<le)-1)];continue t}if(32&le){m.mode=12;break e}$.msg="invalid literal/length code",m.mode=30;break e}ae=65535&K,(le&=15)&&(Y<le&&(q+=F[N++]<<Y,Y+=8),ae+=q&(1<<le)-1,q>>>=le,Y-=le),Y<15&&(q+=F[N++]<<Y,Y+=8,q+=F[N++]<<Y,Y+=8),K=D[q&J];n:for(;;){if(q>>>=le=K>>>24,Y-=le,!(16&(le=K>>>16&255))){if(!(64&le)){K=D[(65535&K)+(q&(1<<le)-1)];continue n}$.msg="invalid distance code",m.mode=30;break e}if(he=65535&K,Y<(le&=15)&&(q+=F[N++]<<Y,(Y+=8)<le&&(q+=F[N++]<<Y,Y+=8)),x<(he+=q&(1<<le)-1)){$.msg="invalid distance too far back",m.mode=30;break e}if(q>>>=le,Y-=le,(le=L-S)<he){if(B<(le=he-le)&&m.sane){$.msg="invalid distance too far back",m.mode=30;break e}if(Ue=Q,(k=0)===W){if(k+=_-le,le<ae){for(ae-=le;De[L++]=Q[k++],--le;);k=L-he,Ue=De}}else if(W<le){if(k+=_+W-le,(le-=W)<ae){for(ae-=le;De[L++]=Q[k++],--le;);if(k=0,W<ae){for(ae-=le=W;De[L++]=Q[k++],--le;);k=L-he,Ue=De}}}else if(k+=W-le,le<ae){for(ae-=le;De[L++]=Q[k++],--le;);k=L-he,Ue=De}for(;2<ae;)De[L++]=Ue[k++],De[L++]=Ue[k++],De[L++]=Ue[k++],ae-=3;ae&&(De[L++]=Ue[k++],1<ae&&(De[L++]=Ue[k++]))}else{for(k=L-he;De[L++]=De[k++],De[L++]=De[k++],De[L++]=De[k++],2<(ae-=3););ae&&(De[L++]=De[k++],1<ae&&(De[L++]=De[k++]))}break}}break}}while(N<s&&L<w);N-=ae=Y>>3,q&=(1<<(Y-=ae<<3))-1,$.next_in=N,$.next_out=L,$.avail_in=N<s?s-N+5:5-(N-s),$.avail_out=L<w?w-L+257:257-(L-w),m.hold=q,m.bits=Y}},{}],49:[function(H,be,R){"use strict";var $=H("../utils/common"),v=H("./adler32"),m=H("./crc32"),N=H("./inffast"),s=H("./inftrees"),L=1,S=2,w=0,x=-2,_=1,B=852,W=592;function Q(k){return(k>>>24&255)+(k>>>8&65280)+((65280&k)<<8)+((255&k)<<24)}function q(){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 $.Buf16(320),this.work=new $.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Y(k){var Ue;return k&&k.state?(Ue=k.state,k.total_in=k.total_out=Ue.total=0,k.msg="",Ue.wrap&&(k.adler=1&Ue.wrap),Ue.mode=_,Ue.last=0,Ue.havedict=0,Ue.dmax=32768,Ue.head=null,Ue.hold=0,Ue.bits=0,Ue.lencode=Ue.lendyn=new $.Buf32(B),Ue.distcode=Ue.distdyn=new $.Buf32(W),Ue.sane=1,Ue.back=-1,w):x}function G(k){var Ue;return k&&k.state?((Ue=k.state).wsize=0,Ue.whave=0,Ue.wnext=0,Y(k)):x}function D(k,Ue){var F,De;return k&&k.state?(De=k.state,Ue<0?(F=0,Ue=-Ue):(F=1+(Ue>>4),Ue<48&&(Ue&=15)),Ue&&(Ue<8||15<Ue)?x:(De.window!==null&&De.wbits!==Ue&&(De.window=null),De.wrap=F,De.wbits=Ue,G(k))):x}function O(k,Ue){var F,De;return k?(De=new q,(k.state=De).window=null,(F=D(k,Ue))!==w&&(k.state=null),F):x}var J,K,le=!0;function ae(k){if(le){var Ue;for(J=new $.Buf32(512),K=new $.Buf32(32),Ue=0;Ue<144;)k.lens[Ue++]=8;for(;Ue<256;)k.lens[Ue++]=9;for(;Ue<280;)k.lens[Ue++]=7;for(;Ue<288;)k.lens[Ue++]=8;for(s(L,k.lens,0,288,J,0,k.work,{bits:9}),Ue=0;Ue<32;)k.lens[Ue++]=5;s(S,k.lens,0,32,K,0,k.work,{bits:5}),le=!1}k.lencode=J,k.lenbits=9,k.distcode=K,k.distbits=5}function he(k,Ue,F,De){var we,de=k.state;return de.window===null&&(de.wsize=1<<de.wbits,de.wnext=0,de.whave=0,de.window=new $.Buf8(de.wsize)),De>=de.wsize?($.arraySet(de.window,Ue,F-de.wsize,de.wsize,0),de.wnext=0,de.whave=de.wsize):(De<(we=de.wsize-de.wnext)&&(we=De),$.arraySet(de.window,Ue,F-De,we,de.wnext),(De-=we)?($.arraySet(de.window,Ue,F-De,De,0),de.wnext=De,de.whave=de.wsize):(de.wnext+=we,de.wnext===de.wsize&&(de.wnext=0),de.whave<de.wsize&&(de.whave+=we))),0}R.inflateReset=G,R.inflateReset2=D,R.inflateResetKeep=Y,R.inflateInit=function(k){return O(k,15)},R.inflateInit2=O,R.inflate=function(k,Ue){var F,De,we,de,Be,ne,ve,ee,se,je,Pe,Oe,ut,mt,Ot,Ee,kt,Rt,on,Mt,T,Ye,E,u,a=0,p=new $.Buf8(4),M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!k||!k.state||!k.output||!k.input&&k.avail_in!==0)return x;(F=k.state).mode===12&&(F.mode=13),Be=k.next_out,we=k.output,ve=k.avail_out,de=k.next_in,De=k.input,ne=k.avail_in,ee=F.hold,se=F.bits,je=ne,Pe=ve,Ye=w;e:for(;;)switch(F.mode){case _:if(F.wrap===0){F.mode=13;break}for(;se<16;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(2&F.wrap&&ee===35615){p[F.check=0]=255&ee,p[1]=ee>>>8&255,F.check=m(F.check,p,2,0),se=ee=0,F.mode=2;break}if(F.flags=0,F.head&&(F.head.done=!1),!(1&F.wrap)||(((255&ee)<<8)+(ee>>8))%31){k.msg="incorrect header check",F.mode=30;break}if((15&ee)!=8){k.msg="unknown compression method",F.mode=30;break}if(se-=4,T=8+(15&(ee>>>=4)),F.wbits===0)F.wbits=T;else if(T>F.wbits){k.msg="invalid window size",F.mode=30;break}F.dmax=1<<T,k.adler=F.check=1,F.mode=512&ee?10:12,se=ee=0;break;case 2:for(;se<16;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(F.flags=ee,(255&F.flags)!=8){k.msg="unknown compression method",F.mode=30;break}if(57344&F.flags){k.msg="unknown header flags set",F.mode=30;break}F.head&&(F.head.text=ee>>8&1),512&F.flags&&(p[0]=255&ee,p[1]=ee>>>8&255,F.check=m(F.check,p,2,0)),se=ee=0,F.mode=3;case 3:for(;se<32;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}F.head&&(F.head.time=ee),512&F.flags&&(p[0]=255&ee,p[1]=ee>>>8&255,p[2]=ee>>>16&255,p[3]=ee>>>24&255,F.check=m(F.check,p,4,0)),se=ee=0,F.mode=4;case 4:for(;se<16;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}F.head&&(F.head.xflags=255&ee,F.head.os=ee>>8),512&F.flags&&(p[0]=255&ee,p[1]=ee>>>8&255,F.check=m(F.check,p,2,0)),se=ee=0,F.mode=5;case 5:if(1024&F.flags){for(;se<16;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}F.length=ee,F.head&&(F.head.extra_len=ee),512&F.flags&&(p[0]=255&ee,p[1]=ee>>>8&255,F.check=m(F.check,p,2,0)),se=ee=0}else F.head&&(F.head.extra=null);F.mode=6;case 6:if(1024&F.flags&&(ne<(Oe=F.length)&&(Oe=ne),Oe&&(F.head&&(T=F.head.extra_len-F.length,F.head.extra||(F.head.extra=new Array(F.head.extra_len)),$.arraySet(F.head.extra,De,de,Oe,T)),512&F.flags&&(F.check=m(F.check,De,Oe,de)),ne-=Oe,de+=Oe,F.length-=Oe),F.length))break e;F.length=0,F.mode=7;case 7:if(2048&F.flags){if(ne===0)break e;for(Oe=0;T=De[de+Oe++],F.head&&T&&F.length<65536&&(F.head.name+=String.fromCharCode(T)),T&&Oe<ne;);if(512&F.flags&&(F.check=m(F.check,De,Oe,de)),ne-=Oe,de+=Oe,T)break e}else F.head&&(F.head.name=null);F.length=0,F.mode=8;case 8:if(4096&F.flags){if(ne===0)break e;for(Oe=0;T=De[de+Oe++],F.head&&T&&F.length<65536&&(F.head.comment+=String.fromCharCode(T)),T&&Oe<ne;);if(512&F.flags&&(F.check=m(F.check,De,Oe,de)),ne-=Oe,de+=Oe,T)break e}else F.head&&(F.head.comment=null);F.mode=9;case 9:if(512&F.flags){for(;se<16;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(ee!==(65535&F.check)){k.msg="header crc mismatch",F.mode=30;break}se=ee=0}F.head&&(F.head.hcrc=F.flags>>9&1,F.head.done=!0),k.adler=F.check=0,F.mode=12;break;case 10:for(;se<32;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}k.adler=F.check=Q(ee),se=ee=0,F.mode=11;case 11:if(F.havedict===0)return k.next_out=Be,k.avail_out=ve,k.next_in=de,k.avail_in=ne,F.hold=ee,F.bits=se,2;k.adler=F.check=1,F.mode=12;case 12:if(Ue===5||Ue===6)break e;case 13:if(F.last){ee>>>=7&se,se-=7&se,F.mode=27;break}for(;se<3;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}switch(F.last=1&ee,se-=1,3&(ee>>>=1)){case 0:F.mode=14;break;case 1:if(ae(F),F.mode=20,Ue!==6)break;ee>>>=2,se-=2;break e;case 2:F.mode=17;break;case 3:k.msg="invalid block type",F.mode=30}ee>>>=2,se-=2;break;case 14:for(ee>>>=7&se,se-=7&se;se<32;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if((65535&ee)!=(ee>>>16^65535)){k.msg="invalid stored block lengths",F.mode=30;break}if(F.length=65535&ee,se=ee=0,F.mode=15,Ue===6)break e;case 15:F.mode=16;case 16:if(Oe=F.length){if(ne<Oe&&(Oe=ne),ve<Oe&&(Oe=ve),Oe===0)break e;$.arraySet(we,De,de,Oe,Be),ne-=Oe,de+=Oe,ve-=Oe,Be+=Oe,F.length-=Oe;break}F.mode=12;break;case 17:for(;se<14;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(F.nlen=257+(31&ee),ee>>>=5,se-=5,F.ndist=1+(31&ee),ee>>>=5,se-=5,F.ncode=4+(15&ee),ee>>>=4,se-=4,286<F.nlen||30<F.ndist){k.msg="too many length or distance symbols",F.mode=30;break}F.have=0,F.mode=18;case 18:for(;F.have<F.ncode;){for(;se<3;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}F.lens[M[F.have++]]=7&ee,ee>>>=3,se-=3}for(;F.have<19;)F.lens[M[F.have++]]=0;if(F.lencode=F.lendyn,F.lenbits=7,E={bits:F.lenbits},Ye=s(0,F.lens,0,19,F.lencode,0,F.work,E),F.lenbits=E.bits,Ye){k.msg="invalid code lengths set",F.mode=30;break}F.have=0,F.mode=19;case 19:for(;F.have<F.nlen+F.ndist;){for(;Ee=(a=F.lencode[ee&(1<<F.lenbits)-1])>>>16&255,kt=65535&a,!((Ot=a>>>24)<=se);){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(kt<16)ee>>>=Ot,se-=Ot,F.lens[F.have++]=kt;else{if(kt===16){for(u=Ot+2;se<u;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(ee>>>=Ot,se-=Ot,F.have===0){k.msg="invalid bit length repeat",F.mode=30;break}T=F.lens[F.have-1],Oe=3+(3&ee),ee>>>=2,se-=2}else if(kt===17){for(u=Ot+3;se<u;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}se-=Ot,T=0,Oe=3+(7&(ee>>>=Ot)),ee>>>=3,se-=3}else{for(u=Ot+7;se<u;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}se-=Ot,T=0,Oe=11+(127&(ee>>>=Ot)),ee>>>=7,se-=7}if(F.have+Oe>F.nlen+F.ndist){k.msg="invalid bit length repeat",F.mode=30;break}for(;Oe--;)F.lens[F.have++]=T}}if(F.mode===30)break;if(F.lens[256]===0){k.msg="invalid code -- missing end-of-block",F.mode=30;break}if(F.lenbits=9,E={bits:F.lenbits},Ye=s(L,F.lens,0,F.nlen,F.lencode,0,F.work,E),F.lenbits=E.bits,Ye){k.msg="invalid literal/lengths set",F.mode=30;break}if(F.distbits=6,F.distcode=F.distdyn,E={bits:F.distbits},Ye=s(S,F.lens,F.nlen,F.ndist,F.distcode,0,F.work,E),F.distbits=E.bits,Ye){k.msg="invalid distances set",F.mode=30;break}if(F.mode=20,Ue===6)break e;case 20:F.mode=21;case 21:if(6<=ne&&258<=ve){k.next_out=Be,k.avail_out=ve,k.next_in=de,k.avail_in=ne,F.hold=ee,F.bits=se,N(k,Pe),Be=k.next_out,we=k.output,ve=k.avail_out,de=k.next_in,De=k.input,ne=k.avail_in,ee=F.hold,se=F.bits,F.mode===12&&(F.back=-1);break}for(F.back=0;Ee=(a=F.lencode[ee&(1<<F.lenbits)-1])>>>16&255,kt=65535&a,!((Ot=a>>>24)<=se);){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(Ee&&!(240&Ee)){for(Rt=Ot,on=Ee,Mt=kt;Ee=(a=F.lencode[Mt+((ee&(1<<Rt+on)-1)>>Rt)])>>>16&255,kt=65535&a,!(Rt+(Ot=a>>>24)<=se);){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}ee>>>=Rt,se-=Rt,F.back+=Rt}if(ee>>>=Ot,se-=Ot,F.back+=Ot,F.length=kt,Ee===0){F.mode=26;break}if(32&Ee){F.back=-1,F.mode=12;break}if(64&Ee){k.msg="invalid literal/length code",F.mode=30;break}F.extra=15&Ee,F.mode=22;case 22:if(F.extra){for(u=F.extra;se<u;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}F.length+=ee&(1<<F.extra)-1,ee>>>=F.extra,se-=F.extra,F.back+=F.extra}F.was=F.length,F.mode=23;case 23:for(;Ee=(a=F.distcode[ee&(1<<F.distbits)-1])>>>16&255,kt=65535&a,!((Ot=a>>>24)<=se);){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(!(240&Ee)){for(Rt=Ot,on=Ee,Mt=kt;Ee=(a=F.distcode[Mt+((ee&(1<<Rt+on)-1)>>Rt)])>>>16&255,kt=65535&a,!(Rt+(Ot=a>>>24)<=se);){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}ee>>>=Rt,se-=Rt,F.back+=Rt}if(ee>>>=Ot,se-=Ot,F.back+=Ot,64&Ee){k.msg="invalid distance code",F.mode=30;break}F.offset=kt,F.extra=15&Ee,F.mode=24;case 24:if(F.extra){for(u=F.extra;se<u;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}F.offset+=ee&(1<<F.extra)-1,ee>>>=F.extra,se-=F.extra,F.back+=F.extra}if(F.offset>F.dmax){k.msg="invalid distance too far back",F.mode=30;break}F.mode=25;case 25:if(ve===0)break e;if(Oe=Pe-ve,F.offset>Oe){if((Oe=F.offset-Oe)>F.whave&&F.sane){k.msg="invalid distance too far back",F.mode=30;break}ut=Oe>F.wnext?(Oe-=F.wnext,F.wsize-Oe):F.wnext-Oe,Oe>F.length&&(Oe=F.length),mt=F.window}else mt=we,ut=Be-F.offset,Oe=F.length;for(ve<Oe&&(Oe=ve),ve-=Oe,F.length-=Oe;we[Be++]=mt[ut++],--Oe;);F.length===0&&(F.mode=21);break;case 26:if(ve===0)break e;we[Be++]=F.length,ve--,F.mode=21;break;case 27:if(F.wrap){for(;se<32;){if(ne===0)break e;ne--,ee|=De[de++]<<se,se+=8}if(Pe-=ve,k.total_out+=Pe,F.total+=Pe,Pe&&(k.adler=F.check=F.flags?m(F.check,we,Pe,Be-Pe):v(F.check,we,Pe,Be-Pe)),Pe=ve,(F.flags?ee:Q(ee))!==F.check){k.msg="incorrect data check",F.mode=30;break}se=ee=0}F.mode=28;case 28:if(F.wrap&&F.flags){for(;se<32;){if(ne===0)break e;ne--,ee+=De[de++]<<se,se+=8}if(ee!==(4294967295&F.total)){k.msg="incorrect length check",F.mode=30;break}se=ee=0}F.mode=29;case 29:Ye=1;break e;case 30:Ye=-3;break e;case 31:return-4;case 32:default:return x}return k.next_out=Be,k.avail_out=ve,k.next_in=de,k.avail_in=ne,F.hold=ee,F.bits=se,(F.wsize||Pe!==k.avail_out&&F.mode<30&&(F.mode<27||Ue!==4))&&he(k,k.output,k.next_out,Pe-k.avail_out)?(F.mode=31,-4):(je-=k.avail_in,Pe-=k.avail_out,k.total_in+=je,k.total_out+=Pe,F.total+=Pe,F.wrap&&Pe&&(k.adler=F.check=F.flags?m(F.check,we,Pe,k.next_out-Pe):v(F.check,we,Pe,k.next_out-Pe)),k.data_type=F.bits+(F.last?64:0)+(F.mode===12?128:0)+(F.mode===20||F.mode===15?256:0),(je==0&&Pe===0||Ue===4)&&Ye===w&&(Ye=-5),Ye)},R.inflateEnd=function(k){if(!k||!k.state)return x;var Ue=k.state;return Ue.window&&(Ue.window=null),k.state=null,w},R.inflateGetHeader=function(k,Ue){var F;return k&&k.state&&2&(F=k.state).wrap?((F.head=Ue).done=!1,w):x},R.inflateSetDictionary=function(k,Ue){var F,De=Ue.length;return k&&k.state?(F=k.state).wrap!==0&&F.mode!==11?x:F.mode===11&&v(1,Ue,De,0)!==F.check?-3:he(k,Ue,De,De)?(F.mode=31,-4):(F.havedict=1,w):x},R.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(H,be,R){"use strict";var $=H("../utils/common"),v=[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],m=[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],N=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];be.exports=function(L,S,w,x,_,B,W,Q){var q,Y,G,D,O,J,K,le,ae,he=Q.bits,k=0,Ue=0,F=0,De=0,we=0,de=0,Be=0,ne=0,ve=0,ee=0,se=null,je=0,Pe=new $.Buf16(16),Oe=new $.Buf16(16),ut=null,mt=0;for(k=0;k<=15;k++)Pe[k]=0;for(Ue=0;Ue<x;Ue++)Pe[S[w+Ue]]++;for(we=he,De=15;1<=De&&Pe[De]===0;De--);if(De<we&&(we=De),De===0)return _[B++]=20971520,_[B++]=20971520,Q.bits=1,0;for(F=1;F<De&&Pe[F]===0;F++);for(we<F&&(we=F),k=ne=1;k<=15;k++)if(ne<<=1,(ne-=Pe[k])<0)return-1;if(0<ne&&(L===0||De!==1))return-1;for(Oe[1]=0,k=1;k<15;k++)Oe[k+1]=Oe[k]+Pe[k];for(Ue=0;Ue<x;Ue++)S[w+Ue]!==0&&(W[Oe[S[w+Ue]]++]=Ue);if(J=L===0?(se=ut=W,19):L===1?(se=v,je-=257,ut=m,mt-=257,256):(se=N,ut=s,-1),k=F,O=B,Be=Ue=ee=0,G=-1,D=(ve=1<<(de=we))-1,L===1&&852<ve||L===2&&592<ve)return 1;for(;;){for(K=k-Be,ae=W[Ue]<J?(le=0,W[Ue]):W[Ue]>J?(le=ut[mt+W[Ue]],se[je+W[Ue]]):(le=96,0),q=1<<k-Be,F=Y=1<<de;_[O+(ee>>Be)+(Y-=q)]=K<<24|le<<16|ae|0,Y!==0;);for(q=1<<k-1;ee&q;)q>>=1;if(q!==0?(ee&=q-1,ee+=q):ee=0,Ue++,--Pe[k]==0){if(k===De)break;k=S[w+W[Ue]]}if(we<k&&(ee&D)!==G){for(Be===0&&(Be=we),O+=F,ne=1<<(de=k-Be);de+Be<De&&!((ne-=Pe[de+Be])<=0);)de++,ne<<=1;if(ve+=1<<de,L===1&&852<ve||L===2&&592<ve)return 1;_[G=ee&D]=we<<24|de<<16|O-B|0}}return ee!==0&&(_[O+ee]=k-Be<<24|64<<16|0),Q.bits=we,0}},{"../utils/common":41}],51:[function(H,be,R){"use strict";be.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(H,be,R){"use strict";var $=H("../utils/common"),v=0,m=1;function N(a){for(var p=a.length;0<=--p;)a[p]=0}var s=0,L=29,S=256,w=S+1+L,x=30,_=19,B=2*w+1,W=15,Q=16,q=7,Y=256,G=16,D=17,O=18,J=[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],K=[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],le=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],he=new Array(2*(w+2));N(he);var k=new Array(2*x);N(k);var Ue=new Array(512);N(Ue);var F=new Array(256);N(F);var De=new Array(L);N(De);var we,de,Be,ne=new Array(x);function ve(a,p,M,re,C){this.static_tree=a,this.extra_bits=p,this.extra_base=M,this.elems=re,this.max_length=C,this.has_stree=a&&a.length}function ee(a,p){this.dyn_tree=a,this.max_code=0,this.stat_desc=p}function se(a){return a<256?Ue[a]:Ue[256+(a>>>7)]}function je(a,p){a.pending_buf[a.pending++]=255&p,a.pending_buf[a.pending++]=p>>>8&255}function Pe(a,p,M){a.bi_valid>Q-M?(a.bi_buf|=p<<a.bi_valid&65535,je(a,a.bi_buf),a.bi_buf=p>>Q-a.bi_valid,a.bi_valid+=M-Q):(a.bi_buf|=p<<a.bi_valid&65535,a.bi_valid+=M)}function Oe(a,p,M){Pe(a,M[2*p],M[2*p+1])}function ut(a,p){for(var M=0;M|=1&a,a>>>=1,M<<=1,0<--p;);return M>>>1}function mt(a,p,M){var re,C,j=new Array(W+1),me=0;for(re=1;re<=W;re++)j[re]=me=me+M[re-1]<<1;for(C=0;C<=p;C++){var Ae=a[2*C+1];Ae!==0&&(a[2*C]=ut(j[Ae]++,Ae))}}function Ot(a){var p;for(p=0;p<w;p++)a.dyn_ltree[2*p]=0;for(p=0;p<x;p++)a.dyn_dtree[2*p]=0;for(p=0;p<_;p++)a.bl_tree[2*p]=0;a.dyn_ltree[2*Y]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function Ee(a){8<a.bi_valid?je(a,a.bi_buf):0<a.bi_valid&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function kt(a,p,M,re){var C=2*p,j=2*M;return a[C]<a[j]||a[C]===a[j]&&re[p]<=re[M]}function Rt(a,p,M){for(var re=a.heap[M],C=M<<1;C<=a.heap_len&&(C<a.heap_len&&kt(p,a.heap[C+1],a.heap[C],a.depth)&&C++,!kt(p,re,a.heap[C],a.depth));)a.heap[M]=a.heap[C],M=C,C<<=1;a.heap[M]=re}function on(a,p,M){var re,C,j,me,Ae=0;if(a.last_lit!==0)for(;re=a.pending_buf[a.d_buf+2*Ae]<<8|a.pending_buf[a.d_buf+2*Ae+1],C=a.pending_buf[a.l_buf+Ae],Ae++,re===0?Oe(a,C,p):(Oe(a,(j=F[C])+S+1,p),(me=J[j])!==0&&Pe(a,C-=De[j],me),Oe(a,j=se(--re),M),(me=K[j])!==0&&Pe(a,re-=ne[j],me)),Ae<a.last_lit;);Oe(a,Y,p)}function Mt(a,p){var M,re,C,j=p.dyn_tree,me=p.stat_desc.static_tree,Ae=p.stat_desc.has_stree,ie=p.stat_desc.elems,Se=-1;for(a.heap_len=0,a.heap_max=B,M=0;M<ie;M++)j[2*M]!==0?(a.heap[++a.heap_len]=Se=M,a.depth[M]=0):j[2*M+1]=0;for(;a.heap_len<2;)j[2*(C=a.heap[++a.heap_len]=Se<2?++Se:0)]=1,a.depth[C]=0,a.opt_len--,Ae&&(a.static_len-=me[2*C+1]);for(p.max_code=Se,M=a.heap_len>>1;1<=M;M--)Rt(a,j,M);for(C=ie;M=a.heap[1],a.heap[1]=a.heap[a.heap_len--],Rt(a,j,1),re=a.heap[1],a.heap[--a.heap_max]=M,a.heap[--a.heap_max]=re,j[2*C]=j[2*M]+j[2*re],a.depth[C]=(a.depth[M]>=a.depth[re]?a.depth[M]:a.depth[re])+1,j[2*M+1]=j[2*re+1]=C,a.heap[1]=C++,Rt(a,j,1),2<=a.heap_len;);a.heap[--a.heap_max]=a.heap[1],function(Ge,xe){var He,Te,pe,ge,Ve,yt,ht=xe.dyn_tree,Tt=xe.max_code,sn=xe.stat_desc.static_tree,tn=xe.stat_desc.has_stree,pn=xe.stat_desc.extra_bits,mn=xe.stat_desc.extra_base,qt=xe.stat_desc.max_length,gn=0;for(ge=0;ge<=W;ge++)Ge.bl_count[ge]=0;for(ht[2*Ge.heap[Ge.heap_max]+1]=0,He=Ge.heap_max+1;He<B;He++)qt<(ge=ht[2*ht[2*(Te=Ge.heap[He])+1]+1]+1)&&(ge=qt,gn++),ht[2*Te+1]=ge,Tt<Te||(Ge.bl_count[ge]++,Ve=0,mn<=Te&&(Ve=pn[Te-mn]),yt=ht[2*Te],Ge.opt_len+=yt*(ge+Ve),tn&&(Ge.static_len+=yt*(sn[2*Te+1]+Ve)));if(gn!==0){do{for(ge=qt-1;Ge.bl_count[ge]===0;)ge--;Ge.bl_count[ge]--,Ge.bl_count[ge+1]+=2,Ge.bl_count[qt]--,gn-=2}while(0<gn);for(ge=qt;ge!==0;ge--)for(Te=Ge.bl_count[ge];Te!==0;)Tt<(pe=Ge.heap[--He])||(ht[2*pe+1]!==ge&&(Ge.opt_len+=(ge-ht[2*pe+1])*ht[2*pe],ht[2*pe+1]=ge),Te--)}}(a,p),mt(j,Se,a.bl_count)}function T(a,p,M){var re,C,j=-1,me=p[1],Ae=0,ie=7,Se=4;for(me===0&&(ie=138,Se=3),p[2*(M+1)+1]=65535,re=0;re<=M;re++)C=me,me=p[2*(re+1)+1],++Ae<ie&&C===me||(Ae<Se?a.bl_tree[2*C]+=Ae:C!==0?(C!==j&&a.bl_tree[2*C]++,a.bl_tree[2*G]++):Ae<=10?a.bl_tree[2*D]++:a.bl_tree[2*O]++,j=C,Se=(Ae=0)===me?(ie=138,3):C===me?(ie=6,3):(ie=7,4))}function Ye(a,p,M){var re,C,j=-1,me=p[1],Ae=0,ie=7,Se=4;for(me===0&&(ie=138,Se=3),re=0;re<=M;re++)if(C=me,me=p[2*(re+1)+1],!(++Ae<ie&&C===me)){if(Ae<Se)for(;Oe(a,C,a.bl_tree),--Ae!=0;);else C!==0?(C!==j&&(Oe(a,C,a.bl_tree),Ae--),Oe(a,G,a.bl_tree),Pe(a,Ae-3,2)):Ae<=10?(Oe(a,D,a.bl_tree),Pe(a,Ae-3,3)):(Oe(a,O,a.bl_tree),Pe(a,Ae-11,7));j=C,Se=(Ae=0)===me?(ie=138,3):C===me?(ie=6,3):(ie=7,4)}}N(ne);var E=!1;function u(a,p,M,re){Pe(a,(s<<1)+(re?1:0),3),function(C,j,me,Ae){Ee(C),Ae&&(je(C,me),je(C,~me)),$.arraySet(C.pending_buf,C.window,j,me,C.pending),C.pending+=me}(a,p,M,!0)}R._tr_init=function(a){E||(function(){var p,M,re,C,j,me=new Array(W+1);for(C=re=0;C<L-1;C++)for(De[C]=re,p=0;p<1<<J[C];p++)F[re++]=C;for(F[re-1]=C,C=j=0;C<16;C++)for(ne[C]=j,p=0;p<1<<K[C];p++)Ue[j++]=C;for(j>>=7;C<x;C++)for(ne[C]=j<<7,p=0;p<1<<K[C]-7;p++)Ue[256+j++]=C;for(M=0;M<=W;M++)me[M]=0;for(p=0;p<=143;)he[2*p+1]=8,p++,me[8]++;for(;p<=255;)he[2*p+1]=9,p++,me[9]++;for(;p<=279;)he[2*p+1]=7,p++,me[7]++;for(;p<=287;)he[2*p+1]=8,p++,me[8]++;for(mt(he,w+1,me),p=0;p<x;p++)k[2*p+1]=5,k[2*p]=ut(p,5);we=new ve(he,J,S+1,w,W),de=new ve(k,K,0,x,W),Be=new ve(new Array(0),le,0,_,q)}(),E=!0),a.l_desc=new ee(a.dyn_ltree,we),a.d_desc=new ee(a.dyn_dtree,de),a.bl_desc=new ee(a.bl_tree,Be),a.bi_buf=0,a.bi_valid=0,Ot(a)},R._tr_stored_block=u,R._tr_flush_block=function(a,p,M,re){var C,j,me=0;0<a.level?(a.strm.data_type===2&&(a.strm.data_type=function(Ae){var ie,Se=4093624447;for(ie=0;ie<=31;ie++,Se>>>=1)if(1&Se&&Ae.dyn_ltree[2*ie]!==0)return v;if(Ae.dyn_ltree[18]!==0||Ae.dyn_ltree[20]!==0||Ae.dyn_ltree[26]!==0)return m;for(ie=32;ie<S;ie++)if(Ae.dyn_ltree[2*ie]!==0)return m;return v}(a)),Mt(a,a.l_desc),Mt(a,a.d_desc),me=function(Ae){var ie;for(T(Ae,Ae.dyn_ltree,Ae.l_desc.max_code),T(Ae,Ae.dyn_dtree,Ae.d_desc.max_code),Mt(Ae,Ae.bl_desc),ie=_-1;3<=ie&&Ae.bl_tree[2*ae[ie]+1]===0;ie--);return Ae.opt_len+=3*(ie+1)+5+5+4,ie}(a),C=a.opt_len+3+7>>>3,(j=a.static_len+3+7>>>3)<=C&&(C=j)):C=j=M+5,M+4<=C&&p!==-1?u(a,p,M,re):a.strategy===4||j===C?(Pe(a,2+(re?1:0),3),on(a,he,k)):(Pe(a,4+(re?1:0),3),function(Ae,ie,Se,Ge){var xe;for(Pe(Ae,ie-257,5),Pe(Ae,Se-1,5),Pe(Ae,Ge-4,4),xe=0;xe<Ge;xe++)Pe(Ae,Ae.bl_tree[2*ae[xe]+1],3);Ye(Ae,Ae.dyn_ltree,ie-1),Ye(Ae,Ae.dyn_dtree,Se-1)}(a,a.l_desc.max_code+1,a.d_desc.max_code+1,me+1),on(a,a.dyn_ltree,a.dyn_dtree)),Ot(a),re&&Ee(a)},R._tr_tally=function(a,p,M){return a.pending_buf[a.d_buf+2*a.last_lit]=p>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&p,a.pending_buf[a.l_buf+a.last_lit]=255&M,a.last_lit++,p===0?a.dyn_ltree[2*M]++:(a.matches++,p--,a.dyn_ltree[2*(F[M]+S+1)]++,a.dyn_dtree[2*se(p)]++),a.last_lit===a.lit_bufsize-1},R._tr_align=function(a){Pe(a,2,3),Oe(a,Y,he),function(p){p.bi_valid===16?(je(p,p.bi_buf),p.bi_buf=0,p.bi_valid=0):8<=p.bi_valid&&(p.pending_buf[p.pending++]=255&p.bi_buf,p.bi_buf>>=8,p.bi_valid-=8)}(a)}},{"../utils/common":41}],53:[function(H,be,R){"use strict";be.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(H,be,R){(function($){(function(v,m){"use strict";if(!v.setImmediate){var N,s,L,S,w=1,x={},_=!1,B=v.document,W=Object.getPrototypeOf&&Object.getPrototypeOf(v);W=W&&W.setTimeout?W:v,N={}.toString.call(v.process)==="[object process]"?function(G){fe.nextTick(function(){q(G)})}:function(){if(v.postMessage&&!v.importScripts){var G=!0,D=v.onmessage;return v.onmessage=function(){G=!1},v.postMessage("","*"),v.onmessage=D,G}}()?(S="setImmediate$"+Math.random()+"$",v.addEventListener?v.addEventListener("message",Y,!1):v.attachEvent("onmessage",Y),function(G){v.postMessage(S+G,"*")}):v.MessageChannel?((L=new MessageChannel).port1.onmessage=function(G){q(G.data)},function(G){L.port2.postMessage(G)}):B&&"onreadystatechange"in B.createElement("script")?(s=B.documentElement,function(G){var D=B.createElement("script");D.onreadystatechange=function(){q(G),D.onreadystatechange=null,s.removeChild(D),D=null},s.appendChild(D)}):function(G){setTimeout(q,0,G)},W.setImmediate=function(G){typeof G!="function"&&(G=new Function(""+G));for(var D=new Array(arguments.length-1),O=0;O<D.length;O++)D[O]=arguments[O+1];var J={callback:G,args:D};return x[w]=J,N(w),w++},W.clearImmediate=Q}function Q(G){delete x[G]}function q(G){if(_)setTimeout(q,0,G);else{var D=x[G];if(D){_=!0;try{(function(O){var J=O.callback,K=O.args;switch(K.length){case 0:J();break;case 1:J(K[0]);break;case 2:J(K[0],K[1]);break;case 3:J(K[0],K[1],K[2]);break;default:J.apply(m,K)}})(D)}finally{Q(G),_=!1}}}}function Y(G){G.source===v&&typeof G.data=="string"&&G.data.indexOf(S)===0&&q(+G.data.slice(S.length))}})(typeof self=="undefined"?$===void 0?this:$:self)}).call(this,typeof h.g!="undefined"?h.g:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}]},{},[10])(10)})},5630:function(tr,Ct,h){"use strict";var ye=h(54476),fe=h(33885),H=h(20068),be=h(42978),R=h(75931),$=h(92310),v=h.n($),m=h(18929),N=h(59301),s=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],L=(0,N.forwardRef)(function(S,w){var x,_=S.prefixCls,B=_===void 0?"rc-checkbox":_,W=S.className,Q=S.style,q=S.checked,Y=S.disabled,G=S.defaultChecked,D=G===void 0?!1:G,O=S.type,J=O===void 0?"checkbox":O,K=S.title,le=S.onChange,ae=(0,R.Z)(S,s),he=(0,N.useRef)(null),k=(0,m.Z)(D,{value:q}),Ue=(0,be.Z)(k,2),F=Ue[0],De=Ue[1];(0,N.useImperativeHandle)(w,function(){return{focus:function(){var ne;(ne=he.current)===null||ne===void 0||ne.focus()},blur:function(){var ne;(ne=he.current)===null||ne===void 0||ne.blur()},input:he.current}});var we=v()(B,W,(x={},(0,H.Z)(x,"".concat(B,"-checked"),F),(0,H.Z)(x,"".concat(B,"-disabled"),Y),x)),de=function(ne){Y||("checked"in S||De(ne.target.checked),le==null||le({target:(0,fe.Z)((0,fe.Z)({},S),{},{type:J,checked:ne.target.checked}),stopPropagation:function(){ne.stopPropagation()},preventDefault:function(){ne.preventDefault()},nativeEvent:ne.nativeEvent}))};return N.createElement("span",{className:we,title:K,style:Q},N.createElement("input",(0,ye.Z)({},ae,{className:"".concat(B,"-input"),ref:he,onChange:de,disabled:Y,checked:!!F,type:J})),N.createElement("span",{className:"".concat(B,"-inner")}))});Ct.Z=L},31561:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return J}});var ye=h(54476),fe=h(20068),H=h(42978),be=h(75931),R=h(35593),$=h(92310),v=h.n($),m=h(8654),N=h(59301),s=h(10228),L=h(16089),S=s.Z.ESC,w=s.Z.TAB;function x(K){var le=K.visible,ae=K.triggerRef,he=K.onVisibleChange,k=K.autoFocus,Ue=K.overlayRef,F=N.useRef(!1),De=function(){if(le){var ne,ve;(ne=ae.current)===null||ne===void 0||(ve=ne.focus)===null||ve===void 0||ve.call(ne),he==null||he(!1)}},we=function(){var ne;return(ne=Ue.current)!==null&&ne!==void 0&&ne.focus?(Ue.current.focus(),F.current=!0,!0):!1},de=function(ne){switch(ne.keyCode){case S:De();break;case w:{var ve=!1;F.current||(ve=we()),ve?ne.preventDefault():De();break}}};N.useEffect(function(){return le?(window.addEventListener("keydown",de),k&&(0,L.Z)(we,3),function(){window.removeEventListener("keydown",de),F.current=!1}):function(){F.current=!1}},[le])}var _=(0,N.forwardRef)(function(K,le){var ae=K.overlay,he=K.arrow,k=K.prefixCls,Ue=(0,N.useMemo)(function(){var De;return typeof ae=="function"?De=ae():De=ae,De},[ae]),F=(0,m.sQ)(le,Ue==null?void 0:Ue.ref);return N.createElement(N.Fragment,null,he&&N.createElement("div",{className:"".concat(k,"-arrow")}),N.cloneElement(Ue,{ref:(0,m.Yr)(Ue)?F:void 0}))}),B=_,W={adjustX:1,adjustY:1},Q=[0,0],q={topLeft:{points:["bl","tl"],overflow:W,offset:[0,-4],targetOffset:Q},top:{points:["bc","tc"],overflow:W,offset:[0,-4],targetOffset:Q},topRight:{points:["br","tr"],overflow:W,offset:[0,-4],targetOffset:Q},bottomLeft:{points:["tl","bl"],overflow:W,offset:[0,4],targetOffset:Q},bottom:{points:["tc","bc"],overflow:W,offset:[0,4],targetOffset:Q},bottomRight:{points:["tr","br"],overflow:W,offset:[0,4],targetOffset:Q}},Y=q,G=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function D(K,le){var ae,he=K.arrow,k=he===void 0?!1:he,Ue=K.prefixCls,F=Ue===void 0?"rc-dropdown":Ue,De=K.transitionName,we=K.animation,de=K.align,Be=K.placement,ne=Be===void 0?"bottomLeft":Be,ve=K.placements,ee=ve===void 0?Y:ve,se=K.getPopupContainer,je=K.showAction,Pe=K.hideAction,Oe=K.overlayClassName,ut=K.overlayStyle,mt=K.visible,Ot=K.trigger,Ee=Ot===void 0?["hover"]:Ot,kt=K.autoFocus,Rt=K.overlay,on=K.children,Mt=K.onVisibleChange,T=(0,be.Z)(K,G),Ye=N.useState(),E=(0,H.Z)(Ye,2),u=E[0],a=E[1],p="visible"in K?mt:u,M=N.useRef(null),re=N.useRef(null),C=N.useRef(null);N.useImperativeHandle(le,function(){return M.current});var j=function(pe){a(pe),Mt==null||Mt(pe)};x({visible:p,triggerRef:C,onVisibleChange:j,autoFocus:kt,overlayRef:re});var me=function(pe){var ge=K.onOverlayClick;a(!1),ge&&ge(pe)},Ae=function(){return N.createElement(B,{ref:re,overlay:Rt,prefixCls:F,arrow:k})},ie=function(){return typeof Rt=="function"?Ae:Ae()},Se=function(){var pe=K.minOverlayWidthMatchTrigger,ge=K.alignPoint;return"minOverlayWidthMatchTrigger"in K?pe:!ge},Ge=function(){var pe=K.openClassName;return pe!==void 0?pe:"".concat(F,"-open")},xe=N.cloneElement(on,{className:v()((ae=on.props)===null||ae===void 0?void 0:ae.className,p&&Ge()),ref:(0,m.Yr)(on)?(0,m.sQ)(C,on.ref):void 0}),He=Pe;return!He&&Ee.indexOf("contextMenu")!==-1&&(He=["click"]),N.createElement(R.Z,(0,ye.Z)({builtinPlacements:ee},T,{prefixCls:F,ref:M,popupClassName:v()(Oe,(0,fe.Z)({},"".concat(F,"-show-arrow"),k)),popupStyle:ut,action:Ee,showAction:je,hideAction:He,popupPlacement:ne,popupAlign:de,popupTransitionName:De,popupAnimation:we,popupVisible:p,stretch:Se()?"minWidth":"",popup:ie(),onPopupVisibleChange:j,onPopupClick:me,getPopupContainer:se}),xe)}var O=N.forwardRef(D),J=O},93681:function(tr,Ct,h){"use strict";h.r(Ct),h.d(Ct,{BaseInput:function(){return s},default:function(){return q}});var ye=h(54476),fe=h(33885),H=h(20068),be=h(76190),R=h(92310),$=h.n(R),v=h(59301),m=h(5643),N=function(G){var D,O,J=G.inputElement,K=G.prefixCls,le=G.prefix,ae=G.suffix,he=G.addonBefore,k=G.addonAfter,Ue=G.className,F=G.style,De=G.disabled,we=G.readOnly,de=G.focused,Be=G.triggerFocus,ne=G.allowClear,ve=G.value,ee=G.handleReset,se=G.hidden,je=G.classes,Pe=G.classNames,Oe=G.dataAttrs,ut=G.styles,mt=G.components,Ot=(mt==null?void 0:mt.affixWrapper)||"span",Ee=(mt==null?void 0:mt.groupWrapper)||"span",kt=(mt==null?void 0:mt.wrapper)||"span",Rt=(mt==null?void 0:mt.groupAddon)||"span",on=(0,v.useRef)(null),Mt=function(Ae){var ie;(ie=on.current)!==null&&ie!==void 0&&ie.contains(Ae.target)&&(Be==null||Be())},T=function(){var Ae;if(!ne)return null;var ie=!De&&!we&&ve,Se="".concat(K,"-clear-icon"),Ge=(0,be.Z)(ne)==="object"&&ne!==null&&ne!==void 0&&ne.clearIcon?ne.clearIcon:"\u2716";return v.createElement("span",{onClick:ee,onMouseDown:function(He){return He.preventDefault()},className:$()(Se,(Ae={},(0,H.Z)(Ae,"".concat(Se,"-hidden"),!ie),(0,H.Z)(Ae,"".concat(Se,"-has-suffix"),!!ae),Ae)),role:"button",tabIndex:-1},Ge)},Ye=(0,v.cloneElement)(J,{value:ve,hidden:se,className:$()((D=J.props)===null||D===void 0?void 0:D.className,!(0,m.X3)(G)&&!(0,m.He)(G)&&Ue)||null,style:(0,fe.Z)((0,fe.Z)({},(O=J.props)===null||O===void 0?void 0:O.style),!(0,m.X3)(G)&&!(0,m.He)(G)?F:{})});if((0,m.X3)(G)){var E,u="".concat(K,"-affix-wrapper"),a=$()(u,(E={},(0,H.Z)(E,"".concat(u,"-disabled"),De),(0,H.Z)(E,"".concat(u,"-focused"),de),(0,H.Z)(E,"".concat(u,"-readonly"),we),(0,H.Z)(E,"".concat(u,"-input-with-clear-btn"),ae&&ne&&ve),E),!(0,m.He)(G)&&Ue,je==null?void 0:je.affixWrapper,Pe==null?void 0:Pe.affixWrapper),p=(ae||ne)&&v.createElement("span",{className:$()("".concat(K,"-suffix"),Pe==null?void 0:Pe.suffix),style:ut==null?void 0:ut.suffix},T(),ae);Ye=v.createElement(Ot,(0,ye.Z)({className:a,style:(0,fe.Z)((0,fe.Z)({},(0,m.He)(G)?void 0:F),ut==null?void 0:ut.affixWrapper),hidden:!(0,m.He)(G)&&se,onClick:Mt},Oe==null?void 0:Oe.affixWrapper,{ref:on}),le&&v.createElement("span",{className:$()("".concat(K,"-prefix"),Pe==null?void 0:Pe.prefix),style:ut==null?void 0:ut.prefix},le),(0,v.cloneElement)(J,{value:ve,hidden:null}),p)}if((0,m.He)(G)){var M="".concat(K,"-group"),re="".concat(M,"-addon"),C=$()("".concat(K,"-wrapper"),M,je==null?void 0:je.wrapper),j=$()("".concat(K,"-group-wrapper"),Ue,je==null?void 0:je.group);return v.createElement(Ee,{className:j,style:F,hidden:se},v.createElement(kt,{className:C},he&&v.createElement(Rt,{className:re},he),(0,v.cloneElement)(Ye,{hidden:null}),k&&v.createElement(Rt,{className:re},k)))}return Ye},s=N,L=h(94480),S=h(42978),w=h(75931),x=h(18929),_=h(2738),B=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],W=(0,v.forwardRef)(function(Y,G){var D=Y.autoComplete,O=Y.onChange,J=Y.onFocus,K=Y.onBlur,le=Y.onPressEnter,ae=Y.onKeyDown,he=Y.prefixCls,k=he===void 0?"rc-input":he,Ue=Y.disabled,F=Y.htmlSize,De=Y.className,we=Y.maxLength,de=Y.suffix,Be=Y.showCount,ne=Y.type,ve=ne===void 0?"text":ne,ee=Y.classes,se=Y.classNames,je=Y.styles,Pe=(0,w.Z)(Y,B),Oe=(0,x.Z)(Y.defaultValue,{value:Y.value}),ut=(0,S.Z)(Oe,2),mt=ut[0],Ot=ut[1],Ee=(0,v.useState)(!1),kt=(0,S.Z)(Ee,2),Rt=kt[0],on=kt[1],Mt=(0,v.useRef)(null),T=function(j){Mt.current&&(0,m.nH)(Mt.current,j)};(0,v.useImperativeHandle)(G,function(){return{focus:T,blur:function(){var j;(j=Mt.current)===null||j===void 0||j.blur()},setSelectionRange:function(j,me,Ae){var ie;(ie=Mt.current)===null||ie===void 0||ie.setSelectionRange(j,me,Ae)},select:function(){var j;(j=Mt.current)===null||j===void 0||j.select()},input:Mt.current}}),(0,v.useEffect)(function(){on(function(C){return C&&Ue?!1:C})},[Ue]);var Ye=function(j){Y.value===void 0&&Ot(j.target.value),Mt.current&&(0,m.rJ)(Mt.current,j,O)},E=function(j){le&&j.key==="Enter"&&le(j),ae==null||ae(j)},u=function(j){on(!0),J==null||J(j)},a=function(j){on(!1),K==null||K(j)},p=function(j){Ot(""),T(),Mt.current&&(0,m.rJ)(Mt.current,j,O)},M=function(){var j=(0,_.Z)(Y,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return v.createElement("input",(0,ye.Z)({autoComplete:D},j,{onChange:Ye,onFocus:u,onBlur:a,onKeyDown:E,className:$()(k,(0,H.Z)({},"".concat(k,"-disabled"),Ue),se==null?void 0:se.input),style:je==null?void 0:je.input,ref:Mt,size:F,type:ve}))},re=function(){var j=Number(we)>0;if(de||Be){var me=(0,m.D7)(mt),Ae=(0,L.Z)(me).length,ie=(0,be.Z)(Be)==="object"?Be.formatter({value:me,count:Ae,maxLength:we}):"".concat(Ae).concat(j?" / ".concat(we):"");return v.createElement(v.Fragment,null,!!Be&&v.createElement("span",{className:$()("".concat(k,"-show-count-suffix"),(0,H.Z)({},"".concat(k,"-show-count-has-suffix"),!!de),se==null?void 0:se.count),style:(0,fe.Z)({},je==null?void 0:je.count)},ie),de)}return null};return v.createElement(s,(0,ye.Z)({},Pe,{prefixCls:k,className:De,inputElement:M(),handleReset:p,value:(0,m.D7)(mt),focused:Rt,triggerFocus:T,suffix:re(),disabled:Ue,classes:ee,classNames:se,styles:je}))}),Q=W,q=Q},5643:function(tr,Ct,h){"use strict";h.d(Ct,{D7:function(){return R},He:function(){return ye},X3:function(){return fe},nH:function(){return be},rJ:function(){return H}});function ye($){return!!($.addonBefore||$.addonAfter)}function fe($){return!!($.prefix||$.suffix||$.allowClear)}function H($,v,m,N){if(m){var s=v;if(v.type==="click"){var L=$.cloneNode(!0);s=Object.create(v,{target:{value:L},currentTarget:{value:L}}),L.value="",m(s);return}if(N!==void 0){s=Object.create(v,{target:{value:$},currentTarget:{value:$}}),$.value=N,m(s);return}m(s)}}function be($,v){if($){$.focus(v);var m=v||{},N=m.cursor;if(N){var s=$.value.length;switch(N){case"start":$.setSelectionRange(0,0);break;case"end":$.setSelectionRange(s,s);break;default:$.setSelectionRange(0,s)}}}}function R($){return typeof $=="undefined"||$===null?"":String($)}},15285:function(tr,Ct,h){"use strict";h.d(Ct,{iz:function(){return cr},ck:function(){return Xn},BW:function(){return kn},sN:function(){return Xn},Wd:function(){return Zt},ZP:function(){return Qn},Xl:function(){return ae}});var ye=h(54476),fe=h(20068),H=h(33885),be=h(94480),R=h(42978),$=h(75931),v=h(92310),m=h.n(v),N=h(11780),s=h(18929),L=h(13697),S=h(48736),w=h(59301),x=h(4676),_=w.createContext(null);function B(gt,Ft){return gt===void 0?null:"".concat(gt,"-").concat(Ft)}function W(gt){var Ft=w.useContext(_);return B(Ft,gt)}var Q=h(80547),q=["children","locked"],Y=w.createContext(null);function G(gt,Ft){var Qt=(0,H.Z)({},gt);return Object.keys(Ft).forEach(function(Xt){var Wt=Ft[Xt];Wt!==void 0&&(Qt[Xt]=Wt)}),Qt}function D(gt){var Ft=gt.children,Qt=gt.locked,Xt=(0,$.Z)(gt,q),Wt=w.useContext(Y),Pn=(0,Q.Z)(function(){return G(Wt,Xt)},[Wt,Xt],function(wn,ar){return!Qt&&(wn[0]!==ar[0]||!(0,L.Z)(wn[1],ar[1],!0))});return w.createElement(Y.Provider,{value:Pn},Ft)}var O=[],J=w.createContext(null);function K(){return w.useContext(J)}var le=w.createContext(O);function ae(gt){var Ft=w.useContext(le);return w.useMemo(function(){return gt!==void 0?[].concat((0,be.Z)(Ft),[gt]):Ft},[Ft,gt])}var he=w.createContext(null),k=w.createContext({}),Ue=k,F=h(29194);function De(gt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,F.Z)(gt)){var Qt=gt.nodeName.toLowerCase(),Xt=["input","select","textarea","button"].includes(Qt)||gt.isContentEditable||Qt==="a"&&!!gt.getAttribute("href"),Wt=gt.getAttribute("tabindex"),Pn=Number(Wt),wn=null;return Wt&&!Number.isNaN(Pn)?wn=Pn:Xt&&wn===null&&(wn=0),Xt&>.disabled&&(wn=null),wn!==null&&(wn>=0||Ft&&wn<0)}return!1}function we(gt){var Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Qt=(0,be.Z)(gt.querySelectorAll("*")).filter(function(Xt){return De(Xt,Ft)});return De(gt,Ft)&&Qt.unshift(gt),Qt}var de=null;function Be(){de=document.activeElement}function ne(){de=null}function ve(){if(de)try{de.focus()}catch(gt){}}function ee(gt,Ft){if(Ft.keyCode===9){var Qt=we(gt),Xt=Qt[Ft.shiftKey?0:Qt.length-1],Wt=Xt===document.activeElement||gt===document.activeElement;if(Wt){var Pn=Qt[Ft.shiftKey?Qt.length-1:0];Pn.focus(),Ft.preventDefault()}}}var se=h(10228),je=h(16089),Pe=se.Z.LEFT,Oe=se.Z.RIGHT,ut=se.Z.UP,mt=se.Z.DOWN,Ot=se.Z.ENTER,Ee=se.Z.ESC,kt=se.Z.HOME,Rt=se.Z.END,on=[ut,mt,Pe,Oe];function Mt(gt,Ft,Qt,Xt){var Wt,Pn,wn,ar,wr="prev",Nr="next",ni="children",Mr="parent";if(gt==="inline"&&Xt===Ot)return{inlineTrigger:!0};var Xr=(Wt={},(0,fe.Z)(Wt,ut,wr),(0,fe.Z)(Wt,mt,Nr),Wt),Ht=(Pn={},(0,fe.Z)(Pn,Pe,Qt?Nr:wr),(0,fe.Z)(Pn,Oe,Qt?wr:Nr),(0,fe.Z)(Pn,mt,ni),(0,fe.Z)(Pn,Ot,ni),Pn),Zn=(wn={},(0,fe.Z)(wn,ut,wr),(0,fe.Z)(wn,mt,Nr),(0,fe.Z)(wn,Ot,ni),(0,fe.Z)(wn,Ee,Mr),(0,fe.Z)(wn,Pe,Qt?ni:Mr),(0,fe.Z)(wn,Oe,Qt?Mr:ni),wn),or={inline:Xr,horizontal:Ht,vertical:Zn,inlineSub:Xr,horizontalSub:Zn,verticalSub:Zn},Sr=(ar=or["".concat(gt).concat(Ft?"":"Sub")])===null||ar===void 0?void 0:ar[Xt];switch(Sr){case wr:return{offset:-1,sibling:!0};case Nr:return{offset:1,sibling:!0};case Mr:return{offset:-1,sibling:!1};case ni:return{offset:1,sibling:!1};default:return null}}function T(gt){for(var Ft=gt;Ft;){if(Ft.getAttribute("data-menu-list"))return Ft;Ft=Ft.parentElement}return null}function Ye(gt,Ft){for(var Qt=gt||document.activeElement;Qt;){if(Ft.has(Qt))return Qt;Qt=Qt.parentElement}return null}function E(gt,Ft){var Qt=we(gt,!0);return Qt.filter(function(Xt){return Ft.has(Xt)})}function u(gt,Ft,Qt){var Xt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!gt)return null;var Wt=E(gt,Ft),Pn=Wt.length,wn=Wt.findIndex(function(ar){return Qt===ar});return Xt<0?wn===-1?wn=Pn-1:wn-=1:Xt>0&&(wn+=1),wn=(wn+Pn)%Pn,Wt[wn]}var a=function(Ft,Qt){var Xt=new Set,Wt=new Map,Pn=new Map;return Ft.forEach(function(wn){var ar=document.querySelector("[data-menu-id='".concat(B(Qt,wn),"']"));ar&&(Xt.add(ar),Pn.set(ar,wn),Wt.set(wn,ar))}),{elements:Xt,key2element:Wt,element2key:Pn}};function p(gt,Ft,Qt,Xt,Wt,Pn,wn,ar,wr,Nr){var ni=w.useRef(),Mr=w.useRef();Mr.current=Ft;var Xr=function(){je.Z.cancel(ni.current)};return w.useEffect(function(){return function(){Xr()}},[]),function(Ht){var Zn=Ht.which;if([].concat(on,[Ot,Ee,kt,Rt]).includes(Zn)){var or=Pn(),Sr=a(or,Xt),Rr=Sr,Yn=Rr.elements,hr=Rr.key2element,jr=Rr.element2key,kr=hr.get(Ft),ei=Ye(kr,Yn),Ji=jr.get(ei),Cr=Mt(gt,wn(Ji,!0).length===1,Qt,Zn);if(!Cr&&Zn!==kt&&Zn!==Rt)return;(on.includes(Zn)||[kt,Rt].includes(Zn))&&Ht.preventDefault();var Wn=function(uo){if(uo){var Fo=uo,Ir=uo.querySelector("a");Ir!=null&&Ir.getAttribute("href")&&(Fo=Ir);var dr=jr.get(uo);ar(dr),Xr(),ni.current=(0,je.Z)(function(){Mr.current===dr&&Fo.focus()})}};if([kt,Rt].includes(Zn)||Cr.sibling||!ei){var Fn;!ei||gt==="inline"?Fn=Wt.current:Fn=T(ei);var Lr,Ur=E(Fn,Yn);Zn===kt?Lr=Ur[0]:Zn===Rt?Lr=Ur[Ur.length-1]:Lr=u(Fn,Yn,ei,Cr.offset),Wn(Lr)}else if(Cr.inlineTrigger)wr(Ji);else if(Cr.offset>0)wr(Ji,!0),Xr(),ni.current=(0,je.Z)(function(){Sr=a(or,Xt);var zo=ei.getAttribute("aria-controls"),uo=document.getElementById(zo),Fo=u(uo,Sr.elements);Wn(Fo)},5);else if(Cr.offset<0){var Zr=wn(Ji,!0),wi=Zr[Zr.length-2],Vi=hr.get(wi);wr(wi,!1),Wn(Vi)}}Nr==null||Nr(Ht)}}function M(gt){Promise.resolve().then(gt)}var re="__RC_UTIL_PATH_SPLIT__",C=function(Ft){return Ft.join(re)},j=function(Ft){return Ft.split(re)},me="rc-menu-more";function Ae(){var gt=w.useState({}),Ft=(0,R.Z)(gt,2),Qt=Ft[1],Xt=(0,w.useRef)(new Map),Wt=(0,w.useRef)(new Map),Pn=w.useState([]),wn=(0,R.Z)(Pn,2),ar=wn[0],wr=wn[1],Nr=(0,w.useRef)(0),ni=(0,w.useRef)(!1),Mr=function(){ni.current||Qt({})},Xr=(0,w.useCallback)(function(hr,jr){var kr=C(jr);Wt.current.set(kr,hr),Xt.current.set(hr,kr),Nr.current+=1;var ei=Nr.current;M(function(){ei===Nr.current&&Mr()})},[]),Ht=(0,w.useCallback)(function(hr,jr){var kr=C(jr);Wt.current.delete(kr),Xt.current.delete(hr)},[]),Zn=(0,w.useCallback)(function(hr){wr(hr)},[]),or=(0,w.useCallback)(function(hr,jr){var kr=Xt.current.get(hr)||"",ei=j(kr);return jr&&ar.includes(ei[0])&&ei.unshift(me),ei},[ar]),Sr=(0,w.useCallback)(function(hr,jr){return hr.some(function(kr){var ei=or(kr,!0);return ei.includes(jr)})},[or]),Rr=function(){var jr=(0,be.Z)(Xt.current.keys());return ar.length&&jr.push(me),jr},Yn=(0,w.useCallback)(function(hr){var jr="".concat(Xt.current.get(hr)).concat(re),kr=new Set;return(0,be.Z)(Wt.current.keys()).forEach(function(ei){ei.startsWith(jr)&&kr.add(Wt.current.get(ei))}),kr},[]);return w.useEffect(function(){return function(){ni.current=!0}},[]),{registerPath:Xr,unregisterPath:Ht,refreshOverflowKeys:Zn,isSubPathKey:Sr,getKeyPath:or,getKeys:Rr,getSubPathKeys:Yn}}function ie(gt){var Ft=w.useRef(gt);Ft.current=gt;var Qt=w.useCallback(function(){for(var Xt,Wt=arguments.length,Pn=new Array(Wt),wn=0;wn<Wt;wn++)Pn[wn]=arguments[wn];return(Xt=Ft.current)===null||Xt===void 0?void 0:Xt.call.apply(Xt,[Ft].concat(Pn))},[]);return gt?Qt:void 0}var Se=Math.random().toFixed(5).toString().slice(2),Ge=0;function xe(gt){var Ft=(0,s.Z)(gt,{value:gt}),Qt=(0,R.Z)(Ft,2),Xt=Qt[0],Wt=Qt[1];return w.useEffect(function(){Ge+=1;var Pn="".concat(Se,"-").concat(Ge);Wt("rc-menu-uuid-".concat(Pn))},[]),Xt}var He=h(67732),Te=h(83652),pe=h(42403),ge=h(158),Ve=h(2738),yt=h(8654);function ht(gt,Ft,Qt,Xt){var Wt=w.useContext(Y),Pn=Wt.activeKey,wn=Wt.onActive,ar=Wt.onInactive,wr={active:Pn===gt};return Ft||(wr.onMouseEnter=function(Nr){Qt==null||Qt({key:gt,domEvent:Nr}),wn(gt)},wr.onMouseLeave=function(Nr){Xt==null||Xt({key:gt,domEvent:Nr}),ar(gt)}),wr}function Tt(gt){var Ft=w.useContext(Y),Qt=Ft.mode,Xt=Ft.rtl,Wt=Ft.inlineIndent;if(Qt!=="inline")return null;var Pn=gt;return Xt?{paddingRight:Pn*Wt}:{paddingLeft:Pn*Wt}}function sn(gt){var Ft=gt.icon,Qt=gt.props,Xt=gt.children,Wt;return Ft===null||Ft===!1?null:(typeof Ft=="function"?Wt=w.createElement(Ft,(0,H.Z)({},Qt)):typeof Ft!="boolean"&&(Wt=Ft),Wt||Xt||null)}var tn=["item"];function pn(gt){var Ft=gt.item,Qt=(0,$.Z)(gt,tn);return Object.defineProperty(Qt,"item",{get:function(){return(0,S.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Ft}}),Qt}var mn=["title","attribute","elementRef"],qt=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],gn=["active"],Sn=function(gt){(0,pe.Z)(Qt,gt);var Ft=(0,ge.Z)(Qt);function Qt(){return(0,He.Z)(this,Qt),Ft.apply(this,arguments)}return(0,Te.Z)(Qt,[{key:"render",value:function(){var Wt=this.props,Pn=Wt.title,wn=Wt.attribute,ar=Wt.elementRef,wr=(0,$.Z)(Wt,mn),Nr=(0,Ve.Z)(wr,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,S.ZP)(!wn,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),w.createElement(N.Z.Item,(0,ye.Z)({},wn,{title:typeof Pn=="string"?Pn:void 0},Nr,{ref:ar}))}}]),Qt}(w.Component),Jn=w.forwardRef(function(gt,Ft){var Qt,Xt=gt.style,Wt=gt.className,Pn=gt.eventKey,wn=gt.warnKey,ar=gt.disabled,wr=gt.itemIcon,Nr=gt.children,ni=gt.role,Mr=gt.onMouseEnter,Xr=gt.onMouseLeave,Ht=gt.onClick,Zn=gt.onKeyDown,or=gt.onFocus,Sr=(0,$.Z)(gt,qt),Rr=W(Pn),Yn=w.useContext(Y),hr=Yn.prefixCls,jr=Yn.onItemClick,kr=Yn.disabled,ei=Yn.overflowDisabled,Ji=Yn.itemIcon,Cr=Yn.selectedKeys,Wn=Yn.onActive,Fn=w.useContext(Ue),Lr=Fn._internalRenderMenuItem,Ur="".concat(hr,"-item"),Zr=w.useRef(),wi=w.useRef(),Vi=kr||ar,zo=(0,yt.x1)(Ft,wi),uo=ae(Pn),Fo=function(Xo){return{key:Pn,keyPath:(0,be.Z)(uo).reverse(),item:Zr.current,domEvent:Xo}},Ir=wr||Ji,dr=ht(Pn,Vi,Mr,Xr),Ai=dr.active,Ii=(0,$.Z)(dr,gn),so=Cr.includes(Pn),Za=Tt(uo.length),bo=function(Xo){if(!Vi){var La=Fo(Xo);Ht==null||Ht(pn(La)),jr(La)}},Zo=function(Xo){if(Zn==null||Zn(Xo),Xo.which===se.Z.ENTER){var La=Fo(Xo);Ht==null||Ht(pn(La)),jr(La)}},Jo=function(Xo){Wn(Pn),or==null||or(Xo)},ja={};gt.role==="option"&&(ja["aria-selected"]=so);var Na=w.createElement(Sn,(0,ye.Z)({ref:Zr,elementRef:zo,role:ni===null?"none":ni||"menuitem",tabIndex:ar?null:-1,"data-menu-id":ei&&Rr?null:Rr},Sr,Ii,ja,{component:"li","aria-disabled":ar,style:(0,H.Z)((0,H.Z)({},Za),Xt),className:m()(Ur,(Qt={},(0,fe.Z)(Qt,"".concat(Ur,"-active"),Ai),(0,fe.Z)(Qt,"".concat(Ur,"-selected"),so),(0,fe.Z)(Qt,"".concat(Ur,"-disabled"),Vi),Qt),Wt),onClick:bo,onKeyDown:Zo,onFocus:Jo}),Nr,w.createElement(sn,{props:(0,H.Z)((0,H.Z)({},gt),{},{isSelected:so}),icon:Ir}));return Lr&&(Na=Lr(Na,gt,{selected:so})),Na});function Br(gt,Ft){var Qt=gt.eventKey,Xt=K(),Wt=ae(Qt);return w.useEffect(function(){if(Xt)return Xt.registerPath(Qt,Wt),function(){Xt.unregisterPath(Qt,Wt)}},[Wt]),Xt?null:w.createElement(Jn,(0,ye.Z)({},gt,{ref:Ft}))}var Xn=w.forwardRef(Br),zr=["className","children"],pi=function(Ft,Qt){var Xt=Ft.className,Wt=Ft.children,Pn=(0,$.Z)(Ft,zr),wn=w.useContext(Y),ar=wn.prefixCls,wr=wn.mode,Nr=wn.rtl;return w.createElement("ul",(0,ye.Z)({className:m()(ar,Nr&&"".concat(ar,"-rtl"),"".concat(ar,"-sub"),"".concat(ar,"-").concat(wr==="inline"?"inline":"vertical"),Xt),role:"menu"},Pn,{"data-menu-list":!0,ref:Qt}),Wt)},yn=w.forwardRef(pi);yn.displayName="SubMenuList";var Vr=yn,Nt=h(11592);function qr(gt,Ft){return(0,Nt.Z)(gt).map(function(Qt,Xt){if(w.isValidElement(Qt)){var Wt,Pn,wn=Qt.key,ar=(Wt=(Pn=Qt.props)===null||Pn===void 0?void 0:Pn.eventKey)!==null&&Wt!==void 0?Wt:wn,wr=ar==null;wr&&(ar="tmp_key-".concat([].concat((0,be.Z)(Ft),[Xt]).join("-")));var Nr={key:ar,eventKey:ar};return w.cloneElement(Qt,Nr)}return Qt})}var Yi=h(35593),bi={adjustX:1,adjustY:1},Pi={topLeft:{points:["bl","tl"],overflow:bi},topRight:{points:["br","tr"],overflow:bi},bottomLeft:{points:["tl","bl"],overflow:bi},bottomRight:{points:["tr","br"],overflow:bi},leftTop:{points:["tr","tl"],overflow:bi},leftBottom:{points:["br","bl"],overflow:bi},rightTop:{points:["tl","tr"],overflow:bi},rightBottom:{points:["bl","br"],overflow:bi}},Io={topLeft:{points:["bl","tl"],overflow:bi},topRight:{points:["br","tr"],overflow:bi},bottomLeft:{points:["tl","bl"],overflow:bi},bottomRight:{points:["tr","br"],overflow:bi},rightTop:{points:["tr","tl"],overflow:bi},rightBottom:{points:["br","bl"],overflow:bi},leftTop:{points:["tl","tr"],overflow:bi},leftBottom:{points:["bl","br"],overflow:bi}},Ni=null;function Qr(gt,Ft,Qt){if(Ft)return Ft;if(Qt)return Qt[gt]||Qt.other}var Ei={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function nt(gt){var Ft=gt.prefixCls,Qt=gt.visible,Xt=gt.children,Wt=gt.popup,Pn=gt.popupStyle,wn=gt.popupClassName,ar=gt.popupOffset,wr=gt.disabled,Nr=gt.mode,ni=gt.onVisibleChange,Mr=w.useContext(Y),Xr=Mr.getPopupContainer,Ht=Mr.rtl,Zn=Mr.subMenuOpenDelay,or=Mr.subMenuCloseDelay,Sr=Mr.builtinPlacements,Rr=Mr.triggerSubMenuAction,Yn=Mr.forceSubMenuRender,hr=Mr.rootClassName,jr=Mr.motion,kr=Mr.defaultMotions,ei=w.useState(!1),Ji=(0,R.Z)(ei,2),Cr=Ji[0],Wn=Ji[1],Fn=Ht?(0,H.Z)((0,H.Z)({},Io),Sr):(0,H.Z)((0,H.Z)({},Pi),Sr),Lr=Ei[Nr],Ur=Qr(Nr,jr,kr),Zr=w.useRef(Ur);Nr!=="inline"&&(Zr.current=Ur);var wi=(0,H.Z)((0,H.Z)({},Zr.current),{},{leavedClassName:"".concat(Ft,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Vi=w.useRef();return w.useEffect(function(){return Vi.current=(0,je.Z)(function(){Wn(Qt)}),function(){je.Z.cancel(Vi.current)}},[Qt]),w.createElement(Yi.Z,{prefixCls:Ft,popupClassName:m()("".concat(Ft,"-popup"),(0,fe.Z)({},"".concat(Ft,"-rtl"),Ht),wn,hr),stretch:Nr==="horizontal"?"minWidth":null,getPopupContainer:Xr,builtinPlacements:Fn,popupPlacement:Lr,popupVisible:Cr,popup:Wt,popupStyle:Pn,popupAlign:ar&&{offset:ar},action:wr?[]:[Rr],mouseEnterDelay:Zn,mouseLeaveDelay:or,onPopupVisibleChange:ni,forceRender:Yn,popupMotion:wi,fresh:!0},Xt)}var Jt=h(77900);function An(gt){var Ft=gt.id,Qt=gt.open,Xt=gt.keyPath,Wt=gt.children,Pn="inline",wn=w.useContext(Y),ar=wn.prefixCls,wr=wn.forceSubMenuRender,Nr=wn.motion,ni=wn.defaultMotions,Mr=wn.mode,Xr=w.useRef(!1);Xr.current=Mr===Pn;var Ht=w.useState(!Xr.current),Zn=(0,R.Z)(Ht,2),or=Zn[0],Sr=Zn[1],Rr=Xr.current?Qt:!1;w.useEffect(function(){Xr.current&&Sr(!1)},[Mr]);var Yn=(0,H.Z)({},Qr(Pn,Nr,ni));Xt.length>1&&(Yn.motionAppear=!1);var hr=Yn.onVisibleChanged;return Yn.onVisibleChanged=function(jr){return!Xr.current&&!jr&&Sr(!0),hr==null?void 0:hr(jr)},or?null:w.createElement(D,{mode:Pn,locked:!Xr.current},w.createElement(Jt.default,(0,ye.Z)({visible:Rr},Yn,{forceRender:wr,removeOnLeave:!1,leavedClassName:"".concat(ar,"-hidden")}),function(jr){var kr=jr.className,ei=jr.style;return w.createElement(Vr,{id:Ft,className:kr,style:ei},Wt)}))}var Ke=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ze=["active"],en=function(Ft){var Qt,Xt=Ft.style,Wt=Ft.className,Pn=Ft.title,wn=Ft.eventKey,ar=Ft.warnKey,wr=Ft.disabled,Nr=Ft.internalPopupClose,ni=Ft.children,Mr=Ft.itemIcon,Xr=Ft.expandIcon,Ht=Ft.popupClassName,Zn=Ft.popupOffset,or=Ft.popupStyle,Sr=Ft.onClick,Rr=Ft.onMouseEnter,Yn=Ft.onMouseLeave,hr=Ft.onTitleClick,jr=Ft.onTitleMouseEnter,kr=Ft.onTitleMouseLeave,ei=(0,$.Z)(Ft,Ke),Ji=W(wn),Cr=w.useContext(Y),Wn=Cr.prefixCls,Fn=Cr.mode,Lr=Cr.openKeys,Ur=Cr.disabled,Zr=Cr.overflowDisabled,wi=Cr.activeKey,Vi=Cr.selectedKeys,zo=Cr.itemIcon,uo=Cr.expandIcon,Fo=Cr.onItemClick,Ir=Cr.onOpenChange,dr=Cr.onActive,Ai=w.useContext(Ue),Ii=Ai._internalRenderSubMenuItem,so=w.useContext(he),Za=so.isSubPathKey,bo=ae(),Zo="".concat(Wn,"-submenu"),Jo=Ur||wr,ja=w.useRef(),Na=w.useRef(),lA=Mr!=null?Mr:zo,Xo=Xr!=null?Xr:uo,La=Lr.includes(wn),cA=!Zr&&La,vA=Za(Vi,wn),_a=ht(wn,Jo,jr,kr),da=_a.active,qa=(0,$.Z)(_a,ze),GA=w.useState(!1),NA=(0,R.Z)(GA,2),ms=NA[0],Is=NA[1],Fs=function(Ha){Jo||Is(Ha)},yA=function(Ha){Fs(!0),Rr==null||Rr({key:wn,domEvent:Ha})},Ys=function(Ha){Fs(!1),Yn==null||Yn({key:wn,domEvent:Ha})},Us=w.useMemo(function(){return da||(Fn!=="inline"?ms||Za([wi],wn):!1)},[Fn,da,wi,ms,wn,Za]),Os=Tt(bo.length),jA=function(Ha){Jo||(hr==null||hr({key:wn,domEvent:Ha}),Fn==="inline"&&Ir(wn,!La))},wa=ie(function(Wa){Sr==null||Sr(pn(Wa)),Fo(Wa)}),Hr=function(Ha){Fn!=="inline"&&Ir(wn,Ha)},Di=function(){dr(wn)},Bi=Ji&&"".concat(Ji,"-popup"),Li=w.createElement("div",(0,ye.Z)({role:"menuitem",style:Os,className:"".concat(Zo,"-title"),tabIndex:Jo?null:-1,ref:ja,title:typeof Pn=="string"?Pn:null,"data-menu-id":Zr&&Ji?null:Ji,"aria-expanded":cA,"aria-haspopup":!0,"aria-controls":Bi,"aria-disabled":Jo,onClick:jA,onFocus:Di},qa),Pn,w.createElement(sn,{icon:Fn!=="horizontal"?Xo:void 0,props:(0,H.Z)((0,H.Z)({},Ft),{},{isOpen:cA,isSubMenu:!0})},w.createElement("i",{className:"".concat(Zo,"-arrow")}))),po=w.useRef(Fn);if(Fn!=="inline"&&bo.length>1?po.current="vertical":po.current=Fn,!Zr){var qo=po.current;Li=w.createElement(nt,{mode:qo,prefixCls:Zo,visible:!Nr&&cA&&Fn!=="inline",popupClassName:Ht,popupOffset:Zn,popupStyle:or,popup:w.createElement(D,{mode:qo==="horizontal"?"vertical":qo},w.createElement(Vr,{id:Bi,ref:Na},ni)),disabled:Jo,onVisibleChange:Hr},Li)}var wA=w.createElement(N.Z.Item,(0,ye.Z)({role:"none"},ei,{component:"li",style:Xt,className:m()(Zo,"".concat(Zo,"-").concat(Fn),Wt,(Qt={},(0,fe.Z)(Qt,"".concat(Zo,"-open"),cA),(0,fe.Z)(Qt,"".concat(Zo,"-active"),Us),(0,fe.Z)(Qt,"".concat(Zo,"-selected"),vA),(0,fe.Z)(Qt,"".concat(Zo,"-disabled"),Jo),Qt)),onMouseEnter:yA,onMouseLeave:Ys}),Li,!Zr&&w.createElement(An,{id:Bi,open:cA,keyPath:bo},ni));return Ii&&(wA=Ii(wA,Ft,{selected:vA,active:Us,open:cA,disabled:Jo})),w.createElement(D,{onItemClick:wa,mode:Fn==="horizontal"?"vertical":Fn,itemIcon:lA,expandIcon:Xo},wA)};function Zt(gt){var Ft=gt.eventKey,Qt=gt.children,Xt=ae(Ft),Wt=qr(Qt,Xt),Pn=K();w.useEffect(function(){if(Pn)return Pn.registerPath(Ft,Xt),function(){Pn.unregisterPath(Ft,Xt)}},[Xt]);var wn;return Pn?wn=Wt:wn=w.createElement(en,gt,Wt),w.createElement(le.Provider,{value:Xt},wn)}var Tn=h(76190),hn=["className","title","eventKey","children"],Un=["children"],Hn=function(Ft){var Qt=Ft.className,Xt=Ft.title,Wt=Ft.eventKey,Pn=Ft.children,wn=(0,$.Z)(Ft,hn),ar=w.useContext(Y),wr=ar.prefixCls,Nr="".concat(wr,"-item-group");return w.createElement("li",(0,ye.Z)({role:"presentation"},wn,{onClick:function(Mr){return Mr.stopPropagation()},className:m()(Nr,Qt)}),w.createElement("div",{role:"presentation",className:"".concat(Nr,"-title"),title:typeof Xt=="string"?Xt:void 0},Xt),w.createElement("ul",{role:"group",className:"".concat(Nr,"-list")},Pn))};function kn(gt){var Ft=gt.children,Qt=(0,$.Z)(gt,Un),Xt=ae(Qt.eventKey),Wt=qr(Ft,Xt),Pn=K();return Pn?Wt:w.createElement(Hn,(0,Ve.Z)(Qt,["warnKey"]),Wt)}function cr(gt){var Ft=gt.className,Qt=gt.style,Xt=w.useContext(Y),Wt=Xt.prefixCls,Pn=K();return Pn?null:w.createElement("li",{role:"separator",className:m()("".concat(Wt,"-item-divider"),Ft),style:Qt})}var Ln=["label","children","key","type"];function qn(gt){return(gt||[]).map(function(Ft,Qt){if(Ft&&(0,Tn.Z)(Ft)==="object"){var Xt=Ft,Wt=Xt.label,Pn=Xt.children,wn=Xt.key,ar=Xt.type,wr=(0,$.Z)(Xt,Ln),Nr=wn!=null?wn:"tmp-".concat(Qt);return Pn||ar==="group"?ar==="group"?w.createElement(kn,(0,ye.Z)({key:Nr},wr,{title:Wt}),qn(Pn)):w.createElement(Zt,(0,ye.Z)({key:Nr},wr,{title:Wt}),qn(Pn)):ar==="divider"?w.createElement(cr,(0,ye.Z)({key:Nr},wr)):w.createElement(Xn,(0,ye.Z)({key:Nr},wr),Wt)}return null}).filter(function(Ft){return Ft})}function sr(gt,Ft,Qt){var Xt=gt;return Ft&&(Xt=qn(Ft)),qr(Xt,Qt)}var Kn=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ur=[],ir=w.forwardRef(function(gt,Ft){var Qt,Xt,Wt=gt,Pn=Wt.prefixCls,wn=Pn===void 0?"rc-menu":Pn,ar=Wt.rootClassName,wr=Wt.style,Nr=Wt.className,ni=Wt.tabIndex,Mr=ni===void 0?0:ni,Xr=Wt.items,Ht=Wt.children,Zn=Wt.direction,or=Wt.id,Sr=Wt.mode,Rr=Sr===void 0?"vertical":Sr,Yn=Wt.inlineCollapsed,hr=Wt.disabled,jr=Wt.disabledOverflow,kr=Wt.subMenuOpenDelay,ei=kr===void 0?.1:kr,Ji=Wt.subMenuCloseDelay,Cr=Ji===void 0?.1:Ji,Wn=Wt.forceSubMenuRender,Fn=Wt.defaultOpenKeys,Lr=Wt.openKeys,Ur=Wt.activeKey,Zr=Wt.defaultActiveFirst,wi=Wt.selectable,Vi=wi===void 0?!0:wi,zo=Wt.multiple,uo=zo===void 0?!1:zo,Fo=Wt.defaultSelectedKeys,Ir=Wt.selectedKeys,dr=Wt.onSelect,Ai=Wt.onDeselect,Ii=Wt.inlineIndent,so=Ii===void 0?24:Ii,Za=Wt.motion,bo=Wt.defaultMotions,Zo=Wt.triggerSubMenuAction,Jo=Zo===void 0?"hover":Zo,ja=Wt.builtinPlacements,Na=Wt.itemIcon,lA=Wt.expandIcon,Xo=Wt.overflowedIndicator,La=Xo===void 0?"...":Xo,cA=Wt.overflowedIndicatorPopupClassName,vA=Wt.getPopupContainer,_a=Wt.onClick,da=Wt.onOpenChange,qa=Wt.onKeyDown,GA=Wt.openAnimation,NA=Wt.openTransitionName,ms=Wt._internalRenderMenuItem,Is=Wt._internalRenderSubMenuItem,Fs=(0,$.Z)(Wt,Kn),yA=w.useMemo(function(){return sr(Ht,Xr,ur)},[Ht,Xr]),Ys=w.useState(!1),Us=(0,R.Z)(Ys,2),Os=Us[0],jA=Us[1],wa=w.useRef(),Hr=xe(or),Di=Zn==="rtl",Bi=(0,s.Z)(Fn,{value:Lr,postState:function(ra){return ra||ur}}),Li=(0,R.Z)(Bi,2),po=Li[0],qo=Li[1],wA=function(ra){var fa=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function As(){qo(ra),da==null||da(ra)}fa?(0,x.flushSync)(As):As()},Wa=w.useState(po),Ha=(0,R.Z)(Wa,2),Va=Ha[0],Ns=Ha[1],Ls=w.useRef(!1),bl=w.useMemo(function(){return(Rr==="inline"||Rr==="vertical")&&Yn?["vertical",Yn]:[Rr,!1]},[Rr,Yn]),vs=(0,R.Z)(bl,2),LA=vs[0],pA=vs[1],ea=LA==="inline",Js=w.useState(LA),Rl=(0,R.Z)(Js,2),XA=Rl[0],qs=Rl[1],as=w.useState(pA),ac=(0,R.Z)(as,2),ys=ac[0],Ga=ac[1];w.useEffect(function(){qs(LA),Ga(pA),Ls.current&&(ea?qo(Va):wA(ur))},[LA,pA]);var Ac=w.useState(0),eA=(0,R.Z)(Ac,2),fl=eA[0],_s=eA[1],el=fl>=yA.length-1||XA!=="horizontal"||jr;w.useEffect(function(){ea&&Ns(po)},[po]),w.useEffect(function(){return Ls.current=!0,function(){Ls.current=!1}},[]);var xo=Ae(),sc=xo.registerPath,lc=xo.unregisterPath,_c=xo.refreshOverflowKeys,xa=xo.isSubPathKey,Ki=xo.getKeyPath,ji=xo.getKeys,gA=xo.getSubPathKeys,Po=w.useMemo(function(){return{registerPath:sc,unregisterPath:lc}},[sc,lc]),ta=w.useMemo(function(){return{isSubPathKey:xa}},[xa]);w.useEffect(function(){_c(el?ur:yA.slice(fl+1).map(function(Qa){return Qa.key}))},[fl,el]);var na=(0,s.Z)(Ur||Zr&&((Qt=yA[0])===null||Qt===void 0?void 0:Qt.key),{value:Ur}),Yo=(0,R.Z)(na,2),ba=Yo[0],YA=Yo[1],hl=ie(function(Qa){YA(Qa)}),$a=ie(function(){YA(void 0)});(0,w.useImperativeHandle)(Ft,function(){return{list:wa.current,focus:function(ra){var fa,As=ji(),JA=a(As,Hr),Qc=JA.elements,Bl=JA.key2element,Cl=JA.element2key,au=E(wa.current,Qc),Au=ba!=null?ba:au[0]?Cl.get(au[0]):(fa=yA.find(function(Wo){return!Wo.props.disabled}))===null||fa===void 0?void 0:fa.key,cc=Bl.get(Au);if(Au&&cc){var Pc;cc==null||(Pc=cc.focus)===null||Pc===void 0||Pc.call(cc,ra)}}}});var Tl=(0,s.Z)(Fo||[],{value:Ir,postState:function(ra){return Array.isArray(ra)?ra:ra==null?ur:[ra]}}),bA=(0,R.Z)(Tl,2),tl=bA[0],tA=bA[1],iu=function(ra){if(Vi){var fa=ra.key,As=tl.includes(fa),JA;uo?As?JA=tl.filter(function(Bl){return Bl!==fa}):JA=[].concat((0,be.Z)(tl),[fa]):JA=[fa],tA(JA);var Qc=(0,H.Z)((0,H.Z)({},ra),{},{selectedKeys:JA});As?Ai==null||Ai(Qc):dr==null||dr(Qc)}!uo&&po.length&&XA!=="inline"&&wA(ur)},Ml=ie(function(Qa){_a==null||_a(pn(Qa)),iu(Qa)}),jl=ie(function(Qa,ra){var fa=po.filter(function(JA){return JA!==Qa});if(ra)fa.push(Qa);else if(XA!=="inline"){var As=gA(Qa);fa=fa.filter(function(JA){return!As.has(JA)})}(0,L.Z)(po,fa,!0)||wA(fa,!0)}),Pu=function(ra,fa){var As=fa!=null?fa:!po.includes(ra);jl(ra,As)},Hl=p(XA,ba,Di,Hr,wa,ji,Ki,YA,Pu,qa);w.useEffect(function(){jA(!0)},[]);var Du=w.useMemo(function(){return{_internalRenderMenuItem:ms,_internalRenderSubMenuItem:Is}},[ms,Is]),ws=XA!=="horizontal"||jr?yA:yA.map(function(Qa,ra){return w.createElement(D,{key:Qa.key,overflowDisabled:ra>fl},Qa)}),ou=w.createElement(N.Z,(0,ye.Z)({id:or,ref:wa,prefixCls:"".concat(wn,"-overflow"),component:"ul",itemComponent:Xn,className:m()(wn,"".concat(wn,"-root"),"".concat(wn,"-").concat(XA),Nr,(Xt={},(0,fe.Z)(Xt,"".concat(wn,"-inline-collapsed"),ys),(0,fe.Z)(Xt,"".concat(wn,"-rtl"),Di),Xt),ar),dir:Zn,style:wr,role:"menu",tabIndex:Mr,data:ws,renderRawItem:function(ra){return ra},renderRawRest:function(ra){var fa=ra.length,As=fa?yA.slice(-fa):null;return w.createElement(Zt,{eventKey:me,title:La,disabled:el,internalPopupClose:fa===0,popupClassName:cA},As)},maxCount:XA!=="horizontal"||jr?N.Z.INVALIDATE:N.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ra){_s(ra)},onKeyDown:Hl},Fs));return w.createElement(Ue.Provider,{value:Du},w.createElement(_.Provider,{value:Hr},w.createElement(D,{prefixCls:wn,rootClassName:ar,mode:XA,openKeys:po,rtl:Di,disabled:hr,motion:Os?Za:null,defaultMotions:Os?bo:null,activeKey:ba,onActive:hl,onInactive:$a,selectedKeys:tl,inlineIndent:so,subMenuOpenDelay:ei,subMenuCloseDelay:Cr,forceSubMenuRender:Wn,builtinPlacements:ja,triggerSubMenuAction:Jo,getPopupContainer:vA,itemIcon:Na,expandIcon:lA,onItemClick:Ml,onOpenChange:jl},w.createElement(he.Provider,{value:ta},ou),w.createElement("div",{style:{display:"none"},"aria-hidden":!0},w.createElement(J.Provider,{value:Po},yA)))))}),Gr=ir,Er=Gr;Er.Item=Xn,Er.SubMenu=Zt,Er.ItemGroup=kn,Er.Divider=cr;var Qn=Er},11780:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return Be}});var ye=h(54476),fe=h(33885),H=h(42978),be=h(75931),R=h(59301),$=h(92310),v=h.n($),m=h(29301),N=h(34280),s=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],L=void 0;function S(ne,ve){var ee=ne.prefixCls,se=ne.invalidate,je=ne.item,Pe=ne.renderItem,Oe=ne.responsive,ut=ne.responsiveDisabled,mt=ne.registerSize,Ot=ne.itemKey,Ee=ne.className,kt=ne.style,Rt=ne.children,on=ne.display,Mt=ne.order,T=ne.component,Ye=T===void 0?"div":T,E=(0,be.Z)(ne,s),u=Oe&&!on;function a(j){mt(Ot,j)}R.useEffect(function(){return function(){a(null)}},[]);var p=Pe&&je!==L?Pe(je,{index:Mt}):Rt,M;se||(M={opacity:u?0:1,height:u?0:L,overflowY:u?"hidden":L,order:Oe?Mt:L,pointerEvents:u?"none":L,position:u?"absolute":L});var re={};u&&(re["aria-hidden"]=!0);var C=R.createElement(Ye,(0,ye.Z)({className:v()(!se&&ee,Ee),style:(0,fe.Z)((0,fe.Z)({},M),kt)},re,E,{ref:ve}),p);return Oe&&(C=R.createElement(m.Z,{onResize:function(me){var Ae=me.offsetWidth;a(Ae)},disabled:ut},C)),C}var w=R.forwardRef(S);w.displayName="Item";var x=w,_=h(6089),B=h(4676),W=h(16089);function Q(ne){if(typeof MessageChannel=="undefined")(0,W.Z)(ne);else{var ve=new MessageChannel;ve.port1.onmessage=function(){return ne()},ve.port2.postMessage(void 0)}}function q(){var ne=R.useRef(null),ve=function(se){ne.current||(ne.current=[],Q(function(){(0,B.unstable_batchedUpdates)(function(){ne.current.forEach(function(je){je()}),ne.current=null})})),ne.current.push(se)};return ve}function Y(ne,ve){var ee=R.useState(ve),se=(0,H.Z)(ee,2),je=se[0],Pe=se[1],Oe=(0,_.Z)(function(ut){ne(function(){Pe(ut)})});return[je,Oe]}var G=R.createContext(null),D=["component"],O=["className"],J=["className"],K=function(ve,ee){var se=R.useContext(G);if(!se){var je=ve.component,Pe=je===void 0?"div":je,Oe=(0,be.Z)(ve,D);return R.createElement(Pe,(0,ye.Z)({},Oe,{ref:ee}))}var ut=se.className,mt=(0,be.Z)(se,O),Ot=ve.className,Ee=(0,be.Z)(ve,J);return R.createElement(G.Provider,{value:null},R.createElement(x,(0,ye.Z)({ref:ee,className:v()(ut,Ot)},mt,Ee)))},le=R.forwardRef(K);le.displayName="RawItem";var ae=le,he=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],k="responsive",Ue="invalidate";function F(ne){return"+ ".concat(ne.length," ...")}function De(ne,ve){var ee=ne.prefixCls,se=ee===void 0?"rc-overflow":ee,je=ne.data,Pe=je===void 0?[]:je,Oe=ne.renderItem,ut=ne.renderRawItem,mt=ne.itemKey,Ot=ne.itemWidth,Ee=Ot===void 0?10:Ot,kt=ne.ssr,Rt=ne.style,on=ne.className,Mt=ne.maxCount,T=ne.renderRest,Ye=ne.renderRawRest,E=ne.suffix,u=ne.component,a=u===void 0?"div":u,p=ne.itemComponent,M=ne.onVisibleChange,re=(0,be.Z)(ne,he),C=kt==="full",j=q(),me=Y(j,null),Ae=(0,H.Z)(me,2),ie=Ae[0],Se=Ae[1],Ge=ie||0,xe=Y(j,new Map),He=(0,H.Z)(xe,2),Te=He[0],pe=He[1],ge=Y(j,0),Ve=(0,H.Z)(ge,2),yt=Ve[0],ht=Ve[1],Tt=Y(j,0),sn=(0,H.Z)(Tt,2),tn=sn[0],pn=sn[1],mn=Y(j,0),qt=(0,H.Z)(mn,2),gn=qt[0],Sn=qt[1],Jn=(0,R.useState)(null),Br=(0,H.Z)(Jn,2),Xn=Br[0],zr=Br[1],pi=(0,R.useState)(null),yn=(0,H.Z)(pi,2),Vr=yn[0],Nt=yn[1],qr=R.useMemo(function(){return Vr===null&&C?Number.MAX_SAFE_INTEGER:Vr||0},[Vr,ie]),Yi=(0,R.useState)(!1),bi=(0,H.Z)(Yi,2),Pi=bi[0],Io=bi[1],Ni="".concat(se,"-item"),Qr=Math.max(yt,tn),Ei=Mt===k,nt=Pe.length&&Ei,Jt=Mt===Ue,An=nt||typeof Mt=="number"&&Pe.length>Mt,Ke=(0,R.useMemo)(function(){var Qn=Pe;return nt?ie===null&&C?Qn=Pe:Qn=Pe.slice(0,Math.min(Pe.length,Ge/Ee)):typeof Mt=="number"&&(Qn=Pe.slice(0,Mt)),Qn},[Pe,Ee,ie,Mt,nt]),ze=(0,R.useMemo)(function(){return nt?Pe.slice(qr+1):Pe.slice(Ke.length)},[Pe,Ke,nt,qr]),en=(0,R.useCallback)(function(Qn,gt){var Ft;return typeof mt=="function"?mt(Qn):(Ft=mt&&(Qn==null?void 0:Qn[mt]))!==null&&Ft!==void 0?Ft:gt},[mt]),Zt=(0,R.useCallback)(Oe||function(Qn){return Qn},[Oe]);function Tn(Qn,gt,Ft){Vr===Qn&&(gt===void 0||gt===Xn)||(Nt(Qn),Ft||(Io(Qn<Pe.length-1),M==null||M(Qn)),gt!==void 0&&zr(gt))}function hn(Qn,gt){Se(gt.clientWidth)}function Un(Qn,gt){pe(function(Ft){var Qt=new Map(Ft);return gt===null?Qt.delete(Qn):Qt.set(Qn,gt),Qt})}function Hn(Qn,gt){pn(gt),ht(tn)}function kn(Qn,gt){Sn(gt)}function cr(Qn){return Te.get(en(Ke[Qn],Qn))}(0,N.Z)(function(){if(Ge&&typeof Qr=="number"&&Ke){var Qn=gn,gt=Ke.length,Ft=gt-1;if(!gt){Tn(0,null);return}for(var Qt=0;Qt<gt;Qt+=1){var Xt=cr(Qt);if(C&&(Xt=Xt||0),Xt===void 0){Tn(Qt-1,void 0,!0);break}if(Qn+=Xt,Ft===0&&Qn<=Ge||Qt===Ft-1&&Qn+cr(Ft)<=Ge){Tn(Ft,null);break}else if(Qn+Qr>Ge){Tn(Qt-1,Qn-Xt-gn+tn);break}}E&&cr(0)+gn>Ge&&zr(null)}},[Ge,Te,tn,gn,en,Ke]);var Ln=Pi&&!!ze.length,qn={};Xn!==null&&nt&&(qn={position:"absolute",left:Xn,top:0});var sr={prefixCls:Ni,responsive:nt,component:p,invalidate:Jt},Kn=ut?function(Qn,gt){var Ft=en(Qn,gt);return R.createElement(G.Provider,{key:Ft,value:(0,fe.Z)((0,fe.Z)({},sr),{},{order:gt,item:Qn,itemKey:Ft,registerSize:Un,display:gt<=qr})},ut(Qn,gt))}:function(Qn,gt){var Ft=en(Qn,gt);return R.createElement(x,(0,ye.Z)({},sr,{order:gt,key:Ft,item:Qn,renderItem:Zt,itemKey:Ft,registerSize:Un,display:gt<=qr}))},ur={order:Ln?qr:Number.MAX_SAFE_INTEGER,className:"".concat(Ni,"-rest"),registerSize:Hn,display:Ln},ir=T||F,Gr=Ye?R.createElement(G.Provider,{value:(0,fe.Z)((0,fe.Z)({},sr),ur)},Ye(ze)):R.createElement(x,(0,ye.Z)({},sr,ur),typeof ir=="function"?ir(ze):ir),Er=R.createElement(a,(0,ye.Z)({className:v()(!Jt&&se,on),style:Rt,ref:ve},re),Ke.map(Kn),An?Gr:null,E&&R.createElement(x,(0,ye.Z)({},sr,{responsive:Ei,responsiveDisabled:!nt,order:qr,className:"".concat(Ni,"-suffix"),registerSize:kn,display:!0,style:qn}),E));return Ei?R.createElement(m.Z,{onResize:hn,disabled:!nt},Er):Er}var we=R.forwardRef(De);we.displayName="Overflow",we.Item=ae,we.RESPONSIVE=k,we.INVALIDATE=Ue;var de=we,Be=de},17115:function(tr,Ct,h){"use strict";h.d(Ct,{ZP:function(){return v}});var ye=h(42978),fe=h(59301),H=h(47273),be=0,R=(0,H.Z)();function $(){var m;return R?(m=be,be+=1):m="TEST_OR_SSR",m}function v(m){var N=fe.useState(),s=(0,ye.Z)(N,2),L=s[0],S=s[1];return fe.useEffect(function(){S("rc_select_".concat($()))},[]),m||L}},77861:function(tr,Ct,h){"use strict";h.d(Ct,{Ac:function(){return Se},Xo:function(){return pn},Wx:function(){return qt},ZP:function(){return An},lk:function(){return G}});var ye=h(54476),fe=h(94480),H=h(20068),be=h(33885),R=h(42978),$=h(75931),v=h(76190),m=h(18929),N=h(48736),s=h(59301),L=h(92310),S=h.n(L),w=h(34280),x=h(49658),_=h(10228),B=h(8654),W=function(ze){var en=ze.className,Zt=ze.customizeIcon,Tn=ze.customizeIconProps,hn=ze.onMouseDown,Un=ze.onClick,Hn=ze.children,kn;return typeof Zt=="function"?kn=Zt(Tn):kn=Zt,s.createElement("span",{className:en,onMouseDown:function(Ln){Ln.preventDefault(),hn&&hn(Ln)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:Un,"aria-hidden":!0},kn!==void 0?kn:s.createElement("span",{className:S()(en.split(/\s+/).map(function(cr){return"".concat(cr,"-icon")}))},Hn))},Q=W;function q(Ke,ze,en,Zt,Tn){var hn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,Un=arguments.length>6?arguments[6]:void 0,Hn=arguments.length>7?arguments[7]:void 0,kn=s.useMemo(function(){if((0,v.Z)(Zt)==="object")return Zt.clearIcon;if(Tn)return Tn},[Zt,Tn]),cr=s.useMemo(function(){return!!(!hn&&Zt&&(en.length||Un)&&!(Hn==="combobox"&&Un===""))},[Zt,hn,en.length,Un,Hn]);return{allowClear:cr,clearIcon:s.createElement(Q,{className:"".concat(Ke,"-clear"),onMouseDown:ze,customizeIcon:kn},"\xD7")}}var Y=s.createContext(null);function G(){return s.useContext(Y)}function D(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ze=s.useState(!1),en=(0,R.Z)(ze,2),Zt=en[0],Tn=en[1],hn=s.useRef(null),Un=function(){window.clearTimeout(hn.current)};s.useEffect(function(){return Un},[]);var Hn=function(cr,Ln){Un(),hn.current=window.setTimeout(function(){Tn(cr),Ln&&Ln()},Ke)};return[Zt,Hn,Un]}function O(){var Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ze=s.useRef(null),en=s.useRef(null);s.useEffect(function(){return function(){window.clearTimeout(en.current)}},[]);function Zt(Tn){(Tn||ze.current===null)&&(ze.current=Tn),window.clearTimeout(en.current),en.current=window.setTimeout(function(){ze.current=null},Ke)}return[function(){return ze.current},Zt]}function J(Ke,ze,en,Zt){var Tn=s.useRef(null);Tn.current={open:ze,triggerOpen:en,customizedTrigger:Zt},s.useEffect(function(){function hn(Un){var Hn;if(!((Hn=Tn.current)!==null&&Hn!==void 0&&Hn.customizedTrigger)){var kn=Un.target;kn.shadowRoot&&Un.composed&&(kn=Un.composedPath()[0]||kn),Tn.current.open&&Ke().filter(function(cr){return cr}).every(function(cr){return!cr.contains(kn)&&cr!==kn})&&Tn.current.triggerOpen(!1)}}return window.addEventListener("mousedown",hn),function(){return window.removeEventListener("mousedown",hn)}},[])}var K=h(26112),le=h(11780),ae=function(ze,en){var Zt,Tn,hn=ze.prefixCls,Un=ze.id,Hn=ze.inputElement,kn=ze.disabled,cr=ze.tabIndex,Ln=ze.autoFocus,qn=ze.autoComplete,sr=ze.editable,Kn=ze.activeDescendantId,ur=ze.value,ir=ze.maxLength,Gr=ze.onKeyDown,Er=ze.onMouseDown,Qn=ze.onChange,gt=ze.onPaste,Ft=ze.onCompositionStart,Qt=ze.onCompositionEnd,Xt=ze.open,Wt=ze.attrs,Pn=Hn||s.createElement("input",null),wn=Pn,ar=wn.ref,wr=wn.props,Nr=wr.onKeyDown,ni=wr.onChange,Mr=wr.onMouseDown,Xr=wr.onCompositionStart,Ht=wr.onCompositionEnd,Zn=wr.style;return(0,N.Kp)(!("maxLength"in Pn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),Pn=s.cloneElement(Pn,(0,be.Z)((0,be.Z)((0,be.Z)({type:"search"},wr),{},{id:Un,ref:(0,B.sQ)(en,ar),disabled:kn,tabIndex:cr,autoComplete:qn||"off",autoFocus:Ln,className:S()("".concat(hn,"-selection-search-input"),(Zt=Pn)===null||Zt===void 0||(Tn=Zt.props)===null||Tn===void 0?void 0:Tn.className),role:"combobox","aria-label":"Search","aria-expanded":Xt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(Un,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(Un,"_list"),"aria-activedescendant":Xt?Kn:void 0},Wt),{},{value:sr?ur:"",maxLength:ir,readOnly:!sr,unselectable:sr?null:"on",style:(0,be.Z)((0,be.Z)({},Zn),{},{opacity:sr?null:0}),onKeyDown:function(Sr){Gr(Sr),Nr&&Nr(Sr)},onMouseDown:function(Sr){Er(Sr),Mr&&Mr(Sr)},onChange:function(Sr){Qn(Sr),ni&&ni(Sr)},onCompositionStart:function(Sr){Ft(Sr),Xr&&Xr(Sr)},onCompositionEnd:function(Sr){Qt(Sr),Ht&&Ht(Sr)},onPaste:gt})),Pn},he=s.forwardRef(ae);he.displayName="Input";var k=he;function Ue(Ke){return Array.isArray(Ke)?Ke:Ke!==void 0?[Ke]:[]}var F=typeof window!="undefined"&&window.document&&window.document.documentElement,De=F;function we(Ke){return Ke!=null}function de(Ke){return!Ke&&Ke!==0}function Be(Ke){return["string","number"].includes((0,v.Z)(Ke))}function ne(Ke){var ze=void 0;return Ke&&(Be(Ke.title)?ze=Ke.title.toString():Be(Ke.label)&&(ze=Ke.label.toString())),ze}function ve(Ke,ze){De?s.useLayoutEffect(Ke,ze):s.useEffect(Ke,ze)}function ee(Ke){var ze;return(ze=Ke.key)!==null&&ze!==void 0?ze:Ke.value}var se=function(ze){ze.preventDefault(),ze.stopPropagation()},je=function(ze){var en=ze.id,Zt=ze.prefixCls,Tn=ze.values,hn=ze.open,Un=ze.searchValue,Hn=ze.autoClearSearchValue,kn=ze.inputRef,cr=ze.placeholder,Ln=ze.disabled,qn=ze.mode,sr=ze.showSearch,Kn=ze.autoFocus,ur=ze.autoComplete,ir=ze.activeDescendantId,Gr=ze.tabIndex,Er=ze.removeIcon,Qn=ze.maxTagCount,gt=ze.maxTagTextLength,Ft=ze.maxTagPlaceholder,Qt=Ft===void 0?function(wi){return"+ ".concat(wi.length," ...")}:Ft,Xt=ze.tagRender,Wt=ze.onToggleOpen,Pn=ze.onRemove,wn=ze.onInputChange,ar=ze.onInputPaste,wr=ze.onInputKeyDown,Nr=ze.onInputMouseDown,ni=ze.onInputCompositionStart,Mr=ze.onInputCompositionEnd,Xr=s.useRef(null),Ht=(0,s.useState)(0),Zn=(0,R.Z)(Ht,2),or=Zn[0],Sr=Zn[1],Rr=(0,s.useState)(!1),Yn=(0,R.Z)(Rr,2),hr=Yn[0],jr=Yn[1],kr="".concat(Zt,"-selection"),ei=hn||qn==="multiple"&&Hn===!1||qn==="tags"?Un:"",Ji=qn==="tags"||qn==="multiple"&&Hn===!1||sr&&(hn||hr);ve(function(){Sr(Xr.current.scrollWidth)},[ei]);function Cr(wi,Vi,zo,uo,Fo){return s.createElement("span",{className:S()("".concat(kr,"-item"),(0,H.Z)({},"".concat(kr,"-item-disabled"),zo)),title:ne(wi)},s.createElement("span",{className:"".concat(kr,"-item-content")},Vi),uo&&s.createElement(Q,{className:"".concat(kr,"-item-remove"),onMouseDown:se,onClick:Fo,customizeIcon:Er},"\xD7"))}function Wn(wi,Vi,zo,uo,Fo){var Ir=function(Ai){se(Ai),Wt(!hn)};return s.createElement("span",{onMouseDown:Ir},Xt({label:Vi,value:wi,disabled:zo,closable:uo,onClose:Fo}))}function Fn(wi){var Vi=wi.disabled,zo=wi.label,uo=wi.value,Fo=!Ln&&!Vi,Ir=zo;if(typeof gt=="number"&&(typeof zo=="string"||typeof zo=="number")){var dr=String(Ir);dr.length>gt&&(Ir="".concat(dr.slice(0,gt),"..."))}var Ai=function(so){so&&so.stopPropagation(),Pn(wi)};return typeof Xt=="function"?Wn(uo,Ir,Vi,Fo,Ai):Cr(wi,Ir,Vi,Fo,Ai)}function Lr(wi){var Vi=typeof Qt=="function"?Qt(wi):Qt;return Cr({title:Vi},Vi,!1)}var Ur=s.createElement("div",{className:"".concat(kr,"-search"),style:{width:or},onFocus:function(){jr(!0)},onBlur:function(){jr(!1)}},s.createElement(k,{ref:kn,open:hn,prefixCls:Zt,id:en,inputElement:null,disabled:Ln,autoFocus:Kn,autoComplete:ur,editable:Ji,activeDescendantId:ir,value:ei,onKeyDown:wr,onMouseDown:Nr,onChange:wn,onPaste:ar,onCompositionStart:ni,onCompositionEnd:Mr,tabIndex:Gr,attrs:(0,K.Z)(ze,!0)}),s.createElement("span",{ref:Xr,className:"".concat(kr,"-search-mirror"),"aria-hidden":!0},ei,"\xA0")),Zr=s.createElement(le.Z,{prefixCls:"".concat(kr,"-overflow"),data:Tn,renderItem:Fn,renderRest:Lr,suffix:Ur,itemKey:ee,maxCount:Qn});return s.createElement(s.Fragment,null,Zr,!Tn.length&&!ei&&s.createElement("span",{className:"".concat(kr,"-placeholder")},cr))},Pe=je,Oe=function(ze){var en=ze.inputElement,Zt=ze.prefixCls,Tn=ze.id,hn=ze.inputRef,Un=ze.disabled,Hn=ze.autoFocus,kn=ze.autoComplete,cr=ze.activeDescendantId,Ln=ze.mode,qn=ze.open,sr=ze.values,Kn=ze.placeholder,ur=ze.tabIndex,ir=ze.showSearch,Gr=ze.searchValue,Er=ze.activeValue,Qn=ze.maxLength,gt=ze.onInputKeyDown,Ft=ze.onInputMouseDown,Qt=ze.onInputChange,Xt=ze.onInputPaste,Wt=ze.onInputCompositionStart,Pn=ze.onInputCompositionEnd,wn=ze.title,ar=s.useState(!1),wr=(0,R.Z)(ar,2),Nr=wr[0],ni=wr[1],Mr=Ln==="combobox",Xr=Mr||ir,Ht=sr[0],Zn=Gr||"";Mr&&Er&&!Nr&&(Zn=Er),s.useEffect(function(){Mr&&ni(!1)},[Mr,Er]);var or=Ln!=="combobox"&&!qn&&!ir?!1:!!Zn,Sr=wn===void 0?ne(Ht):wn,Rr=function(){if(Ht)return null;var hr=or?{visibility:"hidden"}:void 0;return s.createElement("span",{className:"".concat(Zt,"-selection-placeholder"),style:hr},Kn)};return s.createElement(s.Fragment,null,s.createElement("span",{className:"".concat(Zt,"-selection-search")},s.createElement(k,{ref:hn,prefixCls:Zt,id:Tn,open:qn,inputElement:en,disabled:Un,autoFocus:Hn,autoComplete:kn,editable:Xr,activeDescendantId:cr,value:Zn,onKeyDown:gt,onMouseDown:Ft,onChange:function(hr){ni(!0),Qt(hr)},onPaste:Xt,onCompositionStart:Wt,onCompositionEnd:Pn,tabIndex:ur,attrs:(0,K.Z)(ze,!0),maxLength:Mr?Qn:void 0})),!Mr&&Ht?s.createElement("span",{className:"".concat(Zt,"-selection-item"),title:Sr,style:or?{visibility:"hidden"}:void 0},Ht.label):null,Rr())},ut=Oe;function mt(Ke){return![_.Z.ESC,_.Z.SHIFT,_.Z.BACKSPACE,_.Z.TAB,_.Z.WIN_KEY,_.Z.ALT,_.Z.META,_.Z.WIN_KEY_RIGHT,_.Z.CTRL,_.Z.SEMICOLON,_.Z.EQUALS,_.Z.CAPS_LOCK,_.Z.CONTEXT_MENU,_.Z.F1,_.Z.F2,_.Z.F3,_.Z.F4,_.Z.F5,_.Z.F6,_.Z.F7,_.Z.F8,_.Z.F9,_.Z.F10,_.Z.F11,_.Z.F12].includes(Ke)}var Ot=function(ze,en){var Zt=(0,s.useRef)(null),Tn=(0,s.useRef)(!1),hn=ze.prefixCls,Un=ze.open,Hn=ze.mode,kn=ze.showSearch,cr=ze.tokenWithEnter,Ln=ze.autoClearSearchValue,qn=ze.onSearch,sr=ze.onSearchSubmit,Kn=ze.onToggleOpen,ur=ze.onInputKeyDown,ir=ze.domRef;s.useImperativeHandle(en,function(){return{focus:function(){Zt.current.focus()},blur:function(){Zt.current.blur()}}});var Gr=O(0),Er=(0,R.Z)(Gr,2),Qn=Er[0],gt=Er[1],Ft=function(Zn){var or=Zn.which;(or===_.Z.UP||or===_.Z.DOWN)&&Zn.preventDefault(),ur&&ur(Zn),or===_.Z.ENTER&&Hn==="tags"&&!Tn.current&&!Un&&(sr==null||sr(Zn.target.value)),mt(or)&&Kn(!0)},Qt=function(){gt(!0)},Xt=(0,s.useRef)(null),Wt=function(Zn){qn(Zn,!0,Tn.current)!==!1&&Kn(!0)},Pn=function(){Tn.current=!0},wn=function(Zn){Tn.current=!1,Hn!=="combobox"&&Wt(Zn.target.value)},ar=function(Zn){var or=Zn.target.value;if(cr&&Xt.current&&/[\r\n]/.test(Xt.current)){var Sr=Xt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");or=or.replace(Sr,Xt.current)}Xt.current=null,Wt(or)},wr=function(Zn){var or=Zn.clipboardData,Sr=or.getData("text");Xt.current=Sr},Nr=function(Zn){var or=Zn.target;if(or!==Zt.current){var Sr=document.body.style.msTouchAction!==void 0;Sr?setTimeout(function(){Zt.current.focus()}):Zt.current.focus()}},ni=function(Zn){var or=Qn();Zn.target!==Zt.current&&!or&&Hn!=="combobox"&&Zn.preventDefault(),(Hn!=="combobox"&&(!kn||!or)||!Un)&&(Un&&Ln!==!1&&qn("",!0,!1),Kn())},Mr={inputRef:Zt,onInputKeyDown:Ft,onInputMouseDown:Qt,onInputChange:ar,onInputPaste:wr,onInputCompositionStart:Pn,onInputCompositionEnd:wn},Xr=Hn==="multiple"||Hn==="tags"?s.createElement(Pe,(0,ye.Z)({},ze,Mr)):s.createElement(ut,(0,ye.Z)({},ze,Mr));return s.createElement("div",{ref:ir,className:"".concat(hn,"-selector"),onClick:Nr,onMouseDown:ni},Xr)},Ee=s.forwardRef(Ot);Ee.displayName="Selector";var kt=Ee,Rt=h(35593),on=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Mt=function(ze){var en=ze===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:en,adjustY:1},htmlRegion:"scroll"}}},T=function(ze,en){var Zt=ze.prefixCls,Tn=ze.disabled,hn=ze.visible,Un=ze.children,Hn=ze.popupElement,kn=ze.animation,cr=ze.transitionName,Ln=ze.dropdownStyle,qn=ze.dropdownClassName,sr=ze.direction,Kn=sr===void 0?"ltr":sr,ur=ze.placement,ir=ze.builtinPlacements,Gr=ze.dropdownMatchSelectWidth,Er=ze.dropdownRender,Qn=ze.dropdownAlign,gt=ze.getPopupContainer,Ft=ze.empty,Qt=ze.getTriggerDOMNode,Xt=ze.onPopupVisibleChange,Wt=ze.onPopupMouseEnter,Pn=(0,$.Z)(ze,on),wn="".concat(Zt,"-dropdown"),ar=Hn;Er&&(ar=Er(Hn));var wr=s.useMemo(function(){return ir||Mt(Gr)},[ir,Gr]),Nr=kn?"".concat(wn,"-").concat(kn):cr,ni=typeof Gr=="number",Mr=s.useMemo(function(){return ni?null:Gr===!1?"minWidth":"width"},[Gr,ni]),Xr=Ln;ni&&(Xr=(0,be.Z)((0,be.Z)({},Xr),{},{width:Gr}));var Ht=s.useRef(null);return s.useImperativeHandle(en,function(){return{getPopupElement:function(){return Ht.current}}}),s.createElement(Rt.Z,(0,ye.Z)({},Pn,{showAction:Xt?["click"]:[],hideAction:Xt?["click"]:[],popupPlacement:ur||(Kn==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:wr,prefixCls:wn,popupTransitionName:Nr,popup:s.createElement("div",{ref:Ht,onMouseEnter:Wt},ar),stretch:Mr,popupAlign:Qn,popupVisible:hn,getPopupContainer:gt,popupClassName:S()(qn,(0,H.Z)({},"".concat(wn,"-empty"),Ft)),popupStyle:Xr,getTriggerDOMNode:Qt,onPopupVisibleChange:Xt}),Un)},Ye=s.forwardRef(T);Ye.displayName="SelectTrigger";var E=Ye,u=h(66712);function a(Ke,ze){var en=Ke.key,Zt;return"value"in Ke&&(Zt=Ke.value),en!=null?en:Zt!==void 0?Zt:"rc-index-key-".concat(ze)}function p(Ke,ze){var en=Ke||{},Zt=en.label,Tn=en.value,hn=en.options,Un=en.groupLabel,Hn=Zt||(ze?"children":"label");return{label:Hn,value:Tn||"value",options:hn||"options",groupLabel:Un||Hn}}function M(Ke){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},en=ze.fieldNames,Zt=ze.childrenAsData,Tn=[],hn=p(en,!1),Un=hn.label,Hn=hn.value,kn=hn.options,cr=hn.groupLabel;function Ln(qn,sr){qn.forEach(function(Kn){if(sr||!(kn in Kn)){var ur=Kn[Hn];Tn.push({key:a(Kn,Tn.length),groupOption:sr,data:Kn,label:Kn[Un],value:ur})}else{var ir=Kn[cr];ir===void 0&&Zt&&(ir=Kn.label),Tn.push({key:a(Kn,Tn.length),group:!0,data:Kn,label:ir}),Ln(Kn[kn],!0)}})}return Ln(Ke,!1),Tn}function re(Ke){var ze=(0,be.Z)({},Ke);return"props"in ze||Object.defineProperty(ze,"props",{get:function(){return(0,N.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),ze}}),ze}function C(Ke,ze){if(!ze||!ze.length)return null;var en=!1;function Zt(hn,Un){var Hn=(0,u.Z)(Un),kn=Hn[0],cr=Hn.slice(1);if(!kn)return[hn];var Ln=hn.split(kn);return en=en||Ln.length>1,Ln.reduce(function(qn,sr){return[].concat((0,fe.Z)(qn),(0,fe.Z)(Zt(sr,cr)))},[]).filter(function(qn){return qn})}var Tn=Zt(Ke,ze);return en?Tn:null}var j=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],me=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function Ae(Ke){return Ke==="tags"||Ke==="multiple"}var ie=s.forwardRef(function(Ke,ze){var en,Zt,Tn=Ke.id,hn=Ke.prefixCls,Un=Ke.className,Hn=Ke.showSearch,kn=Ke.tagRender,cr=Ke.direction,Ln=Ke.omitDomProps,qn=Ke.displayValues,sr=Ke.onDisplayValuesChange,Kn=Ke.emptyOptions,ur=Ke.notFoundContent,ir=ur===void 0?"Not Found":ur,Gr=Ke.onClear,Er=Ke.mode,Qn=Ke.disabled,gt=Ke.loading,Ft=Ke.getInputElement,Qt=Ke.getRawInputElement,Xt=Ke.open,Wt=Ke.defaultOpen,Pn=Ke.onDropdownVisibleChange,wn=Ke.activeValue,ar=Ke.onActiveValueChange,wr=Ke.activeDescendantId,Nr=Ke.searchValue,ni=Ke.autoClearSearchValue,Mr=Ke.onSearch,Xr=Ke.onSearchSplit,Ht=Ke.tokenSeparators,Zn=Ke.allowClear,or=Ke.suffixIcon,Sr=Ke.clearIcon,Rr=Ke.OptionList,Yn=Ke.animation,hr=Ke.transitionName,jr=Ke.dropdownStyle,kr=Ke.dropdownClassName,ei=Ke.dropdownMatchSelectWidth,Ji=Ke.dropdownRender,Cr=Ke.dropdownAlign,Wn=Ke.placement,Fn=Ke.builtinPlacements,Lr=Ke.getPopupContainer,Ur=Ke.showAction,Zr=Ur===void 0?[]:Ur,wi=Ke.onFocus,Vi=Ke.onBlur,zo=Ke.onKeyUp,uo=Ke.onKeyDown,Fo=Ke.onMouseDown,Ir=(0,$.Z)(Ke,j),dr=Ae(Er),Ai=(Hn!==void 0?Hn:dr)||Er==="combobox",Ii=(0,be.Z)({},Ir);me.forEach(function(Ki){delete Ii[Ki]}),Ln==null||Ln.forEach(function(Ki){delete Ii[Ki]});var so=s.useState(!1),Za=(0,R.Z)(so,2),bo=Za[0],Zo=Za[1];s.useEffect(function(){Zo((0,x.Z)())},[]);var Jo=s.useRef(null),ja=s.useRef(null),Na=s.useRef(null),lA=s.useRef(null),Xo=s.useRef(null),La=D(),cA=(0,R.Z)(La,3),vA=cA[0],_a=cA[1],da=cA[2];s.useImperativeHandle(ze,function(){var Ki,ji;return{focus:(Ki=lA.current)===null||Ki===void 0?void 0:Ki.focus,blur:(ji=lA.current)===null||ji===void 0?void 0:ji.blur,scrollTo:function(Po){var ta;return(ta=Xo.current)===null||ta===void 0?void 0:ta.scrollTo(Po)}}});var qa=s.useMemo(function(){var Ki;if(Er!=="combobox")return Nr;var ji=(Ki=qn[0])===null||Ki===void 0?void 0:Ki.value;return typeof ji=="string"||typeof ji=="number"?String(ji):""},[Nr,Er,qn]),GA=Er==="combobox"&&typeof Ft=="function"&&Ft()||null,NA=typeof Qt=="function"&&Qt(),ms=(0,B.x1)(ja,NA==null||(en=NA.props)===null||en===void 0?void 0:en.ref),Is=s.useState(!1),Fs=(0,R.Z)(Is,2),yA=Fs[0],Ys=Fs[1];(0,w.Z)(function(){Ys(!0)},[]);var Us=(0,m.Z)(!1,{defaultValue:Wt,value:Xt}),Os=(0,R.Z)(Us,2),jA=Os[0],wa=Os[1],Hr=yA?jA:!1,Di=!ir&&Kn;(Qn||Di&&Hr&&Er==="combobox")&&(Hr=!1);var Bi=Di?!1:Hr,Li=s.useCallback(function(Ki){var ji=Ki!==void 0?Ki:!Hr;Qn||(wa(ji),Hr!==ji&&(Pn==null||Pn(ji)))},[Qn,Hr,wa,Pn]),po=s.useMemo(function(){return(Ht||[]).some(function(Ki){return[`
|
|
|
`,`\r
|
|
|
`].includes(Ki)})},[Ht]),qo=function(ji,gA,Po){var ta=!0,na=ji;ar==null||ar(null);var Yo=Po?null:C(ji,Ht);return Er!=="combobox"&&Yo&&(na="",Xr==null||Xr(Yo),Li(!1),ta=!1),Mr&&qa!==na&&Mr(na,{source:gA?"typing":"effect"}),ta},wA=function(ji){!ji||!ji.trim()||Mr(ji,{source:"submit"})};s.useEffect(function(){!Hr&&!dr&&Er!=="combobox"&&qo("",!1,!1)},[Hr]),s.useEffect(function(){jA&&Qn&&wa(!1),Qn&&_a(!1)},[Qn]);var Wa=O(),Ha=(0,R.Z)(Wa,2),Va=Ha[0],Ns=Ha[1],Ls=function(ji){var gA=Va(),Po=ji.which;if(Po===_.Z.ENTER&&(Er!=="combobox"&&ji.preventDefault(),Hr||Li(!0)),Ns(!!qa),Po===_.Z.BACKSPACE&&!gA&&dr&&!qa&&qn.length){for(var ta=(0,fe.Z)(qn),na=null,Yo=ta.length-1;Yo>=0;Yo-=1){var ba=ta[Yo];if(!ba.disabled){ta.splice(Yo,1),na=ba;break}}na&&sr(ta,{type:"remove",values:[na]})}for(var YA=arguments.length,hl=new Array(YA>1?YA-1:0),$a=1;$a<YA;$a++)hl[$a-1]=arguments[$a];if(Hr&&Xo.current){var Tl;(Tl=Xo.current).onKeyDown.apply(Tl,[ji].concat(hl))}uo==null||uo.apply(void 0,[ji].concat(hl))},bl=function(ji){for(var gA=arguments.length,Po=new Array(gA>1?gA-1:0),ta=1;ta<gA;ta++)Po[ta-1]=arguments[ta];if(Hr&&Xo.current){var na;(na=Xo.current).onKeyUp.apply(na,[ji].concat(Po))}zo==null||zo.apply(void 0,[ji].concat(Po))},vs=function(ji){var gA=qn.filter(function(Po){return Po!==ji});sr(gA,{type:"remove",values:[ji]})},LA=s.useRef(!1),pA=function(){_a(!0),Qn||(wi&&!LA.current&&wi.apply(void 0,arguments),Zr.includes("focus")&&Li(!0)),LA.current=!0},ea=function(){_a(!1,function(){LA.current=!1,Li(!1)}),!Qn&&(qa&&(Er==="tags"?Mr(qa,{source:"submit"}):Er==="multiple"&&Mr("",{source:"blur"})),Vi&&Vi.apply(void 0,arguments))},Js=[];s.useEffect(function(){return function(){Js.forEach(function(Ki){return clearTimeout(Ki)}),Js.splice(0,Js.length)}},[]);var Rl=function(ji){var gA,Po=ji.target,ta=(gA=Na.current)===null||gA===void 0?void 0:gA.getPopupElement();if(ta&&ta.contains(Po)){var na=setTimeout(function(){var hl=Js.indexOf(na);if(hl!==-1&&Js.splice(hl,1),da(),!bo&&!ta.contains(document.activeElement)){var $a;($a=lA.current)===null||$a===void 0||$a.focus()}});Js.push(na)}for(var Yo=arguments.length,ba=new Array(Yo>1?Yo-1:0),YA=1;YA<Yo;YA++)ba[YA-1]=arguments[YA];Fo==null||Fo.apply(void 0,[ji].concat(ba))},XA=s.useState({}),qs=(0,R.Z)(XA,2),as=qs[1];function ac(){as({})}var ys;NA&&(ys=function(ji){Li(ji)}),J(function(){var Ki;return[Jo.current,(Ki=Na.current)===null||Ki===void 0?void 0:Ki.getPopupElement()]},Bi,Li,!!NA);var Ga=s.useMemo(function(){return(0,be.Z)((0,be.Z)({},Ke),{},{notFoundContent:ir,open:Hr,triggerOpen:Bi,id:Tn,showSearch:Ai,multiple:dr,toggleOpen:Li})},[Ke,ir,Bi,Hr,Tn,Ai,dr,Li]),Ac=!!or||gt,eA;Ac&&(eA=s.createElement(Q,{className:S()("".concat(hn,"-arrow"),(0,H.Z)({},"".concat(hn,"-arrow-loading"),gt)),customizeIcon:or,customizeIconProps:{loading:gt,searchValue:qa,open:Hr,focused:vA,showSearch:Ai}}));var fl=function(){var ji;Gr==null||Gr(),(ji=lA.current)===null||ji===void 0||ji.focus(),sr([],{type:"clear",values:qn}),qo("",!1,!1)},_s=q(hn,fl,qn,Zn,Sr,Qn,qa,Er),el=_s.allowClear,xo=_s.clearIcon,sc=s.createElement(Rr,{ref:Xo}),lc=S()(hn,Un,(Zt={},(0,H.Z)(Zt,"".concat(hn,"-focused"),vA),(0,H.Z)(Zt,"".concat(hn,"-multiple"),dr),(0,H.Z)(Zt,"".concat(hn,"-single"),!dr),(0,H.Z)(Zt,"".concat(hn,"-allow-clear"),Zn),(0,H.Z)(Zt,"".concat(hn,"-show-arrow"),Ac),(0,H.Z)(Zt,"".concat(hn,"-disabled"),Qn),(0,H.Z)(Zt,"".concat(hn,"-loading"),gt),(0,H.Z)(Zt,"".concat(hn,"-open"),Hr),(0,H.Z)(Zt,"".concat(hn,"-customize-input"),GA),(0,H.Z)(Zt,"".concat(hn,"-show-search"),Ai),Zt)),_c=s.createElement(E,{ref:Na,disabled:Qn,prefixCls:hn,visible:Bi,popupElement:sc,animation:Yn,transitionName:hr,dropdownStyle:jr,dropdownClassName:kr,direction:cr,dropdownMatchSelectWidth:ei,dropdownRender:Ji,dropdownAlign:Cr,placement:Wn,builtinPlacements:Fn,getPopupContainer:Lr,empty:Kn,getTriggerDOMNode:function(){return ja.current},onPopupVisibleChange:ys,onPopupMouseEnter:ac},NA?s.cloneElement(NA,{ref:ms}):s.createElement(kt,(0,ye.Z)({},Ke,{domRef:ja,prefixCls:hn,inputElement:GA,ref:lA,id:Tn,showSearch:Ai,autoClearSearchValue:ni,mode:Er,activeDescendantId:wr,tagRender:kn,values:qn,open:Hr,onToggleOpen:Li,activeValue:wn,searchValue:qa,onSearch:qo,onSearchSubmit:wA,onRemove:vs,tokenWithEnter:po}))),xa;return NA?xa=_c:xa=s.createElement("div",(0,ye.Z)({className:lc},Ii,{ref:Jo,onMouseDown:Rl,onKeyDown:Ls,onKeyUp:bl,onFocus:pA,onBlur:ea}),vA&&!Hr&&s.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(qn.map(function(Ki){var ji=Ki.label,gA=Ki.value;return["number","string"].includes((0,v.Z)(ji))?ji:gA}).join(", "))),_c,eA,el&&xo),s.createElement(Y.Provider,{value:Ga},xa)}),Se=ie,Ge=function(Ke,ze){var en=s.useRef({values:new Map,options:new Map}),Zt=s.useMemo(function(){var hn=en.current,Un=hn.values,Hn=hn.options,kn=Ke.map(function(qn){if(qn.label===void 0){var sr;return(0,be.Z)((0,be.Z)({},qn),{},{label:(sr=Un.get(qn.value))===null||sr===void 0?void 0:sr.label})}return qn}),cr=new Map,Ln=new Map;return kn.forEach(function(qn){cr.set(qn.value,qn),Ln.set(qn.value,ze.get(qn.value)||Hn.get(qn.value))}),en.current.values=cr,en.current.options=Ln,kn},[Ke,ze]),Tn=s.useCallback(function(hn){return ze.get(hn)||en.current.options.get(hn)},[ze]);return[Zt,Tn]};function xe(Ke,ze){return Ue(Ke).join("").toUpperCase().includes(ze)}var He=function(Ke,ze,en,Zt,Tn){return s.useMemo(function(){if(!en||Zt===!1)return Ke;var hn=ze.options,Un=ze.label,Hn=ze.value,kn=[],cr=typeof Zt=="function",Ln=en.toUpperCase(),qn=cr?Zt:function(Kn,ur){return Tn?xe(ur[Tn],Ln):ur[hn]?xe(ur[Un!=="children"?Un:"label"],Ln):xe(ur[Hn],Ln)},sr=cr?function(Kn){return re(Kn)}:function(Kn){return Kn};return Ke.forEach(function(Kn){if(Kn[hn]){var ur=qn(en,sr(Kn));if(ur)kn.push(Kn);else{var ir=Kn[hn].filter(function(Gr){return qn(en,sr(Gr))});ir.length&&kn.push((0,be.Z)((0,be.Z)({},Kn),{},(0,H.Z)({},hn,ir)))}return}qn(en,sr(Kn))&&kn.push(Kn)}),kn},[Ke,Zt,Tn,en,ze])},Te=h(17115),pe=h(11592),ge=["children","value"],Ve=["children"];function yt(Ke){var ze=Ke,en=ze.key,Zt=ze.props,Tn=Zt.children,hn=Zt.value,Un=(0,$.Z)(Zt,ge);return(0,be.Z)({key:en,value:hn!==void 0?hn:en,children:Tn},Un)}function ht(Ke){var ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,pe.Z)(Ke).map(function(en,Zt){if(!s.isValidElement(en)||!en.type)return null;var Tn=en,hn=Tn.type.isSelectOptGroup,Un=Tn.key,Hn=Tn.props,kn=Hn.children,cr=(0,$.Z)(Hn,Ve);return ze||!hn?yt(en):(0,be.Z)((0,be.Z)({key:"__RC_SELECT_GRP__".concat(Un===null?Zt:Un,"__"),label:Un},cr),{},{options:ht(kn)})}).filter(function(en){return en})}function Tt(Ke,ze,en,Zt,Tn){return s.useMemo(function(){var hn=Ke,Un=!Ke;Un&&(hn=ht(ze));var Hn=new Map,kn=new Map,cr=function(sr,Kn,ur){ur&&typeof ur=="string"&&sr.set(Kn[ur],Kn)};function Ln(qn){for(var sr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Kn=0;Kn<qn.length;Kn+=1){var ur=qn[Kn];!ur[en.options]||sr?(Hn.set(ur[en.value],ur),cr(kn,ur,en.label),cr(kn,ur,Zt),cr(kn,ur,Tn)):Ln(ur[en.options],!0)}}return Ln(hn),{options:hn,valueOptions:Hn,labelOptions:kn}},[Ke,ze,en,Zt,Tn])}function sn(Ke){var ze=s.useRef();ze.current=Ke;var en=s.useCallback(function(){return ze.current.apply(ze,arguments)},[]);return en}var tn=function(){return null};tn.isSelectOptGroup=!0;var pn=tn,mn=function(){return null};mn.isSelectOption=!0;var qt=mn,gn=h(80547),Sn=h(2738),Jn=h(48911),Br=s.createContext(null),Xn=Br;function zr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var pi=["disabled","title","children","style","className"];function yn(Ke){return typeof Ke=="string"||typeof Ke=="number"}var Vr=function(ze,en){var Zt=G(),Tn=Zt.prefixCls,hn=Zt.id,Un=Zt.open,Hn=Zt.multiple,kn=Zt.mode,cr=Zt.searchValue,Ln=Zt.toggleOpen,qn=Zt.notFoundContent,sr=Zt.onPopupScroll,Kn=s.useContext(Xn),ur=Kn.flattenOptions,ir=Kn.onActiveValue,Gr=Kn.defaultActiveFirstOption,Er=Kn.onSelect,Qn=Kn.menuItemSelectedIcon,gt=Kn.rawValues,Ft=Kn.fieldNames,Qt=Kn.virtual,Xt=Kn.direction,Wt=Kn.listHeight,Pn=Kn.listItemHeight,wn="".concat(Tn,"-item"),ar=(0,gn.Z)(function(){return ur},[Un,ur],function(Cr,Wn){return Wn[0]&&Cr[1]!==Wn[1]}),wr=s.useRef(null),Nr=function(Wn){Wn.preventDefault()},ni=function(Wn){wr.current&&wr.current.scrollTo(typeof Wn=="number"?{index:Wn}:Wn)},Mr=function(Wn){for(var Fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Lr=ar.length,Ur=0;Ur<Lr;Ur+=1){var Zr=(Wn+Ur*Fn+Lr)%Lr,wi=ar[Zr],Vi=wi.group,zo=wi.data;if(!Vi&&!zo.disabled)return Zr}return-1},Xr=s.useState(function(){return Mr(0)}),Ht=(0,R.Z)(Xr,2),Zn=Ht[0],or=Ht[1],Sr=function(Wn){var Fn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;or(Wn);var Lr={source:Fn?"keyboard":"mouse"},Ur=ar[Wn];if(!Ur){ir(null,-1,Lr);return}ir(Ur.value,Wn,Lr)};(0,s.useEffect)(function(){Sr(Gr!==!1?Mr(0):-1)},[ar.length,cr]);var Rr=s.useCallback(function(Cr){return gt.has(Cr)&&kn!=="combobox"},[kn,(0,fe.Z)(gt).toString(),gt.size]);(0,s.useEffect)(function(){var Cr=setTimeout(function(){if(!Hn&&Un&>.size===1){var Fn=Array.from(gt)[0],Lr=ar.findIndex(function(Ur){var Zr=Ur.data;return Zr.value===Fn});Lr!==-1&&(Sr(Lr),ni(Lr))}});if(Un){var Wn;(Wn=wr.current)===null||Wn===void 0||Wn.scrollTo(void 0)}return function(){return clearTimeout(Cr)}},[Un,cr,ur.length]);var Yn=function(Wn){Wn!==void 0&&Er(Wn,{selected:!gt.has(Wn)}),Hn||Ln(!1)};if(s.useImperativeHandle(en,function(){return{onKeyDown:function(Wn){var Fn=Wn.which,Lr=Wn.ctrlKey;switch(Fn){case _.Z.N:case _.Z.P:case _.Z.UP:case _.Z.DOWN:{var Ur=0;if(Fn===_.Z.UP?Ur=-1:Fn===_.Z.DOWN?Ur=1:zr()&&Lr&&(Fn===_.Z.N?Ur=1:Fn===_.Z.P&&(Ur=-1)),Ur!==0){var Zr=Mr(Zn+Ur,Ur);ni(Zr),Sr(Zr,!0)}break}case _.Z.ENTER:{var wi=ar[Zn];wi&&!wi.data.disabled?Yn(wi.value):Yn(void 0),Un&&Wn.preventDefault();break}case _.Z.ESC:Ln(!1),Un&&Wn.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Wn){ni(Wn)}}}),ar.length===0)return s.createElement("div",{role:"listbox",id:"".concat(hn,"_list"),className:"".concat(wn,"-empty"),onMouseDown:Nr},qn);var hr=Object.keys(Ft).map(function(Cr){return Ft[Cr]}),jr=function(Wn){return Wn.label};function kr(Cr,Wn){var Fn=Cr.group;return{role:Fn?"presentation":"option",id:"".concat(hn,"_list_").concat(Wn)}}var ei=function(Wn){var Fn=ar[Wn];if(!Fn)return null;var Lr=Fn.data||{},Ur=Lr.value,Zr=Fn.group,wi=(0,K.Z)(Lr,!0),Vi=jr(Fn);return Fn?s.createElement("div",(0,ye.Z)({"aria-label":typeof Vi=="string"&&!Zr?Vi:null},wi,{key:Wn},kr(Fn,Wn),{"aria-selected":Rr(Ur)}),Ur):null},Ji={role:"listbox",id:"".concat(hn,"_list")};return s.createElement(s.Fragment,null,Qt&&s.createElement("div",(0,ye.Z)({},Ji,{style:{height:0,width:0,overflow:"hidden"}}),ei(Zn-1),ei(Zn),ei(Zn+1)),s.createElement(Jn.Z,{itemKey:"key",ref:wr,data:ar,height:Wt,itemHeight:Pn,fullHeight:!1,onMouseDown:Nr,onScroll:sr,virtual:Qt,direction:Xt,innerProps:Qt?null:Ji},function(Cr,Wn){var Fn,Lr=Cr.group,Ur=Cr.groupOption,Zr=Cr.data,wi=Cr.label,Vi=Cr.value,zo=Zr.key;if(Lr){var uo,Fo=(uo=Zr.title)!==null&&uo!==void 0?uo:yn(wi)?wi.toString():void 0;return s.createElement("div",{className:S()(wn,"".concat(wn,"-group")),title:Fo},wi!==void 0?wi:zo)}var Ir=Zr.disabled,dr=Zr.title,Ai=Zr.children,Ii=Zr.style,so=Zr.className,Za=(0,$.Z)(Zr,pi),bo=(0,Sn.Z)(Za,hr),Zo=Rr(Vi),Jo="".concat(wn,"-option"),ja=S()(wn,Jo,so,(Fn={},(0,H.Z)(Fn,"".concat(Jo,"-grouped"),Ur),(0,H.Z)(Fn,"".concat(Jo,"-active"),Zn===Wn&&!Ir),(0,H.Z)(Fn,"".concat(Jo,"-disabled"),Ir),(0,H.Z)(Fn,"".concat(Jo,"-selected"),Zo),Fn)),Na=jr(Cr),lA=!Qn||typeof Qn=="function"||Zo,Xo=typeof Na=="number"?Na:Na||Vi,La=yn(Xo)?Xo.toString():void 0;return dr!==void 0&&(La=dr),s.createElement("div",(0,ye.Z)({},(0,K.Z)(bo),Qt?{}:kr(Cr,Wn),{"aria-selected":Zo,className:ja,title:La,onMouseMove:function(){Zn===Wn||Ir||Sr(Wn)},onClick:function(){Ir||Yn(Vi)},style:Ii}),s.createElement("div",{className:"".concat(Jo,"-content")},Xo),s.isValidElement(Qn)||Zo,lA&&s.createElement(Q,{className:"".concat(wn,"-option-state"),customizeIcon:Qn,customizeIconProps:{isSelected:Zo}},Zo?"\u2713":null))}))},Nt=s.forwardRef(Vr);Nt.displayName="OptionList";var qr=Nt;function Yi(Ke){var ze=Ke.mode,en=Ke.options,Zt=Ke.children,Tn=Ke.backfill,hn=Ke.allowClear,Un=Ke.placeholder,Hn=Ke.getInputElement,kn=Ke.showSearch,cr=Ke.onSearch,Ln=Ke.defaultOpen,qn=Ke.autoFocus,sr=Ke.labelInValue,Kn=Ke.value,ur=Ke.inputValue,ir=Ke.optionLabelProp,Gr=isMultiple(ze),Er=kn!==void 0?kn:Gr||ze==="combobox",Qn=en||convertChildrenToData(Zt);if(warning(ze!=="tags"||Qn.every(function(Xt){return!Xt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ze==="tags"||ze==="combobox"){var gt=Qn.some(function(Xt){return Xt.options?Xt.options.some(function(Wt){return typeof("value"in Wt?Wt.value:Wt.key)=="number"}):typeof("value"in Xt?Xt.value:Xt.key)=="number"});warning(!gt,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(ze!=="combobox"||!ir,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(ze==="combobox"||!Tn,"`backfill` only works with `combobox` mode."),warning(ze==="combobox"||!Hn,"`getInputElement` only work with `combobox` mode."),noteOnce(ze!=="combobox"||!Hn||!hn||!Un,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),cr&&!Er&&ze!=="combobox"&&ze!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Ln||qn,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),Kn!=null){var Ft=toArray(Kn);warning(!sr||Ft.every(function(Xt){return _typeof(Xt)==="object"&&("key"in Xt||"value"in Xt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Gr||Array.isArray(Kn),"`value` should be array when `mode` is `multiple` or `tags`")}if(Zt){var Qt=null;toNodeArray(Zt).some(function(Xt){if(!React.isValidElement(Xt)||!Xt.type)return!1;var Wt=Xt,Pn=Wt.type;if(Pn.isSelectOption)return!1;if(Pn.isSelectOptGroup){var wn=toNodeArray(Xt.props.children).every(function(ar){return!React.isValidElement(ar)||!Xt.type||ar.type.isSelectOption?!0:(Qt=ar.type,!1)});return!wn}return Qt=Pn,!0}),Qt&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Qt.displayName||Qt.name||Qt,"`.")),warning(ur===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function bi(Ke,ze){if(Ke){var en=function Zt(Tn){for(var hn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Un=0;Un<Tn.length;Un++){var Hn=Tn[Un];if(Hn[ze==null?void 0:ze.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!hn&&Array.isArray(Hn[ze==null?void 0:ze.options])&&Zt(Hn[ze==null?void 0:ze.options],!0))break}};en(Ke)}}var Pi=null,Io=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Ni=["inputValue"];function Qr(Ke){return!Ke||(0,v.Z)(Ke)!=="object"}var Ei=s.forwardRef(function(Ke,ze){var en=Ke.id,Zt=Ke.mode,Tn=Ke.prefixCls,hn=Tn===void 0?"rc-select":Tn,Un=Ke.backfill,Hn=Ke.fieldNames,kn=Ke.inputValue,cr=Ke.searchValue,Ln=Ke.onSearch,qn=Ke.autoClearSearchValue,sr=qn===void 0?!0:qn,Kn=Ke.onSelect,ur=Ke.onDeselect,ir=Ke.dropdownMatchSelectWidth,Gr=ir===void 0?!0:ir,Er=Ke.filterOption,Qn=Ke.filterSort,gt=Ke.optionFilterProp,Ft=Ke.optionLabelProp,Qt=Ke.options,Xt=Ke.children,Wt=Ke.defaultActiveFirstOption,Pn=Ke.menuItemSelectedIcon,wn=Ke.virtual,ar=Ke.direction,wr=Ke.listHeight,Nr=wr===void 0?200:wr,ni=Ke.listItemHeight,Mr=ni===void 0?20:ni,Xr=Ke.value,Ht=Ke.defaultValue,Zn=Ke.labelInValue,or=Ke.onChange,Sr=(0,$.Z)(Ke,Io),Rr=(0,Te.ZP)(en),Yn=Ae(Zt),hr=!!(!Qt&&Xt),jr=s.useMemo(function(){return Er===void 0&&Zt==="combobox"?!1:Er},[Er,Zt]),kr=s.useMemo(function(){return p(Hn,hr)},[JSON.stringify(Hn),hr]),ei=(0,m.Z)("",{value:cr!==void 0?cr:kn,postState:function(Di){return Di||""}}),Ji=(0,R.Z)(ei,2),Cr=Ji[0],Wn=Ji[1],Fn=Tt(Qt,Xt,kr,gt,Ft),Lr=Fn.valueOptions,Ur=Fn.labelOptions,Zr=Fn.options,wi=s.useCallback(function(Hr){var Di=Ue(Hr);return Di.map(function(Bi){var Li,po,qo,wA,Wa;if(Qr(Bi))Li=Bi;else{var Ha;qo=Bi.key,po=Bi.label,Li=(Ha=Bi.value)!==null&&Ha!==void 0?Ha:qo}var Va=Lr.get(Li);if(Va){var Ns;if(po===void 0&&(po=Va==null?void 0:Va[Ft||kr.label]),qo===void 0&&(qo=(Ns=Va==null?void 0:Va.key)!==null&&Ns!==void 0?Ns:Li),wA=Va==null?void 0:Va.disabled,Wa=Va==null?void 0:Va.title,0)var Ls}return{label:po,value:Li,key:qo,disabled:wA,title:Wa}})},[kr,Ft,Lr]),Vi=(0,m.Z)(Ht,{value:Xr}),zo=(0,R.Z)(Vi,2),uo=zo[0],Fo=zo[1],Ir=s.useMemo(function(){var Hr,Di=wi(uo);return Zt==="combobox"&&de((Hr=Di[0])===null||Hr===void 0?void 0:Hr.value)?[]:Di},[uo,wi,Zt]),dr=Ge(Ir,Lr),Ai=(0,R.Z)(dr,2),Ii=Ai[0],so=Ai[1],Za=s.useMemo(function(){if(!Zt&&Ii.length===1){var Hr=Ii[0];if(Hr.value===null&&(Hr.label===null||Hr.label===void 0))return[]}return Ii.map(function(Di){var Bi;return(0,be.Z)((0,be.Z)({},Di),{},{label:(Bi=Di.label)!==null&&Bi!==void 0?Bi:Di.value})})},[Zt,Ii]),bo=s.useMemo(function(){return new Set(Ii.map(function(Hr){return Hr.value}))},[Ii]);s.useEffect(function(){if(Zt==="combobox"){var Hr,Di=(Hr=Ii[0])===null||Hr===void 0?void 0:Hr.value;Wn(we(Di)?String(Di):"")}},[Ii]);var Zo=sn(function(Hr,Di){var Bi,Li=Di!=null?Di:Hr;return Bi={},(0,H.Z)(Bi,kr.value,Hr),(0,H.Z)(Bi,kr.label,Li),Bi}),Jo=s.useMemo(function(){if(Zt!=="tags")return Zr;var Hr=(0,fe.Z)(Zr),Di=function(Li){return Lr.has(Li)};return(0,fe.Z)(Ii).sort(function(Bi,Li){return Bi.value<Li.value?-1:1}).forEach(function(Bi){var Li=Bi.value;Di(Li)||Hr.push(Zo(Li,Bi.label))}),Hr},[Zo,Zr,Lr,Ii,Zt]),ja=He(Jo,kr,Cr,jr,gt),Na=s.useMemo(function(){return Zt!=="tags"||!Cr||ja.some(function(Hr){return Hr[gt||"value"]===Cr})||ja.some(function(Hr){return Hr[kr.value]===Cr})?ja:[Zo(Cr)].concat((0,fe.Z)(ja))},[Zo,gt,Zt,ja,Cr,kr]),lA=s.useMemo(function(){return Qn?(0,fe.Z)(Na).sort(function(Hr,Di){return Qn(Hr,Di)}):Na},[Na,Qn]),Xo=s.useMemo(function(){return M(lA,{fieldNames:kr,childrenAsData:hr})},[lA,kr,hr]),La=function(Di){var Bi=wi(Di);if(Fo(Bi),or&&(Bi.length!==Ii.length||Bi.some(function(qo,wA){var Wa;return((Wa=Ii[wA])===null||Wa===void 0?void 0:Wa.value)!==(qo==null?void 0:qo.value)}))){var Li=Zn?Bi:Bi.map(function(qo){return qo.value}),po=Bi.map(function(qo){return re(so(qo.value))});or(Yn?Li:Li[0],Yn?po:po[0])}},cA=s.useState(null),vA=(0,R.Z)(cA,2),_a=vA[0],da=vA[1],qa=s.useState(0),GA=(0,R.Z)(qa,2),NA=GA[0],ms=GA[1],Is=Wt!==void 0?Wt:Zt!=="combobox",Fs=s.useCallback(function(Hr,Di){var Bi=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Li=Bi.source,po=Li===void 0?"keyboard":Li;ms(Di),Un&&Zt==="combobox"&&Hr!==null&&po==="keyboard"&&da(String(Hr))},[Un,Zt]),yA=function(Di,Bi,Li){var po=function(){var LA,pA=so(Di);return[Zn?{label:pA==null?void 0:pA[kr.label],value:Di,key:(LA=pA==null?void 0:pA.key)!==null&&LA!==void 0?LA:Di}:Di,re(pA)]};if(Bi&&Kn){var qo=po(),wA=(0,R.Z)(qo,2),Wa=wA[0],Ha=wA[1];Kn(Wa,Ha)}else if(!Bi&&ur&&Li!=="clear"){var Va=po(),Ns=(0,R.Z)(Va,2),Ls=Ns[0],bl=Ns[1];ur(Ls,bl)}},Ys=sn(function(Hr,Di){var Bi,Li=Yn?Di.selected:!0;Li?Bi=Yn?[].concat((0,fe.Z)(Ii),[Hr]):[Hr]:Bi=Ii.filter(function(po){return po.value!==Hr}),La(Bi),yA(Hr,Li),Zt==="combobox"?da(""):(!Ae||sr)&&(Wn(""),da(""))}),Us=function(Di,Bi){La(Di);var Li=Bi.type,po=Bi.values;(Li==="remove"||Li==="clear")&&po.forEach(function(qo){yA(qo.value,!1,Li)})},Os=function(Di,Bi){if(Wn(Di),da(null),Bi.source==="submit"){var Li=(Di||"").trim();if(Li){var po=Array.from(new Set([].concat((0,fe.Z)(bo),[Li])));La(po),yA(Li,!0),Wn("")}return}Bi.source!=="blur"&&(Zt==="combobox"&&La(Di),Ln==null||Ln(Di))},jA=function(Di){var Bi=Di;Zt!=="tags"&&(Bi=Di.map(function(po){var qo=Ur.get(po);return qo==null?void 0:qo.value}).filter(function(po){return po!==void 0}));var Li=Array.from(new Set([].concat((0,fe.Z)(bo),(0,fe.Z)(Bi))));La(Li),Li.forEach(function(po){yA(po,!0)})},wa=s.useMemo(function(){var Hr=wn!==!1&&Gr!==!1;return(0,be.Z)((0,be.Z)({},Fn),{},{flattenOptions:Xo,onActiveValue:Fs,defaultActiveFirstOption:Is,onSelect:Ys,menuItemSelectedIcon:Pn,rawValues:bo,fieldNames:kr,virtual:Hr,direction:ar,listHeight:Nr,listItemHeight:Mr,childrenAsData:hr})},[Fn,Xo,Fs,Is,Ys,Pn,bo,kr,wn,Gr,Nr,Mr,hr]);return s.createElement(Xn.Provider,{value:wa},s.createElement(Se,(0,ye.Z)({},Sr,{id:Rr,prefixCls:hn,ref:ze,omitDomProps:Ni,mode:Zt,displayValues:Za,onDisplayValuesChange:Us,direction:ar,searchValue:Cr,onSearch:Os,autoClearSearchValue:sr,onSearchSplit:jA,dropdownMatchSelectWidth:Gr,OptionList:qr,emptyOptions:!Xo.length,activeValue:_a,activeDescendantId:"".concat(Rr,"_list_").concat(NA)})))}),nt=Ei;nt.Option=qt,nt.OptGroup=pn;var Jt=nt,An=Jt},9296:function(tr,Ct,h){"use strict";h.r(Ct),h.d(Ct,{ResizableTextArea:function(){return he},default:function(){return de}});var ye=h(54476),fe=h(33885),H=h(20068),be=h(76190),R=h(42978),$=h(75931),v=h(94480),m=h(92310),N=h.n(m),s=h(93681),L=h(5643),S=h(18929),w=h(59301),x=h(29301),_=h(34280),B=h(16089),W=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important;
|
|
|
pointer-events: none !important;
|
|
|
`,Q=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],q={},Y;function G(Be){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ve=Be.getAttribute("id")||Be.getAttribute("data-reactid")||Be.getAttribute("name");if(ne&&q[ve])return q[ve];var ee=window.getComputedStyle(Be),se=ee.getPropertyValue("box-sizing")||ee.getPropertyValue("-moz-box-sizing")||ee.getPropertyValue("-webkit-box-sizing"),je=parseFloat(ee.getPropertyValue("padding-bottom"))+parseFloat(ee.getPropertyValue("padding-top")),Pe=parseFloat(ee.getPropertyValue("border-bottom-width"))+parseFloat(ee.getPropertyValue("border-top-width")),Oe=Q.map(function(mt){return"".concat(mt,":").concat(ee.getPropertyValue(mt))}).join(";"),ut={sizingStyle:Oe,paddingSize:je,borderSize:Pe,boxSizing:se};return ne&&ve&&(q[ve]=ut),ut}function D(Be){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Y||(Y=document.createElement("textarea"),Y.setAttribute("tab-index","-1"),Y.setAttribute("aria-hidden","true"),document.body.appendChild(Y)),Be.getAttribute("wrap")?Y.setAttribute("wrap",Be.getAttribute("wrap")):Y.removeAttribute("wrap");var se=G(Be,ne),je=se.paddingSize,Pe=se.borderSize,Oe=se.boxSizing,ut=se.sizingStyle;Y.setAttribute("style","".concat(ut,";").concat(W)),Y.value=Be.value||Be.placeholder||"";var mt=void 0,Ot=void 0,Ee,kt=Y.scrollHeight;if(Oe==="border-box"?kt+=Pe:Oe==="content-box"&&(kt-=je),ve!==null||ee!==null){Y.value=" ";var Rt=Y.scrollHeight-je;ve!==null&&(mt=Rt*ve,Oe==="border-box"&&(mt=mt+je+Pe),kt=Math.max(mt,kt)),ee!==null&&(Ot=Rt*ee,Oe==="border-box"&&(Ot=Ot+je+Pe),Ee=kt>Ot?"":"hidden",kt=Math.min(Ot,kt))}var on={height:kt,overflowY:Ee,resize:"none"};return mt&&(on.minHeight=mt),Ot&&(on.maxHeight=Ot),on}var O=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],J=0,K=1,le=2,ae=w.forwardRef(function(Be,ne){var ve=Be,ee=ve.prefixCls,se=ve.onPressEnter,je=ve.defaultValue,Pe=ve.value,Oe=ve.autoSize,ut=ve.onResize,mt=ve.className,Ot=ve.style,Ee=ve.disabled,kt=ve.onChange,Rt=ve.onInternalAutoSize,on=(0,$.Z)(ve,O),Mt=(0,S.Z)(je,{value:Pe,postState:function(pn){return pn!=null?pn:""}}),T=(0,R.Z)(Mt,2),Ye=T[0],E=T[1],u=function(pn){E(pn.target.value),kt==null||kt(pn)},a=w.useRef();w.useImperativeHandle(ne,function(){return{textArea:a.current}});var p=w.useMemo(function(){return Oe&&(0,be.Z)(Oe)==="object"?[Oe.minRows,Oe.maxRows]:[]},[Oe]),M=(0,R.Z)(p,2),re=M[0],C=M[1],j=!!Oe,me=function(){try{if(document.activeElement===a.current){var pn=a.current,mn=pn.selectionStart,qt=pn.selectionEnd,gn=pn.scrollTop;a.current.setSelectionRange(mn,qt),a.current.scrollTop=gn}}catch(Sn){}},Ae=w.useState(le),ie=(0,R.Z)(Ae,2),Se=ie[0],Ge=ie[1],xe=w.useState(),He=(0,R.Z)(xe,2),Te=He[0],pe=He[1],ge=function(){Ge(J)};(0,_.Z)(function(){j&&ge()},[Pe,re,C,j]),(0,_.Z)(function(){if(Se===J)Ge(K);else if(Se===K){var tn=D(a.current,!1,re,C);Ge(le),pe(tn)}else me()},[Se]);var Ve=w.useRef(),yt=function(){B.Z.cancel(Ve.current)},ht=function(pn){Se===le&&(ut==null||ut(pn),Oe&&(yt(),Ve.current=(0,B.Z)(function(){ge()})))};w.useEffect(function(){return yt},[]);var Tt=j?Te:null,sn=(0,fe.Z)((0,fe.Z)({},Ot),Tt);return(Se===J||Se===K)&&(sn.overflowY="hidden",sn.overflowX="hidden"),w.createElement(x.Z,{onResize:ht,disabled:!(Oe||ut)},w.createElement("textarea",(0,ye.Z)({},on,{ref:a,style:sn,className:N()(ee,mt,(0,H.Z)({},"".concat(ee,"-disabled"),Ee)),disabled:Ee,value:Ye,onChange:u})))}),he=ae,k=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function Ue(Be,ne){return(0,v.Z)(Be||"").slice(0,ne).join("")}function F(Be,ne,ve,ee){var se=ve;return Be?se=Ue(ve,ee):(0,v.Z)(ne||"").length<ve.length&&(0,v.Z)(ve||"").length>ee&&(se=ne),se}var De=w.forwardRef(function(Be,ne){var ve,ee=Be.defaultValue,se=Be.value,je=Be.onFocus,Pe=Be.onBlur,Oe=Be.onChange,ut=Be.allowClear,mt=Be.maxLength,Ot=Be.onCompositionStart,Ee=Be.onCompositionEnd,kt=Be.suffix,Rt=Be.prefixCls,on=Rt===void 0?"rc-textarea":Rt,Mt=Be.classes,T=Be.showCount,Ye=Be.className,E=Be.style,u=Be.disabled,a=Be.hidden,p=Be.classNames,M=Be.styles,re=Be.onResize,C=(0,$.Z)(Be,k),j=(0,S.Z)(ee,{value:se,defaultValue:ee}),me=(0,R.Z)(j,2),Ae=me[0],ie=me[1],Se=(0,w.useRef)(null),Ge=w.useState(!1),xe=(0,R.Z)(Ge,2),He=xe[0],Te=xe[1],pe=w.useState(!1),ge=(0,R.Z)(pe,2),Ve=ge[0],yt=ge[1],ht=w.useRef(),Tt=w.useRef(0),sn=w.useState(null),tn=(0,R.Z)(sn,2),pn=tn[0],mn=tn[1],qt=function(){var Qr;(Qr=Se.current)===null||Qr===void 0||Qr.textArea.focus()};(0,w.useImperativeHandle)(ne,function(){return{resizableTextArea:Se.current,focus:qt,blur:function(){var Qr;(Qr=Se.current)===null||Qr===void 0||Qr.textArea.blur()}}}),(0,w.useEffect)(function(){Te(function(Ni){return!u&&Ni})},[u]);var gn=Number(mt)>0,Sn=function(Qr){yt(!0),ht.current=Ae,Tt.current=Qr.currentTarget.selectionStart,Ot==null||Ot(Qr)},Jn=function(Qr){yt(!1);var Ei=Qr.currentTarget.value;if(gn){var nt,Jt=Tt.current>=mt+1||Tt.current===((nt=ht.current)===null||nt===void 0?void 0:nt.length);Ei=F(Jt,ht.current,Ei,mt)}Ei!==Ae&&(ie(Ei),(0,L.rJ)(Qr.currentTarget,Qr,Oe,Ei)),Ee==null||Ee(Qr)},Br=function(Qr){var Ei=Qr.target.value;if(!Ve&&gn){var nt=Qr.target.selectionStart>=mt+1||Qr.target.selectionStart===Ei.length||!Qr.target.selectionStart;Ei=F(nt,Ae,Ei,mt)}ie(Ei),(0,L.rJ)(Qr.currentTarget,Qr,Oe,Ei)},Xn=function(Qr){var Ei=C.onPressEnter,nt=C.onKeyDown;Qr.key==="Enter"&&Ei&&Ei(Qr),nt==null||nt(Qr)},zr=function(Qr){Te(!0),je==null||je(Qr)},pi=function(Qr){Te(!1),Pe==null||Pe(Qr)},yn=function(Qr){var Ei;ie(""),qt(),(0,L.rJ)((Ei=Se.current)===null||Ei===void 0?void 0:Ei.textArea,Qr,Oe)},Vr=(0,L.D7)(Ae);!Ve&&gn&&se==null&&(Vr=Ue(Vr,mt));var Nt=kt,qr;if(T){var Yi=(0,v.Z)(Vr).length;(0,be.Z)(T)==="object"?qr=T.formatter({value:Vr,count:Yi,maxLength:mt}):qr="".concat(Yi).concat(gn?" / ".concat(mt):""),Nt=w.createElement(w.Fragment,null,Nt,w.createElement("span",{className:N()("".concat(on,"-data-count"),p==null?void 0:p.count),style:M==null?void 0:M.count},qr))}var bi=function(Qr){var Ei;re==null||re(Qr),(Ei=Se.current)!==null&&Ei!==void 0&&Ei.textArea.style.height&&mn(!0)},Pi=!C.autoSize&&!T&&!ut,Io=w.createElement(s.BaseInput,{value:Vr,allowClear:ut,handleReset:yn,suffix:Nt,prefixCls:on,classes:{affixWrapper:N()(Mt==null?void 0:Mt.affixWrapper,(ve={},(0,H.Z)(ve,"".concat(on,"-show-count"),T),(0,H.Z)(ve,"".concat(on,"-textarea-allow-clear"),ut),ve))},disabled:u,focused:He,className:Ye,style:(0,fe.Z)((0,fe.Z)({},E),pn&&!Pi?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof qr=="string"?qr:void 0}},hidden:a,inputElement:w.createElement(he,(0,ye.Z)({},C,{onKeyDown:Xn,onChange:Br,onFocus:zr,onBlur:pi,onCompositionStart:Sn,onCompositionEnd:Jn,className:p==null?void 0:p.textarea,style:(0,fe.Z)((0,fe.Z)({},M==null?void 0:M.textarea),{},{resize:E==null?void 0:E.resize}),disabled:u,prefixCls:on,onResize:bi,ref:Se}))});return Io}),we=De,de=we},39417:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return K}});var ye=h(54476),fe=h(20068),H=h(75931),be=h(33885),R=h(67732),$=h(83652),v=h(31226),m=h(42403),N=h(158),s=h(92310),L=h.n(s),S=h(26112),w=h(59301),x=h(39378),_=function(ae){for(var he=ae.prefixCls,k=ae.level,Ue=ae.isStart,F=ae.isEnd,De="".concat(he,"-indent-unit"),we=[],de=0;de<k;de+=1){var Be;we.push(w.createElement("span",{key:de,className:L()(De,(Be={},(0,fe.Z)(Be,"".concat(De,"-start"),Ue[de]),(0,fe.Z)(Be,"".concat(De,"-end"),F[de]),Be))}))}return w.createElement("span",{"aria-hidden":"true",className:"".concat(he,"-indent")},we)},B=w.memo(_),W=h(67841),Q=h(71430),q=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],Y="open",G="close",D="---",O=function(le){(0,m.Z)(he,le);var ae=(0,N.Z)(he);function he(){var k;(0,R.Z)(this,he);for(var Ue=arguments.length,F=new Array(Ue),De=0;De<Ue;De++)F[De]=arguments[De];return k=ae.call.apply(ae,[this].concat(F)),k.state={dragNodeHighlight:!1},k.selectHandle=void 0,k.cacheIndent=void 0,k.onSelectorClick=function(we){var de=k.props.context.onNodeClick;de(we,(0,Q.F)(k.props)),k.isSelectable()?k.onSelect(we):k.onCheck(we)},k.onSelectorDoubleClick=function(we){var de=k.props.context.onNodeDoubleClick;de(we,(0,Q.F)(k.props))},k.onSelect=function(we){if(!k.isDisabled()){var de=k.props.context.onNodeSelect;de(we,(0,Q.F)(k.props))}},k.onCheck=function(we){if(!k.isDisabled()){var de=k.props,Be=de.disableCheckbox,ne=de.checked,ve=k.props.context.onNodeCheck;if(!(!k.isCheckable()||Be)){var ee=!ne;ve(we,(0,Q.F)(k.props),ee)}}},k.onMouseEnter=function(we){var de=k.props.context.onNodeMouseEnter;de(we,(0,Q.F)(k.props))},k.onMouseLeave=function(we){var de=k.props.context.onNodeMouseLeave;de(we,(0,Q.F)(k.props))},k.onContextMenu=function(we){var de=k.props.context.onNodeContextMenu;de(we,(0,Q.F)(k.props))},k.onDragStart=function(we){var de=k.props.context.onNodeDragStart;we.stopPropagation(),k.setState({dragNodeHighlight:!0}),de(we,(0,v.Z)(k));try{we.dataTransfer.setData("text/plain","")}catch(Be){}},k.onDragEnter=function(we){var de=k.props.context.onNodeDragEnter;we.preventDefault(),we.stopPropagation(),de(we,(0,v.Z)(k))},k.onDragOver=function(we){var de=k.props.context.onNodeDragOver;we.preventDefault(),we.stopPropagation(),de(we,(0,v.Z)(k))},k.onDragLeave=function(we){var de=k.props.context.onNodeDragLeave;we.stopPropagation(),de(we,(0,v.Z)(k))},k.onDragEnd=function(we){var de=k.props.context.onNodeDragEnd;we.stopPropagation(),k.setState({dragNodeHighlight:!1}),de(we,(0,v.Z)(k))},k.onDrop=function(we){var de=k.props.context.onNodeDrop;we.preventDefault(),we.stopPropagation(),k.setState({dragNodeHighlight:!1}),de(we,(0,v.Z)(k))},k.onExpand=function(we){var de=k.props,Be=de.loading,ne=de.context.onNodeExpand;Be||ne(we,(0,Q.F)(k.props))},k.setSelectHandle=function(we){k.selectHandle=we},k.getNodeState=function(){var we=k.props.expanded;return k.isLeaf()?null:we?Y:G},k.hasChildren=function(){var we=k.props.eventKey,de=k.props.context.keyEntities,Be=(0,W.Z)(de,we)||{},ne=Be.children;return!!(ne||[]).length},k.isLeaf=function(){var we=k.props,de=we.isLeaf,Be=we.loaded,ne=k.props.context.loadData,ve=k.hasChildren();return de===!1?!1:de||!ne&&!ve||ne&&Be&&!ve},k.isDisabled=function(){var we=k.props.disabled,de=k.props.context.disabled;return!!(de||we)},k.isCheckable=function(){var we=k.props.checkable,de=k.props.context.checkable;return!de||we===!1?!1:de},k.syncLoadData=function(we){var de=we.expanded,Be=we.loading,ne=we.loaded,ve=k.props.context,ee=ve.loadData,se=ve.onNodeLoad;Be||ee&&de&&!k.isLeaf()&&!k.hasChildren()&&!ne&&se((0,Q.F)(k.props))},k.isDraggable=function(){var we=k.props,de=we.data,Be=we.context.draggable;return!!(Be&&(!Be.nodeDraggable||Be.nodeDraggable(de)))},k.renderDragHandler=function(){var we=k.props.context,de=we.draggable,Be=we.prefixCls;return de!=null&&de.icon?w.createElement("span",{className:"".concat(Be,"-draggable-icon")},de.icon):null},k.renderSwitcherIconDom=function(we){var de=k.props.switcherIcon,Be=k.props.context.switcherIcon,ne=de||Be;return typeof ne=="function"?ne((0,be.Z)((0,be.Z)({},k.props),{},{isLeaf:we})):ne},k.renderSwitcher=function(){var we=k.props.expanded,de=k.props.context.prefixCls;if(k.isLeaf()){var Be=k.renderSwitcherIconDom(!0);return Be!==!1?w.createElement("span",{className:L()("".concat(de,"-switcher"),"".concat(de,"-switcher-noop"))},Be):null}var ne=L()("".concat(de,"-switcher"),"".concat(de,"-switcher_").concat(we?Y:G)),ve=k.renderSwitcherIconDom(!1);return ve!==!1?w.createElement("span",{onClick:k.onExpand,className:ne},ve):null},k.renderCheckbox=function(){var we=k.props,de=we.checked,Be=we.halfChecked,ne=we.disableCheckbox,ve=k.props.context.prefixCls,ee=k.isDisabled(),se=k.isCheckable();if(!se)return null;var je=typeof se!="boolean"?se:null;return w.createElement("span",{className:L()("".concat(ve,"-checkbox"),de&&"".concat(ve,"-checkbox-checked"),!de&&Be&&"".concat(ve,"-checkbox-indeterminate"),(ee||ne)&&"".concat(ve,"-checkbox-disabled")),onClick:k.onCheck},je)},k.renderIcon=function(){var we=k.props.loading,de=k.props.context.prefixCls;return w.createElement("span",{className:L()("".concat(de,"-iconEle"),"".concat(de,"-icon__").concat(k.getNodeState()||"docu"),we&&"".concat(de,"-icon_loading"))})},k.renderSelector=function(){var we=k.state.dragNodeHighlight,de=k.props,Be=de.title,ne=Be===void 0?D:Be,ve=de.selected,ee=de.icon,se=de.loading,je=de.data,Pe=k.props.context,Oe=Pe.prefixCls,ut=Pe.showIcon,mt=Pe.icon,Ot=Pe.loadData,Ee=Pe.titleRender,kt=k.isDisabled(),Rt="".concat(Oe,"-node-content-wrapper"),on;if(ut){var Mt=ee||mt;on=Mt?w.createElement("span",{className:L()("".concat(Oe,"-iconEle"),"".concat(Oe,"-icon__customize"))},typeof Mt=="function"?Mt(k.props):Mt):k.renderIcon()}else Ot&&se&&(on=k.renderIcon());var T;typeof ne=="function"?T=ne(je):Ee?T=Ee(je):T=ne;var Ye=w.createElement("span",{className:"".concat(Oe,"-title")},T);return w.createElement("span",{ref:k.setSelectHandle,title:typeof ne=="string"?ne:"",className:L()("".concat(Rt),"".concat(Rt,"-").concat(k.getNodeState()||"normal"),!kt&&(ve||we)&&"".concat(Oe,"-node-selected")),onMouseEnter:k.onMouseEnter,onMouseLeave:k.onMouseLeave,onContextMenu:k.onContextMenu,onClick:k.onSelectorClick,onDoubleClick:k.onSelectorDoubleClick},on,Ye,k.renderDropIndicator())},k.renderDropIndicator=function(){var we=k.props,de=we.disabled,Be=we.eventKey,ne=k.props.context,ve=ne.draggable,ee=ne.dropLevelOffset,se=ne.dropPosition,je=ne.prefixCls,Pe=ne.indent,Oe=ne.dropIndicatorRender,ut=ne.dragOverNodeKey,mt=ne.direction,Ot=!!ve,Ee=!de&&Ot&&ut===Be,kt=Pe!=null?Pe:k.cacheIndent;return k.cacheIndent=Pe,Ee?Oe({dropPosition:se,dropLevelOffset:ee,indent:kt,prefixCls:je,direction:mt}):null},k}return(0,$.Z)(he,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ue=this.props.selectable,F=this.props.context.selectable;return typeof Ue=="boolean"?Ue:F}},{key:"render",value:function(){var Ue,F=this.props,De=F.eventKey,we=F.className,de=F.style,Be=F.dragOver,ne=F.dragOverGapTop,ve=F.dragOverGapBottom,ee=F.isLeaf,se=F.isStart,je=F.isEnd,Pe=F.expanded,Oe=F.selected,ut=F.checked,mt=F.halfChecked,Ot=F.loading,Ee=F.domRef,kt=F.active,Rt=F.data,on=F.onMouseMove,Mt=F.selectable,T=(0,H.Z)(F,q),Ye=this.props.context,E=Ye.prefixCls,u=Ye.filterTreeNode,a=Ye.keyEntities,p=Ye.dropContainerKey,M=Ye.dropTargetKey,re=Ye.draggingNodeKey,C=this.isDisabled(),j=(0,S.Z)(T,{aria:!0,data:!0}),me=(0,W.Z)(a,De)||{},Ae=me.level,ie=je[je.length-1],Se=this.isDraggable(),Ge=!C&&Se,xe=re===De,He=Mt!==void 0?{"aria-selected":!!Mt}:void 0;return w.createElement("div",(0,ye.Z)({ref:Ee,className:L()(we,"".concat(E,"-treenode"),(Ue={},(0,fe.Z)(Ue,"".concat(E,"-treenode-disabled"),C),(0,fe.Z)(Ue,"".concat(E,"-treenode-switcher-").concat(Pe?"open":"close"),!ee),(0,fe.Z)(Ue,"".concat(E,"-treenode-checkbox-checked"),ut),(0,fe.Z)(Ue,"".concat(E,"-treenode-checkbox-indeterminate"),mt),(0,fe.Z)(Ue,"".concat(E,"-treenode-selected"),Oe),(0,fe.Z)(Ue,"".concat(E,"-treenode-loading"),Ot),(0,fe.Z)(Ue,"".concat(E,"-treenode-active"),kt),(0,fe.Z)(Ue,"".concat(E,"-treenode-leaf-last"),ie),(0,fe.Z)(Ue,"".concat(E,"-treenode-draggable"),Se),(0,fe.Z)(Ue,"dragging",xe),(0,fe.Z)(Ue,"drop-target",M===De),(0,fe.Z)(Ue,"drop-container",p===De),(0,fe.Z)(Ue,"drag-over",!C&&Be),(0,fe.Z)(Ue,"drag-over-gap-top",!C&&ne),(0,fe.Z)(Ue,"drag-over-gap-bottom",!C&&ve),(0,fe.Z)(Ue,"filter-node",u&&u((0,Q.F)(this.props))),Ue)),style:de,draggable:Ge,"aria-grabbed":xe,onDragStart:Ge?this.onDragStart:void 0,onDragEnter:Se?this.onDragEnter:void 0,onDragOver:Se?this.onDragOver:void 0,onDragLeave:Se?this.onDragLeave:void 0,onDrop:Se?this.onDrop:void 0,onDragEnd:Se?this.onDragEnd:void 0,onMouseMove:on},He,j),w.createElement(B,{prefixCls:E,level:Ae,isStart:se,isEnd:je}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),he}(w.Component),J=function(ae){return w.createElement(x.k.Consumer,null,function(he){return w.createElement(O,(0,ye.Z)({},ae,{context:he}))})};J.displayName="TreeNode",J.isTreeNode=1;var K=J},39378:function(tr,Ct,h){"use strict";h.d(Ct,{k:function(){return fe}});var ye=h(59301),fe=ye.createContext(null)},60091:function(tr,Ct,h){"use strict";h.d(Ct,{O:function(){return K.Z},Z:function(){return Ye}});var ye=h(54476),fe=h(20068),H=h(76190),be=h(33885),R=h(94480),$=h(67732),v=h(83652),m=h(31226),N=h(42403),s=h(158),L=h(92310),S=h.n(L),w=h(10228),x=h(26112),_=h(48736),B=h(59301),W=h(39378);function Q(E){var u=E.dropPosition,a=E.dropLevelOffset,p=E.indent,M={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(u){case-1:M.top=0,M.left=-a*p;break;case 1:M.bottom=0,M.left=-a*p;break;case 0:M.bottom=0,M.left=p;break}return B.createElement("div",{style:M})}function q(E){if(E==null)throw new TypeError("Cannot destructure "+E)}var Y=h(42978),G=h(75931),D=h(34280),O=h(48911),J=h(77900),K=h(39417);function le(E,u){var a=B.useState(!1),p=(0,Y.Z)(a,2),M=p[0],re=p[1];B.useLayoutEffect(function(){if(M)return E(),function(){u()}},[M]),B.useLayoutEffect(function(){return re(!0),function(){re(!1)}},[])}var ae=h(71430),he=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],k=function(u,a){var p=u.className,M=u.style,re=u.motion,C=u.motionNodes,j=u.motionType,me=u.onMotionStart,Ae=u.onMotionEnd,ie=u.active,Se=u.treeNodeRequiredProps,Ge=(0,G.Z)(u,he),xe=B.useState(!0),He=(0,Y.Z)(xe,2),Te=He[0],pe=He[1],ge=B.useContext(W.k),Ve=ge.prefixCls,yt=C&&j!=="hide";(0,D.Z)(function(){C&&yt!==Te&&pe(yt)},[C]);var ht=function(){C&&me()},Tt=B.useRef(!1),sn=function(){C&&!Tt.current&&(Tt.current=!0,Ae())};le(ht,sn);var tn=function(mn){yt===mn&&sn()};return C?B.createElement(J.default,(0,ye.Z)({ref:a,visible:Te},re,{motionAppear:j==="show",onVisibleChanged:tn}),function(pn,mn){var qt=pn.className,gn=pn.style;return B.createElement("div",{ref:mn,className:S()("".concat(Ve,"-treenode-motion"),qt),style:gn},C.map(function(Sn){var Jn=(0,ye.Z)({},(q(Sn.data),Sn.data)),Br=Sn.title,Xn=Sn.key,zr=Sn.isStart,pi=Sn.isEnd;delete Jn.children;var yn=(0,ae.H8)(Xn,Se);return B.createElement(K.Z,(0,ye.Z)({},Jn,yn,{title:Br,active:ie,data:Sn.data,key:Xn,isStart:zr,isEnd:pi}))}))}):B.createElement(K.Z,(0,ye.Z)({domRef:a,className:p,style:M},Ge,{active:ie}))};k.displayName="MotionTreeNode";var Ue=B.forwardRef(k),F=Ue;function De(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=E.length,p=u.length;if(Math.abs(a-p)!==1)return{add:!1,key:null};function M(re,C){var j=new Map;re.forEach(function(Ae){j.set(Ae,!0)});var me=C.filter(function(Ae){return!j.has(Ae)});return me.length===1?me[0]:null}return a<p?{add:!0,key:M(E,u)}:{add:!1,key:M(u,E)}}function we(E,u,a){var p=E.findIndex(function(j){return j.key===a}),M=E[p+1],re=u.findIndex(function(j){return j.key===a});if(M){var C=u.findIndex(function(j){return j.key===M.key});return u.slice(re+1,C)}return u.slice(re+1)}var de=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],Be={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},ne=function(){},ve="RC_TREE_MOTION_".concat(Math.random()),ee={key:ve},se={key:ve,level:0,index:0,pos:"0",node:ee,nodes:[ee]},je={parent:null,children:[],pos:se.pos,data:ee,title:null,key:ve,isStart:[],isEnd:[]};function Pe(E,u,a,p){return u===!1||!a?E:E.slice(0,Math.ceil(a/p)+1)}function Oe(E){var u=E.key,a=E.pos;return(0,ae.km)(u,a)}function ut(E){for(var u=String(E.data.key),a=E;a.parent;)a=a.parent,u="".concat(a.data.key," > ").concat(u);return u}var mt=B.forwardRef(function(E,u){var a=E.prefixCls,p=E.data,M=E.selectable,re=E.checkable,C=E.expandedKeys,j=E.selectedKeys,me=E.checkedKeys,Ae=E.loadedKeys,ie=E.loadingKeys,Se=E.halfCheckedKeys,Ge=E.keyEntities,xe=E.disabled,He=E.dragging,Te=E.dragOverNodeKey,pe=E.dropPosition,ge=E.motion,Ve=E.height,yt=E.itemHeight,ht=E.virtual,Tt=E.focusable,sn=E.activeItem,tn=E.focused,pn=E.tabIndex,mn=E.onKeyDown,qt=E.onFocus,gn=E.onBlur,Sn=E.onActiveChange,Jn=E.onListChangeStart,Br=E.onListChangeEnd,Xn=(0,G.Z)(E,de),zr=B.useRef(null),pi=B.useRef(null);B.useImperativeHandle(u,function(){return{scrollTo:function(qn){zr.current.scrollTo(qn)},getIndentWidth:function(){return pi.current.offsetWidth}}});var yn=B.useState(C),Vr=(0,Y.Z)(yn,2),Nt=Vr[0],qr=Vr[1],Yi=B.useState(p),bi=(0,Y.Z)(Yi,2),Pi=bi[0],Io=bi[1],Ni=B.useState(p),Qr=(0,Y.Z)(Ni,2),Ei=Qr[0],nt=Qr[1],Jt=B.useState([]),An=(0,Y.Z)(Jt,2),Ke=An[0],ze=An[1],en=B.useState(null),Zt=(0,Y.Z)(en,2),Tn=Zt[0],hn=Zt[1],Un=B.useRef(p);Un.current=p;function Hn(){var Ln=Un.current;Io(Ln),nt(Ln),ze([]),hn(null),Br()}(0,D.Z)(function(){qr(C);var Ln=De(Nt,C);if(Ln.key!==null)if(Ln.add){var qn=Pi.findIndex(function(Er){var Qn=Er.key;return Qn===Ln.key}),sr=Pe(we(Pi,p,Ln.key),ht,Ve,yt),Kn=Pi.slice();Kn.splice(qn+1,0,je),nt(Kn),ze(sr),hn("show")}else{var ur=p.findIndex(function(Er){var Qn=Er.key;return Qn===Ln.key}),ir=Pe(we(p,Pi,Ln.key),ht,Ve,yt),Gr=p.slice();Gr.splice(ur+1,0,je),nt(Gr),ze(ir),hn("hide")}else Pi!==p&&(Io(p),nt(p))},[C,p]),B.useEffect(function(){He||Hn()},[He]);var kn=ge?Ei:p,cr={expandedKeys:C,selectedKeys:j,loadedKeys:Ae,loadingKeys:ie,checkedKeys:me,halfCheckedKeys:Se,dragOverNodeKey:Te,dropPosition:pe,keyEntities:Ge};return B.createElement(B.Fragment,null,tn&&sn&&B.createElement("span",{style:Be,"aria-live":"assertive"},ut(sn)),B.createElement("div",null,B.createElement("input",{style:Be,disabled:Tt===!1||xe,tabIndex:Tt!==!1?pn:null,onKeyDown:mn,onFocus:qt,onBlur:gn,value:"",onChange:ne,"aria-label":"for screen reader"})),B.createElement("div",{className:"".concat(a,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},B.createElement("div",{className:"".concat(a,"-indent")},B.createElement("div",{ref:pi,className:"".concat(a,"-indent-unit")}))),B.createElement(O.Z,(0,ye.Z)({},Xn,{data:kn,itemKey:Oe,height:Ve,fullHeight:!1,virtual:ht,itemHeight:yt,prefixCls:"".concat(a,"-list"),ref:zr,onVisibleChange:function(qn,sr){var Kn=new Set(qn),ur=sr.filter(function(ir){return!Kn.has(ir)});ur.some(function(ir){return Oe(ir)===ve})&&Hn()}}),function(Ln){var qn=Ln.pos,sr=(0,ye.Z)({},(q(Ln.data),Ln.data)),Kn=Ln.title,ur=Ln.key,ir=Ln.isStart,Gr=Ln.isEnd,Er=(0,ae.km)(ur,qn);delete sr.key,delete sr.children;var Qn=(0,ae.H8)(Er,cr);return B.createElement(F,(0,ye.Z)({},sr,Qn,{title:Kn,active:!!sn&&ur===sn.key,pos:qn,data:Ln.data,isStart:ir,isEnd:Gr,motion:ge,motionNodes:ur===ve?Ke:null,motionType:Tn,onMotionStart:Jn,onMotionEnd:Hn,treeNodeRequiredProps:cr,onMouseMove:function(){Sn(null)}}))}))});mt.displayName="NodeList";var Ot=mt,Ee=h(35654),kt=h(90782),Rt=h(67841),on=10,Mt=function(E){(0,N.Z)(a,E);var u=(0,s.Z)(a);function a(){var p;(0,$.Z)(this,a);for(var M=arguments.length,re=new Array(M),C=0;C<M;C++)re[C]=arguments[C];return p=u.call.apply(u,[this].concat(re)),p.destroyed=!1,p.delayedDragEnterLogic=void 0,p.loadingRetryTimes={},p.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,ae.w$)()},p.dragStartMousePosition=null,p.dragNode=void 0,p.currentMouseOverDroppableNodeKey=null,p.listRef=B.createRef(),p.onNodeDragStart=function(j,me){var Ae=p.state,ie=Ae.expandedKeys,Se=Ae.keyEntities,Ge=p.props.onDragStart,xe=me.props.eventKey;p.dragNode=me,p.dragStartMousePosition={x:j.clientX,y:j.clientY};var He=(0,Ee._5)(ie,xe);p.setState({draggingNodeKey:xe,dragChildrenKeys:(0,Ee.wA)(xe,Se),indent:p.listRef.current.getIndentWidth()}),p.setExpandedKeys(He),window.addEventListener("dragend",p.onWindowDragEnd),Ge==null||Ge({event:j,node:(0,ae.F)(me.props)})},p.onNodeDragEnter=function(j,me){var Ae=p.state,ie=Ae.expandedKeys,Se=Ae.keyEntities,Ge=Ae.dragChildrenKeys,xe=Ae.flattenNodes,He=Ae.indent,Te=p.props,pe=Te.onDragEnter,ge=Te.onExpand,Ve=Te.allowDrop,yt=Te.direction,ht=me.props,Tt=ht.pos,sn=ht.eventKey,tn=(0,m.Z)(p),pn=tn.dragNode;if(p.currentMouseOverDroppableNodeKey!==sn&&(p.currentMouseOverDroppableNodeKey=sn),!pn){p.resetDragState();return}var mn=(0,Ee.OM)(j,pn,me,He,p.dragStartMousePosition,Ve,xe,Se,ie,yt),qt=mn.dropPosition,gn=mn.dropLevelOffset,Sn=mn.dropTargetKey,Jn=mn.dropContainerKey,Br=mn.dropTargetPos,Xn=mn.dropAllowed,zr=mn.dragOverNodeKey;if(Ge.indexOf(Sn)!==-1||!Xn){p.resetDragState();return}if(p.delayedDragEnterLogic||(p.delayedDragEnterLogic={}),Object.keys(p.delayedDragEnterLogic).forEach(function(pi){clearTimeout(p.delayedDragEnterLogic[pi])}),pn.props.eventKey!==me.props.eventKey&&(j.persist(),p.delayedDragEnterLogic[Tt]=window.setTimeout(function(){if(p.state.draggingNodeKey!==null){var pi=(0,R.Z)(ie),yn=(0,Rt.Z)(Se,me.props.eventKey);yn&&(yn.children||[]).length&&(pi=(0,Ee.L0)(ie,me.props.eventKey)),"expandedKeys"in p.props||p.setExpandedKeys(pi),ge==null||ge(pi,{node:(0,ae.F)(me.props),expanded:!0,nativeEvent:j.nativeEvent})}},800)),pn.props.eventKey===Sn&&gn===0){p.resetDragState();return}p.setState({dragOverNodeKey:zr,dropPosition:qt,dropLevelOffset:gn,dropTargetKey:Sn,dropContainerKey:Jn,dropTargetPos:Br,dropAllowed:Xn}),pe==null||pe({event:j,node:(0,ae.F)(me.props),expandedKeys:ie})},p.onNodeDragOver=function(j,me){var Ae=p.state,ie=Ae.dragChildrenKeys,Se=Ae.flattenNodes,Ge=Ae.keyEntities,xe=Ae.expandedKeys,He=Ae.indent,Te=p.props,pe=Te.onDragOver,ge=Te.allowDrop,Ve=Te.direction,yt=(0,m.Z)(p),ht=yt.dragNode;if(ht){var Tt=(0,Ee.OM)(j,ht,me,He,p.dragStartMousePosition,ge,Se,Ge,xe,Ve),sn=Tt.dropPosition,tn=Tt.dropLevelOffset,pn=Tt.dropTargetKey,mn=Tt.dropContainerKey,qt=Tt.dropAllowed,gn=Tt.dropTargetPos,Sn=Tt.dragOverNodeKey;ie.indexOf(pn)!==-1||!qt||(ht.props.eventKey===pn&&tn===0?p.state.dropPosition===null&&p.state.dropLevelOffset===null&&p.state.dropTargetKey===null&&p.state.dropContainerKey===null&&p.state.dropTargetPos===null&&p.state.dropAllowed===!1&&p.state.dragOverNodeKey===null||p.resetDragState():sn===p.state.dropPosition&&tn===p.state.dropLevelOffset&&pn===p.state.dropTargetKey&&mn===p.state.dropContainerKey&&gn===p.state.dropTargetPos&&qt===p.state.dropAllowed&&Sn===p.state.dragOverNodeKey||p.setState({dropPosition:sn,dropLevelOffset:tn,dropTargetKey:pn,dropContainerKey:mn,dropTargetPos:gn,dropAllowed:qt,dragOverNodeKey:Sn}),pe==null||pe({event:j,node:(0,ae.F)(me.props)}))}},p.onNodeDragLeave=function(j,me){p.currentMouseOverDroppableNodeKey===me.props.eventKey&&!j.currentTarget.contains(j.relatedTarget)&&(p.resetDragState(),p.currentMouseOverDroppableNodeKey=null);var Ae=p.props.onDragLeave;Ae==null||Ae({event:j,node:(0,ae.F)(me.props)})},p.onWindowDragEnd=function(j){p.onNodeDragEnd(j,null,!0),window.removeEventListener("dragend",p.onWindowDragEnd)},p.onNodeDragEnd=function(j,me){var Ae=p.props.onDragEnd;p.setState({dragOverNodeKey:null}),p.cleanDragState(),Ae==null||Ae({event:j,node:(0,ae.F)(me.props)}),p.dragNode=null,window.removeEventListener("dragend",p.onWindowDragEnd)},p.onNodeDrop=function(j,me){var Ae,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Se=p.state,Ge=Se.dragChildrenKeys,xe=Se.dropPosition,He=Se.dropTargetKey,Te=Se.dropTargetPos,pe=Se.dropAllowed;if(pe){var ge=p.props.onDrop;if(p.setState({dragOverNodeKey:null}),p.cleanDragState(),He!==null){var Ve=(0,be.Z)((0,be.Z)({},(0,ae.H8)(He,p.getTreeNodeRequiredProps())),{},{active:((Ae=p.getActiveItem())===null||Ae===void 0?void 0:Ae.key)===He,data:(0,Rt.Z)(p.state.keyEntities,He).node}),yt=Ge.indexOf(He)!==-1;(0,_.ZP)(!yt,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var ht=(0,Ee.yx)(Te),Tt={event:j,node:(0,ae.F)(Ve),dragNode:p.dragNode?(0,ae.F)(p.dragNode.props):null,dragNodesKeys:[p.dragNode.props.eventKey].concat(Ge),dropToGap:xe!==0,dropPosition:xe+Number(ht[ht.length-1])};ie||ge==null||ge(Tt),p.dragNode=null}}},p.cleanDragState=function(){var j=p.state.draggingNodeKey;j!==null&&p.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),p.dragStartMousePosition=null,p.currentMouseOverDroppableNodeKey=null},p.triggerExpandActionExpand=function(j,me){var Ae=p.state,ie=Ae.expandedKeys,Se=Ae.flattenNodes,Ge=me.expanded,xe=me.key,He=me.isLeaf;if(!(He||j.shiftKey||j.metaKey||j.ctrlKey)){var Te=Se.filter(function(ge){return ge.key===xe})[0],pe=(0,ae.F)((0,be.Z)((0,be.Z)({},(0,ae.H8)(xe,p.getTreeNodeRequiredProps())),{},{data:Te.data}));p.setExpandedKeys(Ge?(0,Ee._5)(ie,xe):(0,Ee.L0)(ie,xe)),p.onNodeExpand(j,pe)}},p.onNodeClick=function(j,me){var Ae=p.props,ie=Ae.onClick,Se=Ae.expandAction;Se==="click"&&p.triggerExpandActionExpand(j,me),ie==null||ie(j,me)},p.onNodeDoubleClick=function(j,me){var Ae=p.props,ie=Ae.onDoubleClick,Se=Ae.expandAction;Se==="doubleClick"&&p.triggerExpandActionExpand(j,me),ie==null||ie(j,me)},p.onNodeSelect=function(j,me){var Ae=p.state.selectedKeys,ie=p.state,Se=ie.keyEntities,Ge=ie.fieldNames,xe=p.props,He=xe.onSelect,Te=xe.multiple,pe=me.selected,ge=me[Ge.key],Ve=!pe;Ve?Te?Ae=(0,Ee.L0)(Ae,ge):Ae=[ge]:Ae=(0,Ee._5)(Ae,ge);var yt=Ae.map(function(ht){var Tt=(0,Rt.Z)(Se,ht);return Tt?Tt.node:null}).filter(function(ht){return ht});p.setUncontrolledState({selectedKeys:Ae}),He==null||He(Ae,{event:"select",selected:Ve,node:me,selectedNodes:yt,nativeEvent:j.nativeEvent})},p.onNodeCheck=function(j,me,Ae){var ie=p.state,Se=ie.keyEntities,Ge=ie.checkedKeys,xe=ie.halfCheckedKeys,He=p.props,Te=He.checkStrictly,pe=He.onCheck,ge=me.key,Ve,yt={event:"check",node:me,checked:Ae,nativeEvent:j.nativeEvent};if(Te){var ht=Ae?(0,Ee.L0)(Ge,ge):(0,Ee._5)(Ge,ge),Tt=(0,Ee._5)(xe,ge);Ve={checked:ht,halfChecked:Tt},yt.checkedNodes=ht.map(function(gn){return(0,Rt.Z)(Se,gn)}).filter(function(gn){return gn}).map(function(gn){return gn.node}),p.setUncontrolledState({checkedKeys:ht})}else{var sn=(0,kt.S)([].concat((0,R.Z)(Ge),[ge]),!0,Se),tn=sn.checkedKeys,pn=sn.halfCheckedKeys;if(!Ae){var mn=new Set(tn);mn.delete(ge);var qt=(0,kt.S)(Array.from(mn),{checked:!1,halfCheckedKeys:pn},Se);tn=qt.checkedKeys,pn=qt.halfCheckedKeys}Ve=tn,yt.checkedNodes=[],yt.checkedNodesPositions=[],yt.halfCheckedKeys=pn,tn.forEach(function(gn){var Sn=(0,Rt.Z)(Se,gn);if(Sn){var Jn=Sn.node,Br=Sn.pos;yt.checkedNodes.push(Jn),yt.checkedNodesPositions.push({node:Jn,pos:Br})}}),p.setUncontrolledState({checkedKeys:tn},!1,{halfCheckedKeys:pn})}pe==null||pe(Ve,yt)},p.onNodeLoad=function(j){var me=j.key,Ae=new Promise(function(ie,Se){p.setState(function(Ge){var xe=Ge.loadedKeys,He=xe===void 0?[]:xe,Te=Ge.loadingKeys,pe=Te===void 0?[]:Te,ge=p.props,Ve=ge.loadData,yt=ge.onLoad;if(!Ve||He.indexOf(me)!==-1||pe.indexOf(me)!==-1)return null;var ht=Ve(j);return ht.then(function(){var Tt=p.state.loadedKeys,sn=(0,Ee.L0)(Tt,me);yt==null||yt(sn,{event:"load",node:j}),p.setUncontrolledState({loadedKeys:sn}),p.setState(function(tn){return{loadingKeys:(0,Ee._5)(tn.loadingKeys,me)}}),ie()}).catch(function(Tt){if(p.setState(function(tn){return{loadingKeys:(0,Ee._5)(tn.loadingKeys,me)}}),p.loadingRetryTimes[me]=(p.loadingRetryTimes[me]||0)+1,p.loadingRetryTimes[me]>=on){var sn=p.state.loadedKeys;(0,_.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),p.setUncontrolledState({loadedKeys:(0,Ee.L0)(sn,me)}),ie()}Se(Tt)}),{loadingKeys:(0,Ee.L0)(pe,me)}})});return Ae.catch(function(){}),Ae},p.onNodeMouseEnter=function(j,me){var Ae=p.props.onMouseEnter;Ae==null||Ae({event:j,node:me})},p.onNodeMouseLeave=function(j,me){var Ae=p.props.onMouseLeave;Ae==null||Ae({event:j,node:me})},p.onNodeContextMenu=function(j,me){var Ae=p.props.onRightClick;Ae&&(j.preventDefault(),Ae({event:j,node:me}))},p.onFocus=function(){var j=p.props.onFocus;p.setState({focused:!0});for(var me=arguments.length,Ae=new Array(me),ie=0;ie<me;ie++)Ae[ie]=arguments[ie];j==null||j.apply(void 0,Ae)},p.onBlur=function(){var j=p.props.onBlur;p.setState({focused:!1}),p.onActiveChange(null);for(var me=arguments.length,Ae=new Array(me),ie=0;ie<me;ie++)Ae[ie]=arguments[ie];j==null||j.apply(void 0,Ae)},p.getTreeNodeRequiredProps=function(){var j=p.state,me=j.expandedKeys,Ae=j.selectedKeys,ie=j.loadedKeys,Se=j.loadingKeys,Ge=j.checkedKeys,xe=j.halfCheckedKeys,He=j.dragOverNodeKey,Te=j.dropPosition,pe=j.keyEntities;return{expandedKeys:me||[],selectedKeys:Ae||[],loadedKeys:ie||[],loadingKeys:Se||[],checkedKeys:Ge||[],halfCheckedKeys:xe||[],dragOverNodeKey:He,dropPosition:Te,keyEntities:pe}},p.setExpandedKeys=function(j){var me=p.state,Ae=me.treeData,ie=me.fieldNames,Se=(0,ae.oH)(Ae,j,ie);p.setUncontrolledState({expandedKeys:j,flattenNodes:Se},!0)},p.onNodeExpand=function(j,me){var Ae=p.state.expandedKeys,ie=p.state,Se=ie.listChanging,Ge=ie.fieldNames,xe=p.props,He=xe.onExpand,Te=xe.loadData,pe=me.expanded,ge=me[Ge.key];if(!Se){var Ve=Ae.indexOf(ge),yt=!pe;if((0,_.ZP)(pe&&Ve!==-1||!pe&&Ve===-1,"Expand state not sync with index check"),yt?Ae=(0,Ee.L0)(Ae,ge):Ae=(0,Ee._5)(Ae,ge),p.setExpandedKeys(Ae),He==null||He(Ae,{node:me,expanded:yt,nativeEvent:j.nativeEvent}),yt&&Te){var ht=p.onNodeLoad(me);ht&&ht.then(function(){var Tt=(0,ae.oH)(p.state.treeData,Ae,Ge);p.setUncontrolledState({flattenNodes:Tt})}).catch(function(){var Tt=p.state.expandedKeys,sn=(0,Ee._5)(Tt,ge);p.setExpandedKeys(sn)})}}},p.onListChangeStart=function(){p.setUncontrolledState({listChanging:!0})},p.onListChangeEnd=function(){setTimeout(function(){p.setUncontrolledState({listChanging:!1})})},p.onActiveChange=function(j){var me=p.state.activeKey,Ae=p.props.onActiveChange;me!==j&&(p.setState({activeKey:j}),j!==null&&p.scrollTo({key:j}),Ae==null||Ae(j))},p.getActiveItem=function(){var j=p.state,me=j.activeKey,Ae=j.flattenNodes;return me===null?null:Ae.find(function(ie){var Se=ie.key;return Se===me})||null},p.offsetActiveKey=function(j){var me=p.state,Ae=me.flattenNodes,ie=me.activeKey,Se=Ae.findIndex(function(He){var Te=He.key;return Te===ie});Se===-1&&j<0&&(Se=Ae.length),Se=(Se+j+Ae.length)%Ae.length;var Ge=Ae[Se];if(Ge){var xe=Ge.key;p.onActiveChange(xe)}else p.onActiveChange(null)},p.onKeyDown=function(j){var me=p.state,Ae=me.activeKey,ie=me.expandedKeys,Se=me.checkedKeys,Ge=me.fieldNames,xe=p.props,He=xe.onKeyDown,Te=xe.checkable,pe=xe.selectable;switch(j.which){case w.Z.UP:{p.offsetActiveKey(-1),j.preventDefault();break}case w.Z.DOWN:{p.offsetActiveKey(1),j.preventDefault();break}}var ge=p.getActiveItem();if(ge&&ge.data){var Ve=p.getTreeNodeRequiredProps(),yt=ge.data.isLeaf===!1||!!(ge.data[Ge.children]||[]).length,ht=(0,ae.F)((0,be.Z)((0,be.Z)({},(0,ae.H8)(Ae,Ve)),{},{data:ge.data,active:!0}));switch(j.which){case w.Z.LEFT:{yt&&ie.includes(Ae)?p.onNodeExpand({},ht):ge.parent&&p.onActiveChange(ge.parent.key),j.preventDefault();break}case w.Z.RIGHT:{yt&&!ie.includes(Ae)?p.onNodeExpand({},ht):ge.children&&ge.children.length&&p.onActiveChange(ge.children[0].key),j.preventDefault();break}case w.Z.ENTER:case w.Z.SPACE:{Te&&!ht.disabled&&ht.checkable!==!1&&!ht.disableCheckbox?p.onNodeCheck({},ht,!Se.includes(Ae)):!Te&&pe&&!ht.disabled&&ht.selectable!==!1&&p.onNodeSelect({},ht);break}}}He==null||He(j)},p.setUncontrolledState=function(j){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!p.destroyed){var ie=!1,Se=!0,Ge={};Object.keys(j).forEach(function(xe){if(xe in p.props){Se=!1;return}ie=!0,Ge[xe]=j[xe]}),ie&&(!me||Se)&&p.setState((0,be.Z)((0,be.Z)({},Ge),Ae))}},p.scrollTo=function(j){p.listRef.current.scrollTo(j)},p}return(0,v.Z)(a,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var M=this.props.activeKey;M!==void 0&&M!==this.state.activeKey&&(this.setState({activeKey:M}),M!==null&&this.scrollTo({key:M}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var M,re=this.state,C=re.focused,j=re.flattenNodes,me=re.keyEntities,Ae=re.draggingNodeKey,ie=re.activeKey,Se=re.dropLevelOffset,Ge=re.dropContainerKey,xe=re.dropTargetKey,He=re.dropPosition,Te=re.dragOverNodeKey,pe=re.indent,ge=this.props,Ve=ge.prefixCls,yt=ge.className,ht=ge.style,Tt=ge.showLine,sn=ge.focusable,tn=ge.tabIndex,pn=tn===void 0?0:tn,mn=ge.selectable,qt=ge.showIcon,gn=ge.icon,Sn=ge.switcherIcon,Jn=ge.draggable,Br=ge.checkable,Xn=ge.checkStrictly,zr=ge.disabled,pi=ge.motion,yn=ge.loadData,Vr=ge.filterTreeNode,Nt=ge.height,qr=ge.itemHeight,Yi=ge.virtual,bi=ge.titleRender,Pi=ge.dropIndicatorRender,Io=ge.onContextMenu,Ni=ge.onScroll,Qr=ge.direction,Ei=ge.rootClassName,nt=ge.rootStyle,Jt=(0,x.Z)(this.props,{aria:!0,data:!0}),An;return Jn&&((0,H.Z)(Jn)==="object"?An=Jn:typeof Jn=="function"?An={nodeDraggable:Jn}:An={}),B.createElement(W.k.Provider,{value:{prefixCls:Ve,selectable:mn,showIcon:qt,icon:gn,switcherIcon:Sn,draggable:An,draggingNodeKey:Ae,checkable:Br,checkStrictly:Xn,disabled:zr,keyEntities:me,dropLevelOffset:Se,dropContainerKey:Ge,dropTargetKey:xe,dropPosition:He,dragOverNodeKey:Te,indent:pe,direction:Qr,dropIndicatorRender:Pi,loadData:yn,filterTreeNode:Vr,titleRender:bi,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},B.createElement("div",{role:"tree",className:S()(Ve,yt,Ei,(M={},(0,fe.Z)(M,"".concat(Ve,"-show-line"),Tt),(0,fe.Z)(M,"".concat(Ve,"-focused"),C),(0,fe.Z)(M,"".concat(Ve,"-active-focused"),ie!==null),M)),style:nt},B.createElement(Ot,(0,ye.Z)({ref:this.listRef,prefixCls:Ve,style:ht,data:j,disabled:zr,selectable:mn,checkable:!!Br,motion:pi,dragging:Ae!==null,height:Nt,itemHeight:qr,virtual:Yi,focusable:sn,focused:C,tabIndex:pn,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:Io,onScroll:Ni},this.getTreeNodeRequiredProps(),Jt))))}}],[{key:"getDerivedStateFromProps",value:function(M,re){var C=re.prevProps,j={prevProps:M};function me(sn){return!C&&sn in M||C&&C[sn]!==M[sn]}var Ae,ie=re.fieldNames;if(me("fieldNames")&&(ie=(0,ae.w$)(M.fieldNames),j.fieldNames=ie),me("treeData")?Ae=M.treeData:me("children")&&((0,_.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),Ae=(0,ae.zn)(M.children)),Ae){j.treeData=Ae;var Se=(0,ae.I8)(Ae,{fieldNames:ie});j.keyEntities=(0,be.Z)((0,fe.Z)({},ve,se),Se.keyEntities)}var Ge=j.keyEntities||re.keyEntities;if(me("expandedKeys")||C&&me("autoExpandParent"))j.expandedKeys=M.autoExpandParent||!C&&M.defaultExpandParent?(0,Ee.r7)(M.expandedKeys,Ge):M.expandedKeys;else if(!C&&M.defaultExpandAll){var xe=(0,be.Z)({},Ge);delete xe[ve],j.expandedKeys=Object.keys(xe).map(function(sn){return xe[sn].key})}else!C&&M.defaultExpandedKeys&&(j.expandedKeys=M.autoExpandParent||M.defaultExpandParent?(0,Ee.r7)(M.defaultExpandedKeys,Ge):M.defaultExpandedKeys);if(j.expandedKeys||delete j.expandedKeys,Ae||j.expandedKeys){var He=(0,ae.oH)(Ae||re.treeData,j.expandedKeys||re.expandedKeys,ie);j.flattenNodes=He}if(M.selectable&&(me("selectedKeys")?j.selectedKeys=(0,Ee.BT)(M.selectedKeys,M):!C&&M.defaultSelectedKeys&&(j.selectedKeys=(0,Ee.BT)(M.defaultSelectedKeys,M))),M.checkable){var Te;if(me("checkedKeys")?Te=(0,Ee.E6)(M.checkedKeys)||{}:!C&&M.defaultCheckedKeys?Te=(0,Ee.E6)(M.defaultCheckedKeys)||{}:Ae&&(Te=(0,Ee.E6)(M.checkedKeys)||{checkedKeys:re.checkedKeys,halfCheckedKeys:re.halfCheckedKeys}),Te){var pe=Te,ge=pe.checkedKeys,Ve=ge===void 0?[]:ge,yt=pe.halfCheckedKeys,ht=yt===void 0?[]:yt;if(!M.checkStrictly){var Tt=(0,kt.S)(Ve,!0,Ge);Ve=Tt.checkedKeys,ht=Tt.halfCheckedKeys}j.checkedKeys=Ve,j.halfCheckedKeys=ht}}return me("loadedKeys")&&(j.loadedKeys=M.loadedKeys),j}}]),a}(B.Component);Mt.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:Q,allowDrop:function(){return!0},expandAction:!1},Mt.TreeNode=K.Z;var T=Mt,Ye=T},35654:function(tr,Ct,h){"use strict";h.d(Ct,{BT:function(){return B},E6:function(){return q},L0:function(){return s},OM:function(){return _},_5:function(){return N},r7:function(){return Y},wA:function(){return S},yx:function(){return L}});var ye=h(94480),fe=h(76190),H=h(48736),be=h(59301),R=h(39417),$=h(67841),v=h(71430),m=null;function N(G,D){if(!G)return[];var O=G.slice(),J=O.indexOf(D);return J>=0&&O.splice(J,1),O}function s(G,D){var O=(G||[]).slice();return O.indexOf(D)===-1&&O.push(D),O}function L(G){return G.split("-")}function S(G,D){var O=[],J=(0,$.Z)(D,G);function K(){var le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];le.forEach(function(ae){var he=ae.key,k=ae.children;O.push(he),K(k)})}return K(J.children),O}function w(G){if(G.parent){var D=L(G.pos);return Number(D[D.length-1])===G.parent.children.length-1}return!1}function x(G){var D=L(G.pos);return Number(D[D.length-1])===0}function _(G,D,O,J,K,le,ae,he,k,Ue){var F,De=G.clientX,we=G.clientY,de=G.target.getBoundingClientRect(),Be=de.top,ne=de.height,ve=(Ue==="rtl"?-1:1)*(((K==null?void 0:K.x)||0)-De),ee=(ve-12)/J,se=(0,$.Z)(he,O.props.eventKey);if(we<Be+ne/2){var je=ae.findIndex(function(Ye){return Ye.key===se.key}),Pe=je<=0?0:je-1,Oe=ae[Pe].key;se=(0,$.Z)(he,Oe)}var ut=se.key,mt=se,Ot=se.key,Ee=0,kt=0;if(!k.includes(ut))for(var Rt=0;Rt<ee&&w(se);Rt+=1)se=se.parent,kt+=1;var on=D.props.data,Mt=se.node,T=!0;return x(se)&&se.level===0&&we<Be+ne/2&&le({dragNode:on,dropNode:Mt,dropPosition:-1})&&se.key===O.props.eventKey?Ee=-1:(mt.children||[]).length&&k.includes(Ot)?le({dragNode:on,dropNode:Mt,dropPosition:0})?Ee=0:T=!1:kt===0?ee>-1.5?le({dragNode:on,dropNode:Mt,dropPosition:1})?Ee=1:T=!1:le({dragNode:on,dropNode:Mt,dropPosition:0})?Ee=0:le({dragNode:on,dropNode:Mt,dropPosition:1})?Ee=1:T=!1:le({dragNode:on,dropNode:Mt,dropPosition:1})?Ee=1:T=!1,{dropPosition:Ee,dropLevelOffset:kt,dropTargetKey:se.key,dropTargetPos:se.pos,dragOverNodeKey:Ot,dropContainerKey:Ee===0?null:((F=se.parent)===null||F===void 0?void 0:F.key)||null,dropAllowed:T}}function B(G,D){if(G){var O=D.multiple;return O?G.slice():G.length?[G[0]]:G}}var W=function(D){return D};function Q(G,D){if(!G)return[];var O=D||{},J=O.processProps,K=J===void 0?W:J,le=Array.isArray(G)?G:[G];return le.map(function(ae){var he=ae.children,k=_objectWithoutProperties(ae,m),Ue=Q(he,D);return React.createElement(TreeNode,_extends({key:k.key},K(k)),Ue)})}function q(G){if(!G)return null;var D;if(Array.isArray(G))D={checkedKeys:G,halfCheckedKeys:void 0};else if((0,fe.Z)(G)==="object")D={checkedKeys:G.checked||void 0,halfCheckedKeys:G.halfChecked||void 0};else return(0,H.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return D}function Y(G,D){var O=new Set;function J(K){if(!O.has(K)){var le=(0,$.Z)(D,K);if(le){O.add(K);var ae=le.parent,he=le.node;he.disabled||ae&&J(ae.key)}}}return(G||[]).forEach(function(K){J(K)}),(0,ye.Z)(O)}},90782:function(tr,Ct,h){"use strict";h.d(Ct,{S:function(){return v}});var ye=h(48736),fe=h(67841);function H(m,N){var s=new Set;return m.forEach(function(L){N.has(L)||s.add(L)}),s}function be(m){var N=m||{},s=N.disabled,L=N.disableCheckbox,S=N.checkable;return!!(s||L)||S===!1}function R(m,N,s,L){for(var S=new Set(m),w=new Set,x=0;x<=s;x+=1){var _=N.get(x)||new Set;_.forEach(function(q){var Y=q.key,G=q.node,D=q.children,O=D===void 0?[]:D;S.has(Y)&&!L(G)&&O.filter(function(J){return!L(J.node)}).forEach(function(J){S.add(J.key)})})}for(var B=new Set,W=s;W>=0;W-=1){var Q=N.get(W)||new Set;Q.forEach(function(q){var Y=q.parent,G=q.node;if(!(L(G)||!q.parent||B.has(q.parent.key))){if(L(q.parent.node)){B.add(Y.key);return}var D=!0,O=!1;(Y.children||[]).filter(function(J){return!L(J.node)}).forEach(function(J){var K=J.key,le=S.has(K);D&&!le&&(D=!1),!O&&(le||w.has(K))&&(O=!0)}),D&&S.add(Y.key),O&&w.add(Y.key),B.add(Y.key)}})}return{checkedKeys:Array.from(S),halfCheckedKeys:Array.from(H(w,S))}}function $(m,N,s,L,S){for(var w=new Set(m),x=new Set(N),_=0;_<=L;_+=1){var B=s.get(_)||new Set;B.forEach(function(Y){var G=Y.key,D=Y.node,O=Y.children,J=O===void 0?[]:O;!w.has(G)&&!x.has(G)&&!S(D)&&J.filter(function(K){return!S(K.node)}).forEach(function(K){w.delete(K.key)})})}x=new Set;for(var W=new Set,Q=L;Q>=0;Q-=1){var q=s.get(Q)||new Set;q.forEach(function(Y){var G=Y.parent,D=Y.node;if(!(S(D)||!Y.parent||W.has(Y.parent.key))){if(S(Y.parent.node)){W.add(G.key);return}var O=!0,J=!1;(G.children||[]).filter(function(K){return!S(K.node)}).forEach(function(K){var le=K.key,ae=w.has(le);O&&!ae&&(O=!1),!J&&(ae||x.has(le))&&(J=!0)}),O||w.delete(G.key),J&&x.add(G.key),W.add(G.key)}})}return{checkedKeys:Array.from(w),halfCheckedKeys:Array.from(H(x,w))}}function v(m,N,s,L){var S=[],w;L?w=L:w=be;var x=new Set(m.filter(function(Q){var q=!!(0,fe.Z)(s,Q);return q||S.push(Q),q})),_=new Map,B=0;Object.keys(s).forEach(function(Q){var q=s[Q],Y=q.level,G=_.get(Y);G||(G=new Set,_.set(Y,G)),G.add(q),B=Math.max(B,Y)}),(0,ye.ZP)(!S.length,"Tree missing follow keys: ".concat(S.slice(0,100).map(function(Q){return"'".concat(Q,"'")}).join(", ")));var W;return N===!0?W=R(x,_,B,w):W=$(x,N.halfCheckedKeys,_,B,w),W}},67841:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return ye}});function ye(fe,H){return fe[H]}},71430:function(tr,Ct,h){"use strict";h.d(Ct,{F:function(){return Y},H8:function(){return q},I8:function(){return Q},km:function(){return S},oH:function(){return B},w$:function(){return w},zn:function(){return _}});var ye=h(76190),fe=h(94480),H=h(33885),be=h(75931),R=h(11592),$=h(2738),v=h(48736),m=h(67841),N=["children"];function s(G,D){return"".concat(G,"-").concat(D)}function L(G){return G&&G.type&&G.type.isTreeNode}function S(G,D){return G!=null?G:D}function w(G){var D=G||{},O=D.title,J=D._title,K=D.key,le=D.children,ae=O||"title";return{title:ae,_title:J||[ae],key:K||"key",children:le||"children"}}function x(G,D){var O=new Map;function J(K){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(K||[]).forEach(function(ae){var he=ae[D.key],k=ae[D.children];warning(he!=null,"Tree node must have a certain key: [".concat(le).concat(he,"]"));var Ue=String(he);warning(!O.has(Ue)||he===null||he===void 0,"Same 'key' exist in the Tree: ".concat(Ue)),O.set(Ue,!0),J(k,"".concat(le).concat(Ue," > "))})}J(G)}function _(G){function D(O){var J=(0,R.Z)(O);return J.map(function(K){if(!L(K))return(0,v.ZP)(!K,"Tree/TreeNode can only accept TreeNode as children."),null;var le=K.key,ae=K.props,he=ae.children,k=(0,be.Z)(ae,N),Ue=(0,H.Z)({key:le},k),F=D(he);return F.length&&(Ue.children=F),Ue}).filter(function(K){return K})}return D(G)}function B(G,D,O){var J=w(O),K=J._title,le=J.key,ae=J.children,he=new Set(D===!0?[]:D),k=[];function Ue(F){var De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return F.map(function(we,de){for(var Be=s(De?De.pos:"0",de),ne=S(we[le],Be),ve,ee=0;ee<K.length;ee+=1){var se=K[ee];if(we[se]!==void 0){ve=we[se];break}}var je=(0,H.Z)((0,H.Z)({},(0,$.Z)(we,[].concat((0,fe.Z)(K),[le,ae]))),{},{title:ve,key:ne,parent:De,pos:Be,children:null,data:we,isStart:[].concat((0,fe.Z)(De?De.isStart:[]),[de===0]),isEnd:[].concat((0,fe.Z)(De?De.isEnd:[]),[de===F.length-1])});return k.push(je),D===!0||he.has(ne)?je.children=Ue(we[ae]||[],je):je.children=[],je})}return Ue(G),k}function W(G,D,O){var J={};(0,ye.Z)(O)==="object"?J=O:J={externalGetKey:O},J=J||{};var K=J,le=K.childrenPropName,ae=K.externalGetKey,he=K.fieldNames,k=w(he),Ue=k.key,F=k.children,De=le||F,we;ae?typeof ae=="string"?we=function(ne){return ne[ae]}:typeof ae=="function"&&(we=function(ne){return ae(ne)}):we=function(ne,ve){return S(ne[Ue],ve)};function de(Be,ne,ve,ee){var se=Be?Be[De]:G,je=Be?s(ve.pos,ne):"0",Pe=Be?[].concat((0,fe.Z)(ee),[Be]):[];if(Be){var Oe=we(Be,je),ut={node:Be,index:ne,pos:je,key:Oe,parentPos:ve.node?ve.pos:null,level:ve.level+1,nodes:Pe};D(ut)}se&&se.forEach(function(mt,Ot){de(mt,Ot,{node:Be,pos:je,level:ve?ve.level+1:-1},Pe)})}de(null)}function Q(G){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},O=D.initWrapper,J=D.processEntity,K=D.onProcessFinished,le=D.externalGetKey,ae=D.childrenPropName,he=D.fieldNames,k=arguments.length>2?arguments[2]:void 0,Ue=le||k,F={},De={},we={posEntities:F,keyEntities:De};return O&&(we=O(we)||we),W(G,function(de){var Be=de.node,ne=de.index,ve=de.pos,ee=de.key,se=de.parentPos,je=de.level,Pe=de.nodes,Oe={node:Be,nodes:Pe,index:ne,key:ee,pos:ve,level:je},ut=S(ee,ve);F[ve]=Oe,De[ut]=Oe,Oe.parent=F[se],Oe.parent&&(Oe.parent.children=Oe.parent.children||[],Oe.parent.children.push(Oe)),J&&J(Oe,we)},{externalGetKey:Ue,childrenPropName:ae,fieldNames:he}),K&&K(we),we}function q(G,D){var O=D.expandedKeys,J=D.selectedKeys,K=D.loadedKeys,le=D.loadingKeys,ae=D.checkedKeys,he=D.halfCheckedKeys,k=D.dragOverNodeKey,Ue=D.dropPosition,F=D.keyEntities,De=(0,m.Z)(F,G),we={eventKey:G,expanded:O.indexOf(G)!==-1,selected:J.indexOf(G)!==-1,loaded:K.indexOf(G)!==-1,loading:le.indexOf(G)!==-1,checked:ae.indexOf(G)!==-1,halfChecked:he.indexOf(G)!==-1,pos:String(De?De.pos:""),dragOver:k===G&&Ue===0,dragOverGapTop:k===G&&Ue===-1,dragOverGapBottom:k===G&&Ue===1};return we}function Y(G){var D=G.data,O=G.expanded,J=G.selected,K=G.checked,le=G.loaded,ae=G.loading,he=G.halfChecked,k=G.dragOver,Ue=G.dragOverGapTop,F=G.dragOverGapBottom,De=G.pos,we=G.active,de=G.eventKey,Be=(0,H.Z)((0,H.Z)({},D),{},{expanded:O,selected:J,checked:K,loaded:le,loading:ae,halfChecked:he,dragOver:k,dragOverGapTop:Ue,dragOverGapBottom:F,pos:De,active:we,key:de});return"props"in Be||Object.defineProperty(Be,"props",{get:function(){return(0,v.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),G}}),Be}},8224:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return fe}});var ye=h(4676);function fe(H,be,R,$){var v=ye.unstable_batchedUpdates?function(N){ye.unstable_batchedUpdates(R,N)}:R;return H!=null&&H.addEventListener&&H.addEventListener(be,v,$),{remove:function(){H!=null&&H.removeEventListener&&H.removeEventListener(be,v,$)}}}},55468:function(tr,Ct,h){"use strict";h.d(Ct,{g1:function(){return L},os:function(){return w}});var ye=/margin|padding|width|height|max|min|offset/,fe={left:!0,top:!0},H={cssFloat:1,styleFloat:1,float:1};function be(x){return x.nodeType===1?x.ownerDocument.defaultView.getComputedStyle(x,null):{}}function R(x,_,B){if(_=_.toLowerCase(),B==="auto"){if(_==="height")return x.offsetHeight;if(_==="width")return x.offsetWidth}return _ in fe||(fe[_]=ye.test(_)),fe[_]?parseFloat(B)||0:B}function $(x,_){var B=arguments.length,W=be(x);return _=H[_]?"cssFloat"in x.style?"cssFloat":"styleFloat":_,B===1?W:R(x,_,W[_]||x.style[_])}function v(x,_,B){var W=arguments.length;if(_=H[_]?"cssFloat"in x.style?"cssFloat":"styleFloat":_,W===3)return typeof B=="number"&&ye.test(_)&&(B="".concat(B,"px")),x.style[_]=B,B;for(var Q in _)_.hasOwnProperty(Q)&&v(x,Q,_[Q]);return be(x)}function m(x){return x===document.body?document.documentElement.clientWidth:x.offsetWidth}function N(x){return x===document.body?window.innerHeight||document.documentElement.clientHeight:x.offsetHeight}function s(){var x=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),_=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:x,height:_}}function L(){var x=document.documentElement.clientWidth,_=window.innerHeight||document.documentElement.clientHeight;return{width:x,height:_}}function S(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function w(x){var _=x.getBoundingClientRect(),B=document.documentElement;return{left:_.left+(window.pageXOffset||B.scrollLeft)-(B.clientLeft||document.body.clientLeft||0),top:_.top+(window.pageYOffset||B.scrollTop)-(B.clientTop||document.body.clientTop||0)}}},24514:function(tr,Ct,h){"use strict";h.d(Ct,{G:function(){return be}});var ye=h(47273),fe=function($){if((0,ye.Z)()&&window.document.documentElement){var v=Array.isArray($)?$:[$],m=window.document.documentElement;return v.some(function(N){return N in m.style})}return!1},H=function($,v){if(!fe($))return!1;var m=document.createElement("div"),N=m.style[$];return m.style[$]=v,m.style[$]!==N};function be(R,$){return!Array.isArray(R)&&$!==void 0?H(R,$):fe(R)}},48911:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return Mt}});var ye=h(54476),fe=h(76190),H=h(33885),be=h(20068),R=h(42978),$=h(75931),v=h(92310),m=h.n(v),N=h(29301),s=h(70425),L=h(34280),S=h(59301),w=h(4676),x=S.forwardRef(function(T,Ye){var E=T.height,u=T.offsetY,a=T.offsetX,p=T.children,M=T.prefixCls,re=T.onInnerResize,C=T.innerProps,j=T.rtl,me=T.extra,Ae={},ie={display:"flex",flexDirection:"column"};return u!==void 0&&(Ae={height:E,position:"relative",overflow:"hidden"},ie=(0,H.Z)((0,H.Z)({},ie),{},(0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)((0,be.Z)({transform:"translateY(".concat(u,"px)")},j?"marginRight":"marginLeft",-a),"position","absolute"),"left",0),"right",0),"top",0))),S.createElement("div",{style:Ae},S.createElement(N.Z,{onResize:function(Ge){var xe=Ge.offsetHeight;xe&&re&&re()}},S.createElement("div",(0,ye.Z)({style:ie,className:m()((0,be.Z)({},"".concat(M,"-holder-inner"),M)),ref:Ye},C),p,me)))});x.displayName="Filler";var _=x;function B(T){var Ye=T.children,E=T.setRef,u=S.useCallback(function(a){E(a)},[]);return S.cloneElement(Ye,{ref:u})}function W(T,Ye,E,u,a,p,M,re){var C=re.getKey;return T.slice(Ye,E+1).map(function(j,me){var Ae=Ye+me,ie=M(j,Ae,{style:{width:u},offsetX:a}),Se=C(j);return S.createElement(B,{key:Se,setRef:function(xe){return p(j,xe)}},ie)})}function Q(T,Ye,E,u){var a=E-T,p=Ye-E,M=Math.min(a,p)*2;if(u<=M){var re=Math.floor(u/2);return u%2?E+re+1:E-re}return a>p?E-(u-p):E+(u-a)}function q(T,Ye,E){var u=T.length,a=Ye.length,p,M;if(u===0&&a===0)return null;u<a?(p=T,M=Ye):(p=Ye,M=T);var re={__EMPTY_ITEM__:!0};function C(Ge){return Ge!==void 0?E(Ge):re}for(var j=null,me=Math.abs(u-a)!==1,Ae=0;Ae<M.length;Ae+=1){var ie=C(p[Ae]),Se=C(M[Ae]);if(ie!==Se){j=Ae,me=me||ie!==C(M[Ae+1]);break}}return j===null?null:{index:j,multiple:me}}function Y(T,Ye,E){var u=S.useState(T),a=(0,R.Z)(u,2),p=a[0],M=a[1],re=S.useState(null),C=(0,R.Z)(re,2),j=C[0],me=C[1];return S.useEffect(function(){var Ae=q(p||[],T||[],Ye);(Ae==null?void 0:Ae.index)!==void 0&&(E==null||E(Ae.index),me(T[Ae.index])),M(T)},[T]),[j]}var G=h(16089),D=(typeof navigator=="undefined"?"undefined":(0,fe.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),O=D,J=function(T,Ye,E,u){var a=(0,S.useRef)(!1),p=(0,S.useRef)(null);function M(){clearTimeout(p.current),a.current=!0,p.current=setTimeout(function(){a.current=!1},50)}var re=(0,S.useRef)({top:T,bottom:Ye,left:E,right:u});return re.current.top=T,re.current.bottom=Ye,re.current.left=E,re.current.right=u,function(C,j){var me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Ae=C?j<0&&re.current.left||j>0&&re.current.right:j<0&&re.current.top||j>0&&re.current.bottom;return me&&Ae?(clearTimeout(p.current),a.current=!1):(!Ae||a.current)&&M(),!a.current&&Ae}};function K(T,Ye,E,u,a,p,M){var re=(0,S.useRef)(0),C=(0,S.useRef)(null),j=(0,S.useRef)(null),me=(0,S.useRef)(!1),Ae=J(Ye,E,u,a);function ie(pe,ge){if(G.Z.cancel(C.current),!Ae(!1,ge)){var Ve=pe;if(!Ve._virtualHandled)Ve._virtualHandled=!0;else return;re.current+=ge,j.current=ge,O||Ve.preventDefault(),C.current=(0,G.Z)(function(){var yt=me.current?10:1;M(re.current*yt,!1),re.current=0})}}function Se(pe,ge){M(ge,!0),O||pe.preventDefault()}var Ge=(0,S.useRef)(null),xe=(0,S.useRef)(null);function He(pe){if(T){G.Z.cancel(xe.current),xe.current=(0,G.Z)(function(){Ge.current=null},2);var ge=pe.deltaX,Ve=pe.deltaY,yt=pe.shiftKey,ht=ge,Tt=Ve;(Ge.current==="sx"||!Ge.current&&yt&&Ve&&!ge)&&(ht=Ve,Tt=0,Ge.current="sx");var sn=Math.abs(ht),tn=Math.abs(Tt);Ge.current===null&&(Ge.current=p&&sn>tn?"x":"y"),Ge.current==="y"?ie(pe,Tt):Se(pe,ht)}}function Te(pe){T&&(me.current=pe.detail===j.current)}return[He,Te]}function le(T,Ye,E,u){var a=S.useMemo(function(){return[new Map,[]]},[T,E.id,u]),p=(0,R.Z)(a,2),M=p[0],re=p[1],C=function(me){var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:me,ie=M.get(me),Se=M.get(Ae);if(ie===void 0||Se===void 0)for(var Ge=T.length,xe=re.length;xe<Ge;xe+=1){var He,Te=T[xe],pe=Ye(Te);M.set(pe,xe);var ge=(He=E.get(pe))!==null&&He!==void 0?He:u;if(re[xe]=(re[xe-1]||0)+ge,pe===me&&(ie=xe),pe===Ae&&(Se=xe),ie!==void 0&&Se!==void 0)break}return{top:re[ie-1]||0,bottom:re[Se]}};return C}var ae=h(67732),he=h(83652),k=function(){function T(){(0,ae.Z)(this,T),(0,be.Z)(this,"maps",void 0),(0,be.Z)(this,"id",0),(0,be.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,he.Z)(T,[{key:"set",value:function(E,u){this.diffRecords.set(E,this.maps[E]),this.maps[E]=u,this.id+=1}},{key:"get",value:function(E){return this.maps[E]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),T}(),Ue=k;function F(T){var Ye=parseFloat(T);return isNaN(Ye)?0:Ye}function De(T,Ye,E){var u=S.useState(0),a=(0,R.Z)(u,2),p=a[0],M=a[1],re=(0,S.useRef)(new Map),C=(0,S.useRef)(new Ue),j=(0,S.useRef)(0);function me(){j.current+=1}function Ae(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;me();var Ge=function(){var Te=!1;re.current.forEach(function(pe,ge){if(pe&&pe.offsetParent){var Ve=pe.offsetHeight,yt=getComputedStyle(pe),ht=yt.marginTop,Tt=yt.marginBottom,sn=F(ht),tn=F(Tt),pn=Ve+sn+tn;C.current.get(ge)!==pn&&(C.current.set(ge,pn),Te=!0)}}),Te&&M(function(pe){return pe+1})};if(Se)Ge();else{j.current+=1;var xe=j.current;Promise.resolve().then(function(){xe===j.current&&Ge()})}}function ie(Se,Ge){var xe=T(Se),He=re.current.get(xe);Ge?(re.current.set(xe,Ge),Ae()):re.current.delete(xe),!He!=!Ge&&(Ge?Ye==null||Ye(Se):E==null||E(Se))}return(0,S.useEffect)(function(){return me},[]),[ie,Ae,C.current,p]}var we=14/15;function de(T,Ye,E){var u=(0,S.useRef)(!1),a=(0,S.useRef)(0),p=(0,S.useRef)(0),M=(0,S.useRef)(null),re=(0,S.useRef)(null),C,j=function(Se){if(u.current){var Ge=Math.ceil(Se.touches[0].pageX),xe=Math.ceil(Se.touches[0].pageY),He=a.current-Ge,Te=p.current-xe,pe=Math.abs(He)>Math.abs(Te);pe?a.current=Ge:p.current=xe;var ge=E(pe,pe?He:Te,!1,Se);ge&&Se.preventDefault(),clearInterval(re.current),ge&&(re.current=setInterval(function(){pe?He*=we:Te*=we;var Ve=Math.floor(pe?He:Te);(!E(pe,Ve,!0)||Math.abs(Ve)<=.1)&&clearInterval(re.current)},16))}},me=function(){u.current=!1,C()},Ae=function(Se){C(),Se.touches.length===1&&!u.current&&(u.current=!0,a.current=Math.ceil(Se.touches[0].pageX),p.current=Math.ceil(Se.touches[0].pageY),M.current=Se.target,M.current.addEventListener("touchmove",j,{passive:!1}),M.current.addEventListener("touchend",me,{passive:!0}))};C=function(){M.current&&(M.current.removeEventListener("touchmove",j),M.current.removeEventListener("touchend",me))},(0,L.Z)(function(){return T&&Ye.current.addEventListener("touchstart",Ae,{passive:!0}),function(){var ie;(ie=Ye.current)===null||ie===void 0||ie.removeEventListener("touchstart",Ae),C(),clearInterval(re.current)}},[T])}function Be(T){return Math.floor(Math.pow(T,.5))}function ne(T,Ye){var E="touches"in T?T.touches[0]:T;return E[Ye?"pageX":"pageY"]-window[Ye?"scrollX":"scrollY"]}function ve(T,Ye,E){S.useEffect(function(){var u=Ye.current;if(T&&u){var a=!1,p,M,re=function(){G.Z.cancel(p)},C=function ie(){re(),p=(0,G.Z)(function(){E(M),ie()})},j=function(){a=!1,re()},me=function(Se){if(!(Se.target.draggable||Se.button!==0)){var Ge=Se;Ge._virtualHandled||(Ge._virtualHandled=!0,a=!0)}},Ae=function(Se){if(a){var Ge=ne(Se,!1),xe=u.getBoundingClientRect(),He=xe.top,Te=xe.bottom;if(Ge<=He){var pe=He-Ge;M=-Be(pe),C()}else if(Ge>=Te){var ge=Ge-Te;M=Be(ge),C()}else re()}};return u.addEventListener("mousedown",me),u.ownerDocument.addEventListener("mouseup",j),u.ownerDocument.addEventListener("mousemove",Ae),u.ownerDocument.addEventListener("dragend",j),function(){u.removeEventListener("mousedown",me),u.ownerDocument.removeEventListener("mouseup",j),u.ownerDocument.removeEventListener("mousemove",Ae),u.ownerDocument.removeEventListener("dragend",j),re()}}},[T])}var ee=10;function se(T,Ye,E,u,a,p,M,re){var C=S.useRef(),j=S.useState(null),me=(0,R.Z)(j,2),Ae=me[0],ie=me[1];return(0,L.Z)(function(){if(Ae&&Ae.times<ee){if(!T.current){ie(function(pi){return(0,H.Z)({},pi)});return}p();var Se=Ae.targetAlign,Ge=Ae.originAlign,xe=Ae.index,He=Ae.offset,Te=T.current.clientHeight,pe=!1,ge=Se,Ve=null;if(Te){for(var yt=Se||Ge,ht=0,Tt=0,sn=0,tn=Math.min(Ye.length-1,xe),pn=0;pn<=tn;pn+=1){var mn=a(Ye[pn]);Tt=ht;var qt=E.get(mn);sn=Tt+(qt===void 0?u:qt),ht=sn}for(var gn=yt==="top"?He:Te-He,Sn=tn;Sn>=0;Sn-=1){var Jn=a(Ye[Sn]),Br=E.get(Jn);if(Br===void 0){pe=!0;break}if(gn-=Br,gn<=0)break}switch(yt){case"top":Ve=Tt-He;break;case"bottom":Ve=sn-Te+He;break;default:{var Xn=T.current.scrollTop,zr=Xn+Te;Tt<Xn?ge="top":sn>zr&&(ge="bottom")}}Ve!==null&&M(Ve),Ve!==Ae.lastTop&&(pe=!0)}pe&&ie((0,H.Z)((0,H.Z)({},Ae),{},{times:Ae.times+1,targetAlign:ge,lastTop:Ve}))}},[Ae,T.current]),function(Se){if(Se==null){re();return}if(G.Z.cancel(C.current),typeof Se=="number")M(Se);else if(Se&&(0,fe.Z)(Se)==="object"){var Ge,xe=Se.align;"index"in Se?Ge=Se.index:Ge=Ye.findIndex(function(pe){return a(pe)===Se.key});var He=Se.offset,Te=He===void 0?0:He;ie({times:0,index:Ge,offset:Te,originAlign:xe})}}}var je=S.forwardRef(function(T,Ye){var E=T.prefixCls,u=T.rtl,a=T.scrollOffset,p=T.scrollRange,M=T.onStartMove,re=T.onStopMove,C=T.onScroll,j=T.horizontal,me=T.spinSize,Ae=T.containerSize,ie=T.style,Se=T.thumbStyle,Ge=T.showScrollBar,xe=S.useState(!1),He=(0,R.Z)(xe,2),Te=He[0],pe=He[1],ge=S.useState(null),Ve=(0,R.Z)(ge,2),yt=Ve[0],ht=Ve[1],Tt=S.useState(null),sn=(0,R.Z)(Tt,2),tn=sn[0],pn=sn[1],mn=!u,qt=S.useRef(),gn=S.useRef(),Sn=S.useState(Ge),Jn=(0,R.Z)(Sn,2),Br=Jn[0],Xn=Jn[1],zr=S.useRef(),pi=function(){Ge===!0||Ge===!1||(clearTimeout(zr.current),Xn(!0),zr.current=setTimeout(function(){Xn(!1)},3e3))},yn=p-Ae||0,Vr=Ae-me||0,Nt=S.useMemo(function(){if(a===0||yn===0)return 0;var nt=a/yn;return nt*Vr},[a,yn,Vr]),qr=function(Jt){Jt.stopPropagation(),Jt.preventDefault()},Yi=S.useRef({top:Nt,dragging:Te,pageY:yt,startTop:tn});Yi.current={top:Nt,dragging:Te,pageY:yt,startTop:tn};var bi=function(Jt){pe(!0),ht(ne(Jt,j)),pn(Yi.current.top),M(),Jt.stopPropagation(),Jt.preventDefault()};S.useEffect(function(){var nt=function(ze){ze.preventDefault()},Jt=qt.current,An=gn.current;return Jt.addEventListener("touchstart",nt,{passive:!1}),An.addEventListener("touchstart",bi,{passive:!1}),function(){Jt.removeEventListener("touchstart",nt),An.removeEventListener("touchstart",bi)}},[]);var Pi=S.useRef();Pi.current=yn;var Io=S.useRef();Io.current=Vr,S.useEffect(function(){if(Te){var nt,Jt=function(ze){var en=Yi.current,Zt=en.dragging,Tn=en.pageY,hn=en.startTop;G.Z.cancel(nt);var Un=qt.current.getBoundingClientRect(),Hn=Ae/(j?Un.width:Un.height);if(Zt){var kn=(ne(ze,j)-Tn)*Hn,cr=hn;!mn&&j?cr-=kn:cr+=kn;var Ln=Pi.current,qn=Io.current,sr=qn?cr/qn:0,Kn=Math.ceil(sr*Ln);Kn=Math.max(Kn,0),Kn=Math.min(Kn,Ln),nt=(0,G.Z)(function(){C(Kn,j)})}},An=function(){pe(!1),re()};return window.addEventListener("mousemove",Jt,{passive:!0}),window.addEventListener("touchmove",Jt,{passive:!0}),window.addEventListener("mouseup",An,{passive:!0}),window.addEventListener("touchend",An,{passive:!0}),function(){window.removeEventListener("mousemove",Jt),window.removeEventListener("touchmove",Jt),window.removeEventListener("mouseup",An),window.removeEventListener("touchend",An),G.Z.cancel(nt)}}},[Te]),S.useEffect(function(){return pi(),function(){clearTimeout(zr.current)}},[a]),S.useImperativeHandle(Ye,function(){return{delayHidden:pi}});var Ni="".concat(E,"-scrollbar"),Qr={position:"absolute",visibility:Br?null:"hidden"},Ei={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return j?(Object.assign(Qr,{height:8,left:0,right:0,bottom:0}),Object.assign(Ei,(0,be.Z)({height:"100%",width:me},mn?"left":"right",Nt))):(Object.assign(Qr,(0,be.Z)({width:8,top:0,bottom:0},mn?"right":"left",0)),Object.assign(Ei,{width:"100%",height:me,top:Nt})),S.createElement("div",{ref:qt,className:m()(Ni,(0,be.Z)((0,be.Z)((0,be.Z)({},"".concat(Ni,"-horizontal"),j),"".concat(Ni,"-vertical"),!j),"".concat(Ni,"-visible"),Br)),style:(0,H.Z)((0,H.Z)({},Qr),ie),onMouseDown:qr,onMouseMove:pi},S.createElement("div",{ref:gn,className:m()("".concat(Ni,"-thumb"),(0,be.Z)({},"".concat(Ni,"-thumb-moving"),Te)),style:(0,H.Z)((0,H.Z)({},Ei),Se),onMouseDown:bi}))}),Pe=je,Oe=20;function ut(){var T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,E=T/Ye*T;return isNaN(E)&&(E=0),E=Math.max(E,Oe),Math.floor(E)}var mt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ot=[],Ee={overflowY:"auto",overflowAnchor:"none"};function kt(T,Ye){var E=T.prefixCls,u=E===void 0?"rc-virtual-list":E,a=T.className,p=T.height,M=T.itemHeight,re=T.fullHeight,C=re===void 0?!0:re,j=T.style,me=T.data,Ae=T.children,ie=T.itemKey,Se=T.virtual,Ge=T.direction,xe=T.scrollWidth,He=T.component,Te=He===void 0?"div":He,pe=T.onScroll,ge=T.onVirtualScroll,Ve=T.onVisibleChange,yt=T.innerProps,ht=T.extraRender,Tt=T.styles,sn=T.showScrollBar,tn=sn===void 0?"optional":sn,pn=(0,$.Z)(T,mt),mn=S.useCallback(function(Ir){return typeof ie=="function"?ie(Ir):Ir==null?void 0:Ir[ie]},[ie]),qt=De(mn,null,null),gn=(0,R.Z)(qt,4),Sn=gn[0],Jn=gn[1],Br=gn[2],Xn=gn[3],zr=!!(Se!==!1&&p&&M),pi=S.useMemo(function(){return Object.values(Br.maps).reduce(function(Ir,dr){return Ir+dr},0)},[Br.id,Br.maps]),yn=zr&&me&&(Math.max(M*me.length,pi)>p||!!xe),Vr=Ge==="rtl",Nt=m()(u,(0,be.Z)({},"".concat(u,"-rtl"),Vr),a),qr=me||Ot,Yi=(0,S.useRef)(),bi=(0,S.useRef)(),Pi=(0,S.useRef)(),Io=(0,S.useState)(0),Ni=(0,R.Z)(Io,2),Qr=Ni[0],Ei=Ni[1],nt=(0,S.useState)(0),Jt=(0,R.Z)(nt,2),An=Jt[0],Ke=Jt[1],ze=(0,S.useState)(!1),en=(0,R.Z)(ze,2),Zt=en[0],Tn=en[1],hn=function(){Tn(!0)},Un=function(){Tn(!1)},Hn={getKey:mn};function kn(Ir){Ei(function(dr){var Ai;typeof Ir=="function"?Ai=Ir(dr):Ai=Ir;var Ii=Mr(Ai);return Yi.current.scrollTop=Ii,Ii})}var cr=(0,S.useRef)({start:0,end:qr.length}),Ln=(0,S.useRef)(),qn=Y(qr,mn),sr=(0,R.Z)(qn,1),Kn=sr[0];Ln.current=Kn;var ur=S.useMemo(function(){if(!zr)return{scrollHeight:void 0,start:0,end:qr.length-1,offset:void 0};if(!yn){var Ir;return{scrollHeight:((Ir=bi.current)===null||Ir===void 0?void 0:Ir.offsetHeight)||0,start:0,end:qr.length-1,offset:void 0}}for(var dr=0,Ai,Ii,so,Za=qr.length,bo=0;bo<Za;bo+=1){var Zo=qr[bo],Jo=mn(Zo),ja=Br.get(Jo),Na=dr+(ja===void 0?M:ja);Na>=Qr&&Ai===void 0&&(Ai=bo,Ii=dr),Na>Qr+p&&so===void 0&&(so=bo),dr=Na}return Ai===void 0&&(Ai=0,Ii=0,so=Math.ceil(p/M)),so===void 0&&(so=qr.length-1),so=Math.min(so+1,qr.length-1),{scrollHeight:dr,start:Ai,end:so,offset:Ii}},[yn,zr,Qr,qr,Xn,p]),ir=ur.scrollHeight,Gr=ur.start,Er=ur.end,Qn=ur.offset;cr.current.start=Gr,cr.current.end=Er,S.useLayoutEffect(function(){var Ir=Br.getRecord();if(Ir.size===1){var dr=Array.from(Ir.keys())[0],Ai=Ir.get(dr),Ii=qr[Gr];if(Ii&&Ai===void 0){var so=mn(Ii);if(so===dr){var Za=Br.get(dr),bo=Za-M;kn(function(Zo){return Zo+bo})}}}Br.resetRecord()},[ir]);var gt=S.useState({width:0,height:p}),Ft=(0,R.Z)(gt,2),Qt=Ft[0],Xt=Ft[1],Wt=function(dr){Xt({width:dr.offsetWidth,height:dr.offsetHeight})},Pn=(0,S.useRef)(),wn=(0,S.useRef)(),ar=S.useMemo(function(){return ut(Qt.width,xe)},[Qt.width,xe]),wr=S.useMemo(function(){return ut(Qt.height,ir)},[Qt.height,ir]),Nr=ir-p,ni=(0,S.useRef)(Nr);ni.current=Nr;function Mr(Ir){var dr=Ir;return Number.isNaN(ni.current)||(dr=Math.min(dr,ni.current)),dr=Math.max(dr,0),dr}var Xr=Qr<=0,Ht=Qr>=Nr,Zn=An<=0,or=An>=xe,Sr=J(Xr,Ht,Zn,or),Rr=function(){return{x:Vr?-An:An,y:Qr}},Yn=(0,S.useRef)(Rr()),hr=(0,s.useEvent)(function(Ir){if(ge){var dr=(0,H.Z)((0,H.Z)({},Rr()),Ir);(Yn.current.x!==dr.x||Yn.current.y!==dr.y)&&(ge(dr),Yn.current=dr)}});function jr(Ir,dr){var Ai=Ir;dr?((0,w.flushSync)(function(){Ke(Ai)}),hr()):kn(Ai)}function kr(Ir){var dr=Ir.currentTarget.scrollTop;dr!==Qr&&kn(dr),pe==null||pe(Ir),hr()}var ei=function(dr){var Ai=dr,Ii=xe?xe-Qt.width:0;return Ai=Math.max(Ai,0),Ai=Math.min(Ai,Ii),Ai},Ji=(0,s.useEvent)(function(Ir,dr){dr?((0,w.flushSync)(function(){Ke(function(Ai){var Ii=Ai+(Vr?-Ir:Ir);return ei(Ii)})}),hr()):kn(function(Ai){var Ii=Ai+Ir;return Ii})}),Cr=K(zr,Xr,Ht,Zn,or,!!xe,Ji),Wn=(0,R.Z)(Cr,2),Fn=Wn[0],Lr=Wn[1];de(zr,Yi,function(Ir,dr,Ai,Ii){var so=Ii;return Sr(Ir,dr,Ai)?!1:!so||!so._virtualHandled?(so&&(so._virtualHandled=!0),Fn({preventDefault:function(){},deltaX:Ir?dr:0,deltaY:Ir?0:dr}),!0):!1}),ve(yn,Yi,function(Ir){kn(function(dr){return dr+Ir})}),(0,L.Z)(function(){function Ir(Ai){var Ii=Xr&&Ai.detail<0,so=Ht&&Ai.detail>0;zr&&!Ii&&!so&&Ai.preventDefault()}var dr=Yi.current;return dr.addEventListener("wheel",Fn,{passive:!1}),dr.addEventListener("DOMMouseScroll",Lr,{passive:!0}),dr.addEventListener("MozMousePixelScroll",Ir,{passive:!1}),function(){dr.removeEventListener("wheel",Fn),dr.removeEventListener("DOMMouseScroll",Lr),dr.removeEventListener("MozMousePixelScroll",Ir)}},[zr,Xr,Ht]),(0,L.Z)(function(){if(xe){var Ir=ei(An);Ke(Ir),hr({x:Ir})}},[Qt.width,xe]);var Ur=function(){var dr,Ai;(dr=Pn.current)===null||dr===void 0||dr.delayHidden(),(Ai=wn.current)===null||Ai===void 0||Ai.delayHidden()},Zr=se(Yi,qr,Br,M,mn,function(){return Jn(!0)},kn,Ur);S.useImperativeHandle(Ye,function(){return{nativeElement:Pi.current,getScrollInfo:Rr,scrollTo:function(dr){function Ai(Ii){return Ii&&(0,fe.Z)(Ii)==="object"&&("left"in Ii||"top"in Ii)}Ai(dr)?(dr.left!==void 0&&Ke(ei(dr.left)),Zr(dr.top)):Zr(dr)}}}),(0,L.Z)(function(){if(Ve){var Ir=qr.slice(Gr,Er+1);Ve(Ir,qr)}},[Gr,Er,qr]);var wi=le(qr,mn,Br,M),Vi=ht==null?void 0:ht({start:Gr,end:Er,virtual:yn,offsetX:An,offsetY:Qn,rtl:Vr,getSize:wi}),zo=W(qr,Gr,Er,xe,An,Sn,Ae,Hn),uo=null;p&&(uo=(0,H.Z)((0,be.Z)({},C?"height":"maxHeight",p),Ee),zr&&(uo.overflowY="hidden",xe&&(uo.overflowX="hidden"),Zt&&(uo.pointerEvents="none")));var Fo={};return Vr&&(Fo.dir="rtl"),S.createElement("div",(0,ye.Z)({ref:Pi,style:(0,H.Z)((0,H.Z)({},j),{},{position:"relative"}),className:Nt},Fo,pn),S.createElement(N.Z,{onResize:Wt},S.createElement(Te,{className:"".concat(u,"-holder"),style:uo,ref:Yi,onScroll:kr,onMouseEnter:Ur},S.createElement(_,{prefixCls:u,height:ir,offsetX:An,offsetY:Qn,scrollWidth:xe,onInnerResize:Jn,ref:bi,innerProps:yt,rtl:Vr,extra:Vi},zo))),yn&&ir>p&&S.createElement(Pe,{ref:Pn,prefixCls:u,scrollOffset:Qr,scrollRange:ir,rtl:Vr,onScroll:jr,onStartMove:hn,onStopMove:Un,spinSize:wr,containerSize:Qt.height,style:Tt==null?void 0:Tt.verticalScrollBar,thumbStyle:Tt==null?void 0:Tt.verticalScrollBarThumb,showScrollBar:tn}),yn&&xe>Qt.width&&S.createElement(Pe,{ref:wn,prefixCls:u,scrollOffset:An,scrollRange:xe,rtl:Vr,onScroll:jr,onStartMove:hn,onStopMove:Un,spinSize:ar,containerSize:Qt.width,horizontal:!0,style:Tt==null?void 0:Tt.horizontalScrollBar,thumbStyle:Tt==null?void 0:Tt.horizontalScrollBarThumb,showScrollBar:tn}))}var Rt=S.forwardRef(kt);Rt.displayName="List";var on=Rt,Mt=on},16722:function(tr,Ct,h){"use strict";h.d(Ct,{Z:function(){return m}});const ye=N=>typeof N=="object"&&N!=null&&N.nodeType===1,fe=(N,s)=>(!s||N!=="hidden")&&N!=="visible"&&N!=="clip",H=(N,s)=>{if(N.clientHeight<N.scrollHeight||N.clientWidth<N.scrollWidth){const L=getComputedStyle(N,null);return fe(L.overflowY,s)||fe(L.overflowX,s)||(S=>{const w=(x=>{if(!x.ownerDocument||!x.ownerDocument.defaultView)return null;try{return x.ownerDocument.defaultView.frameElement}catch(_){return null}})(S);return!!w&&(w.clientHeight<S.scrollHeight||w.clientWidth<S.scrollWidth)})(N)}return!1},be=(N,s,L,S,w,x,_,B)=>x<N&&_>s||x>N&&_<s?0:x<=N&&B<=L||_>=s&&B>=L?x-N-S:_>s&&B<L||x<N&&B>L?_-s+w:0,R=N=>{const s=N.parentElement;return s==null?N.getRootNode().host||null:s},$=(N,s)=>{var L,S,w,x;if(typeof document=="undefined")return[];const{scrollMode:_,block:B,inline:W,boundary:Q,skipOverflowHiddenElements:q}=s,Y=typeof Q=="function"?Q:Pe=>Pe!==Q;if(!ye(N))throw new TypeError("Invalid target");const G=document.scrollingElement||document.documentElement,D=[];let O=N;for(;ye(O)&&Y(O);){if(O=R(O),O===G){D.push(O);break}O!=null&&O===document.body&&H(O)&&!H(document.documentElement)||O!=null&&H(O,q)&&D.push(O)}const J=(S=(L=window.visualViewport)==null?void 0:L.width)!=null?S:innerWidth,K=(x=(w=window.visualViewport)==null?void 0:w.height)!=null?x:innerHeight,{scrollX:le,scrollY:ae}=window,{height:he,width:k,top:Ue,right:F,bottom:De,left:we}=N.getBoundingClientRect(),{top:de,right:Be,bottom:ne,left:ve}=(Pe=>{const Oe=window.getComputedStyle(Pe);return{top:parseFloat(Oe.scrollMarginTop)||0,right:parseFloat(Oe.scrollMarginRight)||0,bottom:parseFloat(Oe.scrollMarginBottom)||0,left:parseFloat(Oe.scrollMarginLeft)||0}})(N);let ee=B==="start"||B==="nearest"?Ue-de:B==="end"?De+ne:Ue+he/2-de+ne,se=W==="center"?we+k/2-ve+Be:W==="end"?F+Be:we-ve;const je=[];for(let Pe=0;Pe<D.length;Pe++){const Oe=D[Pe],{height:ut,width:mt,top:Ot,right:Ee,bottom:kt,left:Rt}=Oe.getBoundingClientRect();if(_==="if-needed"&&Ue>=0&&we>=0&&De<=K&&F<=J&&(Oe===G&&!H(Oe)||Ue>=Ot&&De<=kt&&we>=Rt&&F<=Ee))return je;const on=getComputedStyle(Oe),Mt=parseInt(on.borderLeftWidth,10),T=parseInt(on.borderTopWidth,10),Ye=parseInt(on.borderRightWidth,10),E=parseInt(on.borderBottomWidth,10);let u=0,a=0;const p="offsetWidth"in Oe?Oe.offsetWidth-Oe.clientWidth-Mt-Ye:0,M="offsetHeight"in Oe?Oe.offsetHeight-Oe.clientHeight-T-E:0,re="offsetWidth"in Oe?Oe.offsetWidth===0?0:mt/Oe.offsetWidth:0,C="offsetHeight"in Oe?Oe.offsetHeight===0?0:ut/Oe.offsetHeight:0;if(G===Oe)u=B==="start"?ee:B==="end"?ee-K:B==="nearest"?be(ae,ae+K,K,T,E,ae+ee,ae+ee+he,he):ee-K/2,a=W==="start"?se:W==="center"?se-J/2:W==="end"?se-J:be(le,le+J,J,Mt,Ye,le+se,le+se+k,k),u=Math.max(0,u+ae),a=Math.max(0,a+le);else{u=B==="start"?ee-Ot-T:B==="end"?ee-kt+E+M:B==="nearest"?be(Ot,kt,ut,T,E+M,ee,ee+he,he):ee-(Ot+ut/2)+M/2,a=W==="start"?se-Rt-Mt:W==="center"?se-(Rt+mt/2)+p/2:W==="end"?se-Ee+Ye+p:be(Rt,Ee,mt,Mt,Ye+p,se,se+k,k);const{scrollLeft:j,scrollTop:me}=Oe;u=C===0?0:Math.max(0,Math.min(me+u/C,Oe.scrollHeight-ut/C+M)),a=re===0?0:Math.max(0,Math.min(j+a/re,Oe.scrollWidth-mt/re+p)),ee+=me-u,se+=j-a}je.push({el:Oe,top:u,left:a})}return je},v=N=>N===!1?{block:"end",inline:"nearest"}:(s=>s===Object(s)&&Object.keys(s).length!==0)(N)?N:{block:"start",inline:"nearest"};function m(N,s){if(!N.isConnected||!(w=>{let x=w;for(;x&&x.parentNode;){if(x.parentNode===document)return!0;x=x.parentNode instanceof ShadowRoot?x.parentNode.host:x.parentNode}return!1})(N))return;const L=(w=>{const x=window.getComputedStyle(w);return{top:parseFloat(x.scrollMarginTop)||0,right:parseFloat(x.scrollMarginRight)||0,bottom:parseFloat(x.scrollMarginBottom)||0,left:parseFloat(x.scrollMarginLeft)||0}})(N);if((w=>typeof w=="object"&&typeof w.behavior=="function")(s))return s.behavior($(N,s));const S=typeof s=="boolean"||s==null?void 0:s.behavior;for(const{el:w,top:x,left:_}of $(N,v(s))){const B=x-L.top+L.bottom,W=_-L.left+L.right;w.scroll({top:B,left:W,behavior:S})}}}}]);
|
|
|
}()); |