From cbd4293c7358972629f3071e6dda1abc7d8fa5e8 Mon Sep 17 00:00:00 2001 From: Robin Erd <3ch5e77@gmail.com> Date: Wed, 28 Feb 2024 18:01:27 +0100 Subject: [PATCH] adding dist subtree --- CNAME | 1 - index.html | 2 +- js/app.166fa858.js | 2 ++ js/app.166fa858.js.map | 1 + js/app.ff3c00f1.js | 2 -- js/app.ff3c00f1.js.map | 1 - js/chunk-vendors.06cbdea8.js | 7 ------- js/chunk-vendors.06cbdea8.js.map | 1 - js/chunk-vendors.74fc6715.js | 23 +++++++++++++++++++++++ js/chunk-vendors.74fc6715.js.map | 1 + 10 files changed, 28 insertions(+), 13 deletions(-) delete mode 100644 CNAME create mode 100644 js/app.166fa858.js create mode 100644 js/app.166fa858.js.map delete mode 100644 js/app.ff3c00f1.js delete mode 100644 js/app.ff3c00f1.js.map delete mode 100644 js/chunk-vendors.06cbdea8.js delete mode 100644 js/chunk-vendors.06cbdea8.js.map create mode 100644 js/chunk-vendors.74fc6715.js create mode 100644 js/chunk-vendors.74fc6715.js.map diff --git a/CNAME b/CNAME deleted file mode 100644 index e08274b..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -timetill.xyz diff --git a/index.html b/index.html index e1a0689..2f7c220 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -TimeTill
\ No newline at end of file +TimeTill
\ No newline at end of file diff --git a/js/app.166fa858.js b/js/app.166fa858.js new file mode 100644 index 0000000..dbcde77 --- /dev/null +++ b/js/app.166fa858.js @@ -0,0 +1,2 @@ +(function(e){function t(t){for(var s,r,a=t[0],l=t[1],c=t[2],u=0,p=[];u(Object(s["n"])("data-v-4876e6c9"),e=e(),Object(s["m"])(),e),a={key:0},l=r(()=>Object(s["g"])("h3",null,"Sorry, Safari doesn't support required features :(",-1)),c=[l],d={key:1},u={key:0,style:{display:"block","margin-left":"auto","margin-right":"auto","margin-bottom":"25px",border:"1px solid black",width:"200px","border-radius":"10px",padding:"0"}},p={class:"site-wrapper"},h={class:"site-wrapper-inner"},b={class:"container"},g={key:0,style:{color:"#c0392b"},class:"lead"},m=r(()=>Object(s["g"])("b",null,"[error: no valid input provided]",-1)),f=[m],v={key:1},y={key:0},O=Object(s["h"])('',5),j=[O],x={key:2},w={style:{margin:"0"}},k=r(()=>Object(s["g"])("p",{style:{display:"inline",margin:"10px",height:"30px"}}," count down until ",-1)),z=r(()=>Object(s["g"])("p",{style:{display:"inline"}},"in",-1)),C=Object(s["h"])('',5),D=[C],I=r(()=>Object(s["g"])("br",null,null,-1)),M={key:3},S={style:{margin:"0","font-size":"10pt"}},U={style:{"font-size":"40pt",margin:"0"}},T={style:{"font-size":"20pt",margin:"0","text-align":"left"}},V={ref:"canvas",height:"1000",width:"2000",style:{width:"80vmin",height:"40vmin"}},$=r(()=>Object(s["g"])("footer",null,[Object(s["g"])("a",{style:{"text-decoration":"none",color:"grey"},href:"https://github.com/r-erd",target:"_blank"},[Object(s["g"])("p",{style:{"font-family":"sans-serif","font-size":"8pt","text-align":"center","vertical-align":"bottom","margin-top":"2vh",width:"100%",color:"grey","text-decoration":"none"}}," made by Robin Erd ")])],-1));function _(e,t,i,n,o,r){return Object(s["l"])(),Object(s["f"])(s["a"],null,[this.unsupportedBrowser?(Object(s["l"])(),Object(s["f"])("div",a,c)):Object(s["e"])("",!0),this.unsupportedBrowser?Object(s["e"])("",!0):(Object(s["l"])(),Object(s["f"])("div",d,[o.result?Object(s["e"])("",!0):(Object(s["l"])(),Object(s["f"])("div",u,[Object(s["g"])("button",{class:Object(s["k"])({selected:o.timerUI}),onClick:t[0]||(t[0]=e=>r.switchUI()),style:{border:"none","border-radius":"8px",width:"100px",height:"30px",margin:"0px",padding:"5px",cursor:"pointer"}}," Timer ",2),Object(s["g"])("button",{class:Object(s["k"])({selected:!o.timerUI}),onClick:t[1]||(t[1]=e=>r.switchUI()),style:{border:"none","border-radius":"8px",width:"100px",height:"30px",margin:"0px",padding:"5px",cursor:"pointer"}}," Countdown ",2)])),Object(s["g"])("div",p,[Object(s["g"])("div",h,[Object(s["g"])("div",b,[o.error?(Object(s["l"])(),Object(s["f"])("p",g,f)):Object(s["e"])("",!0),o.timerUI?(Object(s["l"])(),Object(s["f"])("div",v,[o.result?Object(s["e"])("",!0):(Object(s["l"])(),Object(s["f"])("div",y,[Object(s["g"])("div",null,[Object(s["u"])(Object(s["g"])("input",{"onUpdate:modelValue":t[2]||(t[2]=e=>o.hr=e),type:"number",placeholder:"h",style:{"border-radius":"3px",border:"0.5mm solid black",color:"black","background-color":"white",width:"70px",height:"18px",margin:"10px",padding:"5px",cursor:"pointer"}},null,512),[[s["r"],o.hr]]),Object(s["u"])(Object(s["g"])("input",{"onUpdate:modelValue":t[3]||(t[3]=e=>o.min=e),type:"number",placeholder:"min",style:{"border-radius":"3px",border:"0.5mm solid black",color:"black","background-color":"white",width:"70px",height:"18px",margin:"10px",padding:"5px",cursor:"pointer"}},null,512),[[s["r"],o.min]]),Object(s["u"])(Object(s["g"])("input",{"onUpdate:modelValue":t[4]||(t[4]=e=>o.sec=e),type:"number",onKeyup:t[5]||(t[5]=Object(s["v"])(e=>r.startTimer(Math.floor(o.hr),Math.floor(o.min),Math.floor(o.sec)),["enter"])),placeholder:"sec",style:{"border-radius":"3px",border:"0.5mm solid black",color:"black","background-color":"white",width:"70px",height:"18px",margin:"10px",padding:"5px",cursor:"pointer"}},null,544),[[s["r"],o.sec]]),Object(s["u"])(Object(s["g"])("select",{"onUpdate:modelValue":t[6]||(t[6]=e=>o.unit=e),style:{"font-size":"9pt","font-family":"sans-serif","border-radius":"3px",border:"0.5mm solid black",cursor:"pointer",margin:"10px",height:"31.75px",width:"83.75px",padding:"5px",display:"inline"}},j,512),[[s["q"],o.unit]])]),Object(s["g"])("button",{onClick:t[7]||(t[7]=e=>r.startTimer(Math.floor(o.hr),Math.floor(o.min),Math.floor(o.sec))),style:{"border-radius":"3px",border:"0.5mm solid black",color:"white","background-color":"black",width:"100px",height:"30px",margin:"10px","margin-top":"20px",padding:"5px",cursor:"pointer"}}," Start ")]))])):Object(s["e"])("",!0),o.timerUI||o.result?Object(s["e"])("",!0):(Object(s["l"])(),Object(s["f"])("div",x,[Object(s["g"])("div",w,[k,Object(s["u"])(Object(s["g"])("input",{"onUpdate:modelValue":t[8]||(t[8]=e=>o.datey=e),style:{width:"135px","font-size":"11pt","font-family":"sans-serif",border:"none",cursor:"pointer",display:"inline",margin:"5px",height:"30px"},type:"date"},null,512),[[s["r"],o.datey]]),Object(s["u"])(Object(s["g"])("input",{"onUpdate:modelValue":t[9]||(t[9]=e=>o.timey=e),style:{"font-size":"11pt","font-family":"sans-serif",border:"none",cursor:"pointer",display:"inline",margin:"5px",height:"30px"},type:"time"},null,512),[[s["r"],o.timey]]),z,Object(s["u"])(Object(s["g"])("select",{"onUpdate:modelValue":t[10]||(t[10]=e=>o.unit=e),style:{"font-size":"11pt","font-family":"sans-serif",border:"none",cursor:"pointer",margin:"5px",height:"30px",padding:"5px",display:"inline"}},D,512),[[s["q"],o.unit]])]),I,Object(s["g"])("button",{onClick:t[11]||(t[11]=e=>r.startCountdown(o.datey,o.timey)),style:{"border-radius":"3px",border:"0.5mm solid black",color:"white","background-color":"black",width:"100px",height:"30px",margin:"10px",padding:"5px",cursor:"pointer"}}," Start ")])),o.result?(Object(s["l"])(),Object(s["f"])("div",M,[Object(s["g"])("p",S,[Object(s["g"])("b",null,Object(s["p"])(o.inputDate),1)]),Object(s["g"])("button",{onClick:t[12]||(t[12]=e=>r.cancel()),class:"btn-default",style:{"font-size":"8pt","margin-bottom":"50px"}}," cancel "),Object(s["g"])("p",null,[Object(s["g"])("span",U,Object(s["p"])(o.message.split(".")[0].trim())+".",1),Object(s["g"])("span",T,Object(s["p"])(o.message.split(".")[1]),1)]),o.notVisualizable?Object(s["e"])("",!0):(Object(s["l"])(),Object(s["f"])("button",{key:0,onClick:t[13]||(t[13]=e=>o.visual=!o.visual),class:"btn-default",style:{"font-size":"8pt","margin-bottom":"50px"}}," visualize "))])):Object(s["e"])("",!0),Object(s["i"])(s["b"],{name:"fade"},{default:Object(s["t"])(()=>[Object(s["u"])(Object(s["g"])("div",null,[Object(s["g"])("canvas",V,null,512)],512),[[s["s"],o.visual&&o.result&&!o.notVisualizable]])]),_:1})])])]),$]))],64)}i("14d9");var q={name:"HelloWorld",props:{msg:String},created(){},mounted(){-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&(this.unsupportedBrowser=!0),this.canvas=this.$refs.canvas.getContext("2d"),this.$cookie.isCookieAvailable("countdown-date")&&this.$cookie.isCookieAvailable("countdown-unit")&&(this.result=!0,this.visual=!0,this.unit=this.$cookie.getCookie("countdown-unit"),this.inputDate=new Date(this.$cookie.getCookie("countdown-date")),this.drawCanvas(),this.displayCountdown())},data(){return{x:0,y:0,timerUI:!1,countdownUI:!0,hr:void 0,min:void 0,sec:void 0,result:!1,error:!1,unsupportedBrowser:!1,visual:!1,notVisualizable:!1,side:10,margin:8,squares:0,rectangles:[],canvas:null,unit:"seconds",datey:void 0,timey:"00:00",inputDate:Date,message:"",canvasTimer:void 0,digitTimer:void 0}},methods:{switchUI(){0==this.result&&(this.timerUI=!this.timerUI)},refresh(){let e=this.inputDate-new Date,t=e/1e3;switch(e<1&&(this.visual=!1,this.notVisualizable=!0),this.unit){case"seconds":this.message=t.toFixed(2);break;case"minutes":this.message=(t/60).toFixed(5);break;case"hours":this.message=(t/60/60).toFixed(5);break;case"days":this.message=(t/60/60/24).toFixed(5);break;case"":this.message=(t/60/60).toFixed(0)+":"+(t/60%60).toFixed(0)+":"+(t%60).toFixed(0);break}},removeSquare(){let e=this.rectangles.pop();void 0!=e&&this.canvas.clearRect(e.x,e.y,this.side,this.side)},displayCountdown(){this.error=!1,this.result=!0,this.digitTimer=setInterval(this.refresh,50),this.$cookie.setCookie("countdown-date",this.inputDate),this.$cookie.setCookie("countdown-unit",this.unit)},cancel(){this.result=!1,this.visual=!1,this.canvas.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),clearInterval(this.digitTimer),clearInterval(this.canvasTimer),this.$cookie.removeCookie("countdown-date")},startTimer(e,t,i){let s=new Date;isNaN(e)&&(e=0),isNaN(t)&&(t=0),isNaN(i)&&(i=0),s.setHours(s.getHours()+e,s.getMinutes()+t,s.getSeconds()+i);var n=6e4*(new Date).getTimezoneOffset(),o=new Date(s.getTime()-n).toISOString().slice(0,-1);this.inputDate=new Date(o.substring(0,10)+" "+o.substring(11,19)),this.displayCountdown(),this.drawCanvas()},startCountdown(e,t){if(void 0==e){var i=6e4*(new Date).getTimezoneOffset(),s=new Date((new Date).getTime()-i).toISOString().slice(0,-1);e=s.substring(0,10)}void 0==t&&(t="00:00"),this.inputDate=new Date(e+" "+t),this.displayCountdown(),this.drawCanvas()},drawCanvas(){let e,t=this.inputDate-Date.now(),i=t/1e3;switch(this.unit){case"seconds":e=i;break;case"minutes":e=i/60;break;case"hours":e=i/60/60;break;case"days":e=i/60/60/24;break;case"":e=i/60/60;break}this.side=Math.floor(1e3/Math.sqrt(e)-this.margin);let s=Math.floor(this.$refs.canvas.width/(this.side+this.margin)),n=Math.floor(e/s),o=Math.floor(e%s);if(e>=Math.floor(this.$refs.canvas.width/(this.side+this.margin))*Math.floor(this.$refs.canvas.height/(this.side+this.margin))||i<0||this.side<2)this.notVisualizable=!0;else{for(let t=0;t\n \n\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./countdown.vue?vue&type=template&id=4876e6c9&scoped=true\"\nimport script from \"./countdown.vue?vue&type=script&lang=js\"\nexport * from \"./countdown.vue?vue&type=script&lang=js\"\n\nimport \"./countdown.vue?vue&type=style&index=0&id=4876e6c9&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/robinerd/Documents/timetill.xyz/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4876e6c9\"]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=3fb8339f\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=3fb8339f&lang=css\"\n\nimport exportComponent from \"/Users/robinerd/Documents/timetill.xyz/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createApp } from 'vue'\nimport { VueCookieNext } from 'vue-cookie-next'\nimport App from './App.vue'\n\n\nconst app = createApp(App)\napp.use(VueCookieNext)\napp.mount('#app')\nVueCookieNext.config({ expire: '1y' })\n\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./countdown.vue?vue&type=style&index=0&id=4876e6c9&scoped=true&lang=css\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./App.vue?vue&type=style&index=0&id=3fb8339f&lang=css\""],"sourceRoot":""} \ No newline at end of file diff --git a/js/app.ff3c00f1.js b/js/app.ff3c00f1.js deleted file mode 100644 index 155aeb6..0000000 --- a/js/app.ff3c00f1.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(t){function e(e){for(var n,s,a=e[0],c=e[1],u=e[2],d=0,p=[];d seconds ',5),j=[O],x={key:2},w={style:{margin:"0"}},k=s((function(){return Object(n["g"])("p",{style:{display:"inline",margin:"10px",height:"30px"}}," count down until ",-1)})),z=s((function(){return Object(n["g"])("p",{style:{display:"inline"}},"in",-1)})),C=Object(n["h"])('',5),D=[C],I=s((function(){return Object(n["g"])("br",null,null,-1)})),M={key:3},S={style:{margin:"0","font-size":"10pt"}},U={style:{"font-size":"40pt",margin:"0"}},T={style:{"font-size":"20pt",margin:"0","text-align":"left"}},V={ref:"canvas",height:"1000",width:"2000",style:{width:"80vmin",height:"40vmin"}},$=s((function(){return Object(n["g"])("footer",null,[Object(n["g"])("a",{style:{"text-decoration":"none",color:"grey"},href:"https://github.com/r-erd",target:"_blank"},[Object(n["g"])("p",{style:{"font-family":"sans-serif","font-size":"8pt","text-align":"center","vertical-align":"bottom","margin-top":"2vh",width:"100%",color:"grey","text-decoration":"none"}}," made by Robin Erd ")])],-1)}));function _(t,e,i,o,r,s){return Object(n["l"])(),Object(n["f"])(n["a"],null,[this.unsupportedBrowser?(Object(n["l"])(),Object(n["f"])("div",a,u)):Object(n["e"])("",!0),this.unsupportedBrowser?Object(n["e"])("",!0):(Object(n["l"])(),Object(n["f"])("div",l,[r.result?Object(n["e"])("",!0):(Object(n["l"])(),Object(n["f"])("div",d,[Object(n["g"])("button",{class:Object(n["k"])({selected:r.timerUI}),onClick:e[0]||(e[0]=function(t){return s.switchUI()}),style:{border:"none","border-radius":"8px",width:"100px",height:"30px",margin:"0px",padding:"5px",cursor:"pointer"}}," Timer ",2),Object(n["g"])("button",{class:Object(n["k"])({selected:!r.timerUI}),onClick:e[1]||(e[1]=function(t){return s.switchUI()}),style:{border:"none","border-radius":"8px",width:"100px",height:"30px",margin:"0px",padding:"5px",cursor:"pointer"}}," Countdown ",2)])),Object(n["g"])("div",p,[Object(n["g"])("div",h,[Object(n["g"])("div",b,[r.error?(Object(n["l"])(),Object(n["f"])("p",f,m)):Object(n["e"])("",!0),r.timerUI?(Object(n["l"])(),Object(n["f"])("div",v,[r.result?Object(n["e"])("",!0):(Object(n["l"])(),Object(n["f"])("div",y,[Object(n["g"])("div",null,[Object(n["u"])(Object(n["g"])("input",{"onUpdate:modelValue":e[2]||(e[2]=function(t){return r.hr=t}),type:"number",placeholder:"h",style:{"border-radius":"3px",border:"0.5mm solid black",color:"black","background-color":"white",width:"70px",height:"18px",margin:"10px",padding:"5px",cursor:"pointer"}},null,512),[[n["r"],r.hr]]),Object(n["u"])(Object(n["g"])("input",{"onUpdate:modelValue":e[3]||(e[3]=function(t){return r.min=t}),type:"number",placeholder:"min",style:{"border-radius":"3px",border:"0.5mm solid black",color:"black","background-color":"white",width:"70px",height:"18px",margin:"10px",padding:"5px",cursor:"pointer"}},null,512),[[n["r"],r.min]]),Object(n["u"])(Object(n["g"])("input",{"onUpdate:modelValue":e[4]||(e[4]=function(t){return r.sec=t}),type:"number",onKeyup:e[5]||(e[5]=Object(n["v"])((function(t){return s.startTimer(Math.floor(r.hr),Math.floor(r.min),Math.floor(r.sec))}),["enter"])),placeholder:"sec",style:{"border-radius":"3px",border:"0.5mm solid black",color:"black","background-color":"white",width:"70px",height:"18px",margin:"10px",padding:"5px",cursor:"pointer"}},null,544),[[n["r"],r.sec]]),Object(n["u"])(Object(n["g"])("select",{"onUpdate:modelValue":e[6]||(e[6]=function(t){return r.unit=t}),style:{"font-size":"9pt","font-family":"sans-serif","border-radius":"3px",border:"0.5mm solid black",cursor:"pointer",margin:"10px",height:"31.75px",width:"83.75px",padding:"5px",display:"inline"}},j,512),[[n["q"],r.unit]])]),Object(n["g"])("button",{onClick:e[7]||(e[7]=function(t){return s.startTimer(Math.floor(r.hr),Math.floor(r.min),Math.floor(r.sec))}),style:{"border-radius":"3px",border:"0.5mm solid black",color:"white","background-color":"black",width:"100px",height:"30px",margin:"10px","margin-top":"20px",padding:"5px",cursor:"pointer"}}," Start ")]))])):Object(n["e"])("",!0),r.timerUI||r.result?Object(n["e"])("",!0):(Object(n["l"])(),Object(n["f"])("div",x,[Object(n["g"])("div",w,[k,Object(n["u"])(Object(n["g"])("input",{"onUpdate:modelValue":e[8]||(e[8]=function(t){return r.datey=t}),style:{width:"135px","font-size":"11pt","font-family":"sans-serif",border:"none",cursor:"pointer",display:"inline",margin:"5px",height:"30px"},type:"date"},null,512),[[n["r"],r.datey]]),Object(n["u"])(Object(n["g"])("input",{"onUpdate:modelValue":e[9]||(e[9]=function(t){return r.timey=t}),style:{"font-size":"11pt","font-family":"sans-serif",border:"none",cursor:"pointer",display:"inline",margin:"5px",height:"30px"},type:"time"},null,512),[[n["r"],r.timey]]),z,Object(n["u"])(Object(n["g"])("select",{"onUpdate:modelValue":e[10]||(e[10]=function(t){return r.unit=t}),style:{"font-size":"11pt","font-family":"sans-serif",border:"none",cursor:"pointer",margin:"5px",height:"30px",padding:"5px",display:"inline"}},D,512),[[n["q"],r.unit]])]),I,Object(n["g"])("button",{onClick:e[11]||(e[11]=function(t){return s.startCountdown(r.datey,r.timey)}),style:{"border-radius":"3px",border:"0.5mm solid black",color:"white","background-color":"black",width:"100px",height:"30px",margin:"10px",padding:"5px",cursor:"pointer"}}," Start ")])),r.result?(Object(n["l"])(),Object(n["f"])("div",M,[Object(n["g"])("p",S,[Object(n["g"])("b",null,Object(n["p"])(r.inputDate),1)]),Object(n["g"])("button",{onClick:e[12]||(e[12]=function(t){return s.cancel()}),class:"btn-default",style:{"font-size":"8pt","margin-bottom":"50px"}}," cancel "),Object(n["g"])("p",null,[Object(n["g"])("span",U,Object(n["p"])(r.message.split(".")[0].trim())+".",1),Object(n["g"])("span",T,Object(n["p"])(r.message.split(".")[1]),1)]),r.notVisualizable?Object(n["e"])("",!0):(Object(n["l"])(),Object(n["f"])("button",{key:0,onClick:e[13]||(e[13]=function(t){return r.visual=!r.visual}),class:"btn-default",style:{"font-size":"8pt","margin-bottom":"50px"}}," visualize "))])):Object(n["e"])("",!0),Object(n["i"])(n["b"],{name:"fade"},{default:Object(n["t"])((function(){return[Object(n["u"])(Object(n["g"])("div",null,[Object(n["g"])("canvas",V,null,512)],512),[[n["s"],r.visual&&r.result&&!r.notVisualizable]])]})),_:1})])])]),$]))],64)}i("b680"),i("fb6a");var q={name:"HelloWorld",props:{msg:String},created:function(){},mounted:function(){-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")&&(this.unsupportedBrowser=!0),this.canvas=this.$refs.canvas.getContext("2d"),this.$cookie.isCookieAvailable("countdown-date")&&this.$cookie.isCookieAvailable("countdown-unit")&&(this.result=!0,this.visual=!0,this.unit=this.$cookie.getCookie("countdown-unit"),this.inputDate=new Date(this.$cookie.getCookie("countdown-date")),this.drawCanvas(),this.displayCountdown())},data:function(){return{x:0,y:0,timerUI:!1,countdownUI:!0,hr:void 0,min:void 0,sec:void 0,result:!1,error:!1,unsupportedBrowser:!1,visual:!1,notVisualizable:!1,side:10,margin:8,squares:0,rectangles:[],canvas:null,unit:"seconds",datey:void 0,timey:"00:00",inputDate:Date,message:"",canvasTimer:void 0,digitTimer:void 0}},methods:{switchUI:function(){0==this.result&&(this.timerUI=!this.timerUI)},refresh:function(){var t=this.inputDate-new Date,e=t/1e3;switch(t<1&&(this.visual=!1,this.notVisualizable=!0),this.unit){case"seconds":this.message=e.toFixed(2);break;case"minutes":this.message=(e/60).toFixed(5);break;case"hours":this.message=(e/60/60).toFixed(5);break;case"days":this.message=(e/60/60/24).toFixed(5);break;case"":this.message=(e/60/60).toFixed(0)+":"+(e/60%60).toFixed(0)+":"+(e%60).toFixed(0);break}},removeSquare:function(){var t=this.rectangles.pop();void 0!=t&&this.canvas.clearRect(t.x,t.y,this.side,this.side)},displayCountdown:function(){this.error=!1,this.result=!0,this.digitTimer=setInterval(this.refresh,50),this.$cookie.setCookie("countdown-date",this.inputDate),this.$cookie.setCookie("countdown-unit",this.unit)},cancel:function(){this.result=!1,this.visual=!1,this.canvas.clearRect(0,0,this.$refs.canvas.width,this.$refs.canvas.height),clearInterval(this.digitTimer),clearInterval(this.canvasTimer),this.$cookie.removeCookie("countdown-date")},startTimer:function(t,e,i){var n=new Date;isNaN(t)&&(t=0),isNaN(e)&&(e=0),isNaN(i)&&(i=0),n.setHours(n.getHours()+t,n.getMinutes()+e,n.getSeconds()+i);var o=6e4*(new Date).getTimezoneOffset(),r=new Date(n.getTime()-o).toISOString().slice(0,-1);this.inputDate=new Date(r.substring(0,10)+" "+r.substring(11,19)),this.displayCountdown(),this.drawCanvas()},startCountdown:function(t,e){if(void 0==t){var i=6e4*(new Date).getTimezoneOffset(),n=new Date((new Date).getTime()-i).toISOString().slice(0,-1);t=n.substring(0,10)}void 0==e&&(e="00:00"),this.inputDate=new Date(t+" "+e),this.displayCountdown(),this.drawCanvas()},drawCanvas:function(){var t,e=this.inputDate-Date.now(),i=e/1e3;switch(this.unit){case"seconds":t=i;break;case"minutes":t=i/60;break;case"hours":t=i/60/60;break;case"days":t=i/60/60/24;break;case"":t=i/60/60;break}this.side=Math.floor(1e3/Math.sqrt(t)-this.margin);var n=Math.floor(this.$refs.canvas.width/(this.side+this.margin)),o=Math.floor(t/n),r=Math.floor(t%n);if(t>=Math.floor(this.$refs.canvas.width/(this.side+this.margin))*Math.floor(this.$refs.canvas.height/(this.side+this.margin))||i<0||this.side<2)this.notVisualizable=!0;else{for(var s=0;s\n \n\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./countdown.vue?vue&type=template&id=4876e6c9&scoped=true\"\nimport script from \"./countdown.vue?vue&type=script&lang=js\"\nexport * from \"./countdown.vue?vue&type=script&lang=js\"\n\nimport \"./countdown.vue?vue&type=style&index=0&id=4876e6c9&scoped=true&lang=css\"\n\nimport exportComponent from \"/Users/robinerd/Documents/timetill.xyz/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4876e6c9\"]])\n\nexport default __exports__","import { render } from \"./App.vue?vue&type=template&id=3fb8339f\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\n\nimport \"./App.vue?vue&type=style&index=0&id=3fb8339f&lang=css\"\n\nimport exportComponent from \"/Users/robinerd/Documents/timetill.xyz/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createApp } from 'vue'\nimport { VueCookieNext } from 'vue-cookie-next'\nimport App from './App.vue'\n\n\nconst app = createApp(App)\napp.use(VueCookieNext)\napp.mount('#app')\nVueCookieNext.config({ expire: '1y' })\n\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./countdown.vue?vue&type=style&index=0&id=4876e6c9&scoped=true&lang=css\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader-v16/dist/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./App.vue?vue&type=style&index=0&id=3fb8339f&lang=css\""],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.06cbdea8.js b/js/chunk-vendors.06cbdea8.js deleted file mode 100644 index 10dac2e..0000000 --- a/js/chunk-vendors.06cbdea8.js +++ /dev/null @@ -1,7 +0,0 @@ -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(e,t,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=n},"032f":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n("7a23"); -/*! - * vue-cookie-next v1.3.0 - * (c) 2021 Anish George - * @license MIT - */const r={expire:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax"},o={install:function(e){e.config.globalProperties.$cookie=this,e.provide("cookie",this)},config:function(e){const{expire:t,path:n,domain:o,secure:i,sameSite:c}=e;r.expire=t||"1d",r.path=n?"; path="+n:"; path=/",r.domain=o?"; domain="+o:"",r.secure=i?"; Secure":"",r.sameSite=c?"; SameSite="+c:"; SameSite=Lax"},getCookie:function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&&"{"===t.substring(0,1)&&"}"===t.substring(t.length-1,t.length))try{t=JSON.parse(t)}catch(n){return t}return t},setCookie:function(e,t,n){let{expire:o,path:i,domain:c,secure:s,sameSite:u}=n||{};if(!e)throw new Error("Cookie name is not find in first argument.");if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw new Error('Cookie key name illegality, Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]\t current key name: '+e);t&&t.constructor===Object&&(t=JSON.stringify(t));var a="";if(o=void 0===o?r.expire:o,o&&0!=o)switch(o.constructor){case Number:a=o===1/0||-1===o?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+o;break;case String:let e=o.toString();if(/^(?:\d+(y|m|d|h|min|s))$/i.test(e)){var l=e.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(e.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":a="; max-age="+2592e3*+l;break;case"d":a="; max-age="+86400*+l;break;case"h":a="; max-age="+3600*+l;break;case"min":a="; max-age="+60*+l;break;case"s":a="; max-age="+l;break;case"y":a="; max-age="+31104e3*+l;break}}else a="; expires="+o;break;case Date:a="; expires="+o.toUTCString();break}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+a+(c?"; domain="+c:r.domain)+(i?"; path="+i:r.path)+(void 0===s?r.secure:s?"; Secure":"")+(void 0===u?r.sameSite:u?"; SameSite="+u:""),this},removeCookie:function(e,t){const{path:n,domain:o}=t||{};return!(!e||!this.isCookieAvailable(e))&&(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(o?"; domain="+o:r.domain)+(n?"; path="+n:r.path)+"; SameSite=Lax",this)},isCookieAvailable:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;tb)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1148:function(e,t,n){"use strict";var r=n("5926"),o=n("577e"),i=n("1d80"),c=RangeError;e.exports=function(e){var t=o(i(this)),n="",s=r(e);if(s<0||s==1/0)throw c("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},1276:function(e,t,n){"use strict";var r=n("2ba4"),o=n("c65b"),i=n("e330"),c=n("d784"),s=n("44e7"),u=n("825a"),a=n("1d80"),l=n("4840"),f=n("8aa5"),d=n("50c4"),p=n("577e"),h=n("dc4a"),b=n("4dae"),v=n("14c3"),g=n("9263"),m=n("9f7f"),y=n("d039"),O=m.UNSUPPORTED_Y,x=4294967295,j=Math.min,w=[].push,_=i(/./.exec),S=i(w),C=i("".slice),k=!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));c("split",(function(e,t,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=p(a(this)),c=void 0===n?x:n>>>0;if(0===c)return[];if(void 0===e)return[i];if(!s(e))return o(t,i,e,c);var u,l,f,d=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,m=new RegExp(e.source,h+"g");while(u=o(g,m,i)){if(l=m.lastIndex,l>v&&(S(d,C(i,v,u.index)),u.length>1&&u.index=c))break;m.lastIndex===u.index&&m.lastIndex++}return v===i.length?!f&&_(m,"")||S(d,""):S(d,C(i,v)),d.length>c?b(d,0,c):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=a(this),c=void 0==t?void 0:h(t,e);return c?o(c,t,r,n):o(i,p(r),t,n)},function(e,r){var o=u(this),c=p(e),s=n(i,o,c,r,i!==t);if(s.done)return s.value;var a=l(o,RegExp),h=o.unicode,b=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(O?"g":"y"),g=new a(O?"^(?:"+o.source+")":o,b),m=void 0===r?x:r>>>0;if(0===m)return[];if(0===c.length)return null===v(g,c)?[c]:[];var y=0,w=0,_=[];while(w=51||!r((function(){var t=[],n=t.constructor={};return n[c]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},2266:function(e,t,n){var r=n("0366"),o=n("c65b"),i=n("825a"),c=n("0d51"),s=n("e95a"),u=n("07fa"),a=n("3a9b"),l=n("9a1f"),f=n("35a1"),d=n("2a62"),p=TypeError,h=function(e,t){this.stopped=e,this.result=t},b=h.prototype;e.exports=function(e,t,n){var v,g,m,y,O,x,j,w=n&&n.that,_=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),C=!(!n||!n.INTERRUPTED),k=r(t,w),E=function(e){return v&&d(v,"normal",e),new h(!0,e)},T=function(e){return _?(i(e),C?k(e[0],e[1],E):k(e[0],e[1])):C?k(e,E):k(e)};if(S)v=e;else{if(g=f(e),!g)throw p(c(e)+" is not iterable");if(s(g)){for(m=0,y=u(e);y>m;m++)if(O=T(e[m]),O&&a(b,O))return O;return new h(!1)}v=l(e,g)}x=v.next;while(!(j=o(x,v)).done){try{O=T(j.value)}catch(R){d(v,"throw",R)}if("object"==typeof O&&O&&a(b,O))return O}return new h(!1)}},"23cb":function(e,t,n){var r=n("5926"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},"23e7":function(e,t,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),c=n("cb2d"),s=n("6374"),u=n("e893"),a=n("94ca");e.exports=function(e,t){var n,l,f,d,p,h,b=e.target,v=e.global,g=e.stat;if(l=v?r:g?r[b]||s(b,{}):(r[b]||{}).prototype,l)for(f in t){if(p=t[f],e.dontCallGetSet?(h=o(l,f),d=h&&h.value):d=l[f],n=a(v?f:b+(g?".":"#")+f,e.forced),!n&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),c(l,f,p,e)}}},"241c":function(e,t,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},2626:function(e,t,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),c=n("83ab"),s=i("species");e.exports=function(e){var t=r(e),n=o.f;c&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},"2a62":function(e,t,n){var r=n("c65b"),o=n("825a"),i=n("dc4a");e.exports=function(e,t,n){var c,s;o(e);try{if(c=i(e,"return"),!c){if("throw"===t)throw n;return n}c=r(c,e)}catch(u){s=!0,c=u}if("throw"===t)throw n;if(s)throw c;return o(c),n}},"2ba4":function(e,t,n){var r=n("40d5"),o=Function.prototype,i=o.apply,c=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?c.bind(i):function(){return c.apply(i,arguments)})},"2cf4":function(e,t,n){var r,o,i,c,s=n("da84"),u=n("2ba4"),a=n("0366"),l=n("1626"),f=n("1a2d"),d=n("d039"),p=n("1be4"),h=n("f36a"),b=n("cc12"),v=n("d6d6"),g=n("1cdc"),m=n("605d"),y=s.setImmediate,O=s.clearImmediate,x=s.process,j=s.Dispatch,w=s.Function,_=s.MessageChannel,S=s.String,C=0,k={},E="onreadystatechange";try{r=s.location}catch(I){}var T=function(e){if(f(k,e)){var t=k[e];delete k[e],t()}},R=function(e){return function(){T(e)}},A=function(e){T(e.data)},P=function(e){s.postMessage(S(e),r.protocol+"//"+r.host)};y&&O||(y=function(e){v(arguments.length,1);var t=l(e)?e:w(e),n=h(arguments,1);return k[++C]=function(){u(t,void 0,n)},o(C),C},O=function(e){delete k[e]},m?o=function(e){x.nextTick(R(e))}:j&&j.now?o=function(e){j.now(R(e))}:_&&!g?(i=new _,c=i.port2,i.port1.onmessage=A,o=a(c.postMessage,c)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!d(P)?(o=P,s.addEventListener("message",A,!1)):o=E in b("script")?function(e){p.appendChild(b("script"))[E]=function(){p.removeChild(this),T(e)}}:function(e){setTimeout(R(e),0)}),e.exports={set:y,clear:O}},"2d00":function(e,t,n){var r,o,i=n("da84"),c=n("342f"),s=i.process,u=i.Deno,a=s&&s.versions||u&&u.version,l=a&&a.v8;l&&(r=l.split("."),o=r[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(o=+r[1]))),e.exports=o},"342f":function(e,t,n){var r=n("d066");e.exports=r("navigator","userAgent")||""},3529:function(e,t,n){"use strict";var r=n("23e7"),o=n("c65b"),i=n("59ed"),c=n("f069"),s=n("e667"),u=n("2266"),a=n("5eed");r({target:"Promise",stat:!0,forced:a},{race:function(e){var t=this,n=c.f(t),r=n.reject,a=s((function(){var c=i(t.resolve);u(e,(function(e){o(c,t,e).then(n.resolve,r)}))}));return a.error&&r(a.value),n.promise}})},"35a1":function(e,t,n){var r=n("f5df"),o=n("dc4a"),i=n("3f8c"),c=n("b622"),s=c("iterator");e.exports=function(e){if(void 0!=e)return o(e,s)||o(e,"@@iterator")||i[r(e)]}},"37e8":function(e,t,n){var r=n("83ab"),o=n("aed9"),i=n("9bf2"),c=n("825a"),s=n("fc6a"),u=n("df75");t.f=r&&!o?Object.defineProperties:function(e,t){c(e);var n,r=s(t),o=u(t),a=o.length,l=0;while(a>l)i.f(e,n=o[l++],r[n]);return e}},"3a9b":function(e,t,n){var r=n("e330");e.exports=r({}.isPrototypeOf)},"3bbe":function(e,t,n){var r=n("1626"),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},"3f8c":function(e,t){e.exports={}},"408a":function(e,t,n){var r=n("e330");e.exports=r(1..valueOf)},"40d5":function(e,t,n){var r=n("d039");e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},"44ad":function(e,t,n){var r=n("e330"),o=n("d039"),i=n("c6b6"),c=Object,s=r("".split);e.exports=o((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):c(e)}:c},"44d2":function(e,t,n){var r=n("b622"),o=n("7c73"),i=n("9bf2").f,c=r("unscopables"),s=Array.prototype;void 0==s[c]&&i(s,c,{configurable:!0,value:o(null)}),e.exports=function(e){s[c][e]=!0}},"44de":function(e,t,n){var r=n("da84");e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622"),c=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[c])?!!t:"RegExp"==o(e))}},4738:function(e,t,n){var r=n("da84"),o=n("d256"),i=n("1626"),c=n("94ca"),s=n("8925"),u=n("b622"),a=n("6069"),l=n("c430"),f=n("2d00"),d=o&&o.prototype,p=u("species"),h=!1,b=i(r.PromiseRejectionEvent),v=c("Promise",(function(){var e=s(o),t=e!==String(o);if(!t&&66===f)return!0;if(l&&(!d["catch"]||!d["finally"]))return!0;if(f>=51&&/native code/.test(e))return!1;var n=new o((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))},i=n.constructor={};return i[p]=r,h=n.then((function(){}))instanceof r,!h||!t&&a&&!b}));e.exports={CONSTRUCTOR:v,REJECTION_EVENT:b,SUBCLASSING:h}},4840:function(e,t,n){var r=n("825a"),o=n("5087"),i=n("b622"),c=i("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[c])?t:o(n)}},"485a":function(e,t,n){var r=n("c65b"),o=n("1626"),i=n("861d"),c=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw c("Can't convert object to primitive value")}},4930:function(e,t,n){var r=n("2d00"),o=n("d039");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"498a":function(e,t,n){"use strict";var r=n("23e7"),o=n("58a8").trim,i=n("c8d2");r({target:"String",proto:!0,forced:i("trim")},{trim:function(){return o(this)}})},"4d64":function(e,t,n){var r=n("fc6a"),o=n("23cb"),i=n("07fa"),c=function(e){return function(t,n,c){var s,u=r(t),a=i(u),l=o(c,a);if(e&&n!=n){while(a>l)if(s=u[l++],s!=s)return!0}else for(;a>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}},"4dae":function(e,t,n){var r=n("23cb"),o=n("07fa"),i=n("8418"),c=Array,s=Math.max;e.exports=function(e,t,n){for(var u=o(e),a=r(t,u),l=r(void 0===n?u:n,u),f=c(s(l-a,0)),d=0;a0?o(r(e),9007199254740991):0}},5692:function(e,t,n){var r=n("c430"),o=n("c6cd");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.8",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE",source:"https://github.com/zloirock/core-js"})},"56ef":function(e,t,n){var r=n("d066"),o=n("e330"),i=n("241c"),c=n("7418"),s=n("825a"),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=c.f;return n?u(t,n(e)):t}},"577e":function(e,t,n){var r=n("f5df"),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},5899:function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(e,t,n){var r=n("e330"),o=n("1d80"),i=n("577e"),c=n("5899"),s=r("".replace),u="["+c+"]",a=RegExp("^"+u+u+"*"),l=RegExp(u+u+"*$"),f=function(e){return function(t){var n=i(o(t));return 1&e&&(n=s(n,a,"")),2&e&&(n=s(n,l,"")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},5926:function(e,t,n){var r=n("b42e");e.exports=function(e){var t=+e;return t!==t||0===t?0:r(t)}},"59ed":function(e,t,n){var r=n("1626"),o=n("0d51"),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},"5c6c":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"5e77":function(e,t,n){var r=n("83ab"),o=n("1a2d"),i=Function.prototype,c=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,a=s&&(!r||r&&c(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:a}},"5e7e":function(e,t,n){"use strict";var r,o,i,c,s=n("23e7"),u=n("c430"),a=n("605d"),l=n("da84"),f=n("c65b"),d=n("cb2d"),p=n("d2bb"),h=n("d44e"),b=n("2626"),v=n("59ed"),g=n("1626"),m=n("861d"),y=n("19aa"),O=n("4840"),x=n("2cf4").set,j=n("b575"),w=n("44de"),_=n("e667"),S=n("01b4"),C=n("69f3"),k=n("d256"),E=n("4738"),T=n("f069"),R="Promise",A=E.CONSTRUCTOR,P=E.REJECTION_EVENT,I=E.SUBCLASSING,F=C.getterFor(R),M=C.set,N=k&&k.prototype,L=k,U=N,q=l.TypeError,$=l.document,B=l.process,D=T.f,V=D,z=!!($&&$.createEvent&&l.dispatchEvent),W="unhandledrejection",G="rejectionhandled",H=0,J=1,K=2,Y=1,X=2,Z=function(e){var t;return!(!m(e)||!g(t=e.then))&&t},Q=function(e,t){var n,r,o,i=t.value,c=t.state==J,s=c?e.ok:e.fail,u=e.resolve,a=e.reject,l=e.domain;try{s?(c||(t.rejection===X&&oe(t),t.rejection=Y),!0===s?n=i:(l&&l.enter(),n=s(i),l&&(l.exit(),o=!0)),n===e.promise?a(q("Promise-chain cycle")):(r=Z(n))?f(r,n,u,a):u(n)):a(i)}catch(d){l&&!o&&l.exit(),a(d)}},ee=function(e,t){e.notified||(e.notified=!0,j((function(){var n,r=e.reactions;while(n=r.get())Q(n,e);e.notified=!1,t&&!e.rejection&&ne(e)})))},te=function(e,t,n){var r,o;z?(r=$.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),l.dispatchEvent(r)):r={promise:t,reason:n},!P&&(o=l["on"+e])?o(r):e===W&&w("Unhandled promise rejection",n)},ne=function(e){f(x,l,(function(){var t,n=e.facade,r=e.value,o=re(e);if(o&&(t=_((function(){a?B.emit("unhandledRejection",r,n):te(W,n,r)})),e.rejection=a||re(e)?X:Y,t.error))throw t.value}))},re=function(e){return e.rejection!==Y&&!e.parent},oe=function(e){f(x,l,(function(){var t=e.facade;a?B.emit("rejectionHandled",t):te(G,t,e.value)}))},ie=function(e,t,n){return function(r){e(t,r,n)}},ce=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=K,ee(e,!0))},se=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw q("Promise can't be resolved itself");var r=Z(t);r?j((function(){var n={done:!1};try{f(r,t,ie(se,n,e),ie(ce,n,e))}catch(o){ce(n,o,e)}})):(e.value=t,e.state=J,ee(e,!1))}catch(o){ce({done:!1},o,e)}}};if(A&&(L=function(e){y(this,U),v(e),f(r,this);var t=F(this);try{e(ie(se,t),ie(ce,t))}catch(n){ce(t,n)}},U=L.prototype,r=function(e){M(this,{type:R,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:H,value:void 0})},r.prototype=d(U,"then",(function(e,t){var n=F(this),r=D(O(this,L));return n.parent=!0,r.ok=!g(e)||e,r.fail=g(t)&&t,r.domain=a?B.domain:void 0,n.state==H?n.reactions.add(r):j((function(){Q(r,n)})),r.promise})),o=function(){var e=new r,t=F(e);this.promise=e,this.resolve=ie(se,t),this.reject=ie(ce,t)},T.f=D=function(e){return e===L||e===i?new o(e):V(e)},!u&&g(k)&&N!==Object.prototype)){c=N.then,I||d(N,"then",(function(e,t){var n=this;return new L((function(e,t){f(c,n,e,t)})).then(e,t)}),{unsafe:!0});try{delete N.constructor}catch(ue){}p&&p(N,U)}s({global:!0,constructor:!0,wrap:!0,forced:A},{Promise:L}),h(L,R,!1,!0),b(R)},"5eed":function(e,t,n){var r=n("d256"),o=n("1c7e"),i=n("4738").CONSTRUCTOR;e.exports=i||!o((function(e){r.all(e).then(void 0,(function(){}))}))},"605d":function(e,t,n){var r=n("c6b6"),o=n("da84");e.exports="process"==r(o.process)},6069:function(e,t){e.exports="object"==typeof window&&"object"!=typeof Deno},"60da":function(e,t,n){"use strict";var r=n("83ab"),o=n("e330"),i=n("c65b"),c=n("d039"),s=n("df75"),u=n("7418"),a=n("d1e7"),l=n("7b0b"),f=n("44ad"),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||c((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=d({},e)[n]||s(d({},t)).join("")!=o}))?function(e,t){var n=l(e),o=arguments.length,c=1,d=u.f,p=a.f;while(o>c){var b,v=f(arguments[c++]),g=d?h(s(v),d(v)):s(v),m=g.length,y=0;while(m>y)b=g[y++],r&&!i(p,v,b)||(n[b]=v[b])}return n}:d},6374:function(e,t,n){var r=n("da84"),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},6547:function(e,t,n){var r=n("e330"),o=n("5926"),i=n("577e"),c=n("1d80"),s=r("".charAt),u=r("".charCodeAt),a=r("".slice),l=function(e){return function(t,n){var r,l,f=i(c(t)),d=o(n),p=f.length;return d<0||d>=p?e?"":void 0:(r=u(f,d),r<55296||r>56319||d+1===p||(l=u(f,d+1))<56320||l>57343?e?s(f,d):r:e?a(f,d,d+2):l-56320+(r-55296<<10)+65536)}};e.exports={codeAt:l(!1),charAt:l(!0)}},"68ee":function(e,t,n){var r=n("e330"),o=n("d039"),i=n("1626"),c=n("f5df"),s=n("d066"),u=n("8925"),a=function(){},l=[],f=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=r(d.exec),h=!d.exec(a),b=function(e){if(!i(e))return!1;try{return f(a,l,e),!0}catch(t){return!1}},v=function(e){if(!i(e))return!1;switch(c(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(e))}catch(t){return!0}};v.sham=!0,e.exports=!f||o((function(){var e;return b(b.call)||!b(Object)||!b((function(){e=!0}))||e}))?v:b},"69f3":function(e,t,n){var r,o,i,c=n("7f9a"),s=n("da84"),u=n("e330"),a=n("861d"),l=n("9112"),f=n("1a2d"),d=n("c6cd"),p=n("f772"),h=n("d012"),b="Object already initialized",v=s.TypeError,g=s.WeakMap,m=function(e){return i(e)?o(e):r(e,{})},y=function(e){return function(t){var n;if(!a(t)||(n=o(t)).type!==e)throw v("Incompatible receiver, "+e+" required");return n}};if(c||d.state){var O=d.state||(d.state=new g),x=u(O.get),j=u(O.has),w=u(O.set);r=function(e,t){if(j(O,e))throw new v(b);return t.facade=e,w(O,e,t),t},o=function(e){return x(O,e)||{}},i=function(e){return j(O,e)}}else{var _=p("state");h[_]=!0,r=function(e,t){if(f(e,_))throw new v(b);return t.facade=e,l(e,_,t),t},o=function(e){return f(e,_)?e[_]:{}},i=function(e){return f(e,_)}}e.exports={set:r,get:o,has:i,enforce:m,getterFor:y}},"6b0d":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n}},7149:function(e,t,n){"use strict";var r=n("23e7"),o=n("d066"),i=n("c430"),c=n("d256"),s=n("4738").CONSTRUCTOR,u=n("cdf9"),a=o("Promise"),l=i&&!s;r({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return u(l&&this===a?c:this,e)}})},7418:function(e,t){t.f=Object.getOwnPropertySymbols},7839:function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a23":function(e,t,n){"use strict";n.d(t,"k",(function(){return r["J"]})),n.d(t,"p",(function(){return r["M"]})),n.d(t,"a",(function(){return dr})),n.d(t,"d",(function(){return _r})),n.d(t,"e",(function(){return Lr})),n.d(t,"f",(function(){return wr})),n.d(t,"g",(function(){return Rr})),n.d(t,"h",(function(){return Nr})),n.d(t,"i",(function(){return Ar})),n.d(t,"j",(function(){return Tt})),n.d(t,"l",(function(){return mr})),n.d(t,"m",(function(){return mt})),n.d(t,"n",(function(){return gt})),n.d(t,"o",(function(){return gn})),n.d(t,"t",(function(){return yt})),n.d(t,"u",(function(){return hn})),n.d(t,"b",(function(){return Do})),n.d(t,"c",(function(){return mi})),n.d(t,"q",(function(){return ui})),n.d(t,"r",(function(){return si})),n.d(t,"s",(function(){return pi})),n.d(t,"v",(function(){return di}));var r=n("9ff4");let o;class i{constructor(e=!1){this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=o,!e&&o&&(this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(e){if(this.active){const t=o;try{return o=this,e()}finally{o=t}}else 0}on(){o=this}off(){o=this.parent}stop(e){if(this.active){let t,n;for(t=0,n=this.effects.length;t{const t=new Set(e);return t.w=0,t.n=0,t},u=e=>(e.w&h)>0,a=e=>(e.n&h)>0,l=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{("length"===t||t>=o)&&a.push(e)});else switch(void 0!==n&&a.push(u.get(n)),t){case"add":Object(r["o"])(e)?Object(r["t"])(n)&&a.push(u.get("length")):(a.push(u.get(g)),Object(r["u"])(e)&&a.push(u.get(m)));break;case"delete":Object(r["o"])(e)||(a.push(u.get(g)),Object(r["u"])(e)&&a.push(u.get(m)));break;case"set":Object(r["u"])(e)&&a.push(u.get(g));break}if(1===a.length)a[0]&&E(a[0]);else{const e=[];for(const t of a)t&&e.push(...t);E(s(e))}}function E(e,t){const n=Object(r["o"])(e)?e:[...e];for(const r of n)r.computed&&T(r,t);for(const r of n)r.computed||T(r,t)}function T(e,t){(e!==v||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const R=Object(r["I"])("__proto__,__v_isRef,__isVue"),A=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(r["F"])),P=L(),I=L(!1,!0),F=L(!0),M=N();function N(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...e){const n=Ee(this);for(let t=0,o=this.length;t{e[t]=function(...e){w();const n=Ee(this)[t].apply(this,e);return _(),n}}),e}function L(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_isShallow"===o)return t;if("__v_raw"===o&&i===(e?t?ge:ve:t?be:he).get(n))return n;const c=Object(r["o"])(n);if(!e&&c&&Object(r["k"])(M,o))return Reflect.get(M,o,i);const s=Reflect.get(n,o,i);return(Object(r["F"])(o)?A.has(o):R(o))?s:(e||S(n,"get",o),t?s:Fe(s)?c&&Object(r["t"])(o)?s:s.value:Object(r["w"])(s)?e?je(s):Oe(s):s)}}const U=$(),q=$(!0);function $(e=!1){return function(t,n,o,i){let c=t[n];if(Se(c)&&Fe(c)&&!Fe(o))return!1;if(!e&&(Ce(o)||Se(o)||(c=Ee(c),o=Ee(o)),!Object(r["o"])(t)&&Fe(c)&&!Fe(o)))return c.value=o,!0;const s=Object(r["o"])(t)&&Object(r["t"])(n)?Number(n)e,J=e=>Reflect.getPrototypeOf(e);function K(e,t,n=!1,r=!1){e=e["__v_raw"];const o=Ee(e),i=Ee(t);n||(t!==i&&S(o,"get",t),S(o,"get",i));const{has:c}=J(o),s=r?H:n?Ae:Re;return c.call(o,t)?s(e.get(t)):c.call(o,i)?s(e.get(i)):void(e!==o&&e.get(t))}function Y(e,t=!1){const n=this["__v_raw"],r=Ee(n),o=Ee(e);return t||(e!==o&&S(r,"has",e),S(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function X(e,t=!1){return e=e["__v_raw"],!t&&S(Ee(e),"iterate",g),Reflect.get(e,"size",e)}function Z(e){e=Ee(e);const t=Ee(this),n=J(t),r=n.has.call(t,e);return r||(t.add(e),k(t,"add",e,e)),this}function Q(e,t){t=Ee(t);const n=Ee(this),{has:o,get:i}=J(n);let c=o.call(n,e);c||(e=Ee(e),c=o.call(n,e));const s=i.call(n,e);return n.set(e,t),c?Object(r["j"])(t,s)&&k(n,"set",e,t,s):k(n,"add",e,t),this}function ee(e){const t=Ee(this),{has:n,get:r}=J(t);let o=n.call(t,e);o||(e=Ee(e),o=n.call(t,e));const i=r?r.call(t,e):void 0,c=t.delete(e);return o&&k(t,"delete",e,void 0,i),c}function te(){const e=Ee(this),t=0!==e.size,n=void 0,r=e.clear();return t&&k(e,"clear",void 0,void 0,n),r}function ne(e,t){return function(n,r){const o=this,i=o["__v_raw"],c=Ee(i),s=t?H:e?Ae:Re;return!e&&S(c,"iterate",g),i.forEach((e,t)=>n.call(r,s(e),s(t),o))}}function re(e,t,n){return function(...o){const i=this["__v_raw"],c=Ee(i),s=Object(r["u"])(c),u="entries"===e||e===Symbol.iterator&&s,a="keys"===e&&s,l=i[e](...o),f=n?H:t?Ae:Re;return!t&&S(c,"iterate",a?m:g),{next(){const{value:e,done:t}=l.next();return t?{value:e,done:t}:{value:u?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function oe(e){return function(...t){return"delete"!==e&&this}}function ie(){const e={get(e){return K(this,e)},get size(){return X(this)},has:Y,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!1)},t={get(e){return K(this,e,!1,!0)},get size(){return X(this)},has:Y,add:Z,set:Q,delete:ee,clear:te,forEach:ne(!1,!0)},n={get(e){return K(this,e,!0)},get size(){return X(this,!0)},has(e){return Y.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!1)},r={get(e){return K(this,e,!0,!0)},get size(){return X(this,!0)},has(e){return Y.call(this,e,!0)},add:oe("add"),set:oe("set"),delete:oe("delete"),clear:oe("clear"),forEach:ne(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach(o=>{e[o]=re(o,!1,!1),n[o]=re(o,!0,!1),t[o]=re(o,!1,!0),r[o]=re(o,!0,!0)}),[e,n,t,r]}const[ce,se,ue,ae]=ie();function le(e,t){const n=t?e?ae:ue:e?se:ce;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(Object(r["k"])(n,o)&&o in t?n:t,o,i)}const fe={get:le(!1,!1)},de={get:le(!1,!0)},pe={get:le(!0,!1)};const he=new WeakMap,be=new WeakMap,ve=new WeakMap,ge=new WeakMap;function me(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ye(e){return e["__v_skip"]||!Object.isExtensible(e)?0:me(Object(r["P"])(e))}function Oe(e){return Se(e)?e:we(e,!1,z,fe,he)}function xe(e){return we(e,!1,G,de,be)}function je(e){return we(e,!0,W,pe,ve)}function we(e,t,n,o,i){if(!Object(r["w"])(e))return e;if(e["__v_raw"]&&(!t||!e["__v_isReactive"]))return e;const c=i.get(e);if(c)return c;const s=ye(e);if(0===s)return e;const u=new Proxy(e,2===s?o:n);return i.set(e,u),u}function _e(e){return Se(e)?_e(e["__v_raw"]):!(!e||!e["__v_isReactive"])}function Se(e){return!(!e||!e["__v_isReadonly"])}function Ce(e){return!(!e||!e["__v_isShallow"])}function ke(e){return _e(e)||Se(e)}function Ee(e){const t=e&&e["__v_raw"];return t?Ee(t):e}function Te(e){return Object(r["g"])(e,"__v_skip",!0),e}const Re=e=>Object(r["w"])(e)?Oe(e):e,Ae=e=>Object(r["w"])(e)?je(e):e;function Pe(e){x&&v&&(e=Ee(e),C(e.dep||(e.dep=s())))}function Ie(e,t){e=Ee(e),e.dep&&E(e.dep)}function Fe(e){return!(!e||!0!==e.__v_isRef)}function Me(e){return Fe(e)?e.value:e}const Ne={get:(e,t,n)=>Me(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Fe(o)&&!Fe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Le(e){return _e(e)?e:new Proxy(e,Ne)}var Ue;class qe{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[Ue]=!1,this._dirty=!0,this.effect=new y(e,()=>{this._dirty||(this._dirty=!0,Ie(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this["__v_isReadonly"]=n}get value(){const e=Ee(this);return Pe(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function $e(e,t,n=!1){let o,i;const c=Object(r["q"])(e);c?(o=e,i=r["d"]):(o=e.get,i=e.set);const s=new qe(o,i,c||!i,n);return s}Ue="__v_isReadonly";function Be(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){Ve(i,t,n)}return o}function De(e,t,n,o){if(Object(r["q"])(e)){const i=Be(e,t,n,o);return i&&Object(r["z"])(i)&&i.catch(e=>{Ve(e,t,n)}),i}const i=[];for(let r=0;r>>1,o=ut(He[r]);oJe&&He.splice(t,1)}function it(e){Object(r["o"])(e)?Ke.push(...e):Ye&&Ye.includes(e,e.allowRecurse?Xe+1:Xe)||Ke.push(e),rt()}function ct(e,t=(We?Je+1:0)){for(0;tut(e)-ut(t)),Xe=0;Xenull==e.id?1/0:e.id,at=(e,t)=>{const n=ut(e)-ut(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function lt(e){Ge=!1,We=!0,He.sort(at);r["d"];try{for(Je=0;Jee.trim())),t&&(i=n.map(r["O"]))}let u;let a=o[u=Object(r["N"])(t)]||o[u=Object(r["N"])(Object(r["e"])(t))];!a&&c&&(a=o[u=Object(r["N"])(Object(r["l"])(t))]),a&&De(a,e,6,i);const l=o[u+"Once"];if(l){if(e.emitted){if(e.emitted[u])return}else e.emitted={};e.emitted[u]=!0,De(l,e,6,i)}}function dt(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const c=e.emits;let s={},u=!1;if(!Object(r["q"])(e)){const o=e=>{const n=dt(e,t,!0);n&&(u=!0,Object(r["h"])(s,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return c||u?(Object(r["o"])(c)?c.forEach(e=>s[e]=null):Object(r["h"])(s,c),Object(r["w"])(e)&&o.set(e,s),s):(Object(r["w"])(e)&&o.set(e,null),null)}function pt(e,t){return!(!e||!Object(r["x"])(t))&&(t=t.slice(2).replace(/Once$/,""),Object(r["k"])(e,t[0].toLowerCase()+t.slice(1))||Object(r["k"])(e,Object(r["l"])(t))||Object(r["k"])(e,t))}let ht=null,bt=null;function vt(e){const t=ht;return ht=e,bt=e&&e.type.__scopeId||null,t}function gt(e){bt=e}function mt(){bt=null}function yt(e,t=ht,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&xr(-1);const o=vt(t);let i;try{i=e(...n)}finally{vt(o),r._d&&xr(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ot(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:c,propsOptions:[s],slots:u,attrs:a,emit:l,render:f,renderCache:d,data:p,setupState:h,ctx:b,inheritAttrs:v}=e;let g,m;const y=vt(e);try{if(4&n.shapeFlag){const e=i||o;g=Ur(f.call(e,e,d,c,h,p,b)),m=a}else{const e=t;0,g=Ur(e.length>1?e(c,{attrs:a,slots:u,emit:l}):e(c,null)),m=t.props?a:xt(a)}}catch(x){vr.length=0,Ve(x,e,1),g=Ar(hr)}let O=g;if(m&&!1!==v){const e=Object.keys(m),{shapeFlag:t}=O;e.length&&7&t&&(s&&e.some(r["v"])&&(m=jt(m,s)),O=Fr(O,m))}return n.dirs&&(O=Fr(O),O.dirs=O.dirs?O.dirs.concat(n.dirs):n.dirs),n.transition&&(O.transition=n.transition),g=O,vt(y),g}const xt=e=>{let t;for(const n in e)("class"===n||"style"===n||Object(r["x"])(n))&&((t||(t={}))[n]=e[n]);return t},jt=(e,t)=>{const n={};for(const o in e)Object(r["v"])(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function wt(e,t,n){const{props:r,children:o,component:i}=e,{props:c,children:s,patchFlag:u}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&u>=0))return!(!o&&!s||s&&s.$stable)||r!==c&&(r?!c||_t(r,c,a):!!c);if(1024&u)return!0;if(16&u)return r?_t(r,c,a):!!c;if(8&u){const e=t.dynamicProps;for(let t=0;te.__isSuspense;function kt(e,t){t&&t.pendingBranch?Object(r["o"])(e)?t.effects.push(...e):t.effects.push(e):it(e)}function Et(e,t){if(Gr){let n=Gr.provides;const r=Gr.parent&&Gr.parent.provides;r===n&&(n=Gr.provides=Object.create(r)),n[e]=t}else 0}function Tt(e,t,n=!1){const o=Gr||ht;if(o){const i=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Object(r["q"])(t)?t.call(o.proxy):t}else 0}const Rt={};function At(e,t,n){return Pt(e,t,n)}function Pt(e,t,{immediate:n,deep:o,flush:i,onTrack:c,onTrigger:s}=r["b"]){const u=Gr;let a,l,f=!1,d=!1;if(Fe(e)?(a=()=>e.value,f=Ce(e)):_e(e)?(a=()=>e,o=!0):Object(r["o"])(e)?(d=!0,f=e.some(e=>_e(e)||Ce(e)),a=()=>e.map(e=>Fe(e)?e.value:_e(e)?Mt(e):Object(r["q"])(e)?Be(e,u,2):void 0)):a=Object(r["q"])(e)?t?()=>Be(e,u,2):()=>{if(!u||!u.isUnmounted)return l&&l(),De(e,u,3,[p])}:r["d"],t&&o){const e=a;a=()=>Mt(e())}let p=e=>{l=g.onStop=()=>{Be(e,u,4)}};if(Qr)return p=r["d"],t?n&&De(t,u,3,[a(),d?[]:void 0,p]):a(),r["d"];let h=d?[]:Rt;const b=()=>{if(g.active)if(t){const e=g.run();(o||f||(d?e.some((e,t)=>Object(r["j"])(e,h[t])):Object(r["j"])(e,h)))&&(l&&l(),De(t,u,3,[e,h===Rt?void 0:h,p]),h=e)}else g.run()};let v;b.allowRecurse=!!t,"sync"===i?v=b:"post"===i?v=()=>ir(b,u&&u.suspense):(b.pre=!0,u&&(b.id=u.uid),v=()=>nt(b));const g=new y(a,v);return t?n?b():h=g.run():"post"===i?ir(g.run.bind(g),u&&u.suspense):g.run(),()=>{g.stop(),u&&u.scope&&Object(r["L"])(u.scope.effects,g)}}function It(e,t,n){const o=this.proxy,i=Object(r["E"])(e)?e.includes(".")?Ft(o,e):()=>o[e]:e.bind(o,o);let c;Object(r["q"])(t)?c=t:(c=t.handler,n=t);const s=Gr;Jr(this);const u=Pt(i,c.bind(o),n);return s?Jr(s):Kr(),u}function Ft(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{Mt(e,t)});else if(Object(r["y"])(e))for(const n in e)Mt(e[n],t);return e}function Nt(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return on(()=>{e.isMounted=!0}),un(()=>{e.isUnmounting=!0}),e}const Lt=[Function,Array],Ut={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Lt,onEnter:Lt,onAfterEnter:Lt,onEnterCancelled:Lt,onBeforeLeave:Lt,onLeave:Lt,onAfterLeave:Lt,onLeaveCancelled:Lt,onBeforeAppear:Lt,onAppear:Lt,onAfterAppear:Lt,onAppearCancelled:Lt},setup(e,{slots:t}){const n=Hr(),r=Nt();let o;return()=>{const i=t.default&&Wt(t.default(),!0);if(!i||!i.length)return;let c=i[0];if(i.length>1){let e=!1;for(const t of i)if(t.type!==hr){0,c=t,e=!0;break}}const s=Ee(e),{mode:u}=s;if(r.isLeaving)return Dt(c);const a=Vt(c);if(!a)return Dt(c);const l=Bt(a,s,r,n);zt(a,l);const f=n.subTree,d=f&&Vt(f);let p=!1;const{getTransitionKey:h}=a.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,p=!0)}if(d&&d.type!==hr&&(!Cr(a,d)||p)){const e=Bt(d,s,r,n);if(zt(d,e),"out-in"===u)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.update()},Dt(c);"in-out"===u&&a.type!==hr&&(e.delayLeave=(e,t,n)=>{const o=$t(r,d);o[String(d.key)]=d,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return c}}},qt=Ut;function $t(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Bt(e,t,n,o){const{appear:i,mode:c,persisted:s=!1,onBeforeEnter:u,onEnter:a,onAfterEnter:l,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:b,onBeforeAppear:v,onAppear:g,onAfterAppear:m,onAppearCancelled:y}=t,O=String(e.key),x=$t(n,e),j=(e,t)=>{e&&De(e,o,9,t)},w=(e,t)=>{const n=t[1];j(e,t),Object(r["o"])(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},_={mode:c,persisted:s,beforeEnter(t){let r=u;if(!n.isMounted){if(!i)return;r=v||u}t._leaveCb&&t._leaveCb(!0);const o=x[O];o&&Cr(e,o)&&o.el._leaveCb&&o.el._leaveCb(),j(r,[t])},enter(e){let t=a,r=l,o=f;if(!n.isMounted){if(!i)return;t=g||a,r=m||l,o=y||f}let c=!1;const s=e._enterCb=t=>{c||(c=!0,j(t?o:r,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?w(t,[e,s]):s()},leave(t,r){const o=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return r();j(d,[t]);let i=!1;const c=t._leaveCb=n=>{i||(i=!0,r(),j(n?b:h,[t]),t._leaveCb=void 0,x[o]===e&&delete x[o])};x[o]=e,p?w(p,[t,c]):c()},clone(e){return Bt(e,t,n,o)}};return _}function Dt(e){if(Ht(e))return e=Fr(e),e.children=null,e}function Vt(e){return Ht(e)?e.children?e.children[0]:void 0:e}function zt(e,t){6&e.shapeFlag&&e.component?zt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Wt(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader;const Ht=e=>e.type.__isKeepAlive;RegExp,RegExp;function Jt(e,t){return Object(r["o"])(e)?e.some(e=>Jt(e,t)):Object(r["E"])(e)?e.split(",").includes(t):!!e.test&&e.test(t)}function Kt(e,t){Xt(e,"a",t)}function Yt(e,t){Xt(e,"da",t)}function Xt(e,t,n=Gr){const r=e.__wdc||(e.__wdc=()=>{let t=n;while(t){if(t.isDeactivated)return;t=t.parent}return e()});if(tn(t,r,n),n){let e=n.parent;while(e&&e.parent)Ht(e.parent.vnode)&&Zt(r,t,n,e),e=e.parent}}function Zt(e,t,n,o){const i=tn(t,e,o,!0);an(()=>{Object(r["L"])(o[t],i)},n)}function Qt(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function en(e){return 128&e.shapeFlag?e.ssContent:e}function tn(e,t,n=Gr,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;w(),Jr(n);const o=De(t,n,e,r);return Kr(),_(),o});return r?o.unshift(i):o.push(i),i}}const nn=e=>(t,n=Gr)=>(!Qr||"sp"===e)&&tn(e,(...e)=>t(...e),n),rn=nn("bm"),on=nn("m"),cn=nn("bu"),sn=nn("u"),un=nn("bum"),an=nn("um"),ln=nn("sp"),fn=nn("rtg"),dn=nn("rtc");function pn(e,t=Gr){tn("ec",e,t)}function hn(e,t){const n=ht;if(null===n)return e;const o=co(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let c=0;ce?Yr(e)?co(e)||e.proxy:xn(e.parent):null,jn=Object(r["h"])(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xn(e.parent),$root:e=>xn(e.root),$emit:e=>e.emit,$options:e=>Tn(e),$forceUpdate:e=>e.f||(e.f=()=>nt(e.update)),$nextTick:e=>e.n||(e.n=et.bind(e.proxy)),$watch:e=>It.bind(e)}),wn={get({_:e},t){const{ctx:n,setupState:o,data:i,props:c,accessCache:s,type:u,appContext:a}=e;let l;if("$"!==t[0]){const u=s[t];if(void 0!==u)switch(u){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return c[t]}else{if(o!==r["b"]&&Object(r["k"])(o,t))return s[t]=1,o[t];if(i!==r["b"]&&Object(r["k"])(i,t))return s[t]=2,i[t];if((l=e.propsOptions[0])&&Object(r["k"])(l,t))return s[t]=3,c[t];if(n!==r["b"]&&Object(r["k"])(n,t))return s[t]=4,n[t];_n&&(s[t]=0)}}const f=jn[t];let d,p;return f?("$attrs"===t&&S(e,"get",t),f(e)):(d=u.__cssModules)&&(d=d[t])?d:n!==r["b"]&&Object(r["k"])(n,t)?(s[t]=4,n[t]):(p=a.config.globalProperties,Object(r["k"])(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:c}=e;return i!==r["b"]&&Object(r["k"])(i,t)?(i[t]=n,!0):o!==r["b"]&&Object(r["k"])(o,t)?(o[t]=n,!0):!Object(r["k"])(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(c[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:c}},s){let u;return!!n[s]||e!==r["b"]&&Object(r["k"])(e,s)||t!==r["b"]&&Object(r["k"])(t,s)||(u=c[0])&&Object(r["k"])(u,s)||Object(r["k"])(o,s)||Object(r["k"])(jn,s)||Object(r["k"])(i.config.globalProperties,s)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Object(r["k"])(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let _n=!0;function Sn(e){const t=Tn(e),n=e.proxy,o=e.ctx;_n=!1,t.beforeCreate&&kn(t.beforeCreate,e,"bc");const{data:i,computed:c,methods:s,watch:u,provide:a,inject:l,created:f,beforeMount:d,mounted:p,beforeUpdate:h,updated:b,activated:v,deactivated:g,beforeDestroy:m,beforeUnmount:y,destroyed:O,unmounted:x,render:j,renderTracked:w,renderTriggered:_,errorCaptured:S,serverPrefetch:C,expose:k,inheritAttrs:E,components:T,directives:R,filters:A}=t,P=null;if(l&&Cn(l,o,P,e.appContext.config.unwrapInjectedRef),s)for(const F in s){const e=s[F];Object(r["q"])(e)&&(o[F]=e.bind(n))}if(i){0;const t=i.call(n,n);0,Object(r["w"])(t)&&(e.data=Oe(t))}if(_n=!0,c)for(const F in c){const e=c[F],t=Object(r["q"])(e)?e.bind(n,n):Object(r["q"])(e.get)?e.get.bind(n,n):r["d"];0;const i=!Object(r["q"])(e)&&Object(r["q"])(e.set)?e.set.bind(n):r["d"],s=ao({get:t,set:i});Object.defineProperty(o,F,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(u)for(const r in u)En(u[r],o,n,r);if(a){const e=Object(r["q"])(a)?a.call(n):a;Reflect.ownKeys(e).forEach(t=>{Et(t,e[t])})}function I(e,t){Object(r["o"])(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(f&&kn(f,e,"c"),I(rn,d),I(on,p),I(cn,h),I(sn,b),I(Kt,v),I(Yt,g),I(pn,S),I(dn,w),I(fn,_),I(un,y),I(an,x),I(ln,C),Object(r["o"])(k))if(k.length){const t=e.exposed||(e.exposed={});k.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})})}else e.exposed||(e.exposed={});j&&e.render===r["d"]&&(e.render=j),null!=E&&(e.inheritAttrs=E),T&&(e.components=T),R&&(e.directives=R)}function Cn(e,t,n=r["d"],o=!1){Object(r["o"])(e)&&(e=Fn(e));for(const i in e){const n=e[i];let c;c=Object(r["w"])(n)?"default"in n?Tt(n.from||i,n.default,!0):Tt(n.from||i):Tt(n),Fe(c)&&o?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>c.value,set:e=>c.value=e}):t[i]=c}}function kn(e,t,n){De(Object(r["o"])(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function En(e,t,n,o){const i=o.includes(".")?Ft(n,o):()=>n[o];if(Object(r["E"])(e)){const n=t[e];Object(r["q"])(n)&&At(i,n)}else if(Object(r["q"])(e))At(i,e.bind(n));else if(Object(r["w"])(e))if(Object(r["o"])(e))e.forEach(e=>En(e,t,n,o));else{const o=Object(r["q"])(e.handler)?e.handler.bind(n):t[e.handler];Object(r["q"])(o)&&At(i,o,e)}else 0}function Tn(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:c,config:{optionMergeStrategies:s}}=e.appContext,u=c.get(t);let a;return u?a=u:i.length||n||o?(a={},i.length&&i.forEach(e=>Rn(a,e,s,!0)),Rn(a,t,s)):a=t,Object(r["w"])(t)&&c.set(t,a),a}function Rn(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Rn(e,i,n,!0),o&&o.forEach(t=>Rn(e,t,n,!0));for(const c in t)if(r&&"expose"===c);else{const r=An[c]||n&&n[c];e[c]=r?r(e[c],t[c]):t[c]}return e}const An={data:Pn,props:Nn,emits:Nn,methods:Nn,computed:Nn,beforeCreate:Mn,created:Mn,beforeMount:Mn,mounted:Mn,beforeUpdate:Mn,updated:Mn,beforeDestroy:Mn,beforeUnmount:Mn,destroyed:Mn,unmounted:Mn,activated:Mn,deactivated:Mn,errorCaptured:Mn,serverPrefetch:Mn,components:Nn,directives:Nn,watch:Ln,provide:Pn,inject:In};function Pn(e,t){return t?e?function(){return Object(r["h"])(Object(r["q"])(e)?e.call(this,this):e,Object(r["q"])(t)?t.call(this,this):t)}:t:e}function In(e,t){return Nn(Fn(e),Fn(t))}function Fn(e){if(Object(r["o"])(e)){const t={};for(let n=0;n0)||16&s){let o;$n(e,t,i,c)&&(l=!0);for(const c in u)t&&(Object(r["k"])(t,c)||(o=Object(r["l"])(c))!==c&&Object(r["k"])(t,o))||(a?!n||void 0===n[c]&&void 0===n[o]||(i[c]=Bn(a,u,c,void 0,e,!0)):delete i[c]);if(c!==u)for(const e in c)t&&Object(r["k"])(t,e)||(delete c[e],l=!0)}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o{a=!0;const[n,o]=Dn(e,t,!0);Object(r["h"])(s,n),o&&u.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!c&&!a)return Object(r["w"])(e)&&o.set(e,r["a"]),r["a"];if(Object(r["o"])(c))for(let f=0;f-1,o[1]=n<0||e-1||Object(r["k"])(o,"default"))&&u.push(t)}}}}const l=[s,u];return Object(r["w"])(e)&&o.set(e,l),l}function Vn(e){return"$"!==e[0]}function zn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function Wn(e,t){return zn(e)===zn(t)}function Gn(e,t){return Object(r["o"])(t)?t.findIndex(t=>Wn(t,e)):Object(r["q"])(t)&&Wn(t,e)?0:-1}const Hn=e=>"_"===e[0]||"$stable"===e,Jn=e=>Object(r["o"])(e)?e.map(Ur):[Ur(e)],Kn=(e,t,n)=>{if(t._n)return t;const r=yt((...e)=>Jn(t(...e)),n);return r._c=!1,r},Yn=(e,t,n)=>{const o=e._ctx;for(const i in e){if(Hn(i))continue;const n=e[i];if(Object(r["q"])(n))t[i]=Kn(i,n,o);else if(null!=n){0;const e=Jn(n);t[i]=()=>e}}},Xn=(e,t)=>{const n=Jn(t);e.slots.default=()=>n},Zn=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Ee(t),Object(r["g"])(t,"_",n)):Yn(t,e.slots={})}else e.slots={},t&&Xn(e,t);Object(r["g"])(e.slots,kr,1)},Qn=(e,t,n)=>{const{vnode:o,slots:i}=e;let c=!0,s=r["b"];if(32&o.shapeFlag){const e=t._;e?n&&1===e?c=!1:(Object(r["h"])(i,t),n||1!==e||delete i._):(c=!t.$stable,Yn(t,i)),s=t}else t&&(Xn(e,t),s={default:1});if(c)for(const r in i)Hn(r)||r in s||delete i[r]};function er(){return{app:null,config:{isNativeTag:r["c"],performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let tr=0;function nr(e,t){return function(n,o=null){Object(r["q"])(n)||(n=Object.assign({},n)),null==o||Object(r["w"])(o)||(o=null);const i=er(),c=new Set;let s=!1;const u=i.app={_uid:tr++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:fo,get config(){return i.config},set config(e){0},use(e,...t){return c.has(e)||(e&&Object(r["q"])(e.install)?(c.add(e),e.install(u,...t)):Object(r["q"])(e)&&(c.add(e),e(u,...t))),u},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),u},component(e,t){return t?(i.components[e]=t,u):i.components[e]},directive(e,t){return t?(i.directives[e]=t,u):i.directives[e]},mount(r,c,a){if(!s){0;const l=Ar(n,o);return l.appContext=i,c&&t?t(l,r):e(l,r,a),s=!0,u._container=r,r.__vue_app__=u,co(l.component)||l.component.proxy}},unmount(){s&&(e(null,u._container),delete u._container.__vue_app__)},provide(e,t){return i.provides[e]=t,u}};return u}}function rr(e,t,n,o,i=!1){if(Object(r["o"])(e))return void e.forEach((e,c)=>rr(e,t&&(Object(r["o"])(t)?t[c]:t),n,o,i));if(Gt(o)&&!i)return;const c=4&o.shapeFlag?co(o.component)||o.component.proxy:o.el,s=i?null:c,{i:u,r:a}=e;const l=t&&t.r,f=u.refs===r["b"]?u.refs={}:u.refs,d=u.setupState;if(null!=l&&l!==a&&(Object(r["E"])(l)?(f[l]=null,Object(r["k"])(d,l)&&(d[l]=null)):Fe(l)&&(l.value=null)),Object(r["q"])(a))Be(a,u,12,[s,f]);else{const t=Object(r["E"])(a),o=Fe(a);if(t||o){const u=()=>{if(e.f){const n=t?Object(r["k"])(d,a)?d[a]:f[a]:a.value;i?Object(r["o"])(n)&&Object(r["L"])(n,c):Object(r["o"])(n)?n.includes(c)||n.push(c):t?(f[a]=[c],Object(r["k"])(d,a)&&(d[a]=f[a])):(a.value=[c],e.k&&(f[e.k]=a.value))}else t?(f[a]=s,Object(r["k"])(d,a)&&(d[a]=s)):o&&(a.value=s,e.k&&(f[e.k]=s))};s?(u.id=-1,ir(u,n)):u()}else 0}}function or(){}const ir=kt;function cr(e){return sr(e)}function sr(e,t){or();const n=Object(r["i"])();n.__VUE__=!0;const{insert:o,remove:i,patchProp:c,createElement:s,createText:u,createComment:a,setText:l,setElementText:f,parentNode:d,nextSibling:p,setScopeId:h=r["d"],insertStaticContent:b}=e,v=(e,t,n,r=null,o=null,i=null,c=!1,s=null,u=!!t.dynamicChildren)=>{if(e===t)return;e&&!Cr(e,t)&&(r=H(e),D(e,o,i,!0),e=null),-2===t.patchFlag&&(u=!1,t.dynamicChildren=null);const{type:a,ref:l,shapeFlag:f}=t;switch(a){case pr:g(e,t,n,r);break;case hr:m(e,t,n,r);break;case br:null==e&&O(t,n,r,c);break;case dr:P(e,t,n,r,o,i,c,s,u);break;default:1&f?S(e,t,n,r,o,i,c,s,u):6&f?I(e,t,n,r,o,i,c,s,u):(64&f||128&f)&&a.process(e,t,n,r,o,i,c,s,u,K)}null!=l&&o&&rr(l,e&&e.ref,i,t||e,!t)},g=(e,t,n,r)=>{if(null==e)o(t.el=u(t.children),n,r);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},m=(e,t,n,r)=>{null==e?o(t.el=a(t.children||""),n,r):t.el=e.el},O=(e,t,n,r)=>{[e.el,e.anchor]=b(e.children,t,n,r,e.el,e.anchor)},x=({el:e,anchor:t},n,r)=>{let i;while(e&&e!==t)i=p(e),o(e,n,r),e=i;o(t,n,r)},j=({el:e,anchor:t})=>{let n;while(e&&e!==t)n=p(e),i(e),e=n;i(t)},S=(e,t,n,r,o,i,c,s,u)=>{c=c||"svg"===t.type,null==e?C(t,n,r,o,i,c,s,u):T(e,t,o,i,c,s,u)},C=(e,t,n,i,u,a,l,d)=>{let p,h;const{type:b,props:v,shapeFlag:g,transition:m,dirs:y}=e;if(p=e.el=s(e.type,a,v&&v.is,v),8&g?f(p,e.children):16&g&&E(e.children,p,null,i,u,a&&"foreignObject"!==b,l,d),y&&bn(e,null,i,"created"),v){for(const t in v)"value"===t||Object(r["A"])(t)||c(p,t,null,v[t],a,e.children,i,u,G);"value"in v&&c(p,"value",null,v.value),(h=v.onVnodeBeforeMount)&&Dr(h,i,e)}k(p,e,e.scopeId,l,i),y&&bn(e,null,i,"beforeMount");const O=(!u||u&&!u.pendingBranch)&&m&&!m.persisted;O&&m.beforeEnter(p),o(p,t,n),((h=v&&v.onVnodeMounted)||O||y)&&ir(()=>{h&&Dr(h,i,e),O&&m.enter(p),y&&bn(e,null,i,"mounted")},u)},k=(e,t,n,r,o)=>{if(n&&h(e,n),r)for(let i=0;i{for(let a=u;a{const a=t.el=e.el;let{patchFlag:l,dynamicChildren:d,dirs:p}=t;l|=16&e.patchFlag;const h=e.props||r["b"],b=t.props||r["b"];let v;n&&ur(n,!1),(v=b.onVnodeBeforeUpdate)&&Dr(v,n,t,e),p&&bn(t,e,n,"beforeUpdate"),n&&ur(n,!0);const g=i&&"foreignObject"!==t.type;if(d?R(e.dynamicChildren,d,a,n,o,g,s):u||U(e,t,a,null,n,o,g,s,!1),l>0){if(16&l)A(a,t,h,b,n,o,i);else if(2&l&&h.class!==b.class&&c(a,"class",null,b.class,i),4&l&&c(a,"style",h.style,b.style,i),8&l){const r=t.dynamicProps;for(let t=0;t{v&&Dr(v,n,t,e),p&&bn(t,e,n,"updated")},o)},R=(e,t,n,r,o,i,c)=>{for(let s=0;s{if(n!==o){if(n!==r["b"])for(const a in n)Object(r["A"])(a)||a in o||c(e,a,n[a],null,u,t.children,i,s,G);for(const a in o){if(Object(r["A"])(a))continue;const l=o[a],f=n[a];l!==f&&"value"!==a&&c(e,a,f,l,u,t.children,i,s,G)}"value"in o&&c(e,"value",n.value,o.value)}},P=(e,t,n,r,i,c,s,a,l)=>{const f=t.el=e?e.el:u(""),d=t.anchor=e?e.anchor:u("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:b}=t;b&&(a=a?a.concat(b):b),null==e?(o(f,n,r),o(d,n,r),E(t.children,n,d,i,c,s,a,l)):p>0&&64&p&&h&&e.dynamicChildren?(R(e.dynamicChildren,h,n,i,c,s,a),(null!=t.key||i&&t===i.subTree)&&ar(e,t,!0)):U(e,t,n,d,i,c,s,a,l)},I=(e,t,n,r,o,i,c,s,u)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,c,u):F(t,n,r,o,i,c,u):M(e,t,u)},F=(e,t,n,r,o,i,c)=>{const s=e.component=Wr(e,r,o);if(Ht(e)&&(s.ctx.renderer=K),eo(s),s.asyncDep){if(o&&o.registerDep(s,N),!e.el){const e=s.subTree=Ar(hr);m(null,e,t,n)}}else N(s,e,t,n,o,i,c)},M=(e,t,n)=>{const r=t.component=e.component;if(wt(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void L(r,t,n);r.next=t,ot(r.update),r.update()}else t.el=e.el,r.vnode=t},N=(e,t,n,o,i,c,s)=>{const u=()=>{if(e.isMounted){let t,{next:n,bu:o,u:u,parent:a,vnode:l}=e,f=n;0,ur(e,!1),n?(n.el=l.el,L(e,n,s)):n=l,o&&Object(r["n"])(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Dr(t,a,n,l),ur(e,!0);const p=Ot(e);0;const h=e.subTree;e.subTree=p,v(h,p,d(h.el),H(h),e,i,c),n.el=p.el,null===f&&St(e,p.el),u&&ir(u,i),(t=n.props&&n.props.onVnodeUpdated)&&ir(()=>Dr(t,a,n,l),i)}else{let s;const{el:u,props:a}=t,{bm:l,m:f,parent:d}=e,p=Gt(t);if(ur(e,!1),l&&Object(r["n"])(l),!p&&(s=a&&a.onVnodeBeforeMount)&&Dr(s,d,t),ur(e,!0),u&&X){const n=()=>{e.subTree=Ot(e),X(u,e.subTree,e,i,null)};p?t.type.__asyncLoader().then(()=>!e.isUnmounted&&n()):n()}else{0;const r=e.subTree=Ot(e);0,v(null,r,n,o,e,i,c),t.el=r.el}if(f&&ir(f,i),!p&&(s=a&&a.onVnodeMounted)){const e=t;ir(()=>Dr(s,d,e),i)}(256&t.shapeFlag||d&&Gt(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&ir(e.a,i),e.isMounted=!0,t=n=o=null}},a=e.effect=new y(u,()=>nt(l),e.scope),l=e.update=()=>a.run();l.id=e.uid,ur(e,!0),l()},L=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,qn(e,t.props,r,n),Qn(e,t.children,n),w(),ct(),_()},U=(e,t,n,r,o,i,c,s,u=!1)=>{const a=e&&e.children,l=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void $(a,d,n,r,o,i,c,s,u);if(256&p)return void q(a,d,n,r,o,i,c,s,u)}8&h?(16&l&&G(a,o,i),d!==a&&f(n,d)):16&l?16&h?$(a,d,n,r,o,i,c,s,u):G(a,o,i,!0):(8&l&&f(n,""),16&h&&E(d,n,r,o,i,c,s,u))},q=(e,t,n,o,i,c,s,u,a)=>{e=e||r["a"],t=t||r["a"];const l=e.length,f=t.length,d=Math.min(l,f);let p;for(p=0;pf?G(e,i,c,!0,!1,d):E(t,n,o,i,c,s,u,a,d)},$=(e,t,n,o,i,c,s,u,a)=>{let l=0;const f=t.length;let d=e.length-1,p=f-1;while(l<=d&&l<=p){const r=e[l],o=t[l]=a?qr(t[l]):Ur(t[l]);if(!Cr(r,o))break;v(r,o,n,null,i,c,s,u,a),l++}while(l<=d&&l<=p){const r=e[d],o=t[p]=a?qr(t[p]):Ur(t[p]);if(!Cr(r,o))break;v(r,o,n,null,i,c,s,u,a),d--,p--}if(l>d){if(l<=p){const e=p+1,r=ep)while(l<=d)D(e[l],i,c,!0),l++;else{const h=l,b=l,g=new Map;for(l=b;l<=p;l++){const e=t[l]=a?qr(t[l]):Ur(t[l]);null!=e.key&&g.set(e.key,l)}let m,y=0;const O=p-b+1;let x=!1,j=0;const w=new Array(O);for(l=0;l=O){D(r,i,c,!0);continue}let o;if(null!=r.key)o=g.get(r.key);else for(m=b;m<=p;m++)if(0===w[m-b]&&Cr(r,t[m])){o=m;break}void 0===o?D(r,i,c,!0):(w[o-b]=l+1,o>=j?j=o:x=!0,v(r,t[o],n,null,i,c,s,u,a),y++)}const _=x?lr(w):r["a"];for(m=_.length-1,l=O-1;l>=0;l--){const e=b+l,r=t[e],d=e+1{const{el:c,type:s,transition:u,children:a,shapeFlag:l}=e;if(6&l)return void B(e.component.subTree,t,n,r);if(128&l)return void e.suspense.move(t,n,r);if(64&l)return void s.move(e,t,n,K);if(s===dr){o(c,t,n);for(let e=0;eu.enter(c),i);else{const{leave:e,delayLeave:r,afterLeave:i}=u,s=()=>o(c,t,n),a=()=>{e(c,()=>{s(),i&&i()})};r?r(c,s,a):a()}else o(c,t,n)},D=(e,t,n,r=!1,o=!1)=>{const{type:i,props:c,ref:s,children:u,dynamicChildren:a,shapeFlag:l,patchFlag:f,dirs:d}=e;if(null!=s&&rr(s,null,n,e,!0),256&l)return void t.ctx.deactivate(e);const p=1&l&&d,h=!Gt(e);let b;if(h&&(b=c&&c.onVnodeBeforeUnmount)&&Dr(b,t,e),6&l)W(e.component,n,r);else{if(128&l)return void e.suspense.unmount(n,r);p&&bn(e,null,t,"beforeUnmount"),64&l?e.type.remove(e,t,n,o,K,r):a&&(i!==dr||f>0&&64&f)?G(a,t,n,!1,!0):(i===dr&&384&f||!o&&16&l)&&G(u,t,n),r&&V(e)}(h&&(b=c&&c.onVnodeUnmounted)||p)&&ir(()=>{b&&Dr(b,t,e),p&&bn(e,null,t,"unmounted")},n)},V=e=>{const{type:t,el:n,anchor:r,transition:o}=e;if(t===dr)return void z(n,r);if(t===br)return void j(e);const c=()=>{i(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,i=()=>t(n,c);r?r(e.el,c,i):i()}else c()},z=(e,t)=>{let n;while(e!==t)n=p(e),i(e),e=n;i(t)},W=(e,t,n)=>{const{bum:o,scope:i,update:c,subTree:s,um:u}=e;o&&Object(r["n"])(o),i.stop(),c&&(c.active=!1,D(s,e,t,n)),u&&ir(u,t),ir(()=>{e.isUnmounted=!0},t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},G=(e,t,n,r=!1,o=!1,i=0)=>{for(let c=i;c6&e.shapeFlag?H(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),J=(e,t,n)=>{null==e?t._vnode&&D(t._vnode,null,null,!0):v(t._vnode||null,e,t,null,null,null,n),ct(),st(),t._vnode=e},K={p:v,um:D,m:B,r:V,mt:F,mc:E,pc:U,pbc:R,n:H,o:e};let Y,X;return t&&([Y,X]=t(K)),{render:J,hydrate:Y,createApp:nr(J,Y)}}function ur({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ar(e,t,n=!1){const o=e.children,i=t.children;if(Object(r["o"])(o)&&Object(r["o"])(i))for(let r=0;r>1,e[n[s]]0&&(t[r]=n[i-1]),n[i]=r)}}i=n.length,c=n[i-1];while(i-- >0)n[i]=c,c=t[c];return n}const fr=e=>e.__isTeleport;const dr=Symbol(void 0),pr=Symbol(void 0),hr=Symbol(void 0),br=Symbol(void 0),vr=[];let gr=null;function mr(e=!1){vr.push(gr=e?null:[])}function yr(){vr.pop(),gr=vr[vr.length-1]||null}let Or=1;function xr(e){Or+=e}function jr(e){return e.dynamicChildren=Or>0?gr||r["a"]:null,yr(),Or>0&&gr&&gr.push(e),e}function wr(e,t,n,r,o,i){return jr(Rr(e,t,n,r,o,i,!0))}function _r(e,t,n,r,o){return jr(Ar(e,t,n,r,o,!0))}function Sr(e){return!!e&&!0===e.__v_isVNode}function Cr(e,t){return e.type===t.type&&e.key===t.key}const kr="__vInternal",Er=({key:e})=>null!=e?e:null,Tr=({ref:e,ref_key:t,ref_for:n})=>null!=e?Object(r["E"])(e)||Fe(e)||Object(r["q"])(e)?{i:ht,r:e,k:t,f:!!n}:e:null;function Rr(e,t=null,n=null,o=0,i=null,c=(e===dr?0:1),s=!1,u=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Er(t),ref:t&&Tr(t),scopeId:bt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};return u?($r(a,n),128&c&&e.normalize(a)):n&&(a.shapeFlag|=Object(r["E"])(n)?8:16),Or>0&&!s&&gr&&(a.patchFlag>0||6&c)&&32!==a.patchFlag&&gr.push(a),a}const Ar=Pr;function Pr(e,t=null,n=null,o=0,i=null,c=!1){if(e&&e!==mn||(e=hr),Sr(e)){const r=Fr(e,t,!0);return n&&$r(r,n),Or>0&&!c&&gr&&(6&r.shapeFlag?gr[gr.indexOf(e)]=r:gr.push(r)),r.patchFlag|=-2,r}if(uo(e)&&(e=e.__vccOpts),t){t=Ir(t);let{class:e,style:n}=t;e&&!Object(r["E"])(e)&&(t.class=Object(r["J"])(e)),Object(r["w"])(n)&&(ke(n)&&!Object(r["o"])(n)&&(n=Object(r["h"])({},n)),t.style=Object(r["K"])(n))}const s=Object(r["E"])(e)?1:Ct(e)?128:fr(e)?64:Object(r["w"])(e)?4:Object(r["q"])(e)?2:0;return Rr(e,t,n,o,i,s,c,!0)}function Ir(e){return e?ke(e)||kr in e?Object(r["h"])({},e):e:null}function Fr(e,t,n=!1){const{props:o,ref:i,patchFlag:c,children:s}=e,u=t?Br(o||{},t):o,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Er(u),ref:t&&t.ref?n&&i?Object(r["o"])(i)?i.concat(Tr(t)):[i,Tr(t)]:Tr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==dr?-1===c?16:16|c:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Fr(e.ssContent),ssFallback:e.ssFallback&&Fr(e.ssFallback),el:e.el,anchor:e.anchor};return a}function Mr(e=" ",t=0){return Ar(pr,null,e,t)}function Nr(e,t){const n=Ar(br,null,e);return n.staticCount=t,n}function Lr(e="",t=!1){return t?(mr(),_r(hr,null,e)):Ar(hr,null,e)}function Ur(e){return null==e||"boolean"===typeof e?Ar(hr):Object(r["o"])(e)?Ar(dr,null,e.slice()):"object"===typeof e?qr(e):Ar(pr,null,String(e))}function qr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Fr(e)}function $r(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(Object(r["o"])(t))n=16;else if("object"===typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),$r(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||kr in t?3===r&&ht&&(1===ht.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ht}}else Object(r["q"])(t)?(t={default:t,_ctx:ht},n=32):(t=String(t),64&o?(n=16,t=[Mr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Br(...e){const t={};for(let n=0;nGr||ht,Jr=e=>{Gr=e,e.scope.on()},Kr=()=>{Gr&&Gr.scope.off(),Gr=null};function Yr(e){return 4&e.vnode.shapeFlag}let Xr,Zr,Qr=!1;function eo(e,t=!1){Qr=t;const{props:n,children:r}=e.vnode,o=Yr(e);Un(e,n,o,t),Zn(e,r);const i=o?to(e,t):void 0;return Qr=!1,i}function to(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Te(new Proxy(e.ctx,wn));const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?io(e):null;Jr(e),w();const i=Be(o,e,0,[e.props,n]);if(_(),Kr(),Object(r["z"])(i)){if(i.then(Kr,Kr),t)return i.then(n=>{no(e,n,t)}).catch(t=>{Ve(t,e,0)});e.asyncDep=i}else no(e,i,t)}else ro(e,t)}function no(e,t,n){Object(r["q"])(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Object(r["w"])(t)&&(e.setupState=Le(t)),ro(e,n)}function ro(e,t,n){const o=e.type;if(!e.render){if(!t&&Xr&&!o.render){const t=o.template||Tn(e).template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:s}=o,u=Object(r["h"])(Object(r["h"])({isCustomElement:n,delimiters:c},i),s);o.render=Xr(t,u)}}e.render=o.render||r["d"],Zr&&Zr(e)}Jr(e),w(),Sn(e),_(),Kr()}function oo(e){return new Proxy(e.attrs,{get(t,n){return S(e,"get","$attrs"),t[n]}})}function io(e){const t=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=oo(e))},slots:e.slots,emit:e.emit,expose:t}}function co(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Le(Te(e.exposed)),{get(t,n){return n in t?t[n]:n in jn?jn[n](e):void 0}}))}function so(e,t=!0){return Object(r["q"])(e)?e.displayName||e.name:e.name||t&&e.__name}function uo(e){return Object(r["q"])(e)&&"__vccOpts"in e}const ao=(e,t)=>$e(e,t,Qr);function lo(e,t,n){const o=arguments.length;return 2===o?Object(r["w"])(t)&&!Object(r["o"])(t)?Sr(t)?Ar(e,null,[t]):Ar(e,t):Ar(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Sr(n)&&(n=[n]),Ar(e,t,n))}Symbol("");const fo="3.2.41",po="http://www.w3.org/2000/svg",ho="undefined"!==typeof document?document:null,bo=ho&&ho.createElement("template"),vo={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?ho.createElementNS(po,e):ho.createElement(e,n?{is:n}:void 0);return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>ho.createTextNode(e),createComment:e=>ho.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ho.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const c=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling)){while(1)if(t.insertBefore(o.cloneNode(!0),n),o===i||!(o=o.nextSibling))break}else{bo.innerHTML=r?`${e}`:e;const o=bo.content;if(r){const e=o.firstChild;while(e.firstChild)o.appendChild(e.firstChild);o.removeChild(e)}t.insertBefore(o,n)}return[c?c.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function go(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function mo(e,t,n){const o=e.style,i=Object(r["E"])(n);if(n&&!i){for(const e in n)Oo(o,e,n[e]);if(t&&!Object(r["E"])(t))for(const e in t)null==n[e]&&Oo(o,e,"")}else{const r=o.display;i?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(o.display=r)}}const yo=/\s*!important$/;function Oo(e,t,n){if(Object(r["o"])(n))n.forEach(n=>Oo(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=wo(e,t);yo.test(n)?e.setProperty(Object(r["l"])(o),n.replace(yo,""),"important"):e[o]=n}}const xo=["Webkit","Moz","ms"],jo={};function wo(e,t){const n=jo[t];if(n)return n;let o=Object(r["e"])(t);if("filter"!==o&&o in e)return jo[t]=o;o=Object(r["f"])(o);for(let r=0;rPo||(Io.then(()=>Po=0),Po=Date.now());function Mo(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();De(No(e,n.value),t,5,[e])};return n.value=e,n.attached=Fo(),n}function No(e,t){if(Object(r["o"])(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}return t}const Lo=/^on[a-z]/,Uo=(e,t,n,o,i=!1,c,s,u,a)=>{"class"===t?go(e,o,i):"style"===t?mo(e,n,o):Object(r["x"])(t)?Object(r["v"])(t)||To(e,t,n,o,s):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):qo(e,t,o,i))?Co(e,t,o,c,s,u,a):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),So(e,t,o,i))};function qo(e,t,n,o){return o?"innerHTML"===t||"textContent"===t||!!(t in e&&Lo.test(t)&&Object(r["q"])(n)):"spellcheck"!==t&&"draggable"!==t&&"translate"!==t&&("form"!==t&&(("list"!==t||"INPUT"!==e.tagName)&&(("type"!==t||"TEXTAREA"!==e.tagName)&&((!Lo.test(t)||!Object(r["E"])(n))&&t in e))))}"undefined"!==typeof HTMLElement&&HTMLElement;const $o="transition",Bo="animation",Do=(e,{slots:t})=>lo(qt,Go(e),t);Do.displayName="Transition";const Vo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},zo=(Do.props=Object(r["h"])({},qt.props,Vo),(e,t=[])=>{Object(r["o"])(e)?e.forEach(e=>e(...t)):e&&e(...t)}),Wo=e=>!!e&&(Object(r["o"])(e)?e.some(e=>e.length>1):e.length>1);function Go(e){const t={};for(const r in e)r in Vo||(t[r]=e[r]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:c=n+"-enter-from",enterActiveClass:s=n+"-enter-active",enterToClass:u=n+"-enter-to",appearFromClass:a=c,appearActiveClass:l=s,appearToClass:f=u,leaveFromClass:d=n+"-leave-from",leaveActiveClass:p=n+"-leave-active",leaveToClass:h=n+"-leave-to"}=e,b=Ho(i),v=b&&b[0],g=b&&b[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:O,onLeave:x,onLeaveCancelled:j,onBeforeAppear:w=m,onAppear:_=y,onAppearCancelled:S=O}=t,C=(e,t,n)=>{Yo(e,t?f:u),Yo(e,t?l:s),n&&n()},k=(e,t)=>{e._isLeaving=!1,Yo(e,d),Yo(e,h),Yo(e,p),t&&t()},E=e=>(t,n)=>{const r=e?_:y,i=()=>C(t,e,n);zo(r,[t,i]),Xo(()=>{Yo(t,e?a:c),Ko(t,e?f:u),Wo(r)||Qo(t,o,v,i)})};return Object(r["h"])(t,{onBeforeEnter(e){zo(m,[e]),Ko(e,c),Ko(e,s)},onBeforeAppear(e){zo(w,[e]),Ko(e,a),Ko(e,l)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>k(e,t);Ko(e,d),ri(),Ko(e,p),Xo(()=>{e._isLeaving&&(Yo(e,d),Ko(e,h),Wo(x)||Qo(e,o,g,n))}),zo(x,[e,n])},onEnterCancelled(e){C(e,!1),zo(O,[e])},onAppearCancelled(e){C(e,!0),zo(S,[e])},onLeaveCancelled(e){k(e),zo(j,[e])}})}function Ho(e){if(null==e)return null;if(Object(r["w"])(e))return[Jo(e.enter),Jo(e.leave)];{const t=Jo(e);return[t,t]}}function Jo(e){const t=Object(r["O"])(e);return t}function Ko(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.add(t)),(e._vtc||(e._vtc=new Set)).add(t)}function Yo(e,t){t.split(/\s+/).forEach(t=>t&&e.classList.remove(t));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Xo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Zo=0;function Qo(e,t,n,r){const o=e._endId=++Zo,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:c,timeout:s,propCount:u}=ei(e,t);if(!c)return r();const a=c+"end";let l=0;const f=()=>{e.removeEventListener(a,d),i()},d=t=>{t.target===e&&++l>=u&&f()};setTimeout(()=>{l(n[e]||"").split(", "),o=r($o+"Delay"),i=r($o+"Duration"),c=ti(o,i),s=r(Bo+"Delay"),u=r(Bo+"Duration"),a=ti(s,u);let l=null,f=0,d=0;t===$o?c>0&&(l=$o,f=c,d=i.length):t===Bo?a>0&&(l=Bo,f=a,d=u.length):(f=Math.max(c,a),l=f>0?c>a?$o:Bo:null,d=l?l===$o?i.length:u.length:0);const p=l===$o&&/\b(transform|all)(,|$)/.test(n[$o+"Property"]);return{type:l,timeout:f,propCount:d,hasTransform:p}}function ti(e,t){while(e.lengthni(t)+ni(e[n])))}function ni(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function ri(){return document.body.offsetHeight}new WeakMap,new WeakMap;const oi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Object(r["o"])(t)?e=>Object(r["n"])(t,e):t};function ii(e){e.target.composing=!0}function ci(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const si={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e._assign=oi(i);const c=o||i.props&&"number"===i.props.type;ko(e,t?"change":"input",t=>{if(t.target.composing)return;let o=e.value;n&&(o=o.trim()),c&&(o=Object(r["O"])(o)),e._assign(o)}),n&&ko(e,"change",()=>{e.value=e.value.trim()}),t||(ko(e,"compositionstart",ii),ko(e,"compositionend",ci),ko(e,"change",ci))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:i}},c){if(e._assign=oi(c),e.composing)return;if(document.activeElement===e&&"range"!==e.type){if(n)return;if(o&&e.value.trim()===t)return;if((i||"number"===e.type)&&Object(r["O"])(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}};const ui={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const i=Object(r["C"])(t);ko(e,"change",()=>{const t=Array.prototype.filter.call(e.options,e=>e.selected).map(e=>n?Object(r["O"])(li(e)):li(e));e._assign(e.multiple?i?new Set(t):t:t[0])}),e._assign=oi(o)},mounted(e,{value:t}){ai(e,t)},beforeUpdate(e,t,n){e._assign=oi(n)},updated(e,{value:t}){ai(e,t)}};function ai(e,t){const n=e.multiple;if(!n||Object(r["o"])(t)||Object(r["C"])(t)){for(let o=0,i=e.options.length;o-1:i.selected=t.has(c);else if(Object(r["G"])(li(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function li(e){return"_value"in e?e._value:e.value}const fi={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},di=(e,t)=>n=>{if(!("key"in n))return;const o=Object(r["l"])(n.key);return t.some(e=>e===o||fi[e]===o)?e(n):void 0},pi={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):hi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!==!n&&(r?t?(r.beforeEnter(e),hi(e,!0),r.enter(e)):r.leave(e,()=>{hi(e,!1)}):hi(e,t))},beforeUnmount(e,{value:t}){hi(e,t)}};function hi(e,t){e.style.display=t?e._vod:"none"}const bi=Object(r["h"])({patchProp:Uo},vo);let vi;function gi(){return vi||(vi=cr(bi))}const mi=(...e)=>{const t=gi().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=yi(e);if(!o)return;const i=t._component;Object(r["q"])(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const c=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),c},t};function yi(e){if(Object(r["E"])(e)){const t=document.querySelector(e);return t}return e}},"7b0b":function(e,t,n){var r=n("1d80"),o=Object;e.exports=function(e){return o(r(e))}},"7c73":function(e,t,n){var r,o=n("825a"),i=n("37e8"),c=n("7839"),s=n("d012"),u=n("1be4"),a=n("cc12"),l=n("f772"),f=">",d="<",p="prototype",h="script",b=l("IE_PROTO"),v=function(){},g=function(e){return d+h+f+e+d+"/"+h+f},m=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=a("iframe"),n="java"+h+":";return t.style.display="none",u.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(g("document.F=Object")),e.close(),e.F},O=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}O="undefined"!=typeof document?document.domain&&r?m(r):y():m(r);var e=c.length;while(e--)delete O[p][c[e]];return O()};s[b]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(v[p]=o(e),n=new v,v[p]=null,n[b]=e):n=O(),void 0===t?n:i.f(n,t)}},"7dd0":function(e,t,n){"use strict";var r=n("23e7"),o=n("c65b"),i=n("c430"),c=n("5e77"),s=n("1626"),u=n("9ed3"),a=n("e163"),l=n("d2bb"),f=n("d44e"),d=n("9112"),p=n("cb2d"),h=n("b622"),b=n("3f8c"),v=n("ae93"),g=c.PROPER,m=c.CONFIGURABLE,y=v.IteratorPrototype,O=v.BUGGY_SAFARI_ITERATORS,x=h("iterator"),j="keys",w="values",_="entries",S=function(){return this};e.exports=function(e,t,n,c,h,v,C){u(n,t,c);var k,E,T,R=function(e){if(e===h&&M)return M;if(!O&&e in I)return I[e];switch(e){case j:return function(){return new n(this,e)};case w:return function(){return new n(this,e)};case _:return function(){return new n(this,e)}}return function(){return new n(this)}},A=t+" Iterator",P=!1,I=e.prototype,F=I[x]||I["@@iterator"]||h&&I[h],M=!O&&F||R(h),N="Array"==t&&I.entries||F;if(N&&(k=a(N.call(new e)),k!==Object.prototype&&k.next&&(i||a(k)===y||(l?l(k,y):s(k[x])||p(k,x,S)),f(k,A,!0,!0),i&&(b[A]=S))),g&&h==w&&F&&F.name!==w&&(!i&&m?d(I,"name",w):(P=!0,M=function(){return o(F,this)})),h)if(E={values:R(w),keys:v?M:R(j),entries:R(_)},C)for(T in E)(O||P||!(T in I))&&p(I,T,E[T]);else r({target:t,proto:!0,forced:O||P},E);return i&&!C||I[x]===M||p(I,x,M,{name:h}),b[t]=M,E}},"7f9a":function(e,t,n){var r=n("da84"),o=n("1626"),i=n("8925"),c=r.WeakMap;e.exports=o(c)&&/native code/.test(i(c))},"825a":function(e,t,n){var r=n("861d"),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},"83ab":function(e,t,n){var r=n("d039");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(e,t,n){"use strict";var r=n("a04b"),o=n("9bf2"),i=n("5c6c");e.exports=function(e,t,n){var c=r(t);c in e?o.f(e,c,i(0,n)):e[c]=n}},"861d":function(e,t,n){var r=n("1626");e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},8925:function(e,t,n){var r=n("e330"),o=n("1626"),i=n("c6cd"),c=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return c(e)}),e.exports=i.inspectSource},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},"90e3":function(e,t,n){var r=n("e330"),o=0,i=Math.random(),c=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++o+i,36)}},9112:function(e,t,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9263:function(e,t,n){"use strict";var r=n("c65b"),o=n("e330"),i=n("577e"),c=n("ad6d"),s=n("9f7f"),u=n("5692"),a=n("7c73"),l=n("69f3").get,f=n("fce3"),d=n("107c"),p=u("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,b=h,v=o("".charAt),g=o("".indexOf),m=o("".replace),y=o("".slice),O=function(){var e=/a/,t=/b*/g;return r(h,e,"a"),r(h,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),x=s.BROKEN_CARET,j=void 0!==/()??/.exec("")[1],w=O||j||x||f||d;w&&(b=function(e){var t,n,o,s,u,f,d,w=this,_=l(w),S=i(e),C=_.raw;if(C)return C.lastIndex=w.lastIndex,t=r(b,C,S),w.lastIndex=C.lastIndex,t;var k=_.groups,E=x&&w.sticky,T=r(c,w),R=w.source,A=0,P=S;if(E&&(T=m(T,"y",""),-1===g(T,"g")&&(T+="g"),P=y(S,w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&"\n"!==v(S,w.lastIndex-1))&&(R="(?: "+R+")",P=" "+P,A++),n=new RegExp("^(?:"+R+")",T)),j&&(n=new RegExp("^"+R+"$(?!\\s)",T)),O&&(o=w.lastIndex),s=r(h,E?n:w,P),E?s?(s.input=y(s.input,A),s[0]=y(s[0],A),s.index=w.lastIndex,w.lastIndex+=s[0].length):w.lastIndex=0:O&&s&&(w.lastIndex=w.global?s.index+s[0].length:o),j&&s&&s.length>1&&r(p,s[0],n,(function(){for(u=1;u!!n[e.toLowerCase()]:e=>!!n[e]}n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return w})),n.d(t,"c",(function(){return C})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return Z})),n.d(t,"f",(function(){return te})),n.d(t,"g",(function(){return ie})),n.d(t,"h",(function(){return R})),n.d(t,"i",(function(){return ue})),n.d(t,"j",(function(){return re})),n.d(t,"k",(function(){return I})),n.d(t,"l",(function(){return ee})),n.d(t,"m",(function(){return u})),n.d(t,"n",(function(){return oe})),n.d(t,"o",(function(){return F})),n.d(t,"p",(function(){return K})),n.d(t,"q",(function(){return U})),n.d(t,"r",(function(){return i})),n.d(t,"s",(function(){return v})),n.d(t,"t",(function(){return H})),n.d(t,"u",(function(){return M})),n.d(t,"v",(function(){return T})),n.d(t,"w",(function(){return B})),n.d(t,"x",(function(){return E})),n.d(t,"y",(function(){return G})),n.d(t,"z",(function(){return D})),n.d(t,"A",(function(){return J})),n.d(t,"B",(function(){return g})),n.d(t,"C",(function(){return N})),n.d(t,"D",(function(){return s})),n.d(t,"E",(function(){return q})),n.d(t,"F",(function(){return $})),n.d(t,"G",(function(){return y})),n.d(t,"H",(function(){return O})),n.d(t,"I",(function(){return r})),n.d(t,"J",(function(){return p})),n.d(t,"K",(function(){return a})),n.d(t,"L",(function(){return A})),n.d(t,"M",(function(){return x})),n.d(t,"N",(function(){return ne})),n.d(t,"O",(function(){return ce})),n.d(t,"P",(function(){return W}));const o="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",i=r(o);const c="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",s=r(c);function u(e){return!!e||""===e}function a(e){if(F(e)){const t={};for(let n=0;n{if(e){const n=e.split(f);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function p(e){let t="";if(q(e))t=e;else if(F(e))for(let n=0;ny(e,t))}const x=e=>q(e)?e:null==e?"":F(e)||B(e)&&(e.toString===V||!U(e.toString))?JSON.stringify(e,j,2):String(e),j=(e,t)=>t&&t.__v_isRef?j(e,t.value):M(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n])=>(e[t+" =>"]=n,e),{})}:N(t)?{[`Set(${t.size})`]:[...t.values()]}:!B(t)||F(t)||G(t)?t:String(t),w={},_=[],S=()=>{},C=()=>!1,k=/^on[^a-z]/,E=e=>k.test(e),T=e=>e.startsWith("onUpdate:"),R=Object.assign,A=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},P=Object.prototype.hasOwnProperty,I=(e,t)=>P.call(e,t),F=Array.isArray,M=e=>"[object Map]"===z(e),N=e=>"[object Set]"===z(e),L=e=>"[object Date]"===z(e),U=e=>"function"===typeof e,q=e=>"string"===typeof e,$=e=>"symbol"===typeof e,B=e=>null!==e&&"object"===typeof e,D=e=>B(e)&&U(e.then)&&U(e.catch),V=Object.prototype.toString,z=e=>V.call(e),W=e=>z(e).slice(8,-1),G=e=>"[object Object]"===z(e),H=e=>q(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,J=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),K=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Y=e=>{const t=Object.create(null);return n=>{const r=t[n];return r||(t[n]=e(n))}},X=/-(\w)/g,Z=Y(e=>e.replace(X,(e,t)=>t?t.toUpperCase():"")),Q=/\B([A-Z])/g,ee=Y(e=>e.replace(Q,"-$1").toLowerCase()),te=Y(e=>e.charAt(0).toUpperCase()+e.slice(1)),ne=Y(e=>e?"on"+te(e):""),re=(e,t)=>!Object.is(e,t),oe=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ce=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let se;const ue=()=>se||(se="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{})}).call(this,n("c8ba"))},a04b:function(e,t,n){var r=n("c04e"),o=n("d9b5");e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},a4b4:function(e,t,n){var r=n("342f");e.exports=/web0s(?!.*chrome)/i.test(r)},a79d:function(e,t,n){"use strict";var r=n("23e7"),o=n("c430"),i=n("d256"),c=n("d039"),s=n("d066"),u=n("1626"),a=n("4840"),l=n("cdf9"),f=n("cb2d"),d=i&&i.prototype,p=!!i&&c((function(){d["finally"].call({then:function(){}},(function(){}))}));if(r({target:"Promise",proto:!0,real:!0,forced:p},{finally:function(e){var t=a(this,s("Promise")),n=u(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!o&&u(i)){var h=s("Promise").prototype["finally"];d["finally"]!==h&&f(d,"finally",h,{unsafe:!0})}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},ae93:function(e,t,n){"use strict";var r,o,i,c=n("d039"),s=n("1626"),u=n("7c73"),a=n("e163"),l=n("cb2d"),f=n("b622"),d=n("c430"),p=f("iterator"),h=!1;[].keys&&(i=[].keys(),"next"in i?(o=a(a(i)),o!==Object.prototype&&(r=o)):h=!0);var b=void 0==r||c((function(){var e={};return r[p].call(e)!==e}));b?r={}:d&&(r=u(r)),s(r[p])||l(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},aed9:function(e,t,n){var r=n("83ab"),o=n("d039");e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},b42e:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}},b575:function(e,t,n){var r,o,i,c,s,u,a,l,f=n("da84"),d=n("0366"),p=n("06cf").f,h=n("2cf4").set,b=n("1cdc"),v=n("d4c3"),g=n("a4b4"),m=n("605d"),y=f.MutationObserver||f.WebKitMutationObserver,O=f.document,x=f.process,j=f.Promise,w=p(f,"queueMicrotask"),_=w&&w.value;_||(r=function(){var e,t;m&&(e=x.domain)&&e.exit();while(o){t=o.fn,o=o.next;try{t()}catch(n){throw o?c():i=void 0,n}}i=void 0,e&&e.enter()},b||m||g||!y||!O?!v&&j&&j.resolve?(a=j.resolve(void 0),a.constructor=j,l=d(a.then,a),c=function(){l(r)}):m?c=function(){x.nextTick(r)}:(h=d(h,f),c=function(){h(r)}):(s=!0,u=O.createTextNode(""),new y(r).observe(u,{characterData:!0}),c=function(){u.data=s=!s})),e.exports=_||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,c()),i=t}},b622:function(e,t,n){var r=n("da84"),o=n("5692"),i=n("1a2d"),c=n("90e3"),s=n("4930"),u=n("fdbf"),a=o("wks"),l=r.Symbol,f=l&&l["for"],d=u?l:l&&l.withoutSetter||c;e.exports=function(e){if(!i(a,e)||!s&&"string"!=typeof a[e]){var t="Symbol."+e;s&&i(l,e)?a[e]=l[e]:a[e]=u&&f?f(t):d(t)}return a[e]}},b680:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),i=n("5926"),c=n("408a"),s=n("1148"),u=n("d039"),a=RangeError,l=String,f=Math.floor,d=o(s),p=o("".slice),h=o(1..toFixed),b=function(e,t,n){return 0===t?n:t%2===1?b(e,t-1,n*e):b(e*e,t/2,n)},v=function(e){var t=0,n=e;while(n>=4096)t+=12,n/=4096;while(n>=2)t+=1,n/=2;return t},g=function(e,t,n){var r=-1,o=n;while(++r<6)o+=t*e[r],e[r]=o%1e7,o=f(o/1e7)},m=function(e,t){var n=6,r=0;while(--n>=0)r+=e[n],e[n]=f(r/t),r=r%t*1e7},y=function(e){var t=6,n="";while(--t>=0)if(""!==n||0===t||0!==e[t]){var r=l(e[t]);n=""===n?r:n+d("0",7-r.length)+r}return n},O=u((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!u((function(){h({})}));r({target:"Number",proto:!0,forced:O},{toFixed:function(e){var t,n,r,o,s=c(this),u=i(e),f=[0,0,0,0,0,0],h="",O="0";if(u<0||u>20)throw a("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return l(s);if(s<0&&(h="-",s=-s),s>1e-21)if(t=v(s*b(2,69,1))-69,n=t<0?s*b(2,-t,1):s/b(2,t,1),n*=4503599627370496,t=52-t,t>0){g(f,0,n),r=u;while(r>=7)g(f,1e7,0),r-=7;g(f,b(10,r,1),0),r=t-1;while(r>=23)m(f,1<<23),r-=23;m(f,1<0?(o=O.length,O=h+(o<=u?"0."+d("0",u-o)+O:p(O,0,o-u)+"."+p(O,o-u))):O=h+O,O}})},c04e:function(e,t,n){var r=n("c65b"),o=n("861d"),i=n("d9b5"),c=n("dc4a"),s=n("485a"),u=n("b622"),a=TypeError,l=u("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,u=c(e,l);if(u){if(void 0===t&&(t="default"),n=r(u,e,t),!o(n)||i(n))return n;throw a("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},c430:function(e,t){e.exports=!1},c65b:function(e,t,n){var r=n("40d5"),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},c6b6:function(e,t,n){var r=n("e330"),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},c6cd:function(e,t,n){var r=n("da84"),o=n("6374"),i="__core-js_shared__",c=r[i]||o(i,{});e.exports=c},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},c8d2:function(e,t,n){var r=n("5e77").PROPER,o=n("d039"),i=n("5899"),c="​…᠎";e.exports=function(e){return o((function(){return!!i[e]()||c[e]()!==c||r&&i[e].name!==e}))}},ca84:function(e,t,n){var r=n("e330"),o=n("1a2d"),i=n("fc6a"),c=n("4d64").indexOf,s=n("d012"),u=r([].push);e.exports=function(e,t){var n,r=i(e),a=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&u(l,n);while(t.length>a)o(r,n=t[a++])&&(~c(l,n)||u(l,n));return l}},cb2d:function(e,t,n){var r=n("1626"),o=n("9112"),i=n("13d2"),c=n("6374");e.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,a=void 0!==s.name?s.name:t;return r(n)&&i(n,a,s),s.global?u?e[t]=n:c(t,n):(s.unsafe?e[t]&&(u=!0):delete e[t],u?e[t]=n:o(e,t,n)),e}},cc12:function(e,t,n){var r=n("da84"),o=n("861d"),i=r.document,c=o(i)&&o(i.createElement);e.exports=function(e){return c?i.createElement(e):{}}},cc98:function(e,t,n){"use strict";var r=n("23e7"),o=n("c430"),i=n("4738").CONSTRUCTOR,c=n("d256"),s=n("d066"),u=n("1626"),a=n("cb2d"),l=c&&c.prototype;if(r({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&u(c)){var f=s("Promise").prototype["catch"];l["catch"]!==f&&a(l,"catch",f,{unsafe:!0})}},cca6:function(e,t,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},cdf9:function(e,t,n){var r=n("825a"),o=n("861d"),i=n("f069");e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),c=n.resolve;return c(t),n.promise}},d012:function(e,t){e.exports={}},d039:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},d066:function(e,t,n){var r=n("da84"),o=n("1626"),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},d1e7:function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},d256:function(e,t,n){var r=n("da84");e.exports=r.Promise},d2bb:function(e,t,n){var r=n("e330"),o=n("825a"),i=n("3bbe");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(n,[]),t=n instanceof Array}catch(c){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},d44e:function(e,t,n){var r=n("9bf2").f,o=n("1a2d"),i=n("b622"),c=i("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,c)&&r(e,c,{configurable:!0,value:t})}},d4c3:function(e,t,n){var r=n("342f"),o=n("da84");e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},d6d6:function(e,t){var n=TypeError;e.exports=function(e,t){if(e=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");var h=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!a&&l&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(b){}},e330:function(e,t,n){var r=n("40d5"),o=Function.prototype,i=o.bind,c=o.call,s=r&&i.bind(c,c);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return c.apply(e,arguments)}}},e667:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},e6cf:function(e,t,n){n("5e7e"),n("14e5"),n("cc98"),n("3529"),n("f22b"),n("7149")},e893:function(e,t,n){var r=n("1a2d"),o=n("56ef"),i=n("06cf"),c=n("9bf2");e.exports=function(e,t,n){for(var s=o(t),u=c.f,a=i.f,l=0;lb)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\n\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' ||\n 'b'.replace(re, '$c') !== 'bc';\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $RangeError = RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n == Infinity) throw $RangeError('Wrong number of repetitions');\n for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};\n","'use strict';\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\n\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () { return originalExec.apply(this, arguments); };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if (\n 'abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 ||\n 'ab'.split(/(?:ab)*/).length != 2 ||\n '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 ||\n ''.split(/.?/).length\n ) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function (separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function (separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);\n return splitter\n ? call(splitter, separator, O, limit)\n : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n\n if (res.done) return res.value;\n\n var C = speciesConstructor(rx, RegExp);\n\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') +\n (rx.multiline ? 'm' : '') +\n (rx.unicode ? 'u' : '') +\n (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (\n z === null ||\n (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p\n ) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }\n ];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);\n","var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\n// eslint-disable-next-line es-x/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n defineProperty(value, 'name', { value: name, configurable: true });\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\n\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\nmodule.exports = function (argument) {\n return typeof argument == 'function';\n};\n","var isPrototypeOf = require('../internals/object-is-prototype-of');\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es-x/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","var wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function () {\n return { done: !!called++ };\n },\n 'return': function () {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function () {\n return { done: ITERATION_SUPPORT = true };\n }\n };\n };\n exec(object);\n } catch (error) { /* empty */ }\n return ITERATION_SUPPORT;\n};\n","var userAgent = require('../internals/engine-user-agent');\n\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n","var $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (it == undefined) throw $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return { foo: 1 };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};\n","var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n\n var stop = function (condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n\n var callFn = function (value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n } return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n\n if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n } return new Result(false);\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","var global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function () { return this; }\n });\n }\n};\n","var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\n\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};\n","var NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es-x/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});\n","var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\n\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n location = global.location;\n} catch (error) { /* empty */ }\n\nvar run = function (id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\n\nvar runner = function (id) {\n return function () {\n run(id);\n };\n};\n\nvar listener = function (event) {\n run(event.data);\n};\n\nvar post = function (id) {\n // old engines have not location.origin\n global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function (id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function (id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (\n global.addEventListener &&\n isCallable(global.postMessage) &&\n !global.importScripts &&\n location && location.protocol !== 'file:' &&\n !fails(post)\n ) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function (id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function (id) {\n setTimeout(runner(id), 0);\n };\n }\n}\n\nmodule.exports = {\n set: set,\n clear: clear\n};\n","var global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","var getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('navigator', 'userAgent') || '';\n","'use strict';\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});\n","var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n if (it != undefined) return getMethod(it, ITERATOR)\n || getMethod(it, '@@iterator')\n || Iterators[classof(it)];\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es-x/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","var isCallable = require('../internals/is-callable');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n if (typeof argument == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n","module.exports = {};\n","var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);\n","var fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es-x/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) == 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","var global = require('../internals/global');\n\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n }\n};\n","var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};\n","var global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n var FakePromise = function (exec) {\n exec(function () { /* empty */ }, function () { /* empty */ });\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};\n","var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};\n","var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};\n","/* eslint-disable es-x/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n trim: function trim() {\n return $trim(this);\n }\n});\n","var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\n\nvar $Array = Array;\nvar max = Math.max;\n\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};\n","var isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};\n","var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.22.8',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.22.8/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","var classof = require('../internals/classof');\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};\n","// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\n\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\n\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};\n","var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};\n","module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;\n else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\n\nvar notify = function (state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = { promise: promise, reason: reason };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\n\nvar isUnhandled = function (state) {\n return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\n\nvar bind = function (fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\n\nvar internalReject = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = { done: false };\n try {\n call(then, value,\n bind(internalResolve, wrapper, state),\n bind(internalReject, wrapper, state)\n );\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({ done: false }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);\n else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n\n OwnPromiseCapability = function () {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n\n newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n return C === PromiseConstructor || C === PromiseWrapper\n ? new OwnPromiseCapability(C)\n : newGenericPromiseCapability(C);\n };\n\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, { unsafe: true });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) { /* empty */ }\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n","var NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n","var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\n\nmodule.exports = classof(global.process) == 'process';\n","module.exports = typeof window == 'object' && typeof Deno != 'object';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es-x/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es-x/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","var global = require('../internals/global');\n\n// eslint-disable-next-line es-x/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[key] = value;\n } return value;\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size\n || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n ? CONVERT_TO_STRING\n ? charAt(S, position)\n : first\n : CONVERT_TO_STRING\n ? stringSlice(S, position, position + 2)\n : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\n\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};\n","var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\n\nvar noop = function () { /* empty */ };\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction': return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call)\n || !isConstructorModern(Object)\n || !isConstructorModern(function () { called = true; })\n || called;\n}) ? isConstructorLegacy : isConstructorModern;\n","var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = uncurryThis(store.get);\n var wmhas = uncurryThis(store.has);\n var wmset = uncurryThis(store.set);\n set = function (it, metadata) {\n if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset(store, it, metadata);\n return metadata;\n };\n get = function (it) {\n return wmget(store, it) || {};\n };\n has = function (it) {\n return wmhas(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});\n","// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","import { extend, isArray, isMap, isIntegerKey, hasOwn, isSymbol, isObject, hasChanged, makeMap, capitalize, toRawType, def, isFunction, NOOP } from '@vue/shared';\n\nfunction warn(msg, ...args) {\n console.warn(`[Vue warn] ${msg}`, ...args);\n}\n\nlet activeEffectScope;\nclass EffectScope {\n constructor(detached = false) {\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n run(fn) {\n if (this.active) {\n const currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`cannot run an inactive effect scope.`);\n }\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n on() {\n activeEffectScope = this;\n }\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n off() {\n activeEffectScope = this.parent;\n }\n stop(fromParent) {\n if (this.active) {\n let i, l;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].stop();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n const last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n }\n}\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\nfunction recordEffectScope(effect, scope = activeEffectScope) {\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`onScopeDispose() is called when there is no active effect scope` +\n ` to be associated with.`);\n }\n}\n\nconst createDep = (effects) => {\n const dep = new Set(effects);\n dep.w = 0;\n dep.n = 0;\n return dep;\n};\nconst wasTracked = (dep) => (dep.w & trackOpBit) > 0;\nconst newTracked = (dep) => (dep.n & trackOpBit) > 0;\nconst initDepMarkers = ({ deps }) => {\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].w |= trackOpBit; // set was tracked\n }\n }\n};\nconst finalizeDepMarkers = (effect) => {\n const { deps } = effect;\n if (deps.length) {\n let ptr = 0;\n for (let i = 0; i < deps.length; i++) {\n const dep = deps[i];\n if (wasTracked(dep) && !newTracked(dep)) {\n dep.delete(effect);\n }\n else {\n deps[ptr++] = dep;\n }\n // clear bits\n dep.w &= ~trackOpBit;\n dep.n &= ~trackOpBit;\n }\n deps.length = ptr;\n }\n};\n\nconst targetMap = new WeakMap();\n// The number of effects currently being tracked recursively.\nlet effectTrackDepth = 0;\nlet trackOpBit = 1;\n/**\n * The bitwise track markers support at most 30 levels of recursion.\n * This value is chosen to enable modern JS engines to use a SMI on all platforms.\n * When recursion depth is greater, fall back to using a full cleanup.\n */\nconst maxMarkerBits = 30;\nlet activeEffect;\nconst ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'iterate' : '');\nconst MAP_KEY_ITERATE_KEY = Symbol((process.env.NODE_ENV !== 'production') ? 'Map key iterate' : '');\nclass ReactiveEffect {\n constructor(fn, scheduler = null, scope) {\n this.fn = fn;\n this.scheduler = scheduler;\n this.active = true;\n this.deps = [];\n this.parent = undefined;\n recordEffectScope(this, scope);\n }\n run() {\n if (!this.active) {\n return this.fn();\n }\n let parent = activeEffect;\n let lastShouldTrack = shouldTrack;\n while (parent) {\n if (parent === this) {\n return;\n }\n parent = parent.parent;\n }\n try {\n this.parent = activeEffect;\n activeEffect = this;\n shouldTrack = true;\n trackOpBit = 1 << ++effectTrackDepth;\n if (effectTrackDepth <= maxMarkerBits) {\n initDepMarkers(this);\n }\n else {\n cleanupEffect(this);\n }\n return this.fn();\n }\n finally {\n if (effectTrackDepth <= maxMarkerBits) {\n finalizeDepMarkers(this);\n }\n trackOpBit = 1 << --effectTrackDepth;\n activeEffect = this.parent;\n shouldTrack = lastShouldTrack;\n this.parent = undefined;\n if (this.deferStop) {\n this.stop();\n }\n }\n }\n stop() {\n // stopped while running itself - defer the cleanup\n if (activeEffect === this) {\n this.deferStop = true;\n }\n else if (this.active) {\n cleanupEffect(this);\n if (this.onStop) {\n this.onStop();\n }\n this.active = false;\n }\n }\n}\nfunction cleanupEffect(effect) {\n const { deps } = effect;\n if (deps.length) {\n for (let i = 0; i < deps.length; i++) {\n deps[i].delete(effect);\n }\n deps.length = 0;\n }\n}\nfunction effect(fn, options) {\n if (fn.effect) {\n fn = fn.effect.fn;\n }\n const _effect = new ReactiveEffect(fn);\n if (options) {\n extend(_effect, options);\n if (options.scope)\n recordEffectScope(_effect, options.scope);\n }\n if (!options || !options.lazy) {\n _effect.run();\n }\n const runner = _effect.run.bind(_effect);\n runner.effect = _effect;\n return runner;\n}\nfunction stop(runner) {\n runner.effect.stop();\n}\nlet shouldTrack = true;\nconst trackStack = [];\nfunction pauseTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = false;\n}\nfunction enableTracking() {\n trackStack.push(shouldTrack);\n shouldTrack = true;\n}\nfunction resetTracking() {\n const last = trackStack.pop();\n shouldTrack = last === undefined ? true : last;\n}\nfunction track(target, type, key) {\n if (shouldTrack && activeEffect) {\n let depsMap = targetMap.get(target);\n if (!depsMap) {\n targetMap.set(target, (depsMap = new Map()));\n }\n let dep = depsMap.get(key);\n if (!dep) {\n depsMap.set(key, (dep = createDep()));\n }\n const eventInfo = (process.env.NODE_ENV !== 'production')\n ? { effect: activeEffect, target, type, key }\n : undefined;\n trackEffects(dep, eventInfo);\n }\n}\nfunction trackEffects(dep, debuggerEventExtraInfo) {\n let shouldTrack = false;\n if (effectTrackDepth <= maxMarkerBits) {\n if (!newTracked(dep)) {\n dep.n |= trackOpBit; // set newly tracked\n shouldTrack = !wasTracked(dep);\n }\n }\n else {\n // Full cleanup mode.\n shouldTrack = !dep.has(activeEffect);\n }\n if (shouldTrack) {\n dep.add(activeEffect);\n activeEffect.deps.push(dep);\n if ((process.env.NODE_ENV !== 'production') && activeEffect.onTrack) {\n activeEffect.onTrack(Object.assign({ effect: activeEffect }, debuggerEventExtraInfo));\n }\n }\n}\nfunction trigger(target, type, key, newValue, oldValue, oldTarget) {\n const depsMap = targetMap.get(target);\n if (!depsMap) {\n // never been tracked\n return;\n }\n let deps = [];\n if (type === \"clear\" /* TriggerOpTypes.CLEAR */) {\n // collection being cleared\n // trigger all effects for target\n deps = [...depsMap.values()];\n }\n else if (key === 'length' && isArray(target)) {\n depsMap.forEach((dep, key) => {\n if (key === 'length' || key >= newValue) {\n deps.push(dep);\n }\n });\n }\n else {\n // schedule runs for SET | ADD | DELETE\n if (key !== void 0) {\n deps.push(depsMap.get(key));\n }\n // also run for iteration key on ADD | DELETE | Map.SET\n switch (type) {\n case \"add\" /* TriggerOpTypes.ADD */:\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n else if (isIntegerKey(key)) {\n // new index added to array -> length changes\n deps.push(depsMap.get('length'));\n }\n break;\n case \"delete\" /* TriggerOpTypes.DELETE */:\n if (!isArray(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n if (isMap(target)) {\n deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));\n }\n }\n break;\n case \"set\" /* TriggerOpTypes.SET */:\n if (isMap(target)) {\n deps.push(depsMap.get(ITERATE_KEY));\n }\n break;\n }\n }\n const eventInfo = (process.env.NODE_ENV !== 'production')\n ? { target, type, key, newValue, oldValue, oldTarget }\n : undefined;\n if (deps.length === 1) {\n if (deps[0]) {\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(deps[0], eventInfo);\n }\n else {\n triggerEffects(deps[0]);\n }\n }\n }\n else {\n const effects = [];\n for (const dep of deps) {\n if (dep) {\n effects.push(...dep);\n }\n }\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(createDep(effects), eventInfo);\n }\n else {\n triggerEffects(createDep(effects));\n }\n }\n}\nfunction triggerEffects(dep, debuggerEventExtraInfo) {\n // spread into array for stabilization\n const effects = isArray(dep) ? dep : [...dep];\n for (const effect of effects) {\n if (effect.computed) {\n triggerEffect(effect, debuggerEventExtraInfo);\n }\n }\n for (const effect of effects) {\n if (!effect.computed) {\n triggerEffect(effect, debuggerEventExtraInfo);\n }\n }\n}\nfunction triggerEffect(effect, debuggerEventExtraInfo) {\n if (effect !== activeEffect || effect.allowRecurse) {\n if ((process.env.NODE_ENV !== 'production') && effect.onTrigger) {\n effect.onTrigger(extend({ effect }, debuggerEventExtraInfo));\n }\n if (effect.scheduler) {\n effect.scheduler();\n }\n else {\n effect.run();\n }\n }\n}\n\nconst isNonTrackableKeys = /*#__PURE__*/ makeMap(`__proto__,__v_isRef,__isVue`);\nconst builtInSymbols = new Set(\n/*#__PURE__*/\nObject.getOwnPropertyNames(Symbol)\n // ios10.x Object.getOwnPropertyNames(Symbol) can enumerate 'arguments' and 'caller'\n // but accessing them on Symbol leads to TypeError because Symbol is a strict mode\n // function\n .filter(key => key !== 'arguments' && key !== 'caller')\n .map(key => Symbol[key])\n .filter(isSymbol));\nconst get = /*#__PURE__*/ createGetter();\nconst shallowGet = /*#__PURE__*/ createGetter(false, true);\nconst readonlyGet = /*#__PURE__*/ createGetter(true);\nconst shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);\nconst arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();\nfunction createArrayInstrumentations() {\n const instrumentations = {};\n ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {\n instrumentations[key] = function (...args) {\n const arr = toRaw(this);\n for (let i = 0, l = this.length; i < l; i++) {\n track(arr, \"get\" /* TrackOpTypes.GET */, i + '');\n }\n // we run the method using the original args first (which may be reactive)\n const res = arr[key](...args);\n if (res === -1 || res === false) {\n // if that didn't work, run it again using raw values.\n return arr[key](...args.map(toRaw));\n }\n else {\n return res;\n }\n };\n });\n ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {\n instrumentations[key] = function (...args) {\n pauseTracking();\n const res = toRaw(this)[key].apply(this, args);\n resetTracking();\n return res;\n };\n });\n return instrumentations;\n}\nfunction createGetter(isReadonly = false, shallow = false) {\n return function get(target, key, receiver) {\n if (key === \"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */) {\n return !isReadonly;\n }\n else if (key === \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */) {\n return isReadonly;\n }\n else if (key === \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */) {\n return shallow;\n }\n else if (key === \"__v_raw\" /* ReactiveFlags.RAW */ &&\n receiver ===\n (isReadonly\n ? shallow\n ? shallowReadonlyMap\n : readonlyMap\n : shallow\n ? shallowReactiveMap\n : reactiveMap).get(target)) {\n return target;\n }\n const targetIsArray = isArray(target);\n if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {\n return Reflect.get(arrayInstrumentations, key, receiver);\n }\n const res = Reflect.get(target, key, receiver);\n if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {\n return res;\n }\n if (!isReadonly) {\n track(target, \"get\" /* TrackOpTypes.GET */, key);\n }\n if (shallow) {\n return res;\n }\n if (isRef(res)) {\n // ref unwrapping - skip unwrap for Array + integer key.\n return targetIsArray && isIntegerKey(key) ? res : res.value;\n }\n if (isObject(res)) {\n // Convert returned value into a proxy as well. we do the isObject check\n // here to avoid invalid value warning. Also need to lazy access readonly\n // and reactive here to avoid circular dependency.\n return isReadonly ? readonly(res) : reactive(res);\n }\n return res;\n };\n}\nconst set = /*#__PURE__*/ createSetter();\nconst shallowSet = /*#__PURE__*/ createSetter(true);\nfunction createSetter(shallow = false) {\n return function set(target, key, value, receiver) {\n let oldValue = target[key];\n if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {\n return false;\n }\n if (!shallow) {\n if (!isShallow(value) && !isReadonly(value)) {\n oldValue = toRaw(oldValue);\n value = toRaw(value);\n }\n if (!isArray(target) && isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n }\n const hadKey = isArray(target) && isIntegerKey(key)\n ? Number(key) < target.length\n : hasOwn(target, key);\n const result = Reflect.set(target, key, value, receiver);\n // don't trigger if target is something up in the prototype chain of original\n if (target === toRaw(receiver)) {\n if (!hadKey) {\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, key, value);\n }\n else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\" /* TriggerOpTypes.SET */, key, value, oldValue);\n }\n }\n return result;\n };\n}\nfunction deleteProperty(target, key) {\n const hadKey = hasOwn(target, key);\n const oldValue = target[key];\n const result = Reflect.deleteProperty(target, key);\n if (result && hadKey) {\n trigger(target, \"delete\" /* TriggerOpTypes.DELETE */, key, undefined, oldValue);\n }\n return result;\n}\nfunction has(target, key) {\n const result = Reflect.has(target, key);\n if (!isSymbol(key) || !builtInSymbols.has(key)) {\n track(target, \"has\" /* TrackOpTypes.HAS */, key);\n }\n return result;\n}\nfunction ownKeys(target) {\n track(target, \"iterate\" /* TrackOpTypes.ITERATE */, isArray(target) ? 'length' : ITERATE_KEY);\n return Reflect.ownKeys(target);\n}\nconst mutableHandlers = {\n get,\n set,\n deleteProperty,\n has,\n ownKeys\n};\nconst readonlyHandlers = {\n get: readonlyGet,\n set(target, key) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Set operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n },\n deleteProperty(target, key) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`Delete operation on key \"${String(key)}\" failed: target is readonly.`, target);\n }\n return true;\n }\n};\nconst shallowReactiveHandlers = /*#__PURE__*/ extend({}, mutableHandlers, {\n get: shallowGet,\n set: shallowSet\n});\n// Props handlers are special in the sense that it should not unwrap top-level\n// refs (in order to allow refs to be explicitly passed down), but should\n// retain the reactivity of the normal readonly object.\nconst shallowReadonlyHandlers = /*#__PURE__*/ extend({}, readonlyHandlers, {\n get: shallowReadonlyGet\n});\n\nconst toShallow = (value) => value;\nconst getProto = (v) => Reflect.getPrototypeOf(v);\nfunction get$1(target, key, isReadonly = false, isShallow = false) {\n // #1772: readonly(reactive(Map)) should return readonly + reactive version\n // of the value\n target = target[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"get\" /* TrackOpTypes.GET */, key);\n }\n track(rawTarget, \"get\" /* TrackOpTypes.GET */, rawKey);\n }\n const { has } = getProto(rawTarget);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n if (has.call(rawTarget, key)) {\n return wrap(target.get(key));\n }\n else if (has.call(rawTarget, rawKey)) {\n return wrap(target.get(rawKey));\n }\n else if (target !== rawTarget) {\n // #3602 readonly(reactive(Map))\n // ensure that the nested reactive `Map` can do tracking for itself\n target.get(key);\n }\n}\nfunction has$1(key, isReadonly = false) {\n const target = this[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const rawKey = toRaw(key);\n if (!isReadonly) {\n if (key !== rawKey) {\n track(rawTarget, \"has\" /* TrackOpTypes.HAS */, key);\n }\n track(rawTarget, \"has\" /* TrackOpTypes.HAS */, rawKey);\n }\n return key === rawKey\n ? target.has(key)\n : target.has(key) || target.has(rawKey);\n}\nfunction size(target, isReadonly = false) {\n target = target[\"__v_raw\" /* ReactiveFlags.RAW */];\n !isReadonly && track(toRaw(target), \"iterate\" /* TrackOpTypes.ITERATE */, ITERATE_KEY);\n return Reflect.get(target, 'size', target);\n}\nfunction add(value) {\n value = toRaw(value);\n const target = toRaw(this);\n const proto = getProto(target);\n const hadKey = proto.has.call(target, value);\n if (!hadKey) {\n target.add(value);\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, value, value);\n }\n return this;\n}\nfunction set$1(key, value) {\n value = toRaw(value);\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get.call(target, key);\n target.set(key, value);\n if (!hadKey) {\n trigger(target, \"add\" /* TriggerOpTypes.ADD */, key, value);\n }\n else if (hasChanged(value, oldValue)) {\n trigger(target, \"set\" /* TriggerOpTypes.SET */, key, value, oldValue);\n }\n return this;\n}\nfunction deleteEntry(key) {\n const target = toRaw(this);\n const { has, get } = getProto(target);\n let hadKey = has.call(target, key);\n if (!hadKey) {\n key = toRaw(key);\n hadKey = has.call(target, key);\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n checkIdentityKeys(target, has, key);\n }\n const oldValue = get ? get.call(target, key) : undefined;\n // forward the operation before queueing reactions\n const result = target.delete(key);\n if (hadKey) {\n trigger(target, \"delete\" /* TriggerOpTypes.DELETE */, key, undefined, oldValue);\n }\n return result;\n}\nfunction clear() {\n const target = toRaw(this);\n const hadItems = target.size !== 0;\n const oldTarget = (process.env.NODE_ENV !== 'production')\n ? isMap(target)\n ? new Map(target)\n : new Set(target)\n : undefined;\n // forward the operation before queueing reactions\n const result = target.clear();\n if (hadItems) {\n trigger(target, \"clear\" /* TriggerOpTypes.CLEAR */, undefined, undefined, oldTarget);\n }\n return result;\n}\nfunction createForEach(isReadonly, isShallow) {\n return function forEach(callback, thisArg) {\n const observed = this;\n const target = observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly && track(rawTarget, \"iterate\" /* TrackOpTypes.ITERATE */, ITERATE_KEY);\n return target.forEach((value, key) => {\n // important: make sure the callback is\n // 1. invoked with the reactive map as `this` and 3rd arg\n // 2. the value received should be a corresponding reactive/readonly.\n return callback.call(thisArg, wrap(value), wrap(key), observed);\n });\n };\n}\nfunction createIterableMethod(method, isReadonly, isShallow) {\n return function (...args) {\n const target = this[\"__v_raw\" /* ReactiveFlags.RAW */];\n const rawTarget = toRaw(target);\n const targetIsMap = isMap(rawTarget);\n const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);\n const isKeyOnly = method === 'keys' && targetIsMap;\n const innerIterator = target[method](...args);\n const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;\n !isReadonly &&\n track(rawTarget, \"iterate\" /* TrackOpTypes.ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);\n // return a wrapped iterator which returns observed versions of the\n // values emitted from the real iterator\n return {\n // iterator protocol\n next() {\n const { value, done } = innerIterator.next();\n return done\n ? { value, done }\n : {\n value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),\n done\n };\n },\n // iterable protocol\n [Symbol.iterator]() {\n return this;\n }\n };\n };\n}\nfunction createReadonlyMethod(type) {\n return function (...args) {\n if ((process.env.NODE_ENV !== 'production')) {\n const key = args[0] ? `on key \"${args[0]}\" ` : ``;\n console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));\n }\n return type === \"delete\" /* TriggerOpTypes.DELETE */ ? false : this;\n };\n}\nfunction createInstrumentations() {\n const mutableInstrumentations = {\n get(key) {\n return get$1(this, key);\n },\n get size() {\n return size(this);\n },\n has: has$1,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, false)\n };\n const shallowInstrumentations = {\n get(key) {\n return get$1(this, key, false, true);\n },\n get size() {\n return size(this);\n },\n has: has$1,\n add,\n set: set$1,\n delete: deleteEntry,\n clear,\n forEach: createForEach(false, true)\n };\n const readonlyInstrumentations = {\n get(key) {\n return get$1(this, key, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has$1.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\" /* TriggerOpTypes.ADD */),\n set: createReadonlyMethod(\"set\" /* TriggerOpTypes.SET */),\n delete: createReadonlyMethod(\"delete\" /* TriggerOpTypes.DELETE */),\n clear: createReadonlyMethod(\"clear\" /* TriggerOpTypes.CLEAR */),\n forEach: createForEach(true, false)\n };\n const shallowReadonlyInstrumentations = {\n get(key) {\n return get$1(this, key, true, true);\n },\n get size() {\n return size(this, true);\n },\n has(key) {\n return has$1.call(this, key, true);\n },\n add: createReadonlyMethod(\"add\" /* TriggerOpTypes.ADD */),\n set: createReadonlyMethod(\"set\" /* TriggerOpTypes.SET */),\n delete: createReadonlyMethod(\"delete\" /* TriggerOpTypes.DELETE */),\n clear: createReadonlyMethod(\"clear\" /* TriggerOpTypes.CLEAR */),\n forEach: createForEach(true, true)\n };\n const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];\n iteratorMethods.forEach(method => {\n mutableInstrumentations[method] = createIterableMethod(method, false, false);\n readonlyInstrumentations[method] = createIterableMethod(method, true, false);\n shallowInstrumentations[method] = createIterableMethod(method, false, true);\n shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);\n });\n return [\n mutableInstrumentations,\n readonlyInstrumentations,\n shallowInstrumentations,\n shallowReadonlyInstrumentations\n ];\n}\nconst [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();\nfunction createInstrumentationGetter(isReadonly, shallow) {\n const instrumentations = shallow\n ? isReadonly\n ? shallowReadonlyInstrumentations\n : shallowInstrumentations\n : isReadonly\n ? readonlyInstrumentations\n : mutableInstrumentations;\n return (target, key, receiver) => {\n if (key === \"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */) {\n return !isReadonly;\n }\n else if (key === \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */) {\n return isReadonly;\n }\n else if (key === \"__v_raw\" /* ReactiveFlags.RAW */) {\n return target;\n }\n return Reflect.get(hasOwn(instrumentations, key) && key in target\n ? instrumentations\n : target, key, receiver);\n };\n}\nconst mutableCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(false, false)\n};\nconst shallowCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(false, true)\n};\nconst readonlyCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(true, false)\n};\nconst shallowReadonlyCollectionHandlers = {\n get: /*#__PURE__*/ createInstrumentationGetter(true, true)\n};\nfunction checkIdentityKeys(target, has, key) {\n const rawKey = toRaw(key);\n if (rawKey !== key && has.call(target, rawKey)) {\n const type = toRawType(target);\n console.warn(`Reactive ${type} contains both the raw and reactive ` +\n `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +\n `which can lead to inconsistencies. ` +\n `Avoid differentiating between the raw and reactive versions ` +\n `of an object and only use the reactive version if possible.`);\n }\n}\n\nconst reactiveMap = new WeakMap();\nconst shallowReactiveMap = new WeakMap();\nconst readonlyMap = new WeakMap();\nconst shallowReadonlyMap = new WeakMap();\nfunction targetTypeMap(rawType) {\n switch (rawType) {\n case 'Object':\n case 'Array':\n return 1 /* TargetType.COMMON */;\n case 'Map':\n case 'Set':\n case 'WeakMap':\n case 'WeakSet':\n return 2 /* TargetType.COLLECTION */;\n default:\n return 0 /* TargetType.INVALID */;\n }\n}\nfunction getTargetType(value) {\n return value[\"__v_skip\" /* ReactiveFlags.SKIP */] || !Object.isExtensible(value)\n ? 0 /* TargetType.INVALID */\n : targetTypeMap(toRawType(value));\n}\nfunction reactive(target) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (isReadonly(target)) {\n return target;\n }\n return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);\n}\n/**\n * Creates a readonly copy of the original object. Note the returned copy is not\n * made reactive, but `readonly` can be called on an already reactive object.\n */\nfunction readonly(target) {\n return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);\n}\nfunction createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {\n if (!isObject(target)) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(`value cannot be made reactive: ${String(target)}`);\n }\n return target;\n }\n // target is already a Proxy, return it.\n // exception: calling readonly() on a reactive object\n if (target[\"__v_raw\" /* ReactiveFlags.RAW */] &&\n !(isReadonly && target[\"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */])) {\n return target;\n }\n // target already has corresponding Proxy\n const existingProxy = proxyMap.get(target);\n if (existingProxy) {\n return existingProxy;\n }\n // only specific value types can be observed.\n const targetType = getTargetType(target);\n if (targetType === 0 /* TargetType.INVALID */) {\n return target;\n }\n const proxy = new Proxy(target, targetType === 2 /* TargetType.COLLECTION */ ? collectionHandlers : baseHandlers);\n proxyMap.set(target, proxy);\n return proxy;\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value[\"__v_isReactive\" /* ReactiveFlags.IS_REACTIVE */]);\n}\nfunction isReadonly(value) {\n return !!(value && value[\"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */]);\n}\nfunction isShallow(value) {\n return !!(value && value[\"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */]);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n const raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n return value;\n}\nconst toReactive = (value) => isObject(value) ? reactive(value) : value;\nconst toReadonly = (value) => isObject(value) ? readonly(value) : value;\n\nfunction trackRefValue(ref) {\n if (shouldTrack && activeEffect) {\n ref = toRaw(ref);\n if ((process.env.NODE_ENV !== 'production')) {\n trackEffects(ref.dep || (ref.dep = createDep()), {\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n trackEffects(ref.dep || (ref.dep = createDep()));\n }\n }\n}\nfunction triggerRefValue(ref, newVal) {\n ref = toRaw(ref);\n if (ref.dep) {\n if ((process.env.NODE_ENV !== 'production')) {\n triggerEffects(ref.dep, {\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value',\n newValue: newVal\n });\n }\n else {\n triggerEffects(ref.dep);\n }\n }\n}\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n return new RefImpl(rawValue, shallow);\n}\nclass RefImpl {\n constructor(value, __v_isShallow) {\n this.__v_isShallow = __v_isShallow;\n this.dep = undefined;\n this.__v_isRef = true;\n this._rawValue = __v_isShallow ? value : toRaw(value);\n this._value = __v_isShallow ? value : toReactive(value);\n }\n get value() {\n trackRefValue(this);\n return this._value;\n }\n set value(newVal) {\n const useDirectValue = this.__v_isShallow || isShallow(newVal) || isReadonly(newVal);\n newVal = useDirectValue ? newVal : toRaw(newVal);\n if (hasChanged(newVal, this._rawValue)) {\n this._rawValue = newVal;\n this._value = useDirectValue ? newVal : toReactive(newVal);\n triggerRefValue(this, newVal);\n }\n }\n}\nfunction triggerRef(ref) {\n triggerRefValue(ref, (process.env.NODE_ENV !== 'production') ? ref.value : void 0);\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nconst shallowUnwrapHandlers = {\n get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),\n set: (target, key, value, receiver) => {\n const oldValue = target[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n return true;\n }\n else {\n return Reflect.set(target, key, value, receiver);\n }\n }\n};\nfunction proxyRefs(objectWithRefs) {\n return isReactive(objectWithRefs)\n ? objectWithRefs\n : new Proxy(objectWithRefs, shallowUnwrapHandlers);\n}\nclass CustomRefImpl {\n constructor(factory) {\n this.dep = undefined;\n this.__v_isRef = true;\n const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));\n this._get = get;\n this._set = set;\n }\n get value() {\n return this._get();\n }\n set value(newVal) {\n this._set(newVal);\n }\n}\nfunction customRef(factory) {\n return new CustomRefImpl(factory);\n}\nfunction toRefs(object) {\n if ((process.env.NODE_ENV !== 'production') && !isProxy(object)) {\n console.warn(`toRefs() expects a reactive object but received a plain one.`);\n }\n const ret = isArray(object) ? new Array(object.length) : {};\n for (const key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nclass ObjectRefImpl {\n constructor(_object, _key, _defaultValue) {\n this._object = _object;\n this._key = _key;\n this._defaultValue = _defaultValue;\n this.__v_isRef = true;\n }\n get value() {\n const val = this._object[this._key];\n return val === undefined ? this._defaultValue : val;\n }\n set value(newVal) {\n this._object[this._key] = newVal;\n }\n}\nfunction toRef(object, key, defaultValue) {\n const val = object[key];\n return isRef(val)\n ? val\n : new ObjectRefImpl(object, key, defaultValue);\n}\n\nvar _a;\nclass ComputedRefImpl {\n constructor(getter, _setter, isReadonly, isSSR) {\n this._setter = _setter;\n this.dep = undefined;\n this.__v_isRef = true;\n this[_a] = false;\n this._dirty = true;\n this.effect = new ReactiveEffect(getter, () => {\n if (!this._dirty) {\n this._dirty = true;\n triggerRefValue(this);\n }\n });\n this.effect.computed = this;\n this.effect.active = this._cacheable = !isSSR;\n this[\"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */] = isReadonly;\n }\n get value() {\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\n const self = toRaw(this);\n trackRefValue(self);\n if (self._dirty || !self._cacheable) {\n self._dirty = false;\n self._value = self.effect.run();\n }\n return self._value;\n }\n set value(newValue) {\n this._setter(newValue);\n }\n}\n_a = \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */;\nfunction computed(getterOrOptions, debugOptions, isSSR = false) {\n let getter;\n let setter;\n const onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = (process.env.NODE_ENV !== 'production')\n ? () => {\n console.warn('Write operation failed: computed value is readonly');\n }\n : NOOP;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);\n if ((process.env.NODE_ENV !== 'production') && debugOptions && !isSSR) {\n cRef.effect.onTrack = debugOptions.onTrack;\n cRef.effect.onTrigger = debugOptions.onTrigger;\n }\n return cRef;\n}\n\nvar _a$1;\nconst tick = /*#__PURE__*/ Promise.resolve();\nconst queue = [];\nlet queued = false;\nconst scheduler = (fn) => {\n queue.push(fn);\n if (!queued) {\n queued = true;\n tick.then(flush);\n }\n};\nconst flush = () => {\n for (let i = 0; i < queue.length; i++) {\n queue[i]();\n }\n queue.length = 0;\n queued = false;\n};\nclass DeferredComputedRefImpl {\n constructor(getter) {\n this.dep = undefined;\n this._dirty = true;\n this.__v_isRef = true;\n this[_a$1] = true;\n let compareTarget;\n let hasCompareTarget = false;\n let scheduled = false;\n this.effect = new ReactiveEffect(getter, (computedTrigger) => {\n if (this.dep) {\n if (computedTrigger) {\n compareTarget = this._value;\n hasCompareTarget = true;\n }\n else if (!scheduled) {\n const valueToCompare = hasCompareTarget ? compareTarget : this._value;\n scheduled = true;\n hasCompareTarget = false;\n scheduler(() => {\n if (this.effect.active && this._get() !== valueToCompare) {\n triggerRefValue(this);\n }\n scheduled = false;\n });\n }\n // chained upstream computeds are notified synchronously to ensure\n // value invalidation in case of sync access; normal effects are\n // deferred to be triggered in scheduler.\n for (const e of this.dep) {\n if (e.computed instanceof DeferredComputedRefImpl) {\n e.scheduler(true /* computedTrigger */);\n }\n }\n }\n this._dirty = true;\n });\n this.effect.computed = this;\n }\n _get() {\n if (this._dirty) {\n this._dirty = false;\n return (this._value = this.effect.run());\n }\n return this._value;\n }\n get value() {\n trackRefValue(this);\n // the computed ref may get wrapped by other proxies e.g. readonly() #3376\n return toRaw(this)._get();\n }\n}\n_a$1 = \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */;\nfunction deferredComputed(getter) {\n return new DeferredComputedRefImpl(getter);\n}\n\nexport { EffectScope, ITERATE_KEY, ReactiveEffect, computed, customRef, deferredComputed, effect, effectScope, enableTracking, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, pauseTracking, proxyRefs, reactive, readonly, ref, resetTracking, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, track, trigger, triggerRef, unref };\n","import { pauseTracking, resetTracking, isRef, toRaw, isShallow as isShallow$1, isReactive, ReactiveEffect, ref, shallowReadonly, track, reactive, shallowReactive, trigger, isProxy, EffectScope, markRaw, proxyRefs, computed as computed$1, isReadonly } from '@vue/reactivity';\nexport { EffectScope, ReactiveEffect, customRef, effect, effectScope, getCurrentScope, isProxy, isReactive, isReadonly, isRef, isShallow, markRaw, onScopeDispose, proxyRefs, reactive, readonly, ref, shallowReactive, shallowReadonly, shallowRef, stop, toRaw, toRef, toRefs, triggerRef, unref } from '@vue/reactivity';\nimport { isString, isFunction, isPromise, isArray, NOOP, getGlobalThis, extend, EMPTY_OBJ, toHandlerKey, toNumber, hyphenate, camelize, isObject, isOn, hasOwn, isModelListener, hasChanged, remove, isSet, isMap, isPlainObject, invokeArrayFns, isBuiltInDirective, capitalize, isGloballyWhitelisted, def, isReservedProp, EMPTY_ARR, toRawType, makeMap, NO, normalizeClass, normalizeStyle } from '@vue/shared';\nexport { camelize, capitalize, normalizeClass, normalizeProps, normalizeStyle, toDisplayString, toHandlerKey } from '@vue/shared';\n\nconst stack = [];\nfunction pushWarningContext(vnode) {\n stack.push(vnode);\n}\nfunction popWarningContext() {\n stack.pop();\n}\nfunction warn(msg, ...args) {\n // avoid props formatting or warn handler tracking deps that might be mutated\n // during patch, leading to infinite recursion.\n pauseTracking();\n const instance = stack.length ? stack[stack.length - 1].component : null;\n const appWarnHandler = instance && instance.appContext.config.warnHandler;\n const trace = getComponentTrace();\n if (appWarnHandler) {\n callWithErrorHandling(appWarnHandler, instance, 11 /* ErrorCodes.APP_WARN_HANDLER */, [\n msg + args.join(''),\n instance && instance.proxy,\n trace\n .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)\n .join('\\n'),\n trace\n ]);\n }\n else {\n const warnArgs = [`[Vue warn]: ${msg}`, ...args];\n /* istanbul ignore if */\n if (trace.length &&\n // avoid spamming console during tests\n !false) {\n warnArgs.push(`\\n`, ...formatTrace(trace));\n }\n console.warn(...warnArgs);\n }\n resetTracking();\n}\nfunction getComponentTrace() {\n let currentVNode = stack[stack.length - 1];\n if (!currentVNode) {\n return [];\n }\n // we can't just use the stack because it will be incomplete during updates\n // that did not start from the root. Re-construct the parent chain using\n // instance parent pointers.\n const normalizedStack = [];\n while (currentVNode) {\n const last = normalizedStack[0];\n if (last && last.vnode === currentVNode) {\n last.recurseCount++;\n }\n else {\n normalizedStack.push({\n vnode: currentVNode,\n recurseCount: 0\n });\n }\n const parentInstance = currentVNode.component && currentVNode.component.parent;\n currentVNode = parentInstance && parentInstance.vnode;\n }\n return normalizedStack;\n}\n/* istanbul ignore next */\nfunction formatTrace(trace) {\n const logs = [];\n trace.forEach((entry, i) => {\n logs.push(...(i === 0 ? [] : [`\\n`]), ...formatTraceEntry(entry));\n });\n return logs;\n}\nfunction formatTraceEntry({ vnode, recurseCount }) {\n const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;\n const isRoot = vnode.component ? vnode.component.parent == null : false;\n const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;\n const close = `>` + postfix;\n return vnode.props\n ? [open, ...formatProps(vnode.props), close]\n : [open + close];\n}\n/* istanbul ignore next */\nfunction formatProps(props) {\n const res = [];\n const keys = Object.keys(props);\n keys.slice(0, 3).forEach(key => {\n res.push(...formatProp(key, props[key]));\n });\n if (keys.length > 3) {\n res.push(` ...`);\n }\n return res;\n}\n/* istanbul ignore next */\nfunction formatProp(key, value, raw) {\n if (isString(value)) {\n value = JSON.stringify(value);\n return raw ? value : [`${key}=${value}`];\n }\n else if (typeof value === 'number' ||\n typeof value === 'boolean' ||\n value == null) {\n return raw ? value : [`${key}=${value}`];\n }\n else if (isRef(value)) {\n value = formatProp(key, toRaw(value.value), true);\n return raw ? value : [`${key}=Ref<`, value, `>`];\n }\n else if (isFunction(value)) {\n return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];\n }\n else {\n value = toRaw(value);\n return raw ? value : [`${key}=`, value];\n }\n}\n\nconst ErrorTypeStrings = {\n [\"sp\" /* LifecycleHooks.SERVER_PREFETCH */]: 'serverPrefetch hook',\n [\"bc\" /* LifecycleHooks.BEFORE_CREATE */]: 'beforeCreate hook',\n [\"c\" /* LifecycleHooks.CREATED */]: 'created hook',\n [\"bm\" /* LifecycleHooks.BEFORE_MOUNT */]: 'beforeMount hook',\n [\"m\" /* LifecycleHooks.MOUNTED */]: 'mounted hook',\n [\"bu\" /* LifecycleHooks.BEFORE_UPDATE */]: 'beforeUpdate hook',\n [\"u\" /* LifecycleHooks.UPDATED */]: 'updated',\n [\"bum\" /* LifecycleHooks.BEFORE_UNMOUNT */]: 'beforeUnmount hook',\n [\"um\" /* LifecycleHooks.UNMOUNTED */]: 'unmounted hook',\n [\"a\" /* LifecycleHooks.ACTIVATED */]: 'activated hook',\n [\"da\" /* LifecycleHooks.DEACTIVATED */]: 'deactivated hook',\n [\"ec\" /* LifecycleHooks.ERROR_CAPTURED */]: 'errorCaptured hook',\n [\"rtc\" /* LifecycleHooks.RENDER_TRACKED */]: 'renderTracked hook',\n [\"rtg\" /* LifecycleHooks.RENDER_TRIGGERED */]: 'renderTriggered hook',\n [0 /* ErrorCodes.SETUP_FUNCTION */]: 'setup function',\n [1 /* ErrorCodes.RENDER_FUNCTION */]: 'render function',\n [2 /* ErrorCodes.WATCH_GETTER */]: 'watcher getter',\n [3 /* ErrorCodes.WATCH_CALLBACK */]: 'watcher callback',\n [4 /* ErrorCodes.WATCH_CLEANUP */]: 'watcher cleanup function',\n [5 /* ErrorCodes.NATIVE_EVENT_HANDLER */]: 'native event handler',\n [6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */]: 'component event handler',\n [7 /* ErrorCodes.VNODE_HOOK */]: 'vnode hook',\n [8 /* ErrorCodes.DIRECTIVE_HOOK */]: 'directive hook',\n [9 /* ErrorCodes.TRANSITION_HOOK */]: 'transition hook',\n [10 /* ErrorCodes.APP_ERROR_HANDLER */]: 'app errorHandler',\n [11 /* ErrorCodes.APP_WARN_HANDLER */]: 'app warnHandler',\n [12 /* ErrorCodes.FUNCTION_REF */]: 'ref function',\n [13 /* ErrorCodes.ASYNC_COMPONENT_LOADER */]: 'async component loader',\n [14 /* ErrorCodes.SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +\n 'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'\n};\nfunction callWithErrorHandling(fn, instance, type, args) {\n let res;\n try {\n res = args ? fn(...args) : fn();\n }\n catch (err) {\n handleError(err, instance, type);\n }\n return res;\n}\nfunction callWithAsyncErrorHandling(fn, instance, type, args) {\n if (isFunction(fn)) {\n const res = callWithErrorHandling(fn, instance, type, args);\n if (res && isPromise(res)) {\n res.catch(err => {\n handleError(err, instance, type);\n });\n }\n return res;\n }\n const values = [];\n for (let i = 0; i < fn.length; i++) {\n values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));\n }\n return values;\n}\nfunction handleError(err, instance, type, throwInDev = true) {\n const contextVNode = instance ? instance.vnode : null;\n if (instance) {\n let cur = instance.parent;\n // the exposed instance is the render proxy to keep it consistent with 2.x\n const exposedInstance = instance.proxy;\n // in production the hook receives only the error code\n const errorInfo = (process.env.NODE_ENV !== 'production') ? ErrorTypeStrings[type] : type;\n while (cur) {\n const errorCapturedHooks = cur.ec;\n if (errorCapturedHooks) {\n for (let i = 0; i < errorCapturedHooks.length; i++) {\n if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {\n return;\n }\n }\n }\n cur = cur.parent;\n }\n // app-level handling\n const appErrorHandler = instance.appContext.config.errorHandler;\n if (appErrorHandler) {\n callWithErrorHandling(appErrorHandler, null, 10 /* ErrorCodes.APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);\n return;\n }\n }\n logError(err, type, contextVNode, throwInDev);\n}\nfunction logError(err, type, contextVNode, throwInDev = true) {\n if ((process.env.NODE_ENV !== 'production')) {\n const info = ErrorTypeStrings[type];\n if (contextVNode) {\n pushWarningContext(contextVNode);\n }\n warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);\n if (contextVNode) {\n popWarningContext();\n }\n // crash in dev by default so it's more noticeable\n if (throwInDev) {\n throw err;\n }\n else {\n console.error(err);\n }\n }\n else {\n // recover in prod to reduce the impact on end-user\n console.error(err);\n }\n}\n\nlet isFlushing = false;\nlet isFlushPending = false;\nconst queue = [];\nlet flushIndex = 0;\nconst pendingPostFlushCbs = [];\nlet activePostFlushCbs = null;\nlet postFlushIndex = 0;\nconst resolvedPromise = /*#__PURE__*/ Promise.resolve();\nlet currentFlushPromise = null;\nconst RECURSION_LIMIT = 100;\nfunction nextTick(fn) {\n const p = currentFlushPromise || resolvedPromise;\n return fn ? p.then(this ? fn.bind(this) : fn) : p;\n}\n// #2768\n// Use binary-search to find a suitable position in the queue,\n// so that the queue maintains the increasing order of job's id,\n// which can prevent the job from being skipped and also can avoid repeated patching.\nfunction findInsertionIndex(id) {\n // the start index should be `flushIndex + 1`\n let start = flushIndex + 1;\n let end = queue.length;\n while (start < end) {\n const middle = (start + end) >>> 1;\n const middleJobId = getId(queue[middle]);\n middleJobId < id ? (start = middle + 1) : (end = middle);\n }\n return start;\n}\nfunction queueJob(job) {\n // the dedupe search uses the startIndex argument of Array.includes()\n // by default the search index includes the current job that is being run\n // so it cannot recursively trigger itself again.\n // if the job is a watch() callback, the search will start with a +1 index to\n // allow it recursively trigger itself - it is the user's responsibility to\n // ensure it doesn't end up in an infinite loop.\n if (!queue.length ||\n !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) {\n if (job.id == null) {\n queue.push(job);\n }\n else {\n queue.splice(findInsertionIndex(job.id), 0, job);\n }\n queueFlush();\n }\n}\nfunction queueFlush() {\n if (!isFlushing && !isFlushPending) {\n isFlushPending = true;\n currentFlushPromise = resolvedPromise.then(flushJobs);\n }\n}\nfunction invalidateJob(job) {\n const i = queue.indexOf(job);\n if (i > flushIndex) {\n queue.splice(i, 1);\n }\n}\nfunction queuePostFlushCb(cb) {\n if (!isArray(cb)) {\n if (!activePostFlushCbs ||\n !activePostFlushCbs.includes(cb, cb.allowRecurse ? postFlushIndex + 1 : postFlushIndex)) {\n pendingPostFlushCbs.push(cb);\n }\n }\n else {\n // if cb is an array, it is a component lifecycle hook which can only be\n // triggered by a job, which is already deduped in the main queue, so\n // we can skip duplicate check here to improve perf\n pendingPostFlushCbs.push(...cb);\n }\n queueFlush();\n}\nfunction flushPreFlushCbs(seen, \n// if currently flushing, skip the current job itself\ni = isFlushing ? flushIndex + 1 : 0) {\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || new Map();\n }\n for (; i < queue.length; i++) {\n const cb = queue[i];\n if (cb && cb.pre) {\n if ((process.env.NODE_ENV !== 'production') && checkRecursiveUpdates(seen, cb)) {\n continue;\n }\n queue.splice(i, 1);\n i--;\n cb();\n }\n }\n}\nfunction flushPostFlushCbs(seen) {\n if (pendingPostFlushCbs.length) {\n const deduped = [...new Set(pendingPostFlushCbs)];\n pendingPostFlushCbs.length = 0;\n // #1947 already has active queue, nested flushPostFlushCbs call\n if (activePostFlushCbs) {\n activePostFlushCbs.push(...deduped);\n return;\n }\n activePostFlushCbs = deduped;\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || new Map();\n }\n activePostFlushCbs.sort((a, b) => getId(a) - getId(b));\n for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {\n if ((process.env.NODE_ENV !== 'production') &&\n checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {\n continue;\n }\n activePostFlushCbs[postFlushIndex]();\n }\n activePostFlushCbs = null;\n postFlushIndex = 0;\n }\n}\nconst getId = (job) => job.id == null ? Infinity : job.id;\nconst comparator = (a, b) => {\n const diff = getId(a) - getId(b);\n if (diff === 0) {\n if (a.pre && !b.pre)\n return -1;\n if (b.pre && !a.pre)\n return 1;\n }\n return diff;\n};\nfunction flushJobs(seen) {\n isFlushPending = false;\n isFlushing = true;\n if ((process.env.NODE_ENV !== 'production')) {\n seen = seen || new Map();\n }\n // Sort queue before flush.\n // This ensures that:\n // 1. Components are updated from parent to child. (because parent is always\n // created before the child so its render effect will have smaller\n // priority number)\n // 2. If a component is unmounted during a parent component's update,\n // its update can be skipped.\n queue.sort(comparator);\n // conditional usage of checkRecursiveUpdate must be determined out of\n // try ... catch block since Rollup by default de-optimizes treeshaking\n // inside try-catch. This can leave all warning code unshaked. Although\n // they would get eventually shaken by a minifier like terser, some minifiers\n // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)\n const check = (process.env.NODE_ENV !== 'production')\n ? (job) => checkRecursiveUpdates(seen, job)\n : NOOP;\n try {\n for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {\n const job = queue[flushIndex];\n if (job && job.active !== false) {\n if ((process.env.NODE_ENV !== 'production') && check(job)) {\n continue;\n }\n // console.log(`running:`, job.id)\n callWithErrorHandling(job, null, 14 /* ErrorCodes.SCHEDULER */);\n }\n }\n }\n finally {\n flushIndex = 0;\n queue.length = 0;\n flushPostFlushCbs(seen);\n isFlushing = false;\n currentFlushPromise = null;\n // some postFlushCb queued jobs!\n // keep flushing until it drains.\n if (queue.length || pendingPostFlushCbs.length) {\n flushJobs(seen);\n }\n }\n}\nfunction checkRecursiveUpdates(seen, fn) {\n if (!seen.has(fn)) {\n seen.set(fn, 1);\n }\n else {\n const count = seen.get(fn);\n if (count > RECURSION_LIMIT) {\n const instance = fn.ownerInstance;\n const componentName = instance && getComponentName(instance.type);\n warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +\n `This means you have a reactive effect that is mutating its own ` +\n `dependencies and thus recursively triggering itself. Possible sources ` +\n `include component template, render function, updated hook or ` +\n `watcher source function.`);\n return true;\n }\n else {\n seen.set(fn, count + 1);\n }\n }\n}\n\n/* eslint-disable no-restricted-globals */\nlet isHmrUpdating = false;\nconst hmrDirtyComponents = new Set();\n// Expose the HMR runtime on the global object\n// This makes it entirely tree-shakable without polluting the exports and makes\n// it easier to be used in toolings like vue-loader\n// Note: for a component to be eligible for HMR it also needs the __hmrId option\n// to be set so that its instances can be registered / removed.\nif ((process.env.NODE_ENV !== 'production')) {\n getGlobalThis().__VUE_HMR_RUNTIME__ = {\n createRecord: tryWrap(createRecord),\n rerender: tryWrap(rerender),\n reload: tryWrap(reload)\n };\n}\nconst map = new Map();\nfunction registerHMR(instance) {\n const id = instance.type.__hmrId;\n let record = map.get(id);\n if (!record) {\n createRecord(id, instance.type);\n record = map.get(id);\n }\n record.instances.add(instance);\n}\nfunction unregisterHMR(instance) {\n map.get(instance.type.__hmrId).instances.delete(instance);\n}\nfunction createRecord(id, initialDef) {\n if (map.has(id)) {\n return false;\n }\n map.set(id, {\n initialDef: normalizeClassComponent(initialDef),\n instances: new Set()\n });\n return true;\n}\nfunction normalizeClassComponent(component) {\n return isClassComponent(component) ? component.__vccOpts : component;\n}\nfunction rerender(id, newRender) {\n const record = map.get(id);\n if (!record) {\n return;\n }\n // update initial record (for not-yet-rendered component)\n record.initialDef.render = newRender;\n [...record.instances].forEach(instance => {\n if (newRender) {\n instance.render = newRender;\n normalizeClassComponent(instance.type).render = newRender;\n }\n instance.renderCache = [];\n // this flag forces child components with slot content to update\n isHmrUpdating = true;\n instance.update();\n isHmrUpdating = false;\n });\n}\nfunction reload(id, newComp) {\n const record = map.get(id);\n if (!record)\n return;\n newComp = normalizeClassComponent(newComp);\n // update initial def (for not-yet-rendered components)\n updateComponentDef(record.initialDef, newComp);\n // create a snapshot which avoids the set being mutated during updates\n const instances = [...record.instances];\n for (const instance of instances) {\n const oldComp = normalizeClassComponent(instance.type);\n if (!hmrDirtyComponents.has(oldComp)) {\n // 1. Update existing comp definition to match new one\n if (oldComp !== record.initialDef) {\n updateComponentDef(oldComp, newComp);\n }\n // 2. mark definition dirty. This forces the renderer to replace the\n // component on patch.\n hmrDirtyComponents.add(oldComp);\n }\n // 3. invalidate options resolution cache\n instance.appContext.optionsCache.delete(instance.type);\n // 4. actually update\n if (instance.ceReload) {\n // custom element\n hmrDirtyComponents.add(oldComp);\n instance.ceReload(newComp.styles);\n hmrDirtyComponents.delete(oldComp);\n }\n else if (instance.parent) {\n // 4. Force the parent instance to re-render. This will cause all updated\n // components to be unmounted and re-mounted. Queue the update so that we\n // don't end up forcing the same parent to re-render multiple times.\n queueJob(instance.parent.update);\n // instance is the inner component of an async custom element\n // invoke to reset styles\n if (instance.parent.type.__asyncLoader &&\n instance.parent.ceReload) {\n instance.parent.ceReload(newComp.styles);\n }\n }\n else if (instance.appContext.reload) {\n // root instance mounted via createApp() has a reload method\n instance.appContext.reload();\n }\n else if (typeof window !== 'undefined') {\n // root instance inside tree created via raw render(). Force reload.\n window.location.reload();\n }\n else {\n console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');\n }\n }\n // 5. make sure to cleanup dirty hmr components after update\n queuePostFlushCb(() => {\n for (const instance of instances) {\n hmrDirtyComponents.delete(normalizeClassComponent(instance.type));\n }\n });\n}\nfunction updateComponentDef(oldComp, newComp) {\n extend(oldComp, newComp);\n for (const key in oldComp) {\n if (key !== '__file' && !(key in newComp)) {\n delete oldComp[key];\n }\n }\n}\nfunction tryWrap(fn) {\n return (id, arg) => {\n try {\n return fn(id, arg);\n }\n catch (e) {\n console.error(e);\n console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +\n `Full reload required.`);\n }\n };\n}\n\nlet devtools;\nlet buffer = [];\nlet devtoolsNotInstalled = false;\nfunction emit(event, ...args) {\n if (devtools) {\n devtools.emit(event, ...args);\n }\n else if (!devtoolsNotInstalled) {\n buffer.push({ event, args });\n }\n}\nfunction setDevtoolsHook(hook, target) {\n var _a, _b;\n devtools = hook;\n if (devtools) {\n devtools.enabled = true;\n buffer.forEach(({ event, args }) => devtools.emit(event, ...args));\n buffer = [];\n }\n else if (\n // handle late devtools injection - only do this if we are in an actual\n // browser environment to avoid the timer handle stalling test runner exit\n // (#4815)\n typeof window !== 'undefined' &&\n // some envs mock window but not fully\n window.HTMLElement &&\n // also exclude jsdom\n !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {\n const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);\n replay.push((newHook) => {\n setDevtoolsHook(newHook, target);\n });\n // clear buffer after 3s - the user probably doesn't have devtools installed\n // at all, and keeping the buffer will cause memory leaks (#4738)\n setTimeout(() => {\n if (!devtools) {\n target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;\n devtoolsNotInstalled = true;\n buffer = [];\n }\n }, 3000);\n }\n else {\n // non-browser env, assume not installed\n devtoolsNotInstalled = true;\n buffer = [];\n }\n}\nfunction devtoolsInitApp(app, version) {\n emit(\"app:init\" /* DevtoolsHooks.APP_INIT */, app, version, {\n Fragment,\n Text,\n Comment,\n Static\n });\n}\nfunction devtoolsUnmountApp(app) {\n emit(\"app:unmount\" /* DevtoolsHooks.APP_UNMOUNT */, app);\n}\nconst devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook(\"component:added\" /* DevtoolsHooks.COMPONENT_ADDED */);\nconst devtoolsComponentUpdated = \n/*#__PURE__*/ createDevtoolsComponentHook(\"component:updated\" /* DevtoolsHooks.COMPONENT_UPDATED */);\nconst _devtoolsComponentRemoved = /*#__PURE__*/ createDevtoolsComponentHook(\"component:removed\" /* DevtoolsHooks.COMPONENT_REMOVED */);\nconst devtoolsComponentRemoved = (component) => {\n if (devtools &&\n typeof devtools.cleanupBuffer === 'function' &&\n // remove the component if it wasn't buffered\n !devtools.cleanupBuffer(component)) {\n _devtoolsComponentRemoved(component);\n }\n};\nfunction createDevtoolsComponentHook(hook) {\n return (component) => {\n emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);\n };\n}\nconst devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:start\" /* DevtoolsHooks.PERFORMANCE_START */);\nconst devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook(\"perf:end\" /* DevtoolsHooks.PERFORMANCE_END */);\nfunction createDevtoolsPerformanceHook(hook) {\n return (component, type, time) => {\n emit(hook, component.appContext.app, component.uid, component, type, time);\n };\n}\nfunction devtoolsComponentEmit(component, event, params) {\n emit(\"component:emit\" /* DevtoolsHooks.COMPONENT_EMIT */, component.appContext.app, component, event, params);\n}\n\nfunction emit$1(instance, event, ...rawArgs) {\n if (instance.isUnmounted)\n return;\n const props = instance.vnode.props || EMPTY_OBJ;\n if ((process.env.NODE_ENV !== 'production')) {\n const { emitsOptions, propsOptions: [propsOptions] } = instance;\n if (emitsOptions) {\n if (!(event in emitsOptions) &&\n !(false )) {\n if (!propsOptions || !(toHandlerKey(event) in propsOptions)) {\n warn(`Component emitted event \"${event}\" but it is neither declared in ` +\n `the emits option nor as an \"${toHandlerKey(event)}\" prop.`);\n }\n }\n else {\n const validator = emitsOptions[event];\n if (isFunction(validator)) {\n const isValid = validator(...rawArgs);\n if (!isValid) {\n warn(`Invalid event arguments: event validation failed for event \"${event}\".`);\n }\n }\n }\n }\n }\n let args = rawArgs;\n const isModelListener = event.startsWith('update:');\n // for v-model update:xxx events, apply modifiers on args\n const modelArg = isModelListener && event.slice(7);\n if (modelArg && modelArg in props) {\n const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;\n const { number, trim } = props[modifiersKey] || EMPTY_OBJ;\n if (trim) {\n args = rawArgs.map(a => a.trim());\n }\n if (number) {\n args = rawArgs.map(toNumber);\n }\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentEmit(instance, event, args);\n }\n if ((process.env.NODE_ENV !== 'production')) {\n const lowerCaseEvent = event.toLowerCase();\n if (lowerCaseEvent !== event && props[toHandlerKey(lowerCaseEvent)]) {\n warn(`Event \"${lowerCaseEvent}\" is emitted in component ` +\n `${formatComponentName(instance, instance.type)} but the handler is registered for \"${event}\". ` +\n `Note that HTML attributes are case-insensitive and you cannot use ` +\n `v-on to listen to camelCase events when using in-DOM templates. ` +\n `You should probably use \"${hyphenate(event)}\" instead of \"${event}\".`);\n }\n }\n let handlerName;\n let handler = props[(handlerName = toHandlerKey(event))] ||\n // also try camelCase event handler (#2249)\n props[(handlerName = toHandlerKey(camelize(event)))];\n // for v-model update:xxx events, also trigger kebab-case equivalent\n // for props passed via kebab-case\n if (!handler && isModelListener) {\n handler = props[(handlerName = toHandlerKey(hyphenate(event)))];\n }\n if (handler) {\n callWithAsyncErrorHandling(handler, instance, 6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */, args);\n }\n const onceHandler = props[handlerName + `Once`];\n if (onceHandler) {\n if (!instance.emitted) {\n instance.emitted = {};\n }\n else if (instance.emitted[handlerName]) {\n return;\n }\n instance.emitted[handlerName] = true;\n callWithAsyncErrorHandling(onceHandler, instance, 6 /* ErrorCodes.COMPONENT_EVENT_HANDLER */, args);\n }\n}\nfunction normalizeEmitsOptions(comp, appContext, asMixin = false) {\n const cache = appContext.emitsCache;\n const cached = cache.get(comp);\n if (cached !== undefined) {\n return cached;\n }\n const raw = comp.emits;\n let normalized = {};\n // apply mixin/extends props\n let hasExtends = false;\n if (__VUE_OPTIONS_API__ && !isFunction(comp)) {\n const extendEmits = (raw) => {\n const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);\n if (normalizedFromExtend) {\n hasExtends = true;\n extend(normalized, normalizedFromExtend);\n }\n };\n if (!asMixin && appContext.mixins.length) {\n appContext.mixins.forEach(extendEmits);\n }\n if (comp.extends) {\n extendEmits(comp.extends);\n }\n if (comp.mixins) {\n comp.mixins.forEach(extendEmits);\n }\n }\n if (!raw && !hasExtends) {\n if (isObject(comp)) {\n cache.set(comp, null);\n }\n return null;\n }\n if (isArray(raw)) {\n raw.forEach(key => (normalized[key] = null));\n }\n else {\n extend(normalized, raw);\n }\n if (isObject(comp)) {\n cache.set(comp, normalized);\n }\n return normalized;\n}\n// Check if an incoming prop key is a declared emit event listener.\n// e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are\n// both considered matched listeners.\nfunction isEmitListener(options, key) {\n if (!options || !isOn(key)) {\n return false;\n }\n key = key.slice(2).replace(/Once$/, '');\n return (hasOwn(options, key[0].toLowerCase() + key.slice(1)) ||\n hasOwn(options, hyphenate(key)) ||\n hasOwn(options, key));\n}\n\n/**\n * mark the current rendering instance for asset resolution (e.g.\n * resolveComponent, resolveDirective) during render\n */\nlet currentRenderingInstance = null;\nlet currentScopeId = null;\n/**\n * Note: rendering calls maybe nested. The function returns the parent rendering\n * instance if present, which should be restored after the render is done:\n *\n * ```js\n * const prev = setCurrentRenderingInstance(i)\n * // ...render\n * setCurrentRenderingInstance(prev)\n * ```\n */\nfunction setCurrentRenderingInstance(instance) {\n const prev = currentRenderingInstance;\n currentRenderingInstance = instance;\n currentScopeId = (instance && instance.type.__scopeId) || null;\n return prev;\n}\n/**\n * Set scope id when creating hoisted vnodes.\n * @private compiler helper\n */\nfunction pushScopeId(id) {\n currentScopeId = id;\n}\n/**\n * Technically we no longer need this after 3.0.8 but we need to keep the same\n * API for backwards compat w/ code generated by compilers.\n * @private\n */\nfunction popScopeId() {\n currentScopeId = null;\n}\n/**\n * Only for backwards compat\n * @private\n */\nconst withScopeId = (_id) => withCtx;\n/**\n * Wrap a slot function to memoize current rendering instance\n * @private compiler helper\n */\nfunction withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only\n) {\n if (!ctx)\n return fn;\n // already normalized\n if (fn._n) {\n return fn;\n }\n const renderFnWithContext = (...args) => {\n // If a user calls a compiled slot inside a template expression (#1745), it\n // can mess up block tracking, so by default we disable block tracking and\n // force bail out when invoking a compiled slot (indicated by the ._d flag).\n // This isn't necessary if rendering a compiled ``, so we flip the\n // ._d flag off when invoking the wrapped fn inside `renderSlot`.\n if (renderFnWithContext._d) {\n setBlockTracking(-1);\n }\n const prevInstance = setCurrentRenderingInstance(ctx);\n let res;\n try {\n res = fn(...args);\n }\n finally {\n setCurrentRenderingInstance(prevInstance);\n if (renderFnWithContext._d) {\n setBlockTracking(1);\n }\n }\n if ((process.env.NODE_ENV !== 'production') || __VUE_PROD_DEVTOOLS__) {\n devtoolsComponentUpdated(ctx);\n }\n return res;\n };\n // mark normalized to avoid duplicated wrapping\n renderFnWithContext._n = true;\n // mark this as compiled by default\n // this is used in vnode.ts -> normalizeChildren() to set the slot\n // rendering flag.\n renderFnWithContext._c = true;\n // disable block tracking by default\n renderFnWithContext._d = true;\n return renderFnWithContext;\n}\n\n/**\n * dev only flag to track whether $attrs was used during render.\n * If $attrs was used during render then the warning for failed attrs\n * fallthrough can be suppressed.\n */\nlet accessedAttrs = false;\nfunction markAttrsAccessed() {\n accessedAttrs = true;\n}\nfunction renderComponentRoot(instance) {\n const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;\n let result;\n let fallthroughAttrs;\n const prev = setCurrentRenderingInstance(instance);\n if ((process.env.NODE_ENV !== 'production')) {\n accessedAttrs = false;\n }\n try {\n if (vnode.shapeFlag & 4 /* ShapeFlags.STATEFUL_COMPONENT */) {\n // withProxy is a proxy with a different `has` trap only for\n // runtime-compiled render functions using `with` block.\n const proxyToUse = withProxy || proxy;\n result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));\n fallthroughAttrs = attrs;\n }\n else {\n // functional\n const render = Component;\n // in dev, mark attrs accessed if optional props (attrs === props)\n if ((process.env.NODE_ENV !== 'production') && attrs === props) {\n markAttrsAccessed();\n }\n result = normalizeVNode(render.length > 1\n ? render(props, (process.env.NODE_ENV !== 'production')\n ? {\n get attrs() {\n markAttrsAccessed();\n return attrs;\n },\n slots,\n emit\n }\n : { attrs, slots, emit })\n : render(props, null /* we know it doesn't need it */));\n fallthroughAttrs = Component.props\n ? attrs\n : getFunctionalFallthrough(attrs);\n }\n }\n catch (err) {\n blockStack.length = 0;\n handleError(err, instance, 1 /* ErrorCodes.RENDER_FUNCTION */);\n result = createVNode(Comment);\n }\n // attr merging\n // in dev mode, comments are preserved, and it's possible for a template\n // to have comments along side the root element which makes it a fragment\n let root = result;\n let setRoot = undefined;\n if ((process.env.NODE_ENV !== 'production') &&\n result.patchFlag > 0 &&\n result.patchFlag & 2048 /* PatchFlags.DEV_ROOT_FRAGMENT */) {\n [root, setRoot] = getChildRoot(result);\n }\n if (fallthroughAttrs && inheritAttrs !== false) {\n const keys = Object.keys(fallthroughAttrs);\n const { shapeFlag } = root;\n if (keys.length) {\n if (shapeFlag & (1 /* ShapeFlags.ELEMENT */ | 6 /* ShapeFlags.COMPONENT */)) {\n if (propsOptions && keys.some(isModelListener)) {\n // If a v-model listener (onUpdate:xxx) has a corresponding declared\n // prop, it indicates this component expects to handle v-model and\n // it should not fallthrough.\n // related: #1543, #1643, #1989\n fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);\n }\n root = cloneVNode(root, fallthroughAttrs);\n }\n else if ((process.env.NODE_ENV !== 'production') && !accessedAttrs && root.type !== Comment) {\n const allAttrs = Object.keys(attrs);\n const eventAttrs = [];\n const extraAttrs = [];\n for (let i = 0, l = allAttrs.length; i < l; i++) {\n const key = allAttrs[i];\n if (isOn(key)) {\n // ignore v-model handlers when they fail to fallthrough\n if (!isModelListener(key)) {\n // remove `on`, lowercase first letter to reflect event casing\n // accurately\n eventAttrs.push(key[2].toLowerCase() + key.slice(3));\n }\n }\n else {\n extraAttrs.push(key);\n }\n }\n if (extraAttrs.length) {\n warn(`Extraneous non-props attributes (` +\n `${extraAttrs.join(', ')}) ` +\n `were passed to component but could not be automatically inherited ` +\n `because component renders fragment or text root nodes.`);\n }\n if (eventAttrs.length) {\n warn(`Extraneous non-emits event listeners (` +\n `${eventAttrs.join(', ')}) ` +\n `were passed to component but could not be automatically inherited ` +\n `because component renders fragment or text root nodes. ` +\n `If the listener is intended to be a component custom event listener only, ` +\n `declare it using the \"emits\" option.`);\n }\n }\n }\n }\n // inherit directives\n if (vnode.dirs) {\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\n warn(`Runtime directive used on component with non-element root node. ` +\n `The directives will not function as intended.`);\n }\n // clone before mutating since the root may be a hoisted vnode\n root = cloneVNode(root);\n root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;\n }\n // inherit transition data\n if (vnode.transition) {\n if ((process.env.NODE_ENV !== 'production') && !isElementRoot(root)) {\n warn(`Component inside renders non-element root node ` +\n `that cannot be animated.`);\n }\n root.transition = vnode.transition;\n }\n if ((process.env.NODE_ENV !== 'production') && setRoot) {\n setRoot(root);\n }\n else {\n result = root;\n }\n setCurrentRenderingInstance(prev);\n return result;\n}\n/**\n * dev only\n * In dev mode, template root level comments are rendered, which turns the\n * template into a fragment root, but we need to locate the single element\n * root for attrs and scope id processing.\n */\nconst getChildRoot = (vnode) => {\n const rawChildren = vnode.children;\n const dynamicChildren = vnode.dynamicChildren;\n const childRoot = filterSingleRoot(rawChildren);\n if (!childRoot) {\n return [vnode, undefined];\n }\n const index = rawChildren.indexOf(childRoot);\n const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;\n const setRoot = (updatedRoot) => {\n rawChildren[index] = updatedRoot;\n if (dynamicChildren) {\n if (dynamicIndex > -1) {\n dynamicChildren[dynamicIndex] = updatedRoot;\n }\n else if (updatedRoot.patchFlag > 0) {\n vnode.dynamicChildren = [...dynamicChildren, updatedRoot];\n }\n }\n };\n return [normalizeVNode(childRoot), setRoot];\n};\nfunction filterSingleRoot(children) {\n let singleRoot;\n for (let i = 0; i < children.length; i++) {\n const child = children[i];\n if (isVNode(child)) {\n // ignore user comment\n if (child.type !== Comment || child.children === 'v-if') {\n if (singleRoot) {\n // has more than 1 non-comment child, return now\n return;\n }\n else {\n singleRoot = child;\n }\n }\n }\n else {\n return;\n }\n }\n return singleRoot;\n}\nconst getFunctionalFallthrough = (attrs) => {\n let res;\n for (const key in attrs) {\n if (key === 'class' || key === 'style' || isOn(key)) {\n (res || (res = {}))[key] = attrs[key];\n }\n }\n return res;\n};\nconst filterModelListeners = (attrs, props) => {\n const res = {};\n for (const key in attrs) {\n if (!isModelListener(key) || !(key.slice(9) in props)) {\n res[key] = attrs[key];\n }\n }\n return res;\n};\nconst isElementRoot = (vnode) => {\n return (vnode.shapeFlag & (6 /* ShapeFlags.COMPONENT */ | 1 /* ShapeFlags.ELEMENT */) ||\n vnode.type === Comment // potential v-if branch switch\n );\n};\nfunction shouldUpdateComponent(prevVNode, nextVNode, optimized) {\n const { props: prevProps, children: prevChildren, component } = prevVNode;\n const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;\n const emits = component.emitsOptions;\n // Parent component's render function was hot-updated. Since this may have\n // caused the child component's slots content to have changed, we need to\n // force the child to update as well.\n if ((process.env.NODE_ENV !== 'production') && (prevChildren || nextChildren) && isHmrUpdating) {\n return true;\n }\n // force child update for runtime directive or transition on component vnode.\n if (nextVNode.dirs || nextVNode.transition) {\n return true;\n }\n if (optimized && patchFlag >= 0) {\n if (patchFlag & 1024 /* PatchFlags.DYNAMIC_SLOTS */) {\n // slot content that references values that might have changed,\n // e.g. in a v-for\n return true;\n }\n if (patchFlag & 16 /* PatchFlags.FULL_PROPS */) {\n if (!prevProps) {\n return !!nextProps;\n }\n // presence of this flag indicates props are always non-null\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n else if (patchFlag & 8 /* PatchFlags.PROPS */) {\n const dynamicProps = nextVNode.dynamicProps;\n for (let i = 0; i < dynamicProps.length; i++) {\n const key = dynamicProps[i];\n if (nextProps[key] !== prevProps[key] &&\n !isEmitListener(emits, key)) {\n return true;\n }\n }\n }\n }\n else {\n // this path is only taken by manually written render functions\n // so presence of any children leads to a forced update\n if (prevChildren || nextChildren) {\n if (!nextChildren || !nextChildren.$stable) {\n return true;\n }\n }\n if (prevProps === nextProps) {\n return false;\n }\n if (!prevProps) {\n return !!nextProps;\n }\n if (!nextProps) {\n return true;\n }\n return hasPropsChanged(prevProps, nextProps, emits);\n }\n return false;\n}\nfunction hasPropsChanged(prevProps, nextProps, emitsOptions) {\n const nextKeys = Object.keys(nextProps);\n if (nextKeys.length !== Object.keys(prevProps).length) {\n return true;\n }\n for (let i = 0; i < nextKeys.length; i++) {\n const key = nextKeys[i];\n if (nextProps[key] !== prevProps[key] &&\n !isEmitListener(emitsOptions, key)) {\n return true;\n }\n }\n return false;\n}\nfunction updateHOCHostEl({ vnode, parent }, el // HostNode\n) {\n while (parent && parent.subTree === vnode) {\n (vnode = parent.vnode).el = el;\n parent = parent.parent;\n }\n}\n\nconst isSuspense = (type) => type.__isSuspense;\n// Suspense exposes a component-like API, and is treated like a component\n// in the compiler, but internally it's a special built-in type that hooks\n// directly into the renderer.\nconst SuspenseImpl = {\n name: 'Suspense',\n // In order to make Suspense tree-shakable, we need to avoid importing it\n // directly in the renderer. The renderer checks for the __isSuspense flag\n // on a vnode's type and calls the `process` method, passing in renderer\n // internals.\n __isSuspense: true,\n process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, \n // platform-specific impl passed from renderer\n rendererInternals) {\n if (n1 == null) {\n mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n else {\n patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);\n }\n },\n hydrate: hydrateSuspense,\n create: createSuspenseBoundary,\n normalize: normalizeSuspenseChildren\n};\n// Force-casted public typing for h and TSX props inference\nconst Suspense = (SuspenseImpl\n );\nfunction triggerEvent(vnode, name) {\n const eventListener = vnode.props && vnode.props[name];\n if (isFunction(eventListener)) {\n eventListener();\n }\n}\nfunction mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {\n const { p: patch, o: { createElement } } = rendererInternals;\n const hiddenContainer = createElement('div');\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));\n // start mounting the content subtree in an off-dom container\n patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);\n // now check if we have encountered any async deps\n if (suspense.deps > 0) {\n // has async\n // invoke @fallback event\n triggerEvent(vnode, 'onPending');\n triggerEvent(vnode, 'onFallback');\n // mount the fallback tree\n patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds);\n setActiveBranch(suspense, vnode.ssFallback);\n }\n else {\n // Suspense has no async deps. Just resolve.\n suspense.resolve();\n }\n}\nfunction patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {\n const suspense = (n2.suspense = n1.suspense);\n suspense.vnode = n2;\n n2.el = n1.el;\n const newBranch = n2.ssContent;\n const newFallback = n2.ssFallback;\n const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;\n if (pendingBranch) {\n suspense.pendingBranch = newBranch;\n if (isSameVNodeType(newBranch, pendingBranch)) {\n // same root type but content may have changed.\n patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n else if (isInFallback) {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n }\n else {\n // toggled before pending tree is resolved\n suspense.pendingId++;\n if (isHydrating) {\n // if toggled before hydration is finished, the current DOM tree is\n // no longer valid. set it as the active branch so it will be unmounted\n // when resolved\n suspense.isHydrating = false;\n suspense.activeBranch = pendingBranch;\n }\n else {\n unmount(pendingBranch, parentComponent, suspense);\n }\n // increment pending ID. this is used to invalidate async callbacks\n // reset suspense state\n suspense.deps = 0;\n // discard effects from pending branch\n suspense.effects.length = 0;\n // discard previous container\n suspense.hiddenContainer = createElement('div');\n if (isInFallback) {\n // already in fallback state\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n else {\n patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newFallback);\n }\n }\n else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n // toggled \"back\" to current active branch\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n // force resolve\n suspense.resolve(true);\n }\n else {\n // switched to a 3rd branch\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n suspense.resolve();\n }\n }\n }\n }\n else {\n if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {\n // root did not change, just normal patch\n patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, newBranch);\n }\n else {\n // root node toggled\n // invoke @pending event\n triggerEvent(n2, 'onPending');\n // mount pending branch in off-dom container\n suspense.pendingBranch = newBranch;\n suspense.pendingId++;\n patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);\n if (suspense.deps <= 0) {\n // incoming branch has no async deps, resolve now.\n suspense.resolve();\n }\n else {\n const { timeout, pendingId } = suspense;\n if (timeout > 0) {\n setTimeout(() => {\n if (suspense.pendingId === pendingId) {\n suspense.fallback(newFallback);\n }\n }, timeout);\n }\n else if (timeout === 0) {\n suspense.fallback(newFallback);\n }\n }\n }\n }\n}\nlet hasWarned = false;\nfunction createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {\n /* istanbul ignore if */\n if ((process.env.NODE_ENV !== 'production') && !false && !hasWarned) {\n hasWarned = true;\n // @ts-ignore `console.info` cannot be null error\n console[console.info ? 'info' : 'log'](` is an experimental feature and its API will likely change.`);\n }\n const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;\n const timeout = toNumber(vnode.props && vnode.props.timeout);\n const suspense = {\n vnode,\n parent,\n parentComponent,\n isSVG,\n container,\n hiddenContainer,\n anchor,\n deps: 0,\n pendingId: 0,\n timeout: typeof timeout === 'number' ? timeout : -1,\n activeBranch: null,\n pendingBranch: null,\n isInFallback: true,\n isHydrating,\n isUnmounted: false,\n effects: [],\n resolve(resume = false) {\n if ((process.env.NODE_ENV !== 'production')) {\n if (!resume && !suspense.pendingBranch) {\n throw new Error(`suspense.resolve() is called without a pending branch.`);\n }\n if (suspense.isUnmounted) {\n throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);\n }\n }\n const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;\n if (suspense.isHydrating) {\n suspense.isHydrating = false;\n }\n else if (!resume) {\n const delayEnter = activeBranch &&\n pendingBranch.transition &&\n pendingBranch.transition.mode === 'out-in';\n if (delayEnter) {\n activeBranch.transition.afterLeave = () => {\n if (pendingId === suspense.pendingId) {\n move(pendingBranch, container, anchor, 0 /* MoveType.ENTER */);\n }\n };\n }\n // this is initial anchor on mount\n let { anchor } = suspense;\n // unmount current active tree\n if (activeBranch) {\n // if the fallback tree was mounted, it may have been moved\n // as part of a parent suspense. get the latest anchor for insertion\n anchor = next(activeBranch);\n unmount(activeBranch, parentComponent, suspense, true);\n }\n if (!delayEnter) {\n // move content from off-dom container to actual container\n move(pendingBranch, container, anchor, 0 /* MoveType.ENTER */);\n }\n }\n setActiveBranch(suspense, pendingBranch);\n suspense.pendingBranch = null;\n suspense.isInFallback = false;\n // flush buffered effects\n // check if there is a pending parent suspense\n let parent = suspense.parent;\n let hasUnresolvedAncestor = false;\n while (parent) {\n if (parent.pendingBranch) {\n // found a pending parent suspense, merge buffered post jobs\n // into that parent\n parent.effects.push(...effects);\n hasUnresolvedAncestor = true;\n break;\n }\n parent = parent.parent;\n }\n // no pending parent suspense, flush all jobs\n if (!hasUnresolvedAncestor) {\n queuePostFlushCb(effects);\n }\n suspense.effects = [];\n // invoke @resolve event\n triggerEvent(vnode, 'onResolve');\n },\n fallback(fallbackVNode) {\n if (!suspense.pendingBranch) {\n return;\n }\n const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;\n // invoke @fallback event\n triggerEvent(vnode, 'onFallback');\n const anchor = next(activeBranch);\n const mountFallback = () => {\n if (!suspense.isInFallback) {\n return;\n }\n // mount the fallback tree\n patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context\n isSVG, slotScopeIds, optimized);\n setActiveBranch(suspense, fallbackVNode);\n };\n const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';\n if (delayEnter) {\n activeBranch.transition.afterLeave = mountFallback;\n }\n suspense.isInFallback = true;\n // unmount current active branch\n unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now\n true // shouldRemove\n );\n if (!delayEnter) {\n mountFallback();\n }\n },\n move(container, anchor, type) {\n suspense.activeBranch &&\n move(suspense.activeBranch, container, anchor, type);\n suspense.container = container;\n },\n next() {\n return suspense.activeBranch && next(suspense.activeBranch);\n },\n registerDep(instance, setupRenderEffect) {\n const isInPendingSuspense = !!suspense.pendingBranch;\n if (isInPendingSuspense) {\n suspense.deps++;\n }\n const hydratedEl = instance.vnode.el;\n instance\n .asyncDep.catch(err => {\n handleError(err, instance, 0 /* ErrorCodes.SETUP_FUNCTION */);\n })\n .then(asyncSetupResult => {\n // retry when the setup() promise resolves.\n // component may have been unmounted before resolve.\n if (instance.isUnmounted ||\n suspense.isUnmounted ||\n suspense.pendingId !== instance.suspenseId) {\n return;\n }\n // retry from this component\n instance.asyncResolved = true;\n const { vnode } = instance;\n if ((process.env.NODE_ENV !== 'production')) {\n pushWarningContext(vnode);\n }\n handleSetupResult(instance, asyncSetupResult, false);\n if (hydratedEl) {\n // vnode may have been replaced if an update happened before the\n // async dep is resolved.\n vnode.el = hydratedEl;\n }\n const placeholder = !hydratedEl && instance.subTree.el;\n setupRenderEffect(instance, vnode, \n // component may have been moved before resolve.\n // if this is not a hydration, instance.subTree will be the comment\n // placeholder.\n parentNode(hydratedEl || instance.subTree.el), \n // anchor will not be used if this is hydration, so only need to\n // consider the comment placeholder case.\n hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);\n if (placeholder) {\n remove(placeholder);\n }\n updateHOCHostEl(instance, vnode.el);\n if ((process.env.NODE_ENV !== 'production')) {\n popWarningContext();\n }\n // only decrease deps count if suspense is not already resolved\n if (isInPendingSuspense && --suspense.deps === 0) {\n suspense.resolve();\n }\n });\n },\n unmount(parentSuspense, doRemove) {\n suspense.isUnmounted = true;\n if (suspense.activeBranch) {\n unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);\n }\n if (suspense.pendingBranch) {\n unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);\n }\n }\n };\n return suspense;\n}\nfunction hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {\n /* eslint-disable no-restricted-globals */\n const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));\n // there are two possible scenarios for server-rendered suspense:\n // - success: ssr content should be fully resolved\n // - failure: ssr content should be the fallback branch.\n // however, on the client we don't really know if it has failed or not\n // attempt to hydrate the DOM assuming it has succeeded, but we still\n // need to construct a suspense boundary first\n const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);\n if (suspense.deps === 0) {\n suspense.resolve();\n }\n return result;\n /* eslint-enable no-restricted-globals */\n}\nfunction normalizeSuspenseChildren(vnode) {\n const { shapeFlag, children } = vnode;\n const isSlotChildren = shapeFlag & 32 /* ShapeFlags.SLOTS_CHILDREN */;\n vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);\n vnode.ssFallback = isSlotChildren\n ? normalizeSuspenseSlot(children.fallback)\n : createVNode(Comment);\n}\nfunction normalizeSuspenseSlot(s) {\n let block;\n if (isFunction(s)) {\n const trackBlock = isBlockTreeEnabled && s._c;\n if (trackBlock) {\n // disableTracking: false\n // allow block tracking for compiled slots\n // (see ./componentRenderContext.ts)\n s._d = false;\n openBlock();\n }\n s = s();\n if (trackBlock) {\n s._d = true;\n block = currentBlock;\n closeBlock();\n }\n }\n if (isArray(s)) {\n const singleChild = filterSingleRoot(s);\n if ((process.env.NODE_ENV !== 'production') && !singleChild) {\n warn(` slots expect a single root node.`);\n }\n s = singleChild;\n }\n s = normalizeVNode(s);\n if (block && !s.dynamicChildren) {\n s.dynamicChildren = block.filter(c => c !== s);\n }\n return s;\n}\nfunction queueEffectWithSuspense(fn, suspense) {\n if (suspense && suspense.pendingBranch) {\n if (isArray(fn)) {\n suspense.effects.push(...fn);\n }\n else {\n suspense.effects.push(fn);\n }\n }\n else {\n queuePostFlushCb(fn);\n }\n}\nfunction setActiveBranch(suspense, branch) {\n suspense.activeBranch = branch;\n const { vnode, parentComponent } = suspense;\n const el = (vnode.el = branch.el);\n // in case suspense is the root node of a component,\n // recursively update the HOC el\n if (parentComponent && parentComponent.subTree === vnode) {\n parentComponent.vnode.el = el;\n updateHOCHostEl(parentComponent, el);\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if ((process.env.NODE_ENV !== 'production')) {\n warn(`provide() can only be used inside setup().`);\n }\n }\n else {\n let provides = currentInstance.provides;\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n const parentProvides = currentInstance.parent && currentInstance.parent.provides;\n if (parentProvides === provides) {\n provides = currentInstance.provides = Object.create(parentProvides);\n }\n // TS doesn't allow symbol as index type\n provides[key] = value;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory = false) {\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n const instance = currentInstance || currentRenderingInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n const provides = instance.parent == null\n ? instance.vnode.appContext && instance.vnode.appContext.provides\n : instance.parent.provides;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance.proxy)\n : defaultValue;\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`injection \"${String(key)}\" not found.`);\n }\n }\n else if ((process.env.NODE_ENV !== 'production')) {\n warn(`inject() can only be used inside setup() or functional components.`);\n }\n}\n\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\n ? Object.assign(Object.assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, ((process.env.NODE_ENV !== 'production')\n ? Object.assign(Object.assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nconst INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if ((process.env.NODE_ENV !== 'production') && !isFunction(cb)) {\n warn(`\\`watch(fn, options?)\\` signature has been moved to a separate API. ` +\n `Use \\`watchEffect(fn, options?)\\` instead. \\`watch\\` now only ` +\n `supports \\`watch(source, cb, options?) signature.`);\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EMPTY_OBJ) {\n if ((process.env.NODE_ENV !== 'production') && !cb) {\n if (immediate !== undefined) {\n warn(`watch() \"immediate\" option is only respected when using the ` +\n `watch(source, callback, options?) signature.`);\n }\n if (deep !== undefined) {\n warn(`watch() \"deep\" option is only respected when using the ` +\n `watch(source, callback, options?) signature.`);\n }\n }\n const warnInvalidSource = (s) => {\n warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +\n `a reactive object, or an array of these types.`);\n };\n const instance = currentInstance;\n let getter;\n let forceTrigger = false;\n let isMultiSource = false;\n if (isRef(source)) {\n getter = () => source.value;\n forceTrigger = isShallow$1(source);\n }\n else if (isReactive(source)) {\n getter = () => source;\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(s => isReactive(s) || isShallow$1(s));\n getter = () => source.map(s => {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n return traverse(s);\n }\n else if (isFunction(s)) {\n return callWithErrorHandling(s, instance, 2 /* ErrorCodes.WATCH_GETTER */);\n }\n else {\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(s);\n }\n });\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = () => callWithErrorHandling(source, instance, 2 /* ErrorCodes.WATCH_GETTER */);\n }\n else {\n // no cb -> simple effect\n getter = () => {\n if (instance && instance.isUnmounted) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return callWithAsyncErrorHandling(source, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [onCleanup]);\n };\n }\n }\n else {\n getter = NOOP;\n (process.env.NODE_ENV !== 'production') && warnInvalidSource(source);\n }\n if (cb && deep) {\n const baseGetter = getter;\n getter = () => traverse(baseGetter());\n }\n let cleanup;\n let onCleanup = (fn) => {\n cleanup = effect.onStop = () => {\n callWithErrorHandling(fn, instance, 4 /* ErrorCodes.WATCH_CLEANUP */);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isInSSRComponentSetup) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = NOOP;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return NOOP;\n }\n let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n const job = () => {\n if (!effect.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n const newValue = effect.run();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some((v, i) => hasChanged(v, oldValue[i]))\n : hasChanged(newValue, oldValue)) ||\n (false )) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n effect.run();\n }\n };\n // important: mark the job as a watcher callback so that scheduler knows\n // it is allowed to self-trigger (#1727)\n job.allowRecurse = !!cb;\n let scheduler;\n if (flush === 'sync') {\n scheduler = job; // the scheduler function gets called directly\n }\n else if (flush === 'post') {\n scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);\n }\n else {\n // default: 'pre'\n job.pre = true;\n if (instance)\n job.id = instance.uid;\n scheduler = () => queueJob(job);\n }\n const effect = new ReactiveEffect(getter, scheduler);\n if ((process.env.NODE_ENV !== 'production')) {\n effect.onTrack = onTrack;\n effect.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n job();\n }\n else {\n oldValue = effect.run();\n }\n }\n else if (flush === 'post') {\n queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);\n }\n else {\n effect.run();\n }\n return () => {\n effect.stop();\n if (instance && instance.scope) {\n remove(instance.scope.effects, effect);\n }\n };\n}\n// this.$watch\nfunction instanceWatch(source, value, options) {\n const publicThis = this.proxy;\n const getter = isString(source)\n ? source.includes('.')\n ? createPathGetter(publicThis, source)\n : () => publicThis[source]\n : source.bind(publicThis, publicThis);\n let cb;\n if (isFunction(value)) {\n cb = value;\n }\n else {\n cb = value.handler;\n options = value;\n }\n const cur = currentInstance;\n setCurrentInstance(this);\n const res = doWatch(getter, cb.bind(publicThis), options);\n if (cur) {\n setCurrentInstance(cur);\n }\n else {\n unsetCurrentInstance();\n }\n return res;\n}\nfunction createPathGetter(ctx, path) {\n const segments = path.split('.');\n return () => {\n let cur = ctx;\n for (let i = 0; i < segments.length && cur; i++) {\n cur = cur[segments[i]];\n }\n return cur;\n };\n}\nfunction traverse(value, seen) {\n if (!isObject(value) || value[\"__v_skip\" /* ReactiveFlags.SKIP */]) {\n return value;\n }\n seen = seen || new Set();\n if (seen.has(value)) {\n return value;\n }\n seen.add(value);\n if (isRef(value)) {\n traverse(value.value, seen);\n }\n else if (isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n traverse(value[i], seen);\n }\n }\n else if (isSet(value) || isMap(value)) {\n value.forEach((v) => {\n traverse(v, seen);\n });\n }\n else if (isPlainObject(value)) {\n for (const key in value) {\n traverse(value[key], seen);\n }\n }\n return value;\n}\n\nfunction useTransitionState() {\n const state = {\n isMounted: false,\n isLeaving: false,\n isUnmounting: false,\n leavingVNodes: new Map()\n };\n onMounted(() => {\n state.isMounted = true;\n });\n onBeforeUnmount(() => {\n state.isUnmounting = true;\n });\n return state;\n}\nconst TransitionHookValidator = [Function, Array];\nconst BaseTransitionImpl = {\n name: `BaseTransition`,\n props: {\n mode: String,\n appear: Boolean,\n persisted: Boolean,\n // enter\n onBeforeEnter: TransitionHookValidator,\n onEnter: TransitionHookValidator,\n onAfterEnter: TransitionHookValidator,\n onEnterCancelled: TransitionHookValidator,\n // leave\n onBeforeLeave: TransitionHookValidator,\n onLeave: TransitionHookValidator,\n onAfterLeave: TransitionHookValidator,\n onLeaveCancelled: TransitionHookValidator,\n // appear\n onBeforeAppear: TransitionHookValidator,\n onAppear: TransitionHookValidator,\n onAfterAppear: TransitionHookValidator,\n onAppearCancelled: TransitionHookValidator\n },\n setup(props, { slots }) {\n const instance = getCurrentInstance();\n const state = useTransitionState();\n let prevTransitionKey;\n return () => {\n const children = slots.default && getTransitionRawChildren(slots.default(), true);\n if (!children || !children.length) {\n return;\n }\n let child = children[0];\n if (children.length > 1) {\n let hasFound = false;\n // locate first non-comment child\n for (const c of children) {\n if (c.type !== Comment) {\n if ((process.env.NODE_ENV !== 'production') && hasFound) {\n // warn more than one non-comment child\n warn(' can only be used on a single element or component. ' +\n 'Use for lists.');\n break;\n }\n child = c;\n hasFound = true;\n if (!(process.env.NODE_ENV !== 'production'))\n break;\n }\n }\n }\n // there's no need to track reactivity for these props so use the raw\n // props for a bit better perf\n const rawProps = toRaw(props);\n const { mode } = rawProps;\n // check mode\n if ((process.env.NODE_ENV !== 'production') &&\n mode &&\n mode !== 'in-out' &&\n mode !== 'out-in' &&\n mode !== 'default') {\n warn(`invalid mode: ${mode}`);\n }\n if (state.isLeaving) {\n return emptyPlaceholder(child);\n }\n // in the case of , we need to\n // compare the type of the kept-alive children.\n const innerChild = getKeepAliveChild(child);\n if (!innerChild) {\n return emptyPlaceholder(child);\n }\n const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);\n setTransitionHooks(innerChild, enterHooks);\n const oldChild = instance.subTree;\n const oldInnerChild = oldChild && getKeepAliveChild(oldChild);\n let transitionKeyChanged = false;\n const { getTransitionKey } = innerChild.type;\n if (getTransitionKey) {\n const key = getTransitionKey();\n if (prevTransitionKey === undefined) {\n prevTransitionKey = key;\n }\n else if (key !== prevTransitionKey) {\n prevTransitionKey = key;\n transitionKeyChanged = true;\n }\n }\n // handle mode\n if (oldInnerChild &&\n oldInnerChild.type !== Comment &&\n (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {\n const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);\n // update old tree's hooks in case of dynamic transition\n setTransitionHooks(oldInnerChild, leavingHooks);\n // switching between different views\n if (mode === 'out-in') {\n state.isLeaving = true;\n // return placeholder node and queue update when leave finishes\n leavingHooks.afterLeave = () => {\n state.isLeaving = false;\n instance.update();\n };\n return emptyPlaceholder(child);\n }\n else if (mode === 'in-out' && innerChild.type !== Comment) {\n leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {\n const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);\n leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;\n // early removal callback\n el._leaveCb = () => {\n earlyRemove();\n el._leaveCb = undefined;\n delete enterHooks.delayedLeave;\n };\n enterHooks.delayedLeave = delayedLeave;\n };\n }\n }\n return child;\n };\n }\n};\n// export the public type for h/tsx inference\n// also to avoid inline import() in generated d.ts files\nconst BaseTransition = BaseTransitionImpl;\nfunction getLeavingNodesForType(state, vnode) {\n const { leavingVNodes } = state;\n let leavingVNodesCache = leavingVNodes.get(vnode.type);\n if (!leavingVNodesCache) {\n leavingVNodesCache = Object.create(null);\n leavingVNodes.set(vnode.type, leavingVNodesCache);\n }\n return leavingVNodesCache;\n}\n// The transition hooks are attached to the vnode as vnode.transition\n// and will be called at appropriate timing in the renderer.\nfunction resolveTransitionHooks(vnode, props, state, instance) {\n const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;\n const key = String(vnode.key);\n const leavingVNodesCache = getLeavingNodesForType(state, vnode);\n const callHook = (hook, args) => {\n hook &&\n callWithAsyncErrorHandling(hook, instance, 9 /* ErrorCodes.TRANSITION_HOOK */, args);\n };\n const callAsyncHook = (hook, args) => {\n const done = args[1];\n callHook(hook, args);\n if (isArray(hook)) {\n if (hook.every(hook => hook.length <= 1))\n done();\n }\n else if (hook.length <= 1) {\n done();\n }\n };\n const hooks = {\n mode,\n persisted,\n beforeEnter(el) {\n let hook = onBeforeEnter;\n if (!state.isMounted) {\n if (appear) {\n hook = onBeforeAppear || onBeforeEnter;\n }\n else {\n return;\n }\n }\n // for same element (v-show)\n if (el._leaveCb) {\n el._leaveCb(true /* cancelled */);\n }\n // for toggled element with same key (v-if)\n const leavingVNode = leavingVNodesCache[key];\n if (leavingVNode &&\n isSameVNodeType(vnode, leavingVNode) &&\n leavingVNode.el._leaveCb) {\n // force early removal (not cancelled)\n leavingVNode.el._leaveCb();\n }\n callHook(hook, [el]);\n },\n enter(el) {\n let hook = onEnter;\n let afterHook = onAfterEnter;\n let cancelHook = onEnterCancelled;\n if (!state.isMounted) {\n if (appear) {\n hook = onAppear || onEnter;\n afterHook = onAfterAppear || onAfterEnter;\n cancelHook = onAppearCancelled || onEnterCancelled;\n }\n else {\n return;\n }\n }\n let called = false;\n const done = (el._enterCb = (cancelled) => {\n if (called)\n return;\n called = true;\n if (cancelled) {\n callHook(cancelHook, [el]);\n }\n else {\n callHook(afterHook, [el]);\n }\n if (hooks.delayedLeave) {\n hooks.delayedLeave();\n }\n el._enterCb = undefined;\n });\n if (hook) {\n callAsyncHook(hook, [el, done]);\n }\n else {\n done();\n }\n },\n leave(el, remove) {\n const key = String(vnode.key);\n if (el._enterCb) {\n el._enterCb(true /* cancelled */);\n }\n if (state.isUnmounting) {\n return remove();\n }\n callHook(onBeforeLeave, [el]);\n let called = false;\n const done = (el._leaveCb = (cancelled) => {\n if (called)\n return;\n called = true;\n remove();\n if (cancelled) {\n callHook(onLeaveCancelled, [el]);\n }\n else {\n callHook(onAfterLeave, [el]);\n }\n el._leaveCb = undefined;\n if (leavingVNodesCache[key] === vnode) {\n delete leavingVNodesCache[key];\n }\n });\n leavingVNodesCache[key] = vnode;\n if (onLeave) {\n callAsyncHook(onLeave, [el, done]);\n }\n else {\n done();\n }\n },\n clone(vnode) {\n return resolveTransitionHooks(vnode, props, state, instance);\n }\n };\n return hooks;\n}\n// the placeholder really only handles one special case: KeepAlive\n// in the case of a KeepAlive in a leave phase we need to return a KeepAlive\n// placeholder with empty content to avoid the KeepAlive instance from being\n// unmounted.\nfunction emptyPlaceholder(vnode) {\n if (isKeepAlive(vnode)) {\n vnode = cloneVNode(vnode);\n vnode.children = null;\n return vnode;\n }\n}\nfunction getKeepAliveChild(vnode) {\n return isKeepAlive(vnode)\n ? vnode.children\n ? vnode.children[0]\n : undefined\n : vnode;\n}\nfunction setTransitionHooks(vnode, hooks) {\n if (vnode.shapeFlag & 6 /* ShapeFlags.COMPONENT */ && vnode.component) {\n setTransitionHooks(vnode.component.subTree, hooks);\n }\n else if (vnode.shapeFlag & 128 /* ShapeFlags.SUSPENSE */) {\n vnode.ssContent.transition = hooks.clone(vnode.ssContent);\n vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);\n }\n else {\n vnode.transition = hooks;\n }\n}\nfunction getTransitionRawChildren(children, keepComment = false, parentKey) {\n let ret = [];\n let keyedFragmentCount = 0;\n for (let i = 0; i < children.length; i++) {\n let child = children[i];\n // #5360 inherit parent key in case of