ljs-tools 0.3.5 → 0.3.7

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/index.umd.cjs CHANGED
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).index=t(e.Vue)}(this,(function(e){"use strict";var t=Object.defineProperty,r=(e,r,i)=>(((e,r,i)=>{r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[r]=i})(e,"symbol"!=typeof r?r+"":r,i),i),i=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},n=(e,t,r)=>(i(e,t,"read from private field"),r?r.call(e):t.get(e)),a=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},o=(e,t,r,n)=>(i(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),s=(e,t,r,i)=>({set _(i){o(e,t,i,r)},get _(){return n(e,t,i)}}),l=(e,t,r)=>(i(e,t,"access private method"),r),c=document.createElement("style");function h(e=["暂无内容"],t="info",r=["background: #666666; color: #fff; border-radius: 4px 0 0 4px; padding: 3px 6px;","background: #1475B2; color: #fff; border-radius: 0 4px 4px 0; padding: 3px 6px;"]){let i="";e.forEach((e=>{i+=`%c${e}`}))}c.textContent='@charset "UTF-8";.ljs-loading[data-v-474ec553]{--speed: 3;--gaussian: 10;--bgopacity: .9;--textcolor: "#FFF";width:100%;height:100%;position:fixed;top:0;left:0;z-index:10001;background-color:rgba(0,0,0,var(--bgopacity));display:grid;place-content:center;overflow:hidden}.ljs-loading .text[data-v-474ec553]{text-align:center;padding:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px;color:var(--textcolor)}.ljs-loading .g-container[data-v-474ec553]{position:relative;width:100%;height:100%;filter:blur(calc(var(--gaussian) * 1px)) contrast(3);animation:hueRotate-474ec553 8s infinite linear}.ljs-loading .g-container .g-circle[data-v-474ec553]{position:relative;width:300px;height:300px;border-radius:50%;background:conic-gradient(#8fef9f 0,#8fef9f 2%,#79ec79,#79e963,#80e64d,#8ce236,#9fdf20,#acc91d,#b3b31a 16%,#b3b31a 18%,transparent 18%);-webkit-mask:radial-gradient(transparent,transparent 119px,#000 120px,#000);mask:radial-gradient(transparent,transparent 119px,#000 120px,#000);animation:rotate-474ec553 calc(var(--speed)*1s) infinite calc(700 / 4 * var(--speed) * -1ms) linear}.ljs-loading .g-container .g-circle[data-v-474ec553]:before,.ljs-loading .g-container .g-circle[data-v-474ec553]:after{content:"";position:absolute;right:0;bottom:0;width:32px;height:32px;background:#8fef9f;top:0;left:135px;border-radius:50%}.ljs-loading .g-container .g-circle[data-v-474ec553]:after{background:#b3b31a;left:unset;top:80px;right:10px}.ljs-loading .g-container .g-bubbles[data-v-474ec553]{position:absolute;width:30px;height:30px;transform:translate(-50%,-50%);left:50%;top:50%;border-radius:50px}.ljs-loading .g-container .g-bubble[data-v-474ec553]{position:absolute;border-radius:50%;background:#b3b31a}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(1){--rotate:1.8deg;--delayTime: calc(var(--speed) * 1000 * .005 * -1ms);--width: 30px;--scale: 1.2;--x: 38px;--y: 30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(2){--rotate:3.6deg;--delayTime: calc(var(--speed) * 1000 * .01 * -1ms);--width: 30px;--scale: .8;--x: -31px;--y: 19px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(3){--rotate:5.4deg;--delayTime: calc(var(--speed) * 1000 * .015 * -1ms);--width: 30px;--scale: .6;--x: -63px;--y: 95px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(4){--rotate:7.2deg;--delayTime: calc(var(--speed) * 1000 * .02 * -1ms);--width: 30px;--scale: 1;--x: -96px;--y: -33px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(5){--rotate:9deg;--delayTime: calc(var(--speed) * 1000 * .025 * -1ms);--width: 30px;--scale: .6;--x: -42px;--y: 16px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(6){--rotate:10.8deg;--delayTime: calc(var(--speed) * 1000 * .03 * -1ms);--width: 30px;--scale: .9;--x: -37px;--y: -37px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(7){--rotate:12.6deg;--delayTime: calc(var(--speed) * 1000 * .035 * -1ms);--width: 30px;--scale: .5;--x: 84px;--y: 24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(8){--rotate:14.4deg;--delayTime: calc(var(--speed) * 1000 * .04 * -1ms);--width: 30px;--scale: .6;--x: 87px;--y: -90px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(9){--rotate:16.2deg;--delayTime: calc(var(--speed) * 1000 * .045 * -1ms);--width: 30px;--scale: 1;--x: 95px;--y: 75px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(10){--rotate:18deg;--delayTime: calc(var(--speed) * 1000 * .05 * -1ms);--width: 30px;--scale: .5;--x: -85px;--y: -82px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(11){--rotate:19.8deg;--delayTime: calc(var(--speed) * 1000 * .055 * -1ms);--width: 30px;--scale: 1.1;--x: 41px;--y: -56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(12){--rotate:21.6deg;--delayTime: calc(var(--speed) * 1000 * .06 * -1ms);--width: 30px;--scale: 1.2;--x: 36px;--y: -4px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(13){--rotate: calc(1.8 * 13 * 1deg);--delayTime: calc(var(--speed) * 1000 * .065 * -1ms);--width: 30px;--scale: 1.3;--x: 44px;--y: -77px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(14){--rotate:25.2deg;--delayTime: calc(var(--speed) * 1000 * .07 * -1ms);--width: 30px;--scale: .7;--x: -64px;--y: -51px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(15){--rotate:27deg;--delayTime: calc(var(--speed) * 1000 * .075 * -1ms);--width: 30px;--scale: .8;--x: 39px;--y: 25px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(16){--rotate:28.8deg;--delayTime: calc(var(--speed) * 1000 * .08 * -1ms);--width: 30px;--scale: 1.4;--x: -3px;--y: 80px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(17){--rotate:30.6deg;--delayTime: calc(var(--speed) * 1000 * .085 * -1ms);--width: 30px;--scale: .6;--x: -91px;--y: -21px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(18){--rotate:32.4deg;--delayTime: calc(var(--speed) * 1000 * .09 * -1ms);--width: 30px;--scale: .7;--x: 64px;--y: 90px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(19){--rotate:34.2deg;--delayTime: calc(var(--speed) * 1000 * .095 * -1ms);--width: 30px;--scale: .5;--x: -50px;--y: 52px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(20){--rotate:36deg;--delayTime: calc(var(--speed) * 1000 * .1 * -1ms);--width: 30px;--scale: 1.4;--x: 69px;--y: 31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(21){--rotate: calc(1.8 * 21 * 1deg);--delayTime: calc(var(--speed) * 1000 * .105 * -1ms);--width: 30px;--scale: .5;--x: 8px;--y: -75px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(22){--rotate:39.6deg;--delayTime: calc(var(--speed) * 1000 * .11 * -1ms);--width: 30px;--scale: 1.1;--x: -85px;--y: -53px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(23){--rotate:41.4deg;--delayTime: calc(var(--speed) * 1000 * .115 * -1ms);--width: 30px;--scale: 1.1;--x: -56px;--y: -48px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(24){--rotate:43.2deg;--delayTime: calc(var(--speed) * 1000 * .12 * -1ms);--width: 30px;--scale: 1.1;--x: -49px;--y: 26px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(25){--rotate:45deg;--delayTime: calc(var(--speed) * 1000 * .125 * -1ms);--width: 30px;--scale: .5;--x: -38px;--y: -66px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(26){--rotate: calc(1.8 * 26 * 1deg);--delayTime: calc(var(--speed) * 1000 * .13 * -1ms);--width: 30px;--scale: 1.4;--x: -52px;--y: -7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(27){--rotate:48.6deg;--delayTime: calc(var(--speed) * 1000 * .135 * -1ms);--width: 30px;--scale: .6;--x: -75px;--y: 75px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(28){--rotate:50.4deg;--delayTime: calc(var(--speed) * 1000 * .14 * -1ms);--width: 30px;--scale: .9;--x: -72px;--y: 21px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(29){--rotate:52.2deg;--delayTime: calc(var(--speed) * 1000 * .145 * -1ms);--width: 30px;--scale: 1.1;--x: -55px;--y: -39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(30){--rotate:54deg;--delayTime: calc(var(--speed) * 1000 * .15 * -1ms);--width: 30px;--scale: .5;--x: 0px;--y: -94px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(31){--rotate: calc(1.8 * 31 * 1deg);--delayTime: calc(var(--speed) * 1000 * .155 * -1ms);--width: 30px;--scale: .5;--x: -45px;--y: 78px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(32){--rotate:57.6deg;--delayTime: calc(var(--speed) * 1000 * .16 * -1ms);--width: 30px;--scale: 1;--x: -10px;--y: -12px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(33){--rotate:59.4deg;--delayTime: calc(var(--speed) * 1000 * .165 * -1ms);--width: 30px;--scale: .9;--x: 15px;--y: -76px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(34){--rotate:61.2deg;--delayTime: calc(var(--speed) * 1000 * .17 * -1ms);--width: 30px;--scale: 1.1;--x: -60px;--y: 56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(35){--rotate:63deg;--delayTime: calc(var(--speed) * 1000 * .175 * -1ms);--width: 30px;--scale: 1.2;--x: -33px;--y: 77px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(36){--rotate:64.8deg;--delayTime: calc(var(--speed) * 1000 * .18 * -1ms);--width: 30px;--scale: .6;--x: 25px;--y: 76px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(37){--rotate: calc(1.8 * 37 * 1deg);--delayTime: calc(var(--speed) * 1000 * .185 * -1ms);--width: 30px;--scale: 1.4;--x: 24px;--y: 30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(38){--rotate:68.4deg;--delayTime: calc(var(--speed) * 1000 * .19 * -1ms);--width: 30px;--scale: .6;--x: 88px;--y: -19px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(39){--rotate:70.2deg;--delayTime: calc(var(--speed) * 1000 * .195 * -1ms);--width: 30px;--scale: .5;--x: -40px;--y: -48px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(40){--rotate:72deg;--delayTime: calc(var(--speed) * 1000 * .2 * -1ms);--width: 30px;--scale: .7;--x: 12px;--y: -39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(41){--rotate:73.8deg;--delayTime: calc(var(--speed) * 1000 * .205 * -1ms);--width: 30px;--scale: 1.3;--x: -86px;--y: 15px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(42){--rotate: calc(1.8 * 42 * 1deg);--delayTime: calc(var(--speed) * 1000 * .21 * -1ms);--width: 30px;--scale: .9;--x: -76px;--y: -72px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(43){--rotate:77.4deg;--delayTime: calc(var(--speed) * 1000 * .215 * -1ms);--width: 30px;--scale: 1;--x: 64px;--y: -87px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(44){--rotate:79.2deg;--delayTime: calc(var(--speed) * 1000 * .22 * -1ms);--width: 30px;--scale: 1.2;--x: 16px;--y: 59px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(45){--rotate:81deg;--delayTime: calc(var(--speed) * 1000 * .225 * -1ms);--width: 30px;--scale: .9;--x: -49px;--y: 42px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(46){--rotate:82.8deg;--delayTime: calc(var(--speed) * 1000 * .23 * -1ms);--width: 30px;--scale: .8;--x: 10px;--y: -95px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(47){--rotate: calc(1.8 * 47 * 1deg);--delayTime: calc(var(--speed) * 1000 * .235 * -1ms);--width: 30px;--scale: 1.4;--x: 17px;--y: 41px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(48){--rotate:86.4deg;--delayTime: calc(var(--speed) * 1000 * .24 * -1ms);--width: 30px;--scale: .5;--x: -26px;--y: -62px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(49){--rotate:88.2deg;--delayTime: calc(var(--speed) * 1000 * .245 * -1ms);--width: 30px;--scale: 1;--x: -32px;--y: -22px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(50){--rotate:90deg;--delayTime: calc(var(--speed) * 1000 * .25 * -1ms);--width: 30px;--scale: 1;--x: 47px;--y: 30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(51){--rotate:91.8deg;--delayTime: calc(var(--speed) * 1000 * .255 * -1ms);--width: 30px;--scale: .9;--x: 90px;--y: -53px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(52){--rotate: calc(1.8 * 52 * 1deg);--delayTime: calc(var(--speed) * 1000 * .26 * -1ms);--width: 30px;--scale: 1.4;--x: 21px;--y: -24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(53){--rotate:95.4deg;--delayTime: calc(var(--speed) * 1000 * .265 * -1ms);--width: 30px;--scale: 1.4;--x: 52px;--y: 79px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(54){--rotate:97.2deg;--delayTime: calc(var(--speed) * 1000 * .27 * -1ms);--width: 30px;--scale: .8;--x: 27px;--y: -6px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(55){--rotate:99deg;--delayTime: calc(var(--speed) * 1000 * .275 * -1ms);--width: 30px;--scale: .8;--x: 15px;--y: 57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(56){--rotate:100.8deg;--delayTime: calc(var(--speed) * 1000 * .28 * -1ms);--width: 30px;--scale: 1.4;--x: 17px;--y: -37px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(57){--rotate: calc(1.8 * 57 * 1deg);--delayTime: calc(var(--speed) * 1000 * .285 * -1ms);--width: 30px;--scale: .9;--x: 59px;--y: -51px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(58){--rotate:104.4deg;--delayTime: calc(var(--speed) * 1000 * .29 * -1ms);--width: 30px;--scale: 1;--x: -82px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(59){--rotate:106.2deg;--delayTime: calc(var(--speed) * 1000 * .295 * -1ms);--width: 30px;--scale: .5;--x: -30px;--y: 81px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(60){--rotate:108deg;--delayTime: calc(var(--speed) * 1000 * .3 * -1ms);--width: 30px;--scale: .7;--x: -49px;--y: 47px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(61){--rotate:109.8deg;--delayTime: calc(var(--speed) * 1000 * .305 * -1ms);--width: 30px;--scale: 1;--x: 77px;--y: -24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(62){--rotate: calc(1.8 * 62 * 1deg);--delayTime: calc(var(--speed) * 1000 * .31 * -1ms);--width: 30px;--scale: 1;--x: 32px;--y: -59px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(63){--rotate:113.4deg;--delayTime: calc(var(--speed) * 1000 * .315 * -1ms);--width: 30px;--scale: .9;--x: 61px;--y: 40px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(64){--rotate:115.2deg;--delayTime: calc(var(--speed) * 1000 * .32 * -1ms);--width: 30px;--scale: .8;--x: 49px;--y: -46px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(65){--rotate:117deg;--delayTime: calc(var(--speed) * 1000 * .325 * -1ms);--width: 30px;--scale: .6;--x: 25px;--y: -64px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(66){--rotate:118.8deg;--delayTime: calc(var(--speed) * 1000 * .33 * -1ms);--width: 30px;--scale: .6;--x: -32px;--y: 50px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(67){--rotate: calc(1.8 * 67 * 1deg);--delayTime: calc(var(--speed) * 1000 * .335 * -1ms);--width: 30px;--scale: 1.3;--x: 13px;--y: -92px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(68){--rotate:122.4deg;--delayTime: calc(var(--speed) * 1000 * .34 * -1ms);--width: 30px;--scale: .6;--x: 95px;--y: -53px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(69){--rotate:124.2deg;--delayTime: calc(var(--speed) * 1000 * .345 * -1ms);--width: 30px;--scale: .8;--x: -6px;--y: 83px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(70){--rotate:126deg;--delayTime: calc(var(--speed) * 1000 * .35 * -1ms);--width: 30px;--scale: .6;--x: 80px;--y: -82px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(71){--rotate:127.8deg;--delayTime: calc(var(--speed) * 1000 * .355 * -1ms);--width: 30px;--scale: .9;--x: 18px;--y: -18px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(72){--rotate:129.6deg;--delayTime: calc(var(--speed) * 1000 * .36 * -1ms);--width: 30px;--scale: .9;--x: -6px;--y: -38px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(73){--rotate:131.4deg;--delayTime: calc(var(--speed) * 1000 * .365 * -1ms);--width: 30px;--scale: 1;--x: -86px;--y: -43px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(74){--rotate: calc(1.8 * 74 * 1deg);--delayTime: calc(var(--speed) * 1000 * .37 * -1ms);--width: 30px;--scale: .6;--x: 85px;--y: 78px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(75){--rotate:135deg;--delayTime: calc(var(--speed) * 1000 * .375 * -1ms);--width: 30px;--scale: .6;--x: 81px;--y: -19px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(76){--rotate:136.8deg;--delayTime: calc(var(--speed) * 1000 * .38 * -1ms);--width: 30px;--scale: .7;--x: 45px;--y: -88px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(77){--rotate:138.6deg;--delayTime: calc(var(--speed) * 1000 * .385 * -1ms);--width: 30px;--scale: 1.4;--x: -2px;--y: -36px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(78){--rotate:140.4deg;--delayTime: calc(var(--speed) * 1000 * .39 * -1ms);--width: 30px;--scale: 1.1;--x: 11px;--y: -53px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(79){--rotate: calc(1.8 * 79 * 1deg);--delayTime: calc(var(--speed) * 1000 * .395 * -1ms);--width: 30px;--scale: 1.2;--x: 58px;--y: 69px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(80){--rotate:144deg;--delayTime: calc(var(--speed) * 1000 * .4 * -1ms);--width: 30px;--scale: 1.2;--x: -51px;--y: -10px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(81){--rotate:145.8deg;--delayTime: calc(var(--speed) * 1000 * .405 * -1ms);--width: 30px;--scale: 1.1;--x: 35px;--y: 5px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(82){--rotate:147.6deg;--delayTime: calc(var(--speed) * 1000 * .41 * -1ms);--width: 30px;--scale: .5;--x: 12px;--y: -83px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(83){--rotate:149.4deg;--delayTime: calc(var(--speed) * 1000 * .415 * -1ms);--width: 30px;--scale: 1.4;--x: -83px;--y: -57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(84){--rotate: calc(1.8 * 84 * 1deg);--delayTime: calc(var(--speed) * 1000 * .42 * -1ms);--width: 30px;--scale: .8;--x: -3px;--y: 56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(85){--rotate:153deg;--delayTime: calc(var(--speed) * 1000 * .425 * -1ms);--width: 30px;--scale: 1;--x: -42px;--y: -92px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(86){--rotate:154.8deg;--delayTime: calc(var(--speed) * 1000 * .43 * -1ms);--width: 30px;--scale: 1.3;--x: 12px;--y: 83px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(87){--rotate:156.6deg;--delayTime: calc(var(--speed) * 1000 * .435 * -1ms);--width: 30px;--scale: 1.1;--x: 26px;--y: -96px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(88){--rotate:158.4deg;--delayTime: calc(var(--speed) * 1000 * .44 * -1ms);--width: 30px;--scale: 1.2;--x: 97px;--y: -84px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(89){--rotate: calc(1.8 * 89 * 1deg);--delayTime: calc(var(--speed) * 1000 * .445 * -1ms);--width: 30px;--scale: 1;--x: 53px;--y: 87px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(90){--rotate:162deg;--delayTime: calc(var(--speed) * 1000 * .45 * -1ms);--width: 30px;--scale: .5;--x: 5px;--y: -25px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(91){--rotate:163.8deg;--delayTime: calc(var(--speed) * 1000 * .455 * -1ms);--width: 30px;--scale: 1.3;--x: 80px;--y: 12px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(92){--rotate:165.6deg;--delayTime: calc(var(--speed) * 1000 * .46 * -1ms);--width: 30px;--scale: .7;--x: -99px;--y: 14px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(93){--rotate:167.4deg;--delayTime: calc(var(--speed) * 1000 * .465 * -1ms);--width: 30px;--scale: 1;--x: -89px;--y: 73px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(94){--rotate: calc(1.8 * 94 * 1deg);--delayTime: calc(var(--speed) * 1000 * .47 * -1ms);--width: 30px;--scale: 1.1;--x: -13px;--y: -77px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(95){--rotate:171deg;--delayTime: calc(var(--speed) * 1000 * .475 * -1ms);--width: 30px;--scale: .6;--x: 18px;--y: -72px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(96){--rotate:172.8deg;--delayTime: calc(var(--speed) * 1000 * .48 * -1ms);--width: 30px;--scale: .8;--x: -97px;--y: -15px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(97){--rotate:174.6deg;--delayTime: calc(var(--speed) * 1000 * .485 * -1ms);--width: 30px;--scale: 1.3;--x: 93px;--y: -9px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(98){--rotate:176.4deg;--delayTime: calc(var(--speed) * 1000 * .49 * -1ms);--width: 30px;--scale: .9;--x: 76px;--y: -61px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(99){--rotate: calc(1.8 * 99 * 1deg);--delayTime: calc(var(--speed) * 1000 * .495 * -1ms);--width: 30px;--scale: 1.2;--x: -71px;--y: 92px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(100){--rotate:180deg;--delayTime: calc(var(--speed) * 1000 * .5 * -1ms);--width: 30px;--scale: .9;--x: 75px;--y: -81px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(101){--rotate:181.8deg;--delayTime: calc(var(--speed) * 1000 * .505 * -1ms);--width: 30px;--scale: .6;--x: 4px;--y: 31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(102){--rotate:183.6deg;--delayTime: calc(var(--speed) * 1000 * .51 * -1ms);--width: 30px;--scale: .9;--x: 43px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(103){--rotate:185.4deg;--delayTime: calc(var(--speed) * 1000 * .515 * -1ms);--width: 30px;--scale: .7;--x: 76px;--y: 24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(104){--rotate: calc(1.8 * 104 * 1deg);--delayTime: calc(var(--speed) * 1000 * .52 * -1ms);--width: 30px;--scale: .7;--x: -73px;--y: -90px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(105){--rotate:189deg;--delayTime: calc(var(--speed) * 1000 * .525 * -1ms);--width: 30px;--scale: 1.4;--x: -45px;--y: 53px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(106){--rotate:190.8deg;--delayTime: calc(var(--speed) * 1000 * .53 * -1ms);--width: 30px;--scale: 1.3;--x: 84px;--y: 48px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(107){--rotate:192.6deg;--delayTime: calc(var(--speed) * 1000 * .535 * -1ms);--width: 30px;--scale: 1.4;--x: 51px;--y: 56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(108){--rotate:194.4deg;--delayTime: calc(var(--speed) * 1000 * .54 * -1ms);--width: 30px;--scale: .9;--x: 58px;--y: 31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(109){--rotate: calc(1.8 * 109 * 1deg);--delayTime: calc(var(--speed) * 1000 * .545 * -1ms);--width: 30px;--scale: .6;--x: -1px;--y: -21px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(110){--rotate:198deg;--delayTime: calc(var(--speed) * 1000 * .55 * -1ms);--width: 30px;--scale: .8;--x: -61px;--y: -32px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(111){--rotate:199.8deg;--delayTime: calc(var(--speed) * 1000 * .555 * -1ms);--width: 30px;--scale: 1;--x: -67px;--y: 29px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(112){--rotate:201.6deg;--delayTime: calc(var(--speed) * 1000 * .56 * -1ms);--width: 30px;--scale: .7;--x: -30px;--y: -35px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(113){--rotate:203.4deg;--delayTime: calc(var(--speed) * 1000 * .565 * -1ms);--width: 30px;--scale: .5;--x: 95px;--y: 91px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(114){--rotate: calc(1.8 * 114 * 1deg);--delayTime: calc(var(--speed) * 1000 * .57 * -1ms);--width: 30px;--scale: .5;--x: 68px;--y: -60px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(115){--rotate:207deg;--delayTime: calc(var(--speed) * 1000 * .575 * -1ms);--width: 30px;--scale: .5;--x: 71px;--y: 34px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(116){--rotate:208.8deg;--delayTime: calc(var(--speed) * 1000 * .58 * -1ms);--width: 30px;--scale: 1.2;--x: 3px;--y: -4px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(117){--rotate:210.6deg;--delayTime: calc(var(--speed) * 1000 * .585 * -1ms);--width: 30px;--scale: .9;--x: 13px;--y: -39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(118){--rotate:212.4deg;--delayTime: calc(var(--speed) * 1000 * .59 * -1ms);--width: 30px;--scale: .6;--x: -97px;--y: 20px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(119){--rotate: calc(1.8 * 119 * 1deg);--delayTime: calc(var(--speed) * 1000 * .595 * -1ms);--width: 30px;--scale: .7;--x: 55px;--y: 71px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(120){--rotate:216deg;--delayTime: calc(var(--speed) * 1000 * .6 * -1ms);--width: 30px;--scale: 1.3;--x: 21px;--y: 40px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(121){--rotate:217.8deg;--delayTime: calc(var(--speed) * 1000 * .605 * -1ms);--width: 30px;--scale: .8;--x: -86px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(122){--rotate:219.6deg;--delayTime: calc(var(--speed) * 1000 * .61 * -1ms);--width: 30px;--scale: 1.2;--x: -49px;--y: 56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(123){--rotate:221.4deg;--delayTime: calc(var(--speed) * 1000 * .615 * -1ms);--width: 30px;--scale: 1.4;--x: -33px;--y: 83px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(124){--rotate: calc(1.8 * 124 * 1deg);--delayTime: calc(var(--speed) * 1000 * .62 * -1ms);--width: 30px;--scale: 1;--x: 3px;--y: -75px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(125){--rotate:225deg;--delayTime: calc(var(--speed) * 1000 * .625 * -1ms);--width: 30px;--scale: 1.3;--x: -15px;--y: 67px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(126){--rotate:226.8deg;--delayTime: calc(var(--speed) * 1000 * .63 * -1ms);--width: 30px;--scale: .7;--x: -47px;--y: 1px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(127){--rotate:228.6deg;--delayTime: calc(var(--speed) * 1000 * .635 * -1ms);--width: 30px;--scale: .6;--x: -72px;--y: 49px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(128){--rotate:230.4deg;--delayTime: calc(var(--speed) * 1000 * .64 * -1ms);--width: 30px;--scale: .5;--x: 2px;--y: -35px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(129){--rotate: calc(1.8 * 129 * 1deg);--delayTime: calc(var(--speed) * 1000 * .645 * -1ms);--width: 30px;--scale: 1.1;--x: 67px;--y: 38px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(130){--rotate:234deg;--delayTime: calc(var(--speed) * 1000 * .65 * -1ms);--width: 30px;--scale: .7;--x: 29px;--y: 13px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(131){--rotate:235.8deg;--delayTime: calc(var(--speed) * 1000 * .655 * -1ms);--width: 30px;--scale: .7;--x: -46px;--y: -76px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(132){--rotate:237.6deg;--delayTime: calc(var(--speed) * 1000 * .66 * -1ms);--width: 30px;--scale: 1.4;--x: 78px;--y: -42px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(133){--rotate:239.4deg;--delayTime: calc(var(--speed) * 1000 * .665 * -1ms);--width: 30px;--scale: 1.3;--x: -63px;--y: 9px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(134){--rotate: calc(1.8 * 134 * 1deg);--delayTime: calc(var(--speed) * 1000 * .67 * -1ms);--width: 30px;--scale: 1.4;--x: 70px;--y: -94px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(135){--rotate:243deg;--delayTime: calc(var(--speed) * 1000 * .675 * -1ms);--width: 30px;--scale: 1.1;--x: -67px;--y: -39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(136){--rotate:244.8deg;--delayTime: calc(var(--speed) * 1000 * .68 * -1ms);--width: 30px;--scale: .9;--x: -54px;--y: 53px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(137){--rotate:246.6deg;--delayTime: calc(var(--speed) * 1000 * .685 * -1ms);--width: 30px;--scale: 1;--x: 50px;--y: 84px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(138){--rotate:248.4deg;--delayTime: calc(var(--speed) * 1000 * .69 * -1ms);--width: 30px;--scale: 1.2;--x: -14px;--y: -65px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(139){--rotate: calc(1.8 * 139 * 1deg);--delayTime: calc(var(--speed) * 1000 * .695 * -1ms);--width: 30px;--scale: 1.3;--x: -51px;--y: -2px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(140){--rotate:252deg;--delayTime: calc(var(--speed) * 1000 * .7 * -1ms);--width: 30px;--scale: 1;--x: 32px;--y: 3px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(141){--rotate:253.8deg;--delayTime: calc(var(--speed) * 1000 * .705 * -1ms);--width: 30px;--scale: .6;--x: 75px;--y: 65px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(142){--rotate:255.6deg;--delayTime: calc(var(--speed) * 1000 * .71 * -1ms);--width: 30px;--scale: 1.1;--x: -17px;--y: -19px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(143){--rotate: calc(1.8 * 143 * 1deg);--delayTime: calc(var(--speed) * 1000 * .715 * -1ms);--width: 30px;--scale: 1.2;--x: 92px;--y: 0px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(144){--rotate:259.2deg;--delayTime: calc(var(--speed) * 1000 * .72 * -1ms);--width: 30px;--scale: 1.4;--x: 1px;--y: -51px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(145){--rotate:261deg;--delayTime: calc(var(--speed) * 1000 * .725 * -1ms);--width: 30px;--scale: .5;--x: -61px;--y: 8px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(146){--rotate:262.8deg;--delayTime: calc(var(--speed) * 1000 * .73 * -1ms);--width: 30px;--scale: 1.4;--x: 61px;--y: 62px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(147){--rotate:264.6deg;--delayTime: calc(var(--speed) * 1000 * .735 * -1ms);--width: 30px;--scale: .5;--x: 46px;--y: 0px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(148){--rotate: calc(1.8 * 148 * 1deg);--delayTime: calc(var(--speed) * 1000 * .74 * -1ms);--width: 30px;--scale: .5;--x: 46px;--y: 52px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(149){--rotate:268.2deg;--delayTime: calc(var(--speed) * 1000 * .745 * -1ms);--width: 30px;--scale: 1.4;--x: 76px;--y: -23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(150){--rotate:270deg;--delayTime: calc(var(--speed) * 1000 * .75 * -1ms);--width: 30px;--scale: 1;--x: -95px;--y: -79px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(151){--rotate:271.8deg;--delayTime: calc(var(--speed) * 1000 * .755 * -1ms);--width: 30px;--scale: 1.3;--x: -80px;--y: 31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(152){--rotate:273.6deg;--delayTime: calc(var(--speed) * 1000 * .76 * -1ms);--width: 30px;--scale: 1.1;--x: -92px;--y: -14px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(153){--rotate: calc(1.8 * 153 * 1deg);--delayTime: calc(var(--speed) * 1000 * .765 * -1ms);--width: 30px;--scale: 1.4;--x: -54px;--y: -69px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(154){--rotate:277.2deg;--delayTime: calc(var(--speed) * 1000 * .77 * -1ms);--width: 30px;--scale: .5;--x: -48px;--y: -39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(155){--rotate:279deg;--delayTime: calc(var(--speed) * 1000 * .775 * -1ms);--width: 30px;--scale: 1.3;--x: -18px;--y: -59px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(156){--rotate:280.8deg;--delayTime: calc(var(--speed) * 1000 * .78 * -1ms);--width: 30px;--scale: .6;--x: 90px;--y: -22px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(157){--rotate:282.6deg;--delayTime: calc(var(--speed) * 1000 * .785 * -1ms);--width: 30px;--scale: .8;--x: -6px;--y: -28px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(158){--rotate: calc(1.8 * 158 * 1deg);--delayTime: calc(var(--speed) * 1000 * .79 * -1ms);--width: 30px;--scale: .8;--x: -60px;--y: -6px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(159){--rotate:286.2deg;--delayTime: calc(var(--speed) * 1000 * .795 * -1ms);--width: 30px;--scale: 1;--x: 74px;--y: 18px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(160){--rotate:288deg;--delayTime: calc(var(--speed) * 1000 * .8 * -1ms);--width: 30px;--scale: 1;--x: -89px;--y: 65px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(161){--rotate:289.8deg;--delayTime: calc(var(--speed) * 1000 * .805 * -1ms);--width: 30px;--scale: .8;--x: -12px;--y: -15px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(162){--rotate:291.6deg;--delayTime: calc(var(--speed) * 1000 * .81 * -1ms);--width: 30px;--scale: 1.2;--x: 35px;--y: -19px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(163){--rotate: calc(1.8 * 163 * 1deg);--delayTime: calc(var(--speed) * 1000 * .815 * -1ms);--width: 30px;--scale: 1.3;--x: 82px;--y: 29px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(164){--rotate:295.2deg;--delayTime: calc(var(--speed) * 1000 * .82 * -1ms);--width: 30px;--scale: 1.1;--x: -70px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(165){--rotate:297deg;--delayTime: calc(var(--speed) * 1000 * .825 * -1ms);--width: 30px;--scale: 1.1;--x: -22px;--y: -14px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(166){--rotate:298.8deg;--delayTime: calc(var(--speed) * 1000 * .83 * -1ms);--width: 30px;--scale: 1.2;--x: 4px;--y: -49px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(167){--rotate:300.6deg;--delayTime: calc(var(--speed) * 1000 * .835 * -1ms);--width: 30px;--scale: .8;--x: -21px;--y: 64px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(168){--rotate: calc(1.8 * 168 * 1deg);--delayTime: calc(var(--speed) * 1000 * .84 * -1ms);--width: 30px;--scale: .9;--x: -76px;--y: 11px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(169){--rotate:304.2deg;--delayTime: calc(var(--speed) * 1000 * .845 * -1ms);--width: 30px;--scale: .7;--x: -96px;--y: 81px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(170){--rotate:306deg;--delayTime: calc(var(--speed) * 1000 * .85 * -1ms);--width: 30px;--scale: .9;--x: 17px;--y: 52px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(171){--rotate:307.8deg;--delayTime: calc(var(--speed) * 1000 * .855 * -1ms);--width: 30px;--scale: 1.4;--x: 33px;--y: 34px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(172){--rotate:309.6deg;--delayTime: calc(var(--speed) * 1000 * .86 * -1ms);--width: 30px;--scale: 1.2;--x: 38px;--y: -95px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(173){--rotate: calc(1.8 * 173 * 1deg);--delayTime: calc(var(--speed) * 1000 * .865 * -1ms);--width: 30px;--scale: .5;--x: 29px;--y: 3px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(174){--rotate:313.2deg;--delayTime: calc(var(--speed) * 1000 * .87 * -1ms);--width: 30px;--scale: 1.3;--x: 19px;--y: -30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(175){--rotate:315deg;--delayTime: calc(var(--speed) * 1000 * .875 * -1ms);--width: 30px;--scale: 1.2;--x: -48px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(176){--rotate:316.8deg;--delayTime: calc(var(--speed) * 1000 * .88 * -1ms);--width: 30px;--scale: .7;--x: -5px;--y: 50px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(177){--rotate:318.6deg;--delayTime: calc(var(--speed) * 1000 * .885 * -1ms);--width: 30px;--scale: 1;--x: 86px;--y: 7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(178){--rotate: calc(1.8 * 178 * 1deg);--delayTime: calc(var(--speed) * 1000 * .89 * -1ms);--width: 30px;--scale: .8;--x: 45px;--y: 93px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(179){--rotate:322.2deg;--delayTime: calc(var(--speed) * 1000 * .895 * -1ms);--width: 30px;--scale: 1;--x: -69px;--y: 23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(180){--rotate:324deg;--delayTime: calc(var(--speed) * 1000 * .9 * -1ms);--width: 30px;--scale: .6;--x: 77px;--y: 96px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(181){--rotate:325.8deg;--delayTime: calc(var(--speed) * 1000 * .905 * -1ms);--width: 30px;--scale: 1.1;--x: -28px;--y: 23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(182){--rotate:327.6deg;--delayTime: calc(var(--speed) * 1000 * .91 * -1ms);--width: 30px;--scale: .9;--x: 20px;--y: -46px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(183){--rotate: calc(1.8 * 183 * 1deg);--delayTime: calc(var(--speed) * 1000 * .915 * -1ms);--width: 30px;--scale: 1.2;--x: 61px;--y: -59px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(184){--rotate:331.2deg;--delayTime: calc(var(--speed) * 1000 * .92 * -1ms);--width: 30px;--scale: .8;--x: 59px;--y: 26px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(185){--rotate:333deg;--delayTime: calc(var(--speed) * 1000 * .925 * -1ms);--width: 30px;--scale: 1.2;--x: -64px;--y: 5px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(186){--rotate:334.8deg;--delayTime: calc(var(--speed) * 1000 * .93 * -1ms);--width: 30px;--scale: .5;--x: -28px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(187){--rotate:336.6deg;--delayTime: calc(var(--speed) * 1000 * .935 * -1ms);--width: 30px;--scale: 1.1;--x: -97px;--y: 76px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(188){--rotate: calc(1.8 * 188 * 1deg);--delayTime: calc(var(--speed) * 1000 * .94 * -1ms);--width: 30px;--scale: .8;--x: -26px;--y: -25px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(189){--rotate:340.2deg;--delayTime: calc(var(--speed) * 1000 * .945 * -1ms);--width: 30px;--scale: .6;--x: -92px;--y: -9px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(190){--rotate:342deg;--delayTime: calc(var(--speed) * 1000 * .95 * -1ms);--width: 30px;--scale: .5;--x: 59px;--y: 100px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(191){--rotate:343.8deg;--delayTime: calc(var(--speed) * 1000 * .955 * -1ms);--width: 30px;--scale: 1.3;--x: -4px;--y: -24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(192){--rotate:345.6deg;--delayTime: calc(var(--speed) * 1000 * .96 * -1ms);--width: 30px;--scale: .5;--x: 68px;--y: 40px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(193){--rotate: calc(1.8 * 193 * 1deg);--delayTime: calc(var(--speed) * 1000 * .965 * -1ms);--width: 30px;--scale: 1.4;--x: -61px;--y: -23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(194){--rotate:349.2deg;--delayTime: calc(var(--speed) * 1000 * .97 * -1ms);--width: 30px;--scale: .5;--x: -58px;--y: -59px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(195){--rotate:351deg;--delayTime: calc(var(--speed) * 1000 * .975 * -1ms);--width: 30px;--scale: 1.4;--x: -21px;--y: 49px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(196){--rotate:352.8deg;--delayTime: calc(var(--speed) * 1000 * .98 * -1ms);--width: 30px;--scale: .6;--x: 75px;--y: 98px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(197){--rotate:354.6deg;--delayTime: calc(var(--speed) * 1000 * .985 * -1ms);--width: 30px;--scale: .7;--x: -38px;--y: 88px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(198){--rotate: calc(1.8 * 198 * 1deg);--delayTime: calc(var(--speed) * 1000 * .99 * -1ms);--width: 30px;--scale: 1.1;--x: 48px;--y: -63px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(199){--rotate:358.2deg;--delayTime: calc(var(--speed) * 1000 * .995 * -1ms);--width: 30px;--scale: .6;--x: -70px;--y: -24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(200){--rotate:360deg;--delayTime: calc(var(--speed) * 1000 * 1 * -1ms);--width: 30px;--scale: .8;--x: 73px;--y: 24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}@keyframes showAndHide-474ec553{0%{transform:rotate(var(--rotate)) translate(135px);opacity:0}75%{opacity:0}75.1%{transform:rotate(var(--rotate)) translate(135px) scale(var(--scale));opacity:1}to{transform:rotate(var(--rotate)) translate(calc(135px + var(--x)),var(--y)) scale(.2);opacity:0}}@keyframes rotate-474ec553{to{transform:rotate(-360deg)}}@keyframes hueRotate-474ec553{to{filter:blur(calc(var(--gaussian) * 1px)) contrast(3) hue-rotate(360deg)}}.pagination[data-v-fc144f23]{margin-top:18px;display:flex;align-items:center;justify-content:space-between;width:100%}.pagination[data-v-fc144f23] .el-pagination.is-background .btn-next,.pagination[data-v-fc144f23] .el-pagination.is-background .btn-prev{background-color:#fff;border:1px solid #e6ecf2}.pagination p[data-v-fc144f23]{font-weight:400;font-size:14px;color:#60769c;text-align:left;line-height:22px}.pagination .note[data-v-fc144f23]{max-width:400px;font-size:12px;color:#a84815}.rightMenu[data-v-a4322b42]{position:fixed;top:0;left:0;z-index:1000;background-color:#fff;box-shadow:0 2px 8px #00002666;border-radius:4px;padding:5px 0}.rightMenu[data-v-a4322b42] .item{padding:7px 12px;cursor:pointer;font-size:13px}.rightMenu[data-v-a4322b42] .item:hover{color:#4ea5ff;background-color:#ecf5ff}.rightMenu[data-v-a4322b42] .item.disable{color:#999;background-color:transparent!important;cursor:not-allowed}.rightMenu[data-v-a4322b42] .item .icon{margin-right:8px;font-size:12px}.rightMenu.show[data-v-a4322b42]{animation:show-a4322b42 .3s 1;-webkit-animation:show-a4322b42 .3s 1}@keyframes show-a4322b42{0%{opacity:0;margin-top:50px}to{opacity:1;margin-top:0}}@-webkit-keyframes show-a4322b42{0%{opacity:0;margin-top:50px}to{opacity:1;margin-top:0}}.frequency[data-v-2c007365]{width:calc(32px * var(--dateTypeNum) + 10px * (var(--dateTypeNum) - 1));height:32px;float:left;overflow:hidden;margin-right:15px}.frequency .one[data-v-2c007365]{width:32px;height:32px;float:left;line-height:30px;text-align:center;border:1px solid #CCC;font-size:12px;color:#666;border-radius:50%;margin-right:10px;box-sizing:border-box;cursor:pointer}.frequency .one[data-v-2c007365]:last-child{margin-right:0}.frequency .one.active[data-v-2c007365]{line-height:28px;border:2px solid #386DD8;color:#386dd8}.frequencyDate[data-v-2c007365]{overflow:hidden;float:left}.frequencyDate .oneDate[data-v-2c007365]{width:130px;float:left}.frequencyDate .line[data-v-2c007365]{float:left;height:32px;line-height:30px;margin:0 5px;color:#666}.frequencyDate-enter[data-v-2c007365],.frequencyDate-leave-to[data-v-2c007365]{opacity:0}.frequencyDate-enter-active[data-v-2c007365],.frequencyDate-leave-active[data-v-2c007365]{transition:all .5s}.frequency[data-v-43652919]{width:calc(32px * var(--dateTypeNum) + 10px * (var(--dateTypeNum) - 1));height:32px;float:left;overflow:hidden;margin-right:15px}.frequency .one[data-v-43652919]{width:32px;height:32px;float:left;line-height:30px;text-align:center;border:1px solid #CCC;font-size:12px;color:#666;border-radius:50%;margin-right:10px;box-sizing:border-box;cursor:pointer}.frequency .one[data-v-43652919]:last-child{margin-right:0}.frequency .one.active[data-v-43652919]{line-height:28px;border:2px solid #386DD8;color:#386dd8}.frequencyDate[data-v-43652919]{overflow:hidden;float:left}.frequencyDate .oneDate[data-v-43652919]{width:130px;float:left}.frequencyDate .line[data-v-43652919]{float:left;height:32px;line-height:30px;margin:0 5px;color:#666}.frequencyDate-enter[data-v-43652919],.frequencyDate-leave-to[data-v-43652919]{opacity:0}.frequencyDate-enter-active[data-v-43652919],.frequencyDate-leave-active[data-v-43652919]{transition:all .5s}.zhi[data-v-43652919]{margin:0 5px}.and[data-v-bb586ec7]{margin:0 .1875rem}.el-tag+.el-tag[data-v-f2de2f23]{margin-left:10px}.particles-js-box[data-v-6254d928]{position:fixed;width:100%;height:100%;top:0;left:0;z-index:1}#particles-js[data-v-6254d928]{background-color:transparent;width:100%;height:100%}\n',document.head.appendChild(c);const d={setRemUnit:function(){var e=document.documentElement,t=e.clientWidth/120;e.style.fontSize=t+"px"},getTreeParents:function e(t,r,i,n){const a=t.length;for(let o=0;o<a;o++){if(t[o][i]===r)return n.unshift(t[o]),n;if(void 0!==t[o].children&&(n=e(t[o].children,r,i,n)).length>0&&n[n.length-1][i]===r)return n.unshift(t[o]),n}return n},editTreeParentIdCheck:function e(t,r,i="id",n=!1){if(!t)return;const a=t.length;for(let o=0;o<a;o++)t[o].disabled=n,t[o][i]===r?(t[o].disabled=!0,t[o].children=e(t[o].children,r,i,!0)):void 0!==t[o].children&&(t[o].children=e(t[o].children,r,i,n));return t},handleTreeList:function(e,t){if(e&&e.length)for(let r=0;r<e.length;r++){let i=e[r],n=JSON.parse(JSON.stringify(i));n.children=void 0,t.push(n),this.handleTreeList(i.children,t)}},colorLog:h,selectDictLabel:function(e,t,r="label",i="value",n=!1){if(void 0===t)return"";var a=[];return Object.keys(e).some((n=>{if(e[n][i]==""+t)return a.push(e[n][r]),!0})),0===a.length&&a.push(t),n?a[0]:a.join("")},getUrlParameter:function(e){let t=location.search;if(""===t||0===t.length)return null;t=t.slice(1,t.length);const r=t.split("&"),i=r.length;for(let n=0;n<i;n++){const t=r[n].split("=");if(t[0]===e){if(2===t.length)return t[1];break}}return null},downloadImage:function(e,t,r=(new Date).valueOf()){let i=new Image;i.setAttribute("crossOrigin","anonymous"),i.src=t+"?time="+(new Date).valueOf(),e.$nextTick((()=>{i.onload=()=>{const e=document.createElement("canvas");e.width=i.width,e.height=i.height;e.getContext("2d").drawImage(i,0,0,i.width,i.height),e.toBlob((e=>{const t=URL.createObjectURL(e),i=document.createElement("a");i.download=r,i.href=t,i.click(),i.remove(),URL.revokeObjectURL(t)}))}}))},fieldCheck:function(e){return null==e||""===e},imageFileToBase64:function(e){return e instanceof Blob||e instanceof File?new Promise(((t,r)=>{const i=new FileReader;i.onloadend=()=>t(i.result);try{i.readAsDataURL(e)}catch(n){r(n)}})):""},getWindowRatio:function(){var e=0,t=window.screen,r=navigator.userAgent.toLowerCase();return void 0!==window.devicePixelRatio?e=window.devicePixelRatio:~r.indexOf("msie")?t.deviceXDPI&&t.logicalXDPI&&(e=t.deviceXDPI/t.logicalXDPI):void 0!==window.outerWidth&&void 0!==window.innerWidth&&(e=window.outerWidth/window.innerWidth),e&&(e=Math.round(100*e)),e},deepCopy:function e(t){let r=Array.isArray(t)?[]:{};for(let i in t)t.hasOwnProperty(i)&&("object"==typeof t[i]&&null!==t[i]?r[i]=e(t[i]):r[i]=t[i]);return r}};h(["line","***********************************"]);h(["技术支持:","龙九山"]);h(["line","***********************************"]);const u=1e-14;function p(e,t=2){return f(e)&&(e+="").indexOf(".")>-1&&e.split(".")[1].length>t?((e=Number(e))+u).toFixed(t):e}function f(e){const t=typeof e;return"number"===t||"string"===t&&!isNaN(Number(e,10))}const g={numberB0:function(e){return f(e)&&e<10?"0"+e:e},longNumText:function(e,t=2){if(f(e)){let r="";const i=Number(e)<0?-1:1,n=Math.abs(Number(e));return n<1e4?r=i*n:n>=1e4&&n<1e8?r=i*(n/1e4+u).toFixed(t)+"万":n>=1e8&&n<1e12?r=i*(n/1e8+u).toFixed(t)+"亿":n>=1e12&&(r=i*(n/1e12+u).toFixed(t)+"万亿"),r}return e},numberCeil:function(e){if(f(e)){const t=((e=Math.ceil(e))+"").length,r=Math.pow(10,t-1);return Math.ceil(e/r)*r}return e},moneySplit:function(e,t=4){if(f(e)){var r=(e+="").split("."),i=r[0],n=r.length>1?"."+r[1]:"";const a=new RegExp("(\\d+)(\\d{"+t+"})");for(;a.test(i);)i=i.replace(a,"$1,$2");return i+n}return e},numberChangeDecimal:p,averageNum:function(e,t=12,r=2){const i=((e=Number(e))/t).toFixed(r),n=[];for(let a=0;a<t;a++)a<t-1?n.push(i):n.push(p(e-i*(t-1),r));return n}};function m(e,t){const r=new Date(e),i=t||"{y}-{m}-{d} {h}:{i}:{s}",n={y:r.getFullYear(),m:g.numberB0(r.getMonth()+1),d:g.numberB0(r.getDate()),h:g.numberB0(r.getHours()),i:g.numberB0(r.getMinutes()),s:g.numberB0(r.getSeconds()),MS:r.getMilliseconds()};return i.replace(/{(y|m|d|h|i|s|MS)+}/g,((e,t)=>n[t]))}const v={formatTime:m,dateQjChange:function(e,t=1){if(""===e[0]||null===e[0])return e;const r=new Date(e[0]),i=new Date(e[1]);switch(void 0===t&&(t=1),t){case 1:return[r.getFullYear()+"-"+g.numberB0(r.getMonth()+1)+"-"+g.numberB0(r.getDate())+" 00:00:00",i.getFullYear()+"-"+g.numberB0(i.getMonth()+1)+"-"+g.numberB0(i.getDate())+" 23:59:59"];case 2:return[r.getFullYear()+"-"+g.numberB0(r.getMonth()+1)+"-"+g.numberB0(r.getDate())+" "+g.numberB0(r.getHours())+":00:00",i.getFullYear()+"-"+g.numberB0(i.getMonth()+1)+"-"+g.numberB0(i.getDate())+" "+g.numberB0(i.getHours())+":59:59"];case 3:return[r.getFullYear()+"-"+g.numberB0(r.getMonth()+1)+"-"+g.numberB0(r.getDate())+" "+g.numberB0(r.getHours())+":"+g.numberB0(r.getMinutes())+":00",i.getFullYear()+"-"+g.numberB0(i.getMonth()+1)+"-"+g.numberB0(i.getDate())+" "+g.numberB0(i.getHours())+":"+g.numberB0(i.getMinutes())+":59"]}return e},timeRunDistance:function({time:e=0,showTag:t=["天","小时","分钟","秒","毫秒"],showAll:r=!0}){if(e<0)return;const i=1e3,n=6e4,a=60*n,o=24*a,s=[0,0,0,0,0];if(e>=o){const t=Math.floor(e/o);s[0]=t,e-=o*t}if(e>=a){const t=Math.floor(e/a);s[1]=t,e-=a*t}if(e>=n){const t=Math.floor(e/n);s[2]=t,e-=n*t}if(e>=i){const t=Math.floor(e/i);s[3]=t,e-=i*t}s[4]=e;let l=!1;r&&(l=!0);let c="";return s.forEach(((e,r)=>{l||0===e||(l=!0),l&&(c+=e+t[r])})),c},initSearchDate:function(e=10,t=!1){let r="",i="",n="{y}-{m}-{d}";return t&&(n="{y}-{m}-{d} {h}:{i}:{s}"),r=m((new Date).getTime()-864e5*(e-1),n),i=m(new Date,n),[r,i]},initSearchDateQj:function(e="date",t=0){const r=new Date;let i="",n="";switch(e){case"datetime":i=m(r,"{y}-{m}-{d} 00:00:00"),n=m(r,"{y}-{m}-{d} {h}:{i}:{s}");break;case"date":i=m(r,"{y}-{m}-01"),n=m(r,"{y}-{m}-{d}");break;case"month":i=m(r,"{y}-01"),n=m(r,"{y}-{m}");break;case"year":i=r.getFullYear()-5*(t+1),n=r.getFullYear()}return[i,n]}};let y=Date.now();let b=0;const w={numCheck:function(e,t="num",r="Number",i=!0){"Number"!==r||i||(e[t]="0"===e[t].slice(0,1)?"":e[t]),e[t]=e[t].replace(/[^\d]/g,""),"Number"===r&&e[t].length>0&&(e[t]=Number(e[t]))},numEnCheck:function(e,t="username"){e[t]=e[t]+"",e[t]=e[t].replace(/[^\w]/g,""),e[t]=e[t].replace(/\_/g,"")},numDxsCheck:function(e){const t={form:null,key:"money",zs:"",ws:"",type:"Number",fu:!1};for(let a in e)t[a]=e[a];const r=t.form,i=t.key;r[i]=r[i]+"","Number"===t.type&&("0"===r[i].slice(0,1)&&(r[i]="."!==r[i].slice(1,2)?"0":r[i]),"-"===r[i].slice(0,1)&&(r[i]="."===r[i].slice(1,2)?"-":r[i]),"-0"===r[i].slice(0,2)&&(r[i]="."!==r[i].slice(2,3)?"-0":r[i])),t.fu?r[i]=r[i].replace(/[^\d.-]/g,""):r[i]=r[i].replace(/[^\d.]/g,""),r[i]=r[i].replace(/^\./g,""),r[i]=r[i].replace(/\.{2,}/g,"."),r[i]=r[i].slice(0,1)+r[i].slice(1,r[i].length).replace(/\-/g,"");const n=new RegExp("^(\\-)*(\\d+)\\.(\\d{0,"+t.ws+"}).*$");if(""!==t.zs&&r[i].length>0){const e=r[i].split(".");let n=e[0],a="";n.length>t.zs&&(n=n.slice(0,t.zs)),e.length>1?(a=e[1],r[i]=n+"."+a):r[i]=n}r[i]=r[i].replace(n,"$1$2.$3")},downloadBlobData:function(e,t){const r=document.createElement("a"),i=new Blob([e],{type:"application/vnd.ms-excel"});r.style.display="none",r.href=URL.createObjectURL(i),r.setAttribute("download",t),document.body.appendChild(r),r.click(),document.body.removeChild(r)},pickerOptions:function(e="3",t=0,r=["1","2","3"]){let i=null,n=null;switch(y=Date.now(),e){case r[2]:y+=864e5*t;break;case r[1]:i=new Date(y).getFullYear(),n=new Date(y).getMonth()+t,n<0?(i+=t,n=12):n+=1,y=new Date(`${i}-${n}`).getTime();break;case r[0]:i=new Date(y).getFullYear(),i+=t,y=new Date(`${i}-01`).getTime()}return e=>e.getTime()>y},pickerOptionsDynamic:function(e=30,t){b=t?v.formatTime(t[0],"{y}-{m}-{d}"):0;const r=864e5*e;return e=>{if(0===b)return e.getTime()>Date.now()||e.getTime()<b;{const t=new Date(b).getTime()+r-864e5,i=new Date(b).getTime()-r;return t>=Date.now()?e.getTime()>Date.now()||e.getTime()<i:e.getTime()>t||e.getTime()<i}}}};const _={pieChange:function(e,t={name:"name",key:"val"}){if(0===e.length)return e;const r={name:"name",key:"val"};for(let a in t)r[a]=t[a];let i=0;if(e.forEach((e=>{e.proportion=0,i+=Number(e[r.key])})),i>0){let t={value:0,index:-1};e.forEach(((e,n)=>{e[r.key]=0==e[r.key]?null:e[r.key];const a=g.numberChangeDecimal(Number(e[r.key])/i*100),o=Number(a);Number(t.value)<o&&(t={value:a,index:n}),e.proportion=0===o&&Number(e[r.key])>0?.01:o})),e[t.index].proportion=100,e.forEach(((r,i)=>{i!==t.index&&(e[t.index].proportion=g.numberChangeDecimal(e[t.index].proportion-Number(r.proportion)))}))}const n=[];return e.forEach((e=>{n.push({name:e[r.name],value:e[r.key],proportion:e.proportion+"%"})})),n}};var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S(e){if(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 i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})})),r}var T={exports:{}};var k={exports:{}};const A=S(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var C;function B(){return C||(C=1,k.exports=(e=e||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==x&&x.crypto&&(r=x.crypto),!r)try{r=A}catch(g){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},o=a.lib={},s=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=o.WordArray=s.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,i=this.sigBytes,n=e.sigBytes;if(this.clamp(),i%4)for(var a=0;a<n;a++){var o=r[a>>>2]>>>24-a%4*8&255;t[i+a>>>2]|=o<<24-(i+a)%4*8}else for(var s=0;s<n;s+=4)t[i+s>>>2]=r[s>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new l.init(t,e)}}),c=a.enc={},h=c.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],n=0;n<r;n++){var a=t[n>>>2]>>>24-n%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i+=2)r[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new l.init(r,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],n=0;n<r;n++){var a=t[n>>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new l.init(r,t)}},u=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=o.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,i=this._data,n=i.words,a=i.sigBytes,o=this.blockSize,s=a/(4*o),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,h=e.min(4*c,a);if(c){for(var d=0;d<c;d+=o)this._doProcessBlock(n,d);r=n.splice(0,c),i.sigBytes-=h}return new l.init(r,h)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});o.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}});var f=a.algo={};return a}(Math),e)),k.exports;var e}var I,R={exports:{}};function M(){return I||(I=1,R.exports=(o=B(),r=(t=o).lib,i=r.Base,n=r.WordArray,(a=t.x64={}).Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],i=0;i<t;i++){var a=e[i];r.push(a.high),r.push(a.low)}return n.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),o)),R.exports;var e,t,r,i,n,a,o}var O,P={exports:{}};function j(){return O||(O=1,P.exports=(e=B(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,i=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,i=[],n=0;n<t;n++)i[n>>>2]|=e[n]<<24-n%4*8;r.call(this,i,t)}else r.apply(this,arguments)};i.prototype=t}}(),e.lib.WordArray)),P.exports;var e}var N,D={exports:{}};function L(){return N||(N=1,D.exports=(e=B(),function(){var t=e,r=t.lib.WordArray,i=t.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],n=0;n<r;n+=2){var a=t[n>>>2]>>>16-n%4*8&65535;i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n++)i[n>>>1]|=e.charCodeAt(n)<<16-n%2*16;return r.create(i,2*t)}},i.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],a=0;a<r;a+=2){var o=n(t[a>>>2]>>>16-a%4*8&65535);i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var t=e.length,i=[],a=0;a<t;a++)i[a>>>1]|=n(e.charCodeAt(a)<<16-a%2*16);return r.create(i,2*t)}}}(),e.enc.Utf16)),D.exports;var e}var U,F={exports:{}};function H(){return U||(U=1,F.exports=(e=B(),function(){var t=e,r=t.lib.WordArray;function i(e,t,i){for(var n=[],a=0,o=0;o<t;o++)if(o%4){var s=i[e.charCodeAt(o-1)]<<o%4*2|i[e.charCodeAt(o)]>>>6-o%4*2;n[a>>>2]|=s<<24-a%4*8,a++}return r.create(n,a)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,i=this._map;e.clamp();for(var n=[],a=0;a<r;a+=3)for(var o=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<r;s++)n.push(i.charAt(o>>>6*(3-s)&63));var l=i.charAt(64);if(l)for(;n.length%4;)n.push(l);return n.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var a=0;a<r.length;a++)n[r.charCodeAt(a)]=a}var o=r.charAt(64);if(o){var s=e.indexOf(o);-1!==s&&(t=s)}return i(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),F.exports;var e}var z,W={exports:{}};function V(){return z||(z=1,W.exports=(e=B(),function(){var t=e,r=t.lib.WordArray;function i(e,t,i){for(var n=[],a=0,o=0;o<t;o++)if(o%4){var s=i[e.charCodeAt(o-1)]<<o%4*2|i[e.charCodeAt(o)]>>>6-o%4*2;n[a>>>2]|=s<<24-a%4*8,a++}return r.create(n,a)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,i=e.sigBytes,n=t?this._safe_map:this._map;e.clamp();for(var a=[],o=0;o<i;o+=3)for(var s=(r[o>>>2]>>>24-o%4*8&255)<<16|(r[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|r[o+2>>>2]>>>24-(o+2)%4*8&255,l=0;l<4&&o+.75*l<i;l++)a.push(n.charAt(s>>>6*(3-l)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var o=0;o<n.length;o++)a[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}return i(e,r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),W.exports;var e}var $,q={exports:{}};function Y(){return $||($=1,q.exports=(e=B(),function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=o.MD5=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var i=t+r,n=e[i];e[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var a=this._hash.words,o=e[t+0],l=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],_=e[t+10],x=e[t+11],E=e[t+12],S=e[t+13],T=e[t+14],k=e[t+15],A=a[0],C=a[1],B=a[2],I=a[3];A=c(A,C,B,I,o,7,s[0]),I=c(I,A,C,B,l,12,s[1]),B=c(B,I,A,C,p,17,s[2]),C=c(C,B,I,A,f,22,s[3]),A=c(A,C,B,I,g,7,s[4]),I=c(I,A,C,B,m,12,s[5]),B=c(B,I,A,C,v,17,s[6]),C=c(C,B,I,A,y,22,s[7]),A=c(A,C,B,I,b,7,s[8]),I=c(I,A,C,B,w,12,s[9]),B=c(B,I,A,C,_,17,s[10]),C=c(C,B,I,A,x,22,s[11]),A=c(A,C,B,I,E,7,s[12]),I=c(I,A,C,B,S,12,s[13]),B=c(B,I,A,C,T,17,s[14]),A=h(A,C=c(C,B,I,A,k,22,s[15]),B,I,l,5,s[16]),I=h(I,A,C,B,v,9,s[17]),B=h(B,I,A,C,x,14,s[18]),C=h(C,B,I,A,o,20,s[19]),A=h(A,C,B,I,m,5,s[20]),I=h(I,A,C,B,_,9,s[21]),B=h(B,I,A,C,k,14,s[22]),C=h(C,B,I,A,g,20,s[23]),A=h(A,C,B,I,w,5,s[24]),I=h(I,A,C,B,T,9,s[25]),B=h(B,I,A,C,f,14,s[26]),C=h(C,B,I,A,b,20,s[27]),A=h(A,C,B,I,S,5,s[28]),I=h(I,A,C,B,p,9,s[29]),B=h(B,I,A,C,y,14,s[30]),A=d(A,C=h(C,B,I,A,E,20,s[31]),B,I,m,4,s[32]),I=d(I,A,C,B,b,11,s[33]),B=d(B,I,A,C,x,16,s[34]),C=d(C,B,I,A,T,23,s[35]),A=d(A,C,B,I,l,4,s[36]),I=d(I,A,C,B,g,11,s[37]),B=d(B,I,A,C,y,16,s[38]),C=d(C,B,I,A,_,23,s[39]),A=d(A,C,B,I,S,4,s[40]),I=d(I,A,C,B,o,11,s[41]),B=d(B,I,A,C,f,16,s[42]),C=d(C,B,I,A,v,23,s[43]),A=d(A,C,B,I,w,4,s[44]),I=d(I,A,C,B,E,11,s[45]),B=d(B,I,A,C,k,16,s[46]),A=u(A,C=d(C,B,I,A,p,23,s[47]),B,I,o,6,s[48]),I=u(I,A,C,B,y,10,s[49]),B=u(B,I,A,C,T,15,s[50]),C=u(C,B,I,A,m,21,s[51]),A=u(A,C,B,I,E,6,s[52]),I=u(I,A,C,B,f,10,s[53]),B=u(B,I,A,C,_,15,s[54]),C=u(C,B,I,A,l,21,s[55]),A=u(A,C,B,I,b,6,s[56]),I=u(I,A,C,B,k,10,s[57]),B=u(B,I,A,C,v,15,s[58]),C=u(C,B,I,A,S,21,s[59]),A=u(A,C,B,I,g,6,s[60]),I=u(I,A,C,B,x,10,s[61]),B=u(B,I,A,C,p,15,s[62]),C=u(C,B,I,A,w,21,s[63]),a[0]=a[0]+A|0,a[1]=a[1]+C|0,a[2]=a[2]+B|0,a[3]=a[3]+I|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;r[n>>>5]|=128<<24-n%32;var a=t.floor(i/4294967296),o=i;r[15+(n+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var h=l[c];l[c]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,i,n,a,o){var s=e+(t&r|~t&i)+n+o;return(s<<a|s>>>32-a)+t}function h(e,t,r,i,n,a,o){var s=e+(t&i|r&~i)+n+o;return(s<<a|s>>>32-a)+t}function d(e,t,r,i,n,a,o){var s=e+(t^r^i)+n+o;return(s<<a|s>>>32-a)+t}function u(e,t,r,i,n,a,o){var s=e+(r^(t|~i))+n+o;return(s<<a|s>>>32-a)+t}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5)),q.exports;var e}var K,G={exports:{}};function Q(){return K||(K=1,G.exports=(s=B(),t=(e=s).lib,r=t.WordArray,i=t.Hasher,n=e.algo,a=[],o=n.SHA1=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],l=r[4],c=0;c<80;c++){if(c<16)a[c]=0|e[t+c];else{var h=a[c-3]^a[c-8]^a[c-14]^a[c-16];a[c]=h<<1|h>>>31}var d=(i<<5|i>>>27)+l+a[c];d+=c<20?1518500249+(n&o|~n&s):c<40?1859775393+(n^o^s):c<60?(n&o|n&s|o&s)-1894007588:(n^o^s)-899497514,l=s,s=o,o=n<<30|n>>>2,n=i,i=d}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(i+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=i._createHelper(o),e.HmacSHA1=i._createHmacHelper(o),s.SHA1)),G.exports;var e,t,r,i,n,a,o,s}var J,X={exports:{}};function Z(){return J||(J=1,X.exports=(e=B(),function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.algo,s=[],l=[];!function(){function e(e){for(var r=t.sqrt(e),i=2;i<=r;i++)if(!(e%i))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var i=2,n=0;n<64;)e(i)&&(n<8&&(s[n]=r(t.pow(i,.5))),l[n]=r(t.pow(i,1/3)),n++),i++}();var c=[],h=o.SHA256=a.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],h=r[5],d=r[6],u=r[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var f=c[p-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=c[p-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[p]=g+c[p-7]+v+c[p-16]}var y=i&n^i&a^n&a,b=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=u+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&h^~s&d)+l[p]+c[p];u=d,d=h,h=s,s=o+w|0,o=a,a=n,n=i,i=w+(b+y)|0}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0,r[5]=r[5]+h|0,r[6]=r[6]+d|0,r[7]=r[7]+u|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=t.floor(i/4294967296),r[15+(n+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=a._createHelper(h),r.HmacSHA256=a._createHmacHelper(h)}(Math),e.SHA256)),X.exports;var e}var ee,te={exports:{}};var re,ie={exports:{}};function ne(){return re||(re=1,ie.exports=(e=B(),M(),function(){var t=e,r=t.lib.Hasher,i=t.x64,n=i.Word,a=i.WordArray,o=t.algo;function s(){return n.create.apply(n,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var h=o.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],h=r[5],d=r[6],u=r[7],p=i.high,f=i.low,g=n.high,m=n.low,v=a.high,y=a.low,b=o.high,w=o.low,_=s.high,x=s.low,E=h.high,S=h.low,T=d.high,k=d.low,A=u.high,C=u.low,B=p,I=f,R=g,M=m,O=v,P=y,j=b,N=w,D=_,L=x,U=E,F=S,H=T,z=k,W=A,V=C,$=0;$<80;$++){var q,Y,K=c[$];if($<16)Y=K.high=0|e[t+2*$],q=K.low=0|e[t+2*$+1];else{var G=c[$-15],Q=G.high,J=G.low,X=(Q>>>1|J<<31)^(Q>>>8|J<<24)^Q>>>7,Z=(J>>>1|Q<<31)^(J>>>8|Q<<24)^(J>>>7|Q<<25),ee=c[$-2],te=ee.high,re=ee.low,ie=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ne=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ae=c[$-7],oe=ae.high,se=ae.low,le=c[$-16],ce=le.high,he=le.low;Y=(Y=(Y=X+oe+((q=Z+se)>>>0<Z>>>0?1:0))+ie+((q+=ne)>>>0<ne>>>0?1:0))+ce+((q+=he)>>>0<he>>>0?1:0),K.high=Y,K.low=q}var de,ue=D&U^~D&H,pe=L&F^~L&z,fe=B&R^B&O^R&O,ge=I&M^I&P^M&P,me=(B>>>28|I<<4)^(B<<30|I>>>2)^(B<<25|I>>>7),ve=(I>>>28|B<<4)^(I<<30|B>>>2)^(I<<25|B>>>7),ye=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),be=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),we=l[$],_e=we.high,xe=we.low,Ee=W+ye+((de=V+be)>>>0<V>>>0?1:0),Se=ve+ge;W=H,V=z,H=U,z=F,U=D,F=L,D=j+(Ee=(Ee=(Ee=Ee+ue+((de+=pe)>>>0<pe>>>0?1:0))+_e+((de+=xe)>>>0<xe>>>0?1:0))+Y+((de+=q)>>>0<q>>>0?1:0))+((L=N+de|0)>>>0<N>>>0?1:0)|0,j=O,N=P,O=R,P=M,R=B,M=I,B=Ee+(me+fe+(Se>>>0<ve>>>0?1:0))+((I=de+Se|0)>>>0<de>>>0?1:0)|0}f=i.low=f+I,i.high=p+B+(f>>>0<I>>>0?1:0),m=n.low=m+M,n.high=g+R+(m>>>0<M>>>0?1:0),y=a.low=y+P,a.high=v+O+(y>>>0<P>>>0?1:0),w=o.low=w+N,o.high=b+j+(w>>>0<N>>>0?1:0),x=s.low=x+L,s.high=_+D+(x>>>0<L>>>0?1:0),S=h.low=S+F,h.high=E+U+(S>>>0<F>>>0?1:0),k=d.low=k+z,d.high=T+H+(k>>>0<z>>>0?1:0),C=u.low=C+V,u.high=A+W+(C>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(i+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512)),ie.exports;var e}var ae,oe={exports:{}};var se,le={exports:{}};function ce(){return se||(se=1,le.exports=(e=B(),M(),function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.x64.Word,s=r.algo,l=[],c=[],h=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var n=1,a=0;a<24;a++){for(var s=0,d=0,u=0;u<7;u++){if(1&n){var p=(1<<u)-1;p<32?d^=1<<p:s^=1<<p-32}128&n?n=n<<1^113:n<<=1}h[a]=o.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=o.create()}();var u=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,i=this.blockSize/2,n=0;n<i;n++){var a=e[t+2*n],o=e[t+2*n+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(C=r[n]).high^=o,C.low^=a}for(var s=0;s<24;s++){for(var u=0;u<5;u++){for(var p=0,f=0,g=0;g<5;g++)p^=(C=r[u+5*g]).high,f^=C.low;var m=d[u];m.high=p,m.low=f}for(u=0;u<5;u++){var v=d[(u+4)%5],y=d[(u+1)%5],b=y.high,w=y.low;for(p=v.high^(b<<1|w>>>31),f=v.low^(w<<1|b>>>31),g=0;g<5;g++)(C=r[u+5*g]).high^=p,C.low^=f}for(var _=1;_<25;_++){var x=(C=r[_]).high,E=C.low,S=l[_];S<32?(p=x<<S|E>>>32-S,f=E<<S|x>>>32-S):(p=E<<S-32|x>>>64-S,f=x<<S-32|E>>>64-S);var T=d[c[_]];T.high=p,T.low=f}var k=d[0],A=r[0];for(k.high=A.high,k.low=A.low,u=0;u<5;u++)for(g=0;g<5;g++){var C=r[_=u+5*g],B=d[_],I=d[(u+1)%5+5*g],R=d[(u+2)%5+5*g];C.high=B.high^~I.high&R.high,C.low=B.low^~I.low&R.low}C=r[0];var M=h[s];C.high^=M.high,C.low^=M.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var i=8*e.sigBytes,a=32*this.blockSize;r[i>>>5]|=1<<24-i%32,r[(t.ceil((i+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var o=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],h=0;h<l;h++){var d=o[h],u=d.high,p=d.low;u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),c.push(p),c.push(u)}return new n.init(c,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=a._createHelper(u),r.HmacSHA3=a._createHmacHelper(u)}(Math),e.SHA3)),le.exports;var e}var he,de={exports:{}};var ue,pe={exports:{}};function fe(){return ue||(ue=1,pe.exports=(e=B(),r=(t=e).lib.Base,i=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),s=a.words,l=o.words,c=0;c<r;c++)s[c]^=1549556828,l[c]^=909522486;a.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))),pe.exports;var e,t,r,i}var ge,me={exports:{}};var ve,ye={exports:{}};function be(){return ve||(ve=1,ye.exports=(s=B(),Q(),fe(),t=(e=s).lib,r=t.Base,i=t.WordArray,n=e.algo,a=n.MD5,o=n.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,a=n.hasher.create(),o=i.create(),s=o.words,l=n.keySize,c=n.iterations;s.length<l;){r&&a.update(r),r=a.update(e).finalize(t),a.reset();for(var h=1;h<c;h++)r=a.finalize(r),a.reset();o.concat(r)}return o.sigBytes=4*l,o}}),e.EvpKDF=function(e,t,r){return o.create(r).compute(e,t)},s.EvpKDF)),ye.exports;var e,t,r,i,n,a,o,s}var we,_e={exports:{}};function xe(){return we||(we=1,_e.exports=(e=B(),be(),void(e.lib.Cipher||function(t){var r=e,i=r.lib,n=i.Base,a=i.WordArray,o=i.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var l=s.Base64,c=r.algo.EvpKDF,h=i.Cipher=o.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:v}return function(t){return{encrypt:function(r,i,n){return e(i).encrypt(t,r,i,n)},decrypt:function(r,i,n){return e(i).decrypt(t,r,i,n)}}}}()});i.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=r.mode={},u=i.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=u.extend();function r(e,r,i){var n,a=this._iv;a?(n=a,this._iv=t):n=this._prevBlock;for(var o=0;o<i;o++)e[r+o]^=n[o]}return e.Encryptor=e.extend({processBlock:function(e,t){var i=this._cipher,n=i.blockSize;r.call(this,e,t,n),i.encryptBlock(e,t),this._prevBlock=e.slice(t,t+n)}}),e.Decryptor=e.extend({processBlock:function(e,t){var i=this._cipher,n=i.blockSize,a=e.slice(t,t+n);i.decryptBlock(e,t),r.call(this,e,t,n),this._prevBlock=a}}),e}(),f=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,i=r-e.sigBytes%r,n=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(n);var l=a.create(o,i);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:f}),reset:function(){var e;h.reset.call(this);var t=this.cfg,r=t.iv,i=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=i.createEncryptor:(e=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(i,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var g=i.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),m=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),i=r.words;return 1398893684==i[0]&&1701076831==i[1]&&(t=a.create(i.slice(2,4)),i.splice(0,4),r.sigBytes-=16),g.create({ciphertext:r,salt:t})}},v=i.SerializableCipher=n.extend({cfg:n.extend({format:m}),encrypt:function(e,t,r,i){i=this.cfg.extend(i);var n=e.createEncryptor(r,i),a=n.finalize(t),o=n.cfg;return g.create({ciphertext:a,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,r,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(r,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(r.kdf={}).OpenSSL={execute:function(e,t,r,i,n){if(i||(i=a.random(8)),n)o=c.create({keySize:t+r,hasher:n}).compute(e,i);else var o=c.create({keySize:t+r}).compute(e,i);var s=a.create(o.words.slice(t),4*r);return o.sigBytes=4*t,g.create({key:o,iv:s,salt:i})}},b=i.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,r,i){var n=(i=this.cfg.extend(i)).kdf.execute(r,e.keySize,e.ivSize,i.salt,i.hasher);i.iv=n.iv;var a=v.encrypt.call(this,e,t,n.key,i);return a.mixIn(n),a},decrypt:function(e,t,r,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var n=i.kdf.execute(r,e.keySize,e.ivSize,t.salt,i.hasher);return i.iv=n.iv,v.decrypt.call(this,e,t,n.key,i)}})}()))),_e.exports;var e}var Ee,Se={exports:{}};var Te,ke={exports:{}};var Ae,Ce={exports:{}};function Be(){return Ae||(Ae=1,Ce.exports=(e=B(),xe(),
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define(["vue"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).index=t(e.Vue)}(this,(function(e){"use strict";var t=Object.defineProperty,r=(e,r,i)=>(((e,r,i)=>{r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[r]=i})(e,"symbol"!=typeof r?r+"":r,i),i),i=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},n=(e,t,r)=>(i(e,t,"read from private field"),r?r.call(e):t.get(e)),a=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},o=(e,t,r,n)=>(i(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),s=(e,t,r,i)=>({set _(i){o(e,t,i,r)},get _(){return n(e,t,i)}}),l=(e,t,r)=>(i(e,t,"access private method"),r),c=document.createElement("style");function h(e=["暂无内容"],t="info",r=["background: #666666; color: #fff; border-radius: 4px 0 0 4px; padding: 3px 6px;","background: #1475B2; color: #fff; border-radius: 0 4px 4px 0; padding: 3px 6px;"]){let i="";e.forEach((e=>{i+=`%c${e}`}))}c.textContent='@charset "UTF-8";.ljs-loading[data-v-474ec553]{--speed: 3;--gaussian: 10;--bgopacity: .9;--textcolor: "#FFF";width:100%;height:100%;position:fixed;top:0;left:0;z-index:10001;background-color:rgba(0,0,0,var(--bgopacity));display:grid;place-content:center;overflow:hidden}.ljs-loading .text[data-v-474ec553]{text-align:center;padding:100px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:20px;color:var(--textcolor)}.ljs-loading .g-container[data-v-474ec553]{position:relative;width:100%;height:100%;filter:blur(calc(var(--gaussian) * 1px)) contrast(3);animation:hueRotate-474ec553 8s infinite linear}.ljs-loading .g-container .g-circle[data-v-474ec553]{position:relative;width:300px;height:300px;border-radius:50%;background:conic-gradient(#8fef9f 0,#8fef9f 2%,#79ec79,#79e963,#80e64d,#8ce236,#9fdf20,#acc91d,#b3b31a 16%,#b3b31a 18%,transparent 18%);-webkit-mask:radial-gradient(transparent,transparent 119px,#000 120px,#000);mask:radial-gradient(transparent,transparent 119px,#000 120px,#000);animation:rotate-474ec553 calc(var(--speed)*1s) infinite calc(700 / 4 * var(--speed) * -1ms) linear}.ljs-loading .g-container .g-circle[data-v-474ec553]:before,.ljs-loading .g-container .g-circle[data-v-474ec553]:after{content:"";position:absolute;right:0;bottom:0;width:32px;height:32px;background:#8fef9f;top:0;left:135px;border-radius:50%}.ljs-loading .g-container .g-circle[data-v-474ec553]:after{background:#b3b31a;left:unset;top:80px;right:10px}.ljs-loading .g-container .g-bubbles[data-v-474ec553]{position:absolute;width:30px;height:30px;transform:translate(-50%,-50%);left:50%;top:50%;border-radius:50px}.ljs-loading .g-container .g-bubble[data-v-474ec553]{position:absolute;border-radius:50%;background:#b3b31a}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(1){--rotate:1.8deg;--delayTime: calc(var(--speed) * 1000 * .005 * -1ms);--width: 30px;--scale: .6;--x: -84px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(2){--rotate:3.6deg;--delayTime: calc(var(--speed) * 1000 * .01 * -1ms);--width: 30px;--scale: 1.4;--x: -49px;--y: -16px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(3){--rotate:5.4deg;--delayTime: calc(var(--speed) * 1000 * .015 * -1ms);--width: 30px;--scale: .5;--x: -38px;--y: -52px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(4){--rotate:7.2deg;--delayTime: calc(var(--speed) * 1000 * .02 * -1ms);--width: 30px;--scale: .6;--x: 22px;--y: -88px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(5){--rotate:9deg;--delayTime: calc(var(--speed) * 1000 * .025 * -1ms);--width: 30px;--scale: .6;--x: -98px;--y: -16px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(6){--rotate:10.8deg;--delayTime: calc(var(--speed) * 1000 * .03 * -1ms);--width: 30px;--scale: .6;--x: -6px;--y: 34px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(7){--rotate:12.6deg;--delayTime: calc(var(--speed) * 1000 * .035 * -1ms);--width: 30px;--scale: .7;--x: 4px;--y: -69px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(8){--rotate:14.4deg;--delayTime: calc(var(--speed) * 1000 * .04 * -1ms);--width: 30px;--scale: 1.3;--x: -4px;--y: -54px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(9){--rotate:16.2deg;--delayTime: calc(var(--speed) * 1000 * .045 * -1ms);--width: 30px;--scale: 1.4;--x: 84px;--y: 25px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(10){--rotate:18deg;--delayTime: calc(var(--speed) * 1000 * .05 * -1ms);--width: 30px;--scale: 1.3;--x: 63px;--y: -66px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(11){--rotate:19.8deg;--delayTime: calc(var(--speed) * 1000 * .055 * -1ms);--width: 30px;--scale: 1;--x: 21px;--y: -64px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(12){--rotate:21.6deg;--delayTime: calc(var(--speed) * 1000 * .06 * -1ms);--width: 30px;--scale: 1.2;--x: 88px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(13){--rotate: calc(1.8 * 13 * 1deg);--delayTime: calc(var(--speed) * 1000 * .065 * -1ms);--width: 30px;--scale: .7;--x: 45px;--y: -23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(14){--rotate:25.2deg;--delayTime: calc(var(--speed) * 1000 * .07 * -1ms);--width: 30px;--scale: 1.1;--x: -97px;--y: 58px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(15){--rotate:27deg;--delayTime: calc(var(--speed) * 1000 * .075 * -1ms);--width: 30px;--scale: .9;--x: -68px;--y: 32px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(16){--rotate:28.8deg;--delayTime: calc(var(--speed) * 1000 * .08 * -1ms);--width: 30px;--scale: 1;--x: -13px;--y: -57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(17){--rotate:30.6deg;--delayTime: calc(var(--speed) * 1000 * .085 * -1ms);--width: 30px;--scale: 1.3;--x: -38px;--y: -65px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(18){--rotate:32.4deg;--delayTime: calc(var(--speed) * 1000 * .09 * -1ms);--width: 30px;--scale: .7;--x: -54px;--y: 48px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(19){--rotate:34.2deg;--delayTime: calc(var(--speed) * 1000 * .095 * -1ms);--width: 30px;--scale: 1;--x: 47px;--y: 92px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(20){--rotate:36deg;--delayTime: calc(var(--speed) * 1000 * .1 * -1ms);--width: 30px;--scale: .6;--x: 0px;--y: -72px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(21){--rotate: calc(1.8 * 21 * 1deg);--delayTime: calc(var(--speed) * 1000 * .105 * -1ms);--width: 30px;--scale: .9;--x: 98px;--y: 60px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(22){--rotate:39.6deg;--delayTime: calc(var(--speed) * 1000 * .11 * -1ms);--width: 30px;--scale: 1.1;--x: 61px;--y: -83px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(23){--rotate:41.4deg;--delayTime: calc(var(--speed) * 1000 * .115 * -1ms);--width: 30px;--scale: .7;--x: -58px;--y: 28px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(24){--rotate:43.2deg;--delayTime: calc(var(--speed) * 1000 * .12 * -1ms);--width: 30px;--scale: 1.4;--x: 90px;--y: 26px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(25){--rotate:45deg;--delayTime: calc(var(--speed) * 1000 * .125 * -1ms);--width: 30px;--scale: .7;--x: 77px;--y: 11px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(26){--rotate: calc(1.8 * 26 * 1deg);--delayTime: calc(var(--speed) * 1000 * .13 * -1ms);--width: 30px;--scale: 1.4;--x: 0px;--y: 43px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(27){--rotate:48.6deg;--delayTime: calc(var(--speed) * 1000 * .135 * -1ms);--width: 30px;--scale: .7;--x: 53px;--y: 86px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(28){--rotate:50.4deg;--delayTime: calc(var(--speed) * 1000 * .14 * -1ms);--width: 30px;--scale: .7;--x: -82px;--y: 7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(29){--rotate:52.2deg;--delayTime: calc(var(--speed) * 1000 * .145 * -1ms);--width: 30px;--scale: .5;--x: -97px;--y: -42px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(30){--rotate:54deg;--delayTime: calc(var(--speed) * 1000 * .15 * -1ms);--width: 30px;--scale: .5;--x: 85px;--y: -41px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(31){--rotate: calc(1.8 * 31 * 1deg);--delayTime: calc(var(--speed) * 1000 * .155 * -1ms);--width: 30px;--scale: .7;--x: -82px;--y: -93px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(32){--rotate:57.6deg;--delayTime: calc(var(--speed) * 1000 * .16 * -1ms);--width: 30px;--scale: 1.2;--x: -31px;--y: 27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(33){--rotate:59.4deg;--delayTime: calc(var(--speed) * 1000 * .165 * -1ms);--width: 30px;--scale: 1.3;--x: 3px;--y: -2px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(34){--rotate:61.2deg;--delayTime: calc(var(--speed) * 1000 * .17 * -1ms);--width: 30px;--scale: 1.1;--x: -22px;--y: 96px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(35){--rotate:63deg;--delayTime: calc(var(--speed) * 1000 * .175 * -1ms);--width: 30px;--scale: .9;--x: -76px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(36){--rotate:64.8deg;--delayTime: calc(var(--speed) * 1000 * .18 * -1ms);--width: 30px;--scale: 1.2;--x: -69px;--y: -28px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(37){--rotate: calc(1.8 * 37 * 1deg);--delayTime: calc(var(--speed) * 1000 * .185 * -1ms);--width: 30px;--scale: 1;--x: 5px;--y: 57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(38){--rotate:68.4deg;--delayTime: calc(var(--speed) * 1000 * .19 * -1ms);--width: 30px;--scale: .8;--x: -95px;--y: -46px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(39){--rotate:70.2deg;--delayTime: calc(var(--speed) * 1000 * .195 * -1ms);--width: 30px;--scale: .5;--x: 10px;--y: -28px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(40){--rotate:72deg;--delayTime: calc(var(--speed) * 1000 * .2 * -1ms);--width: 30px;--scale: 1.3;--x: 29px;--y: -95px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(41){--rotate:73.8deg;--delayTime: calc(var(--speed) * 1000 * .205 * -1ms);--width: 30px;--scale: .6;--x: 45px;--y: 87px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(42){--rotate: calc(1.8 * 42 * 1deg);--delayTime: calc(var(--speed) * 1000 * .21 * -1ms);--width: 30px;--scale: 1.2;--x: -14px;--y: 48px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(43){--rotate:77.4deg;--delayTime: calc(var(--speed) * 1000 * .215 * -1ms);--width: 30px;--scale: 1.4;--x: 2px;--y: 64px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(44){--rotate:79.2deg;--delayTime: calc(var(--speed) * 1000 * .22 * -1ms);--width: 30px;--scale: .6;--x: -27px;--y: -31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(45){--rotate:81deg;--delayTime: calc(var(--speed) * 1000 * .225 * -1ms);--width: 30px;--scale: 1;--x: 27px;--y: 81px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(46){--rotate:82.8deg;--delayTime: calc(var(--speed) * 1000 * .23 * -1ms);--width: 30px;--scale: .5;--x: 1px;--y: 31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(47){--rotate: calc(1.8 * 47 * 1deg);--delayTime: calc(var(--speed) * 1000 * .235 * -1ms);--width: 30px;--scale: .9;--x: -98px;--y: -57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(48){--rotate:86.4deg;--delayTime: calc(var(--speed) * 1000 * .24 * -1ms);--width: 30px;--scale: .7;--x: -71px;--y: 0px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(49){--rotate:88.2deg;--delayTime: calc(var(--speed) * 1000 * .245 * -1ms);--width: 30px;--scale: 1.4;--x: -39px;--y: 0px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(50){--rotate:90deg;--delayTime: calc(var(--speed) * 1000 * .25 * -1ms);--width: 30px;--scale: .9;--x: 98px;--y: 78px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(51){--rotate:91.8deg;--delayTime: calc(var(--speed) * 1000 * .255 * -1ms);--width: 30px;--scale: .8;--x: 45px;--y: -67px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(52){--rotate: calc(1.8 * 52 * 1deg);--delayTime: calc(var(--speed) * 1000 * .26 * -1ms);--width: 30px;--scale: 1.3;--x: 65px;--y: -33px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(53){--rotate:95.4deg;--delayTime: calc(var(--speed) * 1000 * .265 * -1ms);--width: 30px;--scale: .9;--x: 77px;--y: -56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(54){--rotate:97.2deg;--delayTime: calc(var(--speed) * 1000 * .27 * -1ms);--width: 30px;--scale: 1;--x: -82px;--y: 1px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(55){--rotate:99deg;--delayTime: calc(var(--speed) * 1000 * .275 * -1ms);--width: 30px;--scale: 1.3;--x: 19px;--y: 62px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(56){--rotate:100.8deg;--delayTime: calc(var(--speed) * 1000 * .28 * -1ms);--width: 30px;--scale: .9;--x: -67px;--y: 54px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(57){--rotate: calc(1.8 * 57 * 1deg);--delayTime: calc(var(--speed) * 1000 * .285 * -1ms);--width: 30px;--scale: 1.3;--x: -12px;--y: 85px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(58){--rotate:104.4deg;--delayTime: calc(var(--speed) * 1000 * .29 * -1ms);--width: 30px;--scale: 1.3;--x: 63px;--y: 38px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(59){--rotate:106.2deg;--delayTime: calc(var(--speed) * 1000 * .295 * -1ms);--width: 30px;--scale: .7;--x: 68px;--y: -12px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(60){--rotate:108deg;--delayTime: calc(var(--speed) * 1000 * .3 * -1ms);--width: 30px;--scale: 1.1;--x: -24px;--y: 3px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(61){--rotate:109.8deg;--delayTime: calc(var(--speed) * 1000 * .305 * -1ms);--width: 30px;--scale: 1.3;--x: -20px;--y: -20px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(62){--rotate: calc(1.8 * 62 * 1deg);--delayTime: calc(var(--speed) * 1000 * .31 * -1ms);--width: 30px;--scale: .6;--x: 78px;--y: -94px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(63){--rotate:113.4deg;--delayTime: calc(var(--speed) * 1000 * .315 * -1ms);--width: 30px;--scale: 1.3;--x: 71px;--y: -7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(64){--rotate:115.2deg;--delayTime: calc(var(--speed) * 1000 * .32 * -1ms);--width: 30px;--scale: .5;--x: 2px;--y: 64px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(65){--rotate:117deg;--delayTime: calc(var(--speed) * 1000 * .325 * -1ms);--width: 30px;--scale: 1.3;--x: 18px;--y: -51px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(66){--rotate:118.8deg;--delayTime: calc(var(--speed) * 1000 * .33 * -1ms);--width: 30px;--scale: 1.3;--x: 32px;--y: 68px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(67){--rotate: calc(1.8 * 67 * 1deg);--delayTime: calc(var(--speed) * 1000 * .335 * -1ms);--width: 30px;--scale: 1.3;--x: 4px;--y: -57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(68){--rotate:122.4deg;--delayTime: calc(var(--speed) * 1000 * .34 * -1ms);--width: 30px;--scale: .8;--x: 4px;--y: -6px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(69){--rotate:124.2deg;--delayTime: calc(var(--speed) * 1000 * .345 * -1ms);--width: 30px;--scale: .7;--x: -5px;--y: 91px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(70){--rotate:126deg;--delayTime: calc(var(--speed) * 1000 * .35 * -1ms);--width: 30px;--scale: .6;--x: 16px;--y: -68px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(71){--rotate:127.8deg;--delayTime: calc(var(--speed) * 1000 * .355 * -1ms);--width: 30px;--scale: .8;--x: 36px;--y: 72px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(72){--rotate:129.6deg;--delayTime: calc(var(--speed) * 1000 * .36 * -1ms);--width: 30px;--scale: 1.1;--x: -41px;--y: 66px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(73){--rotate:131.4deg;--delayTime: calc(var(--speed) * 1000 * .365 * -1ms);--width: 30px;--scale: 1;--x: 32px;--y: -62px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(74){--rotate: calc(1.8 * 74 * 1deg);--delayTime: calc(var(--speed) * 1000 * .37 * -1ms);--width: 30px;--scale: 1.4;--x: -9px;--y: 91px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(75){--rotate:135deg;--delayTime: calc(var(--speed) * 1000 * .375 * -1ms);--width: 30px;--scale: .7;--x: 69px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(76){--rotate:136.8deg;--delayTime: calc(var(--speed) * 1000 * .38 * -1ms);--width: 30px;--scale: 1.4;--x: 92px;--y: 28px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(77){--rotate:138.6deg;--delayTime: calc(var(--speed) * 1000 * .385 * -1ms);--width: 30px;--scale: .7;--x: 31px;--y: -93px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(78){--rotate:140.4deg;--delayTime: calc(var(--speed) * 1000 * .39 * -1ms);--width: 30px;--scale: .8;--x: 8px;--y: 30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(79){--rotate: calc(1.8 * 79 * 1deg);--delayTime: calc(var(--speed) * 1000 * .395 * -1ms);--width: 30px;--scale: 1.4;--x: 46px;--y: 5px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(80){--rotate:144deg;--delayTime: calc(var(--speed) * 1000 * .4 * -1ms);--width: 30px;--scale: .5;--x: -5px;--y: 3px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(81){--rotate:145.8deg;--delayTime: calc(var(--speed) * 1000 * .405 * -1ms);--width: 30px;--scale: 1.2;--x: 43px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(82){--rotate:147.6deg;--delayTime: calc(var(--speed) * 1000 * .41 * -1ms);--width: 30px;--scale: 1;--x: 38px;--y: -1px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(83){--rotate:149.4deg;--delayTime: calc(var(--speed) * 1000 * .415 * -1ms);--width: 30px;--scale: .9;--x: -70px;--y: 36px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(84){--rotate: calc(1.8 * 84 * 1deg);--delayTime: calc(var(--speed) * 1000 * .42 * -1ms);--width: 30px;--scale: 1;--x: -82px;--y: 20px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(85){--rotate:153deg;--delayTime: calc(var(--speed) * 1000 * .425 * -1ms);--width: 30px;--scale: .5;--x: -61px;--y: -42px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(86){--rotate:154.8deg;--delayTime: calc(var(--speed) * 1000 * .43 * -1ms);--width: 30px;--scale: 1.2;--x: -34px;--y: 65px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(87){--rotate:156.6deg;--delayTime: calc(var(--speed) * 1000 * .435 * -1ms);--width: 30px;--scale: 1.4;--x: -4px;--y: 12px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(88){--rotate:158.4deg;--delayTime: calc(var(--speed) * 1000 * .44 * -1ms);--width: 30px;--scale: 1.3;--x: 68px;--y: -87px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(89){--rotate: calc(1.8 * 89 * 1deg);--delayTime: calc(var(--speed) * 1000 * .445 * -1ms);--width: 30px;--scale: .7;--x: 36px;--y: -66px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(90){--rotate:162deg;--delayTime: calc(var(--speed) * 1000 * .45 * -1ms);--width: 30px;--scale: 1.4;--x: 77px;--y: -71px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(91){--rotate:163.8deg;--delayTime: calc(var(--speed) * 1000 * .455 * -1ms);--width: 30px;--scale: .6;--x: -72px;--y: -2px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(92){--rotate:165.6deg;--delayTime: calc(var(--speed) * 1000 * .46 * -1ms);--width: 30px;--scale: 1.3;--x: -64px;--y: -50px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(93){--rotate:167.4deg;--delayTime: calc(var(--speed) * 1000 * .465 * -1ms);--width: 30px;--scale: .8;--x: 18px;--y: -10px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(94){--rotate: calc(1.8 * 94 * 1deg);--delayTime: calc(var(--speed) * 1000 * .47 * -1ms);--width: 30px;--scale: .5;--x: 90px;--y: -84px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(95){--rotate:171deg;--delayTime: calc(var(--speed) * 1000 * .475 * -1ms);--width: 30px;--scale: 1.4;--x: 25px;--y: 45px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(96){--rotate:172.8deg;--delayTime: calc(var(--speed) * 1000 * .48 * -1ms);--width: 30px;--scale: .8;--x: 55px;--y: 61px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(97){--rotate:174.6deg;--delayTime: calc(var(--speed) * 1000 * .485 * -1ms);--width: 30px;--scale: 1.2;--x: -47px;--y: 14px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(98){--rotate:176.4deg;--delayTime: calc(var(--speed) * 1000 * .49 * -1ms);--width: 30px;--scale: 1.3;--x: -12px;--y: 21px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(99){--rotate: calc(1.8 * 99 * 1deg);--delayTime: calc(var(--speed) * 1000 * .495 * -1ms);--width: 30px;--scale: .9;--x: -60px;--y: -16px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(100){--rotate:180deg;--delayTime: calc(var(--speed) * 1000 * .5 * -1ms);--width: 30px;--scale: .8;--x: 77px;--y: 56px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(101){--rotate:181.8deg;--delayTime: calc(var(--speed) * 1000 * .505 * -1ms);--width: 30px;--scale: 1.2;--x: -97px;--y: -7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(102){--rotate:183.6deg;--delayTime: calc(var(--speed) * 1000 * .51 * -1ms);--width: 30px;--scale: 1;--x: -51px;--y: -54px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(103){--rotate:185.4deg;--delayTime: calc(var(--speed) * 1000 * .515 * -1ms);--width: 30px;--scale: 1.2;--x: 25px;--y: -57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(104){--rotate: calc(1.8 * 104 * 1deg);--delayTime: calc(var(--speed) * 1000 * .52 * -1ms);--width: 30px;--scale: .7;--x: -93px;--y: -37px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(105){--rotate:189deg;--delayTime: calc(var(--speed) * 1000 * .525 * -1ms);--width: 30px;--scale: .8;--x: -73px;--y: 71px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(106){--rotate:190.8deg;--delayTime: calc(var(--speed) * 1000 * .53 * -1ms);--width: 30px;--scale: .7;--x: 91px;--y: 11px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(107){--rotate:192.6deg;--delayTime: calc(var(--speed) * 1000 * .535 * -1ms);--width: 30px;--scale: 1;--x: 99px;--y: -70px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(108){--rotate:194.4deg;--delayTime: calc(var(--speed) * 1000 * .54 * -1ms);--width: 30px;--scale: 1.1;--x: -26px;--y: 58px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(109){--rotate: calc(1.8 * 109 * 1deg);--delayTime: calc(var(--speed) * 1000 * .545 * -1ms);--width: 30px;--scale: .8;--x: -76px;--y: 63px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(110){--rotate:198deg;--delayTime: calc(var(--speed) * 1000 * .55 * -1ms);--width: 30px;--scale: .8;--x: -61px;--y: 6px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(111){--rotate:199.8deg;--delayTime: calc(var(--speed) * 1000 * .555 * -1ms);--width: 30px;--scale: 1.3;--x: -37px;--y: 77px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(112){--rotate:201.6deg;--delayTime: calc(var(--speed) * 1000 * .56 * -1ms);--width: 30px;--scale: .7;--x: -96px;--y: 27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(113){--rotate:203.4deg;--delayTime: calc(var(--speed) * 1000 * .565 * -1ms);--width: 30px;--scale: 1.3;--x: 91px;--y: -41px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(114){--rotate: calc(1.8 * 114 * 1deg);--delayTime: calc(var(--speed) * 1000 * .57 * -1ms);--width: 30px;--scale: 1.4;--x: -7px;--y: -61px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(115){--rotate:207deg;--delayTime: calc(var(--speed) * 1000 * .575 * -1ms);--width: 30px;--scale: 1;--x: -47px;--y: 95px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(116){--rotate:208.8deg;--delayTime: calc(var(--speed) * 1000 * .58 * -1ms);--width: 30px;--scale: .5;--x: -89px;--y: -71px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(117){--rotate:210.6deg;--delayTime: calc(var(--speed) * 1000 * .585 * -1ms);--width: 30px;--scale: .6;--x: 76px;--y: -20px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(118){--rotate:212.4deg;--delayTime: calc(var(--speed) * 1000 * .59 * -1ms);--width: 30px;--scale: .6;--x: -68px;--y: 41px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(119){--rotate: calc(1.8 * 119 * 1deg);--delayTime: calc(var(--speed) * 1000 * .595 * -1ms);--width: 30px;--scale: .8;--x: 34px;--y: -16px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(120){--rotate:216deg;--delayTime: calc(var(--speed) * 1000 * .6 * -1ms);--width: 30px;--scale: .9;--x: 14px;--y: -43px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(121){--rotate:217.8deg;--delayTime: calc(var(--speed) * 1000 * .605 * -1ms);--width: 30px;--scale: .5;--x: 0px;--y: 41px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(122){--rotate:219.6deg;--delayTime: calc(var(--speed) * 1000 * .61 * -1ms);--width: 30px;--scale: 1.4;--x: 24px;--y: 84px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(123){--rotate:221.4deg;--delayTime: calc(var(--speed) * 1000 * .615 * -1ms);--width: 30px;--scale: 1.3;--x: 66px;--y: -72px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(124){--rotate: calc(1.8 * 124 * 1deg);--delayTime: calc(var(--speed) * 1000 * .62 * -1ms);--width: 30px;--scale: 1.2;--x: 8px;--y: 13px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(125){--rotate:225deg;--delayTime: calc(var(--speed) * 1000 * .625 * -1ms);--width: 30px;--scale: 1.2;--x: 20px;--y: 9px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(126){--rotate:226.8deg;--delayTime: calc(var(--speed) * 1000 * .63 * -1ms);--width: 30px;--scale: 1.4;--x: 52px;--y: -24px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(127){--rotate:228.6deg;--delayTime: calc(var(--speed) * 1000 * .635 * -1ms);--width: 30px;--scale: .9;--x: 50px;--y: 4px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(128){--rotate:230.4deg;--delayTime: calc(var(--speed) * 1000 * .64 * -1ms);--width: 30px;--scale: 1.3;--x: 30px;--y: -75px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(129){--rotate: calc(1.8 * 129 * 1deg);--delayTime: calc(var(--speed) * 1000 * .645 * -1ms);--width: 30px;--scale: 1.2;--x: -65px;--y: 41px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(130){--rotate:234deg;--delayTime: calc(var(--speed) * 1000 * .65 * -1ms);--width: 30px;--scale: 1.3;--x: -42px;--y: 31px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(131){--rotate:235.8deg;--delayTime: calc(var(--speed) * 1000 * .655 * -1ms);--width: 30px;--scale: 1.4;--x: 20px;--y: 82px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(132){--rotate:237.6deg;--delayTime: calc(var(--speed) * 1000 * .66 * -1ms);--width: 30px;--scale: .7;--x: 19px;--y: -61px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(133){--rotate:239.4deg;--delayTime: calc(var(--speed) * 1000 * .665 * -1ms);--width: 30px;--scale: 1.4;--x: 67px;--y: 85px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(134){--rotate: calc(1.8 * 134 * 1deg);--delayTime: calc(var(--speed) * 1000 * .67 * -1ms);--width: 30px;--scale: .6;--x: 48px;--y: 29px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(135){--rotate:243deg;--delayTime: calc(var(--speed) * 1000 * .675 * -1ms);--width: 30px;--scale: .9;--x: 19px;--y: 14px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(136){--rotate:244.8deg;--delayTime: calc(var(--speed) * 1000 * .68 * -1ms);--width: 30px;--scale: 1;--x: -17px;--y: 83px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(137){--rotate:246.6deg;--delayTime: calc(var(--speed) * 1000 * .685 * -1ms);--width: 30px;--scale: .8;--x: 24px;--y: 10px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(138){--rotate:248.4deg;--delayTime: calc(var(--speed) * 1000 * .69 * -1ms);--width: 30px;--scale: .6;--x: -17px;--y: -40px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(139){--rotate: calc(1.8 * 139 * 1deg);--delayTime: calc(var(--speed) * 1000 * .695 * -1ms);--width: 30px;--scale: .6;--x: 44px;--y: 57px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(140){--rotate:252deg;--delayTime: calc(var(--speed) * 1000 * .7 * -1ms);--width: 30px;--scale: 1.2;--x: 58px;--y: -66px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(141){--rotate:253.8deg;--delayTime: calc(var(--speed) * 1000 * .705 * -1ms);--width: 30px;--scale: .6;--x: -23px;--y: -30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(142){--rotate:255.6deg;--delayTime: calc(var(--speed) * 1000 * .71 * -1ms);--width: 30px;--scale: 1.4;--x: -14px;--y: 76px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(143){--rotate: calc(1.8 * 143 * 1deg);--delayTime: calc(var(--speed) * 1000 * .715 * -1ms);--width: 30px;--scale: .6;--x: 43px;--y: 39px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(144){--rotate:259.2deg;--delayTime: calc(var(--speed) * 1000 * .72 * -1ms);--width: 30px;--scale: .6;--x: -59px;--y: -26px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(145){--rotate:261deg;--delayTime: calc(var(--speed) * 1000 * .725 * -1ms);--width: 30px;--scale: .5;--x: 85px;--y: 47px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(146){--rotate:262.8deg;--delayTime: calc(var(--speed) * 1000 * .73 * -1ms);--width: 30px;--scale: 1.4;--x: -18px;--y: 20px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(147){--rotate:264.6deg;--delayTime: calc(var(--speed) * 1000 * .735 * -1ms);--width: 30px;--scale: 1.3;--x: 45px;--y: 96px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(148){--rotate: calc(1.8 * 148 * 1deg);--delayTime: calc(var(--speed) * 1000 * .74 * -1ms);--width: 30px;--scale: .6;--x: -67px;--y: -70px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(149){--rotate:268.2deg;--delayTime: calc(var(--speed) * 1000 * .745 * -1ms);--width: 30px;--scale: .9;--x: -26px;--y: -22px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(150){--rotate:270deg;--delayTime: calc(var(--speed) * 1000 * .75 * -1ms);--width: 30px;--scale: 1.4;--x: 77px;--y: 3px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(151){--rotate:271.8deg;--delayTime: calc(var(--speed) * 1000 * .755 * -1ms);--width: 30px;--scale: 1.3;--x: 97px;--y: 73px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(152){--rotate:273.6deg;--delayTime: calc(var(--speed) * 1000 * .76 * -1ms);--width: 30px;--scale: 1.4;--x: 29px;--y: -32px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(153){--rotate: calc(1.8 * 153 * 1deg);--delayTime: calc(var(--speed) * 1000 * .765 * -1ms);--width: 30px;--scale: .5;--x: 74px;--y: 46px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(154){--rotate:277.2deg;--delayTime: calc(var(--speed) * 1000 * .77 * -1ms);--width: 30px;--scale: .8;--x: -79px;--y: 7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(155){--rotate:279deg;--delayTime: calc(var(--speed) * 1000 * .775 * -1ms);--width: 30px;--scale: .9;--x: 28px;--y: 73px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(156){--rotate:280.8deg;--delayTime: calc(var(--speed) * 1000 * .78 * -1ms);--width: 30px;--scale: .8;--x: 34px;--y: 25px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(157){--rotate:282.6deg;--delayTime: calc(var(--speed) * 1000 * .785 * -1ms);--width: 30px;--scale: .7;--x: -60px;--y: -86px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(158){--rotate: calc(1.8 * 158 * 1deg);--delayTime: calc(var(--speed) * 1000 * .79 * -1ms);--width: 30px;--scale: 1.1;--x: 43px;--y: 8px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(159){--rotate:286.2deg;--delayTime: calc(var(--speed) * 1000 * .795 * -1ms);--width: 30px;--scale: 1.2;--x: -41px;--y: 30px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(160){--rotate:288deg;--delayTime: calc(var(--speed) * 1000 * .8 * -1ms);--width: 30px;--scale: .7;--x: 81px;--y: -5px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(161){--rotate:289.8deg;--delayTime: calc(var(--speed) * 1000 * .805 * -1ms);--width: 30px;--scale: .7;--x: -43px;--y: 9px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(162){--rotate:291.6deg;--delayTime: calc(var(--speed) * 1000 * .81 * -1ms);--width: 30px;--scale: 1.4;--x: -23px;--y: -54px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(163){--rotate: calc(1.8 * 163 * 1deg);--delayTime: calc(var(--speed) * 1000 * .815 * -1ms);--width: 30px;--scale: 1.1;--x: 1px;--y: -42px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(164){--rotate:295.2deg;--delayTime: calc(var(--speed) * 1000 * .82 * -1ms);--width: 30px;--scale: 1;--x: -81px;--y: 62px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(165){--rotate:297deg;--delayTime: calc(var(--speed) * 1000 * .825 * -1ms);--width: 30px;--scale: 1;--x: -23px;--y: 70px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(166){--rotate:298.8deg;--delayTime: calc(var(--speed) * 1000 * .83 * -1ms);--width: 30px;--scale: 1;--x: 14px;--y: -23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(167){--rotate:300.6deg;--delayTime: calc(var(--speed) * 1000 * .835 * -1ms);--width: 30px;--scale: .8;--x: -9px;--y: -95px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(168){--rotate: calc(1.8 * 168 * 1deg);--delayTime: calc(var(--speed) * 1000 * .84 * -1ms);--width: 30px;--scale: 1;--x: 36px;--y: -88px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(169){--rotate:304.2deg;--delayTime: calc(var(--speed) * 1000 * .845 * -1ms);--width: 30px;--scale: 1.3;--x: 18px;--y: -44px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(170){--rotate:306deg;--delayTime: calc(var(--speed) * 1000 * .85 * -1ms);--width: 30px;--scale: .7;--x: -49px;--y: -11px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(171){--rotate:307.8deg;--delayTime: calc(var(--speed) * 1000 * .855 * -1ms);--width: 30px;--scale: .9;--x: -7px;--y: -51px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(172){--rotate:309.6deg;--delayTime: calc(var(--speed) * 1000 * .86 * -1ms);--width: 30px;--scale: .7;--x: 87px;--y: 54px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(173){--rotate: calc(1.8 * 173 * 1deg);--delayTime: calc(var(--speed) * 1000 * .865 * -1ms);--width: 30px;--scale: .8;--x: 0px;--y: -97px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(174){--rotate:313.2deg;--delayTime: calc(var(--speed) * 1000 * .87 * -1ms);--width: 30px;--scale: 1.1;--x: -11px;--y: -69px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(175){--rotate:315deg;--delayTime: calc(var(--speed) * 1000 * .875 * -1ms);--width: 30px;--scale: 1.4;--x: 72px;--y: 21px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(176){--rotate:316.8deg;--delayTime: calc(var(--speed) * 1000 * .88 * -1ms);--width: 30px;--scale: .9;--x: 94px;--y: -6px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(177){--rotate:318.6deg;--delayTime: calc(var(--speed) * 1000 * .885 * -1ms);--width: 30px;--scale: 1.3;--x: -8px;--y: 34px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(178){--rotate: calc(1.8 * 178 * 1deg);--delayTime: calc(var(--speed) * 1000 * .89 * -1ms);--width: 30px;--scale: .7;--x: -96px;--y: 54px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(179){--rotate:322.2deg;--delayTime: calc(var(--speed) * 1000 * .895 * -1ms);--width: 30px;--scale: 1.2;--x: 8px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(180){--rotate:324deg;--delayTime: calc(var(--speed) * 1000 * .9 * -1ms);--width: 30px;--scale: .6;--x: 44px;--y: 23px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(181){--rotate:325.8deg;--delayTime: calc(var(--speed) * 1000 * .905 * -1ms);--width: 30px;--scale: .9;--x: -19px;--y: -3px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(182){--rotate:327.6deg;--delayTime: calc(var(--speed) * 1000 * .91 * -1ms);--width: 30px;--scale: .6;--x: 75px;--y: 7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(183){--rotate: calc(1.8 * 183 * 1deg);--delayTime: calc(var(--speed) * 1000 * .915 * -1ms);--width: 30px;--scale: .5;--x: -45px;--y: 28px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(184){--rotate:331.2deg;--delayTime: calc(var(--speed) * 1000 * .92 * -1ms);--width: 30px;--scale: 1.1;--x: 61px;--y: 91px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(185){--rotate:333deg;--delayTime: calc(var(--speed) * 1000 * .925 * -1ms);--width: 30px;--scale: 1.2;--x: -39px;--y: 40px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(186){--rotate:334.8deg;--delayTime: calc(var(--speed) * 1000 * .93 * -1ms);--width: 30px;--scale: 1.1;--x: 71px;--y: -27px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(187){--rotate:336.6deg;--delayTime: calc(var(--speed) * 1000 * .935 * -1ms);--width: 30px;--scale: .5;--x: -50px;--y: -81px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(188){--rotate: calc(1.8 * 188 * 1deg);--delayTime: calc(var(--speed) * 1000 * .94 * -1ms);--width: 30px;--scale: .7;--x: -24px;--y: 19px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(189){--rotate:340.2deg;--delayTime: calc(var(--speed) * 1000 * .945 * -1ms);--width: 30px;--scale: 1.1;--x: 59px;--y: 68px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(190){--rotate:342deg;--delayTime: calc(var(--speed) * 1000 * .95 * -1ms);--width: 30px;--scale: .7;--x: -85px;--y: 35px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(191){--rotate:343.8deg;--delayTime: calc(var(--speed) * 1000 * .955 * -1ms);--width: 30px;--scale: .8;--x: -68px;--y: -7px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(192){--rotate:345.6deg;--delayTime: calc(var(--speed) * 1000 * .96 * -1ms);--width: 30px;--scale: 1;--x: -71px;--y: -47px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(193){--rotate: calc(1.8 * 193 * 1deg);--delayTime: calc(var(--speed) * 1000 * .965 * -1ms);--width: 30px;--scale: .8;--x: -22px;--y: -98px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(194){--rotate:349.2deg;--delayTime: calc(var(--speed) * 1000 * .97 * -1ms);--width: 30px;--scale: 1;--x: -70px;--y: 8px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(195){--rotate:351deg;--delayTime: calc(var(--speed) * 1000 * .975 * -1ms);--width: 30px;--scale: .7;--x: -11px;--y: 25px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(196){--rotate:352.8deg;--delayTime: calc(var(--speed) * 1000 * .98 * -1ms);--width: 30px;--scale: 1.1;--x: 19px;--y: 58px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(197){--rotate:354.6deg;--delayTime: calc(var(--speed) * 1000 * .985 * -1ms);--width: 30px;--scale: .9;--x: -76px;--y: -51px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(198){--rotate: calc(1.8 * 198 * 1deg);--delayTime: calc(var(--speed) * 1000 * .99 * -1ms);--width: 30px;--scale: .9;--x: 53px;--y: 98px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(199){--rotate:358.2deg;--delayTime: calc(var(--speed) * 1000 * .995 * -1ms);--width: 30px;--scale: .6;--x: -63px;--y: -97px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}.ljs-loading .g-container .g-bubble[data-v-474ec553]:nth-child(200){--rotate:360deg;--delayTime: calc(var(--speed) * 1000 * 1 * -1ms);--width: 30px;--scale: 1;--x: -41px;--y: 50px;width:var(--width);height:var(--width);transform:rotate(var(--rotate)) translate(135px);opacity:1;animation:showAndHide-474ec553 calc(var(--speed)*1s) linear var(--delayTime) infinite}@keyframes showAndHide-474ec553{0%{transform:rotate(var(--rotate)) translate(135px);opacity:0}75%{opacity:0}75.1%{transform:rotate(var(--rotate)) translate(135px) scale(var(--scale));opacity:1}to{transform:rotate(var(--rotate)) translate(calc(135px + var(--x)),var(--y)) scale(.2);opacity:0}}@keyframes rotate-474ec553{to{transform:rotate(-360deg)}}@keyframes hueRotate-474ec553{to{filter:blur(calc(var(--gaussian) * 1px)) contrast(3) hue-rotate(360deg)}}.pagination[data-v-fc144f23]{margin-top:18px;display:flex;align-items:center;justify-content:space-between;width:100%}.pagination[data-v-fc144f23] .el-pagination.is-background .btn-next,.pagination[data-v-fc144f23] .el-pagination.is-background .btn-prev{background-color:#fff;border:1px solid #e6ecf2}.pagination p[data-v-fc144f23]{font-weight:400;font-size:14px;color:#60769c;text-align:left;line-height:22px}.pagination .note[data-v-fc144f23]{max-width:400px;font-size:12px;color:#a84815}.rightMenu[data-v-a4322b42]{position:fixed;top:0;left:0;z-index:1000;background-color:#fff;box-shadow:0 2px 8px #00002666;border-radius:4px;padding:5px 0}.rightMenu[data-v-a4322b42] .item{padding:7px 12px;cursor:pointer;font-size:13px}.rightMenu[data-v-a4322b42] .item:hover{color:#4ea5ff;background-color:#ecf5ff}.rightMenu[data-v-a4322b42] .item.disable{color:#999;background-color:transparent!important;cursor:not-allowed}.rightMenu[data-v-a4322b42] .item .icon{margin-right:8px;font-size:12px}.rightMenu.show[data-v-a4322b42]{animation:show-a4322b42 .3s 1;-webkit-animation:show-a4322b42 .3s 1}@keyframes show-a4322b42{0%{opacity:0;margin-top:50px}to{opacity:1;margin-top:0}}@-webkit-keyframes show-a4322b42{0%{opacity:0;margin-top:50px}to{opacity:1;margin-top:0}}.frequency[data-v-2df59daa]{width:calc(32px * var(--dateTypeNum) + 10px * (var(--dateTypeNum) - 1));height:32px;float:left;overflow:hidden;margin-right:15px}.frequency .one[data-v-2df59daa]{width:32px;height:32px;float:left;line-height:30px;text-align:center;border:1px solid #CCC;font-size:12px;color:#666;border-radius:50%;margin-right:10px;box-sizing:border-box;cursor:pointer}.frequency .one[data-v-2df59daa]:last-child{margin-right:0}.frequency .one.active[data-v-2df59daa]{line-height:28px;border:2px solid #386DD8;color:#386dd8}.frequencyDate[data-v-2df59daa]{overflow:hidden;float:left}.frequencyDate .oneDate[data-v-2df59daa]{width:130px;float:left}.frequencyDate .line[data-v-2df59daa]{float:left;height:32px;line-height:30px;margin:0 5px;color:#666}.frequencyDate-enter[data-v-2df59daa],.frequencyDate-leave-to[data-v-2df59daa]{opacity:0}.frequencyDate-enter-active[data-v-2df59daa],.frequencyDate-leave-active[data-v-2df59daa]{transition:all .5s}.frequency[data-v-43652919]{width:calc(32px * var(--dateTypeNum) + 10px * (var(--dateTypeNum) - 1));height:32px;float:left;overflow:hidden;margin-right:15px}.frequency .one[data-v-43652919]{width:32px;height:32px;float:left;line-height:30px;text-align:center;border:1px solid #CCC;font-size:12px;color:#666;border-radius:50%;margin-right:10px;box-sizing:border-box;cursor:pointer}.frequency .one[data-v-43652919]:last-child{margin-right:0}.frequency .one.active[data-v-43652919]{line-height:28px;border:2px solid #386DD8;color:#386dd8}.frequencyDate[data-v-43652919]{overflow:hidden;float:left}.frequencyDate .oneDate[data-v-43652919]{width:130px;float:left}.frequencyDate .line[data-v-43652919]{float:left;height:32px;line-height:30px;margin:0 5px;color:#666}.frequencyDate-enter[data-v-43652919],.frequencyDate-leave-to[data-v-43652919]{opacity:0}.frequencyDate-enter-active[data-v-43652919],.frequencyDate-leave-active[data-v-43652919]{transition:all .5s}.zhi[data-v-43652919]{margin:0 5px}.and[data-v-bb586ec7]{margin:0 .1875rem}.el-tag+.el-tag[data-v-f2de2f23]{margin-left:10px}.particles-js-box[data-v-6254d928]{position:fixed;width:100%;height:100%;top:0;left:0;z-index:1}#particles-js[data-v-6254d928]{background-color:transparent;width:100%;height:100%}\n',document.head.appendChild(c);const d={setRemUnit:function(){var e=document.documentElement,t=e.clientWidth/120;e.style.fontSize=t+"px"},getTreeParents:function e(t,r,i,n=[]){const a=t.length;for(let o=0;o<a;o++){if(t[o][i]===r)return n.unshift(t[o]),n;if(void 0!==t[o].children&&(n=e(t[o].children,r,i,n)).length>0&&n[n.length-1][i]===r)return n.unshift(t[o]),n}return n},editTreeParentIdCheck:function e(t,r,i="id",n=!1){if(!t)return;const a=t.length;for(let o=0;o<a;o++)t[o].disabled=n,t[o][i]===r?(t[o].disabled=!0,t[o].children=e(t[o].children,r,i,!0)):void 0!==t[o].children&&(t[o].children=e(t[o].children,r,i,n));return t},handleTreeList:function(e){const t=[];if(!e||!e.length)return[];for(let r=0;r<e.length;r++){let i=e[r],n=JSON.parse(JSON.stringify(i));n.children=void 0,t.push(n),this.handleTreeList(i.children,t)}return t},colorLog:h,selectDictLabel:function(e,t,r="label",i="value",n=!1){if(void 0===t)return"";var a=[];return Object.keys(e).some((n=>{if(e[n][i]==""+t)return a.push(e[n][r]),!0})),0===a.length&&a.push(t),n?a[0]:a.join("")},getUrlParameter:function(e){let t=location.search;if(""===t||0===t.length)return null;t=t.slice(1,t.length);const r=t.split("&"),i=r.length;for(let n=0;n<i;n++){const t=r[n].split("=");if(t[0]===e){if(2===t.length)return t[1];break}}return null},downloadImage:function(e,t,r=(new Date).valueOf()){let i=new Image;i.setAttribute("crossOrigin","anonymous"),i.src=t+"?time="+(new Date).valueOf(),e.$nextTick((()=>{i.onload=()=>{const e=document.createElement("canvas");e.width=i.width,e.height=i.height;e.getContext("2d").drawImage(i,0,0,i.width,i.height),e.toBlob((e=>{const t=URL.createObjectURL(e),i=document.createElement("a");i.download=r,i.href=t,i.click(),i.remove(),URL.revokeObjectURL(t)}))}}))},fieldCheck:function(e){return null==e||""===e},imageFileToBase64:function(e){return e instanceof Blob||e instanceof File?new Promise(((t,r)=>{const i=new FileReader;i.onloadend=()=>t(i.result);try{i.readAsDataURL(e)}catch(n){r(n)}})):""},getWindowRatio:function(){var e=0,t=window.screen,r=navigator.userAgent.toLowerCase();return void 0!==window.devicePixelRatio?e=window.devicePixelRatio:~r.indexOf("msie")?t.deviceXDPI&&t.logicalXDPI&&(e=t.deviceXDPI/t.logicalXDPI):void 0!==window.outerWidth&&void 0!==window.innerWidth&&(e=window.outerWidth/window.innerWidth),e&&(e=Math.round(100*e)),e},deepCopy:function e(t){let r=Array.isArray(t)?[]:{};for(let i in t)t.hasOwnProperty(i)&&("object"==typeof t[i]&&null!==t[i]?r[i]=e(t[i]):r[i]=t[i]);return r}};h(["line","***********************************"]);h(["技术支持:","龙九山"]);h(["line","***********************************"]);const u=1e-14;function p(e,t=2){return f(e)&&(e+="").indexOf(".")>-1&&e.split(".")[1].length>t?((e=Number(e))+u).toFixed(t):e}function f(e){const t=typeof e;return"number"===t||"string"===t&&!isNaN(Number(e,10))}const g={numberB0:function(e,t=2,r="0"){if(f(e)){const i=t-(e=e.toString()).length;let n="";for(let e=0;e<i;e++)n+=r;return n+e}return e},longNumText:function(e,t=2){if(f(e)){let r="";const i=Number(e)<0?-1:1,n=Math.abs(Number(e));return n<1e4?r=i*n:n>=1e4&&n<1e8?r=i*(n/1e4+u).toFixed(t)+"万":n>=1e8&&n<1e12?r=i*(n/1e8+u).toFixed(t)+"亿":n>=1e12&&(r=i*(n/1e12+u).toFixed(t)+"万亿"),r}return e},numberCeil:function(e){if(f(e)){const t=((e=Math.ceil(e))+"").length,r=Math.pow(10,t-1);return Math.ceil(e/r)*r}return e},moneySplit:function(e,t=4,r=","){if(f(e)){var i=(e+="").split("."),n=i[0],a=i.length>1?"."+i[1]:"";const o=new RegExp("(\\d+)(\\d{"+t+"})");for(;o.test(n);)n=n.replace(o,"$1"+r+"$2");return n+a}return e},numberChangeDecimal:p,averageNum:function(e,t=12,r=2){const i=((e=Number(e))/t).toFixed(r),n=[];for(let a=0;a<t;a++)a<t-1?n.push(i):n.push(p(e-i*(t-1),r));return n}};function m(e,t){const r=new Date(e),i=t||"{y}-{m}-{d} {h}:{i}:{s}",n={y:r.getFullYear(),m:g.numberB0(r.getMonth()+1),d:g.numberB0(r.getDate()),h:g.numberB0(r.getHours()),i:g.numberB0(r.getMinutes()),s:g.numberB0(r.getSeconds()),MS:r.getMilliseconds()};return i.replace(/{(y|m|d|h|i|s|MS)+}/g,((e,t)=>n[t]))}const v={formatTime:m,dateQjChange:function(e,t=1){if(""===e[0]||null===e[0])return e;const r=new Date(e[0]),i=new Date(e[1]);switch(void 0===t&&(t=1),t){case 1:return[r.getFullYear()+"-"+g.numberB0(r.getMonth()+1)+"-"+g.numberB0(r.getDate())+" 00:00:00",i.getFullYear()+"-"+g.numberB0(i.getMonth()+1)+"-"+g.numberB0(i.getDate())+" 23:59:59"];case 2:return[r.getFullYear()+"-"+g.numberB0(r.getMonth()+1)+"-"+g.numberB0(r.getDate())+" "+g.numberB0(r.getHours())+":00:00",i.getFullYear()+"-"+g.numberB0(i.getMonth()+1)+"-"+g.numberB0(i.getDate())+" "+g.numberB0(i.getHours())+":59:59"];case 3:return[r.getFullYear()+"-"+g.numberB0(r.getMonth()+1)+"-"+g.numberB0(r.getDate())+" "+g.numberB0(r.getHours())+":"+g.numberB0(r.getMinutes())+":00",i.getFullYear()+"-"+g.numberB0(i.getMonth()+1)+"-"+g.numberB0(i.getDate())+" "+g.numberB0(i.getHours())+":"+g.numberB0(i.getMinutes())+":59"]}return e},timeRunDistance:function({time:e=0,showTag:t=["天","小时","分钟","秒","毫秒"],showAll:r=!0}){if(e<0)return;const i=1e3,n=6e4,a=60*n,o=24*a,s=[0,0,0,0,0];if(e>=o){const t=Math.floor(e/o);s[0]=t,e-=o*t}if(e>=a){const t=Math.floor(e/a);s[1]=t,e-=a*t}if(e>=n){const t=Math.floor(e/n);s[2]=t,e-=n*t}if(e>=i){const t=Math.floor(e/i);s[3]=t,e-=i*t}s[4]=e;let l=!1;r&&(l=!0);let c="";return s.forEach(((e,r)=>{l||0===e||(l=!0),l&&(c+=e+t[r])})),c},initSearchDate:function(e=10,t=!1){let r="",i="",n="{y}-{m}-{d}";return t&&(n="{y}-{m}-{d} {h}:{i}:{s}"),r=m((new Date).getTime()-864e5*(e-1),n),i=m(new Date,n),[r,i]},initSearchDateQj:function(e="date",t=0){const r=new Date;let i="",n="";switch(e){case"datetime":i=m(r,"{y}-{m}-{d} 00:00:00"),n=m(r,"{y}-{m}-{d} {h}:{i}:{s}");break;case"date":i=m(r,"{y}-{m}-01"),n=m(r,"{y}-{m}-{d}");break;case"month":i=m(r,"{y}-01"),n=m(r,"{y}-{m}");break;case"year":i=r.getFullYear()-5*(t+1),n=r.getFullYear()}return[i,n]}};let y=Date.now();let b=0;const w={numCheck:function(e,t="num",r="Number",i=!0){"Number"!==r||i||(e[t]="0"===e[t].slice(0,1)?"":e[t]),e[t]=e[t].replace(/[^\d]/g,""),"Number"===r&&e[t].length>0&&(e[t]=Number(e[t]))},numEnCheck:function(e,t="username"){e[t]=e[t]+"",e[t]=e[t].replace(/[^\w]/g,""),e[t]=e[t].replace(/\_/g,"")},numDxsCheck:function(e){const t={form:null,key:"money",zs:"",ws:"",type:"Number",fu:!1};for(let a in e)t[a]=e[a];const r=t.form,i=t.key;r[i]=r[i]+"","Number"===t.type&&("0"===r[i].slice(0,1)&&(r[i]="."!==r[i].slice(1,2)?"0":r[i]),"-"===r[i].slice(0,1)&&(r[i]="."===r[i].slice(1,2)?"-":r[i]),"-0"===r[i].slice(0,2)&&(r[i]="."!==r[i].slice(2,3)?"-0":r[i])),t.fu?r[i]=r[i].replace(/[^\d.-]/g,""):r[i]=r[i].replace(/[^\d.]/g,""),r[i]=r[i].replace(/^\./g,""),r[i]=r[i].replace(/\.{2,}/g,"."),r[i]=r[i].slice(0,1)+r[i].slice(1,r[i].length).replace(/\-/g,"");const n=new RegExp("^(\\-)*(\\d+)\\.(\\d{0,"+t.ws+"}).*$");if(""!==t.zs&&r[i].length>0){const e=r[i].split(".");let n=e[0],a="";n.length>t.zs&&(n=n.slice(0,t.zs)),e.length>1?(a=e[1],r[i]=n+"."+a):r[i]=n}r[i]=r[i].replace(n,"$1$2.$3")},downloadBlobData:function(e,t){const r=document.createElement("a"),i=new Blob([e],{type:"application/vnd.ms-excel"});r.style.display="none",r.href=URL.createObjectURL(i),r.setAttribute("download",t),document.body.appendChild(r),r.click(),document.body.removeChild(r)},pickerOptions:function(e="3",t=0,r=["1","2","3"]){let i=null,n=null;switch(y=Date.now(),e){case r[2]:y+=864e5*t;break;case r[1]:i=new Date(y).getFullYear(),n=new Date(y).getMonth()+t,n<0?(i+=t,n=12):n+=1,y=new Date(`${i}-${n}`).getTime();break;case r[0]:i=new Date(y).getFullYear(),i+=t,y=new Date(`${i}-01`).getTime()}return e=>e.getTime()>y},pickerOptionsDynamic:function(e=30,t){b=t?v.formatTime(t[0],"{y}-{m}-{d}"):0;const r=864e5*e;return e=>{if(0===b)return e.getTime()>Date.now()||e.getTime()<b;{const t=new Date(b).getTime()+r-864e5,i=new Date(b).getTime()-r;return t>=Date.now()?e.getTime()>Date.now()||e.getTime()<i:e.getTime()>t||e.getTime()<i}}}};const _={pieChange:function(e,t={name:"name",key:"val"}){if(0===e.length)return e;const r={name:"name",key:"val"};for(let a in t)r[a]=t[a];let i=0;if(e.forEach((e=>{e.proportion=0,i+=Number(e[r.key])})),i>0){let t={value:0,index:-1};e.forEach(((e,n)=>{e[r.key]=0==e[r.key]?null:e[r.key];const a=g.numberChangeDecimal(Number(e[r.key])/i*100),o=Number(a);Number(t.value)<o&&(t={value:a,index:n}),e.proportion=0===o&&Number(e[r.key])>0?.01:o})),e[t.index].proportion=100,e.forEach(((r,i)=>{i!==t.index&&(e[t.index].proportion=g.numberChangeDecimal(e[t.index].proportion-Number(r.proportion)))}))}const n=[];return e.forEach((e=>{n.push({name:e[r.name],value:e[r.key],proportion:e.proportion+"%"})})),n}};var x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S(e){if(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 i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})})),r}var T={exports:{}};var k={exports:{}};const A=S(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var C;function B(){return C||(C=1,k.exports=(e=e||function(e,t){var r;if("undefined"!=typeof window&&window.crypto&&(r=window.crypto),"undefined"!=typeof self&&self.crypto&&(r=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(r=globalThis.crypto),!r&&"undefined"!=typeof window&&window.msCrypto&&(r=window.msCrypto),!r&&void 0!==x&&x.crypto&&(r=x.crypto),!r)try{r=A}catch(g){}var i=function(){if(r){if("function"==typeof r.getRandomValues)try{return r.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"==typeof r.randomBytes)try{return r.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},o=a.lib={},s=o.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=o.WordArray=s.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||h).stringify(this)},concat:function(e){var t=this.words,r=e.words,i=this.sigBytes,n=e.sigBytes;if(this.clamp(),i%4)for(var a=0;a<n;a++){var o=r[a>>>2]>>>24-a%4*8&255;t[i+a>>>2]|=o<<24-(i+a)%4*8}else for(var s=0;s<n;s+=4)t[i+s>>>2]=r[s>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=s.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push(i());return new l.init(t,e)}}),c=a.enc={},h=c.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],n=0;n<r;n++){var a=t[n>>>2]>>>24-n%4*8&255;i.push((a>>>4).toString(16)),i.push((15&a).toString(16))}return i.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i+=2)r[i>>>3]|=parseInt(e.substr(i,2),16)<<24-i%8*4;return new l.init(r,t/2)}},d=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],n=0;n<r;n++){var a=t[n>>>2]>>>24-n%4*8&255;i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var t=e.length,r=[],i=0;i<t;i++)r[i>>>2]|=(255&e.charCodeAt(i))<<24-i%4*8;return new l.init(r,t)}},u=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=o.BufferedBlockAlgorithm=s.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=u.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,i=this._data,n=i.words,a=i.sigBytes,o=this.blockSize,s=a/(4*o),c=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*o,h=e.min(4*c,a);if(c){for(var d=0;d<c;d+=o)this._doProcessBlock(n,d);r=n.splice(0,c),i.sigBytes-=h}return new l.init(r,h)},clone:function(){var e=s.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});o.Hasher=p.extend({cfg:s.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,r){return new e.init(r).finalize(t)}},_createHmacHelper:function(e){return function(t,r){return new f.HMAC.init(e,r).finalize(t)}}});var f=a.algo={};return a}(Math),e)),k.exports;var e}var I,R={exports:{}};function M(){return I||(I=1,R.exports=(o=B(),r=(t=o).lib,i=r.Base,n=r.WordArray,(a=t.x64={}).Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],i=0;i<t;i++){var a=e[i];r.push(a.high),r.push(a.low)}return n.create(r,this.sigBytes)},clone:function(){for(var e=i.clone.call(this),t=e.words=this.words.slice(0),r=t.length,n=0;n<r;n++)t[n]=t[n].clone();return e}}),o)),R.exports;var e,t,r,i,n,a,o}var O,P={exports:{}};function j(){return O||(O=1,P.exports=(e=B(),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,r=t.init,i=t.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,i=[],n=0;n<t;n++)i[n>>>2]|=e[n]<<24-n%4*8;r.call(this,i,t)}else r.apply(this,arguments)};i.prototype=t}}(),e.lib.WordArray)),P.exports;var e}var N,D={exports:{}};function L(){return N||(N=1,D.exports=(e=B(),function(){var t=e,r=t.lib.WordArray,i=t.enc;function n(e){return e<<8&4278255360|e>>>8&16711935}i.Utf16=i.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],n=0;n<r;n+=2){var a=t[n>>>2]>>>16-n%4*8&65535;i.push(String.fromCharCode(a))}return i.join("")},parse:function(e){for(var t=e.length,i=[],n=0;n<t;n++)i[n>>>1]|=e.charCodeAt(n)<<16-n%2*16;return r.create(i,2*t)}},i.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,i=[],a=0;a<r;a+=2){var o=n(t[a>>>2]>>>16-a%4*8&65535);i.push(String.fromCharCode(o))}return i.join("")},parse:function(e){for(var t=e.length,i=[],a=0;a<t;a++)i[a>>>1]|=n(e.charCodeAt(a)<<16-a%2*16);return r.create(i,2*t)}}}(),e.enc.Utf16)),D.exports;var e}var U,F={exports:{}};function H(){return U||(U=1,F.exports=(e=B(),function(){var t=e,r=t.lib.WordArray;function i(e,t,i){for(var n=[],a=0,o=0;o<t;o++)if(o%4){var s=i[e.charCodeAt(o-1)]<<o%4*2|i[e.charCodeAt(o)]>>>6-o%4*2;n[a>>>2]|=s<<24-a%4*8,a++}return r.create(n,a)}t.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,i=this._map;e.clamp();for(var n=[],a=0;a<r;a+=3)for(var o=(t[a>>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s<r;s++)n.push(i.charAt(o>>>6*(3-s)&63));var l=i.charAt(64);if(l)for(;n.length%4;)n.push(l);return n.join("")},parse:function(e){var t=e.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var a=0;a<r.length;a++)n[r.charCodeAt(a)]=a}var o=r.charAt(64);if(o){var s=e.indexOf(o);-1!==s&&(t=s)}return i(e,t,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)),F.exports;var e}var z,W={exports:{}};function V(){return z||(z=1,W.exports=(e=B(),function(){var t=e,r=t.lib.WordArray;function i(e,t,i){for(var n=[],a=0,o=0;o<t;o++)if(o%4){var s=i[e.charCodeAt(o-1)]<<o%4*2|i[e.charCodeAt(o)]>>>6-o%4*2;n[a>>>2]|=s<<24-a%4*8,a++}return r.create(n,a)}t.enc.Base64url={stringify:function(e,t){void 0===t&&(t=!0);var r=e.words,i=e.sigBytes,n=t?this._safe_map:this._map;e.clamp();for(var a=[],o=0;o<i;o+=3)for(var s=(r[o>>>2]>>>24-o%4*8&255)<<16|(r[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|r[o+2>>>2]>>>24-(o+2)%4*8&255,l=0;l<4&&o+.75*l<i;l++)a.push(n.charAt(s>>>6*(3-l)&63));var c=n.charAt(64);if(c)for(;a.length%4;)a.push(c);return a.join("")},parse:function(e,t){void 0===t&&(t=!0);var r=e.length,n=t?this._safe_map:this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var o=0;o<n.length;o++)a[n.charCodeAt(o)]=o}var s=n.charAt(64);if(s){var l=e.indexOf(s);-1!==l&&(r=l)}return i(e,r,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"}}(),e.enc.Base64url)),W.exports;var e}var $,q={exports:{}};function Y(){return $||($=1,q.exports=(e=B(),function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.algo,s=[];!function(){for(var e=0;e<64;e++)s[e]=4294967296*t.abs(t.sin(e+1))|0}();var l=o.MD5=a.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var i=t+r,n=e[i];e[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var a=this._hash.words,o=e[t+0],l=e[t+1],p=e[t+2],f=e[t+3],g=e[t+4],m=e[t+5],v=e[t+6],y=e[t+7],b=e[t+8],w=e[t+9],_=e[t+10],x=e[t+11],E=e[t+12],S=e[t+13],T=e[t+14],k=e[t+15],A=a[0],C=a[1],B=a[2],I=a[3];A=c(A,C,B,I,o,7,s[0]),I=c(I,A,C,B,l,12,s[1]),B=c(B,I,A,C,p,17,s[2]),C=c(C,B,I,A,f,22,s[3]),A=c(A,C,B,I,g,7,s[4]),I=c(I,A,C,B,m,12,s[5]),B=c(B,I,A,C,v,17,s[6]),C=c(C,B,I,A,y,22,s[7]),A=c(A,C,B,I,b,7,s[8]),I=c(I,A,C,B,w,12,s[9]),B=c(B,I,A,C,_,17,s[10]),C=c(C,B,I,A,x,22,s[11]),A=c(A,C,B,I,E,7,s[12]),I=c(I,A,C,B,S,12,s[13]),B=c(B,I,A,C,T,17,s[14]),A=h(A,C=c(C,B,I,A,k,22,s[15]),B,I,l,5,s[16]),I=h(I,A,C,B,v,9,s[17]),B=h(B,I,A,C,x,14,s[18]),C=h(C,B,I,A,o,20,s[19]),A=h(A,C,B,I,m,5,s[20]),I=h(I,A,C,B,_,9,s[21]),B=h(B,I,A,C,k,14,s[22]),C=h(C,B,I,A,g,20,s[23]),A=h(A,C,B,I,w,5,s[24]),I=h(I,A,C,B,T,9,s[25]),B=h(B,I,A,C,f,14,s[26]),C=h(C,B,I,A,b,20,s[27]),A=h(A,C,B,I,S,5,s[28]),I=h(I,A,C,B,p,9,s[29]),B=h(B,I,A,C,y,14,s[30]),A=d(A,C=h(C,B,I,A,E,20,s[31]),B,I,m,4,s[32]),I=d(I,A,C,B,b,11,s[33]),B=d(B,I,A,C,x,16,s[34]),C=d(C,B,I,A,T,23,s[35]),A=d(A,C,B,I,l,4,s[36]),I=d(I,A,C,B,g,11,s[37]),B=d(B,I,A,C,y,16,s[38]),C=d(C,B,I,A,_,23,s[39]),A=d(A,C,B,I,S,4,s[40]),I=d(I,A,C,B,o,11,s[41]),B=d(B,I,A,C,f,16,s[42]),C=d(C,B,I,A,v,23,s[43]),A=d(A,C,B,I,w,4,s[44]),I=d(I,A,C,B,E,11,s[45]),B=d(B,I,A,C,k,16,s[46]),A=u(A,C=d(C,B,I,A,p,23,s[47]),B,I,o,6,s[48]),I=u(I,A,C,B,y,10,s[49]),B=u(B,I,A,C,T,15,s[50]),C=u(C,B,I,A,m,21,s[51]),A=u(A,C,B,I,E,6,s[52]),I=u(I,A,C,B,f,10,s[53]),B=u(B,I,A,C,_,15,s[54]),C=u(C,B,I,A,l,21,s[55]),A=u(A,C,B,I,b,6,s[56]),I=u(I,A,C,B,k,10,s[57]),B=u(B,I,A,C,v,15,s[58]),C=u(C,B,I,A,S,21,s[59]),A=u(A,C,B,I,g,6,s[60]),I=u(I,A,C,B,x,10,s[61]),B=u(B,I,A,C,p,15,s[62]),C=u(C,B,I,A,w,21,s[63]),a[0]=a[0]+A|0,a[1]=a[1]+C|0,a[2]=a[2]+B|0,a[3]=a[3]+I|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;r[n>>>5]|=128<<24-n%32;var a=t.floor(i/4294967296),o=i;r[15+(n+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var h=l[c];l[c]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,i,n,a,o){var s=e+(t&r|~t&i)+n+o;return(s<<a|s>>>32-a)+t}function h(e,t,r,i,n,a,o){var s=e+(t&i|r&~i)+n+o;return(s<<a|s>>>32-a)+t}function d(e,t,r,i,n,a,o){var s=e+(t^r^i)+n+o;return(s<<a|s>>>32-a)+t}function u(e,t,r,i,n,a,o){var s=e+(r^(t|~i))+n+o;return(s<<a|s>>>32-a)+t}r.MD5=a._createHelper(l),r.HmacMD5=a._createHmacHelper(l)}(Math),e.MD5)),q.exports;var e}var K,G={exports:{}};function Q(){return K||(K=1,G.exports=(s=B(),t=(e=s).lib,r=t.WordArray,i=t.Hasher,n=e.algo,a=[],o=n.SHA1=i.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],n=r[1],o=r[2],s=r[3],l=r[4],c=0;c<80;c++){if(c<16)a[c]=0|e[t+c];else{var h=a[c-3]^a[c-8]^a[c-14]^a[c-16];a[c]=h<<1|h>>>31}var d=(i<<5|i>>>27)+l+a[c];d+=c<20?1518500249+(n&o|~n&s):c<40?1859775393+(n^o^s):c<60?(n&o|n&s|o&s)-1894007588:(n^o^s)-899497514,l=s,s=o,o=n<<30|n>>>2,n=i,i=d}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+l|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(i+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}}),e.SHA1=i._createHelper(o),e.HmacSHA1=i._createHmacHelper(o),s.SHA1)),G.exports;var e,t,r,i,n,a,o,s}var J,X={exports:{}};function Z(){return J||(J=1,X.exports=(e=B(),function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.algo,s=[],l=[];!function(){function e(e){for(var r=t.sqrt(e),i=2;i<=r;i++)if(!(e%i))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var i=2,n=0;n<64;)e(i)&&(n<8&&(s[n]=r(t.pow(i,.5))),l[n]=r(t.pow(i,1/3)),n++),i++}();var c=[],h=o.SHA256=a.extend({_doReset:function(){this._hash=new n.init(s.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],h=r[5],d=r[6],u=r[7],p=0;p<64;p++){if(p<16)c[p]=0|e[t+p];else{var f=c[p-15],g=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,m=c[p-2],v=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;c[p]=g+c[p-7]+v+c[p-16]}var y=i&n^i&a^n&a,b=(i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22),w=u+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&h^~s&d)+l[p]+c[p];u=d,d=h,h=s,s=o+w|0,o=a,a=n,n=i,i=w+(b+y)|0}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+a|0,r[3]=r[3]+o|0,r[4]=r[4]+s|0,r[5]=r[5]+h|0,r[6]=r[6]+d|0,r[7]=r[7]+u|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=t.floor(i/4294967296),r[15+(n+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});r.SHA256=a._createHelper(h),r.HmacSHA256=a._createHmacHelper(h)}(Math),e.SHA256)),X.exports;var e}var ee,te={exports:{}};var re,ie={exports:{}};function ne(){return re||(re=1,ie.exports=(e=B(),M(),function(){var t=e,r=t.lib.Hasher,i=t.x64,n=i.Word,a=i.WordArray,o=t.algo;function s(){return n.create.apply(n,arguments)}var l=[s(1116352408,3609767458),s(1899447441,602891725),s(3049323471,3964484399),s(3921009573,2173295548),s(961987163,4081628472),s(1508970993,3053834265),s(2453635748,2937671579),s(2870763221,3664609560),s(3624381080,2734883394),s(310598401,1164996542),s(607225278,1323610764),s(1426881987,3590304994),s(1925078388,4068182383),s(2162078206,991336113),s(2614888103,633803317),s(3248222580,3479774868),s(3835390401,2666613458),s(4022224774,944711139),s(264347078,2341262773),s(604807628,2007800933),s(770255983,1495990901),s(1249150122,1856431235),s(1555081692,3175218132),s(1996064986,2198950837),s(2554220882,3999719339),s(2821834349,766784016),s(2952996808,2566594879),s(3210313671,3203337956),s(3336571891,1034457026),s(3584528711,2466948901),s(113926993,3758326383),s(338241895,168717936),s(666307205,1188179964),s(773529912,1546045734),s(1294757372,1522805485),s(1396182291,2643833823),s(1695183700,2343527390),s(1986661051,1014477480),s(2177026350,1206759142),s(2456956037,344077627),s(2730485921,1290863460),s(2820302411,3158454273),s(3259730800,3505952657),s(3345764771,106217008),s(3516065817,3606008344),s(3600352804,1432725776),s(4094571909,1467031594),s(275423344,851169720),s(430227734,3100823752),s(506948616,1363258195),s(659060556,3750685593),s(883997877,3785050280),s(958139571,3318307427),s(1322822218,3812723403),s(1537002063,2003034995),s(1747873779,3602036899),s(1955562222,1575990012),s(2024104815,1125592928),s(2227730452,2716904306),s(2361852424,442776044),s(2428436474,593698344),s(2756734187,3733110249),s(3204031479,2999351573),s(3329325298,3815920427),s(3391569614,3928383900),s(3515267271,566280711),s(3940187606,3454069534),s(4118630271,4000239992),s(116418474,1914138554),s(174292421,2731055270),s(289380356,3203993006),s(460393269,320620315),s(685471733,587496836),s(852142971,1086792851),s(1017036298,365543100),s(1126000580,2618297676),s(1288033470,3409855158),s(1501505948,4234509866),s(1607167915,987167468),s(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=s()}();var h=o.SHA512=r.extend({_doReset:function(){this._hash=new a.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,i=r[0],n=r[1],a=r[2],o=r[3],s=r[4],h=r[5],d=r[6],u=r[7],p=i.high,f=i.low,g=n.high,m=n.low,v=a.high,y=a.low,b=o.high,w=o.low,_=s.high,x=s.low,E=h.high,S=h.low,T=d.high,k=d.low,A=u.high,C=u.low,B=p,I=f,R=g,M=m,O=v,P=y,j=b,N=w,D=_,L=x,U=E,F=S,H=T,z=k,W=A,V=C,$=0;$<80;$++){var q,Y,K=c[$];if($<16)Y=K.high=0|e[t+2*$],q=K.low=0|e[t+2*$+1];else{var G=c[$-15],Q=G.high,J=G.low,X=(Q>>>1|J<<31)^(Q>>>8|J<<24)^Q>>>7,Z=(J>>>1|Q<<31)^(J>>>8|Q<<24)^(J>>>7|Q<<25),ee=c[$-2],te=ee.high,re=ee.low,ie=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ne=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),ae=c[$-7],oe=ae.high,se=ae.low,le=c[$-16],ce=le.high,he=le.low;Y=(Y=(Y=X+oe+((q=Z+se)>>>0<Z>>>0?1:0))+ie+((q+=ne)>>>0<ne>>>0?1:0))+ce+((q+=he)>>>0<he>>>0?1:0),K.high=Y,K.low=q}var de,ue=D&U^~D&H,pe=L&F^~L&z,fe=B&R^B&O^R&O,ge=I&M^I&P^M&P,me=(B>>>28|I<<4)^(B<<30|I>>>2)^(B<<25|I>>>7),ve=(I>>>28|B<<4)^(I<<30|B>>>2)^(I<<25|B>>>7),ye=(D>>>14|L<<18)^(D>>>18|L<<14)^(D<<23|L>>>9),be=(L>>>14|D<<18)^(L>>>18|D<<14)^(L<<23|D>>>9),we=l[$],_e=we.high,xe=we.low,Ee=W+ye+((de=V+be)>>>0<V>>>0?1:0),Se=ve+ge;W=H,V=z,H=U,z=F,U=D,F=L,D=j+(Ee=(Ee=(Ee=Ee+ue+((de+=pe)>>>0<pe>>>0?1:0))+_e+((de+=xe)>>>0<xe>>>0?1:0))+Y+((de+=q)>>>0<q>>>0?1:0))+((L=N+de|0)>>>0<N>>>0?1:0)|0,j=O,N=P,O=R,P=M,R=B,M=I,B=Ee+(me+fe+(Se>>>0<ve>>>0?1:0))+((I=de+Se|0)>>>0<de>>>0?1:0)|0}f=i.low=f+I,i.high=p+B+(f>>>0<I>>>0?1:0),m=n.low=m+M,n.high=g+R+(m>>>0<M>>>0?1:0),y=a.low=y+P,a.high=v+O+(y>>>0<P>>>0?1:0),w=o.low=w+N,o.high=b+j+(w>>>0<N>>>0?1:0),x=s.low=x+L,s.high=_+D+(x>>>0<L>>>0?1:0),S=h.low=S+F,h.high=E+U+(S>>>0<F>>>0?1:0),k=d.low=k+z,d.high=T+H+(k>>>0<z>>>0?1:0),C=u.low=C+V,u.high=A+W+(C>>>0<V>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;return t[i>>>5]|=128<<24-i%32,t[30+(i+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(i+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512)),ie.exports;var e}var ae,oe={exports:{}};var se,le={exports:{}};function ce(){return se||(se=1,le.exports=(e=B(),M(),function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.x64.Word,s=r.algo,l=[],c=[],h=[];!function(){for(var e=1,t=0,r=0;r<24;r++){l[e+5*t]=(r+1)*(r+2)/2%64;var i=(2*e+3*t)%5;e=t%5,t=i}for(e=0;e<5;e++)for(t=0;t<5;t++)c[e+5*t]=t+(2*e+3*t)%5*5;for(var n=1,a=0;a<24;a++){for(var s=0,d=0,u=0;u<7;u++){if(1&n){var p=(1<<u)-1;p<32?d^=1<<p:s^=1<<p-32}128&n?n=n<<1^113:n<<=1}h[a]=o.create(s,d)}}();var d=[];!function(){for(var e=0;e<25;e++)d[e]=o.create()}();var u=s.SHA3=a.extend({cfg:a.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new o.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var r=this._state,i=this.blockSize/2,n=0;n<i;n++){var a=e[t+2*n],o=e[t+2*n+1];a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(C=r[n]).high^=o,C.low^=a}for(var s=0;s<24;s++){for(var u=0;u<5;u++){for(var p=0,f=0,g=0;g<5;g++)p^=(C=r[u+5*g]).high,f^=C.low;var m=d[u];m.high=p,m.low=f}for(u=0;u<5;u++){var v=d[(u+4)%5],y=d[(u+1)%5],b=y.high,w=y.low;for(p=v.high^(b<<1|w>>>31),f=v.low^(w<<1|b>>>31),g=0;g<5;g++)(C=r[u+5*g]).high^=p,C.low^=f}for(var _=1;_<25;_++){var x=(C=r[_]).high,E=C.low,S=l[_];S<32?(p=x<<S|E>>>32-S,f=E<<S|x>>>32-S):(p=E<<S-32|x>>>64-S,f=x<<S-32|E>>>64-S);var T=d[c[_]];T.high=p,T.low=f}var k=d[0],A=r[0];for(k.high=A.high,k.low=A.low,u=0;u<5;u++)for(g=0;g<5;g++){var C=r[_=u+5*g],B=d[_],I=d[(u+1)%5+5*g],R=d[(u+2)%5+5*g];C.high=B.high^~I.high&R.high,C.low=B.low^~I.low&R.low}C=r[0];var M=h[s];C.high^=M.high,C.low^=M.low}},_doFinalize:function(){var e=this._data,r=e.words;this._nDataBytes;var i=8*e.sigBytes,a=32*this.blockSize;r[i>>>5]|=1<<24-i%32,r[(t.ceil((i+1)/a)*a>>>5)-1]|=128,e.sigBytes=4*r.length,this._process();for(var o=this._state,s=this.cfg.outputLength/8,l=s/8,c=[],h=0;h<l;h++){var d=o[h],u=d.high,p=d.low;u=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),c.push(p),c.push(u)}return new n.init(c,s)},clone:function(){for(var e=a.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});r.SHA3=a._createHelper(u),r.HmacSHA3=a._createHmacHelper(u)}(Math),e.SHA3)),le.exports;var e}var he,de={exports:{}};var ue,pe={exports:{}};function fe(){return ue||(ue=1,pe.exports=(e=B(),r=(t=e).lib.Base,i=t.enc.Utf8,void(t.algo.HMAC=r.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=i.parse(t));var r=e.blockSize,n=4*r;t.sigBytes>n&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),o=this._iKey=t.clone(),s=a.words,l=o.words,c=0;c<r;c++)s[c]^=1549556828,l[c]^=909522486;a.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,r=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(r))}})))),pe.exports;var e,t,r,i}var ge,me={exports:{}};var ve,ye={exports:{}};function be(){return ve||(ve=1,ye.exports=(s=B(),Q(),fe(),t=(e=s).lib,r=t.Base,i=t.WordArray,n=e.algo,a=n.MD5,o=n.EvpKDF=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,a=n.hasher.create(),o=i.create(),s=o.words,l=n.keySize,c=n.iterations;s.length<l;){r&&a.update(r),r=a.update(e).finalize(t),a.reset();for(var h=1;h<c;h++)r=a.finalize(r),a.reset();o.concat(r)}return o.sigBytes=4*l,o}}),e.EvpKDF=function(e,t,r){return o.create(r).compute(e,t)},s.EvpKDF)),ye.exports;var e,t,r,i,n,a,o,s}var we,_e={exports:{}};function xe(){return we||(we=1,_e.exports=(e=B(),be(),void(e.lib.Cipher||function(t){var r=e,i=r.lib,n=i.Base,a=i.WordArray,o=i.BufferedBlockAlgorithm,s=r.enc;s.Utf8;var l=s.Base64,c=r.algo.EvpKDF,h=i.Cipher=o.extend({cfg:n.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:v}return function(t){return{encrypt:function(r,i,n){return e(i).encrypt(t,r,i,n)},decrypt:function(r,i,n){return e(i).decrypt(t,r,i,n)}}}}()});i.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1});var d=r.mode={},u=i.BlockCipherMode=n.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),p=d.CBC=function(){var e=u.extend();function r(e,r,i){var n,a=this._iv;a?(n=a,this._iv=t):n=this._prevBlock;for(var o=0;o<i;o++)e[r+o]^=n[o]}return e.Encryptor=e.extend({processBlock:function(e,t){var i=this._cipher,n=i.blockSize;r.call(this,e,t,n),i.encryptBlock(e,t),this._prevBlock=e.slice(t,t+n)}}),e.Decryptor=e.extend({processBlock:function(e,t){var i=this._cipher,n=i.blockSize,a=e.slice(t,t+n);i.decryptBlock(e,t),r.call(this,e,t,n),this._prevBlock=a}}),e}(),f=(r.pad={}).Pkcs7={pad:function(e,t){for(var r=4*t,i=r-e.sigBytes%r,n=i<<24|i<<16|i<<8|i,o=[],s=0;s<i;s+=4)o.push(n);var l=a.create(o,i);e.concat(l)},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}};i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:p,padding:f}),reset:function(){var e;h.reset.call(this);var t=this.cfg,r=t.iv,i=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=i.createEncryptor:(e=i.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(i,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4});var g=i.CipherParams=n.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),m=(r.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?a.create([1398893684,1701076831]).concat(r).concat(t):t).toString(l)},parse:function(e){var t,r=l.parse(e),i=r.words;return 1398893684==i[0]&&1701076831==i[1]&&(t=a.create(i.slice(2,4)),i.splice(0,4),r.sigBytes-=16),g.create({ciphertext:r,salt:t})}},v=i.SerializableCipher=n.extend({cfg:n.extend({format:m}),encrypt:function(e,t,r,i){i=this.cfg.extend(i);var n=e.createEncryptor(r,i),a=n.finalize(t),o=n.cfg;return g.create({ciphertext:a,key:r,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:i.format})},decrypt:function(e,t,r,i){return i=this.cfg.extend(i),t=this._parse(t,i.format),e.createDecryptor(r,i).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(r.kdf={}).OpenSSL={execute:function(e,t,r,i,n){if(i||(i=a.random(8)),n)o=c.create({keySize:t+r,hasher:n}).compute(e,i);else var o=c.create({keySize:t+r}).compute(e,i);var s=a.create(o.words.slice(t),4*r);return o.sigBytes=4*t,g.create({key:o,iv:s,salt:i})}},b=i.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,r,i){var n=(i=this.cfg.extend(i)).kdf.execute(r,e.keySize,e.ivSize,i.salt,i.hasher);i.iv=n.iv;var a=v.encrypt.call(this,e,t,n.key,i);return a.mixIn(n),a},decrypt:function(e,t,r,i){i=this.cfg.extend(i),t=this._parse(t,i.format);var n=i.kdf.execute(r,e.keySize,e.ivSize,t.salt,i.hasher);return i.iv=n.iv,v.decrypt.call(this,e,t,n.key,i)}})}()))),_e.exports;var e}var Ee,Se={exports:{}};var Te,ke={exports:{}};var Ae,Ce={exports:{}};function Be(){return Ae||(Ae=1,Ce.exports=(e=B(),xe(),
2
2
  /** @preserve
3
3
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
4
4
  * derived from CryptoJS.mode.CTR
@@ -17,9 +17,9 @@ e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function r(e){
17
17
  */
18
18
  function(t){var r=e,i=r.lib,n=i.WordArray,a=i.Hasher,o=r.algo,s=n.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=n.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=n.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=n.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=n.create([0,1518500249,1859775393,2400959708,2840853838]),u=n.create([1352829926,1548603684,1836072691,2053994217,0]),p=o.RIPEMD160=a.extend({_doReset:function(){this._hash=n.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var i=t+r,n=e[i];e[i]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var a,o,p,w,_,x,E,S,T,k,A,C=this._hash.words,B=d.words,I=u.words,R=s.words,M=l.words,O=c.words,P=h.words;for(x=a=C[0],E=o=C[1],S=p=C[2],T=w=C[3],k=_=C[4],r=0;r<80;r+=1)A=a+e[t+R[r]]|0,A+=r<16?f(o,p,w)+B[0]:r<32?g(o,p,w)+B[1]:r<48?m(o,p,w)+B[2]:r<64?v(o,p,w)+B[3]:y(o,p,w)+B[4],A=(A=b(A|=0,O[r]))+_|0,a=_,_=w,w=b(p,10),p=o,o=A,A=x+e[t+M[r]]|0,A+=r<16?y(E,S,T)+I[0]:r<32?v(E,S,T)+I[1]:r<48?m(E,S,T)+I[2]:r<64?g(E,S,T)+I[3]:f(E,S,T)+I[4],A=(A=b(A|=0,P[r]))+k|0,x=k,k=T,T=b(S,10),S=E,E=A;A=C[1]+p+T|0,C[1]=C[2]+w+k|0,C[2]=C[3]+_+x|0,C[3]=C[4]+a+E|0,C[4]=C[0]+o+S|0,C[0]=A},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,i=8*e.sigBytes;t[i>>>5]|=128<<24-i%32,t[14+(i+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var n=this._hash,a=n.words,o=0;o<5;o++){var s=a[o];a[o]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return n},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,r){return e^t^r}function g(e,t,r){return e&t|~e&r}function m(e,t,r){return(e|~t)^r}function v(e,t,r){return e&r|t&~r}function y(e,t,r){return e^(t|~r)}function b(e,t){return e<<t|e>>>32-t}r.RIPEMD160=a._createHelper(p),r.HmacRIPEMD160=a._createHmacHelper(p)}(),e.RIPEMD160)),de.exports;var e}(),fe(),function(){return ge||(ge=1,me.exports=(l=B(),Z(),fe(),t=(e=l).lib,r=t.Base,i=t.WordArray,n=e.algo,a=n.SHA256,o=n.HMAC,s=n.PBKDF2=r.extend({cfg:r.extend({keySize:4,hasher:a,iterations:25e4}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=o.create(r.hasher,e),a=i.create(),s=i.create([1]),l=a.words,c=s.words,h=r.keySize,d=r.iterations;l.length<h;){var u=n.update(t).finalize(s);n.reset();for(var p=u.words,f=p.length,g=u,m=1;m<d;m++){g=n.finalize(g),n.reset();for(var v=g.words,y=0;y<f;y++)p[y]^=v[y]}a.concat(u),c[0]++}return a.sigBytes=4*h,a}}),e.PBKDF2=function(e,t,r){return s.create(r).compute(e,t)},l.PBKDF2)),me.exports;var e,t,r,i,n,a,o,s,l}(),be(),xe(),function(){return Ee||(Ee=1,Se.exports=(e=B(),xe(),e.mode.CFB=function(){var t=e.lib.BlockCipherMode.extend();function r(e,t,r,i){var n,a=this._iv;a?(n=a.slice(0),this._iv=void 0):n=this._prevBlock,i.encryptBlock(n,0);for(var o=0;o<r;o++)e[t+o]^=n[o]}return t.Encryptor=t.extend({processBlock:function(e,t){var i=this._cipher,n=i.blockSize;r.call(this,e,t,n,i),this._prevBlock=e.slice(t,t+n)}}),t.Decryptor=t.extend({processBlock:function(e,t){var i=this._cipher,n=i.blockSize,a=e.slice(t,t+n);r.call(this,e,t,n,i),this._prevBlock=a}}),t}(),e.mode.CFB)),Se.exports;var e}(),function(){return Te||(Te=1,ke.exports=(r=B(),xe(),r.mode.CTR=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,n=this._iv,a=this._counter;n&&(a=this._counter=n.slice(0),this._iv=void 0);var o=a.slice(0);r.encryptBlock(o,0),a[i-1]=a[i-1]+1|0;for(var s=0;s<i;s++)e[t+s]^=o[s]}}),e.Decryptor=t,e),r.mode.CTR)),ke.exports;var e,t,r}(),Be(),function(){return Ie||(Ie=1,Re.exports=(r=B(),xe(),r.mode.OFB=(e=r.lib.BlockCipherMode.extend(),t=e.Encryptor=e.extend({processBlock:function(e,t){var r=this._cipher,i=r.blockSize,n=this._iv,a=this._keystream;n&&(a=this._keystream=n.slice(0),this._iv=void 0),r.encryptBlock(a,0);for(var o=0;o<i;o++)e[t+o]^=a[o]}}),e.Decryptor=t,e),r.mode.OFB)),Re.exports;var e,t,r}(),function(){return Me||(Me=1,Oe.exports=(t=B(),xe(),t.mode.ECB=((e=t.lib.BlockCipherMode.extend()).Encryptor=e.extend({processBlock:function(e,t){this._cipher.encryptBlock(e,t)}}),e.Decryptor=e.extend({processBlock:function(e,t){this._cipher.decryptBlock(e,t)}}),e),t.mode.ECB)),Oe.exports;var e,t}(),function(){return Pe||(Pe=1,je.exports=(e=B(),xe(),e.pad.AnsiX923={pad:function(e,t){var r=e.sigBytes,i=4*t,n=i-r%i,a=r+n-1;e.clamp(),e.words[a>>>2]|=n<<24-a%4*8,e.sigBytes+=n},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923)),je.exports;var e}(),function(){return Ne||(Ne=1,De.exports=(e=B(),xe(),e.pad.Iso10126={pad:function(t,r){var i=4*r,n=i-t.sigBytes%i;t.concat(e.lib.WordArray.random(n-1)).concat(e.lib.WordArray.create([n<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126)),De.exports;var e}(),function(){return Le||(Le=1,Ue.exports=(e=B(),xe(),e.pad.Iso97971={pad:function(t,r){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,r)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971)),Ue.exports;var e}(),function(){return Fe||(Fe=1,He.exports=(e=B(),xe(),e.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},e.pad.ZeroPadding)),He.exports;var e}(),function(){return ze||(ze=1,We.exports=(e=B(),xe(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),We.exports;var e}(),function(){return Ve||(Ve=1,$e.exports=(i=B(),xe(),t=(e=i).lib.CipherParams,r=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(r)},parse:function(e){var i=r.parse(e);return t.create({ciphertext:i})}},i.format.Hex)),$e.exports;var e,t,r,i}(),function(){return qe||(qe=1,Ye.exports=(e=B(),H(),Y(),be(),xe(),function(){var t=e,r=t.lib.BlockCipher,i=t.algo,n=[],a=[],o=[],s=[],l=[],c=[],h=[],d=[],u=[],p=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,i=0;for(t=0;t<256;t++){var f=i^i<<1^i<<2^i<<3^i<<4;f=f>>>8^255&f^99,n[r]=f,a[f]=r;var g=e[r],m=e[g],v=e[m],y=257*e[f]^16843008*f;o[r]=y<<24|y>>>8,s[r]=y<<16|y>>>16,l[r]=y<<8|y>>>24,c[r]=y,y=16843009*v^65537*m^257*g^16843008*r,h[f]=y<<24|y>>>8,d[f]=y<<16|y>>>16,u[f]=y<<8|y>>>24,p[f]=y,r?(r=g^e[e[e[v^g]]],i^=e[e[i]]):r=i=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=r.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,i=4*((this._nRounds=r+6)+1),a=this._keySchedule=[],o=0;o<i;o++)o<r?a[o]=t[o]:(c=a[o-1],o%r?r>6&&o%r==4&&(c=n[c>>>24]<<24|n[c>>>16&255]<<16|n[c>>>8&255]<<8|n[255&c]):(c=n[(c=c<<8|c>>>24)>>>24]<<24|n[c>>>16&255]<<16|n[c>>>8&255]<<8|n[255&c],c^=f[o/r|0]<<24),a[o]=a[o-r]^c);for(var s=this._invKeySchedule=[],l=0;l<i;l++){if(o=i-l,l%4)var c=a[o];else c=a[o-4];s[l]=l<4||o<=4?c:h[n[c>>>24]]^d[n[c>>>16&255]]^u[n[c>>>8&255]]^p[n[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,o,s,l,c,n)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,h,d,u,p,a),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,i,n,a,o,s){for(var l=this._nRounds,c=e[t]^r[0],h=e[t+1]^r[1],d=e[t+2]^r[2],u=e[t+3]^r[3],p=4,f=1;f<l;f++){var g=i[c>>>24]^n[h>>>16&255]^a[d>>>8&255]^o[255&u]^r[p++],m=i[h>>>24]^n[d>>>16&255]^a[u>>>8&255]^o[255&c]^r[p++],v=i[d>>>24]^n[u>>>16&255]^a[c>>>8&255]^o[255&h]^r[p++],y=i[u>>>24]^n[c>>>16&255]^a[h>>>8&255]^o[255&d]^r[p++];c=g,h=m,d=v,u=y}g=(s[c>>>24]<<24|s[h>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[p++],m=(s[h>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&c])^r[p++],v=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[c>>>8&255]<<8|s[255&h])^r[p++],y=(s[u>>>24]<<24|s[c>>>16&255]<<16|s[h>>>8&255]<<8|s[255&d])^r[p++],e[t]=g,e[t+1]=m,e[t+2]=v,e[t+3]=y},keySize:8});t.AES=r._createHelper(g)}(),e.AES)),Ye.exports;var e}(),Qe(),function(){return Je||(Je=1,Xe.exports=(e=B(),H(),Y(),be(),xe(),function(){var t=e,r=t.lib.StreamCipher,i=t.algo,n=i.RC4=r.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,i=this._S=[],n=0;n<256;n++)i[n]=n;n=0;for(var a=0;n<256;n++){var o=n%r,s=t[o>>>2]>>>24-o%4*8&255;a=(a+i[n]+s)%256;var l=i[n];i[n]=i[a],i[a]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=a.call(this)},keySize:8,ivSize:0});function a(){for(var e=this._S,t=this._i,r=this._j,i=0,n=0;n<4;n++){r=(r+e[t=(t+1)%256])%256;var a=e[t];e[t]=e[r],e[r]=a,i|=e[(e[t]+e[r])%256]<<24-8*n}return this._i=t,this._j=r,i}t.RC4=r._createHelper(n);var o=i.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)a.call(this)}});t.RC4Drop=r._createHelper(o)}(),e.RC4)),Xe.exports;var e}(),function(){return Ze||(Ze=1,et.exports=(e=B(),H(),Y(),be(),xe(),function(){var t=e,r=t.lib.StreamCipher,i=t.algo,n=[],a=[],o=[],s=i.Rabbit=r.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var i=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)l.call(this);for(r=0;r<8;r++)n[r]^=i[r+4&7];if(t){var a=t.words,o=a[0],s=a[1],c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&h,u=h<<16|65535&c;for(n[0]^=c,n[1]^=d,n[2]^=h,n[3]^=u,n[4]^=c,n[5]^=d,n[6]^=h,n[7]^=u,r=0;r<4;r++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),e[t+i]^=n[i]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0,r=0;r<8;r++){var i=e[r]+t[r],n=65535&i,s=i>>>16,l=((n*n>>>17)+n*s>>>15)+s*s,c=((4294901760&i)*i|0)+((65535&i)*i|0);o[r]=l^c}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.Rabbit=r._createHelper(s)}(),e.Rabbit)),et.exports;var e}(),function(){return tt||(tt=1,rt.exports=(e=B(),H(),Y(),be(),xe(),function(){var t=e,r=t.lib.StreamCipher,i=t.algo,n=[],a=[],o=[],s=i.RabbitLegacy=r.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,r=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)i[n]^=r[n+4&7];if(t){var a=t.words,o=a[0],s=a[1],c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),h=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=c>>>16|4294901760&h,u=h<<16|65535&c;for(i[0]^=c,i[1]^=d,i[2]^=h,i[3]^=u,i[4]^=c,i[5]^=d,i[6]^=h,i[7]^=u,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var r=this._X;l.call(this),n[0]=r[0]^r[5]>>>16^r[3]<<16,n[1]=r[2]^r[7]>>>16^r[5]<<16,n[2]=r[4]^r[1]>>>16^r[7]<<16,n[3]=r[6]^r[3]>>>16^r[1]<<16;for(var i=0;i<4;i++)n[i]=16711935&(n[i]<<8|n[i]>>>24)|4278255360&(n[i]<<24|n[i]>>>8),e[t+i]^=n[i]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,r=0;r<8;r++)a[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0<a[0]>>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0<a[1]>>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0<a[2]>>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0<a[3]>>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0<a[4]>>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0<a[5]>>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0<a[6]>>>0?1:0)|0,this._b=t[7]>>>0<a[7]>>>0?1:0,r=0;r<8;r++){var i=e[r]+t[r],n=65535&i,s=i>>>16,l=((n*n>>>17)+n*s>>>15)+s*s,c=((4294901760&i)*i|0)+((65535&i)*i|0);o[r]=l^c}e[0]=o[0]+(o[7]<<16|o[7]>>>16)+(o[6]<<16|o[6]>>>16)|0,e[1]=o[1]+(o[0]<<8|o[0]>>>24)+o[7]|0,e[2]=o[2]+(o[1]<<16|o[1]>>>16)+(o[0]<<16|o[0]>>>16)|0,e[3]=o[3]+(o[2]<<8|o[2]>>>24)+o[1]|0,e[4]=o[4]+(o[3]<<16|o[3]>>>16)+(o[2]<<16|o[2]>>>16)|0,e[5]=o[5]+(o[4]<<8|o[4]>>>24)+o[3]|0,e[6]=o[6]+(o[5]<<16|o[5]>>>16)+(o[4]<<16|o[4]>>>16)|0,e[7]=o[7]+(o[6]<<8|o[6]>>>24)+o[5]|0}t.RabbitLegacy=r._createHelper(s)}(),e.RabbitLegacy)),rt.exports;var e}(),dt());const ut=E(T.exports);const pt={setDES:function(e,t){e=e.toString();var r=ut.enc.Utf8.parse(t),i=ut.enc.Utf8.parse(t);return ut.DES.encrypt(e,r,{iv:i,mode:ut.mode.CBC,padding:ut.pad.Pkcs7}).ciphertext.toString()},getDES:function(e,t){var r=ut.enc.Utf8.parse(t),i=ut.enc.Utf8.parse(t);return ut.DES.decrypt({ciphertext:ut.enc.Hex.parse(e)},r,{iv:i,mode:ut.mode.CBC,padding:ut.pad.Pkcs7}).toString(ut.enc.Utf8)},setSha256:function(e){return ut.SHA256(e).toString()},setMD5:function(e){return ut.MD5(e).toString()}},ft="LJS_TIME_KEY_20231227";function gt(e){localStorage.removeItem(e)}const mt={getSS:function(e){return JSON.parse(sessionStorage.getItem(e))},setSS:function(e,t){sessionStorage.setItem(e,JSON.stringify(t))},delSS:function(e){sessionStorage.removeItem(e)},clearSS:function(){sessionStorage.clear()},getLS:function(e){const t=JSON.parse(localStorage.getItem(e));if(null===t)return null;if(t.time){t.startTime=pt.getDES(t.startTime,ft),t.time=pt.getDES(t.time,ft);if((new Date).getTime()-t.startTime>t.time)return gt(e),null}return t.value},setLS:function(e,t,r=0){const i={value:t};r>0&&(i.startTime=pt.setDES((new Date).getTime(),ft),i.time=pt.setDES(r,ft)),localStorage.setItem(e,JSON.stringify(i))},delLS:gt,clearLS:function(){localStorage.clear()}};const vt={c16ToRgb:function(e){if(!/^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(e))return;let t=e.toLowerCase().replace(/\#/g,""),r=t.length;if(3==r){let e="";for(var i=0;i<r;i++)e+=t.slice(i,i+1).concat(t.slice(i,i+1));t=e}let n=[];for(let a=0;a<6;a+=2){let e=t.slice(a,a+2);n.push(parseInt("0x"+e))}return n.join(",")},rgbToC16:function(e){if(!/^(rgb|RGB)/.test(e))return;var t=e.slice(4,e.length-1).split(",");let r="#";for(var i=0;i<t.length;i++){var n=Number(t[i]).toString(16);"0"==n&&(n+="0"),r+=n}return r},random16Color:function(){return`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`}};function yt(e){return/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/.test(e)}function bt(e){return/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/gm.test(e)}const wt={isIPV4ValidIP:yt,isIPV6ValidIP:bt,isIPValid:function(e){return bt(e)||yt(e)}};const _t={licenseDateCheck:function(){const e=new Date(pt.getDES(window.g.SRKJ_APP,"SRKJ_LJS_license_date_2023_07_27")).getTime();return((new Date).getTime()-e)/1e3/60/60/24<=30}},xt=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter((e=>Et(e)&&(e=>"test"===process.env.NODE_ENV||"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent)(e))),Et=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}};var St;const Tt="undefined"!=typeof window,kt=e=>"string"==typeof e,At=()=>{};function Ct(t){return"function"==typeof t?t():e.unref(t)}function Bt(t){return!!e.getCurrentScope()&&(e.onScopeDispose(t),!0)}function It(e){var t;const r=Ct(e);return null!=(t=null==r?void 0:r.$el)?t:r}Tt&&(null==(St=null==window?void 0:window.navigator)?void 0:St.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const Rt=Tt?window:void 0;function Mt(t,r=!1){const i=e.ref(),n=()=>i.value=Boolean(t());return n(),function(t,r=!0){e.getCurrentInstance()?e.onMounted(t):r?t():e.nextTick(t)}(n,r),i}const Ot="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Pt="__vueuse_ssr_handlers__";Ot[Pt]=Ot[Pt]||{};var jt,Nt,Dt=Object.getOwnPropertySymbols,Lt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable;function Ft(t,r,i={}){const n=i,{window:a=Rt}=n,o=((e,t)=>{var r={};for(var i in e)Lt.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&Dt)for(var i of Dt(e))t.indexOf(i)<0&&Ut.call(e,i)&&(r[i]=e[i]);return r})(n,["window"]);let s;const l=Mt((()=>a&&"ResizeObserver"in a)),c=()=>{s&&(s.disconnect(),s=void 0)},h=e.watch((()=>It(t)),(e=>{c(),l.value&&a&&e&&(s=new ResizeObserver(r),s.observe(e,o))}),{immediate:!0,flush:"post"}),d=()=>{c(),h()};return Bt(d),{isSupported:l,stop:d}}(Nt=jt||(jt={})).UP="UP",Nt.RIGHT="RIGHT",Nt.DOWN="DOWN",Nt.LEFT="LEFT",Nt.NONE="NONE";var Ht=Object.defineProperty,zt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,$t=(e,t,r)=>t in e?Ht(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;((e,t)=>{for(var r in t||(t={}))Wt.call(t,r)&&$t(e,r,t[r]);if(zt)for(var r of zt(t))Vt.call(t,r)&&$t(e,r,t[r])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});"production"===process.env.NODE_ENV||Object.freeze({}),"production"===process.env.NODE_ENV||Object.freeze([]);const qt=()=>{},Yt=Object.assign,Kt=Object.prototype.hasOwnProperty,Gt=(e,t)=>Kt.call(e,t),Qt=Array.isArray,Jt=e=>"function"==typeof e,Xt=e=>"string"==typeof e,Zt=e=>"symbol"==typeof e,er=e=>null!==e&&"object"==typeof e,tr=/-(\w)/g,rr=(e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))})((e=>e.replace(tr,((e,t)=>t?t.toUpperCase():""))));const ir="object"==typeof global&&global&&global.Object===Object&&global;var nr="object"==typeof self&&self&&self.Object===Object&&self;const ar=ir||nr||Function("return this")();const or=ar.Symbol;var sr=Object.prototype,lr=sr.hasOwnProperty,cr=sr.toString,hr=or?or.toStringTag:void 0;var dr=Object.prototype.toString;var ur="[object Null]",pr="[object Undefined]",fr=or?or.toStringTag:void 0;function gr(e){return null==e?void 0===e?pr:ur:fr&&fr in Object(e)?function(e){var t=lr.call(e,hr),r=e[hr];try{e[hr]=void 0;var i=!0}catch(a){}var n=cr.call(e);return i&&(t?e[hr]=r:delete e[hr]),n}(e):function(e){return dr.call(e)}(e)}var mr="[object Symbol]";function vr(e){return"symbol"==typeof e||function(e){return null!=e&&"object"==typeof e}(e)&&gr(e)==mr}const yr=Array.isArray;var br=1/0,wr=or?or.prototype:void 0,_r=wr?wr.toString:void 0;function xr(e){if("string"==typeof e)return e;if(yr(e))return function(e,t){for(var r=-1,i=null==e?0:e.length,n=Array(i);++r<i;)n[r]=t(e[r],r,e);return n}(e,xr)+"";if(vr(e))return _r?_r.call(e):"";var t=e+"";return"0"==t&&1/e==-br?"-0":t}function Er(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Sr="[object AsyncFunction]",Tr="[object Function]",kr="[object GeneratorFunction]",Ar="[object Proxy]";const Cr=ar["__core-js_shared__"];var Br,Ir=(Br=/[^.]+$/.exec(Cr&&Cr.keys&&Cr.keys.IE_PROTO||""))?"Symbol(src)_1."+Br:"";var Rr=Function.prototype.toString;var Mr=/^\[object .+?Constructor\]$/,Or=Function.prototype,Pr=Object.prototype,jr=Or.toString,Nr=Pr.hasOwnProperty,Dr=RegExp("^"+jr.call(Nr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Lr(e){if(!Er(e)||(t=e,Ir&&Ir in t))return!1;var t,r=function(e){if(!Er(e))return!1;var t=gr(e);return t==Tr||t==kr||t==Sr||t==Ar}(e)?Dr:Mr;return r.test(function(e){if(null!=e){try{return Rr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(e))}function Ur(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Lr(r)?r:void 0}var Fr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Hr=/^\w*$/;const zr=Ur(Object,"create");var Wr=Object.prototype.hasOwnProperty;var Vr=Object.prototype.hasOwnProperty;function $r(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function qr(e,t){for(var r,i,n=e.length;n--;)if((r=e[n][0])===(i=t)||r!=r&&i!=i)return n;return-1}$r.prototype.clear=function(){this.__data__=zr?zr(null):{},this.size=0},$r.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$r.prototype.get=function(e){var t=this.__data__;if(zr){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Wr.call(t,e)?t[e]:void 0},$r.prototype.has=function(e){var t=this.__data__;return zr?void 0!==t[e]:Vr.call(t,e)},$r.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=zr&&void 0===t?"__lodash_hash_undefined__":t,this};var Yr=Array.prototype.splice;function Kr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}Kr.prototype.clear=function(){this.__data__=[],this.size=0},Kr.prototype.delete=function(e){var t=this.__data__,r=qr(t,e);return!(r<0)&&(r==t.length-1?t.pop():Yr.call(t,r,1),--this.size,!0)},Kr.prototype.get=function(e){var t=this.__data__,r=qr(t,e);return r<0?void 0:t[r][1]},Kr.prototype.has=function(e){return qr(this.__data__,e)>-1},Kr.prototype.set=function(e,t){var r=this.__data__,i=qr(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this};const Gr=Ur(ar,"Map");function Qr(e,t){var r,i,n=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof t?"string":"hash"]:n.map}function Jr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}Jr.prototype.clear=function(){this.size=0,this.__data__={hash:new $r,map:new(Gr||Kr),string:new $r}},Jr.prototype.delete=function(e){var t=Qr(this,e).delete(e);return this.size-=t?1:0,t},Jr.prototype.get=function(e){return Qr(this,e).get(e)},Jr.prototype.has=function(e){return Qr(this,e).has(e)},Jr.prototype.set=function(e,t){var r=Qr(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this};var Xr="Expected a function";function Zr(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(Xr);var r=function(){var i=arguments,n=t?t.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var o=e.apply(this,i);return r.cache=a.set(n,o)||a,o};return r.cache=new(Zr.Cache||Jr),r}Zr.Cache=Jr;var ei,ti,ri,ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ni=/\\(\\)?/g,ai=(ei=function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ii,(function(e,r,i,n){t.push(i?n.replace(ni,"$1"):r||e)})),t},ti=Zr(ei,(function(e){return 500===ri.size&&ri.clear(),e})),ri=ti.cache,ti);const oi=ai;function si(e,t){return yr(e)?e:function(e,t){if(yr(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!vr(e))||Hr.test(e)||!Fr.test(e)||null!=t&&e in Object(t)}(e,t)?[e]:oi(function(e){return null==e?"":xr(e)}(e))}var li=1/0;function ci(e){if("string"==typeof e||vr(e))return e;var t=e+"";return"0"==t&&1/e==-li?"-0":t}function hi(e,t,r){var i=null==e?void 0:function(e,t){for(var r=0,i=(t=si(t,e)).length;null!=e&&r<i;)e=e[ci(t[r++])];return r&&r==i?e:void 0}(e,t);return void 0===i?r:i}function di(e){for(var t=-1,r=null==e?0:e.length,i={};++t<r;){var n=e[t];i[n[0]]=n[1]}return i}function ui(e){return null==e}const pi=e=>void 0===e,fi=e=>"number"==typeof e,gi=e=>"undefined"!=typeof Element&&e instanceof Element,mi=e=>Object.keys(e);class vi extends Error{constructor(e){super(e),this.name="ElementPlusError"}}function yi(e,t){if("production"!==process.env.NODE_ENV){Xt(e)&&new vi(`[${e}] ${t}`)}}const bi=(e="")=>e.split(" ").filter((e=>!!e.trim())),wi=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)};function _i(e,t="px"){return e?fi(e)||Xt(r=e)&&!Number.isNaN(Number(r))?`${e}${t}`:Xt(e)?e:void yi("utils/dom/style","binding value must be a string or number"):"";var r}let xi;
19
19
  /*! Element Plus Icons Vue v2.1.0 */
20
- var Ei=(e,t)=>{let r=e.__vccOpts||e;for(let[i,n]of t)r[i]=n;return r},Si={name:"CircleCheck"},Ti={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ki=[e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),e.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"},null,-1)];var Ai=Ei(Si,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Ti,ki)}],["__file","circle-check.vue"]]),Ci={name:"CircleCloseFilled"},Bi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ii=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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.336L512 457.664z"},null,-1)];var Ri=Ei(Ci,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Bi,Ii)}],["__file","circle-close-filled.vue"]]),Mi={name:"CircleClose"},Oi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Pi=[e.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.248L466.752 512z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1)];var ji=Ei(Mi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Oi,Pi)}],["__file","circle-close.vue"]]),Ni={name:"Close"},Di={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Li=[e.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"},null,-1)];var Ui=Ei(Ni,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Di,Li)}],["__file","close.vue"]]),Fi={name:"Hide"},Hi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zi=[e.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.2L371.2 588.8ZM889.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"},null,-1),e.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"},null,-1)];var Wi=Ei(Fi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Hi,zi)}],["__file","hide.vue"]]),Vi={name:"InfoFilled"},$i={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qi=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.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.344zM590.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"},null,-1)];var Yi=Ei(Vi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",$i,qi)}],["__file","info-filled.vue"]]),Ki={name:"Loading"},Gi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qi=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.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 0zm-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"},null,-1)];var Ji=Ei(Ki,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Gi,Qi)}],["__file","loading.vue"]]),Xi={name:"SuccessFilled"},Zi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},en=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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.336L456.192 600.384z"},null,-1)];var tn=Ei(Xi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Zi,en)}],["__file","success-filled.vue"]]),rn={name:"View"},nn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},an=[e.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 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-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1)];var on=Ei(rn,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",nn,an)}],["__file","view.vue"]]),sn={name:"WarningFilled"},ln={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cn=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1)];var hn=Ei(sn,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",ln,cn)}],["__file","warning-filled.vue"]]),dn={name:"Warning"},un={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pn=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1)];var fn=Ei(dn,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",un,pn)}],["__file","warning.vue"]]);const gn="__epPropKey",mn=(t,r)=>{if(!er(t)||er(i=t)&&i[gn])return t;var i;const{values:n,required:a,default:o,type:s,validator:l}=t,c=n||l?i=>{let a=!1,s=[];if(n&&(s=Array.from(n),Gt(t,"default")&&s.push(o),a||(a=s.includes(i))),l&&(a||(a=l(i))),!a&&s.length>0){const t=[...new Set(s)].map((e=>JSON.stringify(e))).join(", ");e.warn(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${t}], got value ${JSON.stringify(i)}.`)}return a}:void 0,h={type:s,required:!!a,validator:c,[gn]:!0};return Gt(t,"default")&&(h.default=o),h},vn=e=>di(Object.entries(e).map((([e,t])=>[e,mn(t,e)]))),yn=[String,Object,Function],bn={Close:Ui,SuccessFilled:tn,InfoFilled:Yi,WarningFilled:hn,CircleCloseFilled:Ri},wn={success:tn,warning:hn,error:Ri,info:Yi},_n={validating:Ji,success:Ai,error:ji},xn=(e,t)=>{if(e.install=r=>{for(const i of[e,...Object.values(null!=t?t:{})])r.component(i.name,i)},t)for(const[r,i]of Object.entries(t))e[r]=i;return e},En="Tab",Sn="Escape",Tn="update:modelValue",kn=["","default","small","large"];var An=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(An||{});const Cn=["class","style"],Bn=/^on[A-Z]/,In=(t,r,i)=>{let n={offsetX:0,offsetY:0};const a=e=>{const r=e.clientX,i=e.clientY,{offsetX:a,offsetY:o}=n,s=t.value.getBoundingClientRect(),l=s.left,c=s.top,h=s.width,d=s.height,u=document.documentElement.clientWidth,p=document.documentElement.clientHeight,f=-l+a,g=-c+o,m=u-l-h+a,v=p-c-d+o,y=e=>{const s=Math.min(Math.max(a+e.clientX-r,f),m),l=Math.min(Math.max(o+e.clientY-i,g),v);n={offsetX:s,offsetY:l},t.value.style.transform=`translate(${_i(s)}, ${_i(l)})`},b=()=>{document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},o=()=>{r.value&&t.value&&r.value.removeEventListener("mousedown",a)};e.onMounted((()=>{e.watchEffect((()=>{i.value?r.value&&t.value&&r.value.addEventListener("mousedown",a):o()}))})),e.onBeforeUnmount((()=>{o()}))};var Rn={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Mn=t=>(r,i)=>On(r,i,e.unref(t)),On=(e,t,r)=>hi(r,e,e).replace(/\{(\w+)\}/g,((e,r)=>{var i;return`${null!=(i=null==t?void 0:t[r])?i:`{${r}}`}`})),Pn=Symbol("localeContextKey"),jn=t=>{const r=t||e.inject(Pn,e.ref());return(t=>({lang:e.computed((()=>e.unref(t).name)),locale:e.isRef(t)?t:e.ref(t),t:Mn(t)}))(e.computed((()=>r.value||Rn)))};const Nn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Dn=e=>(e.w&Fn)>0,Ln=e=>(e.n&Fn)>0;let Un=0,Fn=1;const Hn=30;let zn;Symbol("production"!==process.env.NODE_ENV?"iterate":""),Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Wn{constructor(e,t=null,r){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t){t&&t.active&&t.effects.push(e)}(this,r)}run(){if(!this.active)return this.fn();let e=zn,t=$n;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=zn,zn=this,$n=!0,Fn=1<<++Un,Un<=Hn?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Fn})(this):Vn(this),this.fn()}finally{Un<=Hn&&(e=>{const{deps:t}=e;if(t.length){let r=0;for(let i=0;i<t.length;i++){const n=t[i];Dn(n)&&!Ln(n)?n.delete(e):t[r++]=n,n.w&=~Fn,n.n&=~Fn}t.length=r}})(this),Fn=1<<--Un,zn=this.parent,$n=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){zn===this?this.deferStop=!0:this.active&&(Vn(this),this.onStop&&this.onStop(),this.active=!1)}}function Vn(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let $n=!0;function qn(e,t){let r=!1;Un<=Hn?Ln(e)||(e.n|=Fn,r=!Dn(e)):r=!e.has(zn),r&&(e.add(zn),zn.deps.push(e),"production"!==process.env.NODE_ENV&&zn.onTrack&&zn.onTrack(Yt({effect:zn},t)))}function Yn(e,t){const r=Qt(e)?e:[...e];for(const i of r)i.computed&&Kn(i,t);for(const i of r)i.computed||Kn(i,t)}function Kn(e,t){(e!==zn||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(Yt({effect:e},t)),e.scheduler?e.scheduler():e.run())}function Gn(e){const t=e&&e.__v_raw;return t?Gn(t):e}new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Zt));class Qn{constructor(e,t,r,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Wn(e,(()=>{this._dirty||(this._dirty=!0,function(e,t){const r=(e=Gn(e)).dep;r&&("production"!==process.env.NODE_ENV?Yn(r,{target:e,type:"set",key:"value",newValue:t}):Yn(r))}(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const e=Gn(this);var t;return t=e,$n&&zn&&(t=Gn(t),"production"!==process.env.NODE_ENV?qn(t.dep||(t.dep=Nn()),{target:t,type:"get",key:"value"}):qn(t.dep||(t.dep=Nn()))),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}const Jn="el",Xn=(e,t,r,i,n)=>{let a=`${e}-${t}`;return r&&(a+=`-${r}`),i&&(a+=`__${i}`),n&&(a+=`--${n}`),a},Zn=Symbol("namespaceContextKey"),ea=t=>{const r=t||(e.getCurrentInstance()?e.inject(Zn,e.ref(Jn)):e.ref(Jn));return e.computed((()=>e.unref(r)||Jn))},ta=(e,t)=>{const r=ea(t);return{namespace:r,b:(t="")=>Xn(r.value,e,t,"",""),e:t=>t?Xn(r.value,e,"",t,""):"",m:t=>t?Xn(r.value,e,"","",t):"",be:(t,i)=>t&&i?Xn(r.value,e,t,i,""):"",em:(t,i)=>t&&i?Xn(r.value,e,"",t,i):"",bm:(t,i)=>t&&i?Xn(r.value,e,t,"",i):"",bem:(t,i,n)=>t&&i&&n?Xn(r.value,e,t,i,n):"",is:(e,...t)=>{const r=!(t.length>=1)||t[0];return e&&r?`is-${e}`:""},cssVar:e=>{const t={};for(const i in e)e[i]&&(t[`--${r.value}-${i}`]=e[i]);return t},cssVarName:e=>`--${r.value}-${e}`,cssVarBlock:t=>{const i={};for(const n in t)t[n]&&(i[`--${r.value}-${e}-${n}`]=t[n]);return i},cssVarBlockName:t=>`--${r.value}-${e}-${t}`}},ra=(t,r={})=>{e.isRef(t)||function(e,t){throw new vi(`[${e}] ${t}`)}("[useLockscreen]","You need to pass a ref param to this function");const i=r.ns||ta("popup"),n=function(e,t,r=!1){let i,n;const a=Jt(e);a?(i=e,n="production"!==process.env.NODE_ENV?()=>{}:qt):(i=e.get,n=e.set);const o=new Qn(i,n,a||!n,r);return"production"!==process.env.NODE_ENV&&t&&!r&&(o.effect.onTrack=t.onTrack,o.effect.onTrigger=t.onTrigger),o}((()=>i.bm("parent","hidden")));if(!Tt||wi(document.body,n.value))return;let a=0,o=!1,s="0";const l=()=>{setTimeout((()=>{var e,t;e=null==document?void 0:document.body,t=n.value,e&&t.trim()&&e.classList.remove(...bi(t)),o&&document&&(document.body.style.width=s)}),200)};e.watch(t,(e=>{if(!e)return void l();o=!wi(document.body,n.value),o&&(s=document.body.style.width),a=(e=>{var t;if(!Tt)return 0;if(void 0!==xi)return xi;const r=document.createElement("div");r.className=`${e}-scrollbar__wrap`,r.style.visibility="hidden",r.style.width="100px",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const i=r.offsetWidth;r.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",r.appendChild(n);const a=n.offsetWidth;return null==(t=r.parentNode)||t.removeChild(r),xi=i-a,xi})(i.namespace.value);const t=document.documentElement.clientHeight<document.body.scrollHeight,r=((e,t)=>{var r;if(!Tt||!e||!t)return"";let i=rr(t);"float"===i&&(i="cssFloat");try{const t=e.style[i];if(t)return t;const n=null==(r=document.defaultView)?void 0:r.getComputedStyle(e,"");return n?n[i]:""}catch(n){return e.style[i]}})(document.body,"overflowY");var c,h;a>0&&(t||"scroll"===r)&&o&&(document.body.style.width=`calc(100% - ${a}px)`),c=document.body,h=n.value,c&&h.trim()&&c.classList.add(...bi(h))})),e.onScopeDispose((()=>l()))},ia=t=>{const r=e.getCurrentInstance();return e.computed((()=>{var e,i;return null==(i=null==(e=null==r?void 0:r.proxy)?void 0:e.$props)?void 0:i[t]}))},na=e=>{if(!e)return{onClick:qt,onMousedown:qt,onMouseup:qt};let t=!1,r=!1;return{onClick:i=>{t&&r&&e(i),t=r=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{r=e.target===e.currentTarget}}},aa={prefix:Math.floor(1e4*Math.random()),current:0},oa=Symbol("elIdInjection"),sa=t=>{const r=e.getCurrentInstance()?e.inject(oa,aa):aa;Tt||r!==aa||yi("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const i=ea();return e.computed((()=>e.unref(t)||`${i.value}-id-${r.prefix}-${r.current++}`))};let la=[];const ca=e=>{const t=e;t.key===Sn&&la.forEach((e=>e(t)))},ha=e.ref(0),da=Symbol("zIndexContextKey");const ua=mn({type:String,values:kn,required:!1}),pa=Symbol("size");function fa(t,{afterFocus:r,afterBlur:i}={}){const n=e.getCurrentInstance(),{emit:a}=n,o=e.shallowRef(),s=e.ref(!1);return e.watch(o,(e=>{e&&e.setAttribute("tabindex","-1")})),function(...t){let r,i,n,a;if(kt(t[0])||Array.isArray(t[0])?([i,n,a]=t,r=Rt):[r,i,n,a]=t,!r)return At;Array.isArray(i)||(i=[i]),Array.isArray(n)||(n=[n]);const o=[],s=()=>{o.forEach((e=>e())),o.length=0},l=e.watch((()=>[It(r),Ct(a)]),(([e,t])=>{s(),e&&o.push(...i.flatMap((r=>n.map((i=>((e,t,r,i)=>(e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)))(e,r,i,t))))))}),{immediate:!0,flush:"post"}),c=()=>{l(),s()};Bt(c)}(o,"click",(()=>{var e;null==(e=t.value)||e.focus()})),{wrapperRef:o,isFocused:s,handleFocus:e=>{s.value||(s.value=!0,a("focus",e),null==r||r())},handleBlur:e=>{var t;e.relatedTarget&&(null==(t=o.value)?void 0:t.contains(e.relatedTarget))||(s.value=!1,a("blur",e),null==i||i())}}}const ga=Symbol(),ma=e.ref();function va(t,r=void 0){const i=e.getCurrentInstance()?e.inject(ga,ma):ma;return t?e.computed((()=>{var e,n;return null!=(n=null==(e=i.value)?void 0:e[t])?n:r})):i}function ya(t,r){const i=va(),n=ta(t,e.computed((()=>{var e;return(null==(e=i.value)?void 0:e.namespace)||Jn}))),a=jn(e.computed((()=>{var e;return null==(e=i.value)?void 0:e.locale}))),o=(t=>{const r=t||(e.getCurrentInstance()?e.inject(da,void 0):void 0),i=e.computed((()=>{const t=e.unref(r);return fi(t)?t:2e3})),n=e.computed((()=>i.value+ha.value));return{initialZIndex:i,currentZIndex:n,nextZIndex:()=>(ha.value++,n.value)}})(e.computed((()=>{var e;return(null==(e=i.value)?void 0:e.zIndex)||2e3}))),s=e.computed((()=>{var t;return e.unref(r)||(null==(t=i.value)?void 0:t.size)||""}));return ba(e.computed((()=>e.unref(i)||{}))),{ns:n,locale:a,zIndex:o,size:s}}const ba=(t,r,i=!1)=>{var n;const a=!!e.getCurrentInstance(),o=a?va():void 0,s=null!=(n=null==r?void 0:r.provide)?n:a?e.provide:void 0;if(!s)return void yi("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");const l=e.computed((()=>{const r=e.unref(t);return(null==o?void 0:o.value)?wa(o.value,r):r}));return s(ga,l),s(Pn,e.computed((()=>l.value.locale))),s(Zn,e.computed((()=>l.value.namespace))),s(da,e.computed((()=>l.value.zIndex))),s(pa,{size:e.computed((()=>l.value.size||""))}),!i&&ma.value||(ma.value=l.value),l},wa=(e,t)=>{var r;const i=[...new Set([...mi(e),...mi(t)])],n={};for(const a of i)n[a]=null!=(r=t[a])?r:e[a];return n};var _a=(e,t)=>{const r=e.__vccOpts||e;for(const[i,n]of t)r[i]=n;return r};const xa=vn({size:{type:[Number,String]},color:{type:String}}),Ea=e.defineComponent({name:"ElIcon",inheritAttrs:!1});const Sa=xn(_a(e.defineComponent({...Ea,props:xa,setup(t){const r=t,i=ta("icon"),n=e.computed((()=>{const{size:e,color:t}=r;return e||t?{fontSize:pi(e)?void 0:_i(e),"--color":t}:{}}));return(t,r)=>(e.openBlock(),e.createElementBlock("i",e.mergeProps({class:e.unref(i).b(),style:e.unref(n)},t.$attrs),[e.renderSlot(t.$slots,"default")],16))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]])),Ta=Symbol("formContextKey"),ka=Symbol("formItemContextKey"),Aa=(t,r={})=>{const i=e.ref(void 0),n=r.prop?i:ia("size"),a=r.global?i:(()=>{const t=e.inject(pa,{});return e.computed((()=>e.unref(t.size)||""))})(),o=r.form?{size:void 0}:e.inject(Ta,void 0),s=r.formItem?{size:void 0}:e.inject(ka,void 0);return e.computed((()=>n.value||e.unref(t)||(null==s?void 0:s.size)||(null==o?void 0:o.size)||a.value||""))},Ca=t=>{const r=ia("disabled"),i=e.inject(Ta,void 0);return e.computed((()=>r.value||e.unref(t)||(null==i?void 0:i.disabled)||!1))},Ba=()=>({form:e.inject(Ta,void 0),formItem:e.inject(ka,void 0)});let Ia;const Ra=`\n height:0 !important;\n visibility:hidden !important;\n ${Tt&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,Ma=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Oa(e,t=1,r){var i;Ia||(Ia=document.createElement("textarea"),document.body.appendChild(Ia));const{paddingSize:n,borderSize:a,boxSizing:o,contextStyle:s}=function(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("box-sizing"),i=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),n=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Ma.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:i,borderSize:n,boxSizing:r}}(e);Ia.setAttribute("style",`${s};${Ra}`),Ia.value=e.value||e.placeholder||"";let l=Ia.scrollHeight;const c={};"border-box"===o?l+=a:"content-box"===o&&(l-=n),Ia.value="";const h=Ia.scrollHeight-n;if(fi(t)){let e=h*t;"border-box"===o&&(e=e+n+a),l=Math.max(e,l),c.minHeight=`${e}px`}if(fi(r)){let e=h*r;"border-box"===o&&(e=e+n+a),l=Math.min(e,l)}return c.height=`${l}px`,null==(i=Ia.parentNode)||i.removeChild(Ia),Ia=void 0,c}const Pa=vn({id:{type:String,default:void 0},size:ua,disabled:Boolean,modelValue:{type:[String,Number,Object],default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:yn},prefixIcon:{type:yn},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:{type:Boolean,default:!1}}),ja={[Tn]:e=>Xt(e),input:e=>Xt(e),change:e=>Xt(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Na=["role"],Da=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],La=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Ua=e.defineComponent({name:"ElInput",inheritAttrs:!1});const Fa=xn(_a(e.defineComponent({...Ua,props:Pa,emits:ja,setup(t,{expose:r,emit:i}){const n=t,a=e.useAttrs(),o=e.useSlots(),s=e.computed((()=>{const e={};return"combobox"===n.containerRole&&(e["aria-haspopup"]=a["aria-haspopup"],e["aria-owns"]=a["aria-owns"],e["aria-expanded"]=a["aria-expanded"]),e})),l=e.computed((()=>["textarea"===n.type?v.b():m.b(),m.m(f.value),m.is("disabled",g.value),m.is("exceed",H.value),{[m.b("group")]:o.prepend||o.append,[m.bm("group","append")]:o.append,[m.bm("group","prepend")]:o.prepend,[m.m("prefix")]:o.prefix||n.prefixIcon,[m.m("suffix")]:o.suffix||n.suffixIcon||n.clearable||n.showPassword,[m.bm("suffix","password-clear")]:D.value&&L.value},a.class])),c=e.computed((()=>[m.e("wrapper"),m.is("focus",A.value)])),h=((t={})=>{const{excludeListeners:r=!1,excludeKeys:i}=t,n=e.computed((()=>((null==i?void 0:i.value)||[]).concat(Cn))),a=e.getCurrentInstance();return a?e.computed((()=>{var e;return di(Object.entries(null==(e=a.proxy)?void 0:e.$attrs).filter((([e])=>!(n.value.includes(e)||r&&Bn.test(e)))))})):(yi("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),e.computed((()=>({}))))})({excludeKeys:e.computed((()=>Object.keys(s.value)))}),{form:d,formItem:u}=Ba(),{inputId:p}=((t,{formItemContext:r,disableIdGeneration:i,disableIdManagement:n})=>{i||(i=e.ref(!1)),n||(n=e.ref(!1));const a=e.ref();let o;const s=e.computed((()=>{var e;return!!(!t.label&&r&&r.inputIds&&(null==(e=r.inputIds)?void 0:e.length)<=1)}));return e.onMounted((()=>{o=e.watch([e.toRef(t,"id"),i],(([e,t])=>{const i=null!=e?e:t?void 0:sa().value;i!==a.value&&((null==r?void 0:r.removeInputId)&&(a.value&&r.removeInputId(a.value),(null==n?void 0:n.value)||t||!i||r.addInputId(i)),a.value=i)}),{immediate:!0})})),e.onUnmounted((()=>{o&&o(),(null==r?void 0:r.removeInputId)&&a.value&&r.removeInputId(a.value)})),{isLabeledByFormItem:s,inputId:a}})(n,{formItemContext:u}),f=Aa(),g=Ca(),m=ta("input"),v=ta("textarea"),y=e.shallowRef(),b=e.shallowRef(),w=e.ref(!1),_=e.ref(!1),x=e.ref(!1),E=e.ref(),S=e.shallowRef(n.inputStyle),T=e.computed((()=>y.value||b.value)),{wrapperRef:k,isFocused:A,handleFocus:C,handleBlur:B}=fa(T,{afterBlur(){var e;n.validateEvent&&(null==(e=null==u?void 0:u.validate)||e.call(u,"blur").catch((e=>yi(e))))}}),I=e.computed((()=>{var e;return null!=(e=null==d?void 0:d.statusIcon)&&e})),R=e.computed((()=>(null==u?void 0:u.validateState)||"")),M=e.computed((()=>R.value&&_n[R.value])),O=e.computed((()=>x.value?on:Wi)),P=e.computed((()=>[a.style,n.inputStyle])),j=e.computed((()=>[n.inputStyle,S.value,{resize:n.resize}])),N=e.computed((()=>ui(n.modelValue)?"":String(n.modelValue))),D=e.computed((()=>n.clearable&&!g.value&&!n.readonly&&!!N.value&&(A.value||w.value))),L=e.computed((()=>n.showPassword&&!g.value&&!n.readonly&&!!N.value&&(!!N.value||A.value))),U=e.computed((()=>n.showWordLimit&&!!h.value.maxlength&&("text"===n.type||"textarea"===n.type)&&!g.value&&!n.readonly&&!n.showPassword)),F=e.computed((()=>N.value.length)),H=e.computed((()=>!!U.value&&F.value>Number(h.value.maxlength))),z=e.computed((()=>!!o.suffix||!!n.suffixIcon||D.value||n.showPassword||U.value||!!R.value&&I.value)),[W,V]=function(t){const r=e.ref();return[function(){if(null==t.value)return;const{selectionStart:e,selectionEnd:i,value:n}=t.value;if(null==e||null==i)return;const a=n.slice(0,Math.max(0,e)),o=n.slice(Math.max(0,i));r.value={selectionStart:e,selectionEnd:i,value:n,beforeTxt:a,afterTxt:o}},function(){if(null==t.value||null==r.value)return;const{value:e}=t.value,{beforeTxt:i,afterTxt:n,selectionStart:a}=r.value;if(null==i||null==n||null==a)return;let o=e.length;if(e.endsWith(n))o=e.length-n.length;else if(e.startsWith(i))o=i.length;else{const t=i[a-1],r=e.indexOf(t,a-1);-1!==r&&(o=r+1)}t.value.setSelectionRange(o,o)}]}(y);Ft(b,(e=>{if(q(),!U.value||"both"!==n.resize)return;const t=e[0],{width:r}=t.contentRect;E.value={right:`calc(100% - ${r+15+6}px)`}}));const $=()=>{const{type:t,autosize:r}=n;if(Tt&&"textarea"===t&&b.value)if(r){const t=er(r)?r.minRows:void 0,i=er(r)?r.maxRows:void 0,n=Oa(b.value,t,i);S.value={overflowY:"hidden",...n},e.nextTick((()=>{b.value.offsetHeight,S.value=n}))}else S.value={minHeight:Oa(b.value).minHeight}},q=(e=>{let t=!1;return()=>{var r;if(t||!n.autosize)return;null===(null==(r=b.value)?void 0:r.offsetParent)||(e(),t=!0)}})($),Y=()=>{const e=T.value,t=n.formatter?n.formatter(N.value):N.value;e&&e.value!==t&&(e.value=t)},K=async t=>{W();let{value:r}=t.target;n.formatter&&(r=n.parser?n.parser(r):r),_.value||(r!==N.value?(i(Tn,r),i("input",r),await e.nextTick(),Y(),V()):Y())},G=e=>{i("change",e.target.value)},Q=e=>{i("compositionstart",e),_.value=!0},J=e=>{var t;i("compositionupdate",e);const r=null==(t=e.target)?void 0:t.value,n=r[r.length-1]||"";_.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(n)},X=e=>{i("compositionend",e),_.value&&(_.value=!1,K(e))},Z=()=>{x.value=!x.value,ee()},ee=async()=>{var t;await e.nextTick(),null==(t=T.value)||t.focus()},te=e=>{w.value=!1,i("mouseleave",e)},re=e=>{w.value=!0,i("mouseenter",e)},ie=e=>{i("keydown",e)},ne=()=>{i(Tn,""),i("change",""),i("clear"),i("input","")};return e.watch((()=>n.modelValue),(()=>{var t;e.nextTick((()=>$())),n.validateEvent&&(null==(t=null==u?void 0:u.validate)||t.call(u,"change").catch((e=>yi(e))))})),e.watch(N,(()=>Y())),e.watch((()=>n.type),(async()=>{await e.nextTick(),Y(),$()})),e.onMounted((()=>{!n.formatter&&n.parser&&yi("ElInput","If you set the parser, you also need to set the formatter."),Y(),e.nextTick($)})),r({input:y,textarea:b,ref:T,textareaStyle:j,autosize:e.toRef(n,"autosize"),focus:ee,blur:()=>{var e;return null==(e=T.value)?void 0:e.blur()},select:()=>{var e;null==(e=T.value)||e.select()},clear:ne,resizeTextarea:$}),(t,r)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps(e.unref(s),{class:e.unref(l),style:e.unref(P),role:t.containerRole,onMouseenter:re,onMouseleave:te}),[e.createCommentVNode(" input "),"textarea"!==t.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createCommentVNode(" prepend slot "),t.$slots.prepend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(m).be("group","prepend"))},[e.renderSlot(t.$slots,"prepend")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref_key:"wrapperRef",ref:k,class:e.normalizeClass(e.unref(c))},[e.createCommentVNode(" prefix slot "),t.$slots.prefix||t.prefixIcon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(m).e("prefix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(m).e("prefix-inner"))},[e.renderSlot(t.$slots,"prefix"),t.prefixIcon?(e.openBlock(),e.createBlock(e.unref(Sa),{key:0,class:e.normalizeClass(e.unref(m).e("icon"))},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.prefixIcon)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("input",e.mergeProps({id:e.unref(p),ref_key:"input",ref:y,class:e.unref(m).e("inner")},e.unref(h),{type:t.showPassword?x.value?"text":"password":t.type,disabled:e.unref(g),formatter:t.formatter,parser:t.parser,readonly:t.readonly,autocomplete:t.autocomplete,tabindex:t.tabindex,"aria-label":t.label,placeholder:t.placeholder,style:t.inputStyle,form:n.form,autofocus:n.autofocus,onCompositionstart:Q,onCompositionupdate:J,onCompositionend:X,onInput:K,onFocus:r[0]||(r[0]=(...t)=>e.unref(C)&&e.unref(C)(...t)),onBlur:r[1]||(r[1]=(...t)=>e.unref(B)&&e.unref(B)(...t)),onChange:G,onKeydown:ie}),null,16,Da),e.createCommentVNode(" suffix slot "),e.unref(z)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(m).e("suffix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(m).e("suffix-inner"))},[e.unref(D)&&e.unref(L)&&e.unref(U)?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"suffix"),t.suffixIcon?(e.openBlock(),e.createBlock(e.unref(Sa),{key:0,class:e.normalizeClass(e.unref(m).e("icon"))},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.suffixIcon)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],64)),e.unref(D)?(e.openBlock(),e.createBlock(e.unref(Sa),{key:1,class:e.normalizeClass([e.unref(m).e("icon"),e.unref(m).e("clear")]),onMousedown:e.withModifiers(e.unref(qt),["prevent"]),onClick:ne},{default:e.withCtx((()=>[e.createVNode(e.unref(ji))])),_:1},8,["class","onMousedown"])):e.createCommentVNode("v-if",!0),e.unref(L)?(e.openBlock(),e.createBlock(e.unref(Sa),{key:2,class:e.normalizeClass([e.unref(m).e("icon"),e.unref(m).e("password")]),onClick:Z},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(O))))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.unref(U)?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(e.unref(m).e("count"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(m).e("count-inner"))},e.toDisplayString(e.unref(F))+" / "+e.toDisplayString(e.unref(h).maxlength),3)],2)):e.createCommentVNode("v-if",!0),e.unref(R)&&e.unref(M)&&e.unref(I)?(e.openBlock(),e.createBlock(e.unref(Sa),{key:4,class:e.normalizeClass([e.unref(m).e("icon"),e.unref(m).e("validateIcon"),e.unref(m).is("loading","validating"===e.unref(R))])},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(M))))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0)],2),e.createCommentVNode(" append slot "),t.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(m).be("group","append"))},[e.renderSlot(t.$slots,"append")],2)):e.createCommentVNode("v-if",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" textarea "),e.createElementVNode("textarea",e.mergeProps({id:e.unref(p),ref_key:"textarea",ref:b,class:e.unref(v).e("inner")},e.unref(h),{tabindex:t.tabindex,disabled:e.unref(g),readonly:t.readonly,autocomplete:t.autocomplete,style:e.unref(j),"aria-label":t.label,placeholder:t.placeholder,form:n.form,autofocus:n.autofocus,onCompositionstart:Q,onCompositionupdate:J,onCompositionend:X,onInput:K,onFocus:r[2]||(r[2]=(...t)=>e.unref(C)&&e.unref(C)(...t)),onBlur:r[3]||(r[3]=(...t)=>e.unref(B)&&e.unref(B)(...t)),onChange:G,onKeydown:ie}),null,16,La),e.unref(U)?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(E.value),class:e.normalizeClass(e.unref(m).e("count"))},e.toDisplayString(e.unref(F))+" / "+e.toDisplayString(e.unref(h).maxlength),7)):e.createCommentVNode("v-if",!0)],64))],16,Na)),[[e.vShow,"hidden"!==t.type]])}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]])),Ha="focus-trap.focus-after-trapped",za="focus-trap.focus-after-released",Wa={cancelable:!0,bubbles:!1},Va={cancelable:!0,bubbles:!1},$a="focusAfterTrapped",qa="focusAfterReleased",Ya=Symbol("elFocusTrap"),Ka=e.ref(),Ga=e.ref(0),Qa=e.ref(0);let Ja=0;const Xa=e=>{const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t},Za=(e,t)=>{for(const r of e)if(!eo(r,t))return r},eo=(e,t)=>{if("test"===process.env.NODE_ENV)return!1;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},to=(e,t)=>{if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),Qa.value=window.performance.now(),e!==r&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select()}};function ro(e,t){const r=[...e],i=e.indexOf(t);return-1!==i&&r.splice(i,1),r}const io=(()=>{let e=[];return{push:t=>{const r=e[0];r&&t!==r&&r.pause(),e=ro(e,t),e.unshift(t)},remove:t=>{var r,i;e=ro(e,t),null==(i=null==(r=e[0])?void 0:r.resume)||i.call(r)}}})(),no=()=>{Ka.value="pointer",Ga.value=window.performance.now()},ao=()=>{Ka.value="keyboard",Ga.value=window.performance.now()},oo=e=>new CustomEvent("focus-trap.focusout-prevented",{...Va,detail:e});var so=_a(e.defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[$a,qa,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:r}){const i=e.ref();let n,a;const{focusReason:o}=(e.onMounted((()=>{0===Ja&&(document.addEventListener("mousedown",no),document.addEventListener("touchstart",no),document.addEventListener("keydown",ao)),Ja++})),e.onBeforeUnmount((()=>{Ja--,Ja<=0&&(document.removeEventListener("mousedown",no),document.removeEventListener("touchstart",no),document.removeEventListener("keydown",ao))})),{focusReason:Ka,lastUserFocusTimestamp:Ga,lastAutomatedFocusTimestamp:Qa});var s;s=e=>{t.trapped&&!l.paused&&r("release-requested",e)},e.onMounted((()=>{0===la.length&&document.addEventListener("keydown",ca),Tt&&la.push(s)})),e.onBeforeUnmount((()=>{la=la.filter((e=>e!==s)),0===la.length&&Tt&&document.removeEventListener("keydown",ca)}));const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=e=>{if(!t.loop&&!t.trapped)return;if(l.paused)return;const{key:i,altKey:n,ctrlKey:a,metaKey:s,currentTarget:c,shiftKey:h}=e,{loop:d}=t,u=i===En&&!n&&!a&&!s,p=document.activeElement;if(u&&p){const t=c,[i,n]=(e=>{const t=Xa(e);return[Za(t,e),Za(t.reverse(),e)]})(t);if(i&&n)if(h||p!==n){if(h&&[i,t].includes(p)){const t=oo({focusReason:o.value});r("focusout-prevented",t),t.defaultPrevented||(e.preventDefault(),d&&to(n,!0))}}else{const t=oo({focusReason:o.value});r("focusout-prevented",t),t.defaultPrevented||(e.preventDefault(),d&&to(i,!0))}else if(p===t){const t=oo({focusReason:o.value});r("focusout-prevented",t),t.defaultPrevented||e.preventDefault()}}};e.provide(Ya,{focusTrapRef:i,onKeydown:c}),e.watch((()=>t.focusTrapEl),(e=>{e&&(i.value=e)}),{immediate:!0}),e.watch([i],(([e],[t])=>{e&&(e.addEventListener("keydown",c),e.addEventListener("focusin",u),e.addEventListener("focusout",p)),t&&(t.removeEventListener("keydown",c),t.removeEventListener("focusin",u),t.removeEventListener("focusout",p))}));const h=e=>{r($a,e)},d=e=>r(qa,e),u=o=>{const s=e.unref(i);if(!s)return;const c=o.target,h=o.relatedTarget,d=c&&s.contains(c);if(!t.trapped){h&&s.contains(h)||(n=h)}d&&r("focusin",o),l.paused||t.trapped&&(d?a=c:to(a,!0))},p=n=>{const s=e.unref(i);if(!l.paused&&s)if(t.trapped){const e=n.relatedTarget;ui(e)||s.contains(e)||setTimeout((()=>{if(!l.paused&&t.trapped){const e=oo({focusReason:o.value});r("focusout-prevented",e),e.defaultPrevented||to(a,!0)}}),0)}else{const e=n.target;e&&s.contains(e)||r("focusout",n)}};async function f(){await e.nextTick();const r=e.unref(i);if(r){io.push(l);const i=r.contains(document.activeElement)?n:document.activeElement;n=i;if(!r.contains(i)){const n=new Event(Ha,Wa);r.addEventListener(Ha,h),r.dispatchEvent(n),n.defaultPrevented||e.nextTick((()=>{let e=t.focusStartEl;Xt(e)||(to(e),document.activeElement!==e&&(e="first")),"first"===e&&((e,t=!1)=>{const r=document.activeElement;for(const i of e)if(to(i,t),document.activeElement!==r)return})(Xa(r),!0),document.activeElement!==i&&"container"!==e||to(r)}))}}}function g(){const t=e.unref(i);if(t){t.removeEventListener(Ha,h);const e=new CustomEvent(za,{...Wa,detail:{focusReason:o.value}});t.addEventListener(za,d),t.dispatchEvent(e),e.defaultPrevented||"keyboard"!=o.value&&Ga.value>Qa.value&&!t.contains(document.activeElement)||to(null!=n?n:document.body),t.removeEventListener(za,d),io.remove(l)}}return e.onMounted((()=>{t.trapped&&f(),e.watch((()=>t.trapped),(e=>{e?f():g()}))})),e.onBeforeUnmount((()=>{t.trapped&&g()})),{onKeydown:c}}}),[["render",function(t,r,i,n,a,o){return e.renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const lo=Symbol("buttonGroupContextKey"),co=(t,r)=>{(({from:t,replacement:r,scope:i,version:n,ref:a,type:o="API"},s)=>{e.watch((()=>e.unref(s)),(e=>{e&&yi(i,`[${o}] ${t} is about to be deprecated in version ${n}, please use ${r} instead.\nFor more detail, please visit: ${a}\n`)}),{immediate:!0})})({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},e.computed((()=>"text"===t.type)));const i=e.inject(lo,void 0),n=va("button"),{form:a}=Ba(),o=Aa(e.computed((()=>null==i?void 0:i.size))),s=Ca(),l=e.ref(),c=e.useSlots(),h=e.computed((()=>t.type||(null==i?void 0:i.type)||"")),d=e.computed((()=>{var e,r,i;return null!=(i=null!=(r=t.autoInsertSpace)?r:null==(e=n.value)?void 0:e.autoInsertSpace)&&i})),u=e.computed((()=>"button"===t.tag?{ariaDisabled:s.value||t.loading,disabled:s.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{})),p=e.computed((()=>{var t;const r=null==(t=c.default)?void 0:t.call(c);if(d.value&&1===(null==r?void 0:r.length)){const t=r[0];if((null==t?void 0:t.type)===e.Text){const e=t.children;return/^\p{Unified_Ideograph}{2}$/u.test(e.trim())}}return!1}));return{_disabled:s,_size:o,_type:h,_ref:l,_props:u,shouldAddSpace:p,handleClick:e=>{"reset"===t.nativeType&&(null==a||a.resetFields()),r("click",e)}}},ho=vn({size:ua,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:yn},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:yn,default:()=>Ji},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:[String,Object],default:"button"}}),uo={click:e=>e instanceof MouseEvent};function po(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function fo(e){return Math.min(1,Math.max(0,e))}function go(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function mo(e){return e<=1?"".concat(100*Number(e),"%"):e}function vo(e){return 1===e.length?"0"+e:String(e)}function yo(e,t,r){e=po(e,255),t=po(t,255),r=po(r,255);var i=Math.max(e,t,r),n=Math.min(e,t,r),a=0,o=0,s=(i+n)/2;if(i===n)o=0,a=0;else{var l=i-n;switch(o=s>.5?l/(2-i-n):l/(i+n),i){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:o,l:s}}function bo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function wo(e,t,r){e=po(e,255),t=po(t,255),r=po(r,255);var i=Math.max(e,t,r),n=Math.min(e,t,r),a=0,o=i,s=i-n,l=0===i?0:s/i;if(i===n)a=0;else{switch(i){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4}a/=6}return{h:a,s:l,v:o}}function _o(e,t,r,i){var n=[vo(Math.round(e).toString(16)),vo(Math.round(t).toString(16)),vo(Math.round(r).toString(16))];return i&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function xo(e){return Eo(e)/255}function Eo(e){return parseInt(e,16)}var So={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function To(e){var t,r,i,n={r:0,g:0,b:0},a=1,o=null,s=null,l=null,c=!1,h=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(So[e])e=So[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=Bo.rgb.exec(e);if(r)return{r:r[1],g:r[2],b:r[3]};if(r=Bo.rgba.exec(e),r)return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=Bo.hsl.exec(e),r)return{h:r[1],s:r[2],l:r[3]};if(r=Bo.hsla.exec(e),r)return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=Bo.hsv.exec(e),r)return{h:r[1],s:r[2],v:r[3]};if(r=Bo.hsva.exec(e),r)return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=Bo.hex8.exec(e),r)return{r:Eo(r[1]),g:Eo(r[2]),b:Eo(r[3]),a:xo(r[4]),format:t?"name":"hex8"};if(r=Bo.hex6.exec(e),r)return{r:Eo(r[1]),g:Eo(r[2]),b:Eo(r[3]),format:t?"name":"hex"};if(r=Bo.hex4.exec(e),r)return{r:Eo(r[1]+r[1]),g:Eo(r[2]+r[2]),b:Eo(r[3]+r[3]),a:xo(r[4]+r[4]),format:t?"name":"hex8"};if(r=Bo.hex3.exec(e),r)return{r:Eo(r[1]+r[1]),g:Eo(r[2]+r[2]),b:Eo(r[3]+r[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(Io(e.r)&&Io(e.g)&&Io(e.b)?(t=e.r,r=e.g,i=e.b,n={r:255*po(t,255),g:255*po(r,255),b:255*po(i,255)},c=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):Io(e.h)&&Io(e.s)&&Io(e.v)?(o=mo(e.s),s=mo(e.v),n=function(e,t,r){e=6*po(e,360),t=po(t,100),r=po(r,100);var i=Math.floor(e),n=e-i,a=r*(1-t),o=r*(1-n*t),s=r*(1-(1-n)*t),l=i%6;return{r:255*[r,o,a,a,s,r][l],g:255*[s,r,r,o,a,a][l],b:255*[a,a,s,r,r,o][l]}}(e.h,o,s),c=!0,h="hsv"):Io(e.h)&&Io(e.s)&&Io(e.l)&&(o=mo(e.s),l=mo(e.l),n=function(e,t,r){var i,n,a;if(e=po(e,360),t=po(t,100),r=po(r,100),0===t)n=r,a=r,i=r;else{var o=r<.5?r*(1+t):r+t-r*t,s=2*r-o;i=bo(s,o,e+1/3),n=bo(s,o,e),a=bo(s,o,e-1/3)}return{r:255*i,g:255*n,b:255*a}}(e.h,o,l),c=!0,h="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=go(a),{ok:c,format:e.format||h,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:a}}var ko="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),Ao="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Co="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Bo={CSS_UNIT:new RegExp(ko),rgb:new RegExp("rgb"+Ao),rgba:new RegExp("rgba"+Co),hsl:new RegExp("hsl"+Ao),hsla:new RegExp("hsla"+Co),hsv:new RegExp("hsv"+Ao),hsva:new RegExp("hsva"+Co),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Io(e){return Boolean(Bo.CSS_UNIT.exec(String(e)))}var Ro=function(){function e(t,r){var i;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var n=To(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=r.format)&&void 0!==i?i:n.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,i=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=go(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=wo(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=wo(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),i=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=yo(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=yo(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),i=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),_o(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,r,i,n){var a,o=[vo(Math.round(e).toString(16)),vo(Math.round(t).toString(16)),vo(Math.round(r).toString(16)),vo((a=i,Math.round(255*parseFloat(a)).toString(16)))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*po(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*po(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+_o(this.r,this.g,this.b,!1),t=0,r=Object.entries(So);t<r.length;t++){var i=r[t],n=i[0];if(e===i[1])return n}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var r=!1,i=this.a<1&&this.a>=0;return t||!i||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=fo(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=fo(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=fo(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=fo(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),i=(r.h+t)%360;return r.h=i<0?360+i:i,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var i=this.toRgb(),n=new e(t).toRgb(),a=r/100;return new e({r:(n.r-i.r)*a+i.r,g:(n.g-i.g)*a+i.g,b:(n.b-i.b)*a+i.b,a:(n.a-i.a)*a+i.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var i=this.toHsl(),n=360/r,a=[this];for(i.h=(i.h-(n*t>>1)+720)%360;--t;)i.h=(i.h+n)%360,a.push(new e(i));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),i=r.h,n=r.s,a=r.v,o=[],s=1/t;t--;)o.push(new e({h:i,s:n,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),i=new e(t).toRgb(),n=r.a+i.a*(1-r.a);return new e({r:(r.r*r.a+i.r*i.a*(1-r.a))/n,g:(r.g*r.a+i.g*i.a*(1-r.a))/n,b:(r.b*r.a+i.b*i.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),i=r.h,n=[this],a=360/t,o=1;o<t;o++)n.push(new e({h:(i+o*a)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Mo(e,t=20){return e.mix("#141414",t).toString()}const Oo=e.defineComponent({name:"ElButton"});var Po=_a(e.defineComponent({...Oo,props:ho,emits:uo,setup(t,{expose:r,emit:i}){const n=t,a=function(t){const r=Ca(),i=ta("button");return e.computed((()=>{let e={};const n=t.color;if(n){const a=new Ro(n),o=t.dark?a.tint(20).toString():Mo(a,20);if(t.plain)e=i.cssVarBlock({"bg-color":t.dark?Mo(a,90):a.tint(90).toString(),"text-color":n,"border-color":t.dark?Mo(a,50):a.tint(50).toString(),"hover-text-color":`var(${i.cssVarName("color-white")})`,"hover-bg-color":n,"hover-border-color":n,"active-bg-color":o,"active-text-color":`var(${i.cssVarName("color-white")})`,"active-border-color":o}),r.value&&(e[i.cssVarBlockName("disabled-bg-color")]=t.dark?Mo(a,90):a.tint(90).toString(),e[i.cssVarBlockName("disabled-text-color")]=t.dark?Mo(a,50):a.tint(50).toString(),e[i.cssVarBlockName("disabled-border-color")]=t.dark?Mo(a,80):a.tint(80).toString());else{const s=t.dark?Mo(a,30):a.tint(30).toString(),l=a.isDark()?`var(${i.cssVarName("color-white")})`:`var(${i.cssVarName("color-black")})`;if(e=i.cssVarBlock({"bg-color":n,"text-color":l,"border-color":n,"hover-bg-color":s,"hover-text-color":l,"hover-border-color":s,"active-bg-color":o,"active-border-color":o}),r.value){const r=t.dark?Mo(a,50):a.tint(50).toString();e[i.cssVarBlockName("disabled-bg-color")]=r,e[i.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${i.cssVarName("color-white")})`,e[i.cssVarBlockName("disabled-border-color")]=r}}}return e}))}(n),o=ta("button"),{_ref:s,_size:l,_type:c,_disabled:h,_props:d,shouldAddSpace:u,handleClick:p}=co(n,i);return r({ref:s,size:l,type:c,disabled:h,shouldAddSpace:u}),(t,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps({ref_key:"_ref",ref:s},e.unref(d),{class:[e.unref(o).b(),e.unref(o).m(e.unref(c)),e.unref(o).m(e.unref(l)),e.unref(o).is("disabled",e.unref(h)),e.unref(o).is("loading",t.loading),e.unref(o).is("plain",t.plain),e.unref(o).is("round",t.round),e.unref(o).is("circle",t.circle),e.unref(o).is("text",t.text),e.unref(o).is("link",t.link),e.unref(o).is("has-bg",t.bg)],style:e.unref(a),onClick:e.unref(p)}),{default:e.withCtx((()=>[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.$slots.loading?e.renderSlot(t.$slots,"loading",{key:0}):(e.openBlock(),e.createBlock(e.unref(Sa),{key:1,class:e.normalizeClass(e.unref(o).is("loading"))},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.loadingIcon)))])),_:1},8,["class"]))],64)):t.icon||t.$slots.icon?(e.openBlock(),e.createBlock(e.unref(Sa),{key:1},{default:e.withCtx((()=>[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:0})):e.renderSlot(t.$slots,"icon",{key:1})])),_:3})):e.createCommentVNode("v-if",!0),t.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({[e.unref(o).em("text","expand")]:e.unref(u)})},[e.renderSlot(t.$slots,"default")],2)):e.createCommentVNode("v-if",!0)])),_:3},16,["class","style","onClick"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const jo={size:ho.size,type:ho.type},No=e.defineComponent({name:"ElButtonGroup"});var Do=_a(e.defineComponent({...No,props:jo,setup(t){const r=t;e.provide(lo,e.reactive({size:e.toRef(r,"size"),type:e.toRef(r,"type")}));const i=ta("button");return(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`${e.unref(i).b("group")}`)},[e.renderSlot(t.$slots,"default")],2))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Lo=xn(Po,{ButtonGroup:Do});Do.install=qt;const Uo="_trap-focus-children",Fo=[],Ho=e=>{var t;if(0===Fo.length)return;const r=Fo[Fo.length-1][Uo];if(r.length>0&&e.code===En){if(1===r.length)return e.preventDefault(),void(document.activeElement!==r[0]&&r[0].focus());const i=e.shiftKey,n=e.target===r[0],a=e.target===r[r.length-1];if(n&&i&&(e.preventDefault(),r[r.length-1].focus()),a&&!i&&(e.preventDefault(),r[0].focus()),"test"===process.env.NODE_ENV){const n=r.indexOf(e.target);-1!==n&&(null==(t=r[i?n-1:n+1])||t.focus())}}},zo={beforeMount(e){e[Uo]=xt(e),Fo.push(e),Fo.length<=1&&document.addEventListener("keydown",Ho)},updated(t){e.nextTick((()=>{t[Uo]=xt(t)}))},unmounted(){Fo.shift(),0===Fo.length&&document.removeEventListener("keydown",Ho)}},Wo=vn({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:[String,Array,Object]},zIndex:{type:[String,Number]}}),Vo={click:e=>e instanceof MouseEvent};const $o=e.defineComponent({name:"ElOverlay",props:Wo,emits:Vo,setup(t,{slots:r,emit:i}){const n=ta("overlay"),{onClick:a,onMousedown:o,onMouseup:s}=na(t.customMaskEvent?void 0:e=>{i("click",e)});return()=>t.mask?e.createVNode("div",{class:[n.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:a,onMousedown:o,onMouseup:s},[e.renderSlot(r,"default")],An.STYLE|An.CLASS|An.PROPS,["onClick","onMouseup","onMousedown"]):e.h("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[e.renderSlot(r,"default")])}}),qo=e.defineComponent({name:"ElMessageBox",directives:{TrapFocus:zo},components:{ElButton:Lo,ElFocusTrap:so,ElInput:Fa,ElOverlay:$o,ElIcon:Sa,...bn},inheritAttrs:!1,props:{buttonSize:{type:String,validator:e=>["",...kn].includes(e)},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:r}){const{locale:i,zIndex:n,ns:a,size:o}=ya("message-box",e.computed((()=>t.buttonSize))),{t:s}=i,{nextZIndex:l}=n,c=e.ref(!1),h=e.reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:l()}),d=e.computed((()=>{const e=h.type;return{[a.bm("icon",e)]:e&&wn[e]}})),u=sa(),p=sa(),f=e.computed((()=>h.icon||wn[h.type]||"")),g=e.computed((()=>!!h.message)),m=e.ref(),v=e.ref(),y=e.ref(),b=e.ref(),w=e.ref(),_=e.computed((()=>h.confirmButtonClass));e.watch((()=>h.inputValue),(async r=>{await e.nextTick(),"prompt"===t.boxType&&null!==r&&A()}),{immediate:!0}),e.watch((()=>c.value),(r=>{var i,n;r&&("prompt"!==t.boxType&&(h.autofocus?y.value=null!=(n=null==(i=w.value)?void 0:i.$el)?n:m.value:y.value=m.value),h.zIndex=l()),"prompt"===t.boxType&&(r?e.nextTick().then((()=>{var e;b.value&&b.value.$el&&(h.autofocus?y.value=null!=(e=C())?e:m.value:y.value=m.value)})):(h.editorErrorMessage="",h.validateError=!1))}));const x=e.computed((()=>t.draggable));function E(){c.value&&(c.value=!1,e.nextTick((()=>{h.action&&r("action",h.action)})))}In(m,v,x),e.onMounted((async()=>{await e.nextTick(),t.closeOnHashChange&&window.addEventListener("hashchange",E)})),e.onBeforeUnmount((()=>{t.closeOnHashChange&&window.removeEventListener("hashchange",E)}));const S=()=>{t.closeOnClickModal&&k(h.distinguishCancelAndClose?"close":"cancel")},T=na(S),k=e=>{var r;("prompt"!==t.boxType||"confirm"!==e||A())&&(h.action=e,h.beforeClose?null==(r=h.beforeClose)||r.call(h,e,h,E):E())},A=()=>{if("prompt"===t.boxType){const e=h.inputPattern;if(e&&!e.test(h.inputValue||""))return h.editorErrorMessage=h.inputErrorMessage||s("el.messagebox.error"),h.validateError=!0,!1;const t=h.inputValidator;if("function"==typeof t){const e=t(h.inputValue);if(!1===e)return h.editorErrorMessage=h.inputErrorMessage||s("el.messagebox.error"),h.validateError=!0,!1;if("string"==typeof e)return h.editorErrorMessage=e,h.validateError=!0,!1}}return h.editorErrorMessage="",h.validateError=!1,!0},C=()=>{const e=b.value.$refs;return e.input||e.textarea},B=()=>{k("close")};return t.lockScroll&&ra(c),{...e.toRefs(h),ns:a,overlayEvent:T,visible:c,hasMessage:g,typeClass:d,contentId:u,inputId:p,btnSize:o,iconComponent:f,confirmButtonClasses:_,rootRef:m,focusStartRef:y,headerRef:v,inputRef:b,confirmRef:w,doClose:E,handleClose:B,onCloseRequested:()=>{t.closeOnPressEscape&&B()},handleWrapperClick:S,handleInputEnter:e=>{if("textarea"!==h.inputType)return e.preventDefault(),k("confirm")},handleAction:k,t:s}}}),Yo=["aria-label","aria-describedby"],Ko=["aria-label"],Go=["id"];var Qo=_a(qo,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-icon"),l=e.resolveComponent("close"),c=e.resolveComponent("el-input"),h=e.resolveComponent("el-button"),d=e.resolveComponent("el-focus-trap"),u=e.resolveComponent("el-overlay");return e.openBlock(),e.createBlock(e.Transition,{name:"fade-in-linear",onAfterLeave:r[11]||(r[11]=e=>t.$emit("vanish")),persisted:""},{default:e.withCtx((()=>[e.withDirectives(e.createVNode(u,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:e.withCtx((()=>[e.createElementVNode("div",{role:"dialog","aria-label":t.title,"aria-modal":"true","aria-describedby":t.showInput?void 0:t.contentId,class:e.normalizeClass(`${t.ns.namespace.value}-overlay-message-box`),onClick:r[8]||(r[8]=(...e)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...e)),onMousedown:r[9]||(r[9]=(...e)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...e)),onMouseup:r[10]||(r[10]=(...e)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...e))},[e.createVNode(d,{loop:"",trapped:t.visible,"focus-trap-el":t.rootRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:e.withCtx((()=>[e.createElementVNode("div",{ref:"rootRef",class:e.normalizeClass([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),{[t.ns.m("center")]:t.center}]),style:e.normalizeStyle(t.customStyle),tabindex:"-1",onClick:r[7]||(r[7]=e.withModifiers((()=>{}),["stop"]))},[null!==t.title&&void 0!==t.title?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"headerRef",class:e.normalizeClass(t.ns.e("header"))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("title"))},[t.iconComponent&&t.center?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.e("status"),t.typeClass])},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createElementVNode("span",null,e.toDisplayString(t.title),1)],2),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(t.ns.e("headerbtn")),"aria-label":t.t("el.messagebox.close"),onClick:r[0]||(r[0]=e=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:r[1]||(r[1]=e.withKeys(e.withModifiers((e=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"]))},[e.createVNode(s,{class:e.normalizeClass(t.ns.e("close"))},{default:e.withCtx((()=>[e.createVNode(l)])),_:1},8,["class"])],42,Ko)):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{id:t.contentId,class:e.normalizeClass(t.ns.e("content"))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.e("status"),t.typeClass])},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0),t.hasMessage?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.ns.e("message"))},[e.renderSlot(t.$slots,"default",{},(()=>[t.dangerouslyUseHTMLString?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.showInput?"label":"p"),{key:1,for:t.showInput?t.inputId:void 0,innerHTML:t.message},null,8,["for","innerHTML"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.showInput?"label":"p"),{key:0,for:t.showInput?t.inputId:void 0},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.dangerouslyUseHTMLString?"":t.message),1)])),_:1},8,["for"]))]))],2)):e.createCommentVNode("v-if",!0)],2),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("input"))},[e.createVNode(c,{id:t.inputId,ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":r[2]||(r[2]=e=>t.inputValue=e),type:t.inputType,placeholder:t.inputPlaceholder,"aria-invalid":t.validateError,class:e.normalizeClass({invalid:t.validateError}),onKeydown:e.withKeys(t.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("errormsg")),style:e.normalizeStyle({visibility:t.editorErrorMessage?"visible":"hidden"})},e.toDisplayString(t.editorErrorMessage),7)],2),[[e.vShow,t.showInput]])],10,Go),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("btns"))},[t.showCancelButton?(e.openBlock(),e.createBlock(h,{key:0,loading:t.cancelButtonLoading,class:e.normalizeClass([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:r[3]||(r[3]=e=>t.handleAction("cancel")),onKeydown:r[4]||(r[4]=e.withKeys(e.withModifiers((e=>t.handleAction("cancel")),["prevent"]),["enter"]))},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.cancelButtonText||t.t("el.messagebox.cancel")),1)])),_:1},8,["loading","class","round","size"])):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(h,{ref:"confirmRef",type:"primary",loading:t.confirmButtonLoading,class:e.normalizeClass([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:r[5]||(r[5]=e=>t.handleAction("confirm")),onKeydown:r[6]||(r[6]=e.withKeys(e.withModifiers((e=>t.handleAction("confirm")),["prevent"]),["enter"]))},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.confirmButtonText||t.t("el.messagebox.confirm")),1)])),_:1},8,["loading","class","round","disabled","size"]),[[e.vShow,t.showConfirmButton]])],2)],6)])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,Yo)])),_:3},8,["z-index","overlay-class","mask"]),[[e.vShow,t.visible]])])),_:3})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const Jo=new Map,Xo=(t,r,i=null)=>{const n=e.createVNode(Qo,t,Jt(t.message)||e.isVNode(t.message)?{default:Jt(t.message)?t.message:()=>t.message}:null);return n.appContext=i,e.render(n,r),(e=>{let t=document.body;return e.appendTo&&(Xt(e.appendTo)&&(t=document.querySelector(e.appendTo)),gi(e.appendTo)&&(t=e.appendTo),gi(t)||(yi("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t})(t).appendChild(r.firstElementChild),n.component},Zo=(t,r)=>{const i=document.createElement("div");t.onVanish=()=>{e.render(null,i),Jo.delete(a)},t.onAction=e=>{const r=Jo.get(a);let i;i=t.showInput?{value:a.inputValue,action:e}:e,t.callback?t.callback(i,n.proxy):"cancel"===e||"close"===e?t.distinguishCancelAndClose&&"cancel"!==e?r.reject("close"):r.reject("cancel"):r.resolve(i)};const n=Xo(t,i,r),a=n.proxy;for(const e in t)Gt(t,e)&&!Gt(a.$props,e)&&(a[e]=t[e]);return a.visible=!0,a};function es(t,r=null){if(!Tt)return Promise.reject();let i;return Xt(t)||e.isVNode(t)?t={message:t}:i=t.callback,new Promise(((e,n)=>{const a=Zo(t,null!=r?r:es._context);Jo.set(a,{options:t,callback:i,resolve:e,reject:n})}))}const ts={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((e=>{es[e]=function(e){return(t,r,i,n)=>{let a="";return er(r)?(i=r,a=""):a=pi(r)?"":r,es(Object.assign({title:a,message:t,type:"",...ts[e]},i,{boxType:e}),n)}}(e)})),es.close=()=>{Jo.forEach(((e,t)=>{t.doClose()})),Jo.clear()},es._context=null;const rs=es;rs.install=e=>{rs._context=e._context,e.config.globalProperties.$msgbox=rs,e.config.globalProperties.$messageBox=rs,e.config.globalProperties.$alert=rs.alert,e.config.globalProperties.$confirm=rs.confirm,e.config.globalProperties.$prompt=rs.prompt};const is=rs;const ns={delMessageBox:function({type:t="warning",title:r="系统提示",message:i,showCancelButton:n=!0,confirmButtonText:a="确定",cancelButtonText:o="取消",doSomething:s=(()=>{})}){is({icon:e.markRaw(fn),type:t,title:r,message:i,showCancelButton:n,confirmButtonText:a,cancelButtonText:o,beforeClose:(e,t,r)=>{"confirm"===e&&s(),r()}}).catch((()=>{}))}};let as={};function os(e,t,r){const i={rotate:-25,can_w:150,can_h:130,font:"14px Vedana",color:"rgba(127, 127, 127, 0.1)",align:"left"};for(let l in r)i[l]=r[l];let n=pt.setDES(e,"ljs-2024.01.30");null!==document.getElementById(n)&&document.body.removeChild(document.getElementById(n));let a=document.createElement("canvas");a.width=i.can_w,a.height=i.can_h;let o=a.getContext("2d");o.rotate(i.rotate*Math.PI/180),o.font=i.font,o.fillStyle=i.color,o.textAlign=i.align,o.textBaseline="Middle",o.fillText(t[0],a.width/8,a.height/2),o.fillText(t[1],a.width/8,2*a.height/3);let s=document.createElement("div");return s.id=n,s.style.display="block",s.style.visibility="visible",s.style.opacity="1",s.style.pointerEvents="none",s.style.top="0px",s.style.left="0px",s.style.position="fixed",s.style.zIndex="100000",s.style.width=document.documentElement.clientWidth+"px",s.style.height=document.documentElement.clientHeight+"px",s.style.background="url("+a.toDataURL("image/png")+") left top repeat",document.body.appendChild(s),n}as.set=(e,t,r,i=500)=>{let n=os(e,t,r);setInterval((()=>{const i=document.getElementById(n),a=i.style;null!==i&&"block"===a.display&&"visible"===a.visibility&&"1"===a.opacity&&"fixed"===a.position&&"0px"===a.top&&"0px"===a.left||(n=os(e,t,r))}),i),window.onresize=()=>{os(e,t,r)}};const ss=(e,t)=>{const r=e.__vccOpts||e;for(const[i,n]of t)r[i]=n;return r},ls={props:{speed:{type:Number,default:3},gaussian:{type:Number,default:1},bgOpacity:{type:Number,default:.5},textColor:{type:String,default:"#FFF"}},data:()=>({}),mounted(){this.init()},methods:{init(){}}},cs={class:"text"},hs={class:"g-container"},ds=(t=>(e.pushScopeId("data-v-474ec553"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("div",{class:"g-circle"},null,-1))),us={class:"g-bubbles"};const ps=ss(ls,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("div",{class:"ljs-loading",id:"ljs-loading",ref:"ljsLoading",style:e.normalizeStyle({"--speed":t.speed,"--gaussian":t.gaussian,"--bgopacity":t.bgOpacity,"--textcolor":t.textColor})},[e.createElementVNode("div",cs,[e.renderSlot(t.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",hs,[ds,e.createElementVNode("div",us,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(200,(t=>e.createElementVNode("div",{class:"g-bubble",key:t}))),64))])])],4)])}],["__scopeId","data-v-474ec553"]]),fs={name:"pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:()=>[10,20,30,50]},pagerCount:{type:Number,default:document.body.clientWidth<992?5:7},layout:{type:String,default:"prev, pager, next, sizes, total"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},note:{type:String,default:""}},computed:{currentPage:{get(){return this.page},set(e){this.$emit("update:page",e)}},pageSize:{get(){return this.limit},set(e){this.$emit("update:limit",e)}}},data:()=>({}),methods:{handleSizeChange(e){this.currentPage*e>this.total&&(this.currentPage=1),this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll},handleCurrentChange(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll}}},gs={class:"pagination"},ms={class:"note"};const vs=ss(fs,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-pagination");return e.openBlock(),e.createElementBlock("div",gs,[e.createElementVNode("div",ms,e.toDisplayString(i.note),1),e.createVNode(s,e.mergeProps({background:i.background,"current-page":o.currentPage,"onUpdate:currentPage":r[0]||(r[0]=e=>o.currentPage=e),"page-size":o.pageSize,"onUpdate:pageSize":r[1]||(r[1]=e=>o.pageSize=e),layout:i.layout,"page-sizes":i.pageSizes,"pager-count":i.pagerCount,total:i.total},t.$attrs,{onSizeChange:o.handleSizeChange,onCurrentChange:o.handleCurrentChange}),null,16,["background","current-page","page-size","layout","page-sizes","pager-count","total","onSizeChange","onCurrentChange"])])}],["__scopeId","data-v-fc144f23"]]);const ys=ss({name:"RightMenu",props:{modelValue:[Boolean],position:{type:Object,default:()=>({top:0,left:0})}},data:()=>({}),created(){this.initData()},methods:{async initData(){window.addEventListener("click",(()=>{this.$emit("update:modelValue",!1)}))}}},[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[t.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{show:t.modelValue},"rightMenu"]),style:e.normalizeStyle({top:`${t.position.top}px`,left:`${t.position.left}px`})},[e.renderSlot(t.$slots,"default",{},void 0,!0)],6)):e.createCommentVNode("",!0)])}],["__scopeId","data-v-a4322b42"]]),bs=["onClick"],ws={class:"frequencyDate"};const _s=ss({name:"DatetypeChooseDate",props:{date:String,dictValue:String,datetypeData:Array,dateTypeKeyValue:{type:Array,default:["1","2","3"]},formItemLabel:{type:String,default:"日期"},disabledDateSpan:{type:Number,default:0},noType:{type:Array,default:()=>[]}},data:()=>({date_type:[],opts:{dateType:"year",dateTypeTag:!0,valueFormat:"yyyy"}}),computed:{disabledDate(){return w.pickerOptions(this.dateType,this.disabledDateSpan,this.dateTypeKeyValue)},dateType:{get(){return this.dictValue},set(e){this.$emit("update:dictValue",e)}},dateValue:{get(){return this.date},set(e){this.$emit("update:date",e)}}},watch:{dateType:{handler(e){this.dateTypeF(this.dateType)},deep:!0,immediate:!0},datetypeData:{handler(e){void 0!==this.datetypeData&&null!==this.datetypeData&&0!==this.datetypeData.length&&this.init()},deep:!0,immediate:!0}},created(){this.init()},methods:{init(){this.initData()},async initData(){const e=this.datetypeData;e&&(this.noType.forEach((t=>{const r=e.length;for(let i=0;i<r;i++){if(t===e[i].dictValue){e.splice(i,1);break}}})),this.date_type=e),this.dateTypeF(this.dateType)},dateTypeF(e){this.opts.dateTypeTag=!1;let t=Date.now();this.dateType=e;let r=null,i=null;switch(e){case this.dateTypeKeyValue[2]:t+=3600*this.disabledDateSpan*1e3*24,this.opts.dateType="date",this.opts.valueFormat="YYYY-MM-DD",this.dateValue=v.formatTime(t,"{y}-{m}-{d}");break;case this.dateTypeKeyValue[1]:r=new Date(t).getFullYear(),i=new Date(t).getMonth()+this.disabledDateSpan,i<0?(r+=this.disabledDateSpan,i=12):i+=1,this.opts.dateType="month",this.opts.valueFormat="YYYY-MM",this.dateValue=v.formatTime(new Date(`${r}-${i}`),"{y}-{m}");break;case this.dateTypeKeyValue[0]:r=new Date(t).getFullYear(),r+=this.disabledDateSpan,this.opts.dateType="year",this.opts.valueFormat="YYYY",this.dateValue=r.toString()}setTimeout((()=>{this.opts.dateTypeTag=!0}),0)}}},[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-date-picker"),l=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(l,{label:i.formItemLabel,prop:"date"},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"frequency",style:e.normalizeStyle({"--dateTypeNum":a.date_type.length})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.date_type,(t=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["one",{active:o.dateType===t.dictValue}]),onClick:e=>o.dateTypeF(t.dictValue),key:t.dictValue},e.toDisplayString(t.dictLabel),11,bs)))),128))],4),e.createVNode(e.Transition,{name:"frequencyDate"},{default:e.withCtx((()=>[e.createElementVNode("div",ws,[e.createVNode(s,{modelValue:o.dateValue,"onUpdate:modelValue":r[0]||(r[0]=e=>o.dateValue=e),style:{width:"240px"},"value-format":a.opts.valueFormat,type:a.opts.dateType,placeholder:"请选择",editable:!1,clearable:!1,"disabled-date":o.disabledDate},null,8,["modelValue","value-format","type","disabled-date"])])])),_:1})])),_:1},8,["label"])}],["__scopeId","data-v-2c007365"]]),xs={name:"DatetypeChooseDateRange",props:{date:Array,dictValue:String,datetypeData:Array,clearable:{type:Boolean,default:!1},disabledDate:{type:Function,default:()=>{}},dateTypeKeyValue:{type:Array,default:["1","2","3"]},dateSwitchRule:{type:Number,default:0},formItemLabel:{type:String,default:"日期区间"},noType:{type:Array,default:()=>[]},symbol:{type:String,default:"~"}},data:()=>({LJSfc:w,date_type:[],opts:{startDate:null,endDate:null,dateType:"date",dateTypeTag:!0,valueFormat:"YYYY-MM-DD"}}),computed:{dateType:{get(){return this.dictValue},set(e){this.$emit("update:dictValue",e)}}},watch:{dateType:{handler(e){this.dateTypeF(this.dateType)},deep:!0,immediate:!0},datetypeData:{handler(e){void 0!==this.datetypeData&&null!==this.datetypeData&&0!==this.datetypeData.length&&this.init()},deep:!0,immediate:!0}},mounted(){this.init()},methods:{dateChange(){if(null===this.opts.startDate||null===this.opts.endDate)return void this.$emit("update:date",[this.opts.startDate,this.opts.endDate]);let e=this.opts.startDate,t=this.opts.startDate;if("year"!==this.dateType&&(e=new Date(this.opts.startDate).getTime(),t=new Date(this.opts.endDate).getTime()),Number(e)>Number(t)){const e=this.opts.startDate;this.opts.startDate=this.opts.endDate,this.opts.endDate=e}this.$emit("update:date",[this.opts.startDate,this.opts.endDate])},init(){this.initData()},async initData(){const e=this.datetypeData;e&&(this.noType.forEach((t=>{const r=e.length;for(let i=0;i<r;i++){if(t===e[i].dictValue){e.splice(i,1);break}}})),this.date_type=e),d.fieldCheck(this.date)||2!==this.date.length||(this.opts.startDate=this.date[0],this.opts.endDate=this.date[1]),this.dateTypeF(this.dateType)},dateTypeF(e){this.opts.dateTypeTag=!1,this.dateType=e;let t=[],r=null;switch(e){case this.dateTypeKeyValue[3]:this.opts.dateType="datetime",this.opts.valueFormat="YYYY-MM-DD HH:mm:ss";break;case this.dateTypeKeyValue[2]:this.opts.dateType="date",this.opts.valueFormat="YYYY-MM-DD";break;case this.dateTypeKeyValue[1]:this.opts.dateType="month",this.opts.valueFormat="YYYY-MM";break;case this.dateTypeKeyValue[0]:this.opts.dateType="year",this.opts.valueFormat="YYYY"}if(!d.fieldCheck(this.date)&&2===this.date.length){switch(0===this.dateSwitchRule?r=[this.date[0],this.date[1]]:1===this.dateSwitchRule&&(r=v.initSearchDateQj(this.opts.dateType)),e){case this.dateTypeKeyValue[3]:this.opts.startDate=v.formatTime(r[0],"{y}-{m}-{d} {h}:{i}:{s}"),this.opts.endDate=v.formatTime(r[1],"{y}-{m}-{d} {h}:{i}:{s}");break;case this.dateTypeKeyValue[2]:this.opts.startDate=v.formatTime(r[0],"{y}-{m}-{d}"),this.opts.endDate=v.formatTime(r[1],"{y}-{m}-{d}");break;case this.dateTypeKeyValue[1]:this.opts.startDate=v.formatTime(r[0],"{y}-{m}"),this.opts.endDate=v.formatTime(r[1],"{y}-{m}");break;case this.dateTypeKeyValue[0]:this.opts.startDate=r[0].toString(),this.opts.endDate=r[1].toString()}this.dateValue=t}this.$emit("update:date",[this.opts.startDate,this.opts.endDate]),setTimeout((()=>{this.opts.dateTypeTag=!0}),0)}}},Es=["onClick"],Ss={key:0,class:"frequencyDate"},Ts={class:"zhi"};const ks=ss(xs,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-date-picker"),l=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(l,{label:t.formItemLabel,prop:"date"},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"frequency",style:e.normalizeStyle({"--dateTypeNum":t.date_type.length})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.date_type,(r=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["one",{active:t.dateType===r.dictValue}]),onClick:e=>t.dateTypeF(r.dictValue),key:r.dictValue},e.toDisplayString(r.dictLabel),11,Es)))),128))],4),e.createVNode(e.Transition,{name:"frequencyDate"},{default:e.withCtx((()=>[t.opts.dateTypeTag?(e.openBlock(),e.createElementBlock("div",Ss,[e.createVNode(s,{modelValue:t.opts.startDate,"onUpdate:modelValue":r[0]||(r[0]=e=>t.opts.startDate=e),style:e.normalizeStyle({width:("year"===t.opts.dateType?100:"month"===t.opts.dateType?120:"date"===t.opts.dateType?140:(t.opts.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.opts.dateType,placeholder:"请选择",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"]),e.createElementVNode("span",Ts,e.toDisplayString(t.symbol),1),e.createVNode(s,{modelValue:t.opts.endDate,"onUpdate:modelValue":r[1]||(r[1]=e=>t.opts.endDate=e),style:e.normalizeStyle({width:("year"===t.opts.dateType?100:"month"===t.opts.dateType?120:"date"===t.opts.dateType?140:(t.opts.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.opts.dateType,placeholder:"请选择",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"])])):e.createCommentVNode("",!0)])),_:1})])),_:1},8,["label"])}],["__scopeId","data-v-43652919"]]),As={name:"DatetypeChooseDateRange",props:{modelValue:Array,dateType:{type:String,default:"date"},formItemLabel:{type:String,default:"日期"},clearable:{type:Boolean,default:!0},disabledDate:{type:Function,default:()=>{}}},data:()=>({opts:{startDate:null,endDate:null,valueFormat:"YYYY-MM-DD"}}),watch:{modelValue:{handler(e){!d.fieldCheck(this.modelValue)&&this.modelValue.length>=1?(this.opts.startDate=this.modelValue[0],this.opts.endDate=this.modelValue[1]):(this.opts.startDate=null,this.opts.endDate=null)},deep:!0,immediate:!0}},mounted(){this.init()},methods:{dateChange(){if(null===this.opts.startDate||null===this.opts.endDate)return void this.$emit("update:modelValue",[this.opts.startDate,this.opts.endDate]);let e=this.opts.startDate,t=this.opts.startDate;if("year"!==this.dateType&&(e=new Date(this.opts.startDate).getTime(),t=new Date(this.opts.endDate).getTime()),Number(e)>Number(t)){const e=this.opts.startDate;this.opts.startDate=this.opts.endDate,this.opts.endDate=e}this.$emit("update:modelValue",[this.opts.startDate,this.opts.endDate])},init(){this.dateTypeF()},dateTypeF(){switch(this.dateType){case"datetime":this.opts.valueFormat="YYYY-MM-DD HH:mm:ss";break;case"date":this.opts.valueFormat="YYYY-MM-DD";break;case"month":this.opts.valueFormat="YYYY-MM";break;case"year":this.opts.valueFormat="YYYY"}}}},Cs=(t=>(e.pushScopeId("data-v-bb586ec7"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("span",{class:"and"},"~",-1)));const Bs=ss(As,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-date-picker"),l=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(l,{label:t.formItemLabel,prop:"date"},{default:e.withCtx((()=>[e.createVNode(s,{modelValue:t.opts.startDate,"onUpdate:modelValue":r[0]||(r[0]=e=>t.opts.startDate=e),style:e.normalizeStyle({width:("year"===t.dateType?100:"month"===t.dateType?120:"date"===t.dateType?140:(t.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.dateType,placeholder:"开始日期",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"]),Cs,e.createVNode(s,{modelValue:t.opts.endDate,"onUpdate:modelValue":r[1]||(r[1]=e=>t.opts.endDate=e),style:e.normalizeStyle({width:("year"===t.dateType?100:"month"===t.dateType?120:"date"===t.dateType?140:(t.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.dateType,placeholder:"结束日期",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"])])),_:1},8,["label"])}],["__scopeId","data-v-bb586ec7"]]),Is=["index"];const Rs=ss({name:"DictTag",props:{options:{type:Array,default:null},value:[Number,String,Array]},computed:{values(){return null!==this.value&&void 0!==this.value?Array.isArray(this.value)?this.value:[String(this.value)]:[]}}},[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-tag");return e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,((t,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t.dictValue},[o.values.includes(t.dictValue)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["default"==t.listClass||""==t.listClass?(e.openBlock(),e.createElementBlock("span",{key:0,index:r,class:e.normalizeClass(t.cssClass)},e.toDisplayString(t.dictLabel),11,Is)):(e.openBlock(),e.createBlock(s,{key:1,"disable-transitions":!0,index:r,type:"primary"==t.listClass?"":t.listClass,class:e.normalizeClass(t.cssClass)},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.dictLabel),1)])),_:2},1032,["index","type","class"]))],64)):e.createCommentVNode("",!0)],64)))),128))])}],["__scopeId","data-v-f2de2f23"]]);var Ms=function(e,t){var r=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:r,w:r.offsetWidth,h:r.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;t&&Object.deepExtend(i,t),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",(function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()}))},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,t,r){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=r?r.x:Math.random()*i.canvas.w,this.y=r?r.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,r),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var n=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=Os(n)}else null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=Os(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var a={};switch(i.particles.move.direction){case"top":a={x:0,y:-1};break;case"top-right":a={x:.5,y:-.5};break;case"right":a={x:1,y:-0};break;case"bottom-right":a={x:.5,y:.5};break;case"bottom":a={x:0,y:1};break;case"bottom-left":a={x:-.5,y:1};break;case"left":a={x:-1,y:0};break;case"top-left":a={x:-.5,y:-.5};break;default:a={x:0,y:0}}i.particles.move.straight?(this.vx=a.x,this.vy=a.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=a.x+Math.random()-.5,this.vy=a.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var o=i.particles.shape.type;if("object"==typeof o){if(o instanceof Array){var s=o[Math.floor(Math.random()*o.length)];this.shape=s}}else this.shape=o;if("image"==this.shape){var l=i.particles.shape;this.img={src:l.image.src,ratio:l.image.width/l.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&null!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){var e=this;if(null!=e.radius_bubble)var t=e.radius_bubble;else t=e.radius;if(null!=e.opacity_bubble)var r=e.opacity_bubble;else r=e.opacity;if(e.color.rgb)var n="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+r+")";else n="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+r+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),e.shape){case"circle":i.canvas.ctx.arc(e.x,e.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(e.x-t,e.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,e.x-t,e.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,e.x-t/(i.particles.shape.polygon.nb_sides/3.5),e.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,e.x-2*t/(i.particles.shape.polygon.nb_sides/4),e.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":let r=function(){i.canvas.ctx.drawImage(a,e.x-t,e.y-t,2*t,2*t/e.img.ratio)};if("svg"==i.tmp.img_type)var a=e.img.obj;else a=i.tmp.img_obj;a&&r()}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e<i.particles.number.value;e++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value))},i.fn.particlesUpdate=function(){for(var e=0;e<i.particles.array.length;e++){var t=i.particles.array[e];if(i.particles.move.enable){var r=i.particles.move.speed/2;t.x+=t.vx*r,t.y+=t.vy*r}if(i.particles.opacity.anim.enable&&(1==t.opacity_status?(t.opacity>=i.particles.opacity.value&&(t.opacity_status=!1),t.opacity+=t.vo):(t.opacity<=i.particles.opacity.anim.opacity_min&&(t.opacity_status=!0),t.opacity-=t.vo),t.opacity<0&&(t.opacity=0)),i.particles.size.anim.enable&&(1==t.size_status?(t.radius>=i.particles.size.value&&(t.size_status=!1),t.radius+=t.vs):(t.radius<=i.particles.size.anim.size_min&&(t.size_status=!0),t.radius-=t.vs),t.radius<0&&(t.radius=0)),"bounce"==i.particles.move.out_mode)var n={x_left:t.radius,x_right:i.canvas.w,y_top:t.radius,y_bottom:i.canvas.h};else n={x_left:-t.radius,x_right:i.canvas.w+t.radius,y_top:-t.radius,y_bottom:i.canvas.h+t.radius};if(t.x-t.radius>i.canvas.w?(t.x=n.x_left,t.y=Math.random()*i.canvas.h):t.x+t.radius<0&&(t.x=n.x_right,t.y=Math.random()*i.canvas.h),t.y-t.radius>i.canvas.h?(t.y=n.y_top,t.x=Math.random()*i.canvas.w):t.y+t.radius<0&&(t.y=n.y_bottom,t.x=Math.random()*i.canvas.w),"bounce"===i.particles.move.out_mode)(t.x+t.radius>i.canvas.w||t.x-t.radius<0)&&(t.vx=-t.vx),(t.y+t.radius>i.canvas.h||t.y-t.radius<0)&&(t.vy=-t.vy);if(Ps("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(t),(Ps("bubble",i.interactivity.events.onhover.mode)||Ps("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(t),(Ps("repulse",i.interactivity.events.onhover.mode)||Ps("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(t),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var a=e+1;a<i.particles.array.length;a++){var o=i.particles.array[a];i.particles.line_linked.enable&&i.fn.interact.linkParticles(t,o),i.particles.move.attract.enable&&i.fn.interact.attractParticles(t,o),i.particles.move.bounce&&i.fn.interact.bounceParticles(t,o)}}},i.fn.particlesDraw=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h),i.fn.particlesUpdate();for(var e=0;e<i.particles.array.length;e++){i.particles.array[e].draw()}},i.fn.particlesEmpty=function(){i.particles.array=[]},i.fn.particlesRefresh=function(){cancelRequestAnimFrame(i.fn.checkAnimFrame),cancelRequestAnimFrame(i.fn.drawAnimFrame),i.tmp.source_svg=void 0,i.tmp.img_obj=void 0,i.tmp.count_svg=0,i.fn.particlesEmpty(),i.fn.canvasClear(),i.fn.vendors.start()},i.fn.interact.linkParticles=function(e,t){var r=e.x-t.x,n=e.y-t.y,a=Math.sqrt(r*r+n*n);if(a<=i.particles.line_linked.distance){var o=i.particles.line_linked.opacity-a/(1/i.particles.line_linked.opacity)/i.particles.line_linked.distance;if(o>0){var s=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+s.r+","+s.g+","+s.b+","+o+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(t.x,t.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,t){var r=e.x-t.x,n=e.y-t.y;if(Math.sqrt(r*r+n*n)<=i.particles.line_linked.distance){var a=r/(1e3*i.particles.move.attract.rotateX),o=n/(1e3*i.particles.move.attract.rotateY);e.vx-=a,e.vy-=o,t.vx+=a,t.vy+=o}},i.fn.interact.bounceParticles=function(e,t){var r=e.x-t.x,i=e.y-t.y;Math.sqrt(r*r+i*i)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},i.fn.modes.pushParticles=function(e,t){i.tmp.pushing=!0;for(var r=0;r<e;r++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:t?t.pos_x:Math.random()*i.canvas.w,y:t?t.pos_y:Math.random()*i.canvas.h})),r==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){if(i.interactivity.events.onhover.enable&&Ps("bubble",i.interactivity.events.onhover.mode)){let c=function(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius};var t=e.x-i.interactivity.mouse.pos_x,r=e.y-i.interactivity.mouse.pos_y,n=1-(l=Math.sqrt(t*t+r*r))/i.interactivity.modes.bubble.distance;if(l<=i.interactivity.modes.bubble.distance){if(n>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){(o=e.radius+i.interactivity.modes.bubble.size*n)>=0&&(e.radius_bubble=o)}else{var a=e.radius-i.interactivity.modes.bubble.size,o=e.radius-a*n;e.radius_bubble=o>0?o:0}var s;if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value)(s=i.interactivity.modes.bubble.opacity*n)>e.opacity&&s<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=s);else(s=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*n)<e.opacity&&s>=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=s)}}else c();"mouseleave"==i.interactivity.status&&c()}else if(i.interactivity.events.onclick.enable&&Ps("bubble",i.interactivity.events.onclick.mode)){let n=function(t,r,n,a,o){if(t!=r)if(i.tmp.bubble_duration_end)null!=n&&(h=t+(t-(a-c*(a-t)/i.interactivity.modes.bubble.duration)),"size"==o&&(e.radius_bubble=h),"opacity"==o&&(e.opacity_bubble=h));else if(l<=i.interactivity.modes.bubble.distance){if(null!=n)var s=n;else s=a;if(s!=t){var h=a-c*(a-t)/i.interactivity.modes.bubble.duration;"size"==o&&(e.radius_bubble=h),"opacity"==o&&(e.opacity_bubble=h)}}else"size"==o&&(e.radius_bubble=void 0),"opacity"==o&&(e.opacity_bubble=void 0)};if(i.tmp.bubble_clicking){t=e.x-i.interactivity.mouse.click_pos_x,r=e.y-i.interactivity.mouse.click_pos_y;var l=Math.sqrt(t*t+r*r),c=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;c>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),c>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}i.tmp.bubble_clicking&&(n(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),n(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){if(i.interactivity.events.onhover.enable&&Ps("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,r=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+r*r),a={x:t/n,y:r/n},o=i.interactivity.modes.repulse.distance,s=(p=1/o*(-1*Math.pow(n/o,2)+1)*o*100,f=0,g=50,Math.min(Math.max(p,f),g)),l={x:e.x+a.x*s,y:e.y+a.y*s};"bounce"==i.particles.move.out_mode?(l.x-e.radius>0&&l.x+e.radius<i.canvas.w&&(e.x=l.x),l.y-e.radius>0&&l.y+e.radius<i.canvas.h&&(e.y=l.y)):(e.x=l.x,e.y=l.y)}else if(i.interactivity.events.onclick.enable&&Ps("repulse",i.interactivity.events.onclick.mode))if(i.tmp.repulse_finish||(i.tmp.repulse_count++,i.tmp.repulse_count==i.particles.array.length&&(i.tmp.repulse_finish=!0)),i.tmp.repulse_clicking){let t=function(){var t=Math.atan2(h,c);if(e.vx=u*Math.cos(t),e.vy=u*Math.sin(t),"bounce"==i.particles.move.out_mode){var r={x:e.x+e.vx,y:e.y+e.vy};(r.x+e.radius>i.canvas.w||r.x-e.radius<0)&&(e.vx=-e.vx),(r.y+e.radius>i.canvas.h||r.y-e.radius<0)&&(e.vy=-e.vy)}};o=Math.pow(i.interactivity.modes.repulse.distance/6,3);var c=i.interactivity.mouse.click_pos_x-e.x,h=i.interactivity.mouse.click_pos_y-e.y,d=c*c+h*h,u=-o/d*1;d<=o&&t()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i);var p,f,g},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,r=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+r*r);if(n<=i.interactivity.modes.grab.distance){var a=i.interactivity.modes.grab.line_linked.opacity-n/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(a>0){var o=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+o.r+","+o.g+","+o.b+","+a+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",(function(e){if(i.interactivity.el==window)var t=e.clientX,r=e.clientY;else t=e.offsetX||e.clientX,r=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=t,i.interactivity.mouse.pos_y=r,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"})),i.interactivity.el.addEventListener("mouseleave",(function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"}))),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",(function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable||1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout((function(){i.tmp.repulse_clicking=!1}),1e3*i.interactivity.modes.repulse.duration)}}))},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var t=e*i.particles.number.value/i.particles.number.density.value_area,r=i.particles.array.length-t;r<0?i.fn.modes.pushParticles(Math.abs(r)):i.fn.modes.removeParticles(r)}},i.fn.vendors.checkOverlap=function(e,t){for(var r=0;r<i.particles.array.length;r++){var n=i.particles.array[r],a=e.x-n.x,o=e.y-n.y;Math.sqrt(a*a+o*o)<=e.radius+n.radius&&(e.x=t?t.x:Math.random()*i.canvas.w,e.y=t?t.y:Math.random()*i.canvas.h,i.fn.vendors.checkOverlap(e))}},i.fn.vendors.createSvgImg=function(e){var t=i.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,(function(t,r,i,n){if(e.color.rgb)var a="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+e.opacity+")";else a="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+e.opacity+")";return a})),r=new Blob([t],{type:"image/svg+xml;charset=utf-8"}),n=window.URL||window.webkitURL||window,a=n.createObjectURL(r),o=new Image;o.addEventListener("load",(function(){e.img.obj=o,e.img.loaded=!0,n.revokeObjectURL(a),i.tmp.count_svg++})),o.src=a},i.fn.vendors.destroypJS=function(){cancelAnimationFrame(i.fn.drawAnimFrame),r.remove(),pJSDom=null},i.fn.vendors.drawShape=function(e,t,r,i,n,a){var o=n*a,s=n/a,l=180*(s-2)/s,c=Math.PI-Math.PI*l/180;e.save(),e.beginPath(),e.translate(t,r),e.moveTo(0,0);for(var h=0;h<o;h++)e.lineTo(i,0),e.translate(i,0),e.rotate(c);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var t=new XMLHttpRequest;t.open("GET",i.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):i.tmp.img_error=!0)},t.send()}else{var r=new Image;r.addEventListener("load",(function(){i.tmp.img_obj=r,i.fn.vendors.checkBeforeDraw()})),r.src=i.particles.shape.image.src}else i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):null!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&null==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=Os(i.particles.line_linked.color)},i.fn.vendors.start=function(){Ps("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};function Os(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,r,i){return t+t+r+r+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function Ps(e,t){return t.indexOf(e)>-1}Object.deepExtend=function e(t,r){for(var i in r)r[i]&&r[i].constructor&&r[i].constructor===Object?(t[i]=t[i]||{},e(t[i],r[i])):t[i]=r[i];return t},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.particlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e||(e="particles-js");var r=document.getElementById(e),i="particles-js-canvas-el",n=r.getElementsByClassName(i);if(n.length)for(;n.length>0;)r.removeChild(n[0]);var a=document.createElement("canvas");a.className=i,a.style.width="100%",a.style.height="100%",null!=document.getElementById(e).appendChild(a)&&pJSDom.push(new Ms(e,t))},window.particlesJS.load=function(e,t,r){var i=new XMLHttpRequest;i.open("GET",t),i.onreadystatechange=function(t){if(4==i.readyState&&200==i.status){var n=JSON.parse(t.currentTarget.response);window.particlesJS(e,n),r&&r()}},i.send()};const js={particles:{number:{value:60,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#ffffff",opacity:.4,width:1},move:{enable:!0,speed:4,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:100,rotateY:1200}}},interactivity:{detect_on:"Window",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:140,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0},Ns={data:()=>({}),mounted(){this.init()},methods:{init(){particlesJS("particles-js",js),document.body.style.overflow="hidden"}}},Ds={class:"particles-js-box"},Ls=[(t=>(e.pushScopeId("data-v-6254d928"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("div",{id:"particles-js"},null,-1)))];const Us=ss(Ns,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("div",Ds,Ls)}],["__scopeId","data-v-6254d928"]]);let Fs=null;const Hs={init:function(e,t=null,r){if("WebSocket"in window){e=function(e){e="http:"===location.protocol?"ws:"+e:"https:"===location.protocol?"wss:"+e:"ws:"+e;return e}(e);return Fs=new WebSocket(e,null===t?[]:[t]),Fs.onopen=function(){d.colorLog(["websocket","已连接,正在接收数据...."],"log")},Fs.onmessage=function(e){let t=e.data;r(JSON.parse(t))},Fs.onclose=function(){d.colorLog(["websocket","已关闭!"],"log")},Fs}return null},wsUrl:function(e){let t={}.VITE_APP_API_URL+e;return t=location.host+t,t}};var zs=0;const Ws=(e={html2Canvas:null,JsPDF:null},t,r,i,n)=>{if(i){const e=Math.floor(277*r.scrollWidth/190)+20;for(let t=0;t<i.length;t++){const r=Math.ceil((i[t].offsetTop+i[t].offsetHeight)/e);if($s(i,t,r*e)){var a="";a="tr"!==i[t].localName?r*e-(i[t].offsetTop+i[t].offsetHeight):r*e-(i[t].offsetTop+i[t].offsetHeight+zs)+20;var o=Vs(a);const n=i[t].parentNode,s=i[t].nextSibling;s?n.insertBefore(o,s):n.appendChild(o)}}}e.html2Canvas(r,{allowTaint:!1,taintTest:!1,logging:!1,useCORS:!0,dpi:1*window.devicePixelRatio,scale:2}).then((r=>{for(var i=new e.JsPDF("p","mm","a4"),a=r.getContext("2d"),o=n?277:190,s=n?190:277,l=Math.floor(s*r.width/o),c=0;c<r.height;){var h=document.createElement("canvas");h.width=r.width,h.height=Math.min(l,r.height-c),h.getContext("2d").putImageData(a.getImageData(0,c,r.width,Math.min(l,r.height-c)),0,0),i.addImage(h.toDataURL("image/jpeg",1),"JPEG",10,10,o,Math.min(s,o*h.height/h.width)),(c+=l)<r.height&&i.addPage()}i.save(t+".pdf")}))},Vs=(e,t=0)=>{const r=document.createElement("div");return r.style.background="#ffffff",r.style.width="calc(100% + 8px)",r.style.marginLeft="-4px",r.style.marginBottom="0px",r.classList.add("divRemove"),r.style.height=e+t+"px",r},$s=(e,t,r)=>("tr"!==e[t].localName&&(zs+=e[t].clientHeight),"tr"!==e[t].localName?e[t].offsetTop+e[t].offsetHeight<r&&e[t+1]&&e[t+1].offsetTop+e[t+1].offsetHeight>r:e[t].offsetTop+e[t].offsetHeight+zs<r&&e[t+1]&&e[t+1].offsetTop+e[t+1].offsetHeight+zs>r);var qs=Object.defineProperty,Ys=Object.getOwnPropertyDescriptor,Ks=Object.getOwnPropertyNames,Gs=Object.prototype.hasOwnProperty,Qs=(e,t)=>()=>(e&&(t=e(e=0)),t),Js=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xs=(e,t)=>{for(var r in t)qs(e,r,{get:t[r],enumerable:!0})},Zs=e=>((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of Ks(t))!Gs.call(e,n)&&n!==r&&qs(e,n,{get:()=>t[n],enumerable:!(i=Ys(t,n))||i.enumerable});return e})(qs({},"__esModule",{value:!0}),e),el=Qs((()=>{})),tl={};function rl(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function il(){!bl||!wl||(bl=!1,wl.length?yl=wl.concat(yl):_l=-1,yl.length&&nl())}function nl(){if(!bl){var e=setTimeout(il,0);bl=!0;for(var t=yl.length;t;){for(wl=yl,yl=[];++_l<t;)wl&&wl[_l].run();_l=-1,t=yl.length}wl=null,bl=!1,clearTimeout(e)}}function al(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];yl.push(new ol(e,t)),1===yl.length&&!bl&&setTimeout(nl,0)}function ol(e,t){this.fun=e,this.array=t}function sl(){}function ll(e){rl("_linkedBinding")}function cl(e){rl("dlopen")}function hl(){return[]}function dl(){return[]}function ul(e,t){if(!e)throw new Error(t||"assertion error")}function pl(){return!1}function fl(){return gc.now()/1e3}function gl(e){var t=Math.floor(.001*(Date.now()-gc.now())),r=.001*gc.now(),i=Math.floor(r)+t,n=Math.floor(r%1*1e9);return e&&(i-=e[0],(n-=e[1])<0&&(i--,n+=vc)),[i,n]}function ml(){return Bc}function vl(e){return[]}Xs(tl,{_debugEnd:()=>tc,_debugProcess:()=>ec,_events:()=>bc,_eventsCount:()=>wc,_exiting:()=>Ul,_fatalExceptions:()=>Jl,_getActiveHandles:()=>dl,_getActiveRequests:()=>hl,_kill:()=>zl,_linkedBinding:()=>ll,_maxListeners:()=>yc,_preload_modules:()=>pc,_rawDebug:()=>Nl,_startProfilerIdleNotifier:()=>rc,_stopProfilerIdleNotifier:()=>ic,_tickCallback:()=>Zl,abort:()=>sc,addListener:()=>_c,allowedNodeEnvironmentFlags:()=>Gl,arch:()=>El,argv:()=>kl,argv0:()=>uc,assert:()=>ul,binding:()=>Rl,chdir:()=>Pl,config:()=>Fl,cpuUsage:()=>Wl,cwd:()=>Ol,debugPort:()=>dc,default:()=>Bc,dlopen:()=>cl,domain:()=>Ll,emit:()=>kc,emitWarning:()=>Il,env:()=>Tl,execArgv:()=>Al,execPath:()=>hc,exit:()=>Yl,features:()=>Ql,hasUncaughtExceptionCaptureCallback:()=>pl,hrtime:()=>gl,kill:()=>ql,listeners:()=>vl,memoryUsage:()=>$l,moduleLoadList:()=>Dl,nextTick:()=>al,off:()=>Ec,on:()=>ml,once:()=>xc,openStdin:()=>Kl,pid:()=>lc,platform:()=>Sl,ppid:()=>cc,prependListener:()=>Ac,prependOnceListener:()=>Cc,reallyExit:()=>Hl,release:()=>jl,removeAllListeners:()=>Tc,removeListener:()=>Sc,resourceUsage:()=>Vl,setSourceMapsEnabled:()=>fc,setUncaughtExceptionCaptureCallback:()=>Xl,stderr:()=>ac,stdin:()=>oc,stdout:()=>nc,title:()=>xl,umask:()=>Ml,uptime:()=>fl,version:()=>Cl,versions:()=>Bl});var yl,bl,wl,_l,xl,El,Sl,Tl,kl,Al,Cl,Bl,Il,Rl,Ml,Ol,Pl,jl,Nl,Dl,Ll,Ul,Fl,Hl,zl,Wl,Vl,$l,ql,Yl,Kl,Gl,Ql,Jl,Xl,Zl,ec,tc,rc,ic,nc,ac,oc,sc,lc,cc,hc,dc,uc,pc,fc,gc,mc,vc,yc,bc,wc,_c,xc,Ec,Sc,Tc,kc,Ac,Cc,Bc,Ic=Qs((()=>{el(),$c(),Rc(),yl=[],bl=!1,_l=-1,ol.prototype.run=function(){this.fun.apply(null,this.array)},xl="browser",El="x64",Sl="browser",Tl={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},kl=["/usr/bin/node"],Al=[],Cl="v16.8.0",Bl={},Il=function(e,t){},Rl=function(e){rl("binding")},Ml=function(e){return 0},Ol=function(){return"/"},Pl=function(e){},jl={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},Nl=sl,Dl=[],Ll={},Ul=!1,Fl={},Hl=sl,zl=sl,Vl=Wl=function(){return{}},$l=Wl,ql=sl,Yl=sl,Kl=sl,Gl={},Ql={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Jl=sl,Xl=sl,Zl=sl,ec=sl,tc=sl,rc=sl,ic=sl,nc=void 0,ac=void 0,oc=void 0,sc=sl,lc=2,cc=1,hc="/bin/usr/node",dc=9229,uc="node",pc=[],fc=sl,void 0===(gc={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0}).now&&(mc=Date.now(),gc.timing&&gc.timing.navigationStart&&(mc=gc.timing.navigationStart),gc.now=()=>Date.now()-mc),vc=1e9,gl.bigint=function(e){var t=gl(e);return typeof BigInt>"u"?t[0]*vc+t[1]:BigInt(t[0]*vc)+BigInt(t[1])},Bc={version:Cl,versions:Bl,arch:El,platform:Sl,release:jl,_rawDebug:Nl,moduleLoadList:Dl,binding:Rl,_linkedBinding:ll,_events:bc={},_eventsCount:wc=0,_maxListeners:yc=10,on:ml,addListener:_c=ml,once:xc=ml,off:Ec=ml,removeListener:Sc=ml,removeAllListeners:Tc=ml,emit:kc=sl,prependListener:Ac=ml,prependOnceListener:Cc=ml,listeners:vl,domain:Ll,_exiting:Ul,config:Fl,dlopen:cl,uptime:fl,_getActiveRequests:hl,_getActiveHandles:dl,reallyExit:Hl,_kill:zl,cpuUsage:Wl,resourceUsage:Vl,memoryUsage:$l,kill:ql,exit:Yl,openStdin:Kl,allowedNodeEnvironmentFlags:Gl,assert:ul,features:Ql,_fatalExceptions:Jl,setUncaughtExceptionCaptureCallback:Xl,hasUncaughtExceptionCaptureCallback:pl,emitWarning:Il,nextTick:al,_tickCallback:Zl,_debugProcess:ec,_debugEnd:tc,_startProfilerIdleNotifier:rc,_stopProfilerIdleNotifier:ic,stdout:nc,stdin:oc,stderr:ac,abort:sc,umask:Ml,chdir:Pl,cwd:Ol,env:Tl,title:xl,argv:kl,execArgv:Al,pid:lc,ppid:cc,execPath:hc,debugPort:dc,hrtime:gl,argv0:uc,_preload_modules:pc,setSourceMapsEnabled:fc}})),Rc=Qs((()=>{Ic()})),Mc={};function Oc(){if(Uc)return Lc;Uc=!0;let e=function(){if(jc)return Pc;jc=!0,Pc.byteLength=function(e){var t=a(e),r=t[0],i=t[1];return 3*(r+i)/4-i},Pc.toByteArray=function(e){var i,n,o=a(e),s=o[0],l=o[1],c=new r(function(e,t,r){return 3*(t+r)/4-r}(0,s,l)),h=0,d=l>0?s-4:s;for(n=0;n<d;n+=4)i=t[e.charCodeAt(n)]<<18|t[e.charCodeAt(n+1)]<<12|t[e.charCodeAt(n+2)]<<6|t[e.charCodeAt(n+3)],c[h++]=i>>16&255,c[h++]=i>>8&255,c[h++]=255&i;return 2===l&&(i=t[e.charCodeAt(n)]<<2|t[e.charCodeAt(n+1)]>>4,c[h++]=255&i),1===l&&(i=t[e.charCodeAt(n)]<<10|t[e.charCodeAt(n+1)]<<4|t[e.charCodeAt(n+2)]>>2,c[h++]=i>>8&255,c[h++]=255&i),c},Pc.fromByteArray=function(t){for(var r,i=t.length,n=i%3,a=[],o=16383,l=0,c=i-n;l<c;l+=o)a.push(s(t,l,l+o>c?c:l+o));return 1===n?(r=t[i-1],a.push(e[r>>2]+e[r<<4&63]+"==")):2===n&&(r=(t[i-2]<<8)+t[i-1],a.push(e[r>>10]+e[r>>4&63]+e[r<<2&63]+"=")),a.join("")};for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)e[n]=i[n],t[i.charCodeAt(n)]=n;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function o(t){return e[t>>18&63]+e[t>>12&63]+e[t>>6&63]+e[63&t]}function s(e,t,r){for(var i,n=[],a=t;a<r;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),n.push(o(i));return n.join("")}return t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63,Pc}(),t=(Dc||(Dc=!0,Nc.read=function(e,t,r,i,n){var a,o,s=8*n-i-1,l=(1<<s)-1,c=l>>1,h=-7,d=r?n-1:0,u=r?-1:1,p=e[t+d];for(d+=u,a=p&(1<<-h)-1,p>>=-h,h+=s;h>0;a=256*a+e[t+d],d+=u,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=i;h>0;o=256*o+e[t+d],d+=u,h-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=c}return(p?-1:1)*o*Math.pow(2,a-i)},Nc.write=function(e,t,r,i,n,a){var o,s,l,c=8*a-n-1,h=(1<<c)-1,d=h>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?u/l:u*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=h?(s=0,o=h):o+d>=1?(s=(t*l-1)*Math.pow(2,n),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,n),o=0));n>=8;e[r+p]=255&s,p+=f,s/=256,n-=8);for(o=o<<n|s,c+=n;c>0;e[r+p]=255&o,p+=f,o/=256,c-=8);e[r+p-f]|=128*g}),Nc),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Lc.Buffer=a,Lc.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},Lc.INSPECT_MAX_BYTES=50;let i=2147483647;function n(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=0|u(e,t),i=n(r),o=i.write(e,t);return o!==r&&(i=i.slice(0,o)),i}(e,t);if(ArrayBuffer.isView(e))return function(e){if(q(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');let i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return a.from(i,t,r);let o=function(e){if(a.isBuffer(e)){let t=0|d(e.length),r=n(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||Y(e.length)?n(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(o)return o;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return s(e),n(e<0?0:0|d(e))}function c(e){let t=e.length<0?0:0|d(e.length),r=n(t);for(let i=0;i<t;i+=1)r[i]=255&e[i];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let i;return i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(i,a.prototype),i}function d(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function u(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;let n=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return i?-1:W(e).length;t=(""+t).toLowerCase(),n=!0}}function p(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return x(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function f(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function g(e,t,r,i,n){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=a.from(t,i)),a.isBuffer(t))return 0===t.length?-1:m(e,t,r,i,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,i,n);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,i,n){let a,o=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){let i=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===i?0:a-i)){if(-1===i&&(i=a),a-i+1===l)return i*o}else-1!==i&&(a-=a-i),i=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let i=0;i<l;i++)if(c(e,a+i)!==c(t,i)){r=!1;break}if(r)return a}return-1}function v(e,t,r,i){r=Number(r)||0;let n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;let a,o=t.length;for(i>o/2&&(i=o/2),a=0;a<i;++a){let i=parseInt(t.substr(2*a,2),16);if(Y(i))return a;e[r+a]=i}return a}function y(e,t,r,i){return $(W(t,e.length-r),e,r,i)}function b(e,t,r,i){return $(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,i)}function w(e,t,r,i){return $(V(t),e,r,i)}function _(e,t,r,i){return $(function(e,t){let r,i,n,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),i=r>>8,n=r%256,a.push(n),a.push(i);return a}(t,e.length-r),e,r,i)}function x(t,r,i){return 0===r&&i===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(r,i))}function E(e,t,r){r=Math.min(e.length,r);let i=[],n=t;for(;n<r;){let t=e[n],a=null,o=t>239?4:t>223?3:t>191?2:1;if(n+o<=r){let r,i,s,l;switch(o){case 1:t<128&&(a=t);break;case 2:r=e[n+1],128==(192&r)&&(l=(31&t)<<6|63&r,l>127&&(a=l));break;case 3:r=e[n+1],i=e[n+2],128==(192&r)&&128==(192&i)&&(l=(15&t)<<12|(63&r)<<6|63&i,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:r=e[n+1],i=e[n+2],s=e[n+3],128==(192&r)&&128==(192&i)&&128==(192&s)&&(l=(15&t)<<18|(63&r)<<12|(63&i)<<6|63&s,l>65535&&l<1114112&&(a=l))}}null===a?(a=65533,o=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),n+=o}return function(e){let t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);let r="",i=0;for(;i<t;)r+=String.fromCharCode.apply(String,e.slice(i,i+=S));return r}(i)}Lc.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&console.error,Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(q(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),q(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,i=t.length;for(let n=0,a=Math.min(r,i);n<a;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}return r<i?-1:i<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;let i=a.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){let t=e[r];if(q(t,Uint8Array))n+t.length>i.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(i,n)):Uint8Array.prototype.set.call(i,t,n);else{if(!a.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(i,n)}n+=t.length}return i},a.byteLength=u,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)f(this,t,t+1);return this},a.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},a.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},a.prototype.toString=function(){let e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){let e="",t=Lc.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(e,t,r,i,n){if(q(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),t<0||r>e.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(n>>>=0)-(i>>>=0),s=(r>>>=0)-(t>>>=0),l=Math.min(o,s),c=this.slice(i,n),h=e.slice(t,r);for(let a=0;a<l;++a)if(c[a]!==h[a]){o=c[a],s=h[a];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},a.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}let n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return y(this,e,t,r);case"ascii":case"latin1":case"binary":return b(this,e,t,r);case"base64":return w(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let S=4096;function T(e,t,r){let i="";r=Math.min(e.length,r);for(let n=t;n<r;++n)i+=String.fromCharCode(127&e[n]);return i}function k(e,t,r){let i="";r=Math.min(e.length,r);for(let n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}function A(e,t,r){let i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);let n="";for(let a=t;a<r;++a)n+=K[e[a]];return n}function C(e,t,r){let i=e.slice(t,r),n="";for(let a=0;a<i.length-1;a+=2)n+=String.fromCharCode(i[a]+256*i[a+1]);return n}function B(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<o)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function R(e,t,r,i,n){U(t,i,n,e,r,7);let a=Number(t&BigInt(4294967295));e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function M(e,t,r,i,n){U(t,i,n,e,r,7);let a=Number(t&BigInt(4294967295));e[r+7]=a,a>>=8,e[r+6]=a,a>>=8,e[r+5]=a,a>>=8,e[r+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function O(e,t,r,i,n,a){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(e,r,i,n,a){return r=+r,i>>>=0,a||O(e,0,i,4),t.write(e,r,i,n,23,4),i+4}function j(e,r,i,n,a){return r=+r,i>>>=0,a||O(e,0,i,8),t.write(e,r,i,n,52,8),i+8}a.prototype.slice=function(e,t){let r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let i=this.subarray(e,t);return Object.setPrototypeOf(i,a.prototype),i},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=this[e],n=1,a=0;for(;++a<t&&(n*=256);)i+=this[e+a]*n;return i},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=this[e+--t],n=1;for(;t>0&&(n*=256);)i+=this[e+--t]*n;return i},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,n=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(i)+(BigInt(n)<<BigInt(32))})),a.prototype.readBigUInt64BE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=t*2**24+65536*this[++e]+256*this[++e]+this[++e],n=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(i)<<BigInt(32))+BigInt(n)})),a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=this[e],n=1,a=0;for(;++a<t&&(n*=256);)i+=this[e+a]*n;return n*=128,i>=n&&(i-=Math.pow(2,8*t)),i},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=t,n=1,a=this[e+--i];for(;i>0&&(n*=256);)a+=this[e+--i]*n;return n*=128,a>=n&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),a.prototype.readBigInt64BE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)})),a.prototype.readFloatLE=function(e,r){return e>>>=0,r||B(e,4,this.length),t.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,r){return e>>>=0,r||B(e,4,this.length),t.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,r){return e>>>=0,r||B(e,8,this.length),t.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,r){return e>>>=0,r||B(e,8,this.length),t.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,i){if(e=+e,t>>>=0,r>>>=0,!i){I(this,e,t,r,Math.pow(2,8*r)-1,0)}let n=1,a=0;for(this[t]=255&e;++a<r&&(n*=256);)this[t+a]=e/n&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,i){if(e=+e,t>>>=0,r>>>=0,!i){I(this,e,t,r,Math.pow(2,8*r)-1,0)}let n=r-1,a=1;for(this[t+n]=255&e;--n>=0&&(a*=256);)this[t+n]=e/a&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=G((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeBigUInt64BE=G((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t>>>=0,!i){let i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}let n=0,a=1,o=0;for(this[t]=255&e;++n<r&&(a*=256);)e<0&&0===o&&0!==this[t+n-1]&&(o=1),this[t+n]=(e/a>>0)-o&255;return t+r},a.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t>>>=0,!i){let i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}let n=r-1,a=1,o=0;for(this[t+n]=255&e;--n>=0&&(a*=256);)e<0&&0===o&&0!==this[t+n+1]&&(o=1),this[t+n]=(e/a>>0)-o&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=G((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeBigInt64BE=G((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,i){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!i&&0!==i&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);let n=i-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,i):Uint8Array.prototype.set.call(e,this.subarray(r,i),t),n},a.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){let t=e.charCodeAt(0);("utf8"===i&&t<128||"latin1"===i)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let n;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n<r;++n)this[n]=e;else{let o=a.isBuffer(e)?e:a.from(e,i),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=o[n%s]}return this};let N={};function D(e,t,r){N[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function L(e){let t="",r=e.length,i="-"===e[0]?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function U(e,t,r,i,n,a){if(e>r||e<t){let i,n="bigint"==typeof t?"n":"";throw i=a>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(a+1)}${n}`:`>= -(2${n} ** ${8*(a+1)-1}${n}) and < 2 ** ${8*(a+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new N.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){F(t,"offset"),(void 0===e[t]||void 0===e[t+r])&&H(t,e.length-(r+1))}(i,n,a)}function F(e,t){if("number"!=typeof e)throw new N.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,r){throw Math.floor(e)!==e?(F(e,r),new N.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new N.ERR_BUFFER_OUT_OF_BOUNDS:new N.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}D("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),D("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),D("ERR_OUT_OF_RANGE",(function(e,t,r){let i=`The value of "${e}" is out of range.`,n=r;return Number.isInteger(r)&&Math.abs(r)>2**32?n=L(String(r)):"bigint"==typeof r&&(n=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(n=L(n)),n+="n"),i+=` It must be ${t}. Received ${n}`,i}),RangeError);let z=/[^+/0-9A-Za-z-_]/g;function W(e,t){t=t||1/0;let r,i=e.length,n=null,a=[];for(let o=0;o<i;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function V(t){return e.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(t))}function $(e,t,r,i){let n;for(n=0;n<i&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}let K=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let i=16*r;for(let n=0;n<16;++n)t[i+n]=e[r]+e[n]}return t}();function G(e){return typeof BigInt>"u"?Q:e}function Q(){throw new Error("BigInt not supported")}return Lc}Xs(Mc,{Buffer:()=>Hc,INSPECT_MAX_BYTES:()=>zc,default:()=>Fc,kMaxLength:()=>Wc});var Pc,jc,Nc,Dc,Lc,Uc,Fc,Hc,zc,Wc,Vc=Qs((()=>{el(),$c(),Rc(),Pc={},jc=!1,Nc={},Dc=!1,Lc={},Uc=!1,(Fc=Oc()).Buffer,Fc.SlowBuffer,Fc.INSPECT_MAX_BYTES,Fc.kMaxLength,Hc=Fc.Buffer,zc=Fc.INSPECT_MAX_BYTES,Wc=Fc.kMaxLength})),$c=Qs((()=>{Vc()})),qc=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});e.default=class{constructor(e){this.aliasToTopic={},this.max=e}put(e,t){return!(0===t||t>this.max)&&(this.aliasToTopic[t]=e,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(e){return this.aliasToTopic[e]}clear(){this.aliasToTopic={}}}})),Yc=Js(((e,t)=>{el(),$c(),Rc(),t.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error:Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise:Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String:String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Uint8Array:Uint8Array}})),Kc=Js(((e,t)=>{el(),$c(),Rc();var r=(Vc(),Zs(Mc)),i=Object.getPrototypeOf((async function(){})).constructor,n=globalThis.Blob||r.Blob,a=typeof n<"u"?function(e){return e instanceof n}:function(e){return!1},o=class extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=` ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}};t.exports={AggregateError:o,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise(((r,i)=>{e=r,t=i})),resolve:e,reject:t}},promisify:e=>new Promise(((t,r)=>{e(((e,...i)=>e?r(e):t(...i)))})),debuglog:()=>function(){},format:(e,...t)=>e.replace(/%([sdifj])/g,(function(...[e,r]){let i=t.shift();return"f"===r?i.toFixed(6):"j"===r?JSON.stringify(i):"s"===r&&"object"==typeof i?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof i,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:a},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})),Gc=Js(((e,t)=>{el(),$c(),Rc();var{AbortController:r,AbortSignal:i}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=r,t.exports.AbortSignal=i,t.exports.default=r})),Qc=Js(((e,t)=>{el(),$c(),Rc();var{format:r,inspect:i,AggregateError:n}=Kc(),a=globalThis.AggregateError||n,o=Symbol("kIsNodeError"),s=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function h(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",r=e.length,i="-"===e[0]?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function u(e,t,i){i||(i=Error);class n extends i{constructor(...i){super(function(e,t,i){if("function"==typeof t)return h(t.length<=i.length,`Code: ${e}; The provided arguments length (${i.length}) does not match the required ones (${t.length}).`),t(...i);let n=(t.match(/%[dfijoOs]/g)||[]).length;return h(n===i.length,`Code: ${e}; The provided arguments length (${i.length}) does not match the required ones (${n}).`),0===i.length?t:r(t,...i)}(e,t,i))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:i.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[o]=!0,c[e]=n}function p(e){let t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}var f=class extends Error{constructor(e="The operation was aborted",t=void 0){if(void 0!==t&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}};u("ERR_ASSERTION","%s",Error),u("ERR_INVALID_ARG_TYPE",((e,t,r)=>{h("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";let a=[],o=[],c=[];for(let i of t)h("string"==typeof i,"All expected entries have to be of type string"),s.includes(i)?a.push(i.toLowerCase()):l.test(i)?o.push(i):(h("object"!==i,'The value "object" should be written as "Object"'),c.push(i));if(o.length>0){let e=a.indexOf("object");-1!==e&&(a.splice(a,e,1),o.push("Object"))}if(a.length>0){switch(a.length){case 1:n+=`of type ${a[0]}`;break;case 2:n+=`one of type ${a[0]} or ${a[1]}`;break;default:{let e=a.pop();n+=`one of type ${a.join(", ")}, or ${e}`}}(o.length>0||c.length>0)&&(n+=" or ")}if(o.length>0){switch(o.length){case 1:n+=`an instance of ${o[0]}`;break;case 2:n+=`an instance of ${o[0]} or ${o[1]}`;break;default:{let e=o.pop();n+=`an instance of ${o.join(", ")}, or ${e}`}}c.length>0&&(n+=" or ")}switch(c.length){case 0:break;case 1:c[0].toLowerCase()!==c[0]&&(n+="an "),n+=`${c[0]}`;break;case 2:n+=`one of ${c[0]} or ${c[1]}`;break;default:{let e=c.pop();n+=`one of ${c.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var d;if(null!==(d=r.constructor)&&void 0!==d&&d.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${i(r,{depth:-1})}`}}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n}),TypeError),u("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=i(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`}),TypeError),u("ERR_INVALID_RETURN_VALUE",((e,t,r)=>{var i;return`Expected ${e} to be returned from the "${t}" function but got ${null!=r&&null!==(i=r.constructor)&&void 0!==i&&i.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`}),TypeError),u("ERR_MISSING_ARGS",((...e)=>{h(e.length>0,"At least one arg needs to be specified");let t,r=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{let r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`}),TypeError),u("ERR_OUT_OF_RANGE",((e,t,r)=>{let n;return h(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=d(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=d(n)),n+="n"):n=i(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`}),RangeError),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),u("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),u("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),u("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),u("ERR_STREAM_WRITE_AFTER_END","write after end",Error),u("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:f,aggregateTwoErrors:p((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;let r=new a([t,e],t.message);return r.code=t.code,r}return e||t})),hideStackFrames:p,codes:c}})),Jc=Js(((e,t)=>{el(),$c(),Rc();var{ArrayIsArray:r,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:n,ArrayPrototypeMap:a,NumberIsInteger:o,NumberIsNaN:s,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:h,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:u,String:p,StringPrototypeToUpperCase:f,StringPrototypeTrim:g}=Yc(),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:v,ERR_INVALID_ARG_TYPE:y,ERR_INVALID_ARG_VALUE:b,ERR_OUT_OF_RANGE:w,ERR_UNKNOWN_SIGNAL:_}}=Qc(),{normalizeEncoding:x}=Kc(),{isAsyncFunction:E,isArrayBufferView:S}=Kc().types,T={};var k=/^[0-7]+$/;var A=m(((e,t,r=c,i=l)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!o(e))throw new w(t,"an integer",e);if(e<r||e>i)throw new w(t,`>= ${r} && <= ${i}`,e)})),C=m(((e,t,r=-2147483648,i=2147483647)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!o(e))throw new w(t,"an integer",e);if(e<r||e>i)throw new w(t,`>= ${r} && <= ${i}`,e)})),B=m(((e,t,r=!1)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!o(e))throw new w(t,"an integer",e);let i=r?1:0,n=4294967295;if(e<i||e>n)throw new w(t,`>= ${i} && <= ${n}`,e)}));function I(e,t){if("string"!=typeof e)throw new y(t,"string",e)}var R=m(((e,t,r)=>{if(!i(r,e)){let i="must be one of: "+n(a(r,(e=>"string"==typeof e?`'${e}'`:p(e))),", ");throw new b(t,e,i)}}));function M(e,t){if("boolean"!=typeof e)throw new y(t,"boolean",e)}function O(e,t,r){return null!=e&&d(e,t)?e[t]:r}var P=m(((e,t,i=null)=>{let n=O(i,"allowArray",!1),a=O(i,"allowFunction",!1);if(!O(i,"nullable",!1)&&null===e||!n&&r(e)||"object"!=typeof e&&(!a||"function"!=typeof e))throw new y(t,"Object",e)})),j=m(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new y(t,"a dictionary",e)})),N=m(((e,t,i=0)=>{if(!r(e))throw new y(t,"Array",e);if(e.length<i){throw new b(t,e,`must be longer than ${i}`)}}));var D=m(((e,t="buffer")=>{if(!S(e))throw new y(t,["Buffer","TypedArray","DataView"],e)}));var L=m(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new y(t,"AbortSignal",e)})),U=m(((e,t)=>{if("function"!=typeof e)throw new y(t,"Function",e)})),F=m(((e,t)=>{if("function"!=typeof e||E(e))throw new y(t,"Function",e)})),H=m(((e,t)=>{if(void 0!==e)throw new y(t,"undefined",e)}));var z=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W(e,t){if(typeof e>"u"||!u(z,e))throw new b(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(typeof e>"u"&&(e=r),"string"==typeof e){if(null===u(k,e))throw new b(t,e,"must be a 32-bit unsigned integer or an octal string");e=h(e,8)}return B(e,t),e},validateArray:N,validateStringArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++)I(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++)M(e[r],`${t}[${r}]`)},validateBoolean:M,validateBuffer:D,validateDictionary:j,validateEncoding:function(e,t){let r=x(t),i=e.length;if("hex"===r&&i%2!=0)throw new b("encoding",t,`is invalid for data of length ${i}`)},validateFunction:U,validateInt32:C,validateInteger:A,validateNumber:function(e,t,r=void 0,i){if("number"!=typeof e)throw new y(t,"number",e);if(null!=r&&e<r||null!=i&&e>i||(null!=r||null!=i)&&s(e))throw new w(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=i?" && ":""}${null!=i?`<= ${i}`:""}`,e)},validateObject:P,validateOneOf:R,validatePlainFunction:F,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!r)throw new v(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(I(e,t),void 0===T[e])throw void 0!==T[f(e)]?new _(e+" (signals must use all capital letters)"):new _(e)},validateString:I,validateUint32:B,validateUndefined:H,validateUnion:function(e,t,r){if(!i(r,e))throw new y(t,`('${n(r,"|")}')`,e)},validateAbortSignal:L,validateLinkHeaderValue:function(e){if("string"==typeof e)return W(e,"hints"),e;if(r(e)){let t=e.length,r="";if(0===t)return r;for(let i=0;i<t;i++){let n=e[i];W(n,"hints"),r+=n,i!==t-1&&(r+=", ")}return r}throw new b("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}})),Xc=Js(((e,t)=>{el(),$c(),Rc();var r,i,n=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch{try{return r.call(null,e,0)}catch{return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch{r=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch{i=o}}();var l,c=[],h=!1,d=-1;function u(){!h||!l||(h=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!h){var e=s(u);h=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,h=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch{try{return i.call(null,e)}catch{return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new f(e,t)),1===c.length&&!h&&s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}})),Zc=Js(((e,t)=>{el(),$c(),Rc();var{Symbol:r,SymbolAsyncIterator:i,SymbolIterator:n,SymbolFor:a}=Yc(),o=r("kDestroyed"),s=r("kIsErrored"),l=r("kIsReadable"),c=r("kIsDisturbed"),h=a("nodejs.webstream.isClosedPromise"),d=a("nodejs.webstream.controllerErrorFunction");function u(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function f(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||f(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||f(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function v(e){return!(!e||f(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function y(e){if(!f(e))return null;let t=e._writableState,r=e._readableState,i=t||r;return!!(e.destroyed||e[o]||null!=i&&i.destroyed)}function b(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;let t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function w(e,t){if(!u(e))return null;let r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function _(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!y(e)&&(u(e)&&e.readable&&!w(e))}function x(e){return"boolean"!=typeof(null==e?void 0:e.writable)?null:!y(e)&&(p(e)&&e.writable&&!b(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function S(e){return"boolean"==typeof e._sent100&&E(e)}t.exports={kDestroyed:o,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,i,n,a,o,l,c,h,d;return!(!e||!(null!==(t=null!==(r=null!==(i=null!==(n=null!==(a=null!==(o=e[s])&&void 0!==o?o:e.readableErrored)&&void 0!==a?a:e.writableErrored)&&void 0!==n?n:null===(l=e._readableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==i?i:null===(c=e._writableState)||void 0===c?void 0:c.errorEmitted)&&void 0!==r?r:null===(h=e._readableState)||void 0===h?void 0:h.errored)&&void 0!==t?t:null!==(d=e._writableState)&&void 0!==d&&d.errored))},kIsErrored:s,isReadable:_,kIsReadable:l,kIsClosedPromise:h,kControllerErrorFunction:d,isClosed:function(e){if(!f(e))return null;if("boolean"==typeof e.closed)return e.closed;let t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDestroyed:y,isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return f(e)?!!y(e)||!(!1!==(null==t?void 0:t.readable)&&_(e)||!1!==(null==t?void 0:t.writable)&&x(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[i]:!1===t?"function"==typeof e[n]:"function"==typeof e[i]||"function"==typeof e[n])},isReadableNodeStream:u,isReadableStream:g,isReadableEnded:function(e){if(!u(e))return null;if(!0===e.readableEnded)return!0;let t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:w,isReadableErrored:function(e){var t,r;return f(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:f,isWebStream:function(e){return g(e)||m(e)||v(e)},isWritable:x,isWritableNodeStream:p,isWritableStream:m,isWritableEnded:b,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;let r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return f(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:S,willEmitClose:function(e){if(!f(e))return null;let t=e._writableState,r=e._readableState,i=t||r;return!i&&S(e)||!!(i&&i.autoDestroy&&i.emitClose&&!1===i.closed)},isTransformStream:v}})),eh=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{AbortError:i,codes:n}=Qc(),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:o}=n,{kEmptyObject:s,once:l}=Kc(),{validateAbortSignal:c,validateFunction:h,validateObject:d,validateBoolean:u}=Jc(),{Promise:p,PromisePrototypeThen:f}=Yc(),{isClosed:g,isReadable:m,isReadableNodeStream:v,isReadableStream:y,isReadableFinished:b,isReadableErrored:w,isWritable:_,isWritableNodeStream:x,isWritableStream:E,isWritableFinished:S,isWritableErrored:T,isNodeStream:k,willEmitClose:A,kIsClosedPromise:C}=Zc();var B=()=>{};function I(e,t,n){var u,p;if(2===arguments.length?(n=t,t=s):null==t?t=s:d(t,"options"),h(n,"callback"),c(t.signal,"options.signal"),n=l(n),y(e)||E(e))return function(e,t,n){let a=!1,o=B;if(t.signal)if(o=()=>{a=!0,n.call(e,new i(void 0,{cause:t.signal.reason}))},t.signal.aborted)r.nextTick(o);else{let r=n;n=l(((...i)=>{t.signal.removeEventListener("abort",o),r.apply(e,i)})),t.signal.addEventListener("abort",o)}let s=(...t)=>{a||r.nextTick((()=>n.apply(e,t)))};return f(e[C].promise,s,s),B}(e,t,n);if(!k(e))throw new a("stream",["ReadableStream","WritableStream","Stream"],e);let I=null!==(u=t.readable)&&void 0!==u?u:v(e),R=null!==(p=t.writable)&&void 0!==p?p:x(e),M=e._writableState,O=e._readableState,P=()=>{e.writable||D()},j=A(e)&&v(e)===I&&x(e)===R,N=S(e,!1),D=()=>{N=!0,e.destroyed&&(j=!1),(!j||e.readable&&!I)&&(!I||L)&&n.call(e)},L=b(e,!1),U=()=>{L=!0,e.destroyed&&(j=!1),(!j||e.writable&&!R)&&(!R||N)&&n.call(e)},F=t=>{n.call(e,t)},H=g(e),z=()=>{H=!0;let t=T(e)||w(e);return t&&"boolean"!=typeof t?n.call(e,t):I&&!L&&v(e,!0)&&!b(e,!1)?n.call(e,new o):!R||N||S(e,!1)?void n.call(e):n.call(e,new o)},W=()=>{H=!0;let t=T(e)||w(e);if(t&&"boolean"!=typeof t)return n.call(e,t);n.call(e)},V=()=>{e.req.on("finish",D)};!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?R&&!M&&(e.on("end",P),e.on("close",P)):(e.on("complete",D),j||e.on("abort",z),e.req?V():e.on("request",V)),!j&&"boolean"==typeof e.aborted&&e.on("aborted",z),e.on("end",U),e.on("finish",D),!1!==t.error&&e.on("error",F),e.on("close",z),H?r.nextTick(z):null!=M&&M.errorEmitted||null!=O&&O.errorEmitted?j||r.nextTick(W):(!I&&(!j||m(e))&&(N||!1===_(e))||!R&&(!j||_(e))&&(L||!1===m(e))||O&&e.req&&e.aborted)&&r.nextTick(W);let $=()=>{n=B,e.removeListener("aborted",z),e.removeListener("complete",D),e.removeListener("abort",z),e.removeListener("request",V),e.req&&e.req.removeListener("finish",D),e.removeListener("end",P),e.removeListener("close",P),e.removeListener("finish",D),e.removeListener("end",U),e.removeListener("error",F),e.removeListener("close",z)};if(t.signal&&!H){let a=()=>{let r=n;$(),r.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)r.nextTick(a);else{let r=n;n=l(((...i)=>{t.signal.removeEventListener("abort",a),r.apply(e,i)})),t.signal.addEventListener("abort",a)}}return $}t.exports=I,t.exports.finished=function(e,t){var r;let i=!1;return null===t&&(t=s),null!==(r=t)&&void 0!==r&&r.cleanup&&(u(t.cleanup,"cleanup"),i=t.cleanup),new p(((r,n)=>{let a=I(e,t,(e=>{i&&a(),e?n(e):r()}))}))}})),th=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:n},AbortError:a}=Qc(),{Symbol:o}=Yc(),{kDestroyed:s,isDestroyed:l,isFinished:c,isServerRequest:h}=Zc(),d=o("kDestroy"),u=o("kConstruct");function p(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function f(e,t,i){let n=!1;function a(t){if(n)return;n=!0;let a=e._readableState,o=e._writableState;p(t,o,a),o&&(o.closed=!0),a&&(a.closed=!0),"function"==typeof i&&i(t),t?r.nextTick(g,e,t):r.nextTick(m,e)}try{e._destroy(t||null,a)}catch(o){a(o)}}function g(e,t){v(e,t),m(e)}function m(e){let t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=r&&r.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function v(e,t){let r=e._readableState,i=e._writableState;null!=i&&i.errorEmitted||null!=r&&r.errorEmitted||(i&&(i.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function y(e,t,i){let n=e._readableState,a=e._writableState;if(null!=a&&a.destroyed||null!=n&&n.destroyed)return this;null!=n&&n.autoDestroy||null!=a&&a.autoDestroy?e.destroy(t):t&&(t.stack,a&&!a.errored&&(a.errored=t),n&&!n.errored&&(n.errored=t),i?r.nextTick(v,e,t):v(e,t))}function b(e){let t=!1;function i(i){if(t)return void y(e,i??new n);t=!0;let a=e._readableState,o=e._writableState,s=o||a;a&&(a.constructed=!0),o&&(o.constructed=!0),s.destroyed?e.emit(d,i):i?y(e,i,!0):r.nextTick(w,e)}try{e._construct((e=>{r.nextTick(i,e)}))}catch(a){r.nextTick(i,a)}}function w(e){e.emit(u)}function _(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function x(e){e.emit("close")}function E(e,t){e.emit("error",t),r.nextTick(x,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;let i=e._readableState,n=e._writableState;i&&(i.constructed=!1),n&&(n.constructed=!1),e.once(u,t),!(e.listenerCount(u)>1)&&r.nextTick(b,e)},destroyer:function(e,t){!e||l(e)||(!t&&!c(e)&&(t=new a),h(e)?(e.socket=null,e.destroy(t)):_(e)?e.abort():_(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?r.nextTick(E,e,t):r.nextTick(x,e),e.destroyed||(e[s]=!0))},destroy:function(e,t){let r=this._readableState,n=this._writableState,a=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof t&&t(),this):(p(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),a.constructed?f(this,e,t):this.once(d,(function(r){f(this,i(r,e),t)})),this)},undestroy:function(){let e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:y}}));function rh(){rh.init.call(this)}function ih(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function nh(e){return void 0===e._maxListeners?rh.defaultMaxListeners:e._maxListeners}function ah(e,t,r,i){var n,a,o;if(ih(r),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),void 0===o)o=a[t]=r,++e._eventsCount;else if("function"==typeof o?o=a[t]=i?[r,o]:[o,r]:i?o.unshift(r):o.push(r),(n=nh(e))>0&&o.length>n&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,s,console&&console.warn}return e}function oh(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function sh(e,t,r){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},n=oh.bind(i);return n.listener=r,i.wrapFn=n,n}function lh(e,t,r){var i=e._events;if(void 0===i)return[];var n=i[t];return void 0===n?[]:"function"==typeof n?r?[n.listener||n]:[n]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(n):hh(n,n.length)}function ch(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function hh(e,t){for(var r=new Array(t),i=0;i<t;++i)r[i]=e[i];return r}var dh,uh,ph,fh,gh,mh,vh,yh=Qs((()=>{el(),$c(),Rc(),ph="object"==typeof Reflect?Reflect:null,fh=ph&&"function"==typeof ph.apply?ph.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},uh=ph&&"function"==typeof ph.ownKeys?ph.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},gh=Number.isNaN||function(e){return e!=e},dh=rh,rh.EventEmitter=rh,rh.prototype._events=void 0,rh.prototype._eventsCount=0,rh.prototype._maxListeners=void 0,mh=10,Object.defineProperty(rh,"defaultMaxListeners",{enumerable:!0,get:function(){return mh},set:function(e){if("number"!=typeof e||e<0||gh(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");mh=e}}),rh.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},rh.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||gh(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},rh.prototype.getMaxListeners=function(){return nh(this)},rh.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var s=n[e];if(void 0===s)return!1;if("function"==typeof s)fh(s,this,t);else{var l=s.length,c=hh(s,l);for(r=0;r<l;++r)fh(c[r],this,t)}return!0},rh.prototype.addListener=function(e,t){return ah(this,e,t,!1)},rh.prototype.on=rh.prototype.addListener,rh.prototype.prependListener=function(e,t){return ah(this,e,t,!0)},rh.prototype.once=function(e,t){return ih(t),this.on(e,sh(this,e,t)),this},rh.prototype.prependOnceListener=function(e,t){return ih(t),this.prependListener(e,sh(this,e,t)),this},rh.prototype.removeListener=function(e,t){var r,i,n,a,o;if(ih(t),void 0===(i=this._events))return this;if(void 0===(r=i[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(n=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,n=a;break}if(n<0)return this;0===n?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,n),1===r.length&&(i[e]=r[0]),void 0!==i.removeListener&&this.emit("removeListener",e,o||t)}return this},rh.prototype.off=rh.prototype.removeListener,rh.prototype.removeAllListeners=function(e){var t,r,i;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var n,a=Object.keys(r);for(i=0;i<a.length;++i)"removeListener"!==(n=a[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},rh.prototype.listeners=function(e){return lh(this,e,!0)},rh.prototype.rawListeners=function(e){return lh(this,e,!1)},rh.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):ch.call(e,t)},rh.prototype.listenerCount=ch,rh.prototype.eventNames=function(){return this._eventsCount>0?uh(this._events):[]},(vh=dh).EventEmitter,vh.defaultMaxListeners,vh.init,vh.listenerCount,vh.EventEmitter,vh.defaultMaxListeners,vh.init,vh.listenerCount})),bh={};Xs(bh,{EventEmitter:()=>wh,default:()=>vh,defaultMaxListeners:()=>_h,init:()=>xh,listenerCount:()=>Eh,on:()=>Sh,once:()=>Th});var wh,_h,xh,Eh,Sh,Th,kh=Qs((()=>{el(),$c(),Rc(),yh(),yh(),vh.once=function(e,t){return new Promise(((r,i)=>{function n(...t){void 0!==a&&e.removeListener("error",a),r(t)}let a;"error"!==t&&(a=t=>{e.removeListener(name,n),i(t)},e.once("error",a)),e.once(t,n)}))},vh.on=function(e,t){let r=[],i=[],n=null,a=!1,o={async next(){let e=r.shift();if(e)return createIterResult(e,!1);if(n){let e=Promise.reject(n);return n=null,e}return a?createIterResult(void 0,!0):new Promise(((e,t)=>i.push({resolve:e,reject:t})))},async return(){e.removeListener(t,s),e.removeListener("error",l),a=!0;for(let e of i)e.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(r){n=r,e.removeListener(t,s),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,s),e.on("error",l),o;function s(...e){let t=i.shift();t?t.resolve(createIterResult(e,!1)):r.push(e)}function l(e){a=!0;let t=i.shift();t?t.reject(e):n=e,o.return()}},({EventEmitter:wh,defaultMaxListeners:_h,init:xh,listenerCount:Eh,on:Sh,once:Th}=vh)})),Ah=Js(((e,t)=>{el(),$c(),Rc();var{ArrayIsArray:r,ObjectSetPrototypeOf:i}=Yc(),{EventEmitter:n}=(kh(),Zs(bh));function a(e){n.call(this,e)}function o(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}i(a.prototype,n.prototype),i(a,n),a.prototype.pipe=function(e,t){let r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),!e._isStdio&&(!t||!1!==t.end)&&(r.on("end",l),r.on("close",c));let s=!1;function l(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function h(e){d(),0===n.listenerCount(this,"error")&&this.emit("error",e)}function d(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",l),r.removeListener("close",c),r.removeListener("error",h),e.removeListener("error",h),r.removeListener("end",d),r.removeListener("close",d),e.removeListener("close",d)}return o(r,"error",h),o(e,"error",h),r.on("end",d),r.on("close",d),e.on("close",d),e.emit("pipe",r),e},t.exports={Stream:a,prependListener:o}})),Ch=Js(((e,t)=>{el(),$c(),Rc();var{AbortError:r,codes:i}=Qc(),{isNodeStream:n,isWebStream:a,kControllerErrorFunction:o}=Zc(),s=eh(),{ERR_INVALID_ARG_TYPE:l}=i;t.exports.addAbortSignal=function(e,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new l(t,"AbortSignal",e)})(e,"signal"),!n(r)&&!a(r))throw new l("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;let i=n(t)?()=>{t.destroy(new r(void 0,{cause:e.reason}))}:()=>{t[o](new r(void 0,{cause:e.reason}))};return e.aborted?i():(e.addEventListener("abort",i),s(t,(()=>e.removeEventListener("abort",i)))),t}})),Bh=Js(((e,t)=>{el(),$c(),Rc();var{StringPrototypeSlice:r,SymbolIterator:i,TypedArrayPrototypeSet:n,Uint8Array:a}=Yc(),{Buffer:o}=(Vc(),Zs(Mc)),{inspect:s}=Kc();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){let t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){let t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;let e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return o.alloc(0);let t=o.allocUnsafe(e>>>0),r=this.head,i=0;for(;r;)n(t,r.data,i),i+=r.data.length,r=r.next;return t}consume(e,t){let r=this.head.data;if(e<r.length){let t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",i=this.head,n=0;do{let a=i.data;if(!(e>a.length)){e===a.length?(t+=a,++n,i.next?this.head=i.next:this.head=this.tail=null):(t+=r(a,0,e),this.head=i,i.data=r(a,e));break}t+=a,e-=a.length,++n}while(null!==(i=i.next));return this.length-=n,t}_getBuffer(e){let t=o.allocUnsafe(e),r=e,i=this.head,s=0;do{let o=i.data;if(!(e>o.length)){e===o.length?(n(t,o,r-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(n(t,new a(o.buffer,o.byteOffset,e),r-e),this.head=i,i.data=o.slice(e));break}n(t,o,r-e),e-=o.length,++s}while(null!==(i=i.next));return this.length-=s,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return s(this,{...t,depth:0,customInspect:!1})}}})),Ih=Js(((e,t)=>{el(),$c(),Rc();var{MathFloor:r,NumberIsInteger:i}=Yc(),{ERR_INVALID_ARG_VALUE:n}=Qc().codes;function a(e){return e?16:16384}t.exports={getHighWaterMark:function(e,t,o,s){let l=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,o);if(null!=l){if(!i(l)||l<0){throw new n(s?`options.${o}`:"options.highWaterMark",l)}return r(l)}return a(e.objectMode)},getDefaultHighWaterMark:a}}));function Rh(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function Mh(e,t,r){for(var i,n,a=[],o=t;o<r;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(Td[(n=i)>>18&63]+Td[n>>12&63]+Td[n>>6&63]+Td[63&n]);return a.join("")}function Oh(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,Ph.prototype),t}function Ph(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return Dh(e)}return jh(e,t,r)}function jh(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!Ph.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|Fh(e,t),i=Oh(r),n=i.write(e,t);return n!==r&&(i=i.slice(0,n)),i}(e,t);if(ArrayBuffer.isView(e))return Lh(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(dd(e,ArrayBuffer)||e&&dd(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(dd(e,SharedArrayBuffer)||e&&dd(e.buffer,SharedArrayBuffer)))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(i,Ph.prototype),i}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return Ph.from(i,t,r);var n=function(e){if(Ph.isBuffer(e)){var t=0|Uh(e.length),r=Oh(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||ud(e.length)?Oh(0):Lh(e):"Buffer"===e.type&&Array.isArray(e.data)?Lh(e.data):void 0}(e);if(n)return n;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return Ph.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function Nh(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Dh(e){return Nh(e),Oh(e<0?0:0|Uh(e))}function Lh(e){for(var t=e.length<0?0:0|Uh(e.length),r=Oh(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function Uh(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function Fh(e,t){if(Ph.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||dd(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ld(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return cd(e).length;default:if(n)return i?-1:ld(e).length;t=(""+t).toLowerCase(),n=!0}}function Hh(e,t,r){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return td(this,t,r);case"utf8":case"utf-8":return Xh(this,t,r);case"ascii":return Zh(this,t,r);case"latin1":case"binary":return ed(this,t,r);case"base64":return Jh(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rd(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function zh(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function Wh(e,t,r,i,n){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),ud(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=Ph.from(t,i)),Ph.isBuffer(t))return 0===t.length?-1:Vh(e,t,r,i,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Vh(e,[t],r,i,n);throw new TypeError("val must be string, number or Buffer")}function Vh(e,t,r,i,n){var a,o=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var h=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===h?0:a-h)){if(-1===h&&(h=a),a-h+1===l)return h*o}else-1!==h&&(a-=a-h),h=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,u=0;u<l;u++)if(c(e,a+u)!==c(t,u)){d=!1;break}if(d)return a}return-1}function $h(e,t,r,i){r=Number(r)||0;var n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;var a=t.length;i>a/2&&(i=a/2);for(var o=0;o<i;++o){var s=parseInt(t.substr(2*o,2),16);if(ud(s))return o;e[r+o]=s}return o}function qh(e,t,r,i){return hd(ld(t,e.length-r),e,r,i)}function Yh(e,t,r,i){return hd(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,i)}function Kh(e,t,r,i){return Yh(e,t,r,i)}function Gh(e,t,r,i){return hd(cd(t),e,r,i)}function Qh(e,t,r,i){return hd(function(e,t){for(var r,i,n,a=[],o=0;o<e.length&&!((t-=2)<0);++o)i=(r=e.charCodeAt(o))>>8,n=r%256,a.push(n),a.push(i);return a}(t,e.length-r),e,r,i)}function Jh(e,t,r){return 0===t&&r===e.length?Rd.fromByteArray(e):Rd.fromByteArray(e.slice(t,r))}function Xh(e,t,r){r=Math.min(e.length,r);for(var i=[],n=t;n<r;){var a,o,s,l,c=e[n],h=null,d=c>239?4:c>223?3:c>191?2:1;if(n+d<=r)switch(d){case 1:c<128&&(h=c);break;case 2:128==(192&(a=e[n+1]))&&(l=(31&c)<<6|63&a)>127&&(h=l);break;case 3:a=e[n+1],o=e[n+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:a=e[n+1],o=e[n+2],s=e[n+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(h=l)}null===h?(h=65533,d=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),n+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",i=0;i<t;)r+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return r}(i)}function Zh(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(127&e[n]);return i}function ed(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}function td(e,t,r){var i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var n="",a=t;a<r;++a)n+=jd[e[a]];return n}function rd(e,t,r){for(var i=e.slice(t,r),n="",a=0;a<i.length;a+=2)n+=String.fromCharCode(i[a]+256*i[a+1]);return n}function id(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function nd(e,t,r,i,n,a){if(!Ph.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<a)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function ad(e,t,r,i,n,a){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function od(e,t,r,i,n){return t=+t,r>>>=0,n||ad(e,0,r,4),Md.write(e,t,r,i,23,4),r+4}function sd(e,t,r,i,n){return t=+t,r>>>=0,n||ad(e,0,r,8),Md.write(e,t,r,i,52,8),r+8}function ld(e,t){var r;t=t||1/0;for(var i=e.length,n=null,a=[],o=0;o<i;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function cd(e){return Rd.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Pd,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function hd(e,t,r,i){for(var n=0;n<i&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function dd(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ud(e){return e!=e}function pd(e,t){for(var r in e)t[r]=e[r]}function fd(e,t,r){return Ld(e,t,r)}function gd(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(Fd.isEncoding===Hd||!Hd(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=yd,this.end=bd,t=4;break;case"utf8":this.fillLast=vd,t=4;break;case"base64":this.text=wd,this.end=_d,t=3;break;default:return this.write=xd,void(this.end=Ed)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Fd.allocUnsafe(t)}function md(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function vd(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function yd(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function bd(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function wd(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function _d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function xd(e){return e.toString(this.encoding)}function Ed(e){return e&&e.length?this.write(e):""}var Sd,Td,kd,Ad,Cd,Bd,Id,Rd,Md,Od,Pd,jd,Nd,Dd,Ld,Ud,Fd,Hd,zd=Qs((()=>{for(el(),$c(),Rc(),Sd={byteLength:function(e){var t=Rh(e),r=t[0],i=t[1];return 3*(r+i)/4-i},toByteArray:function(e){var t,r,i,n=Rh(e),a=n[0],o=n[1],s=new Ad(3*(a+(i=o))/4-i),l=0,c=o>0?a-4:a;for(r=0;r<c;r+=4)t=kd[e.charCodeAt(r)]<<18|kd[e.charCodeAt(r+1)]<<12|kd[e.charCodeAt(r+2)]<<6|kd[e.charCodeAt(r+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===o&&(t=kd[e.charCodeAt(r)]<<2|kd[e.charCodeAt(r+1)]>>4,s[l++]=255&t),1===o&&(t=kd[e.charCodeAt(r)]<<10|kd[e.charCodeAt(r+1)]<<4|kd[e.charCodeAt(r+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},fromByteArray:function(e){for(var t,r=e.length,i=r%3,n=[],a=0,o=r-i;a<o;a+=16383)n.push(Mh(e,a,a+16383>o?o:a+16383));return 1===i?(t=e[r-1],n.push(Td[t>>2]+Td[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],n.push(Td[t>>10]+Td[t>>4&63]+Td[t<<2&63]+"=")),n.join("")}},Td=[],kd=[],Ad=typeof Uint8Array<"u"?Uint8Array:Array,Cd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bd=0,64;Bd<64;++Bd)Td[Bd]=Cd[Bd],kd[Cd.charCodeAt(Bd)]=Bd;kd["-".charCodeAt(0)]=62,kd["_".charCodeAt(0)]=63,Id={},Rd=Sd,Md={read:function(e,t,r,i,n){var a,o,s=8*n-i-1,l=(1<<s)-1,c=l>>1,h=-7,d=r?n-1:0,u=r?-1:1,p=e[t+d];for(d+=u,a=p&(1<<-h)-1,p>>=-h,h+=s;h>0;a=256*a+e[t+d],d+=u,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=i;h>0;o=256*o+e[t+d],d+=u,h-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=c}return(p?-1:1)*o*Math.pow(2,a-i)},write:function(e,t,r,i,n,a){var o,s,l,c=8*a-n-1,h=(1<<c)-1,d=h>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?u/l:u*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=h?(s=0,o=h):o+d>=1?(s=(t*l-1)*Math.pow(2,n),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,n),o=0));n>=8;e[r+p]=255&s,p+=f,s/=256,n-=8);for(o=o<<n|s,c+=n;c>0;e[r+p]=255&o,p+=f,o/=256,c-=8);e[r+p-f]|=128*g}},Od="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,Id.Buffer=Ph,Id.SlowBuffer=function(e){return+e!=e&&(e=0),Ph.alloc(+e)},Id.INSPECT_MAX_BYTES=50,Id.kMaxLength=2147483647,Ph.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),Ph.TYPED_ARRAY_SUPPORT||typeof console>"u"||console.error,Object.defineProperty(Ph.prototype,"parent",{enumerable:!0,get:function(){if(Ph.isBuffer(this))return this.buffer}}),Object.defineProperty(Ph.prototype,"offset",{enumerable:!0,get:function(){if(Ph.isBuffer(this))return this.byteOffset}}),Ph.poolSize=8192,Ph.from=function(e,t,r){return jh(e,t,r)},Object.setPrototypeOf(Ph.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ph,Uint8Array),Ph.alloc=function(e,t,r){return n=t,a=r,Nh(i=e),i<=0?Oh(i):void 0!==n?"string"==typeof a?Oh(i).fill(n,a):Oh(i).fill(n):Oh(i);var i,n,a},Ph.allocUnsafe=function(e){return Dh(e)},Ph.allocUnsafeSlow=function(e){return Dh(e)},Ph.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==Ph.prototype},Ph.compare=function(e,t){if(dd(e,Uint8Array)&&(e=Ph.from(e,e.offset,e.byteLength)),dd(t,Uint8Array)&&(t=Ph.from(t,t.offset,t.byteLength)),!Ph.isBuffer(e)||!Ph.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,i=t.length,n=0,a=Math.min(r,i);n<a;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}return r<i?-1:i<r?1:0},Ph.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Ph.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Ph.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var i=Ph.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var a=e[r];if(dd(a,Uint8Array)&&(a=Ph.from(a)),!Ph.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,n),n+=a.length}return i},Ph.byteLength=Fh,Ph.prototype._isBuffer=!0,Ph.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)zh(this,t,t+1);return this},Ph.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)zh(this,t,t+3),zh(this,t+1,t+2);return this},Ph.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)zh(this,t,t+7),zh(this,t+1,t+6),zh(this,t+2,t+5),zh(this,t+3,t+4);return this},Ph.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?Xh(this,0,e):Hh.apply(this,arguments)},Ph.prototype.toLocaleString=Ph.prototype.toString,Ph.prototype.equals=function(e){if(!Ph.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Ph.compare(this,e)},Ph.prototype.inspect=function(){var e="",t=Id.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},Od&&(Ph.prototype[Od]=Ph.prototype.inspect),Ph.prototype.compare=function(e,t,r,i,n){if(dd(e,Uint8Array)&&(e=Ph.from(e,e.offset,e.byteLength)),!Ph.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),t<0||r>e.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(n>>>=0)-(i>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(i,n),c=e.slice(t,r),h=0;h<s;++h)if(l[h]!==c[h]){a=l[h],o=c[h];break}return a<o?-1:o<a?1:0},Ph.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Ph.prototype.indexOf=function(e,t,r){return Wh(this,e,t,r,!0)},Ph.prototype.lastIndexOf=function(e,t,r){return Wh(this,e,t,r,!1)},Ph.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return $h(this,e,t,r);case"utf8":case"utf-8":return qh(this,e,t,r);case"ascii":return Yh(this,e,t,r);case"latin1":case"binary":return Kh(this,e,t,r);case"base64":return Gh(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qh(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},Ph.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Ph.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,Ph.prototype),i},Ph.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=this[e],n=1,a=0;++a<t&&(n*=256);)i+=this[e+a]*n;return i},Ph.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=this[e+--t],n=1;t>0&&(n*=256);)i+=this[e+--t]*n;return i},Ph.prototype.readUInt8=function(e,t){return e>>>=0,t||id(e,1,this.length),this[e]},Ph.prototype.readUInt16LE=function(e,t){return e>>>=0,t||id(e,2,this.length),this[e]|this[e+1]<<8},Ph.prototype.readUInt16BE=function(e,t){return e>>>=0,t||id(e,2,this.length),this[e]<<8|this[e+1]},Ph.prototype.readUInt32LE=function(e,t){return e>>>=0,t||id(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ph.prototype.readUInt32BE=function(e,t){return e>>>=0,t||id(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ph.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=this[e],n=1,a=0;++a<t&&(n*=256);)i+=this[e+a]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},Ph.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=t,n=1,a=this[e+--i];i>0&&(n*=256);)a+=this[e+--i]*n;return a>=(n*=128)&&(a-=Math.pow(2,8*t)),a},Ph.prototype.readInt8=function(e,t){return e>>>=0,t||id(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ph.prototype.readInt16LE=function(e,t){e>>>=0,t||id(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Ph.prototype.readInt16BE=function(e,t){e>>>=0,t||id(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Ph.prototype.readInt32LE=function(e,t){return e>>>=0,t||id(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ph.prototype.readInt32BE=function(e,t){return e>>>=0,t||id(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ph.prototype.readFloatLE=function(e,t){return e>>>=0,t||id(e,4,this.length),Md.read(this,e,!0,23,4)},Ph.prototype.readFloatBE=function(e,t){return e>>>=0,t||id(e,4,this.length),Md.read(this,e,!1,23,4)},Ph.prototype.readDoubleLE=function(e,t){return e>>>=0,t||id(e,8,this.length),Md.read(this,e,!0,52,8)},Ph.prototype.readDoubleBE=function(e,t){return e>>>=0,t||id(e,8,this.length),Md.read(this,e,!1,52,8)},Ph.prototype.writeUIntLE=function(e,t,r,i){e=+e,t>>>=0,r>>>=0,i||nd(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,a=0;for(this[t]=255&e;++a<r&&(n*=256);)this[t+a]=e/n&255;return t+r},Ph.prototype.writeUIntBE=function(e,t,r,i){e=+e,t>>>=0,r>>>=0,i||nd(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,a=1;for(this[t+n]=255&e;--n>=0&&(a*=256);)this[t+n]=e/a&255;return t+r},Ph.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,1,255,0),this[t]=255&e,t+1},Ph.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Ph.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Ph.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Ph.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Ph.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t>>>=0,!i){var n=Math.pow(2,8*r-1);nd(this,e,t,r,n-1,-n)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},Ph.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t>>>=0,!i){var n=Math.pow(2,8*r-1);nd(this,e,t,r,n-1,-n)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},Ph.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ph.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Ph.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Ph.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Ph.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Ph.prototype.writeFloatLE=function(e,t,r){return od(this,e,t,!0,r)},Ph.prototype.writeFloatBE=function(e,t,r){return od(this,e,t,!1,r)},Ph.prototype.writeDoubleLE=function(e,t,r){return sd(this,e,t,!0,r)},Ph.prototype.writeDoubleBE=function(e,t,r){return sd(this,e,t,!1,r)},Ph.prototype.copy=function(e,t,r,i){if(!Ph.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);var n=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,i);else if(this===e&&r<t&&t<i)for(var a=n-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),t);return n},Ph.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!Ph.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var n=e.charCodeAt(0);("utf8"===i&&n<128||"latin1"===i)&&(e=n)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=Ph.isBuffer(e)?e:Ph.from(e,i),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this},Pd=/[^+/0-9A-Za-z-_]/g,jd=function(){for(var e=new Array(256),t=0;t<16;++t)for(var r=16*t,i=0;i<16;++i)e[r+i]="0123456789abcdef"[t]+"0123456789abcdef"[i];return e}(),Id.Buffer,Id.INSPECT_MAX_BYTES,Id.kMaxLength,Nd={},(Ld=(Dd=Id).Buffer).from&&Ld.alloc&&Ld.allocUnsafe&&Ld.allocUnsafeSlow?Nd=Dd:(pd(Dd,Nd),Nd.Buffer=fd),fd.prototype=Object.create(Ld.prototype),pd(Ld,fd),fd.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return Ld(e,t,r)},fd.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=Ld(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},fd.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Ld(e)},fd.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Dd.SlowBuffer(e)},Ud={},Fd=Nd.Buffer,Hd=Fd.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},Ud.StringDecoder=gd,gd.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},gd.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},gd.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var n=md(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||-2===n?0:(n=md(t[i]))>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||-2===n?0:(n=md(t[i]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},gd.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Ud.StringDecoder,Ud.StringDecoder})),Wd={};Xs(Wd,{StringDecoder:()=>Vd,default:()=>Ud});var Vd,$d=Qs((()=>{el(),$c(),Rc(),zd(),zd(),Vd=Ud.StringDecoder})),qd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{PromisePrototypeThen:i,SymbolAsyncIterator:n,SymbolIterator:a}=Yc(),{Buffer:o}=(Vc(),Zs(Mc)),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_NULL_VALUES:l}=Qc().codes;t.exports=function(e,t,c){let h,d;if("string"==typeof t||t instanceof o)return new e({objectMode:!0,...c,read(){this.push(t),this.push(null)}});if(t&&t[n])d=!0,h=t[n]();else{if(!t||!t[a])throw new s("iterable",["Iterable"],t);d=!1,h=t[a]()}let u=new e({objectMode:!0,highWaterMark:1,...c}),p=!1;return u._read=function(){p||(p=!0,async function(){for(;;){try{let{value:e,done:t}=d?await h.next():h.next();if(t)u.push(null);else{let t=e&&"function"==typeof e.then?await e:e;if(null===t)throw p=!1,new l;if(u.push(t))continue;p=!1}}catch(e){u.destroy(e)}break}}())},u._destroy=function(e,t){i(async function(e){let t=null!=e,r="function"==typeof h.throw;if(t&&r){let{value:t,done:r}=await h.throw(e);if(await t,r)return}if("function"==typeof h.return){let{value:e}=await h.return();await e}}(e),(()=>r.nextTick(t,e)),(i=>r.nextTick(t,i||e)))},u}})),Yd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{ArrayPrototypeIndexOf:i,NumberIsInteger:n,NumberIsNaN:a,NumberParseInt:o,ObjectDefineProperties:s,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:h,SafeSet:d,SymbolAsyncIterator:u,Symbol:p}=Yc();t.exports=L,L.ReadableState=D;var{EventEmitter:f}=(kh(),Zs(bh)),{Stream:g,prependListener:m}=Ah(),{Buffer:v}=(Vc(),Zs(Mc)),{addAbortSignal:y}=Ch(),b=eh(),w=Kc().debuglog("stream",(e=>{w=e})),_=Bh(),x=th(),{getHighWaterMark:E,getDefaultHighWaterMark:S}=Ih(),{aggregateTwoErrors:T,codes:{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:A,ERR_OUT_OF_RANGE:C,ERR_STREAM_PUSH_AFTER_EOF:B,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:I}}=Qc(),{validateObject:R}=Jc(),M=p("kPaused"),{StringDecoder:O}=($d(),Zs(Wd)),P=qd();c(L.prototype,g.prototype),c(L,g);var j=()=>{},{errorOrDestroy:N}=x;function D(e,t,r){"boolean"!=typeof r&&(r=t instanceof Qd()),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.readableObjectMode)),this.highWaterMark=e?E(this,e,"readableHighWaterMark",r):S(!1),this.buffer=new _,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[M]=null,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new O(e.encoding),this.encoding=e.encoding)}function L(e){if(!(this instanceof L))return new L(e);let t=this instanceof Qd();this._readableState=new D(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&y(e.signal,this)),g.call(this,e),x.construct(this,(()=>{this._readableState.needReadable&&$(this,this._readableState)}))}function U(e,t,r,i){w("readableAddChunk",t);let n,a=e._readableState;if(a.objectMode||("string"==typeof t?(r=r||a.defaultEncoding,a.encoding!==r&&(i&&a.encoding?t=v.from(t,r).toString(a.encoding):(t=v.from(t,r),r=""))):t instanceof v?r="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),r=""):null!=t&&(n=new k("chunk",["string","Buffer","Uint8Array"],t))),n)N(e,n);else if(null===t)a.reading=!1,function(e,t){if(w("onEofChunk"),!t.ended){if(t.decoder){let e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?W(e):(t.needReadable=!1,t.emittedReadable=!0,V(e))}}(e,a);else if(a.objectMode||t&&t.length>0)if(i)if(a.endEmitted)N(e,new I);else{if(a.destroyed||a.errored)return!1;F(e,a,t,!0)}else if(a.ended)N(e,new B);else{if(a.destroyed||a.errored)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?F(e,a,t,!1):$(e,a)):F(e,a,t,!1)}else i||(a.reading=!1,$(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function F(e,t,r,i){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&W(e)),$(e,t)}L.prototype.destroy=x.destroy,L.prototype._undestroy=x.undestroy,L.prototype._destroy=function(e,t){t(e)},L.prototype[f.captureRejectionSymbol]=function(e){this.destroy(e)},L.prototype.push=function(e,t){return U(this,e,t,!1)},L.prototype.unshift=function(e,t){return U(this,e,t,!0)},L.prototype.isPaused=function(){let e=this._readableState;return!0===e[M]||!1===e.flowing},L.prototype.setEncoding=function(e){let t=new O(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,i="";for(let n of r)i+=t.write(n);return r.clear(),""!==i&&r.push(i),this._readableState.length=i.length,this};var H;function z(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function W(e){let t=e._readableState;w("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(V,e))}function V(e){let t=e._readableState;w("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&!t.errored&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Q(e)}function $(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,r.nextTick(q,e,t))}function q(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){let r=t.length;if(w("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function Y(e){let t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[M]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function K(e){w("readable nexttick read 0"),e.read(0)}function G(e,t){w("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Q(e),t.flowing&&!t.reading&&e.read(0)}function Q(e){let t=e._readableState;for(w("flow",t.flowing);t.flowing&&null!==e.read(););}function J(e,t){"function"!=typeof e.read&&(e=L.wrap(e,{objectMode:!0}));let r=async function*(e,t){let r=j;function i(t){this===e?(r(),r=j):r=t}e.on("readable",i);let n,a=b(e,{writable:!1},(e=>{n=e?T(n,e):null,r(),r=j}));try{for(;;){let t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(n)throw n;if(null===n)return;await new h(i)}}}catch(o){throw n=T(n,o),n}finally{!n&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==n&&!e._readableState.autoDestroy?(e.off("readable",i),a()):x.destroyer(e,null)}}(e,t);return r.stream=e,r}function X(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Z(e){let t=e._readableState;w("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(ee,t,e))}function ee(e,t){if(w("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)r.nextTick(te,t);else if(e.autoDestroy){let e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function te(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}function re(){return void 0===H&&(H={}),H}L.prototype.read=function(e){w("read",e),void 0===e?e=NaN:n(e)||(e=o(e,10));let t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new C("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Z(this):W(this),null;if(0===(e=z(e,t))&&t.ended)return 0===t.length&&Z(this),null;let i,a=t.needReadable;if(w("need readable",a),(0===t.length||t.length-e<t.highWaterMark)&&(a=!0,w("length less than watermark",a)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)a=!1,w("reading, ended or constructing",a);else if(a){w("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0);try{this._read(t.highWaterMark)}catch(s){N(this,s)}t.sync=!1,t.reading||(e=z(r,t))}return i=e>0?X(e,t):null,null===i?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Z(this)),null!==i&&!t.errorEmitted&&!t.closeEmitted&&(t.dataEmitted=!0,this.emit("data",i)),i},L.prototype._read=function(e){throw new A("_read()")},L.prototype.pipe=function(e,t){let i=this,n=this._readableState;1===n.pipes.length&&(n.multiAwaitDrain||(n.multiAwaitDrain=!0,n.awaitDrainWriters=new d(n.awaitDrainWriters?[n.awaitDrainWriters]:[]))),n.pipes.push(e),w("pipe count=%d opts=%j",n.pipes.length,t);let a=t&&!1===t.end||e===r.stdout||e===r.stderr?v:s;function o(t,r){w("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,w("cleanup"),e.removeListener("close",f),e.removeListener("finish",g),l&&e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",o),i.removeListener("end",s),i.removeListener("end",v),i.removeListener("data",u),c=!0,l&&n.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&l())}function s(){w("onend"),e.end()}n.endEmitted?r.nextTick(a):i.once("end",a),e.on("unpipe",o);let l,c=!1;function h(){c||(1===n.pipes.length&&n.pipes[0]===e?(w("false write response, pause",0),n.awaitDrainWriters=e,n.multiAwaitDrain=!1):n.pipes.length>1&&n.pipes.includes(e)&&(w("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(e)),i.pause()),l||(l=function(e,t){return function(){let r=e._readableState;r.awaitDrainWriters===t?(w("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(w("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),(!r.awaitDrainWriters||0===r.awaitDrainWriters.size)&&e.listenerCount("data")&&e.resume()}}(i,e),e.on("drain",l))}function u(t){w("ondata");let r=e.write(t);w("dest.write",r),!1===r&&h()}function p(t){if(w("onerror",t),v(),e.removeListener("error",p),0===e.listenerCount("error")){let r=e._writableState||e._readableState;r&&!r.errorEmitted?N(e,t):e.emit("error",t)}}function f(){e.removeListener("finish",g),v()}function g(){w("onfinish"),e.removeListener("close",f),v()}function v(){w("unpipe"),i.unpipe(e)}return i.on("data",u),m(e,"error",p),e.once("close",f),e.once("finish",g),e.emit("pipe",i),!0===e.writableNeedDrain?n.flowing&&h():n.flowing||(w("pipe resume"),i.resume()),e},L.prototype.unpipe=function(e){let t=this._readableState;if(0===t.pipes.length)return this;if(!e){let e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}let r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},L.prototype.on=function(e,t){let i=g.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,w("on readable",n.length,n.reading),n.length?W(this):n.reading||r.nextTick(K,this)),i},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(e,t){let i=g.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(Y,this),i},L.prototype.off=L.prototype.removeListener,L.prototype.removeAllListeners=function(e){let t=g.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&r.nextTick(Y,this),t},L.prototype.resume=function(){let e=this._readableState;return e.flowing||(w("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(G,e,t))}(this,e)),e[M]=!1,this},L.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[M]=!0,this},L.prototype.wrap=function(e){let t=!1;e.on("data",(r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{N(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};let r=l(e);for(let i=1;i<r.length;i++){let t=r[i];void 0===this[t]&&"function"==typeof e[t]&&(this[t]=e[t].bind(e))}return this},L.prototype[u]=function(){return J(this)},L.prototype.iterator=function(e){return void 0!==e&&R(e,"options"),J(this,e)},s(L.prototype,{readable:{__proto__:null,get(){let e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),s(D.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[M]},set(e){this[M]=!!e}}}),L._fromList=X,L.from=function(e,t){return P(L,e,t)},L.fromWeb=function(e,t){return re().newStreamReadableFromReadableStream(e,t)},L.toWeb=function(e,t){return re().newReadableStreamFromStreamReadable(e,t)},L.wrap=function(e,t){var r,i;return new L({objectMode:null===(r=null!==(i=e.readableObjectMode)&&void 0!==i?i:e.objectMode)||void 0===r||r,...t,destroy(t,r){x.destroyer(e,t),r(t)}}).wrap(e)}})),Kd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{ArrayPrototypeSlice:i,Error:n,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:o,ObjectDefineProperties:s,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:h,SymbolHasInstance:d}=Yc();t.exports=O,O.WritableState=R;var{EventEmitter:u}=(kh(),Zs(bh)),p=Ah().Stream,{Buffer:f}=(Vc(),Zs(Mc)),g=th(),{addAbortSignal:m}=Ch(),{getHighWaterMark:v,getDefaultHighWaterMark:y}=Ih(),{ERR_INVALID_ARG_TYPE:b,ERR_METHOD_NOT_IMPLEMENTED:w,ERR_MULTIPLE_CALLBACK:_,ERR_STREAM_CANNOT_PIPE:x,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:S,ERR_STREAM_NULL_VALUES:T,ERR_STREAM_WRITE_AFTER_END:k,ERR_UNKNOWN_ENCODING:A}=Qc().codes,{errorOrDestroy:C}=g;function B(){}l(O.prototype,p.prototype),l(O,p);var I=h("kOnFinished");function R(e,t,r){"boolean"!=typeof r&&(r=t instanceof Qd()),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?v(this,e,"writableHighWaterMark",r):y(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let i=!(!e||!1!==e.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=D.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[I]=[]}function M(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function O(e){let t=this instanceof Qd();if(!t&&!a(O,this))return new O(e);this._writableState=new R(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&m(e.signal,this)),p.call(this,e),g.construct(this,(()=>{let e=this._writableState;e.writing||H(this,e),V(this,e)}))}function P(e,t,i,n){let a,o=e._writableState;if("function"==typeof i)n=i,i=o.defaultEncoding;else{if(i){if("buffer"!==i&&!f.isEncoding(i))throw new A(i)}else i=o.defaultEncoding;"function"!=typeof n&&(n=B)}if(null===t)throw new T;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=f.from(t,i),i="buffer");else if(t instanceof f)i="buffer";else{if(!p._isUint8Array(t))throw new b("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),i="buffer"}return o.ending?a=new k:o.destroyed&&(a=new E("write")),a?(r.nextTick(n,a),C(e,a,!0),a):(o.pendingcb++,function(e,t,r,i,n){let a=t.objectMode?1:r.length;t.length+=a;let o=t.length<t.highWaterMark;return o||(t.needDrain=!0),t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:i,callback:n}),t.allBuffers&&"buffer"!==i&&(t.allBuffers=!1),t.allNoop&&n!==B&&(t.allNoop=!1)):(t.writelen=a,t.writecb=n,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1),o&&!t.errored&&!t.destroyed}(e,o,t,i,n))}function j(e,t,r,i,n,a,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new E("write")):r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=!1}function N(e,t,r,i){--t.pendingcb,i(r),F(t),C(e,r)}function D(e,t){let i=e._writableState,n=i.sync,a=i.writecb;"function"==typeof a?(i.writing=!1,i.writecb=null,i.length-=i.writelen,i.writelen=0,t?(t.stack,i.errored||(i.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),n?r.nextTick(N,e,i,t,a):N(e,i,t,a)):(i.buffered.length>i.bufferedIndex&&H(e,i),n?null!==i.afterWriteTickInfo&&i.afterWriteTickInfo.cb===a?i.afterWriteTickInfo.count++:(i.afterWriteTickInfo={count:1,cb:a,stream:e,state:i},r.nextTick(L,i.afterWriteTickInfo)):U(e,i,1,a))):C(e,new _)}function L({stream:e,state:t,count:r,cb:i}){return t.afterWriteTickInfo=null,U(e,t,r,i)}function U(e,t,r,i){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,i();t.destroyed&&F(t),V(e,t)}function F(e){if(e.writing)return;for(let n=e.bufferedIndex;n<e.buffered.length;++n){var t;let{chunk:r,callback:i}=e.buffered[n],a=e.objectMode?1:r.length;e.length-=a,i(null!==(t=e.errored)&&void 0!==t?t:new E("write"))}let r=e[I].splice(0);for(let n=0;n<r.length;n++){var i;r[n](null!==(i=e.errored)&&void 0!==i?i:new E("end"))}M(e)}function H(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;let{buffered:r,bufferedIndex:n,objectMode:a}=t,o=r.length-n;if(!o)return;let s=n;if(t.bufferProcessing=!0,o>1&&e._writev){t.pendingcb-=o-1;let n=t.allNoop?B:e=>{for(let t=s;t<r.length;++t)r[t].callback(e)},a=t.allNoop&&0===s?r:i(r,s);a.allBuffers=t.allBuffers,j(e,t,!0,t.length,a,"",n),M(t)}else{do{let{chunk:i,encoding:n,callback:o}=r[s];r[s++]=null,j(e,t,!1,a?1:i.length,i,n,o)}while(s<r.length&&!t.writing);s===r.length?M(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function z(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function W(e,t){!t.prefinished&&!t.finalCalled&&("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let i=!1;function n(n){if(i)C(e,n??_());else if(i=!0,t.pendingcb--,n){let r=t[I].splice(0);for(let e=0;e<r.length;e++)r[e](n);C(e,n,t.sync)}else z(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,r.nextTick($,e,t))}t.sync=!0,t.pendingcb++;try{e._final(n)}catch(a){n(a)}t.sync=!1}(e,t)))}function V(e,t,i){z(t)&&(W(e,t),0===t.pendingcb&&(i?(t.pendingcb++,r.nextTick(((e,t)=>{z(t)?$(e,t):t.pendingcb--}),e,t)):z(t)&&(t.pendingcb++,$(e,t))))}function $(e,t){t.pendingcb--,t.finished=!0;let r=t[I].splice(0);for(let i=0;i<r.length;i++)r[i]();if(e.emit("finish"),t.autoDestroy){let t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}R.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},o(R.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),o(O,d,{__proto__:null,value:function(e){return!!a(this,e)||this===O&&(e&&e._writableState instanceof R)}}),O.prototype.pipe=function(){C(this,new x)},O.prototype.write=function(e,t,r){return!0===P(this,e,t,r)},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){let e=this._writableState;e.corked&&(e.corked--,e.writing||H(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!f.isEncoding(e))throw new A(e);return this._writableState.defaultEncoding=e,this},O.prototype._write=function(e,t,r){if(!this._writev)throw new w("_write()");this._writev([{chunk:e,encoding:t}],r)},O.prototype._writev=null,O.prototype.end=function(e,t,i){let a,o=this._writableState;if("function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e){let r=P(this,e,t);r instanceof n&&(a=r)}return o.corked&&(o.corked=1,this.uncork()),a||(o.errored||o.ending?o.finished?a=new S("end"):o.destroyed&&(a=new E("end")):(o.ending=!0,V(this,o,!0),o.ended=!0)),"function"==typeof i&&(a||o.finished?r.nextTick(i,a):o[I].push(i)),this},s(O.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){let e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){let e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});var q,Y=g.destroy;function K(){return void 0===q&&(q={}),q}O.prototype.destroy=function(e,t){let i=this._writableState;return!i.destroyed&&(i.bufferedIndex<i.buffered.length||i[I].length)&&r.nextTick(F,i),Y.call(this,e,t),this},O.prototype._undestroy=g.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype[u.captureRejectionSymbol]=function(e){this.destroy(e)},O.fromWeb=function(e,t){return K().newStreamWritableFromWritableStream(e,t)},O.toWeb=function(e){return K().newWritableStreamFromStreamWritable(e)}})),Gd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),i=(Vc(),Zs(Mc)),{isReadable:n,isWritable:a,isIterable:o,isNodeStream:s,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:h}=Zc(),d=eh(),{AbortError:u,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:f}}=Qc(),{destroyer:g}=th(),m=Qd(),v=Yd(),{createDeferredPromise:y}=Kc(),b=qd(),w=globalThis.Blob||i.Blob,_=typeof w<"u"?function(e){return e instanceof w}:function(e){return!1},x=globalThis.AbortController||Gc().AbortController,{FunctionPrototypeCall:E}=Yc(),S=class extends m{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};function T(e){let t,r,i,o,s,l=e.readable&&"function"!=typeof e.readable.read?v.wrap(e.readable):e.readable,c=e.writable,h=!!n(l),p=!!a(c);function f(e){let t=o;o=null,t?t(e):e&&s.destroy(e)}return s=new S({readableObjectMode:!(null==l||!l.readableObjectMode),writableObjectMode:!(null==c||!c.writableObjectMode),readable:h,writable:p}),p&&(d(c,(e=>{p=!1,e&&g(l,e),f(e)})),s._write=function(e,r,i){c.write(e,r)?i():t=i},s._final=function(e){c.end(),r=e},c.on("drain",(function(){if(t){let e=t;t=null,e()}})),c.on("finish",(function(){if(r){let e=r;r=null,e()}}))),h&&(d(l,(e=>{h=!1,e&&g(l,e),f(e)})),l.on("readable",(function(){if(i){let e=i;i=null,e()}})),l.on("end",(function(){s.push(null)})),s._read=function(){for(;;){let e=l.read();if(null===e)return void(i=s._read);if(!s.push(e))return}}),s._destroy=function(e,n){!e&&null!==o&&(e=new u),i=null,t=null,r=null,null===o?n(e):(o=n,g(c,e),g(l,e))},s}t.exports=function e(t,i){if(h(t))return t;if(l(t))return T({readable:t});if(c(t))return T({writable:t});if(s(t))return T({writable:!1,readable:!1});if("function"==typeof t){let{value:e,write:n,final:a,destroy:s}=function(e){let{promise:t,resolve:i}=y(),n=new x,a=n.signal;return{value:e(async function*(){for(;;){let e=t;t=null;let{chunk:n,done:o,cb:s}=await e;if(r.nextTick(s),o)return;if(a.aborted)throw new u(void 0,{cause:a.reason});({promise:t,resolve:i}=y()),yield n}}(),{signal:a}),write(e,t,r){let n=i;i=null,n({chunk:e,done:!1,cb:r})},final(e){let t=i;i=null,t({done:!0,cb:e})},destroy(e,t){n.abort(),t(e)}}}(t);if(o(e))return b(S,e,{objectMode:!0,write:n,final:a,destroy:s});let l=null==e?void 0:e.then;if("function"==typeof l){let t,i=E(l,e,(e=>{if(null!=e)throw new f("nully","body",e)}),(e=>{g(t,e)}));return t=new S({objectMode:!0,readable:!1,write:n,final(e){a((async()=>{try{await i,r.nextTick(e,null)}catch(t){r.nextTick(e,t)}}))},destroy:s})}throw new f("Iterable, AsyncIterable or AsyncFunction",i,e)}if(_(t))return e(t.arrayBuffer());if(o(t))return b(S,t,{objectMode:!0,writable:!1});if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable)){return T({readable:null!=t&&t.readable?l(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0})}let n=null==t?void 0:t.then;if("function"==typeof n){let e;return E(n,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{g(e,t)})),e=new S({objectMode:!0,writable:!1,read(){}})}throw new p(i,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}})),Qd=Js(((e,t)=>{el(),$c(),Rc();var{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:n,ObjectSetPrototypeOf:a}=Yc();t.exports=h;var o,s,l=Yd(),c=Kd();a(h.prototype,l.prototype),a(h,l);{let e=n(c.prototype);for(let t=0;t<e.length;t++){let r=e[t];h.prototype[r]||(h.prototype[r]=c.prototype[r])}}function h(e){if(!(this instanceof h))return new h(e);l.call(this,e),c.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}function d(){return void 0===o&&(o={}),o}r(h.prototype,{writable:{__proto__:null,...i(c.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(c.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(c.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(c.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(c.prototype,"writableLength")},writableFinished:{__proto__:null,...i(c.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(c.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(c.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(c.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),h.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},h.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},h.from=function(e){return s||(s=Gd()),s(e,"body")}})),Jd=Js(((e,t)=>{el(),$c(),Rc();var{ObjectSetPrototypeOf:r,Symbol:i}=Yc();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:n}=Qc().codes,a=Qd(),{getHighWaterMark:o}=Ih();r(l.prototype,a.prototype),r(l,a);var s=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);let t=e?o(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[s]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())}))}function h(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new n("_transform()")},l.prototype._write=function(e,t,r){let i=this._readableState,n=this._writableState,a=i.length;this._transform(e,t,((e,t)=>{e?r(e):(null!=t&&this.push(t),n.ended||a===i.length||i.length<i.highWaterMark?r():this[s]=r)}))},l.prototype._read=function(){if(this[s]){let e=this[s];this[s]=null,e()}}})),Xd=Js(((e,t)=>{el(),$c(),Rc();var{ObjectSetPrototypeOf:r}=Yc();t.exports=n;var i=Jd();function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}r(n.prototype,i.prototype),r(n,i),n.prototype._transform=function(e,t,r){r(null,e)}})),Zd=Js(((e,t)=>{el(),$c(),Rc();var r,i,n=Xc(),{ArrayIsArray:a,Promise:o,SymbolAsyncIterator:s}=Yc(),l=eh(),{once:c}=Kc(),h=th(),d=Qd(),{aggregateTwoErrors:u,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:m,ERR_STREAM_PREMATURE_CLOSE:v},AbortError:y}=Qc(),{validateFunction:b,validateAbortSignal:w}=Jc(),{isIterable:_,isReadable:x,isReadableNodeStream:E,isNodeStream:S,isTransformStream:T,isWebStream:k,isReadableStream:A,isReadableEnded:C}=Zc(),B=globalThis.AbortController||Gc().AbortController;function I(e,t,r){let i=!1;return e.on("close",(()=>{i=!0})),{destroy:t=>{i||(i=!0,h.destroyer(e,t||new m("pipe")))},cleanup:l(e,{readable:t,writable:r},(e=>{i=!e}))}}function R(e){if(_(e))return e;if(E(e))return async function*(e){i||(i=Yd()),yield*i.prototype[s].call(e)}(e);throw new p("val",["Readable","Iterable","AsyncIterable"],e)}async function M(e,t,r,{end:i}){let n,a=null,s=e=>{if(e&&(n=e),a){let e=a;a=null,e()}},c=()=>new o(((e,t)=>{n?t(n):a=()=>{n?t(n):e()}}));t.on("drain",s);let h=l(t,{readable:!1},s);try{t.writableNeedDrain&&await c();for await(let r of e)t.write(r)||await c();i&&t.end(),await c(),r()}catch(d){r(n!==d?u(n,d):d)}finally{h(),t.off("drain",s)}}async function O(e,t,r,{end:i}){T(t)&&(t=t.writable);let n=t.getWriter();try{for await(let t of e)await n.ready,n.write(t).catch((()=>{}));await n.ready,i&&await n.close(),r()}catch(a){try{await n.abort(a),r(a)}catch(o){r(o)}}}function P(e,t,i){if(1===e.length&&a(e[0])&&(e=e[0]),e.length<2)throw new g("streams");let o=new B,s=o.signal,l=null==i?void 0:i.signal,c=[];function h(){N(new y)}w(l,"options.signal"),null==l||l.addEventListener("abort",h);let u,m,v,b=[],C=0;function P(e){N(e,0==--C)}function N(e,r){if(e&&(!u||"ERR_STREAM_PREMATURE_CLOSE"===u.code)&&(u=e),u||r){for(;b.length;)b.shift()(u);null==l||l.removeEventListener("abort",h),o.abort(),r&&(u||c.forEach((e=>e())),n.nextTick(t,u,m))}}for(let a=0;a<e.length;a++){let t=e[a],o=a<e.length-1,l=a>0,h=o||!1!==(null==i?void 0:i.end),u=a===e.length-1;if(S(t)){let e=function(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&P(e)};if(h){let{destroy:e,cleanup:r}=I(t,o,l);b.push(e),x(t)&&u&&c.push(r)}t.on("error",e),x(t)&&u&&c.push((()=>{t.removeListener("error",e)}))}if(0===a)if("function"==typeof t){if(v=t({signal:s}),!_(v))throw new f("Iterable, AsyncIterable or Stream","source",v)}else v=_(t)||E(t)||T(t)?t:d.from(t);else if("function"==typeof t){var D;if(T(v))v=R(null===(D=v)||void 0===D?void 0:D.readable);else v=R(v);if(v=t(v,{signal:s}),o){if(!_(v,!0))throw new f("AsyncIterable",`transform[${a-1}]`,v)}else{var L;r||(r=Xd());let e=new r({objectMode:!0}),t=null===(L=v)||void 0===L?void 0:L.then;if("function"==typeof t)C++,t.call(v,(t=>{m=t,null!=t&&e.write(t),h&&e.end(),n.nextTick(P)}),(t=>{e.destroy(t),n.nextTick(P,t)}));else if(_(v,!0))C++,M(v,e,P,{end:h});else{if(!A(v)&&!T(v))throw new f("AsyncIterable or Promise","destination",v);{let t=v.readable||v;C++,M(t,e,P,{end:h})}}v=e;let{destroy:i,cleanup:a}=I(v,!1,!0);b.push(i),u&&c.push(a)}}else if(S(t)){if(E(v)){C+=2;let e=j(v,t,P,{end:h});x(t)&&u&&c.push(e)}else if(T(v)||A(v)){let e=v.readable||v;C++,M(e,t,P,{end:h})}else{if(!_(v))throw new p("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v);C++,M(v,t,P,{end:h})}v=t}else if(k(t)){if(E(v))C++,O(R(v),t,P,{end:h});else if(A(v)||_(v))C++,O(v,t,P,{end:h});else{if(!T(v))throw new p("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v);C++,O(v.readable,t,P,{end:h})}v=t}else v=d.from(t)}return(null!=s&&s.aborted||null!=l&&l.aborted)&&n.nextTick(h),v}function j(e,t,r,{end:i}){let a=!1;if(t.on("close",(()=>{a||r(new v)})),e.pipe(t,{end:!1}),i){let r=function(){a=!0,t.end()};C(e)?n.nextTick(r):e.once("end",r)}else r();return l(e,{readable:!0,writable:!1},(t=>{let i=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&i&&i.ended&&!i.errored&&!i.errorEmitted?e.once("end",r).once("error",r):r(t)})),l(t,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:P,pipeline:function(...e){return P(e,c(function(e){return b(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}})),eu=Js(((e,t)=>{el(),$c(),Rc();var{pipeline:r}=Zd(),i=Qd(),{destroyer:n}=th(),{isNodeStream:a,isReadable:o,isWritable:s,isWebStream:l,isTransformStream:c,isWritableStream:h,isReadableStream:d}=Zc(),{AbortError:u,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:f}}=Qc(),g=eh();t.exports=function(...e){if(0===e.length)throw new f("streams");if(1===e.length)return i.from(e[0]);let t,m,v,y,b,w=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){let t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(a(e[r])||l(e[r])){if(r<e.length-1&&!(o(e[r])||d(e[r])||c(e[r])))throw new p(`streams[${r}]`,w[r],"must be readable");if(r>0&&!(s(e[r])||h(e[r])||c(e[r])))throw new p(`streams[${r}]`,w[r],"must be writable")}let _=e[0],x=r(e,(function(e){let t=y;y=null,t?t(e):e?b.destroy(e):!S&&!E&&b.destroy()})),E=!!(s(_)||h(_)||c(_)),S=!!(o(x)||d(x)||c(x));if(b=new i({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==x||!x.writableObjectMode),writable:E,readable:S}),E){if(a(_))b._write=function(e,r,i){_.write(e,r)?i():t=i},b._final=function(e){_.end(),m=e},_.on("drain",(function(){if(t){let e=t;t=null,e()}}));else if(l(_)){let e=(c(_)?_.writable:_).getWriter();b._write=async function(t,r,i){try{await e.ready,e.write(t).catch((()=>{})),i()}catch(n){i(n)}},b._final=async function(t){try{await e.ready,e.close().catch((()=>{})),m=t}catch(r){t(r)}}}let e=c(x)?x.readable:x;g(e,(()=>{if(m){let e=m;m=null,e()}}))}if(S)if(a(x))x.on("readable",(function(){if(v){let e=v;v=null,e()}})),x.on("end",(function(){b.push(null)})),b._read=function(){for(;;){let e=x.read();if(null===e)return void(v=b._read);if(!b.push(e))return}};else if(l(x)){let e=(c(x)?x.readable:x).getReader();b._read=async function(){for(;;)try{let{value:t,done:r}=await e.read();if(!b.push(t))return;if(r)return void b.push(null)}catch{return}}}return b._destroy=function(e,r){!e&&null!==y&&(e=new u),v=null,t=null,m=null,null===y?r(e):(y=r,a(x)&&n(x,e))},b}})),tu=Js(((e,t)=>{el(),$c(),Rc();var r=globalThis.AbortController||Gc().AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:n,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:o},AbortError:s}=Qc(),{validateAbortSignal:l,validateInteger:c,validateObject:h}=Jc(),d=Yc().Symbol("kWeak"),{finished:u}=eh(),p=eu(),{addAbortSignalNoValidate:f}=Ch(),{isWritable:g,isNodeStream:m}=Zc(),{ArrayPrototypePush:v,MathFloor:y,Number:b,NumberIsNaN:w,Promise:_,PromiseReject:x,PromisePrototypeThen:E,Symbol:S}=Yc(),T=S("kEmpty"),k=S("kEof");function A(e,t){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal");let i=1;return null!=(null==t?void 0:t.concurrency)&&(i=y(t.concurrency)),c(i,"concurrency",1),async function*(){var n,a;let o=new r,l=this,c=[],h=o.signal,d={signal:h},u=()=>o.abort();null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted&&u(),null==t||null===(a=t.signal)||void 0===a||a.addEventListener("abort",u);let p,f,g=!1;function m(){g=!0}!async function(){try{for await(let t of l){var r;if(g)return;if(h.aborted)throw new s;try{t=e(t,d)}catch(a){t=x(a)}t!==T&&("function"==typeof(null===(r=t)||void 0===r?void 0:r.catch)&&t.catch(m),c.push(t),p&&(p(),p=null),!g&&c.length&&c.length>=i&&await new _((e=>{f=e})))}c.push(k)}catch(o){let e=x(o);E(e,void 0,m),c.push(e)}finally{var n;g=!0,p&&(p(),p=null),null==t||null===(n=t.signal)||void 0===n||n.removeEventListener("abort",u)}}();try{for(;;){for(;c.length>0;){let e=await c[0];if(e===k)return;if(h.aborted)throw new s;e!==T&&(yield e),c.shift(),f&&(f(),f=null)}await new _((e=>{p=e}))}}finally{o.abort(),g=!0,f&&(f(),f=null)}}.call(this)}async function C(e,t=void 0){for await(let r of B.call(this,e,t))return!0;return!1}function B(e,t){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);return A.call(this,(async function(t,r){return await e(t,r)?t:T}),t)}var I=class extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};function R(e){if(e=b(e),w(e))return 0;if(e<0)throw new o("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:function(e=void 0){return null!=e&&h(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),async function*(){let t=0;for await(let i of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new s({cause:e.signal.reason});yield[t++,i]}}.call(this)},drop:function(e,t=void 0){return null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=R(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new s;for await(let n of this){var i;if(null!=t&&null!==(i=t.signal)&&void 0!==i&&i.aborted)throw new s;e--<=0&&(yield n)}}.call(this)},filter:B,flatMap:function(e,t){let r=A.call(this,e,t);return async function*(){for await(let e of r)yield*e}.call(this)},map:A,take:function(e,t=void 0){return null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=R(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new s;for await(let n of this){var i;if(null!=t&&null!==(i=t.signal)&&void 0!==i&&i.aborted)throw new s;if(!(e-- >0))return;yield n}}.call(this)},compose:function(e,t){if(null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),m(e)&&!g(e))throw new i("stream",e,"must be writable");let r=p(this,e);return null!=t&&t.signal&&f(t.signal,r),r}},t.exports.promiseReturningOperators={every:async function(e,t=void 0){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);return!(await C.call(this,(async(...t)=>!(await e(...t))),t))},forEach:async function(e,t){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);for await(let r of A.call(this,(async function(t,r){return await e(t,r),T}),t));},reduce:async function(e,t,i){var a;if("function"!=typeof e)throw new n("reducer",["Function","AsyncFunction"],e);null!=i&&h(i,"options"),null!=(null==i?void 0:i.signal)&&l(i.signal,"options.signal");let o=arguments.length>1;if(null!=i&&null!==(a=i.signal)&&void 0!==a&&a.aborted){let e=new s(void 0,{cause:i.signal.reason});throw this.once("error",(()=>{})),await u(this.destroy(e)),e}let c=new r,p=c.signal;if(null!=i&&i.signal){let e={once:!0,[d]:this};i.signal.addEventListener("abort",(()=>c.abort()),e)}let f=!1;try{for await(let r of this){var g;if(f=!0,null!=i&&null!==(g=i.signal)&&void 0!==g&&g.aborted)throw new s;o?t=await e(t,r,{signal:p}):(t=r,o=!0)}if(!f&&!o)throw new I}finally{c.abort()}return t},toArray:async function(e){null!=e&&h(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal");let t=[];for await(let i of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new s(void 0,{cause:e.signal.reason});v(t,i)}return t},some:C,find:async function(e,t){for await(let r of B.call(this,e,t))return r}}})),ru=Js(((e,t)=>{el(),$c(),Rc();var{ArrayPrototypePop:r,Promise:i}=Yc(),{isIterable:n,isNodeStream:a,isWebStream:o}=Zc(),{pipelineImpl:s}=Zd(),{finished:l}=eh();iu(),t.exports={finished:l,pipeline:function(...e){return new i(((t,i)=>{let l,c,h=e[e.length-1];if(h&&"object"==typeof h&&!a(h)&&!n(h)&&!o(h)){let t=r(e);l=t.signal,c=t.end}s(e,((e,r)=>{e?i(e):t(r)}),{signal:l,end:c})}))}}})),iu=Js(((e,t)=>{el(),$c(),Rc();var{Buffer:r}=(Vc(),Zs(Mc)),{ObjectDefineProperty:i,ObjectKeys:n,ReflectApply:a}=Yc(),{promisify:{custom:o}}=Kc(),{streamReturningOperators:s,promiseReturningOperators:l}=tu(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=Qc(),h=eu(),{pipeline:d}=Zd(),{destroyer:u}=th(),p=eh(),f=ru(),g=Zc(),m=t.exports=Ah().Stream;m.isDisturbed=g.isDisturbed,m.isErrored=g.isErrored,m.isReadable=g.isReadable,m.Readable=Yd();for(let y of n(s)){let e=function(...e){if(new.target)throw c();return m.Readable.from(a(t,this,e))},t=s[y];i(e,"name",{__proto__:null,value:t.name}),i(e,"length",{__proto__:null,value:t.length}),i(m.Readable.prototype,y,{__proto__:null,value:e,enumerable:!1,configurable:!0,writable:!0})}for(let y of n(l)){let e=function(...e){if(new.target)throw c();return a(t,this,e)},t=l[y];i(e,"name",{__proto__:null,value:t.name}),i(e,"length",{__proto__:null,value:t.length}),i(m.Readable.prototype,y,{__proto__:null,value:e,enumerable:!1,configurable:!0,writable:!0})}m.Writable=Kd(),m.Duplex=Qd(),m.Transform=Jd(),m.PassThrough=Xd(),m.pipeline=d;var{addAbortSignal:v}=Ch();m.addAbortSignal=v,m.finished=p,m.destroy=u,m.compose=h,i(m,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>f}),i(d,o,{__proto__:null,enumerable:!0,get:()=>f.pipeline}),i(p,o,{__proto__:null,enumerable:!0,get:()=>f.finished}),m.Stream=m,m._isUint8Array=function(e){return e instanceof Uint8Array},m._uint8ArrayToBuffer=function(e){return r.from(e.buffer,e.byteOffset,e.byteLength)}})),nu=Js(((e,t)=>{el(),$c(),Rc();var r=iu(),i=ru(),n=r.Readable.destroy;t.exports=r.Readable,t.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,t.exports._isUint8Array=r._isUint8Array,t.exports.isDisturbed=r.isDisturbed,t.exports.isErrored=r.isErrored,t.exports.isReadable=r.isReadable,t.exports.Readable=r.Readable,t.exports.Writable=r.Writable,t.exports.Duplex=r.Duplex,t.exports.Transform=r.Transform,t.exports.PassThrough=r.PassThrough,t.exports.addAbortSignal=r.addAbortSignal,t.exports.finished=r.finished,t.exports.destroy=r.destroy,t.exports.destroy=n,t.exports.pipeline=r.pipeline,t.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get:()=>i}),t.exports.Stream=r.Stream,t.exports.default=t.exports})),au=Js(((e,t)=>{el(),$c(),Rc(),"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}})),ou=Js(((e,t)=>{el(),$c(),Rc();var{Buffer:r}=(Vc(),Zs(Mc)),i=Symbol.for("BufferList");function n(e){if(!(this instanceof n))return new n(e);n._init.call(this,e)}n._init=function(e){Object.defineProperty(this,i,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)},n.prototype._new=function(e){return new n(e)},n.prototype._offset=function(e){if(0===e)return[0,0];let t=0;for(let r=0;r<this._bufs.length;r++){let i=t+this._bufs[r].length;if(e<i||r===this._bufs.length-1)return[r,e-t];t=i}},n.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r},n.prototype.get=function(e){if(e>this.length||e<0)return;let t=this._offset(e);return this._bufs[t[0]][t[1]]},n.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},n.prototype.copy=function(e,t,i,n){if(("number"!=typeof i||i<0)&&(i=0),("number"!=typeof n||n>this.length)&&(n=this.length),i>=this.length||n<=0)return e||r.alloc(0);let a=!!e,o=this._offset(i),s=n-i,l=s,c=a&&t||0,h=o[1];if(0===i&&n===this.length){if(!a)return 1===this._bufs.length?this._bufs[0]:r.concat(this._bufs,this.length);for(let t=0;t<this._bufs.length;t++)this._bufs[t].copy(e,c),c+=this._bufs[t].length;return e}if(l<=this._bufs[o[0]].length-h)return a?this._bufs[o[0]].copy(e,t,h,h+l):this._bufs[o[0]].slice(h,h+l);a||(e=r.allocUnsafe(s));for(let r=o[0];r<this._bufs.length;r++){let t=this._bufs[r].length-h;if(!(l>t)){this._bufs[r].copy(e,c,h,h+l),c+=t;break}this._bufs[r].copy(e,c,h),c+=t,l-=t,h&&(h=0)}return e.length>c?e.slice(0,c):e},n.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!=typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();let r=this._offset(e),i=this._offset(t),n=this._bufs.slice(r[0],i[0]+1);return 0===i[1]?n.pop():n[n.length-1]=n[n.length-1].slice(0,i[1]),0!==r[1]&&(n[0]=n[0].slice(r[1])),this._new(n)},n.prototype.toString=function(e,t,r){return this.slice(t,r).toString(e)},n.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},n.prototype.duplicate=function(){let e=this._new();for(let t=0;t<this._bufs.length;t++)e.append(this._bufs[t]);return e},n.prototype.append=function(e){if(null==e)return this;if(e.buffer)this._appendBuffer(r.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let t=0;t<e.length;t++)this.append(e[t]);else if(this._isBufferList(e))for(let t=0;t<e._bufs.length;t++)this.append(e._bufs[t]);else"number"==typeof e&&(e=e.toString()),this._appendBuffer(r.from(e));return this},n.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length},n.prototype.indexOf=function(e,t,i){if(void 0===i&&"string"==typeof t&&(i=t,t=void 0),"function"==typeof e||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if("number"==typeof e?e=r.from([e]):"string"==typeof e?e=r.from(e,i):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=r.from(e.buffer,e.byteOffset,e.byteLength):r.isBuffer(e)||(e=r.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),0===e.length)return t>this.length?this.length:t;let n=this._offset(t),a=n[0],o=n[1];for(;a<this._bufs.length;a++){let t=this._bufs[a];for(;o<t.length;)if(t.length-o>=e.length){let r=t.indexOf(e,o);if(-1!==r)return this._reverseOffset([a,r]);o=t.length-e.length+1}else{let t=this._reverseOffset([a,o]);if(this._match(t,e))return t;o++}o=0}return-1},n.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0},function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readBigInt64BE:8,readBigInt64LE:8,readBigUInt64BE:8,readBigUInt64LE:8,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)!function(t){n.prototype[t]=null===e[t]?function(e,r){return this.slice(e,e+r)[t](0,r)}:function(r=0){return this.slice(r,r+e[t])[t](0)}}(t)}(),n.prototype._isBufferList=function(e){return e instanceof n||n.isBufferList(e)},n.isBufferList=function(e){return null!=e&&e[i]},t.exports=n})),su=Js(((e,t)=>{el(),$c(),Rc();var r=nu().Duplex,i=au(),n=ou();function a(e){if(!(this instanceof a))return new a(e);if("function"==typeof e){this._callback=e;let t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on("pipe",(function(e){e.on("error",t)})),this.on("unpipe",(function(e){e.removeListener("error",t)})),e=null}n._init.call(this,e),r.call(this)}i(a,r),Object.assign(a.prototype,n.prototype),a.prototype._new=function(e){return new a(e)},a.prototype._write=function(e,t,r){this._appendBuffer(e),"function"==typeof r&&r()},a.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},a.prototype.end=function(e){r.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},a.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},a.prototype._isBufferList=function(e){return e instanceof a||e instanceof n||a.isBufferList(e)},a.isBufferList=n.isBufferList,t.exports=a,t.exports.BufferListStream=a,t.exports.BufferList=n})),lu=Js(((e,t)=>{el(),$c(),Rc();t.exports=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}}})),cu=Js(((e,t)=>{el(),$c(),Rc();var r=t.exports,{Buffer:i}=(Vc(),Zs(Mc));r.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},r.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},r.requiredHeaderFlagsErrors={};for(let a in r.requiredHeaderFlags){let e=r.requiredHeaderFlags[a];r.requiredHeaderFlagsErrors[a]="Invalid header flag bits, must be 0x"+e.toString(16)+" for "+r.types[a]+" packet"}r.codes={};for(let a in r.types){let e=r.types[a];r.codes[e]=a}r.CMD_SHIFT=4,r.CMD_MASK=240,r.DUP_MASK=8,r.QOS_MASK=3,r.QOS_SHIFT=1,r.RETAIN_MASK=1,r.VARBYTEINT_MASK=127,r.VARBYTEINT_FIN_MASK=128,r.VARBYTEINT_MAX=268435455,r.SESSIONPRESENT_MASK=1,r.SESSIONPRESENT_HEADER=i.from([r.SESSIONPRESENT_MASK]),r.CONNACK_HEADER=i.from([r.codes.connack<<r.CMD_SHIFT]),r.USERNAME_MASK=128,r.PASSWORD_MASK=64,r.WILL_RETAIN_MASK=32,r.WILL_QOS_MASK=24,r.WILL_QOS_SHIFT=3,r.WILL_FLAG_MASK=4,r.CLEAN_SESSION_MASK=2,r.CONNECT_HEADER=i.from([r.codes.connect<<r.CMD_SHIFT]),r.properties={sessionExpiryInterval:17,willDelayInterval:24,receiveMaximum:33,maximumPacketSize:39,topicAliasMaximum:34,requestResponseInformation:25,requestProblemInformation:23,userProperties:38,authenticationMethod:21,authenticationData:22,payloadFormatIndicator:1,messageExpiryInterval:2,contentType:3,responseTopic:8,correlationData:9,maximumQoS:36,retainAvailable:37,assignedClientIdentifier:18,reasonString:31,wildcardSubscriptionAvailable:40,subscriptionIdentifiersAvailable:41,sharedSubscriptionAvailable:42,serverKeepAlive:19,responseInformation:26,serverReference:28,topicAlias:35,subscriptionIdentifier:11},r.propertiesCodes={};for(let a in r.properties){let e=r.properties[a];r.propertiesCodes[e]=a}function n(e){return[0,1,2].map((t=>[0,1].map((n=>[0,1].map((a=>{let o=i.alloc(1);return o.writeUInt8(r.codes[e]<<r.CMD_SHIFT|(n?r.DUP_MASK:0)|t<<r.QOS_SHIFT|a,0,!0),o}))))))}r.propertiesTypes={sessionExpiryInterval:"int32",willDelayInterval:"int32",receiveMaximum:"int16",maximumPacketSize:"int32",topicAliasMaximum:"int16",requestResponseInformation:"byte",requestProblemInformation:"byte",userProperties:"pair",authenticationMethod:"string",authenticationData:"binary",payloadFormatIndicator:"byte",messageExpiryInterval:"int32",contentType:"string",responseTopic:"string",correlationData:"binary",maximumQoS:"int8",retainAvailable:"byte",assignedClientIdentifier:"string",reasonString:"string",wildcardSubscriptionAvailable:"byte",subscriptionIdentifiersAvailable:"byte",sharedSubscriptionAvailable:"byte",serverKeepAlive:"int16",responseInformation:"string",serverReference:"string",topicAlias:"int16",subscriptionIdentifier:"var"},r.PUBLISH_HEADER=n("publish"),r.SUBSCRIBE_HEADER=n("subscribe"),r.SUBSCRIBE_OPTIONS_QOS_MASK=3,r.SUBSCRIBE_OPTIONS_NL_MASK=1,r.SUBSCRIBE_OPTIONS_NL_SHIFT=2,r.SUBSCRIBE_OPTIONS_RAP_MASK=1,r.SUBSCRIBE_OPTIONS_RAP_SHIFT=3,r.SUBSCRIBE_OPTIONS_RH_MASK=3,r.SUBSCRIBE_OPTIONS_RH_SHIFT=4,r.SUBSCRIBE_OPTIONS_RH=[0,16,32],r.SUBSCRIBE_OPTIONS_NL=4,r.SUBSCRIBE_OPTIONS_RAP=8,r.SUBSCRIBE_OPTIONS_QOS=[0,1,2],r.UNSUBSCRIBE_HEADER=n("unsubscribe"),r.ACKS={unsuback:n("unsuback"),puback:n("puback"),pubcomp:n("pubcomp"),pubrel:n("pubrel"),pubrec:n("pubrec")},r.SUBACK_HEADER=i.from([r.codes.suback<<r.CMD_SHIFT]),r.VERSION3=i.from([3]),r.VERSION4=i.from([4]),r.VERSION5=i.from([5]),r.VERSION131=i.from([131]),r.VERSION132=i.from([132]),r.QOS=[0,1,2].map((e=>i.from([e]))),r.EMPTY={pingreq:i.from([r.codes.pingreq<<4,0]),pingresp:i.from([r.codes.pingresp<<4,0]),disconnect:i.from([r.codes.disconnect<<4,0])},r.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},r.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},r.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},r.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})),hu=Js(((e,t)=>{el(),$c(),Rc();var r=1e3,i=6e4,n=60*i,a=24*n,o=7*a,s=365.25*a;function l(e,t,r,i){var n=t>=1.5*r;return Math.round(e/r)+" "+i+(n?"s":"")}t.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var l=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*i;case"seconds":case"second":case"secs":case"sec":case"s":return l*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=a?l(e,t,a,"day"):t>=n?l(e,t,n,"hour"):t>=i?l(e,t,i,"minute"):t>=r?l(e,t,r,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+"d":t>=n?Math.round(e/n)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),du=Js(((e,t)=>{el(),$c(),Rc(),t.exports=function(e){function t(e){let i,n,a,o=null;function s(...e){if(!s.enabled)return;let r=s,n=Number(new Date),a=n-(i||n);r.diff=a,r.prev=i,r.curr=n,i=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,n)=>{if("%%"===i)return"%";o++;let a=t.formatters[n];if("function"==typeof a){let t=e[o];i=a.call(r,t),e.splice(o,1),o--}return i})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,r){let i=t(this.namespace+(typeof r>"u"?":":r)+e);return i.log=this.log,i}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];let r,i=("string"==typeof e?e:"").split(/[\s,]+/),n=i.length;for(r=0;r<n;r++)i[r]&&("-"===(e=i[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,i;for(r=0,i=t.skips.length;r<i;r++)if(t.skips[r].test(e))return!1;for(r=0,i=t.names.length;r<i;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=hu(),t.destroy=function(){},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}})),uu=Js(((e,t)=>{el(),$c(),Rc(),e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let i=0,n=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))})),e.splice(n,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch{}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch{}return!t&&typeof tl<"u"&&"env"in tl&&(t=tl.env.DEBUG),t},e.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch{}}(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0)}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=du()(e);var{formatters:r}=t.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}})),pu=Js(((e,t)=>{el(),$c(),Rc();var r=su(),{EventEmitter:i}=(kh(),Zs(bh)),n=lu(),a=cu(),o=uu()("mqtt-packet:parser");t.exports=class e extends i{constructor(){super(),this.parser=this.constructor.parser}static parser(t){return this instanceof e?(this.settings=t||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):(new e).parser(t)}_resetState(){o("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new n,this.error=null,this._list=r(),this._stateCounter=0}parse(e){for(this.error&&this._resetState(),this._list.append(e),o("parse: current state: %s",this._states[this._stateCounter]);(-1!==this.packet.length||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,o("parse: state complete. _stateCounter is now: %d",this._stateCounter),o("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return o("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let e=this._list.readUInt8(0),t=e>>a.CMD_SHIFT;this.packet.cmd=a.types[t];let r=15&e,i=a.requiredHeaderFlags[t];return null!=i&&r!==i?this._emitError(new Error(a.requiredHeaderFlagsErrors[t])):(this.packet.retain=0!=(e&a.RETAIN_MASK),this.packet.qos=e>>a.QOS_SHIFT&a.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=0!=(e&a.DUP_MASK),o("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let e=this._parseVarByteNum(!0);return e&&(this.packet.length=e.value,this._list.consume(e.bytes)),o("_parseLength %d",e.value),!!e}_parsePayload(){o("_parsePayload: payload %O",this._list);let e=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}e=!0}return o("_parsePayload complete result: %s",e),e}_parseConnect(){o("_parseConnect");let e,t,r,i,n={},s=this.packet,l=this._parseString();if(null===l)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==l&&"MQIsdp"!==l)return this._emitError(new Error("Invalid protocolId"));if(s.protocolId=l,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(s.protocolVersion=this._list.readUInt8(this._pos),s.protocolVersion>=128&&(s.bridgeMode=!0,s.protocolVersion=s.protocolVersion-128),3!==s.protocolVersion&&4!==s.protocolVersion&&5!==s.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(1&this._list.readUInt8(this._pos))return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));n.username=this._list.readUInt8(this._pos)&a.USERNAME_MASK,n.password=this._list.readUInt8(this._pos)&a.PASSWORD_MASK,n.will=this._list.readUInt8(this._pos)&a.WILL_FLAG_MASK;let c=!!(this._list.readUInt8(this._pos)&a.WILL_RETAIN_MASK),h=(this._list.readUInt8(this._pos)&a.WILL_QOS_MASK)>>a.WILL_QOS_SHIFT;if(n.will)s.will={},s.will.retain=c,s.will.qos=h;else{if(c)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(h)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(s.clean=0!=(this._list.readUInt8(this._pos)&a.CLEAN_SESSION_MASK),this._pos++,s.keepalive=this._parseNum(),-1===s.keepalive)return this._emitError(new Error("Packet too short"));if(5===s.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.properties=e)}let d=this._parseString();if(null===d)return this._emitError(new Error("Packet too short"));if(s.clientId=d,o("_parseConnect: packet.clientId: %s",s.clientId),n.will){if(5===s.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.will.properties=e)}if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse will topic"));if(s.will.topic=e,o("_parseConnect: packet.will.topic: %s",s.will.topic),t=this._parseBuffer(),null===t)return this._emitError(new Error("Cannot parse will payload"));s.will.payload=t,o("_parseConnect: packet.will.paylaod: %s",s.will.payload)}if(n.username){if(i=this._parseString(),null===i)return this._emitError(new Error("Cannot parse username"));s.username=i,o("_parseConnect: packet.username: %s",s.username)}if(n.password){if(r=this._parseBuffer(),null===r)return this._emitError(new Error("Cannot parse password"));s.password=r}return this.settings=s,o("_parseConnect: complete"),s}_parseConnack(){o("_parseConnack");let e=this.packet;if(this._list.length<1)return null;let t=this._list.readUInt8(this._pos++);if(t>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(e.sessionPresent=!!(t&a.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?e.reasonCode=this._list.readUInt8(this._pos++):e.reasonCode=0;else{if(this._list.length<2)return null;e.returnCode=this._list.readUInt8(this._pos++)}if(-1===e.returnCode||-1===e.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}o("_parseConnack: complete")}_parsePublish(){o("_parsePublish");let e=this.packet;if(e.topic=this._parseString(),null===e.topic)return this._emitError(new Error("Cannot parse topic"));if(!(e.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}e.payload=this._list.slice(this._pos,e.length),o("_parsePublish: payload from buffer list: %o",e.payload)}}_parseSubscribe(){o("_parseSubscribe");let e,t,r,i,n,s,l,c=this.packet;if(c.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(c.properties=e)}if(c.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos<c.length;){if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse topic"));if(this._pos>=c.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(t=this._parseByte(),5===this.settings.protocolVersion){if(192&t)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(252&t)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(r=t&a.SUBSCRIBE_OPTIONS_QOS_MASK,r>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(s=0!=(t>>a.SUBSCRIBE_OPTIONS_NL_SHIFT&a.SUBSCRIBE_OPTIONS_NL_MASK),n=0!=(t>>a.SUBSCRIBE_OPTIONS_RAP_SHIFT&a.SUBSCRIBE_OPTIONS_RAP_MASK),i=t>>a.SUBSCRIBE_OPTIONS_RH_SHIFT&a.SUBSCRIBE_OPTIONS_RH_MASK,i>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));l={topic:e,qos:r},5===this.settings.protocolVersion?(l.nl=s,l.rap=n,l.rh=i):this.settings.bridgeMode&&(l.rh=0,l.rap=!0,l.nl=!0),o("_parseSubscribe: push subscription `%s` to subscription",l),c.subscriptions.push(l)}}}_parseSuback(){o("_parseSuback");let e=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}if(e.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos<this.packet.length;){let e=this._list.readUInt8(this._pos++);if(5===this.settings.protocolVersion){if(!a.MQTT5_SUBACK_CODES[e])return this._emitError(new Error("Invalid suback code"))}else if(e>2&&128!==e)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(e)}}}_parseUnsubscribe(){o("_parseUnsubscribe");let e=this.packet;if(e.unsubscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}if(e.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos<e.length;){let t=this._parseString();if(null===t)return this._emitError(new Error("Cannot parse topic"));o("_parseUnsubscribe: push topic `%s` to unsubscriptions",t),e.unsubscriptions.push(t)}}}_parseUnsuback(){o("_parseUnsuback");let e=this.packet;if(!this._parseMessageId())return this._emitError(new Error("Cannot parse messageId"));if((3===this.settings.protocolVersion||4===this.settings.protocolVersion)&&2!==e.length)return this._emitError(new Error("Malformed unsuback, payload length must be 2"));if(e.length<=0)return this._emitError(new Error("Malformed unsuback, no payload specified"));if(5===this.settings.protocolVersion){let t=this._parseProperties();for(Object.getOwnPropertyNames(t).length&&(e.properties=t),e.granted=[];this._pos<this.packet.length;){let e=this._list.readUInt8(this._pos++);if(!a.MQTT5_UNSUBACK_CODES[e])return this._emitError(new Error("Invalid unsuback code"));this.packet.granted.push(e)}}}_parseConfirmation(){o("_parseConfirmation: packet.cmd: `%s`",this.packet.cmd);let e=this.packet;if(this._parseMessageId(),5===this.settings.protocolVersion){if(e.length>2){switch(e.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!a.MQTT5_PUBACK_PUBREC_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!a.MQTT5_PUBREL_PUBCOMP_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"))}o("_parseConfirmation: packet.reasonCode `%d`",e.reasonCode)}else e.reasonCode=0;if(e.length>3){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}}return!0}_parseDisconnect(){let e=this.packet;if(o("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?(e.reasonCode=this._parseByte(),a.MQTT5_DISCONNECT_CODES[e.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):e.reasonCode=0;let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return o("_parseDisconnect result: true"),!0}_parseAuth(){o("_parseAuth");let e=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(e.reasonCode=this._parseByte(),!a.MQTT5_AUTH_CODES[e.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let t=this._parseProperties();return Object.getOwnPropertyNames(t).length&&(e.properties=t),o("_parseAuth: result: true"),!0}_parseMessageId(){let e=this.packet;return e.messageId=this._parseNum(),null===e.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(o("_parseMessageId: packet.messageId %d",e.messageId),!0)}_parseString(e){let t=this._parseNum(),r=t+this._pos;if(-1===t||r>this._list.length||r>this.packet.length)return null;let i=this._list.toString("utf8",this._pos,r);return this._pos+=t,o("_parseString: result: %s",i),i}_parseStringPair(){return o("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let e=this._parseNum(),t=e+this._pos;if(-1===e||t>this._list.length||t>this.packet.length)return null;let r=this._list.slice(this._pos,t);return this._pos+=e,o("_parseBuffer: result: %o",r),r}_parseNum(){if(this._list.length-this._pos<2)return-1;let e=this._list.readUInt16BE(this._pos);return this._pos+=2,o("_parseNum: result: %s",e),e}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let e=this._list.readUInt32BE(this._pos);return this._pos+=4,o("_parse4ByteNum: result: %s",e),e}_parseVarByteNum(e){o("_parseVarByteNum");let t,r=0,i=1,n=0,s=!1,l=this._pos?this._pos:0;for(;r<4&&l+r<this._list.length;){if(t=this._list.readUInt8(l+r++),n+=i*(t&a.VARBYTEINT_MASK),i*=128,!(t&a.VARBYTEINT_FIN_MASK)){s=!0;break}if(this._list.length<=r)break}return!s&&4===r&&this._list.length>=r&&this._emitError(new Error("Invalid variable byte integer")),l&&(this._pos+=r),s=!!s&&(e?{bytes:r,value:n}:n),o("_parseVarByteNum: result: %o",s),s}_parseByte(){let e;return this._pos<this._list.length&&(e=this._list.readUInt8(this._pos),this._pos++),o("_parseByte: result: %o",e),e}_parseByType(e){switch(o("_parseByType: type: %s",e),e){case"byte":return 0!==this._parseByte();case"int8":return this._parseByte();case"int16":return this._parseNum();case"int32":return this._parse4ByteNum();case"var":return this._parseVarByteNum();case"string":return this._parseString();case"pair":return this._parseStringPair();case"binary":return this._parseBuffer()}}_parseProperties(){o("_parseProperties");let e=this._parseVarByteNum(),t=this._pos+e,r={};for(;this._pos<t;){let e=this._parseByte();if(!e)return this._emitError(new Error("Cannot parse property code type")),!1;let t=a.propertiesCodes[e];if(!t)return this._emitError(new Error("Unknown property")),!1;if("userProperties"!==t)r[t]?(Array.isArray(r[t])||(r[t]=[r[t]]),r[t].push(this._parseByType(a.propertiesTypes[t]))):r[t]=this._parseByType(a.propertiesTypes[t]);else{r[t]||(r[t]=Object.create(null));let e=this._parseByType(a.propertiesTypes[t]);if(r[t][e.name])if(Array.isArray(r[t][e.name]))r[t][e.name].push(e.value);else{let i=r[t][e.name];r[t][e.name]=[i],r[t][e.name].push(e.value)}else r[t][e.name]=e.value}}return r}_newPacket(){return o("_newPacket"),this.packet&&(this._list.consume(this.packet.length),o("_newPacket: parser emit packet: packet.cmd: %s, packet.payload: %s, packet.length: %d",this.packet.cmd,this.packet.payload,this.packet.length),this.emit("packet",this.packet)),o("_newPacket: new packet"),this.packet=new n,this._pos=0,!0}_emitError(e){o("_emitError",e),this.error=e,this.emit("error",e)}}})),fu=Js(((e,t)=>{el(),$c(),Rc();var{Buffer:r}=(Vc(),Zs(Mc)),i={},n=r.isBuffer(r.from([1,2]).subarray(0,1));function a(e){let t=r.allocUnsafe(2);return t.writeUInt8(e>>8,0),t.writeUInt8(255&e,1),t}t.exports={cache:i,generateCache:function(){for(let e=0;e<65536;e++)i[e]=a(e)},generateNumber:a,genBufVariableByteInt:function(e){let t=0,i=0,a=r.allocUnsafe(4);do{t=e%128|0,(e=e/128|0)>0&&(t|=128),a.writeUInt8(t,i++)}while(e>0&&i<4);return e>0&&(i=0),n?a.subarray(0,i):a.slice(0,i)},generate4ByteBuffer:function(e){let t=r.allocUnsafe(4);return t.writeUInt32BE(e,0),t}}})),gu=Js(((e,t)=>{el(),$c(),Rc(),typeof tl>"u"||!tl.version||0===tl.version.indexOf("v0.")||0===tl.version.indexOf("v1.")&&0!==tl.version.indexOf("v1.8.")?t.exports={nextTick:function(e,t,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var n,a,o=arguments.length;switch(o){case 0:case 1:return tl.nextTick(e);case 2:return tl.nextTick((function(){e.call(null,t)}));case 3:return tl.nextTick((function(){e.call(null,t,r)}));case 4:return tl.nextTick((function(){e.call(null,t,r,i)}));default:for(n=new Array(o-1),a=0;a<n.length;)n[a++]=arguments[a];return tl.nextTick((function(){e.apply(null,n)}))}}}:t.exports=tl})),mu=Js(((e,t)=>{el(),$c(),Rc();var r=cu(),{Buffer:i}=(Vc(),Zs(Mc)),n=i.allocUnsafe(0),a=i.from([0]),o=fu(),s=gu().nextTick,l=uu()("mqtt-packet:writeToStream"),c=o.cache,h=o.generateNumber,d=o.generateCache,u=o.genBufVariableByteInt,p=o.generate4ByteBuffer,f=x,g=!0;function m(e,t,o){switch(l("generate called"),t.cork&&(t.cork(),s(v,t)),g&&(g=!1,d()),l("generate: packet.cmd: %s",e.cmd),e.cmd){case"connect":return function(e,t,n){let a=e||{},o=a.protocolId||"MQTT",s=a.protocolVersion||4,l=a.will,c=a.clean,h=a.keepalive||0,d=a.clientId||"",u=a.username,p=a.password,g=a.properties;void 0===c&&(c=!0);let m,v,y=0;if(!o||"string"!=typeof o&&!i.isBuffer(o))return t.destroy(new Error("Invalid protocolId")),!1;if(y+=o.length+2,3!==s&&4!==s&&5!==s)return t.destroy(new Error("Invalid protocol version")),!1;if(y+=1,("string"==typeof d||i.isBuffer(d))&&(d||s>=4)&&(d||c))y+=i.byteLength(d)+2;else{if(s<4)return t.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(1*c==0)return t.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if("number"!=typeof h||h<0||h>65535||h%1!=0)return t.destroy(new Error("Invalid keepalive")),!1;if(y+=2,y+=1,5===s){if(m=T(t,g),!m)return!1;y+=m.length}if(l){if("object"!=typeof l)return t.destroy(new Error("Invalid will")),!1;if(!l.topic||"string"!=typeof l.topic)return t.destroy(new Error("Invalid will topic")),!1;if(y+=i.byteLength(l.topic)+2,y+=2,l.payload){if(!(l.payload.length>=0))return t.destroy(new Error("Invalid will payload")),!1;"string"==typeof l.payload?y+=i.byteLength(l.payload):y+=l.payload.length}if(v={},5===s){if(v=T(t,l.properties),!v)return!1;y+=v.length}}let _=!1;if(null!=u){if(!I(u))return t.destroy(new Error("Invalid username")),!1;_=!0,y+=i.byteLength(u)+2}if(null!=p){if(!_)return t.destroy(new Error("Username is required to use password")),!1;if(!I(p))return t.destroy(new Error("Invalid password")),!1;y+=B(p)+2}t.write(r.CONNECT_HEADER),b(t,y),S(t,o),a.bridgeMode&&(s+=128),t.write(131===s?r.VERSION131:132===s?r.VERSION132:4===s?r.VERSION4:5===s?r.VERSION5:r.VERSION3);let x=0;return x|=null!=u?r.USERNAME_MASK:0,x|=null!=p?r.PASSWORD_MASK:0,x|=l&&l.retain?r.WILL_RETAIN_MASK:0,x|=l&&l.qos?l.qos<<r.WILL_QOS_SHIFT:0,x|=l?r.WILL_FLAG_MASK:0,x|=c?r.CLEAN_SESSION_MASK:0,t.write(i.from([x])),f(t,h),5===s&&m.write(),S(t,d),l&&(5===s&&v.write(),w(t,l.topic),S(t,l.payload)),null!=u&&S(t,u),null!=p&&S(t,p),!0}(e,t);case"connack":return function(e,t,n){let o=n?n.protocolVersion:4,s=e||{},l=5===o?s.reasonCode:s.returnCode,c=s.properties,h=2;if("number"!=typeof l)return t.destroy(new Error("Invalid return code")),!1;let d=null;if(5===o){if(d=T(t,c),!d)return!1;h+=d.length}return t.write(r.CONNACK_HEADER),b(t,h),t.write(s.sessionPresent?r.SESSIONPRESENT_HEADER:a),t.write(i.from([l])),null==d||d.write(),!0}(e,t,o);case"publish":return function(e,t,a){l("publish: packet: %o",e);let o=a?a.protocolVersion:4,s=e||{},c=s.qos||0,h=s.retain?r.RETAIN_MASK:0,d=s.topic,u=s.payload||n,p=s.messageId,g=s.properties,m=0;if("string"==typeof d)m+=i.byteLength(d)+2;else{if(!i.isBuffer(d))return t.destroy(new Error("Invalid topic")),!1;m+=d.length+2}if(i.isBuffer(u)?m+=u.length:m+=i.byteLength(u),c&&"number"!=typeof p)return t.destroy(new Error("Invalid messageId")),!1;c&&(m+=2);let v=null;if(5===o){if(v=T(t,g),!v)return!1;m+=v.length}return t.write(r.PUBLISH_HEADER[c][s.dup?1:0][h?1:0]),b(t,m),f(t,B(d)),t.write(d),c>0&&f(t,p),null==v||v.write(),l("publish: payload: %o",u),t.write(u)}(e,t,o);case"puback":case"pubrec":case"pubrel":case"pubcomp":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.cmd||"puback",l=o.messageId,c=o.dup&&"pubrel"===s?r.DUP_MASK:0,h=0,d=o.reasonCode,u=o.properties,p=5===a?3:2;if("pubrel"===s&&(h=1),"number"!=typeof l)return t.destroy(new Error("Invalid messageId")),!1;let g=null;if(5===a&&"object"==typeof u){if(g=k(t,u,n,p),!g)return!1;p+=g.length}return t.write(r.ACKS[s][h][c][0]),3===p&&(p+=0!==d?1:-1),b(t,p),f(t,l),5===a&&2!==p&&t.write(i.from([d])),null!==g?g.write():4===p&&t.write(i.from([0])),!0}(e,t,o);case"subscribe":return function(e,t,n){l("subscribe: packet: ");let a=n?n.protocolVersion:4,o=e||{},s=o.dup?r.DUP_MASK:0,c=o.messageId,h=o.subscriptions,d=o.properties,u=0;if("number"!=typeof c)return t.destroy(new Error("Invalid messageId")),!1;u+=2;let p=null;if(5===a){if(p=T(t,d),!p)return!1;u+=p.length}if("object"!=typeof h||!h.length)return t.destroy(new Error("Invalid subscriptions")),!1;for(let r=0;r<h.length;r+=1){let e=h[r].topic,n=h[r].qos;if("string"!=typeof e)return t.destroy(new Error("Invalid subscriptions - invalid topic")),!1;if("number"!=typeof n)return t.destroy(new Error("Invalid subscriptions - invalid qos")),!1;if(5===a){if("boolean"!=typeof(h[r].nl||!1))return t.destroy(new Error("Invalid subscriptions - invalid No Local")),!1;if("boolean"!=typeof(h[r].rap||!1))return t.destroy(new Error("Invalid subscriptions - invalid Retain as Published")),!1;let e=h[r].rh||0;if("number"!=typeof e||e>2)return t.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}u+=i.byteLength(e)+2+1}l("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),t.write(r.SUBSCRIBE_HEADER[1][s?1:0][0]),b(t,u),f(t,c),null!==p&&p.write();let g=!0;for(let l of h){let e,n=l.topic,o=l.qos,s=+l.nl,c=+l.rap,h=l.rh;w(t,n),e=r.SUBSCRIBE_OPTIONS_QOS[o],5===a&&(e|=s?r.SUBSCRIBE_OPTIONS_NL:0,e|=c?r.SUBSCRIBE_OPTIONS_RAP:0,e|=h?r.SUBSCRIBE_OPTIONS_RH[h]:0),g=t.write(i.from([e]))}return g}(e,t,o);case"suback":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.messageId,l=o.granted,c=o.properties,h=0;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(h+=2,"object"!=typeof l||!l.length)return t.destroy(new Error("Invalid qos vector")),!1;for(let r=0;r<l.length;r+=1){if("number"!=typeof l[r])return t.destroy(new Error("Invalid qos vector")),!1;h+=1}let d=null;if(5===a){if(d=k(t,c,n,h),!d)return!1;h+=d.length}return t.write(r.SUBACK_HEADER),b(t,h),f(t,s),null!==d&&d.write(),t.write(i.from(l))}(e,t,o);case"unsubscribe":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.messageId,l=o.dup?r.DUP_MASK:0,c=o.unsubscriptions,h=o.properties,d=0;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(d+=2,"object"!=typeof c||!c.length)return t.destroy(new Error("Invalid unsubscriptions")),!1;for(let r=0;r<c.length;r+=1){if("string"!=typeof c[r])return t.destroy(new Error("Invalid unsubscriptions")),!1;d+=i.byteLength(c[r])+2}let u=null;if(5===a){if(u=T(t,h),!u)return!1;d+=u.length}t.write(r.UNSUBSCRIBE_HEADER[1][l?1:0][0]),b(t,d),f(t,s),null!==u&&u.write();let p=!0;for(let r=0;r<c.length;r++)p=w(t,c[r]);return p}(e,t,o);case"unsuback":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.messageId,l=o.dup?r.DUP_MASK:0,c=o.granted,h=o.properties,d=o.cmd,u=0,p=2;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(5===a){if("object"!=typeof c||!c.length)return t.destroy(new Error("Invalid qos vector")),!1;for(let e=0;e<c.length;e+=1){if("number"!=typeof c[e])return t.destroy(new Error("Invalid qos vector")),!1;p+=1}}let g=null;if(5===a){if(g=k(t,h,n,p),!g)return!1;p+=g.length}return t.write(r.ACKS[d][u][l][0]),b(t,p),f(t,s),null!==g&&g.write(),5===a&&t.write(i.from(c)),!0}(e,t,o);case"pingreq":case"pingresp":return function(e,t,i){return t.write(r.EMPTY[e.cmd])}(e,t);case"disconnect":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.reasonCode,l=o.properties,c=5===a?1:0,h=null;if(5===a){if(h=k(t,l,n,c),!h)return!1;c+=h.length}return t.write(i.from([r.codes.disconnect<<4])),b(t,c),5===a&&t.write(i.from([s])),null!==h&&h.write(),!0}(e,t,o);case"auth":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.reasonCode,l=o.properties,c=5===a?1:0;5!==a&&t.destroy(new Error("Invalid mqtt version for auth packet"));let h=k(t,l,n,c);return!!h&&(c+=h.length,t.write(i.from([r.codes.auth<<4])),b(t,c),t.write(i.from([s])),null!==h&&h.write(),!0)}(e,t,o);default:return t.destroy(new Error("Unknown command")),!1}}function v(e){e.uncork()}Object.defineProperty(m,"cacheNumbers",{get:()=>f===x,set(e){e?((!c||0===Object.keys(c).length)&&(g=!0),f=x):(g=!1,f=E)}});var y={};function b(e,t){if(t>r.VARBYTEINT_MAX)return e.destroy(new Error(`Invalid variable byte integer: ${t}`)),!1;let i=y[t];return i||(i=u(t),t<16384&&(y[t]=i)),l("writeVarByteInt: writing to stream: %o",i),e.write(i)}function w(e,t){let r=i.byteLength(t);return f(e,r),l("writeString: %s",t),e.write(t,"utf8")}function _(e,t,r){w(e,t),w(e,r)}function x(e,t){return l("writeNumberCached: number: %d",t),l("writeNumberCached: %o",c[t]),e.write(c[t])}function E(e,t){let r=h(t);return l("writeNumberGenerated: %o",r),e.write(r)}function S(e,t){"string"==typeof t?w(e,t):t?(f(e,t.length),e.write(t)):f(e,0)}function T(e,t){if("object"!=typeof t||null!=t.length)return{length:1,write(){C(e,{},0)}};let n=0;function a(t,n){let a=0;switch(r.propertiesTypes[t]){case"byte":if("boolean"!=typeof n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=2;break;case"int8":if("number"!=typeof n||n<0||n>255)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=2;break;case"binary":if(n&&null===n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=1+i.byteLength(n)+2;break;case"int16":if("number"!=typeof n||n<0||n>65535)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=3;break;case"int32":if("number"!=typeof n||n<0||n>4294967295)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=5;break;case"var":if("number"!=typeof n||n<0||n>268435455)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=1+i.byteLength(u(n));break;case"string":if("string"!=typeof n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=3+i.byteLength(n.toString());break;case"pair":if("object"!=typeof n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=Object.getOwnPropertyNames(n).reduce(((e,t)=>{let r=n[t];return Array.isArray(r)?e+=r.reduce(((e,r)=>e+=3+i.byteLength(t.toString())+2+i.byteLength(r.toString())),0):e+=3+i.byteLength(t.toString())+2+i.byteLength(n[t].toString()),e}),0);break;default:return e.destroy(new Error(`Invalid property ${t}: ${n}`)),!1}return a}if(t)for(let r in t){let e=0,i=0,o=t[r];if(Array.isArray(o))for(let t=0;t<o.length;t++){if(i=a(r,o[t]),!i)return!1;e+=i}else{if(i=a(r,o),!i)return!1;e=i}if(!e)return!1;n+=e}return{length:i.byteLength(u(n))+n,write(){C(e,t,n)}}}function k(e,t,r,i){let n=["reasonString","userProperties"],a=r&&r.properties&&r.properties.maximumPacketSize?r.properties.maximumPacketSize:0,o=T(e,t);if(a)for(;i+o.length>a;){let r=n.shift();if(!r||!t[r])return!1;delete t[r],o=T(e,t)}return o}function A(e,t,n){switch(r.propertiesTypes[t]){case"byte":e.write(i.from([r.properties[t]])),e.write(i.from([+n]));break;case"int8":e.write(i.from([r.properties[t]])),e.write(i.from([n]));break;case"binary":e.write(i.from([r.properties[t]])),S(e,n);break;case"int16":e.write(i.from([r.properties[t]])),f(e,n);break;case"int32":e.write(i.from([r.properties[t]])),function(e,t){let r=p(t);l("write4ByteNumber: %o",r),e.write(r)}(e,n);break;case"var":e.write(i.from([r.properties[t]])),b(e,n);break;case"string":e.write(i.from([r.properties[t]])),w(e,n);break;case"pair":Object.getOwnPropertyNames(n).forEach((a=>{let o=n[a];Array.isArray(o)?o.forEach((n=>{e.write(i.from([r.properties[t]])),_(e,a.toString(),n.toString())})):(e.write(i.from([r.properties[t]])),_(e,a.toString(),o.toString()))}));break;default:return e.destroy(new Error(`Invalid property ${t} value: ${n}`)),!1}}function C(e,t,r){b(e,r);for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&null!==t[i]){let r=t[i];if(Array.isArray(r))for(let t=0;t<r.length;t++)A(e,i,r[t]);else A(e,i,r)}}function B(e){return e?e instanceof i?e.length:i.byteLength(e):0}function I(e){return"string"==typeof e||e instanceof i}t.exports=m})),vu=Js(((e,t)=>{el(),$c(),Rc();var r=mu(),{EventEmitter:i}=(kh(),Zs(bh)),{Buffer:n}=(Vc(),Zs(Mc));var a=class extends i{constructor(){super(),this._array=new Array(20),this._i=0}write(e){return this._array[this._i++]=e,!0}concat(){let e,t=0,r=new Array(this._array.length),i=this._array,a=0;for(e=0;e<i.length&&void 0!==i[e];e++)"string"!=typeof i[e]?r[e]=i[e].length:r[e]=n.byteLength(i[e]),t+=r[e];let o=n.allocUnsafe(t);for(e=0;e<i.length&&void 0!==i[e];e++)"string"!=typeof i[e]?(i[e].copy(o,a),a+=r[e]):(o.write(i[e],a),a+=r[e]);return o}destroy(e){e&&this.emit("error",e)}};t.exports=function(e,t){let i=new a;return r(e,i,t),i.concat()}})),yu=Js((e=>{el(),$c(),Rc(),e.parser=pu().parser,e.generate=vu(),e.writeToStream=mu()})),bu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});e.default=class{constructor(){this.nextId=Math.max(1,Math.floor(65535*Math.random()))}allocate(){let e=this.nextId++;return 65536===this.nextId&&(this.nextId=1),e}getLastAllocated(){return 1===this.nextId?65535:this.nextId-1}register(e){return!0}deallocate(e){}clear(){}}})),wu=Js(((e,t)=>{function r(e){return e instanceof Hc?Hc.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}el(),$c(),Rc(),t.exports=function(e){return(e=e||{}).circles?function(e){var t=[],i=[];return e.proto?function e(a){if("object"!=typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return n(a,e);if(a instanceof Map)return new Map(n(Array.from(a),e));if(a instanceof Set)return new Set(n(Array.from(a),e));var o={};for(var s in t.push(a),i.push(o),a){var l=a[s];if("object"!=typeof l||null===l)o[s]=l;else if(l instanceof Date)o[s]=new Date(l);else if(l instanceof Map)o[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)o[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))o[s]=r(l);else{var c=t.indexOf(l);o[s]=-1!==c?i[c]:e(l)}}return t.pop(),i.pop(),o}:function e(a){if("object"!=typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return n(a,e);if(a instanceof Map)return new Map(n(Array.from(a),e));if(a instanceof Set)return new Set(n(Array.from(a),e));var o={};for(var s in t.push(a),i.push(o),a)if(!1!==Object.hasOwnProperty.call(a,s)){var l=a[s];if("object"!=typeof l||null===l)o[s]=l;else if(l instanceof Date)o[s]=new Date(l);else if(l instanceof Map)o[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)o[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))o[s]=r(l);else{var c=t.indexOf(l);o[s]=-1!==c?i[c]:e(l)}}return t.pop(),i.pop(),o};function n(e,n){for(var a=Object.keys(e),o=new Array(a.length),s=0;s<a.length;s++){var l=a[s],c=e[l];if("object"!=typeof c||null===c)o[l]=c;else if(c instanceof Date)o[l]=new Date(c);else if(ArrayBuffer.isView(c))o[l]=r(c);else{var h=t.indexOf(c);o[l]=-1!==h?i[h]:n(c)}}return o}}(e):e.proto?function e(i){if("object"!=typeof i||null===i)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,e);if(i instanceof Map)return new Map(t(Array.from(i),e));if(i instanceof Set)return new Set(t(Array.from(i),e));var n={};for(var a in i){var o=i[a];"object"!=typeof o||null===o?n[a]=o:o instanceof Date?n[a]=new Date(o):o instanceof Map?n[a]=new Map(t(Array.from(o),e)):o instanceof Set?n[a]=new Set(t(Array.from(o),e)):ArrayBuffer.isView(o)?n[a]=r(o):n[a]=e(o)}return n}:function e(i){if("object"!=typeof i||null===i)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,e);if(i instanceof Map)return new Map(t(Array.from(i),e));if(i instanceof Set)return new Set(t(Array.from(i),e));var n={};for(var a in i)if(!1!==Object.hasOwnProperty.call(i,a)){var o=i[a];"object"!=typeof o||null===o?n[a]=o:o instanceof Date?n[a]=new Date(o):o instanceof Map?n[a]=new Map(t(Array.from(o),e)):o instanceof Set?n[a]=new Set(t(Array.from(o),e)):ArrayBuffer.isView(o)?n[a]=r(o):n[a]=e(o)}return n};function t(e,t){for(var i=Object.keys(e),n=new Array(i.length),a=0;a<i.length;a++){var o=i[a],s=e[o];"object"!=typeof s||null===s?n[o]=s:s instanceof Date?n[o]=new Date(s):ArrayBuffer.isView(s)?n[o]=r(s):n[o]=t(s)}return n}}})),_u=Js(((e,t)=>{el(),$c(),Rc(),t.exports=wu()()})),xu=Js((e=>{function t(e){let t=e.split("/");for(let r=0;r<t.length;r++)if("+"!==t[r]){if("#"===t[r])return r===t.length-1;if(-1!==t[r].indexOf("+")||-1!==t[r].indexOf("#"))return!1}return!0}el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.validateTopics=e.validateTopic=void 0,e.validateTopic=t,e.validateTopics=function(e){if(0===e.length)return"empty_topic_list";for(let r=0;r<e.length;r++)if(!t(e[r]))return e[r];return null}})),Eu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=nu(),r={objectMode:!0},i={clean:!0};e.default=class{constructor(e){this.options=e||{},this.options=Object.assign(Object.assign({},i),e),this._inflights=new Map}put(e,t){return this._inflights.set(e.messageId,e),t&&t(),this}createStream(){let e=new t.Readable(r),i=[],n=!1,a=0;return this._inflights.forEach(((e,t)=>{i.push(e)})),e._read=()=>{!n&&a<i.length?e.push(i[a++]):e.push(null)},e.destroy=t=>{if(!n)return n=!0,setTimeout((()=>{e.emit("close")}),0),e},e}del(e,t){let r=this._inflights.get(e.messageId);return r?(this._inflights.delete(e.messageId),t(null,r)):t&&t(new Error("missing packet")),this}get(e,t){let r=this._inflights.get(e.messageId);return r?t(null,r):t&&t(new Error("missing packet")),this}close(e){this.options.clean&&(this._inflights=null),e&&e()}}})),Su=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153];e.default=(e,r,i)=>{e.log("handlePublish: packet %o",r),i=typeof i<"u"?i:e.noop;let n=r.topic.toString(),a=r.payload,{qos:o}=r,{messageId:s}=r,{options:l}=e;if(5===e.options.protocolVersion){let t;if(r.properties&&(t=r.properties.topicAlias),typeof t<"u")if(0===n.length){if(!(t>0&&t<=65535))return e.log("handlePublish :: topic alias out of range. alias: %d",t),void e.emit("error",new Error("Received Topic Alias is out of range"));{let r=e.topicAliasRecv.getTopicByAlias(t);if(!r)return e.log("handlePublish :: unregistered topic alias. alias: %d",t),void e.emit("error",new Error("Received unregistered Topic Alias"));n=r,e.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",n,t)}}else{if(!e.topicAliasRecv.put(n,t))return e.log("handlePublish :: topic alias out of range. alias: %d",t),void e.emit("error",new Error("Received Topic Alias is out of range"));e.log("handlePublish :: registered topic: %s - alias: %d",n,t)}}switch(e.log("handlePublish: qos %d",o),o){case 2:l.customHandleAcks(n,a,r,((n,a)=>("number"==typeof n&&(a=n,n=null),n?e.emit("error",n):-1===t.indexOf(a)?e.emit("error",new Error("Wrong reason code for pubrec")):void(a?e._sendPacket({cmd:"pubrec",messageId:s,reasonCode:a},i):e.incomingStore.put(r,(()=>{e._sendPacket({cmd:"pubrec",messageId:s},i)}))))));break;case 1:l.customHandleAcks(n,a,r,((o,l)=>("number"==typeof o&&(l=o,o=null),o?e.emit("error",o):-1===t.indexOf(l)?e.emit("error",new Error("Wrong reason code for puback")):(l||e.emit("message",n,a,r),void e.handleMessage(r,(t=>{if(t)return i&&i(t);e._sendPacket({cmd:"puback",messageId:s,reasonCode:l},i)}))))));break;case 0:e.emit("message",n,a,r),e.handleMessage(r,i);break;default:e.log("handlePublish: unknown QoS. Doing nothing.")}}})),Tu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class e extends Error{constructor(t,r){super(t),this.code=r,Object.setPrototypeOf(this,e.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t,e.applyMixin=function(e,t,r=!1){var i;let n=[t];for(;;){let e=n[0],t=Object.getPrototypeOf(e);if(!(null==t?void 0:t.prototype))break;n.unshift(t)}for(let a of n)for(let t of Object.getOwnPropertyNames(a.prototype))(r||"constructor"!==t)&&Object.defineProperty(e.prototype,t,null!==(i=Object.getOwnPropertyDescriptor(a.prototype,t))&&void 0!==i?i:Object.create(null))},e.nextTick=tl?tl.nextTick:e=>{setTimeout(e,0)}})),ku=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0,e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};e.default=(t,r)=>{let i,{messageId:n}=r,a=r.cmd,o=null,s=t.outgoing[n]?t.outgoing[n].cb:null;if(s){switch(t.log("_handleAck :: packet type",a),a){case"pubcomp":case"puback":{let a=r.reasonCode;a&&a>0&&16!==a?(i=new Error(`Publish error: ${e.ReasonCodes[a]}`),i.code=a,t._removeOutgoingAndStoreMessage(n,(()=>{s(i,r)}))):t._removeOutgoingAndStoreMessage(n,s);break}case"pubrec":{o={cmd:"pubrel",qos:2,messageId:n};let a=r.reasonCode;a&&a>0&&16!==a?(i=new Error(`Publish error: ${e.ReasonCodes[a]}`),i.code=a,t._removeOutgoingAndStoreMessage(n,(()=>{s(i,r)}))):t._sendPacket(o);break}case"suback":{delete t.outgoing[n],t.messageIdProvider.deallocate(n);let e=r.granted;for(let r=0;r<e.length;r++)if(128&e[r]){let e=t.messageIdToTopic[n];e&&e.forEach((e=>{delete t._resubscribeTopics[e]}))}delete t.messageIdToTopic[n],t._invokeStoreProcessingQueue(),s(null,r);break}case"unsuback":delete t.outgoing[n],t.messageIdProvider.deallocate(n),t._invokeStoreProcessingQueue(),s(null);break;default:t.emit("error",new Error("unrecognized packet type"))}t.disconnecting&&0===Object.keys(t.outgoing).length&&t.emit("outgoingEmpty")}else t.log("_handleAck :: Server sent an ack in error. Ignoring.")}})),Au=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=Tu(),r=ku();e.default=(e,i)=>{let{options:n}=e,a=n.protocolVersion,o=5===a?i.reasonCode:i.returnCode;if(5===a)e.handleAuth(i,((i,n)=>{if(i)e.emit("error",i);else if(24===o)e.reconnecting=!1,e._sendPacket(n);else{let i=new t.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[o]}`,o);e.emit("error",i)}}));else{let r=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${a}`,o);e.emit("error",r)}}})),Cu=Js((e=>{var t,i,c,h,d,u,p,f,g,m,v,y,b,w,_,x,E,S,T,k,A,C,B,I,R,M,O,P,j,N,D,L,U,F,H,z,W,V,$,q,Y,K,G,Q,J,X,Z,ee,te,re,ie,ne,ae;el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var oe="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,se=new Set,le="object"==typeof tl&&tl?tl:{},ce=(e,t,r,i)=>{"function"==typeof le.emitWarning&&le.emitWarning(e,t,r,i)},he=globalThis.AbortController,de=globalThis.AbortSignal;if(typeof he>"u"){de=class{constructor(){r(this,"onabort"),r(this,"_onabort",[]),r(this,"reason"),r(this,"aborted",!1)}addEventListener(e,t){this._onabort.push(t)}},he=class{constructor(){r(this,"signal",new de),i()}abort(e){var t,r;if(!this.signal.aborted){this.signal.reason=e,this.signal.aborted=!0;for(let t of this.signal._onabort)t(e);null==(r=(t=this.signal).onabort)||r.call(t,e)}}};let e="1"!==(null==(t=le.env)?void 0:t.LRU_CACHE_IGNORE_AC_WARNING),i=()=>{e&&(e=!1,ce("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",i))}}var ue=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),pe=e=>ue(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?fe:null:null,fe=class extends Array{constructor(e){super(e),this.fill(0)}},ge=(i=class{constructor(e,t){if(r(this,"heap"),r(this,"length"),!n(i,c))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}static create(e){let t=pe(e);if(!t)return[];o(i,c,!0);let r=new i(e,t);return o(i,c,!1),r}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},c=new WeakMap,a(i,c,!1),i),me=(ae=class{constructor(e){a(this,M),a(this,L),a(this,W),a(this,$),a(this,Y),a(this,G),a(this,J),a(this,Z),a(this,te),a(this,ie),a(this,h,void 0),a(this,d,void 0),a(this,u,void 0),a(this,p,void 0),a(this,f,void 0),r(this,"ttl"),r(this,"ttlResolution"),r(this,"ttlAutopurge"),r(this,"updateAgeOnGet"),r(this,"updateAgeOnHas"),r(this,"allowStale"),r(this,"noDisposeOnSet"),r(this,"noUpdateTTL"),r(this,"maxEntrySize"),r(this,"sizeCalculation"),r(this,"noDeleteOnFetchRejection"),r(this,"noDeleteOnStaleGet"),r(this,"allowStaleOnFetchAbort"),r(this,"allowStaleOnFetchRejection"),r(this,"ignoreFetchAbort"),a(this,g,void 0),a(this,m,void 0),a(this,v,void 0),a(this,y,void 0),a(this,b,void 0),a(this,w,void 0),a(this,_,void 0),a(this,x,void 0),a(this,E,void 0),a(this,S,void 0),a(this,T,void 0),a(this,k,void 0),a(this,A,void 0),a(this,C,void 0),a(this,B,void 0),a(this,I,void 0),a(this,R,void 0),a(this,P,(()=>{})),a(this,j,(()=>{})),a(this,N,(()=>{})),a(this,D,(()=>!1)),a(this,F,(e=>{})),a(this,H,((e,t,r)=>{})),a(this,z,((e,t,r,i)=>{if(r||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0}));let{max:t=0,ttl:i,ttlResolution:s=1,ttlAutopurge:c,updateAgeOnGet:V,updateAgeOnHas:q,allowStale:K,dispose:Q,disposeAfter:X,noDisposeOnSet:ee,noUpdateTTL:re,maxSize:ne=0,maxEntrySize:oe=0,sizeCalculation:le,fetchMethod:he,noDeleteOnFetchRejection:de,noDeleteOnStaleGet:fe,allowStaleOnFetchRejection:me,allowStaleOnFetchAbort:ve,ignoreFetchAbort:ye}=e;if(0!==t&&!ue(t))throw new TypeError("max option must be a nonnegative integer");let be=t?pe(t):Array;if(!be)throw new Error("invalid max value: "+t);if(o(this,h,t),o(this,d,ne),this.maxEntrySize=oe||n(this,d),this.sizeCalculation=le,this.sizeCalculation){if(!n(this,d)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==he&&"function"!=typeof he)throw new TypeError("fetchMethod must be a function if specified");if(o(this,f,he),o(this,I,!!he),o(this,v,new Map),o(this,y,new Array(t).fill(void 0)),o(this,b,new Array(t).fill(void 0)),o(this,w,new be(t)),o(this,_,new be(t)),o(this,x,0),o(this,E,0),o(this,S,ge.create(t)),o(this,g,0),o(this,m,0),"function"==typeof Q&&o(this,u,Q),"function"==typeof X?(o(this,p,X),o(this,T,[])):(o(this,p,void 0),o(this,T,void 0)),o(this,B,!!n(this,u)),o(this,R,!!n(this,p)),this.noDisposeOnSet=!!ee,this.noUpdateTTL=!!re,this.noDeleteOnFetchRejection=!!de,this.allowStaleOnFetchRejection=!!me,this.allowStaleOnFetchAbort=!!ve,this.ignoreFetchAbort=!!ye,0!==this.maxEntrySize){if(0!==n(this,d)&&!ue(n(this,d)))throw new TypeError("maxSize must be a positive integer if specified");if(!ue(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");l(this,L,U).call(this)}if(this.allowStale=!!K,this.noDeleteOnStaleGet=!!fe,this.updateAgeOnGet=!!V,this.updateAgeOnHas=!!q,this.ttlResolution=ue(s)||0===s?s:1,this.ttlAutopurge=!!c,this.ttl=i||0,this.ttl){if(!ue(this.ttl))throw new TypeError("ttl must be a positive integer if specified");l(this,M,O).call(this)}if(0===n(this,h)&&0===this.ttl&&0===n(this,d))throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!n(this,h)&&!n(this,d)){let e="LRU_CACHE_UNBOUNDED";we=e,!se.has(we)&&(se.add(e),ce("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,ae))}var we}static unsafeExposeInternals(e){return{starts:n(e,A),ttls:n(e,C),sizes:n(e,k),keyMap:n(e,v),keyList:n(e,y),valList:n(e,b),next:n(e,w),prev:n(e,_),get head(){return n(e,x)},get tail(){return n(e,E)},free:n(e,S),isBackgroundFetch:t=>{var r;return l(r=e,Z,ee).call(r,t)},backgroundFetch:(t,r,i,n)=>{var a;return l(a=e,J,X).call(a,t,r,i,n)},moveToTail:t=>{var r;return l(r=e,ie,ne).call(r,t)},indexes:t=>{var r;return l(r=e,W,V).call(r,t)},rindexes:t=>{var r;return l(r=e,$,q).call(r,t)},isStale:t=>{var r;return n(r=e,D).call(r,t)}}}get max(){return n(this,h)}get maxSize(){return n(this,d)}get calculatedSize(){return n(this,m)}get size(){return n(this,g)}get fetchMethod(){return n(this,f)}get dispose(){return n(this,u)}get disposeAfter(){return n(this,p)}getRemainingTTL(e){return n(this,v).has(e)?1/0:0}*entries(){for(let e of l(this,W,V).call(this))void 0!==n(this,b)[e]&&void 0!==n(this,y)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield[n(this,y)[e],n(this,b)[e]])}*rentries(){for(let e of l(this,$,q).call(this))void 0!==n(this,b)[e]&&void 0!==n(this,y)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield[n(this,y)[e],n(this,b)[e]])}*keys(){for(let e of l(this,W,V).call(this)){let t=n(this,y)[e];void 0!==t&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield t)}}*rkeys(){for(let e of l(this,$,q).call(this)){let t=n(this,y)[e];void 0!==t&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield t)}}*values(){for(let e of l(this,W,V).call(this))void 0!==n(this,b)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield n(this,b)[e])}*rvalues(){for(let e of l(this,$,q).call(this))void 0!==n(this,b)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield n(this,b)[e])}[Symbol.iterator](){return this.entries()}find(e,t={}){for(let r of l(this,W,V).call(this)){let i=n(this,b)[r],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;if(void 0!==a&&e(a,n(this,y)[r],this))return this.get(n(this,y)[r],t)}}forEach(e,t=this){for(let r of l(this,W,V).call(this)){let i=n(this,b)[r],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;void 0!==a&&e.call(t,a,n(this,y)[r],this)}}rforEach(e,t=this){for(let r of l(this,$,q).call(this)){let i=n(this,b)[r],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;void 0!==a&&e.call(t,a,n(this,y)[r],this)}}purgeStale(){let e=!1;for(let t of l(this,$,q).call(this,{allowStale:!0}))n(this,D).call(this,t)&&(this.delete(n(this,y)[t]),e=!0);return e}dump(){let e=[];for(let t of l(this,W,V).call(this,{allowStale:!0})){let r=n(this,y)[t],i=n(this,b)[t],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;if(void 0===a||void 0===r)continue;let o={value:a};if(n(this,C)&&n(this,A)){o.ttl=n(this,C)[t];let e=oe.now()-n(this,A)[t];o.start=Math.floor(Date.now()-e)}n(this,k)&&(o.size=n(this,k)[t]),e.unshift([r,o])}return e}load(e){this.clear();for(let[t,r]of e){if(r.start){let e=Date.now()-r.start;r.start=oe.now()-e}this.set(t,r.value,r)}}set(e,t,r={}){var i,a,c,d,f;if(void 0===t)return this.delete(e),this;let{ttl:m=this.ttl,start:x,noDisposeOnSet:k=this.noDisposeOnSet,sizeCalculation:A=this.sizeCalculation,status:P}=r,{noUpdateTTL:D=this.noUpdateTTL}=r,L=n(this,z).call(this,e,t,r.size||0,A);if(this.maxEntrySize&&L>this.maxEntrySize)return P&&(P.set="miss",P.maxEntrySizeExceeded=!0),this.delete(e),this;let U=0===n(this,g)?void 0:n(this,v).get(e);if(void 0===U)U=0===n(this,g)?n(this,E):0!==n(this,S).length?n(this,S).pop():n(this,g)===n(this,h)?l(this,G,Q).call(this,!1):n(this,g),n(this,y)[U]=e,n(this,b)[U]=t,n(this,v).set(e,U),n(this,w)[n(this,E)]=U,n(this,_)[U]=n(this,E),o(this,E,U),s(this,g)._++,n(this,H).call(this,U,L,P),P&&(P.set="add"),D=!1;else{l(this,ie,ne).call(this,U);let r=n(this,b)[U];if(t!==r){if(n(this,I)&&l(this,Z,ee).call(this,r)){r.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:t}=r;void 0!==t&&!k&&(n(this,B)&&(null==(i=n(this,u))||i.call(this,t,e,"set")),n(this,R)&&(null==(a=n(this,T))||a.push([t,e,"set"])))}else k||(n(this,B)&&(null==(c=n(this,u))||c.call(this,r,e,"set")),n(this,R)&&(null==(d=n(this,T))||d.push([r,e,"set"])));if(n(this,F).call(this,U),n(this,H).call(this,U,L,P),n(this,b)[U]=t,P){P.set="replace";let e=r&&l(this,Z,ee).call(this,r)?r.__staleWhileFetching:r;void 0!==e&&(P.oldValue=e)}}else P&&(P.set="update")}if(0!==m&&!n(this,C)&&l(this,M,O).call(this),n(this,C)&&(D||n(this,N).call(this,U,m,x),P&&n(this,j).call(this,P,U)),!k&&n(this,R)&&n(this,T)){let e,t=n(this,T);for(;e=null==t?void 0:t.shift();)null==(f=n(this,p))||f.call(this,...e)}return this}pop(){var e;try{for(;n(this,g);){let e=n(this,b)[n(this,x)];if(l(this,G,Q).call(this,!0),l(this,Z,ee).call(this,e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(void 0!==e)return e}}finally{if(n(this,R)&&n(this,T)){let t,r=n(this,T);for(;t=null==r?void 0:r.shift();)null==(e=n(this,p))||e.call(this,...t)}}}has(e,t={}){let{updateAgeOnHas:r=this.updateAgeOnHas,status:i}=t,a=n(this,v).get(e);if(void 0!==a){let e=n(this,b)[a];if(l(this,Z,ee).call(this,e)&&void 0===e.__staleWhileFetching)return!1;if(!n(this,D).call(this,a))return r&&n(this,P).call(this,a),i&&(i.has="hit",n(this,j).call(this,i,a)),!0;i&&(i.has="stale",n(this,j).call(this,i,a))}else i&&(i.has="miss");return!1}peek(e,t={}){let{allowStale:r=this.allowStale}=t,i=n(this,v).get(e);if(void 0!==i&&(r||!n(this,D).call(this,i))){let e=n(this,b)[i];return l(this,Z,ee).call(this,e)?e.__staleWhileFetching:e}}async fetch(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:c=0,sizeCalculation:h=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:f=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:m,forceRefresh:y=!1,status:w,signal:_}=t;if(!n(this,I))return w&&(w.fetch="get"),this.get(e,{allowStale:r,updateAgeOnGet:i,noDeleteOnStaleGet:a,status:w});let x={allowStale:r,updateAgeOnGet:i,noDeleteOnStaleGet:a,ttl:o,noDisposeOnSet:s,size:c,sizeCalculation:h,noUpdateTTL:d,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:g,ignoreFetchAbort:f,status:w,signal:_},E=n(this,v).get(e);if(void 0===E){w&&(w.fetch="miss");let t=l(this,J,X).call(this,e,E,x,m);return t.__returned=t}{let t=n(this,b)[E];if(l(this,Z,ee).call(this,t)){let e=r&&void 0!==t.__staleWhileFetching;return w&&(w.fetch="inflight",e&&(w.returnedStale=!0)),e?t.__staleWhileFetching:t.__returned=t}let a=n(this,D).call(this,E);if(!y&&!a)return w&&(w.fetch="hit"),l(this,ie,ne).call(this,E),i&&n(this,P).call(this,E),w&&n(this,j).call(this,w,E),t;let o=l(this,J,X).call(this,e,E,x,m),s=void 0!==o.__staleWhileFetching&&r;return w&&(w.fetch=a?"stale":"refresh",s&&a&&(w.returnedStale=!0)),s?o.__staleWhileFetching:o.__returned=o}}get(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:o}=t,s=n(this,v).get(e);if(void 0!==s){let t=n(this,b)[s],c=l(this,Z,ee).call(this,t);return o&&n(this,j).call(this,o,s),n(this,D).call(this,s)?(o&&(o.get="stale"),c?(o&&r&&void 0!==t.__staleWhileFetching&&(o.returnedStale=!0),r?t.__staleWhileFetching:void 0):(a||this.delete(e),o&&r&&(o.returnedStale=!0),r?t:void 0)):(o&&(o.get="hit"),c?t.__staleWhileFetching:(l(this,ie,ne).call(this,s),i&&n(this,P).call(this,s),t))}o&&(o.get="miss")}delete(e){var t,r,i,a;let c=!1;if(0!==n(this,g)){let i=n(this,v).get(e);if(void 0!==i)if(c=!0,1===n(this,g))this.clear();else{n(this,F).call(this,i);let a=n(this,b)[i];l(this,Z,ee).call(this,a)?a.__abortController.abort(new Error("deleted")):(n(this,B)||n(this,R))&&(n(this,B)&&(null==(t=n(this,u))||t.call(this,a,e,"delete")),n(this,R)&&(null==(r=n(this,T))||r.push([a,e,"delete"]))),n(this,v).delete(e),n(this,y)[i]=void 0,n(this,b)[i]=void 0,i===n(this,E)?o(this,E,n(this,_)[i]):i===n(this,x)?o(this,x,n(this,w)[i]):(n(this,w)[n(this,_)[i]]=n(this,w)[i],n(this,_)[n(this,w)[i]]=n(this,_)[i]),s(this,g)._--,n(this,S).push(i)}}if(n(this,R)&&(null==(i=n(this,T))?void 0:i.length)){let e,t=n(this,T);for(;e=null==t?void 0:t.shift();)null==(a=n(this,p))||a.call(this,...e)}return c}clear(){var e,t,r;for(let i of l(this,$,q).call(this,{allowStale:!0})){let r=n(this,b)[i];if(l(this,Z,ee).call(this,r))r.__abortController.abort(new Error("deleted"));else{let a=n(this,y)[i];n(this,B)&&(null==(e=n(this,u))||e.call(this,r,a,"delete")),n(this,R)&&(null==(t=n(this,T))||t.push([r,a,"delete"]))}}if(n(this,v).clear(),n(this,b).fill(void 0),n(this,y).fill(void 0),n(this,C)&&n(this,A)&&(n(this,C).fill(0),n(this,A).fill(0)),n(this,k)&&n(this,k).fill(0),o(this,x,0),o(this,E,0),n(this,S).length=0,o(this,m,0),o(this,g,0),n(this,R)&&n(this,T)){let e,t=n(this,T);for(;e=null==t?void 0:t.shift();)null==(r=n(this,p))||r.call(this,...e)}}},h=new WeakMap,d=new WeakMap,u=new WeakMap,p=new WeakMap,f=new WeakMap,g=new WeakMap,m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,_=new WeakMap,x=new WeakMap,E=new WeakMap,S=new WeakMap,T=new WeakMap,k=new WeakMap,A=new WeakMap,C=new WeakMap,B=new WeakMap,I=new WeakMap,R=new WeakMap,M=new WeakSet,O=function(){let e=new fe(n(this,h)),t=new fe(n(this,h));o(this,C,e),o(this,A,t),o(this,N,((r,i,a=oe.now())=>{if(t[r]=0!==i?a:0,e[r]=i,0!==i&&this.ttlAutopurge){let e=setTimeout((()=>{n(this,D).call(this,r)&&this.delete(n(this,y)[r])}),i+1);e.unref&&e.unref()}})),o(this,P,(r=>{t[r]=0!==e[r]?oe.now():0})),o(this,j,((n,a)=>{if(e[a]){let o=e[a],s=t[a];n.ttl=o,n.start=s,n.now=r||i();let l=n.now-s;n.remainingTTL=o-l}}));let r=0,i=()=>{let e=oe.now();if(this.ttlResolution>0){r=e;let t=setTimeout((()=>r=0),this.ttlResolution);t.unref&&t.unref()}return e};this.getRemainingTTL=a=>{let o=n(this,v).get(a);if(void 0===o)return 0;let s=e[o],l=t[o];return 0===s||0===l?1/0:s-((r||i())-l)},o(this,D,(n=>0!==e[n]&&0!==t[n]&&(r||i())-t[n]>e[n]))},P=new WeakMap,j=new WeakMap,N=new WeakMap,D=new WeakMap,L=new WeakSet,U=function(){let e=new fe(n(this,h));o(this,m,0),o(this,k,e),o(this,F,(t=>{o(this,m,n(this,m)-e[t]),e[t]=0})),o(this,z,((e,t,r,i)=>{if(l(this,Z,ee).call(this,t))return 0;if(!ue(r)){if(!i)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof i)throw new TypeError("sizeCalculation must be a function");if(r=i(t,e),!ue(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r})),o(this,H,((t,r,i)=>{if(e[t]=r,n(this,d)){let r=n(this,d)-e[t];for(;n(this,m)>r;)l(this,G,Q).call(this,!0)}o(this,m,n(this,m)+e[t]),i&&(i.entrySize=r,i.totalCalculatedSize=n(this,m))}))},F=new WeakMap,H=new WeakMap,z=new WeakMap,W=new WeakSet,V=function*({allowStale:e=this.allowStale}={}){if(n(this,g))for(let t=n(this,E);l(this,Y,K).call(this,t)&&((e||!n(this,D).call(this,t))&&(yield t),t!==n(this,x));)t=n(this,_)[t]},$=new WeakSet,q=function*({allowStale:e=this.allowStale}={}){if(n(this,g))for(let t=n(this,x);l(this,Y,K).call(this,t)&&((e||!n(this,D).call(this,t))&&(yield t),t!==n(this,E));)t=n(this,w)[t]},Y=new WeakSet,K=function(e){return void 0!==e&&n(this,v).get(n(this,y)[e])===e},G=new WeakSet,Q=function(e){var t,r;let i=n(this,x),a=n(this,y)[i],c=n(this,b)[i];return n(this,I)&&l(this,Z,ee).call(this,c)?c.__abortController.abort(new Error("evicted")):(n(this,B)||n(this,R))&&(n(this,B)&&(null==(t=n(this,u))||t.call(this,c,a,"evict")),n(this,R)&&(null==(r=n(this,T))||r.push([c,a,"evict"]))),n(this,F).call(this,i),e&&(n(this,y)[i]=void 0,n(this,b)[i]=void 0,n(this,S).push(i)),1===n(this,g)?(o(this,x,o(this,E,0)),n(this,S).length=0):o(this,x,n(this,w)[i]),n(this,v).delete(a),s(this,g)._--,i},J=new WeakSet,X=function(e,t,r,i){let a=void 0===t?void 0:n(this,b)[t];if(l(this,Z,ee).call(this,a))return a;let o=new he,{signal:s}=r;null==s||s.addEventListener("abort",(()=>o.abort(s.reason)),{signal:o.signal});let c={signal:o.signal,options:r,context:i},h=(i,a=!1)=>{let{aborted:s}=o.signal,l=r.ignoreFetchAbort&&void 0!==i;if(r.status&&(s&&!a?(r.status.fetchAborted=!0,r.status.fetchError=o.signal.reason,l&&(r.status.fetchAbortIgnored=!0)):r.status.fetchResolved=!0),s&&!l&&!a)return d(o.signal.reason);let h=u;return n(this,b)[t]===u&&(void 0===i?h.__staleWhileFetching?n(this,b)[t]=h.__staleWhileFetching:this.delete(e):(r.status&&(r.status.fetchUpdated=!0),this.set(e,i,c.options))),i},d=i=>{let{aborted:a}=o.signal,s=a&&r.allowStaleOnFetchAbort,l=s||r.allowStaleOnFetchRejection,c=l||r.noDeleteOnFetchRejection,h=u;if(n(this,b)[t]===u&&(c&&void 0!==h.__staleWhileFetching?s||(n(this,b)[t]=h.__staleWhileFetching):this.delete(e)),l)return r.status&&void 0!==h.__staleWhileFetching&&(r.status.returnedStale=!0),h.__staleWhileFetching;if(h.__returned===h)throw i};r.status&&(r.status.fetchDispatched=!0);let u=new Promise(((t,i)=>{var s;let l=null==(s=n(this,f))?void 0:s.call(this,e,a,c);l&&l instanceof Promise&&l.then((e=>t(void 0===e?void 0:e)),i),o.signal.addEventListener("abort",(()=>{(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort)&&(t(void 0),r.allowStaleOnFetchAbort&&(t=e=>h(e,!0)))}))})).then(h,(e=>(r.status&&(r.status.fetchRejected=!0,r.status.fetchError=e),d(e)))),p=Object.assign(u,{__abortController:o,__staleWhileFetching:a,__returned:void 0});return void 0===t?(this.set(e,p,{...c.options,status:void 0}),t=n(this,v).get(e)):n(this,b)[t]=p,p},Z=new WeakSet,ee=function(e){if(!n(this,I))return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof he},te=new WeakSet,re=function(e,t){n(this,_)[t]=e,n(this,w)[e]=t},ie=new WeakSet,ne=function(e){e!==n(this,E)&&(e===n(this,x)?o(this,x,n(this,w)[e]):l(this,te,re).call(this,n(this,_)[e],n(this,w)[e]),l(this,te,re).call(this,n(this,E),e),o(this,E,e))},ae);e.LRUCache=me})),Bu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;e.ContainerIterator=class{constructor(e=0){this.iteratorType=e}equals(e){return this.o===e.o}};var t=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return 0===this.i}};e.Base=t;e.Container=class extends t{}})),Iu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Base{constructor(e=[]){super(),this.S=[];let t=this;e.forEach((function(e){t.push(e)}))}clear(){this.i=0,this.S=[]}push(e){return this.S.push(e),this.i+=1,this.i}pop(){if(0!==this.i)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}};e.default=r})),Ru=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Base{constructor(e=[]){super(),this.j=0,this.q=[];let t=this;e.forEach((function(e){t.push(e)}))}clear(){this.q=[],this.i=this.j=0}push(e){let t=this.q.length;if(this.j/t>.5&&this.j+this.i>=t&&t>4096){let t=this.i;for(let e=0;e<t;++e)this.q[e]=this.q[this.j+e];this.j=0,this.q[this.i]=e}else this.q[this.j+this.i]=e;return++this.i}pop(){if(0===this.i)return;let e=this.q[this.j++];return this.i-=1,e}front(){if(0!==this.i)return this.q[this.j]}};e.default=r})),Mu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Base{constructor(e=[],t=function(e,t){return e>t?-1:e<t?1:0},r=!0){if(super(),this.v=t,Array.isArray(e))this.C=r?[...e]:e;else{this.C=[];let t=this;e.forEach((function(e){t.C.push(e)}))}this.i=this.C.length;let i=this.i>>1;for(let n=this.i-1>>1;n>=0;--n)this.k(n,i)}m(e){let t=this.C[e];for(;e>0;){let r=e-1>>1,i=this.C[r];if(this.v(i,t)<=0)break;this.C[e]=i,e=r}this.C[e]=t}k(e,t){let r=this.C[e];for(;e<t;){let t=e<<1|1,i=t+1,n=this.C[t];if(i<this.i&&this.v(n,this.C[i])>0&&(t=i,n=this.C[i]),this.v(n,r)>=0)break;this.C[e]=n,e=t}this.C[e]=r}clear(){this.i=0,this.C.length=0}push(e){this.C.push(e),this.m(this.i),this.i+=1}pop(){if(0===this.i)return;let e=this.C[0],t=this.C.pop();return this.i-=1,this.i&&(this.C[0]=t,this.k(0,this.i>>1)),e}top(){return this.C[0]}find(e){return this.C.indexOf(e)>=0}remove(e){let t=this.C.indexOf(e);return!(t<0)&&(0===t?this.pop():t===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(t,1,this.C.pop()),this.i-=1,this.m(t),this.k(t,this.i>>1)),!0)}updateItem(e){let t=this.C.indexOf(e);return!(t<0)&&(this.m(t),this.k(t,this.i>>1),!0)}toArray(){return[...this.C]}};e.default=r})),Ou=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Container{};e.default=r})),Pu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=function(){throw new RangeError("Iterator access denied!")}})),ju=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=Bu(),r=Pu(),i=class extends t.ContainerIterator{constructor(e,t){super(t),this.o=e,0===this.iteratorType?(this.pre=function(){return 0===this.o&&(0,r.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,r.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,r.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return-1===this.o&&(0,r.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(e){this.container.setElementByPos(this.o,e)}};e.RandomIterator=i})),Nu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=(t=Ou())&&t.t?t:{default:t},i=ju();var n=class e extends i.RandomIterator{constructor(e,t,r){super(e,r),this.container=t}copy(){return new e(this.o,this.container,this.iteratorType)}},a=class extends r.default{constructor(e=[],t=!0){if(super(),Array.isArray(e))this.J=t?[...e]:e,this.i=e.length;else{this.J=[];let t=this;e.forEach((function(e){t.pushBack(e)}))}}clear(){this.i=0,this.J.length=0}begin(){return new n(0,this)}end(){return new n(this.i,this)}rBegin(){return new n(this.i-1,this,1)}rEnd(){return new n(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;return this.J[e]}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;return this.J.splice(e,1),this.i-=1,this.i}eraseElementByValue(e){let t=0;for(let r=0;r<this.i;++r)this.J[r]!==e&&(this.J[t++]=this.J[r]);return this.i=this.J.length=t,this.i}eraseElementByIterator(e){let t=e.o;return e=e.next(),this.eraseElementByPos(t),e}pushBack(e){return this.J.push(e),this.i+=1,this.i}popBack(){if(0!==this.i)return this.i-=1,this.J.pop()}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;this.J[e]=t}insert(e,t,r=1){if(e<0||e>this.i)throw new RangeError;return this.J.splice(e,0,...new Array(r).fill(t)),this.i+=r,this.i}find(e){for(let t=0;t<this.i;++t)if(this.J[t]===e)return new n(t,this);return this.end()}reverse(){this.J.reverse()}unique(){let e=1;for(let t=1;t<this.i;++t)this.J[t]!==this.J[t-1]&&(this.J[e++]=this.J[t]);return this.i=this.J.length=e,this.i}sort(e){this.J.sort(e)}forEach(e){for(let t=0;t<this.i;++t)e(this.J[t],t,this)}[Symbol.iterator](){return function*(){yield*this.J}.bind(this)()}};e.default=a})),Du=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=(t=Ou())&&t.t?t:{default:t},i=Bu(),n=Pu();var a=class e extends i.ContainerIterator{constructor(e,t,r,i){super(i),this.o=e,this.h=t,this.container=r,0===this.iteratorType?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l}set pointer(e){this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l=e}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends r.default{constructor(e=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let t=this;e.forEach((function(e){t.pushBack(e)}))}V(e){let{L:t,B:r}=e;t.B=r,r.L=t,e===this.p&&(this.p=r),e===this._&&(this._=t),this.i-=1}G(e,t){let r=t.B,i={l:e,L:t,B:r};t.B=i,r.L=i,t===this.h&&(this.p=i),r===this.h&&(this._=i),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new a(this.p,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this._,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return t.l}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return this.V(t),this.i}eraseElementByValue(e){let t=this.p;for(;t!==this.h;)t.l===e&&this.V(t),t=t.B;return this.i}eraseElementByIterator(e){let t=e.o;return t===this.h&&(0,n.throwIteratorAccessError)(),e=e.next(),this.V(t),e}pushBack(e){return this.G(e,this._),this.i}popBack(){if(0===this.i)return;let e=this._.l;return this.V(this._),e}pushFront(e){return this.G(e,this.h),this.i}popFront(){if(0===this.i)return;let e=this.p.l;return this.V(this.p),e}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;let r=this.p;for(;e--;)r=r.B;r.l=t}insert(e,t,r=1){if(e<0||e>this.i)throw new RangeError;if(r<=0)return this.i;if(0===e)for(;r--;)this.pushFront(t);else if(e===this.i)for(;r--;)this.pushBack(t);else{let i=this.p;for(let t=1;t<e;++t)i=i.B;let n=i.B;for(this.i+=r;r--;)i.B={l:t,L:i},i.B.L=i,i=i.B;i.B=n,n.L=i}return this.i}find(e){let t=this.p;for(;t!==this.h;){if(t.l===e)return new a(t,this.h,this);t=t.B}return this.end()}reverse(){if(this.i<=1)return;let e=this.p,t=this._,r=0;for(;r<<1<this.i;){let i=e.l;e.l=t.l,t.l=i,e=e.B,t=t.L,r+=1}}unique(){if(this.i<=1)return this.i;let e=this.p;for(;e!==this.h;){let t=e;for(;t.B!==this.h&&t.l===t.B.l;)t=t.B,this.i-=1;e.B=t.B,e.B.L=e,e=e.B}return this.i}sort(e){if(this.i<=1)return;let t=[];this.forEach((function(e){t.push(e)})),t.sort(e);let r=this.p;t.forEach((function(e){r.l=e,r=r.B}))}merge(e){let t=this;if(0===this.i)e.forEach((function(e){t.pushBack(e)}));else{let r=this.p;e.forEach((function(e){for(;r!==t.h&&r.l<=e;)r=r.B;t.G(e,r.L)}))}return this.i}forEach(e){let t=this.p,r=0;for(;t!==this.h;)e(t.l,r++,this),t=t.B}[Symbol.iterator](){return function*(){if(0===this.i)return;let e=this.p;for(;e!==this.h;)yield e.l,e=e.B}.bind(this)()}};e.default=o})),Lu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=(t=Ou())&&t.t?t:{default:t},i=ju();var n=class e extends i.RandomIterator{constructor(e,t,r){super(e,r),this.container=t}copy(){return new e(this.o,this.container,this.iteratorType)}},a=class extends r.default{constructor(e=[],t=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let r=(()=>{if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("function"==typeof e.size)return e.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=t,this.P=Math.max(Math.ceil(r/this.F),1);for(let a=0;a<this.P;++a)this.A.push(new Array(this.F));let i=Math.ceil(r/this.F);this.j=this.R=(this.P>>1)-(i>>1),this.D=this.N=this.F-r%this.F>>1;let n=this;e.forEach((function(e){n.pushBack(e)}))}T(){let e=[],t=Math.max(this.P>>1,1);for(let r=0;r<t;++r)e[r]=new Array(this.F);for(let r=this.j;r<this.P;++r)e[e.length]=this.A[r];for(let r=0;r<this.R;++r)e[e.length]=this.A[r];e[e.length]=[...this.A[this.R]],this.j=t,this.R=e.length-1;for(let r=0;r<t;++r)e[e.length]=new Array(this.F);this.A=e,this.P=e.length}O(e){let t=this.D+e+1,r=t%this.F,i=r-1,n=this.j+(t-r)/this.F;return 0===r&&(n-=1),n%=this.P,i<0&&(i+=this.F),{curNodeBucketIndex:n,curNodePointerIndex:i}}clear(){this.A=[new Array(this.F)],this.P=1,this.j=this.R=this.i=0,this.D=this.N=this.F>>1}begin(){return new n(0,this)}end(){return new n(this.i,this)}rBegin(){return new n(this.i-1,this,1)}rEnd(){return new n(-1,this,1)}front(){if(0!==this.i)return this.A[this.j][this.D]}back(){if(0!==this.i)return this.A[this.R][this.N]}pushBack(e){return this.i&&(this.N<this.F-1?this.N+=1:this.R<this.P-1?(this.R+=1,this.N=0):(this.R=0,this.N=0),this.R===this.j&&this.N===this.D&&this.T()),this.i+=1,this.A[this.R][this.N]=e,this.i}popBack(){if(0===this.i)return;let e=this.A[this.R][this.N];return 1!==this.i&&(this.N>0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,e}pushFront(e){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=e,this.i}popFront(){if(0===this.i)return;let e=this.A[this.j][this.D];return 1!==this.i&&(this.D<this.F-1?this.D+=1:this.j<this.P-1?(this.j+=1,this.D=0):(this.j=0,this.D=0)),this.i-=1,e}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let{curNodeBucketIndex:t,curNodePointerIndex:r}=this.O(e);return this.A[t][r]}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;let{curNodeBucketIndex:r,curNodePointerIndex:i}=this.O(e);this.A[r][i]=t}insert(e,t,r=1){if(e<0||e>this.i)throw new RangeError;if(0===e)for(;r--;)this.pushFront(t);else if(e===this.i)for(;r--;)this.pushBack(t);else{let i=[];for(let t=e;t<this.i;++t)i.push(this.getElementByPos(t));this.cut(e-1);for(let e=0;e<r;++e)this.pushBack(t);for(let e=0;e<i.length;++e)this.pushBack(i[e])}return this.i}cut(e){if(e<0)return this.clear(),0;let{curNodeBucketIndex:t,curNodePointerIndex:r}=this.O(e);return this.R=t,this.N=r,this.i=e+1,this.i}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;if(0===e)this.popFront();else if(e===this.i-1)this.popBack();else{let t=[];for(let i=e+1;i<this.i;++i)t.push(this.getElementByPos(i));this.cut(e),this.popBack();let r=this;t.forEach((function(e){r.pushBack(e)}))}return this.i}eraseElementByValue(e){if(0===this.i)return 0;let t=[];for(let i=0;i<this.i;++i){let r=this.getElementByPos(i);r!==e&&t.push(r)}let r=t.length;for(let i=0;i<r;++i)this.setElementByPos(i,t[i]);return this.cut(r-1)}eraseElementByIterator(e){let t=e.o;return this.eraseElementByPos(t),e=e.next()}find(e){for(let t=0;t<this.i;++t)if(this.getElementByPos(t)===e)return new n(t,this);return this.end()}reverse(){let e=0,t=this.i-1;for(;e<t;){let r=this.getElementByPos(e);this.setElementByPos(e,this.getElementByPos(t)),this.setElementByPos(t,r),e+=1,t-=1}}unique(){if(this.i<=1)return this.i;let e=1,t=this.getElementByPos(0);for(let r=1;r<this.i;++r){let i=this.getElementByPos(r);i!==t&&(t=i,this.setElementByPos(e++,i))}for(;this.i>e;)this.popBack();return this.i}sort(e){let t=[];for(let r=0;r<this.i;++r)t.push(this.getElementByPos(r));t.sort(e);for(let r=0;r<this.i;++r)this.setElementByPos(r,t[r])}shrinkToFit(){if(0===this.i)return;let e=[];this.forEach((function(t){e.push(t)})),this.P=Math.max(Math.ceil(this.i/this.F),1),this.i=this.j=this.R=this.D=this.N=0,this.A=[];for(let t=0;t<this.P;++t)this.A.push(new Array(this.F));for(let t=0;t<e.length;++t)this.pushBack(e[t])}forEach(e){for(let t=0;t<this.i;++t)e(this.getElementByPos(t),t,this)}[Symbol.iterator](){return function*(){for(let e=0;e<this.i;++e)yield this.getElementByPos(e)}.bind(this)()}};e.default=a})),Uu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(e,t){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=e,this.l=t}L(){let e=this;if(1===e.ee&&e.tt.tt===e)e=e.W;else if(e.U)for(e=e.U;e.W;)e=e.W;else{let t=e.tt;for(;t.U===e;)e=t,t=e.tt;e=t}return e}B(){let e=this;if(e.W){for(e=e.W;e.U;)e=e.U;return e}{let t=e.tt;for(;t.W===e;)e=t,t=e.tt;return e.W!==t?t:e}}te(){let e=this.tt,t=this.W,r=t.U;return e.tt===this?e.tt=t:e.U===this?e.U=t:e.W=t,t.tt=e,t.U=this,this.tt=t,this.W=r,r&&(r.tt=this),t}se(){let e=this.tt,t=this.U,r=t.W;return e.tt===this?e.tt=t:e.U===this?e.U=t:e.W=t,t.tt=e,t.W=this,this.tt=t,this.U=r,r&&(r.tt=this),t}};e.TreeNode=t;e.TreeNodeEnableIndex=class extends t{constructor(){super(...arguments),this.rt=1}te(){let e=super.te();return this.ie(),e.ie(),e}se(){let e=super.se();return this.ie(),e.ie(),e}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}}})),Fu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Uu(),r=Bu(),i=Pu(),n=class extends r.Container{constructor(e=function(e,t){return e<t?-1:e>t?1:0},r=!1){super(),this.Y=void 0,this.v=e,r?(this.re=t.TreeNodeEnableIndex,this.M=function(e,t,r){let i=this.ne(e,t,r);if(i){let e=i.tt;for(;e!==this.h;)e.rt+=1,e=e.tt;let t=this.he(i);if(t){let{parentNode:e,grandParent:r,curNode:i}=t;e.ie(),r.ie(),i.ie()}}return this.i},this.V=function(e){let t=this.fe(e);for(;t!==this.h;)t.rt-=1,t=t.tt}):(this.re=t.TreeNode,this.M=function(e,t,r){let i=this.ne(e,t,r);return i&&this.he(i),this.i},this.V=this.fe),this.h=new this.re}X(e,t){let r=this.h;for(;e;){let i=this.v(e.u,t);if(i<0)e=e.W;else{if(!(i>0))return e;r=e,e=e.U}}return r}Z(e,t){let r=this.h;for(;e;)this.v(e.u,t)<=0?e=e.W:(r=e,e=e.U);return r}$(e,t){let r=this.h;for(;e;){let i=this.v(e.u,t);if(i<0)r=e,e=e.W;else{if(!(i>0))return e;e=e.U}}return r}rr(e,t){let r=this.h;for(;e;)this.v(e.u,t)<0?(r=e,e=e.W):e=e.U;return r}ue(e){for(;;){let t=e.tt;if(t===this.h)return;if(1===e.ee)return void(e.ee=0);if(e===t.U){let r=t.W;if(1===r.ee)r.ee=0,t.ee=1,t===this.Y?this.Y=t.te():t.te();else{if(r.W&&1===r.W.ee)return r.ee=t.ee,t.ee=0,r.W.ee=0,void(t===this.Y?this.Y=t.te():t.te());r.U&&1===r.U.ee?(r.ee=1,r.U.ee=0,r.se()):(r.ee=1,e=t)}}else{let r=t.U;if(1===r.ee)r.ee=0,t.ee=1,t===this.Y?this.Y=t.se():t.se();else{if(r.U&&1===r.U.ee)return r.ee=t.ee,t.ee=0,r.U.ee=0,void(t===this.Y?this.Y=t.se():t.se());r.W&&1===r.W.ee?(r.ee=1,r.W.ee=0,r.te()):(r.ee=1,e=t)}}}}fe(e){if(1===this.i)return this.clear(),this.h;let t=e;for(;t.U||t.W;){if(t.W)for(t=t.W;t.U;)t=t.U;else t=t.U;[e.u,t.u]=[t.u,e.u],[e.l,t.l]=[t.l,e.l],e=t}this.h.U===t?this.h.U=t.tt:this.h.W===t&&(this.h.W=t.tt),this.ue(t);let r=t.tt;return t===r.U?r.U=void 0:r.W=void 0,this.i-=1,this.Y.ee=0,r}oe(e,t){return void 0!==e&&(!(!this.oe(e.U,t)&&!t(e))||this.oe(e.W,t))}he(e){for(;;){let t=e.tt;if(0===t.ee)return;let r=t.tt;if(t===r.U){let i=r.W;if(i&&1===i.ee){if(i.ee=t.ee=0,r===this.Y)return;r.ee=1,e=r;continue}if(e===t.W){if(e.ee=0,e.U&&(e.U.tt=t),e.W&&(e.W.tt=r),t.W=e.U,r.U=e.W,e.U=t,e.W=r,r===this.Y)this.Y=e,this.h.tt=e;else{let t=r.tt;t.U===r?t.U=e:t.W=e}return e.tt=r.tt,t.tt=e,r.tt=e,r.ee=1,{parentNode:t,grandParent:r,curNode:e}}t.ee=0,r===this.Y?this.Y=r.se():r.se(),r.ee=1}else{let i=r.U;if(i&&1===i.ee){if(i.ee=t.ee=0,r===this.Y)return;r.ee=1,e=r;continue}if(e===t.U){if(e.ee=0,e.U&&(e.U.tt=r),e.W&&(e.W.tt=t),r.W=e.U,t.U=e.W,e.U=r,e.W=t,r===this.Y)this.Y=e,this.h.tt=e;else{let t=r.tt;t.U===r?t.U=e:t.W=e}return e.tt=r.tt,t.tt=e,r.tt=e,r.ee=1,{parentNode:t,grandParent:r,curNode:e}}t.ee=0,r===this.Y?this.Y=r.te():r.te(),r.ee=1}return}}ne(e,t,r){if(void 0===this.Y)return this.i+=1,this.Y=new this.re(e,t),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,void(this.h.W=this.Y);let i,n=this.h.U,a=this.v(n.u,e);if(0!==a){if(a>0)n.U=new this.re(e,t),n.U.tt=n,i=n.U,this.h.U=i;else{let n=this.h.W,a=this.v(n.u,e);if(0===a)return void(n.l=t);if(a<0)n.W=new this.re(e,t),n.W.tt=n,i=n.W,this.h.W=i;else{if(void 0!==r){let n=r.o;if(n!==this.h){let r=this.v(n.u,e);if(0===r)return void(n.l=t);if(r>0){let r=n.L(),a=this.v(r.u,e);if(0===a)return void(r.l=t);a<0&&(i=new this.re(e,t),void 0===r.W?(r.W=i,i.tt=r):(n.U=i,i.tt=n))}}}if(void 0===i)for(i=this.Y;;){let r=this.v(i.u,e);if(r>0){if(void 0===i.U){i.U=new this.re(e,t),i.U.tt=i,i=i.U;break}i=i.U}else{if(!(r<0))return void(i.l=t);if(void 0===i.W){i.W=new this.re(e,t),i.W.tt=i,i=i.W;break}i=i.W}}}}return this.i+=1,i}n.l=t}I(e,t){for(;e;){let r=this.v(e.u,t);if(r<0)e=e.W;else{if(!(r>0))return e;e=e.U}}return e||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(e,t){let r=e.o;if(r===this.h&&(0,i.throwIteratorAccessError)(),1===this.i)return r.u=t,!0;if(r===this.h.U)return this.v(r.B().u,t)>0&&(r.u=t,!0);if(r===this.h.W)return this.v(r.L().u,t)<0&&(r.u=t,!0);let n=r.L().u;if(this.v(n,t)>=0)return!1;let a=r.B().u;return!(this.v(a,t)<=0)&&(r.u=t,!0)}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=0,r=this;return this.oe(this.Y,(function(i){return e===t?(r.V(i),!0):(t+=1,!1)})),this.i}eraseElementByKey(e){if(0===this.i)return!1;let t=this.I(this.Y,e);return t!==this.h&&(this.V(t),!0)}eraseElementByIterator(e){let t=e.o;t===this.h&&(0,i.throwIteratorAccessError)();let r=void 0===t.W;return 0===e.iteratorType?r&&e.next():(!r||void 0===t.U)&&e.next(),this.V(t),e}forEach(e){let t=0;for(let r of this)e(r,t++,this)}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t,r=0;for(let i of this){if(r===e){t=i;break}r+=1}return t}getHeight(){if(0===this.i)return 0;let e=function(t){return t?Math.max(e(t.U),e(t.W))+1:0};return e(this.Y)}};e.default=n})),Hu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=Pu(),i=class extends t.ContainerIterator{constructor(e,t,i){super(i),this.o=e,this.h=t,0===this.iteratorType?(this.pre=function(){return this.o===this.h.U&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let e=this.o,t=this.h.tt;if(e===this.h)return t?t.rt-1:0;let r=0;for(e.U&&(r+=e.U.rt);e!==t;){let t=e.tt;e===t.W&&(r+=1,t.U&&(r+=t.U.rt)),e=t}return r}};e.default=i})),zu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(Fu()),r=n(Hu()),i=Pu();function n(e){return e&&e.t?e:{default:e}}var a=class e extends r.default{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o.u}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends t.default{constructor(e=[],t,r){super(t,r);let i=this;e.forEach((function(e){i.insert(e)}))}*K(e){void 0!==e&&(yield*this.K(e.U),yield e.u,yield*this.K(e.W))}begin(){return new a(this.h.U||this.h,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this.h.W||this.h,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(e,t){return this.M(e,void 0,t)}find(e){let t=this.I(this.Y,e);return new a(t,this.h,this)}lowerBound(e){let t=this.X(this.Y,e);return new a(t,this.h,this)}upperBound(e){let t=this.Z(this.Y,e);return new a(t,this.h,this)}reverseLowerBound(e){let t=this.$(this.Y,e);return new a(t,this.h,this)}reverseUpperBound(e){let t=this.rr(this.Y,e);return new a(t,this.h,this)}union(e){let t=this;return e.forEach((function(e){t.insert(e)})),this.i}[Symbol.iterator](){return this.K(this.Y)}};e.default=o})),Wu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(Fu()),r=n(Hu()),i=Pu();function n(e){return e&&e.t?e:{default:e}}var a=class e extends r.default{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){this.o===this.h&&(0,i.throwIteratorAccessError)();let e=this;return new Proxy([],{get:(t,r)=>"0"===r?e.o.u:"1"===r?e.o.l:void 0,set(t,r,i){if("1"!==r)throw new TypeError("props must be 1");return e.o.l=i,!0}})}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends t.default{constructor(e=[],t,r){super(t,r);let i=this;e.forEach((function(e){i.setElement(e[0],e[1])}))}*K(e){void 0!==e&&(yield*this.K(e.U),yield[e.u,e.l],yield*this.K(e.W))}begin(){return new a(this.h.U||this.h,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this.h.W||this.h,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){if(0===this.i)return;let e=this.h.U;return[e.u,e.l]}back(){if(0===this.i)return;let e=this.h.W;return[e.u,e.l]}lowerBound(e){let t=this.X(this.Y,e);return new a(t,this.h,this)}upperBound(e){let t=this.Z(this.Y,e);return new a(t,this.h,this)}reverseLowerBound(e){let t=this.$(this.Y,e);return new a(t,this.h,this)}reverseUpperBound(e){let t=this.rr(this.Y,e);return new a(t,this.h,this)}setElement(e,t,r){return this.M(e,t,r)}find(e){let t=this.I(this.Y,e);return new a(t,this.h,this)}getElementByKey(e){return this.I(this.Y,e).l}union(e){let t=this;return e.forEach((function(e){t.setElement(e[0],e[1])})),this.i}[Symbol.iterator](){return this.K(this.Y)}};e.default=o})),Vu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=function(e){let t=typeof e;return"object"===t&&null!==e||"function"===t}})),$u=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t,r=Bu(),i=(t=Vu())&&t.t?t:{default:t},n=Pu();var a=class extends r.ContainerIterator{constructor(e,t,r){super(r),this.o=e,this.h=t,0===this.iteratorType?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=a;var o=class extends r.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(e){let{L:t,B:r}=e;t.B=r,r.L=t,e===this.p&&(this.p=r),e===this._&&(this._=t),this.i-=1}M(e,t,r){let n;if(void 0===r&&(r=(0,i.default)(e)),r){let r=e[this.HASH_TAG];if(void 0!==r)return this.H[r].l=t,this.i;Object.defineProperty(e,this.HASH_TAG,{value:this.H.length,configurable:!0}),n={u:e,l:t,L:this._,B:this.h},this.H.push(n)}else{let r=this.g[e];if(r)return r.l=t,this.i;n={u:e,l:t,L:this._,B:this.h},this.g[e]=n}return 0===this.i?(this.p=n,this.h.B=n):this._.B=n,this._=n,this.h.L=n,++this.i}I(e,t){if(void 0===t&&(t=(0,i.default)(e)),t){let t=e[this.HASH_TAG];return void 0===t?this.h:this.H[t]}return this.g[e]||this.h}clear(){let e=this.HASH_TAG;this.H.forEach((function(t){delete t.u[e]})),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(e,t){let r;if(void 0===t&&(t=(0,i.default)(e)),t){let t=e[this.HASH_TAG];if(void 0===t)return!1;delete e[this.HASH_TAG],r=this.H[t],delete this.H[t]}else{if(r=this.g[e],void 0===r)return!1;delete this.g[e]}return this.V(r),!0}eraseElementByIterator(e){let t=e.o;return t===this.h&&(0,n.throwIteratorAccessError)(),this.V(t),e.next()}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return this.V(t),this.i}};e.HashContainer=o})),qu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=$u(),r=Pu(),i=class e extends t.HashContainerIterator{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},n=class extends t.HashContainer{constructor(e=[]){super();let t=this;e.forEach((function(e){t.insert(e)}))}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(e,t){return this.M(e,void 0,t)}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return t.u}find(e,t){let r=this.I(e,t);return new i(r,this.h,this)}forEach(e){let t=0,r=this.p;for(;r!==this.h;)e(r.u,t++,this),r=r.B}[Symbol.iterator](){return function*(){let e=this.p;for(;e!==this.h;)yield e.u,e=e.B}.bind(this)()}};e.default=n})),Yu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=$u(),i=(t=Vu())&&t.t?t:{default:t},n=Pu();var a=class e extends r.HashContainerIterator{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let e=this;return new Proxy([],{get:(t,r)=>"0"===r?e.o.u:"1"===r?e.o.l:void 0,set(t,r,i){if("1"!==r)throw new TypeError("props must be 1");return e.o.l=i,!0}})}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends r.HashContainer{constructor(e=[]){super();let t=this;e.forEach((function(e){t.setElement(e[0],e[1])}))}begin(){return new a(this.p,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this._,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){if(0!==this.i)return[this.p.u,this.p.l]}back(){if(0!==this.i)return[this._.u,this._.l]}setElement(e,t,r){return this.M(e,t,r)}getElementByKey(e,t){if(void 0===t&&(t=(0,i.default)(e)),t){let t=e[this.HASH_TAG];return void 0!==t?this.H[t].l:void 0}let r=this.g[e];return r?r.l:void 0}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return[t.u,t.l]}find(e,t){let r=this.I(e,t);return new a(r,this.h,this)}forEach(e){let t=0,r=this.p;for(;r!==this.h;)e([r.u,r.l],t++,this),r=r.B}[Symbol.iterator](){return function*(){let e=this.p;for(;e!==this.h;)yield[e.u,e.l],e=e.B}.bind(this)()}};e.default=o})),Ku=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return n.default}});var t=d(Iu()),r=d(Ru()),i=d(Mu()),n=d(Nu()),a=d(Du()),o=d(Lu()),s=d(zu()),l=d(Wu()),c=d(qu()),h=d(Yu());function d(e){return e&&e.t?e:{default:e}}})),Gu=Js(((e,t)=>{el(),$c(),Rc();var r=Ku().OrderedSet,i=uu()("number-allocator:trace"),n=uu()("number-allocator:error");function a(e,t){this.low=e,this.high=t}function o(e,t){if(!(this instanceof o))return new o(e,t);this.min=e,this.max=t,this.ss=new r([],((e,t)=>e.compare(t))),i("Create"),this.clear()}a.prototype.equals=function(e){return this.low===e.low&&this.high===e.high},a.prototype.compare=function(e){return this.low<e.low&&this.high<e.low?-1:e.low<this.low&&e.high<this.low?1:0},o.prototype.firstVacant=function(){return 0===this.ss.size()?null:this.ss.front().low},o.prototype.alloc=function(){if(0===this.ss.size())return i("alloc():empty"),null;let e=this.ss.begin(),t=e.pointer.low,r=e.pointer.high,n=t;return n+1<=r?this.ss.updateKeyByIterator(e,new a(t+1,r)):this.ss.eraseElementByPos(0),i("alloc():"+n),n},o.prototype.use=function(e){let t=new a(e,e),r=this.ss.lowerBound(t);if(!r.equals(this.ss.end())){let n=r.pointer.low,o=r.pointer.high;return r.pointer.equals(t)?(this.ss.eraseElementByIterator(r),i("use():"+e),!0):!(n>e)&&(n===e?(this.ss.updateKeyByIterator(r,new a(n+1,o)),i("use():"+e),!0):o===e?(this.ss.updateKeyByIterator(r,new a(n,o-1)),i("use():"+e),!0):(this.ss.updateKeyByIterator(r,new a(e+1,o)),this.ss.insert(new a(n,e-1)),i("use():"+e),!0))}return i("use():failed"),!1},o.prototype.free=function(e){if(e<this.min||e>this.max)return void n("free():"+e+" is out of range");let t=new a(e,e),r=this.ss.upperBound(t);if(r.equals(this.ss.end())){if(r.equals(this.ss.begin()))return void this.ss.insert(t);r.pre();let i=r.pointer.high;r.pointer.high+1===e?this.ss.updateKeyByIterator(r,new a(i,e)):this.ss.insert(t)}else if(r.equals(this.ss.begin()))if(e+1===r.pointer.low){let t=r.pointer.high;this.ss.updateKeyByIterator(r,new a(e,t))}else this.ss.insert(t);else{let i=r.pointer.low,n=r.pointer.high;r.pre();let o=r.pointer.low;r.pointer.high+1===e?e+1===i?(this.ss.eraseElementByIterator(r),this.ss.updateKeyByIterator(r,new a(o,n))):this.ss.updateKeyByIterator(r,new a(o,e)):e+1===i?(this.ss.eraseElementByIterator(r.next()),this.ss.insert(new a(e,n))):this.ss.insert(t)}i("free():"+e)},o.prototype.clear=function(){i("clear()"),this.ss.clear(),this.ss.insert(new a(this.min,this.max))},o.prototype.intervalCount=function(){return this.ss.size()},o.prototype.dump=function(){for(let e of this.ss);},t.exports=o})),Qu=Js(((e,t)=>{el(),$c(),Rc();var r=Gu();t.exports.NumberAllocator=r})),Ju=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=Cu(),r=Qu();e.default=class{constructor(e){e>0&&(this.aliasToTopic=new t.LRUCache({max:e}),this.topicToAlias={},this.numberAllocator=new r.NumberAllocator(1,e),this.max=e,this.length=0)}put(e,t){if(0===t||t>this.max)return!1;let r=this.aliasToTopic.get(t);return r&&delete this.topicToAlias[r],this.aliasToTopic.set(t,e),this.topicToAlias[e]=t,this.numberAllocator.use(t),this.length=this.aliasToTopic.size,!0}getTopicByAlias(e){return this.aliasToTopic.get(e)}getAliasByTopic(e){let t=this.topicToAlias[e];return typeof t<"u"&&this.aliasToTopic.get(t),t}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}}})),Xu=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=ku(),i=t(Ju()),n=Tu();e.default=(e,t)=>{e.log("_handleConnack");let{options:a}=e,o=5===a.protocolVersion?t.reasonCode:t.returnCode;if(clearTimeout(e.connackTimer),delete e.topicAliasSend,t.properties){if(t.properties.topicAliasMaximum){if(t.properties.topicAliasMaximum>65535)return void e.emit("error",new Error("topicAliasMaximum from broker is out of range"));t.properties.topicAliasMaximum>0&&(e.topicAliasSend=new i.default(t.properties.topicAliasMaximum))}t.properties.serverKeepAlive&&a.keepalive&&(a.keepalive=t.properties.serverKeepAlive,e._shiftPingInterval()),t.properties.maximumPacketSize&&(a.properties||(a.properties={}),a.properties.maximumPacketSize=t.properties.maximumPacketSize)}if(0===o)e.reconnecting=!1,e._onConnect(t);else if(o>0){let t=new n.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[o]}`,o);e.emit("error",t)}}})),Zu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});e.default=(e,t,r)=>{e.log("handling pubrel packet");let i=typeof r<"u"?r:e.noop,{messageId:n}=t,a={cmd:"pubcomp",messageId:n};e.incomingStore.get(t,((t,r)=>{t?e._sendPacket(a,i):(e.emit("message",r.topic,r.payload,r),e.handleMessage(r,(t=>{if(t)return i(t);e.incomingStore.del(r,e.noop),e._sendPacket(a,i)})))}))}})),ep=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Su()),i=t(Au()),n=t(Xu()),a=t(ku()),o=t(Zu());e.default=(e,t,s)=>{let{options:l}=e;if(5===l.protocolVersion&&l.properties&&l.properties.maximumPacketSize&&l.properties.maximumPacketSize<t.length)return e.emit("error",new Error(`exceeding packets size ${t.cmd}`)),e.end({reasonCode:149,properties:{reasonString:"Maximum packet size was exceeded"}}),e;switch(e.log("_handlePacket :: emitting packetreceive"),e.emit("packetreceive",t),t.cmd){case"publish":(0,r.default)(e,t,s);break;case"puback":case"pubrec":case"pubcomp":case"suback":case"unsuback":(0,a.default)(e,t),s();break;case"pubrel":(0,o.default)(e,t,s);break;case"connack":(0,n.default)(e,t),s();break;case"auth":(0,i.default)(e,t),s();break;case"pingresp":e.pingResp=!0,s();break;case"disconnect":e.emit("disconnect",t),s();break;default:e.log("_handlePacket :: unknown command"),s()}}})),tp=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var r=t((kh(),Zs(bh))),i=Tu(),n=class{};e.TypedEventEmitter=n,(0,i.applyMixin)(n,r.default)})),rp=Js(((e,t)=>{var r,i;el(),$c(),Rc(),r=e,i=function(e){var t,r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,i=536870912,n=2*i,a=new WeakMap,o=function(e,t){return function(a){var o=t.get(a),s=void 0===o?a.size:o<n?o+1:0;if(!a.has(s))return e(a,s);if(a.size<i){for(;a.has(s);)s=Math.floor(Math.random()*n);return e(a,s)}if(a.size>r)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;a.has(s);)s=Math.floor(Math.random()*r);return e(a,s)}}((t=a,function(e,r){return t.set(e,r),r}),a),s=function(e){return function(t){var r=e(t);return t.add(r),r}}(o);e.addUniqueNumber=s,e.generateUniqueNumber=o},"object"==typeof e&&typeof t<"u"?i(e):"function"==typeof define&&define.amd?define(["exports"],i):i((r=typeof globalThis<"u"?globalThis:r||self).fastUniqueNumbers={})})),ip=Js(((e,t)=>{var r,i;el(),$c(),Rc(),r=e,i=function(e,t){e.load=function(e){var r=new Map([[0,function(){}]]),i=new Map([[0,function(){}]]),n=new Map,a=new Worker(e);return a.addEventListener("message",(function(e){var t=e.data;if(function(e){return void 0!==e.method&&"call"===e.method}(t)){var a=t.params,o=a.timerId,s=a.timerType;if("interval"===s){var l=r.get(o);if("number"==typeof l){var c=n.get(l);if(void 0===c||c.timerId!==o||c.timerType!==s)throw new Error("The timer is in an undefined state.")}else{if(!(typeof l<"u"))throw new Error("The timer is in an undefined state.");l()}}else if("timeout"===s){var h=i.get(o);if("number"==typeof h){var d=n.get(h);if(void 0===d||d.timerId!==o||d.timerType!==s)throw new Error("The timer is in an undefined state.")}else{if(!(typeof h<"u"))throw new Error("The timer is in an undefined state.");h(),i.delete(o)}}}else{if(!function(e){return null===e.error&&"number"==typeof e.id}(t)){var u=t.error.message;throw new Error(u)}var p=t.id,f=n.get(p);if(void 0===f)throw new Error("The timer is in an undefined state.");var g=f.timerId,m=f.timerType;n.delete(p),"interval"===m?r.delete(g):i.delete(g)}})),{clearInterval:function(e){var i=t.generateUniqueNumber(n);n.set(i,{timerId:e,timerType:"interval"}),r.set(e,i),a.postMessage({id:i,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:function(e){var r=t.generateUniqueNumber(n);n.set(r,{timerId:e,timerType:"timeout"}),i.set(e,r),a.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:function(e,i){var n=t.generateUniqueNumber(r);return r.set(n,(function(){e(),"function"==typeof r.get(n)&&a.postMessage({id:null,method:"set",params:{delay:i,now:performance.now(),timerId:n,timerType:"interval"}})})),a.postMessage({id:null,method:"set",params:{delay:i,now:performance.now(),timerId:n,timerType:"interval"}}),n},setTimeout:function(e,r){var n=t.generateUniqueNumber(i);return i.set(n,e),a.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}}},"object"==typeof e&&typeof t<"u"?i(e,rp()):"function"==typeof define&&define.amd?define(["exports","fast-unique-numbers"],i):i((r=typeof globalThis<"u"?globalThis:r||self).workerTimersBroker={},r.fastUniqueNumbers)})),np=Js(((e,t)=>{var r,i;el(),$c(),Rc(),r=e,i=function(e,t){var r,i,n,a=(r=t.load,i='(()=>{var e={67:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error(\'The given type "\'.concat(c,\'" is not supported\'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error(\'The given method "\'.concat(t.method,\'" is not supported\'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error(\'The given type "\'.concat(v,\'" is not supported\'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(67)})()})();',n=null,function(){if(null!==n)return n;var e=new Blob([i],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return n=r(t),setTimeout((function(){return URL.revokeObjectURL(t)})),n});e.clearInterval=function(e){return a().clearInterval(e)},e.clearTimeout=function(e){return a().clearTimeout(e)},e.setInterval=function(e,t){return a().setInterval(e,t)},e.setTimeout=function(e,t){return a().setTimeout(e,t)}},"object"==typeof e&&typeof t<"u"?i(e,ip()):"function"==typeof define&&define.amd?define(["exports","worker-timers-broker"],i):i((r=typeof globalThis<"u"?globalThis:r||self).workerTimers={},r.workerTimersBroker)})),ap=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.isWebWorker=void 0;var t=()=>{var e,t;return!("object"!=typeof self||null===(t=null===(e=null==self?void 0:self.constructor)||void 0===e?void 0:e.name)||void 0===t||!t.includes("WorkerGlobalScope"))},r=typeof window<"u"&&typeof window.document<"u"||t()||typeof navigator<"u"&&"ReactNative"===navigator.product;e.isWebWorker=t(),e.default=r})),op=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i};Object.defineProperty(e,"__esModule",{value:!0});var n=np(),a=i(ap());e.default=class{constructor(e,t){this._setTimeout=a.default&&!a.isWebWorker?n.setTimeout:(e,t)=>setTimeout(e,t),this._clearTimeout=a.default&&!a.isWebWorker?n.clearTimeout:e=>clearTimeout(e),this.keepalive=1e3*e,this.checkPing=t,this.setup()}setup(){this.timer=this._setTimeout((()=>{this.checkPing(),this.reschedule()}),this.keepalive)}clear(){this.timer&&(this._clearTimeout(this.timer),this.timer=null)}reschedule(){this.clear(),this.setup()}}})),sp=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i},n=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=n(qc()),o=n(yu()),s=n(bu()),l=nu(),c=n(_u()),h=i(xu()),d=n(uu()),u=n(Eu()),p=n(ep()),f=Tu(),g=tp(),m=n(op()),v=globalThis.setImmediate||((...e)=>{let t=e.shift();(0,f.nextTick)((()=>{t(...e)}))}),y={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:3e4,clean:!0,resubscribe:!0,writeCache:!0},b=class e extends g.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(t,r){super(),this.options=r||{};for(let e in y)typeof this.options[e]>"u"?this.options[e]=y[e]:this.options[e]=r[e];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: options.protocol",r.protocol),this.log("MqttClient :: options.protocolVersion",r.protocolVersion),this.log("MqttClient :: options.username",r.username),this.log("MqttClient :: options.keepalive",r.keepalive),this.log("MqttClient :: options.reconnectPeriod",r.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",r.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",r.properties?r.properties.topicAliasMaximum:void 0),this.options.clientId="string"==typeof r.clientId?r.clientId:e.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=5===r.protocolVersion&&r.customHandleAcks?r.customHandleAcks:(...e)=>{e[3](null,0)},this.options.writeCache||(o.default.writeToStream.cacheNumbers=!1),this.streamBuilder=t,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new s.default:this.options.messageIdProvider,this.outgoingStore=r.outgoingStore||new u.default,this.incomingStore=r.incomingStore||new u.default,this.queueQoSZero=void 0===r.queueQoSZero||r.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.pingTimer=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,r.properties&&r.properties.topicAliasMaximum>0&&(r.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new a.default(r.properties.topicAliasMaximum)),this.on("connect",(()=>{let{queue:e}=this,t=()=>{let r=e.shift();this.log("deliver :: entry %o",r);let i=null;if(!r)return void this._resubscribe();i=r.packet,this.log("deliver :: call _sendPacket for %o",i);let n=!0;i.messageId&&0!==i.messageId&&(this.messageIdProvider.register(i.messageId)||(n=!1)),n?this._sendPacket(i,(e=>{r.cb&&r.cb(e),t()})):(this.log("messageId: %d has already used. The message is skipped and removed.",i.messageId),t())};this.log("connect :: sending queued packets"),t()})),this.on("close",(()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this.log("close :: clearing ping timer"),null!==this.pingTimer&&(this.pingTimer.clear(),this.pingTimer=null),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()})),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(e,t){t()}handleMessage(e,t){t()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var e;let t=new l.Writable,r=o.default.parser(this.options),i=null,n=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),r.on("packet",(e=>{this.log("parser :: on packet push to packets array."),n.push(e)}));let a=()=>{this.log("work :: getting next packet in queue");let e=n.shift();if(e)this.log("work :: packet pulled from queue"),(0,p.default)(this,e,s);else{this.log("work :: no packets in queue");let e=i;i=null,this.log("work :: done flag is %s",!!e),e&&e()}},s=()=>{if(n.length)(0,f.nextTick)(a);else{let e=i;i=null,e()}};t._write=(e,t,n)=>{i=n,this.log("writable stream :: parsing buffer"),r.parse(e),a()};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(t),this.stream.on("error",(e=>{this.log("streamErrorHandler :: error",e.message),e.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",e)):this.noop(e)})),this.stream.on("close",(()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")})),this.log("connect: sending packet `connect`");let c={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(c.will=Object.assign(Object.assign({},this.options.will),{payload:null===(e=this.options.will)||void 0===e?void 0:e.payload})),this.topicAliasRecv&&(c.properties||(c.properties={}),this.topicAliasRecv&&(c.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(c),r.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end((()=>this.emit("error",new Error("Packet has no Authentication Method")))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&"object"==typeof this.options.authPacket){let e=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(e)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout((()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this._cleanUp(!0)}),this.options.connectTimeout),this}publish(e,t,r,i){this.log("publish :: message `%s` to topic `%s`",t,e);let{options:n}=this;"function"==typeof r&&(i=r,r=null),r=r||{},r=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),r);let{qos:a,retain:o,dup:s,properties:l,cbStorePut:c}=r;if(this._checkDisconnecting(i))return this;let h=()=>{let r=0;if((1===a||2===a)&&(r=this._nextId(),null===r))return this.log("No messageId left"),!1;let h={cmd:"publish",topic:e,payload:t,qos:a,retain:o,messageId:r,dup:s};switch(5===n.protocolVersion&&(h.properties=l),this.log("publish :: qos",a),a){case 1:case 2:this.outgoing[h.messageId]={volatile:!1,cb:i||this.noop},this.log("MqttClient:publish: packet cmd: %s",h.cmd),this._sendPacket(h,void 0,c);break;default:this.log("MqttClient:publish: packet cmd: %s",h.cmd),this._sendPacket(h,i,c)}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!h())&&this._storeProcessingQueue.push({invoke:h,cbStorePut:r.cbStorePut,callback:i}),this}publishAsync(e,t,r){return new Promise(((i,n)=>{this.publish(e,t,r,((e,t)=>{e?n(e):i(t)}))}))}subscribe(e,t,r){let i=this.options.protocolVersion;"function"==typeof t&&(r=t),r=r||this.noop;let n=!1,a=[];"string"==typeof e?a=e=[e]:Array.isArray(e)?a=e:"object"==typeof e&&(n=e.resubscribe,delete e.resubscribe,a=Object.keys(e));let o=h.validateTopics(a);if(null!==o)return v(r,new Error(`Invalid topic ${o}`)),this;if(this._checkDisconnecting(r))return this.log("subscribe: discconecting true"),this;let s={qos:0};5===i&&(s.nl=!1,s.rap=!1,s.rh=0);let l=(t=Object.assign(Object.assign({},s),t)).properties,c=[],d=(e,r)=>{if(r=r||t,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,e)||this._resubscribeTopics[e].qos<r.qos||n){let t={topic:e,qos:r.qos};5===i&&(t.nl=r.nl,t.rap=r.rap,t.rh=r.rh,t.properties=l),this.log("subscribe: pushing topic `%s` and qos `%s` to subs list",t.topic,t.qos),c.push(t)}};if(Array.isArray(e)?e.forEach((e=>{this.log("subscribe: array topic %s",e),d(e)})):Object.keys(e).forEach((t=>{this.log("subscribe: object topic %s, %o",t,e[t]),d(t,e[t])})),!c.length)return r(null,[]),this;let u=()=>{let e=this._nextId();if(null===e)return this.log("No messageId left"),!1;let t={cmd:"subscribe",subscriptions:c,messageId:e};if(l&&(t.properties=l),this.options.resubscribe){this.log("subscribe :: resubscribe true");let e=[];c.forEach((t=>{if(this.options.reconnectPeriod>0){let r={qos:t.qos};5===i&&(r.nl=t.nl||!1,r.rap=t.rap||!1,r.rh=t.rh||0,r.properties=t.properties),this._resubscribeTopics[t.topic]=r,e.push(t.topic)}})),this.messageIdToTopic[t.messageId]=e}return this.outgoing[t.messageId]={volatile:!0,cb(e,t){if(!e){let{granted:e}=t;for(let t=0;t<e.length;t+=1)c[t].qos=e[t]}r(e,c)}},this.log("subscribe :: call _sendPacket"),this._sendPacket(t),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!u())&&this._storeProcessingQueue.push({invoke:u,callback:r}),this}subscribeAsync(e,t){return new Promise(((r,i)=>{this.subscribe(e,t,((e,t)=>{e?i(e):r(t)}))}))}unsubscribe(e,t,r){"string"==typeof e&&(e=[e]),"function"==typeof t&&(r=t),r=r||this.noop;let i=h.validateTopics(e);if(null!==i)return v(r,new Error(`Invalid topic ${i}`)),this;if(this._checkDisconnecting(r))return this;let n=()=>{let i=this._nextId();if(null===i)return this.log("No messageId left"),!1;let n={cmd:"unsubscribe",messageId:i,unsubscriptions:[]};return"string"==typeof e?n.unsubscriptions=[e]:Array.isArray(e)&&(n.unsubscriptions=e),this.options.resubscribe&&n.unsubscriptions.forEach((e=>{delete this._resubscribeTopics[e]})),"object"==typeof t&&t.properties&&(n.properties=t.properties),this.outgoing[n.messageId]={volatile:!0,cb:r},this.log("unsubscribe: call _sendPacket"),this._sendPacket(n),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!n())&&this._storeProcessingQueue.push({invoke:n,callback:r}),this}unsubscribeAsync(e,t){return new Promise(((r,i)=>{this.unsubscribe(e,t,((e,t)=>{e?i(e):r(t)}))}))}end(e,t,r){this.log("end :: (%s)",this.options.clientId),(null==e||"boolean"!=typeof e)&&(r=r||t,t=e,e=!1),"object"!=typeof t&&(r=r||t,t=null),this.log("end :: cb? %s",!!r),(!r||"function"!=typeof r)&&(r=this.noop);let i=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close((e=>{this.outgoingStore.close((t=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),r){let i=e||t;this.log("end :: closeStores: invoking callback with args"),r(i)}}))})),this._deferredReconnect&&this._deferredReconnect()},n=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,e),this._cleanUp(e,(()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,f.nextTick)(i)}),t)};return this.disconnecting?(r(),this):(this._clearReconnect(),this.disconnecting=!0,!e&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,n,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),n()),this)}endAsync(e,t){return new Promise(((r,i)=>{this.end(e,t,(e=>{e?i(e):r()}))}))}removeOutgoingMessage(e){if(this.outgoing[e]){let{cb:t}=this.outgoing[e];this._removeOutgoingAndStoreMessage(e,(()=>{t(new Error("Message removed"))}))}return this}reconnect(e){this.log("client reconnect");let t=()=>{e?(this.options.incomingStore=e.incomingStore,this.options.outgoingStore=e.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new u.default,this.outgoingStore=this.options.outgoingStore||new u.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=t:t(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach((e=>{this.outgoing[e].volatile&&"function"==typeof this.outgoing[e].cb&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])})))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach((e=>{"function"==typeof this.outgoing[e].cb&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])})))}_removeTopicAliasAndRecoverTopicName(e){let t;e.properties&&(t=e.properties.topicAlias);let r=e.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",t,r),0===r.length){if(typeof t>"u")return new Error("Unregistered Topic Alias");if(r=this.topicAliasSend.getTopicByAlias(t),typeof r>"u")return new Error("Unregistered Topic Alias");e.topic=r}t&&delete e.properties.topicAlias}_checkDisconnecting(e){return this.disconnecting&&(e&&e!==this.noop?e(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end((()=>{this.connect()})),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval((()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()}),this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(e,t,r={}){if(t&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",t)),this.log("_cleanUp :: forced? %s",e),e)0===this.options.reconnectPeriod&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let e=Object.assign({cmd:"disconnect"},r);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(e,(()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),v((()=>{this.stream.end((()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)}))}))}))}this.disconnecting||(this.log("_cleanUp :: client not disconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),null!==this.pingTimer&&(this.log("_cleanUp :: clearing pingTimer"),this.pingTimer.clear(),this.pingTimer=null),t&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",t),t())}_storeAndSend(e,t,r){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",e.cmd);let i,n=e;if("publish"===n.cmd&&(n=(0,c.default)(e),i=this._removeTopicAliasAndRecoverTopicName(n),i))return t&&t(i);this.outgoingStore.put(n,(i=>{if(i)return t&&t(i);r(),this._writePacket(e,t)}))}_applyTopicAlias(e){if(5===this.options.protocolVersion&&"publish"===e.cmd){let t;e.properties&&(t=e.properties.topicAlias);let r=e.topic.toString();if(this.topicAliasSend)if(t){if(0!==r.length&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",r,t),!this.topicAliasSend.put(r,t)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,t),new Error("Sending Topic Alias out of range")}else 0!==r.length&&(this.options.autoAssignTopicAlias?(t=this.topicAliasSend.getAliasByTopic(r),t?(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",r,t)):(t=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(r,t),e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",r,t))):this.options.autoUseTopicAlias&&(t=this.topicAliasSend.getAliasByTopic(r),t&&(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",r,t))));else if(t)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,t),new Error("Sending Topic Alias out of range")}}_noop(e){this.log("noop ::",e)}_writePacket(e,t){this.log("_writePacket :: packet: %O",e),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",e),this._shiftPingInterval(),this.log("_writePacket :: writing to stream");let r=o.default.writeToStream(e,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",r),!r&&t&&t!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",t)):t&&(this.log("_writePacket :: invoking cb"),t())}_sendPacket(e,t,r,i){this.log("_sendPacket :: (%s) :: start",this.options.clientId),r=r||this.noop,t=t||this.noop;let n=this._applyTopicAlias(e);if(n)t(n);else{if(!this.connected)return"auth"===e.cmd?void this._writePacket(e,t):(this.log("_sendPacket :: client not connected. Storing packet offline."),void this._storePacket(e,t,r));if(i)this._writePacket(e,t);else{switch(e.cmd){case"publish":break;case"pubrel":return void this._storeAndSend(e,t,r);default:return void this._writePacket(e,t)}switch(e.qos){case 2:case 1:this._storeAndSend(e,t,r);break;default:this._writePacket(e,t)}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}}}_storePacket(e,t,r){this.log("_storePacket :: packet: %o",e),this.log("_storePacket :: cb? %s",!!t),r=r||this.noop;let i=e;if("publish"===i.cmd){i=(0,c.default)(e);let r=this._removeTopicAliasAndRecoverTopicName(i);if(r)return t&&t(r)}let n=i.qos||0;0===n&&this.queueQoSZero||"publish"!==i.cmd?this.queue.push({packet:i,cb:t}):n>0?(t=this.outgoing[i.messageId]?this.outgoing[i.messageId].cb:null,this.outgoingStore.put(i,(e=>{if(e)return t&&t(e);r()}))):t&&t(new Error("No connection to broker"))}_setupPingTimer(){this.log("_setupPingTimer :: keepalive %d (seconds)",this.options.keepalive),!this.pingTimer&&this.options.keepalive&&(this.pingResp=!0,this.pingTimer=new m.default(this.options.keepalive,(()=>{this._checkPing()})))}_shiftPingInterval(){this.pingTimer&&this.options.keepalive&&this.options.reschedulePings&&this.pingTimer.reschedule()}_checkPing(){this.log("_checkPing :: checking ping..."),this.pingResp?(this.log("_checkPing :: ping response received. Clearing flag and sending `pingreq`"),this.pingResp=!1,this._sendPacket({cmd:"pingreq"})):(this.log("_checkPing :: calling _cleanUp with force true"),this._cleanUp(!0))}_resubscribe(){this.log("_resubscribe");let e=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&e.length>0)if(this.options.resubscribe)if(5===this.options.protocolVersion){this.log("_resubscribe: protocolVersion 5");for(let t=0;t<e.length;t++){let r={};r[e[t]]=this._resubscribeTopics[e[t]],r.resubscribe=!0,this.subscribe(r,{properties:r[e[t]].properties})}}else this._resubscribeTopics.resubscribe=!0,this.subscribe(this._resubscribeTopics);else this._resubscribeTopics={};this._firstConnection=!1}_onConnect(e){if(this.disconnected)return void this.emit("connect",e);this.connackPacket=e,this.messageIdProvider.clear(),this._setupPingTimer(),this.connected=!0;let t=()=>{let r=this.outgoingStore.createStream(),i=()=>{r.destroy(),r=null,this._flushStoreProcessingQueue(),n()},n=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",i),r.on("error",(e=>{n(),this._flushStoreProcessingQueue(),this.removeListener("close",i),this.emit("error",e)}));let a=()=>{if(!r)return;let e,t=r.read(1);t?(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[t.messageId]?a():this.disconnecting||this.reconnectTimer?r.destroy&&r.destroy():(e=this.outgoing[t.messageId]?this.outgoing[t.messageId].cb:null,this.outgoing[t.messageId]={volatile:!1,cb(t,r){e&&e(t,r),a()}},this._packetIdsDuringStoreProcessing[t.messageId]=!0,this.messageIdProvider.register(t.messageId)?this._sendPacket(t,void 0,void 0,!0):this.log("messageId: %d has already used.",t.messageId))):r.once("readable",a)};r.on("end",(()=>{let r=!0;for(let e in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[e]){r=!1;break}this.removeListener("close",i),r?(n(),this._invokeAllStoreProcessingQueue(),this.emit("connect",e)):t()})),a()};t()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let e=this._storeProcessingQueue[0];if(e&&e.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let e of this._storeProcessingQueue)e.cbStorePut&&e.cbStorePut(new Error("Connection closed")),e.callback&&e.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(e,t){delete this.outgoing[e],this.outgoingStore.del({messageId:e},((r,i)=>{t(r,i),this.messageIdProvider.deallocate(e),this._invokeStoreProcessingQueue()}))}};e.default=b})),lp=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=Qu();e.default=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(e){return this.numberAllocator.use(e)}deallocate(e){this.numberAllocator.free(e)}clear(){this.numberAllocator.clear()}}}));function cp(e){throw new RangeError(gp[e])}function hp(e,t){let r=e.split("@"),i="";return r.length>1&&(i=r[0]+"@",e=r[1]),i+function(e,t){let r=[],i=e.length;for(;i--;)r[i]=t(e[i]);return r}((e=e.replace(fp,".")).split("."),t).join(".")}function dp(e){let t=[],r=0,i=e.length;for(;r<i;){let n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<i){let i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),r--)}else t.push(n)}return t}var up,pp,fp,gp,mp,vp,yp,bp,wp,_p,xp,Ep=Qs((()=>{el(),$c(),Rc(),up=/^xn--/,pp=/[^\0-\x7E]/,fp=/[\x2E\u3002\uFF0E\uFF61]/g,gp={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},mp=Math.floor,vp=String.fromCharCode,yp=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},bp=function(e,t,r){let i=0;for(e=r?mp(e/700):e>>1,e+=mp(e/t);e>455;i+=36)e=mp(e/35);return mp(i+36*e/(e+38))},_p=function(e){let t=[],r=(e=dp(e)).length,i=128,n=0,a=72;for(let l of e)l<128&&t.push(vp(l));let o=t.length,s=o;for(o&&t.push("-");s<r;){let r=2147483647;for(let t of e)t>=i&&t<r&&(r=t);let l=s+1;r-i>mp((2147483647-n)/l)&&cp("overflow"),n+=(r-i)*l,i=r;for(let c of e)if(c<i&&++n>2147483647&&cp("overflow"),c==i){let e=n;for(let r=36;;r+=36){let i=r<=a?1:r>=a+26?26:r-a;if(e<i)break;let n=e-i,o=36-i;t.push(vp(yp(i+n%o,0))),e=mp(n/o)}t.push(vp(yp(e,0))),a=bp(n,l,s==o),n=0,++s}++n,++i}return t.join("")},xp={version:"2.1.0",ucs2:{decode:dp,encode:e=>String.fromCodePoint(...e)},decode:wp=function(e){let t=[],r=e.length,i=0,n=128,a=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let l=0;l<o;++l)e.charCodeAt(l)>=128&&cp("not-basic"),t.push(e.charCodeAt(l));for(let l=o>0?o+1:0;l<r;){let o=i;for(let t=1,n=36;;n+=36){l>=r&&cp("invalid-input");let o=(s=e.charCodeAt(l++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:36;(o>=36||o>mp((2147483647-i)/t))&&cp("overflow"),i+=o*t;let c=n<=a?1:n>=a+26?26:n-a;if(o<c)break;let h=36-c;t>mp(2147483647/h)&&cp("overflow"),t*=h}let c=t.length+1;a=bp(i-o,c,0==o),mp(i/c)>2147483647-n&&cp("overflow"),n+=mp(i/c),i%=c,t.splice(i++,0,n)}var s;return String.fromCodePoint(...t)},encode:_p,toASCII:function(e){return hp(e,(function(e){return pp.test(e)?"xn--"+_p(e):e}))},toUnicode:function(e){return hp(e,(function(e){return up.test(e)?wp(e.slice(4).toLowerCase()):e}))}},xp.encode,xp.toASCII,xp.toUnicode,xp.ucs2,xp.version}));function Sp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Tp,kp,Ap,Cp,Bp=Qs((()=>{el(),$c(),Rc(),Tp=function(e,t,r,i){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var a=/\+/g;e=e.split(t);var o=1e3;i&&"number"==typeof i.maxKeys&&(o=i.maxKeys);var s=e.length;o>0&&s>o&&(s=o);for(var l=0;l<s;++l){var c,h,d,u,p=e[l].replace(a,"%20"),f=p.indexOf(r);f>=0?(c=p.substr(0,f),h=p.substr(f+1)):(c=p,h=""),d=decodeURIComponent(c),u=decodeURIComponent(h),Sp(n,d)?Array.isArray(n[d])?n[d].push(u):n[d]=[n[d],u]:n[d]=u}return n},kp=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},Ap=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var n=encodeURIComponent(kp(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return n+encodeURIComponent(kp(e))})).join(t):n+encodeURIComponent(kp(e[i]))})).join(t):i?encodeURIComponent(kp(i))+r+encodeURIComponent(kp(e)):""},(Cp={}).decode=Cp.parse=Tp,Cp.encode=Cp.stringify=Ap,Cp.decode,Cp.encode,Cp.parse,Cp.stringify}));function Ip(){throw new Error("setTimeout has not been defined")}function Rp(){throw new Error("clearTimeout has not been defined")}function Mp(e){if(Lp===setTimeout)return setTimeout(e,0);if((Lp===Ip||!Lp)&&setTimeout)return Lp=setTimeout,setTimeout(e,0);try{return Lp(e,0)}catch{try{return Lp.call(null,e,0)}catch{return Lp.call(this||Fp,e,0)}}}function Op(){Vp&&zp&&(Vp=!1,zp.length?Wp=zp.concat(Wp):$p=-1,Wp.length&&Pp())}function Pp(){if(!Vp){var e=Mp(Op);Vp=!0;for(var t=Wp.length;t;){for(zp=Wp,Wp=[];++$p<t;)zp&&zp[$p].run();$p=-1,t=Wp.length}zp=null,Vp=!1,function(e){if(Up===clearTimeout)return clearTimeout(e);if((Up===Rp||!Up)&&clearTimeout)return Up=clearTimeout,clearTimeout(e);try{Up(e)}catch{try{return Up.call(null,e)}catch{return Up.call(this||Fp,e)}}}(e)}}function jp(e,t){(this||Fp).fun=e,(this||Fp).array=t}function Np(){}var Dp,Lp,Up,Fp,Hp,zp,Wp,Vp,$p,qp,Yp=Qs((()=>{el(),$c(),Rc(),Fp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,Hp=Dp={},function(){try{Lp="function"==typeof setTimeout?setTimeout:Ip}catch{Lp=Ip}try{Up="function"==typeof clearTimeout?clearTimeout:Rp}catch{Up=Rp}}(),Wp=[],Vp=!1,$p=-1,Hp.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Wp.push(new jp(e,t)),1!==Wp.length||Vp||Mp(Pp)},jp.prototype.run=function(){(this||Fp).fun.apply(null,(this||Fp).array)},Hp.title="browser",Hp.browser=!0,Hp.env={},Hp.argv=[],Hp.version="",Hp.versions={},Hp.on=Np,Hp.addListener=Np,Hp.once=Np,Hp.off=Np,Hp.removeListener=Np,Hp.removeAllListeners=Np,Hp.emit=Np,Hp.prependListener=Np,Hp.prependOnceListener=Np,Hp.listeners=function(e){return[]},Hp.binding=function(e){throw new Error("process.binding is not supported")},Hp.cwd=function(){return"/"},Hp.chdir=function(e){throw new Error("process.chdir is not supported")},Hp.umask=function(){return 0},qp=Dp,qp.argv,qp.binding,qp.browser,qp.chdir,qp.cwd,qp.emit,qp.env,qp.listeners,qp.nextTick,qp.off,qp.on,qp.once,qp.prependListener,qp.prependOnceListener,qp.removeAllListeners,qp.removeListener,qp.title,qp.umask,qp.version,qp.versions}));function Kp(){if(Qp)return Gp;Qp=!0;var e,t,r=Gp={};function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch{try{return e.call(null,t,0)}catch{return e.call(this||Jp,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch{e=i}try{t="function"==typeof clearTimeout?clearTimeout:n}catch{t=n}}();var o,s=[],l=!1,c=-1;function h(){!l||!o||(l=!1,o.length?s=o.concat(s):c=-1,s.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var r=s.length;r;){for(o=s,s=[];++c<r;)o&&o[c].run();c=-1,r=s.length}o=null,l=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===n||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{return t(e)}catch{try{return t.call(null,e)}catch{return t.call(this||Jp,e)}}}(e)}}function u(e,t){(this||Jp).fun=e,(this||Jp).array=t}function p(){}return r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new u(e,t)),1===s.length&&!l&&a(d)},u.prototype.run=function(){(this||Jp).fun.apply(null,(this||Jp).array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0},Gp}var Gp,Qp,Jp,Xp,Zp=Qs((()=>{el(),$c(),Rc(),Gp={},Qp=!1,Jp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,(Xp=Kp()).platform="browser",Xp.addListener,Xp.argv,Xp.binding,Xp.browser,Xp.chdir,Xp.cwd,Xp.emit,Xp.env,Xp.listeners,Xp.nextTick,Xp.off,Xp.on,Xp.once,Xp.prependListener,Xp.prependOnceListener,Xp.removeAllListeners,Xp.removeListener,Xp.title,Xp.umask,Xp.version,Xp.versions}));var ef,tf,rf,nf=Qs((()=>{el(),$c(),Rc(),Zp(),ef={},tf=!1,rf=function(){if(tf)return ef;tf=!0;var e=Xp;function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,i="",n=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(a!==s-1&&1!==o)if(a!==s-1&&2===o){if(i.length<2||2!==n||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",n=0):n=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),a=s,o=0;continue}}else if(2===i.length||1===i.length){i="",n=0,a=s,o=0;continue}t&&(i.length>0?i+="/..":i="..",n=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),n=s-a-1;a=s,o=0}else 46===r&&-1!==o?++o:o=-1}return i}var i={resolve:function(){for(var i,n="",a=!1,o=arguments.length-1;o>=-1&&!a;o--){var s;o>=0?s=arguments[o]:(void 0===i&&(i=e.cwd()),s=i),t(s),0!==s.length&&(n=s+"/"+n,a=47===s.charCodeAt(0))}return n=r(n,!a),a?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=r(e,!i)).length&&!i&&(e="."),e.length>0&&n&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];t(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=i.resolve(e))===(r=i.resolve(r)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var a=e.length,o=a-n,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,c=o<l?o:l,h=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else o>c&&(47===e.charCodeAt(n+d)?h=d:0===d&&(h=0));break}var u=e.charCodeAt(n+d);if(u!==r.charCodeAt(s+d))break;47===u&&(h=d)}var p="";for(d=n+h+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+h):(s+=h,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),i=47===r,n=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(r=e.charCodeAt(o))){if(!a){n=o;break}}else a=!1;return-1===n?i?"/":".":i&&1===n?"//":e.slice(0,n)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var i,n=0,a=-1,o=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!o){n=i+1;break}}else-1===l&&(o=!1,l=i+1),s>=0&&(c===r.charCodeAt(s)?-1==--s&&(a=i):(s=-1,a=l))}return n===a?a=l:-1===a&&(a=e.length),e.slice(n,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!o){n=i+1;break}}else-1===a&&(o=!1,a=i+1);return-1===a?"":e.slice(n,a)},extname:function(e){t(e);for(var r=-1,i=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===n&&(a=!1,n=s+1),46===l?-1===r?r=s:1!==o&&(o=1):-1!==r&&(o=-1);else if(!a){i=s+1;break}}return-1===r||-1===n||0===o||1===o&&r===n-1&&r===i+1?"":e.slice(r,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+i:r+e+i:i}("/",e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i,n=e.charCodeAt(0),a=47===n;a?(r.root="/",i=1):i=0;for(var o=-1,s=0,l=-1,c=!0,h=e.length-1,d=0;h>=i;--h)if(47!==(n=e.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===n?-1===o?o=h:1!==d&&(d=1):-1!==o&&(d=-1);else if(!c){s=h+1;break}return-1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(r.base=r.name=0===s&&a?e.slice(1,l):e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,ef=i}()})),af={};function of(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function sf(e,t,r){if(e&&ff.isObject(e)&&e instanceof of)return e;var i=new of;return i.parse(e,t,r),i}function lf(e){if("string"==typeof e)e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if("file:"!==e.protocol)throw new Deno.errors.InvalidData("invalid url scheme");return Nf?function(e){let t=e.hostname,r=e.pathname;for(let i=0;i<r.length;i++)if("%"===r[i]){let e=r.codePointAt(i+2)||32;if("2"===r[i+1]&&102===e||"5"===r[i+1]&&99===e)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(Df,"\\"),r=decodeURIComponent(r),""!==t)return`\\\\${t}${r}`;{let e=32|r.codePointAt(1),t=r[2];if(e<Pf||e>jf||":"!==t)throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}(e):function(e){if(""!==e.hostname)throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r<t.length;r++)if("%"===t[r]){let e=t.codePointAt(r+2)||32;if("2"===t[r+1]&&102===e)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function cf(e){let t=If.resolve(e),r=e.charCodeAt(e.length-1);(r===Of||Nf&&r===Mf)&&t[t.length-1]!==If.sep&&(t+="/");let i=new URL("file://");return t.includes("%")&&(t=t.replace(Lf,"%25")),!Nf&&t.includes("\\")&&(t=t.replace(Uf,"%5C")),t.includes("\n")&&(t=t.replace(Ff,"%0A")),t.includes("\r")&&(t=t.replace(Hf,"%0D")),t.includes("\t")&&(t=t.replace(zf,"%09")),i.pathname=t,i}function hf(e){if("string"==typeof e)e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if("file:"!==e.protocol)throw new Deno.errors.InvalidData("invalid url scheme");return eg?function(e){let t=e.hostname,r=e.pathname;for(let i=0;i<r.length;i++)if("%"===r[i]){let e=r.codePointAt(i+2)||32;if("2"===r[i+1]&&102===e||"5"===r[i+1]&&99===e)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(tg,"\\"),r=decodeURIComponent(r),""!==t)return`\\\\${t}${r}`;{let e=32|r.codePointAt(1),t=r[2];if(e<Xf||e>Zf||":"!==t)throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}(e):function(e){if(""!==e.hostname)throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r<t.length;r++)if("%"===t[r]){let e=t.codePointAt(r+2)||32;if("2"===t[r+1]&&102===e)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function df(e){let t=rf.resolve(e),r=e.charCodeAt(e.length-1);(r===Jf||eg&&r===Qf)&&t[t.length-1]!==rf.sep&&(t+="/");let i=new URL("file://");return t.includes("%")&&(t=t.replace(rg,"%25")),!eg&&t.includes("\\")&&(t=t.replace(ig,"%5C")),t.includes("\n")&&(t=t.replace(ng,"%0A")),t.includes("\r")&&(t=t.replace(ag,"%0D")),t.includes("\t")&&(t=t.replace(og,"%09")),i.pathname=t,i}Xs(af,{URL:()=>Gf,Url:()=>Vf,default:()=>uf,fileURLToPath:()=>hf,format:()=>$f,parse:()=>Kf,pathToFileURL:()=>df,resolve:()=>qf,resolveObject:()=>Yf});var uf,pf,ff,gf,mf,vf,yf,bf,wf,_f,xf,Ef,Sf,Tf,kf,Af,Cf,Bf,If,Rf,Mf,Of,Pf,jf,Nf,Df,Lf,Uf,Ff,Hf,zf,Wf,Vf,$f,qf,Yf,Kf,Gf,Qf,Jf,Xf,Zf,eg,tg,rg,ig,ng,ag,og,sg=Qs((()=>{el(),$c(),Rc(),Ep(),Bp(),Yp(),nf(),Zp(),pf=xp,ff={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}},(uf={}).parse=sf,uf.resolve=function(e,t){return sf(e,!1,!0).resolve(t)},uf.resolveObject=function(e,t){return e?sf(e,!1,!0).resolveObject(t):t},uf.format=function(e){return ff.isString(e)&&(e=sf(e)),e instanceof of?e.format():of.prototype.format.call(e)},uf.Url=of,gf=/^([a-z0-9.+-]+:)/i,mf=/:[0-9]*$/,vf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yf=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),bf=["'"].concat(yf),wf=["%","/","?",";","#"].concat(bf),_f=["/","?","#"],xf=/^[+a-z0-9A-Z_-]{0,63}$/,Ef=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sf={javascript:!0,"javascript:":!0},Tf={javascript:!0,"javascript:":!0},kf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Af=Cp,of.prototype.parse=function(e,t,r){if(!ff.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),n=-1!==i&&i<e.indexOf("#")?"?":"#",a=e.split(n);a[0]=a[0].replace(/\\/g,"/");var o=e=a.join(n);if(o=o.trim(),!r&&1===e.split("#").length){var s=vf.exec(o);if(s)return this.path=o,this.href=o,this.pathname=s[1],s[2]?(this.search=s[2],this.query=t?Af.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=gf.exec(o);if(l){var c=(l=l[0]).toLowerCase();this.protocol=c,o=o.substr(l.length)}if(r||l||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var h="//"===o.substr(0,2);!h||l&&Tf[l]||(o=o.substr(2),this.slashes=!0)}if(!Tf[l]&&(h||l&&!kf[l])){for(var d,u,p=-1,f=0;f<_f.length;f++)-1!==(g=o.indexOf(_f[f]))&&(-1===p||g<p)&&(p=g);for(-1!==(u=-1===p?o.lastIndexOf("@"):o.lastIndexOf("@",p))&&(d=o.slice(0,u),o=o.slice(u+1),this.auth=decodeURIComponent(d)),p=-1,f=0;f<wf.length;f++){var g;-1!==(g=o.indexOf(wf[f]))&&(-1===p||g<p)&&(p=g)}-1===p&&(p=o.length),this.host=o.slice(0,p),o=o.slice(p),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var v=this.hostname.split(/\./),y=(f=0,v.length);f<y;f++){var b=v[f];if(b&&!b.match(xf)){for(var w="",_=0,x=b.length;_<x;_++)b.charCodeAt(_)>127?w+="x":w+=b[_];if(!w.match(xf)){var E=v.slice(0,f),S=v.slice(f+1),T=b.match(Ef);T&&(E.push(T[1]),S.unshift(T[2])),S.length&&(o="/"+S.join(".")+o),this.hostname=E.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),m||(this.hostname=pf.toASCII(this.hostname));var k=this.port?":"+this.port:"",A=this.hostname||"";this.host=A+k,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!Sf[c])for(f=0,y=bf.length;f<y;f++){var C=bf[f];if(-1!==o.indexOf(C)){var B=encodeURIComponent(C);B===C&&(B=escape(C)),o=o.split(C).join(B)}}var I=o.indexOf("#");-1!==I&&(this.hash=o.substr(I),o=o.slice(0,I));var R=o.indexOf("?");if(-1!==R?(this.search=o.substr(R),this.query=o.substr(R+1),t&&(this.query=Af.parse(this.query)),o=o.slice(0,R)):t&&(this.search="",this.query={}),o&&(this.pathname=o),kf[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){k=this.pathname||"";var M=this.search||"";this.path=k+M}return this.href=this.format(),this},of.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",i=this.hash||"",n=!1,a="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&ff.isObject(this.query)&&Object.keys(this.query).length&&(a=Af.stringify(this.query));var o=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||kf[t])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),i&&"#"!==i.charAt(0)&&(i="#"+i),o&&"?"!==o.charAt(0)&&(o="?"+o),t+n+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(o=o.replace("#","%23"))+i},of.prototype.resolve=function(e){return this.resolveObject(sf(e,!1,!0)).format()},of.prototype.resolveObject=function(e){if(ff.isString(e)){var t=new of;t.parse(e,!1,!0),e=t}for(var r=new of,i=Object.keys(this),n=0;n<i.length;n++){var a=i[n];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),s=0;s<o.length;s++){var l=o[s];"protocol"!==l&&(r[l]=e[l])}return kf[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!kf[e.protocol]){for(var c=Object.keys(e),h=0;h<c.length;h++){var d=c[h];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||Tf[e.protocol])r.pathname=e.pathname;else{for(var u=(e.pathname||"").split("/");u.length&&!(e.host=u.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==u[0]&&u.unshift(""),u.length<2&&u.unshift(""),r.pathname=u.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",f=r.search||"";r.path=p+f}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),m=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=m||g||r.host&&e.pathname,y=v,b=r.pathname&&r.pathname.split("/")||[],w=(u=e.pathname&&e.pathname.split("/")||[],r.protocol&&!kf[r.protocol]);if(w&&(r.hostname="",r.port=null,r.host&&(""===b[0]?b[0]=r.host:b.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===u[0]?u[0]=e.host:u.unshift(e.host)),e.host=null),v=v&&(""===u[0]||""===b[0])),m)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,b=u;else if(u.length)b||(b=[]),b.pop(),b=b.concat(u),r.search=e.search,r.query=e.query;else if(!ff.isNullOrUndefined(e.search))return w&&(r.hostname=r.host=b.shift(),(T=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=T.shift(),r.host=r.hostname=T.shift())),r.search=e.search,r.query=e.query,ff.isNull(r.pathname)&&ff.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!b.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var _=b.slice(-1)[0],x=(r.host||e.host||b.length>1)&&("."===_||".."===_)||""===_,E=0,S=b.length;S>=0;S--)"."===(_=b[S])?b.splice(S,1):".."===_?(b.splice(S,1),E++):E&&(b.splice(S,1),E--);if(!v&&!y)for(;E--;E)b.unshift("..");!v||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),x&&"/"!==b.join("/").substr(-1)&&b.push("");var T,k=""===b[0]||b[0]&&"/"===b[0].charAt(0);return w&&(r.hostname=r.host=k?"":b.length?b.shift():"",(T=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=T.shift(),r.host=r.hostname=T.shift())),(v=v||r.host&&b.length)&&!k&&b.unshift(""),b.length?r.pathname=b.join("/"):(r.pathname=null,r.path=null),ff.isNull(r.pathname)&&ff.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},of.prototype.parseHost=function(){var e=this.host,t=mf.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},uf.Url,uf.format,uf.resolve,uf.resolveObject,Cf={},Bf=!1,If=function(){if(Bf)return Cf;Bf=!0;var e=qp;function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,i="",n=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(a!==s-1&&1!==o)if(a!==s-1&&2===o){if(i.length<2||2!==n||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",n=0):n=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),a=s,o=0;continue}}else if(2===i.length||1===i.length){i="",n=0,a=s,o=0;continue}t&&(i.length>0?i+="/..":i="..",n=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),n=s-a-1;a=s,o=0}else 46===r&&-1!==o?++o:o=-1}return i}var i={resolve:function(){for(var i,n="",a=!1,o=arguments.length-1;o>=-1&&!a;o--){var s;o>=0?s=arguments[o]:(void 0===i&&(i=e.cwd()),s=i),t(s),0!==s.length&&(n=s+"/"+n,a=47===s.charCodeAt(0))}return n=r(n,!a),a?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=r(e,!i)).length&&!i&&(e="."),e.length>0&&n&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];t(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=i.resolve(e))===(r=i.resolve(r)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var a=e.length,o=a-n,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,c=o<l?o:l,h=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else o>c&&(47===e.charCodeAt(n+d)?h=d:0===d&&(h=0));break}var u=e.charCodeAt(n+d);if(u!==r.charCodeAt(s+d))break;47===u&&(h=d)}var p="";for(d=n+h+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+h):(s+=h,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),i=47===r,n=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(r=e.charCodeAt(o))){if(!a){n=o;break}}else a=!1;return-1===n?i?"/":".":i&&1===n?"//":e.slice(0,n)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var i,n=0,a=-1,o=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!o){n=i+1;break}}else-1===l&&(o=!1,l=i+1),s>=0&&(c===r.charCodeAt(s)?-1==--s&&(a=i):(s=-1,a=l))}return n===a?a=l:-1===a&&(a=e.length),e.slice(n,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!o){n=i+1;break}}else-1===a&&(o=!1,a=i+1);return-1===a?"":e.slice(n,a)},extname:function(e){t(e);for(var r=-1,i=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===n&&(a=!1,n=s+1),46===l?-1===r?r=s:1!==o&&(o=1):-1!==r&&(o=-1);else if(!a){i=s+1;break}}return-1===r||-1===n||0===o||1===o&&r===n-1&&r===i+1?"":e.slice(r,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+i:r+e+i:i}("/",e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i,n=e.charCodeAt(0),a=47===n;a?(r.root="/",i=1):i=0;for(var o=-1,s=0,l=-1,c=!0,h=e.length-1,d=0;h>=i;--h)if(47!==(n=e.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===n?-1===o?o=h:1!==d&&(d=1):-1!==o&&(d=-1);else if(!c){s=h+1;break}return-1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(r.base=r.name=0===s&&a?e.slice(1,l):e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,Cf=i}(),Rf=typeof Deno<"u"?"windows"===Deno.build.os?"win32":Deno.build.os:void 0,uf.URL=typeof URL<"u"?URL:null,uf.pathToFileURL=cf,uf.fileURLToPath=lf,uf.Url,uf.format,uf.resolve,uf.resolveObject,uf.URL,Mf=92,Of=47,Pf=97,jf=122,Nf="win32"===Rf,Df=/\//g,Lf=/%/g,Uf=/\\/g,Ff=/\n/g,Hf=/\r/g,zf=/\t/g,Wf=typeof Deno<"u"?"windows"===Deno.build.os?"win32":Deno.build.os:void 0,uf.URL=typeof URL<"u"?URL:null,uf.pathToFileURL=df,uf.fileURLToPath=hf,Vf=uf.Url,$f=uf.format,qf=uf.resolve,Yf=uf.resolveObject,Kf=uf.parse,Gf=uf.URL,Qf=92,Jf=47,Xf=97,Zf=122,eg="win32"===Wf,tg=/\//g,rg=/%/g,ig=/\\/g,ng=/\n/g,ag=/\r/g,og=/\t/g})),lg={};function cg(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}Xs(lg,{Server:()=>cg,Socket:()=>cg,Stream:()=>cg,_createServerHandle:()=>cg,_normalizeArgs:()=>cg,_setSimultaneousAccepts:()=>cg,connect:()=>cg,createConnection:()=>cg,createServer:()=>cg,default:()=>hg,isIP:()=>cg,isIPv4:()=>cg,isIPv6:()=>cg});var hg,dg=Qs((()=>{el(),$c(),Rc(),hg={_createServerHandle:cg,_normalizeArgs:cg,_setSimultaneousAccepts:cg,connect:cg,createConnection:cg,createServer:cg,isIP:cg,isIPv4:cg,isIPv6:cg,Server:cg,Socket:cg,Stream:cg}})),ug=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((dg(),Zs(lg))),i=(0,t(uu()).default)("mqttjs:tcp");e.default=(e,t)=>{t.port=t.port||1883,t.hostname=t.hostname||t.host||"localhost";let{port:n}=t,a=t.hostname;return i("port %d and host %s",n,a),r.default.createConnection(n,a)}})),pg={};Xs(pg,{default:()=>fg});var fg,gg=Qs((()=>{el(),$c(),Rc(),fg={}})),mg=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((gg(),Zs(pg))),i=t((dg(),Zs(lg))),n=(0,t(uu()).default)("mqttjs:tls");e.default=(e,t)=>{t.port=t.port||8883,t.host=t.hostname||t.host||"localhost",0===i.default.isIP(t.host)&&(t.servername=t.host),t.rejectUnauthorized=!1!==t.rejectUnauthorized,delete t.path,n("port %d host %s rejectUnauthorized %b",t.port,t.host,t.rejectUnauthorized);let a=r.default.connect(t);function o(r){t.rejectUnauthorized&&e.emit("error",r),a.end()}return a.on("secureConnect",(()=>{t.rejectUnauthorized&&!a.authorized?a.emit("error",new Error("TLS not authorized")):a.removeListener("error",o)})),a.on("error",o),a}})),vg=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=nu();function r(e,t){let r=new Array(e.length);for(let i=0;i<e.length;i++)"string"==typeof e[i].chunk?r[i]=Hc.from(e[i].chunk,"utf8"):r[i]=e[i].chunk;this._write(Hc.concat(r),"binary",t)}e.writev=r;var i=class extends t.Duplex{constructor(e,t,i){super({objectMode:!0}),this.proxy=t,this.socket=i,this.writeQueue=[],e.objectMode||(this._writev=r.bind(this)),this.isSocketOpen=!1,this.proxy.on("data",(e=>{this.push(e)}))}_read(e){this.proxy.read(e)}_write(e,t,r){this.isSocketOpen?this.writeToProxy(e,t,r):this.writeQueue.push({chunk:e,encoding:t,cb:r})}_final(e){this.writeQueue=[],this.proxy.end(e)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(e,t,r){!1===this.proxy.write(e,t)?this.proxy.once("drain",r):r()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:e,encoding:t,cb:r}=this.writeQueue.shift();this.writeToProxy(e,t,r)}}};e.BufferedDuplex=i})),yg=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,i,n=(Vc(),Zs(Mc)),a=nu(),o=vg();e.default=(e,s)=>{if(s.hostname=s.hostname||s.host,!s.hostname)throw new Error("Could not determine host. Specify host manually.");let l="MQIsdp"===s.protocolId&&3===s.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(s);let c=function(e,t){let r="wxs"===e.protocol?"wss":"ws",i=`${r}://${e.hostname}${e.path}`;return e.port&&80!==e.port&&443!==e.port&&(i=`${r}://${e.hostname}:${e.port}${e.path}`),"function"==typeof e.transformWsUrl&&(i=e.transformWsUrl(i,e,t)),i}(s,e);t=wx.connectSocket({url:c,protocols:[l]}),r=function(){let e=new a.Transform;return e._write=(e,r,i)=>{t.send({data:e.buffer,success(){i()},fail(e){i(new Error(e))}})},e._flush=e=>{t.close({success(){e()}})},e}(),(i=new o.BufferedDuplex(s,r,t))._destroy=(e,r)=>{t.close({success(){r&&r(e)}})};let h=i.destroy;return i.destroy=(e,r)=>(i.destroy=h,setTimeout((()=>{t.close({fail(){i._destroy(e,r)}})}),0),i),t.onOpen((()=>{i.socketReady()})),t.onMessage((e=>{let{data:t}=e;t=t instanceof ArrayBuffer?n.Buffer.from(t):n.Buffer.from(t,"utf8"),r.push(t)})),t.onClose((()=>{i.emit("close"),i.end(),i.destroy()})),t.onError((e=>{let t=new Error(e.errMsg);i.destroy(t)})),i}})),bg=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,i,n=(Vc(),Zs(Mc)),a=nu(),o=vg(),s=!1;e.default=(e,l)=>{if(l.hostname=l.hostname||l.host,!l.hostname)throw new Error("Could not determine host. Specify host manually.");let c="MQIsdp"===l.protocolId&&3===l.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(l);let h=function(e,t){let r="alis"===e.protocol?"wss":"ws",i=`${r}://${e.hostname}${e.path}`;return e.port&&80!==e.port&&443!==e.port&&(i=`${r}://${e.hostname}:${e.port}${e.path}`),"function"==typeof e.transformWsUrl&&(i=e.transformWsUrl(i,e,t)),i}(l,e);return(t=l.my).connectSocket({url:h,protocols:c}),r=function(){let e=new a.Transform;return e._write=(e,r,i)=>{t.sendSocketMessage({data:e.buffer,success(){i()},fail(){i(new Error)}})},e._flush=e=>{t.closeSocket({success(){e()}})},e}(),i=new o.BufferedDuplex(l,r,t),s||(s=!0,t.onSocketOpen((()=>{i.socketReady()})),t.onSocketMessage((e=>{if("string"==typeof e.data){let t=n.Buffer.from(e.data,"base64");r.push(t)}else{let t=new FileReader;t.addEventListener("load",(()=>{let e=t.result;e=e instanceof ArrayBuffer?n.Buffer.from(e):n.Buffer.from(e,"utf8"),r.push(e)})),t.readAsArrayBuffer(e.data)}})),t.onSocketClose((()=>{i.end(),i.destroy()})),t.onSocketError((e=>{i.destroy(e)}))),i}})),wg=Js(((e,t)=>{el(),$c(),Rc(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}})),_g=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=(Vc(),Zs(Mc)),i=t(wg()),n=t(uu()),a=nu(),o=t(ap()),s=vg(),l=(0,n.default)("mqttjs:ws"),c=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function h(e,t){let r=`${e.protocol}://${e.hostname}:${e.port}${e.path}`;return"function"==typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}function d(e){let t=e;return e.hostname||(t.hostname="localhost"),e.port||("wss"===e.protocol?t.port=443:t.port=80),e.path||(t.path="/"),e.wsOptions||(t.wsOptions={}),!o.default&&"wss"===e.protocol&&c.forEach((r=>{Object.prototype.hasOwnProperty.call(e,r)&&!Object.prototype.hasOwnProperty.call(e.wsOptions,r)&&(t.wsOptions[r]=e[r])})),t}e.default=o.default?(e,t)=>{l("browserStreamBuilder");let i,n=function(e){let t=d(e);if(t.hostname||(t.hostname=t.host),!t.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let e=new URL(document.URL);t.hostname=e.hostname,t.port||(t.port=Number(e.port))}return void 0===t.objectMode&&(t.objectMode=!(!0===t.binary||void 0===t.binary)),t}(t).browserBufferSize||524288,o=t.browserBufferTimeout||1e3,c=!t.objectMode,u=function(e,t){let r,i="MQIsdp"===t.protocolId&&3===t.protocolVersion?"mqttv3.1":"mqtt",n=h(t,e);return r=t.createWebsocket?t.createWebsocket(n,[i],t):new WebSocket(n,[i]),r.binaryType="arraybuffer",r}(e,t),p=function(e,t,r){let i=new a.Transform({objectMode:e.objectMode});return i._write=t,i._flush=r,i}(t,(function e(t,i,a){if(u.bufferedAmount>n)return void setTimeout(e,o,t,i,a);c&&"string"==typeof t&&(t=r.Buffer.from(t,"utf8"));try{u.send(t)}catch(s){return a(s)}a()}),(function(e){u.close(),e()}));t.objectMode||(p._writev=s.writev.bind(p)),p.on("close",(()=>{u.close()}));let f=typeof u.addEventListener<"u";function g(){l("WebSocket onOpen"),i instanceof s.BufferedDuplex&&i.socketReady()}function m(e){l("WebSocket onClose",e),i.end(),i.destroy()}function v(e){l("WebSocket onError",e);let t=new Error("WebSocket error");t.event=e,i.destroy(t)}function y(e){let{data:t}=e;t=t instanceof ArrayBuffer?r.Buffer.from(t):r.Buffer.from(t,"utf8"),p.push(t)}return u.readyState===u.OPEN?(i=p,i.socket=u):(i=new s.BufferedDuplex(t,p,u),f?u.addEventListener("open",g):u.onopen=g),f?(u.addEventListener("close",m),u.addEventListener("error",v),u.addEventListener("message",y)):(u.onclose=m,u.onerror=v,u.onmessage=y),i}:(e,t)=>{l("streamBuilder");let r=d(t),n=h(r,e),a=function(e,t,r){l("createWebSocket"),l(`protocol: ${r.protocolId} ${r.protocolVersion}`);let n,a="MQIsdp"===r.protocolId&&3===r.protocolVersion?"mqttv3.1":"mqtt";return l(`creating new Websocket for url: ${t} and protocol: ${a}`),n=r.createWebsocket?r.createWebsocket(t,[a],r):new i.default(t,[a],r.wsOptions),n}(0,n,r),o=i.default.createWebSocketStream(a,r.wsOptions);return o.url=n,a.on("close",(()=>{o.destroy()})),o}})),xg=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var r=t(uu()),i=t((sg(),Zs(af))),n=t(sp()),a=t(ap()),o=(0,r.default)("mqttjs"),s={};function l(e,t){if(o("connecting to an MQTT broker..."),"object"==typeof e&&!t&&(t=e,e=""),t=t||{},e&&"string"==typeof e){let r=i.default.parse(e,!0);if(null!=r.port&&(r.port=Number(r.port)),null===(t=Object.assign(Object.assign({},r),t)).protocol)throw new Error("Missing protocol");t.protocol=t.protocol.replace(/:$/,"")}if(function(e){let t;e.auth&&(t=e.auth.match(/^(.+):(.+)$/),t?(e.username=t[1],e.password=t[2]):e.username=e.auth)}(t),t.query&&"string"==typeof t.query.clientId&&(t.clientId=t.query.clientId),t.cert&&t.key){if(!t.protocol)throw new Error("Missing secure protocol key");if(-1===["mqtts","wss","wxs","alis"].indexOf(t.protocol))switch(t.protocol){case"mqtt":t.protocol="mqtts";break;case"ws":t.protocol="wss";break;case"wx":t.protocol="wxs";break;case"ali":t.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${t.protocol}"!`)}}if(!s[t.protocol]){let e=-1!==["mqtts","wss"].indexOf(t.protocol);t.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter(((t,r)=>(!e||r%2!=0)&&"function"==typeof s[t]))[0]}if(!1===t.clean&&!t.clientId)throw new Error("Missing clientId for unclean clients");t.protocol&&(t.defaultProtocol=t.protocol);let r=new n.default((function(e){return t.servers&&((!e._reconnectCount||e._reconnectCount===t.servers.length)&&(e._reconnectCount=0),t.host=t.servers[e._reconnectCount].host,t.port=t.servers[e._reconnectCount].port,t.protocol=t.servers[e._reconnectCount].protocol?t.servers[e._reconnectCount].protocol:t.defaultProtocol,t.hostname=t.host,e._reconnectCount++),o("calling streambuilder for",t.protocol),s[t.protocol](e,t)}),t);return r.on("error",(()=>{})),r}a.default?(s.wx=yg().default,s.wxs=yg().default,s.ali=bg().default,s.alis=bg().default):(s.mqtt=ug().default,s.tcp=ug().default,s.ssl=mg().default,s.tls=s.ssl,s.mqtts=mg().default),s.ws=_g().default,s.wss=_g().default,e.connectAsync=function(e,t,r=!0){return new Promise(((i,n)=>{let a=l(e,t),o={connect:e=>{s(),i(a)},end:()=>{s(),i(a)},error:e=>{s(),a.end(),n(e)}};function s(){Object.keys(o).forEach((e=>{a.off(e,o[e])}))}!1===r&&(o.close=()=>{o.error(new Error("Couldn't connect to server"))}),Object.keys(o).forEach((e=>{a.on(e,o[e])}))}))},e.default=l})),Eg=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i},n=e&&e.__exportStar||function(e,r){for(var i in e)"default"!==i&&!Object.prototype.hasOwnProperty.call(r,i)&&t(r,e,i)},a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var o=a(sp());e.MqttClient=o.default;var s=a(bu());e.DefaultMessageIdProvider=s.default;var l=a(lp());e.UniqueMessageIdProvider=l.default;var c=a(Eu());e.Store=c.default;var h=i(xg());e.connect=h.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return h.connectAsync}}),e.Client=o.default,n(sp(),e),n(Tu(),e);var d=ku();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return d.ReasonCodes}})}));const Sg=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i},n=e&&e.__exportStar||function(e,r){for(var i in e)"default"!==i&&!Object.prototype.hasOwnProperty.call(r,i)&&t(r,e,i)};Object.defineProperty(e,"__esModule",{value:!0});var a=i(Eg());e.default=a,n(Eg(),e)}))();
20
+ var Ei=(e,t)=>{let r=e.__vccOpts||e;for(let[i,n]of t)r[i]=n;return r},Si={name:"CircleCheck"},Ti={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},ki=[e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1),e.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"},null,-1)];var Ai=Ei(Si,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Ti,ki)}],["__file","circle-check.vue"]]),Ci={name:"CircleCloseFilled"},Bi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Ii=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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.336L512 457.664z"},null,-1)];var Ri=Ei(Ci,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Bi,Ii)}],["__file","circle-close-filled.vue"]]),Mi={name:"CircleClose"},Oi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Pi=[e.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.248L466.752 512z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z"},null,-1)];var ji=Ei(Mi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Oi,Pi)}],["__file","circle-close.vue"]]),Ni={name:"Close"},Di={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Li=[e.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"},null,-1)];var Ui=Ei(Ni,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Di,Li)}],["__file","close.vue"]]),Fi={name:"Hide"},Hi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},zi=[e.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.2L371.2 588.8ZM889.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"},null,-1),e.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"},null,-1)];var Wi=Ei(Fi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Hi,zi)}],["__file","hide.vue"]]),Vi={name:"InfoFilled"},$i={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},qi=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64zm67.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.344zM590.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"},null,-1)];var Yi=Ei(Vi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",$i,qi)}],["__file","info-filled.vue"]]),Ki={name:"Loading"},Gi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},Qi=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32zm0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32zm448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32zm-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32zM195.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 0zm-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"},null,-1)];var Ji=Ei(Ki,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Gi,Qi)}],["__file","loading.vue"]]),Xi={name:"SuccessFilled"},Zi={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},en=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm-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.336L456.192 600.384z"},null,-1)];var tn=Ei(Xi,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",Zi,en)}],["__file","success-filled.vue"]]),rn={name:"View"},nn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},an=[e.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 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-448zm0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"},null,-1)];var on=Ei(rn,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",nn,an)}],["__file","view.vue"]]),sn={name:"WarningFilled"},ln={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},cn=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 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 256zm0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4z"},null,-1)];var hn=Ei(sn,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",ln,cn)}],["__file","warning-filled.vue"]]),dn={name:"Warning"},un={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},pn=[e.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896zm0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768zm48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0zm-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32z"},null,-1)];var fn=Ei(dn,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("svg",un,pn)}],["__file","warning.vue"]]);const gn="__epPropKey",mn=(t,r)=>{if(!er(t)||er(i=t)&&i[gn])return t;var i;const{values:n,required:a,default:o,type:s,validator:l}=t,c=n||l?i=>{let a=!1,s=[];if(n&&(s=Array.from(n),Gt(t,"default")&&s.push(o),a||(a=s.includes(i))),l&&(a||(a=l(i))),!a&&s.length>0){const t=[...new Set(s)].map((e=>JSON.stringify(e))).join(", ");e.warn(`Invalid prop: validation failed${r?` for prop "${r}"`:""}. Expected one of [${t}], got value ${JSON.stringify(i)}.`)}return a}:void 0,h={type:s,required:!!a,validator:c,[gn]:!0};return Gt(t,"default")&&(h.default=o),h},vn=e=>di(Object.entries(e).map((([e,t])=>[e,mn(t,e)]))),yn=[String,Object,Function],bn={Close:Ui,SuccessFilled:tn,InfoFilled:Yi,WarningFilled:hn,CircleCloseFilled:Ri},wn={success:tn,warning:hn,error:Ri,info:Yi},_n={validating:Ji,success:Ai,error:ji},xn=(e,t)=>{if(e.install=r=>{for(const i of[e,...Object.values(null!=t?t:{})])r.component(i.name,i)},t)for(const[r,i]of Object.entries(t))e[r]=i;return e},En="Tab",Sn="Escape",Tn="update:modelValue",kn=["","default","small","large"];var An=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(An||{});const Cn=["class","style"],Bn=/^on[A-Z]/,In=(t,r,i)=>{let n={offsetX:0,offsetY:0};const a=e=>{const r=e.clientX,i=e.clientY,{offsetX:a,offsetY:o}=n,s=t.value.getBoundingClientRect(),l=s.left,c=s.top,h=s.width,d=s.height,u=document.documentElement.clientWidth,p=document.documentElement.clientHeight,f=-l+a,g=-c+o,m=u-l-h+a,v=p-c-d+o,y=e=>{const s=Math.min(Math.max(a+e.clientX-r,f),m),l=Math.min(Math.max(o+e.clientY-i,g),v);n={offsetX:s,offsetY:l},t.value.style.transform=`translate(${_i(s)}, ${_i(l)})`},b=()=>{document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",b)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",b)},o=()=>{r.value&&t.value&&r.value.removeEventListener("mousedown",a)};e.onMounted((()=>{e.watchEffect((()=>{i.value?r.value&&t.value&&r.value.addEventListener("mousedown",a):o()}))})),e.onBeforeUnmount((()=>{o()}))};var Rn={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Mn=t=>(r,i)=>On(r,i,e.unref(t)),On=(e,t,r)=>hi(r,e,e).replace(/\{(\w+)\}/g,((e,r)=>{var i;return`${null!=(i=null==t?void 0:t[r])?i:`{${r}}`}`})),Pn=Symbol("localeContextKey"),jn=t=>{const r=t||e.inject(Pn,e.ref());return(t=>({lang:e.computed((()=>e.unref(t).name)),locale:e.isRef(t)?t:e.ref(t),t:Mn(t)}))(e.computed((()=>r.value||Rn)))};const Nn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Dn=e=>(e.w&Fn)>0,Ln=e=>(e.n&Fn)>0;let Un=0,Fn=1;const Hn=30;let zn;Symbol("production"!==process.env.NODE_ENV?"iterate":""),Symbol("production"!==process.env.NODE_ENV?"Map key iterate":"");class Wn{constructor(e,t=null,r){this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e,t){t&&t.active&&t.effects.push(e)}(this,r)}run(){if(!this.active)return this.fn();let e=zn,t=$n;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=zn,zn=this,$n=!0,Fn=1<<++Un,Un<=Hn?(({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Fn})(this):Vn(this),this.fn()}finally{Un<=Hn&&(e=>{const{deps:t}=e;if(t.length){let r=0;for(let i=0;i<t.length;i++){const n=t[i];Dn(n)&&!Ln(n)?n.delete(e):t[r++]=n,n.w&=~Fn,n.n&=~Fn}t.length=r}})(this),Fn=1<<--Un,zn=this.parent,$n=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){zn===this?this.deferStop=!0:this.active&&(Vn(this),this.onStop&&this.onStop(),this.active=!1)}}function Vn(e){const{deps:t}=e;if(t.length){for(let r=0;r<t.length;r++)t[r].delete(e);t.length=0}}let $n=!0;function qn(e,t){let r=!1;Un<=Hn?Ln(e)||(e.n|=Fn,r=!Dn(e)):r=!e.has(zn),r&&(e.add(zn),zn.deps.push(e),"production"!==process.env.NODE_ENV&&zn.onTrack&&zn.onTrack(Yt({effect:zn},t)))}function Yn(e,t){const r=Qt(e)?e:[...e];for(const i of r)i.computed&&Kn(i,t);for(const i of r)i.computed||Kn(i,t)}function Kn(e,t){(e!==zn||e.allowRecurse)&&("production"!==process.env.NODE_ENV&&e.onTrigger&&e.onTrigger(Yt({effect:e},t)),e.scheduler?e.scheduler():e.run())}function Gn(e){const t=e&&e.__v_raw;return t?Gn(t):e}new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Zt));class Qn{constructor(e,t,r,i){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Wn(e,(()=>{this._dirty||(this._dirty=!0,function(e,t){const r=(e=Gn(e)).dep;r&&("production"!==process.env.NODE_ENV?Yn(r,{target:e,type:"set",key:"value",newValue:t}):Yn(r))}(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=r}get value(){const e=Gn(this);var t;return t=e,$n&&zn&&(t=Gn(t),"production"!==process.env.NODE_ENV?qn(t.dep||(t.dep=Nn()),{target:t,type:"get",key:"value"}):qn(t.dep||(t.dep=Nn()))),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}const Jn="el",Xn=(e,t,r,i,n)=>{let a=`${e}-${t}`;return r&&(a+=`-${r}`),i&&(a+=`__${i}`),n&&(a+=`--${n}`),a},Zn=Symbol("namespaceContextKey"),ea=t=>{const r=t||(e.getCurrentInstance()?e.inject(Zn,e.ref(Jn)):e.ref(Jn));return e.computed((()=>e.unref(r)||Jn))},ta=(e,t)=>{const r=ea(t);return{namespace:r,b:(t="")=>Xn(r.value,e,t,"",""),e:t=>t?Xn(r.value,e,"",t,""):"",m:t=>t?Xn(r.value,e,"","",t):"",be:(t,i)=>t&&i?Xn(r.value,e,t,i,""):"",em:(t,i)=>t&&i?Xn(r.value,e,"",t,i):"",bm:(t,i)=>t&&i?Xn(r.value,e,t,"",i):"",bem:(t,i,n)=>t&&i&&n?Xn(r.value,e,t,i,n):"",is:(e,...t)=>{const r=!(t.length>=1)||t[0];return e&&r?`is-${e}`:""},cssVar:e=>{const t={};for(const i in e)e[i]&&(t[`--${r.value}-${i}`]=e[i]);return t},cssVarName:e=>`--${r.value}-${e}`,cssVarBlock:t=>{const i={};for(const n in t)t[n]&&(i[`--${r.value}-${e}-${n}`]=t[n]);return i},cssVarBlockName:t=>`--${r.value}-${e}-${t}`}},ra=(t,r={})=>{e.isRef(t)||function(e,t){throw new vi(`[${e}] ${t}`)}("[useLockscreen]","You need to pass a ref param to this function");const i=r.ns||ta("popup"),n=function(e,t,r=!1){let i,n;const a=Jt(e);a?(i=e,n="production"!==process.env.NODE_ENV?()=>{}:qt):(i=e.get,n=e.set);const o=new Qn(i,n,a||!n,r);return"production"!==process.env.NODE_ENV&&t&&!r&&(o.effect.onTrack=t.onTrack,o.effect.onTrigger=t.onTrigger),o}((()=>i.bm("parent","hidden")));if(!Tt||wi(document.body,n.value))return;let a=0,o=!1,s="0";const l=()=>{setTimeout((()=>{var e,t;e=null==document?void 0:document.body,t=n.value,e&&t.trim()&&e.classList.remove(...bi(t)),o&&document&&(document.body.style.width=s)}),200)};e.watch(t,(e=>{if(!e)return void l();o=!wi(document.body,n.value),o&&(s=document.body.style.width),a=(e=>{var t;if(!Tt)return 0;if(void 0!==xi)return xi;const r=document.createElement("div");r.className=`${e}-scrollbar__wrap`,r.style.visibility="hidden",r.style.width="100px",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const i=r.offsetWidth;r.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",r.appendChild(n);const a=n.offsetWidth;return null==(t=r.parentNode)||t.removeChild(r),xi=i-a,xi})(i.namespace.value);const t=document.documentElement.clientHeight<document.body.scrollHeight,r=((e,t)=>{var r;if(!Tt||!e||!t)return"";let i=rr(t);"float"===i&&(i="cssFloat");try{const t=e.style[i];if(t)return t;const n=null==(r=document.defaultView)?void 0:r.getComputedStyle(e,"");return n?n[i]:""}catch(n){return e.style[i]}})(document.body,"overflowY");var c,h;a>0&&(t||"scroll"===r)&&o&&(document.body.style.width=`calc(100% - ${a}px)`),c=document.body,h=n.value,c&&h.trim()&&c.classList.add(...bi(h))})),e.onScopeDispose((()=>l()))},ia=t=>{const r=e.getCurrentInstance();return e.computed((()=>{var e,i;return null==(i=null==(e=null==r?void 0:r.proxy)?void 0:e.$props)?void 0:i[t]}))},na=e=>{if(!e)return{onClick:qt,onMousedown:qt,onMouseup:qt};let t=!1,r=!1;return{onClick:i=>{t&&r&&e(i),t=r=!1},onMousedown:e=>{t=e.target===e.currentTarget},onMouseup:e=>{r=e.target===e.currentTarget}}},aa={prefix:Math.floor(1e4*Math.random()),current:0},oa=Symbol("elIdInjection"),sa=t=>{const r=e.getCurrentInstance()?e.inject(oa,aa):aa;Tt||r!==aa||yi("IdInjection","Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})");const i=ea();return e.computed((()=>e.unref(t)||`${i.value}-id-${r.prefix}-${r.current++}`))};let la=[];const ca=e=>{const t=e;t.key===Sn&&la.forEach((e=>e(t)))},ha=e.ref(0),da=Symbol("zIndexContextKey");const ua=mn({type:String,values:kn,required:!1}),pa=Symbol("size");function fa(t,{afterFocus:r,afterBlur:i}={}){const n=e.getCurrentInstance(),{emit:a}=n,o=e.shallowRef(),s=e.ref(!1);return e.watch(o,(e=>{e&&e.setAttribute("tabindex","-1")})),function(...t){let r,i,n,a;if(kt(t[0])||Array.isArray(t[0])?([i,n,a]=t,r=Rt):[r,i,n,a]=t,!r)return At;Array.isArray(i)||(i=[i]),Array.isArray(n)||(n=[n]);const o=[],s=()=>{o.forEach((e=>e())),o.length=0},l=e.watch((()=>[It(r),Ct(a)]),(([e,t])=>{s(),e&&o.push(...i.flatMap((r=>n.map((i=>((e,t,r,i)=>(e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)))(e,r,i,t))))))}),{immediate:!0,flush:"post"}),c=()=>{l(),s()};Bt(c)}(o,"click",(()=>{var e;null==(e=t.value)||e.focus()})),{wrapperRef:o,isFocused:s,handleFocus:e=>{s.value||(s.value=!0,a("focus",e),null==r||r())},handleBlur:e=>{var t;e.relatedTarget&&(null==(t=o.value)?void 0:t.contains(e.relatedTarget))||(s.value=!1,a("blur",e),null==i||i())}}}const ga=Symbol(),ma=e.ref();function va(t,r=void 0){const i=e.getCurrentInstance()?e.inject(ga,ma):ma;return t?e.computed((()=>{var e,n;return null!=(n=null==(e=i.value)?void 0:e[t])?n:r})):i}function ya(t,r){const i=va(),n=ta(t,e.computed((()=>{var e;return(null==(e=i.value)?void 0:e.namespace)||Jn}))),a=jn(e.computed((()=>{var e;return null==(e=i.value)?void 0:e.locale}))),o=(t=>{const r=t||(e.getCurrentInstance()?e.inject(da,void 0):void 0),i=e.computed((()=>{const t=e.unref(r);return fi(t)?t:2e3})),n=e.computed((()=>i.value+ha.value));return{initialZIndex:i,currentZIndex:n,nextZIndex:()=>(ha.value++,n.value)}})(e.computed((()=>{var e;return(null==(e=i.value)?void 0:e.zIndex)||2e3}))),s=e.computed((()=>{var t;return e.unref(r)||(null==(t=i.value)?void 0:t.size)||""}));return ba(e.computed((()=>e.unref(i)||{}))),{ns:n,locale:a,zIndex:o,size:s}}const ba=(t,r,i=!1)=>{var n;const a=!!e.getCurrentInstance(),o=a?va():void 0,s=null!=(n=null==r?void 0:r.provide)?n:a?e.provide:void 0;if(!s)return void yi("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");const l=e.computed((()=>{const r=e.unref(t);return(null==o?void 0:o.value)?wa(o.value,r):r}));return s(ga,l),s(Pn,e.computed((()=>l.value.locale))),s(Zn,e.computed((()=>l.value.namespace))),s(da,e.computed((()=>l.value.zIndex))),s(pa,{size:e.computed((()=>l.value.size||""))}),!i&&ma.value||(ma.value=l.value),l},wa=(e,t)=>{var r;const i=[...new Set([...mi(e),...mi(t)])],n={};for(const a of i)n[a]=null!=(r=t[a])?r:e[a];return n};var _a=(e,t)=>{const r=e.__vccOpts||e;for(const[i,n]of t)r[i]=n;return r};const xa=vn({size:{type:[Number,String]},color:{type:String}}),Ea=e.defineComponent({name:"ElIcon",inheritAttrs:!1});const Sa=xn(_a(e.defineComponent({...Ea,props:xa,setup(t){const r=t,i=ta("icon"),n=e.computed((()=>{const{size:e,color:t}=r;return e||t?{fontSize:pi(e)?void 0:_i(e),"--color":t}:{}}));return(t,r)=>(e.openBlock(),e.createElementBlock("i",e.mergeProps({class:e.unref(i).b(),style:e.unref(n)},t.$attrs),[e.renderSlot(t.$slots,"default")],16))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]])),Ta=Symbol("formContextKey"),ka=Symbol("formItemContextKey"),Aa=(t,r={})=>{const i=e.ref(void 0),n=r.prop?i:ia("size"),a=r.global?i:(()=>{const t=e.inject(pa,{});return e.computed((()=>e.unref(t.size)||""))})(),o=r.form?{size:void 0}:e.inject(Ta,void 0),s=r.formItem?{size:void 0}:e.inject(ka,void 0);return e.computed((()=>n.value||e.unref(t)||(null==s?void 0:s.size)||(null==o?void 0:o.size)||a.value||""))},Ca=t=>{const r=ia("disabled"),i=e.inject(Ta,void 0);return e.computed((()=>r.value||e.unref(t)||(null==i?void 0:i.disabled)||!1))},Ba=()=>({form:e.inject(Ta,void 0),formItem:e.inject(ka,void 0)});let Ia;const Ra=`\n height:0 !important;\n visibility:hidden !important;\n ${Tt&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;"}\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`,Ma=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Oa(e,t=1,r){var i;Ia||(Ia=document.createElement("textarea"),document.body.appendChild(Ia));const{paddingSize:n,borderSize:a,boxSizing:o,contextStyle:s}=function(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("box-sizing"),i=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),n=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:Ma.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:i,borderSize:n,boxSizing:r}}(e);Ia.setAttribute("style",`${s};${Ra}`),Ia.value=e.value||e.placeholder||"";let l=Ia.scrollHeight;const c={};"border-box"===o?l+=a:"content-box"===o&&(l-=n),Ia.value="";const h=Ia.scrollHeight-n;if(fi(t)){let e=h*t;"border-box"===o&&(e=e+n+a),l=Math.max(e,l),c.minHeight=`${e}px`}if(fi(r)){let e=h*r;"border-box"===o&&(e=e+n+a),l=Math.min(e,l)}return c.height=`${l}px`,null==(i=Ia.parentNode)||i.removeChild(Ia),Ia=void 0,c}const Pa=vn({id:{type:String,default:void 0},size:ua,disabled:Boolean,modelValue:{type:[String,Number,Object],default:""},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:yn},prefixIcon:{type:yn},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:{type:Boolean,default:!1}}),ja={[Tn]:e=>Xt(e),input:e=>Xt(e),change:e=>Xt(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},Na=["role"],Da=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],La=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Ua=e.defineComponent({name:"ElInput",inheritAttrs:!1});const Fa=xn(_a(e.defineComponent({...Ua,props:Pa,emits:ja,setup(t,{expose:r,emit:i}){const n=t,a=e.useAttrs(),o=e.useSlots(),s=e.computed((()=>{const e={};return"combobox"===n.containerRole&&(e["aria-haspopup"]=a["aria-haspopup"],e["aria-owns"]=a["aria-owns"],e["aria-expanded"]=a["aria-expanded"]),e})),l=e.computed((()=>["textarea"===n.type?v.b():m.b(),m.m(f.value),m.is("disabled",g.value),m.is("exceed",H.value),{[m.b("group")]:o.prepend||o.append,[m.bm("group","append")]:o.append,[m.bm("group","prepend")]:o.prepend,[m.m("prefix")]:o.prefix||n.prefixIcon,[m.m("suffix")]:o.suffix||n.suffixIcon||n.clearable||n.showPassword,[m.bm("suffix","password-clear")]:D.value&&L.value},a.class])),c=e.computed((()=>[m.e("wrapper"),m.is("focus",A.value)])),h=((t={})=>{const{excludeListeners:r=!1,excludeKeys:i}=t,n=e.computed((()=>((null==i?void 0:i.value)||[]).concat(Cn))),a=e.getCurrentInstance();return a?e.computed((()=>{var e;return di(Object.entries(null==(e=a.proxy)?void 0:e.$attrs).filter((([e])=>!(n.value.includes(e)||r&&Bn.test(e)))))})):(yi("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),e.computed((()=>({}))))})({excludeKeys:e.computed((()=>Object.keys(s.value)))}),{form:d,formItem:u}=Ba(),{inputId:p}=((t,{formItemContext:r,disableIdGeneration:i,disableIdManagement:n})=>{i||(i=e.ref(!1)),n||(n=e.ref(!1));const a=e.ref();let o;const s=e.computed((()=>{var e;return!!(!t.label&&r&&r.inputIds&&(null==(e=r.inputIds)?void 0:e.length)<=1)}));return e.onMounted((()=>{o=e.watch([e.toRef(t,"id"),i],(([e,t])=>{const i=null!=e?e:t?void 0:sa().value;i!==a.value&&((null==r?void 0:r.removeInputId)&&(a.value&&r.removeInputId(a.value),(null==n?void 0:n.value)||t||!i||r.addInputId(i)),a.value=i)}),{immediate:!0})})),e.onUnmounted((()=>{o&&o(),(null==r?void 0:r.removeInputId)&&a.value&&r.removeInputId(a.value)})),{isLabeledByFormItem:s,inputId:a}})(n,{formItemContext:u}),f=Aa(),g=Ca(),m=ta("input"),v=ta("textarea"),y=e.shallowRef(),b=e.shallowRef(),w=e.ref(!1),_=e.ref(!1),x=e.ref(!1),E=e.ref(),S=e.shallowRef(n.inputStyle),T=e.computed((()=>y.value||b.value)),{wrapperRef:k,isFocused:A,handleFocus:C,handleBlur:B}=fa(T,{afterBlur(){var e;n.validateEvent&&(null==(e=null==u?void 0:u.validate)||e.call(u,"blur").catch((e=>yi(e))))}}),I=e.computed((()=>{var e;return null!=(e=null==d?void 0:d.statusIcon)&&e})),R=e.computed((()=>(null==u?void 0:u.validateState)||"")),M=e.computed((()=>R.value&&_n[R.value])),O=e.computed((()=>x.value?on:Wi)),P=e.computed((()=>[a.style,n.inputStyle])),j=e.computed((()=>[n.inputStyle,S.value,{resize:n.resize}])),N=e.computed((()=>ui(n.modelValue)?"":String(n.modelValue))),D=e.computed((()=>n.clearable&&!g.value&&!n.readonly&&!!N.value&&(A.value||w.value))),L=e.computed((()=>n.showPassword&&!g.value&&!n.readonly&&!!N.value&&(!!N.value||A.value))),U=e.computed((()=>n.showWordLimit&&!!h.value.maxlength&&("text"===n.type||"textarea"===n.type)&&!g.value&&!n.readonly&&!n.showPassword)),F=e.computed((()=>N.value.length)),H=e.computed((()=>!!U.value&&F.value>Number(h.value.maxlength))),z=e.computed((()=>!!o.suffix||!!n.suffixIcon||D.value||n.showPassword||U.value||!!R.value&&I.value)),[W,V]=function(t){const r=e.ref();return[function(){if(null==t.value)return;const{selectionStart:e,selectionEnd:i,value:n}=t.value;if(null==e||null==i)return;const a=n.slice(0,Math.max(0,e)),o=n.slice(Math.max(0,i));r.value={selectionStart:e,selectionEnd:i,value:n,beforeTxt:a,afterTxt:o}},function(){if(null==t.value||null==r.value)return;const{value:e}=t.value,{beforeTxt:i,afterTxt:n,selectionStart:a}=r.value;if(null==i||null==n||null==a)return;let o=e.length;if(e.endsWith(n))o=e.length-n.length;else if(e.startsWith(i))o=i.length;else{const t=i[a-1],r=e.indexOf(t,a-1);-1!==r&&(o=r+1)}t.value.setSelectionRange(o,o)}]}(y);Ft(b,(e=>{if(q(),!U.value||"both"!==n.resize)return;const t=e[0],{width:r}=t.contentRect;E.value={right:`calc(100% - ${r+15+6}px)`}}));const $=()=>{const{type:t,autosize:r}=n;if(Tt&&"textarea"===t&&b.value)if(r){const t=er(r)?r.minRows:void 0,i=er(r)?r.maxRows:void 0,n=Oa(b.value,t,i);S.value={overflowY:"hidden",...n},e.nextTick((()=>{b.value.offsetHeight,S.value=n}))}else S.value={minHeight:Oa(b.value).minHeight}},q=(e=>{let t=!1;return()=>{var r;if(t||!n.autosize)return;null===(null==(r=b.value)?void 0:r.offsetParent)||(e(),t=!0)}})($),Y=()=>{const e=T.value,t=n.formatter?n.formatter(N.value):N.value;e&&e.value!==t&&(e.value=t)},K=async t=>{W();let{value:r}=t.target;n.formatter&&(r=n.parser?n.parser(r):r),_.value||(r!==N.value?(i(Tn,r),i("input",r),await e.nextTick(),Y(),V()):Y())},G=e=>{i("change",e.target.value)},Q=e=>{i("compositionstart",e),_.value=!0},J=e=>{var t;i("compositionupdate",e);const r=null==(t=e.target)?void 0:t.value,n=r[r.length-1]||"";_.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(n)},X=e=>{i("compositionend",e),_.value&&(_.value=!1,K(e))},Z=()=>{x.value=!x.value,ee()},ee=async()=>{var t;await e.nextTick(),null==(t=T.value)||t.focus()},te=e=>{w.value=!1,i("mouseleave",e)},re=e=>{w.value=!0,i("mouseenter",e)},ie=e=>{i("keydown",e)},ne=()=>{i(Tn,""),i("change",""),i("clear"),i("input","")};return e.watch((()=>n.modelValue),(()=>{var t;e.nextTick((()=>$())),n.validateEvent&&(null==(t=null==u?void 0:u.validate)||t.call(u,"change").catch((e=>yi(e))))})),e.watch(N,(()=>Y())),e.watch((()=>n.type),(async()=>{await e.nextTick(),Y(),$()})),e.onMounted((()=>{!n.formatter&&n.parser&&yi("ElInput","If you set the parser, you also need to set the formatter."),Y(),e.nextTick($)})),r({input:y,textarea:b,ref:T,textareaStyle:j,autosize:e.toRef(n,"autosize"),focus:ee,blur:()=>{var e;return null==(e=T.value)?void 0:e.blur()},select:()=>{var e;null==(e=T.value)||e.select()},clear:ne,resizeTextarea:$}),(t,r)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps(e.unref(s),{class:e.unref(l),style:e.unref(P),role:t.containerRole,onMouseenter:re,onMouseleave:te}),[e.createCommentVNode(" input "),"textarea"!==t.type?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createCommentVNode(" prepend slot "),t.$slots.prepend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(m).be("group","prepend"))},[e.renderSlot(t.$slots,"prepend")],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{ref_key:"wrapperRef",ref:k,class:e.normalizeClass(e.unref(c))},[e.createCommentVNode(" prefix slot "),t.$slots.prefix||t.prefixIcon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(m).e("prefix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(m).e("prefix-inner"))},[e.renderSlot(t.$slots,"prefix"),t.prefixIcon?(e.openBlock(),e.createBlock(e.unref(Sa),{key:0,class:e.normalizeClass(e.unref(m).e("icon"))},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.prefixIcon)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("input",e.mergeProps({id:e.unref(p),ref_key:"input",ref:y,class:e.unref(m).e("inner")},e.unref(h),{type:t.showPassword?x.value?"text":"password":t.type,disabled:e.unref(g),formatter:t.formatter,parser:t.parser,readonly:t.readonly,autocomplete:t.autocomplete,tabindex:t.tabindex,"aria-label":t.label,placeholder:t.placeholder,style:t.inputStyle,form:n.form,autofocus:n.autofocus,onCompositionstart:Q,onCompositionupdate:J,onCompositionend:X,onInput:K,onFocus:r[0]||(r[0]=(...t)=>e.unref(C)&&e.unref(C)(...t)),onBlur:r[1]||(r[1]=(...t)=>e.unref(B)&&e.unref(B)(...t)),onChange:G,onKeydown:ie}),null,16,Da),e.createCommentVNode(" suffix slot "),e.unref(z)?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(m).e("suffix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(m).e("suffix-inner"))},[e.unref(D)&&e.unref(L)&&e.unref(U)?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(t.$slots,"suffix"),t.suffixIcon?(e.openBlock(),e.createBlock(e.unref(Sa),{key:0,class:e.normalizeClass(e.unref(m).e("icon"))},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.suffixIcon)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],64)),e.unref(D)?(e.openBlock(),e.createBlock(e.unref(Sa),{key:1,class:e.normalizeClass([e.unref(m).e("icon"),e.unref(m).e("clear")]),onMousedown:e.withModifiers(e.unref(qt),["prevent"]),onClick:ne},{default:e.withCtx((()=>[e.createVNode(e.unref(ji))])),_:1},8,["class","onMousedown"])):e.createCommentVNode("v-if",!0),e.unref(L)?(e.openBlock(),e.createBlock(e.unref(Sa),{key:2,class:e.normalizeClass([e.unref(m).e("icon"),e.unref(m).e("password")]),onClick:Z},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(O))))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.unref(U)?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(e.unref(m).e("count"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(m).e("count-inner"))},e.toDisplayString(e.unref(F))+" / "+e.toDisplayString(e.unref(h).maxlength),3)],2)):e.createCommentVNode("v-if",!0),e.unref(R)&&e.unref(M)&&e.unref(I)?(e.openBlock(),e.createBlock(e.unref(Sa),{key:4,class:e.normalizeClass([e.unref(m).e("icon"),e.unref(m).e("validateIcon"),e.unref(m).is("loading","validating"===e.unref(R))])},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(M))))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0)],2),e.createCommentVNode(" append slot "),t.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(m).be("group","append"))},[e.renderSlot(t.$slots,"append")],2)):e.createCommentVNode("v-if",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" textarea "),e.createElementVNode("textarea",e.mergeProps({id:e.unref(p),ref_key:"textarea",ref:b,class:e.unref(v).e("inner")},e.unref(h),{tabindex:t.tabindex,disabled:e.unref(g),readonly:t.readonly,autocomplete:t.autocomplete,style:e.unref(j),"aria-label":t.label,placeholder:t.placeholder,form:n.form,autofocus:n.autofocus,onCompositionstart:Q,onCompositionupdate:J,onCompositionend:X,onInput:K,onFocus:r[2]||(r[2]=(...t)=>e.unref(C)&&e.unref(C)(...t)),onBlur:r[3]||(r[3]=(...t)=>e.unref(B)&&e.unref(B)(...t)),onChange:G,onKeydown:ie}),null,16,La),e.unref(U)?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(E.value),class:e.normalizeClass(e.unref(m).e("count"))},e.toDisplayString(e.unref(F))+" / "+e.toDisplayString(e.unref(h).maxlength),7)):e.createCommentVNode("v-if",!0)],64))],16,Na)),[[e.vShow,"hidden"!==t.type]])}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]])),Ha="focus-trap.focus-after-trapped",za="focus-trap.focus-after-released",Wa={cancelable:!0,bubbles:!1},Va={cancelable:!0,bubbles:!1},$a="focusAfterTrapped",qa="focusAfterReleased",Ya=Symbol("elFocusTrap"),Ka=e.ref(),Ga=e.ref(0),Qa=e.ref(0);let Ja=0;const Xa=e=>{const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t},Za=(e,t)=>{for(const r of e)if(!eo(r,t))return r},eo=(e,t)=>{if("test"===process.env.NODE_ENV)return!1;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},to=(e,t)=>{if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),Qa.value=window.performance.now(),e!==r&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select()}};function ro(e,t){const r=[...e],i=e.indexOf(t);return-1!==i&&r.splice(i,1),r}const io=(()=>{let e=[];return{push:t=>{const r=e[0];r&&t!==r&&r.pause(),e=ro(e,t),e.unshift(t)},remove:t=>{var r,i;e=ro(e,t),null==(i=null==(r=e[0])?void 0:r.resume)||i.call(r)}}})(),no=()=>{Ka.value="pointer",Ga.value=window.performance.now()},ao=()=>{Ka.value="keyboard",Ga.value=window.performance.now()},oo=e=>new CustomEvent("focus-trap.focusout-prevented",{...Va,detail:e});var so=_a(e.defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[$a,qa,"focusin","focusout","focusout-prevented","release-requested"],setup(t,{emit:r}){const i=e.ref();let n,a;const{focusReason:o}=(e.onMounted((()=>{0===Ja&&(document.addEventListener("mousedown",no),document.addEventListener("touchstart",no),document.addEventListener("keydown",ao)),Ja++})),e.onBeforeUnmount((()=>{Ja--,Ja<=0&&(document.removeEventListener("mousedown",no),document.removeEventListener("touchstart",no),document.removeEventListener("keydown",ao))})),{focusReason:Ka,lastUserFocusTimestamp:Ga,lastAutomatedFocusTimestamp:Qa});var s;s=e=>{t.trapped&&!l.paused&&r("release-requested",e)},e.onMounted((()=>{0===la.length&&document.addEventListener("keydown",ca),Tt&&la.push(s)})),e.onBeforeUnmount((()=>{la=la.filter((e=>e!==s)),0===la.length&&Tt&&document.removeEventListener("keydown",ca)}));const l={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},c=e=>{if(!t.loop&&!t.trapped)return;if(l.paused)return;const{key:i,altKey:n,ctrlKey:a,metaKey:s,currentTarget:c,shiftKey:h}=e,{loop:d}=t,u=i===En&&!n&&!a&&!s,p=document.activeElement;if(u&&p){const t=c,[i,n]=(e=>{const t=Xa(e);return[Za(t,e),Za(t.reverse(),e)]})(t);if(i&&n)if(h||p!==n){if(h&&[i,t].includes(p)){const t=oo({focusReason:o.value});r("focusout-prevented",t),t.defaultPrevented||(e.preventDefault(),d&&to(n,!0))}}else{const t=oo({focusReason:o.value});r("focusout-prevented",t),t.defaultPrevented||(e.preventDefault(),d&&to(i,!0))}else if(p===t){const t=oo({focusReason:o.value});r("focusout-prevented",t),t.defaultPrevented||e.preventDefault()}}};e.provide(Ya,{focusTrapRef:i,onKeydown:c}),e.watch((()=>t.focusTrapEl),(e=>{e&&(i.value=e)}),{immediate:!0}),e.watch([i],(([e],[t])=>{e&&(e.addEventListener("keydown",c),e.addEventListener("focusin",u),e.addEventListener("focusout",p)),t&&(t.removeEventListener("keydown",c),t.removeEventListener("focusin",u),t.removeEventListener("focusout",p))}));const h=e=>{r($a,e)},d=e=>r(qa,e),u=o=>{const s=e.unref(i);if(!s)return;const c=o.target,h=o.relatedTarget,d=c&&s.contains(c);if(!t.trapped){h&&s.contains(h)||(n=h)}d&&r("focusin",o),l.paused||t.trapped&&(d?a=c:to(a,!0))},p=n=>{const s=e.unref(i);if(!l.paused&&s)if(t.trapped){const e=n.relatedTarget;ui(e)||s.contains(e)||setTimeout((()=>{if(!l.paused&&t.trapped){const e=oo({focusReason:o.value});r("focusout-prevented",e),e.defaultPrevented||to(a,!0)}}),0)}else{const e=n.target;e&&s.contains(e)||r("focusout",n)}};async function f(){await e.nextTick();const r=e.unref(i);if(r){io.push(l);const i=r.contains(document.activeElement)?n:document.activeElement;n=i;if(!r.contains(i)){const n=new Event(Ha,Wa);r.addEventListener(Ha,h),r.dispatchEvent(n),n.defaultPrevented||e.nextTick((()=>{let e=t.focusStartEl;Xt(e)||(to(e),document.activeElement!==e&&(e="first")),"first"===e&&((e,t=!1)=>{const r=document.activeElement;for(const i of e)if(to(i,t),document.activeElement!==r)return})(Xa(r),!0),document.activeElement!==i&&"container"!==e||to(r)}))}}}function g(){const t=e.unref(i);if(t){t.removeEventListener(Ha,h);const e=new CustomEvent(za,{...Wa,detail:{focusReason:o.value}});t.addEventListener(za,d),t.dispatchEvent(e),e.defaultPrevented||"keyboard"!=o.value&&Ga.value>Qa.value&&!t.contains(document.activeElement)||to(null!=n?n:document.body),t.removeEventListener(za,d),io.remove(l)}}return e.onMounted((()=>{t.trapped&&f(),e.watch((()=>t.trapped),(e=>{e?f():g()}))})),e.onBeforeUnmount((()=>{t.trapped&&g()})),{onKeydown:c}}}),[["render",function(t,r,i,n,a,o){return e.renderSlot(t.$slots,"default",{handleKeydown:t.onKeydown})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const lo=Symbol("buttonGroupContextKey"),co=(t,r)=>{(({from:t,replacement:r,scope:i,version:n,ref:a,type:o="API"},s)=>{e.watch((()=>e.unref(s)),(e=>{e&&yi(i,`[${o}] ${t} is about to be deprecated in version ${n}, please use ${r} instead.\nFor more detail, please visit: ${a}\n`)}),{immediate:!0})})({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},e.computed((()=>"text"===t.type)));const i=e.inject(lo,void 0),n=va("button"),{form:a}=Ba(),o=Aa(e.computed((()=>null==i?void 0:i.size))),s=Ca(),l=e.ref(),c=e.useSlots(),h=e.computed((()=>t.type||(null==i?void 0:i.type)||"")),d=e.computed((()=>{var e,r,i;return null!=(i=null!=(r=t.autoInsertSpace)?r:null==(e=n.value)?void 0:e.autoInsertSpace)&&i})),u=e.computed((()=>"button"===t.tag?{ariaDisabled:s.value||t.loading,disabled:s.value||t.loading,autofocus:t.autofocus,type:t.nativeType}:{})),p=e.computed((()=>{var t;const r=null==(t=c.default)?void 0:t.call(c);if(d.value&&1===(null==r?void 0:r.length)){const t=r[0];if((null==t?void 0:t.type)===e.Text){const e=t.children;return/^\p{Unified_Ideograph}{2}$/u.test(e.trim())}}return!1}));return{_disabled:s,_size:o,_type:h,_ref:l,_props:u,shouldAddSpace:p,handleClick:e=>{"reset"===t.nativeType&&(null==a||a.resetFields()),r("click",e)}}},ho=vn({size:ua,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:yn},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:yn,default:()=>Ji},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:[String,Object],default:"button"}}),uo={click:e=>e instanceof MouseEvent};function po(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),r&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function fo(e){return Math.min(1,Math.max(0,e))}function go(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function mo(e){return e<=1?"".concat(100*Number(e),"%"):e}function vo(e){return 1===e.length?"0"+e:String(e)}function yo(e,t,r){e=po(e,255),t=po(t,255),r=po(r,255);var i=Math.max(e,t,r),n=Math.min(e,t,r),a=0,o=0,s=(i+n)/2;if(i===n)o=0,a=0;else{var l=i-n;switch(o=s>.5?l/(2-i-n):l/(i+n),i){case e:a=(t-r)/l+(t<r?6:0);break;case t:a=(r-e)/l+2;break;case r:a=(e-t)/l+4}a/=6}return{h:a,s:o,l:s}}function bo(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*r*(t-e):r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function wo(e,t,r){e=po(e,255),t=po(t,255),r=po(r,255);var i=Math.max(e,t,r),n=Math.min(e,t,r),a=0,o=i,s=i-n,l=0===i?0:s/i;if(i===n)a=0;else{switch(i){case e:a=(t-r)/s+(t<r?6:0);break;case t:a=(r-e)/s+2;break;case r:a=(e-t)/s+4}a/=6}return{h:a,s:l,v:o}}function _o(e,t,r,i){var n=[vo(Math.round(e).toString(16)),vo(Math.round(t).toString(16)),vo(Math.round(r).toString(16))];return i&&n[0].startsWith(n[0].charAt(1))&&n[1].startsWith(n[1].charAt(1))&&n[2].startsWith(n[2].charAt(1))?n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0):n.join("")}function xo(e){return Eo(e)/255}function Eo(e){return parseInt(e,16)}var So={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function To(e){var t,r,i,n={r:0,g:0,b:0},a=1,o=null,s=null,l=null,c=!1,h=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(So[e])e=So[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var r=Bo.rgb.exec(e);if(r)return{r:r[1],g:r[2],b:r[3]};if(r=Bo.rgba.exec(e),r)return{r:r[1],g:r[2],b:r[3],a:r[4]};if(r=Bo.hsl.exec(e),r)return{h:r[1],s:r[2],l:r[3]};if(r=Bo.hsla.exec(e),r)return{h:r[1],s:r[2],l:r[3],a:r[4]};if(r=Bo.hsv.exec(e),r)return{h:r[1],s:r[2],v:r[3]};if(r=Bo.hsva.exec(e),r)return{h:r[1],s:r[2],v:r[3],a:r[4]};if(r=Bo.hex8.exec(e),r)return{r:Eo(r[1]),g:Eo(r[2]),b:Eo(r[3]),a:xo(r[4]),format:t?"name":"hex8"};if(r=Bo.hex6.exec(e),r)return{r:Eo(r[1]),g:Eo(r[2]),b:Eo(r[3]),format:t?"name":"hex"};if(r=Bo.hex4.exec(e),r)return{r:Eo(r[1]+r[1]),g:Eo(r[2]+r[2]),b:Eo(r[3]+r[3]),a:xo(r[4]+r[4]),format:t?"name":"hex8"};if(r=Bo.hex3.exec(e),r)return{r:Eo(r[1]+r[1]),g:Eo(r[2]+r[2]),b:Eo(r[3]+r[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(Io(e.r)&&Io(e.g)&&Io(e.b)?(t=e.r,r=e.g,i=e.b,n={r:255*po(t,255),g:255*po(r,255),b:255*po(i,255)},c=!0,h="%"===String(e.r).substr(-1)?"prgb":"rgb"):Io(e.h)&&Io(e.s)&&Io(e.v)?(o=mo(e.s),s=mo(e.v),n=function(e,t,r){e=6*po(e,360),t=po(t,100),r=po(r,100);var i=Math.floor(e),n=e-i,a=r*(1-t),o=r*(1-n*t),s=r*(1-(1-n)*t),l=i%6;return{r:255*[r,o,a,a,s,r][l],g:255*[s,r,r,o,a,a][l],b:255*[a,a,s,r,r,o][l]}}(e.h,o,s),c=!0,h="hsv"):Io(e.h)&&Io(e.s)&&Io(e.l)&&(o=mo(e.s),l=mo(e.l),n=function(e,t,r){var i,n,a;if(e=po(e,360),t=po(t,100),r=po(r,100),0===t)n=r,a=r,i=r;else{var o=r<.5?r*(1+t):r+t-r*t,s=2*r-o;i=bo(s,o,e+1/3),n=bo(s,o,e),a=bo(s,o,e-1/3)}return{r:255*i,g:255*n,b:255*a}}(e.h,o,l),c=!0,h="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=go(a),{ok:c,format:e.format||h,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:a}}var ko="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),Ao="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Co="[\\s|\\(]+(".concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")[,|\\s]+(").concat(ko,")\\s*\\)?"),Bo={CSS_UNIT:new RegExp(ko),rgb:new RegExp("rgb"+Ao),rgba:new RegExp("rgba"+Co),hsl:new RegExp("hsl"+Ao),hsla:new RegExp("hsla"+Co),hsv:new RegExp("hsv"+Ao),hsva:new RegExp("hsva"+Co),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Io(e){return Boolean(Bo.CSS_UNIT.exec(String(e)))}var Ro=function(){function e(t,r){var i;if(void 0===t&&(t=""),void 0===r&&(r={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return{r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var n=To(t);this.originalInput=t,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(i=r.format)&&void 0!==i?i:n.format,this.gradientType=r.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,r=e.g/255,i=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=go(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=wo(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=wo(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),i=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(t,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=yo(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=yo(this.r,this.g,this.b),t=Math.round(360*e.h),r=Math.round(100*e.s),i=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(t,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),_o(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,r,i,n){var a,o=[vo(Math.round(e).toString(16)),vo(Math.round(t).toString(16)),vo(Math.round(r).toString(16)),vo((a=i,Math.round(255*parseFloat(a)).toString(16)))];return n&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))&&o[3].startsWith(o[3].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0)+o[3].charAt(0):o.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),r=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(r,")"):"rgba(".concat(e,", ").concat(t,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*po(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*po(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+_o(this.r,this.g,this.b,!1),t=0,r=Object.entries(So);t<r.length;t++){var i=r[t],n=i[0];if(e===i[1])return n}return!1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var r=!1,i=this.a<1&&this.a>=0;return t||!i||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=fo(r.l),new e(r)},e.prototype.brighten=function(t){void 0===t&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(-t/100*255))),r.g=Math.max(0,Math.min(255,r.g-Math.round(-t/100*255))),r.b=Math.max(0,Math.min(255,r.b-Math.round(-t/100*255))),new e(r)},e.prototype.darken=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=fo(r.l),new e(r)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=fo(r.s),new e(r)},e.prototype.saturate=function(t){void 0===t&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=fo(r.s),new e(r)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var r=this.toHsl(),i=(r.h+t)%360;return r.h=i<0?360+i:i,new e(r)},e.prototype.mix=function(t,r){void 0===r&&(r=50);var i=this.toRgb(),n=new e(t).toRgb(),a=r/100;return new e({r:(n.r-i.r)*a+i.r,g:(n.g-i.g)*a+i.g,b:(n.b-i.b)*a+i.b,a:(n.a-i.a)*a+i.a})},e.prototype.analogous=function(t,r){void 0===t&&(t=6),void 0===r&&(r=30);var i=this.toHsl(),n=360/r,a=[this];for(i.h=(i.h-(n*t>>1)+720)%360;--t;)i.h=(i.h+n)%360,a.push(new e(i));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var r=this.toHsv(),i=r.h,n=r.s,a=r.v,o=[],s=1/t;t--;)o.push(new e({h:i,s:n,v:a})),a=(a+s)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new e({h:(r+72)%360,s:t.s,l:t.l}),new e({h:(r+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var r=this.toRgb(),i=new e(t).toRgb(),n=r.a+i.a*(1-r.a);return new e({r:(r.r*r.a+i.r*i.a*(1-r.a))/n,g:(r.g*r.a+i.g*i.a*(1-r.a))/n,b:(r.b*r.a+i.b*i.a*(1-r.a))/n,a:n})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var r=this.toHsl(),i=r.h,n=[this],a=360/t,o=1;o<t;o++)n.push(new e({h:(i+o*a)%360,s:r.s,l:r.l}));return n},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Mo(e,t=20){return e.mix("#141414",t).toString()}const Oo=e.defineComponent({name:"ElButton"});var Po=_a(e.defineComponent({...Oo,props:ho,emits:uo,setup(t,{expose:r,emit:i}){const n=t,a=function(t){const r=Ca(),i=ta("button");return e.computed((()=>{let e={};const n=t.color;if(n){const a=new Ro(n),o=t.dark?a.tint(20).toString():Mo(a,20);if(t.plain)e=i.cssVarBlock({"bg-color":t.dark?Mo(a,90):a.tint(90).toString(),"text-color":n,"border-color":t.dark?Mo(a,50):a.tint(50).toString(),"hover-text-color":`var(${i.cssVarName("color-white")})`,"hover-bg-color":n,"hover-border-color":n,"active-bg-color":o,"active-text-color":`var(${i.cssVarName("color-white")})`,"active-border-color":o}),r.value&&(e[i.cssVarBlockName("disabled-bg-color")]=t.dark?Mo(a,90):a.tint(90).toString(),e[i.cssVarBlockName("disabled-text-color")]=t.dark?Mo(a,50):a.tint(50).toString(),e[i.cssVarBlockName("disabled-border-color")]=t.dark?Mo(a,80):a.tint(80).toString());else{const s=t.dark?Mo(a,30):a.tint(30).toString(),l=a.isDark()?`var(${i.cssVarName("color-white")})`:`var(${i.cssVarName("color-black")})`;if(e=i.cssVarBlock({"bg-color":n,"text-color":l,"border-color":n,"hover-bg-color":s,"hover-text-color":l,"hover-border-color":s,"active-bg-color":o,"active-border-color":o}),r.value){const r=t.dark?Mo(a,50):a.tint(50).toString();e[i.cssVarBlockName("disabled-bg-color")]=r,e[i.cssVarBlockName("disabled-text-color")]=t.dark?"rgba(255, 255, 255, 0.5)":`var(${i.cssVarName("color-white")})`,e[i.cssVarBlockName("disabled-border-color")]=r}}}return e}))}(n),o=ta("button"),{_ref:s,_size:l,_type:c,_disabled:h,_props:d,shouldAddSpace:u,handleClick:p}=co(n,i);return r({ref:s,size:l,type:c,disabled:h,shouldAddSpace:u}),(t,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tag),e.mergeProps({ref_key:"_ref",ref:s},e.unref(d),{class:[e.unref(o).b(),e.unref(o).m(e.unref(c)),e.unref(o).m(e.unref(l)),e.unref(o).is("disabled",e.unref(h)),e.unref(o).is("loading",t.loading),e.unref(o).is("plain",t.plain),e.unref(o).is("round",t.round),e.unref(o).is("circle",t.circle),e.unref(o).is("text",t.text),e.unref(o).is("link",t.link),e.unref(o).is("has-bg",t.bg)],style:e.unref(a),onClick:e.unref(p)}),{default:e.withCtx((()=>[t.loading?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.$slots.loading?e.renderSlot(t.$slots,"loading",{key:0}):(e.openBlock(),e.createBlock(e.unref(Sa),{key:1,class:e.normalizeClass(e.unref(o).is("loading"))},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.loadingIcon)))])),_:1},8,["class"]))],64)):t.icon||t.$slots.icon?(e.openBlock(),e.createBlock(e.unref(Sa),{key:1},{default:e.withCtx((()=>[t.icon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.icon),{key:0})):e.renderSlot(t.$slots,"icon",{key:1})])),_:3})):e.createCommentVNode("v-if",!0),t.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass({[e.unref(o).em("text","expand")]:e.unref(u)})},[e.renderSlot(t.$slots,"default")],2)):e.createCommentVNode("v-if",!0)])),_:3},16,["class","style","onClick"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const jo={size:ho.size,type:ho.type},No=e.defineComponent({name:"ElButtonGroup"});var Do=_a(e.defineComponent({...No,props:jo,setup(t){const r=t;e.provide(lo,e.reactive({size:e.toRef(r,"size"),type:e.toRef(r,"type")}));const i=ta("button");return(t,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`${e.unref(i).b("group")}`)},[e.renderSlot(t.$slots,"default")],2))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const Lo=xn(Po,{ButtonGroup:Do});Do.install=qt;const Uo="_trap-focus-children",Fo=[],Ho=e=>{var t;if(0===Fo.length)return;const r=Fo[Fo.length-1][Uo];if(r.length>0&&e.code===En){if(1===r.length)return e.preventDefault(),void(document.activeElement!==r[0]&&r[0].focus());const i=e.shiftKey,n=e.target===r[0],a=e.target===r[r.length-1];if(n&&i&&(e.preventDefault(),r[r.length-1].focus()),a&&!i&&(e.preventDefault(),r[0].focus()),"test"===process.env.NODE_ENV){const n=r.indexOf(e.target);-1!==n&&(null==(t=r[i?n-1:n+1])||t.focus())}}},zo={beforeMount(e){e[Uo]=xt(e),Fo.push(e),Fo.length<=1&&document.addEventListener("keydown",Ho)},updated(t){e.nextTick((()=>{t[Uo]=xt(t)}))},unmounted(){Fo.shift(),0===Fo.length&&document.removeEventListener("keydown",Ho)}},Wo=vn({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:[String,Array,Object]},zIndex:{type:[String,Number]}}),Vo={click:e=>e instanceof MouseEvent};const $o=e.defineComponent({name:"ElOverlay",props:Wo,emits:Vo,setup(t,{slots:r,emit:i}){const n=ta("overlay"),{onClick:a,onMousedown:o,onMouseup:s}=na(t.customMaskEvent?void 0:e=>{i("click",e)});return()=>t.mask?e.createVNode("div",{class:[n.b(),t.overlayClass],style:{zIndex:t.zIndex},onClick:a,onMousedown:o,onMouseup:s},[e.renderSlot(r,"default")],An.STYLE|An.CLASS|An.PROPS,["onClick","onMouseup","onMousedown"]):e.h("div",{class:t.overlayClass,style:{zIndex:t.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[e.renderSlot(r,"default")])}}),qo=e.defineComponent({name:"ElMessageBox",directives:{TrapFocus:zo},components:{ElButton:Lo,ElFocusTrap:so,ElInput:Fa,ElOverlay:$o,ElIcon:Sa,...bn},inheritAttrs:!1,props:{buttonSize:{type:String,validator:e=>["",...kn].includes(e)},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(t,{emit:r}){const{locale:i,zIndex:n,ns:a,size:o}=ya("message-box",e.computed((()=>t.buttonSize))),{t:s}=i,{nextZIndex:l}=n,c=e.ref(!1),h=e.reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:l()}),d=e.computed((()=>{const e=h.type;return{[a.bm("icon",e)]:e&&wn[e]}})),u=sa(),p=sa(),f=e.computed((()=>h.icon||wn[h.type]||"")),g=e.computed((()=>!!h.message)),m=e.ref(),v=e.ref(),y=e.ref(),b=e.ref(),w=e.ref(),_=e.computed((()=>h.confirmButtonClass));e.watch((()=>h.inputValue),(async r=>{await e.nextTick(),"prompt"===t.boxType&&null!==r&&A()}),{immediate:!0}),e.watch((()=>c.value),(r=>{var i,n;r&&("prompt"!==t.boxType&&(h.autofocus?y.value=null!=(n=null==(i=w.value)?void 0:i.$el)?n:m.value:y.value=m.value),h.zIndex=l()),"prompt"===t.boxType&&(r?e.nextTick().then((()=>{var e;b.value&&b.value.$el&&(h.autofocus?y.value=null!=(e=C())?e:m.value:y.value=m.value)})):(h.editorErrorMessage="",h.validateError=!1))}));const x=e.computed((()=>t.draggable));function E(){c.value&&(c.value=!1,e.nextTick((()=>{h.action&&r("action",h.action)})))}In(m,v,x),e.onMounted((async()=>{await e.nextTick(),t.closeOnHashChange&&window.addEventListener("hashchange",E)})),e.onBeforeUnmount((()=>{t.closeOnHashChange&&window.removeEventListener("hashchange",E)}));const S=()=>{t.closeOnClickModal&&k(h.distinguishCancelAndClose?"close":"cancel")},T=na(S),k=e=>{var r;("prompt"!==t.boxType||"confirm"!==e||A())&&(h.action=e,h.beforeClose?null==(r=h.beforeClose)||r.call(h,e,h,E):E())},A=()=>{if("prompt"===t.boxType){const e=h.inputPattern;if(e&&!e.test(h.inputValue||""))return h.editorErrorMessage=h.inputErrorMessage||s("el.messagebox.error"),h.validateError=!0,!1;const t=h.inputValidator;if("function"==typeof t){const e=t(h.inputValue);if(!1===e)return h.editorErrorMessage=h.inputErrorMessage||s("el.messagebox.error"),h.validateError=!0,!1;if("string"==typeof e)return h.editorErrorMessage=e,h.validateError=!0,!1}}return h.editorErrorMessage="",h.validateError=!1,!0},C=()=>{const e=b.value.$refs;return e.input||e.textarea},B=()=>{k("close")};return t.lockScroll&&ra(c),{...e.toRefs(h),ns:a,overlayEvent:T,visible:c,hasMessage:g,typeClass:d,contentId:u,inputId:p,btnSize:o,iconComponent:f,confirmButtonClasses:_,rootRef:m,focusStartRef:y,headerRef:v,inputRef:b,confirmRef:w,doClose:E,handleClose:B,onCloseRequested:()=>{t.closeOnPressEscape&&B()},handleWrapperClick:S,handleInputEnter:e=>{if("textarea"!==h.inputType)return e.preventDefault(),k("confirm")},handleAction:k,t:s}}}),Yo=["aria-label","aria-describedby"],Ko=["aria-label"],Go=["id"];var Qo=_a(qo,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-icon"),l=e.resolveComponent("close"),c=e.resolveComponent("el-input"),h=e.resolveComponent("el-button"),d=e.resolveComponent("el-focus-trap"),u=e.resolveComponent("el-overlay");return e.openBlock(),e.createBlock(e.Transition,{name:"fade-in-linear",onAfterLeave:r[11]||(r[11]=e=>t.$emit("vanish")),persisted:""},{default:e.withCtx((()=>[e.withDirectives(e.createVNode(u,{"z-index":t.zIndex,"overlay-class":[t.ns.is("message-box"),t.modalClass],mask:t.modal},{default:e.withCtx((()=>[e.createElementVNode("div",{role:"dialog","aria-label":t.title,"aria-modal":"true","aria-describedby":t.showInput?void 0:t.contentId,class:e.normalizeClass(`${t.ns.namespace.value}-overlay-message-box`),onClick:r[8]||(r[8]=(...e)=>t.overlayEvent.onClick&&t.overlayEvent.onClick(...e)),onMousedown:r[9]||(r[9]=(...e)=>t.overlayEvent.onMousedown&&t.overlayEvent.onMousedown(...e)),onMouseup:r[10]||(r[10]=(...e)=>t.overlayEvent.onMouseup&&t.overlayEvent.onMouseup(...e))},[e.createVNode(d,{loop:"",trapped:t.visible,"focus-trap-el":t.rootRef,"focus-start-el":t.focusStartRef,onReleaseRequested:t.onCloseRequested},{default:e.withCtx((()=>[e.createElementVNode("div",{ref:"rootRef",class:e.normalizeClass([t.ns.b(),t.customClass,t.ns.is("draggable",t.draggable),{[t.ns.m("center")]:t.center}]),style:e.normalizeStyle(t.customStyle),tabindex:"-1",onClick:r[7]||(r[7]=e.withModifiers((()=>{}),["stop"]))},[null!==t.title&&void 0!==t.title?(e.openBlock(),e.createElementBlock("div",{key:0,ref:"headerRef",class:e.normalizeClass(t.ns.e("header"))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("title"))},[t.iconComponent&&t.center?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.e("status"),t.typeClass])},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0),e.createElementVNode("span",null,e.toDisplayString(t.title),1)],2),t.showClose?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(t.ns.e("headerbtn")),"aria-label":t.t("el.messagebox.close"),onClick:r[0]||(r[0]=e=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),onKeydown:r[1]||(r[1]=e.withKeys(e.withModifiers((e=>t.handleAction(t.distinguishCancelAndClose?"close":"cancel")),["prevent"]),["enter"]))},[e.createVNode(s,{class:e.normalizeClass(t.ns.e("close"))},{default:e.withCtx((()=>[e.createVNode(l)])),_:1},8,["class"])],42,Ko)):e.createCommentVNode("v-if",!0)],2)):e.createCommentVNode("v-if",!0),e.createElementVNode("div",{id:t.contentId,class:e.normalizeClass(t.ns.e("content"))},[e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("container"))},[t.iconComponent&&!t.center&&t.hasMessage?(e.openBlock(),e.createBlock(s,{key:0,class:e.normalizeClass([t.ns.e("status"),t.typeClass])},{default:e.withCtx((()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.iconComponent)))])),_:1},8,["class"])):e.createCommentVNode("v-if",!0),t.hasMessage?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(t.ns.e("message"))},[e.renderSlot(t.$slots,"default",{},(()=>[t.dangerouslyUseHTMLString?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.showInput?"label":"p"),{key:1,for:t.showInput?t.inputId:void 0,innerHTML:t.message},null,8,["for","innerHTML"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.showInput?"label":"p"),{key:0,for:t.showInput?t.inputId:void 0},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.dangerouslyUseHTMLString?"":t.message),1)])),_:1},8,["for"]))]))],2)):e.createCommentVNode("v-if",!0)],2),e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("input"))},[e.createVNode(c,{id:t.inputId,ref:"inputRef",modelValue:t.inputValue,"onUpdate:modelValue":r[2]||(r[2]=e=>t.inputValue=e),type:t.inputType,placeholder:t.inputPlaceholder,"aria-invalid":t.validateError,class:e.normalizeClass({invalid:t.validateError}),onKeydown:e.withKeys(t.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("errormsg")),style:e.normalizeStyle({visibility:t.editorErrorMessage?"visible":"hidden"})},e.toDisplayString(t.editorErrorMessage),7)],2),[[e.vShow,t.showInput]])],10,Go),e.createElementVNode("div",{class:e.normalizeClass(t.ns.e("btns"))},[t.showCancelButton?(e.openBlock(),e.createBlock(h,{key:0,loading:t.cancelButtonLoading,class:e.normalizeClass([t.cancelButtonClass]),round:t.roundButton,size:t.btnSize,onClick:r[3]||(r[3]=e=>t.handleAction("cancel")),onKeydown:r[4]||(r[4]=e.withKeys(e.withModifiers((e=>t.handleAction("cancel")),["prevent"]),["enter"]))},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.cancelButtonText||t.t("el.messagebox.cancel")),1)])),_:1},8,["loading","class","round","size"])):e.createCommentVNode("v-if",!0),e.withDirectives(e.createVNode(h,{ref:"confirmRef",type:"primary",loading:t.confirmButtonLoading,class:e.normalizeClass([t.confirmButtonClasses]),round:t.roundButton,disabled:t.confirmButtonDisabled,size:t.btnSize,onClick:r[5]||(r[5]=e=>t.handleAction("confirm")),onKeydown:r[6]||(r[6]=e.withKeys(e.withModifiers((e=>t.handleAction("confirm")),["prevent"]),["enter"]))},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.confirmButtonText||t.t("el.messagebox.confirm")),1)])),_:1},8,["loading","class","round","disabled","size"]),[[e.vShow,t.showConfirmButton]])],2)],6)])),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,Yo)])),_:3},8,["z-index","overlay-class","mask"]),[[e.vShow,t.visible]])])),_:3})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const Jo=new Map,Xo=(t,r,i=null)=>{const n=e.createVNode(Qo,t,Jt(t.message)||e.isVNode(t.message)?{default:Jt(t.message)?t.message:()=>t.message}:null);return n.appContext=i,e.render(n,r),(e=>{let t=document.body;return e.appendTo&&(Xt(e.appendTo)&&(t=document.querySelector(e.appendTo)),gi(e.appendTo)&&(t=e.appendTo),gi(t)||(yi("ElMessageBox","the appendTo option is not an HTMLElement. Falling back to document.body."),t=document.body)),t})(t).appendChild(r.firstElementChild),n.component},Zo=(t,r)=>{const i=document.createElement("div");t.onVanish=()=>{e.render(null,i),Jo.delete(a)},t.onAction=e=>{const r=Jo.get(a);let i;i=t.showInput?{value:a.inputValue,action:e}:e,t.callback?t.callback(i,n.proxy):"cancel"===e||"close"===e?t.distinguishCancelAndClose&&"cancel"!==e?r.reject("close"):r.reject("cancel"):r.resolve(i)};const n=Xo(t,i,r),a=n.proxy;for(const e in t)Gt(t,e)&&!Gt(a.$props,e)&&(a[e]=t[e]);return a.visible=!0,a};function es(t,r=null){if(!Tt)return Promise.reject();let i;return Xt(t)||e.isVNode(t)?t={message:t}:i=t.callback,new Promise(((e,n)=>{const a=Zo(t,null!=r?r:es._context);Jo.set(a,{options:t,callback:i,resolve:e,reject:n})}))}const ts={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};["alert","confirm","prompt"].forEach((e=>{es[e]=function(e){return(t,r,i,n)=>{let a="";return er(r)?(i=r,a=""):a=pi(r)?"":r,es(Object.assign({title:a,message:t,type:"",...ts[e]},i,{boxType:e}),n)}}(e)})),es.close=()=>{Jo.forEach(((e,t)=>{t.doClose()})),Jo.clear()},es._context=null;const rs=es;rs.install=e=>{rs._context=e._context,e.config.globalProperties.$msgbox=rs,e.config.globalProperties.$messageBox=rs,e.config.globalProperties.$alert=rs.alert,e.config.globalProperties.$confirm=rs.confirm,e.config.globalProperties.$prompt=rs.prompt};const is=rs;const ns={delMessageBox:function({type:t="warning",title:r="系统提示",message:i,showCancelButton:n=!0,confirmButtonText:a="确定",cancelButtonText:o="取消",doSomething:s=(()=>{})}){is({icon:e.markRaw(fn),type:t,title:r,message:i,showCancelButton:n,confirmButtonText:a,cancelButtonText:o,beforeClose:(e,t,r)=>{"confirm"===e&&s(),r()}}).catch((()=>{}))}};let as={};function os(e,t,r){const i={rotate:-25,can_w:150,can_h:130,font:"14px Vedana",color:"rgba(127, 127, 127, 0.1)",align:"left"};for(let l in r)i[l]=r[l];let n=pt.setDES(e,"ljs-2024.01.30");null!==document.getElementById(n)&&document.body.removeChild(document.getElementById(n));let a=document.createElement("canvas");a.width=i.can_w,a.height=i.can_h;let o=a.getContext("2d");o.rotate(i.rotate*Math.PI/180),o.font=i.font,o.fillStyle=i.color,o.textAlign=i.align,o.textBaseline="Middle",o.fillText(t[0],a.width/8,a.height/2),o.fillText(t[1],a.width/8,2*a.height/3);let s=document.createElement("div");return s.id=n,s.style.display="block",s.style.visibility="visible",s.style.opacity="1",s.style.pointerEvents="none",s.style.top="0px",s.style.left="0px",s.style.position="fixed",s.style.zIndex="100000",s.style.width=document.documentElement.clientWidth+"px",s.style.height=document.documentElement.clientHeight+"px",s.style.background="url("+a.toDataURL("image/png")+") left top repeat",document.body.appendChild(s),n}as.set=(e,t,r,i=500)=>{let n=os(e,t,r);setInterval((()=>{const i=document.getElementById(n),a=i.style;null!==i&&"block"===a.display&&"visible"===a.visibility&&"1"===a.opacity&&"fixed"===a.position&&"0px"===a.top&&"0px"===a.left||(n=os(e,t,r))}),i),window.onresize=()=>{os(e,t,r)}};const ss=(e,t)=>{const r=e.__vccOpts||e;for(const[i,n]of t)r[i]=n;return r},ls={props:{speed:{type:Number,default:3},gaussian:{type:Number,default:1},bgOpacity:{type:Number,default:.5},textColor:{type:String,default:"#FFF"}},data:()=>({}),mounted(){this.init()},methods:{init(){}}},cs={class:"text"},hs={class:"g-container"},ds=(t=>(e.pushScopeId("data-v-474ec553"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("div",{class:"g-circle"},null,-1))),us={class:"g-bubbles"};const ps=ss(ls,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createElementVNode("div",{class:"ljs-loading",id:"ljs-loading",ref:"ljsLoading",style:e.normalizeStyle({"--speed":t.speed,"--gaussian":t.gaussian,"--bgopacity":t.bgOpacity,"--textcolor":t.textColor})},[e.createElementVNode("div",cs,[e.renderSlot(t.$slots,"default",{},void 0,!0)]),e.createElementVNode("div",hs,[ds,e.createElementVNode("div",us,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(200,(t=>e.createElementVNode("div",{class:"g-bubble",key:t}))),64))])])],4)])}],["__scopeId","data-v-474ec553"]]),fs={name:"pagination",props:{total:{required:!0,type:Number},page:{type:Number,default:1},limit:{type:Number,default:10},pageSizes:{type:Array,default:()=>[10,20,30,50]},pagerCount:{type:Number,default:document.body.clientWidth<992?5:7},layout:{type:String,default:"prev, pager, next, sizes, total"},background:{type:Boolean,default:!0},autoScroll:{type:Boolean,default:!0},note:{type:String,default:""}},computed:{currentPage:{get(){return this.page},set(e){this.$emit("update:page",e)}},pageSize:{get(){return this.limit},set(e){this.$emit("update:limit",e)}}},data:()=>({}),methods:{handleSizeChange(e){this.currentPage*e>this.total&&(this.currentPage=1),this.$emit("pagination",{page:this.currentPage,limit:e}),this.autoScroll},handleCurrentChange(e){this.$emit("pagination",{page:e,limit:this.pageSize}),this.autoScroll}}},gs={class:"pagination"},ms={class:"note"};const vs=ss(fs,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-pagination");return e.openBlock(),e.createElementBlock("div",gs,[e.createElementVNode("div",ms,e.toDisplayString(i.note),1),e.createVNode(s,e.mergeProps({background:i.background,"current-page":o.currentPage,"onUpdate:currentPage":r[0]||(r[0]=e=>o.currentPage=e),"page-size":o.pageSize,"onUpdate:pageSize":r[1]||(r[1]=e=>o.pageSize=e),layout:i.layout,"page-sizes":i.pageSizes,"pager-count":i.pagerCount,total:i.total},t.$attrs,{onSizeChange:o.handleSizeChange,onCurrentChange:o.handleCurrentChange}),null,16,["background","current-page","page-size","layout","page-sizes","pager-count","total","onSizeChange","onCurrentChange"])])}],["__scopeId","data-v-fc144f23"]]);const ys=ss({name:"RightMenu",props:{modelValue:[Boolean],position:{type:Object,default:()=>({top:0,left:0})}},data:()=>({}),created(){this.initData()},methods:{async initData(){window.addEventListener("click",(()=>{this.$emit("update:modelValue",!1)}))}}},[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[t.modelValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass([{show:t.modelValue},"rightMenu"]),style:e.normalizeStyle({top:`${t.position.top}px`,left:`${t.position.left}px`})},[e.renderSlot(t.$slots,"default",{},void 0,!0)],6)):e.createCommentVNode("",!0)])}],["__scopeId","data-v-a4322b42"]]),bs=["onClick"],ws={class:"frequencyDate"};const _s=ss({name:"DatetypeChooseDate",props:{date:String,dictValue:String,datetypeData:Array,dateTypeKeyValue:{type:Array,default:["1","2","3"]},formItemLabel:{type:String,default:"日期"},disabledDateSpan:{type:Number,default:0},noType:{type:Array,default:()=>[]}},data:()=>({date_type:[],opts:{dateType:"year",dateTypeTag:!0,valueFormat:"yyyy"}}),computed:{disabledDate(){return w.pickerOptions(this.dateType,this.disabledDateSpan,this.dateTypeKeyValue)},dateType:{get(){return this.dictValue},set(e){this.$emit("update:dictValue",e)}},dateValue:{get(){return this.date},set(e){this.$emit("update:date",e)}}},watch:{dateType:{handler(e){this.dateTypeF(this.dateType)},deep:!0,immediate:!0},datetypeData:{handler(e){void 0!==this.datetypeData&&null!==this.datetypeData&&0!==this.datetypeData.length&&this.init()},deep:!0,immediate:!0}},created(){this.init()},methods:{init(){this.initData()},async initData(){const e=this.datetypeData;e&&(this.noType.forEach((t=>{const r=e.length;for(let i=0;i<r;i++){if(t===e[i].dictValue){e.splice(i,1);break}}})),this.date_type=e),this.dateTypeF(this.dateType)},dateTypeF(e){this.opts.dateTypeTag=!1;let t=Date.now();this.dateType=e;let r=null,i=null;switch(e){case this.dateTypeKeyValue[2]:t+=3600*this.disabledDateSpan*1e3*24,this.opts.dateType="date",this.opts.valueFormat="YYYY-MM-DD",this.dateValue=v.formatTime(t,"{y}-{m}-{d}");break;case this.dateTypeKeyValue[1]:r=new Date(t).getFullYear(),i=new Date(t).getMonth()+this.disabledDateSpan,i<0?(r+=this.disabledDateSpan,i=12):i+=1,this.opts.dateType="month",this.opts.valueFormat="YYYY-MM",this.dateValue=v.formatTime(new Date(`${r}-${i}`),"{y}-{m}");break;case this.dateTypeKeyValue[0]:r=new Date(t).getFullYear(),r+=this.disabledDateSpan,this.opts.dateType="year",this.opts.valueFormat="YYYY",this.dateValue=r.toString()}setTimeout((()=>{this.opts.dateTypeTag=!0}),0)}}},[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-date-picker"),l=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(l,{label:i.formItemLabel,prop:"date"},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"frequency",style:e.normalizeStyle({"--dateTypeNum":a.date_type.length})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.date_type,(t=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["one",{active:o.dateType===t.dictValue}]),onClick:e=>o.dateTypeF(t.dictValue),key:t.dictValue},e.toDisplayString(t.dictLabel),11,bs)))),128))],4),e.createVNode(e.Transition,{name:"frequencyDate"},{default:e.withCtx((()=>[e.createElementVNode("div",ws,[e.createVNode(s,{modelValue:o.dateValue,"onUpdate:modelValue":r[0]||(r[0]=e=>o.dateValue=e),style:{width:"240px"},"value-format":a.opts.valueFormat,type:a.opts.dateType,placeholder:"请选择",editable:!1,clearable:!1,"disabled-date":o.disabledDate},null,8,["modelValue","value-format","type","disabled-date"])])])),_:1})])),_:1},8,["label"])}],["__scopeId","data-v-2df59daa"]]),xs={name:"DatetypeChooseDateRange",props:{date:Array,dictValue:String,datetypeData:Array,clearable:{type:Boolean,default:!1},disabledDate:{type:Function,default:()=>{}},dateTypeKeyValue:{type:Array,default:["1","2","3"]},dateSwitchRule:{type:Number,default:0},formItemLabel:{type:String,default:"日期区间"},noType:{type:Array,default:()=>[]},symbol:{type:String,default:"~"}},data:()=>({LJSfc:w,date_type:[],opts:{startDate:null,endDate:null,dateType:"date",dateTypeTag:!0,valueFormat:"YYYY-MM-DD"}}),computed:{dateType:{get(){return this.dictValue},set(e){this.$emit("update:dictValue",e)}}},watch:{dateType:{handler(e){this.dateTypeF(this.dateType)},deep:!0,immediate:!0},datetypeData:{handler(e){void 0!==this.datetypeData&&null!==this.datetypeData&&0!==this.datetypeData.length&&this.init()},deep:!0,immediate:!0}},mounted(){this.init()},methods:{dateChange(){if(null===this.opts.startDate||null===this.opts.endDate)return void this.$emit("update:date",[this.opts.startDate,this.opts.endDate]);let e=this.opts.startDate,t=this.opts.startDate;if("year"!==this.dateType&&(e=new Date(this.opts.startDate).getTime(),t=new Date(this.opts.endDate).getTime()),Number(e)>Number(t)){const e=this.opts.startDate;this.opts.startDate=this.opts.endDate,this.opts.endDate=e}this.$emit("update:date",[this.opts.startDate,this.opts.endDate])},init(){this.initData()},async initData(){const e=this.datetypeData;e&&(this.noType.forEach((t=>{const r=e.length;for(let i=0;i<r;i++){if(t===e[i].dictValue){e.splice(i,1);break}}})),this.date_type=e),d.fieldCheck(this.date)||2!==this.date.length||(this.opts.startDate=this.date[0],this.opts.endDate=this.date[1]),this.dateTypeF(this.dateType)},dateTypeF(e){this.opts.dateTypeTag=!1,this.dateType=e;let t=[],r=null;switch(e){case this.dateTypeKeyValue[3]:this.opts.dateType="datetime",this.opts.valueFormat="YYYY-MM-DD HH:mm:ss";break;case this.dateTypeKeyValue[2]:this.opts.dateType="date",this.opts.valueFormat="YYYY-MM-DD";break;case this.dateTypeKeyValue[1]:this.opts.dateType="month",this.opts.valueFormat="YYYY-MM";break;case this.dateTypeKeyValue[0]:this.opts.dateType="year",this.opts.valueFormat="YYYY"}if(!d.fieldCheck(this.date)&&2===this.date.length){switch(0===this.dateSwitchRule?r=[this.date[0],this.date[1]]:1===this.dateSwitchRule&&(r=v.initSearchDateQj(this.opts.dateType)),e){case this.dateTypeKeyValue[3]:this.opts.startDate=v.formatTime(r[0],"{y}-{m}-{d} {h}:{i}:{s}"),this.opts.endDate=v.formatTime(r[1],"{y}-{m}-{d} {h}:{i}:{s}");break;case this.dateTypeKeyValue[2]:this.opts.startDate=v.formatTime(r[0],"{y}-{m}-{d}"),this.opts.endDate=v.formatTime(r[1],"{y}-{m}-{d}");break;case this.dateTypeKeyValue[1]:this.opts.startDate=v.formatTime(r[0],"{y}-{m}"),this.opts.endDate=v.formatTime(r[1],"{y}-{m}");break;case this.dateTypeKeyValue[0]:this.opts.startDate=r[0].toString(),this.opts.endDate=r[1].toString()}this.dateValue=t}this.$emit("update:date",[this.opts.startDate,this.opts.endDate]),setTimeout((()=>{this.opts.dateTypeTag=!0}),0)}}},Es=["onClick"],Ss={key:0,class:"frequencyDate"},Ts={class:"zhi"};const ks=ss(xs,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-date-picker"),l=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(l,{label:t.formItemLabel,prop:"date"},{default:e.withCtx((()=>[e.createElementVNode("div",{class:"frequency",style:e.normalizeStyle({"--dateTypeNum":t.date_type.length})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.date_type,(r=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["one",{active:t.dateType===r.dictValue}]),onClick:e=>t.dateTypeF(r.dictValue),key:r.dictValue},e.toDisplayString(r.dictLabel),11,Es)))),128))],4),e.createVNode(e.Transition,{name:"frequencyDate"},{default:e.withCtx((()=>[t.opts.dateTypeTag?(e.openBlock(),e.createElementBlock("div",Ss,[e.createVNode(s,{modelValue:t.opts.startDate,"onUpdate:modelValue":r[0]||(r[0]=e=>t.opts.startDate=e),style:e.normalizeStyle({width:("year"===t.opts.dateType?100:"month"===t.opts.dateType?120:"date"===t.opts.dateType?140:(t.opts.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.opts.dateType,placeholder:"请选择",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"]),e.createElementVNode("span",Ts,e.toDisplayString(t.symbol),1),e.createVNode(s,{modelValue:t.opts.endDate,"onUpdate:modelValue":r[1]||(r[1]=e=>t.opts.endDate=e),style:e.normalizeStyle({width:("year"===t.opts.dateType?100:"month"===t.opts.dateType?120:"date"===t.opts.dateType?140:(t.opts.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.opts.dateType,placeholder:"请选择",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"])])):e.createCommentVNode("",!0)])),_:1})])),_:1},8,["label"])}],["__scopeId","data-v-43652919"]]),As={name:"DatetypeChooseDateRange",props:{modelValue:Array,dateType:{type:String,default:"date"},formItemLabel:{type:String,default:"日期"},clearable:{type:Boolean,default:!0},disabledDate:{type:Function,default:()=>{}}},data:()=>({opts:{startDate:null,endDate:null,valueFormat:"YYYY-MM-DD"}}),watch:{modelValue:{handler(e){!d.fieldCheck(this.modelValue)&&this.modelValue.length>=1?(this.opts.startDate=this.modelValue[0],this.opts.endDate=this.modelValue[1]):(this.opts.startDate=null,this.opts.endDate=null)},deep:!0,immediate:!0}},mounted(){this.init()},methods:{dateChange(){if(null===this.opts.startDate||null===this.opts.endDate)return void this.$emit("update:modelValue",[this.opts.startDate,this.opts.endDate]);let e=this.opts.startDate,t=this.opts.startDate;if("year"!==this.dateType&&(e=new Date(this.opts.startDate).getTime(),t=new Date(this.opts.endDate).getTime()),Number(e)>Number(t)){const e=this.opts.startDate;this.opts.startDate=this.opts.endDate,this.opts.endDate=e}this.$emit("update:modelValue",[this.opts.startDate,this.opts.endDate])},init(){this.dateTypeF()},dateTypeF(){switch(this.dateType){case"datetime":this.opts.valueFormat="YYYY-MM-DD HH:mm:ss";break;case"date":this.opts.valueFormat="YYYY-MM-DD";break;case"month":this.opts.valueFormat="YYYY-MM";break;case"year":this.opts.valueFormat="YYYY"}}}},Cs=(t=>(e.pushScopeId("data-v-bb586ec7"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("span",{class:"and"},"~",-1)));const Bs=ss(As,[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-date-picker"),l=e.resolveComponent("el-form-item");return e.openBlock(),e.createBlock(l,{label:t.formItemLabel,prop:"date"},{default:e.withCtx((()=>[e.createVNode(s,{modelValue:t.opts.startDate,"onUpdate:modelValue":r[0]||(r[0]=e=>t.opts.startDate=e),style:e.normalizeStyle({width:("year"===t.dateType?100:"month"===t.dateType?120:"date"===t.dateType?140:(t.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.dateType,placeholder:"开始日期",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"]),Cs,e.createVNode(s,{modelValue:t.opts.endDate,"onUpdate:modelValue":r[1]||(r[1]=e=>t.opts.endDate=e),style:e.normalizeStyle({width:("year"===t.dateType?100:"month"===t.dateType?120:"date"===t.dateType?140:(t.dateType,200))+"px !important"}),"value-format":t.opts.valueFormat,type:t.dateType,placeholder:"结束日期",editable:!1,clearable:t.clearable,"disabled-date":t.disabledDate,onChange:t.dateChange},null,8,["modelValue","style","value-format","type","clearable","disabled-date","onChange"])])),_:1},8,["label"])}],["__scopeId","data-v-bb586ec7"]]),Is=["index"];const Rs=ss({name:"DictTag",props:{options:{type:Array,default:null},value:[Number,String,Array]},computed:{values(){return null!==this.value&&void 0!==this.value?Array.isArray(this.value)?this.value:[String(this.value)]:[]}}},[["render",function(t,r,i,n,a,o){const s=e.resolveComponent("el-tag");return e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.options,((t,r)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:t.dictValue},[o.values.includes(t.dictValue)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},["default"==t.listClass||""==t.listClass?(e.openBlock(),e.createElementBlock("span",{key:0,index:r,class:e.normalizeClass(t.cssClass)},e.toDisplayString(t.dictLabel),11,Is)):(e.openBlock(),e.createBlock(s,{key:1,"disable-transitions":!0,index:r,type:"primary"==t.listClass?"":t.listClass,class:e.normalizeClass(t.cssClass)},{default:e.withCtx((()=>[e.createTextVNode(e.toDisplayString(t.dictLabel),1)])),_:2},1032,["index","type","class"]))],64)):e.createCommentVNode("",!0)],64)))),128))])}],["__scopeId","data-v-f2de2f23"]]);var Ms=function(e,t){var r=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:r,w:r.offsetWidth,h:r.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;t&&Object.deepExtend(i,t),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",(function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()}))},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,t,r){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=r?r.x:Math.random()*i.canvas.w,this.y=r?r.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,r),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var n=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=Os(n)}else null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=Os(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var a={};switch(i.particles.move.direction){case"top":a={x:0,y:-1};break;case"top-right":a={x:.5,y:-.5};break;case"right":a={x:1,y:-0};break;case"bottom-right":a={x:.5,y:.5};break;case"bottom":a={x:0,y:1};break;case"bottom-left":a={x:-.5,y:1};break;case"left":a={x:-1,y:0};break;case"top-left":a={x:-.5,y:-.5};break;default:a={x:0,y:0}}i.particles.move.straight?(this.vx=a.x,this.vy=a.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=a.x+Math.random()-.5,this.vy=a.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var o=i.particles.shape.type;if("object"==typeof o){if(o instanceof Array){var s=o[Math.floor(Math.random()*o.length)];this.shape=s}}else this.shape=o;if("image"==this.shape){var l=i.particles.shape;this.img={src:l.image.src,ratio:l.image.width/l.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&null!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){var e=this;if(null!=e.radius_bubble)var t=e.radius_bubble;else t=e.radius;if(null!=e.opacity_bubble)var r=e.opacity_bubble;else r=e.opacity;if(e.color.rgb)var n="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+r+")";else n="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+r+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),e.shape){case"circle":i.canvas.ctx.arc(e.x,e.y,t,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(e.x-t,e.y-t,2*t,2*t);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,e.x-t,e.y+t/1.66,2*t,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,e.x-t/(i.particles.shape.polygon.nb_sides/3.5),e.y-t/.76,2.66*t/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,e.x-2*t/(i.particles.shape.polygon.nb_sides/4),e.y-t/1.52,2*t*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":let r=function(){i.canvas.ctx.drawImage(a,e.x-t,e.y-t,2*t,2*t/e.img.ratio)};if("svg"==i.tmp.img_type)var a=e.img.obj;else a=i.tmp.img_obj;a&&r()}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e<i.particles.number.value;e++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value))},i.fn.particlesUpdate=function(){for(var e=0;e<i.particles.array.length;e++){var t=i.particles.array[e];if(i.particles.move.enable){var r=i.particles.move.speed/2;t.x+=t.vx*r,t.y+=t.vy*r}if(i.particles.opacity.anim.enable&&(1==t.opacity_status?(t.opacity>=i.particles.opacity.value&&(t.opacity_status=!1),t.opacity+=t.vo):(t.opacity<=i.particles.opacity.anim.opacity_min&&(t.opacity_status=!0),t.opacity-=t.vo),t.opacity<0&&(t.opacity=0)),i.particles.size.anim.enable&&(1==t.size_status?(t.radius>=i.particles.size.value&&(t.size_status=!1),t.radius+=t.vs):(t.radius<=i.particles.size.anim.size_min&&(t.size_status=!0),t.radius-=t.vs),t.radius<0&&(t.radius=0)),"bounce"==i.particles.move.out_mode)var n={x_left:t.radius,x_right:i.canvas.w,y_top:t.radius,y_bottom:i.canvas.h};else n={x_left:-t.radius,x_right:i.canvas.w+t.radius,y_top:-t.radius,y_bottom:i.canvas.h+t.radius};if(t.x-t.radius>i.canvas.w?(t.x=n.x_left,t.y=Math.random()*i.canvas.h):t.x+t.radius<0&&(t.x=n.x_right,t.y=Math.random()*i.canvas.h),t.y-t.radius>i.canvas.h?(t.y=n.y_top,t.x=Math.random()*i.canvas.w):t.y+t.radius<0&&(t.y=n.y_bottom,t.x=Math.random()*i.canvas.w),"bounce"===i.particles.move.out_mode)(t.x+t.radius>i.canvas.w||t.x-t.radius<0)&&(t.vx=-t.vx),(t.y+t.radius>i.canvas.h||t.y-t.radius<0)&&(t.vy=-t.vy);if(Ps("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(t),(Ps("bubble",i.interactivity.events.onhover.mode)||Ps("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(t),(Ps("repulse",i.interactivity.events.onhover.mode)||Ps("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(t),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var a=e+1;a<i.particles.array.length;a++){var o=i.particles.array[a];i.particles.line_linked.enable&&i.fn.interact.linkParticles(t,o),i.particles.move.attract.enable&&i.fn.interact.attractParticles(t,o),i.particles.move.bounce&&i.fn.interact.bounceParticles(t,o)}}},i.fn.particlesDraw=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h),i.fn.particlesUpdate();for(var e=0;e<i.particles.array.length;e++){i.particles.array[e].draw()}},i.fn.particlesEmpty=function(){i.particles.array=[]},i.fn.particlesRefresh=function(){cancelRequestAnimFrame(i.fn.checkAnimFrame),cancelRequestAnimFrame(i.fn.drawAnimFrame),i.tmp.source_svg=void 0,i.tmp.img_obj=void 0,i.tmp.count_svg=0,i.fn.particlesEmpty(),i.fn.canvasClear(),i.fn.vendors.start()},i.fn.interact.linkParticles=function(e,t){var r=e.x-t.x,n=e.y-t.y,a=Math.sqrt(r*r+n*n);if(a<=i.particles.line_linked.distance){var o=i.particles.line_linked.opacity-a/(1/i.particles.line_linked.opacity)/i.particles.line_linked.distance;if(o>0){var s=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+s.r+","+s.g+","+s.b+","+o+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(t.x,t.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,t){var r=e.x-t.x,n=e.y-t.y;if(Math.sqrt(r*r+n*n)<=i.particles.line_linked.distance){var a=r/(1e3*i.particles.move.attract.rotateX),o=n/(1e3*i.particles.move.attract.rotateY);e.vx-=a,e.vy-=o,t.vx+=a,t.vy+=o}},i.fn.interact.bounceParticles=function(e,t){var r=e.x-t.x,i=e.y-t.y;Math.sqrt(r*r+i*i)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},i.fn.modes.pushParticles=function(e,t){i.tmp.pushing=!0;for(var r=0;r<e;r++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:t?t.pos_x:Math.random()*i.canvas.w,y:t?t.pos_y:Math.random()*i.canvas.h})),r==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){if(i.interactivity.events.onhover.enable&&Ps("bubble",i.interactivity.events.onhover.mode)){let c=function(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius};var t=e.x-i.interactivity.mouse.pos_x,r=e.y-i.interactivity.mouse.pos_y,n=1-(l=Math.sqrt(t*t+r*r))/i.interactivity.modes.bubble.distance;if(l<=i.interactivity.modes.bubble.distance){if(n>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){(o=e.radius+i.interactivity.modes.bubble.size*n)>=0&&(e.radius_bubble=o)}else{var a=e.radius-i.interactivity.modes.bubble.size,o=e.radius-a*n;e.radius_bubble=o>0?o:0}var s;if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value)(s=i.interactivity.modes.bubble.opacity*n)>e.opacity&&s<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=s);else(s=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*n)<e.opacity&&s>=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=s)}}else c();"mouseleave"==i.interactivity.status&&c()}else if(i.interactivity.events.onclick.enable&&Ps("bubble",i.interactivity.events.onclick.mode)){let n=function(t,r,n,a,o){if(t!=r)if(i.tmp.bubble_duration_end)null!=n&&(h=t+(t-(a-c*(a-t)/i.interactivity.modes.bubble.duration)),"size"==o&&(e.radius_bubble=h),"opacity"==o&&(e.opacity_bubble=h));else if(l<=i.interactivity.modes.bubble.distance){if(null!=n)var s=n;else s=a;if(s!=t){var h=a-c*(a-t)/i.interactivity.modes.bubble.duration;"size"==o&&(e.radius_bubble=h),"opacity"==o&&(e.opacity_bubble=h)}}else"size"==o&&(e.radius_bubble=void 0),"opacity"==o&&(e.opacity_bubble=void 0)};if(i.tmp.bubble_clicking){t=e.x-i.interactivity.mouse.click_pos_x,r=e.y-i.interactivity.mouse.click_pos_y;var l=Math.sqrt(t*t+r*r),c=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;c>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),c>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}i.tmp.bubble_clicking&&(n(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),n(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){if(i.interactivity.events.onhover.enable&&Ps("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,r=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+r*r),a={x:t/n,y:r/n},o=i.interactivity.modes.repulse.distance,s=(p=1/o*(-1*Math.pow(n/o,2)+1)*o*100,f=0,g=50,Math.min(Math.max(p,f),g)),l={x:e.x+a.x*s,y:e.y+a.y*s};"bounce"==i.particles.move.out_mode?(l.x-e.radius>0&&l.x+e.radius<i.canvas.w&&(e.x=l.x),l.y-e.radius>0&&l.y+e.radius<i.canvas.h&&(e.y=l.y)):(e.x=l.x,e.y=l.y)}else if(i.interactivity.events.onclick.enable&&Ps("repulse",i.interactivity.events.onclick.mode))if(i.tmp.repulse_finish||(i.tmp.repulse_count++,i.tmp.repulse_count==i.particles.array.length&&(i.tmp.repulse_finish=!0)),i.tmp.repulse_clicking){let t=function(){var t=Math.atan2(h,c);if(e.vx=u*Math.cos(t),e.vy=u*Math.sin(t),"bounce"==i.particles.move.out_mode){var r={x:e.x+e.vx,y:e.y+e.vy};(r.x+e.radius>i.canvas.w||r.x-e.radius<0)&&(e.vx=-e.vx),(r.y+e.radius>i.canvas.h||r.y-e.radius<0)&&(e.vy=-e.vy)}};o=Math.pow(i.interactivity.modes.repulse.distance/6,3);var c=i.interactivity.mouse.click_pos_x-e.x,h=i.interactivity.mouse.click_pos_y-e.y,d=c*c+h*h,u=-o/d*1;d<=o&&t()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i);var p,f,g},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var t=e.x-i.interactivity.mouse.pos_x,r=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(t*t+r*r);if(n<=i.interactivity.modes.grab.distance){var a=i.interactivity.modes.grab.line_linked.opacity-n/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(a>0){var o=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+o.r+","+o.g+","+o.b+","+a+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",(function(e){if(i.interactivity.el==window)var t=e.clientX,r=e.clientY;else t=e.offsetX||e.clientX,r=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=t,i.interactivity.mouse.pos_y=r,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"})),i.interactivity.el.addEventListener("mouseleave",(function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"}))),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",(function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable||1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout((function(){i.tmp.repulse_clicking=!1}),1e3*i.interactivity.modes.repulse.duration)}}))},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var t=e*i.particles.number.value/i.particles.number.density.value_area,r=i.particles.array.length-t;r<0?i.fn.modes.pushParticles(Math.abs(r)):i.fn.modes.removeParticles(r)}},i.fn.vendors.checkOverlap=function(e,t){for(var r=0;r<i.particles.array.length;r++){var n=i.particles.array[r],a=e.x-n.x,o=e.y-n.y;Math.sqrt(a*a+o*o)<=e.radius+n.radius&&(e.x=t?t.x:Math.random()*i.canvas.w,e.y=t?t.y:Math.random()*i.canvas.h,i.fn.vendors.checkOverlap(e))}},i.fn.vendors.createSvgImg=function(e){var t=i.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,(function(t,r,i,n){if(e.color.rgb)var a="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+e.opacity+")";else a="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+e.opacity+")";return a})),r=new Blob([t],{type:"image/svg+xml;charset=utf-8"}),n=window.URL||window.webkitURL||window,a=n.createObjectURL(r),o=new Image;o.addEventListener("load",(function(){e.img.obj=o,e.img.loaded=!0,n.revokeObjectURL(a),i.tmp.count_svg++})),o.src=a},i.fn.vendors.destroypJS=function(){cancelAnimationFrame(i.fn.drawAnimFrame),r.remove(),pJSDom=null},i.fn.vendors.drawShape=function(e,t,r,i,n,a){var o=n*a,s=n/a,l=180*(s-2)/s,c=Math.PI-Math.PI*l/180;e.save(),e.beginPath(),e.translate(t,r),e.moveTo(0,0);for(var h=0;h<o;h++)e.lineTo(i,0),e.translate(i,0),e.rotate(c);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var t=new XMLHttpRequest;t.open("GET",i.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):i.tmp.img_error=!0)},t.send()}else{var r=new Image;r.addEventListener("load",(function(){i.tmp.img_obj=r,i.fn.vendors.checkBeforeDraw()})),r.src=i.particles.shape.image.src}else i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):null!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&null==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=Os(i.particles.line_linked.color)},i.fn.vendors.start=function(){Ps("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};function Os(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,r,i){return t+t+r+r+i+i}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}function Ps(e,t){return t.indexOf(e)>-1}Object.deepExtend=function e(t,r){for(var i in r)r[i]&&r[i].constructor&&r[i].constructor===Object?(t[i]=t[i]||{},e(t[i],r[i])):t[i]=r[i];return t},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.particlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e||(e="particles-js");var r=document.getElementById(e),i="particles-js-canvas-el",n=r.getElementsByClassName(i);if(n.length)for(;n.length>0;)r.removeChild(n[0]);var a=document.createElement("canvas");a.className=i,a.style.width="100%",a.style.height="100%",null!=document.getElementById(e).appendChild(a)&&pJSDom.push(new Ms(e,t))},window.particlesJS.load=function(e,t,r){var i=new XMLHttpRequest;i.open("GET",t),i.onreadystatechange=function(t){if(4==i.readyState&&200==i.status){var n=JSON.parse(t.currentTarget.response);window.particlesJS(e,n),r&&r()}},i.send()};const js={particles:{number:{value:60,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"img/github.svg",width:100,height:100}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#ffffff",opacity:.4,width:1},move:{enable:!0,speed:4,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:100,rotateY:1200}}},interactivity:{detect_on:"Window",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:140,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0},Ns={data:()=>({}),mounted(){this.init()},methods:{init(){particlesJS("particles-js",js),document.body.style.overflow="hidden"}}},Ds={class:"particles-js-box"},Ls=[(t=>(e.pushScopeId("data-v-6254d928"),t=t(),e.popScopeId(),t))((()=>e.createElementVNode("div",{id:"particles-js"},null,-1)))];const Us=ss(Ns,[["render",function(t,r,i,n,a,o){return e.openBlock(),e.createElementBlock("div",Ds,Ls)}],["__scopeId","data-v-6254d928"]]);let Fs=null;const Hs={init:function(e,t=null,r){if("WebSocket"in window){e=function(e){e="http:"===location.protocol?"ws:"+e:"https:"===location.protocol?"wss:"+e:"ws:"+e;return e}(e);return Fs=new WebSocket(e,null===t?[]:[t]),Fs.onopen=function(){d.colorLog(["websocket","已连接,正在接收数据...."],"log")},Fs.onmessage=function(e){let t=e.data;r(JSON.parse(t))},Fs.onclose=function(){d.colorLog(["websocket","已关闭!"],"log")},Fs}return null},wsUrl:function(e){let t="/prod-api"+e;return t=location.host+t,t}};var zs=0;const Ws=(e={html2Canvas:null,JsPDF:null},t,r,i,n)=>{if(i){const e=Math.floor(277*r.scrollWidth/190)+20;for(let t=0;t<i.length;t++){const r=Math.ceil((i[t].offsetTop+i[t].offsetHeight)/e);if($s(i,t,r*e)){var a="";a="tr"!==i[t].localName?r*e-(i[t].offsetTop+i[t].offsetHeight):r*e-(i[t].offsetTop+i[t].offsetHeight+zs)+20;var o=Vs(a);const n=i[t].parentNode,s=i[t].nextSibling;s?n.insertBefore(o,s):n.appendChild(o)}}}e.html2Canvas(r,{allowTaint:!1,taintTest:!1,logging:!1,useCORS:!0,dpi:1*window.devicePixelRatio,scale:2}).then((r=>{for(var i=new e.JsPDF("p","mm","a4"),a=r.getContext("2d"),o=n?277:190,s=n?190:277,l=Math.floor(s*r.width/o),c=0;c<r.height;){var h=document.createElement("canvas");h.width=r.width,h.height=Math.min(l,r.height-c),h.getContext("2d").putImageData(a.getImageData(0,c,r.width,Math.min(l,r.height-c)),0,0),i.addImage(h.toDataURL("image/jpeg",1),"JPEG",10,10,o,Math.min(s,o*h.height/h.width)),(c+=l)<r.height&&i.addPage()}i.save(t+".pdf")}))},Vs=(e,t=0)=>{const r=document.createElement("div");return r.style.background="#ffffff",r.style.width="calc(100% + 8px)",r.style.marginLeft="-4px",r.style.marginBottom="0px",r.classList.add("divRemove"),r.style.height=e+t+"px",r},$s=(e,t,r)=>("tr"!==e[t].localName&&(zs+=e[t].clientHeight),"tr"!==e[t].localName?e[t].offsetTop+e[t].offsetHeight<r&&e[t+1]&&e[t+1].offsetTop+e[t+1].offsetHeight>r:e[t].offsetTop+e[t].offsetHeight+zs<r&&e[t+1]&&e[t+1].offsetTop+e[t+1].offsetHeight+zs>r);var qs=Object.defineProperty,Ys=Object.getOwnPropertyDescriptor,Ks=Object.getOwnPropertyNames,Gs=Object.prototype.hasOwnProperty,Qs=(e,t)=>()=>(e&&(t=e(e=0)),t),Js=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xs=(e,t)=>{for(var r in t)qs(e,r,{get:t[r],enumerable:!0})},Zs=e=>((e,t,r,i)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of Ks(t))!Gs.call(e,n)&&n!==r&&qs(e,n,{get:()=>t[n],enumerable:!(i=Ys(t,n))||i.enumerable});return e})(qs({},"__esModule",{value:!0}),e),el=Qs((()=>{})),tl={};function rl(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function il(){!bl||!wl||(bl=!1,wl.length?yl=wl.concat(yl):_l=-1,yl.length&&nl())}function nl(){if(!bl){var e=setTimeout(il,0);bl=!0;for(var t=yl.length;t;){for(wl=yl,yl=[];++_l<t;)wl&&wl[_l].run();_l=-1,t=yl.length}wl=null,bl=!1,clearTimeout(e)}}function al(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];yl.push(new ol(e,t)),1===yl.length&&!bl&&setTimeout(nl,0)}function ol(e,t){this.fun=e,this.array=t}function sl(){}function ll(e){rl("_linkedBinding")}function cl(e){rl("dlopen")}function hl(){return[]}function dl(){return[]}function ul(e,t){if(!e)throw new Error(t||"assertion error")}function pl(){return!1}function fl(){return gc.now()/1e3}function gl(e){var t=Math.floor(.001*(Date.now()-gc.now())),r=.001*gc.now(),i=Math.floor(r)+t,n=Math.floor(r%1*1e9);return e&&(i-=e[0],(n-=e[1])<0&&(i--,n+=vc)),[i,n]}function ml(){return Bc}function vl(e){return[]}Xs(tl,{_debugEnd:()=>tc,_debugProcess:()=>ec,_events:()=>bc,_eventsCount:()=>wc,_exiting:()=>Ul,_fatalExceptions:()=>Jl,_getActiveHandles:()=>dl,_getActiveRequests:()=>hl,_kill:()=>zl,_linkedBinding:()=>ll,_maxListeners:()=>yc,_preload_modules:()=>pc,_rawDebug:()=>Nl,_startProfilerIdleNotifier:()=>rc,_stopProfilerIdleNotifier:()=>ic,_tickCallback:()=>Zl,abort:()=>sc,addListener:()=>_c,allowedNodeEnvironmentFlags:()=>Gl,arch:()=>El,argv:()=>kl,argv0:()=>uc,assert:()=>ul,binding:()=>Rl,chdir:()=>Pl,config:()=>Fl,cpuUsage:()=>Wl,cwd:()=>Ol,debugPort:()=>dc,default:()=>Bc,dlopen:()=>cl,domain:()=>Ll,emit:()=>kc,emitWarning:()=>Il,env:()=>Tl,execArgv:()=>Al,execPath:()=>hc,exit:()=>Yl,features:()=>Ql,hasUncaughtExceptionCaptureCallback:()=>pl,hrtime:()=>gl,kill:()=>ql,listeners:()=>vl,memoryUsage:()=>$l,moduleLoadList:()=>Dl,nextTick:()=>al,off:()=>Ec,on:()=>ml,once:()=>xc,openStdin:()=>Kl,pid:()=>lc,platform:()=>Sl,ppid:()=>cc,prependListener:()=>Ac,prependOnceListener:()=>Cc,reallyExit:()=>Hl,release:()=>jl,removeAllListeners:()=>Tc,removeListener:()=>Sc,resourceUsage:()=>Vl,setSourceMapsEnabled:()=>fc,setUncaughtExceptionCaptureCallback:()=>Xl,stderr:()=>ac,stdin:()=>oc,stdout:()=>nc,title:()=>xl,umask:()=>Ml,uptime:()=>fl,version:()=>Cl,versions:()=>Bl});var yl,bl,wl,_l,xl,El,Sl,Tl,kl,Al,Cl,Bl,Il,Rl,Ml,Ol,Pl,jl,Nl,Dl,Ll,Ul,Fl,Hl,zl,Wl,Vl,$l,ql,Yl,Kl,Gl,Ql,Jl,Xl,Zl,ec,tc,rc,ic,nc,ac,oc,sc,lc,cc,hc,dc,uc,pc,fc,gc,mc,vc,yc,bc,wc,_c,xc,Ec,Sc,Tc,kc,Ac,Cc,Bc,Ic=Qs((()=>{el(),$c(),Rc(),yl=[],bl=!1,_l=-1,ol.prototype.run=function(){this.fun.apply(null,this.array)},xl="browser",El="x64",Sl="browser",Tl={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},kl=["/usr/bin/node"],Al=[],Cl="v16.8.0",Bl={},Il=function(e,t){},Rl=function(e){rl("binding")},Ml=function(e){return 0},Ol=function(){return"/"},Pl=function(e){},jl={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},Nl=sl,Dl=[],Ll={},Ul=!1,Fl={},Hl=sl,zl=sl,Vl=Wl=function(){return{}},$l=Wl,ql=sl,Yl=sl,Kl=sl,Gl={},Ql={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Jl=sl,Xl=sl,Zl=sl,ec=sl,tc=sl,rc=sl,ic=sl,nc=void 0,ac=void 0,oc=void 0,sc=sl,lc=2,cc=1,hc="/bin/usr/node",dc=9229,uc="node",pc=[],fc=sl,void 0===(gc={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0}).now&&(mc=Date.now(),gc.timing&&gc.timing.navigationStart&&(mc=gc.timing.navigationStart),gc.now=()=>Date.now()-mc),vc=1e9,gl.bigint=function(e){var t=gl(e);return typeof BigInt>"u"?t[0]*vc+t[1]:BigInt(t[0]*vc)+BigInt(t[1])},Bc={version:Cl,versions:Bl,arch:El,platform:Sl,release:jl,_rawDebug:Nl,moduleLoadList:Dl,binding:Rl,_linkedBinding:ll,_events:bc={},_eventsCount:wc=0,_maxListeners:yc=10,on:ml,addListener:_c=ml,once:xc=ml,off:Ec=ml,removeListener:Sc=ml,removeAllListeners:Tc=ml,emit:kc=sl,prependListener:Ac=ml,prependOnceListener:Cc=ml,listeners:vl,domain:Ll,_exiting:Ul,config:Fl,dlopen:cl,uptime:fl,_getActiveRequests:hl,_getActiveHandles:dl,reallyExit:Hl,_kill:zl,cpuUsage:Wl,resourceUsage:Vl,memoryUsage:$l,kill:ql,exit:Yl,openStdin:Kl,allowedNodeEnvironmentFlags:Gl,assert:ul,features:Ql,_fatalExceptions:Jl,setUncaughtExceptionCaptureCallback:Xl,hasUncaughtExceptionCaptureCallback:pl,emitWarning:Il,nextTick:al,_tickCallback:Zl,_debugProcess:ec,_debugEnd:tc,_startProfilerIdleNotifier:rc,_stopProfilerIdleNotifier:ic,stdout:nc,stdin:oc,stderr:ac,abort:sc,umask:Ml,chdir:Pl,cwd:Ol,env:Tl,title:xl,argv:kl,execArgv:Al,pid:lc,ppid:cc,execPath:hc,debugPort:dc,hrtime:gl,argv0:uc,_preload_modules:pc,setSourceMapsEnabled:fc}})),Rc=Qs((()=>{Ic()})),Mc={};function Oc(){if(Uc)return Lc;Uc=!0;let e=function(){if(jc)return Pc;jc=!0,Pc.byteLength=function(e){var t=a(e),r=t[0],i=t[1];return 3*(r+i)/4-i},Pc.toByteArray=function(e){var i,n,o=a(e),s=o[0],l=o[1],c=new r(function(e,t,r){return 3*(t+r)/4-r}(0,s,l)),h=0,d=l>0?s-4:s;for(n=0;n<d;n+=4)i=t[e.charCodeAt(n)]<<18|t[e.charCodeAt(n+1)]<<12|t[e.charCodeAt(n+2)]<<6|t[e.charCodeAt(n+3)],c[h++]=i>>16&255,c[h++]=i>>8&255,c[h++]=255&i;return 2===l&&(i=t[e.charCodeAt(n)]<<2|t[e.charCodeAt(n+1)]>>4,c[h++]=255&i),1===l&&(i=t[e.charCodeAt(n)]<<10|t[e.charCodeAt(n+1)]<<4|t[e.charCodeAt(n+2)]>>2,c[h++]=i>>8&255,c[h++]=255&i),c},Pc.fromByteArray=function(t){for(var r,i=t.length,n=i%3,a=[],o=16383,l=0,c=i-n;l<c;l+=o)a.push(s(t,l,l+o>c?c:l+o));return 1===n?(r=t[i-1],a.push(e[r>>2]+e[r<<4&63]+"==")):2===n&&(r=(t[i-2]<<8)+t[i-1],a.push(e[r>>10]+e[r>>4&63]+e[r<<2&63]+"=")),a.join("")};for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)e[n]=i[n],t[i.charCodeAt(n)]=n;function a(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function o(t){return e[t>>18&63]+e[t>>12&63]+e[t>>6&63]+e[63&t]}function s(e,t,r){for(var i,n=[],a=t;a<r;a+=3)i=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(255&e[a+2]),n.push(o(i));return n.join("")}return t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63,Pc}(),t=(Dc||(Dc=!0,Nc.read=function(e,t,r,i,n){var a,o,s=8*n-i-1,l=(1<<s)-1,c=l>>1,h=-7,d=r?n-1:0,u=r?-1:1,p=e[t+d];for(d+=u,a=p&(1<<-h)-1,p>>=-h,h+=s;h>0;a=256*a+e[t+d],d+=u,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=i;h>0;o=256*o+e[t+d],d+=u,h-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=c}return(p?-1:1)*o*Math.pow(2,a-i)},Nc.write=function(e,t,r,i,n,a){var o,s,l,c=8*a-n-1,h=(1<<c)-1,d=h>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?u/l:u*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=h?(s=0,o=h):o+d>=1?(s=(t*l-1)*Math.pow(2,n),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,n),o=0));n>=8;e[r+p]=255&s,p+=f,s/=256,n-=8);for(o=o<<n|s,c+=n;c>0;e[r+p]=255&o,p+=f,o/=256,c-=8);e[r+p-f]|=128*g}),Nc),r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Lc.Buffer=a,Lc.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},Lc.INSPECT_MAX_BYTES=50;let i=2147483647;function n(e){if(e>i)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return o(e,t,r)}function o(e,t,r){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=0|u(e,t),i=n(r),o=i.write(e,t);return o!==r&&(i=i.slice(0,o)),i}(e,t);if(ArrayBuffer.isView(e))return function(e){if(q(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(q(e,ArrayBuffer)||e&&q(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(q(e,SharedArrayBuffer)||e&&q(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');let i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return a.from(i,t,r);let o=function(e){if(a.isBuffer(e)){let t=0|d(e.length),r=n(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||Y(e.length)?n(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(o)return o;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return s(e),n(e<0?0:0|d(e))}function c(e){let t=e.length<0?0:0|d(e.length),r=n(t);for(let i=0;i<t;i+=1)r[i]=255&e[i];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');let i;return i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(i,a.prototype),i}function d(e){if(e>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return 0|e}function u(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||q(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;let n=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return W(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return i?-1:W(e).length;t=(""+t).toLowerCase(),n=!0}}function p(e,t,r){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return E(this,t,r);case"ascii":return T(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return x(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function f(e,t,r){let i=e[t];e[t]=e[r],e[r]=i}function g(e,t,r,i,n){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),Y(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=a.from(t,i)),a.isBuffer(t))return 0===t.length?-1:m(e,t,r,i,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):m(e,[t],r,i,n);throw new TypeError("val must be string, number or Buffer")}function m(e,t,r,i,n){let a,o=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){let i=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===i?0:a-i)){if(-1===i&&(i=a),a-i+1===l)return i*o}else-1!==i&&(a-=a-i),i=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){let r=!0;for(let i=0;i<l;i++)if(c(e,a+i)!==c(t,i)){r=!1;break}if(r)return a}return-1}function v(e,t,r,i){r=Number(r)||0;let n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;let a,o=t.length;for(i>o/2&&(i=o/2),a=0;a<i;++a){let i=parseInt(t.substr(2*a,2),16);if(Y(i))return a;e[r+a]=i}return a}function y(e,t,r,i){return $(W(t,e.length-r),e,r,i)}function b(e,t,r,i){return $(function(e){let t=[];for(let r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,i)}function w(e,t,r,i){return $(V(t),e,r,i)}function _(e,t,r,i){return $(function(e,t){let r,i,n,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),i=r>>8,n=r%256,a.push(n),a.push(i);return a}(t,e.length-r),e,r,i)}function x(t,r,i){return 0===r&&i===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(r,i))}function E(e,t,r){r=Math.min(e.length,r);let i=[],n=t;for(;n<r;){let t=e[n],a=null,o=t>239?4:t>223?3:t>191?2:1;if(n+o<=r){let r,i,s,l;switch(o){case 1:t<128&&(a=t);break;case 2:r=e[n+1],128==(192&r)&&(l=(31&t)<<6|63&r,l>127&&(a=l));break;case 3:r=e[n+1],i=e[n+2],128==(192&r)&&128==(192&i)&&(l=(15&t)<<12|(63&r)<<6|63&i,l>2047&&(l<55296||l>57343)&&(a=l));break;case 4:r=e[n+1],i=e[n+2],s=e[n+3],128==(192&r)&&128==(192&i)&&128==(192&s)&&(l=(15&t)<<18|(63&r)<<12|(63&i)<<6|63&s,l>65535&&l<1114112&&(a=l))}}null===a?(a=65533,o=1):a>65535&&(a-=65536,i.push(a>>>10&1023|55296),a=56320|1023&a),i.push(a),n+=o}return function(e){let t=e.length;if(t<=S)return String.fromCharCode.apply(String,e);let r="",i=0;for(;i<t;)r+=String.fromCharCode.apply(String,e.slice(i,i+=S));return r}(i)}Lc.kMaxLength=i,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&console.error,Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,r){return o(e,t,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,r){return function(e,t,r){return s(e),e<=0?n(e):void 0!==t?"string"==typeof r?n(e).fill(t,r):n(e).fill(t):n(e)}(e,t,r)},a.allocUnsafe=function(e){return l(e)},a.allocUnsafeSlow=function(e){return l(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(q(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),q(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let r=e.length,i=t.length;for(let n=0,a=Math.min(r,i);n<a;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}return r<i?-1:i<r?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);let r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;let i=a.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){let t=e[r];if(q(t,Uint8Array))n+t.length>i.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(i,n)):Uint8Array.prototype.set.call(i,t,n);else{if(!a.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(i,n)}n+=t.length}return i},a.byteLength=u,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)f(this,t,t+1);return this},a.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},a.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},a.prototype.toString=function(){let e=this.length;return 0===e?"":0===arguments.length?E(this,0,e):p.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){let e="",t=Lc.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},r&&(a.prototype[r]=a.prototype.inspect),a.prototype.compare=function(e,t,r,i,n){if(q(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),t<0||r>e.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return-1;if(t>=r)return 1;if(this===e)return 0;let o=(n>>>=0)-(i>>>=0),s=(r>>>=0)-(t>>>=0),l=Math.min(o,s),c=this.slice(i,n),h=e.slice(t,r);for(let a=0;a<l;++a)if(c[a]!==h[a]){o=c[a],s=h[a];break}return o<s?-1:s<o?1:0},a.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},a.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},a.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},a.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}let n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");let a=!1;for(;;)switch(i){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return y(this,e,t,r);case"ascii":case"latin1":case"binary":return b(this,e,t,r);case"base64":return w(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return _(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let S=4096;function T(e,t,r){let i="";r=Math.min(e.length,r);for(let n=t;n<r;++n)i+=String.fromCharCode(127&e[n]);return i}function k(e,t,r){let i="";r=Math.min(e.length,r);for(let n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}function A(e,t,r){let i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);let n="";for(let a=t;a<r;++a)n+=K[e[a]];return n}function C(e,t,r){let i=e.slice(t,r),n="";for(let a=0;a<i.length-1;a+=2)n+=String.fromCharCode(i[a]+256*i[a+1]);return n}function B(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function I(e,t,r,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<o)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function R(e,t,r,i,n){U(t,i,n,e,r,7);let a=Number(t&BigInt(4294967295));e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a,a>>=8,e[r++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,o>>=8,e[r++]=o,r}function M(e,t,r,i,n){U(t,i,n,e,r,7);let a=Number(t&BigInt(4294967295));e[r+7]=a,a>>=8,e[r+6]=a,a>>=8,e[r+5]=a,a>>=8,e[r+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=o,o>>=8,e[r+2]=o,o>>=8,e[r+1]=o,o>>=8,e[r]=o,r+8}function O(e,t,r,i,n,a){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function P(e,r,i,n,a){return r=+r,i>>>=0,a||O(e,0,i,4),t.write(e,r,i,n,23,4),i+4}function j(e,r,i,n,a){return r=+r,i>>>=0,a||O(e,0,i,8),t.write(e,r,i,n,52,8),i+8}a.prototype.slice=function(e,t){let r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);let i=this.subarray(e,t);return Object.setPrototypeOf(i,a.prototype),i},a.prototype.readUintLE=a.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=this[e],n=1,a=0;for(;++a<t&&(n*=256);)i+=this[e+a]*n;return i},a.prototype.readUintBE=a.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=this[e+--t],n=1;for(;t>0&&(n*=256);)i+=this[e+--t]*n;return i},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||B(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,n=this[++e]+256*this[++e]+65536*this[++e]+r*2**24;return BigInt(i)+(BigInt(n)<<BigInt(32))})),a.prototype.readBigUInt64BE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=t*2**24+65536*this[++e]+256*this[++e]+this[++e],n=this[++e]*2**24+65536*this[++e]+256*this[++e]+r;return(BigInt(i)<<BigInt(32))+BigInt(n)})),a.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=this[e],n=1,a=0;for(;++a<t&&(n*=256);)i+=this[e+a]*n;return n*=128,i>=n&&(i-=Math.pow(2,8*t)),i},a.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||B(e,t,this.length);let i=t,n=1,a=this[e+--i];for(;i>0&&(n*=256);)a+=this[e+--i]*n;return n*=128,a>=n&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return e>>>=0,t||B(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||B(e,2,this.length);let r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt16BE=function(e,t){e>>>=0,t||B(e,2,this.length);let r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||B(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=this[e+4]+256*this[e+5]+65536*this[e+6]+(r<<24);return(BigInt(i)<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+this[++e]*2**24)})),a.prototype.readBigInt64BE=G((function(e){F(e>>>=0,"offset");let t=this[e],r=this[e+7];(void 0===t||void 0===r)&&H(e,this.length-8);let i=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(i)<<BigInt(32))+BigInt(this[++e]*2**24+65536*this[++e]+256*this[++e]+r)})),a.prototype.readFloatLE=function(e,r){return e>>>=0,r||B(e,4,this.length),t.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,r){return e>>>=0,r||B(e,4,this.length),t.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,r){return e>>>=0,r||B(e,8,this.length),t.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,r){return e>>>=0,r||B(e,8,this.length),t.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,r,i){if(e=+e,t>>>=0,r>>>=0,!i){I(this,e,t,r,Math.pow(2,8*r)-1,0)}let n=1,a=0;for(this[t]=255&e;++a<r&&(n*=256);)this[t+a]=e/n&255;return t+r},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(e,t,r,i){if(e=+e,t>>>=0,r>>>=0,!i){I(this,e,t,r,Math.pow(2,8*r)-1,0)}let n=r-1,a=1;for(this[t+n]=255&e;--n>=0&&(a*=256);)this[t+n]=e/a&255;return t+r},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=G((function(e,t=0){return R(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeBigUInt64BE=G((function(e,t=0){return M(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),a.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t>>>=0,!i){let i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}let n=0,a=1,o=0;for(this[t]=255&e;++n<r&&(a*=256);)e<0&&0===o&&0!==this[t+n-1]&&(o=1),this[t+n]=(e/a>>0)-o&255;return t+r},a.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t>>>=0,!i){let i=Math.pow(2,8*r-1);I(this,e,t,r,i-1,-i)}let n=r-1,a=1,o=0;for(this[t+n]=255&e;--n>=0&&(a*=256);)e<0&&0===o&&0!==this[t+n+1]&&(o=1),this[t+n]=(e/a>>0)-o&255;return t+r},a.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||I(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=G((function(e,t=0){return R(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeBigInt64BE=G((function(e,t=0){return M(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),a.prototype.writeFloatLE=function(e,t,r){return P(this,e,t,!0,r)},a.prototype.writeFloatBE=function(e,t,r){return P(this,e,t,!1,r)},a.prototype.writeDoubleLE=function(e,t,r){return j(this,e,t,!0,r)},a.prototype.writeDoubleBE=function(e,t,r){return j(this,e,t,!1,r)},a.prototype.copy=function(e,t,r,i){if(!a.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),!i&&0!==i&&(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);let n=i-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,i):Uint8Array.prototype.set.call(e,this.subarray(r,i),t),n},a.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){let t=e.charCodeAt(0);("utf8"===i&&t<128||"latin1"===i)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;let n;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n<r;++n)this[n]=e;else{let o=a.isBuffer(e)?e:a.from(e,i),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=o[n%s]}return this};let N={};function D(e,t,r){N[e]=class extends r{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function L(e){let t="",r=e.length,i="-"===e[0]?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function U(e,t,r,i,n,a){if(e>r||e<t){let i,n="bigint"==typeof t?"n":"";throw i=a>3?0===t||t===BigInt(0)?`>= 0${n} and < 2${n} ** ${8*(a+1)}${n}`:`>= -(2${n} ** ${8*(a+1)-1}${n}) and < 2 ** ${8*(a+1)-1}${n}`:`>= ${t}${n} and <= ${r}${n}`,new N.ERR_OUT_OF_RANGE("value",i,e)}!function(e,t,r){F(t,"offset"),(void 0===e[t]||void 0===e[t+r])&&H(t,e.length-(r+1))}(i,n,a)}function F(e,t){if("number"!=typeof e)throw new N.ERR_INVALID_ARG_TYPE(t,"number",e)}function H(e,t,r){throw Math.floor(e)!==e?(F(e,r),new N.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new N.ERR_BUFFER_OUT_OF_BOUNDS:new N.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}D("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),D("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),D("ERR_OUT_OF_RANGE",(function(e,t,r){let i=`The value of "${e}" is out of range.`,n=r;return Number.isInteger(r)&&Math.abs(r)>2**32?n=L(String(r)):"bigint"==typeof r&&(n=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(n=L(n)),n+="n"),i+=` It must be ${t}. Received ${n}`,i}),RangeError);let z=/[^+/0-9A-Za-z-_]/g;function W(e,t){t=t||1/0;let r,i=e.length,n=null,a=[];for(let o=0;o<i;++o){if(r=e.charCodeAt(o),r>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function V(t){return e.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(z,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(t))}function $(e,t,r,i){let n;for(n=0;n<i&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function q(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function Y(e){return e!=e}let K=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let i=16*r;for(let n=0;n<16;++n)t[i+n]=e[r]+e[n]}return t}();function G(e){return typeof BigInt>"u"?Q:e}function Q(){throw new Error("BigInt not supported")}return Lc}Xs(Mc,{Buffer:()=>Hc,INSPECT_MAX_BYTES:()=>zc,default:()=>Fc,kMaxLength:()=>Wc});var Pc,jc,Nc,Dc,Lc,Uc,Fc,Hc,zc,Wc,Vc=Qs((()=>{el(),$c(),Rc(),Pc={},jc=!1,Nc={},Dc=!1,Lc={},Uc=!1,(Fc=Oc()).Buffer,Fc.SlowBuffer,Fc.INSPECT_MAX_BYTES,Fc.kMaxLength,Hc=Fc.Buffer,zc=Fc.INSPECT_MAX_BYTES,Wc=Fc.kMaxLength})),$c=Qs((()=>{Vc()})),qc=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});e.default=class{constructor(e){this.aliasToTopic={},this.max=e}put(e,t){return!(0===t||t>this.max)&&(this.aliasToTopic[t]=e,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(e){return this.aliasToTopic[e]}clear(){this.aliasToTopic={}}}})),Yc=Js(((e,t)=>{el(),$c(),Rc(),t.exports={ArrayIsArray:e=>Array.isArray(e),ArrayPrototypeIncludes:(e,t)=>e.includes(t),ArrayPrototypeIndexOf:(e,t)=>e.indexOf(t),ArrayPrototypeJoin:(e,t)=>e.join(t),ArrayPrototypeMap:(e,t)=>e.map(t),ArrayPrototypePop:(e,t)=>e.pop(t),ArrayPrototypePush:(e,t)=>e.push(t),ArrayPrototypeSlice:(e,t,r)=>e.slice(t,r),Error:Error,FunctionPrototypeCall:(e,t,...r)=>e.call(t,...r),FunctionPrototypeSymbolHasInstance:(e,t)=>Function.prototype[Symbol.hasInstance].call(e,t),MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties:(e,t)=>Object.defineProperties(e,t),ObjectDefineProperty:(e,t,r)=>Object.defineProperty(e,t,r),ObjectGetOwnPropertyDescriptor:(e,t)=>Object.getOwnPropertyDescriptor(e,t),ObjectKeys:e=>Object.keys(e),ObjectSetPrototypeOf:(e,t)=>Object.setPrototypeOf(e,t),Promise:Promise,PromisePrototypeCatch:(e,t)=>e.catch(t),PromisePrototypeThen:(e,t,r)=>e.then(t,r),PromiseReject:e=>Promise.reject(e),ReflectApply:Reflect.apply,RegExpPrototypeTest:(e,t)=>e.test(t),SafeSet:Set,String:String,StringPrototypeSlice:(e,t,r)=>e.slice(t,r),StringPrototypeToLowerCase:e=>e.toLowerCase(),StringPrototypeToUpperCase:e=>e.toUpperCase(),StringPrototypeTrim:e=>e.trim(),Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet:(e,t,r)=>e.set(t,r),Uint8Array:Uint8Array}})),Kc=Js(((e,t)=>{el(),$c(),Rc();var r=(Vc(),Zs(Mc)),i=Object.getPrototypeOf((async function(){})).constructor,n=globalThis.Blob||r.Blob,a=typeof n<"u"?function(e){return e instanceof n}:function(e){return!1},o=class extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let r=0;r<e.length;r++)t+=` ${e[r].stack}\n`;super(t),this.name="AggregateError",this.errors=e}};t.exports={AggregateError:o,kEmptyObject:Object.freeze({}),once(e){let t=!1;return function(...r){t||(t=!0,e.apply(this,r))}},createDeferredPromise:function(){let e,t;return{promise:new Promise(((r,i)=>{e=r,t=i})),resolve:e,reject:t}},promisify:e=>new Promise(((t,r)=>{e(((e,...i)=>e?r(e):t(...i)))})),debuglog:()=>function(){},format:(e,...t)=>e.replace(/%([sdifj])/g,(function(...[e,r]){let i=t.shift();return"f"===r?i.toFixed(6):"j"===r?JSON.stringify(i):"s"===r&&"object"==typeof i?`${i.constructor!==Object?i.constructor.name:""} {}`.trim():i.toString()})),inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction:e=>e instanceof i,isArrayBufferView:e=>ArrayBuffer.isView(e)},isBlob:a},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})),Gc=Js(((e,t)=>{el(),$c(),Rc();var{AbortController:r,AbortSignal:i}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=r,t.exports.AbortSignal=i,t.exports.default=r})),Qc=Js(((e,t)=>{el(),$c(),Rc();var{format:r,inspect:i,AggregateError:n}=Kc(),a=globalThis.AggregateError||n,o=Symbol("kIsNodeError"),s=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function h(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",r=e.length,i="-"===e[0]?1:0;for(;r>=i+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function u(e,t,i){i||(i=Error);class n extends i{constructor(...i){super(function(e,t,i){if("function"==typeof t)return h(t.length<=i.length,`Code: ${e}; The provided arguments length (${i.length}) does not match the required ones (${t.length}).`),t(...i);let n=(t.match(/%[dfijoOs]/g)||[]).length;return h(n===i.length,`Code: ${e}; The provided arguments length (${i.length}) does not match the required ones (${n}).`),0===i.length?t:r(t,...i)}(e,t,i))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(n.prototype,{name:{value:i.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),n.prototype.code=e,n.prototype[o]=!0,c[e]=n}function p(e){let t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}var f=class extends Error{constructor(e="The operation was aborted",t=void 0){if(void 0!==t&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}};u("ERR_ASSERTION","%s",Error),u("ERR_INVALID_ARG_TYPE",((e,t,r)=>{h("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";e.endsWith(" argument")?n+=`${e} `:n+=`"${e}" ${e.includes(".")?"property":"argument"} `,n+="must be ";let a=[],o=[],c=[];for(let i of t)h("string"==typeof i,"All expected entries have to be of type string"),s.includes(i)?a.push(i.toLowerCase()):l.test(i)?o.push(i):(h("object"!==i,'The value "object" should be written as "Object"'),c.push(i));if(o.length>0){let e=a.indexOf("object");-1!==e&&(a.splice(a,e,1),o.push("Object"))}if(a.length>0){switch(a.length){case 1:n+=`of type ${a[0]}`;break;case 2:n+=`one of type ${a[0]} or ${a[1]}`;break;default:{let e=a.pop();n+=`one of type ${a.join(", ")}, or ${e}`}}(o.length>0||c.length>0)&&(n+=" or ")}if(o.length>0){switch(o.length){case 1:n+=`an instance of ${o[0]}`;break;case 2:n+=`an instance of ${o[0]} or ${o[1]}`;break;default:{let e=o.pop();n+=`an instance of ${o.join(", ")}, or ${e}`}}c.length>0&&(n+=" or ")}switch(c.length){case 0:break;case 1:c[0].toLowerCase()!==c[0]&&(n+="an "),n+=`${c[0]}`;break;case 2:n+=`one of ${c[0]} or ${c[1]}`;break;default:{let e=c.pop();n+=`one of ${c.join(", ")}, or ${e}`}}if(null==r)n+=`. Received ${r}`;else if("function"==typeof r&&r.name)n+=`. Received function ${r.name}`;else if("object"==typeof r){var d;if(null!==(d=r.constructor)&&void 0!==d&&d.name)n+=`. Received an instance of ${r.constructor.name}`;else{n+=`. Received ${i(r,{depth:-1})}`}}else{let e=i(r,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),n+=`. Received type ${typeof r} (${e})`}return n}),TypeError),u("ERR_INVALID_ARG_VALUE",((e,t,r="is invalid")=>{let n=i(t);return n.length>128&&(n=n.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`}),TypeError),u("ERR_INVALID_RETURN_VALUE",((e,t,r)=>{var i;return`Expected ${e} to be returned from the "${t}" function but got ${null!=r&&null!==(i=r.constructor)&&void 0!==i&&i.name?`instance of ${r.constructor.name}`:"type "+typeof r}.`}),TypeError),u("ERR_MISSING_ARGS",((...e)=>{h(e.length>0,"At least one arg needs to be specified");let t,r=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),r){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{let r=e.pop();t+=`The ${e.join(", ")}, and ${r} arguments`}}return`${t} must be specified`}),TypeError),u("ERR_OUT_OF_RANGE",((e,t,r)=>{let n;return h(t,'Missing "range" argument'),Number.isInteger(r)&&Math.abs(r)>2**32?n=d(String(r)):"bigint"==typeof r?(n=String(r),(r>2n**32n||r<-(2n**32n))&&(n=d(n)),n+="n"):n=i(r),`The value of "${e}" is out of range. It must be ${t}. Received ${n}`}),RangeError),u("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),u("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),u("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),u("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),u("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),u("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),u("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),u("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),u("ERR_STREAM_WRITE_AFTER_END","write after end",Error),u("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:f,aggregateTwoErrors:p((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;let r=new a([t,e],t.message);return r.code=t.code,r}return e||t})),hideStackFrames:p,codes:c}})),Jc=Js(((e,t)=>{el(),$c(),Rc();var{ArrayIsArray:r,ArrayPrototypeIncludes:i,ArrayPrototypeJoin:n,ArrayPrototypeMap:a,NumberIsInteger:o,NumberIsNaN:s,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:h,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:u,String:p,StringPrototypeToUpperCase:f,StringPrototypeTrim:g}=Yc(),{hideStackFrames:m,codes:{ERR_SOCKET_BAD_PORT:v,ERR_INVALID_ARG_TYPE:y,ERR_INVALID_ARG_VALUE:b,ERR_OUT_OF_RANGE:w,ERR_UNKNOWN_SIGNAL:_}}=Qc(),{normalizeEncoding:x}=Kc(),{isAsyncFunction:E,isArrayBufferView:S}=Kc().types,T={};var k=/^[0-7]+$/;var A=m(((e,t,r=c,i=l)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!o(e))throw new w(t,"an integer",e);if(e<r||e>i)throw new w(t,`>= ${r} && <= ${i}`,e)})),C=m(((e,t,r=-2147483648,i=2147483647)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!o(e))throw new w(t,"an integer",e);if(e<r||e>i)throw new w(t,`>= ${r} && <= ${i}`,e)})),B=m(((e,t,r=!1)=>{if("number"!=typeof e)throw new y(t,"number",e);if(!o(e))throw new w(t,"an integer",e);let i=r?1:0,n=4294967295;if(e<i||e>n)throw new w(t,`>= ${i} && <= ${n}`,e)}));function I(e,t){if("string"!=typeof e)throw new y(t,"string",e)}var R=m(((e,t,r)=>{if(!i(r,e)){let i="must be one of: "+n(a(r,(e=>"string"==typeof e?`'${e}'`:p(e))),", ");throw new b(t,e,i)}}));function M(e,t){if("boolean"!=typeof e)throw new y(t,"boolean",e)}function O(e,t,r){return null!=e&&d(e,t)?e[t]:r}var P=m(((e,t,i=null)=>{let n=O(i,"allowArray",!1),a=O(i,"allowFunction",!1);if(!O(i,"nullable",!1)&&null===e||!n&&r(e)||"object"!=typeof e&&(!a||"function"!=typeof e))throw new y(t,"Object",e)})),j=m(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new y(t,"a dictionary",e)})),N=m(((e,t,i=0)=>{if(!r(e))throw new y(t,"Array",e);if(e.length<i){throw new b(t,e,`must be longer than ${i}`)}}));var D=m(((e,t="buffer")=>{if(!S(e))throw new y(t,["Buffer","TypedArray","DataView"],e)}));var L=m(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new y(t,"AbortSignal",e)})),U=m(((e,t)=>{if("function"!=typeof e)throw new y(t,"Function",e)})),F=m(((e,t)=>{if("function"!=typeof e||E(e))throw new y(t,"Function",e)})),H=m(((e,t)=>{if(void 0!==e)throw new y(t,"undefined",e)}));var z=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function W(e,t){if(typeof e>"u"||!u(z,e))throw new b(t,e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,r){if(typeof e>"u"&&(e=r),"string"==typeof e){if(null===u(k,e))throw new b(t,e,"must be a 32-bit unsigned integer or an octal string");e=h(e,8)}return B(e,t),e},validateArray:N,validateStringArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++)I(e[r],`${t}[${r}]`)},validateBooleanArray:function(e,t){N(e,t);for(let r=0;r<e.length;r++)M(e[r],`${t}[${r}]`)},validateBoolean:M,validateBuffer:D,validateDictionary:j,validateEncoding:function(e,t){let r=x(t),i=e.length;if("hex"===r&&i%2!=0)throw new b("encoding",t,`is invalid for data of length ${i}`)},validateFunction:U,validateInt32:C,validateInteger:A,validateNumber:function(e,t,r=void 0,i){if("number"!=typeof e)throw new y(t,"number",e);if(null!=r&&e<r||null!=i&&e>i||(null!=r||null!=i)&&s(e))throw new w(t,`${null!=r?`>= ${r}`:""}${null!=r&&null!=i?" && ":""}${null!=i?`<= ${i}`:""}`,e)},validateObject:P,validateOneOf:R,validatePlainFunction:F,validatePort:function(e,t="Port",r=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===g(e).length||+e!=+e>>>0||e>65535||0===e&&!r)throw new v(t,e,r);return 0|e},validateSignalName:function(e,t="signal"){if(I(e,t),void 0===T[e])throw void 0!==T[f(e)]?new _(e+" (signals must use all capital letters)"):new _(e)},validateString:I,validateUint32:B,validateUndefined:H,validateUnion:function(e,t,r){if(!i(r,e))throw new y(t,`('${n(r,"|")}')`,e)},validateAbortSignal:L,validateLinkHeaderValue:function(e){if("string"==typeof e)return W(e,"hints"),e;if(r(e)){let t=e.length,r="";if(0===t)return r;for(let i=0;i<t;i++){let n=e[i];W(n,"hints"),r+=n,i!==t-1&&(r+=", ")}return r}throw new b("hints",e,'must be an array or string of format "</styles.css>; rel=preload; as=style"')}}})),Xc=Js(((e,t)=>{el(),$c(),Rc();var r,i,n=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch{try{return r.call(null,e,0)}catch{return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch{r=a}try{i="function"==typeof clearTimeout?clearTimeout:o}catch{i=o}}();var l,c=[],h=!1,d=-1;function u(){!h||!l||(h=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!h){var e=s(u);h=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,h=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch{try{return i.call(null,e)}catch{return i.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function g(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new f(e,t)),1===c.length&&!h&&s(p)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}})),Zc=Js(((e,t)=>{el(),$c(),Rc();var{Symbol:r,SymbolAsyncIterator:i,SymbolIterator:n,SymbolFor:a}=Yc(),o=r("kDestroyed"),s=r("kIsErrored"),l=r("kIsReadable"),c=r("kIsDisturbed"),h=a("nodejs.webstream.isClosedPromise"),d=a("nodejs.webstream.controllerErrorFunction");function u(e,t=!1){var r;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(r=e._readableState)||void 0===r?void 0:r.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function f(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function g(e){return!(!e||f(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function m(e){return!(!e||f(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function v(e){return!(!e||f(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function y(e){if(!f(e))return null;let t=e._writableState,r=e._readableState,i=t||r;return!!(e.destroyed||e[o]||null!=i&&i.destroyed)}function b(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;let t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)}function w(e,t){if(!u(e))return null;let r=e._readableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.endEmitted)?null:!!(r.endEmitted||!1===t&&!0===r.ended&&0===r.length))}function _(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof(null==e?void 0:e.readable)?null:!y(e)&&(u(e)&&e.readable&&!w(e))}function x(e){return"boolean"!=typeof(null==e?void 0:e.writable)?null:!y(e)&&(p(e)&&e.writable&&!b(e))}function E(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function S(e){return"boolean"==typeof e._sent100&&E(e)}t.exports={kDestroyed:o,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,r,i,n,a,o,l,c,h,d;return!(!e||!(null!==(t=null!==(r=null!==(i=null!==(n=null!==(a=null!==(o=e[s])&&void 0!==o?o:e.readableErrored)&&void 0!==a?a:e.writableErrored)&&void 0!==n?n:null===(l=e._readableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==i?i:null===(c=e._writableState)||void 0===c?void 0:c.errorEmitted)&&void 0!==r?r:null===(h=e._readableState)||void 0===h?void 0:h.errored)&&void 0!==t?t:null!==(d=e._writableState)&&void 0!==d&&d.errored))},kIsErrored:s,isReadable:_,kIsReadable:l,kIsClosedPromise:h,kControllerErrorFunction:d,isClosed:function(e){if(!f(e))return null;if("boolean"==typeof e.closed)return e.closed;let t=e._writableState,r=e._readableState;return"boolean"==typeof(null==t?void 0:t.closed)||"boolean"==typeof(null==r?void 0:r.closed)?(null==t?void 0:t.closed)||(null==r?void 0:r.closed):"boolean"==typeof e._closed&&E(e)?e._closed:null},isDestroyed:y,isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return f(e)?!!y(e)||!(!1!==(null==t?void 0:t.readable)&&_(e)||!1!==(null==t?void 0:t.writable)&&x(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[i]:!1===t?"function"==typeof e[n]:"function"==typeof e[i]||"function"==typeof e[n])},isReadableNodeStream:u,isReadableStream:g,isReadableEnded:function(e){if(!u(e))return null;if(!0===e.readableEnded)return!0;let t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof(null==t?void 0:t.ended)?null:t.ended)},isReadableFinished:w,isReadableErrored:function(e){var t,r;return f(e)?e.readableErrored?e.readableErrored:null!==(t=null===(r=e._readableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isNodeStream:f,isWebStream:function(e){return g(e)||m(e)||v(e)},isWritable:x,isWritableNodeStream:p,isWritableStream:m,isWritableEnded:b,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;let r=e._writableState;return(null==r||!r.errored)&&("boolean"!=typeof(null==r?void 0:r.finished)?null:!!(r.finished||!1===t&&!0===r.ended&&0===r.length))},isWritableErrored:function(e){var t,r;return f(e)?e.writableErrored?e.writableErrored:null!==(t=null===(r=e._writableState)||void 0===r?void 0:r.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:S,willEmitClose:function(e){if(!f(e))return null;let t=e._writableState,r=e._readableState,i=t||r;return!i&&S(e)||!!(i&&i.autoDestroy&&i.emitClose&&!1===i.closed)},isTransformStream:v}})),eh=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{AbortError:i,codes:n}=Qc(),{ERR_INVALID_ARG_TYPE:a,ERR_STREAM_PREMATURE_CLOSE:o}=n,{kEmptyObject:s,once:l}=Kc(),{validateAbortSignal:c,validateFunction:h,validateObject:d,validateBoolean:u}=Jc(),{Promise:p,PromisePrototypeThen:f}=Yc(),{isClosed:g,isReadable:m,isReadableNodeStream:v,isReadableStream:y,isReadableFinished:b,isReadableErrored:w,isWritable:_,isWritableNodeStream:x,isWritableStream:E,isWritableFinished:S,isWritableErrored:T,isNodeStream:k,willEmitClose:A,kIsClosedPromise:C}=Zc();var B=()=>{};function I(e,t,n){var u,p;if(2===arguments.length?(n=t,t=s):null==t?t=s:d(t,"options"),h(n,"callback"),c(t.signal,"options.signal"),n=l(n),y(e)||E(e))return function(e,t,n){let a=!1,o=B;if(t.signal)if(o=()=>{a=!0,n.call(e,new i(void 0,{cause:t.signal.reason}))},t.signal.aborted)r.nextTick(o);else{let r=n;n=l(((...i)=>{t.signal.removeEventListener("abort",o),r.apply(e,i)})),t.signal.addEventListener("abort",o)}let s=(...t)=>{a||r.nextTick((()=>n.apply(e,t)))};return f(e[C].promise,s,s),B}(e,t,n);if(!k(e))throw new a("stream",["ReadableStream","WritableStream","Stream"],e);let I=null!==(u=t.readable)&&void 0!==u?u:v(e),R=null!==(p=t.writable)&&void 0!==p?p:x(e),M=e._writableState,O=e._readableState,P=()=>{e.writable||D()},j=A(e)&&v(e)===I&&x(e)===R,N=S(e,!1),D=()=>{N=!0,e.destroyed&&(j=!1),(!j||e.readable&&!I)&&(!I||L)&&n.call(e)},L=b(e,!1),U=()=>{L=!0,e.destroyed&&(j=!1),(!j||e.writable&&!R)&&(!R||N)&&n.call(e)},F=t=>{n.call(e,t)},H=g(e),z=()=>{H=!0;let t=T(e)||w(e);return t&&"boolean"!=typeof t?n.call(e,t):I&&!L&&v(e,!0)&&!b(e,!1)?n.call(e,new o):!R||N||S(e,!1)?void n.call(e):n.call(e,new o)},W=()=>{H=!0;let t=T(e)||w(e);if(t&&"boolean"!=typeof t)return n.call(e,t);n.call(e)},V=()=>{e.req.on("finish",D)};!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?R&&!M&&(e.on("end",P),e.on("close",P)):(e.on("complete",D),j||e.on("abort",z),e.req?V():e.on("request",V)),!j&&"boolean"==typeof e.aborted&&e.on("aborted",z),e.on("end",U),e.on("finish",D),!1!==t.error&&e.on("error",F),e.on("close",z),H?r.nextTick(z):null!=M&&M.errorEmitted||null!=O&&O.errorEmitted?j||r.nextTick(W):(!I&&(!j||m(e))&&(N||!1===_(e))||!R&&(!j||_(e))&&(L||!1===m(e))||O&&e.req&&e.aborted)&&r.nextTick(W);let $=()=>{n=B,e.removeListener("aborted",z),e.removeListener("complete",D),e.removeListener("abort",z),e.removeListener("request",V),e.req&&e.req.removeListener("finish",D),e.removeListener("end",P),e.removeListener("close",P),e.removeListener("finish",D),e.removeListener("end",U),e.removeListener("error",F),e.removeListener("close",z)};if(t.signal&&!H){let a=()=>{let r=n;$(),r.call(e,new i(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)r.nextTick(a);else{let r=n;n=l(((...i)=>{t.signal.removeEventListener("abort",a),r.apply(e,i)})),t.signal.addEventListener("abort",a)}}return $}t.exports=I,t.exports.finished=function(e,t){var r;let i=!1;return null===t&&(t=s),null!==(r=t)&&void 0!==r&&r.cleanup&&(u(t.cleanup,"cleanup"),i=t.cleanup),new p(((r,n)=>{let a=I(e,t,(e=>{i&&a(),e?n(e):r()}))}))}})),th=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{aggregateTwoErrors:i,codes:{ERR_MULTIPLE_CALLBACK:n},AbortError:a}=Qc(),{Symbol:o}=Yc(),{kDestroyed:s,isDestroyed:l,isFinished:c,isServerRequest:h}=Zc(),d=o("kDestroy"),u=o("kConstruct");function p(e,t,r){e&&(e.stack,t&&!t.errored&&(t.errored=e),r&&!r.errored&&(r.errored=e))}function f(e,t,i){let n=!1;function a(t){if(n)return;n=!0;let a=e._readableState,o=e._writableState;p(t,o,a),o&&(o.closed=!0),a&&(a.closed=!0),"function"==typeof i&&i(t),t?r.nextTick(g,e,t):r.nextTick(m,e)}try{e._destroy(t||null,a)}catch(o){a(o)}}function g(e,t){v(e,t),m(e)}function m(e){let t=e._readableState,r=e._writableState;r&&(r.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=r&&r.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function v(e,t){let r=e._readableState,i=e._writableState;null!=i&&i.errorEmitted||null!=r&&r.errorEmitted||(i&&(i.errorEmitted=!0),r&&(r.errorEmitted=!0),e.emit("error",t))}function y(e,t,i){let n=e._readableState,a=e._writableState;if(null!=a&&a.destroyed||null!=n&&n.destroyed)return this;null!=n&&n.autoDestroy||null!=a&&a.autoDestroy?e.destroy(t):t&&(t.stack,a&&!a.errored&&(a.errored=t),n&&!n.errored&&(n.errored=t),i?r.nextTick(v,e,t):v(e,t))}function b(e){let t=!1;function i(i){if(t)return void y(e,i??new n);t=!0;let a=e._readableState,o=e._writableState,s=o||a;a&&(a.constructed=!0),o&&(o.constructed=!0),s.destroyed?e.emit(d,i):i?y(e,i,!0):r.nextTick(w,e)}try{e._construct((e=>{r.nextTick(i,e)}))}catch(a){r.nextTick(i,a)}}function w(e){e.emit(u)}function _(e){return(null==e?void 0:e.setHeader)&&"function"==typeof e.abort}function x(e){e.emit("close")}function E(e,t){e.emit("error",t),r.nextTick(x,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;let i=e._readableState,n=e._writableState;i&&(i.constructed=!1),n&&(n.constructed=!1),e.once(u,t),!(e.listenerCount(u)>1)&&r.nextTick(b,e)},destroyer:function(e,t){!e||l(e)||(!t&&!c(e)&&(t=new a),h(e)?(e.socket=null,e.destroy(t)):_(e)?e.abort():_(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?r.nextTick(E,e,t):r.nextTick(x,e),e.destroyed||(e[s]=!0))},destroy:function(e,t){let r=this._readableState,n=this._writableState,a=n||r;return null!=n&&n.destroyed||null!=r&&r.destroyed?("function"==typeof t&&t(),this):(p(e,n,r),n&&(n.destroyed=!0),r&&(r.destroyed=!0),a.constructed?f(this,e,t):this.once(d,(function(r){f(this,i(r,e),t)})),this)},undestroy:function(){let e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:y}}));function rh(){rh.init.call(this)}function ih(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function nh(e){return void 0===e._maxListeners?rh.defaultMaxListeners:e._maxListeners}function ah(e,t,r,i){var n,a,o;if(ih(r),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),o=a[t]),void 0===o)o=a[t]=r,++e._eventsCount;else if("function"==typeof o?o=a[t]=i?[r,o]:[o,r]:i?o.unshift(r):o.push(r),(n=nh(e))>0&&o.length>n&&!o.warned){o.warned=!0;var s=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");s.name="MaxListenersExceededWarning",s.emitter=e,s.type=t,s.count=o.length,s,console&&console.warn}return e}function oh(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function sh(e,t,r){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},n=oh.bind(i);return n.listener=r,i.wrapFn=n,n}function lh(e,t,r){var i=e._events;if(void 0===i)return[];var n=i[t];return void 0===n?[]:"function"==typeof n?r?[n.listener||n]:[n]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(n):hh(n,n.length)}function ch(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function hh(e,t){for(var r=new Array(t),i=0;i<t;++i)r[i]=e[i];return r}var dh,uh,ph,fh,gh,mh,vh,yh=Qs((()=>{el(),$c(),Rc(),ph="object"==typeof Reflect?Reflect:null,fh=ph&&"function"==typeof ph.apply?ph.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)},uh=ph&&"function"==typeof ph.ownKeys?ph.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},gh=Number.isNaN||function(e){return e!=e},dh=rh,rh.EventEmitter=rh,rh.prototype._events=void 0,rh.prototype._eventsCount=0,rh.prototype._maxListeners=void 0,mh=10,Object.defineProperty(rh,"defaultMaxListeners",{enumerable:!0,get:function(){return mh},set:function(e){if("number"!=typeof e||e<0||gh(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");mh=e}}),rh.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},rh.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||gh(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},rh.prototype.getMaxListeners=function(){return nh(this)},rh.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var o=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw o.context=a,o}var s=n[e];if(void 0===s)return!1;if("function"==typeof s)fh(s,this,t);else{var l=s.length,c=hh(s,l);for(r=0;r<l;++r)fh(c[r],this,t)}return!0},rh.prototype.addListener=function(e,t){return ah(this,e,t,!1)},rh.prototype.on=rh.prototype.addListener,rh.prototype.prependListener=function(e,t){return ah(this,e,t,!0)},rh.prototype.once=function(e,t){return ih(t),this.on(e,sh(this,e,t)),this},rh.prototype.prependOnceListener=function(e,t){return ih(t),this.prependListener(e,sh(this,e,t)),this},rh.prototype.removeListener=function(e,t){var r,i,n,a,o;if(ih(t),void 0===(i=this._events))return this;if(void 0===(r=i[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(n=-1,a=r.length-1;a>=0;a--)if(r[a]===t||r[a].listener===t){o=r[a].listener,n=a;break}if(n<0)return this;0===n?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,n),1===r.length&&(i[e]=r[0]),void 0!==i.removeListener&&this.emit("removeListener",e,o||t)}return this},rh.prototype.off=rh.prototype.removeListener,rh.prototype.removeAllListeners=function(e){var t,r,i;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var n,a=Object.keys(r);for(i=0;i<a.length;++i)"removeListener"!==(n=a[i])&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},rh.prototype.listeners=function(e){return lh(this,e,!0)},rh.prototype.rawListeners=function(e){return lh(this,e,!1)},rh.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):ch.call(e,t)},rh.prototype.listenerCount=ch,rh.prototype.eventNames=function(){return this._eventsCount>0?uh(this._events):[]},(vh=dh).EventEmitter,vh.defaultMaxListeners,vh.init,vh.listenerCount,vh.EventEmitter,vh.defaultMaxListeners,vh.init,vh.listenerCount})),bh={};Xs(bh,{EventEmitter:()=>wh,default:()=>vh,defaultMaxListeners:()=>_h,init:()=>xh,listenerCount:()=>Eh,on:()=>Sh,once:()=>Th});var wh,_h,xh,Eh,Sh,Th,kh=Qs((()=>{el(),$c(),Rc(),yh(),yh(),vh.once=function(e,t){return new Promise(((r,i)=>{function n(...t){void 0!==a&&e.removeListener("error",a),r(t)}let a;"error"!==t&&(a=t=>{e.removeListener(name,n),i(t)},e.once("error",a)),e.once(t,n)}))},vh.on=function(e,t){let r=[],i=[],n=null,a=!1,o={async next(){let e=r.shift();if(e)return createIterResult(e,!1);if(n){let e=Promise.reject(n);return n=null,e}return a?createIterResult(void 0,!0):new Promise(((e,t)=>i.push({resolve:e,reject:t})))},async return(){e.removeListener(t,s),e.removeListener("error",l),a=!0;for(let e of i)e.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(r){n=r,e.removeListener(t,s),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,s),e.on("error",l),o;function s(...e){let t=i.shift();t?t.resolve(createIterResult(e,!1)):r.push(e)}function l(e){a=!0;let t=i.shift();t?t.reject(e):n=e,o.return()}},({EventEmitter:wh,defaultMaxListeners:_h,init:xh,listenerCount:Eh,on:Sh,once:Th}=vh)})),Ah=Js(((e,t)=>{el(),$c(),Rc();var{ArrayIsArray:r,ObjectSetPrototypeOf:i}=Yc(),{EventEmitter:n}=(kh(),Zs(bh));function a(e){n.call(this,e)}function o(e,t,i){if("function"==typeof e.prependListener)return e.prependListener(t,i);e._events&&e._events[t]?r(e._events[t])?e._events[t].unshift(i):e._events[t]=[i,e._events[t]]:e.on(t,i)}i(a.prototype,n.prototype),i(a,n),a.prototype.pipe=function(e,t){let r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function a(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",a),!e._isStdio&&(!t||!1!==t.end)&&(r.on("end",l),r.on("close",c));let s=!1;function l(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function h(e){d(),0===n.listenerCount(this,"error")&&this.emit("error",e)}function d(){r.removeListener("data",i),e.removeListener("drain",a),r.removeListener("end",l),r.removeListener("close",c),r.removeListener("error",h),e.removeListener("error",h),r.removeListener("end",d),r.removeListener("close",d),e.removeListener("close",d)}return o(r,"error",h),o(e,"error",h),r.on("end",d),r.on("close",d),e.on("close",d),e.emit("pipe",r),e},t.exports={Stream:a,prependListener:o}})),Ch=Js(((e,t)=>{el(),$c(),Rc();var{AbortError:r,codes:i}=Qc(),{isNodeStream:n,isWebStream:a,kControllerErrorFunction:o}=Zc(),s=eh(),{ERR_INVALID_ARG_TYPE:l}=i;t.exports.addAbortSignal=function(e,r){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new l(t,"AbortSignal",e)})(e,"signal"),!n(r)&&!a(r))throw new l("stream",["ReadableStream","WritableStream","Stream"],r);return t.exports.addAbortSignalNoValidate(e,r)},t.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;let i=n(t)?()=>{t.destroy(new r(void 0,{cause:e.reason}))}:()=>{t[o](new r(void 0,{cause:e.reason}))};return e.aborted?i():(e.addEventListener("abort",i),s(t,(()=>e.removeEventListener("abort",i)))),t}})),Bh=Js(((e,t)=>{el(),$c(),Rc();var{StringPrototypeSlice:r,SymbolIterator:i,TypedArrayPrototypeSet:n,Uint8Array:a}=Yc(),{Buffer:o}=(Vc(),Zs(Mc)),{inspect:s}=Kc();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){let t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){let t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;let e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,r=""+t.data;for(;null!==(t=t.next);)r+=e+t.data;return r}concat(e){if(0===this.length)return o.alloc(0);let t=o.allocUnsafe(e>>>0),r=this.head,i=0;for(;r;)n(t,r.data,i),i+=r.data.length,r=r.next;return t}consume(e,t){let r=this.head.data;if(e<r.length){let t=r.slice(0,e);return this.head.data=r.slice(e),t}return e===r.length?this.shift():t?this._getString(e):this._getBuffer(e)}first(){return this.head.data}*[i](){for(let e=this.head;e;e=e.next)yield e.data}_getString(e){let t="",i=this.head,n=0;do{let a=i.data;if(!(e>a.length)){e===a.length?(t+=a,++n,i.next?this.head=i.next:this.head=this.tail=null):(t+=r(a,0,e),this.head=i,i.data=r(a,e));break}t+=a,e-=a.length,++n}while(null!==(i=i.next));return this.length-=n,t}_getBuffer(e){let t=o.allocUnsafe(e),r=e,i=this.head,s=0;do{let o=i.data;if(!(e>o.length)){e===o.length?(n(t,o,r-e),++s,i.next?this.head=i.next:this.head=this.tail=null):(n(t,new a(o.buffer,o.byteOffset,e),r-e),this.head=i,i.data=o.slice(e));break}n(t,o,r-e),e-=o.length,++s}while(null!==(i=i.next));return this.length-=s,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return s(this,{...t,depth:0,customInspect:!1})}}})),Ih=Js(((e,t)=>{el(),$c(),Rc();var{MathFloor:r,NumberIsInteger:i}=Yc(),{ERR_INVALID_ARG_VALUE:n}=Qc().codes;function a(e){return e?16:16384}t.exports={getHighWaterMark:function(e,t,o,s){let l=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,s,o);if(null!=l){if(!i(l)||l<0){throw new n(s?`options.${o}`:"options.highWaterMark",l)}return r(l)}return a(e.objectMode)},getDefaultHighWaterMark:a}}));function Rh(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function Mh(e,t,r){for(var i,n,a=[],o=t;o<r;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(Td[(n=i)>>18&63]+Td[n>>12&63]+Td[n>>6&63]+Td[63&n]);return a.join("")}function Oh(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,Ph.prototype),t}function Ph(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return Dh(e)}return jh(e,t,r)}function jh(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!Ph.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|Fh(e,t),i=Oh(r),n=i.write(e,t);return n!==r&&(i=i.slice(0,n)),i}(e,t);if(ArrayBuffer.isView(e))return Lh(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(dd(e,ArrayBuffer)||e&&dd(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(dd(e,SharedArrayBuffer)||e&&dd(e.buffer,SharedArrayBuffer)))return function(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var i;return i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(i,Ph.prototype),i}(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return Ph.from(i,t,r);var n=function(e){if(Ph.isBuffer(e)){var t=0|Uh(e.length),r=Oh(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||ud(e.length)?Oh(0):Lh(e):"Buffer"===e.type&&Array.isArray(e.data)?Lh(e.data):void 0}(e);if(n)return n;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return Ph.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function Nh(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Dh(e){return Nh(e),Oh(e<0?0:0|Uh(e))}function Lh(e){for(var t=e.length<0?0:0|Uh(e.length),r=Oh(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}function Uh(e){if(e>=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function Fh(e,t){if(Ph.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||dd(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ld(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return cd(e).length;default:if(n)return i?-1:ld(e).length;t=(""+t).toLowerCase(),n=!0}}function Hh(e,t,r){var i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return td(this,t,r);case"utf8":case"utf-8":return Xh(this,t,r);case"ascii":return Zh(this,t,r);case"latin1":case"binary":return ed(this,t,r);case"base64":return Jh(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rd(this,t,r);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}function zh(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function Wh(e,t,r,i,n){if(0===e.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),ud(r=+r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=Ph.from(t,i)),Ph.isBuffer(t))return 0===t.length?-1:Vh(e,t,r,i,n);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Vh(e,[t],r,i,n);throw new TypeError("val must be string, number or Buffer")}function Vh(e,t,r,i,n){var a,o=1,s=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;o=2,s/=2,l/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var h=-1;for(a=r;a<s;a++)if(c(e,a)===c(t,-1===h?0:a-h)){if(-1===h&&(h=a),a-h+1===l)return h*o}else-1!==h&&(a-=a-h),h=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,u=0;u<l;u++)if(c(e,a+u)!==c(t,u)){d=!1;break}if(d)return a}return-1}function $h(e,t,r,i){r=Number(r)||0;var n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;var a=t.length;i>a/2&&(i=a/2);for(var o=0;o<i;++o){var s=parseInt(t.substr(2*o,2),16);if(ud(s))return o;e[r+o]=s}return o}function qh(e,t,r,i){return hd(ld(t,e.length-r),e,r,i)}function Yh(e,t,r,i){return hd(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,i)}function Kh(e,t,r,i){return Yh(e,t,r,i)}function Gh(e,t,r,i){return hd(cd(t),e,r,i)}function Qh(e,t,r,i){return hd(function(e,t){for(var r,i,n,a=[],o=0;o<e.length&&!((t-=2)<0);++o)i=(r=e.charCodeAt(o))>>8,n=r%256,a.push(n),a.push(i);return a}(t,e.length-r),e,r,i)}function Jh(e,t,r){return 0===t&&r===e.length?Rd.fromByteArray(e):Rd.fromByteArray(e.slice(t,r))}function Xh(e,t,r){r=Math.min(e.length,r);for(var i=[],n=t;n<r;){var a,o,s,l,c=e[n],h=null,d=c>239?4:c>223?3:c>191?2:1;if(n+d<=r)switch(d){case 1:c<128&&(h=c);break;case 2:128==(192&(a=e[n+1]))&&(l=(31&c)<<6|63&a)>127&&(h=l);break;case 3:a=e[n+1],o=e[n+2],128==(192&a)&&128==(192&o)&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(h=l);break;case 4:a=e[n+1],o=e[n+2],s=e[n+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(h=l)}null===h?(h=65533,d=1):h>65535&&(h-=65536,i.push(h>>>10&1023|55296),h=56320|1023&h),i.push(h),n+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var r="",i=0;i<t;)r+=String.fromCharCode.apply(String,e.slice(i,i+=4096));return r}(i)}function Zh(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(127&e[n]);return i}function ed(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}function td(e,t,r){var i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var n="",a=t;a<r;++a)n+=jd[e[a]];return n}function rd(e,t,r){for(var i=e.slice(t,r),n="",a=0;a<i.length;a+=2)n+=String.fromCharCode(i[a]+256*i[a+1]);return n}function id(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function nd(e,t,r,i,n,a){if(!Ph.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<a)throw new RangeError('"value" argument is out of bounds');if(r+i>e.length)throw new RangeError("Index out of range")}function ad(e,t,r,i,n,a){if(r+i>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function od(e,t,r,i,n){return t=+t,r>>>=0,n||ad(e,0,r,4),Md.write(e,t,r,i,23,4),r+4}function sd(e,t,r,i,n){return t=+t,r>>>=0,n||ad(e,0,r,8),Md.write(e,t,r,i,52,8),r+8}function ld(e,t){var r;t=t||1/0;for(var i=e.length,n=null,a=[],o=0;o<i;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(o+1===i){(t-=3)>-1&&a.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&a.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function cd(e){return Rd.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Pd,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function hd(e,t,r,i){for(var n=0;n<i&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function dd(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function ud(e){return e!=e}function pd(e,t){for(var r in e)t[r]=e[r]}function fd(e,t,r){return Ld(e,t,r)}function gd(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(Fd.isEncoding===Hd||!Hd(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=yd,this.end=bd,t=4;break;case"utf8":this.fillLast=vd,t=4;break;case"base64":this.text=wd,this.end=_d,t=3;break;default:return this.write=xd,void(this.end=Ed)}this.lastNeed=0,this.lastTotal=0,this.lastChar=Fd.allocUnsafe(t)}function md(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function vd(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function yd(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var i=r.charCodeAt(r.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function bd(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function wd(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function _d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function xd(e){return e.toString(this.encoding)}function Ed(e){return e&&e.length?this.write(e):""}var Sd,Td,kd,Ad,Cd,Bd,Id,Rd,Md,Od,Pd,jd,Nd,Dd,Ld,Ud,Fd,Hd,zd=Qs((()=>{for(el(),$c(),Rc(),Sd={byteLength:function(e){var t=Rh(e),r=t[0],i=t[1];return 3*(r+i)/4-i},toByteArray:function(e){var t,r,i,n=Rh(e),a=n[0],o=n[1],s=new Ad(3*(a+(i=o))/4-i),l=0,c=o>0?a-4:a;for(r=0;r<c;r+=4)t=kd[e.charCodeAt(r)]<<18|kd[e.charCodeAt(r+1)]<<12|kd[e.charCodeAt(r+2)]<<6|kd[e.charCodeAt(r+3)],s[l++]=t>>16&255,s[l++]=t>>8&255,s[l++]=255&t;return 2===o&&(t=kd[e.charCodeAt(r)]<<2|kd[e.charCodeAt(r+1)]>>4,s[l++]=255&t),1===o&&(t=kd[e.charCodeAt(r)]<<10|kd[e.charCodeAt(r+1)]<<4|kd[e.charCodeAt(r+2)]>>2,s[l++]=t>>8&255,s[l++]=255&t),s},fromByteArray:function(e){for(var t,r=e.length,i=r%3,n=[],a=0,o=r-i;a<o;a+=16383)n.push(Mh(e,a,a+16383>o?o:a+16383));return 1===i?(t=e[r-1],n.push(Td[t>>2]+Td[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],n.push(Td[t>>10]+Td[t>>4&63]+Td[t<<2&63]+"=")),n.join("")}},Td=[],kd=[],Ad=typeof Uint8Array<"u"?Uint8Array:Array,Cd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Bd=0,64;Bd<64;++Bd)Td[Bd]=Cd[Bd],kd[Cd.charCodeAt(Bd)]=Bd;kd["-".charCodeAt(0)]=62,kd["_".charCodeAt(0)]=63,Id={},Rd=Sd,Md={read:function(e,t,r,i,n){var a,o,s=8*n-i-1,l=(1<<s)-1,c=l>>1,h=-7,d=r?n-1:0,u=r?-1:1,p=e[t+d];for(d+=u,a=p&(1<<-h)-1,p>>=-h,h+=s;h>0;a=256*a+e[t+d],d+=u,h-=8);for(o=a&(1<<-h)-1,a>>=-h,h+=i;h>0;o=256*o+e[t+d],d+=u,h-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(p?-1:1);o+=Math.pow(2,i),a-=c}return(p?-1:1)*o*Math.pow(2,a-i)},write:function(e,t,r,i,n,a){var o,s,l,c=8*a-n-1,h=(1<<c)-1,d=h>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,p=i?0:a-1,f=i?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),(t+=o+d>=1?u/l:u*Math.pow(2,1-d))*l>=2&&(o++,l/=2),o+d>=h?(s=0,o=h):o+d>=1?(s=(t*l-1)*Math.pow(2,n),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,n),o=0));n>=8;e[r+p]=255&s,p+=f,s/=256,n-=8);for(o=o<<n|s,c+=n;c>0;e[r+p]=255&o,p+=f,o/=256,c-=8);e[r+p-f]|=128*g}},Od="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,Id.Buffer=Ph,Id.SlowBuffer=function(e){return+e!=e&&(e=0),Ph.alloc(+e)},Id.INSPECT_MAX_BYTES=50,Id.kMaxLength=2147483647,Ph.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),Ph.TYPED_ARRAY_SUPPORT||typeof console>"u"||console.error,Object.defineProperty(Ph.prototype,"parent",{enumerable:!0,get:function(){if(Ph.isBuffer(this))return this.buffer}}),Object.defineProperty(Ph.prototype,"offset",{enumerable:!0,get:function(){if(Ph.isBuffer(this))return this.byteOffset}}),Ph.poolSize=8192,Ph.from=function(e,t,r){return jh(e,t,r)},Object.setPrototypeOf(Ph.prototype,Uint8Array.prototype),Object.setPrototypeOf(Ph,Uint8Array),Ph.alloc=function(e,t,r){return n=t,a=r,Nh(i=e),i<=0?Oh(i):void 0!==n?"string"==typeof a?Oh(i).fill(n,a):Oh(i).fill(n):Oh(i);var i,n,a},Ph.allocUnsafe=function(e){return Dh(e)},Ph.allocUnsafeSlow=function(e){return Dh(e)},Ph.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==Ph.prototype},Ph.compare=function(e,t){if(dd(e,Uint8Array)&&(e=Ph.from(e,e.offset,e.byteLength)),dd(t,Uint8Array)&&(t=Ph.from(t,t.offset,t.byteLength)),!Ph.isBuffer(e)||!Ph.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,i=t.length,n=0,a=Math.min(r,i);n<a;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}return r<i?-1:i<r?1:0},Ph.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Ph.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Ph.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var i=Ph.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var a=e[r];if(dd(a,Uint8Array)&&(a=Ph.from(a)),!Ph.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(i,n),n+=a.length}return i},Ph.byteLength=Fh,Ph.prototype._isBuffer=!0,Ph.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)zh(this,t,t+1);return this},Ph.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)zh(this,t,t+3),zh(this,t+1,t+2);return this},Ph.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)zh(this,t,t+7),zh(this,t+1,t+6),zh(this,t+2,t+5),zh(this,t+3,t+4);return this},Ph.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?Xh(this,0,e):Hh.apply(this,arguments)},Ph.prototype.toLocaleString=Ph.prototype.toString,Ph.prototype.equals=function(e){if(!Ph.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Ph.compare(this,e)},Ph.prototype.inspect=function(){var e="",t=Id.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},Od&&(Ph.prototype[Od]=Ph.prototype.inspect),Ph.prototype.compare=function(e,t,r,i,n){if(dd(e,Uint8Array)&&(e=Ph.from(e,e.offset,e.byteLength)),!Ph.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),t<0||r>e.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(n>>>=0)-(i>>>=0),o=(r>>>=0)-(t>>>=0),s=Math.min(a,o),l=this.slice(i,n),c=e.slice(t,r),h=0;h<s;++h)if(l[h]!==c[h]){a=l[h],o=c[h];break}return a<o?-1:o<a?1:0},Ph.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},Ph.prototype.indexOf=function(e,t,r){return Wh(this,e,t,r,!0)},Ph.prototype.lastIndexOf=function(e,t,r){return Wh(this,e,t,r,!1)},Ph.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var a=!1;;)switch(i){case"hex":return $h(this,e,t,r);case"utf8":case"utf-8":return qh(this,e,t,r);case"ascii":return Yh(this,e,t,r);case"latin1":case"binary":return Kh(this,e,t,r);case"base64":return Gh(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Qh(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),a=!0}},Ph.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Ph.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,Ph.prototype),i},Ph.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=this[e],n=1,a=0;++a<t&&(n*=256);)i+=this[e+a]*n;return i},Ph.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=this[e+--t],n=1;t>0&&(n*=256);)i+=this[e+--t]*n;return i},Ph.prototype.readUInt8=function(e,t){return e>>>=0,t||id(e,1,this.length),this[e]},Ph.prototype.readUInt16LE=function(e,t){return e>>>=0,t||id(e,2,this.length),this[e]|this[e+1]<<8},Ph.prototype.readUInt16BE=function(e,t){return e>>>=0,t||id(e,2,this.length),this[e]<<8|this[e+1]},Ph.prototype.readUInt32LE=function(e,t){return e>>>=0,t||id(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Ph.prototype.readUInt32BE=function(e,t){return e>>>=0,t||id(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Ph.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=this[e],n=1,a=0;++a<t&&(n*=256);)i+=this[e+a]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},Ph.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||id(e,t,this.length);for(var i=t,n=1,a=this[e+--i];i>0&&(n*=256);)a+=this[e+--i]*n;return a>=(n*=128)&&(a-=Math.pow(2,8*t)),a},Ph.prototype.readInt8=function(e,t){return e>>>=0,t||id(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Ph.prototype.readInt16LE=function(e,t){e>>>=0,t||id(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Ph.prototype.readInt16BE=function(e,t){e>>>=0,t||id(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Ph.prototype.readInt32LE=function(e,t){return e>>>=0,t||id(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Ph.prototype.readInt32BE=function(e,t){return e>>>=0,t||id(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Ph.prototype.readFloatLE=function(e,t){return e>>>=0,t||id(e,4,this.length),Md.read(this,e,!0,23,4)},Ph.prototype.readFloatBE=function(e,t){return e>>>=0,t||id(e,4,this.length),Md.read(this,e,!1,23,4)},Ph.prototype.readDoubleLE=function(e,t){return e>>>=0,t||id(e,8,this.length),Md.read(this,e,!0,52,8)},Ph.prototype.readDoubleBE=function(e,t){return e>>>=0,t||id(e,8,this.length),Md.read(this,e,!1,52,8)},Ph.prototype.writeUIntLE=function(e,t,r,i){e=+e,t>>>=0,r>>>=0,i||nd(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,a=0;for(this[t]=255&e;++a<r&&(n*=256);)this[t+a]=e/n&255;return t+r},Ph.prototype.writeUIntBE=function(e,t,r,i){e=+e,t>>>=0,r>>>=0,i||nd(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,a=1;for(this[t+n]=255&e;--n>=0&&(a*=256);)this[t+n]=e/a&255;return t+r},Ph.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,1,255,0),this[t]=255&e,t+1},Ph.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Ph.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Ph.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Ph.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Ph.prototype.writeIntLE=function(e,t,r,i){if(e=+e,t>>>=0,!i){var n=Math.pow(2,8*r-1);nd(this,e,t,r,n-1,-n)}var a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},Ph.prototype.writeIntBE=function(e,t,r,i){if(e=+e,t>>>=0,!i){var n=Math.pow(2,8*r-1);nd(this,e,t,r,n-1,-n)}var a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+r},Ph.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Ph.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Ph.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Ph.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Ph.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||nd(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Ph.prototype.writeFloatLE=function(e,t,r){return od(this,e,t,!0,r)},Ph.prototype.writeFloatBE=function(e,t,r){return od(this,e,t,!1,r)},Ph.prototype.writeDoubleLE=function(e,t,r){return sd(this,e,t,!0,r)},Ph.prototype.writeDoubleBE=function(e,t,r){return sd(this,e,t,!1,r)},Ph.prototype.copy=function(e,t,r,i){if(!Ph.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);var n=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,i);else if(this===e&&r<t&&t<i)for(var a=n-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),t);return n},Ph.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!Ph.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(1===e.length){var n=e.charCodeAt(0);("utf8"===i&&n<128||"latin1"===i)&&(e=n)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var a;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(a=t;a<r;++a)this[a]=e;else{var o=Ph.isBuffer(e)?e:Ph.from(e,i),s=o.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(a=0;a<r-t;++a)this[a+t]=o[a%s]}return this},Pd=/[^+/0-9A-Za-z-_]/g,jd=function(){for(var e=new Array(256),t=0;t<16;++t)for(var r=16*t,i=0;i<16;++i)e[r+i]="0123456789abcdef"[t]+"0123456789abcdef"[i];return e}(),Id.Buffer,Id.INSPECT_MAX_BYTES,Id.kMaxLength,Nd={},(Ld=(Dd=Id).Buffer).from&&Ld.alloc&&Ld.allocUnsafe&&Ld.allocUnsafeSlow?Nd=Dd:(pd(Dd,Nd),Nd.Buffer=fd),fd.prototype=Object.create(Ld.prototype),pd(Ld,fd),fd.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return Ld(e,t,r)},fd.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var i=Ld(e);return void 0!==t?"string"==typeof r?i.fill(t,r):i.fill(t):i.fill(0),i},fd.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Ld(e)},fd.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return Dd.SlowBuffer(e)},Ud={},Fd=Nd.Buffer,Hd=Fd.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},Ud.StringDecoder=gd,gd.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},gd.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},gd.prototype.text=function(e,t){var r=function(e,t,r){var i=t.length-1;if(i<r)return 0;var n=md(t[i]);return n>=0?(n>0&&(e.lastNeed=n-1),n):--i<r||-2===n?0:(n=md(t[i]))>=0?(n>0&&(e.lastNeed=n-2),n):--i<r||-2===n?0:(n=md(t[i]))>=0?(n>0&&(2===n?n=0:e.lastNeed=n-3),n):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var i=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,i),e.toString("utf8",t,i)},gd.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Ud.StringDecoder,Ud.StringDecoder})),Wd={};Xs(Wd,{StringDecoder:()=>Vd,default:()=>Ud});var Vd,$d=Qs((()=>{el(),$c(),Rc(),zd(),zd(),Vd=Ud.StringDecoder})),qd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{PromisePrototypeThen:i,SymbolAsyncIterator:n,SymbolIterator:a}=Yc(),{Buffer:o}=(Vc(),Zs(Mc)),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_NULL_VALUES:l}=Qc().codes;t.exports=function(e,t,c){let h,d;if("string"==typeof t||t instanceof o)return new e({objectMode:!0,...c,read(){this.push(t),this.push(null)}});if(t&&t[n])d=!0,h=t[n]();else{if(!t||!t[a])throw new s("iterable",["Iterable"],t);d=!1,h=t[a]()}let u=new e({objectMode:!0,highWaterMark:1,...c}),p=!1;return u._read=function(){p||(p=!0,async function(){for(;;){try{let{value:e,done:t}=d?await h.next():h.next();if(t)u.push(null);else{let t=e&&"function"==typeof e.then?await e:e;if(null===t)throw p=!1,new l;if(u.push(t))continue;p=!1}}catch(e){u.destroy(e)}break}}())},u._destroy=function(e,t){i(async function(e){let t=null!=e,r="function"==typeof h.throw;if(t&&r){let{value:t,done:r}=await h.throw(e);if(await t,r)return}if("function"==typeof h.return){let{value:e}=await h.return();await e}}(e),(()=>r.nextTick(t,e)),(i=>r.nextTick(t,i||e)))},u}})),Yd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{ArrayPrototypeIndexOf:i,NumberIsInteger:n,NumberIsNaN:a,NumberParseInt:o,ObjectDefineProperties:s,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:h,SafeSet:d,SymbolAsyncIterator:u,Symbol:p}=Yc();t.exports=L,L.ReadableState=D;var{EventEmitter:f}=(kh(),Zs(bh)),{Stream:g,prependListener:m}=Ah(),{Buffer:v}=(Vc(),Zs(Mc)),{addAbortSignal:y}=Ch(),b=eh(),w=Kc().debuglog("stream",(e=>{w=e})),_=Bh(),x=th(),{getHighWaterMark:E,getDefaultHighWaterMark:S}=Ih(),{aggregateTwoErrors:T,codes:{ERR_INVALID_ARG_TYPE:k,ERR_METHOD_NOT_IMPLEMENTED:A,ERR_OUT_OF_RANGE:C,ERR_STREAM_PUSH_AFTER_EOF:B,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:I}}=Qc(),{validateObject:R}=Jc(),M=p("kPaused"),{StringDecoder:O}=($d(),Zs(Wd)),P=qd();c(L.prototype,g.prototype),c(L,g);var j=()=>{},{errorOrDestroy:N}=x;function D(e,t,r){"boolean"!=typeof r&&(r=t instanceof Qd()),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.readableObjectMode)),this.highWaterMark=e?E(this,e,"readableHighWaterMark",r):S(!1),this.buffer=new _,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[M]=null,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new O(e.encoding),this.encoding=e.encoding)}function L(e){if(!(this instanceof L))return new L(e);let t=this instanceof Qd();this._readableState=new D(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&y(e.signal,this)),g.call(this,e),x.construct(this,(()=>{this._readableState.needReadable&&$(this,this._readableState)}))}function U(e,t,r,i){w("readableAddChunk",t);let n,a=e._readableState;if(a.objectMode||("string"==typeof t?(r=r||a.defaultEncoding,a.encoding!==r&&(i&&a.encoding?t=v.from(t,r).toString(a.encoding):(t=v.from(t,r),r=""))):t instanceof v?r="":g._isUint8Array(t)?(t=g._uint8ArrayToBuffer(t),r=""):null!=t&&(n=new k("chunk",["string","Buffer","Uint8Array"],t))),n)N(e,n);else if(null===t)a.reading=!1,function(e,t){if(w("onEofChunk"),!t.ended){if(t.decoder){let e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?W(e):(t.needReadable=!1,t.emittedReadable=!0,V(e))}}(e,a);else if(a.objectMode||t&&t.length>0)if(i)if(a.endEmitted)N(e,new I);else{if(a.destroyed||a.errored)return!1;F(e,a,t,!0)}else if(a.ended)N(e,new B);else{if(a.destroyed||a.errored)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?F(e,a,t,!1):$(e,a)):F(e,a,t,!1)}else i||(a.reading=!1,$(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function F(e,t,r,i){t.flowing&&0===t.length&&!t.sync&&e.listenerCount("data")>0?(t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,i?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&W(e)),$(e,t)}L.prototype.destroy=x.destroy,L.prototype._undestroy=x.undestroy,L.prototype._destroy=function(e,t){t(e)},L.prototype[f.captureRejectionSymbol]=function(e){this.destroy(e)},L.prototype.push=function(e,t){return U(this,e,t,!1)},L.prototype.unshift=function(e,t){return U(this,e,t,!0)},L.prototype.isPaused=function(){let e=this._readableState;return!0===e[M]||!1===e.flowing},L.prototype.setEncoding=function(e){let t=new O(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;let r=this._readableState.buffer,i="";for(let n of r)i+=t.write(n);return r.clear(),""!==i&&r.push(i),this._readableState.length=i.length,this};var H;function z(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:a(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function W(e){let t=e._readableState;w("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(V,e))}function V(e){let t=e._readableState;w("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&!t.errored&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Q(e)}function $(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,r.nextTick(q,e,t))}function q(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){let r=t.length;if(w("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function Y(e){let t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!1===t[M]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function K(e){w("readable nexttick read 0"),e.read(0)}function G(e,t){w("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Q(e),t.flowing&&!t.reading&&e.read(0)}function Q(e){let t=e._readableState;for(w("flow",t.flowing);t.flowing&&null!==e.read(););}function J(e,t){"function"!=typeof e.read&&(e=L.wrap(e,{objectMode:!0}));let r=async function*(e,t){let r=j;function i(t){this===e?(r(),r=j):r=t}e.on("readable",i);let n,a=b(e,{writable:!1},(e=>{n=e?T(n,e):null,r(),r=j}));try{for(;;){let t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(n)throw n;if(null===n)return;await new h(i)}}}catch(o){throw n=T(n,o),n}finally{!n&&!1===(null==t?void 0:t.destroyOnReturn)||void 0!==n&&!e._readableState.autoDestroy?(e.off("readable",i),a()):x.destroyer(e,null)}}(e,t);return r.stream=e,r}function X(e,t){if(0===t.length)return null;let r;return t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r}function Z(e){let t=e._readableState;w("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(ee,t,e))}function ee(e,t){if(w("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)r.nextTick(te,t);else if(e.autoDestroy){let e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function te(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}function re(){return void 0===H&&(H={}),H}L.prototype.read=function(e){w("read",e),void 0===e?e=NaN:n(e)||(e=o(e,10));let t=this._readableState,r=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new C("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?Z(this):W(this),null;if(0===(e=z(e,t))&&t.ended)return 0===t.length&&Z(this),null;let i,a=t.needReadable;if(w("need readable",a),(0===t.length||t.length-e<t.highWaterMark)&&(a=!0,w("length less than watermark",a)),t.ended||t.reading||t.destroyed||t.errored||!t.constructed)a=!1,w("reading, ended or constructing",a);else if(a){w("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0);try{this._read(t.highWaterMark)}catch(s){N(this,s)}t.sync=!1,t.reading||(e=z(r,t))}return i=e>0?X(e,t):null,null===i?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&Z(this)),null!==i&&!t.errorEmitted&&!t.closeEmitted&&(t.dataEmitted=!0,this.emit("data",i)),i},L.prototype._read=function(e){throw new A("_read()")},L.prototype.pipe=function(e,t){let i=this,n=this._readableState;1===n.pipes.length&&(n.multiAwaitDrain||(n.multiAwaitDrain=!0,n.awaitDrainWriters=new d(n.awaitDrainWriters?[n.awaitDrainWriters]:[]))),n.pipes.push(e),w("pipe count=%d opts=%j",n.pipes.length,t);let a=t&&!1===t.end||e===r.stdout||e===r.stderr?v:s;function o(t,r){w("onunpipe"),t===i&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,w("cleanup"),e.removeListener("close",f),e.removeListener("finish",g),l&&e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",o),i.removeListener("end",s),i.removeListener("end",v),i.removeListener("data",u),c=!0,l&&n.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&l())}function s(){w("onend"),e.end()}n.endEmitted?r.nextTick(a):i.once("end",a),e.on("unpipe",o);let l,c=!1;function h(){c||(1===n.pipes.length&&n.pipes[0]===e?(w("false write response, pause",0),n.awaitDrainWriters=e,n.multiAwaitDrain=!1):n.pipes.length>1&&n.pipes.includes(e)&&(w("false write response, pause",n.awaitDrainWriters.size),n.awaitDrainWriters.add(e)),i.pause()),l||(l=function(e,t){return function(){let r=e._readableState;r.awaitDrainWriters===t?(w("pipeOnDrain",1),r.awaitDrainWriters=null):r.multiAwaitDrain&&(w("pipeOnDrain",r.awaitDrainWriters.size),r.awaitDrainWriters.delete(t)),(!r.awaitDrainWriters||0===r.awaitDrainWriters.size)&&e.listenerCount("data")&&e.resume()}}(i,e),e.on("drain",l))}function u(t){w("ondata");let r=e.write(t);w("dest.write",r),!1===r&&h()}function p(t){if(w("onerror",t),v(),e.removeListener("error",p),0===e.listenerCount("error")){let r=e._writableState||e._readableState;r&&!r.errorEmitted?N(e,t):e.emit("error",t)}}function f(){e.removeListener("finish",g),v()}function g(){w("onfinish"),e.removeListener("close",f),v()}function v(){w("unpipe"),i.unpipe(e)}return i.on("data",u),m(e,"error",p),e.once("close",f),e.once("finish",g),e.emit("pipe",i),!0===e.writableNeedDrain?n.flowing&&h():n.flowing||(w("pipe resume"),i.resume()),e},L.prototype.unpipe=function(e){let t=this._readableState;if(0===t.pipes.length)return this;if(!e){let e=t.pipes;t.pipes=[],this.pause();for(let t=0;t<e.length;t++)e[t].emit("unpipe",this,{hasUnpiped:!1});return this}let r=i(t.pipes,e);return-1===r||(t.pipes.splice(r,1),0===t.pipes.length&&this.pause(),e.emit("unpipe",this,{hasUnpiped:!1})),this},L.prototype.on=function(e,t){let i=g.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&!n.endEmitted&&!n.readableListening&&(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,w("on readable",n.length,n.reading),n.length?W(this):n.reading||r.nextTick(K,this)),i},L.prototype.addListener=L.prototype.on,L.prototype.removeListener=function(e,t){let i=g.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(Y,this),i},L.prototype.off=L.prototype.removeListener,L.prototype.removeAllListeners=function(e){let t=g.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&r.nextTick(Y,this),t},L.prototype.resume=function(){let e=this._readableState;return e.flowing||(w("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(G,e,t))}(this,e)),e[M]=!1,this},L.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[M]=!0,this},L.prototype.wrap=function(e){let t=!1;e.on("data",(r=>{!this.push(r)&&e.pause&&(t=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{N(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};let r=l(e);for(let i=1;i<r.length;i++){let t=r[i];void 0===this[t]&&"function"==typeof e[t]&&(this[t]=e[t].bind(e))}return this},L.prototype[u]=function(){return J(this)},L.prototype.iterator=function(e){return void 0!==e&&R(e,"options"),J(this,e)},s(L.prototype,{readable:{__proto__:null,get(){let e=this._readableState;return!(!e||!1===e.readable||e.destroyed||e.errorEmitted||e.endEmitted)},set(e){this._readableState&&(this._readableState.readable=!!e)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._readableState.readable||!this._readableState.destroyed&&!this._readableState.errored||this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.objectMode}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return!!this._readableState&&this._readableState.closed}},destroyed:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.destroyed},set(e){this._readableState&&(this._readableState.destroyed=e)}},readableEnded:{__proto__:null,enumerable:!1,get(){return!!this._readableState&&this._readableState.endEmitted}}}),s(D.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return!1!==this[M]},set(e){this[M]=!!e}}}),L._fromList=X,L.from=function(e,t){return P(L,e,t)},L.fromWeb=function(e,t){return re().newStreamReadableFromReadableStream(e,t)},L.toWeb=function(e,t){return re().newReadableStreamFromStreamReadable(e,t)},L.wrap=function(e,t){var r,i;return new L({objectMode:null===(r=null!==(i=e.readableObjectMode)&&void 0!==i?i:e.objectMode)||void 0===r||r,...t,destroy(t,r){x.destroyer(e,t),r(t)}}).wrap(e)}})),Kd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),{ArrayPrototypeSlice:i,Error:n,FunctionPrototypeSymbolHasInstance:a,ObjectDefineProperty:o,ObjectDefineProperties:s,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:h,SymbolHasInstance:d}=Yc();t.exports=O,O.WritableState=R;var{EventEmitter:u}=(kh(),Zs(bh)),p=Ah().Stream,{Buffer:f}=(Vc(),Zs(Mc)),g=th(),{addAbortSignal:m}=Ch(),{getHighWaterMark:v,getDefaultHighWaterMark:y}=Ih(),{ERR_INVALID_ARG_TYPE:b,ERR_METHOD_NOT_IMPLEMENTED:w,ERR_MULTIPLE_CALLBACK:_,ERR_STREAM_CANNOT_PIPE:x,ERR_STREAM_DESTROYED:E,ERR_STREAM_ALREADY_FINISHED:S,ERR_STREAM_NULL_VALUES:T,ERR_STREAM_WRITE_AFTER_END:k,ERR_UNKNOWN_ENCODING:A}=Qc().codes,{errorOrDestroy:C}=g;function B(){}l(O.prototype,p.prototype),l(O,p);var I=h("kOnFinished");function R(e,t,r){"boolean"!=typeof r&&(r=t instanceof Qd()),this.objectMode=!(!e||!e.objectMode),r&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?v(this,e,"writableHighWaterMark",r):y(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let i=!(!e||!1!==e.decodeStrings);this.decodeStrings=!i,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=D.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,M(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[I]=[]}function M(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function O(e){let t=this instanceof Qd();if(!t&&!a(O,this))return new O(e);this._writableState=new R(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&m(e.signal,this)),p.call(this,e),g.construct(this,(()=>{let e=this._writableState;e.writing||H(this,e),V(this,e)}))}function P(e,t,i,n){let a,o=e._writableState;if("function"==typeof i)n=i,i=o.defaultEncoding;else{if(i){if("buffer"!==i&&!f.isEncoding(i))throw new A(i)}else i=o.defaultEncoding;"function"!=typeof n&&(n=B)}if(null===t)throw new T;if(!o.objectMode)if("string"==typeof t)!1!==o.decodeStrings&&(t=f.from(t,i),i="buffer");else if(t instanceof f)i="buffer";else{if(!p._isUint8Array(t))throw new b("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),i="buffer"}return o.ending?a=new k:o.destroyed&&(a=new E("write")),a?(r.nextTick(n,a),C(e,a,!0),a):(o.pendingcb++,function(e,t,r,i,n){let a=t.objectMode?1:r.length;t.length+=a;let o=t.length<t.highWaterMark;return o||(t.needDrain=!0),t.writing||t.corked||t.errored||!t.constructed?(t.buffered.push({chunk:r,encoding:i,callback:n}),t.allBuffers&&"buffer"!==i&&(t.allBuffers=!1),t.allNoop&&n!==B&&(t.allNoop=!1)):(t.writelen=a,t.writecb=n,t.writing=!0,t.sync=!0,e._write(r,i,t.onwrite),t.sync=!1),o&&!t.errored&&!t.destroyed}(e,o,t,i,n))}function j(e,t,r,i,n,a,o){t.writelen=i,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new E("write")):r?e._writev(n,t.onwrite):e._write(n,a,t.onwrite),t.sync=!1}function N(e,t,r,i){--t.pendingcb,i(r),F(t),C(e,r)}function D(e,t){let i=e._writableState,n=i.sync,a=i.writecb;"function"==typeof a?(i.writing=!1,i.writecb=null,i.length-=i.writelen,i.writelen=0,t?(t.stack,i.errored||(i.errored=t),e._readableState&&!e._readableState.errored&&(e._readableState.errored=t),n?r.nextTick(N,e,i,t,a):N(e,i,t,a)):(i.buffered.length>i.bufferedIndex&&H(e,i),n?null!==i.afterWriteTickInfo&&i.afterWriteTickInfo.cb===a?i.afterWriteTickInfo.count++:(i.afterWriteTickInfo={count:1,cb:a,stream:e,state:i},r.nextTick(L,i.afterWriteTickInfo)):U(e,i,1,a))):C(e,new _)}function L({stream:e,state:t,count:r,cb:i}){return t.afterWriteTickInfo=null,U(e,t,r,i)}function U(e,t,r,i){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));r-- >0;)t.pendingcb--,i();t.destroyed&&F(t),V(e,t)}function F(e){if(e.writing)return;for(let n=e.bufferedIndex;n<e.buffered.length;++n){var t;let{chunk:r,callback:i}=e.buffered[n],a=e.objectMode?1:r.length;e.length-=a,i(null!==(t=e.errored)&&void 0!==t?t:new E("write"))}let r=e[I].splice(0);for(let n=0;n<r.length;n++){var i;r[n](null!==(i=e.errored)&&void 0!==i?i:new E("end"))}M(e)}function H(e,t){if(t.corked||t.bufferProcessing||t.destroyed||!t.constructed)return;let{buffered:r,bufferedIndex:n,objectMode:a}=t,o=r.length-n;if(!o)return;let s=n;if(t.bufferProcessing=!0,o>1&&e._writev){t.pendingcb-=o-1;let n=t.allNoop?B:e=>{for(let t=s;t<r.length;++t)r[t].callback(e)},a=t.allNoop&&0===s?r:i(r,s);a.allBuffers=t.allBuffers,j(e,t,!0,t.length,a,"",n),M(t)}else{do{let{chunk:i,encoding:n,callback:o}=r[s];r[s++]=null,j(e,t,!1,a?1:i.length,i,n,o)}while(s<r.length&&!t.writing);s===r.length?M(t):s>256?(r.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function z(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function W(e,t){!t.prefinished&&!t.finalCalled&&("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let i=!1;function n(n){if(i)C(e,n??_());else if(i=!0,t.pendingcb--,n){let r=t[I].splice(0);for(let e=0;e<r.length;e++)r[e](n);C(e,n,t.sync)}else z(t)&&(t.prefinished=!0,e.emit("prefinish"),t.pendingcb++,r.nextTick($,e,t))}t.sync=!0,t.pendingcb++;try{e._final(n)}catch(a){n(a)}t.sync=!1}(e,t)))}function V(e,t,i){z(t)&&(W(e,t),0===t.pendingcb&&(i?(t.pendingcb++,r.nextTick(((e,t)=>{z(t)?$(e,t):t.pendingcb--}),e,t)):z(t)&&(t.pendingcb++,$(e,t))))}function $(e,t){t.pendingcb--,t.finished=!0;let r=t[I].splice(0);for(let i=0;i<r.length;i++)r[i]();if(e.emit("finish"),t.autoDestroy){let t=e._readableState;(!t||t.autoDestroy&&(t.endEmitted||!1===t.readable))&&e.destroy()}}R.prototype.getBuffer=function(){return i(this.buffered,this.bufferedIndex)},o(R.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}}),o(O,d,{__proto__:null,value:function(e){return!!a(this,e)||this===O&&(e&&e._writableState instanceof R)}}),O.prototype.pipe=function(){C(this,new x)},O.prototype.write=function(e,t,r){return!0===P(this,e,t,r)},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){let e=this._writableState;e.corked&&(e.corked--,e.writing||H(this,e))},O.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=c(e)),!f.isEncoding(e))throw new A(e);return this._writableState.defaultEncoding=e,this},O.prototype._write=function(e,t,r){if(!this._writev)throw new w("_write()");this._writev([{chunk:e,encoding:t}],r)},O.prototype._writev=null,O.prototype.end=function(e,t,i){let a,o=this._writableState;if("function"==typeof e?(i=e,e=null,t=null):"function"==typeof t&&(i=t,t=null),null!=e){let r=P(this,e,t);r instanceof n&&(a=r)}return o.corked&&(o.corked=1,this.uncork()),a||(o.errored||o.ending?o.finished?a=new S("end"):o.destroyed&&(a=new E("end")):(o.ending=!0,V(this,o,!0),o.ended=!0)),"function"==typeof i&&(a||o.finished?r.nextTick(i,a):o[I].push(i)),this},s(O.prototype,{closed:{__proto__:null,get(){return!!this._writableState&&this._writableState.closed}},destroyed:{__proto__:null,get(){return!!this._writableState&&this._writableState.destroyed},set(e){this._writableState&&(this._writableState.destroyed=e)}},writable:{__proto__:null,get(){let e=this._writableState;return!(!e||!1===e.writable||e.destroyed||e.errored||e.ending||e.ended)},set(e){this._writableState&&(this._writableState.writable=!!e)}},writableFinished:{__proto__:null,get(){return!!this._writableState&&this._writableState.finished}},writableObjectMode:{__proto__:null,get(){return!!this._writableState&&this._writableState.objectMode}},writableBuffer:{__proto__:null,get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{__proto__:null,get(){return!!this._writableState&&this._writableState.ending}},writableNeedDrain:{__proto__:null,get(){let e=this._writableState;return!!e&&(!e.destroyed&&!e.ending&&e.needDrain)}},writableHighWaterMark:{__proto__:null,get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{__proto__:null,get(){return this._writableState?this._writableState.corked:0}},writableLength:{__proto__:null,get(){return this._writableState&&this._writableState.length}},errored:{__proto__:null,enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{__proto__:null,enumerable:!1,get:function(){return!(!1===this._writableState.writable||!this._writableState.destroyed&&!this._writableState.errored||this._writableState.finished)}}});var q,Y=g.destroy;function K(){return void 0===q&&(q={}),q}O.prototype.destroy=function(e,t){let i=this._writableState;return!i.destroyed&&(i.bufferedIndex<i.buffered.length||i[I].length)&&r.nextTick(F,i),Y.call(this,e,t),this},O.prototype._undestroy=g.undestroy,O.prototype._destroy=function(e,t){t(e)},O.prototype[u.captureRejectionSymbol]=function(e){this.destroy(e)},O.fromWeb=function(e,t){return K().newStreamWritableFromWritableStream(e,t)},O.toWeb=function(e){return K().newWritableStreamFromStreamWritable(e)}})),Gd=Js(((e,t)=>{el(),$c(),Rc();var r=Xc(),i=(Vc(),Zs(Mc)),{isReadable:n,isWritable:a,isIterable:o,isNodeStream:s,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:h}=Zc(),d=eh(),{AbortError:u,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:f}}=Qc(),{destroyer:g}=th(),m=Qd(),v=Yd(),{createDeferredPromise:y}=Kc(),b=qd(),w=globalThis.Blob||i.Blob,_=typeof w<"u"?function(e){return e instanceof w}:function(e){return!1},x=globalThis.AbortController||Gc().AbortController,{FunctionPrototypeCall:E}=Yc(),S=class extends m{constructor(e){super(e),!1===(null==e?void 0:e.readable)&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===(null==e?void 0:e.writable)&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};function T(e){let t,r,i,o,s,l=e.readable&&"function"!=typeof e.readable.read?v.wrap(e.readable):e.readable,c=e.writable,h=!!n(l),p=!!a(c);function f(e){let t=o;o=null,t?t(e):e&&s.destroy(e)}return s=new S({readableObjectMode:!(null==l||!l.readableObjectMode),writableObjectMode:!(null==c||!c.writableObjectMode),readable:h,writable:p}),p&&(d(c,(e=>{p=!1,e&&g(l,e),f(e)})),s._write=function(e,r,i){c.write(e,r)?i():t=i},s._final=function(e){c.end(),r=e},c.on("drain",(function(){if(t){let e=t;t=null,e()}})),c.on("finish",(function(){if(r){let e=r;r=null,e()}}))),h&&(d(l,(e=>{h=!1,e&&g(l,e),f(e)})),l.on("readable",(function(){if(i){let e=i;i=null,e()}})),l.on("end",(function(){s.push(null)})),s._read=function(){for(;;){let e=l.read();if(null===e)return void(i=s._read);if(!s.push(e))return}}),s._destroy=function(e,n){!e&&null!==o&&(e=new u),i=null,t=null,r=null,null===o?n(e):(o=n,g(c,e),g(l,e))},s}t.exports=function e(t,i){if(h(t))return t;if(l(t))return T({readable:t});if(c(t))return T({writable:t});if(s(t))return T({writable:!1,readable:!1});if("function"==typeof t){let{value:e,write:n,final:a,destroy:s}=function(e){let{promise:t,resolve:i}=y(),n=new x,a=n.signal;return{value:e(async function*(){for(;;){let e=t;t=null;let{chunk:n,done:o,cb:s}=await e;if(r.nextTick(s),o)return;if(a.aborted)throw new u(void 0,{cause:a.reason});({promise:t,resolve:i}=y()),yield n}}(),{signal:a}),write(e,t,r){let n=i;i=null,n({chunk:e,done:!1,cb:r})},final(e){let t=i;i=null,t({done:!0,cb:e})},destroy(e,t){n.abort(),t(e)}}}(t);if(o(e))return b(S,e,{objectMode:!0,write:n,final:a,destroy:s});let l=null==e?void 0:e.then;if("function"==typeof l){let t,i=E(l,e,(e=>{if(null!=e)throw new f("nully","body",e)}),(e=>{g(t,e)}));return t=new S({objectMode:!0,readable:!1,write:n,final(e){a((async()=>{try{await i,r.nextTick(e,null)}catch(t){r.nextTick(e,t)}}))},destroy:s})}throw new f("Iterable, AsyncIterable or AsyncFunction",i,e)}if(_(t))return e(t.arrayBuffer());if(o(t))return b(S,t,{objectMode:!0,writable:!1});if("object"==typeof(null==t?void 0:t.writable)||"object"==typeof(null==t?void 0:t.readable)){return T({readable:null!=t&&t.readable?l(null==t?void 0:t.readable)?null==t?void 0:t.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(null==t?void 0:t.writable)?null==t?void 0:t.writable:e(t.writable):void 0})}let n=null==t?void 0:t.then;if("function"==typeof n){let e;return E(n,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{g(e,t)})),e=new S({objectMode:!0,writable:!1,read(){}})}throw new p(i,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}})),Qd=Js(((e,t)=>{el(),$c(),Rc();var{ObjectDefineProperties:r,ObjectGetOwnPropertyDescriptor:i,ObjectKeys:n,ObjectSetPrototypeOf:a}=Yc();t.exports=h;var o,s,l=Yd(),c=Kd();a(h.prototype,l.prototype),a(h,l);{let e=n(c.prototype);for(let t=0;t<e.length;t++){let r=e[t];h.prototype[r]||(h.prototype[r]=c.prototype[r])}}function h(e){if(!(this instanceof h))return new h(e);l.call(this,e),c.call(this,e),e?(this.allowHalfOpen=!1!==e.allowHalfOpen,!1===e.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)):this.allowHalfOpen=!0}function d(){return void 0===o&&(o={}),o}r(h.prototype,{writable:{__proto__:null,...i(c.prototype,"writable")},writableHighWaterMark:{__proto__:null,...i(c.prototype,"writableHighWaterMark")},writableObjectMode:{__proto__:null,...i(c.prototype,"writableObjectMode")},writableBuffer:{__proto__:null,...i(c.prototype,"writableBuffer")},writableLength:{__proto__:null,...i(c.prototype,"writableLength")},writableFinished:{__proto__:null,...i(c.prototype,"writableFinished")},writableCorked:{__proto__:null,...i(c.prototype,"writableCorked")},writableEnded:{__proto__:null,...i(c.prototype,"writableEnded")},writableNeedDrain:{__proto__:null,...i(c.prototype,"writableNeedDrain")},destroyed:{__proto__:null,get(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set(e){this._readableState&&this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}}),h.fromWeb=function(e,t){return d().newStreamDuplexFromReadableWritablePair(e,t)},h.toWeb=function(e){return d().newReadableWritablePairFromDuplex(e)},h.from=function(e){return s||(s=Gd()),s(e,"body")}})),Jd=Js(((e,t)=>{el(),$c(),Rc();var{ObjectSetPrototypeOf:r,Symbol:i}=Yc();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:n}=Qc().codes,a=Qd(),{getHighWaterMark:o}=Ih();r(l.prototype,a.prototype),r(l,a);var s=i("kCallback");function l(e){if(!(this instanceof l))return new l(e);let t=e?o(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),a.call(this,e),this._readableState.sync=!1,this[s]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",h)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,r)=>{t?e?e(t):this.destroy(t):(null!=r&&this.push(r),this.push(null),e&&e())}))}function h(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,r){throw new n("_transform()")},l.prototype._write=function(e,t,r){let i=this._readableState,n=this._writableState,a=i.length;this._transform(e,t,((e,t)=>{e?r(e):(null!=t&&this.push(t),n.ended||a===i.length||i.length<i.highWaterMark?r():this[s]=r)}))},l.prototype._read=function(){if(this[s]){let e=this[s];this[s]=null,e()}}})),Xd=Js(((e,t)=>{el(),$c(),Rc();var{ObjectSetPrototypeOf:r}=Yc();t.exports=n;var i=Jd();function n(e){if(!(this instanceof n))return new n(e);i.call(this,e)}r(n.prototype,i.prototype),r(n,i),n.prototype._transform=function(e,t,r){r(null,e)}})),Zd=Js(((e,t)=>{el(),$c(),Rc();var r,i,n=Xc(),{ArrayIsArray:a,Promise:o,SymbolAsyncIterator:s}=Yc(),l=eh(),{once:c}=Kc(),h=th(),d=Qd(),{aggregateTwoErrors:u,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:g,ERR_STREAM_DESTROYED:m,ERR_STREAM_PREMATURE_CLOSE:v},AbortError:y}=Qc(),{validateFunction:b,validateAbortSignal:w}=Jc(),{isIterable:_,isReadable:x,isReadableNodeStream:E,isNodeStream:S,isTransformStream:T,isWebStream:k,isReadableStream:A,isReadableEnded:C}=Zc(),B=globalThis.AbortController||Gc().AbortController;function I(e,t,r){let i=!1;return e.on("close",(()=>{i=!0})),{destroy:t=>{i||(i=!0,h.destroyer(e,t||new m("pipe")))},cleanup:l(e,{readable:t,writable:r},(e=>{i=!e}))}}function R(e){if(_(e))return e;if(E(e))return async function*(e){i||(i=Yd()),yield*i.prototype[s].call(e)}(e);throw new p("val",["Readable","Iterable","AsyncIterable"],e)}async function M(e,t,r,{end:i}){let n,a=null,s=e=>{if(e&&(n=e),a){let e=a;a=null,e()}},c=()=>new o(((e,t)=>{n?t(n):a=()=>{n?t(n):e()}}));t.on("drain",s);let h=l(t,{readable:!1},s);try{t.writableNeedDrain&&await c();for await(let r of e)t.write(r)||await c();i&&t.end(),await c(),r()}catch(d){r(n!==d?u(n,d):d)}finally{h(),t.off("drain",s)}}async function O(e,t,r,{end:i}){T(t)&&(t=t.writable);let n=t.getWriter();try{for await(let t of e)await n.ready,n.write(t).catch((()=>{}));await n.ready,i&&await n.close(),r()}catch(a){try{await n.abort(a),r(a)}catch(o){r(o)}}}function P(e,t,i){if(1===e.length&&a(e[0])&&(e=e[0]),e.length<2)throw new g("streams");let o=new B,s=o.signal,l=null==i?void 0:i.signal,c=[];function h(){N(new y)}w(l,"options.signal"),null==l||l.addEventListener("abort",h);let u,m,v,b=[],C=0;function P(e){N(e,0==--C)}function N(e,r){if(e&&(!u||"ERR_STREAM_PREMATURE_CLOSE"===u.code)&&(u=e),u||r){for(;b.length;)b.shift()(u);null==l||l.removeEventListener("abort",h),o.abort(),r&&(u||c.forEach((e=>e())),n.nextTick(t,u,m))}}for(let a=0;a<e.length;a++){let t=e[a],o=a<e.length-1,l=a>0,h=o||!1!==(null==i?void 0:i.end),u=a===e.length-1;if(S(t)){let e=function(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&P(e)};if(h){let{destroy:e,cleanup:r}=I(t,o,l);b.push(e),x(t)&&u&&c.push(r)}t.on("error",e),x(t)&&u&&c.push((()=>{t.removeListener("error",e)}))}if(0===a)if("function"==typeof t){if(v=t({signal:s}),!_(v))throw new f("Iterable, AsyncIterable or Stream","source",v)}else v=_(t)||E(t)||T(t)?t:d.from(t);else if("function"==typeof t){var D;if(T(v))v=R(null===(D=v)||void 0===D?void 0:D.readable);else v=R(v);if(v=t(v,{signal:s}),o){if(!_(v,!0))throw new f("AsyncIterable",`transform[${a-1}]`,v)}else{var L;r||(r=Xd());let e=new r({objectMode:!0}),t=null===(L=v)||void 0===L?void 0:L.then;if("function"==typeof t)C++,t.call(v,(t=>{m=t,null!=t&&e.write(t),h&&e.end(),n.nextTick(P)}),(t=>{e.destroy(t),n.nextTick(P,t)}));else if(_(v,!0))C++,M(v,e,P,{end:h});else{if(!A(v)&&!T(v))throw new f("AsyncIterable or Promise","destination",v);{let t=v.readable||v;C++,M(t,e,P,{end:h})}}v=e;let{destroy:i,cleanup:a}=I(v,!1,!0);b.push(i),u&&c.push(a)}}else if(S(t)){if(E(v)){C+=2;let e=j(v,t,P,{end:h});x(t)&&u&&c.push(e)}else if(T(v)||A(v)){let e=v.readable||v;C++,M(e,t,P,{end:h})}else{if(!_(v))throw new p("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v);C++,M(v,t,P,{end:h})}v=t}else if(k(t)){if(E(v))C++,O(R(v),t,P,{end:h});else if(A(v)||_(v))C++,O(v,t,P,{end:h});else{if(!T(v))throw new p("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],v);C++,O(v.readable,t,P,{end:h})}v=t}else v=d.from(t)}return(null!=s&&s.aborted||null!=l&&l.aborted)&&n.nextTick(h),v}function j(e,t,r,{end:i}){let a=!1;if(t.on("close",(()=>{a||r(new v)})),e.pipe(t,{end:!1}),i){let r=function(){a=!0,t.end()};C(e)?n.nextTick(r):e.once("end",r)}else r();return l(e,{readable:!0,writable:!1},(t=>{let i=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&i&&i.ended&&!i.errored&&!i.errorEmitted?e.once("end",r).once("error",r):r(t)})),l(t,{readable:!1,writable:!0},r)}t.exports={pipelineImpl:P,pipeline:function(...e){return P(e,c(function(e){return b(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}})),eu=Js(((e,t)=>{el(),$c(),Rc();var{pipeline:r}=Zd(),i=Qd(),{destroyer:n}=th(),{isNodeStream:a,isReadable:o,isWritable:s,isWebStream:l,isTransformStream:c,isWritableStream:h,isReadableStream:d}=Zc(),{AbortError:u,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:f}}=Qc(),g=eh();t.exports=function(...e){if(0===e.length)throw new f("streams");if(1===e.length)return i.from(e[0]);let t,m,v,y,b,w=[...e];if("function"==typeof e[0]&&(e[0]=i.from(e[0])),"function"==typeof e[e.length-1]){let t=e.length-1;e[t]=i.from(e[t])}for(let r=0;r<e.length;++r)if(a(e[r])||l(e[r])){if(r<e.length-1&&!(o(e[r])||d(e[r])||c(e[r])))throw new p(`streams[${r}]`,w[r],"must be readable");if(r>0&&!(s(e[r])||h(e[r])||c(e[r])))throw new p(`streams[${r}]`,w[r],"must be writable")}let _=e[0],x=r(e,(function(e){let t=y;y=null,t?t(e):e?b.destroy(e):!S&&!E&&b.destroy()})),E=!!(s(_)||h(_)||c(_)),S=!!(o(x)||d(x)||c(x));if(b=new i({writableObjectMode:!(null==_||!_.writableObjectMode),readableObjectMode:!(null==x||!x.writableObjectMode),writable:E,readable:S}),E){if(a(_))b._write=function(e,r,i){_.write(e,r)?i():t=i},b._final=function(e){_.end(),m=e},_.on("drain",(function(){if(t){let e=t;t=null,e()}}));else if(l(_)){let e=(c(_)?_.writable:_).getWriter();b._write=async function(t,r,i){try{await e.ready,e.write(t).catch((()=>{})),i()}catch(n){i(n)}},b._final=async function(t){try{await e.ready,e.close().catch((()=>{})),m=t}catch(r){t(r)}}}let e=c(x)?x.readable:x;g(e,(()=>{if(m){let e=m;m=null,e()}}))}if(S)if(a(x))x.on("readable",(function(){if(v){let e=v;v=null,e()}})),x.on("end",(function(){b.push(null)})),b._read=function(){for(;;){let e=x.read();if(null===e)return void(v=b._read);if(!b.push(e))return}};else if(l(x)){let e=(c(x)?x.readable:x).getReader();b._read=async function(){for(;;)try{let{value:t,done:r}=await e.read();if(!b.push(t))return;if(r)return void b.push(null)}catch{return}}}return b._destroy=function(e,r){!e&&null!==y&&(e=new u),v=null,t=null,m=null,null===y?r(e):(y=r,a(x)&&n(x,e))},b}})),tu=Js(((e,t)=>{el(),$c(),Rc();var r=globalThis.AbortController||Gc().AbortController,{codes:{ERR_INVALID_ARG_VALUE:i,ERR_INVALID_ARG_TYPE:n,ERR_MISSING_ARGS:a,ERR_OUT_OF_RANGE:o},AbortError:s}=Qc(),{validateAbortSignal:l,validateInteger:c,validateObject:h}=Jc(),d=Yc().Symbol("kWeak"),{finished:u}=eh(),p=eu(),{addAbortSignalNoValidate:f}=Ch(),{isWritable:g,isNodeStream:m}=Zc(),{ArrayPrototypePush:v,MathFloor:y,Number:b,NumberIsNaN:w,Promise:_,PromiseReject:x,PromisePrototypeThen:E,Symbol:S}=Yc(),T=S("kEmpty"),k=S("kEof");function A(e,t){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal");let i=1;return null!=(null==t?void 0:t.concurrency)&&(i=y(t.concurrency)),c(i,"concurrency",1),async function*(){var n,a;let o=new r,l=this,c=[],h=o.signal,d={signal:h},u=()=>o.abort();null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted&&u(),null==t||null===(a=t.signal)||void 0===a||a.addEventListener("abort",u);let p,f,g=!1;function m(){g=!0}!async function(){try{for await(let t of l){var r;if(g)return;if(h.aborted)throw new s;try{t=e(t,d)}catch(a){t=x(a)}t!==T&&("function"==typeof(null===(r=t)||void 0===r?void 0:r.catch)&&t.catch(m),c.push(t),p&&(p(),p=null),!g&&c.length&&c.length>=i&&await new _((e=>{f=e})))}c.push(k)}catch(o){let e=x(o);E(e,void 0,m),c.push(e)}finally{var n;g=!0,p&&(p(),p=null),null==t||null===(n=t.signal)||void 0===n||n.removeEventListener("abort",u)}}();try{for(;;){for(;c.length>0;){let e=await c[0];if(e===k)return;if(h.aborted)throw new s;e!==T&&(yield e),c.shift(),f&&(f(),f=null)}await new _((e=>{p=e}))}}finally{o.abort(),g=!0,f&&(f(),f=null)}}.call(this)}async function C(e,t=void 0){for await(let r of B.call(this,e,t))return!0;return!1}function B(e,t){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);return A.call(this,(async function(t,r){return await e(t,r)?t:T}),t)}var I=class extends a{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};function R(e){if(e=b(e),w(e))return 0;if(e<0)throw new o("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:function(e=void 0){return null!=e&&h(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal"),async function*(){let t=0;for await(let i of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new s({cause:e.signal.reason});yield[t++,i]}}.call(this)},drop:function(e,t=void 0){return null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=R(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new s;for await(let n of this){var i;if(null!=t&&null!==(i=t.signal)&&void 0!==i&&i.aborted)throw new s;e--<=0&&(yield n)}}.call(this)},filter:B,flatMap:function(e,t){let r=A.call(this,e,t);return async function*(){for await(let e of r)yield*e}.call(this)},map:A,take:function(e,t=void 0){return null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),e=R(e),async function*(){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new s;for await(let n of this){var i;if(null!=t&&null!==(i=t.signal)&&void 0!==i&&i.aborted)throw new s;if(!(e-- >0))return;yield n}}.call(this)},compose:function(e,t){if(null!=t&&h(t,"options"),null!=(null==t?void 0:t.signal)&&l(t.signal,"options.signal"),m(e)&&!g(e))throw new i("stream",e,"must be writable");let r=p(this,e);return null!=t&&t.signal&&f(t.signal,r),r}},t.exports.promiseReturningOperators={every:async function(e,t=void 0){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);return!(await C.call(this,(async(...t)=>!(await e(...t))),t))},forEach:async function(e,t){if("function"!=typeof e)throw new n("fn",["Function","AsyncFunction"],e);for await(let r of A.call(this,(async function(t,r){return await e(t,r),T}),t));},reduce:async function(e,t,i){var a;if("function"!=typeof e)throw new n("reducer",["Function","AsyncFunction"],e);null!=i&&h(i,"options"),null!=(null==i?void 0:i.signal)&&l(i.signal,"options.signal");let o=arguments.length>1;if(null!=i&&null!==(a=i.signal)&&void 0!==a&&a.aborted){let e=new s(void 0,{cause:i.signal.reason});throw this.once("error",(()=>{})),await u(this.destroy(e)),e}let c=new r,p=c.signal;if(null!=i&&i.signal){let e={once:!0,[d]:this};i.signal.addEventListener("abort",(()=>c.abort()),e)}let f=!1;try{for await(let r of this){var g;if(f=!0,null!=i&&null!==(g=i.signal)&&void 0!==g&&g.aborted)throw new s;o?t=await e(t,r,{signal:p}):(t=r,o=!0)}if(!f&&!o)throw new I}finally{c.abort()}return t},toArray:async function(e){null!=e&&h(e,"options"),null!=(null==e?void 0:e.signal)&&l(e.signal,"options.signal");let t=[];for await(let i of this){var r;if(null!=e&&null!==(r=e.signal)&&void 0!==r&&r.aborted)throw new s(void 0,{cause:e.signal.reason});v(t,i)}return t},some:C,find:async function(e,t){for await(let r of B.call(this,e,t))return r}}})),ru=Js(((e,t)=>{el(),$c(),Rc();var{ArrayPrototypePop:r,Promise:i}=Yc(),{isIterable:n,isNodeStream:a,isWebStream:o}=Zc(),{pipelineImpl:s}=Zd(),{finished:l}=eh();iu(),t.exports={finished:l,pipeline:function(...e){return new i(((t,i)=>{let l,c,h=e[e.length-1];if(h&&"object"==typeof h&&!a(h)&&!n(h)&&!o(h)){let t=r(e);l=t.signal,c=t.end}s(e,((e,r)=>{e?i(e):t(r)}),{signal:l,end:c})}))}}})),iu=Js(((e,t)=>{el(),$c(),Rc();var{Buffer:r}=(Vc(),Zs(Mc)),{ObjectDefineProperty:i,ObjectKeys:n,ReflectApply:a}=Yc(),{promisify:{custom:o}}=Kc(),{streamReturningOperators:s,promiseReturningOperators:l}=tu(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=Qc(),h=eu(),{pipeline:d}=Zd(),{destroyer:u}=th(),p=eh(),f=ru(),g=Zc(),m=t.exports=Ah().Stream;m.isDisturbed=g.isDisturbed,m.isErrored=g.isErrored,m.isReadable=g.isReadable,m.Readable=Yd();for(let y of n(s)){let e=function(...e){if(new.target)throw c();return m.Readable.from(a(t,this,e))},t=s[y];i(e,"name",{__proto__:null,value:t.name}),i(e,"length",{__proto__:null,value:t.length}),i(m.Readable.prototype,y,{__proto__:null,value:e,enumerable:!1,configurable:!0,writable:!0})}for(let y of n(l)){let e=function(...e){if(new.target)throw c();return a(t,this,e)},t=l[y];i(e,"name",{__proto__:null,value:t.name}),i(e,"length",{__proto__:null,value:t.length}),i(m.Readable.prototype,y,{__proto__:null,value:e,enumerable:!1,configurable:!0,writable:!0})}m.Writable=Kd(),m.Duplex=Qd(),m.Transform=Jd(),m.PassThrough=Xd(),m.pipeline=d;var{addAbortSignal:v}=Ch();m.addAbortSignal=v,m.finished=p,m.destroy=u,m.compose=h,i(m,"promises",{__proto__:null,configurable:!0,enumerable:!0,get:()=>f}),i(d,o,{__proto__:null,enumerable:!0,get:()=>f.pipeline}),i(p,o,{__proto__:null,enumerable:!0,get:()=>f.finished}),m.Stream=m,m._isUint8Array=function(e){return e instanceof Uint8Array},m._uint8ArrayToBuffer=function(e){return r.from(e.buffer,e.byteOffset,e.byteLength)}})),nu=Js(((e,t)=>{el(),$c(),Rc();var r=iu(),i=ru(),n=r.Readable.destroy;t.exports=r.Readable,t.exports._uint8ArrayToBuffer=r._uint8ArrayToBuffer,t.exports._isUint8Array=r._isUint8Array,t.exports.isDisturbed=r.isDisturbed,t.exports.isErrored=r.isErrored,t.exports.isReadable=r.isReadable,t.exports.Readable=r.Readable,t.exports.Writable=r.Writable,t.exports.Duplex=r.Duplex,t.exports.Transform=r.Transform,t.exports.PassThrough=r.PassThrough,t.exports.addAbortSignal=r.addAbortSignal,t.exports.finished=r.finished,t.exports.destroy=r.destroy,t.exports.destroy=n,t.exports.pipeline=r.pipeline,t.exports.compose=r.compose,Object.defineProperty(r,"promises",{configurable:!0,enumerable:!0,get:()=>i}),t.exports.Stream=r.Stream,t.exports.default=t.exports})),au=Js(((e,t)=>{el(),$c(),Rc(),"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}})),ou=Js(((e,t)=>{el(),$c(),Rc();var{Buffer:r}=(Vc(),Zs(Mc)),i=Symbol.for("BufferList");function n(e){if(!(this instanceof n))return new n(e);n._init.call(this,e)}n._init=function(e){Object.defineProperty(this,i,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)},n.prototype._new=function(e){return new n(e)},n.prototype._offset=function(e){if(0===e)return[0,0];let t=0;for(let r=0;r<this._bufs.length;r++){let i=t+this._bufs[r].length;if(e<i||r===this._bufs.length-1)return[r,e-t];t=i}},n.prototype._reverseOffset=function(e){let t=e[0],r=e[1];for(let i=0;i<t;i++)r+=this._bufs[i].length;return r},n.prototype.get=function(e){if(e>this.length||e<0)return;let t=this._offset(e);return this._bufs[t[0]][t[1]]},n.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},n.prototype.copy=function(e,t,i,n){if(("number"!=typeof i||i<0)&&(i=0),("number"!=typeof n||n>this.length)&&(n=this.length),i>=this.length||n<=0)return e||r.alloc(0);let a=!!e,o=this._offset(i),s=n-i,l=s,c=a&&t||0,h=o[1];if(0===i&&n===this.length){if(!a)return 1===this._bufs.length?this._bufs[0]:r.concat(this._bufs,this.length);for(let t=0;t<this._bufs.length;t++)this._bufs[t].copy(e,c),c+=this._bufs[t].length;return e}if(l<=this._bufs[o[0]].length-h)return a?this._bufs[o[0]].copy(e,t,h,h+l):this._bufs[o[0]].slice(h,h+l);a||(e=r.allocUnsafe(s));for(let r=o[0];r<this._bufs.length;r++){let t=this._bufs[r].length-h;if(!(l>t)){this._bufs[r].copy(e,c,h,h+l),c+=t;break}this._bufs[r].copy(e,c,h),c+=t,l-=t,h&&(h=0)}return e.length>c?e.slice(0,c):e},n.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!=typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();let r=this._offset(e),i=this._offset(t),n=this._bufs.slice(r[0],i[0]+1);return 0===i[1]?n.pop():n[n.length-1]=n[n.length-1].slice(0,i[1]),0!==r[1]&&(n[0]=n[0].slice(r[1])),this._new(n)},n.prototype.toString=function(e,t,r){return this.slice(t,r).toString(e)},n.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},n.prototype.duplicate=function(){let e=this._new();for(let t=0;t<this._bufs.length;t++)e.append(this._bufs[t]);return e},n.prototype.append=function(e){if(null==e)return this;if(e.buffer)this._appendBuffer(r.from(e.buffer,e.byteOffset,e.byteLength));else if(Array.isArray(e))for(let t=0;t<e.length;t++)this.append(e[t]);else if(this._isBufferList(e))for(let t=0;t<e._bufs.length;t++)this.append(e._bufs[t]);else"number"==typeof e&&(e=e.toString()),this._appendBuffer(r.from(e));return this},n.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length},n.prototype.indexOf=function(e,t,i){if(void 0===i&&"string"==typeof t&&(i=t,t=void 0),"function"==typeof e||Array.isArray(e))throw new TypeError('The "value" argument must be one of type string, Buffer, BufferList, or Uint8Array.');if("number"==typeof e?e=r.from([e]):"string"==typeof e?e=r.from(e,i):this._isBufferList(e)?e=e.slice():Array.isArray(e.buffer)?e=r.from(e.buffer,e.byteOffset,e.byteLength):r.isBuffer(e)||(e=r.from(e)),t=Number(t||0),isNaN(t)&&(t=0),t<0&&(t=this.length+t),t<0&&(t=0),0===e.length)return t>this.length?this.length:t;let n=this._offset(t),a=n[0],o=n[1];for(;a<this._bufs.length;a++){let t=this._bufs[a];for(;o<t.length;)if(t.length-o>=e.length){let r=t.indexOf(e,o);if(-1!==r)return this._reverseOffset([a,r]);o=t.length-e.length+1}else{let t=this._reverseOffset([a,o]);if(this._match(t,e))return t;o++}o=0}return-1},n.prototype._match=function(e,t){if(this.length-e<t.length)return!1;for(let r=0;r<t.length;r++)if(this.get(e+r)!==t[r])return!1;return!0},function(){let e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readBigInt64BE:8,readBigInt64LE:8,readBigUInt64BE:8,readBigUInt64LE:8,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1,readIntBE:null,readIntLE:null,readUIntBE:null,readUIntLE:null};for(let t in e)!function(t){n.prototype[t]=null===e[t]?function(e,r){return this.slice(e,e+r)[t](0,r)}:function(r=0){return this.slice(r,r+e[t])[t](0)}}(t)}(),n.prototype._isBufferList=function(e){return e instanceof n||n.isBufferList(e)},n.isBufferList=function(e){return null!=e&&e[i]},t.exports=n})),su=Js(((e,t)=>{el(),$c(),Rc();var r=nu().Duplex,i=au(),n=ou();function a(e){if(!(this instanceof a))return new a(e);if("function"==typeof e){this._callback=e;let t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on("pipe",(function(e){e.on("error",t)})),this.on("unpipe",(function(e){e.removeListener("error",t)})),e=null}n._init.call(this,e),r.call(this)}i(a,r),Object.assign(a.prototype,n.prototype),a.prototype._new=function(e){return new a(e)},a.prototype._write=function(e,t,r){this._appendBuffer(e),"function"==typeof r&&r()},a.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},a.prototype.end=function(e){r.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},a.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},a.prototype._isBufferList=function(e){return e instanceof a||e instanceof n||a.isBufferList(e)},a.isBufferList=n.isBufferList,t.exports=a,t.exports.BufferListStream=a,t.exports.BufferList=n})),lu=Js(((e,t)=>{el(),$c(),Rc();t.exports=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}}})),cu=Js(((e,t)=>{el(),$c(),Rc();var r=t.exports,{Buffer:i}=(Vc(),Zs(Mc));r.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},r.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},r.requiredHeaderFlagsErrors={};for(let a in r.requiredHeaderFlags){let e=r.requiredHeaderFlags[a];r.requiredHeaderFlagsErrors[a]="Invalid header flag bits, must be 0x"+e.toString(16)+" for "+r.types[a]+" packet"}r.codes={};for(let a in r.types){let e=r.types[a];r.codes[e]=a}r.CMD_SHIFT=4,r.CMD_MASK=240,r.DUP_MASK=8,r.QOS_MASK=3,r.QOS_SHIFT=1,r.RETAIN_MASK=1,r.VARBYTEINT_MASK=127,r.VARBYTEINT_FIN_MASK=128,r.VARBYTEINT_MAX=268435455,r.SESSIONPRESENT_MASK=1,r.SESSIONPRESENT_HEADER=i.from([r.SESSIONPRESENT_MASK]),r.CONNACK_HEADER=i.from([r.codes.connack<<r.CMD_SHIFT]),r.USERNAME_MASK=128,r.PASSWORD_MASK=64,r.WILL_RETAIN_MASK=32,r.WILL_QOS_MASK=24,r.WILL_QOS_SHIFT=3,r.WILL_FLAG_MASK=4,r.CLEAN_SESSION_MASK=2,r.CONNECT_HEADER=i.from([r.codes.connect<<r.CMD_SHIFT]),r.properties={sessionExpiryInterval:17,willDelayInterval:24,receiveMaximum:33,maximumPacketSize:39,topicAliasMaximum:34,requestResponseInformation:25,requestProblemInformation:23,userProperties:38,authenticationMethod:21,authenticationData:22,payloadFormatIndicator:1,messageExpiryInterval:2,contentType:3,responseTopic:8,correlationData:9,maximumQoS:36,retainAvailable:37,assignedClientIdentifier:18,reasonString:31,wildcardSubscriptionAvailable:40,subscriptionIdentifiersAvailable:41,sharedSubscriptionAvailable:42,serverKeepAlive:19,responseInformation:26,serverReference:28,topicAlias:35,subscriptionIdentifier:11},r.propertiesCodes={};for(let a in r.properties){let e=r.properties[a];r.propertiesCodes[e]=a}function n(e){return[0,1,2].map((t=>[0,1].map((n=>[0,1].map((a=>{let o=i.alloc(1);return o.writeUInt8(r.codes[e]<<r.CMD_SHIFT|(n?r.DUP_MASK:0)|t<<r.QOS_SHIFT|a,0,!0),o}))))))}r.propertiesTypes={sessionExpiryInterval:"int32",willDelayInterval:"int32",receiveMaximum:"int16",maximumPacketSize:"int32",topicAliasMaximum:"int16",requestResponseInformation:"byte",requestProblemInformation:"byte",userProperties:"pair",authenticationMethod:"string",authenticationData:"binary",payloadFormatIndicator:"byte",messageExpiryInterval:"int32",contentType:"string",responseTopic:"string",correlationData:"binary",maximumQoS:"int8",retainAvailable:"byte",assignedClientIdentifier:"string",reasonString:"string",wildcardSubscriptionAvailable:"byte",subscriptionIdentifiersAvailable:"byte",sharedSubscriptionAvailable:"byte",serverKeepAlive:"int16",responseInformation:"string",serverReference:"string",topicAlias:"int16",subscriptionIdentifier:"var"},r.PUBLISH_HEADER=n("publish"),r.SUBSCRIBE_HEADER=n("subscribe"),r.SUBSCRIBE_OPTIONS_QOS_MASK=3,r.SUBSCRIBE_OPTIONS_NL_MASK=1,r.SUBSCRIBE_OPTIONS_NL_SHIFT=2,r.SUBSCRIBE_OPTIONS_RAP_MASK=1,r.SUBSCRIBE_OPTIONS_RAP_SHIFT=3,r.SUBSCRIBE_OPTIONS_RH_MASK=3,r.SUBSCRIBE_OPTIONS_RH_SHIFT=4,r.SUBSCRIBE_OPTIONS_RH=[0,16,32],r.SUBSCRIBE_OPTIONS_NL=4,r.SUBSCRIBE_OPTIONS_RAP=8,r.SUBSCRIBE_OPTIONS_QOS=[0,1,2],r.UNSUBSCRIBE_HEADER=n("unsubscribe"),r.ACKS={unsuback:n("unsuback"),puback:n("puback"),pubcomp:n("pubcomp"),pubrel:n("pubrel"),pubrec:n("pubrec")},r.SUBACK_HEADER=i.from([r.codes.suback<<r.CMD_SHIFT]),r.VERSION3=i.from([3]),r.VERSION4=i.from([4]),r.VERSION5=i.from([5]),r.VERSION131=i.from([131]),r.VERSION132=i.from([132]),r.QOS=[0,1,2].map((e=>i.from([e]))),r.EMPTY={pingreq:i.from([r.codes.pingreq<<4,0]),pingresp:i.from([r.codes.pingresp<<4,0]),disconnect:i.from([r.codes.disconnect<<4,0])},r.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},r.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},r.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},r.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},r.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})),hu=Js(((e,t)=>{el(),$c(),Rc();var r=1e3,i=6e4,n=60*i,a=24*n,o=7*a,s=365.25*a;function l(e,t,r,i){var n=t>=1.5*r;return Math.round(e/r)+" "+i+(n?"s":"")}t.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var l=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*o;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*n;case"minutes":case"minute":case"mins":case"min":case"m":return l*i;case"seconds":case"second":case"secs":case"sec":case"s":return l*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=a?l(e,t,a,"day"):t>=n?l(e,t,n,"hour"):t>=i?l(e,t,i,"minute"):t>=r?l(e,t,r,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+"d":t>=n?Math.round(e/n)+"h":t>=i?Math.round(e/i)+"m":t>=r?Math.round(e/r)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),du=Js(((e,t)=>{el(),$c(),Rc(),t.exports=function(e){function t(e){let i,n,a,o=null;function s(...e){if(!s.enabled)return;let r=s,n=Number(new Date),a=n-(i||n);r.diff=a,r.prev=i,r.curr=n,i=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((i,n)=>{if("%%"===i)return"%";o++;let a=t.formatters[n];if("function"==typeof a){let t=e[o];i=a.call(r,t),e.splice(o,1),o--}return i})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,r){let i=t(this.namespace+(typeof r>"u"?":":r)+e);return i.log=this.log,i}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];let r,i=("string"==typeof e?e:"").split(/[\s,]+/),n=i.length;for(r=0;r<n;r++)i[r]&&("-"===(e=i[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,i;for(r=0,i=t.skips.length;r<i;r++)if(t.skips[r].test(e))return!1;for(r=0,i=t.names.length;r<i;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=hu(),t.destroy=function(){},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}})),uu=Js(((e,t)=>{el(),$c(),Rc(),e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let i=0,n=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))})),e.splice(n,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch{}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch{}return!t&&typeof tl<"u"&&"env"in tl&&(t=tl.env.DEBUG),t},e.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch{}}(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0)}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=du()(e);var{formatters:r}=t.exports;r.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}})),pu=Js(((e,t)=>{el(),$c(),Rc();var r=su(),{EventEmitter:i}=(kh(),Zs(bh)),n=lu(),a=cu(),o=uu()("mqtt-packet:parser");t.exports=class e extends i{constructor(){super(),this.parser=this.constructor.parser}static parser(t){return this instanceof e?(this.settings=t||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):(new e).parser(t)}_resetState(){o("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new n,this.error=null,this._list=r(),this._stateCounter=0}parse(e){for(this.error&&this._resetState(),this._list.append(e),o("parse: current state: %s",this._states[this._stateCounter]);(-1!==this.packet.length||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,o("parse: state complete. _stateCounter is now: %d",this._stateCounter),o("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return o("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let e=this._list.readUInt8(0),t=e>>a.CMD_SHIFT;this.packet.cmd=a.types[t];let r=15&e,i=a.requiredHeaderFlags[t];return null!=i&&r!==i?this._emitError(new Error(a.requiredHeaderFlagsErrors[t])):(this.packet.retain=0!=(e&a.RETAIN_MASK),this.packet.qos=e>>a.QOS_SHIFT&a.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=0!=(e&a.DUP_MASK),o("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let e=this._parseVarByteNum(!0);return e&&(this.packet.length=e.value,this._list.consume(e.bytes)),o("_parseLength %d",e.value),!!e}_parsePayload(){o("_parsePayload: payload %O",this._list);let e=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}e=!0}return o("_parsePayload complete result: %s",e),e}_parseConnect(){o("_parseConnect");let e,t,r,i,n={},s=this.packet,l=this._parseString();if(null===l)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==l&&"MQIsdp"!==l)return this._emitError(new Error("Invalid protocolId"));if(s.protocolId=l,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(s.protocolVersion=this._list.readUInt8(this._pos),s.protocolVersion>=128&&(s.bridgeMode=!0,s.protocolVersion=s.protocolVersion-128),3!==s.protocolVersion&&4!==s.protocolVersion&&5!==s.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(1&this._list.readUInt8(this._pos))return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));n.username=this._list.readUInt8(this._pos)&a.USERNAME_MASK,n.password=this._list.readUInt8(this._pos)&a.PASSWORD_MASK,n.will=this._list.readUInt8(this._pos)&a.WILL_FLAG_MASK;let c=!!(this._list.readUInt8(this._pos)&a.WILL_RETAIN_MASK),h=(this._list.readUInt8(this._pos)&a.WILL_QOS_MASK)>>a.WILL_QOS_SHIFT;if(n.will)s.will={},s.will.retain=c,s.will.qos=h;else{if(c)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(h)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(s.clean=0!=(this._list.readUInt8(this._pos)&a.CLEAN_SESSION_MASK),this._pos++,s.keepalive=this._parseNum(),-1===s.keepalive)return this._emitError(new Error("Packet too short"));if(5===s.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.properties=e)}let d=this._parseString();if(null===d)return this._emitError(new Error("Packet too short"));if(s.clientId=d,o("_parseConnect: packet.clientId: %s",s.clientId),n.will){if(5===s.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.will.properties=e)}if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse will topic"));if(s.will.topic=e,o("_parseConnect: packet.will.topic: %s",s.will.topic),t=this._parseBuffer(),null===t)return this._emitError(new Error("Cannot parse will payload"));s.will.payload=t,o("_parseConnect: packet.will.paylaod: %s",s.will.payload)}if(n.username){if(i=this._parseString(),null===i)return this._emitError(new Error("Cannot parse username"));s.username=i,o("_parseConnect: packet.username: %s",s.username)}if(n.password){if(r=this._parseBuffer(),null===r)return this._emitError(new Error("Cannot parse password"));s.password=r}return this.settings=s,o("_parseConnect: complete"),s}_parseConnack(){o("_parseConnack");let e=this.packet;if(this._list.length<1)return null;let t=this._list.readUInt8(this._pos++);if(t>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(e.sessionPresent=!!(t&a.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?e.reasonCode=this._list.readUInt8(this._pos++):e.reasonCode=0;else{if(this._list.length<2)return null;e.returnCode=this._list.readUInt8(this._pos++)}if(-1===e.returnCode||-1===e.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}o("_parseConnack: complete")}_parsePublish(){o("_parsePublish");let e=this.packet;if(e.topic=this._parseString(),null===e.topic)return this._emitError(new Error("Cannot parse topic"));if(!(e.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}e.payload=this._list.slice(this._pos,e.length),o("_parsePublish: payload from buffer list: %o",e.payload)}}_parseSubscribe(){o("_parseSubscribe");let e,t,r,i,n,s,l,c=this.packet;if(c.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(c.properties=e)}if(c.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos<c.length;){if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse topic"));if(this._pos>=c.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(t=this._parseByte(),5===this.settings.protocolVersion){if(192&t)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(252&t)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(r=t&a.SUBSCRIBE_OPTIONS_QOS_MASK,r>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(s=0!=(t>>a.SUBSCRIBE_OPTIONS_NL_SHIFT&a.SUBSCRIBE_OPTIONS_NL_MASK),n=0!=(t>>a.SUBSCRIBE_OPTIONS_RAP_SHIFT&a.SUBSCRIBE_OPTIONS_RAP_MASK),i=t>>a.SUBSCRIBE_OPTIONS_RH_SHIFT&a.SUBSCRIBE_OPTIONS_RH_MASK,i>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));l={topic:e,qos:r},5===this.settings.protocolVersion?(l.nl=s,l.rap=n,l.rh=i):this.settings.bridgeMode&&(l.rh=0,l.rap=!0,l.nl=!0),o("_parseSubscribe: push subscription `%s` to subscription",l),c.subscriptions.push(l)}}}_parseSuback(){o("_parseSuback");let e=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}if(e.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos<this.packet.length;){let e=this._list.readUInt8(this._pos++);if(5===this.settings.protocolVersion){if(!a.MQTT5_SUBACK_CODES[e])return this._emitError(new Error("Invalid suback code"))}else if(e>2&&128!==e)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(e)}}}_parseUnsubscribe(){o("_parseUnsubscribe");let e=this.packet;if(e.unsubscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}if(e.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos<e.length;){let t=this._parseString();if(null===t)return this._emitError(new Error("Cannot parse topic"));o("_parseUnsubscribe: push topic `%s` to unsubscriptions",t),e.unsubscriptions.push(t)}}}_parseUnsuback(){o("_parseUnsuback");let e=this.packet;if(!this._parseMessageId())return this._emitError(new Error("Cannot parse messageId"));if((3===this.settings.protocolVersion||4===this.settings.protocolVersion)&&2!==e.length)return this._emitError(new Error("Malformed unsuback, payload length must be 2"));if(e.length<=0)return this._emitError(new Error("Malformed unsuback, no payload specified"));if(5===this.settings.protocolVersion){let t=this._parseProperties();for(Object.getOwnPropertyNames(t).length&&(e.properties=t),e.granted=[];this._pos<this.packet.length;){let e=this._list.readUInt8(this._pos++);if(!a.MQTT5_UNSUBACK_CODES[e])return this._emitError(new Error("Invalid unsuback code"));this.packet.granted.push(e)}}}_parseConfirmation(){o("_parseConfirmation: packet.cmd: `%s`",this.packet.cmd);let e=this.packet;if(this._parseMessageId(),5===this.settings.protocolVersion){if(e.length>2){switch(e.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!a.MQTT5_PUBACK_PUBREC_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!a.MQTT5_PUBREL_PUBCOMP_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"))}o("_parseConfirmation: packet.reasonCode `%d`",e.reasonCode)}else e.reasonCode=0;if(e.length>3){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}}return!0}_parseDisconnect(){let e=this.packet;if(o("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?(e.reasonCode=this._parseByte(),a.MQTT5_DISCONNECT_CODES[e.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):e.reasonCode=0;let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return o("_parseDisconnect result: true"),!0}_parseAuth(){o("_parseAuth");let e=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(e.reasonCode=this._parseByte(),!a.MQTT5_AUTH_CODES[e.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let t=this._parseProperties();return Object.getOwnPropertyNames(t).length&&(e.properties=t),o("_parseAuth: result: true"),!0}_parseMessageId(){let e=this.packet;return e.messageId=this._parseNum(),null===e.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(o("_parseMessageId: packet.messageId %d",e.messageId),!0)}_parseString(e){let t=this._parseNum(),r=t+this._pos;if(-1===t||r>this._list.length||r>this.packet.length)return null;let i=this._list.toString("utf8",this._pos,r);return this._pos+=t,o("_parseString: result: %s",i),i}_parseStringPair(){return o("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let e=this._parseNum(),t=e+this._pos;if(-1===e||t>this._list.length||t>this.packet.length)return null;let r=this._list.slice(this._pos,t);return this._pos+=e,o("_parseBuffer: result: %o",r),r}_parseNum(){if(this._list.length-this._pos<2)return-1;let e=this._list.readUInt16BE(this._pos);return this._pos+=2,o("_parseNum: result: %s",e),e}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let e=this._list.readUInt32BE(this._pos);return this._pos+=4,o("_parse4ByteNum: result: %s",e),e}_parseVarByteNum(e){o("_parseVarByteNum");let t,r=0,i=1,n=0,s=!1,l=this._pos?this._pos:0;for(;r<4&&l+r<this._list.length;){if(t=this._list.readUInt8(l+r++),n+=i*(t&a.VARBYTEINT_MASK),i*=128,!(t&a.VARBYTEINT_FIN_MASK)){s=!0;break}if(this._list.length<=r)break}return!s&&4===r&&this._list.length>=r&&this._emitError(new Error("Invalid variable byte integer")),l&&(this._pos+=r),s=!!s&&(e?{bytes:r,value:n}:n),o("_parseVarByteNum: result: %o",s),s}_parseByte(){let e;return this._pos<this._list.length&&(e=this._list.readUInt8(this._pos),this._pos++),o("_parseByte: result: %o",e),e}_parseByType(e){switch(o("_parseByType: type: %s",e),e){case"byte":return 0!==this._parseByte();case"int8":return this._parseByte();case"int16":return this._parseNum();case"int32":return this._parse4ByteNum();case"var":return this._parseVarByteNum();case"string":return this._parseString();case"pair":return this._parseStringPair();case"binary":return this._parseBuffer()}}_parseProperties(){o("_parseProperties");let e=this._parseVarByteNum(),t=this._pos+e,r={};for(;this._pos<t;){let e=this._parseByte();if(!e)return this._emitError(new Error("Cannot parse property code type")),!1;let t=a.propertiesCodes[e];if(!t)return this._emitError(new Error("Unknown property")),!1;if("userProperties"!==t)r[t]?(Array.isArray(r[t])||(r[t]=[r[t]]),r[t].push(this._parseByType(a.propertiesTypes[t]))):r[t]=this._parseByType(a.propertiesTypes[t]);else{r[t]||(r[t]=Object.create(null));let e=this._parseByType(a.propertiesTypes[t]);if(r[t][e.name])if(Array.isArray(r[t][e.name]))r[t][e.name].push(e.value);else{let i=r[t][e.name];r[t][e.name]=[i],r[t][e.name].push(e.value)}else r[t][e.name]=e.value}}return r}_newPacket(){return o("_newPacket"),this.packet&&(this._list.consume(this.packet.length),o("_newPacket: parser emit packet: packet.cmd: %s, packet.payload: %s, packet.length: %d",this.packet.cmd,this.packet.payload,this.packet.length),this.emit("packet",this.packet)),o("_newPacket: new packet"),this.packet=new n,this._pos=0,!0}_emitError(e){o("_emitError",e),this.error=e,this.emit("error",e)}}})),fu=Js(((e,t)=>{el(),$c(),Rc();var{Buffer:r}=(Vc(),Zs(Mc)),i={},n=r.isBuffer(r.from([1,2]).subarray(0,1));function a(e){let t=r.allocUnsafe(2);return t.writeUInt8(e>>8,0),t.writeUInt8(255&e,1),t}t.exports={cache:i,generateCache:function(){for(let e=0;e<65536;e++)i[e]=a(e)},generateNumber:a,genBufVariableByteInt:function(e){let t=0,i=0,a=r.allocUnsafe(4);do{t=e%128|0,(e=e/128|0)>0&&(t|=128),a.writeUInt8(t,i++)}while(e>0&&i<4);return e>0&&(i=0),n?a.subarray(0,i):a.slice(0,i)},generate4ByteBuffer:function(e){let t=r.allocUnsafe(4);return t.writeUInt32BE(e,0),t}}})),gu=Js(((e,t)=>{el(),$c(),Rc(),typeof tl>"u"||!tl.version||0===tl.version.indexOf("v0.")||0===tl.version.indexOf("v1.")&&0!==tl.version.indexOf("v1.8.")?t.exports={nextTick:function(e,t,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var n,a,o=arguments.length;switch(o){case 0:case 1:return tl.nextTick(e);case 2:return tl.nextTick((function(){e.call(null,t)}));case 3:return tl.nextTick((function(){e.call(null,t,r)}));case 4:return tl.nextTick((function(){e.call(null,t,r,i)}));default:for(n=new Array(o-1),a=0;a<n.length;)n[a++]=arguments[a];return tl.nextTick((function(){e.apply(null,n)}))}}}:t.exports=tl})),mu=Js(((e,t)=>{el(),$c(),Rc();var r=cu(),{Buffer:i}=(Vc(),Zs(Mc)),n=i.allocUnsafe(0),a=i.from([0]),o=fu(),s=gu().nextTick,l=uu()("mqtt-packet:writeToStream"),c=o.cache,h=o.generateNumber,d=o.generateCache,u=o.genBufVariableByteInt,p=o.generate4ByteBuffer,f=x,g=!0;function m(e,t,o){switch(l("generate called"),t.cork&&(t.cork(),s(v,t)),g&&(g=!1,d()),l("generate: packet.cmd: %s",e.cmd),e.cmd){case"connect":return function(e,t,n){let a=e||{},o=a.protocolId||"MQTT",s=a.protocolVersion||4,l=a.will,c=a.clean,h=a.keepalive||0,d=a.clientId||"",u=a.username,p=a.password,g=a.properties;void 0===c&&(c=!0);let m,v,y=0;if(!o||"string"!=typeof o&&!i.isBuffer(o))return t.destroy(new Error("Invalid protocolId")),!1;if(y+=o.length+2,3!==s&&4!==s&&5!==s)return t.destroy(new Error("Invalid protocol version")),!1;if(y+=1,("string"==typeof d||i.isBuffer(d))&&(d||s>=4)&&(d||c))y+=i.byteLength(d)+2;else{if(s<4)return t.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(1*c==0)return t.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if("number"!=typeof h||h<0||h>65535||h%1!=0)return t.destroy(new Error("Invalid keepalive")),!1;if(y+=2,y+=1,5===s){if(m=T(t,g),!m)return!1;y+=m.length}if(l){if("object"!=typeof l)return t.destroy(new Error("Invalid will")),!1;if(!l.topic||"string"!=typeof l.topic)return t.destroy(new Error("Invalid will topic")),!1;if(y+=i.byteLength(l.topic)+2,y+=2,l.payload){if(!(l.payload.length>=0))return t.destroy(new Error("Invalid will payload")),!1;"string"==typeof l.payload?y+=i.byteLength(l.payload):y+=l.payload.length}if(v={},5===s){if(v=T(t,l.properties),!v)return!1;y+=v.length}}let _=!1;if(null!=u){if(!I(u))return t.destroy(new Error("Invalid username")),!1;_=!0,y+=i.byteLength(u)+2}if(null!=p){if(!_)return t.destroy(new Error("Username is required to use password")),!1;if(!I(p))return t.destroy(new Error("Invalid password")),!1;y+=B(p)+2}t.write(r.CONNECT_HEADER),b(t,y),S(t,o),a.bridgeMode&&(s+=128),t.write(131===s?r.VERSION131:132===s?r.VERSION132:4===s?r.VERSION4:5===s?r.VERSION5:r.VERSION3);let x=0;return x|=null!=u?r.USERNAME_MASK:0,x|=null!=p?r.PASSWORD_MASK:0,x|=l&&l.retain?r.WILL_RETAIN_MASK:0,x|=l&&l.qos?l.qos<<r.WILL_QOS_SHIFT:0,x|=l?r.WILL_FLAG_MASK:0,x|=c?r.CLEAN_SESSION_MASK:0,t.write(i.from([x])),f(t,h),5===s&&m.write(),S(t,d),l&&(5===s&&v.write(),w(t,l.topic),S(t,l.payload)),null!=u&&S(t,u),null!=p&&S(t,p),!0}(e,t);case"connack":return function(e,t,n){let o=n?n.protocolVersion:4,s=e||{},l=5===o?s.reasonCode:s.returnCode,c=s.properties,h=2;if("number"!=typeof l)return t.destroy(new Error("Invalid return code")),!1;let d=null;if(5===o){if(d=T(t,c),!d)return!1;h+=d.length}return t.write(r.CONNACK_HEADER),b(t,h),t.write(s.sessionPresent?r.SESSIONPRESENT_HEADER:a),t.write(i.from([l])),null==d||d.write(),!0}(e,t,o);case"publish":return function(e,t,a){l("publish: packet: %o",e);let o=a?a.protocolVersion:4,s=e||{},c=s.qos||0,h=s.retain?r.RETAIN_MASK:0,d=s.topic,u=s.payload||n,p=s.messageId,g=s.properties,m=0;if("string"==typeof d)m+=i.byteLength(d)+2;else{if(!i.isBuffer(d))return t.destroy(new Error("Invalid topic")),!1;m+=d.length+2}if(i.isBuffer(u)?m+=u.length:m+=i.byteLength(u),c&&"number"!=typeof p)return t.destroy(new Error("Invalid messageId")),!1;c&&(m+=2);let v=null;if(5===o){if(v=T(t,g),!v)return!1;m+=v.length}return t.write(r.PUBLISH_HEADER[c][s.dup?1:0][h?1:0]),b(t,m),f(t,B(d)),t.write(d),c>0&&f(t,p),null==v||v.write(),l("publish: payload: %o",u),t.write(u)}(e,t,o);case"puback":case"pubrec":case"pubrel":case"pubcomp":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.cmd||"puback",l=o.messageId,c=o.dup&&"pubrel"===s?r.DUP_MASK:0,h=0,d=o.reasonCode,u=o.properties,p=5===a?3:2;if("pubrel"===s&&(h=1),"number"!=typeof l)return t.destroy(new Error("Invalid messageId")),!1;let g=null;if(5===a&&"object"==typeof u){if(g=k(t,u,n,p),!g)return!1;p+=g.length}return t.write(r.ACKS[s][h][c][0]),3===p&&(p+=0!==d?1:-1),b(t,p),f(t,l),5===a&&2!==p&&t.write(i.from([d])),null!==g?g.write():4===p&&t.write(i.from([0])),!0}(e,t,o);case"subscribe":return function(e,t,n){l("subscribe: packet: ");let a=n?n.protocolVersion:4,o=e||{},s=o.dup?r.DUP_MASK:0,c=o.messageId,h=o.subscriptions,d=o.properties,u=0;if("number"!=typeof c)return t.destroy(new Error("Invalid messageId")),!1;u+=2;let p=null;if(5===a){if(p=T(t,d),!p)return!1;u+=p.length}if("object"!=typeof h||!h.length)return t.destroy(new Error("Invalid subscriptions")),!1;for(let r=0;r<h.length;r+=1){let e=h[r].topic,n=h[r].qos;if("string"!=typeof e)return t.destroy(new Error("Invalid subscriptions - invalid topic")),!1;if("number"!=typeof n)return t.destroy(new Error("Invalid subscriptions - invalid qos")),!1;if(5===a){if("boolean"!=typeof(h[r].nl||!1))return t.destroy(new Error("Invalid subscriptions - invalid No Local")),!1;if("boolean"!=typeof(h[r].rap||!1))return t.destroy(new Error("Invalid subscriptions - invalid Retain as Published")),!1;let e=h[r].rh||0;if("number"!=typeof e||e>2)return t.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}u+=i.byteLength(e)+2+1}l("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),t.write(r.SUBSCRIBE_HEADER[1][s?1:0][0]),b(t,u),f(t,c),null!==p&&p.write();let g=!0;for(let l of h){let e,n=l.topic,o=l.qos,s=+l.nl,c=+l.rap,h=l.rh;w(t,n),e=r.SUBSCRIBE_OPTIONS_QOS[o],5===a&&(e|=s?r.SUBSCRIBE_OPTIONS_NL:0,e|=c?r.SUBSCRIBE_OPTIONS_RAP:0,e|=h?r.SUBSCRIBE_OPTIONS_RH[h]:0),g=t.write(i.from([e]))}return g}(e,t,o);case"suback":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.messageId,l=o.granted,c=o.properties,h=0;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(h+=2,"object"!=typeof l||!l.length)return t.destroy(new Error("Invalid qos vector")),!1;for(let r=0;r<l.length;r+=1){if("number"!=typeof l[r])return t.destroy(new Error("Invalid qos vector")),!1;h+=1}let d=null;if(5===a){if(d=k(t,c,n,h),!d)return!1;h+=d.length}return t.write(r.SUBACK_HEADER),b(t,h),f(t,s),null!==d&&d.write(),t.write(i.from(l))}(e,t,o);case"unsubscribe":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.messageId,l=o.dup?r.DUP_MASK:0,c=o.unsubscriptions,h=o.properties,d=0;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(d+=2,"object"!=typeof c||!c.length)return t.destroy(new Error("Invalid unsubscriptions")),!1;for(let r=0;r<c.length;r+=1){if("string"!=typeof c[r])return t.destroy(new Error("Invalid unsubscriptions")),!1;d+=i.byteLength(c[r])+2}let u=null;if(5===a){if(u=T(t,h),!u)return!1;d+=u.length}t.write(r.UNSUBSCRIBE_HEADER[1][l?1:0][0]),b(t,d),f(t,s),null!==u&&u.write();let p=!0;for(let r=0;r<c.length;r++)p=w(t,c[r]);return p}(e,t,o);case"unsuback":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.messageId,l=o.dup?r.DUP_MASK:0,c=o.granted,h=o.properties,d=o.cmd,u=0,p=2;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(5===a){if("object"!=typeof c||!c.length)return t.destroy(new Error("Invalid qos vector")),!1;for(let e=0;e<c.length;e+=1){if("number"!=typeof c[e])return t.destroy(new Error("Invalid qos vector")),!1;p+=1}}let g=null;if(5===a){if(g=k(t,h,n,p),!g)return!1;p+=g.length}return t.write(r.ACKS[d][u][l][0]),b(t,p),f(t,s),null!==g&&g.write(),5===a&&t.write(i.from(c)),!0}(e,t,o);case"pingreq":case"pingresp":return function(e,t,i){return t.write(r.EMPTY[e.cmd])}(e,t);case"disconnect":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.reasonCode,l=o.properties,c=5===a?1:0,h=null;if(5===a){if(h=k(t,l,n,c),!h)return!1;c+=h.length}return t.write(i.from([r.codes.disconnect<<4])),b(t,c),5===a&&t.write(i.from([s])),null!==h&&h.write(),!0}(e,t,o);case"auth":return function(e,t,n){let a=n?n.protocolVersion:4,o=e||{},s=o.reasonCode,l=o.properties,c=5===a?1:0;5!==a&&t.destroy(new Error("Invalid mqtt version for auth packet"));let h=k(t,l,n,c);return!!h&&(c+=h.length,t.write(i.from([r.codes.auth<<4])),b(t,c),t.write(i.from([s])),null!==h&&h.write(),!0)}(e,t,o);default:return t.destroy(new Error("Unknown command")),!1}}function v(e){e.uncork()}Object.defineProperty(m,"cacheNumbers",{get:()=>f===x,set(e){e?((!c||0===Object.keys(c).length)&&(g=!0),f=x):(g=!1,f=E)}});var y={};function b(e,t){if(t>r.VARBYTEINT_MAX)return e.destroy(new Error(`Invalid variable byte integer: ${t}`)),!1;let i=y[t];return i||(i=u(t),t<16384&&(y[t]=i)),l("writeVarByteInt: writing to stream: %o",i),e.write(i)}function w(e,t){let r=i.byteLength(t);return f(e,r),l("writeString: %s",t),e.write(t,"utf8")}function _(e,t,r){w(e,t),w(e,r)}function x(e,t){return l("writeNumberCached: number: %d",t),l("writeNumberCached: %o",c[t]),e.write(c[t])}function E(e,t){let r=h(t);return l("writeNumberGenerated: %o",r),e.write(r)}function S(e,t){"string"==typeof t?w(e,t):t?(f(e,t.length),e.write(t)):f(e,0)}function T(e,t){if("object"!=typeof t||null!=t.length)return{length:1,write(){C(e,{},0)}};let n=0;function a(t,n){let a=0;switch(r.propertiesTypes[t]){case"byte":if("boolean"!=typeof n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=2;break;case"int8":if("number"!=typeof n||n<0||n>255)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=2;break;case"binary":if(n&&null===n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=1+i.byteLength(n)+2;break;case"int16":if("number"!=typeof n||n<0||n>65535)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=3;break;case"int32":if("number"!=typeof n||n<0||n>4294967295)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=5;break;case"var":if("number"!=typeof n||n<0||n>268435455)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=1+i.byteLength(u(n));break;case"string":if("string"!=typeof n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=3+i.byteLength(n.toString());break;case"pair":if("object"!=typeof n)return e.destroy(new Error(`Invalid ${t}: ${n}`)),!1;a+=Object.getOwnPropertyNames(n).reduce(((e,t)=>{let r=n[t];return Array.isArray(r)?e+=r.reduce(((e,r)=>e+=3+i.byteLength(t.toString())+2+i.byteLength(r.toString())),0):e+=3+i.byteLength(t.toString())+2+i.byteLength(n[t].toString()),e}),0);break;default:return e.destroy(new Error(`Invalid property ${t}: ${n}`)),!1}return a}if(t)for(let r in t){let e=0,i=0,o=t[r];if(Array.isArray(o))for(let t=0;t<o.length;t++){if(i=a(r,o[t]),!i)return!1;e+=i}else{if(i=a(r,o),!i)return!1;e=i}if(!e)return!1;n+=e}return{length:i.byteLength(u(n))+n,write(){C(e,t,n)}}}function k(e,t,r,i){let n=["reasonString","userProperties"],a=r&&r.properties&&r.properties.maximumPacketSize?r.properties.maximumPacketSize:0,o=T(e,t);if(a)for(;i+o.length>a;){let r=n.shift();if(!r||!t[r])return!1;delete t[r],o=T(e,t)}return o}function A(e,t,n){switch(r.propertiesTypes[t]){case"byte":e.write(i.from([r.properties[t]])),e.write(i.from([+n]));break;case"int8":e.write(i.from([r.properties[t]])),e.write(i.from([n]));break;case"binary":e.write(i.from([r.properties[t]])),S(e,n);break;case"int16":e.write(i.from([r.properties[t]])),f(e,n);break;case"int32":e.write(i.from([r.properties[t]])),function(e,t){let r=p(t);l("write4ByteNumber: %o",r),e.write(r)}(e,n);break;case"var":e.write(i.from([r.properties[t]])),b(e,n);break;case"string":e.write(i.from([r.properties[t]])),w(e,n);break;case"pair":Object.getOwnPropertyNames(n).forEach((a=>{let o=n[a];Array.isArray(o)?o.forEach((n=>{e.write(i.from([r.properties[t]])),_(e,a.toString(),n.toString())})):(e.write(i.from([r.properties[t]])),_(e,a.toString(),o.toString()))}));break;default:return e.destroy(new Error(`Invalid property ${t} value: ${n}`)),!1}}function C(e,t,r){b(e,r);for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&null!==t[i]){let r=t[i];if(Array.isArray(r))for(let t=0;t<r.length;t++)A(e,i,r[t]);else A(e,i,r)}}function B(e){return e?e instanceof i?e.length:i.byteLength(e):0}function I(e){return"string"==typeof e||e instanceof i}t.exports=m})),vu=Js(((e,t)=>{el(),$c(),Rc();var r=mu(),{EventEmitter:i}=(kh(),Zs(bh)),{Buffer:n}=(Vc(),Zs(Mc));var a=class extends i{constructor(){super(),this._array=new Array(20),this._i=0}write(e){return this._array[this._i++]=e,!0}concat(){let e,t=0,r=new Array(this._array.length),i=this._array,a=0;for(e=0;e<i.length&&void 0!==i[e];e++)"string"!=typeof i[e]?r[e]=i[e].length:r[e]=n.byteLength(i[e]),t+=r[e];let o=n.allocUnsafe(t);for(e=0;e<i.length&&void 0!==i[e];e++)"string"!=typeof i[e]?(i[e].copy(o,a),a+=r[e]):(o.write(i[e],a),a+=r[e]);return o}destroy(e){e&&this.emit("error",e)}};t.exports=function(e,t){let i=new a;return r(e,i,t),i.concat()}})),yu=Js((e=>{el(),$c(),Rc(),e.parser=pu().parser,e.generate=vu(),e.writeToStream=mu()})),bu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});e.default=class{constructor(){this.nextId=Math.max(1,Math.floor(65535*Math.random()))}allocate(){let e=this.nextId++;return 65536===this.nextId&&(this.nextId=1),e}getLastAllocated(){return 1===this.nextId?65535:this.nextId-1}register(e){return!0}deallocate(e){}clear(){}}})),wu=Js(((e,t)=>{function r(e){return e instanceof Hc?Hc.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}el(),$c(),Rc(),t.exports=function(e){return(e=e||{}).circles?function(e){var t=[],i=[];return e.proto?function e(a){if("object"!=typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return n(a,e);if(a instanceof Map)return new Map(n(Array.from(a),e));if(a instanceof Set)return new Set(n(Array.from(a),e));var o={};for(var s in t.push(a),i.push(o),a){var l=a[s];if("object"!=typeof l||null===l)o[s]=l;else if(l instanceof Date)o[s]=new Date(l);else if(l instanceof Map)o[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)o[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))o[s]=r(l);else{var c=t.indexOf(l);o[s]=-1!==c?i[c]:e(l)}}return t.pop(),i.pop(),o}:function e(a){if("object"!=typeof a||null===a)return a;if(a instanceof Date)return new Date(a);if(Array.isArray(a))return n(a,e);if(a instanceof Map)return new Map(n(Array.from(a),e));if(a instanceof Set)return new Set(n(Array.from(a),e));var o={};for(var s in t.push(a),i.push(o),a)if(!1!==Object.hasOwnProperty.call(a,s)){var l=a[s];if("object"!=typeof l||null===l)o[s]=l;else if(l instanceof Date)o[s]=new Date(l);else if(l instanceof Map)o[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)o[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))o[s]=r(l);else{var c=t.indexOf(l);o[s]=-1!==c?i[c]:e(l)}}return t.pop(),i.pop(),o};function n(e,n){for(var a=Object.keys(e),o=new Array(a.length),s=0;s<a.length;s++){var l=a[s],c=e[l];if("object"!=typeof c||null===c)o[l]=c;else if(c instanceof Date)o[l]=new Date(c);else if(ArrayBuffer.isView(c))o[l]=r(c);else{var h=t.indexOf(c);o[l]=-1!==h?i[h]:n(c)}}return o}}(e):e.proto?function e(i){if("object"!=typeof i||null===i)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,e);if(i instanceof Map)return new Map(t(Array.from(i),e));if(i instanceof Set)return new Set(t(Array.from(i),e));var n={};for(var a in i){var o=i[a];"object"!=typeof o||null===o?n[a]=o:o instanceof Date?n[a]=new Date(o):o instanceof Map?n[a]=new Map(t(Array.from(o),e)):o instanceof Set?n[a]=new Set(t(Array.from(o),e)):ArrayBuffer.isView(o)?n[a]=r(o):n[a]=e(o)}return n}:function e(i){if("object"!=typeof i||null===i)return i;if(i instanceof Date)return new Date(i);if(Array.isArray(i))return t(i,e);if(i instanceof Map)return new Map(t(Array.from(i),e));if(i instanceof Set)return new Set(t(Array.from(i),e));var n={};for(var a in i)if(!1!==Object.hasOwnProperty.call(i,a)){var o=i[a];"object"!=typeof o||null===o?n[a]=o:o instanceof Date?n[a]=new Date(o):o instanceof Map?n[a]=new Map(t(Array.from(o),e)):o instanceof Set?n[a]=new Set(t(Array.from(o),e)):ArrayBuffer.isView(o)?n[a]=r(o):n[a]=e(o)}return n};function t(e,t){for(var i=Object.keys(e),n=new Array(i.length),a=0;a<i.length;a++){var o=i[a],s=e[o];"object"!=typeof s||null===s?n[o]=s:s instanceof Date?n[o]=new Date(s):ArrayBuffer.isView(s)?n[o]=r(s):n[o]=t(s)}return n}}})),_u=Js(((e,t)=>{el(),$c(),Rc(),t.exports=wu()()})),xu=Js((e=>{function t(e){let t=e.split("/");for(let r=0;r<t.length;r++)if("+"!==t[r]){if("#"===t[r])return r===t.length-1;if(-1!==t[r].indexOf("+")||-1!==t[r].indexOf("#"))return!1}return!0}el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.validateTopics=e.validateTopic=void 0,e.validateTopic=t,e.validateTopics=function(e){if(0===e.length)return"empty_topic_list";for(let r=0;r<e.length;r++)if(!t(e[r]))return e[r];return null}})),Eu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=nu(),r={objectMode:!0},i={clean:!0};e.default=class{constructor(e){this.options=e||{},this.options=Object.assign(Object.assign({},i),e),this._inflights=new Map}put(e,t){return this._inflights.set(e.messageId,e),t&&t(),this}createStream(){let e=new t.Readable(r),i=[],n=!1,a=0;return this._inflights.forEach(((e,t)=>{i.push(e)})),e._read=()=>{!n&&a<i.length?e.push(i[a++]):e.push(null)},e.destroy=t=>{if(!n)return n=!0,setTimeout((()=>{e.emit("close")}),0),e},e}del(e,t){let r=this._inflights.get(e.messageId);return r?(this._inflights.delete(e.messageId),t(null,r)):t&&t(new Error("missing packet")),this}get(e,t){let r=this._inflights.get(e.messageId);return r?t(null,r):t&&t(new Error("missing packet")),this}close(e){this.options.clean&&(this._inflights=null),e&&e()}}})),Su=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153];e.default=(e,r,i)=>{e.log("handlePublish: packet %o",r),i=typeof i<"u"?i:e.noop;let n=r.topic.toString(),a=r.payload,{qos:o}=r,{messageId:s}=r,{options:l}=e;if(5===e.options.protocolVersion){let t;if(r.properties&&(t=r.properties.topicAlias),typeof t<"u")if(0===n.length){if(!(t>0&&t<=65535))return e.log("handlePublish :: topic alias out of range. alias: %d",t),void e.emit("error",new Error("Received Topic Alias is out of range"));{let r=e.topicAliasRecv.getTopicByAlias(t);if(!r)return e.log("handlePublish :: unregistered topic alias. alias: %d",t),void e.emit("error",new Error("Received unregistered Topic Alias"));n=r,e.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",n,t)}}else{if(!e.topicAliasRecv.put(n,t))return e.log("handlePublish :: topic alias out of range. alias: %d",t),void e.emit("error",new Error("Received Topic Alias is out of range"));e.log("handlePublish :: registered topic: %s - alias: %d",n,t)}}switch(e.log("handlePublish: qos %d",o),o){case 2:l.customHandleAcks(n,a,r,((n,a)=>("number"==typeof n&&(a=n,n=null),n?e.emit("error",n):-1===t.indexOf(a)?e.emit("error",new Error("Wrong reason code for pubrec")):void(a?e._sendPacket({cmd:"pubrec",messageId:s,reasonCode:a},i):e.incomingStore.put(r,(()=>{e._sendPacket({cmd:"pubrec",messageId:s},i)}))))));break;case 1:l.customHandleAcks(n,a,r,((o,l)=>("number"==typeof o&&(l=o,o=null),o?e.emit("error",o):-1===t.indexOf(l)?e.emit("error",new Error("Wrong reason code for puback")):(l||e.emit("message",n,a,r),void e.handleMessage(r,(t=>{if(t)return i&&i(t);e._sendPacket({cmd:"puback",messageId:s,reasonCode:l},i)}))))));break;case 0:e.emit("message",n,a,r),e.handleMessage(r,i);break;default:e.log("handlePublish: unknown QoS. Doing nothing.")}}})),Tu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class e extends Error{constructor(t,r){super(t),this.code=r,Object.setPrototypeOf(this,e.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t,e.applyMixin=function(e,t,r=!1){var i;let n=[t];for(;;){let e=n[0],t=Object.getPrototypeOf(e);if(!(null==t?void 0:t.prototype))break;n.unshift(t)}for(let a of n)for(let t of Object.getOwnPropertyNames(a.prototype))(r||"constructor"!==t)&&Object.defineProperty(e.prototype,t,null!==(i=Object.getOwnPropertyDescriptor(a.prototype,t))&&void 0!==i?i:Object.create(null))},e.nextTick=tl?tl.nextTick:e=>{setTimeout(e,0)}})),ku=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0,e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};e.default=(t,r)=>{let i,{messageId:n}=r,a=r.cmd,o=null,s=t.outgoing[n]?t.outgoing[n].cb:null;if(s){switch(t.log("_handleAck :: packet type",a),a){case"pubcomp":case"puback":{let a=r.reasonCode;a&&a>0&&16!==a?(i=new Error(`Publish error: ${e.ReasonCodes[a]}`),i.code=a,t._removeOutgoingAndStoreMessage(n,(()=>{s(i,r)}))):t._removeOutgoingAndStoreMessage(n,s);break}case"pubrec":{o={cmd:"pubrel",qos:2,messageId:n};let a=r.reasonCode;a&&a>0&&16!==a?(i=new Error(`Publish error: ${e.ReasonCodes[a]}`),i.code=a,t._removeOutgoingAndStoreMessage(n,(()=>{s(i,r)}))):t._sendPacket(o);break}case"suback":{delete t.outgoing[n],t.messageIdProvider.deallocate(n);let e=r.granted;for(let r=0;r<e.length;r++)if(128&e[r]){let e=t.messageIdToTopic[n];e&&e.forEach((e=>{delete t._resubscribeTopics[e]}))}delete t.messageIdToTopic[n],t._invokeStoreProcessingQueue(),s(null,r);break}case"unsuback":delete t.outgoing[n],t.messageIdProvider.deallocate(n),t._invokeStoreProcessingQueue(),s(null);break;default:t.emit("error",new Error("unrecognized packet type"))}t.disconnecting&&0===Object.keys(t.outgoing).length&&t.emit("outgoingEmpty")}else t.log("_handleAck :: Server sent an ack in error. Ignoring.")}})),Au=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=Tu(),r=ku();e.default=(e,i)=>{let{options:n}=e,a=n.protocolVersion,o=5===a?i.reasonCode:i.returnCode;if(5===a)e.handleAuth(i,((i,n)=>{if(i)e.emit("error",i);else if(24===o)e.reconnecting=!1,e._sendPacket(n);else{let i=new t.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[o]}`,o);e.emit("error",i)}}));else{let r=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${a}`,o);e.emit("error",r)}}})),Cu=Js((e=>{var t,i,c,h,d,u,p,f,g,m,v,y,b,w,_,x,E,S,T,k,A,C,B,I,R,M,O,P,j,N,D,L,U,F,H,z,W,V,$,q,Y,K,G,Q,J,X,Z,ee,te,re,ie,ne,ae;el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var oe="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,se=new Set,le="object"==typeof tl&&tl?tl:{},ce=(e,t,r,i)=>{"function"==typeof le.emitWarning&&le.emitWarning(e,t,r,i)},he=globalThis.AbortController,de=globalThis.AbortSignal;if(typeof he>"u"){de=class{constructor(){r(this,"onabort"),r(this,"_onabort",[]),r(this,"reason"),r(this,"aborted",!1)}addEventListener(e,t){this._onabort.push(t)}},he=class{constructor(){r(this,"signal",new de),i()}abort(e){var t,r;if(!this.signal.aborted){this.signal.reason=e,this.signal.aborted=!0;for(let t of this.signal._onabort)t(e);null==(r=(t=this.signal).onabort)||r.call(t,e)}}};let e="1"!==(null==(t=le.env)?void 0:t.LRU_CACHE_IGNORE_AC_WARNING),i=()=>{e&&(e=!1,ce("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",i))}}var ue=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),pe=e=>ue(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?fe:null:null,fe=class extends Array{constructor(e){super(e),this.fill(0)}},ge=(i=class{constructor(e,t){if(r(this,"heap"),r(this,"length"),!n(i,c))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new t(e),this.length=0}static create(e){let t=pe(e);if(!t)return[];o(i,c,!0);let r=new i(e,t);return o(i,c,!1),r}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},c=new WeakMap,a(i,c,!1),i),me=(ae=class{constructor(e){a(this,M),a(this,L),a(this,W),a(this,$),a(this,Y),a(this,G),a(this,J),a(this,Z),a(this,te),a(this,ie),a(this,h,void 0),a(this,d,void 0),a(this,u,void 0),a(this,p,void 0),a(this,f,void 0),r(this,"ttl"),r(this,"ttlResolution"),r(this,"ttlAutopurge"),r(this,"updateAgeOnGet"),r(this,"updateAgeOnHas"),r(this,"allowStale"),r(this,"noDisposeOnSet"),r(this,"noUpdateTTL"),r(this,"maxEntrySize"),r(this,"sizeCalculation"),r(this,"noDeleteOnFetchRejection"),r(this,"noDeleteOnStaleGet"),r(this,"allowStaleOnFetchAbort"),r(this,"allowStaleOnFetchRejection"),r(this,"ignoreFetchAbort"),a(this,g,void 0),a(this,m,void 0),a(this,v,void 0),a(this,y,void 0),a(this,b,void 0),a(this,w,void 0),a(this,_,void 0),a(this,x,void 0),a(this,E,void 0),a(this,S,void 0),a(this,T,void 0),a(this,k,void 0),a(this,A,void 0),a(this,C,void 0),a(this,B,void 0),a(this,I,void 0),a(this,R,void 0),a(this,P,(()=>{})),a(this,j,(()=>{})),a(this,N,(()=>{})),a(this,D,(()=>!1)),a(this,F,(e=>{})),a(this,H,((e,t,r)=>{})),a(this,z,((e,t,r,i)=>{if(r||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0}));let{max:t=0,ttl:i,ttlResolution:s=1,ttlAutopurge:c,updateAgeOnGet:V,updateAgeOnHas:q,allowStale:K,dispose:Q,disposeAfter:X,noDisposeOnSet:ee,noUpdateTTL:re,maxSize:ne=0,maxEntrySize:oe=0,sizeCalculation:le,fetchMethod:he,noDeleteOnFetchRejection:de,noDeleteOnStaleGet:fe,allowStaleOnFetchRejection:me,allowStaleOnFetchAbort:ve,ignoreFetchAbort:ye}=e;if(0!==t&&!ue(t))throw new TypeError("max option must be a nonnegative integer");let be=t?pe(t):Array;if(!be)throw new Error("invalid max value: "+t);if(o(this,h,t),o(this,d,ne),this.maxEntrySize=oe||n(this,d),this.sizeCalculation=le,this.sizeCalculation){if(!n(this,d)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==he&&"function"!=typeof he)throw new TypeError("fetchMethod must be a function if specified");if(o(this,f,he),o(this,I,!!he),o(this,v,new Map),o(this,y,new Array(t).fill(void 0)),o(this,b,new Array(t).fill(void 0)),o(this,w,new be(t)),o(this,_,new be(t)),o(this,x,0),o(this,E,0),o(this,S,ge.create(t)),o(this,g,0),o(this,m,0),"function"==typeof Q&&o(this,u,Q),"function"==typeof X?(o(this,p,X),o(this,T,[])):(o(this,p,void 0),o(this,T,void 0)),o(this,B,!!n(this,u)),o(this,R,!!n(this,p)),this.noDisposeOnSet=!!ee,this.noUpdateTTL=!!re,this.noDeleteOnFetchRejection=!!de,this.allowStaleOnFetchRejection=!!me,this.allowStaleOnFetchAbort=!!ve,this.ignoreFetchAbort=!!ye,0!==this.maxEntrySize){if(0!==n(this,d)&&!ue(n(this,d)))throw new TypeError("maxSize must be a positive integer if specified");if(!ue(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");l(this,L,U).call(this)}if(this.allowStale=!!K,this.noDeleteOnStaleGet=!!fe,this.updateAgeOnGet=!!V,this.updateAgeOnHas=!!q,this.ttlResolution=ue(s)||0===s?s:1,this.ttlAutopurge=!!c,this.ttl=i||0,this.ttl){if(!ue(this.ttl))throw new TypeError("ttl must be a positive integer if specified");l(this,M,O).call(this)}if(0===n(this,h)&&0===this.ttl&&0===n(this,d))throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!n(this,h)&&!n(this,d)){let e="LRU_CACHE_UNBOUNDED";we=e,!se.has(we)&&(se.add(e),ce("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,ae))}var we}static unsafeExposeInternals(e){return{starts:n(e,A),ttls:n(e,C),sizes:n(e,k),keyMap:n(e,v),keyList:n(e,y),valList:n(e,b),next:n(e,w),prev:n(e,_),get head(){return n(e,x)},get tail(){return n(e,E)},free:n(e,S),isBackgroundFetch:t=>{var r;return l(r=e,Z,ee).call(r,t)},backgroundFetch:(t,r,i,n)=>{var a;return l(a=e,J,X).call(a,t,r,i,n)},moveToTail:t=>{var r;return l(r=e,ie,ne).call(r,t)},indexes:t=>{var r;return l(r=e,W,V).call(r,t)},rindexes:t=>{var r;return l(r=e,$,q).call(r,t)},isStale:t=>{var r;return n(r=e,D).call(r,t)}}}get max(){return n(this,h)}get maxSize(){return n(this,d)}get calculatedSize(){return n(this,m)}get size(){return n(this,g)}get fetchMethod(){return n(this,f)}get dispose(){return n(this,u)}get disposeAfter(){return n(this,p)}getRemainingTTL(e){return n(this,v).has(e)?1/0:0}*entries(){for(let e of l(this,W,V).call(this))void 0!==n(this,b)[e]&&void 0!==n(this,y)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield[n(this,y)[e],n(this,b)[e]])}*rentries(){for(let e of l(this,$,q).call(this))void 0!==n(this,b)[e]&&void 0!==n(this,y)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield[n(this,y)[e],n(this,b)[e]])}*keys(){for(let e of l(this,W,V).call(this)){let t=n(this,y)[e];void 0!==t&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield t)}}*rkeys(){for(let e of l(this,$,q).call(this)){let t=n(this,y)[e];void 0!==t&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield t)}}*values(){for(let e of l(this,W,V).call(this))void 0!==n(this,b)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield n(this,b)[e])}*rvalues(){for(let e of l(this,$,q).call(this))void 0!==n(this,b)[e]&&!l(this,Z,ee).call(this,n(this,b)[e])&&(yield n(this,b)[e])}[Symbol.iterator](){return this.entries()}find(e,t={}){for(let r of l(this,W,V).call(this)){let i=n(this,b)[r],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;if(void 0!==a&&e(a,n(this,y)[r],this))return this.get(n(this,y)[r],t)}}forEach(e,t=this){for(let r of l(this,W,V).call(this)){let i=n(this,b)[r],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;void 0!==a&&e.call(t,a,n(this,y)[r],this)}}rforEach(e,t=this){for(let r of l(this,$,q).call(this)){let i=n(this,b)[r],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;void 0!==a&&e.call(t,a,n(this,y)[r],this)}}purgeStale(){let e=!1;for(let t of l(this,$,q).call(this,{allowStale:!0}))n(this,D).call(this,t)&&(this.delete(n(this,y)[t]),e=!0);return e}dump(){let e=[];for(let t of l(this,W,V).call(this,{allowStale:!0})){let r=n(this,y)[t],i=n(this,b)[t],a=l(this,Z,ee).call(this,i)?i.__staleWhileFetching:i;if(void 0===a||void 0===r)continue;let o={value:a};if(n(this,C)&&n(this,A)){o.ttl=n(this,C)[t];let e=oe.now()-n(this,A)[t];o.start=Math.floor(Date.now()-e)}n(this,k)&&(o.size=n(this,k)[t]),e.unshift([r,o])}return e}load(e){this.clear();for(let[t,r]of e){if(r.start){let e=Date.now()-r.start;r.start=oe.now()-e}this.set(t,r.value,r)}}set(e,t,r={}){var i,a,c,d,f;if(void 0===t)return this.delete(e),this;let{ttl:m=this.ttl,start:x,noDisposeOnSet:k=this.noDisposeOnSet,sizeCalculation:A=this.sizeCalculation,status:P}=r,{noUpdateTTL:D=this.noUpdateTTL}=r,L=n(this,z).call(this,e,t,r.size||0,A);if(this.maxEntrySize&&L>this.maxEntrySize)return P&&(P.set="miss",P.maxEntrySizeExceeded=!0),this.delete(e),this;let U=0===n(this,g)?void 0:n(this,v).get(e);if(void 0===U)U=0===n(this,g)?n(this,E):0!==n(this,S).length?n(this,S).pop():n(this,g)===n(this,h)?l(this,G,Q).call(this,!1):n(this,g),n(this,y)[U]=e,n(this,b)[U]=t,n(this,v).set(e,U),n(this,w)[n(this,E)]=U,n(this,_)[U]=n(this,E),o(this,E,U),s(this,g)._++,n(this,H).call(this,U,L,P),P&&(P.set="add"),D=!1;else{l(this,ie,ne).call(this,U);let r=n(this,b)[U];if(t!==r){if(n(this,I)&&l(this,Z,ee).call(this,r)){r.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:t}=r;void 0!==t&&!k&&(n(this,B)&&(null==(i=n(this,u))||i.call(this,t,e,"set")),n(this,R)&&(null==(a=n(this,T))||a.push([t,e,"set"])))}else k||(n(this,B)&&(null==(c=n(this,u))||c.call(this,r,e,"set")),n(this,R)&&(null==(d=n(this,T))||d.push([r,e,"set"])));if(n(this,F).call(this,U),n(this,H).call(this,U,L,P),n(this,b)[U]=t,P){P.set="replace";let e=r&&l(this,Z,ee).call(this,r)?r.__staleWhileFetching:r;void 0!==e&&(P.oldValue=e)}}else P&&(P.set="update")}if(0!==m&&!n(this,C)&&l(this,M,O).call(this),n(this,C)&&(D||n(this,N).call(this,U,m,x),P&&n(this,j).call(this,P,U)),!k&&n(this,R)&&n(this,T)){let e,t=n(this,T);for(;e=null==t?void 0:t.shift();)null==(f=n(this,p))||f.call(this,...e)}return this}pop(){var e;try{for(;n(this,g);){let e=n(this,b)[n(this,x)];if(l(this,G,Q).call(this,!0),l(this,Z,ee).call(this,e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(void 0!==e)return e}}finally{if(n(this,R)&&n(this,T)){let t,r=n(this,T);for(;t=null==r?void 0:r.shift();)null==(e=n(this,p))||e.call(this,...t)}}}has(e,t={}){let{updateAgeOnHas:r=this.updateAgeOnHas,status:i}=t,a=n(this,v).get(e);if(void 0!==a){let e=n(this,b)[a];if(l(this,Z,ee).call(this,e)&&void 0===e.__staleWhileFetching)return!1;if(!n(this,D).call(this,a))return r&&n(this,P).call(this,a),i&&(i.has="hit",n(this,j).call(this,i,a)),!0;i&&(i.has="stale",n(this,j).call(this,i,a))}else i&&(i.has="miss");return!1}peek(e,t={}){let{allowStale:r=this.allowStale}=t,i=n(this,v).get(e);if(void 0!==i&&(r||!n(this,D).call(this,i))){let e=n(this,b)[i];return l(this,Z,ee).call(this,e)?e.__staleWhileFetching:e}}async fetch(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:s=this.noDisposeOnSet,size:c=0,sizeCalculation:h=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:p=this.allowStaleOnFetchRejection,ignoreFetchAbort:f=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:m,forceRefresh:y=!1,status:w,signal:_}=t;if(!n(this,I))return w&&(w.fetch="get"),this.get(e,{allowStale:r,updateAgeOnGet:i,noDeleteOnStaleGet:a,status:w});let x={allowStale:r,updateAgeOnGet:i,noDeleteOnStaleGet:a,ttl:o,noDisposeOnSet:s,size:c,sizeCalculation:h,noUpdateTTL:d,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:p,allowStaleOnFetchAbort:g,ignoreFetchAbort:f,status:w,signal:_},E=n(this,v).get(e);if(void 0===E){w&&(w.fetch="miss");let t=l(this,J,X).call(this,e,E,x,m);return t.__returned=t}{let t=n(this,b)[E];if(l(this,Z,ee).call(this,t)){let e=r&&void 0!==t.__staleWhileFetching;return w&&(w.fetch="inflight",e&&(w.returnedStale=!0)),e?t.__staleWhileFetching:t.__returned=t}let a=n(this,D).call(this,E);if(!y&&!a)return w&&(w.fetch="hit"),l(this,ie,ne).call(this,E),i&&n(this,P).call(this,E),w&&n(this,j).call(this,w,E),t;let o=l(this,J,X).call(this,e,E,x,m),s=void 0!==o.__staleWhileFetching&&r;return w&&(w.fetch=a?"stale":"refresh",s&&a&&(w.returnedStale=!0)),s?o.__staleWhileFetching:o.__returned=o}}get(e,t={}){let{allowStale:r=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:o}=t,s=n(this,v).get(e);if(void 0!==s){let t=n(this,b)[s],c=l(this,Z,ee).call(this,t);return o&&n(this,j).call(this,o,s),n(this,D).call(this,s)?(o&&(o.get="stale"),c?(o&&r&&void 0!==t.__staleWhileFetching&&(o.returnedStale=!0),r?t.__staleWhileFetching:void 0):(a||this.delete(e),o&&r&&(o.returnedStale=!0),r?t:void 0)):(o&&(o.get="hit"),c?t.__staleWhileFetching:(l(this,ie,ne).call(this,s),i&&n(this,P).call(this,s),t))}o&&(o.get="miss")}delete(e){var t,r,i,a;let c=!1;if(0!==n(this,g)){let i=n(this,v).get(e);if(void 0!==i)if(c=!0,1===n(this,g))this.clear();else{n(this,F).call(this,i);let a=n(this,b)[i];l(this,Z,ee).call(this,a)?a.__abortController.abort(new Error("deleted")):(n(this,B)||n(this,R))&&(n(this,B)&&(null==(t=n(this,u))||t.call(this,a,e,"delete")),n(this,R)&&(null==(r=n(this,T))||r.push([a,e,"delete"]))),n(this,v).delete(e),n(this,y)[i]=void 0,n(this,b)[i]=void 0,i===n(this,E)?o(this,E,n(this,_)[i]):i===n(this,x)?o(this,x,n(this,w)[i]):(n(this,w)[n(this,_)[i]]=n(this,w)[i],n(this,_)[n(this,w)[i]]=n(this,_)[i]),s(this,g)._--,n(this,S).push(i)}}if(n(this,R)&&(null==(i=n(this,T))?void 0:i.length)){let e,t=n(this,T);for(;e=null==t?void 0:t.shift();)null==(a=n(this,p))||a.call(this,...e)}return c}clear(){var e,t,r;for(let i of l(this,$,q).call(this,{allowStale:!0})){let r=n(this,b)[i];if(l(this,Z,ee).call(this,r))r.__abortController.abort(new Error("deleted"));else{let a=n(this,y)[i];n(this,B)&&(null==(e=n(this,u))||e.call(this,r,a,"delete")),n(this,R)&&(null==(t=n(this,T))||t.push([r,a,"delete"]))}}if(n(this,v).clear(),n(this,b).fill(void 0),n(this,y).fill(void 0),n(this,C)&&n(this,A)&&(n(this,C).fill(0),n(this,A).fill(0)),n(this,k)&&n(this,k).fill(0),o(this,x,0),o(this,E,0),n(this,S).length=0,o(this,m,0),o(this,g,0),n(this,R)&&n(this,T)){let e,t=n(this,T);for(;e=null==t?void 0:t.shift();)null==(r=n(this,p))||r.call(this,...e)}}},h=new WeakMap,d=new WeakMap,u=new WeakMap,p=new WeakMap,f=new WeakMap,g=new WeakMap,m=new WeakMap,v=new WeakMap,y=new WeakMap,b=new WeakMap,w=new WeakMap,_=new WeakMap,x=new WeakMap,E=new WeakMap,S=new WeakMap,T=new WeakMap,k=new WeakMap,A=new WeakMap,C=new WeakMap,B=new WeakMap,I=new WeakMap,R=new WeakMap,M=new WeakSet,O=function(){let e=new fe(n(this,h)),t=new fe(n(this,h));o(this,C,e),o(this,A,t),o(this,N,((r,i,a=oe.now())=>{if(t[r]=0!==i?a:0,e[r]=i,0!==i&&this.ttlAutopurge){let e=setTimeout((()=>{n(this,D).call(this,r)&&this.delete(n(this,y)[r])}),i+1);e.unref&&e.unref()}})),o(this,P,(r=>{t[r]=0!==e[r]?oe.now():0})),o(this,j,((n,a)=>{if(e[a]){let o=e[a],s=t[a];n.ttl=o,n.start=s,n.now=r||i();let l=n.now-s;n.remainingTTL=o-l}}));let r=0,i=()=>{let e=oe.now();if(this.ttlResolution>0){r=e;let t=setTimeout((()=>r=0),this.ttlResolution);t.unref&&t.unref()}return e};this.getRemainingTTL=a=>{let o=n(this,v).get(a);if(void 0===o)return 0;let s=e[o],l=t[o];return 0===s||0===l?1/0:s-((r||i())-l)},o(this,D,(n=>0!==e[n]&&0!==t[n]&&(r||i())-t[n]>e[n]))},P=new WeakMap,j=new WeakMap,N=new WeakMap,D=new WeakMap,L=new WeakSet,U=function(){let e=new fe(n(this,h));o(this,m,0),o(this,k,e),o(this,F,(t=>{o(this,m,n(this,m)-e[t]),e[t]=0})),o(this,z,((e,t,r,i)=>{if(l(this,Z,ee).call(this,t))return 0;if(!ue(r)){if(!i)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof i)throw new TypeError("sizeCalculation must be a function");if(r=i(t,e),!ue(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r})),o(this,H,((t,r,i)=>{if(e[t]=r,n(this,d)){let r=n(this,d)-e[t];for(;n(this,m)>r;)l(this,G,Q).call(this,!0)}o(this,m,n(this,m)+e[t]),i&&(i.entrySize=r,i.totalCalculatedSize=n(this,m))}))},F=new WeakMap,H=new WeakMap,z=new WeakMap,W=new WeakSet,V=function*({allowStale:e=this.allowStale}={}){if(n(this,g))for(let t=n(this,E);l(this,Y,K).call(this,t)&&((e||!n(this,D).call(this,t))&&(yield t),t!==n(this,x));)t=n(this,_)[t]},$=new WeakSet,q=function*({allowStale:e=this.allowStale}={}){if(n(this,g))for(let t=n(this,x);l(this,Y,K).call(this,t)&&((e||!n(this,D).call(this,t))&&(yield t),t!==n(this,E));)t=n(this,w)[t]},Y=new WeakSet,K=function(e){return void 0!==e&&n(this,v).get(n(this,y)[e])===e},G=new WeakSet,Q=function(e){var t,r;let i=n(this,x),a=n(this,y)[i],c=n(this,b)[i];return n(this,I)&&l(this,Z,ee).call(this,c)?c.__abortController.abort(new Error("evicted")):(n(this,B)||n(this,R))&&(n(this,B)&&(null==(t=n(this,u))||t.call(this,c,a,"evict")),n(this,R)&&(null==(r=n(this,T))||r.push([c,a,"evict"]))),n(this,F).call(this,i),e&&(n(this,y)[i]=void 0,n(this,b)[i]=void 0,n(this,S).push(i)),1===n(this,g)?(o(this,x,o(this,E,0)),n(this,S).length=0):o(this,x,n(this,w)[i]),n(this,v).delete(a),s(this,g)._--,i},J=new WeakSet,X=function(e,t,r,i){let a=void 0===t?void 0:n(this,b)[t];if(l(this,Z,ee).call(this,a))return a;let o=new he,{signal:s}=r;null==s||s.addEventListener("abort",(()=>o.abort(s.reason)),{signal:o.signal});let c={signal:o.signal,options:r,context:i},h=(i,a=!1)=>{let{aborted:s}=o.signal,l=r.ignoreFetchAbort&&void 0!==i;if(r.status&&(s&&!a?(r.status.fetchAborted=!0,r.status.fetchError=o.signal.reason,l&&(r.status.fetchAbortIgnored=!0)):r.status.fetchResolved=!0),s&&!l&&!a)return d(o.signal.reason);let h=u;return n(this,b)[t]===u&&(void 0===i?h.__staleWhileFetching?n(this,b)[t]=h.__staleWhileFetching:this.delete(e):(r.status&&(r.status.fetchUpdated=!0),this.set(e,i,c.options))),i},d=i=>{let{aborted:a}=o.signal,s=a&&r.allowStaleOnFetchAbort,l=s||r.allowStaleOnFetchRejection,c=l||r.noDeleteOnFetchRejection,h=u;if(n(this,b)[t]===u&&(c&&void 0!==h.__staleWhileFetching?s||(n(this,b)[t]=h.__staleWhileFetching):this.delete(e)),l)return r.status&&void 0!==h.__staleWhileFetching&&(r.status.returnedStale=!0),h.__staleWhileFetching;if(h.__returned===h)throw i};r.status&&(r.status.fetchDispatched=!0);let u=new Promise(((t,i)=>{var s;let l=null==(s=n(this,f))?void 0:s.call(this,e,a,c);l&&l instanceof Promise&&l.then((e=>t(void 0===e?void 0:e)),i),o.signal.addEventListener("abort",(()=>{(!r.ignoreFetchAbort||r.allowStaleOnFetchAbort)&&(t(void 0),r.allowStaleOnFetchAbort&&(t=e=>h(e,!0)))}))})).then(h,(e=>(r.status&&(r.status.fetchRejected=!0,r.status.fetchError=e),d(e)))),p=Object.assign(u,{__abortController:o,__staleWhileFetching:a,__returned:void 0});return void 0===t?(this.set(e,p,{...c.options,status:void 0}),t=n(this,v).get(e)):n(this,b)[t]=p,p},Z=new WeakSet,ee=function(e){if(!n(this,I))return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof he},te=new WeakSet,re=function(e,t){n(this,_)[t]=e,n(this,w)[e]=t},ie=new WeakSet,ne=function(e){e!==n(this,E)&&(e===n(this,x)?o(this,x,n(this,w)[e]):l(this,te,re).call(this,n(this,_)[e],n(this,w)[e]),l(this,te,re).call(this,n(this,E),e),o(this,E,e))},ae);e.LRUCache=me})),Bu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;e.ContainerIterator=class{constructor(e=0){this.iteratorType=e}equals(e){return this.o===e.o}};var t=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return 0===this.i}};e.Base=t;e.Container=class extends t{}})),Iu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Base{constructor(e=[]){super(),this.S=[];let t=this;e.forEach((function(e){t.push(e)}))}clear(){this.i=0,this.S=[]}push(e){return this.S.push(e),this.i+=1,this.i}pop(){if(0!==this.i)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}};e.default=r})),Ru=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Base{constructor(e=[]){super(),this.j=0,this.q=[];let t=this;e.forEach((function(e){t.push(e)}))}clear(){this.q=[],this.i=this.j=0}push(e){let t=this.q.length;if(this.j/t>.5&&this.j+this.i>=t&&t>4096){let t=this.i;for(let e=0;e<t;++e)this.q[e]=this.q[this.j+e];this.j=0,this.q[this.i]=e}else this.q[this.j+this.i]=e;return++this.i}pop(){if(0===this.i)return;let e=this.q[this.j++];return this.i-=1,e}front(){if(0!==this.i)return this.q[this.j]}};e.default=r})),Mu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Base{constructor(e=[],t=function(e,t){return e>t?-1:e<t?1:0},r=!0){if(super(),this.v=t,Array.isArray(e))this.C=r?[...e]:e;else{this.C=[];let t=this;e.forEach((function(e){t.C.push(e)}))}this.i=this.C.length;let i=this.i>>1;for(let n=this.i-1>>1;n>=0;--n)this.k(n,i)}m(e){let t=this.C[e];for(;e>0;){let r=e-1>>1,i=this.C[r];if(this.v(i,t)<=0)break;this.C[e]=i,e=r}this.C[e]=t}k(e,t){let r=this.C[e];for(;e<t;){let t=e<<1|1,i=t+1,n=this.C[t];if(i<this.i&&this.v(n,this.C[i])>0&&(t=i,n=this.C[i]),this.v(n,r)>=0)break;this.C[e]=n,e=t}this.C[e]=r}clear(){this.i=0,this.C.length=0}push(e){this.C.push(e),this.m(this.i),this.i+=1}pop(){if(0===this.i)return;let e=this.C[0],t=this.C.pop();return this.i-=1,this.i&&(this.C[0]=t,this.k(0,this.i>>1)),e}top(){return this.C[0]}find(e){return this.C.indexOf(e)>=0}remove(e){let t=this.C.indexOf(e);return!(t<0)&&(0===t?this.pop():t===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(t,1,this.C.pop()),this.i-=1,this.m(t),this.k(t,this.i>>1)),!0)}updateItem(e){let t=this.C.indexOf(e);return!(t<0)&&(this.m(t),this.k(t,this.i>>1),!0)}toArray(){return[...this.C]}};e.default=r})),Ou=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=class extends t.Container{};e.default=r})),Pu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=function(){throw new RangeError("Iterator access denied!")}})),ju=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=Bu(),r=Pu(),i=class extends t.ContainerIterator{constructor(e,t){super(t),this.o=e,0===this.iteratorType?(this.pre=function(){return 0===this.o&&(0,r.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,r.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,r.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return-1===this.o&&(0,r.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(e){this.container.setElementByPos(this.o,e)}};e.RandomIterator=i})),Nu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=(t=Ou())&&t.t?t:{default:t},i=ju();var n=class e extends i.RandomIterator{constructor(e,t,r){super(e,r),this.container=t}copy(){return new e(this.o,this.container,this.iteratorType)}},a=class extends r.default{constructor(e=[],t=!0){if(super(),Array.isArray(e))this.J=t?[...e]:e,this.i=e.length;else{this.J=[];let t=this;e.forEach((function(e){t.pushBack(e)}))}}clear(){this.i=0,this.J.length=0}begin(){return new n(0,this)}end(){return new n(this.i,this)}rBegin(){return new n(this.i-1,this,1)}rEnd(){return new n(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;return this.J[e]}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;return this.J.splice(e,1),this.i-=1,this.i}eraseElementByValue(e){let t=0;for(let r=0;r<this.i;++r)this.J[r]!==e&&(this.J[t++]=this.J[r]);return this.i=this.J.length=t,this.i}eraseElementByIterator(e){let t=e.o;return e=e.next(),this.eraseElementByPos(t),e}pushBack(e){return this.J.push(e),this.i+=1,this.i}popBack(){if(0!==this.i)return this.i-=1,this.J.pop()}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;this.J[e]=t}insert(e,t,r=1){if(e<0||e>this.i)throw new RangeError;return this.J.splice(e,0,...new Array(r).fill(t)),this.i+=r,this.i}find(e){for(let t=0;t<this.i;++t)if(this.J[t]===e)return new n(t,this);return this.end()}reverse(){this.J.reverse()}unique(){let e=1;for(let t=1;t<this.i;++t)this.J[t]!==this.J[t-1]&&(this.J[e++]=this.J[t]);return this.i=this.J.length=e,this.i}sort(e){this.J.sort(e)}forEach(e){for(let t=0;t<this.i;++t)e(this.J[t],t,this)}[Symbol.iterator](){return function*(){yield*this.J}.bind(this)()}};e.default=a})),Du=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=(t=Ou())&&t.t?t:{default:t},i=Bu(),n=Pu();var a=class e extends i.ContainerIterator{constructor(e,t,r,i){super(i),this.o=e,this.h=t,this.container=r,0===this.iteratorType?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l}set pointer(e){this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.l=e}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends r.default{constructor(e=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let t=this;e.forEach((function(e){t.pushBack(e)}))}V(e){let{L:t,B:r}=e;t.B=r,r.L=t,e===this.p&&(this.p=r),e===this._&&(this._=t),this.i-=1}G(e,t){let r=t.B,i={l:e,L:t,B:r};t.B=i,r.L=i,t===this.h&&(this.p=i),r===this.h&&(this._=i),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new a(this.p,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this._,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return t.l}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return this.V(t),this.i}eraseElementByValue(e){let t=this.p;for(;t!==this.h;)t.l===e&&this.V(t),t=t.B;return this.i}eraseElementByIterator(e){let t=e.o;return t===this.h&&(0,n.throwIteratorAccessError)(),e=e.next(),this.V(t),e}pushBack(e){return this.G(e,this._),this.i}popBack(){if(0===this.i)return;let e=this._.l;return this.V(this._),e}pushFront(e){return this.G(e,this.h),this.i}popFront(){if(0===this.i)return;let e=this.p.l;return this.V(this.p),e}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;let r=this.p;for(;e--;)r=r.B;r.l=t}insert(e,t,r=1){if(e<0||e>this.i)throw new RangeError;if(r<=0)return this.i;if(0===e)for(;r--;)this.pushFront(t);else if(e===this.i)for(;r--;)this.pushBack(t);else{let i=this.p;for(let t=1;t<e;++t)i=i.B;let n=i.B;for(this.i+=r;r--;)i.B={l:t,L:i},i.B.L=i,i=i.B;i.B=n,n.L=i}return this.i}find(e){let t=this.p;for(;t!==this.h;){if(t.l===e)return new a(t,this.h,this);t=t.B}return this.end()}reverse(){if(this.i<=1)return;let e=this.p,t=this._,r=0;for(;r<<1<this.i;){let i=e.l;e.l=t.l,t.l=i,e=e.B,t=t.L,r+=1}}unique(){if(this.i<=1)return this.i;let e=this.p;for(;e!==this.h;){let t=e;for(;t.B!==this.h&&t.l===t.B.l;)t=t.B,this.i-=1;e.B=t.B,e.B.L=e,e=e.B}return this.i}sort(e){if(this.i<=1)return;let t=[];this.forEach((function(e){t.push(e)})),t.sort(e);let r=this.p;t.forEach((function(e){r.l=e,r=r.B}))}merge(e){let t=this;if(0===this.i)e.forEach((function(e){t.pushBack(e)}));else{let r=this.p;e.forEach((function(e){for(;r!==t.h&&r.l<=e;)r=r.B;t.G(e,r.L)}))}return this.i}forEach(e){let t=this.p,r=0;for(;t!==this.h;)e(t.l,r++,this),t=t.B}[Symbol.iterator](){return function*(){if(0===this.i)return;let e=this.p;for(;e!==this.h;)yield e.l,e=e.B}.bind(this)()}};e.default=o})),Lu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=(t=Ou())&&t.t?t:{default:t},i=ju();var n=class e extends i.RandomIterator{constructor(e,t,r){super(e,r),this.container=t}copy(){return new e(this.o,this.container,this.iteratorType)}},a=class extends r.default{constructor(e=[],t=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let r=(()=>{if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("function"==typeof e.size)return e.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=t,this.P=Math.max(Math.ceil(r/this.F),1);for(let a=0;a<this.P;++a)this.A.push(new Array(this.F));let i=Math.ceil(r/this.F);this.j=this.R=(this.P>>1)-(i>>1),this.D=this.N=this.F-r%this.F>>1;let n=this;e.forEach((function(e){n.pushBack(e)}))}T(){let e=[],t=Math.max(this.P>>1,1);for(let r=0;r<t;++r)e[r]=new Array(this.F);for(let r=this.j;r<this.P;++r)e[e.length]=this.A[r];for(let r=0;r<this.R;++r)e[e.length]=this.A[r];e[e.length]=[...this.A[this.R]],this.j=t,this.R=e.length-1;for(let r=0;r<t;++r)e[e.length]=new Array(this.F);this.A=e,this.P=e.length}O(e){let t=this.D+e+1,r=t%this.F,i=r-1,n=this.j+(t-r)/this.F;return 0===r&&(n-=1),n%=this.P,i<0&&(i+=this.F),{curNodeBucketIndex:n,curNodePointerIndex:i}}clear(){this.A=[new Array(this.F)],this.P=1,this.j=this.R=this.i=0,this.D=this.N=this.F>>1}begin(){return new n(0,this)}end(){return new n(this.i,this)}rBegin(){return new n(this.i-1,this,1)}rEnd(){return new n(-1,this,1)}front(){if(0!==this.i)return this.A[this.j][this.D]}back(){if(0!==this.i)return this.A[this.R][this.N]}pushBack(e){return this.i&&(this.N<this.F-1?this.N+=1:this.R<this.P-1?(this.R+=1,this.N=0):(this.R=0,this.N=0),this.R===this.j&&this.N===this.D&&this.T()),this.i+=1,this.A[this.R][this.N]=e,this.i}popBack(){if(0===this.i)return;let e=this.A[this.R][this.N];return 1!==this.i&&(this.N>0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,e}pushFront(e){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=e,this.i}popFront(){if(0===this.i)return;let e=this.A[this.j][this.D];return 1!==this.i&&(this.D<this.F-1?this.D+=1:this.j<this.P-1?(this.j+=1,this.D=0):(this.j=0,this.D=0)),this.i-=1,e}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let{curNodeBucketIndex:t,curNodePointerIndex:r}=this.O(e);return this.A[t][r]}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;let{curNodeBucketIndex:r,curNodePointerIndex:i}=this.O(e);this.A[r][i]=t}insert(e,t,r=1){if(e<0||e>this.i)throw new RangeError;if(0===e)for(;r--;)this.pushFront(t);else if(e===this.i)for(;r--;)this.pushBack(t);else{let i=[];for(let t=e;t<this.i;++t)i.push(this.getElementByPos(t));this.cut(e-1);for(let e=0;e<r;++e)this.pushBack(t);for(let e=0;e<i.length;++e)this.pushBack(i[e])}return this.i}cut(e){if(e<0)return this.clear(),0;let{curNodeBucketIndex:t,curNodePointerIndex:r}=this.O(e);return this.R=t,this.N=r,this.i=e+1,this.i}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;if(0===e)this.popFront();else if(e===this.i-1)this.popBack();else{let t=[];for(let i=e+1;i<this.i;++i)t.push(this.getElementByPos(i));this.cut(e),this.popBack();let r=this;t.forEach((function(e){r.pushBack(e)}))}return this.i}eraseElementByValue(e){if(0===this.i)return 0;let t=[];for(let i=0;i<this.i;++i){let r=this.getElementByPos(i);r!==e&&t.push(r)}let r=t.length;for(let i=0;i<r;++i)this.setElementByPos(i,t[i]);return this.cut(r-1)}eraseElementByIterator(e){let t=e.o;return this.eraseElementByPos(t),e=e.next()}find(e){for(let t=0;t<this.i;++t)if(this.getElementByPos(t)===e)return new n(t,this);return this.end()}reverse(){let e=0,t=this.i-1;for(;e<t;){let r=this.getElementByPos(e);this.setElementByPos(e,this.getElementByPos(t)),this.setElementByPos(t,r),e+=1,t-=1}}unique(){if(this.i<=1)return this.i;let e=1,t=this.getElementByPos(0);for(let r=1;r<this.i;++r){let i=this.getElementByPos(r);i!==t&&(t=i,this.setElementByPos(e++,i))}for(;this.i>e;)this.popBack();return this.i}sort(e){let t=[];for(let r=0;r<this.i;++r)t.push(this.getElementByPos(r));t.sort(e);for(let r=0;r<this.i;++r)this.setElementByPos(r,t[r])}shrinkToFit(){if(0===this.i)return;let e=[];this.forEach((function(t){e.push(t)})),this.P=Math.max(Math.ceil(this.i/this.F),1),this.i=this.j=this.R=this.D=this.N=0,this.A=[];for(let t=0;t<this.P;++t)this.A.push(new Array(this.F));for(let t=0;t<e.length;++t)this.pushBack(e[t])}forEach(e){for(let t=0;t<this.i;++t)e(this.getElementByPos(t),t,this)}[Symbol.iterator](){return function*(){for(let e=0;e<this.i;++e)yield this.getElementByPos(e)}.bind(this)()}};e.default=a})),Uu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(e,t){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=e,this.l=t}L(){let e=this;if(1===e.ee&&e.tt.tt===e)e=e.W;else if(e.U)for(e=e.U;e.W;)e=e.W;else{let t=e.tt;for(;t.U===e;)e=t,t=e.tt;e=t}return e}B(){let e=this;if(e.W){for(e=e.W;e.U;)e=e.U;return e}{let t=e.tt;for(;t.W===e;)e=t,t=e.tt;return e.W!==t?t:e}}te(){let e=this.tt,t=this.W,r=t.U;return e.tt===this?e.tt=t:e.U===this?e.U=t:e.W=t,t.tt=e,t.U=this,this.tt=t,this.W=r,r&&(r.tt=this),t}se(){let e=this.tt,t=this.U,r=t.W;return e.tt===this?e.tt=t:e.U===this?e.U=t:e.W=t,t.tt=e,t.W=this,this.tt=t,this.U=r,r&&(r.tt=this),t}};e.TreeNode=t;e.TreeNodeEnableIndex=class extends t{constructor(){super(...arguments),this.rt=1}te(){let e=super.te();return this.ie(),e.ie(),e}se(){let e=super.se();return this.ie(),e.ie(),e}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}}})),Fu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Uu(),r=Bu(),i=Pu(),n=class extends r.Container{constructor(e=function(e,t){return e<t?-1:e>t?1:0},r=!1){super(),this.Y=void 0,this.v=e,r?(this.re=t.TreeNodeEnableIndex,this.M=function(e,t,r){let i=this.ne(e,t,r);if(i){let e=i.tt;for(;e!==this.h;)e.rt+=1,e=e.tt;let t=this.he(i);if(t){let{parentNode:e,grandParent:r,curNode:i}=t;e.ie(),r.ie(),i.ie()}}return this.i},this.V=function(e){let t=this.fe(e);for(;t!==this.h;)t.rt-=1,t=t.tt}):(this.re=t.TreeNode,this.M=function(e,t,r){let i=this.ne(e,t,r);return i&&this.he(i),this.i},this.V=this.fe),this.h=new this.re}X(e,t){let r=this.h;for(;e;){let i=this.v(e.u,t);if(i<0)e=e.W;else{if(!(i>0))return e;r=e,e=e.U}}return r}Z(e,t){let r=this.h;for(;e;)this.v(e.u,t)<=0?e=e.W:(r=e,e=e.U);return r}$(e,t){let r=this.h;for(;e;){let i=this.v(e.u,t);if(i<0)r=e,e=e.W;else{if(!(i>0))return e;e=e.U}}return r}rr(e,t){let r=this.h;for(;e;)this.v(e.u,t)<0?(r=e,e=e.W):e=e.U;return r}ue(e){for(;;){let t=e.tt;if(t===this.h)return;if(1===e.ee)return void(e.ee=0);if(e===t.U){let r=t.W;if(1===r.ee)r.ee=0,t.ee=1,t===this.Y?this.Y=t.te():t.te();else{if(r.W&&1===r.W.ee)return r.ee=t.ee,t.ee=0,r.W.ee=0,void(t===this.Y?this.Y=t.te():t.te());r.U&&1===r.U.ee?(r.ee=1,r.U.ee=0,r.se()):(r.ee=1,e=t)}}else{let r=t.U;if(1===r.ee)r.ee=0,t.ee=1,t===this.Y?this.Y=t.se():t.se();else{if(r.U&&1===r.U.ee)return r.ee=t.ee,t.ee=0,r.U.ee=0,void(t===this.Y?this.Y=t.se():t.se());r.W&&1===r.W.ee?(r.ee=1,r.W.ee=0,r.te()):(r.ee=1,e=t)}}}}fe(e){if(1===this.i)return this.clear(),this.h;let t=e;for(;t.U||t.W;){if(t.W)for(t=t.W;t.U;)t=t.U;else t=t.U;[e.u,t.u]=[t.u,e.u],[e.l,t.l]=[t.l,e.l],e=t}this.h.U===t?this.h.U=t.tt:this.h.W===t&&(this.h.W=t.tt),this.ue(t);let r=t.tt;return t===r.U?r.U=void 0:r.W=void 0,this.i-=1,this.Y.ee=0,r}oe(e,t){return void 0!==e&&(!(!this.oe(e.U,t)&&!t(e))||this.oe(e.W,t))}he(e){for(;;){let t=e.tt;if(0===t.ee)return;let r=t.tt;if(t===r.U){let i=r.W;if(i&&1===i.ee){if(i.ee=t.ee=0,r===this.Y)return;r.ee=1,e=r;continue}if(e===t.W){if(e.ee=0,e.U&&(e.U.tt=t),e.W&&(e.W.tt=r),t.W=e.U,r.U=e.W,e.U=t,e.W=r,r===this.Y)this.Y=e,this.h.tt=e;else{let t=r.tt;t.U===r?t.U=e:t.W=e}return e.tt=r.tt,t.tt=e,r.tt=e,r.ee=1,{parentNode:t,grandParent:r,curNode:e}}t.ee=0,r===this.Y?this.Y=r.se():r.se(),r.ee=1}else{let i=r.U;if(i&&1===i.ee){if(i.ee=t.ee=0,r===this.Y)return;r.ee=1,e=r;continue}if(e===t.U){if(e.ee=0,e.U&&(e.U.tt=r),e.W&&(e.W.tt=t),r.W=e.U,t.U=e.W,e.U=r,e.W=t,r===this.Y)this.Y=e,this.h.tt=e;else{let t=r.tt;t.U===r?t.U=e:t.W=e}return e.tt=r.tt,t.tt=e,r.tt=e,r.ee=1,{parentNode:t,grandParent:r,curNode:e}}t.ee=0,r===this.Y?this.Y=r.te():r.te(),r.ee=1}return}}ne(e,t,r){if(void 0===this.Y)return this.i+=1,this.Y=new this.re(e,t),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,void(this.h.W=this.Y);let i,n=this.h.U,a=this.v(n.u,e);if(0!==a){if(a>0)n.U=new this.re(e,t),n.U.tt=n,i=n.U,this.h.U=i;else{let n=this.h.W,a=this.v(n.u,e);if(0===a)return void(n.l=t);if(a<0)n.W=new this.re(e,t),n.W.tt=n,i=n.W,this.h.W=i;else{if(void 0!==r){let n=r.o;if(n!==this.h){let r=this.v(n.u,e);if(0===r)return void(n.l=t);if(r>0){let r=n.L(),a=this.v(r.u,e);if(0===a)return void(r.l=t);a<0&&(i=new this.re(e,t),void 0===r.W?(r.W=i,i.tt=r):(n.U=i,i.tt=n))}}}if(void 0===i)for(i=this.Y;;){let r=this.v(i.u,e);if(r>0){if(void 0===i.U){i.U=new this.re(e,t),i.U.tt=i,i=i.U;break}i=i.U}else{if(!(r<0))return void(i.l=t);if(void 0===i.W){i.W=new this.re(e,t),i.W.tt=i,i=i.W;break}i=i.W}}}}return this.i+=1,i}n.l=t}I(e,t){for(;e;){let r=this.v(e.u,t);if(r<0)e=e.W;else{if(!(r>0))return e;e=e.U}}return e||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(e,t){let r=e.o;if(r===this.h&&(0,i.throwIteratorAccessError)(),1===this.i)return r.u=t,!0;if(r===this.h.U)return this.v(r.B().u,t)>0&&(r.u=t,!0);if(r===this.h.W)return this.v(r.L().u,t)<0&&(r.u=t,!0);let n=r.L().u;if(this.v(n,t)>=0)return!1;let a=r.B().u;return!(this.v(a,t)<=0)&&(r.u=t,!0)}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=0,r=this;return this.oe(this.Y,(function(i){return e===t?(r.V(i),!0):(t+=1,!1)})),this.i}eraseElementByKey(e){if(0===this.i)return!1;let t=this.I(this.Y,e);return t!==this.h&&(this.V(t),!0)}eraseElementByIterator(e){let t=e.o;t===this.h&&(0,i.throwIteratorAccessError)();let r=void 0===t.W;return 0===e.iteratorType?r&&e.next():(!r||void 0===t.U)&&e.next(),this.V(t),e}forEach(e){let t=0;for(let r of this)e(r,t++,this)}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t,r=0;for(let i of this){if(r===e){t=i;break}r+=1}return t}getHeight(){if(0===this.i)return 0;let e=function(t){return t?Math.max(e(t.U),e(t.W))+1:0};return e(this.Y)}};e.default=n})),Hu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Bu(),r=Pu(),i=class extends t.ContainerIterator{constructor(e,t,i){super(i),this.o=e,this.h=t,0===this.iteratorType?(this.pre=function(){return this.o===this.h.U&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,r.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let e=this.o,t=this.h.tt;if(e===this.h)return t?t.rt-1:0;let r=0;for(e.U&&(r+=e.U.rt);e!==t;){let t=e.tt;e===t.W&&(r+=1,t.U&&(r+=t.U.rt)),e=t}return r}};e.default=i})),zu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(Fu()),r=n(Hu()),i=Pu();function n(e){return e&&e.t?e:{default:e}}var a=class e extends r.default{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o.u}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends t.default{constructor(e=[],t,r){super(t,r);let i=this;e.forEach((function(e){i.insert(e)}))}*K(e){void 0!==e&&(yield*this.K(e.U),yield e.u,yield*this.K(e.W))}begin(){return new a(this.h.U||this.h,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this.h.W||this.h,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(e,t){return this.M(e,void 0,t)}find(e){let t=this.I(this.Y,e);return new a(t,this.h,this)}lowerBound(e){let t=this.X(this.Y,e);return new a(t,this.h,this)}upperBound(e){let t=this.Z(this.Y,e);return new a(t,this.h,this)}reverseLowerBound(e){let t=this.$(this.Y,e);return new a(t,this.h,this)}reverseUpperBound(e){let t=this.rr(this.Y,e);return new a(t,this.h,this)}union(e){let t=this;return e.forEach((function(e){t.insert(e)})),this.i}[Symbol.iterator](){return this.K(this.Y)}};e.default=o})),Wu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=n(Fu()),r=n(Hu()),i=Pu();function n(e){return e&&e.t?e:{default:e}}var a=class e extends r.default{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){this.o===this.h&&(0,i.throwIteratorAccessError)();let e=this;return new Proxy([],{get:(t,r)=>"0"===r?e.o.u:"1"===r?e.o.l:void 0,set(t,r,i){if("1"!==r)throw new TypeError("props must be 1");return e.o.l=i,!0}})}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends t.default{constructor(e=[],t,r){super(t,r);let i=this;e.forEach((function(e){i.setElement(e[0],e[1])}))}*K(e){void 0!==e&&(yield*this.K(e.U),yield[e.u,e.l],yield*this.K(e.W))}begin(){return new a(this.h.U||this.h,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this.h.W||this.h,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){if(0===this.i)return;let e=this.h.U;return[e.u,e.l]}back(){if(0===this.i)return;let e=this.h.W;return[e.u,e.l]}lowerBound(e){let t=this.X(this.Y,e);return new a(t,this.h,this)}upperBound(e){let t=this.Z(this.Y,e);return new a(t,this.h,this)}reverseLowerBound(e){let t=this.$(this.Y,e);return new a(t,this.h,this)}reverseUpperBound(e){let t=this.rr(this.Y,e);return new a(t,this.h,this)}setElement(e,t,r){return this.M(e,t,r)}find(e){let t=this.I(this.Y,e);return new a(t,this.h,this)}getElementByKey(e){return this.I(this.Y,e).l}union(e){let t=this;return e.forEach((function(e){t.setElement(e[0],e[1])})),this.i}[Symbol.iterator](){return this.K(this.Y)}};e.default=o})),Vu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=function(e){let t=typeof e;return"object"===t&&null!==e||"function"===t}})),$u=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t,r=Bu(),i=(t=Vu())&&t.t?t:{default:t},n=Pu();var a=class extends r.ContainerIterator{constructor(e,t,r){super(r),this.o=e,this.h=t,0===this.iteratorType?(this.pre=function(){return this.o.L===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=a;var o=class extends r.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(e){let{L:t,B:r}=e;t.B=r,r.L=t,e===this.p&&(this.p=r),e===this._&&(this._=t),this.i-=1}M(e,t,r){let n;if(void 0===r&&(r=(0,i.default)(e)),r){let r=e[this.HASH_TAG];if(void 0!==r)return this.H[r].l=t,this.i;Object.defineProperty(e,this.HASH_TAG,{value:this.H.length,configurable:!0}),n={u:e,l:t,L:this._,B:this.h},this.H.push(n)}else{let r=this.g[e];if(r)return r.l=t,this.i;n={u:e,l:t,L:this._,B:this.h},this.g[e]=n}return 0===this.i?(this.p=n,this.h.B=n):this._.B=n,this._=n,this.h.L=n,++this.i}I(e,t){if(void 0===t&&(t=(0,i.default)(e)),t){let t=e[this.HASH_TAG];return void 0===t?this.h:this.H[t]}return this.g[e]||this.h}clear(){let e=this.HASH_TAG;this.H.forEach((function(t){delete t.u[e]})),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(e,t){let r;if(void 0===t&&(t=(0,i.default)(e)),t){let t=e[this.HASH_TAG];if(void 0===t)return!1;delete e[this.HASH_TAG],r=this.H[t],delete this.H[t]}else{if(r=this.g[e],void 0===r)return!1;delete this.g[e]}return this.V(r),!0}eraseElementByIterator(e){let t=e.o;return t===this.h&&(0,n.throwIteratorAccessError)(),this.V(t),e.next()}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return this.V(t),this.i}};e.HashContainer=o})),qu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=$u(),r=Pu(),i=class e extends t.HashContainerIterator{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},n=class extends t.HashContainer{constructor(e=[]){super();let t=this;e.forEach((function(e){t.insert(e)}))}begin(){return new i(this.p,this.h,this)}end(){return new i(this.h,this.h,this)}rBegin(){return new i(this._,this.h,this,1)}rEnd(){return new i(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(e,t){return this.M(e,void 0,t)}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return t.u}find(e,t){let r=this.I(e,t);return new i(r,this.h,this)}forEach(e){let t=0,r=this.p;for(;r!==this.h;)e(r.u,t++,this),r=r.B}[Symbol.iterator](){return function*(){let e=this.p;for(;e!==this.h;)yield e.u,e=e.B}.bind(this)()}};e.default=n})),Yu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,r=$u(),i=(t=Vu())&&t.t?t:{default:t},n=Pu();var a=class e extends r.HashContainerIterator{constructor(e,t,r,i){super(e,t,i),this.container=r}get pointer(){this.o===this.h&&(0,n.throwIteratorAccessError)();let e=this;return new Proxy([],{get:(t,r)=>"0"===r?e.o.u:"1"===r?e.o.l:void 0,set(t,r,i){if("1"!==r)throw new TypeError("props must be 1");return e.o.l=i,!0}})}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},o=class extends r.HashContainer{constructor(e=[]){super();let t=this;e.forEach((function(e){t.setElement(e[0],e[1])}))}begin(){return new a(this.p,this.h,this)}end(){return new a(this.h,this.h,this)}rBegin(){return new a(this._,this.h,this,1)}rEnd(){return new a(this.h,this.h,this,1)}front(){if(0!==this.i)return[this.p.u,this.p.l]}back(){if(0!==this.i)return[this._.u,this._.l]}setElement(e,t,r){return this.M(e,t,r)}getElementByKey(e,t){if(void 0===t&&(t=(0,i.default)(e)),t){let t=e[this.HASH_TAG];return void 0!==t?this.H[t].l:void 0}let r=this.g[e];return r?r.l:void 0}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return[t.u,t.l]}find(e,t){let r=this.I(e,t);return new a(r,this.h,this)}forEach(e){let t=0,r=this.p;for(;r!==this.h;)e([r.u,r.l],t++,this),r=r.B}[Symbol.iterator](){return function*(){let e=this.p;for(;e!==this.h;)yield[e.u,e.l],e=e.B}.bind(this)()}};e.default=o})),Ku=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return n.default}});var t=d(Iu()),r=d(Ru()),i=d(Mu()),n=d(Nu()),a=d(Du()),o=d(Lu()),s=d(zu()),l=d(Wu()),c=d(qu()),h=d(Yu());function d(e){return e&&e.t?e:{default:e}}})),Gu=Js(((e,t)=>{el(),$c(),Rc();var r=Ku().OrderedSet,i=uu()("number-allocator:trace"),n=uu()("number-allocator:error");function a(e,t){this.low=e,this.high=t}function o(e,t){if(!(this instanceof o))return new o(e,t);this.min=e,this.max=t,this.ss=new r([],((e,t)=>e.compare(t))),i("Create"),this.clear()}a.prototype.equals=function(e){return this.low===e.low&&this.high===e.high},a.prototype.compare=function(e){return this.low<e.low&&this.high<e.low?-1:e.low<this.low&&e.high<this.low?1:0},o.prototype.firstVacant=function(){return 0===this.ss.size()?null:this.ss.front().low},o.prototype.alloc=function(){if(0===this.ss.size())return i("alloc():empty"),null;let e=this.ss.begin(),t=e.pointer.low,r=e.pointer.high,n=t;return n+1<=r?this.ss.updateKeyByIterator(e,new a(t+1,r)):this.ss.eraseElementByPos(0),i("alloc():"+n),n},o.prototype.use=function(e){let t=new a(e,e),r=this.ss.lowerBound(t);if(!r.equals(this.ss.end())){let n=r.pointer.low,o=r.pointer.high;return r.pointer.equals(t)?(this.ss.eraseElementByIterator(r),i("use():"+e),!0):!(n>e)&&(n===e?(this.ss.updateKeyByIterator(r,new a(n+1,o)),i("use():"+e),!0):o===e?(this.ss.updateKeyByIterator(r,new a(n,o-1)),i("use():"+e),!0):(this.ss.updateKeyByIterator(r,new a(e+1,o)),this.ss.insert(new a(n,e-1)),i("use():"+e),!0))}return i("use():failed"),!1},o.prototype.free=function(e){if(e<this.min||e>this.max)return void n("free():"+e+" is out of range");let t=new a(e,e),r=this.ss.upperBound(t);if(r.equals(this.ss.end())){if(r.equals(this.ss.begin()))return void this.ss.insert(t);r.pre();let i=r.pointer.high;r.pointer.high+1===e?this.ss.updateKeyByIterator(r,new a(i,e)):this.ss.insert(t)}else if(r.equals(this.ss.begin()))if(e+1===r.pointer.low){let t=r.pointer.high;this.ss.updateKeyByIterator(r,new a(e,t))}else this.ss.insert(t);else{let i=r.pointer.low,n=r.pointer.high;r.pre();let o=r.pointer.low;r.pointer.high+1===e?e+1===i?(this.ss.eraseElementByIterator(r),this.ss.updateKeyByIterator(r,new a(o,n))):this.ss.updateKeyByIterator(r,new a(o,e)):e+1===i?(this.ss.eraseElementByIterator(r.next()),this.ss.insert(new a(e,n))):this.ss.insert(t)}i("free():"+e)},o.prototype.clear=function(){i("clear()"),this.ss.clear(),this.ss.insert(new a(this.min,this.max))},o.prototype.intervalCount=function(){return this.ss.size()},o.prototype.dump=function(){for(let e of this.ss);},t.exports=o})),Qu=Js(((e,t)=>{el(),$c(),Rc();var r=Gu();t.exports.NumberAllocator=r})),Ju=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=Cu(),r=Qu();e.default=class{constructor(e){e>0&&(this.aliasToTopic=new t.LRUCache({max:e}),this.topicToAlias={},this.numberAllocator=new r.NumberAllocator(1,e),this.max=e,this.length=0)}put(e,t){if(0===t||t>this.max)return!1;let r=this.aliasToTopic.get(t);return r&&delete this.topicToAlias[r],this.aliasToTopic.set(t,e),this.topicToAlias[e]=t,this.numberAllocator.use(t),this.length=this.aliasToTopic.size,!0}getTopicByAlias(e){return this.aliasToTopic.get(e)}getAliasByTopic(e){let t=this.topicToAlias[e];return typeof t<"u"&&this.aliasToTopic.get(t),t}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}}})),Xu=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=ku(),i=t(Ju()),n=Tu();e.default=(e,t)=>{e.log("_handleConnack");let{options:a}=e,o=5===a.protocolVersion?t.reasonCode:t.returnCode;if(clearTimeout(e.connackTimer),delete e.topicAliasSend,t.properties){if(t.properties.topicAliasMaximum){if(t.properties.topicAliasMaximum>65535)return void e.emit("error",new Error("topicAliasMaximum from broker is out of range"));t.properties.topicAliasMaximum>0&&(e.topicAliasSend=new i.default(t.properties.topicAliasMaximum))}t.properties.serverKeepAlive&&a.keepalive&&(a.keepalive=t.properties.serverKeepAlive,e._shiftPingInterval()),t.properties.maximumPacketSize&&(a.properties||(a.properties={}),a.properties.maximumPacketSize=t.properties.maximumPacketSize)}if(0===o)e.reconnecting=!1,e._onConnect(t);else if(o>0){let t=new n.ErrorWithReasonCode(`Connection refused: ${r.ReasonCodes[o]}`,o);e.emit("error",t)}}})),Zu=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});e.default=(e,t,r)=>{e.log("handling pubrel packet");let i=typeof r<"u"?r:e.noop,{messageId:n}=t,a={cmd:"pubcomp",messageId:n};e.incomingStore.get(t,((t,r)=>{t?e._sendPacket(a,i):(e.emit("message",r.topic,r.payload,r),e.handleMessage(r,(t=>{if(t)return i(t);e.incomingStore.del(r,e.noop),e._sendPacket(a,i)})))}))}})),ep=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(Su()),i=t(Au()),n=t(Xu()),a=t(ku()),o=t(Zu());e.default=(e,t,s)=>{let{options:l}=e;if(5===l.protocolVersion&&l.properties&&l.properties.maximumPacketSize&&l.properties.maximumPacketSize<t.length)return e.emit("error",new Error(`exceeding packets size ${t.cmd}`)),e.end({reasonCode:149,properties:{reasonString:"Maximum packet size was exceeded"}}),e;switch(e.log("_handlePacket :: emitting packetreceive"),e.emit("packetreceive",t),t.cmd){case"publish":(0,r.default)(e,t,s);break;case"puback":case"pubrec":case"pubcomp":case"suback":case"unsuback":(0,a.default)(e,t),s();break;case"pubrel":(0,o.default)(e,t,s);break;case"connack":(0,n.default)(e,t),s();break;case"auth":(0,i.default)(e,t),s();break;case"pingresp":e.pingResp=!0,s();break;case"disconnect":e.emit("disconnect",t),s();break;default:e.log("_handlePacket :: unknown command"),s()}}})),tp=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var r=t((kh(),Zs(bh))),i=Tu(),n=class{};e.TypedEventEmitter=n,(0,i.applyMixin)(n,r.default)})),rp=Js(((e,t)=>{var r,i;el(),$c(),Rc(),r=e,i=function(e){var t,r=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,i=536870912,n=2*i,a=new WeakMap,o=function(e,t){return function(a){var o=t.get(a),s=void 0===o?a.size:o<n?o+1:0;if(!a.has(s))return e(a,s);if(a.size<i){for(;a.has(s);)s=Math.floor(Math.random()*n);return e(a,s)}if(a.size>r)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;a.has(s);)s=Math.floor(Math.random()*r);return e(a,s)}}((t=a,function(e,r){return t.set(e,r),r}),a),s=function(e){return function(t){var r=e(t);return t.add(r),r}}(o);e.addUniqueNumber=s,e.generateUniqueNumber=o},"object"==typeof e&&typeof t<"u"?i(e):"function"==typeof define&&define.amd?define(["exports"],i):i((r=typeof globalThis<"u"?globalThis:r||self).fastUniqueNumbers={})})),ip=Js(((e,t)=>{var r,i;el(),$c(),Rc(),r=e,i=function(e,t){e.load=function(e){var r=new Map([[0,function(){}]]),i=new Map([[0,function(){}]]),n=new Map,a=new Worker(e);return a.addEventListener("message",(function(e){var t=e.data;if(function(e){return void 0!==e.method&&"call"===e.method}(t)){var a=t.params,o=a.timerId,s=a.timerType;if("interval"===s){var l=r.get(o);if("number"==typeof l){var c=n.get(l);if(void 0===c||c.timerId!==o||c.timerType!==s)throw new Error("The timer is in an undefined state.")}else{if(!(typeof l<"u"))throw new Error("The timer is in an undefined state.");l()}}else if("timeout"===s){var h=i.get(o);if("number"==typeof h){var d=n.get(h);if(void 0===d||d.timerId!==o||d.timerType!==s)throw new Error("The timer is in an undefined state.")}else{if(!(typeof h<"u"))throw new Error("The timer is in an undefined state.");h(),i.delete(o)}}}else{if(!function(e){return null===e.error&&"number"==typeof e.id}(t)){var u=t.error.message;throw new Error(u)}var p=t.id,f=n.get(p);if(void 0===f)throw new Error("The timer is in an undefined state.");var g=f.timerId,m=f.timerType;n.delete(p),"interval"===m?r.delete(g):i.delete(g)}})),{clearInterval:function(e){var i=t.generateUniqueNumber(n);n.set(i,{timerId:e,timerType:"interval"}),r.set(e,i),a.postMessage({id:i,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:function(e){var r=t.generateUniqueNumber(n);n.set(r,{timerId:e,timerType:"timeout"}),i.set(e,r),a.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:function(e,i){var n=t.generateUniqueNumber(r);return r.set(n,(function(){e(),"function"==typeof r.get(n)&&a.postMessage({id:null,method:"set",params:{delay:i,now:performance.now(),timerId:n,timerType:"interval"}})})),a.postMessage({id:null,method:"set",params:{delay:i,now:performance.now(),timerId:n,timerType:"interval"}}),n},setTimeout:function(e,r){var n=t.generateUniqueNumber(i);return i.set(n,e),a.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:n,timerType:"timeout"}}),n}}}},"object"==typeof e&&typeof t<"u"?i(e,rp()):"function"==typeof define&&define.amd?define(["exports","fast-unique-numbers"],i):i((r=typeof globalThis<"u"?globalThis:r||self).workerTimersBroker={},r.fastUniqueNumbers)})),np=Js(((e,t)=>{var r,i;el(),$c(),Rc(),r=e,i=function(e,t){var r,i,n,a=(r=t.load,i='(()=>{var e={67:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error(\'The given type "\'.concat(c,\'" is not supported\'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error(\'The given method "\'.concat(t.method,\'" is not supported\'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error(\'The given type "\'.concat(v,\'" is not supported\'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(67)})()})();',n=null,function(){if(null!==n)return n;var e=new Blob([i],{type:"application/javascript; charset=utf-8"}),t=URL.createObjectURL(e);return n=r(t),setTimeout((function(){return URL.revokeObjectURL(t)})),n});e.clearInterval=function(e){return a().clearInterval(e)},e.clearTimeout=function(e){return a().clearTimeout(e)},e.setInterval=function(e,t){return a().setInterval(e,t)},e.setTimeout=function(e,t){return a().setTimeout(e,t)}},"object"==typeof e&&typeof t<"u"?i(e,ip()):"function"==typeof define&&define.amd?define(["exports","worker-timers-broker"],i):i((r=typeof globalThis<"u"?globalThis:r||self).workerTimers={},r.workerTimersBroker)})),ap=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.isWebWorker=void 0;var t=()=>{var e,t;return!("object"!=typeof self||null===(t=null===(e=null==self?void 0:self.constructor)||void 0===e?void 0:e.name)||void 0===t||!t.includes("WorkerGlobalScope"))},r=typeof window<"u"&&typeof window.document<"u"||t()||typeof navigator<"u"&&"ReactNative"===navigator.product;e.isWebWorker=t(),e.default=r})),op=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i};Object.defineProperty(e,"__esModule",{value:!0});var n=np(),a=i(ap());e.default=class{constructor(e,t){this._setTimeout=a.default&&!a.isWebWorker?n.setTimeout:(e,t)=>setTimeout(e,t),this._clearTimeout=a.default&&!a.isWebWorker?n.clearTimeout:e=>clearTimeout(e),this.keepalive=1e3*e,this.checkPing=t,this.setup()}setup(){this.timer=this._setTimeout((()=>{this.checkPing(),this.reschedule()}),this.keepalive)}clear(){this.timer&&(this._clearTimeout(this.timer),this.timer=null)}reschedule(){this.clear(),this.setup()}}})),sp=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i},n=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var a=n(qc()),o=n(yu()),s=n(bu()),l=nu(),c=n(_u()),h=i(xu()),d=n(uu()),u=n(Eu()),p=n(ep()),f=Tu(),g=tp(),m=n(op()),v=globalThis.setImmediate||((...e)=>{let t=e.shift();(0,f.nextTick)((()=>{t(...e)}))}),y={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:3e4,clean:!0,resubscribe:!0,writeCache:!0},b=class e extends g.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(t,r){super(),this.options=r||{};for(let e in y)typeof this.options[e]>"u"?this.options[e]=y[e]:this.options[e]=r[e];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: options.protocol",r.protocol),this.log("MqttClient :: options.protocolVersion",r.protocolVersion),this.log("MqttClient :: options.username",r.username),this.log("MqttClient :: options.keepalive",r.keepalive),this.log("MqttClient :: options.reconnectPeriod",r.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",r.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",r.properties?r.properties.topicAliasMaximum:void 0),this.options.clientId="string"==typeof r.clientId?r.clientId:e.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=5===r.protocolVersion&&r.customHandleAcks?r.customHandleAcks:(...e)=>{e[3](null,0)},this.options.writeCache||(o.default.writeToStream.cacheNumbers=!1),this.streamBuilder=t,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new s.default:this.options.messageIdProvider,this.outgoingStore=r.outgoingStore||new u.default,this.incomingStore=r.incomingStore||new u.default,this.queueQoSZero=void 0===r.queueQoSZero||r.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.pingTimer=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,r.properties&&r.properties.topicAliasMaximum>0&&(r.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new a.default(r.properties.topicAliasMaximum)),this.on("connect",(()=>{let{queue:e}=this,t=()=>{let r=e.shift();this.log("deliver :: entry %o",r);let i=null;if(!r)return void this._resubscribe();i=r.packet,this.log("deliver :: call _sendPacket for %o",i);let n=!0;i.messageId&&0!==i.messageId&&(this.messageIdProvider.register(i.messageId)||(n=!1)),n?this._sendPacket(i,(e=>{r.cb&&r.cb(e),t()})):(this.log("messageId: %d has already used. The message is skipped and removed.",i.messageId),t())};this.log("connect :: sending queued packets"),t()})),this.on("close",(()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this.log("close :: clearing ping timer"),null!==this.pingTimer&&(this.pingTimer.clear(),this.pingTimer=null),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()})),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(e,t){t()}handleMessage(e,t){t()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var e;let t=new l.Writable,r=o.default.parser(this.options),i=null,n=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),r.on("packet",(e=>{this.log("parser :: on packet push to packets array."),n.push(e)}));let a=()=>{this.log("work :: getting next packet in queue");let e=n.shift();if(e)this.log("work :: packet pulled from queue"),(0,p.default)(this,e,s);else{this.log("work :: no packets in queue");let e=i;i=null,this.log("work :: done flag is %s",!!e),e&&e()}},s=()=>{if(n.length)(0,f.nextTick)(a);else{let e=i;i=null,e()}};t._write=(e,t,n)=>{i=n,this.log("writable stream :: parsing buffer"),r.parse(e),a()};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(t),this.stream.on("error",(e=>{this.log("streamErrorHandler :: error",e.message),e.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",e)):this.noop(e)})),this.stream.on("close",(()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")})),this.log("connect: sending packet `connect`");let c={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(c.will=Object.assign(Object.assign({},this.options.will),{payload:null===(e=this.options.will)||void 0===e?void 0:e.payload})),this.topicAliasRecv&&(c.properties||(c.properties={}),this.topicAliasRecv&&(c.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(c),r.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end((()=>this.emit("error",new Error("Packet has no Authentication Method")))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&"object"==typeof this.options.authPacket){let e=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(e)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout((()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this._cleanUp(!0)}),this.options.connectTimeout),this}publish(e,t,r,i){this.log("publish :: message `%s` to topic `%s`",t,e);let{options:n}=this;"function"==typeof r&&(i=r,r=null),r=r||{},r=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),r);let{qos:a,retain:o,dup:s,properties:l,cbStorePut:c}=r;if(this._checkDisconnecting(i))return this;let h=()=>{let r=0;if((1===a||2===a)&&(r=this._nextId(),null===r))return this.log("No messageId left"),!1;let h={cmd:"publish",topic:e,payload:t,qos:a,retain:o,messageId:r,dup:s};switch(5===n.protocolVersion&&(h.properties=l),this.log("publish :: qos",a),a){case 1:case 2:this.outgoing[h.messageId]={volatile:!1,cb:i||this.noop},this.log("MqttClient:publish: packet cmd: %s",h.cmd),this._sendPacket(h,void 0,c);break;default:this.log("MqttClient:publish: packet cmd: %s",h.cmd),this._sendPacket(h,i,c)}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!h())&&this._storeProcessingQueue.push({invoke:h,cbStorePut:r.cbStorePut,callback:i}),this}publishAsync(e,t,r){return new Promise(((i,n)=>{this.publish(e,t,r,((e,t)=>{e?n(e):i(t)}))}))}subscribe(e,t,r){let i=this.options.protocolVersion;"function"==typeof t&&(r=t),r=r||this.noop;let n=!1,a=[];"string"==typeof e?a=e=[e]:Array.isArray(e)?a=e:"object"==typeof e&&(n=e.resubscribe,delete e.resubscribe,a=Object.keys(e));let o=h.validateTopics(a);if(null!==o)return v(r,new Error(`Invalid topic ${o}`)),this;if(this._checkDisconnecting(r))return this.log("subscribe: discconecting true"),this;let s={qos:0};5===i&&(s.nl=!1,s.rap=!1,s.rh=0);let l=(t=Object.assign(Object.assign({},s),t)).properties,c=[],d=(e,r)=>{if(r=r||t,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,e)||this._resubscribeTopics[e].qos<r.qos||n){let t={topic:e,qos:r.qos};5===i&&(t.nl=r.nl,t.rap=r.rap,t.rh=r.rh,t.properties=l),this.log("subscribe: pushing topic `%s` and qos `%s` to subs list",t.topic,t.qos),c.push(t)}};if(Array.isArray(e)?e.forEach((e=>{this.log("subscribe: array topic %s",e),d(e)})):Object.keys(e).forEach((t=>{this.log("subscribe: object topic %s, %o",t,e[t]),d(t,e[t])})),!c.length)return r(null,[]),this;let u=()=>{let e=this._nextId();if(null===e)return this.log("No messageId left"),!1;let t={cmd:"subscribe",subscriptions:c,messageId:e};if(l&&(t.properties=l),this.options.resubscribe){this.log("subscribe :: resubscribe true");let e=[];c.forEach((t=>{if(this.options.reconnectPeriod>0){let r={qos:t.qos};5===i&&(r.nl=t.nl||!1,r.rap=t.rap||!1,r.rh=t.rh||0,r.properties=t.properties),this._resubscribeTopics[t.topic]=r,e.push(t.topic)}})),this.messageIdToTopic[t.messageId]=e}return this.outgoing[t.messageId]={volatile:!0,cb(e,t){if(!e){let{granted:e}=t;for(let t=0;t<e.length;t+=1)c[t].qos=e[t]}r(e,c)}},this.log("subscribe :: call _sendPacket"),this._sendPacket(t),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!u())&&this._storeProcessingQueue.push({invoke:u,callback:r}),this}subscribeAsync(e,t){return new Promise(((r,i)=>{this.subscribe(e,t,((e,t)=>{e?i(e):r(t)}))}))}unsubscribe(e,t,r){"string"==typeof e&&(e=[e]),"function"==typeof t&&(r=t),r=r||this.noop;let i=h.validateTopics(e);if(null!==i)return v(r,new Error(`Invalid topic ${i}`)),this;if(this._checkDisconnecting(r))return this;let n=()=>{let i=this._nextId();if(null===i)return this.log("No messageId left"),!1;let n={cmd:"unsubscribe",messageId:i,unsubscriptions:[]};return"string"==typeof e?n.unsubscriptions=[e]:Array.isArray(e)&&(n.unsubscriptions=e),this.options.resubscribe&&n.unsubscriptions.forEach((e=>{delete this._resubscribeTopics[e]})),"object"==typeof t&&t.properties&&(n.properties=t.properties),this.outgoing[n.messageId]={volatile:!0,cb:r},this.log("unsubscribe: call _sendPacket"),this._sendPacket(n),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!n())&&this._storeProcessingQueue.push({invoke:n,callback:r}),this}unsubscribeAsync(e,t){return new Promise(((r,i)=>{this.unsubscribe(e,t,((e,t)=>{e?i(e):r(t)}))}))}end(e,t,r){this.log("end :: (%s)",this.options.clientId),(null==e||"boolean"!=typeof e)&&(r=r||t,t=e,e=!1),"object"!=typeof t&&(r=r||t,t=null),this.log("end :: cb? %s",!!r),(!r||"function"!=typeof r)&&(r=this.noop);let i=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close((e=>{this.outgoingStore.close((t=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),r){let i=e||t;this.log("end :: closeStores: invoking callback with args"),r(i)}}))})),this._deferredReconnect&&this._deferredReconnect()},n=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,e),this._cleanUp(e,(()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,f.nextTick)(i)}),t)};return this.disconnecting?(r(),this):(this._clearReconnect(),this.disconnecting=!0,!e&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,n,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),n()),this)}endAsync(e,t){return new Promise(((r,i)=>{this.end(e,t,(e=>{e?i(e):r()}))}))}removeOutgoingMessage(e){if(this.outgoing[e]){let{cb:t}=this.outgoing[e];this._removeOutgoingAndStoreMessage(e,(()=>{t(new Error("Message removed"))}))}return this}reconnect(e){this.log("client reconnect");let t=()=>{e?(this.options.incomingStore=e.incomingStore,this.options.outgoingStore=e.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new u.default,this.outgoingStore=this.options.outgoingStore||new u.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=t:t(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach((e=>{this.outgoing[e].volatile&&"function"==typeof this.outgoing[e].cb&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])})))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach((e=>{"function"==typeof this.outgoing[e].cb&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])})))}_removeTopicAliasAndRecoverTopicName(e){let t;e.properties&&(t=e.properties.topicAlias);let r=e.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",t,r),0===r.length){if(typeof t>"u")return new Error("Unregistered Topic Alias");if(r=this.topicAliasSend.getTopicByAlias(t),typeof r>"u")return new Error("Unregistered Topic Alias");e.topic=r}t&&delete e.properties.topicAlias}_checkDisconnecting(e){return this.disconnecting&&(e&&e!==this.noop?e(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end((()=>{this.connect()})),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval((()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()}),this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(e,t,r={}){if(t&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",t)),this.log("_cleanUp :: forced? %s",e),e)0===this.options.reconnectPeriod&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let e=Object.assign({cmd:"disconnect"},r);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(e,(()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),v((()=>{this.stream.end((()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)}))}))}))}this.disconnecting||(this.log("_cleanUp :: client not disconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),null!==this.pingTimer&&(this.log("_cleanUp :: clearing pingTimer"),this.pingTimer.clear(),this.pingTimer=null),t&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",t),t())}_storeAndSend(e,t,r){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",e.cmd);let i,n=e;if("publish"===n.cmd&&(n=(0,c.default)(e),i=this._removeTopicAliasAndRecoverTopicName(n),i))return t&&t(i);this.outgoingStore.put(n,(i=>{if(i)return t&&t(i);r(),this._writePacket(e,t)}))}_applyTopicAlias(e){if(5===this.options.protocolVersion&&"publish"===e.cmd){let t;e.properties&&(t=e.properties.topicAlias);let r=e.topic.toString();if(this.topicAliasSend)if(t){if(0!==r.length&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",r,t),!this.topicAliasSend.put(r,t)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,t),new Error("Sending Topic Alias out of range")}else 0!==r.length&&(this.options.autoAssignTopicAlias?(t=this.topicAliasSend.getAliasByTopic(r),t?(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",r,t)):(t=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(r,t),e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",r,t))):this.options.autoUseTopicAlias&&(t=this.topicAliasSend.getAliasByTopic(r),t&&(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",r,t))));else if(t)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,t),new Error("Sending Topic Alias out of range")}}_noop(e){this.log("noop ::",e)}_writePacket(e,t){this.log("_writePacket :: packet: %O",e),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",e),this._shiftPingInterval(),this.log("_writePacket :: writing to stream");let r=o.default.writeToStream(e,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",r),!r&&t&&t!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",t)):t&&(this.log("_writePacket :: invoking cb"),t())}_sendPacket(e,t,r,i){this.log("_sendPacket :: (%s) :: start",this.options.clientId),r=r||this.noop,t=t||this.noop;let n=this._applyTopicAlias(e);if(n)t(n);else{if(!this.connected)return"auth"===e.cmd?void this._writePacket(e,t):(this.log("_sendPacket :: client not connected. Storing packet offline."),void this._storePacket(e,t,r));if(i)this._writePacket(e,t);else{switch(e.cmd){case"publish":break;case"pubrel":return void this._storeAndSend(e,t,r);default:return void this._writePacket(e,t)}switch(e.qos){case 2:case 1:this._storeAndSend(e,t,r);break;default:this._writePacket(e,t)}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}}}_storePacket(e,t,r){this.log("_storePacket :: packet: %o",e),this.log("_storePacket :: cb? %s",!!t),r=r||this.noop;let i=e;if("publish"===i.cmd){i=(0,c.default)(e);let r=this._removeTopicAliasAndRecoverTopicName(i);if(r)return t&&t(r)}let n=i.qos||0;0===n&&this.queueQoSZero||"publish"!==i.cmd?this.queue.push({packet:i,cb:t}):n>0?(t=this.outgoing[i.messageId]?this.outgoing[i.messageId].cb:null,this.outgoingStore.put(i,(e=>{if(e)return t&&t(e);r()}))):t&&t(new Error("No connection to broker"))}_setupPingTimer(){this.log("_setupPingTimer :: keepalive %d (seconds)",this.options.keepalive),!this.pingTimer&&this.options.keepalive&&(this.pingResp=!0,this.pingTimer=new m.default(this.options.keepalive,(()=>{this._checkPing()})))}_shiftPingInterval(){this.pingTimer&&this.options.keepalive&&this.options.reschedulePings&&this.pingTimer.reschedule()}_checkPing(){this.log("_checkPing :: checking ping..."),this.pingResp?(this.log("_checkPing :: ping response received. Clearing flag and sending `pingreq`"),this.pingResp=!1,this._sendPacket({cmd:"pingreq"})):(this.log("_checkPing :: calling _cleanUp with force true"),this._cleanUp(!0))}_resubscribe(){this.log("_resubscribe");let e=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&e.length>0)if(this.options.resubscribe)if(5===this.options.protocolVersion){this.log("_resubscribe: protocolVersion 5");for(let t=0;t<e.length;t++){let r={};r[e[t]]=this._resubscribeTopics[e[t]],r.resubscribe=!0,this.subscribe(r,{properties:r[e[t]].properties})}}else this._resubscribeTopics.resubscribe=!0,this.subscribe(this._resubscribeTopics);else this._resubscribeTopics={};this._firstConnection=!1}_onConnect(e){if(this.disconnected)return void this.emit("connect",e);this.connackPacket=e,this.messageIdProvider.clear(),this._setupPingTimer(),this.connected=!0;let t=()=>{let r=this.outgoingStore.createStream(),i=()=>{r.destroy(),r=null,this._flushStoreProcessingQueue(),n()},n=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",i),r.on("error",(e=>{n(),this._flushStoreProcessingQueue(),this.removeListener("close",i),this.emit("error",e)}));let a=()=>{if(!r)return;let e,t=r.read(1);t?(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[t.messageId]?a():this.disconnecting||this.reconnectTimer?r.destroy&&r.destroy():(e=this.outgoing[t.messageId]?this.outgoing[t.messageId].cb:null,this.outgoing[t.messageId]={volatile:!1,cb(t,r){e&&e(t,r),a()}},this._packetIdsDuringStoreProcessing[t.messageId]=!0,this.messageIdProvider.register(t.messageId)?this._sendPacket(t,void 0,void 0,!0):this.log("messageId: %d has already used.",t.messageId))):r.once("readable",a)};r.on("end",(()=>{let r=!0;for(let e in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[e]){r=!1;break}this.removeListener("close",i),r?(n(),this._invokeAllStoreProcessingQueue(),this.emit("connect",e)):t()})),a()};t()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let e=this._storeProcessingQueue[0];if(e&&e.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let e of this._storeProcessingQueue)e.cbStorePut&&e.cbStorePut(new Error("Connection closed")),e.callback&&e.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(e,t){delete this.outgoing[e],this.outgoingStore.del({messageId:e},((r,i)=>{t(r,i),this.messageIdProvider.deallocate(e),this._invokeStoreProcessingQueue()}))}};e.default=b})),lp=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t=Qu();e.default=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(e){return this.numberAllocator.use(e)}deallocate(e){this.numberAllocator.free(e)}clear(){this.numberAllocator.clear()}}}));function cp(e){throw new RangeError(gp[e])}function hp(e,t){let r=e.split("@"),i="";return r.length>1&&(i=r[0]+"@",e=r[1]),i+function(e,t){let r=[],i=e.length;for(;i--;)r[i]=t(e[i]);return r}((e=e.replace(fp,".")).split("."),t).join(".")}function dp(e){let t=[],r=0,i=e.length;for(;r<i;){let n=e.charCodeAt(r++);if(n>=55296&&n<=56319&&r<i){let i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),r--)}else t.push(n)}return t}var up,pp,fp,gp,mp,vp,yp,bp,wp,_p,xp,Ep=Qs((()=>{el(),$c(),Rc(),up=/^xn--/,pp=/[^\0-\x7E]/,fp=/[\x2E\u3002\uFF0E\uFF61]/g,gp={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},mp=Math.floor,vp=String.fromCharCode,yp=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},bp=function(e,t,r){let i=0;for(e=r?mp(e/700):e>>1,e+=mp(e/t);e>455;i+=36)e=mp(e/35);return mp(i+36*e/(e+38))},_p=function(e){let t=[],r=(e=dp(e)).length,i=128,n=0,a=72;for(let l of e)l<128&&t.push(vp(l));let o=t.length,s=o;for(o&&t.push("-");s<r;){let r=2147483647;for(let t of e)t>=i&&t<r&&(r=t);let l=s+1;r-i>mp((2147483647-n)/l)&&cp("overflow"),n+=(r-i)*l,i=r;for(let c of e)if(c<i&&++n>2147483647&&cp("overflow"),c==i){let e=n;for(let r=36;;r+=36){let i=r<=a?1:r>=a+26?26:r-a;if(e<i)break;let n=e-i,o=36-i;t.push(vp(yp(i+n%o,0))),e=mp(n/o)}t.push(vp(yp(e,0))),a=bp(n,l,s==o),n=0,++s}++n,++i}return t.join("")},xp={version:"2.1.0",ucs2:{decode:dp,encode:e=>String.fromCodePoint(...e)},decode:wp=function(e){let t=[],r=e.length,i=0,n=128,a=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let l=0;l<o;++l)e.charCodeAt(l)>=128&&cp("not-basic"),t.push(e.charCodeAt(l));for(let l=o>0?o+1:0;l<r;){let o=i;for(let t=1,n=36;;n+=36){l>=r&&cp("invalid-input");let o=(s=e.charCodeAt(l++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:36;(o>=36||o>mp((2147483647-i)/t))&&cp("overflow"),i+=o*t;let c=n<=a?1:n>=a+26?26:n-a;if(o<c)break;let h=36-c;t>mp(2147483647/h)&&cp("overflow"),t*=h}let c=t.length+1;a=bp(i-o,c,0==o),mp(i/c)>2147483647-n&&cp("overflow"),n+=mp(i/c),i%=c,t.splice(i++,0,n)}var s;return String.fromCodePoint(...t)},encode:_p,toASCII:function(e){return hp(e,(function(e){return pp.test(e)?"xn--"+_p(e):e}))},toUnicode:function(e){return hp(e,(function(e){return up.test(e)?wp(e.slice(4).toLowerCase()):e}))}},xp.encode,xp.toASCII,xp.toUnicode,xp.ucs2,xp.version}));function Sp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Tp,kp,Ap,Cp,Bp=Qs((()=>{el(),$c(),Rc(),Tp=function(e,t,r,i){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var a=/\+/g;e=e.split(t);var o=1e3;i&&"number"==typeof i.maxKeys&&(o=i.maxKeys);var s=e.length;o>0&&s>o&&(s=o);for(var l=0;l<s;++l){var c,h,d,u,p=e[l].replace(a,"%20"),f=p.indexOf(r);f>=0?(c=p.substr(0,f),h=p.substr(f+1)):(c=p,h=""),d=decodeURIComponent(c),u=decodeURIComponent(h),Sp(n,d)?Array.isArray(n[d])?n[d].push(u):n[d]=[n[d],u]:n[d]=u}return n},kp=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},Ap=function(e,t,r,i){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(i){var n=encodeURIComponent(kp(i))+r;return Array.isArray(e[i])?e[i].map((function(e){return n+encodeURIComponent(kp(e))})).join(t):n+encodeURIComponent(kp(e[i]))})).join(t):i?encodeURIComponent(kp(i))+r+encodeURIComponent(kp(e)):""},(Cp={}).decode=Cp.parse=Tp,Cp.encode=Cp.stringify=Ap,Cp.decode,Cp.encode,Cp.parse,Cp.stringify}));function Ip(){throw new Error("setTimeout has not been defined")}function Rp(){throw new Error("clearTimeout has not been defined")}function Mp(e){if(Lp===setTimeout)return setTimeout(e,0);if((Lp===Ip||!Lp)&&setTimeout)return Lp=setTimeout,setTimeout(e,0);try{return Lp(e,0)}catch{try{return Lp.call(null,e,0)}catch{return Lp.call(this||Fp,e,0)}}}function Op(){Vp&&zp&&(Vp=!1,zp.length?Wp=zp.concat(Wp):$p=-1,Wp.length&&Pp())}function Pp(){if(!Vp){var e=Mp(Op);Vp=!0;for(var t=Wp.length;t;){for(zp=Wp,Wp=[];++$p<t;)zp&&zp[$p].run();$p=-1,t=Wp.length}zp=null,Vp=!1,function(e){if(Up===clearTimeout)return clearTimeout(e);if((Up===Rp||!Up)&&clearTimeout)return Up=clearTimeout,clearTimeout(e);try{Up(e)}catch{try{return Up.call(null,e)}catch{return Up.call(this||Fp,e)}}}(e)}}function jp(e,t){(this||Fp).fun=e,(this||Fp).array=t}function Np(){}var Dp,Lp,Up,Fp,Hp,zp,Wp,Vp,$p,qp,Yp=Qs((()=>{el(),$c(),Rc(),Fp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,Hp=Dp={},function(){try{Lp="function"==typeof setTimeout?setTimeout:Ip}catch{Lp=Ip}try{Up="function"==typeof clearTimeout?clearTimeout:Rp}catch{Up=Rp}}(),Wp=[],Vp=!1,$p=-1,Hp.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Wp.push(new jp(e,t)),1!==Wp.length||Vp||Mp(Pp)},jp.prototype.run=function(){(this||Fp).fun.apply(null,(this||Fp).array)},Hp.title="browser",Hp.browser=!0,Hp.env={},Hp.argv=[],Hp.version="",Hp.versions={},Hp.on=Np,Hp.addListener=Np,Hp.once=Np,Hp.off=Np,Hp.removeListener=Np,Hp.removeAllListeners=Np,Hp.emit=Np,Hp.prependListener=Np,Hp.prependOnceListener=Np,Hp.listeners=function(e){return[]},Hp.binding=function(e){throw new Error("process.binding is not supported")},Hp.cwd=function(){return"/"},Hp.chdir=function(e){throw new Error("process.chdir is not supported")},Hp.umask=function(){return 0},qp=Dp,qp.argv,qp.binding,qp.browser,qp.chdir,qp.cwd,qp.emit,qp.env,qp.listeners,qp.nextTick,qp.off,qp.on,qp.once,qp.prependListener,qp.prependOnceListener,qp.removeAllListeners,qp.removeListener,qp.title,qp.umask,qp.version,qp.versions}));function Kp(){if(Qp)return Gp;Qp=!0;var e,t,r=Gp={};function i(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function a(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch{try{return e.call(null,t,0)}catch{return e.call(this||Jp,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch{e=i}try{t="function"==typeof clearTimeout?clearTimeout:n}catch{t=n}}();var o,s=[],l=!1,c=-1;function h(){!l||!o||(l=!1,o.length?s=o.concat(s):c=-1,s.length&&d())}function d(){if(!l){var e=a(h);l=!0;for(var r=s.length;r;){for(o=s,s=[];++c<r;)o&&o[c].run();c=-1,r=s.length}o=null,l=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===n||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{return t(e)}catch{try{return t.call(null,e)}catch{return t.call(this||Jp,e)}}}(e)}}function u(e,t){(this||Jp).fun=e,(this||Jp).array=t}function p(){}return r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];s.push(new u(e,t)),1===s.length&&!l&&a(d)},u.prototype.run=function(){(this||Jp).fun.apply(null,(this||Jp).array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0},Gp}var Gp,Qp,Jp,Xp,Zp=Qs((()=>{el(),$c(),Rc(),Gp={},Qp=!1,Jp=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,(Xp=Kp()).platform="browser",Xp.addListener,Xp.argv,Xp.binding,Xp.browser,Xp.chdir,Xp.cwd,Xp.emit,Xp.env,Xp.listeners,Xp.nextTick,Xp.off,Xp.on,Xp.once,Xp.prependListener,Xp.prependOnceListener,Xp.removeAllListeners,Xp.removeListener,Xp.title,Xp.umask,Xp.version,Xp.versions}));var ef,tf,rf,nf=Qs((()=>{el(),$c(),Rc(),Zp(),ef={},tf=!1,rf=function(){if(tf)return ef;tf=!0;var e=Xp;function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,i="",n=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(a!==s-1&&1!==o)if(a!==s-1&&2===o){if(i.length<2||2!==n||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",n=0):n=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),a=s,o=0;continue}}else if(2===i.length||1===i.length){i="",n=0,a=s,o=0;continue}t&&(i.length>0?i+="/..":i="..",n=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),n=s-a-1;a=s,o=0}else 46===r&&-1!==o?++o:o=-1}return i}var i={resolve:function(){for(var i,n="",a=!1,o=arguments.length-1;o>=-1&&!a;o--){var s;o>=0?s=arguments[o]:(void 0===i&&(i=e.cwd()),s=i),t(s),0!==s.length&&(n=s+"/"+n,a=47===s.charCodeAt(0))}return n=r(n,!a),a?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=r(e,!i)).length&&!i&&(e="."),e.length>0&&n&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];t(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=i.resolve(e))===(r=i.resolve(r)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var a=e.length,o=a-n,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,c=o<l?o:l,h=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else o>c&&(47===e.charCodeAt(n+d)?h=d:0===d&&(h=0));break}var u=e.charCodeAt(n+d);if(u!==r.charCodeAt(s+d))break;47===u&&(h=d)}var p="";for(d=n+h+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+h):(s+=h,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),i=47===r,n=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(r=e.charCodeAt(o))){if(!a){n=o;break}}else a=!1;return-1===n?i?"/":".":i&&1===n?"//":e.slice(0,n)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var i,n=0,a=-1,o=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!o){n=i+1;break}}else-1===l&&(o=!1,l=i+1),s>=0&&(c===r.charCodeAt(s)?-1==--s&&(a=i):(s=-1,a=l))}return n===a?a=l:-1===a&&(a=e.length),e.slice(n,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!o){n=i+1;break}}else-1===a&&(o=!1,a=i+1);return-1===a?"":e.slice(n,a)},extname:function(e){t(e);for(var r=-1,i=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===n&&(a=!1,n=s+1),46===l?-1===r?r=s:1!==o&&(o=1):-1!==r&&(o=-1);else if(!a){i=s+1;break}}return-1===r||-1===n||0===o||1===o&&r===n-1&&r===i+1?"":e.slice(r,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+i:r+e+i:i}("/",e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i,n=e.charCodeAt(0),a=47===n;a?(r.root="/",i=1):i=0;for(var o=-1,s=0,l=-1,c=!0,h=e.length-1,d=0;h>=i;--h)if(47!==(n=e.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===n?-1===o?o=h:1!==d&&(d=1):-1!==o&&(d=-1);else if(!c){s=h+1;break}return-1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(r.base=r.name=0===s&&a?e.slice(1,l):e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,ef=i}()})),af={};function of(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function sf(e,t,r){if(e&&ff.isObject(e)&&e instanceof of)return e;var i=new of;return i.parse(e,t,r),i}function lf(e){if("string"==typeof e)e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if("file:"!==e.protocol)throw new Deno.errors.InvalidData("invalid url scheme");return Nf?function(e){let t=e.hostname,r=e.pathname;for(let i=0;i<r.length;i++)if("%"===r[i]){let e=r.codePointAt(i+2)||32;if("2"===r[i+1]&&102===e||"5"===r[i+1]&&99===e)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(Df,"\\"),r=decodeURIComponent(r),""!==t)return`\\\\${t}${r}`;{let e=32|r.codePointAt(1),t=r[2];if(e<Pf||e>jf||":"!==t)throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}(e):function(e){if(""!==e.hostname)throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r<t.length;r++)if("%"===t[r]){let e=t.codePointAt(r+2)||32;if("2"===t[r+1]&&102===e)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function cf(e){let t=If.resolve(e),r=e.charCodeAt(e.length-1);(r===Of||Nf&&r===Mf)&&t[t.length-1]!==If.sep&&(t+="/");let i=new URL("file://");return t.includes("%")&&(t=t.replace(Lf,"%25")),!Nf&&t.includes("\\")&&(t=t.replace(Uf,"%5C")),t.includes("\n")&&(t=t.replace(Ff,"%0A")),t.includes("\r")&&(t=t.replace(Hf,"%0D")),t.includes("\t")&&(t=t.replace(zf,"%09")),i.pathname=t,i}function hf(e){if("string"==typeof e)e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if("file:"!==e.protocol)throw new Deno.errors.InvalidData("invalid url scheme");return eg?function(e){let t=e.hostname,r=e.pathname;for(let i=0;i<r.length;i++)if("%"===r[i]){let e=r.codePointAt(i+2)||32;if("2"===r[i+1]&&102===e||"5"===r[i+1]&&99===e)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(tg,"\\"),r=decodeURIComponent(r),""!==t)return`\\\\${t}${r}`;{let e=32|r.codePointAt(1),t=r[2];if(e<Xf||e>Zf||":"!==t)throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}(e):function(e){if(""!==e.hostname)throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r<t.length;r++)if("%"===t[r]){let e=t.codePointAt(r+2)||32;if("2"===t[r+1]&&102===e)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function df(e){let t=rf.resolve(e),r=e.charCodeAt(e.length-1);(r===Jf||eg&&r===Qf)&&t[t.length-1]!==rf.sep&&(t+="/");let i=new URL("file://");return t.includes("%")&&(t=t.replace(rg,"%25")),!eg&&t.includes("\\")&&(t=t.replace(ig,"%5C")),t.includes("\n")&&(t=t.replace(ng,"%0A")),t.includes("\r")&&(t=t.replace(ag,"%0D")),t.includes("\t")&&(t=t.replace(og,"%09")),i.pathname=t,i}Xs(af,{URL:()=>Gf,Url:()=>Vf,default:()=>uf,fileURLToPath:()=>hf,format:()=>$f,parse:()=>Kf,pathToFileURL:()=>df,resolve:()=>qf,resolveObject:()=>Yf});var uf,pf,ff,gf,mf,vf,yf,bf,wf,_f,xf,Ef,Sf,Tf,kf,Af,Cf,Bf,If,Rf,Mf,Of,Pf,jf,Nf,Df,Lf,Uf,Ff,Hf,zf,Wf,Vf,$f,qf,Yf,Kf,Gf,Qf,Jf,Xf,Zf,eg,tg,rg,ig,ng,ag,og,sg=Qs((()=>{el(),$c(),Rc(),Ep(),Bp(),Yp(),nf(),Zp(),pf=xp,ff={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}},(uf={}).parse=sf,uf.resolve=function(e,t){return sf(e,!1,!0).resolve(t)},uf.resolveObject=function(e,t){return e?sf(e,!1,!0).resolveObject(t):t},uf.format=function(e){return ff.isString(e)&&(e=sf(e)),e instanceof of?e.format():of.prototype.format.call(e)},uf.Url=of,gf=/^([a-z0-9.+-]+:)/i,mf=/:[0-9]*$/,vf=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yf=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),bf=["'"].concat(yf),wf=["%","/","?",";","#"].concat(bf),_f=["/","?","#"],xf=/^[+a-z0-9A-Z_-]{0,63}$/,Ef=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sf={javascript:!0,"javascript:":!0},Tf={javascript:!0,"javascript:":!0},kf={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Af=Cp,of.prototype.parse=function(e,t,r){if(!ff.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),n=-1!==i&&i<e.indexOf("#")?"?":"#",a=e.split(n);a[0]=a[0].replace(/\\/g,"/");var o=e=a.join(n);if(o=o.trim(),!r&&1===e.split("#").length){var s=vf.exec(o);if(s)return this.path=o,this.href=o,this.pathname=s[1],s[2]?(this.search=s[2],this.query=t?Af.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var l=gf.exec(o);if(l){var c=(l=l[0]).toLowerCase();this.protocol=c,o=o.substr(l.length)}if(r||l||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var h="//"===o.substr(0,2);!h||l&&Tf[l]||(o=o.substr(2),this.slashes=!0)}if(!Tf[l]&&(h||l&&!kf[l])){for(var d,u,p=-1,f=0;f<_f.length;f++)-1!==(g=o.indexOf(_f[f]))&&(-1===p||g<p)&&(p=g);for(-1!==(u=-1===p?o.lastIndexOf("@"):o.lastIndexOf("@",p))&&(d=o.slice(0,u),o=o.slice(u+1),this.auth=decodeURIComponent(d)),p=-1,f=0;f<wf.length;f++){var g;-1!==(g=o.indexOf(wf[f]))&&(-1===p||g<p)&&(p=g)}-1===p&&(p=o.length),this.host=o.slice(0,p),o=o.slice(p),this.parseHost(),this.hostname=this.hostname||"";var m="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!m)for(var v=this.hostname.split(/\./),y=(f=0,v.length);f<y;f++){var b=v[f];if(b&&!b.match(xf)){for(var w="",_=0,x=b.length;_<x;_++)b.charCodeAt(_)>127?w+="x":w+=b[_];if(!w.match(xf)){var E=v.slice(0,f),S=v.slice(f+1),T=b.match(Ef);T&&(E.push(T[1]),S.unshift(T[2])),S.length&&(o="/"+S.join(".")+o),this.hostname=E.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),m||(this.hostname=pf.toASCII(this.hostname));var k=this.port?":"+this.port:"",A=this.hostname||"";this.host=A+k,this.href+=this.host,m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==o[0]&&(o="/"+o))}if(!Sf[c])for(f=0,y=bf.length;f<y;f++){var C=bf[f];if(-1!==o.indexOf(C)){var B=encodeURIComponent(C);B===C&&(B=escape(C)),o=o.split(C).join(B)}}var I=o.indexOf("#");-1!==I&&(this.hash=o.substr(I),o=o.slice(0,I));var R=o.indexOf("?");if(-1!==R?(this.search=o.substr(R),this.query=o.substr(R+1),t&&(this.query=Af.parse(this.query)),o=o.slice(0,R)):t&&(this.search="",this.query={}),o&&(this.pathname=o),kf[c]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){k=this.pathname||"";var M=this.search||"";this.path=k+M}return this.href=this.format(),this},of.prototype.format=function(){var e=this.auth||"";e&&(e=(e=encodeURIComponent(e)).replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",i=this.hash||"",n=!1,a="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&ff.isObject(this.query)&&Object.keys(this.query).length&&(a=Af.stringify(this.query));var o=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||kf[t])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),i&&"#"!==i.charAt(0)&&(i="#"+i),o&&"?"!==o.charAt(0)&&(o="?"+o),t+n+(r=r.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(o=o.replace("#","%23"))+i},of.prototype.resolve=function(e){return this.resolveObject(sf(e,!1,!0)).format()},of.prototype.resolveObject=function(e){if(ff.isString(e)){var t=new of;t.parse(e,!1,!0),e=t}for(var r=new of,i=Object.keys(this),n=0;n<i.length;n++){var a=i[n];r[a]=this[a]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var o=Object.keys(e),s=0;s<o.length;s++){var l=o[s];"protocol"!==l&&(r[l]=e[l])}return kf[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!kf[e.protocol]){for(var c=Object.keys(e),h=0;h<c.length;h++){var d=c[h];r[d]=e[d]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||Tf[e.protocol])r.pathname=e.pathname;else{for(var u=(e.pathname||"").split("/");u.length&&!(e.host=u.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==u[0]&&u.unshift(""),u.length<2&&u.unshift(""),r.pathname=u.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var p=r.pathname||"",f=r.search||"";r.path=p+f}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),m=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=m||g||r.host&&e.pathname,y=v,b=r.pathname&&r.pathname.split("/")||[],w=(u=e.pathname&&e.pathname.split("/")||[],r.protocol&&!kf[r.protocol]);if(w&&(r.hostname="",r.port=null,r.host&&(""===b[0]?b[0]=r.host:b.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===u[0]?u[0]=e.host:u.unshift(e.host)),e.host=null),v=v&&(""===u[0]||""===b[0])),m)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,b=u;else if(u.length)b||(b=[]),b.pop(),b=b.concat(u),r.search=e.search,r.query=e.query;else if(!ff.isNullOrUndefined(e.search))return w&&(r.hostname=r.host=b.shift(),(T=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=T.shift(),r.host=r.hostname=T.shift())),r.search=e.search,r.query=e.query,ff.isNull(r.pathname)&&ff.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!b.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var _=b.slice(-1)[0],x=(r.host||e.host||b.length>1)&&("."===_||".."===_)||""===_,E=0,S=b.length;S>=0;S--)"."===(_=b[S])?b.splice(S,1):".."===_?(b.splice(S,1),E++):E&&(b.splice(S,1),E--);if(!v&&!y)for(;E--;E)b.unshift("..");!v||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),x&&"/"!==b.join("/").substr(-1)&&b.push("");var T,k=""===b[0]||b[0]&&"/"===b[0].charAt(0);return w&&(r.hostname=r.host=k?"":b.length?b.shift():"",(T=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=T.shift(),r.host=r.hostname=T.shift())),(v=v||r.host&&b.length)&&!k&&b.unshift(""),b.length?r.pathname=b.join("/"):(r.pathname=null,r.path=null),ff.isNull(r.pathname)&&ff.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},of.prototype.parseHost=function(){var e=this.host,t=mf.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},uf.Url,uf.format,uf.resolve,uf.resolveObject,Cf={},Bf=!1,If=function(){if(Bf)return Cf;Bf=!0;var e=qp;function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,i="",n=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else{if(47===r)break;r=47}if(47===r){if(a!==s-1&&1!==o)if(a!==s-1&&2===o){if(i.length<2||2!==n||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",n=0):n=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),a=s,o=0;continue}}else if(2===i.length||1===i.length){i="",n=0,a=s,o=0;continue}t&&(i.length>0?i+="/..":i="..",n=2)}else i.length>0?i+="/"+e.slice(a+1,s):i=e.slice(a+1,s),n=s-a-1;a=s,o=0}else 46===r&&-1!==o?++o:o=-1}return i}var i={resolve:function(){for(var i,n="",a=!1,o=arguments.length-1;o>=-1&&!a;o--){var s;o>=0?s=arguments[o]:(void 0===i&&(i=e.cwd()),s=i),t(s),0!==s.length&&(n=s+"/"+n,a=47===s.charCodeAt(0))}return n=r(n,!a),a?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var i=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0===(e=r(e,!i)).length&&!i&&(e="."),e.length>0&&n&&(e+="/"),i?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];t(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=i.resolve(e))===(r=i.resolve(r)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var a=e.length,o=a-n,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,c=o<l?o:l,h=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);if(0===d)return r.slice(s+d)}else o>c&&(47===e.charCodeAt(n+d)?h=d:0===d&&(h=0));break}var u=e.charCodeAt(n+d);if(u!==r.charCodeAt(s+d))break;47===u&&(h=d)}var p="";for(d=n+h+1;d<=a;++d)(d===a||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+r.slice(s+h):(s+=h,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),i=47===r,n=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(r=e.charCodeAt(o))){if(!a){n=o;break}}else a=!1;return-1===n?i?"/":".":i&&1===n?"//":e.slice(0,n)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var i,n=0,a=-1,o=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(i=e.length-1;i>=0;--i){var c=e.charCodeAt(i);if(47===c){if(!o){n=i+1;break}}else-1===l&&(o=!1,l=i+1),s>=0&&(c===r.charCodeAt(s)?-1==--s&&(a=i):(s=-1,a=l))}return n===a?a=l:-1===a&&(a=e.length),e.slice(n,a)}for(i=e.length-1;i>=0;--i)if(47===e.charCodeAt(i)){if(!o){n=i+1;break}}else-1===a&&(o=!1,a=i+1);return-1===a?"":e.slice(n,a)},extname:function(e){t(e);for(var r=-1,i=0,n=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===n&&(a=!1,n=s+1),46===l?-1===r?r=s:1!==o&&(o=1):-1!==r&&(o=-1);else if(!a){i=s+1;break}}return-1===r||-1===n||0===o||1===o&&r===n-1&&r===i+1?"":e.slice(r,n)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+i:r+e+i:i}("/",e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var i,n=e.charCodeAt(0),a=47===n;a?(r.root="/",i=1):i=0;for(var o=-1,s=0,l=-1,c=!0,h=e.length-1,d=0;h>=i;--h)if(47!==(n=e.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===n?-1===o?o=h:1!==d&&(d=1):-1!==o&&(d=-1);else if(!c){s=h+1;break}return-1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(r.base=r.name=0===s&&a?e.slice(1,l):e.slice(s,l)):(0===s&&a?(r.name=e.slice(1,o),r.base=e.slice(1,l)):(r.name=e.slice(s,o),r.base=e.slice(s,l)),r.ext=e.slice(o,l)),s>0?r.dir=e.slice(0,s-1):a&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,Cf=i}(),Rf=typeof Deno<"u"?"windows"===Deno.build.os?"win32":Deno.build.os:void 0,uf.URL=typeof URL<"u"?URL:null,uf.pathToFileURL=cf,uf.fileURLToPath=lf,uf.Url,uf.format,uf.resolve,uf.resolveObject,uf.URL,Mf=92,Of=47,Pf=97,jf=122,Nf="win32"===Rf,Df=/\//g,Lf=/%/g,Uf=/\\/g,Ff=/\n/g,Hf=/\r/g,zf=/\t/g,Wf=typeof Deno<"u"?"windows"===Deno.build.os?"win32":Deno.build.os:void 0,uf.URL=typeof URL<"u"?URL:null,uf.pathToFileURL=df,uf.fileURLToPath=hf,Vf=uf.Url,$f=uf.format,qf=uf.resolve,Yf=uf.resolveObject,Kf=uf.parse,Gf=uf.URL,Qf=92,Jf=47,Xf=97,Zf=122,eg="win32"===Wf,tg=/\//g,rg=/%/g,ig=/\\/g,ng=/\n/g,ag=/\r/g,og=/\t/g})),lg={};function cg(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}Xs(lg,{Server:()=>cg,Socket:()=>cg,Stream:()=>cg,_createServerHandle:()=>cg,_normalizeArgs:()=>cg,_setSimultaneousAccepts:()=>cg,connect:()=>cg,createConnection:()=>cg,createServer:()=>cg,default:()=>hg,isIP:()=>cg,isIPv4:()=>cg,isIPv6:()=>cg});var hg,dg=Qs((()=>{el(),$c(),Rc(),hg={_createServerHandle:cg,_normalizeArgs:cg,_setSimultaneousAccepts:cg,connect:cg,createConnection:cg,createServer:cg,isIP:cg,isIPv4:cg,isIPv6:cg,Server:cg,Socket:cg,Stream:cg}})),ug=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((dg(),Zs(lg))),i=(0,t(uu()).default)("mqttjs:tcp");e.default=(e,t)=>{t.port=t.port||1883,t.hostname=t.hostname||t.host||"localhost";let{port:n}=t,a=t.hostname;return i("port %d and host %s",n,a),r.default.createConnection(n,a)}})),pg={};Xs(pg,{default:()=>fg});var fg,gg=Qs((()=>{el(),$c(),Rc(),fg={}})),mg=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=t((gg(),Zs(pg))),i=t((dg(),Zs(lg))),n=(0,t(uu()).default)("mqttjs:tls");e.default=(e,t)=>{t.port=t.port||8883,t.host=t.hostname||t.host||"localhost",0===i.default.isIP(t.host)&&(t.servername=t.host),t.rejectUnauthorized=!1!==t.rejectUnauthorized,delete t.path,n("port %d host %s rejectUnauthorized %b",t.port,t.host,t.rejectUnauthorized);let a=r.default.connect(t);function o(r){t.rejectUnauthorized&&e.emit("error",r),a.end()}return a.on("secureConnect",(()=>{t.rejectUnauthorized&&!a.authorized?a.emit("error",new Error("TLS not authorized")):a.removeListener("error",o)})),a.on("error",o),a}})),vg=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=nu();function r(e,t){let r=new Array(e.length);for(let i=0;i<e.length;i++)"string"==typeof e[i].chunk?r[i]=Hc.from(e[i].chunk,"utf8"):r[i]=e[i].chunk;this._write(Hc.concat(r),"binary",t)}e.writev=r;var i=class extends t.Duplex{constructor(e,t,i){super({objectMode:!0}),this.proxy=t,this.socket=i,this.writeQueue=[],e.objectMode||(this._writev=r.bind(this)),this.isSocketOpen=!1,this.proxy.on("data",(e=>{this.push(e)}))}_read(e){this.proxy.read(e)}_write(e,t,r){this.isSocketOpen?this.writeToProxy(e,t,r):this.writeQueue.push({chunk:e,encoding:t,cb:r})}_final(e){this.writeQueue=[],this.proxy.end(e)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(e,t,r){!1===this.proxy.write(e,t)?this.proxy.once("drain",r):r()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:e,encoding:t,cb:r}=this.writeQueue.shift();this.writeToProxy(e,t,r)}}};e.BufferedDuplex=i})),yg=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,i,n=(Vc(),Zs(Mc)),a=nu(),o=vg();e.default=(e,s)=>{if(s.hostname=s.hostname||s.host,!s.hostname)throw new Error("Could not determine host. Specify host manually.");let l="MQIsdp"===s.protocolId&&3===s.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(s);let c=function(e,t){let r="wxs"===e.protocol?"wss":"ws",i=`${r}://${e.hostname}${e.path}`;return e.port&&80!==e.port&&443!==e.port&&(i=`${r}://${e.hostname}:${e.port}${e.path}`),"function"==typeof e.transformWsUrl&&(i=e.transformWsUrl(i,e,t)),i}(s,e);t=wx.connectSocket({url:c,protocols:[l]}),r=function(){let e=new a.Transform;return e._write=(e,r,i)=>{t.send({data:e.buffer,success(){i()},fail(e){i(new Error(e))}})},e._flush=e=>{t.close({success(){e()}})},e}(),(i=new o.BufferedDuplex(s,r,t))._destroy=(e,r)=>{t.close({success(){r&&r(e)}})};let h=i.destroy;return i.destroy=(e,r)=>(i.destroy=h,setTimeout((()=>{t.close({fail(){i._destroy(e,r)}})}),0),i),t.onOpen((()=>{i.socketReady()})),t.onMessage((e=>{let{data:t}=e;t=t instanceof ArrayBuffer?n.Buffer.from(t):n.Buffer.from(t,"utf8"),r.push(t)})),t.onClose((()=>{i.emit("close"),i.end(),i.destroy()})),t.onError((e=>{let t=new Error(e.errMsg);i.destroy(t)})),i}})),bg=Js((e=>{el(),$c(),Rc(),Object.defineProperty(e,"__esModule",{value:!0});var t,r,i,n=(Vc(),Zs(Mc)),a=nu(),o=vg(),s=!1;e.default=(e,l)=>{if(l.hostname=l.hostname||l.host,!l.hostname)throw new Error("Could not determine host. Specify host manually.");let c="MQIsdp"===l.protocolId&&3===l.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(l);let h=function(e,t){let r="alis"===e.protocol?"wss":"ws",i=`${r}://${e.hostname}${e.path}`;return e.port&&80!==e.port&&443!==e.port&&(i=`${r}://${e.hostname}:${e.port}${e.path}`),"function"==typeof e.transformWsUrl&&(i=e.transformWsUrl(i,e,t)),i}(l,e);return(t=l.my).connectSocket({url:h,protocols:c}),r=function(){let e=new a.Transform;return e._write=(e,r,i)=>{t.sendSocketMessage({data:e.buffer,success(){i()},fail(){i(new Error)}})},e._flush=e=>{t.closeSocket({success(){e()}})},e}(),i=new o.BufferedDuplex(l,r,t),s||(s=!0,t.onSocketOpen((()=>{i.socketReady()})),t.onSocketMessage((e=>{if("string"==typeof e.data){let t=n.Buffer.from(e.data,"base64");r.push(t)}else{let t=new FileReader;t.addEventListener("load",(()=>{let e=t.result;e=e instanceof ArrayBuffer?n.Buffer.from(e):n.Buffer.from(e,"utf8"),r.push(e)})),t.readAsArrayBuffer(e.data)}})),t.onSocketClose((()=>{i.end(),i.destroy()})),t.onSocketError((e=>{i.destroy(e)}))),i}})),wg=Js(((e,t)=>{el(),$c(),Rc(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}})),_g=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var r=(Vc(),Zs(Mc)),i=t(wg()),n=t(uu()),a=nu(),o=t(ap()),s=vg(),l=(0,n.default)("mqttjs:ws"),c=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function h(e,t){let r=`${e.protocol}://${e.hostname}:${e.port}${e.path}`;return"function"==typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}function d(e){let t=e;return e.hostname||(t.hostname="localhost"),e.port||("wss"===e.protocol?t.port=443:t.port=80),e.path||(t.path="/"),e.wsOptions||(t.wsOptions={}),!o.default&&"wss"===e.protocol&&c.forEach((r=>{Object.prototype.hasOwnProperty.call(e,r)&&!Object.prototype.hasOwnProperty.call(e.wsOptions,r)&&(t.wsOptions[r]=e[r])})),t}e.default=o.default?(e,t)=>{l("browserStreamBuilder");let i,n=function(e){let t=d(e);if(t.hostname||(t.hostname=t.host),!t.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let e=new URL(document.URL);t.hostname=e.hostname,t.port||(t.port=Number(e.port))}return void 0===t.objectMode&&(t.objectMode=!(!0===t.binary||void 0===t.binary)),t}(t).browserBufferSize||524288,o=t.browserBufferTimeout||1e3,c=!t.objectMode,u=function(e,t){let r,i="MQIsdp"===t.protocolId&&3===t.protocolVersion?"mqttv3.1":"mqtt",n=h(t,e);return r=t.createWebsocket?t.createWebsocket(n,[i],t):new WebSocket(n,[i]),r.binaryType="arraybuffer",r}(e,t),p=function(e,t,r){let i=new a.Transform({objectMode:e.objectMode});return i._write=t,i._flush=r,i}(t,(function e(t,i,a){if(u.bufferedAmount>n)return void setTimeout(e,o,t,i,a);c&&"string"==typeof t&&(t=r.Buffer.from(t,"utf8"));try{u.send(t)}catch(s){return a(s)}a()}),(function(e){u.close(),e()}));t.objectMode||(p._writev=s.writev.bind(p)),p.on("close",(()=>{u.close()}));let f=typeof u.addEventListener<"u";function g(){l("WebSocket onOpen"),i instanceof s.BufferedDuplex&&i.socketReady()}function m(e){l("WebSocket onClose",e),i.end(),i.destroy()}function v(e){l("WebSocket onError",e);let t=new Error("WebSocket error");t.event=e,i.destroy(t)}function y(e){let{data:t}=e;t=t instanceof ArrayBuffer?r.Buffer.from(t):r.Buffer.from(t,"utf8"),p.push(t)}return u.readyState===u.OPEN?(i=p,i.socket=u):(i=new s.BufferedDuplex(t,p,u),f?u.addEventListener("open",g):u.onopen=g),f?(u.addEventListener("close",m),u.addEventListener("error",v),u.addEventListener("message",y)):(u.onclose=m,u.onerror=v,u.onmessage=y),i}:(e,t)=>{l("streamBuilder");let r=d(t),n=h(r,e),a=function(e,t,r){l("createWebSocket"),l(`protocol: ${r.protocolId} ${r.protocolVersion}`);let n,a="MQIsdp"===r.protocolId&&3===r.protocolVersion?"mqttv3.1":"mqtt";return l(`creating new Websocket for url: ${t} and protocol: ${a}`),n=r.createWebsocket?r.createWebsocket(t,[a],r):new i.default(t,[a],r.wsOptions),n}(0,n,r),o=i.default.createWebSocketStream(a,r.wsOptions);return o.url=n,a.on("close",(()=>{o.destroy()})),o}})),xg=Js((e=>{el(),$c(),Rc();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var r=t(uu()),i=t((sg(),Zs(af))),n=t(sp()),a=t(ap()),o=(0,r.default)("mqttjs"),s={};function l(e,t){if(o("connecting to an MQTT broker..."),"object"==typeof e&&!t&&(t=e,e=""),t=t||{},e&&"string"==typeof e){let r=i.default.parse(e,!0);if(null!=r.port&&(r.port=Number(r.port)),null===(t=Object.assign(Object.assign({},r),t)).protocol)throw new Error("Missing protocol");t.protocol=t.protocol.replace(/:$/,"")}if(function(e){let t;e.auth&&(t=e.auth.match(/^(.+):(.+)$/),t?(e.username=t[1],e.password=t[2]):e.username=e.auth)}(t),t.query&&"string"==typeof t.query.clientId&&(t.clientId=t.query.clientId),t.cert&&t.key){if(!t.protocol)throw new Error("Missing secure protocol key");if(-1===["mqtts","wss","wxs","alis"].indexOf(t.protocol))switch(t.protocol){case"mqtt":t.protocol="mqtts";break;case"ws":t.protocol="wss";break;case"wx":t.protocol="wxs";break;case"ali":t.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${t.protocol}"!`)}}if(!s[t.protocol]){let e=-1!==["mqtts","wss"].indexOf(t.protocol);t.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter(((t,r)=>(!e||r%2!=0)&&"function"==typeof s[t]))[0]}if(!1===t.clean&&!t.clientId)throw new Error("Missing clientId for unclean clients");t.protocol&&(t.defaultProtocol=t.protocol);let r=new n.default((function(e){return t.servers&&((!e._reconnectCount||e._reconnectCount===t.servers.length)&&(e._reconnectCount=0),t.host=t.servers[e._reconnectCount].host,t.port=t.servers[e._reconnectCount].port,t.protocol=t.servers[e._reconnectCount].protocol?t.servers[e._reconnectCount].protocol:t.defaultProtocol,t.hostname=t.host,e._reconnectCount++),o("calling streambuilder for",t.protocol),s[t.protocol](e,t)}),t);return r.on("error",(()=>{})),r}a.default?(s.wx=yg().default,s.wxs=yg().default,s.ali=bg().default,s.alis=bg().default):(s.mqtt=ug().default,s.tcp=ug().default,s.ssl=mg().default,s.tls=s.ssl,s.mqtts=mg().default),s.ws=_g().default,s.wss=_g().default,e.connectAsync=function(e,t,r=!0){return new Promise(((i,n)=>{let a=l(e,t),o={connect:e=>{s(),i(a)},end:()=>{s(),i(a)},error:e=>{s(),a.end(),n(e)}};function s(){Object.keys(o).forEach((e=>{a.off(e,o[e])}))}!1===r&&(o.close=()=>{o.error(new Error("Couldn't connect to server"))}),Object.keys(o).forEach((e=>{a.on(e,o[e])}))}))},e.default=l})),Eg=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i},n=e&&e.__exportStar||function(e,r){for(var i in e)"default"!==i&&!Object.prototype.hasOwnProperty.call(r,i)&&t(r,e,i)},a=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var o=a(sp());e.MqttClient=o.default;var s=a(bu());e.DefaultMessageIdProvider=s.default;var l=a(lp());e.UniqueMessageIdProvider=l.default;var c=a(Eu());e.Store=c.default;var h=i(xg());e.connect=h.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return h.connectAsync}}),e.Client=o.default,n(sp(),e),n(Tu(),e);var d=ku();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return d.ReasonCodes}})}));const Sg=Js((e=>{el(),$c(),Rc();var t=e&&e.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),r=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var i={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&t(i,e,n);return r(i,e),i},n=e&&e.__exportStar||function(e,r){for(var i in e)"default"!==i&&!Object.prototype.hasOwnProperty.call(r,i)&&t(r,e,i)};Object.defineProperty(e,"__esModule",{value:!0});var a=i(Eg());e.default=a,n(Eg(),e)}))();
21
21
  /*! Bundled license information:
22
22
 
23
23
  @jspm/core/nodelibs/browser/buffer.js:
24
24
  (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
25
- */class Tg{constructor(e){this.subscribe=e}init(e,t){const r={clientId:"mqttjs_"+Math.random().toString(16).substr(2,8),clean:!0,connectTimeout:4e3,reconnectPeriod:5e3};r.username=e.username,r.password=e.password,this.url=t,this.client=Sg.connect(this.url,r)}unsubscribes(){this.client.unsubscribe(this.subscribe,(e=>{}))}over(){this.client.end()}link(){this.client.on("connect",(e=>{this.client.subscribe(this.subscribe,(e=>{}))}))}get(){this.client.on("message",((e,t)=>{}))}over(){this.client.end()}getUrl(e,t){"development"!==t&&(e=location.host+e);let r="";return r="http:"===location.protocol?"ws:"+e:"https:"===location.protocol?"wss:"+e:"ws:"+e,r}}r(Tg,"url"),r(Tg,"oldSubscribe"),r(Tg,"subscribe"),r(Tg,"client");const kg=[{type:"function",name:"base",entity:d},{type:"function",name:"num",entity:g},{type:"function",name:"date",entity:v},{type:"function",name:"fc",entity:w},{type:"function",name:"ecDC",entity:_},{type:"function",name:"session",entity:mt},{type:"function",name:"cryptoJs",entity:pt},{type:"function",name:"rgbC",entity:vt},{type:"function",name:"urlC",entity:wt},{type:"function",name:"license",entity:_t},{type:"function",name:"El",entity:ns},{type:"function",name:"Watermark",entity:as},{type:"component",name:"LJSLoading",entity:ps},{type:"component",name:"Pagination",entity:vs},{type:"component",name:"RightMenu",entity:ys},{type:"component",name:"DatetypeChooseDate",entity:_s},{type:"component",name:"DatetypeChooseDateRange",entity:ks},{type:"component",name:"DateRange",entity:Bs},{type:"component",name:"DictTag",entity:Rs},{type:"component",name:"Particles",entity:Us},{type:"other_function",name:"self",entity:{LJSws:Hs,htmlPdf:Ws}}];return{install:function(e){kg.map((t=>{if("directive"===t.type)e.use(t.entity);else if("component"===t.type)e.component(`${t.name}`,t.entity);else if("other_function"===t.type)for(let r in t.entity)e.config.globalProperties[r]=t.entity[r];else{const r=`$LJS${t.name}`;e.config.globalProperties[r]=t.entity}}))},LJSLoading:ps,Pagination:vs,RightMenu:ys,DatetypeChooseDate:_s,DatetypeChooseDateRange:ks,DateRange:Bs,DictTag:Rs,Particles:Us,LJSbase:d,LJSnum:g,LJSdate:v,LJSfc:w,LJSecDC:_,LJSsession:mt,LJScryptoJs:pt,LJSrgbC:vt,LJSurlC:wt,LJSlicense:_t,LJSEl:ns,LJSWatermark:as,LJSws:Hs,htmlPdf:Ws,mqttCreateds:Tg}}));
25
+ */class Tg{constructor(e){this.subscribe=e}init(e,t){const r={clientId:"mqttjs_"+Math.random().toString(16).substr(2,8),clean:!0,connectTimeout:4e3,reconnectPeriod:5e3};r.username=e.username,r.password=e.password,this.url=t,this.client=Sg.connect(this.url,r)}link(){this.client.on("connect",(e=>{this.client.subscribe(this.subscribe,(e=>{}))}))}unsubscribes(){this.client.unsubscribe(this.subscribe,(e=>{}))}over(){this.client.end()}getUrl(e,t){"development"!==t&&(e=location.host+e);let r="";return r="http:"===location.protocol?"ws:"+e:"https:"===location.protocol?"wss:"+e:"ws:"+e,r}}r(Tg,"url"),r(Tg,"oldSubscribe"),r(Tg,"subscribe"),r(Tg,"client");const kg=[{type:"function",name:"base",entity:d},{type:"function",name:"num",entity:g},{type:"function",name:"date",entity:v},{type:"function",name:"fc",entity:w},{type:"function",name:"ecDC",entity:_},{type:"function",name:"session",entity:mt},{type:"function",name:"cryptoJs",entity:pt},{type:"function",name:"rgbC",entity:vt},{type:"function",name:"urlC",entity:wt},{type:"function",name:"license",entity:_t},{type:"function",name:"El",entity:ns},{type:"function",name:"Watermark",entity:as},{type:"component",name:"LJSLoading",entity:ps},{type:"component",name:"Pagination",entity:vs},{type:"component",name:"RightMenu",entity:ys},{type:"component",name:"DatetypeChooseDate",entity:_s},{type:"component",name:"DatetypeChooseDateRange",entity:ks},{type:"component",name:"DateRange",entity:Bs},{type:"component",name:"DictTag",entity:Rs},{type:"component",name:"Particles",entity:Us},{type:"other_function",name:"self",entity:{LJSws:Hs,htmlPdf:Ws}}];return{install:function(e){kg.map((t=>{if("directive"===t.type)e.use(t.entity);else if("component"===t.type)e.component(`${t.name}`,t.entity);else if("other_function"===t.type)for(let r in t.entity)e.config.globalProperties[r]=t.entity[r];else{const r=`$LJS${t.name}`;e.config.globalProperties[r]=t.entity}}))},LJSLoading:ps,Pagination:vs,RightMenu:ys,DatetypeChooseDate:_s,DatetypeChooseDateRange:ks,DateRange:Bs,DictTag:Rs,Particles:Us,LJSbase:d,LJSnum:g,LJSdate:v,LJSfc:w,LJSecDC:_,LJSsession:mt,LJScryptoJs:pt,LJSrgbC:vt,LJSurlC:wt,LJSlicense:_t,LJSEl:ns,LJSWatermark:as,LJSws:Hs,htmlPdf:Ws,mqttCreateds:Tg}}));