matrix_components 2.0.300
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +438 -0
- package/dist/ComponentDemo/DialogDemo.vue +208 -0
- package/dist/ComponentDemo/ExcelDemo.vue +263 -0
- package/dist/ComponentDemo/OfficeDemo.vue +189 -0
- package/dist/ComponentDemo/PdfDemo.vue +207 -0
- package/dist/ComponentDemo/Test.vue +6 -0
- package/dist/ComponentDemo/VideoDemo.vue +273 -0
- package/dist/ComponentDemo/WordDemo.vue +191 -0
- package/dist/cdn/ezuikit/ezuikit.js +27 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl1/HasSIMD/Decoder.js +168 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl1/NoSIMD/Decoder.js +168 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.js +21 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.wasm +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.worker.js +1 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/NoSIMD/Decoder.js +21 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/NoSIMD/Decoder.wasm +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/hasWorker/NoSIMD/Decoder.worker.js +1 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/noWorker/Decoder.js +21 -0
- package/dist/cdn/ezuikit/ezuikit_static/PlayCtrlWasm/playCtrl3/noWorker/Decoder.wasm +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/css/component.css +1257 -0
- package/dist/cdn/ezuikit/ezuikit_static/css/inspectTheme.css +354 -0
- package/dist/cdn/ezuikit/ezuikit_static/css/theme copy.css +126 -0
- package/dist/cdn/ezuikit/ezuikit_static/css/theme.css +140 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/bg.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/bg.svg +33 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/empty.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/end.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/fallback.svg +52 -0
- package/dist/cdn/ezuikit/ezuikit_static/imgs/start.png +0 -0
- package/dist/cdn/ezuikit/ezuikit_static/rec/datepicker.js +1522 -0
- package/dist/cdn/ezuikit/ezuikit_static/rec/datepicker.min.css +36 -0
- package/dist/cdn/ezuikit/ezuikit_static/rec/datepicker.zh-CN.js +19 -0
- package/dist/cdn/ezuikit/ezuikit_static/rec/jquery.min.js +2 -0
- package/dist/cdn/ezuikit/ezuikit_static/speed/speed.css +145 -0
- package/dist/cdn/ezuikit/ezuikit_static/talk/adapeter.js +5497 -0
- package/dist/cdn/ezuikit/ezuikit_static/talk/janus.js +3507 -0
- package/dist/cdn/ezuikit/ezuikit_static/talk/tts-v4.js +343 -0
- package/dist/cdn/ezuikit.js +27 -0
- package/dist/cdn/h5player/h5player.min.js +313 -0
- package/dist/cdn/h5player/playctrl1/DecodeWorker.js +642 -0
- package/dist/cdn/h5player/playctrl1/Decoder.js +1 -0
- package/dist/cdn/h5player/playctrl1simd/DecodeWorker.js +642 -0
- package/dist/cdn/h5player/playctrl1simd/Decoder.js +1 -0
- package/dist/cdn/h5player/playctrl2/Decoder.js +21 -0
- package/dist/cdn/h5player/playctrl2/Decoder.wasm +0 -0
- package/dist/cdn/h5player/playctrl2/Decoder.worker.js +1 -0
- package/dist/cdn/h5player/playctrl3/Decoder.js +21 -0
- package/dist/cdn/h5player/playctrl3/Decoder.wasm +0 -0
- package/dist/cdn/h5player/playctrl3/Decoder.worker.js +1 -0
- package/dist/cdn/h5player/talk/AudioInterCom.js +21 -0
- package/dist/cdn/h5player/talk/AudioInterCom.wasm +0 -0
- package/dist/cdn/h5player/talkW/AudioInterCom.js +21 -0
- package/dist/cdn/h5player/talkW/AudioInterCom.wasm +0 -0
- package/dist/cdn/h5player/talkW/AudioInterCom.worker.js +1 -0
- package/dist/cdn/h5player/transform/libSystemTransform.js +6525 -0
- package/dist/cdn/h5player/transform/libSystemTransform.wasm +0 -0
- package/dist/cdn/h5player/transform/systemTransform-worker.js +120 -0
- package/dist/cdn/md5.js +254 -0
- package/dist/favicon.ico +0 -0
- package/dist/js/EasyPlayer-decode.js +1 -0
- package/dist/js/EasyPlayer-lib.js +1 -0
- package/dist/js/EasyPlayer-pro.js +1 -0
- package/dist/js/EasyPlayer-pro.wasm +0 -0
- package/dist/js/EasyPlayer-snap.wasm +0 -0
- package/dist/matrix_components.css +1 -0
- package/dist/matrix_components.js +60018 -0
- package/dist/matrix_components.umd.cjs +1 -0
- package/package.json +81 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("element-plus"),require("vue3-pdf-app"),require("axios")):"function"==typeof define&&define.amd?define(["exports","vue","element-plus","vue3-pdf-app","axios"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).MatrixComponents={},e.Vue,e.ElementPlus,e.VuePdfApp,e.axios)}(this,(function(e,t,r,n,a){"use strict";var s=t.defineComponent({name:"AddLocation",__name:"add-location",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),t.createElementVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}),o=s,i=t.defineComponent({name:"Aim",__name:"aim",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}),l=i,c=t.defineComponent({name:"AlarmClock",__name:"alarm-clock",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),t.createElementVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}),h=c,f=t.defineComponent({name:"Apple",__name:"apple",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}),u=f,d=t.defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}),p=d,m=t.defineComponent({name:"ArrowDown",__name:"arrow-down",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}),g=m,v=t.defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}),w=v,b=t.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}),y=b,k=t.defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}),E=k,x=t.defineComponent({name:"ArrowRight",__name:"arrow-right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}),_=x,C=t.defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}),S=C,T=t.defineComponent({name:"ArrowUp",__name:"arrow-up",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}),A=T,N=t.defineComponent({name:"Avatar",__name:"avatar",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}),B=N,M=t.defineComponent({name:"Back",__name:"back",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),t.createElementVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}),O=M,R=t.defineComponent({name:"Baseball",__name:"baseball",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),t.createElementVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}),I=R,D=t.defineComponent({name:"Basketball",__name:"basketball",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}),P=D,F=t.defineComponent({name:"BellFilled",__name:"bell-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}),V=F,z=t.defineComponent({name:"Bell",__name:"bell",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),t.createElementVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),t.createElementVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}),L=z,H=t.defineComponent({name:"Bicycle",__name:"bicycle",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),t.createElementVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),t.createElementVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}),U=H,W=t.defineComponent({name:"BottomLeft",__name:"bottom-left",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),t.createElementVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}),j=W,q=t.defineComponent({name:"BottomRight",__name:"bottom-right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),t.createElementVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}),G=q,X=t.defineComponent({name:"Bottom",__name:"bottom",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}),K=X,Y=t.defineComponent({name:"Bowl",__name:"bowl",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}),Z=Y,J=t.defineComponent({name:"Box",__name:"box",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}),Q=J,ee=t.defineComponent({name:"Briefcase",__name:"briefcase",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}),te=ee,re=t.defineComponent({name:"BrushFilled",__name:"brush-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}),ne=re,ae=t.defineComponent({name:"Brush",__name:"brush",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}),se=ae,oe=t.defineComponent({name:"Burger",__name:"burger",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}),ie=oe,le=t.defineComponent({name:"Calendar",__name:"calendar",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}),ce=le,he=t.defineComponent({name:"CameraFilled",__name:"camera-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}),fe=he,ue=t.defineComponent({name:"Camera",__name:"camera",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}),de=ue,pe=t.defineComponent({name:"CaretBottom",__name:"caret-bottom",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}),me=pe,ge=t.defineComponent({name:"CaretLeft",__name:"caret-left",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}),ve=ge,we=t.defineComponent({name:"CaretRight",__name:"caret-right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}),be=we,ye=t.defineComponent({name:"CaretTop",__name:"caret-top",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}),ke=ye,Ee=t.defineComponent({name:"Cellphone",__name:"cellphone",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}),xe=Ee,_e=t.defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}),Ce=_e,Se=t.defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}),Te=Se,Ae=t.defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),t.createElementVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}),Ne=Ae,Be=t.defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),t.createElementVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}),Me=Be,Oe=t.defineComponent({name:"ChatRound",__name:"chat-round",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}),Re=Oe,Ie=t.defineComponent({name:"ChatSquare",__name:"chat-square",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}),De=Ie,Pe=t.defineComponent({name:"Check",__name:"check",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}),Fe=Pe,Ve=t.defineComponent({name:"Checked",__name:"checked",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}),ze=Ve,Le=t.defineComponent({name:"Cherry",__name:"cherry",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}),He=Le,Ue=t.defineComponent({name:"Chicken",__name:"chicken",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}),We=Ue,je=t.defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),t.createElementVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),t.createElementVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}),$e=je,qe=t.defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),Ge=qe,Xe=t.defineComponent({name:"CircleCheck",__name:"circle-check",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}),Ke=Xe,Ye=t.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}),Ze=Ye,Je=t.defineComponent({name:"CircleClose",__name:"circle-close",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),Qe=Je,et=t.defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}),tt=et,rt=t.defineComponent({name:"CirclePlus",__name:"circle-plus",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),nt=rt,at=t.defineComponent({name:"Clock",__name:"clock",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}),st=at,ot=t.defineComponent({name:"CloseBold",__name:"close-bold",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}),it=ot,lt=t.defineComponent({name:"Close",__name:"close",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}),ct=lt,ht=t.defineComponent({name:"Cloudy",__name:"cloudy",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}),ft=ht,ut=t.defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}),dt=ut,pt=t.defineComponent({name:"Coffee",__name:"coffee",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}),mt=pt,gt=t.defineComponent({name:"Coin",__name:"coin",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),t.createElementVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}),vt=gt,wt=t.defineComponent({name:"ColdDrink",__name:"cold-drink",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}),bt=wt,yt=t.defineComponent({name:"CollectionTag",__name:"collection-tag",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}),kt=yt,Et=t.defineComponent({name:"Collection",__name:"collection",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),t.createElementVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}),xt=Et,_t=t.defineComponent({name:"Comment",__name:"comment",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}),Ct=_t,St=t.defineComponent({name:"Compass",__name:"compass",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}),Tt=St,At=t.defineComponent({name:"Connection",__name:"connection",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}),Nt=At,Bt=t.defineComponent({name:"Coordinate",__name:"coordinate",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}),Mt=Bt,Ot=t.defineComponent({name:"CopyDocument",__name:"copy-document",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}),Rt=Ot,It=t.defineComponent({name:"Cpu",__name:"cpu",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}),Dt=It,Pt=t.defineComponent({name:"CreditCard",__name:"credit-card",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),t.createElementVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}),Ft=Pt,Vt=t.defineComponent({name:"Crop",__name:"crop",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),t.createElementVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}),zt=Vt,Lt=t.defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}),Ht=Lt,Ut=t.defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}),Wt=Ut,jt=t.defineComponent({name:"DCaret",__name:"d-caret",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}),$t=jt,qt=t.defineComponent({name:"DataAnalysis",__name:"data-analysis",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}),Gt=qt,Xt=t.defineComponent({name:"DataBoard",__name:"data-board",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),t.createElementVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),t.createElementVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}),Kt=Xt,Yt=t.defineComponent({name:"DataLine",__name:"data-line",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}),Zt=Yt,Jt=t.defineComponent({name:"DeleteFilled",__name:"delete-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}),Qt=Jt,er=t.defineComponent({name:"DeleteLocation",__name:"delete-location",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}),tr=er,rr=t.defineComponent({name:"Delete",__name:"delete",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}),nr=rr,ar=t.defineComponent({name:"Dessert",__name:"dessert",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}),sr=ar,or=t.defineComponent({name:"Discount",__name:"discount",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}),ir=or,lr=t.defineComponent({name:"DishDot",__name:"dish-dot",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}),cr=lr,hr=t.defineComponent({name:"Dish",__name:"dish",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}),fr=hr,ur=t.defineComponent({name:"DocumentAdd",__name:"document-add",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}),dr=ur,pr=t.defineComponent({name:"DocumentChecked",__name:"document-checked",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}),mr=pr,gr=t.defineComponent({name:"DocumentCopy",__name:"document-copy",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}),vr=gr,wr=t.defineComponent({name:"DocumentDelete",__name:"document-delete",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}),br=wr,yr=t.defineComponent({name:"DocumentRemove",__name:"document-remove",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}),kr=yr,Er=t.defineComponent({name:"Document",__name:"document",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}),xr=Er,_r=t.defineComponent({name:"Download",__name:"download",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}),Cr=_r,Sr=t.defineComponent({name:"Drizzling",__name:"drizzling",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}),Tr=Sr,Ar=t.defineComponent({name:"EditPen",__name:"edit-pen",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}),Nr=Ar,Br=t.defineComponent({name:"Edit",__name:"edit",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),t.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}),Mr=Br,Or=t.defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}),Rr=Or,Ir=t.defineComponent({name:"Eleme",__name:"eleme",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}),Dr=Ir,Pr=t.defineComponent({name:"ElementPlus",__name:"element-plus",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}),Fr=Pr,Vr=t.defineComponent({name:"Expand",__name:"expand",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}),zr=Vr,Lr=t.defineComponent({name:"Failed",__name:"failed",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}),Hr=Lr,Ur=t.defineComponent({name:"Female",__name:"female",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}),Wr=Ur,jr=t.defineComponent({name:"Files",__name:"files",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}),$r=jr,qr=t.defineComponent({name:"Film",__name:"film",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}),Gr=qr,Xr=t.defineComponent({name:"Filter",__name:"filter",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}),Kr=Xr,Yr=t.defineComponent({name:"Finished",__name:"finished",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}),Zr=Yr,Jr=t.defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),t.createElementVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}),Qr=Jr,en=t.defineComponent({name:"Flag",__name:"flag",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}),tn=en,rn=t.defineComponent({name:"Fold",__name:"fold",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}),nn=rn,an=t.defineComponent({name:"FolderAdd",__name:"folder-add",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}),sn=an,on=t.defineComponent({name:"FolderChecked",__name:"folder-checked",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}),ln=on,cn=t.defineComponent({name:"FolderDelete",__name:"folder-delete",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}),hn=cn,fn=t.defineComponent({name:"FolderOpened",__name:"folder-opened",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}),un=fn,dn=t.defineComponent({name:"FolderRemove",__name:"folder-remove",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}),pn=dn,mn=t.defineComponent({name:"Folder",__name:"folder",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}),gn=mn,vn=t.defineComponent({name:"Food",__name:"food",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}),wn=vn,bn=t.defineComponent({name:"Football",__name:"football",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),t.createElementVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}),yn=bn,kn=t.defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}),En=kn,xn=t.defineComponent({name:"Fries",__name:"fries",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}),_n=xn,Cn=t.defineComponent({name:"FullScreen",__name:"full-screen",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}),Sn=Cn,Tn=t.defineComponent({name:"GobletFull",__name:"goblet-full",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}),An=Tn,Nn=t.defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}),Bn=Nn,Mn=t.defineComponent({name:"GobletSquare",__name:"goblet-square",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}),On=Mn,Rn=t.defineComponent({name:"Goblet",__name:"goblet",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}),In=Rn,Dn=t.defineComponent({name:"GoldMedal",__name:"gold-medal",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),t.createElementVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}),Pn=Dn,Fn=t.defineComponent({name:"GoodsFilled",__name:"goods-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}),Vn=Fn,zn=t.defineComponent({name:"Goods",__name:"goods",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}),Ln=zn,Hn=t.defineComponent({name:"Grape",__name:"grape",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}),Un=Hn,Wn=t.defineComponent({name:"Grid",__name:"grid",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}),jn=Wn,$n=t.defineComponent({name:"Guide",__name:"guide",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),t.createElementVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}),qn=$n,Gn=t.defineComponent({name:"Handbag",__name:"handbag",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}),Xn=Gn,Kn=t.defineComponent({name:"Headset",__name:"headset",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}),Yn=Kn,Zn=t.defineComponent({name:"HelpFilled",__name:"help-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}),Jn=Zn,Qn=t.defineComponent({name:"Help",__name:"help",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),ea=Qn,ta=t.defineComponent({name:"Hide",__name:"hide",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),t.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}),ra=ta,na=t.defineComponent({name:"Histogram",__name:"histogram",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}),aa=na,sa=t.defineComponent({name:"HomeFilled",__name:"home-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}),oa=sa,ia=t.defineComponent({name:"HotWater",__name:"hot-water",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}),la=ia,ca=t.defineComponent({name:"House",__name:"house",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}),ha=ca,fa=t.defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}),ua=fa,da=t.defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}),pa=da,ma=t.defineComponent({name:"IceCream",__name:"ice-cream",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}),ga=ma,va=t.defineComponent({name:"IceDrink",__name:"ice-drink",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}),wa=va,ba=t.defineComponent({name:"IceTea",__name:"ice-tea",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}),ya=ba,ka=t.defineComponent({name:"InfoFilled",__name:"info-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}),Ea=ka,xa=t.defineComponent({name:"Iphone",__name:"iphone",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}),_a=xa,Ca=t.defineComponent({name:"Key",__name:"key",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}),Sa=Ca,Ta=t.defineComponent({name:"KnifeFork",__name:"knife-fork",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}),Aa=Ta,Na=t.defineComponent({name:"Lightning",__name:"lightning",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),t.createElementVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}),Ba=Na,Ma=t.defineComponent({name:"Link",__name:"link",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}),Oa=Ma,Ra=t.defineComponent({name:"List",__name:"list",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}),Ia=Ra,Da=t.defineComponent({name:"Loading",__name:"loading",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}),Pa=Da,Fa=t.defineComponent({name:"LocationFilled",__name:"location-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}),Va=Fa,za=t.defineComponent({name:"LocationInformation",__name:"location-information",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}),La=za,Ha=t.defineComponent({name:"Location",__name:"location",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}),Ua=Ha,Wa=t.defineComponent({name:"Lock",__name:"lock",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}),ja=Wa,$a=t.defineComponent({name:"Lollipop",__name:"lollipop",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}),qa=$a,Ga=t.defineComponent({name:"MagicStick",__name:"magic-stick",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}),Xa=Ga,Ka=t.defineComponent({name:"Magnet",__name:"magnet",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}),Ya=Ka,Za=t.defineComponent({name:"Male",__name:"male",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),t.createElementVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),t.createElementVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}),Ja=Za,Qa=t.defineComponent({name:"Management",__name:"management",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}),es=Qa,ts=t.defineComponent({name:"MapLocation",__name:"map-location",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}),rs=ts,ns=t.defineComponent({name:"Medal",__name:"medal",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),t.createElementVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}),as=ns,ss=t.defineComponent({name:"Memo",__name:"memo",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),t.createElementVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}),os=ss,is=t.defineComponent({name:"Menu",__name:"menu",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}),ls=is,cs=t.defineComponent({name:"MessageBox",__name:"message-box",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}),hs=cs,fs=t.defineComponent({name:"Message",__name:"message",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),t.createElementVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}),us=fs,ds=t.defineComponent({name:"Mic",__name:"mic",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}),ps=ds,ms=t.defineComponent({name:"Microphone",__name:"microphone",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}),gs=ms,vs=t.defineComponent({name:"MilkTea",__name:"milk-tea",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}),ws=vs,bs=t.defineComponent({name:"Minus",__name:"minus",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}),ys=bs,ks=t.defineComponent({name:"Money",__name:"money",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),t.createElementVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}),Es=ks,xs=t.defineComponent({name:"Monitor",__name:"monitor",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}),_s=xs,Cs=t.defineComponent({name:"MoonNight",__name:"moon-night",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),t.createElementVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}),Ss=Cs,Ts=t.defineComponent({name:"Moon",__name:"moon",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}),As=Ts,Ns=t.defineComponent({name:"MoreFilled",__name:"more-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}),Bs=Ns,Ms=t.defineComponent({name:"More",__name:"more",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}),Os=Ms,Rs=t.defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}),Is=Rs,Ds=t.defineComponent({name:"Mouse",__name:"mouse",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}),Ps=Ds,Fs=t.defineComponent({name:"Mug",__name:"mug",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}),Vs=Fs,zs=t.defineComponent({name:"MuteNotification",__name:"mute-notification",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),t.createElementVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}),Ls=zs,Hs=t.defineComponent({name:"Mute",__name:"mute",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),t.createElementVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}),Us=Hs,Ws=t.defineComponent({name:"NoSmoking",__name:"no-smoking",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}),js=Ws,$s=t.defineComponent({name:"Notebook",__name:"notebook",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}),qs=$s,Gs=t.defineComponent({name:"Notification",__name:"notification",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),t.createElementVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}),Xs=Gs,Ks=t.defineComponent({name:"Odometer",__name:"odometer",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),t.createElementVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}),Ys=Ks,Zs=t.defineComponent({name:"OfficeBuilding",__name:"office-building",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}),Js=Zs,Qs=t.defineComponent({name:"Open",__name:"open",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),t.createElementVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}),eo=Qs,to=t.defineComponent({name:"Operation",__name:"operation",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}),ro=to,no=t.defineComponent({name:"Opportunity",__name:"opportunity",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}),ao=no,so=t.defineComponent({name:"Orange",__name:"orange",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}),oo=so,io=t.defineComponent({name:"Paperclip",__name:"paperclip",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}),lo=io,co=t.defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),t.createElementVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}),ho=co,fo=t.defineComponent({name:"Pear",__name:"pear",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}),uo=fo,po=t.defineComponent({name:"PhoneFilled",__name:"phone-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}),mo=po,go=t.defineComponent({name:"Phone",__name:"phone",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}),vo=t.defineComponent({name:"PictureFilled",__name:"picture-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}),wo=t.defineComponent({name:"PictureRounded",__name:"picture-rounded",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),t.createElementVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}),bo=t.defineComponent({name:"Picture",__name:"picture",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}),yo=t.defineComponent({name:"PieChart",__name:"pie-chart",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),t.createElementVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}),ko=t.defineComponent({name:"Place",__name:"place",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}),Eo=t.defineComponent({name:"Platform",__name:"platform",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}),xo=t.defineComponent({name:"Plus",__name:"plus",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}),_o=t.defineComponent({name:"Pointer",__name:"pointer",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}),Co=t.defineComponent({name:"Position",__name:"position",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}),So=t.defineComponent({name:"Postcard",__name:"postcard",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),t.createElementVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),To=t.defineComponent({name:"Pouring",__name:"pouring",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}),Ao=t.defineComponent({name:"Present",__name:"present",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),t.createElementVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),t.createElementVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}),No=t.defineComponent({name:"PriceTag",__name:"price-tag",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}),Bo=t.defineComponent({name:"Printer",__name:"printer",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}),Mo=t.defineComponent({name:"Promotion",__name:"promotion",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}),Oo=t.defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),t.createElementVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}),Ro=t.defineComponent({name:"QuestionFilled",__name:"question-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}),Io=t.defineComponent({name:"Rank",__name:"rank",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}),Do=t.defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),t.createElementVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}),Po=t.defineComponent({name:"Reading",__name:"reading",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}),Fo=t.defineComponent({name:"RefreshLeft",__name:"refresh-left",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}),Vo=t.defineComponent({name:"RefreshRight",__name:"refresh-right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}),zo=t.defineComponent({name:"Refresh",__name:"refresh",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}),Lo=t.defineComponent({name:"Refrigerator",__name:"refrigerator",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}),Ho=t.defineComponent({name:"RemoveFilled",__name:"remove-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}),Uo=t.defineComponent({name:"Remove",__name:"remove",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),Wo=t.defineComponent({name:"Right",__name:"right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}),jo=t.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}),$o=t.defineComponent({name:"School",__name:"school",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}),qo=t.defineComponent({name:"Scissor",__name:"scissor",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}),Go=t.defineComponent({name:"Search",__name:"search",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}),Xo=t.defineComponent({name:"Select",__name:"select",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}),Ko=t.defineComponent({name:"Sell",__name:"sell",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}),Yo=t.defineComponent({name:"SemiSelect",__name:"semi-select",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}),Zo=t.defineComponent({name:"Service",__name:"service",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}),Jo=t.defineComponent({name:"SetUp",__name:"set-up",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),t.createElementVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),Qo=t.defineComponent({name:"Setting",__name:"setting",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}),ei=t.defineComponent({name:"Share",__name:"share",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}),ti=t.defineComponent({name:"Ship",__name:"ship",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}),ri=t.defineComponent({name:"Shop",__name:"shop",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}),ni=t.defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),t.createElementVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}),ai=t.defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),t.createElementVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}),si=t.defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}),oi=t.defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}),ii=t.defineComponent({name:"Smoking",__name:"smoking",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}),li=t.defineComponent({name:"Soccer",__name:"soccer",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}),ci=t.defineComponent({name:"SoldOut",__name:"sold-out",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}),hi=t.defineComponent({name:"SortDown",__name:"sort-down",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}),fi=t.defineComponent({name:"SortUp",__name:"sort-up",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}),ui=t.defineComponent({name:"Sort",__name:"sort",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}),di=t.defineComponent({name:"Stamp",__name:"stamp",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}),pi=t.defineComponent({name:"StarFilled",__name:"star-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}),mi=t.defineComponent({name:"Star",__name:"star",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}),gi=t.defineComponent({name:"Stopwatch",__name:"stopwatch",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),t.createElementVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}),vi=t.defineComponent({name:"SuccessFilled",__name:"success-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}),wi=t.defineComponent({name:"Sugar",__name:"sugar",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}),bi=t.defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}),yi=t.defineComponent({name:"Suitcase",__name:"suitcase",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),t.createElementVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}),ki=t.defineComponent({name:"Sunny",__name:"sunny",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}),Ei=t.defineComponent({name:"Sunrise",__name:"sunrise",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}),xi=t.defineComponent({name:"Sunset",__name:"sunset",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}),_i=t.defineComponent({name:"SwitchButton",__name:"switch-button",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}),Ci=t.defineComponent({name:"SwitchFilled",__name:"switch-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),t.createElementVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}),Si=t.defineComponent({name:"Switch",__name:"switch",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}),Ti=t.defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}),Ai=t.defineComponent({name:"Ticket",__name:"ticket",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}),Ni=t.defineComponent({name:"Tickets",__name:"tickets",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}),Bi=t.defineComponent({name:"Timer",__name:"timer",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}),Mi=t.defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),t.createElementVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}),Oi=t.defineComponent({name:"Tools",__name:"tools",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}),Ri=t.defineComponent({name:"TopLeft",__name:"top-left",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),t.createElementVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}),Ii=t.defineComponent({name:"TopRight",__name:"top-right",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),t.createElementVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}),Di=t.defineComponent({name:"Top",__name:"top",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}),Pi=t.defineComponent({name:"TrendCharts",__name:"trend-charts",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}),Fi=t.defineComponent({name:"TrophyBase",__name:"trophy-base",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}),Vi=t.defineComponent({name:"Trophy",__name:"trophy",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}),zi=t.defineComponent({name:"TurnOff",__name:"turn-off",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),t.createElementVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}),Li=t.defineComponent({name:"Umbrella",__name:"umbrella",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}),Hi=t.defineComponent({name:"Unlock",__name:"unlock",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),t.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}),Ui=t.defineComponent({name:"UploadFilled",__name:"upload-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}),Wi=t.defineComponent({name:"Upload",__name:"upload",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}),ji=t.defineComponent({name:"UserFilled",__name:"user-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}),$i=t.defineComponent({name:"User",__name:"user",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}),qi=t.defineComponent({name:"Van",__name:"van",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}),Gi=t.defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}),Xi=t.defineComponent({name:"VideoCamera",__name:"video-camera",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}),Ki=t.defineComponent({name:"VideoPause",__name:"video-pause",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}),Yi=t.defineComponent({name:"VideoPlay",__name:"video-play",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}),Zi=t.defineComponent({name:"View",__name:"view",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}),Ji=t.defineComponent({name:"WalletFilled",__name:"wallet-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}),Qi=t.defineComponent({name:"Wallet",__name:"wallet",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),t.createElementVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}),el=t.defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}),tl=t.defineComponent({name:"WarningFilled",__name:"warning-filled",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}),rl=t.defineComponent({name:"Warning",__name:"warning",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}),nl=t.defineComponent({name:"Watch",__name:"watch",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),t.createElementVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}),al=t.defineComponent({name:"Watermelon",__name:"watermelon",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}),sl=t.defineComponent({name:"WindPower",__name:"wind-power",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}),ol=t.defineComponent({name:"ZoomIn",__name:"zoom-in",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}),il=t.defineComponent({name:"ZoomOut",__name:"zoom-out",setup:e=>(e,r)=>(t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[t.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))});const ll=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:o,Aim:l,AlarmClock:h,Apple:u,ArrowDown:g,ArrowDownBold:p,ArrowLeft:y,ArrowLeftBold:w,ArrowRight:_,ArrowRightBold:E,ArrowUp:A,ArrowUpBold:S,Avatar:B,Back:O,Baseball:I,Basketball:P,Bell:L,BellFilled:V,Bicycle:U,Bottom:K,BottomLeft:j,BottomRight:G,Bowl:Z,Box:Q,Briefcase:te,Brush:se,BrushFilled:ne,Burger:ie,Calendar:ce,Camera:de,CameraFilled:fe,CaretBottom:me,CaretLeft:ve,CaretRight:be,CaretTop:ke,Cellphone:xe,ChatDotRound:Ce,ChatDotSquare:Te,ChatLineRound:Ne,ChatLineSquare:Me,ChatRound:Re,ChatSquare:De,Check:Fe,Checked:ze,Cherry:He,Chicken:We,ChromeFilled:$e,CircleCheck:Ke,CircleCheckFilled:Ge,CircleClose:Qe,CircleCloseFilled:Ze,CirclePlus:nt,CirclePlusFilled:tt,Clock:st,Close:ct,CloseBold:it,Cloudy:ft,Coffee:mt,CoffeeCup:dt,Coin:vt,ColdDrink:bt,Collection:xt,CollectionTag:kt,Comment:Ct,Compass:Tt,Connection:Nt,Coordinate:Mt,CopyDocument:Rt,Cpu:Dt,CreditCard:Ft,Crop:zt,DArrowLeft:Ht,DArrowRight:Wt,DCaret:$t,DataAnalysis:Gt,DataBoard:Kt,DataLine:Zt,Delete:nr,DeleteFilled:Qt,DeleteLocation:tr,Dessert:sr,Discount:ir,Dish:fr,DishDot:cr,Document:xr,DocumentAdd:dr,DocumentChecked:mr,DocumentCopy:vr,DocumentDelete:br,DocumentRemove:kr,Download:Cr,Drizzling:Tr,Edit:Mr,EditPen:Nr,Eleme:Dr,ElemeFilled:Rr,ElementPlus:Fr,Expand:zr,Failed:Hr,Female:Wr,Files:$r,Film:Gr,Filter:Kr,Finished:Zr,FirstAidKit:Qr,Flag:tn,Fold:nn,Folder:gn,FolderAdd:sn,FolderChecked:ln,FolderDelete:hn,FolderOpened:un,FolderRemove:pn,Food:wn,Football:yn,ForkSpoon:En,Fries:_n,FullScreen:Sn,Goblet:In,GobletFull:An,GobletSquare:On,GobletSquareFull:Bn,GoldMedal:Pn,Goods:Ln,GoodsFilled:Vn,Grape:Un,Grid:jn,Guide:qn,Handbag:Xn,Headset:Yn,Help:ea,HelpFilled:Jn,Hide:ra,Histogram:aa,HomeFilled:oa,HotWater:la,House:ha,IceCream:ga,IceCreamRound:ua,IceCreamSquare:pa,IceDrink:wa,IceTea:ya,InfoFilled:Ea,Iphone:_a,Key:Sa,KnifeFork:Aa,Lightning:Ba,Link:Oa,List:Ia,Loading:Pa,Location:Ua,LocationFilled:Va,LocationInformation:La,Lock:ja,Lollipop:qa,MagicStick:Xa,Magnet:Ya,Male:Ja,Management:es,MapLocation:rs,Medal:as,Memo:os,Menu:ls,Message:us,MessageBox:hs,Mic:ps,Microphone:gs,MilkTea:ws,Minus:ys,Money:Es,Monitor:_s,Moon:As,MoonNight:Ss,More:Os,MoreFilled:Bs,MostlyCloudy:Is,Mouse:Ps,Mug:Vs,Mute:Us,MuteNotification:Ls,NoSmoking:js,Notebook:qs,Notification:Xs,Odometer:Ys,OfficeBuilding:Js,Open:eo,Operation:ro,Opportunity:ao,Orange:oo,Paperclip:lo,PartlyCloudy:ho,Pear:uo,Phone:go,PhoneFilled:mo,Picture:bo,PictureFilled:vo,PictureRounded:wo,PieChart:yo,Place:ko,Platform:Eo,Plus:xo,Pointer:_o,Position:Co,Postcard:So,Pouring:To,Present:Ao,PriceTag:No,Printer:Bo,Promotion:Mo,QuartzWatch:Oo,QuestionFilled:Ro,Rank:Io,Reading:Po,ReadingLamp:Do,Refresh:zo,RefreshLeft:Fo,RefreshRight:Vo,Refrigerator:Lo,Remove:Uo,RemoveFilled:Ho,Right:Wo,ScaleToOriginal:jo,School:$o,Scissor:qo,Search:Go,Select:Xo,Sell:Ko,SemiSelect:Yo,Service:Zo,SetUp:Jo,Setting:Qo,Share:ei,Ship:ti,Shop:ri,ShoppingBag:ni,ShoppingCart:si,ShoppingCartFull:ai,ShoppingTrolley:oi,Smoking:ii,Soccer:li,SoldOut:ci,Sort:ui,SortDown:hi,SortUp:fi,Stamp:di,Star:mi,StarFilled:pi,Stopwatch:gi,SuccessFilled:vi,Sugar:wi,Suitcase:yi,SuitcaseLine:bi,Sunny:ki,Sunrise:Ei,Sunset:xi,Switch:Si,SwitchButton:_i,SwitchFilled:Ci,TakeawayBox:Ti,Ticket:Ai,Tickets:Ni,Timer:Bi,ToiletPaper:Mi,Tools:Oi,Top:Di,TopLeft:Ri,TopRight:Ii,TrendCharts:Pi,Trophy:Vi,TrophyBase:Fi,TurnOff:zi,Umbrella:Li,Unlock:Hi,Upload:Wi,UploadFilled:Ui,User:$i,UserFilled:ji,Van:qi,VideoCamera:Xi,VideoCameraFilled:Gi,VideoPause:Ki,VideoPlay:Yi,View:Zi,Wallet:Qi,WalletFilled:Ji,WarnTriangleFilled:el,Warning:rl,WarningFilled:tl,Watch:nl,Watermelon:al,WindPower:sl,ZoomIn:ol,ZoomOut:il},Symbol.toStringTag,{value:"Module"})),cl={class:"right-box-2"},hl=["onClick"],fl=(e,t)=>{const r=e.__vccOpts||e;for(const[n,a]of t)r[n]=a;return r},ul=fl(t.defineComponent({__name:"videoRightMenu",props:{rightMenus:{type:Array,default:()=>[]},sacle_x:{type:Number,default:1},sacle_y:{type:Number,default:1}},setup(e,{expose:r}){const n=e;const a=t.reactive({rightShow:!1,rightTargetData:null,rightStyle:{left:"0px",top:"0px",maxHeight:"0px"}});return r({right_showMenu:function(e,r){a.rightTargetData=e;const s=r||window.event;a.rightStyle.left=s.clientX/n.sacle_x+1+"px",a.rightStyle.top=s.clientY/n.sacle_y+"px",a.rightShow=!0,t.nextTick((function(){var e,t;const r=null==(e=document.querySelector(".right-box-2"))?void 0:e.offsetHeight;a.rightStyle.maxHeight=r+"px",null==(t=document.querySelector(".right-box"))||t.focus()}))}}),(r,n)=>t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:"right-box",style:t.normalizeStyle(a.rightStyle),tabindex:"-1",onBlur:n[0]||(n[0]=e=>{a.rightStyle.maxHeight="0px"})},[t.createElementVNode("div",cl,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.rightMenus,((e,r)=>(t.openBlock(),t.createElementBlock("div",{key:r,onClick:()=>{var t,r;a.rightStyle.maxHeight="0px",a.rightShow=!1,null==(r=null==(t=e)?void 0:t.callback)||r.call(t,a.rightTargetData)}},t.toDisplayString(null==e?void 0:e.name),9,hl)))),128))])],36)),[[t.vShow,a.rightShow]])}}),[["__scopeId","data-v-644f5340"]]),dl={class:"split-icon-container"},pl=["onClick"],ml={class:"video-view-bg"},gl=fl(t.defineComponent({__name:"SplitIcon",props:{type:{type:Number,default:1},width:{type:String,default:"20px"},height:{type:String,default:"20px"},isVideo:{type:Boolean,default:!1}},setup(e){t.useCssVars((e=>({"5a2a7a44":t.unref(i),"5a2a7a62":t.unref(l),"6f72a330":f.value,"6ce9eb3a":p.value})));const r=e,n=t.inject("videoUrlKey"),a=t.inject("activeIndex"),s=t.inject("fouceIndex"),o=t.inject("videoInfos"),i=r.width,l=r.height,c=t.ref(!1),h=t.ref(!1),f=t.ref("100%"),u=t.ref(1),d=t.ref(!1);const p=t.ref("100%");return t.watch((()=>a.value),(()=>{d.value=a.value==r.type,p.value=(100/Number(a.value)).toFixed(2)+"%"}),{immediate:!0}),t.watch((()=>r.type),(()=>{1==r.type?(c.value=!0,r.isVideo&&(h.value=!0)):h.value=!1,u.value=Math.pow(r.type,2),f.value=(100/r.type).toFixed(2)+"%";const e=new Array(u.value).fill(null).map(((e,t)=>({index:t,[n]:""})));s.value=0,o.value=e}),{immediate:!0}),t.onMounted((()=>{r.isVideo})),(i,l)=>(t.openBlock(),t.createElementBlock("div",dl,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.isVideo?t.unref(o):u.value,(o=>{return t.openBlock(),t.createElementBlock("div",{key:o,class:t.normalizeClass(["icon-item",c.value?"first":"",d.value?"active":"",e.isVideo?"video":"",h.value?"only-one":"",(l=o.index,r.isVideo&&s.value==l?"fouce":"")]),onClick:e=>function(e){r.isVideo?s.value=e:a.value=r.type}(o.index)},[t.createElementVNode("div",ml,[e.isVideo?t.renderSlot(i.$slots,"video-view-slot",{key:0,index:o.index,url:o[t.unref(n)],info:null==o?void 0:o.info},void 0,!0):t.createCommentVNode("",!0)])],10,pl);var l})),128))]))}}),[["__scopeId","data-v-5efe1bd4"]]),vl={class:"split-box"},wl=["onClick"],bl=fl(t.defineComponent({__name:"index",props:{videoSplitUseIcon:{type:Boolean,default:!1}},setup(e){const r=(e,t)=>{let r="";return 0==e?r="icon-yiping":1==e?r="icon-siping":2==e&&(r="icon-jiuping"),t!=e+1&&(r+="-moren"),r},n=t.ref(3),a=t.inject("activeIndex");return(s,o)=>(t.openBlock(),t.createElementBlock("div",vl,[o[1]||(o[1]=t.createElementVNode("span",{class:"split-text"},"分屏:",-1)),e.videoSplitUseIcon?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},t.renderList(3,((e,n)=>t.createElementVNode("i",{key:n,class:t.normalizeClass(["martrix_iconfont",r(n,t.unref(a))]),onClick:e=>a.value=n+1},null,10,wl))),64)):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(n.value,(e=>(t.openBlock(),t.createBlock(gl,{type:e,key:e,activeIndex:t.unref(a),"onUpdate:activeIndex":o[0]||(o[0]=e=>t.isRef(a)?a.value=e:null)},null,8,["type","activeIndex"])))),128))]))}}),[["__scopeId","data-v-e9d24ad3"]]),yl=fl(t.defineComponent({__name:"EasyPlay",props:{videoUrl:{type:String,default:""},hasAudio:{type:Boolean,default:!1},MSE:{type:Boolean,default:!0},WCS:{type:Boolean,default:!0},WASM:{type:Boolean,default:!0},WASMSIMD:{type:Boolean,default:!0},loadTimeReplay:{type:Number,default:3},isLive:{type:Boolean,default:!0},digitalZoom:{type:Boolean,default:!0},stretch:{type:Boolean,default:!0},watermark:{type:String,default:""},playerIndex:{type:Number,default:-1}},emits:["dblclick","error","urlError"],setup(e,{emit:r}){const n=e,a=r,s=(t.inject("videoModel"),t.ref()),o=t.ref(),i=t.reactive({config:{hasAudio:!0,isLive:!0,MSE:!1,WCS:!1},isPlay:!1});function l(e){i.isPlay=!0,setTimeout((e=>{o.value&&o.value.play(e).then((()=>{})).catch((e=>{a("urlError")}))}),200,e)}function c(){try{return new Promise((e=>{try{o.value&&(o.value.destroy(),o.value=null)}catch(t){}setTimeout((()=>{e()}),100)}))}catch(e){setTimeout((()=>{resolve()}),100)}}function h(e){o.value=new EasyPlayerPro(e,{stretch:!n.stretch,MSE:n.MSE,WCS:n.WCS,WASM:n.WASM,WASMSIMD:n.WASMSIMD,isLive:n.isLive,loadTimeReplay:-1,hasAudio:n.hasAudio,bufferTime:3}),o.value.on("timeout",(()=>{f()})),o.value.on("error",(()=>{f()})),f()}function f(){setTimeout((async()=>{const e=s.value;await t.nextTick(),e.querySelector(".easyplayer-loading-text")&&(e.querySelector(".easyplayer-loading-text").innerHTML="加载中...");const r=e.querySelector(".easyplayer-controls-right"),n=null==r?void 0:r.querySelector(".easyplayer-controls-item-wrap:last-child");if(n){const e=document.createElement("span");e.setAttribute("title","全屏"),e.innerHTML="全屏",e.style.marginLeft="8px",e.style.fontSize="14px",e.style.zoom="0.8",e.style.position="relative",e.style.top="-1px",e.addEventListener("click",u),n.replaceChildren(e)}}),200)}function u(){a("dblclick",n.playerIndex)}return t.watch((()=>n.videoUrl),(async e=>{var r;e?(r=e,c().then((()=>{setTimeout((()=>{try{!async function(e){let r=s.value;r?(h(r),l(e)):setTimeout((async()=>{r=s.value,await t.nextTick(),h(r),l(e)}),500)}(r)}catch(e){}}),200)}))):await c()}),{immediate:!0}),t.onUnmounted((()=>{c()})),(e,r)=>(t.openBlock(),t.createElementBlock("div",{class:"easy-player-view",ref_key:"easyRef",ref:s},null,512))}}),[["__scopeId","data-v-a16a34ed"]]);class kl{constructor(e){this.hkVideoInfo=t.reactive({open:!1,player:null,splitNum:e.splitNum||1,width:e.width||"500px",height:e.height||"500px",mode:e.mode||1}),this.createPlayer(e)}createPlayer(e){this.hkVideoInfo.player=new window.JSPlugin({szId:e.divId,szBasePath:e.szBasePath,iMaxSplit:1,iCurrentSplit:1,openDebug:!0,oStyle:{borderSelect:"none"}}),window.addEventListener("resize",(()=>{this.hkVideoInfo.player.JS_Resize()})),this.hkVideoInfo.player.JS_SetConnectTimeOut(this.hkVideoInfo.player.currentWindowIndex,6e3).then((()=>{}),(e=>{})),this.hkVideoInfo.player.JS_SetWindowControlCallback({windowEventSelect:function(t){e.windowEventSelect&&e.windowEventSelect(t)},pluginErrorHandler:function(t,r,n){e.pluginErrorHandler&&e.pluginErrorHandler(t)},windowEventOver:function(e){},windowEventOut:function(e){},windowEventUp:function(e){},windowFullCcreenChange:function(e){},firstFrameDisplay:function(t,r,n){e.firstFrameDisplay&&e.firstFrameDisplay(t,r,n)},performanceLack:function(){}})}realplay(e,t){this.hkVideoInfo.player.JS_Play(e,{playURL:e,mode:this.hkVideoInfo.mode},t).then((()=>{}),(e=>{}))}stop(e){this.hkVideoInfo.player.JS_Stop(e).then((()=>{}),(e=>{}))}stopAll(){this.hkVideoInfo.player.JS_StopRealPlayAll().then((()=>{}),(e=>{}))}changeSplitNum(e){this.hkVideoInfo.player.JS_ArrangeWindow(e).then((()=>{}),(e=>{}))}wholeFullScreen(){this.hkVideoInfo.player.JS_FullScreenDisplay(!0).then((()=>{}),(e=>{}))}reSize(e,t){this.hkVideoInfo.player.JS_Resize(e,t)}}const El=["id"],xl=["id"],_l={class:"video-mask","element-loading-text":"加载中..."},Cl=fl(t.defineComponent({__name:"HKPlay",props:{hkPath:{type:Object,default:null},splitNum:{type:Number,default:1},videoList:{type:Array},videoUrl:{type:String,default:""},playerIndex:{type:Number,default:-1}},emits:["dblclick","error","urlError"],setup(e,{expose:r,emit:n}){const a=parseInt(999999999*Math.random()+""),s=t.inject("hkPath"),o=(t.inject("videoModel"),n),i=e,l=t.ref();t.ref();const c=t.ref(1),h=t.ref(-1),f=t.ref(),u=t.ref(null),d=t.ref([]),p=t.ref(!0);t.ref(""),t.ref("0");const m=t.ref(!1),g=t.ref(),v=t.ref(!0);function w(){m.value=!0,g.value&&clearTimeout(g.value)}function b(){g.value=setTimeout((()=>{m.value=!1}),1e3)}function y(){o("dblclick",i.playerIndex)}t.watch((()=>i.videoUrl),(e=>{var r;r=e,t.nextTick((()=>{h.value=C(),f.value||k(),t.nextTick((()=>{f.value?f.value.realplay(r,h.value):setTimeout((()=>{f.value.realplay(r,h.value)}),200)}))}))}),{immediate:!0}),t.onMounted((()=>{h.value=-1,d.value=[],p.value=!0,c.value=i.splitNum,t.nextTick((()=>{k()})),setTimeout((()=>{v.value=!1}),3e4)})),t.onBeforeUnmount((()=>{T()}));const k=async()=>{const{divId:e,clientWidth:t,clientHeight:r}=S();f.value=new kl({divId:e,splitNum:1,width:t,height:r,szBasePath:i.hkPath||s,windowEventSelect:E,pluginErrorHandler:x,firstFrameDisplay:_})};const E=e=>{1!==c.value&&(h.value=e,p.value=!1)},x=e=>{v.value=!1},_=(e,t,r)=>{v.value=!1},C=()=>{const e=c.value*c.value;return 1===c.value?0:p.value?h.value<e-1?h.value+1:e-1:h.value},S=()=>({divId:`hk-${a}`,clientWidth:document.getElementById(`parent-hk-${a}`).clientWidth,clientHeight:document.getElementById(`parent-hk-${a}`).clientHeight}),T=()=>{A(),d.value=[]},A=()=>{f.value&&f.value.stopAll(),f.value=null};return r({splitNum:c,closeAllVideo:T,resize:()=>{t.nextTick((()=>{const e=S();null!=f.value&&f.value.reSize(e.clientWidth,e.clientHeight),null!=u.value&&u.value.reSize(e.clientWidth,e.clientHeight)}))},changeIndex:E}),(e,r)=>{const n=t.resolveDirective("loading");return t.openBlock(),t.createElementBlock("div",{class:"rv-container",id:`parent-hk-${t.unref(a)}`,onMouseover:w,onMouseleave:b},[t.createElementVNode("div",{class:"video-container",id:`hk-${t.unref(a)}`},null,8,xl),t.withDirectives(t.createElementVNode("div",_l,null,512),[[n,v.value]]),t.withDirectives(t.createElementVNode("div",{ref_key:"videoBtnRef",ref:l,class:"video-button",style:{position:"absolute",bottom:"0",left:"0",width:"100%",background:"rgba(255, 255, 255, 0.3)"}},[t.createElementVNode("div",{style:{display:"flex","align-items":"center","justify-content":"flex-end",width:"100%",height:"100%"}},[t.createElementVNode("span",{title:"全屏",class:"full-title",onClick:y},"全屏")])],512),[[t.vShow,m.value]])],40,El)}}}),[["__scopeId","data-v-1eefdd1d"]]),Sl={class:"split-box"},Tl=["onMouseover","onMouseleave"],Al={key:0,class:"no-signal"},Nl={key:2,class:"ctrl-box"},Bl={class:"ctrl-left"},Ml={class:"ctrl-btn-speed"},Ol={class:"ctrl-right"},Rl=fl(t.defineComponent({__name:"index",props:{videoErrorMaxCount:{type:Number,default:3},videoConfig:{type:Object,default:()=>{}}},emits:["removeVideo","errorVideo","urlError"],setup(e,{emit:r}){const n=t.ref({easyplayer:{name:"easyplayer",player:yl},hk:{name:"hk",player:Cl}}),a=t.inject("videoModel"),s=t.inject("activeIndex"),o=t.inject("videoCtrlFun"),i=t.inject("showVideoCtrls"),l=t.inject("slidValue"),c=r,h=t.ref({}),f=t.ref({}),u=t.ref([]),d=t.inject("showClose")+""=="true",p=t.ref(!1);function m(e){var t,r,s,o;return(null==e?void 0:e.videoModel)?null==(r=null==(t=n.value)?void 0:t[e.videoModel])?void 0:r.player:null==(o=null==(s=n.value)?void 0:s[a])?void 0:o.player}let g=!1;const v=t.ref(!1),w=t.ref();function b(e,t){var r,n,a,s,i,c,h,f,u,d;g=!0,w.value=t,"left"===e?null==(r=null==o?void 0:o.toLeft)||r.call(o,t):"right"===e?null==(n=null==o?void 0:o.toRight)||n.call(o,t):"top"===e?null==(a=null==o?void 0:o.toTop)||a.call(o,t):"bottom"===e?null==(s=null==o?void 0:o.toBottom)||s.call(o,t):"zoom-in"===e?null==(i=null==o?void 0:o.changeZoom)||i.call(o,t,1,l.value):"zoom-out"===e?null==(c=null==o?void 0:o.changeZoom)||c.call(o,t,-1,l.value):"speak"===e?(v.value=!0,null==(h=null==o?void 0:o.toSpeak)||h.call(o,t)):"scan"===e?null==(f=null==o?void 0:o.toScan)||f.call(o,t):"cruise"===e?null==(u=null==o?void 0:o.toCruise)||u.call(o,t):"call"===e&&(null==(d=null==o?void 0:o.toCall)||d.call(o,t))}function y(){var e;g&&(null==(e=null==o?void 0:o.stop)||e.call(o,w.value)),g=!1,v.value=!1,w.value=null}function k(e){var t,r;let n=null;try{n=null==e?void 0:e.currentTarget}catch(a){}n||(n=null==(t=h.value)?void 0:t[e]),document.fullscreenElement?(p.value=!1,null==(r=null==document?void 0:document.exitFullscreen)||r.call(document)):(p.value=!0,n&&n.requestFullscreen())}function E(){document.fullscreenElement?p.value=!0:p.value=!1,t.nextTick((()=>{const e=document.querySelectorAll('[title="全屏"]');p.value?e.forEach((e=>{e.innerHTML="退出全屏"})):e.forEach((e=>{e.innerHTML="全屏"}))}))}return t.onMounted((()=>{document.addEventListener("fullscreenchange",E),document.addEventListener("mouseup",y)})),t.onUnmounted((()=>{document.removeEventListener("fullscreenchange",E),document.removeEventListener("mouseup",y)})),(r,n)=>{const a=t.resolveComponent("el-button"),g=t.resolveComponent("CaretLeft"),w=t.resolveComponent("el-icon"),y=t.resolveComponent("CaretTop"),E=t.resolveComponent("CaretRight"),x=t.resolveComponent("CaretBottom"),_=t.resolveComponent("Microphone"),C=t.resolveComponent("el-slider"),S=t.resolveComponent("ZoomIn"),T=t.resolveComponent("ZoomOut"),A=t.resolveComponent("Files"),N=t.resolveComponent("MapLocation"),B=t.resolveComponent("VideoCamera");return t.openBlock(),t.createElementBlock("div",Sl,[t.createVNode(gl,{type:t.unref(s),activeIndex:t.unref(s),"onUpdate:activeIndex":n[1]||(n[1]=e=>t.isRef(s)?s.value=e:null),width:"100%",height:"100%",isVideo:!0},{"video-view-slot":t.withCtx((({index:r,url:M,info:O})=>[t.createElementVNode("div",{class:"live-player-box",ref:e=>function(e,t){e&&(h.value[t]=e)}(e,r),onDblclick:k,onMouseover:e=>function(e){u.value[e]=!0}(r),onMouseleave:e=>function(e){u.value[e]=!1}(r)},[M?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(m(O)),{key:1,ref:e=>function(e,t){e&&(f.value[t]=e)}(e,r),videoUrl:M,MSE:e.videoConfig.MSE,WCS:e.videoConfig.WCS,WASM:e.videoConfig.WASM,WASMSIMD:e.videoConfig.WASMSIMD,loadTimeReplay:e.videoErrorMaxCount,stretch:e.videoConfig.stretch,hasAudio:e.videoConfig.hasAudio,isLive:e.videoConfig.isLive,playerIndex:r,hkPath:null==O?void 0:O.hkPath,onDblclick:k,onError:e=>function(e,t){c("errorVideo",t,!1)}(0,r),onUrlError:e=>function(e,t){c("urlError",t)}(0,r)},null,40,["videoUrl","MSE","WCS","WASM","WASMSIMD","loadTimeReplay","stretch","hasAudio","isLive","playerIndex","hkPath","onError","onUrlError"])):(t.openBlock(),t.createElementBlock("span",Al,"无信号")),t.withDirectives(t.createVNode(a,{onClick:e=>function(e){c("removeVideo",e,!1),p.value=!1}(r),type:"info",class:"close-btn"},{default:t.withCtx((()=>n[2]||(n[2]=[t.createTextVNode("关闭")]))),_:2},1032,["onClick"]),[[t.vShow,u.value[r]&&!!M&&d]]),t.unref(i)?t.withDirectives((t.openBlock(),t.createElementBlock("div",Nl,[t.createElementVNode("div",Bl,[t.createVNode(w,{class:"ctrl-btn left",onMousedown:e=>b("left",O)},{default:t.withCtx((()=>[t.createVNode(g)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn top",onMousedown:e=>b("top",O)},{default:t.withCtx((()=>[t.createVNode(y)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn right",onMousedown:e=>b("right",O)},{default:t.withCtx((()=>[t.createVNode(E)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn bottom",onMousedown:e=>b("bottom",O)},{default:t.withCtx((()=>[t.createVNode(x)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:t.normalizeClass(["ctrl-btn speak",[v.value?"running":""]]),onMousedown:e=>b("speak",O)},{default:t.withCtx((()=>[t.createVNode(_)])),_:2},1032,["class","onMousedown"]),t.createElementVNode("div",Ml,[n[3]||(n[3]=t.createElementVNode("span",{class:"speed-title"},"速度:",-1)),t.createVNode(C,{class:"slid-btn",modelValue:t.unref(l),"onUpdate:modelValue":n[0]||(n[0]=e=>t.isRef(l)?l.value=e:null),step:5,max:255,"show-tooltip":!1,onChange:e=>function(e){var t;null==(t=null==o?void 0:o.speed)||t.call(o,e,l.value)}(O)},null,8,["modelValue","onChange"])])]),t.createElementVNode("div",Ol,[t.createVNode(w,{class:"ctrl-btn zoom-in",onMousedown:e=>b("zoom-in",O)},{default:t.withCtx((()=>[t.createVNode(S)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn zoom-out",onMousedown:e=>b("zoom-out",O)},{default:t.withCtx((()=>[t.createVNode(T)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn scan",onMousedown:e=>b("scan",O)},{default:t.withCtx((()=>[t.createVNode(A)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn cruise",onMousedown:e=>b("cruise",O)},{default:t.withCtx((()=>[t.createVNode(N)])),_:2},1032,["onMousedown"]),t.createVNode(w,{class:"ctrl-btn call",onMousedown:e=>b("call",O)},{default:t.withCtx((()=>[t.createVNode(B)])),_:2},1032,["onMousedown"])])],512)),[[t.vShow,(1==t.unref(s)||p.value)&&u.value[r]&&!!M]]):t.createCommentVNode("",!0)],40,Tl)])),_:1},8,["type","activeIndex"])])}}}),[["__scopeId","data-v-b76734f0"]]),Il={fnUrl:"http://199.10.11.47:9091/videoTest/wvpFunction",commandUrl:"http://199.10.11.47:9091/videoTest/wvpMove",speakUrl:"http://199.10.11.47:19091/videoTest/wvpSpeak"},Dl={class:"video-player-view"},Pl={class:"video-tree"},Fl={class:"player-container"},Vl=fl(t.defineComponent({__name:"index",props:{videoModel:{type:String,default:"easyplayer"},hkPath:{type:String,default:"/js/h5player"},showClose:{type:Boolean,default:!0},showTree:{type:Boolean,default:!0},treeData:{type:Array,default:()=>[],required:!0},treeNodeKey:{type:String,default:"label"},treeExpandedKeys:{type:Array,default:()=>[]},treeOptions:{type:Object,default:()=>({icontype:"icontype",background:"background",videoUrlKey:"url",children:"children",label:"label"})},showVideoSplit:{type:Boolean,default:!0},videoSplitUseIcon:{type:Boolean,default:!0},showVideoCtrls:{type:Boolean,default:!1},stopVideoCtrlMethods:{type:Boolean,default:!1},videoSplitType:{type:Number,default:1},videoPlayModel:{type:Number,default:1},videoErrorMaxCount:{type:Number,default:3},videoConfig:{type:Object,default:()=>({MSE:!0,WCS:!0,WASM:!0,WASMSIMD:!0,isLive:!0,hasAudio:!1,stretch:!0})},videoInfos:{type:Array,default:()=>[{index:0}]},videoSingleUrl:{type:Boolean,default:!1},videoSingleClose:{type:Boolean,default:!1},hasVideoRightMenu:{type:Boolean,default:!1},callbackContinueExecute:{type:Boolean,default:!0},treeClick:{type:Function,default:null},treeDBClick:{type:Function,default:null},treeRightMenu:{type:Function,default:null},treeExpand:{type:Function,default:null},videoError:{type:Function,default:null}},emits:["up","down","left","right","zoomin","zoomout","stop","speed","speak","scan","cruise","call","changeSplit"],setup(e,{expose:r,emit:n}){const a=e,s=t.ref();let o={};const i=n,l=t.ref(a.videoSplitType),c=t.ref(0),h=t.ref(50),f={speed:(e,t)=>{d("speed",e,t)},toTop:e=>{d("up",e)},toBottom:e=>{d("down",e)},toLeft:e=>{d("left",e)},toRight:e=>{d("right",e)},stop:e=>{d("stop",e)},changeZoom:(e,t,r)=>{t>0?d("zoomin",e,r):t<0&&d("zoomout",e,r)},toSpeak:e=>{!function(e,t,r=null){if(i(e,t,r),a.stopVideoCtrlMethods)return;const n=m({url:" ",deviceId:(null==t?void 0:t.deviceId)?t.deviceId:"",channelId:(null==t?void 0:t.channelId)?t.channelId:""});fetch(`${null==Il?void 0:Il.speakUrl}?${n}`)}("speak",e)},toScan:e=>{u("scan",e)},toCruise:e=>{u("cruise",e)},toCall:e=>{u("call",e)}};function u(e,t,r=null){if(i(e,t,r),a.stopVideoCtrlMethods)return;const n=m({url:" ",deviceId:(null==t?void 0:t.deviceId)?t.deviceId:"",channelId:(null==t?void 0:t.channelId)?t.channelId:"",functionType:e});fetch(`${null==Il?void 0:Il.fnUrl}?${n}`)}function d(e,t,r=null){if(i(e,t,r),a.stopVideoCtrlMethods)return;const n=m({url:" ",deviceId:(null==t?void 0:t.deviceId)?t.deviceId:"",channelId:(null==t?void 0:t.channelId)?t.channelId:"",command:e,horizonSpeed:h.value,verticalSpeed:h.value,zoomSpeed:h.value});fetch(`${null==Il?void 0:Il.commandUrl}?${n}`)}const p=t.ref([{index:0,[a.treeOptions.videoUrlKey]:""}]);function m(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}t.watch((()=>a.videoInfos),(e=>{t.nextTick((()=>{const t=function(e){const t=Math.pow(l.value,2);e.sort(((e,t)=>e.index-t.index)),e=e.filter((e=>e.index<=t-1));for(let r=0;r<t;r++)e.some((e=>e.index===r))||e.push({index:r,[a.treeOptions.videoUrlKey]:""});return e.sort(((e,t)=>e.index-t.index)),e}(JSON.parse(JSON.stringify(e)));p.value=t,o={}}))}),{immediate:!0,deep:!0}),t.watch((()=>p.value),(e=>{}),{immediate:!0,deep:!0}),t.watch((()=>a.videoSplitType),(e=>{l.value=e,o={}}),{immediate:!0}),t.provide("videoModel",a.videoModel),t.provide("hkPath",a.hkPath),t.provide("videoUrlKey",a.treeOptions.videoUrlKey),t.provide("activeIndex",l),t.provide("fouceIndex",c),t.provide("videoInfos",p),t.provide("videoCtrlFun",f),t.provide("showVideoCtrls",a.showVideoCtrls),t.provide("slidValue",h),t.provide("showClose",a.showClose),t.watch((()=>l.value),(e=>{i("changeSplit",e)}));const g=t.ref(null),v=t.ref([{name:"打开监控",callback:function(e){(null==e?void 0:e[a.treeOptions.videoUrlKey])&&A(e[a.treeOptions.videoUrlKey],!0,c.value,e)}}]);const w=t.computed((()=>a.treeExpand||S)),b=(e,t)=>{a.hasVideoRightMenu&&(a.treeRightMenu?(a.treeRightMenu(e,t),a.callbackContinueExecute&&C(e,t)):C(e,t))},y={dbTime:200,timeOut:null};function k(e){y.timeOut?(clearTimeout(y.timeOut),y.timeOut=null,a.treeDBClick?(a.treeDBClick(e),a.callbackContinueExecute&&x(e)):x(e)):y.timeOut=setTimeout((()=>{y.timeOut=null,a.treeClick?(a.treeClick(e),a.callbackContinueExecute&&E(e)):E(e)}),y.dbTime)}function E(e){1==a.videoPlayModel&&_(e)}function x(e){_(e)}function _(e){(null==e?void 0:e[a.treeOptions.videoUrlKey])&&A(null==e?void 0:e[a.treeOptions.videoUrlKey],!0,c.value,e)}function C(e,t){g.value.right_showMenu(t,e)}function S(){}const T=t.ref({});function A(e,t=!0,r=c.value,n=null){var s,o,i;T.value={url:e,toNext:t,index:r,treeNodeInfo:n},-1==r&&(r=c.value);const h=p.value.find((e=>e.index===r));if(c.value!=r&&(c.value=r),h){if(n&&a.videoSingleUrl){const e=null==(s=p.value)?void 0:s.find((e=>{var t;return(null==(t=e.info)?void 0:t[a.treeNodeKey])===(null==n?void 0:n[a.treeNodeKey])}));if(e&&(e[a.treeOptions.videoUrlKey]="",delete e.info,a.videoSingleClose))return}h[a.treeOptions.videoUrlKey]="",delete h.info,setTimeout((()=>{h[a.treeOptions.videoUrlKey]=e,n&&(h.info=n)}),250)}((null==(o=Object.values(p.value)[Object.values(p.value).length-1])?void 0:o.index)>Math.pow(l.value,2)?Math.pow(l.value,2)-1:null==(i=Object.values(p.value)[Object.values(p.value).length-1])?void 0:i.index)>c.value&&t&&c.value++}function N(e,t=!0){A("",t,e)}function B(e,t=!0){var r,n;if(a.videoErrorMaxCount<=0)N(e,t),null==(r=a.videoError)||r.call(a,e);else{null==o[e]||null==o[e]?o[e]={errors:1}:o[e]={errors:o[e].errors+1};for(const[r,s]of Object.entries(o))s.errors>=a.videoErrorMaxCount&&(s.errors=0,N(e,t),null==(n=a.videoError)||n.call(a,e))}}function M(e){N(e)}function O(e){var t;let r=!1;for(let n=0;n<p.value.length;n++){const s=p.value[n],o=null==e?void 0:e[null==a?void 0:a.treeNodeKey];if((null==s?void 0:s.info)&&o&&o==(null==(t=s.info)?void 0:t[null==a?void 0:a.treeNodeKey])){r=!0;break}}return r?"tree-node-playing":""}return r({setVideoUrl:A,removeVideo:N,fouceIndex:c,videoInfos:p,treeRef:s}),(r,n)=>{const a=t.resolveComponent("el-tree"),o=t.resolveDirective("sline");return t.openBlock(),t.createElementBlock("div",Dl,[e.showTree?t.renderSlot(r.$slots,"video-tree",{key:0},(()=>[t.createElementVNode("div",Pl,[t.createVNode(a,{class:"tree-view",ref_key:"treeRef",ref:s,"node-key":e.treeNodeKey,data:e.treeData,"expand-on-click-node":!1,props:e.treeOptions,"default-expanded-keys":e.treeExpandedKeys,onNodeClick:k,onNodeContextmenu:b,onNodeExpand:w.value},{default:t.withCtx((({node:r,data:n})=>{return[t.createElementVNode("div",{class:"tree-node",style:t.normalizeStyle({background:(null==n?void 0:n[e.treeOptions.background])?`url(${n[e.treeOptions.background]}) no-repeat top left / 100% 100%`:""})},[t.createElementVNode("span",{class:t.normalizeClass(["tree-node-icon",(a=null==n?void 0:n[e.treeOptions.icontype],"on"===a?"online":"off"===a?"offline":"")])},null,2),t.withDirectives((t.openBlock(),t.createElementBlock("span",{class:t.normalizeClass(["tree-node-title",{"tree-node-playing":O(n)}])},[t.createTextVNode(t.toDisplayString(r[e.treeOptions.label]),1)],2)),[[o]])],4)];var a})),_:1},8,["node-key","data","props","default-expanded-keys","onNodeExpand"])])]),!0):t.createCommentVNode("",!0),t.createElementVNode("div",Fl,[e.showVideoSplit?t.renderSlot(r.$slots,"video-player-head",{key:0},(()=>[t.createVNode(bl,{class:"video-player-head",videoSplitUseIcon:e.videoSplitUseIcon},null,8,["videoSplitUseIcon"])]),!0):t.createCommentVNode("",!0),t.renderSlot(r.$slots,"video-player-view",{videoConfig:e.videoConfig,videoInfos:p.value,activeIndex:l.value,fouceIndex:c.value,getCurrentVideoUrl:T.value},(()=>[t.createVNode(Rl,{class:t.normalizeClass(["video-player-center",e.showTree?"":"no-tree"]),videoConfig:e.videoConfig,videoErrorMaxCount:e.videoErrorMaxCount,onRemoveVideo:N,onErrorVideo:B,onUrlError:M},null,8,["class","videoConfig","videoErrorMaxCount"])]),!0),t.renderSlot(r.$slots,"video-player-foot",{},void 0,!0)]),(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[t.createVNode(ul,{ref_key:"comRightMenuRef",ref:g,rightMenus:v.value},null,8,["rightMenus"])]))])}}}),[["__scopeId","data-v-9fabc403"]]);function zl(e){e.directive("sline",{mounted(e){e.style.whiteSpace="nowrap",e.style.overflow="hidden",e.style.textOverflow="ellipsis",e.style.display="inline-block",e.style.maxWidth="100%"}}),e.directive("permission",{mounted(e,r){var n,a,s;const o=t.inject("btnsPermission")||[],i=(null==(n=r.modifiers)?void 0:n.class)?"class":(null==(a=r.modifiers)||a.id,"id"),l=null==(s=r.modifiers)?void 0:s.display;"id"===i?(null==o?void 0:o.includes(e.getAttribute(i)))?e.style.pointerEvents="auto":l?e.style.display="none":(e.style.visibility="hidden",e.style.pointerEvents="none"):"class"===i&&(0===(null==o?void 0:o.filter((t=>Array.from(e.classList).includes(t))).length)?l?e.style.display="none":(e.style.visibility="hidden",e.style.pointerEvents="none"):e.style.pointerEvents="auto")}}),e.directive("length",{mounted(e,t){var r,n;const a=Ll(t),s=e=>{var r,n;(null==(r=t.modifiers)?void 0:r.number)?(e.target.value=Ul(e.target.value,a.maxLength),e.target.dispatchEvent(new Event("input"))):(null==(n=t.modifiers)?void 0:n.regex)&&a.pattern?(e.target.value=Hl(e.target.value,a.maxLength,a.pattern),e.target.dispatchEvent(new Event("input"))):(e.target.value=e.target.value.slice(0,a.maxLength),e.target.dispatchEvent(new Event("input")))};e.addEventListener("input",s),e.addEventListener("change",s),"INPUT"===e.tagName&&((null==(r=t.modifiers)?void 0:r.number)?(e.value=Ul(e.value,a.maxLength),e.dispatchEvent(new Event("input"))):(null==(n=t.modifiers)?void 0:n.regex)&&a.pattern?(e.value=Hl(e.value,a.maxLength,a.pattern),e.dispatchEvent(new Event("input"))):(e.value=e.value.slice(0,a.maxLength),e.dispatchEvent(new Event("input"))))},updated(e,t){!function(e,t){const r=Ll(t),n=e.querySelectorAll("input, textarea");n.forEach((e=>{var n,a;(null==e?void 0:e.value)&&((null==(n=t.modifiers)?void 0:n.number)?(e.value=Ul(e.value,r.maxLength),e.dispatchEvent(new Event("input"))):(null==(a=t.modifiers)?void 0:a.regex)&&r.pattern?(e.value=Hl(e.value,r.maxLength,r.pattern),e.dispatchEvent(new Event("input"))):(e.value=e.value.slice(0,r.maxLength),e.dispatchEvent(new Event("input"))))}))}(e,t)}}),e.directive("event-unuse",{mounted(e){e.style.pointerEvents="none"}}),e.directive("event-use",{mounted(e){e.style.pointerEvents="auto"}})}function Ll(e){const t={maxLength:50,pattern:null};return e.value?"number"==typeof e.value?{...t,maxLength:e.value}:"object"==typeof e.value?{maxLength:e.value.maxLength||t.maxLength,pattern:e.value.pattern||null}:t:t}function Hl(e,t,r){let n="";for(let a=0;a<e.length&&n.length<t;a++){const t=e[a],s=n+t;r.test(s)&&(n+=t)}return n}function Ul(e,t){let r="",n=!1,a=!1;for(let s=0;s<e.length;s++){const t=e[s];"-"!==t?"."!==t?/^\d$/.test(t)&&(r+=t):0===s||a||0!==s&&"-"===r[s-1]||(r+=t,a=!0):0!==s||n||(r+=t,n=!0)}return r.slice(0,t)}Vl.install=e=>{e.component(Vl.name,Vl);try{zl(e)}catch(t){}};class Wl{constructor(e,t=""){"string"==typeof e?(this.el=document.createElement(e),this.el.className=t):this.el=e,this.data={}}data(e,t){return void 0!==t?(this.data[e]=t,this):this.data[e]}on(e,t){const[r,...n]=e.split(".");let a=r;return"mousewheel"===a&&/Firefox/i.test(window.navigator.userAgent)&&(a="DOMMouseScroll"),this.el.addEventListener(a,(e=>{t(e);for(let t=0;t<n.length;t+=1){const r=n[t];if("left"===r&&0!==e.button)return;if("right"===r&&2!==e.button)return;"stop"===r&&e.stopPropagation()}})),this}offset(e){if(void 0!==e)return Object.keys(e).forEach((t=>{this.css(t,`${e[t]}px`)})),this;const{offsetTop:t,offsetLeft:r,offsetHeight:n,offsetWidth:a}=this.el;return{top:t,left:r,height:n,width:a}}scroll(e){const{el:t}=this;return void 0!==e&&(void 0!==e.left&&(t.scrollLeft=e.left),void 0!==e.top&&(t.scrollTop=e.top)),{left:t.scrollLeft,top:t.scrollTop}}box(){return this.el.getBoundingClientRect()}parent(){return new Wl(this.el.parentNode)}children(...e){return 0===arguments.length?this.el.childNodes:(e.forEach((e=>this.child(e))),this)}removeChild(e){this.el.removeChild(e)}child(e){let t=e;return"string"==typeof e?t=document.createTextNode(e):e instanceof Wl&&(t=e.el),this.el.appendChild(t),this}contains(e){return this.el.contains(e)}className(e){return void 0!==e?(this.el.className=e,this):this.el.className}addClass(e){return this.el.classList.add(e),this}hasClass(e){return this.el.classList.contains(e)}removeClass(e){return this.el.classList.remove(e),this}toggle(e="active"){return this.toggleClass(e)}toggleClass(e){return this.el.classList.toggle(e)}active(e=!0,t="active"){return e?this.addClass(t):this.removeClass(t),this}checked(e=!0){return this.active(e,"checked"),this}disabled(e=!0){return e?this.addClass("disabled"):this.removeClass("disabled"),this}attr(e,t){if(void 0!==t)this.el.setAttribute(e,t);else{if("string"==typeof e)return this.el.getAttribute(e);Object.keys(e).forEach((t=>{this.el.setAttribute(t,e[t])}))}return this}removeAttr(e){return this.el.removeAttribute(e),this}html(e){return void 0!==e?(this.el.innerHTML=e,this):this.el.innerHTML}val(e){return void 0!==e?(this.el.value=e,this):this.el.value}focus(){this.el.focus()}cssRemoveKeys(...e){return e.forEach((e=>this.el.style.removeProperty(e))),this}css(e,t){return void 0===t&&"string"!=typeof e?(Object.keys(e).forEach((t=>{this.el.style[t]=e[t]})),this):void 0!==t?(this.el.style[e]=t,this):this.el.style[e]}computedStyle(){return window.getComputedStyle(this.el,null)}show(){return this.css("display","block"),this}hide(){return this.css("display","none"),this}}const jl=(e,t="")=>new Wl(e,t),$l=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function ql(e){let t="",r=e;for(;r>=$l.length;)r/=$l.length,r-=1,t+=$l[parseInt(r,10)%$l.length];return t+=$l[e%$l.length],t}function Gl(e){let t=0;for(let r=0;r<e.length-1;r+=1){const n=e.charCodeAt(r)-65,a=e.length-1-r;t+=$l.length**a+$l.length*n}return t+=e.charCodeAt(e.length-1)-65,t}function Xl(e){let t="",r="";for(let n=0;n<e.length;n+=1)e.charAt(n)>="0"&&e.charAt(n)<="9"?r+=e.charAt(n):t+=e.charAt(n);return[Gl(t),parseInt(r,10)-1]}function Kl(e,t){return`${ql(e)}${t+1}`}function Yl(e,t,r,n=()=>!0){if(0===t&&0===r)return e;const[a,s]=Xl(e);return n(a,s)?Kl(a+t,s+r):e}class Zl{constructor(e,t,r,n,a=0,s=0){this.sri=e,this.sci=t,this.eri=r,this.eci=n,this.w=a,this.h=s}set(e,t,r,n){this.sri=e,this.sci=t,this.eri=r,this.eci=n}multiple(){return this.eri-this.sri>0||this.eci-this.sci>0}includes(...e){let[t,r]=[0,0];1===e.length?[r,t]=Xl(e[0]):2===e.length&&([t,r]=e);const{sri:n,sci:a,eri:s,eci:o}=this;return n<=t&&t<=s&&a<=r&&r<=o}each(e,t=()=>!0){const{sri:r,sci:n,eri:a,eci:s}=this;for(let o=r;o<=a;o+=1)if(t(o))for(let t=n;t<=s;t+=1)e(o,t)}contains(e){return this.sri<=e.sri&&this.sci<=e.sci&&this.eri>=e.eri&&this.eci>=e.eci}within(e){return this.sri>=e.sri&&this.sci>=e.sci&&this.eri<=e.eri&&this.eci<=e.eci}disjoint(e){return this.sri>e.eri||this.sci>e.eci||e.sri>this.eri||e.sci>this.eci}intersects(e){return this.sri<=e.eri&&this.sci<=e.eci&&e.sri<=this.eri&&e.sci<=this.eci}union(e){const{sri:t,sci:r,eri:n,eci:a}=this;return new Zl(e.sri<t?e.sri:t,e.sci<r?e.sci:r,e.eri>n?e.eri:n,e.eci>a?e.eci:a)}difference(e){const t=[],r=(e,r,n,a)=>{t.push(new Zl(e,r,n,a))},{sri:n,sci:a,eri:s,eci:o}=this,i=e.sri-n,l=e.sci-a,c=s-e.eri,h=o-e.eci;return i>0?(r(n,a,e.sri-1,o),c>0?(r(e.eri+1,a,s,o),l>0&&r(e.sri,a,e.eri,e.sci-1),h>0&&r(e.sri,e.eci+1,e.eri,o)):(l>0&&r(e.sri,a,s,e.sci-1),h>0&&r(e.sri,e.eci+1,s,o))):c>0&&(r(e.eri+1,a,s,o),l>0&&r(n,a,e.eri,e.sci-1),h>0&&r(n,e.eci+1,e.eri,o)),l>0?(r(n,a,s,e.sci-1),h>0?(r(n,e.eri+1,s,o),i>0&&r(n,e.sci,e.sri-1,e.eci),c>0&&r(e.sri+1,e.sci,s,e.eci)):(i>0&&r(n,e.sci,e.sri-1,o),c>0&&r(e.sri+1,e.sci,s,o))):h>0&&(r(s,e.eci+1,s,o),i>0&&r(n,a,e.sri-1,e.eci),c>0&&r(e.eri+1,a,s,e.eci)),t}size(){return[this.eri-this.sri+1,this.eci-this.sci+1]}toString(){const{sri:e,sci:t,eri:r,eci:n}=this;let a=Kl(t,e);return this.multiple()&&(a=`${a}:${Kl(n,r)}`),a}clone(){const{sri:e,sci:t,eri:r,eci:n,w:a,h:s}=this;return new Zl(e,t,r,n,a,s)}equals(e){return this.eri===e.eri&&this.eci===e.eci&&this.sri===e.sri&&this.sci===e.sci}static valueOf(e){const t=e.split(":"),[r,n]=Xl(t[0]);let[a,s]=[n,r];return t.length>1&&([s,a]=Xl(t[1])),new Zl(n,r,a,s)}}let Jl=class{constructor(){this.range=new Zl(0,0,0,0),this.ri=0,this.ci=0}multiple(){return this.range.multiple()}setIndexes(e,t){this.ri=e,this.ci=t}size(){return this.range.size()}};class Ql{constructor(){this.x=0,this.y=0,this.ri=0,this.ci=0}}class ec{constructor(){this.undoItems=[],this.redoItems=[]}add(e){this.undoItems.push(JSON.stringify(e)),this.redoItems=[]}canUndo(){return this.undoItems.length>0}canRedo(){return this.redoItems.length>0}undo(e,t){const{undoItems:r,redoItems:n}=this;this.canUndo()&&(n.push(JSON.stringify(e)),t(JSON.parse(r.pop())))}redo(e,t){const{undoItems:r,redoItems:n}=this;this.canRedo()&&(r.push(JSON.stringify(e)),t(JSON.parse(n.pop())))}}class tc{constructor(){this.range=null,this.state="clear"}copy(e){return this.range=e,this.state="copy",this}cut(e){return this.range=e,this.state="cut",this}isCopy(){return"copy"===this.state}isCut(){return"cut"===this.state}isClear(){return"clear"===this.state}clear(){this.range=null,this.state="clear"}}class rc{constructor(e,t,r){this.ci=e,this.operator=t,this.value=r}set(e,t){this.operator=e,this.value=t}includes(e){const{operator:t,value:r}=this;return"all"===t||"in"===t&&r.includes(e)}vlength(){const{operator:e,value:t}=this;return"in"===e?t.length:0}getData(){const{ci:e,operator:t,value:r}=this;return{ci:e,operator:t,value:r}}}class nc{constructor(e,t){this.ci=e,this.order=t}asc(){return"asc"===this.order}desc(){return"desc"===this.order}}class ac{constructor(){this.ref=null,this.filters=[],this.sort=null}setData({ref:e,filters:t,sort:r}){null!=e&&(this.ref=e,this.filters=t.map((e=>new rc(e.ci,e.operator,e.value))),r&&(this.sort=new nc(r.ci,r.order)))}getData(){if(this.active()){const{ref:e,filters:t,sort:r}=this;return{ref:e,filters:t.map((e=>e.getData())),sort:r}}return{}}addFilter(e,t,r){const n=this.getFilter(e);null==n?this.filters.push(new rc(e,t,r)):n.set(t,r)}setSort(e,t){this.sort=t?new nc(e,t):null}includes(e,t){return!!this.active()&&this.hrange().includes(e,t)}getSort(e){const{sort:t}=this;return t&&t.ci===e?t:null}getFilter(e){const{filters:t}=this;for(let r=0;r<t.length;r+=1)if(t[r].ci===e)return t[r];return null}filteredRows(e){const t=new Set,r=new Set;if(this.active()){const{sri:n,eri:a}=this.range(),{filters:s}=this;for(let o=n+1;o<=a;o+=1)for(let n=0;n<s.length;n+=1){const a=s[n],i=e(o,a.ci),l=i?i.text:"";if(!a.includes(l)){t.add(o);break}r.add(o)}}return{rset:t,fset:r}}items(e,t){const r={};if(this.active()){const{sri:n,eri:a}=this.range();for(let s=n+1;s<=a;s+=1){const n=t(s,e);if(null===n||/^\s*$/.test(n.text))r[""]=(r[""]||0)+1;else{const e=n.text,t=(r[e]||0)+1;r[e]=t}}}return r}range(){return Zl.valueOf(this.ref)}hrange(){const e=this.range();return e.eri=e.sri,e}clear(){this.ref=null,this.filters=[],this.sort=null}active(){return null!==this.ref}}class sc{constructor(e=[]){this._=e}forEach(e){this._.forEach(e)}deleteWithin(e){this._=this._.filter((t=>!t.within(e)))}getFirstIncludes(e,t){for(let r=0;r<this._.length;r+=1){const n=this._[r];if(n.includes(e,t))return n}return null}filterIntersects(e){return new sc(this._.filter((t=>t.intersects(e))))}intersects(e){for(let t=0;t<this._.length;t+=1){if(this._[t].intersects(e))return!0}return!1}union(e){let t=e;return this._.forEach((e=>{e.intersects(t)&&(t=e.union(t))})),t}add(e){this.deleteWithin(e),this._.push(e)}shift(e,t,r,n){this._.forEach((a=>{const{sri:s,sci:o,eri:i,eci:l}=a,c=a;"row"===e?s>=t?(c.sri+=r,c.eri+=r):s<t&&t<=i&&(c.eri+=r,n(s,o,r,0)):"column"===e&&(o>=t?(c.sci+=r,c.eci+=r):o<t&&t<=l&&(c.eci+=r,n(s,o,0,r)))}))}move(e,t,r){this._.forEach((n=>{const a=n;a.within(e)&&(a.eri+=t,a.sri+=t,a.sci+=r,a.eci+=r)}))}setData(e){return this._=e.map((e=>Zl.valueOf(e))),this}getData(){return this._.map((e=>e.toString()))}}const oc=(e={},...t)=>(t.forEach((t=>{Object.keys(t).forEach((r=>{const n=t[r];"string"==typeof n||"number"==typeof n||"boolean"==typeof n?e[r]=n:"function"!=typeof n&&!Array.isArray(n)&&n instanceof Object?(e[r]=e[r]||{},oc(e[r],n)):e[r]=n}))})),e);function ic(e){const t=`${e}`;let r=0,n=!1;for(let a=0;a<t.length;a+=1)!0===n&&(r+=1),"."===t.charAt(a)&&(n=!0);return r}function lc(e,t,r){if(Number.isNaN(t)||Number.isNaN(r))return t+e+r;const n=ic(t),a=ic(r),s=Number(t),o=Number(r);let i=0;if("-"===e)i=s-o;else if("+"===e)i=s+o;else if("*"===e)i=s*o;else if("/"===e)return i=s/o,ic(i)>5?i.toFixed(2):i;return i.toFixed(Math.max(n,a))}const cc={cloneDeep:function(e){return JSON.parse(JSON.stringify(e))},merge:(...e)=>oc({},...e),equals:function e(t,r){const n=Object.keys(t);if(n.length!==Object.keys(r).length)return!1;for(let a=0;a<n.length;a+=1){const s=n[a],o=t[s],i=r[s];if(void 0===i)return!1;if("string"==typeof o||"number"==typeof o||"boolean"==typeof o){if(o!==i)return!1}else if(Array.isArray(o)){if(o.length!==i.length)return!1;for(let t=0;t<o.length;t+=1)if(!e(o[t],i[t]))return!1}else if("function"!=typeof o&&!Array.isArray(o)&&o instanceof Object&&!e(o,i))return!1}return!0},arrayEquals:function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r+=1)if(e[r]!==t[r])return!1;return!0},sum:(e,t=e=>e)=>{let r=0,n=0;return Object.keys(e).forEach((a=>{r+=t(e[a],a),n+=1})),[r,n]},rangeEach:function(e,t,r){for(let n=e;n<t;n+=1)r(n)},rangeSum:function(e,t,r){let n=0;for(let a=e;a<t;a+=1)n+=r(a);return n},rangeReduceIf:function(e,t,r,n,a,s){let o=r,i=n,l=e;for(;l<t&&!(o>a);l+=1)i=s(l),o+=i;return[l,o-i,i]},deleteProperty:function(e,t){const r=e[`${t}`];return delete e[`${t}`],r},numberCalc:lc};class hc{constructor({len:e,height:t}){this._={},this.len=e,this.height=t}getHeight(e){if(this.isHide(e))return 0;const t=this.get(e);return t&&t.height?t.height:this.height}setHeight(e,t){this.getOrNew(e).height=t}unhide(e){let t=e;for(;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}isHide(e){const t=this.get(e);return t&&t.hide}setHide(e,t){const r=this.getOrNew(e);!0===t?r.hide=!0:delete r.hide}setStyle(e,t){this.getOrNew(e).style=t}sumHeight(e,t,r){return cc.rangeSum(e,t,(e=>r&&r.has(e)?0:this.getHeight(e)))}totalHeight(){return this.sumHeight(0,this.len)}get(e){return this._[e]}getOrNew(e){return this._[e]=this._[e]||{cells:{}},this._[e]}getCell(e,t){const r=this.get(e);return void 0!==r&&void 0!==r.cells&&void 0!==r.cells[t]?r.cells[t]:null}getCellMerge(e,t){const r=this.getCell(e,t);return r&&r.merge?r.merge:[0,0]}getCellOrNew(e,t){const r=this.getOrNew(e);return r.cells[t]=r.cells[t]||{},r.cells[t]}setCell(e,t,r,n="all"){const a=this.getOrNew(e);"all"===n?a.cells[t]=r:"text"===n?(a.cells[t]=a.cells[t]||{},a.cells[t].text=r.text):"format"===n&&(a.cells[t]=a.cells[t]||{},a.cells[t].style=r.style,r.merge&&(a.cells[t].merge=r.merge))}setCellText(e,t,r){const n=this.getCellOrNew(e,t);!1!==n.editable&&(n.text=r)}copyPaste(e,t,r,n=!1,a=()=>{}){const{sri:s,sci:o,eri:i,eci:l}=e,c=t.sri,h=t.sci,f=t.eri,u=t.eci,[d,p]=e.size(),[m,g]=t.size();let v=!0,w=0;(f<s||u<o)&&(v=!1,w=f<s?m:g);for(let b=s;b<=i;b+=1)if(this._[b])for(let e=o;e<=l;e+=1)if(this._[b].cells&&this._[b].cells[e])for(let t=c;t<=f;t+=d)for(let m=h;m<=u;m+=p){const g=t+(b-s),y=m+(e-o),k=cc.cloneDeep(this._[b].cells[e]);if(n&&k&&k.text&&k.text.length>0){const{text:e}=k;let r=m-h+(t-c)+2;if(v||(r-=w+1),"="===e[0])k.text=e.replace(/[a-zA-Z]{1,3}\d+/g,(e=>{let[t,n]=[0,0];return s===c?t=r-1:n=r-1,/^\d+$/.test(e)?e:Yl(e,t,n)}));else if(d<=1&&p>1&&(c>i||f<s)||p<=1&&d>1&&(h>l||u<o)||d<=1&&p<=1){const t=/[\\.\d]+$/.exec(e);if(null!==t){const n=Number(t[0])+r-1;k.text=e.substring(0,t.index)+n}}}this.setCell(g,y,k,r),a(g,y,k)}}cutPaste(e,t){const r={};this.each((n=>{this.eachCells(n,(a=>{let s=parseInt(n,10),o=parseInt(a,10);e.includes(n,a)&&(s=t.sri+(s-e.sri),o=t.sci+(o-e.sci)),r[s]=r[s]||{cells:{}},r[s].cells[o]=this._[n].cells[a]}))})),this._=r}paste(e,t){if(e.length<=0)return;const{sri:r,sci:n}=t;e.forEach(((e,t)=>{const a=r+t;e.forEach(((e,t)=>{const r=n+t;this.setCellText(a,r,e)}))}))}insert(e,t=1){const r={};this.each(((n,a)=>{let s=parseInt(n,10);s>=e&&(s+=t,this.eachCells(n,((r,n)=>{n.text&&"="===n.text[0]&&(n.text=n.text.replace(/[a-zA-Z]{1,3}\d+/g,(r=>Yl(r,0,t,((t,r)=>r>=e)))))}))),r[s]=a})),this._=r,this.len+=t}delete(e,t){const r=t-e+1,n={};this.each(((a,s)=>{const o=parseInt(a,10);o<e?n[o]=s:a>t&&(n[o-r]=s,this.eachCells(a,((e,n)=>{n.text&&"="===n.text[0]&&(n.text=n.text.replace(/[a-zA-Z]{1,3}\d+/g,(e=>Yl(e,0,-r,((e,r)=>r>t)))))})))})),this._=n,this.len-=r}insertColumn(e,t=1){this.each(((r,n)=>{const a={};this.eachCells(r,((r,n)=>{let s=parseInt(r,10);s>=e&&(s+=t,n.text&&"="===n.text[0]&&(n.text=n.text.replace(/[a-zA-Z]{1,3}\d+/g,(r=>Yl(r,t,0,(t=>t>=e)))))),a[s]=n})),n.cells=a}))}deleteColumn(e,t){const r=t-e+1;this.each(((n,a)=>{const s={};this.eachCells(n,((n,a)=>{const o=parseInt(n,10);o<e?s[o]=a:o>t&&(s[o-r]=a,a.text&&"="===a.text[0]&&(a.text=a.text.replace(/[a-zA-Z]{1,3}\d+/g,(e=>Yl(e,-r,0,(e=>e>t))))))})),a.cells=s}))}deleteCells(e,t="all"){e.each(((e,r)=>{this.deleteCell(e,r,t)}))}deleteCell(e,t,r="all"){const n=this.get(e);if(null!==n){const a=this.getCell(e,t);null!==a&&!1!==a.editable&&("all"===r?delete n.cells[t]:"text"===r?(a.text&&delete a.text,a.value&&delete a.value):"format"===r?(void 0!==a.style&&delete a.style,a.merge&&delete a.merge):"merge"===r&&a.merge&&delete a.merge)}}maxCell(){const e=Object.keys(this._),t=e[e.length-1],r=this._[t];if(r){const{cells:e}=r,n=Object.keys(e),a=n[n.length-1];return[parseInt(t,10),parseInt(a,10)]}return[0,0]}each(e){Object.entries(this._).forEach((([t,r])=>{e(t,r)}))}eachCells(e,t){this._[e]&&this._[e].cells&&Object.entries(this._[e].cells).forEach((([e,r])=>{t(e,r)}))}setData(e){e.len&&(this.len=e.len,delete e.len),this._=e}getData(){const{len:e}=this;return Object.assign({len:e},this._)}}class fc{constructor({len:e,width:t,indexWidth:r,minWidth:n}){this._={},this.len=e,this.width=t,this.indexWidth=r,this.minWidth=n}setData(e){e.len&&(this.len=e.len,delete e.len),this._=e}getData(){const{len:e}=this;return Object.assign({len:e},this._)}getWidth(e){if(this.isHide(e))return 0;const t=this._[e];return t&&t.width?t.width:this.width}getOrNew(e){return this._[e]=this._[e]||{},this._[e]}setWidth(e,t){this.getOrNew(e).width=t}unhide(e){let t=e;for(;t>0&&(t-=1,this.isHide(t));)this.setHide(t,!1)}isHide(e){const t=this._[e];return t&&t.hide}setHide(e,t){const r=this.getOrNew(e);!0===t?r.hide=!0:delete r.hide}setStyle(e,t){this.getOrNew(e).style=t}sumWidth(e,t){return cc.rangeSum(e,t,(e=>this.getWidth(e)))}totalWidth(){return this.sumWidth(0,this.len)}}let uc=["en"];const dc={en:{toolbar:{undo:"Undo",redo:"Redo",print:"Print",paintformat:"Paint format",clearformat:"Clear format",format:"Format",fontName:"Font",fontSize:"Font size",fontBold:"Font bold",fontItalic:"Font italic",underline:"Underline",strike:"Strike",color:"Text color",bgcolor:"Fill color",border:"Borders",merge:"Merge cells",align:"Horizontal align",valign:"Vertical align",textwrap:"Text wrapping",freeze:"Freeze cell",autofilter:"Filter",formula:"Functions",more:"More"},contextmenu:{copy:"Copy",cut:"Cut",paste:"Paste",pasteValue:"Paste values only",pasteFormat:"Paste format only",hide:"Hide",insertRow:"Insert row",insertColumn:"Insert column",deleteSheet:"Delete",deleteRow:"Delete row",deleteColumn:"Delete column",deleteCell:"Delete cell",deleteCellText:"Delete cell text",validation:"Data validations",cellprintable:"Enable export",cellnonprintable:"Disable export",celleditable:"Enable editing",cellnoneditable:"Disable editing"},print:{size:"Paper size",orientation:"Page orientation",orientations:["Landscape","Portrait"]},format:{normal:"Normal",text:"Plain Text",number:"Number",percent:"Percent",rmb:"RMB",usd:"USD",eur:"EUR",date:"Date",time:"Time",datetime:"Date time",duration:"Duration"},formula:{sum:"Sum",average:"Average",max:"Max",min:"Min",_if:"IF",and:"AND",or:"OR",concat:"Concat"},validation:{required:"it must be required",notMatch:"it not match its validation rule",between:"it is between {} and {}",notBetween:"it is not between {} and {}",notIn:"it is not in list",equal:"it equal to {}",notEqual:"it not equal to {}",lessThan:"it less than {}",lessThanEqual:"it less than or equal to {}",greaterThan:"it greater than {}",greaterThanEqual:"it greater than or equal to {}"},error:{pasteForMergedCell:"Unable to do this for merged cells"},calendar:{weeks:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"]},button:{next:"Next",cancel:"Cancel",remove:"Remove",save:"Save",ok:"OK"},sort:{desc:"Sort Z -> A",asc:"Sort A -> Z"},filter:{empty:"empty"},dataValidation:{mode:"Mode",range:"Cell Range",criteria:"Criteria",modeType:{cell:"Cell",column:"Colun",row:"Row"},type:{list:"List",number:"Number",date:"Date",phone:"Phone",email:"Email"},operator:{be:"between",nbe:"not betwwen",lt:"less than",lte:"less than or equal to",gt:"greater than",gte:"greater than or equal to",eq:"equal to",neq:"not equal to"}}}};function pc(e,t){if(t)for(const r of uc){if(!t[r])break;let n=t[r];const a=e.match(/(?:\\.|[^.])+/g);for(let e=0;e<a.length;e+=1){const t=n[a[e]];if(!t)break;if(e===a.length-1)return t;n=t}}}function mc(e){let t=pc(e,dc);return!t&&window&&window.x_spreadsheet&&window.x_spreadsheet.$messages&&(t=pc(e,window.x_spreadsheet.$messages)),t||""}function gc(e){return()=>mc(e)}function vc(e,t,r=!1){r?uc=[e]:uc.unshift(e),t&&(dc[e]=t)}const wc={phone:/^[1-9]\d{10}$/,email:/w+([-+.]w+)*@w+([-.]w+)*.w+([-.]w+)*/};function bc(e,t,...r){let n="";return e||(n=mc(`validation.${t}`,...r)),[e,n]}class yc{constructor(e,t,r,n){this.required=t,this.value=r,this.type=e,this.operator=n,this.message=""}parseValue(e){const{type:t}=this;return"date"===t?new Date(e):"number"===t?Number(e):e}equals(e){let t=this.type===e.type&&this.required===e.required&&this.operator===e.operator;return t&&(t=Array.isArray(this.value)?cc.arrayEquals(this.value,e.value):this.value===e.value),t}values(){return this.value.split(",")}validate(e){const{required:t,operator:r,value:n,type:a}=this;if(t&&/^\s*$/.test(e))return bc(!1,"required");if(/^\s*$/.test(e))return[!0];if(wc[a]&&!wc[a].test(e))return bc(!1,"notMatch");if("list"===a)return bc(this.values().includes(e),"notIn");if(r){const t=this.parseValue(e);if("be"===r){const[e,r]=n;return bc(t>=this.parseValue(e)&&t<=this.parseValue(r),"between",e,r)}if("nbe"===r){const[e,r]=n;return bc(t<this.parseValue(e)||t>this.parseValue(r),"notBetween",e,r)}if("eq"===r)return bc(t===this.parseValue(n),"equal",n);if("neq"===r)return bc(t!==this.parseValue(n),"notEqual",n);if("lt"===r)return bc(t<this.parseValue(n),"lessThan",n);if("lte"===r)return bc(t<=this.parseValue(n),"lessThanEqual",n);if("gt"===r)return bc(t>this.parseValue(n),"greaterThan",n);if("gte"===r)return bc(t>=this.parseValue(n),"greaterThanEqual",n)}return[!0]}}class kc{constructor(e,t,r){this.refs=t,this.mode=e,this.validator=r}includes(e,t){const{refs:r}=this;for(let n=0;n<r.length;n+=1){if(Zl.valueOf(r[n]).includes(e,t))return!0}return!1}addRef(e){this.remove(Zl.valueOf(e)),this.refs.push(e)}remove(e){const t=[];this.refs.forEach((r=>{const n=Zl.valueOf(r);if(n.intersects(e)){n.difference(e).forEach((e=>t.push(e.toString())))}else t.push(r)})),this.refs=t}getData(){const{refs:e,mode:t,validator:r}=this,{type:n,required:a,operator:s,value:o}=r;return{refs:e,mode:t,type:n,required:a,operator:s,value:o}}static valueOf({refs:e,mode:t,type:r,required:n,operator:a,value:s}){return new kc(t,e,new yc(r,n,s,a))}}class Ec{constructor(){this._=[],this.errors=new Map}getError(e,t){return this.errors.get(`${e}_${t}`)}validate(e,t,r){const n=this.get(e,t),a=`${e}_${t}`,{errors:s}=this;if(null!==n){const[e,t]=n.validator.validate(r);e?s.delete(a):s.set(a,t)}else s.delete(a);return!0}add(e,t,{type:r,required:n,value:a,operator:s}){const o=new yc(r,n,a,s),i=this.getByValidator(o);null!==i?i.addRef(t):this._.push(new kc(e,[t],o))}getByValidator(e){for(let t=0;t<this._.length;t+=1){const r=this._[t];if(r.validator.equals(e))return r}return null}get(e,t){for(let r=0;r<this._.length;r+=1){const n=this._[r];if(n.includes(e,t))return n}return null}remove(e){this.each((t=>{t.remove(e)}))}each(e){this._.forEach((t=>e(t)))}getData(){return this._.filter((e=>e.refs.length>0)).map((e=>e.getData()))}setData(e){this._=e.map((e=>kc.valueOf(e)))}}const xc={mode:"edit",view:{height:()=>document.documentElement.clientHeight,width:()=>document.documentElement.clientWidth},showGrid:!0,showToolbar:!0,showContextmenu:!0,showBottomBar:!0,row:{len:100,height:25},col:{len:26,width:100,indexWidth:60,minWidth:60},style:{bgcolor:"#ffffff",align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0a0a0a",font:{name:"Arial",size:10,bold:!1,italic:!1},format:"normal"}},_c=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);function Cc(e,t,r=()=>{}){const{merges:n}=this,a=t.clone(),[s,o]=e.size(),[i,l]=t.size();return s>i&&(a.eri=t.sri+s-1),o>l&&(a.eci=t.sci+o-1),!n.intersects(a)||(r(mc("error.pasteForMergedCell")),!1)}function Sc(e,t,r,n=!1){const{rows:a,merges:s}=this;"all"!==r&&"format"!==r||(a.deleteCells(t,r),s.deleteWithin(t)),a.copyPaste(e,t,r,n,((e,t,r)=>{if(r&&r.merge){const[n,a]=r.merge;if(n<=0&&a<=0)return;s.add(new Zl(e,t,e+n,t+a))}}))}function Tc(e,t){const{clipboard:r,rows:n,merges:a}=this;n.cutPaste(e,t),a.move(e,t.sri-e.sri,t.sci-e.sci),r.clear()}function Ac(e,t,r){const{styles:n,rows:a}=this,s=a.getCellOrNew(e,t);let o={};void 0!==s.style&&(o=cc.cloneDeep(n[s.style])),o=cc.merge(o,{border:r}),s.style=this.addStyle(o)}function Nc({mode:e,style:t,color:r}){const{styles:n,selector:a,rows:s}=this,{sri:o,sci:i,eri:l,eci:c}=a.range,h=!this.isSignleSelected();if(h||"inside"!==e&&"horizontal"!==e&&"vertical"!==e)if("outside"!==e||h){if("none"===e)a.range.each(((e,t)=>{const r=s.getCell(e,t);if(r&&void 0!==r.style){const e=cc.cloneDeep(n[r.style]);delete e.border,r.style=this.addStyle(e)}}));else if("all"===e||"inside"===e||"outside"===e||"horizontal"===e||"vertical"===e){const n=[];for(let a=o;a<=l;a+=1)for(let f=i;f<=c;f+=1){const u=[];for(let e=0;e<n.length;e+=1){const[t,r,s,o]=n[e];if(a===t+s+1&&u.push(e),t<=a&&a<=t+s&&f===r){f+=o+1;break}}if(u.forEach((e=>n.splice(e,1))),f>c)break;const d=s.getCell(a,f);let[p,m]=[0,0];d&&d.merge&&([p,m]=d.merge,n.push([a,f,p,m]));const g=p>0&&a+p===l,v=m>0&&f+m===c;let w={};"all"===e?w={bottom:[t,r],top:[t,r],left:[t,r],right:[t,r]}:"inside"===e?(!v&&f<c&&(w.right=[t,r]),!g&&a<l&&(w.bottom=[t,r])):"horizontal"===e?!g&&a<l&&(w.bottom=[t,r]):"vertical"===e?!v&&f<c&&(w.right=[t,r]):"outside"===e&&h&&(o===a&&(w.top=[t,r]),(g||l===a)&&(w.bottom=[t,r]),i===f&&(w.left=[t,r]),(v||c===f)&&(w.right=[t,r])),Object.keys(w).length>0&&Ac.call(this,a,f,w),f+=m}}else if("top"===e||"bottom"===e)for(let f=i;f<=c;f+=1)"top"===e&&(Ac.call(this,o,f,{top:[t,r]}),f+=s.getCellMerge(o,f)[1]),"bottom"===e&&(Ac.call(this,l,f,{bottom:[t,r]}),f+=s.getCellMerge(l,f)[1]);else if("left"===e||"right"===e)for(let f=o;f<=l;f+=1)"left"===e&&(Ac.call(this,f,i,{left:[t,r]}),f+=s.getCellMerge(f,i)[0]),"right"===e&&(Ac.call(this,f,c,{right:[t,r]}),f+=s.getCellMerge(f,c)[0])}else Ac.call(this,o,i,{top:[t,r],bottom:[t,r],left:[t,r],right:[t,r]})}function Bc(e,t){const{rows:r}=this,n=this.freezeTotalHeight();let a=r.height;n+r.height<e&&(a-=t);const s=this.exceptRowSet;let o=0,i=a,{height:l}=r;for(;o<r.len&&!(i>e);o+=1)s.has(o)||(l=r.getHeight(o),i+=l);return i-=l,i<=0?{ri:-1,top:0,height:l}:{ri:o-1,top:i,height:l}}function Mc(e,t){const{cols:r}=this,n=this.freezeTotalWidth();let a=r.indexWidth;n+r.indexWidth<e&&(a-=t);const[s,o,i]=cc.rangeReduceIf(0,r.len,a,r.indexWidth,e,(e=>r.getWidth(e)));return o<=0?{ci:-1,left:0,width:r.indexWidth}:{ci:s-1,left:o,width:i}}class Oc{constructor(e,t){this.settings=cc.merge(xc,t||{}),this.name=e||"sheet",this.freeze=[0,0],this.styles=[],this.merges=new sc,this.rows=new hc(this.settings.row),this.cols=new fc(this.settings.col),this.validations=new Ec,this.hyperlinks={},this.comments={},this.selector=new Jl,this.scroll=new Ql,this.history=new ec,this.clipboard=new tc,this.autoFilter=new ac,this.change=()=>{},this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map}addValidation(e,t,r){this.changeData((()=>{this.validations.add(e,t,r)}))}removeValidation(){const{range:e}=this.selector;this.changeData((()=>{this.validations.remove(e)}))}getSelectedValidator(){const{ri:e,ci:t}=this.selector,r=this.validations.get(e,t);return r?r.validator:null}getSelectedValidation(){const{ri:e,ci:t,range:r}=this.selector,n=this.validations.get(e,t),a={ref:r.toString()};return null!==n&&(a.mode=n.mode,a.validator=n.validator),a}canUndo(){return this.history.canUndo()}canRedo(){return this.history.canRedo()}undo(){this.history.undo(this.getData(),(e=>{this.setData(e)}))}redo(){this.history.redo(this.getData(),(e=>{this.setData(e)}))}copy(){this.clipboard.copy(this.selector.range)}copyToSystemClipboard(){if(void 0===navigator.clipboard)return;let e="";const t=this.rows.getData();for(let r=this.selector.range.sri;r<=this.selector.range.eri;r+=1){if(_c(t,r)){for(let n=this.selector.range.sci;n<=this.selector.range.eci;n+=1)if(n>this.selector.range.sci&&(e+="\t"),_c(t[r].cells,n)){const a=String(t[r].cells[n].text);-1===a.indexOf("\n")&&-1===a.indexOf("\t")&&-1===a.indexOf('"')?e+=a:e+=`"${a}"`}}else for(let t=this.selector.range.sci;t<=this.selector.range.eci;t+=1)e+="\t";e+="\n"}navigator.clipboard.writeText(e).then((()=>{}),(e=>{}))}cut(){this.clipboard.cut(this.selector.range)}paste(e="all",t=()=>{}){const{clipboard:r,selector:n}=this;return!r.isClear()&&(!!Cc.call(this,r.range,n.range,t)&&(this.changeData((()=>{r.isCopy()?Sc.call(this,r.range,n.range,e):r.isCut()&&Tc.call(this,r.range,n.range)})),!0))}pasteFromText(e){const t=e.split("\r\n").map((e=>e.replace(/"/g,"").split("\t")));t.length>0&&(t.length-=1);const{rows:r,selector:n}=this;this.changeData((()=>{r.paste(t,n.range)}))}autofill(e,t,r=()=>{}){const n=this.selector.range;return!!Cc.call(this,n,e,r)&&(this.changeData((()=>{Sc.call(this,n,e,t,!0)})),!0)}clearClipboard(){this.clipboard.clear()}calSelectedRangeByEnd(e,t){const{selector:r,rows:n,cols:a,merges:s}=this;let{sri:o,sci:i,eri:l,eci:c}=r.range;const h=r.ri,f=r.ci;let[u,d]=[e,t];return e<0&&(u=n.len-1),t<0&&(d=a.len-1),[o,l]=u>h?[h,u]:[u,h],[i,c]=d>f?[f,d]:[d,f],r.range=s.union(new Zl(o,i,l,c)),r.range=s.union(r.range),r.range}calSelectedRangeByStart(e,t){const{selector:r,rows:n,cols:a,merges:s}=this;let o=s.getFirstIncludes(e,t);return null===o&&(o=new Zl(e,t,e,t),-1===e&&(o.sri=0,o.eri=n.len-1),-1===t&&(o.sci=0,o.eci=a.len-1)),r.range=o,o}setSelectedCellAttr(e,t){this.changeData((()=>{const{selector:r,styles:n,rows:a}=this;if("merge"===e)t?this.merge():this.unmerge();else if("border"===e)Nc.call(this,t);else if("formula"===e){const{ri:e,ci:n,range:s}=r;if(r.multiple()){const[n,o]=r.size(),{sri:i,sci:l,eri:c,eci:h}=s;if(n>1)for(let e=l;e<=h;e+=1){a.getCellOrNew(c+1,e).text=`=${t}(${Kl(e,i)}:${Kl(e,c)})`}else if(o>1){a.getCellOrNew(e,h+1).text=`=${t}(${Kl(l,e)}:${Kl(h,e)})`}}else{a.getCellOrNew(e,n).text=`=${t}()`}}else r.range.each(((r,s)=>{const o=a.getCellOrNew(r,s);let i={};if(void 0!==o.style&&(i=cc.cloneDeep(n[o.style])),"format"===e)i.format=t,o.style=this.addStyle(i);else if("font-bold"===e||"font-italic"===e||"font-name"===e||"font-size"===e){const r={};r[e.split("-")[1]]=t,i.font=Object.assign(i.font||{},r),o.style=this.addStyle(i)}else"strike"===e||"textwrap"===e||"underline"===e||"align"===e||"valign"===e||"color"===e||"bgcolor"===e?(i[e]=t,o.style=this.addStyle(i)):o[e]=t}))}))}setSelectedCellText(e,t="input"){const{autoFilter:r,selector:n,rows:a}=this,{ri:s,ci:o}=n;let i=s;this.unsortedRowMap.has(s)&&(i=this.unsortedRowMap.get(s));const l=a.getCell(i,o),c=l?l.text:"";if(this.setCellText(i,o,e,t),r.active()){const t=r.getFilter(o);if(t){const r=t.value.findIndex((e=>e===c));r>=0&&t.value.splice(r,1,e)}}}getSelectedCell(){const{ri:e,ci:t}=this.selector;let r=e;return this.unsortedRowMap.has(e)&&(r=this.unsortedRowMap.get(e)),this.rows.getCell(r,t)}xyInSelectedRect(e,t){const{left:r,top:n,width:a,height:s}=this.getSelectedRect(),o=e-this.cols.indexWidth,i=t-this.rows.height;return o>r&&o<r+a&&i>n&&i<n+s}getSelectedRect(){return this.getRect(this.selector.range)}getClipboardRect(){const{clipboard:e}=this;return e.isClear()?{left:-100,top:-100}:this.getRect(e.range)}getRect(e){const{scroll:t,rows:r,cols:n,exceptRowSet:a}=this,{sri:s,sci:o,eri:i,eci:l}=e;if(s<0&&o<0)return{left:0,l:0,top:0,t:0,scroll:t};const c=n.sumWidth(0,o),h=r.sumHeight(0,s,a),f=r.sumHeight(s,i+1,a),u=n.sumWidth(o,l+1);let d=c-t.x,p=h-t.y;const m=this.freezeTotalHeight(),g=this.freezeTotalWidth();return g>0&&g>c&&(d=c),m>0&&m>h&&(p=h),{l:c,t:h,left:d,top:p,height:f,width:u,scroll:t}}getCellRectByXY(e,t){const{scroll:r,merges:n,rows:a,cols:s}=this;let{ri:o,top:i,height:l}=Bc.call(this,t,r.y),{ci:c,left:h,width:f}=Mc.call(this,e,r.x);if(-1===c&&(f=s.totalWidth()),-1===o&&(l=a.totalHeight()),o>=0||c>=0){const e=n.getFirstIncludes(o,c);e&&(o=e.sri,c=e.sci,({left:h,top:i,width:f,height:l}=this.cellRect(o,c)))}return{ri:o,ci:c,left:h,top:i,width:f,height:l}}isSignleSelected(){const{sri:e,sci:t,eri:r,eci:n}=this.selector.range,a=this.getCell(e,t);if(a&&a.merge){const[s,o]=a.merge;if(e+s===r&&t+o===n)return!0}return!this.selector.multiple()}canUnmerge(){const{sri:e,sci:t,eri:r,eci:n}=this.selector.range,a=this.getCell(e,t);if(a&&a.merge){const[s,o]=a.merge;if(e+s===r&&t+o===n)return!0}return!1}merge(){const{selector:e,rows:t}=this;if(this.isSignleSelected())return;const[r,n]=e.size();if(r>1||n>1){const{sri:a,sci:s}=e.range;this.changeData((()=>{const o=t.getCellOrNew(a,s);o.merge=[r-1,n-1],this.merges.add(e.range),this.rows.deleteCells(e.range),this.rows.setCell(a,s,o)}))}}unmerge(){const{selector:e}=this;if(!this.isSignleSelected())return;const{sri:t,sci:r}=e.range;this.changeData((()=>{this.rows.deleteCell(t,r,"merge"),this.merges.deleteWithin(e.range)}))}canAutofilter(){return!this.autoFilter.active()}autofilter(){const{autoFilter:e,selector:t}=this;this.changeData((()=>{e.active()?(e.clear(),this.exceptRowSet=new Set,this.sortedRowMap=new Map,this.unsortedRowMap=new Map):e.ref=t.range.toString()}))}setAutoFilter(e,t,r,n){const{autoFilter:a}=this;a.addFilter(e,r,n),a.setSort(e,t),this.resetAutoFilter()}resetAutoFilter(){const{autoFilter:e,rows:t}=this;if(!e.active())return;const{sort:r}=e,{rset:n,fset:a}=e.filteredRows(((e,r)=>t.getCell(e,r))),s=Array.from(a),o=Array.from(a);r&&s.sort(((e,t)=>"asc"===r.order?e-t:"desc"===r.order?t-e:0)),this.exceptRowSet=n,this.sortedRowMap=new Map,this.unsortedRowMap=new Map,s.forEach(((e,t)=>{this.sortedRowMap.set(o[t],e),this.unsortedRowMap.set(e,o[t])}))}deleteCell(e="all"){const{selector:t}=this;this.changeData((()=>{this.rows.deleteCells(t.range,e),"all"!==e&&"format"!==e||this.merges.deleteWithin(t.range)}))}insert(e,t=1){this.changeData((()=>{const{sri:r,sci:n}=this.selector.range,{rows:a,merges:s,cols:o}=this;let i=r;"row"===e?a.insert(r,t):"column"===e&&(a.insertColumn(n,t),i=n,o.len+=1),s.shift(e,i,t,((e,t,r,n)=>{const s=a.getCell(e,t);s.merge[0]+=r,s.merge[1]+=n}))}))}delete(e){this.changeData((()=>{const{rows:t,merges:r,selector:n,cols:a}=this,{range:s}=n,{sri:o,sci:i,eri:l,eci:c}=n.range,[h,f]=n.range.size();let u=o,d=h;"row"===e?t.delete(o,l):"column"===e&&(t.deleteColumn(i,c),u=s.sci,d=f,a.len-=1),r.shift(e,u,-d,((e,r,n,a)=>{const s=t.getCell(e,r);s.merge[0]+=n,s.merge[1]+=a,0===s.merge[0]&&0===s.merge[1]&&delete s.merge}))}))}scrollx(e,t){const{scroll:r,freeze:n,cols:a}=this,[,s]=n,[o,i,l]=cc.rangeReduceIf(s,a.len,0,0,e,(e=>a.getWidth(e)));let c=i;e>0&&(c+=l),r.x!==c&&(r.ci=e>0?o:0,r.x=c,t())}scrolly(e,t){const{scroll:r,freeze:n,rows:a}=this,[s]=n,[o,i,l]=cc.rangeReduceIf(s,a.len,0,0,e,(e=>a.getHeight(e)));let c=i;e>0&&(c+=l),r.y!==c&&(r.ri=e>0?o:0,r.y=c,t())}cellRect(e,t){const{rows:r,cols:n}=this,a=n.sumWidth(0,t),s=r.sumHeight(0,e),o=r.getCell(e,t);let i=n.getWidth(t),l=r.getHeight(e);if(null!==o&&o.merge){const[a,s]=o.merge;if(a>0)for(let t=1;t<=a;t+=1)l+=r.getHeight(e+t);if(s>0)for(let e=1;e<=s;e+=1)i+=n.getWidth(t+e)}return{left:a,top:s,width:i,height:l,cell:o}}getCell(e,t){return this.rows.getCell(e,t)}getCellTextOrDefault(e,t){const r=this.getCell(e,t);return r&&r.text?r.text:""}getCellStyle(e,t){const r=this.getCell(e,t);return r&&void 0!==r.style?this.styles[r.style]:null}getCellStyleOrDefault(e,t){const{styles:r,rows:n}=this,a=n.getCell(e,t),s=a&&void 0!==a.style?r[a.style]:{};return cc.merge(this.defaultStyle(),s)}getSelectedCellStyle(){const{ri:e,ci:t}=this.selector;return this.getCellStyleOrDefault(e,t)}setCellText(e,t,r,n){const{rows:a,history:s,validations:o}=this;"finished"===n?(a.setCellText(e,t,""),s.add(this.getData()),a.setCellText(e,t,r)):(a.setCellText(e,t,r),this.change(this.getData())),o.validate(e,t,r)}freezeIsActive(){const[e,t]=this.freeze;return e>0||t>0}setFreeze(e,t){this.changeData((()=>{this.freeze=[e,t]}))}freezeTotalWidth(){return this.cols.sumWidth(0,this.freeze[1])}freezeTotalHeight(){return this.rows.sumHeight(0,this.freeze[0])}setRowHeight(e,t){this.changeData((()=>{this.rows.setHeight(e,t)}))}setColWidth(e,t){this.changeData((()=>{this.cols.setWidth(e,t)}))}viewHeight(){const{view:e,showToolbar:t,showBottomBar:r}=this.settings;let n=e.height();return r&&(n-=41),t&&(n-=41),n}viewWidth(){return this.settings.view.width()}freezeViewRange(){const[e,t]=this.freeze;return new Zl(0,0,e-1,t-1,this.freezeTotalWidth(),this.freezeTotalHeight())}contentRange(){const{rows:e,cols:t}=this,[r,n]=e.maxCell(),a=e.sumHeight(0,r+1),s=t.sumWidth(0,n+1);return new Zl(0,0,r,n,s,a)}exceptRowTotalHeight(e,t){const{exceptRowSet:r,rows:n}=this,a=Array.from(r);let s=0;return a.forEach((r=>{if(r<e||r>t){const e=n.getHeight(r);s+=e}})),s}viewRange(){const{scroll:e,rows:t,cols:r,freeze:n,exceptRowSet:a}=this;let{ri:s,ci:o}=e;s<=0&&([s]=n),o<=0&&([,o]=n);let[i,l]=[0,0],[c,h]=[t.len,r.len];for(let f=s;f<t.len&&(a.has(f)||(l+=t.getHeight(f),c=f),!(l>this.viewHeight()));f+=1);for(let f=o;f<r.len&&(i+=r.getWidth(f),h=f,!(i>this.viewWidth()));f+=1);return new Zl(s,o,c,h,i,l)}eachMergesInView(e,t){this.merges.filterIntersects(e).forEach((e=>t(e)))}hideRowsOrCols(){const{rows:e,cols:t,selector:r}=this,[n,a]=r.size(),{sri:s,sci:o,eri:i,eci:l}=r.range;if(n===e.len)for(let c=o;c<=l;c+=1)t.setHide(c,!0);else if(a===t.len)for(let c=s;c<=i;c+=1)e.setHide(c,!0)}unhideRowsOrCols(e,t){this[`${e}s`].unhide(t)}rowEach(e,t,r){let n=0;const{rows:a}=this,s=this.exceptRowSet,o=[...s];let i=0;for(let l=0;l<o.length;l+=1)o[l]<e&&(i+=1);for(let l=e+i;l<=t+i;l+=1)if(s.has(l))i+=1;else{const e=a.getHeight(l);if(e>0&&(r(l,n,e),n+=e,n>this.viewHeight()))break}}colEach(e,t,r){let n=0;const{cols:a}=this;for(let s=e;s<=t;s+=1){const e=a.getWidth(s);if(e>0&&(r(s,n,e),n+=e,n>this.viewWidth()))break}}defaultStyle(){return this.settings.style}addStyle(e){const{styles:t}=this;for(let r=0;r<t.length;r+=1){const n=t[r];if(cc.equals(n,e))return r}return t.push(e),t.length-1}changeData(e){this.history.add(this.getData()),e(),this.change(this.getData())}setData(e){return Object.keys(e).forEach((t=>{if("merges"===t||"rows"===t||"cols"===t||"validations"===t)this[t].setData(e[t]);else if("freeze"===t){const[r,n]=Xl(e[t]);this.freeze=[n,r]}else"autofilter"===t?this.autoFilter.setData(e[t]):void 0!==e[t]&&(this[t]=e[t])})),this}getData(){const{name:e,freeze:t,styles:r,merges:n,rows:a,cols:s,validations:o,autoFilter:i}=this;return{name:e,freeze:Kl(t[1],t[0]),styles:r,merges:n.getData(),rows:a.getData(),cols:s.getData(),validations:o.getData(),autofilter:i.getData()}}}function Rc(e,t,r){e.addEventListener(t,r)}function Ic(e,t,r){e.removeEventListener(t,r)}function Dc(e){e.xclickoutside&&(Ic(window.document.body,"click",e.xclickoutside),delete e.xclickoutside)}function Pc(e,t){e.xclickoutside=r=>{2===r.detail||e.contains(r.target)||(t?t(e):(e.hide(),Dc(e)))},Rc(window.document.body,"click",e.xclickoutside)}function Fc(e,t,r){Rc(e,"mousemove",t);e.xEvtUp=n=>{Ic(e,"mousemove",t),Ic(e,"mouseup",e.xEvtUp),r(n)},Rc(e,"mouseup",e.xEvtUp)}function Vc(e,t,r,n){let a="";Math.abs(e)>Math.abs(t)?(a=e>0?"right":"left",n(a,e,r)):(a=t>0?"down":"up",n(a,t,r))}const zc="x-spreadsheet";class Lc{constructor(e=!1,t){this.moving=!1,this.vertical=e,this.el=jl("div",`${zc}-resizer ${e?"vertical":"horizontal"}`).children(this.unhideHoverEl=jl("div",`${zc}-resizer-hover`).on("dblclick.stop",(e=>this.mousedblclickHandler(e))).css("position","absolute").hide(),this.hoverEl=jl("div",`${zc}-resizer-hover`).on("mousedown.stop",(e=>this.mousedownHandler(e))),this.lineEl=jl("div",`${zc}-resizer-line`).hide()).hide(),this.cRect=null,this.finishedFn=null,this.minDistance=t,this.unhideFn=()=>{}}showUnhide(e){this.unhideIndex=e,this.unhideHoverEl.show()}hideUnhide(){this.unhideHoverEl.hide()}show(e,t){const{moving:r,vertical:n,hoverEl:a,lineEl:s,el:o,unhideHoverEl:i}=this;if(r)return;this.cRect=e;const{left:l,top:c,width:h,height:f}=e;o.offset({left:n?l+h-5:l,top:n?c:c+f-5}).show(),a.offset({width:n?5:h,height:n?f:5}),s.offset({width:n?0:t.width,height:n?t.height:0}),i.offset({left:n?5-h:l,top:n?c:5-f,width:n?5:h,height:n?f:5})}hide(){this.el.offset({left:0,top:0}).hide(),this.hideUnhide()}mousedblclickHandler(){this.unhideIndex&&this.unhideFn(this.unhideIndex)}mousedownHandler(e){let t=e;const{el:r,lineEl:n,cRect:a,vertical:s,minDistance:o}=this;let i=s?a.width:a.height;n.show(),Fc(window,(e=>{this.moving=!0,null!==t&&1===e.buttons&&(s?(i+=e.movementX,i>o&&r.css("left",`${a.left+i}px`)):(i+=e.movementY,i>o&&r.css("top",`${a.top+i}px`)),t=e)}),(()=>{t=null,n.hide(),this.moving=!1,this.hide(),this.finishedFn&&(i<o&&(i=o),this.finishedFn(a,i))}))}}class Hc{constructor(e){this.vertical=e,this.moveFn=null,this.el=jl("div",`${zc}-scrollbar ${e?"vertical":"horizontal"}`).child(this.contentEl=jl("div","")).on("mousemove.stop",(()=>{})).on("scroll.stop",(e=>{const{scrollTop:t,scrollLeft:r}=e.target;this.moveFn&&this.moveFn(this.vertical?t:r,e)}))}move(e){return this.el.scroll(e),this}scroll(){return this.el.scroll()}set(e,t){const r=e-1;if(t>r){const e=this.vertical?"height":"width";this.el.css(e,r-15+"px").show(),this.contentEl.css(this.vertical?"width":"height","1px").css(e,`${t}px`)}else this.el.hide();return this}}let Uc=10;class Wc{constructor(e=!1){this.useHideInput=e,this.inputChange=()=>{},this.cornerEl=jl("div",`${zc}-selector-corner`),this.areaEl=jl("div",`${zc}-selector-area`).child(this.cornerEl).hide(),this.clipboardEl=jl("div",`${zc}-selector-clipboard`).hide(),this.autofillEl=jl("div",`${zc}-selector-autofill`).hide(),this.el=jl("div",`${zc}-selector`).css("z-index",`${Uc}`).children(this.areaEl,this.clipboardEl,this.autofillEl).hide(),e&&(this.hideInput=jl("input","").on("compositionend",(e=>{this.inputChange(e.target.value)})),this.el.child(this.hideInputDiv=jl("div","hide-input").child(this.hideInput)),this.el.child(this.hideInputDiv=jl("div","hide-input").child(this.hideInput))),Uc+=1}setOffset(e){return this.el.offset(e).show(),this}hide(){return this.el.hide(),this}setAreaOffset(e){const{left:t,top:r,width:n,height:a}=e,s={width:n-3+.8,height:a-3+.8,left:t-.8,top:r-.8};this.areaEl.offset(s).show(),this.useHideInput&&(this.hideInputDiv.offset(s),this.hideInput.val("").focus())}setClipboardOffset(e){const{left:t,top:r,width:n,height:a}=e;this.clipboardEl.offset({left:t,top:r,width:n-5,height:a-5})}showAutofill(e){const{left:t,top:r,width:n,height:a}=e;this.autofillEl.offset({width:n-3,height:a-3,left:t,top:r}).show()}hideAutofill(){this.autofillEl.hide()}showClipboard(){this.clipboardEl.show()}hideClipboard(){this.clipboardEl.hide()}}function jc(e){const{data:t}=this,{left:r,top:n,width:a,height:s,scroll:o,l:i,t:l}=e,c=t.freezeTotalWidth(),h=t.freezeTotalHeight();let f=r-c;c>i&&(f-=o.x);let u=n-h;return h>l&&(u-=o.y),{left:f,top:u,width:a,height:s}}function $c(e){const{data:t}=this,{left:r,width:n,height:a,l:s,t:o,scroll:i}=e,l=t.freezeTotalWidth();let c=r-l;return l>s&&(c-=i.x),{left:c,top:o,width:n,height:a}}function qc(e){const{data:t}=this,{top:r,width:n,height:a,l:s,t:o,scroll:i}=e,l=t.freezeTotalHeight();let c=r-l;return l>o&&(c-=i.y),{left:s,top:c,width:n,height:a}}function Gc(e){const{br:t}=this;t.setAreaOffset(jc.call(this,e))}function Xc(e){const{tl:t}=this;t.setAreaOffset(e)}function Kc(e){const{t:t}=this;t.setAreaOffset($c.call(this,e))}function Yc(e){const{l:t}=this;t.setAreaOffset(qc.call(this,e))}function Zc(e){const{l:t}=this;t.setClipboardOffset(qc.call(this,e))}function Jc(e){const{br:t}=this;t.setClipboardOffset(jc.call(this,e))}function Qc(e){const{tl:t}=this;t.setClipboardOffset(e)}function eh(e){const{t:t}=this;t.setClipboardOffset($c.call(this,e))}function th(e){Gc.call(this,e),Xc.call(this,e),Kc.call(this,e),Yc.call(this,e)}function rh(e){Jc.call(this,e),Qc.call(this,e),eh.call(this,e),Zc.call(this,e)}class nh{constructor(e){this.inputChange=()=>{},this.data=e,this.br=new Wc(!0),this.t=new Wc,this.l=new Wc,this.tl=new Wc,this.br.inputChange=e=>{this.inputChange(e)},this.br.el.show(),this.offset=null,this.areaOffset=null,this.indexes=null,this.range=null,this.arange=null,this.el=jl("div",`${zc}-selectors`).children(this.tl.el,this.t.el,this.l.el,this.br.el).hide(),this.lastri=-1,this.lastci=-1,Uc+=1}resetData(e){this.data=e,this.range=e.selector.range,this.resetAreaOffset()}hide(){this.el.hide()}resetOffset(){const{data:e,tl:t,t:r,l:n,br:a}=this,s=e.freezeTotalHeight(),o=e.freezeTotalWidth();s>0||o>0?(t.setOffset({width:o,height:s}),r.setOffset({left:o,height:s}),n.setOffset({top:s,width:o}),a.setOffset({left:o,top:s})):(t.hide(),r.hide(),n.hide(),a.setOffset({left:0,top:0}))}resetAreaOffset(){const e=this.data.getSelectedRect(),t=this.data.getClipboardRect();th.call(this,e),rh.call(this,t),this.resetOffset()}resetBRTAreaOffset(){const e=this.data.getSelectedRect(),t=this.data.getClipboardRect();Gc.call(this,e),Kc.call(this,e),Jc.call(this,t),eh.call(this,t),this.resetOffset()}resetBRLAreaOffset(){const e=this.data.getSelectedRect(),t=this.data.getClipboardRect();Gc.call(this,e),Yc.call(this,e),Jc.call(this,t),Zc.call(this,t),this.resetOffset()}set(e,t,r=!0){const{data:n}=this,a=n.calSelectedRangeByStart(e,t),{sri:s,sci:o}=a;if(r){let[r,a]=[e,t];e<0&&(r=0),t<0&&(a=0),n.selector.setIndexes(r,a),this.indexes=[r,a]}this.moveIndexes=[s,o],this.range=a,this.resetAreaOffset(),this.el.show()}setEnd(e,t,r=!0){const{data:n,lastri:a,lastci:s}=this;if(r){if(e===a&&t===s)return;this.lastri=e,this.lastci=t}this.range=n.calSelectedRangeByEnd(e,t),th.call(this,this.data.getSelectedRect())}reset(){const{eri:e,eci:t}=this.data.selector.range;this.setEnd(e,t)}showAutofill(e,t){if(-1===e&&-1===t)return;const{sri:r,sci:n,eri:a,eci:s}=this.range,[o,i]=[e,t],l=r-e,c=a-e,h=s-t;if(n-t>0)this.arange=new Zl(r,i,a,n-1);else if(l>0)this.arange=new Zl(o,n,r-1,s);else if(h<0)this.arange=new Zl(r,s+1,a,i);else{if(!(c<0))return void(this.arange=null);this.arange=new Zl(a+1,n,o,s)}if(null!==this.arange){const e=this.data.getRect(this.arange);e.width+=2,e.height+=2;const{br:t,l:r,t:n,tl:a}=this;t.showAutofill(jc.call(this,e)),r.showAutofill(qc.call(this,e)),n.showAutofill($c.call(this,e)),a.showAutofill(e)}}hideAutofill(){["br","l","t","tl"].forEach((e=>{this[e].hideAutofill()}))}showClipboard(){const e=this.data.getClipboardRect();rh.call(this,e),["br","l","t","tl"].forEach((e=>{this[e].showClipboard()}))}hideClipboard(){["br","l","t","tl"].forEach((e=>{this[e].hideClipboard()}))}}function ah(e){e.preventDefault(),e.stopPropagation();const{filterItems:t}=this;t.length<=0||(this.itemIndex>=0&&t[this.itemIndex].toggle(),this.itemIndex-=1,this.itemIndex<0&&(this.itemIndex=t.length-1),t[this.itemIndex].toggle())}function sh(e){e.stopPropagation();const{filterItems:t}=this;t.length<=0||(this.itemIndex>=0&&t[this.itemIndex].toggle(),this.itemIndex+=1,this.itemIndex>t.length-1&&(this.itemIndex=0),t[this.itemIndex].toggle())}function oh(e){e.preventDefault();const{filterItems:t}=this;t.length<=0||(e.stopPropagation(),this.itemIndex<0&&(this.itemIndex=0),t[this.itemIndex].el.click(),this.hide())}function ih(e){const{keyCode:t}=e;switch(e.ctrlKey&&e.stopPropagation(),t){case 37:case 39:default:e.stopPropagation();break;case 38:ah.call(this,e);break;case 40:sh.call(this,e);break;case 13:case 9:oh.call(this,e)}}class lh{constructor(e,t,r="200px"){this.filterItems=[],this.items=e,this.el=jl("div",`${zc}-suggest`).css("width",r).hide(),this.itemClick=t,this.itemIndex=-1}setOffset(e){this.el.cssRemoveKeys("top","bottom").offset(e)}hide(){const{el:e}=this;this.filterItems=[],this.itemIndex=-1,e.hide(),Dc(this.el.parent())}setItems(e){this.items=e}search(e){let{items:t}=this;if(/^\s*$/.test(e)||(t=t.filter((t=>(t.key||t).startsWith(e.toUpperCase())))),t=t.map((e=>{let{title:t}=e;t?"function"==typeof t&&(t=t()):t=e;const r=jl("div",`${zc}-item`).child(t).on("click.stop",(()=>{this.itemClick(e),this.hide()}));return e.label&&r.child(jl("div","label").html(e.label)),r})),this.filterItems=t,t.length<=0)return;const{el:r}=this;r.html("").children(...t).show(),Pc(r.parent(),(()=>{this.hide()}))}bindInputEvents(e){e.on("keydown",(e=>ih.call(this,e)))}}class ch extends Wl{constructor(e){super("div",`${zc}-icon`),this.iconNameEl=jl("div",`${zc}-icon-img ${e}`),this.child(this.iconNameEl)}setName(e){this.iconNameEl.className(`${zc}-icon-img ${e}`)}}function hh(e,t){e.setMonth(e.getMonth()+t)}function fh(e,t){const r=new Date(e);return r.setDate(t-e.getDay()+1),r}class uh{constructor(e){this.value=e,this.cvalue=new Date(e),this.headerLeftEl=jl("div","calendar-header-left"),this.bodyEl=jl("tbody",""),this.buildAll(),this.el=jl("div","x-spreadsheet-calendar").children(jl("div","calendar-header").children(this.headerLeftEl,jl("div","calendar-header-right").children(jl("a","calendar-prev").on("click.stop",(()=>this.prev())).child(new ch("chevron-left")),jl("a","calendar-next").on("click.stop",(()=>this.next())).child(new ch("chevron-right")))),jl("table","calendar-body").children(jl("thead","").child(jl("tr","").children(...mc("calendar.weeks").map((e=>jl("th","cell").child(e))))),this.bodyEl)),this.selectChange=()=>{}}setValue(e){this.value=e,this.cvalue=new Date(e),this.buildAll()}prev(){const{value:e}=this;hh(e,-1),this.buildAll()}next(){const{value:e}=this;hh(e,1),this.buildAll()}buildAll(){this.buildHeaderLeft(),this.buildBody()}buildHeaderLeft(){const{value:e}=this;this.headerLeftEl.html(`${mc("calendar.months")[e.getMonth()]} ${e.getFullYear()}`)}buildBody(){const{value:e,cvalue:t,bodyEl:r}=this,n=function(e,t,r){const n=new Date(e,t,1,23,59,59),a=[[],[],[],[],[],[]];for(let s=0;s<6;s+=1)for(let e=0;e<7;e+=1){const o=fh(n,7*s+e),i=o.getMonth()!==t,l=o.getMonth()===r.getMonth()&&o.getDate()===r.getDate();a[s][e]={d:o,disabled:i,active:l}}return a}(e.getFullYear(),e.getMonth(),t).map((e=>{const t=e.map((e=>{let t="cell";return e.disabled&&(t+=" disabled"),e.active&&(t+=" active"),jl("td","").child(jl("div",t).on("click.stop",(()=>{this.selectChange(e.d)})).child(e.d.getDate().toString()))}));return jl("tr","").children(...t)}));r.html("").children(...n)}}class dh{constructor(){this.calendar=new uh(new Date),this.el=jl("div",`${zc}-datepicker`).child(this.calendar.el).hide()}setValue(e){const{calendar:t}=this;return"string"==typeof e?/^\d{4}-\d{1,2}-\d{1,2}$/.test(e)&&t.setValue(new Date(e.replace(new RegExp("-","g"),"/"))):e instanceof Date&&t.setValue(e),this}change(e){this.calendar.selectChange=t=>{e(t),this.hide()}}show(){this.el.show()}hide(){this.el.hide()}}function ph(){const{inputText:e}=this;if(!/^\s*$/.test(e)){const{textlineEl:t,textEl:r,areaOffset:n}=this,a=e.split("\n"),s=Math.max(...a.map((e=>e.length))),o=t.offset().width/e.length,i=(s+1)*o+5,l=this.viewFn().width-n.left-o;let c=a.length;if(i>n.width){let e=i;i>l&&(e=l,c+=parseInt(i/l,10),c+=i%l>0?1:0),r.css("width",`${e}px`)}c*=this.rowHeight,c>n.height&&r.css("height",`${c}px`)}}function mh({target:e},t){const{value:r,selectionEnd:n}=e,a=`${r.slice(0,n)}${t}${r.slice(n)}`;e.value=a,e.setSelectionRange(n+1,n+1),this.inputText=a,this.textlineEl.html(a),ph.call(this)}function gh(e){const{keyCode:t,altKey:r}=e;13!==t&&9!==t&&e.stopPropagation(),13===t&&r&&(mh.call(this,e,"\n"),e.stopPropagation()),13!==t||r||e.preventDefault()}function vh(e){const t=e.target.value,{suggest:r,textlineEl:n,validator:a}=this,{cell:s}=this;if(null!==s)if("editable"in s&&!0===s.editable||void 0===s.editable){if(this.inputText=t,a)"list"===a.type?r.search(t):r.hide();else{const e=t.lastIndexOf("=");-1!==e?r.search(t.substring(e+1)):r.hide()}n.html(t),ph.call(this),this.change("input",t)}else e.target.value=s.text;else{if(this.inputText=t,a)"list"===a.type?r.search(t):r.hide();else{const e=t.lastIndexOf("=");-1!==e?r.search(t.substring(e+1)):r.hide()}n.html(t),ph.call(this),this.change("input",t)}}function wh(e){const{el:t}=this.textEl;setTimeout((()=>{t.focus(),t.setSelectionRange(e,e)}),0)}function bh(e,t){const{textEl:r,textlineEl:n}=this;r.el.blur(),r.val(e),n.html(e),wh.call(this,t)}function yh(e){const{inputText:t,validator:r}=this;let n=0;if(r&&"list"===r.type)this.inputText=e,n=this.inputText.length;else{const r=t.lastIndexOf("="),a=t.substring(0,r+1);let s=t.substring(r+1);s=-1!==s.indexOf(")")?s.substring(s.indexOf(")")):"",this.inputText=`${a+e.key}(`,n=this.inputText.length,this.inputText+=`)${s}`}bh.call(this,this.inputText,n)}function kh(){this.suggest.setItems(this.formulas)}class Eh{constructor(e,t,r){this.viewFn=t,this.rowHeight=r,this.formulas=e,this.suggest=new lh(e,(e=>{yh.call(this,e)})),this.datepicker=new dh,this.datepicker.change((e=>{this.setText(function(e){let t=e.getMonth()+1,r=e.getDate();return t<10&&(t=`0${t}`),r<10&&(r=`0${r}`),`${e.getFullYear()}-${t}-${r}`}(e)),this.clear()})),this.areaEl=jl("div",`${zc}-editor-area`).children(this.textEl=jl("textarea","").on("input",(e=>vh.call(this,e))).on("paste.stop",(()=>{})).on("keydown",(e=>gh.call(this,e))),this.textlineEl=jl("div","textline"),this.suggest.el,this.datepicker.el).on("mousemove.stop",(()=>{})).on("mousedown.stop",(()=>{})),this.el=jl("div",`${zc}-editor`).child(this.areaEl).hide(),this.suggest.bindInputEvents(this.textEl),this.areaOffset=null,this.freeze={w:0,h:0},this.cell=null,this.inputText="",this.change=()=>{}}setFreezeLengths(e,t){this.freeze.w=e,this.freeze.h=t}clear(){""!==this.inputText&&this.change("finished",this.inputText),this.cell=null,this.areaOffset=null,this.inputText="",this.el.hide(),this.textEl.val(""),this.textlineEl.html(""),kh.call(this),this.datepicker.hide()}setOffset(e,t="top"){const{textEl:r,areaEl:n,suggest:a,freeze:s,el:o}=this;if(e){this.areaOffset=e;const{left:i,top:l,width:c,height:h,l:f,t:u}=e,d={left:0,top:0};s.w>f&&s.h>u||(s.w<f&&s.h<u?(d.left=s.w,d.top=s.h):s.w>f?d.top=s.h:s.h>u&&(d.left=s.w)),o.offset(d),n.offset({left:i-d.left-.8,top:l-d.top-.8}),r.offset({width:c-9+.8,height:h-3+.8});const p={left:0};p[t]=h,a.setOffset(p),a.hide()}}setCell(e,t){const{el:r,datepicker:n,suggest:a}=this;r.show(),this.cell=e;const s=e&&e.text||"";if(this.setText(s),this.validator=t,t){const{type:e}=t;"date"===e&&(n.show(),/^\s*$/.test(s)||n.setValue(s)),"list"===e&&(a.setItems(t.values()),a.search(""))}}setText(e){this.inputText=e,bh.call(this,e,e.length),ph.call(this)}}class xh extends Wl{constructor(e,t=""){super("div",`${zc}-button ${t}`),this.child(mc(`button.${e}`))}}function _h(){return window.devicePixelRatio||1}function Ch(){return _h()-.5}function Sh(e){return parseInt(e*_h(),10)}function Th(e){const t=Sh(e);return t>0?t-.5:.5}class Ah{constructor(e,t,r,n,a=0){this.x=e,this.y=t,this.width=r,this.height=n,this.padding=a,this.bgcolor="#ffffff",this.borderTop=null,this.borderRight=null,this.borderBottom=null,this.borderLeft=null}setBorders({top:e,bottom:t,left:r,right:n}){e&&(this.borderTop=e),n&&(this.borderRight=n),t&&(this.borderBottom=t),r&&(this.borderLeft=r)}innerWidth(){return this.width-2*this.padding-2}innerHeight(){return this.height-2*this.padding-2}textx(e){const{width:t,padding:r}=this;let{x:n}=this;return"left"===e?n+=r:"center"===e?n+=t/2:"right"===e&&(n+=t-r),n}texty(e,t){const{height:r,padding:n}=this;let{y:a}=this;return"top"===e?a+=n:"middle"===e?a+=r/2-t/2:"bottom"===e&&(a+=r-n-t),a}topxys(){const{x:e,y:t,width:r}=this;return[[e,t],[e+r,t]]}rightxys(){const{x:e,y:t,width:r,height:n}=this;return[[e+r,t],[e+r,t+n]]}bottomxys(){const{x:e,y:t,width:r,height:n}=this;return[[e,t+n],[e+r,t+n]]}leftxys(){const{x:e,y:t,height:r}=this;return[[e,t],[e,t+r]]}}function Nh(e,t,r,n,a,s,o){const i={x:0,y:0};"underline"===e?i.y="bottom"===a?0:"top"===a?-(s+2):-s/2:"strike"===e&&("bottom"===a?i.y=s/2:"top"===a&&(i.y=-(s/2+2))),"center"===n?i.x=o/2:"right"===n&&(i.x=o),this.line([t-i.x,r-i.y],[t-i.x+o,r-i.y])}class Bh{constructor(e,t,r){this.el=e,this.ctx=e.getContext("2d"),this.resize(t,r),this.ctx.scale(_h(),_h())}resize(e,t){this.el.style.width=`${e}px`,this.el.style.height=`${t}px`,this.el.width=Sh(e),this.el.height=Sh(t)}clear(){const{width:e,height:t}=this.el;return this.ctx.clearRect(0,0,e,t),this}attr(e){return Object.assign(this.ctx,e),this}save(){return this.ctx.save(),this.ctx.beginPath(),this}restore(){return this.ctx.restore(),this}beginPath(){return this.ctx.beginPath(),this}translate(e,t){return this.ctx.translate(Sh(e),Sh(t)),this}scale(e,t){return this.ctx.scale(e,t),this}clearRect(e,t,r,n){return this.ctx.clearRect(e,t,r,n),this}fillRect(e,t,r,n){return this.ctx.fillRect(Sh(e)-.5,Sh(t)-.5,Sh(r),Sh(n)),this}fillText(e,t,r){return this.ctx.fillText(e,Sh(t),Sh(r)),this}text(e,t,r={},n=!0){const{ctx:a}=this,{align:s,valign:o,font:i,color:l,strike:c,underline:h}=r,f=t.textx(s);a.save(),a.beginPath(),this.attr({textAlign:s,textBaseline:o,font:`${i.italic?"italic":""} ${i.bold?"bold":""} ${Sh(i.size)}px ${i.name}`,fillStyle:l,strokeStyle:l});const u=`${e}`.split("\n"),d=t.innerWidth(),p=[];u.forEach((e=>{const t=a.measureText(e).width;if(n&&t>Sh(d)){let t={w:0,len:0,start:0};for(let r=0;r<e.length;r+=1)t.w>=Sh(d)&&(p.push(e.substr(t.start,t.len)),t={w:0,len:0,start:r}),t.len+=1,t.w+=a.measureText(e[r]).width+1;t.len>0&&p.push(e.substr(t.start,t.len))}else p.push(e)}));const m=(p.length-1)*(i.size+2);let g=t.texty(o,m);return p.forEach((e=>{const t=a.measureText(e).width;this.fillText(e,f,g),c&&Nh.call(this,"strike",f,g,s,o,i.size,t),h&&Nh.call(this,"underline",f,g,s,o,i.size,t),g+=i.size+2})),a.restore(),this}border(e,t){const{ctx:r}=this;return r.lineWidth=Ch,r.strokeStyle=t,"medium"===e?r.lineWidth=Sh(2)-.5:"thick"===e?r.lineWidth=Sh(3):"dashed"===e?r.setLineDash([Sh(3),Sh(2)]):"dotted"===e?r.setLineDash([Sh(1),Sh(1)]):"double"===e&&r.setLineDash([Sh(2),0]),this}line(...e){const{ctx:t}=this;if(e.length>1){t.beginPath();const[r,n]=e[0];t.moveTo(Th(r),Th(n));for(let a=1;a<e.length;a+=1){const[r,n]=e[a];t.lineTo(Th(r),Th(n))}t.stroke()}return this}strokeBorders(e){const{ctx:t}=this;t.save();const{borderTop:r,borderRight:n,borderBottom:a,borderLeft:s}=e;r&&(this.border(...r),this.line(...e.topxys())),n&&(this.border(...n),this.line(...e.rightxys())),a&&(this.border(...a),this.line(...e.bottomxys())),s&&(this.border(...s),this.line(...e.leftxys())),t.restore()}dropdown(e){const{ctx:t}=this,{x:r,y:n,width:a,height:s}=e,o=r+a-15,i=n+s-15;t.save(),t.beginPath(),t.moveTo(Sh(o),Sh(i)),t.lineTo(Sh(o+8),Sh(i)),t.lineTo(Sh(o+4),Sh(i+6)),t.closePath(),t.fillStyle="rgba(0, 0, 0, .45)",t.fill(),t.restore()}error(e){const{ctx:t}=this,{x:r,y:n,width:a}=e,s=r+a-1;t.save(),t.beginPath(),t.moveTo(Sh(s-8),Sh(n-1)),t.lineTo(Sh(s),Sh(n-1)),t.lineTo(Sh(s),Sh(n+8)),t.closePath(),t.fillStyle="rgba(255, 0, 0, .65)",t.fill(),t.restore()}frozen(e){const{ctx:t}=this,{x:r,y:n,width:a}=e,s=r+a-1;t.save(),t.beginPath(),t.moveTo(Sh(s-8),Sh(n-1)),t.lineTo(Sh(s),Sh(n-1)),t.lineTo(Sh(s),Sh(n+8)),t.closePath(),t.fillStyle="rgba(0, 255, 0, .85)",t.fill(),t.restore()}rect(e,t){const{ctx:r}=this,{x:n,y:a,width:s,height:o,bgcolor:i}=e;r.save(),r.beginPath(),r.fillStyle=i||"#fff",r.rect(Th(n+1),Th(a+1),Sh(s-2),Sh(o-2)),r.clip(),r.fill(),t(),r.restore()}}const Mh=[{key:"Arial",title:"Arial"},{key:"Helvetica",title:"Helvetica"},{key:"Source Sans Pro",title:"Source Sans Pro"},{key:"Comic Sans MS",title:"Comic Sans MS"},{key:"Courier New",title:"Courier New"},{key:"Verdana",title:"Verdana"},{key:"Lato",title:"Lato"}],Oh=[{pt:7.5,px:10},{pt:8,px:11},{pt:9,px:12},{pt:10,px:13},{pt:10.5,px:14},{pt:11,px:15},{pt:12,px:16},{pt:14,px:18.7},{pt:15,px:20},{pt:16,px:21.3},{pt:18,px:24},{pt:22,px:29.3},{pt:24,px:32},{pt:26,px:34.7},{pt:36,px:48},{pt:42,px:56}];const Rh=(e,t)=>{const[r]=e;let n=e;if('"'===r)return e.substring(1);let a=1;if("-"===r&&(n=e.substring(1),a=-1),n[0]>="0"&&n[0]<="9")return a*Number(n);const[s,o]=Xl(n);return a*t(s,o)},Ih=(e,t,r,n=[])=>{if("="===e[0]){const a=(e=>{const t=[],r=[];let n=[],a=0,s="",o=1,i="";for(let c=0;c<e.length;c+=1){const h=e.charAt(c);if(" "!==h){if(h>="a"&&h<="z")n.push(h.toUpperCase());else if(h>="0"&&h<="9"||h>="A"&&h<="Z"||"."===h)n.push(h);else if('"'===h){for(c+=1;'"'!==e.charAt(c);)n.push(e.charAt(c)),c+=1;r.push(`"${n.join("")}`),n=[]}else if("-"===h&&/[+\-*/,(]/.test(i))n.push(h);else{if("("!==h&&n.length>0&&r.push(n.join("")),")"===h){let e=t.pop();if(2===a)try{const[t,n]=Xl(r.pop()),[a,s]=Xl(r.pop());let o=0;for(let e=a;e<=t;e+=1)for(let t=s;t<=n;t+=1)r.push(Kl(e,t)),o+=1;r.push([e,o])}catch(l){}else if(1===a||3===a)3===a&&r.push(s),r.push([e,o]),o=1;else for(;"("!==e&&(r.push(e),!(t.length<=0));)e=t.pop();a=0}else if("="===h||">"===h||"<"===h){const t=e.charAt(c+1);s=h,"="!==t&&"-"!==t||(s+=t,c+=1),a=3}else if(":"===h)a=2;else if(","===h)3===a&&r.push(s),a=1,o+=1;else if("("===h&&n.length>0)t.push(n.join(""));else{if(t.length>0&&("+"===h||"-"===h)){let e=t[t.length-1];if("("!==e&&r.push(t.pop()),"*"===e||"/"===e)for(;t.length>0&&(e=t[t.length-1],"("!==e);)r.push(t.pop())}else if(t.length>0){const e=t[t.length-1];"*"!==e&&"/"!==e||r.push(t.pop())}t.push(h)}n=[]}i=h}}for(n.length>0&&r.push(n.join(""));t.length>0;)r.push(t.pop());return r})(e.substring(1));return a.length<=0?e:((e,t,r,n)=>{const a=[];for(let s=0;s<e.length;s+=1){const o=e[s],i=o[0];if("+"===o){const e=a.pop();a.push(lc("+",a.pop(),e))}else if("-"===o)if(1===a.length){const e=a.pop();a.push(lc("*",e,-1))}else{const e=a.pop();a.push(lc("-",a.pop(),e))}else if("*"===o)a.push(lc("*",a.pop(),a.pop()));else if("/"===o){const e=a.pop();a.push(lc("/",a.pop(),e))}else if("="===i||">"===i||"<"===i){let e=a.pop();Number.isNaN(e)||(e=Number(e));let t=a.pop();Number.isNaN(t)||(t=Number(t));let r=!1;"="===i?r=t===e:">"===o?r=t>e:">="===o?r=t>=e:"<"===o?r=t<e:"<="===o&&(r=t<=e),a.push(r)}else if(Array.isArray(o)){const[e,r]=o,n=[];for(let t=0;t<r;t+=1)n.push(a.pop());a.push(t[e].render(n.reverse()))}else{if(n.includes(o))return 0;(i>="a"&&i<="z"||i>="A"&&i<="Z")&&n.push(o),a.push(Rh(o,r)),n.pop()}}return a[0]})(a,t,((e,a)=>Ih(r(e,a),t,r,n)),n)}return e},Dh={render:Ih},Ph=[{key:"SUM",title:gc("formula.sum"),render:e=>e.reduce(((e,t)=>lc("+",e,t)),0)},{key:"AVERAGE",title:gc("formula.average"),render:e=>e.reduce(((e,t)=>Number(e)+Number(t)),0)/e.length},{key:"MAX",title:gc("formula.max"),render:e=>Math.max(...e.map((e=>Number(e))))},{key:"MIN",title:gc("formula.min"),render:e=>Math.min(...e.map((e=>Number(e))))},{key:"IF",title:gc("formula._if"),render:([e,t,r])=>e?t:r},{key:"AND",title:gc("formula.and"),render:e=>e.every((e=>e))},{key:"OR",title:gc("formula.or"),render:e=>e.some((e=>e))},{key:"CONCAT",title:gc("formula.concat"),render:e=>e.join("")}],Fh=Ph,Vh={};Ph.forEach((e=>{Vh[e.key]=e}));const zh=e=>e,Lh=e=>{if(/^(-?\d*.?\d*)$/.test(e)){const t=Number(e).toFixed(2).toString(),[r,...n]=t.split("\\.");return[r.replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),...n]}return e},Hh=[{key:"normal",title:gc("format.normal"),type:"string",render:zh},{key:"text",title:gc("format.text"),type:"string",render:zh},{key:"number",title:gc("format.number"),type:"number",label:"1,000.12",render:Lh},{key:"percent",title:gc("format.percent"),type:"number",label:"10.12%",render:e=>`${e}%`},{key:"rmb",title:gc("format.rmb"),type:"number",label:"¥10.00",render:e=>`¥${Lh(e)}`},{key:"usd",title:gc("format.usd"),type:"number",label:"$10.00",render:e=>`$${Lh(e)}`},{key:"eur",title:gc("format.eur"),type:"number",label:"€10.00",render:e=>`€${Lh(e)}`},{key:"date",title:gc("format.date"),type:"date",label:"26/09/2008",render:zh},{key:"time",title:gc("format.time"),type:"date",label:"15:59:00",render:zh},{key:"datetime",title:gc("format.datetime"),type:"date",label:"26/09/2008 15:59:00",render:zh},{key:"duration",title:gc("format.duration"),type:"date",label:"24:01:00",render:zh}],Uh={};Hh.forEach((e=>{Uh[e.key]=e}));const Wh={fillStyle:"#f4f5f8"},jh={fillStyle:"#fff",lineWidth:Ch,strokeStyle:"#e6e6e6"};function $h(e,t,r,n=0){const{left:a,top:s,width:o,height:i}=e.cellRect(t,r);return new Ah(a,s+n,o,i,5)}function qh(e,t,r,n,a=0){const{sortedRowMap:s,rows:o,cols:i}=t;if(o.isHide(r)||i.isHide(n))return;let l=r;s.has(r)&&(l=s.get(r));const c=t.getCell(l,n);if(null===c)return;let h=!1;"editable"in c&&!1===c.editable&&(h=!0);const f=t.getCellStyleOrDefault(l,n),u=$h(t,r,n,a);u.bgcolor=f.bgcolor,void 0!==f.border&&(u.setBorders(f.border),e.strokeBorders(u)),e.rect(u,(()=>{let a="";a=t.settings.evalPaused?c.text||"":Dh.render(c.text||"",Vh,((e,r)=>t.getCellTextOrDefault(r,e))),f.format&&(a=Uh[f.format].render(a));const s=Object.assign({},f.font);s.size=function(e){for(let t=0;t<Oh.length;t+=1){const r=Oh[t];if(r.pt===e)return r.px}return e}(s.size),e.text(a,u,{align:f.align,valign:f.valign,font:s,color:f.color,strike:f.strike,underline:f.underline},f.textwrap);t.validations.getError(r,n)&&e.error(u),h&&e.frozen(u)}))}function Gh(e){const{data:t,draw:r}=this;if(e){const{autoFilter:n}=t;if(!n.active())return;const a=n.hrange();e.intersects(a)&&a.each(((e,n)=>{const a=$h(t,e,n);r.dropdown(a)}))}}function Xh(e,t,r,n,a){const{draw:s,data:o}=this;s.save(),s.translate(t,r).translate(n,a);const{exceptRowSet:i}=o,l=o.exceptRowTotalHeight(e.sri,e.eri);s.save(),s.translate(0,-l),e.each(((e,t)=>{qh(s,o,e,t)}),(e=>(e=>{const t=i.has(e);if(t){const t=o.rows.getHeight(e);s.translate(0,-t)}return!t})(e))),s.restore();const c=new Set;s.save(),s.translate(0,-l),o.eachMergesInView(e,(({sri:e,sci:t,eri:r})=>{if(i.has(e)){if(!c.has(e)){c.add(e);const t=o.rows.sumHeight(e,r+1);s.translate(0,-t)}}else qh(s,o,e,t)})),s.restore(),Gh.call(this,e),s.restore()}function Kh(e,t,r,n){const{draw:a}=this;a.save(),a.attr({fillStyle:"rgba(75, 137, 255, 0.08)"}).fillRect(e,t,r,n),a.restore()}function Yh(e,t,r,n,a,s){const{draw:o,data:i}=this,l=t.h,c=t.w,h=s+n,f=a+r;o.save(),o.attr(Wh),"all"!==e&&"left"!==e||o.fillRect(0,h,r,l),"all"!==e&&"top"!==e||o.fillRect(f,0,c,n);const{sri:u,sci:d,eri:p,eci:m}=i.selector.range;o.attr({textAlign:"center",textBaseline:"middle",font:`500 ${Sh(12)}px Source Sans Pro`,fillStyle:"#585757",lineWidth:Ch(),strokeStyle:"#e6e6e6"}),"all"!==e&&"left"!==e||(i.rowEach(t.sri,t.eri,((e,t,n)=>{const a=h+t,s=e;o.line([0,a],[r,a]),u<=s&&s<p+1&&Kh.call(this,0,a,r,n),o.fillText(s+1,r/2,a+n/2),e>0&&i.rows.isHide(e-1)&&(o.save(),o.attr({strokeStyle:"#c6c6c6"}),o.line([5,a+5],[r-5,a+5]),o.restore())})),o.line([0,l+h],[r,l+h]),o.line([r,h],[r,l+h])),"all"!==e&&"top"!==e||(i.colEach(t.sci,t.eci,((e,t,r)=>{const a=f+t,s=e;o.line([a,0],[a,n]),d<=s&&s<m+1&&Kh.call(this,a,0,r,n),o.fillText(ql(s),a+r/2,n/2),e>0&&i.cols.isHide(e-1)&&(o.save(),o.attr({strokeStyle:"#c6c6c6"}),o.line([a+5,5],[a+5,n-5]),o.restore())})),o.line([c+f,0],[c+f,n]),o.line([0,n],[c+f,n])),o.restore()}function Zh(e,t){const{draw:r}=this;r.save(),r.attr({fillStyle:"#f4f5f8"}).fillRect(0,0,e,t),r.restore()}function Jh({sri:e,sci:t,eri:r,eci:n,w:a,h:s},o,i,l,c){const{draw:h,data:f}=this,{settings:u}=f;h.save(),h.attr(jh).translate(o+l,i+c),u.showGrid?(f.rowEach(e,r,((t,n,s)=>{t!==e&&h.line([0,n],[a,n]),t===r&&h.line([0,n+s],[a,n+s])})),f.colEach(t,n,((e,r,a)=>{e!==t&&h.line([r,0],[r,s]),e===n&&h.line([r+a,0],[r+a,s])})),h.restore()):h.restore()}function Qh(e,t,r,n){const{draw:a,data:s}=this,o=s.viewWidth()-e,i=s.viewHeight()-t;a.save().translate(e,t).attr({strokeStyle:"rgba(75, 137, 255, .6)"}),a.line([0,n],[o,n]),a.line([r,0],[r,i]),a.restore()}class ef{constructor(e,t){this.el=e,this.draw=new Bh(e,t.viewWidth(),t.viewHeight()),this.data=t}resetData(e){this.data=e,this.render()}render(){const{data:e}=this,{rows:t,cols:r}=e,n=r.indexWidth,a=t.height;this.draw.resize(e.viewWidth(),e.viewHeight()),this.clear();const s=e.viewRange(),o=e.freezeTotalWidth(),i=e.freezeTotalHeight(),{x:l,y:c}=e.scroll;Jh.call(this,s,n,a,o,i),Xh.call(this,s,n,a,-l,-c),Yh.call(this,"all",s,n,a,o,i),Zh.call(this,n,a);const[h,f]=e.freeze;if(h>0||f>0){if(h>0){const e=s.clone();e.sri=0,e.eri=h-1,e.h=i,Jh.call(this,e,n,a,o,0),Xh.call(this,e,n,a,-l,0),Yh.call(this,"top",e,n,a,o,0)}if(f>0){const e=s.clone();e.sci=0,e.eci=f-1,e.w=o,Jh.call(this,e,n,a,0,i),Yh.call(this,"left",e,n,a,0,i),Xh.call(this,e,n,a,0,-c)}const t=e.freezeViewRange();Jh.call(this,t,n,a,0,0),Yh.call(this,"all",t,n,a,0,0),Xh.call(this,t,n,a,0,0),Qh.call(this,n,a,o,i)}}clear(){this.draw.clear()}}const tf=[["A3",11.69,16.54],["A4",8.27,11.69],["A5",5.83,8.27],["B4",9.84,13.9],["B5",6.93,9.84]],rf=["landscape","portrait"];function nf(e){return parseInt(96*e,10)}function af(e){"cancel"===e?this.el.hide():this.toPrint()}function sf(e){const{paper:t}=this,{value:r}=e.target,n=tf[r];t.w=nf(n[1]),t.h=nf(n[2]),this.preview()}function of(e){const{paper:t}=this,{value:r}=e.target,n=rf[r];t.orientation=n,this.preview()}let lf=class{constructor(e){this.paper={w:nf(tf[0][1]),h:nf(tf[0][2]),padding:50,orientation:rf[0],get width(){return"landscape"===this.orientation?this.h:this.w},get height(){return"landscape"===this.orientation?this.w:this.h}},this.data=e,this.el=jl("div",`${zc}-print`).children(jl("div",`${zc}-print-bar`).children(jl("div","-title").child("Print settings"),jl("div","-right").children(jl("div",`${zc}-buttons`).children(new xh("cancel").on("click",af.bind(this,"cancel")),new xh("next","primary").on("click",af.bind(this,"next"))))),jl("div",`${zc}-print-content`).children(this.contentEl=jl("div","-content"),jl("div","-sider").child(jl("form","").children(jl("fieldset","").children(jl("label","").child(`${mc("print.size")}`),jl("select","").children(...tf.map(((e,t)=>jl("option","").attr("value",t).child(`${e[0]} ( ${e[1]}''x${e[2]}'' )`)))).on("change",sf.bind(this))),jl("fieldset","").children(jl("label","").child(`${mc("print.orientation")}`),jl("select","").children(...rf.map(((e,t)=>jl("option","").attr("value",t).child(`${mc("print.orientations")[t]}`)))).on("change",of.bind(this))))))).hide()}resetData(e){this.data=e}preview(){const{data:e,paper:t}=this,{width:r,height:n,padding:a}=t,s=r-2*a,o=n-2*a,i=e.contentRange(),l=parseInt(i.h/o,10)+1,c=s/i.w;let h=a;const f=a;c>1&&(h+=(s-i.w)/2);let u=0,d=0;this.contentEl.html(""),this.canvases=[];const p={sri:0,sci:0,eri:0,eci:0};for(let m=0;m<l;m+=1){let t=0,a=0;const s=jl("div",`${zc}-canvas-card`),l=jl("canvas",`${zc}-canvas`);this.canvases.push(l.el);const m=new Bh(l.el,r,n);for(m.save(),m.translate(h,f),c<1&&m.scale(c,c);u<=i.eri;u+=1){const r=e.rows.getHeight(u);if(t+=r,!(t<o)){a=-(t-r);break}for(let t=0;t<=i.eci;t+=1)qh(m,e,u,t,d),p.eci=t}p.eri=u,m.restore(),m.save(),m.translate(h,f),c<1&&m.scale(c,c);const g=d;e.eachMergesInView(p,(({sri:t,sci:r})=>{qh(m,e,t,r,g)})),m.restore(),p.sri=p.eri,p.sci=p.eci,d+=a,this.contentEl.child(jl("div",`${zc}-canvas-card-wraper`).child(s.child(l)))}this.el.show()}toPrint(){this.el.hide();const{paper:e}=this,t=jl("iframe","").hide(),{el:r}=t;window.document.body.appendChild(r);const{contentWindow:n}=r,a=n.document,s=document.createElement("style");s.innerHTML=`\n @page { size: ${e.width}px ${e.height}px; };\n canvas {\n page-break-before: auto; \n page-break-after: always;\n image-rendering: pixelated;\n };\n `,a.head.appendChild(s),this.canvases.forEach((e=>{const t=e.cloneNode(!1);t.getContext("2d").drawImage(e,0,0),a.body.appendChild(t)})),n.print()}};const cf=[{key:"copy",title:gc("contextmenu.copy"),label:"Ctrl+C"},{key:"cut",title:gc("contextmenu.cut"),label:"Ctrl+X"},{key:"paste",title:gc("contextmenu.paste"),label:"Ctrl+V"},{key:"paste-value",title:gc("contextmenu.pasteValue"),label:"Ctrl+Shift+V"},{key:"paste-format",title:gc("contextmenu.pasteFormat"),label:"Ctrl+Alt+V"},{key:"divider"},{key:"insert-row",title:gc("contextmenu.insertRow")},{key:"insert-column",title:gc("contextmenu.insertColumn")},{key:"divider"},{key:"delete-row",title:gc("contextmenu.deleteRow")},{key:"delete-column",title:gc("contextmenu.deleteColumn")},{key:"delete-cell-text",title:gc("contextmenu.deleteCellText")},{key:"hide",title:gc("contextmenu.hide")},{key:"divider"},{key:"validation",title:gc("contextmenu.validation")},{key:"divider"},{key:"cell-printable",title:gc("contextmenu.cellprintable")},{key:"cell-non-printable",title:gc("contextmenu.cellnonprintable")},{key:"divider"},{key:"cell-editable",title:gc("contextmenu.celleditable")},{key:"cell-non-editable",title:gc("contextmenu.cellnoneditable")}];function hf(e){return"divider"===e.key?jl("div",`${zc}-item divider`):jl("div",`${zc}-item`).on("click",(()=>{this.itemClick(e.key),this.hide()})).children(e.title(),jl("div","label").child(e.label||""))}function ff(){return cf.map((e=>hf.call(this,e)))}let uf=class{constructor(e,t=!1){this.menuItems=ff.call(this),this.el=jl("div",`${zc}-contextmenu`).children(...this.menuItems).hide(),this.viewFn=e,this.itemClick=()=>{},this.isHide=t,this.setMode("range")}setMode(e){const t=this.menuItems[12];"row-col"===e?t.show():t.hide()}hide(){const{el:e}=this;e.hide(),Dc(e)}setPosition(e,t){if(this.isHide)return;const{el:r}=this,{width:n}=r.show().offset(),a=this.viewFn(),s=a.height/2;let o=e;a.width-e<=n&&(o-=n),r.css("left",`${o}px`),t>s?r.css("bottom",a.height-t+"px").css("max-height",`${t}px`).css("top","auto"):r.css("top",`${t}px`).css("max-height",a.height-t+"px").css("bottom","auto"),Pc(r)}};class df{constructor(e,t,r){this.tip=mc(`toolbar.${e.replace(/-[a-z]/g,(e=>e[1].toUpperCase()))}`),t&&(this.tip+=` (${t})`),this.tag=e,this.shortcut=t,this.value=r,this.el=this.element(),this.change=()=>{}}element(){const{tip:e}=this;return jl("div",`${zc}-toolbar-btn`).on("mouseenter",(t=>{!function(e,t){if(t.classList.contains("active"))return;const{left:r,top:n,width:a,height:s}=t.getBoundingClientRect(),o=jl("div",`${zc}-tooltip`).html(e).show();document.body.appendChild(o.el);const i=o.box();o.css("left",r+a/2-i.width/2+"px").css("top",`${n+s+2}px`),Rc(t,"mouseleave",(()=>{document.body.contains(o.el)&&document.body.removeChild(o.el)})),Rc(t,"click",(()=>{document.body.contains(o.el)&&document.body.removeChild(o.el)}))}(e,t.target)})).attr("data-tooltip",e)}setState(){}}class pf extends df{dropdown(){}getValue(e){return e}element(){const{tag:e}=this;return this.dd=this.dropdown(),this.dd.change=t=>this.change(e,this.getValue(t)),super.element().child(this.dd)}setState(e){e&&(this.value=e,this.dd.setTitle(e))}}class mf extends Wl{constructor(e,t,r,n,...a){super("div",`${zc}-dropdown ${n}`),this.title=e,this.change=()=>{},this.headerClick=()=>{},"string"==typeof e?this.title=jl("div",`${zc}-dropdown-title`).child(e):r&&this.title.addClass("arrow-left"),this.contentEl=jl("div",`${zc}-dropdown-content`).css("width",t).hide(),this.setContentChildren(...a),this.headerEl=jl("div",`${zc}-dropdown-header`),this.headerEl.on("click",(()=>{"block"!==this.contentEl.css("display")?this.show():this.hide()})).children(this.title,r?jl("div",`${zc}-icon arrow-right`).child(jl("div",`${zc}-icon-img arrow-down`)):""),this.children(this.headerEl,this.contentEl)}setContentChildren(...e){this.contentEl.html(""),e.length>0&&this.contentEl.children(...e)}setTitle(e){this.title.html(e),this.hide()}show(){const{contentEl:e}=this;e.show(),this.parent().active(),Pc(this.parent(),(()=>{this.hide()}))}hide(){this.parent().active(!1),this.contentEl.hide(),Dc(this.parent())}}class gf extends mf{constructor(e,t){super(new ch(`align-${t}`),"auto",!0,"bottom-left",...e.map((e=>{return(t=`align-${e}`,jl("div",`${zc}-item`).child(new ch(t))).on("click",(()=>{this.setTitle(e),this.change(e)}));var t})))}setTitle(e){this.title.setName(`align-${e}`),this.hide()}}class vf extends pf{constructor(e){super("align","",e)}dropdown(){const{value:e}=this;return new gf(["left","center","right"],e)}}class wf extends pf{constructor(e){super("valign","",e)}dropdown(){const{value:e}=this;return new gf(["top","middle","bottom"],e)}}class bf extends df{element(){const{tag:e}=this;return super.element().child(new ch(e)).on("click",(()=>this.click()))}click(){this.change(this.tag,this.toggle())}setState(e){this.el.active(e)}toggle(){return this.el.toggle()}active(){return this.el.hasClass("active")}}class yf extends bf{constructor(){super("autofilter")}setState(){}}class kf extends bf{constructor(){super("font-bold","Ctrl+B")}}class Ef extends bf{constructor(){super("font-italic","Ctrl+I")}}class xf extends bf{constructor(){super("strike","Ctrl+U")}}class _f extends bf{constructor(){super("underline","Ctrl+U")}}const Cf=["#ffffff","#000100","#e7e5e6","#445569","#5b9cd6","#ed7d31","#a5a5a5","#ffc001","#4371c6","#71ae47"],Sf=[["#f2f2f2","#7f7f7f","#d0cecf","#d5dce4","#deeaf6","#fce5d5","#ededed","#fff2cd","#d9e2f3","#e3efd9"],["#d8d8d8","#595959","#afabac","#adb8ca","#bdd7ee","#f7ccac","#dbdbdb","#ffe59a","#b3c6e7","#c5e0b3"],["#bfbfbf","#3f3f3f","#756f6f","#8596b0","#9cc2e6","#f4b184","#c9c9c9","#fed964","#8eaada","#a7d08c"],["#a5a5a5","#262626","#3a3839","#333f4f","#2e75b5","#c45a10","#7b7b7b","#bf8e01","#2f5596","#538136"],["#7f7f7f","#0c0c0c","#171516","#222a35","#1f4e7a","#843c0a","#525252","#7e6000","#203864","#365624"]],Tf=["#c00000","#fe0000","#fdc101","#ffff01","#93d051","#00b04e","#01b0f1","#0170c1","#012060","#7030a0"];function Af(e){return jl("td","").child(jl("div",`${zc}-color-palette-cell`).on("click.stop",(()=>this.change(e))).css("background-color",e))}class Nf{constructor(){this.el=jl("div",`${zc}-color-palette`),this.change=()=>{};const e=jl("table","").children(jl("tbody","").children(jl("tr",`${zc}-theme-color-placeholders`).children(...Cf.map((e=>Af.call(this,e)))),...Sf.map((e=>jl("tr",`${zc}-theme-colors`).children(...e.map((e=>Af.call(this,e)))))),jl("tr",`${zc}-standard-colors`).children(...Tf.map((e=>Af.call(this,e))))));this.el.child(e)}}class Bf extends mf{constructor(e,t){const r=new ch(e).css("height","16px").css("border-bottom",`3px solid ${t}`),n=new Nf;n.change=e=>{this.setTitle(e),this.change(e)},super(r,"auto",!1,"bottom-left",n.el)}setTitle(e){this.title.css("border-color",e),this.hide()}}const Mf=[["thin",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" style="user-select: none;"></line></svg>'],["medium",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="2" style="user-select: none;"><line x1="0" y1="1.0" x2="50" y2="1.0" stroke-width="2" stroke="black" style="user-select: none;"></line></svg>'],["thick",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="3" style="user-select: none;"><line x1="0" y1="1.5" x2="50" y2="1.5" stroke-width="3" stroke="black" style="user-select: none;"></line></svg>'],["dashed",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="2" style="user-select: none;"></line></svg>'],["dotted",'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="1" style="user-select: none;"><line x1="0" y1="0.5" x2="50" y2="0.5" stroke-width="1" stroke="black" stroke-dasharray="1" style="user-select: none;"></line></svg>']];class Of extends mf{constructor(e){const t=new ch("line-type");let r=0;const n=Mf.map(((t,a)=>jl("div",`${zc}-item state ${e===t[0]?"checked":""}`).on("click",(()=>{n[r].toggle("checked"),n[a].toggle("checked"),r=a,this.hide(),this.change(t)})).child(jl("div",`${zc}-line-type`).html(t[1]))));super(t,"auto",!1,"bottom-left",...n)}}function Rf(...e){return jl("table","").child(jl("tbody","").children(...e))}function If(e){return jl("td","").child(jl("div",`${zc}-border-palette-cell`).child(new ch(`border-${e}`)).on("click",(()=>{this.mode=e;const{mode:t,style:r,color:n}=this;this.change({mode:t,style:r,color:n})})))}class Df{constructor(){this.color="#000",this.style="thin",this.mode="all",this.change=()=>{},this.ddColor=new Bf("line-color",this.color),this.ddColor.change=e=>{this.color=e},this.ddType=new Of(this.style),this.ddType.change=([e])=>{this.style=e},this.el=jl("div",`${zc}-border-palette`);const e=Rf(jl("tr","").children(jl("td",`${zc}-border-palette-left`).child(Rf(jl("tr","").children(...["all","inside","horizontal","vertical","outside"].map((e=>If.call(this,e)))),jl("tr","").children(...["left","top","right","bottom","none"].map((e=>If.call(this,e)))))),jl("td",`${zc}-border-palette-right`).children(jl("div",`${zc}-toolbar-btn`).child(this.ddColor.el),jl("div",`${zc}-toolbar-btn`).child(this.ddType.el))));this.el.child(e)}}class Pf extends mf{constructor(){const e=new ch("border-all"),t=new Df;t.change=e=>{this.change(e),this.hide()},super(e,"auto",!1,"bottom-left",t.el)}}class Ff extends pf{constructor(){super("border")}dropdown(){return new Pf}}class Vf extends df{element(){return super.element().child(new ch(this.tag)).on("click",(()=>this.change(this.tag)))}setState(e){this.el.disabled(e)}}class zf extends Vf{constructor(){super("clearformat")}}class Lf extends bf{constructor(){super("paintformat")}setState(){}}class Hf extends pf{constructor(e){super("color",void 0,e)}dropdown(){const{tag:e,value:t}=this;return new Bf(e,t)}}class Uf extends pf{constructor(e){super("bgcolor",void 0,e)}dropdown(){const{tag:e,value:t}=this;return new Bf(e,t)}}class Wf extends mf{constructor(){super("10","60px",!0,"bottom-left",...Oh.map((e=>jl("div",`${zc}-item`).on("click",(()=>{this.setTitle(`${e.pt}`),this.change(e)})).child(`${e.pt}`))))}}let jf=class extends pf{constructor(){super("font-size")}getValue(e){return e.pt}dropdown(){return new Wf}};class $f extends mf{constructor(){const e=Mh.map((e=>jl("div",`${zc}-item`).on("click",(()=>{this.setTitle(e.title),this.change(e)})).child(e.title)));super(Mh[0].title,"160px",!0,"bottom-left",...e)}}class qf extends pf{constructor(){super("font-name")}getValue(e){return e.key}dropdown(){return new $f}}class Gf extends mf{constructor(){let e=Hh.slice(0);e.splice(2,0,{key:"divider"}),e.splice(8,0,{key:"divider"}),e=e.map((e=>{const t=jl("div",`${zc}-item`);return"divider"===e.key?t.addClass("divider"):(t.child(e.title()).on("click",(()=>{this.setTitle(e.title()),this.change(e)})),e.label&&t.child(jl("div","label").html(e.label))),t})),super("Normal","220px",!0,"bottom-left",...e)}setTitle(e){for(let t=0;t<Hh.length;t+=1)Hh[t].key===e&&this.title.html(Hh[t].title());this.hide()}}let Xf=class extends pf{constructor(){super("format")}getValue(e){return e.key}dropdown(){return new Gf}};class Kf extends mf{constructor(){const e=Ph.map((e=>jl("div",`${zc}-item`).on("click",(()=>{this.hide(),this.change(e)})).child(e.key)));super(new ch("formula"),"180px",!0,"bottom-left",...e)}}class Yf extends pf{constructor(){super("formula")}getValue(e){return e.key}dropdown(){return new Kf}}class Zf extends bf{constructor(){super("freeze")}}class Jf extends bf{constructor(){super("merge")}setState(e,t){this.el.active(e).disabled(t)}}class Qf extends Vf{constructor(){super("redo","Ctrl+Y")}}class eu extends Vf{constructor(){super("undo","Ctrl+Z")}}class tu extends Vf{constructor(){super("print","Ctrl+P")}}class ru extends bf{constructor(){super("textwrap")}}let nu=class extends mf{constructor(){const e=new ch("ellipsis"),t=jl("div",`${zc}-toolbar-more`);super(e,"auto",!1,"bottom-right",t),this.moreBtns=t,this.contentEl.css("max-width","420px")}};class au extends pf{constructor(){super("more"),this.el.hide()}dropdown(){return new nu}show(){this.el.show()}hide(){this.el.hide()}}function su(){return jl("div",`${zc}-toolbar-divider`)}function ou(){this.btns2=[],this.items.forEach((e=>{if(Array.isArray(e))e.forEach((({el:e})=>{const t=e.box(),{marginLeft:r,marginRight:n}=e.computedStyle();this.btns2.push([e,t.width+parseInt(r,10)+parseInt(n,10)])}));else{const t=e.box(),{marginLeft:r,marginRight:n}=e.computedStyle();this.btns2.push([e,t.width+parseInt(r,10)+parseInt(n,10)])}}))}function iu(){const{el:e,btns:t,moreEl:r,btns2:n}=this,{moreBtns:a,contentEl:s}=r.dd;e.css("width",this.widthFn()-60+"px");const o=e.box();let i=160,l=12;const c=[],h=[];n.forEach((([e,t],r)=>{i+=t,r===n.length-1||i<o.width?c.push(e):(l+=t,h.push(e))})),t.html("").children(...c),a.html("").children(...h),s.css("width",`${l}px`),h.length>0?r.show():r.hide()}class lu{constructor(e,t,r=!1){this.data=e,this.change=()=>{},this.widthFn=t,this.isHide=r;const n=e.defaultStyle();this.items=[[this.undoEl=new eu,this.redoEl=new Qf,new tu,this.paintformatEl=new Lf,this.clearformatEl=new zf],su(),[this.formatEl=new Xf],su(),[this.fontEl=new qf,this.fontSizeEl=new jf],su(),[this.boldEl=new kf,this.italicEl=new Ef,this.underlineEl=new _f,this.strikeEl=new xf,this.textColorEl=new Hf(n.color)],su(),[this.fillColorEl=new Uf(n.bgcolor),this.borderEl=new Ff,this.mergeEl=new Jf],su(),[this.alignEl=new vf(n.align),this.valignEl=new wf(n.valign),this.textwrapEl=new ru],su(),[this.freezeEl=new Zf,this.autofilterEl=new yf,this.formulaEl=new Yf,this.moreEl=new au]],this.el=jl("div",`${zc}-toolbar`),this.btns=jl("div",`${zc}-toolbar-btns`),this.items.forEach((e=>{Array.isArray(e)?e.forEach((e=>{this.btns.child(e.el),e.change=(...e)=>{this.change(...e)}})):this.btns.child(e.el)})),this.el.child(this.btns),r?this.el.hide():(this.reset(),setTimeout((()=>{ou.call(this),iu.call(this)}),0),Rc(window,"resize",(()=>{iu.call(this)})))}paintformatActive(){return this.paintformatEl.active()}paintformatToggle(){this.paintformatEl.toggle()}trigger(e){this[`${e}El`].click()}resetData(e){this.data=e,this.reset()}reset(){if(this.isHide)return;const{data:e}=this,t=e.getSelectedCellStyle();this.undoEl.setState(!e.canUndo()),this.redoEl.setState(!e.canRedo()),this.mergeEl.setState(e.canUnmerge(),!e.selector.multiple()),this.autofilterEl.setState(!e.canAutofilter());const{font:r,format:n}=t;this.formatEl.setState(n),this.fontEl.setState(r.name),this.fontSizeEl.setState(r.size),this.boldEl.setState(r.bold),this.italicEl.setState(r.italic),this.underlineEl.setState(t.underline),this.strikeEl.setState(t.strike),this.textColorEl.setState(t.color),this.fillColorEl.setState(t.bgcolor),this.alignEl.setState(t.align),this.valignEl.setState(t.valign),this.textwrapEl.setState(t.textwrap),this.freezeEl.setState(e.freezeIsActive())}}class cu{constructor(e,t,r="600px"){this.title=e,this.el=jl("div",`${zc}-modal`).css("width",r).children(jl("div",`${zc}-modal-header`).children(new ch("close").on("click.stop",(()=>this.hide())),this.title),jl("div",`${zc}-modal-content`).children(...t)).hide()}show(){this.dimmer=jl("div",`${zc}-dimmer active`),document.body.appendChild(this.dimmer.el);const{width:e,height:t}=this.el.show().box(),{clientHeight:r,clientWidth:n}=document.documentElement;this.el.offset({left:(n-e)/2,top:(r-t)/3}),window.xkeydownEsc=e=>{27===e.keyCode&&this.hide()},Rc(window,"keydown",window.xkeydownEsc)}hide(){this.el.hide(),document.body.removeChild(this.dimmer.el),Ic(window,"keydown",window.xkeydownEsc),delete window.xkeydownEsc}}class hu{constructor(e,t){this.vchange=()=>{},this.el=jl("div",`${zc}-form-input`),this.input=jl("input","").css("width",e).on("input",(e=>this.vchange(e))).attr("placeholder",t),this.el.child(this.input)}focus(){setTimeout((()=>{this.input.el.focus()}),10)}hint(e){this.input.attr("placeholder",e)}val(e){return this.input.val(e)}}class fu{constructor(e,t,r,n=e=>e,a=()=>{}){this.key=e,this.getTitle=n,this.vchange=()=>{},this.el=jl("div",`${zc}-form-select`),this.suggest=new lh(t.map((e=>({key:e,title:this.getTitle(e)}))),(e=>{this.itemClick(e.key),a(e.key),this.vchange(e.key)}),r,this.el),this.el.children(this.itemEl=jl("div","input-text").html(this.getTitle(e)),this.suggest.el).on("click",(()=>this.show()))}show(){this.suggest.search("")}itemClick(e){this.key=e,this.itemEl.html(this.getTitle(e))}val(e){return void 0!==e?(this.key=e,this.itemEl.html(this.getTitle(e)),this):this.key}}const uu={number:/(^\d+$)|(^\d+(\.\d{0,4})?$)/,date:/^\d{4}-\d{1,2}-\d{1,2}$/};class du{constructor(e,t,r,n){this.label="",this.rule=t,r&&(this.label=jl("label","label").css("width",`${n}px`).html(r)),this.tip=jl("div","tip").child("tip").hide(),this.input=e,this.input.vchange=()=>this.validate(),this.el=jl("div",`${zc}-form-field`).children(this.label,e.el,this.tip)}isShow(){return"none"!==this.el.css("display")}show(){this.el.show()}hide(){return this.el.hide(),this}val(e){return this.input.val(e)}hint(e){this.input.hint(e)}validate(){const{input:e,rule:t,tip:r,el:n}=this,a=e.val();if(t.required&&/^\s*$/.test(a))return r.html(mc("validation.required")),n.addClass("error"),!1;if(t.type||t.pattern){if(!(t.pattern||uu[t.type]).test(a))return r.html(mc("validation.notMatch")),n.addClass("error"),!1}return n.removeClass("error"),!0}}class pu extends cu{constructor(){const e=new du(new fu("cell",["cell"],"100%",(e=>mc(`dataValidation.modeType.${e}`))),{required:!0},`${mc("dataValidation.range")}:`,100),t=new du(new hu("120px","E3 or E3:F12"),{required:!0,pattern:/^([A-Z]{1,2}[1-9]\d*)(:[A-Z]{1,2}[1-9]\d*)?$/}),r=new du(new fu("list",["list","number","date","phone","email"],"100%",(e=>mc(`dataValidation.type.${e}`)),(e=>this.criteriaSelected(e))),{required:!0},`${mc("dataValidation.criteria")}:`,100),n=new du(new fu("be",["be","nbe","eq","neq","lt","lte","gt","gte"],"160px",(e=>mc(`dataValidation.operator.${e}`)),(e=>this.criteriaOperatorSelected(e))),{required:!0}).hide(),a=new du(new hu("70px","10"),{required:!0}).hide(),s=new du(new hu("70px","100"),{required:!0,type:"number"}).hide(),o=new du(new hu("120px","a,b,c"),{required:!0}),i=new du(new hu("70px","10"),{required:!0,type:"number"}).hide();super(mc("contextmenu.validation"),[jl("div",`${zc}-form-fields`).children(e.el,t.el),jl("div",`${zc}-form-fields`).children(r.el,n.el,a.el,s.el,i.el,o.el),jl("div",`${zc}-buttons`).children(new xh("cancel").on("click",(()=>this.btnClick("cancel"))),new xh("remove").on("click",(()=>this.btnClick("remove"))),new xh("save","primary").on("click",(()=>this.btnClick("save"))))]),this.mf=e,this.rf=t,this.cf=r,this.of=n,this.minvf=a,this.maxvf=s,this.vf=i,this.svf=o,this.change=()=>{}}showVf(e){const t="date"===e?"2018-11-12":"10",{vf:r}=this;r.input.hint(t),r.show()}criteriaSelected(e){const{of:t,minvf:r,maxvf:n,vf:a,svf:s}=this;"date"===e||"number"===e?(t.show(),r.rule.type=e,n.rule.type=e,"date"===e?(r.hint("2018-11-12"),n.hint("2019-11-12")):(r.hint("10"),n.hint("100")),r.show(),n.show(),a.hide(),s.hide()):("list"===e?s.show():s.hide(),a.hide(),t.hide(),r.hide(),n.hide())}criteriaOperatorSelected(e){if(!e)return;const{minvf:t,maxvf:r,vf:n}=this;if("be"===e||"nbe"===e)t.show(),r.show(),n.hide();else{const e=this.cf.val();n.rule.type=e,"date"===e?n.hint("2018-11-12"):n.hint("10"),n.show(),t.hide(),r.hide()}}btnClick(e){if("cancel"===e)this.hide();else if("remove"===e)this.change("remove"),this.hide();else if("save"===e){const e=["mf","rf","cf","of","svf","vf","minvf","maxvf"];for(let o=0;o<e.length;o+=1){const t=this[e[o]];if(t.isShow()&&!t.validate())return}const t=this.mf.val(),r=this.rf.val(),n=this.cf.val(),a=this.of.val();let s=this.svf.val();"number"!==n&&"date"!==n||(s="be"===a||"nbe"===a?[this.minvf.val(),this.maxvf.val()]:this.vf.val()),this.change("save",t,r,{type:n,operator:a,required:!1,value:s}),this.hide()}}setValue(e){if(e){const{mf:t,rf:r,cf:n,of:a,svf:s,vf:o,minvf:i,maxvf:l}=this,{mode:c,ref:h,validator:f}=e,{type:u,operator:d,value:p}=f||{type:"list"};t.val(c||"cell"),r.val(h),n.val(u),a.val(d),Array.isArray(p)?(i.val(p[0]),l.val(p[1])):(s.val(p||""),o.val(p||"")),this.criteriaSelected(u),this.criteriaOperatorSelected(d)}this.show()}}function mu(e){return jl("div",`${zc}-item ${e}`)}function gu(e){return mu("state").child(mc(`sort.${e}`)).on("click.stop",(()=>this.itemClick(e)))}function vu(e){const{filterbEl:t,filterValues:r}=this;t.html("");Object.keys(e).forEach(((n,a)=>{const s=e[n],o=r.includes(n)?"checked":"";t.child(jl("div",`${zc}-item state ${o}`).on("click.stop",(()=>this.filterClick(a,n))).children(""===n?mc("filter.empty"):n,jl("div","label").html(`(${s})`)))}))}function wu(){const{filterhEl:e,filterValues:t,values:r}=this;e.html(`${t.length} / ${r.length}`),e.checked(t.length===r.length)}class bu{constructor(){this.filterbEl=jl("div",`${zc}-body`),this.filterhEl=jl("div",`${zc}-header state`).on("click.stop",(()=>this.filterClick(0,"all"))),this.el=jl("div",`${zc}-sort-filter`).children(this.sortAscEl=gu.call(this,"asc"),this.sortDescEl=gu.call(this,"desc"),mu("divider"),jl("div",`${zc}-filter`).children(this.filterhEl,this.filterbEl),jl("div",`${zc}-buttons`).children(new xh("cancel").on("click",(()=>this.btnClick("cancel"))),new xh("ok","primary").on("click",(()=>this.btnClick("ok"))))).hide(),this.ci=null,this.sortDesc=null,this.values=null,this.filterValues=[]}btnClick(e){if("ok"===e){const{ci:e,sort:t,filterValues:r}=this;this.ok&&this.ok(e,t,"in",r)}this.hide()}itemClick(e){this.sort=e;const{sortAscEl:t,sortDescEl:r}=this;t.checked("asc"===e),r.checked("desc"===e)}filterClick(e,t){const{filterbEl:r,filterValues:n,values:a}=this,s=r.children();if("all"===t)s.length===n.length?(this.filterValues=[],s.forEach((e=>jl(e).checked(!1)))):(this.filterValues=Array.from(a),s.forEach((e=>jl(e).checked(!0))));else{jl(s[e]).toggle("checked")?n.push(t):n.splice(n.findIndex((e=>e===t)),1)}wu.call(this)}set(e,t,r,n){this.ci=e;const{sortAscEl:a,sortDescEl:s}=this;null!==n?(this.sort=n.order,a.checked(n.asc()),s.checked(n.desc())):(this.sortDesc=null,a.checked(!1),s.checked(!1)),this.values=Object.keys(t),this.filterValues=r?Array.from(r.value):Object.keys(t),vu.call(this,t,r),wu.call(this)}setOffset(e){this.el.offset(e).show();let t=1;Pc(this.el,(()=>{t<=0&&this.hide(),t-=1}))}show(){this.el.show()}hide(){this.el.hide(),Dc(this.el)}}function yu(e,t){const r=jl("div",`${zc}-toast`),n=jl("div",`${zc}-dimmer active`);r.children(jl("div",`${zc}-toast-header`).children(new ch("close").on("click.stop",(()=>(document.body.removeChild(r.el),void document.body.removeChild(n.el)))),e),jl("div",`${zc}-toast-content`).html(t)),document.body.appendChild(r.el),document.body.appendChild(n.el);const{width:a,height:s}=r.box(),{clientHeight:o,clientWidth:i}=document.documentElement;r.offset({left:(i-a)/2,top:(o-s)/3})}function ku(e,t){let r;return(...n)=>{const a=this,s=n;r||(r=setTimeout((()=>{r=null,e.apply(a,s)}),t))}}function Eu(){const{data:e,verticalScrollbar:t,horizontalScrollbar:r}=this,{l:n,t:a,left:s,top:o,width:i,height:l}=e.getSelectedRect(),c=this.getTableOffset();if(Math.abs(s)+i>c.width)r.move({left:n+i-c.width});else{const t=e.freezeTotalWidth();s<t&&r.move({left:n-1-t})}if(Math.abs(o)+l>c.height)t.move({top:a+l-c.height-1});else{const r=e.freezeTotalHeight();o<r&&t.move({top:a-1-r})}}function xu(e,t,r,n=!0,a=!1){if(-1===t&&-1===r)return;const{table:s,selector:o,toolbar:i,data:l,contextMenu:c}=this;c.setMode(-1===t||-1===r?"row-col":"range");const h=l.getCell(t,r);e?(o.setEnd(t,r,a),this.trigger("cells-selected",h,o.range)):(o.set(t,r,n),this.trigger("cell-selected",h,t,r)),i.reset(),s.render()}function _u(e,t){const{selector:r,data:n}=this,{rows:a,cols:s}=n;let[o,i]=r.indexes;const{eri:l,eci:c}=r.range;e&&([o,i]=r.moveIndexes),"left"===t?i>0&&(i-=1):"right"===t?(c!==i&&(i=c),i<s.len-1&&(i+=1)):"up"===t?o>0&&(o-=1):"down"===t?(l!==o&&(o=l),o<a.len-1&&(o+=1)):"row-first"===t?i=0:"row-last"===t?i=s.len-1:"col-first"===t?o=0:"col-last"===t&&(o=a.len-1),e&&(r.moveIndexes=[o,i]),xu.call(this,e,o,i),Eu.call(this)}function Cu(e){if(0!==e.buttons)return;if(e.target.className===`${zc}-resizer-hover`)return;const{offsetX:t,offsetY:r}=e,{rowResizer:n,colResizer:a,tableEl:s,data:o}=this,{rows:i,cols:l}=o;if(t>l.indexWidth&&r>i.height)return n.hide(),void a.hide();const c=s.box(),h=o.getCellRectByXY(e.offsetX,e.offsetY);h.ri>=0&&-1===h.ci?(h.width=l.indexWidth,n.show(h,{width:c.width}),i.isHide(h.ri-1)?n.showUnhide(h.ri):n.hideUnhide()):n.hide(),-1===h.ri&&h.ci>=0?(h.height=i.height,a.show(h,{height:c.height}),l.isHide(h.ci-1)?a.showUnhide(h.ci):a.hideUnhide()):a.hide()}function Su(e){const{verticalScrollbar:t,horizontalScrollbar:r,data:n}=this,{top:a}=t.scroll(),{left:s}=r.scroll(),{rows:o,cols:i}=n,{deltaY:l,deltaX:c}=e,h=(e,t)=>{let r=e,n=0;do{n=t(r),r+=1}while(n<=0);return n},f=e=>{if(e>0){const e=n.scroll.ri+1;if(e<o.len){const r=h(e,(e=>o.getHeight(e)));t.move({top:a+r-1})}}else{const e=n.scroll.ri-1;if(e>=0){const r=h(e,(e=>o.getHeight(e)));t.move({top:0===e?0:a-r})}}},u=Math.abs(l),d=Math.abs(c),p=Math.max(u,d);/Firefox/i.test(window.navigator.userAgent)&&ku(f(e.detail),50),p===d&&ku((e=>{if(e>0){const e=n.scroll.ci+1;if(e<i.len){const t=h(e,(e=>i.getWidth(e)));r.move({left:s+t-1})}}else{const e=n.scroll.ci-1;if(e>=0){const t=h(e,(e=>i.getWidth(e)));r.move({left:0===e?0:s-t})}}})(c),50),p===u&&ku(f(l),50)}function Tu(e,t){const{verticalScrollbar:r,horizontalScrollbar:n}=this,{top:a}=r.scroll(),{left:s}=n.scroll();"left"===e||"right"===e?n.move({left:s-t}):"up"!==e&&"down"!==e||r.move({top:a-t})}function Au(){const{data:e,verticalScrollbar:t}=this,{height:r}=this.getTableOffset(),n=e.exceptRowTotalHeight(0,-1);t.set(r,e.rows.totalHeight()-n)}function Nu(){const{data:e,horizontalScrollbar:t}=this,{width:r}=this.getTableOffset();e&&t.set(r,e.cols.totalWidth())}function Bu(){const{selector:e,data:t,editor:r}=this,[n,a]=t.freeze;if(n>0||a>0){const e=t.freezeTotalWidth(),n=t.freezeTotalHeight();r.setFreezeLengths(e,n)}e.resetAreaOffset()}function Mu(){const{tableEl:e,overlayerEl:t,overlayerCEl:r,table:n,toolbar:a,selector:s,el:o}=this,i=this.getTableOffset(),l=this.getRect();e.attr(l),t.offset(l),r.offset(i),o.css("width",`${l.width}px`),Au.call(this),Nu.call(this),Bu.call(this),n.render(),a.reset(),s.reset()}function Ou(){const{data:e,selector:t}=this;e.clearClipboard(),t.hideClipboard()}function Ru(){const{data:e,selector:t}=this;e.copy(),e.copyToSystemClipboard(),t.showClipboard()}function Iu(){const{data:e,selector:t}=this;e.cut(),t.showClipboard()}function Du(e,t){const{data:r}=this;if("read"!==r.settings.mode)if(r.paste(e,(e=>yu("Tip",e))))Mu.call(this);else if(t){const e=t.clipboardData.getData("text/plain");this.data.pasteFromText(e),Mu.call(this)}}function Pu(){this.data.hideRowsOrCols(),Mu.call(this)}function Fu(e,t){this.data.unhideRowsOrCols(e,t),Mu.call(this)}function Vu(){const{data:e}=this;e.autofilter(),Mu.call(this)}function zu(){const{toolbar:e}=this;e.paintformatActive()&&(Du.call(this,"format"),Ou.call(this),e.paintformatToggle())}function Lu(e){const{selector:t,data:r,table:n,sortFilter:a}=this,{offsetX:s,offsetY:o}=e,i=e.target.className===`${zc}-selector-corner`,l=r.getCellRectByXY(s,o),{left:c,top:h,width:f,height:u}=l;let{ri:d,ci:p}=l;const{autoFilter:m}=r;if(m.includes(d,p)&&c+f-20<s&&h+u-20<o){const e=m.items(p,((e,t)=>r.rows.getCell(e,t)));return a.hide(),a.set(p,e,m.getFilter(p),m.getSort(p)),void a.setOffset({left:c,top:h+u+2})}e.shiftKey||(i?t.showAutofill(d,p):xu.call(this,!1,d,p),Fc(window,(e=>{({ri:d,ci:p}=r.getCellRectByXY(e.offsetX,e.offsetY)),i?t.showAutofill(d,p):1!==e.buttons||e.shiftKey||xu.call(this,!0,d,p,!0,!0)}),(()=>{i&&t.arange&&"read"!==r.settings.mode&&r.autofill(t.arange,"all",(e=>yu("Tip",e)))&&n.render(),t.hideAutofill(),zu.call(this)}))),i||1!==e.buttons||e.shiftKey&&xu.call(this,!0,d,p)}function Hu(){const{editor:e,data:t}=this,r=t.getSelectedRect(),n=this.getTableOffset();let a="top";r.top>n.height/2&&(a="bottom"),e.setOffset(r,a)}function Uu(){const{editor:e,data:t}=this;"read"!==t.settings.mode&&(Hu.call(this),e.setCell(t.getSelectedCell(),t.getSelectedValidator()),Ou.call(this))}function Wu(e){const{data:t,table:r,selector:n}=this;t.scrolly(e,(()=>{n.resetBRLAreaOffset(),Hu.call(this),r.render()}))}function ju(e){const{data:t,table:r,selector:n}=this;t.scrollx(e,(()=>{n.resetBRTAreaOffset(),Hu.call(this),r.render()}))}function $u(e,t){const{ri:r}=e,{table:n,selector:a,data:s}=this;s.rows.setHeight(r,t),n.render(),a.resetAreaOffset(),Au.call(this),Hu.call(this)}function qu(e,t){const{ci:r}=e,{table:n,selector:a,data:s}=this;s.cols.setWidth(r,t),n.render(),a.resetAreaOffset(),Nu.call(this),Hu.call(this)}function Gu(e,t="finished"){const{data:r,table:n}=this;if("read"===r.settings.mode)return;r.setSelectedCellText(e,t);const{ri:a,ci:s}=r.selector;"finished"===t?n.render():this.trigger("cell-edited",e,a,s)}function Xu(e){const{data:t}=this;"read"!==t.settings.mode&&("insert-row"===e?t.insert("row"):"delete-row"===e?t.delete("row"):"insert-column"===e?t.insert("column"):"delete-column"===e?t.delete("column"):"delete-cell"===e?t.deleteCell():"delete-cell-format"===e?t.deleteCell("format"):"delete-cell-text"===e?t.deleteCell("text"):"cell-printable"===e?t.setSelectedCellAttr("printable",!0):"cell-non-printable"===e?t.setSelectedCellAttr("printable",!1):"cell-editable"===e?t.setSelectedCellAttr("editable",!0):"cell-non-editable"===e&&t.setSelectedCellAttr("editable",!1),Ou.call(this),Mu.call(this))}function Ku(e,t){const{data:r}=this;if("undo"===e)this.undo();else if("redo"===e)this.redo();else if("print"===e)this.print.preview();else if("paintformat"===e)!0===t?Ru.call(this):Ou.call(this);else if("clearformat"===e)Xu.call(this,"delete-cell-format");else if("link"===e);else if("chart"===e);else if("autofilter"===e)Vu.call(this);else if("freeze"===e)if(t){const{ri:e,ci:t}=r.selector;this.freeze(e,t)}else this.freeze(0,0);else r.setSelectedCellAttr(e,t),"formula"!==e||r.selector.multiple()||Uu.call(this),Mu.call(this)}function Yu(e,t,r,n){this.data.setAutoFilter(e,t,r,n),Mu.call(this)}function Zu(){const{selector:e,overlayerEl:t,rowResizer:r,colResizer:n,verticalScrollbar:a,horizontalScrollbar:s,editor:o,contextMenu:i,toolbar:l,modalValidation:c,sortFilter:h}=this;t.on("mousemove",(e=>{Cu.call(this,e)})).on("mousedown",(e=>{o.clear(),i.hide(),2===e.buttons?(this.data.xyInSelectedRect(e.offsetX,e.offsetY)||Lu.call(this,e),i.setPosition(e.offsetX,e.offsetY),e.stopPropagation()):2===e.detail?Uu.call(this):Lu.call(this,e)})).on("mousewheel.stop",(e=>{Su.call(this,e)})).on("mouseout",(e=>{const{offsetX:t,offsetY:a}=e;a<=0&&n.hide(),t<=0&&r.hide()})),e.inputChange=e=>{Gu.call(this,e,"input"),Uu.call(this)},function(e,{move:t,end:r}){let n=0,a=0;Rc(e,"touchstart",(e=>{const{pageX:t,pageY:r}=e.touches[0];n=t,a=r})),Rc(e,"touchmove",(e=>{if(!t)return;const{pageX:r,pageY:s}=e.changedTouches[0],o=r-n,i=s-a;(Math.abs(o)>10||Math.abs(i)>10)&&(Vc(o,i,e,t),n=r,a=s),e.preventDefault()})),Rc(e,"touchend",(e=>{if(!r)return;const{pageX:t,pageY:s}=e.changedTouches[0];Vc(t-n,s-a,e,r)}))}(t.el,{move:(e,t)=>{Tu.call(this,e,t)}}),l.change=(e,t)=>Ku.call(this,e,t),h.ok=(e,t,r,n)=>Yu.call(this,e,t,r,n),r.finishedFn=(e,t)=>{$u.call(this,e,t)},n.finishedFn=(e,t)=>{qu.call(this,e,t)},r.unhideFn=e=>{Fu.call(this,"row",e)},n.unhideFn=e=>{Fu.call(this,"col",e)},a.moveFn=(e,t)=>{Wu.call(this,e,t)},s.moveFn=(e,t)=>{ju.call(this,e,t)},o.change=(e,t)=>{Gu.call(this,t,e)},c.change=(e,...t)=>{"save"===e?this.data.addValidation(...t):this.data.removeValidation()},i.itemClick=e=>{"validation"===e?c.setValue(this.data.getSelectedValidation()):"copy"===e?Ru.call(this):"cut"===e?Iu.call(this):"paste"===e?Du.call(this,"all"):"paste-value"===e?Du.call(this,"text"):"paste-format"===e?Du.call(this,"format"):"hide"===e?Pu.call(this):Xu.call(this,e)},Rc(window,"resize",(()=>{this.reload()})),Rc(window,"click",(e=>{this.focusing=t.contains(e.target)})),Rc(window,"paste",(e=>{this.focusing&&(Du.call(this,"all",e),e.preventDefault())})),Rc(window,"keydown",(e=>{if(!this.focusing)return;const t=e.keyCode||e.which,{key:r,ctrlKey:n,shiftKey:a,metaKey:s}=e;if(n||s)switch(t){case 90:this.undo(),e.preventDefault();break;case 89:this.redo(),e.preventDefault();break;case 67:Ru.call(this),e.preventDefault();break;case 88:Iu.call(this),e.preventDefault();break;case 85:l.trigger("underline"),e.preventDefault();break;case 86:break;case 37:_u.call(this,a,"row-first"),e.preventDefault();break;case 38:_u.call(this,a,"col-first"),e.preventDefault();break;case 39:_u.call(this,a,"row-last"),e.preventDefault();break;case 40:_u.call(this,a,"col-last"),e.preventDefault();break;case 32:xu.call(this,!1,-1,this.data.selector.ci,!1),e.preventDefault();break;case 66:l.trigger("bold");break;case 73:l.trigger("italic")}else{switch(t){case 32:a&&xu.call(this,!1,this.data.selector.ri,-1,!1);break;case 27:i.hide(),Ou.call(this);break;case 37:_u.call(this,a,"left"),e.preventDefault();break;case 38:_u.call(this,a,"up"),e.preventDefault();break;case 39:_u.call(this,a,"right"),e.preventDefault();break;case 40:_u.call(this,a,"down"),e.preventDefault();break;case 9:o.clear(),_u.call(this,!1,a?"left":"right"),e.preventDefault();break;case 13:o.clear(),_u.call(this,!1,a?"up":"down"),e.preventDefault();break;case 8:Xu.call(this,"delete-cell-text"),e.preventDefault()}"Delete"===r?(Xu.call(this,"delete-cell-text"),e.preventDefault()):t>=65&&t<=90||t>=48&&t<=57||t>=96&&t<=105||"="===e.key?(Gu.call(this,e.key,"input"),Uu.call(this)):113===t&&Uu.call(this)}}))}class Ju{constructor(e,t){this.eventMap=function(){const e=new Map;function t(t,r){return e.has(t)&&(()=>{const n=e.get(t);return Array.isArray(n)&&n.push(r)||!1})()||e.set(t,[].concat(r))}function r(t,r){return e.has(t)&&(()=>{const n=e.get(t),a=n.indexOf(r);return a>=0&&n.splice(a,1)&&0===e.get(t).length&&e.delete(t)})()}return{get current(){return e},on:t,once:function(e,n){const a=(...t)=>{n.call(null,...t),r(e,a)};return t(e,a)},fire:function(t,r){return e.has(t)&&(()=>{const n=e.get(t);for(const e of n)e.call(null,...r)})()},removeListener:r,removeAllListeners:function(){e.clear()}}}();const{view:r,showToolbar:n,showContextmenu:a}=t.settings;this.el=jl("div",`${zc}-sheet`),this.toolbar=new lu(t,r.width,!n),this.print=new lf(t),e.children(this.toolbar.el,this.el,this.print.el),this.data=t,this.tableEl=jl("canvas",`${zc}-table`),this.rowResizer=new Lc(!1,t.rows.height),this.colResizer=new Lc(!0,t.cols.minWidth),this.verticalScrollbar=new Hc(!0),this.horizontalScrollbar=new Hc(!1),this.editor=new Eh(Fh,(()=>this.getTableOffset()),t.rows.height),this.modalValidation=new pu,this.contextMenu=new uf((()=>this.getRect()),!a),this.selector=new nh(t),this.overlayerCEl=jl("div",`${zc}-overlayer-content`).children(this.editor.el,this.selector.el),this.overlayerEl=jl("div",`${zc}-overlayer`).child(this.overlayerCEl),this.sortFilter=new bu,this.el.children(this.tableEl,this.overlayerEl.el,this.rowResizer.el,this.colResizer.el,this.verticalScrollbar.el,this.horizontalScrollbar.el,this.contextMenu.el,this.modalValidation.el,this.sortFilter.el),this.table=new ef(this.tableEl.el,t),Zu.call(this),Mu.call(this),xu.call(this,!1,0,0)}on(e,t){return this.eventMap.on(e,t),this}trigger(e,...t){const{eventMap:r}=this;r.fire(e,t)}resetData(e){this.editor.clear(),this.data=e,Au.call(this),Nu.call(this),this.toolbar.resetData(e),this.print.resetData(e),this.selector.resetData(e),this.table.resetData(e)}loadData(e){return this.data.setData(e),Mu.call(this),this}freeze(e,t){const{data:r}=this;return r.setFreeze(e,t),Mu.call(this),this}undo(){this.data.undo(),Mu.call(this)}redo(){this.data.redo(),Mu.call(this)}reload(){return Mu.call(this),this}getRect(){const{data:e}=this;return{width:e.viewWidth(),height:e.viewHeight()}}getTableOffset(){const{rows:e,cols:t}=this.data,{width:r,height:n}=this.getRect();return{width:r-t.indexWidth,height:n-e.height,left:t.indexWidth,top:e.height}}}class Qu extends mf{constructor(e){super(new ch("ellipsis"),"auto",!1,"top-left"),this.contentClick=e}reset(e){const t=e.map(((e,t)=>jl("div",`${zc}-item`).css("width","150px").css("font-weight","normal").on("click",(()=>{this.contentClick(t),this.hide()})).child(e)));this.setContentChildren(...t)}setTitle(){}}const ed=[{key:"delete",title:gc("contextmenu.deleteSheet")}];function td(e){return jl("div",`${zc}-item`).child(e.title()).on("click",(()=>{this.itemClick(e.key),this.hide()}))}function rd(){return ed.map((e=>td.call(this,e)))}class nd{constructor(){this.el=jl("div",`${zc}-contextmenu`).css("width","160px").children(...rd.call(this)).hide(),this.itemClick=()=>{}}hide(){const{el:e}=this;e.hide(),Dc(e)}setOffset(e){const{el:t}=this;t.offset(e),t.show(),Pc(t)}}class ad{constructor(e=()=>{},t=()=>{},r=()=>{},n=()=>{}){this.swapFunc=t,this.updateFunc=n,this.dataNames=[],this.activeEl=null,this.deleteEl=null,this.items=[],this.moreEl=new Qu((e=>{this.clickSwap2(this.items[e])})),this.contextMenu=new nd,this.contextMenu.itemClick=r,this.el=jl("div",`${zc}-bottombar`).children(this.contextMenu.el,this.menuEl=jl("ul",`${zc}-menu`).child(jl("li","").children(new ch("add").on("click",(()=>{e()})),jl("span","").child(this.moreEl))))}addItem(e,t){this.dataNames.push(e);const r=jl("li",t?"active":"").child(e);r.on("click",(()=>{this.clickSwap2(r)})).on("contextmenu",(e=>{const{offsetLeft:t,offsetHeight:n}=e.target;this.contextMenu.setOffset({left:t,bottom:n+1}),this.deleteEl=r})).on("dblclick",(()=>{const e=r.html(),t=new hu("auto","");t.val(e),t.input.on("blur",(({target:t})=>{const{value:r}=t,n=this.dataNames.findIndex((t=>t===e));this.renameItem(n,r)})),r.html("").child(t.el),t.focus()})),t&&this.clickSwap(r),this.items.push(r),this.menuEl.child(r),this.moreEl.reset(this.dataNames)}renameItem(e,t){this.dataNames.splice(e,1,t),this.moreEl.reset(this.dataNames),this.items[e].html("").child(t),this.updateFunc(e,t)}clear(){this.items.forEach((e=>{this.menuEl.removeChild(e.el)})),this.items=[],this.dataNames=[],this.moreEl.reset(this.dataNames)}deleteItem(){const{activeEl:e,deleteEl:t}=this;if(this.items.length>1){const r=this.items.findIndex((e=>e===t));if(this.items.splice(r,1),this.dataNames.splice(r,1),this.menuEl.removeChild(t.el),this.moreEl.reset(this.dataNames),e===t){const[e]=this.items;return this.activeEl=e,this.activeEl.toggle(),[r,0]}return[r,-1]}return[-1]}clickSwap2(e){const t=this.items.findIndex((t=>t===e));this.clickSwap(e),this.activeEl.toggle(),this.swapFunc(t)}clickSwap(e){null!==this.activeEl&&this.activeEl.toggle(),this.activeEl=e}}class sd{constructor(e,t={}){let r=e;this.options={showBottomBar:!0,...t},this.sheetIndex=1,this.datas=[],"string"==typeof e&&(r=document.querySelector(e)),this.bottombar=this.options.showBottomBar?new ad((()=>{const e=this.addSheet();this.sheet.resetData(e)}),(e=>{const t=this.datas[e];this.sheet.resetData(t)}),(()=>{this.deleteSheet()}),((e,t)=>{this.datas[e].name=t})):null,this.data=this.addSheet();const n=jl("div",`${zc}`).on("contextmenu",(e=>e.preventDefault()));r.appendChild(n.el),this.sheet=new Ju(n,this.data),null!==this.bottombar&&n.child(this.bottombar.el)}addSheet(e,t=!0){const r=e||`sheet${this.sheetIndex}`,n=new Oc(r,this.options);return n.change=(...e)=>{this.sheet.trigger("change",...e)},this.datas.push(n),null!==this.bottombar&&this.bottombar.addItem(r,t),this.sheetIndex+=1,n}deleteSheet(){if(null===this.bottombar)return;const[e,t]=this.bottombar.deleteItem();e>=0&&(this.datas.splice(e,1),t>=0&&this.sheet.resetData(this.datas[t]))}loadData(e){const t=Array.isArray(e)?e:[e];if(null!==this.bottombar&&this.bottombar.clear(),this.datas=[],t.length>0)for(let r=0;r<t.length;r+=1){const e=t[r],n=this.addSheet(e.name,0===r);n.setData(e),0===r&&this.sheet.resetData(n)}return this}getData(){return this.datas.map((e=>e.getData()))}cellText(e,t,r,n=0){return this.datas[n].setCellText(e,t,r,"finished"),this}cell(e,t,r=0){return this.datas[r].getCell(e,t)}cellStyle(e,t,r=0){return this.datas[r].getCellStyle(e,t)}reRender(){return this.sheet.table.render(),this}on(e,t){return this.sheet.on(e,t),this}validate(){const{validations:e}=this.data;return e.errors.size<=0}change(e){return this.sheet.on("change",e),this}static locale(e,t){vc(e,t)}}const od=(e,t={})=>new sd(e,t);window&&(window.x_spreadsheet=od,window.x_spreadsheet.locale=(e,t)=>vc(e,t));const id={toolbar:{undo:"撤销",redo:"恢复",print:"打印",paintformat:"格式刷",clearformat:"清除格式",format:"数据格式",fontName:"字体",fontSize:"字号",fontBold:"加粗",fontItalic:"倾斜",underline:"下划线",strike:"删除线",color:"字体颜色",bgcolor:"填充颜色",border:"边框",merge:"合并单元格",align:"水平对齐",valign:"垂直对齐",textwrap:"自动换行",freeze:"冻结",autofilter:"自动筛选",formula:"函数",more:"更多"},contextmenu:{copy:"复制",cut:"剪切",paste:"粘贴",pasteValue:"粘贴数据",pasteFormat:"粘贴格式",hide:"隐藏",insertRow:"插入行",insertColumn:"插入列",deleteSheet:"删除",deleteRow:"删除行",deleteColumn:"删除列",deleteCell:"删除",deleteCellText:"删除数据",validation:"数据验证",cellprintable:"可打印",cellnonprintable:"不可打印",celleditable:"可编辑",cellnoneditable:"不可编辑"},print:{size:"纸张大小",orientation:"方向",orientations:["横向","纵向"]},format:{normal:"正常",text:"文本",number:"数值",percent:"百分比",rmb:"人民币",usd:"美元",eur:"欧元",date:"短日期",time:"时间",datetime:"长日期",duration:"持续时间"},formula:{sum:"求和",average:"求平均值",max:"求最大值",min:"求最小值",concat:"字符拼接",_if:"条件判断",and:"和",or:"或"},validation:{required:"此值必填",notMatch:"此值不匹配验证规则",between:"此值应在 {} 和 {} 之间",notBetween:"此值不应在 {} 和 {} 之间",notIn:"此值不在列表中",equal:"此值应该等于 {}",notEqual:"此值不应该等于 {}",lessThan:"此值应该小于 {}",lessThanEqual:"此值应该小于等于 {}",greaterThan:"此值应该大于 {}",greaterThanEqual:"此值应该大于等于 {}"},error:{pasteForMergedCell:"无法对合并的单元格执行此操作"},calendar:{weeks:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},button:{next:"下一步",cancel:"取消",remove:"删除",save:"保存",ok:"确认"},sort:{desc:"降序",asc:"升序"},filter:{empty:"空白"},dataValidation:{mode:"模式",range:"单元区间",criteria:"条件",modeType:{cell:"单元格",column:"列模式",row:"行模式"},type:{list:"列表",number:"数字",date:"日期",phone:"手机号",email:"电子邮件"},operator:{be:"在区间",nbe:"不在区间",lt:"小于",lte:"小于等于",gt:"大于",gte:"大于等于",eq:"等于",neq:"不等于"}}};var ld={version:"0.18.5"},cd=1252,hd=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],fd={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},ud=function(e){-1!=hd.indexOf(e)&&(cd=fd[0]=e)};var dd=function(e){ud(e)};function pd(){dd(1200),ud(1252)}function md(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function gd(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var vd,wd=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?function(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==r?gd(e.slice(2)):65279==t?e.slice(1):e},bd=function(e){return String.fromCharCode(e)},yd=function(e){return String.fromCharCode(e)},kd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Ed(e){for(var t="",r=0,n=0,a=0,s=0,o=0,i=0,l=0,c=0;c<e.length;)s=(r=e.charCodeAt(c++))>>2,o=(3&r)<<4|(n=e.charCodeAt(c++))>>4,i=(15&n)<<2|(a=e.charCodeAt(c++))>>6,l=63&a,isNaN(n)?i=l=64:isNaN(a)&&(l=64),t+=kd.charAt(s)+kd.charAt(o)+kd.charAt(i)+kd.charAt(l);return t}function xd(e){var t="",r=0,n=0,a=0,s=0,o=0,i=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)r=kd.indexOf(e.charAt(l++))<<2|(s=kd.indexOf(e.charAt(l++)))>>4,t+=String.fromCharCode(r),n=(15&s)<<4|(o=kd.indexOf(e.charAt(l++)))>>2,64!==o&&(t+=String.fromCharCode(n)),a=(3&o)<<6|(i=kd.indexOf(e.charAt(l++))),64!==i&&(t+=String.fromCharCode(a));return t}var _d=function(){return"undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node}(),Cd=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function Sd(e){return _d?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function Td(e){return _d?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var Ad=function(e){return _d?Cd(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function Nd(e){if("undefined"==typeof ArrayBuffer)return Ad(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function Bd(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function Md(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return Md(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var Od=_d?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:Cd(e)})))}:function(e){if("undefined"!=typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};var Rd=/\u0000/g,Id=/[\u0001-\u0006]/g;function Dd(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Pd(e,t){var r=""+e;return r.length>=t?r:Kp("0",t-r.length)+r}function Fd(e,t){var r=""+e;return r.length>=t?r:Kp(" ",t-r.length)+r}function Vd(e,t){var r=""+e;return r.length>=t?r:r+Kp(" ",t-r.length)}var zd=Math.pow(2,32);function Ld(e,t){return e>zd||e<-zd?function(e,t){var r=""+Math.round(e);return r.length>=t?r:Kp("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:Kp("0",t-r.length)+r}(Math.round(e),t)}function Hd(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var Ud=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Wd=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var jd={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},$d={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},qd={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Gd(e,t,r){for(var n=e<0?-1:1,a=e*n,s=0,o=1,i=0,l=1,c=0,h=0,f=Math.floor(a);c<t&&(i=(f=Math.floor(a))*o+s,h=f*c+l,!(a-f<5e-8));)a=1/(a-f),s=o,o=i,l=c,c=h;if(h>t&&(c>t?(h=l,i=s):(h=c,i=o)),!r)return[0,n*i,h];var u=Math.floor(n*i/h);return[u,n*i-u*h,h]}function Xd(e,t,r){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),s=0,o=[],i={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(i.u)<1e-6&&(i.u=0),t&&t.date1904&&(n+=1462),i.u>.9999&&(i.u=0,86400==++a&&(i.T=a=0,++n,++i.D)),60===n)o=r?[1317,10,29]:[1900,2,29],s=3;else if(0===n)o=r?[1317,8,29]:[1900,1,0],s=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],s=l.getDay(),n<60&&(s=(s+6)%7),r&&(s=function(e,t){t[0]-=581;var r=e.getDay();e<60&&(r=(r+6)%7);return r}(l,o))}return i.y=o[0],i.m=o[1],i.d=o[2],i.S=a%60,a=Math.floor(a/60),i.M=a%60,a=Math.floor(a/60),i.H=a,i.q=s,i}var Kd=new Date(1899,11,31,0,0,0),Yd=Kd.getTime(),Zd=new Date(1900,2,1,0,0,0);function Jd(e,t){var r=e.getTime();return t?r-=1262304e5:e>=Zd&&(r+=864e5),(r-(Yd+6e4*(e.getTimezoneOffset()-Kd.getTimezoneOffset())))/864e5}function Qd(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ep(e){var t,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?function(e){var t=e<0?12:11,r=Qd(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10)).length<=t?r:e.toExponential(5)}(e):10===r?e.toFixed(10).substr(0,12):function(e){var t=Qd(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),Qd(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function tp(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):ep(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return Ep(14,Jd(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function rp(e,t,r,n){var a,s="",o=0,i=0,l=r.y,c=0;switch(e){case 98:l=r.y+543;case 121:switch(t.length){case 1:case 2:a=l%100,c=2;break;default:a=l%1e4,c=4}break;case 109:switch(t.length){case 1:case 2:a=r.m,c=t.length;break;case 3:return Wd[r.m-1][1];case 5:return Wd[r.m-1][0];default:return Wd[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=r.d,c=t.length;break;case 3:return Ud[r.q][0];default:return Ud[r.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(r.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=r.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=r.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(i=n>=2?3===n?1e3:100:1===n?10:1,(o=Math.round(i*(r.S+r.u)))>=60*i&&(o=0),"s"===t?0===o?"0":""+o/i:(s=Pd(o,2+n),"ss"===t?s.substr(0,2):"."+s.substr(2,t.length-1))):Pd(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*r.D+r.H;break;case"[m]":case"[mm]":a=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":a=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:a=l,c=1}return c>0?Pd(a,c):""}function np(e){if(e.length<=3)return e;for(var t=e.length%3,r=e.substr(0,t);t!=e.length;t+=3)r+=(r.length>0?",":"")+e.substr(t,3);return r}var ap=/%/g;function sp(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+sp(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%a;if(s<0&&(s+=a),-1===(r=(t/Math.pow(10,s)).toPrecision(n+1+(a+s)%a)).indexOf("e")){var o=Math.floor(Math.log(t)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+s):r+="E+"+(o-s);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+s)%a)+"."+n.substr(s)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var op=/# (\?+)( ?)\/( ?)(\d+)/;var ip=/^#*0*\.([0#]+)/,lp=/\).*[0#]/,cp=/\(###\) ###\\?-####/;function hp(e){for(var t,r="",n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function fp(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function up(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function dp(e,t,r){if(40===e.charCodeAt(0)&&!t.match(lp)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?dp("n",n,r):"("+dp("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return gp(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(ap,""),a=t.length-n.length;return gp(e,n,r*Math.pow(10,2*a))+Kp("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return sp(t,r);if(36===t.charCodeAt(0))return"$"+dp(e,t.substr(" "==t.charAt(1)?2:1),r);var a,s,o,i,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+Ld(l,t.length);if(t.match(/^[#?]+$/))return"0"===(a=Ld(r,0))&&(a=""),a.length>t.length?a:hp(t.substr(0,t.length-a.length))+a;if(s=t.match(op))return function(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),s=Math.floor(a/n),o=a-s*n,i=n;return r+(0===s?"":""+s)+" "+(0===o?Kp(" ",e[1].length+1+e[4].length):Fd(o,e[1].length)+e[2]+"/"+e[3]+Pd(i,e[4].length))}(s,l,c);if(t.match(/^#+0+$/))return c+Ld(l,t.length-t.indexOf("0"));if(s=t.match(ip))return a=fp(r,s[1].length).replace(/^([^\.]+)$/,"$1."+hp(s[1])).replace(/\.$/,"."+hp(s[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+Kp("0",hp(s[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return c+fp(l,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return c+np(Ld(l,0));if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+dp(e,t,-r):np(""+(Math.floor(r)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(r,s[1].length)))+"."+Pd(up(r,s[1].length),s[1].length);if(s=t.match(/^#,#*,#0/))return dp(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Dd(dp(e,t.replace(/[\\-]/g,""),r)),o=0,Dd(Dd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return o<a.length?a.charAt(o++):"0"===e?"0":""})));if(t.match(cp))return"("+(a=dp(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var h="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(s[4].length,7),i=Gd(l,Math.pow(10,o)-1,!1),a=""+c," "==(h=gp("n",s[1],i[1])).charAt(h.length-1)&&(h=h.substr(0,h.length-1)+"0"),a+=h+s[2]+"/"+s[3],(h=Vd(i[2],o)).length<s[4].length&&(h=hp(s[4].substr(s[4].length-h.length))+h),a+=h;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(s[1].length,s[4].length),7),c+((i=Gd(l,Math.pow(10,o)-1,!0))[0]||(i[1]?"":"0"))+" "+(i[1]?Fd(i[1],o)+s[2]+"/"+s[3]+Vd(i[2],o):Kp(" ",2*o+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return a=Ld(r,0),t.length<=a.length?a:hp(t.substr(0,t.length-a.length))+a;if(s=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),o=a.indexOf(".");var f=t.indexOf(".")-o,u=t.length-a.length-f;return hp(t.substr(0,f)+a+t.substr(t.length-u))}if(s=t.match(/^00,000\.([#0]*0)$/))return o=up(r,s[1].length),r<0?"-"+dp(e,t,-r):np(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?Pd(0,3-e.length):"")+e}))+"."+Pd(o,s[1].length);switch(t){case"###,##0.00":return dp(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=np(Ld(l,0));return"0"!==d?c+d:"";case"###,###.00":return dp(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return dp(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function pp(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+pp(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%a;if(s<0&&(s+=a),!(r=(t/Math.pow(10,s)).toPrecision(n+1+(a+s)%a)).match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+s):r+="E+"+(o-s),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+s)%a)+"."+n.substr(s)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function mp(e,t,r){if(40===e.charCodeAt(0)&&!t.match(lp)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?mp("n",n,r):"("+mp("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return gp(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(ap,""),a=t.length-n.length;return gp(e,n,r*Math.pow(10,2*a))+Kp("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return pp(t,r);if(36===t.charCodeAt(0))return"$"+mp(e,t.substr(" "==t.charAt(1)?2:1),r);var a,s,o,i,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+Pd(l,t.length);if(t.match(/^[#?]+$/))return a=""+r,0===r&&(a=""),a.length>t.length?a:hp(t.substr(0,t.length-a.length))+a;if(s=t.match(op))return function(e,t,r){return r+(0===t?"":""+t)+Kp(" ",e[1].length+2+e[4].length)}(s,l,c);if(t.match(/^#+0+$/))return c+Pd(l,t.length-t.indexOf("0"));if(s=t.match(ip))return a=(a=(""+r).replace(/^([^\.]+)$/,"$1."+hp(s[1])).replace(/\.$/,"."+hp(s[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+Kp("0",hp(s[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return c+np(""+l);if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+mp(e,t,-r):np(""+r)+"."+Kp("0",s[1].length);if(s=t.match(/^#,#*,#0/))return mp(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=Dd(mp(e,t.replace(/[\\-]/g,""),r)),o=0,Dd(Dd(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return o<a.length?a.charAt(o++):"0"===e?"0":""})));if(t.match(cp))return"("+(a=mp(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var h="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(s[4].length,7),i=Gd(l,Math.pow(10,o)-1,!1),a=""+c," "==(h=gp("n",s[1],i[1])).charAt(h.length-1)&&(h=h.substr(0,h.length-1)+"0"),a+=h+s[2]+"/"+s[3],(h=Vd(i[2],o)).length<s[4].length&&(h=hp(s[4].substr(s[4].length-h.length))+h),a+=h;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(s[1].length,s[4].length),7),c+((i=Gd(l,Math.pow(10,o)-1,!0))[0]||(i[1]?"":"0"))+" "+(i[1]?Fd(i[1],o)+s[2]+"/"+s[3]+Vd(i[2],o):Kp(" ",2*o+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:hp(t.substr(0,t.length-a.length))+a;if(s=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),o=a.indexOf(".");var f=t.indexOf(".")-o,u=t.length-a.length-f;return hp(t.substr(0,f)+a+t.substr(t.length-u))}if(s=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+mp(e,t,-r):np(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?Pd(0,3-e.length):"")+e}))+"."+Pd(0,s[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=np(""+l);return"0"!==d?c+d:"";default:if(t.match(/\.[0#?]*$/))return mp(e,t.slice(0,t.lastIndexOf(".")),r)+hp(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function gp(e,t,r){return(0|r)===r?mp(e,t,r):dp(e,t,r)}var vp=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function wp(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":Hd(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(n=r;"]"!==e.charAt(t++)&&t<e.length;)n+=e.charAt(t);if(n.match(vp))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||"\\"==r&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;default:++t}return!1}var bp=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function yp(e,t){if(null==t)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function kp(e,t){var r=function(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof t)return[4,4===r.length||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var s=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,s];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var o=r[0].match(bp),i=r[1].match(bp);return yp(t,o)?[n,r[0]]:yp(t,i)?[n,r[1]]:[n,r[null!=o&&null!=i?2:1]]}return[n,s]}function Ep(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:jd)[e])&&(n=r.table&&r.table[$d[e]]||jd[$d[e]]),null==n&&(n=qd[e]||"General")}if(Hd(n,0))return tp(t,r);t instanceof Date&&(t=Jd(t,r.date1904));var a=kp(n,t);if(Hd(a[1]))return tp(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,r,n){for(var a,s,o,i=[],l="",c=0,h="",f="t",u="H";c<e.length;)switch(h=e.charAt(c)){case"G":if(!Hd(e,c))throw new Error("unrecognized character "+h+" in "+e);i[i.length]={t:"G",v:"General"},c+=7;break;case'"':for(l="";34!==(o=e.charCodeAt(++c))&&c<e.length;)l+=String.fromCharCode(o);i[i.length]={t:"t",v:l},++c;break;case"\\":var d=e.charAt(++c),p="("===d||")"===d?d:"t";i[i.length]={t:p,v:d},++c;break;case"_":i[i.length]={t:"t",v:" "},c+=2;break;case"@":i[i.length]={t:"T",v:t},++c;break;case"B":case"b":if("1"===e.charAt(c+1)||"2"===e.charAt(c+1)){if(null==a&&null==(a=Xd(t,r,"2"===e.charAt(c+1))))return"";i[i.length]={t:"X",v:e.substr(c,2)},f=h,c+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":h=h.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=Xd(t,r)))return"";for(l=h;++c<e.length&&e.charAt(c).toLowerCase()===h;)l+=h;"m"===h&&"h"===f.toLowerCase()&&(h="M"),"h"===h&&(h=u),i[i.length]={t:h,v:l},f=h;break;case"A":case"a":case"上":var m={t:h,v:h};if(null==a&&(a=Xd(t,r)),"A/P"===e.substr(c,3).toUpperCase()?(null!=a&&(m.v=a.H>=12?"P":"A"),m.t="T",u="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"PM":"AM"),m.t="T",c+=5,u="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"下午":"上午"),m.t="T",c+=5,u="h"):(m.t="t",++c),null==a&&"T"===m.t)return"";i[i.length]=m,f=h;break;case"[":for(l=h;"]"!==e.charAt(c++)&&c<e.length;)l+=e.charAt(c);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(vp)){if(null==a&&null==(a=Xd(t,r)))return"";i[i.length]={t:"Z",v:l.toLowerCase()},f=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",wp(e)||(i[i.length]={t:"t",v:l}));break;case".":if(null!=a){for(l=h;++c<e.length&&"0"===(h=e.charAt(c));)l+=h;i[i.length]={t:"s",v:l};break}case"0":case"#":for(l=h;++c<e.length&&"0#?.,E+-%".indexOf(h=e.charAt(c))>-1;)l+=h;i[i.length]={t:"n",v:l};break;case"?":for(l=h;e.charAt(++c)===h;)l+=h;i[i.length]={t:h,v:l},f=h;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":i[i.length]={t:1===n?"t":h,v:h},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=h;c<e.length&&"0123456789".indexOf(e.charAt(++c))>-1;)l+=e.charAt(c);i[i.length]={t:"D",v:l};break;case" ":i[i.length]={t:h,v:h},++c;break;case"$":i[i.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(h))throw new Error("unrecognized character "+h+" in "+e);i[i.length]={t:"t",v:h},++c}var g,v=0,w=0;for(c=i.length-1,f="t";c>=0;--c)switch(i[c].t){case"h":case"H":i[c].t=u,f="h",v<1&&(v=1);break;case"s":(g=i[c].v.match(/\.0+$/))&&(w=Math.max(w,g[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=i[c].t;break;case"m":"s"===f&&(i[c].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&i[c].v.match(/[Hh]/)&&(v=1),v<2&&i[c].v.match(/[Mm]/)&&(v=2),v<3&&i[c].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var b,y="";for(c=0;c<i.length;++c)switch(i[c].t){case"t":case"T":case" ":case"D":break;case"X":i[c].v="",i[c].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":i[c].v=rp(i[c].t.charCodeAt(0),i[c].v,a,w),i[c].t="t";break;case"n":case"?":for(b=c+1;null!=i[b]&&("?"===(h=i[b].t)||"D"===h||(" "===h||"t"===h)&&null!=i[b+1]&&("?"===i[b+1].t||"t"===i[b+1].t&&"/"===i[b+1].v)||"("===i[c].t&&(" "===h||"n"===h||")"===h)||"t"===h&&("/"===i[b].v||" "===i[b].v&&null!=i[b+1]&&"?"==i[b+1].t));)i[c].v+=i[b].v,i[b]={v:"",t:";"},++b;y+=i[c].v,c=b-1;break;case"G":i[c].t="t",i[c].v=tp(t,r)}var k,E,x="";if(y.length>0){40==y.charCodeAt(0)?(k=t<0&&45===y.charCodeAt(0)?-t:t,E=gp("n",y,k)):(E=gp("n",y,k=t<0&&n>1?-t:t),k<0&&i[0]&&"t"==i[0].t&&(E=E.substr(1),i[0].v="-"+i[0].v)),b=E.length-1;var _=i.length;for(c=0;c<i.length;++c)if(null!=i[c]&&"t"!=i[c].t&&i[c].v.indexOf(".")>-1){_=c;break}var C=i.length;if(_===i.length&&-1===E.indexOf("E")){for(c=i.length-1;c>=0;--c)null!=i[c]&&-1!=="n?".indexOf(i[c].t)&&(b>=i[c].v.length-1?(b-=i[c].v.length,i[c].v=E.substr(b+1,i[c].v.length)):b<0?i[c].v="":(i[c].v=E.substr(0,b+1),b=-1),i[c].t="t",C=c);b>=0&&C<i.length&&(i[C].v=E.substr(0,b+1)+i[C].v)}else if(_!==i.length&&-1===E.indexOf("E")){for(b=E.indexOf(".")-1,c=_;c>=0;--c)if(null!=i[c]&&-1!=="n?".indexOf(i[c].t)){for(s=i[c].v.indexOf(".")>-1&&c===_?i[c].v.indexOf(".")-1:i[c].v.length-1,x=i[c].v.substr(s+1);s>=0;--s)b>=0&&("0"===i[c].v.charAt(s)||"#"===i[c].v.charAt(s))&&(x=E.charAt(b--)+x);i[c].v=x,i[c].t="t",C=c}for(b>=0&&C<i.length&&(i[C].v=E.substr(0,b+1)+i[C].v),b=E.indexOf(".")+1,c=_;c<i.length;++c)if(null!=i[c]&&(-1!=="n?(".indexOf(i[c].t)||c===_)){for(s=i[c].v.indexOf(".")>-1&&c===_?i[c].v.indexOf(".")+1:0,x=i[c].v.substr(0,s);s<i[c].v.length;++s)b<E.length&&(x+=E.charAt(b++));i[c].v=x,i[c].t="t",C=c}}}for(c=0;c<i.length;++c)null!=i[c]&&"n?".indexOf(i[c].t)>-1&&(k=n>1&&t<0&&c>0&&"-"===i[c-1].v?-t:t,i[c].v=gp(i[c].t,i[c].v,k),i[c].t="t");var S="";for(c=0;c!==i.length;++c)null!=i[c]&&(S+=i[c].v);return S}(a[1],t,r,a[0])}function xp(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(null!=jd[r]){if(jd[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return jd[t]=e,t}function _p(e){for(var t=0;392!=t;++t)void 0!==e[t]&&xp(e[t],t)}function Cp(){var e;e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',jd=e}var Sp={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Tp=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var Ap=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var r=function(e){var t=0,r=0,n=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=a[t]=r>>>8^e[255&r];var s=[];for(n=1;16!=n;++n)s[n-1]="undefined"!=typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return s}(t),n=r[0],a=r[1],s=r[2],o=r[3],i=r[4],l=r[5],c=r[6],h=r[7],f=r[8],u=r[9],d=r[10],p=r[11],m=r[12],g=r[13],v=r[14];return e.table=t,e.bstr=function(e,r){for(var n=~r,a=0,s=e.length;a<s;)n=n>>>8^t[255&(n^e.charCodeAt(a++))];return~n},e.buf=function(e,r){for(var w=~r,b=e.length-15,y=0;y<b;)w=v[e[y++]^255&w]^g[e[y++]^w>>8&255]^m[e[y++]^w>>16&255]^p[e[y++]^w>>>24]^d[e[y++]]^u[e[y++]]^f[e[y++]]^h[e[y++]]^c[e[y++]]^l[e[y++]]^i[e[y++]]^o[e[y++]]^s[e[y++]]^a[e[y++]]^n[e[y++]]^t[e[y++]];for(b+=15;y<b;)w=w>>>8^t[255&(w^e[y++])];return~w},e.str=function(e,r){for(var n=~r,a=0,s=e.length,o=0,i=0;a<s;)(o=e.charCodeAt(a++))<128?n=n>>>8^t[255&(n^o)]:o<2048?n=(n=n>>>8^t[255&(n^(192|o>>6&31))])>>>8^t[255&(n^(128|63&o))]:o>=55296&&o<57344?(o=64+(1023&o),i=1023&e.charCodeAt(a++),n=(n=(n=(n=n>>>8^t[255&(n^(240|o>>8&7))])>>>8^t[255&(n^(128|o>>2&63))])>>>8^t[255&(n^(128|i>>6&15|(3&o)<<4))])>>>8^t[255&(n^(128|63&i))]):n=(n=(n=n>>>8^t[255&(n^(224|o>>12&15))])>>>8^t[255&(n^(128|o>>6&63))])>>>8^t[255&(n^(128|63&o))];return~n},e}(),Np=function(){var e,t={};function r(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function n(e){if("/"==e.charAt(e.length-1))return n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var r=t.getHours();r=(r=r<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e.write_shift(2,r);var n=t.getFullYear()-1980;n=(n=n<<4|t.getMonth()+1)<<5|t.getDate(),e.write_shift(2,n)}function s(e){Kg(e,0);for(var t={},r=0;e.l<=e.length-4;){var n=e.read_shift(2),a=e.read_shift(2),s=e.l+a,o={};if(21589===n)1&(r=e.read_shift(1))&&(o.mtime=e.read_shift(4)),a>5&&(2&r&&(o.atime=e.read_shift(4)),4&r&&(o.ctime=e.read_shift(4))),o.mtime&&(o.mt=new Date(1e3*o.mtime));e.l=s,t[n]=o}return t}function o(){return e||(e={})}function i(e,t){if(80==e[0]&&75==e[1])return ae(e,t);if(109==(32|e[0])&&105==(32|e[1]))return function(e,t){if("mime-version:"!=E(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",n=(_d&&Buffer.isBuffer(e)?e.toString("binary"):E(e)).split("\r\n"),a=0,s="";for(a=0;a<n.length;++a)if(s=n[a],/^Content-Location:/i.test(s)&&(s=s.slice(s.indexOf("file")),r||(r=s.slice(0,s.lastIndexOf("/")+1)),s.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),s.slice(0,r.length)!=r););var o=(n[1]||"").match(/boundary="(.*?)"/);if(!o)throw new Error("MAD cannot find boundary");var i="--"+(o[1]||""),l=[],c=[],h={FileIndex:l,FullPaths:c};u(h);var f,d=0;for(a=0;a<n.length;++a){var p=n[a];p!==i&&p!==i+"--"||(d++&&he(h,n.slice(f,a),r),f=a)}return h}(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r,n,a,s,o,i,d=512,p=[],m=e.slice(0,512);Kg(m,0);var g=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(w,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}(m);switch(r=g[0]){case 3:d=512;break;case 4:d=4096;break;case 0:if(0==g[1])return ae(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==d&&Kg(m=e.slice(0,d),28);var b=e.slice(0,d);!function(e,t){var r=9;switch(e.l+=2,r=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(m,r);var y=m.read_shift(4,"i");if(3===r&&0!==y)throw new Error("# Directory Sectors: Expected 0 saw "+y);m.l+=4,s=m.read_shift(4,"i"),m.l+=4,m.chk("00100000","Mini Stream Cutoff Size: "),o=m.read_shift(4,"i"),n=m.read_shift(4,"i"),i=m.read_shift(4,"i"),a=m.read_shift(4,"i");for(var k=-1,x=0;x<109&&!((k=m.read_shift(4,"i"))<0);++x)p[x]=k;var _=function(e,t){for(var r=Math.ceil(e.length/t)-1,n=[],a=1;a<r;++a)n[a-1]=e.slice(a*t,(a+1)*t);return n[r-1]=e.slice(r*t),n}(e,d);c(i,a,_,d,p);var C=function(e,t,r,n){var a=e.length,s=[],o=[],i=[],l=[],c=n-1,h=0,f=0,u=0,d=0;for(h=0;h<a;++h)if(i=[],(u=h+t)>=a&&(u-=a),!o[u]){l=[];var p=[];for(f=u;f>=0;){p[f]=!0,o[f]=!0,i[i.length]=f,l.push(e[f]);var m=r[Math.floor(4*f/n)];if(n<4+(d=4*f&c))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!e[m])break;if(p[f=Hg(e[m],d)])break}s[u]={nodes:i,data:vg([l])}}return s}(_,s,p,d);C[s].name="!Directory",n>0&&o!==v&&(C[o].name="!MiniFAT"),C[p[0]].name="!FAT",C.fat_addrs=p,C.ssz=d;var S=[],T=[],A=[];!function(e,t,r,n,a,s,o,i){for(var c,u=0,d=n.length?2:0,p=t[e].data,m=0,g=0;m<p.length;m+=128){var w=p.slice(m,m+128);Kg(w,64),g=w.read_shift(2),c=bg(w,0,g-d),n.push(c);var b={name:c,type:w.read_shift(1),color:w.read_shift(1),L:w.read_shift(4,"i"),R:w.read_shift(4,"i"),C:w.read_shift(4,"i"),clsid:w.read_shift(16),state:w.read_shift(4,"i"),start:0,size:0};0!==w.read_shift(2)+w.read_shift(2)+w.read_shift(2)+w.read_shift(2)&&(b.ct=f(w,w.l-8)),0!==w.read_shift(2)+w.read_shift(2)+w.read_shift(2)+w.read_shift(2)&&(b.mt=f(w,w.l-8)),b.start=w.read_shift(4,"i"),b.size=w.read_shift(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=v,b.name=""),5===b.type?(u=b.start,a>0&&u!==v&&(t[u].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===t[b.start]&&(t[b.start]=h(r,b.start,t.fat_addrs,t.ssz)),t[b.start].name=b.name,b.content=t[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:u!==v&&b.start!==v&&t[u]&&(b.content=l(b,t[u].data,(t[i]||{}).data))),b.content&&Kg(b.content,0),s[c]=b,o.push(b)}}(s,C,_,S,n,{},T,o),function(e,t,r){for(var n=0,a=0,s=0,o=0,i=0,l=r.length,c=[],h=[];n<l;++n)c[n]=h[n]=n,t[n]=r[n];for(;i<h.length;++i)a=e[n=h[i]].L,s=e[n].R,o=e[n].C,c[n]===n&&(-1!==a&&c[a]!==a&&(c[n]=c[a]),-1!==s&&c[s]!==s&&(c[n]=c[s])),-1!==o&&(c[o]=n),-1!==a&&n!=c[n]&&(c[a]=c[n],h.lastIndexOf(a)<i&&h.push(a)),-1!==s&&n!=c[n]&&(c[s]=c[n],h.lastIndexOf(s)<i&&h.push(s));for(n=1;n<l;++n)c[n]===n&&(-1!==s&&c[s]!==s?c[n]=c[s]:-1!==a&&c[a]!==a&&(c[n]=c[a]));for(n=1;n<l;++n)if(0!==e[n].type){if((i=n)!=c[i])do{i=c[i],t[n]=t[i]+"/"+t[n]}while(0!==i&&-1!==c[i]&&i!=c[i]);c[n]=-1}for(t[0]+="/",n=1;n<l;++n)2!==e[n].type&&(t[n]+="/")}(T,A,S),S.shift();var N={FileIndex:T,FullPaths:A};return t&&t.raw&&(N.raw={header:b,sectors:_}),N}function l(e,t,r){for(var n=e.start,a=e.size,s=[],o=n;r&&a>0&&o>=0;)s.push(t.slice(o*g,o*g+g)),a-=g,o=Hg(r,4*o);return 0===s.length?Zg(0):Od(s).slice(0,e.size)}function c(e,t,r,n,a){var s=v;if(e===v){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var o=r[e],i=(n>>>2)-1;if(!o)return;for(var l=0;l<i&&(s=Hg(o,4*l))!==v;++l)a.push(s);c(Hg(o,n-4),t-1,r,n,a)}}function h(e,t,r,n,a){var s=[],o=[];a||(a=[]);var i=n-1,l=0,c=0;for(l=t;l>=0;){a[l]=!0,s[s.length]=l,o.push(e[l]);var h=r[Math.floor(4*l/n)];if(n<4+(c=4*l&i))throw new Error("FAT boundary crossed: "+l+" 4 "+n);if(!e[h])break;l=Hg(e[h],c)}return{nodes:s,data:vg([o])}}function f(e,t){return new Date(1e3*(Lg(e,t+4)/1e7*Math.pow(2,32)+Lg(e,t)/1e7-11644473600))}function u(e,t){var r=t||{},n=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=n+"/",e.FileIndex[0]={name:n,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),function(e){var t="Sh33tJ5";if(Np.find(e,"/"+t))return;var r=Zg(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),d(e)}(e)}function d(e,t){u(e);for(var a=!1,s=!1,o=e.FullPaths.length-1;o>=0;--o){var i=e.FileIndex[o];switch(i.type){case 0:s?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:s=!0,isNaN(i.R*i.L*i.C)&&(a=!0),i.R>-1&&i.L>-1&&i.R==i.L&&(a=!0);break;default:a=!0}}if(a||t){var l=new Date(1987,1,19),c=0,h=Object.create?Object.create(null):{},f=[];for(o=0;o<e.FullPaths.length;++o)h[e.FullPaths[o]]=!0,0!==e.FileIndex[o].type&&f.push([e.FullPaths[o],e.FileIndex[o]]);for(o=0;o<f.length;++o){var d=r(f[o][0]);(s=h[d])||(f.push([d,{name:n(d).replace("/",""),type:1,clsid:y,ct:l,mt:l,content:null}]),h[d]=!0)}for(f.sort((function(e,t){return function(e,t){for(var r=e.split("/"),n=t.split("/"),a=0,s=0,o=Math.min(r.length,n.length);a<o;++a){if(s=r[a].length-n[a].length)return s;if(r[a]!=n[a])return r[a]<n[a]?-1:1}return r.length-n.length}(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],o=0;o<f.length;++o)e.FullPaths[o]=f[o][0],e.FileIndex[o]=f[o][1];for(o=0;o<f.length;++o){var p=e.FileIndex[o],m=e.FullPaths[o];if(p.name=n(m).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||y,0===o)p.C=f.length>1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(c=o+1;c<f.length&&r(e.FullPaths[c])!=m;++c);for(p.C=c>=f.length?-1:c,c=o+1;c<f.length&&r(e.FullPaths[c])!=r(m);++c);p.R=c>=f.length?-1:c,p.type=1}else r(e.FullPaths[o+1]||"")==r(m)&&(p.R=o+1),p.type=2}}}function p(e,t){var r=t||{};if("mad"==r.fileType)return function(e,t){for(var r=t||{},n=r.boundary||"SheetJS",a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],s=e.FullPaths[0],o=s,i=e.FileIndex[0],l=1;l<e.FullPaths.length;++l)if(o=e.FullPaths[l].slice(s.length),(i=e.FileIndex[l]).size&&i.content&&"Sh33tJ5"!=o){o=o.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"}));for(var c=i.content,h=_d&&Buffer.isBuffer(c)?c.toString("binary"):E(c),f=0,u=Math.min(1024,h.length),d=0,p=0;p<=u;++p)(d=h.charCodeAt(p))>=32&&d<128&&++f;var m=f>=4*u/5;a.push(n),a.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+o),a.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),a.push("Content-Type: "+ie(i,o)),a.push(""),a.push(m?ce(h):le(h))}return a.push(n+"--\r\n"),a.join("\r\n")}(e,r);if(d(e),"zip"===r.fileType)return function(e,t){var r=t||{},n=[],s=[],o=Zg(1),i=r.compression?8:0,l=0,c=0,h=0,f=0,u=0,d=e.FullPaths[0],p=d,m=e.FileIndex[0],g=[],v=0;for(c=1;c<e.FullPaths.length;++c)if(p=e.FullPaths[c].slice(d.length),(m=e.FileIndex[c]).size&&m.content&&"Sh33tJ5"!=p){var w=f,b=Zg(p.length);for(h=0;h<p.length;++h)b.write_shift(1,127&p.charCodeAt(h));b=b.slice(0,b.l),g[u]=Ap.buf(m.content,0);var y=m.content;8==i&&(y=x(y)),(o=Zg(30)).write_shift(4,67324752),o.write_shift(2,20),o.write_shift(2,l),o.write_shift(2,i),m.mt?a(o,m.mt):o.write_shift(4,0),o.write_shift(-4,g[u]),o.write_shift(4,y.length),o.write_shift(4,m.content.length),o.write_shift(2,b.length),o.write_shift(2,0),f+=o.length,n.push(o),f+=b.length,n.push(b),f+=y.length,n.push(y),(o=Zg(46)).write_shift(4,33639248),o.write_shift(2,0),o.write_shift(2,20),o.write_shift(2,l),o.write_shift(2,i),o.write_shift(4,0),o.write_shift(-4,g[u]),o.write_shift(4,y.length),o.write_shift(4,m.content.length),o.write_shift(2,b.length),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(4,0),o.write_shift(4,w),v+=o.l,s.push(o),v+=b.length,s.push(b),++u}return o=Zg(22),o.write_shift(4,101010256),o.write_shift(2,0),o.write_shift(2,0),o.write_shift(2,u),o.write_shift(2,u),o.write_shift(4,v),o.write_shift(4,f),o.write_shift(2,0),Od([Od(n),Od(s),o])}(e,r);var n=function(e){for(var t=0,r=0,n=0;n<e.FileIndex.length;++n){var a=e.FileIndex[n];if(a.content){var s=a.content.length;s>0&&(s<4096?t+=s+63>>6:r+=s+511>>9)}}for(var o=e.FullPaths.length+3>>2,i=t+127>>7,l=(t+7>>3)+r+o+i,c=l+127>>7,h=c<=109?0:Math.ceil((c-109)/127);l+c+h+127>>7>c;)h=++c<=109?0:Math.ceil((c-109)/127);var f=[1,h,c,i,o,r,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),s=Zg(n[7]<<9),o=0,i=0;for(o=0;o<8;++o)s.write_shift(1,b[o]);for(o=0;o<8;++o)s.write_shift(2,0);for(s.write_shift(2,62),s.write_shift(2,3),s.write_shift(2,65534),s.write_shift(2,9),s.write_shift(2,6),o=0;o<3;++o)s.write_shift(2,0);for(s.write_shift(4,0),s.write_shift(4,n[2]),s.write_shift(4,n[0]+n[1]+n[2]+n[3]-1),s.write_shift(4,0),s.write_shift(4,4096),s.write_shift(4,n[3]?n[0]+n[1]+n[2]-1:v),s.write_shift(4,n[3]),s.write_shift(-4,n[1]?n[0]-1:v),s.write_shift(4,n[1]),o=0;o<109;++o)s.write_shift(-4,o<n[2]?n[1]+o:-1);if(n[1])for(i=0;i<n[1];++i){for(;o<236+127*i;++o)s.write_shift(-4,o<n[2]?n[1]+o:-1);s.write_shift(-4,i===n[1]-1?v:i+1)}var l=function(e){for(i+=e;o<i-1;++o)s.write_shift(-4,o+1);e&&(++o,s.write_shift(-4,v))};for(i=o=0,i+=n[1];o<i;++o)s.write_shift(-4,k.DIFSECT);for(i+=n[2];o<i;++o)s.write_shift(-4,k.FATSECT);l(n[3]),l(n[4]);for(var c=0,h=0,f=e.FileIndex[0];c<e.FileIndex.length;++c)(f=e.FileIndex[c]).content&&((h=f.content.length)<4096||(f.start=i,l(h+511>>9)));for(l(n[6]+7>>3);511&s.l;)s.write_shift(-4,k.ENDOFCHAIN);for(i=o=0,c=0;c<e.FileIndex.length;++c)(f=e.FileIndex[c]).content&&(!(h=f.content.length)||h>=4096||(f.start=i,l(h+63>>6)));for(;511&s.l;)s.write_shift(-4,k.ENDOFCHAIN);for(o=0;o<n[4]<<2;++o){var u=e.FullPaths[o];if(u&&0!==u.length){f=e.FileIndex[o],0===o&&(f.start=f.size?f.start-1:v);var p=0===o&&r.root||f.name;if(h=2*(p.length+1),s.write_shift(64,p,"utf16le"),s.write_shift(2,h),s.write_shift(1,f.type),s.write_shift(1,f.color),s.write_shift(-4,f.L),s.write_shift(-4,f.R),s.write_shift(-4,f.C),f.clsid)s.write_shift(16,f.clsid,"hex");else for(c=0;c<4;++c)s.write_shift(4,0);s.write_shift(4,f.state||0),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,0),s.write_shift(4,f.start),s.write_shift(4,f.size),s.write_shift(4,0)}else{for(c=0;c<17;++c)s.write_shift(4,0);for(c=0;c<3;++c)s.write_shift(4,-1);for(c=0;c<12;++c)s.write_shift(4,0)}}for(o=1;o<e.FileIndex.length;++o)if((f=e.FileIndex[o]).size>=4096)if(s.l=f.start+1<<9,_d&&Buffer.isBuffer(f.content))f.content.copy(s,s.l,0,f.size),s.l+=f.size+511&-512;else{for(c=0;c<f.size;++c)s.write_shift(1,f.content[c]);for(;511&c;++c)s.write_shift(1,0)}for(o=1;o<e.FileIndex.length;++o)if((f=e.FileIndex[o]).size>0&&f.size<4096)if(_d&&Buffer.isBuffer(f.content))f.content.copy(s,s.l,0,f.size),s.l+=f.size+63&-64;else{for(c=0;c<f.size;++c)s.write_shift(1,f.content[c]);for(;63&c;++c)s.write_shift(1,0)}if(_d)s.l=s.length;else for(;s.l<s.length;)s.write_shift(1,0);return s}t.version="1.2.1";var m,g=64,v=-2,w="d0cf11e0a1b11ae1",b=[208,207,17,224,161,177,26,225],y="00000000000000000000000000000000",k={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:v,FREESECT:-1,HEADER_SIGNATURE:w,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:y,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function E(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function x(e){return m?m.deflateRawSync(e):K(e)}var _=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],C=[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],S=[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];for(var T,A,N="undefined"!=typeof Uint8Array,B=N?new Uint8Array(256):[],M=0;M<256;++M)B[M]=(A=void 0,255&((A=139536&((T=M)<<1|T<<11)|558144&(T<<5|T<<15))>>16|A>>8|A));function O(e,t){var r=B[255&e];return t<=8?r>>>8-t:(r=r<<8|B[e>>8&255],t<=16?r>>>16-t:(r=r<<8|B[e>>16&255])>>>24-t)}function R(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function I(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function D(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function P(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function F(e,t,r){var n=7&t,a=t>>>3,s=(1<<r)-1,o=e[a]>>>n;return r<8-n?o&s:(o|=e[a+1]<<8-n,r<16-n?o&s:(o|=e[a+2]<<16-n,r<24-n?o&s:(o|=e[a+3]<<24-n)&s))}function V(e,t,r){var n=7&t,a=t>>>3;return n<=5?e[a]|=(7&r)<<n:(e[a]|=r<<n&255,e[a+1]=(7&r)>>8-n),t+3}function z(e,t,r){return r=(1&r)<<(7&t),e[t>>>3]|=r,t+1}function L(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=r,t+8}function H(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=255&r,e[n+2]=r>>>8,t+16}function U(e,t){var r=e.length,n=2*r>t?2*r:t+5,a=0;if(r>=t)return e;if(_d){var s=Td(n);if(e.copy)e.copy(s);else for(;a<e.length;++a)s[a]=e[a];return s}if(N){var o=new Uint8Array(n);if(o.set)o.set(e);else for(;a<r;++a)o[a]=e[a];return o}return e.length=n,e}function W(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function j(e,t,r){var n=1,a=0,s=0,o=0,i=0,l=e.length,c=N?new Uint16Array(32):W(32);for(s=0;s<32;++s)c[s]=0;for(s=l;s<r;++s)e[s]=0;l=e.length;var h=N?new Uint16Array(l):W(l);for(s=0;s<l;++s)c[a=e[s]]++,n<a&&(n=a),h[s]=0;for(c[0]=0,s=1;s<=n;++s)c[s+16]=i=i+c[s-1]<<1;for(s=0;s<l;++s)0!=(i=e[s])&&(h[s]=c[i+16]++);var f=0;for(s=0;s<l;++s)if(0!=(f=e[s]))for(i=O(h[s],n)>>n-f,o=(1<<n+4-f)-1;o>=0;--o)t[i|o<<f]=15&f|s<<4;return n}var $=N?new Uint16Array(512):W(512),q=N?new Uint16Array(32):W(32);if(!N){for(var G=0;G<512;++G)$[G]=0;for(G=0;G<32;++G)q[G]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);j(e,q,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);j(r,$,288)}();var X=function(){for(var e=N?new Uint8Array(32768):[],t=0,r=0;t<S.length-1;++t)for(;r<S[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var n=N?new Uint8Array(259):[];for(t=0,r=0;t<C.length-1;++t)for(;r<C[t+1];++r)n[r]=t;return function(t,r){return t.length<8?function(e,t){for(var r=0;r<e.length;){var n=Math.min(65535,e.length-r),a=r+n==e.length;for(t.write_shift(1,+a),t.write_shift(2,n),t.write_shift(2,65535&~n);n-- >0;)t[t.l++]=e[r++]}return t.l}(t,r):function(t,r){for(var a=0,s=0,o=N?new Uint16Array(32768):[];s<t.length;){var i=Math.min(65535,t.length-s);if(i<10){for(7&(a=V(r,a,+!(s+i!=t.length)))&&(a+=8-(7&a)),r.l=a/8|0,r.write_shift(2,i),r.write_shift(2,65535&~i);i-- >0;)r[r.l++]=t[s++];a=8*r.l}else{a=V(r,a,+!(s+i!=t.length)+2);for(var l=0;i-- >0;){var c=t[s],h=-1,f=0;if((h=o[l=32767&(l<<5^c)])&&((h|=-32768&s)>s&&(h-=32768),h<s))for(;t[h+f]==t[s+f]&&f<250;)++f;if(f>2){(c=n[f])<=22?a=L(r,a,B[c+1]>>1)-1:(L(r,a,3),L(r,a+=5,B[c-23]>>5),a+=3);var u=c<8?0:c-4>>2;u>0&&(H(r,a,f-C[c]),a+=u),c=e[s-h],a=L(r,a,B[c]>>3),a-=3;var d=c<4?0:c-2>>1;d>0&&(H(r,a,s-h-S[c]),a+=d);for(var p=0;p<f;++p)o[l]=32767&s,l=32767&(l<<5^t[s]),++s;i-=f-1}else c<=143?c+=48:a=z(r,a,1),a=L(r,a,B[c]),o[l]=32767&s,++s}a=L(r,a,0)-1}}return r.l=(a+7)/8|0,r.l}(t,r)}}();function K(e){var t=Zg(50+Math.floor(1.1*e.length)),r=X(e,t);return t.slice(0,r)}var Y=N?new Uint16Array(32768):W(32768),Z=N?new Uint16Array(32768):W(32768),J=N?new Uint16Array(128):W(128),Q=1,ee=1;function te(e,t){var r=D(e,t)+257,n=D(e,t+=5)+1,a=function(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}(e,t+=5)+4;t+=4;for(var s=0,o=N?new Uint8Array(19):W(19),i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=N?new Uint8Array(8):W(8),h=N?new Uint8Array(8):W(8),f=o.length,u=0;u<a;++u)o[_[u]]=s=I(e,t),l<s&&(l=s),c[s]++,t+=3;var d=0;for(c[0]=0,u=1;u<=l;++u)h[u]=d=d+c[u-1]<<1;for(u=0;u<f;++u)0!=(d=o[u])&&(i[u]=h[d]++);var p=0;for(u=0;u<f;++u)if(0!=(p=o[u])){d=B[i[u]]>>8-p;for(var m=(1<<7-p)-1;m>=0;--m)J[d|m<<p]=7&p|u<<3}var g=[];for(l=1;g.length<r+n;)switch(t+=7&(d=J[P(e,t)]),d>>>=3){case 16:for(s=3+R(e,t),t+=2,d=g[g.length-1];s-- >0;)g.push(d);break;case 17:for(s=3+I(e,t),t+=3;s-- >0;)g.push(0);break;case 18:for(s=11+P(e,t),t+=7;s-- >0;)g.push(0);break;default:g.push(d),l<d&&(l=d)}var v=g.slice(0,r),w=g.slice(r);for(u=r;u<286;++u)v[u]=0;for(u=n;u<30;++u)w[u]=0;return Q=j(v,Y,286),ee=j(w,Z,30),t}function re(e,t){var r=function(e,t){if(3==e[0]&&!(3&e[1]))return[Sd(t),2];for(var r=0,n=0,a=Td(t||1<<18),s=0,o=a.length>>>0,i=0,l=0;!(1&n);)if(n=I(e,r),r+=3,n>>>1!=0)for(n>>1==1?(i=9,l=5):(r=te(e,r),i=Q,l=ee);;){!t&&o<s+32767&&(o=(a=U(a,s+32767)).length);var c=F(e,r,i),h=n>>>1==1?$[c]:Y[c];if(r+=15&h,(h>>>=4)>>>8&255){if(256==h)break;var f=(h-=257)<8?0:h-4>>2;f>5&&(f=0);var u=s+C[h];f>0&&(u+=F(e,r,f),r+=f),c=F(e,r,l),r+=15&(h=n>>>1==1?q[c]:Z[c]);var d=(h>>>=4)<4?0:h-2>>1,p=S[h];for(d>0&&(p+=F(e,r,d),r+=d),!t&&o<u&&(o=(a=U(a,u+100)).length);s<u;)a[s]=a[s-p],++s}else a[s++]=h}else{7&r&&(r+=8-(7&r));var m=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,m>0)for(!t&&o<s+m&&(o=(a=U(a,s+m)).length);m-- >0;)a[s++]=e[r>>>3],r+=8}return t?[a,r+7>>>3]:[a.slice(0,s),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function ne(e,t){if(!e)throw new Error(t)}function ae(e,t){var r=e;Kg(r,0);var n={FileIndex:[],FullPaths:[]};u(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var o=r.read_shift(2);r.l+=6;var i=r.read_shift(4);for(r.l=i,a=0;a<o;++a){r.l+=20;var l=r.read_shift(4),c=r.read_shift(4),h=r.read_shift(2),f=r.read_shift(2),d=r.read_shift(2);r.l+=8;var p=r.read_shift(4),m=s(r.slice(r.l+h,r.l+h+f));r.l+=h+f+d;var g=r.l;r.l=p+4,se(r,l,c,n,m),r.l=g}return n}function se(e,t,r,n,a){e.l+=2;var o=e.read_shift(2),i=e.read_shift(2),l=function(e){var t=65535&e.read_shift(2),r=65535&e.read_shift(2),n=new Date,a=31&r,s=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(s-1),n.setDate(a);var o=31&t,i=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(i),n.setSeconds(o<<1),n}(e);if(8257&o)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var c=e.read_shift(4),h=e.read_shift(4),f=e.read_shift(2),u=e.read_shift(2),d="",p=0;p<f;++p)d+=String.fromCharCode(e[e.l++]);if(u){var g=s(e.slice(e.l,e.l+u));(g[21589]||{}).mt&&(l=g[21589].mt),((a||{})[21589]||{}).mt&&(l=a[21589].mt)}e.l+=u;var v=e.slice(e.l,e.l+c);switch(i){case 8:v=function(e,t){if(!m)return re(e,t);var r=new(0,m.InflateRaw),n=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,n}(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+i)}var w=!1;8&o&&(134695760==e.read_shift(4)&&(e.read_shift(4),w=!0),c=e.read_shift(4),h=e.read_shift(4)),c!=t&&ne(w,"Bad compressed size: "+t+" != "+c),h!=r&&ne(w,"Bad uncompressed size: "+r+" != "+h),fe(n,d,v,{unsafe:!0,mt:l})}var oe={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function ie(e,t){if(e.ctype)return e.ctype;var r=e.name||"",n=r.match(/\.([^\.]+)$/);return n&&oe[n[1]]||t&&(n=(r=t).match(/[\.\\]([^\.\\])+$/))&&oe[n[1]]?oe[n[1]]:"application/octet-stream"}function le(e){for(var t=Ed(e),r=[],n=0;n<t.length;n+=76)r.push(t.slice(n,n+76));return r.join("\r\n")+"\r\n"}function ce(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)}));"\n"==(t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(t="=0D"+t.slice(1));for(var r=[],n=(t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),a=0;a<n.length;++a){var s=n[a];if(0!=s.length)for(var o=0;o<s.length;){var i=76,l=s.slice(o,o+i);"="==l.charAt(i-1)?i--:"="==l.charAt(i-2)?i-=2:"="==l.charAt(i-3)&&(i-=3),l=s.slice(o,o+i),(o+=i)<s.length&&(l+="="),r.push(l)}else r.push("")}return r.join("\r\n")}function he(e,t,r){for(var n,a="",s="",o="",i=0;i<10;++i){var l=t[i];if(!l||l.match(/^\s*$/))break;var c=l.match(/^(.*?):\s*([^\s].*)$/);if(c)switch(c[1].toLowerCase()){case"content-location":a=c[2].trim();break;case"content-type":o=c[2].trim();break;case"content-transfer-encoding":s=c[2].trim()}}switch(++i,s.toLowerCase()){case"base64":n=Ad(xd(t.slice(i).join("")));break;case"quoted-printable":n=function(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r];r<=e.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+e[++r];t.push(n)}for(var a=0;a<t.length;++a)t[a]=t[a].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return Ad(t.join("\r\n"))}(t.slice(i));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+s)}var h=fe(e,a.slice(r.length),n,{unsafe:!0});o&&(h.ctype=o)}function fe(e,t,r,a){var s=a&&a.unsafe;s||u(e);var o=!s&&Np.find(e,t);if(!o){var i=e.FullPaths[0];t.slice(0,i.length)==i?i=t:("/"!=i.slice(-1)&&(i+="/"),i=(i+t).replace("//","/")),o={name:n(t),type:2},e.FileIndex.push(o),e.FullPaths.push(i),s||Np.utils.cfb_gc(e)}return o.content=r,o.size=r?r.length:0,a&&(a.CLSID&&(o.clsid=a.CLSID),a.mt&&(o.mt=a.mt),a.ct&&(o.ct=a.ct)),o}return t.find=function(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),n=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var s=t.toUpperCase(),o=!0===a?r.indexOf(s):n.indexOf(s);if(-1!==o)return e.FileIndex[o];var i=!s.match(Id);for(s=s.replace(Rd,""),i&&(s=s.replace(Id,"!")),o=0;o<r.length;++o){if((i?r[o].replace(Id,"!"):r[o]).replace(Rd,"")==s)return e.FileIndex[o];if((i?n[o].replace(Id,"!"):n[o]).replace(Rd,"")==s)return e.FileIndex[o]}return null},t.read=function(t,r){var n=r&&r.type;switch(n||_d&&Buffer.isBuffer(t)&&(n="buffer"),n||"base64"){case"file":return function(t,r){return o(),i(e.readFileSync(t),r)}(t,r);case"base64":return i(Ad(xd(t)),r);case"binary":return i(Ad(t),r)}return i(t,r)},t.parse=i,t.write=function(t,r){var n=p(t,r);switch(r&&r.type||"buffer"){case"file":return o(),e.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:E(n);case"base64":return Ed("string"==typeof n?n:E(n));case"buffer":if(_d)return Buffer.isBuffer(n)?n:Cd(n);case"array":return"string"==typeof n?Ad(n):n}return n},t.writeFile=function(t,r,n){o();var a=p(t,n);e.writeFileSync(r,a)},t.utils={cfb_new:function(e){var t={};return u(t,e),t},cfb_add:fe,cfb_del:function(e,t){u(e);var r=Np.find(e,t);if(r)for(var n=0;n<e.FileIndex.length;++n)if(e.FileIndex[n]==r)return e.FileIndex.splice(n,1),e.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(e,t,r){u(e);var a=Np.find(e,t);if(a)for(var s=0;s<e.FileIndex.length;++s)if(e.FileIndex[s]==a)return e.FileIndex[s].name=n(r),e.FullPaths[s]=r,!0;return!1},cfb_gc:function(e){d(e,!0)},ReadShift:Wg,CheckField:Xg,prep_blob:Kg,bconcat:Od,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");m=e}catch(r){}},_deflateRaw:K,_inflateRaw:re,consts:k},t}();function Bp(e){return"string"==typeof e?Nd(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function Mp(e,t,r){if("undefined"!=typeof Deno){if(r&&"string"==typeof t)switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=Nd(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n="utf8"==r?Dm(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(n,e);if("undefined"!=typeof Blob){var a=new Blob([Bp(n)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if("undefined"!=typeof saveAs)return saveAs(a,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(a);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),chrome.downloads.download({url:s,filename:e,saveAs:!0});var o=document.createElement("a");if(null!=o.download)return o.download=e,o.href=s,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),s}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var i=File(e);return i.open("w"),i.encoding="binary",Array.isArray(t)&&(t=Bd(t)),i.write(t),i.close(),t}catch(l){if(!l.message||!l.message.match(/onstruct/))throw l}throw new Error("cannot save file "+e)}function Op(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function Rp(e,t){for(var r=[],n=Op(e),a=0;a!==n.length;++a)null==r[e[n[a]][t]]&&(r[e[n[a]][t]]=n[a]);return r}function Ip(e){for(var t=[],r=Op(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function Dp(e){for(var t=[],r=Op(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}var Pp=new Date(1899,11,30,0,0,0);function Fp(e,t){return(e.getTime()-(Pp.getTime()+6e4*(e.getTimezoneOffset()-Pp.getTimezoneOffset())))/864e5}var Vp=new Date,zp=Pp.getTime()+6e4*(Vp.getTimezoneOffset()-Pp.getTimezoneOffset()),Lp=Vp.getTimezoneOffset();function Hp(e){var t=new Date;return t.setTime(24*e*60*60*1e3+zp),t.getTimezoneOffset()!==Lp&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-Lp)),t}function Up(e){var t=0,r=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var s=1;s!=a.length;++s)if(a[s]){switch(r=1,s>3&&(n=!0),a[s].slice(a[s].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[s].slice(a[s].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(a[s],10)}return t}var Wp=new Date("2017-02-19T19:06:09.000Z"),jp=isNaN(Wp.getFullYear())?new Date("2/19/17"):Wp,$p=2017==jp.getFullYear();function qp(e,t){var r=new Date(e);if($p)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==jp.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function Gp(e,t){if(_d&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Dm(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Dm(gd(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Dm(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Dm(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"","‚":"","ƒ":"","„":"","…":"
","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(s){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function Xp(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Xp(e[r]));return t}function Kp(e,t){for(var r="";r.length<t;)r+=e;return r}function Yp(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(n))?t:t/r):t/r}var Zp=["january","february","march","april","may","june","july","august","september","october","november","december"];function Jp(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),s=t.getDate();if(isNaN(s))return r;var o=e.toLowerCase();if(o.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((o=o.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Zp.indexOf(o))return r}else if(o.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||s>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}var Qp=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,r,n){if(e||"string"==typeof r)return t.split(r);for(var a=t.split(r),s=[a[0]],o=1;o<a.length;++o)s.push(n),s.push(a[o]);return s}}();function em(e){return e?e.content&&e.type?Gp(e.content,!0):e.data?wd(e.data):e.asNodeBuffer&&_d?wd(e.asNodeBuffer().toString("binary")):e.asBinary?wd(e.asBinary()):e._data&&e._data.getContent?wd(Gp(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function tm(e){if(!e)return null;if(e.data)return md(e.data);if(e.asNodeBuffer&&_d)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?md(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function rm(e,t){for(var r=e.FullPaths||Op(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),a=n.replace(/\\/g,"/"),s=0;s<r.length;++s){var o=r[s].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==o||a==o)return e.files?e.files[r[s]]:e.FileIndex[s]}return null}function nm(e,t){var r=rm(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function am(e,t,r){if(!r)return(n=nm(e,t))&&".bin"===n.name.slice(-4)?tm(n):em(n);var n;if(!t)return null;try{return am(e,t)}catch(a){return null}}function sm(e,t,r){if(!r)return em(nm(e,t));if(!t)return null;try{return sm(e,t)}catch(n){return null}}function om(e){for(var t=e.FullPaths||Op(e.files),r=[],n=0;n<t.length;++n)"/"!=t[n].slice(-1)&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function im(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=_d?Cd(r):function(e){for(var t=[],r=0,n=e.length+250,a=Sd(e.length+255),s=0;s<e.length;++s){var o=e.charCodeAt(s);if(o<128)a[r++]=o;else if(o<2048)a[r++]=192|o>>6&31,a[r++]=128|63&o;else if(o>=55296&&o<57344){o=64+(1023&o);var i=1023&e.charCodeAt(++s);a[r++]=240|o>>8&7,a[r++]=128|o>>2&63,a[r++]=128|i>>6&15|(3&o)<<4,a[r++]=128|63&i}else a[r++]=224|o>>12&15,a[r++]=128|o>>6&63,a[r++]=128|63&o;r>n&&(t.push(a.slice(0,r)),r=0,a=Sd(65535),n=65530)}return t.push(a.slice(0,r)),Od(t)}(r),Np.utils.cfb_add(e,t,n);Np.utils.cfb_add(e,t,r)}else e.file(t,r)}function lm(){return Np.utils.cfb_new()}function cm(e,t){switch(t.type){case"base64":return Np.read(e,{type:"base64"});case"binary":return Np.read(e,{type:"binary"});case"buffer":case"array":return Np.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function hm(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();for(var n=e.split("/");0!==n.length;){var a=n.shift();".."===a?r.pop():"."!==a&&r.push(a)}return r.join("/")}var fm='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',um=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,dm=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,pm=fm.match(dm)?dm:/<[^>]*>/g,mm=/<\w*:/,gm=/<(\/?)\w+:/;function vm(e,t,r){for(var n={},a=0,s=0;a!==e.length&&(32!==(s=e.charCodeAt(a))&&10!==s&&13!==s);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var o=e.match(um),i=0,l="",c=0,h="",f="",u=1;if(o)for(c=0;c!=o.length;++c){for(f=o[c],s=0;s!=f.length&&61!==f.charCodeAt(s);++s);for(h=f.slice(0,s).trim();32==f.charCodeAt(s+1);)++s;for(u=34==(a=f.charCodeAt(s+1))||39==a?1:0,l=f.slice(s+1+u,f.length-u),i=0;i!=h.length&&58!==h.charCodeAt(i);++i);if(i===h.length)h.indexOf("_")>0&&(h=h.slice(0,h.indexOf("_"))),n[h]=l,n[h.toLowerCase()]=l;else{var d=(5===i&&"xmlns"===h.slice(0,5)?"xmlns":"")+h.slice(i+1);if(n[d]&&"ext"==h.slice(i-3,i))continue;n[d]=l,n[d.toLowerCase()]=l}}return n}function wm(e){return e.replace(gm,"<$1")}var bm={""":'"',"'":"'",">":">","<":"<","&":"&"},ym=Ip(bm),km=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(n){var a=n+"",s=a.indexOf("<![CDATA[");if(-1==s)return a.replace(e,(function(e,t){return bm[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var o=a.indexOf("]]>");return r(a.slice(0,s))+a.slice(s+9,o)+r(a.slice(o+3))}}(),Em=/[&<>'"]/g,xm=/[\u0000-\u0008\u000b-\u001f]/g;function _m(e){return(e+"").replace(Em,(function(e){return ym[e]})).replace(xm,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function Cm(e){return _m(e).replace(/ /g,"_x0020_")}var Sm=/[\u0000-\u001f]/g;function Tm(e){return(e+"").replace(Em,(function(e){return ym[e]})).replace(/\n/g,"<br/>").replace(Sm,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Am=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function Nm(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Bm(e){for(var t="",r=0,n=0,a=0,s=0,o=0,i=0;r<e.length;)(n=e.charCodeAt(r++))<128?t+=String.fromCharCode(n):(a=e.charCodeAt(r++),n>191&&n<224?(o=(31&n)<<6,o|=63&a,t+=String.fromCharCode(o)):(s=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&s):(i=((7&n)<<18|(63&a)<<12|(63&s)<<6|63&(o=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(i>>>10&1023)),t+=String.fromCharCode(56320+(1023&i)))));return t}function Mm(e){var t,r,n,a=Sd(2*e.length),s=1,o=0,i=0;for(r=0;r<e.length;r+=s)s=1,(n=e.charCodeAt(r))<128?t=n:n<224?(t=64*(31&n)+(63&e.charCodeAt(r+1)),s=2):n<240?(t=4096*(15&n)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),s=3):(s=4,t=262144*(7&n)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),i=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==i&&(a[o++]=255&i,a[o++]=i>>>8,i=0),a[o++]=t%256,a[o++]=t>>>8;return a.slice(0,o).toString("ucs2")}function Om(e){return Cd(e,"binary").toString("utf8")}var Rm="foo bar bazâð£",Im=_d&&(Om(Rm)==Bm(Rm)&&Om||Mm(Rm)==Bm(Rm)&&Mm)||Bm,Dm=_d?function(e){return Cd(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},Pm=function(){var e={};return function(t,r){var n=t+"|"+(r||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),Fm=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<e.length;++n)r=r.replace(e[n][0],e[n][1]);return r}}(),Vm=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),zm=/<\/?(?:vt:)?variant>/g,Lm=/<(?:vt:)([^>]*)>([\s\S]*)</;function Hm(e,t){var r=vm(e),n=e.match(Vm(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach((function(e){var t=e.replace(zm,"").match(Lm);t&&a.push({v:Im(t[2]),t:t[1]})})),a}var Um=/(^\s|\s$|\n)/;function Wm(e,t){return"<"+e+(t.match(Um)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function jm(e){return Op(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function $m(e,t,r){return"<"+e+(null!=r?jm(r):"")+(null!=t?(t.match(Um)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function qm(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Gm(e){if(_d&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Im(Bd(Md(e)));throw new Error("Bad input format: expected Buffer or string")}var Xm=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Km="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Ym="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Zm="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Jm="http://schemas.openxmlformats.org/package/2006/content-types",Qm="http://schemas.openxmlformats.org/package/2006/relationships",eg="http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",tg="http://purl.org/dc/elements/1.1/",rg="http://purl.org/dc/terms/",ng="http://purl.org/dc/dcmitype/",ag="http://schemas.openxmlformats.org/officeDocument/2006/relationships",sg="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",og="http://www.w3.org/2001/XMLSchema-instance",ig="http://www.w3.org/2001/XMLSchema",lg=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],cg="urn:schemas-microsoft-com:office:office",hg="urn:schemas-microsoft-com:office:excel",fg="urn:schemas-microsoft-com:office:spreadsheet",ug="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",dg="http://macVmlSchemaUri",pg="urn:schemas-microsoft-com:vml",mg="http://www.w3.org/TR/REC-html40";var gg=function(e){for(var t=[],r=0;r<e[0].length;++r)if(e[0][r])for(var n=0,a=e[0][r].length;n<a;n+=10240)t.push.apply(t,e[0][r].slice(n,n+10240));return t},vg=_d?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:Cd(e)}))):gg(e)}:gg,wg=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(Vg(e,a)));return n.join("").replace(Rd,"")},bg=_d?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(Rd,""):wg(e,t,r)}:wg,yg=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},kg=_d?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):yg(e,t,r)}:yg,Eg=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(Fg(e,a)));return n.join("")},xg=_d?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):Eg(e,t,r)}:Eg,_g=function(e,t){var r=Lg(e,t);return r>0?xg(e,t+4,t+4+r-1):""},Cg=_g,Sg=function(e,t){var r=Lg(e,t);return r>0?xg(e,t+4,t+4+r-1):""},Tg=Sg,Ag=function(e,t){var r=2*Lg(e,t);return r>0?xg(e,t+4,t+4+r-1):""},Ng=Ag,Bg=function(e,t){var r=Lg(e,t);return r>0?bg(e,t+4,t+4+r):""},Mg=Bg,Og=function(e,t){var r=Lg(e,t);return r>0?xg(e,t+4,t+4+r):""},Rg=Og,Ig=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],s=5;s>=0;--s)a=256*a+e[t+s];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)},Dg=Ig,Pg=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};_d&&(Cg=function(e,t){if(!Buffer.isBuffer(e))return _g(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Tg=function(e,t){if(!Buffer.isBuffer(e))return Sg(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Ng=function(e,t){if(!Buffer.isBuffer(e))return Ag(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},Mg=function(e,t){if(!Buffer.isBuffer(e))return Bg(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},Rg=function(e,t){if(!Buffer.isBuffer(e))return Og(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},Dg=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Ig(e,t)},Pg=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array});var Fg=function(e,t){return e[t]},Vg=function(e,t){return 256*e[t+1]+e[t]},zg=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},Lg=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Hg=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Ug=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Wg(e,t){var r,n,a,s,o,i,l="",c=[];switch(t){case"dbcs":if(i=this.l,_d&&Buffer.isBuffer(this))l=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)l+=String.fromCharCode(Vg(this,i)),i+=2;e*=2;break;case"utf8":l=xg(this,this.l,this.l+e);break;case"utf16le":e*=2,l=bg(this,this.l,this.l+e);break;case"wstr":return Wg.call(this,e,"dbcs");case"lpstr-ansi":l=Cg(this,this.l),e=4+Lg(this,this.l);break;case"lpstr-cp":l=Tg(this,this.l),e=4+Lg(this,this.l);break;case"lpwstr":l=Ng(this,this.l),e=4+2*Lg(this,this.l);break;case"lpp4":e=4+Lg(this,this.l),l=Mg(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+Lg(this,this.l),l=Rg(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,l="";0!==(a=Fg(this,this.l+e++));)c.push(bd(a));l=c.join("");break;case"_wstr":for(e=0,l="";0!==(a=Vg(this,this.l+e));)c.push(bd(a)),e+=2;e+=2,l=c.join("");break;case"dbcs-cont":for(l="",i=this.l,o=0;o<e;++o){if(this.lens&&-1!==this.lens.indexOf(i))return a=Fg(this,i),this.l=i+1,s=Wg.call(this,e-o,a?"dbcs-cont":"sbcs-cont"),c.join("")+s;c.push(bd(Vg(this,i))),i+=2}l=c.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(l="",i=this.l,o=0;o!=e;++o){if(this.lens&&-1!==this.lens.indexOf(i))return a=Fg(this,i),this.l=i+1,s=Wg.call(this,e-o,a?"dbcs-cont":"sbcs-cont"),c.join("")+s;c.push(bd(Fg(this,i))),i+=1}l=c.join("");break;default:switch(e){case 1:return r=Fg(this,this.l),this.l++,r;case 2:return r=("i"===t?zg:Vg)(this,this.l),this.l+=2,r;case 4:case-4:return"i"!==t&&128&this[this.l+3]?(n=Lg(this,this.l),this.l+=4,n):(r=(e>0?Hg:Ug)(this,this.l),this.l+=4,r);case 8:case-8:if("f"===t)return n=8==e?Dg(this,this.l):Dg([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:l=kg(this,this.l,e)}}return this.l+=e,l}var jg=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},$g=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},qg=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Gg(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)qg(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if("sbcs"===r){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);n=t.length}else{if("hex"===r){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}if("utf16le"===r){var s=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var o=t.charCodeAt(a);this[this.l++]=255&o,this[this.l++]=o>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(e){case 1:n=1,this[this.l]=255&t;break;case 2:n=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:n=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:n=4,jg(this,t,this.l);break;case 8:if(n=8,"f"===r){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,s=0,o=n?-t:t;isFinite(o)?0==o?a=s=0:(a=Math.floor(Math.log(o)/Math.LN2),s=o*Math.pow(2,52-a),a<=-1023&&(!isFinite(s)||s<Math.pow(2,52))?a=-1022:(s-=Math.pow(2,52),a+=1023)):(a=2047,s=isNaN(t)?26985:0);for(var i=0;i<=5;++i,s/=256)e[r+i]=255&s;e[r+6]=(15&a)<<4|15&s,e[r+7]=a>>4|n}(this,t,this.l);break}case 16:break;case-4:n=4,$g(this,t,this.l)}}return this.l+=n,this}function Xg(e,t){var r=kg(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Kg(e,t){e.l=t,e.read_shift=Wg,e.chk=Xg,e.write_shift=Gg}function Yg(e,t){e.l+=t}function Zg(e){var t=Sd(e);return Kg(t,0),t}function Jg(e,t,r){if(e){var n,a,s;Kg(e,e.l||0);for(var o=e.length,i=0,l=0;e.l<o;){128&(i=e.read_shift(1))&&(i=(127&i)+((127&e.read_shift(1))<<7));var c=t_[i]||t_[65535];for(s=127&(n=e.read_shift(1)),a=1;a<4&&128&n;++a)s+=(127&(n=e.read_shift(1)))<<7*a;l=e.l+s;var h=c.f&&c.f(e,s,r);if(e.l=l,t(h,c,i))return}}}function Qg(){var e=[],t=_d?256:2048,r=function(e){var t=Zg(e);return Kg(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},s=function(e){return n&&e<n.length-n.l?n:(a(),n=r(Math.max(e+1,t)))};return{next:s,push:function(e){a(),null==(n=e).l&&(n.l=n.length),s(t)},end:function(){return a(),Od(e)},_bufs:e}}function ev(e,t,r,n){var a,s=+t;if(!isNaN(s)){n||(n=t_[s].p||(r||[]).length||0),a=1+(s>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var o=e.next(a);s<=127?o.write_shift(1,s):(o.write_shift(1,128+(127&s)),o.write_shift(1,s>>7));for(var i=0;4!=i;++i){if(!(n>=128)){o.write_shift(1,n);break}o.write_shift(1,128+(127&n)),n>>=7}n>0&&Pg(r)&&e.push(r)}}function tv(e,t,r){var n=Xp(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function rv(e,t,r){var n=Xp(e);return n.s=tv(n.s,t.s,r),n.e=tv(n.e,t.s,r),n}function nv(e,t){if(e.cRel&&e.c<0)for(e=Xp(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Xp(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=hv(e);return e.cRel||null==e.cRel||(r=r.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function av(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?nv(e.s,t.biff)+":"+nv(e.e,t.biff):(e.s.rRel?"":"$")+ov(e.s.r)+":"+(e.e.rRel?"":"$")+ov(e.e.r):(e.s.cRel?"":"$")+lv(e.s.c)+":"+(e.e.cRel?"":"$")+lv(e.e.c)}function sv(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function ov(e){return""+(e+1)}function iv(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function lv(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function cv(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function hv(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function fv(e){var t=e.indexOf(":");return-1==t?{s:cv(e),e:cv(e)}:{s:cv(e.slice(0,t)),e:cv(e.slice(t+1))}}function uv(e,t){return void 0===t||"number"==typeof t?uv(e.s,e.e):("string"!=typeof e&&(e=hv(e)),"string"!=typeof t&&(t=hv(t)),e==t?e:e+":"+t)}function dv(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,s=e.length;for(r=0;n<s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===s||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=s&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=s&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function pv(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=Ep(e.z,r?Fp(t):t)}catch(n){}try{return e.w=Ep((e.XF||{}).numFmtId||(r?14:0),r?Fp(t):t)}catch(n){return""+t}}function mv(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?ew[e.v]||e.v:pv(e,null==t?e.v:t))}function gv(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function vv(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,s=e||(a?[]:{}),o=0,i=0;if(s&&null!=n.origin){if("number"==typeof n.origin)o=n.origin;else{var l="string"==typeof n.origin?cv(n.origin):n.origin;o=l.r,i=l.c}s["!ref"]||(s["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var h=dv(s["!ref"]);c.s.c=h.s.c,c.s.r=h.s.r,c.e.c=Math.max(c.e.c,h.e.c),c.e.r=Math.max(c.e.r,h.e.r),-1==o&&(c.e.r=o=h.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[f].length;++u)if(void 0!==t[f][u]){var d={v:t[f][u]},p=o+f,m=i+u;if(c.s.r>p&&(c.s.r=p),c.s.c>m&&(c.s.c=m),c.e.r<p&&(c.e.r=p),c.e.c<m&&(c.e.c=m),!t[f][u]||"object"!=typeof t[f][u]||Array.isArray(t[f][u])||t[f][u]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][u][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"==typeof d.v?d.t="n":"boolean"==typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||jd[14],n.cellDates?(d.t="d",d.w=Ep(d.z,Fp(d.v))):(d.t="n",d.v=Fp(d.v),d.w=Ep(d.z,d.v))):d.t="s";else d=t[f][u];if(a)s[p]||(s[p]=[]),s[p][m]&&s[p][m].z&&(d.z=s[p][m].z),s[p][m]=d;else{var g=hv({c:m,r:p});s[g]&&s[g].z&&(d.z=s[g].z),s[g]=d}}}return c.s.c<1e7&&(s["!ref"]=uv(c)),s}function wv(e,t){return vv(null,e,t)}function bv(e,t){return t||(t=Zg(4)),t.write_shift(4,e),t}function yv(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function kv(e,t){var r=!1;return null==t&&(r=!0,t=Zg(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function Ev(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function xv(e,t){var r=e.l,n=e.read_shift(1),a=yv(e),s=[],o={t:a,h:a};if(1&n){for(var i=e.read_shift(4),l=0;l!=i;++l)s.push(Ev(e));o.r=s}else o.r=[{ich:0,ifnt:0}];return e.l=r+t,o}var _v=xv;function Cv(e,t){var r=!1;return null==t&&(r=!0,t=Zg(23+4*e.t.length)),t.write_shift(1,1),kv(e.t,t),t.write_shift(4,1),function(e,t){t||(t=Zg(4)),t.write_shift(2,0),t.write_shift(2,0)}(0,t),r?t.slice(0,t.l):t}function Sv(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Tv(e,t){return null==t&&(t=Zg(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function Av(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Nv(e,t){return null==t&&(t=Zg(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Bv=yv,Mv=kv;function Ov(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Rv(e,t){var r=!1;return null==t&&(r=!0,t=Zg(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var Iv=yv,Dv=Ov,Pv=Rv;function Fv(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?Dg([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Hg(t,0)>>2;return r?a/100:a}function Vv(e,t){null==t&&(t=Zg(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-536870912&&e<1<<29?n=1:a==(0|a)&&a>=-536870912&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?a:e)<<2)+(r+2))}function zv(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var Lv=zv,Hv=function(e,t){return t||(t=Zg(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t};function Uv(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Wv(e,t){return(t||Zg(8)).write_shift(8,e,"f")}function jv(e,t){if(t||(t=Zg(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function $v(e,t){var r=e.read_shift(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e.read_shift(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}var qv=80,Gv=[qv,81],Xv={1:{n:"CodePage",t:2},2:{n:"Category",t:qv},3:{n:"PresentationFormat",t:qv},4:{n:"ByteCount",t:3},5:{n:"LineCount",t:3},6:{n:"ParagraphCount",t:3},7:{n:"SlideCount",t:3},8:{n:"NoteCount",t:3},9:{n:"HiddenCount",t:3},10:{n:"MultimediaClipCount",t:3},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:qv},15:{n:"Company",t:qv},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:3},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:3,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:qv},27:{n:"ContentStatus",t:qv},28:{n:"Language",t:qv},29:{n:"Version",t:qv},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Kv={1:{n:"CodePage",t:2},2:{n:"Title",t:qv},3:{n:"Subject",t:qv},4:{n:"Author",t:qv},5:{n:"Keywords",t:qv},6:{n:"Comments",t:qv},7:{n:"Template",t:qv},8:{n:"LastAuthor",t:qv},9:{n:"RevNumber",t:qv},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:3},15:{n:"WordCount",t:3},16:{n:"CharCount",t:3},17:{n:"Thumbnail",t:71},18:{n:"Application",t:qv},19:{n:"DocSecurity",t:3},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Yv={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Zv=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Jv(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Qv=Xp(Jv([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),ew={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},tw={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},rw={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},nw={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function aw(e,t){var r,n=function(e){for(var t=[],r=Op(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(rw),a=[];a[a.length]=fm,a[a.length]=$m("Types",null,{xmlns:Jm,"xmlns:xsd":ig,"xmlns:xsi":og}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return $m("Default",null,{Extension:e[0],ContentType:e[1]})})));var s=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=$m("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:nw[n][t.bookType]||nw[n].xlsx}))},o=function(r){(e[r]||[]).forEach((function(e){a[a.length]=$m("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:nw[r][t.bookType]||nw[r].xlsx})}))},i=function(t){(e[t]||[]).forEach((function(e){a[a.length]=$m("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})}))};return s("workbooks"),o("sheets"),o("charts"),i("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(i),i("vba"),i("comments"),i("threadedcomments"),i("drawings"),o("metadata"),i("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var sw={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function ow(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function iw(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(pm)||[]).forEach((function(e){var a=vm(e);if("<Relationship"===a[0]){var s={};s.Type=a.Type,s.Target=a.Target,s.Id=a.Id,a.TargetMode&&(s.TargetMode=a.TargetMode);var o="External"===a.TargetMode?a.Target:hm(a.Target,t);r[o]=s,n[a.Id]=s}})),r["!id"]=n,r}function lw(e){var t=[fm,$m("Relationships",null,{xmlns:Qm})];return Op(e["!id"]).forEach((function(r){t[t.length]=$m("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function cw(e,t,r,n,a,s){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,[sw.HLINK,sw.XPATH,sw.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function hw(e,t,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function fw(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+ld.version+"</meta:generator></office:meta></office:document-meta>"}var uw=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],dw=function(){for(var e=new Array(uw.length),t=0;t<uw.length;++t){var r=uw[t],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function pw(e){var t={};e=Im(e);for(var r=0;r<uw.length;++r){var n=uw[r],a=e.match(dw[r]);null!=a&&a.length>0&&(t[n[1]]=km(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=qp(t[n[1]]))}return t}function mw(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=_m(t),n[n.length]=r?$m(e,t,r):Wm(e,t))}function gw(e,t){var r=t||{},n=[fm,$m("cp:coreProperties",null,{"xmlns:cp":Km,"xmlns:dc":tg,"xmlns:dcterms":rg,"xmlns:dcmitype":ng,"xmlns:xsi":og})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&mw("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:qm(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&mw("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:qm(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var s=0;s!=uw.length;++s){var o=uw[s],i=r.Props&&null!=r.Props[o[1]]?r.Props[o[1]]:e?e[o[1]]:null;!0===i?i="1":!1===i?i="0":"number"==typeof i&&(i=String(i)),null!=i&&mw(o[0],i,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var vw=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],ww=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function bw(e,t,r,n){var a=[];if("string"==typeof e)a=Hm(e,n);else for(var s=0;s<e.length;++s)a=a.concat(e[s].map((function(e){return{v:e}})));var o="string"==typeof t?Hm(t,n).map((function(e){return e.v})):t,i=0,l=0;if(o.length>0)for(var c=0;c!==a.length;c+=2){switch(l=+a[c+1].v,a[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=o.slice(i,i+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=l,r.DefinedNames=o.slice(i,i+l);break;case"Charts":case"Diagramme":r.Chartsheets=l,r.ChartNames=o.slice(i,i+l)}i+=l}}function yw(e){var t=[],r=$m;return e||(e={}),e.Application="SheetJS",t[t.length]=fm,t[t.length]=$m("Properties",null,{xmlns:Zm,"xmlns:vt":sg}),vw.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=_m(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+_m(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var kw=/<[^>]+>[^<]*/g;function Ew(e){var t=[fm,$m("Properties",null,{xmlns:Ym,"xmlns:vt":sg})];if(!e)return t.join("");var r=1;return Op(e).forEach((function(n){++r,t[t.length]=$m("property",function(e){switch(typeof e){case"string":var t=$m("vt:lpwstr",_m(e));return t.replace(/"/g,"_x0022_");case"number":return $m((0|e)==e?"vt:i4":"vt:r8",_m(String(e)));case"boolean":return $m("vt:bool",e?"true":"false")}if(e instanceof Date)return $m("vt:filetime",qm(e));throw new Error("Unable to serialize "+e)}(e[n]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:_m(n)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var xw,_w={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function Cw(e,t,r){xw||(xw=Ip(_w)),e[t=xw[t]||t]=r}function Sw(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Tw(e,t,r){var n=e.l,a=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function Aw(e,t,r){return e.read_shift(0,"lpwstr")}function Nw(e,t,r){return 31===t?Aw(e):Tw(e,0,r)}function Bw(e,t,r){return Nw(e,t,!1===r?0:4)}function Mw(e){var t=e.l,r=Iw(e,81);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[r,Iw(e,3)]}function Ow(e,t){for(var r=e.read_shift(4),n={},a=0;a!=r;++a){var s=e.read_shift(4),o=e.read_shift(4);n[s]=e.read_shift(o,1200===t?"utf16le":"utf8").replace(Rd,"").replace(Id,"!"),1200===t&&o%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function Rw(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function Iw(e,t,r){var n,a=e.read_shift(2),s=r||{};if(e.l+=2,12!==t&&a!==t&&-1===Gv.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(12===t?a:t){case 2:return n=e.read_shift(2,"i"),s.raw||(e.l+=2),n;case 3:return n=e.read_shift(4,"i");case 11:return 0!==e.read_shift(4);case 19:return n=e.read_shift(4);case 30:return Tw(e,0,4).replace(Rd,"");case 31:return Aw(e);case 64:return Sw(e);case 65:return Rw(e);case 71:return function(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return Bw(e,a,!s.raw).replace(Rd,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Nw(e,t,0)}(e,a).replace(Rd,"");case 4108:return function(e){for(var t=e.read_shift(4),r=[],n=0;n<t/2;++n)r.push(Mw(e));return r}(e);case 4126:case 4127:return 4127==a?function(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e.read_shift(0,"lpwstr").replace(Rd,""),e.l-a&2&&(e.l+=2)}return r}(e):function(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(Rd,"");return r}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function Dw(e,t){var r=Zg(4),n=Zg(4);switch(r.write_shift(4,80==e?31:e),e){case 3:n.write_shift(-4,t);break;case 5:(n=Zg(8)).write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,r=t%Math.pow(2,32),n=(t-r)/Math.pow(2,32);n*=1e7;var a=(r*=1e7)/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),n+=a);var s=Zg(8);return s.write_shift(4,r),s.write_shift(4,n),s}(t);break;case 31:case 80:for((n=Zg(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return Od([r,n])}function Pw(e,t){var r=e.l,n=e.read_shift(4),a=e.read_shift(4),s=[],o=0,i=0,l=-1,c={};for(o=0;o!=a;++o){var h=e.read_shift(4),f=e.read_shift(4);s[o]=[h,f+r]}s.sort((function(e,t){return e[1]-t[1]}));var u={};for(o=0;o!=a;++o){if(e.l!==s[o][1]){var d=!0;if(o>0&&t)switch(t[s[o-1][0]].t){case 2:e.l+2===s[o][1]&&(e.l+=2,d=!1);break;case 80:case 4108:e.l<=s[o][1]&&(e.l=s[o][1],d=!1)}if((!t||0==o)&&e.l<=s[o][1]&&(d=!1,e.l=s[o][1]),d)throw new Error("Read Error: Expected address "+s[o][1]+" at "+e.l+" :"+o)}if(t){var p=t[s[o][0]];if(u[p.n]=Iw(e,p.t,{raw:!0}),"version"===p.p&&(u[p.n]=String(u[p.n]>>16)+"."+("0000"+String(65535&u[p.n])).slice(-4)),"CodePage"==p.n)switch(u[p.n]){case 0:u[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:dd(i=u[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+u[p.n])}}else if(1===s[o][0]){if(i=u.CodePage=Iw(e,2),dd(i),-1!==l){var m=e.l;e.l=s[l][1],c=Ow(e,i),e.l=m}}else if(0===s[o][0]){if(0===i){l=o,e.l=s[o+1][1];continue}c=Ow(e,i)}else{var g,v=c[s[o][0]];switch(e[e.l]){case 65:e.l+=4,g=Rw(e);break;case 30:case 31:e.l+=4,g=Bw(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,g=e.read_shift(4,"i");break;case 19:e.l+=4,g=e.read_shift(4);break;case 5:e.l+=4,g=e.read_shift(8,"f");break;case 11:e.l+=4,g=Ww(e,4);break;case 64:e.l+=4,g=qp(Sw(e));break;default:throw new Error("unparsed value: "+e[e.l])}u[v]=g}}return e.l=r+n,u}var Fw=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Vw(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function zw(e,t,r){var n=Zg(8),a=[],s=[],o=8,i=0,l=Zg(8),c=Zg(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),s.push(l),a.push(c),o+=8+l.length,!t){(c=Zg(8)).write_shift(4,0),a.unshift(c);var h=[Zg(4)];for(h[0].write_shift(4,e.length),i=0;i<e.length;++i){var f=e[i][0];for((l=Zg(8+2*(f.length+1)+(f.length%2?0:2))).write_shift(4,i+2),l.write_shift(4,f.length+1),l.write_shift(0,f,"dbcs");l.l!=l.length;)l.write_shift(1,0);h.push(l)}l=Od(h),s.unshift(l),o+=8+l.length}for(i=0;i<e.length;++i)if((!t||t[e[i][0]])&&!(Fw.indexOf(e[i][0])>-1||ww.indexOf(e[i][0])>-1)&&null!=e[i][1]){var u=e[i][1],d=0;if(t){var p=r[d=+t[e[i][0]]];if("version"==p.p&&"string"==typeof u){var m=u.split(".");u=(+m[0]<<16)+(+m[1]||0)}l=Dw(p.t,u)}else{var g=Vw(u);-1==g&&(g=31,u=String(u)),l=Dw(g,u)}s.push(l),(c=Zg(8)).write_shift(4,t?d:2+i),a.push(c),o+=8+l.length}var v=8*(s.length+1);for(i=0;i<s.length;++i)a[i].write_shift(4,v),v+=s[i].length;return n.write_shift(4,o),n.write_shift(4,s.length),Od([n].concat(a).concat(s))}function Lw(e,t,r){var n=e.content;if(!n)return{};Kg(n,0);var a,s,o,i,l=0;n.chk("feff","Byte Order: "),n.read_shift(2);var c=n.read_shift(4),h=n.read_shift(16);if(h!==Np.utils.consts.HEADER_CLSID&&h!==r)throw new Error("Bad PropertySet CLSID "+h);if(1!==(a=n.read_shift(4))&&2!==a)throw new Error("Unrecognized #Sets: "+a);if(s=n.read_shift(16),i=n.read_shift(4),1===a&&i!==n.l)throw new Error("Length mismatch: "+i+" !== "+n.l);2===a&&(o=n.read_shift(16),l=n.read_shift(4));var f,u=Pw(n,t),d={SystemIdentifier:c};for(var p in u)d[p]=u[p];if(d.FMTID=s,1===a)return d;if(l-n.l==2&&(n.l+=2),n.l!==l)throw new Error("Length mismatch 2: "+n.l+" !== "+l);try{f=Pw(n,null)}catch(m){}for(p in f)d[p]=f[p];return d.FMTID=[s,o],d}function Hw(e,t,r,n,a,s){var o=Zg(a?68:48),i=[o];o.write_shift(2,65534),o.write_shift(2,0),o.write_shift(4,842412599),o.write_shift(16,Np.utils.consts.HEADER_CLSID,"hex"),o.write_shift(4,a?2:1),o.write_shift(16,t,"hex"),o.write_shift(4,a?68:48);var l=zw(e,r,n);if(i.push(l),a){var c=zw(a,null,null);o.write_shift(16,s,"hex"),o.write_shift(4,68+l.length),i.push(c)}return Od(i)}function Uw(e,t){return e.read_shift(t),null}function Ww(e,t){return 1===e.read_shift(t)}function jw(e,t){return t||(t=Zg(2)),t.write_shift(2,+!!e),t}function $w(e){return e.read_shift(2,"u")}function qw(e,t){return t||(t=Zg(2)),t.write_shift(2,e),t}function Gw(e,t){return function(e,t,r){for(var n=[],a=e.l+t;e.l<a;)n.push(r(e,a-e.l));if(a!==e.l)throw new Error("Slurp error");return n}(e,t,$w)}function Xw(e,t,r){return r||(r=Zg(2)),r.write_shift(1,"e"==t?+e:+!!e),r.write_shift(1,"e"==t?1:0),r}function Kw(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont";(r&&r.biff,r&&8!=r.biff)?12==r.biff&&(a="wstr"):e.read_shift(1)&&(a="dbcs-cont");return r.biff>=2&&r.biff<=5&&(a="cpstr"),n?e.read_shift(n,a):""}function Yw(e){var t,r=e.read_shift(2),n=e.read_shift(1),a=4&n,s=8&n,o=1+(1&n),i=0,l={};s&&(i=e.read_shift(2)),a&&(t=e.read_shift(4));var c=2==o?"dbcs-cont":"sbcs-cont",h=0===r?"":e.read_shift(r,c);return s&&(e.l+=4*i),a&&(e.l+=t),l.t=h,s||(l.raw="<t>"+l.t+"</t>",l.r=l.t),l}function Zw(e){var t=e.t||"",r=Zg(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=Zg(2*t.length);return n.write_shift(2*t.length,t,"utf16le"),Od([r,n])}function Jw(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function Qw(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Jw(e,n,r)}function eb(e,t,r){if(r.biff>5)return Qw(e,0,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function tb(e,t,r){return r||(r=Zg(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function rb(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(n=!0),e.l=r);var a=e.read_shift((n?t-24:t)>>1,"utf16le").replace(Rd,"");return n&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");if(0===e.read_shift(4))return r+n.replace(/\\/g,"/");var a=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");return r+e.read_shift(a>>1,"utf16le").replace(Rd,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function nb(e){var t=e.read_shift(4);return t>0?e.read_shift(t,"utf16le").replace(Rd,""):""}function ab(e,t){t||(t=Zg(6+2*e.length)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function sb(e){var t=Zg(512),r=0,n=e.Target;"file://"==n.slice(0,7)&&(n=n.slice(7));var a=n.indexOf("#"),s=a>-1?31:23;switch(n.charAt(0)){case"#":s=28;break;case".":s&=-3}t.write_shift(4,2),t.write_shift(4,s);var o=[8,6815827,6619237,4849780,83];for(r=0;r<o.length;++r)t.write_shift(4,o[r]);if(28==s)ab(n=n.slice(1),t);else if(2&s){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<o.length;++r)t.write_shift(1,parseInt(o[r],16));var i=a>-1?n.slice(0,a):n;for(t.write_shift(4,2*(i.length+1)),r=0;r<i.length;++r)t.write_shift(2,i.charCodeAt(r));t.write_shift(2,0),8&s&&ab(a>-1?n.slice(a+1):"",t)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<o.length;++r)t.write_shift(1,parseInt(o[r],16));for(var l=0;"../"==n.slice(3*l,3*l+3)||"..\\"==n.slice(3*l,3*l+3);)++l;for(t.write_shift(2,l),t.write_shift(4,n.length-3*l+1),r=0;r<n.length-3*l;++r)t.write_shift(1,255&n.charCodeAt(r+3*l));for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function ob(e){return[e.read_shift(1),e.read_shift(1),e.read_shift(1),e.read_shift(1)]}function ib(e,t){var r=ob(e);return r[3]=0,r}function lb(e){return{r:e.read_shift(2),c:e.read_shift(2),ixfe:e.read_shift(2)}}function cb(e,t,r,n){return n||(n=Zg(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function hb(e,t,r){var n=r.biff>8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function fb(e){return[e.read_shift(2),Fv(e)]}function ub(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:r}}}function db(e,t){return t||(t=Zg(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function pb(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(1),r:t},e:{c:e.read_shift(1),r:r}}}var mb=pb;function gb(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function vb(e){e.l+=2,e.l+=e.read_shift(2)}var wb={0:vb,4:vb,5:vb,6:vb,7:function(e){return e.l+=4,e.cf=e.read_shift(2),{}},8:vb,9:vb,10:vb,11:vb,12:vb,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t},14:vb,15:vb,16:vb,17:vb,18:vb,19:vb,20:vb,21:gb};function bb(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),(t-=2)>=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function yb(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;default:throw new Error("unsupported BIFF version")}var s=Zg(a);return s.write_shift(2,n),s.write_shift(2,t),a>4&&s.write_shift(2,29282),a>6&&s.write_shift(2,1997),a>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function kb(e,t){var r=!t||t.biff>=8?2:1,n=Zg(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function Eb(e,t,r){var n=0;r&&2==r.biff||(n=e.read_shift(2));var a=e.read_shift(2);return r&&2==r.biff&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function xb(e,t,r,n){var a=r&&5==r.biff;n||(n=Zg(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var s=n.length>n.l?n.slice(0,n.l):n;return null==s.l&&(s.l=s.length),s}var _b=eb;function Cb(e,t,r){var n=e.l+t,a=8!=r.biff&&r.biff?2:4,s=e.read_shift(a),o=e.read_shift(a),i=e.read_shift(2),l=e.read_shift(2);return e.l=n,{s:{r:s,c:i},e:{r:o,c:l}}}function Sb(e,t,r,n){var a=r&&5==r.biff;n||(n=Zg(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var s=0;return e.numFmtId>0&&a&&(s|=1024),n.write_shift(4,s),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Tb(e,t,r){var n=lb(e);2!=r.biff&&9!=t||++e.l;var a=function(e){var t=e.read_shift(1);return 1===e.read_shift(1)?t:1===t}(e);return n.val=a,n.t=!0===a||!1===a?"b":"e",n}var Ab=function(e,t,r){return 0===t?"":eb(e,0,r)};function Nb(e,t,r){var n,a=e.read_shift(2),s={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===r.sbcch&&(n=function(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=Kw(e,0,r),s=e.read_shift(2);if(s!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+s);return e.l+=s,a}(e,t-2,r)),s.body=n||e.read_shift(t-2),"string"==typeof n&&(s.Name=n),s}var Bb=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Mb(e,t,r){var n=e.l+t,a=e.read_shift(2),s=e.read_shift(1),o=e.read_shift(1),i=e.read_shift(r&&2==r.biff?1:2),l=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),l=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);var c=Jw(e,o,r);32&a&&(c=Bb[c.charCodeAt(0)]);var h=n-e.l;r&&2==r.biff&&--h;var f=n!=e.l&&0!==i&&h>0?function(e,t,r,n){var a,s=e.l+t,o=$k(e,n,r);s!==e.l&&(a=jk(e,s-e.l,o,r));return[o,a]}(e,h,r,i):[];return{chKey:s,Name:c,itab:l,rgce:f}}function Ob(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Kw(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,s=e.read_shift(r.biff>8?4:2);0!=s--;)n.push(hb(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Rb(e,t,r){var n=mb(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,Zk(e,t,r)]}var Ib={8:function(e,t){var r=e.l+t;e.l+=10;var n=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e.read_shift(1);return e.l+=a,e.l=r,{fmt:n}}};function Db(e){var t=Zg(24),r=cv(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return Od([t,sb(e[1])])}function Pb(e){var t=e[1].Tooltip,r=Zg(10+2*(t.length+1));r.write_shift(2,2048);var n=cv(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function Fb(e,t,r){if(!r.cellStyles)return Yg(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(n),i=e.read_shift(n),l=e.read_shift(2);2==n&&(e.l+=2);var c={s:a,e:s,w:o,ixfe:i,flags:l};return(r.biff>=5||!r.biff)&&(c.level=l>>8&7),c}var Vb=lb,zb=Gw,Lb=Qw;var Hb=[2,3,48,49,131,139,140,245],Ub=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=Ip({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(t,r){var n=r||{};n.dateNF||(n.dateNF="yyyymmdd");var a=wv(function(t,r){var n=[],a=Sd(1);switch(r.type){case"base64":a=Ad(xd(t));break;case"binary":a=Ad(t);break;case"buffer":case"array":a=t}Kg(a,0);var s=a.read_shift(1),o=!!(136&s),i=!1,l=!1;switch(s){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:i=!0,o=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+s.toString(16))}var c=0,h=521;2==s&&(c=a.read_shift(2)),a.l+=3,2!=s&&(c=a.read_shift(4)),c>1048576&&(c=1e6),2!=s&&(h=a.read_shift(2));var f=a.read_shift(2),u=r.codepage||1252;2!=s&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(u=e[a[a.l]]),a.l+=1,a.l+=2),l&&(a.l+=36);for(var d=[],p={},m=Math.min(a.length,2==s?521:h-10-(i?264:0)),g=l?32:11;a.l<m&&13!=a[a.l];)switch((p={}).name=vd.utils.decode(u,a.slice(a.l,a.l+g)).replace(/[\u0000\r\n].*$/g,""),a.l+=g,p.type=String.fromCharCode(a.read_shift(1)),2==s||l||(p.offset=a.read_shift(4)),p.len=a.read_shift(1),2==s&&(p.offset=a.read_shift(2)),p.dec=a.read_shift(1),p.name.length&&d.push(p),2!=s&&(a.l+=l?13:14),p.type){case"B":(!i||8!=p.len)&&r.WTF;break;case"G":case"P":r.WTF;break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==a[a.l]&&(a.l=h-1),13!==a.read_shift(1))throw new Error("DBF Terminator not found "+a.l+" "+a[a.l]);a.l=h;var v=0,w=0;for(n[0]=[],w=0;w!=d.length;++w)n[0][w]=d[w].name;for(;c-- >0;)if(42!==a[a.l])for(++a.l,n[++v]=[],w=0,w=0;w!=d.length;++w){var b=a.slice(a.l,a.l+d[w].len);a.l+=d[w].len,Kg(b,0);var y=vd.utils.decode(u,b);switch(d[w].type){case"C":y.trim().length&&(n[v][w]=y.replace(/\s+$/,""));break;case"D":8===y.length?n[v][w]=new Date(+y.slice(0,4),+y.slice(4,6)-1,+y.slice(6,8)):n[v][w]=y;break;case"F":n[v][w]=parseFloat(y.trim());break;case"+":case"I":n[v][w]=l?2147483648^b.read_shift(-4,"i"):b.read_shift(4,"i");break;case"L":switch(y.trim().toUpperCase()){case"Y":case"T":n[v][w]=!0;break;case"N":case"F":n[v][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+y+"|")}break;case"M":if(!o)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[v][w]="##MEMO##"+(l?parseInt(y.trim(),10):b.read_shift(4));break;case"N":(y=y.replace(/\u0000/g,"").trim())&&"."!=y&&(n[v][w]=+y||0);break;case"@":n[v][w]=new Date(b.read_shift(-8,"f")-621356832e5);break;case"T":n[v][w]=new Date(864e5*(b.read_shift(4)-2440588)+b.read_shift(4));break;case"Y":n[v][w]=b.read_shift(4,"i")/1e4+b.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":n[v][w]=-b.read_shift(-8,"f");break;case"B":if(i&&8==d[w].len){n[v][w]=b.read_shift(8,"f");break}case"G":case"P":b.l+=d[w].len;break;case"0":if("_NullFlags"===d[w].name)break;default:throw new Error("DBF Unsupported data type "+d[w].type)}}else a.l+=f;if(2!=s&&a.l<a.length&&26!=a[a.l++])throw new Error("DBF EOF Marker missing "+(a.l-1)+" of "+a.length+" "+a[a.l-1].toString(16));return r&&r.sheetRows&&(n=n.slice(0,r.sheetRows)),r.DBF=d,n}(t,n),n);return a["!cols"]=n.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete n.DBF,a}var n={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(e,t){try{return gv(r(e,t),t)}catch(n){if(t&&t.WTF)throw n}return{SheetNames:[],Sheets:{}}},to_sheet:r,from_sheet:function(e,r){var a=r||{};if(+a.codepage>=0&&dd(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var s=Qg(),o=vC(e,{header:1,raw:!0,cellDates:!0}),i=o[0],l=o.slice(1),c=e["!cols"]||[],h=0,f=0,u=0,d=1;for(h=0;h<i.length;++h)if(((c[h]||{}).DBF||{}).name)i[h]=c[h].DBF.name,++u;else if(null!=i[h]){if(++u,"number"==typeof i[h]&&(i[h]=i[h].toString(10)),"string"!=typeof i[h])throw new Error("DBF Invalid column name "+i[h]+" |"+typeof i[h]+"|");if(i.indexOf(i[h])!==h)for(f=0;f<1024;++f)if(-1==i.indexOf(i[h]+"_"+f)){i[h]+="_"+f;break}}var p=dv(e["!ref"]),m=[],g=[],v=[];for(h=0;h<=p.e.c-p.s.c;++h){var w="",b="",y=0,k=[];for(f=0;f<l.length;++f)null!=l[f][h]&&k.push(l[f][h]);if(0!=k.length&&null!=i[h]){for(f=0;f<k.length;++f){switch(typeof k[f]){case"number":b="B";break;case"string":default:b="C";break;case"boolean":b="L";break;case"object":b=k[f]instanceof Date?"D":"C"}y=Math.max(y,String(k[f]).length),w=w&&w!=b?"C":b}y>250&&(y=250),"C"==(b=((c[h]||{}).DBF||{}).type)&&c[h].DBF.len>y&&(y=c[h].DBF.len),"B"==w&&"N"==b&&(w="N",v[h]=c[h].DBF.dec,y=c[h].DBF.len),g[h]="C"==w||"N"==b?y:n[w]||0,d+=g[h],m[h]=w}else m[h]="?"}var E=s.next(32);for(E.write_shift(4,318902576),E.write_shift(4,l.length),E.write_shift(2,296+32*u),E.write_shift(2,d),h=0;h<4;++h)E.write_shift(4,0);for(E.write_shift(4,(+t[cd]||3)<<8),h=0,f=0;h<i.length;++h)if(null!=i[h]){var x=s.next(32),_=(i[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);x.write_shift(1,_,"sbcs"),x.write_shift(1,"?"==m[h]?"C":m[h],"sbcs"),x.write_shift(4,f),x.write_shift(1,g[h]||n[m[h]]||0),x.write_shift(1,v[h]||0),x.write_shift(1,2),x.write_shift(4,0),x.write_shift(1,0),x.write_shift(4,0),x.write_shift(4,0),f+=g[h]||n[m[h]]||0}var C=s.next(264);for(C.write_shift(4,13),h=0;h<65;++h)C.write_shift(4,0);for(h=0;h<l.length;++h){var S=s.next(d);for(S.write_shift(1,0),f=0;f<i.length;++f)if(null!=i[f])switch(m[f]){case"L":S.write_shift(1,null==l[h][f]?63:l[h][f]?84:70);break;case"B":S.write_shift(8,l[h][f]||0,"f");break;case"N":var T="0";for("number"==typeof l[h][f]&&(T=l[h][f].toFixed(v[f]||0)),u=0;u<g[f]-T.length;++u)S.write_shift(1,32);S.write_shift(1,T,"sbcs");break;case"D":l[h][f]?(S.write_shift(4,("0000"+l[h][f].getFullYear()).slice(-4),"sbcs"),S.write_shift(2,("00"+(l[h][f].getMonth()+1)).slice(-2),"sbcs"),S.write_shift(2,("00"+l[h][f].getDate()).slice(-2),"sbcs")):S.write_shift(8,"00000000","sbcs");break;case"C":var A=String(null!=l[h][f]?l[h][f]:"").slice(0,g[f]);for(S.write_shift(1,A,"sbcs"),u=0;u<g[f]-A.length;++u)S.write_shift(1,32)}}return s.next(1).write_shift(1,26),s.end()}}}(),Wb=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("N("+Op(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var n=e[r];return"number"==typeof n?yd(n):n},n=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:yd(n)};function a(e,a){var s,o=e.split(/[\n\r]+/),i=-1,l=-1,c=0,h=0,f=[],u=[],d=null,p={},m=[],g=[],v=[],w=0;for(+a.codepage>=0&&dd(+a.codepage);c!==o.length;++c){w=0;var b,y=o[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),k=y.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),E=k[0];if(y.length>0)switch(E){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==k[1].charAt(0)&&u.push(y.slice(3).replace(/;;/g,";"));break;case"C":var x=!1,_=!1,C=!1,S=!1,T=-1,A=-1;for(h=1;h<k.length;++h)switch(k[h].charAt(0)){case"A":case"G":break;case"X":l=parseInt(k[h].slice(1))-1,_=!0;break;case"Y":for(i=parseInt(k[h].slice(1))-1,_||(l=0),s=f.length;s<=i;++s)f[s]=[];break;case"K":'"'===(b=k[h].slice(1)).charAt(0)?b=b.slice(1,b.length-1):"TRUE"===b?b=!0:"FALSE"===b?b=!1:isNaN(Yp(b))?isNaN(Jp(b).getDate())||(b=qp(b)):(b=Yp(b),null!==d&&wp(d)&&(b=Hp(b))),x=!0;break;case"E":S=!0;var N=bk(k[h].slice(1),{r:i,c:l});f[i][l]=[f[i][l],N];break;case"S":C=!0,f[i][l]=[f[i][l],"S5S"];break;case"R":T=parseInt(k[h].slice(1))-1;break;case"C":A=parseInt(k[h].slice(1))-1;break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+y)}if(x&&(f[i][l]&&2==f[i][l].length?f[i][l][0]=b:f[i][l]=b,d=null),C){if(S)throw new Error("SYLK shared formula cannot have own formula");var B=T>-1&&f[T][A];if(!B||!B[1])throw new Error("SYLK shared formula cannot find base");f[i][l][1]=Ek(B[1],{r:i-T,c:l-A})}break;case"F":var M=0;for(h=1;h<k.length;++h)switch(k[h].charAt(0)){case"X":l=parseInt(k[h].slice(1))-1,++M;break;case"Y":for(i=parseInt(k[h].slice(1))-1,s=f.length;s<=i;++s)f[s]=[];break;case"M":w=parseInt(k[h].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":d=u[parseInt(k[h].slice(1))];break;case"W":for(v=k[h].slice(1).split(" "),s=parseInt(v[0],10);s<=parseInt(v[1],10);++s)w=parseInt(v[2],10),g[s-1]=0===w?{hidden:!0}:{wch:w},Ny(g[s-1]);break;case"C":g[l=parseInt(k[h].slice(1))-1]||(g[l]={});break;case"R":m[i=parseInt(k[h].slice(1))-1]||(m[i]={}),w>0?(m[i].hpt=w,m[i].hpx=Oy(w)):0===w&&(m[i].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+y)}M<1&&(d=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+y)}}return m.length>0&&(p["!rows"]=m),g.length>0&&(p["!cols"]=g),a&&a.sheetRows&&(f=f.slice(0,a.sheetRows)),[f,p]}function s(e,t){var r=function(e,t){switch(t.type){case"base64":return a(xd(e),t);case"binary":return a(e,t);case"buffer":return a(_d&&Buffer.isBuffer(e)?e.toString("binary"):Bd(e),t);case"array":return a(Gp(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),n=r[0],s=r[1],o=wv(n,t);return Op(s).forEach((function(e){o[e]=s[e]})),o}function o(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+kk(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return gv(s(e,t),t)},to_sheet:s,from_sheet:function(e,t){var r,n,a=["ID;PWXL;N;E"],s=[],i=dv(e["!ref"]),l=Array.isArray(e),c="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(n=a,e["!cols"].forEach((function(e,t){var r="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?r+="0":("number"!=typeof e.width||e.wpx||(e.wpx=_y(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=Cy(e.wpx)),"number"==typeof e.wch&&(r+=Math.round(e.wch)))," "!=r.charAt(r.length-1)&&n.push(r)}))),e["!rows"]&&function(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*My(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}(a,e["!rows"]),a.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));for(var h=i.s.r;h<=i.e.r;++h)for(var f=i.s.c;f<=i.e.c;++f){var u=hv({r:h,c:f});(r=l?(e[h]||[])[f]:e[u])&&(null!=r.v||r.f&&!r.F)&&s.push(o(r,0,h,f))}return a.join(c)+c+s.join(c)+c+"E"+c}}}(),jb=function(){function e(e,t){for(var r=e.split("\n"),n=-1,a=-1,s=0,o=[];s!==r.length;++s)if("BOT"!==r[s].trim()){if(!(n<0)){for(var i=r[s].trim().split(","),l=i[0],c=i[1],h=r[++s]||"";1&(h.match(/["]/g)||[]).length&&s<r.length-1;)h+="\n"+r[++s];switch(h=h.trim(),+l){case-1:if("BOT"===h){o[++n]=[],a=0;continue}if("EOD"!==h)throw new Error("Unrecognized DIF special command "+h);break;case 0:"TRUE"===h?o[n][a]=!0:"FALSE"===h?o[n][a]=!1:isNaN(Yp(c))?isNaN(Jp(c).getDate())?o[n][a]=c:o[n][a]=qp(c):o[n][a]=Yp(c),++a;break;case 1:(h=(h=h.slice(1,h.length-1)).replace(/""/g,'"'))&&h.match(/^=".*"$/)&&(h=h.slice(2,-1)),o[n][a++]=""!==h?h:null}if("EOD"===h)break}}else o[++n]=[],a=0;return t&&t.sheetRows&&(o=o.slice(0,t.sheetRows)),o}function t(t,r){return wv(function(t,r){switch(r.type){case"base64":return e(xd(t),r);case"binary":return e(t,r);case"buffer":return e(_d&&Buffer.isBuffer(t)?t.toString("binary"):Bd(t),r);case"array":return e(Gp(t),r)}throw new Error("Unrecognized type "+r.type)}(t,r),r)}return{to_workbook:function(e,r){return gv(t(e,r),r)},to_sheet:t,from_sheet:function(){var e=function(e,t,r,n,a){e.push(t),e.push(r+","+n),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,r,n){e.push(t+","+r),e.push(1==t?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,a=[],s=dv(r["!ref"]),o=Array.isArray(r);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,s.e.r-s.s.r+1,""),e(a,"TUPLES",0,s.e.c-s.s.c+1,""),e(a,"DATA",0,0,"");for(var i=s.s.r;i<=s.e.r;++i){t(a,-1,0,"BOT");for(var l=s.s.c;l<=s.e.c;++l){var c=hv({r:i,c:l});if(n=o?(r[i]||[])[l]:r[c])switch(n.t){case"n":var h=n.w;h||null==n.v||(h=n.v),null==h?n.f&&!n.F?t(a,1,0,"="+n.f):t(a,1,0,""):t(a,0,h,"V");break;case"b":t(a,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":t(a,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=Ep(n.z||jd[14],Fp(qp(n.v)))),t(a,0,n.w,"V");break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");return a.join("\r\n")}}()}}(),$b=function(){function e(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(e,t){return wv(function(e,t){for(var r=e.split("\n"),n=-1,a=-1,s=0,o=[];s!==r.length;++s){var i=r[s].trim().split(":");if("cell"===i[0]){var l=cv(i[1]);if(o.length<=l.r)for(n=o.length;n<=l.r;++n)o[n]||(o[n]=[]);switch(n=l.r,a=l.c,i[2]){case"t":o[n][a]=i[3].replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n");break;case"v":o[n][a]=+i[3];break;case"vtf":var c=i[i.length-1];case"vtc":"nl"===i[3]?o[n][a]=!!+i[4]:o[n][a]=+i[4],"vtf"==i[2]&&(o[n][a]=[o[n][a],c])}}}return t&&t.sheetRows&&(o=o.slice(0,t.sheetRows)),o}(e,t),t)}var r=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),n=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",a=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function o(t){if(!t||!t["!ref"])return"";for(var r,n=[],a=[],s="",o=fv(t["!ref"]),i=Array.isArray(t),l=o.s.r;l<=o.e.r;++l)for(var c=o.s.c;c<=o.e.c;++c)if(s=hv({r:l,c:c}),(r=i?(t[l]||[])[c]:t[s])&&null!=r.v&&"z"!==r.t){switch(a=["cell",s,"t"],r.t){case"s":case"str":a.push(e(r.v));break;case"n":r.f?(a[2]="vtf",a[3]="n",a[4]=r.v,a[5]=e(r.f)):(a[2]="v",a[3]=r.v);break;case"b":a[2]="vt"+(r.f?"f":"c"),a[3]="nl",a[4]=r.v?"1":"0",a[5]=e(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var h=Fp(qp(r.v));a[2]="vtc",a[3]="nd",a[4]=""+h,a[5]=r.w||Ep(r.z||jd[14],h);break;case"e":continue}n.push(a.join(":"))}return n.push("sheet:c:"+(o.e.c-o.s.c+1)+":r:"+(o.e.r-o.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(e,r){return gv(t(e,r),r)},to_sheet:t,from_sheet:function(e){return[r,n,a,n,o(e),s].join("\n")}}}(),qb=function(){function e(e,t,r,n,a){a.raw?t[r][n]=e:""===e||("TRUE"===e?t[r][n]=!0:"FALSE"===e?t[r][n]=!1:isNaN(Yp(e))?isNaN(Jp(e).getDate())?t[r][n]=e:t[r][n]=qp(e):t[r][n]=Yp(e))}var t={44:",",9:"\t",59:";",124:"|"},r={44:3,9:2,59:1,124:0};function n(e){for(var n={},a=!1,s=0,o=0;s<e.length;++s)34==(o=e.charCodeAt(s))?a=!a:!a&&o in t&&(n[o]=(n[o]||0)+1);for(s in o=[],n)Object.prototype.hasOwnProperty.call(n,s)&&o.push([n[s],s]);if(!o.length)for(s in n=r)Object.prototype.hasOwnProperty.call(n,s)&&o.push([n[s],s]);return o.sort((function(e,t){return e[0]-t[0]||r[e[1]]-r[t[1]]})),t[o.pop()[1]]||44}function a(e,t){var r=t||{},a="",s=r.dense?[]:{},o={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(a=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(a=e.charAt(4),e=e.slice(6)):a=n(e.slice(0,1024)):a=r&&r.FS?r.FS:n(e.slice(0,1024));var i=0,l=0,c=0,h=0,f=0,u=a.charCodeAt(0),d=!1,p=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var g,v,w=null!=r.dateNF?(g=r.dateNF,v=(v="number"==typeof g?jd[g]:g).replace(Tp,"(\\d+)"),new RegExp("^"+v+"$")):null;function b(){var t=e.slice(h,f),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(r.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):1!=t.length?(n.t="n",n.f=t.slice(1)):(n.t="s",n.v=t);else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(c=Yp(t)))if(!isNaN(Jp(t).getDate())||w&&t.match(w)){n.z=r.dateNF||jd[14];var a=0;w&&t.match(w)&&(t=function(e,t,r){var n=-1,a=-1,s=-1,o=-1,i=-1,l=-1;(t.match(Tp)||[]).forEach((function(e,t){var c=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=c;break;case"d":s=c;break;case"h":o=c;break;case"s":l=c;break;case"m":o>=0?i=c:a=c}})),l>=0&&-1==i&&a>=0&&(i=a,a=-1);var c=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var h=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==o&&-1==i&&-1==l?c:-1==n&&-1==a&&-1==s?h:c+"T"+h}(0,r.dateNF,t.match(w)||[]),a=1),r.cellDates?(n.t="d",n.v=qp(t,a)):(n.t="n",n.v=Fp(qp(t,a))),!1!==r.cellText&&(n.w=Ep(n.z,n.v instanceof Date?Fp(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=c;if("z"==n.t||(r.dense?(s[i]||(s[i]=[]),s[i][l]=n):s[hv({c:l,r:i})]=n),h=f+1,m=e.charCodeAt(h),o.e.c<l&&(o.e.c=l),o.e.r<i&&(o.e.r=i),p==u)++l;else if(l=0,++i,r.sheetRows&&r.sheetRows<=i)return!0}e:for(;f<e.length;++f)switch(p=e.charCodeAt(f)){case 34:34===m&&(d=!d);break;case u:case 10:case 13:if(!d&&b())break e}return f-h>0&&b(),s["!ref"]=uv(o),s}function s(t,r){return r&&r.PRN?r.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?a(t,r):wv(function(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;for(var s=t.split(/[\r\n]/),o=s.length-1;o>=0&&0===s[o].length;)--o;for(var i=10,l=0,c=0;c<=o;++c)-1==(l=s[c].indexOf(" "))?l=s[c].length:l++,i=Math.max(i,l);for(c=0;c<=o;++c){a[c]=[];var h=0;for(e(s[c].slice(0,i).trim(),a,c,h,n),h=1;h<=(s[c].length-i)/10+1;++h)e(s[c].slice(i+10*(h-1),i+10*h).trim(),a,c,h,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}(t,r),r):a(t,r)}function o(e,t){var r="",n="string"==t.type?[0,0,0,0]:iC(e,t);switch(t.type){case"base64":r=xd(e);break;case"binary":case"string":r=e;break;case"buffer":65001==t.codepage?r=e.toString("utf8"):(t.codepage,r=_d&&Buffer.isBuffer(e)?e.toString("binary"):Bd(e));break;case"array":r=Gp(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=Im(r.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?r=Im(r):t.type,"socialcalc:version:"==r.slice(0,19)?$b.to_sheet("string"==t.type?r:Im(r),t):s(r,t)}return{to_workbook:function(e,t){return gv(o(e,t),t)},to_sheet:o,from_sheet:function(e){for(var t,r=[],n=dv(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){for(var o=[],i=n.s.c;i<=n.e.c;++i){var l=hv({r:s,c:i});if((t=a?(e[s]||[])[i]:e[l])&&null!=t.v){for(var c=(t.w||(mv(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";o.push(c+(0===i?" ":""))}else o.push(" ")}r.push(o.join(""))}return r.join("\n")}}}();var Gb=function(){function e(e,t,r){if(e){Kg(e,e.l||0);for(var n=r.Enum||v;e.l<e.length;){var a=e.read_shift(2),s=n[a]||n[65535],o=e.read_shift(2),i=e.l+o,l=s.f&&s.f(e,o,r);if(e.l=i,t(l,s,a))return}}}function t(t,r){if(!t)return t;var n=r||{},a=n.dense?[]:{},s="Sheet1",o="",i=0,l={},c=[],h=[],f={s:{r:0,c:0},e:{r:0,c:0}},u=n.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=v,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:f=e;break;case 204:e&&(o=e);break;case 222:o=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&!(112&~e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||jd[14],n.cellDates&&(e[1].t="d",e[1].v=Hp(e[1].v))),n.qpro&&e[3]>i&&(a["!ref"]=uv(f),l[s]=a,c.push(s),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},i=e[3],s=o||"Sheet"+(i+1),o="");var h=n.dense?(a[e[0].r]||[])[e[0].c]:a[hv(e[0])];if(h){h.t=e[1].t,h.v=e[1].v,null!=e[1].z&&(h.z=e[1].z),null!=e[1].f&&(h.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[hv(e[0])]=e[1]}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=w,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:s=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>i&&(a["!ref"]=uv(f),l[s]=a,c.push(s),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},i=e[3],s="Sheet"+(i+1)),u>0&&e[0].r>=u)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[hv(e[0])]=e[1],f.e.c<e[0].c&&(f.e.c=e[0].c),f.e.r<e[0].r&&(f.e.r=e[0].r);break;case 27:e[14e3]&&(h[e[14e3][0]]=e[14e3][1]);break;case 1537:h[e[0]]=e[1],e[0]==i&&(s=e[1])}}),n)}if(a["!ref"]=uv(f),l[o||s]=a,c.push(o||s),!h.length)return{SheetNames:c,Sheets:l};for(var d={},p=[],m=0;m<h.length;++m)l[c[m]]?(p.push(h[m]||c[m]),d[h[m]]=l[h[m]]||l[c[m]]):(p.push(h[m]),d[h[m]]={"!ref":"A1"});return{SheetNames:p,Sheets:d}}function r(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=e.read_shift(1),n[3]=e.read_shift(1),n[0].r=e.read_shift(2),e.l+=2):(n[2]=e.read_shift(1),n[0].c=e.read_shift(2),n[0].r=e.read_shift(2)),n}function n(e,t,n){var a=e.l+t,s=r(e,0,n);if(s[1].t="s",20768==n.vers){e.l++;var o=e.read_shift(1);return s[1].v=e.read_shift(o,"utf8"),s}return n.qpro&&e.l++,s[1].v=e.read_shift(a-e.l,"cstr"),s}function a(e,t,r){var n=Zg(7+r.length);n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(1,39);for(var a=0;a<n.length;++a){var s=r.charCodeAt(a);n.write_shift(1,s>=128?95:s)}return n.write_shift(1,0),n}function s(e,t,r){var n=Zg(7);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(2,r,"i"),n}function o(e,t,r){var n=Zg(13);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(8,r,"f"),n}function i(e,t,r){var n=32768&t;return t=(n?e:0)+((t&=-32769)>=8192?t-16384:t),(n?"":"$")+(r?lv(t):ov(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},c=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function h(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function f(e,t,r,n){var a=Zg(6+n.length);a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),a.write_shift(1,39);for(var s=0;s<n.length;++s){var o=n.charCodeAt(s);a.write_shift(1,o>=128?95:o)}return a.write_shift(1,0),a}function u(e,t){var r=h(e),n=e.read_shift(4),a=e.read_shift(4),s=e.read_shift(2);if(65535==s)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var o=32768&s;return s=(32767&s)-16446,r[1].v=(1-2*o)*(a*Math.pow(2,s+32)+n*Math.pow(2,s)),r}function d(e,t,r,n){var a=Zg(14);if(a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),0==n)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var s,o=0,i=0,l=0;return n<0&&(o=1,n=-n),i=0|Math.log2(n),2147483648&(l=(n/=Math.pow(2,i-31))>>>0)||(++i,l=(n/=2)>>>0),n-=l,l|=2147483648,l>>>=0,s=(n*=Math.pow(2,32))>>>0,a.write_shift(4,s),a.write_shift(4,l),i+=16383+(o?32768:0),a.write_shift(2,i),a}function p(e,t){var r=h(e),n=e.read_shift(8,"f");return r[1].v=n,r}function m(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function g(e,t){var r=Zg(5+e.length);r.write_shift(2,14e3),r.write_shift(2,t);for(var n=0;n<e.length;++n){var a=e.charCodeAt(n);r[r.l++]=a>127?95:a}return r[r.l++]=0,r}var v={0:{n:"BOF",f:$w},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e.read_shift(1),e.l++,n.s.r=e.read_shift(2),n.e.c=e.read_shift(1),e.l++,n.e.r=e.read_shift(2),n):(n.s.c=e.read_shift(2),n.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e.read_shift(2),n.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,t,n){var a=e.l+t,s=r(e,0,n);if(s[1].v=e.read_shift(8,"f"),n.qpro)e.l=a;else{var o=e.read_shift(2);!function(e,t){Kg(e,0);var r=[],n=0,a="",s="",o="",h="";for(;e.l<e.length;){var f=e[e.l++];switch(f){case 0:r.push(e.read_shift(8,"f"));break;case 1:s=i(t[0].c,e.read_shift(2),!0),a=i(t[0].r,e.read_shift(2),!1),r.push(s+a);break;case 2:var u=i(t[0].c,e.read_shift(2),!0),d=i(t[0].r,e.read_shift(2),!1);s=i(t[0].c,e.read_shift(2),!0),a=i(t[0].r,e.read_shift(2),!1),r.push(u+d+":"+s+a);break;case 3:if(e.l<e.length)return;break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(e.read_shift(2));break;case 6:for(var p="";f=e[e.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:h=r.pop(),o=r.pop(),r.push(["AND","OR"][f-20]+"("+o+","+h+")");break;default:if(f<32&&c[f])h=r.pop(),o=r.pop(),r.push(o+c[f]+h);else{if(!l[f])return;if(69==(n=l[f][1])&&(n=e[e.l++]),n>r.length)return;var m=r.slice(-n);r.length-=n,r.push(l[f][0]+"("+m.join(",")+")")}}}1==r.length&&(t[1].f=""+r[0])}(e.slice(e.l,e.l+o),s),e.l+=o}return s}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:m},222:{n:"SHEETNAMELP",f:function(e,t){var r=e[e.l++];r>t-1&&(r=t-1);for(var n="";n.length<r;)n+=String.fromCharCode(e[e.l++]);return n}},65535:{n:""}},w={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(e,t){var r=h(e);return r[1].t="s",r[1].v=e.read_shift(t-4,"cstr"),r}},23:{n:"NUMBER17",f:u},24:{n:"NUMBER18",f:function(e,t){var r=h(e);r[1].v=e.read_shift(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(e,t){var r=u(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},n=e.l+t;e.l<n;){var a=e.read_shift(2);if(14e3==a){for(r[a]=[0,""],r[a][0]=e.read_shift(2);e[e.l];)r[a][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var r=h(e),n=e.read_shift(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:p},40:{n:"FORMULA28",f:function(e,t){var r=p(e);return e.l+=t-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:m},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,r){if(r.qpro&&!(t<21)){var n=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[n,e.read_shift(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var r=t||{};if(+r.codepage>=0&&dd(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n,i,l=Qg(),c=dv(e["!ref"]),h=Array.isArray(e),f=[];n_(l,0,(n=1030,(i=Zg(2)).write_shift(2,n),i)),n_(l,6,function(e){var t=Zg(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}(c));for(var u=Math.min(c.e.r,8191),d=c.s.r;d<=u;++d)for(var p=ov(d),m=c.s.c;m<=c.e.c;++m){d===c.s.r&&(f[m]=lv(m));var g=f[m]+p,v=h?(e[d]||[])[m]:e[g];if(v&&"z"!=v.t)if("n"==v.t)(0|v.v)==v.v&&v.v>=-32768&&v.v<=32767?n_(l,13,s(d,m,v.v)):n_(l,14,o(d,m,v.v));else n_(l,15,a(d,m,mv(v).slice(0,239)))}return n_(l,1),l.end()},book_to_wk3:function(e,t){var r=t||{};if(+r.codepage>=0&&dd(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Qg();n_(n,0,function(e){var t=Zg(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var r=0,n=0,a=0,s=0;s<e.SheetNames.length;++s){var o=e.SheetNames[s],i=e.Sheets[o];if(i&&i["!ref"]){++a;var l=fv(i["!ref"]);r<l.e.r&&(r=l.e.r),n<l.e.c&&(n=l.e.c)}}r>8191&&(r=8191);return t.write_shift(2,r),t.write_shift(1,a),t.write_shift(1,n),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}(e));for(var a=0,s=0;a<e.SheetNames.length;++a)(e.Sheets[e.SheetNames[a]]||{})["!ref"]&&n_(n,27,g(e.SheetNames[a],s++));var o=0;for(a=0;a<e.SheetNames.length;++a){var i=e.Sheets[e.SheetNames[a]];if(i&&i["!ref"]){for(var l=dv(i["!ref"]),c=Array.isArray(i),h=[],u=Math.min(l.e.r,8191),p=l.s.r;p<=u;++p)for(var m=ov(p),v=l.s.c;v<=l.e.c;++v){p===l.s.r&&(h[v]=lv(v));var w=h[v]+m,b=c?(i[p]||[])[v]:i[w];if(b&&"z"!=b.t)if("n"==b.t)n_(n,23,d(p,v,o,b.v));else n_(n,22,f(p,v,o,mv(b).slice(0,239)))}++o}}return n_(n,1),n.end()},to_workbook:function(e,r){switch(r.type){case"base64":return t(Ad(xd(e)),r);case"binary":return t(Ad(e),r);case"buffer":case"array":return t(e,r)}throw"Unsupported type "+r.type}}}();var Xb=function(){var e=Pm("t"),t=Pm("rPr");function r(r){var n=r.match(e);if(!n)return{t:"s",v:""};var a={t:"s",v:km(n[1])},s=r.match(t);return s&&(a.s=function(e){var t={},r=e.match(pm),n=0,a=!1;if(r)for(;n!=r.length;++n){var s=vm(r[n]);switch(s[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==s.val)break;t.cp=fd[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=s.val;break;case"<sz":t.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==s.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==s.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":s.rgb&&(t.color=s.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=s.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=s.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(47!==s[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+s[0])}}return t}(s[1])),a}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(n,"").split(a).map(r).filter((function(e){return e.v}))}}(),Kb=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push('<span style="'+n.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push("</"+a+">")),r.push("</span>")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"<br/>")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),Yb=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Zb=/<(?:\w+:)?r>/,Jb=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Qb(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=km(Im(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Im(e),r&&(n.h=Tm(n.t))):e.match(Zb)&&(n.r=Im(e),n.t=km(Im((e.replace(Jb,"").match(Yb)||[]).join("").replace(pm,""))),r&&(n.h=Kb(Xb(n.r)))),n):{t:""}}var ey=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,ty=/<(?:\w+:)?(?:si|sstItem)>/g,ry=/<\/(?:\w+:)?(?:si|sstItem)>/;var ny=/^\s|\s$|[\t\n\r]/;function ay(e,t){if(!t.bookSST)return"";var r=[fm];r[r.length]=$m("sst",null,{xmlns:lg[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],s="<si>";a.r?s+=a.r:(s+="<t",a.t||(a.t=""),a.t.match(ny)&&(s+=' xml:space="preserve"'),s+=">"+_m(a.t)+"</t>"),s+="</si>",r[r.length]=s}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}var sy=function(e,t){var r=!1;return null==t&&(r=!0,t=Zg(15+4*e.t.length)),t.write_shift(1,0),kv(e.t,t),r?t.slice(0,t.l):t};function oy(e){var t=Qg();ev(t,159,function(e,t){return t||(t=Zg(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var r=0;r<e.length;++r)ev(t,19,sy(e[r]));return ev(t,160),t.end()}function iy(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function ly(e,t){var r={};return r.Major=e.read_shift(2),r.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),r}function cy(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},a=e.read_shift(4),s=[];a-- >0;)s.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=s,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function hy(e){var t=function(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=ly(e,4),t.U=ly(e,4),t.W=ly(e,4),t}(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function fy(e,t){var r=e.l+t,n={};n.Flags=63&e.read_shift(4),e.l+=4,n.AlgID=e.read_shift(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=36==n.Flags;break;case 26625:a=4==n.Flags;break;case 0:a=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function uy(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function dy(e){if(36!=(63&e.read_shift(4)))throw new Error("EncryptionInfo mismatch");var t=e.read_shift(4);return{t:"Std",h:fy(e,t),v:uy(e,e.length-e.l)}}function py(){throw new Error("File is password-protected: ECMA-376 Extensible")}function my(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(pm,(function(e){var r=vm(e);switch(wm(r[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":t.forEach((function(e){n[e]=r[e]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"<keyEncryptor":n.uri=r.uri;break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function gy(e){var t,r,n=0,a=iy(e),s=a.length+1;for((t=Sd(s))[0]=a.length,r=1;r!=s;++r)t[r]=a[r-1];for(r=s-1;r>=0;--r)n=((16384&n?1:0)|n<<1&32767)^t[r];return 52811^n}var vy=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(e,t){return 255&((r=e^t)/2|128*r);var r};return function(a){for(var s,o,i,l=iy(a),c=function(e){for(var n=t[e.length-1],a=104,s=e.length-1;s>=0;--s)for(var o=e[s],i=0;7!=i;++i)64&o&&(n^=r[a]),o*=2,--a;return n}(l),h=l.length,f=Sd(16),u=0;16!=u;++u)f[u]=0;for(1&~h||(s=c>>8,f[h]=n(e[0],s),--h,s=255&c,o=l[l.length-1],f[h]=n(o,s));h>0;)s=c>>8,f[--h]=n(l[h],s),s=255&c,f[--h]=n(l[h],s);for(h=15,i=15-l.length;i>0;)s=c>>8,f[h]=n(e[i],s),--i,s=255&c,f[--h]=n(l[h],s),--h,--i;return f}}(),wy=function(e){var t=0,r=vy(e);return function(e){var n=function(e,t,r,n,a){var s,o;for(a||(a=t),n||(n=vy(e)),s=0;s!=t.length;++s)o=t[s],o=255&((o^=n[r])>>5|o<<3),a[s]=o,++r;return[a,r,n]}("",e,t,r);return t=n[1],n[0]}};function by(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,1===n.Info?n.Data=function(e){var t={},r=t.EncryptionVersionInfo=ly(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}(e):n.Data=function(e,t){var r={},n=r.EncryptionVersionInfo=ly(e,4);if(t-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var a=e.read_shift(4);return t-=4,r.EncryptionHeader=fy(e,a),t-=a,r.EncryptionVerifier=uy(e,t),r}(e,t),n}var yy=function(){function e(e,r){switch(r.type){case"base64":return t(xd(e),r);case"binary":return t(e,r);case"buffer":return t(_d&&Buffer.isBuffer(e)?e.toString("binary"):Bd(e),r);case"array":return t(Gp(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);for(var n,s=/\\\w+\b/g,o=0,i=-1;n=s.exec(e);){if("\\cell"===n[0]){var l=e.slice(o,s.lastIndex-n[0].length);if(" "==l[0]&&(l=l.slice(1)),++i,l.length){var c={v:l,t:"s"};Array.isArray(r)?r[t][i]=c:r[hv({r:t,c:i})]=c}}o=s.lastIndex}i>a.e.c&&(a.e.c=i)})),r["!ref"]=uv(a),r}return{to_workbook:function(t,r){return gv(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=dv(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){r.push("\\trowd\\trautofit1");for(var o=n.s.c;o<=n.e.c;++o)r.push("\\cellx"+(o+1));for(r.push("\\pard\\intbl"),o=n.s.c;o<=n.e.c;++o){var i=hv({r:s,c:o});(t=a?(e[s]||[])[o]:e[i])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(mv(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ky(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function Ey(e,t){if(0===t)return e;var r,n,a=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),s=Math.min(t,r,n),o=a-s;if(0===o)return[0,0,t];var i,l=0,c=a+s;switch(i=o/(c>1?2-c:c),a){case t:l=((r-n)/o+6)%6;break;case r:l=(n-t)/o+2;break;case n:l=(t-r)/o+4}return[l/6,i,c/2]}((n=(r=e).slice("#"===r[0]?1:0).slice(0,6),[parseInt(n.slice(0,2),16),parseInt(n.slice(2,4),16),parseInt(n.slice(4,6),16)]));return a[2]=t<0?a[2]*(1+t):1-(1-a[2])*(1-t),ky(function(e){var t,r=e[0],n=e[1],a=e[2],s=2*n*(a<.5?a:1-a),o=a-s/2,i=[o,o,o],l=6*r;if(0!==n)switch(0|l){case 0:case 6:t=s*l,i[0]+=s,i[1]+=t;break;case 1:t=s*(2-l),i[0]+=t,i[1]+=s;break;case 2:t=s*(l-2),i[1]+=s,i[2]+=t;break;case 3:t=s*(4-l),i[1]+=t,i[2]+=s;break;case 4:t=s*(l-4),i[2]+=s,i[0]+=t;break;case 5:t=s*(6-l),i[2]+=t,i[0]+=s}for(var c=0;3!=c;++c)i[c]=Math.round(255*i[c]);return i}(a))}var xy=6;function _y(e){return Math.floor((e+Math.round(128/xy)/256)*xy)}function Cy(e){return Math.floor((e-5)/xy*100+.5)/100}function Sy(e){return Math.round((e*xy+5)/xy*256)/256}function Ty(e){return Sy(Cy(_y(e)))}function Ay(e){var t=Math.abs(e-Ty(e)),r=xy;if(t>.005)for(xy=1;xy<15;++xy)Math.abs(e-Ty(e))<=t&&(t=Math.abs(e-Ty(e)),r=xy);xy=r}function Ny(e){e.width?(e.wpx=_y(e.width),e.wch=Cy(e.wpx),e.MDW=xy):e.wpx?(e.wch=Cy(e.wpx),e.width=Sy(e.wch),e.MDW=xy):"number"==typeof e.wch&&(e.width=Sy(e.wch),e.wpx=_y(e.width),e.MDW=xy),e.customWidth&&delete e.customWidth}var By=96;function My(e){return 96*e/By}function Oy(e){return e*By/96}var Ry={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};var Iy=["numFmtId","fillId","fontId","borderId","xfId"],Dy=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Py=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(s,o,i){var l,c={};return s?((l=(s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,r){t.NumberFmt=[];for(var n=Op(jd),a=0;a<n.length;++a)t.NumberFmt[n[a]]=jd[n[a]];var s=e[0].match(pm);if(s)for(a=0;a<s.length;++a){var o=vm(s[a]);switch(wm(o[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var i=km(Im(o.formatCode)),l=parseInt(o.numFmtId,10);if(t.NumberFmt[l]=i,l>0){if(l>392){for(l=392;l>60&&null!=t.NumberFmt[l];--l);t.NumberFmt[l]=i}xp(i,l)}break;default:if(r.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}(l,c,i),(l=s.match(n))&&function(e,t,r,n){t.Fonts=[];var a={},s=!1;(e[0].match(pm)||[]).forEach((function(e){var o=vm(e);switch(wm(o[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":t.Fonts.push(a),a={};break;case"<name":o.val&&(a.name=Im(o.val));break;case"<b":a.bold=o.val?Nm(o.val):1;break;case"<b/>":a.bold=1;break;case"<i":a.italic=o.val?Nm(o.val):1;break;case"<i/>":a.italic=1;break;case"<u":switch(o.val){case"none":a.underline=0;break;case"single":a.underline=1;break;case"double":a.underline=2;break;case"singleAccounting":a.underline=33;break;case"doubleAccounting":a.underline=34}break;case"<u/>":a.underline=1;break;case"<strike":a.strike=o.val?Nm(o.val):1;break;case"<strike/>":a.strike=1;break;case"<outline":a.outline=o.val?Nm(o.val):1;break;case"<outline/>":a.outline=1;break;case"<shadow":a.shadow=o.val?Nm(o.val):1;break;case"<shadow/>":a.shadow=1;break;case"<condense":a.condense=o.val?Nm(o.val):1;break;case"<condense/>":a.condense=1;break;case"<extend":a.extend=o.val?Nm(o.val):1;break;case"<extend/>":a.extend=1;break;case"<sz":o.val&&(a.sz=+o.val);break;case"<vertAlign":o.val&&(a.vertAlign=o.val);break;case"<family":o.val&&(a.family=parseInt(o.val,10));break;case"<scheme":o.val&&(a.scheme=o.val);break;case"<charset":if("1"==o.val)break;o.codepage=fd[parseInt(o.val,10)];break;case"<color":if(a.color||(a.color={}),o.auto&&(a.color.auto=Nm(o.auto)),o.rgb)a.color.rgb=o.rgb.slice(-6);else if(o.indexed){a.color.index=parseInt(o.indexed,10);var i=Qv[a.color.index];81==a.color.index&&(i=Qv[1]),i||(i=Qv[1]),a.color.rgb=i[0].toString(16)+i[1].toString(16)+i[2].toString(16)}else o.theme&&(a.color.theme=parseInt(o.theme,10),o.tint&&(a.color.tint=parseFloat(o.tint)),o.theme&&r.themeElements&&r.themeElements.clrScheme&&(a.color.rgb=Ey(r.themeElements.clrScheme[a.color.theme].rgb,a.color.tint||0)));break;case"<AlternateContent":case"<ext":s=!0;break;case"</AlternateContent>":case"</ext>":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+o[0]+" in fonts")}}))}(l,c,o,i),(l=s.match(r))&&function(e,t,r,n){t.Fills=[];var a={},s=!1;(e[0].match(pm)||[]).forEach((function(e){var r=vm(e);switch(wm(r[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":a={},t.Fills.push(a);break;case"<gradientFill":case"</gradientFill>":t.Fills.push(a),a={};break;case"<patternFill":case"<patternFill>":r.patternType&&(a.patternType=r.patternType);break;case"<bgColor":a.bgColor||(a.bgColor={}),r.indexed&&(a.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(a.bgColor.theme=parseInt(r.theme,10)),r.tint&&(a.bgColor.tint=parseFloat(r.tint)),r.rgb&&(a.bgColor.rgb=r.rgb.slice(-6));break;case"<fgColor":a.fgColor||(a.fgColor={}),r.theme&&(a.fgColor.theme=parseInt(r.theme,10)),r.tint&&(a.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(a.fgColor.rgb=r.rgb.slice(-6));break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+r[0]+" in fills")}}))}(l,c,0,i),(l=s.match(a))&&function(e,t,r,n){t.Borders=[];var a={},s=!1;(e[0].match(pm)||[]).forEach((function(e){var r=vm(e);switch(wm(r[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":a={},r.diagonalUp&&(a.diagonalUp=Nm(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=Nm(r.diagonalDown)),t.Borders.push(a);break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(n&&n.WTF&&!s)throw new Error("unrecognized "+r[0]+" in borders")}}))}(l,c,0,i),(l=s.match(t))&&function(e,t,r){var n;t.CellXf=[];var a=!1;(e[0].match(pm)||[]).forEach((function(e){var s=vm(e),o=0;switch(wm(s[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(n=s)[0],o=0;o<Iy.length;++o)n[Iy[o]]&&(n[Iy[o]]=parseInt(n[Iy[o]],10));for(o=0;o<Dy.length;++o)n[Dy[o]]&&(n[Dy[o]]=Nm(n[Dy[o]]));if(t.NumberFmt&&n.numFmtId>392)for(o=392;o>60;--o)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[o]){n.numFmtId=o;break}t.CellXf.push(n);break;case"<alignment":case"<alignment/>":var i={};s.vertical&&(i.vertical=s.vertical),s.horizontal&&(i.horizontal=s.horizontal),null!=s.textRotation&&(i.textRotation=s.textRotation),s.indent&&(i.indent=s.indent),s.wrapText&&(i.wrapText=Nm(s.wrapText)),n.alignment=i;break;case"<AlternateContent":case"<ext":a=!0;break;case"</AlternateContent>":case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+s[0]+" in cellXfs")}}))}(l,c,i),c):c}}();function Fy(e,t){var r,n=[fm,$m("styleSheet",null,{xmlns:lg[0],"xmlns:vt":sg})];return e.SSF&&null!=(r=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=$m("numFmt",null,{numFmtId:n,formatCode:_m(e[n])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=$m("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=function(e){var t=[];return t[t.length]=$m("cellXfs",null),e.forEach((function(e){t[t.length]=$m("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=$m("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function Vy(e,t,r){r||(r=Zg(6+4*t.length)),r.write_shift(2,e),kv(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function zy(e,t){t||(t=Zg(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=Zg(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t.write_shift(1,r),t.write_shift(1,0)}(e,t),t.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),jv(e.color,t);return t.write_shift(1,2),kv(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Ly,Hy=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Uy=Yg;function Wy(e,t){t||(t=Zg(84)),Ly||(Ly=Ip(Hy));var r=Ly[e.patternType];null==r&&(r=40),t.write_shift(4,r);var n=0;if(40!=r)for(jv({auto:1},t),jv({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function jy(e,t,r){r||(r=Zg(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);return r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function $y(e,t){return t||(t=Zg(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var qy=Yg;function Gy(e){var t;ev(e,613,bv(1)),ev(e,46,(t||(t=Zg(51)),t.write_shift(1,0),$y(0,t),$y(0,t),$y(0,t),$y(0,t),$y(0,t),t.length>t.l?t.slice(0,t.l):t)),ev(e,614)}function Xy(e){var t,r;ev(e,619,bv(1)),ev(e,48,(t={xfId:0,name:"Normal"},r||(r=Zg(52)),r.write_shift(4,t.xfId),r.write_shift(2,1),r.write_shift(1,0),r.write_shift(1,0),Rv(t.name||"",r),r.length>r.l?r.slice(0,r.l):r)),ev(e,620)}function Ky(e){ev(e,508,function(e,t,r){var n=Zg(2052);return n.write_shift(4,e),Rv(t,n),Rv(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),ev(e,509)}function Yy(e,t){var r=Qg();return ev(r,278),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(ev(e,615,bv(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&ev(e,44,Vy(n,t[n]))})),ev(e,616))}}(r,e.SSF),function(e){ev(e,611,bv(1)),ev(e,43,zy({sz:12,color:{theme:1},name:"Calibri",family:2})),ev(e,612)}(r),function(e){ev(e,603,bv(2)),ev(e,45,Wy({patternType:"none"})),ev(e,45,Wy({patternType:"gray125"})),ev(e,604)}(r),Gy(r),function(e){ev(e,626,bv(1)),ev(e,47,jy({numFmtId:0},65535)),ev(e,627)}(r),function(e,t){ev(e,617,bv(t.length)),t.forEach((function(t){ev(e,47,jy(t,0))})),ev(e,618)}(r,t.cellXfs),Xy(r),function(e){ev(e,505,bv(0)),ev(e,506)}(r),Ky(r),ev(r,279),r.end()}var Zy=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Jy(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(pm)||[]).forEach((function(e){var a=vm(e);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"<a:sysClr":n.rgb=a.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Zy.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}}))}function Qy(){}function ek(){}var tk=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,rk=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,nk=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var ak=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function sk(e,t){var r;e&&0!==e.length||(e=ok());var n={};if(!(r=e.match(ak)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",tk,Jy],["fontScheme",rk,Qy],["fmtScheme",nk,ek]].forEach((function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)}))}(r[0],n,t),n.raw=e,n}function ok(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[fm];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function ik(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Yg(e,t)}(e,4);break;case 2:t.xclrValue=ob(e);break;case 3:t.xclrValue=function(e){return e.read_shift(4)}(e)}return e.l+=8,t}function lk(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=ik(e);break;case 6:n[1]=function(e,t){return Yg(e,t)}(e,r);break;case 14:case 15:n[1]=e.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function ck(){var e,t,r=Qg();return ev(r,332),ev(r,334,bv(1)),ev(r,335,((t=Zg(12+2*(e={name:"XLDAPR",version:12e4,flags:3496657072}).name.length)).write_shift(4,e.flags),t.write_shift(4,e.version),kv(e.name,t),t.slice(0,t.l))),ev(r,336),ev(r,339,function(e,t){var r=Zg(8+2*t.length);return r.write_shift(4,e),kv(t,r),r.slice(0,r.l)}(1,"XLDAPR")),ev(r,52),ev(r,35,bv(514)),ev(r,4096,bv(0)),ev(r,4097,qw(1)),ev(r,36),ev(r,53),ev(r,340),ev(r,337,function(e){var t=Zg(8);return t.write_shift(4,e),t.write_shift(4,1),t}(1)),ev(r,51,function(e){var t=Zg(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}([[1,0]])),ev(r,338),ev(r,333),r.end()}function hk(){var e=[fm];return e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),e.join("")}var fk=1024;function uk(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[$m("xml",null,{"xmlns:v":pg,"xmlns:o":cg,"xmlns:x":hg,"xmlns:mv":dg}).replace(/\/>/,">"),$m("o:shapelayout",$m("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),$m("v:shapetype",[$m("v:stroke",null,{joinstyle:"miter"}),$m("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];fk<1e3*e;)fk+=1e3;return t.forEach((function(e){var t=cv(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?$m("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=$m("v:fill",n,r);++fk,a=a.concat(["<v:shape"+jm({id:"_x0000_s"+fk,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,$m("v:shadow",null,{on:"t",obscured:"t"}),$m("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Wm("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Wm("x:AutoFill","False"),Wm("x:Row",String(t.r)),Wm("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),a.push("</xml>"),a.join("")}function dk(e,t,r,n){var a,s=Array.isArray(e);t.forEach((function(t){var o=cv(t.ref);if(s?(e[o.r]||(e[o.r]=[]),a=e[o.r][o.c]):a=e[t.ref],!a){a={t:"z"},s?e[o.r][o.c]=a:e[t.ref]=a;var i=dv(e["!ref"]||"BDWGO1000001:A1");i.s.r>o.r&&(i.s.r=o.r),i.e.r<o.r&&(i.e.r=o.r),i.s.c>o.c&&(i.s.c=o.c),i.e.c<o.c&&(i.e.c=o.c);var l=uv(i);l!==e["!ref"]&&(e["!ref"]=l)}a.c||(a.c=[]);var c={a:t.author,t:t.t,r:t.r,T:r};t.h&&(c.h=t.h);for(var h=a.c.length-1;h>=0;--h){if(!r&&a.c[h].T)return;r&&!a.c[h].T&&a.c.splice(h,1)}if(r&&n)for(h=0;h<n.length;++h)if(c.a==n[h].id){c.a=n[h].name||c.a;break}a.c.push(c)}))}function pk(e){var t=[fm,$m("comments",null,{xmlns:lg[0]})],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var n=_m(e.a);-1==r.indexOf(n)&&(r.push(n),t.push("<author>"+n+"</author>")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("<author>tc="+e.ID+"</author>"))}))})),0==r.length&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(n=r.indexOf(_m(e.a))),a.push(e.t||"")})),t.push('<comment ref="'+e[0]+'" authorId="'+n+'"><text>'),a.length<=1)t.push(Wm("t",_m(a[0]||"")));else{for(var s="Comment:\n "+a[0]+"\n",o=1;o<a.length;++o)s+="Reply:\n "+a[o]+"\n";t.push(Wm("t",_m(s)))}t.push("</text></comment>")})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function mk(e,t,r){var n=[fm,$m("ThreadedComments",null,{xmlns:eg}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(s,o){if(s.T){s.a&&-1==t.indexOf(s.a)&&t.push(s.a);var i={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==o?a=i.id:i.parentId=a,s.ID=i.id,s.a&&(i.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push($m("threadedComment",Wm("text",s.t||""),i))}else delete s.ID}))})),n.push("</ThreadedComments>"),n.join("")}var gk=yv;function vk(e){var t=Qg(),r=[];return ev(t,628),ev(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),ev(t,632,function(e){return kv(e.slice(0,54))}(e.a)))}))})),ev(t,631),ev(t,633),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:cv(e[0]),e:cv(e[0])};ev(t,635,function(e,t){return null==t&&(t=Zg(36)),t.write_shift(4,e[1].iauthor),Hv(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}([a,n])),n.t&&n.t.length>0&&ev(t,637,Cv(n)),ev(t,636),delete n.iauthor}))})),ev(t,634),ev(t,629),t.end()}var wk=["xlsb","xlsm","xlam","biff8","xla"];var bk=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var s=!1,o=!1;0==n.length?o=!0:"["==n.charAt(0)&&(o=!0,n=n.slice(1,-1)),0==a.length?s=!0:"["==a.charAt(0)&&(s=!0,a=a.slice(1,-1));var i=n.length>0?0|parseInt(n,10):0,l=a.length>0?0|parseInt(a,10):0;return s?l+=t.c:--l,o?i+=t.r:--i,r+(s?"":"$")+lv(l)+(o?"":"$")+ov(i)}return function(n,a){return t=a,n.replace(e,r)}}(),yk=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,kk=function(){return function(e,t){return e.replace(yk,(function(e,r,n,a,s,o){var i=iv(a)-(n?0:t.c),l=sv(o)-(s?0:t.r);return r+"R"+(0==l?"":s?l+1:"["+l+"]")+"C"+(0==i?"":n?i+1:"["+i+"]")}))}}();function Ek(e,t){return e.replace(yk,(function(e,r,n,a,s,o){return r+("$"==n?n+a:lv(iv(a)+t.c))+("$"==s?s+o:ov(sv(o)+t.r))}))}function xk(e,t,r){var n=fv(t).s,a=cv(r);return Ek(e,{r:a.r-n.r,c:a.c-n.c})}function _k(e){return e.replace(/_xlfn\./g,"")}function Ck(e){e.l+=1}function Sk(e,t){var r=e.read_shift(2);return[16383&r,r>>14&1,r>>15&1]}function Tk(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Ak(e);12==r.biff&&(n=4)}var a=e.read_shift(n),s=e.read_shift(n),o=Sk(e),i=Sk(e);return{s:{r:a,c:o[0],cRel:o[1],rRel:o[2]},e:{r:s,c:i[0],cRel:i[1],rRel:i[2]}}}function Ak(e){var t=Sk(e),r=Sk(e),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function Nk(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=Sk(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e.read_shift(r&&12==r.biff?4:2),a=Sk(e);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Bk(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Mk(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function Ok(e){return[e.read_shift(1),e.read_shift(1)]}function Rk(e,t){var r=[e.read_shift(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Ww(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=ew[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Uv(e);break;case 2:r[1]=eb(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Ik(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),a=[],s=0;s!=n;++s)a.push((12==r.biff?Lv:ub)(e));return a}function Dk(e,t,r){var n=0,a=0;12==r.biff?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var s=0,o=[];s!=n&&(o[s]=[]);++s)for(var i=0;i!=a;++i)o[s][i]=Rk(e,r.biff);return o}function Pk(e,t,r){return e.l+=2,[Bk(e)]}function Fk(e){return e.l+=6,[]}function Vk(e){return e.l+=2,[$w(e),1&e.read_shift(2)]}var zk=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Lk={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Yg},3:{n:"PtgAdd",f:Ck},4:{n:"PtgSub",f:Ck},5:{n:"PtgMul",f:Ck},6:{n:"PtgDiv",f:Ck},7:{n:"PtgPower",f:Ck},8:{n:"PtgConcat",f:Ck},9:{n:"PtgLt",f:Ck},10:{n:"PtgLe",f:Ck},11:{n:"PtgEq",f:Ck},12:{n:"PtgGe",f:Ck},13:{n:"PtgGt",f:Ck},14:{n:"PtgNe",f:Ck},15:{n:"PtgIsect",f:Ck},16:{n:"PtgUnion",f:Ck},17:{n:"PtgRange",f:Ck},18:{n:"PtgUplus",f:Ck},19:{n:"PtgUminus",f:Ck},20:{n:"PtgPercent",f:Ck},21:{n:"PtgParen",f:Ck},22:{n:"PtgMissArg",f:Ck},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Kw(e,0,r)}},26:{n:"PtgSheet",f:function(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,ew[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,Uv(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[lE[a],iE[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e.read_shift(1),s=r&&r.biff<=3?[88==n?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[a,(0===s[0]?iE:oE)[s[1]]]}},35:{n:"PtgName",f:function(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,s=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,s]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,Nk(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,Tk(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Yg},40:{n:"PtgMemNoMem",f:Yg},41:{n:"PtgMemFunc",f:function(e,t,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}(e);var a=e.read_shift(n>=12?4:2),s=e.read_shift(2),o=(16384&s)>>14,i=(32768&s)>>15;if(s&=16383,1==i)for(;a>524287;)a-=1048576;if(1==o)for(;s>8191;)s-=16384;return{r:a,c:s,cRel:o,rRel:i}}(e,0,r);return[n,a]}},45:{n:"PtgAreaN",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=function(e,t,r){if(r.biff<8)return Ak(e);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),s=Sk(e),o=Sk(e);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}(e,0,r);return[n,a]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,r){return 5==r.biff?function(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[n,a,Nk(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(r)switch(r.biff){case 5:e.l+=12;break;case 12:0}return[n,a,Tk(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6}return e.l+=s,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12}return e.l+=s,[n,a]}},255:{}},Hk={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Uk={1:{n:"PtgElfLel",f:Vk},2:{n:"PtgElfRw",f:Pk},3:{n:"PtgElfCol",f:Pk},6:{n:"PtgElfRwV",f:Pk},7:{n:"PtgElfColV",f:Pk},10:{n:"PtgElfRadical",f:Pk},11:{n:"PtgElfRadicalS",f:Fk},13:{n:"PtgElfColS",f:Fk},15:{n:"PtgElfColSV",f:Fk},16:{n:"PtgElfRadicalLel",f:Vk},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),s=e.read_shift(2);return{ixti:t,coltype:3&r,rt:zk[r>>2&31],idx:n,c:a,C:s}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},Wk={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),a=[],s=0;s<=n;++s)a.push(e.read_shift(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Mk},33:{n:"PtgAttrBaxcel",f:Mk},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),Ok(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),Ok(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function jk(e,t,r,n){if(n.biff<8)return Yg(e,t);for(var a=e.l+t,s=[],o=0;o!==r.length;++o)switch(r[o][0]){case"PtgArray":r[o][1]=Dk(e,0,n),s.push(r[o][1]);break;case"PtgMemArea":r[o][2]=Ik(e,r[o][1],n),s.push(r[o][2]);break;case"PtgExp":n&&12==n.biff&&(r[o][1][1]=e.read_shift(4),s.push(r[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[o][0]}return 0!==(t=a-e.l)&&s.push(Yg(e,t)),s}function $k(e,t,r){for(var n,a,s=e.l+t,o=[];s!=e.l;)t=s-e.l,a=e[e.l],n=Lk[a]||Lk[Hk[a]],24!==a&&25!==a||(n=(24===a?Uk:Wk)[e[e.l+1]]),n&&n.f?o.push([n.n,n.f(e,t,r)]):Yg(e,t);return o}function qk(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],s=0;s<n.length;++s){var o=n[s];if(o)if(2===o[0])a.push('"'+o[1].replace(/"/g,'""')+'"');else a.push(o[1]);else a.push("")}t.push(a.join(","))}return t.join(";")}var Gk={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Xk(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Kk(e,t,r){var n=Xk(e,t,r);return"#REF"==n?n:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(n,r)}function Yk(e,t,r,n,a){var s,o,i,l,c=a&&a.biff||8,h={s:{c:0,r:0}},f=[],u=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,w=e[0].length;v<w;++v){var b=e[0][v];switch(b[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(s=f.pop(),o=f.pop(),m>=0){switch(e[0][m][1][0]){case 0:g=Kp(" ",e[0][m][1][1]);break;case 1:g=Kp("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}o+=g,m=-1}f.push(o+Gk[b[0]]+s);break;case"PtgIsect":s=f.pop(),o=f.pop(),f.push(o+" "+s);break;case"PtgUnion":s=f.pop(),o=f.pop(),f.push(o+","+s);break;case"PtgRange":s=f.pop(),o=f.pop(),f.push(o+":"+s);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":i=tv(b[1][1],h,a),f.push(nv(i,c));break;case"PtgRefN":i=r?tv(b[1][1],r,a):b[1][1],f.push(nv(i,c));break;case"PtgRef3d":u=b[1][1],i=tv(b[1][2],h,a),p=Kk(n,u,a),f.push(p+"!"+nv(i,c));break;case"PtgFunc":case"PtgFuncVar":var y=b[1][0],k=b[1][1];y||(y=0);var E=0==(y&=127)?[]:f.slice(-y);f.length-=y,"User"===k&&(k=E.shift()),f.push(k+"("+E.join(",")+")");break;case"PtgBool":f.push(b[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":f.push(b[1]);break;case"PtgNum":f.push(String(b[1]));break;case"PtgStr":f.push('"'+b[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":l=rv(b[1][1],r?{s:r}:h,a),f.push(av(l,a));break;case"PtgArea":l=rv(b[1][1],h,a),f.push(av(l,a));break;case"PtgArea3d":u=b[1][1],l=b[1][2],p=Kk(n,u,a),f.push(p+"!"+av(l,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":d=b[1][2];var x=(n.names||[])[d-1]||(n[0]||[])[d],_=x?x.Name:"SH33TJSNAME"+String(d);_&&"_xlfn."==_.slice(0,6)&&!a.xlfn&&(_=_.slice(6)),f.push(_);break;case"PtgNameX":var C,S=b[1][1];if(d=b[1][2],!(a.biff<=5)){var T="";if(14849==((n[S]||[])[0]||[])[0]||(1025==((n[S]||[])[0]||[])[0]?n[S][d]&&n[S][d].itab>0&&(T=n.SheetNames[n[S][d].itab-1]+"!"):T=n.SheetNames[d-1]+"!"),n[S]&&n[S][d])T+=n[S][d].Name;else if(n[0]&&n[0][d])T+=n[0][d].Name;else{var A=(Xk(n,S,a)||"").split(";;");A[d-1]?T=A[d-1]:T+="SH33TJSERRX"}f.push(T);break}S<0&&(S=-S),n[S]&&(C=n[S][d]),C||(C={Name:"SH33TJSERRY"}),f.push(C.Name);break;case"PtgParen":var N="(",B=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:N=Kp(" ",e[0][m][1][1])+N;break;case 3:N=Kp("\r",e[0][m][1][1])+N;break;case 4:B=Kp(" ",e[0][m][1][1])+B;break;case 5:B=Kp("\r",e[0][m][1][1])+B;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}f.push(N+f.pop()+B);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgExp":i={c:b[1][1],r:b[1][0]};var M={c:r.c,r:r.r};if(n.sharedf[hv(i)]){var O=n.sharedf[hv(i)];f.push(Yk(O,h,M,n,a))}else{var R=!1;for(s=0;s!=n.arrayf.length;++s)if(o=n.arrayf[s],!(i.c<o[0].s.c||i.c>o[0].e.c||i.r<o[0].s.r||i.r>o[0].e.r)){f.push(Yk(o[1],h,M,n,a)),R=!0;break}R||f.push(b[1])}break;case"PtgArray":f.push("{"+qk(b[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgMissArg":f.push("");break;case"PtgList":f.push("Table"+b[1].idx+"[#"+b[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(b))}if(3!=a.biff&&m>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var I=!0;switch((b=e[0][m])[1][0]){case 4:I=!1;case 0:g=Kp(" ",b[1][1]);break;case 5:I=!1;case 1:g=Kp("\r",b[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[1][0])}f.push((I?g:"")+f.pop()+(I?"":g)),m=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function Zk(e,t,r){var n,a=e.l+t,s=2==r.biff?1:2,o=e.read_shift(s);if(65535==o)return[[],Yg(e,t-2)];var i=$k(e,o,r);return t!==o+s&&(n=jk(e,t-o-s,i,r)),e.l=a,[i,n]}function Jk(e,t,r){var n,a=e.l+t,s=e.read_shift(2),o=$k(e,s,r);return 65535==s?[[],Yg(e,t-2)]:(t!==s+2&&(n=jk(e,a-s-2,o,r)),[o,n])}function Qk(e,t,r){var n=e.l+t,a=lb(e);2==r.biff&&++e.l;var s=function(e){var t;if(65535!==Vg(e,e.l+6))return[Uv(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),o=e.read_shift(1);2!=r.biff&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var i=function(e,t,r){var n,a=e.l+t,s=2==r.biff?1:2,o=e.read_shift(s);if(65535==o)return[[],Yg(e,t-2)];var i=$k(e,o,r);return t!==o+s&&(n=jk(e,t-o-s,i,r)),e.l=a,[i,n]}(e,n-e.l,r);return{cell:a,val:s[0],formula:i,shared:o>>3&1,tt:s[1]}}function eE(e,t,r,n,a){var s=cb(t,r,a),o=function(e){if(null==e){var t=Zg(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return Wv("number"==typeof e?e:0)}(e.v),i=Zg(6);i.write_shift(2,33),i.write_shift(4,0);for(var l=Zg(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];return Od([s,o,i,l])}function tE(e,t,r){var n=e.read_shift(4),a=$k(e,n,r),s=e.read_shift(4);return[a,s>0?jk(e,s,a,r):null]}var rE=tE,nE=tE,aE=tE,sE=tE,oE={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},iE={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},lE={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function cE(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")}))).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function hE(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var fE={},uE={},dE="undefined"!=typeof Map;function pE(e,t,r){var n=0,a=e.length;if(r){if(dE?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var s=dE?r.get(t):r[t];n<s.length;++n)if(e[s[n]].t===t)return e.Count++,s[n]}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t:t},e.Count++,e.Unique++,r&&(dE?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function mE(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(xy=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?n=Cy(t.wpx):null!=t.wch&&(n=t.wch),n>-1?(r.width=Sy(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function gE(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function vE(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,s=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){xp(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=s;++a)if(e[a].numFmtId===n)return a;return e[s]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function wE(e,t,r,n,a,s){try{n.cellNF&&(e.z=jd[t])}catch(i){if(n.WTF)throw i}if("z"!==e.t||n.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=qp(e.v)),(!n||!1!==n.cellText)&&"z"!==e.t)try{if(null==jd[t]&&xp(Sp[t]||"General",t),"e"===e.t)e.w=e.w||ew[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=ep(e.v);else if("d"===e.t){var o=Fp(e.v);e.w=(0|o)===o?o.toString(10):ep(o)}else{if(void 0===e.v)return"";e.w=tp(e.v,uE)}else"d"===e.t?e.w=Ep(t,Fp(e.v),uE):e.w=Ep(t,e.v,uE)}catch(i){if(n.WTF)throw i}if(n.cellStyles&&null!=r)try{e.s=s.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Ey(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Ey(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(i){if(n.WTF&&s.Fills)throw i}}}function bE(e,t,r){if(e&&e["!ref"]){var n=dv(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}var yE=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,kE=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,EE=/<(?:\w:)?hyperlink [^>]*>/gm,xE=/"(\w*:\w*)"/,_E=/<(?:\w:)?col\b[^>]*[\/]?>/g,CE=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,SE=/<(?:\w:)?pageMargins[^>]*\/>/g,TE=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,AE=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,NE=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function BE(e,t,r,n,a,s,o){if(!e)return e;n||(n={"!id":{}});var i=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",h="",f=e.match(kE);f?(c=e.slice(0,f.index),h=e.slice(f.index+f[0].length)):c=h=e;var u=c.match(TE);u?ME(u[0],i,a,r):(u=c.match(AE))&&function(e,t,r,n,a){ME(e.slice(0,e.indexOf(">")),r,n,a)}(u[0],u[1],i,a,r);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(xE);p&&function(e,t){var r=dv(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=uv(r))}(i,p[1])}var m=c.match(NE);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(IE)||[]).forEach((function(e,r){var n=vm(e);t.Views[r]||(t.Views[r]={}),+n.zoomScale&&(t.Views[r].zoom=+n.zoomScale),Nm(n.rightToLeft)&&(t.Views[r].RTL=!0)}))}(m[1],a);var g=[];if(t.cellStyles){var v=c.match(_E);v&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=vm(t[n],!0);a.hidden&&(a.hidden=Nm(a.hidden));var s=parseInt(a.min,10)-1,o=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,Ay(a.width)),Ny(a);s<=o;)e[s++]=Xp(a)}}(g,v)}f&&PE(f[1],i,t,l,s,o);var w=h.match(CE);w&&(i["!autofilter"]=function(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}(w[0]));var b=[],y=h.match(yE);if(y)for(d=0;d!=y.length;++d)b[d]=dv(y[d].slice(y[d].indexOf('"')+1));var k=h.match(EE);k&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var s=vm(Im(t[a]),!0);if(!s.ref)return;var o=((r||{})["!id"]||[])[s.id];o?(s.Target=o.Target,s.location&&(s.Target+="#"+km(s.location))):(s.Target="#"+km(s.location),o={Target:s.Target,TargetMode:"Internal"}),s.Rel=o,s.tooltip&&(s.Tooltip=s.tooltip,delete s.tooltip);for(var i=dv(s.ref),l=i.s.r;l<=i.e.r;++l)for(var c=i.s.c;c<=i.e.c;++c){var h=hv({c:c,r:l});n?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=s):(e[h]||(e[h]={t:"z",v:void 0}),e[h].l=s)}}}(i,k,n);var E,x,_=h.match(SE);if(_&&(i["!margins"]=(E=vm(_[0]),x={},["left","right","top","bottom","header","footer"].forEach((function(e){E[e]&&(x[e]=parseFloat(E[e]))})),x)),!i["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(i["!ref"]=uv(l)),t.sheetRows>0&&i["!ref"]){var C=dv(i["!ref"]);t.sheetRows<=+C.e.r&&(C.e.r=t.sheetRows-1,C.e.r>l.e.r&&(C.e.r=l.e.r),C.e.r<C.s.r&&(C.s.r=C.e.r),C.e.c>l.e.c&&(C.e.c=l.e.c),C.e.c<C.s.c&&(C.s.c=C.e.c),i["!fullref"]=i["!ref"],i["!ref"]=uv(C))}return g.length>0&&(i["!cols"]=g),b.length>0&&(i["!merges"]=b),i}function ME(e,t,r,n){var a=vm(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=km(Im(a.codeName)))}var OE=["objects","scenarios","selectLockedCells","selectUnlockedCells"],RE=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var IE=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function DE(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!=typeof e.f||"z"===e.t&&!e.f)return"";var a="",s=e.t,o=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=ew[e.v];break;case"d":n&&n.cellDates?a=qp(e.v,-1).toISOString():((e=Xp(e)).t="n",a=""+(e.v=Fp(qp(e.v)))),void 0===e.z&&(e.z=jd[14]);break;default:a=e.v}var i=Wm("v",_m(a)),l={r:t},c=vE(n.cellXfs,e,n);switch(0!==c&&(l.s=c),e.t){case"n":case"z":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){i=Wm("v",""+pE(n.Strings,e.v,n.revStrings)),l.t="s";break}l.t="str"}if(e.t!=s&&(e.t=s,e.v=o),"string"==typeof e.f&&e.f){var h=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;i=$m("f",_m(e.f),h)+(null!=e.v?i:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(l.cm=1),$m("c",i,l)}var PE=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,s=Pm("v"),o=Pm("f");return function(i,l,c,h,f,u){for(var d,p,m,g,v,w=0,b="",y=[],k=[],E=0,x=0,_=0,C="",S=0,T=0,A=0,N=0,B=Array.isArray(u.CellXf),M=[],O=[],R=Array.isArray(l),I=[],D={},P=!1,F=!!c.sheetStubs,V=i.split(t),z=0,L=V.length;z!=L;++z){var H=(b=V[z].trim()).length;if(0!==H){var U=0;e:for(w=0;w<H;++w)switch(b[w]){case">":if("/"!=b[w-1]){++w;break e}if(c&&c.cellStyles){if(S=null!=(p=vm(b.slice(U,w),!0)).r?parseInt(p.r,10):S+1,T=-1,c.sheetRows&&c.sheetRows<S)continue;D={},P=!1,p.ht&&(P=!0,D.hpt=parseFloat(p.ht),D.hpx=Oy(D.hpt)),"1"==p.hidden&&(P=!0,D.hidden=!0),null!=p.outlineLevel&&(P=!0,D.level=+p.outlineLevel),P&&(I[S-1]=D)}break;case"<":U=w}if(U>=w)break;if(S=null!=(p=vm(b.slice(U,w),!0)).r?parseInt(p.r,10):S+1,T=-1,!(c.sheetRows&&c.sheetRows<S)){h.s.r>S-1&&(h.s.r=S-1),h.e.r<S-1&&(h.e.r=S-1),c&&c.cellStyles&&(D={},P=!1,p.ht&&(P=!0,D.hpt=parseFloat(p.ht),D.hpx=Oy(D.hpt)),"1"==p.hidden&&(P=!0,D.hidden=!0),null!=p.outlineLevel&&(P=!0,D.level=+p.outlineLevel),P&&(I[S-1]=D)),y=b.slice(w).split(e);for(var W=0;W!=y.length&&"<"==y[W].trim().charAt(0);++W);for(y=y.slice(W),w=0;w!=y.length;++w)if(0!==(b=y[w].trim()).length){if(k=b.match(r),E=w,x=0,_=0,b="<c "+("<"==b.slice(0,1)?">":"")+b,null!=k&&2===k.length){for(E=0,C=k[1],x=0;x!=C.length&&!((_=C.charCodeAt(x)-64)<1||_>26);++x)E=26*E+_;T=--E}else++T;for(x=0;x!=b.length&&62!==b.charCodeAt(x);++x);if(++x,(p=vm(b.slice(0,x),!0)).r||(p.r=hv({r:S-1,c:T})),d={t:""},null!=(k=(C=b.slice(x)).match(s))&&""!==k[1]&&(d.v=km(k[1])),c.cellFormula){if(null!=(k=C.match(o))&&""!==k[1]){if(d.f=km(Im(k[1])).replace(/\r\n/g,"\n"),c.xlfn||(d.f=_k(d.f)),k[0].indexOf('t="array"')>-1)d.F=(C.match(a)||[])[1],d.F.indexOf(":")>-1&&M.push([dv(d.F),d.F]);else if(k[0].indexOf('t="shared"')>-1){g=vm(k[0]);var j=km(Im(k[1]));c.xlfn||(j=_k(j)),O[parseInt(g.si,10)]=[g,j,p.r]}}else(k=C.match(/<f[^>]*\/>/))&&O[(g=vm(k[0])).si]&&(d.f=xk(O[g.si][1],O[g.si][2],p.r));var $=cv(p.r);for(x=0;x<M.length;++x)$.r>=M[x][0].s.r&&$.r<=M[x][0].e.r&&$.c>=M[x][0].s.c&&$.c<=M[x][0].e.c&&(d.F=M[x][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!F)continue;d.t="z"}else d.t=p.t||"n";switch(h.s.c>T&&(h.s.c=T),h.e.c<T&&(h.e.c=T),d.t){case"n":if(""==d.v||null==d.v){if(!F)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!F)continue;d.t="z"}else m=fE[parseInt(d.v,10)],d.v=m.t,d.r=m.r,c.cellHTML&&(d.h=m.h);break;case"str":d.t="s",d.v=null!=d.v?Im(d.v):"",c.cellHTML&&(d.h=Tm(d.v));break;case"inlineStr":k=C.match(n),d.t="s",null!=k&&(m=Qb(k[1]))?(d.v=m.t,c.cellHTML&&(d.h=m.h)):d.v="";break;case"b":d.v=Nm(d.v);break;case"d":c.cellDates?d.v=qp(d.v,1):(d.v=Fp(qp(d.v,1)),d.t="n");break;case"e":c&&!1===c.cellText||(d.w=d.v),d.v=tw[d.v]}if(A=N=0,v=null,B&&void 0!==p.s&&null!=(v=u.CellXf[p.s])&&(null!=v.numFmtId&&(A=v.numFmtId),c.cellStyles&&null!=v.fillId&&(N=v.fillId)),wE(d,A,N,c,f,u),c.cellDates&&B&&"n"==d.t&&wp(jd[A])&&(d.t="d",d.v=Hp(d.v)),p.cm&&c.xlmeta){var q=(c.xlmeta.Cell||[])[+p.cm-1];q&&"XLDAPR"==q.type&&(d.D=!0)}if(R){var G=cv(p.r);l[G.r]||(l[G.r]=[]),l[G.r][G.c]=d}else l[p.r]=d}}}}I.length>0&&(l["!rows"]=I)}}();function FE(e,t,r,n){var a,s=[fm,$m("worksheet",null,{xmlns:lg[0],"xmlns:r":ag})],o=r.SheetNames[e],i="",l=r.Sheets[o];null==l&&(l={});var c=l["!ref"]||"A1",h=dv(c);if(h.e.c>16383||h.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");h.e.c=Math.min(h.e.c,16383),h.e.r=Math.min(h.e.c,1048575),c=uv(h)}n||(n={}),l["!comments"]=[];var f=[];!function(e,t,r,n,a){var s=!1,o={},i=null;if("xlsx"!==n.bookType&&t.vbaraw){var l=t.SheetNames[r];try{t.Workbook&&(l=t.Workbook.Sheets[r].CodeName||l)}catch(h){}s=!0,o.codeName=Dm(_m(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),i=(i||"")+$m("outlinePr",null,c)}(s||i)&&(a[a.length]=$m("sheetPr",i,o))}(l,r,e,t,s),s[s.length]=$m("dimension",null,{ref:c}),s[s.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),$m("sheetViews",$m("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(s[s.length]=$m("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(s[s.length]=function(e,t){for(var r,n=["<cols>"],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=$m("col",null,mE(a,r)));return n[n.length]="</cols>",n.join("")}(0,l["!cols"])),s[a=s.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(i=function(e,t){var r,n,a=[],s=[],o=dv(e["!ref"]),i="",l="",c=[],h=0,f=0,u=e["!rows"],d=Array.isArray(e),p={r:l},m=-1;for(f=o.s.c;f<=o.e.c;++f)c[f]=lv(f);for(h=o.s.r;h<=o.e.r;++h){for(s=[],l=ov(h),f=o.s.c;f<=o.e.c;++f){r=c[f]+l;var g=d?(e[h]||[])[f]:e[r];void 0!==g&&null!=(i=DE(g,r,e,t))&&s.push(i)}(s.length>0||u&&u[h])&&(p={r:l},u&&u[h]&&((n=u[h]).hidden&&(p.hidden=1),m=-1,n.hpx?m=My(n.hpx):n.hpt&&(m=n.hpt),m>-1&&(p.ht=m,p.customHeight=1),n.level&&(p.outlineLevel=n.level)),a[a.length]=$m("row",s.join(""),p))}if(u)for(;h<u.length;++h)u&&u[h]&&(p={r:h+1},(n=u[h]).hidden&&(p.hidden=1),m=-1,n.hpx?m=My(n.hpx):n.hpt&&(m=n.hpt),m>-1&&(p.ht=m,p.customHeight=1),n.level&&(p.outlineLevel=n.level),a[a.length]=$m("row","",p));return a.join("")}(l,t),i.length>0&&(s[s.length]=i)),s.length>a+1&&(s[s.length]="</sheetData>",s[a]=s[a].replace("/>",">")),l["!protect"]&&(s[s.length]=function(e){var t={sheet:1};return OE.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),RE.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=gy(e.password).toString(16).toUpperCase()),$m("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(s[s.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:uv(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,o=fv(a);o.s.r==o.e.r&&(o.e.r=fv(t["!ref"]).e.r,a=uv(o));for(var i=0;i<s.length;++i){var l=s[i];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return i==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),$m("autoFilter",null,{ref:a})}(l["!autofilter"],l,r,e)),null!=l["!merges"]&&l["!merges"].length>0&&(s[s.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+uv(e[r])+'"/>';return t+"</mergeCells>"}(l["!merges"]));var u,d,p=-1,m=-1;return l["!links"].length>0&&(s[s.length]="<hyperlinks>",l["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(m=cw(n,-1,_m(e[1].Target).replace(/#.*$/,""),sw.HLINK),u["r:id"]="rId"+m),(p=e[1].Target.indexOf("#"))>-1&&(u.location=_m(e[1].Target.slice(p+1))),e[1].Tooltip&&(u.tooltip=_m(e[1].Tooltip)),s[s.length]=$m("hyperlink",null,u))})),s[s.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(s[s.length]=(gE(d=l["!margins"]),$m("pageMargins",null,d))),t&&!t.ignoreEC&&null!=t.ignoreEC||(s[s.length]=Wm("ignoredErrors",$m("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(m=cw(n,-1,"../drawings/drawing"+(e+1)+".xml",sw.DRAW),s[s.length]=$m("drawing",null,{"r:id":"rId"+m}),l["!drawing"]=f),l["!comments"].length>0&&(m=cw(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",sw.VML),s[s.length]=$m("legacyDrawing",null,{"r:id":"rId"+m}),l["!legacy"]=m),s.length>1&&(s[s.length]="</worksheet>",s[1]=s[1].replace("/>",">")),s.join("")}function VE(e,t,r,n){var a=function(e,t,r){var n=Zg(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var s=320;a.hpx?s=20*My(a.hpx):a.hpt&&(s=20*a.hpt),n.write_shift(2,s),n.write_shift(1,0);var o=0;a.level&&(o|=a.level),a.hidden&&(o|=16),(a.hpx||a.hpt)&&(o|=32),n.write_shift(1,o),n.write_shift(1,0);var i=0,l=n.l;n.l+=4;for(var c={r:e,c:0},h=0;h<16;++h)if(!(t.s.c>h+1<<10||t.e.c<h<<10)){for(var f=-1,u=-1,d=h<<10;d<h+1<<10;++d)c.c=d,(Array.isArray(r)?(r[c.r]||[])[c.c]:r[hv(c)])&&(f<0&&(f=d),u=d);f<0||(++i,n.write_shift(4,f),n.write_shift(4,u))}var p=n.l;return n.l=l,n.write_shift(4,i),n.l=p,n.length>n.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&ev(e,0,a)}var zE=Lv,LE=Hv;function HE(e){return[Av(e),Uv(e),"n"]}var UE=Lv,WE=Hv;var jE=["left","right","top","bottom","header","footer"];function $E(e,t,r,n,a,s,o){if(void 0===t.v)return!1;var i="";switch(t.t){case"b":i=t.v?"1":"0";break;case"d":(t=Xp(t)).z=t.z||jd[14],t.v=Fp(qp(t.v)),t.t="n";break;case"n":case"e":i=""+t.v;break;default:i=t.v}var l={r:r,c:n};switch(l.s=vE(a.cellXfs,t,a),t.l&&s["!links"].push([hv(l),t.l]),t.c&&s["!comments"].push([hv(l),t.c]),t.t){case"s":case"str":return a.bookSST?(i=pE(a.Strings,t.v,a.revStrings),l.t="s",l.v=i,o?ev(e,18,function(e,t,r){return null==r&&(r=Zg(8)),Nv(t,r),r.write_shift(4,t.v),r}(0,l)):ev(e,7,function(e,t,r){return null==r&&(r=Zg(12)),Tv(t,r),r.write_shift(4,t.v),r}(0,l))):(l.t="str",o?ev(e,17,function(e,t,r){return null==r&&(r=Zg(8+4*e.v.length)),Nv(t,r),kv(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,l)):ev(e,6,function(e,t,r){return null==r&&(r=Zg(12+4*e.v.length)),Tv(t,r),kv(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?o?ev(e,13,function(e,t,r){return null==r&&(r=Zg(8)),Nv(t,r),Vv(e.v,r),r}(t,l)):ev(e,2,function(e,t,r){return null==r&&(r=Zg(12)),Tv(t,r),Vv(e.v,r),r}(t,l)):o?ev(e,16,function(e,t,r){return null==r&&(r=Zg(12)),Nv(t,r),Wv(e.v,r),r}(t,l)):ev(e,5,function(e,t,r){return null==r&&(r=Zg(16)),Tv(t,r),Wv(e.v,r),r}(t,l)),!0;case"b":return l.t="b",o?ev(e,15,function(e,t,r){return null==r&&(r=Zg(5)),Nv(t,r),r.write_shift(1,e.v?1:0),r}(t,l)):ev(e,4,function(e,t,r){return null==r&&(r=Zg(9)),Tv(t,r),r.write_shift(1,e.v?1:0),r}(t,l)),!0;case"e":return l.t="e",o?ev(e,14,function(e,t,r){return null==r&&(r=Zg(8)),Nv(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}(t,l)):ev(e,3,function(e,t,r){return null==r&&(r=Zg(9)),Tv(t,r),r.write_shift(1,e.v),r}(t,l)),!0}return o?ev(e,12,function(e,t,r){return null==r&&(r=Zg(4)),Nv(t,r)}(0,l)):ev(e,1,function(e,t,r){return null==r&&(r=Zg(8)),Tv(t,r)}(0,l)),!0}function qE(e,t){var r,n;t&&t["!merges"]&&(ev(e,177,(r=t["!merges"].length,null==n&&(n=Zg(4)),n.write_shift(4,r),n)),t["!merges"].forEach((function(t){ev(e,176,WE(t))})),ev(e,178))}function GE(e,t){t&&t["!cols"]&&(ev(e,390),t["!cols"].forEach((function(t,r){t&&ev(e,60,function(e,t,r){null==r&&(r=Zg(18));var n=mE(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(n.width||10)),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}(r,t))})),ev(e,391))}function XE(e,t){var r,n;t&&t["!ref"]&&(ev(e,648),ev(e,649,(r=dv(t["!ref"]),(n=Zg(24)).write_shift(4,4),n.write_shift(4,1),Hv(r,n),n)),ev(e,650))}function KE(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=cw(r,-1,t[1].Target.replace(/#.*$/,""),sw.HLINK);ev(e,494,function(e,t){var r=Zg(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Hv({s:cv(e[0]),e:cv(e[0])},r),Pv("rId"+t,r);var n=e[1].Target.indexOf("#");return kv((-1==n?"":e[1].Target.slice(n+1))||"",r),kv(e[1].Tooltip||"",r),kv("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function YE(e,t,r){ev(e,133),ev(e,137,function(e,t,r){null==r&&(r=Zg(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}(0,r)),ev(e,138),ev(e,134)}function ZE(e,t){var r,n;t["!protect"]&&ev(e,535,(r=t["!protect"],null==n&&(n=Zg(66)),n.write_shift(2,r.password?gy(r.password):0),n.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(e){e[1]?n.write_shift(4,null==r[e[0]]||r[e[0]]?0:1):n.write_shift(4,null!=r[e[0]]&&r[e[0]]?0:1)})),n))}function JE(e,t,r,n){var a=Qg(),s=r.SheetNames[e],o=r.Sheets[s]||{},i=s;try{r&&r.Workbook&&(i=r.Workbook.Sheets[e].CodeName||i)}catch(f){}var l,c,h=dv(o["!ref"]||"A1");if(h.e.c>16383||h.e.r>1048575){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");h.e.c=Math.min(h.e.c,16383),h.e.r=Math.min(h.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],ev(a,129),(r.vbaraw||o["!outline"])&&ev(a,147,function(e,t,r){null==r&&(r=Zg(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return jv({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Mv(e,r),r.slice(0,r.l)}(i,o["!outline"])),ev(a,148,LE(h)),YE(a,0,r.Workbook),GE(a,o),function(e,t,r,n){var a,s=dv(t["!ref"]||"A1"),o="",i=[];ev(e,145);var l=Array.isArray(t),c=s.e.r;t["!rows"]&&(c=Math.max(s.e.r,t["!rows"].length-1));for(var h=s.s.r;h<=c;++h){o=ov(h),VE(e,t,s,h);var f=!1;if(h<=s.e.r)for(var u=s.s.c;u<=s.e.c;++u){h===s.s.r&&(i[u]=lv(u)),a=i[u]+o;var d=l?(t[h]||[])[u]:t[a];f=!!d&&$E(e,d,h,u,n,t,f)}}ev(e,146)}(a,o,0,t),ZE(a,o),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],s="string"==typeof a.ref?a.ref:uv(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,i=fv(s);i.s.r==i.e.r&&(i.e.r=fv(t["!ref"]).e.r,s=uv(i));for(var l=0;l<o.length;++l){var c=o[l];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+s;break}}l==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+s}),ev(e,161,Hv(dv(s))),ev(e,162)}}(a,o,r,e),qE(a,o),KE(a,o,n),o["!margins"]&&ev(a,476,(l=o["!margins"],null==c&&(c=Zg(48)),gE(l),jE.forEach((function(e){Wv(l[e],c)})),c)),t&&!t.ignoreEC&&null!=t.ignoreEC||XE(a,o),function(e,t,r,n){if(t["!comments"].length>0){var a=cw(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",sw.VML);ev(e,551,Pv("rId"+a)),t["!legacy"]=a}}(a,o,e,n),ev(a,130),a.end()}function QE(e,t,r,n,a,s){var o=s||{"!type":"chart"};if(!e)return s;var i=0,l=0,c="A",h={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,r=[],n=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])}));var a=km((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,a,t]}(e);h.s.r=h.s.c=0,h.e.c=i,c=lv(i),t[0].forEach((function(e,r){o[c+ov(r)]={t:"n",v:e,z:t[1]},l=r})),h.e.r<l&&(h.e.r=l),++i})),i>0&&(o["!ref"]=uv(h)),o}var ex=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],tx=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],rx=[],nx=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function ax(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var s=t[a];if(null==n[s[0]])n[s[0]]=s[1];else switch(s[2]){case"bool":"string"==typeof n[s[0]]&&(n[s[0]]=Nm(n[s[0]]));break;case"int":"string"==typeof n[s[0]]&&(n[s[0]]=parseInt(n[s[0]],10))}}}function sx(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=Nm(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function ox(e){sx(e.WBProps,ex),sx(e.CalcPr,nx),ax(e.WBView,tx),ax(e.Sheets,rx),uE.date1904=Nm(e.WBProps.date1904)}var ix="][*?/\\".split("");function lx(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");return ix.forEach((function(t){if(-1!=e.indexOf(t))throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})),!0}function cx(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t,r,n,a=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,r=a,n=!!e.vbaraw,t.forEach((function(e,a){lx(e);for(var s=0;s<a;++s)if(e==t[s])throw new Error("Duplicate Sheet Name: "+e);if(n){var o=r&&r[a]&&r[a].CodeName||e;if(95==o.charCodeAt(0)&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}}));for(var s=0;s<e.SheetNames.length;++s)bE(e.Sheets[e.SheetNames[s]],e.SheetNames[s],s)}var hx=/<\w+:workbook/;function fx(e){var t=[fm];t[t.length]=$m("workbook",null,{xmlns:lg[0],"xmlns:r":ag});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(ex.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=$m("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],s=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",s=0;s!=e.SheetNames.length&&a[s]&&a[s].Hidden;++s);s==e.SheetNames.length&&(s=0),t[t.length]='<workbookView firstSheet="'+s+'" activeTab="'+s+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",s=0;s!=e.SheetNames.length;++s){var o={name:_m(e.SheetNames[s].slice(0,31))};if(o.sheetId=""+(s+1),o["r:id"]="rId"+(s+1),a[s])switch(a[s].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden"}t[t.length]=$m("sheet",null,o)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=$m("definedName",_m(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function ux(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function dx(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r,n,a=t.Workbook.Sheets,s=0,o=-1,i=-1;s<a.length;++s)!a[s]||!a[s].Hidden&&-1==o?o=s:1==a[s].Hidden&&-1==i&&(i=s);if(!(i>o))ev(e,135),ev(e,158,(r=o,n||(n=Zg(29)),n.write_shift(-4,0),n.write_shift(-4,460),n.write_shift(4,28800),n.write_shift(4,17600),n.write_shift(4,500),n.write_shift(4,r),n.write_shift(4,r),n.write_shift(1,120),n.length>n.l?n.slice(0,n.l):n)),ev(e,136)}}function px(e,t){var r=Qg();return ev(r,131),ev(r,128,function(e,t){t||(t=Zg(127));for(var r=0;4!=r;++r)t.write_shift(4,0);return kv("SheetJS",t),kv(ld.version,t),kv(ld.version,t),kv("7262",t),t.length>t.l?t.slice(0,t.l):t}()),ev(r,153,function(e,t){t||(t=Zg(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Mv(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),dx(r,e),function(e,t){ev(e,143);for(var r=0;r!=t.SheetNames.length;++r){ev(e,156,(n={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]},(a=void 0)||(a=Zg(127)),a.write_shift(4,n.Hidden),a.write_shift(4,n.iTabID),Pv(n.strRelID,a),kv(n.name.slice(0,31),a),a.length>a.l?a.slice(0,a.l):a))}var n,a;ev(e,144)}(r,e),ev(r,132),r.end()}function mx(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var s=[],o=[[]];return o.SheetNames=[],o.XTI=[],t_[16]={n:"BrtFRTArchID$",f:ux},Jg(e,(function(e,i,l){switch(l){case 156:o.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Yk(e.Ptg,0,null,o,t),delete t.SID,delete e.Ptg,s.push(e);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353:case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:case 16:break;case 357:case 358:case 355:case 667:o[0].length?o.push([l,e]):o[0]=[l,e],o[o.length-1].XTI=[];break;case 362:0===o.length&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(e),o.XTI=o.XTI.concat(e);break;case 35:case 37:n.push(l),a=!0;break;case 36:case 38:n.pop(),a=!1;break;default:if(i.T);else if(!a||t.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+l.toString(16))}}),t),ox(r),r.Names=s,r.supbooks=o,r}(e,r):function(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,a="xmlns",s={},o=0;if(e.replace(pm,(function(i,l){var c=vm(i);switch(wm(c[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":i.match(hx)&&(a="xmlns"+i.match(/<(\w+):/)[1]),r.xmlns=c[a];break;case"<fileVersion":delete c[0],r.AppVersion=c;break;case"<workbookPr":case"<workbookPr/>":ex.forEach((function(e){if(null!=c[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=Nm(c[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:r.WBProps[e[0]]=c[e[0]]}})),c.codeName&&(r.WBProps.CodeName=Im(c.codeName));break;case"<workbookView":case"<workbookView/>":delete c[0],r.WBView.push(c);break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0}delete c.state,c.name=km(Im(c.name)),delete c[0],r.Sheets.push(c);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":n=!1;break;case"<definedName":(s={}).Name=Im(c.name),c.comment&&(s.Comment=c.comment),c.localSheetId&&(s.Sheet=+c.localSheetId),Nm(c.hidden||"0")&&(s.Hidden=!0),o=l+i.length;break;case"</definedName>":s.Ref=km(Im(e.slice(o,l))),r.Names.push(s);break;case"<calcPr":case"<calcPr/>":delete c[0],r.CalcPr=c;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+c[0]+" in workbook")}return i})),-1===lg.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return ox(r),r}(e,r)}function gx(e,t,r,n,a,s,o,i){return".bin"===t.slice(-4)?function(e,t,r,n,a,s,o){if(!e)return e;var i=t||{};n||(n={"!id":{}});var l,c,h,f,u,d,p,m,g,v,w=i.dense?[]:{},b={s:{r:2e6,c:2e6},e:{r:0,c:0}},y=!1,k=!1,E=[];i.biff=12,i["!row"]=0;var x=0,_=!1,C=[],S={},T=i.supbooks||a.supbooks||[[]];if(T.sharedf=S,T.arrayf=C,T.SheetNames=a.SheetNames||a.Sheets.map((function(e){return e.name})),!i.supbooks&&(i.supbooks=T,a.Names))for(var A=0;A<a.Names.length;++A)T[0][A+1]=a.Names[A];var N,B=[],M=[],O=!1;if(t_[16]={n:"BrtShortReal",f:HE},Jg(e,(function(e,t,A){if(!k)switch(A){case 148:l=e;break;case 0:c=e,i.sheetRows&&i.sheetRows<=c.r&&(k=!0),g=ov(u=c.r),i["!row"]=c.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Oy(e.hpt)),M[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(h={t:e[2]},e[2]){case"n":h.v=e[1];break;case"s":m=fE[e[1]],h.v=m.t,h.r=m.r;break;case"b":h.v=!!e[1];break;case"e":h.v=e[1],!1!==i.cellText&&(h.w=ew[h.v]);break;case"str":h.t="s",h.v=e[1];break;case"is":h.t="s",h.v=e[1].t}if((f=o.CellXf[e[0].iStyleRef])&&wE(h,f.numFmtId,null,i,s,o),d=-1==e[0].c?d+1:e[0].c,i.dense?(w[u]||(w[u]=[]),w[u][d]=h):w[lv(d)+g]=h,i.cellFormula){for(_=!1,x=0;x<C.length;++x){var R=C[x];c.r>=R[0].s.r&&c.r<=R[0].e.r&&d>=R[0].s.c&&d<=R[0].e.c&&(h.F=uv(R[0]),_=!0)}!_&&e.length>3&&(h.f=e[3])}if(b.s.r>c.r&&(b.s.r=c.r),b.s.c>d&&(b.s.c=d),b.e.r<c.r&&(b.e.r=c.r),b.e.c<d&&(b.e.c=d),i.cellDates&&f&&"n"==h.t&&wp(jd[f.numFmtId])){var I=Xd(h.v);I&&(h.t="d",h.v=new Date(I.y,I.m-1,I.d,I.H,I.M,I.S,I.u))}N&&("XLDAPR"==N.type&&(h.D=!0),N=void 0);break;case 1:case 12:if(!i.sheetStubs||y)break;h={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,i.dense?(w[u]||(w[u]=[]),w[u][d]=h):w[lv(d)+g]=h,b.s.r>c.r&&(b.s.r=c.r),b.s.c>d&&(b.s.c=d),b.e.r<c.r&&(b.e.r=c.r),b.e.c<d&&(b.e.c=d),N&&("XLDAPR"==N.type&&(h.D=!0),N=void 0);break;case 176:E.push(e);break;case 49:N=((i.xlmeta||{}).Cell||[])[e-1];break;case 494:var D=n["!id"][e.relId];for(D?(e.Target=D.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=D):""==e.relId&&(e.Target="#"+e.loc),u=e.rfx.s.r;u<=e.rfx.e.r;++u)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)i.dense?(w[u]||(w[u]=[]),w[u][d]||(w[u][d]={t:"z",v:void 0}),w[u][d].l=e):(p=hv({c:d,r:u}),w[p]||(w[p]={t:"z",v:void 0}),w[p].l=e);break;case 426:if(!i.cellFormula)break;C.push(e),(v=i.dense?w[u][d]:w[lv(d)+g]).f=Yk(e[1],0,{r:c.r,c:d},T,i),v.F=uv(e[0]);break;case 427:if(!i.cellFormula)break;S[hv(e[0].s)]=e[1],(v=i.dense?w[u][d]:w[lv(d)+g]).f=Yk(e[1],0,{r:c.r,c:d},T,i);break;case 60:if(!i.cellStyles)break;for(;e.e>=e.s;)B[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},O||(O=!0,Ay(e.w/256)),Ny(B[e.e+1]);break;case 161:w["!autofilter"]={ref:uv(e)};break;case 476:w["!margins"]=e;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name),(e.above||e.left)&&(w["!outline"]={above:e.above,left:e.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151:case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:case 37:y=!0;break;case 36:case 38:y=!1;break;default:if(t.T);else if(!y||i.WTF)throw new Error("Unexpected record 0x"+A.toString(16))}}),i),delete i.supbooks,delete i["!row"],!w["!ref"]&&(b.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(w["!ref"]=uv(l||b)),i.sheetRows&&w["!ref"]){var R=dv(w["!ref"]);i.sheetRows<=+R.e.r&&(R.e.r=i.sheetRows-1,R.e.r>b.e.r&&(R.e.r=b.e.r),R.e.r<R.s.r&&(R.s.r=R.e.r),R.e.c>b.e.c&&(R.e.c=b.e.c),R.e.c<R.s.c&&(R.s.c=R.e.c),w["!fullref"]=w["!ref"],w["!ref"]=uv(R))}return E.length>0&&(w["!merges"]=E),B.length>0&&(w["!cols"]=B),M.length>0&&(w["!rows"]=M),w}(e,n,r,a,s,o,i):BE(e,n,r,a,s,o,i)}function vx(e,t,r,n,a,s,o,i){return".bin"===t.slice(-4)?function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},o=!1;return Jg(e,(function(e,n,i){switch(i){case 550:s["!rel"]=e;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:case 37:case 38:break;case 35:o=!0;break;case 36:o=!1;break;default:if(n.T>0);else if(n.T<0);else if(!o||t.WTF)throw new Error("Unexpected record 0x"+i.toString(16))}}),t),n["!id"][s["!rel"]]&&(s["!drawel"]=n["!id"][s["!rel"]]),s}(e,n,r,a,s):function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var s,o={"!type":"chart","!drawel":null,"!rel":""},i=e.match(TE);return i&&ME(i[0],0,a,r),(s=e.match(/drawing r:id="(.*?)"/))&&(o["!rel"]=s[1]),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(e,0,r,a,s)}function wx(e,t,r,n){return".bin"===t.slice(-4)?function(e,t,r){var n={NumberFmt:[]};for(var a in jd)n.NumberFmt[a]=jd[a];n.CellXf=[],n.Fonts=[];var s=[],o=!1;return Jg(e,(function(e,a,i){switch(i){case 44:n.NumberFmt[e[0]]=e[1],xp(e[1],e[0]);break;case 43:n.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Ey(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:617==s[s.length-1]&&n.CellXf.push(e);break;case 35:o=!0;break;case 36:o=!1;break;case 37:s.push(i),o=!0;break;case 38:s.pop(),o=!1;break;default:if(a.T>0)s.push(i);else if(a.T<0)s.pop();else if(!o||r.WTF&&37!=s[s.length-1])throw new Error("Unexpected record 0x"+i.toString(16))}})),n}(e,r,n):Py(e,r,n)}function bx(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=!1;return Jg(e,(function(e,a,s){switch(s){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(a.T,!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}(e,r):function(e,t){var r=[],n="";if(!e)return r;var a=e.match(ey);if(a){n=a[2].replace(ty,"").split(ry);for(var s=0;s!=n.length;++s){var o=Qb(n[s].trim(),t);null!=o&&(r[r.length]=o)}a=vm(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}(e,r)}function yx(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=[],a={},s=!1;return Jg(e,(function(e,o,i){switch(i){case 632:n.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:case 37:case 38:break;case 35:s=!0;break;case 36:s=!1;break;default:if(o.T);else if(!s||t.WTF)throw new Error("Unexpected record 0x"+i.toString(16))}})),r}(e,r):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}}));var s=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return s&&s[1]&&s[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var s=vm(a[0]),o={author:s.authorId&&r[s.authorId]||"sheetjsghost",ref:s.ref,guid:s.guid},i=cv(s.ref);if(!(t.sheetRows&&t.sheetRows<=i.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&Qb(l[1])||{r:"",t:"",h:""};o.r=c.r,"<t></t>"==c.r&&(c.t=c.h=""),o.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(o.h=c.h),n.push(o)}}}})),n}(e,r)}function kx(e,t,r){return".bin"===t.slice(-4)?function(e){var t=[];return Jg(e,(function(e,r,n){if(63===n)t.push(e);else if(!r.T)throw new Error("Unexpected record 0x"+n.toString(16))})),t}(e):function(e){var t=[];if(!e)return t;var r=1;return(e.match(pm)||[]).forEach((function(e){var n=vm(e);switch(n[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,t.push(n)}})),t}(e)}function Ex(e,t,r,n){if(".bin"===r.slice(-4))return function(e,t,r,n){if(!e)return e;var a=n||{},s=!1;Jg(e,(function(e,t,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:s=!0;break;case 36:s=!1;break;default:if(t.T);else if(!s||a.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),a)}(e,0,0,n)}function xx(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n={Types:[],Cell:[],Value:[]},a=r||{},s=[],o=!1,i=2;return Jg(e,(function(e,t,r){switch(r){case 335:n.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==i?n.Cell.push({type:n.Types[e[0]-1].name,index:e[1]}):0==i&&n.Value.push({type:n.Types[e[0]-1].name,index:e[1]})}));break;case 337:i=e?1:0;break;case 338:i=2;break;case 35:s.push(r),o=!0;break;case 36:s.pop(),o=!1;break;default:if(t.T);else if(!o||a.WTF&&35!=s[s.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(e,0,r):function(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var a,s=!1,o=2;return e.replace(pm,(function(e){var t=vm(e);switch(wm(t[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":n.Types.push({name:t.name});break;case"<futureMetadata":for(var i=0;i<n.Types.length;++i)n.Types[i].name==t.name&&(a=n.Types[i]);break;case"<rc":1==o?n.Cell.push({type:n.Types[t.t-1].name,index:+t.v}):0==o&&n.Value.push({type:n.Types[t.t-1].name,index:+t.v});break;case"<cellMetadata":o=1;break;case"</cellMetadata>":case"</valueMetadata>":o=2;break;case"<valueMetadata":o=0;break;case"<ext":s=!0;break;case"</ext>":s=!1;break;case"<rvb":if(!a)break;a.offsets||(a.offsets=[]),a.offsets.push(+t.i);break;default:if(!s&&r.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e})),n}(e,0,r)}function _x(e,t,r,n,a){return(".bin"===t.slice(-4)?JE:FE)(e,r,n,a)}function Cx(e,t,r){return(".bin"===t.slice(-4)?vk:pk)(e)}var Sx,Tx=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Ax=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Nx(e,t){var r=e.split(/\s+/),n=[];if(n[0]=r[0],1===r.length)return n;var a,s,o,i=e.match(Tx);if(i)for(o=0;o!=i.length;++o)-1===(s=(a=i[o].match(Ax))[1].indexOf(":"))?n[a[1]]=a[2].slice(1,a[2].length-1):n["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(s+1)]=a[2].slice(1,a[2].length-1);return n}function Bx(e){var t={};if(1===e.split(/\s+/).length)return t;var r,n,a,s=e.match(Tx);if(s)for(a=0;a!=s.length;++a)-1===(n=(r=s[a].match(Ax))[1].indexOf(":"))?t[r[1]]=r[2].slice(1,r[2].length-1):t["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return t}function Mx(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Nm(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=qp(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[km(t)]=a}function Ox(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||ew[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=ep(e.v):e.w=tp(e.v):e.w=(n=t||"General",a=e.v,"General"===(s=Sx[n]||km(n))?tp(a):Ep(s,a))}catch(l){if(r.WTF)throw l}var n,a,s;try{var o=Sx[t]||t||"General";if(r.cellNF&&(e.z=o),r.cellDates&&"n"==e.t&&wp(o)){var i=Xd(e.v);i&&(e.t="d",e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u))}}catch(l){if(r.WTF)throw l}}}function Rx(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Ry[n.Pattern]||n.Pattern)}e[t.ID]=t}function Ix(e,t,r,n,a,s,o,i,l,c){var h="General",f=n.StyleID,u={};c=c||{};var d=[],p=0;for(void 0===f&&i&&(f=i.StyleID),void 0===f&&o&&(f=o.StyleID);void 0!==s[f]&&(s[f].nf&&(h=s[f].nf),s[f].Interior&&d.push(s[f].Interior),s[f].Parent);)f=s[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=Nm(e);break;case"String":n.t="s",n.r=Am(km(e)),n.v=e.indexOf("<")>-1?km(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(qp(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=km(e):n.v<60&&(n.v=n.v-1),h&&"General"!=h||(h="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=tw[e],!1!==c.cellText&&(n.w=e);break;default:""==e&&""==t?n.t="z":(n.t="s",n.v=Am(t||e))}if(Ox(n,h,c),!1!==c.cellFormula)if(n.Formula){var m=km(n.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),n.f=bk(m,a),delete n.Formula,"RC"==n.ArrayRange?n.F=bk("RC:RC",a):n.ArrayRange&&(n.F=bk(n.ArrayRange,a),l.push([dv(n.F),n.F]))}else for(p=0;p<l.length;++p)a.r>=l[p][0].s.r&&a.r<=l[p][0].e.r&&a.c>=l[p][0].s.c&&a.c<=l[p][0].e.c&&(n.F=l[p][1]);c.cellStyles&&(d.forEach((function(e){!u.patternType&&e.patternType&&(u.patternType=e.patternType)})),n.s=u),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function Dx(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Px(e,t){var r=t||{};Cp();var n=wd(Gm(e));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(n=Im(n));var a,s=n.slice(0,1024).toLowerCase(),o=!1;if((1023&(s=s.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&s.indexOf(","),1023&s.indexOf(";"))){var i=Xp(r);return i.type="string",qb.to_workbook(n,i)}if(-1==s.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){s.indexOf("<"+e)>=0&&(o=!0)})),o)return function(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return gv(d_(r[0],t),t);var n={SheetNames:[],Sheets:{}};return r.forEach((function(e,r){CC(n,d_(e,t),"Sheet"+(r+1))})),n}(n,r);Sx={"General Number":"General","General Date":jd[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":jd[15],"Short Date":jd[14],"Long Time":jd[19],"Medium Time":jd[18],"Short Time":jd[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:jd[2],Standard:jd[4],Percent:jd[10],Scientific:jd[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l,c,h=[],f={},u=[],d=r.dense?[]:{},p="",m={},g={},v=Nx('<Data ss:Type="String">'),w=0,b=0,y=0,k={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},x={},_="",C=0,S=[],T={},A={},N=0,B=[],M=[],O={},R=[],I=!1,D=[],P=[],F={},V=0,z=0,L={Sheets:[],WBProps:{date1904:!1}},H={};Xm.lastIndex=0,n=n.replace(/<!--([\s\S]*?)-->/gm,"");for(var U="";a=Xm.exec(n);)switch(a[3]=(U=a[3]).toLowerCase()){case"data":if("data"==U){if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&h.push([a[3],!0]);break}if(h[h.length-1][1])break;"/"===a[1]?Ix(n.slice(w,a.index),_,v,"comment"==h[h.length-1][0]?O:m,{c:b,r:y},E,R[b],g,D,r):(_="",v=Nx(a[0]),w=a.index+a[0].length);break;case"cell":if("/"===a[1])if(M.length>0&&(m.c=M),(!r.sheetRows||r.sheetRows>y)&&void 0!==m.v&&(r.dense?(d[y]||(d[y]=[]),d[y][b]=m):d[lv(b)+ov(y)]=m),m.HRef&&(m.l={Target:km(m.HRef)},m.HRefScreenTip&&(m.l.Tooltip=m.HRefScreenTip),delete m.HRef,delete m.HRefScreenTip),(m.MergeAcross||m.MergeDown)&&(V=b+(0|parseInt(m.MergeAcross,10)),z=y+(0|parseInt(m.MergeDown,10)),S.push({s:{c:b,r:y},e:{c:V,r:z}})),r.sheetStubs)if(m.MergeAcross||m.MergeDown){for(var W=b;W<=V;++W)for(var j=y;j<=z;++j)(W>b||j>y)&&(r.dense?(d[j]||(d[j]=[]),d[j][W]={t:"z"}):d[lv(W)+ov(j)]={t:"z"});b=V+1}else++b;else m.MergeAcross?b=V+1:++b;else(m=Bx(a[0])).Index&&(b=+m.Index-1),b<k.s.c&&(k.s.c=b),b>k.e.c&&(k.e.c=b),"/>"===a[0].slice(-2)&&++b,M=[];break;case"row":"/"===a[1]||"/>"===a[0].slice(-2)?(y<k.s.r&&(k.s.r=y),y>k.e.r&&(k.e.r=y),"/>"===a[0].slice(-2)&&(g=Nx(a[0])).Index&&(y=+g.Index-1),b=0,++y):((g=Nx(a[0])).Index&&(y=+g.Index-1),F={},("0"==g.AutoFitHeight||g.Height)&&(F.hpx=parseInt(g.Height,10),F.hpt=My(F.hpx),P[y]=F),"1"==g.Hidden&&(F.hidden=!0,P[y]=F));break;case"worksheet":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"));u.push(p),k.s.r<=k.e.r&&k.s.c<=k.e.c&&(d["!ref"]=uv(k),r.sheetRows&&r.sheetRows<=k.e.r&&(d["!fullref"]=d["!ref"],k.e.r=r.sheetRows-1,d["!ref"]=uv(k))),S.length&&(d["!merges"]=S),R.length>0&&(d["!cols"]=R),P.length>0&&(d["!rows"]=P),f[p]=d}else k={s:{r:2e6,c:2e6},e:{r:0,c:0}},y=b=0,h.push([a[3],!1]),l=Nx(a[0]),p=km(l.Name),d=r.dense?[]:{},S=[],D=[],P=[],H={name:p,Hidden:0},L.Sheets.push(H);break;case"table":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==a[0].slice(-2))break;h.push([a[3],!1]),R=[],I=!1}break;case"style":"/"===a[1]?Rx(E,x,r):x=Nx(a[0]);break;case"numberformat":x.nf=km(Nx(a[0]).Format||"General"),Sx[x.nf]&&(x.nf=Sx[x.nf]);for(var $=0;392!=$&&jd[$]!=x.nf;++$);if(392==$)for($=57;392!=$;++$)if(null==jd[$]){xp(x.nf,$);break}break;case"column":if("table"!==h[h.length-1][0])break;if((c=Nx(a[0])).Hidden&&(c.hidden=!0,delete c.Hidden),c.Width&&(c.wpx=parseInt(c.Width,10)),!I&&c.wpx>10){I=!0,xy=6;for(var q=0;q<R.length;++q)R[q]&&Ny(R[q])}I&&Ny(c),R[c.Index-1||R.length]=c;for(var G=0;G<+c.Span;++G)R[R.length]=Xp(c);break;case"namedrange":if("/"===a[1])break;L.Names||(L.Names=[]);var X=vm(a[0]),K={Name:X.Name,Ref:bk(X.RefersTo.slice(1),{r:0,c:0})};L.Sheets.length>0&&(K.Sheet=L.Sheets.length-1),L.Names.push(K);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===a[0].slice(-2))break;"/"===a[1]?_+=n.slice(C,a.index):C=a.index+a[0].length;break;case"interior":if(!r.cellStyles)break;x.Interior=Nx(a[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===a[0].slice(-2))break;"/"===a[1]?Cw(T,U,n.slice(N,a.index)):N=a.index+a[0].length;break;case"styles":case"workbook":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else h.push([a[3],!1]);break;case"comment":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"));Dx(O),M.push(O)}else h.push([a[3],!1]),O={a:(l=Nx(a[0])).Author};break;case"autofilter":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==a[0].charAt(a[0].length-2)){var Y=Nx(a[0]);d["!autofilter"]={ref:bk(Y.Range).replace(/\$/g,"")},h.push([a[3],!0])}break;case"datavalidation":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&h.push([a[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===a[1]){if((l=h.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&h.push([a[3],!0]);break;default:if(0==h.length&&"document"==a[3])return E_(n,r);if(0==h.length&&"uof"==a[3])return E_(n,r);var Z=!0;switch(h[h.length-1][0]){case"officedocumentsettings":switch(a[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:Z=!1}break;case"componentoptions":switch(a[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:Z=!1}break;case"excelworkbook":switch(a[3]){case"date1904":L.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:Z=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":case"height":case"width":break;default:Z=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if("/>"===a[0].slice(-2));else if("/"===a[1])switch(n.slice(N,a.index)){case"SheetHidden":H.Hidden=1;break;case"SheetVeryHidden":H.Hidden=2}else N=a.index+a[0].length;break;case"header":d["!margins"]||gE(d["!margins"]={},"xlml"),isNaN(+vm(a[0]).Margin)||(d["!margins"].header=+vm(a[0]).Margin);break;case"footer":d["!margins"]||gE(d["!margins"]={},"xlml"),isNaN(+vm(a[0]).Margin)||(d["!margins"].footer=+vm(a[0]).Margin);break;case"pagemargins":var J=vm(a[0]);d["!margins"]||gE(d["!margins"]={},"xlml"),isNaN(+J.Top)||(d["!margins"].top=+J.Top),isNaN(+J.Left)||(d["!margins"].left=+J.Left),isNaN(+J.Right)||(d["!margins"].right=+J.Right),isNaN(+J.Bottom)||(d["!margins"].bottom=+J.Bottom);break;case"displayrighttoleft":L.Views||(L.Views=[]),L.Views[0]||(L.Views[0]={}),L.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":d["!outline"]||(d["!outline"]={}),d["!outline"].left=!0;break;default:Z=!1}break;case"pivottable":case"pivotcache":switch(a[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:Z=!1}break;case"pagebreaks":switch(a[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:Z=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:Z=!1}break;case"querytable":switch(a[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:Z=!1}break;case"datavalidation":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:Z=!1}break;case"sorting":case"conditionalformatting":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:Z=!1}break;case"mapinfo":case"schema":case"data":switch(a[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:Z=!1}break;case"smarttags":break;default:Z=!1}if(Z)break;if(a[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+h.join("|");if("customdocumentproperties"===h[h.length-1][0]){if("/>"===a[0].slice(-2))break;"/"===a[1]?Mx(A,U,B,n.slice(N,a.index)):(B=a,N=a.index+a[0].length);break}if(r.WTF)throw"Unrecognized tag: "+a[3]+"|"+h.join("|")}var Q={};return r.bookSheets||r.bookProps||(Q.Sheets=f),Q.SheetNames=u,Q.Workbook=L,Q.SSF=Xp(jd),Q.Props=T,Q.Custprops=A,Q}function Fx(e,t){switch(eC(t=t||{}),t.type||"base64"){case"base64":return Px(xd(e),t);case"binary":case"buffer":case"file":return Px(e,t);case"array":return Px(Bd(e),t)}}function Vx(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return Op(_w).map((function(e){for(var t=0;t<uw.length;++t)if(uw[t][1]==e)return uw[t];for(t=0;t<vw.length;++t)if(vw[t][1]==e)return vw[t];throw e})).forEach((function(n){if(null!=e[n[1]]){var a=t&&t.Props&&null!=t.Props[n[1]]?t.Props[n[1]]:e[n[1]];"date"===n[2]&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"Z")),"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(Wm(_w[n[1]]||n[1],a))}})),$m("DocumentProperties",r.join(""),{xmlns:cg})}(e.Props,t)),e.Custprops&&r.push(function(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Op(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var n=0;n<uw.length;++n)if(t==uw[n][1])return;for(n=0;n<vw.length;++n)if(t==vw[n][1])return;for(n=0;n<r.length;++n)if(t==r[n])return;var s=e[t],o="string";"number"==typeof s?(o="float",s=String(s)):!0===s||!1===s?(o="boolean",s=s?"1":"0"):s=String(s),a.push($m(Cm(t),s,{"dt:dt":o}))}})),t&&Op(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var n=t[r],s="string";"number"==typeof n?(s="float",n=String(n)):!0===n||!1===n?(s="boolean",n=n?"1":"0"):n instanceof Date?(s="dateTime.tz",n=n.toISOString()):n=String(n),a.push($m(Cm(r),n,{"dt:dt":s}))}})),"<"+n+' xmlns="'+cg+'">'+a.join("")+"</"+n+">"}(e.Props,e.Custprops)),r.join("")}function zx(e){return $m("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+kk(e.Ref,{r:0,c:0})})}function Lx(e,t,r,n,a,s,o){if(!e||null==e.v&&null==e.f)return"";var i={};if(e.f&&(i["ss:Formula"]="="+_m(kk(e.f,o))),e.F&&e.F.slice(0,t.length)==t){var l=cv(e.F.slice(t.length+1));i["ss:ArrayRange"]="RC:R"+(l.r==o.r?"":"["+(l.r-o.r)+"]")+"C"+(l.c==o.c?"":"["+(l.c-o.c)+"]")}if(e.l&&e.l.Target&&(i["ss:HRef"]=_m(e.l.Target),e.l.Tooltip&&(i["x:HRefScreenTip"]=_m(e.l.Tooltip))),r["!merges"])for(var c=r["!merges"],h=0;h!=c.length;++h)c[h].s.c==o.c&&c[h].s.r==o.r&&(c[h].e.c>c[h].s.c&&(i["ss:MergeAcross"]=c[h].e.c-c[h].s.c),c[h].e.r>c[h].s.r&&(i["ss:MergeDown"]=c[h].e.r-c[h].s.r));var f="",u="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",u=String(e.v);break;case"b":f="Boolean",u=e.v?"1":"0";break;case"e":f="Error",u=ew[e.v];break;case"d":f="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||jd[14]);break;case"s":f="String",u=((e.v||"")+"").replace(Em,(function(e){return ym[e]})).replace(Sm,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var d=vE(n.cellXfs,e,n);i["ss:StyleID"]="s"+(21+d),i["ss:Index"]=o.c+1;var p=null!=e.v?u:"",m="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(m+=e.c.map((function(e){var t=$m("ss:Data",(e.t||"").replace(/(\r\n|[\r\n])/g," "),{xmlns:"http://www.w3.org/TR/REC-html40"});return $m("Comment",t,{"ss:Author":e.a})})).join("")),$m("Cell",m,i)}function Hx(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Oy(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Ux(e,t,r){var n=[],a=r.SheetNames[e],s=r.Sheets[a],o=s?function(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,s=[],o=0;o<a.length;++o){var i=a[o];i.Sheet==r&&(i.Name.match(/^_xlfn\./)||s.push(zx(i)))}return s.join("")}(s,0,e,r):"";return o.length>0&&n.push("<Names>"+o+"</Names>"),o=s?function(e,t){if(!e["!ref"])return"";var r=dv(e["!ref"]),n=e["!merges"]||[],a=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Ny(e);var r=!!e.width,n=mE(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=_y(n.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push($m("Column",null,a))}));for(var o=Array.isArray(e),i=r.s.r;i<=r.e.r;++i){for(var l=[Hx(i,(e["!rows"]||[])[i])],c=r.s.c;c<=r.e.c;++c){var h=!1;for(a=0;a!=n.length;++a)if(!(n[a].s.c>c||n[a].s.r>i||n[a].e.c<c||n[a].e.r<i)){n[a].s.c==c&&n[a].s.r==i||(h=!0);break}if(!h){var f={r:i,c:c},u=hv(f),d=o?(e[i]||[])[c]:e[u];l.push(Lx(d,u,e,t,0,0,f))}}l.push("</Row>"),l.length>2&&s.push(l.join(""))}return s.join("")}(s,t):"",o.length>0&&n.push("<Table>"+o+"</Table>"),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push($m("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push($m("Footer",null,{"x:Margin":e["!margins"].footer})),a.push($m("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push($m("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s<r&&(!n.Workbook.Sheets[s]||n.Workbook.Sheets[s].Hidden);++s);s==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Wm("ProtectContents","True")),e["!protect"].objects&&a.push(Wm("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Wm("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Wm("EnableSelection","UnlockedCells")):a.push(Wm("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":$m("WorksheetOptions",a.join(""),{xmlns:hg})}(s,0,e,r)),n.join("")}function Wx(e,t){t||(t={}),e.SSF||(e.SSF=Xp(jd)),e.SSF&&(Cp(),_p(e.SSF),t.revssf=Dp(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],vE(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Vx(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push($m("Worksheet",Ux(n,t,e),{"ss:Name":_m(e.SheetNames[n])}));return r[2]=function(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var n=[];n.push($m("NumberFormat",null,{"ss:Format":_m(jd[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push($m("Style",n.join(""),a))})),$m("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||r.push(zx(a)))}return $m("Names",r.join(""))}(e),fm+$m("Workbook",r.join(""),{xmlns:fg,"xmlns:o":cg,"xmlns:x":hg,"xmlns:ss":fg,"xmlns:dt":ug,"xmlns:html":mg})}function jx(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return $v(e,1)}(r),r.length-r.l<=4)return t;var n=r.read_shift(4);return 0==n||n>40?t:(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r.read_shift(4))?t:(t.UnicodeClipboardFormat=function(e){return $v(e,2)}(r),0==(n=r.read_shift(4))||n>40?t:(r.l-=4,void(t.Reserved2=r.read_shift(0,"lpwstr")))))}var $x=[60,1084,2066,2165,2175];function qx(e,t,r,n,a){var s=n,o=[],i=r.slice(r.l,r.l+s);if(a&&a.enc&&a.enc.insitu&&i.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:a.enc.insitu(i)}o.push(i),r.l+=s;for(var l=Vg(r,r.l),c=r_[l],h=0;null!=c&&$x.indexOf(l)>-1;)s=Vg(r,r.l+2),h=r.l+4,2066==l?h+=4:2165!=l&&2175!=l||(h+=12),i=r.slice(h,r.l+4+s),o.push(i),r.l+=4+s,c=r_[l=Vg(r,r.l)];var f=Od(o);Kg(f,0);var u=0;f.lens=[];for(var d=0;d<o.length;++d)f.lens.push(u),u+=o[d].length;if(f.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+f.length+" < "+n;return t.f(f,f.length,a)}function Gx(e,t,r){if("z"!==e.t&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=jd[n])}catch(s){if(t.WTF)throw s}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||ew[e.v]:0===n||"General"==n?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=ep(e.v):e.w=tp(e.v):e.w=Ep(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(s){if(t.WTF)throw s}if(t.cellDates&&n&&"n"==e.t&&wp(jd[n]||String(n))){var a=Xd(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function Xx(e,t,r){return{v:e,ixfe:t,t:r}}function Kx(e,t){var r,n,a,s,o,i,l,c,h={opts:{}},f={},u=t.dense?[]:{},d={},p={},m=null,g=[],v="",w={},b="",y={},k=[],E=[],x=[],_={Sheets:[],WBProps:{date1904:!1},Views:[{}]},C={},S=function(e){return e<8?Qv[e]:e<64&&x[e-8]||Qv[e]},T=function(e,t,n){if(!(F>1||n.sheetRows&&e.r>=n.sheetRows)){if(n.cellStyles&&t.XF&&t.XF.data&&function(e,t,r){var n,a=t.XF.data;a&&a.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=a.patternType,(n=ky(S(a.icvFore)))&&(t.s.fgColor={rgb:n}),(n=ky(S(a.icvBack)))&&(t.s.bgColor={rgb:n}))}(0,t,n),delete t.ixfe,delete t.XF,r=e,b=hv(e),p&&p.s&&p.e||(p={s:{r:0,c:0},e:{r:0,c:0}}),e.r<p.s.r&&(p.s.r=e.r),e.c<p.s.c&&(p.s.c=e.c),e.r+1>p.e.r&&(p.e.r=e.r+1),e.c+1>p.e.c&&(p.e.c=e.c+1),n.cellFormula&&t.f)for(var a=0;a<k.length;++a)if(!(k[a][0].s.c>e.c||k[a][0].s.r>e.r||k[a][0].e.c<e.c||k[a][0].e.r<e.r)){t.F=uv(k[a][0]),k[a][0].s.c==e.c&&k[a][0].s.r==e.r||delete t.f,t.f&&(t.f=""+Yk(k[a][1],0,e,I,A));break}n.dense?(u[e.r]||(u[e.r]=[]),u[e.r][e.c]=t):u[b]=t}},A={enc:!1,sbcch:0,snames:[],sharedf:y,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(A.password=t.password);var N=[],B=[],M=[],O=[],R=!1,I=[];I.SheetNames=A.snames,I.sharedf=A.sharedf,I.arrayf=A.arrayf,I.names=[],I.XTI=[];var D,P=0,F=0,V=0,z=[],L=[];A.codepage=1200,dd(1200);for(var H=!1;e.l<e.length-1;){var U=e.l,W=e.read_shift(2);if(0===W&&10===P)break;var j=e.l===e.length?0:e.read_shift(2),$=r_[W];if($&&$.f){if(t.bookSheets&&133===P&&133!==W)break;if(P=W,2===$.r||12==$.r){var q=e.read_shift(2);if(j-=2,!A.enc&&q!==W&&((255&q)<<8|q>>8)!==W)throw new Error("rt mismatch: "+q+"!="+W);12==$.r&&(e.l+=10,j-=10)}var G={};if(G=10===W?$.f(e,j,A):qx(W,$,e,j,A),0==F&&-1===[9,521,1033,2057].indexOf(P))continue;switch(W){case 34:h.opts.Date1904=_.WBProps.date1904=G;break;case 134:h.opts.WriteProtect=!0;break;case 47:if(A.enc||(e.l=0),A.enc=G,!t.password)throw new Error("File is password-protected");if(null==G.valid)throw new Error("Encryption scheme unsupported");if(!G.valid)throw new Error("Password is incorrect");break;case 92:A.lastuser=G;break;case 66:var X=Number(G);switch(X){case 21010:X=1200;break;case 32768:X=1e4;break;case 32769:X=1252}dd(A.codepage=X),H=!0;break;case 317:A.rrtabid=G;break;case 25:A.winlocked=G;break;case 439:h.opts.RefreshAll=G;break;case 12:h.opts.CalcCount=G;break;case 16:h.opts.CalcDelta=G;break;case 17:h.opts.CalcIter=G;break;case 13:h.opts.CalcMode=G;break;case 14:h.opts.CalcPrecision=G;break;case 95:h.opts.CalcSaveRecalc=G;break;case 15:A.CalcRefMode=G;break;case 2211:h.opts.FullCalc=G;break;case 129:G.fDialog&&(u["!type"]="dialog"),G.fBelow||((u["!outline"]||(u["!outline"]={})).above=!0),G.fRight||((u["!outline"]||(u["!outline"]={})).left=!0);break;case 224:E.push(G);break;case 430:I.push([G]),I[I.length-1].XTI=[];break;case 35:case 547:I[I.length-1].push(G);break;case 24:case 536:D={Name:G.Name,Ref:Yk(G.rgce,0,null,I,A)},G.itab>0&&(D.Sheet=G.itab-1),I.names.push(D),I[0]||(I[0]=[],I[0].XTI=[]),I[I.length-1].push(G),"_xlnm._FilterDatabase"==G.Name&&G.itab>0&&G.rgce&&G.rgce[0]&&G.rgce[0][0]&&"PtgArea3d"==G.rgce[0][0][0]&&(L[G.itab-1]={ref:uv(G.rgce[0][0][1][2])});break;case 22:A.ExternCount=G;break;case 23:0==I.length&&(I[0]=[],I[0].XTI=[]),I[I.length-1].XTI=I[I.length-1].XTI.concat(G),I.XTI=I.XTI.concat(G);break;case 2196:if(A.biff<8)break;null!=D&&(D.Comment=G[1]);break;case 18:u["!protect"]=G;break;case 19:0!==G&&A.WTF;break;case 133:d[G.pos]=G,A.snames.push(G.name);break;case 10:if(--F)break;if(p.e){if(p.e.r>0&&p.e.c>0){if(p.e.r--,p.e.c--,u["!ref"]=uv(p),t.sheetRows&&t.sheetRows<=p.e.r){var K=p.e.r;p.e.r=t.sheetRows-1,u["!fullref"]=u["!ref"],u["!ref"]=uv(p),p.e.r=K}p.e.r++,p.e.c++}N.length>0&&(u["!merges"]=N),B.length>0&&(u["!objects"]=B),M.length>0&&(u["!cols"]=M),O.length>0&&(u["!rows"]=O),_.Sheets.push(C)}""===v?w=u:f[v]=u,u=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===A.biff&&(A.biff={9:2,521:3,1033:4}[W]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[G.BIFFVer]||8),A.biffguess=0==G.BIFFVer,0==G.BIFFVer&&4096==G.dt&&(A.biff=5,H=!0,dd(A.codepage=28591)),8==A.biff&&0==G.BIFFVer&&16==G.dt&&(A.biff=2),F++)break;if(u=t.dense?[]:{},A.biff<8&&!H&&(H=!0,dd(A.codepage=t.codepage||1252)),A.biff<5||0==G.BIFFVer&&4096==G.dt){""===v&&(v="Sheet1"),p={s:{r:0,c:0},e:{r:0,c:0}};var Y={pos:e.l-j,name:v};d[Y.pos]=Y,A.snames.push(v)}else v=(d[U]||{name:""}).name;32==G.dt&&(u["!type"]="chart"),64==G.dt&&(u["!type"]="macro"),N=[],B=[],A.arrayf=k=[],M=[],O=[],R=!1,C={Hidden:(d[U]||{hs:0}).hs,name:v};break;case 515:case 3:case 2:"chart"==u["!type"]&&(t.dense?(u[G.r]||[])[G.c]:u[hv({c:G.c,r:G.r})])&&++G.c,i={ixfe:G.ixfe,XF:E[G.ixfe]||{},v:G.val,t:"n"},V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:G.c,r:G.r},i,t);break;case 5:case 517:i={ixfe:G.ixfe,XF:E[G.ixfe],v:G.val,t:G.t},V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:G.c,r:G.r},i,t);break;case 638:i={ixfe:G.ixfe,XF:E[G.ixfe],v:G.rknum,t:"n"},V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:G.c,r:G.r},i,t);break;case 189:for(var Z=G.c;Z<=G.C;++Z){var J=G.rkrec[Z-G.c][0];i={ixfe:J,XF:E[J],v:G.rkrec[Z-G.c][1],t:"n"},V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:Z,r:G.r},i,t)}break;case 6:case 518:case 1030:if("String"==G.val){m=G;break}if((i=Xx(G.val,G.cell.ixfe,G.tt)).XF=E[i.ixfe],t.cellFormula){var Q=G.formula;if(Q&&Q[0]&&Q[0][0]&&"PtgExp"==Q[0][0][0]){var ee=Q[0][0][1][0],te=Q[0][0][1][1],re=hv({r:ee,c:te});y[re]?i.f=""+Yk(G.formula,0,G.cell,I,A):i.F=((t.dense?(u[ee]||[])[te]:u[re])||{}).F}else i.f=""+Yk(G.formula,0,G.cell,I,A)}V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T(G.cell,i,t),m=G;break;case 7:case 519:if(!m)throw new Error("String record expects Formula");m.val=G,(i=Xx(G,m.cell.ixfe,"s")).XF=E[i.ixfe],t.cellFormula&&(i.f=""+Yk(m.formula,0,m.cell,I,A)),V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T(m.cell,i,t),m=null;break;case 33:case 545:k.push(G);var ne=hv(G[0].s);if(n=t.dense?(u[G[0].s.r]||[])[G[0].s.c]:u[ne],t.cellFormula&&n){if(!m)break;if(!ne||!n)break;n.f=""+Yk(G[1],0,G[0],I,A),n.F=uv(G[0])}break;case 1212:if(!t.cellFormula)break;if(b){if(!m)break;y[hv(m.cell)]=G[0],((n=t.dense?(u[m.cell.r]||[])[m.cell.c]:u[hv(m.cell)])||{}).f=""+Yk(G[0],0,r,I,A)}break;case 253:i=Xx(g[G.isst].t,G.ixfe,"s"),g[G.isst].h&&(i.h=g[G.isst].h),i.XF=E[i.ixfe],V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:G.c,r:G.r},i,t);break;case 513:t.sheetStubs&&(i={ixfe:G.ixfe,XF:E[G.ixfe],t:"z"},V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:G.c,r:G.r},i,t));break;case 190:if(t.sheetStubs)for(var ae=G.c;ae<=G.C;++ae){var se=G.ixfe[ae-G.c];i={ixfe:se,XF:E[se],t:"z"},V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:ae,r:G.r},i,t)}break;case 214:case 516:case 4:(i=Xx(G.val,G.ixfe,"s")).XF=E[i.ixfe],V>0&&(i.z=z[i.ixfe>>8&63]),Gx(i,t,h.opts.Date1904),T({c:G.c,r:G.r},i,t);break;case 0:case 512:1===F&&(p=G);break;case 252:g=G;break;case 1054:if(4==A.biff){z[V++]=G[1];for(var oe=0;oe<V+163&&jd[oe]!=G[1];++oe);oe>=163&&xp(G[1],V+163)}else xp(G[1],G[0]);break;case 30:z[V++]=G;for(var ie=0;ie<V+163&&jd[ie]!=G;++ie);ie>=163&&xp(G,V+163);break;case 229:N=N.concat(G);break;case 93:B[G.cmo[0]]=A.lastobj=G;break;case 438:A.lastobj.TxO=G;break;case 127:A.lastobj.ImData=G;break;case 440:for(o=G[0].s.r;o<=G[0].e.r;++o)for(s=G[0].s.c;s<=G[0].e.c;++s)(n=t.dense?(u[o]||[])[s]:u[hv({c:s,r:o})])&&(n.l=G[1]);break;case 2048:for(o=G[0].s.r;o<=G[0].e.r;++o)for(s=G[0].s.c;s<=G[0].e.c;++s)(n=t.dense?(u[o]||[])[s]:u[hv({c:s,r:o})])&&n.l&&(n.l.Tooltip=G[1]);break;case 28:if(A.biff<=5&&A.biff>=2)break;n=t.dense?(u[G[0].r]||[])[G[0].c]:u[hv(G[0])];var le=B[G[2]];n||(t.dense?(u[G[0].r]||(u[G[0].r]=[]),n=u[G[0].r][G[0].c]={t:"z"}):n=u[hv(G[0])]={t:"z"},p.e.r=Math.max(p.e.r,G[0].r),p.s.r=Math.min(p.s.r,G[0].r),p.e.c=Math.max(p.e.c,G[0].c),p.s.c=Math.min(p.s.c,G[0].c)),n.c||(n.c=[]),a={a:G[1],t:le.TxO.t},n.c.push(a);break;case 2173:E[G.ixfe],G.ext.forEach((function(e){e[0]}));break;case 125:if(!A.cellStyles)break;for(;G.e>=G.s;)M[G.e--]={width:G.w/256,level:G.level||0,hidden:!!(1&G.flags)},R||(R=!0,Ay(G.w/256)),Ny(M[G.e+1]);break;case 520:var ce={};null!=G.level&&(O[G.r]=ce,ce.level=G.level),G.hidden&&(O[G.r]=ce,ce.hidden=!0),G.hpt&&(O[G.r]=ce,ce.hpt=G.hpt,ce.hpx=Oy(G.hpt));break;case 38:case 39:case 40:case 41:u["!margins"]||gE(u["!margins"]={}),u["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[W]]=G;break;case 161:u["!margins"]||gE(u["!margins"]={}),u["!margins"].header=G.header,u["!margins"].footer=G.footer;break;case 574:G.RTL&&(_.Views[0].RTL=!0);break;case 146:x=G;break;case 2198:c=G;break;case 140:l=G;break;case 442:v?C.CodeName=G||C.name:_.WBProps.CodeName=G||"ThisWorkbook"}}else e.l+=j}return h.SheetNames=Op(d).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return d[e].name})),t.bookSheets||(h.Sheets=f),!h.SheetNames.length&&w["!ref"]?(h.SheetNames.push("Sheet1"),h.Sheets&&(h.Sheets.Sheet1=w)):h.Preamble=w,h.Sheets&&L.forEach((function(e,t){h.Sheets[h.SheetNames[t]]["!autofilter"]=e})),h.Strings=g,h.SSF=Xp(jd),A.enc&&(h.Encryption=A.enc),c&&(h.Themes=c),h.Metadata={},void 0!==l&&(h.Metadata.Country=l),I.names.length>0&&(_.Names=I.names),h.Workbook=_,h}var Yx="e0859ff2f94f6810ab9108002b27b3d9",Zx="02d5cdd59c2e1b10939708002b2cf9ae",Jx="05d5cdd59c2e1b10939708002b2cf9ae";function Qx(e,t){var r,n,a,s;if(t||(t={}),eC(t),pd(),t.codepage&&ud(t.codepage),e.FullPaths){if(Np.find(e,"/encryption"))throw new Error("File is password-protected");r=Np.find(e,"!CompObj"),n=Np.find(e,"/Workbook")||Np.find(e,"/Book")}else{switch(t.type){case"base64":e=Ad(xd(e));break;case"binary":e=Ad(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Kg(e,0),n={content:e}}if(r&&jx(r),t.bookProps&&!t.bookSheets)a={};else{var o=_d?"buffer":"array";if(n&&n.content)a=Kx(n.content,t);else if((s=Np.find(e,"PerfectOffice_MAIN"))&&s.content)a=Gb.to_workbook(s.content,(t.type=o,t));else{if(!(s=Np.find(e,"NativeContent_MAIN"))||!s.content)throw(s=Np.find(e,"MN0"))&&s.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");a=Gb.to_workbook(s.content,(t.type=o,t))}t.bookVBA&&e.FullPaths&&Np.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=Np.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Np.utils.cfb_add(t,a,e.FileIndex[n].content)}})),Np.write(t)}(e))}var i={};return e.FullPaths&&function(e,t,r){var n=Np.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var a=Lw(n,Xv,Zx);for(var s in a)t[s]=a[s]}catch(c){if(r.WTF)throw c}var o=Np.find(e,"/!SummaryInformation");if(o&&o.size>0)try{var i=Lw(o,Kv,Yx);for(var l in i)null==t[l]&&(t[l]=i[l])}catch(c){if(r.WTF)throw c}t.HeadingPairs&&t.TitlesOfParts&&(bw(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,i,t),a.Props=a.Custprops=i,t.bookFiles&&(a.cfb=e),a}function e_(e,t){var r=t||{},n=Np.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Np.utils.cfb_add(n,a,u_(e,r)),8==r.biff&&(e.Props||e.Custprops)&&function(e,t){var r,n=[],a=[],s=[],o=0,i=Rp(Xv,"n"),l=Rp(Kv,"n");if(e.Props)for(r=Op(e.Props),o=0;o<r.length;++o)(Object.prototype.hasOwnProperty.call(i,r[o])?n:Object.prototype.hasOwnProperty.call(l,r[o])?a:s).push([r[o],e.Props[r[o]]]);if(e.Custprops)for(r=Op(e.Custprops),o=0;o<r.length;++o)Object.prototype.hasOwnProperty.call(e.Props||{},r[o])||(Object.prototype.hasOwnProperty.call(i,r[o])?n:Object.prototype.hasOwnProperty.call(l,r[o])?a:s).push([r[o],e.Custprops[r[o]]]);var c=[];for(o=0;o<s.length;++o)Fw.indexOf(s[o][0])>-1||ww.indexOf(s[o][0])>-1||null!=s[o][1]&&c.push(s[o]);a.length&&Np.utils.cfb_add(t,"/SummaryInformation",Hw(a,Yx,l,Kv)),(n.length||c.length)&&Np.utils.cfb_add(t,"/DocumentSummaryInformation",Hw(n,Zx,i,Xv,c.length?c:null,Jx))}(e,n),8==r.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Np.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}(n,Np.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var t_={0:{f:function(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=n,7&s&&(r.level=7&s),16&s&&(r.hidden=!0),32&s&&(r.hpt=a/20),r}},1:{f:function(e){return[Sv(e)]}},2:{f:function(e){return[Sv(e),Fv(e),"n"]}},3:{f:function(e){return[Sv(e),e.read_shift(1),"e"]}},4:{f:function(e){return[Sv(e),e.read_shift(1),"b"]}},5:{f:function(e){return[Sv(e),Uv(e),"n"]}},6:{f:function(e){return[Sv(e),yv(e),"str"]}},7:{f:function(e){return[Sv(e),e.read_shift(4),"s"]}},8:{f:function(e,t,r){var n=e.l+t,a=Sv(e);a.r=r["!row"];var s=[a,yv(e),"str"];if(r.cellFormula){e.l+=2;var o=nE(e,n-e.l,r);s[3]=Yk(o,0,a,r.supbooks,r)}else e.l=n;return s}},9:{f:function(e,t,r){var n=e.l+t,a=Sv(e);a.r=r["!row"];var s=[a,Uv(e),"n"];if(r.cellFormula){e.l+=2;var o=nE(e,n-e.l,r);s[3]=Yk(o,0,a,r.supbooks,r)}else e.l=n;return s}},10:{f:function(e,t,r){var n=e.l+t,a=Sv(e);a.r=r["!row"];var s=[a,e.read_shift(1),"b"];if(r.cellFormula){e.l+=2;var o=nE(e,n-e.l,r);s[3]=Yk(o,0,a,r.supbooks,r)}else e.l=n;return s}},11:{f:function(e,t,r){var n=e.l+t,a=Sv(e);a.r=r["!row"];var s=[a,e.read_shift(1),"e"];if(r.cellFormula){e.l+=2;var o=nE(e,n-e.l,r);s[3]=Yk(o,0,a,r.supbooks,r)}else e.l=n;return s}},12:{f:function(e){return[Av(e)]}},13:{f:function(e){return[Av(e),Fv(e),"n"]}},14:{f:function(e){return[Av(e),e.read_shift(1),"e"]}},15:{f:function(e){return[Av(e),e.read_shift(1),"b"]}},16:{f:HE},17:{f:function(e){return[Av(e),yv(e),"str"]}},18:{f:function(e){return[Av(e),e.read_shift(4),"s"]}},19:{f:xv},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),s=Iv(e),o=aE(e,0,r),i=Ov(e);e.l=n;var l={Name:s,Ptg:o};return a<268435455&&(l.Sheet=a),i&&(l.Comment=i),l}},40:{},42:{},43:{f:function(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),700===e.read_shift(2)&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var s=e.read_shift(1);0!=s&&(n.underline=s);var o=e.read_shift(1);o>0&&(n.family=o);var i=e.read_shift(1);switch(i>0&&(n.charset=i),e.l++,n.color=function(e){var t={},r=e.read_shift(1)>>>1,n=e.read_shift(1),a=e.read_shift(2,"i"),s=e.read_shift(1),o=e.read_shift(1),i=e.read_shift(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=n;var l=Qv[n];l&&(t.rgb=ky(l));break;case 2:t.rgb=ky([s,o,i]);break;case 3:t.theme=n}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=yv(e),n}},44:{f:function(e,t){return[e.read_shift(2),yv(e)]}},45:{f:Uy},46:{f:qy},47:{f:function(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}},48:{},49:{f:function(e){return e.read_shift(4,"i")}},50:{},51:{f:function(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Fb},62:{f:function(e){return[Sv(e),xv(e),"is"]}},63:{f:function(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=hv(r);var n=e.read_shift(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Yg,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=Bv(e),r}},148:{f:zE,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?yv(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Dv(e),r.name=yv(e),r}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:Lv},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:UE},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:yv(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e.read_shift(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:Dv},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Ob},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,r){var n=e.l+t,a=zv(e),s=e.read_shift(1),o=[a];if(o[2]=s,r.cellFormula){var i=rE(e,n-e.l,r);o[1]=i}else e.l=n;return o}},427:{f:function(e,t,r){var n=e.l+t,a=[Lv(e)];if(r.cellFormula){var s=sE(e,n-e.l,r);a[1]=s,e.l=n}else e.l=n;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return jE.forEach((function(r){t[r]=Uv(e)})),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var r=e.l+t,n=Lv(e),a=Ov(e),s=yv(e),o=yv(e),i=yv(e);e.l=r;var l={rfx:n,relId:a,loc:s,display:i};return o&&(l.Tooltip=o),l}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:Dv},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:gk},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var r=Lv(e);return t.rfx=r.s,t.ref=hv(r.s),e.l+=16,t}},636:{T:-1},637:{f:_v},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:yv(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},r_={6:{f:Qk},10:{f:Uw},12:{f:$w},13:{f:$w},14:{f:Ww},15:{f:Ww},16:{f:Uv},17:{f:Ww},18:{f:Ww},19:{f:$w},20:{f:Ab},21:{f:Ab},23:{f:Ob},24:{f:Mb},25:{f:Ww},26:{},27:{},28:{f:function(e,t,r){return function(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2),o=e.read_shift(2),i=eb(e,0,r);return r.biff<8&&e.read_shift(1),[{r:n,c:a},i,o,s]}}(e,0,r)}},29:{},34:{f:Ww},35:{f:Nb},38:{f:Uv},39:{f:Uv},40:{f:Uv},41:{f:Uv},42:{f:Ww},43:{f:Ww},47:{f:function(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?by(e,t-2,n):function(e,t,r,n){var a={key:$w(e),verificationBytes:$w(e)};r.password&&(a.verifier=gy(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=wy(r.password))}(e,r.biff,r,n),n}},49:{f:function(e,t,r){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return n.name=Kw(e,0,r),n}},51:{f:$w},60:{},61:{f:function(e){return{Pos:[e.read_shift(2),e.read_shift(2)],Dim:[e.read_shift(2),e.read_shift(2)],Flags:e.read_shift(2),CurTab:e.read_shift(2),FirstTab:e.read_shift(2),Selected:e.read_shift(2),TabRatio:e.read_shift(2)}}},64:{f:Ww},65:{f:function(){}},66:{f:$w},77:{},80:{},81:{},82:{},85:{f:$w},89:{},90:{},91:{},92:{f:function(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=eb(e,0,r);return e.read_shift(t+n-e.l),a}},93:{f:function(e,t,r){if(r&&r.biff<8)return function(e,t,r){e.l+=4;var n=e.read_shift(2),a=e.read_shift(2),s=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((Ib[n]||Yg)(e,t,r)),{cmo:[a,n,s],ft:o}}(e,t,r);var n=gb(e),a=function(e,t){for(var r=e.l+t,n=[];e.l<r;){var a=e.read_shift(2);e.l-=2;try{n.push(wb[a](e,r-e.l))}catch(s){return e.l=r,n}}return e.l!=r&&(e.l=r),n}(e,t-22,n[1]);return{cmo:n,ft:a}}},94:{},95:{f:Ww},96:{},97:{},99:{f:Ww},125:{f:Fb},128:{f:function(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{f:function(e,t,r){var n=r&&8==r.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:$w},131:{f:Ww},132:{f:Ww},133:{f:function(e,t,r){var n=e.read_shift(4),a=3&e.read_shift(1),s=e.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule"}var o=Kw(e,0,r);return 0===o.length&&(o="Sheet1"),{pos:n,hs:a,dt:s,name:o}}},134:{},140:{f:function(e){var t,r=[0,0];return t=e.read_shift(2),r[0]=Yv[t]||t,t=e.read_shift(2),r[1]=Yv[t]||t,r}},141:{f:$w},144:{},146:{f:function(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(ib(e));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:$w},157:{},158:{},160:{f:zb},161:{f:function(e,t){var r={};return t<32||(e.l+=16,r.header=Uv(e),r.footer=Uv(e),e.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l<r;)s.push(fb(e));if(e.l!==r)throw new Error("MulRK read error");var o=e.read_shift(2);if(s.length!=o-a+1)throw new Error("MulRK length mismatch");return{r:n,c:a,C:o,rkrec:s}}},190:{f:function(e,t){for(var r=e.l+t-2,n=e.read_shift(2),a=e.read_shift(2),s=[];e.l<r;)s.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var o=e.read_shift(2);if(s.length!=o-a+1)throw new Error("MulBlank length mismatch");return{r:n,c:a,C:o,ixfe:s}}},193:{f:Uw},197:{},198:{},199:{},200:{},201:{},202:{f:Ww},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:$w},220:{},221:{f:Ww},222:{},224:{f:function(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,n.data=function(e,t,r,n){var a={},s=e.read_shift(4),o=e.read_shift(4),i=e.read_shift(4),l=e.read_shift(2);return a.patternType=Zv[i>>26],n.cellStyles?(a.alc=7&s,a.fWrap=s>>3&1,a.alcV=s>>4&7,a.fJustLast=s>>7&1,a.trot=s>>8&255,a.cIndent=s>>16&15,a.fShrinkToFit=s>>20&1,a.iReadOrder=s>>22&2,a.fAtrNum=s>>26&1,a.fAtrFnt=s>>27&1,a.fAtrAlc=s>>28&1,a.fAtrBdr=s>>29&1,a.fAtrPat=s>>30&1,a.fAtrProt=s>>31&1,a.dgLeft=15&o,a.dgRight=o>>4&15,a.dgTop=o>>8&15,a.dgBottom=o>>12&15,a.icvLeft=o>>16&127,a.icvRight=o>>23&127,a.grbitDiag=o>>30&3,a.icvTop=127&i,a.icvBottom=i>>7&127,a.icvDiag=i>>14&127,a.dgDiag=i>>21&15,a.icvFore=127&l,a.icvBack=l>>7&127,a.fsxButton=l>>14&1,a):a}(e,0,n.fStyle,r),n}},225:{f:function(e,t){return 0===t||e.read_shift(2),1200}},226:{f:Uw},227:{},229:{f:function(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(ub(e));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(e,t){for(var r=e.l+t,n=e.read_shift(4),a=e.read_shift(4),s=[],o=0;o!=a&&e.l<r;++o)s.push(Yw(e));return s.Count=n,s.Unique=a,s}},253:{f:function(e){var t=lb(e);return t.isst=e.read_shift(4),t}},255:{f:function(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Gw},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Ww},353:{f:Uw},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(e,t,r){var n=e.l+t,a=e.read_shift(2),s=e.read_shift(2);if(r.sbcch=s,1025==s||14849==s)return[s,a];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);for(var o=Jw(e,s),i=[];n>e.l;)i.push(Qw(e));return[s,a,o,i]}},431:{f:Ww},432:{},433:{},434:{},437:{},438:{f:function(e,t,r){var n=e.l,a="";try{e.l+=4;var s=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(s)?e.l+=6:function(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}(e);var o=e.read_shift(2);e.read_shift(2),$w(e);var i=e.read_shift(2);e.l+=i;for(var l=1;l<e.lens.length-1;++l){if(e.l-n!=e.lens[l])throw new Error("TxO: bad continue record");var c=e[e.l];if((a+=Jw(e,e.lens[l+1]-e.lens[l]-1)).length>=(c?o:2*o))break}if(a.length!==o&&a.length!==2*o)throw new Error("cchText: "+o+" != "+a.length);return e.l=n+t,{t:a}}catch(h){return e.l=n+t,{t:a}}}},439:{f:Ww},440:{f:function(e,t){var r=ub(e);e.l+=16;var n=function(e,t){var r=e.l+t,n=e.read_shift(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var a=e.read_shift(2);e.l+=2;var s,o,i,l,c,h,f="";16&a&&(s=nb(e,e.l)),128&a&&(o=nb(e,e.l)),257&~a||(i=nb(e,e.l)),1==(257&a)&&(l=rb(e,e.l)),8&a&&(f=nb(e,e.l)),32&a&&(c=e.read_shift(16)),64&a&&(h=Sw(e)),e.l=r;var u=o||i||l||"";u&&f&&(u+="#"+f),u||(u="#"+f),2&a&&"/"==u.charAt(0)&&"/"!=u.charAt(1)&&(u="file://"+u);var d={Target:u};return c&&(d.guid=c),h&&(d.time=h),s&&(d.Tooltip=s),d}(e,t-24);return[r,n]}},441:{},442:{f:Qw},443:{},444:{f:$w},445:{},446:{},448:{f:Uw},449:{f:function(e){return e.read_shift(2),e.read_shift(4)},r:2},450:{f:Uw},512:{f:Cb},513:{f:Vb},515:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=lb(e),a=Uv(e);return n.val=a,n}},516:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5),e.l;var n=lb(e);2==r.biff&&e.l++;var a=Qw(e,e.l,r);return n.val=a,n}},517:{f:Tb},519:{f:Lb},520:{f:function(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var n=e.read_shift(1);return e.l+=3,7&n&&(t.level=7&n),32&n&&(t.hidden=!0),64&n&&(t.hpt=r/20),t}},523:{},545:{f:Rb},549:{f:Eb},566:{},574:{f:function(e,t,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&e.read_shift(2)}}},638:{f:function(e){var t=e.read_shift(2),r=e.read_shift(2),n=fb(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(e,t,r){return[e.read_shift(2),eb(e,0,r)]}},1084:{},1212:{f:function(e,t,r){var n=pb(e);e.l++;var a=e.read_shift(1);return[Jk(e,t-=8,r),a,n]}},2048:{f:function(e,t){e.read_shift(2);var r=ub(e),n=e.read_shift((t-10)/2,"dbcs-cont");return[r,n=n.replace(Rd,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:bb},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Uw},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t},r:12},2173:{f:function(e,t){e.l,e.l+=2;var r=e.read_shift(2);e.l+=2;for(var n=e.read_shift(2),a=[];n-- >0;)a.push(lk(e,e.l));return{ixfe:r,ext:a}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Ww,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(e,t,r){if(!(r.biff<8)){var n=e.read_shift(2),a=e.read_shift(2);return[Jw(e,n,r),Jw(e,a,r)]}e.l+=t},r:12},2197:{},2198:{f:function(e,t,r){var n=e.l+t;if(124226!==e.read_shift(4))if(r.cellStyles){var a,s=e.slice(e.l);e.l=n;try{a=cm(s,{type:"array"})}catch(i){return}var o=sm(a,"theme/theme/theme1.xml",!0);if(o)return sk(o,r)}else e.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(e){return[0!==e.read_shift(4),0!==e.read_shift(4),e.read_shift(4)]},r:12},2203:{f:Uw},2204:{},2205:{},2206:{},2207:{},2211:{f:function(e){var t=function(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e.read_shift(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:$w},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(e,t,r){var n={area:!1};if(5!=r.biff)return e.l+=t,n;var a=e.read_shift(1);return e.l+=3,16&a&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(ib(e));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:Cb},1:{},2:{f:function(e){var t=lb(e);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}},3:{f:function(e){var t=lb(e);++e.l;var r=Uv(e);return t.t="n",t.val=r,t}},4:{f:function(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=lb(e);++e.l;var a=eb(e,0,r);return n.t="str",n.val=a,n}},5:{f:Tb},7:{f:function(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}},8:{},9:{f:bb},11:{},22:{f:$w},30:{f:_b},31:{},32:{},33:{f:Rb},36:{},37:{f:Eb},50:{f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{},52:{},67:{},68:{f:$w},69:{},86:{},126:{},127:{f:function(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(e,t,r){var n=e.l+t,a=lb(e),s=e.read_shift(2),o=Jw(e,s,r);return e.l=n,a.t="str",a.val=o,a}},223:{},234:{},354:{},421:{},518:{f:Qk},521:{f:bb},536:{f:Mb},547:{f:Nb},561:{},579:{},1030:{f:Qk},1033:{f:bb},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function n_(e,t,r,n){var a=t;if(!isNaN(a)){var s=n||(r||[]).length||0,o=e.next(4);o.write_shift(2,a),o.write_shift(2,s),s>0&&Pg(r)&&e.push(r)}}function a_(e,t,r){return e||(e=Zg(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function s_(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?Fp(qp(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?n_(e,2,(s=r,o=n,i=a,l=Zg(9),a_(l,s,o),l.write_shift(2,i),l)):n_(e,3,function(e,t,r){var n=Zg(15);return a_(n,e,t),n.write_shift(8,r,"f"),n}(r,n,a)));case"b":case"e":return void n_(e,5,function(e,t,r,n){var a=Zg(9);return a_(a,e,t),Xw(r,n||"b",a),a}(r,n,t.v,t.t));case"s":case"str":return void n_(e,4,function(e,t,r){var n=Zg(8+2*r.length);return a_(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}(r,n,(t.v||"").slice(0,255)))}var s,o,i,l;n_(e,1,a_(null,r,n))}function o_(e,t){for(var r=t||{},n=Qg(),a=0,s=0;s<e.SheetNames.length;++s)e.SheetNames[s]==r.sheet&&(a=s);if(0==a&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return n_(n,4==r.biff?1033:3==r.biff?521:9,yb(0,16,r)),function(e,t,r,n){var a,s=Array.isArray(t),o=dv(t["!ref"]||"A1"),i="",l=[];if(o.e.c>255||o.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");o.e.c=Math.min(o.e.c,255),o.e.r=Math.min(o.e.c,16383),a=uv(o)}for(var c=o.s.r;c<=o.e.r;++c){i=ov(c);for(var h=o.s.c;h<=o.e.c;++h){c===o.s.r&&(l[h]=lv(h)),a=l[h]+i;var f=s?(t[c]||[])[h]:t[a];f&&s_(e,f,c,h)}}}(n,e.Sheets[e.SheetNames[a]],0,r),n_(n,10),n.end()}function i_(e,t,r){n_(e,49,function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=Zg(n?15+r.length:16+2*r.length);return a.write_shift(2,20*e.sz),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,r.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}({sz:12,name:"Arial"},r))}function l_(e,t){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&n_(e,125,function(e,t){var r=Zg(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,256*e.width),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}(mE(n,t),n))}))}}function c_(e,t,r,n,a){var s=16+vE(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)n_(e,6,eE(t,r,n,0,s));else switch(t.t){case"d":case"n":n_(e,515,function(e,t,r,n){var a=Zg(14);return cb(e,t,n,a),Wv(r,a),a}(r,n,"d"==t.t?Fp(qp(t.v)):t.v,s));break;case"b":case"e":n_(e,517,function(e,t,r,n,a,s){var o=Zg(8);return cb(e,t,n,o),Xw(r,s,o),o}(r,n,t.v,s,0,t.t));break;case"s":case"str":if(a.bookSST)n_(e,253,function(e,t,r,n){var a=Zg(10);return cb(e,t,n,a),a.write_shift(4,r),a}(r,n,pE(a.Strings,t.v,a.revStrings),s));else n_(e,516,function(e,t,r,n,a){var s=!a||8==a.biff,o=Zg(+s+8+(1+s)*r.length);return cb(e,t,n,o),o.write_shift(2,r.length),s&&o.write_shift(1,1),o.write_shift((1+s)*r.length,r,s?"utf16le":"sbcs"),o}(r,n,(t.v||"").slice(0,255),s,a));break;default:n_(e,513,cb(r,n,s))}else n_(e,513,cb(r,n,s))}function h_(e,t,r){var n,a,s=Qg(),o=r.SheetNames[e],i=r.Sheets[o]||{},l=(r||{}).Workbook||{},c=(l.Sheets||[])[e]||{},h=Array.isArray(i),f=8==t.biff,u="",d=[],p=dv(i["!ref"]||"A1"),m=f?65536:16384;if(p.e.c>255||p.e.r>=m){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");p.e.c=Math.min(p.e.c,255),p.e.r=Math.min(p.e.c,m-1)}n_(s,2057,yb(0,16,t)),n_(s,13,qw(1)),n_(s,12,qw(100)),n_(s,15,jw(!0)),n_(s,17,jw(!1)),n_(s,16,Wv(.001)),n_(s,95,jw(!0)),n_(s,42,jw(!1)),n_(s,43,jw(!1)),n_(s,130,qw(1)),n_(s,128,((a=Zg(8)).write_shift(4,0),a.write_shift(2,0),a.write_shift(2,0),a)),n_(s,131,jw(!1)),n_(s,132,jw(!1)),f&&l_(s,i["!cols"]),n_(s,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=Zg(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}(p,t)),f&&(i["!links"]=[]);for(var g=p.s.r;g<=p.e.r;++g){u=ov(g);for(var v=p.s.c;v<=p.e.c;++v){g===p.s.r&&(d[v]=lv(v)),n=d[v]+u;var w=h?(i[g]||[])[v]:i[n];w&&(c_(s,w,g,v,t),f&&w.l&&i["!links"].push([n,w.l]))}}var b=c.CodeName||c.name||o;return f&&n_(s,574,function(e){var t=Zg(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}((l.Views||[])[0])),f&&(i["!merges"]||[]).length&&n_(s,229,function(e){var t=Zg(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)db(e[r],t);return t}(i["!merges"])),f&&function(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];n_(e,440,Db(n)),n[1].Tooltip&&n_(e,2048,Pb(n))}delete t["!links"]}(s,i),n_(s,442,tb(b)),f&&function(e,t){var r=Zg(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),n_(e,2151,r),(r=Zg(39)).write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),db(dv(t["!ref"]||"A1"),r),r.write_shift(4,4),n_(e,2152,r)}(s,i),n_(s,10),s.end()}function f_(e,t,r){var n,a=Qg(),s=(e||{}).Workbook||{},o=s.Sheets||[],i=s.WBProps||{},l=8==r.biff,c=5==r.biff;(n_(a,2057,yb(0,5,r)),"xla"==r.bookType&&n_(a,135),n_(a,225,l?qw(1200):null),n_(a,193,function(e,t){t||(t=Zg(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}(2)),c&&n_(a,191),c&&n_(a,192),n_(a,226),n_(a,92,function(e,t){var r=!t||8==t.biff,n=Zg(r?112:54);for(n.write_shift(8==t.biff?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}(0,r)),n_(a,66,qw(l?1200:1252)),l&&n_(a,353,qw(0)),l&&n_(a,448),n_(a,317,function(e){for(var t=Zg(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}(e.SheetNames.length)),l&&e.vbaraw&&n_(a,211),l&&e.vbaraw)&&n_(a,442,tb(i.CodeName||"ThisWorkbook"));n_(a,156,qw(17)),n_(a,25,jw(!1)),n_(a,18,jw(!1)),n_(a,19,qw(0)),l&&n_(a,431,jw(!1)),l&&n_(a,444,qw(0)),n_(a,61,((n=Zg(18)).write_shift(2,0),n.write_shift(2,0),n.write_shift(2,29280),n.write_shift(2,17600),n.write_shift(2,56),n.write_shift(2,0),n.write_shift(2,0),n.write_shift(2,1),n.write_shift(2,500),n)),n_(a,64,jw(!1)),n_(a,141,qw(0)),n_(a,34,jw("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&Nm(e.Workbook.WBProps.date1904)?"true":"false"}(e))),n_(a,14,jw(!0)),l&&n_(a,439,jw(!1)),n_(a,218,qw(0)),i_(a,0,r),function(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var a=n[0];a<=n[1];++a)null!=t[a]&&n_(e,1054,xb(a,t[a],r))}))}(a,e.SSF,r),function(e,t){for(var r=0;r<16;++r)n_(e,224,Sb({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){n_(e,224,Sb(r,0,t))}))}(a,r),l&&n_(a,352,jw(!1));var h=a.end(),f=Qg();l&&n_(f,140,function(e){return e||(e=Zg(4)),e.write_shift(2,1),e.write_shift(2,1),e}()),l&&r.Strings&&function(e,t,r){var n=(r||[]).length||0;if(n<=8224)return n_(e,t,r,n);var a=t;if(!isNaN(a)){for(var s=r.parts||[],o=0,i=0,l=0;l+(s[o]||8224)<=8224;)l+=s[o]||8224,o++;var c=e.next(4);for(c.write_shift(2,a),c.write_shift(2,l),e.push(r.slice(i,i+l)),i+=l;i<n;){for((c=e.next(4)).write_shift(2,60),l=0;l+(s[o]||8224)<=8224;)l+=s[o]||8224,o++;c.write_shift(2,l),e.push(r.slice(i,i+l)),i+=l}}}(f,252,function(e){var t=Zg(8);t.write_shift(4,e.Count),t.write_shift(4,e.Unique);for(var r=[],n=0;n<e.length;++n)r[n]=Zw(e[n]);var a=Od([t].concat(r));return a.parts=[t.length].concat(r.map((function(e){return e.length}))),a}(r.Strings)),n_(f,10);var u=f.end(),d=Qg(),p=0,m=0;for(m=0;m<e.SheetNames.length;++m)p+=(l?12:11)+(l?2:1)*e.SheetNames[m].length;var g=h.length+p+u.length;for(m=0;m<e.SheetNames.length;++m){n_(d,133,kb({pos:g,hs:(o[m]||{}).Hidden||0,dt:0,name:e.SheetNames[m]},r)),g+=t[m].length}var v=d.end();if(p!=v.length)throw new Error("BS8 "+p+" != "+v.length);var w=[];return h.length&&w.push(h),v.length&&w.push(v),u.length&&w.push(u),Od(w)}function u_(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(n&&n["!ref"])fv(n["!ref"]).e.c>255&&"undefined"!=typeof console&&console.error}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=Xp(jd)),e&&e.SSF&&(Cp(),_p(e.SSF),r.revssf=Dp(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,tC(r),r.cellXfs=[],vE(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=h_(a,r,e);return n.unshift(f_(e,n,r)),Od(n)}(e,t);case 4:case 3:case 2:return o_(e,t)}throw new Error("invalid type "+a.bookType+" for BIFF")}function d_(e,t){var r=t||{},n=r.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i),o=a.index,i=s&&s.index||e.length,l=Qp(e.slice(o,i),/(:?<tr[^>]*>)/i,"<tr>"),c=-1,h=0,f=0,u=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(o=0;o<l.length;++o){var m=l[o].trim(),g=m.slice(0,3).toLowerCase();if("<tr"!=g){if("<td"==g||"<th"==g){var v=m.split(/<\/t[dh]>/i);for(i=0;i<v.length;++i){var w=v[i].trim();if(w.match(/<t[dh]/i)){for(var b=w,y=0;"<"==b.charAt(0)&&(y=b.indexOf(">"))>-1;)b=b.slice(y+1);for(var k=0;k<p.length;++k){var E=p[k];E.s.c==h&&E.s.r<c&&c<=E.e.r&&(h=E.e.c+1,k=-1)}var x=vm(w.slice(0,w.indexOf(">")));u=x.colspan?+x.colspan:1,((f=+x.rowspan)>1||u>1)&&p.push({s:{r:c,c:h},e:{r:c+(f||1)-1,c:h+u-1}});var _=x.t||x["data-t"]||"";if(b.length)if(b=Fm(b),d.s.r>c&&(d.s.r=c),d.e.r<c&&(d.e.r=c),d.s.c>h&&(d.s.c=h),d.e.c<h&&(d.e.c=h),b.length){var C={t:"s",v:b};r.raw||!b.trim().length||"s"==_||("TRUE"===b?C={t:"b",v:!0}:"FALSE"===b?C={t:"b",v:!1}:isNaN(Yp(b))?isNaN(Jp(b).getDate())||(C={t:"d",v:qp(b)},r.cellDates||(C={t:"n",v:Fp(C.v)}),C.z=r.dateNF||jd[14]):C={t:"n",v:Yp(b)}),r.dense?(n[c]||(n[c]=[]),n[c][h]=C):n[hv({r:c,c:h})]=C,h+=u}else h+=u;else h+=u}}}}else{if(++c,r.sheetRows&&r.sheetRows<=c){--c;break}h=0}}return n["!ref"]=uv(d),p.length&&(n["!merges"]=p),n}function p_(e,t,r,n){for(var a=e["!merges"]||[],s=[],o=t.s.c;o<=t.e.c;++o){for(var i=0,l=0,c=0;c<a.length;++c)if(!(a[c].s.r>r||a[c].s.c>o||a[c].e.r<r||a[c].e.c<o)){if(a[c].s.r<r||a[c].s.c<o){i=-1;break}i=a[c].e.r-a[c].s.r+1,l=a[c].e.c-a[c].s.c+1;break}if(!(i<0)){var h=hv({r:r,c:o}),f=n.dense?(e[r]||[])[o]:e[h],u=f&&null!=f.v&&(f.h||Tm(f.w||(mv(f),f.w)||""))||"",d={};i>1&&(d.rowspan=i),l>1&&(d.colspan=l),n.editable?u='<span contenteditable="true">'+u+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(u='<a href="'+f.l.Target+'">'+u+"</a>")),d.id=(n.id||"sjs")+"-"+h,s.push($m("td",u,d))}}return"<tr>"+s.join("")+"</tr>"}function m_(e,t){var r=t||{},n=null!=r.header?r.header:'<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',a=null!=r.footer?r.footer:"</body></html>",s=[n],o=fv(e["!ref"]);r.dense=Array.isArray(e),s.push(function(e,t,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}(0,0,r));for(var i=o.s.r;i<=o.e.r;++i)s.push(p_(e,o,i,r));return s.push("</table>"+a),s.join("")}function g_(e,t,r){var n=r||{},a=0,s=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var o="string"==typeof n.origin?cv(n.origin):n.origin;a=o.r,s=o.c}var i=t.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,i.length),c={s:{r:0,c:0},e:{r:a,c:s}};if(e["!ref"]){var h=fv(e["!ref"]);c.s.r=Math.min(c.s.r,h.s.r),c.s.c=Math.min(c.s.c,h.s.c),c.e.r=Math.max(c.e.r,h.e.r),c.e.c=Math.max(c.e.c,h.e.c),-1==a&&(c.e.r=a=h.e.r+1)}var f=[],u=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,g=0,v=0,w=0,b=0;for(e["!cols"]||(e["!cols"]=[]);p<i.length&&m<l;++p){var y=i[p];if(w_(y)){if(n.display)continue;d[m]={hidden:!0}}var k=y.children;for(g=v=0;g<k.length;++g){var E=k[g];if(!n.display||!w_(E)){var x=E.hasAttribute("data-v")?E.getAttribute("data-v"):E.hasAttribute("v")?E.getAttribute("v"):Fm(E.innerHTML),_=E.getAttribute("data-z")||E.getAttribute("z");for(u=0;u<f.length;++u){var C=f[u];C.s.c==v+s&&C.s.r<m+a&&m+a<=C.e.r&&(v=C.e.c+1-s,u=-1)}b=+E.getAttribute("colspan")||1,((w=+E.getAttribute("rowspan")||1)>1||b>1)&&f.push({s:{r:m+a,c:v+s},e:{r:m+a+(w||1)-1,c:v+s+(b||1)-1}});var S={t:"s",v:x},T=E.getAttribute("data-t")||E.getAttribute("t")||"";null!=x&&(0==x.length?S.t=T||"z":n.raw||0==x.trim().length||"s"==T||("TRUE"===x?S={t:"b",v:!0}:"FALSE"===x?S={t:"b",v:!1}:isNaN(Yp(x))?isNaN(Jp(x).getDate())||(S={t:"d",v:qp(x)},n.cellDates||(S={t:"n",v:Fp(S.v)}),S.z=n.dateNF||jd[14]):S={t:"n",v:Yp(x)})),void 0===S.z&&null!=_&&(S.z=_);var A="",N=E.getElementsByTagName("A");if(N&&N.length)for(var B=0;B<N.length&&(!N[B].hasAttribute("href")||"#"==(A=N[B].getAttribute("href")).charAt(0));++B);A&&"#"!=A.charAt(0)&&(S.l={Target:A}),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][v+s]=S):e[hv({c:v+s,r:m+a})]=S,c.e.c<v+s&&(c.e.c=v+s),v+=b}}++m}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),c.e.r=Math.max(c.e.r,m-1+a),e["!ref"]=uv(c),m>=l&&(e["!fullref"]=uv((c.e.r=i.length-p+m-1+a,c))),e}function v_(e,t){return g_((t||{}).dense?[]:{},e,t)}function w_(e){var t="",r=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var b_={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function y_(e,t){var r,n,a,s,o,i,l,c,h=t||{},f=Gm(e),u=[],d={name:""},p="",m=0,g={},v=[],w=h.dense?[]:{},b={value:""},y="",k=0,E=[],x=-1,_=-1,C={s:{r:1e6,c:1e7},e:{r:0,c:0}},S=0,T={},A=[],N={},B=[],M=1,O=1,R=[],I={Names:[]},D={},P=["",""],F=[],V={},z="",L=0,H=!1,U=!1,W=0;for(Xm.lastIndex=0,f=f.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");o=Xm.exec(f);)switch(o[3]=o[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===o[1]?(C.e.c>=C.s.c&&C.e.r>=C.s.r?w["!ref"]=uv(C):w["!ref"]="A1:A1",h.sheetRows>0&&h.sheetRows<=C.e.r&&(w["!fullref"]=w["!ref"],C.e.r=h.sheetRows-1,w["!ref"]=uv(C)),A.length&&(w["!merges"]=A),B.length&&(w["!rows"]=B),a.name=a["名称"]||a.name,"undefined"!=typeof JSON&&JSON.stringify(a),v.push(a.name),g[a.name]=w,U=!1):"/"!==o[0].charAt(o[0].length-2)&&(a=vm(o[0],!1),x=_=-1,C.s.r=C.s.c=1e7,C.e.r=C.e.c=0,w=h.dense?[]:{},A=[],B=[],U=!0);break;case"table-row-group":"/"===o[1]?--S:++S;break;case"table-row":case"行":if("/"===o[1]){x+=M,M=1;break}if((s=vm(o[0],!1))["行号"]?x=s["行号"]-1:-1==x&&(x=0),(M=+s["number-rows-repeated"]||1)<10)for(W=0;W<M;++W)S>0&&(B[x+W]={level:S});_=-1;break;case"covered-table-cell":"/"!==o[1]&&++_,h.sheetStubs&&(h.dense?(w[x]||(w[x]=[]),w[x][_]={t:"z"}):w[hv({r:x,c:_})]={t:"z"}),y="",E=[];break;case"table-cell":case"数据":if("/"===o[0].charAt(o[0].length-2))++_,b=vm(o[0],!1),O=parseInt(b["number-columns-repeated"]||"1",10),i={t:"z",v:null},b.formula&&0!=h.cellFormula&&(i.f=cE(km(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(i.t="s",i.v=km(b["string-value"]||""),h.dense?(w[x]||(w[x]=[]),w[x][_]=i):w[hv({r:x,c:_})]=i),_+=O-1;else if("/"!==o[1]){y="",k=0,E=[],O=1;var j=M?x+M-1:x;if(++_>C.e.c&&(C.e.c=_),_<C.s.c&&(C.s.c=_),x<C.s.r&&(C.s.r=x),j>C.e.r&&(C.e.r=j),F=[],V={},i={t:(b=vm(o[0],!1))["数据类型"]||b["value-type"],v:null},h.cellFormula)if(b.formula&&(b.formula=km(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(N={s:{r:x,c:_},e:{r:x+(parseInt(b["number-matrix-rows-spanned"],10)||0)-1,c:_+(parseInt(b["number-matrix-columns-spanned"],10)||0)-1}},i.F=uv(N),R.push([N,i.F])),b.formula)i.f=cE(b.formula);else for(W=0;W<R.length;++W)x>=R[W][0].s.r&&x<=R[W][0].e.r&&_>=R[W][0].s.c&&_<=R[W][0].e.c&&(i.F=R[W][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(N={s:{r:x,c:_},e:{r:x+(parseInt(b["number-rows-spanned"],10)||0)-1,c:_+(parseInt(b["number-columns-spanned"],10)||0)-1}},A.push(N)),b["number-columns-repeated"]&&(O=parseInt(b["number-columns-repeated"],10)),i.t){case"boolean":i.t="b",i.v=Nm(b["boolean-value"]);break;case"float":case"percentage":case"currency":i.t="n",i.v=parseFloat(b.value);break;case"date":i.t="d",i.v=qp(b["date-value"]),h.cellDates||(i.t="n",i.v=Fp(i.v)),i.z="m/d/yy";break;case"time":i.t="n",i.v=Up(b["time-value"])/86400,h.cellDates&&(i.t="d",i.v=Hp(i.v)),i.z="HH:MM:SS";break;case"number":i.t="n",i.v=parseFloat(b["数据数值"]);break;default:if("string"!==i.t&&"text"!==i.t&&i.t)throw new Error("Unsupported value type "+i.t);i.t="s",null!=b["string-value"]&&(y=km(b["string-value"]),E=[])}}else{if(H=!1,"s"===i.t&&(i.v=y||"",E.length&&(i.R=E),H=0==k),D.Target&&(i.l=D),F.length>0&&(i.c=F,F=[]),y&&!1!==h.cellText&&(i.w=y),H&&(i.t="z",delete i.v),(!H||h.sheetStubs)&&!(h.sheetRows&&h.sheetRows<=x))for(var $=0;$<M;++$){if(O=parseInt(b["number-columns-repeated"]||"1",10),h.dense)for(w[x+$]||(w[x+$]=[]),w[x+$][_]=0==$?i:Xp(i);--O>0;)w[x+$][_+O]=Xp(i);else for(w[hv({r:x+$,c:_})]=i;--O>0;)w[hv({r:x+$,c:_+O})]=Xp(i);C.e.c<=_&&(C.e.c=_)}_+=(O=parseInt(b["number-columns-repeated"]||"1",10))-1,O=0,i={},y="",E=[]}D={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===o[1]){if((r=u.pop())[0]!==o[3])throw"Bad state: "+r}else"/"!==o[0].charAt(o[0].length-2)&&u.push([o[3],!0]);break;case"annotation":if("/"===o[1]){if((r=u.pop())[0]!==o[3])throw"Bad state: "+r;V.t=y,E.length&&(V.R=E),V.a=z,F.push(V)}else"/"!==o[0].charAt(o[0].length-2)&&u.push([o[3],!1]);z="",L=0,y="",k=0,E=[];break;case"creator":"/"===o[1]?z=f.slice(L,o.index):L=o.index+o[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===o[1]){if((r=u.pop())[0]!==o[3])throw"Bad state: "+r}else"/"!==o[0].charAt(o[0].length-2)&&u.push([o[3],!1]);y="",k=0,E=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"fraction":case"boolean-style":case"boolean":case"text-style":case"text-content":case"text-properties":case"embedded-text":case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===o[1]){if(T[d.name]=p,(r=u.pop())[0]!==o[3])throw"Bad state: "+r}else"/"!==o[0].charAt(o[0].length-2)&&(p="",d=vm(o[0],!1),u.push([o[3],!0]));break;case"number":case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":n=vm(o[0],!1),p+=b_[o[3]]["long"===n.style?1:0]}break;case"text":if("/>"===o[0].slice(-2))break;if("/"===o[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":p+=f.slice(m,o.index)}else m=o.index+o[0].length;break;case"named-range":P=hE((n=vm(o[0],!1))["cell-range-address"]);var q={Name:n.name,Ref:P[0]+"!"+P[1]};U&&(q.Sheet=v.length),I.Names.push(q);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==o[1]||b&&b["string-value"])vm(o[0],!1),k=o.index+o[0].length;else{var G=(l=f.slice(k,o.index),c=void 0,c=l.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n"),[km(c.replace(/<[^>]*>/g,""))]);y=(y.length>0?y+"\n":"")+G[0]}break;case"database-range":if("/"===o[1])break;try{g[(P=hE(vm(o[0])["target-range-address"]))[0]]["!autofilter"]={ref:P[1]}}catch(K){}break;case"a":if("/"!==o[1]){if(!(D=vm(o[0],!1)).href)break;D.Target=km(D.href),delete D.href,"#"==D.Target.charAt(0)&&D.Target.indexOf(".")>-1?(P=hE(D.Target.slice(1)),D.Target="#"+P[0]+"!"+P[1]):D.Target.match(/^\.\.[\\\/]/)&&(D.Target=D.Target.slice(3))}break;default:switch(o[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(h.WTF)throw new Error(o)}}var X={Sheets:g,SheetNames:v,Workbook:I};return h.bookSheets&&delete X.Sheets,X}function k_(e,t){t=t||{},rm(e,"META-INF/manifest.xml")&&function(e,t){for(var r,n,a=Gm(e);r=Xm.exec(a);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=vm(r[0],!1)).path&&"application/vnd.oasis.opendocument.spreadsheet"!==n.type)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}(am(e,"META-INF/manifest.xml"),t);var r=sm(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=y_(Im(r),t);return rm(e,"meta.xml")&&(n.Props=pw(am(e,"meta.xml"))),n}function E_(e,t){return y_(e,t)}var x_=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+jm({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return fm+t}}(),__=function(){var e=" <table:table-cell />\n",t=function(t,r,n){var a=[];a.push(' <table:table table:name="'+_m(r.SheetNames[n])+'" table:style-name="ta1">\n');var s=0,o=0,i=fv(t["!ref"]||"A1"),l=t["!merges"]||[],c=0,h=Array.isArray(t);if(t["!cols"])for(o=0;o<=i.e.c;++o)a.push(" <table:table-column"+(t["!cols"][o]?' table:style-name="co'+t["!cols"][o].ods+'"':"")+"></table:table-column>\n");var f="",u=t["!rows"]||[];for(s=0;s<i.s.r;++s)f=u[s]?' table:style-name="ro'+u[s].ods+'"':"",a.push(" <table:table-row"+f+"></table:table-row>\n");for(;s<=i.e.r;++s){for(f=u[s]?' table:style-name="ro'+u[s].ods+'"':"",a.push(" <table:table-row"+f+">\n"),o=0;o<i.s.c;++o)a.push(e);for(;o<=i.e.c;++o){var d=!1,p={},m="";for(c=0;c!=l.length;++c)if(!(l[c].s.c>o||l[c].s.r>s||l[c].e.c<o||l[c].e.r<s)){l[c].s.c==o&&l[c].s.r==s||(d=!0),p["table:number-columns-spanned"]=l[c].e.c-l[c].s.c+1,p["table:number-rows-spanned"]=l[c].e.r-l[c].s.r+1;break}if(d)a.push(" <table:covered-table-cell/>\n");else{var g=hv({r:s,c:o}),v=h?(t[s]||[])[o]:t[g];if(v&&v.f&&(p["table:formula"]=_m(("of:="+v.f.replace(yk,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),v.F&&v.F.slice(0,g.length)==g)){var w=fv(v.F);p["table:number-matrix-columns-spanned"]=w.e.c-w.s.c+1,p["table:number-matrix-rows-spanned"]=w.e.r-w.s.r+1}if(v){switch(v.t){case"b":m=v.v?"TRUE":"FALSE",p["office:value-type"]="boolean",p["office:boolean-value"]=v.v?"true":"false";break;case"n":m=v.w||String(v.v||0),p["office:value-type"]="float",p["office:value"]=v.v||0;break;case"s":case"str":m=null==v.v?"":v.v,p["office:value-type"]="string";break;case"d":m=v.w||qp(v.v).toISOString(),p["office:value-type"]="date",p["office:date-value"]=qp(v.v).toISOString(),p["table:style-name"]="ce1";break;default:a.push(e);continue}var b=_m(m).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>");if(v.l&&v.l.Target){var y=v.l.Target;"#"==(y="#"==y.charAt(0)?"#"+y.slice(1).replace(/\./,"!"):y).charAt(0)||y.match(/^\w+:/)||(y="../"+y),b=$m("text:a",b,{"xlink:href":y.replace(/&/g,"&")})}a.push(" "+$m("table:table-cell",$m("text:p",b,{}),p)+"\n")}else a.push(e)}}a.push(" </table:table-row>\n")}return a.push(" </table:table>\n"),a.join("")};return function(e,r){var n=[fm],a=jm({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),s=jm({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==r.bookType?(n.push("<office:document"+a+s+">\n"),n.push(fw().replace(/office:document-meta/g,"office:meta"))):n.push("<office:document-content"+a+">\n"),function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var n=0;n<t["!cols"].length;++n)if(t["!cols"][n]){var a=t["!cols"][n];if(null==a.width&&null==a.wpx&&null==a.wch)continue;Ny(a),a.ods=r;var s=t["!cols"][n].wpx+"px";e.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+s+'"/>\n'),e.push(" </style:style>\n"),++r}}));var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var r=0;r<t["!rows"].length;++r)if(t["!rows"][r]){t["!rows"][r].ods=n;var a=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+n+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+a+'"/>\n'),e.push(" </style:style>\n"),++n}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(n,e),n.push(" <office:body>\n"),n.push(" <office:spreadsheet>\n");for(var o=0;o!=e.SheetNames.length;++o)n.push(t(e.Sheets[e.SheetNames[o]],e,o));return n.push(" </office:spreadsheet>\n"),n.push(" </office:body>\n"),"fods"==r.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function C_(e,t){if("fods"==t.bookType)return __(e,t);var r=lm(),n="",a=[],s=[];return im(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),im(r,n="content.xml",__(e,t)),a.push([n,"text/xml"]),s.push([n,"ContentFile"]),im(r,n="styles.xml",x_(e,t)),a.push([n,"text/xml"]),s.push([n,"StylesFile"]),im(r,n="meta.xml",fm+fw()),a.push([n,"text/xml"]),s.push([n,"MetadataFile"]),im(r,n="manifest.rdf",function(e){var t,r,n=[fm];n.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var a=0;a!=e.length;++a)n.push(hw(e[a][0],e[a][1])),n.push((t="",r=e[a][0],[' <rdf:Description rdf:about="'+t+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")));return n.push(hw("","Document","pkg")),n.push("</rdf:RDF>"),n.join("")}(s)),a.push([n,"application/rdf+xml"]),im(r,n="META-INF/manifest.xml",function(e){var t=[fm];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(a)),r}function S_(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function T_(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Im(Bd(e))}function A_(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):Ad(Dm(e))}function N_(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),n=0;return e.forEach((function(e){r.set(e,n),n+=e.length})),r}function B_(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function M_(e,t){var r=t?t[0]:0,n=127&e[r];e:if(e[r++]>=128){if(n|=(127&e[r])<<7,e[r++]<128)break e;if(n|=(127&e[r])<<14,e[r++]<128)break e;if(n|=(127&e[r])<<21,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),n}function O_(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383)break e;if(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)break e;if(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)break e;if(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)break e;if(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103)break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function R_(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128)break e;if(r|=(127&e[t])<<14,e[t++]<128)break e;if(r|=(127&e[t])<<21,e[t++]<128)break e;r|=(127&e[t])<<28}return r}function I_(e){for(var t=[],r=[0];r[0]<e.length;){var n,a=r[0],s=M_(e,r),o=7&s,i=0;if(0==(s=Math.floor(s/8)))break;switch(o){case 0:for(var l=r[0];e[r[0]++]>=128;);n=e.slice(l,r[0]);break;case 5:i=4,n=e.slice(r[0],r[0]+i),r[0]+=i;break;case 1:i=8,n=e.slice(r[0],r[0]+i),r[0]+=i;break;case 2:i=M_(e,r),n=e.slice(r[0],r[0]+i),r[0]+=i;break;default:throw new Error("PB Type ".concat(o," for Field ").concat(s," at offset ").concat(a))}var c={data:n,type:o};null==t[s]?t[s]=[c]:t[s].push(c)}return t}function D_(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push(O_(8*r+e.type)),2==e.type&&t.push(O_(e.data.length)),t.push(e.data))}))})),N_(t)}function P_(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function F_(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=M_(e,n),s=I_(e.slice(n[0],n[0]+a));n[0]+=a;var o={id:R_(s[1][0].data),messages:[]};s[2].forEach((function(t){var r=I_(t.data),a=R_(r[3][0].data);o.messages.push({meta:r,data:e.slice(n[0],n[0]+a)}),n[0]+=a})),(null==(t=s[3])?void 0:t[0])&&(o.merge=R_(s[3][0].data)>>>0>0),r.push(o)}return r}function V_(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:O_(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:O_(+!!e.merge),type:0}]);var n=[];e.messages.forEach((function(e){n.push(e.data),e.meta[3]=[{type:0,data:O_(e.data.length)}],r[2].push({data:D_(e.meta),type:2})}));var a=D_(r);t.push(O_(a.length)),t.push(a),n.forEach((function(e){return t.push(e)}))})),N_(t)}function z_(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=M_(t,r),a=[];r[0]<t.length;){var s=3&t[r[0]];if(0!=s){var o=0,i=0;if(1==s?(i=4+(t[r[0]]>>2&7),o=(224&t[r[0]++])<<3,o|=t[r[0]++]):(i=1+(t[r[0]++]>>2),2==s?(o=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(o=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[N_(a)],0==o)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(i>=o)for(a.push(a[0].slice(-o)),i-=o;i>=a[a.length-1].length;)a.push(a[a.length-1]),i-=a[a.length-1].length;a.push(a[0].slice(-o,-o+i))}else{var l=t[r[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[r[0]],c>1&&(l|=t[r[0]+1]<<8),c>2&&(l|=t[r[0]+2]<<16),c>3&&(l|=t[r[0]+3]<<24),l>>>=0,l++,r[0]+=c}a.push(t.slice(r[0],r[0]+l)),r[0]+=l}}var h=N_(a);if(h.length!=n)throw new Error("Unexpected length: ".concat(h.length," != ").concat(n));return h}function L_(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(z_(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return N_(t)}function H_(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var s=O_(n),o=s.length;t.push(s),n<=60?(o++,t.push(new Uint8Array([n-1<<2]))):n<=256?(o+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(o+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(o+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(o+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),o+=n,a[0]=0,a[1]=255&o,a[2]=o>>8&255,a[3]=o>>16&255,r+=n}return N_(t)}function U_(e,t,r){var n,a=S_(e),s=a.getUint32(8,!0),o=12,i=-1,l=-1,c=NaN,h=NaN,f=new Date(2001,0,1);switch(1&s&&(c=function(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,n=1&e[t+14],a=t+13;a>=t;--a)n=256*n+e[a];return(128&e[t+15]?-n:n)*Math.pow(10,r-6176)}(e,o),o+=16),2&s&&(h=a.getFloat64(o,!0),o+=8),4&s&&(f.setTime(f.getTime()+1e3*a.getFloat64(o,!0)),o+=8),8&s&&(l=a.getUint32(o,!0),o+=4),16&s&&(i=a.getUint32(o,!0),o+=4),e[1]){case 0:break;case 2:case 10:n={t:"n",v:c};break;case 3:n={t:"s",v:t[l]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:h>0};break;case 7:n={t:"n",v:h/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(i>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)));n={t:"s",v:r[i]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)))}return n}function W_(e,t){var r=new Uint8Array(32),n=S_(r),a=12,s=0;switch(r[0]=5,e.t){case"n":r[1]=2,function(e,t,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(127&n)<<1;for(var s=0;a>=1;++s,a/=256)e[t+s]=255&a;e[t+15]|=r>=0?0:128}(r,a,e.v),s|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),s|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),s|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,s,!0),r.slice(0,a)}function j_(e,t){var r=new Uint8Array(32),n=S_(r),a=12,s=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),s|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),s|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),s|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,s,!0),r.slice(0,a)}function $_(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,r,n){var a,s=S_(e),o=s.getUint32(4,!0),i=(n>1?12:8)+4*B_(o&(n>1?3470:398)),l=-1,c=-1,h=NaN,f=new Date(2001,0,1);switch(512&o&&(l=s.getUint32(i,!0),i+=4),i+=4*B_(o&(n>1?12288:4096)),16&o&&(c=s.getUint32(i,!0),i+=4),32&o&&(h=s.getFloat64(i,!0),i+=8),64&o&&(f.setTime(f.getTime()+1e3*s.getFloat64(i,!0)),i+=8),e[2]){case 0:break;case 2:a={t:"n",v:h};break;case 3:a={t:"s",v:t[c]};break;case 5:a={t:"d",v:f};break;case 6:a={t:"b",v:h>0};break;case 7:a={t:"n",v:h/86400};break;case 8:a={t:"e",v:0};break;case 9:if(l>-1)a={t:"s",v:r[l]};else if(c>-1)a={t:"s",v:t[c]};else{if(isNaN(h))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));a={t:"n",v:h}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return a}(e,t,r,e[0]);case 5:return U_(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function q_(e){return M_(I_(e)[1][0].data)}function G_(e,t){var r=I_(t.data),n=R_(r[1][0].data),a=r[3],s=[];return(a||[]).forEach((function(t){var r=I_(t.data),a=R_(r[1][0].data)>>>0;switch(n){case 1:s[a]=T_(r[3][0].data);break;case 8:var o=I_(e[q_(r[9][0].data)][0].data),i=e[q_(o[1][0].data)][0],l=R_(i.meta[1][0].data);if(2001!=l)throw new Error("2000 unexpected reference to ".concat(l));var c=I_(i.data);s[a]=c[3].map((function(e){return T_(e.data)})).join("")}})),s}function X_(e,t){var r,n=I_(t.data),a=(null==(r=null==n?void 0:n[7])?void 0:r[0])?R_(n[7][0].data)>>>0>0?1:0:-1,s=P_(n[5],(function(e){return function(e,t){var r,n,a,s,o,i,l,c,h,f,u,d,p,m,g,v,w=I_(e),b=R_(w[1][0].data)>>>0,y=R_(w[2][0].data)>>>0,k=(null==(n=null==(r=w[8])?void 0:r[0])?void 0:n.data)&&R_(w[8][0].data)>0||!1;if((null==(s=null==(a=w[7])?void 0:a[0])?void 0:s.data)&&0!=t)g=null==(i=null==(o=w[7])?void 0:o[0])?void 0:i.data,v=null==(c=null==(l=w[6])?void 0:l[0])?void 0:c.data;else{if(!(null==(f=null==(h=w[4])?void 0:h[0])?void 0:f.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");g=null==(d=null==(u=w[4])?void 0:u[0])?void 0:d.data,v=null==(m=null==(p=w[3])?void 0:p[0])?void 0:m.data}for(var E=k?4:1,x=S_(g),_=[],C=0;C<g.length/2;++C){var S=x.getUint16(2*C,!0);S<65535&&_.push([C,S])}if(_.length!=y)throw"Expected ".concat(y," cells, found ").concat(_.length);var T=[];for(C=0;C<_.length-1;++C)T[_[C][0]]=v.subarray(_[C][1]*E,_[C+1][1]*E);return _.length>=1&&(T[_[_.length-1][0]]=v.subarray(_[_.length-1][1]*E)),{R:b,cells:T}}(e,a)}));return{nrows:R_(n[4][0].data)>>>0,data:s.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(r,n){if(e[t.R][n])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(n));e[t.R][n]=r})),e}),[])}}function K_(e,t){var r={"!ref":"A1"},n=e[q_(I_(t.data)[2][0].data)],a=R_(n[0].meta[1][0].data);if(6001!=a)throw new Error("6000 unexpected reference to ".concat(a));return function(e,t,r){var n,a=I_(t.data),s={s:{r:0,c:0},e:{r:0,c:0}};if(s.e.r=(R_(a[6][0].data)>>>0)-1,s.e.r<0)throw new Error("Invalid row varint ".concat(a[6][0].data));if(s.e.c=(R_(a[7][0].data)>>>0)-1,s.e.c<0)throw new Error("Invalid col varint ".concat(a[7][0].data));r["!ref"]=uv(s);var o=I_(a[4][0].data),i=G_(e,e[q_(o[4][0].data)][0]),l=(null==(n=o[17])?void 0:n[0])?G_(e,e[q_(o[17][0].data)][0]):[],c=I_(o[3][0].data),h=0;c[1].forEach((function(t){var n=I_(t.data),a=e[q_(n[2][0].data)][0],s=R_(a.meta[1][0].data);if(6002!=s)throw new Error("6001 unexpected reference to ".concat(s));var o=X_(0,a);o.data.forEach((function(e,t){e.forEach((function(e,n){var a=hv({r:h+t,c:n}),s=$_(e,i,l);s&&(r[a]=s)}))})),h+=o.nrows}))}(e,n[0],r),r}function Y_(e,t){var r={SheetNames:[],Sheets:{}};if(P_(I_(t.data)[1],q_).forEach((function(t){e[t].forEach((function(t){if(2==R_(t.meta[1][0].data)){var n=function(e,t){var r,n=I_(t.data),a={name:(null==(r=n[1])?void 0:r[0])?T_(n[1][0].data):"",sheets:[]};return P_(n[2],q_).forEach((function(t){e[t].forEach((function(t){6e3==R_(t.meta[1][0].data)&&a.sheets.push(K_(e,t))}))})),a}(e,t);n.sheets.forEach((function(e,t){CC(r,e,0==t?n.name:n.name+"_"+t,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Z_(e){var t,r,n,a,s={},o=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,r;try{t=L_(e.content)}catch(n){return}try{r=F_(t)}catch(n){return}r.forEach((function(e){s[e.id]=e.messages,o.push(e.id)}))}})),!o.length)throw new Error("File has no messages");var i=(null==(a=null==(n=null==(r=null==(t=null==s?void 0:s[1])?void 0:t[0])?void 0:r.meta)?void 0:n[1])?void 0:a[0].data)&&1==R_(s[1][0].meta[1][0].data)&&s[1][0];if(i||o.forEach((function(e){s[e].forEach((function(e){if(1==R_(e.meta[1][0].data)>>>0){if(i)throw new Error("Document has multiple roots");i=e}}))})),!i)throw new Error("Cannot find Document root");return Y_(s,i)}function J_(e,t,r){var n,a,s,o;if(!(null==(n=e[6])?void 0:n[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(o=null==(s=e[8])?void 0:s[0])?void 0:o.data)&&R_(e[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var i=0,l=S_(e[7][0].data),c=0,h=[],f=S_(e[4][0].data),u=0,d=[],p=0;p<t.length;++p)if(null!=t[p]){var m,g;switch(l.setUint16(2*p,c,!0),f.setUint16(2*p,u,!0),typeof t[p]){case"string":m=W_({t:"s",v:t[p]},r),g=j_({t:"s",v:t[p]},r);break;case"number":m=W_({t:"n",v:t[p]},r),g=j_({t:"n",v:t[p]},r);break;case"boolean":m=W_({t:"b",v:t[p]},r),g=j_({t:"b",v:t[p]},r);break;default:throw new Error("Unsupported value "+t[p])}h.push(m),c+=m.length,d.push(g),u+=g.length,++i}else l.setUint16(2*p,65535,!0),f.setUint16(2*p,65535);for(e[2][0].data=O_(i);p<e[7][0].data.length/2;++p)l.setUint16(2*p,65535,!0),f.setUint16(2*p,65535,!0);return e[6][0].data=N_(h),e[3][0].data=N_(d),i}function Q_(e){return function(t){for(var r=0;r!=e.length;++r){var n=e[r];void 0===t[n[0]]&&(t[n[0]]=n[1]),"n"===n[2]&&(t[n[0]]=Number(t[n[0]]))}}}function eC(e){Q_([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function tC(e){Q_([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function rC(e,t,r,n,a,s,o,i,l,c,h,f){try{s[n]=iw(sm(e,r,!0),t);var u,d=am(e,t);switch(i){case"sheet":u=gx(d,t,a,l,s[n],c,h,f);break;case"chart":if(!(u=vx(d,t,a,l,s[n],c))||!u["!drawel"])break;var p=hm(u["!drawel"].Target,t),m=ow(p),g=function(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(sm(e,p,!0),iw(sm(e,m,!0),p)),v=hm(g,p),w=ow(v);u=QE(sm(e,v,!0),0,0,iw(sm(e,w,!0),v),0,u);break;case"macro":y=t,s[n],y.slice(-4),u={"!type":"macro"};break;case"dialog":u=function(e,t){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,s[n]);break;default:throw new Error("Unrecognized sheet type "+i)}o[n]=u;var b=[];s&&s[n]&&Op(s[n]).forEach((function(r){var a="";if(s[n][r].Type==sw.CMNT){a=hm(s[n][r].Target,t);var o=yx(am(e,a,!0),a,l);if(!o||!o.length)return;dk(u,o,!1)}s[n][r].Type==sw.TCMNT&&(a=hm(s[n][r].Target,t),b=b.concat(function(e,t){var r=[],n=!1,a={},s=0;return e.replace(pm,(function(o,i){var l=vm(o);switch(wm(l[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":a={author:l.personId,guid:l.id,ref:l.ref,T:1};break;case"</threadedComment>":null!=a.t&&r.push(a);break;case"<text>":case"<text":s=i+o.length;break;case"</text>":a.t=e.slice(s,i).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":case"<ext":n=!0;break;case"</mentions>":case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments")}return o})),r}(am(e,a,!0),l)))})),b&&b.length&&dk(u,b,!0,l.people||[])}catch(k){if(l.WTF)throw k}var y}function nC(e){return"/"==e.charAt(0)?e.slice(1):e}function aC(e,t){if(Cp(),eC(t=t||{}),rm(e,"META-INF/manifest.xml"))return k_(e,t);if(rm(e,"objectdata.xml"))return k_(e,t);if(rm(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Z_){if(e.FileIndex)return Z_(e);var r=Np.utils.cfb_new();return om(e).forEach((function(t){im(r,t,function(e,t){return tm(nm(e,t))}(e,t))})),Z_(r)}throw new Error("Unsupported NUMBERS file")}if(!rm(e,"[Content_Types].xml")){if(rm(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(rm(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,a,s=om(e),o=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var r={};if((e.match(pm)||[]).forEach((function(e){var n=vm(e);switch(n[0].replace(mm,"<")){case"<?xml":break;case"<Types":t.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==t[rw[n.ContentType]]&&t[rw[n.ContentType]].push(n.PartName)}})),t.xmlns!==Jm)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}(sm(e,"[Content_Types].xml")),i=!1;if(0===o.workbooks.length&&am(e,a="xl/workbook.xml",!0)&&o.workbooks.push(a),0===o.workbooks.length){if(!am(e,a="xl/workbook.bin",!0))throw new Error("Could not find workbook");o.workbooks.push(a),i=!0}"bin"==o.workbooks[0].slice(-3)&&(i=!0);var l={},c={};if(!t.bookSheets&&!t.bookProps){if(fE=[],o.sst)try{fE=bx(am(e,nC(o.sst)),o.sst,t)}catch(B){if(t.WTF)throw B}t.cellStyles&&o.themes.length&&(l=function(e,t,r){return sk(e,r)}(sm(e,o.themes[0].replace(/^\//,""),!0)||"",o.themes[0],t)),o.style&&(c=wx(am(e,nC(o.style)),o.style,l,t))}o.links.map((function(r){try{iw(sm(e,ow(nC(r))),r);return Ex(am(e,nC(r)),0,r,t)}catch(B){}}));var h=mx(am(e,nC(o.workbooks[0])),o.workbooks[0],t),f={},u="";o.coreprops.length&&((u=am(e,nC(o.coreprops[0]),!0))&&(f=pw(u)),0!==o.extprops.length&&(u=am(e,nC(o.extprops[0]),!0))&&function(e,t,r){var n={};t||(t={}),e=Im(e),vw.forEach((function(r){var a=(e.match(Pm(r[0]))||[])[1];switch(r[2]){case"string":a&&(t[r[1]]=km(a));break;case"bool":t[r[1]]="true"===a;break;case"raw":var s=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));s&&s.length>0&&(n[r[1]]=s[1])}})),n.HeadingPairs&&n.TitlesOfParts&&bw(n.HeadingPairs,n.TitlesOfParts,t,r)}(u,f,t));var d={};t.bookSheets&&!t.bookProps||0!==o.custprops.length&&(u=sm(e,nC(o.custprops[0]),!0))&&(d=function(e,t){var r={},n="",a=e.match(kw);if(a)for(var s=0;s!=a.length;++s){var o=a[s],i=vm(o);switch(i[0]){case"<?xml":case"<Properties":break;case"<property":n=km(i.name);break;case"</property>":n=null;break;default:if(0===o.indexOf("<vt:")){var l=o.split(">"),c=l[0].slice(4),h=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":r[n]=km(h);break;case"bool":r[n]=Nm(h);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(h,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(h);break;case"filetime":case"date":r[n]=qp(h);break;default:if("/"==c.slice(-1))break;t.WTF}}else if("</"===o.slice(0,2));else if(t.WTF)throw new Error(o)}}return r}(u,t));var p={};if((t.bookSheets||t.bookProps)&&(h.Sheets?n=h.Sheets.map((function(e){return e.name})):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),t.bookProps&&(p.Props=f,p.Custprops=d),t.bookSheets&&void 0!==n&&(p.SheetNames=n),t.bookSheets?p.SheetNames:t.bookProps))return p;n={};var m={};t.bookDeps&&o.calcchain&&(m=kx(am(e,nC(o.calcchain)),o.calcchain));var g,v,w=0,b={},y=h.Sheets;f.Worksheets=y.length,f.SheetNames=[];for(var k=0;k!=y.length;++k)f.SheetNames[k]=y[k].name;var E=i?"bin":"xml",x=o.workbooks[0].lastIndexOf("/"),_=(o.workbooks[0].slice(0,x+1)+"_rels/"+o.workbooks[0].slice(x+1)+".rels").replace(/^\//,"");rm(e,_)||(_="xl/_rels/workbook."+E+".rels");var C=iw(sm(e,_,!0),_.replace(/_rels.*/,"s5s"));(o.metadata||[]).length>=1&&(t.xlmeta=xx(am(e,nC(o.metadata[0])),o.metadata[0],t)),(o.people||[]).length>=1&&(t.people=function(e,t){var r=[],n=!1;return e.replace(pm,(function(e){var a=vm(e);switch(wm(a[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":r.push({name:a.displayname,id:a.id});break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+a[0]+" in threaded comments")}return e})),r}(am(e,nC(o.people[0])),t)),C&&(C=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,(r=e["!id"][t.id].Type,sw.WS.indexOf(r)>-1?"sheet":r==sw.CS?"chart":r==sw.DS?"dialog":r==sw.MS?"macro":r&&r.length?r:"sheet")];var r}))}catch(B){return null}return e&&0!==e.length?e:null}(C,h.Sheets));var S=am(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(w=0;w!=f.Worksheets;++w){var T="sheet";if(C&&C[w]?(g="xl/"+C[w][1].replace(/[\/]?xl\//,""),rm(e,g)||(g=C[w][1]),rm(e,g)||(g=_.replace(/_rels\/.*$/,"")+C[w][1]),T=C[w][2]):g=(g="xl/worksheets/sheet"+(w+1-S)+"."+E).replace(/sheet0\./,"sheet."),v=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(w!=t.sheets)continue e;break;case"string":if(f.SheetNames[w].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var A=!1,N=0;N!=t.sheets.length;++N)"number"==typeof t.sheets[N]&&t.sheets[N]==w&&(A=1),"string"==typeof t.sheets[N]&&t.sheets[N].toLowerCase()==f.SheetNames[w].toLowerCase()&&(A=1);if(!A)continue e}}rC(e,g,v,f.SheetNames[w],w,b,n,T,t,h,l,c)}return p={Directory:o,Workbook:h,Props:f,Custprops:d,Deps:m,Sheets:n,SheetNames:f.SheetNames,Strings:fE,Styles:c,Themes:l,SSF:Xp(jd)},t&&t.bookFiles&&(e.files?(p.keys=s,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,r){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[r]})))),t&&t.bookVBA&&(o.vba.length>0?p.vbaraw=am(e,nC(o.vba[0]),!0):o.defaults&&"application/vnd.ms-office.vbaProject"===o.defaults.bin&&(p.vbaraw=am(e,"xl/vbaProject.bin",!0))),p}function sC(e,t){var r,n,a=t||{},s="Workbook",o=Np.find(e,s);try{if(s="/!DataSpaces/Version",!(o=Np.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);if(r=o.content,(n={}).id=r.read_shift(0,"lpp4"),n.R=ly(r,4),n.U=ly(r,4),n.W=ly(r,4),s="/!DataSpaces/DataSpaceMap",!(o=Np.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);var i=function(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(cy(e));return t}(o.content);if(1!==i.length||1!==i[0].comps.length||0!==i[0].comps[0].t||"StrongEncryptionDataSpace"!==i[0].name||"EncryptedPackage"!==i[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+s);if(s="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(o=Np.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);var l=function(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}(o.content);if(1!=l.length||"StrongEncryptionTransform"!=l[0])throw new Error("ECMA-376 Encrypted file bad "+s);if(s="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(o=Np.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);hy(o.content)}catch(h){}if(s="/EncryptionInfo",!(o=Np.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);var c=function(e){var t=ly(e);switch(t.Minor){case 2:return[t.Minor,dy(e)];case 3:return[t.Minor,py()];case 4:return[t.Minor,my(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(o.content);if(s="/EncryptedPackage",!(o=Np.find(e,s))||!o.content)throw new Error("ECMA-376 Encrypted file missing "+s);if(4==c[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(c[1],o.content,a.password||"",a);if(2==c[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(c[1],o.content,a.password||"",a);throw new Error("File is password-protected")}function oC(e,t){return"ods"==t.bookType?C_(e,t):"numbers"==t.bookType?function(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length;var n=fv(r["!ref"]);n.s.r=n.s.c=0,n.e.c>9&&(n.e.c=9),n.e.r>49&&(n.e.r=49);var a=vC(r,{range:n,header:1}),s=["~Sh33tJ5~"];a.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&s.push(e)}))}));var o={},i=[],l=Np.read(t.numbers,{type:"base64"});l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];2==t.type&&t.name.match(/\.iwa/)&&F_(L_(t.content)).forEach((function(e){i.push(e.id),o[e.id]={deps:[],location:r,type:R_(e.messages[0].meta[1][0].data)}}))})),i.sort((function(e,t){return e-t}));var c=i.filter((function(e){return e>1})).map((function(e){return[e,O_(e)]}));l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&F_(L_(t.content)).forEach((function(e){e.messages.forEach((function(t){c.forEach((function(t){e.messages.some((function(e){return 11006!=R_(e.meta[1][0].data)&&function(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}(e.data,t[1])}))&&o[t[0]].deps.push(e.id)}))}))}))}));for(var h,f=Np.find(l,o[1].location),u=F_(L_(f.content)),d=0;d<u.length;++d){var p=u[d];1==p.id&&(h=p)}var m=q_(I_(h.messages[0].data)[1][0].data);for(u=F_(L_((f=Np.find(l,o[m].location)).content)),d=0;d<u.length;++d)(p=u[d]).id==m&&(h=p);for(m=q_(I_(h.messages[0].data)[2][0].data),u=F_(L_((f=Np.find(l,o[m].location)).content)),d=0;d<u.length;++d)(p=u[d]).id==m&&(h=p);for(m=q_(I_(h.messages[0].data)[2][0].data),u=F_(L_((f=Np.find(l,o[m].location)).content)),d=0;d<u.length;++d)(p=u[d]).id==m&&(h=p);var g=I_(h.messages[0].data);g[6][0].data=O_(n.e.r+1),g[7][0].data=O_(n.e.c+1);for(var v=q_(g[46][0].data),w=Np.find(l,o[v].location),b=F_(L_(w.content)),y=0;y<b.length&&b[y].id!=v;++y);if(b[y].id!=v)throw"Bad ColumnRowUIDMapArchive";var k=I_(b[y].messages[0].data);k[1]=[],k[2]=[],k[3]=[];for(var E=0;E<=n.e.c;++E){var x=[];x[1]=x[2]=[{type:0,data:O_(E+420690)}],k[1].push({type:2,data:D_(x)}),k[2].push({type:0,data:O_(E)}),k[3].push({type:0,data:O_(E)})}k[4]=[],k[5]=[],k[6]=[];for(var _=0;_<=n.e.r;++_)(x=[])[1]=x[2]=[{type:0,data:O_(_+726270)}],k[4].push({type:2,data:D_(x)}),k[5].push({type:0,data:O_(_)}),k[6].push({type:0,data:O_(_)});b[y].messages[0].data=D_(k),w.content=H_(V_(b)),w.size=w.content.length,delete g[46];var C=I_(g[4][0].data);C[7][0].data=O_(n.e.r+1);var S=q_(I_(C[1][0].data)[2][0].data);if((b=F_(L_((w=Np.find(l,o[S].location)).content)))[0].id!=S)throw"Bad HeaderStorageBucket";var T=I_(b[0].messages[0].data);for(_=0;_<a.length;++_){var A=I_(T[2][0].data);A[1][0].data=O_(_),A[4][0].data=O_(a[_].length),T[2][_]={type:T[2][0].type,data:D_(A)}}b[0].messages[0].data=D_(T),w.content=H_(V_(b)),w.size=w.content.length;var N=q_(C[2][0].data);if((b=F_(L_((w=Np.find(l,o[N].location)).content)))[0].id!=N)throw"Bad HeaderStorageBucket";for(T=I_(b[0].messages[0].data),E=0;E<=n.e.c;++E)(A=I_(T[2][0].data))[1][0].data=O_(E),A[4][0].data=O_(n.e.r+1),T[2][E]={type:T[2][0].type,data:D_(A)};b[0].messages[0].data=D_(T),w.content=H_(V_(b)),w.size=w.content.length;var B=q_(C[4][0].data);!function(){for(var e,t=Np.find(l,o[B].location),r=F_(L_(t.content)),n=0;n<r.length;++n){var a=r[n];a.id==B&&(e=a)}var i=I_(e.messages[0].data);i[3]=[];var c=[];s.forEach((function(e,t){c[1]=[{type:0,data:O_(t)}],c[2]=[{type:0,data:O_(1)}],c[3]=[{type:2,data:A_(e)}],i[3].push({type:2,data:D_(c)})})),e.messages[0].data=D_(i);var h=H_(V_(r));t.content=h,t.size=t.content.length}();var M=I_(C[3][0].data),O=M[1][0];delete M[2];var R=I_(O.data),I=q_(R[2][0].data);!function(){for(var e,t=Np.find(l,o[I].location),r=F_(L_(t.content)),i=0;i<r.length;++i){var c=r[i];c.id==I&&(e=c)}var h=I_(e.messages[0].data);delete h[6],delete M[7];var f=new Uint8Array(h[5][0].data);h[5]=[];for(var u=0,d=0;d<=n.e.r;++d){var p=I_(f);u+=J_(p,a[d],s),p[1][0].data=O_(d),h[5].push({data:D_(p),type:2})}h[1]=[{type:0,data:O_(n.e.c+1)}],h[2]=[{type:0,data:O_(n.e.r+1)}],h[3]=[{type:0,data:O_(u)}],h[4]=[{type:0,data:O_(n.e.r+1)}],e.messages[0].data=D_(h);var m=H_(V_(r));t.content=m,t.size=t.content.length}(),O.data=D_(R),C[3][0].data=D_(M),g[4][0].data=D_(C),h.messages[0].data=D_(g);var D=H_(V_(u));return f.content=D,f.size=f.content.length,l}(e,t):"xlsb"==t.bookType?function(e,t){fk=1024,e&&!e.SSF&&(e.SSF=Xp(jd));e&&e.SSF&&(Cp(),_p(e.SSF),t.revssf=Dp(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF);t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,dE?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=wk.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};tC(t=t||{});var s=lm(),o="",i=0;t.cellXfs=[],vE(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if(im(s,o="docProps/core.xml",gw(e.Props,t)),a.coreprops.push(o),cw(t.rels,2,o,sw.CORE_PROPS),o="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,im(s,o,yw(e.Props)),a.extprops.push(o),cw(t.rels,3,o,sw.EXT_PROPS),e.Custprops!==e.Props&&Op(e.Custprops||{}).length>0&&(im(s,o="docProps/custom.xml",Ew(e.Custprops)),a.custprops.push(o),cw(t.rels,4,o,sw.CUST_PROPS));for(i=1;i<=e.SheetNames.length;++i){var h={"!id":{}},f=e.Sheets[e.SheetNames[i-1]];(f||{})["!type"];if(im(s,o="xl/worksheets/sheet"+i+"."+r,_x(i-1,o,t,e,h)),a.sheets.push(o),cw(t.wbrels,-1,"worksheets/sheet"+i+"."+r,sw.WS[0]),f){var u=f["!comments"],d=!1,p="";u&&u.length>0&&(im(s,p="xl/comments"+i+"."+r,Cx(u,p)),a.comments.push(p),cw(h,-1,"../comments"+i+"."+r,sw.CMNT),d=!0),f["!legacy"]&&d&&im(s,"xl/drawings/vmlDrawing"+i+".vml",uk(i,f["!comments"])),delete f["!comments"],delete f["!legacy"]}h["!id"].rId1&&im(s,ow(o),lw(h))}null!=t.Strings&&t.Strings.length>0&&(im(s,o="xl/sharedStrings."+r,function(e,t,r){return(".bin"===t.slice(-4)?oy:ay)(e,r)}(t.Strings,o,t)),a.strs.push(o),cw(t.wbrels,-1,"sharedStrings."+r,sw.SST));im(s,o="xl/workbook."+r,function(e,t){return(".bin"===t.slice(-4)?px:fx)(e)}(e,o)),a.workbooks.push(o),cw(t.rels,1,o,sw.WB),im(s,o="xl/theme/theme1.xml",ok(e.Themes,t)),a.themes.push(o),cw(t.wbrels,-1,"theme/theme1.xml",sw.THEME),im(s,o="xl/styles."+r,function(e,t,r){return(".bin"===t.slice(-4)?Yy:Fy)(e,r)}(e,o,t)),a.styles.push(o),cw(t.wbrels,-1,"styles."+r,sw.STY),e.vbaraw&&n&&(im(s,o="xl/vbaProject.bin",e.vbaraw),a.vba.push(o),cw(t.wbrels,-1,"vbaProject.bin",sw.VBA));return im(s,o="xl/metadata."+r,function(e){return(".bin"===e.slice(-4)?ck:hk)()}(o)),a.metadata.push(o),cw(t.wbrels,-1,"metadata."+r,sw.XLMETA),im(s,"[Content_Types].xml",aw(a,t)),im(s,"_rels/.rels",lw(t.rels)),im(s,"xl/_rels/workbook."+r+".rels",lw(t.wbrels)),delete t.revssf,delete t.ssf,s}(e,t):function(e,t){fk=1024,e&&!e.SSF&&(e.SSF=Xp(jd));e&&e.SSF&&(Cp(),_p(e.SSF),t.revssf=Dp(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF);t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,dE?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=wk.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};tC(t=t||{});var s=lm(),o="",i=0;t.cellXfs=[],vE(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if(im(s,o="docProps/core.xml",gw(e.Props,t)),a.coreprops.push(o),cw(t.rels,2,o,sw.CORE_PROPS),o="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,im(s,o,yw(e.Props)),a.extprops.push(o),cw(t.rels,3,o,sw.EXT_PROPS),e.Custprops!==e.Props&&Op(e.Custprops||{}).length>0&&(im(s,o="docProps/custom.xml",Ew(e.Custprops)),a.custprops.push(o),cw(t.rels,4,o,sw.CUST_PROPS));var h=["SheetJ5"];for(t.tcid=0,i=1;i<=e.SheetNames.length;++i){var f={"!id":{}},u=e.Sheets[e.SheetNames[i-1]];(u||{})["!type"];if(im(s,o="xl/worksheets/sheet"+i+"."+r,FE(i-1,t,e,f)),a.sheets.push(o),cw(t.wbrels,-1,"worksheets/sheet"+i+"."+r,sw.WS[0]),u){var d=u["!comments"],p=!1,m="";if(d&&d.length>0){var g=!1;d.forEach((function(e){e[1].forEach((function(e){1==e.T&&(g=!0)}))})),g&&(im(s,m="xl/threadedComments/threadedComment"+i+"."+r,mk(d,h,t)),a.threadedcomments.push(m),cw(f,-1,"../threadedComments/threadedComment"+i+"."+r,sw.TCMNT)),im(s,m="xl/comments"+i+"."+r,pk(d)),a.comments.push(m),cw(f,-1,"../comments"+i+"."+r,sw.CMNT),p=!0}u["!legacy"]&&p&&im(s,"xl/drawings/vmlDrawing"+i+".vml",uk(i,u["!comments"])),delete u["!comments"],delete u["!legacy"]}f["!id"].rId1&&im(s,ow(o),lw(f))}null!=t.Strings&&t.Strings.length>0&&(im(s,o="xl/sharedStrings."+r,ay(t.Strings,t)),a.strs.push(o),cw(t.wbrels,-1,"sharedStrings."+r,sw.SST));im(s,o="xl/workbook."+r,fx(e)),a.workbooks.push(o),cw(t.rels,1,o,sw.WB),im(s,o="xl/theme/theme1.xml",ok(e.Themes,t)),a.themes.push(o),cw(t.wbrels,-1,"theme/theme1.xml",sw.THEME),im(s,o="xl/styles."+r,Fy(e,t)),a.styles.push(o),cw(t.wbrels,-1,"styles."+r,sw.STY),e.vbaraw&&n&&(im(s,o="xl/vbaProject.bin",e.vbaraw),a.vba.push(o),cw(t.wbrels,-1,"vbaProject.bin",sw.VBA));im(s,o="xl/metadata."+r,hk()),a.metadata.push(o),cw(t.wbrels,-1,"metadata."+r,sw.XLMETA),h.length>1&&(im(s,o="xl/persons/person.xml",function(e){var t=[fm,$m("personList",null,{xmlns:eg,"xmlns:x":lg[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push($m("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push("</personList>"),t.join("")}(h)),a.people.push(o),cw(t.wbrels,-1,"persons/person.xml",sw.PEOPLE));return im(s,"[Content_Types].xml",aw(a,t)),im(s,"_rels/.rels",lw(t.rels)),im(s,"xl/_rels/workbook."+r+".rels",lw(t.wbrels)),delete t.revssf,delete t.ssf,s}(e,t)}function iC(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=xd(e.slice(0,12));break;case"binary":r=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function lC(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Fx(e.slice(r),t);default:break e}return qb.to_workbook(e,t)}function cC(e,t,r,n){return n?(r.type="string",qb.to_workbook(e,r)):qb.to_workbook(t,r)}function hC(e,t){pd();var r=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return hC(new Uint8Array(e),((r=Xp(r)).type="array",r));"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!=typeof Deno?"buffer":"array");var n,a=e,s=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),uE={},r.dateNF&&(uE.dateNF=r.dateNF),r.type||(r.type=_d&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=_d?"buffer":"binary",a=function(e){if("undefined"!=typeof Deno)return Deno.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(n){if(!n.message||!n.message.match(/onstruct/))throw n}throw new Error("Cannot access file "+e)}(e),"undefined"==typeof Uint8Array||_d||(r.type="array")),"string"==r.type&&(s=!0,r.type="binary",r.codepage=65001,a=function(e){return e.match(/[^\x00-\x7F]/)?Dm(e):e}(e)),"array"==r.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var o=new ArrayBuffer(3),i=new Uint8Array(o);if(i.foo="bar",!i.foo)return(r=Xp(r)).type="array",hC(Md(a),r)}switch((n=iC(a,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(e,t){return Np.find(e,"EncryptedPackage")?sC(e,t):Qx(e,t)}(Np.read(a,r),r);break;case 9:if(n[1]<=8)return Qx(a,r);break;case 60:return Fx(a,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=Wb.to_workbook(e,r);return r.WTF=n,a}catch(s){if(r.WTF=n,!s.message.match(/SYLK bad record ID/)&&n)throw s;return qb.to_workbook(e,t)}}(a,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return jb.to_workbook(a,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(e,t){var r=e,n=t||{};return n.type||(n.type=_d&&Buffer.isBuffer(e)?"buffer":"base64"),aC(cm(r,n),n)}(a,r):cC(e,a,r,s);case 239:return 60===n[3]?Fx(a,r):cC(e,a,r,s);case 255:if(254===n[1])return function(e,t){var r=e;return"base64"==t.type&&(r=xd(r)),r=vd.utils.decode(1200,r.slice(2),"str"),t.type="binary",lC(r,t)}(a,r);if(0===n[1]&&2===n[2]&&0===n[3])return Gb.to_workbook(a,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Gb.to_workbook(a,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Gb.to_workbook(a,r)}break;case 3:case 131:case 139:case 140:return Ub.to_workbook(a,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return yy.to_workbook(a,r);break;case 10:case 13:case 32:return function(e,t){var r="",n=iC(e,t);switch(t.type){case"base64":r=xd(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=Gp(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Im(r)),t.type="binary",lC(r,t)}(a,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return Hb.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?Ub.to_workbook(a,r):cC(e,a,r,s)}function fC(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Mp(t.file,Np.write(e,{type:_d?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Np.write(e,t)}function uC(e,t){var r=Xp(t||{});return function(e,t){var r={},n=_d?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";t.compression&&(r.compression="DEFLATE");if(t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Np.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if("undefined"!=typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(Nd(a))}return t.password&&"undefined"!=typeof encrypt_agile?fC(encrypt_agile(a,t.password),t):"file"===t.type?Mp(t.file,a):"string"==t.type?Im(a):a}(oC(e,r),r)}function dC(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return Ed(Dm(n));case"binary":return Dm(n);case"string":return e;case"file":return Mp(t.file,n,"utf8");case"buffer":return _d?Cd(n,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(n):dC(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function pC(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return"base64"==t.type?Ed(r):"string"==t.type?Im(r):r;case"file":return Mp(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function mC(e,t){pd(),cx(e);var r=Xp(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=mC(e,r);return r.type="array",Nd(n)}var a=0;if(r.sheet&&(a="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return dC(Wx(e,r),r);case"slk":case"sylk":return dC(Wb.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return dC(m_(e.Sheets[e.SheetNames[a]],r),r);case"txt":return function(e,t){switch(t.type){case"base64":return Ed(e);case"binary":case"string":return e;case"file":return Mp(t.file,e,"binary");case"buffer":return _d?Cd(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}(kC(e.Sheets[e.SheetNames[a]],r),r);case"csv":return dC(yC(e.Sheets[e.SheetNames[a]],r),r,"\ufeff");case"dif":return dC(jb.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return pC(Ub.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return dC(qb.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return dC(yy.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return dC($b.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return dC(C_(e,r),r);case"wk1":return pC(Gb.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return pC(Gb.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),pC(u_(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),function(e,t){var r=t||{};return fC(e_(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return uC(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function gC(e,t,r,n,a,s,o,i){var l=ov(r),c=i.defval,h=i.raw||!Object.prototype.hasOwnProperty.call(i,"raw"),f=!0,u=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(u,"__rowNum__",{value:r,enumerable:!1})}catch(g){u.__rowNum__=r}else u.__rowNum__=r;if(!o||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=o?e[r][d]:e[n[d]+l];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=s[d]){if(null==m)if("e"==p.t&&null===m)u[s[d]]=null;else if(void 0!==c)u[s[d]]=c;else{if(!h||null!==m)continue;u[s[d]]=null}else u[s[d]]=h&&("n"!==p.t||"n"===p.t&&!1!==i.rawNumbers)?m:mv(p,m,i);null!=m&&(f=!1)}}else{if(void 0===c)continue;null!=s[d]&&(u[s[d]]=c)}}return{row:u,isempty:f}}function vC(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,a=1,s=[],o=0,i="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},h=null!=c.range?c.range:e["!ref"];switch(1===c.header?n=1:"A"===c.header?n=2:Array.isArray(c.header)?n=3:null==c.header&&(n=0),typeof h){case"string":l=dv(h);break;case"number":(l=dv(e["!ref"])).s.r=h;break;default:l=h}n>0&&(a=0);var f=ov(l.s.r),u=[],d=[],p=0,m=0,g=Array.isArray(e),v=l.s.r,w=0,b={};g&&!e[v]&&(e[v]=[]);var y=c.skipHidden&&e["!cols"]||[],k=c.skipHidden&&e["!rows"]||[];for(w=l.s.c;w<=l.e.c;++w)if(!(y[w]||{}).hidden)switch(u[w]=lv(w),r=g?e[v][w]:e[u[w]+f],n){case 1:s[w]=w-l.s.c;break;case 2:s[w]=u[w];break;case 3:s[w]=c.header[w-l.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),i=o=mv(r,null,c),m=b[o]||0){do{i=o+"_"+m++}while(b[i]);b[o]=m,b[i]=1}else b[o]=1;s[w]=i}for(v=l.s.r+a;v<=l.e.r;++v)if(!(k[v]||{}).hidden){var E=gC(e,l,v,u,n,s,g,c);(!1===E.isempty||(1===n?!1!==c.blankrows:c.blankrows))&&(d[p++]=E.row)}return d.length=p,d}var wC=/"/g;function bC(e,t,r,n,a,s,o,i){for(var l=!0,c=[],h="",f=ov(r),u=t.s.c;u<=t.e.c;++u)if(n[u]){var d=i.dense?(e[r]||[])[u]:e[n[u]+f];if(null==d)h="";else if(null!=d.v){l=!1,h=""+(i.rawNumbers&&"n"==d.t?d.v:mv(d,null,i));for(var p=0,m=0;p!==h.length;++p)if((m=h.charCodeAt(p))===a||m===s||34===m||i.forceQuotes){h='"'+h.replace(wC,'""')+'"';break}"ID"==h&&(h='"ID"')}else null==d.f||d.F?h="":(l=!1,(h="="+d.f).indexOf(",")>=0&&(h='"'+h.replace(wC,'""')+'"'));c.push(h)}return!1===i.blankrows&&l?null:c.join(o)}function yC(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=dv(e["!ref"]),s=void 0!==n.FS?n.FS:",",o=s.charCodeAt(0),i=void 0!==n.RS?n.RS:"\n",l=i.charCodeAt(0),c=new RegExp(("|"==s?"\\|":s)+"+$"),h="",f=[];n.dense=Array.isArray(e);for(var u=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(u[p]||{}).hidden||(f[p]=lv(p));for(var m=0,g=a.s.r;g<=a.e.r;++g)(d[g]||{}).hidden||null!=(h=bC(e,a,g,f,o,l,s,n))&&(n.strip&&(h=h.replace(c,"")),(h||!1!==n.blankrows)&&r.push((m++?i:"")+h));return delete n.dense,r.join("")}function kC(e,t){return t||(t={}),t.FS="\t",t.RS="\n",yC(e,t)}function EC(e,t,r){var n,a=r||{},s=+!a.skipHeader,o=e||{},i=0,l=0;if(o&&null!=a.origin)if("number"==typeof a.origin)i=a.origin;else{var c="string"==typeof a.origin?cv(a.origin):a.origin;i=c.r,l=c.c}var h={s:{c:0,r:0},e:{c:l,r:i+t.length-1+s}};if(o["!ref"]){var f=dv(o["!ref"]);h.e.c=Math.max(h.e.c,f.e.c),h.e.r=Math.max(h.e.r,f.e.r),-1==i&&(i=f.e.r+1,h.e.r=i+t.length-1+s)}else-1==i&&(i=0,h.e.r=t.length-1+s);var u=a.header||[],d=0;t.forEach((function(e,t){Op(e).forEach((function(r){-1==(d=u.indexOf(r))&&(u[d=u.length]=r);var c=e[r],h="z",f="",p=hv({c:l+d,r:i+t+s});n=xC(o,p),!c||"object"!=typeof c||c instanceof Date?("number"==typeof c?h="n":"boolean"==typeof c?h="b":"string"==typeof c?h="s":c instanceof Date?(h="d",a.cellDates||(h="n",c=Fp(c)),f=a.dateNF||jd[14]):null===c&&a.nullError&&(h="e",c=0),n?(n.t=h,n.v=c,delete n.w,delete n.R,f&&(n.z=f)):o[p]=n={t:h,v:c},f&&(n.z=f)):o[p]=c}))})),h.e.c=Math.max(h.e.c,l+u.length-1);var p=ov(i);if(s)for(d=0;d<u.length;++d)o[lv(d+l)+p]={t:"s",v:u[d]};return o["!ref"]=uv(h),o}function xC(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var n=cv(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return xC(e,hv("number"!=typeof t?t:{r:t,c:r||0}))}function _C(){return{SheetNames:[],Sheets:{}}}function CC(e,t,r,n){var a=1;if(!r)for(;a<=65535&&-1!=e.SheetNames.indexOf(r="Sheet"+a);++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var s=r.match(/(^.*?)(\d+)$/);a=s&&+s[2]||0;var o=s&&s[1]||r;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(r=o+a);++a);}if(lx(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function SC(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}var TC={encode_col:lv,encode_row:ov,encode_cell:hv,encode_range:uv,decode_col:iv,decode_row:sv,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:cv,decode_range:fv,format_cell:mv,sheet_add_aoa:vv,sheet_add_json:EC,sheet_add_dom:g_,aoa_to_sheet:wv,json_to_sheet:function(e,t){return EC(null,e,t)},table_to_sheet:v_,table_to_book:function(e,t){return gv(v_(e,t),t)},sheet_to_csv:yC,sheet_to_txt:kC,sheet_to_json:vC,sheet_to_html:m_,sheet_to_formulae:function(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,s=dv(e["!ref"]),o="",i=[],l=[],c=Array.isArray(e);for(a=s.s.c;a<=s.e.c;++a)i[a]=lv(a);for(var h=s.s.r;h<=s.e.r;++h)for(o=ov(h),a=s.s.c;a<=s.e.c;++a)if(r=i[a]+o,n="",void 0!==(t=c?(e[h]||[])[a]:e[r])){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=r+"="+n}return l},sheet_to_row_object_array:vC,sheet_get_cell:xC,book_new:_C,book_append_sheet:CC,book_set_sheet_visibility:function(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:SC,cell_set_internal_link:function(e,t,r){return SC(e,"#"+t,r)},cell_add_comment:function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},sheet_set_array_formula:function(e,t,r,n){for(var a="string"!=typeof t?t:dv(t),s="string"==typeof t?t:uv(t),o=a.s.r;o<=a.e.r;++o)for(var i=a.s.c;i<=a.e.c;++i){var l=xC(e,o,i);l.t="n",l.F=s,delete l.v,o==a.s.r&&i==a.s.c&&(l.f=r,n&&(l.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const AC=fl(t.defineComponent({__name:"ExcelComp",props:{file:{type:[Object,String],default:()=>null},isEdit:{type:Boolean,default:!0},showToolbar:{type:Boolean,default:!0},showGrid:{type:Boolean,default:!0},showContextmenu:{type:Boolean,default:!0},cellWidth:{type:Number,default:100},cellHeight:{type:Number,default:28},miniRowLength:{type:Number,default:100}},setup(e,{expose:r}){sd.locale("zh-cn",id);const n=e,a=t.ref(),s=t.ref(),o=t.ref(n.miniRowLength),i=t.ref(26),l=t.ref(""),c=t.ref();function h(e){t.nextTick((()=>{!function(e){l.value="loading";const r=e=>{const r=function(e){let t="",r=0;const n=10240;for(;r<e.byteLength/n;++r)t+=String.fromCharCode.apply(null,new Uint8Array(e.slice(r*n,r*n+n)));return t+=String.fromCharCode.apply(null,new Uint8Array(e.slice(r*n))),t}(e),s=function(e){const t=[];let r=26;const a=[];return e.SheetNames.forEach(((t,n)=>{const s=e.Sheets[t],o=TC.sheet_to_json(s,{raw:!1,header:1});let i=0;o.forEach((e=>{e.forEach(((e,t)=>{i=Math.max(i,t+1)}))}));let l=Math.max(i,26);i>26&&(l=i+10),a[n]=l,r=Math.max(r,l)})),e.SheetNames.forEach(((r,s)=>{const i={name:r,rows:{},merges:[]},l=e.Sheets[r];TC.sheet_to_json(l,{raw:!1,header:1}).forEach(((e,t)=>{const r={};e.forEach(((e,t)=>{r[t]={text:e}})),i.rows[t]={cells:r}})),i.maxCols=a[s],i.actualCols=a[s],i.cols={len:a[s],width:n.cellWidth,indexWidth:60,minWidth:60},Object.keys(i.rows).length>n.miniRowLength&&(o.value=Object.keys(i.rows).length+n.miniRowLength),l["!merges"]&&l["!merges"].forEach((e=>{let t=i.rows[e.s.r].cells[e.s.c];t||(t={text:""}),t.merge=[e.e.r-e.s.r,e.e.c-e.s.c],i.rows[e.s.r].cells[e.s.c]=t,i.merges.push(TC.encode_range(e))})),t.push(i)})),i.value=a[0]||26,t}(hC(btoa(r),{type:"base64"}));l.value="loaded",c.value=s,t.nextTick((()=>{a.value||(s.length>0&&(i.value=s[0].maxCols),f()),a.value.loadData(s),setTimeout((()=>{u()}),300)}))};if("string"==typeof e)fetch(e).then((e=>{if(!e.ok)throw new Error(`HTTP error! status: ${e.status}`);return e.arrayBuffer()})).then((e=>{r(e)})).catch((e=>{l.value="error"}));else{const t=new FileReader;t.onload=e=>{r(e.target.result)},t.onerror=()=>{l.value="error"},t.readAsArrayBuffer(e)}}(e)}))}function f(){const e=!n.isEdit,t=!e&&n.showToolbar,r=!e&&n.showContextmenu;a.value=new sd(s.value,{mode:e?"read":"edit",showToolbar:t,showGrid:n.showGrid,showContextmenu:r,view:{height:()=>s.value?s.value.offsetHeight:void 0,width:()=>s.value?s.value.offsetWidth:void 0},style:{bgcolor:"#ffffff",align:"left",valign:"middle",textwrap:!1,strike:!1,underline:!1,color:"#0b0b0b",font:{name:"Helvetica",size:11,bold:!1,italic:!1}},row:{len:o.value,height:n.cellHeight},col:{len:i.value,width:n.cellWidth,indexWidth:60,minWidth:60}})}function u(){a.value&&c.value&&setTimeout((()=>{var e;const t=null==(e=s.value)?void 0:e.querySelector(".x-spreadsheet-bottombar");t&&t.addEventListener("click",d)}),100)}function d(e){var r;const n=e.target;if(n.classList.contains("x-spreadsheet-item")||n.closest(".x-spreadsheet-item")){const e=Array.from((null==(r=s.value)?void 0:r.querySelectorAll(".x-spreadsheet-item"))||[]),o=n.classList.contains("x-spreadsheet-item")?n:n.closest(".x-spreadsheet-item"),l=e.indexOf(o);if(l>=0&&c.value&&c.value[l]){const e=c.value[l];setTimeout((()=>{e.maxCols&&e.maxCols!==i.value&&function(e,r){var n;if(!c.value||e===i.value)return;const o=null==(n=s.value)?void 0:n.querySelector(".x-spreadsheet-bottombar");o&&o.removeEventListener("click",d);if(a.value&&"function"==typeof a.value.destroy)try{a.value.destroy()}catch(l){}i.value=e,s.value&&(s.value.innerHTML="");a.value=null,t.nextTick((()=>{f(),a.value.loadData(c.value),r>0&&setTimeout((()=>{a.value&&a.value.changeSheet&&a.value.changeSheet(r)}),150),setTimeout((()=>{u()}),400)}))}(e.maxCols,l)}),200)}}}return t.watch((()=>n.file),(e=>{e&&h(e)}),{immediate:!0,deep:!0}),r({initShow:h,exportExcel:function(e=1,t=!1){const r=a.value.getData(),n=function(e){const t=TC.book_new();if(!e||!Array.isArray(e))return t;return e.forEach((e=>{if(!e||!e.rows)return;const r=[[]],n=e.rows,a=n.len||Object.keys(n).length;for(let t=0;t<a;++t){const e=n[t];e&&e.cells&&(r[t]=[],Object.keys(e.cells).forEach((n=>{const a=+n;isNaN(a)||(r[t][a]=e.cells[n].text)})))}const s=TC.aoa_to_sheet(r);s["!merges"]=[],e.merges&&Array.isArray(e.merges)&&e.merges.forEach((e=>{s["!merges"].push(TC.decode_range(e))})),TC.book_append_sheet(t,s,e.name||"Sheet")})),t}(r);var s,o;return t&&(s=n,(o={type:"file"}).file="SheetJS.xlsx",function(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}(o),mC(s,o)),1==e?r:n}}),(e,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["excel-container",{readonly:!n.isEdit}])},[t.createElementVNode("div",{ref_key:"excelContainerRef",ref:s,class:"excel-view"},null,512)],2))}}),[["__scopeId","data-v-1aba0d50"]]);var NC="object"==typeof global&&global&&global.Object===Object&&global,BC="object"==typeof self&&self&&self.Object===Object&&self,MC=(NC||BC||Function("return this")()).Symbol,OC=MC?MC.prototype:void 0;OC&&OC.toString;var RC=0;const IC=class{};IC.VARS={};let DC=IC;const PC={class:"dialog-content"},FC={class:"dialog-header"},VC={class:"dialog-title"},zC={class:"dialog-controls"},LC={key:1,class:"dialog-footer"},HC=t.defineComponent({name:"DialogPlus",__name:"NsDialog",props:{class:{type:String,default:""},title:{type:String,default:"标题"},width:{type:[Number,String],default:500},height:{type:[Number,String],default:""},modal:{type:Boolean,default:!0},dialogPadding:{type:[Number,String],default:-1},modalColor:{type:String,default:"rgba(0,0,0,0.6)"},closeOnClickModal:{type:Boolean,default:!0},dom:{type:[Object,Function],default:null},option:{type:Object,default:()=>({})},events:{type:Object,default:()=>({})},domCompleted:{type:Function},headerDom:{type:[Object,Function],default:null},headerOption:{type:Object,default:()=>({})},headerEvents:{type:Object,default:()=>({})},showFooter:{type:Boolean,default:!0},footerDom:{type:Object,default:null},footerOption:{type:Object,default:()=>({})},footerTitle:{type:Object,default:()=>({close:"取消",confirm:"确定"})},footerEvents:{type:Object,default:()=>({})},immediately:{type:Boolean,default:!1},close:{type:Function,default:null},closed:{type:Function,default:null},draggable:{type:Boolean,default:!1},confirm:{type:Function,default:null},x:{type:[Number,String],default:null},y:{type:[Number,String],default:null},maxSize:{type:Function,default:null},dialogInstance:{type:Object,default:null},containerId:{type:String,default:""}},setup(e){t.useCssVars((t=>({"153de384":e.modalColor,d0c0d484:g.value,"4ba1a688":k.value.left,"38964a00":k.value.top,f89d518a:w.value,"5fa0ad23":b.value,"6d59ed33":v.value})));const n=t.computed((()=>{var e;return"function"==typeof o.dom?t.defineAsyncComponent(o.dom):"function"==typeof(null==(e=o.dom)?void 0:e.then)?t.defineAsyncComponent((()=>o.dom)):o.dom})),a=t.computed((()=>{var e;return"function"==typeof o.headerDom?t.defineAsyncComponent(o.headerDom):"function"==typeof(null==(e=o.headerDom)?void 0:e.then)?t.defineAsyncComponent((()=>o.headerDom)):o.headerDom})),s=t.computed((()=>{var e;return"function"==typeof o.footerDom?t.defineAsyncComponent(o.footerDom):"function"==typeof(null==(e=o.footerDom)?void 0:e.then)?t.defineAsyncComponent((()=>o.footerDom)):o.footerDom})),o=e,i=t.ref(null),l=t.reactive({...o.option}),c=t.ref(o.width),h=t.ref(o.height),f=t.ref(o.x),u=t.ref(o.y),d=t.ref(!1),p=t.ref(!1),m=t.ref({width:"",height:"",x:null,y:null}),g=t.ref("fit-content"),v=t.ref("auto"),w=t.ref(DC.VARS["--matrix-dialog-padding-topBottom"]),b=t.ref(DC.VARS["--matrix-dialog-padding-leftRight"]),y=t.computed((()=>"function"==typeof o.maxSize)),k=t.computed((()=>{if(null!==f.value||null!==u.value){const e={position:"fixed",margin:"0 !important"};return null!==f.value&&(e.left="number"==typeof f.value?`${f.value}px`:f.value),null!==u.value&&(e.top="number"==typeof u.value?`${u.value}px`:u.value),e}return{}})),E=t.computed((()=>null!==f.value||null!==u.value));t.watch((()=>o.dialogPadding),(e=>{-1!=e?Array.isArray(e)?2==e.length?(w.value=e[0]+"px",b.value=e[1]+"px"):(w.value=e[0]+"px",b.value=e[0]+"px"):(w.value=e+"px",b.value=e+"px"):(w.value=DC.VARS["--matrix-dialog-padding-topBottom"],b.value=DC.VARS["--matrix-dialog-padding-leftRight"])}),{immediate:!0,deep:!0}),t.watch(i,(e=>{var t;if(e){if(o.dialogInstance){const t=o.dialogInstance;t.domRef=e,t.callMethod=(t,...r)=>{if(e&&"function"==typeof e[t])return e[t](...r)}}null==(t=o.domCompleted)||t.call(o,e)}}),{immediate:!0}),t.watch((()=>o.option),(e=>{Object.assign(l,e)}),{deep:!0}),t.onMounted((()=>{if(o.dialogInstance){const e=o.dialogInstance;e.updateOption=e=>{Object.assign(l,e)},e.close=()=>{_()},i.value&&(e.callMethod=(e,...t)=>{if(i.value&&"function"==typeof i.value[e])return i.value[e](...t)})}})),t.watch((()=>h.value),(e=>{if(e)try{const t=w.value.replace("px","");return g.value=parseFloat(e+"")-parseFloat(t)+"px",void(v.value=`calc(100% - ${2*parseFloat(t)}px)`)}catch(t){}g.value="fit-content",v.value="auto"}),{immediate:!0,deep:!0}),t.watch((()=>[o.width,o.height,o.x,o.y]),(([e,t,r,n])=>{p.value||(c.value=e,h.value=t,f.value=r,u.value=n)}),{immediate:!0}),t.onMounted((()=>{d.value=!0,c.value=o.width,h.value=o.height,f.value=o.x,u.value=o.y}));const x=()=>{if(o.maxSize)if(p.value)c.value=m.value.width,h.value=m.value.height,f.value=m.value.x,u.value=m.value.y,p.value=!1;else{m.value={width:c.value,height:h.value,x:f.value,y:u.value};const e=o.maxSize();c.value=e.width||"100vw",h.value=e.height||"100vh",f.value=void 0!==e.x?e.x:0,u.value=void 0!==e.y?e.y:0,p.value=!0}},_=()=>{d.value=!1},C=()=>{(null==o?void 0:o.close)&&o.close()},S=()=>{(null==o?void 0:o.closed)&&o.closed()},T=t.ref(!1),A=()=>{T.value=!0,o.confirm?o.immediately?(T.value=!1,d.value=!1,o.confirm(null,i)):o.confirm((()=>{T.value=!1,d.value=!1,r.ElMessage.success("操作成功")}),i,T):T.value=!1};return(r,h)=>{const f=t.resolveComponent("el-icon"),u=t.resolveComponent("el-button"),m=t.resolveComponent("el-dialog");return t.openBlock(),t.createBlock(m,{class:t.normalizeClass(["dialog-plus",o.class,{"dialog-absolute-position":E.value}]),"modal-class":["dialog-plus-modal",o.class?o.class+"-modal":""],modal:o.modal,"modal-penetrable":o.modal+""=="false",draggable:o.draggable&&!o.maxSize,"close-on-click-modal":o.closeOnClickModal,"align-center":"",modelValue:d.value,"onUpdate:modelValue":h[0]||(h[0]=e=>d.value=e),width:c.value,"show-close":!1,onClose:C,onClosed:S},t.createSlots({header:t.withCtx((()=>[t.createElementVNode("div",FC,[t.createElementVNode("div",VC,[e.headerDom?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(a.value),t.mergeProps({key:0},o.headerOption,t.toHandlers({...o.headerEvents,close:_})),null,16)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(o.title),1)],64))]),t.createElementVNode("div",zC,[y.value?(t.openBlock(),t.createBlock(f,{key:0,class:"dialog-maximize",style:{cursor:"pointer","margin-right":"8px"},onClick:x},{default:t.withCtx((()=>[p.value?(t.openBlock(),t.createBlock(t.unref(jo),{key:1})):(t.openBlock(),t.createBlock(t.unref(Sn),{key:0}))])),_:1})):t.createCommentVNode("",!0),t.createVNode(f,{class:"dialog-close",style:{cursor:"pointer"},onClick:_},{default:t.withCtx((()=>[t.createVNode(t.unref(it))])),_:1})])])])),default:t.withCtx((()=>[t.createElementVNode("div",PC,[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(n.value),t.mergeProps({ref_key:"componentRef",ref:i},l,t.toHandlers({...o.events,close:_})),null,16))])])),_:2},[e.showFooter?{name:"footer",fn:t.withCtx((()=>[e.footerDom?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.value),t.mergeProps({key:0},o.footerOption,t.toHandlers({...o.footerEvents,close:_})),null,16)):(t.openBlock(),t.createElementBlock("div",LC,[t.createVNode(u,{class:"dialog-footer-btn btn-cancel",onClick:_},{default:t.withCtx((()=>[t.createTextVNode(t.toDisplayString(e.footerTitle.close),1)])),_:1}),t.createVNode(u,{class:"dialog-footer-btn btn-confirm",type:"primary",onClick:A,loading:T.value},{default:t.withCtx((()=>[t.createTextVNode(t.toDisplayString(e.footerTitle.confirm),1)])),_:1},8,["loading"])]))])),key:"0"}:void 0]),1032,["class","modal-class","modal","modal-penetrable","draggable","close-on-click-modal","modelValue","width"])}}});window.__dialogInstances=[];let UC=null;const WC=(e,r=!0,n="#app")=>{if(!(null==e?void 0:e.dom))return!1;const a={modal:r,...e},s="dialog-"+ ++RC;const o=document.createElement("div");o.setAttribute("id",s),document.querySelector(n).appendChild(o);const i={id:s,class:e.class||"",element:o,domRef:null,updateOption:e=>{},callMethod:(e,...t)=>{}};if(window.__dialogInstances.push(i),UC){const r=t.createVNode(HC,{...a,containerId:s,dialogInstance:i,closed:()=>{var r;const n=document.getElementById(s);n&&(t.render(null,n),n.remove(),window.__dialogInstances=window.__dialogInstances.filter((e=>e.id!==s)));try{null==(r=null==e?void 0:e.closed)||r.call(e)}catch(a){}}});r.appContext=UC._context,t.render(r,o)}else{const r=t.createApp(HC,{...a,containerId:s,dialogInstance:i,closed:()=>{var r;const n=document.getElementById(s);n&&(t.render(null,n),n.remove(),window.__dialogInstances=window.__dialogInstances.filter((e=>e.id!==s)));try{null==(r=null==e?void 0:e.closed)||r.call(e)}catch(a){}}}),n=t.createVNode(HC,{...a,containerId:s,dialogInstance:i});n.appContext=r._context,t.render(n,o)}return i},jC=t.defineComponent({__name:"index",props:{isShowDialog:{type:Boolean,default:!0},dialogTitle:{type:String,default:"Excel预览"},dialogWidth:{type:String,default:"800px"},dialogHeight:{type:String,default:"500px"},exportType:{type:Number,default:1},exportExcel:{type:Boolean,default:!1}},emits:["dialogExport"],setup(e,{expose:r,emit:n}){const a=n,s=e,o=t.ref(),i=t.useAttrs(),l=t.ref(s.isShowDialog);return t.watch((()=>i.file),(e=>{var r;l.value?e&&(r=e,WC({title:s.dialogTitle,dom:AC,option:{...i,file:r},events:{btnClick:()=>{}},modalColor:"rgb(0 21 115 / 20%)",width:s.dialogWidth,height:s.dialogHeight,dialogPadding:[10,20],showFooter:!0,immediately:!1,draggable:!0,confirm:async(e,t)=>{var r;!function(e){a("dialogExport",e)}(await(null==(r=t.value)?void 0:r.exportExcel(s.exportType,s.exportExcel))),e&&e()},close:()=>{},closed:()=>{}},!0,"#app")):(l.value=!l.value,t.nextTick((()=>{l.value=!l.value})))}),{immediate:!0,deep:!0}),r({initShow:e=>{var t;return null==(t=o.value)?void 0:t.initShow(e)},exportExcel:(e=1,t=!1)=>{var r;return null==(r=o.value)?void 0:r.exportExcel(e,t)}}),(e,r)=>l.value?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(AC,t.mergeProps({key:0},e.$attrs,{ref_key:"excelCompRef",ref:o}),null,16))}});jC.install=e=>{e.component(jC.name,jC)};const $C={class:"pdf-reader"},qC={class:"pdf-tools"},GC=["id"],XC=fl(t.defineComponent({name:"ns-pdf",__name:"index",props:{hasTool:{type:Boolean,default:!0},hasOriginalTool:{type:Boolean,default:!1},url:{type:String,default:""},pageScale:{type:String,default:"page-width"}},setup(e,{expose:r}){t.useCssVars((e=>({"87b749f6":i.value})));const a=e,s=t.ref(""),o=t.ref(!1);t.watchEffect((()=>{o.value=!a.url,a.url&&(s.value=a.url)}));const i=t.computed((()=>a.hasOriginalTool?"unset":"none")),l=t.ref({previousPage:"previousPageId",nextPage:"nextPageId",pageNumber:"pageNumberId",zoomIn:"zoomInId",zoomOut:"zoomOutId"}),c=t.ref({toolbar:a.hasOriginalTool}),h=t.ref(0);function f(e){h.value=e.pagesCount}return r({search:function(e,t=!1){const r=document.querySelector("#findHighlightAll");if(r.checked||r.click(),!e)return;const n=document.querySelector("#findInput");n&&(n.value=e);const a=t?"#findPrevious":"#findNext",s=document.querySelector(a);s&&s.click()},getSearchInfo:function(){var e,t,r;null==(r=null==(t=null==(e=document.querySelector("#findResultsCount"))?void 0:e.innerHTML)?void 0:t.replaceAll("matches",""))||r.split(" of ")}}),t.onMounted((()=>{})),(r,a)=>{const i=t.resolveComponent("el-button"),u=t.resolveComponent("el-empty");return t.openBlock(),t.createElementBlock("div",$C,[t.withDirectives(t.createElementVNode("div",qC,[t.createVNode(i,{id:l.value.previousPage},{default:t.withCtx((()=>a[0]||(a[0]=[t.createTextVNode("上一页")]))),_:1},8,["id"]),t.createElementVNode("span",null,[t.createElementVNode("input",{class:"jump-input",id:l.value.pageNumber,type:"number"},null,8,GC),t.createElementVNode("span",null,"/"+t.toDisplayString(h.value)+"页",1)]),t.createVNode(i,{id:l.value.nextPage},{default:t.withCtx((()=>a[1]||(a[1]=[t.createTextVNode("下一页")]))),_:1},8,["id"]),t.createVNode(i,{id:l.value.zoomOut},{default:t.withCtx((()=>a[2]||(a[2]=[t.createTextVNode("缩小")]))),_:1},8,["id"]),t.createVNode(i,{id:l.value.zoomIn},{default:t.withCtx((()=>a[3]||(a[3]=[t.createTextVNode("放大")]))),_:1},8,["id"])],512),[[t.vShow,e.hasTool&&!o.value]]),t.withDirectives(t.createVNode(t.unref(n),{class:"pdf-container",config:c.value,"id-config":l.value,pdf:s.value,"page-number":1,"page-scale":e.pageScale,onPagesRendered:f},null,8,["config","id-config","pdf","page-scale"]),[[t.vShow,!o.value]]),t.renderSlot(r.$slots,"noData",{},(()=>[t.withDirectives(t.createVNode(u,{description:"请配置资源地址"},null,512),[[t.vShow,o.value]])]),!0)])}}}),[["__scopeId","data-v-e08020c7"]]);XC.install=e=>{e.component(XC.name,XC)};var KC="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function YC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ZC(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}function JC(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var QC,eS={exports:{}};var tS=(QC||(QC=1,eS.exports=function e(t,r,n){function a(o,i){if(!r[o]){if(!t[o]){if(!i&&JC)return JC(o);if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=r[o]={exports:{}};t[o][0].call(c.exports,(function(e){return a(t[o][1][e]||e)}),c,c.exports,e,t,r,n)}return r[o].exports}for(var s=JC,o=0;o<n.length;o++)a(n[o]);return a}({1:[function(e,t,r){var n=e("./utils"),a=e("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,a,o,i,l,c,h=[],f=0,u=e.length,d=u,p="string"!==n.getTypeOf(e);f<e.length;)d=u-f,a=p?(t=e[f++],r=f<u?e[f++]:0,f<u?e[f++]:0):(t=e.charCodeAt(f++),r=f<u?e.charCodeAt(f++):0,f<u?e.charCodeAt(f++):0),o=t>>2,i=(3&t)<<4|r>>4,l=1<d?(15&r)<<2|a>>6:64,c=2<d?63&a:64,h.push(s.charAt(o)+s.charAt(i)+s.charAt(l)+s.charAt(c));return h.join("")},r.decode=function(e){var t,r,n,o,i,l,c=0,h=0,f="data:";if(e.substr(0,f.length)===f)throw new Error("Invalid base64 input, it looks like a data url.");var u,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===s.charAt(64)&&d--,e.charAt(e.length-2)===s.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=a.uint8array?new Uint8Array(0|d):new Array(0|d);c<e.length;)t=s.indexOf(e.charAt(c++))<<2|(o=s.indexOf(e.charAt(c++)))>>4,r=(15&o)<<4|(i=s.indexOf(e.charAt(c++)))>>2,n=(3&i)<<6|(l=s.indexOf(e.charAt(c++))),u[h++]=t,64!==i&&(u[h++]=r),64!==l&&(u[h++]=n);return u}},{"./support":30,"./utils":32}],2:[function(e,t,r){var n=e("./external"),a=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),o=e("./stream/DataLengthProbe");function i(e,t,r,n,a){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=a}i.prototype={getContentWorker:function(){var e=new a(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new a(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},i.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},t.exports=i},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){var n=e("./utils"),a=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var s=a,o=n+r;e^=-1;for(var i=n;i<o;i++)e=e>>>8^s[255&(e^t[i])];return~e}(0|t,e,e.length,0):function(e,t,r,n){var s=a,o=n+r;e^=-1;for(var i=n;i<o;i++)e=e>>>8^s[255&(e^t.charCodeAt(i))];return~e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=e("pako"),s=e("./utils"),o=e("./stream/GenericWorker"),i=n?"uint8array":"array";function l(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",s.inherits(l,o),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(i,e.data),!1)},l.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){function n(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n}function a(e,t,r,a,o,h){var f,u,d=e.file,p=e.compression,m=h!==i.utf8encode,g=s.transformTo("string",h(d.name)),v=s.transformTo("string",i.utf8encode(d.name)),w=d.comment,b=s.transformTo("string",h(w)),y=s.transformTo("string",i.utf8encode(w)),k=v.length!==d.name.length,E=y.length!==w.length,x="",_="",C="",S=d.dir,T=d.date,A={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(A.crc32=e.crc32,A.compressedSize=e.compressedSize,A.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),m||!k&&!E||(N|=2048);var B,M,O,R=0,I=0;S&&(R|=16),"UNIX"===o?(I=798,R|=(B=d.unixPermissions,M=S,O=B,B||(O=M?16893:33204),(65535&O)<<16)):(I=20,R|=function(e){return 63&(e||0)}(d.dosPermissions)),f=T.getUTCHours(),f<<=6,f|=T.getUTCMinutes(),f<<=5,f|=T.getUTCSeconds()/2,u=T.getUTCFullYear()-1980,u<<=4,u|=T.getUTCMonth()+1,u<<=5,u|=T.getUTCDate(),k&&(_=n(1,1)+n(l(g),4)+v,x+="up"+n(_.length,2)+_),E&&(C=n(1,1)+n(l(b),4)+y,x+="uc"+n(C.length,2)+C);var D="";return D+="\n\0",D+=n(N,2),D+=p.magic,D+=n(f,2),D+=n(u,2),D+=n(A.crc32,4),D+=n(A.compressedSize,4),D+=n(A.uncompressedSize,4),D+=n(g.length,2),D+=n(x.length,2),{fileRecord:c.LOCAL_FILE_HEADER+D+g+x,dirRecord:c.CENTRAL_FILE_HEADER+n(I,2)+D+n(b.length,2)+"\0\0\0\0"+n(R,4)+n(a,4)+g+x+b}}var s=e("../utils"),o=e("../stream/GenericWorker"),i=e("../utf8"),l=e("../crc32"),c=e("../signature");function h(e,t,r,n){o.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(h,o),h.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},h.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=a(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},h.prototype.closedSource=function(e){this.accumulate=!1;var t,r=this.streamFiles&&!e.file.dir,s=a(e,r,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(s.dirRecord),r)this.push({data:(t=e,c.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)),meta:{percent:100}});else for(this.push({data:s.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},h.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r,a,o,i,l,h,f=this.bytesWritten-e,u=(r=this.dirRecords.length,a=f,o=e,i=this.zipComment,l=this.encodeFileName,h=s.transformTo("string",l(i)),c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+n(r,2)+n(r,2)+n(a,4)+n(o,4)+n(h.length,2)+h);this.push({data:u,meta:{percent:100}})},h.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},h.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},h.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},h.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(n){}return!0},h.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=h},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){var n=e("../compressions"),a=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var s=new a(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,r){o++;var a=function(e,t){var r=e||t,a=n[r];if(!a)throw new Error(r+" is not a valid compression method !");return a}(r.options.compression,t.compression),i=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,c=r.date;r._compressWorker(a,i).withStreamInfo("file",{name:e,dir:l,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(s)})),s.entriesCount=o}catch(i){s.error(i)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(n.prototype=e("./object")).loadAsync=e("./load"),n.support=e("./support"),n.defaults=e("./defaults"),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=e("./external"),t.exports=n},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){var n=e("./utils"),a=e("./external"),s=e("./utf8"),o=e("./zipEntries"),i=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new a.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new i);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),l.isNode&&l.isStream(e)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new o(t);return r.load(e),r})).then((function(e){var r=[a.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var s=0;s<n.length;s++)r.push(c(n[s]));return a.Promise.all(r)})).then((function(e){for(var a=e.shift(),s=a.files,o=0;o<s.length;o++){var i=s[o],l=i.fileNameStr,c=n.resolve(i.fileNameStr);r.file(c,i.decompressed,{binary:!0,optimizedBinaryString:!0,date:i.date,dir:i.dir,comment:i.fileCommentStr.length?i.fileCommentStr:null,unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions,createFolders:t.createFolders}),i.dir||(r.file(c).unsafeOriginalName=l)}return a.zipComment.length&&(r.comment=a.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){var n=e("../utils"),a=e("../stream/GenericWorker");function s(e,t){a.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(s,a),s.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},s.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){var n=e("readable-stream").Readable;function a(e,t,r){n.call(this,t),this._helper=e;var a=this;e.on("data",(function(e,t){a.push(e)||a._helper.pause(),r&&r(t)})).on("error",(function(e){a.emit("error",e)})).on("end",(function(){a.push(null)}))}e("../utils").inherits(a,n),a.prototype._read=function(){this._helper.resume()},t.exports=a},{"../utils":32,"readable-stream":16}],14:[function(e,t,r){t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){function n(e,t,r){var n,a=s.getTypeOf(t),i=s.extend(r||{},l);i.date=i.date||new Date,null!==i.compression&&(i.compression=i.compression.toUpperCase()),"string"==typeof i.unixPermissions&&(i.unixPermissions=parseInt(i.unixPermissions,8)),i.unixPermissions&&16384&i.unixPermissions&&(i.dir=!0),i.dosPermissions&&16&i.dosPermissions&&(i.dir=!0),i.dir&&(e=m(e)),i.createFolders&&(n=p(e))&&g.call(this,n,!0);var f="string"===a&&!1===i.binary&&!1===i.base64;r&&void 0!==r.binary||(i.binary=!f),(t instanceof c&&0===t.uncompressedSize||i.dir||!t||0===t.length)&&(i.base64=!1,i.binary=!0,t="",i.compression="STORE",a="string");var v=null;v=t instanceof c||t instanceof o?t:u.isNode&&u.isStream(t)?new d(e,t):s.prepareContent(e,t,i.binary,i.optimizedBinaryString,i.base64);var w=new h(e,v,i);this.files[e]=w}var a=e("./utf8"),s=e("./utils"),o=e("./stream/GenericWorker"),i=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),h=e("./zipObject"),f=e("./generate"),u=e("./nodejsUtils"),d=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||n.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function v(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,n.call(this,e,t,r),this;if(v(e)){var a=e;return this.filter((function(e,t){return!t.dir&&a.test(e)}))}var s=this.files[this.root+e];return s&&!s.dir?s:null},folder:function(e){if(!e)return this;if(v(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=g.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=s.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");s.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var n=r.comment||this.comment||"";t=f.generateWorker(this,r,n)}catch(l){(t=new o("error")).error(l)}return new i(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=w},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){var n=e("./DataReader");function a(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(a,n),a.prototype.byteAt=function(e){return this.data[this.zero+e]},a.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),a=e.charCodeAt(3),s=this.length-4;0<=s;--s)if(this.data[s]===t&&this.data[s+1]===r&&this.data[s+2]===n&&this.data[s+3]===a)return s-this.zero;return-1},a.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),a=e.charCodeAt(3),s=this.readData(4);return t===s[0]&&r===s[1]&&n===s[2]&&a===s[3]},a.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){var n=e("../utils");function a(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=a},{"../utils":32}],19:[function(e,t,r){var n=e("./Uint8ArrayReader");function a(e){n.call(this,e)}e("../utils").inherits(a,n),a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){var n=e("./DataReader");function a(e){n.call(this,e)}e("../utils").inherits(a,n),a.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},a.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},a.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){var n=e("./ArrayReader");function a(e){n.call(this,e)}e("../utils").inherits(a,n),a.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){var n=e("../utils"),a=e("../support"),s=e("./ArrayReader"),o=e("./StringReader"),i=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||a.uint8array?"nodebuffer"===t?new i(e):a.uint8array?new l(n.transformTo("uint8array",e)):new s(n.transformTo("array",e)):new o(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){var n=e("./GenericWorker"),a=e("../utils");function s(e){n.call(this,"ConvertWorker to "+e),this.destType=e}a.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:a.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){var n=e("./GenericWorker"),a=e("../crc32");function s(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=a(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){var n=e("../utils"),a=e("./GenericWorker");function s(e){a.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,a),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}a.prototype.processChunk.call(this,e)},t.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){var n=e("../utils"),a=e("./GenericWorker");function s(e){a.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(s,a),s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=n},{}],29:[function(e,t,r){var n=e("../utils"),a=e("./ConvertWorker"),s=e("./GenericWorker"),o=e("../base64"),i=e("../support"),l=e("../external"),c=null;if(i.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(u){}function h(e,t){return new l.Promise((function(r,a){var s=[],i=e._internalType,l=e._outputType,c=e._mimeType;e.on("data",(function(e,r){s.push(e),t&&t(r)})).on("error",(function(e){s=[],a(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return o.encode(t);default:return n.transformTo(e,t)}}(l,function(e,t){var r,n=0,a=null,s=0;for(r=0;r<t.length;r++)s+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(s),r=0;r<t.length;r++)a.set(t[r],n),n+=t[r].length;return a;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(i,s),c);r(e)}catch(t){a(t)}s=[]})).resume()}))}function f(e,t,r){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=t,this._mimeType=r,n.checkSupport(o),this._worker=e.pipe(new a(o)),e.lock()}catch(i){this._worker=new s("error"),this._worker.error(i)}}f.prototype={accumulate:function(e){return h(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){n.delay(t,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=f},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,r.nodebuffer="undefined"!=typeof Buffer,r.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)r.blob=!1;else{var n=new ArrayBuffer(0);try{r.blob=0===new Blob([n],{type:"application/zip"}).size}catch(s){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(n),r.blob=0===a.getBlob("application/zip").size}catch(o){r.blob=!1}}}try{r.nodestream=!!e("readable-stream").Readable}catch(s){r.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){for(var n=e("./utils"),a=e("./support"),s=e("./nodejsUtils"),o=e("./stream/GenericWorker"),i=new Array(256),l=0;l<256;l++)i[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){o.call(this,"utf-8 decode"),this.leftOver=null}function h(){o.call(this,"utf-8 encode")}i[254]=i[254]=1,r.utf8encode=function(e){return a.nodebuffer?s.newBufferFrom(e,"utf-8"):function(e){var t,r,n,s,o,i=e.length,l=0;for(s=0;s<i;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<i&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=a.uint8array?new Uint8Array(l):new Array(l),s=o=0;o<l;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<i&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t}(e)},r.utf8decode=function(e){return a.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,a,s,o=e.length,l=new Array(2*o);for(t=r=0;t<o;)if((a=e[t++])<128)l[r++]=a;else if(4<(s=i[a]))l[r++]=65533,t+=s-1;else{for(a&=2===s?31:3===s?15:7;1<s&&t<o;)a=a<<6|63&e[t++],s--;1<s?l[r++]=65533:a<65536?l[r++]=a:(a-=65536,l[r++]=55296|a>>10&1023,l[r++]=56320|1023&a)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),n.applyFromCharCode(l)}(e=n.transformTo(a.uint8array?"uint8array":"array",e))},n.inherits(c,o),c.prototype.processChunk=function(e){var t=n.transformTo(a.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var s=t;(t=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),t.set(s,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var o=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+i[e[r]]>t?r:t}(t),l=t;o!==t.length&&(a.uint8array?(l=t.subarray(0,o),this.leftOver=t.subarray(o,t.length)):(l=t.slice(0,o),this.leftOver=t.slice(o,t.length))),this.push({data:r.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,n.inherits(h,o),h.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=h},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){var n=e("./support"),a=e("./base64"),s=e("./nodejsUtils"),o=e("./external");function i(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(e,t){r.checkSupport("blob");try{return new Blob([e],{type:t})}catch(a){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(t)}catch(s){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,r){var n=[],a=0,s=e.length;if(s<=r)return String.fromCharCode.apply(null,e);for(;a<s;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(a,Math.min(a+r,s)))):n.push(String.fromCharCode.apply(null,e.subarray(a,Math.min(a+r,s)))),a+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(e){return!1}}()}};function h(e){var t=65536,n=r.getTypeOf(e),a=!0;if("uint8array"===n?a=c.applyCanBeUsed.uint8array:"nodebuffer"===n&&(a=c.applyCanBeUsed.nodebuffer),a)for(;1<t;)try{return c.stringifyByChunk(e,n,t)}catch(s){t=Math.floor(t/2)}return c.stringifyByChar(e)}function f(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=h;var u={};u.string={string:i,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return u.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,s.allocBuffer(e.length))}},u.array={string:h,array:i,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(e)}},u.arraybuffer={string:function(e){return h(new Uint8Array(e))},array:function(e){return f(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:i,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(new Uint8Array(e))}},u.uint8array={string:h,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:i,nodebuffer:function(e){return s.newBufferFrom(e)}},u.nodebuffer={string:h,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return u.nodebuffer.uint8array(e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:i},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var n=r.getTypeOf(t);return u[n][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var a=t[n];"."===a||""===a&&0!==n&&n!==t.length-1||(".."===a?r.pop():r.push(a))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&s.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},r.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,s,i,c){return o.Promise.resolve(t).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(t){var h,f=r.getTypeOf(t);return f?("arraybuffer"===f?t=r.transformTo("uint8array",t):"string"===f&&(c?t=a.decode(t):s&&!0!==i&&(t=l(h=t,n.uint8array?new Uint8Array(h.length):new Array(h.length)))),t):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){var n=e("./reader/readerFor"),a=e("./utils"),s=e("./signature"),o=e("./zipEntry"),i=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(t)+", expected "+a.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=i.uint8array?"uint8array":"array",r=a.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.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(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(0<n)this.isSignature(t,s.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){var n=e("./reader/readerFor"),a=e("./utils"),s=e("./compressedObject"),o=e("./crc32"),i=e("./utf8"),l=e("./compressions"),c=e("./support");function h(e,t){this.options=e,this.loadOptions=t}h.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,a=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<a;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(a)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=i.utf8decode(this.fileName),this.fileCommentStr=i.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=a.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var s=a.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:i.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:i.utf8decode(t.readData(e.length-5))}return null}},t.exports=h},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){function n(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var a=e("./stream/StreamHelper"),s=e("./stream/DataWorker"),o=e("./utf8"),i=e("./compressedObject"),l=e("./stream/GenericWorker");n.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var n="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var s=!this._dataBinary;s&&!n&&(t=t.pipe(new o.Utf8EncodeWorker)),!s&&n&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(i){(t=new l("error")).error(i)}return new a(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof i&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new o.Utf8EncodeWorker)),i.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof i?this._data.getContentWorker():this._data instanceof l?this._data:new s(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],h=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},f=0;f<c.length;f++)n.prototype[c[f]]=h;t.exports=n},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,r){(function(e){var r,n,a=e.MutationObserver||e.WebKitMutationObserver;if(a){var s=0,o=new a(h),i=e.document.createTextNode("");o.observe(i,{characterData:!0}),r=function(){i.data=s=++s%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){h(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(h,0)};else{var l=new e.MessageChannel;l.port1.onmessage=h,r=function(){l.port2.postMessage(0)}}var c=[];function h(){var e,t;n=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}n=!1}t.exports=function(e){1!==c.push(e)||n||r()}}).call(this,void 0!==KC?KC:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){var n=e("immediate");function a(){}var s={},o=["REJECTED"],i=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==a&&d(this,e)}function h(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function f(e,t,r){n((function(){var n;try{n=t(r)}catch(a){return s.reject(e,a)}n===e?s.reject(e,new TypeError("Cannot resolve promise with itself")):s.resolve(e,n)}))}function u(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function n(t){r||(r=!0,s.reject(e,t))}function a(t){r||(r=!0,s.resolve(e,t))}var o=p((function(){t(a,n)}));"error"===o.status&&n(o.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(n){r.status="error",r.value=n}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===i||"function"!=typeof t&&this.state===o)return this;var r=new this.constructor(a);return this.state!==l?f(r,this.state===i?e:t,this.outcome):this.queue.push(new h(r,e,t)),r},h.prototype.callFulfilled=function(e){s.resolve(this.promise,e)},h.prototype.otherCallFulfilled=function(e){f(this.promise,this.onFulfilled,e)},h.prototype.callRejected=function(e){s.reject(this.promise,e)},h.prototype.otherCallRejected=function(e){f(this.promise,this.onRejected,e)},s.resolve=function(e,t){var r=p(u,t);if("error"===r.status)return s.reject(e,r.value);var n=r.value;if(n)d(e,n);else{e.state=i,e.outcome=t;for(var a=-1,o=e.queue.length;++a<o;)e.queue[a].callFulfilled(t)}return e},s.reject=function(e,t){e.state=o,e.outcome=t;for(var r=-1,n=e.queue.length;++r<n;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:s.resolve(new this(a),e)},c.reject=function(e){var t=new this(a);return s.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o=new Array(r),i=0,l=-1,c=new this(a);++l<r;)h(e[l],l);return c;function h(e,a){t.resolve(e).then((function(e){o[a]=e,++i!==r||n||(n=!0,s.resolve(c,o))}),(function(e){n||(n=!0,s.reject(c,e))}))}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);for(var o,i=-1,l=new this(a);++i<r;)o=e[i],t.resolve(o).then((function(e){n||(n=!0,s.resolve(l,e))}),(function(e){n||(n=!0,s.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,r){var n={};(0,e("./lib/utils/common").assign)(n,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=n},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){var n=e("./zlib/deflate"),a=e("./utils/common"),s=e("./utils/strings"),o=e("./zlib/messages"),i=e("./zlib/zstream"),l=Object.prototype.toString,c=0,h=-1,f=0,u=8;function d(e){if(!(this instanceof d))return new d(e);this.options=a.assign({level:h,method:u,chunkSize:16384,windowBits:15,memLevel:8,strategy:f,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new i,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==c)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=n.deflateSetDictionary(this.strm,p))!==c)throw new Error(o[r]);this._dict_set=!0}}function p(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}d.prototype.push=function(e,t){var r,o,i=this.strm,h=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?i.input=s.string2buf(e):"[object ArrayBuffer]"===l.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new a.Buf8(h),i.next_out=0,i.avail_out=h),1!==(r=n.deflate(i,o))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==i.avail_out&&(0!==i.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(s.buf2binstring(a.shrinkBuf(i.output,i.next_out))):this.onData(a.shrinkBuf(i.output,i.next_out)))}while((0<i.avail_in||0===i.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==o||(this.onEnd(c),!(i.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=d,r.deflate=p,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){var n=e("./zlib/inflate"),a=e("./utils/common"),s=e("./utils/strings"),o=e("./zlib/constants"),i=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),h=Object.prototype.toString;function f(e){if(!(this instanceof f))return new f(e);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(i[r]);this.header=new c,n.inflateGetHeader(this.strm,this.header)}function u(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||i[r.err];return r.result}f.prototype.push=function(e,t){var r,i,l,c,f,u,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;i=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?d.input=s.binstring2buf(e):"[object ArrayBuffer]"===h.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new a.Buf8(p),d.next_out=0,d.avail_out=p),(r=n.inflate(d,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(u="string"==typeof m?s.string2buf(m):"[object ArrayBuffer]"===h.call(m)?new Uint8Array(m):m,r=n.inflateSetDictionary(this.strm,u)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&r!==o.Z_STREAM_END&&(0!==d.avail_in||i!==o.Z_FINISH&&i!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(l=s.utf8border(d.output,d.next_out),c=d.next_out-l,f=s.buf2string(d.output,l),d.next_out=c,d.avail_out=p-c,c&&a.arraySet(d.output,d.output,l,c,0),this.onData(f)):this.onData(a.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((0<d.avail_in||0===d.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(i=o.Z_FINISH),i===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):i!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),!(d.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=f,r.inflate=u,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,u(e,t)},r.ungzip=u},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,r,n,a){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),a);else for(var s=0;s<n;s++)e[a+s]=t[r+s]},flattenChunks:function(e){var t,r,n,a,s,o;for(t=n=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),t=a=0,r=e.length;t<r;t++)s=e[t],o.set(s,a),a+=s.length;return o}},s={arraySet:function(e,t,r,n,a){for(var s=0;s<n;s++)e[a+s]=t[r+s]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,a)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(n)},{}],42:[function(e,t,r){var n=e("./common"),a=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(c){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(c){s=!1}for(var o=new n.Buf8(256),i=0;i<256;i++)o[i]=252<=i?6:248<=i?5:240<=i?4:224<=i?3:192<=i?2:1;function l(e,t){if(t<65537&&(e.subarray&&s||!e.subarray&&a))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,r.string2buf=function(e){var t,r,a,s,o,i=e.length,l=0;for(s=0;s<i;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<i&&56320==(64512&(a=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(a-56320),s++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(l),s=o=0;o<l;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<i&&56320==(64512&(a=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(a-56320),s++),r<128?t[o++]=r:(r<2048?t[o++]=192|r>>>6:(r<65536?t[o++]=224|r>>>12:(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63),t[o++]=128|r>>>6&63),t[o++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,a=t.length;r<a;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,n,a,s,i=t||e.length,c=new Array(2*i);for(r=n=0;r<i;)if((a=e[r++])<128)c[n++]=a;else if(4<(s=o[a]))c[n++]=65533,r+=s-1;else{for(a&=2===s?31:3===s?15:7;1<s&&r<i;)a=a<<6|63&e[r++],s--;1<s?c[n++]=65533:a<65536?c[n++]=a:(a-=65536,c[n++]=55296|a>>10&1023,c[n++]=56320|1023&a)}return l(c,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){t.exports=function(e,t,r,n){for(var a=65535&e,s=e>>>16&65535,o=0;0!==r;){for(r-=o=2e3<r?2e3:r;s=s+(a=a+t[n++]|0)|0,--o;);a%=65521,s%=65521}return a|s<<16}},{}],44:[function(e,t,r){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){var n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,a){var s=n,o=a+r;e^=-1;for(var i=a;i<o;i++)e=e>>>8^s[255&(e^t[i])];return~e}},{}],46:[function(e,t,r){var n,a=e("../utils/common"),s=e("./trees"),o=e("./adler32"),i=e("./crc32"),l=e("./messages"),c=0,h=4,f=0,u=-2,d=-1,p=4,m=2,g=8,v=9,w=286,b=30,y=19,k=2*w+1,E=15,x=3,_=258,C=_+x+1,S=42,T=113,A=1,N=2,B=3,M=4;function O(e,t){return e.msg=l[t],t}function R(e){return(e<<1)-(4<e?9:0)}function I(e){for(var t=e.length;0<=--t;)e[t]=0}function D(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(a.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function P(e,t){s._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,D(e.strm)}function F(e,t){e.pending_buf[e.pending++]=t}function V(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var r,n,a=e.max_chain_length,s=e.strstart,o=e.prev_length,i=e.nice_match,l=e.strstart>e.w_size-C?e.strstart-(e.w_size-C):0,c=e.window,h=e.w_mask,f=e.prev,u=e.strstart+_,d=c[s+o-1],p=c[s+o];e.prev_length>=e.good_match&&(a>>=2),i>e.lookahead&&(i=e.lookahead);do{if(c[(r=t)+o]===p&&c[r+o-1]===d&&c[r]===c[s]&&c[++r]===c[s+1]){s+=2,r++;do{}while(c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&s<u);if(n=_-(u-s),s=u-_,o<n){if(e.match_start=t,i<=(o=n))break;d=c[s+o-1],p=c[s+o]}}}while((t=f[t&h])>l&&0!=--a);return o<=e.lookahead?o:e.lookahead}function L(e){var t,r,n,s,l,c,h,f,u,d,p=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-C)){for(a.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;n=e.head[--t],e.head[t]=p<=n?n-p:0,--r;);for(t=r=p;n=e.prev[--t],e.prev[t]=p<=n?n-p:0,--r;);s+=p}if(0===e.strm.avail_in)break;if(c=e.strm,h=e.window,f=e.strstart+e.lookahead,d=void 0,(u=s)<(d=c.avail_in)&&(d=u),r=0===d?0:(c.avail_in-=d,a.arraySet(h,c.input,c.next_in,d,f),1===c.state.wrap?c.adler=o(c.adler,h,d,f):2===c.state.wrap&&(c.adler=i(c.adler,h,d,f)),c.next_in+=d,c.total_in+=d,d),e.lookahead+=r,e.lookahead+e.insert>=x)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+x-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<x)););}while(e.lookahead<C&&0!==e.strm.avail_in)}function H(e,t){for(var r,n;;){if(e.lookahead<C){if(L(e),e.lookahead<C&&t===c)return A;if(0===e.lookahead)break}if(r=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-C&&(e.match_length=z(e,r)),e.match_length>=x)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=e.strstart<x-1?e.strstart:x-1,t===h?(P(e,!0),0===e.strm.avail_out?B:M):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}function U(e,t){for(var r,n,a;;){if(e.lookahead<C){if(L(e),e.lookahead<C&&t===c)return A;if(0===e.lookahead)break}if(r=0,e.lookahead>=x&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=x-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-C&&(e.match_length=z(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===x&&4096<e.strstart-e.match_start)&&(e.match_length=x-1)),e.prev_length>=x&&e.match_length<=e.prev_length){for(a=e.strstart+e.lookahead-x,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+x-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=x-1,e.strstart++,n&&(P(e,!1),0===e.strm.avail_out))return A}else if(e.match_available){if((n=s._tr_tally(e,0,e.window[e.strstart-1]))&&P(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return A}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<x-1?e.strstart:x-1,t===h?(P(e,!0),0===e.strm.avail_out?B:M):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}function W(e,t,r,n,a){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=a}function j(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*k),this.dyn_dtree=new a.Buf16(2*(2*b+1)),this.bl_tree=new a.Buf16(2*(2*y+1)),I(this.dyn_ltree),I(this.dyn_dtree),I(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(E+1),this.heap=new a.Buf16(2*w+1),I(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*w+1),I(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 $(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?S:T,e.adler=2===t.wrap?0:1,t.last_flush=c,s._tr_init(t),f):O(e,u)}function q(e){var t,r=$(e);return r===f&&((t=e.state).window_size=2*t.w_size,I(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=x-1,t.match_available=0,t.ins_h=0),r}function G(e,t,r,n,s,o){if(!e)return u;var i=1;if(t===d&&(t=6),n<0?(i=0,n=-n):15<n&&(i=2,n-=16),s<1||v<s||r!==g||n<8||15<n||t<0||9<t||o<0||p<o)return O(e,u);8===n&&(n=9);var l=new j;return(e.state=l).strm=e,l.wrap=i,l.gzhead=null,l.w_bits=n,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=s+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+x-1)/x),l.window=new a.Buf8(2*l.w_size),l.head=new a.Buf16(l.hash_size),l.prev=new a.Buf16(l.w_size),l.lit_bufsize=1<<s+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new a.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=r,q(e)}n=[new W(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(L(e),0===e.lookahead&&t===c)return A;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,P(e,!1),0===e.strm.avail_out))return A;if(e.strstart-e.block_start>=e.w_size-C&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===h?(P(e,!0),0===e.strm.avail_out?B:M):(e.strstart>e.block_start&&(P(e,!1),e.strm.avail_out),A)})),new W(4,4,8,4,H),new W(4,5,16,8,H),new W(4,6,32,32,H),new W(4,4,16,16,U),new W(8,16,32,32,U),new W(8,16,128,128,U),new W(8,32,128,256,U),new W(32,128,258,1024,U),new W(32,258,258,4096,U)],r.deflateInit=function(e,t){return G(e,t,g,15,8,0)},r.deflateInit2=G,r.deflateReset=q,r.deflateResetKeep=$,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?u:(e.state.gzhead=t,f):u},r.deflate=function(e,t){var r,a,o,l;if(!e||!e.state||5<t||t<0)return e?O(e,u):u;if(a=e.state,!e.output||!e.input&&0!==e.avail_in||666===a.status&&t!==h)return O(e,0===e.avail_out?-5:u);if(a.strm=e,r=a.last_flush,a.last_flush=t,a.status===S)if(2===a.wrap)e.adler=0,F(a,31),F(a,139),F(a,8),a.gzhead?(F(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),F(a,255&a.gzhead.time),F(a,a.gzhead.time>>8&255),F(a,a.gzhead.time>>16&255),F(a,a.gzhead.time>>24&255),F(a,9===a.level?2:2<=a.strategy||a.level<2?4:0),F(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(F(a,255&a.gzhead.extra.length),F(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=i(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69):(F(a,0),F(a,0),F(a,0),F(a,0),F(a,0),F(a,9===a.level?2:2<=a.strategy||a.level<2?4:0),F(a,3),a.status=T);else{var d=g+(a.w_bits-8<<4)<<8;d|=(2<=a.strategy||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(d|=32),d+=31-d%31,a.status=T,V(a,d),0!==a.strstart&&(V(a,e.adler>>>16),V(a,65535&e.adler)),e.adler=1}if(69===a.status)if(a.gzhead.extra){for(o=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>o&&(e.adler=i(e.adler,a.pending_buf,a.pending-o,o)),D(e),o=a.pending,a.pending!==a.pending_buf_size));)F(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>o&&(e.adler=i(e.adler,a.pending_buf,a.pending-o,o)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=73)}else a.status=73;if(73===a.status)if(a.gzhead.name){o=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>o&&(e.adler=i(e.adler,a.pending_buf,a.pending-o,o)),D(e),o=a.pending,a.pending===a.pending_buf_size)){l=1;break}l=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,F(a,l)}while(0!==l);a.gzhead.hcrc&&a.pending>o&&(e.adler=i(e.adler,a.pending_buf,a.pending-o,o)),0===l&&(a.gzindex=0,a.status=91)}else a.status=91;if(91===a.status)if(a.gzhead.comment){o=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>o&&(e.adler=i(e.adler,a.pending_buf,a.pending-o,o)),D(e),o=a.pending,a.pending===a.pending_buf_size)){l=1;break}l=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,F(a,l)}while(0!==l);a.gzhead.hcrc&&a.pending>o&&(e.adler=i(e.adler,a.pending_buf,a.pending-o,o)),0===l&&(a.status=103)}else a.status=103;if(103===a.status&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&D(e),a.pending+2<=a.pending_buf_size&&(F(a,255&e.adler),F(a,e.adler>>8&255),e.adler=0,a.status=T)):a.status=T),0!==a.pending){if(D(e),0===e.avail_out)return a.last_flush=-1,f}else if(0===e.avail_in&&R(t)<=R(r)&&t!==h)return O(e,-5);if(666===a.status&&0!==e.avail_in)return O(e,-5);if(0!==e.avail_in||0!==a.lookahead||t!==c&&666!==a.status){var p=2===a.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(L(e),0===e.lookahead)){if(t===c)return A;break}if(e.match_length=0,r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===h?(P(e,!0),0===e.strm.avail_out?B:M):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}(a,t):3===a.strategy?function(e,t){for(var r,n,a,o,i=e.window;;){if(e.lookahead<=_){if(L(e),e.lookahead<=_&&t===c)return A;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&0<e.strstart&&(n=i[a=e.strstart-1])===i[++a]&&n===i[++a]&&n===i[++a]){o=e.strstart+_;do{}while(n===i[++a]&&n===i[++a]&&n===i[++a]&&n===i[++a]&&n===i[++a]&&n===i[++a]&&n===i[++a]&&n===i[++a]&&a<o);e.match_length=_-(o-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(r=s._tr_tally(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(P(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===h?(P(e,!0),0===e.strm.avail_out?B:M):e.last_lit&&(P(e,!1),0===e.strm.avail_out)?A:N}(a,t):n[a.level].func(a,t);if(p!==B&&p!==M||(a.status=666),p===A||p===B)return 0===e.avail_out&&(a.last_flush=-1),f;if(p===N&&(1===t?s._tr_align(a):5!==t&&(s._tr_stored_block(a,0,0,!1),3===t&&(I(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),D(e),0===e.avail_out))return a.last_flush=-1,f}return t!==h?f:a.wrap<=0?1:(2===a.wrap?(F(a,255&e.adler),F(a,e.adler>>8&255),F(a,e.adler>>16&255),F(a,e.adler>>24&255),F(a,255&e.total_in),F(a,e.total_in>>8&255),F(a,e.total_in>>16&255),F(a,e.total_in>>24&255)):(V(a,e.adler>>>16),V(a,65535&e.adler)),D(e),0<a.wrap&&(a.wrap=-a.wrap),0!==a.pending?f:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==S&&69!==t&&73!==t&&91!==t&&103!==t&&t!==T&&666!==t?O(e,u):(e.state=null,t===T?O(e,-3):f):u},r.deflateSetDictionary=function(e,t){var r,n,s,i,l,c,h,d,p=t.length;if(!e||!e.state)return u;if(2===(i=(r=e.state).wrap)||1===i&&r.status!==S||r.lookahead)return u;for(1===i&&(e.adler=o(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===i&&(I(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new a.Buf8(r.w_size),a.arraySet(d,t,p-r.w_size,r.w_size,0),t=d,p=r.w_size),l=e.avail_in,c=e.next_in,h=e.input,e.avail_in=p,e.next_in=0,e.input=t,L(r);r.lookahead>=x;){for(n=r.strstart,s=r.lookahead-(x-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+x-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++,--s;);r.strstart=n,r.lookahead=x-1,L(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=x-1,r.match_available=0,e.next_in=c,e.input=h,e.avail_in=l,r.wrap=i,f},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){t.exports=function(e,t){var r,n,a,s,o,i,l,c,h,f,u,d,p,m,g,v,w,b,y,k,E,x,_,C,S;r=e.state,n=e.next_in,C=e.input,a=n+(e.avail_in-5),s=e.next_out,S=e.output,o=s-(t-e.avail_out),i=s+(e.avail_out-257),l=r.dmax,c=r.wsize,h=r.whave,f=r.wnext,u=r.window,d=r.hold,p=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,w=(1<<r.distbits)-1;e:do{p<15&&(d+=C[n++]<<p,p+=8,d+=C[n++]<<p,p+=8),b=m[d&v];t:for(;;){if(d>>>=y=b>>>24,p-=y,0==(y=b>>>16&255))S[s++]=65535&b;else{if(!(16&y)){if(!(64&y)){b=m[(65535&b)+(d&(1<<y)-1)];continue t}if(32&y){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}k=65535&b,(y&=15)&&(p<y&&(d+=C[n++]<<p,p+=8),k+=d&(1<<y)-1,d>>>=y,p-=y),p<15&&(d+=C[n++]<<p,p+=8,d+=C[n++]<<p,p+=8),b=g[d&w];r:for(;;){if(d>>>=y=b>>>24,p-=y,!(16&(y=b>>>16&255))){if(!(64&y)){b=g[(65535&b)+(d&(1<<y)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(E=65535&b,p<(y&=15)&&(d+=C[n++]<<p,(p+=8)<y&&(d+=C[n++]<<p,p+=8)),l<(E+=d&(1<<y)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=y,p-=y,(y=s-o)<E){if(h<(y=E-y)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(_=u,(x=0)===f){if(x+=c-y,y<k){for(k-=y;S[s++]=u[x++],--y;);x=s-E,_=S}}else if(f<y){if(x+=c+f-y,(y-=f)<k){for(k-=y;S[s++]=u[x++],--y;);if(x=0,f<k){for(k-=y=f;S[s++]=u[x++],--y;);x=s-E,_=S}}}else if(x+=f-y,y<k){for(k-=y;S[s++]=u[x++],--y;);x=s-E,_=S}for(;2<k;)S[s++]=_[x++],S[s++]=_[x++],S[s++]=_[x++],k-=3;k&&(S[s++]=_[x++],1<k&&(S[s++]=_[x++]))}else{for(x=s-E;S[s++]=S[x++],S[s++]=S[x++],S[s++]=S[x++],2<(k-=3););k&&(S[s++]=S[x++],1<k&&(S[s++]=S[x++]))}break}}break}}while(n<a&&s<i);n-=k=p>>3,d&=(1<<(p-=k<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n<a?a-n+5:5-(n-a),e.avail_out=s<i?i-s+257:257-(s-i),r.hold=d,r.bits=p}},{}],49:[function(e,t,r){var n=e("../utils/common"),a=e("./adler32"),s=e("./crc32"),o=e("./inffast"),i=e("./inftrees"),l=1,c=2,h=0,f=-2,u=1,d=852,p=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=u,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(d),t.distcode=t.distdyn=new n.Buf32(p),t.sane=1,t.back=-1,h):f}function w(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,v(e)):f}function b(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?f:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,w(e))):f}function y(e,t){var r,n;return e?(n=new g,(e.state=n).window=null,(r=b(e,t))!==h&&(e.state=null),r):f}var k,E,x=!0;function _(e){if(x){var t;for(k=new n.Buf32(512),E=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(i(l,e.lens,0,288,k,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;i(c,e.lens,0,32,E,0,e.work,{bits:5}),x=!1}e.lencode=k,e.lenbits=9,e.distcode=E,e.distbits=5}function C(e,t,r,a){var s,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),a>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a<(s=o.wsize-o.wnext)&&(s=a),n.arraySet(o.window,t,r-a,s,o.wnext),(a-=s)?(n.arraySet(o.window,t,r-a,a,0),o.wnext=a,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0}r.inflateReset=w,r.inflateReset2=b,r.inflateResetKeep=v,r.inflateInit=function(e){return y(e,15)},r.inflateInit2=y,r.inflate=function(e,t){var r,d,p,g,v,w,b,y,k,E,x,S,T,A,N,B,M,O,R,I,D,P,F,V,z=0,L=new n.Buf8(4),H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return f;12===(r=e.state).mode&&(r.mode=13),v=e.next_out,p=e.output,b=e.avail_out,g=e.next_in,d=e.input,w=e.avail_in,y=r.hold,k=r.bits,E=w,x=b,P=h;e:for(;;)switch(r.mode){case u:if(0===r.wrap){r.mode=13;break}for(;k<16;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(2&r.wrap&&35615===y){L[r.check=0]=255&y,L[1]=y>>>8&255,r.check=s(r.check,L,2,0),k=y=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&y)){e.msg="unknown compression method",r.mode=30;break}if(k-=4,D=8+(15&(y>>>=4)),0===r.wbits)r.wbits=D;else if(D>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<D,e.adler=r.check=1,r.mode=512&y?10:12,k=y=0;break;case 2:for(;k<16;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(r.flags=y,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=y>>8&1),512&r.flags&&(L[0]=255&y,L[1]=y>>>8&255,r.check=s(r.check,L,2,0)),k=y=0,r.mode=3;case 3:for(;k<32;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}r.head&&(r.head.time=y),512&r.flags&&(L[0]=255&y,L[1]=y>>>8&255,L[2]=y>>>16&255,L[3]=y>>>24&255,r.check=s(r.check,L,4,0)),k=y=0,r.mode=4;case 4:for(;k<16;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}r.head&&(r.head.xflags=255&y,r.head.os=y>>8),512&r.flags&&(L[0]=255&y,L[1]=y>>>8&255,r.check=s(r.check,L,2,0)),k=y=0,r.mode=5;case 5:if(1024&r.flags){for(;k<16;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}r.length=y,r.head&&(r.head.extra_len=y),512&r.flags&&(L[0]=255&y,L[1]=y>>>8&255,r.check=s(r.check,L,2,0)),k=y=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(w<(S=r.length)&&(S=w),S&&(r.head&&(D=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,d,g,S,D)),512&r.flags&&(r.check=s(r.check,d,S,g)),w-=S,g+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===w)break e;for(S=0;D=d[g+S++],r.head&&D&&r.length<65536&&(r.head.name+=String.fromCharCode(D)),D&&S<w;);if(512&r.flags&&(r.check=s(r.check,d,S,g)),w-=S,g+=S,D)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===w)break e;for(S=0;D=d[g+S++],r.head&&D&&r.length<65536&&(r.head.comment+=String.fromCharCode(D)),D&&S<w;);if(512&r.flags&&(r.check=s(r.check,d,S,g)),w-=S,g+=S,D)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;k<16;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(y!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}k=y=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;k<32;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}e.adler=r.check=m(y),k=y=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=v,e.avail_out=b,e.next_in=g,e.avail_in=w,r.hold=y,r.bits=k,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){y>>>=7&k,k-=7&k,r.mode=27;break}for(;k<3;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}switch(r.last=1&y,k-=1,3&(y>>>=1)){case 0:r.mode=14;break;case 1:if(_(r),r.mode=20,6!==t)break;y>>>=2,k-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}y>>>=2,k-=2;break;case 14:for(y>>>=7&k,k-=7&k;k<32;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&y,k=y=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(w<S&&(S=w),b<S&&(S=b),0===S)break e;n.arraySet(p,d,g,S,v),w-=S,g+=S,b-=S,v+=S,r.length-=S;break}r.mode=12;break;case 17:for(;k<14;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(r.nlen=257+(31&y),y>>>=5,k-=5,r.ndist=1+(31&y),y>>>=5,k-=5,r.ncode=4+(15&y),y>>>=4,k-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;k<3;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}r.lens[H[r.have++]]=7&y,y>>>=3,k-=3}for(;r.have<19;)r.lens[H[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F={bits:r.lenbits},P=i(0,r.lens,0,19,r.lencode,0,r.work,F),r.lenbits=F.bits,P){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;B=(z=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,M=65535&z,!((N=z>>>24)<=k);){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(M<16)y>>>=N,k-=N,r.lens[r.have++]=M;else{if(16===M){for(V=N+2;k<V;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(y>>>=N,k-=N,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}D=r.lens[r.have-1],S=3+(3&y),y>>>=2,k-=2}else if(17===M){for(V=N+3;k<V;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}k-=N,D=0,S=3+(7&(y>>>=N)),y>>>=3,k-=3}else{for(V=N+7;k<V;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}k-=N,D=0,S=11+(127&(y>>>=N)),y>>>=7,k-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=D}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,F={bits:r.lenbits},P=i(l,r.lens,0,r.nlen,r.lencode,0,r.work,F),r.lenbits=F.bits,P){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,F={bits:r.distbits},P=i(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,F),r.distbits=F.bits,P){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=w&&258<=b){e.next_out=v,e.avail_out=b,e.next_in=g,e.avail_in=w,r.hold=y,r.bits=k,o(e,x),v=e.next_out,p=e.output,b=e.avail_out,g=e.next_in,d=e.input,w=e.avail_in,y=r.hold,k=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;B=(z=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,M=65535&z,!((N=z>>>24)<=k);){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(B&&!(240&B)){for(O=N,R=B,I=M;B=(z=r.lencode[I+((y&(1<<O+R)-1)>>O)])>>>16&255,M=65535&z,!(O+(N=z>>>24)<=k);){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}y>>>=O,k-=O,r.back+=O}if(y>>>=N,k-=N,r.back+=N,r.length=M,0===B){r.mode=26;break}if(32&B){r.back=-1,r.mode=12;break}if(64&B){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&B,r.mode=22;case 22:if(r.extra){for(V=r.extra;k<V;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}r.length+=y&(1<<r.extra)-1,y>>>=r.extra,k-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;B=(z=r.distcode[y&(1<<r.distbits)-1])>>>16&255,M=65535&z,!((N=z>>>24)<=k);){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(!(240&B)){for(O=N,R=B,I=M;B=(z=r.distcode[I+((y&(1<<O+R)-1)>>O)])>>>16&255,M=65535&z,!(O+(N=z>>>24)<=k);){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}y>>>=O,k-=O,r.back+=O}if(y>>>=N,k-=N,r.back+=N,64&B){e.msg="invalid distance code",r.mode=30;break}r.offset=M,r.extra=15&B,r.mode=24;case 24:if(r.extra){for(V=r.extra;k<V;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}r.offset+=y&(1<<r.extra)-1,y>>>=r.extra,k-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===b)break e;if(S=x-b,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}T=S>r.wnext?(S-=r.wnext,r.wsize-S):r.wnext-S,S>r.length&&(S=r.length),A=r.window}else A=p,T=v-r.offset,S=r.length;for(b<S&&(S=b),b-=S,r.length-=S;p[v++]=A[T++],--S;);0===r.length&&(r.mode=21);break;case 26:if(0===b)break e;p[v++]=r.length,b--,r.mode=21;break;case 27:if(r.wrap){for(;k<32;){if(0===w)break e;w--,y|=d[g++]<<k,k+=8}if(x-=b,e.total_out+=x,r.total+=x,x&&(e.adler=r.check=r.flags?s(r.check,p,x,v-x):a(r.check,p,x,v-x)),x=b,(r.flags?y:m(y))!==r.check){e.msg="incorrect data check",r.mode=30;break}k=y=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;k<32;){if(0===w)break e;w--,y+=d[g++]<<k,k+=8}if(y!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}k=y=0}r.mode=29;case 29:P=1;break e;case 30:P=-3;break e;case 31:return-4;default:return f}return e.next_out=v,e.avail_out=b,e.next_in=g,e.avail_in=w,r.hold=y,r.bits=k,(r.wsize||x!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&C(e,e.output,e.next_out,x-e.avail_out)?(r.mode=31,-4):(E-=e.avail_in,x-=e.avail_out,e.total_in+=E,e.total_out+=x,r.total+=x,r.wrap&&x&&(e.adler=r.check=r.flags?s(r.check,p,x,e.next_out-x):a(r.check,p,x,e.next_out-x)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==E&&0===x||4===t)&&P===h&&(P=-5),P)},r.inflateEnd=function(e){if(!e||!e.state)return f;var t=e.state;return t.window&&(t.window=null),e.state=null,h},r.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?((r.head=t).done=!1,h):f},r.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?f:11===r.mode&&a(1,t,n,0)!==r.check?-3:C(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,h):f},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){var n=e("../utils/common"),a=[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],s=[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],o=[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],i=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,l,c,h,f,u){var d,p,m,g,v,w,b,y,k,E=u.bits,x=0,_=0,C=0,S=0,T=0,A=0,N=0,B=0,M=0,O=0,R=null,I=0,D=new n.Buf16(16),P=new n.Buf16(16),F=null,V=0;for(x=0;x<=15;x++)D[x]=0;for(_=0;_<l;_++)D[t[r+_]]++;for(T=E,S=15;1<=S&&0===D[S];S--);if(S<T&&(T=S),0===S)return c[h++]=20971520,c[h++]=20971520,u.bits=1,0;for(C=1;C<S&&0===D[C];C++);for(T<C&&(T=C),x=B=1;x<=15;x++)if(B<<=1,(B-=D[x])<0)return-1;if(0<B&&(0===e||1!==S))return-1;for(P[1]=0,x=1;x<15;x++)P[x+1]=P[x]+D[x];for(_=0;_<l;_++)0!==t[r+_]&&(f[P[t[r+_]]++]=_);if(w=0===e?(R=F=f,19):1===e?(R=a,I-=257,F=s,V-=257,256):(R=o,F=i,-1),x=C,v=h,N=_=O=0,m=-1,g=(M=1<<(A=T))-1,1===e&&852<M||2===e&&592<M)return 1;for(;;){for(b=x-N,k=f[_]<w?(y=0,f[_]):f[_]>w?(y=F[V+f[_]],R[I+f[_]]):(y=96,0),d=1<<x-N,C=p=1<<A;c[v+(O>>N)+(p-=d)]=b<<24|y<<16|k,0!==p;);for(d=1<<x-1;O&d;)d>>=1;if(0!==d?(O&=d-1,O+=d):O=0,_++,0==--D[x]){if(x===S)break;x=t[r+f[_]]}if(T<x&&(O&g)!==m){for(0===N&&(N=T),v+=C,B=1<<(A=x-N);A+N<S&&!((B-=D[A+N])<=0);)A++,B<<=1;if(M+=1<<A,1===e&&852<M||2===e&&592<M)return 1;c[m=O&g]=T<<24|A<<16|v-h}}return 0!==O&&(c[v+O]=x-N<<24|64<<16),u.bits=T,0}},{"../utils/common":41}],51:[function(e,t,r){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){var n=e("../utils/common"),a=0,s=1;function o(e){for(var t=e.length;0<=--t;)e[t]=0}var i=0,l=29,c=256,h=c+1+l,f=30,u=19,d=2*h+1,p=15,m=16,g=7,v=256,w=16,b=17,y=18,k=[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],E=[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],x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],C=new Array(2*(h+2));o(C);var S=new Array(2*f);o(S);var T=new Array(512);o(T);var A=new Array(256);o(A);var N=new Array(l);o(N);var B,M,O,R=new Array(f);function I(e,t,r,n,a){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=a,this.has_stree=e&&e.length}function D(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function P(e){return e<256?T[e]:T[256+(e>>>7)]}function F(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function V(e,t,r){e.bi_valid>m-r?(e.bi_buf|=t<<e.bi_valid&65535,F(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=r-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function z(e,t,r){V(e,r[2*t],r[2*t+1])}function L(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function H(e,t,r){var n,a,s=new Array(p+1),o=0;for(n=1;n<=p;n++)s[n]=o=o+r[n-1]<<1;for(a=0;a<=t;a++){var i=e[2*a+1];0!==i&&(e[2*a]=L(s[i]++,i))}}function U(e){var t;for(t=0;t<h;t++)e.dyn_ltree[2*t]=0;for(t=0;t<f;t++)e.dyn_dtree[2*t]=0;for(t=0;t<u;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*v]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function W(e){8<e.bi_valid?F(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function j(e,t,r,n){var a=2*t,s=2*r;return e[a]<e[s]||e[a]===e[s]&&n[t]<=n[r]}function $(e,t,r){for(var n=e.heap[r],a=r<<1;a<=e.heap_len&&(a<e.heap_len&&j(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!j(t,n,e.heap[a],e.depth));)e.heap[r]=e.heap[a],r=a,a<<=1;e.heap[r]=n}function q(e,t,r){var n,a,s,o,i=0;if(0!==e.last_lit)for(;n=e.pending_buf[e.d_buf+2*i]<<8|e.pending_buf[e.d_buf+2*i+1],a=e.pending_buf[e.l_buf+i],i++,0===n?z(e,a,t):(z(e,(s=A[a])+c+1,t),0!==(o=k[s])&&V(e,a-=N[s],o),z(e,s=P(--n),r),0!==(o=E[s])&&V(e,n-=R[s],o)),i<e.last_lit;);z(e,v,t)}function G(e,t){var r,n,a,s=t.dyn_tree,o=t.stat_desc.static_tree,i=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=d,r=0;r<l;r++)0!==s[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):s[2*r+1]=0;for(;e.heap_len<2;)s[2*(a=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[a]=0,e.opt_len--,i&&(e.static_len-=o[2*a+1]);for(t.max_code=c,r=e.heap_len>>1;1<=r;r--)$(e,s,r);for(a=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],$(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*a]=s[2*r]+s[2*n],e.depth[a]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=a,e.heap[1]=a++,$(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,a,s,o,i,l=t.dyn_tree,c=t.max_code,h=t.stat_desc.static_tree,f=t.stat_desc.has_stree,u=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,g=t.stat_desc.max_length,v=0;for(s=0;s<=p;s++)e.bl_count[s]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<d;r++)g<(s=l[2*l[2*(n=e.heap[r])+1]+1]+1)&&(s=g,v++),l[2*n+1]=s,c<n||(e.bl_count[s]++,o=0,m<=n&&(o=u[n-m]),i=l[2*n],e.opt_len+=i*(s+o),f&&(e.static_len+=i*(h[2*n+1]+o)));if(0!==v){do{for(s=g-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[g]--,v-=2}while(0<v);for(s=g;0!==s;s--)for(n=e.bl_count[s];0!==n;)c<(a=e.heap[--r])||(l[2*a+1]!==s&&(e.opt_len+=(s-l[2*a+1])*l[2*a],l[2*a+1]=s),n--)}}(e,t),H(s,c,e.bl_count)}function X(e,t,r){var n,a,s=-1,o=t[1],i=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)a=o,o=t[2*(n+1)+1],++i<l&&a===o||(i<c?e.bl_tree[2*a]+=i:0!==a?(a!==s&&e.bl_tree[2*a]++,e.bl_tree[2*w]++):i<=10?e.bl_tree[2*b]++:e.bl_tree[2*y]++,s=a,c=(i=0)===o?(l=138,3):a===o?(l=6,3):(l=7,4))}function K(e,t,r){var n,a,s=-1,o=t[1],i=0,l=7,c=4;for(0===o&&(l=138,c=3),n=0;n<=r;n++)if(a=o,o=t[2*(n+1)+1],!(++i<l&&a===o)){if(i<c)for(;z(e,a,e.bl_tree),0!=--i;);else 0!==a?(a!==s&&(z(e,a,e.bl_tree),i--),z(e,w,e.bl_tree),V(e,i-3,2)):i<=10?(z(e,b,e.bl_tree),V(e,i-3,3)):(z(e,y,e.bl_tree),V(e,i-11,7));s=a,c=(i=0)===o?(l=138,3):a===o?(l=6,3):(l=7,4)}}o(R);var Y=!1;function Z(e,t,r,a){var s,o,l;V(e,(i<<1)+(a?1:0),3),o=t,l=r,W(s=e),F(s,l),F(s,~l),n.arraySet(s.pending_buf,s.window,o,l,s.pending),s.pending+=l}r._tr_init=function(e){Y||(function(){var e,t,r,n,a,s=new Array(p+1);for(n=r=0;n<l-1;n++)for(N[n]=r,e=0;e<1<<k[n];e++)A[r++]=n;for(A[r-1]=n,n=a=0;n<16;n++)for(R[n]=a,e=0;e<1<<E[n];e++)T[a++]=n;for(a>>=7;n<f;n++)for(R[n]=a<<7,e=0;e<1<<E[n]-7;e++)T[256+a++]=n;for(t=0;t<=p;t++)s[t]=0;for(e=0;e<=143;)C[2*e+1]=8,e++,s[8]++;for(;e<=255;)C[2*e+1]=9,e++,s[9]++;for(;e<=279;)C[2*e+1]=7,e++,s[7]++;for(;e<=287;)C[2*e+1]=8,e++,s[8]++;for(H(C,h+1,s),e=0;e<f;e++)S[2*e+1]=5,S[2*e]=L(e,5);B=new I(C,k,c+1,h,p),M=new I(S,E,0,f,p),O=new I(new Array(0),x,0,u,g)}(),Y=!0),e.l_desc=new D(e.dyn_ltree,B),e.d_desc=new D(e.dyn_dtree,M),e.bl_desc=new D(e.bl_tree,O),e.bi_buf=0,e.bi_valid=0,U(e)},r._tr_stored_block=Z,r._tr_flush_block=function(e,t,r,n){var o,i,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return a;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return s;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return s;return a}(e)),G(e,e.l_desc),G(e,e.d_desc),l=function(e){var t;for(X(e,e.dyn_ltree,e.l_desc.max_code),X(e,e.dyn_dtree,e.d_desc.max_code),G(e,e.bl_desc),t=u-1;3<=t&&0===e.bl_tree[2*_[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=o&&(o=i)):o=i=r+5,r+4<=o&&-1!==t?Z(e,t,r,n):4===e.strategy||i===o?(V(e,2+(n?1:0),3),q(e,C,S)):(V(e,4+(n?1:0),3),function(e,t,r,n){var a;for(V(e,t-257,5),V(e,r-1,5),V(e,n-4,4),a=0;a<n;a++)V(e,e.bl_tree[2*_[a]+1],3);K(e,e.dyn_ltree,t-1),K(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),q(e,e.dyn_ltree,e.dyn_dtree)),U(e),n&&W(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(A[r]+c+1)]++,e.dyn_dtree[2*P(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){var t;V(e,2,3),z(e,v,C),16===(t=e).bi_valid?(F(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,r){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(e,t){if(!e.setImmediate){var r,n,a,s,o=1,i={},l=!1,c=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,r="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick((function(){u(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(s="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",d,!1):e.attachEvent("onmessage",d),function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){u(e.data)},function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(n=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){u(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(u,0,e)},h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return i[o]=a,r(o),o++},h.clearImmediate=f}function f(e){delete i[e]}function u(e){if(l)setTimeout(u,0,e);else{var r=i[e];if(r){l=!0;try{!function(e){var r=e.callback,n=e.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(t,n)}}(r)}finally{f(e),l=!1}}}}function d(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(s)&&u(+t.data.slice(s.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==KC?KC:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)),eS.exports);const rS=YC(tS);var nS,aS;function sS(e){return/^[^"'].*\s.*[^"']$/.test(e)?`'${e}'`:e}function oS(e){let t=e.lastIndexOf("/")+1;return[0==t?"":e.substring(0,t),0==t?e:e.substring(t)]}function iS(e,t){try{const r="http://docx/";return new URL(e,r+t).toString().substring(r.length)}catch{return`${t}${e}`}}function lS(e,t){return e.reduce(((e,r)=>(e[t(r)]=r,e)),{})}function cS(e){return e&&"object"==typeof e&&!Array.isArray(e)}function hS(e,...t){if(!t.length)return e;const r=t.shift();if(cS(e)&&cS(r))for(const n in r)if(cS(r[n])){hS(e[n]??(e[n]={}),r[n])}else e[n]=r[n];return hS(e,...t)}function fS(e){return Array.isArray(e)?e:[e]}(aS=nS||(nS={})).OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",aS.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",aS.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",aS.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",aS.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",aS.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",aS.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",aS.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",aS.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",aS.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",aS.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",aS.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",aS.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",aS.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",aS.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",aS.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",aS.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties",aS.Comments="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",aS.CommentsExtended="http://schemas.microsoft.com/office/2011/relationships/commentsExtended",aS.AltChunk="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk";const uS="http://schemas.openxmlformats.org/wordprocessingml/2006/main",dS={mul:.05,unit:"pt"},pS={mul:1/12700,unit:"pt"},mS={mul:.5,unit:"pt"},gS={mul:.125,unit:"pt",min:.25,max:12},vS={mul:1,unit:"pt"},wS={mul:.02,unit:"%"};function bS(e,t=dS){if(null==e||/.+(p[xt]|[%])$/.test(e))return e;var r=parseInt(e)*t.mul;return t.min&&t.max&&(r=function(e,t,r){return t>e?t:r<e?r:e}(r,t.min,t.max)),`${r.toFixed(2)}${t.unit}`}function yS(e,t,r){if(e.namespaceURI!=uS)return!1;switch(e.localName){case"color":t.color=r.attr(e,"val");break;case"sz":t.fontSize=r.lengthAttr(e,"val",mS);break;default:return!1}return!0}class kS{elements(e,t=null){const r=[];for(let n=0,a=e.childNodes.length;n<a;n++){let a=e.childNodes.item(n);1!=a.nodeType||null!=t&&a.localName!=t||r.push(a)}return r}element(e,t){for(let r=0,n=e.childNodes.length;r<n;r++){let n=e.childNodes.item(r);if(1==n.nodeType&&n.localName==t)return n}return null}elementAttr(e,t,r){var n=this.element(e,t);return n?this.attr(n,r):void 0}attrs(e){return Array.from(e.attributes)}attr(e,t){for(let r=0,n=e.attributes.length;r<n;r++){let n=e.attributes.item(r);if(n.localName==t)return n.value}return null}intAttr(e,t,r=null){var n=this.attr(e,t);return n?parseInt(n):r}hexAttr(e,t,r=null){var n=this.attr(e,t);return n?parseInt(n,16):r}floatAttr(e,t,r=null){var n=this.attr(e,t);return n?parseFloat(n):r}boolAttr(e,t,r=null){return function(e,t=!1){switch(e){case"1":case"on":case"true":return!0;case"0":case"off":case"false":return!1;default:return t}}(this.attr(e,t),r)}lengthAttr(e,t,r=dS){return bS(this.attr(e,t),r)}}const ES=new kS;class xS{constructor(e,t){this._package=e,this.path=t}async load(){this.rels=await this._package.loadRelationships(this.path);const e=await this._package.load(this.path),t=this._package.parseXmlDocument(e);this._package.options.keepOrigin&&(this._xmlDocument=t),this.parseXml(t.firstElementChild)}save(){var e;this._package.update(this.path,(e=this._xmlDocument,(new XMLSerializer).serializeToString(e)))}parseXml(e){}}const _S={embedRegular:"regular",embedBold:"bold",embedItalic:"italic",embedBoldItalic:"boldItalic"};function CS(e,t){return t.elements(e).map((e=>function(e,t){let r={name:t.attr(e,"name"),embedFontRefs:[]};for(let n of t.elements(e))switch(n.localName){case"family":r.family=t.attr(n,"val");break;case"altName":r.altName=t.attr(n,"val");break;case"embedRegular":case"embedBold":case"embedItalic":case"embedBoldItalic":r.embedFontRefs.push(SS(n,t))}return r}(e,t)))}function SS(e,t){return{id:t.attr(e,"id"),key:t.attr(e,"fontKey"),type:_S[e.localName]}}class TS extends xS{parseXml(e){this.fonts=CS(e,this._package.xmlParser)}}class AS{constructor(e,t){this._zip=e,this.options=t,this.xmlParser=new kS}get(e){const t=function(e){return e.startsWith("/")?e.substr(1):e}(e);return this._zip.files[t]??this._zip.files[t.replace(/\//g,"\\")]}update(e,t){this._zip.file(e,t)}static async load(e,t){const r=await rS.loadAsync(e);return new AS(r,t)}save(e="blob"){return this._zip.generateAsync({type:e})}load(e,t="string"){var r;return(null==(r=this.get(e))?void 0:r.async(t))??Promise.resolve(null)}async loadRelationships(e=null){let t="_rels/.rels";if(null!=e){const[r,n]=oS(e);t=`${r}_rels/${n}.rels`}const r=await this.load(t);return r?(n=this.parseXmlDocument(r).firstElementChild,(a=this.xmlParser).elements(n).map((e=>({id:a.attr(e,"Id"),type:a.attr(e,"Type"),target:a.attr(e,"Target"),targetMode:a.attr(e,"TargetMode")})))):null;var n,a}parseXmlDocument(e){return function(e,t=!1){var r;t&&(e=e.replace(/<[?].*[?]>/,"")),e=65279===(r=e).charCodeAt(0)?r.substring(1):r;const n=(new DOMParser).parseFromString(e,"application/xml"),a=null==(s=n.getElementsByTagName("parsererror")[0])?void 0:s.textContent;var s;if(a)throw new Error(a);return n}(e,this.options.trimXmlDeclaration)}}class NS extends xS{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.body=this._documentParser.parseDocumentFile(e)}}function BS(e,t){return{type:t.attr(e,"val"),color:t.attr(e,"color"),size:t.lengthAttr(e,"sz",gS),offset:t.lengthAttr(e,"space",vS),frame:t.boolAttr(e,"frame"),shadow:t.boolAttr(e,"shadow")}}function MS(e,t){var r={};for(let n of t.elements(e))switch(n.localName){case"left":r.left=BS(n,t);break;case"top":r.top=BS(n,t);break;case"right":r.right=BS(n,t);break;case"bottom":r.bottom=BS(n,t)}return r}var OS,RS,IS,DS;function PS(e,t=ES){var r={};for(let n of t.elements(e))switch(n.localName){case"pgSz":r.pageSize={width:t.lengthAttr(n,"w"),height:t.lengthAttr(n,"h"),orientation:t.attr(n,"orient")};break;case"type":r.type=t.attr(n,"val");break;case"pgMar":r.pageMargins={left:t.lengthAttr(n,"left"),right:t.lengthAttr(n,"right"),top:t.lengthAttr(n,"top"),bottom:t.lengthAttr(n,"bottom"),header:t.lengthAttr(n,"header"),footer:t.lengthAttr(n,"footer"),gutter:t.lengthAttr(n,"gutter")};break;case"cols":r.columns=FS(n,t);break;case"headerReference":(r.headerRefs??(r.headerRefs=[])).push(zS(n,t));break;case"footerReference":(r.footerRefs??(r.footerRefs=[])).push(zS(n,t));break;case"titlePg":r.titlePage=t.boolAttr(n,"val",!0);break;case"pgBorders":r.pageBorders=MS(n,t);break;case"pgNumType":r.pageNumber=VS(n,t)}return r}function FS(e,t){return{numberOfColumns:t.intAttr(e,"num"),space:t.lengthAttr(e,"space"),separator:t.boolAttr(e,"sep"),equalWidth:t.boolAttr(e,"equalWidth",!0),columns:t.elements(e,"col").map((e=>({width:t.lengthAttr(e,"w"),space:t.lengthAttr(e,"space")})))}}function VS(e,t){return{chapSep:t.attr(e,"chapSep"),chapStyle:t.attr(e,"chapStyle"),format:t.attr(e,"fmt"),start:t.intAttr(e,"start")}}function zS(e,t){return{id:t.attr(e,"id"),type:t.attr(e,"type")}}function LS(e,t){let r={};for(let n of t.elements(e))HS(n,r,t);return r}function HS(e,t,r){return!!yS(e,t,r)}function US(e,t){let r={};for(let n of t.elements(e))WS(n,r,t);return r}function WS(e,t,r){if(e.namespaceURI!=uS)return!1;if(yS(e,t,r))return!0;switch(e.localName){case"tabs":t.tabs=function(e,t){return t.elements(e,"tab").map((e=>({position:t.lengthAttr(e,"pos"),leader:t.attr(e,"leader"),style:t.attr(e,"val")})))}(e,r);break;case"sectPr":t.sectionProps=PS(e,r);break;case"numPr":t.numbering=function(e,t){var r={};for(let n of t.elements(e))switch(n.localName){case"numId":r.id=t.attr(n,"val");break;case"ilvl":r.level=t.intAttr(n,"val")}return r}(e,r);break;case"spacing":return t.lineSpacing=function(e,t){return{before:t.lengthAttr(e,"before"),after:t.lengthAttr(e,"after"),line:t.intAttr(e,"line"),lineRule:t.attr(e,"lineRule")}}(e,r),!1;case"textAlignment":return t.textAlignment=r.attr(e,"val"),!1;case"keepLines":t.keepLines=r.boolAttr(e,"val",!0);break;case"keepNext":t.keepNext=r.boolAttr(e,"val",!0);break;case"pageBreakBefore":t.pageBreakBefore=r.boolAttr(e,"val",!0);break;case"outlineLvl":t.outlineLevel=r.intAttr(e,"val");break;case"pStyle":t.styleName=r.attr(e,"val");break;case"rPr":t.runProps=LS(e,r);break;default:return!1}return!0}function jS(e,t){let r={id:t.attr(e,"numId"),overrides:[]};for(let n of t.elements(e))switch(n.localName){case"abstractNumId":r.abstractId=t.attr(n,"val");break;case"lvlOverride":r.overrides.push(GS(n,t))}return r}function $S(e,t){let r={id:t.attr(e,"abstractNumId"),levels:[]};for(let n of t.elements(e))switch(n.localName){case"name":r.name=t.attr(n,"val");break;case"multiLevelType":r.multiLevelType=t.attr(n,"val");break;case"numStyleLink":r.numberingStyleLink=t.attr(n,"val");break;case"styleLink":r.styleLink=t.attr(n,"val");break;case"lvl":r.levels.push(qS(n,t))}return r}function qS(e,t){let r={level:t.intAttr(e,"ilvl")};for(let n of t.elements(e))switch(n.localName){case"start":r.start=t.attr(n,"val");break;case"lvlRestart":r.restart=t.intAttr(n,"val");break;case"numFmt":r.format=t.attr(n,"val");break;case"lvlText":r.text=t.attr(n,"val");break;case"lvlJc":r.justification=t.attr(n,"val");break;case"lvlPicBulletId":r.bulletPictureId=t.attr(n,"val");break;case"pStyle":r.paragraphStyle=t.attr(n,"val");break;case"pPr":r.paragraphProps=US(n,t);break;case"rPr":r.runProps=LS(n,t)}return r}function GS(e,t){let r={level:t.intAttr(e,"ilvl")};for(let n of t.elements(e))switch(n.localName){case"startOverride":r.start=t.intAttr(n,"val");break;case"lvl":r.numberingLevel=qS(n,t)}return r}function XS(e,t){var r=t.element(e,"pict"),n=r&&t.element(r,"shape"),a=n&&t.element(n,"imagedata");return a?{id:t.attr(e,"numPicBulletId"),referenceId:t.attr(a,"id"),style:t.attr(n,"style")}:null}(RS=OS||(OS={})).Continuous="continuous",RS.NextPage="nextPage",RS.NextColumn="nextColumn",RS.EvenPage="evenPage",RS.OddPage="oddPage";class KS extends xS{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){Object.assign(this,function(e,t){let r={numberings:[],abstractNumberings:[],bulletPictures:[]};for(let n of t.elements(e))switch(n.localName){case"num":r.numberings.push(jS(n,t));break;case"abstractNum":r.abstractNumberings.push($S(n,t));break;case"numPicBullet":r.bulletPictures.push(XS(n,t))}return r}(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}}class YS extends xS{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.styles=this._documentParser.parseStylesFile(e)}}(DS=IS||(IS={})).Document="document",DS.Paragraph="paragraph",DS.Run="run",DS.Break="break",DS.NoBreakHyphen="noBreakHyphen",DS.Table="table",DS.Row="row",DS.Cell="cell",DS.Hyperlink="hyperlink",DS.SmartTag="smartTag",DS.Drawing="drawing",DS.Image="image",DS.Text="text",DS.Tab="tab",DS.Symbol="symbol",DS.BookmarkStart="bookmarkStart",DS.BookmarkEnd="bookmarkEnd",DS.Footer="footer",DS.Header="header",DS.FootnoteReference="footnoteReference",DS.EndnoteReference="endnoteReference",DS.Footnote="footnote",DS.Endnote="endnote",DS.SimpleField="simpleField",DS.ComplexField="complexField",DS.Instruction="instruction",DS.VmlPicture="vmlPicture",DS.MmlMath="mmlMath",DS.MmlMathParagraph="mmlMathParagraph",DS.MmlFraction="mmlFraction",DS.MmlFunction="mmlFunction",DS.MmlFunctionName="mmlFunctionName",DS.MmlNumerator="mmlNumerator",DS.MmlDenominator="mmlDenominator",DS.MmlRadical="mmlRadical",DS.MmlBase="mmlBase",DS.MmlDegree="mmlDegree",DS.MmlSuperscript="mmlSuperscript",DS.MmlSubscript="mmlSubscript",DS.MmlPreSubSuper="mmlPreSubSuper",DS.MmlSubArgument="mmlSubArgument",DS.MmlSuperArgument="mmlSuperArgument",DS.MmlNary="mmlNary",DS.MmlDelimiter="mmlDelimiter",DS.MmlRun="mmlRun",DS.MmlEquationArray="mmlEquationArray",DS.MmlLimit="mmlLimit",DS.MmlLimitLower="mmlLimitLower",DS.MmlMatrix="mmlMatrix",DS.MmlMatrixRow="mmlMatrixRow",DS.MmlBox="mmlBox",DS.MmlBar="mmlBar",DS.MmlGroupChar="mmlGroupChar",DS.VmlElement="vmlElement",DS.Inserted="inserted",DS.Deleted="deleted",DS.DeletedText="deletedText",DS.Comment="comment",DS.CommentReference="commentReference",DS.CommentRangeStart="commentRangeStart",DS.CommentRangeEnd="commentRangeEnd",DS.AltChunk="altChunk";class ZS{constructor(){this.children=[],this.cssStyle={}}}class JS extends ZS{constructor(){super(...arguments),this.type=IS.Header}}class QS extends ZS{constructor(){super(...arguments),this.type=IS.Footer}}class eT extends xS{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}}class tT extends eT{createRootElement(){return new JS}}class rT extends eT{createRootElement(){return new QS}}function nT(e){if(void 0!==e)return parseInt(e)}class aT extends xS{parseXml(e){this.props=function(e,t){const r={};for(let n of t.elements(e))switch(n.localName){case"Template":r.template=n.textContent;break;case"Pages":r.pages=nT(n.textContent);break;case"Words":r.words=nT(n.textContent);break;case"Characters":r.characters=nT(n.textContent);break;case"Application":r.application=n.textContent;break;case"Lines":r.lines=nT(n.textContent);break;case"Paragraphs":r.paragraphs=nT(n.textContent);break;case"Company":r.company=n.textContent;break;case"AppVersion":r.appVersion=n.textContent}return r}(e,this._package.xmlParser)}}class sT extends xS{parseXml(e){this.props=function(e,t){const r={};for(let n of t.elements(e))switch(n.localName){case"title":r.title=n.textContent;break;case"description":r.description=n.textContent;break;case"subject":r.subject=n.textContent;break;case"creator":r.creator=n.textContent;break;case"keywords":r.keywords=n.textContent;break;case"language":r.language=n.textContent;break;case"lastModifiedBy":r.lastModifiedBy=n.textContent;break;case"revision":n.textContent&&(r.revision=parseInt(n.textContent))}return r}(e,this._package.xmlParser)}}class oT{}function iT(e,t){var r={name:t.attr(e,"name"),colors:{}};for(let s of t.elements(e)){var n=t.element(s,"srgbClr"),a=t.element(s,"sysClr");n?r.colors[s.localName]=t.attr(n,"val"):a&&(r.colors[s.localName]=t.attr(a,"lastClr"))}return r}function lT(e,t){var r={name:t.attr(e,"name")};for(let n of t.elements(e))switch(n.localName){case"majorFont":r.majorFont=cT(n,t);break;case"minorFont":r.minorFont=cT(n,t)}return r}function cT(e,t){return{latinTypeface:t.elementAttr(e,"latin","typeface"),eaTypeface:t.elementAttr(e,"ea","typeface"),csTypeface:t.elementAttr(e,"cs","typeface")}}class hT extends xS{constructor(e,t){super(e,t)}parseXml(e){this.theme=function(e,t){var r=new oT,n=t.element(e,"themeElements");for(let a of t.elements(n))switch(a.localName){case"clrScheme":r.colorScheme=iT(a,t);break;case"fontScheme":r.fontScheme=lT(a,t)}return r}(e,this._package.xmlParser)}}class fT{}class uT extends fT{constructor(){super(...arguments),this.type=IS.Footnote}}class dT extends fT{constructor(){super(...arguments),this.type=IS.Endnote}}class pT extends xS{constructor(e,t,r){super(e,t),this._documentParser=r}}class mT extends pT{constructor(e,t,r){super(e,t,r)}parseXml(e){this.notes=this._documentParser.parseNotes(e,"footnote",uT)}}class gT extends pT{constructor(e,t,r){super(e,t,r)}parseXml(e){this.notes=this._documentParser.parseNotes(e,"endnote",dT)}}function vT(e,t){var r={defaultNoteIds:[]};for(let n of t.elements(e))switch(n.localName){case"numFmt":r.nummeringFormat=t.attr(n,"val");break;case"footnote":case"endnote":r.defaultNoteIds.push(t.attr(n,"id"))}return r}class wT extends xS{constructor(e,t){super(e,t)}parseXml(e){this.settings=function(e,t){var r={};for(let n of t.elements(e))switch(n.localName){case"defaultTabStop":r.defaultTabStop=t.lengthAttr(n,"val");break;case"footnotePr":r.footnoteProps=vT(n,t);break;case"endnotePr":r.endnoteProps=vT(n,t);break;case"autoHyphenation":r.autoHyphenation=t.boolAttr(n,"val")}return r}(e,this._package.xmlParser)}}class bT extends xS{parseXml(e){this.props=function(e,t){return t.elements(e,"property").map((e=>{const r=e.firstChild;return{formatId:t.attr(e,"fmtid"),name:t.attr(e,"name"),type:r.nodeName,value:r.textContent}}))}(e,this._package.xmlParser)}}class yT extends xS{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.comments=this._documentParser.parseComments(e),this.commentMap=lS(this.comments,(e=>e.id))}}class kT extends xS{constructor(e,t){super(e,t),this.comments=[]}parseXml(e){const t=this._package.xmlParser;for(let r of t.elements(e,"commentEx"))this.comments.push({paraId:t.attr(r,"paraId"),paraIdParent:t.attr(r,"paraIdParent"),done:t.boolAttr(r,"done")});this.commentMap=lS(this.comments,(e=>e.paraId))}}const ET=[{type:nS.OfficeDocument,target:"word/document.xml"},{type:nS.ExtendedProperties,target:"docProps/app.xml"},{type:nS.CoreProperties,target:"docProps/core.xml"},{type:nS.CustomProperties,target:"docProps/custom.xml"}];class xT{constructor(){this.parts=[],this.partsMap={}}static async load(e,t,r){var n=new xT;return n._options=r,n._parser=t,n._package=await AS.load(e,r),n.rels=await n._package.loadRelationships(),await Promise.all(ET.map((e=>{const t=n.rels.find((t=>t.type===e.type))??e;return n.loadRelationshipPart(t.target,t.type)}))),n}save(e="blob"){return this._package.save(e)}async loadRelationshipPart(e,t){var r;if(this.partsMap[e])return this.partsMap[e];if(!this._package.get(e))return null;let n=null;switch(t){case nS.OfficeDocument:this.documentPart=n=new NS(this._package,e,this._parser);break;case nS.FontTable:this.fontTablePart=n=new TS(this._package,e);break;case nS.Numbering:this.numberingPart=n=new KS(this._package,e,this._parser);break;case nS.Styles:this.stylesPart=n=new YS(this._package,e,this._parser);break;case nS.Theme:this.themePart=n=new hT(this._package,e);break;case nS.Footnotes:this.footnotesPart=n=new mT(this._package,e,this._parser);break;case nS.Endnotes:this.endnotesPart=n=new gT(this._package,e,this._parser);break;case nS.Footer:n=new rT(this._package,e,this._parser);break;case nS.Header:n=new tT(this._package,e,this._parser);break;case nS.CoreProperties:this.corePropsPart=n=new sT(this._package,e);break;case nS.ExtendedProperties:this.extendedPropsPart=n=new aT(this._package,e);break;case nS.CustomProperties:n=new bT(this._package,e);break;case nS.Settings:this.settingsPart=n=new wT(this._package,e);break;case nS.Comments:this.commentsPart=n=new yT(this._package,e,this._parser);break;case nS.CommentsExtended:this.commentsExtendedPart=n=new kT(this._package,e)}if(null==n)return Promise.resolve(null);if(this.partsMap[e]=n,this.parts.push(n),await n.load(),(null==(r=n.rels)?void 0:r.length)>0){const[e]=oS(n.path);await Promise.all(n.rels.map((t=>this.loadRelationshipPart(iS(t.target,e),t.type))))}return n}async loadDocumentImage(e,t){const r=await this.loadResource(t??this.documentPart,e,"blob");return this.blobToURL(r)}async loadNumberingImage(e){const t=await this.loadResource(this.numberingPart,e,"blob");return this.blobToURL(t)}async loadFont(e,t){const r=await this.loadResource(this.fontTablePart,e,"uint8array");return r?this.blobToURL(new Blob([_T(r,t)])):r}async loadAltChunk(e,t){return await this.loadResource(t??this.documentPart,e,"string")}blobToURL(e){return e?this._options.useBase64URL?function(e){return new Promise(((t,r)=>{const n=new FileReader;n.onloadend=()=>t(n.result),n.onerror=()=>r(),n.readAsDataURL(e)}))}(e):URL.createObjectURL(e):null}findPartByRelId(e,t=null){var r=(t.rels??this.rels).find((t=>t.id==e));const n=t?oS(t.path)[0]:"";return r?this.partsMap[iS(r.target,n)]:null}getPathById(e,t){const r=e.rels.find((e=>e.id==t)),[n]=oS(e.path);return r?iS(r.target,n):null}loadResource(e,t,r){const n=this.getPathById(e,t);return n?this._package.load(n,r):Promise.resolve(null)}}function _T(e,t){const r=t.replace(/{|}|-/g,""),n=new Array(16);for(let a=0;a<16;a++)n[16-a-1]=parseInt(r.substr(2*a,2),16);for(let a=0;a<32;a++)e[a]=e[a]^n[a%16];return e}function CT(e,t){return{type:IS.BookmarkEnd,id:t.attr(e,"id")}}class ST extends ZS{constructor(){super(...arguments),this.type=IS.VmlElement,this.attrs={}}}function TT(e,t){var r=new ST;switch(e.localName){case"rect":r.tagName="rect",Object.assign(r.attrs,{width:"100%",height:"100%"});break;case"oval":r.tagName="ellipse",Object.assign(r.attrs,{cx:"50%",cy:"50%",rx:"50%",ry:"50%"});break;case"line":r.tagName="line";break;case"shape":r.tagName="g";break;case"textbox":r.tagName="foreignObject",Object.assign(r.attrs,{width:"100%",height:"100%"});break;default:return null}for(const n of ES.attrs(e))switch(n.localName){case"style":r.cssStyleText=n.value;break;case"fillcolor":r.attrs.fill=n.value;break;case"from":const[e,t]=NT(n.value);Object.assign(r.attrs,{x1:e,y1:t});break;case"to":const[a,s]=NT(n.value);Object.assign(r.attrs,{x2:a,y2:s})}for(const n of ES.elements(e))switch(n.localName){case"stroke":Object.assign(r.attrs,AT(n));break;case"fill":Object.assign(r.attrs,{});break;case"imagedata":r.tagName="image",Object.assign(r.attrs,{width:"100%",height:"100%"}),r.imageHref={id:ES.attr(n,"id"),title:ES.attr(n,"title")};break;case"txbxContent":r.children.push(...t.parseBodyElements(n));break;default:const e=TT(n,t);e&&r.children.push(e)}return r}function AT(e){return{stroke:ES.attr(e,"color"),"stroke-width":ES.lengthAttr(e,"weight",pS)??"1px"}}function NT(e){return e.split(",")}class BT extends ZS{constructor(){super(...arguments),this.type=IS.Comment}}class MT extends ZS{constructor(e){super(),this.id=e,this.type=IS.CommentReference}}class OT extends ZS{constructor(e){super(),this.id=e,this.type=IS.CommentRangeStart}}class RT extends ZS{constructor(e){super(),this.id=e,this.type=IS.CommentRangeEnd}}var IT="inherit",DT="black",PT="black",FT="transparent";const VT=[],zT={oMath:IS.MmlMath,oMathPara:IS.MmlMathParagraph,f:IS.MmlFraction,func:IS.MmlFunction,fName:IS.MmlFunctionName,num:IS.MmlNumerator,den:IS.MmlDenominator,rad:IS.MmlRadical,deg:IS.MmlDegree,e:IS.MmlBase,sSup:IS.MmlSuperscript,sSub:IS.MmlSubscript,sPre:IS.MmlPreSubSuper,sup:IS.MmlSuperArgument,sub:IS.MmlSubArgument,d:IS.MmlDelimiter,nary:IS.MmlNary,eqArr:IS.MmlEquationArray,lim:IS.MmlLimit,limLow:IS.MmlLimitLower,m:IS.MmlMatrix,mr:IS.MmlMatrixRow,box:IS.MmlBox,bar:IS.MmlBar,groupChr:IS.MmlGroupChar};class LT{constructor(e){this.options={ignoreWidth:!1,debug:!1,...e}}parseNotes(e,t,r){var n=[];for(let a of ES.elements(e,t)){const e=new r;e.id=ES.attr(a,"id"),e.noteType=ES.attr(a,"type"),e.children=this.parseBodyElements(a),n.push(e)}return n}parseComments(e){var t=[];for(let r of ES.elements(e,"comment")){const e=new BT;e.id=ES.attr(r,"id"),e.author=ES.attr(r,"author"),e.initials=ES.attr(r,"initials"),e.date=ES.attr(r,"date"),e.children=this.parseBodyElements(r),t.push(e)}return t}parseDocumentFile(e){var t=ES.element(e,"body"),r=ES.element(e,"background"),n=ES.element(t,"sectPr");return{type:IS.Document,children:this.parseBodyElements(t),props:n?PS(n,ES):{},cssStyle:r?this.parseBackground(r):{}}}parseBackground(e){var t={},r=UT.colorAttr(e,"color");return r&&(t["background-color"]=r),t}parseBodyElements(e){var t=[];for(let r of ES.elements(e))switch(r.localName){case"p":t.push(this.parseParagraph(r));break;case"altChunk":t.push(this.parseAltChunk(r));break;case"tbl":t.push(this.parseTable(r));break;case"sdt":t.push(...this.parseSdt(r,(e=>this.parseBodyElements(e))))}return t}parseStylesFile(e){var t=[];return UT.foreach(e,(e=>{switch(e.localName){case"style":t.push(this.parseStyle(e));break;case"docDefaults":t.push(this.parseDefaultStyles(e))}})),t}parseDefaultStyles(e){var t={id:null,name:null,target:null,basedOn:null,styles:[]};return UT.foreach(e,(e=>{switch(e.localName){case"rPrDefault":var r=ES.element(e,"rPr");r&&t.styles.push({target:"span",values:this.parseDefaultProperties(r,{})});break;case"pPrDefault":var n=ES.element(e,"pPr");n&&t.styles.push({target:"p",values:this.parseDefaultProperties(n,{})})}})),t}parseStyle(e){var t={id:ES.attr(e,"styleId"),isDefault:ES.boolAttr(e,"default"),name:null,target:null,basedOn:null,styles:[],linked:null};switch(ES.attr(e,"type")){case"paragraph":t.target="p";break;case"table":t.target="table";break;case"character":t.target="span"}return UT.foreach(e,(e=>{switch(e.localName){case"basedOn":t.basedOn=ES.attr(e,"val");break;case"name":t.name=ES.attr(e,"val");break;case"link":t.linked=ES.attr(e,"val");break;case"next":t.next=ES.attr(e,"val");break;case"aliases":t.aliases=ES.attr(e,"val").split(",");break;case"pPr":t.styles.push({target:"p",values:this.parseDefaultProperties(e,{})}),t.paragraphProps=US(e,ES);break;case"rPr":t.styles.push({target:"span",values:this.parseDefaultProperties(e,{})}),t.runProps=LS(e,ES);break;case"tblPr":case"tcPr":t.styles.push({target:"td",values:this.parseDefaultProperties(e,{})});break;case"tblStylePr":for(let r of this.parseTableStyle(e))t.styles.push(r);break;case"rsid":case"qFormat":case"hidden":case"semiHidden":case"unhideWhenUsed":case"autoRedefine":case"uiPriority":break;default:this.options.debug}})),t}parseTableStyle(e){var t=[],r=ES.attr(e,"type"),n="",a="";switch(r){case"firstRow":a=".first-row",n="tr.first-row td";break;case"lastRow":a=".last-row",n="tr.last-row td";break;case"firstCol":a=".first-col",n="td.first-col";break;case"lastCol":a=".last-col",n="td.last-col";break;case"band1Vert":a=":not(.no-vband)",n="td.odd-col";break;case"band2Vert":a=":not(.no-vband)",n="td.even-col";break;case"band1Horz":a=":not(.no-hband)",n="tr.odd-row";break;case"band2Horz":a=":not(.no-hband)",n="tr.even-row";break;default:return[]}return UT.foreach(e,(e=>{switch(e.localName){case"pPr":t.push({target:`${n} p`,mod:a,values:this.parseDefaultProperties(e,{})});break;case"rPr":t.push({target:`${n} span`,mod:a,values:this.parseDefaultProperties(e,{})});break;case"tblPr":case"tcPr":t.push({target:n,mod:a,values:this.parseDefaultProperties(e,{})})}})),t}parseNumberingFile(e){var t=[],r={},n=[];return UT.foreach(e,(e=>{switch(e.localName){case"abstractNum":this.parseAbstractNumbering(e,n).forEach((e=>t.push(e)));break;case"numPicBullet":n.push(this.parseNumberingPicBullet(e));break;case"num":var a=ES.attr(e,"numId"),s=ES.elementAttr(e,"abstractNumId","val");r[s]=a}})),t.forEach((e=>e.id=r[e.id])),t}parseNumberingPicBullet(e){var t=ES.element(e,"pict"),r=t&&ES.element(t,"shape"),n=r&&ES.element(r,"imagedata");return n?{id:ES.intAttr(e,"numPicBulletId"),src:ES.attr(n,"id"),style:ES.attr(r,"style")}:null}parseAbstractNumbering(e,t){var r=[],n=ES.attr(e,"abstractNumId");return UT.foreach(e,(e=>{if("lvl"===e.localName)r.push(this.parseNumberingLevel(n,e,t))})),r}parseNumberingLevel(e,t,r){var n={id:e,level:ES.intAttr(t,"ilvl"),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:"tab"};return UT.foreach(t,(e=>{switch(e.localName){case"start":n.start=ES.intAttr(e,"val");break;case"pPr":this.parseDefaultProperties(e,n.pStyle);break;case"rPr":this.parseDefaultProperties(e,n.rStyle);break;case"lvlPicBulletId":var t=ES.intAttr(e,"val");n.bullet=r.find((e=>(null==e?void 0:e.id)==t));break;case"lvlText":n.levelText=ES.attr(e,"val");break;case"pStyle":n.pStyleName=ES.attr(e,"val");break;case"numFmt":n.format=ES.attr(e,"val");break;case"suff":n.suff=ES.attr(e,"val")}})),n}parseSdt(e,t){const r=ES.element(e,"sdtContent");return r?t(r):[]}parseInserted(e,t){var r;return{type:IS.Inserted,children:(null==(r=t(e))?void 0:r.children)??[]}}parseDeleted(e,t){var r;return{type:IS.Deleted,children:(null==(r=t(e))?void 0:r.children)??[]}}parseAltChunk(e){return{type:IS.AltChunk,children:[],id:ES.attr(e,"id")}}parseParagraph(e){var t,r,n={type:IS.Paragraph,children:[]};for(let a of ES.elements(e))switch(a.localName){case"pPr":this.parseParagraphProperties(a,n);break;case"r":n.children.push(this.parseRun(a,n));break;case"hyperlink":n.children.push(this.parseHyperlink(a,n));break;case"smartTag":n.children.push(this.parseSmartTag(a,n));break;case"bookmarkStart":n.children.push((t=a,r=ES,{type:IS.BookmarkStart,id:r.attr(t,"id"),name:r.attr(t,"name"),colFirst:r.intAttr(t,"colFirst"),colLast:r.intAttr(t,"colLast")}));break;case"bookmarkEnd":n.children.push(CT(a,ES));break;case"commentRangeStart":n.children.push(new OT(ES.attr(a,"id")));break;case"commentRangeEnd":n.children.push(new RT(ES.attr(a,"id")));break;case"oMath":case"oMathPara":n.children.push(this.parseMathElement(a));break;case"sdt":n.children.push(...this.parseSdt(a,(e=>this.parseParagraph(e).children)));break;case"ins":n.children.push(this.parseInserted(a,(e=>this.parseParagraph(e))));break;case"del":n.children.push(this.parseDeleted(a,(e=>this.parseParagraph(e))))}return n}parseParagraphProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,(e=>{if(WS(e,t,ES))return!0;switch(e.localName){case"pStyle":t.styleName=ES.attr(e,"val");break;case"cnfStyle":t.className=WT.classNameOfCnfStyle(e);break;case"framePr":this.parseFrame(e,t);break;case"rPr":break;default:return!1}return!0}))}parseFrame(e,t){"drop"==ES.attr(e,"dropCap")&&(t.cssStyle.float="left")}parseHyperlink(e,t){var r={type:IS.Hyperlink,parent:t,children:[]};return r.anchor=ES.attr(e,"anchor"),r.id=ES.attr(e,"id"),UT.foreach(e,(e=>{if("r"===e.localName)r.children.push(this.parseRun(e,r))})),r}parseSmartTag(e,t){var r={type:IS.SmartTag,parent:t,children:[]},n=ES.attr(e,"uri"),a=ES.attr(e,"element");return n&&(r.uri=n),a&&(r.element=a),UT.foreach(e,(e=>{if("r"===e.localName)r.children.push(this.parseRun(e,r))})),r}parseRun(e,t){var r={type:IS.Run,parent:t,children:[]};return UT.foreach(e,(e=>{switch((e=this.checkAlternateContent(e)).localName){case"t":r.children.push({type:IS.Text,text:e.textContent});break;case"delText":r.children.push({type:IS.DeletedText,text:e.textContent});break;case"commentReference":r.children.push(new MT(ES.attr(e,"id")));break;case"fldSimple":r.children.push({type:IS.SimpleField,instruction:ES.attr(e,"instr"),lock:ES.boolAttr(e,"lock",!1),dirty:ES.boolAttr(e,"dirty",!1)});break;case"instrText":r.fieldRun=!0,r.children.push({type:IS.Instruction,text:e.textContent});break;case"fldChar":r.fieldRun=!0,r.children.push({type:IS.ComplexField,charType:ES.attr(e,"fldCharType"),lock:ES.boolAttr(e,"lock",!1),dirty:ES.boolAttr(e,"dirty",!1)});break;case"noBreakHyphen":r.children.push({type:IS.NoBreakHyphen});break;case"br":r.children.push({type:IS.Break,break:ES.attr(e,"type")||"textWrapping"});break;case"lastRenderedPageBreak":r.children.push({type:IS.Break,break:"lastRenderedPageBreak"});break;case"sym":r.children.push({type:IS.Symbol,font:sS(ES.attr(e,"font")),char:ES.attr(e,"char")});break;case"tab":r.children.push({type:IS.Tab});break;case"footnoteReference":r.children.push({type:IS.FootnoteReference,id:ES.attr(e,"id")});break;case"endnoteReference":r.children.push({type:IS.EndnoteReference,id:ES.attr(e,"id")});break;case"drawing":let t=this.parseDrawing(e);t&&(r.children=[t]);break;case"pict":r.children.push(this.parseVmlPicture(e));break;case"rPr":this.parseRunProperties(e,r)}})),r}parseMathElement(e){const t=`${e.localName}Pr`,r={type:zT[e.localName],children:[]};for(const a of ES.elements(e)){if(zT[a.localName])r.children.push(this.parseMathElement(a));else if("r"==a.localName){var n=this.parseRun(a);n.type=IS.MmlRun,r.children.push(n)}else a.localName==t&&(r.props=this.parseMathProperies(a))}return r}parseMathProperies(e){const t={};for(const r of ES.elements(e))switch(r.localName){case"chr":t.char=ES.attr(r,"val");break;case"vertJc":t.verticalJustification=ES.attr(r,"val");break;case"pos":t.position=ES.attr(r,"val");break;case"degHide":t.hideDegree=ES.boolAttr(r,"val");break;case"begChr":t.beginChar=ES.attr(r,"val");break;case"endChr":t.endChar=ES.attr(r,"val")}return t}parseRunProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,(e=>{switch(e.localName){case"rStyle":t.styleName=ES.attr(e,"val");break;case"vertAlign":t.verticalAlign=WT.valueOfVertAlign(e,!0);break;default:return!1}return!0}))}parseVmlPicture(e){const t={type:IS.VmlPicture,children:[]};for(const r of ES.elements(e)){const e=TT(r,this);e&&t.children.push(e)}return t}checkAlternateContent(e){var t;if("AlternateContent"!=e.localName)return e;var r=ES.element(e,"Choice");if(r){var n=ES.attr(r,"Requires"),a=e.lookupNamespaceURI(n);if(VT.includes(a))return r.firstElementChild}return null==(t=ES.element(e,"Fallback"))?void 0:t.firstElementChild}parseDrawing(e){for(var t of ES.elements(e))switch(t.localName){case"inline":case"anchor":return this.parseDrawingWrapper(t)}}parseDrawingWrapper(e){var t={type:IS.Drawing,children:[],cssStyle:{}},r="anchor"==e.localName;let n=null,a=ES.boolAttr(e,"simplePos");ES.boolAttr(e,"behindDoc");let s={relative:"page",align:"left",offset:"0"},o={relative:"page",align:"top",offset:"0"};for(var i of ES.elements(e))switch(i.localName){case"simplePos":a&&(s.offset=ES.lengthAttr(i,"x",pS),o.offset=ES.lengthAttr(i,"y",pS));break;case"extent":t.cssStyle.width=ES.lengthAttr(i,"cx",pS),t.cssStyle.height=ES.lengthAttr(i,"cy",pS);break;case"positionH":case"positionV":if(!a){let e="positionH"==i.localName?s:o;var l=ES.element(i,"align"),c=ES.element(i,"posOffset");e.relative=ES.attr(i,"relativeFrom")??e.relative,l&&(e.align=l.textContent),c&&(e.offset=UT.sizeValue(c,pS))}break;case"wrapTopAndBottom":n="wrapTopAndBottom";break;case"wrapNone":n="wrapNone";break;case"graphic":var h=this.parseGraphic(i);h&&t.children.push(h)}return"wrapTopAndBottom"==n?(t.cssStyle.display="block",s.align&&(t.cssStyle["text-align"]=s.align,t.cssStyle.width="100%")):"wrapNone"==n?(t.cssStyle.display="block",t.cssStyle.position="relative",t.cssStyle.width="0px",t.cssStyle.height="0px",s.offset&&(t.cssStyle.left=s.offset),o.offset&&(t.cssStyle.top=o.offset)):!r||"left"!=s.align&&"right"!=s.align||(t.cssStyle.float=s.align),t}parseGraphic(e){var t=ES.element(e,"graphicData");for(let r of ES.elements(t))if("pic"===r.localName)return this.parsePicture(r);return null}parsePicture(e){var t={type:IS.Image,src:"",cssStyle:{}},r=ES.element(e,"blipFill"),n=ES.element(r,"blip");t.src=ES.attr(n,"embed");var a=ES.element(e,"spPr"),s=ES.element(a,"xfrm");for(var o of(t.cssStyle.position="relative",ES.elements(s)))switch(o.localName){case"ext":t.cssStyle.width=ES.lengthAttr(o,"cx",pS),t.cssStyle.height=ES.lengthAttr(o,"cy",pS);break;case"off":t.cssStyle.left=ES.lengthAttr(o,"x",pS),t.cssStyle.top=ES.lengthAttr(o,"y",pS)}return t}parseTable(e){var t={type:IS.Table,children:[]};return UT.foreach(e,(e=>{switch(e.localName){case"tr":t.children.push(this.parseTableRow(e));break;case"tblGrid":t.columns=this.parseTableColumns(e);break;case"tblPr":this.parseTableProperties(e,t)}})),t}parseTableColumns(e){var t=[];return UT.foreach(e,(e=>{if("gridCol"===e.localName)t.push({width:ES.lengthAttr(e,"w")})})),t}parseTableProperties(e,t){switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,(e=>{switch(e.localName){case"tblStyle":t.styleName=ES.attr(e,"val");break;case"tblLook":t.className=WT.classNameOftblLook(e);break;case"tblpPr":this.parseTablePosition(e,t);break;case"tblStyleColBandSize":t.colBandSize=ES.intAttr(e,"val");break;case"tblStyleRowBandSize":t.rowBandSize=ES.intAttr(e,"val");break;case"hidden":t.cssStyle.display="none";break;default:return!1}return!0})),t.cssStyle["text-align"]){case"center":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto",t.cssStyle["margin-right"]="auto";break;case"right":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto"}}parseTablePosition(e,t){var r=ES.lengthAttr(e,"topFromText"),n=ES.lengthAttr(e,"bottomFromText"),a=ES.lengthAttr(e,"rightFromText"),s=ES.lengthAttr(e,"leftFromText");t.cssStyle.float="left",t.cssStyle["margin-bottom"]=WT.addSize(t.cssStyle["margin-bottom"],n),t.cssStyle["margin-left"]=WT.addSize(t.cssStyle["margin-left"],s),t.cssStyle["margin-right"]=WT.addSize(t.cssStyle["margin-right"],a),t.cssStyle["margin-top"]=WT.addSize(t.cssStyle["margin-top"],r)}parseTableRow(e){var t={type:IS.Row,children:[]};return UT.foreach(e,(e=>{switch(e.localName){case"tc":t.children.push(this.parseTableCell(e));break;case"trPr":this.parseTableRowProperties(e,t)}})),t}parseTableRowProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(e=>{switch(e.localName){case"cnfStyle":t.className=WT.classNameOfCnfStyle(e);break;case"tblHeader":t.isHeader=ES.boolAttr(e,"val");break;case"gridBefore":t.gridBefore=ES.intAttr(e,"val");break;case"gridAfter":t.gridAfter=ES.intAttr(e,"val");break;default:return!1}return!0}))}parseTableCell(e){var t={type:IS.Cell,children:[]};return UT.foreach(e,(e=>{switch(e.localName){case"tbl":t.children.push(this.parseTable(e));break;case"p":t.children.push(this.parseParagraph(e));break;case"tcPr":this.parseTableCellProperties(e,t)}})),t}parseTableCellProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,(e=>{switch(e.localName){case"gridSpan":t.span=ES.intAttr(e,"val",null);break;case"vMerge":t.verticalMerge=ES.attr(e,"val")??"continue";break;case"cnfStyle":t.className=WT.classNameOfCnfStyle(e);break;default:return!1}return!0})),this.parseTableCellVerticalText(e,t)}parseTableCellVerticalText(e,t){const r={btLr:{writingMode:"vertical-rl",transform:"rotate(180deg)"},lrTb:{writingMode:"vertical-lr",transform:"none"},tbRl:{writingMode:"vertical-rl",transform:"none"}};UT.foreach(e,(e=>{if("textDirection"===e.localName){const n=ES.attr(e,"val"),a=r[n]||{writingMode:"horizontal-tb"};t.cssStyle["writing-mode"]=a.writingMode,t.cssStyle.transform=a.transform}}))}parseDefaultProperties(e,t=null,r=null,n=null){return t=t||{},UT.foreach(e,(a=>{if(!(null==n?void 0:n(a)))switch(a.localName){case"jc":t["text-align"]=WT.valueOfJc(a);break;case"textAlignment":t["vertical-align"]=WT.valueOfTextAlignment(a);break;case"color":t.color=UT.colorAttr(a,"val",null,DT);break;case"sz":t["font-size"]=t["min-height"]=ES.lengthAttr(a,"val",mS);break;case"shd":t["background-color"]=UT.colorAttr(a,"fill",null,IT);break;case"highlight":t["background-color"]=UT.colorAttr(a,"val",null,FT);break;case"vertAlign":break;case"position":t.verticalAlign=ES.lengthAttr(a,"val",mS);break;case"tcW":if(this.options.ignoreWidth)break;case"tblW":t.width=WT.valueOfSize(a,"w");break;case"trHeight":this.parseTrHeight(a,t);break;case"strike":t["text-decoration"]=ES.boolAttr(a,"val",!0)?"line-through":"none";break;case"b":t["font-weight"]=ES.boolAttr(a,"val",!0)?"bold":"normal";break;case"i":t["font-style"]=ES.boolAttr(a,"val",!0)?"italic":"normal";break;case"caps":t["text-transform"]=ES.boolAttr(a,"val",!0)?"uppercase":"none";break;case"smallCaps":t["font-variant"]=ES.boolAttr(a,"val",!0)?"small-caps":"none";break;case"u":this.parseUnderline(a,t);break;case"ind":case"tblInd":this.parseIndentation(a,t);break;case"rFonts":this.parseFont(a,t);break;case"tblBorders":this.parseBorderProperties(a,r||t);break;case"tblCellSpacing":t["border-spacing"]=WT.valueOfMargin(a),t["border-collapse"]="separate";break;case"pBdr":this.parseBorderProperties(a,t);break;case"bdr":t.border=WT.valueOfBorder(a);break;case"tcBorders":this.parseBorderProperties(a,t);break;case"vanish":ES.boolAttr(a,"val",!0)&&(t.display="none");break;case"kern":case"noWrap":break;case"tblCellMar":case"tcMar":this.parseMarginProperties(a,r||t);break;case"tblLayout":t["table-layout"]=WT.valueOfTblLayout(a);break;case"vAlign":t["vertical-align"]=WT.valueOfTextAlignment(a);break;case"spacing":"pPr"==e.localName&&this.parseSpacing(a,t);break;case"wordWrap":ES.boolAttr(a,"val")&&(t["overflow-wrap"]="break-word");break;case"suppressAutoHyphens":t.hyphens=ES.boolAttr(a,"val",!0)?"none":"auto";break;case"lang":t.$lang=ES.attr(a,"val");break;case"rtl":case"bidi":ES.boolAttr(a,"val",!0)&&(t.direction="rtl");break;case"bCs":case"iCs":case"szCs":case"tabs":case"outlineLvl":case"contextualSpacing":case"tblStyleColBandSize":case"tblStyleRowBandSize":case"webHidden":case"pageBreakBefore":case"suppressLineNumbers":case"keepLines":case"keepNext":case"widowControl":case"bidi":case"rtl":case"noProof":break;default:this.options.debug}})),t}parseUnderline(e,t){var r=ES.attr(e,"val");if(null!=r){switch(r){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":t["text-decoration"]="underline dashed";break;case"dotted":case"dottedHeavy":t["text-decoration"]="underline dotted";break;case"double":t["text-decoration"]="underline double";break;case"single":case"thick":case"words":t["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":t["text-decoration"]="underline wavy";break;case"none":t["text-decoration"]="none"}var n=UT.colorAttr(e,"color");n&&(t["text-decoration-color"]=n)}}parseFont(e,t){var r=[ES.attr(e,"ascii"),WT.themeValue(e,"asciiTheme"),ES.attr(e,"eastAsia")].filter((e=>e)).map((e=>sS(e)));r.length>0&&(t["font-family"]=[...new Set(r)].join(", "))}parseIndentation(e,t){var r=ES.lengthAttr(e,"firstLine"),n=ES.lengthAttr(e,"hanging"),a=ES.lengthAttr(e,"left"),s=ES.lengthAttr(e,"start"),o=ES.lengthAttr(e,"right"),i=ES.lengthAttr(e,"end");r&&(t["text-indent"]=r),n&&(t["text-indent"]=`-${n}`),(a||s)&&(t["margin-inline-start"]=a||s),(o||i)&&(t["margin-inline-end"]=o||i)}parseSpacing(e,t){var r=ES.lengthAttr(e,"before"),n=ES.lengthAttr(e,"after"),a=ES.intAttr(e,"line",null),s=ES.attr(e,"lineRule");if(r&&(t["margin-top"]=r),n&&(t["margin-bottom"]=n),null!==a)switch(s){case"auto":t["line-height"]=`${(a/240).toFixed(2)}`;break;case"atLeast":t["line-height"]=`calc(100% + ${a/20}pt)`;break;default:t["line-height"]=t["min-height"]=a/20+"pt"}}parseMarginProperties(e,t){UT.foreach(e,(e=>{switch(e.localName){case"left":t["padding-left"]=WT.valueOfMargin(e);break;case"right":t["padding-right"]=WT.valueOfMargin(e);break;case"top":t["padding-top"]=WT.valueOfMargin(e);break;case"bottom":t["padding-bottom"]=WT.valueOfMargin(e)}}))}parseTrHeight(e,t){ES.attr(e,"hRule"),t.height=ES.lengthAttr(e,"val")}parseBorderProperties(e,t){UT.foreach(e,(e=>{switch(e.localName){case"start":case"left":t["border-left"]=WT.valueOfBorder(e);break;case"end":case"right":t["border-right"]=WT.valueOfBorder(e);break;case"top":t["border-top"]=WT.valueOfBorder(e);break;case"bottom":t["border-bottom"]=WT.valueOfBorder(e)}}))}}const HT=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"];class UT{static foreach(e,t){for(var r=0;r<e.childNodes.length;r++){let n=e.childNodes[r];n.nodeType==Node.ELEMENT_NODE&&t(n)}}static colorAttr(e,t,r=null,n="black"){var a=ES.attr(e,t);if(a)return"auto"==a?n:HT.includes(a)?a:`#${a}`;var s=ES.attr(e,"themeColor");return s?`var(--docx-${s}-color)`:r}static sizeValue(e,t=dS){return bS(e.textContent,t)}}class WT{static themeValue(e,t){var r=ES.attr(e,t);return r?`var(--docx-${r}-font)`:null}static valueOfSize(e,t){var r=dS;switch(ES.attr(e,"type")){case"dxa":break;case"pct":r=wS;break;case"auto":return"auto"}return ES.lengthAttr(e,t,r)}static valueOfMargin(e){return ES.lengthAttr(e,"w")}static valueOfBorder(e){var t=WT.parseBorderType(ES.attr(e,"val"));if("none"==t)return"none";var r=UT.colorAttr(e,"color");return`${ES.lengthAttr(e,"sz",gS)} ${t} ${"auto"==r?PT:r}`}static parseBorderType(e){switch(e){case"single":case"dashDotStroked":case"thick":case"thickThinLargeGap":case"thickThinMediumGap":case"thickThinSmallGap":case"thinThickLargeGap":case"thinThickMediumGap":case"thinThickSmallGap":case"thinThickThinLargeGap":case"thinThickThinMediumGap":case"thinThickThinSmallGap":case"threeDEmboss":case"threeDEngrave":case"wave":return"solid";case"dashed":case"dashSmallGap":return"dashed";case"dotDash":case"dotDotDash":case"dotted":return"dotted";case"double":case"doubleWave":case"triple":return"double";case"inset":return"inset";case"nil":case"none":return"none";case"outset":return"outset"}return"solid"}static valueOfTblLayout(e){return"fixed"==ES.attr(e,"val")?"fixed":"auto"}static classNameOfCnfStyle(e){const t=ES.attr(e,"val");return["first-row","last-row","first-col","last-col","odd-col","even-col","odd-row","even-row","ne-cell","nw-cell","se-cell","sw-cell"].filter(((e,r)=>"1"==t[r])).join(" ")}static valueOfJc(e){var t=ES.attr(e,"val");switch(t){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return t}static valueOfVertAlign(e,t=!1){var r=ES.attr(e,"val");switch(r){case"subscript":return"sub";case"superscript":return t?"sup":"super"}return t?null:r}static valueOfTextAlignment(e){var t=ES.attr(e,"val");switch(t){case"auto":case"baseline":return"baseline";case"top":return"top";case"center":return"middle";case"bottom":return"bottom"}return t}static addSize(e,t){return null==e?t:null==t?e:`calc(${e} + ${t})`}static classNameOftblLook(e){const t=ES.hexAttr(e,"val",0);let r="";return(ES.boolAttr(e,"firstRow")||32&t)&&(r+=" first-row"),(ES.boolAttr(e,"lastRow")||64&t)&&(r+=" last-row"),(ES.boolAttr(e,"firstColumn")||128&t)&&(r+=" first-col"),(ES.boolAttr(e,"lastColumn")||256&t)&&(r+=" last-col"),(ES.boolAttr(e,"noHBand")||512&t)&&(r+=" no-hband"),(ES.boolAttr(e,"noVBand")||1024&t)&&(r+=" no-vband"),r.trim()}}const jT={pos:0,leader:"none",style:"left"};function $T(e,t,r,n=.75){const a=e.closest("p"),s=e.getBoundingClientRect(),o=a.getBoundingClientRect(),i=getComputedStyle(a),l=(null==t?void 0:t.length)>0?t.map((e=>({pos:qT(e.position),leader:e.leader,style:e.style}))).sort(((e,t)=>e.pos-t.pos)):[jT],c=l[l.length-1],h=o.width*n,f=qT(r);let u=c.pos+f;if(u<h)for(;u<h&&l.length<50;u+=f)l.push({...jT,pos:u});const d=parseFloat(i.marginLeft),p=o.left+d,m=(s.left-p)*n,g=l.find((e=>"clear"!=e.style&&e.pos>m));if(null==g)return;let v=1;if("right"==g.style||"center"==g.style){const t=Array.from(a.querySelectorAll(`.${e.className}`)),r=t.indexOf(e)+1,s=document.createRange();s.setStart(e,1),r<t.length?s.setEndBefore(t[r]):s.setEndAfter(a);const i="center"==g.style?.5:1,l=s.getBoundingClientRect(),c=l.left+i*l.width-(o.left-d);v=g.pos-c*n}else v=g.pos-m;switch(e.innerHTML=" ",e.style.textDecoration="inherit",e.style.wordSpacing=`${v.toFixed(0)}pt`,g.leader){case"dot":case"middleDot":e.style.textDecoration="underline",e.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":e.style.textDecoration="underline"}}function qT(e){return parseFloat(e)}const GT="http://www.w3.org/2000/svg",XT="http://www.w3.org/1998/Math/MathML";class KT{constructor(e){this.htmlDocument=e,this.className="docx",this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.commentMap={},this.tasks=[],this.postRenderTasks=[]}async render(e,t,r=null,n){var a;this.document=e,this.options=n,this.className=n.className,this.rootSelector=n.inWrapper?`.${this.className}-wrapper`:":root",this.styleMap=null,this.tasks=[],this.options.renderComments&&globalThis.Highlight&&(this.commentHighlight=new Highlight),YT(r=r||t),YT(t),r.appendChild(this.createComment("docxjs library predefined styles")),r.appendChild(this.renderDefaultStyle()),e.themePart&&(r.appendChild(this.createComment("docxjs document theme values")),this.renderTheme(e.themePart,r)),null!=e.stylesPart&&(this.styleMap=this.processStyles(e.stylesPart.styles),r.appendChild(this.createComment("docxjs document styles")),r.appendChild(this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),r.appendChild(this.createComment("docxjs document numbering styles")),r.appendChild(this.renderNumbering(e.numberingPart.domNumberings,r))),e.footnotesPart&&(this.footnoteMap=lS(e.footnotesPart.notes,(e=>e.id))),e.endnotesPart&&(this.endnoteMap=lS(e.endnotesPart.notes,(e=>e.id))),e.settingsPart&&(this.defaultTabSize=null==(a=e.settingsPart.settings)?void 0:a.defaultTabStop),!n.ignoreFonts&&e.fontTablePart&&this.renderFontTable(e.fontTablePart,r);var s=this.renderSections(e.documentPart.body);this.options.inWrapper?t.appendChild(this.renderWrapper(s)):ZT(t,s),this.commentHighlight&&n.renderComments&&CSS.highlights.set(`${this.className}-comments`,this.commentHighlight),this.postRenderTasks.forEach((e=>e())),await Promise.allSettled(this.tasks),this.refreshTabStops()}renderTheme(e,t){var r,n;const a={},s=null==(r=e.theme)?void 0:r.fontScheme;s&&(s.majorFont&&(a["--docx-majorHAnsi-font"]=s.majorFont.latinTypeface),s.minorFont&&(a["--docx-minorHAnsi-font"]=s.minorFont.latinTypeface));const o=null==(n=e.theme)?void 0:n.colorScheme;if(o)for(let[l,c]of Object.entries(o.colors))a[`--docx-${l}-color`]=`#${c}`;const i=this.styleToString(`.${this.className}`,a);t.appendChild(this.createStyleElement(i))}renderFontTable(e,t){for(let r of e.fonts)for(let e of r.embedFontRefs)this.tasks.push(this.document.loadFont(e.id,e.key).then((n=>{const a={"font-family":sS(r.name),src:`url(${n})`};"bold"!=e.type&&"boldItalic"!=e.type||(a["font-weight"]="bold"),"italic"!=e.type&&"boldItalic"!=e.type||(a["font-style"]="italic");const s=this.styleToString("@font-face",a);t.appendChild(this.createComment(`docxjs ${r.name} font`)),t.appendChild(this.createStyleElement(s))})))}processStyleName(e){return e?`${this.className}_${function(e){return null==e?void 0:e.replace(/[ .]+/g,"-").replace(/[&]+/g,"and").toLowerCase()}(e)}`:this.className}processStyles(e){const t=lS(e.filter((e=>null!=e.id)),(e=>e.id));for(const n of e.filter((e=>e.basedOn))){var r=t[n.basedOn];if(r){n.paragraphProps=hS(n.paragraphProps,r.paragraphProps),n.runProps=hS(n.runProps,r.runProps);for(const e of r.styles){const t=n.styles.find((t=>t.target==e.target));t?this.copyStyleProperties(e.values,t.values):n.styles.push({...e,values:{...e.values}})}}else this.options.debug}for(let n of e)n.cssName=this.processStyleName(n.id);return t}prodessNumberings(e){var t;for(let r of e.filter((e=>e.pStyleName))){const e=this.findStyle(r.pStyleName);(null==(t=null==e?void 0:e.paragraphProps)?void 0:t.numbering)&&(e.paragraphProps.numbering.level=r.level)}}processElement(e){if(e.children)for(var t of e.children)t.parent=e,t.type==IS.Table?this.processTable(t):this.processElement(t)}processTable(e){for(var t of e.children)for(var r of t.children)r.cssStyle=this.copyStyleProperties(e.cellStyle,r.cssStyle,["border-left","border-right","border-top","border-bottom","padding-left","padding-right","padding-top","padding-bottom"]),this.processElement(r)}copyStyleProperties(e,t,r=null){if(!e)return t;for(var n of(null==t&&(t={}),null==r&&(r=Object.getOwnPropertyNames(e)),r))e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n]);return t}createPageElement(e,t){var r=this.createElement("section",{className:e});return t&&(t.pageMargins&&(r.style.paddingLeft=t.pageMargins.left,r.style.paddingRight=t.pageMargins.right,r.style.paddingTop=t.pageMargins.top,r.style.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(r.style.width=t.pageSize.width),this.options.ignoreHeight||(r.style.minHeight=t.pageSize.height))),r}createSectionContent(e){var t=this.createElement("article");return e.columns&&e.columns.numberOfColumns&&(t.style.columnCount=`${e.columns.numberOfColumns}`,t.style.columnGap=e.columns.space,e.columns.separator&&(t.style.columnRule="1px solid black")),t}renderSections(e){const t=[];this.processElement(e);const r=this.splitBySection(e.children,e.props),n=this.groupByPageBreaks(r);let a=null;for(let o=0,i=n.length;o<i;o++){this.currentFootnoteIds=[];let r=n[o][0].sectProps;const l=this.createPageElement(this.className,r);this.renderStyleValues(e.cssStyle,l),this.options.renderHeaders&&this.renderHeaderFooter(r.headerRefs,r,t.length,a!=r,l);for(const e of n[o]){var s=this.createSectionContent(e.sectProps);this.renderElements(e.elements,s),l.appendChild(s),r=e.sectProps}this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,l),this.options.renderEndnotes&&o==i-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,l),this.options.renderFooters&&this.renderHeaderFooter(r.footerRefs,r,t.length,a!=r,l),t.push(l),a=r}return t}renderHeaderFooter(e,t,r,n,a){if(e){var s=(t.titlePage&&n?e.find((e=>"first"==e.type)):null)??(r%2==1?e.find((e=>"even"==e.type)):null)??e.find((e=>"default"==e.type)),o=s&&this.document.findPartByRelId(s.id,this.document.documentPart);if(o){this.currentPart=o,this.usedHederFooterParts.includes(o.path)||(this.processElement(o.rootElement),this.usedHederFooterParts.push(o.path));const[e]=this.renderElements([o.rootElement],a);(null==t?void 0:t.pageMargins)&&(o.rootElement.type===IS.Header?(e.style.marginTop=`calc(${t.pageMargins.header} - ${t.pageMargins.top})`,e.style.minHeight=`calc(${t.pageMargins.top} - ${t.pageMargins.header})`):o.rootElement.type===IS.Footer&&(e.style.marginBottom=`calc(${t.pageMargins.footer} - ${t.pageMargins.bottom})`,e.style.minHeight=`calc(${t.pageMargins.bottom} - ${t.pageMargins.footer})`)),this.currentPart=null}}}isPageBreakElement(e){return e.type==IS.Break&&("lastRenderedPageBreak"==e.break?!this.options.ignoreLastRenderedPageBreak:"page"==e.break)}isPageBreakSection(e,t){var r,n,a,s,o,i;return!!e&&(!!t&&((null==(r=e.pageSize)?void 0:r.orientation)!=(null==(n=t.pageSize)?void 0:n.orientation)||(null==(a=e.pageSize)?void 0:a.width)!=(null==(s=t.pageSize)?void 0:s.width)||(null==(o=e.pageSize)?void 0:o.height)!=(null==(i=t.pageSize)?void 0:i.height)))}splitBySection(e,t){var r,n={sectProps:null,elements:[],pageBreak:!1},a=[n];for(let f of e){if(f.type==IS.Paragraph){const e=this.findStyle(f.styleName);(null==(r=null==e?void 0:e.paragraphProps)?void 0:r.pageBreakBefore)&&(n.sectProps=s,n.pageBreak=!0,n={sectProps:null,elements:[],pageBreak:!1},a.push(n))}if(n.elements.push(f),f.type==IS.Paragraph){const e=f;var s=e.sectionProps,o=-1,i=-1;if(this.options.breakPages&&e.children&&(o=e.children.findIndex((e=>{var t;return-1!=(i=(null==(t=e.children)?void 0:t.findIndex(this.isPageBreakElement.bind(this)))??-1)}))),(s||-1!=o)&&(n.sectProps=s,n.pageBreak=-1!=o,n={sectProps:null,elements:[],pageBreak:!1},a.push(n)),-1!=o){let t=e.children[o],r=i<t.children.length-1;if(o<e.children.length-1||r){var l=f.children,c={...f,children:l.slice(o)};if(f.children=l.slice(0,o),n.elements.push(c),r){let e=t.children,r={...t,children:e.slice(0,i)};f.children.push(r),t.children=e.slice(i)}}}}}let h=null;for(let f=a.length-1;f>=0;f--)null==a[f].sectProps?a[f].sectProps=h??t:h=a[f].sectProps;return a}groupByPageBreaks(e){let t,r=[];const n=[r];for(let a of e)r.push(a),(this.options.ignoreLastRenderedPageBreak||a.pageBreak||this.isPageBreakSection(t,a.sectProps))&&n.push(r=[]),t=a.sectProps;return n.filter((e=>e.length>0))}renderWrapper(e){return this.createElement("div",{className:`${this.className}-wrapper`},e)}renderDefaultStyle(){var e=this.className,t=`\n.${e}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } \n.${e}-wrapper>section.${e} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }`;this.options.hideWrapperOnPrint&&(t=`@media not print { ${t} }`);var r=`${t}\n.${e} { color: black; hyphens: auto; text-underline-position: from-font; }\nsection.${e} { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; }\nsection.${e}>article { margin-bottom: auto; z-index: 1; }\nsection.${e}>footer { z-index: 1; }\n.${e} table { border-collapse: collapse; }\n.${e} table td, .${e} table th { vertical-align: top; }\n.${e} p { margin: 0pt; min-height: 1em; }\n.${e} span { white-space: pre-wrap; overflow-wrap: break-word; }\n.${e} a { color: inherit; text-decoration: inherit; }\n.${e} svg { fill: transparent; }\n`;return this.options.renderComments&&(r+=`\n.${e}-comment-ref { cursor: default; }\n.${e}-comment-popover { display: none; z-index: 1000; padding: 0.5rem; background: white; position: absolute; box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.25); width: 30ch; }\n.${e}-comment-ref:hover~.${e}-comment-popover { display: block; }\n.${e}-comment-author,.${e}-comment-date { font-size: 0.875rem; color: #888; }\n`),this.createStyleElement(r)}renderNumbering(e,t){var r="",n=[];for(var a of e){var s=`p.${this.numberingClass(a.id,a.level)}`,o="none";if(a.bullet){let e=`--${this.className}-${a.bullet.src}`.toLowerCase();r+=this.styleToString(`${s}:before`,{content:"' '",display:"inline-block",background:`var(${e})`},a.bullet.style),this.tasks.push(this.document.loadNumberingImage(a.bullet.src).then((r=>{var n=`${this.rootSelector} { ${e}: url(${r}) }`;t.appendChild(this.createStyleElement(n))})))}else if(a.levelText){let e=this.numberingCounter(a.id,a.level);const t=e+" "+(a.start-1);a.level>0&&(r+=this.styleToString(`p.${this.numberingClass(a.id,a.level-1)}`,{"counter-set":t})),n.push(t),r+=this.styleToString(`${s}:before`,{content:this.levelTextToContent(a.levelText,a.suff,a.id,this.numFormatToCssValue(a.format)),"counter-increment":e,...a.rStyle})}else o=this.numFormatToCssValue(a.format);r+=this.styleToString(s,{display:"list-item","list-style-position":"inside","list-style-type":o,...a.pStyle})}return n.length>0&&(r+=this.styleToString(this.rootSelector,{"counter-reset":n.join(" ")})),this.createStyleElement(r)}renderStyles(e){var t="";const r=this.styleMap,n=lS(e.filter((e=>e.isDefault)),(e=>e.target));for(const i of e){var a=i.styles;if(i.linked){var s=i.linked&&r[i.linked];s?a=a.concat(s.styles):this.options.debug}for(const e of a){var o=`${i.target??""}.${i.cssName}`;i.target!=e.target&&(o+=` ${e.target}`),n[i.target]==i&&(o=`.${this.className} ${i.target}, `+o),t+=this.styleToString(o,e.values)}}return this.createStyleElement(t)}renderNotes(e,t,r){var n=e.map((e=>t[e])).filter((e=>e));if(n.length>0){var a=this.createElement("ol",null,this.renderElements(n));r.appendChild(a)}}renderElement(e){switch(e.type){case IS.Paragraph:return this.renderParagraph(e);case IS.BookmarkStart:return this.renderBookmarkStart(e);case IS.BookmarkEnd:return null;case IS.Run:return this.renderRun(e);case IS.Table:return this.renderTable(e);case IS.Row:return this.renderTableRow(e);case IS.Cell:return this.renderTableCell(e);case IS.Hyperlink:return this.renderHyperlink(e);case IS.SmartTag:return this.renderSmartTag(e);case IS.Drawing:return this.renderDrawing(e);case IS.Image:return this.renderImage(e);case IS.Text:case IS.Text:return this.renderText(e);case IS.DeletedText:return this.renderDeletedText(e);case IS.Tab:return this.renderTab(e);case IS.Symbol:return this.renderSymbol(e);case IS.Break:return this.renderBreak(e);case IS.Footer:return this.renderContainer(e,"footer");case IS.Header:return this.renderContainer(e,"header");case IS.Footnote:case IS.Endnote:return this.renderContainer(e,"li");case IS.FootnoteReference:return this.renderFootnoteReference(e);case IS.EndnoteReference:return this.renderEndnoteReference(e);case IS.NoBreakHyphen:return this.createElement("wbr");case IS.VmlPicture:return this.renderVmlPicture(e);case IS.VmlElement:return this.renderVmlElement(e);case IS.MmlMath:return this.renderContainerNS(e,XT,"math",{xmlns:XT});case IS.MmlMathParagraph:return this.renderContainer(e,"span");case IS.MmlFraction:return this.renderContainerNS(e,XT,"mfrac");case IS.MmlBase:return this.renderContainerNS(e,XT,e.parent.type==IS.MmlMatrixRow?"mtd":"mrow");case IS.MmlNumerator:case IS.MmlDenominator:case IS.MmlFunction:case IS.MmlLimit:case IS.MmlBox:return this.renderContainerNS(e,XT,"mrow");case IS.MmlGroupChar:return this.renderMmlGroupChar(e);case IS.MmlLimitLower:return this.renderContainerNS(e,XT,"munder");case IS.MmlMatrix:return this.renderContainerNS(e,XT,"mtable");case IS.MmlMatrixRow:return this.renderContainerNS(e,XT,"mtr");case IS.MmlRadical:return this.renderMmlRadical(e);case IS.MmlSuperscript:return this.renderContainerNS(e,XT,"msup");case IS.MmlSubscript:return this.renderContainerNS(e,XT,"msub");case IS.MmlDegree:case IS.MmlSuperArgument:case IS.MmlSubArgument:return this.renderContainerNS(e,XT,"mn");case IS.MmlFunctionName:return this.renderContainerNS(e,XT,"ms");case IS.MmlDelimiter:return this.renderMmlDelimiter(e);case IS.MmlRun:return this.renderMmlRun(e);case IS.MmlNary:return this.renderMmlNary(e);case IS.MmlPreSubSuper:return this.renderMmlPreSubSuper(e);case IS.MmlBar:return this.renderMmlBar(e);case IS.MmlEquationArray:return this.renderMllList(e);case IS.Inserted:return this.renderInserted(e);case IS.Deleted:return this.renderDeleted(e);case IS.CommentRangeStart:return this.renderCommentRangeStart(e);case IS.CommentRangeEnd:return this.renderCommentRangeEnd(e);case IS.CommentReference:return this.renderCommentReference(e);case IS.AltChunk:return this.renderAltChunk(e)}return null}renderElements(e,t){if(null==e)return null;var r=e.flatMap((e=>this.renderElement(e))).filter((e=>null!=e));return t&&ZT(t,r),r}renderContainer(e,t,r){return this.createElement(t,r,this.renderElements(e.children))}renderContainerNS(e,t,r,n){return this.createElementNS(t,r,n,this.renderElements(e.children))}renderParagraph(e){var t,r,n=this.renderContainer(e,"p");const a=this.findStyle(e.styleName);e.tabs??(e.tabs=null==(t=null==a?void 0:a.paragraphProps)?void 0:t.tabs),this.renderClass(e,n),this.renderStyleValues(e.cssStyle,n),this.renderCommonProperties(n.style,e);const s=e.numbering??(null==(r=null==a?void 0:a.paragraphProps)?void 0:r.numbering);return s&&n.classList.add(this.numberingClass(s.id,s.level)),n}renderRunProperties(e,t){this.renderCommonProperties(e,t)}renderCommonProperties(e,t){null!=t&&(t.color&&(e.color=t.color),t.fontSize&&(e["font-size"]=t.fontSize))}renderHyperlink(e){var t=this.renderContainer(e,"a");this.renderStyleValues(e.cssStyle,t);let r="";if(e.id){const t=this.document.documentPart.rels.find((t=>t.id==e.id&&"External"===t.targetMode));r=(null==t?void 0:t.target)??r}return e.anchor&&(r+=`#${e.anchor}`),t.href=r,t}renderSmartTag(e){return this.renderContainer(e,"span")}renderCommentRangeStart(e){var t;if(!this.options.renderComments)return null;const r=new Range;null==(t=this.commentHighlight)||t.add(r);const n=this.htmlDocument.createComment(`start of comment #${e.id}`);return this.later((()=>r.setStart(n,0))),this.commentMap[e.id]=r,n}renderCommentRangeEnd(e){if(!this.options.renderComments)return null;const t=this.commentMap[e.id],r=this.htmlDocument.createComment(`end of comment #${e.id}`);return this.later((()=>null==t?void 0:t.setEnd(r,0))),r}renderCommentReference(e){var t;if(!this.options.renderComments)return null;var r=null==(t=this.document.commentsPart)?void 0:t.commentMap[e.id];if(!r)return null;const n=new DocumentFragment,a=this.createElement("span",{className:`${this.className}-comment-ref`},["💬"]),s=this.createElement("div",{className:`${this.className}-comment-popover`});return this.renderCommentContent(r,s),n.appendChild(this.htmlDocument.createComment(`comment #${r.id} by ${r.author} on ${r.date}`)),n.appendChild(a),n.appendChild(s),n}renderAltChunk(e){if(!this.options.renderAltChunks)return null;var t=this.createElement("iframe");return this.tasks.push(this.document.loadAltChunk(e.id,this.currentPart).then((e=>{t.srcdoc=e}))),t}renderCommentContent(e,t){t.appendChild(this.createElement("div",{className:`${this.className}-comment-author`},[e.author])),t.appendChild(this.createElement("div",{className:`${this.className}-comment-date`},[new Date(e.date).toLocaleString()])),this.renderElements(e.children,t)}renderDrawing(e){var t=this.renderContainer(e,"div");return t.style.display="inline-block",t.style.position="relative",t.style.textIndent="0px",this.renderStyleValues(e.cssStyle,t),t}renderImage(e){let t=this.createElement("img");return this.renderStyleValues(e.cssStyle,t),this.document&&this.tasks.push(this.document.loadDocumentImage(e.src,this.currentPart).then((e=>{t.src=e}))),t}renderText(e){return this.htmlDocument.createTextNode(e.text)}renderDeletedText(e){return this.options.renderEndnotes?this.htmlDocument.createTextNode(e.text):null}renderBreak(e){return"textWrapping"==e.break?this.createElement("br"):null}renderInserted(e){return this.options.renderChanges?this.renderContainer(e,"ins"):this.renderElements(e.children)}renderDeleted(e){return this.options.renderChanges?this.renderContainer(e,"del"):null}renderSymbol(e){var t=this.createElement("span");return t.style.fontFamily=e.font,t.innerHTML=`&#x${e.char};`,t}renderFootnoteReference(e){var t=this.createElement("sup");return this.currentFootnoteIds.push(e.id),t.textContent=`${this.currentFootnoteIds.length}`,t}renderEndnoteReference(e){var t=this.createElement("sup");return this.currentEndnoteIds.push(e.id),t.textContent=`${this.currentEndnoteIds.length}`,t}renderTab(e){var t,r=this.createElement("span");if(r.innerHTML=" ",this.options.experimental){r.className=this.tabStopClass();var n=null==(t=function(e,t){var r=e.parent;for(;null!=r&&r.type!=t;)r=r.parent;return r}(e,IS.Paragraph))?void 0:t.tabs;this.currentTabs.push({stops:n,span:r})}return r}renderBookmarkStart(e){return this.createElement("span",{id:e.name})}renderRun(e){if(e.fieldRun)return null;const t=this.createElement("span");if(e.id&&(t.id=e.id),this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),e.verticalAlign){const r=this.createElement(e.verticalAlign);this.renderElements(e.children,r),t.appendChild(r)}else this.renderElements(e.children,t);return t}renderTable(e){let t=this.createElement("table");return this.tableCellPositions.push(this.currentCellPosition),this.tableVerticalMerges.push(this.currentVerticalMerge),this.currentVerticalMerge={},this.currentCellPosition={col:0,row:0},e.columns&&t.appendChild(this.renderTableColumns(e.columns)),this.renderClass(e,t),this.renderElements(e.children,t),this.renderStyleValues(e.cssStyle,t),this.currentVerticalMerge=this.tableVerticalMerges.pop(),this.currentCellPosition=this.tableCellPositions.pop(),t}renderTableColumns(e){let t=this.createElement("colgroup");for(let r of e){let e=this.createElement("col");r.width&&(e.style.width=r.width),t.appendChild(e)}return t}renderTableRow(e){let t=this.createElement("tr");return this.currentCellPosition.col=0,e.gridBefore&&t.appendChild(this.renderTableCellPlaceholder(e.gridBefore)),this.renderClass(e,t),this.renderElements(e.children,t),this.renderStyleValues(e.cssStyle,t),e.gridAfter&&t.appendChild(this.renderTableCellPlaceholder(e.gridAfter)),this.currentCellPosition.row++,t}renderTableCellPlaceholder(e){const t=this.createElement("td",{colSpan:e});return t.style.border="none",t}renderTableCell(e){let t=this.renderContainer(e,"td");const r=this.currentCellPosition.col;return e.verticalMerge?"restart"==e.verticalMerge?(this.currentVerticalMerge[r]=t,t.rowSpan=1):this.currentVerticalMerge[r]&&(this.currentVerticalMerge[r].rowSpan+=1,t.style.display="none"):this.currentVerticalMerge[r]=null,this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),e.span&&(t.colSpan=e.span),this.currentCellPosition.col+=t.colSpan,t}renderVmlPicture(e){return this.renderContainer(e,"div")}renderVmlElement(e){var t,r,n=this.createSvgElement("svg");n.setAttribute("style",e.cssStyleText);const a=this.renderVmlChildElement(e);return(null==(t=e.imageHref)?void 0:t.id)&&this.tasks.push(null==(r=this.document)?void 0:r.loadDocumentImage(e.imageHref.id,this.currentPart).then((e=>a.setAttribute("href",e)))),n.appendChild(a),requestAnimationFrame((()=>{const e=n.firstElementChild.getBBox();n.setAttribute("width",`${Math.ceil(e.x+e.width)}`),n.setAttribute("height",`${Math.ceil(e.y+e.height)}`)})),n}renderVmlChildElement(e){const t=this.createSvgElement(e.tagName);Object.entries(e.attrs).forEach((([e,r])=>t.setAttribute(e,r)));for(let r of e.children)r.type==IS.VmlElement?t.appendChild(this.renderVmlChildElement(r)):t.appendChild(...fS(this.renderElement(r)));return t}renderMmlRadical(e){var t;const r=e.children.find((e=>e.type==IS.MmlBase));if(null==(t=e.props)?void 0:t.hideDegree)return this.createElementNS(XT,"msqrt",null,this.renderElements([r]));const n=e.children.find((e=>e.type==IS.MmlDegree));return this.createElementNS(XT,"mroot",null,this.renderElements([r,n]))}renderMmlDelimiter(e){const t=[];return t.push(this.createElementNS(XT,"mo",null,[e.props.beginChar??"("])),t.push(...this.renderElements(e.children)),t.push(this.createElementNS(XT,"mo",null,[e.props.endChar??")"])),this.createElementNS(XT,"mrow",null,t)}renderMmlNary(e){var t;const r=[],n=lS(e.children,(e=>e.type)),a=n[IS.MmlSuperArgument],s=n[IS.MmlSubArgument],o=a?this.createElementNS(XT,"mo",null,fS(this.renderElement(a))):null,i=s?this.createElementNS(XT,"mo",null,fS(this.renderElement(s))):null,l=this.createElementNS(XT,"mo",null,[(null==(t=e.props)?void 0:t.char)??"∫"]);return o||i?r.push(this.createElementNS(XT,"munderover",null,[l,i,o])):o?r.push(this.createElementNS(XT,"mover",null,[l,o])):i?r.push(this.createElementNS(XT,"munder",null,[l,i])):r.push(l),r.push(...this.renderElements(n[IS.MmlBase].children)),this.createElementNS(XT,"mrow",null,r)}renderMmlPreSubSuper(e){const t=[],r=lS(e.children,(e=>e.type)),n=r[IS.MmlSuperArgument],a=r[IS.MmlSubArgument],s=n?this.createElementNS(XT,"mo",null,fS(this.renderElement(n))):null,o=a?this.createElementNS(XT,"mo",null,fS(this.renderElement(a))):null,i=this.createElementNS(XT,"mo",null);return t.push(this.createElementNS(XT,"msubsup",null,[i,o,s])),t.push(...this.renderElements(r[IS.MmlBase].children)),this.createElementNS(XT,"mrow",null,t)}renderMmlGroupChar(e){const t="bot"===e.props.verticalJustification?"mover":"munder",r=this.renderContainerNS(e,XT,t);return e.props.char&&r.appendChild(this.createElementNS(XT,"mo",null,[e.props.char])),r}renderMmlBar(e){const t=this.renderContainerNS(e,XT,"mrow");switch(e.props.position){case"top":t.style.textDecoration="overline";break;case"bottom":t.style.textDecoration="underline"}return t}renderMmlRun(e){const t=this.createElementNS(XT,"ms",null,this.renderElements(e.children));return this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),t}renderMllList(e){const t=this.createElementNS(XT,"mtable");this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t);for(let r of this.renderElements(e.children))t.appendChild(this.createElementNS(XT,"mtr",null,[this.createElementNS(XT,"mtd",null,[r])]));return t}renderStyleValues(e,t){for(let r in e)r.startsWith("$")?t.setAttribute(r.slice(1),e[r]):t.style[r]=e[r]}renderClass(e,t){e.className&&(t.className=e.className),e.styleName&&t.classList.add(this.processStyleName(e.styleName))}findStyle(e){var t;return e&&(null==(t=this.styleMap)?void 0:t[e])}numberingClass(e,t){return`${this.className}-num-${e}-${t}`}tabStopClass(){return`${this.className}-tab-stop`}styleToString(e,t,r=null){let n=`${e} {\r\n`;for(const a in t)a.startsWith("$")||(n+=` ${a}: ${t[a]};\r\n`);return r&&(n+=r),n+"}\r\n"}numberingCounter(e,t){return`${this.className}-num-${e}-${t}`}levelTextToContent(e,t,r,n){return`"${e.replace(/%\d*/g,(e=>{let t=parseInt(e.substring(1),10)-1;return`"counter(${this.numberingCounter(r,t)}, ${n})"`}))}${{tab:"\\9",space:"\\a0"}[t]??""}"`}numFormatToCssValue(e){return{none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"}[e]??e}refreshTabStops(){this.options.experimental&&setTimeout((()=>{const e=function(e=document.body){const t=document.createElement("div");t.style.width="100pt",e.appendChild(t);const r=100/t.offsetWidth;return e.removeChild(t),r}();for(let t of this.currentTabs)$T(t.span,t.stops,this.defaultTabSize,e)}),500)}createElementNS(e,t,r,n){var a=e?this.htmlDocument.createElementNS(e,t):this.htmlDocument.createElement(t);return Object.assign(a,r),n&&ZT(a,n),a}createElement(e,t,r){return this.createElementNS(void 0,e,t,r)}createSvgElement(e,t,r){return this.createElementNS(GT,e,t,r)}createStyleElement(e){return this.createElement("style",{innerHTML:e})}createComment(e){return this.htmlDocument.createComment(e)}later(e){this.postRenderTasks.push(e)}}function YT(e){e.innerHTML=""}function ZT(e,t){t.forEach((t=>{return e.appendChild("string"==typeof(r=t)||r instanceof String?document.createTextNode(t):t);var r}))}const JT={ignoreHeight:!1,ignoreWidth:!1,ignoreFonts:!1,breakPages:!0,debug:!1,experimental:!1,className:"docx",inWrapper:!0,hideWrapperOnPrint:!1,trimXmlDeclaration:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,useBase64URL:!1,renderChanges:!1,renderComments:!1,renderAltChunks:!0};async function QT(e,t,r,n){const a=await function(e,t){const r={...JT,...t};return xT.load(e,new LT(r),r)}(e,n);return await async function(e,t,r,n){const a={...JT,...n},s=new KT(window.document);return await s.render(e,t,r,a)}(a,t,r,n),a}const eA={class:"word-reader"},tA={class:"word-tools"},rA={class:"zoom-info"},nA={class:"word-container"},aA={key:0,class:"loading-wrapper"},sA=fl(t.defineComponent({name:"ns-word",__name:"index",props:{hasTool:{type:Boolean,default:!0},url:{type:String,default:""},options:{type:Object,default:()=>({className:"docx",inWrapper:!0,ignoreWidth:!1,ignoreHeight:!1,ignoreFonts:!1,breakPages:!0,ignoreLastRenderedPageBreak:!0,experimental:!1,trimXmlDeclaration:!0,useBase64URL:!1,useMathMLPolyfill:!1,showChanges:!1,debug:!1})}},setup(e,{expose:r}){const n=e,a=t.ref(""),s=t.ref(!1),o=t.ref(!1),i=t.ref(""),l=t.ref(1),c=t.ref();function h(){l.value<3&&(l.value+=.1,u())}function f(){l.value>.5&&(l.value-=.1,u())}function u(){if(c.value){const e=c.value.querySelector(".docx");e&&(e.style.zoom=l.value)}}async function d(){if(a.value&&c.value){o.value=!0,i.value="";try{c.value.innerHTML="";const e=await fetch(a.value);if(!e.ok)throw new Error(`HTTP ${e.status}: ${e.statusText}`);const r=await e.arrayBuffer();await QT(r,c.value,void 0,{...n.options,className:"docx"}),await t.nextTick(),u(),o.value=!1}catch(e){o.value=!1,i.value=e.message||"文档加载失败"}}}return t.watchEffect((()=>{s.value=!n.url,n.url&&(a.value=n.url,d())})),r({zoomIn:h,zoomOut:f,resetZoom:function(){l.value=1,u()},loadDocument:d}),t.onMounted((()=>{})),(r,n)=>{const a=t.resolveComponent("el-button");return t.openBlock(),t.createElementBlock("div",eA,[t.withDirectives(t.createElementVNode("div",tA,[t.createVNode(a,{onClick:f,disabled:l.value<=.5},{default:t.withCtx((()=>n[0]||(n[0]=[t.createTextVNode("缩小")]))),_:1},8,["disabled"]),t.createElementVNode("span",rA,t.toDisplayString(Math.round(100*l.value))+"%",1),t.createVNode(a,{onClick:h,disabled:l.value>=3},{default:t.withCtx((()=>n[1]||(n[1]=[t.createTextVNode("放大")]))),_:1},8,["disabled"])],512),[[t.vShow,e.hasTool&&!s.value]]),t.withDirectives(t.createElementVNode("div",nA,[o.value?(t.openBlock(),t.createElementBlock("div",aA,n[2]||(n[2]=[t.createElementVNode("div",{style:{height:"200px"}},null,-1)]))):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",{ref_key:"wordContainer",ref:c,class:"document-wrapper"},null,512),[[t.vShow,!o.value&&!i.value]])],512),[[t.vShow,!s.value]])])}}}),[["__scopeId","data-v-9ec815e9"]]);sA.install=e=>{e.component(sA.name,sA)};const oA={class:"ns-office"},iA={key:3,class:"unsupported-file"},lA=fl(t.defineComponent({name:"ns-office",__name:"index",props:{url:{type:String,required:!0,default:""}},setup(e,{expose:r}){const n=e,a=t.ref(),s=t.computed((()=>{const e=(e=>{if(!e)return"";const t=e.split("?")[0].split("#")[0].split(".");return t.length<2?"":t[t.length-1].toLowerCase()})(n.url);return["xlsx","xls"].includes(e)?"excel":"pdf"===e?"pdf":["docx"].includes(e)?"word":"unsupported"}));return r({getActiveComponent:()=>a.value,getFileType:()=>s.value,refresh:()=>{a.value&&"function"==typeof a.value.refresh&&a.value.refresh()}}),(r,n)=>(t.openBlock(),t.createElementBlock("div",oA,["excel"===s.value?(t.openBlock(),t.createBlock(jC,t.mergeProps({key:0},r.$attrs,{isEdit:!1,isShowDialog:!1,file:e.url,ref_key:"officeRef",ref:a}),null,16,["file"])):"pdf"===s.value?(t.openBlock(),t.createBlock(XC,t.mergeProps({key:1},r.$attrs,{url:e.url,ref_key:"officeRef",ref:a}),null,16,["url"])):"word"===s.value?(t.openBlock(),t.createBlock(sA,t.mergeProps({key:2},r.$attrs,{url:e.url,ref_key:"officeRef",ref:a}),null,16,["url"])):(t.openBlock(),t.createElementBlock("div",iA,n[0]||(n[0]=[t.createElementVNode("div",{class:"error-message"},[t.createElementVNode("div",{class:"empty-icon"}),t.createElementVNode("span",null,"暂无数据")],-1)])))]))}}),[["__scopeId","data-v-2eac6a6b"]]);lA.install=e=>{e.component(lA.name,lA)};const cA={SUCCESS:200,TIMEOUT:6e4},hA="get",fA="post",uA="application/json;charset=UTF-8",dA="application/x-www-form-urlencoded;charset=UTF-8";let pA=null;let mA=null;function gA(){return mA||(mA=a.create({timeout:cA.TIMEOUT}),mA.interceptors.request.use((e=>{const t=(null==pA?void 0:pA.config.globalProperties.$TonkenKey)||"",r=localStorage.getItem(t)||sessionStorage.getItem(t)||"satoken",n=localStorage.getItem(r)||sessionStorage.getItem(r)||"";return n&&(e.headers[r]=n),e}),(e=>{Promise.resolve(null)})),mA.interceptors.response.use((e=>{const{status:t,data:r}=e;if(t!==cA.SUCCESS){vA(t);return Promise.resolve(null)}if(r.code!==cA.SUCCESS){vA(null==r?void 0:r.code,null==r?void 0:r.msg);return Promise.resolve(null)}return null==r?void 0:r.data}),(e=>{!function(e){var t;if(a.isCancel(e))return;if(null==(t=null==e?void 0:e.response)?void 0:t.status)vA(e.response.status)}(e);return Promise.resolve(null)})),mA)}async function vA(e,t=""){if(!t)switch(e){case 302:t="接口重定向";break;case 400:t="参数不正确";break;case 401:t="请先登录";break;case 403:t="没有权限操作";break;case 404:t="请求地址出错";break;case 408:t="请求超时";break;case 409:t="系统已存在相同数据";break;case 500:t="服务器内部错误";break;case 501:t="服务未实现";break;case 502:t="网关错误";break;case 503:t="服务不可用";break;case 504:t="服务暂时无法访问,请稍后再试";break;case 505:t="HTTP版本不受支持";break;default:t="服务器异常"}if("ok"!==t&&r.ElMessage.warning(t),401===e){const e=(null==pA?void 0:pA.config.globalProperties.$LogoutCallback)||"";null==e||e()}return t}var wA,bA;function yA(){return bA?wA:(bA=1,wA=TypeError)}const kA=ZC(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var EA,xA,_A,CA,SA,TA,AA,NA,BA,MA,OA,RA,IA,DA,PA,FA,VA,zA,LA,HA,UA,WA,jA,$A,qA,GA,XA,KA,YA,ZA,JA,QA,eN,tN,rN,nN,aN,sN,oN,iN,lN,cN,hN,fN,uN,dN,pN,mN,gN,vN,wN,bN,yN,kN,EN,xN,_N,CN,SN,TN,AN,NN,BN,MN,ON,RN,IN,DN,PN,FN,VN,zN,LN,HN,UN,WN,jN,$N,qN,GN,XN,KN,YN,ZN,JN,QN,eB,tB;function rB(){if(xA)return EA;xA=1;var e="function"==typeof Map&&Map.prototype,t=Object.getOwnPropertyDescriptor&&e?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,r=e&&t&&"function"==typeof t.get?t.get:null,n=e&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,s=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,o=a&&s&&"function"==typeof s.get?s.get:null,i=a&&Set.prototype.forEach,l="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,c="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,u=Object.prototype.toString,d=Function.prototype.toString,p=String.prototype.match,m=String.prototype.slice,g=String.prototype.replace,v=String.prototype.toUpperCase,w=String.prototype.toLowerCase,b=RegExp.prototype.test,y=Array.prototype.concat,k=Array.prototype.join,E=Array.prototype.slice,x=Math.floor,_="function"==typeof BigInt?BigInt.prototype.valueOf:null,C=Object.getOwnPropertySymbols,S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,T="function"==typeof Symbol&&"object"==typeof Symbol.iterator,A="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===T||"symbol")?Symbol.toStringTag:null,N=Object.prototype.propertyIsEnumerable,B=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||b.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-x(-e):x(e);if(n!==e){var a=String(n),s=m.call(t,a.length+1);return g.call(a,r,"$&_")+"."+g.call(g.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return g.call(t,r,"$&_")}var O=kA,R=O.custom,I=U(R)?R:null,D={__proto__:null,double:'"',single:"'"},P={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function F(e,t,r){var n=r.quoteStyle||t,a=D[n];return a+e+a}function V(e){return g.call(String(e),/"/g,""")}function z(e){return!A||!("object"==typeof e&&(A in e||void 0!==e[A]))}function L(e){return"[object Array]"===$(e)&&z(e)}function H(e){return"[object RegExp]"===$(e)&&z(e)}function U(e){if(T)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!S)return!1;try{return S.call(e),!0}catch(t){}return!1}EA=function e(t,a,s,u){var v=a||{};if(j(v,"quoteStyle")&&!j(D,v.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(j(v,"maxStringLength")&&("number"==typeof v.maxStringLength?v.maxStringLength<0&&v.maxStringLength!==1/0:null!==v.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var b=!j(v,"customInspect")||v.customInspect;if("boolean"!=typeof b&&"symbol"!==b)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(j(v,"indent")&&null!==v.indent&&"\t"!==v.indent&&!(parseInt(v.indent,10)===v.indent&&v.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(j(v,"numericSeparator")&&"boolean"!=typeof v.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var x=v.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return G(t,v);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var C=String(t);return x?M(t,C):C}if("bigint"==typeof t){var R=String(t)+"n";return x?M(t,R):R}var P=void 0===v.depth?5:v.depth;if(void 0===s&&(s=0),s>=P&&P>0&&"object"==typeof t)return L(t)?"[Array]":"[Object]";var W=function(e,t){var r;if("\t"===e.indent)r="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;r=k.call(Array(e.indent+1)," ")}return{base:r,prev:k.call(Array(t+1),r)}}(v,s);if(void 0===u)u=[];else if(q(u,t)>=0)return"[Circular]";function X(t,r,n){if(r&&(u=E.call(u)).push(r),n){var a={depth:v.depth};return j(v,"quoteStyle")&&(a.quoteStyle=v.quoteStyle),e(t,a,s+1,u)}return e(t,v,s+1,u)}if("function"==typeof t&&!H(t)){var ee=function(e){if(e.name)return e.name;var t=p.call(d.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),te=Q(t,X);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+k.call(te,", ")+" }":"")}if(U(t)){var re=T?g.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):S.call(t);return"object"!=typeof t||T?re:K(re)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var ne="<"+w.call(String(t.nodeName)),ae=t.attributes||[],se=0;se<ae.length;se++)ne+=" "+ae[se].name+"="+F(V(ae[se].value),"double",v);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+w.call(String(t.nodeName))+">"}if(L(t)){if(0===t.length)return"[]";var oe=Q(t,X);return W&&!function(e){for(var t=0;t<e.length;t++)if(q(e[t],"\n")>=0)return!1;return!0}(oe)?"["+J(oe,W)+"]":"[ "+k.call(oe,", ")+" ]"}if(function(e){return"[object Error]"===$(e)&&z(e)}(t)){var ie=Q(t,X);return"cause"in Error.prototype||!("cause"in t)||N.call(t,"cause")?0===ie.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(ie,", ")+" }":"{ ["+String(t)+"] "+k.call(y.call("[cause]: "+X(t.cause),ie),", ")+" }"}if("object"==typeof t&&b){if(I&&"function"==typeof t[I]&&O)return O(t,{depth:P-s});if("symbol"!==b&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!r||!e||"object"!=typeof e)return!1;try{r.call(e);try{o.call(e)}catch(ne){return!0}return e instanceof Map}catch(t){}return!1}(t)){var le=[];return n&&n.call(t,(function(e,r){le.push(X(r,t,!0)+" => "+X(e,t))})),Z("Map",r.call(t),le,W)}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{r.call(e)}catch(t){return!0}return e instanceof Set}catch(n){}return!1}(t)){var ce=[];return i&&i.call(t,(function(e){ce.push(X(e,t))})),Z("Set",o.call(t),ce,W)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e,l);try{c.call(e,c)}catch(ne){return!0}return e instanceof WeakMap}catch(t){}return!1}(t))return Y("WeakMap");if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e,c);try{l.call(e,l)}catch(ne){return!0}return e instanceof WeakSet}catch(t){}return!1}(t))return Y("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(t){}return!1}(t))return Y("WeakRef");if(function(e){return"[object Number]"===$(e)&&z(e)}(t))return K(X(Number(t)));if(function(e){if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(t){}return!1}(t))return K(X(_.call(t)));if(function(e){return"[object Boolean]"===$(e)&&z(e)}(t))return K(f.call(t));if(function(e){return"[object String]"===$(e)&&z(e)}(t))return K(X(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==KC&&t===KC)return"{ [object globalThis] }";if(!function(e){return"[object Date]"===$(e)&&z(e)}(t)&&!H(t)){var he=Q(t,X),fe=B?B(t)===Object.prototype:t instanceof Object||t.constructor===Object,ue=t instanceof Object?"":"null prototype",de=!fe&&A&&Object(t)===t&&A in t?m.call($(t),8,-1):ue?"Object":"",pe=(fe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(de||ue?"["+k.call(y.call([],de||[],ue||[]),": ")+"] ":"");return 0===he.length?pe+"{}":W?pe+"{"+J(he,W)+"}":pe+"{ "+k.call(he,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function j(e,t){return W.call(e,t)}function $(e){return u.call(e)}function q(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function G(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return G(m.call(e,0,t.maxStringLength),t)+n}var a=P[t.quoteStyle||"single"];return a.lastIndex=0,F(g.call(g.call(e,a,"\\$1"),/[\x00-\x1f]/g,X),"single",t)}function X(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+v.call(t.toString(16))}function K(e){return"Object("+e+")"}function Y(e){return e+" { ? }"}function Z(e,t,r,n){return e+" ("+t+") {"+(n?J(r,n):k.call(r,", "))+"}"}function J(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+k.call(e,","+r)+"\n"+t.prev}function Q(e,t){var r=L(e),n=[];if(r){n.length=e.length;for(var a=0;a<e.length;a++)n[a]=j(e,a)?t(e[a],e):""}var s,o="function"==typeof C?C(e):[];if(T){s={};for(var i=0;i<o.length;i++)s["$"+o[i]]=o[i]}for(var l in e)j(e,l)&&(r&&String(Number(l))===l&&l<e.length||T&&s["$"+l]instanceof Symbol||(b.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if("function"==typeof C)for(var c=0;c<o.length;c++)N.call(e,o[c])&&n.push("["+t(o[c])+"]: "+t(e[o[c]],e));return n}return EA}function nB(){if(CA)return _A;CA=1;var e=rB(),t=yA(),r=function(e,t,r){for(var n,a=e;null!=(n=a.next);a=n)if(n.key===t)return a.next=n.next,r||(n.next=e.next,e.next=n),n};return _A=function(){var n,a={assert:function(r){if(!a.has(r))throw new t("Side channel does not contain "+e(r))},delete:function(e){var t=n&&n.next,a=function(e,t){if(e)return r(e,t,!0)}(n,e);return a&&t&&t===a&&(n=void 0),!!a},get:function(e){return function(e,t){if(e){var n=r(e,t);return n&&n.value}}(n,e)},has:function(e){return function(e,t){return!!e&&!!r(e,t)}(n,e)},set:function(e,t){n||(n={next:void 0}),function(e,t,n){var a=r(e,t);a?a.value=n:e.next={key:t,next:e.next,value:n}}(n,e,t)}};return a}}function aB(){return TA?SA:(TA=1,SA=Object)}function sB(){return NA?AA:(NA=1,AA=Error)}function oB(){return MA?BA:(MA=1,BA=EvalError)}function iB(){return RA?OA:(RA=1,OA=RangeError)}function lB(){return DA?IA:(DA=1,IA=ReferenceError)}function cB(){return FA?PA:(FA=1,PA=SyntaxError)}function hB(){return zA?VA:(zA=1,VA=URIError)}function fB(){return HA?LA:(HA=1,LA=Math.abs)}function uB(){return WA?UA:(WA=1,UA=Math.floor)}function dB(){return $A?jA:($A=1,jA=Math.max)}function pB(){return GA?qA:(GA=1,qA=Math.min)}function mB(){return KA?XA:(KA=1,XA=Math.pow)}function gB(){return ZA?YA:(ZA=1,YA=Math.round)}function vB(){return QA?JA:(QA=1,JA=Number.isNaN||function(e){return e!=e})}function wB(){if(tN)return eN;tN=1;var e=vB();return eN=function(t){return e(t)||0===t?t:t<0?-1:1}}function bB(){return nN?rN:(nN=1,rN=Object.getOwnPropertyDescriptor)}function yB(){if(sN)return aN;sN=1;var e=bB();if(e)try{e([],"length")}catch(t){e=null}return aN=e}function kB(){if(iN)return oN;iN=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return oN=e}function EB(){if(fN)return hN;fN=1;var e="undefined"!=typeof Symbol&&Symbol,t=cN?lN:(cN=1,lN=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var a=Object.getOwnPropertySymbols(e);if(1!==a.length||a[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var s=Object.getOwnPropertyDescriptor(e,t);if(42!==s.value||!0!==s.enumerable)return!1}return!0});return hN=function(){return"function"==typeof e&&("function"==typeof Symbol&&("symbol"==typeof e("foo")&&("symbol"==typeof Symbol("bar")&&t())))}}function xB(){return dN?uN:(dN=1,uN="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null)}function _B(){return mN?pN:(mN=1,pN=aB().getPrototypeOf||null)}function CB(){if(bN)return wN;bN=1;var e=function(){if(vN)return gN;vN=1;var e=Object.prototype.toString,t=Math.max,r=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var a=0;a<t.length;a+=1)r[a+e.length]=t[a];return r};return gN=function(n){var a=this;if("function"!=typeof a||"[object Function]"!==e.apply(a))throw new TypeError("Function.prototype.bind called on incompatible "+a);for(var s,o=function(e){for(var t=[],r=1,n=0;r<e.length;r+=1,n+=1)t[n]=e[r];return t}(arguments),i=t(0,a.length-o.length),l=[],c=0;c<i;c++)l[c]="$"+c;if(s=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(l,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof s){var e=a.apply(this,r(o,arguments));return Object(e)===e?e:this}return a.apply(n,r(o,arguments))})),a.prototype){var h=function(){};h.prototype=a.prototype,s.prototype=new h,h.prototype=null}return s},gN}();return wN=Function.prototype.bind||e}function SB(){return kN?yN:(kN=1,yN=Function.prototype.call)}function TB(){return xN?EN:(xN=1,EN=Function.prototype.apply)}function AB(){if(TN)return SN;TN=1;var e=CB(),t=TB(),r=SB(),n=CN?_N:(CN=1,_N="undefined"!=typeof Reflect&&Reflect&&Reflect.apply);return SN=n||e.call(r,t)}function NB(){if(NN)return AN;NN=1;var e=CB(),t=yA(),r=SB(),n=AB();return AN=function(a){if(a.length<1||"function"!=typeof a[0])throw new t("a function is required");return n(e,r,a)}}function BB(){if(MN)return BN;MN=1;var e,t=NB(),r=yB();try{e=[].__proto__===Array.prototype}catch(o){if(!o||"object"!=typeof o||!("code"in o)||"ERR_PROTO_ACCESS"!==o.code)throw o}var n=!!e&&r&&r(Object.prototype,"__proto__"),a=Object,s=a.getPrototypeOf;return BN=n&&"function"==typeof n.get?t([n.get]):"function"==typeof s&&function(e){return s(null==e?e:a(e))}}function MB(){if(DN)return IN;DN=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=CB();return IN=r.call(e,t)}function OB(){if(FN)return PN;var e;FN=1;var t=aB(),r=sB(),n=oB(),a=iB(),s=lB(),o=cB(),i=yA(),l=hB(),c=fB(),h=uB(),f=dB(),u=pB(),d=mB(),p=gB(),m=wB(),g=Function,v=function(e){try{return g('"use strict"; return ('+e+").constructor;")()}catch(t){}},w=yB(),b=kB(),y=function(){throw new i},k=w?function(){try{return y}catch(e){try{return w(arguments,"callee").get}catch(t){return y}}}():y,E=EB()(),x=function(){if(RN)return ON;RN=1;var e=xB(),t=_B(),r=BB();return ON=e?function(t){return e(t)}:t?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return t(e)}:r?function(e){return r(e)}:null}(),_=_B(),C=xB(),S=TB(),T=SB(),A={},N="undefined"!=typeof Uint8Array&&x?x(Uint8Array):e,B={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?e:ArrayBuffer,"%ArrayIteratorPrototype%":E&&x?x([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":A,"%AsyncGenerator%":A,"%AsyncGeneratorFunction%":A,"%AsyncIteratorPrototype%":A,"%Atomics%":"undefined"==typeof Atomics?e:Atomics,"%BigInt%":"undefined"==typeof BigInt?e:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?e:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":"undefined"==typeof Float16Array?e:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?e:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?e:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?e:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":A,"%Int8Array%":"undefined"==typeof Int8Array?e:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?e:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":E&&x?x(x([][Symbol.iterator]())):e,"%JSON%":"object"==typeof JSON?JSON:e,"%Map%":"undefined"==typeof Map?e:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&E&&x?x((new Map)[Symbol.iterator]()):e,"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?e:Promise,"%Proxy%":"undefined"==typeof Proxy?e:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?e:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?e:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&E&&x?x((new Set)[Symbol.iterator]()):e,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":E&&x?x(""[Symbol.iterator]()):e,"%Symbol%":E?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":k,"%TypedArray%":N,"%TypeError%":i,"%Uint8Array%":"undefined"==typeof Uint8Array?e:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?e:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?e:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?e:Uint32Array,"%URIError%":l,"%WeakMap%":"undefined"==typeof WeakMap?e:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?e:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?e:WeakSet,"%Function.prototype.call%":T,"%Function.prototype.apply%":S,"%Object.defineProperty%":b,"%Object.getPrototypeOf%":_,"%Math.abs%":c,"%Math.floor%":h,"%Math.max%":f,"%Math.min%":u,"%Math.pow%":d,"%Math.round%":p,"%Math.sign%":m,"%Reflect.getPrototypeOf%":C};if(x)try{null.error}catch(j){var M=x(x(j));B["%Error.prototype%"]=M}var O=function e(t){var r;if("%AsyncFunction%"===t)r=v("async function () {}");else if("%GeneratorFunction%"===t)r=v("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=v("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var a=e("%AsyncGenerator%");a&&x&&(r=x(a.prototype))}return B[t]=r,r},R={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},I=CB(),D=MB(),P=I.call(T,Array.prototype.concat),F=I.call(S,Array.prototype.splice),V=I.call(T,String.prototype.replace),z=I.call(T,String.prototype.slice),L=I.call(T,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,W=function(e,t){var r,n=e;if(D(R,n)&&(n="%"+(r=R[n])[0]+"%"),D(B,n)){var a=B[n];if(a===A&&(a=O(n)),void 0===a&&!t)throw new i("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:a}}throw new o("intrinsic "+e+" does not exist!")};return PN=function(e,t){if("string"!=typeof e||0===e.length)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new i('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=z(e,0,1),r=z(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return V(e,H,(function(e,t,r,a){n[n.length]=r?V(a,U,"$1"):t||e})),n}(e),n=r.length>0?r[0]:"",a=W("%"+n+"%",t),s=a.name,l=a.value,c=!1,h=a.alias;h&&(n=h[0],F(r,P([0,1],h)));for(var f=1,u=!0;f<r.length;f+=1){var d=r[f],p=z(d,0,1),m=z(d,-1);if(('"'===p||"'"===p||"`"===p||'"'===m||"'"===m||"`"===m)&&p!==m)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&u||(c=!0),D(B,s="%"+(n+="."+d)+"%"))l=B[s];else if(null!=l){if(!(d in l)){if(!t)throw new i("base intrinsic for "+e+" exists, but the property is not available.");return}if(w&&f+1>=r.length){var g=w(l,d);l=(u=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:l[d]}else u=D(l,d),l=l[d];u&&!c&&(B[s]=l)}}return l},PN}function RB(){if(zN)return VN;zN=1;var e=OB(),t=NB(),r=t([e("%String.prototype.indexOf%")]);return VN=function(n,a){var s=e(n,!!a);return"function"==typeof s&&r(n,".prototype.")>-1?t([s]):s}}function IB(){if(HN)return LN;HN=1;var e=OB(),t=RB(),r=rB(),n=yA(),a=e("%Map%",!0),s=t("Map.prototype.get",!0),o=t("Map.prototype.set",!0),i=t("Map.prototype.has",!0),l=t("Map.prototype.delete",!0),c=t("Map.prototype.size",!0);return LN=!!a&&function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+r(e))},delete:function(t){if(e){var r=l(e,t);return 0===c(e)&&(e=void 0),r}return!1},get:function(t){if(e)return s(e,t)},has:function(t){return!!e&&i(e,t)},set:function(t,r){e||(e=new a),o(e,t,r)}};return t}}function DB(){if($N)return jN;$N=1;var e=yA(),t=rB(),r=nB(),n=IB(),a=function(){if(WN)return UN;WN=1;var e=OB(),t=RB(),r=rB(),n=IB(),a=yA(),s=e("%WeakMap%",!0),o=t("WeakMap.prototype.get",!0),i=t("WeakMap.prototype.set",!0),l=t("WeakMap.prototype.has",!0),c=t("WeakMap.prototype.delete",!0);return UN=s?function(){var e,t,h={assert:function(e){if(!h.has(e))throw new a("Side channel does not contain "+r(e))},delete:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(n&&t)return t.delete(r);return!1},get:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?o(e,r):t&&t.get(r)},has:function(r){return s&&r&&("object"==typeof r||"function"==typeof r)&&e?l(e,r):!!t&&t.has(r)},set:function(r,a){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),i(e,r,a)):n&&(t||(t=n()),t.set(r,a))}};return h}:n}(),s=a||n||r;return jN=function(){var r,n={assert:function(r){if(!n.has(r))throw new e("Side channel does not contain "+t(r))},delete:function(e){return!!r&&r.delete(e)},get:function(e){return r&&r.get(e)},has:function(e){return!!r&&r.has(e)},set:function(e,t){r||(r=s()),r.set(e,t)}};return n}}function PB(){if(GN)return qN;GN=1;var e=String.prototype.replace,t=/%20/g,r="RFC3986";return qN={default:r,formatters:{RFC1738:function(r){return e.call(r,t,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}}function FB(){if(KN)return XN;KN=1;var e=PB(),t=Object.prototype.hasOwnProperty,r=Array.isArray,n=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r},s=1024;return XN={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,r){return e[r]=t[r],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var s=t[a],o=s.obj[s.prop],i=Object.keys(o),l=0;l<i.length;++l){var c=i[l],h=o[c];"object"==typeof h&&null!==h&&-1===n.indexOf(h)&&(t.push({obj:o,prop:c}),n.push(h))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(r(n)){for(var a=[],s=0;s<n.length;++s)void 0!==n[s]&&a.push(n[s]);t.obj[t.prop]=a}}}(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(a){return n}},encode:function(t,r,a,o,i){if(0===t.length)return t;var l=t;if("symbol"==typeof t?l=Symbol.prototype.toString.call(t):"string"!=typeof t&&(l=String(t)),"iso-8859-1"===a)return escape(l).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var c="",h=0;h<l.length;h+=s){for(var f=l.length>=s?l.slice(h,h+s):l,u=[],d=0;d<f.length;++d){var p=f.charCodeAt(d);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===e.RFC1738&&(40===p||41===p)?u[u.length]=f.charAt(d):p<128?u[u.length]=n[p]:p<2048?u[u.length]=n[192|p>>6]+n[128|63&p]:p<55296||p>=57344?u[u.length]=n[224|p>>12]+n[128|p>>6&63]+n[128|63&p]:(d+=1,p=65536+((1023&p)<<10|1023&f.charCodeAt(d)),u[u.length]=n[240|p>>18]+n[128|p>>12&63]+n[128|p>>6&63]+n[128|63&p])}c+=u.join("")}return c},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(r(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},merge:function e(n,s,o){if(!s)return n;if("object"!=typeof s&&"function"!=typeof s){if(r(n))n.push(s);else{if(!n||"object"!=typeof n)return[n,s];(o&&(o.plainObjects||o.allowPrototypes)||!t.call(Object.prototype,s))&&(n[s]=!0)}return n}if(!n||"object"!=typeof n)return[n].concat(s);var i=n;return r(n)&&!r(s)&&(i=a(n,o)),r(n)&&r(s)?(s.forEach((function(r,a){if(t.call(n,a)){var s=n[a];s&&"object"==typeof s&&r&&"object"==typeof r?n[a]=e(s,r,o):n.push(r)}else n[a]=r})),n):Object.keys(s).reduce((function(r,n){var a=s[n];return t.call(r,n)?r[n]=e(r[n],a,o):r[n]=a,r}),i)}}}function VB(){if(ZN)return YN;ZN=1;var e=DB(),t=FB(),r=PB(),n=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,o=Array.prototype.push,i=function(e,t){o.apply(e,s(t)?t:[t])},l=Date.prototype.toISOString,c=r.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:t.encode,encodeValuesOnly:!1,filter:void 0,format:c,formatter:r.formatters[c],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},f={},u=function r(n,a,o,l,c,u,d,p,m,g,v,w,b,y,k,E,x,_){for(var C,S=n,T=_,A=0,N=!1;void 0!==(T=T.get(f))&&!N;){var B=T.get(n);if(A+=1,void 0!==B){if(B===A)throw new RangeError("Cyclic object value");N=!0}void 0===T.get(f)&&(A=0)}if("function"==typeof g?S=g(a,S):S instanceof Date?S=b(S):"comma"===o&&s(S)&&(S=t.maybeMap(S,(function(e){return e instanceof Date?b(e):e}))),null===S){if(u)return m&&!E?m(a,h.encoder,x,"key",y):a;S=""}if("string"==typeof(C=S)||"number"==typeof C||"boolean"==typeof C||"symbol"==typeof C||"bigint"==typeof C||t.isBuffer(S))return m?[k(E?a:m(a,h.encoder,x,"key",y))+"="+k(m(S,h.encoder,x,"value",y))]:[k(a)+"="+k(String(S))];var M,O=[];if(void 0===S)return O;if("comma"===o&&s(S))E&&m&&(S=t.maybeMap(S,m)),M=[{value:S.length>0?S.join(",")||null:void 0}];else if(s(g))M=g;else{var R=Object.keys(S);M=v?R.sort(v):R}var I=p?String(a).replace(/\./g,"%2E"):String(a),D=l&&s(S)&&1===S.length?I+"[]":I;if(c&&s(S)&&0===S.length)return D+"[]";for(var P=0;P<M.length;++P){var F=M[P],V="object"==typeof F&&F&&void 0!==F.value?F.value:S[F];if(!d||null!==V){var z=w&&p?String(F).replace(/\./g,"%2E"):String(F),L=s(S)?"function"==typeof o?o(D,z):D:D+(w?"."+z:"["+z+"]");_.set(n,A);var H=e();H.set(f,_),i(O,r(V,L,o,l,c,u,d,p,"comma"===o&&E&&s(S)?null:m,g,v,w,b,y,k,E,x,H))}}return O};return YN=function(t,o){var l,c=t,f=function(e){if(!e)return h;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var o=r.default;if(void 0!==e.format){if(!n.call(r.formatters,e.format))throw new TypeError("Unknown format option provided.");o=e.format}var i,l=r.formatters[o],c=h.filter;if(("function"==typeof e.filter||s(e.filter))&&(c=e.filter),i=e.arrayFormat in a?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var f=void 0===e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:f,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:h.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:c,format:o,formatter:l,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}}(o);"function"==typeof f.filter?c=(0,f.filter)("",c):s(f.filter)&&(l=f.filter);var d=[];if("object"!=typeof c||null===c)return"";var p=a[f.arrayFormat],m="comma"===p&&f.commaRoundTrip;l||(l=Object.keys(c)),f.sort&&l.sort(f.sort);for(var g=e(),v=0;v<l.length;++v){var w=l[v],b=c[w];f.skipNulls&&null===b||i(d,u(b,w,p,m,f.allowEmptyArrays,f.strictNullHandling,f.skipNulls,f.encodeDotInKeys,f.encode?f.encoder:null,f.filter,f.sort,f.allowDots,f.serializeDate,f.format,f.formatter,f.encodeValuesOnly,f.charset,g))}var y=d.join(f.delimiter),k=!0===f.addQueryPrefix?"?":"";return f.charsetSentinel&&("iso-8859-1"===f.charset?k+="utf8=%26%2310003%3B&":k+="utf8=%E2%9C%93&"),y.length>0?k+y:""}}function zB(){if(QN)return JN;QN=1;var e=FB(),t=Object.prototype.hasOwnProperty,r=Array.isArray,n={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},a=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},s=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},o=function(r,n,a,o){if(r){var i=a.allowDots?r.replace(/\.([^.[]+)/g,"[$1]"):r,l=/(\[[^[\]]*])/g,c=a.depth>0&&/(\[[^[\]]*])/.exec(i),h=c?i.slice(0,c.index):i,f=[];if(h){if(!a.plainObjects&&t.call(Object.prototype,h)&&!a.allowPrototypes)return;f.push(h)}for(var u=0;a.depth>0&&null!==(c=l.exec(i))&&u<a.depth;){if(u+=1,!a.plainObjects&&t.call(Object.prototype,c[1].slice(1,-1))&&!a.allowPrototypes)return;f.push(c[1])}if(c){if(!0===a.strictDepth)throw new RangeError("Input depth exceeded depth option of "+a.depth+" and strictDepth is true");f.push("["+i.slice(c.index)+"]")}return function(t,r,n,a){var o=0;if(t.length>0&&"[]"===t[t.length-1]){var i=t.slice(0,-1).join("");o=Array.isArray(r)&&r[i]?r[i].length:0}for(var l=a?r:s(r,n,o),c=t.length-1;c>=0;--c){var h,f=t[c];if("[]"===f&&n.parseArrays)h=n.allowEmptyArrays&&(""===l||n.strictNullHandling&&null===l)?[]:e.combine([],l);else{h=n.plainObjects?{__proto__:null}:{};var u="["===f.charAt(0)&&"]"===f.charAt(f.length-1)?f.slice(1,-1):f,d=n.decodeDotInKeys?u.replace(/%2E/g,"."):u,p=parseInt(d,10);n.parseArrays||""!==d?!isNaN(p)&&f!==d&&String(p)===d&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(h=[])[p]=l:"__proto__"!==d&&(h[d]=l):h={0:l}}l=h}return l}(f,n,a,o)}};return JN=function(i,l){var c=function(t){if(!t)return n;if(void 0!==t.allowEmptyArrays&&"boolean"!=typeof t.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==t.decodeDotInKeys&&"boolean"!=typeof t.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==t.throwOnLimitExceeded&&"boolean"!=typeof t.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=void 0===t.charset?n.charset:t.charset,a=void 0===t.duplicates?n.duplicates:t.duplicates;if("combine"!==a&&"first"!==a&&"last"!==a)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===t.allowDots?!0===t.decodeDotInKeys||n.allowDots:!!t.allowDots,allowEmptyArrays:"boolean"==typeof t.allowEmptyArrays?!!t.allowEmptyArrays:n.allowEmptyArrays,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:n.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:n.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:n.arrayLimit,charset:r,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:n.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:n.comma,decodeDotInKeys:"boolean"==typeof t.decodeDotInKeys?t.decodeDotInKeys:n.decodeDotInKeys,decoder:"function"==typeof t.decoder?t.decoder:n.decoder,delimiter:"string"==typeof t.delimiter||e.isRegExp(t.delimiter)?t.delimiter:n.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:n.depth,duplicates:a,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:n.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:n.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:n.plainObjects,strictDepth:"boolean"==typeof t.strictDepth?!!t.strictDepth:n.strictDepth,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:n.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof t.throwOnLimitExceeded&&t.throwOnLimitExceeded}}(l);if(""===i||null==i)return c.plainObjects?{__proto__:null}:{};for(var h="string"==typeof i?function(o,i){var l={__proto__:null},c=i.ignoreQueryPrefix?o.replace(/^\?/,""):o;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var h=i.parameterLimit===1/0?void 0:i.parameterLimit,f=c.split(i.delimiter,i.throwOnLimitExceeded?h+1:h);if(i.throwOnLimitExceeded&&f.length>h)throw new RangeError("Parameter limit exceeded. Only "+h+" parameter"+(1===h?"":"s")+" allowed.");var u,d=-1,p=i.charset;if(i.charsetSentinel)for(u=0;u<f.length;++u)0===f[u].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[u]?p="utf-8":"utf8=%26%2310003%3B"===f[u]&&(p="iso-8859-1"),d=u,u=f.length);for(u=0;u<f.length;++u)if(u!==d){var m,g,v=f[u],w=v.indexOf("]="),b=-1===w?v.indexOf("="):w+1;-1===b?(m=i.decoder(v,n.decoder,p,"key"),g=i.strictNullHandling?null:""):(m=i.decoder(v.slice(0,b),n.decoder,p,"key"),g=e.maybeMap(s(v.slice(b+1),i,r(l[m])?l[m].length:0),(function(e){return i.decoder(e,n.decoder,p,"value")}))),g&&i.interpretNumericEntities&&"iso-8859-1"===p&&(g=a(String(g))),v.indexOf("[]=")>-1&&(g=r(g)?[g]:g);var y=t.call(l,m);y&&"combine"===i.duplicates?l[m]=e.combine(l[m],g):y&&"last"!==i.duplicates||(l[m]=g)}return l}(i,c):i,f=c.plainObjects?{__proto__:null}:{},u=Object.keys(h),d=0;d<u.length;++d){var p=u[d],m=o(p,h[p],c,"string"==typeof i);f=e.merge(f,m,c)}return!0===c.allowSparse?f:e.compact(f)}}function LB(){if(tB)return eB;tB=1;var e=VB(),t=zB();return eB={formats:PB(),parse:t,stringify:e}}const HB=YC(LB());let UB=null;function WB(e){UB=e,function(e){pA=e}(e)}e.sacle_x=1,e.sacle_y=1;let jB="";var $B,qB,GB,XB,KB,YB,ZB,JB,QB,eM,tM,rM,nM,aM,sM,oM,iM,lM={exports:{}},cM=lM.exports;function hM(){return $B||($B=1,e=lM,function(){var t;function r(e,t,r){null!=e&&("number"==typeof e?this.fromNumber(e,t,r):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}function n(){return new r(null)}var a="undefined"!=typeof navigator;a&&"Microsoft Internet Explorer"==navigator.appName?(r.prototype.am=function(e,t,r,n,a,s){for(var o=32767&t,i=t>>15;--s>=0;){var l=32767&this[e],c=this[e++]>>15,h=i*l+c*o;a=((l=o*l+((32767&h)<<15)+r[n]+(1073741823&a))>>>30)+(h>>>15)+i*c+(a>>>30),r[n++]=1073741823&l}return a},t=30):a&&"Netscape"!=navigator.appName?(r.prototype.am=function(e,t,r,n,a,s){for(;--s>=0;){var o=t*this[e++]+r[n]+a;a=Math.floor(o/67108864),r[n++]=67108863&o}return a},t=26):(r.prototype.am=function(e,t,r,n,a,s){for(var o=16383&t,i=t>>14;--s>=0;){var l=16383&this[e],c=this[e++]>>14,h=i*l+c*o;a=((l=o*l+((16383&h)<<14)+r[n]+a)>>28)+(h>>14)+i*c,r[n++]=268435455&l}return a},t=28),r.prototype.DB=t,r.prototype.DM=(1<<t)-1,r.prototype.DV=1<<t,r.prototype.FV=Math.pow(2,52),r.prototype.F1=52-t,r.prototype.F2=2*t-52;var s,o,i=new Array;for(s="0".charCodeAt(0),o=0;o<=9;++o)i[s++]=o;for(s="a".charCodeAt(0),o=10;o<36;++o)i[s++]=o;for(s="A".charCodeAt(0),o=10;o<36;++o)i[s++]=o;function l(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function c(e,t){var r=i[e.charCodeAt(t)];return null==r?-1:r}function h(e){var t=n();return t.fromInt(e),t}function f(e){var t,r=1;return 0!=(t=e>>>16)&&(e=t,r+=16),0!=(t=e>>8)&&(e=t,r+=8),0!=(t=e>>4)&&(e=t,r+=4),0!=(t=e>>2)&&(e=t,r+=2),0!=(t=e>>1)&&(e=t,r+=1),r}function u(e){this.m=e}function d(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function p(e,t){return e&t}function m(e,t){return e|t}function g(e,t){return e^t}function v(e,t){return e&~t}function w(e){if(0==e)return-1;var t=0;return 65535&e||(e>>=16,t+=16),255&e||(e>>=8,t+=8),15&e||(e>>=4,t+=4),3&e||(e>>=2,t+=2),1&e||++t,t}function b(e){for(var t=0;0!=e;)e&=e-1,++t;return t}function y(){}function k(e){return e}function E(e){this.r2=n(),this.q3=n(),r.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e),this.m=e}u.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},u.prototype.revert=function(e){return e},u.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},u.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},u.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},d.prototype.convert=function(e){var t=n();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(r.ZERO)>0&&this.m.subTo(t,t),t},d.prototype.revert=function(e){var t=n();return e.copyTo(t),this.reduce(t),t},d.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var r=32767&e[t],n=r*this.mpl+((r*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[r=t+this.m.t]+=this.m.am(0,n,e,t,0,this.m.t);e[r]>=e.DV;)e[r]-=e.DV,e[++r]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},d.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},d.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},r.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},r.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},r.prototype.fromString=function(e,t){var n;if(16==t)n=4;else if(8==t)n=3;else if(256==t)n=8;else if(2==t)n=1;else if(32==t)n=5;else{if(4!=t)return void this.fromRadix(e,t);n=2}this.t=0,this.s=0;for(var a=e.length,s=!1,o=0;--a>=0;){var i=8==n?255&e[a]:c(e,a);i<0?"-"==e.charAt(a)&&(s=!0):(s=!1,0==o?this[this.t++]=i:o+n>this.DB?(this[this.t-1]|=(i&(1<<this.DB-o)-1)<<o,this[this.t++]=i>>this.DB-o):this[this.t-1]|=i<<o,(o+=n)>=this.DB&&(o-=this.DB))}8==n&&128&e[0]&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),s&&r.ZERO.subTo(this,this)},r.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},r.prototype.dlShiftTo=function(e,t){var r;for(r=this.t-1;r>=0;--r)t[r+e]=this[r];for(r=e-1;r>=0;--r)t[r]=0;t.t=this.t+e,t.s=this.s},r.prototype.drShiftTo=function(e,t){for(var r=e;r<this.t;++r)t[r-e]=this[r];t.t=Math.max(this.t-e,0),t.s=this.s},r.prototype.lShiftTo=function(e,t){var r,n=e%this.DB,a=this.DB-n,s=(1<<a)-1,o=Math.floor(e/this.DB),i=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)t[r+o+1]=this[r]>>a|i,i=(this[r]&s)<<n;for(r=o-1;r>=0;--r)t[r]=0;t[o]=i,t.t=this.t+o+1,t.s=this.s,t.clamp()},r.prototype.rShiftTo=function(e,t){t.s=this.s;var r=Math.floor(e/this.DB);if(r>=this.t)t.t=0;else{var n=e%this.DB,a=this.DB-n,s=(1<<n)-1;t[0]=this[r]>>n;for(var o=r+1;o<this.t;++o)t[o-r-1]|=(this[o]&s)<<a,t[o-r]=this[o]>>n;n>0&&(t[this.t-r-1]|=(this.s&s)<<a),t.t=this.t-r,t.clamp()}},r.prototype.subTo=function(e,t){for(var r=0,n=0,a=Math.min(e.t,this.t);r<a;)n+=this[r]-e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n-=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n-=e[r],t[r++]=n&this.DM,n>>=this.DB;n-=e.s}t.s=n<0?-1:0,n<-1?t[r++]=this.DV+n:n>0&&(t[r++]=n),t.t=r,t.clamp()},r.prototype.multiplyTo=function(e,t){var n=this.abs(),a=e.abs(),s=n.t;for(t.t=s+a.t;--s>=0;)t[s]=0;for(s=0;s<a.t;++s)t[s+n.t]=n.am(0,a[s],t,s,0,n.t);t.s=0,t.clamp(),this.s!=e.s&&r.ZERO.subTo(t,t)},r.prototype.squareTo=function(e){for(var t=this.abs(),r=e.t=2*t.t;--r>=0;)e[r]=0;for(r=0;r<t.t-1;++r){var n=t.am(r,t[r],e,2*r,0,1);(e[r+t.t]+=t.am(r+1,2*t[r],e,2*r+1,n,t.t-r-1))>=t.DV&&(e[r+t.t]-=t.DV,e[r+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(r,t[r],e,2*r,0,1)),e.s=0,e.clamp()},r.prototype.divRemTo=function(e,t,a){var s=e.abs();if(!(s.t<=0)){var o=this.abs();if(o.t<s.t)return null!=t&&t.fromInt(0),void(null!=a&&this.copyTo(a));null==a&&(a=n());var i=n(),l=this.s,c=e.s,h=this.DB-f(s[s.t-1]);h>0?(s.lShiftTo(h,i),o.lShiftTo(h,a)):(s.copyTo(i),o.copyTo(a));var u=i.t,d=i[u-1];if(0!=d){var p=d*(1<<this.F1)+(u>1?i[u-2]>>this.F2:0),m=this.FV/p,g=(1<<this.F1)/p,v=1<<this.F2,w=a.t,b=w-u,y=null==t?n():t;for(i.dlShiftTo(b,y),a.compareTo(y)>=0&&(a[a.t++]=1,a.subTo(y,a)),r.ONE.dlShiftTo(u,y),y.subTo(i,i);i.t<u;)i[i.t++]=0;for(;--b>=0;){var k=a[--w]==d?this.DM:Math.floor(a[w]*m+(a[w-1]+v)*g);if((a[w]+=i.am(0,k,a,b,0,u))<k)for(i.dlShiftTo(b,y),a.subTo(y,a);a[w]<--k;)a.subTo(y,a)}null!=t&&(a.drShiftTo(u,t),l!=c&&r.ZERO.subTo(t,t)),a.t=u,a.clamp(),h>0&&a.rShiftTo(h,a),l<0&&r.ZERO.subTo(a,a)}}},r.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(!(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(e,t){if(e>4294967295||e<1)return r.ONE;var a=n(),s=n(),o=t.convert(this),i=f(e)-1;for(o.copyTo(a);--i>=0;)if(t.sqrTo(a,s),(e&1<<i)>0)t.mulTo(s,o,a);else{var l=a;a=s,s=l}return t.revert(a)},r.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var r,n=(1<<t)-1,a=!1,s="",o=this.t,i=this.DB-o*this.DB%t;if(o-- >0)for(i<this.DB&&(r=this[o]>>i)>0&&(a=!0,s=l(r));o>=0;)i<t?(r=(this[o]&(1<<i)-1)<<t-i,r|=this[--o]>>(i+=this.DB-t)):(r=this[o]>>(i-=t)&n,i<=0&&(i+=this.DB,--o)),r>0&&(a=!0),a&&(s+=l(r));return a?s:"0"},r.prototype.negate=function(){var e=n();return r.ZERO.subTo(this,e),e},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var r=this.t;if(0!=(t=r-e.t))return this.s<0?-t:t;for(;--r>=0;)if(0!=(t=this[r]-e[r]))return t;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+f(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(e){var t=n();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(r.ZERO)>0&&e.subTo(t,t),t},r.prototype.modPowInt=function(e,t){var r;return r=e<256||t.isEven()?new u(t):new d(t),this.exp(e,r)},r.ZERO=h(0),r.ONE=h(1),y.prototype.convert=k,y.prototype.revert=k,y.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r)},y.prototype.sqrTo=function(e,t){e.squareTo(t)},E.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=n();return e.copyTo(t),this.reduce(t),t},E.prototype.revert=function(e){return e},E.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},E.prototype.mulTo=function(e,t,r){e.multiplyTo(t,r),this.reduce(r)},E.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)};var x,_,C,S=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],T=(1<<26)/S[S.length-1];function A(){var e;e=(new Date).getTime(),_[C++]^=255&e,_[C++]^=e>>8&255,_[C++]^=e>>16&255,_[C++]^=e>>24&255,C>=D&&(C-=D)}if(r.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},r.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),r=Math.pow(e,t),a=h(r),s=n(),o=n(),i="";for(this.divRemTo(a,s,o);s.signum()>0;)i=(r+o.intValue()).toString(e).substr(1)+i,s.divRemTo(a,s,o);return o.intValue().toString(e)+i},r.prototype.fromRadix=function(e,t){this.fromInt(0),null==t&&(t=10);for(var n=this.chunkSize(t),a=Math.pow(t,n),s=!1,o=0,i=0,l=0;l<e.length;++l){var h=c(e,l);h<0?"-"==e.charAt(l)&&0==this.signum()&&(s=!0):(i=t*i+h,++o>=n&&(this.dMultiply(a),this.dAddOffset(i,0),o=0,i=0))}o>0&&(this.dMultiply(Math.pow(t,o)),this.dAddOffset(i,0)),s&&r.ZERO.subTo(this,this)},r.prototype.fromNumber=function(e,t,n){if("number"==typeof t)if(e<2)this.fromInt(1);else for(this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(r.ONE.shiftLeft(e-1),m,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(r.ONE.shiftLeft(e-1),this);else{var a=new Array,s=7&e;a.length=1+(e>>3),t.nextBytes(a),s>0?a[0]&=(1<<s)-1:a[0]=0,this.fromString(a,256)}},r.prototype.bitwiseTo=function(e,t,r){var n,a,s=Math.min(e.t,this.t);for(n=0;n<s;++n)r[n]=t(this[n],e[n]);if(e.t<this.t){for(a=e.s&this.DM,n=s;n<this.t;++n)r[n]=t(this[n],a);r.t=this.t}else{for(a=this.s&this.DM,n=s;n<e.t;++n)r[n]=t(a,e[n]);r.t=e.t}r.s=t(this.s,e.s),r.clamp()},r.prototype.changeBit=function(e,t){var n=r.ONE.shiftLeft(e);return this.bitwiseTo(n,t,n),n},r.prototype.addTo=function(e,t){for(var r=0,n=0,a=Math.min(e.t,this.t);r<a;)n+=this[r]+e[r],t[r++]=n&this.DM,n>>=this.DB;if(e.t<this.t){for(n+=e.s;r<this.t;)n+=this[r],t[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<e.t;)n+=e[r],t[r++]=n&this.DM,n>>=this.DB;n+=e.s}t.s=n<0?-1:0,n>0?t[r++]=n:n<-1&&(t[r++]=this.DV+n),t.t=r,t.clamp()},r.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},r.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},r.prototype.multiplyLowerTo=function(e,t,r){var n,a=Math.min(this.t+e.t,t);for(r.s=0,r.t=a;a>0;)r[--a]=0;for(n=r.t-this.t;a<n;++a)r[a+this.t]=this.am(0,e[a],r,a,0,this.t);for(n=Math.min(e.t,t);a<n;++a)this.am(0,e[a],r,a,0,t-a);r.clamp()},r.prototype.multiplyUpperTo=function(e,t,r){--t;var n=r.t=this.t+e.t-t;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(t-this.t,0);n<e.t;++n)r[this.t+n-t]=this.am(t-n,e[n],r,0,0,this.t+n-t);r.clamp(),r.drShiftTo(1,r)},r.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,r=this.s<0?e-1:0;if(this.t>0)if(0==t)r=this[0]%e;else for(var n=this.t-1;n>=0;--n)r=(t*r+this[n])%e;return r},r.prototype.millerRabin=function(e){var t=this.subtract(r.ONE),a=t.getLowestSetBit();if(a<=0)return!1;var s=t.shiftRight(a);(e=e+1>>1)>S.length&&(e=S.length);for(var o=n(),i=0;i<e;++i){o.fromInt(S[Math.floor(Math.random()*S.length)]);var l=o.modPow(s,this);if(0!=l.compareTo(r.ONE)&&0!=l.compareTo(t)){for(var c=1;c++<a&&0!=l.compareTo(t);)if(0==(l=l.modPowInt(2,this)).compareTo(r.ONE))return!1;if(0!=l.compareTo(t))return!1}}return!0},r.prototype.clone=function(){var e=n();return this.copyTo(e),e},r.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},r.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},r.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},r.prototype.toByteArray=function(){var e=this.t,t=new Array;t[0]=this.s;var r,n=this.DB-e*this.DB%8,a=0;if(e-- >0)for(n<this.DB&&(r=this[e]>>n)!=(this.s&this.DM)>>n&&(t[a++]=r|this.s<<this.DB-n);e>=0;)n<8?(r=(this[e]&(1<<n)-1)<<8-n,r|=this[--e]>>(n+=this.DB-8)):(r=this[e]>>(n-=8)&255,n<=0&&(n+=this.DB,--e)),128&r&&(r|=-256),0==a&&(128&this.s)!=(128&r)&&++a,(a>0||r!=this.s)&&(t[a++]=r);return t},r.prototype.equals=function(e){return 0==this.compareTo(e)},r.prototype.min=function(e){return this.compareTo(e)<0?this:e},r.prototype.max=function(e){return this.compareTo(e)>0?this:e},r.prototype.and=function(e){var t=n();return this.bitwiseTo(e,p,t),t},r.prototype.or=function(e){var t=n();return this.bitwiseTo(e,m,t),t},r.prototype.xor=function(e){var t=n();return this.bitwiseTo(e,g,t),t},r.prototype.andNot=function(e){var t=n();return this.bitwiseTo(e,v,t),t},r.prototype.not=function(){for(var e=n(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},r.prototype.shiftLeft=function(e){var t=n();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},r.prototype.shiftRight=function(e){var t=n();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},r.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+w(this[e]);return this.s<0?this.t*this.DB:-1},r.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,r=0;r<this.t;++r)e+=b(this[r]^t);return e},r.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:!!(this[t]&1<<e%this.DB)},r.prototype.setBit=function(e){return this.changeBit(e,m)},r.prototype.clearBit=function(e){return this.changeBit(e,v)},r.prototype.flipBit=function(e){return this.changeBit(e,g)},r.prototype.add=function(e){var t=n();return this.addTo(e,t),t},r.prototype.subtract=function(e){var t=n();return this.subTo(e,t),t},r.prototype.multiply=function(e){var t=n();return this.multiplyTo(e,t),t},r.prototype.divide=function(e){var t=n();return this.divRemTo(e,t,null),t},r.prototype.remainder=function(e){var t=n();return this.divRemTo(e,null,t),t},r.prototype.divideAndRemainder=function(e){var t=n(),r=n();return this.divRemTo(e,t,r),new Array(t,r)},r.prototype.modPow=function(e,t){var r,a,s=e.bitLength(),o=h(1);if(s<=0)return o;r=s<18?1:s<48?3:s<144?4:s<768?5:6,a=s<8?new u(t):t.isEven()?new E(t):new d(t);var i=new Array,l=3,c=r-1,p=(1<<r)-1;if(i[1]=a.convert(this),r>1){var m=n();for(a.sqrTo(i[1],m);l<=p;)i[l]=n(),a.mulTo(m,i[l-2],i[l]),l+=2}var g,v,w=e.t-1,b=!0,y=n();for(s=f(e[w])-1;w>=0;){for(s>=c?g=e[w]>>s-c&p:(g=(e[w]&(1<<s+1)-1)<<c-s,w>0&&(g|=e[w-1]>>this.DB+s-c)),l=r;!(1&g);)g>>=1,--l;if((s-=l)<0&&(s+=this.DB,--w),b)i[g].copyTo(o),b=!1;else{for(;l>1;)a.sqrTo(o,y),a.sqrTo(y,o),l-=2;l>0?a.sqrTo(o,y):(v=o,o=y,y=v),a.mulTo(y,i[g],o)}for(;w>=0&&!(e[w]&1<<s);)a.sqrTo(o,y),v=o,o=y,y=v,--s<0&&(s=this.DB-1,--w)}return a.revert(o)},r.prototype.modInverse=function(e){var t=e.isEven();if(this.isEven()&&t||0==e.signum())return r.ZERO;for(var n=e.clone(),a=this.clone(),s=h(1),o=h(0),i=h(0),l=h(1);0!=n.signum();){for(;n.isEven();)n.rShiftTo(1,n),t?(s.isEven()&&o.isEven()||(s.addTo(this,s),o.subTo(e,o)),s.rShiftTo(1,s)):o.isEven()||o.subTo(e,o),o.rShiftTo(1,o);for(;a.isEven();)a.rShiftTo(1,a),t?(i.isEven()&&l.isEven()||(i.addTo(this,i),l.subTo(e,l)),i.rShiftTo(1,i)):l.isEven()||l.subTo(e,l),l.rShiftTo(1,l);n.compareTo(a)>=0?(n.subTo(a,n),t&&s.subTo(i,s),o.subTo(l,o)):(a.subTo(n,a),t&&i.subTo(s,i),l.subTo(o,l))}return 0!=a.compareTo(r.ONE)?r.ZERO:l.compareTo(e)>=0?l.subtract(e):l.signum()<0?(l.addTo(e,l),l.signum()<0?l.add(e):l):l},r.prototype.pow=function(e){return this.exp(e,new y)},r.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(t.compareTo(r)<0){var n=t;t=r,r=n}var a=t.getLowestSetBit(),s=r.getLowestSetBit();if(s<0)return t;for(a<s&&(s=a),s>0&&(t.rShiftTo(s,t),r.rShiftTo(s,r));t.signum()>0;)(a=t.getLowestSetBit())>0&&t.rShiftTo(a,t),(a=r.getLowestSetBit())>0&&r.rShiftTo(a,r),t.compareTo(r)>=0?(t.subTo(r,t),t.rShiftTo(1,t)):(r.subTo(t,r),r.rShiftTo(1,r));return s>0&&r.lShiftTo(s,r),r},r.prototype.isProbablePrime=function(e){var t,r=this.abs();if(1==r.t&&r[0]<=S[S.length-1]){for(t=0;t<S.length;++t)if(r[0]==S[t])return!0;return!1}if(r.isEven())return!1;for(t=1;t<S.length;){for(var n=S[t],a=t+1;a<S.length&&n<T;)n*=S[a++];for(n=r.modInt(n);t<a;)if(n%S[t++]==0)return!1}return r.millerRabin(e)},r.prototype.square=function(){var e=n();return this.squareTo(e),e},r.prototype.Barrett=E,null==_){var N;if(_=new Array,C=0,"undefined"!=typeof window&&window.crypto)if(window.crypto.getRandomValues){var B=new Uint8Array(32);for(window.crypto.getRandomValues(B),N=0;N<32;++N)_[C++]=B[N]}else if("Netscape"==navigator.appName&&navigator.appVersion<"5"){var M=window.crypto.random(32);for(N=0;N<M.length;++N)_[C++]=255&M.charCodeAt(N)}for(;C<D;)N=Math.floor(65536*Math.random()),_[C++]=N>>>8,_[C++]=255&N;C=0,A()}function O(){if(null==x){for(A(),(x=new I).init(_),C=0;C<_.length;++C)_[C]=0;C=0}return x.next()}function R(){}function I(){this.i=0,this.j=0,this.S=new Array}R.prototype.nextBytes=function(e){var t;for(t=0;t<e.length;++t)e[t]=O()},I.prototype.init=function(e){var t,r,n;for(t=0;t<256;++t)this.S[t]=t;for(r=0,t=0;t<256;++t)r=r+this.S[t]+e[t%e.length]&255,n=this.S[t],this.S[t]=this.S[r],this.S[r]=n;this.i=0,this.j=0},I.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]};var D=256;e.exports={default:r,BigInteger:r,SecureRandom:R}}.call(cM)),lM.exports;var e}function fM(){if(GB)return qB;GB=1;const{BigInteger:e}=hM();class t{constructor(){this.tlv=null,this.t="00",this.l="00",this.v=""}getEncodedHex(){return this.tlv||(this.v=this.getValue(),this.l=this.getLength(),this.tlv=this.t+this.l+this.v),this.tlv}getLength(){const e=this.v.length/2;let t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;return(128+t.length/2).toString(16)+t}getValue(){return""}}class r extends t{constructor(t){super(),this.t="02",t&&(this.v=function(t){let r=t.toString(16);if("-"!==r[0])r.length%2==1?r="0"+r:r.match(/^[0-7]/)||(r="00"+r);else{r=r.substr(1);let n=r.length;n%2==1?n+=1:r.match(/^[0-7]/)||(n+=2);let a="";for(let e=0;e<n;e++)a+="f";a=new e(a,16),r=a.xor(t).add(e.ONE),r=r.toString(16).replace(/^-/,"")}return r}(t))}getValue(){return this.v}}class n extends t{constructor(e){super(),this.t="30",this.asn1Array=e}getValue(){return this.v=this.asn1Array.map((e=>e.getEncodedHex())).join(""),this.v}}function a(e,t){return+e[t+2]<8?1:128&+e.substr(t+2,2)}function s(t,r){const n=a(t,r),s=t.substr(r+2,2*n);if(!s)return-1;return(+s[0]<8?new e(s,16):new e(s.substr(2),16)).intValue()}function o(e,t){return t+2*(a(e,t)+1)}return qB={encodeDer(e,t){const a=new r(e),s=new r(t);return new n([a,s]).getEncodedHex()},decodeDer(t){const r=o(t,0),n=o(t,r),a=s(t,r),i=t.substr(n,2*a),l=n+i.length,c=o(t,l),h=s(t,l),f=t.substr(c,2*h);return{r:new e(i,16),s:new e(f,16)}}}}function uM(){if(ZB)return YB;ZB=1;const{BigInteger:e,SecureRandom:t}=hM(),{ECCurveFp:r}=function(){if(KB)return XB;KB=1;const{BigInteger:e}=hM(),t=new e("2"),r=new e("3");class n{constructor(e,t){this.x=t,this.q=e}equals(e){return e===this||this.q.equals(e.q)&&this.x.equals(e.x)}toBigInteger(){return this.x}negate(){return new n(this.q,this.x.negate().mod(this.q))}add(e){return new n(this.q,this.x.add(e.toBigInteger()).mod(this.q))}subtract(e){return new n(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}multiply(e){return new n(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}divide(e){return new n(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}square(){return new n(this.q,this.x.square().mod(this.q))}}class a{constructor(t,r,n,a){this.curve=t,this.x=r,this.y=n,this.z=null==a?e.ONE:a,this.zinv=null}getX(){return null===this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))}getY(){return null===this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))}equals(t){return t===this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(e.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(e.ZERO))}isInfinity(){return null===this.x&&null===this.y||this.z.equals(e.ZERO)&&!this.y.toBigInteger().equals(e.ZERO)}negate(){return new a(this.curve,this.x,this.y.negate(),this.z)}add(t){if(this.isInfinity())return t;if(t.isInfinity())return this;const r=this.x.toBigInteger(),n=this.y.toBigInteger(),s=this.z,o=t.x.toBigInteger(),i=t.y.toBigInteger(),l=t.z,c=this.curve.q,h=r.multiply(l).mod(c),f=o.multiply(s).mod(c),u=h.subtract(f),d=n.multiply(l).mod(c),p=i.multiply(s).mod(c),m=d.subtract(p);if(e.ZERO.equals(u))return e.ZERO.equals(m)?this.twice():this.curve.infinity;const g=h.add(f),v=s.multiply(l).mod(c),w=u.square().mod(c),b=u.multiply(w).mod(c),y=v.multiply(m.square()).subtract(g.multiply(w)).mod(c),k=u.multiply(y).mod(c),E=m.multiply(w.multiply(h).subtract(y)).subtract(d.multiply(b)).mod(c),x=b.multiply(v).mod(c);return new a(this.curve,this.curve.fromBigInteger(k),this.curve.fromBigInteger(E),x)}twice(){if(this.isInfinity())return this;if(!this.y.toBigInteger().signum())return this.curve.infinity;const e=this.x.toBigInteger(),t=this.y.toBigInteger(),n=this.z,s=this.curve.q,o=this.curve.a.toBigInteger(),i=e.square().multiply(r).add(o.multiply(n.square())).mod(s),l=t.shiftLeft(1).multiply(n).mod(s),c=t.square().mod(s),h=c.multiply(e).multiply(n).mod(s),f=l.square().mod(s),u=i.square().subtract(h.shiftLeft(3)).mod(s),d=l.multiply(u).mod(s),p=i.multiply(h.shiftLeft(2).subtract(u)).subtract(f.shiftLeft(1).multiply(c)).mod(s),m=l.multiply(f).mod(s);return new a(this.curve,this.curve.fromBigInteger(d),this.curve.fromBigInteger(p),m)}multiply(e){if(this.isInfinity())return this;if(!e.signum())return this.curve.infinity;const t=e.multiply(r),n=this.negate();let a=this;for(let r=t.bitLength()-2;r>0;r--){a=a.twice();const s=t.testBit(r);s!==e.testBit(r)&&(a=a.add(s?this:n))}return a}}return XB={ECPointFp:a,ECCurveFp:class{constructor(e,t,r){this.q=e,this.a=this.fromBigInteger(t),this.b=this.fromBigInteger(r),this.infinity=new a(this,null,null)}equals(e){return e===this||this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}fromBigInteger(e){return new n(this.q,e)}decodePointHex(r){switch(parseInt(r.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:const n=this.fromBigInteger(new e(r.substr(2),16));let s=this.fromBigInteger(n.multiply(n.square()).add(n.multiply(this.a)).add(this.b).toBigInteger().modPow(this.q.divide(new e("4")).add(e.ONE),this.q));return s.toBigInteger().mod(t).equals(new e(r.substr(0,2),16).subtract(t))||(s=s.negate()),new a(this,n,s);case 4:case 6:case 7:const o=(r.length-2)/2,i=r.substr(2,o),l=r.substr(o+2,o);return new a(this,this.fromBigInteger(new e(i,16)),this.fromBigInteger(new e(l,16)));default:return null}}}}}(),n=new t,{curve:a,G:s,n:o}=i();function i(){const t=new e("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFF",16),n=new e("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00000000FFFFFFFFFFFFFFFC",16),a=new e("28E9FA9E9D9F5E344D5A9E4BCF6509A7F39789F515AB8F92DDBCBD414D940E93",16),s=new r(t,n,a),o=s.decodePointHex("0432C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7BC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0");return{curve:s,G:o,n:new e("FFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFF7203DF6B21C6052B53BBF40939D54123",16)}}function l(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}return YB={getGlobalCurve:function(){return a},generateEcparam:i,generateKeyPairHex:function(t,r,a){const i=(t?new e(t,r,a):new e(o.bitLength(),n)).mod(o.subtract(e.ONE)).add(e.ONE),c=l(i.toString(16),64),h=s.multiply(i);return{privateKey:c,publicKey:"04"+l(h.getX().toBigInteger().toString(16),64)+l(h.getY().toBigInteger().toString(16),64)}},compressPublicKeyHex:function(t){if(130!==t.length)throw new Error("Invalid public key to compress");const r=(t.length-2)/2,n=t.substr(2,r);let a="03";return new e(t.substr(r+2,r),16).mod(new e("2")).equals(e.ZERO)&&(a="02"),a+n},utf8ToHex:function(e){const t=(e=unescape(encodeURIComponent(e))).length,r=[];for(let a=0;a<t;a++)r[a>>>2]|=(255&e.charCodeAt(a))<<24-a%4*8;const n=[];for(let a=0;a<t;a++){const e=r[a>>>2]>>>24-a%4*8&255;n.push((e>>>4).toString(16)),n.push((15&e).toString(16))}return n.join("")},leftPad:l,arrayToHex:function(e){return e.map((e=>1===(e=e.toString(16)).length?"0"+e:e)).join("")},arrayToUtf8:function(e){const t=[];let r=0;for(let a=0;a<2*e.length;a+=2)t[a>>>3]|=parseInt(e[r],10)<<24-a%8*4,r++;try{const r=[];for(let n=0;n<e.length;n++){const e=t[n>>>2]>>>24-n%4*8&255;r.push(String.fromCharCode(e))}return decodeURIComponent(escape(r.join("")))}catch(n){throw new Error("Malformed UTF-8 data")}},hexToArray:function(e){const t=[];let r=e.length;r%2!=0&&(e=l(e,r+1)),r=e.length;for(let n=0;n<r;n+=2)t.push(parseInt(e.substr(n,2),16));return t},verifyPublicKey:function(e){const t=a.decodePointHex(e);if(!t)return!1;const r=t.getX();return t.getY().square().equals(r.multiply(r.square()).add(r.multiply(a.a)).add(a.b))},comparePublicKeyHex:function(e,t){const r=a.decodePointHex(e);if(!r)return!1;const n=a.decodePointHex(t);return!!n&&r.equals(n)}}}function dM(){if(QB)return JB;QB=1;const e=new Uint32Array(68),t=new Uint32Array(64);function r(e,t){const r=31&t;return e<<r|e>>>32-r}function n(e,t){const r=[];for(let n=e.length-1;n>=0;n--)r[n]=255&(e[n]^t[n]);return r}function a(e){return e^r(e,9)^r(e,17)}function s(n){let s=8*n.length,o=s%512;o=o>=448?512-o%448-1:448-o-1;const i=new Array((o-7)/8),l=new Array(8);for(let e=0,t=i.length;e<t;e++)i[e]=0;for(let e=0,t=l.length;e<t;e++)l[e]=0;s=s.toString(2);for(let e=7;e>=0;e--)if(s.length>8){const t=s.length-8;l[e]=parseInt(s.substr(t),2),s=s.substr(0,t)}else s.length>0&&(l[e]=parseInt(s,2),s="");const c=new Uint8Array([...n,128,...i,...l]),h=new DataView(c.buffer,0),f=c.length/64,u=new Uint32Array([1937774191,1226093241,388252375,3666478592,2842636476,372324522,3817729613,2969243214]);for(let m=0;m<f;m++){e.fill(0),t.fill(0);const n=16*m;for(let t=0;t<16;t++)e[t]=h.getUint32(4*(n+t),!1);for(let t=16;t<68;t++)e[t]=(d=e[t-16]^e[t-9]^r(e[t-3],15))^r(d,15)^r(d,23)^r(e[t-13],7)^e[t-6];for(let r=0;r<64;r++)t[r]=e[r]^e[r+4];const s=2043430169,o=2055708042;let i,l,c,f,p,g=u[0],v=u[1],w=u[2],b=u[3],y=u[4],k=u[5],E=u[6],x=u[7];for(let h=0;h<64;h++)p=h>=0&&h<=15?s:o,i=r(r(g,12)+y+r(p,h),7),l=i^r(g,12),c=(h>=0&&h<=15?g^v^w:g&v|g&w|v&w)+b+l+t[h],f=(h>=0&&h<=15?y^k^E:y&k|~y&E)+x+i+e[h],b=w,w=r(v,9),v=g,g=c,x=E,E=r(k,19),k=y,y=a(f);u[0]^=g,u[1]^=v,u[2]^=w,u[3]^=b,u[4]^=y,u[5]^=k,u[6]^=E,u[7]^=x}var d;const p=[];for(let e=0,t=u.length;e<t;e++){const t=u[e];p.push((4278190080&t)>>>24,(16711680&t)>>>16,(65280&t)>>>8,255&t)}return p}const o=new Uint8Array(64),i=new Uint8Array(64);for(let l=0;l<64;l++)o[l]=54,i[l]=92;return JB={sm3:s,hmac:function(e,t){for(t.length>64&&(t=s(t));t.length<64;)t.push(0);const r=n(t,o),a=n(t,i),l=s([...r,...e]);return s([...a,...l])}}}function pM(){if(tM)return eM;tM=1;const{BigInteger:e}=hM(),{encodeDer:t,decodeDer:r}=fM(),n=uM(),a=dM().sm3,{G:s,curve:o,n:i}=n.generateEcparam();function l(e,t,r="1234567812345678"){r=n.utf8ToHex(r);const o=n.leftPad(s.curve.a.toBigInteger().toRadix(16),64),i=n.leftPad(s.curve.b.toBigInteger().toRadix(16),64),l=n.leftPad(s.getX().toBigInteger().toRadix(16),64),c=n.leftPad(s.getY().toBigInteger().toRadix(16),64);let h,f;if(128===t.length)h=t.substr(0,64),f=t.substr(64,64);else{const e=s.curve.decodePointHex(t);h=n.leftPad(e.getX().toBigInteger().toRadix(16),64),f=n.leftPad(e.getY().toBigInteger().toRadix(16),64)}const u=n.hexToArray(r+o+i+l+c+h+f),d=4*r.length;u.unshift(255&d),u.unshift(d>>8&255);const p=a(u);return n.arrayToHex(a(p.concat(n.hexToArray(e))))}function c(t){const r=s.multiply(new e(t,16));return"04"+n.leftPad(r.getX().toBigInteger().toString(16),64)+n.leftPad(r.getY().toBigInteger().toString(16),64)}function h(){const t=n.generateKeyPairHex(),r=o.decodePointHex(t.publicKey);return t.k=new e(t.privateKey,16),t.x1=r.getX().toBigInteger(),t}return eM={generateKeyPairHex:n.generateKeyPairHex,compressPublicKeyHex:n.compressPublicKeyHex,comparePublicKeyHex:n.comparePublicKeyHex,doEncrypt:function(t,r,s=1){t="string"==typeof t?n.hexToArray(n.utf8ToHex(t)):Array.prototype.slice.call(t),r=n.getGlobalCurve().decodePointHex(r);const o=n.generateKeyPairHex(),i=new e(o.privateKey,16);let l=o.publicKey;l.length>128&&(l=l.substr(l.length-128));const c=r.multiply(i),h=n.hexToArray(n.leftPad(c.getX().toBigInteger().toRadix(16),64)),f=n.hexToArray(n.leftPad(c.getY().toBigInteger().toRadix(16),64)),u=n.arrayToHex(a([].concat(h,t,f)));let d=1,p=0,m=[];const g=[].concat(h,f),v=()=>{m=a([...g,d>>24&255,d>>16&255,d>>8&255,255&d]),d++,p=0};v();for(let e=0,n=t.length;e<n;e++)p===m.length&&v(),t[e]^=255&m[p++];const w=n.arrayToHex(t);return 0===s?l+w+u:l+u+w},doDecrypt:function(t,r,s=1,{output:o="string"}={}){r=new e(r,16);let i=t.substr(128,64),l=t.substr(192);0===s&&(i=t.substr(t.length-64),l=t.substr(128,t.length-128-64));const c=n.hexToArray(l),h=n.getGlobalCurve().decodePointHex("04"+t.substr(0,128)).multiply(r),f=n.hexToArray(n.leftPad(h.getX().toBigInteger().toRadix(16),64)),u=n.hexToArray(n.leftPad(h.getY().toBigInteger().toRadix(16),64));let d=1,p=0,m=[];const g=[].concat(f,u),v=()=>{m=a([...g,d>>24&255,d>>16&255,d>>8&255,255&d]),d++,p=0};v();for(let e=0,n=c.length;e<n;e++)p===m.length&&v(),c[e]^=255&m[p++];return n.arrayToHex(a([].concat(f,c,u)))===i.toLowerCase()?"array"===o?c:n.arrayToUtf8(c):"array"===o?[]:""},doSignature:function(r,a,{pointPool:s,der:o,hash:f,publicKey:u,userId:d}={}){let p="string"==typeof r?n.utf8ToHex(r):n.arrayToHex(r);f&&(p=l(p,u=u||c(a),d));const m=new e(a,16),g=new e(p,16);let v=null,w=null,b=null;do{do{let e;e=s&&s.length?s.pop():h(),v=e.k,w=g.add(e.x1).mod(i)}while(w.equals(e.ZERO)||w.add(v).equals(i));b=m.add(e.ONE).modInverse(i).multiply(v.subtract(w.multiply(m))).mod(i)}while(b.equals(e.ZERO));return o?t(w,b):n.leftPad(w.toString(16),64)+n.leftPad(b.toString(16),64)},doVerifySignature:function(t,a,c,{der:h,hash:f,userId:u}={}){let d,p,m="string"==typeof t?n.utf8ToHex(t):n.arrayToHex(t);if(f&&(m=l(m,c,u)),h){const e=r(a);d=e.r,p=e.s}else d=new e(a.substring(0,64),16),p=new e(a.substring(64),16);const g=o.decodePointHex(c),v=new e(m,16),w=d.add(p).mod(i);if(w.equals(e.ZERO))return!1;const b=s.multiply(p).add(g.multiply(w)),y=v.add(b.getX().toBigInteger()).mod(i);return d.equals(y)},getPublicKeyFromPrivateKey:c,getPoint:h,verifyPublicKey:n.verifyPublicKey}}function mM(){if(nM)return rM;nM=1;const{sm3:e,hmac:t}=dM();function r(e){return e.map((e=>1===(e=e.toString(16)).length?"0"+e:e)).join("")}function n(e){const t=[];let r=e.length;var n,a;r%2!=0&&(a=r+1,e=(n=e).length>=a?n:new Array(a-n.length+1).join("0")+n),r=e.length;for(let s=0;s<r;s+=2)t.push(parseInt(e.substr(s,2),16));return t}return rM=function(a,s){if(a="string"==typeof a?function(e){const t=[];for(let r=0,n=e.length;r<n;r++){const n=e.codePointAt(r);if(n<=127)t.push(n);else if(n<=2047)t.push(192|n>>>6),t.push(128|63&n);else if(n<=55295||n>=57344&&n<=65535)t.push(224|n>>>12),t.push(128|n>>>6&63),t.push(128|63&n);else{if(!(n>=65536&&n<=1114111))throw t.push(n),new Error("input is not supported");r++,t.push(240|n>>>18&28),t.push(128|n>>>12&63),t.push(128|n>>>6&63),t.push(128|63&n)}}return t}(a):Array.prototype.slice.call(a),s){if("hmac"!==(s.mode||"hmac"))throw new Error("invalid mode");let e=s.key;if(!e)throw new Error("invalid key");return e="string"==typeof e?n(e):Array.prototype.slice.call(e),r(t(a,e))}return r(e(a))}}function gM(){if(sM)return aM;sM=1;const e=16,t=[214,144,233,254,204,225,61,183,22,182,20,194,40,251,44,5,43,103,154,118,42,190,4,195,170,68,19,38,73,134,6,153,156,66,80,244,145,239,152,122,51,84,11,67,237,207,172,98,228,179,28,169,201,8,232,149,128,223,148,250,117,143,63,166,71,7,167,252,243,115,23,186,131,89,60,25,230,133,79,168,104,107,129,178,113,100,218,139,248,235,15,75,112,86,157,53,30,36,14,94,99,88,209,162,37,34,124,59,1,33,120,135,212,0,70,87,159,211,39,82,76,54,2,231,160,196,200,158,234,191,138,210,64,199,56,181,163,247,242,206,249,97,21,161,224,174,93,164,155,52,26,85,173,147,50,48,245,140,177,227,29,246,226,46,130,102,202,96,192,41,35,171,13,83,78,111,213,219,55,69,222,253,142,47,3,255,106,114,109,108,91,81,141,27,175,146,187,221,188,127,17,217,92,65,31,16,90,216,10,193,49,136,165,205,123,189,45,116,208,18,184,229,180,176,137,105,151,74,12,150,119,126,101,185,241,9,197,110,198,132,24,240,125,236,58,220,77,32,121,238,95,62,215,203,57,72],r=[462357,472066609,943670861,1415275113,1886879365,2358483617,2830087869,3301692121,3773296373,4228057617,404694573,876298825,1347903077,1819507329,2291111581,2762715833,3234320085,3705924337,4177462797,337322537,808926789,1280531041,1752135293,2223739545,2695343797,3166948049,3638552301,4110090761,269950501,741554753,1213159005,1684763257];function n(e){const t=[];for(let r=0,n=e.length;r<n;r+=2)t.push(parseInt(e.substr(r,2),16));return t}function a(e,t){const r=31&t;return e<<r|e>>>32-r}function s(e){return(255&t[e>>>24&255])<<24|(255&t[e>>>16&255])<<16|(255&t[e>>>8&255])<<8|255&t[255&e]}function o(e){return e^a(e,2)^a(e,10)^a(e,18)^a(e,24)}function i(e){return e^a(e,13)^a(e,23)}function l(e,t,r){const n=new Array(4),a=new Array(4);for(let s=0;s<4;s++)a[0]=255&e[4*s],a[1]=255&e[4*s+1],a[2]=255&e[4*s+2],a[3]=255&e[4*s+3],n[s]=a[0]<<24|a[1]<<16|a[2]<<8|a[3];for(let i,l=0;l<32;l+=4)i=n[1]^n[2]^n[3]^r[l+0],n[0]^=o(s(i)),i=n[2]^n[3]^n[0]^r[l+1],n[1]^=o(s(i)),i=n[3]^n[0]^n[1]^r[l+2],n[2]^=o(s(i)),i=n[0]^n[1]^n[2]^r[l+3],n[3]^=o(s(i));for(let s=0;s<16;s+=4)t[s]=n[3-s/4]>>>24&255,t[s+1]=n[3-s/4]>>>16&255,t[s+2]=n[3-s/4]>>>8&255,t[s+3]=255&n[3-s/4]}function c(t,a,o,{padding:c="pkcs#7",mode:h,iv:f=[],output:u="string"}={}){if("cbc"===h&&("string"==typeof f&&(f=n(f)),16!==f.length))throw new Error("iv is invalid");if("string"==typeof a&&(a=n(a)),16!==a.length)throw new Error("key is invalid");if(t="string"==typeof t?0!==o?function(e){const t=[];for(let r=0,n=e.length;r<n;r++){const n=e.codePointAt(r);if(n<=127)t.push(n);else if(n<=2047)t.push(192|n>>>6),t.push(128|63&n);else if(n<=55295||n>=57344&&n<=65535)t.push(224|n>>>12),t.push(128|n>>>6&63),t.push(128|63&n);else{if(!(n>=65536&&n<=1114111))throw t.push(n),new Error("input is not supported");r++,t.push(240|n>>>18&28),t.push(128|n>>>12&63),t.push(128|n>>>6&63),t.push(128|63&n)}}return t}(t):n(t):[...t],("pkcs#5"===c||"pkcs#7"===c)&&0!==o){const r=e-t.length%e;for(let e=0;e<r;e++)t.push(r)}const d=new Array(32);!function(e,t,n){const a=new Array(4),o=new Array(4);for(let r=0;r<4;r++)o[0]=255&e[0+4*r],o[1]=255&e[1+4*r],o[2]=255&e[2+4*r],o[3]=255&e[3+4*r],a[r]=o[0]<<24|o[1]<<16|o[2]<<8|o[3];a[0]^=2746333894,a[1]^=1453994832,a[2]^=1736282519,a[3]^=2993693404;for(let l,c=0;c<32;c+=4)l=a[1]^a[2]^a[3]^r[c+0],t[c+0]=a[0]^=i(s(l)),l=a[2]^a[3]^a[0]^r[c+1],t[c+1]=a[1]^=i(s(l)),l=a[3]^a[0]^a[1]^r[c+2],t[c+2]=a[2]^=i(s(l)),l=a[0]^a[1]^a[2]^r[c+3],t[c+3]=a[3]^=i(s(l));if(0===n)for(let r,s=0;s<16;s++)r=t[s],t[s]=t[31-s],t[31-s]=r}(a,d,o);const p=[];let m=f,g=t.length,v=0;for(;g>=e;){const r=t.slice(v,v+16),n=new Array(16);if("cbc"===h)for(let t=0;t<e;t++)0!==o&&(r[t]^=m[t]);l(r,n,d);for(let t=0;t<e;t++)"cbc"===h&&0===o&&(n[t]^=m[t]),p[v+t]=n[t];"cbc"===h&&(m=0!==o?n:r),g-=e,v+=e}if(("pkcs#5"===c||"pkcs#7"===c)&&0===o){const e=p.length,t=p[e-1];for(let r=1;r<=t;r++)if(p[e-r]!==t)throw new Error("padding is invalid");p.splice(e-t,t)}return"array"!==u?0!==o?p.map((e=>1===(e=e.toString(16)).length?"0"+e:e)).join(""):function(e){const t=[];for(let r=0,n=e.length;r<n;r++)e[r]>=240&&e[r]<=247?(t.push(String.fromCodePoint(((7&e[r])<<18)+((63&e[r+1])<<12)+((63&e[r+2])<<6)+(63&e[r+3]))),r+=3):e[r]>=224&&e[r]<=239?(t.push(String.fromCodePoint(((15&e[r])<<12)+((63&e[r+1])<<6)+(63&e[r+2]))),r+=2):e[r]>=192&&e[r]<=223?(t.push(String.fromCodePoint(((31&e[r])<<6)+(63&e[r+1]))),r++):t.push(String.fromCodePoint(e[r]));return t.join("")}(p):p}return aM={encrypt:(e,t,r)=>c(e,t,1,r),decrypt:(e,t,r)=>c(e,t,0,r)}}var vM=iM?oM:(iM=1,oM={sm2:pM(),sm3:mM(),sm4:gM()});const wM={NsVideo:Vl,NsExcel:jC,NsPdf:XC,NsWord:sA,NsOffice:lA},bM=(e,t=null)=>{try{WB(e)}catch(r){}for(const[n,a]of Object.entries(ll))e.component(n,a);try{zl(e)}catch(r){}Object.keys(wM).forEach((t=>{e.component(t,wM[t])}));try{!function(e){UC=e}(e)}catch(r){}try{window.NsDialog=WC}catch(r){}(()=>{if(Object.keys(DC.VARS).length>0)return DC.VARS;const e=document.styleSheets,t={};Array.from(e).forEach((e=>{Array.from(e.cssRules).forEach((e=>{if(":root"===e.selectorText){const r=e.style;Array.from(r).filter((e=>e.startsWith("--matrix-"))).forEach((e=>{t[e]=r.getPropertyValue(e).trim()}))}}))})),DC.VARS=t})()},yM={install:bM,...wM};e.NsDialog=WC,e.NsExcel=jC,e.NsOffice=lA,e.NsPdf=XC,e.NsVideo=Vl,e.NsWord=sA,e.autoScaleInit=function(t,{designWidth:r,designHeight:n,mode:a,debounceDelay:s=100}){Object.assign(t.style,{position:"fixed",left:"50%",top:"50%",transformOrigin:"0 0",width:`${r}px`,height:`${n}px`});const o=()=>{const{x:s,y:o}=(()=>{const e=window.innerWidth,t=window.innerHeight;switch(a){case"horizontal":const s=e/r;return{x:s,y:s};case"vertical":const o=t/n;return{x:o,y:o};case"stretch":return{x:e/r,y:t/n};default:throw new Error(`Invalid mode: ${a}`)}})();t.style.transform=`scale(${s}, ${o}) translate(-50%, -50%)`,e.sacle_x=s,e.sacle_y=o,setTimeout((()=>{document.querySelectorAll('.el-popper[class*="__dropdown"], .el-popper[class*="__popper"]').forEach((t=>{var r;null==(r=null==t?void 0:t.style)||r.setProperty("transform",`scale(${e.sacle_x}, ${e.sacle_y})`,"important")}))}),0),e.sacle_x,e.sacle_y},i=function(e,t){if(0===t)return e;{let r;return(...n)=>{clearTimeout(r),r=setTimeout((()=>e.apply(this,n)),t)}}}(o,s);return window.addEventListener("resize",i),o(),{destroy:()=>window.removeEventListener("resize",i)}},e.components=wM,e.default=yM,e.get=async(e,t,r="")=>{const n=r||UB.config.globalProperties.$BaseUrl||"";return e=n.endsWith("/")||e.startsWith("/")?n.endsWith("/")&&e.startsWith("/")?n+e.slice(1):n+e:n+"/"+e,gA()({url:e,method:hA,params:t})},e.getEncryptSm2=async function(e,t=[],r=!1,n=1){let a=e;const s=[];return!!a&&(a=function(e){return(e+"").startsWith("04")?e:"04后端返回的公钥字符串"}(a),t.forEach((e=>{let t=vM.sm2.doEncrypt(e,a,n);r&&(t+="04"),s.push(t)})),s)},e.handleHeaderCellClass=({column:e},t)=>{setTimeout((()=>{if(t.orderByStr)for(const r in t.orderByStr)if(r===e.property){let n=t.orderByStr[r];"asc"===n?n="ascending":"desc"===n&&(n="descending"),e.order=n}}),0)},e.handleSortChange=({prop:e,order:t},r,n)=>{t?(r.orderByStr||(r.orderByStr={}),"ascending"===t?t="asc":"descending"===t&&(t="desc"),r.orderByStr[e]=t,n()):setTimeout((()=>{r.orderByStr&&delete r.orderByStr[jB],n()}),0)},e.headerClick=e=>{jB=e.property},e.install=bM,e.loadAccess=async function(e,t=null,r=!1){const n=e.endsWith(".js")?"js":"css";return new Promise((a=>{const s=document.createElement("js"==n?"script":"link");s.setAttribute("data-dynamic","true"),t&&s.setAttribute("data-tag",t),"js"==n?(s.src=e,s.async=!0,s.type=r?"module":"text/javascript"):(s.href=e,s.rel="stylesheet"),s.onload=()=>{a(!0)},s.onerror=()=>{a(!1)},document.head.appendChild(s)}))},e.post=(e,t={},r,n="")=>function(e,t,r={},n,a){const s=a||UB.config.globalProperties.$BaseUrl||"";t=s.endsWith("/")||t.startsWith("/")?s.endsWith("/")&&t.startsWith("/")?s+t.slice(1):s+t:s+"/"+t;return gA()({url:t,method:e,data:n==dA?HB.stringify(r):r,headers:{"Content-Type":n||uA}})}(fA,e,t,r,n),e.removeDynamicAccess=function(e=null){const t=e?`[data-dynamic="true"][data-tag="${e}"]`:'[data-dynamic="true"]',r=document.querySelectorAll(t);return r.forEach((e=>{e.parentNode&&e.parentNode.removeChild(e)})),Array.from(r)},Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|