!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("d3"),require("Flatbush")):"function"==typeof define&&define.amd?define(["d3","Flatbush"],e):"object"==typeof exports?exports.ggiraphjs=e(require("d3"),require("Flatbush")):t.ggiraphjs=e(t.d3,t.Flatbush)}(self,((t,e)=>(()=>{"use strict";var r={349:t=>{t.exports=e},3893:e=>{e.exports=t},9306:(t,e,r)=>{var n=r(4901),i=r(6823),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},5548:(t,e,r)=>{var n=r(3517),i=r(6823),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},3506:(t,e,r)=>{var n=r(3925),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},6469:(t,e,r)=>{var n=r(8227),i=r(2360),o=r(4913).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},7829:(t,e,r)=>{var n=r(8183).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},679:(t,e,r)=>{var n=r(1625),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},8551:(t,e,r)=>{var n=r(34),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},7811:t=>{t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},5652:(t,e,r)=>{var n=r(9039);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},4644:(t,e,r)=>{var n,i,o,a=r(7811),s=r(3724),u=r(4475),c=r(4901),f=r(34),l=r(9297),h=r(6955),p=r(6823),y=r(6699),v=r(6840),d=r(2106),g=r(1625),m=r(2787),x=r(2967),b=r(8227),w=r(3392),S=r(1181),E=S.enforce,A=S.get,O=u.Int8Array,I=O&&O.prototype,T=u.Uint8ClampedArray,k=T&&T.prototype,M=O&&m(O),_=I&&m(I),P=Object.prototype,N=u.TypeError,j=b("toStringTag"),R=w("TYPED_ARRAY_TAG"),V="TypedArrayConstructor",D=a&&!!x&&"Opera"!==h(u.opera),C=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},L=function(t){var e=m(t);if(f(e)){var r=A(e);return r&&l(r,V)?r[V]:L(e)}},B=function(t){if(!f(t))return!1;var e=h(t);return l(F,e)||l(z,e)};for(n in F)(o=(i=u[n])&&i.prototype)?E(o)[V]=i:D=!1;for(n in z)(o=(i=u[n])&&i.prototype)&&(E(o)[V]=i);if((!D||!c(M)||M===Function.prototype)&&(M=function(){throw new N("Incorrect invocation")},D))for(n in F)u[n]&&x(u[n],M);if((!D||!_||_===P)&&(_=M.prototype,D))for(n in F)u[n]&&x(u[n].prototype,_);if(D&&m(k)!==_&&x(k,_),s&&!l(_,j))for(n in C=!0,d(_,j,{configurable:!0,get:function(){return f(this)?this[R]:void 0}}),F)u[n]&&y(u[n],R,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:C&&R,aTypedArray:function(t){if(B(t))return t;throw new N("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!x||g(M,t)))return t;throw new N(p(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(s){if(r)for(var i in F){var o=u[i];if(o&&l(o.prototype,t))try{delete o.prototype[t]}catch(r){try{o.prototype[t]=e}catch(t){}}}_[t]&&!r||v(_,t,r?e:D&&I[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,i;if(s){if(x){if(r)for(n in F)if((i=u[n])&&l(i,t))try{delete i[t]}catch(t){}if(M[t]&&!r)return;try{return v(M,t,r?e:D&&M[t]||e)}catch(t){}}for(n in F)!(i=u[n])||i[t]&&!r||v(i,t,e)}},getTypedArrayConstructor:L,isView:function(t){if(!f(t))return!1;var e=h(t);return"DataView"===e||l(F,e)||l(z,e)},isTypedArray:B,TypedArray:M,TypedArrayPrototype:_}},6346:(t,e,r)=>{var n=r(4475),i=r(9504),o=r(3724),a=r(7811),s=r(350),u=r(6699),c=r(2106),f=r(6279),l=r(9039),h=r(679),p=r(1291),y=r(8014),v=r(7696),d=r(5617),g=r(8490),m=r(2787),x=r(2967),b=r(4373),w=r(7680),S=r(3167),E=r(7740),A=r(687),O=r(1181),I=s.PROPER,T=s.CONFIGURABLE,k="ArrayBuffer",M="DataView",_="prototype",P="Wrong index",N=O.getterFor(k),j=O.getterFor(M),R=O.set,V=n[k],D=V,C=D&&D[_],F=n[M],z=F&&F[_],L=Object.prototype,B=n.Array,G=n.RangeError,U=i(b),H=i([].reverse),W=g.pack,Y=g.unpack,$=function(t){return[255&t]},q=function(t){return[255&t,t>>8&255]},K=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},X=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},J=function(t){return W(d(t),23,4)},Z=function(t){return W(t,52,8)},Q=function(t,e,r){c(t[_],e,{configurable:!0,get:function(){return r(this)[e]}})},tt=function(t,e,r,n){var i=j(t),o=v(r),a=!!n;if(o+e>i.byteLength)throw new G(P);var s=i.bytes,u=o+i.byteOffset,c=w(s,u,u+e);return a?c:H(c)},et=function(t,e,r,n,i,o){var a=j(t),s=v(r),u=n(+i),c=!!o;if(s+e>a.byteLength)throw new G(P);for(var f=a.bytes,l=s+a.byteOffset,h=0;h>24)},setUint8:function(t,e){it(this,t,e<<24>>24)}},{unsafe:!0})}else C=(D=function(t){h(this,C);var e=v(t);R(this,{type:k,bytes:U(B(e),0),byteLength:e}),o||(this.byteLength=e,this.detached=!1)})[_],z=(F=function(t,e,r){h(this,z),h(t,C);var n=N(t),i=n.byteLength,a=p(e);if(a<0||a>i)throw new G("Wrong offset");if(a+(r=void 0===r?i-a:y(r))>i)throw new G("Wrong length");R(this,{type:M,buffer:t,byteLength:r,byteOffset:a,bytes:n.bytes}),o||(this.buffer=t,this.byteLength=r,this.byteOffset=a)})[_],o&&(Q(D,"byteLength",N),Q(F,"buffer",j),Q(F,"byteLength",j),Q(F,"byteOffset",j)),f(z,{getInt8:function(t){return tt(this,1,t)[0]<<24>>24},getUint8:function(t){return tt(this,1,t)[0]},getInt16:function(t){var e=tt(this,2,t,arguments.length>1&&arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=tt(this,2,t,arguments.length>1&&arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return X(tt(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return X(tt(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return Y(tt(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return Y(tt(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,e){et(this,1,t,$,e)},setUint8:function(t,e){et(this,1,t,$,e)},setInt16:function(t,e){et(this,2,t,q,e,arguments.length>2&&arguments[2])},setUint16:function(t,e){et(this,2,t,q,e,arguments.length>2&&arguments[2])},setInt32:function(t,e){et(this,4,t,K,e,arguments.length>2&&arguments[2])},setUint32:function(t,e){et(this,4,t,K,e,arguments.length>2&&arguments[2])},setFloat32:function(t,e){et(this,4,t,J,e,arguments.length>2&&arguments[2])},setFloat64:function(t,e){et(this,8,t,Z,e,arguments.length>2&&arguments[2])}});A(D,k),A(F,M),t.exports={ArrayBuffer:D,DataView:F}},7029:(t,e,r)=>{var n=r(8981),i=r(5610),o=r(6198),a=r(4606),s=Math.min;t.exports=[].copyWithin||function(t,e){var r=n(this),u=o(r),c=i(t,u),f=i(e,u),l=arguments.length>2?arguments[2]:void 0,h=s((void 0===l?u:i(l,u))-f,u-c),p=1;for(f0;)f in r?r[c]=r[f]:a(r,c),c+=p,f+=p;return r}},4373:(t,e,r)=>{var n=r(8981),i=r(5610),o=r(6198);t.exports=function(t){for(var e=n(this),r=o(e),a=arguments.length,s=i(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>s;)e[s++]=t;return e}},235:(t,e,r)=>{var n=r(9213).forEach,i=r(4598)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},5370:(t,e,r)=>{var n=r(6198);t.exports=function(t,e,r){for(var i=0,o=arguments.length>2?r:n(e),a=new t(o);o>i;)a[i]=e[i++];return a}},7916:(t,e,r)=>{var n=r(6080),i=r(9565),o=r(8981),a=r(6319),s=r(4209),u=r(3517),c=r(6198),f=r(4659),l=r(81),h=r(851),p=Array;t.exports=function(t){var e=o(t),r=u(this),y=arguments.length,v=y>1?arguments[1]:void 0,d=void 0!==v;d&&(v=n(v,y>2?arguments[2]:void 0));var g,m,x,b,w,S,E=h(e),A=0;if(!E||this===p&&s(E))for(g=c(e),m=r?new this(g):p(g);g>A;A++)S=d?v(e[A],A):e[A],f(m,A,S);else for(m=r?new this:[],w=(b=l(e,E)).next;!(x=i(w,b)).done;A++)S=d?a(b,v,[x.value,A],!0):x.value,f(m,A,S);return m.length=A,m}},9617:(t,e,r)=>{var n=r(5397),i=r(5610),o=r(6198),a=function(t){return function(e,r,a){var s=n(e),u=o(s);if(0===u)return!t&&-1;var c,f=i(a,u);if(t&&r!=r){for(;u>f;)if((c=s[f++])!=c)return!0}else for(;u>f;f++)if((t||f in s)&&s[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9213:(t,e,r)=>{var n=r(6080),i=r(9504),o=r(7055),a=r(8981),s=r(6198),u=r(1469),c=i([].push),f=function(t){var e=1===t,r=2===t,i=3===t,f=4===t,l=6===t,h=7===t,p=5===t||l;return function(y,v,d,g){for(var m,x,b=a(y),w=o(b),S=s(w),E=n(v,d),A=0,O=g||u,I=e?O(y,S):r||h?O(y,0):void 0;S>A;A++)if((p||A in w)&&(x=E(m=w[A],A,b),t))if(e)I[A]=x;else if(x)switch(t){case 3:return!0;case 5:return m;case 6:return A;case 2:c(I,m)}else switch(t){case 4:return!1;case 7:c(I,m)}return l?-1:i||f?f:I}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},8379:(t,e,r)=>{var n=r(8745),i=r(5397),o=r(1291),a=r(6198),s=r(4598),u=Math.min,c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0,l=s("lastIndexOf"),h=f||!l;t.exports=h?function(t){if(f)return n(c,this,arguments)||0;var e=i(this),r=a(e);if(0===r)return-1;var s=r-1;for(arguments.length>1&&(s=u(s,o(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in e&&e[s]===t)return s||0;return-1}:c},597:(t,e,r)=>{var n=r(9039),i=r(8227),o=r(7388),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},4598:(t,e,r)=>{var n=r(9039);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},926:(t,e,r)=>{var n=r(9306),i=r(8981),o=r(7055),a=r(6198),s=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(e,r,c,f){var l=i(e),h=o(l),p=a(l);if(n(r),0===p&&c<2)throw new s(u);var y=t?p-1:0,v=t?-1:1;if(c<2)for(;;){if(y in h){f=h[y],y+=v;break}if(y+=v,t?y<0:p<=y)throw new s(u)}for(;t?y>=0:p>y;y+=v)y in h&&(f=r(f,h[y],y,l));return f}};t.exports={left:c(!1),right:c(!0)}},4527:(t,e,r)=>{var n=r(3724),i=r(4376),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},7680:(t,e,r)=>{var n=r(9504);t.exports=n([].slice)},4488:(t,e,r)=>{var n=r(7680),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var c=i(r/2),f=o(n(t,0,c),e),l=o(n(t,c),e),h=f.length,p=l.length,y=0,v=0;y{var n=r(4376),i=r(3517),o=r(34),a=r(8227)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},1469:(t,e,r)=>{var n=r(7433);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},6319:(t,e,r)=>{var n=r(8551),i=r(9539);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},4428:(t,e,r)=>{var n=r(8227)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},4576:(t,e,r)=>{var n=r(9504),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},6955:(t,e,r)=>{var n=r(2140),i=r(4901),o=r(4576),a=r(8227)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},6938:(t,e,r)=>{var n=r(2360),i=r(2106),o=r(6279),a=r(6080),s=r(679),u=r(4117),c=r(2652),f=r(1088),l=r(2529),h=r(7633),p=r(3724),y=r(3451).fastKey,v=r(1181),d=v.set,g=v.getterFor;t.exports={getConstructor:function(t,e,r,f){var l=t((function(t,i){s(t,h),d(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),p||(t.size=0),u(i)||c(i,t[f],{that:t,AS_ENTRIES:r})})),h=l.prototype,v=g(e),m=function(t,e,r){var n,i,o=v(t),a=x(t,e);return a?a.value=r:(o.last=a={index:i=y(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),p?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},x=function(t,e){var r,n=v(t),i=y(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return o(h,{clear:function(){for(var t=v(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),p?t.size=0:this.size=0},delete:function(t){var e=this,r=v(e),n=x(e,t);if(n){var i=n.next,o=n.previous;delete r.index[n.index],n.removed=!0,o&&(o.next=i),i&&(i.previous=o),r.first===n&&(r.first=i),r.last===n&&(r.last=o),p?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=v(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!x(this,t)}}),o(h,r?{get:function(t){var e=x(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),p&&i(h,"size",{configurable:!0,get:function(){return v(this).size}}),l},setStrong:function(t,e,r){var n=e+" Iterator",i=g(e),o=g(n);f(t,e,(function(t,e){d(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?l("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,l(void 0,!0))}),r?"entries":"values",!r,!0),h(e)}}},6468:(t,e,r)=>{var n=r(6518),i=r(4475),o=r(9504),a=r(2796),s=r(6840),u=r(3451),c=r(2652),f=r(679),l=r(4901),h=r(4117),p=r(34),y=r(9039),v=r(4428),d=r(687),g=r(3167);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),x=-1!==t.indexOf("Weak"),b=m?"set":"add",w=i[t],S=w&&w.prototype,E=w,A={},O=function(t){var e=o(S[t]);s(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(x&&!p(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return x&&!p(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(x&&!p(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!l(w)||!(x||S.forEach&&!y((function(){(new w).entries().next()})))))E=r.getConstructor(e,t,m,b),u.enable();else if(a(t,!0)){var I=new E,T=I[b](x?{}:-0,1)!==I,k=y((function(){I.has(1)})),M=v((function(t){new w(t)})),_=!x&&y((function(){for(var t=new w,e=5;e--;)t[b](e,e);return!t.has(-0)}));M||((E=e((function(t,e){f(t,S);var r=g(new w,t,E);return h(e)||c(e,r[b],{that:r,AS_ENTRIES:m}),r}))).prototype=S,S.constructor=E),(k||_)&&(O("delete"),O("has"),m&&O("get")),(_||T)&&O(b),x&&S.clear&&delete S.clear}return A[t]=E,n({global:!0,constructor:!0,forced:E!==w},A),d(E,t),x||r.setStrong(E,t,m),E}},7740:(t,e,r)=>{var n=r(9297),i=r(5031),o=r(7347),a=r(4913);t.exports=function(t,e,r){for(var s=i(e),u=a.f,c=o.f,f=0;f{var n=r(8227)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},2211:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},7240:(t,e,r)=>{var n=r(9504),i=r(7750),o=r(655),a=/"/g,s=n("".replace);t.exports=function(t,e,r,n){var u=o(i(t)),c="<"+e;return""!==r&&(c+=" "+r+'="'+s(o(n),a,""")+'"'),c+">"+u+""}},2529:t=>{t.exports=function(t,e){return{value:t,done:e}}},6699:(t,e,r)=>{var n=r(3724),i=r(4913),o=r(6980);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},6980:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4659:(t,e,r)=>{var n=r(3724),i=r(4913),o=r(6980);t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},3640:(t,e,r)=>{var n=r(8551),i=r(4270),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},2106:(t,e,r)=>{var n=r(283),i=r(4913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},6840:(t,e,r)=>{var n=r(4901),i=r(4913),o=r(283),a=r(9433);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:e;if(n(r)&&o(r,c,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},6279:(t,e,r)=>{var n=r(6840);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},9433:(t,e,r)=>{var n=r(4475),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},4606:(t,e,r)=>{var n=r(6823),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},3724:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(t,e,r)=>{var n=r(4475),i=r(34),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},6837:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},7400:t=>{t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(t,e,r)=>{var n=r(4055)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},8834:(t,e,r)=>{var n=r(9392).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},3202:(t,e,r)=>{var n=r(9392);t.exports=/MSIE|Trident/.test(n)},9392:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(t,e,r)=>{var n,i,o=r(4475),a=r(9392),s=o.process,u=o.Deno,c=s&&s.versions||u&&u.version,f=c&&c.v8;f&&(i=(n=f.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},9160:(t,e,r)=>{var n=r(9392).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},8727:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(t,e,r)=>{var n=r(4475),i=r(7347).f,o=r(6699),a=r(6840),s=r(9433),u=r(7740),c=r(2796);t.exports=function(t,e){var r,f,l,h,p,y=t.target,v=t.global,d=t.stat;if(r=v?n:d?n[y]||s(y,{}):n[y]&&n[y].prototype)for(f in e){if(h=e[f],l=t.dontCallGetSet?(p=i(r,f))&&p.value:r[f],!c(v?f:y+(d?".":"#")+f,t.forced)&&void 0!==l){if(typeof h==typeof l)continue;u(h,l)}(t.sham||l&&l.sham)&&o(h,"sham",!0),a(r,f,h,t)}}},9039:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9228:(t,e,r)=>{r(7495);var n=r(9565),i=r(6840),o=r(7323),a=r(9039),s=r(8227),u=r(6699),c=s("species"),f=RegExp.prototype;t.exports=function(t,e,r,l){var h=s(t),p=!a((function(){var e={};return e[h]=function(){return 7},7!==""[t](e)})),y=p&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return e=!0,null},r[h](""),!e}));if(!p||!y||r){var v=/./[h],d=e(h,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===f.exec?p&&!a?{done:!0,value:n(v,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,d[0]),i(f,h,d[1])}l&&u(f[h],"sham",!0)}},259:(t,e,r)=>{var n=r(4376),i=r(6198),o=r(6837),a=r(6080),s=function(t,e,r,u,c,f,l,h){for(var p,y,v=c,d=0,g=!!l&&a(l,h);d0&&n(p)?(y=i(p),v=s(t,e,p,y,v,f-1)-1):(o(v+1),t[v]=p),v++),d++;return v};t.exports=s},2744:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},8745:(t,e,r)=>{var n=r(616),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},6080:(t,e,r)=>{var n=r(7476),i=r(9306),o=r(616),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},616:(t,e,r)=>{var n=r(9039);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:(t,e,r)=>{var n=r(616),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},350:(t,e,r)=>{var n=r(3724),i=r(9297),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},6706:(t,e,r)=>{var n=r(9504),i=r(9306);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},7476:(t,e,r)=>{var n=r(4576),i=r(9504);t.exports=function(t){if("Function"===n(t))return i(t)}},9504:(t,e,r)=>{var n=r(616),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},7751:(t,e,r)=>{var n=r(4475),i=r(4901);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},851:(t,e,r)=>{var n=r(6955),i=r(5966),o=r(4117),a=r(6269),s=r(8227)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},81:(t,e,r)=>{var n=r(9565),i=r(9306),o=r(8551),a=r(6823),s=r(851),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},6933:(t,e,r)=>{var n=r(9504),i=r(4376),o=r(4901),a=r(4576),s=r(655),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n{var n=r(9306),i=r(4117);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},2478:(t,e,r)=>{var n=r(9504),i=r(8981),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,l,h){var p=r+t.length,y=n.length,v=f;return void 0!==l&&(l=i(l),v=c),s(h,v,(function(i,s){var c;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,p);case"<":c=l[u(s,1,-1)];break;default:var f=+s;if(0===f)return i;if(f>y){var h=o(f/10);return 0===h?i:h<=y?void 0===n[h-1]?a(s,1):n[h-1]+a(s,1):i}c=n[f-1]}return void 0===c?"":c}))}},4475:function(t,e,r){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 r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(t,e,r)=>{var n=r(9504),i=r(8981),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},421:t=>{t.exports={}},397:(t,e,r)=>{var n=r(7751);t.exports=n("document","documentElement")},5917:(t,e,r)=>{var n=r(3724),i=r(9039),o=r(4055);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8490:t=>{var e=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,a=Math.LN2;t.exports={pack:function(t,s,u){var c,f,l,h=e(u),p=8*u-s-1,y=(1<>1,d=23===s?n(2,-24)-n(2,-77):0,g=t<0||0===t&&1/t<0?1:0,m=0;for((t=r(t))!=t||t===1/0?(f=t!=t?1:0,c=y):(c=i(o(t)/a),t*(l=n(2,-c))<1&&(c--,l*=2),(t+=c+v>=1?d/l:d*n(2,1-v))*l>=2&&(c++,l/=2),c+v>=y?(f=0,c=y):c+v>=1?(f=(t*l-1)*n(2,s),c+=v):(f=t*n(2,v-1)*n(2,s),c=0));s>=8;)h[m++]=255&f,f/=256,s-=8;for(c=c<0;)h[m++]=255&c,c/=256,p-=8;return h[--m]|=128*g,h},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,a=(1<>1,u=o-7,c=i-1,f=t[c--],l=127&f;for(f>>=7;u>0;)l=256*l+t[c--],u-=8;for(r=l&(1<<-u)-1,l>>=-u,u+=e;u>0;)r=256*r+t[c--],u-=8;if(0===l)l=1-s;else{if(l===a)return r?NaN:f?-1/0:1/0;r+=n(2,e),l-=s}return(f?-1:1)*r*n(2,l-e)}}},7055:(t,e,r)=>{var n=r(9504),i=r(9039),o=r(4576),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},3167:(t,e,r)=>{var n=r(4901),i=r(34),o=r(2967);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},3706:(t,e,r)=>{var n=r(9504),i=r(4901),o=r(7629),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},3451:(t,e,r)=>{var n=r(6518),i=r(9504),o=r(421),a=r(34),s=r(9297),u=r(4913).f,c=r(8480),f=r(298),l=r(4124),h=r(3392),p=r(2744),y=!1,v=h("meta"),d=0,g=function(t){u(t,v,{value:{objectID:"O"+d++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},y=!0;var t=c.f,e=i([].splice),r={};r[v]=1,t(r).length&&(c.f=function(r){for(var n=t(r),i=0,o=n.length;i{var n,i,o,a=r(8622),s=r(4475),u=r(34),c=r(6699),f=r(9297),l=r(7629),h=r(6119),p=r(421),y="Object already initialized",v=s.TypeError,d=s.WeakMap;if(a||l.state){var g=l.state||(l.state=new d);g.get=g.get,g.has=g.has,g.set=g.set,n=function(t,e){if(g.has(t))throw new v(y);return e.facade=t,g.set(t,e),e},i=function(t){return g.get(t)||{}},o=function(t){return g.has(t)}}else{var m=h("state");p[m]=!0,n=function(t,e){if(f(t,m))throw new v(y);return e.facade=t,c(t,m,e),e},i=function(t){return f(t,m)?t[m]:{}},o=function(t){return f(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new v("Incompatible receiver, "+t+" required");return r}}}},4209:(t,e,r)=>{var n=r(8227),i=r(6269),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},4376:(t,e,r)=>{var n=r(4576);t.exports=Array.isArray||function(t){return"Array"===n(t)}},1108:(t,e,r)=>{var n=r(6955);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},4901:t=>{var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},3517:(t,e,r)=>{var n=r(9504),i=r(9039),o=r(4901),a=r(6955),s=r(7751),u=r(3706),c=function(){},f=s("Reflect","construct"),l=/^\s*(?:class|function)\b/,h=n(l.exec),p=!l.test(c),y=function(t){if(!o(t))return!1;try{return f(c,[],t),!0}catch(t){return!1}},v=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!h(l,u(t))}catch(t){return!0}};v.sham=!0,t.exports=!f||i((function(){var t;return y(y.call)||!y(Object)||!y((function(){t=!0}))||t}))?v:y},2796:(t,e,r)=>{var n=r(9039),i=r(4901),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===f||r!==c&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},2087:(t,e,r)=>{var n=r(34),i=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&i(t)===t}},4117:t=>{t.exports=function(t){return null==t}},34:(t,e,r)=>{var n=r(4901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},3925:(t,e,r)=>{var n=r(34);t.exports=function(t){return n(t)||null===t}},6395:t=>{t.exports=!1},788:(t,e,r)=>{var n=r(34),i=r(4576),o=r(8227)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},757:(t,e,r)=>{var n=r(7751),i=r(4901),o=r(1625),a=r(7040),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},2652:(t,e,r)=>{var n=r(6080),i=r(9565),o=r(8551),a=r(6823),s=r(4209),u=r(6198),c=r(1625),f=r(81),l=r(851),h=r(9539),p=TypeError,y=function(t,e){this.stopped=t,this.result=e},v=y.prototype;t.exports=function(t,e,r){var d,g,m,x,b,w,S,E=r&&r.that,A=!(!r||!r.AS_ENTRIES),O=!(!r||!r.IS_RECORD),I=!(!r||!r.IS_ITERATOR),T=!(!r||!r.INTERRUPTED),k=n(e,E),M=function(t){return d&&h(d,"normal",t),new y(!0,t)},_=function(t){return A?(o(t),T?k(t[0],t[1],M):k(t[0],t[1])):T?k(t,M):k(t)};if(O)d=t.iterator;else if(I)d=t;else{if(!(g=l(t)))throw new p(a(t)+" is not iterable");if(s(g)){for(m=0,x=u(t);x>m;m++)if((b=_(t[m]))&&c(v,b))return b;return new y(!1)}d=f(t,g)}for(w=O?t.next:d.next;!(S=i(w,d)).done;){try{b=_(S.value)}catch(t){h(d,"throw",t)}if("object"==typeof b&&b&&c(v,b))return b}return new y(!1)}},9539:(t,e,r)=>{var n=r(9565),i=r(8551),o=r(5966);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},3994:(t,e,r)=>{var n=r(7657).IteratorPrototype,i=r(2360),o=r(6980),a=r(687),s=r(6269),u=function(){return this};t.exports=function(t,e,r,c){var f=e+" Iterator";return t.prototype=i(n,{next:o(+!c,r)}),a(t,f,!1,!0),s[f]=u,t}},1088:(t,e,r)=>{var n=r(6518),i=r(9565),o=r(6395),a=r(350),s=r(4901),u=r(3994),c=r(2787),f=r(2967),l=r(687),h=r(6699),p=r(6840),y=r(8227),v=r(6269),d=r(7657),g=a.PROPER,m=a.CONFIGURABLE,x=d.IteratorPrototype,b=d.BUGGY_SAFARI_ITERATORS,w=y("iterator"),S="keys",E="values",A="entries",O=function(){return this};t.exports=function(t,e,r,a,y,d,I){u(r,e,a);var T,k,M,_=function(t){if(t===y&&V)return V;if(!b&&t&&t in j)return j[t];switch(t){case S:case E:case A:return function(){return new r(this,t)}}return function(){return new r(this)}},P=e+" Iterator",N=!1,j=t.prototype,R=j[w]||j["@@iterator"]||y&&j[y],V=!b&&R||_(y),D="Array"===e&&j.entries||R;if(D&&(T=c(D.call(new t)))!==Object.prototype&&T.next&&(o||c(T)===x||(f?f(T,x):s(T[w])||p(T,w,O)),l(T,P,!0,!0),o&&(v[P]=O)),g&&y===E&&R&&R.name!==E&&(!o&&m?h(j,"name",E):(N=!0,V=function(){return i(R,this)})),y)if(k={values:_(E),keys:d?V:_(S),entries:_(A)},I)for(M in k)(b||N||!(M in j))&&p(j,M,k[M]);else n({target:e,proto:!0,forced:b||N},k);return o&&!I||j[w]===V||p(j,w,V,{name:y}),v[e]=V,k}},7657:(t,e,r)=>{var n,i,o,a=r(9039),s=r(4901),u=r(34),c=r(2360),f=r(2787),l=r(6840),h=r(8227),p=r(6395),y=h("iterator"),v=!1;[].keys&&("next"in(o=[].keys())?(i=f(f(o)))!==Object.prototype&&(n=i):v=!0),!u(n)||a((function(){var t={};return n[y].call(t)!==t}))?n={}:p&&(n=c(n)),s(n[y])||l(n,y,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},6269:t=>{t.exports={}},6198:(t,e,r)=>{var n=r(8014);t.exports=function(t){return n(t.length)}},283:(t,e,r)=>{var n=r(9504),i=r(9039),o=r(4901),a=r(9297),s=r(3724),u=r(350).CONFIGURABLE,c=r(3706),f=r(1181),l=f.enforce,h=f.get,p=String,y=Object.defineProperty,v=n("".slice),d=n("".replace),g=n([].join),m=s&&!i((function(){return 8!==y((function(){}),"length",{value:8}).length})),x=String(String).split("String"),b=t.exports=function(t,e,r){"Symbol("===v(p(e),0,7)&&(e="["+d(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?y(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&y(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return a(n,"source")||(n.source=g(x,"string"==typeof e?e:"")),t};Function.prototype.toString=b((function(){return o(this)&&h(this).source||c(this)}),"toString")},3164:(t,e,r)=>{var n=r(7782),i=Math.abs,o=2220446049250313e-31,a=1/o;t.exports=function(t,e,r,s){var u=+t,c=i(u),f=n(u);if(cr||h!=h?f*(1/0):f*h}},5617:(t,e,r)=>{var n=r(3164);t.exports=Math.fround||function(t){return n(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},7782:t=>{t.exports=Math.sign||function(t){var e=+t;return 0===e||e!=e?e:e<0?-1:1}},741:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},5749:(t,e,r)=>{var n=r(788),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},3904:(t,e,r)=>{var n=r(4475),i=r(9039),o=r(9504),a=r(655),s=r(3802).trim,u=r(7452),c=o("".charAt),f=n.parseFloat,l=n.Symbol,h=l&&l.iterator,p=1/f(u+"-0")!=-1/0||h&&!i((function(){f(Object(h))}));t.exports=p?function(t){var e=s(a(t)),r=f(e);return 0===r&&"-"===c(e,0)?-0:r}:f},2360:(t,e,r)=>{var n,i=r(8551),o=r(6801),a=r(8727),s=r(421),u=r(397),c=r(4055),f=r(6119),l="prototype",h="script",p=f("IE_PROTO"),y=function(){},v=function(t){return"<"+h+">"+t+""},d=function(t){t.write(v("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;g="undefined"!=typeof document?document.domain&&n?d(n):(e=c("iframe"),r="java"+h+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(n);for(var i=a.length;i--;)delete g[l][a[i]];return g()};s[p]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(y[l]=i(t),r=new y,y[l]=null,r[p]=t):r=g(),void 0===e?r:o.f(r,e)}},6801:(t,e,r)=>{var n=r(3724),i=r(8686),o=r(4913),a=r(8551),s=r(5397),u=r(1072);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),c=i.length,f=0;c>f;)o.f(t,r=i[f++],n[r]);return t}},4913:(t,e,r)=>{var n=r(3724),i=r(5917),o=r(8686),a=r(8551),s=r(6969),u=TypeError,c=Object.defineProperty,f=Object.getOwnPropertyDescriptor,l="enumerable",h="configurable",p="writable";e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&p in r&&!r[p]){var n=f(t,e);n&&n[p]&&(t[e]=r.value,r={configurable:h in r?r[h]:n[h],enumerable:l in r?r[l]:n[l],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},7347:(t,e,r)=>{var n=r(3724),i=r(9565),o=r(8773),a=r(6980),s=r(5397),u=r(6969),c=r(9297),f=r(5917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=s(t),e=u(e),f)try{return l(t,e)}catch(t){}if(c(t,e))return a(!i(o.f,t,e),t[e])}},298:(t,e,r)=>{var n=r(4576),i=r(5397),o=r(8480).f,a=r(7680),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},8480:(t,e,r)=>{var n=r(1828),i=r(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},3717:(t,e)=>{e.f=Object.getOwnPropertySymbols},2787:(t,e,r)=>{var n=r(9297),i=r(4901),o=r(8981),a=r(6119),s=r(2211),u=a("IE_PROTO"),c=Object,f=c.prototype;t.exports=s?c.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof c?f:null}},4124:(t,e,r)=>{var n=r(9039),i=r(34),o=r(4576),a=r(5652),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&(!a||"ArrayBuffer"!==o(t))&&(!s||s(t))}:s},1625:(t,e,r)=>{var n=r(9504);t.exports=n({}.isPrototypeOf)},1828:(t,e,r)=>{var n=r(9504),i=r(9297),o=r(5397),a=r(9617).indexOf,s=r(421),u=n([].push);t.exports=function(t,e){var r,n=o(t),c=0,f=[];for(r in n)!i(s,r)&&i(n,r)&&u(f,r);for(;e.length>c;)i(n,r=e[c++])&&(~a(f,r)||u(f,r));return f}},1072:(t,e,r)=>{var n=r(1828),i=r(8727);t.exports=Object.keys||function(t){return n(t,i)}},8773:(t,e)=>{var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},2967:(t,e,r)=>{var n=r(6706),i=r(34),o=r(7750),a=r(3506);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),a(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},3179:(t,e,r)=>{var n=r(2140),i=r(6955);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},4270:(t,e,r)=>{var n=r(9565),i=r(4901),o=r(34),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},5031:(t,e,r)=>{var n=r(7751),i=r(9504),o=r(8480),a=r(3717),s=r(8551),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},9167:(t,e,r)=>{var n=r(4475);t.exports=n},1056:(t,e,r)=>{var n=r(4913).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},6682:(t,e,r)=>{var n=r(9565),i=r(8551),o=r(4901),a=r(4576),s=r(7323),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var c=n(r,t,e);return null!==c&&i(c),c}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},7323:(t,e,r)=>{var n,i,o=r(9565),a=r(9504),s=r(655),u=r(7979),c=r(8429),f=r(5745),l=r(2360),h=r(1181).get,p=r(3635),y=r(8814),v=f("native-string-replace",String.prototype.replace),d=RegExp.prototype.exec,g=d,m=a("".charAt),x=a("".indexOf),b=a("".replace),w=a("".slice),S=(i=/b*/g,o(d,n=/a/,"a"),o(d,i,"a"),0!==n.lastIndex||0!==i.lastIndex),E=c.BROKEN_CARET,A=void 0!==/()??/.exec("")[1];(S||A||E||p||y)&&(g=function(t){var e,r,n,i,a,c,f,p=this,y=h(p),O=s(t),I=y.raw;if(I)return I.lastIndex=p.lastIndex,e=o(g,I,O),p.lastIndex=I.lastIndex,e;var T=y.groups,k=E&&p.sticky,M=o(u,p),_=p.source,P=0,N=O;if(k&&(M=b(M,"y",""),-1===x(M,"g")&&(M+="g"),N=w(O,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==m(O,p.lastIndex-1))&&(_="(?: "+_+")",N=" "+N,P++),r=new RegExp("^(?:"+_+")",M)),A&&(r=new RegExp("^"+_+"$(?!\\s)",M)),S&&(n=p.lastIndex),i=o(d,k?r:p,N),k?i?(i.input=w(i.input,P),i[0]=w(i[0],P),i.index=p.lastIndex,p.lastIndex+=i[0].length):p.lastIndex=0:S&&i&&(p.lastIndex=p.global?i.index+i[0].length:n),A&&i&&i.length>1&&o(v,i[0],r,(function(){for(a=1;a{var n=r(8551);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},1034:(t,e,r)=>{var n=r(9565),i=r(9297),o=r(1625),a=r(7979),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},8429:(t,e,r)=>{var n=r(9039),i=r(4475).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},3635:(t,e,r)=>{var n=r(9039),i=r(4475).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},8814:(t,e,r)=>{var n=r(9039),i=r(4475).RegExp;t.exports=n((function(){var t=i("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")}))},7750:(t,e,r)=>{var n=r(4117),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},7633:(t,e,r)=>{var n=r(7751),i=r(2106),o=r(8227),a=r(3724),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},687:(t,e,r)=>{var n=r(4913).f,i=r(9297),o=r(8227)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},6119:(t,e,r)=>{var n=r(5745),i=r(3392),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},7629:(t,e,r)=>{var n=r(6395),i=r(4475),o=r(9433),a="__core-js_shared__",s=t.exports=i[a]||o(a,{});(s.versions||(s.versions=[])).push({version:"3.37.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(t,e,r)=>{var n=r(7629);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},2293:(t,e,r)=>{var n=r(8551),i=r(5548),o=r(4117),a=r(8227)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},3061:(t,e,r)=>{var n=r(9039);t.exports=function(t){return n((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},8183:(t,e,r)=>{var n=r(9504),i=r(1291),o=r(655),a=r(7750),s=n("".charAt),u=n("".charCodeAt),c=n("".slice),f=function(t){return function(e,r){var n,f,l=o(a(e)),h=i(r),p=l.length;return h<0||h>=p?t?"":void 0:(n=u(l,h))<55296||n>56319||h+1===p||(f=u(l,h+1))<56320||f>57343?t?s(l,h):n:t?c(l,h,h+2):f-56320+(n-55296<<10)+65536}};t.exports={codeAt:f(!1),charAt:f(!0)}},2333:(t,e,r)=>{var n=r(1291),i=r(655),o=r(7750),a=RangeError;t.exports=function(t){var e=i(o(this)),r="",s=n(t);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(e+=e))1&s&&(r+=e);return r}},3802:(t,e,r)=>{var n=r(9504),i=r(7750),o=r(655),a=r(7452),s=n("".replace),u=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,c,"$1")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},4495:(t,e,r)=>{var n=r(7388),i=r(9039),o=r(4475).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},8242:(t,e,r)=>{var n=r(9565),i=r(7751),o=r(8227),a=r(6840);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},1296:(t,e,r)=>{var n=r(4495);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},1240:(t,e,r)=>{var n=r(9504);t.exports=n(1..valueOf)},5610:(t,e,r)=>{var n=r(1291),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},5854:(t,e,r)=>{var n=r(2777),i=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}},7696:(t,e,r)=>{var n=r(1291),i=r(8014),o=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw new o("Wrong length or index");return r}},5397:(t,e,r)=>{var n=r(7055),i=r(7750);t.exports=function(t){return n(i(t))}},1291:(t,e,r)=>{var n=r(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8014:(t,e,r)=>{var n=r(1291),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},8981:(t,e,r)=>{var n=r(7750),i=Object;t.exports=function(t){return i(n(t))}},8229:(t,e,r)=>{var n=r(9590),i=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new i("Wrong offset");return r}},9590:(t,e,r)=>{var n=r(1291),i=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new i("The argument can't be less than 0");return e}},2777:(t,e,r)=>{var n=r(9565),i=r(34),o=r(757),a=r(5966),s=r(4270),u=r(8227),c=TypeError,f=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,f);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6969:(t,e,r)=>{var n=r(2777),i=r(757);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},2140:(t,e,r)=>{var n={};n[r(8227)("toStringTag")]="z",t.exports="[object z]"===String(n)},655:(t,e,r)=>{var n=r(6955),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},8319:t=>{var e=Math.round;t.exports=function(t){var r=e(t);return r<0?0:r>255?255:255&r}},6823:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},5823:(t,e,r)=>{var n=r(6518),i=r(4475),o=r(9565),a=r(3724),s=r(2805),u=r(4644),c=r(6346),f=r(679),l=r(6980),h=r(6699),p=r(2087),y=r(8014),v=r(7696),d=r(8229),g=r(8319),m=r(6969),x=r(9297),b=r(6955),w=r(34),S=r(757),E=r(2360),A=r(1625),O=r(2967),I=r(8480).f,T=r(3251),k=r(9213).forEach,M=r(7633),_=r(2106),P=r(4913),N=r(7347),j=r(5370),R=r(1181),V=r(3167),D=R.get,C=R.set,F=R.enforce,z=P.f,L=N.f,B=i.RangeError,G=c.ArrayBuffer,U=G.prototype,H=c.DataView,W=u.NATIVE_ARRAY_BUFFER_VIEWS,Y=u.TYPED_ARRAY_TAG,$=u.TypedArray,q=u.TypedArrayPrototype,K=u.isTypedArray,X="BYTES_PER_ELEMENT",J="Wrong length",Z=function(t,e){_(t,e,{configurable:!0,get:function(){return D(this)[e]}})},Q=function(t){var e;return A(U,t)||"ArrayBuffer"===(e=b(t))||"SharedArrayBuffer"===e},tt=function(t,e){return K(t)&&!S(e)&&e in t&&p(+e)&&e>=0},et=function(t,e){return e=m(e),tt(t,e)?l(2,t[e]):L(t,e)},rt=function(t,e,r){return e=m(e),!(tt(t,e)&&w(r)&&x(r,"value"))||x(r,"get")||x(r,"set")||r.configurable||x(r,"writable")&&!r.writable||x(r,"enumerable")&&!r.enumerable?z(t,e,r):(t[e]=r.value,t)};a?(W||(N.f=et,P.f=rt,Z(q,"buffer"),Z(q,"byteOffset"),Z(q,"byteLength"),Z(q,"length")),n({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:et,defineProperty:rt}),t.exports=function(t,e,r){var a=t.match(/\d+/)[0]/8,u=t+(r?"Clamped":"")+"Array",c="get"+t,l="set"+t,p=i[u],m=p,x=m&&m.prototype,b={},S=function(t,e){z(t,e,{get:function(){return function(t,e){var r=D(t);return r.view[c](e*a+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=D(t);i.view[l](e*a+i.byteOffset,r?g(n):n,!0)}(this,e,t)},enumerable:!0})};W?s&&(m=e((function(t,e,r,n){return f(t,x),V(w(e)?Q(e)?void 0!==n?new p(e,d(r,a),n):void 0!==r?new p(e,d(r,a)):new p(e):K(e)?j(m,e):o(T,m,e):new p(v(e)),t,m)})),O&&O(m,$),k(I(p),(function(t){t in m||h(m,t,p[t])})),m.prototype=x):(m=e((function(t,e,r,n){f(t,x);var i,s,u,c=0,l=0;if(w(e)){if(!Q(e))return K(e)?j(m,e):o(T,m,e);i=e,l=d(r,a);var h=e.byteLength;if(void 0===n){if(h%a)throw new B(J);if((s=h-l)<0)throw new B(J)}else if((s=y(n)*a)+l>h)throw new B(J);u=s/a}else u=v(e),i=new G(s=u*a);for(C(t,{buffer:i,byteOffset:l,byteLength:s,length:u,view:new H(i)});c{var n=r(4475),i=r(9039),o=r(4428),a=r(4644).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;t.exports=!a||!i((function(){u(1)}))||!i((function(){new u(-1)}))||!o((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||i((function(){return 1!==new u(new s(2),1,void 0).length}))},6357:(t,e,r)=>{var n=r(5370),i=r(1412);t.exports=function(t,e){return n(i(t),e)}},3251:(t,e,r)=>{var n=r(6080),i=r(9565),o=r(5548),a=r(8981),s=r(6198),u=r(81),c=r(851),f=r(4209),l=r(1108),h=r(4644).aTypedArrayConstructor,p=r(5854);t.exports=function(t){var e,r,y,v,d,g,m,x,b=o(this),w=a(t),S=arguments.length,E=S>1?arguments[1]:void 0,A=void 0!==E,O=c(w);if(O&&!f(O))for(x=(m=u(w,O)).next,w=[];!(g=i(x,m)).done;)w.push(g.value);for(A&&S>2&&(E=n(E,arguments[2])),r=s(w),y=new(h(b))(r),v=l(y),e=0;r>e;e++)d=A?E(w[e],e):w[e],y[e]=v?p(d):+d;return y}},1412:(t,e,r)=>{var n=r(4644),i=r(2293),o=n.aTypedArrayConstructor,a=n.getTypedArrayConstructor;t.exports=function(t){return o(i(t,a(t)))}},3392:(t,e,r)=>{var n=r(9504),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},7040:(t,e,r)=>{var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(t,e,r)=>{var n=r(3724),i=r(9039);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:(t,e,r)=>{var n=r(4475),i=r(4901),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},511:(t,e,r)=>{var n=r(9167),i=r(9297),o=r(1951),a=r(4913).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},1951:(t,e,r)=>{var n=r(8227);e.f=n},8227:(t,e,r)=>{var n=r(4475),i=r(5745),o=r(9297),a=r(3392),s=r(4495),u=r(7040),c=n.Symbol,f=i("wks"),l=u?c.for||c:c&&c.withoutSetter||a;t.exports=function(t){return o(f,t)||(f[t]=s&&o(c,t)?c[t]:l("Symbol."+t)),f[t]}},7452:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},1745:(t,e,r)=>{var n=r(6518),i=r(7476),o=r(9039),a=r(6346),s=r(8551),u=r(5610),c=r(8014),f=r(2293),l=a.ArrayBuffer,h=a.DataView,p=h.prototype,y=i(l.prototype.slice),v=i(p.getUint8),d=i(p.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(y&&void 0===e)return y(s(this),t);for(var r=s(this).byteLength,n=u(t,r),i=u(void 0===e?r:e,r),o=new(f(this,l))(c(i-n)),a=new h(this),p=new h(o),g=0;n{var n=r(6518),i=r(9213).every;n({target:"Array",proto:!0,forced:!r(4598)("every")},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},2008:(t,e,r)=>{var n=r(6518),i=r(9213).filter;n({target:"Array",proto:!0,forced:!r(597)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},113:(t,e,r)=>{var n=r(6518),i=r(9213).find,o=r(6469),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},6449:(t,e,r)=>{var n=r(6518),i=r(259),o=r(8981),a=r(6198),s=r(1291),u=r(1469);n({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),r=a(e),n=u(e,0);return n.length=i(n,e,e,r,0,void 0===t?1:s(t)),n}})},1629:(t,e,r)=>{var n=r(6518),i=r(235);n({target:"Array",proto:!0,forced:[].forEach!==i},{forEach:i})},3418:(t,e,r)=>{var n=r(6518),i=r(7916);n({target:"Array",stat:!0,forced:!r(4428)((function(t){Array.from(t)}))},{from:i})},4423:(t,e,r)=>{var n=r(6518),i=r(9617).includes,o=r(9039),a=r(6469);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},5276:(t,e,r)=>{var n=r(6518),i=r(7476),o=r(9617).indexOf,a=r(4598),s=i([].indexOf),u=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:u||!a("indexOf")},{indexOf:function(t){var e=arguments.length>1?arguments[1]:void 0;return u?s(this,t,e)||0:o(this,t,e)}})},4346:(t,e,r)=>{r(6518)({target:"Array",stat:!0},{isArray:r(4376)})},3792:(t,e,r)=>{var n=r(5397),i=r(6469),o=r(6269),a=r(1181),s=r(4913).f,u=r(1088),c=r(2529),f=r(6395),l=r(3724),h="Array Iterator",p=a.set,y=a.getterFor(h);t.exports=u(Array,"Array",(function(t,e){p(this,{type:h,target:n(t),index:0,kind:e})}),(function(){var t=y(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)}),"values");var v=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!f&&l&&"values"!==v.name)try{s(v,"name",{value:"values"})}catch(t){}},8598:(t,e,r)=>{var n=r(6518),i=r(9504),o=r(7055),a=r(5397),s=r(4598),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},8921:(t,e,r)=>{var n=r(6518),i=r(8379);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},2062:(t,e,r)=>{var n=r(6518),i=r(9213).map;n({target:"Array",proto:!0,forced:!r(597)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},4782:(t,e,r)=>{var n=r(6518),i=r(4376),o=r(3517),a=r(34),s=r(5610),u=r(6198),c=r(5397),f=r(4659),l=r(8227),h=r(597),p=r(7680),y=h("slice"),v=l("species"),d=Array,g=Math.max;n({target:"Array",proto:!0,forced:!y},{slice:function(t,e){var r,n,l,h=c(this),y=u(h),m=s(t,y),x=s(void 0===e?y:e,y);if(i(h)&&(r=h.constructor,(o(r)&&(r===d||i(r.prototype))||a(r)&&null===(r=r[v]))&&(r=void 0),r===d||void 0===r))return p(h,m,x);for(n=new(void 0===r?d:r)(g(x-m,0)),l=0;m{var n=r(6518),i=r(9504),o=r(9306),a=r(8981),s=r(6198),u=r(4606),c=r(655),f=r(9039),l=r(4488),h=r(4598),p=r(8834),y=r(3202),v=r(7388),d=r(9160),g=[],m=i(g.sort),x=i(g.push),b=f((function(){g.sort(void 0)})),w=f((function(){g.sort(null)})),S=h("sort"),E=!f((function(){if(v)return v<70;if(!(p&&p>3)){if(y)return!0;if(d)return d<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:e+n,v:r})}for(g.sort((function(t,e){return e.v-t.v})),n=0;nc(r)?1:-1}}(t)),r=s(i),n=0;n{var n=r(6518),i=r(8981),o=r(5610),a=r(1291),s=r(6198),u=r(4527),c=r(6837),f=r(1469),l=r(4659),h=r(4606),p=r(597)("splice"),y=Math.max,v=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(t,e){var r,n,p,d,g,m,x=i(this),b=s(x),w=o(t,b),S=arguments.length;for(0===S?r=n=0:1===S?(r=0,n=b-w):(r=S-2,n=v(y(a(e),0),b-w)),c(b+r-n),p=f(x,n),d=0;db-n+r;d--)h(x,d-1)}else if(r>n)for(d=b-n;d>w;d--)m=d+r-1,(g=d+n-1)in x?x[m]=x[g]:h(x,m);for(d=0;d{r(6469)("flat")},4359:(t,e,r)=>{var n=r(6518),i=r(6346);n({global:!0,constructor:!0,forced:!r(7811)},{DataView:i.DataView})},8309:(t,e,r)=>{r(4359)},9572:(t,e,r)=>{var n=r(9297),i=r(6840),o=r(3640),a=r(8227)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},3288:(t,e,r)=>{var n=r(9504),i=r(6840),o=Date.prototype,a="Invalid Date",s="toString",u=n(o[s]),c=n(o.getTime);String(new Date(NaN))!==a&&i(o,s,(function(){var t=c(this);return t==t?u(this):a}))},3110:(t,e,r)=>{var n=r(6518),i=r(7751),o=r(8745),a=r(9565),s=r(9504),u=r(9039),c=r(4901),f=r(757),l=r(7680),h=r(6933),p=r(4495),y=String,v=i("JSON","stringify"),d=s(/./.exec),g=s("".charAt),m=s("".charCodeAt),x=s("".replace),b=s(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,A=!p||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==v([t])||"{}"!==v({a:t})||"{}"!==v(Object(t))})),O=u((function(){return'"\\udf06\\ud834"'!==v("\udf06\ud834")||'"\\udead"'!==v("\udead")})),I=function(t,e){var r=l(arguments),n=h(e);if(c(n)||void 0!==t&&!f(t))return r[1]=function(t,e){if(c(n)&&(e=a(n,this,y(t),e)),!f(e))return e},o(v,null,r)},T=function(t,e,r){var n=g(r,e-1),i=g(r,e+1);return d(S,t)&&!d(E,i)||d(E,t)&&!d(S,n)?"\\u"+b(m(t,0),16):t};v&&n({target:"JSON",stat:!0,arity:3,forced:A||O},{stringify:function(t,e,r){var n=l(arguments),i=o(A?I:v,null,n);return O&&"string"==typeof i?x(i,w,T):i}})},8523:(t,e,r)=>{r(6468)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(6938))},6033:(t,e,r)=>{r(8523)},2892:(t,e,r)=>{var n=r(6518),i=r(6395),o=r(3724),a=r(4475),s=r(9167),u=r(9504),c=r(2796),f=r(9297),l=r(3167),h=r(1625),p=r(757),y=r(2777),v=r(9039),d=r(8480).f,g=r(7347).f,m=r(4913).f,x=r(1240),b=r(3802).trim,w="Number",S=a[w],E=s[w],A=S.prototype,O=a.TypeError,I=u("".slice),T=u("".charCodeAt),k=c(w,!S(" 0o1")||!S("0b1")||S("+0x1")),M=function(t){var e,r=arguments.length<1?0:S(function(t){var e=y(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,i,o,a,s,u,c=y(t,"number");if(p(c))throw new O("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=b(c),43===(e=T(c,0))||45===e){if(88===(r=T(c,2))||120===r)return NaN}else if(48===e){switch(T(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(a=(o=I(c,2)).length,s=0;si)return NaN;return parseInt(o,n)}return+c}(e)}(t));return h(A,e=this)&&v((function(){x(e)}))?l(Object(r),this,M):r};M.prototype=A,k&&!i&&(A.constructor=M),n({global:!0,constructor:!0,wrap:!0,forced:k},{Number:M});var _=function(t,e){for(var r,n=o?d(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)f(e,r=n[i])&&!f(t,r)&&m(t,r,g(e,r))};i&&E&&_(s[w],E),(k||i)&&_(s[w],S)},7220:(t,e,r)=>{var n=r(6518),i=r(3904);n({target:"Number",stat:!0,forced:Number.parseFloat!==i},{parseFloat:i})},9868:(t,e,r)=>{var n=r(6518),i=r(9504),o=r(1291),a=r(1240),s=r(2333),u=r(9039),c=RangeError,f=String,l=Math.floor,h=i(s),p=i("".slice),y=i(1..toFixed),v=function(t,e,r){return 0===e?r:e%2==1?v(t,e-1,r*t):v(t*t,e/2,r)},d=function(t,e,r){for(var n=-1,i=r;++n<6;)i+=e*t[n],t[n]=i%1e7,i=l(i/1e7)},g=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=l(n/e),n=n%e*1e7},m=function(t){for(var e=6,r="";--e>=0;)if(""!==r||0===e||0!==t[e]){var n=f(t[e]);r=""===r?n:r+h("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:u((function(){return"0.000"!==y(8e-5,3)||"1"!==y(.9,0)||"1.25"!==y(1.255,2)||"1000000000000000128"!==y(0xde0b6b3a7640080,0)}))||!u((function(){y({})}))},{toFixed:function(t){var e,r,n,i,s=a(this),u=o(t),l=[0,0,0,0,0,0],y="",x="0";if(u<0||u>20)throw new c("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return f(s);if(s<0&&(y="-",s=-s),s>1e-21)if(r=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(s*v(2,69,1))-69)<0?s*v(2,-e,1):s/v(2,e,1),r*=4503599627370496,(e=52-e)>0){for(d(l,0,r),n=u;n>=7;)d(l,1e7,0),n-=7;for(d(l,v(10,n,1),0),n=e-1;n>=23;)g(l,1<<23),n-=23;g(l,1<0?y+((i=x.length)<=u?"0."+h("0",u-i)+x:p(x,0,i-u)+"."+p(x,i-u)):y+x}})},9904:(t,e,r)=>{r(6518)({target:"Object",stat:!0,sham:!r(3724)},{create:r(2360)})},4185:(t,e,r)=>{var n=r(6518),i=r(3724),o=r(4913).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!i},{defineProperty:o})},3851:(t,e,r)=>{var n=r(6518),i=r(9039),o=r(5397),a=r(7347).f,s=r(3724);n({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},9773:(t,e,r)=>{var n=r(6518),i=r(4495),o=r(9039),a=r(3717),s=r(8981);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},9432:(t,e,r)=>{var n=r(6518),i=r(8981),o=r(1072);n({target:"Object",stat:!0,forced:r(9039)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},6099:(t,e,r)=>{var n=r(2140),i=r(6840),o=r(3179);n||i(Object.prototype,"toString",o,{unsafe:!0})},8459:(t,e,r)=>{var n=r(6518),i=r(3904);n({global:!0,forced:parseFloat!==i},{parseFloat:i})},4864:(t,e,r)=>{var n=r(3724),i=r(4475),o=r(9504),a=r(2796),s=r(3167),u=r(6699),c=r(2360),f=r(8480).f,l=r(1625),h=r(788),p=r(655),y=r(1034),v=r(8429),d=r(1056),g=r(6840),m=r(9039),x=r(9297),b=r(1181).enforce,w=r(7633),S=r(8227),E=r(3635),A=r(8814),O=S("match"),I=i.RegExp,T=I.prototype,k=i.SyntaxError,M=o(T.exec),_=o("".charAt),P=o("".replace),N=o("".indexOf),j=o("".slice),R=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,V=/a/g,D=/a/g,C=new I(V)!==V,F=v.MISSED_STICKY,z=v.UNSUPPORTED_Y;if(a("RegExp",n&&(!C||F||E||A||m((function(){return D[O]=!1,I(V)!==V||I(D)===D||"/a/i"!==String(I(V,"i"))}))))){for(var L=function(t,e){var r,n,i,o,a,f,v=l(T,this),d=h(t),g=void 0===e,m=[],w=t;if(!v&&d&&g&&t.constructor===L)return t;if((d||l(T,t))&&(t=t.source,g&&(e=y(w))),t=void 0===t?"":p(t),e=void 0===e?"":p(e),w=t,E&&"dotAll"in V&&(n=!!e&&N(e,"s")>-1)&&(e=P(e,/s/g,"")),r=e,F&&"sticky"in V&&(i=!!e&&N(e,"y")>-1)&&z&&(e=P(e,/y/g,"")),A&&(o=function(t){for(var e,r=t.length,n=0,i="",o=[],a=c(null),s=!1,u=!1,f=0,l="";n<=r;n++){if("\\"===(e=_(t,n)))e+=_(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:M(R,j(t,n+1))&&(n+=2,u=!0),i+=e,f++;continue;case">"===e&&u:if(""===l||x(a,l))throw new k("Invalid capture group name");a[l]=!0,o[o.length]=[l,f],u=!1,l="";continue}u?l+=e:i+=e}return[i,o]}(t),t=o[0],m=o[1]),a=s(I(t,e),v?this:T,L),(n||i||m.length)&&(f=b(a),n&&(f.dotAll=!0,f.raw=L(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=_(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+_(t,++n);return i}(t),r)),i&&(f.sticky=!0),m.length&&(f.groups=m)),t!==w)try{u(a,"source",""===w?"(?:)":w)}catch(t){}return a},B=f(I),G=0;B.length>G;)d(L,I,B[G++]);T.constructor=L,L.prototype=T,g(i,"RegExp",L,{constructor:!0})}w("RegExp")},7495:(t,e,r)=>{var n=r(6518),i=r(7323);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},8781:(t,e,r)=>{var n=r(350).PROPER,i=r(6840),o=r(8551),a=r(655),s=r(9039),u=r(1034),c="toString",f=RegExp.prototype,l=f[c],h=s((function(){return"/a/b"!==l.call({source:"a",flags:"b"})})),p=n&&l.name!==c;(h||p)&&i(f,c,(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},2405:(t,e,r)=>{r(6468)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(6938))},1415:(t,e,r)=>{r(2405)},4298:(t,e,r)=>{var n=r(6518),i=r(7240);n({target:"String",proto:!0,forced:r(3061)("fixed")},{fixed:function(){return i(this,"tt","","")}})},1699:(t,e,r)=>{var n=r(6518),i=r(9504),o=r(5749),a=r(7750),s=r(655),u=r(1436),c=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~c(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},7764:(t,e,r)=>{var n=r(8183).charAt,i=r(655),o=r(1181),a=r(1088),s=r(2529),u="String Iterator",c=o.set,f=o.getterFor(u);a(String,"String",(function(t){c(this,{type:u,string:i(t),index:0})}),(function(){var t,e=f(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},1761:(t,e,r)=>{var n=r(9565),i=r(9228),o=r(8551),a=r(4117),s=r(8014),u=r(655),c=r(7750),f=r(5966),l=r(7829),h=r(6682);i("match",(function(t,e,r){return[function(e){var r=c(this),i=a(e)?void 0:f(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=o(this),i=u(t),a=r(e,n,i);if(a.done)return a.value;if(!n.global)return h(n,i);var c=n.unicode;n.lastIndex=0;for(var f,p=[],y=0;null!==(f=h(n,i));){var v=u(f[0]);p[y]=v,""===v&&(n.lastIndex=l(i,s(n.lastIndex),c)),y++}return 0===y?null:p}]}))},5440:(t,e,r)=>{var n=r(8745),i=r(9565),o=r(9504),a=r(9228),s=r(9039),u=r(8551),c=r(4901),f=r(4117),l=r(1291),h=r(8014),p=r(655),y=r(7750),v=r(7829),d=r(5966),g=r(2478),m=r(6682),x=r(8227)("replace"),b=Math.max,w=Math.min,S=o([].concat),E=o([].push),A=o("".indexOf),O=o("".slice),I="$0"==="a".replace(/./,"$0"),T=!!/./[x]&&""===/./[x]("a","$0");a("replace",(function(t,e,r){var o=T?"$":"$0";return[function(t,r){var n=y(this),o=f(t)?void 0:d(t,x);return o?i(o,t,n,r):i(e,p(n),t,r)},function(t,i){var a=u(this),s=p(t);if("string"==typeof i&&-1===A(i,o)&&-1===A(i,"$<")){var f=r(e,a,s,i);if(f.done)return f.value}var y=c(i);y||(i=p(i));var d,x=a.global;x&&(d=a.unicode,a.lastIndex=0);for(var I,T=[];null!==(I=m(a,s))&&(E(T,I),x);)""===p(I[0])&&(a.lastIndex=v(s,h(a.lastIndex),d));for(var k,M="",_=0,P=0;P=_&&(M+=O(s,_,R)+N,_=R+j.length)}return M+O(s,_)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}))||!I||T)},744:(t,e,r)=>{var n=r(9565),i=r(9504),o=r(9228),a=r(8551),s=r(4117),u=r(7750),c=r(2293),f=r(7829),l=r(8014),h=r(655),p=r(5966),y=r(6682),v=r(8429),d=r(9039),g=v.UNSUPPORTED_Y,m=Math.min,x=i([].push),b=i("".slice),w=!d((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),S="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;o("split",(function(t,e,r){var i="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:n(e,this,t,r)}:e;return[function(e,r){var o=u(this),a=s(e)?void 0:p(e,t);return a?n(a,e,o,r):n(i,h(o),e,r)},function(t,n){var o=a(this),s=h(t);if(!S){var u=r(i,o,s,n,i!==e);if(u.done)return u.value}var p=c(o,RegExp),v=o.unicode,d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(g?"g":"y"),w=new p(g?"^(?:"+o.source+")":o,d),E=void 0===n?4294967295:n>>>0;if(0===E)return[];if(0===s.length)return null===y(w,s)?[s]:[];for(var A=0,O=0,I=[];O{var n,i=r(6518),o=r(7476),a=r(7347).f,s=r(8014),u=r(655),c=r(5749),f=r(7750),l=r(1436),h=r(6395),p=o("".slice),y=Math.min,v=l("startsWith");i({target:"String",proto:!0,forced:!(!h&&!v&&(n=a(String.prototype,"startsWith"),n&&!n.writable)||v)},{startsWith:function(t){var e=u(f(this));c(t);var r=s(y(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return p(e,r,r+n.length)===n}})},6761:(t,e,r)=>{var n=r(6518),i=r(4475),o=r(9565),a=r(9504),s=r(6395),u=r(3724),c=r(4495),f=r(9039),l=r(9297),h=r(1625),p=r(8551),y=r(5397),v=r(6969),d=r(655),g=r(6980),m=r(2360),x=r(1072),b=r(8480),w=r(298),S=r(3717),E=r(7347),A=r(4913),O=r(6801),I=r(8773),T=r(6840),k=r(2106),M=r(5745),_=r(6119),P=r(421),N=r(3392),j=r(8227),R=r(1951),V=r(511),D=r(8242),C=r(687),F=r(1181),z=r(9213).forEach,L=_("hidden"),B="Symbol",G="prototype",U=F.set,H=F.getterFor(B),W=Object[G],Y=i.Symbol,$=Y&&Y[G],q=i.RangeError,K=i.TypeError,X=i.QObject,J=E.f,Z=A.f,Q=w.f,tt=I.f,et=a([].push),rt=M("symbols"),nt=M("op-symbols"),it=M("wks"),ot=!X||!X[G]||!X[G].findChild,at=function(t,e,r){var n=J(W,e);n&&delete W[e],Z(t,e,r),n&&t!==W&&Z(W,e,n)},st=u&&f((function(){return 7!==m(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a}))?at:Z,ut=function(t,e){var r=rt[t]=m($);return U(r,{type:B,tag:t,description:e}),u||(r.description=e),r},ct=function(t,e,r){t===W&&ct(nt,e,r),p(t);var n=v(e);return p(r),l(rt,n)?(r.enumerable?(l(t,L)&&t[L][n]&&(t[L][n]=!1),r=m(r,{enumerable:g(0,!1)})):(l(t,L)||Z(t,L,g(1,m(null))),t[L][n]=!0),st(t,n,r)):Z(t,n,r)},ft=function(t,e){p(t);var r=y(e),n=x(r).concat(yt(r));return z(n,(function(e){u&&!o(lt,r,e)||ct(t,e,r[e])})),t},lt=function(t){var e=v(t),r=o(tt,this,e);return!(this===W&&l(rt,e)&&!l(nt,e))&&(!(r||!l(this,e)||!l(rt,e)||l(this,L)&&this[L][e])||r)},ht=function(t,e){var r=y(t),n=v(e);if(r!==W||!l(rt,n)||l(nt,n)){var i=J(r,n);return!i||!l(rt,n)||l(r,L)&&r[L][n]||(i.enumerable=!0),i}},pt=function(t){var e=Q(y(t)),r=[];return z(e,(function(t){l(rt,t)||l(P,t)||et(r,t)})),r},yt=function(t){var e=t===W,r=Q(e?nt:y(t)),n=[];return z(r,(function(t){!l(rt,t)||e&&!l(W,t)||et(n,rt[t])})),n};c||(T($=(Y=function(){if(h($,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,e=N(t),r=function(t){var n=void 0===this?i:this;n===W&&o(r,nt,t),l(n,L)&&l(n[L],e)&&(n[L][e]=!1);var a=g(1,t);try{st(n,e,a)}catch(t){if(!(t instanceof q))throw t;at(n,e,a)}};return u&&ot&&st(W,e,{configurable:!0,set:r}),ut(e,t)})[G],"toString",(function(){return H(this).tag})),T(Y,"withoutSetter",(function(t){return ut(N(t),t)})),I.f=lt,A.f=ct,O.f=ft,E.f=ht,b.f=w.f=pt,S.f=yt,R.f=function(t){return ut(j(t),t)},u&&(k($,"description",{configurable:!0,get:function(){return H(this).description}}),s||T(W,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Y}),z(x(it),(function(t){V(t)})),n({target:B,stat:!0,forced:!c},{useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!c,sham:!u},{create:function(t,e){return void 0===e?m(t):ft(m(t),e)},defineProperty:ct,defineProperties:ft,getOwnPropertyDescriptor:ht}),n({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:pt}),D(),C(Y,B),P[L]=!0},9463:(t,e,r)=>{var n=r(6518),i=r(3724),o=r(4475),a=r(9504),s=r(9297),u=r(4901),c=r(1625),f=r(655),l=r(2106),h=r(7740),p=o.Symbol,y=p&&p.prototype;if(i&&u(p)&&(!("description"in y)||void 0!==p().description)){var v={},d=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:f(arguments[0]),e=c(y,this)?new p(t):void 0===t?p():p(t);return""===t&&(v[e]=!0),e};h(d,p),d.prototype=y,y.constructor=d;var g="Symbol(description detection)"===String(p("description detection")),m=a(y.valueOf),x=a(y.toString),b=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),S=a("".slice);l(y,"description",{configurable:!0,get:function(){var t=m(this);if(s(v,t))return"";var e=x(t),r=g?S(e,7,-1):w(e,b,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:d})}},1510:(t,e,r)=>{var n=r(6518),i=r(7751),o=r(9297),a=r(655),s=r(5745),u=r(1296),c=s("string-to-symbol-registry"),f=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(c,e))return c[e];var r=i("Symbol")(e);return c[e]=r,f[r]=e,r}})},2259:(t,e,r)=>{r(511)("iterator")},2675:(t,e,r)=>{r(6761),r(1510),r(7812),r(3110),r(9773)},7812:(t,e,r)=>{var n=r(6518),i=r(9297),o=r(757),a=r(6823),s=r(5745),u=r(1296),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(c,t))return c[t]}})},5700:(t,e,r)=>{var n=r(511),i=r(8242);n("toPrimitive"),i()},1630:(t,e,r)=>{var n=r(9504),i=r(4644),o=n(r(7029)),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return o(a(this),t,e,arguments.length>2?arguments[2]:void 0)}))},2170:(t,e,r)=>{var n=r(4644),i=r(9213).every,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},5044:(t,e,r)=>{var n=r(4644),i=r(4373),o=r(5854),a=r(6955),s=r(9565),u=r(9504),c=r(9039),f=n.aTypedArray,l=n.exportTypedArrayMethod,h=u("".slice);l("fill",(function(t){var e=arguments.length;f(this);var r="Big"===h(a(this),0,3)?o(t):+t;return s(i,this,r,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)}),c((function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t})))},1920:(t,e,r)=>{var n=r(4644),i=r(9213).filter,o=r(6357),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(t){var e=i(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},9955:(t,e,r)=>{var n=r(4644),i=r(9213).findIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},1694:(t,e,r)=>{var n=r(4644),i=r(9213).find,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},9833:(t,e,r)=>{r(5823)("Float64",(function(t){return function(e,r,n){return t(this,e,r,n)}}))},3206:(t,e,r)=>{var n=r(4644),i=r(9213).forEach,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(t){i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},4496:(t,e,r)=>{var n=r(4644),i=r(9617).includes,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},6651:(t,e,r)=>{var n=r(4644),i=r(9617).indexOf,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},2887:(t,e,r)=>{var n=r(4475),i=r(9039),o=r(9504),a=r(4644),s=r(3792),u=r(8227)("iterator"),c=n.Uint8Array,f=o(s.values),l=o(s.keys),h=o(s.entries),p=a.aTypedArray,y=a.exportTypedArrayMethod,v=c&&c.prototype,d=!i((function(){v[u].call([1])})),g=!!v&&v.values&&v[u]===v.values&&"values"===v.values.name,m=function(){return f(p(this))};y("entries",(function(){return h(p(this))}),d),y("keys",(function(){return l(p(this))}),d),y("values",m,d||!g,{name:"values"}),y(u,m,d||!g,{name:"values"})},9369:(t,e,r)=>{var n=r(4644),i=r(9504),o=n.aTypedArray,a=n.exportTypedArrayMethod,s=i([].join);a("join",(function(t){return s(o(this),t)}))},6812:(t,e,r)=>{var n=r(4644),i=r(8745),o=r(8379),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(t){var e=arguments.length;return i(o,a(this),e>1?[t,arguments[1]]:[t])}))},8995:(t,e,r)=>{var n=r(4644),i=r(9213).map,o=r(1412),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(t){return i(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(o(t))(e)}))}))},6072:(t,e,r)=>{var n=r(4644),i=r(926).right,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(t){var e=arguments.length;return i(o(this),t,e,e>1?arguments[1]:void 0)}))},1575:(t,e,r)=>{var n=r(4644),i=r(926).left,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(t){var e=arguments.length;return i(o(this),t,e,e>1?arguments[1]:void 0)}))},8747:(t,e,r)=>{var n=r(4644),i=n.aTypedArray,o=n.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var t,e=this,r=i(e).length,n=a(r/2),o=0;o{var n=r(4475),i=r(9565),o=r(4644),a=r(6198),s=r(8229),u=r(8981),c=r(9039),f=n.RangeError,l=n.Int8Array,h=l&&l.prototype,p=h&&h.set,y=o.aTypedArray,v=o.exportTypedArrayMethod,d=!c((function(){var t=new Uint8ClampedArray(2);return i(p,t,{length:1,0:3},1),3!==t[1]})),g=d&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var t=new l(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));v("set",(function(t){y(this);var e=s(arguments.length>1?arguments[1]:void 0,1),r=u(t);if(d)return i(p,this,r,e);var n=this.length,o=a(r),c=0;if(o+e>n)throw new f("Wrong length");for(;c{var n=r(4644),i=r(1412),o=r(9039),a=r(7680),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(t,e){for(var r=a(s(this),t,e),n=i(this),o=0,u=r.length,c=new n(u);u>o;)c[o]=r[o++];return c}),o((function(){new Int8Array(1).slice()})))},7301:(t,e,r)=>{var n=r(4644),i=r(9213).some,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)}))},373:(t,e,r)=>{var n=r(4475),i=r(7476),o=r(9039),a=r(9306),s=r(4488),u=r(4644),c=r(8834),f=r(3202),l=r(7388),h=r(9160),p=u.aTypedArray,y=u.exportTypedArrayMethod,v=n.Uint16Array,d=v&&i(v.prototype.sort),g=!(!d||o((function(){d(new v(2),null)}))&&o((function(){d(new v(2),{})}))),m=!!d&&!o((function(){if(l)return l<74;if(c)return c<67;if(f)return!0;if(h)return h<602;var t,e,r=new v(516),n=Array(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(d(r,(function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(r[t]!==n[t])return!0}));y("sort",(function(t){return void 0!==t&&a(t),m?d(this,t):s(p(this),function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?-1:e!=e?1:0===e&&0===r?1/e>0&&1/r<0?1:-1:e>r}}(t))}),!m||g)},6614:(t,e,r)=>{var n=r(4644),i=r(8014),o=r(5610),a=r(1412),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(t,e){var r=s(this),n=r.length,u=o(t,n);return new(a(r))(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,i((void 0===e?n:o(e,n))-u))}))},1405:(t,e,r)=>{var n=r(4475),i=r(8745),o=r(4644),a=r(9039),s=r(7680),u=n.Int8Array,c=o.aTypedArray,f=o.exportTypedArrayMethod,l=[].toLocaleString,h=!!u&&a((function(){l.call(new u(1))}));f("toLocaleString",(function(){return i(l,h?s(c(this)):c(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!==new u([1,2]).toLocaleString()}))||!a((function(){u.prototype.toLocaleString.call([1,2])})))},3684:(t,e,r)=>{var n=r(4644).exportTypedArrayMethod,i=r(9039),o=r(4475),a=r(9504),s=o.Uint8Array,u=s&&s.prototype||{},c=[].toString,f=a([].join);i((function(){c.call({})}))&&(c=function(){return f(this)});var l=u.toString!==c;n("toString",c,l)},3500:(t,e,r)=>{var n=r(4475),i=r(7400),o=r(9296),a=r(235),s=r(6699),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var c in i)i[c]&&u(n[c]&&n[c].prototype);u(o)},2953:(t,e,r)=>{var n=r(4475),i=r(7400),o=r(9296),a=r(3792),s=r(6699),u=r(687),c=r(8227)("iterator"),f=a.values,l=function(t,e){if(t){if(t[c]!==f)try{s(t,c,f)}catch(e){t[c]=f}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var h in i)l(n[h]&&n[h].prototype,h);l(o,"DOMTokenList")}},n={};function i(t){var e=n[t];if(void 0!==e)return e.exports;var o=n[t]={exports:{}};return r[t].call(o.exports,o,o.exports,i),o.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var r in e)i.o(e,r)&&!i.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};return(()=>{i.r(o),i.d(o,{factory:()=>wt}),i(2675),i(9463),i(2259),i(5700),i(1629),i(4423),i(3792),i(8598),i(9572),i(6033),i(2892),i(7220),i(9868),i(4185),i(6099),i(7495),i(1699),i(7764),i(5440),i(3500),i(2953);var t=i(3893);function e(){var t,e,r,n=(r=(e=navigator.userAgent).match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(r[1])?"IE "+((t=/\brv[ :]+(\d+)/g.exec(e)||[])[1]||""):"Chrome"===r[1]&&null!==(t=e.match(/\b(OPR|Edge)\/(\d+)/))?t.slice(1).join(" ").replace("OPR","Opera"):(r=r[2]?[r[1],r[2]]:[navigator.appName,navigator.appVersion,"-?"],null!==(t=e.match(/version\/(\d+)/i))&&r.splice(1,1,t[1]),r.join(" ")));return"IE 11"==n||"MSIE"===n.substring(0,4)}function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function n(t,e){for(var r=0;r"},zoom_off:{class:"drop",unclass:"neutral",tooltip:"deactivate pan/zoom",icon:""}},onclick:function(r){var n,i=t.select(this);e.on?(e.zoomOff(),n=r.zoom_on):(e.zoomOn(),n=r.zoom_off),i.attr("title",n.tooltip).classed(n.class,!0).classed(n.unclass,!1).html(n.icon)}},{key:"zoom_rect",block:"zoom",class:"neutral",tooltip:"zoom with rectangle",icon:"",onclick:function(){e.zoomRect()}},{key:"zoom_reset",block:"zoom",class:"neutral",tooltip:"reset pan/zoom",icon:"",onclick:function(){e.zoomIdentity()}}]}},{key:"zoomOn",value:function(){if(!this.on){this.on=!0;var e=t.select("#"+this.svgid+"_rootg");t.select("#"+this.svgid).call(this.zoomer.on("start",(function(){e.style("cursor","move")})).on("zoom",(function(){e.attr("transform",t.event.transform)})).on("end",(function(){e.style("cursor","auto")})))}}},{key:"zoomIdentity",value:function(){var e=t.zoomTransform(t.select("#"+this.svgid+"_rootg").node());if(1!==e.k||0!==e.x||0!==e.y){var r=this.on;r||this.zoomOn();var n=this;t.select("#"+this.svgid).transition().duration(this.duration).on("end",(function(){r||n.zoomOff()})).call(this.zoomer.transform,t.zoomIdentity)}}},{key:"zoomOff",value:function(){this.on&&(this.on=!1,t.select("#"+this.svgid).on(".zoom",null))}},{key:"zoomRect",value:function(){var e=this.on;e||this.zoomOn();var r=t.select("#"+this.svgid),n=t.select("#"+this.svgid+"_rootg"),i=this,o=function(){var e,r=new DOMRect,n={start:function(){},draw:function(){},end:function(){}};function i(i){var o,a,s=i.append("g").attr("class","dragrect").append("rect"),u=t.drag().on("start",(function(){o=null,a=null,n.start()})).on("drag",(function(){var e=t.mouse(this)[0],i=t.mouse(this)[1];o?(a.x=e,a.y=i):(o=new DOMPoint(e,i),a=new DOMPoint(e,i));var u=Math.min(o.x,a.x),c=Math.max(o.x,a.x),f=Math.min(o.y,a.y),l=Math.max(o.y,a.y);r.x=u,r.y=f,r.width=c-u,r.height=l-f,s.attr("x",r.x),s.attr("y",r.y),s.attr("width",r.width),s.attr("height",r.height),n.draw()})).on("end",(function(){s.attr("display","none"),n.end()}));e.call(u)}return i.on=function(t,e){return arguments.length?1===arguments.length?n[t]:(["start","draw","end"].indexOf(t)>-1&&(n[t]=e),i):n},i.targetArea=function(t){return arguments.length?(e=t,i):e},i.rect=function(){return r},i}();try{n.call(o.targetArea(n).on("start",(function(){n.style("cursor","zoom-in")})).on("end",(function(){try{n.style("cursor","auto"),n.on(".dragstart",null).on(".drag",null).on(".dragend",null),n.selectAll("g.dragrect").remove();var a=o.rect();if(a.width>=10&&a.height>=10){var s=a.x+a.width/2,u=a.y+a.height/2,c=n.node().getBBox(),f=c.x+c.width/2,l=c.y+c.height/2,h=c.width/c.height;a.height>a.width?(a.width=a.height*h,a.x=s-a.width/2):(a.height=a.width/h,a.y=u-a.height/2);var p=Math.max(Math.min(c.width/a.width,i.max),i.min);a.width=c.width/p,a.height=c.height/p,a.x=s-a.width/2,a.y=u-a.height/2;var y=(f-s-(c.width-a.width)/2)*p,v=(l-u-(c.height-a.height)/2)*p;r.transition().duration(i.duration).on("end",(function(){e||i.zoomOff()})).call(i.zoomer.transform,t.zoomIdentity.translate(y,v).scale(p))}}catch(t){console.error(t)}})))}catch(t){console.error(t)}}}],r&&c(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}();function h(t){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h(t)}function p(t,e){for(var r=0;r=1)return x(t,r);var o=((e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y))/n;return Math.abs(o)*Math.sqrt(n)}function w(t,e){var r,n,i,o,a,s,u,c,f,l,h,p,y,v,d=t.x,g=t.y,m=t.x+t.width,x=t.y+t.height;if(e.find((function(t){return t.x>=d&&t.x<=m&&t.y>=g&&t.y<=x})))return!0;if(1===e.length&&e[0].r){var b=e[0],w=Math.abs(b.x-(t.x+t.width/2)),S=Math.abs(b.y-(t.y+t.height/2));return!(w>t.width/2+b.r||S>t.height/2+b.r||!(w<=t.width/2||S<=t.height/2||(w-t.width/2^S-t.height/2+2^2)<=(2^b.r)))}if(e.length>1)for(r=0;r0&&y<1&&v>0&&v<1&&(h=!0)),h)return!0;return!1}function S(t){var e,r,n,i,o,a,s=new RegExp("([\\d\\.]+) ([\\d\\.]+)","g");if(t instanceof SVGRect||t instanceof DOMRect)return[new DOMPoint(t.x,t.y),new DOMPoint(t.x+t.width,t.y),new DOMPoint(t.x+t.width,t.y+t.height),new DOMPoint(t.x,t.y+t.height)];if(t instanceof SVGRectElement||t instanceof SVGImageElement)return[new DOMPoint(t.x.baseVal.value,t.y.baseVal.value),new DOMPoint(t.x.baseVal.value+t.width.baseVal.value,t.y.baseVal.value),new DOMPoint(t.x.baseVal.value+t.width.baseVal.value,t.y.baseVal.value+t.height.baseVal.value),new DOMPoint(t.x.baseVal.value,t.y.baseVal.value+t.height.baseVal.value)];if(t instanceof SVGCircleElement)return(r=new DOMPoint(t.cx.baseVal.value,t.cy.baseVal.value)).r=t.r.baseVal.value,[r];if(t instanceof SVGLineElement)return(e=[new DOMPoint(t.x1.baseVal.value,t.y1.baseVal.value),new DOMPoint(t.x2.baseVal.value,t.y2.baseVal.value)]).shape="polyline",e;if(t instanceof SVGPolylineElement||t instanceof SVGPolygonElement){for(e=[],n=t.points,i=0;i3&&void 0!==arguments[3]?arguments[3]:"#ff000033",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"#ff0000",a=document.getElementById(r);if(Array.isArray(t)&&1===t.length&&(t=t[0]),a?n=a.localName:(n=t.shape||"polygon",t instanceof SVGPoint||t instanceof DOMPoint?n="circle":(t instanceof SVGRect||t instanceof DOMRect)&&(n="rect"),(a=document.createElementNS("http://www.w3.org/2000/svg",n)).setAttribute("id",r),"polyline"!==n&&a.setAttribute("fill",i),a.setAttribute("stroke",o),a.setAttribute("style","pointer-events: none;"),e.appendChild(a)),"circle"===n)a.setAttribute("cx",t.x),a.setAttribute("cy",t.y),a.setAttribute("r",t.r||"3pt");else if("rect"===n)a.setAttribute("x",t.x),a.setAttribute("y",t.y),a.setAttribute("width",t.width),a.setAttribute("height",t.height);else if("polygon"===n||"polyline"===n){var s="";t.forEach((function(t){s+=t.x+" "+t.y+" "})),a.setAttribute("points",s)}return a}i(113),i(1745),i(8309),i(3288),i(9904),i(3851),i(8459),i(4864),i(8781),i(744),i(9833),i(1630),i(2170),i(5044),i(1920),i(1694),i(9955),i(3206),i(4496),i(6651),i(2887),i(9369),i(6812),i(8995),i(1575),i(6072),i(8747),i(8845),i(9423),i(7301),i(373),i(6614),i(1405),i(3684),window.DOMPoint=window.DOMPoint||y((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;d(this,t),this.x=e,this.y=r,this.z=n,this.w=i})),window.DOMPoint.prototype.matrixTransform=window.DOMPoint.prototype.matrixTransform||function(t){return(t.is2D||t instanceof SVGMatrix)&&0===this.z&&1===this.w?new DOMPoint(this.x*t.a+this.y*t.c+t.e,this.x*t.b+this.y*t.d+t.f,0,1):new DOMPoint(this.x*t.m11+this.y*t.m21+this.z*t.m31+this.w*t.m41,this.x*t.m12+this.y*t.m22+this.z*t.m32+this.w*t.m42,this.x*t.m13+this.y*t.m23+this.z*t.m33+this.w*t.m43,this.x*t.m14+this.y*t.m24+this.z*t.m34+this.w*t.m44)};for(var T=function(){return y((function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;d(this,t),this.x=e,this.y=r,this.width=n,this.height=i}),[{key:"top",get:function(){return this.y}},{key:"left",get:function(){return this.x}},{key:"right",get:function(){return this.x+this.width}},{key:"bottom",get:function(){return this.y+this.height}}])}(),k=0,M=["top","right","bottom","left"];k0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this[N]=F([1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1],this[N]),0!==r&&(this[j]=!1),this}},{key:"scale",value:function(t,e,r,n,i,o){return C(this[N]).scaleSelf(t,e,r,n,i,o)}},{key:"scale3d",value:function(t,e,r,n){return C(this[N]).scale3dSelf(t,e,r,n)}},{key:"scale3dSelf",value:function(t,e,r,n){return this.scaleSelf(t,t,t,e,r,n)}},{key:"scaleSelf",value:function(t,e,r,n,i,o){return"number"!=typeof n&&(n=0),"number"!=typeof i&&(i=0),"number"!=typeof o&&(o=0),this.translateSelf(n,i,o),"number"!=typeof t&&(t=1),"number"!=typeof e&&(e=t),"number"!=typeof r&&(r=1),this[N]=F([t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1],this[N]),this.translateSelf(-n,-i,-o),1===r&&0===o||(this[j]=!1),this}},{key:"inverse",value:function(){return C(this[N]).invertSelf()}},{key:"invertSelf",value:function(){if(!this[j])throw new Error("3D matrix inversion is not implemented.");var e=this[N][0]*this[N][5]-this[N][1]*this[N][4];if(0!==e){var r=new t;return r.a=this[N][5]/e,r.b=-this[N][1]/e,r.c=-this[N][4]/e,r.d=this[N][0]/e,r.e=(this[N][4]*this[N][13]-this[N][5]*this[N][12])/e,r.f=(this[N][1]*this[N][12]-this[N][0]*this[N][13])/e,r}this[j]=!1,this[N]=[NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN,NaN]}}])}(),L=0,B=["a","b","c","d","e","f","m11","m12","m13","m14","m21","m22","m23","m24","m31","m32","m33","m34","m41","m42","m43","m44","is2D","isIdentity"];L=u&&y.push(Math.max(l.x,n.x+this.offx)),d>=u&&y.push(Math.min(h.x-u,n.x-this.offx-u)),y.push(Math.max(l.x,Math.min(h.x,n.x+u/2)-u));var x=[],b=h.y-(n.y+this.offy),w=n.y-this.offy-l.y;b>=c&&x.push(Math.max(l.y,n.y+this.offy)),w>=c&&x.push(Math.min(h.y-c,n.y-this.offy-c)),x.push(Math.max(l.y,Math.min(h.y,n.y+c/2)-c));var S=[];y.forEach((function(t){x.forEach((function(e){S.push(new DOMRect(t,e,u,c))}))}));var E=S.find((function(t){return r=p,!((e=t).x<=r.x&&e.x+e.width>=r.x+r.width&&e.y<=r.y&&e.y+e.height>=r.y+r.height);var e,r}));E||(E=S[0]),n.x=E.x,n.y=E.y}else n=new DOMPoint(this.offx,this.offy),"doc"==this.placement&&(i=m(s),n=n.matrixTransform(i));return n}}])&&W(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}();function q(t){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(t)}function K(t,e){for(var r=0;r",onclick:function(){t.lasso(!0)}},{key:"lasso_deselect",block:"selection",class:"drop",tooltip:"lasso deselection",icon:"",onclick:function(){t.lasso(!1)}}]}},{key:"clear",value:function(){this.setSelected([])}},{key:"isValidTarget",value:function(t){return t instanceof SVGGraphicsElement&&!(t instanceof SVGSVGElement)&&t.hasAttribute(this.attrName)}},{key:"applyOn",value:function(t,e){try{if(this.isValidTarget(t)){var r=t.getAttribute(this.attrName),n=Array.from(this.dataSelected),i=n.indexOf(r);return"multiple"==this.type?i<0?n.push(r):n.splice(i,1):n=i<0?[r]:[],this.setSelected(n),!0}}catch(t){console.error(t)}return!1}},{key:"setSelected",value:function(t){this.dataSelected.length===t.length&&this.dataSelected.every((function(e){return t.includes(e)}))||(this.dataSelected=t,this.refreshSelected(),this.shinyInputId&&Shiny.onInputChange(this.shinyInputId,this.dataSelected))}},{key:"refreshSelected",value:function(){var e,r,n;this.nodeIds.forEach((function(i){(e=document.getElementById(i))&&(r=this.dataSelected.includes(e.getAttribute(this.attrName)),(n=t.select(e)).classed(this.clsName,r),this.invClsName&&(this.dataSelected.length?n.classed(this.invClsName,!r):n.classed(this.invClsName,!1)))}),this)}},{key:"lasso",value:function(e){var r=t.select("#"+this.svgid+"_rootg"),n=this,i=t.lasso();try{i=i.closePathSelect(!0).closePathDistance(100).items(r.selectAll("*["+this.attrName+"]")).targetArea(r).on("start",(function(){r.style("cursor","crosshair")})).on("draw",(function(){})).on("end",(function(){try{r.style("cursor","auto"),r.on(".dragstart",null).on(".drag",null).on(".dragend",null),r.selectAll("g.lasso").remove();var t=Array.from(n.dataSelected);i.selectedItems().each((function(r,i){var o=this.getAttribute(n.attrName),a=t.indexOf(o);a<0&&e?t.push(o):a>=0&&!e&&t.splice(a,1)})),n.setSelected(t)}catch(t){console.error(t)}})),r.call(i)}catch(t){console.error(t)}}}])&&Q(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,r}();function rt(t){return rt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},rt(t)}function nt(t,e){for(var r=0;rr.x&&e.yr.y;var e,r}))}if(c.length&&o.checkIntersection){var l=a.getCTM();u=u.map((function(t){return t.matrixTransform(l)})),s=O(u,o),c=c.filter((function(t){return o.checkIntersection(t,s)}))}else c.length&&(c=c.filter((function(t){return w(s,t.gpoints)})));var h=null;if(1===c.length)h=c[0];else if(c.length){var p=1/0,y=1/0;c.forEach((function(t){var e,r;t instanceof SVGCircleElement?(e=i,r=t.gpoints[0],p=x(e,r)-r.r):p=function(t,e){var r,n,i=1/0;if(e.length>1)for(var o=0;o",onclick:function(){t.save_as_png()}}]}},{key:"save_as_png",value:function(){this.fonts||(this.fonts=function(){var t=["woff","ttf","otf","woff2","eot"],e={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject"},r=/(^.+src:\s*)(.+?)(;.*)$/,n=/url\(["']?(.+?)["']?\)(\s*format\(.+?\))?/g,i=new RegExp("url\\([\"\\']?(.+?\\.("+Object.keys(e).join("|")+")(\\?.*?)?)[\"\\']?\\)");function o(o){var a=o.cssText.match(r);if(a){var s=a[1],u=a[2],c=a[3],f=u.match(n);if(Array.isArray(f))return f.map((function(t){return function(t,e){var r=t.match(i),n=r&&r[1]||"";if(n&&!n.match(/^data:/)&&"about:blank"!==n)return n.startsWith("../")?n=e+"/../"+n:n.startsWith("./")&&(n=e+"/."+n),{fmt:r[2],url:n,css:t}}(t,o.href)})).filter((function(t){return!!t})).map((function(e){return e.order=t.indexOf(e.fmt),e})).sort((function(t,e){return t.order-e.order})).slice(0,1).map((function(t){return{text:s+t.css+c,format:e[t.fmt],url:t.url}})).pop()}}return Array.from(document.styleSheets).map((function(t){try{return{cssRules:t.cssRules,href:t.href}}catch(e){console.warn("Stylesheet could not be loaded: "+t.href,e)}})).map((function(t){return t&&t.cssRules?Array.from(t.cssRules).filter((function(t){return t.cssText.match(/^@font-face/)})).map((function(e){return{href:t.href,cssText:e.cssText}})):[]})).flat().map((function(t){return o(t)})).filter((function(t){return!!t}))}()),saveSvgAsPng(document.getElementById(this.svgid),this.pngname,{encoderOptions:1,fonts:this.fonts})}}])&&yt(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e}();function gt(t){return gt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(t)}function mt(t,e){for(var r=0;r0?"hover_inv":null,r.classPrefix="hover_key",r.attrName="key-id",r.shinyInputSuffix="_key_hovered",r.shinyMessageSuffix="_key_hovered_set",n.classPrefix="hover_theme",n.attrName="theme-id",n.shinyInputSuffix="_theme_hovered",n.shinyMessageSuffix="_theme_hovered_set";var i,o=[t,r,n];try{o.forEach((function(t){t.shinyInputId=this.shinyMode&&t.reactive?this.containerid+t.shinyInputSuffix:null,t.shinyMessageId=this.shinyMode&&t.reactive?this.containerid+t.shinyMessageSuffix:null,(i=new J(this.svgid,t)).init()&&this.handlers.set(t.classPrefix,i)}),this)}catch(t){console.error(t)}try{(i=new ht(this.svgid,[t.attrName],t.nearest_distance)).init()&&this.handlers.set("nearest",i)}catch(t){console.error(t)}}},{key:"setupSelection",value:function(t,e,r,n){t.classPrefix="select_data",t.attrName="data-id",t.shinyInputSuffix="_selected",t.shinyMessageSuffix="_set",t.invClassPrefix=e.css.length>0?"select_inv":null,r.classPrefix="select_key",r.attrName="key-id",r.shinyInputSuffix="_key_selected",r.shinyMessageSuffix="_key_set",n.classPrefix="select_theme",n.attrName="theme-id",n.shinyInputSuffix="_theme_selected",n.shinyMessageSuffix="_theme_set";var i,o=[t,r,n];try{o.forEach((function(t){!this.shinyMode&&t.only_shiny||(t.shinyInputId=this.shinyMode?this.containerid+t.shinyInputSuffix:null,t.shinyMessageId=this.shinyMode?this.containerid+t.shinyMessageSuffix:null,(i=new et(this.svgid,t)).init()&&this.handlers.set(t.classPrefix,i))}),this)}catch(t){console.error(t)}}},{key:"setupMouse",value:function(){try{var t=new Map;ot.forEach((function(e){return t.set(e,[])})),this.handlers.forEach((function(e){e instanceof $?(t.get("mouseover").push(e),t.get("mouseout").push(e),t.get("mousemove").push(e),t.get("mousedown").push(e),t.get("wheel").push(e),t.get("nearest").push(e)):e instanceof J?(t.get("mouseover").push(e),t.get("mouseout").push(e),t.get("nearest").push(e)):e instanceof et?t.get("click").push(e):e instanceof s&&(t.get("mouseover").push(e),t.get("mouseout").push(e))}));var e=new at(this.svgid,t,this.handlers.get("nearest"));e.init()&&this.handlers.set("mouse",e)}catch(t){console.error(t)}}},{key:"setupZoom",value:function(t){try{var e=new l(this.svgid,t);e.init()&&this.handlers.set("zoom",e)}catch(t){console.error(t)}}},{key:"setupToolbar",value:function(t){var e;try{t.hidden.includes("saveaspng")||(e=new dt(this.svgid,{pngname:t.pngname})).init()&&this.handlers.set("png",e)}catch(t){console.error(t)}try{var r=[];this.handlers.forEach((function(t){(t instanceof dt||t instanceof l||t instanceof et&&"data-id"==t.attrName&&"multiple"==t.type)&&r.push(t)})),t.clsName="ggiraph-toolbar",(e=new s(this.containerid,this.svgid,t)).init(r)&&this.handlers.set("toolbar",e)}catch(t){console.error(t)}}}])&&mt(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}();function wt(t){return function(e,r,n){var i=new bt(e.id,t);return{renderValue:function(r){i.clear(),i.setSvgId(r.uid),i.addStyle([r.settings.tooltip.css,r.settings.select_inv.css,r.settings.select.css,r.settings.select_key.css,r.settings.select_theme.css,r.settings.hover_inv.css,r.settings.hover.css,r.settings.hover_key.css,r.settings.hover_theme.css]),i.addSvg(r.html,r.js);var n=d3.select("#"+i.svgid).property("viewBox").baseVal;r.settings.sizing.rescale?t?(i.autoScale("100%"),i.IEFixResize(1,1/r.ratio),i.setSizeLimits(d3.select(e).style("width"),0,d3.select(e).style("height"),0)):(i.autoScale(Math.round(100*r.settings.sizing.width)+"%"),i.IEFixResize(r.settings.sizing.width,1/r.ratio),i.setSizeLimits("unset","unset","unset","unset"),i.removeContainerLimits()):(i.fixSize(n.width,n.height),d3.select(e).style("width",null).style("height",null)),i.setupHover(r.settings.hover,r.settings.hover_inv,r.settings.hover_key,r.settings.hover_theme),i.setupSelection(r.settings.select,r.settings.select_inv,r.settings.select_key,r.settings.select_theme),i.setupZoom(r.settings.zoom),i.setupToolbar(r.settings.toolbar),i.setupTooltip(r.settings.tooltip),i.setupMouse()},resize:function(t,e){}}}}})(),o})()));