1(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[7182],{92509:(d,b,t)=>{"use strict";function R(o,s){(null==s||s>o.length)&&(s=o.length);for(var e=0,a=Array(s);e<s;e++)a[e]=o[e];return a}function T(o,s){if(o){if("string"==typeof o)return R(o,s);var e={}.toString.call(o).slice(8,-1);return"Object"===e&&o.constructor&&(e=o.constructor.name),"Map"===e||"Set"===e?Array.from(o):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?R(o,s):void 0}}function C(o,s){return function m(o){if(Array.isArray(o))return o}(o)||function E(o,s){var e=null==o?null:typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(null!=e){var a,r,i,n,u=[],l=!0,y=!1;try{if(i=(e=e.call(o)).next,0===s){if(Object(e)!==e)return;l=!1}else for(;!(l=(a=i.call(e)).done)&&(u.push(a.value),u.length!==s);l=!0);}catch(p){y=!0,r=p}finally{try{if(!l&&null!=e.return&&(n=e.return(),Object(n)!==n))return}finally{if(y)throw r}}return u}}(o,s)||T(o,s)||function O(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.r(b),t.d(b,{AElement:()=>Tn,AnimateColorElement:()=>pn,AnimateElement:()=>er,AnimateTransformElement:()=>mn,BoundingBox:()=>le,CB1:()=>hr,CB2:()=>dr,CB3:()=>gr,CB4:()=>yr,Canvg:()=>zn,CircleElement:()=>on,ClipPathElement:()=>Dn,DefsElement:()=>hn,DescElement:()=>Vn,Document:()=>Qe,Element:()=>Jt,EllipseElement:()=>un,FeColorMatrixElement:()=>Cr,FeCompositeElement:()=>Fn,FeDropShadowElement:()=>$n,FeGaussianBlurElement:()=>jn,FeMorphologyElement:()=>Bn,FilterElement:()=>Ir,Font:()=>pe,FontElement:()=>xn,FontFaceElement:()=>En,GElement:()=>tr,GlyphElement:()=>Rn,GradientElement:()=>Tr,ImageElement:()=>An,LineElement:()=>ln,LinearGradientElement:()=>dn,MarkerElement:()=>vn,MaskElement:()=>Ar,Matrix:()=>xr,MissingGlyphElement:()=>bn,Mouse:()=>Jr,PSEUDO_ZERO:()=>Be,Parser:()=>_e,PathElement:()=>be,PathParser:()=>sn,PatternElement:()=>cn,Point:()=>Qt,PolygonElement:()=>fn,PolylineElement:()=>Pr,Property:()=>St,QB1:()=>pr,QB2:()=>mr,QB3:()=>Sr,RadialGradientElement:()=>gn,RectElement:()=>Rr,RenderedElement:()=>Oe,Rotate:()=>tn,SVGElement:()=>ze,SVGFontLoader:()=>wn,Scale:()=>en,Screen:()=>Ke,Skew:()=>Er,SkewX:()=>rn,SkewY:()=>nn,StopElement:()=>yn,StyleElement:()=>Or,SymbolElement:()=>In,TRefElement:()=>Pn,TSpanElement:()=>br,TextElement:()=>Ge,TextPathElement:()=>Cn,TitleElement:()=>Ln,Transform:()=>Xe,Translate:()=>_r,UnknownElement:()=>an,UseElement:()=>Nn,ViewPort:()=>Qr,compressSpaces:()=>De,default:()=>vs,getSelectorSpecificity:()=>Xr,normalizeAttributeName:()=>Yr,normalizeColor:()=>Kr,parseExternalUrl:()=>cr,presets:()=>cs,toNumbers:()=>te,trimLeft:()=>Wr,trimRight:()=>Hr,vectorMagnitude:()=>vr,vectorsAngle:()=>Ye,vectorsRatio:()=>ke}),t(93015),t(87102),t(41878),t(25603),t(16243),t(57501),t(87084),t(55911),t(66026),t(98916),t(18187),t(99293),t(33061);var V=t(54756),D=t.n(V);function k(o,s,e,a,r,i,n){try{var u=o[i](n),l=u.value}catch(y){return void e(y)}u.done?s(l):Promise.resolve(l).then(a,r)}function H(o){return function(){var s=this,e=arguments;return new Promise(function(a,r){var i=o.apply(s,e);function n(l){k(i,a,r,n,u,"next",l)}function u(l){k(i,a,r,n,u,"throw",l)}n(void 0)})}}function K(o){return(K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(o)}function X(o){var s=function it(o,s){if("object"!=K(o)||!o)return o;var e=o[Symbol.toPrimitive];if(void 0!==e){var a=e.call(o,s||"default");if("object"!=K(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(o)}(o,"string");return"symbol"==K(s)?s:s+""}function at(o,s,e){return(s=X(s))in o?Object.defineProperty(o,s,{value:e,enumerable:!0,configurable:!0,writable:!0}):o[s]=e,o}function F(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")}function j(o,s){for(var e=0;e<s.length;e++){var a=s[e];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(o,X(a.key),a)}}function I(o,s,e){return s&&j(o.prototype,s),e&&j(o,e),Object.defineProperty(o,"prototype",{writable:!1}),o}t(20809),t(93310),t(53499),t(81520),t(78851),t(41035);
1var ct=t(54361),ht=t.n(ct),Rt=(t(75871),t(96310)),wt=t.n(Rt);function Zt(o){if(void 0===o)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function dt(o,s){if(s&&("object"==K(s)||"function"==typeof s))return s;if(void 0!==s)throw new TypeError("Derived constructors may only return object or undefined");return Zt(o)}function Y(o){return(Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(s){return s.__proto__||Object.getPrototypeOf(s)})(o)}function se(o,s){return(se=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,a){return e.__proto__=a,e})(o,s)}function yt(o,s){if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(s&&s.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),s&&se(o,s)}function Et(){return Et=typeof Reflect<"u"&&Reflect.get?Reflect.get.bind():function(o,s,e){var a=function xt(o,s){for(;!{}.hasOwnProperty.call(o,s)&&null!==(o=Y(o)););return o}(o,s);if(a){var r=Object.getOwnPropertyDescriptor(a,s);return r.get?r.get.call(arguments.length<3?o:e):r.value}},Et.apply(null,arguments)}function Me(o){return(Me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(s){return typeof s}:function(s){return s&&"function"==typeof Symbol&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s})(o)}t(91788),t(29485),t(13013),t(4524),t(35025),t(89602),t(60521),t(28863),t(19711),t(69463),t(83923),t(11536),t(35086),t(91355),t(21112),t(30228),t(242),t(17435),t(43244),t(88809),t(96582);var kr=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,39
16,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],Gr=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function Ur(o,s,e,a,r,i){if(!(isNaN(i)||i<1)){i|=0;var n=function zr(o,s,e,a,r){if("string"==typeof o&&(o=document.getElementById(o)),!o||"object"!==Me(o)||!("getContext"in o))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=o.getContext("2d");try{return i.getImageData(s,e,a,r)}catch(n){throw new Error("unable to access image data: "+n)}}(o,s,e,a,r);n=function Hn(o,s,e,a,r,i){for(var z,n=o.data,u=2*i+1,l=a-1,y=r-1,p=i+1,S=p*(p+1)/2,P=new qe,A=P,Q=1;Q<u;Q++)A=A.next=new qe,Q===p&&(z=A);A.next=P;for(var U=null,nt=null,ot=0,_=0,tt=kr[i],vt=Gr[i],bt=0;bt<r;bt++){A=P;for(var pt=n[_],Dt=n[_+1],Ft=n[_+2],Ot=n[_+3],$t=0;$t<p;$t++)A.r=pt,A.g=Dt,A.b=Ft,A.a=Ot,A=A.next;for(var kt=0,Kt=0,Ut=0,Gt=0,Ht=p*pt,rt=p*Dt,Z=p*Ft,st=p*Ot,mt=S*pt,gt=S*Dt,It=S*Ft,Wt=S*Ot,jt=1;jt<p;jt++){var Lt=_+((l<jt?l:jt)<<2),Vt=n[Lt],_t=n[Lt+1],fe=n[Lt+2],ne=n[Lt+3],Ce=p-jt;mt+=(A.r=Vt)*Ce,gt+=(A.g=_t)*Ce,It+=(A.b=fe)*Ce,Wt+=(A.a=ne)*Ce,kt+=Vt,Kt+=_t,Ut+=fe,Gt+=ne,A=A.next}U=P,nt=z;for(var Ae=0;Ae<a;Ae++){var Ie=Wt*tt>>>vt;if(n[_+3]=Ie,0!==Ie){var we=255/Ie;n[_]=(mt*tt>>>vt)*we,n[_+1]=(gt*tt>>>vt)*we,n[_+2]=(It*tt>>>vt)*we}else n[_]=n[_+1]=n[_+2]=0;mt-=Ht,gt-=rt,It-=Z,Wt-=st,Ht-=U.r,rt-=U.g,Z-=U.b,st-=U.a;var me=Ae+i+1;mt+=kt+=U.r=n[me=ot+(me<l?me:l)<<2],gt+=Kt+=U.g=n[me+1],It+=Ut+=U.b=n[me+2],Wt+=Gt+=U.a=n[me+3],U=U.next;var Ue=nt.r,We=nt.g,Fe=nt.b,Je=nt.a;Ht+=Ue,rt+=We,Z+=Fe,st+=Je,kt-=Ue,Kt-=We,Ut-=Fe,Gt-=Je,nt=nt.next,_+=4}ot+=a}for(var Se=0;Se<a;Se++){var je=n[_=Se<<2],Le=n[_+1],Ve=n[_+2],ae=n[_+3],Nr=p*je,Mr=p*Le,Dr=p*Ve,$r=p*ae,ir=S*je,sr=S*Le,or=S*Ve,ur=S*ae;A=P;for(var Un=0;Un<p;Un++)A.r=je,A.g=Le,A.b=Ve,A.a=ae,A=A.next;for(var Wn=a,Br=0,Fr=0,jr=0,Lr=0,lr=1;lr<=i;lr++){var fr=p-lr;ir+=(A.r=je=n[_=Wn+Se<<2])*fr,sr+=(A.g=Le=n[_+1])*fr,or+=(A.b=Ve=n[_+2])*fr,ur+=(A.a=ae=n[_+3])*fr,Lr+=je,Br+=Le,Fr+=Ve,jr+=ae,A=A.next,lr<y&&(Wn+=a)}_=Se,U=P,nt=z;for(var Vr=0;Vr<r;Vr++){var ie=_<<2;n[ie+3]=ae=ur*tt>>>vt,ae>0?(n[ie]=(ir*tt>>>vt)*(ae=255/ae),n[ie+1]=(sr*tt>>>vt)*ae,n[ie+2]=(or*tt>>>vt)*ae):n[ie]=n[ie+1]=n[ie+2]=0,ir-=Nr,sr-=Mr,or-=Dr,ur-=$r,Nr-=U.r,Mr-=U.g,Dr-=U.b,$r-=U.a,ie=Se+((ie=Vr+p)<y?ie:y)*a<<2,ir+=Lr+=U.r=n[ie],sr+=Br+=U.g=n[ie+1],or+=Fr+=U.b=n[ie+2],ur+=jr+=U.a=n[ie+3],U=U.next,Nr+=je=nt.r,Mr+=Le=nt.g,Dr+=Ve=nt.b,$r+=ae=nt.a,Lr-=je,Br-=Le,Fr-=Ve,jr-=ae,nt=nt.next,_+=a}}return o}(n,0,0,a,r,i),o.getContext("2d").putImageData(n,s,e)}}var qe=function o(){(function Ze(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")})(this,o),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function De(o){return o.replace(/(?!\u3000)\s+/gm," ")}function Wr(o){return o.replace(/^[\n \t]+/,"")}function Hr(o){return o.replace(/[\n \t]+$/,"")}function te(o){return((o||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var Xn=/^[A-Z-]+$/;function Yr(o){return Xn.test(o)?o.toLowerCase():o}function cr(o){var s=o.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return s[2]||s[3]||s[4]}function Kr(o){if(!o.startsWith("rgb"))return o;var s=3;return o.replace(/\d+(\.\d+)?/g,function(a,r){return s--&&r?String(Math.round(parseFloat(a))):a})}var Qn=/(\[[^\]]+\])/g,Jn=/(#[^\s\+>~\.\[:]+)/g,Zn=/(\.[^\s\+>~\.\[:]+)/g,qn=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,_n=/(:[\w-]+\([^\)]*\))/gi,ta=/(:[^\s\+>~\.\[:]+)/g,ea=/([^\s\+>~\.\[:]+)/g;function $e(o,s){var e=o.match(s);return e?[o.replace(s," "),e.length]:[o,0]}function Xr(o){var s=[0,0,0],e=o.replace(/:not\(([^\)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),i=C($e(e,Qn),2);e=i[0],s[1]+=i[1];var u=C($e(e,Jn),2);e=u[0],s[0]+=u[1];var y=C($e(e,Zn),2);e=y[0],s[1]+=y[1];var S=C($e(e,qn),2);e=S[0],s[2]+=S[1];var A=C($e(e,_n),2);e=A[0],s[1]+=A[1];var Q=C($e(e,ta),2);e=Q[0],s[1]+=Q[1];var nt=C($e(e=e.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),ea),2);return e=nt[0],s[2]+=nt[1],s.join("")}var Be=1e-8;function vr(o){return Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2))}function ke(o,s){return(o[0]*s[0]+o[1]*s[1])/(vr(o)*vr(s))}function Ye(o,s){return(o[0]*s[1]<o[1]*s[0]?-1:1)*Math.acos(ke(o,s))}function hr(o){return o*o*o}function dr(o){return 3*o*o*(1-o)}function gr(o){return 3*o*(1-o)*(1-o)}function yr(o){return(1-o)*(1-o)*(1-o)}function pr(o){return o*o}function mr(o){return 2*o*(1-o)}function Sr(o){return(1-o)*(1-o)}!function ra(o,s){o(s={exports:{}}
vendor: 4,479 bytes, line 1
1,s.exports)}(function(o){var s=function(e){var i,a=Object.prototype,r=a.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},u=n.iterator||"@@iterator",l=n.asyncIterator||"@@asyncIterator",y=n.toStringTag||"@@toStringTag";function p(rt,Z,st,mt){var It=Object.create((Z&&Z.prototype instanceof nt?Z:nt).prototype),Wt=new Ut(mt||[]);return It._invoke=function Ot(rt,Z,st){var mt=P;return function(It,Wt){if(mt===z)throw new Error("Generator is already running");if(mt===Q){if("throw"===It)throw Wt;return Ht()}for(st.method=It,st.arg=Wt;;){var jt=st.delegate;if(jt){var Lt=$t(jt,st);if(Lt){if(Lt===U)continue;return Lt}}if("next"===st.method)st.sent=st._sent=st.arg;else if("throw"===st.method){if(mt===P)throw mt=Q,st.arg;st.dispatchException(st.arg)}else"return"===st.method&&st.abrupt("return",st.arg);mt=z;var Vt=S(rt,Z,st);if("normal"===Vt.type){if(mt=st.done?Q:A,Vt.arg===U)continue;return{value:Vt.arg,done:st.done}}"throw"===Vt.type&&(mt=Q,st.method="throw",st.arg=Vt.arg)}}}(rt,st,Wt),It}function S(rt,Z,st){try{return{type:"normal",arg:rt.call(Z,st)}}catch(mt){return{type:"throw",arg:mt}}}e.wrap=p;var P="suspendedStart",A="suspendedYield",z="executing",Q="completed",U={};function nt(){}function ot(){}function _(){}var tt={};tt[u]=function(){return this};var vt=Object.getPrototypeOf,bt=vt&&vt(vt(Gt([])));bt&&bt!==a&&r.call(bt,u)&&(tt=bt);var pt=_.prototype=nt.prototype=Object.create(tt);function Dt(rt){["next","throw","return"].forEach(function(Z){rt[Z]=function(st){return this._invoke(Z,st)}})}function Ft(rt,Z){function st(It,Wt,jt,Lt){var Vt=S(rt[It],rt,Wt);if("throw"!==Vt.type){var _t=Vt.arg,fe=_t.value;return fe&&"object"==typeof fe&&r.call(fe,"__await")?Z.resolve(fe.__await).then(function(ne){st("next",ne,jt,Lt)},function(ne){st("throw",ne,jt,Lt)}):Z.resolve(fe).then(function(ne){_t.value=ne,jt(_t)},function(ne){return st("throw",ne,jt,Lt)})}Lt(Vt.arg)}var mt;this._invoke=function gt(It,Wt){function jt(){return new Z(function(Lt,Vt){st(It,Wt,Lt,Vt)})}return mt=mt?mt.then(jt,jt):jt()}}function $t(rt,Z){var st=rt.iterator[Z.method];if(st===i){if(Z.delegate=null,"throw"===Z.method){if(rt.iterator.return&&(Z.method="return",Z.arg=i,$t(rt,Z),"throw"===Z.method))return U;Z.method="throw",Z.arg=new TypeError("The iterator does not provide a 'throw' method")}return U}var mt=S(st,rt.iterator,Z.arg);if("throw"===mt.type)return Z.method="throw",Z.arg=mt.arg,Z.delegate=null,U;var gt=mt.arg;return gt?gt.done?(Z[rt.resultName]=gt.value,Z.next=rt.nextLoc,"return"!==Z.method&&(Z.method="next",Z.arg=i),Z.delegate=null,U):gt:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,U)}function kt(rt){var Z={tryLoc:rt[0]};1 in rt&&(Z.catchLoc=rt[1]),2 in rt&&(Z.finallyLoc=rt[2],Z.afterLoc=rt[3]),this.tryEntries.push(Z)}function Kt(rt){var Z=rt.completion||{};Z.type="normal",delete Z.arg,rt.completion=Z}function Ut(rt){this.tryEntries=[{tryLoc:"root"}],rt.forEach(kt,this),this.reset(!0)}function Gt(rt){if(rt){var Z=rt[u];if(Z)return Z.call(rt);if("function"==typeof rt.next)return rt;if(!isNaN(rt.length)){var st=-1,mt=function gt(){for(;++st<rt.length;)if(r.call(rt,st))return gt.value=rt[st],gt.done=!1,gt;return gt.value=i,gt.done=!0,gt};return mt.next=mt}}return{next:Ht}}function Ht(){return{value:i,done:!0}}return ot.prototype=pt.constructor=_,_.constructor=ot,_[y]=ot.displayName="GeneratorFunction",e.isGeneratorFunction=function(rt){var Z="function"==typeof rt&&rt.constructor;return!!Z&&(Z===ot||"GeneratorFunction"===(Z.displayName||Z.name))},e.mark=function(rt){return Object.setPrototypeOf?Object.setPrototypeOf(rt,_):(rt.__proto__=_,y in rt||(rt[y]="GeneratorFunction")),rt.prototype=Object.create(pt),rt},e.awrap=function(rt){return{__await:rt}},Dt(Ft.prototype),Ft.prototype[l]=function(){return this},e.AsyncIterator=Ft,e.async=function(rt,Z,st,mt,gt){void 0===gt&&(gt=Promise);var It=new Ft(p(rt,Z,st,mt),gt);return e.isGeneratorFunction(Z)?It:It.next().then(function(Wt){return Wt.done?Wt.value:It.next()})},Dt(pt),pt[y]="Generator",pt[u]=function(){return this},pt.toString=function(){return"[object Generator]"},e.keys=function(rt){var Z=[];for(var st in rt)Z.push(st);return Z.reverse(),function mt(){for(;Z.length;){var gt=Z.pop();if(gt in rt)return mt.value=gt,mt.done=!1,mt}return mt.done=!0,mt}},e.values=Gt,Ut.prototype={constructor:Ut,reset:function(rt){if(this.prev=0,this.next=0,this.sent=this._sent=i,this.done=!1,this.delegate=null,this.method="next",this.arg=i,this.tryEntries.forEac
1h(Kt),!rt)for(var Z in this)"t"===Z.charAt(0)&&r.call(this,Z)&&!isNaN(+Z.slice(1))&&(this[Z]=i)},stop:function(){this.done=!0;var Z=this.tryEntries[0].completion;if("throw"===Z.type)throw Z.arg;return this.rval},dispatchException:function(rt){if(this.done)throw rt;var Z=this;function st(Lt,Vt){return It.type="throw",It.arg=rt,Z.next=Lt,Vt&&(Z.method="next",Z.arg=i),!!Vt}for(var mt=this.tryEntries.length-1;mt>=0;--mt){var gt=this.tryEntries[mt],It=gt.completion;if("root"===gt.tryLoc)return st("end");if(gt.tryLoc<=this.prev){var Wt=r.call(gt,"catchLoc"),jt=r.call(gt,"finallyLoc");if(Wt&&jt){if(this.prev<gt.catchLoc)return st(gt.catchLoc,!0);if(this.prev<gt.finallyLoc)return st(gt.finallyLoc)}else if(Wt){if(this.prev<gt.catchLoc)return st(gt.catchLoc,!0)}else{if(!jt)throw new Error("try statement without catch or finally");if(this.prev<gt.finallyLoc)return st(gt.finallyLoc)}}}},abrupt:function(rt,Z){for(var st=this.tryEntries.length-1;st>=0;--st){var mt=this.tryEntries[st];if(mt.tryLoc<=this.prev&&r.call(mt,"finallyLoc")&&this.prev<mt.finallyLoc){var gt=mt;break}}gt&&("break"===rt||"continue"===rt)&>.tryLoc<=Z&&Z<=gt.finallyLoc&&(gt=null);var It=gt?gt.completion:{};return It.type=rt,It.arg=Z,gt?(this.method="next",this.next=gt.finallyLoc,U):this.complete(It)},complete:function(rt,Z){if("throw"===rt.type)throw rt.arg;return"break"===rt.type||"continue"===rt.type?this.next=rt.arg:"return"===rt.type?(this.rval=this.arg=rt.arg,this.method="return",this.next="end"):"normal"===rt.type&&Z&&(this.next=Z),U},finish:function(rt){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var st=this.tryEntries[Z];if(st.finallyLoc===rt)return this.complete(st.completion,st.afterLoc),Kt(st),U}},catch:function(rt){for(var Z=this.tryEntries.length-1;Z>=0;--Z){var st=this.tryEntries[Z];if(st.tryLoc===rt){var mt=st.completion;if("throw"===mt.type){var gt=mt.arg;Kt(st)}return gt}}throw new Error("illegal catch attempt")},delegateYield:function(rt,Z,st){return this.delegate={iterator:Gt(rt),resultName:Z,nextLoc:st},"next"===this.method&&(this.arg=i),U}},e}(o.exports);try{regeneratorRuntime=s}catch{Function("r","regeneratorRuntime = r")(s)}});var St=function(){function o(s,e,a){F(this,o),this.document=s,this.name=e,this.value=a,this.isNormalizedColor=!1}return I(o,[{key:"hasValue",value:function(){var e=this.value;return null!==e&&""!==e&&0!==e&&typeof e<"u"}},{key:"isString",value:function(e){var a=this.value,r="string"==typeof a;return r&&e?e.test(a):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case/px$/.test(e):case/^[0-9]+$/.test(e):return!0;default:return!1}}},{key:"setValue",value:function(e){return this.value=e,this}},{key:"getValue",value:function(e){return typeof e>"u"||this.hasValue()?this.value:e}},{key:"getNumber",value:function(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var r=parseFloat(this.value);return this.isString(/%$/)&&(r/=100),r}},{key:"getString",value:function(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}},{key:"getColor",value:function(e){var a=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,a=Kr(a),this.value=a),a}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var i=C("boolean"==typeof e?[void 0,e]:[e],2),n=i[0],u=i[1],l=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(l.computeSize("x"),l.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(l.computeSize("x"),l.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*l.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*l.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);
1case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&u:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*l.computeSize(n);default:var y=this.getNumber();return a&&y<1?y*l.computeSize(n):y}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var e=this.getString(),a=e.match(/#([^\)'"]+)/);return a&&(a=a[1]),a||(a=e),this.document.definitions[a]}},{key:"getFillStyleDefinition",value:function(e,a){var r=this.getDefinition();if(!r)return null;if("function"==typeof r.createGradient)return r.createGradient(this.document.ctx,e,a);if("function"==typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,e,a)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?o.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(e){for(var a=this.getColor(),r=a.length,i=0,n=0;n<r&&(","===a[n]&&i++,3!==i);n++);if(e.hasValue()&&this.isString()&&3!==i){var u=new(wt())(a);u.ok&&(u.alpha=e.getNumber(),a=u.toRGBA())}return new o(this.document,this.name,a)}}],[{key:"empty",value:function(e){return new o(e,"EMPTY","")}}]),o}();St.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var Qr=function(){function o(){F(this,o),this.viewPorts=[]}return I(o,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(e,a){this.viewPorts.push({width:e,height:a})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var e=this.viewPorts;return e[e.length-1]}},{key:"computeSize",value:function(e){return"number"==typeof e?e:"x"===e?this.width:"y"===e?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}}]),o}(),Qt=function(){function o(s,e){F(this,o),this.x=s,this.y=e}return I(o,[{key:"angleTo",value:function(e){return Math.atan2(e.y-this.y,e.x-this.x)}},{key:"applyTransform",value:function(e){var a=this.x,r=this.y,n=a*e[1]+r*e[3]+e[5];this.x=a*e[0]+r*e[2]+e[4],this.y=n}}],[{key:"parse",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=C(te(e),2),n=i[0],l=i[1];return new o(void 0===n?a:n,void 0===l?a:l)}},{key:"parseScale",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=C(te(e),2),n=i[0],u=void 0===n?a:n,l=i[1];return new o(u,void 0===l?u:l)}},{key:"parsePath",value:function(e){for(var a=te(e),r=a.length,i=[],n=0;n<r;n+=2)i.push(new o(a[n],a[n+1]));return i}}]),o}(),Jr=function(){function o(s){F(this,o),this.screen=s,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return I(o,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var r=this.onMouseMove,i=this.screen.ctx.canvas;i.onclick=this.onClick,i.onmousemove=r,this.working=!0}}},{key:"stop",value:function(){if(this.working){var e=this.screen.ctx.canvas;this.working=!1,e.onclick=null,e.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var a=this.events,r=this.eventElements,i=this.screen.ctx.canvas.style;i&&(i.cursor=""),a.forEach(function(n,u){for(var l=n.run,y=r[u];y;)l(y),y=y.parent}),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(e,a){if(this.working&&a){var i=this.eventElements;
1this.events.forEach(function(n,u){!i[u]&&a.isPointInPath&&a.isPointInPath(n.x,n.y)&&(i[u]=e)})}}},{key:"checkBoundingBox",value:function(e,a){if(this.working&&a){var i=this.eventElements;this.events.forEach(function(n,u){!i[u]&&a.isPointInBox(n.x,n.y)&&(i[u]=e)})}}},{key:"mapXY",value:function(e,a){for(var r=this.screen,i=r.window,n=r.ctx,u=new Qt(e,a),l=n.canvas;l;)u.x-=l.offsetLeft,u.y-=l.offsetTop,l=l.offsetParent;return i.scrollX&&(u.x+=i.scrollX),i.scrollY&&(u.y+=i.scrollY),u}},{key:"onClick",value:function(e){var a=this.mapXY((e||event).clientX,(e||event).clientY);this.events.push({type:"onclick",x:a.x,y:a.y,run:function(u){u.onClick&&u.onClick()}})}},{key:"onMouseMove",value:function(e){var a=this.mapXY((e||event).clientX,(e||event).clientY);this.events.push({type:"onmousemove",x:a.x,y:a.y,run:function(u){u.onMouseMove&&u.onMouseMove()}})}}]),o}(),Zr=typeof window<"u"?window:null,qr=typeof fetch<"u"?fetch.bind(void 0):null,Ke=function(){function o(s){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.fetch,r=void 0===a?qr:a,i=e.window,n=void 0===i?Zr:i;F(this,o),this.ctx=s,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new Qr,this.mouse=new Jr(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=n,this.fetch=r}return I(o,[{key:"wait",value:function(e){this.waits.push(e)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var e=this.waits.every(function(a){return a()});return e&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=e,e}},{key:"setDefaults",value:function(e){e.strokeStyle="rgba(0,0,0,0)",e.lineCap="butt",e.lineJoin="miter",e.miterLimit=4}},{key:"setViewBox",value:function(e){var a=e.document,r=e.ctx,n=e.width,u=e.desiredWidth,l=e.height,y=e.desiredHeight,p=e.minX,S=void 0===p?0:p,P=e.minY,A=void 0===P?0:P,z=e.refX,Q=e.refY,U=e.clip,nt=void 0!==U&&U,ot=e.clipX,_=void 0===ot?0:ot,tt=e.clipY,vt=void 0===tt?0:tt,Dt=C(De(e.aspectRatio).replace(/^defer\s/,"").split(" "),2),$t=Dt[0]||"xMidYMid",kt=Dt[1]||"meet",Kt=n/u,Ut=l/y,Gt=Math.min(Kt,Ut),Ht=Math.max(Kt,Ut),rt=u,Z=y;"meet"===kt&&(rt*=Gt,Z*=Gt),"slice"===kt&&(rt*=Ht,Z*=Ht);var st=new St(a,"refX",z),mt=new St(a,"refY",Q),gt=st.hasValue()&&mt.hasValue();if(gt&&r.translate(-Gt*st.getPixels("x"),-Gt*mt.getPixels("y")),nt){var It=Gt*_,Wt=Gt*vt;r.beginPath(),r.moveTo(It,Wt),r.lineTo(n,Wt),r.lineTo(n,l),r.lineTo(It,l),r.closePath(),r.clip()}if(!gt){var jt="meet"===kt&&Gt===Ut,Lt="slice"===kt&&Ht===Ut,Vt="meet"===kt&&Gt===Kt,_t="slice"===kt&&Ht===Kt;/^xMid/.test($t)&&(jt||Lt)&&r.translate(n/2-rt/2,0),/YMid$/.test($t)&&(Vt||_t)&&r.translate(0,l/2-Z/2),/^xMax/.test($t)&&(jt||Lt)&&r.translate(n-rt,0),/YMax$/.test($t)&&(Vt||_t)&&r.translate(0,l-Z)}switch(!0){case"none"===$t:r.scale(Kt,Ut);break;case"meet"===kt:r.scale(Gt,Gt);break;case"slice"===kt:r.scale(Ht,Ht)}r.translate(-S,-A)}},{key:"start",value:function(e){var a=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.enableRedraw,n=void 0!==i&&i,u=r.ignoreMouse,l=void 0!==u&&u,y=r.ignoreAnimation,p=void 0!==y&&y,S=r.ignoreDimensions,P=void 0!==S&&S,A=r.ignoreClear,z=void 0!==A&&A,Q=r.forceRedraw,U=r.scaleWidth,nt=r.scaleHeight,ot=r.offsetX,_=r.offsetY,vt=this.mouse,bt=1e3/this.FRAMERATE;if(this.frameDuration=bt,this.readyPromise=new Promise(function($t){a.resolveReady=$t}),this.isReady()&&this.render(e,P,z,U,nt,ot,_),n){var pt=Date.now(),Dt=pt,Ft=0;l||vt.start(),this.intervalId=ht()(function $t(){pt=Date.now(),(Ft=pt-Dt)>=bt&&(Dt=pt-Ft%bt,a.shouldUpdate(p,Q)&&(a.render(e,P,z,U,nt,ot,_),vt.runEvents())),a.intervalId=ht()($t)})}}},{key:"stop",value:function(){this.intervalId&&(ht().cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(e,a){if(!e){var r=this.frameDuration;if(this.animations.reduce(function(n,u){return u.update(r)||n},!1))return!0}return!!("function"==typeof a&&a()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}},{key:"render",value:function(e,a,r,i,n,u,l){var y=this.CLIENT_WIDTH,p=this.CLIENT_HEIGHT,S=this.viewPort,P=this.ctx,A=this.isFirstRender,z=P.canvas;S.clear(),z.width&&z.height?S.setCurrent(z.width,z.height):S.setCurrent(y,p);var Q=e.getStyle("width"),U=e.getStyle("height");!a&&(A||"number"!=typeof i&&"number"!=typeof n)&&(Q.hasValue()&&(z.width=Q.getPixels("x"),z.style&&(z.style.width="".concat(z.width,"px"))),U.hasValue()&&(z.height=U.getPixels("y"),z.style&&(z.style.height="".concat(z.height,"px"))));var nt=z.clientWidth||z.width,ot=z.clientHeight||z.height;if(a&&Q.hasValue()&&U.hasValue()&&(nt=Q.getPixels("x"),ot=U.getPixels("y")),S.setCurrent(nt,ot),"number"==typeof u&&e.getAttribute("x",!0).setValue(u),"number"==typeof l&&e.getAttribute("y",!0).setValue(l),"number"==typeof i||"number"==typeof n){var _=te(e.getAttribute("viewBox").getString()),tt=0,vt=0;if("number"==typeof i){var bt=e.getStyle("width");bt.hasValue()?tt=bt.getPixels("x")/i:isNaN(_[2])||(tt=_[2]/i)}if("number"==typeof n){var pt=e.getStyle("height");pt.hasValue()?vt=pt.getPixels("y")/n:isNaN(_[3])||(vt=_[3]/n)}tt||(tt=vt),vt||(vt=tt),e.getAttribute("width",!0).setValue(i),e.getAttribute("height",!0).setValue(n);var Dt=e.getStyle("transform",!0,!0);Dt.setValue("".concat(Dt.getString()," scale(").concat(1/tt,", ").concat(1/vt,")"))}r||P.clearRect(0,0,nt,ot),e.render(P),A&&(this.isFirstRender=!1)}}]),o}();Ke.defaultWindow=Zr,Ke.defaultFetch=qr;var na=Ke.defaultFetch,aa=typeof DOMParser<"u"?DOMParser:null,_e=function(){function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s.fetch,a=void 0===e?na:e,r=s.DOMParser,i=void 0===r?aa:r;F(this,o),this.fetch=a,this.DOMParser=i}return I(o,[{key:"parse",value:(s=H(D().mark(function a(r){return D().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!/^</.test(r)){n.next=2;break}return n.abrupt("return",this.parseFromString(r));case 2:return n.abrupt("return",this.load(r));case 3:case"end":return n.stop()}},a,this)})),function e(a){return s.apply(this,arguments)})},{key:"parseFromString",value:function(e){var a=new this.DOMParser;try{return this.checkDocument(a.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(a.parseFromString(e,"text/xml"))}}},{key:"checkDocument",value:function(e){var a=e.getElementsByTagName("parsererror")[0];if(a)throw new Error(a.textContent);return e}},{key:"load",value:function(){var s=H(D().mark(function a(r){var i;return D().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,this.fetch(r);case 2:return i=l.sent,l.next=5,i.text();case 5:return l.abrupt("return",this.parseFromString(l.sent));case 7:case"end":return l.stop()}},a,this)}));return function e(a){return s.apply(this,arguments)}}()}]),o;var s}(),_r=function(){function o(s,e){F(this,o),this.type="translate",this.point=null,this.point=Qt.parse(e)}return I(o,[{key:"apply",value:function(e){var a=this.point;e.translate(a.x||0,a.y||0)}},{key:"unapply",value:function(e){var a=this.point;e.translate(-1*a.x||0,-1*a.y||0)}},{key:"applyToPoint",value:function(e){var a=this.point;e.applyTransform([1,0,0,1,a.x||0,a.y||0])}}]),o}(),tn=function(){function o(s,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];F(this,o),this.type="rotate",this.angle=null,this.cx=0,this.cy=0;var r=te(e);this.angle=new St(s,"angle",r[0]),this.cx=(r[1]||0)+(a[0]||0),this.cy=(r[2]||0)+(a[1]||0)}return I(o,[{key:"apply",value:function(e){var a=this.cx,r=this.cy,i=this.angle;e.translate(a,r),e.rotate(i.getRadians()),e.translate(-a,-r)}},{key:"unapply",value:function(e){var a=this.cx,r=this.cy,i=this.angle;e.translate(a,r),e.rotate(-1*i.getRadians()),e.translate(-a,-r)}},{key:"applyToPoint",value:function(e){var a=this.cx,r=this.cy,n=this.angle.getRadians();e.applyTransform([1,0,0,1,a||0,r||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-a||0,-r||0])}}]),o}(),en=function(){function o(s,e){F(this,o),this.type="scale",this.scale=null;var a=Qt.parseScale(e);(0===a.x||0===a.y)&&(a.x=Be,a.y=Be),this.scale=a}return I(o,[{key:"apply",value:function(e){var a=this.scale,r=a.x;e.scale(r,a.y||r)}},{key:"unapply",value:function(e){var a=this.scale,r=a.x;e.scale(1/r,1/a.y||r)}},{key:"applyToPoint",value:function(e){var a=this.scale;e.applyTransform([a.x||0,0,0,a.y||0,0,0])}}]),o}(),xr=function(){function o(s,e){F(this,o),this.type="matrix",this.matrix=[],this.matrix=te(e)}return I(o,[{key:"apply",value:function(e){var a=this.matrix;e.transform(a[0],a[1],a[2],a[3],a[4],a[5])}},{key:"unapply",value:function(e){var a=this.matrix,r=a[0],i=a[2],n=a[4],u=a[1],l=a[3],y=a[5],A=1/(r*(1*l-0*y)-i*(1*u-0*y)+n*(0*u-0*l));e.transform(A*(1*l-0*y),A*(0*y-1*u),A*(0*n-1*i),A*(1*r-0*n),A*(i*y-n*l),A*(n*u-r*y))}},{key:"applyToPoint",value:function(e){e.applyTransform(this.matrix
1)}}]),o}();var Er=function(o){yt(e,o);var s=function ia(o){return function(){var e,s=Y(o);if(function sa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r){var i;return F(this,e),(i=s.call(this,a,r)).type="skew",i.angle=null,i.angle=new St(a,"angle",r),i}return e}(xr);var rn=function(o){yt(e,o);var s=function oa(o){return function(){var e,s=Y(o);if(function ua(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r){var i;return F(this,e),(i=s.call(this,a,r)).type="skewX",i.matrix=[1,0,Math.tan(i.angle.getRadians()),1,0,0],i}return e}(Er);var nn=function(o){yt(e,o);var s=function la(o){return function(){var e,s=Y(o);if(function fa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r){var i;return F(this,e),(i=s.call(this,a,r)).type="skewY",i.matrix=[1,Math.tan(i.angle.getRadians()),0,1,0,0],i}return e}(Er),Xe=function(){function o(s,e,a){var r=this;F(this,o),this.document=s,this.transforms=[];var i=function ca(o){return De(o).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(e),n=a?te(a):[];i.forEach(function(u){if("none"!==u){var l=function va(o){var e=C(o.split("("),2),r=e[1];return[e[0].trim(),r.trim().replace(")","")]}(u),y=C(l,2),P=o.transformTypes[y[0]];typeof P<"u"&&r.transforms.push(new P(r.document,y[1],n))}})}return I(o,[{key:"apply",value:function(e){for(var a=this.transforms,r=a.length,i=0;i<r;i++)a[i].apply(e)}},{key:"unapply",value:function(e){for(var a=this.transforms,i=a.length-1;i>=0;i--)a[i].unapply(e)}},{key:"applyToPoint",value:function(e){for(var a=this.transforms,r=a.length,i=0;i<r;i++)a[i].applyToPoint(e)}}],[{key:"fromElement",value:function(e,a){var r=a.getStyle("transform",!1,!0),i=a.getStyle("transform-origin",!1,!0);return r.hasValue()?new o(e,r.getString(),i.getString()):null}}]),o}();Xe.transformTypes={translate:_r,rotate:tn,scale:en,matrix:xr,skewX:rn,skewY:nn};var Jt=function(){function o(s,e){var a=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(F(this,o),this.document=s,this.node=e,this.captureTextNodes=r,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],e&&1===e.nodeType){Array.from(e.attributes).forEach(function(l){var y=Yr(l.nodeName);a.attributes[y]=new St(s,y,l.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(function(l){return l.trim()}).forEach(function(l){if(l){var p=C(l.split(":").map(function(A){return A.trim()}),2),S=p[0];a.styles[S]=new St(s,S,p[1])}});var n=s.definitions,u=this.getAttribute("id");u.hasValue()&&(n[u.getValue()]||(n[u.getValue()]=this)),Array.from(e.childNodes).forEach(function(l){if(1===l.nodeType)a.addChild(l);else if(r&&(3===l.nodeType||4===l.nodeType)){var y=s.createTextNode(l);y.getText().length>0&&a.addChild(y)}})}}return I(o,[{key:"getAttribute",value:function(e){var r=this.attributes[e];if(!r&&arguments.length>1&&void 0!==arguments[1]&&arguments[1]){var i=new St(this.document,e,"");return this.attributes[e]=i,i}return r||St.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var e in this.attributes)if("href"===e||/:href$/.test(e))return this.attributes[e];return St.empty(this.document)}},{key:"getStyle",value:function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=this.styles[e];if(i)return i;var n=this.getAttribute(e);
1if(n&&n.hasValue())return this.styles[e]=n,n;if(!r){var u=this.parent;if(u){var l=u.getStyle(e);if(l&&l.hasValue())return l}}if(a){var y=new St(this.document,e,"");return this.styles[e]=y,y}return i||St.empty(this.document)}},{key:"render",value:function(e){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(e.save(),this.getStyle("mask").hasValue()){var a=this.getStyle("mask").getDefinition();a&&(this.applyEffects(e),a.apply(e,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}},{key:"setContext",value:function(e){}},{key:"applyEffects",value:function(e){var a=Xe.fromElement(this.document,this);a&&a.apply(e);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(e)}}},{key:"clearContext",value:function(e){}},{key:"renderChildren",value:function(e){this.children.forEach(function(a){a.render(e)})}},{key:"addChild",value:function(e){var a=e instanceof o?e:this.document.createElement(e);a.parent=this,o.ignoreChildTypes.includes(a.type)||this.children.push(a)}},{key:"matchesSelector",value:function(e){var a=this.node;if("function"==typeof a.matches)return a.matches(e);var r=a.getAttribute("class");return!(!r||""===r)&&r.split(" ").some(function(i){if(".".concat(i)===e)return!0})}},{key:"addStylesFromStyleDefinition",value:function(){var e=this.document,a=e.styles,r=e.stylesSpecificity;for(var i in a)if("@"!==i[0]&&this.matchesSelector(i)){var n=a[i],u=r[i];if(n)for(var l in n){var y=this.stylesSpecificity[l];typeof y>"u"&&(y="000"),u>=y&&(this.styles[l]=n[l],this.stylesSpecificity[l]=u)}}}},{key:"removeStyles",value:function(e,a){return a.reduce(function(i,n){var u=e.getStyle(n);if(!u.hasValue())return i;var l=u.getString();return u.setValue(""),[].concat(function ce(o){return function de(o){if(Array.isArray(o))return R(o)}(o)||function He(o){if(typeof Symbol<"u"&&null!=o[Symbol.iterator]||null!=o["@@iterator"])return Array.from(o)}(o)||T(o)||function ue(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i),[[n,l]])},[])}},{key:"restoreStyles",value:function(e,a){a.forEach(function(r){var i=C(r,2),u=i[1];e.getStyle(i[0],!0).setValue(u)})}}]),o}();Jt.ignoreChildTypes=["title"];var an=function(o){yt(e,o);var s=function ha(o){return function(){var e,s=Y(o);if(function da(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){return F(this,e),s.call(this,a,r,i)}return e}(Jt);function ga(o){var s=o.trim();return/^('|")/.test(s)?s:'"'.concat(s,'"')}function ya(o){return typeof process>"u"?o:o.trim().split(",").map(ga).join(",")}function pa(o){if(!o)return"";var s=o.trim().toLowerCase();switch(s){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return s;default:return/^oblique\s+(-|)\d+deg$/.test(s)?s:""}}function ma(o){if(!o)return"";var s=o.trim().toLowerCase();switch(s){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return s;default:return/^[\d.]+$/.test(s)?s:""}}var pe=function(){function o(s,e,a,r,i,n){F(this,o);var u=n?"string"==typeof n?o.parse(n):n:{};this.fontFamily=i||u.fontFamily,this.fontSize=r||u.fontSize,this.fontStyle=s||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=e||u.fontVariant}return I(o,[{key:"toString",value:function(){return[pa(this.fontStyle),this.fontVariant,ma(this.fontWeight),this.fontSize,ya(this.fontFamily)].join(" ").trim()}}],[{key:"parse",value:function(){var a=arguments.length>1?arguments[1]:void 0,r="",i="",n="",u="",l="",y=De(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim().split(" "),p={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};
1return y.forEach(function(S){switch(!0){case!p.fontStyle&&o.styles.includes(S):"inherit"!==S&&(r=S),p.fontStyle=!0;break;case!p.fontVariant&&o.variants.includes(S):"inherit"!==S&&(i=S),p.fontStyle=!0,p.fontVariant=!0;break;case!p.fontWeight&&o.weights.includes(S):"inherit"!==S&&(n=S),p.fontStyle=!0,p.fontVariant=!0,p.fontWeight=!0;break;case!p.fontSize:if("inherit"!==S){var A=C(S.split("/"),1);u=A[0]}p.fontStyle=!0,p.fontVariant=!0,p.fontWeight=!0,p.fontSize=!0;break;default:"inherit"!==S&&(l+=S)}}),new o(r,i,n,u,l,a)}}]),o}();pe.styles="normal|italic|oblique|inherit",pe.variants="normal|small-caps|inherit",pe.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var le=function(){function o(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;F(this,o),this.x1=s,this.y1=e,this.x2=a,this.y2=r,this.addPoint(s,e),this.addPoint(a,r)}return I(o,[{key:"addPoint",value:function(e,a){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),typeof a<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=a,this.y2=a),a<this.y1&&(this.y1=a),a>this.y2&&(this.y2=a))}},{key:"addX",value:function(e){this.addPoint(e,null)}},{key:"addY",value:function(e){this.addPoint(null,e)}},{key:"addBoundingBox",value:function(e){if(e){var i=e.x2,n=e.y2;this.addPoint(e.x1,e.y1),this.addPoint(i,n)}}},{key:"sumCubic",value:function(e,a,r,i,n){return Math.pow(1-e,3)*a+3*Math.pow(1-e,2)*e*r+3*(1-e)*Math.pow(e,2)*i+Math.pow(e,3)*n}},{key:"bezierCurveAdd",value:function(e,a,r,i,n){var u=6*a-12*r+6*i,l=-3*a+9*r-9*i+3*n,y=3*r-3*a;if(0!==l){var S=Math.pow(u,2)-4*y*l;if(!(S<0)){var P=(-u+Math.sqrt(S))/(2*l);0<P&&P<1&&(e?this.addX(this.sumCubic(P,a,r,i,n)):this.addY(this.sumCubic(P,a,r,i,n)));var A=(-u-Math.sqrt(S))/(2*l);0<A&&A<1&&(e?this.addX(this.sumCubic(A,a,r,i,n)):this.addY(this.sumCubic(A,a,r,i,n)))}}else{if(0===u)return;var p=-y/u;0<p&&p<1&&(e?this.addX(this.sumCubic(p,a,r,i,n)):this.addY(this.sumCubic(p,a,r,i,n)))}}},{key:"addBezierCurve",value:function(e,a,r,i,n,u,l,y){this.addPoint(e,a),this.addPoint(l,y),this.bezierCurveAdd(!0,e,r,n,l),this.bezierCurveAdd(!1,a,i,u,y)}},{key:"addQuadraticCurve",value:function(e,a,r,i,n,u){var l=e+.6666666666666666*(r-e),y=a+2/3*(i-a);this.addBezierCurve(e,a,l,l+1/3*(n-e),y,y+1/3*(u-a),n,u)}},{key:"isPointInBox",value:function(e,a){return this.x1<=e&&e<=this.x2&&this.y1<=a&&a<=this.y2}},{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}}]),o}();var Oe=function(o){yt(e,o);var s=function Sa(o){return function(){var e,s=Y(o);if(function xa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).modifiedEmSizeStack=!1,a}return I(e,[{key:"calculateOpacity",value:function(){for(var r=1,i=this;i;){var n=i.getStyle("opacity",!1,!0);n.hasValue()&&(r*=n.getNumber()),i=i.parent}return r}},{key:"setContext",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!i){var n=this.getStyle("fill"),u=this.getStyle("fill-opacity"),l=this.getStyle("stroke"),y=this.getStyle("stroke-opacity");if(n.isUrlDefinition()){var p=n.getFillStyleDefinition(this,u);p&&(r.fillStyle=p)}else if(n.hasValue()){"currentColor"===n.getString()&&n.setValue(this.getStyle("color").getColor());var S=n.getColor();"inherit"!==S&&(r.fillStyle="none"===S?"rgba(0,0,0,0)":S)}if(u.hasValue()){var P=new St(this.document,"fill",r.fillStyle).addOpacity(u).getColor();r.fillStyle=P}if(l.isUrlDefinition()){var A=l.getFillStyleDefinition(this,y);A&&(r.strokeStyle=A)}else if(l.hasValue()){"currentColor"===l.getString()&&l.setValue(this.getStyle("color").getColor());var z=l.getString();"inherit"!==z&&(r.strokeStyle="none"===z?"rgba(0,0,0,0)":z)}if(y.hasValue()){var Q=new St(this.document,"stroke",r.strokeStyle).addOpacity(y).getString();r.strokeStyle=Q}var U=this.getStyle("stroke-width");if(U.hasValue()){var nt=U.getPixels();r.lineWidth=nt||Be}var ot=this.getStyle("stroke-linecap"),_=this.getStyle("stroke-linejoin"),tt=this.getStyle("stroke-miterlimit"),vt=this.getStyle("paint-order"),bt=this.getStyle("stroke-dasharray"),pt=this.getStyle("stroke-dashoffset");if(ot.hasValue()&&(r.lineCap=ot.getString()),_.hasValue()&&(r.lineJoin=_.getString()),tt.hasValue()&&(r.miterLimit=tt.getNumber()),vt.hasValue()&&(r.paintOrder=vt.getValue()),bt.hasValue()&&"none"!==bt.getString()){var Dt=te(bt.getString());typeof r.setLineDash<"u"?r.setLineDash(Dt):typeof r.webkitLineDash<"u"?r.webkitLineDash=Dt:typeof r.mozDash<"u"&&(1!==Dt.length||0!==Dt[0])&&(r.mozDash=Dt);var Ft=pt.getPixels();typeof r.lineDashOffset<"u"?r.lineDashOffset=Ft:typeof r.webkitLineDashOffset<"u"?r.webkitLineDashOffset=Ft:typeof r.mozDashOffset<"u"&&(r.mozDashOffset=Ft)}}if(this.modifiedEmSizeStack=!1,typeof r.font<"u"){var Ot=this.getStyle("font"),$t=this.getStyle("font-style"),kt=this.getStyle("font-variant"),Kt=this.getStyle("font-weight"),Ut=this.getStyle("font-size"),Gt=this.getStyle("font-family"),Ht=new pe($t.getString(),kt.getString(),Kt.getString(),Ut.hasValue()?"".concat(Ut.getPixels(!0),"px"):"",Gt.getString(),pe.parse(Ot.getString(),r.font));$t.setValue(Ht.fontStyle),kt.setValue(Ht.fontVariant),Kt.setValue(Ht.fontWeight),Ut.setValue(Ht.fontSize),Gt.setValue(Ht.fontFamily),r.font=Ht.toString(),Ut.isPixels()&&(this.document.emSize=Ut.getPixels(),this.modifiedEmSizeStack=!0)}i||(this.applyEffects(r),r.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(r){Et(Y(e.prototype),"clearContext",this).call(this,r),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),e}(Jt);var Ge=function(o){yt(e,o);var s=function Ea(o){return function(){var e,s=Y(o);if(function ba(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,(this instanceof e?this.constructor:void 0)===e||i)).type="text",n.x=0,n.y=0,n.measureCache=-1,n}return I(e,[{key:"setContext",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Et(Y(e.prototype),"setContext",this).call(this,r,i);var n=this.getStyle("dominant-baseline").getTextBaseline()||this.get
1Style("alignment-baseline").getTextBaseline();n&&(r.textBaseline=n)}},{key:"initializeCoordinates",value:function(r){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var i=this.getAttribute("dx"),n=this.getAttribute("dy");i.hasValue()&&(this.x+=i.getPixels("x")),n.hasValue()&&(this.y+=n.getPixels("y")),this.x+=this.getAnchorDelta(r,this,0)}},{key:"getBoundingBox",value:function(r){var i=this;if("text"!==this.type)return this.getTElementBoundingBox(r);this.initializeCoordinates(r);var n=null;return this.children.forEach(function(u,l){var y=i.getChildBoundingBox(r,i,i,l);n?n.addBoundingBox(y):n=y}),n}},{key:"getFontSize",value:function(){var i=this.parent,n=pe.parse(this.document.ctx.font).fontSize;return i.getStyle("font-size").getNumber(n)}},{key:"getTElementBoundingBox",value:function(r){var i=this.getFontSize();return new le(this.x,this.y-i,this.x+this.measureText(r),this.y)}},{key:"getGlyph",value:function(r,i,n){var u=i[n],l=null;if(r.isArabic){var y=i.length,p=i[n-1],S=i[n+1],P="isolated";(0===n||" "===p)&&n<y-2&&" "!==S&&(P="terminal"),n>0&&" "!==p&&n<y-2&&" "!==S&&(P="medial"),n>0&&" "!==p&&(n===y-1||" "===S)&&(P="initial"),typeof r.glyphs[u]<"u"&&!(l=r.glyphs[u][P])&&"glyph"===r.glyphs[u].type&&(l=r.glyphs[u])}else l=r.glyphs[u];return l||(l=r.missingGlyph),l}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(r){var i=r||this.node,n=Array.from(i.parentNode.childNodes),u=n.indexOf(i),l=n.length-1,y=De(i.value||i.text||i.textContent||"");return 0===u&&(y=Wr(y)),u===l&&(y=Hr(y)),y}},{key:"renderChildren",value:function(r){var i=this;if("text"===this.type){this.initializeCoordinates(r),this.children.forEach(function(u,l){i.renderChild(r,i,i,l)});var n=this.document.screen.mouse;n.isWorking()&&n.checkBoundingBox(this,this.getBoundingBox(r))}else this.renderTElementChildren(r)}},{key:"renderTElementChildren",value:function(r){var i=this.document,n=this.parent,u=this.getText(),l=n.getStyle("font-family").getDefinition();if(l)for(var y=l.fontFace.unitsPerEm,p=pe.parse(i.ctx.font),S=n.getStyle("font-size").getNumber(p.fontSize),P=n.getStyle("font-style").getString(p.fontStyle),A=S/y,z=l.isRTL?u.split("").reverse().join(""):u,Q=te(n.getAttribute("dx").getString()),U=z.length,nt=0;nt<U;nt++){var ot=this.getGlyph(l,z,nt);r.translate(this.x,this.y),r.scale(A,-A);var _=r.lineWidth;r.lineWidth=r.lineWidth*y/S,"italic"===P&&r.transform(1,0,.4,1,0,0),ot.render(r),"italic"===P&&r.transform(1,0,-.4,1,0,0),r.lineWidth=_,r.scale(1/A,-1/A),r.translate(-this.x,-this.y),this.x+=S*(ot.horizAdvX||l.horizAdvX)/y,typeof Q[nt]<"u"&&!isNaN(Q[nt])&&(this.x+=Q[nt])}else{var tt=this.x,vt=this.y;"stroke"===r.paintOrder?(r.strokeStyle&&r.strokeText(u,tt,vt),r.fillStyle&&r.fillText(u,tt,vt)):(r.fillStyle&&r.fillText(u,tt,vt),r.strokeStyle&&r.strokeText(u,tt,vt))}}},{key:"getAnchorDelta",value:function(r,i,n){var u=this.getStyle("text-anchor").getString("start");if("start"!==u){for(var l=i.children,y=l.length,p=null,S=0,P=n;P<y&&(p=l[P],!(P>n&&p.getAttribute("x").hasValue()||p.getAttribute("text-anchor").hasValue()));P++)S+=p.measureTextRecursive(r);return-1*("end"===u?S:S/2)}return 0}},{key:"adjustChildCoordinates",value:function(r,i,n,u){var l=n.children[u];if("function"!=typeof l.measureText)return l;r.save(),l.setContext(r,!0);var y=l.getAttribute("x"),p=l.getAttribute("y"),S=l.getAttribute("dx"),P=l.getAttribute("dy"),A=l.getAttribute("text-anchor").getString("start");if(0===u&&"textNode"!==l.type&&(y.hasValue()||y.setValue(i.getAttribute("x").getValue("0")),p.hasValue()||p.setValue(i.getAttribute("y").getValue("0")),S.hasValue()||S.setValue(i.getAttribute("dx").getValue("0")),P.hasValue()||P.setValue(i.getAttribute("dy").getValue("0"))),y.hasValue()){if(l.x=y.getPixels("x")+i.getAnchorDelta(r,n,u),"start"!==A){var z=l.measureTextRecursive(r);l.x+=-1*("end"===A?z:z/2)}S.hasValue()&&(l.x+=S.getPixels("x"))}else{if("start"!==A){var Q=l.measureTextRecursive(r);i.x+=-1*("end"===A?Q:Q/2)}S.hasValue()&&(i.x+=S.getPixels("x")),l.x=i.x}return i.x=l.x+l.measureText(r),p.hasValue()?(l.y=p.getPixels("y"),P.hasValue()&&(l.y+=P.getPixels("y"))):(P.hasValue()&&(i.y+=P.getPixels("y")),l.y=i.y),i.y=l.y,l.clearContext(r),r.restore(
1),l}},{key:"getChildBoundingBox",value:function(r,i,n,u){var l=this.adjustChildCoordinates(r,i,n,u),y=l.getBoundingBox(r);return y?(l.children.forEach(function(p,S){var P=i.getChildBoundingBox(r,i,l,S);y.addBoundingBox(P)}),y):null}},{key:"renderChild",value:function(r,i,n,u){var l=this.adjustChildCoordinates(r,i,n,u);l.render(r),l.children.forEach(function(y,p){i.renderChild(r,i,l,p)})}},{key:"measureTextRecursive",value:function(r){return this.children.reduce(function(n,u){return n+u.measureTextRecursive(r)},this.measureText(r))}},{key:"measureText",value:function(r){var i=this.measureCache;if(~i)return i;var n=this.getText(),u=this.measureTargetText(r,n);return this.measureCache=u,u}},{key:"measureTargetText",value:function(r,i){if(!i.length)return 0;var n=this.parent,u=n.getStyle("font-family").getDefinition();if(u){for(var l=this.getFontSize(),y=u.isRTL?i.split("").reverse().join(""):i,p=te(n.getAttribute("dx").getString()),S=y.length,P=0,A=0;A<S;A++)P+=(this.getGlyph(u,y,A).horizAdvX||u.horizAdvX)*l/u.fontFace.unitsPerEm,typeof p[A]<"u"&&!isNaN(p[A])&&(P+=p[A]);return P}if(!r.measureText)return 10*i.length;r.save(),this.setContext(r,!0);var U=r.measureText(i).width;return this.clearContext(r),r.restore(),U}}]),e}(Oe);var br=function(o){yt(e,o);var s=function Ra(o){return function(){var e,s=Y(o);if(function Pa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,(this instanceof e?this.constructor:void 0)===e||i)).type="tspan",n.text=n.children.length>0?"":n.getTextFromNode(),n}return I(e,[{key:"getText",value:function(){return this.text}}]),e}(Ge);var Ca=function(o){yt(e,o);var s=function Ta(o){return function(){var e,s=Y(o);if(function Oa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="textNode",a}return e}(br),sn=function(){function o(s){F(this,o),this.control=null,this.start=null,this.current=null,this.command="",this.tokens=[],this.i=-1,this.previousCommand="",this.points=[],this.angles=[],this.tokens=function Aa(o){return De(o.replace(/,/gm," ").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2").replace(/([0-9])([+\-])/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/([Aa](?:\s+(?:[0-9]*\.)?[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $2 $3 ")).trim()}(s).split(" ")}return I(o,[{key:"reset",value:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new Qt(0,0),this.control=new Qt(0,0),this.current=new Qt(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.tokens.length-1}},{key:"isCommandOrEnd",value:function(){return!!this.isEnd()||/^[A-Za-z]$/.test(this.tokens[this.i+1])}},{key:"isRelativeCommand",value:function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0;default:return!1}}},{key:"getToken",value:function(){return this.i++,this.tokens[this.i]}},{key:"getScalar",value:function(){return parseFloat(this.getToken())}},{key:"nextCommand",value:function(){this.previousCommand=this.command,this.command=this.getToken()}},{key:"getPoint",value:function(){var e=new Qt(this.getScalar(),this.getScalar());return this.makeAbsolute(e)}},{key:"getAsControlPoint",value:function(){var e=this.getPoint();return this.control=e,e}},{key:"getAsCurrentPoint",value:function(){var e=this.getPoint();return this.current=e,e}},{key:"getReflectedControlPoint",value:function(){var e=this.previousCommand.toLowerCase();if("c"!==e&&"s"!==e&&"q"!==e&&"t"!==e)return this.current;var a=this.current,n=this.control;return new Qt(2*a.x-n.x,2*a.y-n.y)}},{key:"makeAbsolute",value:function(e){if(this.isRelativeCommand()){var a=this.current,i=a.y;e.x+=a.x,e.y+=i}return e}},{key:"addMarker",value:function(e,a,r){var i=this.points,n=this.angles;r&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=i[i.length-1].angleTo(r)),this.addMarkerAngle(e,a?a.angleTo(e):null)}},{key:"addMarkerAngle",value:function(e,a){this.points.push(e),this.angles.push(a)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var e=this.angles,a=e.length,r=0;r<a;r++)if(!e[r])for(var i=r+1;i<a;i++)if(e[i]){e[r]=e[i];break}return e}}]),o}();var be=function(o){yt(e,o);var s=function Ia(o){return function(){var e,s=Y(o);if(function wa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="path",n.pathParser=null,n.pathParser=new sn(n.getAttribute("d").getString()),n}return I(e,[{key:"path",value:function(r){var i=this.pathParser,n=new le;for(i.reset(),r&&r.beginPath();!i.isEnd();)switch(i.nextCommand(),i.command){case"M":case"m":this.pathM(r,n);break;case"L":case"l":this.pathL(r,n);break;case"H":case"h":this.pathH(r,n);break;case"V":case"v":this.pathV(r,n);break;case"C":case"c":this.pathC(r,n);break;case"S":case"s":this.pathS(r,n);break;case"Q":case"q":this.pathQ(r,n);break;case"T":case"t":this.pathT(r,n);break;case"A":case"a":this.pathA(r,n);break;case"Z":case"z":this.pathZ(r,n)}return n}},{key:"getBoundingBox",value:function(r){return this.path()}},{key:"getMarkers",value:function(){var r=this.pathParser,i=r.getMarkerPoints(),n=r.getMarkerAngles();return i.map(function(l,y){return[l,n[y]]})}},{key:"renderChildren",value:function(r){this.path(r),this.document.screen.mouse.checkPath(this,r);var i=this.getStyle("fill-rule");""!==r.fillStyle&&("inherit"!==i.getString("inherit")?r.fill(i.getString()):r.fill()),""!==r.strokeStyle&&r.stroke();var n=this.getMarkers();if(n){var u=n.length-1,l=this.getStyle("marker-start"),y=this.getStyle("marker-mid"),p=this.getStyle("marker-end");if(l.isUrlDefinition()){var S=l.getDefinition(),P=C(n[0],2);S.render(r,P[0],P[1])}if(y.isUrlDefinition())for(var Q=y.getDefinition(),U=1;U<u;U++){var nt=C(n[U],2);Q.render(r,nt[0],nt[1])}if(p.isUrlDefinition()){var tt=p.getDefinition(),vt=C(n[u],2);tt.render(r,vt[0],vt[1])}}}},{key:"pathM",value:function(r,i){var n=this.pathParser,u=n.getAsCurrentPoint(),l=u.x,y=u.y;for(n.addMarker(u),i.addPoint(l,y),r&&r.moveTo(l,y),n.start=n.current;!n.isCommandOrEnd();){var p=n.getAsCurrentPoint(),S=p.x,P=p.y;n.addMarker(p,n.start),i.addPoint(S,P),r&&r.lineTo(S,P)}}},{key:"pathL",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=n.getAsCurrentPoint(),y=l.x,p=l.y;n.addMarker(l,u),i.addPoint(y,p),r&&r.lineTo(y,p)}}},{key:"pathH",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=new Qt((n.isRelativeCommand()?u.x:0)+n.getScalar(),u.y);n.addMarker(l,u),n.current=l,i.addPoint(l.x,l.y),r&&r.lineTo(l.x,l.y)}}},{key:"pathV",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=new Qt(u.x,(n.isRelativeCommand()?u.y:0)+n.getScalar());n.addMarker(l,u),n.current=l,i.addPoint(l.x,l.y),r&&r.lineTo(l.x,l.y)}}},{key:"pathC",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=n.getPoint(),y=n.getAsControlPoint(),p=n.getAsCurrentPoint();n.addMarker(p,y,l),i.addBezierCurve(u.x,u.y,l.x,l.y,y.x,y.y,p.x,p.y),r&&r.bezierCurveTo(l.x,l.y,y.x,y.y,p.x,p.y)}}},{key:"pathS",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=n.getReflectedControlPoint(),y=n.getAsControlPoint(),p=n.getAsCurrentPoint();n.addMarker(p,y,l),i.addBezierCurve(u.x,u.y,l.x,l.y,y.x,y.y,p.x,p.y),r&&r.bezierCurveTo(l.x,l.y,y.x,y.y,p.x,p.y)}}},{key:"pathQ",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=n.getAsControlPoint(),y=n.getAsCurrentPoint();n.addMarker(y,l,l),i.addQuadraticCurve(u.x,u.y,l.x,l.y,y.x,y.y),r&&r.quadraticCurveTo(l.x,l.y,y.x,y.y)}}},{key:"pathT",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=n.getReflectedControlPoint();n.control=l;var y=n.getAsCurrentPoint();n.addMarker(y,l,l),i.addQuadraticCurve(u.x,u.y,l.x,l.y,y.x,y.y),r&&r.quadraticCurveTo(l.x,l.y,y.x,y.y)}}},{key:"pathA",value:function(r,i){for(var n=this.pathParser;!n.isCommandOrEnd();){var u=n.current,l=n.getScalar(),y=n.getScalar(),p=n.getScalar()*(Math.PI/180),S=n.getScalar(),P=n.getScalar(),A=n.getAsCurrentPoint(),z=new Qt(Math.cos(p)*(u.x-A.x)/2+Math.sin(p)*(u.y-A.y)/2,-Math.sin(p)*(u.x-A.x)/2+Math.cos(p)*(u.y-A.y)/2),Q=Math.pow(z.x,2)/
1Math.pow(l,2)+Math.pow(z.y,2)/Math.pow(y,2);Q>1&&(l*=Math.sqrt(Q),y*=Math.sqrt(Q));var U=(S===P?-1:1)*Math.sqrt((Math.pow(l,2)*Math.pow(y,2)-Math.pow(l,2)*Math.pow(z.y,2)-Math.pow(y,2)*Math.pow(z.x,2))/(Math.pow(l,2)*Math.pow(z.y,2)+Math.pow(y,2)*Math.pow(z.x,2)));isNaN(U)&&(U=0);var nt=new Qt(U*l*z.y/y,U*-y*z.x/l),ot=new Qt((u.x+A.x)/2+Math.cos(p)*nt.x-Math.sin(p)*nt.y,(u.y+A.y)/2+Math.sin(p)*nt.x+Math.cos(p)*nt.y),_=Ye([1,0],[(z.x-nt.x)/l,(z.y-nt.y)/y]),tt=[(z.x-nt.x)/l,(z.y-nt.y)/y],vt=[(-z.x-nt.x)/l,(-z.y-nt.y)/y],bt=Ye(tt,vt);ke(tt,vt)<=-1&&(bt=Math.PI),ke(tt,vt)>=1&&(bt=0);var pt=1-P?1:-1,Dt=_+pt*(bt/2),Ft=new Qt(ot.x+l*Math.cos(Dt),ot.y+y*Math.sin(Dt));if(n.addMarkerAngle(Ft,Dt-pt*Math.PI/2),n.addMarkerAngle(A,Dt-pt*Math.PI),i.addPoint(A.x,A.y),r&&!isNaN(_)&&!isNaN(bt)){var Ot=l>y?l:y,$t=l>y?1:l/y,kt=l>y?y/l:1;r.translate(ot.x,ot.y),r.rotate(p),r.scale($t,kt),r.arc(0,0,Ot,_,_+bt,!!(1-P)),r.scale(1/$t,1/kt),r.rotate(-p),r.translate(-ot.x,-ot.y)}}}},{key:"pathZ",value:function(r,i){var n=this.pathParser;r&&i.x1!==i.x2&&i.y1!==i.y2&&r.closePath(),n.current=n.start}}]),e}(Oe);var ze=function(o){yt(e,o);var s=function Na(o){return function(){var e,s=Y(o);if(function Ma(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="svg",a.root=!1,a}return I(e,[{key:"clearContext",value:function(r){Et(Y(e.prototype),"clearContext",this).call(this,r),this.document.screen.viewPort.removeCurrent()}},{key:"setContext",value:function(r){var i=this.document,n=i.screen,u=i.window,l=r.canvas;if(n.setDefaults(r),l.style&&typeof r.font<"u"&&u&&typeof u.getComputedStyle<"u"){r.font=u.getComputedStyle(l).getPropertyValue("font");var y=new St(i,"fontSize",pe.parse(r.font).fontSize);y.hasValue()&&(i.rootEmSize=y.getPixels("y"),i.emSize=i.rootEmSize)}Et(Y(e.prototype),"setContext",this).call(this,r),this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0),r.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y"));var p=n.viewPort,S=p.width,P=p.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var A=this.getAttribute("refX"),z=this.getAttribute("refY"),Q=this.getAttribute("viewBox"),U=Q.hasValue()?te(Q.getString()):null,nt=!this.root&&"visible"!==this.getAttribute("overflow").getValue("hidden"),ot=0,_=0,tt=0,vt=0;U&&(ot=U[0],_=U[1]),this.root||(S=this.getStyle("width").getPixels("x"),P=this.getStyle("height").getPixels("y"),"marker"===this.type&&(tt=ot,vt=_,ot=0,_=0)),n.viewPort.setCurrent(S,P),U&&(S=U[2],P=U[3]),i.setViewBox({ctx:r,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:S,height:n.viewPort.height,desiredHeight:P,minX:ot,minY:_,refX:A.getValue(),refY:z.getValue(),clip:nt,clipX:tt,clipY:vt}),U&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(S,P))}},{key:"resize",value:function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=this.getAttribute("width",!0),l=this.getAttribute("height",!0),y=this.getAttribute("viewBox"),p=this.getAttribute("style"),S=u.getNumber(0),P=l.getNumber(0);if(n)if("string"==typeof n)this.getAttribute("preserveAspectRatio",!0).setValue(n);else{var A=this.getAttribute("preserveAspectRatio");A.hasValue()&&A.setValue(A.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(u.setValue(r),l.setValue(i),y.hasValue()||y.setValue("0 0 ".concat(S||r," ").concat(P||i)),p.hasValue()){var z=this.getStyle("width"),Q=this.getStyle("height");z.hasValue()&&z.setValue("".concat(r,"px")),Q.hasValue()&&Q.setValue("".concat(i,"px"))}}}]),e}(Oe);var Rr=function(o){yt(e,o);var s=function Da(o){return function(){var e,s=Y(o);if(function $a(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="rect",a}return I(e,[{key:"path",value:function(r){var i=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),u=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),y=this.getAttribute("rx"),p=this.getAttribute("ry"),S=y.getPixels("x"),P=p.getPixels("y");if(y.hasValue()&&!p.hasValue()&&(P=S),p.hasValue()&&!y.hasValue()&&(S=P),S=Math.min(S,u/2),P=Math.min(P,l/2),r){var A=(Math.sqrt(2)-1)/3*4;r.beginPath(),l>0&&u>0&&(r.moveTo(i+S,n),r.lineTo(i+u-S,n),r.bezierCurveTo(i+u-S+A*S,n,i+u,n+P-A*P,i+u,n+P),r.lineTo(i+u,n+l-P),r.bezierCurveTo(i+u,n+l-P+A*P,i+u-S+A*S,n+l,i+u-S,n+l),r.lineTo(i+S,n+l),r.bezierCurveTo(i+S-A*S,n+l,i,n+l-P+A*P,i,n+l-P),r.lineTo(i,n+P),r.bezierCurveTo(i,n+P-A*P,i+S-A*S,n,i+S,n),r.closePath())}return new le(i,n,i+u,n+l)}},{key:"getMarkers",value:function(){return null}}]),e}(be);var on=function(o){yt(e,o);var s=function Ba(o){return function(){var e,s=Y(o);if(function Fa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="circle",a}return I(e,[{key:"path",value:function(r){var i=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y"),u=this.getAttribute("r").getPixels();return r&&u>0&&(r.beginPath(),r.arc(i,n,u,0,2*Math.PI,!1),r.closePath()),new le(i-u,n-u,i+u,n+u)}},{key:"getMarkers",value:function(){return null}}]),e}(be);var un=function(o){yt(e,o);var s=function ja(o){return function(){var e,s=Y(o);if(function La(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="ellipse",a}return I(e,[{key:"path",value:function(r){var i=(Math.sqrt(2)-1)/3*4,n=this.getAttribute("rx").getPixels("x"),u=this.getAttribute("ry").getPixels("y"),l=this.getAttribute("cx").getPixels("x"),y=this.getAttribute("cy").getPixels("y");return r&&n>0&&u>0&&(r.beginPath(),r.moveTo(l+n,y),r.bezierCurveTo(l+n,y+i*u,l+i*n,y+u,l,y+u),r.bezierCurveTo(l-i*n,y+u,l-n,y+i*u,l-n,y),r.bezierCurveTo(l-n,y-i*u,l-i*n,y-u,l,y-u),r.bezierCurveTo(l+i*n,y-u,l+n,y-i*u,l+n,y),r.closePath()),new le(l-n,y-u,l+n,y+u)}},{key:"getMarkers",value:function(){return null}}]),e}(be);var ln=function(o){yt(e,o);var s=function Va(o){return function(){var e,s=Y(o);if(function ka(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="line",a}return I(e,[{key:"getPoints",value:function(){return[new Qt(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Qt(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(r){var n=C(this.getPoints(),2),u=n[0],l=u.x,y=u.y,p=n[1],S=p.x,P=p.y;return r&&(r.beginPath(),r.moveTo(l,y),r.lineTo(S,P)),new le(l,y,S,P)}},{key:"getMarkers",value:function(){var i=C(this.getPoints(),2),n=i[0],u=i[1],l=n.angleTo(u);
1return[[n,l],[u,l]]}}]),e}(be);var Pr=function(o){yt(e,o);var s=function Ga(o){return function(){var e,s=Y(o);if(function za(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="polyline",n.points=[],n.points=Qt.parsePath(n.getAttribute("points").getString()),n}return I(e,[{key:"path",value:function(r){var i=this.points,u=C(i,1)[0],l=u.x,y=u.y,p=new le(l,y);return r&&(r.beginPath(),r.moveTo(l,y)),i.forEach(function(S){var P=S.x,A=S.y;p.addPoint(P,A),r&&r.lineTo(P,A)}),p}},{key:"getMarkers",value:function(){var r=this.points,i=r.length-1,n=[];return r.forEach(function(u,l){l!==i&&n.push([u,u.angleTo(r[l+1])])}),n.length>0&&n.push([r[r.length-1],n[n.length-1][1]]),n}}]),e}(be);var fn=function(o){yt(e,o);var s=function Ua(o){return function(){var e,s=Y(o);if(function Wa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="polygon",a}return I(e,[{key:"path",value:function(r){var i=Et(Y(e.prototype),"path",this).call(this,r),u=C(this.points,1)[0];return r&&(r.lineTo(u.x,u.y),r.closePath()),i}}]),e}(Pr);var cn=function(o){yt(e,o);var s=function Ha(o){return function(){var e,s=Y(o);if(function Ya(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="pattern",a}return I(e,[{key:"createPattern",value:function(r,i,n){var u=this.getStyle("width").getPixels("x",!0),l=this.getStyle("height").getPixels("y",!0),y=new ze(this.document,null);y.attributes.viewBox=new St(this.document,"viewBox",this.getAttribute("viewBox").getValue()),y.attributes.width=new St(this.document,"width","".concat(u,"px")),y.attributes.height=new St(this.document,"height","".concat(l,"px")),y.attributes.transform=new St(this.document,"transform",this.getAttribute("patternTransform").getValue()),y.children=this.children;var p=this.document.createCanvas(u,l),S=p.getContext("2d"),P=this.getAttribute("x"),A=this.getAttribute("y");P.hasValue()&&A.hasValue()&&S.translate(P.getPixels("x",!0),A.getPixels("y",!0)),n.hasValue()?this.styles["fill-opacity"]=n:Reflect.deleteProperty(this.styles,"fill-opacity");for(var z=-1;z<=1;z++)for(var Q=-1;Q<=1;Q++)S.save(),y.attributes.x=new St(this.document,"x",z*p.width),y.attributes.y=new St(this.document,"y",Q*p.height),y.render(S),S.restore();return r.createPattern(p,"repeat")}}]),e}(Jt);var vn=function(o){yt(e,o);var s=function Ka(o){return function(){var e,s=Y(o);if(function Xa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="marker",a}return I(e,[{key:"render",value:function(r,i,n){if(i){var u=i.x,l=i.y,y=this.getAttribute("orient").getValue("auto"),p=this.getAttribute("markerUnits").getValue("strokeWidth");r.translate(u,l),"auto"===y&&r.rotate(n),"strokeWidth"===p&&r.scale(r.lineWidth,r.lineWidth),r.save();var S=new ze(this.document,null);
1S.type=this.type,S.attributes.viewBox=new St(this.document,"viewBox",this.getAttribute("viewBox").getValue()),S.attributes.refX=new St(this.document,"refX",this.getAttribute("refX").getValue()),S.attributes.refY=new St(this.document,"refY",this.getAttribute("refY").getValue()),S.attributes.width=new St(this.document,"width",this.getAttribute("markerWidth").getValue()),S.attributes.height=new St(this.document,"height",this.getAttribute("markerHeight").getValue()),S.attributes.overflow=new St(this.document,"overflow",this.getAttribute("overflow").getValue()),S.attributes.fill=new St(this.document,"fill",this.getAttribute("fill").getColor("black")),S.attributes.stroke=new St(this.document,"stroke",this.getAttribute("stroke").getValue("none")),S.children=this.children,S.render(r),r.restore(),"strokeWidth"===p&&r.scale(1/r.lineWidth,1/r.lineWidth),"auto"===y&&r.rotate(-n),r.translate(-u,-l)}}}]),e}(Jt);var hn=function(o){yt(e,o);var s=function Qa(o){return function(){var e,s=Y(o);if(function Ja(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="defs",a}return I(e,[{key:"render",value:function(){}}]),e}(Jt);var tr=function(o){yt(e,o);var s=function Za(o){return function(){var e,s=Y(o);if(function qa(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="g",a}return I(e,[{key:"getBoundingBox",value:function(r){var i=new le;return this.children.forEach(function(n){i.addBoundingBox(n.getBoundingBox(r))}),i}}]),e}(Oe);var Tr=function(o){yt(e,o);var s=function _a(o){return function(){var e,s=Y(o);if(function ti(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).attributesToInherit=["gradientUnits"],n.stops=[];var u=Zt(n),l=u.stops;return u.children.forEach(function(p){"stop"===p.type&&l.push(p)}),n}return I(e,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(r,i,n){var u=this,l=this;this.getHrefAttribute().hasValue()&&(l=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(l));var p=l.stops,S=this.getGradient(r,i);if(!S)return this.addParentOpacity(n,p[p.length-1].color);if(p.forEach(function(pt){S.addColorStop(pt.offset,u.addParentOpacity(n,pt.color))}),this.getAttribute("gradientTransform").hasValue()){var P=this.document,A=P.screen,z=A.MAX_VIRTUAL_PIXELS,nt=C(A.viewPort.viewPorts,1)[0],ot=new Rr(P,null);ot.attributes.x=new St(P,"x",-z/3),ot.attributes.y=new St(P,"y",-z/3),ot.attributes.width=new St(P,"width",z),ot.attributes.height=new St(P,"height",z);var _=new tr(P,null);_.attributes.transform=new St(P,"transform",this.getAttribute("gradientTransform").getValue()),_.children=[ot];var tt=new ze(P,null);tt.attributes.x=new St(P,"x",0),tt.attributes.y=new St(P,"y",0),tt.attributes.width=new St(P,"width",nt.width),tt.attributes.height=new St(P,"height",nt.height),tt.children=[_];var vt=P.createCanvas(nt.width,nt.height),bt=vt.getContext("2d");return bt.fillStyle=S,tt.render(bt),bt.createPattern(vt,"no-repeat")}return S}},{key:"inheritStopContainer",value:function(r){var i=this;this.attributesToInherit.forEach(function(n){!i.getAttribute(n).hasValue()&&r.getAttribute(n).hasValue()&&i.getAttribute(n,!0).setValue(r.getAttribute(n).getValue())})}},{key:"addParentOpacity",value:function(r,i){return r.hasValue()?new St(this.document,"color",i).addOpacity(r).getColor():i}}]),e}(Jt);var dn=function(o){yt(e,o);var s=function ei(o){return function(){var e,s=Y(o);if(function ri(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="linearGradient",n.attributesToInherit.push("x1","y1","x2","y2"),n}return I(e,[{key:"getGradient",value:function(r,i){var n="objectBoundingBox"===this.getGradientUnits(),u=n?i.getBoundingBox(r):null;if(n&&!u)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var l=n?u.x+u.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),y=n?u.y+u.he
1ight*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),p=n?u.x+u.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),S=n?u.y+u.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return l===p&&y===S?null:r.createLinearGradient(l,y,p,S)}}]),e}(Tr);var gn=function(o){yt(e,o);var s=function ni(o){return function(){var e,s=Y(o);if(function ai(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="radialGradient",n.attributesToInherit.push("cx","cy","r","fx","fy","fr"),n}return I(e,[{key:"getGradient",value:function(r,i){var n="objectBoundingBox"===this.getGradientUnits(),u=i.getBoundingBox(r);if(n&&!u)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var l=n?u.x+u.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),y=n?u.y+u.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),p=l,S=y;this.getAttribute("fx").hasValue()&&(p=n?u.x+u.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(S=n?u.y+u.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var P=n?(u.width+u.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),A=this.getAttribute("fr").getPixels();return r.createRadialGradient(p,S,A,l,y,P)}}]),e}(Tr);var yn=function(o){yt(e,o);var s=function ii(o){return function(){var e,s=Y(o);if(function si(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).type="stop";var u=Math.max(0,Math.min(1,n.getAttribute("offset").getNumber())),l=n.getStyle("stop-opacity"),y=n.getStyle("stop-color",!0);return""===y.getString()&&y.setValue("#000"),l.hasValue()&&(y=y.addOpacity(l)),n.offset=u,n.color=y.getColor(),n}return e}(Jt);var er=function(o){yt(e,o);var s=function oi(o){return function(){var e,s=Y(o);if(function ui(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="animate",n.duration=0,n.initialValue=null,n.initialUnits="",n.removed=!1,n.frozen=!1,a.screen.animations.push(Zt(n)),n.begin=n.getAttribute("begin").getMilliseconds(),n.maxDuration=n.begin+n.getAttribute("dur").getMilliseconds(),n.from=n.getAttribute("from"),n.to=n.getAttribute("to"),n.values=n.getAttribute("values"),n.values.hasValue()&&n.values.setValue(n.values.getString().split(";")),n}return I(e,[{key:"getProperty",value:function(){var r=this.getAttribute("attributeType").getString(),i=this.getAttribute("attributeName").getString();return"CSS"===r?this.parent.getStyle(i,!0):this.parent.getAttribute(i,!0)}},{key:"calcValue",value:function(){var r=this.initialUnits,i=this.getProgress(),n=i.progress,u=i.from,l=i.to,y=u.getNumber()+(l.getNumber()-u.getNumber())*n;return"%"===r&&(y*=100),"".concat(y).concat(r)}},{key:"update",value:function(r){var i=this.parent,n=this.getProperty();if(this.initialValue||(this.initialValue=n.getString(),this.initialUnits=n.getUnits()),this.duration>this.maxDuration){var u=this.getAttribute("fill").getString("remove");
1if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==u||this.frozen){if("remove"===u&&!this.removed)return this.removed=!0,n.setValue(i.animationFrozen?i.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,i.animationFrozen=!0,i.animationFrozenValue=n.getString();return!1}this.duration+=r;var l=!1;if(this.begin<this.duration){var y=this.calcValue(),p=this.getAttribute("type");if(p.hasValue()){var S=p.getString();y="".concat(S,"(").concat(y,")")}n.setValue(y),l=!0}return l}},{key:"getProgress",value:function(){var r=this.document,i=this.values,n={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(i.hasValue()){var u=n.progress*(i.getValue().length-1),l=Math.floor(u),y=Math.ceil(u);n.from=new St(r,"from",parseFloat(i.getValue()[l])),n.to=new St(r,"to",parseFloat(i.getValue()[y])),n.progress=(u-l)/(y-l)}else n.from=this.from,n.to=this.to;return n}}]),e}(Jt);var pn=function(o){yt(e,o);var s=function li(o){return function(){var e,s=Y(o);if(function fi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="animateColor",a}return I(e,[{key:"calcValue",value:function(){var r=this.getProgress(),i=r.progress,n=r.from,u=r.to,l=new(wt())(n.getColor()),y=new(wt())(u.getColor());if(l.ok&&y.ok){var S=l.g+(y.g-l.g)*i,P=l.b+(y.b-l.b)*i;return"rgb(".concat(parseInt(l.r+(y.r-l.r)*i,10),", ").concat(parseInt(S,10),", ").concat(parseInt(P,10),")")}return this.getAttribute("from").getColor()}}]),e}(er);var mn=function(o){yt(e,o);var s=function ci(o){return function(){var e,s=Y(o);if(function vi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="animateTransform",a}return I(e,[{key:"calcValue",value:function(){var r=this.getProgress(),i=r.progress,u=r.to,l=te(r.from.getString()),y=te(u.getString());return l.map(function(S,P){return S+(y[P]-S)*i}).join(" ")}}]),e}(er);function Sn(o,s){(null==s||s>o.length)&&(s=o.length);for(var e=0,a=new Array(s);e<s;e++)a[e]=o[e];return a}var xn=function(o){yt(e,o);var s=function gi(o){return function(){var e,s=Y(o);if(function yi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).type="font",n.glyphs={},n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber();var S,u=a.definitions,p=function hi(o){if(typeof Symbol>"u"||null==o[Symbol.iterator]){if(Array.isArray(o)||(o=function di(o,s){if(o){if("string"==typeof o)return Sn(o,s);var e=Object.prototype.toString.call(o).slice(8,-1);if("Object"===e&&o.constructor&&(e=o.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Sn(o,s)}}(o))){var s=0,e=function(){};return{s:e,n:function(){return s>=o.length?{done:!0}:{done:!1,value:o[s++]}},e:function(l){throw l},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,n,r=!0,i=!1;return{s:function(){a=o[Symbol.iterator]()},n:function(){var l=a.next();return r=l.done,l},e:function(l){i=!0,n=l},f:function(){try{!r&&null!=a.return&&a.return()}finally{if(i)throw n}}}}(Zt(n).children);try{for(p.s();!(S=p.n()).done;){var P=S.value;switch(P.type){case"font-face":n.fontFace=P;var A=P.getStyle("font-family");A.hasValue()&&(u[A.getString()]=Zt(n));break;case"missing-glyph":n.missingGlyph=P;break;case"glyph":var z=P;z.arabicForm?(n.isRTL=!0,n.isArabic=!0,typeof n.glyphs[z.unicode]>"u"&&(n.glyphs[z.unicode]={}),n.glyphs[z.unicode][z.arabicForm]=z):n.glyphs[z.unicode]=z}}}catch(Q){p.e(Q)}finally{p.f()}return n}return I(e,[{key:"render",value:function(){}}]),e}(Jt);var En=function(o){yt(e,o);var s=function pi(o){return function(){var e,s=Y(o);if(function mi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="font-face",n.ascent=n.getAttribute("ascent").getNumber(),n.descent=n.getAttribute("descent").getNumber(),n.unitsPerEm=n.getAttribute("units-per-em").getNumber(),n}return e}(Jt);var bn=function(o){yt(e,o);var s=function Si(o){return function(){var e,s=Y(o);if(function xi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="missing-glyph",a.horizAdvX=0,a}return e}(be);var Rn=function(o){yt(e,o);var s=function Ei(o){return function(){var e,s=Y(o);if(function bi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="glyph",n.horizAdvX=n.getAttribute("horiz-adv-x").getNumber(),n.unicode=n.getAttribute("unicode").getString(),n.arabicForm=n.getAttribute("arabic-form").getString(),n}return e}(be);var Pn=function(o){yt(e,o);var s=function Ri(o){return function(){var e,s=Y(o);if(function Pi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="tref",a}return I(e,[{key:"getText",value:function(){var r=this.getHrefAttribute().getDefinition();if(r){var i=r.children[0];if(i)return i.getText()}return""}}]),e}(Ge);var Tn=function(o){yt(e,o);var s=function Ti(o){return function(){var e,s=Y(o);if(function Oi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).type="a";var u=r.childNodes,l=u[0],y=u.length>0&&Array.from(u).every(function(p){return 3===p.nodeType});return n.hasText=y,n.text=y?n.getTextFromNode(l):"",n}return I(e,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(r){if(this.hasText){Et(Y(e.prototype),"renderChildren",this).call(this,r);var i=this.document,n=this.x,u=this.y,l=i.screen.mouse,y=new St(i,"fontSize",pe.parse(i.ctx.font).fontSize);l.isWorking()&&l.checkBoundingBox(this,new le(n,u-y.getPixels("y"),n+this.measureText(r),u))}else if(this.children.length>0){var p=new tr(this.document,null);p.children=this.children,p.parent=this,p.render(r)}}},{key:"onClick",value:function(){var r=this.document.window;r&&r.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),e}(Ge);function On(o,s){(null==s||s>o.length)&&(s=o.length);for(var e=0,a=new Array(s);e<s;e++)a[e]=o[e];return a}var Cn=function(o){yt(e,o);var s=function Ii(o){return function(){var e,s=Y(o);if(function wi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).type="textPath",n.textWidth=0,n.textHeight=0,n.pathLength=-1,n.glyphInfo=null,n.letterSpacingCache=[],n.measuresCache=new Map([["",0]]);var u=n.getHrefAttribute().getDefinition();return n.text=n.getTextFromNode(),n.dataArray=n.parsePathData(u),n}return I(e,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(r){var i=this.dataArray;
1r&&r.beginPath(),i.forEach(function(n){var l=n.points;switch(n.command){case"L":r&&r.lineTo(l[0],l[1]);break;case"M":r&&r.moveTo(l[0],l[1]);break;case"C":r&&r.bezierCurveTo(l[0],l[1],l[2],l[3],l[4],l[5]);break;case"Q":r&&r.quadraticCurveTo(l[0],l[1],l[2],l[3]);break;case"A":var y=l[0],p=l[1],S=l[2],P=l[3],A=l[4],z=l[5],Q=l[6],U=l[7],nt=S>P?S:P,ot=S>P?1:S/P,_=S>P?P/S:1;r&&(r.translate(y,p),r.rotate(Q),r.scale(ot,_),r.arc(0,0,nt,A,A+z,!!(1-U)),r.scale(1/ot,1/_),r.rotate(-Q),r.translate(-y,-p));break;case"z":r&&r.closePath()}})}},{key:"renderChildren",value:function(r){this.setTextData(r),r.save();var i=this.parent.getStyle("text-decoration").getString(),n=this.getFontSize(),u=this.glyphInfo,l=r.fillStyle;"underline"===i&&r.beginPath(),u.forEach(function(y,p){var S=y.p0,P=y.p1,A=y.text;r.save(),r.translate(S.x,S.y),r.rotate(u[p].rotation),r.fillStyle&&r.fillText(A,0,0),r.strokeStyle&&r.strokeText(A,0,0),r.restore(),"underline"===i&&(0===p&&r.moveTo(S.x,S.y+n/8),r.lineTo(P.x,P.y+n/5))}),"underline"===i&&(r.lineWidth=n/20,r.strokeStyle=l,r.stroke(),r.closePath()),r.restore()}},{key:"getLetterSpacingAt",value:function(){return this.letterSpacingCache[arguments.length>0&&void 0!==arguments[0]?arguments[0]:0]||0}},{key:"findSegmentToFitChar",value:function(r,i,n,u,l,y,p,S){var P=y,A=this.measureText(r,p);" "===p&&"justify"===i&&n<u&&(A+=(u-n)/l),S>-1&&(P+=this.getLetterSpacingAt(S));var z=this.textHeight/20,Q={p0:this.getEquidistantPointOnPath(P,z),p1:this.getEquidistantPointOnPath(P+A,z)};return{offset:P+=A,segment:Q}}},{key:"measureText",value:function(r,i){var n=this.measuresCache,u=i||this.getText();if(n.has(u))return n.get(u);var l=this.measureTargetText(r,u);return n.set(u,l),l}},{key:"setTextData",value:function(r){var i=this;if(!this.glyphInfo){var n=this.getText(),u=n.split(""),l=n.split(" ").length-1,y=te(this.parent.getAttribute("dx").getString("0")),p=this.parent.getStyle("text-anchor").getString("start"),S=this.getStyle("letter-spacing"),P=this.parent.getStyle("letter-spacing"),A=0;S.hasValue()&&"inherit"!==S.getValue()?S.hasValue()&&"initial"!==S.getValue()&&"unset"!==S.getValue()&&(A=S.getPixels()):A=P.getPixels();var z=[],Q=n.length;this.letterSpacingCache=z;for(var U=0;U<Q;U++)z.push(typeof y[U]<"u"?y[U]:A);var nt=z.reduce(function(bt,pt){return bt+pt||0},0);this.textWidth=this.measureText(r),this.textHeight=this.getFontSize();var ot=Math.max(this.textWidth+nt,0);this.glyphInfo=[];var _=this.getPathLength(),tt=this.getStyle("startOffset").getNumber(0)*_,vt=0;("middle"===p||"center"===p)&&(vt=-ot/2),("end"===p||"right"===p)&&(vt=-ot),vt+=tt,u.forEach(function(bt,pt){var Dt=i.findSegmentToFitChar(r,p,ot,_,l,vt,bt,pt),Ot=Dt.segment;if(vt=Dt.offset,Ot.p0&&Ot.p1){var $t=i.getLineLength(Ot.p0.x,Ot.p0.y,Ot.p1.x,Ot.p1.y),Kt=i.getPointOnLine(0+$t/2,Ot.p0.x,Ot.p0.y,Ot.p1.x,Ot.p1.y),Ut=Math.atan2(Ot.p1.y-Ot.p0.y,Ot.p1.x-Ot.p0.x);i.glyphInfo.push({transposeX:Kt.x,transposeY:Kt.y,text:u[pt],p0:Ot.p0,p1:Ot.p1,rotation:Ut})}})}}},{key:"parsePathData",value:function(r){if(this.pathLength=-1,!r)return[];var i=[],n=r.pathParser;for(n.reset();!n.isEnd();){var u=n.current,l=u?u.x:0,y=u?u.y:0,p="",S=[];n.nextCommand();var P=n.command.toUpperCase();switch(n.command){case"M":case"m":p=this.pathM(n,S);break;case"L":case"l":p=this.pathL(n,S);break;case"H":case"h":p=this.pathH(n,S);break;case"V":case"v":p=this.pathV(n,S);break;case"C":case"c":this.pathC(n,S);break;case"S":case"s":p=this.pathS(n,S);break;case"Q":case"q":this.pathQ(n,S);break;case"T":case"t":p=this.pathT(n,S);break;case"A":case"a":S=this.pathA(n);break;case"Z":case"z":n.current=n.start}i.push("Z"!==P?{command:p||P,points:S,start:{x:l,y},pathLength:this.calcLength(l,y,p||P,S)}:{command:"z",points:[],pathLength:0})}return i}},{key:"pathM",value:function(r,i){var n=r.getAsCurrentPoint();for(i.push(n.x,n.y),r.start=r.current;!r.isCommandOrEnd();){var u=r.getAsCurrentPoint();return i.push(u.x,u.y),"L"}}},{key:"pathL",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getAsCurrentPoint();i.push(n.x,n.y)}return"L"}},{key:"pathH",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.current,u=new Qt((r.isRelativeCommand()?n.x:0)+r.getScalar(),n.y);i.push(u.x,u.y),r.current=u}return"L"}},{key:"pathV",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.current,u=new Qt(n.x,(r.isRelativeCommand()?n.y:0)+r.getScalar());i.push(u.x,u.y),r.current=u}return"L"}},{key:"pathC",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getPoint(),u=r.getAsControlPoint(),l=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y,l.x,l.y)}}},{key:"pathS",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getReflectedControlPoint(),u=r.getAsControlPoint(),l=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y,l.x,l.y)}return"C"}},{key:"pathQ",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getAsControlPoint(),u=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y)}}},{key:"pathT",value:function(r,i){for(;!r.isCommandOrEnd();){var n=r.getReflectedControlPoint();r.control=n;var u=r.getAsCurrentPoint();i.push(n.x,n.y,u.x,u.y)}return"Q"}},{key:"pathA",value:function(r){for(;!r.isCommandOrEnd();){var i=r.current,n=r.getScalar(),u=r.getScalar(),l=r.getScalar()*(Math.PI/180),y=r.getScalar(),p=r.getScalar(),S=r.getAsCurrentPoint(),P=new Qt(Math.cos(l)*(i.x-S.x)/2+Math.sin(l)*(i.y-S.y)/2,-Math.sin(l)*(i.x-S.x)/2+Math.cos(l)*(i.y-S.y)/2),A=Math.pow(P.x,2)/
1Math.pow(n,2)+Math.pow(P.y,2)/Math.pow(u,2);A>1&&(n*=Math.sqrt(A),u*=Math.sqrt(A));var z=(y===p?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(u,2)-Math.pow(n,2)*Math.pow(P.y,2)-Math.pow(u,2)*Math.pow(P.x,2))/(Math.pow(n,2)*Math.pow(P.y,2)+Math.pow(u,2)*Math.pow(P.x,2)));isNaN(z)&&(z=0);var Q=new Qt(z*n*P.y/u,z*-u*P.x/n),U=new Qt((i.x+S.x)/2+Math.cos(l)*Q.x-Math.sin(l)*Q.y,(i.y+S.y)/2+Math.sin(l)*Q.x+Math.cos(l)*Q.y),nt=Ye([1,0],[(P.x-Q.x)/n,(P.y-Q.y)/u]),ot=[(P.x-Q.x)/n,(P.y-Q.y)/u],_=[(-P.x-Q.x)/n,(-P.y-Q.y)/u],tt=Ye(ot,_);return ke(ot,_)<=-1&&(tt=Math.PI),ke(ot,_)>=1&&(tt=0),0===p&&tt>0&&(tt-=2*Math.PI),1===p&&tt<0&&(tt+=2*Math.PI),[U.x,U.y,n,u,nt,tt,l,p]}}},{key:"calcLength",value:function(r,i,n,u){var l=0,y=null,p=null,S=0;switch(n){case"L":return this.getLineLength(r,i,u[0],u[1]);case"C":for(l=0,y=this.getPointOnCubicBezier(0,r,i,u[0],u[1],u[2],u[3],u[4],u[5]),S=.01;S<=1;S+=.01)p=this.getPointOnCubicBezier(S,r,i,u[0],u[1],u[2],u[3],u[4],u[5]),l+=this.getLineLength(y.x,y.y,p.x,p.y),y=p;return l;case"Q":for(l=0,y=this.getPointOnQuadraticBezier(0,r,i,u[0],u[1],u[2],u[3]),S=.01;S<=1;S+=.01)p=this.getPointOnQuadraticBezier(S,r,i,u[0],u[1],u[2],u[3]),l+=this.getLineLength(y.x,y.y,p.x,p.y),y=p;return l;case"A":l=0;var P=u[4],A=u[5],z=u[4]+A,Q=Math.PI/180;if(Math.abs(P-z)<Q&&(Q=Math.abs(P-z)),y=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],P,0),A<0)for(S=P-Q;S>z;S-=Q)p=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],S,0),l+=this.getLineLength(y.x,y.y,p.x,p.y),y=p;else for(S=P+Q;S<z;S+=Q)p=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],S,0),l+=this.getLineLength(y.x,y.y,p.x,p.y),y=p;return p=this.getPointOnEllipticalArc(u[0],u[1],u[2],u[3],z,0),l+this.getLineLength(y.x,y.y,p.x,p.y)}return 0}},{key:"getPointOnLine",value:function(r,i,n,u,l){var y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:i,p=arguments.length>6&&void 0!==arguments[6]?arguments[6]:n,S=(l-n)/(u-i+Be),P=Math.sqrt(r*r/(1+S*S));u<i&&(P*=-1);var A=S*P,z=null;if(u===i)z={x:y,y:p+A};else if((p-n)/(y-i+Be)===S)z={x:y+P,y:p+A};else{var Q,U,nt=this.getLineLength(i,n,u,l);if(nt<Be)return null;var ot=(y-i)*(u-i)+(p-n)*(l-n),_=this.getLineLength(y,p,Q=i+(ot/=nt*nt)*(u-i),U=n+ot*(l-n)),tt=Math.sqrt(r*r-_*_);P=Math.sqrt(tt*tt/(1+S*S)),u<i&&(P*=-1),z={x:Q+P,y:U+(A=S*P)}}return z}},{key:"getPointOnPath",value:function(r){var i=this.getPathLength(),n=0,u=null;if(r<-5e-5||r-5e-5>i)return null;var p,y=function Ci(o){if(typeof Symbol>"u"||null==o[Symbol.iterator]){if(Array.isArray(o)||(o=function Ai(o,s){if(o){if("string"==typeof o)return On(o,s);var e=Object.prototype.toString.call(o).slice(8,-1);if("Object"===e&&o.constructor&&(e=o.constructor.name),"Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return On(o,s)}}(o))){var s=0,e=function(){};return{s:e,n:function(){return s>=o.length?{done:!0}:{done:!1,value:o[s++]}},e:function(l){throw l},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,n,r=!0,i=!1;return{s:function(){a=o[Symbol.iterator]()},n:function(){var l=a.next();return r=l.done,l},e:function(l){i=!0,n=l},f:function(){try{!r&&null!=a.return&&a.return()}finally{if(i)throw n}}}}(this.dataArray);try{for(y.s();!(p=y.n()).done;){var S=p.value;if(!S||!(S.pathLength<5e-5||n+S.pathLength+5e-5<r)){var P=r-n,A=0;switch(S.command){case"L":u=this.getPointOnLine(P,S.start.x,S.start.y,S.points[0],S.points[1],S.start.x,S.start.y);break;case"A":var Q=S.points[5],U=S.points[4]+Q;if(A=S.points[4]+P/S.pathLength*Q,Q<0&&A<U||Q>=0&&A>U)break;u=this.getPointOnEllipticalArc(S.points[0],S.points[1],S.points[2],S.points[3],A,S.points[6]);break;case"C":(A=P/S.pathLength)>1&&(A=1),u=this.getPointOnCubicBezier(A,S.start.x,S.start.y,S.points[0],S.points[1],S.points[2],S.points[3],S.points[4],S.points[5]);break;case"Q":(A=P/S.pathLength)>1&&(A=1),u=this.getPointOnQuadraticBezier(A,S.start.x,S.start.y,S.points[0],S.points[1],S.points[2],S.points[3])}if(u)return u;break}n+=S.pathLength}}catch(nt){y.e(nt)}finally{y.f()}return null}},{key:"getLineLength",value:function(r,i,n,u){return Math.sqrt((n-r)*(n-r)+(u-i)*(u-i))}},{key:"getPathLength",value:function(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce(function(r,i){return i.pathLength>0?r+i.pathLength:r},0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(r,i,n,u,l,y,p,S,P){return{x:S*hr(r)+y*dr(r)+u*gr(r)+i*yr(r),y:P*hr(r)+p*dr(r)+l*gr(r)+n*yr(r)}}},{key:"getPointOnQuadraticBezier",value:function(r,i,n,u,l,y,p){return{x:y*pr(r)+u*mr(r)+i*Sr(r),y:p*pr(r)+l*mr(r)+n*Sr(r)}}},{key:"getPointOnEllipticalArc",value:function(r,i,n,u,l,y){var p=Math.cos(y),S=Math.sin(y),P_x=n*Math.cos(l),P_y=u*Math.sin(l);return{x:r+(P_x*p-P_y*S),y:i+(P_x*S+P_y*p)}}},{key:"buildEquidistantCache",value:function(r,i){var n=this.getPathLength(),u=i||.25,l=r||n/100;if(!this.equidistantCache||this.equidistantCache.step!==l||this.equidistantCache.precision!==u){this.equidistantCache={step:l,precision:u,points:[]};for(var y=0,p=0;p<=n;p+=u){var S=this.getPointOnPath(p),P=this.getPointOnPath(p+u);!S||!P||(y+=this.getLineLength(S.x,S.y,P.x,P.y))>=l&&(this.equidistantCache.points.push({x:S.x,y:S.y,distance:p}),y-=l)}}}},{key:"getEquidistantPointOnPath",value:function(r,i,n){if(this.buildEquidistantCache(i,n),r<0||r-this.getPathLength()>5e-5)return null;var u=Math.round(r/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[u]||null}}]),e}(Ge);var An=function(o){yt(e,o);var a,s=function Ni(o){return function(){var e,s=Y(o);if(function Mi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).type="image",n.loaded=!1;var u=n.getHrefAttribute().getString();if(!u)return dt(n);var l=/\.svg$/.test(u);return a.images.push(Zt(n)),l?n.loadSvg(u):n.loadImage(u),n.isSvg
1=l,n}return I(e,[{key:"loadImage",value:(a=H(D().mark(function i(n){return D().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.prev=0,y.next=3,this.document.createImage(n);case 3:this.image=y.sent,y.next=10;break;case 7:y.prev=7,y.t0=y.catch(0),console.error('Error while loading image "'.concat(n,'":'),y.t0);case 10:this.loaded=!0;case 11:case"end":return y.stop()}},i,this,[[0,7]])})),function r(i){return a.apply(this,arguments)})},{key:"loadSvg",value:function(){var a=H(D().mark(function i(n){var u;return D().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,this.document.fetch(n);case 3:return u=p.sent,p.next=6,u.text();case 6:this.image=p.sent,p.next=13;break;case 10:p.prev=10,p.t0=p.catch(0),console.error('Error while loading image "'.concat(n,'":'),p.t0);case 13:this.loaded=!0;case 14:case"end":return p.stop()}},i,this,[[0,10]])}));return function r(i){return a.apply(this,arguments)}}()},{key:"renderChildren",value:function(r){var i=this.document,n=this.image,u=this.loaded,l=this.getAttribute("x").getPixels("x"),y=this.getAttribute("y").getPixels("y"),p=this.getStyle("width").getPixels("x"),S=this.getStyle("height").getPixels("y");if(u&&n&&p&&S){if(r.save(),this.isSvg)i.canvg.forkString(r,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:l,offsetY:y,scaleWidth:p,scaleHeight:S}).render();else{var P=this.image;r.translate(l,y),i.setViewBox({ctx:r,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:p,desiredWidth:P.width,height:S,desiredHeight:P.height}),this.loaded&&(typeof P.complete>"u"||P.complete)&&r.drawImage(P,0,0)}r.restore()}}},{key:"getBoundingBox",value:function(){var r=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");return new le(r,i,r+n,i+u)}}]),e}(Oe);var In=function(o){yt(e,o);var s=function Di(o){return function(){var e,s=Y(o);if(function $i(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="symbol",a}return I(e,[{key:"render",value:function(r){}}]),e}(Oe),wn=function(){function o(s){F(this,o),this.document=s,this.loaded=!1,s.fonts.push(this)}return I(o,[{key:"load",value:(s=H(D().mark(function a(r,i){var n,l;return D().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,n=this.document,p.next=4,n.canvg.parser.load(i);case 4:l=p.sent.getElementsByTagName("font"),Array.from(l).forEach(function(S){var P=n.createElement(S);n.definitions[r]=P}),p.next=12;break;case 9:p.prev=9,p.t0=p.catch(0),console.error('Error while loading font "'.concat(i,'":'),p.t0);case 12:this.loaded=!0;case 13:case"end":return p.stop()}},a,this,[[0,9]])})),function e(a,r){return s.apply(this,arguments)})}]),o;var s}();var Or=function(o){yt(e,o);var s=function Bi(o){return function(){var e,s=Y(o);if(function Fi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="style",De(Array.from(r.childNodes).map(function(y){return y.data}).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(function(y){var p=y.trim();if(p){var S=p.split("{"),P=S[0].split(","),A=S[1].split(";");P.forEach(function(z){var Q=z.trim();if(Q){var U=a.styles[Q]||{};if(A.forEach(function(_){var tt=_.indexOf(":"),vt=_.substr(0,tt).trim(),bt=_.substr(tt+1,_.length-tt).trim();vt&&bt&&(U[vt]=new St(a,vt,bt))}),a.styles[Q]=U,a.stylesSpecificity[Q]=Xr(Q),"@font-face"===Q){var nt=U["font-family"].getString().replace(/"|'/g,"");U.src.getString().split(",").forEach(function(_){if(_.indexOf('format("svg")')>0){var tt=cr(_);tt&&new wn(a).load(nt,tt)}})}}})}}),n}return e}(Jt);Or.parseExternalUrl=cr;var Nn=function(o){yt(e,o);var s=function ji(o){return function(){var e,s=Y(o);if(function Li(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="use",a}return I(e,[{key:"setContext",value:function(r){Et(Y(e.prototype),"setContext",this).call(this,r);var i=this.getAttribute("x"),n=this.getAttribute("y");i.hasValue()&&r.translate(i.getPixels("x"),0),n.hasValue()&&r.translate(0,n.getPixels("y"))}},{key:"path",value:function(r){var i=this.element;i&&i.path(r)}},{key:"renderChildren",value:function(r){var i=this.document,n=this.element;if(n){var u=n;if("symbol"===n.type&&((u=new ze(i,null)).attributes.viewBox=new St(i,"viewBox",n.getAttribute("viewBox").getString()),u.attributes.preserveAspectRatio=new St(i,"preserveAspectRatio",n.getAttribute("preserveAspectRatio").getString()),u.attributes.overflow=new St(i,"overflow",n.getAttribute("overflow").getString()),u.children=n.children),"svg"===u.type){var l=this.getStyle("width",!1,!0),y=this.getStyle("height",!1,!0);l.hasValue()&&(u.attributes.width=new St(i,"width",l.getString())),y.hasValue()&&(u.attributes.height=new St(i,"height",y.getString()))}var p=u.parent;u.parent=this,u.render(r),u.parent=p}}},{key:"getBoundingBox",value:function(r){var i=this.element;return i?i.getBoundingBox(r):null}},{key:"elementTransform",value:function(){return Xe.fromElement(this.document,this.element)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),e}(Oe);function rr(o,s,e,a,r,i){return o[e*a*4+4*s+i]}function nr(o,s,e,a,r,i,n){o[e*a*4+4*s+i]=n}function qt(o,s,e){var a=o[s];return a*(a<0?e-255:e)}function Re(o,s,e,a){return s+Math.cos(o)*e+Math.sin(o)*a}var Cr=function(o){yt(e,o);var s=function Vi(o){return function(){var e,s=Y(o);if(function ki(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;F(this,e),(n=s.call(this,a,r,i)).type="feColorMatrix";var u=te(n.getAttribute("values").getString());switch(n.getAttribute("type").getString("matrix")){case"saturate":var l=u[0];u=[.213+.787*l,.715-.715*l,.072-.072*l,0,0,.213-.213*l,.715+.285*l,.072-.072*l,0,0,.213-.213*l,.715-.715*l,.072+.928*l,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var y=u[0]*Math.PI/180;u=[Re(y,.213,.787,-.213),Re(y,.715,-.715,-.715),Re(y,.072,-.072,.928),0,0,Re(y,.213,-.213,.143),Re(y,.715,.285,.14),Re(y,.072,-.072,-.283),0,0,Re(y,.213,-.213,-.787),Re(y,.715,-.715,.715),Re(y,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":u=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return n.matrix=u,n.includeOpacity=n.getAttribute("includeOpacity").hasValue(),n}return I(e,[{key:"apply",value:function(r,i,n,u,l){for(var y=this.includeOpacity,p=this.matrix,S=r.getImageData(0,0,u,l),P=0;P<l;P++)for(var A=0;A<u;A++){var z=rr(S.data,A,P,u,0,0),Q=rr(S.data,A,P,u,0,1),U=rr(S.data,A,P,u,0,2),nt=rr(S.data,A,P,u,0,3),ot=qt(p,0,z)+qt(p,1,Q)+qt(p,2,U)+qt(p,3,nt)+qt(p,4,1),_=qt(p,5,z)+qt(p,6,Q)+qt(p,7,U)+qt(p,8,nt)+qt(p,9,1),tt=qt(p,10,z)+qt(p,11,Q)+qt(p,12,U)+qt(p,13,nt)+qt(p,14,1),vt=qt(p,15,z)+qt(p,16,Q)+qt(p,17,U)+qt(p,18,nt)+qt(p,19,1);
1y&&(ot=_=tt=0,vt*=nt/255),nr(S.data,A,P,u,0,0,ot),nr(S.data,A,P,u,0,1,_),nr(S.data,A,P,u,0,2,tt),nr(S.data,A,P,u,0,3,vt)}r.clearRect(0,0,u,l),r.putImageData(S,0,0)}}]),e}(Jt);var Ar=function(o){yt(e,o);var s=function Gi(o){return function(){var e,s=Y(o);if(function zi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="mask",a}return I(e,[{key:"apply",value:function(r,i){var n=this.document,u=this.getAttribute("x").getPixels("x"),l=this.getAttribute("y").getPixels("y"),y=this.getStyle("width").getPixels("x"),p=this.getStyle("height").getPixels("y");if(!y&&!p){var S=new le;this.children.forEach(function(nt){S.addBoundingBox(nt.getBoundingBox(r))}),u=Math.floor(S.x1),l=Math.floor(S.y1),y=Math.floor(S.width),p=Math.floor(S.height)}var P=this.removeStyles(i,e.ignoreStyles),A=n.createCanvas(u+y,l+p),z=A.getContext("2d");n.screen.setDefaults(z),this.renderChildren(z),new Cr(n,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(z,0,0,u+y,l+p);var Q=n.createCanvas(u+y,l+p),U=Q.getContext("2d");n.screen.setDefaults(U),i.render(U),U.globalCompositeOperation="destination-in",U.fillStyle=z.createPattern(A,"no-repeat"),U.fillRect(0,0,u+y,l+p),r.fillStyle=U.createPattern(Q,"no-repeat"),r.fillRect(0,0,u+y,l+p),this.restoreStyles(i,P)}},{key:"render",value:function(r){}}]),e}(Jt);Ar.ignoreStyles=["mask","transform","clip-path"];var Mn=function(){},Dn=function(o){yt(e,o);var s=function Ui(o){return function(){var e,s=Y(o);if(function Wi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="clipPath",a}return I(e,[{key:"apply",value:function(r){var i=this.document,n=Reflect.getPrototypeOf(r),u=r.beginPath,l=r.closePath;n&&(n.beginPath=Mn,n.closePath=Mn),Reflect.apply(u,r,[]),this.children.forEach(function(y){if(!(typeof y.path>"u")){var p=typeof y.elementTransform<"u"?y.elementTransform():null;p||(p=Xe.fromElement(i,y)),p&&p.apply(r),y.path(r),n&&(n.closePath=l),p&&p.unapply(r)}}),Reflect.apply(l,r,[]),r.clip(),n&&(n.beginPath=u,n.closePath=l)}},{key:"render",value:function(r){}}]),e}(Jt);var Ir=function(o){yt(e,o);var s=function Hi(o){return function(){var e,s=Y(o);if(function Yi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="filter",a}return I(e,[{key:"apply",value:function(r,i){var n=this.document,u=this.children,l=i.getBoundingBox(r);if(l){var y=0,p=0;u.forEach(function(tt){var vt=tt.extraFilterDistance||0;y=Math.max(y,vt),p=Math.max(p,vt)});var S=Math.floor(l.width),P=Math.floor(l.height),A=S+2*y,z=P+2*p;if(!(A<1||z<1)){var Q=Math.floor(l.x),U=Math.floor(l.y),nt=this.removeStyles(i,e.ignoreStyles),ot=n.createCanvas(A,z),_=ot.getContext("2d");n.screen.setDefaults(_),_.translate(-Q+y,-U+p),i.render(_),u.forEach(function(tt){"function"==typeof tt.apply&&tt.apply(_,0,0,A,z)}),r.drawImage(ot,0,0,A,z,Q-y,U-p,A,z),this.restoreStyles(i,nt)}}}},{key:"render",value:function(r){}}]),e}(Jt);Ir.ignoreStyles=["filter","transform","clip-path"];var $n=function(o){yt(e,o);var s=function Ki(o){return function(){var e,s=Y(o);if(function Xi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="feDropShadow",n.addStylesFromStyleDefinition(),n}return I(e,[{key:"apply",value:function(r,i,n,u,l){}}]),e}(Jt);var Bn=function(o){yt(e,o);var s=function Qi(o){return function(){var e,s=Y(o);if(function Ji(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="feMorphology",a}return I(e,[{key:"apply",value:function(r,i,n,u,l){}}]),e}(Jt);var Fn=function(o){yt(e,o);var s=function Zi(o){return function(){var e,s=Y(o);if(function qi(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="feComposite",a}return I(e,[{key:"apply",value:function(r,i,n,u,l){}}]),e}(Jt);var jn=function(o){yt(e,o);var s=function _i(o){return function(){var e,s=Y(o);if(function ts(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(a,r,i){var n;return F(this,e),(n=s.call(this,a,r,i)).type="feGaussianBlur",n.blurRadius=Math.floor(n.getAttribute("stdDeviation").getNumber()),n.extraFilterDistance=n.blurRadius,n}return I(e,[{key:"apply",value:function(r,i,n,u,l){var y=this.document,p=this.blurRadius,S=y.window?y.window.document.body:null,P=r.canvas;P.id=y.getUniqueId(),S&&(P.style.display="none",S.appendChild(P)),Ur(P,i,n,u,l,p),S&&S.removeChild(P)}}]),e}(Jt);var Ln=function(o){yt(e,o);var s=function es(o){return function(){var e,s=Y(o);if(function rs(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="title",a}return e}(Jt);var Vn=function(o){yt(e,o);var s=function ns(o){return function(){var e,s=Y(o);if(function as(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}()){var a=Y(this).constructor;e=Reflect.construct(s,arguments,a)}else e=s.apply(this,arguments);return dt(this,e)}}(e);function e(){var a;return F(this,e),(a=s.apply(this,arguments)).type="desc",a}return e}(Jt),is={svg:ze,rect:Rr,circle:on,ellipse:un,line:ln,polyline:Pr,polygon:fn,path:be,pattern:cn,marker:vn,defs:hn,linearGradient:dn,radialGradient:gn,stop:yn,animate:er,animateColor:pn,animateTransform:mn,font:xn,"font-face":En,"missing-glyph":bn,glyph:Rn,text:Ge,tspan:br,tref:Pn,a:Tn,textPath:Cn,image:An,g:tr,symbol
1:In,style:Or,use:Nn,mask:Ar,clipPath:Dn,filter:Ir,feDropShadow:$n,feMorphology:Bn,feComposite:Fn,feColorMatrix:Cr,feGaussianBlur:jn,title:Ln,desc:Vn};function kn(o,s){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);s&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),e.push.apply(e,a)}return e}function wr(){return wr=H(D().mark(function o(s){var e,a,r=arguments;return D().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e=r.length>1&&void 0!==r[1]&&r[1],a=document.createElement("img"),e&&(a.crossOrigin="Anonymous"),n.abrupt("return",new Promise(function(u,l){a.onload=function(){u(a)},a.onerror=function(){l()},a.src=s}));case 4:case"end":return n.stop()}},o)})),wr.apply(this,arguments)}var Qe=function(){function o(s){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=e.rootEmSize,r=void 0===a?12:a,i=e.emSize,n=void 0===i?12:i,u=e.createCanvas,l=void 0===u?o.createCanvas:u,y=e.createImage,p=void 0===y?o.createImage:y,S=e.anonymousCrossOrigin;F(this,o),this.canvg=s,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=s.screen,this.rootEmSize=r,this.emSize=n,this.createCanvas=l,this.createImage=this.bindCreateImage(p,S),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return I(o,[{key:"bindCreateImage",value:function(e,a){return"boolean"==typeof a?function(r,i){return e(r,"boolean"==typeof i?i:a)}:e}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every(function(e){return e.loaded})}},{key:"isFontsLoaded",value:function(){return this.fonts.every(function(e){return e.loaded})}},{key:"createDocumentElement",value:function(e){var a=this.createElement(e.documentElement);return a.root=!0,a.addStylesFromStyleDefinition(),this.documentElement=a,a}}
1,{key:"createElement",value:function(e){var a=e.nodeName.replace(/^[^:]+:/,""),r=o.elementTypes[a];return typeof r<"u"?new r(this,e):new an(this,e)}},{key:"createTextNode",value:function(e){return new Ca(this,e)}},{key:"setViewBox",value:function(e){this.screen.setViewBox(function ss(o){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?kn(Object(e),!0).forEach(function(a){at(o,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):kn(Object(e)).forEach(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(e,a))})}return o}({document:this},e))}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var e=this.emSizeStack;return e[e.length-1]},set:function(e){this.emSizeStack.push(e)}}]),o}();function Gn(o,s){var e=Object.keys(o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(o);s&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(o,r).enumerable})),e.push.apply(e,a)}return e}function ar(o){for(var s=1;s<arguments.length;s++){var e=null!=arguments[s]?arguments[s]:{};s%2?Gn(Object(e),!0).forEach(function(a){at(o,a,e[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(e)):Gn(Object(e)).forEac
1h(function(a){Object.defineProperty(o,a,Object.getOwnPropertyDescriptor(e,a))})}return o}Qe.createCanvas=function os(o,s){var e=document.createElement("canvas");return e.width=o,e.height=s,e},Qe.createImage=function us(o){return wr.apply(this,arguments)},Qe.elementTypes=is;var zn=function(){function o(s,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};F(this,o),this.parser=new _e(a),this.screen=new Ke(s,a),this.options=a;var r=new Qe(this,a),i=r.createDocumentElement(e);this.document=r,this.documentElement=i}return I(o,[{key:"fork",value:function(e,a){return o.from(e,a,ar({},this.options,{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}},{key:"forkString",value:function(e,a){return o.fromString(e,a,ar({},this.options,{},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(s=H(D().mark(function a(){var i=arguments;return D().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return this.start(ar({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},i.length>0&&void 0!==i[0]?i[0]:{})),u.next=4,this.ready();case 4:this.stop();case 5:case"end":return u.stop()}},a,this)})),function e(){return s.apply(this,arguments)})},{key:"start",value:function(){this.screen.start(this.documentElement,ar({enableRedraw:!0},this.options,{},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(e){this.documentElement.resize(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,arguments.length>2&&void 0!==arguments[2]&&arguments[2])}}],[{key:"from",value:function(){var s=H(D().mark(function a(r,i){var n,u,y=arguments;return D().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return u=new _e(n=y.length>2&&void 0!==y[2]?y[2]:{}),S.next=4,u.parse(i);case 4:return S.abrupt("return",new o(r,S.sent,n));case 6:case"end":return S.stop()}},a)}));return function e(a,r){return s.apply(this,arguments)}}()},{key:"fromString",value:function(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new o(e,new _e(r).parseFromString(a),r)}}]),o;var s}(),cs=Object.freeze({__proto__:null,offscreen:function ls(){var s=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).DOMParser,e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:s,createCanvas:function(r,i){return new OffscreenCanvas(r,i)},createImage:function(r){return H(D().mark(function i(){var n,u;return D().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.next=2,fetch(r);case 2:return n=p.sent,p.next=5,n.blob();case 5:return u=p.sent,p.next=8,createImageBitmap(u);case 8:return p.abrupt("return",p.sent);case 10:case"end":return p.stop()}},i)}))()}};return(typeof DOMParser<"u"||typeof s>"u")&&Reflect.deleteProperty(e,"DOMParser"),e},node:function fs(o){var e=o.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:o.DOMParser,fetch:o.fetch,createCanvas:e.createCanvas,createImage:e.loadImage}}});const vs=zn},40644:function(d){(function(){var b,t,f,c,v,h;typeof performance<"u"&&null!==performance&&performance.now?d.exports=function(){return performance.now()}:typeof process<"u"&&null!==process&&process.hrtime?(d.exports=function(){return(b()-v)/1e6},t=process.hrtime,c=(b=function(){var g;return 1e9*(g=t())[0]+g[1]})(),h=1e9*process.uptime(),v=c-h):Date.now?(d.exports=function(){return Date.now()-f},f=Date.now()):(d.exports=function(){return(new Date).getTime()-f},f=(new Date).getTime())}).call(this)},54361:(d,b,t)=>{for(var f=t(40644),c=typeof window>"u"?global:window,v=["moz","webkit"],h="AnimationFrame",g=c["request"+h],x=c["cancel"+h]||c["cancelRequest"+h],m=0;!g&&m<v.length;m++)g=c[v[m]+"Request"+h],x=c[v[m]+"Cancel"+h]||c[v[m]+"CancelRequest"+h];if(!g||!x){var E=0,R=0,T=[],O=1e3/60;g=function(C){if(0===T.length){var w=f(),N=Math.max(0,O-(w-E));E=N+w,setTimeout(function(){var M=T.slice(0);T.length=0;for(var $=0;$<M.length;$++)if(!M[$].cancelled)try{M[$].callback(E)}catch(L){setTimeout(function(){throw L},0)}},Math.round(N))}
vendor: 1,779 bytes, line 1
1return T.push({handle:++R,callback:C,cancelled:!1}),R},x=function(C){for(var w=0;w<T.length;w++)T[w].handle===C&&(T[w].cancelled=!0)}}d.exports=function(C){return g.call(c,C)},d.exports.cancel=function(){x.apply(c,arguments)},d.exports.polyfill=function(C){C||(C=c),C.requestAnimationFrame=g,C.cancelAnimationFrame=x}},96310:d=>{d.exports=function(b){this.ok=!1,this.alpha=1,"#"==b.charAt(0)&&(b=b.substr(1,6)),b=(b=b.replace(/ /g,"")).toLowerCase();var t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
10",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};b=t[b]||b;for(var f=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(m){return[parseInt(m[1]),parseInt(m[2]),parseInt(m[3]),parseFloat(m[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(m){return[parseInt(m[1]),parseInt(m[2]),parseInt(m[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(m){return[parseInt(m[1],16),parseInt(m[2],16),parseInt(m[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(m){return[parseInt(m[1]+m[1],16),parseInt(m[2]+m[2],16),parseInt(m[3]+m[3],16)]}}],c=0;c<f.length;c++){var h=f[c].process,g=f[c].re.exec(b);if(g){var x=h(g);this.r=x[0],this.g=x[1],this.b=x[2],x.length>3&&(this.alpha=x[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var m=this.r.toString(16),E=this.g.toString(16),R=this.b.toString(16);return 1==m.length&&(m="0"+m),1==E.length&&(E="0"+E),1==R.length&&(R="0"+R),"#"+m+E+R},this.getHelpXML=function(){for(var m=new Array,E=0;E<f.length;E++)for(var R=f[E].example,T=0;T<R.length;T++)m[m.length]=R[T];for(var O in t)m[m.length]=O;var C=document.createElement("ul");for(C.setAttribute("id","rgbcolor-examples"),E=0;E<m.length;E++)try{var w=document.createElement("li"),N=new RGBColor(m[E]),M=document.createElement("div");M.style.cssText="margin: 3px; border: 1px solid black; background:"+N.toHex()+"; color:"+N.toHex(),M.appendChild(document.createTextNode("test"));var $=document.createTextNode(" "+m[E]+" -> "+N.toRGB()+" -> "+N.toHex());w.appendChild(M),w.appendChild($),C.appendChild(w)}catch{}return C}}},99479:(d,b,t)=>{"use strict";var f=t(8434),c=t(82136),v=TypeError;d.exports=function(h){if(f(h))return h;throw new v(c(h)+" is not a function")}},98739:(d,b,t)=>{"use strict";var f=t(22804),c=t(82136),v=TypeError;d.exports=function(h){if(f(h))return h;throw new v(c(h)+" is not a constructor")}},35:(d,b,t)=>{"use strict";var f=t(78538),c=String,v=TypeError;d.exports=function(h){if(f(h))return h;throw new v("Can't set "+c(h)+" as a prototype")}},81332:(d,b,t)=>{"use strict";var f=t(20064),c=t(93827),v=t(30964).f,h=f("unscopables"),g=Array.prototype;void 0===g[h]&&v(g,h,{configurable:!0,value:c(null)}),d.exports=function(x){g[h][x]=!0}},35200:(d,b,t)=>{"use strict";var f=t(15238).charAt;d.exports=function(c,v,h){return v+(h?f(c,v).length:1)}},18772:(d,b,t)=>{"use strict";var f=t(70944),c=TypeError;d.exports=function(v,h){if(f(h,v))return v;throw new c("Incorrect invocation")}},32648:(d,b,t)=>{"use strict";var f=t(66213),c=String,v=TypeError;d.exports=function(h){if(f(h))return h;throw new v(c(h)+" is not an object")}},53820:(d,b,t)=>{"use strict";var f=t(90052);d.exports=f(function(){if("function"==typeof ArrayBuffer){var c=new ArrayBuffer(8);Object.isExtensible(c)&&Object.defineProperty(c,"a",{value:8})}})},13216:(d,b,t)=>{"use strict";var f=t(14746),c=t(90873),v=t(92695);d.exports=function(g){for(var x=f(this),m=v(x),E=arguments.length,R=c(E>1?arguments[1]:void 0,m),T=E>2?arguments[2]:void 0,O=void 0===T?m:c(T,m);O>R;)x[R++]=g;return x}},50266:(d,b,t)=>{"use strict";
vendor: 8,496 bytes, line 1
1var f=t(14334).forEach,v=t(59151)("forEach");d.exports=v?[].forEach:function(g){return f(this,g,arguments.length>1?arguments[1]:void 0)}},24677:(d,b,t)=>{"use strict";var f=t(39199),c=t(1842),v=t(14746),h=t(80970),g=t(9436),x=t(22804),m=t(92695),E=t(3727),R=t(32724),T=t(91632),O=Array;d.exports=function(w){var N=v(w),M=x(this),$=arguments.length,L=$>1?arguments[1]:void 0,W=void 0!==L;W&&(L=f(L,$>2?arguments[2]:void 0));var D,k,H,K,it,X,B=T(N),V=0;if(!B||this===O&&g(B))for(D=m(N),k=M?new this(D):O(D);D>V;V++)X=W?L(N[V],V):N[V],E(k,V,X);else for(k=M?new this:[],it=(K=R(N,B)).next;!(H=c(it,K)).done;V++)X=W?h(K,L,[H.value,V],!0):H.value,E(k,V,X);return k.length=V,k}},444:(d,b,t)=>{"use strict";var f=t(92966),c=t(90873),v=t(92695),h=function(g){return function(x,m,E){var R=f(x),T=v(R);if(0===T)return!g&&-1;var C,O=c(E,T);if(g&&m!=m){for(;T>O;)if((C=R[O++])!=C)return!0}else for(;T>O;O++)if((g||O in R)&&R[O]===m)return g||O||0;return!g&&-1}};d.exports={includes:h(!0),indexOf:h(!1)}},14334:(d,b,t)=>{"use strict";var f=t(39199),c=t(20907),v=t(84506),h=t(14746),g=t(92695),x=t(83696),m=c([].push),E=function(R){var T=1===R,O=2===R,C=3===R,w=4===R,N=6===R,M=7===R,$=5===R||N;return function(L,W,B,V){for(var F,j,D=h(L),k=v(D),H=g(k),K=f(W,B),it=0,X=V||x,at=T?X(L,H):O||M?X(L,0):void 0;H>it;it++)if(($||it in k)&&(j=K(F=k[it],it,D),R))if(T)at[it]=j;else if(j)switch(R){case 3:return!0;case 5:return F;case 6:return it;case 2:m(at,F)}else switch(R){case 4:return!1;case 7:m(at,F)}return N?-1:C||w?w:at}};d.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)}},52952:(d,b,t)=>{"use strict";var f=t(90052),c=t(20064),v=t(87910),h=c("species");d.exports=function(g){return v>=51||!f(function(){var x=[];return(x.constructor={})[h]=function(){return{foo:1}},1!==x[g](Boolean).foo})}},59151:(d,b,t)=>{"use strict";var f=t(90052);d.exports=function(c,v){var h=[][c];return!!h&&f(function(){h.call(null,v||function(){return 1},1)})}},31435:(d,b,t)=>{"use strict";var f=t(99479),c=t(14746),v=t(84506),h=t(92695),g=TypeError,x="Reduce of empty array with no initial value",m=function(E){return function(R,T,O,C){var w=c(R),N=v(w),M=h(w);if(f(T),0===M&&O<2)throw new g(x);var $=E?M-1:0,L=E?-1:1;if(O<2)for(;;){if($ in N){C=N[$],$+=L;break}if($+=L,E?$<0:M<=$)throw new g(x)}for(;E?$>=0:M>$;$+=L)$ in N&&(C=T(C,N[$],$,w));return C}};d.exports={left:m(!1),right:m(!0)}},98923:(d,b,t)=>{"use strict";var f=t(20907);d.exports=f([].slice)},3026:(d,b,t)=>{"use strict";var f=t(66185),c=t(22804),v=t(66213),g=t(20064)("species"),x=Array;d.exports=function(m){var E;return f(m)&&(c(E=m.constructor)&&(E===x||f(E.prototype))||v(E)&&null===(E=E[g]))&&(E=void 0),void 0===E?x:E}},83696:(d,b,t)=>{"use strict";var f=t(3026);d.exports=function(c,v){return new(f(c))(0===v?0:v)}},80970:(d,b,t)=>{"use strict";var f=t(32648),c=t(28466);d.exports=function(v,h,g,x){try{return x?h(f(g)[0],g[1]):h(g)}catch(m){c(v,"throw",m)}}},6865:(d,b,t)=>{"use strict";var c=t(20064)("iterator"),v=!1;try{var h=0,g={next:function(){return{done:!!h++}},return:function(){v=!0}};g[c]=function(){return this},Array.from(g,function(){throw 2})}catch{}d.exports=function(x,m){try{if(!m&&!v)return!1}catch{return!1}var E=!1;try{var R={};R[c]=function(){return{next:function(){return{done:E=!0}}}},x(R)}catch{}return E}},67639:(d,b,t)=>{"use strict";var f=t(20907),c=f({}.toString),v=f("".slice);d.exports=function(h){return v(c(h),8,-1)}},13556:(d,b,t)=>{"use strict";var f=t(87287),c=t(8434),v=t(67639),g=t(20064)("toStringTag"),x=Object,m="Arguments"===v(function(){return arguments}());d.exports=f?v:function(R){var T,O,C;return void 0===R?"Undefined":null===R?"Null":"string"==typeof(O=function(R,T){try{return R[T]}catch{}}(T=x(R),g))?O:m?v(T):"Object"===(C=v(T))&&c(T.callee)?"Arguments":C}},58545:(d,b,t)=>{"use strict";var f=t(93827),c=t(93419),v=t(68874),h=t(39199),g=t(18772),x=t(59640),m=t(22335),E=t(8607),R=t(10630),T=t(50214),O=t(90799),C=t(86135).fastKey,w=t(23900),N=w.set,M=w.getterFor;d.exports={getConstructor:function($,L,W,B){var V=$(function(it,X){g(it,D),N(it,{type:L,index:f(null),first:null,last:null,size:0}),O||(it.size=0),x(X)||m(X,it[B],{that:it,AS_ENTRIES:W})}),D=V.prototype,k=M(L),H=function(it,X,at){var I,G,F=k(it),j=K(it,X);return j?j.value=at:(F.last=j={index:G=C(X,!0),key:X,value:at,previous:I=F.last,next:null,removed:!1},F.first||(F.first=j),I&&(I.next=j),O?F.size++:it.size++,"F"!==G&&(F.index[G]=j)),it},K=function(it,X){var j,at=k(it),F=C(X);if("F"!==F)return at.index[F];for(j=at.first;j;j=j.next)if(j.key===X)return j};return v(D,{clear:function(){for(var at=k(this),F=at.first;F;)F.removed=!0,F.previous&&(F.previous=F.previous.next=null),F=F.next;at.first=at.last=null,at.index=f(null),O?at.size=0:this.size=0},delete:function(it){var X=this,at=k(X),F=K(X,it);if(F){var j=F.next,I=F.previous;delete at.index[F.index],F.removed=!0,I&&(I.next=j),j&&(j.previous=I),at.first===F&&(at.first=j),at.last===F&&(at.last=I),O?at.size--:X.size--}return!!F},forEach:function(X){for(var j,at=k(this),F=h(X,arguments.length>1?arguments[1]:void 0);j=j?j.next:at.first;)for(F(j.value,j.key,this);j&&j.removed;)j=j.previous},has:function(X){return!!K(this,X)}}),v(D,W?{get:function(X){var at=K(this,X);return at&&at.value},set:function(X,at){return H(this,0===X?0:X,at)}}:{add:function(X){return H(this,X=0===X?0:X,X)}}),O&&c(D,"size",{configurable:!0,get:function(){return k(this).size}}),V},setStrong:function($,L,W){var B=L+" Iterator",V=M(L),D=M(B);E($,L,function(k,H){N(this,{type:B,target:k,state:V(k),kind:H,last:null})},function(){for(var k=D(this),H=k.kind,K=k.last;K&&K.removed;)K=K.previous;return k.target&&(k.last=K=K?K.next:k.state.first)?R("keys"===H?K.key:"values"===H?K.value:[K.key,K.value],!1):(k.target=null,R(void 0,!0))},W?"entries":"values",!W,!0),T(L)}}},83841:(d,b,t)=>{"use strict";var f=t(92091),c=t(62295),v=t(20907),h=t(43311),g=t(94863),x=t(86135),m=t(22335),E=t(18772),R=t(8434),T=t(59640),O=t(66213),C=t(90052),w=t(6865),N=t(17840),M=t(39324);d.exports=function($,L,W){var B=-1!==$.indexOf("Map"),V=-1!==$.indexOf("Weak"),D=B?"set":"add",k=c[$],H=k&&k.prototype,K=k,it={},X=function(et){var q=v(H[et]);g(H,et,"add"===et?function(lt){return q(this,0===lt?0:lt),this}:"delete"===et?function(ut){return!(V&&!O(ut))&&q(this,0===ut?0:ut)}:"get"===et?function(lt){return V&&!O(lt)?void 0:q(this,0===lt?0:lt)}:"has"===et?function(lt){return!(V&&!O(lt))&&q(this,0===lt?0:lt)}:function(lt,ct){return q(this,0===lt?0:lt,ct),this})};if(h($,!R(k)||!(V||H.forEach&&!C(function(){(new k).entries().next()}))))K=W.getConstructor(L,$,B,D),x.enable();else if(h($,!0)){var F=new K,j=F[D](V?{}:-0,1)!==F,I=C(function(){F.has(1)}),G=w(function(et){new k(et)}),J=!V&&C(function(){for(var et=new k,q=5;q--;)et[D](q,q);return!et.has(-0)});G||((K=L(function(et,q){E(et,H);var ut=M(new k,et,K);return T(q)||m(q,ut[D],{that:ut,AS_ENTRIES:B}),ut})).prototype=H,H.constructor=K),(I||J)&&(X("delete"),X("has"),B&&X("get")),(J||j)&&X(D),V&&H.clear&&delete H.clear}return it[$]=K,f({global:!0,constructor:!0,forced:K!==k},it),N(K,$),V||W.setStrong(K,$,B),K}},1811:(d,b,t)=>{"use strict";var f=t(6740),c=t(98714),v=t(65214),h=t(30964);d.exports=function(g,x,m){for(var E=c(x),R=h.f,T=v.f,O=0;O<E.length;O++){var C=E[O];!f(g,C)&&(!m||!f(m,C))&&R(g,C,T(x,C))}}},31439:(d,b,t)=>{"use strict";var c=t(20064)("match");d.exports=function(v){var h=/./;try{"/./"[v](h)}catch{try{return h[c]=!1,"/./"[v](h)}catch{}}return!1}},14126:(d,b,t)=>{"use strict";var f=t(90052);d.exports=!f(function(){function c(){}return c.prototype.constructor=null,Object.getPrototypeOf(new c)!==c.prototype})},10630:d=>{"use strict";d.exports=function(b,t){return{value:b,done:t}}},78002:(d,b,t)=>{"use strict";var f=t(90799),c=t(30964),v=t(25073);d.exports=f?function(h,g,x){return c.f(h,g,v(1,x))}:function(h,g,x){return h[g]=x,h}},25073:d=>{"use strict";d.exports=function(b,t){return{enumerable:!(1&b),configurable:!(2&b),writable:!(4&b),value:t}}},3727:(d,b,t)=>{"use strict";var f=t(90799),c=t(30964),v=t(25073);d.exports=function(h,g,x){f?c.f(h,g,v(0,x)):h[g]=x}},93419:(d,b,t)=>{"use strict";var f=t(81552),c=t(30964);d.exports=function(v,h,g){return g.get&&f(g.get,h,{getter:!0}),g.set&&f(g.set,h,{setter:!0}),c.f(v,h,g)}},94863:(d,b,t)=>{"use strict";var f=t(8434),c=t(30964),v=t(81552),h=t(63676);d.exports=function(g,x,m,E){E||(E={});var R=E.enumerable,T=void 0!==E.name?E.name:x;if(f(m)&&v(m,T,E),E.global)R?g[x]=m:h(x,m);else{try{E.unsafe?g[x]&&(R=!0):delete g[x]}catch{}
1R?g[x]=m:c.f(g,x,{value:m,enumerable:!1,configurable:!E.nonConfigurable,writable:!E.nonWritable})}return g}},68874:(d,b,t)=>{"use strict";var f=t(94863);d.exports=function(c,v,h){for(var g in v)f(c,g,v[g],h);return c}},63676:(d,b,t)=>{"use strict";var f=t(62295),c=Object.defineProperty;d.exports=function(v,h){try{c(f,v,{value:h,configurable:!0,writable:!0})}catch{f[v]=h}return h}},90799:(d,b,t)=>{"use strict";var f=t(90052);d.exports=!f(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},74440:(d,b,t)=>{"use strict";var f=t(62295),c=t(66213),v=f.document,h=c(v)&&c(v.createElement);d.exports=function(g){return h?v.createElement(g):{}}},88064:d=>{"use strict";var b=TypeError;d.exports=function(f){if(f>9007199254740991)throw b("Maximum allowed index exceeded");return f}},61727:d=>{"use strict";d.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}},88757:(d,b,t)=>{"use strict";var c=t(74440)("span").classList,v=c&&c.constructor&&c.constructor.prototype;d.exports=v===Object.prototype?void 0:v},70480:d=>{"use strict";d.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},64534:(d,b,t)=>{"use strict";var f=t(70962);d.exports=/ipad|iphone|ipod/i.test(f)&&typeof Pebble<"u"},93325:(d,b,t)=>{"use strict";var f=t(70962);
vendor: 7,171 bytes, line 1
1d.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(f)},55434:(d,b,t)=>{"use strict";var f=t(83976);d.exports="NODE"===f},86339:(d,b,t)=>{"use strict";var f=t(70962);d.exports=/web0s(?!.*chrome)/i.test(f)},70962:(d,b,t)=>{"use strict";var c=t(62295).navigator,v=c&&c.userAgent;d.exports=v?String(v):""},87910:(d,b,t)=>{"use strict";var m,E,f=t(62295),c=t(70962),v=f.process,h=f.Deno,g=v&&v.versions||h&&h.version,x=g&&g.v8;x&&(E=(m=x.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!E&&c&&(!(m=c.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=c.match(/Chrome\/(\d+)/))&&(E=+m[1]),d.exports=E},83976:(d,b,t)=>{"use strict";var f=t(62295),c=t(70962),v=t(67639),h=function(g){return c.slice(0,g.length)===g};d.exports=h("Bun/")?"BUN":h("Cloudflare-Workers")?"CLOUDFLARE":h("Deno/")?"DENO":h("Node.js/")?"NODE":f.Bun&&"string"==typeof Bun.version?"BUN":f.Deno&&"object"==typeof Deno.version?"DENO":"process"===v(f.process)?"NODE":f.window&&f.document?"BROWSER":"REST"},92091:(d,b,t)=>{"use strict";var f=t(62295),c=t(65214).f,v=t(78002),h=t(94863),g=t(63676),x=t(1811),m=t(43311);d.exports=function(E,R){var N,M,$,L,W,T=E.target,O=E.global,C=E.stat;if(N=O?f:C?f[T]||g(T,{}):f[T]&&f[T].prototype)for(M in R){if(L=R[M],$=E.dontCallGetSet?(W=c(N,M))&&W.value:N[M],!m(O?M:T+(C?".":"#")+M,E.forced)&&void 0!==$){if(typeof L==typeof $)continue;x(L,$)}(E.sham||$&&$.sham)&&v(L,"sham",!0),h(N,M,L,E)}}},90052:d=>{"use strict";d.exports=function(b){try{return!!b()}catch{return!0}}},97125:(d,b,t)=>{"use strict";t(87102);var f=t(1842),c=t(94863),v=t(58492),h=t(90052),g=t(20064),x=t(78002),m=g("species"),E=RegExp.prototype;d.exports=function(R,T,O,C){var w=g(R),N=!h(function(){var W={};return W[w]=function(){return 7},7!==""[R](W)}),M=N&&!h(function(){var W=!1,B=/a/;return"split"===R&&((B={}).constructor={},B.constructor[m]=function(){return B},B.flags="",B[w]=/./[w]),B.exec=function(){return W=!0,null},B[w](""),!W});if(!N||!M||O){var $=/./[w],L=T(w,""[R],function(W,B,V,D,k){var H=B.exec;return H===v||H===E.exec?N&&!k?{done:!0,value:f($,B,V,D)}:{done:!0,value:f(W,V,B,D)}:{done:!1}});c(String.prototype,R,L[0]),c(E,w,L[1])}C&&x(E[w],"sham",!0)}},29497:(d,b,t)=>{"use strict";var f=t(90052);d.exports=!f(function(){return Object.isExtensible(Object.preventExtensions({}))})},20080:(d,b,t)=>{"use strict";var f=t(96905),c=Function.prototype,v=c.apply,h=c.call;d.exports="object"==typeof Reflect&&Reflect.apply||(f?h.bind(v):function(){return h.apply(v,arguments)})},39199:(d,b,t)=>{"use strict";var f=t(31505),c=t(99479),v=t(96905),h=f(f.bind);d.exports=function(g,x){return c(g),void 0===x?g:v?h(g,x):function(){return g.apply(x,arguments)}}},96905:(d,b,t)=>{"use strict";var f=t(90052);d.exports=!f(function(){var c=function(){}.bind();return"function"!=typeof c||c.hasOwnProperty("prototype")})},18889:(d,b,t)=>{"use strict";var f=t(20907),c=t(99479),v=t(66213),h=t(6740),g=t(98923),x=t(96905),m=Function,E=f([].concat),R=f([].join),T={};d.exports=x?m.bind:function(w){var N=c(this),M=N.prototype,$=g(arguments,1),L=function(){var B=E($,g(arguments));return this instanceof L?function(C,w,N){if(!h(T,w)){for(var M=[],$=0;$<w;$++)M[$]="a["+$+"]";T[w]=m("C,a","return new C("+R(M,",")+")")}return T[w](C,N)}(N,B.length,B):N.apply(w,B)};return v(M)&&(L.prototype=M),L}},1842:(d,b,t)=>{"use strict";var f=t(96905),c=Function.prototype.call;d.exports=f?c.bind(c):function(){return c.apply(c,arguments)}},76553:(d,b,t)=>{"use strict";var f=t(90799),c=t(6740),v=Function.prototype,h=f&&Object.getOwnPropertyDescriptor,g=c(v,"name"),x=g&&"something"===function(){}.name,m=g&&(!f||f&&h(v,"name").configurable);d.exports={EXISTS:g,PROPER:x,CONFIGURABLE:m}},49671:(d,b,t)=>{"use strict";var f=t(20907),c=t(99479);d.exports=function(v,h,g){try{return f(c(Object.getOwnPropertyDescriptor(v,h)[g]))}catch{}}},31505:(d,b,t)=>{"use strict";var f=t(67639),c=t(20907);d.exports=function(v){if("Function"===f(v))return c(v)}},20907:(d,b,t)=>{"use strict";var f=t(96905),c=Function.prototype,v=c.call,h=f&&c.bind.bind(v,v);d.exports=f?h:function(g){return function(){return v.apply(g,arguments)}}},10774:(d,b,t)=>{"use strict";var f=t(62295),c=t(8434);d.exports=function(h,g){return arguments.length<2?function(h){return c(h)?h:void 0}(f[h]):f[h]&&f[h][g]}},91632:(d,b,t)=>{"use strict";var f=t(13556),c=t(82079),v=t(59640),h=t(89318),x=t(20064)("iterator");d.exports=function(m){if(!v(m))return c(m,x)||c(m,"@@iterator")||h[f(m)]}},32724:(d,b,t)=>{"use strict";var f=t(1842),c=t(99479),v=t(32648),h=t(82136),g=t(91632),x=TypeError;d.exports=function(m,E){var R=arguments.length<2?g(m):E;if(c(R))return v(f(R,m));throw new x(h(m)+" is not iterable")}},86728:(d,b,t)=>{"use strict";var f=t(20907),c=t(66185),v=t(8434),h=t(67639),g=t(37352),x=f([].push);d.exports=function(m){if(v(m))return m;if(c(m)){for(var E=m.length,R=[],T=0;T<E;T++){var O=m[T];"string"==typeof O?x(R,O):("number"==typeof O||"Number"===h(O)||"String"===h(O))&&x(R,g(O))}var C=R.length,w=!0;return function(N,M){if(w)return w=!1,M;if(c(this))return M;for(var $=0;$<C;$++)if(R[$]===N)return M}}}},82079:(d,b,t)=>{"use strict";var f=t(99479),c=t(59640);d.exports=function(v,h){var g=v[h];return c(g)?void 0:f(g)}},92559:(d,b,t)=>{"use strict";var f=t(20907),c=t(14746),v=Math.floor,h=f("".charAt),g=f("".replace),x=f("".slice),m=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,E=/\$([$&'`]|\d{1,2})/g;d.exports=function(R,T,O,C,w,N){var M=O+R.length,$=C.length,L=E;return void 0!==w&&(w=c(w),L=m),g(N,L,function(W,B){var V;switch(h(B,0)){case"$":return"$";case"&":return R;case"`":return x(T,0,O);case"'":return x(T,M);case"<":V=w[x(B,1,-1)];break;default:var D=+B;if(0===D)return W;if(D>$){var k=v(D/10);return 0===k?W:k<=$?void 0===C[k-1]?h(B,1):C[k-1]+h(B,1):W}V=C[D-1]}return void 0===V?"":V})}},62295:function(d){"use strict";var b=function(t){return t&&t.Math===Math&&t};d.exports=b("object"==typeof globalThis&&globalThis)||b("object"==typeof window&&window)||b("object"==typeof self&&self)||b("object"==typeof global&&global)||b("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6740:(d,b,t)=>{"use strict";var f=t(20907),c=t(14746),v=f({}.hasOwnProperty);d.exports=Object.hasOwn||function(g,x){return v(c(g),x)}},31258:d=>{"use strict";d.exports={}},28600:d=>{"use strict";d.exports=function(b,t){try{1===arguments.length?console.error(b):console.error(b,t)}catch{}}},46696:(d,b,t)=>{"use strict";var f=t(10774);d.exports=f("document","documentElement")},24728:(d,b,t)=>{"use strict";var f=t(90799),c=t(90052),v=t(74440);d.exports=!f&&!c(function(){return 7!==Object.defineProperty(v("div"),"a",{get:function(){return 7}}).a})},84506:(d,b,t)=>{"use strict";var f=t(20907),c=t(90052),v=t(67639),h=Object,g=f("".split);d.exports=c(function(){return!h("z").propertyIsEnumerable(0)})?function(x){return"String"===v(x)?g(x,""):h(x)}:h},39324:(d,b,t)=>{"use strict";var f=t(8434),c=t(66213),v=t(96320);d.exports=function(h,g,x){var m,E;return v&&f(m=g.constructor)&&m!==x&&c(E=m.prototype)&&E!==x.prototype&&v(h,E),h}},1423:(d,b,t)=>{"use strict";var f=t(20907),c=t(8434),v=t(78200),h=f(Function.toString);c(v.inspectSource)||(v.inspectSource=function(g){return h(g)}),d.exports=v.inspectSource},86135:(d,b,t)=>{"use strict";
vendor: 4,445 bytes, line 1
1var f=t(92091),c=t(20907),v=t(31258),h=t(66213),g=t(6740),x=t(30964).f,m=t(39219),E=t(7879),R=t(52997),T=t(11499),O=t(29497),C=!1,w=T("meta"),N=0,M=function(D){x(D,w,{value:{objectID:"O"+N++,weakData:{}}})},V=d.exports={enable:function(){V.enable=function(){},C=!0;var D=m.f,k=c([].splice),H={};H[w]=1,D(H).length&&(m.f=function(K){for(var it=D(K),X=0,at=it.length;X<at;X++)if(it[X]===w){k(it,X,1);break}return it},f({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:E.f}))},fastKey:function(D,k){if(!h(D))return"symbol"==typeof D?D:("string"==typeof D?"S":"P")+D;if(!g(D,w)){if(!R(D))return"F";if(!k)return"E";M(D)}return D[w].objectID},getWeakData:function(D,k){if(!g(D,w)){if(!R(D))return!0;if(!k)return!1;M(D)}return D[w].weakData},onFreeze:function(D){return O&&C&&R(D)&&!g(D,w)&&M(D),D}};v[w]=!0},23900:(d,b,t)=>{"use strict";var C,w,N,f=t(27551),c=t(62295),v=t(66213),h=t(78002),g=t(6740),x=t(78200),m=t(35058),E=t(31258),R="Object already initialized",T=c.TypeError;if(f||x.state){var L=x.state||(x.state=new(0,c.WeakMap));L.get=L.get,L.has=L.has,L.set=L.set,C=function(B,V){if(L.has(B))throw new T(R);return V.facade=B,L.set(B,V),V},w=function(B){return L.get(B)||{}},N=function(B){return L.has(B)}}else{var W=m("state");E[W]=!0,C=function(B,V){if(g(B,W))throw new T(R);return V.facade=B,h(B,W,V),V},w=function(B){return g(B,W)?B[W]:{}},N=function(B){return g(B,W)}}d.exports={set:C,get:w,has:N,enforce:function(B){return N(B)?w(B):C(B,{})},getterFor:function(B){return function(V){var D;if(!v(V)||(D=w(V)).type!==B)throw new T("Incompatible receiver, "+B+" required");return D}}}},9436:(d,b,t)=>{"use strict";var f=t(20064),c=t(89318),v=f("iterator"),h=Array.prototype;d.exports=function(g){return void 0!==g&&(c.Array===g||h[v]===g)}},66185:(d,b,t)=>{"use strict";var f=t(67639);d.exports=Array.isArray||function(v){return"Array"===f(v)}},8434:d=>{"use strict";var b="object"==typeof document&&document.all;d.exports=typeof b>"u"&&void 0!==b?function(t){return"function"==typeof t||t===b}:function(t){return"function"==typeof t}},22804:(d,b,t)=>{"use strict";var f=t(20907),c=t(90052),v=t(8434),h=t(13556),g=t(10774),x=t(1423),m=function(){},E=g("Reflect","construct"),R=/^\s*(?:class|function)\b/,T=f(R.exec),O=!R.test(m),C=function(M){if(!v(M))return!1;try{return E(m,[],M),!0}catch{return!1}},w=function(M){if(!v(M))return!1;switch(h(M)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return O||!!T(R,x(M))}catch{return!0}};w.sham=!0,d.exports=!E||c(function(){var N;return C(C.call)||!C(Object)||!C(function(){N=!0})||N})?w:C},43311:(d,b,t)=>{"use strict";var f=t(90052),c=t(8434),v=/#|\.prototype\./,h=function(R,T){var O=x[g(R)];return O===E||O!==m&&(c(T)?f(T):!!T)},g=h.normalize=function(R){return String(R).replace(v,".").toLowerCase()},x=h.data={},m=h.NATIVE="N",E=h.POLYFILL="P";d.exports=h},59640:d=>{"use strict";d.exports=function(b){return null==b}},66213:(d,b,t)=>{"use strict";var f=t(8434);d.exports=function(c){return"object"==typeof c?null!==c:f(c)}},78538:(d,b,t)=>{"use strict";var f=t(66213);d.exports=function(c){return f(c)||null===c}},38952:d=>{"use strict";d.exports=!1},4863:(d,b,t)=>{"use strict";var f=t(66213),c=t(67639),h=t(20064)("match");d.exports=function(g){var x;return f(g)&&(void 0!==(x=g[h])?!!x:"RegExp"===c(g))}},40178:(d,b,t)=>{"use strict";var f=t(10774),c=t(8434),v=t(70944),h=t(87871),g=Object;d.exports=h?function(x){return"symbol"==typeof x}:function(x){var m=f("Symbol");return c(m)&&v(m.prototype,g(x))}},22335:(d,b,t)=>{"use strict";var f=t(39199),c=t(1842),v=t(32648),h=t(82136),g=t(9436),x=t(92695),m=t(70944),E=t(32724),R=t(91632),T=t(28466),O=TypeError,C=function(N,M){this.stopped=N,this.result=M},w=C.prototype;d.exports=function(N,M,$){var H,K,it,X,at,F,j,W=!(!$||!$.AS_ENTRIES),B=!(!$||!$.IS_RECORD),V=!(!$||!$.IS_ITERATOR),D=!(!$||!$.INTERRUPTED),k=f(M,$&&$.that),I=function(J){return H&&T(H,"normal",J),new C(!0,J)},G=function(J){return W?(v(J),D?k(J[0],J[1],I):k(J[0],J[1])):D?k(J,I):k(J)};if(B)H=N.iterator;else if(V)H=N;else{if(!(K=R(N)))throw new O(h(N)+" is not iterable");if(g(K)){for(it=0,X=x(N);X>it;it++)if((at=G(N[it]))&&m(w,at))return at;return new C(!1)}H=E(N,K)}for(F=B?N.next:H.next;!(j=c(F,H)).done;){try{at=G(j.value)}catch(J){T(H,"throw",J)}if("object"==typeof at&&at&&m(w,at))return at}return new C(!1)}},28466:(d,b,t)=>{"use strict";var f=t(1842),c=t(32648),v=t(82079);d.exports=function(h,g,x){var m,E;c(h);
vendor: 11,208 bytes, line 1
1try{if(!(m=v(h,"return"))){if("throw"===g)throw x;return x}m=f(m,h)}catch(R){E=!0,m=R}if("throw"===g)throw x;if(E)throw m;return c(m),x}},42037:(d,b,t)=>{"use strict";var f=t(74804).IteratorPrototype,c=t(93827),v=t(25073),h=t(17840),g=t(89318),x=function(){return this};d.exports=function(m,E,R,T){var O=E+" Iterator";return m.prototype=c(f,{next:v(+!T,R)}),h(m,O,!1,!0),g[O]=x,m}},8607:(d,b,t)=>{"use strict";var f=t(92091),c=t(1842),v=t(38952),h=t(76553),g=t(8434),x=t(42037),m=t(42092),E=t(96320),R=t(17840),T=t(78002),O=t(94863),C=t(20064),w=t(89318),N=t(74804),M=h.PROPER,$=h.CONFIGURABLE,L=N.IteratorPrototype,W=N.BUGGY_SAFARI_ITERATORS,B=C("iterator"),V="keys",D="values",k="entries",H=function(){return this};d.exports=function(K,it,X,at,F,j,I){x(X,it,at);var ht,Tt,Rt,G=function(wt){if(wt===F&<)return lt;if(!W&&wt&&wt in q)return q[wt];switch(wt){case V:case D:case k:return function(){return new X(this,wt)}}return function(){return new X(this)}},J=it+" Iterator",et=!1,q=K.prototype,ut=q[B]||q["@@iterator"]||F&&q[F],lt=!W&&ut||G(F),ct="Array"===it&&q.entries||ut;if(ct&&(ht=m(ct.call(new K)))!==Object.prototype&&ht.next&&(!v&&m(ht)!==L&&(E?E(ht,L):g(ht[B])||O(ht,B,H)),R(ht,J,!0,!0),v&&(w[J]=H)),M&&F===D&&ut&&ut.name!==D&&(!v&&$?T(q,"name",D):(et=!0,lt=function(){return c(ut,this)})),F)if(Tt={values:G(D),keys:j?lt:G(V),entries:G(k)},I)for(Rt in Tt)(W||et||!(Rt in q))&&O(q,Rt,Tt[Rt]);else f({target:it,proto:!0,forced:W||et},Tt);return(!v||I)&&q[B]!==lt&&O(q,B,lt,{name:F}),w[it]=lt,Tt}},74804:(d,b,t)=>{"use strict";var O,C,w,f=t(90052),c=t(8434),v=t(66213),h=t(93827),g=t(42092),x=t(94863),m=t(20064),E=t(38952),R=m("iterator"),T=!1;[].keys&&("next"in(w=[].keys())?(C=g(g(w)))!==Object.prototype&&(O=C):T=!0),!v(O)||f(function(){var M={};return O[R].call(M)!==M})?O={}:E&&(O=h(O)),c(O[R])||x(O,R,function(){return this}),d.exports={IteratorPrototype:O,BUGGY_SAFARI_ITERATORS:T}},89318:d=>{"use strict";d.exports={}},92695:(d,b,t)=>{"use strict";var f=t(95097);d.exports=function(c){return f(c.length)}},81552:(d,b,t)=>{"use strict";var f=t(20907),c=t(90052),v=t(8434),h=t(6740),g=t(90799),x=t(76553).CONFIGURABLE,m=t(1423),E=t(23900),R=E.enforce,T=E.get,O=String,C=Object.defineProperty,w=f("".slice),N=f("".replace),M=f([].join),$=g&&!c(function(){return 8!==C(function(){},"length",{value:8}).length}),L=String(String).split("String"),W=d.exports=function(B,V,D){"Symbol("===w(O(V),0,7)&&(V="["+N(O(V),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),D&&D.getter&&(V="get "+V),D&&D.setter&&(V="set "+V),(!h(B,"name")||x&&B.name!==V)&&(g?C(B,"name",{value:V,configurable:!0}):B.name=V),$&&D&&h(D,"arity")&&B.length!==D.arity&&C(B,"length",{value:D.arity});try{D&&h(D,"constructor")&&D.constructor?g&&C(B,"prototype",{writable:!1}):B.prototype&&(B.prototype=void 0)}catch{}var k=R(B);return h(k,"source")||(k.source=M(L,"string"==typeof V?V:"")),B};Function.prototype.toString=W(function(){return v(this)&&T(this).source||m(this)},"toString")},74048:d=>{"use strict";var b=Math.ceil,t=Math.floor;d.exports=Math.trunc||function(c){var v=+c;return(v>0?t:b)(v)}},31260:(d,b,t)=>{"use strict";var M,$,L,W,B,f=t(62295),c=t(4458),v=t(39199),h=t(4376).set,g=t(80082),x=t(93325),m=t(64534),E=t(86339),R=t(55434),T=f.MutationObserver||f.WebKitMutationObserver,O=f.document,C=f.process,w=f.Promise,N=c("queueMicrotask");if(!N){var V=new g,D=function(){var k,H;for(R&&(k=C.domain)&&k.exit();H=V.get();)try{H()}catch(K){throw V.head&&M(),K}k&&k.enter()};x||R||E||!T||!O?!m&&w&&w.resolve?((W=w.resolve(void 0)).constructor=w,B=v(W.then,W),M=function(){B(D)}):R?M=function(){C.nextTick(D)}:(h=v(h,f),M=function(){h(D)}):($=!0,L=O.createTextNode(""),new T(D).observe(L,{characterData:!0}),M=function(){L.data=$=!$}),N=function(k){V.head||M(),V.add(k)}}d.exports=N},10598:(d,b,t)=>{"use strict";var f=t(99479),c=TypeError,v=function(h){var g,x;this.promise=new h(function(m,E){if(void 0!==g||void 0!==x)throw new c("Bad Promise constructor");g=m,x=E}),this.resolve=f(g),this.reject=f(x)};d.exports.f=function(h){return new v(h)}},11714:(d,b,t)=>{"use strict";var f=t(4863),c=TypeError;d.exports=function(v){if(f(v))throw new c("The method doesn't accept regular expressions");return v}},93827:(d,b,t)=>{"use strict";var L,f=t(32648),c=t(39060),v=t(70480),h=t(31258),g=t(46696),x=t(74440),m=t(35058),T="prototype",O="script",C=m("IE_PROTO"),w=function(){},N=function(B){return"<"+O+">"+B+"</"+O+">"},M=function(B){B.write(N("")),B.close();var V=B.parentWindow.Object;return B=null,V},W=function(){try{L=new ActiveXObject("htmlfile")}catch{}W=typeof document<"u"?document.domain&&L?M(L):function(){var D,B=x("iframe"),V="java"+O+":";return B.style.display="none",g.appendChild(B),B.src=String(V),(D=B.contentWindow.document).open(),D.write(N("document.F=Object")),D.close(),D.F}():M(L);for(var B=v.length;B--;)delete W[T][v[B]];return W()};h[C]=!0,d.exports=Object.create||function(V,D){var k;return null!==V?(w[T]=f(V),k=new w,w[T]=null,k[C]=V):k=W(),void 0===D?k:c.f(k,D)}},39060:(d,b,t)=>{"use strict";var f=t(90799),c=t(95789),v=t(30964),h=t(32648),g=t(92966),x=t(92739);b.f=f&&!c?Object.defineProperties:function(E,R){h(E);for(var N,T=g(R),O=x(R),C=O.length,w=0;C>w;)v.f(E,N=O[w++],T[N]);return E}},30964:(d,b,t)=>{"use strict";var f=t(90799),c=t(24728),v=t(95789),h=t(32648),g=t(35758),x=TypeError,m=Object.defineProperty,E=Object.getOwnPropertyDescriptor,R="enumerable",T="configurable",O="writable";b.f=f?v?function(w,N,M){if(h(w),N=g(N),h(M),"function"==typeof w&&"prototype"===N&&"value"in M&&O in M&&!M[O]){var $=E(w,N);$&&$[O]&&(w[N]=M.value,M={configurable:T in M?M[T]:$[T],enumerable:R in M?M[R]:$[R],writable:!1})}return m(w,N,M)}:m:function(w,N,M){if(h(w),N=g(N),h(M),c)try{return m(w,N,M)}catch{}if("get"in M||"set"in M)throw new x("Accessors not supported");return"value"in M&&(w[N]=M.value),w}},65214:(d,b,t)=>{"use strict";var f=t(90799),c=t(1842),v=t(73398),h=t(25073),g=t(92966),x=t(35758),m=t(6740),E=t(24728),R=Object.getOwnPropertyDescriptor;b.f=f?R:function(O,C){if(O=g(O),C=x(C),E)try{return R(O,C)}catch{}if(m(O,C))return h(!c(v.f,O,C),O[C])}},7879:(d,b,t)=>{"use strict";var f=t(67639),c=t(92966),v=t(39219).f,h=t(98923),g="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];d.exports.f=function(E){return g&&"Window"===f(E)?function(m){try{return v(m)}catch{return h(g)}}(E):v(c(E))}},39219:(d,b,t)=>{"use strict";var f=t(59181),v=t(70480).concat("length","prototype");b.f=Object.getOwnPropertyNames||function(g){return f(g,v)}},13530:(d,b)=>{"use strict";b.f=Object.getOwnPropertySymbols},42092:(d,b,t)=>{"use strict";var f=t(6740),c=t(8434),v=t(14746),h=t(35058),g=t(14126),x=h("IE_PROTO"),m=Object,E=m.prototype;d.exports=g?m.getPrototypeOf:function(R){var T=v(R);if(f(T,x))return T[x];var O=T.constructor;return c(O)&&T instanceof O?O.prototype:T instanceof m?E:null}},52997:(d,b,t)=>{"use strict";var f=t(90052),c=t(66213),v=t(67639),h=t(53820),g=Object.isExtensible,x=f(function(){g(1)});d.exports=x||h?function(E){return!(!c(E)||h&&"ArrayBuffer"===v(E))&&(!g||g(E))}:g},70944:(d,b,t)=>{"use strict";var f=t(20907);d.exports=f({}.isPrototypeOf)},59181:(d,b,t)=>{"use strict";var f=t(20907),c=t(6740),v=t(92966),h=t(444).indexOf,g=t(31258),x=f([].push);d.exports=function(m,E){var C,R=v(m),T=0,O=[];for(C in R)!c(g,C)&&c(R,C)&&x(O,C);for(;E.length>T;)c(R,C=E[T++])&&(~h(O,C)||x(O,C));return O}},92739:(d,b,t)=>{"use strict";var f=t(59181),c=t(70480);d.exports=Object.keys||function(h){return f(h,c)}},73398:(d,b)=>{"use strict";var t={}.propertyIsEnumerable,f=Object.getOwnPropertyDescriptor,c=f&&!t.call({1:2},1);b.f=c?function(h){var g=f(this,h);return!!g&&g.enumerable}:t},96320:(d,b,t)=>{"use strict";var f=t(49671),c=t(66213),v=t(61767),h=t(35);d.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m,g=!1,x={};try{(m=f(Object.prototype,"__proto__","set"))(x,[]),g=x instanceof Array}catch{}return function(R,T){return v(R),h(T),c(R)&&(g?m(R,T):R.__proto__=T),R}}():void 0)},34486:(d,b,t)=>{"use strict";var f=t(87287),c=t(13556);d.exports=f?{}.toString:function(){return"[object "+c(this)+"]"}},3245:(d,b,t)=>{"use strict";var f=t(1842),c=t(8434),v=t(66213),h=TypeError;d.exports=function(g,x){var m,E;if("string"===x&&c(m=g.toString)&&!v(E=f(m,g))||c(m=g.valueOf)&&!v(E=f(m,g))||"string"!==x&&c(m=g.toString)&&!v(E=f(m,g)))return E;throw new h("Can't convert object to primitive value")}},98714:(d,b,t)=>{"use strict";var f=t(10774),c=t(20907),v=t(39219),h=t(13530),g=t(32648),x=c([].concat);d.exports=f("Reflect","ownKeys")||function(E){var R=v.f(g(E)),T=h.f;return T?x(R,T(E)):R}},35686:(d,b,t)=>{"use strict";var f=t(62295);d.exports=f},52492:d=>{"use strict";d.exports=function(b){try{return{error:!1,value:b()}}catch(t){return{error:!0,value:t}}}},61671:(d,b,t)=>{"use strict";var f=t(62295),c=t(4975),v=t(8434),h=t(43311),g=t(1423),x=t(20064),m=t(83976),E=t(38952),R=t(87910),T=c&&c.prototype,O=x("species"),C=!1,w=v(f.PromiseRejectionEvent),N=h("Promise",function(){var M=g(c),$=M!==String(c);if(!$&&66===R||E&&(!T.catch||!T.finally))return!0;if(!R||R<51||!/native code/.test(M)){var L=new c(function(V){V(1)}),W=function(V){V(function(){},function(){})};if((L.constructor={})[O]=W,!(C=L.then(function(){})instanceof W))return!0}return!($||"BROWSER"!==m&&"DENO"!==m||w)});d.exports={CONSTRUCTOR:N,REJECTION_EVENT:w,SUBCLASSING:C}},4975:(d,b,t)=>{"use strict";var f=t(62295);d.exports=f.Promise},41590:(d,b,t)=>{"use strict";var f=t(32648),c=t(66213),v=t(10598);d.exports=function(h,g){if(f(h),c(g)&&g.constructor===h)return g;var x=v.f(h);return(0,x.resolve)(g),x.promise}},84522:(d,b,t)=>{"use strict";var f=t(4975),c=t(6865),v=t(61671).CONSTRUCTOR;d.exports=v||!c(function(h){f.all(h).then(void 0,function(){})})},80082:d=>{"use strict";var b=function(){this.head=null,this.tail=null};b.prototype={add:function(t){var f={item:t,next:null},c=this.tail;c?c.next=f:this.head=f,this.tail=f},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},d.exports=b},35779:(d,b,t)=>{"use strict";var f=t(1842),c=t(32648),v=t(8434),h=t(67639),g=t(58492),x=TypeError;d.exports=function(m,E){var R=m.exec;if(v(R)){var T=f(R,m,E);return null!==T&&c(T),T}if("RegExp"===h(m))return f(g,m,E);throw new x("RegExp#exec called on incompatible receiver")}},58492:(d,b,t)=>{"use strict";var k,H,f=t(1842),c=t(20907),v=t(37352),h=t(25566),g=t(24318),x=t(88976),m=t(93827),E=t(23900).get,R=t(48830),T=t(17963),O=x("native-string-replace",String.prototype.replace),C=RegExp.prototype.exec,w=C,N=c("".charAt),M=c("".indexOf),$=c("".replace),L=c("".slice),W=(H=/b*/g,f(C,k=/a/,"a"),f(C,H,"a"),0!==k.lastIndex||0!==H.lastIndex),B=g.BROKEN_CARET,V=void 0!==/()??/.exec("")[1];(W||V||B||R||T)&&(w=function(H){var F,j,I,G,J,et,q,K=this,it=E(K),X=v(H),at=it.raw;if(at)return at.lastIndex=K.lastIndex,F=f(w,at,X),K.lastIndex=at.lastIndex,F;var ut=it.groups,lt=B&&K.sticky,ct=f(h,K),ht=K.source,Tt=0,Rt=X;if(lt&&(ct=$(ct,"y",""),-1===M(ct,"g")&&(ct+="g"),Rt=L(X,K.lastIndex),K.lastIndex>0&&(!K.multiline||K.multiline&&"\n"!==N(X,K.lastIndex-1))&&(ht="(?: "+ht+")",Rt=" "+Rt,Tt++),j=new RegExp("^(?:"+ht+")",ct)),V&&(j=new RegExp("^"+ht+"$(?!\\s)",ct)),W&&(I=K.lastIndex),G=f(C,lt?j:K,Rt),lt?G?(G.input=L(G.
vendor: 31,737 bytes, line 1
1input,Tt),G[0]=L(G[0],Tt),G.index=K.lastIndex,K.lastIndex+=G[0].length):K.lastIndex=0:W&&G&&(K.lastIndex=K.global?G.index+G[0].length:I),V&&G&&G.length>1&&f(O,G[0],j,function(){for(J=1;J<arguments.length-2;J++)void 0===arguments[J]&&(G[J]=void 0)}),G&&ut)for(G.groups=et=m(null),J=0;J<ut.length;J++)et[(q=ut[J])[0]]=G[q[1]];return G}),d.exports=w},25566:(d,b,t)=>{"use strict";var f=t(32648);d.exports=function(){var c=f(this),v="";return c.hasIndices&&(v+="d"),c.global&&(v+="g"),c.ignoreCase&&(v+="i"),c.multiline&&(v+="m"),c.dotAll&&(v+="s"),c.unicode&&(v+="u"),c.unicodeSets&&(v+="v"),c.sticky&&(v+="y"),v}},76479:(d,b,t)=>{"use strict";var f=t(1842),c=t(6740),v=t(70944),h=t(25566),g=RegExp.prototype;d.exports=function(x){var m=x.flags;return void 0!==m||"flags"in g||c(x,"flags")||!v(g,x)?m:f(h,x)}},24318:(d,b,t)=>{"use strict";var f=t(90052),v=t(62295).RegExp,h=f(function(){var m=v("a","y");return m.lastIndex=2,null!==m.exec("abcd")}),g=h||f(function(){return!v("a","y").sticky}),x=h||f(function(){var m=v("^r","gy");return m.lastIndex=2,null!==m.exec("str")});d.exports={BROKEN_CARET:x,MISSED_STICKY:g,UNSUPPORTED_Y:h}},48830:(d,b,t)=>{"use strict";var f=t(90052),v=t(62295).RegExp;d.exports=f(function(){var h=v(".","s");return!(h.dotAll&&h.test("\n")&&"s"===h.flags)})},17963:(d,b,t)=>{"use strict";var f=t(90052),v=t(62295).RegExp;d.exports=f(function(){var h=v("(?<a>b)","g");return"b"!==h.exec("b").groups.a||"bc"!=="b".replace(h,"$<a>c")})},61767:(d,b,t)=>{"use strict";var f=t(59640),c=TypeError;d.exports=function(v){if(f(v))throw new c("Can't call method on "+v);return v}},4458:(d,b,t)=>{"use strict";var f=t(62295),c=t(90799),v=Object.getOwnPropertyDescriptor;d.exports=function(h){if(!c)return f[h];var g=v(f,h);return g&&g.value}},50214:(d,b,t)=>{"use strict";var f=t(10774),c=t(93419),v=t(20064),h=t(90799),g=v("species");d.exports=function(x){var m=f(x);h&&m&&!m[g]&&c(m,g,{configurable:!0,get:function(){return this}})}},17840:(d,b,t)=>{"use strict";var f=t(30964).f,c=t(6740),h=t(20064)("toStringTag");d.exports=function(g,x,m){g&&!m&&(g=g.prototype),g&&!c(g,h)&&f(g,h,{configurable:!0,value:x})}},35058:(d,b,t)=>{"use strict";var f=t(88976),c=t(11499),v=f("keys");d.exports=function(h){return v[h]||(v[h]=c(h))}},78200:(d,b,t)=>{"use strict";var f=t(38952),c=t(62295),v=t(63676),h="__core-js_shared__",g=d.exports=c[h]||v(h,{});(g.versions||(g.versions=[])).push({version:"3.42.0",mode:f?"pure":"global",copyright:"\xa9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})},88976:(d,b,t)=>{"use strict";var f=t(78200);d.exports=function(c,v){return f[c]||(f[c]=v||{})}},42698:(d,b,t)=>{"use strict";var f=t(32648),c=t(98739),v=t(59640),g=t(20064)("species");d.exports=function(x,m){var R,E=f(x).constructor;return void 0===E||v(R=f(E)[g])?m:c(R)}},15238:(d,b,t)=>{"use strict";var f=t(20907),c=t(78178),v=t(37352),h=t(61767),g=f("".charAt),x=f("".charCodeAt),m=f("".slice),E=function(R){return function(T,O){var M,$,C=v(h(T)),w=c(O),N=C.length;return w<0||w>=N?R?"":void 0:(M=x(C,w))<55296||M>56319||w+1===N||($=x(C,w+1))<56320||$>57343?R?g(C,w):M:R?m(C,w,w+2):$-56320+(M-55296<<10)+65536}};d.exports={codeAt:E(!1),charAt:E(!0)}},40259:(d,b,t)=>{"use strict";var f=t(76553).PROPER,c=t(90052),v=t(93779);d.exports=function(g){return c(function(){return!!v[g]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[g]()||f&&v[g].name!==g})}},83793:(d,b,t)=>{"use strict";var f=t(20907),c=t(61767),v=t(37352),h=t(93779),g=f("".replace),x=RegExp("^["+h+"]+"),m=RegExp("(^|[^"+h+"])["+h+"]+$"),E=function(R){return function(T){var O=v(c(T));return 1&R&&(O=g(O,x,"")),2&R&&(O=g(O,m,"$1")),O}};d.exports={start:E(1),end:E(2),trim:E(3)}},90094:(d,b,t)=>{"use strict";var f=t(87910),c=t(90052),h=t(62295).String;d.exports=!!Object.getOwnPropertySymbols&&!c(function(){var g=Symbol("symbol detection");return!h(g)||!(Object(g)instanceof Symbol)||!Symbol.sham&&f&&f<41})},76243:(d,b,t)=>{"use strict";var f=t(1842),c=t(10774),v=t(20064),h=t(94863);d.exports=function(){var g=c("Symbol"),x=g&&g.prototype,m=x&&x.valueOf,E=v("toPrimitive");x&&!x[E]&&h(x,E,function(R){return f(m,this)},{arity:1})}},74864:(d,b,t)=>{"use strict";var f=t(90094);d.exports=f&&!!Symbol.for&&!!Symbol.keyFor},4376:(d,b,t)=>{"use strict";var H,K,it,X,f=t(62295),c=t(20080),v=t(39199),h=t(8434),g=t(6740),x=t(90052),m=t(46696),E=t(98923),R=t(74440),T=t(49243),O=t(93325),C=t(55434),w=f.setImmediate,N=f.clearImmediate,M=f.process,$=f.Dispatch,L=f.Function,W=f.MessageChannel,B=f.String,V=0,D={},k="onreadystatechange";x(function(){H=f.location});var at=function(G){if(g(D,G)){var J=D[G];delete D[G],J()}},F=function(G){return function(){at(G)}},j=function(G){at(G.data)},I=function(G){f.postMessage(B(G),H.protocol+"//"+H.host)};(!w||!N)&&(w=function(J){T(arguments.length,1);var et=h(J)?J:L(J),q=E(arguments,1);return D[++V]=function(){c(et,void 0,q)},K(V),V},N=function(J){delete D[J]},C?K=function(G){M.nextTick(F(G))}:$&&$.now?K=function(G){$.now(F(G))}:W&&!O?(X=(it=new W).port2,it.port1.onmessage=j,K=v(X.postMessage,X)):f.addEventListener&&h(f.postMessage)&&!f.importScripts&&H&&"file:"!==H.protocol&&!x(I)?(K=I,f.addEventListener("message",j,!1)):K=k in R("script")?function(G){m.appendChild(R("script"))[k]=function(){m.removeChild(this),at(G)}}:function(G){setTimeout(F(G),0)}),d.exports={set:w,clear:N}},98855:(d,b,t)=>{"use strict";var f=t(20907);d.exports=f(1..valueOf)},90873:(d,b,t)=>{"use strict";var f=t(78178),c=Math.max,v=Math.min;d.exports=function(h,g){var x=f(h);return x<0?c(x+g,0):v(x,g)}},92966:(d,b,t)=>{"use strict";var f=t(84506),c=t(61767);d.exports=function(v){return f(c(v))}},78178:(d,b,t)=>{"use strict";var f=t(74048);d.exports=function(c){var v=+c;return v!=v||0===v?0:f(v)}},95097:(d,b,t)=>{"use strict";var f=t(78178),c=Math.min;d.exports=function(v){var h=f(v);return h>0?c(h,9007199254740991):0}},14746:(d,b,t)=>{"use strict";var f=t(61767),c=Object;d.exports=function(v){return c(f(v))}},46804:(d,b,t)=>{"use strict";var f=t(1842),c=t(66213),v=t(40178),h=t(82079),g=t(3245),x=t(20064),m=TypeError,E=x("toPrimitive");d.exports=function(R,T){if(!c(R)||v(R))return R;var C,O=h(R,E);if(O){if(void 0===T&&(T="default"),C=f(O,R,T),!c(C)||v(C))return C;throw new m("Can't convert object to primitive value")}return void 0===T&&(T="number"),g(R,T)}},35758:(d,b,t)=>{"use strict";var f=t(46804),c=t(40178);d.exports=function(v){var h=f(v,"string");return c(h)?h:h+""}},87287:(d,b,t)=>{"use strict";var v={};v[t(20064)("toStringTag")]="z",d.exports="[object z]"===String(v)},37352:(d,b,t)=>{"use strict";var f=t(13556),c=String;d.exports=function(v){if("Symbol"===f(v))throw new TypeError("Cannot convert a Symbol value to a string");return c(v)}},82136:d=>{"use strict";var b=String;d.exports=function(t){try{return b(t)}catch{return"Object"}}},11499:(d,b,t)=>{"use strict";var f=t(20907),c=0,v=Math.random(),h=f(1..toString);d.exports=function(g){return"Symbol("+(void 0===g?"":g)+")_"+h(++c+v,36)}},87871:(d,b,t)=>{"use strict";var f=t(90094);d.exports=f&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},95789:(d,b,t)=>{"use strict";var f=t(90799),c=t(90052);d.exports=f&&c(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},49243:d=>{"use strict";var b=TypeError;d.exports=function(t,f){if(t<f)throw new b("Not enough arguments");return t}},27551:(d,b,t)=>{"use strict";var f=t(62295),c=t(8434),v=f.WeakMap;d.exports=c(v)&&/native code/.test(String(v))},15174:(d,b,t)=>{"use strict";var f=t(35686),c=t(6740),v=t(2872),h=t(30964).f;d.exports=function(g){var x=f.Symbol||(f.Symbol={});c(x,g)||h(x,g,{value:v.f(g)})}},2872:(d,b,t)=>{"use strict";var f=t(20064);b.f=f},20064:(d,b,t)=>{"use strict";var f=t(62295),c=t(88976),v=t(6740),h=t(11499),g=t(90094),x=t(87871),m=f.Symbol,E=c("wks"),R=x?m.for||m:m&&m.withoutSetter||h;d.exports=function(T){return v(E,T)||(E[T]=g&&v(m,T)?m[T]:R("Symbol."+T)),E[T]}},93779:d=>{"use strict";d.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},20809:(d,b,t)=>{"use strict";var f=t(92091),c=t(90052),v=t(66185),h=t(66213),g=t(14746),x=t(92695),m=t(88064),E=t(3727),R=t(83696),T=t(52952),O=t(20064),C=t(87910),w=O("isConcatSpreadable"),N=C>=51||!c(function(){var L=[];return L[w]=!1,L.concat()[0]!==L}),M=function(L){if(!h(L))return!1;var W=L[w];return void 0!==W?!!W:v(L)};f({target:"Array",proto:!0,arity:1,forced:!N||!T("concat")},{concat:function(W){var k,H,K,it,X,B=g(this),V=R(B,0),D=0;for(k=-1,K=arguments.length;k<K;k++)if(M(X=-1===k?B:arguments[k]))for(it=x(X),m(D+it),H=0;H<it;H++,D++)H in X&&E(V,D,X[H]);else m(D+1),E(V,D++,X);return V.length=D,V}})},93310:(d,b,t)=>{"use strict";var f=t(92091),c=t(14334).every;f({target:"Array",proto:!0,forced:!t(59151)("every")},{every:function(x){return c(this,x,arguments.length>1?arguments[1]:void 0)}})},11536:(d,b,t)=>{"use strict";var f=t(92091),c=t(13216),v=t(81332);f({target:"Array",proto:!0},{fill:c}),v("fill")},55911:(d,b,t)=>{"use strict";var f=t(92091),c=t(14334).filter;f({target:"Array",proto:!0,forced:!t(52952)("filter")},{filter:function(x){return c(this,x,arguments.length>1?arguments[1]:void 0)}})},66026:(d,b,t)=>{"use strict";var f=t(92091),c=t(50266);f({target:"Array",proto:!0,forced:[].forEach!==c},{forEach:c})},13013:(d,b,t)=>{"use strict";var f=t(92091),c=t(24677);f({target:"Array",stat:!0,forced:!t(6865)(function(g){Array.from(g)})},{from:c})},4524:(d,b,t)=>{"use strict";var f=t(92091),c=t(444).includes,v=t(90052),h=t(81332);f({target:"Array",proto:!0,forced:v(function(){return!Array(1).includes()})},{includes:function(m){return c(this,m,arguments.length>1?arguments[1]:void 0)}}),h("includes")},19711:(d,b,t)=>{"use strict";var f=t(92091),c=t(31505),v=t(444).indexOf,h=t(59151),g=c([].indexOf),x=!!g&&1/g([1],1,-0)<0;f({target:"Array",proto:!0,forced:x||!h("indexOf")},{indexOf:function(R){var T=arguments.length>1?arguments[1]:void 0;return x?g(this,R,T)||0:v(this,R,T)}})},91355:(d,b,t)=>{"use strict";var f=t(92966),c=t(81332),v=t(89318),h=t(23900),g=t(30964).f,x=t(8607),m=t(10630),E=t(38952),R=t(90799),T="Array Iterator",O=h.set,C=h.getterFor(T);d.exports=x(Array,"Array",function(N,M){O(this,{type:T,target:f(N),index:0,kind:M})},function(){var N=C(this),M=N.target,$=N.index++;if(!M||$>=M.length)return N.target=null,m(void 0,!0);switch(N.kind){case"keys":return m($,!1);case"values":return m(M[$],!1)}return m([$,M[$]],!1)},"values");var w=v.Arguments=v.Array;if(c("keys"),c("values"),c("entries"),!E&&R&&"values"!==w.name)try{g(w,"name",{value:"values"})}catch{}},57501:(d,b,t)=>{"use strict";var f=t(92091),c=t(20907),v=t(84506),h=t(92966),g=t(59151),x=c([].join);f({target:"Array",proto:!0,forced:v!==Object||!g("join",",")},{join:function(T){return x(h(this),void 0===T?",":T)}})},93015:(d,b,t)=>{"use strict";var f=t(92091),c=t(14334).map;f({target:"Array",proto:!0,forced:!t(52952)("map")},{map:function(x){return c(this,x,arguments.length>1?arguments[1]:void 0)}})},53499:(d,b,t)=>{"use strict";var f=t(92091),c=t(31435).left,v=t(59151),h=t(87910);f({target:"Array",proto:!0,forced:!t(55434)&&h>79&&h<83||!v("reduce")},{reduce:function(R){var T=arguments.length;return c(this,R,T,T>1?arguments[1]:void 0)}})},69463:(d,b,t)=>{"use strict";var f=t(92091),c=t(20907),v=t(66185),h=c([].reverse),g=[1,2];f({target:"Array",proto:!0,forced:String(g)===String(g.reverse())},{reverse:function(){return v(this)&&(this.length=this.length),h(this)}})},17435:(d,b,t)=>{"use strict";var f=t(92091),c=t(66185),v=t(22804),h=t(66213),g=t(90873),x=t(92695),m=t(92966),E=t(3727),R=t(20064),T=t(52952),O=t(98923),C=T("slice"),w=R("species"),N=Array,M=Math.max;f({target:"Array",proto:!0,forced:!C},{slice:function(L,W){var H,K,it,B=m(this),V=x(B),D=g(L,V),k=g(void 0===W?V:W,V);if(c(B)&&((v(H=B.constructor)&&(H===N||c(H.prototype))||h(H)&&null===(H=H[w]))&&(H=void 0),H===N||void 0===H))return O(B,D,k);for(K=new(void 0===H?N:H)(M(k-D,0)),it=0;D<k;D++,it++)D in B&&E(K,it,B[D]);return K.length=it,K}})},35025:(d,b,t)=>{"use strict";var f=t(92091),c=t(14334).some;f({target:"Array",proto:!0,forced:!t(59151)("some")},{some:function(x){return c(this,x,arguments.length>1?arguments[1]:void 0)}})},75871:(d,b,t)=>{"use strict";var f=t(90799),c=t(76553).EXISTS,v=t(20907),h=t(93419),g=Function.prototype,x=v(g.toString),m=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,E=v(m.exec);f&&!c&&h(g,"name",{configurable:!0,get:function(){try{return E(m,x(this))[1]}catch{return""}}})},77777:(d,b,t)=>{"use strict";var f=t(92091),c=t(10774),v=t(20080),h=t(1842),g=t(20907),x=t(90052),m=t(8434),E=t(40178),R=t(98923),T=t(86728),O=t(90094),C=String,w=c("JSON","stringify"),N=g(/./.exec),M=g("".charAt),$=g("".charCodeAt),L=g("".replace),W=g(1..toString),B=/[\uD800-\uDFFF]/g,V=/^[\uD800-\uDBFF]$/,D=/^[\uDC00-\uDFFF]$/,k=!O||x(function(){var X=c("Symbol")("stringify detection");return"[null]"!==w([X])||"{}"!==w({a:X})||"{}"!==w(Object(X))}),H=x(function(){return'"\\udf06\\ud834"'!==w("\udf06\ud834")||'"\\udead"'!==w("\udead")}),K=function(X,at){var F=R(arguments),j=T(at);if(m(j)||void 0!==X&&!E(X))return F[1]=function(I,G){if(m(j)&&(G=h(j,this,C(I),G)),!E(G))return G},v(w,null,F)},it=function(X,at,F){var j=M(F,at-1),I=M(F,at+1);return N(V,X)&&!N(D,I)||N(D,X)&&!N(V,j)?"\\u"+W($(X,0),16):X};w&&f({target:"JSON",stat:!0,arity:3,forced:k||H},{stringify:function(at,F,j){var I=R(arguments),G=v(k?K:w,null,I);return H&&"string"==typeof G?L(G,B,it):G}})},37426:(d,b,t)=>{"use strict";t(83841)("Map",function(v){return function(){return v(this,arguments.length?arguments[0]:void 0)}},t(58545))},43244:(d,b,t)=>{"use strict";t(37426)},83923:(d,b,t)=>{"use strict";var f=t(92091),c=t(38952),v=t(90799),h=t(62295),g=t(35686),x=t(20907),m=t(43311),E=t(6740),R=t(39324),T=t(70944),O=t(40178),C=t(46804),w=t(90052),N=t(39219).f,M=t(65214).f,$=t(30964).f,L=t(98855),W=t(83793).trim,B="Number",V=h[B],D=g[B],k=V.prototype,H=h.TypeError,K=x("".slice),it=x("".charCodeAt),F=m(B,!V(" 0o1")||!V("0b1")||V("+0x1")),I=function(et){var J,q=arguments.length<1?0:V(function(J){var et=C(J,"number");return"bigint"==typeof et?et:function(J){var q,ut,lt,ct,ht,Tt,Rt,wt,et=C(J,"number");if(O(et))throw new H("Cannot convert a Symbol value to a number");if("string"==typeof et&&et.length>2)if(et=W(et),43===(q=it(et,0))||45===q){if(88===(ut=it(et,2))||120===ut)return NaN}else if(48===q){switch(it(et,1)){case 66:case 98:lt=2,ct=49;break;case 79:case 111:lt=8,ct=55;break;default:return+et}for(Tt=(ht=K(et,2)).length,Rt=0;Rt<Tt;Rt++)if((wt=it(ht,Rt))<48||wt>ct)return NaN;return parseInt(ht,lt)}return+et}(et)}(et));return T(k,J=this)&&w(function(){L(J)})?R(Object(q),this,I):q};I.prototype=k,F&&!c&&(k.constructor=I),f({global:!0,constructor:!0,wrap:!0,forced:F},{Number:I});var G=function(J,et){for(var lt,q=v?N(et):"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(","),ut=0;q.length>ut;ut++)E(et,lt=q[ut])&&!E(J,lt)&&$(J,lt,M(et,lt))};c&&D&&G(g[B],D),(F||c)&&G(g[B],V)},98916:(d,b,t)=>{"use strict";var f=t(92091),c=t(90052),v=t(92966),h=t(65214).f,g=t(90799);f({target:"Object",stat:!0,forced:!g||c(function(){h(1)}),sham:!g},{getOwnPropertyDescriptor:function(E,R){return h(v(E),R)}})},18187:(d,b,t)=>{"use strict";var f=t(92091),c=t(90799),v=t(98714),h=t(92966),g=t(65214),x=t(3727);f({target:"Object",stat:!0,sham:!c},{getOwnPropertyDescriptors:function(E){for(var N,M,R=h(E),T=g.f,O=v(R),C={},w=0;O.length>w;)void 0!==(M=T(R,N=O[w++]))&&x(C,N,M);return C}})},63624:(d,b,t)=>{"use strict";var f=t(92091),c=t(90094),v=t(90052),h=t(13530),g=t(14746);f({target:"Object",stat:!0,forced:!c||v(function(){h.f(1)})},{getOwnPropertySymbols:function(E){var R=h.f;return R?R(g(E)):[]}})},99293:(d,b,t)=>{"use strict";var f=t(92091),c=t(14746),v=t(92739);f({target:"Object",stat:!0,forced:t(90052)(function(){v(1)})},{keys:function(m){return v(c(m))}})},81520:(d,b,t)=>{"use strict";var f=t(87287),c=t(94863),v=t(34486);f||c(Object.prototype,"toString",v,{unsafe:!0})},17646:(d,b,t)=>{"use strict";var f=t(92091),c=t(1842),v=t(99479),h=t(10598),g=t(52492),x=t(22335);f({target:"Promise",stat:!0,forced:t(84522)},{all:function(R){var T=this,O=h.f(T),C=O.resolve,w=O.reject,N=g(function(){var M=v(T.resolve),$=[],L=0,W=1;x(R,function(B){var V=L++,D=!1;W++,c(M,T,B).then(function(k){D||(D=!0,$[V]=k,--W||C($))},w)}),--W||C($)});return N.error&&w(N.value),O.promise}})},594:(d,b,t)=>{"use strict";var f=t(92091),c=t(38952),v=t(61671).CONSTRUCTOR,h=t(4975),g=t(10774),x=t(8434),m=t(94863),E=h&&h.prototype;if(f({target:"Promise",proto:!0,forced:v,real:!0},{catch:function(T){return this.then(void 0,T)}}),!c&&x(h)){var R=g("Promise").prototype.catch;E.catch!==R&&m(E,"catch",R,{unsafe:!0})}},95529:(d,b,t)=>{"use strict";var Y,se,ve,f=t(92091),c=t(38952),v=t(55434),h=t(62295),g=t(1842),x=t(94863),m=t(96320),E=t(17840),R=t(50214),T=t(99479),O=t(8434),C=t(66213),w=t(18772),N=t(42698),M=t(4376).set,$=t(31260),L=t(28600),W=t(52492),B=t(80082),V=t(23900),D=t(4975),k=t(61671),H=t(10598),K="Promise",it=k.CONSTRUCTOR,X=k.REJECTION_EVENT,at=k.SUBCLASSING,F=V.getterFor(K),j=V.set,I=D&&D.prototype,G=D,J=I,et=h.TypeError,q=h.document,ut=h.process,lt=H.f,ct=lt,ht=!!(q&&q.createEvent&&h.dispatchEvent),Tt="unhandledrejection",ee=function(ft){var xt;return!(!C(ft)||!O(xt=ft.then))&&xt},he=function(ft,xt){var Nt,Pt,Ct,Et=xt.value,Mt=1===xt.state,Bt=Mt?ft.ok:ft.fail,ge=ft.resolve,Te=ft.reject,ye=ft.domain;try{Bt?(Mt||(2===xt.rejection&&He(xt),xt.rejection=1),!0===Bt?Nt=Et:(ye&&ye.enter(),Nt=Bt(Et),ye&&(ye.exit(),Ct=!0)),Nt===ft.promise?Te(new et("Promise-chain cycle")):(Pt=ee(Nt))?g(Pt,Nt,ge,Te):ge(Nt)):Te(Et)}catch(At){ye&&!Ct&&ye.exit(),Te(At)}},xe=function(ft,xt){ft.notified||(ft.notified=!0,$(function(){for(var Mt,Et=ft.reactions;Mt=Et.get();)he(Mt,ft);ft.notified=!1,xt&&!ft.rejection&&oe(ft)}))},Ee=function(ft,xt,Et){var Mt,Bt;ht?((Mt=q.createEvent("Event")).promise=xt,Mt.reason=Et,Mt.initEvent(ft,!1,!0),h.dispatchEvent(Mt)):Mt={promise:xt,reason:Et},!X&&(Bt=h["on"+ft])?Bt(Mt):ft===Tt&&L("Unhandled promise rejection",Et)},oe=function(ft){g(M,h,function(){var Bt,xt=ft.facade,Et=ft.value;if(de(ft)&&(Bt=W(function(){v?ut.emit("unhandledRejection",Et,xt):Ee(Tt,xt,Et)}),ft.rejection=v||de(ft)?2:1,Bt.error))throw Bt.value})},de=function(ft){return 1!==ft.rejection&&!ft.parent},He=function(ft){g(M,h,function(){var xt=ft.facade;v?ut.emit("rejectionHandled",xt):Ee("rejectionhandled",xt,ft.value)})},ue=function(ft,xt,Et){return function(Mt){ft(xt,Mt,Et)}},ce=function(ft,xt,Et){ft.done||(ft.done=!0,Et&&(ft=Et),ft.value=xt,ft.state=2,xe(ft,!0))},Pe=function(ft,xt,Et){if(!ft.done){ft.done=!0,Et&&(ft=Et);try{if(ft.facade===xt)throw new et("Promise can't be resolved itself");var Mt=ee(xt);Mt?$(function(){var Bt={done:!1};try{g(Mt,xt,ue(Pe,Bt,ft),ue(ce,Bt,ft))}catch(ge){ce(Bt,ge,ft)}}):(ft.value=xt,ft.state=1,xe(ft,!1))}catch(Bt){ce({done:!1},Bt,ft)}}};if(it&&(G=function(xt){w(this,J),T(xt),g(Y,this);var Et=F(this);try{xt(ue(Pe,Et),ue(ce,Et))}catch(Mt){ce(Et,Mt)}},(Y=function(xt){j(this,{type:K,done:!1,notified:!1,parent:!1,reactions:new B,rejection:!1,state:0,value:null})}).prototype=x(J=G.prototype,"then",function(xt,Et){var Mt=F(this),Bt=lt(N(this,G));return Mt.parent=!0,Bt.ok=!O(xt)||xt,Bt.fail=O(Et)&&Et,Bt.domain=v?ut.domain:void 0,0===Mt.state?Mt.reactions.add(Bt):$(function(){he(Bt,Mt)}),Bt.promise}),se=function(){var ft=new Y,xt=F(ft);this.promise=ft,this.resolve=ue(Pe,xt),this.reject=ue(ce,xt)},H.f=lt=function(ft){return ft===G||void 0===ft?new se(ft):ct(ft)},!c&&O(D)&&I!==Object.prototype)){ve=I.then,at||x(I,"then",function(xt,Et){var Mt=this;return new G(function(Bt,ge){g(ve,Mt,Bt,ge)}).then(xt,Et)},{unsafe:!0});try{delete I.constructor}catch{}m&&m(I,J)}f({global:!0,constructor:!0,wrap:!0,forced:it},{Promise:G}),E(G,K,!1,!0),R(K)},78851:(d,b,t)=>{"use strict";t(95529),t(17646),t(594),t(75704),t(62286),t(36929)},75704:(d,b,t)=>{"use strict";var f=t(92091),c=t(1842),v=t(99479),h=t(10598),g=t(52492),x=t(22335);f({target:"Promise",stat:!0,forced:t(84522)},{race:function(R){var T=this,O=h.f(T),C=O.reject,w=g(function(){var N=v(T.resolve);x(R,function(M){c(N,T,M).then(O.resolve,C)})});return w.error&&C(w.value),O.promise}})},62286:(d,b,t)=>{"use strict";var f=t(92091),c=t(10598);f({target:"Promise",stat:!0,forced:t(61671).CONSTRUCTOR},{reject:function(g){var x=c.f(this);return(0,x.reject)(g),x.promise}})},36929:(d,b,t)=>{"use strict";var f=t(92091),c=t(10774),v=t(38952),h=t(4975),g=t(61671).CONSTRUCTOR,x=t(41590),m=c("Promise"),E=v&&!g;f({target:"Promise",stat:!0,forced:v||g},{resolve:function(T){return x(E&&this===m?h:this,T)}})},88809:(d,b,t)=>{"use strict";var f=t(92091),c=t(20080),v=t(99479),h=t(32648);f({target:"Reflect",stat:!0,forced:!t(90052)(function(){Reflect.apply(function(){})})},{apply:function(E,R,T){return c(v(E),R,h(T))}})},91788:(d,b,t)=>{"use strict";var f=t(92091),c=t(10774),v=t(20080),h=t(18889),g=t(98739),x=t(32648),m=t(66213),E=t(93827),R=t(90052),T=c("Reflect","construct"),O=Object.prototype,C=[].push,w=R(function(){function $(){}return!(T(function(){},[],$)instanceof $)}),N=!R(function(){T(function(){})}),M=w||N;f({target:"Reflect",stat:!0,forced:M,sham:M},{construct:function(L,W){g(L),x(W);var B=arguments.length<3?L:g(arguments[2]);if(N&&!w)return T(L,W,B);if(L===B){switch(W.length){case 0:return new L;case 1:return new L(W[0]);case 2:return new L(W[0],W[1]);case 3:return new L(W[0],W[1],W[2]);case 4:return new L(W[0],W[1],W[2],W[3])}var V=[null];return v(C,V,W),new(v(h,L,V))}var D=B.prototype,k=E(m(D)?D:O),H=v(L,k,W);return m(H)?H:k}})},35086:(d,b,t)=>{"use strict";var f=t(92091),c=t(32648),v=t(65214).f;f({target:"Reflect",stat:!0},{deleteProperty:function(g,x){var m=v(c(g),x);return!(m&&!m.configurable)&&delete g[x]}})},96582:(d,b,t)=>{"use strict";var f=t(92091),c=t(32648),v=t(42092);f({target:"Reflect",stat:!0,sham:!t(14126)},{getPrototypeOf:function(x){return v(c(x))}})},87102:(d,b,t)=>{"use strict";var f=t(92091),c=t(58492);f({target:"RegExp",proto:!0,forced:/./.exec!==c},{exec:c})},29485:(d,b,t)=>{"use strict";var f=t(76553).PROPER,c=t(94863),v=t(32648),h=t(37352),g=t(90052),x=t(76479),m="toString",E=RegExp.prototype,R=E[m];(g(function(){return"/a/b"!==R.call({source:"a",flags:"b"})})||f&&R.name!==m)&&c(E,m,function(){var w=v(this);return"/"+h(w.source)+"/"+h(x(w))},{unsafe:!0})},89602:(d,b,t)=>{"use strict";var f=t(92091),c=t(20907),v=t(11714),h=t(61767),g=t(37352),x=t(31439),m=c("".indexOf);f({target:"String",proto:!0,forced:!x("includes")},{includes:function(R){return!!~m(g(h(this)),g(v(R)),arguments.length>1?arguments[1]:void 0)}})},60521:(d,b,t)=>{"use strict";var f=t(15238).charAt,c=t(37352),v=t(23900),h=t(8607),g=t(10630),x="String Iterator",m=v.set,E=v.getterFor(x);h(String,"String",function(R){m(this,{type:x,string:c(R),index:0})},function(){var w,T=E(this),O=T.string,C=T.index;return C>=O.length?g(void 0,!0):(w=f(O,C),T.index+=w.length,g(w,!1))})},41878:(d,b,t)=>{"use strict";var f=t(1842),c=t(97125),v=t(32648),h=t(66213),g=t(95097),x=t(37352),m=t(61767),E=t(82079),R=t(35200),T=t(35779);c("match",function(O,C,w){return[function(M){var $=m(this),L=h(M)?E(M,O):void 0;return L?f(L,M,$):new RegExp(M)[O](x($))},function(N){var M=v(this),$=x(N),L=w(C,M,$);if(L.done)return L.value;if(!M.global)return T(M,$);var W=M.unicode;M.lastIndex=0;for(var D,B=[],V=0;null!==(D=T(M,$));){var k=x(D[0]);B[V]=k,""===k&&(M.lastIndex=R($,g(M.lastIndex),W)),V++}return 0===V?null:B}]})},25603:(d,b,t)=>{"use strict";var f=t(20080),c=t(1842),v=t(20907),h=t(97125),g=t(90052),x=t(32648),m=t(8434),E=t(66213),R=t(78178),T=t(95097),O=t(37352),C=t(61767),w=t(35200),N=t(82079),M=t(92559),$=t(35779),W=t(20064)("replace"),B=Math.max,V=Math.min,D=v([].concat),k=v([].push),H=v("".indexOf),K=v("".slice),it=function(j){return void 0===j?j:String(j)},X="$0"==="a".replace(/./,"$0"),at=!!/./[W]&&""===/./[W]("a","$0");h("replace",function(j,I,G){var J=at?"$":"$0";return[function(q,ut){var lt=C(this),ct=E(q)?N(q,W):void 0;return ct?c(ct,q,lt,ut):c(I,O(lt),q,ut)},function(et,q){var ut=x(this),lt=O(et);if("string"==typeof q&&-1===H(q,J)&&-1===H(q,"$<")){var ct=G(I,ut,lt,q);if(ct.done)return ct.value}var ht=m(q);ht||(q=O(q));var Rt,Tt=ut.global;Tt&&(Rt=ut.unicode,ut.lastIndex=0);for(var Yt,wt=[];null!==(Yt=$(ut,lt))&&(k(wt,Yt),Tt);)""===O(Yt[0])&&(ut.lastIndex=w(lt,T(ut.lastIndex),Rt));for(var Zt="",dt=0,Y=0;Y<wt.length;Y++){for(var ee,se=O((Yt=wt[Y])[0]),yt=B(V(R(Yt.index),lt.length),0),ve=[],he=1;he<Yt.length;he++)k(ve,it(Yt[he]));var xe=Yt.groups;if(ht){var Ee=D([se],ve,yt,lt);void 0!==xe&&k(Ee,xe),ee=O(f(q,void 0,Ee))}else ee=M(se,lt,yt,ve,xe,q);yt>=dt&&(Zt+=K(lt,dt,yt)+ee,dt=yt+se.length)}return Zt+K(lt,dt)}]},!!g(function(){var j=/./;return j.exec=function(){var I=[];return I.groups={a:"7"},I},"7"!=="".replace(j,"$<a>")})||!X||at)},41035:(d,b,t)=>{"use strict";var f=t(1842),c=t(20907),v=t(97125),h=t(32648),g=t(66213),x=t(61767),m=t(42698),E=t(35200),R=t(95097),T=t(37352),O=t(82079),C=t(35779),w=t(24318),N=t(90052),M=w.UNSUPPORTED_Y,L=Math.min,W=c([].push),B=c("".slice),V=!N(function(){var k=/(?:)/,H=k.exec;k.exec=function(){return H.apply(this,arguments)};var K="ab".split(k);return 2!==K.length||"a"!==K[0]||"b"!==K[1]}),D="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;v("split",function(k,H,K){var it="0".split(void 0,0).length?function(X,at){return void 0===X&&0===at?[]:f(H,this,X,at)}:H;return[function(at,F){var j=x(this),I=g(at)?O(at,k):void 0;return I?f(I,at,j,F):f(it,T(j),at,F)},function(X,at){var F=h(this),j=T(X);if(!D){var I=K(it,F,j,at,it!==H);if(I.done)return I.value}var G=m(F,RegExp),J=F.unicode,q=new G(M?"^(?:"+F.source+")":F,(F.ignoreCase?"i":"")+(F.multiline?"m":"")+(F.unicode?"u":"")+(M?"g":"y")),ut=void 0===at?4294967295:at>>>0;if(0===ut)return[];if(0===j.length)return null===C(q,j)?[j]:[];for(var lt=0,ct=0,ht=[];ct<j.length;){q.lastIndex=M?0:ct;var Rt,Tt=C(q,M?B(j,ct):j);if(null===Tt||(Rt=L(R(q.lastIndex+(M?ct:0)),j.length))===lt)ct=E(j,ct,J);else{if(W(ht,B(j,lt,ct)),ht.length===ut)return ht;for(var wt=1;wt<=Tt.length-1;wt++)if(W(ht,Tt[wt]),ht.length===ut)return ht;ct=lt=Rt}}return W(ht,B(j,lt)),ht}]},D||!V,M)},16243:(d,b,t)=>{"use strict";var N,f=t(92091),c=t(31505),v=t(65214).f,h=t(95097),g=t(37352),x=t(11714),m=t(61767),E=t(31439),R=t(38952),T=c("".slice),O=Math.min,C=E("startsWith");f({target:"String",proto:!0,forced:!(!R&&!C&&(N=v(String.prototype,"startsWith"),N&&!N.writable)||C)},{startsWith:function(M){var $=g(m(this));x(M);var L=h(O(arguments.length>1?arguments[1]:void 0,$.length)),W=g(M);return T($,L,L+W.length)===W}})},28863:(d,b,t)=>{"use strict";var f=t(92091),c=t(83793).trim;f({target:"String",proto:!0,forced:t(40259)("trim")},{trim:function(){return c(this)}})},92306:(d,b,t)=>{"use strict";var f=t(92091),c=t(62295),v=t(1842),h=t(20907),g=t(38952),x=t(90799),m=t(90094),E=t(90052),R=t(6740),T=t(70944),O=t(32648),C=t(92966),w=t(35758),N=t(37352),M=t(25073),$=t(93827),L=t(92739),W=t(39219),B=t(7879),V=t(13530),D=t(65214),k=t(30964),H=t(39060),K=t(73398),it=t(94863),X=t(93419),at=t(88976),F=t(35058),j=t(31258),I=t(11499),G=t(20064),J=t(2872),et=t(15174),q=t(76243),ut=t(17840),lt=t(23900),ct=t(14334).forEach,ht=F("hidden"),Tt="Symbol",Rt="prototype",wt=lt.set,Yt=lt.getterFor(Tt),Xt=Object[Rt],Zt=c.Symbol,dt=Zt&&Zt[Rt],Y=c.RangeError,se=c.TypeError,yt=c.QObject,ve=D.f,ee=k.f,he=B.f,xe=K.f,Ee=h([].push),oe=at("symbols"),de=at("op-symbols"),He=at("wks"),ue=!yt||!yt[Rt]||!yt[Rt].findChild,ce=function(Nt,Pt,Ct){var At=ve(Xt,Pt);At&&delete Xt[Pt],ee(Nt,Pt,Ct),At&&Nt!==Xt&&ee(Xt,Pt,At)},Pe=x&&E(function(){return 7!==$(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a})?ce:ee,ft=function(Nt,Pt){var Ct=oe[Nt]=$(dt);return wt(Ct,{type:Tt,tag:Nt,description:Pt}),x||(Ct.description=Pt),Ct},xt=function(Pt,Ct,At){Pt===Xt&&xt(de,Ct,At),O(Pt);var zt=w(Ct);return O(At),R(oe,zt)?(At.enumerable?(R(Pt,ht)&&Pt[ht][zt]&&(Pt[ht][zt]=!1),At=$(At,{enumerable:M(0,!1)})):(R(Pt,ht)||ee(Pt,ht,M(1,$(null))),Pt[ht][zt]=!0),Pe(Pt,zt,At)):ee(Pt,zt,At)},Et=function(Pt,Ct){O(Pt);var At=C(Ct),zt=L(At).concat(ye(At));return ct(zt,function(re){(!x||v(Bt,At,re))&&xt(Pt,re,At[re])}),Pt},Bt=function(Pt){var Ct=w(Pt),At=v(xe,this,Ct);return!(this===Xt&&R(oe,Ct)&&!R(de,Ct))&&(!(At||!R(this,Ct)||!R(oe,Ct)||R(this,ht)&&this[ht][Ct])||At)},ge=function(Pt,Ct){var At=C(Pt),zt=w(Ct);if(At!==Xt||!R(oe,zt)||R(de,zt)){var re=ve(At,zt);return re&&R(oe,zt)&&!(R(At,ht)&&At[ht][zt])&&(re.enumerable=!0),re}},Te=function(Pt){var Ct=he(C(Pt)),At=[];return ct(Ct,function(zt){!R(oe,zt)&&!R(j,zt)&&Ee(At,zt)}),At},ye=function(Nt){var Pt=Nt===Xt,Ct=he(Pt?de:C(Nt)),At=[];return ct(Ct,function(zt){R(oe,zt)&&(!Pt||R(Xt,zt))&&Ee(At,oe[zt])}),At};m||(it(dt=(Zt=function(){if(T(dt,this))throw new se("Symbol is not a constructor");var Pt=arguments.length&&void 0!==arguments[0]?N(arguments[0]):void 0,Ct=I(Pt),At=function(zt){var re=void 0===this?c:this;re===Xt&&v(At,de,zt),R(re,ht)&&R(re[ht],Ct)&&(re[ht][Ct]=!1);var Me=M(1,zt);try{Pe(re,Ct,Me)}catch(Ze){if(!(Ze instanceof Y))throw Ze;ce(re,Ct,Me)}};return x&&ue&&Pe(Xt,Ct,{configurable:!0,set:At}),ft(Ct,Pt)})[Rt],"toString",function(){return Yt(this).tag}),it(Zt,"withoutSetter",function(Nt){return ft(I(Nt),Nt)}),K.f=Bt,k.f=xt,H.f=Et,D.f=ge,W.f=B.f=Te,V.f=ye,J.f=function(Nt){return ft(G(Nt),Nt)},x&&(X(dt,"description",{configurable:!0,get:function(){return Yt(this).description}}),g||it(Xt,"propertyIsEnumerable",Bt,{unsafe:!0}))),f({global:!0,constructor:!0,wrap:!0,forced:!m,sham:!m},{Symbol:Zt}),ct(L(He),function(Nt){et(Nt)}),f({target:Tt,stat:!0,forced:!m},{useSetter:function(){ue=!0},useSimple:function(){ue=!1}}),f({target:"Object",stat:!0,forced:!m,sham:!x},{create:function(Pt,Ct){return void 0===Ct?$(Pt):Et($(Pt),Ct)},defineProperty:xt,defineProperties:Et,getOwnPropertyDescriptor:ge}),f({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:Te}),q(),ut(Zt,Tt),j[ht]=!0},30228:(d,b,t)=>{"use strict";var f=t(92091),c=t(90799),v=t(62295),h=t(20907),g=t(6740),x=t(8434),m=t(70944),E=t(37352),R=t(93419),T=t(1811),O=v.Symbol,C=O&&O.prototype;if(c&&x(O)&&(!("description"in C)||void 0!==O().description)){var w={},N=function(){var k=arguments.length<1||void 0===arguments[0]?void 0:E(arguments[0]),H=m(C,this)?new O(k):void 0===k?O():O(k);return""===k&&(w[H]=!0),H};T(N,O),N.prototype=C,C.constructor=N;var M="Symbol(description detection)"===String(O("description detection")),$=h(C.valueOf),L=h(C.toString),W=/^Symbol\((.*)\)[^)]+$/,B=h("".replace),V=h("".slice);R(C,"description",{configurable:!0,get:function(){var k=$(this);if(g(w,k))return"";var H=L(k),K=M?V(H,7,-1):B(H,W,"$1");return""===K?void 0:K}}),f({global:!0,constructor:!0,forced:!0},{Symbol:N})}},38201:(d,b,t)=>{"use strict";var f=t(92091),c=t(10774),v=t(6740),h=t(37352),g=t(88976),x=t(74864),m=g("string-to-symbol-registry"),E=g("symbol-to-string-registry");f({target:"Symbol",stat:!0,forced:!x},{for:function(R){var T=h(R);if(v(m,T))return m[T];var O=c("Symbol")(T);return m[T]=O,E[O]=T,O}})},242:(d,b,t)=>{"use strict";t(15174)("iterator")},87084:(d,b,t)=>{"use strict";t(92306),t(38201),t(52999),t(77777),t(63624)},52999:(d,b,t)=>{"use strict";var f=t(92091),c=t(6740),v=t(40178),h=t(82136),g=t(88976),x=t(74864),m=g("symbol-to-string-registry");f({target:"Symbol",stat:!0,forced:!x},{keyFor:function(R){if(!v(R))throw new TypeError(h(R)+" is not a symbol");if(c(m,R))return m[R]}})},33061:(d,b,t)=>{"use strict";var f=t(62295),c=t(61727),v=t(88757),h=t(50266),g=t(78002),x=function(E){if(E&&E.forEac
1h!==h)try{g(E,"forEach",h)}catch{E.forEach=h}};for(var m in c)c[m]&&x(f[m]&&f[m].prototype);x(v)},21112:(d,b,t)=>{"use strict";var f=t(62295),c=t(61727),v=t(88757),h=t(91355),g=t(78002),x=t(17840),E=t(20064)("iterator"),R=h.values,T=function(C,w){if(C){if(C[E]!==R)try{g(C,E,R)}catch{C[E]=R}if(x(C,w,!0),c[w])for(var N in h)if(C[N]!==h[N])try{g(C,N,h[N])}catch{C[N]=h[N]}}};for(var O in c)T(f[O]&&f[O].prototype,O);T(v,"DOMTokenList")},4633:(d,b,t)=>{var f=t(73738).default;function c(){"use strict";d.exports=c=function(){return h},d.exports.__esModule=!0,d.exports.default=d.exports;var v,h={},g=Object.prototype,x=g.hasOwnProperty,m="function"==typeof Symbol?Symbol:{},E=m.iterator||"@@iterator",R=m.asyncIterator||"@@asyncIterator",T=m.toStringTag||"@@toStringTag";function O(j,I,G,J){return Object.defineProperty(j,I,{value:G,enumerable:!J,configurable:!J,writable:!J})}try{O({},"")}catch{O=function(G,J,et){return G[J]=et}}function C(j,I,G,J){var q=Object.create((I&&I.prototype instanceof M?I:M).prototype);return O(q,"_invoke",function(ut,lt,ct){var ht=1;return function(Tt,Rt){if(3===ht)throw Error("Generator is already running");if(4===ht){if("throw"===Tt)throw Rt;return{value:v,done:!0}}for(ct.method=Tt,ct.arg=Rt;;){var wt=ct.delegate;if(wt){var Yt=K(wt,ct);if(Yt){if(Yt===N)continue;return Yt}}if("next"===ct.method)ct.sent=ct._sent=ct.arg;else if("throw"===ct.method){if(1===ht)throw ht=4,ct.arg;ct.dispatchException(ct.arg)}else"return"===ct.method&&ct.abrupt("return",ct.arg);ht=3;var Xt=w(ut,lt,ct);if("normal"===Xt.type){if(ht=ct.done?4:2,Xt.arg===N)continue;return{value:Xt.arg,done:ct.done}}"throw"===Xt.type&&(ht=4,ct.method="throw",ct.arg=Xt.arg)}}}(j,G,new at(J||[])),!0),q}function w(j,I,G){try{return{type:"normal",arg:j.call(I,G)}}catch(J){return{type:"throw",arg:J}}}h.wrap=C;var N={};function M(){}function $(){}function L(){}var W={};O(W,E,function(){return this});var B=Object.getPrototypeOf,V=B&&B(B(F([])));V&&V!==g&&x.call(V,E)&&(W=V);var D=L.prototype=M.prototype=Object.create(W);function k(j){["next","throw","return"].forEach(function(I){O(j,I,function(G){return this._invoke(I,G)})})}function H(j,I){function G(et,q,ut,lt){var ct=w(j[et],j,q);if("throw"!==ct.type){var ht=ct.arg,Tt=ht.value;return Tt&&"object"==f(Tt)&&x.call(Tt,"__await")?I.resolve(Tt.__await).then(function(Rt){G("next",Rt,ut,lt)},function(Rt){G("throw",Rt,ut,lt)}):I.resolve(Tt).then(function(Rt){ht.value=Rt,ut(ht)},function(Rt){return G("throw",Rt,ut,lt)})}lt(ct.arg)}var J;O(this,"_invoke",function(et,q){function ut(){return new I(function(lt,ct){G(et,q,lt,ct)})}return J=J?J.then(ut,ut):ut()},!0)}function K(j,I){var G=I.method,J=j.i[G];
1if(J===v)return I.delegate=null,"throw"===G&&j.i.return&&(I.method="return",I.arg=v,K(j,I),"throw"===I.method)||"return"!==G&&(I.method="throw",I.arg=new TypeError("The iterator does not provide a '"+G+"' method")),N;var et=w(J,j.i,I.arg);if("throw"===et.type)return I.method="throw",I.arg=et.arg,I.delegate=null,N;var q=et.arg;return q?q.done?(I[j.r]=q.value,I.next=j.n,"return"!==I.method&&(I.method="next",I.arg=v),I.delegate=null,N):q:(I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,N)}function it(j){this.tryEntries.push(j)}function X(j){var I=j[4]||{};I.type="normal",I.arg=v,j[4]=I}function at(j){this.tryEntries=[[-1]],j.forEach(it,this),this.reset(!0)}function F(j){if(null!=j){var I=j[E];if(I)return I.call(j);if("function"==typeof j.next)return j;if(!isNaN(j.length)){var G=-1,J=function et(){for(;++G<j.length;)if(x.call(j,G))return et.value=j[G],et.done=!1,et;return et.value=v,et.done=!0,et};return J.next=J}}throw new TypeError(f(j)+" is not iterable")}return $.prototype=L,O(D,"constructor",L),O(L,"constructor",$),$.displayName=O(L,T,"GeneratorFunction"),h.isGeneratorFunction=function(j){var I="function"==typeof j&&j.constructor;return!!I&&(I===$||"GeneratorFunction"===(I.displayName||I.name))},h.mark=function(j){return Object.setPrototypeOf?Object.setPrototypeOf(j,L):(j.__proto__=L,O(j,T,"GeneratorFunction")),j.prototype=Object.create(D),j},h.awrap=function(j){return{__await:j}},k(H.prototype),O(H.prototype,R,function(){return this}),h.AsyncIterator=H,h.async=function(j,I,G,J,et){void 0===et&&(et=Promise);var q=new H(C(j,I,G,J),et);return h.isGeneratorFunction(I)?q:q.next().then(function(ut){return ut.done?ut.value:q.next()})},k(D),O(D,T,"Generator"),O(D,E,function(){return this}),O(D,"toString",function(){return"[object Generator]"}),h.keys=function(j){var I=Object(j),G=[];for(var J in I)G.unshift(J);return function et(){for(;G.length;)if((J=G.pop())in I)return et.value=J,et.done=!1,et;return et.done=!0,et}},h.values=F,at.prototype={constructor:at,reset:function(I){if(this.prev=this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(X),!I)for(var G in this)"t"===G.charAt(0)&&x.call(this,G)&&!isNaN(+G.slice(1))&&(this[G]=v)},stop:function(){this.done=!0;var I=this.tryEntries[0][4];if("throw"===I.type)throw I.arg;return this.rval},dispatchException:function(I){if(this.done)throw I;var G=this;function J(Tt){ut.type="throw",ut.arg=I,G.next=Tt}for(var et=G.tryEntries.length-1;et>=0;--et){var q=this.tryEntries[et],ut=q[4],lt=this.prev,ct=q[1],ht=q[2];if(-1===q[0])return J("end"),!1;if(!ct&&!ht)throw Error("try statement without catch or finally");if(null!=q[0]&&q[0]<=lt){if(lt<ct)return this.method="next",this.arg=v,J(ct),!0;if(lt<ht)return J(ht),!1}}},abrupt:function(I,G){for(var J=this.tryEntries.length-1;J>=0;--J){var et=this.tryEntries[J];if(et[0]>-1&&et[0]<=this.prev&&this.prev<et[2]){var q=et;break}}q&&("break"===I||"continue"===I)&&q[0]<=G&&G<=q[2]&&(q=null);var ut=q?q[4]:{};return ut.type=I,ut.arg=G,q?(this.method="next",this.next=q[2],N):this.complete(ut)},complete:function(I,G){if("throw"===I.type)throw I.arg;return"break"===I.type||"continue"===I.type?this.next=I.arg:"return"===I.type?(this.rval=this.arg=I.arg,this.method="return",this.next="end"):"normal"===I.type&&G&&(this.next=G),N},finish:function(I){for(var G=this.tryEntries.length-1;G>=0;--G){var J=this.tryEntries[G];if(J[2]===I)return this.complete(J[4],J[3]),X(J),N}},catch:function(I){for(var G=this.tryEntries.length-1;G>=0;--G){var J=this.tryEntries[G];if(J[0]===I){var et=J[4];if("throw"===et.type){var q=et.arg;X(J)}return q}}throw Error("illegal catch attempt")},delegateYield:function(I,G,J){return this.delegate={i:F(I),r:G,n:J},"next"===this.method&&(this.arg=v),N}},h}d.exports=c,d.exports.__esModule=!0,d.exports.default=d.exports},73738:d=>{function b(t){return d.exports=b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(f){return typeof f}:function(f){return f&&"function"==typeof Symbol&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},d.exports.__esModule=!0,d.exports.default=d.exports,b(t)}d.exports=b,d.exports.__esModule=!0,d.exports.default=d.exports},54756:(d,b,t)=>{var f=t(4633)();d.exports=f;try{regeneratorRuntime=f}catch{"object"==typeof globalThis?globalThis.regeneratorRuntime=f:Function("r","regeneratorRuntime = r")(f)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.