├── .gitignore ├── README.md ├── babel.config.js ├── docs ├── css │ └── app.7a916a8c.css ├── favicon.ico ├── index.html └── js │ ├── app.20bb7d49.js │ ├── app.20bb7d49.js.map │ ├── chunk-vendors.68a933cc.js │ └── chunk-vendors.68a933cc.js.map ├── package-lock.json ├── package.json ├── public ├── favicon.ico └── index.html ├── src ├── App.vue ├── components │ └── ResponsiveLineChart.vue ├── main.js └── use │ └── resizeObserver.js └── vue.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | 6 | # local env files 7 | .env.local 8 | .env.*.local 9 | 10 | # Log files 11 | npm-debug.log* 12 | yarn-debug.log* 13 | yarn-error.log* 14 | pnpm-debug.log* 15 | 16 | # Editor directories and files 17 | .idea 18 | .vscode 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # using-vue3-with-d3 2 | 3 | A small example on how to create a responsive chart component with D3 and Vue 3 (Composition API). 4 | 5 | [Demo](https://muri.dev/using-vue3-with-d3/) 6 | 7 | ## Components 8 | 9 | - [**App.vue**](https://github.com/muratkemaldar/using-vue3-with-d3/blob/master/src/App.vue) 10 | - [**ResponsiveLineChart.vue**](https://github.com/muratkemaldar/using-vue3-with-d3/blob/master/src/components/ResponsiveLineChart.vue) 11 | 12 | ## Hooks 13 | 14 | - [**resizeObserver.js**](https://github.com/muratkemaldar/using-vue3-with-d3/blob/master/src/use/resizeObserver.js) (for observing width / height of an element via ResizeObserver API) 15 | 16 | ## Related 17 | 18 | - [The Muratorium](https://www.youtube.com/channel/UCKfcSawDV88REF9jVwqqbag) (my YouTube Channel) 19 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | '@vue/cli-plugin-babel/preset' 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /docs/css/app.7a916a8c.css: -------------------------------------------------------------------------------- 1 | #app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50;max-width:720px;margin:100px auto;padding:0 20px}svg{display:block;fill:none;stroke:none;width:100%;height:100%;overflow:visible;background:#eee}.buttons{margin-top:2rem} -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muratkemaldar/using-vue3-with-d3/0f36b780e27ee422e29a18a4a14c7056f2eca3bd/docs/favicon.ico -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | using-vue3-with-d3
-------------------------------------------------------------------------------- /docs/js/app.20bb7d49.js: -------------------------------------------------------------------------------- 1 | (function(e){function t(t){for(var r,i,o=t[0],u=t[1],s=t[2],f=0,d=[];f\n
\n

Using Vue 3 (Composition API) with D3

\n \n
\n \n \n
\n
\n\n\n\n\n\n","\n\n\n","import { ref, reactive, onMounted, onBeforeUnmount } from \"vue\";\n\nexport const useResizeObserver = () => {\n const resizeRef = ref();\n const resizeState = reactive({\n dimensions: {}\n });\n\n const observer = new ResizeObserver(entries => {\n entries.forEach(entry => {\n resizeState.dimensions = entry.contentRect;\n });\n });\n\n onMounted(() => {\n // set initial dimensions right before observing: Element.getBoundingClientRect()\n resizeState.dimensions = resizeRef.value.getBoundingClientRect();\n observer.observe(resizeRef.value);\n });\n\n onBeforeUnmount(() => {\n observer.unobserve(resizeRef.value);\n });\n\n return { resizeState, resizeRef };\n};\n\nexport default useResizeObserver;\n","import { render } from \"./ResponsiveLineChart.vue?vue&type=template&id=77d620c4\"\nimport script from \"./ResponsiveLineChart.vue?vue&type=script&lang=js\"\nexport * from \"./ResponsiveLineChart.vue?vue&type=script&lang=js\"\nscript.render = render\n\nexport default script","import { render } from \"./App.vue?vue&type=template&id=5a1363dd\"\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=5a1363dd&lang=css\"\nscript.render = render\n\nexport default script","import { createApp } from 'vue'\nimport App from './App.vue'\n\ncreateApp(App).mount('#app')\n"],"sourceRoot":""} -------------------------------------------------------------------------------- /docs/js/chunk-vendors.68a933cc.js: -------------------------------------------------------------------------------- 1 | (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var r=n("fc6a"),o=n("241c").f,i={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==i.call(t)?a(t):o(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),o=n("d1e7"),i=n("5c6c"),c=n("fc6a"),a=n("c04e"),u=n("5135"),s=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=c(t),e=a(e,!0),s)try{return l(t,e)}catch(n){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},"159b":function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("17c2"),c=n("9112");for(var a in o){var u=r[a],s=u&&u.prototype;if(s&&s.forEach!==i)try{c(s,"forEach",i)}catch(l){s.forEach=i}}},"17c2":function(t,e,n){"use strict";var r=n("b727").forEach,o=n("a640"),i=n("ae40"),c=o("forEach"),a=i("forEach");t.exports=c&&a?[].forEach:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c7e":function(t,e,n){var r=n("b622"),o=r("iterator"),i=!1;try{var c=0,a={next:function(){return{done:!!c++}},return:function(){i=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(u){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(u){}return n}},"1cdc":function(t,e,n){var r=n("342f");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,n){var r=n("d039"),o=n("b622"),i=n("2d00"),c=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[],n=e.constructor={};return n[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},2266:function(t,e,n){var r=n("825a"),o=n("e95a"),i=n("50c4"),c=n("0366"),a=n("35a1"),u=n("2a62"),s=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var l,f,h,p,d,v,g,y=n&&n.that,b=!(!n||!n.AS_ENTRIES),m=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=c(e,y,1+b+_),x=function(t){return l&&u(l),new s(!0,t)},O=function(t){return b?(r(t),_?w(t[0],t[1],x):w(t[0],t[1])):_?w(t,x):w(t)};if(m)l=t;else{if(f=a(t),"function"!=typeof f)throw TypeError("Target is not iterable");if(o(f)){for(h=0,p=i(t.length);p>h;h++)if(d=O(t[h]),d&&d instanceof s)return d;return new s(!1)}l=f.call(t)}v=l.next;while(!(g=v.call(l)).done){try{d=O(g.value)}catch(j){throw u(l),j}if("object"==typeof d&&d&&d instanceof s)return d}return new s(!1)}},"23cb":function(t,e,n){var r=n("a691"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,i=n("9112"),c=n("6eeb"),a=n("ce4e"),u=n("e893"),s=n("94ca");t.exports=function(t,e){var n,l,f,h,p,d,v=t.target,g=t.global,y=t.stat;if(l=g?r:y?r[v]||a(v,{}):(r[v]||{}).prototype,l)for(f in e){if(p=e[f],t.noTargetGet?(d=o(l,f),h=d&&d.value):h=l[f],n=s(g?f:v+(y?".":"#")+f,t.forced),!n&&void 0!==h){if(typeof p===typeof h)continue;u(p,h)}(t.sham||h&&h.sham)&&i(p,"sham",!0),c(l,f,p,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),o=n("825a"),i=n("d039"),c=n("ad6d"),a="toString",u=RegExp.prototype,s=u[a],l=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f=s.name!=a;(l||f)&&r(RegExp.prototype,a,(function(){var t=o(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in u)?c.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},2626:function(t,e,n){"use strict";var r=n("d066"),o=n("9bf2"),i=n("b622"),c=n("83ab"),a=i("species");t.exports=function(t){var e=r(t),n=o.f;c&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},2909:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nn)e.push(arguments[n++]);return _[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(m),m},v=function(t){delete _[t]},h?r=function(t){g.nextTick(O(t))}:b&&b.now?r=function(t){b.now(O(t))}:y&&!f?(o=new y,i=o.port2,o.port1.onmessage=j,r=u(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&p&&"file:"!==p.protocol&&!a(S)?(r=S,c.addEventListener("message",j,!1)):r=w in l("script")?function(t){s.appendChild(l("script"))[w]=function(){s.removeChild(this),x(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:d,clear:v}},"2d00":function(t,e,n){var r,o,i=n("da84"),c=n("342f"),a=i.process,u=a&&a.versions,s=u&&u.v8;s?(r=s.split("."),o=r[0]+r[1]):c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(o=r[1]))),t.exports=o&&+o},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),o=n("3f8c"),i=n("b622"),c=i("iterator");t.exports=function(t){if(void 0!=t)return t[c]||t["@@iterator"]||o[r(t)]}},"37e8":function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("825a"),c=n("df75");t.exports=r?Object.defineProperties:function(t,e){i(t);var n,r=c(e),a=r.length,u=0;while(a>u)o.f(t,n=r[u++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,o=n("69f3"),i=n("7dd0"),c="String Iterator",a=o.set,u=o.getterFor(c);i(String,"String",(function(t){a(this,{type:c,string:String(t),index:0})}),(function(){var t,e=u(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},4160:function(t,e,n){"use strict";var r=n("23e7"),o=n("17c2");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),o=n("c6b6"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"44d2":function(t,e,n){var r=n("b622"),o=n("7c73"),i=n("9bf2"),c=r("unscopables"),a=Array.prototype;void 0==a[c]&&i.f(a,c,{configurable:!0,value:o(null)}),t.exports=function(t){a[c][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},4840:function(t,e,n){var r=n("825a"),o=n("1c0b"),i=n("b622"),c=i("species");t.exports=function(t,e){var n,i=r(t).constructor;return void 0===i||void 0==(n=r(i)[c])?e:o(n)}},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d64":function(t,e,n){var r=n("fc6a"),o=n("50c4"),i=n("23cb"),c=function(t){return function(e,n,c){var a,u=r(e),s=o(u.length),l=i(c,s);if(t&&n!=n){while(s>l)if(a=u[l++],a!=a)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),o=n("b727").filter,i=n("1dde"),c=n("ae40"),a=i("filter"),u=c("filter");r({target:"Array",proto:!0,forced:!a||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(t,e,n){"use strict";var r=n("0366"),o=n("7b0b"),i=n("9bdd"),c=n("e95a"),a=n("50c4"),u=n("8418"),s=n("35a1");t.exports=function(t){var e,n,l,f,h,p,d=o(t),v="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,b=void 0!==y,m=s(d),_=0;if(b&&(y=r(y,g>2?arguments[2]:void 0,2)),void 0==m||v==Array&&c(m))for(e=a(d.length),n=new v(e);e>_;_++)p=b?y(d[_],_):d[_],u(n,_,p);else for(f=m.call(d),h=f.next,n=new v;!(l=h.call(f)).done;_++)p=b?i(f,y,[l.value,_],!0):l.value,u(n,_,p);return n.length=_,n}},"50c4":function(t,e,n){var r=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},5698:function(t,e,n){"use strict";n.d(e,"e",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"a",(function(){return b})),n.d(e,"b",(function(){return m})),n.d(e,"g",(function(){return Ri})),n.d(e,"h",(function(){return ke})),n.d(e,"d",(function(){return Ki})),n.d(e,"c",(function(){return Zi}));function r(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n=r)&&(n=r);else{let r=-1;for(let o of t)null!=(o=e(o,++r,t))&&(n=o)&&(n=o)}return n}function o(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let o of t)null!=(o=e(o,++r,t))&&(n>o||void 0===n&&o>=o)&&(n=o)}return n}var i=Array.prototype.slice,c=function(t){return t},a=1,u=2,s=3,l=4,f=1e-6;function h(t){return"translate("+(t+.5)+",0)"}function p(t){return"translate(0,"+(t+.5)+")"}function d(t){return e=>+t(e)}function v(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function g(){return!this.__axis}function y(t,e){var n=[],r=null,o=null,y=6,b=6,m=3,_=t===a||t===l?-1:1,w=t===l||t===u?"x":"y",x=t===a||t===s?h:p;function O(i){var h=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,p=null==o?e.tickFormat?e.tickFormat.apply(e,n):c:o,O=Math.max(y,0)+m,j=e.range(),S=+j[0]+.5,k=+j[j.length-1]+.5,M=(e.bandwidth?v:d)(e.copy()),A=i.selection?i.selection():i,E=A.selectAll(".domain").data([null]),C=A.selectAll(".tick").data(h,e).order(),N=C.exit(),T=C.enter().append("g").attr("class","tick"),P=C.select("line"),F=C.select("text");E=E.merge(E.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(T),P=P.merge(T.append("line").attr("stroke","currentColor").attr(w+"2",_*y)),F=F.merge(T.append("text").attr("fill","currentColor").attr(w,_*O).attr("dy",t===a?"0em":t===s?"0.71em":"0.32em")),i!==A&&(E=E.transition(i),C=C.transition(i),P=P.transition(i),F=F.transition(i),N=N.transition(i).attr("opacity",f).attr("transform",(function(t){return isFinite(t=M(t))?x(t):this.getAttribute("transform")})),T.attr("opacity",f).attr("transform",(function(t){var e=this.parentNode.__axis;return x(e&&isFinite(e=e(t))?e:M(t))}))),N.remove(),E.attr("d",t===l||t==u?b?"M"+_*b+","+S+"H0.5V"+k+"H"+_*b:"M0.5,"+S+"V"+k:b?"M"+S+","+_*b+"V0.5H"+k+"V"+_*b:"M"+S+",0.5H"+k),C.attr("opacity",1).attr("transform",(function(t){return x(M(t))})),P.attr(w+"2",_*y),F.attr(w,_*O).text(p),A.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===u?"start":t===l?"end":"middle"),A.each((function(){this.__axis=M}))}return O.scale=function(t){return arguments.length?(e=t,O):e},O.ticks=function(){return n=i.call(arguments),O},O.tickArguments=function(t){return arguments.length?(n=null==t?[]:i.call(t),O):n.slice()},O.tickValues=function(t){return arguments.length?(r=null==t?null:i.call(t),O):r&&r.slice()},O.tickFormat=function(t){return arguments.length?(o=t,O):o},O.tickSize=function(t){return arguments.length?(y=b=+t,O):y},O.tickSizeInner=function(t){return arguments.length?(y=+t,O):y},O.tickSizeOuter=function(t){return arguments.length?(b=+t,O):b},O.tickPadding=function(t){return arguments.length?(m=+t,O):m},O}function b(t){return y(s,t)}function m(t){return y(l,t)}var _={value:()=>{}};function w(){for(var t,e=0,n=arguments.length,r={};e=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function j(t,e){for(var n,r=0,o=t.length;r0)for(var n,r,o=new Array(n),i=0;i=w&&(w=_+1);while(!(m=g[w])&&++w=0;)(r=o[i])&&(c&&4^r.compareDocumentPosition(c)&&c.parentNode.insertBefore(r,c),c=r);return this},ot=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=it);for(var n=this._groups,r=n.length,o=new Array(r),i=0;ie?1:t>=e?0:NaN}var ct=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},at=function(){return Array.from(this)},ut=function(){for(var t=this._groups,e=0,n=t.length;e=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),pt.hasOwnProperty(e)?{space:pt[e],local:t}:t};function vt(t){return function(){this.removeAttribute(t)}}function gt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function yt(t,e){return function(){this.setAttribute(t,e)}}function bt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function mt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function _t(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var wt=function(t,e){var n=dt(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?gt:vt:"function"===typeof e?n.local?_t:mt:n.local?bt:yt)(n,e))},xt=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Ot(t){return function(){this.style.removeProperty(t)}}function jt(t,e,n){return function(){this.style.setProperty(t,e,n)}}function St(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}var kt=function(t,e,n){return arguments.length>1?this.each((null==e?Ot:"function"===typeof e?St:jt)(t,e,null==n?"":n)):Mt(this.node(),t)};function Mt(t,e){return t.style.getPropertyValue(e)||xt(t).getComputedStyle(t,null).getPropertyValue(e)}function At(t){return function(){delete this[t]}}function Et(t,e){return function(){this[t]=e}}function Ct(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}var Nt=function(t,e){return arguments.length>1?this.each((null==e?At:"function"===typeof e?Ct:Et)(t,e)):this.node()[t]};function Tt(t){return t.trim().split(/^|\s+/)}function Pt(t){return t.classList||new Ft(t)}function Ft(t){this._node=t,this._names=Tt(t.getAttribute("class")||"")}function Lt(t,e){var n=Pt(t),r=-1,o=e.length;while(++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Dt=function(t,e){var n=Tt(t+"");if(arguments.length<2){var r=Pt(this.node()),o=-1,i=n.length;while(++o=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function pe(t){return function(){var e=this.__on;if(e){for(var n,r=0,o=-1,i=e.length;r>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?We(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?We(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Re.exec(t))?new Je(e[1],e[2],e[3],1):(e=Ie.exec(t))?new Je(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Be.exec(t))?We(e[1],e[2],e[3],e[4]):(e=Ve.exec(t))?We(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=De.exec(t))?en(e[1],e[2]/100,e[3]/100,1):(e=$e.exec(t))?en(e[1],e[2]/100,e[3]/100,e[4]):Ue.hasOwnProperty(t)?Ge(Ue[t]):"transparent"===t?new Je(NaN,NaN,NaN,0):null}function Ge(t){return new Je(t>>16&255,t>>8&255,255&t,1)}function We(t,e,n,r){return r<=0&&(t=e=n=NaN),new Je(t,e,n,r)}function Ye(t){return t instanceof Ee||(t=Xe(t)),t?(t=t.rgb(),new Je(t.r,t.g,t.b,t.opacity)):new Je}function Ke(t,e,n,r){return 1===arguments.length?Ye(t):new Je(t,e,n,null==r?1:r)}function Je(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Qe(){return"#"+tn(this.r)+tn(this.g)+tn(this.b)}function Ze(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function tn(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function en(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new on(t,e,n,r)}function nn(t){if(t instanceof on)return new on(t.h,t.s,t.l,t.opacity);if(t instanceof Ee||(t=Xe(t)),!t)return new on;if(t instanceof on)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,o=Math.min(e,n,r),i=Math.max(e,n,r),c=NaN,a=i-o,u=(i+o)/2;return a?(c=e===i?(n-r)/a+6*(n0&&u<1?0:c,new on(c,a,u,t.opacity)}function rn(t,e,n,r){return 1===arguments.length?nn(t):new on(t,e,n,null==r?1:r)}function on(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function cn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function an(t,e,n,r,o){var i=t*t,c=i*t;return((1-3*t+3*i-c)*e+(4-6*i+3*c)*n+(1+3*t+3*i-3*c)*r+c*o)/6}Me(Ee,Xe,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:qe,formatHex:qe,formatHsl:ze,formatRgb:He,toString:He}),Me(Je,Ke,Ae(Ee,{brighter:function(t){return t=null==t?Ne:Math.pow(Ne,t),new Je(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Ce:Math.pow(Ce,t),new Je(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Qe,formatHex:Qe,formatRgb:Ze,toString:Ze})),Me(on,rn,Ae(Ee,{brighter:function(t){return t=null==t?Ne:Math.pow(Ne,t),new on(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ce:Math.pow(Ce,t),new on(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,o=2*n-r;return new Je(cn(t>=240?t-240:t+120,o,r),cn(t,o,r),cn(t<120?t+240:t-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var un=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],i=t[r+1],c=r>0?t[r-1]:2*o-i,a=r()=>t;function fn(t,e){return function(n){return t+n*e}}function hn(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function pn(t){return 1===(t=+t)?dn:function(e,n){return n-e?hn(e,n,t):ln(isNaN(e)?n:e)}}function dn(t,e){var n=e-t;return n?fn(t,n):ln(isNaN(t)?e:t)}var vn=function t(e){var n=pn(e);function r(t,e){var r=n((t=Ke(t)).r,(e=Ke(e)).r),o=n(t.g,e.g),i=n(t.b,e.b),c=dn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=o(e),t.b=i(e),t.opacity=c(e),t+""}}return r.gamma=t,r}(1);function gn(t){return function(e){var n,r,o=e.length,i=new Array(o),c=new Array(o),a=new Array(o);for(n=0;ni&&(o=e.slice(i,o),a[c]?a[c]+=o:a[++c]=o),(n=n[0])===(r=r[0])?a[c]?a[c]+=r:a[++c]=r:(a[++c]=null,u.push({i:c,x:wn(n,r)})),i=jn.lastIndex;return i=0&&e._call.call(null,t),e=e._next;--Nn}function Hn(){Rn=(Ln=Bn.now())+In,Nn=Tn=0;try{zn()}finally{Nn=0,Gn(),Rn=0}}function Xn(){var t=Bn.now(),e=t-Ln;e>Fn&&(In-=e,Ln=t)}function Gn(){var t,e,n=Mn,r=1/0;while(n)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Mn=e);An=t,Wn(r)}function Wn(t){if(!Nn){Tn&&(Tn=clearTimeout(Tn));var e=t-Rn;e>24?(t<1/0&&(Tn=setTimeout(Hn,t-Bn.now()-In)),Pn&&(Pn=clearInterval(Pn))):(Pn||(Ln=Bn.now(),Pn=setInterval(Xn,Fn)),Nn=1,Vn(Hn))}}Un.prototype=qn.prototype={constructor:Un,restart:function(t,e,n){if("function"!==typeof t)throw new TypeError("callback is not a function");n=(null==n?Dn():+n)+(null==e?0:+e),this._next||An===this||(An?An._next=this:Mn=this,An=this),this._call=t,this._time=n,Wn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Wn())}};var Yn=function(t,e,n){var r=new Un;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r},Kn=k("start","end","cancel","interrupt"),Jn=[],Qn=0,Zn=1,tr=2,er=3,nr=4,rr=5,or=6,ir=function(t,e,n,r,o,i){var c=t.__transition;if(c){if(n in c)return}else t.__transition={};sr(t,n,{name:e,index:r,group:o,on:Kn,tween:Jn,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:Qn})};function cr(t,e){var n=ur(t,e);if(n.state>Qn)throw new Error("too late; already scheduled");return n}function ar(t,e){var n=ur(t,e);if(n.state>er)throw new Error("too late; already running");return n}function ur(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function sr(t,e,n){var r,o=t.__transition;function i(t){n.state=Zn,n.timer.restart(c,n.delay,n.time),n.delay<=t&&c(t-n.delay)}function c(i){var s,l,f,h;if(n.state!==Zn)return u();for(s in o)if(h=o[s],h.name===n.name){if(h.state===er)return Yn(c);h.state===nr?(h.state=or,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete o[s]):+str&&n.state180?e+=360:e-t>180&&(t+=360),i.push({i:n.push(o(n)+"rotate(",null,r)-2,x:wn(t,e)})):e&&n.push(o(n)+"rotate("+e+r)}function a(t,e,n,i){t!==e?i.push({i:n.push(o(n)+"skewX(",null,r)-2,x:wn(t,e)}):e&&n.push(o(n)+"skewX("+e+r)}function u(t,e,n,r,i,c){if(t!==n||e!==r){var a=i.push(o(i)+"scale(",null,",",null,")");c.push({i:a-4,x:wn(t,n)},{i:a-2,x:wn(e,r)})}else 1===n&&1===r||i.push(o(i)+"scale("+n+","+r+")")}return function(e,n){var r=[],o=[];return e=t(e),n=t(n),i(e.translateX,e.translateY,n.translateX,n.translateY,r,o),c(e.rotate,n.rotate,r,o),a(e.skewX,n.skewX,r,o),u(e.scaleX,e.scaleY,n.scaleX,n.scaleY,r,o),e=n=null,function(t){var e,n=-1,i=o.length;while(++n=0&&(t=t.slice(0,e)),!t||"start"===t}))}function Jr(t,e,n){var r,o,i=Kr(e)?cr:ar;return function(){var c=i(this,t),a=c.on;a!==r&&(o=(r=a).copy()).on(e,n),c.on=o}}var Qr=function(t,e){var n=this._id;return arguments.length<2?ur(this.node(),n).on.on(t):this.each(Jr(n,t,e))};function Zr(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}var to=function(){return this.on("end.remove",Zr(this._id))},eo=function(t){var e=this._name,n=this._id;"function"!==typeof t&&(t=A(t));for(var r=this._groups,o=r.length,i=new Array(o),c=0;c0)return[t];if((r=e0){t=Math.ceil(t/c),e=Math.floor(e/c),i=new Array(o=Math.ceil(e-t+1));while(++a=0?(i>=Bo?10:i>=Vo?5:i>=Do?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=Bo?10:i>=Vo?5:i>=Do?2:1)}function qo(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=Bo?o*=10:i>=Vo?o*=5:i>=Do&&(o*=2),ee?1:t>=e?0:NaN},Ho=function(t){let e=t,n=t;function r(t,e,r,o){null==r&&(r=0),null==o&&(o=t.length);while(r>>1;n(t[i],e)<0?r=i+1:o=i}return r}function o(t,e,r,o){null==r&&(r=0),null==o&&(o=t.length);while(r>>1;n(t[i],e)>0?o=i:r=i+1}return r}function i(t,n,o,i){null==o&&(o=0),null==i&&(i=t.length);const c=r(t,n,o,i-1);return c>o&&e(t[c-1],n)>-e(t[c],n)?c-1:c}return 1===t.length&&(e=(e,n)=>t(e)-n,n=Xo(t)),{left:r,center:i,right:o}};function Xo(t){return(e,n)=>zo(t(e),n)}var Go=function(t){return null===t?NaN:+t};const Wo=Ho(zo),Yo=Wo.right;Wo.left,Ho(Go).center;var Ko=Yo,Jo=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}};function Qo(t){return function(){return t}}function Zo(t){return+t}var ti=[0,1];function ei(t){return t}function ni(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:Qo(isNaN(e)?NaN:.5)}function ri(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}function oi(t,e,n){var r=t[0],o=t[1],i=e[0],c=e[1];return o2?ii:oi,o=i=null,f}function f(e){return isNaN(e=+e)?n:(o||(o=r(c.map(t),a,u)))(t(s(e)))}return f.invert=function(n){return s(e((i||(i=r(a,c.map(t),wn)))(n)))},f.domain=function(t){return arguments.length?(c=Array.from(t,Zo),l()):c.slice()},f.range=function(t){return arguments.length?(a=Array.from(t),l()):a.slice()},f.rangeRound=function(t){return a=Array.from(t),u=Jo,l()},f.clamp=function(t){return arguments.length?(s=!!t||ei,l()):s!==ei},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function ui(){return ai()(ei,ei)}function si(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);break}return this}var li=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function fi(t){if(!(e=li.exec(t)))throw new Error("invalid format: "+t);var e;return new hi({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function hi(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}fi.prototype=hi.prototype,hi.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var pi=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)};function di(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}var vi,gi,yi,bi,mi=function(t){return t=di(Math.abs(t)),t?t[1]:NaN},_i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(mi(e)/3)))-mi(Math.abs(t)))},wi=function(t,e){return function(n,r){var o=n.length,i=[],c=0,a=t[0],u=0;while(o>0&&a>0){if(u+a+1>r&&(a=Math.max(1,r-u)),i.push(n.substring(o-=a,o+a)),(u+=a+1)>r)break;a=t[c=(c+1)%t.length]}return i.reverse().join(e)}},xi=function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}},Oi=function(t){t:for(var e,n=t.length,r=1,o=-1;r0&&(o=0);break}return o>0?t.slice(0,o)+t.slice(e+1):t},ji=function(t,e){var n=di(t,e);if(!n)return t+"";var r=n[0],o=n[1],i=o-(vi=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,c=r.length;return i===c?r:i>c?r+new Array(i-c+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+di(t,Math.max(0,e+i-1))[0]},Si=function(t,e){var n=di(t,e);if(!n)return t+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},ki={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:pi,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>Si(100*t,e),r:Si,s:ji,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)},Mi=function(t){return t},Ai=Array.prototype.map,Ei=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Ci=function(t){var e=void 0===t.grouping||void 0===t.thousands?Mi:wi(Ai.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",i=void 0===t.numerals?Mi:xi(Ai.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",a=void 0===t.minus?"−":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function s(t){t=fi(t);var s=t.fill,l=t.align,f=t.sign,h=t.symbol,p=t.zero,d=t.width,v=t.comma,g=t.precision,y=t.trim,b=t.type;"n"===b?(v=!0,b="g"):ki[b]||(void 0===g&&(g=12),y=!0,b="g"),(p||"0"===s&&"="===l)&&(p=!0,s="0",l="=");var m="$"===h?n:"#"===h&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",_="$"===h?r:/[%p]/.test(b)?c:"",w=ki[b],x=/[defgprs%]/.test(b);function O(t){var n,r,c,h=m,O=_;if("c"===b)O=w(t)+O,t="";else{t=+t;var j=t<0||1/t<0;if(t=isNaN(t)?u:w(Math.abs(t),g),y&&(t=Oi(t)),j&&0===+t&&"+"!==f&&(j=!1),h=(j?"("===f?f:a:"-"===f||"("===f?"":f)+h,O=("s"===b?Ei[8+vi/3]:"")+O+(j&&"("===f?")":""),x){n=-1,r=t.length;while(++nc||c>57){O=(46===c?o+t.slice(n+1):t.slice(n))+O,t=t.slice(0,n);break}}}v&&!p&&(t=e(t,1/0));var S=h.length+t.length+O.length,k=S>1)+h+t+O+k.slice(S);break;default:t=k+h+t+O;break}return i(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),O.toString=function(){return t+""},O}function l(t,e){var n=s((t=fi(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(mi(e)/3))),o=Math.pow(10,-r),i=Ei[8+r/3];return function(t){return n(o*t)+i}}return{format:s,formatPrefix:l}};function Ni(t){return gi=Ci(t),yi=gi.format,bi=gi.formatPrefix,gi}Ni({thousands:",",grouping:[3],currency:["$",""]});var Ti=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,mi(e)-mi(t))+1},Pi=function(t){return Math.max(0,-mi(Math.abs(t)))};function Fi(t,e,n,r){var o,i=qo(t,e,n);switch(r=fi(null==r?",f":r),r.type){case"s":var c=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(o=_i(i,c))||(r.precision=o),bi(r,c);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=Ti(i,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=Pi(i))||(r.precision=o-2*("%"===r.type));break}return yi(r)}function Li(t){var e=t.domain;return t.ticks=function(t){var n=e();return $o(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return Fi(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,o,i=e(),c=0,a=i.length-1,u=i[c],s=i[a],l=10;s0){if(o=Uo(u,s,n),o===r)return i[c]=u,i[a]=s,e(i);if(o>0)u=Math.floor(u/o)*o,s=Math.ceil(s/o)*o;else{if(!(o<0))break;u=Math.ceil(u*o)/o,s=Math.floor(s*o)/o}r=o}return t},t}function Ri(){var t=ui();return t.copy=function(){return ci(t,Ri())},si.apply(t,arguments),Li(t)}const Ii=Math.PI,Bi=2*Ii,Vi=1e-6,Di=Bi-Vi;function $i(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ui(){return new $i}$i.prototype=Ui.prototype={constructor:$i,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,o,i){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,e,n,r,o){t=+t,e=+e,n=+n,r=+r,o=+o;var i=this._x1,c=this._y1,a=n-t,u=r-e,s=i-t,l=c-e,f=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>Vi)if(Math.abs(l*a-u*s)>Vi&&o){var h=n-i,p=r-c,d=a*a+u*u,v=h*h+p*p,g=Math.sqrt(d),y=Math.sqrt(f),b=o*Math.tan((Ii-Math.acos((d+f-v)/(2*g*y)))/2),m=b/y,_=b/g;Math.abs(m-1)>Vi&&(this._+="L"+(t+m*s)+","+(e+m*l)),this._+="A"+o+","+o+",0,0,"+ +(l*h>s*p)+","+(this._x1=t+_*a)+","+(this._y1=e+_*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,o,i){t=+t,e=+e,n=+n,i=!!i;var c=n*Math.cos(r),a=n*Math.sin(r),u=t+c,s=e+a,l=1^i,f=i?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>Vi||Math.abs(this._y1-s)>Vi)&&(this._+="L"+u+","+s),n&&(f<0&&(f=f%Bi+Bi),f>Di?this._+="A"+n+","+n+",0,1,"+l+","+(t-c)+","+(e-a)+"A"+n+","+n+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>Vi&&(this._+="A"+n+","+n+",0,"+ +(f>=Ii)+","+l+","+(this._x1=t+n*Math.cos(o))+","+(this._y1=e+n*Math.sin(o))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var qi=Ui,zi=(Array.prototype.slice,function(t){return"object"===typeof t&&"length"in t?t:Array.from(t)}),Hi=function(t){return function(){return t}};function Xi(t){this._context=t}Xi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};var Gi=function(t){return new Xi(t)};function Wi(t){return t[0]}function Yi(t){return t[1]}var Ki=function(t,e){var n=Hi(!0),r=null,o=Gi,i=null;function c(c){var a,u,s,l=(c=zi(c)).length,f=!1;for(null==r&&(i=o(s=qi())),a=0;a<=l;++a)!(al){var p,d=s(arguments[l++]),v=f?i(d).concat(f(d)):i(d),g=v.length,y=0;while(g>y)p=v[y++],r&&!h.call(d,p)||(n[p]=d[p])}return n}:l},6547:function(t,e,n){var r=n("a691"),o=n("1d80"),i=function(t){return function(e,n){var i,c,a=String(o(e)),u=r(n),s=a.length;return u<0||u>=s?t?"":void 0:(i=a.charCodeAt(u),i<55296||i>56319||u+1===s||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):i:t?a.slice(u,u+2):c-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(t,e,n){var r=n("861d"),o=n("e8b5"),i=n("b622"),c=i("species");t.exports=function(t,e){var n;return o(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&(n=n[c],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,o,i,c=n("7f9a"),a=n("da84"),u=n("861d"),s=n("9112"),l=n("5135"),f=n("c6cd"),h=n("f772"),p=n("d012"),d=a.WeakMap,v=function(t){return i(t)?o(t):r(t,{})},g=function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(c){var y=f.state||(f.state=new d),b=y.get,m=y.has,_=y.set;r=function(t,e){return e.facade=t,_.call(y,t,e),e},o=function(t){return b.call(y,t)||{}},i=function(t){return m.call(y,t)}}else{var w=h("state");p[w]=!0,r=function(t,e){return e.facade=t,s(t,w,e),e},o=function(t){return l(t,w)?t[w]:{}},i=function(t){return l(t,w)}}t.exports={set:r,get:o,has:i,enforce:v,getterFor:g}},"6eeb":function(t,e,n){var r=n("da84"),o=n("9112"),i=n("5135"),c=n("ce4e"),a=n("8925"),u=n("69f3"),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var u,s=!!a&&!!a.unsafe,h=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),u=l(n),u.source||(u.source=f.join("string"==typeof e?e:""))),t!==r?(s?!p&&t[e]&&(h=!0):delete t[e],h?t[e]=n:o(t,e,n)):h?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||a(this)}))},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,n){var r=n("428f"),o=n("5135"),i=n("e538"),c=n("9bf2").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||c(e,t,{value:i.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a23":function(t,e,n){"use strict";n.d(e,"g",(function(){return lt})),n.d(e,"h",(function(){return _t})),n.d(e,"b",(function(){return Qn})),n.d(e,"c",(function(){return or})),n.d(e,"d",(function(){return Ve})),n.d(e,"e",(function(){return Re})),n.d(e,"f",(function(){return Yn})),n.d(e,"i",(function(){return Vn})),n.d(e,"j",(function(){return ze})),n.d(e,"a",(function(){return Ho}));var r=n("9ff4");const o=new WeakMap,i=[];let c;const a=Symbol(""),u=Symbol("");function s(t){return t&&!0===t._isEffect}function l(t,e=r["b"]){s(t)&&(t=t.raw);const n=p(t,e);return e.lazy||n(),n}function f(t){t.active&&(d(t),t.options.onStop&&t.options.onStop(),t.active=!1)}let h=0;function p(t,e){const n=function(){if(!n.active)return e.scheduler?void 0:t();if(!i.includes(n)){d(n);try{return b(),i.push(n),c=n,t()}finally{i.pop(),m(),c=i[i.length-1]}}};return n.id=h++,n.allowRecurse=!!e.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=t,n.deps=[],n.options=e,n}function d(t){const{deps:e}=t;if(e.length){for(let n=0;n{t&&t.forEach(t=>{(t!==c||t.allowRecurse)&&h.add(t)})};if("clear"===e)f.forEach(p);else if("length"===n&&Object(r["n"])(t))f.forEach((t,e)=>{("length"===e||e>=i)&&p(t)});else switch(void 0!==n&&p(f.get(n)),e){case"add":Object(r["n"])(t)?Object(r["r"])(n)&&p(f.get("length")):(p(f.get(a)),Object(r["s"])(t)&&p(f.get(u)));break;case"delete":Object(r["n"])(t)||(p(f.get(a)),Object(r["s"])(t)&&p(f.get(u)));break;case"set":Object(r["s"])(t)&&p(f.get(a));break}const d=t=>{t.options.scheduler?t.options.scheduler(t):t()};h.forEach(d)}const x=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(r["C"])),O=A(),j=A(!1,!0),S=A(!0),k=A(!0,!0),M={};function A(t=!1,e=!1){return function(n,o,i){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_raw"===o&&i===(t?at:ct).get(n))return n;const c=Object(r["n"])(n);if(!t&&c&&Object(r["k"])(M,o))return Reflect.get(M,o,i);const a=Reflect.get(n,o,i);if(Object(r["C"])(o)?x.has(o):"__proto__"===o||"__v_isRef"===o)return a;if(t||_(n,"get",o),e)return a;if(mt(a)){const t=!c||!Object(r["r"])(o);return t?a.value:a}return Object(r["u"])(a)?t?ht(a):lt(a):a}}["includes","indexOf","lastIndexOf"].forEach(t=>{const e=Array.prototype[t];M[t]=function(...t){const n=yt(this);for(let e=0,o=this.length;e{const e=Array.prototype[t];M[t]=function(...t){y();const n=e.apply(this,t);return m(),n}});const E=N(),C=N(!0);function N(t=!1){return function(e,n,o,i){const c=e[n];if(!t&&(o=yt(o),!Object(r["n"])(e)&&mt(c)&&!mt(o)))return c.value=o,!0;const a=Object(r["n"])(e)&&Object(r["r"])(n)?Number(n)Object(r["u"])(t)?lt(t):t),V=t=>Object(r["u"])(t)?ht(t):t,D=t=>t,$=t=>Reflect.getPrototypeOf(t);function U(t,e,n=!1,r=!1){t=t["__v_raw"];const o=yt(t),i=yt(e);e!==i&&!n&&_(o,"get",e),!n&&_(o,"get",i);const{has:c}=$(o),a=n?V:r?D:B;return c.call(o,e)?a(t.get(e)):c.call(o,i)?a(t.get(i)):void 0}function q(t,e=!1){const n=this["__v_raw"],r=yt(n),o=yt(t);return t!==o&&!e&&_(r,"has",t),!e&&_(r,"has",o),t===o?n.has(t):n.has(t)||n.has(o)}function z(t,e=!1){return t=t["__v_raw"],!e&&_(yt(t),"iterate",a),Reflect.get(t,"size",t)}function H(t){t=yt(t);const e=yt(this),n=$(e),r=n.has.call(e,t);return e.add(t),r||w(e,"add",t,t),this}function X(t,e){e=yt(e);const n=yt(this),{has:o,get:i}=$(n);let c=o.call(n,t);c||(t=yt(t),c=o.call(n,t));const a=i.call(n,t);return n.set(t,e),c?Object(r["j"])(e,a)&&w(n,"set",t,e,a):w(n,"add",t,e),this}function G(t){const e=yt(this),{has:n,get:r}=$(e);let o=n.call(e,t);o||(t=yt(t),o=n.call(e,t));const i=r?r.call(e,t):void 0,c=e.delete(t);return o&&w(e,"delete",t,void 0,i),c}function W(){const t=yt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&w(t,"clear",void 0,void 0,n),r}function Y(t,e){return function(n,r){const o=this,i=o["__v_raw"],c=yt(i),u=t?V:e?D:B;return!t&&_(c,"iterate",a),i.forEach((t,e)=>n.call(r,u(t),u(e),o))}}function K(t,e,n){return function(...o){const i=this["__v_raw"],c=yt(i),s=Object(r["s"])(c),l="entries"===t||t===Symbol.iterator&&s,f="keys"===t&&s,h=i[t](...o),p=e?V:n?D:B;return!e&&_(c,"iterate",f?u:a),{next(){const{value:t,done:e}=h.next();return e?{value:t,done:e}:{value:l?[p(t[0]),p(t[1])]:p(t),done:e}},[Symbol.iterator](){return this}}}}function J(t){return function(...e){return"delete"!==t&&this}}const Q={get(t){return U(this,t)},get size(){return z(this)},has:q,add:H,set:X,delete:G,clear:W,forEach:Y(!1,!1)},Z={get(t){return U(this,t,!1,!0)},get size(){return z(this)},has:q,add:H,set:X,delete:G,clear:W,forEach:Y(!1,!0)},tt={get(t){return U(this,t,!0)},get size(){return z(this,!0)},has(t){return q.call(this,t,!0)},add:J("add"),set:J("set"),delete:J("delete"),clear:J("clear"),forEach:Y(!0,!1)},et=["keys","values","entries",Symbol.iterator];function nt(t,e){const n=e?Z:t?tt:Q;return(e,o,i)=>"__v_isReactive"===o?!t:"__v_isReadonly"===o?t:"__v_raw"===o?e:Reflect.get(Object(r["k"])(n,o)&&o in e?n:e,o,i)}et.forEach(t=>{Q[t]=K(t,!1,!1),tt[t]=K(t,!0,!1),Z[t]=K(t,!1,!0)});const rt={get:nt(!1,!1)},ot={get:nt(!1,!0)},it={get:nt(!0,!1)};const ct=new WeakMap,at=new WeakMap;function ut(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function st(t){return t["__v_skip"]||!Object.isExtensible(t)?0:ut(Object(r["L"])(t))}function lt(t){return t&&t["__v_isReadonly"]?t:pt(t,!1,L,rt)}function ft(t){return pt(t,!1,I,ot)}function ht(t){return pt(t,!0,R,it)}function pt(t,e,n,o){if(!Object(r["u"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const i=e?at:ct,c=i.get(t);if(c)return c;const a=st(t);if(0===a)return t;const u=new Proxy(t,2===a?o:n);return i.set(t,u),u}function dt(t){return vt(t)?dt(t["__v_raw"]):!(!t||!t["__v_isReactive"])}function vt(t){return!(!t||!t["__v_isReadonly"])}function gt(t){return dt(t)||vt(t)}function yt(t){return t&&yt(t["__v_raw"])||t}const bt=t=>Object(r["u"])(t)?lt(t):t;function mt(t){return Boolean(t&&!0===t.__v_isRef)}function _t(t){return xt(t)}class wt{constructor(t,e=!1){this._rawValue=t,this._shallow=e,this.__v_isRef=!0,this._value=e?t:bt(t)}get value(){return _(yt(this),"get","value"),this._value}set value(t){Object(r["j"])(yt(t),this._rawValue)&&(this._rawValue=t,this._value=this._shallow?t:bt(t),w(yt(this),"set","value",t))}}function xt(t,e=!1){return mt(t)?t:new wt(t,e)}function Ot(t){return mt(t)?t.value:t}const jt={get:(t,e,n)=>Ot(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return mt(o)&&!mt(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function St(t){return dt(t)?t:new Proxy(t,jt)}class kt{constructor(t,e){this._object=t,this._key=e,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(t){this._object[this._key]=t}}function Mt(t,e){return mt(t[e])?t[e]:new kt(t,e)}class At{constructor(t,e,n){this._setter=e,this._dirty=!0,this.__v_isRef=!0,this.effect=l(t,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,w(yt(this),"set","value"))}}),this["__v_isReadonly"]=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),_(yt(this),"get","value"),this._value}set value(t){this._setter(t)}}function Et(t){let e,n;return Object(r["o"])(t)?(e=t,n=r["d"]):(e=t.get,n=t.set),new At(e,n,Object(r["o"])(t)||!t.set)}function Ct(t,e,n,r){let o;try{o=r?t(...r):t()}catch(i){Tt(i,e,n)}return o}function Nt(t,e,n,o){if(Object(r["o"])(t)){const i=Ct(t,e,n,o);return i&&Object(r["w"])(i)&&i.catch(t=>{Tt(t,e,n)}),i}const i=[];for(let r=0;r-1&&Rt.splice(e,1)}function Jt(t,e,n,o){Object(r["n"])(t)?n.push(...t):e&&e.includes(t,t.allowRecurse?o+1:o)||n.push(t),Yt()}function Qt(t){Jt(t,Vt,Bt,Dt)}function Zt(t){Jt(t,Ut,$t,qt)}function te(t,e=null){if(Bt.length){for(Xt=e,Vt=[...new Set(Bt)],Bt.length=0,Dt=0;Dtne(t)-ne(e)),qt=0;qtnull==t.id?1/0:t.id;function re(t){Lt=!1,Ft=!0,te(t),Rt.sort((t,e)=>ne(t)-ne(e));try{for(It=0;Itt.trim()):e&&(i=n.map(r["K"]))}let u=Object(r["J"])(Object(r["e"])(e)),s=o[u];!s&&c&&(u=Object(r["J"])(Object(r["l"])(e)),s=o[u]),s&&Nt(s,t,6,i);const l=o[u+"Once"];if(l){if(t.emitted){if(t.emitted[u])return}else(t.emitted={})[u]=!0;Nt(l,t,6,i)}}function ie(t,e,n=!1){if(!e.deopt&&void 0!==t.__emits)return t.__emits;const o=t.emits;let i={},c=!1;if(!Object(r["o"])(t)){const o=t=>{c=!0,Object(r["h"])(i,ie(t,e,!0))};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}return o||c?(Object(r["n"])(o)?o.forEach(t=>i[t]=null):Object(r["h"])(i,o),t.__emits=i):t.__emits=null}function ce(t,e){return!(!t||!Object(r["v"])(e))&&(e=e.slice(2).replace(/Once$/,""),Object(r["k"])(t,e[0].toLowerCase()+e.slice(1))||Object(r["k"])(t,Object(r["l"])(e))||Object(r["k"])(t,e))}let ae=null;function ue(t){ae=t}function se(t){const{type:e,vnode:n,proxy:o,withProxy:i,props:c,propsOptions:[a],slots:u,attrs:s,emit:l,render:f,renderCache:h,data:p,setupState:d,ctx:v}=t;let g;ae=t;try{let t;if(4&n.shapeFlag){const e=i||o;g=ur(f.call(e,e,h,c,d,p,v)),t=s}else{const n=e;0,g=ur(n.length>1?n(c,{attrs:s,slots:u,emit:l}):n(c,null)),t=e.props?s:fe(s)}let y=g;if(!1!==e.inheritAttrs&&t){const e=Object.keys(t),{shapeFlag:n}=y;e.length&&(1&n||6&n)&&(a&&e.some(r["t"])&&(t=he(t,a)),y=cr(y,t))}n.dirs&&(y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),g=y}catch(y){Tt(y,t,1),g=or(Hn)}return ae=null,g}function le(t){let e;for(let n=0;n{let e;for(const n in t)("class"===n||"style"===n||Object(r["v"])(n))&&((e||(e={}))[n]=t[n]);return e},he=(t,e)=>{const n={};for(const o in t)Object(r["t"])(o)&&o.slice(9)in e||(n[o]=t[o]);return n};function pe(t,e,n){const{props:r,children:o,component:i}=t,{props:c,children:a,patchFlag:u}=e,s=i.emitsOptions;if(e.dirs||e.transition)return!0;if(!(n&&u>=0))return!(!o&&!a||a&&a.$stable)||r!==c&&(r?!c||de(r,c,s):!!c);if(1024&u)return!0;if(16&u)return r?de(r,c,s):!!c;if(8&u){const t=e.dynamicProps;for(let e=0;et.__isSuspense;function ye(t){const{shapeFlag:e,children:n}=t;let r,o;return 32&e?(r=be(n.default),o=be(n.fallback)):(r=be(n),o=ur(null)),{content:r,fallback:o}}function be(t){if(Object(r["o"])(t)&&(t=t()),Object(r["n"])(t)){const e=le(t);0,t=e}return ur(t)}function me(t,e){e&&e.pendingBranch?Object(r["n"])(t)?e.effects.push(...t):e.effects.push(t):Zt(t)}let _e=0;const we=t=>_e+=t;function xe(t,e=ae){if(!e)return t;const n=(...n)=>{_e||Yn(!0);const r=ae;ue(e);const o=t(...n);return ue(r),_e||Kn(),o};return n._c=!0,n}let Oe=null;function je(t,e,n,o=!1){const i={},c={};Object(r["g"])(c,er,1),ke(t,e,i,c),n?t.props=o?i:ft(i):t.type.props?t.props=i:t.props=c,t.attrs=c}function Se(t,e,n,o){const{props:i,attrs:c,vnode:{patchFlag:a}}=t,u=yt(i),[s]=t.propsOptions;if(!(o||a>0)||16&a){let o;ke(t,e,i,c);for(const c in u)e&&(Object(r["k"])(e,c)||(o=Object(r["l"])(c))!==c&&Object(r["k"])(e,o))||(s?!n||void 0===n[c]&&void 0===n[o]||(i[c]=Me(s,e||r["b"],c,void 0,t)):delete i[c]);if(c!==u)for(const t in c)e&&Object(r["k"])(e,t)||delete c[t]}else if(8&a){const n=t.vnode.dynamicProps;for(let o=0;o{a=!0;const[n,o]=Ae(t,e,!0);Object(r["h"])(i,n),o&&c.push(...o)};!n&&e.mixins.length&&e.mixins.forEach(o),t.extends&&o(t.extends),t.mixins&&t.mixins.forEach(o)}if(!o&&!a)return t.__props=r["a"];if(Object(r["n"])(o))for(let u=0;u-1,a[1]=n<0||t-1||Object(r["k"])(a,"default"))&&c.push(e)}}}}return t.__props=[i,c]}function Ee(t){return"$"!==t[0]}function Ce(t){const e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Ne(t,e){return Ce(t)===Ce(e)}function Te(t,e){if(Object(r["n"])(e)){for(let n=0,r=e.length;n{if(n.isUnmounted)return;y(),Fr(n);const o=Nt(e,n,t,r);return Fr(null),m(),o});return r?o.unshift(i):o.push(i),i}}const Fe=t=>(e,n=Tr)=>!Rr&&Pe(t,e,n),Le=Fe("bm"),Re=Fe("m"),Ie=Fe("bu"),Be=Fe("u"),Ve=Fe("bum"),De=Fe("um"),$e=Fe("rtg"),Ue=Fe("rtc"),qe=(t,e=Tr)=>{Pe("ec",t,e)};function ze(t,e){return Ge(t,null,e)}const He={};function Xe(t,e,n){return Ge(t,e,n)}function Ge(t,e,{immediate:n,deep:o,flush:i,onTrack:c,onTrigger:a}=r["b"],u=Tr){let s,h,p=!1;if(mt(t)?(s=()=>t.value,p=!!t._shallow):dt(t)?(s=()=>t,o=!0):s=Object(r["n"])(t)?()=>t.map(t=>mt(t)?t.value:dt(t)?Ye(t):Object(r["o"])(t)?Ct(t,u,2):void 0):Object(r["o"])(t)?e?()=>Ct(t,u,2):()=>{if(!u||!u.isUnmounted)return h&&h(),Ct(t,u,3,[d])}:r["d"],e&&o){const t=s;s=()=>Ye(t())}const d=t=>{h=b.options.onStop=()=>{Ct(t,u,4)}};let v=Object(r["n"])(t)?[]:He;const g=()=>{if(b.active)if(e){const t=b();(o||p||Object(r["j"])(t,v))&&(h&&h(),Nt(e,u,3,[t,v===He?void 0:v,d]),v=t)}else b()};let y;g.allowRecurse=!!e,y="sync"===i?g:"post"===i?()=>En(g,u&&u.suspense):()=>{!u||u.isMounted?Qt(g):g()};const b=l(s,{lazy:!0,onTrack:c,onTrigger:a,scheduler:y});return Ur(b,u),e?n?g():v=b():"post"===i?En(b,u&&u.suspense):b(),()=>{f(b),u&&Object(r["I"])(u.effects,b)}}function We(t,e,n){const o=this.proxy,i=Object(r["B"])(t)?()=>o[t]:t.bind(o);return Ge(i,e.bind(o),n,this)}function Ye(t,e=new Set){if(!Object(r["u"])(t)||e.has(t))return t;if(e.add(t),mt(t))Ye(t.value,e);else if(Object(r["n"])(t))for(let n=0;n{Ye(t,e)});else for(const n in t)Ye(t[n],e);return t}function Ke(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Re(()=>{t.isMounted=!0}),Ve(()=>{t.isUnmounting=!0}),t}const Je=[Function,Array],Qe={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Je,onEnter:Je,onAfterEnter:Je,onEnterCancelled:Je,onBeforeLeave:Je,onLeave:Je,onAfterLeave:Je,onLeaveCancelled:Je,onBeforeAppear:Je,onAppear:Je,onAfterAppear:Je,onAppearCancelled:Je},setup(t,{slots:e}){const n=Pr(),r=Ke();let o;return()=>{const i=e.default&&cn(e.default(),!0);if(!i||!i.length)return;const c=yt(t),{mode:a}=c;const u=i[0];if(r.isLeaving)return nn(u);const s=rn(u);if(!s)return nn(u);const l=en(s,c,r,n);on(s,l);const f=n.subTree,h=f&&rn(f);let p=!1;const{getTransitionKey:d}=s.type;if(d){const t=d();void 0===o?o=t:t!==o&&(o=t,p=!0)}if(h&&h.type!==Hn&&(!tr(s,h)||p)){const t=en(h,c,r,n);if(on(h,t),"out-in"===a)return r.isLeaving=!0,t.afterLeave=()=>{r.isLeaving=!1,n.update()},nn(u);"in-out"===a&&(t.delayLeave=(t,e,n)=>{const o=tn(r,h);o[String(h.key)]=h,t._leaveCb=()=>{e(),t._leaveCb=void 0,delete l.delayedLeave},l.delayedLeave=n})}return u}}},Ze=Qe;function tn(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function en(t,e,n,r){const{appear:o,mode:i,persisted:c=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:s,onEnterCancelled:l,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:d,onBeforeAppear:v,onAppear:g,onAfterAppear:y,onAppearCancelled:b}=e,m=String(t.key),_=tn(n,t),w=(t,e)=>{t&&Nt(t,r,9,e)},x={mode:i,persisted:c,beforeEnter(e){let r=a;if(!n.isMounted){if(!o)return;r=v||a}e._leaveCb&&e._leaveCb(!0);const i=_[m];i&&tr(t,i)&&i.el._leaveCb&&i.el._leaveCb(),w(r,[e])},enter(t){let e=u,r=s,i=l;if(!n.isMounted){if(!o)return;e=g||u,r=y||s,i=b||l}let c=!1;const a=t._enterCb=e=>{c||(c=!0,w(e?i:r,[t]),x.delayedLeave&&x.delayedLeave(),t._enterCb=void 0)};e?(e(t,a),e.length<=1&&a()):a()},leave(e,r){const o=String(t.key);if(e._enterCb&&e._enterCb(!0),n.isUnmounting)return r();w(f,[e]);let i=!1;const c=e._leaveCb=n=>{i||(i=!0,r(),w(n?d:p,[e]),e._leaveCb=void 0,_[o]===t&&delete _[o])};_[o]=t,h?(h(e,c),h.length<=1&&c()):c()},clone(t){return en(t,e,n,r)}};return x}function nn(t){if(an(t))return t=cr(t),t.children=null,t}function rn(t){return an(t)?t.children?t.children[0]:void 0:t}function on(t,e){6&t.shapeFlag&&t.component?on(t.component.subTree,e):128&t.shapeFlag?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function cn(t,e=!1){let n=[],r=0;for(let o=0;o1)for(let o=0;ot.type.__isKeepAlive;RegExp,RegExp;function un(t,e){return Object(r["n"])(t)?t.some(t=>un(t,e)):Object(r["B"])(t)?t.split(",").indexOf(e)>-1:!!t.test&&t.test(e)}function sn(t,e){fn(t,"a",e)}function ln(t,e){fn(t,"da",e)}function fn(t,e,n=Tr){const r=t.__wdc||(t.__wdc=()=>{let e=n;while(e){if(e.isDeactivated)return;e=e.parent}t()});if(Pe(e,r,n),n){let t=n.parent;while(t&&t.parent)an(t.parent.vnode)&&hn(r,e,n,t),t=t.parent}}function hn(t,e,n,o){const i=Pe(e,t,o,!0);De(()=>{Object(r["I"])(o[e],i)},n)}function pn(t){let e=t.shapeFlag;256&e&&(e-=256),512&e&&(e-=512),t.shapeFlag=e}function dn(t){return 128&t.shapeFlag?t.ssContent:t}const vn=t=>"_"===t[0]||"$stable"===t,gn=t=>Object(r["n"])(t)?t.map(ur):[ur(t)],yn=(t,e,n)=>xe(t=>gn(e(t)),n),bn=(t,e)=>{const n=t._ctx;for(const o in t){if(vn(o))continue;const i=t[o];if(Object(r["o"])(i))e[o]=yn(o,i,n);else if(null!=i){0;const t=gn(i);e[o]=()=>t}}},mn=(t,e)=>{const n=gn(e);t.slots.default=()=>n},_n=(t,e)=>{if(32&t.vnode.shapeFlag){const n=e._;n?(t.slots=e,Object(r["g"])(e,"_",n)):bn(e,t.slots={})}else t.slots={},e&&mn(t,e);Object(r["g"])(t.slots,er,1)},wn=(t,e)=>{const{vnode:n,slots:o}=t;let i=!0,c=r["b"];if(32&n.shapeFlag){const t=e._;t?1===t?i=!1:Object(r["h"])(o,e):(i=!e.$stable,bn(e,o)),c=e}else e&&(mn(t,e),c={default:1});if(i)for(const r in o)vn(r)||r in c||delete o[r]};function xn(t,e,n,r){const o=t.dirs,i=e&&e.dirs;for(let c=0;c!!t.type.__asyncLoader;const An={scheduler:Wt,allowRecurse:!0};const En=me,Cn=(t,e,n,o)=>{if(Object(r["n"])(t))return void t.forEach((t,i)=>Cn(t,e&&(Object(r["n"])(e)?e[i]:e),n,o));let i;i=!o||Mn(o)?null:4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el;const{i:c,r:a}=t;const u=e&&e.r,s=c.refs===r["b"]?c.refs={}:c.refs,l=c.setupState;if(null!=u&&u!==a&&(Object(r["B"])(u)?(s[u]=null,Object(r["k"])(l,u)&&(l[u]=null)):mt(u)&&(u.value=null)),Object(r["B"])(a)){const t=()=>{s[a]=i,Object(r["k"])(l,a)&&(l[a]=i)};i?(t.id=-1,En(t,n)):t()}else if(mt(a)){const t=()=>{a.value=i};i?(t.id=-1,En(t,n)):t()}else Object(r["o"])(a)&&Ct(a,c,12,[i,s])};function Nn(t){return Tn(t)}function Tn(t,e){kn();const{insert:n,remove:o,patchProp:i,forcePatchProp:c,createElement:a,createText:u,createComment:s,setText:h,setElementText:p,parentNode:d,nextSibling:v,setScopeId:g=r["d"],cloneNode:y,insertStaticContent:b}=t,m=(t,e,n,r=null,o=null,i=null,c=!1,a=!1)=>{t&&!tr(t,e)&&(r=G(t),U(t,o,i,!0),t=null),-2===e.patchFlag&&(a=!1,e.dynamicChildren=null);const{type:u,ref:s,shapeFlag:l}=e;switch(u){case zn:_(t,e,n,r);break;case Hn:w(t,e,n,r);break;case Xn:null==t&&x(e,n,r,c);break;case qn:T(t,e,n,r,o,i,c,a);break;default:1&l?S(t,e,n,r,o,i,c,a):6&l?P(t,e,n,r,o,i,c,a):(64&l||128&l)&&u.process(t,e,n,r,o,i,c,a,Y)}null!=s&&o&&Cn(s,t&&t.ref,i,e)},_=(t,e,r,o)=>{if(null==t)n(e.el=u(e.children),r,o);else{const n=e.el=t.el;e.children!==t.children&&h(n,e.children)}},w=(t,e,r,o)=>{null==t?n(e.el=s(e.children||""),r,o):e.el=t.el},x=(t,e,n,r)=>{[t.el,t.anchor]=b(t.children,e,n,r)},O=({el:t,anchor:e},r,o)=>{let i;while(t&&t!==e)i=v(t),n(t,r,o),t=i;n(e,r,o)},j=({el:t,anchor:e})=>{let n;while(t&&t!==e)n=v(t),o(t),t=n;o(e)},S=(t,e,n,r,o,i,c,a)=>{c=c||"svg"===e.type,null==t?k(e,n,r,o,i,c,a):E(t,e,o,i,c,a)},k=(t,e,o,c,u,s,l)=>{let f,h;const{type:d,props:v,shapeFlag:g,transition:b,scopeId:m,patchFlag:_,dirs:w}=t;if(t.el&&void 0!==y&&-1===_)f=t.el=y(t.el);else{if(f=t.el=a(t.type,s,v&&v.is),8&g?p(f,t.children):16&g&&A(t.children,f,null,c,u,s&&"foreignObject"!==d,l||!!t.dynamicChildren),w&&xn(t,null,c,"created"),v){for(const e in v)Object(r["x"])(e)||i(f,e,null,v[e],s,t.children,c,u,X);(h=v.onVnodeBeforeMount)&&Pn(h,c,t)}M(f,m,t,c)}w&&xn(t,null,c,"beforeMount");const x=(!u||u&&!u.pendingBranch)&&b&&!b.persisted;x&&b.beforeEnter(f),n(f,e,o),((h=v&&v.onVnodeMounted)||x||w)&&En(()=>{h&&Pn(h,c,t),x&&b.enter(f),w&&xn(t,null,c,"mounted")},u)},M=(t,e,n,r)=>{if(e&&g(t,e),r){const o=r.type.__scopeId;o&&o!==e&&g(t,o+"-s");let i=r.subTree;0,n===i&&M(t,r.vnode.scopeId,r.vnode,r.parent)}},A=(t,e,n,r,o,i,c,a=0)=>{for(let u=a;u{const s=e.el=t.el;let{patchFlag:l,dynamicChildren:f,dirs:h}=e;l|=16&t.patchFlag;const d=t.props||r["b"],v=e.props||r["b"];let g;if((g=v.onVnodeBeforeUpdate)&&Pn(g,n,e,t),h&&xn(e,t,n,"beforeUpdate"),l>0){if(16&l)N(s,e,d,v,n,o,a);else if(2&l&&d.class!==v.class&&i(s,"class",null,v.class,a),4&l&&i(s,"style",d.style,v.style,a),8&l){const r=e.dynamicProps;for(let e=0;e{g&&Pn(g,n,e,t),h&&xn(e,t,n,"updated")},o)},C=(t,e,n,r,o,i)=>{for(let c=0;c{if(n!==o){for(const l in o){if(Object(r["x"])(l))continue;const f=o[l],h=n[l];(f!==h||c&&c(t,l))&&i(t,l,h,f,s,e.children,a,u,X)}if(n!==r["b"])for(const c in n)Object(r["x"])(c)||c in o||i(t,c,n[c],null,s,e.children,a,u,X)}},T=(t,e,r,o,i,c,a,s)=>{const l=e.el=t?t.el:u(""),f=e.anchor=t?t.anchor:u("");let{patchFlag:h,dynamicChildren:p}=e;h>0&&(s=!0),null==t?(n(l,r,o),n(f,r,o),A(e.children,r,f,i,c,a,s)):h>0&&64&h&&p&&t.dynamicChildren?(C(t.dynamicChildren,p,r,i,c,a),(null!=e.key||i&&e===i.subTree)&&Fn(t,e,!0)):B(t,e,r,f,i,c,a,s)},P=(t,e,n,r,o,i,c,a)=>{null==t?512&e.shapeFlag?o.ctx.activate(e,n,r,c,a):F(e,n,r,o,i,c,a):L(t,e,a)},F=(t,e,n,r,o,i,c)=>{const a=t.component=Nr(t,r,o);if(an(t)&&(a.ctx.renderer=Y),Ir(a),a.asyncDep){if(o&&o.registerDep(a,R),!t.el){const t=a.subTree=or(Hn);w(null,t,e,n)}}else R(a,t,e,n,o,i,c)},L=(t,e,n)=>{const r=e.component=t.component;if(pe(t,e,n)){if(r.asyncDep&&!r.asyncResolved)return void I(r,e,n);r.next=e,Kt(r.update),r.update()}else e.component=t.component,e.el=t.el,r.vnode=e},R=(t,e,n,o,i,c,a)=>{t.update=l((function(){if(t.isMounted){let e,{next:n,bu:o,u:u,parent:s,vnode:l}=t,f=n;0,n?(n.el=l.el,I(t,n,a)):n=l,o&&Object(r["m"])(o),(e=n.props&&n.props.onVnodeBeforeUpdate)&&Pn(e,s,n,l);const h=se(t);0;const p=t.subTree;t.subTree=h,m(p,h,d(p.el),G(p),t,i,c),n.el=h.el,null===f&&ve(t,h.el),u&&En(u,i),(e=n.props&&n.props.onVnodeUpdated)&&En(()=>{Pn(e,s,n,l)},i)}else{let a;const{el:u,props:s}=e,{bm:l,m:f,parent:h}=t;l&&Object(r["m"])(l),(a=s&&s.onVnodeBeforeMount)&&Pn(a,h,e);const p=t.subTree=se(t);if(u&&J?J(e.el,p,t,i):(m(null,p,n,o,t,i,c),e.el=p.el),f&&En(f,i),a=s&&s.onVnodeMounted){const t=e;En(()=>{Pn(a,h,t)},i)}const{a:d}=t;d&&256&e.shapeFlag&&En(d,i),t.isMounted=!0,e=n=o=null}}),An)},I=(t,e,n)=>{e.component=t;const r=t.vnode.props;t.vnode=e,t.next=null,Se(t,e.props,r,n),wn(t,e.children),te(void 0,t.update)},B=(t,e,n,r,o,i,c,a=!1)=>{const u=t&&t.children,s=t?t.shapeFlag:0,l=e.children,{patchFlag:f,shapeFlag:h}=e;if(f>0){if(128&f)return void D(u,l,n,r,o,i,c,a);if(256&f)return void V(u,l,n,r,o,i,c,a)}8&h?(16&s&&X(u,o,i),l!==u&&p(n,l)):16&s?16&h?D(u,l,n,r,o,i,c,a):X(u,o,i,!0):(8&s&&p(n,""),16&h&&A(l,n,r,o,i,c,a))},V=(t,e,n,o,i,c,a,u)=>{t=t||r["a"],e=e||r["a"];const s=t.length,l=e.length,f=Math.min(s,l);let h;for(h=0;hl?X(t,i,c,!0,!1,f):A(e,n,o,i,c,a,u,f)},D=(t,e,n,o,i,c,a,u)=>{let s=0;const l=e.length;let f=t.length-1,h=l-1;while(s<=f&&s<=h){const r=t[s],o=e[s]=u?sr(e[s]):ur(e[s]);if(!tr(r,o))break;m(r,o,n,null,i,c,a,u),s++}while(s<=f&&s<=h){const r=t[f],o=e[h]=u?sr(e[h]):ur(e[h]);if(!tr(r,o))break;m(r,o,n,null,i,c,a,u),f--,h--}if(s>f){if(s<=h){const t=h+1,r=th)while(s<=f)U(t[s],i,c,!0),s++;else{const p=s,d=s,v=new Map;for(s=d;s<=h;s++){const t=e[s]=u?sr(e[s]):ur(e[s]);null!=t.key&&v.set(t.key,s)}let g,y=0;const b=h-d+1;let _=!1,w=0;const x=new Array(b);for(s=0;s=b){U(r,i,c,!0);continue}let o;if(null!=r.key)o=v.get(r.key);else for(g=d;g<=h;g++)if(0===x[g-d]&&tr(r,e[g])){o=g;break}void 0===o?U(r,i,c,!0):(x[o-d]=s+1,o>=w?w=o:_=!0,m(r,e[o],n,null,i,c,a,u),y++)}const O=_?Ln(x):r["a"];for(g=O.length-1,s=b-1;s>=0;s--){const t=d+s,r=e[t],u=t+1{const{el:c,type:a,transition:u,children:s,shapeFlag:l}=t;if(6&l)return void $(t.component.subTree,e,r,o);if(128&l)return void t.suspense.move(e,r,o);if(64&l)return void a.move(t,e,r,Y);if(a===qn){n(c,e,r);for(let t=0;tu.enter(c),i);else{const{leave:t,delayLeave:o,afterLeave:i}=u,a=()=>n(c,e,r),s=()=>{t(c,()=>{a(),i&&i()})};o?o(c,a,s):s()}else n(c,e,r)},U=(t,e,n,r=!1,o=!1)=>{const{type:i,props:c,ref:a,children:u,dynamicChildren:s,shapeFlag:l,patchFlag:f,dirs:h}=t;if(null!=a&&Cn(a,null,n,null),256&l)return void e.ctx.deactivate(t);const p=1&l&&h;let d;if((d=c&&c.onVnodeBeforeUnmount)&&Pn(d,e,t),6&l)H(t.component,n,r);else{if(128&l)return void t.suspense.unmount(n,r);p&&xn(t,null,e,"beforeUnmount"),s&&(i!==qn||f>0&&64&f)?X(s,e,n,!1,!0):(i===qn&&(128&f||256&f)||!o&&16&l)&&X(u,e,n),64&l&&(r||!In(t.props))&&t.type.remove(t,Y),r&&q(t)}((d=c&&c.onVnodeUnmounted)||p)&&En(()=>{d&&Pn(d,e,t),p&&xn(t,null,e,"unmounted")},n)},q=t=>{const{type:e,el:n,anchor:r,transition:i}=t;if(e===qn)return void z(n,r);if(e===Xn)return void j(t);const c=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&t.shapeFlag&&i&&!i.persisted){const{leave:e,delayLeave:r}=i,o=()=>e(n,c);r?r(t.el,c,o):o()}else c()},z=(t,e)=>{let n;while(t!==e)n=v(t),o(t),t=n;o(e)},H=(t,e,n)=>{const{bum:o,effects:i,update:c,subTree:a,um:u}=t;if(o&&Object(r["m"])(o),i)for(let r=0;r{t.isUnmounted=!0},e),e&&e.pendingBranch&&!e.isUnmounted&&t.asyncDep&&!t.asyncResolved&&t.suspenseId===e.pendingId&&(e.deps--,0===e.deps&&e.resolve())},X=(t,e,n,r=!1,o=!1,i=0)=>{for(let c=i;c6&t.shapeFlag?G(t.component.subTree):128&t.shapeFlag?t.suspense.next():v(t.anchor||t.el),W=(t,e)=>{null==t?e._vnode&&U(e._vnode,null,null,!0):m(e._vnode||null,t,e),ee(),e._vnode=t},Y={p:m,um:U,m:$,r:q,mt:F,mc:A,pc:B,pbc:C,n:G,o:t};let K,J;return e&&([K,J]=e(Y)),{render:W,hydrate:K,createApp:Sn(W,K)}}function Pn(t,e,n,r=null){Nt(t,e,7,[n,r])}function Fn(t,e,n=!1){const o=t.children,i=e.children;if(Object(r["n"])(o)&&Object(r["n"])(i))for(let r=0;r0&&(e[r]=n[i-1]),n[i]=r)}}i=n.length,c=n[i-1];while(i-- >0)n[i]=c,c=e[c];return n}const Rn=t=>t.__isTeleport,In=t=>t&&(t.disabled||""===t.disabled);const Bn="components";function Vn(t){return $n(Bn,t)||t}const Dn=Symbol();function $n(t,e,n=!0){const o=ae||Tr;if(o){const n=o.type;if(t===Bn){if("_self"===e)return n;const t=qr(n);if(t&&(t===e||t===Object(r["e"])(e)||t===Object(r["f"])(Object(r["e"])(e))))return n}const i=Un(o[t]||n[t],e)||Un(o.appContext[t],e);return i}}function Un(t,e){return t&&(t[e]||t[Object(r["e"])(e)]||t[Object(r["f"])(Object(r["e"])(e))])}const qn=Symbol(void 0),zn=Symbol(void 0),Hn=Symbol(void 0),Xn=Symbol(void 0),Gn=[];let Wn=null;function Yn(t=!1){Gn.push(Wn=t?null:[])}function Kn(){Gn.pop(),Wn=Gn[Gn.length-1]||null}let Jn=1;function Qn(t,e,n,o,i){const c=or(t,e,n,o,i,!0);return c.dynamicChildren=Wn||r["a"],Kn(),Jn>0&&Wn&&Wn.push(c),c}function Zn(t){return!!t&&!0===t.__v_isVNode}function tr(t,e){return t.type===e.type&&t.key===e.key}const er="__vInternal",nr=({key:t})=>null!=t?t:null,rr=({ref:t})=>null!=t?Object(r["B"])(t)||mt(t)||Object(r["o"])(t)?{i:ae,r:t}:t:null,or=ir;function ir(t,e=null,n=null,o=0,i=null,c=!1){if(t&&t!==Dn||(t=Hn),Zn(t)){const r=cr(t,e,!0);return n&&lr(r,n),r}if(zr(t)&&(t=t.__vccOpts),e){(gt(e)||er in e)&&(e=Object(r["h"])({},e));let{class:t,style:n}=e;t&&!Object(r["B"])(t)&&(e.class=Object(r["G"])(t)),Object(r["u"])(n)&&(gt(n)&&!Object(r["n"])(n)&&(n=Object(r["h"])({},n)),e.style=Object(r["H"])(n))}const a=Object(r["B"])(t)?1:ge(t)?128:Rn(t)?64:Object(r["u"])(t)?4:Object(r["o"])(t)?2:0;const u={__v_isVNode:!0,["__v_skip"]:!0,type:t,props:e,key:e&&nr(e),ref:e&&rr(e),scopeId:Oe,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};if(lr(u,n),128&a){const{content:t,fallback:e}=ye(u);u.ssContent=t,u.ssFallback=e}return Jn>0&&!c&&Wn&&(o>0||6&a)&&32!==o&&Wn.push(u),u}function cr(t,e,n=!1){const{props:o,ref:i,patchFlag:c}=t,a=e?fr(o||{},e):o;return{__v_isVNode:!0,["__v_skip"]:!0,type:t.type,props:a,key:a&&nr(a),ref:e&&e.ref?n&&i?Object(r["n"])(i)?i.concat(rr(e)):[i,rr(e)]:rr(e):i,scopeId:t.scopeId,children:t.children,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==qn?-1===c?16:16|c:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&cr(t.ssContent),ssFallback:t.ssFallback&&cr(t.ssFallback),el:t.el,anchor:t.anchor}}function ar(t=" ",e=0){return or(zn,null,t,e)}function ur(t){return null==t||"boolean"===typeof t?or(Hn):Object(r["n"])(t)?or(qn,null,t):"object"===typeof t?null===t.el?t:cr(t):or(zn,null,String(t))}function sr(t){return null===t.el?t:cr(t)}function lr(t,e){let n=0;const{shapeFlag:o}=t;if(null==e)e=null;else if(Object(r["n"])(e))n=16;else if("object"===typeof e){if(1&o||64&o){const n=e.default;return void(n&&(n._c&&we(1),lr(t,n()),n._c&&we(-1)))}{n=32;const r=e._;r||er in e?3===r&&ae&&(1024&ae.vnode.patchFlag?(e._=2,t.patchFlag|=1024):e._=1):e._ctx=ae}}else Object(r["o"])(e)?(e={default:e,_ctx:ae},n=32):(e=String(e),64&o?(n=16,e=[ar(e)]):n=8);t.children=e,t.shapeFlag|=n}function fr(...t){const e=Object(r["h"])({},t[0]);for(let n=1;n1)return n&&Object(r["o"])(e)?e():e}else 0}let dr=!1;function vr(t,e,n=[],o=[],i=[],c=!1){const{mixins:a,extends:u,data:s,computed:l,methods:f,watch:h,provide:p,inject:d,components:v,directives:g,beforeMount:y,mounted:b,beforeUpdate:m,updated:_,activated:w,deactivated:x,beforeDestroy:O,beforeUnmount:j,destroyed:S,unmounted:k,render:M,renderTracked:A,renderTriggered:E,errorCaptured:C,expose:N}=e,T=t.proxy,P=t.ctx,F=t.appContext.mixins;c&&M&&t.render===r["d"]&&(t.render=M),c||(dr=!0,gr("beforeCreate","bc",e,t,F),dr=!1,mr(t,F,n,o,i)),u&&vr(t,u,n,o,i,!0),a&&mr(t,a,n,o,i);if(d)if(Object(r["n"])(d))for(let r=0;r_r(t,e,T)),s&&_r(t,s,T)),l)for(const L in l){const t=l[L],e=Object(r["o"])(t)?t.bind(T,T):Object(r["o"])(t.get)?t.get.bind(T,T):r["d"];0;const n=!Object(r["o"])(t)&&Object(r["o"])(t.set)?t.set.bind(T):r["d"],o=Hr({get:e,set:n});Object.defineProperty(P,L,{enumerable:!0,configurable:!0,get:()=>o.value,set:t=>o.value=t})}if(h&&o.push(h),!c&&o.length&&o.forEach(t=>{for(const e in t)wr(t[e],P,T,e)}),p&&i.push(p),!c&&i.length&&i.forEach(t=>{const e=Object(r["o"])(t)?t.call(T):t;Reflect.ownKeys(e).forEach(t=>{hr(t,e[t])})}),c&&(v&&Object(r["h"])(t.components||(t.components=Object(r["h"])({},t.type.components)),v),g&&Object(r["h"])(t.directives||(t.directives=Object(r["h"])({},t.type.directives)),g)),c||gr("created","c",e,t,F),y&&Le(y.bind(T)),b&&Re(b.bind(T)),m&&Ie(m.bind(T)),_&&Be(_.bind(T)),w&&sn(w.bind(T)),x&&ln(x.bind(T)),C&&qe(C.bind(T)),A&&Ue(A.bind(T)),E&&$e(E.bind(T)),j&&Ve(j.bind(T)),k&&De(k.bind(T)),Object(r["n"])(N))if(c)0;else if(N.length){const e=t.exposed||(t.exposed=St({}));N.forEach(t=>{e[t]=Mt(T,t)})}else t.exposed||(t.exposed=r["b"])}function gr(t,e,n,r,o){br(t,e,o,r);const{extends:i,mixins:c}=n;i&&yr(t,e,i,r),c&&br(t,e,c,r);const a=n[t];a&&Nt(a.bind(r.proxy),r,e)}function yr(t,e,n,r){n.extends&&yr(t,e,n.extends,r);const o=n[t];o&&Nt(o.bind(r.proxy),r,e)}function br(t,e,n,r){for(let o=0;on[o];if(Object(r["B"])(t)){const n=e[t];Object(r["o"])(n)&&Xe(i,n)}else if(Object(r["o"])(t))Xe(i,t.bind(n));else if(Object(r["u"])(t))if(Object(r["n"])(t))t.forEach(t=>wr(t,e,n,o));else{const o=Object(r["o"])(t.handler)?t.handler.bind(n):e[t.handler];Object(r["o"])(o)&&Xe(i,o,t)}else 0}function xr(t,e){const n=e.split(".");return()=>{let e=t;for(let t=0;tjr(c,e,t)),jr(c,e,t),e.__merged=c}function jr(t,e,n){const o=n.appContext.config.optionMergeStrategies,{mixins:i,extends:c}=e;c&&jr(t,c,n),i&&i.forEach(e=>jr(t,e,n));for(const a in e)o&&Object(r["k"])(o,a)?t[a]=o[a](t[a],e[a],n.proxy,a):t[a]=e[a]}const Sr=t=>t&&(t.proxy?t.proxy:Sr(t.parent)),kr=Object(r["h"])(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Sr(t.parent),$root:t=>t.root&&t.root.proxy,$emit:t=>t.emit,$options:t=>Or(t),$forceUpdate:t=>()=>Wt(t.update),$nextTick:t=>Gt.bind(t.proxy),$watch:t=>We.bind(t)}),Mr={get({_:t},e){const{ctx:n,setupState:o,data:i,props:c,accessCache:a,type:u,appContext:s}=t;if("__v_skip"===e)return!0;let l;if("$"!==e[0]){const u=a[e];if(void 0!==u)switch(u){case 0:return o[e];case 1:return i[e];case 3:return n[e];case 2:return c[e]}else{if(o!==r["b"]&&Object(r["k"])(o,e))return a[e]=0,o[e];if(i!==r["b"]&&Object(r["k"])(i,e))return a[e]=1,i[e];if((l=t.propsOptions[0])&&Object(r["k"])(l,e))return a[e]=2,c[e];if(n!==r["b"]&&Object(r["k"])(n,e))return a[e]=3,n[e];dr||(a[e]=4)}}const f=kr[e];let h,p;return f?("$attrs"===e&&_(t,"get",e),f(t)):(h=u.__cssModules)&&(h=h[e])?h:n!==r["b"]&&Object(r["k"])(n,e)?(a[e]=3,n[e]):(p=s.config.globalProperties,Object(r["k"])(p,e)?p[e]:void 0)},set({_:t},e,n){const{data:o,setupState:i,ctx:c}=t;if(i!==r["b"]&&Object(r["k"])(i,e))i[e]=n;else if(o!==r["b"]&&Object(r["k"])(o,e))o[e]=n;else if(e in t.props)return!1;return("$"!==e[0]||!(e.slice(1)in t))&&(c[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:o,appContext:i,propsOptions:c}},a){let u;return void 0!==n[a]||t!==r["b"]&&Object(r["k"])(t,a)||e!==r["b"]&&Object(r["k"])(e,a)||(u=c[0])&&Object(r["k"])(u,a)||Object(r["k"])(o,a)||Object(r["k"])(kr,a)||Object(r["k"])(i.config.globalProperties,a)}};const Ar=Object(r["h"])({},Mr,{get(t,e){if(e!==Symbol.unscopables)return Mr.get(t,e,t)},has(t,e){const n="_"!==e[0]&&!Object(r["p"])(e);return n}});const Er=On();let Cr=0;function Nr(t,e,n){const o=t.type,i=(e?e.appContext:t.appContext)||Er,c={uid:Cr++,vnode:t,type:o,parent:e,appContext:i,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:e?e.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ae(o,i),emitsOptions:ie(o,i),emit:null,emitted:null,ctx:r["b"],data:r["b"],props:r["b"],attrs:r["b"],slots:r["b"],refs:r["b"],setupState:r["b"],setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return c.ctx={_:c},c.root=e?e.root:c,c.emit=oe.bind(null,c),c}let Tr=null;const Pr=()=>Tr||ae,Fr=t=>{Tr=t};let Lr,Rr=!1;function Ir(t,e=!1){Rr=e;const{props:n,children:r,shapeFlag:o}=t.vnode,i=4&o;je(t,n,i,e),_n(t,r);const c=i?Br(t,e):void 0;return Rr=!1,c}function Br(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mr);const{setup:o}=n;if(o){const n=t.setupContext=o.length>1?$r(t):null;Tr=t,y();const i=Ct(o,t,0,[t.props,n]);if(m(),Tr=null,Object(r["w"])(i)){if(e)return i.then(e=>{Vr(t,e)});t.asyncDep=i}else Vr(t,i)}else Dr(t)}function Vr(t,e,n){Object(r["o"])(e)?t.render=e:Object(r["u"])(e)&&(t.setupState=St(e)),Dr(t)}function Dr(t,e){const n=t.type;t.render||(Lr&&n.template&&!n.render&&(n.render=Lr(n.template,{isCustomElement:t.appContext.config.isCustomElement,delimiters:n.delimiters})),t.render=n.render||r["d"],t.render._rc&&(t.withProxy=new Proxy(t.ctx,Ar))),Tr=t,y(),vr(t,n),m(),Tr=null}function $r(t){const e=e=>{t.exposed=St(e)};return{attrs:t.attrs,slots:t.slots,emit:t.emit,expose:e}}function Ur(t,e=Tr){e&&(e.effects||(e.effects=[])).push(t)}function qr(t){return Object(r["o"])(t)&&t.displayName||t.name}function zr(t){return Object(r["o"])(t)&&"__vccOpts"in t}function Hr(t){const e=Et(t);return Ur(e.effect),e}function Xr(t,e,n){const o=arguments.length;return 2===o?Object(r["u"])(e)&&!Object(r["n"])(e)?Zn(e)?or(t,null,[e]):or(t,e):or(t,null,e):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&Zn(n)&&(n=[n]),or(t,e,n))}Symbol("");const Gr="3.0.5",Wr="http://www.w3.org/2000/svg",Yr="undefined"!==typeof document?document:null;let Kr,Jr;const Qr={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n)=>e?Yr.createElementNS(Wr,t):Yr.createElement(t,n?{is:n}:void 0),createText:t=>Yr.createTextNode(t),createComment:t=>Yr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Yr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},cloneNode(t){return t.cloneNode(!0)},insertStaticContent(t,e,n,r){const o=r?Jr||(Jr=Yr.createElementNS(Wr,"svg")):Kr||(Kr=Yr.createElement("div"));o.innerHTML=t;const i=o.firstChild;let c=i,a=c;while(c)a=c,Qr.insert(c,e,n),c=o.firstChild;return[i,a]}};function Zr(t,e,n){if(null==e&&(e=""),n)t.setAttribute("class",e);else{const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),t.className=e}}function to(t,e,n){const o=t.style;if(n)if(Object(r["B"])(n))e!==n&&(o.cssText=n);else{for(const t in n)no(o,t,n[t]);if(e&&!Object(r["B"])(e))for(const t in e)null==n[t]&&no(o,t,"")}else t.removeAttribute("style")}const eo=/\s*!important$/;function no(t,e,n){if(Object(r["n"])(n))n.forEach(n=>no(t,e,n));else if(e.startsWith("--"))t.setProperty(e,n);else{const o=io(t,e);eo.test(n)?t.setProperty(Object(r["l"])(o),n.replace(eo,""),"important"):t[o]=n}}const ro=["Webkit","Moz","ms"],oo={};function io(t,e){const n=oo[e];if(n)return n;let o=Object(r["e"])(e);if("filter"!==o&&o in t)return oo[e]=o;o=Object(r["f"])(o);for(let r=0;rdocument.createEvent("Event").timeStamp&&(so=()=>performance.now());let lo=0;const fo=Promise.resolve(),ho=()=>{lo=0},po=()=>lo||(fo.then(ho),lo=so());function vo(t,e,n,r){t.addEventListener(e,n,r)}function go(t,e,n,r){t.removeEventListener(e,n,r)}function yo(t,e,n,r,o=null){const i=t._vei||(t._vei={}),c=i[e];if(r&&c)c.value=r;else{const[n,a]=mo(e);if(r){const c=i[e]=_o(r,o);vo(t,n,c,a)}else c&&(go(t,n,c,a),i[e]=void 0)}}const bo=/(?:Once|Passive|Capture)$/;function mo(t){let e;if(bo.test(t)){let n;e={};while(n=t.match(bo))t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t.slice(2).toLowerCase(),e]}function _o(t,e){const n=t=>{const r=t.timeStamp||so();r>=n.attached-1&&Nt(wo(t,n.value),e,5,[t])};return n.value=t,n.attached=po(),n}function wo(t,e){if(Object(r["n"])(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(t=>e=>!e._stopped&&t(e))}return e}const xo=/^on[a-z]/,Oo=(t,e)=>"value"===e,jo=(t,e,n,o,i=!1,c,a,u,s)=>{switch(e){case"class":Zr(t,o,i);break;case"style":to(t,n,o);break;default:Object(r["v"])(e)?Object(r["t"])(e)||yo(t,e,n,o,a):So(t,e,o,i)?uo(t,e,o,c,a,u,s):("true-value"===e?t._trueValue=o:"false-value"===e&&(t._falseValue=o),ao(t,e,o,i));break}};function So(t,e,n,o){return o?"innerHTML"===e||!!(e in t&&xo.test(e)&&Object(r["o"])(n)):"spellcheck"!==e&&"draggable"!==e&&(("form"!==e||"string"!==typeof n)&&(("list"!==e||"INPUT"!==t.tagName)&&((!xo.test(e)||!Object(r["B"])(n))&&e in t)))}const ko="transition",Mo="animation",Ao=(t,{slots:e})=>Xr(Ze,Co(t),e);Ao.displayName="Transition";const Eo={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};Ao.props=Object(r["h"])({},Ze.props,Eo);function Co(t){let{name:e="v",type:n,css:o=!0,duration:i,enterFromClass:c=e+"-enter-from",enterActiveClass:a=e+"-enter-active",enterToClass:u=e+"-enter-to",appearFromClass:s=c,appearActiveClass:l=a,appearToClass:f=u,leaveFromClass:h=e+"-leave-from",leaveActiveClass:p=e+"-leave-active",leaveToClass:d=e+"-leave-to"}=t;const v={};for(const r in t)r in Eo||(v[r]=t[r]);if(!o)return v;const g=No(i),y=g&&g[0],b=g&&g[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:w,onLeave:x,onLeaveCancelled:O,onBeforeAppear:j=m,onAppear:S=_,onAppearCancelled:k=w}=v,M=(t,e,n)=>{Fo(t,e?f:u),Fo(t,e?l:a),n&&n()},A=(t,e)=>{Fo(t,d),Fo(t,p),e&&e()},E=t=>(e,r)=>{const o=t?S:_,i=()=>M(e,t,r);o&&o(e,i),Lo(()=>{Fo(e,t?s:c),Po(e,t?f:u),o&&o.length>1||Io(e,n,y,i)})};return Object(r["h"])(v,{onBeforeEnter(t){m&&m(t),Po(t,c),Po(t,a)},onBeforeAppear(t){j&&j(t),Po(t,s),Po(t,l)},onEnter:E(!1),onAppear:E(!0),onLeave(t,e){const r=()=>A(t,e);Po(t,h),$o(),Po(t,p),Lo(()=>{Fo(t,h),Po(t,d),x&&x.length>1||Io(t,n,b,r)}),x&&x(t,r)},onEnterCancelled(t){M(t,!1),w&&w(t)},onAppearCancelled(t){M(t,!0),k&&k(t)},onLeaveCancelled(t){A(t),O&&O(t)}})}function No(t){if(null==t)return null;if(Object(r["u"])(t))return[To(t.enter),To(t.leave)];{const e=To(t);return[e,e]}}function To(t){const e=Object(r["K"])(t);return e}function Po(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.add(e)),(t._vtc||(t._vtc=new Set)).add(e)}function Fo(t,e){e.split(/\s+/).forEach(e=>e&&t.classList.remove(e));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function Lo(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ro=0;function Io(t,e,n,r){const o=t._endId=++Ro,i=()=>{o===t._endId&&r()};if(n)return setTimeout(i,n);const{type:c,timeout:a,propCount:u}=Bo(t,e);if(!c)return r();const s=c+"end";let l=0;const f=()=>{t.removeEventListener(s,h),i()},h=e=>{e.target===t&&++l>=u&&f()};setTimeout(()=>{l(n[t]||"").split(", "),o=r(ko+"Delay"),i=r(ko+"Duration"),c=Vo(o,i),a=r(Mo+"Delay"),u=r(Mo+"Duration"),s=Vo(a,u);let l=null,f=0,h=0;e===ko?c>0&&(l=ko,f=c,h=i.length):e===Mo?s>0&&(l=Mo,f=s,h=u.length):(f=Math.max(c,s),l=f>0?c>s?ko:Mo:null,h=l?l===ko?i.length:u.length:0);const p=l===ko&&/\b(transform|all)(,|$)/.test(n[ko+"Property"]);return{type:l,timeout:f,propCount:h,hasTransform:p}}function Vo(t,e){while(t.lengthDo(e)+Do(t[n])))}function Do(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function $o(){return document.body.offsetHeight}new WeakMap,new WeakMap;const Uo=Object(r["h"])({patchProp:jo,forcePatchProp:Oo},Qr);let qo;function zo(){return qo||(qo=Nn(Uo))}const Ho=(...t)=>{const e=zo().createApp(...t);const{mount:n}=e;return e.mount=t=>{const o=Xo(t);if(!o)return;const i=e._component;Object(r["o"])(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const c=n(o);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),c},e};function Xo(t){if(Object(r["B"])(t)){const e=document.querySelector(t);return e}return t}},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,o=n("825a"),i=n("37e8"),c=n("7839"),a=n("d012"),u=n("1be4"),s=n("cc12"),l=n("f772"),f=">",h="<",p="prototype",d="script",v=l("IE_PROTO"),g=function(){},y=function(t){return h+d+f+t+h+"/"+d+f},b=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=s("iframe"),n="java"+d+":";return e.style.display="none",u.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},_=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}_=r?b(r):m();var t=c.length;while(t--)delete _[p][c[t]];return _()};a[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(g[p]=o(t),n=new g,g[p]=null,n[v]=t):n=_(),void 0===e?n:i(n,e)}},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),o=n("9ed3"),i=n("e163"),c=n("d2bb"),a=n("d44e"),u=n("9112"),s=n("6eeb"),l=n("b622"),f=n("c430"),h=n("3f8c"),p=n("ae93"),d=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y="keys",b="values",m="entries",_=function(){return this};t.exports=function(t,e,n,l,p,w,x){o(n,e,l);var O,j,S,k=function(t){if(t===p&&N)return N;if(!v&&t in E)return E[t];switch(t){case y:return function(){return new n(this,t)};case b:return function(){return new n(this,t)};case m:return function(){return new n(this,t)}}return function(){return new n(this)}},M=e+" Iterator",A=!1,E=t.prototype,C=E[g]||E["@@iterator"]||p&&E[p],N=!v&&C||k(p),T="Array"==e&&E.entries||C;if(T&&(O=i(T.call(new t)),d!==Object.prototype&&O.next&&(f||i(O)===d||(c?c(O,d):"function"!=typeof O[g]&&u(O,g,_)),a(O,M,!0,!0),f&&(h[M]=_))),p==b&&C&&C.name!==b&&(A=!0,N=function(){return C.call(this)}),f&&!x||E[g]===N||u(E,g,N),h[e]=N,p)if(j={values:k(b),keys:w?N:k(y),entries:k(m)},x)for(S in j)(v||A||!(S in E))&&s(E,S,j[S]);else r({target:e,proto:!0,forced:v||A},j);return j}},"7f9a":function(t,e,n){var r=n("da84"),o=n("8925"),i=r.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),o=n("9bf2"),i=n("5c6c");t.exports=function(t,e,n){var c=r(e);c in t?o.f(t,c,i(0,n)):t[c]=n}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8925:function(t,e,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),i=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"94ca":function(t,e,n){var r=n("d039"),o=/#|\.prototype\./,i=function(t,e){var n=a[c(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},"99af":function(t,e,n){"use strict";var r=n("23e7"),o=n("d039"),i=n("e8b5"),c=n("861d"),a=n("7b0b"),u=n("50c4"),s=n("8418"),l=n("65f0"),f=n("1dde"),h=n("b622"),p=n("2d00"),d=h("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",y=p>=51||!o((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),b=f("concat"),m=function(t){if(!c(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)},_=!y||!b;r({target:"Array",proto:!0,forced:_},{concat:function(t){var e,n,r,o,i,c=a(this),f=l(c,0),h=0;for(e=-1,r=arguments.length;ev)throw TypeError(g);for(n=0;n=v)throw TypeError(g);s(f,h++,i)}return f.length=h,f}})},"9bdd":function(t,e,n){var r=n("825a"),o=n("2a62");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(c){throw o(t),c}}},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),i=n("825a"),c=n("c04e"),a=Object.defineProperty;e.f=r?a:function(t,e,n){if(i(t),e=c(e,!0),i(n),o)try{return a(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9ed3":function(t,e,n){"use strict";var r=n("ae93").IteratorPrototype,o=n("7c73"),i=n("5c6c"),c=n("d44e"),a=n("3f8c"),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),c(t,s,!1,!0),a[s]=u,t}},"9ff4":function(t,e,n){"use strict";(function(t){function r(t,e){const n=Object.create(null),r=t.split(",");for(let o=0;o!!n[t.toLowerCase()]:t=>!!n[t]}n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return _})),n.d(e,"c",(function(){return O})),n.d(e,"d",(function(){return x})),n.d(e,"e",(function(){return G})),n.d(e,"f",(function(){return K})),n.d(e,"g",(function(){return tt})),n.d(e,"h",(function(){return M})),n.d(e,"i",(function(){return rt})),n.d(e,"j",(function(){return Q})),n.d(e,"k",(function(){return C})),n.d(e,"l",(function(){return Y})),n.d(e,"m",(function(){return Z})),n.d(e,"n",(function(){return N})),n.d(e,"o",(function(){return L})),n.d(e,"p",(function(){return i})),n.d(e,"q",(function(){return v})),n.d(e,"r",(function(){return q})),n.d(e,"s",(function(){return T})),n.d(e,"t",(function(){return k})),n.d(e,"u",(function(){return B})),n.d(e,"v",(function(){return S})),n.d(e,"w",(function(){return V})),n.d(e,"x",(function(){return z})),n.d(e,"y",(function(){return g})),n.d(e,"z",(function(){return P})),n.d(e,"A",(function(){return a})),n.d(e,"B",(function(){return R})),n.d(e,"C",(function(){return I})),n.d(e,"D",(function(){return b})),n.d(e,"E",(function(){return m})),n.d(e,"F",(function(){return r})),n.d(e,"G",(function(){return h})),n.d(e,"H",(function(){return u})),n.d(e,"I",(function(){return A})),n.d(e,"J",(function(){return J})),n.d(e,"K",(function(){return et})),n.d(e,"L",(function(){return U}));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",i=r(o);const c="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",a=r(c);function u(t){if(N(t)){const e={};for(let n=0;n{if(t){const n=t.split(l);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function h(t){let e="";if(R(t))e=t;else if(N(t))for(let n=0;nb(t,e))}const _={},w=[],x=()=>{},O=()=>!1,j=/^on[^a-z]/,S=t=>j.test(t),k=t=>t.startsWith("onUpdate:"),M=Object.assign,A=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},E=Object.prototype.hasOwnProperty,C=(t,e)=>E.call(t,e),N=Array.isArray,T=t=>"[object Map]"===$(t),P=t=>"[object Set]"===$(t),F=t=>t instanceof Date,L=t=>"function"===typeof t,R=t=>"string"===typeof t,I=t=>"symbol"===typeof t,B=t=>null!==t&&"object"===typeof t,V=t=>B(t)&&L(t.then)&&L(t.catch),D=Object.prototype.toString,$=t=>D.call(t),U=t=>$(t).slice(8,-1),q=t=>R(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,z=r(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),H=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},X=/-(\w)/g,G=H(t=>t.replace(X,(t,e)=>e?e.toUpperCase():"")),W=/\B([A-Z])/g,Y=H(t=>t.replace(W,"-$1").toLowerCase()),K=H(t=>t.charAt(0).toUpperCase()+t.slice(1)),J=H(t=>t?"on"+K(t):""),Q=(t,e)=>t!==e&&(t===t||e===e),Z=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},et=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let nt;const rt=()=>nt||(nt="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:{})}).call(this,n("c8ba"))},a15b:function(t,e,n){"use strict";var r=n("23e7"),o=n("44ad"),i=n("fc6a"),c=n("a640"),a=[].join,u=o!=Object,s=c("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(t){return a.call(i(this),void 0===t?",":t)}})},a4b4:function(t,e,n){var r=n("342f");t.exports=/web0s(?!.*chrome)/i.test(r)},a4d3:function(t,e,n){"use strict";var r=n("23e7"),o=n("da84"),i=n("d066"),c=n("c430"),a=n("83ab"),u=n("4930"),s=n("fdbf"),l=n("d039"),f=n("5135"),h=n("e8b5"),p=n("861d"),d=n("825a"),v=n("7b0b"),g=n("fc6a"),y=n("c04e"),b=n("5c6c"),m=n("7c73"),_=n("df75"),w=n("241c"),x=n("057f"),O=n("7418"),j=n("06cf"),S=n("9bf2"),k=n("d1e7"),M=n("9112"),A=n("6eeb"),E=n("5692"),C=n("f772"),N=n("d012"),T=n("90e3"),P=n("b622"),F=n("e538"),L=n("746f"),R=n("d44e"),I=n("69f3"),B=n("b727").forEach,V=C("hidden"),D="Symbol",$="prototype",U=P("toPrimitive"),q=I.set,z=I.getterFor(D),H=Object[$],X=o.Symbol,G=i("JSON","stringify"),W=j.f,Y=S.f,K=x.f,J=k.f,Q=E("symbols"),Z=E("op-symbols"),tt=E("string-to-symbol-registry"),et=E("symbol-to-string-registry"),nt=E("wks"),rt=o.QObject,ot=!rt||!rt[$]||!rt[$].findChild,it=a&&l((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=W(H,e);r&&delete H[e],Y(t,e,n),r&&t!==H&&Y(H,e,r)}:Y,ct=function(t,e){var n=Q[t]=m(X[$]);return q(n,{type:D,tag:t,description:e}),a||(n.description=e),n},at=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof X},ut=function(t,e,n){t===H&&ut(Z,e,n),d(t);var r=y(e,!0);return d(n),f(Q,r)?(n.enumerable?(f(t,V)&&t[V][r]&&(t[V][r]=!1),n=m(n,{enumerable:b(0,!1)})):(f(t,V)||Y(t,V,b(1,{})),t[V][r]=!0),it(t,r,n)):Y(t,r,n)},st=function(t,e){d(t);var n=g(e),r=_(n).concat(dt(n));return B(r,(function(e){a&&!ft.call(n,e)||ut(t,e,n[e])})),t},lt=function(t,e){return void 0===e?m(t):st(m(t),e)},ft=function(t){var e=y(t,!0),n=J.call(this,e);return!(this===H&&f(Q,e)&&!f(Z,e))&&(!(n||!f(this,e)||!f(Q,e)||f(this,V)&&this[V][e])||n)},ht=function(t,e){var n=g(t),r=y(e,!0);if(n!==H||!f(Q,r)||f(Z,r)){var o=W(n,r);return!o||!f(Q,r)||f(n,V)&&n[V][r]||(o.enumerable=!0),o}},pt=function(t){var e=K(g(t)),n=[];return B(e,(function(t){f(Q,t)||f(N,t)||n.push(t)})),n},dt=function(t){var e=t===H,n=K(e?Z:g(t)),r=[];return B(n,(function(t){!f(Q,t)||e&&!f(H,t)||r.push(Q[t])})),r};if(u||(X=function(){if(this instanceof X)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=T(t),n=function(t){this===H&&n.call(Z,t),f(this,V)&&f(this[V],e)&&(this[V][e]=!1),it(this,e,b(1,t))};return a&&ot&&it(H,e,{configurable:!0,set:n}),ct(e,t)},A(X[$],"toString",(function(){return z(this).tag})),A(X,"withoutSetter",(function(t){return ct(T(t),t)})),k.f=ft,S.f=ut,j.f=ht,w.f=x.f=pt,O.f=dt,F.f=function(t){return ct(P(t),t)},a&&(Y(X[$],"description",{configurable:!0,get:function(){return z(this).description}}),c||A(H,"propertyIsEnumerable",ft,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:X}),B(_(nt),(function(t){L(t)})),r({target:D,stat:!0,forced:!u},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var n=X(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!a},{create:lt,defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:ht}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),r({target:"Object",stat:!0,forced:l((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(v(t))}}),G){var vt=!u||l((function(){var t=X();return"[null]"!=G([t])||"{}"!=G({a:t})||"{}"!=G(Object(t))}));r({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,n){var r,o=[t],i=1;while(arguments.length>i)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!at(t))return h(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!at(e))return e}),o[1]=e,G.apply(null,o)}})}X[$][U]||M(X[$],U,X[$].valueOf),R(X,D),N[V]=!0},a630:function(t,e,n){var r=n("23e7"),o=n("4df4"),i=n("1c7e"),c=!i((function(t){Array.from(t)}));r({target:"Array",stat:!0,forced:c},{from:o})},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a79d:function(t,e,n){"use strict";var r=n("23e7"),o=n("c430"),i=n("fea9"),c=n("d039"),a=n("d066"),u=n("4840"),s=n("cdf9"),l=n("6eeb"),f=!!i&&c((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}));r({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(t){var e=u(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype["finally"]||l(i.prototype,"finally",a("Promise").prototype["finally"])},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,n){var r=n("83ab"),o=n("d039"),i=n("5135"),c=Object.defineProperty,a={},u=function(t){throw t};t.exports=function(t,e){if(i(a,t))return a[t];e||(e={});var n=[][t],s=!!i(e,"ACCESSORS")&&e.ACCESSORS,l=i(e,0)?e[0]:u,f=i(e,1)?e[1]:void 0;return a[t]=!!n&&!o((function(){if(s&&!r)return!0;var t={length:-1};s?c(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,l,f)}))}},ae93:function(t,e,n){"use strict";var r,o,i,c=n("e163"),a=n("9112"),u=n("5135"),s=n("b622"),l=n("c430"),f=s("iterator"),h=!1,p=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=c(c(i)),o!==Object.prototype&&(r=o)):h=!0),void 0==r&&(r={}),l||u(r,f)||a(r,f,p),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),o=n("9bf2").f,i=Function.prototype,c=i.toString,a=/^\s*function ([^ (]*)/,u="name";r&&!(u in i)&&o(i,u,{configurable:!0,get:function(){try{return c.call(this).match(a)[1]}catch(t){return""}}})},b575:function(t,e,n){var r,o,i,c,a,u,s,l,f=n("da84"),h=n("06cf").f,p=n("2cf4").set,d=n("1cdc"),v=n("a4b4"),g=n("605d"),y=f.MutationObserver||f.WebKitMutationObserver,b=f.document,m=f.process,_=f.Promise,w=h(f,"queueMicrotask"),x=w&&w.value;x||(r=function(){var t,e;g&&(t=m.domain)&&t.exit();while(o){e=o.fn,o=o.next;try{e()}catch(n){throw o?c():i=void 0,n}}i=void 0,t&&t.enter()},d||g||v||!y||!b?_&&_.resolve?(s=_.resolve(void 0),l=s.then,c=function(){l.call(s,r)}):c=g?function(){m.nextTick(r)}:function(){p.call(f,r)}:(a=!0,u=b.createTextNode(""),new y(r).observe(u,{characterData:!0}),c=function(){u.data=a=!a})),t.exports=x||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,c()),i=e}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),i=n("5135"),c=n("90e3"),a=n("4930"),u=n("fdbf"),s=o("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||c;t.exports=function(t){return i(s,t)||(a&&i(l,t)?s[t]=l[t]:s[t]=f("Symbol."+t)),s[t]}},b727:function(t,e,n){var r=n("0366"),o=n("44ad"),i=n("7b0b"),c=n("50c4"),a=n("65f0"),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,l=4==t,f=6==t,h=7==t,p=5==t||f;return function(d,v,g,y){for(var b,m,_=i(d),w=o(_),x=r(v,g,3),O=c(w.length),j=0,S=y||a,k=e?S(d,O):n||h?S(d,0):void 0;O>j;j++)if((p||j in w)&&(b=w[j],m=x(b,j,_),t))if(e)k[j]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return j;case 2:u.call(k,b)}else switch(t){case 4:return!1;case 7:u.call(k,b)}return f?-1:s||l?l:k}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),o=n("fc6a"),i=n("4d64").indexOf,c=n("d012");t.exports=function(t,e){var n,a=o(t),u=0,s=[];for(n in a)!r(c,n)&&r(a,n)&&s.push(n);while(e.length>u)r(a,n=e[u++])&&(~i(s,n)||s.push(n));return s}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),o=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},cdf9:function(t,e,n){var r=n("825a"),o=n("861d"),i=n("f069");t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t),c=n.resolve;return c(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),o=n("9112");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("428f"),o=n("da84"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d28b:function(t,e,n){var r=n("746f");r("iterator")},d2bb:function(t,e,n){var r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),i=n("b041");r||o(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(t,e,n){var r=n("9bf2").f,o=n("5135"),i=n("b622"),c=i("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,c)&&r(t,c,{configurable:!0,value:e})}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},ddb0:function(t,e,n){var r=n("da84"),o=n("fdbc"),i=n("e260"),c=n("9112"),a=n("b622"),u=a("iterator"),s=a("toStringTag"),l=i.values;for(var f in o){var h=r[f],p=h&&h.prototype;if(p){if(p[u]!==l)try{c(p,u,l)}catch(v){p[u]=l}if(p[s]||c(p,s,f),o[f])for(var d in i)if(p[d]!==i[d])try{c(p,d,i[d])}catch(v){p[d]=i[d]}}}},df75:function(t,e,n){var r=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return r(t,o)}},e01a:function(t,e,n){"use strict";var r=n("23e7"),o=n("83ab"),i=n("da84"),c=n("5135"),a=n("861d"),u=n("9bf2").f,s=n("e893"),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};s(h,l);var p=h.prototype=l.prototype;p.constructor=h;var d=p.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var t=a(this)?this.valueOf():this,e=d.call(t);if(c(f,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:h})}},e163:function(t,e,n){var r=n("5135"),o=n("7b0b"),i=n("f772"),c=n("e177"),a=i("IE_PROTO"),u=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},e177:function(t,e,n){var r=n("d039");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},e260:function(t,e,n){"use strict";var r=n("fc6a"),o=n("44d2"),i=n("3f8c"),c=n("69f3"),a=n("7dd0"),u="Array Iterator",s=c.set,l=c.getterFor(u);t.exports=a(Array,"Array",(function(t,e){s(this,{type:u,target:r(t),index:0,kind:e})}),(function(){var t=l(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var r,o,i,c,a=n("23e7"),u=n("c430"),s=n("da84"),l=n("d066"),f=n("fea9"),h=n("6eeb"),p=n("e2cc"),d=n("d44e"),v=n("2626"),g=n("861d"),y=n("1c0b"),b=n("19aa"),m=n("8925"),_=n("2266"),w=n("1c7e"),x=n("4840"),O=n("2cf4").set,j=n("b575"),S=n("cdf9"),k=n("44de"),M=n("f069"),A=n("e667"),E=n("69f3"),C=n("94ca"),N=n("b622"),T=n("605d"),P=n("2d00"),F=N("species"),L="Promise",R=E.get,I=E.set,B=E.getterFor(L),V=f,D=s.TypeError,$=s.document,U=s.process,q=l("fetch"),z=M.f,H=z,X=!!($&&$.createEvent&&s.dispatchEvent),G="function"==typeof PromiseRejectionEvent,W="unhandledrejection",Y="rejectionhandled",K=0,J=1,Q=2,Z=1,tt=2,et=C(L,(function(){var t=m(V)!==String(V);if(!t){if(66===P)return!0;if(!T&&!G)return!0}if(u&&!V.prototype["finally"])return!0;if(P>=51&&/native code/.test(V))return!1;var e=V.resolve(1),n=function(t){t((function(){}),(function(){}))},r=e.constructor={};return r[F]=n,!(e.then((function(){}))instanceof n)})),nt=et||!w((function(t){V.all(t)["catch"]((function(){}))})),rt=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},ot=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;j((function(){var r=t.value,o=t.state==J,i=0;while(n.length>i){var c,a,u,s=n[i++],l=o?s.ok:s.fail,f=s.resolve,h=s.reject,p=s.domain;try{l?(o||(t.rejection===tt&&ut(t),t.rejection=Z),!0===l?c=r:(p&&p.enter(),c=l(r),p&&(p.exit(),u=!0)),c===s.promise?h(D("Promise-chain cycle")):(a=rt(c))?a.call(c,f,h):f(c)):h(r)}catch(d){p&&!u&&p.exit(),h(d)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ct(t)}))}},it=function(t,e,n){var r,o;X?(r=$.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},!G&&(o=s["on"+t])?o(r):t===W&&k("Unhandled promise rejection",n)},ct=function(t){O.call(s,(function(){var e,n=t.facade,r=t.value,o=at(t);if(o&&(e=A((function(){T?U.emit("unhandledRejection",r,n):it(W,n,r)})),t.rejection=T||at(t)?tt:Z,e.error))throw e.value}))},at=function(t){return t.rejection!==Z&&!t.parent},ut=function(t){O.call(s,(function(){var e=t.facade;T?U.emit("rejectionHandled",e):it(Y,e,t.value)}))},st=function(t,e,n){return function(r){t(e,r,n)}},lt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=Q,ot(t,!0))},ft=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw D("Promise can't be resolved itself");var r=rt(e);r?j((function(){var n={done:!1};try{r.call(e,st(ft,n,t),st(lt,n,t))}catch(o){lt(n,o,t)}})):(t.value=e,t.state=J,ot(t,!1))}catch(o){lt({done:!1},o,t)}}};et&&(V=function(t){b(this,V,L),y(t),r.call(this);var e=R(this);try{t(st(ft,e),st(lt,e))}catch(n){lt(e,n)}},r=function(t){I(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:K,value:void 0})},r.prototype=p(V.prototype,{then:function(t,e){var n=B(this),r=z(x(this,V));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=T?U.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=K&&ot(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=R(t);this.promise=t,this.resolve=st(ft,e),this.reject=st(lt,e)},M.f=z=function(t){return t===V||t===i?new o(t):H(t)},u||"function"!=typeof f||(c=f.prototype.then,h(f.prototype,"then",(function(t,e){var n=this;return new V((function(t,e){c.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof q&&a({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return S(V,q.apply(s,arguments))}}))),a({global:!0,wrap:!0,forced:et},{Promise:V}),d(V,L,!1,!0),v(L),i=l(L),a({target:L,stat:!0,forced:et},{reject:function(t){var e=z(this);return e.reject.call(void 0,t),e.promise}}),a({target:L,stat:!0,forced:u||et},{resolve:function(t){return S(u&&this===i?V:this,t)}}),a({target:L,stat:!0,forced:nt},{all:function(t){var e=this,n=z(e),r=n.resolve,o=n.reject,i=A((function(){var n=y(e.resolve),i=[],c=0,a=1;_(t,(function(t){var u=c++,s=!1;i.push(void 0),a++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--a||r(i))}),o)})),--a||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=z(e),r=n.reject,o=A((function(){var o=y(e.resolve);_(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),i=n("06cf"),c=n("9bf2");t.exports=function(t,e){for(var n=o(e),a=c.f,u=i.f,s=0;s 1%", 40 | "last 2 versions", 41 | "not dead" 42 | ] 43 | } 44 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/muratkemaldar/using-vue3-with-d3/0f36b780e27ee422e29a18a4a14c7056f2eca3bd/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | <%= htmlWebpackPlugin.options.title %> 9 | 10 | 11 | 14 |
15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 11 | 12 | 36 | 37 | 64 | -------------------------------------------------------------------------------- /src/components/ResponsiveLineChart.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 82 | -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import { createApp } from 'vue' 2 | import App from './App.vue' 3 | 4 | createApp(App).mount('#app') 5 | -------------------------------------------------------------------------------- /src/use/resizeObserver.js: -------------------------------------------------------------------------------- 1 | import { ref, reactive, onMounted, onBeforeUnmount } from "vue"; 2 | 3 | export const useResizeObserver = () => { 4 | const resizeRef = ref(); 5 | const resizeState = reactive({ 6 | dimensions: {} 7 | }); 8 | 9 | const observer = new ResizeObserver(entries => { 10 | entries.forEach(entry => { 11 | resizeState.dimensions = entry.contentRect; 12 | }); 13 | }); 14 | 15 | onMounted(() => { 16 | // set initial dimensions right before observing: Element.getBoundingClientRect() 17 | resizeState.dimensions = resizeRef.value.getBoundingClientRect(); 18 | observer.observe(resizeRef.value); 19 | }); 20 | 21 | onBeforeUnmount(() => { 22 | observer.unobserve(resizeRef.value); 23 | }); 24 | 25 | return { resizeState, resizeRef }; 26 | }; 27 | 28 | export default useResizeObserver; 29 | -------------------------------------------------------------------------------- /vue.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | publicPath: "/using-vue3-with-d3" 3 | } --------------------------------------------------------------------------------